576 Commits

Author SHA1 Message Date
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
Jean-Francois Dockes
d808c927f0 Use setpgid(0,0) instead of setpgid(0,getpid()) to walk around apparent issue in dragonfly bsd 2017-06-30 15:25:30 +02:00
Jean-Francois Dockes
e5a72da783 Add kqueue-based version of netcon selectloop to work around select() issues on dragonfly bsd 2017-06-30 15:24:42 +02:00
Jean-Francois Dockes
25e15f8f85 iconv detection: replace badly working local hack with iconv.m4 from gettext 2017-06-29 13:24:36 +02:00
Jean-Francois Dockes
0e705f0cbf select loop: check that the count of found active fds matches the select() return value else return error 2017-06-28 11:11:03 +02:00
Jean-Francois Dockes
ce76e5388e merged shared ut 2017-06-28 08:13:30 +02:00
Jean-Francois Dockes
d29369caf0 add missing includes for fbsd/clang 2017-06-28 07:25:08 +02:00
Jean-Francois Dockes
3d14c537ad dragonfly has closefrom() 2017-06-28 07:24:38 +02:00
Jean-Francois Dockes
800131ef91 use auto to silence warning 2017-06-28 07:24:19 +02:00
Jean-Francois Dockes
8e3f51c400 Replace u_intxx types with c99 standard uintxx ones 2017-06-28 07:06:57 +02:00
Jean-Francois Dockes
bd4bc02238 pxattr: flags for DragonFly: no extattr support 2017-06-28 07:04:44 +02:00
Jean-Francois Dockes
71b4be883c utf8iter: store pointer to the source string instead of ref, makes Utf8Iter copyable 2017-04-21 12:03:21 +02:00
Jean-Francois Dockes
bde991c08a got rid of off_t 2017-02-28 20:36:01 +01:00
Jean-Francois Dockes
49ad782f7c use stding 2017-02-28 08:27:04 +01:00
Jean-Francois Dockes
50ee88adce stringsToString<unordered_set> 2017-02-22 14:50:59 +01:00
Jean-Francois Dockes
a8d5c2e73e windows: path_canon should yield c:/ not c: 2017-02-08 18:37:47 +01:00
Jean-Francois Dockes
de7c07677c Use recursive mutex on log calls because some call arguments can themselves call the log. Caused actual deadlocks in recoll 1.23 GUI with high verbosity 2017-01-16 13:59:11 +01:00
Jean-Francois Dockes
5614c6bc5b Windows GUI: transform file paths to use backslashes before passing them to viewer, as some windows viewers only understand backslashes 2017-01-02 11:18:16 +01:00
Jean-Francois Dockes
80e356ffb2 Add maximize=1/0 parameter to gui native viewer defs for opening maximized window on Windows 2016-12-05 12:17:56 +01:00