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

199 commits

Author SHA1 Message Date
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
codedread
6e9a9cc382 Tweak formatting 2018-11-01 03:29:27 -07:00
codedread
e4dc6d1082 Update History section of README 2018-02-01 09:38:16 -08:00
codedread
042b318cfa Update readme for streaming and add a TODO for Issue #11 2018-02-01 09:31:29 -08:00
codedread
a6f9026ab1 Remove pushing and throwing errors from BitStream and update unit tests. Update unrar to use a ByteStream for the RAR file header (like unzip) 2018-01-30 00:16:38 -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
950dc65b56 Improve performance of peeking bytes by copying subarrays instead of copying byte-by-byte 2018-01-26 08:59:51 -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
8c630c170c Add counters for number of bytes/bits read in streams since the beginning of time 2018-01-26 00:02:16 -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
3c5c9cbd4c Fix tee() methods on streams and add a unit test. Also improve error message logging in the test harness 2018-01-23 23:56:03 -08:00
codedread
adbd182bcc Tidy up some comments 2018-01-21 02:24:13 -08:00
codedread
5aa0110faf Add tee() methods to BitStream and ByteStream 2018-01-21 02:06:07 -08:00
codedread
48a1cd8e90 Remove TODO 2018-01-21 01:52:53 -08:00
codedread
5b10c1a986 Make bitstreams pushable 2018-01-21 01:49:17 -08:00
codedread
26d06e8d3b Make ByteStream pushable (allow multiple pages of bytes) 2018-01-20 23:38:52 -08:00
codedread
f9f0bc10de Renamed test file 2018-01-20 11:12:31 -08:00
codedread
2d53b90bda Split out io tests into individual files 2018-01-20 10:37:16 -08:00
codedread
ed15993286 Use modern function property syntax in the test harness 2018-01-20 09:53:20 -08:00
codedread
fcbf024848 alias the assert calls 2018-01-20 09:45:00 -08:00
codedread
73a46c256c Update test harness for assertThrows() 2018-01-20 09:40:21 -08:00
codedread
b593fc6d8e Allow 0-length reads, the unarchivers expect this 2018-01-19 20:16:28 -08:00
codedread
ec27877ffa Improve parameter validation and test coverage. Also add errorws when trying to seek past the end of the stream 2018-01-19 17:40:43 -08:00
codedread
981ac156ac Add some tests for BitStreams 2018-01-19 08:35:51 -08:00
codedread
e7ef46fb78 Fix whitespace and style 2018-01-19 07:47:49 -08:00
codedread
ccf755e3db Issue #4: Add support for standard filter VMSF_AUDIO 2017-10-31 23:57:55 -07:00
codedread
82dff77651 Fix a bug in Unrar where the LHD_SOLID flag was being ignored in the header 2017-10-16 22:20:45 -07:00
codedread
b12da95e42 Tweak README.md file 2017-04-20 17:59:11 -07:00
codedread
1a120e7230 Fix es6 const/let error 2017-03-26 21:11:15 -07:00
codedread
941be5d998 Add support for standard filter VMSF_RGB 2017-03-02 07:51:06 -08:00
codedread
e412022a58 Update link in unrar doc to bitjs on github. 2017-02-21 18:24:17 -08:00