62 Commits

Author SHA1 Message Date
Jean-Francois Dockes
c534afede0 Small adjustments for native Mac bundle.
Works fine, but porting all the helpers to work from the bundle would be a
lot of work. All must be changed to find their resources inside the .app
Proof of concept done with antiword. Does not make sense to ship without
at least poppler (and maybe unrtf, mutagen, exiftool).
2021-02-03 09:52:18 +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
2d21d4a460 indent 2020-10-14 11:57:18 +02:00
Jean-Francois Dockes
560041cab9 cleared out errant tabs 2020-05-30 15:54:49 +02:00
Jean-Francois Dockes
4c39034f5d small tweaks to facilitate the mac homebrew build 2020-05-21 09:41:58 +02:00
Jean-Francois Dockes
39c152bada Fixed MSVC warnings, all inocuous 2020-04-17 14:26:40 +01:00
Jean-Francois Dockes
9c111fba29 macports: ensure the GUI finds recollindex 2019-09-27 11:36:31 +02:00
Jean-Francois Dockes
049ba1e7e4 Windows: build with UNICODE, get rid of all TCHAR/TEXT(), use explicit
xxA() interfaces and wchar_t in some places. Add a static cleanup retry
method to TempFile, called after clearing the MimeHandler cache (killing
the subprocesses which might hold an open file).
2019-07-21 16:23:16 +02:00
Jean-Francois Dockes
38b3e63bd4 log: print recoll version in rclinit 2019-05-21 19:34:39 +02: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
20910d3911 Add pylogfilename and pyloglevel functions to allow separating python logging. Unify recollinit calls 2019-03-10 14:52:46 +01:00
Jean-Francois Dockes
36b4657631 exit: only wait for completion if a handler was set 2019-03-06 15:55:19 +01:00
Jean-Francois Dockes
ef9125ba67 Windows: try to stop indexing when receiving a powerbroadcast message 2019-03-06 10:36:13 +01:00
Jean-Francois Dockes
0cbc46732f Fixed the FSF address 2019-03-04 11:19:14 +01:00
Jean-Francois Dockes
b1ff34407d Simplify initialization by moving static config textsplit init from rclconfig to textsplit 2019-02-01 09:09:15 +01:00
Jean-Francois Dockes
9481bc1ab4 indexing log: fix idx/daemlogfilename not working as expected 2018-04-13 14:31:33 +02:00
Jean-Francois Dockes
70c36ea3e1 rclinit: log the configuration location on startup 2017-11-30 13:26:29 +01:00
Jean-Francois Dockes
8f77b987ca fixed a few forgotten log statements 2016-07-13 07:47:56 +02:00
Jean-Francois Dockes
c1fad4afc7 Replaced pthread with std:: thread and mutex 2016-07-12 18:08:21 +02:00
Jean-Francois Dockes
f6a999de84 logging now uses c++ streams 2016-07-12 09:41:04 +02:00
Jean-Francois Dockes
021c142cee Small fixes for porting recent changes to windows 2016-04-14 14:24:56 +02:00
Jean-Francois Dockes
a4fd4ee5be moved code around to make smallut and pathut less recoll-specific and reusable. No actual changes 2016-03-21 12:55:31 +01:00
Jean-Francois Dockes
60b1044842 allow indexer and query tools to use different log files 2015-12-01 14:31:33 +01:00
Jean-Francois Dockes
8ce89f3ac1 Handling logout and system shutdown for recollindex on ms-windows. 2015-10-29 16:04:59 +01:00
Jean-Francois Dockes
9a72fa5980 got rid of a number of ifdefs which should not be needed anymore 2015-10-08 14:48:50 +02:00
Jean-Francois Dockes
3b18facc16 Fixed some "unused xxx" warnings + include autoconfig 2015-10-07 08:30:49 +02:00
Jean-Francois Dockes
40671020e4 Added ExecCmd::which + fix member variable names
--HG--
branch : WINDOWSPORT
2015-09-09 09:00:20 +02:00
Jean-Francois Dockes
97950bfa60 typos
--HG--
branch : WINDOWSPORT
2015-09-04 10:25:16 +02:00
Jean-Francois Dockes
66a8e1d285 Added a bit of signal/interrupt managing to recollprod. Added common property
sheet (not used yet).

--HG--
branch : WINDOWSPORT
2015-09-03 17:15:55 +02:00
Jean-Francois Dockes
a66209dc6e _WIN32 ifdefs cleanup
--HG--
branch : WINDOWSPORT
2015-09-02 08:40:39 +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
d4cd1dd91c 1st mods to get a build under windows. Does not build yet, far from it
--HG--
branch : WINDOWSPORT
2015-08-30 11:19:18 +02:00
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