]> granicus.if.org Git - file/log
file
16 years agoReplace a regex with a search pattern
Reuben Thomas [Sun, 17 Feb 2008 19:58:01 +0000 (19:58 +0000)]
Replace a regex with a search pattern

16 years agoEnforce range in search (use default non-zero value if not given in
Reuben Thomas [Sun, 17 Feb 2008 19:28:54 +0000 (19:28 +0000)]
Enforce range in search (use default non-zero value if not given in
magic file).

Rename str_count to str_range for clarity.

Improve exegetical comment in file_strncmp.

16 years agoClarify syntax
Reuben Thomas [Sun, 17 Feb 2008 19:26:15 +0000 (19:26 +0000)]
Clarify syntax

16 years agoReplace a regex with a search
Reuben Thomas [Sun, 17 Feb 2008 19:22:47 +0000 (19:22 +0000)]
Replace a regex with a search

16 years agoSpelling correction
Reuben Thomas [Sun, 17 Feb 2008 19:21:34 +0000 (19:21 +0000)]
Spelling correction

16 years agoext4 detection from =?UTF-8?B?VG9tw6HFoQ==?= Smetana <tsmetana@redhat.com>
Christos Zoulas [Fri, 15 Feb 2008 12:32:01 +0000 (12:32 +0000)]
ext4 detection from =?UTF-8?B?VG9tw6HFoQ==?= Smetana <tsmetana@redhat.com>

16 years agoadd mailing list info.
Christos Zoulas [Thu, 14 Feb 2008 20:22:20 +0000 (20:22 +0000)]
add mailing list info.

16 years ago- use my astron address
Christos Zoulas [Thu, 14 Feb 2008 20:22:05 +0000 (20:22 +0000)]
- use my astron address
- remove commented out done stuff

16 years agono processing for mime.
Christos Zoulas [Thu, 14 Feb 2008 20:17:59 +0000 (20:17 +0000)]
no processing for mime.

16 years agokBits to kbps; fixes Debian bug #400933
Reuben Thomas [Wed, 13 Feb 2008 01:13:14 +0000 (01:13 +0000)]
kBits to kbps; fixes Debian bug #400933

16 years agoFix from Jon Dowland (Debian bug #359301) to Doom magic.
Reuben Thomas [Tue, 12 Feb 2008 17:35:26 +0000 (17:35 +0000)]
Fix from Jon Dowland (Debian bug #359301) to Doom magic.

16 years agoFix Ogg FLAC signature (Debian bug #347244).
Reuben Thomas [Tue, 12 Feb 2008 17:31:30 +0000 (17:31 +0000)]
Fix Ogg FLAC signature (Debian bug #347244).

16 years agoMake MPEG sequence magic more precise so it's less strong than Windows
Reuben Thomas [Tue, 12 Feb 2008 17:27:28 +0000 (17:27 +0000)]
Make MPEG sequence magic more precise so it's less strong than Windows
icon magic and won't unnecessarily match Windows icons. Fixes Debian
bug #299091.

16 years agoDiagnose symlink loops. Fixes Debian bug #297775.
Reuben Thomas [Tue, 12 Feb 2008 17:22:54 +0000 (17:22 +0000)]
Diagnose symlink loops. Fixes Debian bug #297775.

16 years agoAdd to-do.
Reuben Thomas [Tue, 12 Feb 2008 16:30:48 +0000 (16:30 +0000)]
Add to-do.

16 years agoFix typo and markup in description of 'x' test.
Reuben Thomas [Tue, 12 Feb 2008 15:59:18 +0000 (15:59 +0000)]
Fix typo and markup in description of 'x' test.

16 years agoComment out too-weak binary magic
Reuben Thomas [Tue, 12 Feb 2008 15:50:02 +0000 (15:50 +0000)]
Comment out too-weak binary magic

16 years agoFix Postscript version printing (Debian bug #129518)
Reuben Thomas [Tue, 12 Feb 2008 15:48:04 +0000 (15:48 +0000)]
Fix Postscript version printing (Debian bug #129518)

16 years agoRemove a regex
Reuben Thomas [Tue, 12 Feb 2008 15:36:54 +0000 (15:36 +0000)]
Remove a regex

16 years agoFix change made yesterday to correctly update offset for both indirect
Reuben Thomas [Tue, 12 Feb 2008 15:28:39 +0000 (15:28 +0000)]
Fix change made yesterday to correctly update offset for both indirect
and non-indirect offsets.

16 years agoAllow empty magic files
Reuben Thomas [Tue, 12 Feb 2008 01:08:39 +0000 (01:08 +0000)]
Allow empty magic files

16 years agoExtra magic from Albert Cahalan <acahalan@gmail.com> via Debian bug
Reuben Thomas [Mon, 11 Feb 2008 23:40:42 +0000 (23:40 +0000)]
Extra magic from Albert Cahalan <acahalan@gmail.com> via Debian bug
#442819.

16 years agoClarify documentation of search and regex matches, and sync with
Reuben Thomas [Mon, 11 Feb 2008 23:26:17 +0000 (23:26 +0000)]
Clarify documentation of search and regex matches, and sync with
actual behaviour of program.

16 years agoFix Debian bug #407120 (Bug in relative use of search/regex), which is
Reuben Thomas [Mon, 11 Feb 2008 23:20:51 +0000 (23:20 +0000)]
Fix Debian bug #407120 (Bug in relative use of search/regex), which is
caused by relative offsets not working properly.

16 years agoComment out lots of macintosh magic that plausibly matches text files.
Reuben Thomas [Mon, 11 Feb 2008 23:00:26 +0000 (23:00 +0000)]
Comment out lots of macintosh magic that plausibly matches text files.
Can be de-commented once we have text/binary split.

16 years agoFix Debian bugs #383498 (ODT detected as application/x-zip) and
Reuben Thomas [Mon, 11 Feb 2008 22:18:08 +0000 (22:18 +0000)]
Fix Debian bugs #383498 (ODT detected as application/x-zip) and
#409231 (ODT not detected (non-MIME mode)).

16 years agoFix description of offset for regex/search types, as per actual
Reuben Thomas [Mon, 11 Feb 2008 22:14:25 +0000 (22:14 +0000)]
Fix description of offset for regex/search types, as per actual
behaviour of file.

16 years agoAdd period (.) to allowable MIME type character list
Reuben Thomas [Mon, 11 Feb 2008 22:12:24 +0000 (22:12 +0000)]
Add period (.) to allowable MIME type character list

16 years agoRemove misleading, unnecessary comment.
Reuben Thomas [Mon, 11 Feb 2008 22:11:24 +0000 (22:11 +0000)]
Remove misleading, unnecessary comment.

16 years agoAs we currently have regex support, rewrite this comment.
Reuben Thomas [Mon, 11 Feb 2008 21:36:24 +0000 (21:36 +0000)]
As we currently have regex support, rewrite this comment.

16 years agoFix an offset and some commented magic
Reuben Thomas [Mon, 11 Feb 2008 02:14:23 +0000 (02:14 +0000)]
Fix an offset and some commented magic

16 years agoDocument tonight's commits.
Reuben Thomas [Mon, 11 Feb 2008 01:37:11 +0000 (01:37 +0000)]
Document tonight's commits.

16 years agoMake not-equal 0 strength, not the same as =
Reuben Thomas [Mon, 11 Feb 2008 01:36:08 +0000 (01:36 +0000)]
Make not-equal 0 strength, not the same as =

16 years agoFix Debian bug #416842 (sign extension of low bits in quad patterns).
Reuben Thomas [Mon, 11 Feb 2008 01:02:11 +0000 (01:02 +0000)]
Fix Debian bug #416842 (sign extension of low bits in quad patterns).

16 years agoComment out too weak magic, fixing Debian bugs #209043 (MPEG I test
Reuben Thomas [Mon, 11 Feb 2008 00:38:19 +0000 (00:38 +0000)]
Comment out too weak magic, fixing Debian bugs #209043 (MPEG I test
catches UTF-16 BOM), #305337 (text identified as MPEG-4) and #348372
(text identified as Apple Partition data).

16 years agoComment out text types that are detected by internal magic (and should
Reuben Thomas [Mon, 11 Feb 2008 00:36:29 +0000 (00:36 +0000)]
Comment out text types that are detected by internal magic (and should
be left to it).

16 years agoFix Debian bug #303733 (HTML "DOCTYPE" vs "doctype") by making text
Reuben Thomas [Mon, 11 Feb 2008 00:35:27 +0000 (00:35 +0000)]
Fix Debian bug #303733 (HTML "DOCTYPE" vs "doctype") by making text
"DOCTYPE" case-insensitive, which is allowed.

16 years agoStop RTF message looking odd when unknown versions of RTF (!= 1)
Reuben Thomas [Mon, 11 Feb 2008 00:34:33 +0000 (00:34 +0000)]
Stop RTF message looking odd when unknown versions of RTF (!= 1)
found. Cope with missing encoding better too. Fixes Debian bug
#136534.

16 years agoImprove documentation of too-weak PPT magic (still commented out, though).
Reuben Thomas [Mon, 11 Feb 2008 00:33:15 +0000 (00:33 +0000)]
Improve documentation of too-weak PPT magic (still commented out, though).

16 years agoAdd MIME type for TeXMacs files, closing Debian bug #246780.
Reuben Thomas [Mon, 11 Feb 2008 00:32:02 +0000 (00:32 +0000)]
Add MIME type for TeXMacs files, closing Debian bug #246780.

16 years agoPrint contents of unsigned fields with %lu, not %d, to fix Debian bug
Reuben Thomas [Mon, 11 Feb 2008 00:31:22 +0000 (00:31 +0000)]
Print contents of unsigned fields with %lu, not %d, to fix Debian bug
#342334; however, for this bug to have shown up in the first place,
the numbers involved must have been enormous (with MS bit set), so
another bug is likely somewhere in the magic, the softmagic code, or
the file being checked may have been corrupt.

16 years agoAdd *.lineno
Reuben Thomas [Mon, 11 Feb 2008 00:25:46 +0000 (00:25 +0000)]
Add *.lineno

16 years agoClarify UTF-8 BOM message (Reuben Thomas)
Reuben Thomas [Mon, 11 Feb 2008 00:19:29 +0000 (00:19 +0000)]
Clarify UTF-8 BOM message (Reuben Thomas)

Add HTML comment to token list in names.h

16 years agofix ufs2 dump.
Christos Zoulas [Fri, 8 Feb 2008 13:54:13 +0000 (13:54 +0000)]
fix ufs2 dump.

16 years agoBOM UTF-8 improvements from rrt@
Christos Zoulas [Fri, 8 Feb 2008 13:31:19 +0000 (13:31 +0000)]
BOM UTF-8 improvements from rrt@

16 years agofix for libmagic.la from rrt@
Christos Zoulas [Fri, 8 Feb 2008 13:27:58 +0000 (13:27 +0000)]
fix for libmagic.la from rrt@

16 years agoforgot to commit this
Christos Zoulas [Fri, 8 Feb 2008 13:22:28 +0000 (13:22 +0000)]
forgot to commit this

16 years agonew configure.ac from rrt@
Christos Zoulas [Fri, 8 Feb 2008 13:19:56 +0000 (13:19 +0000)]
new configure.ac from rrt@

16 years agomore fixes from rrt@
Christos Zoulas [Fri, 8 Feb 2008 13:09:56 +0000 (13:09 +0000)]
more fixes from rrt@

16 years agodon't use c99 features
Christos Zoulas [Thu, 7 Feb 2008 03:10:20 +0000 (03:10 +0000)]
don't use c99 features

16 years agodetect the utf8 header and from debian bugid 345928. I cannot compile right
Christos Zoulas [Thu, 7 Feb 2008 03:05:02 +0000 (03:05 +0000)]
detect the utf8 header and from debian bugid 345928. I cannot compile right
now.

16 years agomore fixes from rrt@
Christos Zoulas [Thu, 7 Feb 2008 00:58:51 +0000 (00:58 +0000)]
more fixes from rrt@

16 years agoFrom: Antoine Brodin <antoine@FreeBSD.org> dumpv2
Christos Zoulas [Wed, 6 Feb 2008 20:46:48 +0000 (20:46 +0000)]
From: Antoine Brodin <antoine@FreeBSD.org> dumpv2

16 years agomore build fixes:
Christos Zoulas [Tue, 5 Feb 2008 19:53:16 +0000 (19:53 +0000)]
more build fixes:
- add missing files to .cvsignore [rrt@]
- kill zoulas.com -> astron.com
- remove configure

16 years agoupdate the build system per rrt@
Christos Zoulas [Tue, 5 Feb 2008 19:08:11 +0000 (19:08 +0000)]
update the build system per rrt@

16 years agospell mime correctly.
Christos Zoulas [Tue, 5 Feb 2008 13:59:03 +0000 (13:59 +0000)]
spell mime correctly.

16 years agoFixes from rrt@
Christos Zoulas [Tue, 5 Feb 2008 01:59:08 +0000 (01:59 +0000)]
Fixes from rrt@

16 years agofixes from rrt@; retain .In
Christos Zoulas [Tue, 5 Feb 2008 01:58:43 +0000 (01:58 +0000)]
fixes from rrt@; retain .In

16 years agoDebian Fixes via rrt@
Christos Zoulas [Mon, 4 Feb 2008 20:51:16 +0000 (20:51 +0000)]
Debian Fixes via rrt@

16 years agowe don't open .mime anything anymore.
Christos Zoulas [Mon, 4 Feb 2008 19:11:03 +0000 (19:11 +0000)]
we don't open .mime anything anymore.

16 years agodocument !mime: entries from rrt@
Christos Zoulas [Mon, 4 Feb 2008 18:49:43 +0000 (18:49 +0000)]
document !mime: entries from rrt@

16 years agofix bogus mimed lines from rrt@
Christos Zoulas [Mon, 4 Feb 2008 16:42:38 +0000 (16:42 +0000)]
fix bogus mimed lines from rrt@

16 years agoremove unneeded files
Christos Zoulas [Mon, 4 Feb 2008 16:34:55 +0000 (16:34 +0000)]
remove unneeded files

16 years agomagic merge from rrt@
Christos Zoulas [Mon, 4 Feb 2008 16:33:44 +0000 (16:33 +0000)]
magic merge from rrt@

16 years agoimprove the sentence
Christos Zoulas [Mon, 4 Feb 2008 01:40:53 +0000 (01:40 +0000)]
improve the sentence

16 years agostring and regex test work with not.
Christos Zoulas [Sun, 3 Feb 2008 21:00:15 +0000 (21:00 +0000)]
string and regex test work with not.

16 years agozero out utime/utimes buffer from Gavin Atkinson <gavin@FreeBSD.org>
Christos Zoulas [Wed, 30 Jan 2008 20:36:12 +0000 (20:36 +0000)]
zero out utime/utimes buffer from  Gavin Atkinson <gavin@FreeBSD.org>

16 years agoAdded xar
Christos Zoulas [Mon, 28 Jan 2008 14:00:57 +0000 (14:00 +0000)]
Added xar

16 years agofix byte swapping botch
Christos Zoulas [Mon, 28 Jan 2008 00:14:38 +0000 (00:14 +0000)]
fix byte swapping botch

16 years agoreduce readonly data.
Christos Zoulas [Sat, 26 Jan 2008 18:45:16 +0000 (18:45 +0000)]
reduce readonly data.

17 years agoput an ftp URL there...
Christos Zoulas [Fri, 18 Jan 2008 21:08:03 +0000 (21:08 +0000)]
put an ftp URL there...

17 years agonew magic.
Christos Zoulas [Tue, 15 Jan 2008 00:53:59 +0000 (00:53 +0000)]
new magic.

17 years agonew magic
Christos Zoulas [Mon, 7 Jan 2008 23:32:11 +0000 (23:32 +0000)]
new magic

17 years agomozilla stuff
Christos Zoulas [Mon, 7 Jan 2008 03:32:51 +0000 (03:32 +0000)]
mozilla stuff

17 years agoFix Palm TealDoc document from Marc.DeSouter@indexengines.com
Christos Zoulas [Wed, 2 Jan 2008 21:36:08 +0000 (21:36 +0000)]
Fix Palm TealDoc document from Marc.DeSouter@indexengines.com

17 years agoregen FILE4_23
Christos Zoulas [Fri, 28 Dec 2007 20:34:33 +0000 (20:34 +0000)]
regen

17 years agowelcome to 4.23.
Christos Zoulas [Fri, 28 Dec 2007 20:08:40 +0000 (20:08 +0000)]
welcome to 4.23.

17 years agoremove regex patterns that can cause DOS.
Christos Zoulas [Fri, 28 Dec 2007 15:14:38 +0000 (15:14 +0000)]
remove regex patterns that can cause DOS.

17 years ago- deal with missing strtof
Christos Zoulas [Thu, 27 Dec 2007 20:52:35 +0000 (20:52 +0000)]
- deal with missing strtof
- better version mispatch print

17 years agofix index error. FILE4_22
Christos Zoulas [Thu, 27 Dec 2007 20:30:35 +0000 (20:30 +0000)]
fix index error.

17 years agoregen autoconfiscated files.
Christos Zoulas [Thu, 27 Dec 2007 16:41:00 +0000 (16:41 +0000)]
regen autoconfiscated files.

17 years agowelcome to 4.22
Christos Zoulas [Thu, 27 Dec 2007 16:38:24 +0000 (16:38 +0000)]
welcome to 4.22

17 years agomention recent changes.
Christos Zoulas [Thu, 27 Dec 2007 16:37:58 +0000 (16:37 +0000)]
mention recent changes.

17 years agomore magic fixes
Christos Zoulas [Thu, 27 Dec 2007 16:37:38 +0000 (16:37 +0000)]
more magic fixes

17 years agoVarious cleanups from OpenBSD and gcc warnings.
Christos Zoulas [Thu, 27 Dec 2007 16:35:58 +0000 (16:35 +0000)]
Various cleanups from OpenBSD and gcc warnings.

17 years agohandle dynamic objects like executables, that they are.
Christos Zoulas [Thu, 27 Dec 2007 16:13:26 +0000 (16:13 +0000)]
handle dynamic objects like executables, that they are.

17 years agoimproved blender magic
Christos Zoulas [Sun, 16 Dec 2007 04:29:20 +0000 (04:29 +0000)]
improved blender magic

17 years agonew audio magic.
Christos Zoulas [Fri, 14 Dec 2007 15:45:17 +0000 (15:45 +0000)]
new audio magic.

17 years agofix compression code to only be compiled when we have both zlib.h and libz.
Christos Zoulas [Sun, 2 Dec 2007 00:28:10 +0000 (00:28 +0000)]
fix compression code to only be compiled when we have both zlib.h and libz.

17 years agoadd dalvik dex file.
Christos Zoulas [Wed, 28 Nov 2007 20:32:24 +0000 (20:32 +0000)]
add dalvik dex file.

17 years agopatch from debian
Christos Zoulas [Mon, 19 Nov 2007 19:26:17 +0000 (19:26 +0000)]
patch from debian

17 years agomissed troff, sort from rrt.
Christos Zoulas [Sun, 18 Nov 2007 20:59:12 +0000 (20:59 +0000)]
missed troff, sort from rrt.

17 years agofix core printing.
Christos Zoulas [Sat, 17 Nov 2007 17:08:27 +0000 (17:08 +0000)]
fix core printing.

17 years agofixes from Debian 416709
Christos Zoulas [Fri, 16 Nov 2007 18:33:17 +0000 (18:33 +0000)]
fixes from Debian 416709

17 years agofloat and double formats from behanw@websterwood.com (Behan Webster)
Christos Zoulas [Thu, 8 Nov 2007 00:31:37 +0000 (00:31 +0000)]
float and double formats from behanw@websterwood.com (Behan Webster)

17 years agopatches from apple.
Christos Zoulas [Wed, 7 Nov 2007 22:10:13 +0000 (22:10 +0000)]
patches from apple.

17 years agoprint > 16 char file names in core files.
Christos Zoulas [Wed, 7 Nov 2007 21:26:32 +0000 (21:26 +0000)]
print > 16 char file names in core files.

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.