Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 8, 2015
  1. @jasnell

    tls: command-line switch and envar cipher-list override

    jasnell authored
    Add command line switches and environment variables to override
    the default cipher suite in tls.js
    
    `--cipher-list` and `NODE_CIPHER_LIST` can be used to completely
    override the default cipher list with a given value.
    
    `--enable-legacy-cipher-list` and `NODE_LEGACY_CIPHER_LIST` can
    be used to reset the default cipher list back to a known legacy
    value shipped in prior Node.js releases
    
    A new `getLegacyCiphers` method on the tis module allows
    programmatic access to the old cipher list defaults.
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: #14383
  2. @jasnell

    tls: more secure defaults

    jasnell authored
    Port of io.js commit: iojs/io.js@77f3586
    
    Original commit message:
    
    This updates the default cipher suite to an more secure list, which
    prefers strong ciphers with Forward Secrecy. Additionally, it enables
    `honorCipherOrder` by default.
    
    Noteable effect of this change is that the insecure RC4 ciphers are
    disabled and that Chrome negotiates a more secure ECDHE cipher.
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PR-URL: #14383
Commits on Mar 16, 2015
  1. @misterdjules
  2. @misterdjules

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

    misterdjules authored
    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
  3. @stcruy @cjihrig

    doc: fix '\\' typos on Windows

    stcruy authored cjihrig committed
    This commit changes the Windows examples in path.markdown to
    correctly display '\\'.
    
    PR-URL: #9412
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Commits on Mar 10, 2015
  1. @tyleranton @misterdjules

    docs: add return value for sync fs functions

    tyleranton authored misterdjules committed
    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: #9359
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
Commits on Feb 25, 2015
  1. @robertkowalski @misterdjules

    doc: add explanations for querystring

    robertkowalski authored misterdjules committed
     - add an article: `decode a non-utf8 string`
     - explain default and fallback behaviour of `querystring.unescape`
    
    PR-URL: #9259
    Reviewed-by: Julien Gilli <julien.gilli@joyent.com>
  2. @h7lin @misterdjules

    doc: fix default value of opts.decodeURIComponent

    h7lin authored misterdjules committed
    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: #9259
    Reviewed-by: Julien Gilli <julien.gilli@joyent.com>
Commits on Feb 24, 2015
  1. @robertkowalski @misterdjules

    doc: remove broken link to tracing api

    robertkowalski authored misterdjules committed
    closes joyent/node-website#77
    
    PR: #9172
    PR-URL: #9172
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
Commits on Feb 17, 2015
  1. @bjouhier @cjihrig

    fs: properly handle fd passed to truncate()

    bjouhier authored cjihrig committed
    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: #9161
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
Commits on Feb 12, 2015
  1. @dandv @trevnorris

    doc: fix code syntax

    dandv authored trevnorris committed
    Add a ';' to the end of a function call in documentation.
    
    PR-URL: #9198
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Commits on Feb 11, 2015
  1. @detj @trevnorris

    doc: grammar fix in smalloc

    detj authored trevnorris committed
    PR-URL: #9164
    Reviewed-by: Colin Ihrig <cjihrig@gmail.com>
Commits on Jan 29, 2015
  1. @misterdjules

    Revert "url: support `path` for url.format"

    misterdjules authored
    This reverts commit d312b6d.
    
    d312b6d introduced some confusion in
    the existing API of url.format and url.parse.
    
    The way the 'path' property overrides other properties in url.format's
    input is too confusing for existing users compared to the issues it
    fixes.
    
    Fixes such as #9081 have been
    proposed, but they do not make the API less confusing.
    
    Instead, this change just reverts the original breaking change so that
    it gives us more time after v0.12.0 is released to come up with a better
    API for url.format, url.parse and other related APIs in the v0.13
    development branch.
    
    Fixes #9070.
    
    Conflicts:
    	doc/api/url.markdown
    
    PR: #9109
    PR-URL: #9109
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
Commits on Jan 20, 2015
  1. @bsnote @cjihrig

    doc: use correct signature for assert()

    bsnote authored cjihrig committed
    The message argument is optional for both assert() and
    assert.ok(). This commit makes message optional for assert().
    
    PR-URL: #9003
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
  2. @bsnote @cjihrig

    doc: use correct signature for assert()

    bsnote authored cjihrig committed
    The message argument is optional for both assert() and
    assert.ok(). This commit makes message optional for assert().
    
    PR-URL: #9003
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Commits on Jan 16, 2015
  1. @tjfontaine

    http: rename flush to flushHeaders

    tjfontaine authored
    In order to preserve the potential for a flush method being added to the
    streams API, rename flush to flushHeaders which is much more clear about
    the behavior of this method.
    
    PR: #9048
    PR-URL: #9048
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
Commits on Jan 14, 2015
  1. @misterdjules

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

    misterdjules authored
    Conflicts:
    	test/simple/test-child-process-spawn-typeerror.js
  2. @robertkowalski @misterdjules

    docs: delete unused/duplicate css files

    robertkowalski authored misterdjules committed
     - `sh.css` already exists in `api_assets`
     - `sh_vim-dark.css` is unused, but used in the repo `node-website`
            now
    
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    Signed-off-by: Julien Gilli <julien.gilli@joyent.com>
Commits on Jan 13, 2015
  1. @misterdjules
  2. @cjihrig @trevnorris

    fs: add access() and accessSync()

    cjihrig authored trevnorris committed
    fs.exists() and fs.existsSync() do not follow the typical error first
    callback convention. access() and accessSync() are added as alternatives
    in this commit.
    
    PR-URL: #8714
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Commits on Jan 12, 2015
  1. @misterdjules

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

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

    doc: clarify buffer api documentation

    jasnell authored tjfontaine committed
    Better wording for start and end parameters, also document .length
    should be considered readonly.
    
    RE: #8857, #8859, #8913
    PR: #8910
    PR-URL: #8910
    
    Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
  2. @jasnell @tjfontaine

    doc: clarify add/removeListener semantics

    jasnell authored tjfontaine committed
    Clarify that adding or removing a listener is not idempotent.
    
    RE: #8853
    PR: #8911
    PR-URL: #8911
    Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
