]> granicus.if.org Git - file/log
file
17 years agonew magic
Christos Zoulas [Fri, 2 Nov 2007 15:51:57 +0000 (15:51 +0000)]
new magic

17 years agoconvert fortran to a soft test (from rrt).
Christos Zoulas [Mon, 29 Oct 2007 00:54:07 +0000 (00:54 +0000)]
convert fortran to a soft test (from rrt).

17 years agonew video format.
Christos Zoulas [Sat, 27 Oct 2007 14:15:21 +0000 (14:15 +0000)]
new video format.

17 years agonuke the --with and -no filename options. Leave the brief option like before.
Christos Zoulas [Thu, 25 Oct 2007 15:33:17 +0000 (15:33 +0000)]
nuke the --with and -no filename options. Leave the brief option like before.

17 years agoadd -b and -bb option... I need to re-think this because it breaks compatibility
Christos Zoulas [Tue, 23 Oct 2007 21:26:55 +0000 (21:26 +0000)]
add -b and -bb option... I need to re-think this because it breaks compatibility

17 years agoA little more grammar from Reuben Thomas
Christos Zoulas [Tue, 23 Oct 2007 20:00:54 +0000 (20:00 +0000)]
A little more grammar from Reuben Thomas

17 years agothe previous commit.
Christos Zoulas [Tue, 23 Oct 2007 20:00:09 +0000 (20:00 +0000)]
the previous commit.

17 years agoFrom Reuben Thomas:
Christos Zoulas [Tue, 23 Oct 2007 19:58:59 +0000 (19:58 +0000)]
From Reuben Thomas:
- split mime into mime-type and mime-encoding
- fix usage string to be auto-generated from the options.

17 years agotypo in comment.
Christos Zoulas [Tue, 23 Oct 2007 19:54:35 +0000 (19:54 +0000)]
typo in comment.

17 years agoDAA filesystems from wiz
Christos Zoulas [Sat, 20 Oct 2007 15:38:25 +0000 (15:38 +0000)]
DAA filesystems from wiz

17 years agospelling police.
Christos Zoulas [Wed, 17 Oct 2007 20:25:50 +0000 (20:25 +0000)]
spelling police.

17 years ago- separate mime encoding from mime type
Christos Zoulas [Wed, 17 Oct 2007 19:33:31 +0000 (19:33 +0000)]
- separate mime encoding from mime type
- fix printing -\012

17 years agocomment out a too general entry.
Christos Zoulas [Tue, 16 Oct 2007 12:59:35 +0000 (12:59 +0000)]
comment out a too general entry.

17 years agoRegen.
Christos Zoulas [Tue, 9 Oct 2007 20:00:11 +0000 (20:00 +0000)]
Regen.

17 years agoFix for int64 and strndup
Christos Zoulas [Tue, 9 Oct 2007 19:57:13 +0000 (19:57 +0000)]
Fix for int64 and strndup

17 years agomore magic.
Christos Zoulas [Mon, 1 Oct 2007 21:38:48 +0000 (21:38 +0000)]
more magic.

17 years agoadd flash video.
Christos Zoulas [Mon, 1 Oct 2007 14:07:15 +0000 (14:07 +0000)]
add flash video.

17 years agomissed one
Christos Zoulas [Wed, 26 Sep 2007 20:46:05 +0000 (20:46 +0000)]
missed one

17 years agorecent changes
Christos Zoulas [Wed, 26 Sep 2007 20:45:26 +0000 (20:45 +0000)]
recent changes

17 years agofix regression where core name was not being printed.
Christos Zoulas [Wed, 26 Sep 2007 20:42:55 +0000 (20:42 +0000)]
fix regression where core name was not being printed.

17 years agopreserve NUL's in string16 conversions.
Christos Zoulas [Wed, 26 Sep 2007 20:19:05 +0000 (20:19 +0000)]
preserve NUL's in string16 conversions.

17 years agofix typos
Christos Zoulas [Wed, 26 Sep 2007 20:12:31 +0000 (20:12 +0000)]
fix typos

17 years agoqemu stuff
Christos Zoulas [Wed, 26 Sep 2007 20:08:08 +0000 (20:08 +0000)]
qemu stuff

