Commits on Jul 25, 2016
  1. doc: add windows-build-tools to readme

    Added Microsoft's [windows-build-tools]( to the readme.
    PR-URL: #970
    Reviewed-By: João Reis <>
    felixrieseberg committed with joaocgreis Jun 29, 2016
Commits on Jun 28, 2016
  1. 3.4.0

    rvagg committed Jun 28, 2016
  2. changelog for v3.4.0

    rvagg committed Jun 28, 2016
  3. deps: update minimatch version

    PR-URL: #961
    Reviewed-By: Rod Vagg <>
    delphiactual committed with rvagg Jun 18, 2016
Commits on Jun 17, 2016
  1. Replace fs.accessSync call to fs.statSync

    fs.accessSync does not exist in Node 0.10.x.
    PR-URL: #955
    Reviewed-By: Ben Noordhuis <>
    richardlau committed with bnoordhuis Jun 13, 2016
  2. test: add simple addon test

    PR-URL: #955
    Reviewed-By: Ben Noordhuis <>
    richardlau committed with bnoordhuis Jun 13, 2016
  3. doc: add --target option to README

    PR-URL: #958
    Reviewed-By: Ben Noordhuis <>
    gibfahn committed with bnoordhuis Jun 17, 2016
Commits on Jun 16, 2016

    We were inheriting BUILDING_UV_SHARED and BUILDING_V8_SHARED from
    the common.gypi from the node.js source tree.  Override them with
    USING_UV_SHARED and USING_V8_SHARED so symbols get tagged with
    `__declspec(dllimport)` instead of `__declspec(dllexport)`, which
    is the desired attribute when building add-ons.
    Fixes: #914
    PR-URL: #915
    Reviewed-By: Benjamin Byholm <>
    Reviewed-By: Fedor Indutny <>
    bnoordhuis committed Apr 28, 2016
  2. Move VC++ Build Tools to Build Tools landing page.

    PR-URL: #953
    Reviewed-By: Alexis Campailla <>
    Reviewed-By: Ben Noordhuis <>
    AndrewPardoe committed with bnoordhuis Jun 9, 2016
Commits on Jun 13, 2016
  1. win: work around __pfnDliNotifyHook2 type change

    Visual Studio 2015 Update 3 defines __pfnDliNotifyHook2 as const.
    The decltype specifier makes the declaration work across all supported
    versions of VS. It also requires that the source be compiled as C++.
    Fixes: #949
    PR-URL: #952
    Reviewed-By: bnoordhuis - Ben Noordhuis <>
    orangemocha committed on GitHub Jun 13, 2016
Commits on Jun 7, 2016
  1. Allow for npmlog@3.x

    npmlog version 3 switches to gauge version 2.  The interface change is
    in setGaugeTemplate, which node-gyp does not use.
    PR-URL: #950
    Reviewed-By: Ben Noordhuis <>
    iarna committed with bnoordhuis Jun 7, 2016
Commits on Jun 2, 2016
  1. More verbose error on locating msbuild.exe failure.

    PR-URL: #930
    Reviewed-By: Ben Noordhuis <>
    purplecode committed with bnoordhuis May 17, 2016
Commits on May 31, 2016
  1. doc: add command options to

    Documents options accepted by node-gyp.
    PR-URL: #937
    Refs: #880
    Reviewed-By: Ben Noordhuis <>
    gibfahn committed with bnoordhuis May 23, 2016
  2. Add --silent option for zero output.

    Passing --silent is equivalent to passing --loglevel=silent.
    PR-URL: #937
    Reviewed-By: Ben Noordhuis <>
    gibfahn committed with bnoordhuis May 24, 2016
  3. Upgrade to glob@7.0.3.

    Matches what npm v2.15.5 and npm v3.8.6 use.
    Fixes: #941
    PR-URL: #943
    Reviewed-By: Jeremiah Senkpiel <>
    Reviewed-By: Rod Vagg <>
    bnoordhuis committed May 25, 2016
Commits on May 30, 2016
  1. Enable V8 deprecation warnings for native modules

    It will be helpful for native module developers to be aware of any
    deprecated apis they are using so that they can update before their
    modules break completely. Module developers can override this option
    in their binding.gyp if they do not want to see these warnings.
    PR-URL: #920
    Reviewed-By: Ben Noordhuis <>
    matthewloring committed with bnoordhuis May 7, 2016
Commits on May 19, 2016
  1. gyp: improvements for android generator

    When generating files for HOST binaries, we need to specify
    the LOCAL_CXX_STL to use when linking.
    Also, set the variable GYP_HOST_MULTILIB to 'first'. This is used as
    LOCAL_MULTILIB, and since we don't provide flags for both types of
    builds (32-bit and 64-bit), the build system will try to build both and
    More details about LOCAL_MULTILIB can be found here:
    Signed-off-by: Robert Chiras <>
    PR-URL: #935
    Reviewed-By: Ben Noordhuis <>
    robertchiras committed with bnoordhuis May 19, 2016
Commits on May 17, 2016
  1. Update Windows install instructions

    * Point to the latest release of the VC++ Build Tools.
    * Simplify and consolidate install instructions for all Windows versions.
    PR-URL: #867
    Fixes: #629
    Reviewed-By: orangemocha - Alexis Campailla <>
    Reviewed-By: thealphanerd - Myles Borins <>
    mousetraps committed with orangemocha Jan 18, 2016
