Commit Graph

10844 Commits

Author SHA1 Message Date
Benoit Pierre
ea5d424868 tests: use new runner 2024-11-25 22:55:57 +01:00
Benoit Pierre
8c839d9ead tests: improve frontend testsuite isolation 2024-11-25 22:55:57 +01:00
Benoit Pierre
8005275388 tests: improve PDF benchmarks
Factorize and use a proper separate test for each benchmark.

Note: only open the 9 fist pages (reduce memory so benchmarks
can be run on more limited memory devices, like the Kindle).
2024-11-25 22:55:57 +01:00
Benoit Pierre
76837c66a7 datastorage: add support for isolating data
Use the `KO_HOME` environment variable if set to determine the data directory location.
2024-11-25 22:55:57 +01:00
Lostish
f5c6b56899 Screensaver: add dynamic battery symbol to sleep screen message (#12548)
- %B was added to frontend/ui/screensaver.lua to reference the battery symbol
  generated by powerd
- The default English screensaver help message was updated informing users
  of the addition
2024-11-25 20:58:56 +01:00
Benoit Pierre
921dde0b31 bump base (#12796)
- https://github.com/koreader/koreader-base/pull/1985
- https://github.com/koreader/koreader-base/pull/1986
- https://github.com/koreader/koreader-base/pull/1987 (close #12778)
- https://github.com/koreader/koreader-base/pull/1988
2024-11-24 23:01:38 +01:00
Brendan LeFebvre
798a64998f webdav: show folders with same name as current folder (#12788)
Closes #12783
2024-11-24 08:59:12 +01:00
Benoit Pierre
980b50b370 ci/macos: reduce workflow file differences with base version 2024-11-23 20:56:22 +01:00
Benoit Pierre
eaea029f50 ci/macos: bump ccache version to 4.10.2 2024-11-23 20:56:22 +01:00
Benoit Pierre
83d14ad77f ci/macos: enable tests 2024-11-23 20:56:22 +01:00
Benoit Pierre
c04023f1d1 make: factorize code for generating release updates (#12655)
Instead of splitting remove / exclusion of unwanted files in 2-3 places
(`all` rule, `update` rule, and update script in some cases), install
the same files in debug & release builds, and exclude unwanted stuff
when generating the update.

This should finally fix the CI issue with OCR tests (since we don't
remove the `data/dict` & `data/tessdata` directories on release build
anymore).
2024-11-23 20:48:37 +01:00
David
de7c5920b8 [screensaver menu] remove gesture based option from NT devices (#12747) 2024-11-23 20:41:56 +01:00
mergen3107
e95541ffd3 [Kindle NT] fix terminal and timesync (#12765)
Closes #12760
Credits go to @benoit-pierre (Thank you!)
2024-11-23 19:30:48 +01:00
Wim de With
d1d5e949a0 Decode wpa_supplicant SSID when already connected (#12782)
Overlooked in #11089.
2024-11-23 19:29:51 +01:00
Benoit Pierre
64dabfa605 tests: speedup persist huge tables test (#12786)
For example on my machine:

| test duration (ms) |  master  |             PR |
| :-                 | -:       | -:             |
| regular run        |   859.82 |  104.38 (÷8.2) |
| coverage run       | 40735.60 | 4151.34 (÷9.8) |
2024-11-23 19:28:57 +01:00
Benoit Pierre
fbde771306 tests: speedup readhistory reduce test (#12785)
For example on my machine:

| test duration (ms) |  master  |             PR |
| :-                 | -:       | -:             |
| regular run        |  2645.94 | 106.83 (÷24.8) |
| coverage run       | 26133.27 | 641.59 (÷40.7) |
2024-11-23 17:54:46 +01:00
hius07
47feaaa1df Highlights: page boxes cache (#12768) 2024-11-23 14:05:05 +02:00
Benoit Pierre
c124425ac3 bump base (#12780)
- https://github.com/koreader/koreader-base/pull/1983
- https://github.com/koreader/koreader-base/pull/1984
2024-11-22 19:26:02 +01:00
Benoit Pierre
06a3b13636 android: bump luajit-launcher to fix incorrect eink driver for a number of tolino devices (#12779)
- https://github.com/koreader/android-luajit-launcher/pull/530 (close #12769)
2024-11-22 17:50:02 +01:00
Benoit Pierre
346512d80c bump base (#12773)
- https://github.com/koreader/koreader-base/pull/1956
- https://github.com/koreader/koreader-base/pull/1981
- https://github.com/koreader/koreader-base/pull/1982
2024-11-21 20:35:19 +01:00
mergen3107
61ffe2abed Disable irrelevant plugins on devices with no frontlight (#12766)
Closes #12764
2024-11-21 19:31:43 +01:00
Benoit Pierre
0e2dadf6e0 bump base (#12761)
- https://github.com/koreader/koreader-base/pull/1975
- https://github.com/koreader/koreader-base/pull/1977
- https://github.com/koreader/koreader-base/pull/1979
- https://github.com/koreader/koreader-base/pull/1980
2024-11-21 11:37:34 +01:00
Benoit Pierre
765f1e92cb doc: minor tweak to building requirements (#12762)
Ninja is not optional.
2024-11-21 10:43:10 +01:00
Benoit Pierre
0debdf0216 ci/macos: fix possible issue during brew install (#12767)
```
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /opt/homebrew
Could not symlink bin/pkg-config
Target /opt/homebrew/bin/pkg-config
is a symlink belonging to pkg-config@0.29.2. You can unlink it:
  brew unlink pkg-config@0.29.2

To force the link and overwrite all conflicting files:
  brew link --overwrite pkgconf

To list all files that would be deleted:
  brew link --overwrite pkgconf --dry-run

Possible conflicting files are:
/opt/homebrew/bin/pkg-config -> /opt/homebrew/Cellar/pkg-config@0.29.2/0.29.2_3/bin/pkg-config
/opt/homebrew/share/aclocal/pkg.m4 -> /opt/homebrew/Cellar/pkg-config@0.29.2/0.29.2_3/share/aclocal/pkg.m4
/opt/homebrew/share/man/man1/pkg-config.1 -> /opt/homebrew/Cellar/pkg-config@0.29.2/0.29.2_3/share/man/man1/pkg-config.1
```

This only happen with AMD64 runners, and when using the latest runner images
(e.g. when the luck of the draw yields 14.7.1 23H222 and not 14.7 23H124).
2024-11-21 08:47:31 +01:00
hius07
93f2fa6702 Highlight: line height (#12721) 2024-11-21 07:54:23 +02:00
hius07
24d8baf3ec Notebook file (#12699) 2024-11-21 07:53:22 +02:00
David
9aa327a9de Add faster option to export text selections via QR codes (#12746)
Closes https://github.com/koreader/koreader/issues/11909.
2024-11-20 22:40:08 +01:00
Benoit Pierre
0fd8c5af81 kopt: implement reflow
Factorized from lower layers' implementations (djvu & mupdf).
2024-11-20 22:23:02 +01:00
Benoit Pierre
94ee6813f6 kopt: minor factorization 2024-11-20 22:23:02 +01:00
hius07
2b763c70f9 Screenshoter: fix screenshot folder (#12750)
Check for existance and create if absent.
Closes #12742.
2024-11-20 22:19:52 +01:00
Benoit Pierre
24f983b580 pocketbook: support "extended" key events (#12707)
Only for devices running with SDK >= 6.

Close #12703.
2024-11-20 21:45:53 +01:00
Benoit Pierre
2013e8a46f bump base (#12759)
- https://github.com/koreader/koreader-base/pull/1965
- https://github.com/koreader/koreader-base/pull/1972
- https://github.com/koreader/koreader-base/pull/1976
- https://github.com/koreader/koreader-base/pull/1978
2024-11-20 21:19:11 +01:00
jonnyl2
fa20344a15 ReaderHighlight: Highlight menu, change 'Delete' to Trash can icon (#12758)
Closes #12754; as discussed there.
v2024.11
2024-11-20 20:31:20 +01:00
Frans de Jonge
afa1ef5f86 Update translations for v2024.11 (#12757) 2024-11-20 18:32:54 +01:00
pphszx
bcb7753369 [plugin] Adjust Minimum Font Size in Terminal Emulator (#12752) 2024-11-19 19:18:20 +01:00
Benoit Pierre
761c17038c ci/circle: manually cap build jobs (#12751)
Can't look at `/sys/fs/cgroup/cpu/cpu.shares` anymore…
2024-11-19 15:52:59 +01:00
Martín Fernández
fd3727274b bump android-luajit-launcher (#12734)
Includes:

https://github.com/koreader/android-luajit-launcher/pull/526
https://github.com/koreader/android-luajit-launcher/pull/527
https://github.com/koreader/android-luajit-launcher/pull/528
https://github.com/koreader/android-luajit-launcher/pull/529
2024-11-13 14:55:40 +01:00
Frans de Jonge
11981821f6 [minor] ReaderHighlight: normalize more spelling of PDF (#12732) 2024-11-12 21:06:31 +01:00
Frans de Jonge
d3893b6cf1 [minor] ReaderHighlight: normalize spelling of PDF (#12731) 2024-11-12 21:05:16 +01:00
Benoit Pierre
de9e864956 bump base (#12727)
- https://github.com/koreader/koreader-base/pull/1947
- https://github.com/koreader/koreader-base/pull/1962
- https://github.com/koreader/koreader-base/pull/1963
- https://github.com/koreader/koreader-base/pull/1964
- https://github.com/koreader/koreader-base/pull/1966
- https://github.com/koreader/koreader-base/pull/1967
- https://github.com/koreader/koreader-base/pull/1968
- https://github.com/koreader/koreader-base/pull/1973
2024-11-11 15:19:06 +01:00
Benoit Pierre
18d2ec6761 kopt: fix OCR segmentation mode (#12726)
Previously unused by `libk2pdfopt`, the `ocr_type` argument passed to `k2pdfopt_tocr_single_word`
and forwarded to `ocrtess_ocrwords_from_bmp8` now has a big impact for some languages (e.g. Arabic).
2024-11-11 12:44:22 +01:00
Benoit Pierre
9e91abedda make: work around make < 4.4 wildcard bug (#12725)
Cf. https://savannah.gnu.org/bugs/?func=detailitem&item_id=41273

This would result in release archives not including some data files
(e.g. `ca-bundle.crt` and `KoboUSBMS.tar.gz`).
2024-11-11 08:13:24 +01:00
fenuks
06696ea913 [plugin] Wallabag: separate option to delete ‘on hold’ articles (#12722)
Before this change, on hold articles were deleted if `Remotely delete
finished articles` was enabled. To make this configurable new option
`Remotely delete on hold articles` has been added.

Fixes #12698.
2024-11-09 23:06:40 +01:00
fenuks
1f89f24e29 [plugin] Wallabag: remove empty file when download fails (#12723)
Wallabag can be really slow to generate epub for large articles. For
example, some Wikipedia articles can take 20+ seconds on app.wallabag.it
instance that I use.
2024-11-09 20:48:21 +01:00
Nikola Kotur
7c166a294e Add Nextcloud Notes to exporter plugin (#12301) 2024-11-08 19:29:36 +01:00
hius07
5fb9216efb "Tools" menu order minor fix (#12717)
* same order in FM and Reader
* remove unused "send2ebook"
2024-11-08 19:24:53 +01:00
Martín Fernández
47ab7685aa calibre: remove json chooser UI leftover (#12715)
After #12714
2024-11-06 16:18:12 +01:00
Martín Fernández
d10a52e88a calibre: always use custom fast parser (#12714)
Fixes #12610
2024-11-06 15:00:19 +01:00
bateast
1e55dda4c7 Add authentication request and cookies management for news (#12496)
Add 'credentials' element in news configuration, used to request authentication cookies for further articles download
2024-11-03 17:31:33 +01:00
hius07
c2d1099976 Profiles: more auto-exec triggers 2 (#12691) 2024-10-31 20:26:21 +02:00