17 years agomime consistency fixes from Reuben Thomas <rrt@sc3d.org>
Christos Zoulas [Sun, 19 Aug 2007 03:45:07 +0000 (03:45 +0000)]
mime consistency fixes from Reuben Thomas <rrt@sc3d.org>

17 years agodell bios files.
Christos Zoulas [Sun, 12 Aug 2007 07:49:02 +0000 (07:49 +0000)]
dell bios files.

17 years agoadd mopaq archive.
Christos Zoulas [Thu, 5 Jul 2007 20:45:58 +0000 (20:45 +0000)]
add mopaq archive.

17 years agoadd postgress dump magic
Christos Zoulas [Sun, 1 Jul 2007 23:43:26 +0000 (23:43 +0000)]
add postgress dump magic

17 years agofix wrong constant for size_t on 64 bit machines; from pooka.
Christos Zoulas [Fri, 15 Jun 2007 00:01:15 +0000 (00:01 +0000)]
fix wrong constant for size_t on 64 bit machines; from pooka.

17 years agonew magic from apple.
Christos Zoulas [Thu, 7 Jun 2007 01:04:23 +0000 (01:04 +0000)]
new magic from apple.

17 years agofix dup entry.
Christos Zoulas [Wed, 6 Jun 2007 13:10:29 +0000 (13:10 +0000)]
fix dup entry.

17 years agofix ISO 9660 detection that broke with UDF changes
Christos Zoulas [Tue, 5 Jun 2007 20:09:18 +0000 (20:09 +0000)]
fix ISO 9660 detection that broke with UDF changes
Gerardo Cacciari <gerardo.cacciari@gmail.com>

17 years agocomment out another entry that confused postscript with awk.
Christos Zoulas [Fri, 1 Jun 2007 19:40:57 +0000 (19:40 +0000)]
comment out another entry that confused postscript with awk.

17 years agoadd AVR32
Christos Zoulas [Sat, 26 May 2007 19:16:29 +0000 (19:16 +0000)]
add AVR32

17 years agoWelcome to 4.21 FILE4_21
Christos Zoulas [Thu, 24 May 2007 17:22:27 +0000 (17:22 +0000)]
Welcome to 4.21

17 years agomention buffer overflow.
Christos Zoulas [Thu, 24 May 2007 14:00:48 +0000 (14:00 +0000)]
mention buffer overflow.

17 years agoFIx another potential buffer overflow, from Colin Percival.
Christos Zoulas [Thu, 24 May 2007 12:29:54 +0000 (12:29 +0000)]
FIx another potential buffer overflow, from Colin Percival.

17 years agoCoverity CID 4418: don't call strlen() with NULL
Christos Zoulas [Wed, 16 May 2007 20:51:40 +0000 (20:51 +0000)]
Coverity CID 4418: don't call strlen() with NULL

17 years agonew magic
Christos Zoulas [Wed, 16 May 2007 00:03:15 +0000 (00:03 +0000)]
new magic

17 years agodd pascal keywords.
Christos Zoulas [Tue, 8 May 2007 16:47:03 +0000 (16:47 +0000)]
dd pascal keywords.

17 years agosmaller limits
Christos Zoulas [Tue, 8 May 2007 16:46:44 +0000 (16:46 +0000)]
smaller limits

17 years agofix tab
Christos Zoulas [Tue, 8 May 2007 16:46:24 +0000 (16:46 +0000)]
fix tab

17 years agoback out timing patch
Christos Zoulas [Tue, 8 May 2007 14:44:18 +0000 (14:44 +0000)]
back out timing patch

17 years agomention -C in the options
Christos Zoulas [Tue, 8 May 2007 14:41:44 +0000 (14:41 +0000)]
mention -C in the options

17 years agobetter lisp detection
Christos Zoulas [Thu, 3 May 2007 17:58:28 +0000 (17:58 +0000)]
better lisp detection

17 years agoadd another atari image format.
Christos Zoulas [Thu, 3 May 2007 15:11:49 +0000 (15:11 +0000)]
add another atari image format.

