Skip to content
This repository

Apr 17, 2012

  1. Isaac Z. Schlueter

    MakeCallback: Consistent symbol usage

    authored April 12, 2012

Mar 30, 2012

  1. Ben Noordhuis

    buffer: fix signedness compiler warnings

    authored March 30, 2012

Mar 23, 2012

  1. Sambasiva Suda

    Avoiding unnecessary ToString() calls

    String::Utf8Value and String::AsciiValue constructors take Handle<Value>
    So no need to convert to Handle<String>
    authored March 21, 2012 bnoordhuis committed March 23, 2012

Mar 09, 2012

  1. Ben Noordhuis

    core: use proper #include directives

    authored March 10, 2012
  2. Ben Noordhuis

    buffer: throw from constructor if length > kMaxLength

    Throw, don't abort. `new Buffer(0x3fffffff + 1)` used to bring down the process
    with the following error message:
    
      FATAL ERROR: v8::Object::SetIndexedPropertiesToExternalArrayData() length
      exceeds max acceptable value
    
    Fixes #2280.
    authored March 09, 2012

Feb 23, 2012

  1. Ben Noordhuis

    Remove unused variables.

    authored February 23, 2012

Feb 21, 2012

  1. Ben Noordhuis

    buffer: support decoding of URL-safe base64

    authored February 21, 2012

Feb 06, 2012

  1. Isaac Z. Schlueter

    Merge remote-tracking branch 'ry/v0.6'

    Conflicts:
    	ChangeLog
    	deps/v8/src/version.cc
    	deps/v8/tools/gyp/v8.gyp
    	doc/about/index.html
    	doc/community/index.html
    	doc/index.html
    	doc/logos/index.html
    	doc/template.html
    	lib/path.js
    	lib/querystring.js
    	src/node_version.h
    authored February 06, 2012
  2. Ben Noordhuis

    Revert support for isolates.

    It was decided that the performance benefits that isolates offer (faster spin-up
    times for worker processes, faster inter-worker communication, possibly a lower
    memory footprint) are not actual bottlenecks for most people and do not outweigh
    the potential stability issues and intrusive changes to the code base that
    first-class support for isolates requires.
    
    Hence, this commit backs out all isolates-related changes.
    
    Good bye, isolates. We hardly knew ye.
    authored February 03, 2012

Feb 02, 2012

  1. Ben Noordhuis

    buffers: fix intermittent out of bounds error

    The base64 decoder would intermittently throw an out-of-bounds exception when
    the buffer in `buf.write('', 'base64')` was a zero-sized buffer located at the
    end of the slab.
    
    Fixes #2657.
    authored February 01, 2012
  2. Ben Noordhuis

    buffers: honor length argument in base64 decoder

    Honor the length argument in `buf.write(s, 0, buf.length, 'base64')`. Before
    this commit, the length argument was ignored. The decoder would keep writing
    until it hit the end of the buffer. Since most buffers in Node are slices of
    a parent buffer (the slab), this bug would overwrite the content of adjacent
    buffers.
    
    The bug is trivially demonstrated with the following test case:
    
        var assert = require('assert');
        var a = Buffer(3);
        var b = Buffer('xxx');
        a.write('aaaaaaaa', 'base64');
        assert.equal(b.toString(), 'xxx');
    
    This commit coincidentally also fixes a bug where Buffer._charsWritten was not
    updated for zero length buffers.
    authored February 01, 2012

Dec 16, 2011

  1. Remove platform files, and use uv platform api

    authored December 15, 2011

Dec 08, 2011

  1. ry

    Move node_buffer.cc globals to struct

    authored December 07, 2011

Nov 09, 2011

  1. Ben Noordhuis

    Remove stray NODE_MODULE() semi-colons.

    authored November 09, 2011

Oct 19, 2011

  1. Koichi Kobayashi

    buffer: use NO_NULL_TERMINATION flag

    Refs #394.
    Fixes #1902.
    authored October 17, 2011

Sep 08, 2011

  1. ry

    Merge remote branch 'origin/v0.4'

    Conflicts:
    	lib/net.js
    	test/simple/test-buffer.js
    authored September 07, 2011

Sep 03, 2011

  1. Koichi Kobayashi

    buffer: write() should always set _charsWritten.

    Refs #1633.
    authored September 02, 2011

Sep 02, 2011

  1. Koichi Kobayashi

    buffer: Avoid overrun with 'binary' encoding.

    Fixes #1624.
    authored September 01, 2011

Aug 26, 2011

  1. ry

    Fix build - due to V8 API change

    authored August 26, 2011

Aug 02, 2011

  1. Bert Belder

    Remove platform_win32_winsock

    authored August 02, 2011

Jul 26, 2011

  1. Ben Noordhuis

    Include "platform.h", not <platform.h> - conflicts with system headers

    Fixes #1003.
    authored July 26, 2011
  2. Ben Noordhuis

    Include "platform.h", not <platform.h> - conflicts with system headers

    Fixes #1003.
    authored July 26, 2011

Jul 14, 2011

  1. ry

    Merge branch 'v0.4'

    Conflicts:
    	deps/libev/wscript
    	doc/api/modules.markdown
    authored July 14, 2011

Jul 13, 2011

  1. Koichi Kobayashi

    Fix Buffer drops last null character in UTF-8

    Reproduce:
    
        $ node
        > buf = new Buffer('\0')
        <Buffer >
        > buf.length
        0
        > buf = new Buffer(1)
        <Buffer 28>
        > buf.write('\0')
        0
    
    Fixes #394.
    Fixes #1210.
    authored June 22, 2011

May 20, 2011

  1. ry

    Merge branch 'v0.4'

    Conflicts:
    	lib/crypto.js
    	lib/tls.js
    authored May 20, 2011

May 19, 2011

  1. ry

    makeFastBuffer should not segfault but rather throw on non-buffer

    authored May 19, 2011

May 06, 2011

  1. Konstantin Käfer

    Add Buffer::fill method to do memset

    Fixes #477.
    authored November 30, 2010 ry committed May 06, 2011

Apr 14, 2011

  1. ry

    Merge branch 'v0.4'

    Conflicts:
    	src/platform_sunos.cc
    	test/simple/test-os.js
    authored April 14, 2011

Apr 13, 2011

  1. Koichi Kobayashi

    Fix Buffer.write() with UCS-2 should not be write partial char

    closes #916.
    authored April 14, 2011 ry committed April 13, 2011

Mar 22, 2011

  1. ry

    Merge branch 'v0.4'

    Conflicts:
    	src/node_version.h
    authored March 22, 2011
  2. ry

    Guard failed buffer constructions.

    Thanks to Jeremy Barnes for pointing it out.
    authored March 22, 2011

Mar 15, 2011

  1. ry

    Merge branch 'v0.4'

    Conflicts:
    	src/node_version.h
    authored March 14, 2011
  2. ry

    Update copyright headers

    authored March 10, 2011

Feb 20, 2011

  1. Isaac Z. Schlueter

    Closes GH-695 Add 'hex' encoding to Buffer

    authored February 19, 2011 ry committed February 19, 2011

Feb 15, 2011

  1. ry

    Revert "buffer.toString() shouldn't include null values"

    This reverts commit 909a5b3.
    
    Will fix inside V8's String::New instead.
    authored February 15, 2011
Something went wrong with that request. Please try again.