562 Commits

Author SHA1 Message Date
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
Jean-Francois Dockes
bcf5b00897 comments and traces 2016-12-02 10:57:48 +01:00
Jean-Francois Dockes
554ae238ec merge common code 2016-11-15 18:30:01 +01:00
Jean-Francois Dockes
8ba31472df added 2016-11-08 12:41:40 +01:00
Jean-Francois Dockes
dd6715915c sync with common 2016-11-08 12:41:29 +01:00
Jean-Francois Dockes
1fdc4693f4 make use of st::future conditional, we do not really need it 2016-11-08 12:40:44 +01:00
Jean-Francois Dockes
ac7afffacb removed test code 2016-11-08 12:40:15 +01:00
Jean-Francois Dockes
306fa42f17 comment 2016-08-13 09:07:29 +02:00
Jean-Francois Dockes
361d3aa256 Stay single-threaded on windows, multithread is slower and exit does not work 2016-08-06 12:20:06 +02:00
Jean-Francois Dockes
92da4c00cd use std c++11 initializer instead of create_xx hacks 2016-07-16 11:15:31 +02:00
Jean-Francois Dockes
ab68d54aa0 use std:🧵:hardware_concurrency instead of misc hacks 2016-07-16 11:14:44 +02:00
Jean-Francois Dockes
4538522b5b windows: slashize input in path_absolute() (fixes -c option needing forward /) 2016-07-16 11:11:36 +02:00
Jean-Francois Dockes
4052f43cfd log messages 2016-07-14 10:14:01 +02:00
Jean-Francois Dockes
0b0385e459 got rid of the STD_SHARED_XX std/tr1 defines 2016-07-13 15:12:25 +02:00
Jean-Francois Dockes
9f4e2e2646 Small windows adjustements for std::mutex changes 2016-07-13 09:27:38 +02:00