45385 Commits

Author SHA1 Message Date
Kovid Goyal
54c5411d6e
Make the snippet search thread yield after every result so other threads can be scheduled 2022-07-06 19:19:54 +05:30
Kovid Goyal
8e655fda1c
Clarify that FTS finds only one instance per book 2022-07-06 19:19:54 +05:30
Kovid Goyal
3a152fe2b2
Fix donate button being rendered as a blank when toolbar icons are turned off
This does mean that there will be one icon on the toolbar always (unless
the donate button is removed).
2022-07-06 19:19:54 +05:30
Kovid Goyal
874507efec
Fix incorrect counting on initial done event for time estimation 2022-07-06 19:19:54 +05:30
Kovid Goyal
f77b3e778a
Handle done events with no actual files done 2022-07-06 19:19:54 +05:30
Kovid Goyal
f9b6a39b2a
Bump beta version 2022-07-06 19:19:54 +05:30
Kovid Goyal
9a6cb80fe4
More pyqt6 enum goodness 2022-07-06 19:19:54 +05:30
Kovid Goyal
e415463168
Annotate bug workarounds 2022-07-06 19:19:54 +05:30
Kovid Goyal
ff34c69f3a
... 2022-07-06 19:19:54 +05:30
Kovid Goyal
17d897fc19
Use int() rather than .value works with PySide6 as well 2022-07-06 19:19:54 +05:30
Kovid Goyal
5635216999
... 2022-07-06 19:19:54 +05:30
Kovid Goyal
340241e5d7
Add support for FTS index to export/import 2022-07-06 19:19:54 +05:30
Kovid Goyal
e111569c99
... 2022-07-06 19:19:54 +05:30
Kovid Goyal
584456876d
... 2022-07-06 19:19:54 +05:30
Kovid Goyal
546b5b42d1
Remove --reinitialize-db as fts tables cause it to break 2022-07-06 19:19:54 +05:30
Kovid Goyal
a8483d8626
Allow loading of calibre sqlite extension when connecting via python sqlite3 module as well 2022-07-06 19:19:53 +05:30
Kovid Goyal
4467f1e54c
Allow removing individual books from the FTS index if they are somehow missing from the main db 2022-07-06 19:19:53 +05:30
Kovid Goyal
04ac88cfa4
Better failure mode for unknown book/author 2022-07-06 19:19:53 +05:30
Kovid Goyal
91b29481df
vacuum fts db when running check library as well 2022-07-06 19:19:53 +05:30
Kovid Goyal
a4cbe12a43
Fix calibre-debug --reinit-db 2022-07-06 19:19:53 +05:30
Kovid Goyal
00f8528d1b
Cleanup jobs widget 2022-07-06 19:19:53 +05:30
Kovid Goyal
86fca5e201
Use only a single BusyCursor class 2022-07-06 19:19:53 +05:30
Kovid Goyal
edb8e805b2
... 2022-07-06 19:19:53 +05:30
Kovid Goyal
d11fec7c9d
Show an estimate of time left while indexing 2022-07-06 19:19:53 +05:30
Kovid Goyal
1e96b44f71
Nicer time left display for jobs 2022-07-06 19:19:53 +05:30
Kovid Goyal
8c7fef9ed1
more pyqt6 enum goodness 2022-07-06 19:19:53 +05:30
Kovid Goyal
60dcd01a3f
ensure first result is shown when search is started 2022-07-06 19:19:53 +05:30
Kovid Goyal
27153f6580
Clear input box when dialog hidden and focus input box when re-shown 2022-07-06 19:19:53 +05:30
Kovid Goyal
cbe213a2aa
... 2022-07-06 19:19:53 +05:30
Kovid Goyal
1956dc9967
Open viewer at search result from FTS 2022-07-06 19:19:53 +05:30
Kovid Goyal
97d613016c
Bump PyQt version 2022-07-06 19:19:52 +05:30
Kovid Goyal
30fe553c28
Viewer: Allow using search expressions for --open-at 2022-07-06 19:19:52 +05:30
Kovid Goyal
2843ec81e1
More pyqt6 enum goodness 2022-07-06 19:19:52 +05:30
Kovid Goyal
2fbe290470
update pyqt 2022-07-06 19:19:52 +05:30
Kovid Goyal
7a96143b10
install libcups2-dev as it is needed by qt webengine 2022-07-06 19:19:52 +05:30
Kovid Goyal
a07a320a24
build node on linux as well as qt 6.3 requires nodejs >= 12 2022-07-06 19:19:52 +05:30
Kovid Goyal
cb4cec8d83
Bump Qt to 6.3.1 2022-07-06 19:19:52 +05:30
Kovid Goyal
351de32312
Button to mark matched books 2022-07-06 19:19:52 +05:30
Kovid Goyal
43a99da50b
Restore splitter state 2022-07-06 19:19:52 +05:30
Kovid Goyal
7d8fe94078
Allow clicking on the spinner to abort a search 2022-07-06 19:19:52 +05:30
Kovid Goyal
6e86eb53f3
Fix the progress labels close to 100% 2022-07-06 19:19:52 +05:30
Kovid Goyal
152145e1ad
Dont use a timer for indexing progress
This makes things very slow as it requires locking the database ever
second. Instead use the db's event system to deliver indexing progress
changed events.
2022-07-06 19:19:52 +05:30
Kovid Goyal
e747fddf0d
... 2022-07-06 19:19:52 +05:30
Kovid Goyal
270ae84b7b
... 2022-07-06 19:19:52 +05:30
Kovid Goyal
dc97cffbec
Links to open search results 2022-07-06 19:19:52 +05:30
Kovid Goyal
7772400f04
Show only single match when current is an individual match 2022-07-06 19:19:51 +05:30
Kovid Goyal
5991fecb04
Display individual matches in details panel 2022-07-06 19:19:51 +05:30
Kovid Goyal
e1e490b66e
Add a dedicated icon for FTS 2022-07-06 19:19:51 +05:30
Kovid Goyal
b51e85e98e
Add a button to launch FTS to the search bar 2022-07-06 19:19:51 +05:30
Kovid Goyal
2ea40e6cef
Add basic docs for the new FTS feature 2022-07-06 19:19:51 +05:30