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 — win,v8: Support for MSVS 2015 in v0.12 by joaocgreis · Pull Request #2843 · nodejs/node

Conversation

@joaocgreis

@joaocgreis joaocgreis commented Sep 12, 2015

Copy link
Copy Markdown
Member

This includes all of the commits needed to support MSVS 2015 and MSI generation with it, and a manifest update to enable os.release() to report the correct version on Windows 10. All of this is already in v0.10.

I had to mark == and != as const in zone-allocator.h (3rd commit from HEAD). That was done upstream in https://chromium.googlesource.com/v8/v8.git/+/f9e4527f32c2c268cb79428c74ea9703e9db3aec . I did not backport the full commit because it changes other parts that are not needed. @nodejs/v8 any issues with this?

Fixes nodejs/node-v0.x-archive#25896

@rvagg I know it's late, but any chance of including in v0.12.8?

cc @nodejs/platform-windows @nodejs/lts

Sorry, something went wrong.

Uh oh!

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

All reactions
Julien Gilli and others added 8 commits September 12, 2015 21:47
Julien Gilli @joaocgreis
win: fix custom actions on Visual Studio != 2013
b865f9d
This is a port of 16bcd68 .

Original commit message:

  The original change that added support for running custom actions
  during the install process (e7c84f8)
  assumed that Visual Studio 2013 is used to generate the installer
  file.

  However, that is not always the case, and older versions of Visual
  Studio should allow users to generate Windows installer files. This
  change makes the custom actions visual studio project use the visual
  studio version that is found by vcbuild.bat.

  Reviewed-By: João Reis <[email protected]>
  PR-URL: nodejs/node-v0.x-archive#25569
@joaocgreis
win: fix custom actions for WiX older than 3.9
f352570
This is a port of e192f61 .

Original commit message:

  Older WiX versions included a header with extern "C" declaration,
  hence the custom action source must be C++.

  Reviewed-By: João Reis <[email protected]>
  PR-URL: nodejs/node-v0.x-archive#25569
@joaocgreis
deps: update gyp to 25ed9ac
8d0cfac
This is a port of a525c72 .

Original commit message:

  Gyp update to be able to generate VS2015 projects.

  PR-URL: nodejs/node-v0.x-archive#25857
  Reviewed-By: Alexis Campailla <[email protected]>
Shigeki Ohtsu @joaocgreis
deps: fix gyp to work on MacOSX without XCode
b066e6a
This is a port of eb459c8 ,
used as a floating patch over gyp.

Original commit message:

  This issue has already submitted to the upstream in
  https://code.google.com/p/gyp/issues/detail?id=477
  Use this commit until the upstream is to be fixed.

  PR-URL: nodejs#1325
  Reviewed-By: Fedor Indutny <[email protected]>
  Reviewed-By: Ben Noordhuis <[email protected]>

This was ported to v0.10 in nodejs/node-v0.x-archive#25857
Andy Polyakov @joaocgreis
deps: fix openssl for MSVS 2015
a7a402f
Backports http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=aab3560b65b9254d17770bb6fe3ca7edd7451429
from openssl upstream, to add support for Visual Studio 2015. This is
already included in the newer openssl 1.0.2.

Original commit message:

  e_os.h: limit _MSC_VER trickery to older compilers.

  PR: nodejs#3390

Original pull request:

  http://rt.openssl.org/Ticket/Display.html?user=guest&pass=guest&id=3390

This was ported to v0.10 in nodejs/node-v0.x-archive#25857
@joaocgreis
deps,v8: fix compilation in VS2015
689de86
To compile with VS2015, the == and != methods in zone-allocator.h need
to be marked const.

This change was introduced upstream in
https://chromium.googlesource.com/v8/v8.git/+/f9e4527f32c2c268cb79428c74ea9703e9db3aec
@rvagg @joaocgreis
build: add MSVS 2015 support
cd13a9e
This is a port of 4208dc4 .

Original commit message:

  PR-URL: nodejs#2036
  Reviewed-By: Alexis Campailla <[email protected]>

This was ported to v0.10 in nodejs/node-v0.x-archive#25857
@LPGhatguy @joaocgreis
build: update manifest to include Windows 10
11fe371
This is a port of b0dd3bf .

