2
0
mirror of https://github.com/koreader/koreader synced 2024-11-02 15:40:16 +00:00
Commit Graph

545 Commits

Author SHA1 Message Date
Frans de Jonge
6c2f230639
Bump luajit-launcher (#10360)
* Add Boyue S62 root light controller (koreader/android-luajit-launcher#408) @RamKromberg
* Onyx Leaf: fix lights (koreader/android-luajit-launcher#414) @pazos
2023-04-26 22:11:45 +02:00
Frans de Jonge
e6f1804694
Bump luajit-launcher (#10358)
Adds Tagus Gea

* https://github.com/koreader/android-luajit-launcher/pull/412 @Alfedi
2023-04-25 18:17:57 +02:00
Frans de Jonge
6ad3371cd8
Bump luajit-launcher for Onyx Poke 4 lite (#10137)
See <https://github.com/koreader/android-luajit-launcher/pull/406>.
2023-02-22 14:00:05 +01:00
NiLuJe
9fd5bbd7cb Bump android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/405
https://github.com/koreader/android-luajit-launcher/pull/404
2023-02-11 20:01:31 +01:00
proletarius101
9d2ac3a0fc
improve appstream metadata (#10094)
- add developer name (can be shown on flathub.org)
- set `Translate` link to the translation repository
2023-02-07 17:57:43 +01:00
proletarius101
50b2267b74
AppImage AppData: fix not shown as a desktop application (#10076)
To make it shown as a desktop application and listed on flathub.org, the app data must mark it as a desktop application: https://github.com/flathub/flathub/wiki/AppData-Guidelines#header
2023-02-03 14:34:58 +01:00
Martín Fernández
34f92bc196
bump android-luajit-launcher: new devices + versionCode (#10042)
Onyx Boox Note X2, thanks to @hghwng
Warmth light support for Tolino Shine3, thanks to @Nepochal

Appends an integer to versionCode, which is used to identify the android ABI. Fixes #9687
2023-01-22 19:52:01 +01:00
proletarius101
a33617d760
Better compliance with appstream data standard (#9940)
* better compliance with appstream data standard 

Changed according to https://github.com/flathub/flathub/pull/3724#discussion_r1051620485

* update screenshots

* there can only be 1 default screenshot
2022-12-22 23:15:20 +01:00
proletarius101
f5a049212f
AppImage: make appdata standard compliant (#9929)
- license: use SPDX license identifier: https://spdx.org/licenses/
- content rating: add OARS content rating: https://hughsie.github.io/oars/generate.html (required by flathub: https://github.com/flathub/flathub/wiki/AppData-Guidelines#oars-information)
2022-12-18 10:17:11 +01:00
NiLuJe
f71d1b4e9d Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/396
2022-12-13 00:17:25 +01:00
Martín Fernández
2e5284051a
bump android-luajit-launcher: new devices (#9880)
meebook p6
onyx nova air 2
onyx tab ultra
2022-12-06 16:39:08 +01:00
NiLuJe
b9473fa600 Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/393
2022-12-05 21:17:05 +01:00
NiLuJe
304d393949 Kobo: Unbreak KSM detection
There isn't actually a kbmenu binary, the process names are all shell
scripts, kbmenu just happens to be the default folder name,
so we need full commandline matching ;).

Fix https://github.com/koreader/koreader/pull/9738#issuecomment-1312473323
Regression since #9738

Bump base

https://github.com/koreader/koreader-base/pull/1552
2022-11-13 06:47:13 +01:00
NiLuJe
bf0f8d66f0 Kobo: Don't exit the startup script on shutdown when started via KSM.
This ensures we keep displaying our own stuff, without KSM interference.

Fix #9748
2022-11-09 00:20:12 +01:00
Martín Fernández
5e1932bf38
bump android-luajit-launcher: a bunch of devices (#9763)
- crema carta g
- onyx leaf 2
- onyx lomonosov
- onyx montecristo 3
- onyx nova pro
- ridi paper 3
- fix: onyx poke 3 lights

https://github.com/koreader/koreader/issues/8482
2022-11-08 12:32:11 +01:00
NiLuJe
54fae2987e
Support Android AArch64 (#9645)
c.f., https://github.com/koreader/koreader-base/pull/1540 & https://github.com/koreader/android-luajit-launcher/pull/390
2022-10-25 01:54:18 +02:00
NiLuJe
da65ac8b02
Cleanup various varargs shenanigans (#9624)
* Iterate over varargs directly via select if possible
* Use table.pack otherwise (https://github.com/koreader/koreader-base/pull/1535).
* This allows us to simplify a few Logger calls, as logger now handles nil values.
2022-10-12 19:59:48 +02:00
NiLuJe
8fcc712c76
Kobo: Clara 2E fixes (#9559)
* Handle the power button input device
* Handle the charging LED properly
* Handle the new Wi-Fi chip properly
* Handle frontlight warmth adjustments
* Handle the battery gauge properly
* Bump base (a lot of third-party updates) [https://github.com/koreader/koreader-base/pull/1523]
* Bump android-luajit-launcher to match the LuaJIT update [https://github.com/koreader/android-luajit-launcher/pull/386]

Fix #9552 (many thanks to @Bartvelp for bearing with my stupid tests ;)).
2022-09-28 21:31:52 +02:00
hasezoey
a3fda69dd4
chore: update "platform/android/luajit-launcher" (#9541)
See https://github.com/koreader/android-luajit-launcher/pull/382
2022-09-21 11:30:33 +02:00
hasezoey
61415a3723
add custom mapping for tolino buttons (#9509) 2022-09-16 12:42:45 +02:00
yparitcher
c4a802c486 kindle: allow stopping the framework on 5.X
this reclaims a bunch of memory useful on low memory devices
2022-08-15 10:40:16 -04:00
Martín Fernández
cee84cc65c
bump android-luajit-launcher (#9386)
Reverts iReader r6800
Fixes Note Air 2 definition
Adds Onyx Poke 4
Adds epd driver for the Sony DPT-RP1

Adds a new light driver for the Onyx Nova3 color. Thanks to @ilyats
2022-07-31 09:02:57 +02:00
Martín Fernández
b70043b981
bump android-luajit-launcher (#9290)
Related to https://github.com/koreader/koreader/issues/8482

Changes:

- New light driver for Onyx devices that should work on modern ones. Thanks to @bb010g!
- Onyx Nova 2 migrated to the new driver.

Added devices:

- iReader r6800
- Onyx Magicbook
- Onyx Note Air 2
- Onyx Nova Air C
- Sony DPT-CP1
2022-07-03 21:52:08 +02:00
zwim
41e78b6ed3
userpatch: allow monkey-patching KOReader (#9104)
Supersede old android-only patch.lua.
2022-06-25 22:46:43 +02:00
Martín Fdez
8ac8db69ad bump android-luajit-launcher 2022-06-10 22:47:18 +02:00
zwim
02abbfedf1
Clear screen before zsync OTA update starts (#9114) 2022-06-08 12:09:51 +02:00
NiLuJe
e88bda6826
Kobo: Kill new FW 4.32 stuff on startup (#9010)
* Kill new services introduced in FW 4.32 on startup
* Murder BT on startup
2022-04-17 16:55:43 +02:00
Martín Fernández
4925cd7c97
Bump android-luajit-launcher (#9014)
Support for the following Onyx devices:

Faust 3
Leaf
Note Pro
Poke 3

#8482
2022-04-17 13:54:20 +02:00
NiLuJe
6ba481cd27 Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/365
2022-04-05 02:07:53 +02:00
NiLuJe
4b693a8411 Bump base & android-luajit-launcher
https://github.com/koreader/koreader-base/pull/1472
https://github.com/koreader/koreader-base/pull/1473
https://github.com/koreader/android-luajit-launcher/pull/364

Bump base
2022-04-04 19:59:40 +02:00
NiLuJe
23cd7e24bb
Minor Lua I/O cleanups (#8921)
Mostly making sure we always explicitly close io handles.
2022-03-19 23:57:31 +01:00
NiLuJe
db14cb93be
Update LuaJIT (#8911)
(via base & android-luajit-launcher bumps)
2022-03-16 19:51:22 +01:00
Scarlett
a2b641822f
[chore, doc] Remove legacy fmon Kobo installation instructions (#8833) 2022-02-28 21:56:53 +01:00
NiLuJe
6f45c076ec Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/360
https://github.com/koreader/android-luajit-launcher/pull/359
https://github.com/koreader/android-luajit-launcher/pull/357
2022-02-08 00:25:13 +01:00
NiLuJe
75cde57a02
Bump base & android/luajit-launcher (#8724)
(LuaJIT update)

May positively affect #8686
2022-01-25 00:18:02 +01:00
Martín Fernández
d67d92bcab
android screen: decouple epd and color properties (#8717)
also included new devices: 

- added onyx nova 3
- fixed onyx note 5
2022-01-24 16:01:33 +01:00
NiLuJe
2c94291af8 Kobo: Fix the upgrade progress bar on sunxi
Merges are extremely broken outside of REAGL/REAGLD on recent kernels,
while things appear to mostly behave with REAGL, so, use that...

(AUTO was a bad call on sunxi anyway)
2022-01-19 12:44:35 +01:00
NiLuJe
40116fa830 Kobo: Switch crash screen to REAGL on sunxi
It's less prone to weird merging quirks.

Kobo: Simplify the sunxi crash screen workaround

Switching to REAGL made explicit flashing unnecessary.
2022-01-19 12:44:35 +01:00
NiLuJe
1084c6e151 Kobo: Set the CPU governor on *every* CPU (if available)
Fix #8578
2022-01-19 12:44:35 +01:00
Martín Fernández
188c7d289b
bump android-luajit-launcher (#8647)
New e-ink devices: Onyx Max, Onyx Note 3 & Note 5
Added: show current support in compatibility test.
Fixed: title in light dialog
2022-01-11 17:19:33 +01:00
Frans de Jonge
be6e9f4fe8
[CI] Minor shellcheck cleanup (#8618)
`# shellcheck disable=SC2039,SC3040` is only if you want it to pass multiple versions, but I figure there's not much reason to keep the old exception for <=0.7.1 in there.
2022-01-11 12:39:21 +01:00
Frans de Jonge
10584494ee
[CI] Minor updates for ShellCheck 0.8.0 (#8605)
Cf. <https://github.com/koreader/virdevenv/pull/71#discussion_r777025218>.
2022-01-02 08:56:00 +01:00
Martín Fernández
d92e9c716f
bump android-luajit-launcher (#8593)
* revert https://github.com/koreader/android-luajit-launcher/pull/342 
* store apks in private dir and remove them after update
2021-12-26 17:15:13 +01:00
Martín Fernández
873ceac589
bump android-luajit-launcher (#8562)
New lights driver for Onyx, using reflection instead of directly write to sysfs nodes, written by @bezmi

Support for new devices:

Onyx Nova Air
Onyx Nova 3 Color
Onyx Darwin 7
2021-12-23 20:20:44 +01:00
tjader
c8c55423a7
Cervantes: include hostname in DHCP request (#8481) 2021-11-28 23:24:37 +01:00
Martín Fernández
3427c207b0
android: bump test activity (#8483)
Now users can test light drivers too. See https://github.com/koreader/android-luajit-launcher/pull/339#issuecomment-977822717
2021-11-25 22:04:09 +01:00
yparitcher
66f97c25f6
Kindle: remove zsync plugin iptables rules (#8471)
zsync is not shipped anymore.
2021-11-23 01:13:36 +01:00
Martín Fernández
1bba05ff41
Bump android-luajit-launcher (#8404)
Fix #8355
2021-11-03 08:39:40 +01:00
NiLuJe
98b53b0390 Kobo: More readable crash screen on sunxi (Sage, especially).
Switch to flashing GC16, because the screen is so fast that using GL16
simply leaves us with an unreadable mess of ghosting.

I'm halfway considering rewriting this in Lua so that I can do a proper
batched update...
2021-11-01 23:38:22 +01:00
NiLuJe
304e128031 Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/336
2021-10-22 20:54:21 +02:00
NiLuJe
5ab689aa71 Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/335
2021-09-25 02:47:06 +02:00
NiLuJe
48da545e32 Kobo/Elipsa: More fine-grained control over the amount of online CPU
cores

* Only keep a single core online most of the time.
* Device: Add an enableCPUCores method to allow controlling the amount of
  online CPU cores.
* Move the initial core onlining setup to Kobo:init, instead of the startup script.
* Enable two CPU cores while hinting new (e.g., cache miss) pages in PDF land.
* Enable two CPU cores while processing book metadata.
* Drive-by fix to isolate the DocCache pressure check to KoptInterface
  and actually apply it when it matters most (e.g., k2pdfopt stuff).
2021-09-25 02:47:06 +02:00
NiLuJe
af8988ef5f
Minor script tweaks (#8169)
* Neater fbdepth usage on sunxi
* Make sure we only ever match *loaded* modules when we check lsmod
2021-09-02 22:33:10 +02:00
hius07
b56897f61e
Kindle: don't kill kb service on start (#8122)
https://github.com/koreader/koreader/pull/6233#issuecomment-903300554
Tested on my Voyage with KOL 1.1, very nice.
2021-08-23 11:31:18 +02:00
Frans de Jonge
f2ce7d1f3a
Various third-party bumps (#8113)
https://github.com/koreader/koreader-base/pull/1400
https://github.com/koreader/koreader-base/pull/1401

https://github.com/koreader/android-luajit-launcher/pull/334
https://github.com/koreader/android-luajit-launcher/pull/333
2021-08-22 09:29:53 +02:00
NiLuJe
1a583af4a2
Unbreak Wi-Fi on < Mk.8 (#8077)
Don't pass empty parameters to insmod, it apparently doesn't like it...

Fix #8075
Regression since a91ba05e34
2021-08-14 17:28:26 +02:00
Martín Fernández
2222f25422
bump luajit-launcher (#8071) 2021-08-14 16:14:43 +02:00
NiLuJe
6d30835b3b Handle new stuff from 4.28.18220
While we're in the vicinity... ;).
2021-08-10 23:02:56 +02:00
NiLuJe
a91ba05e34 Set the WiFi regulatory domain properly on the Elipsa
No idea how restrictive the defaults are, but stuff is weird in the 5G
band, so, do it right.
2021-08-09 21:12:17 +02:00
NiLuJe
1e9346aec6 Fix Wi-Fi toggle on the Elipsa
It turns out that the kernel needs a little push now that the dedicated
wifi power control module is gone ;).

Issue was only exposed if you booted KOReader while the Wi-Fi was down.
2021-08-09 02:33:07 +02:00
NiLuJe
0acf1a2b29 Kill NanoClock on startup
It's not terribly useful for us, as we already provide similar
functionaility.

(It'll be restarted automatically when nickel restarts).
2021-08-08 19:22:28 +02:00
NiLuJe
ba6fef4d7b
Bump base & android-luajit-launcher (#8052)
* Bump base
https://github.com/koreader/koreader-base/pull/1395
* Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/328
https://github.com/koreader/android-luajit-launcher/pull/329
https://github.com/koreader/android-luajit-launcher/pull/330
https://github.com/koreader/android-luajit-launcher/pull/331
2021-08-07 03:04:02 +02:00
Martín Fernández
990b6768f4
disable battery level on desktop Linux (#8026)
This also include ChromeOS laptops (chromebooks) since the power sysfs attributes don't exist in linux containers.
2021-07-25 23:29:30 +02:00
Martín Fernández
ef5095f806
bump luajit-launcher (#8025)
Namely the Boyue P78, a JDRead, the Fidibook and a new, mysterious, Boyue Lemon smile

Related to #4551
2021-07-25 18:27:33 +02:00
NiLuJe
ae35e898fb
Kobo Elipsa support (#7986)
Includes a few minor cleanups along the way ;).
2021-07-21 18:12:58 +02:00
Martín Fernández
07bf2a5719
bump luajit-launcher (#7925)
Fixes sdcv on Android 4.0 - 4.4

Fixes https://github.com/koreader/koreader/issues/7920
2021-07-02 16:11:34 +02:00
Martín Fernández
e5610a2bcd
bump base + android (#7909) 2021-06-30 06:54:23 +02:00
Martín Fernández
ee92ca68e8
workaround for Onyx Poke2 nonsense (#7872)
Requires koreader/android-luajit-launcher#320

Also the luajit-launcher bump adds support for Likebook P78 and sanitizes clipboard text.
2021-06-20 15:42:00 +02:00
NiLuJe
901dda8d98 Kindle: Resume services *before* restoring the title bar
SHouldn't change anything in practice, besides a clearer visual that
we're done.
2021-06-20 04:21:56 +02:00
NiLuJe
d6eefe18ef Kindle: Stop/start a bunch of services on FW 5.x to reclaim a sliver of
RAM

Like, really not a lot, but, oh, well.
2021-06-18 18:02:15 +02:00
Martín Fdez
e708a47cca bump luajit-launcher 2021-06-17 21:54:03 +02:00
NiLuJe
5310381106 Kobo: Various other minor 4.28/Elipsa stuff 2021-06-15 18:00:32 +02:00
NiLuJe
94b0e974e1 Kobo: Kill new stuff from FW 4.28 on startup 2021-06-15 18:00:32 +02:00
Martín Fernández
b2ee95be63
fix storage permissions on android 11+ (#7846)
* bump luajit-launcher
2021-06-15 01:35:50 +02:00
Martín Fernández
2408c17175
bump luajit-launcher (#7842) 2021-06-14 08:45:00 +02:00
Martín Fernández
9f097da4f0
Bump android backend (#7813)
* Bumps the target Sdk to Android 11 (API30)
* Add a crash handler
2021-06-07 17:13:34 +02:00
Frans de Jonge
600c2bcf81 Debian package: skip the set -e for now 2021-06-05 10:03:28 +02:00
Frans de Jonge
ae544b741d
[fix] Debian package: ensure failure is caught (#7804)
fakeroot was missing from the Docker image.
2021-06-05 08:59:47 +02:00
Frans de Jonge
039947886f
Revert "Hyphenation: add custom hyphenation rules (#7746)" (#7785)
This reverts commit f25da5d0d5.
2021-05-31 22:19:24 +02:00
zwim
f25da5d0d5
Hyphenation: add custom hyphenation rules (#7746)
The hyphenation of a word can be changed from its default
by long pressing for 3 seconds and selecting 'Hyphenate'.
These overrides are stored in a per-language file, i.e:
koreader/settings/user-German.hyph.
2021-05-31 20:34:26 +02:00
NiLuJe
5d82907e3c PocketBook: Avoid arithmetics expansions in startup script
Because everything is terrible.

Fix #7732
2021-05-29 22:36:34 +02:00
tjader
b938f312a6
Enable bomb crash screen on Cervantes (#7731) 2021-05-23 21:46:42 +02:00
Martín Fernández
fdb0539aae
Bug report changes (#7709)
* android: dump logcat to file
* Update .github/ISSUE_TEMPLATE/bug_report.md

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2021-05-23 01:20:13 +02:00
Martín Fernández
939fcf7f0e
android: avoid downloading the APK again if there's one download in progress + fix signature error (#7657) 2021-05-10 20:36:22 +02:00
Martín Fernández
247166b3df
android: keep bundled version in a dedicated text file (#7649) 2021-05-10 13:12:18 +02:00
Martín Fernández
d303fdf694
android: Prompt for install updates when they're downloaded (#7632) 2021-05-08 23:02:35 +02:00
NiLuJe
e0a67bb656
OTA: Handle tar checkpointing visual feedback w/ an FBInk daemon (#7588)
Instead of forking it on every checkpoint.

Won't change much in the grand scheme of things, but FIFOs are fun.
2021-04-25 01:15:38 +02:00
NiLuJe
b0336e9982
PocketBook: Workaround platform shenanigans when aplying an OTA (#7585)
We can't avoid hitting a few permission errors, so, just filter them out.

Fix #7581
2021-04-24 19:02:48 +02:00
NiLuJe
6d752f32c0 Update android-laujit-launcher
https://github.com/koreader/android-luajit-launcher/pull/302
https://github.com/koreader/android-luajit-launcher/pull/301
https://github.com/koreader/android-luajit-launcher/pull/300
2021-04-22 21:33:02 +02:00
Martín Fernández
53234fcdc1
add hasSystemFonts device property (#7535)
Add system + user paths to the ReMarkable (has normal linux paths)
2021-04-19 09:04:31 +02:00
NiLuJe
1ac0ad2f1a Android: More input handling tweaks
* Android: Fix #7552 by simply ensuring we drain the input/cmd queue first, simply by scheduling the task to the next tick, instead of locally re-implementing part of the event loop ;). (Requires https://github.com/koreader/koreader-base/pull/1356 for extra safety).
* Android: Clear input state when the window loses focus. (Related to the above fix).

* Bump base:

https://github.com/koreader/koreader-base/pull/1356
https://github.com/koreader/koreader-base/pull/1357

* Bump android-luajit-launcher:

https://github.com/koreader/android-luajit-launcher/pull/293
https://github.com/koreader/android-luajit-launcher/pull/298
https://github.com/koreader/android-luajit-launcher/pull/299
2021-04-16 22:12:15 +02:00
NiLuJe
bbe197bd4b
Bump base (#7527)
* Bump android-laujit-launcher

https://github.com/koreader/android-luajit-launcher/pull/297

* Bump base

https://github.com/koreader/koreader-base/pull/1351
https://github.com/koreader/koreader-base/pull/1350
https://github.com/koreader/koreader-base/pull/1349
https://github.com/koreader/koreader-base/pull/1348
2021-04-10 02:48:51 +02:00
gbyl
5b996c8ab7
remarkable FW 2.6: use explicit busybox for 'sync' (#7509) 2021-04-05 21:43:30 +02:00
zwim
6d6760c2b3
bump luajit-launcher (#7480) 2021-04-01 16:37:39 +02:00
Martín Fernández
4a89c93290
Remarkable1 wifi (#7216)
* add wifi support to Rm1
* remarkable: common suspend for all models
2021-02-02 03:19:37 +01:00
NiLuJe
f4f8820575
Bump the things for 2021.01.1 (#7202)
* Bump base

https://github.com/koreader/koreader-base/pull/1293
https://github.com/koreader/koreader-base/pull/1294

Fix #7187

* Bump android-luajit-launcher

https://github.com/koreader/android-luajit-launcher/pull/289
https://github.com/koreader/android-luajit-launcher/pull/292

Fix #7193
2021-01-26 23:29:00 +01:00
Glen Sawyer
34b177aa69
Wifi toggle for reMarkable 2 (#7122)
reMarkable 1 is no-op for the moment
2021-01-19 21:09:17 +01:00
Frans de Jonge
4b02edc4e1
Bump luajit-launcher (#7142)
For https://github.com/koreader/android-luajit-launcher/pull/288
2021-01-14 21:13:26 +01:00
NiLuJe
3060dc81af
Revamp "flash_ui" handling (#7118)
* Wherever possible, do an actual dumb invert on the Screen BB instead of repainting the widget, *then* inverting it (which is what the "invert" flag does).
* Instead of playing with nextTick/tickAfterNext delays, explicitly fence stuff with forceRePaint
* And, in the few cases where said Mk. 7 quirk kicks in, make the fences more marked by using a well-placed WAIT_FOR_UPDATE_COMPLETE

* Fix an issue in Button where show/hide & enable/disable where actually all toggles, which meant that duplicate calls or timing issues would do the wrong thing. (This broke dimming some icons, and mistakenly dropped the background from FM chevrons, for example).
* Speaking of, fix Button's hide/show to actually restore the background properly (there was a stupid typo in the variable name)
* Still in Button, fix the insanity of the double repaint on rounded buttons. Turns out it made sense, after all (and was related to said missing background, and bad interaction with invert & text with no background).
* KeyValuePage suffered from a similar issue with broken highlights (all black) because of missing backgrounds.
* In ConfigDialog, only instanciate IconButtons once (because every tab switch causes a full instantiation; and the initial display implies a full instanciation and an initial tab switch). Otherwise, both instances linger, and catch taps, and as such, double highlights.
* ConfigDialog: Restore the "don't repaint ReaderUI" when switching between similarly sized tabs (re #6131). I never could reproduce that on eInk, and I can't now on the emulator, so I'm assuming @poire-z fixed it during the swap to SVG icons.
* KeyValuePage: Only instanciate Buttons once (again, this is a widget that goes through a full init every page). Again, caused highlight/dimming issues because buttons were stacked.
* Menu: Ditto.
* TouchMenu: Now home of the gnarliest unhilight heuristics, because of the sheer amount of different things that can happen (and/or thanks to stuff not flagged covers_fullscreen properly ;p).

* Bump base
https://github.com/koreader/koreader-base/pull/1280
https://github.com/koreader/koreader-base/pull/1282
https://github.com/koreader/koreader-base/pull/1283
https://github.com/koreader/koreader-base/pull/1284

* Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/284
https://github.com/koreader/android-luajit-launcher/pull/285
https://github.com/koreader/android-luajit-launcher/pull/286
https://github.com/koreader/android-luajit-launcher/pull/287
2021-01-10 01:51:09 +01:00
yparitcher
dc964f3941
reader.lua: rework file/directory argument handling. (#7053)
platform: do not pass a directory on the command line.
The home directory will be properly set by Device.home_dir.

It was sometimes crashing when opened with no args.

Fixes: #7049
2021-01-07 20:38:10 +01:00