Commit Graph
2436 Commits
Author SHA1 Message Date
poire-z 148449df6a Highlighting/lookup: avoid getting stuck when nothing selected
Fixes 2 cases where we could get stuck in an exepected state:
- if onHold would get us nothing to act on, we would stay stuck
  in "hold" state (until a next hold) and taps for page turn
  would not work
- if text selection would get us some text (ie. some punctuation)
  that would be stripped to an empty string, we would just not
  do the lookup, but the selection would stay: best to do that
  lookup and get a "no result" window, that when closed would
  do the normal cleanup.
2026-04-19 22:39:21 +02:00
Paulo Lucas fa924651a6 Wikipedia: update language conversion to handle underscores in language codes (#15267) 2026-04-14 16:30:49 +02:00
hius07 0b2173297f ReaderBookmark, BookmarkBrowser: unified bookmark details window (#15250) 2026-04-09 19:54:03 +03:00
hius07 8e8ca98c37 Book status: reset rating (#15227) 2026-04-04 17:43:10 +03:00
hius07 995ad0bdc4 Status bars: fix showing additional content (#15218) 2026-04-02 18:01:24 +03:00
Rolando Urquiza 799d771f9c Fix check for current directory in webdav listing (#15192) 2026-03-29 08:18:07 +03:00
hius07 f48f68f311 File browser: fix "Folders and files mixed" menu item (#15202) 2026-03-28 16:45:12 +02:00
hius07 b9bf1d30fe Collections fixes (#15193) 2026-03-28 16:44:34 +02:00
hius07 530ee8ab93 Collections update (#15175) 2026-03-25 17:43:34 +02:00
hius07 d98dd9f244 readerstatus: fix End of Document status change (#15159) 2026-03-23 18:08:04 +02:00
hius07 628ea23817 Ensure device_id (#15151) 2026-03-23 18:07:29 +02:00
poire-z 9e44aa5cf4 Footnote popup: add option to justify (or not) text (#15129) 2026-03-21 08:56:54 +01:00
hius07 886a8cf400 Export highlights: filters (#15003) 2026-03-20 09:18:01 +02:00
hius07 5ffbeb52d8 readerhighlight: don't try to write page bookmarks into PDF (#15097) 2026-03-09 17:09:52 +02:00
jonnyl2 0f8f24b79b [ReaderFooter] Adds a fixed-width setting for progress bar alongside items (#14980)
Also increased the available range for the minimum width in the UI from 50% of the screen width to 90%, since with the fixed setting it could otherwise never get larger than 50%, but a wider size will be useful if only few and short items fill up less than 50% of the remaining space.
2026-03-09 15:57:24 +01:00
zeeyado 54de4f188c fix: import embedded PDF annotations properly (#15076)
Fix annotation import to preserve notes, filter by type, deduplicate,
map drawer, and delete originals from PDF after import.

Closes #15075. Depends on koreader-base#2287.
2026-03-08 13:02:02 +01:00
hius07 3f2cd054d8 PDF: import embedded highlights (#15040) 2026-03-01 20:51:11 +02:00
hius07 0ad981ff54 'Open file' fixes (#15047) 2026-02-28 18:56:31 +02:00
hius07 d4b884808e filemanagerfilesearcher: restore patterns support (#15036) 2026-02-24 17:23:46 +02:00
hius07 7af08d43e5 Ask to open file (#15024) 2026-02-23 19:57:07 +02:00
hius07 7c33042aea readerpagemap: fix saving page labels to sdr (#15007) 2026-02-18 21:59:28 +02:00
hius07 ae5e94db77 Stable pages in file browser 3 (#14952)
Patterns %c (current page) and %t (total pages) will show the same values in reader and file browser.
2026-02-16 21:12:31 +02:00
David 09982fe6cb NT: stop text selection before any reflow action occurs (#14949)
* refactor onStopHighlightIndicator so it returns early

* stop text selection when opening menus or triggering hotkeys

* use self.ui.highlight (naturally)

* remove duplicated setDirty
2026-02-16 14:23:02 +00:00
poire-z e535b2b6e6 ReaderHighlight:onHoldPan(): remove abort on empty selection
We may happen to have an empty selection while panning,
no reason to abort the selection yet before release.
Also add get_segments=true to remaining calls to
getScreenBoxesFromPositions() that we forgot to
update to use it.
2026-02-14 22:18:29 +01:00
poire-z 3e931f72a9 Dispatcher: add "Edit/toggle book-specific style tweak" (#14944) 2026-02-10 00:58:00 +01:00
hius07 01156923de readerhighlight: invert dialog colors in night mode (#14923) 2026-02-07 18:15:44 +02:00
hius07 788d4e0c52 Fix long-pressing on unopened book with status (#14947) 2026-02-07 17:28:37 +02:00
David 642ec66d68 [InputText, ReaderStyleTweak] Add copy/paste to NT devices (#14941)
Closes #12772.
2026-02-06 22:44:50 +01:00
hius07 0244595c6d filemanagercollection: fix disabling 'Export highlights' button (#14917) 2026-02-03 16:07:33 +02:00
hius07 08ea73f733 Bookmark browser (#14899)
* Add BookmarkBrowser widget

* filemanager: add bookmark browser

* filemanagercollection: add bookmark browser

* filemanagerhistory: add bookmark browser

* readerui: add after_open_callback to showReader()

* filemanager_menu_order: add bookmark browser

* reader_menu_order: add bookmark browser

* dispatcher: add bookmark browser

* util: add stringLower()

* bookmarkbrowser: show chapter in bookmark details

* bookmarkbrowser: detect currently opened new book

* readerbookmark: fix updating BookInfo cache on removing a bookmark
2026-02-03 08:02:07 +02:00
Emdioh 4d38174e30 util.urlEncode: encode parentheses and quote (#14718)
Closes #14715.
2026-01-31 01:13:18 +01:00
hius07 ae09757e48 ReaderBookmark: color in bookmark list (#14714) 2026-01-30 07:54:48 +02:00
hius07 b2b02e7813 Highlights: improve 'Set color' dialog (#14699) 2026-01-30 07:50:04 +02:00
David cd49bf335a [ReaderDictionary] clean stress marks from selection for dict search (#14856) 2026-01-27 14:20:22 +01:00
hius07 ea6089b6d8 readerhighlight: fix tapping on self-overlapping highlight (#14852) 2026-01-20 20:58:24 +02:00
jonnyl2 3e6d50f464 Readerlink: add notification when following internal links on pdf (#12933) 2026-01-12 15:18:48 +01:00
poire-z e1c5f35d37 Wikipedia: revamp languages handling
Replace the cumbersome implementation of language rotation
with a more natural language selection:
- replace the "en > fr" button with a "Language" button,
  which on tap shows a popup with the user languages allowing
  direct selection (instead of having to rotate through
  all the intermediate languages and wait for each result)
- we don't touch anymore the user-set wikipedia_languages
  array when switching language
- the newly selected language is stored in doc_settings, and
  will be used for next queries on this book. It is also
  stored in G_reader_settings as the language to be used
  for next newly opened books and for lookups done when
  in FileBrowser

Also:
On Wikipedia full articles, the top left hamburger menu
shows a popup with the other Wikipedia languages the
current article is available for, and allows reading
them.
Wikipedia article ToC: the 'sections' properties
of the Wikipedia API is now deprecated: use its
replacement 'tocdata'.
2026-01-08 21:11:30 +01:00
Benoit Pierre 4186cde33a move startup script check where it belongs
At reader startup, so the intended use case is correctly handled:
- an update is downloaded, and the user restarts KOReader
- the LuaJIT process returns control to the startup script which extracts the update
- the LuaJIT process is restarted, and if the startup script was changed, the user
  is asked to quit and restart KOReader from the parent launcher
2026-01-06 21:26:30 +01:00
hius07 6dbc1be8fa Status bar: adjustable font face (#14755) 2026-01-06 13:25:19 +02:00
hius07 610fc24f8a readerfooter: percent_finished in continious mode (#14794) 2026-01-05 21:04:02 +02:00
hius07 1da6dfe1e5 ReaderRolling: save percent_finished on flushing settings (#14787) 2026-01-04 08:00:57 +02:00
hius07 05faeb0597 filemanagerbookinfo: fix "time left in chapter" (#14754) 2025-12-26 16:55:54 +02:00
hius07 3882a22fb0 cloudstorage: fix onClose (#14711) 2025-12-11 19:57:46 +02:00
jonnyl2 562fc113cb ReaderScrolling: Radio buttons for scrolling options (#14647) 2025-11-28 19:34:42 +01:00
hius07 e7dc224661 Status bar: use screen pages for "time left in chapter" (#14651) 2025-11-23 08:48:47 +02:00
hius07 bf8274d47c Show next locations in Book map and Page browser (#14643) 2025-11-23 08:48:17 +02:00
hius07 aaea5be42c readercoptlistener: fix overriding (#14638) 2025-11-23 08:47:44 +02:00
hius07 55c9d60428 Optimize doc_pages (#14614) 2025-11-15 13:02:45 +02:00
hius07 ca622a1074 Status bar: 'External content' item (#14601) 2025-11-13 10:49:13 +02:00
hius07 76eeed1cb4 Stable pages in file browser 2 (#14592) 2025-11-10 18:30:11 +02:00