1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-05 10:29:24 +02:00
Commit graph

132 commits

Author SHA1 Message Date
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
codedread
9dc09e22f4 Fix bug where we are holding on to a reference to the WASM runtime HEAP, but the HEAP could become detached 2020-03-14 17:47:43 -07:00
codedread
c1f0b6bc2a Tidy up README 2020-03-14 10:45:30 -07:00
codedread
1b70e58474 Add syntax highlighting to README file 2020-03-14 09:57:57 -07:00
codedread
1bb77093ed Update license info on all webp-shim sources. Provide an example in the top-level README file for bitjs 2020-03-14 09:54:04 -07:00
codedread
557ef36bd0 Fix README file for webp-shim 2020-03-14 09:12:06 -07:00
codedread
b6dcda89ff Add webp-shim to bitjs 2020-03-14 08:54:31 -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
f6fe788693 If there are not at least ten bytes in the arraybuffer, return a null unarchiver 2019-03-08 08:19:37 -08:00
codedread
e07990c4db Terminate the unrar process if we reach the end of the byte stream 2018-11-01 03:30:18 -07:00