Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / zlib / README.chromium
1 Name: zlib
2 URL: http://zlib.net/
3 Version: 1.2.5
4 Security Critical: yes
5 License: Custom license
6 License Android Compatible: yes
7
8 Description:
9 General purpose compression library
10
11 Local Modifications:
12 A few minor changes, all marked with "Google":
13 - Added #ifdefs to avoid compile warnings when NO_GZCOMPRESS is defined.
14 - Removed use of strerror for WinCE in gzio.c.
15 - Added 'int z_errno' global for WinCE, to which 'errno' is defined in zutil.h.
16 - Added 'mozzconf.h' to mangle the function names.
17 - Added logic in zlib.h to undef our earlier mangles when defaulting to 64 bit offset versions of API.
18 The 'google.patch' file represents our changes from the original zlib-1.2.5.
19
20 A more significant change to support mixed-source data compression. See
21 crbug.com/139744 and mixed-source.patch.
22
23 Integrated Intel SIMD optimisations from: https://github.com/jtkukunas/zlib/
24 and modified to accomodate the older version and existing changes in tree.
25
26 This introduces new files: simd_stub.c, crc_folding.c, fill_window_sse.c and
27 x86.[ch]. All but the latter are built into a static library to allow the
28 compiler to use the desired instructions only when valid. The latter version is
29 only built on x86 (32-bit and 64-bit) systems with it's functionality stubbed
30 on the others.
31
32 Other changes to accomodate:
33 - fill_window() implementation calls into _sse() variant when supported and the
34   original implementation renamed to _c()
35 - read_buf was moved from local to ZLIB_INTERNAL for fill_window_sse.c to use
36 - INSERT_STRING macro was made a function, insert_string() and an implementation using CRC instruction added
37 - some crc funcionality moved into crc32.c