Commit Graph

10793 Commits

Author SHA1 Message Date
hius07 97a7ebefb9 Text editor: rotate (#12658) 2024-10-29 20:49:43 +02:00
NiLuJe b42b9a8799 DeviceListener: Restore onExit callback passing
That callback is used for custom exit paths (e.g., OTA).

Regression in #12509
2024-10-27 01:34:20 +02:00
NiLuJe 4c91bf9f63 OTA: Make the final ConfirmBox undismissable
It's relatively easy to miss-click the buttons, especially on devices
with questionable touch panels...

And while doing so is perfectly fine, you miss the InfoMessage telling
you that the update will be applied on restart, which is potentially
confusing.

Re: #12674
2024-10-27 01:34:20 +02:00
hius07 3f8175100a main: logger (#12682) 2024-10-26 17:55:22 +03:00
mergen3107 33dfdacae1 Building.md - Debian bookworm meson install from backports (#12680) 2024-10-25 21:50:30 +02:00
mergen3107 f8446538c0 Fix KOReader spelling in the code (#12670) 2024-10-24 10:46:46 +02:00
hius07 42d3f25034 PatchManagement: prettify menu (#12668) 2024-10-23 18:46:02 +03:00
hius07 1778c698b5 Profiles: more auto-exec triggers (#12651) 2024-10-23 12:56:46 +03:00
Martín Fernández f34f9207e9 exporter: add deprecation notice for unmaintained targets (#12620) 2024-10-23 10:44:42 +02:00
Martín Fernández 2c03d50c49 add deprecation to autofrontlight (#12619) 2024-10-23 10:44:14 +02:00
Martín Fernández 04161c0e9e translated deprecation reasons (#12636)
Keep translated strings around on deprecation
2024-10-23 10:43:40 +02:00
NiLuJe 2497d8f352 Misc: Some more FocusManager fallout (#12667)
Don't show initial focus in KVP & CalendarView

Fix https://github.com/koreader/koreader/pull/12583#issuecomment-2427403108
2024-10-22 10:38:02 +02:00
NiLuJe fdd342de40 Menu: Fix fallout from #12583 on hasDPad devices (#12657)
Tweak `mergeTitleBarIntoLayout` to keep the current selection (adjusted for the added rows) instead of resetting the focus.

It only actually called `moveFocusTo` on `hasDPad` devices, which explains why this was missed during testing.

Fix https://github.com/koreader/koreader/pull/12583#issuecomment-2423554770
2024-10-21 13:35:44 +02:00
Benoit Pierre 238f0c0896 wbuilder: fix environment (#12665)
Use `setupkoenv` to setup LUA paths and ensure `ffi.loadlib` is loaded.
2024-10-21 08:44:14 +02:00
mergen3107 ee17b44b58 Kindle Scribe: fix elseif for orientation code (#12663)
Fixes #12662
2024-10-20 18:58:34 +02:00
hius07 54e33d27ea ReaderHighlight: fix color for extended highlight in pdf (#12654)
Closes #12653.
2024-10-18 20:59:31 +02:00
jonnyl2 a4dcfd2d52 ReaderFont: fix "new" fonts in generated font test document (#12646)
New fonts were not rendering in their own font because
the font names were modified directly in the face_list table.
2024-10-18 16:46:57 +02:00
hius07 716ed1f19d InputText: fix Terminal plugin input (#12652)
Regression in #12632.
2024-10-17 19:06:18 +02:00
hius07 71a89e45c0 Text editor: show current line number (#12632) 2024-10-16 20:03:31 +03:00
hius07 1493a092db Cloud storage: fix sorting non-English filenames (#12644)
Reported in #12638.
2024-10-15 09:30:57 +02:00
hius07 ce7fcff360 Menu widget: draw focus on focused item (#12583) 2024-10-13 18:02:51 +03:00
NiLuJe 83bc531186 Terminal: Tweak the preferred shell order
Keep things least likely to be terrible at being interactive shells
first ;).
We penalize ZSH a bit, because RPROMPTS aren't really handled by the
plugin, which makes things confusing.
2024-10-13 15:02:39 +02:00
zwim 312c3f0d46 Terminal: Move some boilerplate setup code outside of the child shell process
Salvaged from @zwim's original code in #12384
2024-10-13 15:02:39 +02:00
Benoit Pierre 3e5d3044d7 Terminal: Simplify shell selection
Largely based on @benoit-pierre's original patch in https://github.com/koreader/koreader/pull/12384#issuecomment-2298130062
2024-10-13 15:02:39 +02:00
Benoit Pierre e9f83a8cd0 bump luajit-launcher (#12630)
- https://github.com/koreader/android-luajit-launcher/pull/517
- https://github.com/koreader/android-luajit-launcher/pull/521
- https://github.com/koreader/android-luajit-launcher/pull/522
- https://github.com/koreader/android-luajit-launcher/pull/523
- https://github.com/koreader/android-luajit-launcher/pull/524
2024-10-13 00:18:18 +02:00
NiLuJe a979141ab2 Kobo: Minor simplification after #12616 (#12629)
The only codepath that sets pending_connection to true in NetworkManager calls turnOnWifi right after, so we can't really ever see pending_connection w/o isWifiOn being also true ;).
2024-10-12 19:47:01 +02:00
NiLuJe 75f7d862d4 Kobo: Explicitly murder Wi-Fi right before suspend if needed
In order to avoid similar catch-22, no matter the timing
2024-10-11 20:37:36 +02:00
NiLuJe 49cfd80f9a KOSync: Kill Wi-Fi once we're done on suspend
Most older NTX boards will horribly implode when attempting to suspend
with the Wi-Fi chip powered on.

And the others may do very dumb things re: power management anyway.

(This falls outside of the existing machinery that deals with this case,
as it happens *before* sending the Suspend Event).

Fix #12614
2024-10-11 20:37:36 +02:00
hius07 f143f5f8b1 ReaderHighlight: adjustable "Edit highlight" dialog position (#12599) 2024-10-11 19:26:33 +03:00
hius07 85591c75ce Profiles: add "on rotation" auto-execute event (#12612) 2024-10-10 18:05:24 +03:00
hius07 76deedfb73 Menu widget: rotation handler (#12573) 2024-10-10 10:54:59 +03:00
Benoit Pierre 89b9300a70 bump base (#12615)
- https://github.com/koreader/koreader-base/pull/1959
- https://github.com/koreader/koreader-base/pull/1960
2024-10-09 21:41:28 +02:00
hius07 9f7dc85084 DocSettingsTweak: apply to books with status (#12606) 2024-10-09 19:28:37 +03:00
hius07 92bcbe06f6 readertypeset: fix margins info (#12609) 2024-10-07 22:17:14 +03:00
Jose San Pedro 93935f34ef Add wifi support to Cervantes Touch Light devices (#12148) 2024-10-06 17:39:58 +02:00
TANG Xiao 80975ea4b0 ProgressWidget: fix misalignment (#12526) 2024-10-06 17:38:50 +02:00
Martín Fernández 28b72f081a update metadata translations for fdroid/flathub (#12581) 2024-10-06 17:37:58 +02:00
Benoit Pierre db4a07e43d bump base, macOS edition (#12605)
- https://github.com/koreader/koreader-base/pull/1948
- https://github.com/koreader/koreader-base/pull/1949
- https://github.com/koreader/koreader-base/pull/1950
- https://github.com/koreader/koreader-base/pull/1951
- https://github.com/koreader/koreader-base/pull/1952
- https://github.com/koreader/koreader-base/pull/1953
- https://github.com/koreader/koreader-base/pull/1954
- https://github.com/koreader/koreader-base/pull/1955
- https://github.com/koreader/koreader-base/pull/1957
- https://github.com/koreader/koreader-base/pull/1958
2024-10-06 17:37:00 +02:00
Benoit Pierre f0e5acfd26 android: drop unnecessary code (#12594)
No need for dlopen machinery with monolibtic library.
2024-10-04 18:59:58 +02:00
hius07 7da143062f dispatcher: SpinWidget range (#12580) 2024-10-04 18:04:02 +03:00
Frans de Jonge 706ab3bdfe [plugin] Exporter: fix typo (#12592)
Fixes #12591.
2024-10-04 11:27:05 +02:00
David cba79bca1c Quickstart guide Kindle illustrations (#12577) 2024-10-02 23:49:56 +02:00
jkl16 6138779124 Disabled rotation map for Android devices where "hw media keys follow gravity" (#12557) 2024-10-02 14:41:47 +02:00
Benoit Pierre 35918326f0 android: fix apkanalyzer location
- fix SDK location: our install has 2 different versions: under
  `tools/bin/apkanalyzer` and `cmdline-tools/latest/bin/apkanalyzer`,
   but only the later is functional (trying to use the former raise
   some classpath exceptions)
- always use the SDK location, don't try to detect it: it's better to
  fail with a more explanatory "apkanalyzer: command not found" error
  than having the shell try to run a command with the wrong executable
  (`manifest …` because `$(APKANALYZER)` is empty)
2024-10-02 14:35:56 +02:00
Benoit Pierre 120d418b7e android: switch to monolibtic mode (#12576)
We can get rid of the `libs` and `sdcv` symlink in application files.

Depend on koreader/koreader-base#1920.

Close #12348.
2024-10-02 09:19:57 +02:00
NiLuJe e45119453e Bump base
https://github.com/koreader/koreader-base/pull/1943
2024-10-01 23:26:03 +02:00
NiLuJe 3c60d440ad Bump platform/android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/514
https://github.com/koreader/android-luajit-launcher/pull/513
https://github.com/koreader/android-luajit-launcher/pull/512
https://github.com/koreader/android-luajit-launcher/pull/515
2024-10-01 23:26:03 +02:00
NiLuJe a6584e312d Add kobov4 & kobov5 targets
kobov4 exists solely because there's a dedicated TC for it,
but we don't distribute binaries for it (it doesn't differ enough from
kobo, and experience has taught us that this kind of split was not a
great idea (e.g., kindle5 vs. kindlepw2)).

kobov5 targets a massively updated userland, and requires further
changes, including to the delivery mechanism, so it very much warrants a
dedicated package (re: #12401)
2024-10-01 23:26:03 +02:00
Benoit Pierre 521deb5f37 sdl: use our compiled version for the AppImage (#12575) 2024-10-01 21:30:16 +02:00
Benoit Pierre ffb3da6fb5 bump base (#12578)
- https://github.com/koreader/koreader-base/pull/1939
- https://github.com/koreader/koreader-base/pull/1942
- https://github.com/koreader/koreader-base/pull/1944
- https://github.com/koreader/koreader-base/pull/1945
2024-10-01 20:07:54 +02:00