Vitaly Puzrin
3550aa653b
deps bump + remove unused vars
2016-12-15 02:40:17 +03:00
Vitaly Puzrin
bd0879c1cd
Always fill err.message on throw
2016-12-15 02:35:12 +03:00
Kirill Efimov
a70b86c8c7
Fix test compatibility with old nodes
2016-07-21 15:13:46 +03:00
Kirill Efimov
4a07e05823
Fixed wrong offset for d_buf
( closes #78 )
2016-07-21 14:45:54 +03:00
Vitaly Puzrin
d884686332
minor code cleanup
2016-03-31 06:26:10 +03:00
dignifiedquire
ffaf7c8252
Implement dictionary handling.
...
This adds the methods
- `deflateSetDictionary`
- `inflateSetDictionary`
as well as calling `setDictionary` at the right point when passing
the a `dictionary` option to one of
- `pako.deflate`
- `new pako.Deflate`
- `pako.inflate`
- `new pako.Inflate`
2016-03-30 15:44:16 -04:00
Vitaly Puzrin
50cd07afc4
Remove .js
extention in require() use. Close #71
2016-02-17 10:48:46 +03:00
Vitaly Puzrin
500bc5d042
Coding Style & eslint rules update
2016-02-17 10:37:31 +03:00
nik
2c504a0865
fix inflate wrapper check condition, issue #65
2015-09-14 14:46:53 +03:00
Vitaly Puzrin
705b072edf
Increased timeouts to pass IE 7/8 tests
2015-09-13 03:06:04 +03:00
Vitaly Puzrin
cff11fc91b
Replaced jshint with eslint & updated CS
2015-03-24 05:28:20 +03:00
Vitaly Puzrin
c6f03f4522
Allow ArrayBuffer input, closes #49
2015-03-24 03:46:30 +03:00
nik
c449f4ff69
fix inflate wrapper cycle condition issue #29
2014-07-05 21:54:46 -03:00
Vitaly Puzrin
87a6a88255
Added test for issue #29
2014-07-03 21:44:39 +04:00
nik
4e16144fad
remove codes table variable & add switching between fixed and dynamic tables for inflate, issue #22
2014-05-01 14:51:44 -03:00
Vitaly Puzrin
57a80d98cf
helper rename
2014-05-01 04:14:49 +04:00
Vitaly Puzrin
8cbe85f55f
Added raw inflate tests for #22
2014-05-01 04:06:11 +04:00
nik
8bea7480aa
refactoring: rename input/output buffer indexes to next_in/next_out
2014-04-17 18:47:18 -03:00
nik
83859e524b
add deflate coverage tests
2014-04-16 19:22:28 -03:00
Vitaly Puzrin
2cd0309b62
Moved utf8 border detect to utils, fixed bugs & added tests
2014-04-15 00:22:37 +04:00
Vitaly Puzrin
4d3acc2961
Fixes & tests for surrogates support in strings encoder/decoder
2014-04-14 23:30:34 +04:00
Vitaly Puzrin
33c90194d0
Fixed inflate utf8 decoder
2014-04-13 21:30:00 +04:00
Vitaly Puzrin
b165c9c945
Deflate: added custom gzip headers support
2014-04-13 20:45:13 +04:00
Vitaly Puzrin
aecf1fa6b1
Fixed strings output for inflate (temporary solution)
2014-04-13 19:17:26 +04:00
Vitaly Puzrin
ca1374eb05
Moved utilities to separate folder
2014-04-13 13:45:12 +04:00
Vitaly Puzrin
195e40c0df
files rename/cleanup (+ dropped inflatePrime method)
2014-04-10 07:06:04 +04:00
nik
4ec36ba40b
move inflate gzip headers and gzip joined to inflate_gzip
2014-04-08 19:27:39 -03:00
nik
2c28e500e8
complete coverage tests
2014-04-08 19:27:38 -03:00
nik
694e6619ea
add onData calls count check for chunks test
2014-04-08 19:27:37 -03:00
Vitaly Puzrin
e555c41214
Added strings support
2014-04-09 00:50:01 +04:00
Vitaly Puzrin
b1dae2db36
typo fix
2014-04-08 18:44:18 +04:00
Vitaly Puzrin
4c3761253f
Added test for ending via push([], true)
2014-04-07 08:51:11 +04:00
nik
b7943beb1d
add inflate coverage tests
2014-04-04 12:50:40 -03:00
nik
5b7c22f37a
inflate/deflate wrappers now call onData only if output buffer is full or input reached end & add tests for small input chunks
2014-04-01 19:29:54 -03:00
Vitaly Puzrin
84bff8b74b
reorganized fixtures
2014-03-29 04:23:23 +04:00
Vitaly Puzrin
373115b4e9
tests cleanup
2014-03-29 03:05:49 +04:00
nik
144a94e3f8
fix reading gzip headers & add test for inflate gz headers
2014-03-28 18:57:59 -03:00
Vitaly Puzrin
c92edab663
enabled strategy=Z_FIXED tests
2014-03-20 06:39:28 +04:00
Vitaly Puzrin
59897860ae
updated fixtures
2014-03-20 06:26:19 +04:00
Vitaly Puzrin
f47bb620ad
Updated tests
2014-03-19 21:07:30 +04:00
Vitaly Puzrin
ea46210f59
Added fixture that cause deflate bug
2014-03-19 07:28:13 +04:00
Vitaly Puzrin
6cb53e5b51
Doc fixes & minor polish
2014-03-14 02:04:31 +04:00
Vitaly Puzrin
07173737fc
Fixed ungzip: force window size when not set, because autodetect impossible
2014-03-14 00:58:09 +04:00
Vitaly Puzrin
1d91d3b187
Inflate tests/helpers cleanup
2014-03-13 23:30:55 +04:00
nik
3f30aa8250
fix inflate data check & enable inflate ungzip test with method set directly
2014-03-13 16:02:15 -03:00
Vitaly Puzrin
70a4a114e1
rearranged browser tests
2014-03-13 14:47:16 +04:00
Vitaly Puzrin
f9d23a7d08
updated browser tests
2014-03-13 11:28:45 +04:00
Vitaly Puzrin
7b2e5da8a9
Rewritten utils unterfaces & internals
2014-03-13 10:45:14 +04:00
Vitaly Puzrin
35e1b51738
Increased tests timeout (needed for CI)
2014-03-13 00:41:05 +04:00
Vitaly Puzrin
c6f445a2e2
Fixed inflate level 0
2014-03-12 06:10:15 +04:00