1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-03 09:39:16 +02:00
Commit graph

99 commits

Author SHA1 Message Date
Jeff Schiller
c07aa83e12 io: Add skip() method to BitStream and beef up unit tests 2024-01-20 17:30:42 -08:00
Jeff Schiller
45fdedd663 Move some common type definitions into archive/common.js and some comments. 2024-01-20 16:12:55 -08:00
Jeff Schiller
1267691579 Remove all PNG parser boilerplate events and use CustomEvent. 2024-01-19 12:49:15 -08:00
Jeff Schiller
17c58ec416 Remove Jpeg parse event boilerplate 2024-01-19 11:56:46 -08:00
Jeff Schiller
c3a7b35fd5 Remove GIF parser event boilerplate in favor of a @template solution using CustomEvent 2024-01-19 11:43:03 -08:00
Jeff Schiller
f1096f0ab2 PngParser: Add support for sPLT chunk 2024-01-18 22:05:09 -08:00
Jeff Schiller
7b1906a91b PngParser: Add support for hIST chunk 2024-01-18 21:39:35 -08:00
Jeff Schiller
aeb5bb2f10 PngParser: Add support for eXIf chunk 2024-01-18 21:02:12 -08:00
Jeff Schiller
17b3850745 PngParser: Add support for pHYs chunk 2024-01-18 20:10:29 -08:00
Jeff Schiller
1869cd7bfa PngParser: Add support for tIME chunk. 2024-01-18 19:48:18 -08:00
Jeff Schiller
9f5b3a4882 PngParser: Add support for bKGD chunk 2024-01-18 00:12:10 -08:00
Jeff Schiller
af72e198ed PngParser: Add support for iTXt chunk 2024-01-17 23:03:21 -08:00
Jeff Schiller
153405a453 PnParser: Confirm decompressed text in zTXt chunk in unit test 2024-01-17 20:15:44 -08:00
Jeff Schiller
ade8f1a9ab PngParser: Add support for zTXt chunk 2024-01-17 01:54:28 -08:00
Jeff Schiller
afb1a67f2d PngParser: Add support for tEXt chunk 2024-01-17 00:29:05 -08:00
Jeff Schiller
8694b6cad8 PngParser: Add support for cHRM chunk 2024-01-17 00:03:18 -08:00
Jeff Schiller
f1efe8cd0d PngParser: Add support for tRNS chunk. 2024-01-16 19:15:30 -08:00
Jeff Schiller
6ff93337fd PngParser: Handle sBIT chunk. 2024-01-16 17:29:30 -08:00
Jeff Schiller
1d0abcaee8 PngParser: Handle gAMA chunk 2024-01-16 08:19:58 -08:00
Jeff Schiller
b359f92251 PngParser: Add unit test for PLTE chunk 2024-01-16 08:00:35 -08:00
Jeff Schiller
193cafa5e7 Starter PNG parser 2024-01-15 23:15:37 -08:00
Jeff Schiller
2825df0bb3 Fix bug with ByteStream.skip(0) not returning itself 2024-01-15 23:14:28 -08:00
Jeff Schiller
35e8ca9458 First version of JPEG and EXIF parser with starter unit tests and updated docs. 2024-01-15 12:36:23 -08:00
Jeff Schiller
5fe6688145 Add optional boolean parameter for setLittleEndian() and setBigEndian() 2024-01-10 21:47:00 +09:00
Jeff Schiller
5aad62cc49 Add explicit type-safe methods to bind for GIF events. 2024-01-10 21:25:36 +09:00
Jeff Schiller
053d4bc127 Fix bug with tee() so that endianness is also copied to teed stream. 2024-01-10 21:22:53 +09:00
Jeff Schiller
208b69a65d Make skip() return the ByteStream, for chaining. Document the tee() method. 2024-01-04 22:39:25 +09:00
Jeff Schiller
acaa3a90d9 Add skip() method to ByteStream 2024-01-04 22:22:26 +09:00
Jeff Schiller
ee57144579 Tweaks to ByteStream docs 2023-12-25 20:30:02 -08:00
Jeff Schiller
cb95ddc3ef io: Handle big-endian in ByteStream 2023-12-25 14:17:10 -08:00
Jeff Schiller
13d8a166bf Add a GIF Parser into image/parsers 2023-12-22 14:14:05 -08:00
Jeff Schiller
9558624b6a Rename a couple unit tests 2023-12-22 14:12:53 -08:00
Jeff Schiller
8e1a7f3d0f Fix compress after previous refactor and add a unit test. 2023-12-22 13:18:36 -08:00
Jeff Schiller
65db5bdbd2 Add some more RAR files for test coverage. Update test coverage to include archive now that we have some automated tests. 2023-12-16 22:45:00 -08:00
Jeff Schiller
2e1d9177b4 Remove old HTML archive unit tests - only automated tests going forward 2023-12-16 15:33:44 -08:00
Jeff Schiller
cf26e0a2de Add some unit tests for unarchivers. Provide a way to disconnect the impl from the host (for unit tests). 2023-12-16 15:28:37 -08:00
Jeff Schiller
5d658782fe Write better documentation on unarchiving 2023-12-14 22:31:50 -08:00
Jeff Schiller
2ed482879f Beef up unit test coverage in io package. 2023-11-20 22:44:41 -08:00
Jeff Schiller
0b75c2793b Update to 1.1.6 for mp3 streams and ffprobe reporting mp4 files with unknown levels 2023-10-25 20:40:26 -07:00
Jeff Schiller
ce8f61da94 1.1.5: Add support for HE-AAC profile in mp4a. 2023-10-22 09:40:41 -07:00
Jeff Schiller
2d0bb47014 A couple more unit tests for matroska in codecs and update changelog for release. 2023-10-19 18:18:15 -07:00
Jeff Schiller
bb0f40394e codecs: Properly detect Matroska audio/video. Add codec support for AV1 video and DTS audio. Bump to 1.1.4. 2023-10-19 11:41:02 -07:00
Jeff Schiller
5a00a3fdd0 Add proper support for AVI and WAV files. Up-rev to 1.1.3. 2023-10-15 21:04:54 -07:00
Jeff Schiller
e072b35854 Fix for m4a files as audio/mp4. Up-rev to 1.1.2. 2023-09-30 11:17:16 -07:00
Jeff Schiller
96d4729cfb Tighten up the file sniffer findMimeType() implementation and improve test coverage 2023-03-10 17:37:09 -08:00
Jeff Schiller
2eb77ef59c Add WOFF, WOFF2 to file sniffer 2023-02-16 20:51:25 -08:00
Jeff Schiller
244dfed5d9 Add WAV and AVI types to the file sniffer 2023-02-16 20:32:17 -08:00
Jeff Schiller
4854b9754f Add better documentation for how MTL and LTM modes work for BitStream 2023-02-16 20:31:51 -08:00
Jeff Schiller
83a07c970d Add ICO image to the file sniffer. Update the manifest to 1.0.11. 2023-02-15 21:33:38 -08:00
Jeff Schiller
73c4080579 fLaC back to flac 2023-02-12 18:07:04 -08:00