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

Commit graph

  • 2aa0fdecdf
    Merge pull request #51 from codedread/dependabot/npm_and_yarn/multi-456de2e4f1 master Jeff Schiller 2025-02-23 11:11:14 -08:00
  • 51e4691cd3
    Bump serialize-javascript and mocha dependabot[bot] 2025-02-22 15:45:05 +00:00
  • 08e21a42f8
    Merge pull request #50 from codedread/dependabot/npm_and_yarn/braces-3.0.3 Jeff Schiller 2024-12-08 17:35:35 -08:00
  • 3d98e9b211 Fix import error in unrar/rarvm, v1.2.4 v1.2.4 Jeff Schiller 2024-12-08 17:13:52 -08:00
  • ebfb78755c Declare Bits variable in Unpack20() Jeff Schiller 2024-12-08 10:28:24 -08:00
  • 5adb3e924c Make BitStream docs a little clearer in README Jeff Schiller 2024-06-20 12:34:32 -07:00
  • 89d04f616b
    Bump braces from 3.0.2 to 3.0.3 dependabot[bot] 2024-06-16 22:49:43 +00:00
  • 610e6f14da Correct typo Jeff Schiller 2024-05-21 22:11:53 -07:00
  • 14f82a83bc Update TS types Jeff Schiller 2024-02-04 21:22:21 -08:00
  • 440478c520 Update docs for gunzip v1.2.3 Jeff Schiller 2024-02-04 21:11:17 -08:00
  • 5facf91dba Update changelog for 1.2.3 release Jeff Schiller 2024-02-04 21:07:05 -08:00
  • 813b154e8c For issue #48, add Gunzipper that relies on DecompressionStream('gzip'). Jeff Schiller 2024-02-04 20:54:51 -08:00
  • d01610ac9c Move INFLATE implementation into its own module. Jeff Schiller 2024-02-04 15:41:21 -08:00
  • abcf593d4f Added a getData() method to ByteBuffer. Jeff Schiller 2024-02-04 15:02:17 -08:00
  • 1852dc6509 Remove unneded afterEach() in decompress unit tests Jeff Schiller 2024-02-03 15:16:57 -08:00
  • 51a4f84e13 Type in types file Jeff Schiller 2024-02-03 14:25:26 -08:00
  • 1fab6b1c16 Updates types after adding onExtract, etc Jeff Schiller 2024-02-03 14:25:11 -08:00
  • 426741a43e Fix unrar unit tests. Remove RAR5 test files. Properly error on RAR5 files for issue #25 Jeff Schiller 2024-02-03 14:22:05 -08:00
  • ede9c6aafa For issue #47, add semantic event handlers to Unarchiver (onProgress, onExtract) Jeff Schiller 2024-02-03 13:12:30 -08:00
  • 675512cf84 Tweak README for 1.2.2 release v1.2.2 Jeff Schiller 2024-01-26 17:14:10 -08:00
  • 08a0fd8e6c Updat TS types Jeff Schiller 2024-01-26 09:25:10 -08:00
  • b00dc80946 Update some TODOs for a 2.0 release Jeff Schiller 2024-01-26 09:23:24 -08:00
  • f738d73390 Update docs in prep for 1.2.2 release Jeff Schiller 2024-01-25 23:27:09 -08:00
  • e03fe7c483 Add one more byte for the gzip signature Jeff Schiller 2024-01-25 20:46:41 -08:00
  • 4ca68bd336 Fix issue #38: Use runtime's native DecompressionStream to inflate zip streams. Jeff Schiller 2024-01-25 19:58:18 -08:00
  • 5bf583c617 Fix JS error in WebWorker wrapper Jeff Schiller 2024-01-25 19:44:10 -08:00
  • 6d7d4abac7 Add gzip detection to file sniffer Jeff Schiller 2024-01-25 18:42:27 -08:00
  • 4fc5ce450c Only have a unit test for DEFLATE when the runtime supports CompressionStream('deflate-raw') Jeff Schiller 2024-01-25 08:42:00 -08:00
  • 6c19e3a908 For issue #40, support DEFLATE compression in Zipper where the runtime supports it via CompressionStream. Jeff Schiller 2024-01-25 01:17:35 -08:00
  • c07aa83e12 io: Add skip() method to BitStream and beef up unit tests Jeff Schiller 2024-01-20 17:30:42 -08:00
  • 45fdedd663 Move some common type definitions into archive/common.js and some comments. Jeff Schiller 2024-01-20 16:12:55 -08:00
  • 4fc0c3da2b Update changelog for 1.2.1 release v1.2.1 Jeff Schiller 2024-01-19 13:28:13 -08:00
  • 98f98b8197 nit: jsdoc typo Jeff Schiller 2024-01-19 13:25:45 -08:00
  • 1cd392e3f3 Tweak README Jeff Schiller 2024-01-19 13:00:46 -08:00
  • d2f35163c3 Remove Node 18 from actions since it does not support CustomEvent. Jeff Schiller 2024-01-19 12:53:38 -08:00
  • 1267691579 Remove all PNG parser boilerplate events and use CustomEvent. Jeff Schiller 2024-01-19 12:49:15 -08:00
  • 17c58ec416 Remove Jpeg parse event boilerplate Jeff Schiller 2024-01-19 11:56:46 -08:00
  • c3a7b35fd5 Remove GIF parser event boilerplate in favor of a @template solution using CustomEvent Jeff Schiller 2024-01-19 11:43:03 -08:00
  • 5aff47ccfd Add license header to exif.js Jeff Schiller 2024-01-19 11:39:40 -08:00
  • 0a79ef1cd5 Add back in missing DEBUG variable for png.js Jeff Schiller 2024-01-18 22:08:27 -08:00
  • f1096f0ab2 PngParser: Add support for sPLT chunk Jeff Schiller 2024-01-18 22:05:09 -08:00
  • 7b1906a91b PngParser: Add support for hIST chunk Jeff Schiller 2024-01-18 21:39:35 -08:00
  • aeb5bb2f10 PngParser: Add support for eXIf chunk Jeff Schiller 2024-01-18 21:02:12 -08:00
  • 29ca69e874 Move EXIF profile extraction from jpeg.js into exif.js Jeff Schiller 2024-01-18 21:00:11 -08:00
  • 17b3850745 PngParser: Add support for pHYs chunk Jeff Schiller 2024-01-18 20:10:29 -08:00
  • 1869cd7bfa PngParser: Add support for tIME chunk. Jeff Schiller 2024-01-18 19:48:18 -08:00
  • 9f5b3a4882 PngParser: Add support for bKGD chunk Jeff Schiller 2024-01-18 00:12:10 -08:00
  • af72e198ed PngParser: Add support for iTXt chunk Jeff Schiller 2024-01-17 23:03:21 -08:00
  • 153405a453 PnParser: Confirm decompressed text in zTXt chunk in unit test Jeff Schiller 2024-01-17 20:15:44 -08:00
  • ade8f1a9ab PngParser: Add support for zTXt chunk Jeff Schiller 2024-01-17 01:54:28 -08:00
  • afb1a67f2d PngParser: Add support for tEXt chunk Jeff Schiller 2024-01-17 00:29:05 -08:00
  • 8694b6cad8 PngParser: Add support for cHRM chunk Jeff Schiller 2024-01-17 00:03:18 -08:00
  • f1efe8cd0d PngParser: Add support for tRNS chunk. Jeff Schiller 2024-01-16 19:15:30 -08:00
  • 6ff93337fd PngParser: Handle sBIT chunk. Jeff Schiller 2024-01-16 17:29:30 -08:00
  • 1d0abcaee8 PngParser: Handle gAMA chunk Jeff Schiller 2024-01-16 08:19:58 -08:00
  • b359f92251 PngParser: Add unit test for PLTE chunk Jeff Schiller 2024-01-16 08:00:35 -08:00
  • 193cafa5e7 Starter PNG parser Jeff Schiller 2024-01-15 23:15:37 -08:00
  • 2825df0bb3 Fix bug with ByteStream.skip(0) not returning itself Jeff Schiller 2024-01-15 23:14:28 -08:00
  • 2b772f8b49 Updated readme and changelog for 1.2.0 release v1.2.0 Jeff Schiller 2024-01-15 13:17:10 -08:00
  • 2645f57b68 Update exported types for image parsers. Jeff Schiller 2024-01-15 13:09:43 -08:00
  • 35e8ca9458 First version of JPEG and EXIF parser with starter unit tests and updated docs. Jeff Schiller 2024-01-15 12:36:23 -08:00
  • 24edc8cbaf Minor typo in comment Jeff Schiller 2024-01-15 11:42:54 -08:00
  • 5fe6688145 Add optional boolean parameter for setLittleEndian() and setBigEndian() Jeff Schiller 2024-01-10 21:47:00 +09:00
  • 5aad62cc49 Add explicit type-safe methods to bind for GIF events. Jeff Schiller 2024-01-10 21:25:36 +09:00
  • 18f4ceb316 Add note about teed streams not connected to original stream to docs. Jeff Schiller 2024-01-10 21:24:28 +09:00
  • 983a7206da Merge branch 'master' of github.com:codedread/bitjs Jeff Schiller 2024-01-10 21:23:09 +09:00
  • 053d4bc127 Fix bug with tee() so that endianness is also copied to teed stream. Jeff Schiller 2024-01-10 21:22:53 +09:00
  • 0f7438b94b
    Create CODE_OF_CONDUCT.md Jeff Schiller 2024-01-05 16:48:50 -08:00
  • 79c289afa1 Better explanation for tee() Jeff Schiller 2024-01-04 22:47:41 +09:00
  • 004cd8731a Mention peek methods exist on ByteStream. Jeff Schiller 2024-01-04 22:43:59 +09:00
  • 208b69a65d Make skip() return the ByteStream, for chaining. Document the tee() method. Jeff Schiller 2024-01-04 22:39:25 +09:00
  • b72e629d8a Update changelog for pending changes in 1.2.0 Jeff Schiller 2024-01-04 22:27:15 +09:00
  • c1627f9169 Update to archive docs Jeff Schiller 2024-01-04 22:23:46 +09:00
  • acaa3a90d9 Add skip() method to ByteStream Jeff Schiller 2024-01-04 22:22:26 +09:00
  • ee57144579 Tweaks to ByteStream docs Jeff Schiller 2023-12-25 20:30:02 -08:00
  • 05cbcdc561 Add some docs for ByteStream Jeff Schiller 2023-12-25 18:10:25 -08:00
  • cb95ddc3ef io: Handle big-endian in ByteStream Jeff Schiller 2023-12-25 14:17:10 -08:00
  • 6d1d33e970 Up-rev to 1.2.0 to account for new image/parsers package. Jeff Schiller 2023-12-22 20:57:08 -08:00
  • 757a489c02 Update TS types for GifParser and related types. Jeff Schiller 2023-12-22 14:19:40 -08:00
  • 13d8a166bf Add a GIF Parser into image/parsers Jeff Schiller 2023-12-22 14:14:05 -08:00
  • 9558624b6a Rename a couple unit tests Jeff Schiller 2023-12-22 14:12:53 -08:00
  • 8e1a7f3d0f Fix compress after previous refactor and add a unit test. Jeff Schiller 2023-12-22 13:18:36 -08:00
  • 65db5bdbd2 Add some more RAR files for test coverage. Update test coverage to include archive now that we have some automated tests. Jeff Schiller 2023-12-16 22:45:00 -08:00
  • f64c744abf Update changelog for 1.1.7 release v1.1.7 Jeff Schiller 2023-12-16 22:21:23 -08:00
  • 2dd0a815d0 Add some documentation for BitStream Jeff Schiller 2023-12-16 22:13:53 -08:00
  • 617a63e16d Add Node 21 to testing action. Jeff Schiller 2023-12-16 15:48:51 -08:00
  • 575c537baa Update github checkout and setup-node actions to v4 Jeff Schiller 2023-12-16 15:39:13 -08:00
  • 2e1d9177b4 Remove old HTML archive unit tests - only automated tests going forward Jeff Schiller 2023-12-16 15:33:44 -08:00
  • cf26e0a2de Add some unit tests for unarchivers. Provide a way to disconnect the impl from the host (for unit tests). Jeff Schiller 2023-12-16 15:28:37 -08:00
  • eba7042abe Update type source map Jeff Schiller 2023-12-14 22:37:00 -08:00
  • 5d658782fe Write better documentation on unarchiving Jeff Schiller 2023-12-14 22:31:50 -08:00
  • e6d13d9404 Commonize on port-connected behavior for compressors and decompressors (part of the refactor for issue #44) Jeff Schiller 2023-12-13 14:25:17 -08:00
  • 48766d0136 For issue #44, make the Zipper use MessageChannel and not have a hard dependency on Worker Jeff Schiller 2023-12-13 12:40:45 -08:00
  • eeb228a52b Remove decompress-internal.js and pathToBitJS for decompress. Jeff Schiller 2023-12-12 21:04:41 -08:00
  • d557383c9d For issue #44, remove the need for a pathToBitJS while unarchiving. Jeff Schiller 2023-12-12 17:18:42 -08:00
  • f71c893f63 Fix issue #44, make decompress work in NodeJS (use Worker only where possible). Jeff Schiller 2023-12-11 22:00:35 -08:00
  • 5ad89892bd Move archive events into its own module. Jeff Schiller 2023-12-11 08:57:07 -08:00
  • 483f51ceeb Add Node 20.x to CI and remove 17.x. Jeff Schiller 2023-12-11 08:20:29 -08:00
  • 8e1f8b139a Rename DecompressorOptions to UnarchiverOptions. Add a ThreadingMode enum (only WebWorkers for now). Remove need to keep a handle to the decompressor impl from Unarchiver. Jeff Schiller 2023-12-11 08:19:53 -08:00
  • ac6807edec For Issue #44, introduce a @typedef for UnarchiverOptions Jeff Schiller 2023-12-11 00:29:50 -08:00