Commit Graph

10911 Commits

Author SHA1 Message Date
Benoit Pierre
33af380962 tests: speedup testsuite
Bump test resources submodule: updated sample.pdf test file for faster processing by the testsuite.
2024-12-25 17:29:40 +01:00
Benoit Pierre
bb41c40d6f tests: cleanup & speedup readerfooter tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
2e4158b651 tests: cleanup readerhighlight tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
cf827a309a tests: cleanup readerpaging tests
Fix error trace: "ReaderUI instance mismatch".
2024-12-25 17:29:40 +01:00
Benoit Pierre
616d52ba88 tests: speedup readerdictionary tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
fbcda02726 tests: fix translator tests tags 2024-12-25 17:29:40 +01:00
Benoit Pierre
d2d62d8550 tests: speedup readerbookmark tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
ddaf562250 tests: cleanup readerbookmark tests
Fix screenshots.
2024-12-25 17:29:40 +01:00
Benoit Pierre
cc5ef2dbce tests: speedup koptinterface tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
77ef1ea1a2 tests: cleanup and speedup screenshoter tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
3d2a6a17ad tests: speedup readerrolling tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
5bf1464f09 tests: cleanup readerrolling tests
Fix error trace: "ReaderUI instance mismatch".
2024-12-25 17:29:40 +01:00
Benoit Pierre
cee0fef497 tests: cleanup filemanager tests
Fix error trace: "FileManager instance mismatch".
2024-12-25 17:29:40 +01:00
Benoit Pierre
6956b6c560 tests: speedup readerview tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
9f5974dbe9 tests: speedup readerui tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
cdf69113c2 tests: speedup readersearch tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
f1b522acb9 tests: factorize UI related helpers 2024-12-25 17:29:40 +01:00
Benoit Pierre
480eb7e142 tests: speedup random tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
d568b8fbbc tests: cleanup filemanager test
Remove dead code.
2024-12-25 17:29:40 +01:00
Benoit Pierre
e0562f72e5 tests: speedup document tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
646ed9a07f tests: avoid loading unnecessary plugins 2024-12-25 17:29:40 +01:00
Benoit Pierre
cb2d67aac9 tests: drop package.unloadAll workaround
Unnecessary, busted auto-insulation already insulate each test file run.
2024-12-25 17:29:40 +01:00
Benoit Pierre
7a5465bfe6 tests: drop workaround for older busted versions
No necessary anymore, now that we ship our own up-to-date version.
2024-12-25 17:29:40 +01:00
Benoit Pierre
cfe81e80d3 bump base (#12939)
- https://github.com/koreader/koreader-base/pull/2004
- https://github.com/koreader/koreader-base/pull/2005
- https://github.com/koreader/koreader-base/pull/2006
- https://github.com/koreader/koreader-base/pull/2007 (close #12901)
- https://github.com/koreader/koreader-base/pull/2008
- https://github.com/koreader/koreader-base/pull/2011
- https://github.com/koreader/koreader-base/pull/2012
2024-12-25 12:25:33 +01:00
weijiuqiao
2298ef76f0 vocabbuilder.koplugin: fix selecting context bug (#12938)
Missed one line in #12917.

Fixes #12916
2024-12-25 09:28:00 +01:00
hius07
15f5dbef83 Reader: inspect zip file content to choose provider (#12902) 2024-12-19 09:41:19 +02:00
Martín Fernández
e503cc4b9c add provider module (#12641)
* implements a Provider singleton, to be used by thirdparty plugins
* exporter: support for thirdparty providers
* splits plugin loading into two steps: discovery and load
  1. get a list of all candidate plugins to load for the different paths
  2. sort providers before on the rest of them and try to load them
2024-12-18 19:40:22 +01:00
weijiuqiao
9df814593d VocabBuilder.koplugin: support PDF context extraction for multi-word phrase (#12917)
Closes #12916. Closes #12475.
2024-12-18 14:13:37 +01:00
weijiuqiao
85390490da VocabBuilder.koplugin: support option to overwrite word with new context (#12885)
Closes #12506.
2024-12-16 20:10:16 +01:00
hius07
f025cce059 Collections: add books from a folder (#12892) 2024-12-15 18:22:05 +02:00
hius07
72086b7a26 CoverBrowser: minor fix and remove unused (#12895)
Remove unused UIManager:clearRenderStack().
Previously it was used by CoverBrowser plugin when extending the FileManager popup file dialog with aditional buttons.
Now the buttons are inserted through the api added in https://github.com/koreader/koreader/pull/12845.
2024-12-15 09:14:01 +02:00
David
378519ccf3 [NT] Remove gesture mentions from Dispatcher (#12889) 2024-12-12 22:28:27 +01:00
David
8f1461316c [HotKeys] Add a 'type to search' setting to hasKeyboard devices (#12860) 2024-12-12 22:23:49 +01:00
David
6565a7eaf6 [plugin] QR: fix failure to load in file browser (#12833)
Cf. https://github.com/koreader/koreader/pull/12746#issuecomment-2510910142
2024-12-12 22:21:32 +01:00
NiLuJe
85b8689d39 [doc] Update macOS PATH shenanigans (#12873)
Drop the sentence about brew being in PATH altogether: you wouldn't even be
able to invoke brew at all if this weren't already the case.

Fix #12868
2024-12-12 22:20:22 +01:00
TnS-hun
f232b0e8e6 Dictionary: fix missing images (#12877)
Pass the dictionary's res directory to Mupdf.openDocumentFromText to allow MuPDF to display images referenced by HTML dictionaries.

Depends on: https://github.com/koreader/koreader-base/pull/2002
Fixes: https://github.com/koreader/koreader/issues/12628
2024-12-12 21:58:35 +01:00
hius07
7efd033489 Profiles main: auto-exec on opening new books (#12884) 2024-12-12 08:53:56 +02:00
Frans de Jonge
d99e42ff27 bump base (#12894)
Includes:

* sqlite: update to 3.47.2 (koreader/koreader-base#1999)
* mupdf: fix finalizers (koreader/koreader-base#2001)
* mupdf: allow memory streams to load resources (koreader/koreader-base#2002) for #12877
* thirdparty/lua-Spore 0.3.4 (koreader/koreader-base#2003)
2024-12-11 23:56:29 +01:00
Frans de Jonge
0e4bd1be89 Screenshoter: add filename and page number (#12887)
Closes #12695.
2024-12-11 20:56:01 +01:00
Benoit Pierre
58e37ce68b doc: update macOS build instructions (#12886)
Add bash to the list of required Homebrew packages (macOS ship version 3, we need at least 4).

Closes #12868.
2024-12-10 22:47:43 +01:00
David
63fea74597 [Profiles] Search and update profile actions assigned to hotkeys (#12642) 2024-12-10 21:18:09 +01:00
hius07
7444ec53e9 Remove onSetFullScreen() (#12871) 2024-12-09 12:33:16 +02:00
hius07
0386e2619e Patch management: plugin -> core (#12862) 2024-12-08 09:33:46 +02:00
Benoit Pierre
604e5f3019 kodev: tweak test command (#12864)
Support `./kodev test TESTNAME`, as syntactic sugar for `./kodev test all TESTNAME`.
2024-12-07 13:27:02 +01:00
hius07
157c03c42d FileManager: Plus dialog button from CoverBrowser (#12857) 2024-12-07 09:18:18 +02:00
Martín Fernández
a43c9ab535 [exporter] drop unsupported targets: flomo, memos (#12808) 2024-12-06 21:30:18 +01:00
Martín Fernández
162685df50 remove autofrontlight + backgroundrunner (#12809)
* remove autofrontlight
* remove background-runner

thirparty plugins that rely on the backgroundrunner no longer work.
2024-12-06 21:28:56 +01:00
hius07
89fd0061fb filemanagerbookinfo: fix logic in getCoverImage() (#12852) 2024-12-06 14:36:30 +02:00
hius07
cd8ef3ceb5 FileManager, History, Collections: expose file dialog buttons (#12845) 2024-12-05 18:54:32 +02:00
hius07
ea46d71634 Highlights: anchored dialogs (#12810) 2024-12-05 18:53:59 +02:00