Permalink
Commits on Jul 14, 2012
Commits on Jul 13, 2012
  1. Merge remote-tracking branch 'ry/v0.8'

    isaacs committed Jul 13, 2012
    Conflicts:
    	deps/npm
  2. build: Move npm shebang logic into an npm script

    isaacs committed Jul 13, 2012
    This allows us to run npm's scripts/relocate.sh script whenever
    necessary, if for example node has been 'make install'ed into one
    folder, and then you wish to move it into another one.
  3. npm: upgrade to 1.1.41

    isaacs committed Jul 13, 2012
Commits on Jul 12, 2012
  1. build: fix add-on loading on freebsd

    bnoordhuis committed Jul 12, 2012
    Link with -Wl,--export-dynamic, makes symbols from the node binary visible to
    binary add-ons.
    
    Fixes "undefined symbol: _ZN2v811HandleScopeC1Ev" errors when loading add-ons
    on FreeBSD and likely other BSDs.
    
    Fixes #3623.
  2. Revert "events: don't delete the listeners array in removeListener()"

    TooTallNate committed Jul 12, 2012
    This reverts commit 928ea56.
    
    Keeping the original Array instance in-place essentially causes a memory leak
    on EventEmitters that use an infinite number of event names (an incrementing
    counter, for example), which isn't an unreasonable thing to want to do.
    
    Fixes #3702.
  3. net: fix net.Server.listen({fd:x}) error reporting

    bnoordhuis committed Jul 12, 2012
    * don't assert when fd isn't an open file descriptor
    
    * don't die with a ReferenceError when fd isn't a file descriptor
      you can listen() on
    
    Fixes #3699.
  4. net: fix bogus errno reporting

    bnoordhuis committed Jul 12, 2012
    _listen2() emits the error on the next tick. The errno value may have changed
    by then.
  5. build: partially fix configure on ARM

    bnoordhuis committed Jul 12, 2012
    V8 on ARM requires that armv7 is set. We don't have a good way to detect the
    CPU model right now so we pick a default and hope that it works okay for the
    majority of people.
    
    Non-scientific sampling - the ARM hardware I have lying around the house -
    suggests that ARMv5 and ARMv6 are still most common so armv7=0 it is.
    
    This obviously needs to be revisited sometime in the future.
  6. build: disable unsafe optimizations

    bnoordhuis committed Jul 12, 2012
    Compile at -O2 and disable optimizations that trigger gcc bugs.
    
    Some people still reported mksnapshot crashes after commit b40f813 ("build: fix
    spurious mksnapshot crashes for good" - so much for that).
    
    Average performance of the -O2 binary is on par with the -O3 binary. Variance
    on the http_simple bytes/8 benchmark appears to be slightly greater but small
    enough that the possibly of it being noise cannot be excluded.
    
    The new binary very slightly but consistently outperforms the -O3 binary (by
    about 0.5%) on the mostly CPU-bound bytes/102400 benchmark. That could be an
    artifact of the system I benchmarked it on, a Core 2 Duo with a puny 32 kB of
    L1 instruction cache. The smaller binary seems to play nicer with the cache.
  7. npm: upgrade to 1.1.39

    isaacs committed Jul 12, 2012
    Fix #3616
  8. lint

    isaacs committed Jul 12, 2012
  9. Merge remote-tracking branch 'ry/v0.8' into v0.8-merge

    isaacs committed Jul 12, 2012
    Conflicts:
    	src/node_version.h
Commits on Jul 11, 2012
  1. Now working on 0.6.21

    isaacs committed Jul 11, 2012
  2. build: fix spurious mksnapshot crashes for good

    bnoordhuis committed Jul 11, 2012
    A variety of gcc bugs made mksnapshot crash with either a segmentation fault
    or a 'pure virtual method callled' run-time error.
    
    After much wailing and gnashing of teeth I managed to deduce that the bugs
    show up when:
    
      1. gcc 4.5.2 for i386-pc-solaris2.11 is used and -fstrict-aliasing is
         enabled, or
    
      2. gcc version 4.4.6 for x86_64-redhat-linux is used and
         -ffunction-sections -finline-functions at -O2 or higher is enabled
    
    Therefore, disable -ffunction-sections and -fdata-sections unconditionally
    and disable -fstrict-aliasing only on Solaris.
    
    The -ffunction-sections and -fdata-sections switches were nonsense anyway
    because we don't link with -Wl,--gc-sections.
  3. Blog post for v0.6.20

    isaacs committed Jul 11, 2012
Commits on Jul 10, 2012
  1. 2012.07.10 Version 0.6.20 (maintenance)

    isaacs committed Jul 10, 2012
    * npm: Upgrade to 1.1.37 (isaacs)
    
    * benchmark: Backport improvements made in master (isaacs)
    
    * build: always link with -lz (Trent Mick)
    
    * core: use proper #include directives (Ben Noordhuis)
    
    * cluster: don't silently drop messages when the write queue gets big (Bert Belder)
    
    * windows: don't print error when GetConsoleTitleW returns an empty string (Bert Belder)
  2. npm: Upgrade to 1.1.37

    isaacs committed Jul 10, 2012
  3. timer: change new Date to Date.now for performance

    shigeki committed with bnoordhuis Jul 10, 2012
    Speeds up benchmark/settimeout.js by about 30%.
Commits on Jul 9, 2012
  1. Now working on 0.8.3

    isaacs committed Jul 9, 2012
  2. v0.8.2 blog post

    isaacs committed Jul 9, 2012
  3. Merge branch 'v0.8.2-release' into v0.8

    isaacs committed Jul 9, 2012
    Conflicts:
    	AUTHORS
  4. domain: Remove first arg from intercepted fn

    nakamura-to committed with isaacs Jul 8, 2012
    Fix to remove the first-arg, in case arguments length is more than 2
    Add domain.intercept() test about first-arg removal
  5. Update AUTHORS

    piscisaureus committed Jul 9, 2012
  6. Add a .mailmap file, and clean up AUTHORS somewhat

    piscisaureus committed Jul 9, 2012
    * A mailmap makes it easier to keep track of contributors.
    * Changes to the AUTHORS file:
      - fix misspellings
      - add missing/incomplete names
      - remove duplicate mentions
    * No names were added to or removed from the AUTHORS list.
  7. test: make test-fs-watch-file write to tmp dir

    bnoordhuis committed Jul 8, 2012
    Write temp files to test/tmp, not test/fixtures.
  8. fs: make unwatchFile() remove a specific listener

    bnoordhuis committed Jul 8, 2012
    Before this commit, `fs.unwatchFile(path)` removed *all* listeners for `path`.
    
    The function is overloaded now: `fs.unwatchFile(path)` still removes all
    listeners, but `fs.unwatchFile(path, cb)` lets you remove a specific listener.
    
    Fixes #3660.