]> granicus.if.org Git - file/log
file
15 years agomention last fix.
Christos Zoulas [Wed, 4 Feb 2009 18:25:17 +0000 (18:25 +0000)]
mention last fix.

15 years agofix warnings on OS/2
Christos Zoulas [Wed, 4 Feb 2009 18:24:32 +0000 (18:24 +0000)]
fix warnings on OS/2

15 years agofix include files. FILE5_00
Christos Zoulas [Tue, 3 Feb 2009 20:27:51 +0000 (20:27 +0000)]
fix include files.

15 years ago00
Christos Zoulas [Tue, 3 Feb 2009 20:15:21 +0000 (20:15 +0000)]
00

15 years agoImprove comments to point to where more information can be found and
Reuben Thomas [Mon, 2 Feb 2009 22:03:52 +0000 (22:03 +0000)]
Improve comments to point to where more information can be found and
file descriptions to be clearer.

15 years agoComment out too-general pattern.
Reuben Thomas [Mon, 2 Feb 2009 21:51:42 +0000 (21:51 +0000)]
Comment out too-general pattern.

15 years agoJPEG-2000 from Petr Splichal <psplicha@redhat.com>
Christos Zoulas [Mon, 2 Feb 2009 15:57:04 +0000 (15:57 +0000)]
JPEG-2000 from Petr Splichal <psplicha@redhat.com>

15 years agoadd wireless
Christos Zoulas [Wed, 28 Jan 2009 02:11:20 +0000 (02:11 +0000)]
add wireless

15 years agoFrom: "Luis R. Rodriguez" <lrodriguez@atheros.com>
Christos Zoulas [Wed, 28 Jan 2009 02:10:23 +0000 (02:10 +0000)]
From: "Luis R. Rodriguez" <lrodriguez@atheros.com>

16 years agofile 5.0
Christos Zoulas [Wed, 21 Jan 2009 19:09:42 +0000 (19:09 +0000)]
file 5.0

16 years agofix compilation in weird systems from Scott MacVicar scott at macvicar dot net
Christos Zoulas [Mon, 12 Jan 2009 20:15:11 +0000 (20:15 +0000)]
fix compilation in weird systems from Scott MacVicar scott at macvicar dot net

16 years agoEric Sandeen -> Daniel Novotny BTRFS
Christos Zoulas [Mon, 12 Jan 2009 13:47:11 +0000 (13:47 +0000)]
Eric Sandeen -> Daniel Novotny BTRFS

16 years agoAdd TODO to fix the output system.
Reuben Thomas [Mon, 22 Dec 2008 11:27:08 +0000 (11:27 +0000)]
Add TODO to fix the output system.

16 years agoenable graphwiz again adding mandatory space after "graph"
Christos Zoulas [Mon, 15 Dec 2008 16:58:13 +0000 (16:58 +0000)]
enable graphwiz again adding mandatory space after "graph"

16 years agoadd cabinet mime from Ville =?iso-8859-1?q?Skytt=E4?= <ville.skytta@iki.fi>
Christos Zoulas [Fri, 12 Dec 2008 21:05:21 +0000 (21:05 +0000)]
add cabinet mime from Ville =?iso-8859-1?q?Skytt=E4?= <ville.skytta@iki.fi>

16 years ago- avoid infinite loops
Christos Zoulas [Fri, 12 Dec 2008 20:53:02 +0000 (20:53 +0000)]
- avoid infinite loops
- fix initial offset in non 4K sector CDF files.

16 years agolet normal magic deal with documents without summary info.
Christos Zoulas [Wed, 3 Dec 2008 22:54:02 +0000 (22:54 +0000)]
let normal magic deal with documents without summary info.

16 years ago- grab the offsets from the header instead of computing them ourselves.
Christos Zoulas [Wed, 3 Dec 2008 22:49:41 +0000 (22:49 +0000)]
- grab the offsets from the header instead of computing them ourselves.
- handle 64 bit and empty entries.

16 years agomention today's changes.
Christos Zoulas [Wed, 3 Dec 2008 18:06:57 +0000 (18:06 +0000)]
mention today's changes.

