Commits on Feb 4, 2015

  1. deps: log V8 version in profiler log file

    Patch from issue 800293002 authored by ben@strongloop.com
    
    Review URL: https://codereview.chromium.org/806143002
    
    PR-URL: #9043
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
    bnoordhuis authored and trevnorris committed Feb 4, 2015

Commits on Feb 5, 2015

  1. mdb_v8: update for v0.12

    Bugs fixed:
    
    * v0.12 and later: in-object properties not printing correctly.
    * 64-bit: not printing external strings correctly (offset was hardcoded
    for 32-bit). This would happen with "::jsstack -vn0" because the
    script "node.js" wasn't printed correctly, at least with 0.10 core
    files.
    * 64-bit: printing JS source (via "::jsstack -v") emits errors and shows
    the wrong code.
    * Several build warnings.
    * Two-byte strings are unnecessarily truncated.
    * Could print friendlier note when given obviously bogus function token
    positions.
    
    New features:
    
    * ::jsstack prints much cleaner output by default.
    * ::jsprint keys are now quoted.
    * ::jsstack -v includes "this" value for each function on the stack.
    * ::jsstack -v includes more details about each argument (constructor
    names for each object).
    * new commands: ::jsconstructor, ::jsfunctions, ::jssource, ::nodebuffer
    and ::v8internal.
    * ::findjsobjects and ::jsprint hidden flags for developers to measure
    and improve test coverage.
    * internal jsobj_properties() function is much better documented.
    
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
    Dave Pacheco authored and Julien Gilli committed Feb 5, 2015
  2. mdb_v8: add tests for ::findjsobjects -k KIND

    Reviewed-By: Dave Pacheco <dap@joyent.com>
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
    Julien Gilli committed Feb 5, 2015
  3. mdb_v8: fix symbols not loaded properly

    V8_CONSTANT_REMOVED_SINCE(major, minor) can be used to mark a constant
    has being removed from V8 since V8 version major.minor.
    
    Reviewed-By: Dave Pacheco <dap@joyent.com>
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
    Julien Gilli committed Feb 5, 2015
  4. tools: improve tooling around AUTHORS file

    Replace tools/updateAuthors.awk with tools/update-authors.js. The new
    tool generates an AUTHORS file that is stable-ordered alphanumerically.
    
    Fixes #9077.
    
    PR: #9088
    PR-URL: #9088
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
    Julien Gilli committed Feb 5, 2015
  5. Now working on 0.12.0

    Julien Gilli committed Feb 5, 2015

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
  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
  3. Merge branch 'v0.12.0-release' into v0.12

    Julien Gilli committed Feb 6, 2015
  4. Now working on 0.12.1

    Julien Gilli committed Feb 6, 2015

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: #8992
    PR-URL: #9010
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    amir-s authored and trevnorris committed Feb 9, 2015
  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: #9146
    Reviewed-by: Julien Gilli <julien.gilli@joyent.com>
    trevnorris committed Feb 9, 2015

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

Commits on Feb 11, 2015

  1. doc: grammar fix in smalloc

    PR-URL: #9164
    Reviewed-by: Colin Ihrig <cjihrig@gmail.com>
    Debjeet Biswas authored and trevnorris committed Feb 11, 2015
  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: #9171
    Reviewed-by: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-by: Timothy J Fontaine <tjfontaine@gmail.com>
    jscissr authored and trevnorris committed Feb 11, 2015
  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: #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

Commits on Feb 12, 2015

  1. doc: fix code syntax

    Add a ';' to the end of a function call in documentation.
    
    PR-URL: #9198
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    dandv authored and trevnorris committed Feb 12, 2015
  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: #9201
    Ref: #2009
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    Herbert Vojčík authored and trevnorris committed Feb 12, 2015

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: #9069
    PR-URL: #9116
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    cjihrig committed Feb 13, 2015

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
  2. Merge remote-tracking branch 'upstream/v0.10' into v0.12

    Conflicts:
    	deps/v8/src/log-utils.cc
    Julien Gilli committed Feb 16, 2015

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
    #9208.
    Julien Gilli committed Feb 17, 2015
  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
  3. src: update AUTHORS after merge

    Julien Gilli committed Feb 17, 2015
  4. Merge remote-tracking branch 'upstream/v0.12'

    Conflicts:
    	src/node_version.h
    Julien Gilli committed Feb 17, 2015
  5. src: update AUTHORS after merge of v0.12 in master

    Julien Gilli committed Feb 17, 2015