1 | Content of this folder follows zlib C sources as close as possible.
|
---|
2 | That's intended to simplify maintainability and guarantee equal API
|
---|
3 | and result.
|
---|
4 |
|
---|
5 | Key differences:
|
---|
6 |
|
---|
7 | - Everything is in JavaScript.
|
---|
8 | - No platform-dependent blocks.
|
---|
9 | - Some things like crc32 rewritten to keep size small and make JIT
|
---|
10 | work better.
|
---|
11 | - Some code is different due missed features in JS (macros, pointers,
|
---|
12 | structures, header files)
|
---|
13 | - Specific API methods are not implemented (see notes in root readme)
|
---|
14 |
|
---|
15 | This port is based on zlib 1.2.8.
|
---|
16 |
|
---|
17 | This port is under zlib license (see below) with contribution and addition of javascript
|
---|
18 | port under expat license (see LICENSE at root of project)
|
---|
19 |
|
---|
20 | Copyright:
|
---|
21 | (C) 1995-2013 Jean-loup Gailly and Mark Adler
|
---|
22 | (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
|
---|
23 |
|
---|
24 |
|
---|
25 | From zlib's README
|
---|
26 | =============================================================================
|
---|
27 |
|
---|
28 | Acknowledgments:
|
---|
29 |
|
---|
30 | The deflate format used by zlib was defined by Phil Katz. The deflate and
|
---|
31 | zlib specifications were written by L. Peter Deutsch. Thanks to all the
|
---|
32 | people who reported problems and suggested various improvements in zlib; they
|
---|
33 | are too numerous to cite here.
|
---|
34 |
|
---|
35 | Copyright notice:
|
---|
36 |
|
---|
37 | (C) 1995-2013 Jean-loup Gailly and Mark Adler
|
---|
38 |
|
---|
39 | Copyright (c) <''year''> <''copyright holders''>
|
---|
40 |
|
---|
41 | This software is provided 'as-is', without any express or implied
|
---|
42 | warranty. In no event will the authors be held liable for any damages
|
---|
43 | arising from the use of this software.
|
---|
44 |
|
---|
45 | Permission is granted to anyone to use this software for any purpose,
|
---|
46 | including commercial applications, and to alter it and redistribute it
|
---|
47 | freely, subject to the following restrictions:
|
---|
48 |
|
---|
49 | 1. The origin of this software must not be misrepresented; you must not
|
---|
50 | claim that you wrote the original software. If you use this software
|
---|
51 | in a product, an acknowledgment in the product documentation would be
|
---|
52 | appreciated but is not required.
|
---|
53 | 2. Altered source versions must be plainly marked as such, and must not be
|
---|
54 | misrepresented as being the original software.
|
---|
55 | 3. This notice may not be removed or altered from any source distribution.
|
---|
56 |
|
---|
57 |
|
---|
58 | Jean-loup Gailly Mark Adler
|
---|
59 | jloup@gzip.org madler@alumni.caltech.edu
|
---|