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

10651 Commits

Author SHA1 Message Date
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
Martín Fernández
e299018286
bump base (#12140) 2024-07-06 15:10:15 +02:00
hius07
a7d493d966
ReaderView: speedup highlights drawing (#12134) 2024-07-06 15:24:01 +03:00
hius07
4d50787637
Dispatcher: prettify action list (#12133) 2024-07-06 15:23:27 +03:00
Martín Fernández
4f75e41636
exporter: fix remaining OOM (#12126) 2024-07-03 21:55:42 +02:00
hius07
6d73442ecd
Reader: always exit to book folder (#12129) 2024-06-30 14:29:22 +03:00
poire-z
7ef3e475cb
CRE call cache: don't reset on setPageInfoOverride (#12123)
Fix slowness when top status bar enabled on books
with a large number of highlights.
2024-06-29 17:15:45 +02:00
Martín Fernández
0faccff9bc
Fix for OTA updates w/ zsync (#12120)
Fixes #12115
2024-06-29 08:06:46 +02:00
Martín Fernández
388a27336d
android: import files if path cannot be guessed (#12121)
closes #9787
2024-06-29 07:57:45 +02:00
David
2c9bb33f66
InputText, DictQuickLookup: add keyboard shortcut for prev/next dict, toggle virtual keyboard, comma on shift+. (#12078) 2024-06-28 15:44:18 +02:00
Arpan Ghosh
e88bfbed97
[plugin] Exporter: include book author name in myclippings export format (#12106) 2024-06-28 14:19:08 +02:00
hius07
add783156d
ReaderBookmark: fix sort by date 2 (#12112) 2024-06-28 13:27:15 +03:00
Mochitto
138e26a4fc
[plugin] Exporter: solved my_clippings OOM (#12107)
Closes #10745.
2024-06-28 12:03:54 +02:00
hius07
33ae788575
configdialog: fix toggle (#12104) 2024-06-27 12:43:57 +03:00
hius07
0ae84642e2
configdialog: keep original options intact (#12093) 2024-06-26 15:22:23 +03:00
Nikola Kotur
48c41fccee
doc: add Arch Linux building instructions (#12090) 2024-06-26 12:03:25 +02:00
hius07
41191513c9
Filemanager: fix OpenWith without config (#12095)
Closes #12094.
2024-06-26 09:05:45 +02:00
Martín Fernández
617618d587
Add Device:otaModel() (#12014)
Devices with a single target might want to specify it in `Device.ota_model`
Devices with multiple targets want to override the function or to specify `ota_model` variants for each target.
2024-06-25 21:35:38 +02:00
Benoit Pierre
e26fdc7f14
bump base (#12089)
Contains:
- https://github.com/koreader/koreader-base/pull/1839
- https://github.com/koreader/koreader-base/pull/1840
2024-06-25 21:31:04 +02:00
Marek Veselý
4c4cfa2db0
Kindle: add wifi selector (#12056)
* Kindle: Implement a NetworkMgr backend loosely based on WpaClient in order to allow feature-parity with hasWifiManager platforms. This involves dealing with the native wifid over lipc (the native IPC system, based on DBus), through custom Lua bindings (https://github.com/notmarek/openlipclua), since the stock ones lack support for the needed hasharray data type.
* NetworkMgr: Clear up leftover hallucinations from #10669, making `enableWifi` much simpler (and much more similar to `turnOnWifiAndWaitForConnection`).
* NetworkMgr: Made it clearer that `turnOnWifi` implementations *must* deal with `complete_callback`, as part of the aforementioned changes mean that it's *always* wrapped in a connectivity check, and we need that for proper event signaling.
* Android, Emu: Run `complete_callback` properly in `turnOnWifi`.
* Kindle: Support `powerd:isCharged()` on the PW2 (yes, this is random, it just happened to be my test device :D).
* NetworkMgr:disableWifi: Properly tear down any potential ongoing connection attempt (e.g., connectivity check).
* NetworkMgr:promptWifi: Make the "wifi enabled but not connected" popup clearer if there's an ongoing connection attempt, and gray out the "Connect" button in this case (as it would only lead to another "connection already in progress" popup anyway).
* NetworkMgr:reconnectOrShowNetworkMenu: Make *total* scanning failures fatal (they will lead to an immediate wifi teardown).
* NetworkMgr:reconnectOrShowNetworkMenu: Clear up the long-press behavior (which *always* shows the network list popup) so that it doesn't weirdly break all the things (technical term!).
* NetworkMgr:reconnectOrShowNetworkMenu: When we manage to connect to a preferred network on our own *before* showing the network list, make sure it is flagged as "connected" in said list.
* NetworkMgr:reconnectOrShowNetworkMenu: Make connection failures fatal in non-interactive workflows (they'll lead to a wifi teardown).
* NetworkSetting (the aforementioned network list widget): Clear NetworkMgr's "connection pending" flag on dismiss when nothing else will (i.e., when there's no connectivity check ticking).
2024-06-25 21:17:36 +02:00