Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 7b0770bff561
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: 5cc3569f6d50
Choose a head ref
  • 20 commits
  • 263 files changed
  • 6 contributors

Commits on Jan 22, 2013

  1. zlib: don't assert on missing dictionary

    Handle Z_NEED_DICT errors graciously. Fixes the following assertion:
    
      node: ../src/node_zlib.cc:161: static void node::ZCtx::Process
      (uv_work_t*): Assertion`ctx->dictionary_ != __null && "Stream
      has no dictionary"' failed.
      Aborted (core dumped)
    
    Fixes #4632.
    bnoordhuis committed Jan 22, 2013
    Copy the full SHA
    1c32eb4 View commit details
    Browse the repository at this point in the history
  2. zlib: don't assert on malformed dictionary

    Handle Z_DATA_ERROR errors from inflateSetDictionary() gracefully.
    Fixes the following assertion:
    
      node: ../src/node_zlib.cc:167: static void node::ZCtx::Process
      (uv_work_t*): Assertion `ctx->err_ == 0 && "Failed to set
      dictionary"' failed.
      Aborted (core dumped)
    
    Fixes #4632.
    bnoordhuis committed Jan 22, 2013
    Copy the full SHA
    d7bf7ed View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    13d86a8 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2013

  1. blog: Post for v0.9.8

    isaacs committed Jan 24, 2013
    Copy the full SHA
    7f6054c View commit details
    Browse the repository at this point in the history
  2. doc: fix typo in crypto Hash.digest() note

    Added the word 'has' to the sentence.
    Closes #4652.
    jgable authored and TooTallNate committed Jan 24, 2013
    Copy the full SHA
    34131af View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2013

  1. Copy the full SHA
    72dd3b4 View commit details
    Browse the repository at this point in the history
  2. buffer: slow buffer copy compatibility fix

    Fix issue where SlowBuffers couldn't be passed as target to Buffer
    copy().
    
    Also included checks to see if Argument parameters are defined before
    assigning their values. This offered ~3x's performance gain.
    
    Backport of 16bbecc from master branch. Closes #4633.
    trevnorris authored and TooTallNate committed Jan 25, 2013
    Copy the full SHA
    65249cc View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2013

  1. doc: fix typo in cluster module documentation

    Fix a small typo in the cluster.settings documentation.
    Rick Yakubowski authored and bnoordhuis committed Jan 26, 2013
    Copy the full SHA
    5abde81 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2013

  1. Copy the full SHA
    1a87776 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2013

  1. Copy the full SHA
    9a488a6 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2013

  1. doc: don't suggest to reuse net.Socket objects

    Using Socket.prototype.connect() to reconnect an existing Socket object
    is not reliable. Users should just create a new Socket object.
    
    See #4698.
    bnoordhuis committed Feb 5, 2013
    Copy the full SHA
    5fe0546 View commit details
    Browse the repository at this point in the history
  2. zlib: reduce memory consumption, release early

    In zlibBuffer(), don't wait for the garbage collector to reclaim the zlib memory
    but release it manually. Reduces memory consumption by a factor of 10 or more
    with some workloads.
    
    Test case:
    
      function f() {
        require('zlib').deflate('xxx', g);
      }
      function g() {
        setTimeout(f, 5);
      }
      f();
    
    Observe RSS memory usage with and without this commit. After 10,000 iterations,
    RSS stabilizes at ~35 MB with this commit. Without, RSS is over 300 MB and keeps
    growing.
    
    Cause: whenever the JS object heap hits the high-water mark, the V8 GC sweeps
    it clean, then tries to grow it in order to avoid more sweeps in the near
    future. Rule of thumb: the bigger the JS heap, the lazier the GC can be.
    
    A side effect of a bigger heap is that objects now live longer. This is harmless
    in general but it affects zlib context objects because those are tied to large
    buffers that live outside the JS heap, on the order of 16K per context object.
    
    Ergo, don't wait for the GC to reclaim the memory - it may take a long time.
    
    Fixes #4172.
    bnoordhuis committed Feb 5, 2013
    Copy the full SHA
    8d14668 View commit details
    Browse the repository at this point in the history
  3. zlib: pass object size hint to V8

    Inform V8 that the zlib context object is tied to a large off-heap buffer.
    
    This makes the GC run more often (in theory) and improves the accuracy of
    --trace_external_memory.
    bnoordhuis committed Feb 5, 2013
    Copy the full SHA
    6b99fd2 View commit details
    Browse the repository at this point in the history
  4. blog: remove dangling symlink

    Fixes #4716.
    bnoordhuis committed Feb 5, 2013
    Copy the full SHA
    a86ebbe View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2013

  1. npm: Upgrade to v1.2.10

    isaacs committed Feb 6, 2013
    Copy the full SHA
    5aef65a View commit details
    Browse the repository at this point in the history
  2. 2013.02.06, Version 0.8.19 (Stable)

    * npm: Upgrade to v1.2.10
    
    * zlib: pass object size hint to V8 (Ben Noordhuis)
    
    * zlib: reduce memory consumption, release early (Ben Noordhuis)
    
    * buffer: slow buffer copy compatibility fix (Trevor Norris)
    
    * zlib: don't assert on malformed dictionary (Ben Noordhuis)
    
    * zlib: don't assert on missing dictionary (Ben Noordhuis)
    
    * windows: better ipv6 support (Bert Belder)
    
    * windows: add error mappings related to unsupported protocols (Bert Belder)
    
    * windows: map ERROR_DIRECTORY to UV_ENOENT (Bert Belder)
    isaacs committed Feb 6, 2013
    Copy the full SHA
    53978bd View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8caf657 View commit details
    Browse the repository at this point in the history
  4. Now working on 0.8.20

    isaacs committed Feb 6, 2013
    Copy the full SHA
    ccf2712 View commit details
    Browse the repository at this point in the history
  5. blog: v0.8.19 release

    isaacs committed Feb 6, 2013
    Copy the full SHA
    1389727 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2013

  1. Merge remote-tracking branch 'ry/v0.8' into master

    Conflicts:
    	AUTHORS
    	ChangeLog
    	deps/npm/html/api/bin.html
    	deps/npm/html/api/bugs.html
    	deps/npm/html/api/commands.html
    	deps/npm/html/api/config.html
    	deps/npm/html/api/deprecate.html
    	deps/npm/html/api/docs.html
    	deps/npm/html/api/edit.html
    	deps/npm/html/api/explore.html
    	deps/npm/html/api/help-search.html
    	deps/npm/html/api/init.html
    	deps/npm/html/api/install.html
    	deps/npm/html/api/link.html
    	deps/npm/html/api/load.html
    	deps/npm/html/api/ls.html
    	deps/npm/html/api/npm.html
    	deps/npm/html/api/outdated.html
    	deps/npm/html/api/owner.html
    	deps/npm/html/api/pack.html
    	deps/npm/html/api/prefix.html
    	deps/npm/html/api/prune.html
    	deps/npm/html/api/publish.html
    	deps/npm/html/api/rebuild.html
    	deps/npm/html/api/restart.html
    	deps/npm/html/api/root.html
    	deps/npm/html/api/run-script.html
    	deps/npm/html/api/search.html
    	deps/npm/html/api/shrinkwrap.html
    	deps/npm/html/api/start.html
    	deps/npm/html/api/stop.html
    	deps/npm/html/api/submodule.html
    	deps/npm/html/api/tag.html
    	deps/npm/html/api/test.html
    	deps/npm/html/api/uninstall.html
    	deps/npm/html/api/unpublish.html
    	deps/npm/html/api/update.html
    	deps/npm/html/api/version.html
    	deps/npm/html/api/view.html
    	deps/npm/html/api/whoami.html
    	deps/npm/html/doc/README.html
    	deps/npm/html/doc/adduser.html
    	deps/npm/html/doc/bin.html
    	deps/npm/html/doc/bugs.html
    	deps/npm/html/doc/build.html
    	deps/npm/html/doc/bundle.html
    	deps/npm/html/doc/cache.html
    	deps/npm/html/doc/changelog.html
    	deps/npm/html/doc/coding-style.html
    	deps/npm/html/doc/completion.html
    	deps/npm/html/doc/config.html
    	deps/npm/html/doc/dedupe.html
    	deps/npm/html/doc/deprecate.html
    	deps/npm/html/doc/developers.html
    	deps/npm/html/doc/disputes.html
    	deps/npm/html/doc/docs.html
    	deps/npm/html/doc/edit.html
    	deps/npm/html/doc/explore.html
    	deps/npm/html/doc/faq.html
    	deps/npm/html/doc/folders.html
    	deps/npm/html/doc/global.html
    	deps/npm/html/doc/help-search.html
    	deps/npm/html/doc/help.html
    	deps/npm/html/doc/index.html
    	deps/npm/html/doc/init.html
    	deps/npm/html/doc/install.html
    	deps/npm/html/doc/json.html
    	deps/npm/html/doc/link.html
    	deps/npm/html/doc/ls.html
    	deps/npm/html/doc/npm.html
    	deps/npm/html/doc/outdated.html
    	deps/npm/html/doc/owner.html
    	deps/npm/html/doc/pack.html
    	deps/npm/html/doc/prefix.html
    	deps/npm/html/doc/prune.html
    	deps/npm/html/doc/publish.html
    	deps/npm/html/doc/rebuild.html
    	deps/npm/html/doc/registry.html
    	deps/npm/html/doc/removing-npm.html
    	deps/npm/html/doc/restart.html
    	deps/npm/html/doc/rm.html
    	deps/npm/html/doc/root.html
    	deps/npm/html/doc/run-script.html
    	deps/npm/html/doc/scripts.html
    	deps/npm/html/doc/search.html
    	deps/npm/html/doc/semver.html
    	deps/npm/html/doc/shrinkwrap.html
    	deps/npm/html/doc/star.html
    	deps/npm/html/doc/start.html
    	deps/npm/html/doc/stop.html
    	deps/npm/html/doc/submodule.html
    	deps/npm/html/doc/tag.html
    	deps/npm/html/doc/test.html
    	deps/npm/html/doc/uninstall.html
    	deps/npm/html/doc/unpublish.html
    	deps/npm/html/doc/update.html
    	deps/npm/html/doc/version.html
    	deps/npm/html/doc/view.html
    	deps/npm/html/doc/whoami.html
    	deps/npm/man/man1/global.1
    	deps/npm/man/man1/ls.1
    	deps/npm/man/man1/npm.1
    	deps/npm/man/man1/rm.1
    	deps/npm/man/man3/npm.3
    	deps/npm/node_modules/glob/glob.js
    	deps/npm/node_modules/glob/package.json
    	deps/npm/node_modules/node-gyp/package.json
    	deps/npm/node_modules/npm-registry-client/package.json
    	deps/npm/node_modules/npmconf/package.json
    	deps/npm/node_modules/read-installed/package.json
    	deps/npm/node_modules/rimraf/package.json
    	deps/npm/node_modules/rimraf/rimraf.js
    	deps/npm/package.json
    	deps/uv/src/win/error.c
    	doc/api/crypto.markdown
    	lib/zlib.js
    	src/node_version.h
    	src/node_zlib.cc
    	test/simple/test-buffer.js
    isaacs committed Feb 7, 2013
    Copy the full SHA
    5cc3569 View commit details
    Browse the repository at this point in the history