Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Show JS exception details for FATAL ERROR message #2

Closed
wants to merge 386 commits into from
Closed

Show JS exception details for FATAL ERROR message #2

wants to merge 386 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Feb 6, 2015

  1. deps: upgrade npm to 2.5.1

    Fixes #9126.
    
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    othiym23 authored and Julien Gilli committed Feb 6, 2015
    Configuration menu
    Copy the full SHA
    087a751 View commit details
    Browse the repository at this point in the history
  2. 2015.02.06, Version 0.12.0 (Stable)

    * npm: Upgrade to 2.5.1
    
    * mdb_v8: update for v0.12 (Dave Pacheco)
    Julien Gilli committed Feb 6, 2015
    Configuration menu
    Copy the full SHA
    2b18916 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'v0.12.0-release' into v0.12

    Julien Gilli committed Feb 6, 2015
    Configuration menu
    Copy the full SHA
    1de0ca8 View commit details
    Browse the repository at this point in the history
  4. Now working on 0.12.1

    Julien Gilli committed Feb 6, 2015
    Configuration menu
    Copy the full SHA
    a5dbcc9 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2015

  1. url: reslove urls with . and ..

    '.' and '..' are directory specs and resolving urls with or without the
    hostname with '.' and '..' should add a trailing slash to the end of the
    url.
    
    Fixes: nodejs/node-v0.x-archive#8992
    PR-URL: nodejs/node-v0.x-archive#9010
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    amir-s authored and trevnorris committed Feb 9, 2015
    Configuration menu
    Copy the full SHA
    ad06848 View commit details
    Browse the repository at this point in the history
  2. asyncwrap: fix constructor condition for early ret

    AsyncWrap should always properly propagate asynchronous calls to any
    child that is created. Regardless whether kCallInitHook is currently
    active. The previous logic would always return early if kCallInitHook
    wasn't set.
    
    PR-URL: nodejs/node-v0.x-archive#9146
    Reviewed-by: Julien Gilli <julien.gilli@joyent.com>
    trevnorris committed Feb 9, 2015
    Configuration menu
    Copy the full SHA
    605329d View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2015

  1. lib: fix max size check in Buffer constructor

    A number -> uint32 type coercion bug made buffer sizes
    larger than kMaxLength (0x3fffffff) wrap around.
    
    Instead of rejecting the requested size with an exception,
    the constructor created a buffer with the wrong size.
    
    PR-URL: nodejs/node#657
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis authored and trevnorris committed Feb 10, 2015
    Configuration menu
    Copy the full SHA
    04b63e0 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2015

  1. doc: grammar fix in smalloc

    PR-URL: nodejs/node-v0.x-archive#9164
    Reviewed-by: Colin Ihrig <cjihrig@gmail.com>
    Debjeet Biswas authored and trevnorris committed Feb 11, 2015
    Configuration menu
    Copy the full SHA
    8d8a2f2 View commit details
    Browse the repository at this point in the history
  2. test: Timeout#unref() does not return instance

    Timeout#unref() call returns undefined, not this. The test already
    worked before, because the interval was still unref'd, and the test also
    succeeds without clearing the interval.
    
    PR-URL: nodejs/node-v0.x-archive#9171
    Reviewed-by: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-by: Timothy J Fontaine <tjfontaine@gmail.com>
    jscissr authored and trevnorris committed Feb 11, 2015
    Configuration menu
    Copy the full SHA
    d2b5461 View commit details
    Browse the repository at this point in the history
  3. fs: make F_OK/R_OK/W_OK/X_OK not writable

    Change the fs.F_OK/R_OK/W_OK/X_OK out of fs.js will lead unexpect
    exception. Make these properties readonly.
    
    PR-URL: nodejs/node-v0.x-archive#9060
    [trev.norris@gmail.com test properties are read only]
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    JacksonTian authored and trevnorris committed Feb 11, 2015
    Configuration menu
    Copy the full SHA
    4823afc View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2015

  1. doc: fix code syntax

    Add a ';' to the end of a function call in documentation.
    
    PR-URL: nodejs/node-v0.x-archive#9198
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    dandv authored and trevnorris committed Feb 12, 2015
    Configuration menu
    Copy the full SHA
    6c60a72 View commit details
    Browse the repository at this point in the history
  2. module: replace NativeModule.require

    The NativeModule system passes NativeModule.require transparently and so
    is unnecessary to call explicitly.
    
    The only one which should have the prefix is the in line 295, where
    actually implements a big fs-based module system and actually requires a
    native module. That is left unchanged.
    
    PR-URL: nodejs/node-v0.x-archive#9201
    Ref: nodejs/node-v0.x-archive#2009
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    Herbert Vojčík authored and trevnorris committed Feb 12, 2015
    Configuration menu
    Copy the full SHA
    b8604fa View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2015

  1. console: allow Object.prototype fields as labels

    Console.prototype.timeEnd() returns NaN if the timer label
    corresponds to a property on Object.prototype. This commit
    uses Object.create(null) to construct the _times object.
    
    Fixes: nodejs/node-v0.x-archive#9069
    PR-URL: nodejs/node-v0.x-archive#9116
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    cjihrig committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    6c3647c View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2015

  1. buffer: fix pool offset adjustment

    If the Buffer allocation isn't a slice then there's no need to adjust
    the pool offset after realloc'ing the space available.
    
    Fixes: 6462519 "buffer, doc: misc. fix and cleanup"
    trevnorris committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    a35ba2f View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/v0.10' into v0.12

    Conflicts:
    	deps/v8/src/log-utils.cc
    Julien Gilli committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    a6bdd8f View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2015

  1. deps: add test for V8 version in profiler's log

    431eb17 had integrated the addition of
    V8's version in V8's profiler log files, without backporting the test
    that was included in the original change
    (https://codereview.chromium.org/806143002). This commit backports this
    test.
    
    The newly added test was tested with
    nodejs/node-v0.x-archive#9208.
    Julien Gilli committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    2b095bb View commit details
    Browse the repository at this point in the history
  2. deps: do not add extra newline in log file

    The commit in v0.10 (431eb17) that
    backported the original change
    (https://codereview.chromium.org/806143002) did add an extra newline
    because the logging facilities in v0.10's V8 do not add one.
    
    When merging this commit in v0.12, V8's logging facilities now
    automatically add the newline character, and the debug builds assert if
    one is already present.
    Julien Gilli committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    a103712 View commit details
    Browse the repository at this point in the history
  3. src: update AUTHORS after merge

    Julien Gilli committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    7b55402 View commit details
    Browse the repository at this point in the history
  4. fs: properly handle fd passed to truncate()

    Currently, fs.truncate() silently fails when a file descriptor
    is passed as the first argument. This commit changes this
    behavior to properly call fs.ftruncate().
    
    PR-URL: nodejs/node-v0.x-archive#9161
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
    bjouhier authored and cjihrig committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b3aa876 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2015

  1. console: allow Object.prototype fields as labels

    This is a backport of 6c3647c from
    v0.12 to v0.10.
    
    Console.prototype.timeEnd() returns NaN if the timer label
    corresponds to a property on Object.prototype. In v0.12, this was fixed
    by using Object.create(null) to construct the _times object
    
    However, the version of V8 in the v0.10 branch makes this fix not work
    as expected. In v0.10, this commit changes the _times object into a
    array of objects of the form:
    
    { label: someLabel, time: staringWallClockTime }
    
    someLabel can thus be any string, including any string that represents
    any Object.prototype field.
    
    Fixes #9116.
    
    PR: #9215
    PR-URL: nodejs/node-v0.x-archive#9215
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Julien Gilli committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    c8239c0 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2015

  1. net: unref timer in parent sockets

    `TLSSocket` wraps the original `net.Socket`, but writes/reads to/from
    `TLSSocket` do not touch the timers of original `net.Socket`.
    
    Introduce `socket._parent` property, and iterate through all parents
    to unref timers and prevent timeout event on original `net.Socket`.
    
    Fix: nodejs/node-v0.x-archive#9242
    PR-URL: nodejs/node#891
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    indutny authored and trevnorris committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    bada87b View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2015

  1. smalloc: extend user API

    node::Environment isn't accessible to user APIs, so extend smalloc to
    also accept v8::Isolate.
    
    Fixes: 75adde0 "src: remove `node_isolate` from source"
    PR-URL: nodejs/node#905
    Reviewed-by: Fedor Indutny <fedor@indutny.com>
    trevnorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    9deade4 View commit details
    Browse the repository at this point in the history
  2. deps: backport a02d97e from v8 upstream

    Original commit message:
    
      Fix --max_old_space_size=4096 integer overflow.
    
      BUG=v8:3857
      LOG=N
    
      Review URL: https://codereview.chromium.org/897543002
    
      Cr-Commit-Position: refs/heads/master@{#26510}
    
    PR-URL: nodejs/node-v0.x-archive#9200
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    Reviewed-by: Julien Gilli <julien.gilli@joyent.com>
    bsnote authored and trevnorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    2fc5eeb View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2015

  1. doc: remove broken link to tracing api

    closes nodejs/nodejs.org-archive#77
    
    PR: #9172
    PR-URL: nodejs/node-v0.x-archive#9172
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    robertkowalski authored and Julien Gilli committed Feb 24, 2015
    Configuration menu
    Copy the full SHA
    08a1192 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2015

  1. doc: fix default value of opts.decodeURIComponent

    In the documentation for querystring.parse, the documentation mentions
    that the default value for options.decodeURIComponent is the
    decodeURIComponent function, but it's actually the querystring.unescape
    function.
    
    PR-URL: nodejs/node-v0.x-archive#9259
    Reviewed-by: Julien Gilli <julien.gilli@joyent.com>
    h7lin authored and Julien Gilli committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    f1bf883 View commit details
    Browse the repository at this point in the history
  2. doc: add explanations for querystring

     - add an article: `decode a non-utf8 string`
     - explain default and fallback behaviour of `querystring.unescape`
    
    PR-URL: nodejs/node-v0.x-archive#9259
    Reviewed-by: Julien Gilli <julien.gilli@joyent.com>
    robertkowalski authored and Julien Gilli committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    5d821fe View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2015

  1. test: make destroyed-socket-write2.js more robust

    test/simple/test-http-destroyed-socket-write2.js validates
    that you get an appropriate error when trying to write to
    a request when the response on the other side has been destroyed.
    
    The test uses http.request to get a request and then keeps writing
    to it until either it hits 128 writes or gets the expected error.
    Since the writes are asynchronous we see that the writes just end
    up adding events to the event loop, which then later get processed
    once the connection supporting the request is fully ready.
    
    The test is timing dependent and if takes too long for the connection
    to be made the limit of 128 writes is exceeded and the test fails.
    The fact that the test allows a number of writes is probably to allow
    some delay for the connection to be ready for writing.
    
    On AIX, in the default configuration using the loopback interface
    is slower and the test fails because the delay is such that many
    more writes can be queued up before the connection takes place.
    If we use the host ip instead of defaulting to the loopback then
    the test passes.
    
    The test needs to be made more robust to delays. Since each write
    simply enqueues an additional write to the event queue there is
    probably no point in doing the second write until the first has
    completed. This patch schedules the next write when the first one
    completes and allows the test to pass even if it takes longer for
    the connection to be ready for writing
    
    PR-URL: nodejs/node-v0.x-archive#9270
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
    mhdawson authored and cjihrig committed Feb 27, 2015
    Configuration menu
    Copy the full SHA
    3e40e12 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2015

  1. src: fix builtin modules failing with --use-strict

    Currently, lib/_tls_legacy.js and lib/crypto.js cannot be loaded when
    --use-strict is passed to node. In addition to that, console.trace
    throws because it uses arguments.callee.
    
    This change fixes these issues and adds a test that makes sure
    every external built-in module can be loaded with require when
    --use-strict is enabled.
    
    Please note that this change does not fix all issues with built-in
    modules' code running with --use-strict. It is very likely that some
    code in the built-in modules still fails when passing this flag.
    
    However, fixing all code would require us to enable strict mode by
    default in all builtins modules, which would certainly break existing
    applications.
    
    Fixes #9187.
    
    PR: #9237
    PR-URL: nodejs/node-v0.x-archive#9237
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Julien Gilli committed Feb 28, 2015
    Configuration menu
    Copy the full SHA
    b233131 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/v0.10' into v0.12

    Conflicts:
    	lib/console.js
    	test/simple/test-console.js
    Julien Gilli committed Feb 28, 2015
    Configuration menu
    Copy the full SHA
    e82e86b View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2015

  1. tests: fix race in test-http-curl-chunk-problem

    This test setups two event listeners: one on a child process' exit event
    , another for the same child process' stdandard output's 'data' event.
    The data even listener writes to a stream, and the exit event listener
    ends it.
    
    Because the exit event can be emitted before the data event, there is a
    chance that something will be written to the stream after it's ended,
    and that an error is thrown.
    
    This change makes the test end the stream in the listener for the child
    process' standard output's end event, which is guaranteed to be emitted
    after the last data event, thus avoiding the race.
    
    PR: #9301
    PR-URL: nodejs/node-v0.x-archive#9301
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@users.noreply.github.com>
    Reviewed-By: Bert Belder <bertbelder@gmail.com>
    Julien Gilli committed Mar 3, 2015
    Configuration menu
    Copy the full SHA
    d9a309f View commit details
    Browse the repository at this point in the history
  2. deps: upgrade npm to 2.6.1

    PR: #9297
    PR-URL: nodejs/node-v0.x-archive#9297
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    othiym23 authored and Julien Gilli committed Mar 3, 2015
    Configuration menu
    Copy the full SHA
    63fbd10 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2015

  1. buffer: reword Buffer.concat error message

    this brings the error messaging in line with
    other node TypeError messages.
    
    fixes nodejs/node-v0.x-archive#7766.
    
    PR: #8723
    PR-URL: nodejs/node-v0.x-archive#8723
    Reviewed-By: James M Snell <jasnell@users.noreply.github.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    chrisdickinson authored and Julien Gilli committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    d01a900 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/v0.10' into v0.12

    Conflicts:
    	lib/buffer.js
    Julien Gilli committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    b0425f0 View commit details
    Browse the repository at this point in the history
  3. net: allow port 0 in connect()

    The added validation allows non-negative numbers and numeric
    strings. All other values result in a thrown exception.
    
    Fixes: nodejs/node-v0.x-archive#9194
    PR-URL: nodejs/node-v0.x-archive#9268
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: James M Snell <jasnell@users.noreply.github.com>
    cjihrig committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    1a2a4da View commit details
    Browse the repository at this point in the history
  4. http: fix performance regression for GET requests

    A significant performance regressions has been introduced in 1fddc1f for
    GET requests which send data through response.end(). The number of
    requests per second dropped to somewhere around 6% of their previous
    level.
    
    The fix consists of removing a part of the lines added by 1fddc1f,
    lines which were supposed to affect only HEAD requests, but interfered
    with GET requests instead.
    
    The lines removed would not have affected the behaviour in the case of
    a HEAD request as this._hasBody would always be false. Therefore, they
    were not required to fix the issue reported in #8361.
    
    Fixes #8940.
    
    PR: #9026
    PR-URL: nodejs/node-v0.x-archive#9026
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    CGavrila authored and Julien Gilli committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    8bcd0a4 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2015

  1. deps: update libuv to 0.10.36

    PR: #9274
    PR-URL: nodejs/node-v0.x-archive#9274
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    saghul authored and Julien Gilli committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    dcff5d5 View commit details
    Browse the repository at this point in the history
  2. url: revert reslove urls with . and ..

    This reverts commit ad06848.
    
    Initially, this bug fix targeted master, and I pushed to have it
    included in v0.10. In retrospect, I'm not sure it should have made into
    v0.10 as it seems it could break a lot of existing working code.
    
    In my opinion, this change is still a bug fix, and it is not backward
    incompatible per se. However, I'm not sure that taking the risk to break
    a lot of users with a new 0.10.x release that would include this fix is
    reasonable, especially now that 0.10.x releases are entering
    maintenance mode.
    
    PR-URL: nodejs/node-v0.x-archive#9257
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Julien Gilli committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    a5be84f View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2015

  1. deps: upgrade npm to 2.7.0

    PR: #9347
    PR-URL: nodejs/node-v0.x-archive#9347
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    othiym23 authored and Julien Gilli committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    cc6ee3f View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2015

  1. docs: add return value for sync fs functions

    Clarify that synchronous functions in fs with no return value return
    undefined.
    
    Specify that fs.openSync() returns an integer and fs.existsSync()
    returns true or false.
    
    Fixes #9313
    
    PR: #9359
    PR-URL: nodejs/node-v0.x-archive#9359
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    tyleranton authored and Julien Gilli committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    51fe319 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2015

  1. domains: fix stack clearing after error handled

    caeb677 introduced a regression where
    the domains stack would not be cleared after an error had been handled
    by the top-level domain.
    
    This change clears the domains stack regardless of the position of the
    active domain in the stack.
    
    PR: #9364
    PR-URL: nodejs/node-v0.x-archive#9364
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    dohse authored and Julien Gilli committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    f2a45ca View commit details
    Browse the repository at this point in the history
  2. buffer: align chunks on 8-byte boundary

    When slicing global pool - ensure that the underlying buffer's data ptr
    is 8-byte alignment to do not ruin expectations of 3rd party C++ addons.
    
    NOTE: 0.10 node.js always returned aligned pointers and v0.12 should do
    this too for compatibility.
    
    PR-URL: nodejs/node-v0.x-archive#9375
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    indutny committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    a33f23c View commit details
    Browse the repository at this point in the history
  3. build: allow custom PackageMaker path

    Make PACKAGEMAKER customizable because PackageMaker is not necessarily
    installed in /Developer on OSX anymore.
    
    PR: #9377
    PR-URL: nodejs/node-v0.x-archive#9377
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
    Julien Gilli committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    219c80d View commit details
    Browse the repository at this point in the history
  4. 2015.03.11, Version 0.10.37 (Maintenance)

    * uv: update to 0.10.36 (CVE-2015-0278)
    
    * domains: fix stack clearing after error handled (Jonas Dohse)
    
    * buffer: reword Buffer.concat error message (Chris Dickinson)
    
    * console: allow Object.prototype fields as labels (Julien Gilli)
    
    * V8: log version in profiler log file (Ben Noordhuis)
    
    * http: fix performance regression for GET requests (Florin-Cristian Gavrila)
    Julien Gilli committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    7d6b5b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2015

  1. Merge branch 'v0.10.37-release' into v0.10

    Julien Gilli committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    50c23fb View commit details
    Browse the repository at this point in the history
  2. Now working on 0.10.38

    Julien Gilli committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    4332c77 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2015

  1. test: update flaky test definitions

    test-fs-watch is flaky on OSX.
    orangemocha committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    e8b2109 View commit details
    Browse the repository at this point in the history
  2. make: remove node_dtrace from cpplint excludes

    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    PR-URL: nodejs/node-v0.x-archive#8741
    Julien Gilli committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    588c009 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2015

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

    Conflicts:
    	AUTHORS
    	ChangeLog
    	deps/uv/ChangeLog
    	deps/uv/build.mk
    	deps/uv/config-unix.mk
    	deps/uv/include/uv-private/uv-win.h
    	deps/uv/src/unix/async.c
    	deps/uv/src/unix/process.c
    	deps/uv/src/version.c
    	deps/uv/src/win/poll.c
    	deps/uv/test/test-list.h
    	deps/uv/uv.gyp
    	lib/http.js
    	src/node.js
    	src/node_version.h
    Julien Gilli committed Mar 16, 2015
    Configuration menu
    Copy the full SHA
    eb2764a View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2015

  1. deps: update libuv to 1.4.2

    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#9179
    trevnorris committed Mar 19, 2015
    Configuration menu
    Copy the full SHA
    7a37910 View commit details
    Browse the repository at this point in the history
  2. build: fix use of strict aliasing

    The -fno-strict-aliasing flag was added to fix compilation warnings when
    building Node.js with GCC <= 4.4
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#9179
    trevnorris committed Mar 19, 2015
    Configuration menu
    Copy the full SHA
    c0766eb View commit details
    Browse the repository at this point in the history
  3. lib: fix stdio/ipc sync i/o regression

    process.send() should be synchronous, it should block until the message
    has been sent in full, but it wasn't after the second-to-last libuv
    upgrade because of commit libuv/libuv@393c1c5 ("unix: set non-block
    mode in uv_{pipe,tcp,udp}_open"), which made its way into io.js in
    commit 07bd05b ("deps: update libuv to 1.2.1").
    
    Commit libuv/libuv@b36d4ff ("unix: implement uv_stream_set_blocking()")
    as landed in io.js in commit 9681fca ("deps: update libuv to 1.4.0")
    makes it possible to restore the synchronous behavior again and that's
    precisely what this commit does.
    
    The same line of reasoning applies to `net.Socket({ fd: 1 })`: creating
    a socket object from a stdio file descriptor, like the `process.stdout`
    getter does, should put the file descriptor in blocking mode for
    compatibility reasons.
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#9179
    bnoordhuis authored and trevnorris committed Mar 19, 2015
    Configuration menu
    Copy the full SHA
    2411bea View commit details
    Browse the repository at this point in the history
  4. uv: float win pipe patch

    Float patch to fix pipe on Windows. Original commit message:
    
      win: fix pipe blocking writes
    
      In the code path for pipe blocking writes, WriteFile is already
      posting a completion packet to the I/O completion port.
      POST_COMPLETION_FOR_REQ was causing the same request to get
      returned twice by GetCompletionStatusEx.
      Also on the same code path, we were waiting on the wrong event.
    
      We need to update queued_bytes and write_queue_size when a
      blocking write request completes asynchronously.
    
    Ref: libuv/libuv#238
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#9179
    orangemocha authored and trevnorris committed Mar 19, 2015
    Configuration menu
    Copy the full SHA
    3cce8ab View commit details
    Browse the repository at this point in the history
  5. uv: fix setsockopt for multicast options

    Float patch to fix setsockopt for multicast on Solaris and derivatives.
    Original commit message:
    
      solaris: fix setsockopt for multicast options
    
      On Solaris and derivatives such as SmartOS, the length of socket options
      for multicast and ttl options is not always sizeof(char).
    
      This fixes the udp_options and udp_options6 tests.
    
    Ref: libuv/libuv#243
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#9179
    Julien Gilli authored and trevnorris committed Mar 19, 2015
    Configuration menu
    Copy the full SHA
    9613ac7 View commit details
    Browse the repository at this point in the history
  6. uv: fix size calculation in select() fallback

    Original commit message:
    
      darwin: fix size calculation in select() fallback
    
      Apple's `fd_set` stores its bits in an array of 32-bit integers, which
      means `FD_ISSET()` may read out of bounds if we allocate storage at
      byte granularity. There's also a chance that the `select()` call could
      corrupt the heap, although I didn't investigate that.
    
      This issue was discovered by LLVM's AddressSanitizer which caught
      `FD_ISSET()` trying to read out of bounds.
    
    Ref: libuv/libuv#241
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#9179
    oleavr authored and trevnorris committed Mar 19, 2015
    Configuration menu
    Copy the full SHA
    2fdeb7e View commit details
    Browse the repository at this point in the history
  7. deps: indicate uv has been patched

    Because we are floating several patches on top of libuv, make that
    apparent in the version number.
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#9179
    trevnorris committed Mar 19, 2015
    Configuration menu
    Copy the full SHA
    a930870 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2015

  1. deps: upgrade to openssl-1.0.1m

    Extract the tarball into deps/openssl/openssl
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    jasnell authored and Julien Gilli committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    c6e8a2c View commit details
    Browse the repository at this point in the history
  2. deps: replace all headers in openssl

    change all openssl/include/openssl/*.h to include resolved symbolic
    links and openssl/crypto/opensslconf.h to refer config/opensslconf.h
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Shigeki Ohtsu authored and Julien Gilli committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    10717f6 View commit details
    Browse the repository at this point in the history
  3. deps: separate sha256/sha512-x86_64.pl for openssl

    sha256-x86_64.pl does not exist in the origin openssl distribution. It
    was copied from sha512-x86_64.pl and both sha256/sha512 scripts were
    modified so as to generates only one asm file specified as its key
    hash length.
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Shigeki Ohtsu authored and Julien Gilli committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    2b21c45 View commit details
    Browse the repository at this point in the history
  4. deps: fix openssl assembly error on ia32 win32

    `x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and
    perhaps others) are requiring .686 .
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    indutny authored and Julien Gilli committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    63377ec View commit details
    Browse the repository at this point in the history
  5. deps: remove vpaesni-x86_64.asm in x64-win32-masm

    It is no longer used.
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Shigeki Ohtsu authored and Julien Gilli committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    15cdeb7 View commit details
    Browse the repository at this point in the history
  6. deps: remove unused backup file in openssl asm

    deps/openssl/asm/x64-win32-masm/x86_64cpuid.asm.orig was accidentally
    committed before.
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Shigeki Ohtsu authored and Julien Gilli committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    1fc3fdf View commit details
    Browse the repository at this point in the history
  7. openssl: fix keypress requirement in apps on win32

    reapply b910613
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Shigeki Ohtsu authored and Julien Gilli committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    4b69c72 View commit details
    Browse the repository at this point in the history
  8. 2015.03.23, Version 0.10.38 (Maintenance)

    * openssl: upgrade to 1.0.1m (Addressing multiple CVEs)
    Julien Gilli committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    0b5731a View commit details
    Browse the repository at this point in the history
  9. watchdog: fix timeout for early polling return

    Switch from running the loop with UV_RUN_ONCE to UV_RUN_DEFAULT, because
    it's possible that the poll returns earlier than expected and thus the
    timer is not run on a single interation.
    
    The loop is not stopped either from the timer callback or from the async
    handle's.
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#9410
    saghul authored and mhdawson committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    7e9d2f8 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'v0.10.38-release' into v0.10

    Julien Gilli committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    0b4e67f View commit details
    Browse the repository at this point in the history
  11. Now working on 0.10.39

    Julien Gilli committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    7edfd5f View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2015

  1. deps: upgrade to openssl-1.0.1m

    Extract the tarball into deps/openssl/openssl
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    
    Conflicts:
    	deps/openssl/openssl/apps/s_client.c
    jasnell authored and Julien Gilli committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    3b511a8 View commit details
    Browse the repository at this point in the history
  2. deps: replace all headers in openssl

    change all openssl/include/openssl/*.h to include resolved symbolic
    links and openssl/crypto/opensslconf.h to refer config/opensslconf.h
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Shigeki Ohtsu authored and Julien Gilli committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    1aa5103 View commit details
    Browse the repository at this point in the history
  3. deps: separate sha256/sha512-x86_64.pl for openssl

    sha256-x86_64.pl does not exist in the origin openssl distribution. It
    was copied from sha512-x86_64.pl and both sha256/sha512 scripts were
    modified so as to generates only one asm file specified as its key
    hash length.
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Shigeki Ohtsu authored and Julien Gilli committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    8874445 View commit details
    Browse the repository at this point in the history
  4. deps: fix openssl assembly error on ia32 win32

    `x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and
    perhaps others) are requiring .686 .
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    indutny authored and Julien Gilli committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    9fb6cf1 View commit details
    Browse the repository at this point in the history
  5. deps: remove vpaesni-x86_64.asm in x64-win32-masm

    It is no longer used.
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Shigeki Ohtsu authored and Julien Gilli committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    8d10b8d View commit details
    Browse the repository at this point in the history
  6. deps: remove unused backup file in openssl asm

    deps/openssl/asm/x64-win32-masm/x86_64cpuid.asm.orig was accidentally
    committed before.
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Shigeki Ohtsu authored and Julien Gilli committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    b5a37e5 View commit details
    Browse the repository at this point in the history
  7. openssl: fix keypress requirement in apps on win32

    reapply b910613
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Shigeki Ohtsu authored and Julien Gilli committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    a43219b View commit details
    Browse the repository at this point in the history
  8. 2015.03.23, Version 0.12.1 (Stable)

    * openssl: upgrade to 1.0.1m (Addressing multiple CVES)
    Julien Gilli committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    0034086 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'v0.12.1-release' into v0.12

    Conflicts:
    	ChangeLog
    Julien Gilli committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    59d3f68 View commit details
    Browse the repository at this point in the history
  10. Now working on 0.12.2

    Julien Gilli committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    e80bcf5 View commit details
    Browse the repository at this point in the history
  11. Merge remote-tracking branch 'upstream/v0.10' into v0.12

    Conflicts:
    	ChangeLog
    	src/node_version.h
    Julien Gilli committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    a0ce9cc View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2015

  1. path: refactor for performance and consistency

    Improve performance by:
    + Not leaking the `arguments` object!
    + Getting the last character of a string by index, instead of
      with `.substr()` or `.slice()`
    
    Improve code consistency by:
    + Using `[]` instead of `.charAt()` where possible
    + Using a function declaration instead of a var declaration
    + Using `.slice()` with clearer arguments
    + Checking if `dir` is truthy in `win32.format`
      (added tests for this)
    
    Improve both by:
    + Making the reusable `trimArray()` function
    + Standardizing getting certain path statistics with
      the new `win32StatPath()` function
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#9289
    nwoltman authored and Julien Gilli committed Mar 25, 2015
    Configuration menu
    Copy the full SHA
    c66f8c2 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2015

  1. test: Env variable to specify directory for pipes

    At the uv layer pipes are connected with uv_pipe_connect.
    The current spec for this method indicates that the maximum
    length is limited to the size of length of
    sizeof(sockaddr_un.sun_path), typically between 92 and
    108 bytes. Anything longer than that just gets truncated.
    
    The simple testsuite currently creates pipes in directories
    under the directory where node was built.  In our jenkins
    jobs this sometimes ends up being a deep enough path that
    the path for the pipes is getting truncated.  The result
    is that tests using pipes fail with errors that don't
    make it obvious what the problem is.
    
    Even if the errors were helpful, we still need a way
    to avoid the truncation.
    
    This patch adds the environment variable NODE_PIPE_DIR.
    If set the tests create pipes in this directory instead of
    the current defaults.  In addition the test harness is
    updated to remove/delete this directory before/after
    each test is run.
    
    	modified:   test/common.js
    	modified:   test/simple/test-net-pipe-connect-errors.js
    	modified:   test/testpy/__init__.py
    	modified:   test/simple/test-cluster-eaccess.js
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#9381
    mhdawson committed Mar 26, 2015
    Configuration menu
    Copy the full SHA
    5dd5ce7 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2015

  1. test: address timing issues in simple http tests

    simple tests test-http-request-end.js, test-http-default-encoding.js
    hangs in AIX. The root cause for both the failures is related to the
    timing with which packets are sent between the client and server.
    On the client side, one factor that affects the timing is Nagle's
    algorithm. With Nagle enabled there may be a delay between two packets
    as the stack may wait until either:
      a. An acknowledgement for the first packet is received, or
      b. 200 ms elapses.
    before sending the second packet.
    
    Similarly at the server side 2 sequential packages can be delivered to
    the application either together or separatly.
    
    On AIX we see that they are delivered separately to the server, while on
    Linux delivered together. If we change the timing, for example disabling
    Nagle on AIX we see the 2 packets delivered together and the tests pass.
    
    In the test case simple/test-http-request-end.js, the client request
    handler of the server receives and stores the data in a data callback,
    closes the server in a request end callback, and writes to the client
    and ends the response, in-line with the request receipt. An HTTP parser
    module parses the incoming message, and invokes callback routines which
    are registered for HTTP events (such as header, body, end etc.)
    
    Because the termination sequence arrive in a separate packet, there is a
    delay in parsing that message and identify that the client request ended
    (and thereby invoke the request end call backhandler). Due to this delay,
    the response close happens first, which in-turn destroys the server
    socket leading to the fd and watcher removal from the uv loop abandoning
    further events on this connection, and end call back never being called,
    causing the reported hang.  simple/test-http-default-encoding.js suffers
    from the same problem.
    
    Also, remove the timer logic from the test case. Test harness anyways
    contain a timer which controls the individual tests so remove such
    controls from the test case, as suggested by @tjfontaine
    
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    PR-URL: nodejs/node-v0.x-archive#9432
    gireeshpunathil authored and mhdawson committed Mar 27, 2015
    Configuration menu
    Copy the full SHA
    13e1131 View commit details
    Browse the repository at this point in the history
  2. deps: upgrade npm to 2.7.4

    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#14180
    othiym23 authored and Julien Gilli committed Mar 27, 2015
    Configuration menu
    Copy the full SHA
    2704c62 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2015

  1. http: fix assert on data/end after socket error

    This change is a backport of 1a3ca82
    from io.js.
    
    Original commit message:
    
      Read all pending data out of the socket on `error` event and ensure that
      no `data`/`end` handlers will be invoked on `socket.destroy()`.
      Otherwise following assertion happens:
    
          AssertionError: null == true
              at TLSSocket.socketOnData (_http_client.js:308:3)
              at TLSSocket.emit (events.js:107:17)
              at TLSSocket.Readable.read (_stream_readable.js:373:10)
              at TLSSocket.socketCloseListener (_http_client.js:229:10)
              at TLSSocket.emit (events.js:129:20)
              at TCP.close (net.js:476:12)
    
      Fix: nodejs/node-v0.x-archive#9348
      PR-URL: nodejs/node#1103
      Reviewed-By: Rod Vagg <rod@vagg.org>
      Reviewed-By: Nicu Micleușanu <micnic90@gmail.com>
    
    Fixes #9348.
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#14087
    indutny authored and Julien Gilli committed Mar 28, 2015
    Configuration menu
    Copy the full SHA
    d6484f3 View commit details
    Browse the repository at this point in the history
  2. src: backport fix for SIGINT crash on FreeBSD

    This is a backport of b64983d.
    
    Original commit message:
    
      src: reset signal handler to SIG_DFL on FreeBSD
    
      FreeBSD has a nasty bug with SA_RESETHAND reseting the SA_SIGINFO,
      that is in turn set for a libthr wrapper. This leads to a crash.
      Work around the issue by manually setting SIG_DFL in the signal
      handler.
    
      Fix: nodejs/node-v0.x-archive#9326
      PR-URL: nodejs/node#1218
      Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
      Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    
    Fixes #9326.
    
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#14184
    indutny authored and Julien Gilli committed Mar 28, 2015
    Configuration menu
    Copy the full SHA
    61fe1fe View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2015

  1. test: make cluster tests more time tolerant

    simple tests test-cluster-master-error.js, test-cluster-master-kill.js
    fails in AIX with assertion failure indicating that the workers were
    alive even after the master terminated. A 200ms leeway is provided for
    the workers to actually terminate, but the isAlive check returns
    true in both the cases.
    
    In AIX, the workers were actually terminating, but they took more time
    - as much as 800ms (normal) to 1000ms (in rare cases).
    
    Based on a C test we ran, it is found that the exit routines in AIX
    is a bit more longer than that in Linux. There are a number of cleanup
    activities performed in exit() system call, and depending on when the
    signal handlers are shutdown in that sequence, the process will be
    deemed as dead or alive, from another process's perspective.
    
    process.kill(pid) is used in the test case to check the liveliness of
    the worker, and when the kill() call is issued, even if the target
    process is in it's exit sequences, if the signal handlers are not shut
    down, it will respond to external signals, causing those calls to pass.
    
    This fix extends the additional timeout for all platforms
    
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    PR-URL: nodejs/node-v0.x-archive#9431
    gireeshpunathil authored and mhdawson committed Mar 31, 2015
    Configuration menu
    Copy the full SHA
    f3f4e28 View commit details
    Browse the repository at this point in the history
  2. 2015.03.31, Version 0.12.2 (Stable)

    * uv: Upgrade to 1.4.2
    
    * npm: Upgrade to 2.7.4
    
    * V8: do not add extra newline in log file (Julien Gilli)
    
    * V8: Fix --max_old_space_size=4096 integer overflow (Andrei Sedoi)
    
    * asyncwrap: fix constructor condition for early ret (Trevor Norris)
    
    * buffer: align chunks on 8-byte boundary (Fedor Indutny)
    
    * buffer: fix pool offset adjustment (Trevor Norris)
    
    * build: fix use of strict aliasing (Trevor Norris)
    
    * console: allow Object.prototype fields as labels (Colin Ihrig)
    
    * fs: make F_OK/R_OK/W_OK/X_OK not writable (Jackson Tian)
    
    * fs: properly handle fd passed to truncate() (Bruno Jouhier)
    
    * http: fix assert on data/end after socket error (Fedor Indutny)
    
    * lib: fix max size check in Buffer constructor (Ben Noordhuis)
    
    * lib: fix stdio/ipc sync i/o regression (Ben Noordhuis)
    
    * module: replace NativeModule.require (Herbert Vojčík)
    
    * net: allow port 0 in connect() (cjihrig)
    
    * net: unref timer in parent sockets (Fedor Indutny)
    
    * path: refactor for performance and consistency (Nathan Woltman)
    
    * smalloc: extend user API (Trevor Norris)
    
    * src: fix for SIGINT crash on FreeBSD (Fedor Indutny)
    
    * src: fix builtin modules failing with --use-strict (Julien Gilli)
    
    * watchdog: fix timeout for early polling return (Saúl Ibarra Corretgé)
    Julien Gilli committed Mar 31, 2015
    Configuration menu
    Copy the full SHA
    523d445 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'v0.12.2-release' into v0.12

    Julien Gilli committed Mar 31, 2015
    Configuration menu
    Copy the full SHA
    cac2a74 View commit details
    Browse the repository at this point in the history
  4. Now working on 0.12.3

    Julien Gilli committed Mar 31, 2015
    Configuration menu
    Copy the full SHA
    c657dac View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2015

  1. test: relax the timing window in test-child-process-fork-net2.js

    In Linux, simple/test-child-process-fork-net2.js fails intermittently.
    
    In SuSE Linux system, under network high load situations, this failure is
    consistently reproducible.
    
    The test case tests whether the TCP connections which were established between
    the processes terminate in a timely and clean manner. After some iterations of
    data transfer on established connections, the server is closed. The server does
    not get closed immediately, instead waits for all the active connections to
    terminate. A timed (200ms) callback closes the connections, which eventually
    closes the server.
    
    The start is the time when the server close is invoked.
    The end is the time when the server is actually closed(onClose call back invoked).
    
    Given that there is a minimum delay of 200ms before the connections are
    terminated, expecting the elapsed time above 190 is reasonable and fair,
    but looks like the leeway of 800ms for the upper bounds seem to be too
    stringent, and breaking some scenarios of network load.
    
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    PR-URL: nodejs/node-v0.x-archive#14129
    gireeshpunathil authored and mhdawson committed Apr 1, 2015
    Configuration menu
    Copy the full SHA
    66b243d View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2015

  1. tls: disable RC4, add --cipher-list command line switch

    Disable RC4 in the default cipher list
    
    Add the `--cipher-list` command line switch and `NODE_CIPHER_LIST`
    environment variable to completely override the default cipher list.
    
    Add the `--enable-legacy-cipher-list` and `NODE_LEGACY_CIPHER_LIST`
    environment variable to selectively enable the default cipher list from
    previous node.js releases.
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#14413
    jasnell committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    67d9a56 View commit details
    Browse the repository at this point in the history
  2. tls: make the --enable-legacy-cipher-list help less verbose

    Per feedback on the commit, make the PrintHelp for
    --enable-legacy-cipher-list less verbose.
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#14413
    jasnell committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    02a549e View commit details
    Browse the repository at this point in the history
  3. disable RC4, add --cipher-list command line switch

    Disable RC4 in the default cipher list
    
    Add the `--cipher-list` command line switch and `NODE_CIPHER_LIST`
    environment variable to completely override the default cipher list.
    
    Add the `--enable-legacy-cipher-list` and `NODE_LEGACY_CIPHER_LIST`
    environment variable to selectively enable the default cipher list from
    previous node.js releases.
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#14414
    jasnell committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    f9291a9 View commit details
    Browse the repository at this point in the history
  4. tls: make --enable-legacy-cipher-list=val less verbose

    Per feedback on the commit, make the PrintHelp output for
    --enable-legacy-cipher-list less verbose.
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#14414
    jasnell committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    b5737bb View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2015

  1. doc: add link to workflow in api docs menu

    Added link to workflow guidelines page in API docs' navigation menu.
    
    Fixes nodejs/nodejs.org-archive#102.
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#14570
    paulomcnally authored and Julien Gilli committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    de90403 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2015

  1. test: immunize data flow from packet size and order

    simple/test-child-process-stdout-flush-exit.js fails with an assertion.
    The root cause for this assertion is that the expected boolean value of
    true for the variable gotBye was false. This is set to true when the
    piped stdout stream of the child writes the end token "goodbye". So the
    error message would indicate that the end token was never received by
    the parent, but in fact it did. The only difference is that the first
    chunk itself had both 'hello' and 'goodbye' (as well as the filler
    words in between) in AIX, while Linux receives them separately.
    
    While this issue is not reproducible in Linux, the number of bytes
    received each time a callback is called is not consistent across runs,
    which is ratified as the actual content size of a UNIX domain data packet
    is determined outside of the node's logic, instead in OS tunables, as well
    as the runtime context of data transfer (depending on contigeous free
    memory available in OS data structures at the time of sending).
    In addition, around 200 filler words sent in between the 'hello' and
    'goodbye' seem to indicate that the coalescence of chunks was a possibility
    in Linux as well, and was devised to separate the first word from the last,
    through an arbitrary delimiter.
    
    Parser logic seem to be rigid and have assumptions about the order and size
    of the data arrival. For example, it checks for 'goodbye' only when it does
    not find 'hello' in it, as if they would always come separately. This
    exclusiveness is what makes the test to fail in AIX.
    
    Reviewed-By:
    PR-URL: nodejs/node-v0.x-archive#14410
    gireeshpunathil authored and mhdawson committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    4e154d6 View commit details
    Browse the repository at this point in the history
  2. src: backport ignore ENOTCONN on shutdown race

    This is a backport of ea37ac0
    
    Original commit message:
    
      On AIX, OS X and the BSDs, calling shutdown() on one end of a pipe
      when the other end has closed the connection fails with ENOTCONN.
    
      The sequential/test-child-process-execsync test failed sporadically
      because of a race between the parent and the child where one closed
      its end of the pipe before the other got around to calling shutdown()
      on its end of the pipe.
    
      Libuv is not the right place to handle that because it can't tell if
      the ENOTCONN error is genuine but io.js can.
    
      Refs: libuv/libuv#268
      PR-URL: iojs#1214
      Reviewed-By: Bert Belder <bertbelder@gmail.com>
    
    Fixes: nodejs/node-v0.x-archive#9444.
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#14480
    bnoordhuis authored and mhdawson committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    d5b3224 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2015

  1. debugger: improve help information

    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#14172
    JacksonTian authored and Julien Gilli committed Apr 14, 2015
    Configuration menu
    Copy the full SHA
    c63a39b View commit details
    Browse the repository at this point in the history
  2. debugger: don't spawn child process in remote mode

    When debug in remote mode with host:port or pid, the interface
    spawn child process also. If the debugger agent is running, will
    get following output:
    
    ```
    < Error: listen EADDRINUSE :::5858
    <     at Object.exports._errnoException (util.js:734:11)
    <     at exports._exceptionWithHostPort (util.js:757:20)
    <     at Agent.Server._listen2 (net.js:1155:14)
    <     at listen (net.js:1181:10)
    <     at Agent.Server.listen (net.js:1268:5)
    <     at Object.start (_debug_agent.js:21:9)
    <     at startup (node.js:68:9)
    <     at node.js:799:3
    ```
    
    This fix won't spawn child process and no more error message was
    shown.
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#14172
    JacksonTian authored and Julien Gilli committed Apr 14, 2015
    Configuration menu
    Copy the full SHA
    f0ef597 View commit details
    Browse the repository at this point in the history
  3. src: fix backport for SIGINT crash fix on FreeBSD

    61fe1fe backported
    b64983d from io.js, but failed to
    change nullptr to NULL, which lead to a build break on FreeBSD since the
    current build system doesn't enable support for C++11.
    
    This change replaces nullptr by NULL, and has been tested on
    FreeBSD 10.1-RELEASE-p8.
    
    Fixes #9326.
    
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#14819
    Julien Gilli committed Apr 14, 2015
    Configuration menu
    Copy the full SHA
    f99eaef View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2015

  1. docs: clarify usage of stream.Writable.write

    Add separate sample code for the write-after-end case to avoid
    confusion.
    
    PR: #15517
    PR-URL: nodejs/node-v0.x-archive#15517
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    AlexKVal authored and Julien Gilli committed Apr 15, 2015
    Configuration menu
    Copy the full SHA
    9800e0b View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2015

  1. install: fix source path for openssl headers

    PR: #14089
    PR-URL: nodejs/node-v0.x-archive#14089
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    obastemur authored and Julien Gilli committed Apr 23, 2015
    Configuration menu
    Copy the full SHA
    9d19dfb View commit details
    Browse the repository at this point in the history
  2. install: make sure opensslconf.h is overwritten

    PR: #14089
    PR-URL: nodejs/node-v0.x-archive#14089
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    obastemur authored and Julien Gilli committed Apr 23, 2015
    Configuration menu
    Copy the full SHA
    4028669 View commit details
    Browse the repository at this point in the history
  3. build,win: set env before generating projects

    vcbuild.bat calls python configure before setting GYP_MSVS_VERSION,
    so SelectVisualStudioVersion (tools\gyp\pylib\gyp\MSVSVersion.py)
    defaults to 'auto' and selects VS 2005.
    
    vcbuild sets the environment in the current shell, so this issue
    would manifest itself only on the first invocation of the script
    in any given shell windows.
    
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    PR-URL: nodejs/node-v0.x-archive#20109
    orangemocha committed Apr 23, 2015
    Configuration menu
    Copy the full SHA
    a58b174 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2015

  1. net: do not set V4MAPPED on FreeBSD

    V4MAPPED is not supported on recent FreeBSD versions, at least on 10.1.
    Thus, do not set this flag in net.connect on FreeBSD.
    
    Fixes #8540 and #9204.
    
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#18204
    Julien Gilli committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    0e392f3 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2015

  1. deps: update V8 to 3.28.71.19

    The 3.28.73 update was technically unstable code. This reverts the code
    to the latest 3.28 stable release.
    
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#18206
    trevnorris authored and Julien Gilli committed Apr 29, 2015
    Configuration menu
    Copy the full SHA
    32166a9 View commit details
    Browse the repository at this point in the history
  2. deps: apply floating irhydra patch to v8

    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#18206
    trevnorris authored and Julien Gilli committed Apr 29, 2015
    Configuration menu
    Copy the full SHA
    beff91c View commit details
    Browse the repository at this point in the history
  3. deps: fix postmortem-metadata generator in v8

    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#18206
    refack authored and Julien Gilli committed Apr 29, 2015
    Configuration menu
    Copy the full SHA
    ace398e View commit details
    Browse the repository at this point in the history
  4. mdb_v8: fix dictionary properties access

    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#18206
    Dave Pacheco authored and Julien Gilli committed Apr 29, 2015
    Configuration menu
    Copy the full SHA
    9a960c2 View commit details
    Browse the repository at this point in the history
  5. deps: backport use strict fix for V8 debugger

    Backport 2ad2237507c5b5f9047b8d94d2f4997327eae852 from V8.
    
    Original commit message:
    
      Fix Unhandled ReferenceError in debug-debugger.js
    
      This fixes following exception in Sky on attempt to set a breakpoint
      "Unhandled: Uncaught ReferenceError: break_point is not defined"
      I think this happens in Sky but not in Chrome because Sky scripts are executed in strict mode.
    
      BUG=None
      LOG=N
      R=yangguo@chromium.org
    
      Review URL: https://codereview.chromium.org/741683002
    
      Cr-Commit-Position: refs/heads/master@{#25415}
    
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#18206
    yury-s authored and Julien Gilli committed Apr 29, 2015
    Configuration menu
    Copy the full SHA
    5b2bf92 View commit details
    Browse the repository at this point in the history
  6. build: fix build for SmartOS

    This change in V8: https://code.google.com/p/v8/source/detail?r=22210
    has introduced a method named OS::GetCurrentThreadId which fails to
    compile on OSes where a "gettid" syscall does not exist.
    
    This build issue has been fixed upstream by several changes:
    - https://code.google.com/p/v8/source/detail?r=23459.
    - https://codereview.chromium.org/649553002
    - https://codereview.chromium.org/642223003
    
    Another minor fix to the upstream changes was also necessary.
    See https://code.google.com/p/v8/issues/detail?id=3620 for
    more information.
    
    The other build issue was due to the fact that alloca.h is not included
    by other system includes on SmartOS, which is assumed by V8.
    
    Built and tested on Linux, MacOS X, Windows and SmartOS.
    
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#18206
    Julien Gilli committed Apr 29, 2015
    Configuration menu
    Copy the full SHA
    712cb43 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2015

  1. v8: fix issue with let bindings in for loops

    Backport b17eaaa5755e625493c5fe537f42b58838923c52 from upstream v8.
    
    Original commit message:
      Fix desugaring of let bindings in for loops to handle continue properly
    
      This requires putting the original loop's body inside an inner for loop (with
      the same labels as the original loop) and re-binding the temp variables in its
      "next" expression. A second flag is added to the desugared code to ensure the
      loop body executes at most once per loop.
    
      BUG=v8:3683
      LOG=y
    
      Review URL: https://codereview.chromium.org/720863002
    
      Cr-Commit-Position: refs/heads/master@{#25363}
    
    Fixes #9113 and #14411.
    
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#23948
    ajklein authored and Julien Gilli committed Apr 30, 2015
    Configuration menu
    Copy the full SHA
    2a5f4bd View commit details
    Browse the repository at this point in the history
  2. test: add test for let bindings in for loops

    072460265226c047369558b23e9ff2748965bf6c floats a patch on V8 that fixes
    issue #9113 that would cause let bindings and continue statements in for
    loops to not work properly.
    
    This change adds a regression test that fails if that patch is not
    properly floated, thus preventing us from not floating that patch after
    future V8 upgrades.
    
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#23948
    Julien Gilli committed Apr 30, 2015
    Configuration menu
    Copy the full SHA
    cb55a05 View commit details
    Browse the repository at this point in the history
  3. test: make test-npm uses custom node, not global

    When running make test-npm, make would use the node binary available in
    the PATH, which would most of the time not be the same binary as the one
    built from the source tree from where the make test-npm command in run.
    
    This can be confusing, as it can lead users to think that they tested
    npm with the version of node that was built from the current checkout of
    the source tree when it would actually run the tests with a completely
    different version.
    
    This change modifies the PATH environment variable for all commands that
    need to run the node binary to run npm's tests by adding the root of the
    local checkout as the first entry, so that the custom built node is
    always used.
    
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#9107
    Julien Gilli committed Apr 30, 2015
    Configuration menu
    Copy the full SHA
    03b4f44 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2015

  1. deps: upgrade npm to 2.8.4

    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#20311
    othiym23 authored and Julien Gilli committed May 1, 2015
    Configuration menu
    Copy the full SHA
    8fc40af View commit details
    Browse the repository at this point in the history

Commits on May 6, 2015

  1. test: Extend timeout due to failure on AIX

    The loopback on AIX is slower by default than on other platforms
    and we've seen a number of tests fail on AIX for this reason. This
    looks to be another instance.  Changing the test to bind to the
    host ip instead of the loopback makes it pass reliably.
    
    This change extends the timeout so that it passes reliably on AIX
    even with the slower loopback behaviour
    
    	modified:   test/simple/test-tls-wrap-timeout.js
    
    Reviewed-By: coln Ihrig <cjihrig@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25138
    mhdawson committed May 6, 2015
    Configuration menu
    Copy the full SHA
    fcbf226 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2015

  1. win,msi: Added empty InstallExecuteSequence group

    This is needed so that we can backport
    668bde8 from io.js with
    a clean merge.
    
    PR-URL: nodejs/node-v0.x-archive#25100
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Fixes: nodejs/node-v0.x-archive#4356
    joaocgreis authored and orangemocha committed May 11, 2015
    Configuration menu
    Copy the full SHA
    ad9947e View commit details
    Browse the repository at this point in the history
  2. win,msi: broadcast WM_SETTINGCHANGE after install

    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/node#603
    PR: nodejs/node#613
    Reviewed-by: Bert Belder <bertbelder@gmail.com>
    (cherry picked from commit 668bde8)
    
    --Node.js commmit metadata--
    PR-URL: nodejs/node-v0.x-archive#25100
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    Fixes: nodejs/node-v0.x-archive#4356
    mathiask88 authored and orangemocha committed May 11, 2015
    Configuration menu
    Copy the full SHA
    e7c84f8 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2015

  1. deps: update libuv to 1.5.0

    PR: #25141
    PR-URL: nodejs/node-v0.x-archive#25141
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    saghul authored and Julien Gilli committed May 12, 2015
    Configuration menu
    Copy the full SHA
    84f1ab6 View commit details
    Browse the repository at this point in the history
  2. build: fix use of strict aliasing

    The -fno-strict-aliasing flag was added to fix compilation warnings when
    building Node.js with GCC <= 4.4
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#9179
    
    PR: #25141
    PR-URL: nodejs/node-v0.x-archive#25141
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    trevnorris authored and Julien Gilli committed May 12, 2015
    Configuration menu
    Copy the full SHA
    e1cc263 View commit details
    Browse the repository at this point in the history
  3. deps: don't busy loop in v8 cpu profiler thread

    Backport 6964a9e0685fa186d9d9b7907be17505e839db1a from upstream v8.
    
    Original commit message:
    
      Make CPU profiler do not hog 100% of CPU.
    
      Tick event processor should not stay in a tight loop
      when there's nothing to do. It can go sleep until next sample event.
    
      LOG=N
      BUG=v8:3967
      Committed: https://crrev.com/6964a9e0685fa186d9d9b7907be17505e839db1a
      Cr-Commit-Position: refs/heads/master@{#28211}
    
    Fixes #25137
    Related: #9439, #8789
    
    PR: #25268
    PR-URL: nodejs/node-v0.x-archive#25268
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    tunniclm authored and Julien Gilli committed May 12, 2015
    Configuration menu
    Copy the full SHA
    80cdae8 View commit details
    Browse the repository at this point in the history
  4. test,win: disable test-tls-server-verify for CI

    test-tls-server-verify takes a lont time to execute and times
    out on the Jenkins machines.
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25284
    orangemocha committed May 12, 2015
    Configuration menu
    Copy the full SHA
    0dbaee4 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2015

  1. repl: make 'Unexpected token' errors recoverable

    Fix the regexp used to detect 'Unexpected token' errors so that they can
    be considered as recoverable. This fixes the following use case:
    
    > var foo = 'bar \
    ... baz';
    undefined
    > foo
    'bar baz'
    >
    
    Fixes #8874
    
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#8875
    Julien Gilli committed May 13, 2015
    Configuration menu
    Copy the full SHA
    101e103 View commit details
    Browse the repository at this point in the history
  2. deps: upgrade npm to 2.9.1

    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25289
    othiym23 authored and Julien Gilli committed May 13, 2015
    Configuration menu
    Copy the full SHA
    03cfbd6 View commit details
    Browse the repository at this point in the history
  3. tls,crypto: revert recent cipher lists changes

    Revert "disable RC4, add --cipher-list command line switch" and
    "tls: make --enable-legacy-cipher-list=val less verbose"
    
    This reverts commit f9291a9 and
    b5737bb.
    
    There is still some work to be done to guarantee secure defaults and a
    smooth upgrade path for v0.12.x users. Before this work is finished, we
    want to be able to release new versions of v0.12.x. So instead of
    waiting for these changes to be ready to ship, revert them and integrate
    them when they're ready to be shipped.
    
    Conflicts:
    	src/node.cc
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25296
    Julien Gilli committed May 13, 2015
    Configuration menu
    Copy the full SHA
    72188d8 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2015

  1. 2015.05.13, Version 0.12.3 (Stable)

    * V8: update to 3.28.71.19
    
    * uv: upgrade to 1.5.0
    
    * npm: upgrade to 2.9.1
    
    * V8: don't busy loop in v8 cpu profiler thread (Mike Tunnicliffe)
    
    * V8: fix issue with let bindings in for loops (adamk)
    
    * debugger: don't spawn child process in remote mode (Jackson Tian)
    
    * net: do not set V4MAPPED on FreeBSD (Julien Gilli)
    
    * repl: make 'Unexpected token' errors recoverable (Julien Gilli)
    
    * src: backport ignore ENOTCONN on shutdown race (Ben Noordhuis)
    
    * src: fix backport of SIGINT crash fix on FreeBSD (Julien Gilli)
    Julien Gilli committed May 14, 2015
    Configuration menu
    Copy the full SHA
    03431c7 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'v0.12.3-release' into v0.12

    Julien Gilli committed May 14, 2015
    Configuration menu
    Copy the full SHA
    1ae392e View commit details
    Browse the repository at this point in the history
  3. Now working on 0.12.4

    Julien Gilli committed May 14, 2015
    Configuration menu
    Copy the full SHA
    d2395f7 View commit details
    Browse the repository at this point in the history
  4. test: delete simple/test-process-active-wraps

    This test currently fails when run on machines without
    IPv6 enabled. Futher it was delete in io.js under
    3143d73 as the test
    was known to have problems across platforms and
    releases.
    
    The existing test was hard to understand so I wrote
    a new version but then found exactly what was
    reported in the io.js pull request.  Behaviour varies
    across platforms such that writing a solid test would
    either be infeasible or test so little that
    it does not seem to make sense to keep it.
    
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25326
    mhdawson committed May 14, 2015
    Configuration menu
    Copy the full SHA
    97d4706 View commit details
    Browse the repository at this point in the history
  5. test: relax timing constraints for child process

    With additional load in the system, the child process which runs sleep
    command takes more time to run - typically slightly above 1 second,
    but above 2 seconds under stress.
    
    While the intent of the test is to test the functionality of spawnSync
    and the child process in general, in effect it is testing the system
    command sleep, and further, it's responsiveness.
    
    Since from the name the purpose of the test seems to be unrelated to
    the sleep behaviour, I believe a more meaningful assertion would be to
    see the time taken is more than 1 second.
    
    Reviewed-By: Michael Dawson <mhdawsonibm@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25291
    gireeshpunathil authored and mhdawson committed May 14, 2015
    Configuration menu
    Copy the full SHA
    ebbb356 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2015

  1. doc: Using ciphers with tls.connect()

    Refs #25270,#25271
    
    Reviewed-By: Michael Dawson <mhdawsonibm@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25325
    iamthechad authored and mhdawson committed May 21, 2015
    Configuration menu
    Copy the full SHA
    a294aee View commit details
    Browse the repository at this point in the history

Commits on May 22, 2015

  1. deps: revert v8 Array.prototype.values() removal

    The Node 0.12 line was initially released with a version
    of v8 that included Array.prototype.values(). In
    nodejs/node-v0.x-archive#18206, v8 was
    updated to a version that dropped support for values().
    https://codereview.chromium.org/647703003 removed this
    method because it causes problems with some versions of
    Outlook Web Access. This commit reverts the removal of
    Array.prototype.values().
    
    Original commit message:
    
    Revert "Version 3.28.71.17 (merged r24706, r24708)"
    
    This reverts commit 529541ecb58fd0d6df4dfbe41d01bff9ae21ff06.
    
    Conflicts:
    	src/version.cc
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25328
    cjihrig authored and Julien Gilli committed May 22, 2015
    Configuration menu
    Copy the full SHA
    6157697 View commit details
    Browse the repository at this point in the history
  2. test: Array.prototype.values() regression test

    This commit adds a regression test for
    nodejs/node-v0.x-archive#25324
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25328
    cjihrig authored and Julien Gilli committed May 22, 2015
    Configuration menu
    Copy the full SHA
    e23450f View commit details
    Browse the repository at this point in the history
  3. win: bring back xp/2k3 support

    Issue: nodejs/node-v0.x-archive#25348
    The gyp/project files don't explicitly specify a subsystem version,
    which results in the default being used. The default changed from
    VS 2010 to VS 2012 and later.
    
    Backport e8d0850 from io.js.
    Original commit message follows:
    
    Chrome still runs on Windows XP, so there is no reason that iojs
    couldn't.
    
    PR: nodejs/node#512
    (cherry picked from commit e8d0850)
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25367
    piscisaureus authored and Julien Gilli committed May 22, 2015
    Configuration menu
    Copy the full SHA
    3122052 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2015

  1. deps: upgrade to npm 2.10.1

    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25364
    iarna authored and Julien Gilli committed May 23, 2015
    Configuration menu
    Copy the full SHA
    202c18b View commit details
    Browse the repository at this point in the history
  2. 2015.05.22, Version 0.12.4 (Stable)

    * npm: upgrade to 2.10.1
    
    * V8: revert v8 Array.prototype.values() removal (cjihrig)
    
    * win: bring back xp/2k3 support (Bert Belder)
    Julien Gilli committed May 23, 2015
    Configuration menu
    Copy the full SHA
    0a604e9 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'v0.12.4-release' into v0.12

    Julien Gilli committed May 23, 2015
    Configuration menu
    Copy the full SHA
    1150bec View commit details
    Browse the repository at this point in the history
  4. Now working on 0.12.5

    Julien Gilli committed May 23, 2015
    Configuration menu
    Copy the full SHA
    85d670e View commit details
    Browse the repository at this point in the history

Commits on May 27, 2015

  1. add chakrashim and enable node.js on chakra

    "chakrashim" provides an implementation of the essential V8 APIs on
    top of the public API for Microsoft's Chakra JavaScript engine known
    as JSRT.
    
    Use a build switch "chakra" to build node with chakrashim.
    
    Add Visual Studio 2015 and ARM build support on Windows.
    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    a81bc37 View commit details
    Browse the repository at this point in the history
  2. debugger-agent: enable building with chakrashim

    fix gyp to use the right include dir when building with chakrashim.
    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    eebd14b View commit details
    Browse the repository at this point in the history
  3. openssl: enable building on ARM with chakrashim

    Skip "armcap.c" which does not build on Windows. Define __arm__.
    Add _MSC_VER fix to build on Dev14.
    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    e0a6847 View commit details
    Browse the repository at this point in the history
  4. npm: change node-gyp module to support chakrashim and ARM

    Change node-gyp to generate build files for building on chakrashim
    and ARM.
    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    3b6f874 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    79b4256 View commit details
    Browse the repository at this point in the history
  6. node-gyp: revert arm specific libs change

    agarwal-sandeep authored and Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    c29b7c4 View commit details
    Browse the repository at this point in the history
  7. npm: update node-gyp to recognize Visual Studio 2015

    Otherwise can not build native addons with Visual Studio 2015.
    
    Reviewed by: Sandeep Agarwal <Agarwal.Sandeep@microsoft.com>
    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    a33e41c View commit details
    Browse the repository at this point in the history
  8. readme: update README.md for building with chakra

    Add temporary fork description, instructions for building node
    with chakra, instructions for building native addon modules with
    chakra.
    
    Reviewed-By: munyirik, orangemocha, aruneshchandra
    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    b997654 View commit details
    Browse the repository at this point in the history
  9. chakrashim: callbackinfo holder and accessor signature

    Fix callback info Holder() partially. Signature check still stops at
    receiver itself as chakrashim does not support hidden prototype chain.
    
    Add AccessorSignature implementation. Refactored to share code with
    Signature.
    
    Fix FunctionTemplate::HasInstance to test instanceof. Checking one
    prototype is fragile.
    
    Move 3 internal files from chakrashim/include into chakrashim/src.
    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    f835c90 View commit details
    Browse the repository at this point in the history
  10. chakrashim: fix toString on cross context objects

    Object.prototype.toString called on a cross context object will either
    return [object Object] or [object Function].  This is because cross
    context object using the chakra shim is a proxy.  We need to replace
    the default Object.prototype.toString with our shimed version that
    will unwrap the proxy and call the target context's
    Object.prototype.toString.
    
    Also if the target cross context object is an array, create an array
    as the fakeTargetObject so that Array.isArray API return true correctly.
    
    This fixes some failing cross realm toString unittest in lodash.
    curtisman authored and Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    edf4297 View commit details
    Browse the repository at this point in the history
  11. chakrashim: clean up warning on std::map use

    Remove std::map use on the stack for setting up proxy traps. Use a
    static sized array instead. This avoid warning C4530 about unwind
    semantics not enabled in case of exception as well.
    curtisman authored and Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    8017bd8 View commit details
    Browse the repository at this point in the history
  12. chakrashim: per isolate message listeners and embedded data

    Message listeners and embeddedData should be per isolate
    curtisman authored and Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    823b0d4 View commit details
    Browse the repository at this point in the history
  13. chakrashim: reformat to pass cpplint

    Reformat all chakrashim code to pass cpplint. Mostly relayout code to
    fit into 80 columns. Including some small code refactorings, C-style
    cast to static_cast/reinterpret_cast, etc.
    
    Convert all chakrashim code to \n line ending.
    
    Fix a bug in ContextShim::SetAlignedPointerInEmbedderData where it set
    the data only when the vector grows.
    
    Fix a bug in IsolateShim where it didn't initialize embeddedData[].
    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    4961474 View commit details
    Browse the repository at this point in the history
  14. build: refactor engine switch and process.jsEngine

    These changes are mostly proposed by Alexis Campailla (orangemocha).
    
    build: Change the specific node_use_chakra flag to more general
    node_engine variable.
    
    common.gypi: Add node_engine_include_dir variable for clients that need
    v8 headers (debugger-agent.gyp and node-gyp addon.gypi). Define
    NODE_ENGINE symbol and NODE_ENGINE_V8/NODE_ENGINE_CHAKRA flags
    respectively, used in node.cc.
    
    node.cc: Add runtime property process.jsEngine and use everywhere js
    engine check is needed.
    
    chakrashim.gyp: add WIN10 requirement.
    
    js2c.py: replace "-chakra" flag to more general "--namespace=..."
    switch.
    
    node-gyp: add --node_engine switch, default to process.jsEngine and
    fall back to "v8".
    
    Reviewed-By: orangemocha
    PR-URL: [#15](https://github.com/Microsoft/node-msft/pull/15)
    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    8c648c8 View commit details
    Browse the repository at this point in the history
  15. readme: move windows_with_chakra section upfront

    Move README.md building on "Windows with Chakra" sections upfront.
    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    cc16437 View commit details
    Browse the repository at this point in the history
  16. readme: update project description

    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    f899770 View commit details
    Browse the repository at this point in the history
  17. chakrashim: vm proxy and other fixes

    Set global object template instance (sandbox) as global.__proto__ to
    support vm context. This makes existing sandbox properties available to
    vm.
    
    Clone existing non-configurable properties to fake target object when
    marshalling objects.
    
    Add {object -> proxy} map to fromContext to support marshalling to the
    same proxy. Resolves cross context === issue.
    
    Generalize Object.prototype.toString cross context shim to more types
    and prototype functions. Refactor code.
    
    Shim Object.prototype.toString and fix related code to support
    ObjectTemplate class name.
    
    chakra_shim.js: Remove patchTypedArrays and patchJsonParse which seems
    not needed and creating problems for lodash. Patch Error types to make
    node inspection more consistent.
    
    Reviewed by: curtisman
    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    b6716e5 View commit details
    Browse the repository at this point in the history
  18. readme: make it specific to node-chakra

    Add "How it works" section to explain more clearly how chakra shim
    works, so that visitors can understand better if/how this project fits
    their needs.
    
    Remove building for unix/mac instructions etc. to avoid confusing
    readers. Replace with a link to original repo.
    
    Fix #5, #10
    
    Reviewed-By: aruneshchandra
    Jianchun Xu committed May 27, 2015
    Configuration menu
    Copy the full SHA
    ac49c8c View commit details
    Browse the repository at this point in the history

Commits on May 29, 2015

  1. chakrashim: revive object during ClearWeak

    Typically a WeakCallback may call ClearWeak to revive the object. e.g.
    chakrashim's ClearWeak is followed by JsAddRef. Change the clearing
    code to optionally revive the object via setting a dummy
    ObjectBeforeCollect callback.
    
    Reviewed-by: curtisman
    Jianchun Xu committed May 29, 2015
    Configuration menu
    Copy the full SHA
    84c1551 View commit details
    Browse the repository at this point in the history
  2. chakrashim: fix cross context strictmode/bound function

    Strict mode functions use different throwAccessorError getter/setter
    functions for caller/arguments and arguments.callee. Collect them into
    an array in ContextShim, and do correct marshalling on them.
    
    To detect bound functions, replace Function.prototype.bind to add a TAG.
    
    A bound function's length is non-configurable and non-writable. Need to
    create a fakeTarget bound function of exactly the same length when
    marshalling. Add the logic in chakra_shim.js.
    
    Reviewed-by: curtisman
    Jianchun Xu committed May 29, 2015
    Configuration menu
    Copy the full SHA
    eee57b1 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2015

  1. test: running tls-server-verify clients in parallel

    OpenSSL s_client introduces some delay on Windows. With all clients
    running sequentially, this delay is big enough to break CI. This fix runs
    the clients in parallel (unless the test includes renegotiation),
    reducing the total run time.
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25368
    joaocgreis authored and orangemocha committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    1191e65 View commit details
    Browse the repository at this point in the history
  2. test: run tls-server-verify servers in parallel

    Different servers must use different ports. Since we can count only on
    common.PORT and common.PORT+1, run only 2 servers in parallel.
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25368
    joaocgreis authored and orangemocha committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    6d34505 View commit details
    Browse the repository at this point in the history
  3. test: improve console output of tls-server-verify

    When running in parallel, it is not easy to identify what server and
    client failed when the test fails. This adds identifiers to all lines
    of console output.
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25368
    joaocgreis authored and orangemocha committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    29bbb32 View commit details
    Browse the repository at this point in the history
  4. test,win: re-enable tls-server-verify in CI

    Now that the test is fixed, node-accept-pull-request should
    fail when the test fails.
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25368
    orangemocha committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    83b7c07 View commit details
    Browse the repository at this point in the history
  5. test: kill child in tls-server-verify for speed up

    For better performance of the test, the parent kills child processes
    so as not to wait them to be ended.
    
    (cherry picked from commit 833b23636045f7afc929196139021630a390391a)
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25368
    Shigeki Ohtsu authored and orangemocha committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    cb63d93 View commit details
    Browse the repository at this point in the history
  6. deps: add -no_rand_screen to openssl s_client

    In openssl s_client on Windows, RAND_screen() is invoked to initialize
    random state but it takes several seconds in each connection.
    This added -no_rand_screen to openssl s_client on Windows to skip
    RAND_screen() and gets a better performance in the unit test of
    test-tls-server-verify.
    Do not enable this except to use in the unit test.
    
    (cherry picked from commit 9f0f7c38e6df975dd39735d0e9ef968076369c74)
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25368
    Shigeki Ohtsu authored and orangemocha committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    fa4aa34 View commit details
    Browse the repository at this point in the history
  7. test: add -no_rand_screen for tls-server-verify

    This improves the performance of openssl s_client on Windows and
    gains several seconds to finish test-tls-server-verify.
    
    (cherry picked from commit 2ff517e0e410ea33ba5a3d289a82fc315d120e8e)
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25368
    Shigeki Ohtsu authored and orangemocha committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    1034982 View commit details
    Browse the repository at this point in the history
  8. win,gyp: fix visual studio auto version map

    The VS "auto" version map was missing 14.0. Also preferred version
    should be listed first. This problem is why we had to specify
    --msvs_version=2015 to node-gyp. With this fix VS 2015 is auto selected.
    
    Note: The newer version of related files on GitHub TooTallNate/node-gyp
    already have this.
    
    Reviewed-by: orangemocha
    Jianchun Xu committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    b2c6cdd View commit details
    Browse the repository at this point in the history
  9. readme: remove --msvs_version=2015 instructions

    With fix b2c6cdd, node-gyp will select
    VS2015 by default (if installed). Remove the distracting instructions.
    
    Reviewed-by: aruneshchandra
    Jianchun Xu committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    5c13a97 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2015

  1. chakrashim: display out of memory error message

    Chakra returns JsErrorOutOfMemory error code that shim ignores and doesn't
    propagate to the user. Added jsrt helper SetOutOfMemoryErrorIfExist
    that will check for the error code JsErrorOutOfMemory after function call,
    running and parsing script. If this error code was returned, then set the
    exception on the context which will be verified by subsequent try_catch.
    
    Reviewed-By: jianchun
    
    Fix #8
    kunalspathak committed Jun 9, 2015
    Configuration menu
    Copy the full SHA
    eb3d8ba View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2015

  1. chakrashim: fix some cross-context bugs

    Change ContextShim::RegisterCrossContextObject() to use a finalizer
    instead of JsSetObjectBeforeCollectCallback. The later callback does
    not guarantee object collection. The object can be subsequently revived
    as a result of other objects being revived. When this happens we would
    clear the registered cross-context mapping info prematurely.
    
    Change UnwrapIfCrossContext() to use JsGetOwnPropertyDescriptor to read
    CrossContextTargetSymbol property. Original JsGetProperty could read
    from a prototype object and incorrectly unwraps the prototype object
    instead of the current object.
    
    Change MarshalObjectToContext() to re-enter correct fromContext when the
    object was cross-context and unwrapped.
    
    Change GetOwnPropertyDescriptorCallback() to return "undefined" instead
    of "false" for missing cases. Returning "false" is wrong.
    
    Reviewed-by: kunalspathak, curtisman
    Jianchun Xu committed Jun 10, 2015
    Configuration menu
    Copy the full SHA
    8633d94 View commit details
    Browse the repository at this point in the history
  2. chakrashim: use proxy to patch error types

    Previous patchErrorTypes() replaces builtin error types with custom
    wrapper functions. However that breaks Error.stackTraceLimit. Setting
    that property would be setting on the wrapper function, not builtin
    Error function, thus has no effect on runtime. Replaced with proxies.
    
    Reviewed-by: kunalspathak
    Jianchun Xu committed Jun 10, 2015
    Configuration menu
    Copy the full SHA
    bbb9d5b View commit details
    Browse the repository at this point in the history
  3. V8: avoid deadlock when profiling is active

    A deadlock happens when sampler initiated by SIGPROF tries to lock
    the thread and the thread is already locked by the same thread. As
    a result, other thread involved in sampling process hangs. The
    patch adds a check for thread lock before continuing sampler
    operation.
    
    The fix has been tested on a sample app under load with and without
    profiling turned on.
    
    Fixes issue #14576 and specifically the duplicate issue #25295
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25309
    dmelikyan authored and Julien Gilli committed Jun 10, 2015
    Configuration menu
    Copy the full SHA
    b81a643 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2015

  1. deps: upgrade to npm 2.11.1

    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25482
    zkat authored and Julien Gilli committed Jun 11, 2015
    Configuration menu
    Copy the full SHA
    69967c6 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2015

  1. repl,chakra: make 'Unterminated ...' errors recoverable

    This change is parallel to 101e103 (repl: make 'Unexpected token' errors
    recoverable) which was checked in node.js v0.12.3. Chakra has
    'Unterminated string constant' and 'Unterminated comment' error messages.
    Make both recoverable to trigger node repl multi-line behavior.
    
    Reviewed-by: kunalspathak
    Jianchun Xu committed Jun 12, 2015
    Configuration menu
    Copy the full SHA
    6975d93 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2015

  1. chakrashim: skip setweak/clearweak work when disposing runtime

    This change works around a chakra bug. JsSetObjectBeforeCollectCallback
    during disposing runtime conflicts with chakra background GC. Skip the
    call because all objects are to be collected if we are disposing the
    runtime.
    
    This fixes intermittent crash in
    simple\test-vm-create-and-run-in-context.js
    
    Reviewed-by: kunalspathak
    Jianchun Xu committed Jun 15, 2015
    Configuration menu
    Copy the full SHA
    2b94c5d View commit details
    Browse the repository at this point in the history
  2. win,gyp: quote action command

    gyp MSVS generator did not quote action commands. This generates invalid
    commands if action commands contain spaces.
    
    Fix #1
    Reviewed-by: orangemocha
    Jianchun Xu committed Jun 15, 2015
    Configuration menu
    Copy the full SHA
    f5ec697 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2015

  1. deps: update libuv to version 1.6.1

    Fixes: nodejs/node-v0.x-archive#9310
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25475
    saghul authored and Julien Gilli committed Jun 16, 2015
    Configuration menu
    Copy the full SHA
    50f9615 View commit details
    Browse the repository at this point in the history
  2. build: fix use of strict aliasing

    The -fno-strict-aliasing flag was added to fix compilation warnings when
    building Node.js with GCC <= 4.4
    
    PR: #25141
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25475
    trevnorris authored and Julien Gilli committed Jun 16, 2015
    Configuration menu
    Copy the full SHA
    097607c View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2015

  1. timers: fix timeout when added in timer's callback

    When a timer is added in another timer's callback, its underlying timer
    handle will be started with a timeout that is actually incorrect.
    
    The reason is that  the value that represents the current time is not
    updated between the time the original callback is called and the time
    the added timer is processed by timers.listOnTimeout. That leads the
    logic in timers.listOnTimeout to do an incorrect computation that makes
    the added timer fire with a timeout of scheduledTimeout +
    timeSpentInCallback.
    
    This change fixes that and make timers scheduled within other timers'
    callbacks fire as expected.
    
    Fixes #9333 and #15447.
    
    PR: #17203
    PR-URL: nodejs/node-v0.x-archive#17203
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Julien Gilli committed Jun 17, 2015
    Configuration menu
    Copy the full SHA
    d38e865 View commit details
    Browse the repository at this point in the history
  2. deps: upgrade to openssl-1.0.1o

    This just replaces all sources of openssl-1.0.1o.tar.gz into
    deps/openssl/openssl.
    
    PR: #25523
    PR-URL: nodejs/node-v0.x-archive#25523
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    Shigeki Ohtsu authored and Julien Gilli committed Jun 17, 2015
    Configuration menu
    Copy the full SHA
    456c22f View commit details
    Browse the repository at this point in the history
  3. deps: replace all headers in openssl

    Change all openssl/include/openssl/*.h to include resolved symbolic
    links and openssl/crypto/opensslconf.h to refer config/opensslconf.h.
    
    PR: #25523
    PR-URL: nodejs/node-v0.x-archive#25523
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    Shigeki Ohtsu authored and Julien Gilli committed Jun 17, 2015
    Configuration menu
    Copy the full SHA
    ee95454 View commit details
    Browse the repository at this point in the history
  4. deps: separate sha256/sha512-x86_64.pl for openssl

    sha256-x86_64.pl does not exist in the origin openssl distribution. It
    was copied from sha512-x86_64.pl and both sha256/sha512 scripts were
    modified so as to generates only one asm file specified as its key
    hash length.
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    
    PR: #25523
    PR-URL: nodejs/node-v0.x-archive#25523
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    Shigeki Ohtsu authored and Julien Gilli committed Jun 17, 2015
    Configuration menu
    Copy the full SHA
    3937563 View commit details
    Browse the repository at this point in the history
  5. deps: fix openssl assembly error on ia32 win32

    `x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and
    perhaps others) are requiring .686 .
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    
    PR: #25523
    PR-URL: nodejs/node-v0.x-archive#25523
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    indutny authored and Julien Gilli committed Jun 17, 2015
    Configuration menu
    Copy the full SHA
    81e30a1 View commit details
    Browse the repository at this point in the history
  6. openssl: fix keypress requirement in apps on win32

    reapply b910613
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    
    PR: #25523
    PR-URL: nodejs/node-v0.x-archive#25523
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    Shigeki Ohtsu authored and Julien Gilli committed Jun 17, 2015
    Configuration menu
    Copy the full SHA
    9463cfa View commit details
    Browse the repository at this point in the history
  7. test: remove 512 bits test in test-tls-dhe.js

    Test of 512 bits key is failed after upgrading openssl-1.0.1o due to
    its limit of 768 bits key size. Remove it and start from 1024 bits
    test.
    
    Reviewed-By: Michael Dawson <mdawson@devrus.com>
    PR-URL: nodejs/node-v0.x-archive#25533
    Shigeki Ohtsu authored and mhdawson committed Jun 17, 2015
    Configuration menu
    Copy the full SHA
    139dbe8 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2015

  1. deps: upgrade to npm 2.11.2

    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25517
    iarna authored and Julien Gilli committed Jun 18, 2015
    Configuration menu
    Copy the full SHA
    20d8db1 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2015

  1. tls: revert disable RC4 and cipher lists changes

    This reverts commit 67d9a56.
    
    This commit actually reverts both
    67d9a56 and
    02a549e (both related to ciphers list
    changes). It does it in one commit because reverting
    02a549e results in an empty commit.
    
    These changes are not yet ready to be released, and before they are we
    want to be able to publish new releases. We're reverting them so that we
    can submit a new PR that will contain all these changes plus what's
    necessary to be able to land them properly.
    
    Conflicts:
    	src/node.cc
    
    PR: #25511
    PR-URL: nodejs/node-v0.x-archive#25511
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    Julien Gilli committed Jun 19, 2015
    Configuration menu
    Copy the full SHA
    dcb7ef2 View commit details
    Browse the repository at this point in the history
  2. 2015.06.18, Version 0.10.39 (Maintenance)

    * openssl: upgrade to 1.0.1o (Addressing multiple CVEs)
    
    * install: fix source path for openssl headers (Oguz Bastemur)
    
    * install: make sure opensslconf.h is overwritten (Oguz Bastemur)
    
    * timers: fix timeout when added in timer's callback (Julien Gilli)
    
    * windows: broadcast WM_SETTINGCHANGE after install (Mathias Küsel)
    Julien Gilli committed Jun 19, 2015
    Configuration menu
    Copy the full SHA
    615a35c View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2015

  1. Merge branch 'v0.10.39-release' into v0.10

    Julien Gilli committed Jun 22, 2015
    Configuration menu
    Copy the full SHA
    3a1d4b7 View commit details
    Browse the repository at this point in the history
  2. Now working on 0.10.40

    Julien Gilli committed Jun 22, 2015
    Configuration menu
    Copy the full SHA
    6f8400a View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'upstream/v0.10' into v0.12

    Conflicts:
    	AUTHORS
    	ChangeLog
    	lib/timers.js
    	src/node_version.h
    	test/common.js
    Julien Gilli committed Jun 22, 2015
    Configuration menu
    Copy the full SHA
    f50c37d View commit details
    Browse the repository at this point in the history
  4. 2015.06.22, Version 0.12.5 (Stable)

    * openssl: upgrade to 1.0.1o (Addressing multiple CVEs)
    
    * npm: upgrade to 2.11.2
    
    * uv: upgrade to 1.6.1
    
    * V8: avoid deadlock when profiling is active (Dmitri Melikyan)
    
    * install: fix source path for openssl headers (Oguz Bastemur)
    
    * install: make sure opensslconf.h is overwritten (Oguz Bastemur)
    
    * timers: fix timeout when added in timer's callback (Julien Gilli)
    
    * windows: broadcast WM_SETTINGCHANGE after install (Mathias Küsel)
    Julien Gilli committed Jun 22, 2015
    Configuration menu
    Copy the full SHA
    61c6abf View commit details
    Browse the repository at this point in the history
  5. Merge branch 'v0.12.5-release' into v0.12

    Julien Gilli committed Jun 22, 2015
    Configuration menu
    Copy the full SHA
    e359e01 View commit details
    Browse the repository at this point in the history
  6. Now working on 0.12.6

    Julien Gilli committed Jun 22, 2015
    Configuration menu
    Copy the full SHA
    c3e02ae View commit details
    Browse the repository at this point in the history
  7. chakrashim: revert error types proxy change

    Using Proxy to wrap Error types run into some regressions. e.g.,
    toString() call fails. Revert that change and add special handling for
    toString and stackTraceLimit.
    
    Reviewed-by: kunalspathak
    Jianchun Xu committed Jun 22, 2015
    Configuration menu
    Copy the full SHA
    9d2009b View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2015

  1. gyp: add msvs_windows_target_platform_version support

    VS2015 requires WindowsTargetPlatformVersion being specified otherwise
    it falls back to WindowsSdk 8.1. Add gyp support to populate VS global
    property WindowsTargetPlatformVersion when gyp
    msvs_windows_target_platform_version property is specified. If it is a
    version number, use as is. Otherwise use it as a key to query the
    registry and find the latest installed sdk.
    
    Reviewed-by: munyirik
    Jianchun Xu committed Jun 24, 2015
    Configuration menu
    Copy the full SHA
    a59b63f View commit details
    Browse the repository at this point in the history
  2. chakrashim: specify msvs_windows_target_platform_version

    Specify msvs_windows_target_platform_version to be v10.0 for chakrashim,
    node, and also addon modules built with node-gyp when node_engine is
    chakra.
    
    Reviewed-by: munyirik
    Jianchun Xu committed Jun 24, 2015
    Configuration menu
    Copy the full SHA
    5a83352 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2015

  1. chakrashim: fix Script::Compile AV

    Add a null check on script origin. Fix crash in test-vm-debug-context.
    Tweak patchErrorTypes (chakra_shim.js) to avoid newType appear in
    error.stack.
    
    Reviewed-by: curtisman
    Jianchun Xu committed Jun 25, 2015
    Configuration menu
    Copy the full SHA
    8e1e10a View commit details
    Browse the repository at this point in the history
  2. gyp: add msvs_use_library_dependency_inputs support

    Generate <UseLibraryDependencyInputs>true</UseLibraryDependencyInputs>
    in ProjectReference if 'msvs_use_library_dependency_inputs': 1 is
    specified.
    
    Reviewed-by: curtisman
    Jianchun Xu committed Jun 25, 2015
    Configuration menu
    Copy the full SHA
    2245d52 View commit details
    Browse the repository at this point in the history
  3. chakrashim: add gyp flag msvs_use_library_dependency_inputs

    This flag turns on UseLibraryDependencyInputs in ProjectReference. Without
    this, some exports are unavailable in node.lib/node.exe because the .obj
    files containing those exports happen to have no references and are not
    linked into node.lib/node.exe.
    
    Reviewed-by: curtisman
    Jianchun Xu committed Jun 25, 2015
    Configuration menu
    Copy the full SHA
    9786cf5 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2015

  1. deps: upgrade to npm 2.11.3

    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25545
    othiym23 authored and Julien Gilli committed Jun 26, 2015
    Configuration menu
    Copy the full SHA
    8917e43 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2015

  1. src: fix signed/unsigned comparison warning

    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25588
    bnoordhuis authored and Colin Ihrig committed Jun 29, 2015
    Configuration menu
    Copy the full SHA
    5fc4fb1 View commit details
    Browse the repository at this point in the history
  2. v8: back-port JitCodeEvent patch from upstream

    Original commit log follows:
    
        Meaningful name for builtins in JitCodeEvent API.
    
        Report builtins by name (e.g. "Builtin:ArgumentsAdaptorTrampoline")
        instead of labeling everything "Builtin:A builtin from the snapshot"
    
        Review URL: https://codereview.chromium.org/1216833002
    
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25588
    bnoordhuis authored and Colin Ihrig committed Jun 29, 2015
    Configuration menu
    Copy the full SHA
    5a60e0d View commit details
    Browse the repository at this point in the history
  3. v8: cherry-pick JitCodeEvent patch from upstream

    Original commit log follows:
    
        Meaningful name for builtins in JitCodeEvent API.
    
        Report builtins by name (e.g. "Builtin:ArgumentsAdaptorTrampoline")
        instead of labeling everything "Builtin:A builtin from the snapshot"
    
        Review URL: https://codereview.chromium.org/1216833002
    
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    PR-URL: nodejs/node-v0.x-archive#25589
    bnoordhuis authored and Colin Ihrig committed Jun 29, 2015
    Configuration menu
    Copy the full SHA
    88a27a9 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2015

  1. V8: do not use wide reads in CopyCharsUnsigned

    Fixes segfault in 32bit SmartOS when built with GCC 4.9.
    
    This is the first of two backports from upstream v8:
    1. v8/v8@90dc5c9
    2. v8/v8@7cb82a7
    
    Original commit message:
    
      Do not use wide reads in CopyCharsUnsigned.
    
      R=jkummerow@chromium.org
      BUG=chromium:412967
      LOG=Y
    
      Review URL: https://codereview.chromium.org/566583002
    
      git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23876 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    
    V8 issue: https://code.google.com/p/chromium/issues/detail?id=412967
    
    Fixes #25281
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25556
    hashseed authored and joaocgreis committed Jul 1, 2015
    Configuration menu
    Copy the full SHA
    48b0ca2 View commit details
    Browse the repository at this point in the history
  2. V8: remove V8_HOST_CAN_READ_UNALIGNED and its uses

    Fixes segfault in 32bit SmartOS when built with GCC 4.9.
    
    This is the second of two backports from upstream v8:
    1. v8/v8@90dc5c9
    2. v8/v8@7cb82a7
    
    Original commit message:
    
      Reland "Remove V8_HOST_CAN_READ_UNALIGNED and its uses."
    
      BUG=chromium:412967
      LOG=N
      R=jkummerow@chromium.org
    
      Review URL: https://codereview.chromium.org/571903002
    
      git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23938 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    
    V8 issue: https://code.google.com/p/chromium/issues/detail?id=412967
    
    Fixes #25281
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25556
    hashseed authored and joaocgreis committed Jul 1, 2015
    Configuration menu
    Copy the full SHA
    13ea50e View commit details
    Browse the repository at this point in the history
  3. win,msi: create npm folder in AppData directory

    Create the empty npm folder in Roaming\Appdata so that non-Administrator
    users have a place to store global packages. This fixes the error Error:
    ENOENT, stat error that occurs when a user tries to run the npm install
    <package> command.
    
    Bug: nodejs/node-v0.x-archive#8141
    PR: nodejs/node-v0.x-archive#8838
    Reviewed-by: Bert Belder <bertbelder@gmail.com>
    Steven Rockarts authored and piscisaureus committed Jul 1, 2015
    Configuration menu
    Copy the full SHA
    18d413d View commit details
    Browse the repository at this point in the history
  4. win,msi: create npm folder in AppData directory

    Create the empty npm folder in Roaming\Appdata so that non-Administrator
    users have a place to store global packages. This fixes the error Error:
    ENOENT, stat error that occurs when a user tries to run the npm install
    <package> command.
    
    Bug: nodejs/node-v0.x-archive#8141
    PR: nodejs/node-v0.x-archive#8838
    Reviewed-by: Bert Belder <bertbelder@gmail.com>
    Steven Rockarts authored and piscisaureus committed Jul 1, 2015
    Configuration menu
    Copy the full SHA
    4ffbce4 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2015

  1. Merge 'node/v0.12.5-release' into ch0.12

    Conflicts:
    	deps/npm/node_modules/node-gyp/addon.gypi
    	deps/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py
    	deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py
    Jianchun Xu committed Jul 2, 2015
    Configuration menu
    Copy the full SHA
    d735d20 View commit details
    Browse the repository at this point in the history
  2. test: mark microtask-queue-run(-domain) as flaky

    test-microtask-queue-run and test-microtask-queue-run-domain fail very
    rarely at least on linux x64, windows 2012r2 x64 and smartos x86
    
    Reviewed-By: Alexis Campailla <alexis@janeasystems.com>
    PR-URL: nodejs/node-v0.x-archive#25606
    joaocgreis committed Jul 2, 2015
    Configuration menu
    Copy the full SHA
    8294f32 View commit details
    Browse the repository at this point in the history
  3. test: Fix test-npm Makefile target for npm 2.8.4

    Changes in npm 2.8.4 broke the test-npm target.  This change
    updates to allow the tests to run once again
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: nodejs/node-v0.x-archive#25294
    mhdawson committed Jul 2, 2015
    Configuration menu
    Copy the full SHA
    dbda13a View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2015

  1. deps: fix out-of-band write in utf8 decoder

    Originally reported by: Kris Reeves <kris.re@bbhmedia.com>
    
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    indutny authored and Julien Gilli committed Jul 4, 2015
    Configuration menu
    Copy the full SHA
    78b0e30 View commit details
    Browse the repository at this point in the history
  2. 2015.07.03, Version 0.12.6 (Stable)

    * V8: fix out-of-band write in utf8 decoder
    Julien Gilli committed Jul 4, 2015
    Configuration menu
    Copy the full SHA
    0be9a77 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'v0.12.6-release' into v0.12

    Julien Gilli committed Jul 4, 2015
    Configuration menu
    Copy the full SHA
    9d3288c View commit details
    Browse the repository at this point in the history
  4. Now working on 0.12.7

    Julien Gilli committed Jul 4, 2015
    Configuration menu
    Copy the full SHA
    6b489e6 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2015

  1. Configuration menu
    Copy the full SHA
    fd8f8f7 View commit details
    Browse the repository at this point in the history
  2. deps: upgrade openssl sources to 1.0.1p

    This just replaces all sources of openssl-1.0.1p.tar.gz
    into deps/openssl/openssl.
    
    PR: #25654
    PR-URL: nodejs/node-v0.x-archive#25654
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    Shigeki Ohtsu authored and Julien Gilli committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    0cf9f27 View commit details
    Browse the repository at this point in the history
  3. deps: copy all openssl header files to include dir

    All symlink files in `deps/openssl/openssl/include/openssl/`
     are removed and replaced with real header files to avoid
    issues on Windows.
    
    PR: #25654
    PR-URL: nodejs/node-v0.x-archive#25654
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    Shigeki Ohtsu authored and Julien Gilli committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    8277822 View commit details
    Browse the repository at this point in the history
  4. deps: separate sha256/sha512-x86_64.pl for openssl

    sha256-x86_64.pl does not exist in the origin openssl distribution. It
    was copied from sha512-x86_64.pl and both sha256/sha512 scripts were
    modified so as to generates only one asm file specified as its key
    hash length.
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    
    PR: #25523
    PR-URL: nodejs/node-v0.x-archive#25523
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    
    PR: #25654
    PR-URL: nodejs/node-v0.x-archive#25654
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    Shigeki Ohtsu authored and Julien Gilli committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    984e7f9 View commit details
    Browse the repository at this point in the history
  5. deps: fix openssl assembly error on ia32 win32

    `x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and
    perhaps others) are requiring .686 .
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    
    PR: #25523
    PR-URL: nodejs/node-v0.x-archive#25523
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    
    PR: #25654
    PR-URL: nodejs/node-v0.x-archive#25654
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    indutny authored and Julien Gilli committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    7ad5938 View commit details
    Browse the repository at this point in the history
  6. openssl: fix keypress requirement in apps on win32

    reapply b910613
    
    PR: #9451
    PR-URL: nodejs/node-v0.x-archive#9451
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    
    PR: #25523
    PR-URL: nodejs/node-v0.x-archive#25523
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    
    PR: #25654
    PR-URL: nodejs/node-v0.x-archive#25654
    Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
    Shigeki Ohtsu authored and Julien Gilli committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    c5d7b31 View commit details
    Browse the repository at this point in the history
  7. 2015.07.09, Version 0.10.40 (Maintenance)

    * openssl: upgrade to 1.0.1p
    
    * V8: back-port JitCodeEvent patch from upstream (Ben Noordhuis)
    
    * win,msi: create npm folder in AppData directory (Steven Rockarts)
    Julien Gilli committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    0439a28 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'v0.10.40-release' into v0.10

    Julien Gilli committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    26bb1ad View commit details
    Browse the repository at this point in the history
  9. Now working on 0.10.41

    Julien Gilli committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    e5aaa34 View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'upstream/v0.10' into v0.12

    Conflicts:
    	AUTHORS
    	ChangeLog
    	deps/v8/src/log.cc
    	src/node_version.h
    Julien Gilli committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    9c5e9fc View commit details
    Browse the repository at this point in the history
  11. 2015.07.09, Version 0.12.7 (Stable)

    * openssl: upgrade to 1.0.1p (CVE-2015-1793)
    
    * npm: upgrade to 2.11.3
    
    * V8: cherry-pick JitCodeEvent patch from upstream (Ben Noordhuis)
    
    * win,msi: create npm folder in AppData directory (Steven Rockarts)
    Julien Gilli committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    d3492aa View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2015

  1. chakrashim: fix Value::IsObject()

    IsObject() should return true for any non-primary types. Fixes
    simple\test-vm-create-context-arg.js
    
    Refactor other type check code a bit.
    
    Update AUTHORS.
    
    Reviewed-by: @kunalspathak
    Jianchun Xu committed Jul 16, 2015
    Configuration menu
    Copy the full SHA
    f149b1b View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2015

  1. chakrashim: some performance improvements

    IsTypeOf(): Replace built-in type check by name with by cached global
    constructor function. This gets rid of repeated propertyId lookup and
    getting property of global object.
    
    Optimize likely int/double/bool conversions: In Value::Int32Value(), try
    JsNumberToInt directly before performing JS value conversion, since the
    underlying value is very likely an int already. Similarly for
    Uint32Value(), BoolValue().
    
    IsExternal(): Call JsHasProperty with a private symbol. Remove
    IsObject() and propertyId lookup calls.
    
    HandleScope: Use stack to save small number of refs. Skips slow JS array
    code path for many scenarios.
    
    Reviewed-by: @kunalspathak, @Cellule
    Jianchun Xu committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    d8908f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    655c756 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2015

  1. chakrashim: handle Symbol as property name

    Also remove some unused code, cache a few propertyIds, refactor a few code
    for better perf.
    
    Reviewed-by: @kunalspathak
    
    Conflicts:
    	deps/chakrashim/include/v8.h
    	deps/chakrashim/src/jsrtcachedpropertyidref.inc
    	deps/chakrashim/src/jsrtutils.cc
    	deps/chakrashim/src/v8object.cc
    Jianchun Xu committed Aug 13, 2015
    Configuration menu
    Copy the full SHA
    4b011dd View commit details
    Browse the repository at this point in the history
  2. chakrashim: some v8.h shim cleanup

    Add apis needed by next+1.
    Add v8config.h to simplify future v8.h alignment.
    Correct EXPORT to support dllimport.
    Make Handle<> alias of Local<> as in latest official v8.h.
    
    Reviewed-by: @kunalspathak
    
    Conflicts:
    	deps/chakrashim/include/v8.h
    	deps/chakrashim/src/v8arraybuffer.cc
    	deps/chakrashim/src/v8function.cc
    	deps/chakrashim/src/v8object.cc
    	deps/chakrashim/src/v8typedarray.cc
    Jianchun Xu committed Aug 13, 2015
    Configuration menu
    Copy the full SHA
    9715824 View commit details
    Browse the repository at this point in the history
  3. chakrashim: add missing Exception methods

    Latest nan.h uses the missing members and results in build error.
    
    Reviewd-By: @kunalspathak
    Jianchun Xu committed Aug 13, 2015
    Configuration menu
    Copy the full SHA
    6f37d61 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2015

  1. Configuration menu
    Copy the full SHA
    989e55a View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2015

  1. chakrashim: align Local/Persistent with official v8.h

    Update Local<> and Persistent<> definitions to align with
    official v8.h. They no longer share a common base class.
    
    Refactor v8::chakrashim::InternalMethods to v8::Utils.
    
    Reviewed-by: @kunalspathak
    
    Conflicts:
    	deps/chakrashim/include/v8.h
    	deps/chakrashim/src/jsrtcontextshim.cc
    	deps/chakrashim/src/jsrtcontextshim.h
    	deps/chakrashim/src/v8arraybuffer.cc
    	deps/chakrashim/src/v8function.cc
    	deps/chakrashim/src/v8functiontemplate.cc
    	deps/chakrashim/src/v8object.cc
    	deps/chakrashim/src/v8script.cc
    	deps/chakrashim/src/v8typedarray.cc
    Jianchun Xu committed Aug 26, 2015
    Configuration menu
    Copy the full SHA
    0d8b594 View commit details
    Browse the repository at this point in the history
  2. chakrashim: do not pass nullptr to JsCallFunction

    We use nullptr as "this" arg to JsCallFunction/JsConstructObject
    at multiple places. That doesn't seem to be supported. Changed
    that to use "undefined" and refactor them to call common helper
    functions.
    
    Reviewed-by: @kunalspathak
    
    Conflicts:
    	deps/chakrashim/src/jsrtutils.h
    Jianchun Xu committed Aug 26, 2015
    Configuration menu
    Copy the full SHA
    4a4483c View commit details
    Browse the repository at this point in the history
  3. chakrashim: remove SAL annotations

    SAL annotations were used inconsistently in a few files. Remove
    them all instead.
    
    Reviewed-by: @kunalspathak
    
    Conflicts:
    	deps/chakrashim/src/jsrtisolateshim.cc
    	deps/chakrashim/src/jsrtutils.cc
    	deps/chakrashim/src/jsrtutils.h
    	deps/chakrashim/src/v8arraybuffer.cc
    Jianchun Xu committed Aug 26, 2015
    Configuration menu
    Copy the full SHA
    d5b5a82 View commit details
    Browse the repository at this point in the history
  4. chakrashim: Add support for --use-strict flag

    Added support for --use-strict by prepending 'use strict'; as
    first line of script text. This might add a slight perf impact because
    of an extra check of isStrictMode before call to JsParseScript.
    This fix 3 unit test cases, but 2 of them will fail because of error message
    difference.
    
    Reviewed-By: @jianchun
    
    Conflicts:
    	deps/chakrashim/src/jsrtutils.cc
    	deps/chakrashim/src/jsrtutils.h
    	deps/chakrashim/src/v8script.cc
    	deps/chakrashim/src/v8v8.cc
    kunalspathak authored and Jianchun Xu committed Aug 26, 2015
    Configuration menu
    Copy the full SHA
    658637a View commit details
    Browse the repository at this point in the history
  5. chakrashim: some minor shim cleanups

    * Deprecate HandleScope::close.
    * Deprecate EXPORT (use V8_EXPORT).
    * Cache hasOwnProperty and a few more other propertyIds.
    * Change StackTrace/StackFrame to be more v8-like.
    * Add internal methods Number::From/Integer::From etc. for perf.
    * Fix some remaining JsCallFunction nullptr arg issue.
    
    Reviewed-by: @kunalspathak
    Jianchun Xu committed Aug 26, 2015
    Configuration menu
    Copy the full SHA
    641d839 View commit details
    Browse the repository at this point in the history
  6. chakrashim: Code refactoring for cached propertyIds

    Replace string constants with equivalent cached propertyIds.
    
    Reviewed-By @jianchun
    kunalspathak authored and Jianchun Xu committed Aug 26, 2015
    Configuration menu
    Copy the full SHA
    c5d933c View commit details
    Browse the repository at this point in the history
  7. chakrashim: minor cleanup

    A few typos/comments/todos/reformats.
    
    Reviewed-by: @kunalspathak
    Jianchun Xu committed Aug 26, 2015
    Configuration menu
    Copy the full SHA
    d730da2 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2015

  1. chakrashim: revert StackFrame method renaming

    I recently renamed 2 StackFrame.prototype methods in chakra_shim.js
    to be more consistent with its native API. That caused a regression.
    Those JS methods are used by 3rd party package. Revert the renaming.
    
    Reviewed-by: @kunalspathak @munyirik
    Jianchun Xu committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    701c624 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2015

  1. chakrashim: fix TryCatch exception reporting

    Should report exception if no caller TryCatch.
    
    Reviewed-by: @kunalspathak
    Jianchun Xu committed Aug 28, 2015
    Configuration menu
    Copy the full SHA
    142c482 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2015

  1. chakrashim: fix Object::SetInternalField

    Object::SetInternalField takes a Handle value and must keep the
    value alive as long as it resides in the internal fields. Call
    JsAddRef on Handle values. Call JsRelease at Reset Handle values.
    
    To also support Object::SetAlignedPointerInInternalField, tag
    the least significant bit of Handle value (JsValueRef) with 1.
    
    Reviewed-by: @kunalspathak @munyirik
    Jianchun Xu committed Sep 4, 2015
    Configuration menu
    Copy the full SHA
    cc35293 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2015

  1. Configuration menu
    Copy the full SHA
    c3ef98e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b790c9 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2015

  1. chakrashim: fix Object::SetInternalField …

    When use SetInternalField with Interger will assert:
    
    // assert this
    object->SetInternalField(0, v8::Integer::New(env->isolate(), 6));
    object->GetInternalField(0)->IsInt32();
    
    Becasue ObjectData::FieldValue will change ref pointer with a mask , and then will not revert to a normal int value.
    
    Soloution:
    Add a bool flag to ObjectData::FieldValue to demined a FieldValue is JsValueRef or not.
    mybios committed Sep 11, 2015
    Configuration menu
    Copy the full SHA
    9c0972c View commit details
    Browse the repository at this point in the history
  2. chakrashim: add implement v8::FunctionTemplate::Inherit

    I was implement v8::FunctionTemplate::Inherit and use in my game engine.
    mybios authored and Jianchun Xu committed Sep 11, 2015
    Configuration menu
    Copy the full SHA
    e6a67c2 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2015

  1. chakrashim: fix index/toInteger int overflow

    Fix JsIntToNumber calls which may overflow when casting to int.
    
    Reviewed-by: @kunalspathak
    Jianchun Xu committed Sep 12, 2015
    Configuration menu
    Copy the full SHA
    fd5ca24 View commit details
    Browse the repository at this point in the history
  2. chakrashim: remove supportsOverrideToString

    "supportsOverrideToString" was originally added to make old
    FastBuffer work. Buffer has long changed implementation. This is
    no longer used.
    
    Fix #80
    
    Reviewed-by: @kunalspathak
    Jianchun Xu committed Sep 12, 2015
    Configuration menu
    Copy the full SHA
    f7494bb View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2015

  1. chakrashim: update AUTHORS, cpplint

    Reviewed-by: @kunalspathak
    Jianchun Xu committed Sep 14, 2015
    Configuration menu
    Copy the full SHA
    5359125 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2015

  1. chakrashim: Implemented 2 new nan.h APIs

    Added below 2 new nan.h APIs of version 2.12
    - SetCallHandler
    - SetCallAsFunctionHandler
    
    Reviewed-By: @munyirik
    kunalspathak committed Oct 23, 2015
    Configuration menu
    Copy the full SHA
    9bb5607 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2015

  1. Update IoT-Readme.md

    Fixed the install windows link to a more specific location
    aruneshchandra committed Dec 3, 2015
    Configuration menu
    Copy the full SHA
    1c586f3 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2015

  1. Show JS exception details for FATAL ERROR message

    If ChakraShim fails to initialize, there is no clear information on what is going on. This happened with the latest Windows update.
    
    Suggested change shows the details of JS exception (if any)
    obastemur committed Dec 6, 2015
    Configuration menu
    Copy the full SHA
    5bee568 View commit details
    Browse the repository at this point in the history