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

10316 Commits

Author SHA1 Message Date
Benoit Pierre
821120828b
tests: fix EPUB test (#11776)
The `droid sans fallback` test incorrectly assumes `Droid Sans Mono`
will be the first font in the list of fallback fonts, but the list
is alphabetically sorted.

Cf. https://github.com/koreader/koreader/pull/10566
2024-05-08 20:03:40 +02:00
sdasda7777
8530282d38
Add Czech keyboard layout (#11769)
Fixes #11339.
2024-05-08 11:04:23 +02:00
hius07
725df17c45
Annotations: fixes (#11761) 2024-05-07 19:54:57 +03:00
hius07
c47d3b3177
Menu widget: cleanup (#11759) 2024-05-07 09:34:30 +03:00
zwim
bf58723af1
[CoverImage] Honor rotation after opening of a book (#11752)
If rotation changes, create a new cache entry and use that if necessary.

Fixes #11713.
2024-05-06 22:53:13 +02:00
SomeGuy
e51b71f463
[Gestures.plugin] Clarify some rotation gesture strings (#11753) 2024-05-06 17:59:00 +02:00
poire-z
001e90db1e ReaderSearch: delay adding to location stack until we change page
Search may highlight matches on the current page, and if there
are no others in the book, we would stay there and resume reading;
but we would get a spurious previous location (ie. in Book map)
that we would not expect keeping, and we may accidently go back
to previous location, losing our reading position.
Avoid this by only adding current page to location stack when
actually leaving the current page.
Because of complications with other reading modes, this is
currently only enabled for CRE document when in page mode.
2024-05-05 21:02:21 +02:00
poire-z
03d16270d9 Statistics: handle correctly page change when reading paused
As currently we only handle ReadingPaused/Resumed on suspend
and resume, no page change should happen while paused, so
there is no current issue to fix. But let's get ready for
other use cases (which may be brought in by user patches,
ie. pausing while the SkimWidget is displayed, and obviously
triggers page changes).
2024-05-05 21:02:21 +02:00
poire-z
7d94562602 ReaderToc: fix issues when on a page before first Toc Item
When on a page before the first ToC item (the first chapter),
that first chapter title may be shown in the footer instead
of a more correct blank title.
This bug might still have had other small effect elsewhere.
2024-05-05 21:02:21 +02:00
poire-z
ca90b982b4 ReaderStyleTweak: reword CSS suggestions info text 2024-05-05 21:02:21 +02:00
poire-z
1c9a6509a2 HttpInspector: allow browsing global variables 2024-05-05 21:02:21 +02:00
Benoit Pierre
89b1280166
bump base (#11748)
- https://github.com/koreader/koreader-base/pull/1773
- https://github.com/koreader/koreader-base/pull/1775
- https://github.com/koreader/koreader-base/pull/1776
- https://github.com/koreader/koreader-base/pull/1777
- https://github.com/koreader/koreader-base/pull/1778
2024-05-04 20:43:35 +02:00
hius07
d82815952e
Annotations, part 1 (#11563)
New format to handle annotations (page bookmarks, highlights, notes) and store them in the book metadata files.
2024-05-03 09:08:57 +03:00
hius07
6b0d97bf22
Multiple collections (#11693) 2024-05-01 09:01:59 +03:00
Benoit Pierre
087ddd1510 ci: small macOS cleanups
Reduce differences with the configuration used on koreader-base.
2024-04-30 22:59:50 +02:00
Benoit Pierre
7392dd2ad4 ci: tweak macOS CI checkout phase
Use the same parameters as for the koreader-base job (faster).
2024-04-30 22:59:50 +02:00
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).
2024-04-30 22:59:50 +02:00
Benoit Pierre
ad6e3b34c4 bump luajit-launcher 2024-04-30 22:22:44 +02:00
Benoit Pierre
64213bf3d9 bump base 2024-04-30 22:22:44 +02:00
Benoit Pierre
6d5ad05e9f ci: bump docker images 2024-04-30 22:22:44 +02:00
hius07
8ff846ba6e
SortWidget: sort alphabetically (#11705) 2024-04-30 13:30:02 +03:00
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.
2024-04-29 20:57:16 +02:00
vyaus
f793c6a36c
Gesture: add jump to random page (#11727) 2024-04-28 17:03:58 +02:00
Frans de Jonge
34abb4e22b
Update translations for v2024.04 (#11726) 2024-04-27 23:19:13 +02:00
Galunid
ca14420372
Add relevant nil guards to prevent reflow crashes (#11715)
closes #10854 #9272 #4481
2024-04-27 23:16:13 +02:00
hius07
f5be04a738
Keyboard: detect tap if swipes are disabled (#11699)
Discussed in #11668.
2024-04-24 18:23:58 +02:00
mergen3107
caea0e8fb2
Kindle Scribe: improve gyro detection, replace accel with acc keyword (#11696)
Fixes #11691.
2024-04-20 22:30:04 +02:00
ElimGarak1
bfc84795c8
Add PocketBook Era Color (PB700K3) (#11695)
Fixes #11684.
2024-04-19 10:15:29 +02:00
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.
2024-04-18 13:24:08 +02:00
SomeGuy
c70c9f0905
Hide hidden flows and custom toc from non-touch devices (#11690) 2024-04-18 13:16:27 +02:00
mergen3107
d3011571a3
Kindle Scribe: find accelerometer based on hardware (#11642)
Closes #11392 (temporarily).
2024-04-18 09:33:11 +02:00
Max Ignatenko
b872191dc9
Stop touching night mode when control_nightmode == false (#11685)
This is a regression introduced in #10762
2024-04-17 19:23:12 +02:00
Benoit Pierre
715f5aa747 ci: cleanup CircleCI fetch phases 2024-04-16 18:58:45 +02:00
Benoit Pierre
8b8258b44a make: speedup fetchthirdparty
- shallow clone submodules configured as such
- on CI, shallow clone all submodules
- use 3 jobs
2024-04-16 18:58:45 +02:00
Benoit Pierre
f3dcc70d8d l10n: mark git submodule for shallow updates 2024-04-16 18:58:45 +02:00
Benoit Pierre
4a343d3669 ci: bump CircleCI docker images 2024-04-16 18:58:45 +02:00
Benoit Pierre
21c6e37f5e ci: remove CircleCI unnecessary steps
The docker images should already contain all the necessary tools.
2024-04-16 18:58:45 +02:00
Benoit Pierre
c345de5d71
ci: drop travis configuration (unused) (#11676) 2024-04-13 23:09:45 +02:00
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.
2024-04-11 22:07:09 +02:00
Frans de Jonge
f93cc6e916
[AppImage] AppImageTool 13 (#5275) (#11665)
https://github.com/AppImage/AppImageKit/releases/tag/13
2024-04-11 19:07:02 +02:00
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.
2024-04-11 19:06:41 +02:00
Benoit Pierre
0dbfac22b0
make: fix appimageupdate rule (#11662)
Update sdnio library soversion to account for new docker image based on Ubuntu 20.04.
2024-04-11 09:08:03 +02:00
Benoit Pierre
12552f1c71
doc: remove ragel from the build requirements (#11661)
Not necessary anymore.
2024-04-10 23:30:52 +02:00
Benoit Pierre
c503e9e848
make: fix test rule (#11659)
Use the same code as in base (Cf. https://github.com/koreader/koreader-base/pull/1756).
2024-04-10 22:48:47 +02:00
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
2024-04-10 22:39:59 +02:00
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
2024-04-09 22:19:36 +02:00
SomeGuy
fb86acaf1a
Sleep screen wording fixes (#11647) 2024-04-09 12:53:30 +02:00
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.
2024-04-09 10:17:26 +02:00
SomeGuy
279f16aa23
Sleep screen menu reworked (#11549) 2024-04-08 22:47:17 +02:00
Bastian Wagner
aaa56a814f
CreDocument: support added 'identifier' metadata (#11628)
Currently not exposed in Book information.
2024-04-08 04:17:41 +02:00