This repository has been archived by the owner. It is now read-only.
Permalink
Switch branches/tags
Commits on Jul 7, 2012
  1. 2012.07.09, Version 0.8.2 (Stable)

    isaacs committed Jul 7, 2012
    * npm: Upgrade to 1.1.36
    
    * readline: don't use Function#call() (Nathan Rajlich)
    
    * Code cleanup to pass 'use strict' (Jonas Westerlund)
    
    * module: add filename to require() json errors (TJ Holowaychuk)
    
    * readline: fix for unicode prompts (Tim Macfarlane)
    
    * timers: fix handling of large timeouts (Ben Noordhuis)
    
    * repl: fix passing an empty line inserting "undefined" into the buffer (Nathan Rajlich)
    
    * repl: fix crashes when buffering command (Maciej Małecki)
    
    * build: rename strict_aliasing to node_no_strict_aliasing (Ben Noordhuis)
    
    * build: disable -fstrict-aliasing for any gcc < 4.6.0 (Ben Noordhuis)
    
    * build: detect cc version with -dumpversion (Ben Noordhuis)
    
    * build: handle output of localized gcc or clang (Ben Noordhuis)
    
    * unix: fix memory corruption in freebsd.c (Ben Noordhuis)
    
    * unix: fix 'zero handles, one request' busy loop (Ben Noordhuis)
    
    * unix: fix busy loop on unexpected tcp message (Ben Noordhuis)
    
    * unix: fix EINPROGRESS busy loop (Ben Noordhuis)
  2. v8: Upgrade to 3.11.10.14

    isaacs committed with piscisaureus Jul 7, 2012
  3. Fix the Windows build

    piscisaureus committed Jul 7, 2012
  4. Now working on 0.8.2

    isaacs committed Jul 7, 2012
  5. npm: Upgrade to 1.1.36

    isaacs committed Jul 7, 2012
  6. readline: don't use Function#call()

    TooTallNate committed Jul 7, 2012
    It wasn't necessary.
  7. Forgotten commit: add arguments to handleGroup

    Jonas Westerlund committed with TooTallNate Jul 5, 2012
  8. Assign to property of global, instead of implicit global variable

    Jonas Westerlund committed with TooTallNate Jul 4, 2012
    Fixes crash in strict mode.
  9. Use unicode escape sequences instead of octal

    Jonas Westerlund committed with TooTallNate Jul 4, 2012
    The latter is illegal in strict mode.
  10. Inline timeout function, avoiding declaration in conditional

    Jonas Westerlund committed with TooTallNate Jul 4, 2012
    Moving it out would require an anonymous function, or bind(), anyway.
    Luckily It's a tiny function. Fixes crash in strict mode.
  11. Move function declaration out of conditional

    Jonas Westerlund committed with TooTallNate Jul 4, 2012
    Also avoid using eval as identifier.
    Fixes crashes in strict mode.
  12. Move function declaration to top-level

    Jonas Westerlund committed with TooTallNate Jul 4, 2012
    Gets rid of a strict mode error and a few levels of indentation.
  13. Do not assign to properties that only have getters

    Jonas Westerlund committed with TooTallNate Jul 4, 2012
    It is an error in strict mode, and silent failure otherwise.
  14. Avoid redeclaring variable

    Jonas Westerlund committed with TooTallNate Jul 4, 2012
    Capitalize the constructor to avoid redeclaration.
    Fixes strict mode error.
  15. Remove octal escape sequences and avoid reserved keyword

    Jonas Westerlund committed with TooTallNate Jul 4, 2012
    Both are errors in strict mode.
Commits on Jul 6, 2012
  1. module: add filename to require() json errors

    tj committed with TooTallNate Jul 6, 2012
    Otherwise it can be quite difficult to figure out which file is busted.
    
    Closes #3580.
  2. readline: fix for unicode prompts

    refractalize committed with bnoordhuis Jun 29, 2012
    prompt length is char length, not byte length
Commits on Jul 5, 2012
  1. timers: fix handling of large timeouts

    bnoordhuis committed Jul 1, 2012
    Don't use the double-negate trick to coalesce the timeout argument into a
    number, it produces the wrong result for very large timeouts.
    
    Example:
    
        setTimeout(cb, 1e10); // doesn't work, ~~1e10 == 1410065408
Commits on Jul 4, 2012
  1. repl: fix passing an empty line inserting "undefined" into the buffer

    TooTallNate committed Jul 4, 2012
    There was a possiblity of insering the string "undefined" into the repl's
    command buffer, which would cause interesting results while evaluating.
  2. repl: fix crashes when buffering command

    mmalecki committed with TooTallNate Jul 3, 2012
    Wrong order of operands was causing problems while trying to use command
    buffering:
    
        > {
        ...   a: 3,
        ...
    
        repl.js:284
                if (cmd.trim().match(/^npm /) && !self.bufferedCommand) {
                        ^
        TypeError: Cannot call method 'trim' of undefined
            at finish (repl.js:284:17)
            at REPLServer.self.eval (repl.js:118:5)
            at rli.on.e (repl.js:260:20)
            at REPLServer.self.eval (repl.js:118:5)
            at Interface.<anonymous> (repl.js:250:12)
            at Interface.EventEmitter.emit (events.js:88:17)
            at Interface._onLine (readline.js:183:10)
            at Interface._line (readline.js:502:8)
            at Interface._ttyWrite (readline.js:720:14)
            at ReadStream.<anonymous> (readline.js:105:12)
    
    Test included.
    
    Closes #3515.
    Closes #3517.
    Closes #3621.
Commits on Jul 3, 2012
  1. tools: update gyp to r1426

    bnoordhuis committed Jul 3, 2012
  2. build: rename strict_aliasing to node_no_strict_aliasing

    bnoordhuis committed Jul 3, 2012
    Make the variable naming consistent with the other strict aliasing var,
    v8_no_strict_aliasing.
  3. build: disable -fstrict-aliasing for any gcc < 4.6.0

    bnoordhuis committed Jul 3, 2012
    It has been conclusively demonstrated that the -fstrict-aliasing bugs in gcc's
    optimizer are not limited to the 4.5.x releases only.
    
    Fixes #3601 among others.
  4. build: detect cc version with -dumpversion

    bnoordhuis committed Jul 3, 2012
    The heuristic introduced in f78ce08 ("build: handle output of localized gcc or
    clang") does not handle "branded" versions of gcc, i.e. a gcc whose output has
    been customized by the distro vendor.
    
    Fixes #3601.
Commits on Jul 1, 2012
Commits on Jun 30, 2012
  1. build: handle output of localized gcc or clang

    bnoordhuis committed Jun 30, 2012
    Before this commit, we used to scan the output of `$CC -v` for strings like
    "gcc version x.y.z".
    
    It was pointed out that this approach fails with localized versions of gcc
    because those print (for example) "gcc versión x.y.z".
    
    Use the output of `$CC --version` instead and only look at the first line.
  2. build: rename openssl configure switches

    bnoordhuis committed Jun 30, 2012
    For consistency's sake, rename:
    
      --openssl-use-sys
      --openssl-includes
      --openssl-libpath
    
    To:
    
      --shared-openssl
      --shared-openssl-includes
      --shared-openssl-libpath
    
    And add --shared-openssl-libname while we're at it.
    
    The old switches still work but `./configure --help` won't print them.
    
    Fixes #3591.