README 2.1 KB

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