Commit Graph

548 Commits (1dd370420090bddd0d5d255b4be204820bf55537)

Author SHA1 Message Date
yparitcher 946f7931ae bump android-luajit-launcher
Fix cutout on android 13

Closes: #9446
1 year ago
yparitcher f588edd9b1
mac: github actions macos-13 (#10404)
github no longer supports 10.15 so use 13 just to ensure the build does not break
1 year ago
NiLuJe ea2aeb917b Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/416
1 year ago
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
2 years ago
Frans de Jonge e6f1804694
Bump luajit-launcher (#10358)
Adds Tagus Gea

* https://github.com/koreader/android-luajit-launcher/pull/412 @Alfedi
2 years ago
Frans de Jonge 6ad3371cd8
Bump luajit-launcher for Onyx Poke 4 lite (#10137)
See <https://github.com/koreader/android-luajit-launcher/pull/406>.
2 years ago
NiLuJe 9fd5bbd7cb Bump android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/405
https://github.com/koreader/android-luajit-launcher/pull/404
2 years ago
proletarius101 9d2ac3a0fc
improve appstream metadata (#10094)
- add developer name (can be shown on flathub.org)
- set `Translate` link to the translation repository
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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)
2 years ago
NiLuJe f71d1b4e9d Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/396
2 years ago
Martín Fernández 2e5284051a
bump android-luajit-launcher: new devices (#9880)
meebook p6
onyx nova air 2
onyx tab ultra
2 years ago
NiLuJe b9473fa600 Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/393
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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.
2 years ago
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 ;)).
2 years ago
hasezoey a3fda69dd4
chore: update "platform/android/luajit-launcher" (#9541)
See https://github.com/koreader/android-luajit-launcher/pull/382
2 years ago
hasezoey 61415a3723
add custom mapping for tolino buttons (#9509) 2 years ago
yparitcher c4a802c486 kindle: allow stopping the framework on 5.X
this reclaims a bunch of memory useful on low memory devices
2 years ago
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
2 years ago
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
2 years ago
zwim 41e78b6ed3
userpatch: allow monkey-patching KOReader (#9104)
Supersede old android-only patch.lua.
2 years ago
Martín Fdez 8ac8db69ad bump android-luajit-launcher 2 years ago
zwim 02abbfedf1
Clear screen before zsync OTA update starts (#9114) 2 years ago
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
3 years ago
Martín Fernández 4925cd7c97
Bump android-luajit-launcher (#9014)
Support for the following Onyx devices:

Faust 3
Leaf
Note Pro
Poke 3

#8482
3 years ago
NiLuJe 6ba481cd27 Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/365
3 years ago
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
3 years ago
NiLuJe 23cd7e24bb
Minor Lua I/O cleanups (#8921)
Mostly making sure we always explicitly close io handles.
3 years ago
NiLuJe db14cb93be
Update LuaJIT (#8911)
(via base & android-luajit-launcher bumps)
3 years ago
Scarlett a2b641822f
[chore, doc] Remove legacy fmon Kobo installation instructions (#8833) 3 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
3 years ago
NiLuJe 75cde57a02
Bump base & android/luajit-launcher (#8724)
(LuaJIT update)

May positively affect #8686
3 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
3 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)
3 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.
3 years ago
NiLuJe 1084c6e151 Kobo: Set the CPU governor on *every* CPU (if available)
Fix #8578
3 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
3 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.
3 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>.
3 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
3 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
3 years ago
tjader c8c55423a7
Cervantes: include hostname in DHCP request (#8481) 3 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
3 years ago
yparitcher 66f97c25f6
Kindle: remove zsync plugin iptables rules (#8471)
zsync is not shipped anymore.
3 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
NiLuJe 5d82907e3c PocketBook: Avoid arithmetics expansions in startup script
Because everything is terrible.

Fix #7732
3 years ago
tjader b938f312a6
Enable bomb crash screen on Cervantes (#7731) 3 years ago
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>
3 years ago
Martín Fernández 939fcf7f0e
android: avoid downloading the APK again if there's one download in progress + fix signature error (#7657) 3 years ago
Martín Fernández 247166b3df
android: keep bundled version in a dedicated text file (#7649) 3 years ago
Martín Fernández d303fdf694
android: Prompt for install updates when they're downloaded (#7632) 3 years ago
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.
4 years ago
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
4 years ago
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
4 years ago
Martín Fernández 53234fcdc1
add hasSystemFonts device property (#7535)
Add system + user paths to the ReMarkable (has normal linux paths)
4 years ago
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
4 years ago
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
4 years ago
gbyl 5b996c8ab7
remarkable FW 2.6: use explicit busybox for 'sync' (#7509) 4 years ago
zwim 6d6760c2b3
bump luajit-launcher (#7480) 4 years ago
Martín Fernández 4a89c93290
Remarkable1 wifi (#7216)
* add wifi support to Rm1
* remarkable: common suspend for all models
4 years ago
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
4 years ago
Glen Sawyer 34b177aa69
Wifi toggle for reMarkable 2 (#7122)
reMarkable 1 is no-op for the moment
4 years ago