- Jan 11, 2013
-
-
Fedor Indutny authored
-
Bert Belder authored
It only does the right thing on unix, and the implementation isn't great either. This reverts commit bb1c0398.
-
Ben Noordhuis authored
-
isaacs authored
The better to keep the IncomingMessage class isomorphic and avoid creating additional hidden classes.
-
Andreas Madsen authored
-
Nathan Rajlich authored
v8's common.gypi file expects them to be defined now. Closes #4534.
-
yangguo@chromium.org authored
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@44419ad089b729a1aab4a5f27c0833e2ce69d28b.
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
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 authored
-
isaacs authored
-
- Jan 10, 2013
-
-
Ben Noordhuis authored
-
Dean McNamee authored
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
-
Dean McNamee authored
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
-
Ben Noordhuis authored
Partially revert 5664dd2f, 6573fc35 and 7788a6bf to ease landing changes from upstream.
-
- Jan 09, 2013
-
-
Shigeki Ohtsu authored
Also: Revert "stream: Override addListener as well as on" This reverts commit 18c98591.
-
isaacs authored
For the compatibility switch.
-
Fedor Indutny authored
When switching into compatibility mode by setting `data` event listener, `_read()` method will be called immediately. If method implementation invokes callback in the same tick - all emitted `data` events will be discarded, because `data` listener wasn't set yet.
-
- Jan 08, 2013
-
-
Tim Bradshaw authored
-
Dean McNamee authored
TypedArrays is not a module, it is attached to the global object. Don't register it with Node's module system.
-
Dean McNamee authored
Convert TypedArray's TypeName implementation to template specialization instead of a switch() statement.
-
Shigeki Ohtsu authored
socket.bufferSize missed to include the length of internal buffers in writableStream.
-
Mike Harsch authored
Building --with-dtrace requires objdump from GNU binutils. This change inserts a helpful error message if there is a problem executing objdump.
-
isaacs authored
Continuation lines should be indented with 4 spaces, not a tab.
-
isaacs authored
-
Fedor Indutny authored
-
Fedor Indutny authored
-
isaacs authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
V8 3.15 has new API functions that let you specify the Isolate. V8 and node.js generally spend 0.5-3.5% of the time in pthread_getspecific(), looking up the current Isolate. Avoid that overhead by making "our" isolate global so we can pass it around. The change to the new API is introduced in follow-up commits.
-
isaacs authored
Otherwise child procs will never emit a 'close' event if you don't ever consume their streams, because they will never hit the EOF.
-
isaacs authored
-
Maciej Małecki authored
Calling `resume()` on a stream switches it to the old mode which causes piping stdio from a child process to fail. Fixes joyent/node#4510.
-