Commit Graph

10625 Commits (49a991e82fccbbddb92354eb79631fd7ade7666e)
 

Author SHA1 Message Date
Benoit Pierre 3567a59bcb ci/macos: update binaries dump & check 2 months ago
Benoit Pierre 673f15f3ce ci/macos: install meson 2 months ago
NiLuJe b0f6a0e039 Bump base
https://github.com/koreader/koreader-base/pull/1861
https://github.com/koreader/koreader-base/pull/1864
https://github.com/koreader/koreader-base/pull/1869
https://github.com/koreader/koreader-base/pull/1866
https://github.com/koreader/koreader-base/pull/1877
https://github.com/koreader/koreader-base/pull/1876
https://github.com/koreader/koreader-base/pull/1875
https://github.com/koreader/koreader-base/pull/1874
https://github.com/koreader/koreader-base/pull/1878
https://github.com/koreader/koreader-base/pull/1871
https://github.com/koreader/koreader-base/pull/1879 (Make Wi-Fi scanning reliable, re: #12236)
https://github.com/koreader/koreader-base/pull/1880
https://github.com/koreader/koreader-base/pull/1872
https://github.com/koreader/koreader-base/pull/1882
https://github.com/koreader/koreader-base/pull/1884
https://github.com/koreader/koreader-base/pull/1883
2 months ago
NiLuJe 9b9898d466
Kobo: Track frontlight state more accurately on suspend/resume (#12256)
Hopefully in the least intrusive way possible, because frontlight handling code is hell.

`self.fl_was_on` could go out of sync with the expected state when resume->suspend events happened in very quick succession, leading to it being set to false, preventing the frontlight from being turned back on on the next resume.

Fix #12246
2 months ago
Frans de Jonge 764a482f8c
[fix] NetworkMgr: apply HTTP proxy setting on startup (#12260)
Fixes #12244.
2 months ago
Benoit Pierre 7ef78e606e
make: install missing `cr3.css`… (#12262) 2 months ago
hius07 a24bb70066
Annotations: fix exporting (#12261) 2 months ago
hius07 e5fb836a81
ReaderFooter: improve (#12243) 2 months ago
Benoit Pierre f9ee2449c7
make: handle old build data directory (#12259) 2 months ago
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).
2 months ago
Benoit Pierre 47a2d3900f make: fix `testfront` rule
Same behavior as for base: build and install test data before running.
2 months ago
Benoit Pierre 1add3b5772 make: directly include base main makefile 2 months ago
Benoit Pierre 4855a8695d make: minor cleanups 2 months ago
Benoit Pierre 14f105707d make: always symlink, even for release builds (faster) 2 months ago
Benoit Pierre d83647d76e make: simplify symlink installs
Since we mandate coreutils on macOS too, we can simplify calls to `ln`.
2 months ago
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`
2 months ago
Benoit Pierre 040e033edb make: move android variables where they belong 2 months ago
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.
2 months ago
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
2 months ago
Benoit Pierre 18439e7578
doc: explicitly mention perl dependency (#12240)
It usually gets pulled when installing git.
2 months ago
hius07 3919deef05
readerannotation: fix doesMatch func (#12231) 2 months ago
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.
2 months ago
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).
2 months ago
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
2 months ago
hius07 477d6865f1
toggleswitch: fix long-press (#12215) 2 months ago
hius07 8cb221c6c6
Annotations: pageno honors reference pages and hidden flows (#12214) 2 months ago
hius07 b17bd967da
Page turns: invert vertical tap zones (#12195) 2 months ago
Trash Panda 5affb68233
AltStatusBar: add option to show Author (#12197) 2 months ago
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
2 months ago
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
2 months ago
NiLuJe ef1b27ab70 Bump base
https://github.com/koreader/koreader-base/pull/1856
https://github.com/koreader/koreader-base/pull/1855 (fix #12178 & fix #12128)
2 months ago
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.
2 months ago
Martín Fernández e38320038b
bump translations (#12193) 2 months ago
Benoit Pierre 8dad62aa1b
ci/macos: fix fallback cache key (#12188)
No wonder the macOS builds take so long…
2 months ago
zwim df48d51eca
AltStatusBar/Footer: add the read timer value (#12002)
Closes #11950
2 months ago
Benoit Pierre ce8e27a67c doc: update macOS building instructions 2 months ago
Benoit Pierre dba1fa886b ci/macos: add build timings 2 months ago
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
2 months ago
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).
2 months ago
Benoit Pierre 9162a8d69c ci/macos: drop Python setup
We don't need it (not yet, since we don't use meson).
2 months ago
Benoit Pierre b7c7a41702 bump base: updated build system 2 months ago
Benoit Pierre 97735ce496 ReaderThumbnail: clear cache on rendering mode change 2 months ago
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`.
2 months ago
Benoit Pierre 99d45d7584 djvu: honor render mode when reflowing 2 months ago
Benoit Pierre 0c17941ffb kopt: color support
Keep colors when reflowing documents.
2 months ago
Benoit Pierre cb002f3d1f kopt: fix bad `KoptInterface:renderPage` call
Fix `render_mode` argument: add missing `gamma` argument.
2 months ago
Benoit Pierre a2343c8957 bump base 2 months ago
Benoit Pierre 36154f4747
tests/opds: fix no longer valid feedbooks.com URLs (#12185) 2 months ago
hius07 7e3b9deb25
Annotations: more fixes (#12181) 2 months ago
hius07 5342b8cc2a
Text editor: enhancement (#12176) 2 months ago