]>
granicus.if.org Git - file/log
Christos Zoulas [Fri, 2 Nov 2007 15:51:57 +0000 (15:51 +0000)]
new magic
Christos Zoulas [Mon, 29 Oct 2007 00:54:07 +0000 (00:54 +0000)]
convert fortran to a soft test (from rrt).
Christos Zoulas [Sat, 27 Oct 2007 14:15:21 +0000 (14:15 +0000)]
new video format.
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.
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
Christos Zoulas [Tue, 23 Oct 2007 20:00:54 +0000 (20:00 +0000)]
A little more grammar from Reuben Thomas
Christos Zoulas [Tue, 23 Oct 2007 20:00:09 +0000 (20:00 +0000)]
the previous commit.
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.
Christos Zoulas [Tue, 23 Oct 2007 19:54:35 +0000 (19:54 +0000)]
typo in comment.
Christos Zoulas [Sat, 20 Oct 2007 15:38:25 +0000 (15:38 +0000)]
DAA filesystems from wiz
Christos Zoulas [Wed, 17 Oct 2007 20:25:50 +0000 (20:25 +0000)]
spelling police.
Christos Zoulas [Wed, 17 Oct 2007 19:33:31 +0000 (19:33 +0000)]
- separate mime encoding from mime type
- fix printing -\012
Christos Zoulas [Tue, 16 Oct 2007 12:59:35 +0000 (12:59 +0000)]
comment out a too general entry.
Christos Zoulas [Tue, 9 Oct 2007 20:00:11 +0000 (20:00 +0000)]
Regen.
Christos Zoulas [Tue, 9 Oct 2007 19:57:13 +0000 (19:57 +0000)]
Fix for int64 and strndup
Christos Zoulas [Mon, 1 Oct 2007 21:38:48 +0000 (21:38 +0000)]
more magic.
Christos Zoulas [Mon, 1 Oct 2007 14:07:15 +0000 (14:07 +0000)]
add flash video.
Christos Zoulas [Wed, 26 Sep 2007 20:46:05 +0000 (20:46 +0000)]
missed one
Christos Zoulas [Wed, 26 Sep 2007 20:45:26 +0000 (20:45 +0000)]
recent changes
Christos Zoulas [Wed, 26 Sep 2007 20:42:55 +0000 (20:42 +0000)]
fix regression where core name was not being printed.
Christos Zoulas [Wed, 26 Sep 2007 20:19:05 +0000 (20:19 +0000)]
preserve NUL's in string16 conversions.
Christos Zoulas [Wed, 26 Sep 2007 20:12:31 +0000 (20:12 +0000)]
fix typos
Christos Zoulas [Wed, 26 Sep 2007 20:08:08 +0000 (20:08 +0000)]
qemu stuff
Christos Zoulas [Sun, 19 Aug 2007 03:45:07 +0000 (03:45 +0000)]
mime consistency fixes from Reuben Thomas <rrt@sc3d.org>
Christos Zoulas [Sun, 12 Aug 2007 07:49:02 +0000 (07:49 +0000)]
dell bios files.
Christos Zoulas [Thu, 5 Jul 2007 20:45:58 +0000 (20:45 +0000)]
add mopaq archive.
Christos Zoulas [Sun, 1 Jul 2007 23:43:26 +0000 (23:43 +0000)]
add postgress dump magic
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.
Christos Zoulas [Thu, 7 Jun 2007 01:04:23 +0000 (01:04 +0000)]
new magic from apple.
Christos Zoulas [Wed, 6 Jun 2007 13:10:29 +0000 (13:10 +0000)]
fix dup entry.
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>
Christos Zoulas [Fri, 1 Jun 2007 19:40:57 +0000 (19:40 +0000)]
comment out another entry that confused postscript with awk.
Christos Zoulas [Sat, 26 May 2007 19:16:29 +0000 (19:16 +0000)]
add AVR32
Christos Zoulas [Thu, 24 May 2007 17:22:27 +0000 (17:22 +0000)]
Welcome to 4.21
Christos Zoulas [Thu, 24 May 2007 14:00:48 +0000 (14:00 +0000)]
mention buffer overflow.
Christos Zoulas [Thu, 24 May 2007 12:29:54 +0000 (12:29 +0000)]
FIx another potential buffer overflow, from Colin Percival.
Christos Zoulas [Wed, 16 May 2007 20:51:40 +0000 (20:51 +0000)]
Coverity CID 4418: don't call strlen() with NULL
Christos Zoulas [Wed, 16 May 2007 00:03:15 +0000 (00:03 +0000)]
new magic
Christos Zoulas [Tue, 8 May 2007 16:47:03 +0000 (16:47 +0000)]
dd pascal keywords.
Christos Zoulas [Tue, 8 May 2007 16:46:44 +0000 (16:46 +0000)]
smaller limits
Christos Zoulas [Tue, 8 May 2007 16:46:24 +0000 (16:46 +0000)]
fix tab
Christos Zoulas [Tue, 8 May 2007 14:44:18 +0000 (14:44 +0000)]
back out timing patch
Christos Zoulas [Tue, 8 May 2007 14:41:44 +0000 (14:41 +0000)]
mention -C in the options
Christos Zoulas [Thu, 3 May 2007 17:58:28 +0000 (17:58 +0000)]
better lisp detection
Christos Zoulas [Thu, 3 May 2007 15:11:49 +0000 (15:11 +0000)]
add another atari image format.
Christos Zoulas [Wed, 2 May 2007 15:58:28 +0000 (15:58 +0000)]
add splinefontdb
Christos Zoulas [Tue, 24 Apr 2007 13:45:53 +0000 (13:45 +0000)]
from Ken Pizzini, more outlook magic
Christos Zoulas [Mon, 23 Apr 2007 14:32:53 +0000 (14:32 +0000)]
add luks
Christos Zoulas [Wed, 11 Apr 2007 16:08:07 +0000 (16:08 +0000)]
from Mark.Martinec@ijs.si (Mark Martinec), simplify even more.
Christos Zoulas [Mon, 9 Apr 2007 16:33:26 +0000 (16:33 +0000)]
add Connary.
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
Christos Zoulas [Tue, 3 Apr 2007 21:12:26 +0000 (21:12 +0000)]
support for symbian files.
Christos Zoulas [Mon, 26 Mar 2007 17:59:49 +0000 (17:59 +0000)]
make sure that all of magic_set is initialized.
Christos Zoulas [Sun, 25 Mar 2007 21:46:52 +0000 (21:46 +0000)]
mention recent changes
Christos Zoulas [Sun, 25 Mar 2007 03:13:47 +0000 (03:13 +0000)]
always compile file_check_memory as protected.
Christos Zoulas [Sun, 25 Mar 2007 02:23:12 +0000 (02:23 +0000)]
fix typo (Peter Avalos)
Christos Zoulas [Sun, 18 Mar 2007 21:45:47 +0000 (21:45 +0000)]
add PPF files.
Christos Zoulas [Thu, 15 Mar 2007 14:52:37 +0000 (14:52 +0000)]
recent changes
Christos Zoulas [Thu, 15 Mar 2007 14:51:00 +0000 (14:51 +0000)]
fix fortran and nroff reversed tests (Dmitry V. Levin)
Christos Zoulas [Thu, 15 Mar 2007 14:50:34 +0000 (14:50 +0000)]
fix exclude option (Dmitry V. Levin)
Christos Zoulas [Tue, 13 Mar 2007 13:59:13 +0000 (13:59 +0000)]
new musac
Christos Zoulas [Mon, 12 Mar 2007 15:43:21 +0000 (15:43 +0000)]
kill the whole __unused thing.
Christos Zoulas [Mon, 5 Mar 2007 02:41:29 +0000 (02:41 +0000)]
patches from NetBSD for LP64 problems.
Christos Zoulas [Sat, 3 Mar 2007 19:09:25 +0000 (19:09 +0000)]
fix typo
Christos Zoulas [Fri, 2 Mar 2007 19:52:47 +0000 (19:52 +0000)]
missing ;
Christos Zoulas [Fri, 2 Mar 2007 19:29:55 +0000 (19:29 +0000)]
ugly hack to override const.
Christos Zoulas [Fri, 2 Mar 2007 17:50:06 +0000 (17:50 +0000)]
patch for systems that don't support REG_STARTEND
Christos Zoulas [Fri, 2 Mar 2007 17:40:58 +0000 (17:40 +0000)]
finally apply elf fix.
Christos Zoulas [Thu, 1 Mar 2007 23:20:37 +0000 (23:20 +0000)]
more revs
Christos Zoulas [Thu, 1 Mar 2007 22:25:00 +0000 (22:25 +0000)]
add more perl goo
Christos Zoulas [Thu, 1 Mar 2007 22:18:04 +0000 (22:18 +0000)]
Re-gen
Christos Zoulas [Thu, 1 Mar 2007 22:14:54 +0000 (22:14 +0000)]
welcome to 4.20
Christos Zoulas [Thu, 1 Mar 2007 20:50:17 +0000 (20:50 +0000)]
add perl package support.
Christos Zoulas [Thu, 1 Mar 2007 20:17:40 +0000 (20:17 +0000)]
more gameboy
Christos Zoulas [Thu, 1 Mar 2007 20:16:23 +0000 (20:16 +0000)]
gameboy sound
Christos Zoulas [Mon, 19 Feb 2007 00:26:15 +0000 (00:26 +0000)]
add st40 dev image
Christos Zoulas [Fri, 16 Feb 2007 17:59:58 +0000 (17:59 +0000)]
fold case for vcard.
Christos Zoulas [Thu, 15 Feb 2007 17:15:01 +0000 (17:15 +0000)]
fix for vim swap files.
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.
Anon Ymous [Sat, 27 Jan 2007 00:52:08 +0000 (00:52 +0000)]
Make this pass mdoclint: no content changes.
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.
Christos Zoulas [Thu, 25 Jan 2007 22:04:22 +0000 (22:04 +0000)]
remove double space
Christos Zoulas [Thu, 25 Jan 2007 21:05:46 +0000 (21:05 +0000)]
add exclude flag. centralize buffer tests.
Christos Zoulas [Thu, 25 Jan 2007 16:09:17 +0000 (16:09 +0000)]
add compaq floppy
Christos Zoulas [Mon, 22 Jan 2007 06:40:50 +0000 (06:40 +0000)]
sqlite improvements
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.
Christos Zoulas [Fri, 19 Jan 2007 21:09:56 +0000 (21:09 +0000)]
add single quote version and fix double quote.
Christos Zoulas [Fri, 19 Jan 2007 19:54:39 +0000 (19:54 +0000)]
codify and explain what needs to be quoted and why.
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 \
Anon Ymous [Thu, 18 Jan 2007 05:33:26 +0000 (05:33 +0000)]
Mention tonights commits.
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.
Anon Ymous [Tue, 16 Jan 2007 23:28:33 +0000 (23:28 +0000)]
Fix the initialization bug in check_mem().
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.
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.
Anon Ymous [Tue, 16 Jan 2007 16:26:40 +0000 (16:26 +0000)]
more files with gcc warning/lint fixes.
Anon Ymous [Tue, 16 Jan 2007 16:22:56 +0000 (16:22 +0000)]
Mention changes to src/file.c
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.
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!
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.
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.