5198 Commits

Author SHA1 Message Date
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
af664e7768 Input handlers: more closing to help with windows temp files 2019-07-21 10:03:03 +02:00
Jean-Francois Dockes
a1daa8de55 Epub: close file (windows temp file cleanup) 2019-07-20 19:17:29 +02:00
Jean-Francois Dockes
16a051c3b6 rcltext.py: make sure to close file (windows temp file removal) 2019-07-20 19:09:07 +02:00
Jean-Francois Dockes
7d168dc198 rclchm: close file (windows temp file removal) 2019-07-20 19:08:33 +02:00
Jean-Francois Dockes
2c454b92a6 rclimg: explicitely close file handle (windows temp file removal) 2019-07-20 15:14:32 +02:00
Jean-Francois Dockes
703caf2ee4 rclzip: close file when done (windows temp file cleanup) 2019-07-20 14:45:11 +02:00
Jean-Francois Dockes
d626c7f889 gui restable: contents were not reset when search was 2019-07-19 08:59:50 +02:00
Jean-Francois Dockes
0b7e12200a gui restable: contents were not reset when search was 2019-07-19 08:58:49 +02:00
Jean-Francois Dockes
abaf090350 restable: fix/properly implement Return as Open shortcut 2019-07-19 08:35:54 +02:00
Jean-Francois Dockes
685e13beb3 updated messages 2019-07-18 19:59:42 +02:00
Jean-Francois Dockes
6dfd9d0fe5 updated messages 2019-07-18 19:56:40 +02:00
Jean-Francois Dockes
9038a96425 updated messages 2019-07-18 19:52:27 +02:00
Jean-Francois Dockes
3760851616 version 2019-07-17 15:51:20 +02:00
Jean-Francois Dockes
83da93cab9 do not include excluded terms in the highlight information data 2019-07-17 11:35:03 +02:00
Jean-Francois Dockes
e1b98c1e22 GUI: snippets: add context menu to switch page/relevance sort 2019-07-17 11:23:06 +02:00
Jean-Francois Dockes
a22451220d hldata: comments + map->unordered_map 2019-07-17 11:22:18 +02:00
Jean-Francois Dockes
fe03caa12e bump version 2019-07-09 14:55:34 +02:00
Jean-Francois Dockes
23ef7516ce experiment: ignore all ascii whitespace when generating cjk ngrams 2019-07-09 14:55:12 +02:00
Jean-Francois Dockes
3155179308 Add Return as a keyboard shortcut to open the document for the current row 2019-07-07 19:12:38 +02:00
Jean-Francois Dockes
5fe2096a68 none 2019-07-06 15:07:22 +02:00
Jean-Francois Dockes
4c12c0e833 none 2019-07-06 15:04:36 +02:00
Jean-Francois Dockes
dcd47df726 bump version 2019-07-06 14:59:11 +02:00
Jean-Francois Dockes
20365a9dcf fix the python module for the new hldata structure 2019-07-06 14:58:01 +02:00
Jean-Francois Dockes
29365ef24f snippets: raise the window when updating the content 2019-07-06 14:20:36 +02:00
Jean-Francois Dockes
f1b81018ee less log 2019-07-06 14:00:14 +02:00
Jean-Francois Dockes
ae3df4f7c3 cjk phrases: hopefully the right fix this time for slack computation. lastpos-termcount correction was applied twice 2019-07-06 13:52:51 +02:00
Jean-Francois Dockes
55545a7bdb hldata: more tests 2019-07-06 13:50:26 +02:00
Jean-Francois Dockes
5b6436ca08 add test driver for hldata:matchGroup + some help from textsplit 2019-07-06 11:39:09 +02:00
Jean-Francois Dockes
c588fddb83 hldata: matchGroup: return false if no match found 2019-07-06 11:38:21 +02:00
Jean-Francois Dockes
63cfcf0ad5 hldata generation during query processing: increase slack if position increases faster than term count (cjk) 2019-07-06 08:28:05 +02:00
Jean-Francois Dockes
9ae775b095 snippets: allow a little more contiguous expansion of current snippet 2019-07-06 08:26:42 +02:00
Jean-Francois Dockes
c858f16877 updated the message files 2019-07-05 19:12:09 +02:00
Jean-Francois Dockes
fcc6ae556c bump master to 1.26 2019-07-05 18:05:53 +02:00
Jean-Francois Dockes
f877e7e459 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-05 18:02:09 +02:00
Jean-Francois Dockes
00eb803f5d Do not process hangul as words, but as ngrams. Same issues as with Katakana: word separation too hard 2019-07-05 17:57:00 +02:00
Jean-Francois Dockes
4ad8a08030 hldata: cleanup + support phrases 2019-07-05 11:43:14 +02:00
Jean-Francois Dockes
3f33d1d0ea utf8iter driver: read from stdin 2019-07-05 11:33:29 +02:00
Jean-Francois Dockes
75759ed481 GUI: snippets: dont recreate the window each time, allow displaying data for multiple documents. restable: update snippets when changing current row 2019-07-03 13:46:38 +02:00
Jean-Francois Dockes
b79332580a Regularise processing of hangul characters (there was a mixup of cjk/regular processing), and add a build-time option to either use cjk/ngram or regular term splitting for them 2019-07-02 18:02:38 +02:00
Jean-Francois Dockes
36caf02133 bumped version to 1.25.20~pre1 2019-06-28 15:35:28 +02:00
Jean-Francois Dockes
3ccd2364b9 GUI snippets window: add options for the max list length and for sorting the snippets by page number 2019-06-28 14:20:47 +02:00
Jean-Francois Dockes
eb83ebfec6 none 2019-06-28 14:19:34 +02:00
Jean-Francois Dockes
0a460ea9c6 The container for temp files to be removed was a vector, but it needed stable member addresses. make it a list 2019-06-27 11:12:01 +02:00
Jean-Francois Dockes
59f6c503cb shared 2019-06-27 11:11:17 +02:00
Jean-Francois Dockes
3f7d270691 GUI preview: improve operation when the index data is not up to date.
Avoid erasing all the file index data in case the subsequent update fails
(e.g. the file is locked). Improve the messages. Check for previous
indexing error, and modify the message.
2019-06-24 17:37:37 +02:00
Jean-Francois Dockes
4c2fd82d4e pst: wait for pffexport and generate error if exit code is not 0 2019-06-24 11:47:17 +02:00
Jean-Francois Dockes
ee8c5410bd Avoid purging existing subdocuments on file indexing error (e.g.: maybe a file lock issue that will go away) 2019-06-21 17:18:15 +02:00
Jean-Francois Dockes
db9fd248f3 7z: properly list the needed package as pylzma 2019-06-21 16:57:58 +02:00
Jean-Francois Dockes
2b34ccc471 tests: add sort specs to avoid bogus errors 2019-06-21 16:56:37 +02:00