Jean-Francois Dockes
34d23589a2
remove struct stat from interfaces
2020-03-31 11:17:07 +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
2606d78b18
indent
2019-03-14 15:18:03 +01:00
Jean-Francois Dockes
0cbc46732f
Fixed the FSF address
2019-03-04 11:19:14 +01:00
Jean-Francois Dockes
8559572c7e
Allow defining monitordirs variable: subset/dir of topdirs which will get monitored for updates
2018-04-11 17:45:06 +02:00
Jean-Francois Dockes
054554576a
real-time indexer: regular files which were part of the topdirs list were not monitored
2016-08-13 09:17:29 +02:00
Jean-Francois Dockes
d8f215b6ed
log messages
2016-07-12 13:04:32 +02:00
Jean-Francois Dockes
f6a999de84
logging now uses c++ streams
2016-07-12 09:41:04 +02:00
Jean-Francois Dockes
94da56aadc
Handle windows paths: mostly change tests for relative, and some other tweaks.
...
--HG--
branch : WINDOWSPORT
2015-08-31 17:20:04 +02:00
Jean-Francois Dockes
62f4f7bd81
more safexx posix stuff
2015-08-22 08:37:58 +02:00
Jean-Francois Dockes
c6e228b7c6
Prepared windows port by removing a number of spurious reference to unix-specific interfaces, and using some xapian posix adaptor includes
2015-08-19 14:41:10 +02:00
Jean-Francois Dockes
d630cbbaec
Delete RCL_USE_XATTR configure/compile time variable, it was not
...
useful. Add configuration variable to use mtime instead of ctime for update
detection. Useful on a system where xattrs would be modified but not
indexed, to avoid excessive reindexing.
2014-12-09 11:15:17 +01:00
Jean-Francois Dockes
bba7875a10
Defining a topdir under a skippedPath is allowed and usefully works with normal indexing. This change fixes a bug which prevented it from working with the real-time monitor and recollindex -i
2014-10-10 10:17:57 +02:00
Jean-Francois Dockes
00f9e37a1d
message
2013-11-18 09:03:32 +01:00
Jean-Francois Dockes
56a56500c1
Handle partial indexing of document restricted to metadata from extended attributes
2013-10-04 10:57:11 +02:00
Jean-Francois Dockes
d3631b5ddf
cleaned up processing of metadata from diverse origins (doc,extattrs,localfields)
2013-01-29 14:33:57 +01:00
Jean-Francois Dockes
72927b3fc8
additional cleanup after switch from .beagle to .recollweb
2012-12-14 13:20:09 +01:00
Jean-Francois Dockes
9146929f5e
implemented configuration for thread structure. Still crashes, but not often...
2012-11-29 17:26:48 +01:00
Jean-Francois Dockes
5fc8f240fe
from 1.18 branch: Adjust things for using the new Firefox plugin: remove visible Beagle references + fix 1.18 web queue indexing bugs
2012-11-01 11:30:39 +01:00
Jean-Francois Dockes
83ea60484c
dont terminate monitor for permission-related addwatch error
2012-08-14 08:15:49 +02:00
Jean-Francois Dockes
7ce1a5f2e4
real time index: dont generate events for skipped files. They would have been filtered later on, but this avoids repeatedly awaking the main thread and opening/closing the index because of events on ever changing files like the infamous .xsession-errors
2012-03-06 07:42:40 +01:00
Jean-Francois Dockes
3853c5c0da
Build the real-time monitor by default on FreeBSD (depend on USE_FAM). Fix a few glitches in the fam/gamin version
2011-10-14 14:06:24 +02:00
Jean-Francois Dockes
56fe54412f
Protect against deadlock when using fam/gamin by adding a small timeout to the peek for events done between add calls. Add alarm to the addwatch call in case the deadlock happens anyway
2011-10-13 15:20:28 +02:00
Jean-Francois Dockes
b37ea1915a
real time index: generate MODIFY event when receiving inotify MOVED_TO. We do not seem to receive a modify as was apparently the case at some point
2011-10-12 18:30:47 +02:00
Jean-Francois Dockes
e56b286f93
log
2011-09-30 16:19:42 +02:00
Jean-Francois Dockes
0c5f41c41c
monitor: properly handle cleanup on directory moves
2011-09-30 08:56:29 +02:00
Jean-Francois Dockes
5ac07b20f6
rt monitor: make a copy of the config in the 2nd thread to avoid concurrent accesses (no reported bug on this, but could lead to a crash)
2011-08-01 13:59:01 +02:00
Jean-Francois Dockes
b28eaf23fb
Got rid of all the old RCS id strings
2011-04-27 08:22:17 +02:00
Jean-Francois Dockes
22788b8900
index: work around recent? gamin strangeness
2011-03-26 17:27:21 +01:00
Jean-Francois Dockes
061ffda545
checked/changed all sprintf calls
2010-11-15 11:57:39 +01:00
dockes
6eaed467b0
compile either fam or inotify not both
2009-11-30 06:34:49 +00:00
dockes
289810e299
typo
2009-11-18 13:46:15 +00:00
dockes
0ccf8fccd9
rationalized how we recompute things on setkeydir. recoll_noindex and skippedNames can now be changed at any point in the tree
2009-11-15 08:38:43 +00:00
dockes
061aa959c6
monitor the beagle queue
2009-11-14 10:29:29 +00:00
dockes
0c20602867
remove indexer.h include
2009-11-10 17:38:53 +00:00
dockes
ec0b573ecd
add a few includes for new gcc version
2008-11-18 13:25:48 +00:00
dockes
46a7f05cbc
gcc 4 compat, thanks to Kartik Mistry
2007-12-13 06:58:22 +00:00
dockes
5a3244a5a8
add followLinks option
2007-08-30 09:01:52 +00:00
dockes
16bca7840a
monitor: dont add watch on created dir if in skippedXXX
2007-07-12 10:53:07 +00:00
dockes
a5efd74c71
make sure signals are only handled by the main thread. Fix bus error on rclmon exit (double delete)
2007-05-21 13:30:22 +00:00
dockes
fde963eb2e
add skippedPaths and daemSkippedPaths config variables
2007-02-02 10:12:58 +00:00
dockes
4bce91b3d6
always skip indexing of confdir and dbdir. start index monitor with normal indexing pass
2006-12-21 09:22:31 +00:00
dockes
7814e0fb0a
traces
2006-11-07 16:51:45 +00:00
dockes
74205c0e82
added some debugging msgs (too much)
2006-10-25 10:52:02 +00:00
dockes
d8f8dd851e
centralize skippedNames computation to add dbdir always
2006-10-24 09:09:36 +00:00
dockes
c78a055bb2
handle directory creation
2006-10-23 15:01:12 +00:00
dockes
974dfae991
raw inotify support
2006-10-23 14:29:49 +00:00
dockes
4e0d1e2483
monitor: purge docs for deleted files from db
2006-10-22 14:47:14 +00:00
dockes
3962e43dea
fam autoconfig
2006-10-17 14:41:59 +00:00
dockes
01d96314c5
1st version of real time monitor
2006-10-16 15:33:08 +00:00