Commit Graph

11053 Commits

Author SHA1 Message Date
hius07
969f58bc56 readerhighlight: comment 2025-03-13 08:13:04 +02:00
hius07
4ca5b92892 readerui: boolean is_txt 2025-03-13 08:08:24 +02:00
hius07
ffb41f5f13 Update frontend/apps/reader/modules/readerrolling.lua
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2025-03-12 19:20:50 +02:00
hius07
fbfb993c6b readerhighlight: stop highlighting when sboxes are absent 2025-03-12 18:15:34 +02:00
hius07
a7fca869f2 credocument: fix crash; make fb2.css default for TXT 2025-03-12 18:14:39 +02:00
hius07
e818ead8c4 readertypeset: enable fb2,css for TXT files 2025-03-12 18:13:30 +02:00
hius07
9320bc341a Update readertypeset.lua 2025-03-11 09:07:00 +02:00
hius07
445a123614 Update readerrolling.lua 2025-03-11 09:06:28 +02:00
hius07
895c4b478f Update readertypeset.lua 2025-03-10 18:21:18 +02:00
hius07
9facc38ea8 Update readertypeset.lua 2025-03-10 18:15:38 +02:00
hius07
e2a33a0946 readerrolling: bookmark warn text 2025-03-10 18:15:01 +02:00
hius07
a614577c56 readerui: add is_txt 2025-03-10 18:14:21 +02:00
hius07
1ca3558ddc Update readertypeset.lua 2025-03-10 08:04:15 +02:00
hius07
b203447b43 Update readerrolling.lua 2025-03-10 08:03:37 +02:00
hius07
9f61c230a3 KeyValuePage: lanscape and portrait items per page (#13377)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
2025-03-09 07:45:43 +02:00
hius07
a06be7636a Highlights: edit boundaries in pdf (#13364) 2025-03-09 07:44:43 +02:00
ShowY
70d13be32a Opds-pse v1.2 [LastRead], add resume from page button (#13357)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-03-05 20:31:20 +01:00
Frans de Jonge
23ed86a0f8 [plugin] HTTPInspector: return InputEvent on every call to reset standby/suspend timer (#13339)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Fixes #13303.
2025-03-04 11:26:37 +01:00
David
154ec621d3 [InfoMessage] stop force_one_line if font is too small (#13337)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
2025-03-03 22:30:03 +01:00
David
316eb87116 [ReaderHighlight] NT: account for status and alt-status bars in text selection (#13348)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
2025-03-02 22:24:52 +01:00
hius07
946080294d Update koptoptions.lua (#13350)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
2025-03-02 11:22:59 +02:00
hius07
daeacef838 OPDS: group downloading (#13338) 2025-03-02 11:22:18 +02:00
hius07
e05d79a68a Collections: connect folders (#13336) 2025-03-02 11:21:45 +02:00
Karol Bieńkowski
a8c1c8fefd PL keyboard layout: move "ó" and "Ó" to east on keypopup (#13347)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
... in order to keep it consistent with other Polish characters.
2025-03-01 21:47:06 +01:00
David
42fd1e86bf [DateTimeWidget] add key_events and fix setting dates (#13214)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-02-27 20:12:03 +01:00
David
b758d7cd5e [DoubleSpinWidget, SpinWidget] change values with page-turn buttons (#13208) 2025-02-27 20:10:43 +01:00
hius07
f1726a9e5d FileSearcher: consistent results window (#13298) 2025-02-27 18:45:52 +02:00
Frans de Jonge
fdd1b423bd [minor] Fix "Screen timeout" capitalization (#13332)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
2025-02-27 10:06:55 +01:00
Benoit Pierre
926eb9d455 doc: fix / update build instructions for Alpine Linux (#13319)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
- add `findutils`: we need the real deal (for `-printf`)
- add `nasm`: for building libjpeg-turbo' SIMD support
- drop `ninja-is-really-ninja` in favor of `ninja-build`:
  the former now conflicts with `samurai` (required by `meson`)
2025-02-26 12:00:55 +01:00
Benoit Pierre
3cf45b9dc8 bump base (#13301)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
- https://github.com/koreader/koreader-base/pull/2024
- https://github.com/koreader/koreader-base/pull/2025
- https://github.com/koreader/koreader-base/pull/2026
- https://github.com/koreader/koreader-base/pull/2027
- https://github.com/koreader/koreader-base/pull/2028
- https://github.com/koreader/koreader-base/pull/2029
- https://github.com/koreader/koreader-base/pull/2030
- https://github.com/koreader/koreader-base/pull/2031
- https://github.com/koreader/koreader-base/pull/2032
- https://github.com/koreader/koreader-base/pull/2033
- https://github.com/koreader/koreader-base/pull/2034
- https://github.com/koreader/koreader-base/pull/2035
- https://github.com/koreader/koreader-base/pull/2036
- https://github.com/koreader/koreader-base/pull/2037
- https://github.com/koreader/koreader-base/pull/2038
- https://github.com/koreader/koreader-base/pull/2040
2025-02-22 19:06:01 +01:00
hius07
7c45700ceb Collections: sort (#13264)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
2025-02-22 10:17:19 +02:00
hius07
a641207f79 bookinfomanager: handle zip (#13290)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
2025-02-21 08:51:23 +02:00
David
546cb14ccc [DictQuickLookup] NT: add text selection to the dictionary widget (#13232)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Initially, when you open the dictionary widget from the reader, FocusManager will function as usual. On Kindle 4 or devices with a keyboard, I have assigned the shortcuts <kbd>screenkb</kbd> + <kbd>up</kbd>/<kbd>down</kbd>   or <kbd>shift</kbd> + <kbd>up</kbd>/<kbd>down</kbd> to initiate text selection (as a remainder, on kindle text selection in reader is initiated with <kbd>up</kbd>/<kbd>down</kbd> so it is fairly similar). At this point, FocusManager is disabled, allowing the cursor keys (and press) to control the now-visible crosshairs. Pressing <kbd>back</kbd> should stop text selection and restore FocusManager’s control of the widget.
2025-02-17 21:41:34 +01:00
Frans de Jonge
cee259b885 [plugin] Terminal: improve LDoc module definition for terminputtext.lua (#13273)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
Closes #13272.
2025-02-17 15:09:31 +01:00
TnS-hun
dbc76eb410 HtmlBoxWidget: fix incorrect selection (#13276)
In same cases MuPDF returns a visually single line of text as multiple lines. Merge such lines to ensure that getSelectedText works properly.

See: https://github.com/koreader/koreader/pull/13232#issuecomment-2658171531
2025-02-17 13:13:52 +01:00
Frans de Jonge
b8a31ef182 [plugin] NewsDownloader: don't try to strip <script> tags (#13260)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
`<script src="etc"></script>` is turned into `<script/>`, which can cause far too much to be stripped.

While that could be dealt with a bit better, for example by first stripping self-closing and then regular, it feels hacky to do so.

See <https://github.com/koreader/koreader/pull/13188#issuecomment-2660362639>.
2025-02-15 10:37:49 +01:00
hius07
5a6fd741cd Style tweaks: add 'Set on/off' action to Dispatcher (#13242)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
2025-02-14 18:53:24 +02:00
David
901b1b5430 [Hotkeys] override self.ui.fonts key_events (#13257)
* Removed [now] unnecessary conditions when removing actions for hotkeys in the `HotKeys:genMenu` function. No longer needed as of #13227

* Added code to reset key events for the overlooked `font` UI component in the `HotKeys:overrideConflictingKeyEvents` function.
2025-02-14 17:23:34 +01:00
hius07
435c2868a9 ReaderUI: fix BookList cache (#13245)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
2025-02-13 17:53:17 +02:00
Martín Fernández
a1ac782a2f calibre.koplugin: show message when attempting to connect via dispatcher (#13237)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
closes #13193

Using an InfoMessage instead of a notification because another infomessage will follow with success/error.
2025-02-12 19:18:37 +01:00
hius07
70fcc90a3c Highlights: quicker Style and Note marker dialogs (#13223)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
2025-02-12 09:14:03 +02:00
Frans de Jonge
c65e7971ec Fix typo in PocketBook init (#13238)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
See https://www.mobileread.com/forums/showthread.php?p=4488302#post4488302
2025-02-11 20:59:36 +01:00
Martín Fernández
eea6c5465d Exporter: migrate to rapidjson (#13204) 2025-02-11 14:28:55 +01:00
hius07
41dd3d5d8a OPDS: raw server filenames for download (#13230)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
2025-02-11 14:10:57 +02:00
farfromrefuge
48471eaa24 android: Add OSS-Dict (#13224)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run
https://github.com/farfromrefug/OSS-Dict
2025-02-10 16:48:32 +01:00
hius07
2d4ffa9e3e Dispatcher: fix remove actions (#13227)
Some checks failed
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Has been cancelled
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Has been cancelled
Closes #13226.
2025-02-09 11:41:23 +01:00
hius07
aa1e96f7d7 Collections: search in book content (#13139) 2025-02-09 11:34:56 +01:00
hius07
68cfd96203 Dispatcher: action list fixes (#13167)
Some checks failed
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Has been cancelled
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Has been cancelled
2025-02-07 19:27:54 +02:00
David
3902ada36b Remove screenshot setting from unsupported devices (#13221)
See #12293
2025-02-07 13:38:21 +01:00
David
8e886f5631 [Hotkeys] refactor hotkey list and update callbacks (#13219)
Cf.  #13078
2025-02-07 13:19:22 +01:00