Jean-Francois Dockes
1b59790b02
mimehandler: tabs change only
2019-11-24 11:00:43 +01: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
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
0cbc46732f
Fixed the FSF address
2019-03-04 11:19:14 +01:00
Jean-Francois Dockes
00c0c5168b
internal xslt working for single-sheet (abw). Still leaking memory?
2018-12-25 10:57:26 +01:00
Jean-Francois Dockes
19a4b2a287
Do not filter out text/html when it results from a conversion, even if excluded by indexedmimetypes/excludedmimetypes
2017-06-08 10:09:05 +02:00
Jean-Francois Dockes
5863d29e49
debug function
2017-05-12 10:12:48 +02:00
Jean-Francois Dockes
b55f4b3b0a
add nomd5types parameter to set file types for which dedup is not that useful and computation is expensive (e.g. audio files). Replace "call parent" misfeature with call to virtual in MimeHandler constructor. Fix log calls indent
2017-02-02 18:09:00 +01:00
Jean-Francois Dockes
c1fad4afc7
Replaced pthread with std:: thread and mutex
2016-07-12 18:08:21 +02:00
Jean-Francois Dockes
f6a999de84
logging now uses c++ streams
2016-07-12 09:41:04 +02:00
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