Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 22, 2015
  1. @misterdjules

    Merge remote-tracking branch 'upstream/v0.10' into v0.12

    misterdjules authored
    Conflicts:
    	AUTHORS
    	ChangeLog
    	lib/timers.js
    	src/node_version.h
    	test/common.js
Commits on May 11, 2015
  1. @mathiask88 @orangemocha

    win,msi: broadcast WM_SETTINGCHANGE after install

    mathiask88 authored orangemocha committed
    Backport 668bde8 from io.js.
    Original commit message follows:
    
    In theory the msi should broadcast a 'WM_SETTINGCHANGE' message to all
    windows after modifying the PATH environment variable. This ensures that
    the new PATH is visible to other processes without restarting windows
    (although it's still necessary to close and reopen active console
    windows).
    
    Unfortunately, the broadcast doesn't always happen, for unknown reasons.
    That's why this patch adds a custom action that unconditionally
    broadcasts a WM_SETTINGCHANGE message.
    
    Bug: nodejs/io.js#603
    PR: nodejs/io.js#613
    Reviewed-by: Bert Belder <bertbelder@gmail.com>
    (cherry picked from commit 668bde8)
    
    --Node.js commmit metadata--
    PR-URL: #25100
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Fixes: #4356
Commits on Jan 12, 2015
  1. @misterdjules

    Merge remote-tracking branch 'upstream/v0.10' into merge-0-10-into-0-12

    misterdjules authored
    Conflicts:
    	AUTHORS
    	ChangeLog
    	configure
    	deps/uv/AUTHORS
    	deps/uv/ChangeLog
    	deps/uv/README.md
    	deps/uv/config-unix.mk
    	deps/uv/include/uv-private/uv-win.h
    	deps/uv/include/uv.h
    	deps/uv/src/unix/internal.h
    	deps/uv/src/unix/kqueue.c
    	deps/uv/src/unix/stream.c
    	deps/uv/src/uv-common.c
    	deps/uv/src/uv-common.h
    	deps/uv/src/version.c
    	deps/uv/src/win/poll.c
    	deps/uv/test/test-osx-select.c
    	deps/v8/src/debug-debugger.js
    	deps/v8/src/isolate.cc
    	deps/v8/src/isolate.h
    	deps/v8/src/mirror-debugger.js
    	doc/api/buffer.markdown
    	doc/api/child_process.markdown
    	doc/api/dns.markdown
    	doc/api/tls.markdown
    	doc/api/url.markdown
    	lib/_stream_writable.js
    	lib/assert.js
    	lib/child_process.js
    	lib/crypto.js
    	lib/dgram.js
    	lib/http.js
    	lib/net.js
    	lib/timers.js
    	lib/tls.js
    	src/node.cc
    	src/node.h
    	src/node.js
    	src/node_crypto.cc
    	src/node_version.h
    	test/common.js
    	test/simple/test-child-process-spawn-typeerror.js
    	tools/certdata.txt
