Commit Graph
1745 Commits
Author SHA1 Message Date
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
David 642ec66d68 [InputText, ReaderStyleTweak] Add copy/paste to NT devices (#14941)
Closes #12772.
2026-02-06 22:44:50 +01: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
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
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
hius07 8d31b3e10c Pinned page exact location (#14580) 2025-11-10 18:29:38 +02:00
hius07 6beff03d49 Stable pages in file browser (#14570) 2025-11-07 08:19:41 +02:00
hius07 d8f39774a8 readerfooter: fix loading preset on empty items (#14567) 2025-11-05 07:49:34 +02:00
Andreas Lösel 01d1466e38 Fix two bugs with statusbar presets (#14556) 2025-11-04 08:46:52 +02:00
hius07 7ac0f6edd1 BookMap: add indicator for pinned page (#14510) 2025-10-29 07:58:52 +02:00
hius07 b7d227a2cf Status bar fixes (#14518) 2025-10-28 08:27:39 +02:00
hius07 69f9e06747 readerhandmade: fix handmade hidden flow from page 1 (#14502) 2025-10-28 08:26:59 +02:00
hius07 84713b7c64 Pinned page (#14483) 2025-10-20 19:03:09 +03:00
hius07 3f4ce6bbe1 Stable page numbers 2 (#14473) 2025-10-20 19:02:26 +03:00
hius07 d9700e0443 'Set typography language' action in Dispatcher (#14465) 2025-10-17 09:44:43 +03:00
David 92effcf9fb Replace checkboxes with radio buttons where appropriate (#14431) 2025-10-14 22:53:47 +02:00
hius07 d5a54f6c16 Reference pages: add synthetic pagemap (#14405)
Discussed in and closes #9020.
2025-10-14 21:35:58 +02:00
David 6d49c261fa [ReaderHighlight] preserve highlight when using highlight dialogue (#14437) 2025-10-14 15:22:27 +02:00
David 99f4eaeaae [ReaderDictionary] Offer search with presets when dict fails to find match (#14399) 2025-10-04 09:59:30 +02:00
hius07 4785f59066 Statistics: add reference pages support (#14388) 2025-10-02 11:27:37 +03:00
hius07 355e2ba615 Reference pages: improve Toc and status bar (#14363) 2025-09-29 18:32:23 +03:00
David 65de86a9ad [ReaderDictionary] Offer fuzzy search when dict query fails [to find a match] (#14343) 2025-09-20 00:03:28 +02:00
Frans de Jonge 49e72acb2c Auto-select single available OCR language on load and emit DocLangUpdate + refactor code into ui/data/ocr.lua 2025-09-15 19:49:11 +02:00
hius07 e511d654ee readerpaging: fix page turn by key (#14324) 2025-09-14 18:42:06 +03:00
hius07 c65e74fd51 Fulltext search: skim mode (#14267) 2025-09-08 18:40:43 +03:00
Frans de Jonge ef8349f0cf [minor, lang] Fix 'invert page turn taps and swipes' string (#14281)
See https://github.com/koreader/koreader/pull/13382#issuecomment-3237817634
2025-09-05 17:20:55 +02:00
hius07 2facbef59a Export highlights: export backlinks to markdown (#14233) 2025-09-02 08:54:55 +03:00
David 6c25d045eb Invert progress bar direction, independently of UI layout (LTR/RTL) (#13382) 2025-08-29 08:13:01 +02:00
hius07 36b8732134 readerfooter: skip dynamic filler in items cycling (#14232) 2025-08-27 18:14:53 +03:00
hius07 d0abd59143 readerhighlight: fix long-press with Do nothing (#14227) 2025-08-26 18:18:53 +03:00
hius07 6c7efa1bdf expandString(): replace patterns with data (#14181) 2025-08-23 09:27:10 +03:00