Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 20, 2010
  1. @felixge @ry

    Deprecate string interface for fs.read()

    felixge authored ry committed
    This patch makes buffers the preferred output for fs.read() and
    fs.readSync(). The old string interface is still supported by
    converting buffers to strings dynamically. This allows to remove the
    C++ code for string handling which is also part of this patch.
  2. @ry

    Revert "Deprecate string interface for fs.read()"

    ry authored
    This reverts commit cbbf9e4.
  3. @felixge @ry

    Deprecate string interface for fs.read()

    felixge authored ry committed
    This patch makes buffers the preferred output for fs.read() and
    fs.readSync(). The old string interface is still supported by
    converting buffers to strings dynamically. This allows to remove the
    C++ code for string handling which is also part of this patch.
  4. @ry

    Throwing in a callback should kill the process

    ry authored
    There is a difference between errors which happen to a socket - like
    receiving EPIPE - an exceptional situation but ultimately okay and the
    situation where code throws in a callback - which is not okay.
    
    Fixes test/simple/test-http-exceptions.js
    
    TODO: explain this in docs.
  5. @rentzsch @ry

    FIX path.dirname('/tmp') => '/'.

    rentzsch authored ry committed
    Previously path.dirname('/tmp') incorrectly returned '.'.
    
    Unfortunately module.js incorrectly thinks dirname('/a/b/') should
    yield '/a/b', so I can't strip trailing slashes yet. Once module.js
    is fixed, then the commented-out code should be activated and a test
    written for it.
  6. @ry

    Deprecate sys.p()

    ry authored
  7. @isaacs @ry

    Fix a leaking global

    isaacs authored ry committed
Commits on May 19, 2010
  1. @felixge @ry

    Deprecate string interface for fs.write()

    felixge authored ry committed
    This patch makes buffers the preferred input for fs.write() and
    fs.writeSync(). The old string interface is still supported by
    converting strings to buffers dynamically. This allows to remove the
    C++ code for string handling which is also part of this patch.
Commits on May 18, 2010
  1. @ry

    Fix utf8stream references

    ry authored
  2. @felixge @ry

    Use Utf8Stream for http Streams with utf8 encoding

    felixge authored ry committed
  3. @felixge @ry

    Use Utf8Stream for net Streams with utf8 encoding

    felixge authored ry committed
  4. @felixge @ry

    Implemented Utf8Decoder module

    felixge authored ry committed
    Allows to safely decode a utf8 stream into strings without breaking
    on multibyte characters.
  5. @ry

    fs.WriteStream.write should support buffer

    ry authored
    Also re-adding the callback parameter.
Commits on May 15, 2010
  1. @zimbatm @ry

    FIX: EventEmitter#removeAllListeners signature

    zimbatm authored ry committed
    This function should return this is all cases.
  2. @zimbatm @ry

    FIX: EventEmitter#removeListener logic

    zimbatm authored ry committed
    In the case of one defined listener, the function should only remove it
    if it is the same as the passed listener.
  3. @billywhizz @ry

    Added posix fsync and fdatasync to fs module

    billywhizz authored ry committed
Commits on May 13, 2010
  1. @tmpvar @ry

    Handle empty files with fs.readFile

    tmpvar authored ry committed
Commits on May 12, 2010
  1. @ry

    Support for fstat(2) through fs.fstat() and fs.fstatSync(). Added tes…

    Ben Noordhuis authored ry committed
    …t cases, updated documentation.
  2. @ry
  3. @ry

    Default to 2 second timeout for http servers

    ry authored
    Taking a performance hit on 'hello world' benchmark by enabling this by
    default, but I think it's worth it. Hopefully we can improve performance by
    resetting the timeout less often - ideally a 'hello world' benchmark would
    only touch the one timer once - if it runs in less than 2 seconds. The rest
    should be just link list manipulations.
  4. @ry

    Idle timeout changes

    ry authored
    - setTimeout should active the timeout too. (test-net-set-timeout tests
      this.)
    
    - 'timeout' event is not automatically followed by an 'error' event. That
      is the user is now responsible for destroying the stream if there is an
      idle timeout.
Commits on May 10, 2010
  1. @ry

    Revert "destroy instead of end http connection at end of pipeline"

    ry authored
    This reverts commit 4ce1e1f.
    
    To fix test-http-full-response.js. Clearly this is not the correct solution.
    Probably need idle timeouts.
Commits on May 9, 2010
  1. @ry

    Improve error reporting

    ry authored
    - No more single line "node.js:176:9" errors
    - No more strange output when error happens on first line due to
      module wrapper function.
    - A few tests to check these things
  2. @ry

    Better logic for testing if an argument is a port

    ry authored
    If you did server.listen('123') it would open a socket in the current
    directory called 123. Now it will interpret it as a port.
  3. @ry
  4. @ry

    Fix error reporting in child_process callbacks

    ry authored
    Issue 120, test case by Nathan Ostgard
Commits on May 7, 2010
  1. @isaacs @ry

    Add binding.close to fs.readFile

    isaacs authored ry committed
  2. @creationix @ry

    fs.readFile uses a buffer internally and will return the raw buffer i…

    creationix authored ry committed
    …f no encoding is specified.
Commits on May 6, 2010
  1. @ry
  2. @ry

    Fix a bug in http.Client where parsers may be prematurely released ba…

    Thomas Lee authored ry committed
    …ck to the free pool.
  3. @jdknezek @ry
Commits on May 5, 2010
  1. @isaacs @ry

    Look in /usr/local/lib/node for modules, so that there's a way to ins…

    isaacs authored ry committed
    …tall modules globally
  2. @ry

    Fix whitespace

    ry authored
  3. @isaacs @ry

    Emit a better error message when something strange is sent to Outgoin…

    isaacs authored ry committed
    …gMessage#write
Commits on May 4, 2010
  1. @ry

    Lazy load crypto

    ry authored
    The whole program is being slowed down by the large CA string in crypto.
    Why?
Something went wrong with that request. Please try again.