Commit Graph
1786 Commits
Author SHA1 Message Date
Commodore64user fb1dfebd9c add page turn event to textviewer 2026-06-06 14:34:06 +01:00
hius07 e48161c166 Highlights: temporary highlight color (#15486) 2026-06-05 16:48:41 +03:00
Commodore64user 32a8c30c1f switch to single BD.mirroredUILayout call during registerKeyEvents 2026-06-04 17:41:26 +01:00
Commodore64user cf7023f05d replace readerrolling broadcast events with single-dispatch calls 2026-06-04 17:41:26 +01:00
hius07 70b8c529ee Open file: more honor associated provider (#15489) 2026-06-02 19:08:47 +03:00
hius07 203f6aa164 Highlights: pre-highlighting prompt (#15473) 2026-06-01 08:19:10 +03:00
hius07 d246323ba2 Screensaver: don't load the module on unsupported devices (#15465) 2026-05-29 09:08:51 +03:00
hius07 67fcd424d6 ReaderDictionary: prettify dict download list (#15452) 2026-05-27 17:13:52 +03:00
Commodore64user 5789a09ded KeySelection: open links at current indicator position, footnote handling 2026-05-27 14:21:26 +02:00
Commodore64user 0f01690a19 KeySelection: start select mode when page is turned during text selection, see https://github.com/koreader/koreader/issues/13132 2026-05-27 14:21:26 +02:00
Commodore64user 2c0f541516 KeySelection: add per-doc support for RTL traversal 2026-05-27 14:21:26 +02:00
Commodore64user 82a5f20b25 KeySelection: snap crosshairs to words within crengine documents
for pdf/djvu files the crosshairs continues to work freely as before. This commit introduces primaraly the methods _getAdjacentLineWordRolling and _getAdjacentWordRolling which handle finding the next word vertically and horizontally respectviely. We now handle hyphenated words much more predictably in _isSplitHyphenatedWord as we no longer require using heuristics.
2026-05-27 14:21:26 +02:00
Commodore64user 952ebafe2d KeySelection: add new event handlers and call startIndicator from keyselection instead of readerui 2026-05-27 14:21:26 +02:00
Commodore64user adf60de731 KeySelection: add registerToMainMenu in readerkeyselection, remove old creation from readerhighlight 2026-05-27 14:21:26 +02:00
Commodore64user 41c562c4c4 KeySelection: move text selection from readerhighlight to readerkeyselection 2026-05-27 14:21:26 +02:00
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