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
Jean-Francois Dockes
6dd3fdc725
tests
2014-04-01 16:11:31 +02:00
Jean-Francois Dockes
2949af1ab7
remove unused var
2014-03-10 10:12:13 +01:00
Jean-Francois Dockes
e77c510dfe
Store original working directory before changing, for later turning user args into absolute paths
2013-06-06 14:05:26 +02:00
Jean-Francois Dockes
167c8a4286
fix minor issues in multisave and popup menus
2013-04-28 16:58:05 +02:00
Jean-Francois Dockes
caffe8b6f3
added function to save multiple result selection in restable into files
2013-04-28 09:48:40 +02:00
Jean-Francois Dockes
0ae8ec99f6
more utf-8 err checking prevents bogus terms in index
2013-03-30 10:24:10 +01:00
Jean-Francois Dockes
838ea6d623
got rid of STRIPCHARS compile-time variable to make the code more readable, and corresponding configure option. + make sure that CONFDIR from environment gets translated to absolute path
2013-03-27 17:38:11 +01:00
Jean-Francois Dockes
4a870f984d
Add parameter to chdir on recollindex startup, /tmp by default. Closes issue #129
2013-03-07 11:05:54 +01:00
Jean-Francois Dockes
4ceb46b13d
add noremove option to TempFile
2012-12-20 11:15:43 +01:00
Jean-Francois Dockes
62a8bff555
use vfork when possible + small cleanups in mt init
2012-11-18 08:33:33 +01:00
Jean-Francois Dockes
5fc8f240fe
from 1.18 branch: Adjust things for using the new Firefox plugin: remove visible Beagle references + fix 1.18 web queue indexing bugs
2012-11-01 11:30:39 +01:00