Commit Graph
1789 Commits
Author SHA1 Message Date
hius07 7b4b759678 getHomeFolder() (#15400) 2026-05-18 10:27:50 +03:00
poire-z 4104265ff4 TouchMenu: allow mousewheel scrolling 2026-05-18 01:05:10 +02:00
hius07 c72db24d4f Hide parent folder (#15374) 2026-05-14 07:42:34 +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
Commodore64user 8dfdbbe48f add spacebar key_event as requested in #15158 2026-05-06 14:03:23 +01:00
hius07 6eeb42f445 Sort by rating (#15327) 2026-05-06 09:24:54 +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
hius07 8a3054342b Book metadata archive (#15264) 2026-04-29 19:34:20 +03:00
Frans de Jonge 1ad6674eec BookStatusWidget: improve note gesture handling (#15311)
Fixes #15134.
2026-04-27 18:24:04 +02:00
TechnoCode44 9af3130a78 [doc] Add IconWidget developer docs (#15276)
Closes #15253.
2026-04-26 13:42:49 +02:00
David e098329b63 [KeyValuePage] Fix keyboard hold events targeting wrong item (#15305) 2026-04-23 17:38:50 +02:00
poire-z 61f4542b6b Wikipedia full: avoid crash when not available in other languages 2026-04-19 22:39:21 +02:00
hius07 c5c0b1aa0c inputtext: undo (#15238) 2026-04-10 17:40:56 +03:00
hius07 0b2173297f ReaderBookmark, BookmarkBrowser: unified bookmark details window (#15250) 2026-04-09 19:54:03 +03:00
David 9cef2f1198 [MultiInputDialog] Split password field and checkbox (#15234) 2026-04-08 10:26:33 +02:00
hius07 8e8ca98c37 Book status: reset rating (#15227) 2026-04-04 17:43:10 +03:00
hius07 f48f68f311 File browser: fix "Folders and files mixed" menu item (#15202) 2026-03-28 16:45:12 +02:00
David 15f86981a5 [DictQuickLookup] detection and key-event injection for SDL devices (#15158) 2026-03-25 14:52:20 +00:00
hius07 c8fecc8a8a bookmarkbrowser: default book source (#15143) 2026-03-21 17:32:38 +02:00
David 80cb27dbf5 [HtmlBoxWidget, DictQuickLookup] add capability to search within dictionary definitions (#15001)
Adds in-definition search to DictQuickLookup relaying on MuPDF's word-matching implementation, uses tap handling for navigation by allowing temporary disable/restore of Tap events.
2026-03-21 13:29:45 +00: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
David bed8f558fa Switch virtual keyboard default to false on hasKeyboard (#15057) 2026-03-07 08:24:16 +01:00
Frans de Jonge d4f99025f5 [fix] BookStatusWidget: remove unused (#15060) 2026-03-02 17:54:21 +01:00
Frans de Jonge 6783e7bd1d BookStatusWidget: fix impossible to exit review editing due to focus loop (#15055)
Due to the way this was wired, #14937 trigged BookStatusWidget:onSwitchFocus() when closing, which caused the review input dialog to pop right back up again.

But it doesn't look like you're actually supposed to be able to type in there at all, so I replaced it with a TextBoxWidget.
2026-03-01 21:51:53 +01:00
David 34c77238e0 [DictQuickLookup] NT: fix utf8 byte drift during text selection (#15015)
* refactor handling of faked event HoldRelease for text selection on NT, make sure we close the cycle properly so we don't get any byte drift when dealing with non-ascii characters.
2026-02-24 22:08:32 +00:00
hius07 77d1ae8911 InputDialog: fix adding widget with 'fullscreen' (#15028) 2026-02-24 17:23:14 +02:00
hius07 2c5dae9efd bookmarkbrowser: fix search (#15022) 2026-02-21 20:40:33 +02:00
hius07 18090dfc42 inputdialog: fix adding widget with 'use available height' (#15010) 2026-02-21 19:56:11 +02:00
David 642ec66d68 [InputText, ReaderStyleTweak] Add copy/paste to NT devices (#14941)
Closes #12772.
2026-02-06 22:44:50 +01:00
David 3103627ff9 [DictQuickLookup] NT: add key_event for following links and switching (dict-wiki) domains (#14909)
* Removed the hold-duration logic for switching between dictionary and wiki lookups, simplifying the process and removing timing-based domain switching, this was a terrible idea on my part (in hindsight, the implementation I mean). 
* Added a new `TextSelectorModifierPress` key event and corresponding handler (`onTextSelectorModifierPress`) to explicitly switch domains (Dict <-> Wiki) during text selection, and for following links inside dictionary entries, thus making the feature more discoverable and reliable.
* Refactored the lookup logic into a dedicated `_performLookupOnSelection` function, improving code clarity.
* Updated the gesture coordinate calculation in `_createTextSelectionGesture` to use `text_widget` absolute position instead of `definition_widget`, ensuring correct screen coordinates and accounting for container padding.
2026-02-06 11:27:35 +01:00
David 0fb2840a0d [InputText] Decouple text input state from VirtualKeyboard visibility pt. 2 (#14937)
Follow-up to https://github.com/koreader/koreader/pull/14901
2026-02-05 23:59:47 +01:00
David 2cb6f157ff [TextViewer] bug fix, don't crash on Menu press (#14936) 2026-02-05 17:03:34 +01:00
David 66e22590ef [NT] ImageViewer: add pan key_events to viewer (#14938)
Fixes #14934.
2026-02-05 16:25:11 +01:00
hius07 18dd8db12d Bookmark browser: fix item font size init (#14926) 2026-02-04 21:03:37 +02:00
David 8285f4e3bb [InputText] Decouple text input from VirtualKeyboard visibility (#14901)
Previously, on SDL targets (Desktop, Ubuntu Touch), the system text input loop was gated by the visibility of the On-Screen Virtual Keyboard. Hiding the VK would call Device:stopTextInput, effectively disabling the physical keyboard.

This commit binds the text input state to the lifecycle of the InputText widget instead:

* Improve up/down behavior. Down at the end of an input moves focus down, up at the beginning moves focus up.

* Undo removal of key_event for touch devices, allowing vk to work regardless of vk state, #FreeTheKeyboard
2026-02-03 22:10:53 +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
poire-z 34f9f3c5ec TextBoxWidget: invert images when in night mode (#14893)
So Wikipedia articles images don't look inverted.
2026-01-29 00:44:22 +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
poire-z 43d52a1c08 ScrollTextWidget: fix resetScroll()
Could cause some refreshes (actually triggered when
the scrollbar changes) in DictQuickLookup to be ignored
in some rare circonstances (2 consecutive results from
a text dictionary having the exact same nb of lines).
2026-01-08 21:11:30 +01:00
poire-z e72ca3045e KeyValuePage, scrollablecontainer: allow mousewheel scrolling 2026-01-08 21:11:30 +01:00
hius07 6dbc1be8fa Status bar: adjustable font face (#14755) 2026-01-06 13:25:19 +02:00
hius07 5b2f2cbdb3 Sleep screen: improve 'Exit sleep screen' message (#14691) 2025-12-10 14:17:58 +02:00
hius07 776eb69184 screensaverwidget: fix unlock (#14689) 2025-12-10 14:17:26 +02:00
hius07 9dc068b50d TextViewer: pin page (#14668) 2025-12-09 07:43:23 +02:00
poire-z fd54ddbd8f TextBoxWidget: clear highlights when hold release on an image
Otherwise, any highlight made while panning would stick even
after we show and close ImageViewer, even when turning pages.
2025-12-08 13:18:51 +01:00