Commit Graph

10773 Commits

Author SHA1 Message Date
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
hius07
cb84dbd552 Exporter: export to book folder, register to Dispatcher (#12569) 2024-10-01 17:08:41 +03:00
hius07
b937a079ea Profiles: auto-execute on events (#12564) 2024-09-30 19:22:20 +03:00
David
e2d1c55ec5 [DictQuickLookup] shortcuts for editing searches (#12539) 2024-09-29 20:25:26 +02:00
hius07
4cdef40f97 File search: improve (#12549) 2024-09-28 19:47:56 +03:00
Chris Heywood
9e73a88e59 Fix typos in quickstart (#12566) 2024-09-28 08:42:19 +02:00
Benoit Pierre
d98fe14ba8 input: fix loading of fbink_input library (#12560)
The library is versioned.
2024-09-26 23:07:15 +02:00
Benoit Pierre
a1edbbf0c4 use new ffi.loadlib helper (#12545)
To load our native libraries.
2024-09-26 18:36:09 +02:00
Benoit Pierre
88aea09f73 input: fix pocketbook init (#12555)
Regression from #12486.
2024-09-25 21:17:30 +02:00
David
08205c47c8 [ReaderFooter] Update status bar in real time when inverting page turning (#12424) 2024-09-25 21:16:06 +02:00
Benoit Pierre
beaad4d337 input: fix kobo init (#12553)
I missed converting one call of `Input.open` to a method call in #12486.
2024-09-25 20:16:25 +02:00
Benoit Pierre
c6dc34b937 small base bump (#12550)
- https://github.com/koreader/koreader-base/pull/1936
- https://github.com/koreader/koreader-base/pull/1937
2024-09-25 11:40:11 +02:00
Benoit Pierre
a4a04ac356 ci/circle: fix tests parallelism (#12551)
Use `BUSTED_OVERRIDES`, as `BUSTED_SPEC_FILE` was
removed in 93c7ceccd9.
2024-09-25 08:10:40 +02:00
Benoit Pierre
72b7a1a92a sdl: use versioned library for the AppImage 2024-09-24 16:08:58 +02:00
Benoit Pierre
0c0d2ab9f1 input: drop use of ffi/input
Get rid of the weird interaction between device implementations,
`ffi.util` (`isSDL`, `noSDL`) and the device input code: each
device knows if it's using SDL or not, so rely on that to load
the right underlying input implementation.
2024-09-24 16:08:58 +02:00
Benoit Pierre
283c764351 sdl: minor cleanup; remove dead code 2024-09-24 16:08:58 +02:00
hius07
e15c1abe8b Statistics: fix null terminated strings, add toggle stats (#12547)
(1) Followup to koreader/koreader-base#1921, #12503: when getting a pdf book id in the stats db, check for old records with null terminated authors and title.
Discussed in #11318. There are some other reasons for disappearing old stats for pdf (md5 changes when converting/writing to pdf or something else), hence not closing the issue.
(2) Add Dispatcher action for toggling statistics. Closes #11422.
2024-09-23 20:46:20 +02:00
Benoit Pierre
ca569c1355 bump base (#12543)
- https://github.com/koreader/koreader-base/pull/1932
- https://github.com/koreader/koreader-base/pull/1933
- https://github.com/koreader/koreader-base/pull/1934
- https://github.com/koreader/koreader-base/pull/1935
2024-09-22 20:17:49 +02:00
Frans de Jonge
776cc21f1d Bump luajit-launcher for Onyx Boox Go 10.3 support (#12533)
https://github.com/koreader/android-luajit-launcher/pull/509
2024-09-19 18:30:01 +02:00
Frans de Jonge
7ee598c667 Revert "Profiles: make sure to close menu/quickmenu before executing action (…" (#12534)
This reverts commit 880b7c5ed1.
2024-09-19 18:29:25 +02:00
ElimGarak1
6dcafb329a Add PocketBook Verse Pro Color (PB634K3) (#12476) 2024-09-18 20:07:05 +02:00