Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: third_party/zlib/README.chromium

Issue 2669053004: Remove mixed-source.patch from zlib. (Closed)
Patch Set: delete mixed-source.patch Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/zlib/deflate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Name: zlib 1 Name: zlib
2 URL: http://zlib.net/ 2 URL: http://zlib.net/
3 Version: 1.2.8 3 Version: 1.2.8
4 Security Critical: yes 4 Security Critical: yes
5 License: Custom license 5 License: Custom license
6 License Android Compatible: yes 6 License Android Compatible: yes
7 7
8 Description: 8 Description:
9 General purpose compression library 9 General purpose compression library
10 10
11 Local Modifications: 11 Local Modifications:
12 A few minor changes, all marked with "Google": 12 A few minor changes, all marked with "Google":
13 - Added #ifdefs to avoid compile warnings when NO_GZCOMPRESS is defined. 13 - Added #ifdefs to avoid compile warnings when NO_GZCOMPRESS is defined.
14 - Removed use of strerror for WinCE in gzio.c. 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. 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. 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 o ffset versions of API. 17 - Added logic in zlib.h to undef our earlier mangles when defaulting to 64 bit o ffset versions of API.
18 - Added casts to suppress VC++ warnings 18 - Added casts to suppress VC++ warnings
19 The 'google.patch' file represents our changes from the original zlib-1.2.5. 19 The 'google.patch' file represents our changes from the original zlib-1.2.5.
20 20
21 A more significant change to support mixed-source data compression. See
22 crbug.com/139744 and mixed-source.patch.
23
24 Integrated Intel SIMD optimisations from: https://github.com/jtkukunas/zlib/ 21 Integrated Intel SIMD optimisations from: https://github.com/jtkukunas/zlib/
25 and modified to accomodate the older version and existing changes in tree. 22 and modified to accomodate the older version and existing changes in tree.
26 23
27 This introduces new files: simd_stub.c, crc_folding.c, fill_window_sse.c and 24 This introduces new files: simd_stub.c, crc_folding.c, fill_window_sse.c and
28 x86.[ch]. All but the latter are built into a static library to allow the 25 x86.[ch]. All but the latter are built into a static library to allow the
29 compiler to use the desired instructions only when valid. The latter version is 26 compiler to use the desired instructions only when valid. The latter version is
30 only built on x86 (32-bit and 64-bit) systems with it's functionality stubbed 27 only built on x86 (32-bit and 64-bit) systems with it's functionality stubbed
31 on the others. 28 on the others.
32 29
33 Other changes to accomodate: 30 Other changes to accomodate:
34 - fill_window() implementation calls into _sse() variant when supported and the 31 - fill_window() implementation calls into _sse() variant when supported and the
35 original implementation renamed to _c() 32 original implementation renamed to _c()
36 - read_buf was moved from local to ZLIB_INTERNAL for fill_window_sse.c to use 33 - read_buf was moved from local to ZLIB_INTERNAL for fill_window_sse.c to use
37 - INSERT_STRING macro was made a function, insert_string() and an implementation using CRC instruction added 34 - INSERT_STRING macro was made a function, insert_string() and an implementation using CRC instruction added
38 - some crc funcionality moved into crc32.c 35 - some crc funcionality moved into crc32.c
39 36
40 Update to zlib-1.2.8, generate a third patch which includes the jtkukunas optimi sations. We may merge some more from jtkukunas branch later. 37 Update to zlib-1.2.8, generate a third patch which includes the jtkukunas optimi sations. We may merge some more from jtkukunas branch later.
41 Currently we upgrade to madler's version 1.2.8,merged SIMD optimisation and 38 Currently we upgrade to madler's version 1.2.8,merged SIMD optimisation and
42 some other changes above. 39 some other changes above.
43 The step as follows: 40 The step as follows:
44 1.download a clean madler zlib from github. 41 1.download a clean madler zlib from github.
45 2.apply google.patch, mixed.patch, simd.patch sequencely. 42 2.apply google.patch, simd.patch sequencely.
46 3.update these patches. 43 3.update these patches.
OLDNEW
« no previous file with comments | « no previous file | third_party/zlib/deflate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698