Original commit message:

  Windows 10 wasn't listed in the executable manifest.
  This caused problems with trying to detect Windows 10
  via `os.release()`.

  PR-URL: nodejs#2332
  Reviewed-By: Roman Reiss <[email protected]>
@joaocgreis joaocgreis added windows Issues and PRs related to the Windows platform. install Issues and PRs related to installing Node.js and its installers. build Issues and PRs related to Node.js builds or CI infrastructure. v8 engine Issues and PRs related to the V8 dependency. openssl Issues and PRs related to the OpenSSL dependency. land-on-v0.12 labels Sep 12, 2015
thefourtheye
thefourtheye reviewed Sep 14, 2015
View reviewed changes
Comment thread tools/gyp/PRESUBMIT.py

@thefourtheye thefourtheye Sep 14, 2015

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use set literal, like this {'defaulttests'}

Sorry, something went wrong.

Uh oh!

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

All reactions

@rvagg rvagg Sep 14, 2015

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is from gyp upstream I believe, no point changing it here

Sorry, something went wrong.

Uh oh!

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

All reactions
@rvagg

rvagg commented Sep 14, 2015

Copy link
Copy Markdown
Member

sgtm

rubber-stamp lgtm if it works I suppose although I'd prefer more qualified eyes to review

All reactions

Sorry, something went wrong.

Uh oh!

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

thefourtheye
thefourtheye reviewed Sep 14, 2015
View reviewed changes
Comment thread tools/gyp/buildbot/buildbot_run.py

@thefourtheye thefourtheye Sep 14, 2015

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using tests=[] is practically not advisable. Use tests=None and then inside the function do,

if tests is None:
    tests = []

Sorry, something went wrong.

Uh oh!

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

All reactions
@Fishrock123

Fishrock123 commented Sep 14, 2015

Copy link
Copy Markdown
Contributor

@thefourtheye no point in trying to review the deps code :P

All reactions

Sorry, something went wrong.

Uh oh!

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

thefourtheye
thefourtheye reviewed Sep 14, 2015
View reviewed changes
Comment thread tools/gyp/pylib/gyp/MSVSSettings.py

@thefourtheye thefourtheye Sep 14, 2015

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line actually modifies msbuild_settings dictionary. Is that intentional? If only the default value is required, the correct way to do this is msbuild_settings.get(tool.msbuild_name, {})

Sorry, something went wrong.

Uh oh!

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

All reactions
@thefourtheye

thefourtheye commented Sep 14, 2015

Copy link
Copy Markdown
Contributor

