summaryrefslogtreecommitdiff
path: root/sys/src/cmd/file.c
AgeCommit message (Collapse)Author
2023-04-02file: identify qcow imagesJacob Moody
2023-02-09audio/vocdec: Creative Voice File decoderJacob Moody
slight correction in file.c from previous commit
2023-02-09file: identify Creative Voice FileJacob Moody
2022-11-27play: aac supportcinap_lenrek
2021-04-25file: partially revert 8419 to detect <?xml as htmlSigrid
2021-04-20file: recognize executable scripts, etc.kemal
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-03file: detect webp files (thanks kemal)cinap_lenrek
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-01-01file: ftyp mp4* is video/mp4 as wellSigrid
2020-04-05file: try ismp4() before ismp3()Alex Musolino
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.
2019-11-01file: add (very) basic support for detecting mpeg4 formatsAlex Musolino
2019-06-08file(1): recognise unified diff outputAlex Musolino
2017-03-25file(1): recognise Xilinx bitstreamsaiju
2017-02-26play, file: recognize midi and mus audiocinap_lenrek
2016-03-27file: deal with negative coordinates in plan9 bitmaps, print image sizecinap_lenrek
2016-03-19file(1): print warnings on /fd/2, remove some duplicate strings, whitespace ↵BurnZeZ
fixes
2015-12-23file: recognize bootable disk images (by 0x55AA boot sector signature)cinap_lenrek
2015-12-23file: recognize tcpdump pcap filescinap_lenrek
2015-09-28file: detect DICOM and XM audio headersBurnZeZ
2014-06-07file: djvuftrvxmtrx
2014-06-06file: detect NES and SEGA rom files, fix newlinecinap_lenrek
2013-08-22file(1): recognize AAC audio files, from sourcesstanley lieber
2013-07-10fixed the bug that arisawa posted about on 9fans where file(1) would mistake ↵mveety
386 intermediates for HTML files.
2013-05-12file: recognize bitmap and graymap ppm imagesppatience0
writeppm: do not print extra space after each pixel for graymap formats to save space
2013-04-24make all the commands agnostic about Rune width. (from sources)cinap_lenrek
2013-01-24tga, file: 15-bit tga imagesftrvxmtrx
2013-01-21file: more sanity checking for tga image detection to avoid false positivescinap_lenrek
2013-01-21file: detect tga imagesftrvxmtrx
2012-12-31fix utf and rune handling in preparation for 32bit runescinap_lenrek
2012-12-20file: detect and unwrap utf-16 encoded text formatscinap_lenrek
2012-12-20file: fix newline consistency, fix swaped utf-16 le/becinap_lenrek
2012-12-14file: report .au files as "sun audio" instead of µlawcinap_lenrek
2012-12-08µlaw audio support (from erik quanstro)cinap_lenrek
2012-10-26file: paq, troff, hp pcl, lua, vcardcinap_lenrek
2012-02-14file: mp3 audio data detection by syncword, play: remote -t option as file ↵cinap_lenrek
now works for mp3 streams
2012-02-11FLAC audio supportcinap_lenrek
2012-01-22move mp3 stuff to /sys/src/cmd/audio, add ogg vorbis, add playcinap_lenrek
2012-01-20file: detect FF D8 maker for jpegcinap_lenrek
2012-01-06file: add playlist formatscinap_lenrek
2011-11-04file: recognize .ico and .cur filescinap_lenrek
2011-10-25file: detect torrent filescinap_lenrek
2011-10-18file: reduce false hits for HTML filescinap_lenrek
2011-10-16file: recognize zlib compressioncinap_lenrek
2011-10-12file: fix false positives for HTML because if zero length string compare, ↵cinap_lenrek
use image/p9bit as mimetype for plan9 bitmap
2011-10-04use file(1) in page and mothra to detect file typecinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen