Node.js GitHub Bot
89ddc98b95
deps: update zlib to 1.3.0.1-motley-40e35a7
...
PR-URL: https://github.com/nodejs/node/pull/51274
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2023-12-26 00:30:05 +00:00
Node.js GitHub Bot
fa183786ef
deps: update zlib to 1.3.0.1-motley-dd5fc13
...
PR-URL: https://github.com/nodejs/node/pull/51105
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2023-12-16 10:31:02 +00:00
Node.js GitHub Bot
c59fe11038
deps: update zlib to 1.3-22124f5
...
PR-URL: https://github.com/nodejs/node/pull/50910
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-12-05 19:42:43 +01:00
Node.js GitHub Bot
f4c915c006
deps: update zlib to 1.2.13.1-motley-5daffc7
...
PR-URL: https://github.com/nodejs/node/pull/50803
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-11-24 17:48:08 +00:00
Node.js GitHub Bot
538d0c2a3f
deps: update zlib to 1.2.13.1-motley-dfc48fc
...
PR-URL: https://github.com/nodejs/node/pull/50456
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-11-01 13:33:19 +00:00
Node.js GitHub Bot
0522ac086c
deps: update zlib to 1.2.13.1-motley-fef5869
...
PR-URL: https://github.com/nodejs/node/pull/50085
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-10-10 05:23:08 +00:00
Luigi Pinca
ae115d68e0
zlib: disable CRC32 SIMD optimization
...
It seems that the optimization causes memory corruption. Disable it
until the issue is fixed upstream.
Fixes: https://github.com/nodejs/node/issues/45268
PR-URL: https://github.com/nodejs/node/pull/49511
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-09-10 05:44:49 +00:00
Node.js GitHub Bot
da197d1890
deps: update zlib to 1.2.13.1-motley-f5fd0ad
...
PR-URL: https://github.com/nodejs/node/pull/49252
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
2023-08-24 11:17:43 +00:00
Node.js GitHub Bot
8aff50413a
deps: update zlib to 1.2.13.1-motley-526382e
...
PR-URL: https://github.com/nodejs/node/pull/49033
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
2023-08-14 19:48:56 +02:00
Node.js GitHub Bot
01c8576a24
deps: update zlib to 1.2.13.1-motley-61dc0bd
...
PR-URL: https://github.com/nodejs/node/pull/48788
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
2023-07-20 20:00:23 +00:00
Node.js GitHub Bot
0ffad8afc5
deps: update zlib to 1.2.13.1-motley-f81f385
...
PR-URL: https://github.com/nodejs/node/pull/48541
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2023-06-29 04:58:01 +00:00
Node.js GitHub Bot
f6a3ec93aa
deps: update zlib to 1.2.13.1-motley-3ca9f16
...
PR-URL: https://github.com/nodejs/node/pull/48413
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2023-06-13 00:55:26 +00:00
Node.js GitHub Bot
a929522375
deps: update zlib to 982b036
...
PR-URL: https://github.com/nodejs/node/pull/48327
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mestery <mestery@protonmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
2023-06-06 16:33:41 +00:00
Node.js GitHub Bot
5fae8bc406
deps: update zlib to 337322d
...
PR-URL: https://github.com/nodejs/node/pull/48218
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-05-31 06:24:04 +00:00
Luigi Pinca
be2791b512
deps: update zlib to upstream 5edb52d4
...
Updated as described in doc/contributing/maintaining-zlib.md.
Refs: https://github.com/nodejs/node/pull/45387#issuecomment-1462728879
PR-URL: https://github.com/nodejs/node/pull/47151
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-04-06 16:42:26 +02:00
Richard Lau
7811d2de69
build: rework gyp files for zlib
...
Restructure the zlib.gyp file based on the upstream gn file, breaking
out the files with optimizations that need additional compiler flags.
Use a copy of the GN-scraper.py script to reduce the amount of hand
editing when the zlib dependency is updated.
PR-URL: https://github.com/nodejs/node/pull/45589
Fixes: https://github.com/nodejs/node/issues/32856
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2022-12-04 08:14:10 +00:00
Luigi Pinca
50f8de27a4
Revert "deps: fix zlib compilation for CPUs without SIMD features"
...
This reverts commit 26991f795d .
PR-URL: https://github.com/nodejs/node/pull/45589
Fixes: https://github.com/nodejs/node/issues/32856
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2022-12-04 08:14:09 +00:00
Anna Henningsen
26991f795d
deps: fix zlib compilation for CPUs without SIMD features
...
Fix the compile flags so that zlib can run on CPUs that do
not have SSSE3/SSE4.2/etc. Do not compile zlib with flags that
indicate that those features are available, and instead enable
them selectively for functions that use them.
There are probably better way to do this, e.g. through gyp file
modifications as suggested in the issue. However, this patch
should do just fine until that happens.
Fixes: https://github.com/nodejs/node/issues/32553
PR-URL: https://github.com/nodejs/node/pull/32627
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/45387
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2022-11-16 19:59:12 +00:00
Luigi Pinca
b6c108f092
deps: update zlib to upstream 8bbd6c31
...
Updated as described in doc/contributing/maintaining-zlib.md.
PR-URL: https://github.com/nodejs/node/pull/45387
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2022-11-16 19:59:11 +00:00
Ben Noordhuis
214d7da675
build: remove broken x32 arch support
...
I added support for x32 back in 2014 but it's been in a state of
disrepair ever since, not in the least because it was never a fully
supported architecture in upstream V8.
V8 dropped x32 support entirely in or around 2018 so the removal from
Node's build system is long overdue.
Refs: https://github.com/nodejs/node/issues/40576
PR-URL: https://github.com/nodejs/node/pull/41905
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2022-02-11 08:52:24 +00:00
Daniel Bevenius
5d7bd8616e
deps: suppress zlib compiler warnings
...
Currently, there are a number of compilation warnings from zlib like the
following one:
../deps/zlib/infback.c: In function ‘inflateBack’:
../deps/zlib/infback.c:479:25: warning:
this statement may fall through [-Wimplicit-fallthrough=]
479 | state->mode = LEN;
| ~~~~~~~~~~~~^~~~~
../deps/zlib/infback.c:481:9: note: here
481 | case LEN:
| ^~~~
In this case there is no break statement and the intention is to fall
through:
Tracev((stderr, "inflate: codes ok\n"));
state->mode = LEN;
case LEN:
This commit adds -Wno-implicit-fallthrough' to zlib.gyp to suppress
these warnings.
PR-URL: https://github.com/nodejs/node/pull/40343
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-10-11 11:11:54 +02:00
raisinten
ab587ca46b
build: fix zlib inlining for IA-32
...
PR-URL: https://github.com/nodejs/node/pull/35679
Fixes: https://github.com/nodejs/node/issues/35629
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-11-09 12:35:42 -08:00
lucasg
5b2c263ba8
deps: fix typo in zlib.gyp that break arm-fpu-neon build
...
PR-URL: https://github.com/nodejs/node/pull/35659
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-10-19 20:37:19 +02:00
Anna Henningsen
dccdc51788
deps: fix zlib compilation for CPUs without SIMD features
...
Fix the compile flags so that zlib can run on CPUs that do
not have SSSE3/SSE4.2/etc. Do not compile zlib with flags that
indicate that those features are available, and instead enable
them selectively for functions that use them.
There are probably better way to do this, e.g. through gyp file
modifications as suggested in the issue. However, this patch
should do just fine until that happens.
Fixes: https://github.com/nodejs/node/issues/32553
PR-URL: https://github.com/nodejs/node/pull/32627
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-04-09 21:41:02 +02:00
Sam Roberts
9a1719b541
deps: update zlib to upstream d7f3ca9
...
Updated as described in doc/guides/maintaining-zlib.md.
PR-URL: https://github.com/nodejs/node/pull/31800
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
2020-02-24 11:52:55 -08:00
Sam Roberts
5f0181a079
deps: move zlib maintenance info to guides
...
deps/zlib/README.md is not part of the upstream zlib, it is a Node.js
specific addition describing how to maintain zlib and should be in
doc/guides/.
PR-URL: https://github.com/nodejs/node/pull/31800
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
2020-02-24 11:52:49 -08:00
Brian White
886965963a
deps: switch to chromium's zlib implementation
...
This implementation provides optimizations not included upstream.
PR-URL: https://github.com/nodejs/node/pull/31201
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2020-01-26 18:47:02 -05:00
Sam Roberts
fd17e8b8d2
deps: fix CLEAR_HASH macro to be usable as a single statement
...
Apply unreleased (as of zlib v1.2.11) patch from upstream:
- https://github.com/madler/zlib/commit/38e8ce32afbaa82f67d992b9f3056f281fe69259
Original commit message:
Fix CLEAR_HASH macro to be usable as a single statement.
As it is used in deflateParams().
PR-URL: https://github.com/nodejs/node/pull/11616
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2017-03-06 09:37:17 -08:00
Sam Roberts
dfa8abe1b5
deps: upgrade zlib to 1.2.11
...
PR-URL: https://github.com/nodejs/node/pull/10980
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp >
2017-02-20 08:45:48 -08:00
Sam Roberts
c9e5178f3c
deps: hide zlib internal symbols
...
Use HAVE_HIDDEN when compiling zlib so it's internal symbols
have __attribute__((visibility ("hidden"))).
PR-URL: https://github.com/nodejs/node/pull/11082
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp >
2017-02-02 10:10:47 -08:00
Bradley T. Hughes
a9f4fc905a
build: do not define ZLIB_CONST
...
This define is not available in zlib prior to version 1.2.5.2. See
https://github.com/nodejs/node/issues/9110 for details. Workaround the
build breakage reported by casting away const in src/inspector_agent.cc
instead.
PR-URL: https://github.com/nodejs/node/pull/9122
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rod Vagg <rod@vagg.org >
2016-10-18 14:20:10 +11:00
Ben Noordhuis
782620f03f
src: add /json/protocol endpoint to inspector
...
Embed the compressed and minified protocol.json from the bundled
v8_inspector and make it available through the /json/protocol endpoint.
Refs: https://github.com/nodejs/diagnostics/issues/52
PR-URL: https://github.com/nodejs/node/pull/7491
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-09-23 18:51:47 +02:00
Bert Belder
a80b9777f2
deps: don't build minizip into zlib
...
It's an optional extension that node/iojs doesn't use.
PR-URL: https://github.com/iojs/io.js/pull/276
Reviewed-by: Ben Noordhuis <info@bnoordhuis.nl >
2015-01-10 02:38:18 +01:00
Bert Belder
ad37509c0b
deps: don't set zlib's product_name
...
PR-URL: https://github.com/iojs/io.js/pull/276
Reviewed-by: Ben Noordhuis <info@bnoordhuis.nl >
2015-01-10 02:38:18 +01:00
Ben Noordhuis
59ad4b0432
deps: fix zlib -Wimplicit-function-declaration
...
Build the bundled zlib with -DZ_HAVE_UNISTD_H to make the definition of
close(), read() and other unistd.h functions available to gzread.c and
gzwrite.c. It's kind of silly that we have to jump through hoops here
because we never call any of the functions that do I/O directly, but at
least it squelches the -Wimplicit-function-declaration warnings.
PR-URL: https://github.com/iojs/io.js/pull/273
Reviewed-by: Bert Belder <bertbelder@gmail.com >
2015-01-10 02:38:17 +01:00
Shigeki Ohtsu
6f532e5da1
deps: update zlib.gyp for zlib 1.2.8
...
This adds the new gzip source files to the zlib.gyp The changes are
derived from third_party/zlib/zlib.gyp in the Chromium repository.
Reviewed-By: Bert Belder <bertbelder@gmail.com >
2015-01-08 23:59:53 +01:00
Shigeki Ohtsu
50f12f6c8a
deps: upgrade zlib to 1.2.8
...
Reviewed-By: Bert Belder <bertbelder@gmail.com >
2015-01-08 23:59:53 +01:00
Ben Noordhuis
3dee0e4cd8
zlib: compile without -ansi
...
Source contains C++ / C99 comments, gcc in strict mode doesn't like that.
2011-10-28 17:31:40 +02:00
isaacs
5b8e1dabbc
Initial pass at zlib bindings
2011-09-17 18:22:09 -07:00