17 years agoadd splinefontdb
Christos Zoulas [Wed, 2 May 2007 15:58:28 +0000 (15:58 +0000)]
add splinefontdb

17 years agofrom Ken Pizzini, more outlook magic
Christos Zoulas [Tue, 24 Apr 2007 13:45:53 +0000 (13:45 +0000)]
from Ken Pizzini, more outlook magic

17 years agoadd luks
Christos Zoulas [Mon, 23 Apr 2007 14:32:53 +0000 (14:32 +0000)]
add luks

17 years agofrom Mark.Martinec@ijs.si (Mark Martinec), simplify even more.
Christos Zoulas [Wed, 11 Apr 2007 16:08:07 +0000 (16:08 +0000)]
from Mark.Martinec@ijs.si (Mark Martinec), simplify even more.

17 years agoadd Connary.
Christos Zoulas [Mon, 9 Apr 2007 16:33:26 +0000 (16:33 +0000)]
add Connary.

17 years agomake the rexx expressions safer to use from Mark.Martinec@ijs.si
Christos Zoulas [Wed, 4 Apr 2007 16:51:35 +0000 (16:51 +0000)]
make the rexx expressions safer to use from Mark.Martinec@ijs.si

17 years agosupport for symbian files.
Christos Zoulas [Tue, 3 Apr 2007 21:12:26 +0000 (21:12 +0000)]
support for symbian files.

17 years agomake sure that all of magic_set is initialized.
Christos Zoulas [Mon, 26 Mar 2007 17:59:49 +0000 (17:59 +0000)]
make sure that all of magic_set is initialized.

17 years agomention recent changes
Christos Zoulas [Sun, 25 Mar 2007 21:46:52 +0000 (21:46 +0000)]
mention recent changes

17 years agoalways compile file_check_memory as protected.
Christos Zoulas [Sun, 25 Mar 2007 03:13:47 +0000 (03:13 +0000)]
always compile file_check_memory as protected.

17 years agofix typo (Peter Avalos)
Christos Zoulas [Sun, 25 Mar 2007 02:23:12 +0000 (02:23 +0000)]
fix typo (Peter Avalos)

17 years agoadd PPF files.
Christos Zoulas [Sun, 18 Mar 2007 21:45:47 +0000 (21:45 +0000)]
add PPF files.

17 years agorecent changes
Christos Zoulas [Thu, 15 Mar 2007 14:52:37 +0000 (14:52 +0000)]
recent changes

17 years agofix fortran and nroff reversed tests (Dmitry V. Levin)
Christos Zoulas [Thu, 15 Mar 2007 14:51:00 +0000 (14:51 +0000)]
fix fortran and nroff reversed tests (Dmitry V. Levin)

17 years agofix exclude option (Dmitry V. Levin)
Christos Zoulas [Thu, 15 Mar 2007 14:50:34 +0000 (14:50 +0000)]
fix exclude option (Dmitry V. Levin)

17 years agonew musac
Christos Zoulas [Tue, 13 Mar 2007 13:59:13 +0000 (13:59 +0000)]
new musac

17 years agokill the whole __unused thing.
Christos Zoulas [Mon, 12 Mar 2007 15:43:21 +0000 (15:43 +0000)]
kill the whole __unused thing.

17 years agopatches from NetBSD for LP64 problems.
Christos Zoulas [Mon, 5 Mar 2007 02:41:29 +0000 (02:41 +0000)]
patches from NetBSD for LP64 problems.

17 years agofix typo
Christos Zoulas [Sat, 3 Mar 2007 19:09:25 +0000 (19:09 +0000)]
fix typo

17 years agomissing ;
Christos Zoulas [Fri, 2 Mar 2007 19:52:47 +0000 (19:52 +0000)]
missing ;

17 years agougly hack to override const.
Christos Zoulas [Fri, 2 Mar 2007 19:29:55 +0000 (19:29 +0000)]
ugly hack to override const.

17 years agopatch for systems that don't support REG_STARTEND
Christos Zoulas [Fri, 2 Mar 2007 17:50:06 +0000 (17:50 +0000)]
patch for systems that don't support REG_STARTEND

