89 Commits

Author SHA1 Message Date
Jean-Francois Dockes
78bd8d63da use vector instead of list for execmd arg list 2012-04-11 15:36:49 +02:00
Jean-Francois Dockes
85166c93b2 Changed the way we handle document sizes. The fbytes field should now be in most cases the most "natural" document size. pcbytes holds the top external container size and dbytes the text size 2012-03-07 15:39:30 +01:00
Jean-Francois Dockes
638d468796 clarified the use of string keys inside the Filter metaData array 2012-03-07 10:13:46 +01: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
036937e8bf added getmeta() method to Rcl::Doc and use in misc places 2012-01-20 14:48:50 +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
38e0957962 const string cleanup 2011-10-01 16:39:38 +02:00
Jean-Francois Dockes
487b623faf log 2011-10-01 09:31:38 +02:00
Jean-Francois Dockes
424e4173ba threading cleanup: add mutex protection around moronic change to transcode. Add mutex to equiv issue in unac. Rename const strings everywhere to cstr_xx to ease future detection of potentially problematic static variables. Most probably close issue #65 2011-09-28 15:01:14 +02: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
67ad817e52 internfile: revert 2314:17098b627784 which was unneeded and wrong 2011-06-22 17:49:51 +02:00
Jean-Francois Dockes
ce44c0a875 preview: use the index idea of the mime type after decompression instead or re-running mimetype(). This will fix preview for compressed man pages (which were identified as text/troff after decomp because not under man/ 2011-06-22 16:09:55 +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
2d8e57ee4f Gui preview, internfile: handle case where target doc of a compound ipath still needs further translation (is not text or html) 2011-04-26 08:26:09 +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
7eb182f53c index: escape colon characters inside ipaths. This could potentially happen with the zip (ie: zipped maildir) and chm filters 2011-03-12 12:03:39 +01:00
Jean-Francois Dockes
e1a20aa810 got rid of accesses to global config through getMainConfig() 2011-03-02 13:47:07 +01:00
Jean-Francois Dockes
320a869d6e Indexing filters: somewhat clarified and unified some charset-related parameters 2011-02-01 15:04:49 +01:00
Jean-Francois Dockes
6ebc4b4fad fix r2093 which broke indexallfilenames 2010-12-15 15:45:24 +01:00
Jean-Francois Dockes
52e845a9fb debug traces: add is_unknown() method to filters to help with pointing out unhandled mime types 2010-12-14 18:21:39 +01:00
Jean-Francois Dockes
5b8bb28c5d define renameormove() function and use it in internfile 2010-09-27 12:59:42 +02:00
Jean-Francois Dockes
0fa92899f9 gcc44 compile 2010-09-23 19:05:11 +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
e327ea0b4e make stringtotokens use vector 2010-09-13 14:17:22 +02:00
Jean-Francois Dockes
8279d0f425 adjusted log messages 2010-09-10 19:02:04 +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
Jean-Francois Dockes
b87a23bfca separated out the cache access part from beaglequeueindexer. this avoids having to link the pure query programs with indexing code 2010-02-05 12:46:41 +01:00
dockes
2ad0326ed7 implemented a cache for mbox message header offsets 2009-11-27 12:41:05 +00:00
dockes
ef7c432841 update test driver 2009-11-27 07:00:21 +00:00
dockes
4cac0f56b5 in FileInterner::FileInterner(Rcl::Doc) (query), declare the BeagleQueue static so that the cache persists between FileInterner objects 2009-11-23 17:37:59 +00:00
dockes
120cf441ba Lack of error checking after have_document() in preview case could lead to looping, and cancellation was not checked to make things worse 2009-11-16 16:18:04 +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
229645a0e2 added optional extended file attributes support 2009-01-21 13:55:12 +00:00
dockes
bf16706d50 added compressedfilemaxkbs 2009-01-17 14:56:52 +00:00
dockes
8a698c5c6b fixed handling of decompression errors, which was wrong but not catastrophly so in most cases 2009-01-15 17:07:09 +00:00
dockes
94765318f6 log levels 2008-10-10 08:04:54 +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
7d30485f87 general field name handling cleanup + sort facility in rclquery 2008-09-16 08:18:30 +00:00
dockes
89c3dfdf98 foundation work for configurable stored/indexed fields 2008-09-08 16:49:10 +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