Vitaly Puzrin
505e36d9f0
Move to es6
2020-11-08 22:23:56 +03:00
Vitaly Puzrin
f5c3c29848
Removed Array
support
2020-11-07 19:52:58 +03:00
Vitaly Puzrin
f1872b3459
eslint bump + CS tweaks
2018-11-29 20:13:39 +03:00
Vitaly Puzrin
eaead04de3
More formal zlib attribution and related changes
2017-03-26 18:29:30 +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
500bc5d042
Coding Style & eslint rules update
2016-02-17 10:37:31 +03:00
Vitaly Puzrin
cff11fc91b
Replaced jshint with eslint & updated CS
2015-03-24 05:28:20 +03:00
Vitaly Puzrin
a4d7bdef8d
docs/comments update
2014-04-18 02:56:41 +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
b165c9c945
Deflate: added custom gzip headers support
2014-04-13 20:45:13 +04:00
Vitaly Puzrin
ca1374eb05
Moved utilities to separate folder
2014-04-13 13:45:12 +04:00
Vitaly Puzrin
20b0318601
Cleanup & comments
2014-04-13 13:20:58 +04:00
nik
2fcb571a68
fix inflate: _tr_tally function argument calculation
2014-03-19 23:18:22 -03:00
Vitaly Puzrin
6cb53e5b51
Doc fixes & minor polish
2014-03-14 02:04:31 +04:00
nik
9f495b8b13
add message to ZStream on deflate error
2014-03-13 18:24:00 -03:00
Vitaly Puzrin
7b2e5da8a9
Rewritten utils unterfaces & internals
2014-03-13 10:45:14 +04:00
Vitaly Puzrin
0b21c5b402
readme update
2014-02-24 08:53:24 +04:00
Vitaly Puzrin
e78abad260
Reorganized constants - move locally as much as possible
2014-02-24 06:17:36 +04:00
Vitaly Puzrin
5cabad0d48
added coverage generation & improved tests
2014-02-21 19:06:31 +04:00
Vitaly Puzrin
371292dfef
Closed TODOs and added comments
2014-02-21 11:42:42 +04:00
Vitaly Puzrin
9e18b276cd
Fixed RLE strategy
2014-02-19 22:17:44 +04:00
Vitaly Puzrin
917d665a4c
reduced TODOs count
2014-02-19 20:00:44 +04:00
nik
2434495874
fix flush block in deflate_slow & enable windowBits test
2014-02-19 10:15:20 -03:00
Vitaly Puzrin
0d4a1bcd64
typo fixes
2014-02-19 09:52:17 +04:00
Vitaly Puzrin
1a64fa47f5
Tweaked trees init
2014-02-19 06:18:12 +04:00
nik
99c8fa83b5
fix: return correct block state in deflate_stored & enable tests for level 0
2014-02-18 22:30:46 -03:00
Vitaly Puzrin
fcd6db56b7
cleared unnecessary var casts
2014-02-18 07:03:13 +04:00
Vitaly Puzrin
1a32aea787
multiple tweaks & comments
2014-02-18 05:54:09 +04:00
Vitaly Puzrin
822310eb43
Removed float ops & added comments
2014-02-18 04:01:10 +04:00
nik
202d870375
some fixes
2014-02-17 18:53:37 -03:00
Vitaly Puzrin
90e1a6ff31
code cleanup
2014-02-17 10:23:13 +04:00
Vitaly Puzrin
f643adbbcf
added the rest or deflate_* functions
2014-02-17 10:11:57 +04:00
nik
7644f9f3db
add initialization l_buf and d_buf
2014-02-16 23:54:54 -03:00
Vitaly Puzrin
42237287cb
started deflate_fast() implementation
2014-02-16 21:45:40 +04:00
Vitaly Puzrin
285e2d4cff
Added gzip interface (without custom headers support)
2014-02-15 09:11:24 +04:00
Vitaly Puzrin
3288124672
deflate_state
reformatted
2014-02-15 00:52:33 +04:00
Vitaly Puzrin
ee4543fc0a
Comment for possible opt
2014-02-15 00:01:13 +04:00
Vitaly Puzrin
be9d4902bd
Typo fix & var rename
2014-02-14 08:59:43 +04:00
Vitaly Puzrin
b13f5f1de8
Removed orphaned 'FASTEST' #ifdefs emulation
2014-02-14 06:41:20 +04:00
Vitaly Puzrin
a9c5e58eea
More speed boost: use typed array for hash tables
2014-02-14 03:08:57 +04:00
Vitaly Puzrin
f4c1a86ed9
Fixed spped degradation: set arrays sizes & data types
2014-02-14 02:51:38 +04:00
nik
6676906303
implement deflate store + high level deflate implementation + lint fixes
2014-02-13 14:55:24 -02:00
nik
b4919faf9a
add adler32 algoritm
...
implementation of deflate init methods
2014-02-13 14:55:23 -02:00
nik
ee89f49100
add deflate signatures
2014-02-02 23:35:24 -02:00