@Fishrock123 Ah, sorry. I find many problematic code in this :(

All reactions

Sorry, something went wrong.

Uh oh!

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

@orangemocha

orangemocha commented Sep 14, 2015

Copy link
Copy Markdown
Contributor

Is JaneaSystems@b066e6a really needed?

Other than that LGTM.

All reactions

Sorry, something went wrong.

Uh oh!

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

@joaocgreis

joaocgreis commented Sep 14, 2015

Copy link
Copy Markdown
Member Author

@orangemocha That commit is a floating patch over gyp in master. It's not strictly essential, but someone probably expects MacOSX to work without XCode, and it was a straightforward cherry pick. Let me know if you think it should be removed.

CI: https://ci.nodejs.org/job/node-test-pull-request/288/

All reactions

Sorry, something went wrong.

Uh oh!

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

bnoordhuis
bnoordhuis reviewed Sep 14, 2015
View reviewed changes
Comment thread vcbuild.bat Outdated

@bnoordhuis bnoordhuis Sep 14, 2015

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't that be goto vc-set-2013?

Sorry, something went wrong.

Uh oh!

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

All reactions

@orangemocha orangemocha Sep 14, 2015

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

master and v0.12 diverged on this. I guess which strategy is better depends on whether VCINSTALLDIR not being set mean an error in vcvarsall.bat, or a VS installation without VC++. I would err on the side of trying the next version.

Sorry, something went wrong.

Uh oh!

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

All reactions
@orangemocha

orangemocha commented Sep 14, 2015

Copy link
Copy Markdown
Contributor

Okay, the Xcode commit is fine by me. CI is yellow (only fail test is test-dns).

All reactions

Sorry, something went wrong.

Uh oh!

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

@joaocgreis joaocgreis mentioned this pull request Sep 15, 2015
Wrong os.release() nodejs/node-v0.x-archive#25896
Closed
@joaocgreis
build,win: try next MSVS version on failure
934b7b3
Try the next version of Microsoft Visual Studio when vcvarsall.bat
fails to set VCINSTALLDIR.
@joaocgreis

joaocgreis commented Sep 15, 2015

Copy link
Copy Markdown
Member Author

@bnoordhuis @orangemocha Updated

All reactions

Sorry, something went wrong.

Uh oh!

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

@CharliesAngel1 CharliesAngel1 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities CharliesAngel1/node#11
Open
@RickAllMighty8195 RickAllMighty8195 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities RickAllMighty8195/node#29
Open
@Megoy-Tambayan Megoy-Tambayan mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities Megoy-Tambayan/node#2
Open
@Dixiejane Dixiejane mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities Dixiejane/node#17
Open
@JCsomeShots JCsomeShots mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities JCsomeShots/node#13
Open
@jj-crypto jj-crypto mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities jj-crypto/node#26
Open
@ZRDK ZRDK mentioned this pull request Feb 11, 2024
[Snyk] Security upgrade node-gyp from 9.4.1 to 10.0.0 ZRDK/node#67
Open
@buzzlightyear726 buzzlightyear726 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities buzzlightyear726/node#44
Open
@Renukaloch Renukaloch mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities Renukaloch/node#26
Open
@MaxMood96 MaxMood96 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities MaxMood96/node#44
Open
@davidmather davidmather mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities davidmather/node#18
Open
@mrod0101 mrod0101 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities mrod0101/node#14
Closed
@CxsLucyfer CxsLucyfer mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities CxsLucyfer/node#7
Open
@dewaynesmith3711 dewaynesmith3711 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities dewaynesmith3711/node#77
Open
@kingjay66 kingjay66 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities kingjay66/node#9
Open
@zhangpan0907 zhangpan0907 mentioned this pull request Feb 11, 2024
[Snyk] Fix for 1 vulnerabilities zhangpan0907/node#5
Open
@Supermajestcd Supermajestcd mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities Supermajestcd/node#23
Open
@SanchitMahajan236 SanchitMahajan236 mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities SanchitMahajan236/node#28
Open
@terrorizer1980 terrorizer1980 mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities Exhorder6/node#29
Open
@myvali998 myvali998 mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities myvali998/node#14
Open
@ambai ambai mentioned this pull request Feb 12, 2024
[Snyk] Security upgrade node-gyp from 9.4.1 to 10.0.0 ambai/node#73
Open
@dewaynesmith3711 dewaynesmith3711 mentioned this pull request Feb 12, 2024
[Snyk] Security upgrade node-gyp from 8.4.1 to 10.0.0 dewaynesmith3711/node#79
Open
@BryanLaura BryanLaura mentioned this pull request Feb 12, 2024
[Snyk] Security upgrade node-gyp from 8.4.1 to 10.0.0 BryanLaura/node#89
Open
@nicholaschoi168 nicholaschoi168 mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities nicholaschoi168/node#19
Open
@jefeaguila jefeaguila mentioned this pull request Feb 12, 2024
[Snyk] Security upgrade node-gyp from 9.4.1 to 10.0.0 jefeaguila/node#54
Open
@Michaela813 Michaela813 mentioned this pull request Feb 12, 2024
[Snyk] Security upgrade node-gyp from 9.4.1 to 10.0.0 Michaela813/node#57
Open
@chrismilleruk chrismilleruk mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities chrismilleruk/node#16
Open
@Michaela813 Michaela813 mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities Michaela813/node#58
Open
@JoanKalanzi1 JoanKalanzi1 mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities JoanKalanzi1/node#18
Open
@BryanLaura BryanLaura mentioned this pull request Feb 12, 2024
[Snyk] Fix for 1 vulnerabilities BryanLaura/node#90
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

build Issues and PRs related to Node.js builds or CI infrastructure. install Issues and PRs related to installing Node.js and its installers. openssl Issues and PRs related to the OpenSSL dependency. v8 engine Issues and PRs related to the V8 dependency. windows Issues and PRs related to the Windows platform.

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.

7 participants

@joaocgreis @rvagg @Fishrock123 @thefourtheye @orangemocha @bnoordhuis @LPGhatguy
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.