Commit Graph

10523 Commits

Author SHA1 Message Date
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.
v2024.07
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
hugleo
b7fc048bbe Bump android-luajit-launcher (#12084)
Long time no update. A lot of changes.
2024-06-24 21:12:51 +02:00
NiLuJe
732da3a5f4 Bump base (#12083)
https://github.com/koreader/koreader-base/pull/1828
https://github.com/koreader/koreader-base/pull/1830
https://github.com/koreader/koreader-base/pull/1831
https://github.com/koreader/koreader-base/pull/1833 (fix #12062)
https://github.com/koreader/koreader-base/pull/1832
https://github.com/koreader/koreader-base/pull/1835
https://github.com/koreader/koreader-base/pull/1834
https://github.com/koreader/koreader-base/pull/1837
https://github.com/koreader/koreader-base/pull/1838
2024-06-24 19:58:34 +02:00
David
799275d3a3 FileChooser: 0% > 'on hold' (#12037) 2024-06-24 10:19:25 +02:00
ziz57
34cd1f939f Version: fix outdated documentation of version number (#12074) 2024-06-22 23:43:29 +02:00
hius07
a1ae53c8e5 SkimTo dialog: compact mode (#12046) 2024-06-22 17:57:12 +03:00
jonnyl2
ad8e78cd09 Fix save screenshot dialog wasn't modal (#12067)
Screenshot dialog could not be interacted with in Text editor. Closes #12066.
2024-06-21 23:37:09 +02:00
hius07
527fd05d25 translator: fix settings menu order (#12051) 2024-06-21 20:15:03 +03:00
David
041ca074fb [NT] MenuWidget: add keyboard shortcuts for start/end (#12065) 2024-06-21 18:07:10 +02:00
jonnyl2
844d1393e7 Fix Arabic keyboard layout (ظ key) (#12063)
Closes #12005.
2024-06-21 14:53:18 +02:00
mergen3107
b5a822cf8b WebDav: Simplify path manipulations to fix wonky heuristics (#12038)
This prevents the current directory from appearing in the listing.
2024-06-20 19:46:03 +02:00
hius07
fa4654cdfa readerbookmark: fix date sort (#12053) 2024-06-19 22:15:43 +03:00
NiLuJe
9fd6c82b3b Kobo: Overengineer the manual CLOEXEC logic in the Wi-Fi scripts (#12045)
So it catches non-CLOEXEC sockets properly...

Fix #12043
2024-06-18 21:20:14 +02:00
zwim
8b88f5eb73 [ConfirmBox, MultiConfirmBox ...] remove margin around (#12039) 2024-06-18 07:02:30 +02:00
zwim
43c9ce4a9b [time] Fix typos in documentation 2024-06-17 16:03:48 +02:00
mergen3107
16fcc38a3a Update bug_report.md with new location of verbose logging toggle (#12042)
Closes #11276
2024-06-17 15:35:17 +02:00
hius07
fb88e8db28 Annotation list: sort by date (#12020) 2024-06-16 14:24:38 +03:00
mergen3107
a03195d524 Footer: add book authors item (#11999)
Closes #7642
2024-06-16 13:18:38 +02:00
poire-z
251da45adf bump crengine: update Russian and Serbian hyphenation (#12036)
Includes:
- Russian hyphenation: revert "allow hyphens after не" https://github.com/koreader/crengine/pull/568
- Serbian hyphenation: combine patterns for Cyrillic and Latin scripts https://github.com/koreader/crengine/pull/566
- writeNodeEx(): fix handling of multilines attribute values https://github.com/koreader/crengine/pull/569
  See https://github.com/koreader/koreader/issues/12004#issuecomment-2156748523.
- Add getBalancedHTML() helper

Also includes:
- kobo: add missing blitbuffer library https://github.com/koreader/koreader-base/pull/1823
2024-06-16 13:12:10 +02:00
weijiuqiao
e19bed3371 VocabBuilder: fix and improve non-touch device experience (#12030)
Fix #12026.
2024-06-16 13:10:37 +02:00
David
9bff98034f ReaderHighlight: minor bug fixes (#12033)
Fixes bug reported in https://github.com/koreader/koreader/pull/11916#issuecomment-2170605117 and an issue where back button would not close widget in file manager.
2024-06-16 10:38:02 +02:00
Benoit Pierre
088ae7d4ee lint: fix issues reported by newer shellcheck / shfmt 2024-06-15 23:02:52 +02:00
Benoit Pierre
c6f5db0f9e ci: fix shellchecks helper
Quote argument to `git ls-files`: ensure the glob is evaluated by git, not bash.
2024-06-15 23:02:52 +02:00
Benoit Pierre
21fd34a445 ci: improve check script
- don't stop at the first error, report all issues
- always run luacheck directly: so a luacheck install for
  another LUA version or using a shell script launcher
  works (the docker image wrapper already uses luajit)
- don't disable colors in luacheck output
- leave the terminal attributes to default at exit
2024-06-15 23:02:52 +02:00
Benoit Pierre
0eb4c2b077 ci: drop dead code 2024-06-15 23:02:52 +02:00
Benoit Pierre
b7fffc9fee ci: use base shellcheck helper 2024-06-15 23:02:52 +02:00
Benoit Pierre
56f2fd48cc bump base 2024-06-15 23:02:52 +02:00
hius07
ded709e3a1 InputContainer: consistent input type in onInput() (#12012) 2024-06-15 09:54:17 +03:00
NiLuJe
57c6fb6355 ScreenSaver: Consistently prefer the event message over the default
message

i.e., we do *NOT* want to see the default "Sleeping" message shown *in
conjunction* with the "reboot/poweroff" overlay messages.

Re: https://github.com/koreader/koreader/issues/12009#issuecomment-2167176139
2024-06-15 00:31:05 +02:00