Skip to content
Commits on Jul 26, 2010
  1. @ry

    bump version

    ry committed
  2. @ry

    Add reference to base64 encoding

    ry committed
  3. @DmitryBaranovskiy @ry

    Added ability to pass offset to buffer write and toString methods as …

    DmitryBaranovskiy committed with ry
    …a string, i.e. '2' and encoding as anything
  4. @DmitryBaranovskiy @ry

    Fixed format, so it wouldn’t blow up if %d argument is null or undefi…

    DmitryBaranovskiy committed with ry
    …ned + ensure that numbers will be numbers
Commits on Jul 23, 2010
  1. @ry

    Implement buffer.write for base64

    ry committed
    There might be an off-by-one on the returned value.
  2. @ry

    Implement buffer.toString('base64')

    ry committed
  3. @ry

    Fix case in docs

    ry committed
  4. @isaacs @ry

    Fix dirname so that dirname('/a/b/') -> '/a', like sh's does.

    isaacs committed with ry
    Before there was this comment:
      Can't strip trailing slashes since module.js incorrectly
      thinks dirname('/a/b/') should yield '/a/b' instead of '/a'.
    But now, such thinking is corrected.
  5. @argon @ry
Commits on Jul 21, 2010
  1. @ry

    Remove Werror from SConstruct

    ry committed
  2. @ry

    Upgrade V8 to 2.3.2

    ry committed
  3. @ry

    TODO items

    ry committed
  4. @tuxychandru @ry
Commits on Jul 20, 2010
  1. @pgriess @ry

    Fix Buffer.toString() on 0-length slices.

    pgriess committed with ry
    - Buffer.toString('ascii', 0, 0) incorrectly returns the entire contents
      of the buffer. Fix this.
    - Provide similar behavior to Buffer.write() and Buffer.copy() when
      dealing with 0-length in valid and invalid byte ranges.
  2. @samshull @ry
  3. @ry

    Added process.binding('stdio').getRows()

    Robert Keizer committed with ry
  4. @isaacs @ry

    Support including modules that don't have an extension.

    isaacs committed with ry
    This way, require("/foo") will work if there is a "foo.js", or a file named
    simply "foo" with no extension.
  5. @ry

    Specify env differently in execFile

    ry committed
    Callbacks should always be the last argument.
Commits on Jul 19, 2010
  1. @mscdex @ry

    Consistency changes in api docs

    mscdex committed with ry
  2. @isaacs @ry

    Cache modules based on filename rather than ID

    isaacs committed with ry
    This is ever so slightly less efficient than caching based on ID, since the
    filename has to be looked up before we can check the cache.  However, it's
    the most minimal approach possible to get this change in place.  Since
    require() is a blocking startup-time operation anyway, a bit of slowness is
    not a huge problem.
    
    A test involving require.paths modification and absolute loading. Here's the
    gist of it.
    
    Files: /p1/foo.js /p2/foo.js
    
      1. Add "/p1" to require.paths.
      2. foo1 = require("foo")
      3. assert foo1 === require("/p1/foo") (fail)
      4. Remove /p1 from require.paths.
      5. Add /p2 to require.paths.
      6. foo2 = require("foo")
      7. assert foo1 !== foo2 (fail)
      8. assert foo2 === require("/p2/foo") (fail)
    
    It's an edge case, but it affects how dependencies are mapped by npm.
    If your module requires foo-1.2.3, and my module requires foo-2.3.4,
    then you should expect to have require("foo") give you foo-1.2.3, and
    I should expect require("foo") to give me foo-2.3.4.  However, with
    module ID based caching, if your code loads *first*, then your "foo"
    is THE "foo", so I'll get your version instead of mine.
    
    It hasn't yet been a problem, but only because there are so few
    modules, and everyone pretty much uses the latest version all the
    time.  But as things start to get to the 1.x and 2.x versions, it'll
    be an issue, I'm sure.  Dependency hell isn't fun, so this is a way to
    avoid it before it strikes.
  3. @pgriess @ry
  4. @miksago @ry

    querystring: Removing typecasting of numeric strings to numbers

    miksago committed with ry
    The tests did not accurately test for a strict equality, meaning that the
    number == to the string.
  5. @kassens @ry

    querystring.js: JSLint warnings fixed

    kassens committed with ry
  6. @kassens @ry

    querystring doc fix

    kassens committed with ry
  7. @kassens @ry

    querystring.stringify is now more solid

    kassens committed with ry
    * handles NaN and Infinity
    * works with arrays from other contexts
  8. @ry

    Add todo item

    ry committed
  9. @ry

    Fix for issue #214

    ry committed
  10. @beanieboi @ry

    added test for Issue #214

    beanieboi committed with ry
  11. @ry

    Fix style in readline

    ry committed
  12. @kapouer @ry

    Support DEL in the REPL.

    kapouer committed with ry
Commits on Jul 18, 2010
  1. @ry

    Apple's SUN_LEN is broken, override

    ry committed
  2. @ry

    Set SO_REUSEADDR on all sockets

    ry committed
Commits on Jul 17, 2010
  1. @ry

    Upgrade http-parser

    ry committed
  2. @ry

    Fix solaris build

    ry committed
  3. @ry

    bump version

    ry committed
Something went wrong with that request. Please try again.