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

31 commits

Author SHA1 Message Date
Jeff Schiller
d01610ac9c Move INFLATE implementation into its own module. 2024-02-04 15:41:21 -08:00
Jeff Schiller
4ca68bd336 Fix issue #38: Use runtime's native DecompressionStream to inflate zip streams. 2024-01-25 19:58:18 -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
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
df5c5cfa0f Rework decompression implementations to not be Workers, but instead communicate to the host via a MessagePort. This doesn't address issue #44 directly yet (still need a way to swap out port connection with a non-Web Worker). 2023-12-11 00:12:42 -08:00
Jeff Schiller
4ff93acab9 Add TODO to eventually un-Worker-ify the untar, unzip, unrar scripts. 2023-11-20 21:39:02 -08:00
Jeff Schiller
63e84dadb0 Issue #28: Removed build step for bitjs.io now that all browsers (Firefox 114+) support ES Module Workers. 2023-05-28 10:39:35 -07:00
Jeff Schiller
cc59935e72 Some minor API updates. 2021-12-29 20:01:48 -08:00
Jeff Schiller
596a859bdc Implement crc32 calculation for issue #29 2021-12-16 15:09:20 -05:00
Jeff Schiller
c0afe7637e Start on issue #29: Add a Zipper that can take multiple files and produce a zip file as an array of bytes (storage only, no compression) 2021-12-12 23:39:09 -08:00
Jeff Schiller
85dcee80ec Experiment with marking ArrayBuffers are Transferable across the Worker thread boundary for unzip. 2021-12-12 12:15:29 -08:00
Jeff Schiller
2a90e32c89 Updates to jsdoc for better IDE analysis. A couple other minor tweaks. 2021-12-12 11:01:41 -08:00
Jeff Schiller
843caf4e61 Use JS Map instead of JS object for the huffman code tables. Seems to be a pretty good performance improvement on Chrome, Safari, Firefox. 2021-12-12 00:32:28 -08:00
codedread
2db5b3b906 Fix issue #19: Support data descriptors in unzip. 2020-04-30 23:54:21 -07:00
codedread
78a11e1b12 Remove unzip/unrar/untar worker dependency on archive.js so that we can turn it into an ES module for Issue #16 2020-04-02 09:35:31 -07:00
codedread
1b00fdaae3 Fix unrar and unzip importing the right version of ByteBuffer 2020-04-02 09:17:47 -07:00
codedread
ab5f6fc6d2 Make ByteStream and ByteBuffer into modules with Worker veresions via build for Issue #16 2020-04-02 00:07:14 -07:00
codedread
a457564ff0 Start on Issue #16. Make BitStream a module, but provide a Web Worker version of BitStream via a build step 2020-04-01 23:08:09 -07:00
codedread
58ac1aed25 Surface metadata from zip files to clients 2020-01-19 09:33:58 -08:00
codedread
2916cf0926 Read in the end of Central File Header block 2019-11-30 08:29:22 -08:00
codedread
b04e638c93 Add logging as a parameter (used in unzip.js). Add a TODO for unrar.js to use a ByteStream for the file headers 2018-01-29 22:06:54 -08:00
codedread
23e3921072 Track number of compressed bytes read in while unarchiving and reporting progress 2018-01-26 00:12:58 -08:00
codedread
295413af0b Remove dead sorting code inside the unarchivers. That is the job of the client code. 2018-01-25 21:22:39 -08:00
codedread
3268d3d10a Update untar for streaming 2018-01-24 23:52:20 -08:00
codedread
9f9cd94547 Update unrar() to work for streamed data. Improve error handling in unzip 2018-01-24 08:33:36 -08:00
codedread
9d08824bfd Give a way for Unarchivers to have additional bytes pushed to their Workers. Update unzip() to work for streamed data. 2018-01-23 23:59:37 -08:00
codedread
d2a4329893 Whitespace and a couple arrow functions 2017-02-21 12:05:03 -08:00
codedread
0d27e9d9c0 Fix unzipper so that it always gets a fresh buffer of data. Remove a debugger statement 2017-02-21 11:45:28 -08:00
codedread
14abef20d6 Convert to ES6 classes 2017-02-20 14:36:48 -08:00
codedread
639a23e69b Start the move to es6: Change all vars to lets/consts 2017-02-20 12:47:17 -08:00
codedread
19af90a27f Move all archive-related files into a subdirectory called archive 2017-02-19 09:49:06 -08:00
Renamed from unzip.js (Browse further)