Commit Graph
11655 Commits
Author SHA1 Message Date
TechnoCode44 bb04cb8a1f [doc] Add DataStorage developer docs (#15121) 2026-03-17 22:18:49 +01:00
Dani García 825b9bced0 (opds): remove redundant UTF-8 fixup (#15122)
The filename is already sanitized by util.getSafeFilename(), which calls util.fixUtf8() internally.
2026-03-17 12:03:27 +01:00
Euphoriyy 049e63c70b kopt: fix Invert Document regression with Reflow/Auto Straighten (#15123)
Due to changes to renderOptimizedPage(...) made by #15067, which was merged after #14954 was made, a regression was introduced that causes instability and even crashes on mobile devices and e-readers when Invert Document is enabled along with Reflow or Auto Straighten.

This PR fixes the regression and simplifies the drawContextPage(...) method.
2026-03-17 09:31:21 +01:00
Benoit Pierre ccabe19ba7 cervantes: split update rule (#15119) 2026-03-16 08:58:03 +01:00
Benoit Pierre 97ea879544 git: ignore debian packages (#15118) 2026-03-16 08:52:27 +01:00
Benoit Pierre c1e3e585e9 appimage: fix ota model
Account for architecture.
2026-03-15 23:00:26 +01:00
Benoit Pierre 000404e316 kodev: update release command to support split updates
Example: `./kodev release linux deb` will only build the Debian package (not the AppImage & Linux distribution).
2026-03-15 23:00:26 +01:00
Benoit Pierre 40103df8b5 sony-prstux: split update rule 2026-03-15 23:00:26 +01:00
Benoit Pierre 9f9c5e5adb remarkable: split update rule 2026-03-15 23:00:26 +01:00
Benoit Pierre 3ab97ea6de pocketbook: split update rule 2026-03-15 23:00:26 +01:00
Benoit Pierre 723ec600b0 kobo: split update rule 2026-03-15 23:00:26 +01:00
Benoit Pierre b2a5b9815e kindle: split update rule 2026-03-15 23:00:26 +01:00
Benoit Pierre b175c972fb drop appimage target in favor of linux
Cf. koreader/kobase#2298.

The `linux` update target now build an AppImage too.

Other miscellaneous changes:
- AppImage:
  * better icons
  * update filename to conform to spec (`ApplicationName-$VERSION-$ARCH.AppImage`)
  * running from extracted contents will behave like the Linux distribution (multi-user mode)
- Debian package:
  * better icons
  * update version to include git commit
  * drop fakeroot requirement for building
  * fix dependencies (based on our targeted Ubuntu LTS: 22.04, AKA Jammy)
- Linux distribution:
  * better icons
  * improved start-up script (can be symlinked to)
2026-03-15 23:00:26 +01:00
Benoit Pierre a2a9dfe2f7 tools/mkrelease: tweak xz compression parameters
For a generally faster multi-threading compression speed, with only a very minor size increase.
2026-03-15 23:00:26 +01:00
Benoit Pierre 7879e05245 tools/mkrelease: add option to keep links 2026-03-15 23:00:26 +01:00
Benoit Pierre dae69c3133 make: minor simplification 2026-03-15 23:00:26 +01:00
Benoit Pierre 2f9c0c9009 tools: fix some permissions
Fix lintian warnings: executable-not-elf-or-script.
2026-03-15 23:00:26 +01:00
Benoit Pierre fe2d5f8004 bump base (#15117)
- SDL3: track mouse pointers and finger pointers separately (koreader/koreader-base#2295)
- xss-dummy: drop the library (koreader/koreader-base#2296)
- ci/macos: fix nodejs deprecation warnings (koreader/koreader-base#2297)
- rework how some targets are handled (koreader/koreader-base#2298)
2026-03-15 22:51:27 +01:00
Euphoriyy 20bf0b75aa creopt: fix toggle order for Invert Images to be consistent (#15112) 2026-03-15 10:05:32 +01:00
Benoit Pierre 5995469880 ci/macos: minor cleanup (#15103)
There's no need to specify the name when uploading an artifact without creating an archive.
2026-03-11 22:13:53 +01: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
David fdd810d5a1 Refactor duplication in #15088 (#15094) 2026-03-08 17:39:11 +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
Frans de Jonge c52439c4a8 Bump base for mupdf: add annotation type and contents getters (#15092)
* cmake: cleanup some glibc version conditionals https://github.com/koreader/koreader-base/commit/17b401c9461cef1392a39414a1ab31335d308c07
* xz: avoid pulling __sched_cpucount@GLIBC_2.6 on older glibc versions https://github.com/koreader/koreader-base/commit/af4e2418095e146666628f7f79efcd0359d006a6
* mupdf: add annotation type and contents getters https://github.com/koreader/koreader-base/pull/2287
2026-03-08 13:01:11 +01:00
Frans de Jonge 32bccdb566 [chore] Clean up unused util in dispatcher_spec.lua (#15093) 2026-03-08 12:43:36 +01:00
k4rnaj1k 9f7a0e420d [Kindle Scribe] Add support for kindle scribe stylus events (#14908) 2026-03-08 12:37:23 +01:00
Camille HBP 2cef4378d2 fix(calibre-plugin): ensure size is correctly parsed as a number in book info in search (#14881) 2026-03-08 12:34:10 +01:00
Euphoriyy a47ecfcdc2 kopt: option to invert document in night mode (#14954) 2026-03-08 12:31:57 +01:00
Frans de Jonge 9b03ee8c6d Add basic Dispatcher spec (#15062) 2026-03-08 12:30:28 +01:00
Frans de Jonge f873292f48 [i18n] Add Gaelic language (#15091) 2026-03-08 12:29:44 +01:00
Frans de Jonge 1ff1124a9b Update translations for v2026.03 (#15090) 2026-03-08 12:24:14 +01:00
David 33654af8a7 [Calibre] preserve uuid field in calibre metadata serialisation (#15088)
Otherwise calibre wil raise an error when its nil:

```
calibre, version 9.4.0
ERROR: Error: Error communicating with device

'uuid'

Traceback (most recent call last):
  File "calibre/gui2/device.py", line 110, in run
  File "calibre/gui2/device.py", line 581, in _books
  File "calibre/devices/smart_device_app/driver.py", line 58, in _synchronizer
  File "calibre/devices/smart_device_app/driver.py", line 1316, in books
KeyError: 'uuid'
```
2026-03-08 09:11:27 +01:00
David 5cd27cff1d fix incorrect migration comment (#15086) 2026-03-07 18:54:46 +01:00
Frans de Jonge a3f00b8bfc Tweak bug report template: nightly test not required, avoid automatic reference to nightly ticket (#15084)
See <https://github.com/koreader/koreader/pull/15072#issuecomment-4016113442>.
2026-03-07 17:27:31 +01:00
David bed8f558fa Switch virtual keyboard default to false on hasKeyboard (#15057) 2026-03-07 08:24:16 +01:00
Benoit Pierre 42aaa2031e sdl: fix scrolling when fractional values are involved (#15077)
Use accumulated whole scroll "ticks" in mouse wheel events.
2026-03-06 19:21:10 +01:00
Benoit Pierre f22ad077a6 bump base (#15080)
- zlib: minor build simplification (koreader/koreader-base#2282)
- sdl: build our version for the linux target (koreader/koreader-base#2283)
- fix: SDL3 HiDPI return value check (koreader/koreader-base#2285)
- sdl: ensure we have a recent enough version (koreader/koreader-base#2288)
- make: tweak setup target (koreader/koreader-base#2289)
- sdl: enable mouse focus click-through (koreader/koreader-base#2291)
- luajit: update to 2.1.1772619647 (koreader/koreader-base#2292)
2026-03-06 18:35:43 +01:00
Min S. Kim 0c6d217e37 OPDS: fix off-by-one in sync sub_table access (#15073)
When an OPDS catalog entry's URL resolves to a sub_table with only one
element, sub_table[2] returns nil, causing a crash on the subsequent
item.acquisitions access. Fall back to sub_table[1] when index 2 is nil.
2026-03-05 08:51:27 +01:00
Frans de Jonge 9f10243be0 [doc] Add checklist about external plugins/patches, testing nightly and searching issues to bug report template (#15072)
Also add field asking for regression info.
2026-03-05 08:47:16 +01:00
witcher a7cb81c229 [plugin] NewsDownloader: allow downloading supported documents (EPUB etc.) (#15065) 2026-03-04 16:56:09 +01:00
T. Li f12ff96ad6 KoptInterface: fix panel zooming when dewatermark is on (#15067) 2026-03-03 23:33:11 +01:00
Min S. Kim 4cc49962c3 OPDS: guard against entries with no URL in sync
Add a nil check on entry URL in getSyncDownloadList to prevent a
crash when a feed entry has no navigation link. Add a test for
single-quoted attribute feeds.
2026-03-03 23:06:10 +01:00
Min S. Kim 5241e20bea luxl: support single-quoted XML attribute values
Add a CCLASS_SQUOTE character class and ST_ATTR_VAL_SQ state to the
lexer FSM so single-quoted attributes are parsed correctly without
cross-matching with double-quoted ones. Both quoting styles are valid
XML per the spec.
2026-03-03 23:06:10 +01:00
Benoit Pierre e4143e23c4 ci/macos: update upload-artifact action (#15046) 2026-03-02 22:04:21 +01:00
David 59e70d5f4d [Dispatcher] remove Gesture overview from non-touch devices (#15059) 2026-03-02 17:58:00 +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
hius07 3f2cd054d8 PDF: import embedded highlights (#15040) 2026-03-01 20:51:11 +02:00
Benoit Pierre 7fdba6a997 bump base (#15052)
- zlib: update to 1.3.2 (koreader/koreader-base#2278)
- Expose MuPDF's search function (koreader/koreader-base#2279)
- mupdf: add getMarkupAnnotationBoxesFromPage() (koreader/koreader-base#2280)
- luajit: update to 2.1.1772148810 (koreader/koreader-base#2281)
2026-03-01 00:16:57 +01:00