55 Commits

Author SHA1 Message Date
Jean-Francois Dockes
1aea57fcb2 defined data access interface for external indexers 2016-06-01 09:46:47 +02:00
Jean-Francois Dockes
f70c92c629 rcldb::getSubDocs() (called from GUI show subdocs) was returning too many results because the parent/child ipath test was flawed 2015-11-03 08:40:13 +01:00
Jean-Francois Dockes
4d35cbabfb Also index non-html files from the web queue and fix the Open operation for them 2015-07-24 16:30:13 +02:00
Jean-Francois Dockes
d630cbbaec Delete RCL_USE_XATTR configure/compile time variable, it was not
useful. Add configuration variable to use mtime instead of ctime for update
detection. Useful on a system where xattrs would be modified but not
indexed, to avoid excessive reindexing.
2014-12-09 11:15:17 +01:00
Jean-Francois Dockes
9487a0cffa Code for reaping xattrs and cmd metadata did not need to be implemented as internfile members and can be used in other contexts 2013-10-03 09:38:35 +02:00
Jean-Francois Dockes
3fbcbc8c2b allow multiple field output from metadatacmds entry beginning with rclmulti. Add noxattrfields config variable to allow disabling extended attributes usage 2013-09-27 12:07:32 +02:00
medoc
641acd3d68 move the execution of external metadata-gathering commands from fsindexer to internfile for consistency of handling with filter-generated metadata 2013-09-06 11:51:00 +02:00
Jean-Francois Dockes
a1b7018cfd Fix problems which occurred when using functions like open-parents with multiple indexes containing identical paths (udis) 2013-05-25 11:26:57 +02:00
Jean-Francois Dockes
a7728ceb91 changed the mime handler cache key (was the mime type), to avoid having multiple copies of the same filter when applied to different mime types. This reduces a lot the number of processes during indexing, with no impact on performance 2013-04-25 18:18:48 +02:00
Jean-Francois Dockes
3c80e51940 simplified temp file handling for compressed documents and, for querying, implemented caching for last file uncompressed 2013-03-06 18:52:57 +01:00
Jean-Francois Dockes
2d5c2a8058 split the iDocToFile method into static and member parts for use from python module 2012-12-20 11:15:10 +01:00
Jean-Francois Dockes
7945e04c5f removed static decls for previously deleted methods 2012-12-20 08:10:54 +01:00
Jean-Francois Dockes
d2acd4896b comments 2012-12-20 08:05:12 +01:00
Jean-Francois Dockes
b8963db4b1 cleaned up the missing helper storage class 2012-10-28 16:43:19 +01:00
Jean-Francois Dockes
5add2e2384 Arrange so we can now open the parent of a document (e.g. chm file instead of temp copy of html page inside chm), even when the parent is itself embedded in an archive 2012-10-12 16:54:52 +02:00
"Jean-Francois Dockes ext:(%22)
2870274f80 slightly simplified temp file handling 2012-08-21 08:35:39 +02:00
Jean-Francois Dockes
643f4d56bb internals: virtualized the doc fetcher interface 2012-06-05 07:16:11 +02:00
Jean-Francois Dockes
516863b5d6 GUI: perform up to date check before previewing a subdoc. This is for example to avoid showing the wrong message if a mail folder has been compacted 2012-01-20 17:48:55 +01:00
Jean-Francois Dockes
1931595637 GUI: added menu entry to show all the mime types actually indexed (by content) 2011-11-25 19:47:56 +01:00
"Jean-Francois Dockes ext:(%22)
6b04fe7f2c The record for an attachment for which conversion failed (ie: image without exiftool) would erase the message's record because its ipath was not updated 2011-07-16 11:53:54 +02:00
Jean-Francois Dockes
631121e24e internfile: keep around temp file for possible caller use 2011-05-09 07:00:34 +02:00
Jean-Francois Dockes
55f124725f Fix problems that occurred when multiple threads were trying to read/convert files at the same time (ie: indexing and previewing threads in the GUI calling internfile()). Either get rid of or lock-protect all shared data, eliminate misc initialization possible conflicts by using static initializers. Hopefuly closes issue #51 2011-04-28 10:58:33 +02:00
Jean-Francois Dockes
b28eaf23fb Got rid of all the old RCS id strings 2011-04-27 08:22:17 +02:00
Jean-Francois Dockes
f4c1c3678d indexing: an error on an archive member could crash or block the indexing because of the unclean way the ipath was passed in/out of internfile(). Closes issue #55 2011-04-25 16:41:43 +02:00
Jean-Francois Dockes
ad4f24923f uncompress file before starting external viewer except if in the nouncompforviewmts list 2010-09-20 10:35:26 +02:00
"Jean-Francois Dockes ext:(%22)
6aeef686fc Created class to simplify temp directory management 2010-07-24 12:08:06 +02:00
Jean-Francois Dockes
1b8ce2fc72 restore indexallfilenames==0 function 2010-07-05 15:26:33 +02:00
Jean-Francois Dockes
162cb7fe98 Ensure that GUI "Open" works with firefox/beagle cache data: use the backend-agnostic internfile interface in iDocToFile 2010-06-09 16:34:59 +02:00
dockes
631d564123 comments 2009-11-23 17:36:44 +00:00
dockes
bbba826c06 1st beagle version with index/preview working 2009-11-13 13:29:34 +00:00
dockes
eea2b1fec5 added explicit flag parameter to Internfile constructeur for helping with beagle queue integration 2009-11-10 09:39:13 +00:00
dockes
96dba3a3ee allow opening parent/enclosing doc with native editor in reslist 2009-11-06 11:33:32 +00:00
dockes
9b44f94629 xattrs: make them work with non-text files. Use ctime for up to date checks 2009-08-13 06:32:33 +00:00
dockes
bc207a3986 added saveToFile menu entry to reslist 2009-01-21 16:42:26 +00:00
dockes
2462b079fa added menu to display missing helpers 2008-10-08 16:15:22 +00:00
dockes
9082f3bf65 allow specifying format and charset for ext filters. Cache and reuse filters 2008-10-04 14:26:59 +00:00
dockes
31b841de7b arrange for setting aside an html version when working for preview 2008-10-03 06:23:23 +00:00
dockes
b408702be0 strimline and restructure the doctree-exploring loop to make it close to understandable 2008-09-05 10:36:06 +00:00
dockes
353ddb9a96 move ipath computations from reslist to internfile 2008-08-26 07:33:05 +00:00
dockes
348b4bc717 comments 2007-06-26 16:09:19 +00:00
dockes
39cecd4b8e get test driver to compile 2007-06-19 12:27:52 +00:00
dockes
490818138d improve handling of missing helpers messages 2007-02-08 17:05:12 +00:00
dockes
e9de6371d8 clarify temp dir usage in internfile 2007-02-08 12:25:49 +00:00
dockes
33dd17daeb arrange for error info about missing helpers to trickle up to the user 2007-02-06 18:01:58 +00:00
dockes
e413df1786 dont stop processing a complex document on the first next_document error: pop level and go on 2007-01-15 13:06:57 +00:00
dockes
50b01c6ea4 index directory names 2006-12-19 08:40:50 +00:00
dockes
8f1f2ca66d mail attachments sort of ok 2006-12-16 15:39:54 +00:00
dockes
229eb0de78 test data indexing result same terms as 1.6.3 2006-12-15 16:33:15 +00:00
dockes
33c95ef1ba Dijon filters 1st step: mostly working needs check and optim 2006-12-15 12:40:24 +00:00
dockes
3872f8cf38 *** empty log message *** 2006-01-30 11:15:28 +00:00