36 Commits

Author SHA1 Message Date
Jean-Francois Dockes
12d1de2e9e Try to match as long a suffix as possible when determining MIME type. This will allow .tar.gz files to be indexed directly instead of being decompressed to a temp file first. 2015-04-16 19:52:04 +02:00
Jean-Francois Dockes
d10b557e4c Use special case for indexing empty files 2015-04-16 19:49:40 +02:00
Jean-Francois Dockes
46e924f3ea Allow configuration of the last-resort external command used to identify mime types 2014-07-19 16:15:43 +02:00
Jean-Francois Dockes
e515b9a9f9 Ignore empty mime_type extended attribute returned by bug in CIFS linux kernel module (samba mounts) 2013-06-17 11:52:04 +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
6c4cdbb5d4 test "mime_type" extended attribute before trying other type recognition methods 2013-01-23 11:55:15 +01:00
Jean-Francois Dockes
4272939c3d add possibility to import tags from external app, e.g. tmsu 2013-01-22 18:30:18 +01:00
Jean-Francois Dockes
78bd8d63da use vector instead of list for execmd arg list 2012-04-11 15:36:49 +02:00
Jean-Francois Dockes
85191eba16 indexing could crash on different "file -i" output for some (binary) file names 2011-10-13 19:33:38 +02:00
Jean-Francois Dockes
e8f63ec124 The mime identification could potentially get a bad length exception while processing garbled "file" output 2011-10-13 16:38:26 +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
28c8560200 comment 2010-12-14 18:19:08 +01:00
"Jean-Francois Dockes ext:(%22)
e5f41aeb05 Add large file support 2010-07-16 17:08:07 +02:00
dockes
ae61b25fc4 allow choosing the "file" command from configure 2009-08-13 06:26:59 +00:00
dockes
ec0b573ecd add a few includes for new gcc version 2008-11-18 13:25:48 +00:00
dockes
0460f1016c mh_mail now uses mimetype() to try and better identify application/octet-stream 2008-07-01 10:29:45 +00:00
dockes
1c80f0d67c changed stopsuffixes processing 2006-12-20 09:54:18 +00:00
dockes
50b01c6ea4 index directory names 2006-12-19 08:40:50 +00:00
dockes
02c14a6281 rationalize stopsuffix list usage 2006-12-11 14:50:53 +00:00
dockes
fb3a94578c sanity check on file -i return 2006-03-21 11:04:39 +00:00
dockes
2a3075d6a6 reference to GPL in all .cpp files 2006-01-23 13:32:29 +00:00
dockes
46e82f550a *** empty log message *** 2005-11-25 09:14:14 +00:00
dockes
ae8ff5abb3 *** empty log message *** 2005-11-24 07:16:16 +00:00
dockes
4bea1948ae *** empty log message *** 2005-11-23 10:19:19 +00:00
dockes
5b5be0c853 glitches in linux/solaris compil. + install 2005-11-21 17:18:58 +00:00
dockes
ad67a6cbb7 mimemap processing recentered in rclconfig. Handle directory-local suffix to mime-type definitions. Implement gaim log handling 2005-11-21 14:31:24 +00:00
dockes
548a4c1a27 add config parameter to decide if we use the file command as a final step of mimetype identification 2005-11-10 08:47:49 +00:00
dockes
11bb233ba5 replaced /usr/bin/file exec with internal code 2005-04-07 09:05:39 +00:00
dockes
68fb37b5f9 *** empty log message *** 2005-04-05 09:35:35 +00:00
dockes
50b927f65c *** empty log message *** 2005-04-04 13:18:47 +00:00
dockes
d392d317bb mail ckpt 2005-03-25 09:40:28 +00:00
dockes
3fc0738c81 *** empty log message *** 2005-02-09 13:34:08 +00:00
dockes
152d47306e added support for openoffice and word + optimized decomp temp dir usage 2005-02-09 12:07:30 +00:00
dockes
a43ebc3716 warnings cleanup 2004-12-15 15:00:37 +00:00
dockes
5ca462cdff *** empty log message *** 2004-12-14 17:54:16 +00:00
dockes
0786c283ef *** empty log message *** 2004-12-13 15:42:16 +00:00