Commits on Dec 19, 2014
  1. @misterdjules

    doc: add details for http res/req end callback

    Jackson Tian authored misterdjules committed
    Add documentation for the callback parameter of http.ClientRequest's and
    http.ServerResponse's end methods.
    
    Signed-off-by: Julien Gilli <julien.gilli@joyent.com>
Commits on Dec 17, 2014
  1. @misterdjules @tjfontaine

    doc: improve dns module's documentation

    misterdjules authored tjfontaine committed
    Make the difference between dns.lookup and other functions even clearer.
    
    PR: #8747
    Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
Commits on Dec 16, 2014
  1. @benjamincburns @chrisdickinson

    doc: clarify create{Read,Write}Stream fd option

    benjamincburns authored chrisdickinson committed
    Clarify the fd option: it is preferred to the path parameter, omits
    the "open" event if given, and is available on WriteStreams as well.
    
    PR-URL: #7707
    Fixes: #7707
    Fixes: #7708
    Fixes: #4367
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Commits on Dec 15, 2014
  1. @misterdjules

    docs: clarify url.format documentation

    misterdjules authored
    The original documentation was slightly confusing. It seemed that the
    list of items described the properties of the urlObj object, while it
    was actually describing the formatting process. This change makes this
    clearer.
    
    Fixes #8796.
    
    Reviewed-by: Chris Dickinson <christopher.s.dickinson@gmail.com>
Commits on Dec 12, 2014
  1. @silverwind @misterdjules

    doc: fix typo secureOptions in tls

    silverwind authored misterdjules committed
    Documentation mentioned 'securityOptions', where it should have read
    'secureOptions'.
    
    Fixes #8608.
    
    Signed-off-by: Julien Gilli <julien.gilli@joyent.com>
Commits on Dec 8, 2014
  1. @misterdjules

    doc: clearer log messages in net code samples

    pkcs authored misterdjules committed
    Code examples in documentation for net.createServer and
    net.createConnection contained confusing log messages. This change makes
    them clearer.
    
    Signed-off-by: Julien Gilli <julien.gilli@joyent.com>
Commits on Dec 7, 2014
  1. @a0viedo @misterdjules

    docs: fix streams example for write() after end()

    a0viedo authored misterdjules committed
    Currently there's an example using http.ServerResponse stream, which
    has a known bug and will not throw an error while writing after end().
    Changed to a writable stream from fs which behaves as expected.
    
    fix #8814
    
    Signed-off-by: Julien Gilli <julien.gilli@joyent.com>
Commits on Dec 5, 2014
  1. @brendanashworth @misterdjules

    doc: fix grammar in tls and timers

    brendanashworth authored misterdjules committed
    Replace 'a' with 'an' where appropriate.
  2. @brendanashworth @misterdjules

    doc: fix grammar and wording in tls and timers

    brendanashworth authored misterdjules committed
    In `tls.markdown`, there was a misuse of 'a' which has been replaced
    with 'an'.
    
    In `timers.markdown`...
      line 31: misuse of 'a', replaced with 'an'
      line 59: unclear wording, haywire 'a', added new comma
  3. @misterdjules

    doc: mention callback for http res/req write & end

    Jackson Tian authored misterdjules committed
    Add documentation for the callback parameter of http.ClientRequest's and
    http.ServerResponse's write and end methods.
  4. @trevnorris

    src: remove Async Listener

    trevnorris authored
    Async Listener was the name of the user-facing JS API, and is being
    completely removed. Instead low level hooks directly into the mechanism
    that AL used will be introduced in a future commit.
    
    PR-URL: #8110
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    Reviewed-by: Fedor Indutny <fedor@indutny.com>
    Reviewed-by: Alexis Campailla <alexis@janeasystems.com>
    Reviewed-by: Julien Gilli <julien.gilli@joyent.com>
Commits on Dec 3, 2014
  1. @kampde @trevnorris

    doc: set logical umask in process.umask example

    kampde authored trevnorris committed
    0644 seems to be the desired mode for new files (as it is a very weird
    umask), and to achieve that the correct umask would be 0022.
    
    PR-URL: #8039
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Something went wrong with that request. Please try again.