Permalink
Commits on Jan 11, 2013
  1. 2013.01.11, Version 0.9.6 (Unstable)

    * V8: update to 3.15.11.5
    
    * node: remove ev-emul.h (Ben Noordhuis)
    
    * path: make basename and extname ignore trailing slashes (Bert Belder)
    
    * typed arrays: fix sunos signed/unsigned char issue (Ben Noordhuis)
    
    * child_process: Fix {stdio:'inherit'} regression (Ben Noordhuis)
    
    * child_process: Fix pipe() from child stdio streams  (Maciej Małecki)
    
    * child_process: make fork() execPath configurable (Bradley Meck)
    
    * stream: Add readable.push(chunk) method (isaacs)
    
    * dtrace: x64 ustack helper (Fedor Indutny)
    
    * repl: fix floating point number parsing (Nirk Niggler)
    
    * repl: allow overriding builtins (Ben Noordhuis)
    
    * net: add localAddress and localPort to Socket (James Hight)
    
    * fs: make pool size coincide with ReadStream bufferSize (Shigeki Ohtsu)
    
    * typed arrays: implement load and store swizzling (Dean McNamee)
    
    * windows: fix perfctr crash on XP and 2003 (Scott Blomquist)
    
    * dgram: fix double implicit bind error (Ben Noordhuis)
    isaacs committed Jan 11, 2013
  2. Merge remote-tracking branch 'ry/v0.8' into master

    Conflicts:
    	AUTHORS
    	ChangeLog
    	Makefile
    	src/node_version.h
    isaacs committed Jan 11, 2013
  3. typed arrays: fix sunos signed/unsigned char issue

    The int8_t and uint8_t typedefs on sunos/smartos depend on a number of
    compiler directives. Avoid ambiguity and specify signed and unsigned
    char explicitly.
    
    Fixes the following build error:
    
      ../src/stream_wrap.cc: In static member function 'static void*
      node::WriteWrap::operator new(size_t)':
      ../src/stream_wrap.cc:70:49: warning: no return statement in function
      returning non-void [-Wreturn-type]
      In file included from ../src/v8_typed_array.cc:26:0:
      ../src/v8_typed_array_bswap.h: In function 'T
      v8_typed_array::SwapBytes(T) [with T = signed char]':
      ../src/v8_typed_array_bswap.h:150:23:   instantiated from 'T
      v8_typed_array::LoadAndSwapBytes(void*) [with T = signed char]'
      ../src/v8_typed_array.cc:694:7:   instantiated from 'static
      v8::Handle<v8::Value> {anonymous}::DataView::getGeneric(const
      v8::Arguments&) [with T = signed char]'
      ../src/v8_typed_array.cc:738:40:   instantiated from here
      ../src/v8_typed_array_bswap.h:125:16: error: size of array is
      negative
    bnoordhuis committed Jan 11, 2013
  4. Revert "typed arrays: fix build on sunos"

    This reverts commit 35a137c.
    indutny committed Jan 11, 2013
  5. typed arrays: fix build on sunos

    indutny committed Jan 11, 2013
  6. Revert "path: fix bugs related to paths with trailing slashes"

    It only does the right thing on unix, and the implementation
    isn't great either.
    
    This reverts commit bb1c039.
    piscisaureus committed Jan 11, 2013
  7. http: Set _dumped=false initially

    The better to keep the IncomingMessage class isomorphic and avoid
    creating additional hidden classes.
    isaacs committed Jan 11, 2013
  8. configure: define "arm_fpu" and "arm_neon" for ARM

    v8's common.gypi file expects them to be defined now.
    
    Closes #4534.
    TooTallNate committed Jan 11, 2013
  9. make binary: allow custom config flags

    For example, to cross-compile from my OS X laptop for Raspberry Pi, you would
    do something like:
    
      $ make binary BINARYNAME=node-v`python tools/getnodeversion.py`-linux-arm-pi \
          DESTCPU=arm CONFIG_FLAGS="--dest-os=linux"
    TooTallNate committed Jan 11, 2013
  10. v8: Hardfloat does not imply VFPv3, only VFPv2.

    Raspberry Pi is an example.
    
    BUG=v8:2393
    
    Review URL: https://chromiumcodereview.appspot.com/11570061
    Patch from Chi-Thanh Christopher Nguyen <nguyenchithanh@gmail.com>.
    
    git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@13232 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    
    This is a backport of v8/v8@44419ad.
    hashseed committed with TooTallNate Dec 18, 2012
