GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — zlib: clean up zlib.gyp, don't build minizip by piscisaureus · Pull Request #276 · nodejs/node

Conversation

@piscisaureus

@piscisaureus piscisaureus commented Jan 9, 2015

Copy link
Copy Markdown
Contributor

As exposed by #273, the bundled zlib builds an optional extension called 'minizip' that provides filesystem-like APIs for working with zip files.
Node doesn't use it, so let's not build it either.

This patch works on windows but I haven't checked other platforms yet. (\o CI).
What definitely needs to be reviewed is what happens if use_system_zlib is defined; with this patch zlib still gets built but has no sources at all.

R=@bnoordhuis or @shigeki

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@chrisdickinson
src: zlib: revert concatenated-stream changes
bc629c0
Revert "src: fix windows build error" and "zlib: support
concatenated gzip files".

This reverts commits be413ac
and 1183ba4.

Treating subsequent bytes as a concatenated zlib stream
breaks npm install.

Conflicts:
	test/parallel/test-zlib-from-multiple-gzip-with-garbage.js
	test/parallel/test-zlib-from-multiple-gzip.js
	test/parallel/test-zlib-from-multiple-huge-gzip.js

Fixes: nodejs/node-v0.x-archive#8962
PR-URL: #240
Reviewed-By: Ben Noordhuis <[email protected]>
@piscisaureus piscisaureus mentioned this pull request Jan 9, 2015
deps: fix zlib -Wimplicit-function-declaration #273
Closed
@bnoordhuis

bnoordhuis commented Jan 9, 2015

Copy link
Copy Markdown
Member

LGTM, although not building minizip by itself doesn't fix the warnings, that's due to defining Z_HAVE_UNISTD_H. I suggest landing #273 first, then landing this PR on top so that things don't get conflated. --shared-zlib still works with this patch, by the way.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bnoordhuis and others added 6 commits January 9, 2015 20:56
@bnoordhuis
src: disable harmony classes
a2751e3
The V8 development branch has unshipped ES6 classes pending resolution
of a number of inheritance edge cases.  Disable classes in io.js for
the sake of feature parity.

See #251 for background and
discussion.

PR-URL: #272
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Domenic Denicola <[email protected]>
@bnoordhuis
src: disable harmony object literals
4e58211
Per the discussion in #272, upstream
V8 has disabled Harmony object literals for the time being.  Do the
same for feature parity.

PR-URL: #272
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Domenic Denicola <[email protected]>
@chrisdickinson
tools: enable ctrl-c for parallel tests
12912c6
use a threading.Event instead of a boolean attribute.

PR-URL: #277
Fixes: #260
Reviewed-By: Ben Noordhuis <[email protected]>
@bnoordhuis @piscisaureus
deps: fix zlib -Wimplicit-function-declaration
59ad4b0
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: #273
Reviewed-by: Bert Belder <[email protected]>
@piscisaureus
deps: don't set zlib's product_name
ad37509
PR-URL: #276
Reviewed-by: Ben Noordhuis <[email protected]>
@piscisaureus
deps: don't build minizip into zlib
a80b977
It's an optional extension that node/iojs doesn't use.

PR-URL: #276
Reviewed-by: Ben Noordhuis <[email protected]>
@piscisaureus
piscisaureus merged commit a80b977 into v1.x Jan 10, 2015
@piscisaureus
piscisaureus deleted the zlib-gyp-cleanup branch January 10, 2015 01:38
@snyk-bot snyk-bot mentioned this pull request Nov 10, 2021
[Snyk] Upgrade remark-preset-lint-node from 3.0.1 to 3.3.0 thisguy726/node#3
Open
@aliceUnhinged613 aliceUnhinged613 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities aliceUnhinged613/node#118
Open
@ryan-ally ryan-ally mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities ryan-ally/node#99
Open
@jen801 jen801 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities jen801/node#34
Open
@wedataintelligence wedataintelligence mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities wedataintelligence/node#101
Open
@adamlaska adamlaska mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities adamlaska/node#140
Open
@baby636 baby636 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities baby636/node#132
Open
@ron-a20 ron-a20 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities ron-a20/node#116
Open
@amacsnyk amacsnyk mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities amacsnyk/node#19
Closed
@jhudaz jhudaz mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities jhudaz/node#64
Open
@PinkDiamond1 PinkDiamond1 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities PinkDiamond1/node#33
Open
This was referenced Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities pratapadi/node#102
Open
[Snyk] Security upgrade pacote from 11.3.5 to 16.0.0 pratapadi/node#104
Open
@awaisab172 awaisab172 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities awaisab172/node#56
Open
@yotamselementor yotamselementor mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities yotamselementor/node#40
Open
@RoeeOren RoeeOren mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities RoeeOren/node#50
Open
@pratapadi pratapadi mentioned this pull request Feb 11, 2024
[Snyk] Security upgrade pacote from 11.3.5 to 16.0.0 pratapadi/node#107
Open
@Matthelonianxl Matthelonianxl mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities Matthelonianxl/node#64
Open
@Verdinjoshua26 Verdinjoshua26 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities Verdinjoshua26/node#59
Open
@thisguy726 thisguy726 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities thisguy726/node#20
Open
@terrorizer1980 terrorizer1980 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities terrorizer1980/node-1#19
Open
@kaocher82 kaocher82 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities Xtuden-com/node#44
Open
@sirinartk sirinartk mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities sirinartk/node#55
Open
@pratapadi pratapadi mentioned this pull request Feb 12, 2024
[Snyk] Security upgrade pacote from 11.3.5 to 16.0.0 pratapadi/node#109
Open
@timzwit timzwit mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities timzwit/node#37
Open
@MrBrain295 MrBrain295 mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities MrBrain295/node#32
Open
@kissofire kissofire mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities kissofire/node#120
Open
@molllyn1 molllyn1 mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities molllyn1/node#103
Open
@137717unity 137717unity mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities 137717unity/node#119
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@piscisaureus @bnoordhuis @chrisdickinson
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.