17 years agofinally apply elf fix.
Christos Zoulas [Fri, 2 Mar 2007 17:40:58 +0000 (17:40 +0000)]
finally apply elf fix.

17 years agomore revs FILE4_20
Christos Zoulas [Thu, 1 Mar 2007 23:20:37 +0000 (23:20 +0000)]
more revs

17 years agoadd more perl goo
Christos Zoulas [Thu, 1 Mar 2007 22:25:00 +0000 (22:25 +0000)]
add more perl goo

17 years agoRe-gen
Christos Zoulas [Thu, 1 Mar 2007 22:18:04 +0000 (22:18 +0000)]
Re-gen

17 years agowelcome to 4.20
Christos Zoulas [Thu, 1 Mar 2007 22:14:54 +0000 (22:14 +0000)]
welcome to 4.20

17 years agoadd perl package support.
Christos Zoulas [Thu, 1 Mar 2007 20:50:17 +0000 (20:50 +0000)]
add perl package support.

17 years agomore gameboy
Christos Zoulas [Thu, 1 Mar 2007 20:17:40 +0000 (20:17 +0000)]
more gameboy

17 years agogameboy sound
Christos Zoulas [Thu, 1 Mar 2007 20:16:23 +0000 (20:16 +0000)]
gameboy sound

17 years agoadd st40 dev image
Christos Zoulas [Mon, 19 Feb 2007 00:26:15 +0000 (00:26 +0000)]
add st40 dev image

17 years agofold case for vcard.
Christos Zoulas [Fri, 16 Feb 2007 17:59:58 +0000 (17:59 +0000)]
fold case for vcard.

17 years agofix for vim swap files.
Christos Zoulas [Thu, 15 Feb 2007 17:15:01 +0000 (17:15 +0000)]
fix for vim swap files.

17 years agomake socket/pipe reading more robust.
Christos Zoulas [Mon, 5 Feb 2007 16:46:40 +0000 (16:46 +0000)]
make socket/pipe reading more robust.
1. give a hint to sread that we are reading from a child or not
2. loop 5 times on select.
3. fix select error processing.

17 years agoMake this pass mdoclint: no content changes.
Anon Ymous [Sat, 27 Jan 2007 00:52:08 +0000 (00:52 +0000)]
Make this pass mdoclint: no content changes.

17 years agoAdd a comment about STRINGs that begin with a compare character in strtest.
Anon Ymous [Fri, 26 Jan 2007 21:43:27 +0000 (21:43 +0000)]
Add a comment about STRINGs that begin with a compare character in strtest.

17 years agoremove double space
Christos Zoulas [Thu, 25 Jan 2007 22:04:22 +0000 (22:04 +0000)]
remove double space

17 years agoadd exclude flag. centralize buffer tests.
Christos Zoulas [Thu, 25 Jan 2007 21:05:46 +0000 (21:05 +0000)]
add exclude flag. centralize buffer tests.

17 years agoadd compaq floppy
Christos Zoulas [Thu, 25 Jan 2007 16:09:17 +0000 (16:09 +0000)]
add compaq floppy

18 years agosqlite improvements
Christos Zoulas [Mon, 22 Jan 2007 06:40:50 +0000 (06:40 +0000)]
sqlite improvements

18 years agochanged to use CVS LOCALID, so no need to mention stuff about version changes.
Christos Zoulas [Fri, 19 Jan 2007 21:15:27 +0000 (21:15 +0000)]
changed to use CVS LOCALID, so no need to mention stuff about version changes.

18 years agoadd single quote version and fix double quote.
Christos Zoulas [Fri, 19 Jan 2007 21:09:56 +0000 (21:09 +0000)]
add single quote version and fix double quote.

18 years agocodify and explain what needs to be quoted and why.
Christos Zoulas [Fri, 19 Jan 2007 19:54:39 +0000 (19:54 +0000)]
codify and explain what needs to be quoted and why.

18 years ago- Remove unneeded escapes.
Christos Zoulas [Fri, 19 Jan 2007 19:53:18 +0000 (19:53 +0000)]
- Remove unneeded escapes.
- Fix escaped spaces that turned into tabs.
- Fix missing escapes
- Use \t instead of \