16 years agoreturn an error if any of the files failed not just the last one.
Christos Zoulas [Wed, 3 Dec 2008 18:05:18 +0000 (18:05 +0000)]
return an error if any of the files failed not just the last one.

16 years agofix more memory corruption, from realloc'ing info.
Christos Zoulas [Wed, 3 Dec 2008 16:16:30 +0000 (16:16 +0000)]
fix more memory corruption, from realloc'ing info.

16 years agomake the source descriptions more up-to-date.
Christos Zoulas [Tue, 2 Dec 2008 16:34:46 +0000 (16:34 +0000)]
make the source descriptions more up-to-date.

16 years agofix bogus perl test.
Christos Zoulas [Tue, 2 Dec 2008 16:26:17 +0000 (16:26 +0000)]
fix bogus perl test.

16 years agouncomment epoc documents.
Christos Zoulas [Sat, 29 Nov 2008 00:32:18 +0000 (00:32 +0000)]
uncomment epoc documents.

16 years agofix memory allocation botches.
Christos Zoulas [Fri, 28 Nov 2008 17:08:28 +0000 (17:08 +0000)]
fix memory allocation botches.

16 years agoadd lzip.
Christos Zoulas [Thu, 27 Nov 2008 22:16:54 +0000 (22:16 +0000)]
add lzip.

16 years agoadd lzip
Christos Zoulas [Wed, 26 Nov 2008 14:14:16 +0000 (14:14 +0000)]
add lzip

16 years ago* Replace all str{cpy,cat} functions with strl{cpy,cat}
Charles Longeau [Sat, 22 Nov 2008 17:01:27 +0000 (17:01 +0000)]
* Replace all str{cpy,cat} functions with strl{cpy,cat}
* Ensure that strl{cpy,cat} are included in libmagic,
  as needed.

ok Christos

16 years agoadd altera
Christos Zoulas [Thu, 13 Nov 2008 00:55:43 +0000 (00:55 +0000)]
add altera

16 years agoanother mp3
Christos Zoulas [Fri, 7 Nov 2008 22:51:00 +0000 (22:51 +0000)]
another mp3

16 years ago- split moffset out of mprint.
Christos Zoulas [Fri, 7 Nov 2008 22:50:37 +0000 (22:50 +0000)]
- split moffset out of mprint.
- when indirect, remember that we were successful in returnval.
- check mget() error code.
- use print to conditionally code mprint.

16 years agodon't pretend that we are text if encoding determined we are binary.
Christos Zoulas [Fri, 7 Nov 2008 19:10:25 +0000 (19:10 +0000)]
don't pretend that we are text if encoding determined we are binary.

16 years agohandle encoding better.
Christos Zoulas [Fri, 7 Nov 2008 18:57:28 +0000 (18:57 +0000)]
handle encoding better.

16 years agocompat code for old .mime files.
Christos Zoulas [Fri, 7 Nov 2008 18:57:08 +0000 (18:57 +0000)]
compat code for old .mime files.

16 years agoAdd .libs to .cvsignore.
Reuben Thomas [Fri, 7 Nov 2008 17:42:59 +0000 (17:42 +0000)]
Add .libs to .cvsignore.

16 years agorestructure for readability and debugability. XXX the ascii stuff needs cleanup!
Christos Zoulas [Fri, 7 Nov 2008 17:27:22 +0000 (17:27 +0000)]
restructure for readability and debugability. XXX the ascii stuff needs cleanup!

16 years agodon't walk past the end of buffer causing segv.
Christos Zoulas [Fri, 7 Nov 2008 17:26:44 +0000 (17:26 +0000)]
don't walk past the end of buffer causing segv.

16 years agochange && to &
Christos Zoulas [Fri, 7 Nov 2008 17:26:17 +0000 (17:26 +0000)]
change && to &

16 years agowhen -i don't print application/x-directorybinary.
Christos Zoulas [Fri, 7 Nov 2008 17:25:59 +0000 (17:25 +0000)]
when -i don't print application/x-directorybinary.

