2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
Commit Graph

10670 Commits

Author SHA1 Message Date
Benoit Pierre
7ef78e606e
make: install missing cr3.css… (#12262) 2024-08-01 14:11:28 +02:00
hius07
a24bb70066
Annotations: fix exporting (#12261) 2024-08-01 13:14:46 +03:00
hius07
e5fb836a81
ReaderFooter: improve (#12243) 2024-08-01 13:11:28 +03:00
Benoit Pierre
f9ee2449c7
make: handle old build data directory (#12259) 2024-08-01 09:06:39 +02:00
Benoit Pierre
dbebf3f996 make: tweak data install rules
Use a directory distinct from the one in base (so its entries survive
a `make base-re`), symlink the base data directory entries, and the
crengine data files directly from its checkout (since the base data
directory now only contains the bare minimum).
2024-07-31 08:45:48 +02:00
Benoit Pierre
47a2d3900f make: fix testfront rule
Same behavior as for base: build and install test data before running.
2024-07-31 08:45:48 +02:00
Benoit Pierre
1add3b5772 make: directly include base main makefile 2024-07-31 08:45:48 +02:00
Benoit Pierre
4855a8695d make: minor cleanups 2024-07-31 08:45:48 +02:00
Benoit Pierre
14f105707d make: always symlink, even for release builds (faster) 2024-07-31 08:45:48 +02:00
Benoit Pierre
d83647d76e make: simplify symlink installs
Since we mandate coreutils on macOS too, we can simplify calls to `ln`.
2024-07-31 08:45:48 +02:00
Benoit Pierre
d9e4376e35 make: avoid duplicate fetchthirdparty
When using `make fetchthirdparty` and base has not been checkout yet:
- make want to include `Makefile.defs` which is missing
- the rule for `Makefile.defs` / `fetchthirdparty` are executed
- make reload the main makefile, and execute `fetchthirdparty`
2024-07-31 08:45:48 +02:00
Benoit Pierre
040e033edb make: move android variables where they belong 2024-07-31 08:45:48 +02:00
NiLuJe
5c77774ca9
NetworkMgr: Attempt to handle wpa_supplicant rescans better (#12236)
Namely, in the face of wpa_supplicant doing multiple scans. Note that a backend PR will make this largely redundant, by actually fixing the core issue in our backend ;).

Also add more logging around the authentication status.
2024-07-30 11:44:45 +02:00
Benoit Pierre
45d1a14aed
bump base (#12241)
Preliminary bump before #1242:
- https://github.com/koreader/koreader-base/pull/1867
- https://github.com/koreader/koreader-base/pull/1868
- https://github.com/koreader/koreader-base/pull/1870
2024-07-30 08:36:44 +02:00
Benoit Pierre
18439e7578
doc: explicitly mention perl dependency (#12240)
It usually gets pulled when installing git.
2024-07-30 08:36:08 +02:00
hius07
3919deef05
readerannotation: fix doesMatch func (#12231) 2024-07-29 17:39:44 +03:00
Benoit Pierre
817afe8ed7
ci/macos: pin XCode version (#12229)
Avoid breakage on runner image update, like the recent update
to XCode 15.4 on arm64 which breaks our (ancient) glib build.
2024-07-28 18:31:59 +02:00
NiLuJe
d59c837714
Kobo: Refactor various aspects of the Kaleido/MTK support (#12221)
* UIManager: Let the fb backend deal with Kaleido wfm promotion. This fixes a number of quirks that poisoned the refresh queue with spurious full-screen refreshes. See https://github.com/koreader/koreader-base/pull/1865 for more details.
* This also means we now disable Kaleido waveform modes when color rendering is disabled (remember to trash your thumbnail cache if you don't want to mix color w/ grayscale thumbnails, though).
* UIManager: Merge refreshes that share an edge, because that was driving me nuts (and would have most likely been merged by the kernel anyway). A perfect test-case is the FM, which trips two separate refreshes because of its title bar.
* ReaderFlipping: Use sensible dimensions, so that we only refresh the icon's region.
* ReaderBookmark: Only refresh the dogear instead of the whole page when toggling bookmarks.
* NetworkSetting: Make it a real boy, so it consistently refreshes properly on dismiss instead of relying on UIManager saving the day.
* Kobo: Aggressively prevent *both* suspend & standby while MTK devices are plugged-in, as both will horribly implode the kernel (we previously only prevent standby while charging).
* Kobo: Switch to 8bpp on B&W MTK devices (or when color rendering is disabled on Kaleido panels).
2024-07-28 01:19:40 +02:00
NiLuJe
761cf18222
SDL: Return true in NetworkMgr:isConnected on !hasWifiToggle platforms, (#12217)
so as not to break the beforeWifiction shenanigans...

Which is most of them, only the Emulator subclass sets it, for...
reasons.

(That Emulator quirk is also why we can't simply scrap the whole thing
to use NetworkMgr's default imps).

Fix #12203 (thanks to @benoit-pierre for spotting that one).

This was clearly an oversight on my part when working on #10669
2024-07-26 02:12:53 +02:00
hius07
477d6865f1
toggleswitch: fix long-press (#12215) 2024-07-24 18:36:21 +03:00
hius07
8cb221c6c6
Annotations: pageno honors reference pages and hidden flows (#12214) 2024-07-24 18:35:48 +03:00
hius07
b17bd967da
Page turns: invert vertical tap zones (#12195) 2024-07-24 18:34:23 +03:00
Trash Panda
5affb68233
AltStatusBar: add option to show Author (#12197) 2024-07-21 20:11:46 +02:00
poire-z
1dd3704200
bump crengine: various fixes and optimizations (#12200)
Includes:
- xml parser: simplifications and optimizations
- lvstring: optimize Utf8ToUnicode
- lvstream: add helper to read the whole stream
- lvfntman: use new `LVStream::GetData` helper
- EPUB: minor simplification
- EPUB: fix possible buffer overflows
- EPUB: improve support for obfuscated fonts
- lvfntman: add error traces for some freetype calls
- LVDocView header: allow displaying author and book title separately
- LVFontDef::CalcMatch(): bump weight of typeface match
- Font: fix measureText() when max_width met with fallback font
- TextLang: Russian: loosen curly quotes handling
- base: cre.cpp: isLinkToFootnote: say no if target has empty content
- base: fix MacOS build
2024-07-21 20:09:02 +02:00
NiLuJe
ad1286fbcc Bump platform/android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/493
https://github.com/koreader/android-luajit-launcher/pull/496
https://github.com/koreader/android-luajit-launcher/pull/497
https://github.com/koreader/android-luajit-launcher/pull/498
2024-07-20 21:17:07 +02:00
NiLuJe
ef1b27ab70 Bump base
https://github.com/koreader/koreader-base/pull/1856
https://github.com/koreader/koreader-base/pull/1855 (fix #12178 & fix #12128)
2024-07-20 21:17:07 +02:00
poire-z
caaf789052
CRE call cache: don't wrap setViewMode (#12194)
Avoid highlights' xpointers to be recomputed when
switching between page and scroll mode, which could
make using "Auto-scroll when selection reaches a corner"
really slow when having a large number of highlights.

Closes #12156.
2024-07-20 21:16:32 +02:00
Martín Fernández
e38320038b
bump translations (#12193) 2024-07-20 19:18:52 +02:00
Benoit Pierre
8dad62aa1b
ci/macos: fix fallback cache key (#12188)
No wonder the macOS builds take so long…
2024-07-20 08:01:05 +02:00
zwim
df48d51eca
AltStatusBar/Footer: add the read timer value (#12002)
Closes #11950
2024-07-19 22:55:31 +02:00
Benoit Pierre
ce8e27a67c doc: update macOS building instructions 2024-07-19 22:43:42 +02:00
Benoit Pierre
dba1fa886b ci/macos: add build timings 2024-07-19 22:43:42 +02:00
Benoit Pierre
e16bdc5dd4 ci/macos: update build dependency
- drop unneeded: gettext, gnu-getopt, grep, wget
- add new one for updated build system: findutils & util-linux
2024-07-19 22:43:42 +02:00
Benoit Pierre
2d438c98a3 ci/macos: move dependencies install at the start of the build
We need a more recent make anyway (or the newly added version check won't be happy).
2024-07-19 22:43:42 +02:00
Benoit Pierre
9162a8d69c ci/macos: drop Python setup
We don't need it (not yet, since we don't use meson).
2024-07-19 22:43:42 +02:00
Benoit Pierre
b7c7a41702 bump base: updated build system 2024-07-19 22:43:42 +02:00
Benoit Pierre
97735ce496 ReaderThumbnail: clear cache on rendering mode change 2024-07-19 21:32:20 +02:00
Benoit Pierre
8ced47921a PageBrowser: factorize and fix thumbnail preloading code
Fix incorrect page range check: `p >= 1 or p < self.nb_pages`
should be `p >= 1 and p <= self.nb_pages`.
2024-07-19 21:32:20 +02:00
Benoit Pierre
99d45d7584 djvu: honor render mode when reflowing 2024-07-19 21:32:20 +02:00
Benoit Pierre
0c17941ffb kopt: color support
Keep colors when reflowing documents.
2024-07-19 21:32:20 +02:00
Benoit Pierre
cb002f3d1f kopt: fix bad KoptInterface:renderPage call
Fix `render_mode` argument: add missing `gamma` argument.
2024-07-19 21:32:20 +02:00
Benoit Pierre
a2343c8957 bump base 2024-07-19 21:32:20 +02:00
Benoit Pierre
36154f4747
tests/opds: fix no longer valid feedbooks.com URLs (#12185) 2024-07-19 18:58:32 +02:00
hius07
7e3b9deb25
Annotations: more fixes (#12181) 2024-07-19 16:52:16 +03:00
hius07
5342b8cc2a
Text editor: enhancement (#12176) 2024-07-18 18:07:24 +03:00
David
78f69fd580
Add 'Use left and right keys for page turning' option (#12174) 2024-07-18 08:33:23 +02:00
Benoit Pierre
7b9c65ee1e
ci/circle: bump docker image (#12166) 2024-07-15 19:53:09 +02:00
poire-z
7ebd067a95
Footnote popup: fix XHTML handling (#12158)
Latest MuPDF update changed HTML parsing, and use a better
HTML5 parser, which may cause some issues with the XHTML
we get from crengine.
So, for footnote popups, be sure we use MuPDF's XHTML parser.
2024-07-12 13:34:47 +02:00
Frans de Jonge
75d3e4c2dc
[minor] Fix lowercase typo in "Google Translate" (#12157) 2024-07-11 22:53:23 +02:00
Martín Fernández
bbe4ce466b
bump android-luajit-launcher (#12147)
* prune old assets before uncompressing new ones.
* move Poke5 to OnyxAdb driver
2024-07-07 23:03:46 +02:00