18 years agoMention tonights commits.
Anon Ymous [Thu, 18 Jan 2007 05:33:26 +0000 (05:33 +0000)]
Mention tonights commits.

18 years ago1) Move the "type" detection code from parse() into its own table
Anon Ymous [Thu, 18 Jan 2007 05:29:33 +0000 (05:29 +0000)]
1) Move the "type" detection code from parse() into its own table
driven routine.  This avoids maintaining multiple lists in file.h.

2) Add an optional conditional field (ust before the type field).
This code is wrapped in "#ifdef ENABLE_CONDITIONALS" as it is likely
to go away.

18 years agoFix the initialization bug in check_mem().
Anon Ymous [Tue, 16 Jan 2007 23:28:33 +0000 (23:28 +0000)]
Fix the initialization bug in check_mem().

18 years agoMake check_mem() initialize got_match even if we don't realloc the
Anon Ymous [Tue, 16 Jan 2007 23:24:31 +0000 (23:24 +0000)]
Make check_mem() initialize got_match even if we don't realloc the
array.

18 years agoMention a lot of changes including the new "default" type, "regex"
Anon Ymous [Tue, 16 Jan 2007 16:43:21 +0000 (16:43 +0000)]
Mention a lot of changes including the new "default" type, "regex"
fix, and C-style string escape fix.

18 years agomore files with gcc warning/lint fixes.
Anon Ymous [Tue, 16 Jan 2007 16:26:40 +0000 (16:26 +0000)]
more files with gcc warning/lint fixes.

18 years agoMention changes to src/file.c
Anon Ymous [Tue, 16 Jan 2007 16:22:56 +0000 (16:22 +0000)]
Mention changes to src/file.c

18 years agoThis is a first attempt to document the magic(5) grammar. Commit
Anon Ymous [Tue, 16 Jan 2007 15:04:09 +0000 (15:04 +0000)]
This is a first attempt to document the magic(5) grammar.  Commit
requested by christos@ so it doesn't get lost.

18 years ago1) Add a "default" type to print a message if nothing previously
Anon Ymous [Tue, 16 Jan 2007 14:58:48 +0000 (14:58 +0000)]
1) Add a "default" type to print a message if nothing previously
matched at that level or since the last default at that level.  This
is useful for setting up switch-like statements.  It can also be used
to do if/else constructions without a redundant second test.

2) Fix the "x" special case test so that one can test for that string
with "=x".

3) Allow "search" to search the entire buffer if the "/N" search count
is missing.

4) Make "regex" work!  It now starts its search at the specified
offset and takes an (optional) "/N" line count to specify the search
range; otherwise it searches to the end of the file.  The match is now
grabbed correctly for format strings and the offset set to the end of
the match.

5) Add a "/s" flag to "regex" and "search" to set the offset to the
start of the match.  By default the offset is set to the end of the
match, as it is with other tests.  This is mostly useful for "regex".

6) Make "search", "string" and "pstring" use the same file_strncmp()
routine so that they support the same flags; "bestring16" and
"lestring16" call the same routine, but with flags = 0.  Also add a
"/C" flag (in analogy to "/c") to ignore the case on uppercase
(lowercase) characters in the test string.

7) Strict adherence to C style string escapes.  A warnings are
printed when compiling.  Note: previously "\a" was incorrectly
translated to 'a' instead of an <alert> (i.e., BELL, typically 0x07).

8) Make this compile with "-Wall -Wextra" and all the warning flags
used with WARNS=4 in the NetBSD source.  Also make it pass lint.

9) Many "cleanups" and hopefully not too many new bugs!

18 years agoMake these files compile with gcc warnings on and also make them pass lint.
Anon Ymous [Tue, 16 Jan 2007 14:56:45 +0000 (14:56 +0000)]
Make these files compile with gcc warnings on and also make them pass lint.

18 years agoMake this compile with gcc warnings on and make it pass lint. Fix a
Anon Ymous [Tue, 16 Jan 2007 14:54:57 +0000 (14:54 +0000)]
Make this compile with gcc warnings on and make it pass lint.  Fix a
puts()/putc() usage error.