73 Commits

Author SHA1 Message Date
Jean-Francois Dockes
6567d7d912 shared 2021-01-17 10:51:16 +01:00
Jean-Francois Dockes
e8a5ee327d Windows wide path conversions: don't use SYSPATH outside pathut.cpp 2020-09-30 12:31:51 +01:00
Jean-Francois Dockes
19eac2d7dc Renamed path_open() -> path_streamopen() 2020-09-29 13:35:55 +02:00
Jean-Francois Dockes
4b928ee57e Simplify file-related operations portability by moving more code to the system-independant interface in pathut (esp.: dir reading) 2020-09-29 09:48:34 +02:00
Jean-Francois Dockes
90f39ffacc move path comparison to pathut 2020-09-28 14:03:05 +02:00
Jean-Francois Dockes
5915dd6cea recollindex -r: make path args absolute using the original working directory, not the rundir (tmp) 2020-07-13 10:47:32 +02:00
Jean-Francois Dockes
476a3ba743 shared 2020-07-13 10:46:05 +02:00
Jean-Francois Dockes
f15e3f21fa Windows: replace unlink() with unicode-capable path_unlink() 2020-06-02 10:56:55 +01:00
Jean-Francois Dockes
0f8b53d43b pathut: path_chdir, more error checking in conversions 2020-06-02 08:56:02 +01:00
Jean-Francois Dockes
2c44b805cf shared: use more portable path_open() method 2020-05-18 09:02:06 +02:00
Jean-Francois Dockes
69df9196d9 shared code: windows simplifications 2020-05-11 07:45:22 +02:00
Jean-Francois Dockes
12ebb7ac6e Windows: deal with non-ASCII user login, non-ascii paths in confdir etc. 2020-04-15 14:03:04 +01:00
Jean-Francois Dockes
93262e57a6 pathut: pidfile has no real reason to use pid_t, replace with int and make windows life easier 2020-04-03 08:37:36 +02:00
Jean-Francois Dockes
34d23589a2 remove struct stat from interfaces 2020-03-31 11:17:07 +02: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
33e1847b26 suppress misc warnings on fedora and macosx 2019-04-28 15:39:15 +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
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
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
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
306fa42f17 comment 2016-08-13 09:07:29 +02:00
Jean-Francois Dockes
7aa4edf91b Merged utility file versions with other packages 2016-03-22 13:35:35 +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
d013ecb1bc Windows: fix path splitting for the XP field 2015-10-14 10:53:15 +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
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
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
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
4d1f679eac Use std[::tr1]::shared_ptr instead of local RefCntr by default 2015-08-09 13:54:24 +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
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
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
caffe8b6f3 added function to save multiple result selection in restable into files 2013-04-28 09:48:40 +02: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
4272939c3d add possibility to import tags from external app, e.g. tmsu 2013-01-22 18:30:18 +01:00
Jean-Francois Dockes
4ceb46b13d add noremove option to TempFile 2012-12-20 11:15:43 +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
Jean-Francois Dockes
9a31680766 Use new location for thumbnails directory as per thumbnails std 8.0 2012-10-30 15:33:33 +01:00
Jean-Francois Dockes
e241972c2c make sure a TempDir class cant be copied 2012-10-28 16:48:05 +01:00
Jean-Francois Dockes
ec7b40a52e cosmetics: list -> vector in more places 2012-04-11 19:58:08 +02:00