Commit Graph

35070 Commits

Author SHA1 Message Date
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 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 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 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
Kovid Goyal 6c755112b4 Fix indexing status not being updated when dialog is hidden and reshown 2022-07-06 19:19:51 +05:30
Kovid Goyal 209b40d601 Handle switching libraries with the fts window open 2022-07-06 19:19:51 +05:30
Kovid Goyal eb3a378006 Show indexing status label 2022-07-06 19:19:51 +05:30
Kovid Goyal 31555eba05 Button to switch back to scan panel results 2022-07-06 19:19:51 +05:30
Kovid Goyal 9fff268150 more work on fts ui 2022-07-06 19:19:51 +05:30
Kovid Goyal 5321c544f0 Use a signal for indexing progress 2022-07-06 19:19:51 +05:30
Kovid Goyal 1fc4dc5604 Start integrating the fts widgets into an overall dialog 2022-07-06 19:19:51 +05:30
Kovid Goyal 772febd578 Limit max length of book info entries 2022-07-06 19:19:51 +05:30
Kovid Goyal 68e90f1ddc ... 2022-07-06 19:19:51 +05:30
Kovid Goyal ba5f3a8c76 Fix scrollbars showing up in book info widget 2022-07-06 19:19:51 +05:30