- Oct 20, 2011
-
-
Fedor Indutny authored
-
Ben Noordhuis authored
Fixes #1912.
-
Ryan Dahl authored
-
Ryan Dahl authored
Unused.
-
Ryan Dahl authored
-
- Oct 19, 2011
-
-
Thomas Parslow authored
Fixes #1907.
-
koichik authored
Refs #394. Fixes #1902.
-
isaacs authored
Fix #1484 Fix #1834 Fix #1482 Fix #771 It's been a while now, and we've seen how this separate context thing works. It constantly confuses people, and no one actually uses '.clear' anyway, so the benefit of that feature does not justify the constant WTFery. This makes repl.context actually be a getter that returns the global object, and prints a deprecation warning. The '.clear' command is gone, and will report that it's an invalid repl keyword. Tests updated to allow the require, module, and exports globals, which are still available in the repl just like they were before, by making them global.
-
elliottcable authored
Squashed commit: (- re tests) Cleaning up the `Script` test suite. For whatever reason, there were several duplicate test files related to `Script` and the `'vm'` module. I removed these, and fixed a few other small issues. (More fixes coming in subsequent commits.) Squashes: 19e86045a0..1e3dcff4eb (api fix:1801 new:1801) `'vm'` module uses sandbox as prototype As described in GH-1801, the `'vm'` module was handling the `sandbox` object provided by the API consumer in a particularly terrible and fragile fashion: it was simply shallow-copying any enumerable properties from the sandbox onto the global context before executing the code, and then eventually copying any values on the global context back into the sandbox object *afterwards*. This commit removes all of that implementation, and utilizes the passed sandbox object as the *prototype of the context* instead. A bit of a hack, but a very effective one. This no longer allows for new variables created in the global context to be placed into your sandbox after execution has completed, but that’s for the best anyway, as it’s not very in line with the concept of a “box of passed-in context.” I’m planning to further implement an interface for API consumers to acquire the *actual global* from within the VM soon, thus allowing for separation-of-concerns: providing data *to* the VM via the sandbox-prototype, and exploring the internal environment of the VM itself. // GitHub cruft: closes #1801 Squashes: 43b8e3c..209ed86
-
Ryan Dahl authored
-
Ryan Dahl authored
This breaks fork().send({}, server._handle) after server.listen() because server._handle is not set. -
Ryan Dahl authored
-
Ryan Dahl authored
Not meaningful cross platform; unused.
-
Ryan Dahl authored
Breaks a few tests in "make test-message"
-
- Oct 17, 2011
-
-
koichik authored
-
Yoshihiro Kikuchi authored
Fixes #1885.
-
- Oct 16, 2011
-
-
koichik authored
-
Igor Zinkovsky authored
-
koichik authored
Fixes #1894.
-
koichik authored
-
- Oct 15, 2011
-
-
koichik authored
Add 'secureConnect' event to tls.CleartextStream. Fixes #1467.
-
Ben Noordhuis authored
This commit fixes two bugs in the handling of write requests when the connect() call is still in progress. 1. The deferred write request's size was counted twice towards `.bytesWritten`. 2. The callback was not called. After connecting, `Socket.write()` was called with three arguments (data, encoding, cb) but it ignored the third argument. Coincidentally fixes test/simple/test-net-connect-buffer.js.
-
Ben Noordhuis authored
-
Igor Zinkovsky authored
-
Igor Zinkovsky authored
-
Ben Noordhuis authored
Output from `ps` may contain trailing whitespace, trim it.
-
Ben Noordhuis authored
Unbreaks build on SunOS. Un-reverts 9bbca991.
-
isaacs authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
- Oct 14, 2011
-
-
koichik authored
Fixes #1516.
-
koichik authored
Fixes #1888.
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
A class with virtual methods should have a virtual destructor.
-