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

142 commits

Author SHA1 Message Date
Jeff Schiller
7746b8c03f Tweak the file signature sniffer so byte tree initialization happens lazily. 2022-01-14 12:17:03 -08:00
Jeff Schiller
96ba25aef7 Update file comments in decompress-internal.js 2021-12-29 20:19:28 -08:00
Jeff Schiller
3d9bf2ae72 Update README for the ZIpper. 2021-12-29 20:14:02 -08:00
Jeff Schiller
cc59935e72 Some minor API updates. 2021-12-29 20:01:48 -08:00
Jeff Schiller
24b1603968 Add a BitBuffer to the io package and a few tests 2021-12-20 20:35:59 -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
7389b71cf9 Delete 2021-12-12 16:57:16 -08:00
Jeff Schiller
a7458aca9d Fix references in rename 2021-12-12 16:55:38 -08:00
Jeff Schiller
adc2f698ae Rename unzipper test harness files. 2021-12-12 15:34:58 -08:00
Jeff Schiller
755aba54bd Make buffers transferable out of the Worker for unrar/untar too 2021-12-12 12:58:34 -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
Jeff Schiller
4496948aaf Add a getMIMEType() method to Unarchiver 2021-06-20 13:49:23 -07:00
Jeff Schiller
cd847d1b71 Add TAR magic numbers to file sniffer. 2021-06-20 12:59:11 -07:00
Jeff Schiller
8bf65d6384 Add an UnarchiveAppendEvent so listeners can tell when the ArrayBuffer has received more bytes. 2021-06-20 10:31:38 -07:00
Jeff Schiller
a5e3d2f0b5 Move actual archive functionality into archive-internal.js so we can eventually unit test it in nodejs. 2021-06-20 10:19:43 -07:00
Jeff Schiller
7f5cba6150 Merge branch 'master' of https://github.com/codedread/bitjs 2021-06-02 23:30:34 -07:00
Jeff Schiller
ad6bd4f2e6 Add CI badge to README 2021-06-02 23:30:15 -07:00
Jeff Schiller
d615869855
Create node.js.yml workflow 2021-06-02 23:27:59 -07:00
Jeff Schiller
f195434de5 For Issue #27, rewrite most tests to use mocha/chai via npm run test 2021-06-02 23:26:58 -07:00
codedread
83442ea837 Update README 2020-10-23 23:57:31 -07:00
codedread
557a40e810 Add a couple audio file formats to sniffer 2020-07-17 11:01:08 -07:00
Jeff Schiller
e815252ae1
Merge pull request #22 from gavindsouza/patch-1
docs: Add Information about Package Installation
2020-07-17 09:55:47 -07:00
gavin
88083df3a1
docs: Add Information about Package Installation 2020-07-17 20:21:25 +05:30
codedread
1601d8678d Update README with summary and reorder sections alphabetically 2020-05-01 09:34:46 -07:00
codedread
2db5b3b906 Fix issue #19: Support data descriptors in unzip. 2020-04-30 23:54:21 -07:00
codedread
97fcf8d630 Fix a minor bug with MIME type sniffing and let callers specify whether unarchivers should debug log to the console 2020-04-29 20:48:52 -07:00
codedread
155111e78a Updates to package.json 2020-04-02 23:55:59 -07:00
codedread
49d000b55c Newline 2020-04-02 23:49:55 -07:00
codedread
96c5a67ba3 1.0.0 2020-04-02 23:43:28 -07:00
codedread
60a6bf405c Use the file sniffer inside archive.js 2020-04-02 23:43:24 -07:00
codedread
1570f058f8 First attempt at adding a npm package.json for Issue #16 2020-04-02 23:42:02 -07:00
codedread
92decf206d Random update to the wasm module 2020-04-02 23:41:43 -07:00
codedread
b8281ecde2 Update README to reflect things are all ES modules now 2020-04-02 19:53:43 -07:00
codedread
f42dd8158b Update test files to be ES modules for Issue #16 2020-04-02 19:46:14 -07:00
codedread
0312134ae3 Update file sniffer to be an ES module 2020-04-02 19:30:21 -07:00
codedread
2cc77f905b Turn archive.js into an ES module for Issue #16 2020-04-02 17:29:02 -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
469a93d6e1 Move the build Dockerfile and README to the top build/ directory and adjust scripts 2020-04-01 22:01:48 -07:00
codedread
4ec6a35b35 Add bz2 and pdf to file sniffer. Allow multiple signatures per file type. 2020-03-19 09:22:19 -07:00
codedread
31635710ac Add file comments to webp-shim.js 2020-03-16 23:36:47 -07:00
codedread
3117a2897f Add several more image and archive formats to the File Sniffer. 2020-03-16 23:36:28 -07:00
codedread
59d677c6bb Add starter file sniffer for detecting file types 2020-03-16 21:17:58 -07:00
codedread
c85f5ae2cb Correct error, by creating a Uint8Array, in JPG converter function 2020-03-16 12:04:04 -07:00
codedread
3ad0fa4473 Fix JPG function referencing detached heap. Also, optimize WASM module output. 2020-03-15 15:33:36 -07:00