Commit Graph

465 Commits (v2022.03)

Author SHA1 Message Date
NiLuJe 23cd7e24bb
Minor Lua I/O cleanups (#8921)
Mostly making sure we always explicitly close io handles.
2 years ago
NiLuJe db14cb93be
Update LuaJIT (#8911)
(via base & android-luajit-launcher bumps)
2 years ago
Scarlett a2b641822f
[chore, doc] Remove legacy fmon Kobo installation instructions (#8833) 2 years ago
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
2 years ago
NiLuJe 75cde57a02
Bump base & android/luajit-launcher (#8724)
(LuaJIT update)

May positively affect #8686
2 years ago
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
2 years ago
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)
2 years ago
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.
2 years ago
NiLuJe 1084c6e151 Kobo: Set the CPU governor on *every* CPU (if available)
Fix #8578
2 years ago
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
2 years ago
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.
2 years ago
Frans de Jonge 10584494ee
[CI] Minor updates for ShellCheck 0.8.0 (#8605)
Cf. <https://github.com/koreader/virdevenv/pull/71#discussion_r777025218>.
2 years ago
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
2 years ago
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
2 years ago
tjader c8c55423a7
Cervantes: include hostname in DHCP request (#8481) 2 years ago
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
2 years ago
yparitcher 66f97c25f6
Kindle: remove zsync plugin iptables rules (#8471)
zsync is not shipped anymore.
2 years ago
Martín Fernández 1bba05ff41
Bump android-luajit-launcher (#8404)
Fix #8355
3 years ago
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...
3 years ago
NiLuJe 304e128031 Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/336
3 years ago
NiLuJe 5ab689aa71 Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/335
3 years ago
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).
3 years ago
NiLuJe af8988ef5f
Minor script tweaks (#8169)
* Neater fbdepth usage on sunxi
* Make sure we only ever match *loaded* modules when we check lsmod
3 years ago
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.
3 years ago
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
3 years ago
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
3 years ago
Martín Fernández 2222f25422
bump luajit-launcher (#8071) 3 years ago
NiLuJe 6d30835b3b Handle new stuff from 4.28.18220
While we're in the vicinity... ;).
3 years ago
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.
3 years ago
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.
3 years ago
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).
3 years ago
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
3 years ago
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.
3 years ago
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
3 years ago
NiLuJe ae35e898fb
Kobo Elipsa support (#7986)
Includes a few minor cleanups along the way ;).
3 years ago
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
3 years ago
Martín Fernández e5610a2bcd
bump base + android (#7909) 3 years ago
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.
3 years ago
NiLuJe 901dda8d98 Kindle: Resume services *before* restoring the title bar
SHouldn't change anything in practice, besides a clearer visual that
we're done.
3 years ago
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.
3 years ago
Martín Fdez e708a47cca bump luajit-launcher 3 years ago
NiLuJe 5310381106 Kobo: Various other minor 4.28/Elipsa stuff 3 years ago
NiLuJe 94b0e974e1 Kobo: Kill new stuff from FW 4.28 on startup 3 years ago
Martín Fernández b2ee95be63
fix storage permissions on android 11+ (#7846)
* bump luajit-launcher
3 years ago
Martín Fernández 2408c17175
bump luajit-launcher (#7842) 3 years ago
Martín Fernández 9f097da4f0
Bump android backend (#7813)
* Bumps the target Sdk to Android 11 (API30)
* Add a crash handler
3 years ago
Frans de Jonge 600c2bcf81 Debian package: skip the set -e for now 3 years ago
Frans de Jonge ae544b741d
[fix] Debian package: ensure failure is caught (#7804)
fakeroot was missing from the Docker image.
3 years ago
Frans de Jonge 039947886f
Revert "Hyphenation: add custom hyphenation rules (#7746)" (#7785)
This reverts commit f25da5d0d5.
3 years ago
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.
3 years ago