Skip to content
Commits on Jul 17, 2015
  1. @cgalibern @misterdjules

    configure: add --without-mdb flag

    cgalibern committed with misterdjules
    Add a configuration flag that prevents mdb_v8.so from being built.
    The default behavior is still the same and mdb_v8.so is built by default
    on Solaris based platforms such as SmartOS.
    
    Using --without-mdb fixes build issues on Solaris based platforms where
    libproc.h is not available or not compatible with the one shipped by
    SmartOS.
    
    Fixes #6439.
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: #25707
Commits on Jan 12, 2015
  1. @misterdjules

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

    misterdjules committed
    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 committed with trevnorris
    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. @srl295 @misterdjules

    build: configure return exit status from gyp

    srl295 committed with misterdjules
    Previously, 'configure' would not return an exit status
    if gyp blows up. This can be tested via:
    
        date >> node.gyp ; ./configure && echo A-OK
    
    You will get "A-OK" even though gyp had failed.
    
    Signed-off-by: Julien Gilli <julien.gilli@joyent.com>
Commits on Oct 15, 2014
  1. @tjfontaine
  2. @indutny

    configure: disable ssl2/ssl3 by default

    indutny committed
    PR-URL: #8551
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Commits on Oct 7, 2014
  1. @srl295 @trevnorris

    build: i18n: move noisy variables to separate gypi

    srl295 committed with trevnorris
    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 committed with trevnorris
    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 Sep 17, 2014
  1. @tjfontaine

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

    tjfontaine committed
    Conflicts:
    	ChangeLog
    	deps/v8/src/hydrogen.cc
    	lib/http.js
    	lib/querystring.js
    	src/node_crypto.cc
    	src/node_version.h
    	test/simple/test-querystring.js
Commits on Sep 3, 2014
  1. @indutny

    configure: add --openssl-no-asm flag

    indutny committed
    see #8062
    
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Commits on Sep 2, 2014
  1. @piranna @indutny

    configure: generate a fully statically linked exec

    piranna committed with indutny
    Allow to create an executable with no external dynamic libraries, also the
    ones from the system. This is somewhat dependent of the used C lib, for
    example glibc has some internal dynamic libraries loaded by itself, but for
    other ones like eglibc or dietlib, this would produce a true static linked
    executable. This can be of interest for embebers or resource constraints
    platforms, but the main reason for this is to allow to use a Javascript
    file as Linux kernel 'init' on NodeOS.
    
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Jul 29, 2014
  1. @indutny

    Merge remote-tracking branch 'origin/v0.10' into master

    indutny committed
    Conflicts:
    	doc/api/buffer.markdown
    	lib/_stream_readable.js
    	lib/assert.js
    	lib/buffer.js
    	lib/child_process.js
    	lib/http.js
    	lib/string_decoder.js
    	lib/zlib.js
    	node.gyp
    	test/simple/test-buffer.js
    	test/simple/test-https-foafssl.js
    	test/simple/test-stream2-compatibility.js
    	test/simple/test-tls-server-verify.js
Commits on Jul 23, 2014
  1. @mmalecki @indutny

    gyp: fix ARM build

    mmalecki committed with indutny
    According to V8 changelog, `armv7` config variable was replaced by
    `arm_version`, with value either '7', '6' or 'default'.
    
    Detect ARMv7 and ARMv6 CPUs and default to 'default'.
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
Commits on Jul 2, 2014
  1. @trevnorris

    configure: fix v8 overriding commands on build

    trevnorris committed
    V8 seems to ignore the default value for want_separate_host_toolset and
    would override it at build time. Instead always explicitly set the value.
    
    Fixes #7833
Commits on Jul 1, 2014
  1. @refack @indutny

    configure: better detect windows 'bitness' (WOW64)

    refack committed with indutny
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
Commits on Jun 5, 2014
  1. @indutny

    Merge branch 'v0.10'

    indutny committed
    Conflicts:
    	ChangeLog
    	lib/events.js
    	lib/tls.js
    	src/node_constants.cc
    	src/node_crypto.cc
    	src/node_crypto.h
    	src/node_version.h
Commits on May 16, 2014
  1. @bsnote @indutny

    configure: allow V8 snapshot for cross-compilation

    bsnote committed with indutny
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
Commits on Apr 1, 2014
  1. @bnoordhuis @indutny

    configure: make --v8-options switch more robust

    bnoordhuis committed with indutny
    Improve on commit b55c9d6 by not requiring that switches are comma
    separated.  This commit makes `./configure --v8-options="--foo --bar"`
    work and takes special care to properly escape quotes in the options
    string.
Commits on Mar 29, 2014
  1. @indutny

    configure: --v8-options option

    indutny committed with indutny
    Introduce a way to set some v8 flags at compile time, the values should
    be separated by comma.