Commits on Apr 28, 2016
  1. gyp: inherit CC/CXX for CC/

    Gyp defaults to gcc/g++ if is unset. This is not
    suitable for environments that only uses the clang toolchain.
    Since we already assume that the user will provide clang/clang++
    through CC/CXX, lean against it (then drop to gcc/g++).
    PR-URL: #908
    Refs: nodejs/node#6173
    Reviewed-By: Ben Noordhuis <>
    Reviewed-By: Johan Bergström <>
    jbergstroem committed with bnoordhuis Apr 13, 2016
Commits on Mar 31, 2016
  1. Add support for the Python launcher on Windows

    When looking for a Python executable on Windows, before falling back to
    guessing the default location or failing completely, attempt to use the
    Python launcher to figure out the location of the Python executable.
    The Python launcher is being distributed by default with Python
    distributions on Windows, and is placed in the %WINDIR% folder (which is
    in the PATH). This allows us to locate a Python installation even if it
    was installed without putting the python.exe executable itself into the
    Because the Python launcher supports all versions of Python, we have to
    explicitly request a Python 2 version. This is done by supplying "-2" as
    the first command line argument. Since "py.exe -2" would be an invalid
    executable for "execFile", we have to use the launcher to figure out where
    the actual "python.exe" executable is located.
    PR-URL: #894
    Reviewed-By: Ben Noordhuis <>
    poke committed with bnoordhuis Mar 14, 2016
Commits on Mar 4, 2016
  1. 3.3.1

    bnoordhuis committed Mar 4, 2016
  2. gyp: fix android generator

    When generating Android .mk files, ready to be used within Android build
    system, we don't need LOCAL_SDK_VERSION specified, since the Android
    build system already uses the latest one.
    By specifying LOCAL_SDK_VERSION in Android makefiles, the build using
    Android build system will fail, because the build system won't set the
    path to stlport from prebuilts.
    Signed-off-by: Robert Chiras <>
    PR-URL: #889
    Reviewed-By: Ben Noordhuis <>
    robertchiras committed with bnoordhuis Mar 4, 2016
Commits on Feb 16, 2016
  1. 3.3.0

    rvagg committed Feb 16, 2016
  2. Update changelog

    rvagg committed Feb 16, 2016

    were only ever intended to be internal nvm environment variables.
    These will be removed in the next semver-major release.
    PR-URL: #878
    Reviewed-By: ralphtheninja
    Reviewed-By: Ben Noordhuis <>
    rvagg committed Feb 12, 2016
Commits on Feb 15, 2016
  1. Download headers tarball for ~0.12.10 || ~0.10.42

    Properly created -headers.tar.gz files were not available until
    v0.12.10 and v0.10.42 (in addition to >= 3).
    PR-URL: #877
    Reviewed-By: Ben Noordhuis <>
    Reviewed-By: Johan Bergström <>
    rvagg committed Feb 12, 2016
Commits on Feb 13, 2016
  1. Allow for npmlog@2.x

    The breaking change introduced in npmlog 2.x was to anyone who was using the
    log as an event emitter and was listening for error events. Since node-gyp
    doesn't do these things, it isn't impacted by this change.
    PR-URL: #861
    Reviewed-By: Rod Vagg <>
    iarna committed with rvagg Jan 13, 2016
Commits on Jan 8, 2016
  1. Use -fPIC for NetBSD.

    Fixes: sass/node-sass#1334
    PR-URL: #856
    Reviewed-By: Ben Noordhuis <>
    saper committed with bnoordhuis Jan 8, 2016
Commits on Dec 10, 2015
  1. Add --cafile command line option.

    Add an option for overriding the default CA chain that is used when
    downloading the tarball.  This matches the npm option of the same
    name and gets implicitly passed through the `npm_config_cafile`
    environment variable.
    Fixes: #695
    PR-URL: #837
    Reviewed-By: Rod Vagg <>
    bnoordhuis committed Dec 8, 2015
  2. Make download() function testable.

    Move the function around so it can be tested and add a regression test.
    As a policy vs. mechanism thing, change the control flow to handle
    exceptions at the call site, not inside the download function.
    PR-URL: #837
    Reviewed-By: Rod Vagg <>
    bnoordhuis committed Dec 8, 2015
Commits on Dec 3, 2015
  1. 3.2.1

    bnoordhuis committed Dec 3, 2015
  2. Upgrade gyp to b3cef02.

    * adds netbsd support:
    * fixes cp(1) use on openbsd:
    Fixes: #571
    Fixes: #803
    PR-URL: #831
    Reviewed-By: Jeremiah Senkpiel <>
    bnoordhuis committed Dec 1, 2015
Commits on Nov 25, 2015
  1. Define WIN32_LEAN_AND_MEAN conditionally.

    Fixes: #823
    PR-URL: #824
    Reviewed-By: Bert Belder <>
    bnoordhuis committed Nov 25, 2015
Commits on Nov 24, 2015
  1. 3.2.0

    bnoordhuis committed Nov 24, 2015
  2. Use result of `which` when searching for python.

    Fixes: #667
    Fixes: #750
    PR-URL: #668
    Reviewed-By: Ben Noordhuis <>
    refack committed with bnoordhuis Jul 19, 2015