594 Commits

Author SHA1 Message Date
Jean-Francois Dockes
0cbc46732f Fixed the FSF address 2019-03-04 11:19:14 +01:00
Jean-Francois Dockes
c93581201a Allow defining a file name which causes directory skip if present 2019-02-20 17:46:49 +01:00
Jean-Francois Dockes
d538ba3190 shared 2019-02-20 17:45:25 +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
c2691f68bf utf8 truncate utility function 2019-02-03 17:57:29 +01:00
Jean-Francois Dockes
17a8d72227 indenting 2019-02-01 09:02:10 +01:00
Jean-Francois Dockes
33febc9649 improve temp file creation error message 2019-01-31 16:59:15 +01:00
Jean-Francois Dockes
8368995f22 Windows: port dir size computation 2019-01-30 18:53:41 +01:00
Jean-Francois Dockes
d2c87318cb Use fstreewalk-based du-like code to compute index size instead of executing du 2019-01-30 13:43:36 +01:00
Jean-Francois Dockes
0aa6e3ca75 Merge back windows and shared code changes 2019-01-29 17:49:25 +01:00
Jean-Francois Dockes
7ea3936420 Windows: use wide char interfaces
Exchange file names and command line parameters with the system using
wchar_t interfaces: allows preserving values which can be reversibly
transcoded in the current multibyte charset (which can't be UTF-8). Store
all file paths internally in UTF-8
2019-01-25 15:28:24 +01:00
Jean-Francois Dockes
096ab4454b Windows: use wide char interfaces to read directories and access files 2019-01-23 15:05:11 +01:00
Jean-Francois Dockes
f6f4d8426a comments + really compute md5 on uncompressed data 2018-12-28 10:32:01 +01:00
Jean-Francois Dockes
586ff90dc0 internal xslt: openoffice zip format working 2018-12-27 16:20:12 +01:00
Jean-Francois Dockes
094a119538 Fix crash and bad small file handling in readfile.cpp 2018-12-26 15:51:43 +01:00
Jean-Francois Dockes
00c0c5168b internal xslt working for single-sheet (abw). Still leaking memory? 2018-12-25 10:57:26 +01:00
Jean-Francois Dockes
8b4174feb1 shared smallut 2018-12-16 16:19:39 +01:00
Jean-Francois Dockes
1de00ebae7 shared code 2018-12-13 15:29:22 +01:00
Jean-Francois Dockes
cb1b4ac993 netcon: less noise when kqueuing 2018-12-01 14:10:14 +01:00
Jean-Francois Dockes
0cdcaea437 mimeparse: use cp1252 instead of iso-8859 on values with residual 8bit chars.
Also: comments and missing std:: qualifiers
2018-11-22 17:42:00 +01:00
Jean-Francois Dockes
385a7b9547 indent + comments + explicit std:: 2018-11-22 14:29:24 +01:00
Jean-Francois Dockes
c82461cf39 modified license on some shared files (gpl->lgpl) 2018-11-06 16:27:54 +01:00
Jean-Francois Dockes
1d62b50c7e rearrange md5 code for sharing. update shared smallut 2018-11-06 09:46:05 +01:00
Jean-Francois Dockes
2fb61f2583 logsyserr(): no strerror_r on Windows 2018-10-24 17:10:21 +02:00
Jean-Francois Dockes
beebb1028b Merge branch 'master' of https://opensourceprojects.eu/git/p/recoll1/code 2018-10-12 12:06:21 +02:00
Jean-Francois Dockes
8a09948745 shared: netcon: suppress gcc warning 2018-10-07 09:08:26 +02:00
Jean-Francois Dockes
2267e5f2f5 Simplified code by replacing misc direct regex/regex.h invocation with SimpleRegex wrapper 2018-09-03 13:29:16 +02:00
Jean-Francois Dockes
7048d2a014 removed dead code 2018-07-07 09:15:57 +02:00
Jean-Francois Dockes
4524ae2acc merged shared 2018-06-21 10:52:56 +02:00
Jean-Francois Dockes
7c7eafa98a got rid of unused old refcntr.h 2018-05-31 17:01:45 +02:00
Jean-Francois Dockes
fbcbfbf7e5 shared code 2018-05-31 16:44:50 +02:00
Jean-Francois Dockes
96c6fd74b4 mingw needs explicit conversion of enum member to int in conditional 2018-05-17 15:42:12 +02:00
Jean-Francois Dockes
1c55eeda31 When choosing a suffix for a temp file, ensure that we only use the first entry in mimemap for a given MIME type. Avoids exotic suffixes confusing apps 2018-05-17 11:05:05 +02:00
Jean-Francois Dockes
d69d2abbde TempFile: clean-up interface by using internal ref-counted class member. Uncomp: add interface to clear cache 2018-05-17 10:24:01 +02:00
Jean-Francois Dockes
66ebb47437 merged shared smallut 2018-05-16 18:28:41 +02:00
Jean-Francois Dockes
33cebf5f4e fix fedora 28 crash caused by assertion (no actual issue). Use resize, not reserve to provision a c++ vector actually used as c storage 2018-05-13 18:27:47 +02:00
Jean-Francois Dockes
ea3bd23d7c Fixed namespace decls issues 2018-04-18 09:34:58 +02:00
Jean-Francois Dockes
747a04ac50 pathut pid file: make sure we dont close the same fd twice. Might fix the mysterious "error 9 on netlink descriptor" crash? 2018-04-12 10:56:17 +02: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
84a73ae8cd arrange to return an appropriate status instead of -1 when the command is not found 2018-02-09 18:13:02 +01:00
Jean-Francois Dockes
cecd1b4ba7 Merge 1.23 Windows changes intended to improve the index rebuild failures caused by open files 2018-01-25 15:34:27 +01:00
Jean-Francois Dockes
5b35ecfe36 Windows warning suppression (no real changes) 2018-01-19 17:26:43 +01:00
Jean-Francois Dockes
dfa19108af turned off some debug statements 2018-01-03 15:58:34 +01:00
Jean-Francois Dockes
a35de1ef1e snippets: fix to the group matching code 2018-01-03 15:53:04 +01:00
Jean-Francois Dockes
175ca9832f Extracted some code from plaintorich, for reuse by the new snippets building code 2018-01-03 15:28:11 +01:00
Jean-Francois Dockes
bb810f9ceb Changed new param name storerawtext->storedoctext. + comments 2018-01-02 19:23:12 +01:00
Jean-Francois Dockes
6b3e21abf6 zlibut: some log messages would try to convert char* 0 to string 2017-12-29 17:39:33 +01:00
Jean-Francois Dockes
da64e3d9e0 circache: use a zlib wrapper instead of direct calls 2017-12-28 15:27:38 +01:00
Jean-Francois Dockes
d37052c73e circache: update test driver for new log interface 2017-08-16 15:52:42 +02:00
Jean-Francois Dockes
e5fe188127 merged pxattr versions. main() only, no effect on recoll 2017-07-03 14:17:32 +02:00