5927 Commits

Author SHA1 Message Date
Jean-Francois Dockes
4fe4a34949 add configure option to disable building the indexer, and avoid building the recoll lib if nothing needs it 2022-09-20 09:32:12 +02:00
Jean-Francois Dockes
d682348b7f rclgrep: more options 2022-09-11 19:14:51 +02:00
Jean-Francois Dockes
e2901a5506 Let rclgrep create its own config under $HOME/.config/rclgrep, because using the indexer config does not make much sense and presents issues (with logging mostly) 2022-09-11 10:01:05 +02:00
Jean-Francois Dockes
cadfabc3b1 pathut: give $HOME priority over pwd entry 2022-09-11 08:49:08 +02:00
Jean-Francois Dockes
5fc0066a34 Add code to use libmagic (disabled in recoll for now). rclgrep -r option 2022-09-09 18:44:21 +02:00
Jean-Francois Dockes
78183a8e00 Add textunknownasplain configuration variable to tell the indexer to process text/xxx where xxx is unknown as text/plain 2022-09-09 17:12:49 +02:00
Jean-Francois Dockes
34003390f2 temp: stdin ok, context lines ok? 2022-09-07 20:05:39 +02:00
Jean-Francois Dockes
dcbfe05296 Build rclgrep independantly to avoid the xapian and other deps 2022-09-07 15:01:40 +02:00
Jean-Francois Dockes
7b5a87df38 grep before stdin 2022-09-07 10:30:17 +02:00
Jean-Francois Dockes
30bf5df03e temp 2022-09-07 09:48:32 +02:00
Jean-Francois Dockes
84159dd54a rclgrep first lines 2022-09-05 18:53:51 +02:00
Jean-Francois Dockes
c96d29e3a3 more auto use in fsindexer.cpp 2022-09-05 18:53:06 +02:00
Jean-Francois Dockes
6aa5ef9064 smallut: new pcSubst with callback param 2022-09-05 10:44:10 +02:00
Jean-Francois Dockes
c86cb9438b handlers: remove remnant bits of python2 compat 2022-09-05 10:43:50 +02:00
Jean-Francois Dockes
27f4d1f321 messages 2022-08-30 11:32:26 +02:00
Jean-Francois Dockes
e0e1811e83 version 1.33.0 2022-08-30 11:06:04 +02:00
Jean-Francois Dockes
422d24e94e recoll-we-move-files: do not accept downloadsdir parameter, add -c configdir option
The parameter was not used by recollindex anyway and the script NEEDS access to the config for
retrieving other values. This can also be set with RECOLL_CONFDIR (which recollindex does).
2022-08-26 15:24:05 +02:00
Jean-Francois Dockes
8deed63be6 Add notices about quotes processing not being applied to single value parameters 2022-08-26 15:23:18 +02:00
Jean-Francois Dockes
35753d17d0 comments 2022-08-26 10:42:07 +02:00
Jean-Francois Dockes
c218d5bbcc webqueue indexing: suppress wrong error message occuring on first use with cache still empty 2022-08-25 09:54:49 +02:00
Jean-Francois Dockes
db8961740e doc: fix link to features page 2022-08-25 09:48:03 +02:00
Jean-Francois Dockes
c1bec06711 Merge branch 'master' into 'master'
a bunch of micro-optimizations

See merge request medoc92/recoll!9
2022-08-24 05:43:36 +00:00
shenleban tongying
3e3711da51 remove redundant .c_str()
u8s2qs(takes std::string)
dbd is same type of tl which is vector<string>
2022-08-23 05:56:14 -04:00
shenleban tongying
5608a8f79c && is already short-circuit evaluation
abusing ? : seems unnecessary

