node/deps/zlib
Michaël Zasso a97ff753ab
build: add option to enable clang-cl on Windows
Most changes are gated by the `clang==1` condition to avoid breaking
MSVC builds.

Select C/C++ language standard with ClCompile options.
This avoids passing the `-std:c++20` flag while compiling C code.
Do it only under clang option to avoid breaking addons until node-gyp
supports the new LanguageStandard options.

Disable precompiled header configuration for now as it doesn't seem to
work with clang-cl.

Disable C++20 warnings emitted by the Visual Studio C++ STL.
They're very noisy and not our responsibility to fix.

Co-authored-by: Daniel Lemire <daniel@lemire.me>
Co-authored-by: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
PR-URL: https://github.com/nodejs/node/pull/52870
Reviewed-By: Daniel Lemire <daniel@lemire.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2024-05-15 08:41:49 +02:00
..
contrib deps: update zlib to 1.3.0.1-motley-7d77fb7 2024-04-29 22:46:25 +02:00
examples deps: update zlib to 1.3.0.1-motley-7d77fb7 2024-04-29 22:46:25 +02:00
google deps: update zlib to 1.3.0.1-motley-7d77fb7 2024-04-29 22:46:25 +02:00
patches
test deps: update zlib to 1.3.0.1-motley-7d77fb7 2024-04-29 22:46:25 +02:00
win32
adler32.c deps: update zlib to 1.3.0.1-motley-24c07df 2024-03-27 19:53:28 +00:00
adler32_simd.c deps: update zlib to 1.3.0.1-motley-7d77fb7 2024-04-29 22:46:25 +02:00
adler32_simd.h
BUILD.gn deps: update zlib to 1.3.0.1-motley-7d77fb7 2024-04-29 22:46:25 +02:00
chromeconf.h
CMakeLists.txt deps: update zlib to 1.3.0.1-motley-7d77fb7 2024-04-29 22:46:25 +02:00
compress.c
cpu_features.c deps: update zlib to 1.3.0.1-motley-24c07df 2024-03-27 19:53:28 +00:00
cpu_features.h deps: update zlib to 1.3.0.1-motley-24c07df 2024-03-27 19:53:28 +00:00
crc32.c deps: update zlib to 1.3.0.1-motley-24c07df 2024-03-27 19:53:28 +00:00
crc32.h
crc32_simd.c
crc32_simd.h
crc_folding.c
deflate.c deps: update zlib to 1.3.0.1-motley-24c07df 2024-03-27 19:53:28 +00:00
deflate.h
DIR_METADATA
GN-scraper.py
gzclose.c
gzguts.h
gzlib.c
gzread.c
gzwrite.c
infback.c
inffast.c
inffast.h
inffixed.h
inflate.c
inflate.h
inftrees.c
inftrees.h
LICENSE
OWNERS
README.chromium
slide_hash_simd.h
trees.c
trees.h
uncompr.c
zconf.h
zconf.h.cmakein
zconf.h.in
zlib.3
zlib.gyp build: add option to enable clang-cl on Windows 2024-05-15 08:41:49 +02:00
zlib.h
zlib.map
zlib.pc.cmakein
zutil.c
zutil.h

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: zlib
Short Name: zlib
URL: http://zlib.net/
Version: 1.3.0.1
CPEPrefix: cpe:/a:zlib:zlib:1.3.0.1
Security Critical: yes
Shipped: yes
License: Zlib
License File: LICENSE
License Android Compatible: yes

Description:
"A massively spiffy yet delicately unobtrusive compression library."

zlib is a free, general-purpose, legally unencumbered lossless data-compression
library. zlib implements the "deflate" compression algorithm described by RFC
1951, which combines the LZ77 (Lempel-Ziv) algorithm with Huffman coding. zlib
also implements the zlib (RFC 1950) and gzip (RFC 1952) wrapper formats.

Local Modifications:
 - Only source code from the zlib distribution used to build the zlib and
   minizip libraries are present. Many other files have been omitted. Only *.c
   and *.h files from the upstream root directory and contrib/minizip were
   imported.
 - The contents of the google directory are original Chromium-specific
   additions.
 - Added chromeconf.h
 - Plus the changes in 'patches' folder.
 - Code in contrib/ other than contrib/minizip was added to match zlib's
   contributor layout.
 - In sync with 1.2.13 official release
 - ZIP reader modified to allow for progress callbacks during extraction.
 - ZIP reader modified to add detection of AES encrypted content.