30 Commits

Author SHA1 Message Date
Jean-Francois Dockes
9992a6f4f1 Implemented support for posix_spawn() and (main change): always use vfork() for starting external commands 2015-05-27 16:24:18 +02:00
Jean-Francois Dockes
929e2a1715 Check RECOLL_LOGDATE environment variable to add date stamps to the debug log. Closes issue #246 2015-05-17 08:59:19 +02:00
Jean-Francois Dockes
ec68cd95ba roughly auto-config threads depending on cpu count 2013-04-25 09:00:50 +02:00
Jean-Francois Dockes
5245f1f9d4 reopen log file on SIGHUP 2013-03-22 11:19:33 +01:00
Jean-Francois Dockes
4a870f984d Add parameter to chdir on recollindex startup, /tmp by default. Closes issue #129 2013-03-07 11:05:54 +01:00
Jean-Francois Dockes
2a22e864cc ensure we use vfork when single-threaded, even if threading is compiled in 2013-03-06 15:21:14 +01:00
Jean-Francois Dockes
1a518fa79d call setlocale before rclconfig init 2012-11-18 13:07:11 +01:00
Jean-Francois Dockes
62a8bff555 use vfork when possible + small cleanups in mt init 2012-11-18 08:33:33 +01:00
Jean-Francois Dockes
04c19b33d5 from 1.18 branch: When creating initial config directory (1st exec), initialize specific unac_except_trans for some languages: de, se/no/dk/fi + fix mixup of language and country codes 2012-11-01 11:27:50 +01:00
Jean-Francois Dockes
9a31680766 Use new location for thumbnails directory as per thumbnails std 8.0 2012-10-30 15:33:33 +01:00
Jean-Francois Dockes
a4c17941b1 Added a configuration parameter to set specific unaccenting/lowercasing for some characters to be handled differently than would result from using the Unicode database. Exemple: "a with ring above" could be set to be preserved by a Swedish locutor 2012-04-09 12:42:23 +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
3013e843a2 log 2011-10-01 09:20:10 +02:00
Jean-Francois Dockes
424e4173ba threading cleanup: add mutex protection around moronic change to transcode. Add mutex to equiv issue in unac. Rename const strings everywhere to cstr_xx to ease future detection of potentially problematic static variables. Most probably close issue #65 2011-09-28 15:01:14 +02:00
Jean-Francois Dockes
c5ff0cdf52 Control memory usage when deleting documents: use idxflushmb as when adding/updating 2011-09-07 19:11:11 +02:00
Jean-Francois Dockes
55f124725f Fix problems that occurred when multiple threads were trying to read/convert files at the same time (ie: indexing and previewing threads in the GUI calling internfile()). Either get rid of or lock-protect all shared data, eliminate misc initialization possible conflicts by using static initializers. Hopefuly closes issue #51 2011-04-28 10:58:33 +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 ext:(%22)
846bec8a73 fix english indexation -> indexing 2010-07-20 09:48:20 +02:00
dockes
613d1891c0 also block USR1 USR2 2009-10-12 16:27:11 +00:00
dockes
46a7f05cbc gcc 4 compat, thanks to Kartik Mistry 2007-12-13 06:58:22 +00:00
dockes
73a7e3770e cant block sigcld globally cause qt needs it 2007-05-23 08:28:35 +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
df7b8711a1 fix pb with special log file names 2006-11-08 15:34:20 +00:00
dockes
70f45f8746 allow daemon-specific log parameters 2006-11-08 07:22:14 +00:00
dockes
8eb9ad3560 Add -c <confdir> option to recoll and recollindex 2006-09-08 09:02:47 +00:00
dockes
516a588d04 try to better handle non-ascii file names 2006-03-29 11:18:15 +00:00
dockes
2a3075d6a6 reference to GPL in all .cpp files 2006-01-23 13:32:29 +00:00
dockes
6de4cc0fed test cleanup and sigcleanup not zero for small uts that dont need this 2005-11-09 21:39:04 +00:00
dockes
5ebcb0c104 separate file and document dates (mainly for email folders). Better check configuration at startup 2005-11-05 14:40:50 +00:00
dockes
68fb37b5f9 *** empty log message *** 2005-04-05 09:35:35 +00:00