Commit Graph

9871 Commits (17bdd56e02b142944e2bf6d8e0f1fb939f268497)
 

Author SHA1 Message Date
NiLuJe 17bdd56e02 Never export LD_LIBRARY_PATH
It's been made redundant by the RPATH changes

The only platform that gets the dubious honor of actually needing an
LD_LIBRARY_PATH is PocketBook, because of InkView.

Co-authored-by: Benoit Pierre <benoit.pierre@gmail.com>

Bump base to pull in the aforementioned RPATH changes ;).

https://github.com/koreader/koreader-base/pull/1638
10 months ago
poire-z 8a240dd635
bump LunaSVG, crengine: add support for .docm (#10702)
Includes:
- bump LunaSVG: intermediate upstream bump, cleanup
- bump LunaSVG: minor upstream tweaks
crengine:
- DocX: add support for similar DocM format
- LVStyleSheet: fix LVCssDeclaration::getHash()
- CSS parsing: accept Unicode values for ID and classnames
- update for Harfbuzz 8, fix some compiler warning
Also fix input not restored when loading failed,
and KOReader not able to exit.
10 months ago
NiLuJe dacc3c2f72
NetworkManager: Bypass isOnline on !hasWifiToggle platforms (#10697)
Followup to #10669, fix #10694
10 months ago
Frans de Jonge 3bec20fc25
NetworkManager: improve clarity for chatty framework user-facing explanation (#10696)
See https://github.com/koreader/koreader/pull/10669/files#r1263385527
10 months ago
hius07 3e43a21cf2
ArchiveViewer: view files (#10683) 10 months ago
NiLuJe 890dc81081 Bump base for webp rpath fixes
https://github.com/koreader/koreader-base/pull/1637
10 months ago
NiLuJe f61dc0cdb5 macOS: We ship our own webp, don't pull brew's
c.f., https://github.com/koreader/koreader/pull/10687#issuecomment-1633450159
10 months ago
NiLuJe 9e1197c489
LuaJIT update (#10689)
* Bump base (https://github.com/koreader/koreader-base/pull/1636)
* Bump android/luajit-launcher (https://github.com/koreader/android-luajit-launcher/pull/424)
10 months ago
Glen Sawyer 73c4f09a88
FileChooser: re-add file sort by "last date read" (#10682)
Revert bits from eb299c30.
10 months ago
poire-z d0e705a582
Font list menu: allow sorting by more recently set (#10662)
- Add a toggle in Font settings> allowing showing font
  ordered by most recently selected (long-press on
  it allows clearing this history).
- Keep in G_reader_settings a list of known fonts, so
  we can notice newly added user fonts, and put them
  at the start of the most recently selected. Show
  these new fonts with a symbol in the menu.
- TouchMenu: allows for a flag to trigger menu
  refresh when going up.
10 months ago
Frans de Jonge c72b3dbae4
Bump base: update to HarfBuzz 8.0.1 (#10688)
https://github.com/koreader/koreader-base/pull/1635
10 months ago
NiLuJe 42235266e0
Ship all libwebp depencencies — Unbreak all the things ;o) (#10687)
https://github.com/koreader/koreader-base/pull/1634
10 months ago
Christian Kilb 6d7dccda13
[PocketBook]Add support for InkPad Color 2 (#10685)
Co-authored-by: Christian Kilb <christian.kilb@gmail.com>
10 months ago
hius07 e1ed3a71c5
Style tweaks: notification on toggling style tweak with a gesture (#10674) 10 months ago
NiLuJe d0899f24e3 Bump android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/422

https://github.com/koreader/android-luajit-launcher/pull/423
10 months ago
NiLuJe eb4a82a48b Bump base
https://github.com/koreader/koreader-base/pull/1631

https://github.com/koreader/koreader-base/pull/1633
10 months ago
NiLuJe d57325aaf6
NetworkManager: Enable "before wifi" action support on every hasWifiToggle platform (#10669)
* Enable before_wifi_action & after_wifi_action on hasWifiToggle platforms (which is basically all of 'em except naked SDL).
* Decouple restoreWifiAsync from hasWifiManger, because we can do that on other platforms (namely, Kindle. Probably PB, too, but WiFi is already a mess there, and I can't test it).
* Implement restoreWifiAsync on Kindle.
* Properly flag rM as hasWifiManager & hasFastWifiStatusQuery, because it is actually both of those (it uses our wpa_supplicant backend).
* Update the KOSync checks to take these changes into account, to properly disable auto_sync if necessary.
* Really made the Network* event signaling consistent. For realz this time.
* In an effort to make the whole beforeWifiAction framework somewhat usable there, we now assume connectivity is always available on !hasWifiToggle platforms...
10 months ago
Benoit Pierre 41a07a2a66
crengine: fix clang release build (#10680)
https://github.com/koreader/crengine/pull/522
10 months ago
Benoit Pierre 20bd7f9a6d
Bump base (#10677)
* https://github.com/koreader/koreader-base/pull/1617
10 months ago
hius07 b1c90260e4
DropBox: unify error messages (#10666) 10 months ago
hius07 b33971b92d
OPDS fixes (#10657) 10 months ago
Benoit Pierre d849d0e657
Bump base (#10673)
* https://github.com/koreader/koreader-base/pull/1624
* https://github.com/koreader/koreader-base/pull/1630
10 months ago
Benoit Pierre 3ac8a67c6d android: update to use NDK 23c 10 months ago
Benoit Pierre ded5558b88 android: speed up development cycle
Don't recreate `assets.7z` from scratch every time, and also
ensure it's reproducible to avoid busting gradle's cache.
10 months ago
Benoit Pierre 7e98241b7e kodev: add `dlopen` traces to android logcat 10 months ago
NiLuJe 4194244951
GestureDetector: Make two_finger pans & swipes report the same sort of data than their standard brethren (#10649)
Namely, that swipes report the gesture's *starting* coordinates as `pos` (for hit-detection purposes), while pans (and basically everything else) use the *lift* coordinates (as well as provide a relative vector).

In each case, we now also provide a separate `start_pos`/`end_pos`, in case handlers need finer-grained data (e.g., anchoring UI elements to a swipe's lift coordinates).
11 months ago
Frans de Jonge b4000d84a5
Update translations for v2023.06.1 (#10665) 11 months ago
hius07 86f4b3c18d
QuickMenu: anchor to gesture position 3 (#10646) 11 months ago
ElimGarak1 4b475bee04
Recognize PocketBook InkPad 4 with new firmware (PB743G)/(PB743g) (#10655)
Extended addition of PocketBook InkPad 4 with firmware later U743g.6.8.885 (PB743G) because its device ID was corrected from PB743g to PB743G by firmware U743g.6.8.1719.
11 months ago
Frans de Jonge 2b18a7e90f
[i18n]KOSync: use already translated "Not available" instead of "Unavailable" (#10648)
Cf. https://github.com/koreader/koreader/pull/10605#discussion_r1252639047
11 months ago
Martín Fernández 5336e2f11d
[ota]: deprecation check & notice (#10639) 11 months ago
Benoit Pierre 346d8eb83e
Decrease fonts memory use (#10618)
Instead of opening the same font multiple times for each different
size (multiple face instances), share one face instance and create
multiple size instances.
11 months ago
Alistair Francis fc89b1affa
Remarkable: support the mainline touchscreen (#10585) 11 months ago
poire-z a4720b44cd Text search: various Kopt search fixes
- Properly parse input text for words (the previous
  code wasn't working with Greek letters)
- With multiple words search, don't allow "substring
  matching" for words in the middle
- Remove support for Lua pattens, so to get proper
  substring matching (as we have with cre text search)
11 months ago
poire-z dffc2404ca Text search: normalize input text
So that Unicode NFC normalization can combine diacritics
entered via our keyboard with their base into their
canonical form (we can expect books text to be normalized).
11 months ago
hius07 6decb71521
ReaderPaging: do not store zeroes in page_positions (#10602)
Page_position value depends on the view mode parameters, but we can assume that zero is a frequent case.
11 months ago
Benoit Pierre f661726fef tests: fix listing tests with `busted --list` 11 months ago
Benoit Pierre fdd645af73 tests: minor cleanup 11 months ago
yparitcher 27f7f1d5a9 QuickMenu: anchor to gesture position
Fixes: #10631
11 months ago
Benoit Pierre 4b9de16c51
bump base: libk2pdfopt, fix ffi cdecls, improved ccache (#10638)
- https://github.com/koreader/koreader-base/pull/1619
- https://github.com/koreader/koreader-base/pull/1623
- https://github.com/koreader/koreader-base/pull/1628
11 months ago
hius07 dee1c902ec
ReaderUI: minor optimization (#10634) 11 months ago
hius07 eb299c300d
FileChooser: Sort by date (#10627) 11 months ago
hius07 adfbbd9903
Disabled touch input: always active gestures (#10624) 11 months ago
NiLuJe 08dd97384c
KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605)
Fix: #10539, and for context #6489, #6733, #6534

Reorganize and reword most of the settings to make it clear what actually ties into auto sync, and what doesn't. (Specifically, what happens when a pull attempts to sync forward or backward has nothing to do with auto sync, it applies in all cases; while the periodic sync *does* require auto sync).

The main point of contention, though, is that auto sync will now *always* attempt to setup network connectivity (i.e., on resume/suspend/close). Periodic sync will *not* though (the intent being that, if you use periodic sync, you're relying on the activity check to actually keep wifi on at all times)).

Since this may lead to a large amount of nagging about wifi toggles on devices w/ NetworkManager support, it is now *disabled* by default on those devices. (And given that it wouldn't have worked because of the lack of connectivity, that doesn't really make any practical difference ;p).

Additionally, given the fact that there's no way to make this behavior viable if the "before wifi" action is left at its default of "prompt", this feature now *requires* that to be set to "turn_on" (on devices where it can, of course); attempting to toggle it on will warn about that if necessary.
This change is retroactive (OTM).

Includes an assortment of fixes and cleanups, including migrating to the new LuaSettings API, which is why there's no longer a smattering of superfluous flushes.
11 months ago
NiLuJe 7fddb1dedf Bump android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/417
https://github.com/koreader/android-luajit-launcher/pull/420
11 months ago
NiLuJe 05bbbafefd Bump base
https://github.com/koreader/koreader-base/pull/1622
11 months ago
NiLuJe 752f23c85e
Input: Be more through in resetState (#10612)
Drop the actual slot data storage, in addition to the active references
11 months ago
Frans de Jonge b24059b2cb
Update translations for v2023.06 (#10626) 11 months ago
kosmoski 72c1905110
Add 'Content-Length' header to WebDAV upload request (#10567)
Co-authored-by: wojtek <wojtek@pop-os.localdomain>
11 months ago
hius07 5db765e4e5
correct parsing unzip output (#10625) 11 months ago