Commit Graph
12002 Commits
Author SHA1 Message Date
Igor Velkov fa1544d7fe ReaderToc: let the focused node draw its cursor (#15820) 2026-08-10 12:43:53 +01:00
Over Drive c6709f85b5 Kindle: ensure frontlightIntensityHW doesn't return "nil" on failed HW read (#15839)
Prevents a crash due to attempting to compare number with nil on devices where the frontlight hardware has failed and lipc's flIntensity property returns nil instead of a number.
2026-08-09 15:26:22 +02:00
Benoit Pierre e9c0a6e399 device: get rid of probing code
Append target platform to `git-rev` and use it in place of probing.
2026-08-09 11:21:54 +02:00
Benoit Pierre c55124c73e version: drop dead code 2026-08-09 11:21:54 +02:00
Frans de Jonge 982a774d81 Postpone screen update after wake-up: use ngettext for '1 second'
Otherwise the msgid overlaps with the plural elsewhere.

Fixes #15822.
2026-08-08 13:51:45 +02:00
Frans de Jonge 53e89a3dca kodev check: add a check for gettext warnings 2026-08-08 13:51:45 +02:00
Benoit Pierre 7b0938bd87 pocketbook: fix OTA updates
The code was still using `.zip` files (from the initial prototype).
2026-08-07 22:19:49 +02:00
Benoit Pierre 77867b7b87 pocketbook: clear screen before installing OTA updates 2026-08-07 22:19:49 +02:00
Benoit Pierre c74a067c7a fix .gitignore
Only ignore `.app` files at the root of the repo (since the extension is also used for PocketBook launchers, e.g. `platform/pocketbook/koreader.app`).
2026-08-07 22:19:49 +02:00
poire-z 8ae5f9f79e ReaderLink:isXpointerCoherent(): fix check in some edge cases 2026-08-07 21:50:15 +02:00
poire-z a72790090c bump base+crengine: CSS font-face and text layout enhancements
Includes:
base:
- Android: let the system handle power key events
- pocketbook: fix inkview version check
- thirdparty/giflib: add download mirrors
- blifbuffer: refix rounded corners
crengine:
- cmake: add setting for custom memory manager use
- fix `USE_ANSI_FILES` setting
- lvtextfm: word expansion: avoid involving space condensing
- lvfntman: subpixel/fractional HarfBuzz glyph positioning
- CSS/lvfntman: consolidate `@font-face` parsing and handling
- bump CACHE_FILE_FORMAT_VERSION
- cre.cpp:
  - fix getLinkFromPosition()
  - add getLangTagForTextFromPosition()
  - tweak getLinkFromPosition()
frontend:
- set font.fractional.positioning to strength 2
  (but keep unit tests using 0)
2026-08-07 21:50:15 +02:00
Igor Velkov 77882d374f InputDialog: close on Back when there is no Close button (#15830)
InputDialog binds the Back key group, but its handler only presses a button
carrying id "close" and does nothing when the dialog has none, so on a
non-touch device those dialogs cannot be dismissed with the key at all: the
only way out is to aim the cursor at Cancel.

Dialogs that can lose work should get that button (_addSaveCloseButtons adds
it alongside save_callback, and its callback is what asks about unsaved
changes), so the rest can simply close, as ButtonDialog does with the same key.
2026-08-07 21:09:18 +02:00
Benoit Pierre 062f6f3a68 pocketbook: fix InkPad One OTA model (#15833) 2026-08-07 20:40:51 +02:00
Igor Velkov b92abbb336 FocusManager: put the focus keys back when a keyboard goes away (#15819) 2026-08-07 18:15:44 +02:00
David f562135b16 [DictQquickLookup] correct space bar call of LookupInputWord on kindle 3 (#15829) 2026-08-07 07:32:15 +02:00
Igor Velkov a53303814b Menu: rebuild key bindings on physical keyboard hot-plug (#15781) 2026-08-07 00:00:05 +02:00
Mickaël Schoentgen aae92cebb0 feat: add lojban reader.dict monolingual dictionary (#15823) 2026-08-06 17:11:47 +02:00
kerivin 5584b5e571 bump android-luajit-launcher (#15818)
* Add Sunxi controller (koreader/android-luajit-launcher#602) @kerivin
* Add light control for Onyx Boox Note Air 3 (koreader/android-luajit-launcher#587) @Kamilll
* Add Lenovo Smart/Yoga Paper support (EPD + lights) (koreader/android-luajit-launcher#599) @4285f4
* Add EPD waveform controller for Nook Glowlight 4 Plus (bnrv1300) (koreader/android-luajit-launcher#597) @backcountrymountains
* Sunxi: added binary A2 for fast refresh and other constants (koreader/android-luajit-launcher#603) @kerivin
* Sunxi: full refresh on every page after launch (koreader/android-luajit-launcher#604) @kerivin
* Get Android tool type (koreader/android-luajit-launcher#606) @kerivin
2026-08-06 16:14:11 +02:00
Benoit Pierre 694c1c8b76 debian: fix possible file permissions issue (#15814) 2026-08-05 23:32:51 +02:00
Benoit Pierre 620c73a7af make: fix mo rules (#15813)
Avoid an infinite recursive loop when using an empty sparse checkout.
2026-08-05 23:18:56 +02:00
Benoit Pierre aeff6fa11b pocketbook: add preliminary InkPad One support 2026-08-05 22:48:11 +02:00
Benoit Pierre e40ba6fdbc add pocketbookhf target
For models like the InkPad One.
2026-08-05 22:48:11 +02:00
Benoit Pierre a72c5e7f89 bump base (#15816)
- certifi: update to 2026.7.22 (koreader/koreader-base#2487)
- load `librt` only once (koreader/koreader-base#2486)
- tesseract: update to 5.5.3 (koreader/koreader-base#2492)
- libarchive: update to 3.8.9 (koreader/koreader-base#2489)
- dropbear: update to 2026.94 (koreader/koreader-base#2488)
- luajit: update to 2.1.1785763465 (koreader/koreader-base#2491)
- netinfo: don't ask socket() for SOCK_CLOEXEC (koreader/koreader-base#2480)
- sqlite: update to 3.53.4 (koreader/koreader-base#2490)
- ci/circle: bump docker images (koxtoolchain 2026.08) (koreader/koreader-base#2495)
- ffi/posix: fix Android and macOS declarations (koreader/koreader-base#2496)
- add `pocketbookhf` target (koreader/koreader-base#2498)
2026-08-05 22:32:49 +02:00
Benoit Pierre 81b82f31ac ci: bump docker image (#15811) 2026-08-05 19:21:11 +02:00
Mickaël Schoentgen 2749cf8917 feat: add polish reader.dict monolingual dictionary (#15804) 2026-08-04 23:20:54 +02:00
Benoit Pierre 4d7d3318f8 pocketbook: fix incremental OTA updates
Make sure kotasync is looking in the right directory for the current
full install, which is one level higher on PocketBook platforms.
2026-08-04 23:18:00 +02:00
Benoit Pierre 8860a7c66a otamanager: minor cleanup 2026-08-04 23:18:00 +02:00
hius07 8055c4b666 Remove CloudStorage app (#15793) 2026-08-04 21:49:22 +03:00
Igor VelkovandClaude Fable 5 68297ac202 ReaderToc: expand/collapse the focused node with arrow keys on non-touch devices (#15780)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-04 17:30:52 +02:00
poire-z ac1416d212 Style tweaks: update 'rem' to 'urem' (#15799)
crengine's handling of 'rem' has been updated to reference
the font-size set on the <html> element (per-specs).
'urem' (private unit) can be used to reference the
user-set font size (as 'rem' used to do).
2026-08-04 02:41:25 +02:00
Benoit Pierre a3dbe80d9c bump base (#15798)
- lunasvg: add pkg-config entry (koreader/koreader-base#2474)
- srell: install header to staging (koreader/koreader-base#2475)
- xxhash: add pkg-config entry (koreader/koreader-base#2476)
- bump crengine, ×4 (koreader/koreader-base#2479):
  * lvimg: fix `LVUnpackedImgSource` destructor (koreader/crengine#689)
  * lvrend: tables: fix padding calculation on min-width (koreader/crengine#692)
  * lvstsheet: update_style_content_property(): fix wrong content length (koreader/crengine#693)
  * lvtextfm: fix memory deallocation (koreader/crengine#694)
  * ci: bump actions (koreader/crengine#697)
  * lvxml: ReadRtfChar: fix charToHex buffer access (koreader/crengine#696)
  * lvtinydom: minor fixes (koreader/crengine#695)
  * hyphman: avoid using cri18n (koreader/crengine#698)
  * fix .gitignore (koreader/crengine#699)
  * miscellaneous cleanups (koreader/crengine#700)
  * chmlib: fix android compilation warning (koreader/crengine#701)
  * lvrefcache.h: initialize fields in LVIndexedRefCache constructor (koreader/crengine#690)
  * minor includes cleanups (koreader/crengine#702)
  * lvarray: fix `LVArray::set` (koreader/crengine#704)
  * lvref: fix `LVRefVec::set` (koreader/crengine#707)
  * hyphman: fix compiler warning [-Wunused-but-set-variable=] (koreader/crengine#705)
  * lvref:  suppress some "maybe-uninitialized" warnings (koreader/crengine#706)
  * CSS: fix font-variant-* handling (koreader/crengine#709)
  * CSS: fix attribute matching with id/name/href, add more length units, fix "rem", add "urem" and "urlh" - (koreader/crengine#710)
    Closes #15481.
    Closes #15339.
  * lvdocview: fix source page numbers with a page-list not in reading order (koreader/crengine#711)
  * proper build system - (koreader/crengine#703)
- einkfb: refresh the screen even when its content has not changed (koreader/koreader-base#2481)
- fix(blitbuffer): memory safety, soft-float overhead, and variable shadowing (koreader/koreader-base#2468)
- fix(wrap-mupdf): prevent integer overflow in allocator (koreader/koreader-base#2472)
- ffi/util: return available space from df, and fix its block maths (koreader/koreader-base#2478)
- fix(input): recompute nfds correctly in clearTimer (koreader/koreader-base#2467)
- fix(djvu): validate page bounds and check errors (koreader/koreader-base#2469)
- fix(nnsvg): prevent usage of freed NSVGimage (koreader/koreader-base#2471)
- fix(xtext): memory safety and input validation fixes (koreader/koreader-base#2473)
- kotasync: fix make reorder code (koreader/koreader-base#2483)
- ffi/downloader: fix range support check (koreader/koreader-base#2484)
- ffi/downloader: improve fetch implementation (koreader/koreader-base#2485)
2026-08-03 23:37:11 +02:00
Igor VelkovandClaude Opus 5 78d586b420 util: read disk usage with statvfs instead of df (#15755)
diskUsage parsed df's columns with awk. busybox before 1.13.0 has no -P,
so on legacy Kindles (busybox 1.7.2) it silently returned an empty table
and Calibre reported a fictional 1 GB free.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-03 21:37:05 +02:00
Ahmed El Yaacoub 415e553de9 screensaver: stop anti-ghosting redraws on wake (#15797)
Fixes #15777
2026-08-03 21:33:47 +02:00
Frans de Jonge 86ca6c762d Kobo: fix new kotasync (#15795) 2026-08-03 18:55:14 +02:00
Commodore64user 6348bce026 ReaderMenu, FMMenu: avoid double registration of widgets after hot-plug cycles 2026-08-03 17:53:45 +01:00
Commodore64user 3a3ffe4efd Hotkeys: support rename presets/profiles when plugin is idle 2026-08-03 17:53:45 +01:00
Commodore64user ff6aeee306 Hotkeys: add support for hotplugging keyboards 2026-08-03 17:53:45 +01:00
Commodore64user f90a2f0796 TouchMenu: rebuild menu when external keyboard connects/disconnects 2026-08-03 17:53:45 +01:00
Lucas Zampieri 9a5e475266 kindle: only translate gyro events coming from the accelerometer (#15635)
The gyro translation hooks run on events from every open input fd, so
now that ExternalKeyboard can attach keyboards on Kindle (#15248), a
hotplugged device that reports EV_ABS:ABS_PRESSURE (e.g. a keyboard
with a digitizer collection in its HID descriptor) can flip the screen
into the opposite landscape, bypassing both rotation locks (the
gsensor lock only checks the orientation axis, and both landscape
modes share it).

Remember the fds opened by the rotation device scan and have the hooks
ignore ABS_PRESSURE events from any other fd. ev.fd requires the
koreader-base counterpart; until the base bump this is a no-op.

Signed-off-by: Lucas Zampieri <lcasmz54@gmail.com>
2026-08-02 22:03:58 +02:00
Benoit Pierre d8515b8544 platform: drop spinning_zsync scripts
Not used anymore.
2026-08-02 21:46:38 +02:00
Benoit Pierre 11de1afc13 otamanager: new update mechanism 2026-08-02 21:46:38 +02:00
Benoit Pierre 71de37fee4 platform: switch to unpack for installing OTA updates 2026-08-02 21:46:38 +02:00
Benoit Pierre a0f8f210a8 bump base 2026-08-02 21:46:38 +02:00
hius07 748d7dd4cb readerview: fix drawing highlights and note markers (#15790) 2026-08-02 22:24:35 +03:00
hius07 e279688b9e readersearch: 'all results' minor fixes (#15784) 2026-08-02 22:16:41 +03:00
Igor VelkovandClaude Opus 5 f77b35f8cd timesync: bound the NTP client's runtime (#15740)
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-02 21:09:50 +02:00
Ahmed El Yaacoub b9e7c549db screensaver: refactor anti-ghosting flash sequence into named methods 2026-08-02 17:54:03 +02:00
Ahmed El Yaacoub 406a5e535e screensaver: fix anti-ghosting black flash breaking transparency 2026-08-02 17:54:03 +02:00
Benoit Pierre 92bb03b979 otamanager: fix http proxy handling
Only use it if it's enabled, close #15787.
2026-08-02 17:52:07 +02:00
Benoit Pierre edf3cb7677 otamanager: add zsync command debug trace 2026-08-02 17:52:07 +02:00