Commit Graph
100 Commits
Author SHA1 Message Date
Jean-Francois Dockes 11152d2c9a mh_mbox ckpt before switching to streams 2019-08-08 09:40:51 +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 9bd463a770 fix untranslated tooltip 2019-08-07 11:39:02 +02:00
Jean-Francois Dockes 15a9720eeb shared 2019-08-07 11:38:47 +02:00
Jean-Francois Dockes 14ba0412f5 doc 2019-08-07 11:35:25 +02:00
Jean-Francois Dockes ec7fab78c5 fix crash when resetting restable search 2019-08-06 18:52:50 +02:00
Jean-Francois Dockes 13be18b60b restore restable highlight fix, lost in git maze 2019-08-06 18:40:08 +02:00
Jean-Francois Dockes 01eb2c60b1 gui special indexing: no indexing was done if the erase option was selected. Improve label 2019-08-06 17:19:45 +02:00
Jean-Francois Dockes c3bc2da9af bumped version to 1.25.20 2019-07-22 16:01:26 +02:00
Jean-Francois Dockes 21b918d447 Windows:confgui: process windows file names as unicode, no local8bit 2019-07-22 15:48:40 +02:00
Jean-Francois Dockes 30f37f0e23 indent 2019-07-22 15:44:32 +02:00
Jean-Francois Dockes 99ee4d456c Fix plural word issues in status message 2019-07-22 11:26:39 +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 3681e997e0 oops in last minute "cleanup" 2019-07-21 20:36:43 +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 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 0b7e12200a gui restable: contents were not reset when search was 2019-07-19 08:58:49 +02:00
Jean-Francois Dockes 9038a96425 updated messages 2019-07-18 19:52:27 +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
Jean-Francois Dockes 628da0e454 pst: new file name was appended to pffexport command instead of replacing old 2019-06-17 10:30:02 +02:00
Jean-Francois Dockes f747fdd825 windows: only index ost files in Outlook directory 2019-06-17 08:43:43 +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 be81082f38 default config: fixed some mtypes without icons or catgs 2019-06-17 08:12:33 +02:00
Jean-Francois Dockes e38e58c37a In case the self-doc was not sent first by the handler, its udi was not recalculated, and it clobbered the last subdoc 2019-06-16 13:46:00 +02:00
Jean-Francois Dockes be214c4a5a Take advantage of text storage when possible to display preview data for an unaccessible document 2019-06-16 11:49:18 +02:00
Jean-Francois Dockes a647d1c344 indent 2019-06-16 11:45:19 +02:00
Jean-Francois Dockes a464cb3d2c message 2019-06-16 07:42:45 +02:00
Jean-Francois Dockes dca18bc585 Try to give possible explanations when opening a preview fails 2019-06-15 19:21:52 +02:00
Jean-Francois Dockes e7ba872404 pst: need to copy some dlls to installation directory 2019-06-14 19:36:41 +02:00
Jean-Francois Dockes 3c36a64580 Merge branch 'master' of https://opensourceprojects.eu/git/p/recoll1/code 2019-06-14 14:34:17 +02:00
Jean-Francois Dockes 5d25094107 pst: pass the command line ipath as base64 as there is no msw way to pass utf-8 2019-06-14 14:33:49 +02:00
Jean-Francois Dockes d20172032b transcode: separate main program 2019-06-14 10:15:17 +02:00
Jean-Francois Dockes 6c73a0d666 pst: reset generator for new file 2019-06-13 16:16:32 +02:00
Jean-Francois Dockes bec40e9a31 test: fix small issue in config introduced by previous change 2019-06-13 16:15:47 +02:00
Jean-Francois Dockes 5ff1a92a51 pdf: ocr: small fixes, plus make pdfocr redefinable in subdirs 2019-06-13 09:47:25 +02:00
Jean-Francois Dockes 1991e132a7 bumped version to 1.25.19 2019-06-13 08:38:02 +02:00
Jean-Francois Dockes 9dcdb6e9a6 pdf: ocr function was broken for python3 in some cases (depending on how the ocr language was specified) 2019-06-13 08:33:55 +02:00
Jean-Francois Dockes 4c205e44e0 tests: test the xmp metadata extraction 2019-06-12 19:22:30 +02:00
Jean-Francois Dockes b895980e95 PDF: fix the XMP metadata extraction code for python3 and other issues. Also get metadata from XML attributes 2019-06-12 19:21:37 +02:00
Jean-Francois Dockes b759490559 gcc 9.1: comparison object needs to be invocable as const. fixes issue #95 2019-06-12 11:17:35 +02:00
Jean-Francois Dockes f0944ae0b2 rclpst: indexing / searching mostly working with maybe issues in data
charset conversions (check). Preview does not work, ipath needs conversion
inside pffexport
2019-05-28 18:39:37 +02:00
Jean-Francois Dockes 0101e6e160 bumped version ->1.25.18 2019-05-27 17:08:43 +02:00
Jean-Francois Dockes 2c9bc17587 fix webengine reslist which had stopped working at some point in qt revs. Now working with 5.9-5.12 at least 2019-05-27 17:04:28 +02:00
Jean-Francois Dockes c1553029b9 Pst on Unix: email message indexing seems fully ok 2019-05-27 12:17:41 +02:00
Jean-Francois Dockes cc4f4e0c74 ckpt: pst: basic indexing of email. no getipath/preview 2019-05-26 12:30:59 +02:00
Jean-Francois Dockes c7c413d9e7 email address in copyright 2019-05-26 12:29:36 +02:00
Jean-Francois Dockes 7489427086 pff: dumpreader successfully creating an mbox 2019-05-25 15:14:50 +02:00
Jean-Francois Dockes 602d34f9ff 1.25.17 for snippets bug 2019-05-24 09:00:13 +02:00
Jean-Francois Dockes 2a945c9443 abstract: we used to discard snippets too early, before they might get a phrase weight boost 2019-05-24 08:51:11 +02:00
Jean-Francois Dockes 15dc419fec windows: releases adjustments 2019-05-22 15:52:02 +02:00
Jean-Francois Dockes 202d3ada9a 1.25.16? 2019-05-22 14:48:04 +02:00
Jean-Francois Dockes 288450f7b8 ditto 2019-05-22 09:48:57 +02:00
Jean-Francois Dockes 00678a8d3b more typos 2019-05-22 09:47:00 +02:00
Jean-Francois Dockes a8cdc639c4 typo 2019-05-22 09:40:47 +02:00
Jean-Francois Dockes e63ce00935 sanitize version for tagging 2019-05-22 09:11:08 +02:00
Jean-Francois Dockes 2b586a70bd added traces to syngroup building 2019-05-22 09:09:13 +02:00
Jean-Francois Dockes 38b3e63bd4 log: print recoll version in rclinit 2019-05-21 19:34:39 +02:00
Jean-Francois Dockes bc5ea83a3a qt gui: fix highlighting for the table mode display.
the query terms were fetched too early, before executing the query.
Also share hiliter between restable and reslist and avoid allocating
another DocSource for restable, share the one from reslist.
2019-05-21 11:20:30 +02:00
Jean-Francois Dockes d3452ac18c hldata: toString()->const 2019-05-21 10:58:09 +02:00
Jean-Francois Dockes 8f878444eb log 2019-05-21 10:57:41 +02:00
Jean-Francois Dockes 81a91404a4 logs 2019-05-18 16:50:12 +02:00
Jean-Francois Dockes ef5eed8bc6 interim version 1.25.16~pre1 2019-05-17 10:31:30 +02:00
Jean-Francois Dockes 8ddcc578ac Reverted 34d43d1188
Keep only the main Snippet-producing makeabstract in rclquery, further
  formatting done in using modules