16 years agowe don't need a dup of mp3 magic now that we correctly handle ID3 tags.
Christos Zoulas [Fri, 7 Nov 2008 15:44:37 +0000 (15:44 +0000)]
we don't need a dup of mp3 magic now that we correctly handle ID3 tags.

16 years agoHandle ID3 files.
Christos Zoulas [Thu, 6 Nov 2008 23:22:53 +0000 (23:22 +0000)]
Handle ID3 files.

16 years agoFixes to MIME detection.
Reuben Thomas [Thu, 6 Nov 2008 22:49:08 +0000 (22:49 +0000)]
Fixes to MIME detection.

16 years agoNote dodgy magic.
Reuben Thomas [Thu, 6 Nov 2008 21:36:56 +0000 (21:36 +0000)]
Note dodgy magic.

16 years agoGive failure, not error return code in case of non-identification.
Reuben Thomas [Thu, 6 Nov 2008 21:36:44 +0000 (21:36 +0000)]
Give failure, not error return code in case of non-identification.

16 years agoThis check-in mostly fixes a bunch of problems with MIME checks. It's
Reuben Thomas [Thu, 6 Nov 2008 21:17:45 +0000 (21:17 +0000)]
This check-in mostly fixes a bunch of problems with MIME checks. It's
been tested, but there are probably still gotchas lurking.

       * Fix --mime, --mime-type and --mime-encoding under new scheme.

       * Return a precise ("utf-16le" or "utf-16be") MIME charset for
 UTF-16.

       * Fix error in comment caused by automatic indentation adding
 words!

       * Fix a printf with a non-literal format string.

       * Fix formatting and punctuation of help for "--apple".

16 years agoID3 needn't mean audio/mpeg, so comment out that test. It could mean
Reuben Thomas [Thu, 6 Nov 2008 21:15:47 +0000 (21:15 +0000)]
ID3 needn't mean audio/mpeg, so comment out that test. It could mean
Ogg, for example. Sigh.

16 years agouse memchr instead of strchr because the strign might not be NUL terminated.
Christos Zoulas [Thu, 6 Nov 2008 15:38:28 +0000 (15:38 +0000)]
use memchr instead of strchr because the strign might not be NUL terminated.

16 years agodon't let gcc throw out our ident strings.
Christos Zoulas [Tue, 4 Nov 2008 16:48:42 +0000 (16:48 +0000)]
don't let gcc throw out our ident strings.

16 years agomake sure that we always include "file.h" first which includes config.h
Christos Zoulas [Tue, 4 Nov 2008 16:38:28 +0000 (16:38 +0000)]
make sure that we always include "file.h" first which includes config.h
and add rcsid's to all files.

16 years agoFix a printf with a non-literal format string.
Reuben Thomas [Mon, 3 Nov 2008 06:18:34 +0000 (06:18 +0000)]
Fix a printf with a non-literal format string.

16 years agoexplain what this does.
Christos Zoulas [Mon, 3 Nov 2008 05:34:27 +0000 (05:34 +0000)]
explain what this does.

16 years agoFix punctuation of "Apple".
Reuben Thomas [Sun, 2 Nov 2008 22:07:11 +0000 (22:07 +0000)]
Fix punctuation of "Apple".

16 years agoFix formatting of --apple documentation.
Reuben Thomas [Sun, 2 Nov 2008 22:06:33 +0000 (22:06 +0000)]
Fix formatting of --apple documentation.

16 years agoAdd a FIXME for magic file order reading.
Reuben Thomas [Thu, 30 Oct 2008 10:54:06 +0000 (10:54 +0000)]
Add a FIXME for magic file order reading.

16 years agoFix output of charset in MIME type: precede by semi-colon. Fixes
Reuben Thomas [Thu, 30 Oct 2008 10:50:24 +0000 (10:50 +0000)]
Fix output of charset in MIME type: precede by semi-colon. Fixes
Debian bug #501460.

Fix potential attacks via conversion specifications in magic strings.

16 years agoFix handle_annotation to allow both Apple and MIME types to be
Reuben Thomas [Thu, 30 Oct 2008 10:43:49 +0000 (10:43 +0000)]
Fix handle_annotation to allow both Apple and MIME types to be
printed, and to return correct code if MIME type is printed (1, not 0)
or if there's an error (-1 not 1).

