468 Commits

Author SHA1 Message Date
Jean-Francois Dockes
ffc7d04bdf fix timeouts for mh_execm filters 2015-10-08 10:10:04 +02:00
Jean-Francois Dockes
2a96ee4a27 Fix small windows/mingw portability issues in code used by the GUI 2015-10-07 09:25:28 +02:00
Jean-Francois Dockes
d942242047 replace all %lld instances 2015-10-03 17:25:17 +02:00
Jean-Francois Dockes
c2e8d451e4 Windows: the qt GUI builds with Qt/MinGW. No link. 2015-10-02 18:30:13 +02:00
Jean-Francois Dockes
5330685ec1 Merged the changes from the current windows port 2015-09-25 16:14:27 +02:00
Jean-Francois Dockes
bf779aca37 only remove a fragment part from a file name if it looks like an html 2015-09-14 17:10:24 +02:00
Jean-Francois Dockes
07e2aa68a3 add utility routine to fake a child in execmd exerciser
--HG--
branch : WINDOWSPORT
2015-09-13 13:05:09 +02:00
Jean-Francois Dockes
95af155b65 comment
--HG--
branch : WINDOWSPORT
2015-09-13 13:04:44 +02:00
Jean-Francois Dockes
304ca662fe merged the w and u versions of the execmd exerciser
--HG--
branch : WINDOWSPORT
2015-09-13 11:14:39 +02:00
Jean-Francois Dockes
06f43c573e 1st successful use of mh_exec (direct antiword exec)
--HG--
branch : WINDOWSPORT
2015-09-11 11:26:53 +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
ef4bb2f4ca Windows: 'trexecmd -o env' sort of works, but waits for timeout at end of input
--HG--
branch : WINDOWSPORT
2015-09-08 15:49:13 +02:00
Jean-Francois Dockes
693d22a896 first non-compiling and incomplete draft of the windows execmd module
--HG--
branch : WINDOWSPORT
2015-09-08 10:24:19 +02:00
Jean-Francois Dockes
fa556413f3 execcmd: type clean up + make sure that duplex / filter (not used by recoll) mode works by closing outgoing pipe at end of data
--HG--
branch : WINDOWSPORT
2015-09-08 07:56:50 +02:00
Jean-Francois Dockes
a29af22b15 execmd comments and test driver only
--HG--
branch : WINDOWSPORT
2015-09-07 19:10:19 +02:00
Jean-Francois Dockes
5d0e8330fb execm test driver: use to test rcldoc.py
--HG--
branch : WINDOWSPORT
2015-09-07 11:15:46 +02:00
Jean-Francois Dockes
fc2019cc63 refcntr transition to shared_ptr. test exec.release->reset 2015-09-05 08:51:41 +02:00
Jean-Francois Dockes
41b838fbed fileurltolocalpath: Only remove fragment indicator from url if path looks like an html file
--HG--
branch : WINDOWSPORT
2015-09-04 11:35:09 +02:00
Jean-Francois Dockes
649a893d1b Hide most ExecCmd internals
--HG--
branch : WINDOWSPORT
2015-09-04 10:12:17 +02:00
Jean-Francois Dockes
8022515a00 Fix computation of file:// urls from paths
--HG--
branch : WINDOWSPORT
2015-09-02 09:11:25 +02:00
Jean-Francois Dockes
a66209dc6e _WIN32 ifdefs cleanup
--HG--
branch : WINDOWSPORT
2015-09-02 08:40:39 +02:00
Jean-Francois Dockes
c1c73573d8 more int fixups
--HG--
branch : WINDOWSPORT
2015-09-02 07:34:59 +02:00
Jean-Francois Dockes
861fbec847 tst 2015-09-02 07:31:09 +02:00
Jean-Francois Dockes
1cbf02f713 Suppressed many integer size warnings by a mix of type adjustments and casts,
none of which should have a real effect.

--HG--
branch : WINDOWSPORT
2015-09-01 19:39:20 +02:00
Jean-Francois Dockes
2fe75dba28 More small windows int types fixes.
--HG--
branch : WINDOWSPORT
2015-09-01 15:03:21 +02:00
Jean-Francois Dockes
074d1b861a length() comparisons in stringccxmp were reversed...
--HG--
branch : WINDOWSPORT
2015-09-01 15:02:03 +02:00
Jean-Francois Dockes
847ac9e599 missing errno.h
--HG--
branch : WINDOWSPORT
2015-09-01 08:14:17 +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
3aeffea387 recollindex and recollq build and run but fail because of unac error
--HG--
branch : WINDOWSPORT
2015-08-31 13:08:50 +02:00
Jean-Francois Dockes
14c8e740d6 Windows: fixed a number of int size warnings mostly by casting them away
--HG--
branch : WINDOWSPORT
2015-08-30 17:30:31 +02:00
Jean-Francois Dockes
75517f7497 recollindex builds. Still need to implement quite a lot of ifndefed stuff (pathut, rclconfig)
--HG--
branch : WINDOWSPORT
2015-08-30 15:30:50 +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
62f4f7bd81 more safexx posix stuff 2015-08-22 08:37:58 +02:00
Jean-Francois Dockes
c7fb85981c add routine to test prog to exercise execm proto 2015-08-21 08:33:13 +02:00
Jean-Francois Dockes
c6e228b7c6 Prepared windows port by removing a number of spurious reference to unix-specific interfaces, and using some xapian posix adaptor includes 2015-08-19 14:41:10 +02:00
Jean-Francois Dockes
82922bda8d removed a number of gratuitous linuxisms 2015-08-18 12:44:53 +02:00
Jean-Francois Dockes
4d1f679eac Use std[::tr1]::shared_ptr instead of local RefCntr by default 2015-08-09 13:54:24 +02:00
Jean-Francois Dockes
abe9fb671f clean up autoconf of unordered_xx, prepare change to shared_ptr 2015-08-09 10:21:46 +02:00
Jean-Francois Dockes
74faf031a5 test drivers build 2015-08-08 10:55:55 +02:00
Jean-Francois Dockes
1e2fdcd21d other ut/test drivers Makefiles 2015-08-05 09:01:11 +02:00
Jean-Francois Dockes
37cad6cb27 fix ut/test drivers Makefile 2015-08-05 08:47:10 +02:00
Jean-Francois Dockes
4d35cbabfb Also index non-html files from the web queue and fix the Open operation for them 2015-07-24 16:30:13 +02:00
Jean-Francois Dockes
e59bf51445 Impose memory usage limit on external filters. Fixes issue #259 2015-07-18 19:30:49 +02:00
Jean-Francois Dockes
c8e9795f9e comments 2015-07-17 11:00:42 +02:00
Jean-Francois Dockes
fc21e61f51 missing std qualifier on queue 2015-07-02 15:20:23 +02:00
Jean-Francois Dockes
fd62105a9d replaced unused map with list 2015-06-26 13:37:06 +02:00
Jean-Francois Dockes
c7f5318e43 config checking: only test skippedPaths existence for user-added values, not defaults 2015-06-08 13:20:06 +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
efa5882a79 cosmetics+prepare change to shared_ptr+import unix socket support 2015-05-21 18:02:27 +02:00
Jean-Francois Dockes
45f37cfffb cosmetics+prepare shift to shared_ptr 2015-05-21 18:01:25 +02:00