45385 Commits

Author SHA1 Message Date
Kovid Goyal
69c76996dd
Warning label for incomplete indexing 2022-07-06 19:19:48 +05:30
Kovid Goyal
abe42f909b
Get pool size controls working 2022-07-06 19:19:48 +05:30
Kovid Goyal
afcaac89c6
API to get FTS indexing progress 2022-07-06 19:19:48 +05:30
Kovid Goyal
0199dd15ba
Rescan all files when indexing is enabled 2022-07-06 19:19:48 +05:30
Kovid Goyal
d4e85f06c5
Start work on a GUI for FTS 2022-07-06 19:19:48 +05:30
Kovid Goyal
568e931dff
Use a weak reference to the db object in the fts queue thread 2022-07-06 19:19:48 +05:30
Kovid Goyal
f65a05cc8f
Ensure deleted cache objects are closed
Also ensure close is only called once
2022-07-06 19:19:48 +05:30
Kovid Goyal
be83f8bfa6
Ensure cache object is closed at end of tests 2022-07-06 19:19:47 +05:30
Kovid Goyal
d52bb3646a
Get rid of no longer needed code 2022-07-06 19:19:47 +05:30
Kovid Goyal
d441eb32b5
Only print error if FTS is still enabled 2022-07-06 19:19:47 +05:30
Kovid Goyal
251fd7a92c
Queue FTS jobs in a separate thread
This allows turning FTS on/off to not block the UI
2022-07-06 19:19:47 +05:30
Kovid Goyal
2b23d75f13
... 2022-07-06 19:19:47 +05:30
Kovid Goyal
4502569b90
Get FTS search API working 2022-07-06 19:19:47 +05:30
Kovid Goyal
6f3cd9cc44
API for searching the FTS corpus 2022-07-06 19:19:47 +05:30
Kovid Goyal
fc80be414c
Add a test for shutdown with hung workers 2022-07-06 19:19:47 +05:30
Kovid Goyal
f7b47a72fc
Implement storing of failure messages in books table 2022-07-06 19:19:47 +05:30
Kovid Goyal
2f2a1063e2
more work 2022-07-06 19:19:47 +05:30
Kovid Goyal
4d2a7a20af
Fix failing test 2022-07-06 19:19:47 +05:30
Kovid Goyal
a165b34d3c
prepare for mocking of fts workers 2022-07-06 19:19:47 +05:30
Kovid Goyal
4f90074eeb
More fts indexing tests 2022-07-06 19:19:47 +05:30
Kovid Goyal
81a0f1b386
Add more fts indexing tests 2022-07-06 19:19:47 +05:30
Kovid Goyal
d009e10942
More work on fts indexing 2022-07-06 19:19:47 +05:30
Kovid Goyal
2c4891b26d
Dont buffer test output when running a specific test 2022-07-06 19:19:46 +05:30
Kovid Goyal
6fb3061c56
start testing fts pool 2022-07-06 19:19:46 +05:30
Kovid Goyal
cb74720aa5
More work on fts pool 2022-07-06 19:19:46 +05:30
Kovid Goyal
13f0f67ea7
More work on fts pool 2022-07-06 19:19:46 +05:30
Kovid Goyal
60e80e5684
More work on fts indexing 2022-07-06 19:19:46 +05:30
Kovid Goyal
164dbe9cfb
More work on fts jobs 2022-07-06 19:19:46 +05:30
Kovid Goyal
55c67d57e4
Use a full dbref rather than just get_connection 2022-07-06 19:19:46 +05:30
Kovid Goyal
58bde2e304
Basic implementation of extracting searchable text from HTML 2022-07-06 19:19:46 +05:30
Kovid Goyal
b66c72cc15
Auto clear dirtied_formats with a trigger 2022-07-06 19:19:46 +05:30
Kovid Goyal
2ecdbfb194
Finish trigger tests 2022-07-06 19:19:46 +05:30
Kovid Goyal
1dd710991f
Start work on tests for FTS backend 2022-07-06 19:19:46 +05:30
Kovid Goyal
e3d6c9f192
More work on FTS 2022-07-06 19:19:46 +05:30
Kovid Goyal
ba1707169a
Start work on fts 2022-07-06 19:19:46 +05:30
Kovid Goyal
380b5b4300
bump beta version 2022-07-06 19:19:46 +05:30
Kovid Goyal
d87cbe63e5
Qt 6 wayland needs yet another dll 2022-07-06 19:19:46 +05:30
Kovid Goyal
55dc6a7b7c
... 2022-07-06 19:19:46 +05:30
Kovid Goyal
d199ae270b
... 2022-07-06 19:19:45 +05:30
Kovid Goyal
6b7f975231
Get PDF output working again with Qt 6
For some reason Qt WebEngine now needs local file access permissions to
load css and fonts. So switch to using a custom protocol, just like the
viewer does.
2022-07-06 19:19:45 +05:30
Kovid Goyal
bc97485ff2
Linux: Use the system dark mode setting
This comes from the desktop settings portal implemented in KDE 5.24 and
GNOME 42
2022-07-06 19:19:45 +05:30
Kovid Goyal
8bf10b1056
Remove note about fixed Qt bug 2022-07-06 19:19:45 +05:30
Kovid Goyal
5d769e7188
Bump beta version 2022-07-06 19:19:45 +05:30
Kovid Goyal
4714c32263
Get build_dep working with new bypy cli 2022-07-06 19:19:45 +05:30
Kovid Goyal
05c33adcd7
... 2022-07-06 19:19:45 +05:30
Kovid Goyal
87a7aa3037
Bundle libpcre.so.3 because Linux distros are so goddamn stupid they cant even agree on so names for widely used libraries 2022-07-06 19:19:45 +05:30
Kovid Goyal
9191683a30
bump beta version 2022-07-06 19:19:45 +05:30
Kovid Goyal
c576510227
More pyqt6 goodness
Have to wrap locales in QVariant otherwise pyqt6 treats them a
QList<QTextLength>
2022-07-06 19:19:45 +05:30
Kovid Goyal
f375ec0809
Increase the timeout when doing a DBUS build test 2022-07-06 19:19:45 +05:30
Kovid Goyal
6c318c7aac
Bump beta version 2022-07-06 19:19:45 +05:30