16 years agoCorrect counts in struct magic words-per-field comments.
Reuben Thomas [Thu, 30 Oct 2008 09:51:46 +0000 (09:51 +0000)]
Correct counts in struct magic words-per-field comments.

16 years agoadd xcursor
Christos Zoulas [Wed, 29 Oct 2008 13:54:42 +0000 (13:54 +0000)]
add xcursor

16 years agomake sure that the error info is set.
Christos Zoulas [Mon, 20 Oct 2008 19:04:12 +0000 (19:04 +0000)]
make sure that the error info is set.

16 years agomore autoconf glue.
Christos Zoulas [Mon, 20 Oct 2008 17:20:41 +0000 (17:20 +0000)]
more autoconf glue.

16 years agocleanups for non BSD compilation.
Christos Zoulas [Mon, 20 Oct 2008 15:14:17 +0000 (15:14 +0000)]
cleanups for non BSD compilation.

16 years agoadd apple creator/type
Christos Zoulas [Sat, 18 Oct 2008 20:47:47 +0000 (20:47 +0000)]
add apple creator/type

16 years agoadd cdf.h
Christos Zoulas [Fri, 17 Oct 2008 18:07:42 +0000 (18:07 +0000)]
add cdf.h

16 years agobetter handling of mime encodings.
Christos Zoulas [Thu, 16 Oct 2008 16:31:16 +0000 (16:31 +0000)]
better handling of mime encodings.

16 years agoreturn NULL rather than core-dumping if no magic output is set.
Christos Zoulas [Thu, 16 Oct 2008 16:30:34 +0000 (16:30 +0000)]
return NULL rather than core-dumping if no magic output is set.

16 years agotry to read more types [does not work yet]
Christos Zoulas [Thu, 16 Oct 2008 16:29:56 +0000 (16:29 +0000)]
try to read more types [does not work yet]

16 years agobetter handling of last sector.
Christos Zoulas [Tue, 14 Oct 2008 13:40:01 +0000 (13:40 +0000)]
better handling of last sector.

16 years agopretty-print the OS.
Christos Zoulas [Tue, 14 Oct 2008 10:38:22 +0000 (10:38 +0000)]
pretty-print the OS.

16 years agofix confusion about short and long streams.
Christos Zoulas [Mon, 13 Oct 2008 18:23:47 +0000 (18:23 +0000)]
fix confusion about short and long streams.

16 years agoworks on be-64 now.
Christos Zoulas [Sun, 12 Oct 2008 21:09:58 +0000 (21:09 +0000)]
works on be-64 now.

16 years agore-factor so that we don't have code duplication in readcdf and cdf.
Christos Zoulas [Sun, 12 Oct 2008 21:04:49 +0000 (21:04 +0000)]
re-factor so that we don't have code duplication in readcdf and cdf.

16 years agomore byte order fixes.
Christos Zoulas [Sun, 12 Oct 2008 19:37:04 +0000 (19:37 +0000)]
more byte order fixes.

16 years agoDeal with 64 bit machines (structure packing)
Christos Zoulas [Sun, 12 Oct 2008 19:06:36 +0000 (19:06 +0000)]
Deal with 64 bit machines (structure packing)

16 years agomention cdf.
Christos Zoulas [Sun, 12 Oct 2008 18:12:57 +0000 (18:12 +0000)]
mention cdf.

16 years agofirst try at byte order neutral code.
Christos Zoulas [Sun, 12 Oct 2008 17:07:14 +0000 (17:07 +0000)]
first try at byte order neutral code.

16 years agoadd cdf support.
Christos Zoulas [Sun, 12 Oct 2008 15:38:51 +0000 (15:38 +0000)]
add cdf support.

16 years agomore magic patches
Christos Zoulas [Thu, 9 Oct 2008 20:48:33 +0000 (20:48 +0000)]
more magic patches

16 years agofix doc
Christos Zoulas [Thu, 9 Oct 2008 17:25:48 +0000 (17:25 +0000)]
fix doc

