1. Feb 06, 2015
    • Julien Gilli's avatar
    • Dave Pacheco's avatar
      mdb_v8: update for v0.12 · 4312f8d7
      Dave Pacheco authored
      
      
      Bugs fixed:
      
      * v0.12 and later: in-object properties not printing correctly.
      * 64-bit: not printing external strings correctly (offset was hardcoded
      for 32-bit). This would happen with "::jsstack -vn0" because the
      script "node.js" wasn't printed correctly, at least with 0.10 core
      files.
      * 64-bit: printing JS source (via "::jsstack -v") emits errors and shows
      the wrong code.
      * Several build warnings.
      * Two-byte strings are unnecessarily truncated.
      * Could print friendlier note when given obviously bogus function token
      positions.
      
      New features:
      
      * ::jsstack prints much cleaner output by default.
      * ::jsprint keys are now quoted.
      * ::jsstack -v includes "this" value for each function on the stack.
      * ::jsstack -v includes more details about each argument (constructor
      names for each object).
      * new commands: ::jsconstructor, ::jsfunctions, ::jssource, ::nodebuffer
      and ::v8internal.
      * ::findjsobjects and ::jsprint hidden flags for developers to measure
      and improve test coverage.
      * internal jsobj_properties() function is much better documented.
      
      Reviewed-By: default avatarTimothy J Fontaine <tjfontaine@gmail.com>
      4312f8d7
  2. Jan 31, 2015
  3. Jan 30, 2015
    • Julien Gilli's avatar
      2015.01.29, Version 0.11.16 (Unstable) · 8e42e5a0
      Julien Gilli authored
      * openssl: Upgrade to 1.0.1l
      
      * npm: Upgrade to 2.3.0
      
      * url: revert support of `path` for url.format" (Julien Gilli)
      
      * assert: use util.inspect() to create error messages (cjihrig)
      
      * net: throw on invalid socket timeouts (cjihrig)
      
      * url: fix parsing of ssh urls (Evan Lucas)
      8e42e5a0
    • Julien Gilli's avatar
      src: make build pass with GCC < 4.5 · 59265264
      Julien Gilli authored
      Building node with GCC > 4.4 on CentOS makes the node binary depend on a
      more recent version of the C/C++ runtime that is not installed by
      default on these older CentOS platforms, and probably on other platforms
      as well.
      
      Building node with the default gcc and g++ compilers that come with
      these older versions of CentOS allows to ship a node binary that runs
      out of the box on these setups with older C/C++ runtimes.
      
      This change works around a bug that was fixed in GCC 4.5. Versions of
      GCC < 4.5 would not support using the injected-class-name of a
      template base class as a type name.
      
      This change also disables aliasing optimizations for toolchains using
      GCC <= 4.4 as they're not able to deal with the aliasing in the queue
      implementation used by libuv and node (see src/queue.h).
      
      Fixes #9079.
      
      PR: #9098
      PR-URL: https://github.com/joyent/node/pull/9098
      
      
      Reviewed-By: default avatarTimothy J Fontaine <tjfontaine@gmail.com>
      Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
      59265264
    • cjihrig's avatar
      assert: use util.inspect() to create error messages · bcff90e0
      cjihrig authored
      Currently, JSON.stringify() is used to create error messages
      on failed assertions. This causes an error when stringifying
      objects with circular references. This commit switches out
      JSON.stringify() for util.inspect(), which can handle
      circular references.
      
      PR: #8734
      PR-URL: https://github.com/joyent/node/pull/8734
      
      
      Reviewed-By: default avatarJulien Gilli <julien.gilli@joyent.com>
      bcff90e0
    • Julien Gilli's avatar
      Revert "url: support `path` for url.format" · 3b392d33
      Julien Gilli authored
      This reverts commit d312b6d1.
      
      d312b6d1 introduced some confusion in
      the existing API of url.format and url.parse.
      
      The way the 'path' property overrides other properties in url.format's
      input is too confusing for existing users compared to the issues it
      fixes.
      
      Fixes such as https://github.com/joyent/node/pull/9081 have been
      proposed, but they do not make the API less confusing.
      
      Instead, this change just reverts the original breaking change so that
      it gives us more time after v0.12.0 is released to come up with a better
      API for url.format, url.parse and other related APIs in the v0.13
      development branch.
      
      Fixes #9070.
      
      Conflicts:
      	doc/api/url.markdown
      
      PR: #9109
      PR-URL: https://github.com/joyent/node/pull/9109
      
      
      Reviewed-By: default avatarTimothy J Fontaine <tjfontaine@gmail.com>
      3b392d33
  4. Jan 28, 2015
  5. Jan 27, 2015
  6. Jan 24, 2015
  7. Jan 23, 2015
  8. Jan 22, 2015
  9. Jan 21, 2015
    • Julien Gilli's avatar
      Now working on 0.11.16 · f2b378b8
      Julien Gilli authored
      f2b378b8
    • Julien Gilli's avatar
      Merge branch 'v0.11.15-release' into v0.12 · 2d8253d2
      Julien Gilli authored
      2d8253d2
    • Julien Gilli's avatar
      2015.01.20, Version 0.11.15 (Unstable) · 8a9f263a
      Julien Gilli authored
      * v8: Upgrade to 3.28.73
      
      * uv: Upgrade to 1.0.2
      
      * npm: Upgrade to v2.1.6
      
      * uv: float patch to revert tty breakage (Trevor Norris)
      
      * v8: re-implement debugger-agent (Fedor Indutny)
      
      * v8: apply floating irhydra patch (Fedor Indutny)
      
      * v8: fix postmortem-metadata generator (Refael Ackermann)
      
      * debugger: fix unhandled error in setBreakpoint (Miroslav Bajtoš)
      
      * async-wrap: add event hooks (Trevor Norris)
      
      * async-wrap: expose async-wrap as binding (Trevor Norris)
      
      * buffer, doc: misc. fix and cleanup (Trevor Norris)
      
      * buffer: add generic functions for (u)int ops (Yazhong Liu)
      
      * buffer: fix and cleanup fill() (Trevor Norris)
      
      * buffer: mv floating point read/write checks to JS (Trevor Norris)
      
      * build, i18n: improve Intl build, add "--with-intl" (Steven R. Loomis)
      
      * build: add small-icu support for binary packages (Julien Gilli)
      
      * build: do not generate support for libuv's probes (Julien Gilli)
      
      * build: i18n: add icu config options (Steven R. Loomis)
      
      * build: i18n: support little-endian machines (Steven Loomis)
      
      * build: vcbuild fix "The input line is too long." (Alexis Campailla)
      
      * child_process: improve spawn() argument handling (cjihrig)
      
      * cluster: avoid race enabling debugger in worker (Timothy J Fontaine)
      
      * cluster: cluster.disconnect() should check status (Sam Roberts)
      
      * cluster: do not signal children in debug mode (Fedor Indutny)
      
      * cluster: don't assert if worker has no handles (Sam Roberts)
      
      * core: fix usage of uv_cwd (Saúl Ibarra Corretgé)
      
      * core: replace uv_fs_readdir with uv_fs_scandir (Saúl Ibarra Corretgé)
      
      * crypto: createDiffieHellman throw for bad args (Trevor Norris)
      
      * crypto: lower RSS usage for TLSCallbacks (Fedor Indutny)
      
      * crypto: store thread id as pointer-sized (Alexis Campailla)
      
      * dns: propagate domain for c-ares methods (Chris Dickinson)
      
      * fs: fix symlink error message (Vladimir Kurchatkin)
      
      * http: Improve _addHeaderLines method (Jackson Tian)
      
      * http: cleanup setHeader() (Trevor Norris)
      
      * http: rename flush to flushHeaders (Timothy J Fontaine)
      
      * lib,src: fix spawnSync ignoring its 'env' option (Juanjo)
      
      * modules: adding load linked modules feature (Thorsten Lorenz)
      
      * net: Make server.connections un-enumerable (Patrick Mooney)
      
      * net: add pauseOnConnect option to createServer() (cjihrig)
      
      * net: make connect() input validation synchronous (cjihrig)
      
      * node: avoid automatic microtask runs (Vladimir Kurchatkin)
      
      * node: fix throws before timer module is loaded (Trevor Norris)
      
      * openssl: fix keypress requirement in apps on win32 (Fedor Indutny)
      
      * path: added parse() and format() functions (Rory Bradford)
      
      * path: allow calling platform specific methods (Timothy J Fontaine)
      
      * path: don't lower-cases drive letters (Bert Belder)
      
      * path: refactor normalizeArray() (Nathan Woltman)
      
      * process: pid can be a string in process.kill() (Sam Roberts)
      
      * readline: fix performance issue when large line (Jicheng Li)
      
      * readline: should not require an output stream. (Julien Gilli)
      
      * smalloc: check if obj has external data (Vladimir Kurchatkin)
      
      * smalloc: don't allow to dispose typed arrays (Vladimir Kurchatkin)
      
      * smalloc: fix bad assert for zero length data (Trevor Norris)
      
      * smalloc: fix copyOnto optimization (Vladimir Kurchatkin)
      
      * src: all wrap's now use actual FunctionTemplate (Trevor Norris)
      
      * src: fix VC++ warning C4244 (Rasmus Christian Pedersen)
      
      * src: remove Async Listener (Trevor Norris)
      
      * stream: switch _writableState.buffer to queue (Chris Dickinson)
      
      * streams: make setDefaultEncoding() throw (Brian White)
      
      * streams: set default encoding for writable streams (Johnny Ray)
      
      * tls: remove tls.createSecurePair code deprecation (Jackson Tian)
      
      * tls_wrap: ignore ZERO_RETURN after close_notify (Fedor Indutny)
      
      * url: change hostname regex to negate invalid chars (Jonathan Johnson)
      
      * url: fixed encoding for slash switching emulation. (Evan Rutledge Borden)
      
      * url: improve parsing speed (CGavrila)
      
      * url: make query() consistent (Gabriel Wicke)
      
      * url: support `path` for url.format (Yazhong Liu)
      
      * util: add es6 Symbol support for `util.inspect` (gyson)
      8a9f263a
  10. Jan 20, 2015
  11. Jan 17, 2015
  12. Jan 16, 2015
  13. Jan 15, 2015
    • Julien Gilli's avatar
      build: add small-icu support for binary packages · 67f87a74
      Julien Gilli authored
      
      
      Invokes the configure script used to build binary packages
      (OSX pkg, binary tarballs, pkgsrc, MSI) with --download=all
      --with-intl=small-icu.
      
      Also makes PACKAGEMAKER customizable, because PackageMaker is not
      necessarily installed in /Developer on OSX anymore.
      
      Tested all binary packages on Windows, OSX, Linux and SmartOS.
      
      Fixes #7676.
      
      Reviewed-by: default avatarSteven R. Loomis <srl@icu-project.org>
      Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
      67f87a74
    • Julien Gilli's avatar
      test: fix ssl/tls options matrix test · 408bffe2
      Julien Gilli authored
      The tests suite available in test/external/ssl-options was originally
      written for security fixes made in the v0.10 branch. In this branch, the
      client's default ciphers list is compatible with SSLv2.
      
      After merging this change from v0.10 to v0.12, this tests suite was
      broken because commits 5d2aef17 and
      f4c8020d
      
       make SSL/TLS clients use a
      default ciphers list that is not compatible with the SSLv2 protocol.
      
      This change fixes two issues:
      1) The cipher list that was setup for a given test was not passed
      properly to the client.
      2) When either or both of clients/servers were using SSLv2, tests were
      expected to succeed when at least the server end was using SSLv2
      compatible ciphers. Now, tests are expected to succeed only if
      SSLv2 compatible ciphers are used on both ends.
      
      Fixes #9020.
      
      Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
      408bffe2
    • Julien Gilli's avatar
      test: fix test-crypto-stream.js · ae00e97e
      Julien Gilli authored
      A recent merge of v0.10 to v0.12
      (0c7f6ca8) upgraded OpenSSL to version
      1.0.1j. In v0.10, this required test-crypto-stream.js to be fixed with
      commit 707cc250. Basically, instead of
      returning the proper error, Err_get_error() would return 0 and the test
      for the error message needed to be updated in test-crypto-stream.js.
      
      However, in the v0.12 branch, crypto error messages are handled a bit
      differently since commit 26a1b712
      
      
      landed. Instead of returning the default OpenSSL error message, it makes
      the decipher stream return a default message specific to Node.js.
      
      This commit updates test-crypto-stream.js to test the error object
      against the proper default error message.
      
      Fixes #9019.
      
      Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
      ae00e97e
    • Sam Roberts's avatar
      cluster: don't assert if worker has no handles · 85360f06
      Sam Roberts authored
      
      
      Do not assume that all workers share all shared handles.
      
      Signed-off-by: default avatarJulien Gilli <julien.gilli@joyent.com>
      85360f06
    • Sam Roberts's avatar
      cluster: cluster.disconnect() should check status · f260ef8c
      Sam Roberts authored
      
      
      Workers that are already disconnected but not yet exited should not be
      disconnected, trying to do so raises exceptions.
      
      Signed-off-by: default avatarJulien Gilli <julien.gilli@joyent.com>
      f260ef8c