64 Commits

Author SHA1 Message Date
Jean-Francois Dockes
3b18facc16 Fixed some "unused xxx" warnings + include autoconfig 2015-10-07 08:30:49 +02:00
Jean-Francois Dockes
031a2a0b4a Small filter fixes
--HG--
branch : WINDOWSPORT
2015-09-14 14:19:23 +02:00
Jean-Francois Dockes
86ef362461 rclimg (tweaks for perl)
--HG--
branch : WINDOWSPORT
2015-09-14 10:33:39 +02:00
Jean-Francois Dockes
24c77d2984 more filter conversion to python: svg and xml. Get rid of rclnull
--HG--
branch : WINDOWSPORT
2015-09-14 09:51:11 +02:00
Jean-Francois Dockes
82bdf21833 windows: arrange so that we can use simple python script names in mimeconf
--HG--
branch : WINDOWSPORT
2015-09-12 16:18:05 +02:00
Jean-Francois Dockes
06f43c573e 1st successful use of mh_exec (direct antiword exec)
--HG--
branch : WINDOWSPORT
2015-09-11 11:26:53 +02:00
Jean-Francois Dockes
75517f7497 recollindex builds. Still need to implement quite a lot of ifndefed stuff (pathut, rclconfig)
--HG--
branch : WINDOWSPORT
2015-08-30 15:30:50 +02:00
Jean-Francois Dockes
d4cd1dd91c 1st mods to get a build under windows. Does not build yet, far from it
--HG--
branch : WINDOWSPORT
2015-08-30 11:19:18 +02:00
Jean-Francois Dockes
9ba0b3e8bc Replaced RSA md5 code with public domain OpenBSD/debian dpkg version 2015-03-01 14:28:01 +01:00
Jean-Francois Dockes
bb284d088e Fixed a number of issues put into light by clang on FreeBSD 10 2013-10-29 15:01:59 +01: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
caf5d105df Add support for indexing symlinks as such. Use inode/directory instead of application/x-fsdirectory as directory mime type. Fix stat/lstat usage in places (wipedir) 2013-04-17 18:34:02 +02:00
Jean-Francois Dockes
a8f410606d recollindex threads: reset the config pointer when retrieving handler from cache. Seems to have been the cause of the crashes 2012-11-30 19:34:19 +01:00
Jean-Francois Dockes
cd53c0a536 Multithreaded indexing seems not to crash anymore thanks to locked existence map 2012-11-02 21:43:51 +01:00
Jean-Francois Dockes
ee7d0f2ee7 1st parallel multithreaded version of indexing which can do my home without crashing... Let's checkpoint 2012-11-01 11:19:48 +01:00
Jean-Francois Dockes
2fc294a9c6 factored out common charset handling code in exec and execm, cleaned up charset and textplain handling in mh_mail 2012-10-06 12:14:04 +02:00
Jean-Francois Dockes
e0bc65bfdd small mods inocuous or auxiliary to case/diac sensitivity but which can live in main branch 2012-09-13 12:25:01 +02: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
38e0957962 const string cleanup 2011-10-01 16:39:38 +02:00
"Jean-Francois Dockes ext:(%22)
802ebc7704 comments 2011-08-21 13:29:06 +02:00
Jean-Francois Dockes
ba5e0c41b4 index: fixed the way we process some mime type aliases, which resulted in accumulating handlers in the handler cache 2011-06-21 19:18:55 +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
52fda2a075 GUI: lock handler cache against multiple thread access 2011-04-24 08:47:27 +02: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
292859a3ac Index: improve processing/rejection for binary files disguising as scripts (ie: shar archives). Use "internal text/plain" instead of "exec rcltext" for script files so that normal text/plain processing is done (max size, splits). Reject text if more than 25% iconv errors 2011-03-01 08:39:30 +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
fccc9a590f mimehandler: accept additional parameter from config after internal for using different mime type 2011-01-08 19:22:09 +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
34151006fe Index: add call to get rid of filter subprocesses at end of indexing (for the GUI thread) 2010-11-23 19:35:44 +01:00
Jean-Francois Dockes
53ec6fefc2 comment 2010-09-12 19:19:34 +02:00
Jean-Francois Dockes
c7c3f2e269 html files would still be indexed even when filtered out by indexedmimetypes because the handler cache was searched before using the config data 2010-07-09 09:21:07 +02:00
dockes
93d0aa3fee add <pre> tag to text/plain translated into qt html to preserve indentation. Removes need for rcltext (which did just this). Allow specifying any text/xxx as internal (allows having specific editor but no filter) 2009-11-30 10:04:27 +00:00
dockes
e57408bf7c allow setting attrs on mimeview defs, factorize some code with mhExecFactory 2009-11-21 13:36:56 +00:00
dockes
1cd62ace41 use a confsimple to parse the additional filter attributes 2009-11-21 11:18:02 +00:00
dockes
e7dfd57d6e Allow fields local to a subtree to be set in the configuration 2009-10-30 08:59:30 +00:00
dockes
c8a88029f7 execm persistent filters 2009-10-09 13:58: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
08e4f8e7b4 comments 2009-02-06 16:48:48 +00:00
dockes
229645a0e2 added optional extended file attributes support 2009-01-21 13:55:12 +00:00
dockes
bfc6512d24 need to transcode text to utf-8 2008-10-09 09:19:37 +00:00
dockes
0a04919f5a Disable filters with missing helpers for the whole indexing pass 2008-10-06 06:22:47 +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
57b6f22901 indexedmimetypes 2007-11-16 14:28:52 +00:00
dockes
50b01c6ea4 index directory names 2006-12-19 08:40:50 +00:00
dockes
33c95ef1ba Dijon filters 1st step: mostly working needs check and optim 2006-12-15 12:40:24 +00:00
dockes
4141db6d50 move findFilter usage out of mh_exec 2006-12-13 09:13:18 +00:00
dockes
b42df0c260 result list: show preview and edit links only when they can be used 2006-03-29 13:08:08 +00:00
dockes
d4852f3b0d added code to specifically index/search file names 2006-03-20 16:05:41 +00:00
dockes
2a3075d6a6 reference to GPL in all .cpp files 2006-01-23 13:32:29 +00:00
dockes
68b7887eb3 *** empty log message *** 2005-11-25 08:53:13 +00:00