Sigrid
51ead1072b
file: partially revert 8419 to detect <?xml as html
2021-04-25 21:49:01 +02:00
kemal
2cdc8075f8
file: recognize executable scripts, etc.
...
The patch does the following:
1. Adds recognition of executable script (shebang) files.
2. Returns correct MIME type for mbox files (RFC 4155).
3. Returns XML instead of HTML type in some cases.
2021-04-20 01:40:31 +02:00
cinap_lenrek
d41c867696
file: detect webp files (thanks kemal)
...
this patch adds a small check to the "iff" function, so this
way file can detect webp files. tested with a webp file i
found randomly.
2021-04-03 19:32:47 +02:00
Sigrid
5991e01ed7
file: ftyp mp4* is video/mp4 as well
2021-01-01 22:58:05 +01:00
Alex Musolino
80fdafd1d6
file: try ismp4() before ismp3()
...
It is possible to find the mp3 sync word near the start of an mp4
file. As such, file(1) could incorrectly identify some mp4s as mp3s.
2020-04-05 23:26:52 +09:30
Alex Musolino
7fbd3fd4fe
file: add (very) basic support for detecting mpeg4 formats
2019-11-01 12:05:11 +10:30
Alex Musolino
26dc73c763
file(1): recognise unified diff output
2019-06-08 15:56:03 +09:30
aiju
cf8f90e1d3
file(1): recognise Xilinx bitstreams
2017-03-25 22:29:29 +00:00
cinap_lenrek
70c6dab003
play, file: recognize midi and mus audio
2017-02-26 19:26:42 +01:00
cinap_lenrek
bf2195b88c
file: deal with negative coordinates in plan9 bitmaps, print image size
2016-03-27 16:38:39 +02:00
BurnZeZ
db7970fa83
file(1): print warnings on /fd/2, remove some duplicate strings, whitespace fixes
2016-03-19 20:09:44 -04:00
cinap_lenrek
4a6ab355c1
file: recognize bootable disk images (by 0x55AA boot sector signature)
2015-12-23 02:31:47 +01:00
cinap_lenrek
76e5cda11a
file: recognize tcpdump pcap files
2015-12-23 02:11:29 +01:00
BurnZeZ
ed196fcb7e
file: detect DICOM and XM audio headers
2015-09-28 03:42:26 -04:00
ftrvxmtrx
2739c6514a
file: djvu
2014-06-07 23:16:34 +02:00
cinap_lenrek
524720a58d
file: detect NES and SEGA rom files, fix newline
2014-06-06 01:29:14 +02:00
stanley lieber
e112160105
file(1): recognize AAC audio files, from sources
2013-08-22 12:14:57 -04:00
mveety
72cde47068
fixed the bug that arisawa posted about on 9fans where file(1) would mistake 386 intermediates for HTML files.
2013-07-10 21:16:15 -04:00
ppatience0
1d760c9b3e
file: recognize bitmap and graymap ppm images
...
writeppm: do not print extra space after each pixel for graymap formats to save space
2013-05-12 12:53:43 -04:00
cinap_lenrek
667010554b
make all the commands agnostic about Rune width. (from sources)
2013-04-24 20:13:18 +02:00
ftrvxmtrx
e00c53cf74
tga, file: 15-bit tga images
2013-01-24 22:10:27 +01:00
cinap_lenrek
c4d7f17916
file: more sanity checking for tga image detection to avoid false positives
2013-01-21 12:01:05 +01:00
ftrvxmtrx
de5fdbc010
file: detect tga images
2013-01-21 01:05:00 +01:00
cinap_lenrek
6cadd03bbe
fix utf and rune handling in preparation for 32bit runes
2012-12-31 21:09:46 +01:00
cinap_lenrek
e2d6bba40d
file: detect and unwrap utf-16 encoded text formats
2012-12-20 17:58:26 +01:00
cinap_lenrek
03024cd814
file: fix newline consistency, fix swaped utf-16 le/be
2012-12-20 16:58:56 +01:00
cinap_lenrek
d99e693119
file: report .au files as "sun audio" instead of µlaw
2012-12-14 05:12:07 +01:00
cinap_lenrek
7148847ff0
µlaw audio support (from erik quanstro)
2012-12-08 09:18:44 +01:00
cinap_lenrek
0372073ee8
file: paq, troff, hp pcl, lua, vcard
2012-10-26 16:06:17 +02:00
cinap_lenrek
ac0107ca42
file: mp3 audio data detection by syncword, play: remote -t option as file now works for mp3 streams
2012-02-14 17:29:18 +01:00
cinap_lenrek
eb4ade60be
FLAC audio support
2012-02-11 08:33:22 +01:00
cinap_lenrek
5524d76075
move mp3 stuff to /sys/src/cmd/audio, add ogg vorbis, add play
2012-01-22 23:30:34 +01:00
cinap_lenrek
9140ae4a2a
file: detect FF D8 maker for jpeg
2012-01-20 02:15:22 +01:00
cinap_lenrek
825f4af55f
file: add playlist formats
2012-01-06 18:33:53 +01:00
cinap_lenrek
f21719ea46
file: recognize .ico and .cur files
2011-11-04 22:39:43 +01:00
cinap_lenrek
45cc898e4a
file: detect torrent files
2011-10-25 04:03:44 +02:00
cinap_lenrek
fe3de08658
file: reduce false hits for HTML files
2011-10-18 06:28:24 +02:00
cinap_lenrek
403dee333e
file: recognize zlib compression
2011-10-16 00:45:08 +02:00
cinap_lenrek
2423c5a940
file: fix false positives for HTML because if zero length string compare, use image/p9bit as mimetype for plan9 bitmap
2011-10-12 06:37:31 +02:00
cinap_lenrek
3efbb4fa00
use file(1) in page and mothra to detect file type
2011-10-04 18:48:31 +02:00
Taru Karttunen
a9060cc06b
Import sources from 2011-03-30 iso image - lib
2011-03-30 19:35:09 +03:00
Taru Karttunen
e5888a1ffd
Import sources from 2011-03-30 iso image
2011-03-30 15:46:40 +03:00