- Feb 11, 2014
-
-
Bert Belder authored
This implements a nested event loop that makes it possible to control a child process, while blocking the main loop until the process exits.
-
Timothy J Fontaine authored
Conflicts: lib/_stream_writable.js
-
Fedor Indutny authored
-
Fedor Indutny authored
fix #7015
-
- Feb 09, 2014
-
-
Fedor Indutny authored
fix #7081
-
Kenan Sulayman authored
Mitigate C++-land assertion error, add test accordingly. Fix #7070
-
Kenan Sulayman authored
Don't use argument as callback if it's not a valid callback function. Throw a valid exception instead explaining the issue. Adds to #7070 ("DNS — Throw meaningful error(s)"). -
Alexis Campailla authored
The number of connections achieved by the test can vary by platform and by machine. Lowering the acceptance threshold so that the test passes on Windows.
-
Timothy J Fontaine authored
Conflicts: deps/v8/src/preparser.cc deps/v8/src/win32-math.h doc/api/http.markdown src/node_buffer.h src/node_crypto.cc src/node_file.cc src/node_http_parser.cc
-
Timothy J Fontaine authored
Consolidate buffer bounds checking logic into Buffer namespace and use it consistently throughout the source.
-
isaacs authored
-
Brian White authored
-
- Feb 08, 2014
-
-
Fedor Indutny authored
This reverts commit 56e80a37.
-
Fedor Indutny authored
This reverts commit 2ee86c62.
-
Kenan Sulayman authored
Don't use argument as callback if it's not a valid callback function. Throw a valid exception instead explaining the issue. Adds to #7070 ("DNS — Throw meaningful error(s)"). -
Kenan Sulayman authored
Mitigat C++-land assertion error, add test accordingly. fix #7070
-
Austin Moran authored
-
Timothy J Fontaine authored
-
- Feb 06, 2014
-
-
Ben Noordhuis authored
Make vm.runInContext() and vm.runInNewContext() stop copying the Proxy object from the parent context into the new context when --harmony or --harmony_proxies is in effect because it overwrites the new context's native Proxy object. This commit also adds a regression test for Harmony symbols. They work okay in the current implementation and the test should ensure it stays that way.
-
Ben Noordhuis authored
Conditional globals like 'gc' should only be recognized when --expose_gc is set. The global.gc feature check works only when done eagerly, else it lets through a leaked variable called 'gc'.
-
Nathan Rajlich authored
Before, `new String('foo')` would be inspected as `"{}"` which is simply not very helpful. Now, a more meaningful `"[String: 'foo']"` result will be returned from `util.inspect()`. Boxed String, Boolean, and Number types are all supported. Closes #7047 -
Fedor Indutny authored
Try embedding the ` ... ^` lines inside the `SyntaxError` (or any other native error) object before giving up and printing them to the stderr. fix #6920 fix #1310
-
iamdoron authored
-
Trevor Norris authored
The AsyncListener API has been moved into the "tracing" module in order to keep the process object free from unnecessary clutter. Signed-off-by:Timothy J Fontaine <tjfontaine@gmail.com>
-
Trevor Norris authored
Now the second field in asyncFlags will tell if the provider is currently being watched, or listened for. Signed-off-by:Timothy J Fontaine <tjfontaine@gmail.com>
-
Trevor Norris authored
These will be used to allow users to filter for which types of calls they wish their callbacks to run. Signed-off-by:Timothy J Fontaine <tjfontaine@gmail.com>
-
Trevor Norris authored
"flags" could mean one of many things, and multiple flag types could be checked. So make the field more explicit on what type of flags are being stored. Signed-off-by:Timothy J Fontaine <tjfontaine@gmail.com>
-
Timothy J Fontaine authored
-
Ben Noordhuis authored
Add a one-to-one binding to v8::GetHeapStatistics(). Returns info on the current state of the JS heap, like total size and amount used.
-
Ben Noordhuis authored
Add a new 'tracing' module with a v8 property that lets the user register listeners for gc events. The listeners are invoked after every garbage collection cycle with 'before' and 'after' statistics. Useful for monitoring tools that want to keep track of memory usage.
-
Ben Noordhuis authored
Create a new HandleScope before looking up the object context with v8::Object::CreationContext(), else we leak the Local<Context> into the current HandleScope. That's relatively harmless unless the HandleScope is long-lived and MakeCallback() is called a lot. In a scenario like that, we may end up leaking a lot of memory. What is unfortunate about this change is that we're trying hard to eradicate the node_isolate global. Longer term, we will probably have to change the MakeCallback() prototype to one that requires an explicit v8::Isolate* argument.
-
Ben Noordhuis authored
Make it possible to invoke MakeCallback() on a v8::Value but only for the variant that takes a v8::Function as the thing to call. The const char* and v8::String variants still require a v8::Object because the function to call is looked up as a property on the receiver, but that only works when the receiver is an object, not a primitive.
-
Fedor Indutny authored
Introduce `ticketKeys` server option, `session` client option, `getSession()` and `getTLSTicket()` methods. fix #7032
-
- Feb 05, 2014
-
-
Fedor Indutny authored
Try to be consistent with v0.10 and emit "Maximum call stack size reached", even if it happens when allocating context or doing other stuff. fix #7045
-
Alexis Campailla authored
If the call to writeBuffer completes asynchronously, we need to have an oncomplete callback on the request object no matter what. The writeQueueSize seems irrelvant to that regard. Note that on Windows writeBuffer always completes asynchronously. See related commit 9836a4ee
-
- Feb 04, 2014
-
-
Benjamin Waters authored
References for err.signal and err.code should be error.signal and error.code. Fixes joyent/node#6862
-
Alexis Campailla authored
Re-applying commit 153784b3, which was overwritten by the update to openssl 1.0.1f. Original source: http://openssl.6102.n7.nabble.com/PATCH-s-client-Fix-keypress-requirement-with-redirected-input-on-Windows-td46787.html
-
Yuriy Nemtsov authored
-
Ben Noordhuis authored
Update the list of root certificates in src/node_root_certs.h with tools/mk-ca-bundle.pl and update src/node_crypto.cc to make use of the new format. Fixes #6013.
-
Fedor Indutny authored
-