Permalink
Switch branches/tags
Commits on Jul 26, 2010
  1. bump version

    ry committed Jul 26, 2010
  2. Add reference to base64 encoding

    ry committed Jul 26, 2010
  3. Added ability to pass offset to buffer write and toString methods as …

    …a string, i.e. '2' and encoding as anything
    DmitryBaranovskiy committed with ry Jul 22, 2010
  4. Fixed format, so it wouldn’t blow up if %d argument is null or undefi…

    …ned + ensure that numbers will be numbers
    DmitryBaranovskiy committed with ry Jul 22, 2010
Commits on Jul 23, 2010
  1. Implement buffer.write for base64

    There might be an off-by-one on the returned value.
    ry committed Jul 23, 2010
  2. Implement buffer.toString('base64')

    ry committed Jul 23, 2010
  3. Fix case in docs

    ry committed Jul 23, 2010
  4. Fix dirname so that dirname('/a/b/') -> '/a', like sh's does.

    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.
    isaacs committed with ry Jul 23, 2010
Commits on Jul 21, 2010
  1. Remove Werror from SConstruct

    ry committed Jul 21, 2010
  2. Upgrade V8 to 2.3.2

    ry committed Jul 21, 2010
  3. TODO items

    ry committed Jul 21, 2010
Commits on Jul 20, 2010
  1. Fix Buffer.toString() on 0-length slices.

    - 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.
    pgriess committed with ry Jul 20, 2010
  2. Added process.binding('stdio').getRows()

    Robert Keizer committed with ry Jul 20, 2010
  3. Support including modules that don't have an extension.

    This way, require("/foo") will work if there is a "foo.js", or a file named
    simply "foo" with no extension.
    isaacs committed with ry Jul 20, 2010
  4. Specify env differently in execFile

    Callbacks should always be the last argument.
    ry committed Jul 20, 2010
Commits on Jul 19, 2010
  1. Consistency changes in api docs

    mscdex committed with ry Jul 19, 2010
  2. Cache modules based on filename rather than ID

    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.
    isaacs committed with ry Jul 15, 2010
  3. querystring: Removing typecasting of numeric strings to numbers

    The tests did not accurately test for a strict equality, meaning that the
    number == to the string.
    miksago committed with ry Jul 19, 2010
  4. querystring.js: JSLint warnings fixed

    kassens committed with ry Jul 18, 2010
  5. querystring doc fix

    kassens committed with ry Jul 17, 2010
  6. querystring.stringify is now more solid

    * handles NaN and Infinity
    * works with arrays from other contexts
    kassens committed with ry Jul 18, 2010
  7. Add todo item

    ry committed Jul 19, 2010
  8. Fix for issue #214

    ry committed Jul 19, 2010
  9. added test for Issue #214

    beanieboi committed with ry Jul 19, 2010
  10. Fix style in readline

    ry committed Jul 19, 2010
  11. Support DEL in the REPL.

    kapouer committed with ry Jul 18, 2010
Commits on Jul 18, 2010
  1. Apple's SUN_LEN is broken, override

    ry committed Jul 18, 2010
  2. Set SO_REUSEADDR on all sockets

    ry committed Jul 18, 2010
Commits on Jul 17, 2010
  1. Upgrade http-parser

    ry committed Jul 17, 2010
  2. Fix solaris build

    ry committed Jul 17, 2010
  3. bump version

    ry committed Jul 17, 2010