Commits on Jan 3, 2015
  1. @srl295 @trevnorris

    build: i18n: add icu config options

    srl295 authored trevnorris committed
    Make "--with-intl=none" the default and add "intl-none" option to
    vcbuild.bat.
    
    If icu data is missing print a warning unless either --download=all or
    --download=icu is set. If set then automatically download, verify (MD5)
    and unpack the ICU data if not already available.
    
    There's a "list" of URLs being used, but right now only the first is
    picked up. The logic works something like this:
    
    * If there is no directory deps/icu,
      * If no zip file (currently icu4c-54_1-src.zip),
        * Download zip file (icu-project.org -> sf.net)
      * Verify the MD5 sum of the zipfile
        * If bad, print error and exit
      * Unpack the zipfile into deps/icu
    * If deps/icu now exists, use it, else fail with help text
    
    Add the configuration option "--with-icu-source=..."
    
    Usage:
      * --with-icu-source=/path/to/my/other/icu
      * --with-icu-source=/path/to/icu54.zip
      * --with-icu-source=/path/to/icu54.tgz
      * --with-icu-source=http://example.com/icu54.tar.bz2
    
    Add the configuration option "--with-icu-locals=...".  Allows choosing
    which locales are used in the "small-icu" case.
    
    Example:
        configure --with-intl=small-icu --with-icu-locales=tlh,grc,nl
    
    (Also note that as of this writing, neither Klingon nor Ancient Greek
    are in upstream CLDR data. Serving suggestion only.)
    
    Don't use hard coded ../../out paths on windows. This was suggested by
    @misterdjules as it causes test failures.  With this fix, "out" is no
    longer created on windows and the following can run properly:
    
        python tools/test.py simple
    
    Reduce space by about 1MB with ICU 54 (over without this patch). Also
    trims a few other source files, but only conditional on the exact ICU
    version used. This is to future-proof - a file that is unneeded now may
    be needed in future ICUs.
    
    Also:
      * Update distclean to remove icu related files
      * Refactor some code into tools/configure.d/nodedownload.py
      * Update docs
      * Add test
    
    PR-URL: #8719
    Fixes: #7676 (comment)
    [trev.norris@gmail.com small change to test's whitespace and logic]
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
Commits on Dec 15, 2014
  1. @trevnorris

    src: remove icu_config

    trevnorris authored
    ICU support in v0.12 generates a new icu_config.gypi. This was
    accidentally committed after switching branches. The file has been removed
    and added to .gitignore.
    
    Fixes: 0d05123 "timers: fix unref() memory leak"
Commits on Oct 7, 2014
  1. @srl295 @trevnorris

    build: i18n: move noisy variables to separate gypi

    srl295 authored trevnorris committed
    Fixes: #7676 (comment)
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Commits on Oct 1, 2014
  1. @srl295 @trevnorris

    build, i18n: improve Intl build, add "--with-intl"

    srl295 authored trevnorris committed
    The two main goals of this change are:
     - To make it easier to build the Intl option using ICU (particularly,
       using a newer ICU than v8/Chromium's version)
     - To enable a much smaller ICU build with only English support The goal
       here is to get node.js binaries built this way by default so that the
       Intl API can be used. Additional data can be added at execution time
       (see Readme and wiki)
    
    More details are at #7719
    
    In particular, this change adds the "--with-intl=" configure option to
    provide more ways of building "Intl":
     - "full-icu" picks up an ICU from deps/icu
     - "small-icu" is similar, but builds only English
     - "system-icu" uses pkg-config to find an installed ICU
     - "none" does nothing (no Intl)
    
    For Windows builds, the "full-icu" or "small-icu" options are added to
    vcbuild.bat.
    
    Note that the existing "--with-icu-path" option is not removed from
    configure, but may not be used alongside the new option.
    
    Wiki changes have already been made on
     https://github.com/joyent/node/wiki/Installation
    and a new page created at
     https://github.com/joyent/node/wiki/Intl
    (marked as provisional until this change lands.)
    
    Summary of changes:
    
    * README.md : doc updates
    
    * .gitignore : added "deps/icu" as this is the location where ICU is
      unpacked to.
    
    * Makefile : added the tools/icu/* files to cpplint, but excluded a
      problematic file.
    
    * configure : added the "--with-intl" option mentioned above.
      Calculate at config time the list of ICU source files to use and data
      packaging options.
    
    * node.gyp : add the new files src/node_i18n.cc/.h as well as ICU
      linkage.
    
    * src/node.cc : add call into
      node::i18n::InitializeICUDirectory(icu_data_dir) as well as new
      --icu-data-dir option and NODE_ICU_DATA env variable to configure ICU
      data loading. This loading is only relevant in the "small"
      configuration.
    
    * src/node_i18n.cc : new source file for the above Initialize..
      function, to setup ICU as needed.
    
    * tools/icu : new directory with some tools needed for this build.
    
    * tools/icu/icu-generic.gyp : new .gyp file that builds ICU in some new
      ways, both on unix/mac and windows.
    
    * tools/icu/icu-system.gyp : new .gyp file to build node against a
      pkg-config detected ICU.
    
    * tools/icu/icu_small.json : new config file for the "English-only" small
      build.
    
    * tools/icu/icutrim.py : new tool for trimming down ICU data. Reads the
      above .json file.
    
    * tools/icu/iculslocs.cc : new tool for repairing ICU data manifests
      after trim operation.
    
    * tools/icu/no-op.cc : dummy file to force .gyp into using a C++ linker.
    
    * vcbuild.bat : added small-icu and full-icu options, to call into
      configure.
    
    * Fixed toolset dependencies, see
      #7719 (comment)
    
    Note that because of a bug in gyp {CC,CXX}_host must also be set.
    Otherwise gcc/g++ will be used by default for part of the build.
    
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    Reviewed-by: Fedor Indutny <fedor@indutny.com>
Commits on Aug 7, 2014
  1. @tjfontaine

    Merge remote-tracking branch 'upstream/v0.10' into v0.12

    tjfontaine authored
    Conflicts:
    	ChangeLog
    	Makefile
    	deps/uv/ChangeLog
    	deps/uv/build.mk
    	deps/uv/src/unix/darwin.c
    	deps/uv/src/unix/getaddrinfo.c
    	deps/uv/src/version.c
    	deps/v8/src/checks.h
    	deps/v8/src/isolate.h
    	lib/cluster.js
    	lib/module.js
    	lib/timers.js
    	lib/tls.js
    	src/node_version.h
Commits on Jul 31, 2014
  1. @misterdjules @tjfontaine

    timers: backport f8193ab

    misterdjules authored tjfontaine committed
    Original commit message:
    
     timers: use uv_now instead of Date.now
    
     This saves a few calls to gettimeofday which can be expensive, and
     potentially subject to clock drift. Instead use the loop time which
     uses hrtime internally.
    
    In addition to the backport, this commit:
     - keeps _idleStart timers' property which is still set to
       Date.now() to avoid breaking existing code that uses it, even if
       its use is discouraged.
     - adds automated tests. These tests use a specific branch of
       libfaketime that hasn't been submitted upstream yet. libfaketime
       is git cloned if needed when running automated tests.
    
    Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
Commits on Jan 21, 2014
  1. @indutny

    addons: build and test examples

    indutny authored
    fix #6910
Commits on Dec 7, 2013
  1. @skabbes @tjfontaine

    build: Ignore gyp-generated files on android

    skabbes authored tjfontaine committed
    The android generator for gyp currently doesn't support
    --generator-output - this makes embedding node.js as project dependency
    difficult for android projects.
    
    Note: the generated files in deps/uv should be ignored in libuv's
    .gitignore
Commits on Aug 21, 2013
  1. @tjfontaine
Commits on Feb 20, 2013
  1. @isaacs
Commits on Feb 1, 2013
  1. @isaacs
Commits on Jan 24, 2013
  1. @bnoordhuis
Commits on Jan 23, 2013
  1. @sblom
Commits on Jan 14, 2013
  1. @bnoordhuis
Commits on Jul 7, 2012
  1. @piscisaureus
Commits on Jun 21, 2012
  1. @isaacs
Commits on Jun 11, 2012
  1. @isaacs
Commits on May 4, 2012
  1. @isaacs

    Tests for memory leaks

    isaacs authored
    Conflicts:
    
    	Makefile
Commits on Mar 17, 2012
  1. @isaacs
Commits on Jan 17, 2012
  1. @bnoordhuis
Commits on Dec 23, 2011
  1. @ry

    GYP: rename options.gypi to config.gypi

    ry authored
    Sounds more familiar to unix users used to config.h
Commits on Dec 14, 2011
  1. @bnoordhuis
Commits on Nov 23, 2011
  1. @ry
Commits on Nov 11, 2011
  1. @ry

    Improve OSX installer

    ry authored
Commits on Oct 11, 2011
  1. @tjanczuk @ry

    wix project to create msi installer for windows

    tjanczuk authored ry committed
    Fixes #1706.
Commits on Aug 23, 2011
  1. @ry
Commits on Aug 11, 2011
  1. @bnoordhuis
Commits on Aug 8, 2011
  1. @ry

    Move GYP file to the project root

    ry authored
  2. @ry

    sketch out configure support

    ry authored
Commits on Aug 7, 2011
  1. @DrPizza @ry

    Make MSVS build.

    DrPizza authored ry committed
    MSVS settings don't actually need to be guarded by conditions. gyp will do
    the right thing.
Commits on Aug 6, 2011
  1. @ry
  2. @ry

    gyp: fix makefile build

    ry authored
Something went wrong with that request. Please try again.