Commits on Jan 10, 2013
  1. stream: Use push() for Transform._output()

    This also slightly changes the semantics, in that a 'readable'
    event may be triggered by the first write() call, even if a
    user has not yet called read().
    
    This happens because the Transform _write() handler is calling
    read(0) to start the flow of data.  Technically, the new behavior
    is more 'correct', since it is more in line with the semantics
    of the 'readable' event in other streams.
    isaacs committed Jan 10, 2013
  2. blog: Correct shasums for v0.8.17

    isaacs committed Jan 10, 2013
  3. blog: Post about v0.8.17

    isaacs committed Jan 10, 2013
  4. Now working on 0.8.18

    isaacs committed Jan 10, 2013
  5. 2012.01.09, Version 0.8.17 (Stable)

    * npm: Upgrade to v1.2.0
      - peerDependencies (Domenic Denicola)
      - node-gyp v0.8.2 (Nathan Rajlich)
      - Faster installs from github user/project shorthands (Nathan Zadoks)
    
    * typed arrays: fix 32 bit size/index overflow (Ben Noordhuis)
    
    * http: Improve performance of single-packet responses (Ben Noordhuis)
    
    * install: fix openbsd man page location (Ben Noordhuis)
    
    * http: bubble up parser errors to ClientRequest (Brian White)
    isaacs committed Jan 10, 2013
Commits on Jan 9, 2013
  1. typed arrays: fix 32 bit size/index overflow

    Fix an out-of-bound read/write bug due to integer wrapping. Reported by
    Dean McNamee.
    bnoordhuis committed Jan 9, 2013
  2. npm: Upgrade to v1.2.0

    isaacs committed Jan 9, 2013
  3. typed arrays: implement load and store swizzling

    Implement load and store swizzling operations. This reduces an unneeded
    back and forth between types and additionally keeps the value in the
    swappable type until it is swapped. This is important for correctness
    when dealing with floating point, to avoid the possibility of loading
    the bits of a signaling NaN (because it isn't yet swapped) into the FPU.
    
    This additionally produces better code (comments are mine):
    
    gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
    
    setValue<double>:
      movd  %xmm0, %rax         ; fp reg -> gen reg
      bswapq  %rax              ; 64-bit byte swap
      movq  %rax, (%r15,%r12)   ; store
    deanm committed with bnoordhuis Jan 6, 2013
  4. typed arrays: swizzle with compiler intrinsics

    Implement swizzling with compiler intrinsics and be aware of the native
    endianness to correctly swap on big endian machines.
    
    This introduces a template function to swap the bytes of a value,
    and macros for the low level swap (taking advantage of gcc and msvc
    intrinsics). This produces code like the following (comments are mine):
    
    gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
    
    setValue<double>:
      movd  %xmm0, %rax         ; fp reg -> gen reg
      bswapq  %rax              ; 64-bit byte swap
      movd  %rax, %xmm0         ; gen reg -> fp reg
      movq  %xmm0, (%r15,%r12)  ; store
    deanm committed with bnoordhuis Jan 5, 2013
  5. typed arrays: undo local changes

    Partially revert 5664dd2, 6573fc3 and 7788a6b to ease landing changes
    from upstream.
    bnoordhuis committed Jan 8, 2013
  6. object_wrap: add missing HandleScope

    by Sven Panne's suggestion, see [0] for details.
    
    [0]: https://code.google.com/p/v8/issues/detail?id=2468
    indutny committed Jan 4, 2013
  7. stream: fix typo

    Also: Revert "stream: Override addListener as well as on"
    
    This reverts commit 18c9859.
    shigeki committed with isaacs Jan 9, 2013