409 Commits

Author SHA1 Message Date
Jean-Francois Dockes
f2407c3394 Enable recollindex command line option to use posix_fadvise() to spare the page cache 2021-02-25 19:08:43 +01:00
Jean-Francois Dockes
818b79b135 Windows: simplified recollindex argument passing.
Because of the use of wmain(), we don't need the imperfect method of using
a temporary file. This should have been simplified when switching to wmain
but was not for lack of time.
2021-02-25 15:30:17 +00:00
Jean-Francois Dockes
905f94b961 Experimental: configure option to call posix_fadvise(POSIX_FADV_DONTNEED) on each indexed file. If enabled, can be disabled at run time by setting NO_NOCACHE_INDEXED in the environment. 2021-02-24 16:00:40 +01:00
freddii
89c7efe682 fixed typos 2021-02-04 17:12:22 +01:00
Jean-Francois Dockes
2d90b80bb5 1st steps for a mac build using qtcreator and based on the .pro files used on Windows 2021-02-02 17:44:23 +01:00
Jean-Francois Dockes
8111320a22 Indicate log location in some indexer error messages which will be displayed in the GUI 2020-11-19 11:16:51 +01:00
Jean-Francois Dockes
022121931a Fix real-time indexer indexing nothing in rare case where topdirs was /, because of incorrect path/skippedPaths test 2020-11-04 14:35:45 +01:00
Jean-Francois Dockes
3716ea3dac unify processing for executing a python script 2020-09-28 14:04:09 +02:00
Jean-Francois Dockes
c1ef2187d3 Fixed LOG calls obsolescence issues preventing build with staticverbosity 7 2020-09-06 14:59:00 +01:00
Jean-Francois Dockes
5ea2f7cc64 recollindex: make sure that the computed lock file path is the same in all cases. Take the lock in a number of forgotten cases 2020-08-31 11:28:44 +02:00
Jean-Francois Dockes
96ba5acd32 indents 2020-07-15 10:47:18 +02:00
Jean-Francois Dockes
5915dd6cea recollindex -r: make path args absolute using the original working directory, not the rundir (tmp) 2020-07-13 10:47:32 +02:00
Jean-Francois Dockes
cd29fd581d Windows7: the flags passed to widetomultichar was not correct.
Also no wmain with our mingw version.
2020-06-11 14:49:44 +02:00
Jean-Francois Dockes
f15e3f21fa Windows: replace unlink() with unicode-capable path_unlink() 2020-06-02 10:56:55 +01:00
Jean-Francois Dockes
cb3a59f88f Windows recollindex: use wmain to accept unicode command line args. 2020-06-02 09:13:31 +01:00
Jean-Francois Dockes
560041cab9 cleared out errant tabs 2020-05-30 15:54:49 +02:00
Jean-Francois Dockes
2f794be314 Fix Windows gcc build. Needs some def to get w7+ windows api 2020-04-25 11:41:37 +02:00
Jean-Francois Dockes
71b03da3ea fix warning fix 2020-04-17 15:29:38 +02:00
Jean-Francois Dockes
39c152bada Fixed MSVC warnings, all inocuous 2020-04-17 14:26:40 +01:00
Jean-Francois Dockes
d67fe267d8 Fix modification of recollindex args processing which was broken 2020-04-16 18:01:34 +02:00
Jean-Francois Dockes
d28cb0230d recollindex: allow reading args from file arg to ease passing args on windows 2020-04-14 16:19:04 +02:00
Jean-Francois Dockes
a468406e17 windows/qtcreator msvc adjustements 2020-04-04 14:00:39 +01:00
Jean-Francois Dockes
34d23589a2 remove struct stat from interfaces 2020-03-31 11:17:07 +02:00
Jean-Francois Dockes
aa40531bbe add idxniceprio parameter to choose indexing process priority 2020-01-31 09:29:02 +01:00
Jean-Francois Dockes
414222c003 use conftree conversions 2019-12-02 09:37:34 +01:00
Jean-Francois Dockes
a1138dd9e5 Windows, firefox plugin:make sure the temp files are closed before remove 2019-11-25 13:30:05 +01:00
Jean-Francois Dockes
0489df84e2 Forgot a part of the change for web queue dotfiles prefix change 2019-11-25 12:12:13 +01:00
Jean-Francois Dockes
a1122c4e8a Fix format string used to generate/scan circache headers.
Use _ not . as prefix for webqueue metadata files
Fix log messages and indent
2019-11-24 15:02:30 +01:00
Jean-Francois Dockes
726781434e typos in windows changes to enable web indexer 2019-11-24 11:01:32 +01:00
Jean-Francois Dockes
83e29a9b01 Windows: enable the firefox recent history indexer. 2019-11-24 10:46:23 +01:00
Jean-Francois Dockes
c11cac2868 orthograph, mostly in comments, also man pages 2019-10-18 09:13:10 +02:00
Jean-Francois Dockes
ee8c5410bd Avoid purging existing subdocuments on file indexing error (e.g.: maybe a file lock issue that will go away) 2019-06-21 17:18:15 +02:00
Jean-Francois Dockes
45043b816f add onlyNames config variable for filtering file names 2019-06-17 08:28:14 +02:00
Jean-Francois Dockes
e38e58c37a In case the self-doc was not sent first by the handler, its udi was not recalculated, and it clobbered the last subdoc 2019-06-16 13:46:00 +02:00
Jean-Francois Dockes
dca18bc585 Try to give possible explanations when opening a preview fails 2019-06-15 19:21:52 +02:00
Jean-Francois Dockes
54f0eda990 make doc.meta an unordered_map 2019-04-20 15:04:19 +02:00
Jean-Francois Dockes
35d2d5bf49 Fixed a number of recollinit invocations. Most in dead/test code 2019-03-21 15:28:02 +01:00
Jean-Francois Dockes
16fa5ce5f2 fix missing return value warning (no real consequences) 2019-03-19 17:00:05 +01:00
Jean-Francois Dockes
4d7d1a7965 windows powerfail signal: stop indexing only on resume and topdirs change 2019-03-19 14:38:57 +01:00
Jean-Francois Dockes
2606d78b18 indent 2019-03-14 15:18:03 +01:00
Jean-Francois Dockes
abaf4ca797 Move stopindexing from exe to lib to avoid symbol errors (win) 2019-03-13 09:26:31 +01:00
Jean-Francois Dockes
42d8a24a49 index: print log message when interrupted by stop file presence 2019-03-12 18:12:35 +01:00
Jean-Francois Dockes
642ea759bc Index: make sure that -k and -K always have effect. Set explicit reason when failure is due to interruption 2019-03-12 16:10:02 +01:00
Jean-Francois Dockes
a67ce0a1e8 Windows: only retry failed files if exec is newer than dbdir 2019-03-06 18:42:28 +01:00
Jean-Francois Dockes
f482df9707 reset wrong mode change 2019-03-04 11:22:46 +01:00
Jean-Francois Dockes
0cbc46732f Fixed the FSF address 2019-03-04 11:19:14 +01:00
Jean-Francois Dockes
8853cb505a Windows: improve indexing process management. Fix Pidfile locking.
Use a stop file to request stop of indexing when the indexer was not
started from the current GUI instance.
2019-02-14 14:12:08 +01:00
Jean-Francois Dockes
399c633efd Avoid purging documents from absent mountable volumes 2019-02-03 18:51:52 +01:00
Jean-Francois Dockes
02181fbb84 indexer bumping: check the status of touch command to avoid cc warning 2018-11-30 12:13:12 +01:00
Jean-Francois Dockes
6045f6da64 missing std:: 2018-11-22 17:19:30 +01:00