This was just a bad idea. The common methods are also used by the python module
2019-05-17 10:19:03 +02:00
Jean-Francois Dockes a5810508ed abstract: optimize the way we retrieve the wdfs by sorting the list of terms we query for. Big difference on very big docs 2019-05-17 09:39:26 +02:00
Jean-Francois Dockes fdb14e60ac building abstract from stored text: limit count of terms explored to avoid taking forever on monster (multi mega-terms) documents 2019-05-17 09:37:39 +02:00
Jean-Francois Dockes 37e203d535 mh_text: log message when skipping file with size over max 2019-05-17 09:32:46 +02:00
Jean-Francois Dockes 5f320997c4 doc 2019-05-17 09:31:29 +02:00
Jean-Francois Dockes 780521ec6c When checking if user input contains capital letters, take care of some lowercase letters which dont casefold to themselves 2019-05-16 15:35:11 +02:00
Jean-Francois Dockes 8428093f6a synfamily: indent/log formats/extracted test main. No real change 2019-05-16 15:31:41 +02:00
Jean-Francois Dockes 10a500aa1c comment 2019-05-16 15:29:52 +02:00
Jean-Francois Dockes d4900584c8 comment 2019-05-16 15:29:32 +02:00
Jean-Francois Dockes 119b3cf37f configure: test for vsnprintf to ease enabling unac debugging traces 2019-05-16 15:29:06 +02:00
Jean-Francois Dockes 7f63ab4559 extracted 2 more test drivers 2019-05-16 15:25:28 +02:00
Jean-Francois Dockes 62a969d820 synonyms: only load synonyms once if file did not change 2019-05-15 19:05:40 +02:00
Jean-Francois Dockes 824a1d3ebf GUI: preview: add Open popup entry and Open button for starting native viewer on current doc 2019-05-14 09:41:08 +02:00
Jean-Francois Dockes 34d43d1188 Keep only the main Snippet-producing makeabstract in rclquery, further formatting done in using modules 2019-05-13 18:11:23 +02:00
Jean-Francois Dockes ee5a260d54 Print xapian error when flush fails during purge 2019-05-02 10:36:24 +02:00
Jean-Francois Dockes c0b014b955 shared conftree.py: improved stringToStrings 2019-05-02 10:31:19 +02:00
Jean-Francois Dockes 88c9ff1935 bumped version to 1.25.15 2019-04-28 17:51:07 +02:00
Jean-Francois Dockes ec44e463c1 rclpython: catch more exceptions to avoid system reports 2019-04-28 17:50:02 +02:00
Jean-Francois Dockes 73d1cd36be ppt-dump: catch exceptions to avoid system reports 2019-04-28 17:49:42 +02:00
Jean-Francois Dockes 5cb04b605f bumped version to 1.25.14 2019-04-28 15:41:17 +02:00
Jean-Francois Dockes 33e1847b26 suppress misc warnings on fedora and macosx 2019-04-28 15:39:15 +02:00
Jean-Francois Dockes 3163f18fdd kio code adjustment related to previous GUI crash fix: forgot kde4 2019-04-28 09:25:52 +02:00
Jean-Francois Dockes 5d22ad3bcb python module: properly manage a per-db config 2019-04-21 10:55:56 +02:00
Jean-Francois Dockes b6fb1f7f26 python module: docs returned by fetchmany() had one extra ref and were never deallocated 2019-04-20 16:41:42 +02:00