if m_stops empty -> just return false
then try find -> judge if the term can be found (result of find is not the end of m_stops)
2022-08-23 05:51:08 -04:00
shenleban tongying
758f468e3a Remove some leftover #includes related to unused Qt components 2022-08-23 05:39:16 -04:00
shenleban tongying
32b74f2ac2 fix: use std::make_shared in simple cases to reduce allocation 2022-08-23 05:24:33 -04:00
shenleban tongying
d00ea4e420 fix: asString already declared at func beginning 2022-08-23 05:06:39 -04:00
shenleban tongying
565a1115f7 fix: a naming reuse
At ~200 lines below, `it` get reused and shadowed in a for loop `QStringList::iterator it`.

Eliminate it completely. If we use C++20, we can just std::set::contains()
2022-08-23 04:57:21 -04:00
shenleban tongying
bed57aeaf6 simplify two true-false 2022-08-23 04:32:43 -04:00
shenleban tongying
708a57de1e add missing & for u8s2qs 2022-08-23 04:25:36 -04:00
Jean-Francois Dockes
a052278846 Oops in 489e88c8: fix to the recoll-we-move-file config issue. The script needs the config for other values. Set RECOLL_CONFDIR in the environment. 2022-08-22 18:37:19 +02:00
Jean-Francois Dockes
489e88c87d Have the indexer actually set the downloadsdir parameter on the recoll-we-move-files script command line. Previously, a custom directory could only be set for the default recoll configuration or if RECOLL_CONFDIR was set 2022-08-22 18:08:17 +02:00
Jean-Francois Dockes
02a4a69482 GUI indexing: only ask a confirmation about resetting the index if the dbdir currently exists 2022-08-22 07:56:43 +02:00
Jean-Francois Dockes
b8e062f66c Windows: add missing getopt.cc where needed in .pro 2022-08-21 16:52:22 +01:00
Jean-Francois Dockes
bf46e6ca0e Search: change query processing a bit so that we can use OP_FILTER for path selection 2022-08-21 14:14:07 +02:00
Jean-Francois Dockes
16467900bd none 2022-08-21 10:41:13 +02:00
Jean-Francois Dockes
dab46b67fe version bump 2022-08-21 08:00:39 +02:00
Jean-Francois Dockes
4ad7c71ff0 Deb packaging: revert GUI to using webkit 2022-08-21 07:49:26 +02:00
Jean-Francois Dockes
44530f277b oops in building with webkit 2022-08-20 18:07:17 +02:00
Jean-Francois Dockes
c746d044c4 none 2022-08-20 17:30:37 +02:00
Jean-Francois Dockes
a7d86cb64c Allow specifying a fixed geometry for the results list viewport by setting RECOLL_RESULTS_GEOMETRY=widthxheight 2022-08-20 17:13:10 +02:00
Jean-Francois Dockes
64a72be069 const auto -> const auto& 2022-08-20 16:44:26 +02:00
Jean-Francois Dockes
cebef3cadf configure: modernized iconv.m4 2022-08-20 12:29:47 +02:00
Jean-Francois Dockes
8bd38a858d GUI reslist: fixed webengine image display issue, but failed with reliably getting scroll position for paging (cf QTBUG-105842) 2022-08-20 12:29:06 +02:00
Jean-Francois Dockes
426fee8a86 GUI result list: improve behaviour of paging with either links or keys and buttons
Always shift to next/prev top of page when using links. Follow logical progression of page sections
when using pageup/down keys or arrow buttons. Fixes issue #177
2022-08-18 12:17:56 +02:00
Jean-Francois Dockes
3404c2f726 doc 2022-08-18 10:30:59 +02:00
Jean-Francois Dockes
ea133d7d60 recollq: add option to extract result document to file + doc and test 2022-08-15 17:46:57 +02:00
Jean-Francois Dockes
7d028e7ca9 improved orgmode test 2022-08-15 17:46:08 +02:00
Jean-Francois Dockes
18c7c54bbf adjust tests for flac MIME type change 2022-08-15 17:45:45 +02:00
Jean-Francois Dockes
225081563d rclpdf: encoding issue in attachment extract 2022-08-15 17:44:43 +02:00