16 years agoremove obsolete excludes
Christos Zoulas [Thu, 9 Oct 2008 17:25:01 +0000 (17:25 +0000)]
remove obsolete excludes

16 years agorevert previous
Christos Zoulas [Thu, 9 Oct 2008 17:24:03 +0000 (17:24 +0000)]
revert previous

16 years agomention latest fix
Christos Zoulas [Thu, 9 Oct 2008 17:20:32 +0000 (17:20 +0000)]
mention latest fix

16 years agocorrect exclude issues from Randy McMurchy <randy@linuxfromscratch.org>
Christos Zoulas [Thu, 9 Oct 2008 17:19:11 +0000 (17:19 +0000)]
correct exclude issues from Randy McMurchy <randy@linuxfromscratch.org>

16 years agoremove magic.mime references.
Christos Zoulas [Mon, 6 Oct 2008 20:16:04 +0000 (20:16 +0000)]
remove magic.mime references.

16 years agofix reading of ~/.magic
Christos Zoulas [Wed, 1 Oct 2008 14:30:45 +0000 (14:30 +0000)]
fix reading of ~/.magic

16 years agoadd bink
Christos Zoulas [Wed, 1 Oct 2008 14:14:45 +0000 (14:14 +0000)]
add bink

16 years agomore timezone details.
Christos Zoulas [Tue, 23 Sep 2008 14:49:23 +0000 (14:49 +0000)]
more timezone details.

16 years agoadd version from Edwin Groothuis edwin at freebsd.org
Christos Zoulas [Tue, 23 Sep 2008 14:37:50 +0000 (14:37 +0000)]
add version from Edwin Groothuis edwin at freebsd.org

16 years agomdump is not available with COMPILE_ONLY
Christos Zoulas [Tue, 23 Sep 2008 14:34:25 +0000 (14:34 +0000)]
mdump is not available with COMPILE_ONLY

16 years agotypo in mask.
Christos Zoulas [Tue, 23 Sep 2008 14:26:45 +0000 (14:26 +0000)]
typo in mask.

16 years agoseparate the mach-o java and jar entries since they cannot share mime types.
Christos Zoulas [Tue, 23 Sep 2008 14:26:32 +0000 (14:26 +0000)]
separate the mach-o java and jar entries since they cannot share mime types.

16 years agoadd meta
Christos Zoulas [Fri, 12 Sep 2008 17:54:05 +0000 (17:54 +0000)]
add meta

16 years agoComment out the graphviz patterns, as they match far too many files.
Reuben Thomas [Wed, 10 Sep 2008 21:30:28 +0000 (21:30 +0000)]
Comment out the graphviz patterns, as they match far too many files.
Explanation given. I suggest mailing the graphviz people to ask if
anyone wants to sort them out.

16 years agoremove *li.
Christos Zoulas [Tue, 2 Sep 2008 07:11:30 +0000 (07:11 +0000)]
remove *li.

16 years agomore lint fixes.
Christos Zoulas [Sun, 31 Aug 2008 07:58:00 +0000 (07:58 +0000)]
more lint fixes.

16 years agofix printf format
Christos Zoulas [Sun, 31 Aug 2008 04:52:03 +0000 (04:52 +0000)]
fix printf format

16 years agofix LP64 build
Christos Zoulas [Sat, 30 Aug 2008 17:51:09 +0000 (17:51 +0000)]
fix LP64 build

16 years agofile 4.26 FILE4_26
Christos Zoulas [Sat, 30 Aug 2008 10:01:01 +0000 (10:01 +0000)]
file 4.26

16 years agomention not so recent changes.
Christos Zoulas [Sat, 30 Aug 2008 09:59:59 +0000 (09:59 +0000)]
mention not so recent changes.

16 years agodocument strength directive
Christos Zoulas [Sat, 30 Aug 2008 09:50:20 +0000 (09:50 +0000)]
document strength directive

16 years agofix png.
Christos Zoulas [Wed, 27 Aug 2008 10:30:04 +0000 (10:30 +0000)]
fix png.