Commits on Mar 2, 2014
  1. @indutny

    Merge remote-tracking branch 'origin/v0.10'

    indutny committed
    Conflicts:
    	configure
    	lib/_stream_readable.js
    	lib/http.js
    	src/node_dtrace.cc
Commits on Feb 27, 2014
  1. @tjfontaine

    src: update to latest libuv api

    tjfontaine committed
    libuv gyp builds now require you to define the library disposition
    (static or shared).
    
    Also, libuv now supports vectored IO for file system reads and writes,
    update to those function signatures
Commits on Feb 20, 2014
  1. @indutny
Commits on Jan 8, 2014
  1. @indutny

    configure: always set `arm_float_abi`

    indutny committed
    When not specified as a configure flag, and not derived from system
    configuration, `arm_float_abi` should be set to `'default'`.
    
    fix #6789
Commits on Dec 7, 2013
  1. @tjfontaine
  2. @tjfontaine

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

    tjfontaine committed
    Conflicts:
    	lib/tls.js
    	src/node.js
  3. @tjfontaine

    build: pass --no-parallel by default to gyp

    tjfontaine committed
    gyp by default now tries to process gyp files in parallel by using
    python's multiprocessing module, but it has problems on oddball
    platforms. We don't have many files or complex dependency chains that
    would benefit from parallel processing so disable by deafult
    
    fixes #6640
  4. @tjfontaine

    build: ./configure pass positional args to gyp

    tjfontaine committed
    use `--` to specify the arguments you want to pass directly to gyp.
    
    for example: `./configure -- --no-parallel -Dsome_define=foo`
    
    fixes #6370
Commits on Dec 6, 2013
  1. @bnoordhuis @trevnorris

    build: add libicu i18n support

    bnoordhuis committed with trevnorris
    Adds a --with-icu-path= switch to the configure script.  Requires that
    the user checks out the copy of libicu that's bundled with chromium to
    a fixed directory.  It's still a little rough around the edges but it
    works.
    
    Fixes #6371.
Commits on Nov 18, 2013
  1. @tjfontaine

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

    tjfontaine committed
    Conflicts:
    	AUTHORS
    	ChangeLog
    	deps/uv/AUTHORS
    	deps/uv/ChangeLog
    	deps/uv/README.md
    	deps/uv/build.mk
    	deps/uv/src/unix/core.c
    	deps/uv/src/unix/darwin-proctitle.c
    	deps/uv/src/unix/darwin.c
    	deps/uv/src/unix/fsevents.c
    	deps/uv/src/unix/udp.c
    	deps/uv/src/version.c
    	deps/v8/src/platform-solaris.cc
    	deps/v8/test/cctest/test-api.cc
    	lib/tls.js
    	src/node.h
    	src/node_version.h
Commits on Nov 11, 2013
  1. @bnoordhuis

    v8: upgrade to 3.22.24

    bnoordhuis committed
    This commit removes the simple/test-event-emitter-memory-leak test for
    being unreliable with the new garbage collector: the memory pressure
    exerted by the test case is too low for the garbage collector to kick
    in.  It can be made to work again by limiting the heap size with the
    --max_old_space_size=x flag but that won't be very reliable across
    platforms and architectures.
Commits on Nov 10, 2013
  1. @tjfontaine

    gyp: update to bebdcea

    tjfontaine committed
Commits on Nov 8, 2013
  1. @bnoordhuis

    build: make v8 use random seed for hash tables

    bnoordhuis committed
    Upstream V8 as of commit v8/v8@4bc70e8 uses a fixed seed of 314159265
    for hash tables unless instructed otherwise.  Tell V8 to keep using a
    random seed.
Commits on Oct 29, 2013
  1. @bnoordhuis

    build: use zero overhead systemtap probes

    bnoordhuis committed
    Profiling suggested that on Linux sometimes over 10% of CPU time was
    being spent inside the systemtap probe entry points in the binding
    layer, even when the process was not actively being traced with the
    `stap` tool.
    
    That's why this commit makes it possible to use the *_ENABLED() macros
    and bail out early when we're not being traced, reducing the overhead
    of unused probes to (almost) zero.
    
    Said macros were already being generated by `dtrace -h` but were not
    usable because they rely on external definitions.  To remedy that, we
    now generate the accompanying object files with `dtrace -G`.
    
    This commit includes a change to libuv that has been landed upstream in
    commit joyent/libuv@3c172ea.
Commits on Sep 7, 2013
  1. @bsnote @bnoordhuis
Commits on Aug 10, 2013
  1. @bnoordhuis

    build: disable SSLv2 by default

    bnoordhuis committed
    No one in this day and age should be using SSLv2 so disable it by
    default. You can re-enable it with `./configure --with-sslv2` but
    there really should be no reason for that.
Something went wrong with that request. Please try again.