Jean-Francois Dockes
34d23589a2
remove struct stat from interfaces
2020-03-31 11:17:07 +02:00
Jean-Francois Dockes
0aed9b755e
shared
2020-02-28 11:24:05 +01:00
Jean-Francois Dockes
c5a1208457
Windows: handle wchar/utf-8 conversions in some other places.
2020-01-13 12:02:22 +01:00
Jean-Francois Dockes
d0bd639b34
comments
2019-10-06 12:03:00 +02:00
Jean-Francois Dockes
ad5beb43c2
mh_mbox: fix on Windows.
...
The 2 main issues were that the files were fopen'd in text mode, and that
the std-based SimpleRegexp implementation was wrong (match instead of search).
Also, make sure that we are using 64 bits interfaces.
2019-08-07 17:07:06 +02:00
Jean-Francois Dockes
9a68157907
mh_mbox: improve diags for win debugging
2019-08-07 13:32:23 +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
b3c1c260f0
comments
2019-03-12 14:51:23 +01:00
Jean-Francois Dockes
0cbc46732f
Fixed the FSF address
2019-03-04 11:19:14 +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
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
c82461cf39
modified license on some shared files (gpl->lgpl)
2018-11-06 16:27:54 +01:00
Jean-Francois Dockes
4524ae2acc
merged shared
2018-06-21 10:52:56 +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
ce76e5388e
merged shared ut
2017-06-28 08:13:30 +02:00
Jean-Francois Dockes
a8d5c2e73e
windows: path_canon should yield c:/ not c:
2017-02-08 18:37:47 +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
4538522b5b
windows: slashize input in path_absolute() (fixes -c option needing forward /)
2016-07-16 11:11:36 +02:00
Jean-Francois Dockes
65756ee1bc
add code to test thumbnail paths
2016-06-18 19:36:57 +02:00
Jean-Francois Dockes
15fa6c25e5
got rid of the statfs() version of fsocc(), keeping only the Posix statvfs() (except on win32 of course)
2016-05-23 19:21:20 +02:00
Jean-Francois Dockes
7aa4edf91b
Merged utility file versions with other packages
2016-03-22 13:35:35 +01:00
Jean-Francois Dockes
dade21bc3a
Make pathut/smallut change work on windows
2016-03-21 13:18:14 +01: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
ff15f8fb1c
Centralize stat calls to ensure consistency of time fields on windows
2016-01-08 11:23:10 +01:00
Jean-Francois Dockes
88e56987d5
windows: GUI index config: convert backslashes in skippedPaths
2015-12-01 17:34:49 +01:00
Jean-Francois Dockes
813b87722b
typo
2015-12-01 17:26:44 +01:00
Jean-Francois Dockes
27c0129c99
windows: fsocc and fix wpd2html install
2015-12-01 15:50:24 +01:00
Jean-Francois Dockes
d013ecb1bc
Windows: fix path splitting for the XP field
2015-10-14 10:53:15 +02:00
Jean-Francois Dockes
8324f09d19
Get uncompression to work and fix a few other issues
2015-10-13 16:48:16 +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
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
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
2fe75dba28
More small windows int types fixes.
...
--HG--
branch : WINDOWSPORT
2015-09-01 15:03:21 +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
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
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
906312519c
Minimum checking that we have enough space before attempting decompression. Change config default compressed file from no limit to 20 MB
2015-04-22 17:08:06 +02:00
Jean-Francois Dockes
9ba0b3e8bc
Replaced RSA md5 code with public domain OpenBSD/debian dpkg version
2015-03-01 14:28:01 +01:00
Jean-Francois Dockes
ad2576c8f7
Gui result list: add %P substitution for parent folder and F link target for opening the parent folder
2014-07-17 10:46:15 +02:00