Jean-Francois Dockes
d4c099ab59
merged branch 1.25 fixes
2019-08-09 11:54:39 +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
4a5bdd98c3
smallut: the eq of regexec is std::regex_search, not match
2019-08-07 17:04:51 +02:00
Jean-Francois Dockes
9a68157907
mh_mbox: improve diags for win debugging
2019-08-07 13:32:23 +02:00
Jean-Francois Dockes
854326a0ba
renameormove: Windows: unlink existing file before rename
2019-08-06 16:31:59 +02:00
Jean-Francois Dockes
c18f069c58
Windows: add the recoll temporary files directory to skippedPaths
2019-07-22 09:33:19 +02:00
Jean-Francois Dockes
6b8ba05d0f
oops in last minute "cleanup"
2019-07-21 20:37:44 +02:00
Jean-Francois Dockes
3681e997e0
oops in last minute "cleanup"
2019-07-21 20:36:43 +02:00
Jean-Francois Dockes
6a405e2089
hldata: comments + map->unordered_map
2019-07-21 19:13:24 +02:00
Jean-Francois Dockes
910a46118a
less log
2019-07-21 19:13:24 +02:00
Jean-Francois Dockes
4a56748fe5
hldata: matchGroup: return false if no match found
2019-07-21 19:13:24 +02:00
Jean-Francois Dockes
35ee3f7a13
Highlighting and snippets extraction: reworked to handle phrases properly. Use a compound position list instead of multiplying the OR groups inside a near clause
2019-07-21 19:09:51 +02:00
Jean-Francois Dockes
0b16935016
hldata: cleanup + support phrases
2019-07-21 19:09:51 +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
59f6c503cb
shared
2019-06-27 11:11:17 +02:00
Jean-Francois Dockes
45043b816f
add onlyNames config variable for filtering file names
2019-06-17 08:28:14 +02:00
Jean-Francois Dockes
d20172032b
transcode: separate main program
2019-06-14 10:15:17 +02:00
Jean-Francois Dockes
d3452ac18c
hldata: toString()->const
2019-05-21 10:58:09 +02:00
Jean-Francois Dockes
33e1847b26
suppress misc warnings on fedora and macosx
2019-04-28 15:39:15 +02:00
Jean-Francois Dockes
54f0eda990
make doc.meta an unordered_map
2019-04-20 15:04:19 +02:00
Jean-Francois Dockes
4d7d1a7965
windows powerfail signal: stop indexing only on resume and topdirs change
2019-03-19 14:38:57 +01:00
Jean-Francois Dockes
b3c1c260f0
comments
2019-03-12 14:51:23 +01:00
Jean-Francois Dockes
20910d3911
Add pylogfilename and pyloglevel functions to allow separating python logging. Unify recollinit calls
2019-03-10 14:52:46 +01:00
Jean-Francois Dockes
0cbc46732f
Fixed the FSF address
2019-03-04 11:19:14 +01:00
Jean-Francois Dockes
c93581201a
Allow defining a file name which causes directory skip if present
2019-02-20 17:46:49 +01:00
Jean-Francois Dockes
d538ba3190
shared
2019-02-20 17:45:25 +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
c2691f68bf
utf8 truncate utility function
2019-02-03 17:57:29 +01:00
Jean-Francois Dockes
17a8d72227
indenting
2019-02-01 09:02:10 +01:00
Jean-Francois Dockes
33febc9649
improve temp file creation error message
2019-01-31 16:59:15 +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
f6f4d8426a
comments + really compute md5 on uncompressed data
2018-12-28 10:32:01 +01:00
Jean-Francois Dockes
586ff90dc0
internal xslt: openoffice zip format working
2018-12-27 16:20:12 +01:00
Jean-Francois Dockes
094a119538
Fix crash and bad small file handling in readfile.cpp
2018-12-26 15:51:43 +01:00
Jean-Francois Dockes
00c0c5168b
internal xslt working for single-sheet (abw). Still leaking memory?
2018-12-25 10:57:26 +01:00
Jean-Francois Dockes
8b4174feb1
shared smallut
2018-12-16 16:19:39 +01:00
Jean-Francois Dockes
1de00ebae7
shared code
2018-12-13 15:29:22 +01:00
Jean-Francois Dockes
cb1b4ac993
netcon: less noise when kqueuing
2018-12-01 14:10:14 +01:00
Jean-Francois Dockes
0cdcaea437
mimeparse: use cp1252 instead of iso-8859 on values with residual 8bit chars.
...
Also: comments and missing std:: qualifiers
2018-11-22 17:42:00 +01:00
Jean-Francois Dockes
385a7b9547
indent + comments + explicit std::
2018-11-22 14:29:24 +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
1d62b50c7e
rearrange md5 code for sharing. update shared smallut
2018-11-06 09:46:05 +01:00
Jean-Francois Dockes
2fb61f2583
logsyserr(): no strerror_r on Windows
2018-10-24 17:10:21 +02:00
Jean-Francois Dockes
beebb1028b
Merge branch 'master' of https://opensourceprojects.eu/git/p/recoll1/code
2018-10-12 12:06:21 +02:00
Jean-Francois Dockes
8a09948745
shared: netcon: suppress gcc warning
2018-10-07 09:08:26 +02:00
Jean-Francois Dockes
2267e5f2f5
Simplified code by replacing misc direct regex/regex.h invocation with SimpleRegex wrapper
2018-09-03 13:29:16 +02:00