Commit-Graf

124 Incheckningar

Upphovsman SHA1 Meddelande Datum
d6df8d583b mainwindow: pdfPreviewReceived(): Don't capture whole preview object in lambda 2021-03-05 21:24:49 +01:00
dd053f87f9 shared: qssquery: checkParanthesis(): Ignore paranthesis in quotes
Fixes #12
2020-12-19 12:52:40 +01:00
0cba6f3fa4 shared: sqlitesearch: Order by rank by default for content search
Making ranked results the default makes (obviously) more sense for
content search.
2020-12-19 12:42:28 +01:00
344eaa402e shared: sqlitesearch: reformat - no functional change 2020-12-19 12:42:11 +01:00
a6f73d724a CommandDelete: Rework deletion logic
Allow deleting files from index which still exist
on the fileystem without passing their path to "qss delete".

Thus: "qss delete --deleted" deletes all files which
don't exist anymore.

Also, fix some bugs in offset calculation.
2020-08-30 18:16:08 +02:00
1455d8ac1b Update README.md: Minor improvements 2020-08-24 22:52:52 +02:00
94cd4f6fdb Update 'README.md' 2020-08-24 22:18:49 +02:00
45a129a0d5 gui: Clarify what 'Results' means in statusbar 2020-08-24 22:08:31 +02:00
1ad8d632c1 Update README: Document goals, minor improvements 2020-08-24 21:50:39 +02:00
bbe8b1f530 Detect first run and initialize database and config
Relates to #1
2020-08-24 21:36:45 +02:00
498985bf25 sqlitedbservice: provide error message with more context 2020-08-24 21:36:19 +02:00
c78062e234 Ship database creation script as embedded resource 2020-08-24 21:33:56 +02:00
f0e6a2d07f gui: move page switcher next to scale 2020-06-06 23:35:00 +02:00
1e10d12f34 gui: disable searchbar when search is running
avoids waiting in the gui thread. does not try to cancel
the QFuture that actually cannot be cancelled anyway.

sidesteps a strange bug which rethrows already caught exception.
2020-06-06 23:18:33 +02:00
072996e0d3 fixed: missing return value for some command handlers 2020-05-24 15:37:47 +02:00
34c828a453 Add Common::databasePath which also allows overriding it 2020-05-24 15:36:27 +02:00
bb4824764c added Common namespace. cli: use settings instead of env for db path 2020-05-23 22:52:42 +02:00
2161c21e4d link with -lquazip5 instead -lquazip so it works on ubuntu... 2020-05-01 11:48:31 +02:00
a16f746b50 README: added ubuntu build instructions 2020-04-28 16:59:42 +02:00
f0ad31e138 list command current state 2019-09-22 16:13:13 +02:00
60e9b029d3 pdfworker: don't use deprecated search overload 2019-08-26 09:41:03 +02:00
4aed15f7a4 remove max previewimage memory usage 2019-08-26 09:35:39 +02:00
582abc333f paging for pdfpreviews 2019-08-26 09:20:21 +02:00
fae104d094 updated TODO 2019-08-25 16:56:31 +02:00
8047c16558 cli: search: implement -r, cleanup of options that don't belong there 2019-08-19 21:09:03 +02:00
4cdb1296a9 gui: fix passing args to pdfviewer (paths with spaces work now) 2019-08-19 20:02:28 +02:00
83535960f9 pdf preview: proper highlighting for quoted (inside ") queries 2019-08-19 19:43:05 +02:00
3d241ad30a updated TODO 2019-08-18 23:26:06 +02:00
fd4a0ff9ae new future: highlight searched words in pdf preview 2019-08-18 23:23:11 +02:00
404f05b89f Refactor search queries: Introduced QSSQuery
Purpose is to seperate certain logic from SQLite and generalize it more.
Even though we only have Sqlite atm, in general the database layers
must be stupid as possible, while QSSQuery should do most of the hard work.

Fixes in Tokenizer logic.
Switched to C++17.
2019-08-18 00:25:21 +02:00
ef6485117b mainwindow: show size of files 2019-08-18 00:23:42 +02:00
9c40dfea0d mainwindow: wait till search is completed before launching new one 2019-08-12 22:59:05 +02:00
ae178e34e5 pdfworker: Renderer copy constructor missed max mem field 2019-08-12 10:26:16 +02:00
9e0fbcd776 sqlitesearch: improve tokenizer and fix sort handling 2019-05-04 20:40:43 +02:00
fea0ab892f pdfprocessor: don't throw exception on encrypted files (locked ones are
the problem)
2019-05-04 09:38:52 +02:00
f97ba49b91 filesaver: count logic was wrong if --continue wasn't given 2019-04-30 23:44:27 +02:00
e12d208b5f cli: describe --continue in more detail 2019-04-30 23:43:31 +02:00
d1963e52a1 gui: executable name set to qss-gui instead of qss 2019-04-30 14:15:50 +02:00
749bb00c84 updated TODO 2019-04-30 14:14:44 +02:00
a4f2612071 gui: stop generating preview images after a memory limit has been reached. 2019-04-30 14:13:10 +02:00
8d6ee157a7 ClickLabel: rename clicked to leftClicked and only fire when left mouse button clicked 2019-04-30 12:40:28 +02:00
f975a40ddd pdf previews: set tooltip showing documents path 2019-04-30 12:30:29 +02:00
897b6d03a5 gui: mainwindow: remove dead code and unused members 2019-04-29 23:09:23 +02:00
f6fc2ae881 gui: handle search exception (again after refactoring) 2019-04-29 23:05:51 +02:00
75d7aed22d PdfWorker: generatePreviews: take const ref to container with search results 2019-04-29 23:01:11 +02:00
fe57a8d41c Add destructor for pdfworker renderer 2019-04-29 22:44:39 +02:00
d435ec3bfd pdf preview generation: Use QtConcurrent::mapped + QFutureWatcher instead of own single-thread solution 2019-04-29 20:50:52 +02:00
ec1219acda cli: commanddelete: fix broken dry-run 2019-04-29 10:24:50 +02:00
021722b090 gui: remove searchworker 2019-04-27 21:24:53 +02:00
233c30b66b search: fixed: order by after group by in content search 2019-04-27 21:23:06 +02:00