- May 23, 2013
-
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
This saves a few calls to gettimeofday which can be expensive, and potentially subject to clock drift. Instead use the loop time which uses hrtime internally. fixes #5497
-
Trevor Norris authored
Now that Context::New(Isolate*) returns Local, the removed comment is no longer applicable that there is a Persistent which will need to be disposed.
-
Trevor Norris authored
Small change that Context::New requires an isolate and returns Local instead of Persistent.
-
Ben Noordhuis authored
-
Trevor Norris authored
-
isaacs authored
Test typos missed in util deprecation commit
-
- May 22, 2013
-
-
isaacs authored
-
- May 21, 2013
-
-
isaacs authored
Conflicts: AUTHORS ChangeLog src/node_crypto.cc src/node_version.h
-
isaacs authored
Fixes #5499
-
Trevor Norris authored
Because of variations in different base64 implementation, it's been decided to strip all padding from the end of a base64 string and calculate its size from that.
-
- May 20, 2013
-
-
Ben Noordhuis authored
Add localAddress and localPort properties to tls.CleartextStream. Like remoteAddress and localPort, delegate to the backing net.Socket object. Refs #5502.
-
- May 18, 2013
-
-
isaacs authored
-
Robert Kowalski authored
Instead of using a custom solution we can use path.sep in Module._nodeModulePaths
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
Conflicts: AUTHORS ChangeLog deps/uv/ChangeLog deps/uv/config-unix.mk deps/uv/src/unix/stream.c deps/uv/src/version.c deps/uv/uv.gyp src/node.cc src/node_buffer.cc src/node_crypto.cc src/node_version.h src/stream_wrap.cc src/stream_wrap.h
-
isaacs authored
* uv: upgrade to v0.10.7 * npm: Upgrade to 1.2.21 * crypto: Don't ignore verify encoding argument (isaacs) * buffer, crypto: fix default encoding regression (Ben Noordhuis) * timers: fix setInterval() assert (Ben Noordhuis)
-
Brandon Frohs authored
-
isaacs authored
-
- May 17, 2013
-
-
Trevor Norris authored
Instead of String::New every time, use a Persistent sym. This can be accomplished in two ways: 1) Local<String> str = *persistent_str_sym; 2) Handle<String> str = persistent_str_sym; I've chosen to use the latter method for simplicity's sake. Other small changes include creating syms on Initialize and removing unnecessary Local casting on return values.
-
Trevor Norris authored
Few primitives weren't being passed node_isolate. Adding them for consistency.
-
- May 16, 2013
-
-
Ben Noordhuis authored
The default encoding is 'buffer'. When the input is a string, treat it as 'binary'. Fixes the following assertion: node: ../src/string_bytes.cc:309: static size_t node::StringBytes::StorageSize(v8::Handle<v8::Value>, node::encoding): Assertion `0 && "buffer encoding specified but string provided"' failed. Introduced in 64fc34b2. Fixes #5482.
-
Ryuichi Okumura authored
-
Ryuichi Okumura authored
-
Trevor Norris authored
The incoming Buffer was being sliced just to possibly not be used. Instead place the .slice inside the conditional to not be created unless necessary.
-
Timothy J Fontaine authored
-
Ben Noordhuis authored
Test case: var t = setInterval(function() {}, 1); process.nextTick(t.unref); Output: Assertion failed: (args.Holder()->InternalFieldCount() > 0), function Unref, file ../src/handle_wrap.cc, line 78. setInterval() returns a binding layer object. Make it stop doing that, wrap the raw process.binding('timer_wrap').Timer object in a Timeout object. Fixes #4261. -
Robert Kowalski authored
Instead of using a custom solution for path delimiters we can use path.sep in Module._initPaths
-
Ben Noordhuis authored
Commit 38149bb0 changes http.get() and http.request() to escape unsafe characters. However, that creates an incompatibility with v0.10 that is difficult to work around: if you escape the path manually, then in v0.11 it gets escaped twice. Change lib/http.js so it no longer tries to fix up bad request paths, simply reject them with an exception. The actual check is rather basic right now. The full check for illegal characters is difficult to implement efficiently because it requires a few characters of lookahead. That's why it currently only checks for spaces because those are guaranteed to create an invalid request. Fixes #5474.
-
Ben Noordhuis authored
net.connect() and net.createConnection() now emit a 'lookup' event after resolving the hostname but before connecting. Fixes #5418.
-
Ben Noordhuis authored
Please msbuild, update the header list.
-
Ben Noordhuis authored
-
Ryan Graham authored
While they reference the same object, they are only interchangeable for updates, not assignment.
-
Ryan Graham authored
When exporting a single function you must use `module.exports` instead of the `exports` convenience reference.
-
- May 15, 2013
-
-
Bert Belder authored
-
Bert Belder authored
-
isaacs authored
-
isaacs authored
-