2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

445 Commits

Author SHA1 Message Date
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