- Apr 04, 2013
-
-
Ben Noordhuis authored
Always define v8_postmortem_support, even if the platform does not support it. Commit d8852aa9 adds a rule that references it in node.gyp. Fixes the Windows build.
-
Paddy Byers authored
-
- Apr 02, 2013
-
-
Timothy J Fontaine authored
The DTrace probes were updated to accomodate platforms that can't handle structs, update the prototypes for ETW but it's not necessary to do anything with the new arguments as it's redundant information.
-
Kyle Robinson Young authored
-
- Mar 31, 2013
-
-
David Braun authored
Expand the JSON representation of Buffer to include type information so that it can be deserialized in JSON.parse() without context. Fixes #5110. Fixes #5143.
-
- Mar 30, 2013
-
-
Ben Noordhuis authored
Check that _handle is an object before trying to read its `fd` property, avoids bogus values.
-
Timothy J Fontaine authored
When using the DTrace/systemtap subsystems it would be helpful to actually have an fd associated with the requests and responses.
-
Dave Pacheco authored
OSX and other DTrace implementations don't support dereferencing structs in probes. To accomodate that pass members from the struct as arguments so that DTrace is useful on those systems.
-
Dave Pacheco authored
-
Trevor Norris authored
-
- Mar 29, 2013
-
-
Ben Noordhuis authored
Pass the Isolate to Persistent<Function>::New(). Fixes the following warning: ../../src/node.cc: In function ‘v8::Handle<v8::Value> node::UsingDomains(const v8::Arguments&)’: ../../src/node.cc:921: warning: ‘New’ is deprecated declared at ../../deps/v8/include/v8.h:4438)
-
Ben Noordhuis authored
-
Kyle Robinson Young authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
* V8: update to 3.17.13 * os: use %SystemRoot% or %windir% in os.tmpdir() (Suwon Chae) * util: fix util.inspect() line width calculation (Marcin Kostrzewa) * buffer: remove _charsWritten (Trevor Norris) * fs: uv_[fl]stat now reports subsecond resolution (Timothy J Fontaine) * fs: Throw if error raised and missing callback (bnoordhuis) * tls: expose SSL_CTX_set_timeout via tls.createServer (Manav Rathi) * tls: remove harmful unnecessary bounds checking (Marcel Laverdet) * buffer: write ascii strings using WriteOneByte (Trevor Norris) * dtrace: fix generation of v8 constants on freebsd (Fedor Indutny) * dtrace: x64 ustack helper (Fedor Indutny) * readline: handle wide characters properly (Nao Iizuka) * repl: Use a domain to catch async errors safely (isaacs) * repl: emit 'reset' event when context is reset (Sami Samhuri) * util: custom `inspect()` method may return an Object (Nathan Rajlich) * console: `console.dir()` bypasses inspect() methods (Nathan Rajlich)
-
isaacs authored
Conflicts: src/node.cc src/node_version.h
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
Ben Noordhuis authored
-
isaacs authored
* npm: Upgrade to 1.2.15 * uv: Upgrade to 0.10.3 * tls: handle SSL_ERROR_ZERO_RETURN (Fedor Indutny) * tls: handle errors before calling C++ methods (Fedor Indutny) * tls: remove harmful unnecessary bounds checking (Marcel Laverdet) * crypto: make getCiphers() return non-SSL ciphers (Ben Noordhuis) * crypto: check randomBytes() size argument (Ben Noordhuis) * timers: do not calculate Timeout._when property (Alexey Kupershtokh) * timers: fix off-by-one ms error (Alexey Kupershtokh) * timers: handle signed int32 overflow in enroll() (Fedor Indutny) * stream: Fix stall in Transform under very specific conditions (Gil Pedersen) * stream: Handle late 'readable' event listeners (isaacs) * stream: Fix early end in Writables on zero-length writes (isaacs) * domain: fix domain callback from MakeCallback (Trevor Norris) * child_process: don't emit same handle twice (Ben Noordhuis) * child_process: fix sending utf-8 to child process (Ben Noordhuis)
-
Bert Belder authored
-
isaacs authored
-
Fedor Indutny authored
see #5004
-
wicked authored
Dramatically improves Timer performance.
-
isaacs authored
cc: @mjijackson
-
isaacs authored
In cases where a stream may have data added to the read queue before the user adds a 'readable' event, there is never any indication that it's time to start reading. True, there's already data there, which the user would get if they checked However, as we use 'readable' event listening as the signal to start the flow of data with a read(0) call internally, we ought to trigger the same effect (ie, emitting a 'readable' event) even if the 'readable' listener is added after the first emission. To avoid confusing weirdness, only the *first* 'readable' event listener is granted this privileged status. After we've started the flow (or, alerted the consumer that the flow has started) we don't need to start it again. At that point, it's the consumer's responsibility to consume the stream. Closes #5141
-
isaacs authored
Also, an example program of using cluster and domain to handle errors safely, with zero downtime, using process isolation.
-
- Mar 28, 2013
-
-
Benjamin Ruston authored
-
Suwon Chae authored
On Windows, respect the SystemRoot and windir environment variables, don't default to c:\windows\temp.
-
Marcin Kostrzewa authored
Have the formatter filter out vt100 color codes when calculating the line width. Stops it from unnecessarily splitting strings over multiple lines. Fixes #5039.
-
Ben Noordhuis authored
-
isaacs authored
A llvm/clang bug on Darwin ia32 makes these tests fail 100% of the time. Since no one really seems to mind overly much, and we can't reasonably fix this in node anyway, just accept both types of NaN for now.
-
- Mar 27, 2013
-
-
Fedor Indutny authored
Calling `this.pair.encrypted._internallyPendingBytes()` before handling/resetting error will result in assertion failure: ../src/node_crypto.cc:962: void node::crypto::Connection::ClearError(): Assertion `handle_->Get(String::New("error"))->BooleanValue() == false' failed. see #5058 -
Benjamin Ruston authored
-
Fedor Indutny authored
Microsoft's IIS doesn't support it, and is not replying with ServerHello after receiving ClientHello which contains it. The good way might be allowing to opt-out this at runtime from javascript-land, but unfortunately OpenSSL doesn't support it right now. see #5119
-
Trevor Norris authored
Since _tickCallback and _tickDomainCallback were both called from MakeCallback, it was possible for a callback to be called that required a domain directly to _tickCallback. The fix was to implement process.usingDomains(). This will set all applicable functions to their domain counterparts, and set a flag in cc to let MakeCallback know domain callbacks always need to be checked. Added test in own file. It's important that the test remains isolated.
-
Ben Noordhuis authored
Those poor sods on systems where /usr/bin/sed is a BSD sed can now do `make -C deps/openssl/asm SED=gsed`.
-