Commit Graph

10304 Commits (d82815952ee7b9bc070b12fc3441afaf9a550473)
 

Author SHA1 Message Date
hius07 d82815952e
Annotations, part 1 (#11563)
New format to handle annotations (page bookmarks, highlights, notes) and store them in the book metadata files.
2 months ago
hius07 6b0d97bf22
Multiple collections (#11693) 2 months ago
Benoit Pierre 087ddd1510 ci: small macOS cleanups
Reduce differences with the configuration used on koreader-base.
2 months ago
Benoit Pierre 7392dd2ad4 ci: tweak macOS CI checkout phase
Use the same parameters as for the koreader-base job (faster).
2 months ago
Benoit Pierre 54ded2c578 ci: fix macOS build
Work around the fact that the lua@5.1 brew formula has been disabled.

Additionally, drop ragel (no necessary anymore).
2 months ago
Benoit Pierre ad6e3b34c4 bump luajit-launcher 2 months ago
Benoit Pierre 64213bf3d9 bump base 2 months ago
Benoit Pierre 6d5ad05e9f ci: bump docker images 2 months ago
hius07 8ff846ba6e
SortWidget: sort alphabetically (#11705) 2 months ago
Benoit Pierre e8544316a8
pocketbook: simplify device model detection (#11721)
To avoid avoid having to manually handle the multiple
ways a model name reported by inkview can be formatted.
2 months ago
vyaus f793c6a36c
Gesture: add jump to random page (#11727) 2 months ago
Frans de Jonge 34abb4e22b
Update translations for v2024.04 (#11726) 2 months ago
Galunid ca14420372
Add relevant nil guards to prevent reflow crashes (#11715)
closes #10854 #9272 #4481
2 months ago
hius07 f5be04a738
Keyboard: detect tap if swipes are disabled (#11699)
Discussed in #11668.
2 months ago
mergen3107 caea0e8fb2
Kindle Scribe: improve gyro detection, replace accel with acc keyword (#11696)
Fixes #11691.
2 months ago
ElimGarak1 bfc84795c8
Add PocketBook Era Color (PB700K3) (#11695)
Fixes #11684.
2 months ago
Max Ignatenko 87c85bf94d
NewsDownloader: use <content:encoded> from RSS item, if available (#11694)
This makes it work much nicer for feeds that provide the full content in the feed itself.
2 months ago
SomeGuy c70c9f0905
Hide hidden flows and custom toc from non-touch devices (#11690) 2 months ago
mergen3107 d3011571a3
Kindle Scribe: find accelerometer based on hardware (#11642)
Closes #11392 (temporarily).
2 months ago
Max Ignatenko b872191dc9
Stop touching night mode when control_nightmode == false (#11685)
This is a regression introduced in #10762
2 months ago
Benoit Pierre 715f5aa747 ci: cleanup CircleCI fetch phases 2 months ago
Benoit Pierre 8b8258b44a make: speedup `fetchthirdparty`
- shallow clone submodules configured as such
- on CI, shallow clone all submodules
- use 3 jobs
2 months ago
Benoit Pierre f3dcc70d8d l10n: mark git submodule for shallow updates 2 months ago
Benoit Pierre 4a343d3669 ci: bump CircleCI docker images 2 months ago
Benoit Pierre 21c6e37f5e ci: remove CircleCI unnecessary steps
The docker images should already contain all the necessary tools.
2 months ago
Benoit Pierre c345de5d71
ci: drop travis configuration (unused) (#11676) 2 months ago
Benoit Pierre ad6607cb4c
make: improve `appimageupdate` rule, take 2 (#11671)
The FUSE detection is false positive under Gitlab's pipeline,
so just use the hidden `--appimage-extract-and-run` option to
automatically and always "extract & run" the appimage tool.
2 months ago
Frans de Jonge f93cc6e916
[AppImage] AppImageTool 13 (#5275) (#11665)
https://github.com/AppImage/AppImageKit/releases/tag/13
2 months ago
Benoit Pierre 8b4b3025eb
make: improve `appimageupdate` rule (#11669)
Instead of trying to detect if running under Docker, use a simpler
wildcard check to detect if FUSE support is available. This as the
advantage of supporting Docker, rootless Docker, and Podman.
2 months ago
Benoit Pierre 0dbfac22b0
make: fix `appimageupdate` rule (#11662)
Update sdnio library soversion to account for new docker image based on Ubuntu 20.04.
2 months ago
Benoit Pierre 12552f1c71
doc: remove ragel from the build requirements (#11661)
Not necessary anymore.
2 months ago
Benoit Pierre c503e9e848
make: fix test rule (#11659)
Use the same code as in base (Cf. https://github.com/koreader/koreader-base/pull/1756).
2 months ago
poire-z d178273671
bump base, luajit-launcher, avoid assert failure in sub-processes (#11658)
Bump base:
- Update LuaJIT to 20240310
- harfbuzz: fix ccache 4.9.1 errors
- ci: drop unnecessary macOS build dependency
- CRE: avoid assert failure in sub-processes
Bump luajit-launcher:
- Update LuaJIT to 20240310
Frontend:
- CreDocument: prevent assert failure in sub-processes
2 months ago
Frans de Jonge 31c28378e7
[i18n] GetText: fix fuzzy detection for certain strings (#11648)
Reported in <https://github.com/koreader/koreader/pull/11647#issue-2233008767>.

Probably overlooked in #5807
2 months ago
SomeGuy fb86acaf1a
Sleep screen wording fixes (#11647) 2 months ago
Frans de Jonge ad266f46c2
GetText: fix crash if a value is used as unique value and as singular/plural (#11643)
Concretely 1 second, %1 seconds since #11549 added `1 second` all by itself.
2 months ago
SomeGuy 279f16aa23
Sleep screen menu reworked (#11549) 2 months ago
Bastian Wagner aaa56a814f
CreDocument: support added 'identifier' metadata (#11628)
Currently not exposed in Book information.
2 months ago
poire-z ac4d4756f8
bump crengine: various fixes, updated russian hyphenation (#11637)
Includes:
- Russian hyphenation: allow hyphens after Russian "не" prefix
- EPUB: add "identifiers" to doc props
- EPUB: avoid crash when '@font-face' in <head><style>
- FB2: fix block images sizing and centering
- lvrend: fix positioning of bottom border on empty block elements
Also includes:
- cre: add 'identifiers' to doc props
- build and ci: various tweaks
2 months ago
Tomas Janousek 1fbdc1f19d NetworkMgr: Limit the hasDefaultRoute check in isOnline to PocketBooks
It's not necessary on other platforms. To be more precise, it would be
necessary on Kobo as well, but there's a different workaround in place:
https://github.com/koreader/koreader/pull/6424/files#diff-be863601c59a2d6607af6b04b3be2392ec4494df6d25dae48250fae57b737f61R216-R224
2 months ago
Tomas Janousek 4fa6783dbb NetworkMgr: Use cheaper/simpler hasDefaultRoute in isOnline
Device:getDefaultRoute parses /proc/net/route and converts the hex
addresses to textual IP addresses, but in `isOnline` we don't care what
address the gateway actually has, we only care about whether we have a
default route into the Internet.

This provides a simpler alternative that does the equivalent of
"ip route get 203.0.113.1 || ip route get 2001:db8::1" (note that it
does support IPv6-only connectivity as opposed to
Device:getDefaultRoute) and returns true if we have a route.

Inspired by https://github.com/pavel-odintsov/get_default_outgoing_ip_linux
2 months ago
Tomas Janousek b3e125a7ce NetworkMgr: Fix PocketBook losing net access
Doing the `isOnline` check (`socket.dns.toip("dns.msftncsi.com")`)
without having internet connectivity (`!isConnected`) results in the
`isOnline` check never succeeding again even if connectivity is later
acquired. This is most likely caused by /etc/resolv.conf only being
parsed once - https://sourceware.org/bugzilla/show_bug.cgi?id=984, an
issue that was fixed in glibc 2.26 (PocketBook firmware U740.6.8.2461
has glibc 2.23).

This fix works around the problem by checking if we have a default route
first before even attempting to check `isOnline`. If we don't, then
`isOnline` is (almost) guaranteed to fail anyway.

We could alternatively check `isConnected` instead, but that only checks
wireless connectivity on many platforms, and we could have internet
access via USBNet instead. Checking for the default route via any
interface should work reliably for both wireless and USBNet
connectivity.

Another alternative fix is to add a fallback nameserver to
/etc/resolv.conf like we do for the Kobo platform [1]. Unfortunately,
this fix would not work in the following (rather common) scenario:

1. PocketBook boots, connects to WiFi
2. KOReader starts, /etc/resolv.conf looks all right, no fallback needed
3. PocketBook goes to sleep, disconnects from WiFi, clears resolv.conf
4. PocketBook wakes up, stays disconnected
5. KOReader user does a Wikipedia lookup, networking freezes

[1]: https://github.com/koreader/koreader/pull/6424/files#diff-be863601c59a2d6607af6b04b3be2392ec4494df6d25dae48250fae57b737f61R216-R224

Fixes: https://github.com/koreader/koreader/issues/10183
Related: https://github.com/koreader/koreader/issues/6421
2 months ago
hugleo cd7d3b5ef6
Bump luajit-launcher (#11636)
Add support for C64P
2 months ago
Denis Malinovsky 6cc970dbb4
Do `flashui` refresh for first display of History page (#11603)
This fixes ghosting for color Pocketbook devices

Fixes #11602.
3 months ago
hius07 c415aea67e
File manager: fix classic mode item font size (#11626)
Closes #11625.
3 months ago
Frans de Jonge 601925ab87
[minor] CSS tweaks: fix typo cellpading → celpadding (#11618) 3 months ago
Frans de Jonge ec54afcc0d
[minor] ReaderStyletweak: fix typo (#11616) 3 months ago
Frans de Jonge a7edf213a5
[minor] FileChooser: use en-dash instead of dash for UI (#11615) 3 months ago
SomeGuy f6588e95e8
ReaderHighlight: ~~strikeout~~ → Strikethrough (#11619) 3 months ago
Frans de Jonge b1a80921ad
Revert "ReaderPaging: enable Kindle page-turn animations (#11424)" (#11617)
This reverts commit ee7c3ab551.
3 months ago