Alexander Golubev
f54496a1f2
tdeio/kmimemagic: remove MAGIC_CONTINUE flag
...
This resolves bug 2713
The MAGIC_CONTINUE flag resulted in a malformed mimemagic responses
like "application/x-executable\012- application/octet-stream"
instead of just "application/x-executable".
This string being unparsed then caused the KMimeType::findByURL() to
fallback to application/octet-stream for nearly every mimetype.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
François Andriot
8f11758253
Fix FTBFS with libmagic < 4.23
10 years ago
Slávek Banko
03a61295af
Fix FTBFS on missing magic_getpath
10 years ago
Timothy Pearson
58c3aed2bb
Do not use magic_version function if magic version support not available
...
This relates to Bug 656
10 years ago
Timothy Pearson
f8790c70f8
Fix certain shell scripts not being identified
...
This relates to Bug 656
Clean up some old development debug statements
10 years ago
Timothy Pearson
30c2b7e4bd
Autodetect downloaded mime type and compare against category; if wallpaper downloads something other than image abort
...
This relates to Bug 2127
10 years ago
Timothy Pearson
e5f898219a
Fix libmime database load once and for all
...
This relates to Bug 656
10 years ago
Timothy Pearson
62bfcbe478
Fix loading of additional mime magic files
...
This resolves Bug 656
10 years ago
Timothy Pearson
8066e87c6c
Use libmagic for mime type determination
...
This relates to Bug 656, Bug 661, and others
10 years ago
Timothy Pearson
6d268f3c55
Remove unused KMimeMagic::mergeBufConfig method in preparation for converting to libmagic
...
This relates to Bug 656
10 years ago
Laurent Dard
b61f0c4777
Partial fix for incorrect mimetype detection.
...
This partially resolves bug report 656.
12 years ago
Timothy Pearson
8bd62a3b0d
Rename common header files for consistency with class renaming
12 years ago
Timothy Pearson
d3afa6baf9
Rename KStandard for enhanced compatibility with KDE4
12 years ago
Timothy Pearson
5159cd2beb
Rename a number of libraries and executables to avoid conflicts with KDE4
12 years ago