Commit Graph
1771 Commits
Author SHA1 Message Date
Noa Himesaka bf970e9291 fix: missing saturation in copyPageState (#15455) 2026-05-25 18:52:44 +02:00
Noa Himesaka 06c9eea0d4 feat: saturation control (#15381) 2026-05-24 08:14:27 +02:00
Frans de Jonge b83b24307d ReaderHighlight: clear selection after showing OCR infomessage (#15213)
Fixes #15209.
2026-05-19 22:50:09 +02:00
hius07 7b4b759678 getHomeFolder() (#15400) 2026-05-18 10:27:50 +03:00
poire-z 93170259b1 Highlighting: avoid crash on PDF when nothing selected
Oversight in 148449df6.
2026-05-18 01:05:10 +02:00
hius07 606597fd2e Plugins' menu items (#15360) 2026-05-11 07:46:16 +03:00
David 98cf880b17 Bug fix: ensure default_layout is up to date when generating menu (#15340)
* ensure self.default_layout is up to date when callig menu
* add spacebar key_event as requested in #15158
2026-05-06 21:14:21 +01:00
hius07 6ffc7de0d8 readerview: fix highlight in night mode (#15336) 2026-05-06 09:25:19 +03:00
Commodore64user 2797d940bb ensure self.default_layout is up to date when callig menu 2026-05-06 02:05:12 +01:00
David ed695fe34f [DictQuickLookup] add custom button layout (#15184)
Provides an API for plugins and patches to add buttons to dictionary widget
2026-05-04 22:34:40 +01:00
hius07 76330cae5d Folder shortcuts: standard folders (#15323) 2026-05-02 09:58:22 +03:00
David 1e0e859ba8 [Hotkeys] add single-key shortcuts (#14867) 2026-04-28 15:09:12 +01:00
poire-z bd495db30a Dispatcher: add "Toggle hanging punctuation"
Also: minor revamp of the setting handling by having
onToggleFloatingPunctuation() accepting nil/true/false/0/1
and being the sole manager of self.floating_punctuation.
2026-04-19 22:39:21 +02:00
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 995ad0bdc4 Status bars: fix showing additional content (#15218) 2026-04-02 18:01:24 +03: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 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
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