- Sep 25, 2012
-
-
isaacs authored
-
Adam Blackburn authored
-
Nathan Rajlich authored
Fixes #4046.
-
- Sep 22, 2012
-
-
Nathan Rajlich authored
Fixes #2746.
-
Bert Belder authored
-
Bryan Cantrill authored
Fixes #4010.
-
isaacs authored
This addresses #4034. There are two problems happening: 1. The domain is not exited automatically when calling dispose() on it. Then, since the domain is disposed, attempting to exit it again will do nothing. 2. The active domain is stored on process.domain. Since thrown errors call `process.emit('uncaughtException', er)`, and the process is an event emitter with a `.domain` member, it re-enters the domain a second time before calling the error handler, pushing it onto the stack again. Thus, if the handler calls `domain.dispose()`, then the domain is now on the stack twice, and cannot be exited properly. Since the domain is disposed, any subsequent IO will be no-op'ed, since we've declared that this context is done and best forgotten. The solution here is twofold: 1. In EventEmitter.emit, do not enter the domain if `this===process`. 2. Automatically exit the domain when calling `domain.dispose()`.
-
- Sep 18, 2012
-
-
isaacs authored
-
- Sep 17, 2012
-
-
Ben Noordhuis authored
Make sure the deletion event gets reported in the following scenario: 1. Watch a file. 2. The initial stat() goes okay. 3. Something deletes the watched file. 4. The second stat() fails with ENOENT. The second stat() translates into the first 'change' event but a logic error stopped it from getting emitted. Fixes #4027.
-
Robin Lee authored
-
Ben Noordhuis authored
Zero errno before calling getgrnam_r() or getpwnam_r(). If errno had previously been clobbered, node would report the wrong error.
-
- Sep 14, 2012
-
-
Ben Noordhuis authored
Fix the following error: FSEventWrap: Aborting due to unwrap failure at ../../src/fs_event_wrap.cc:169 It's possible and legal for a handle to be closed twice. HandleWrap::Close() deals with that by ignoring the second close. Now FSEventWrap::Close() does too. Fixes #3997.
-
Ben Noordhuis authored
Check that the calls to Integer::New() and Date::New() succeed and bail out if they don't. V8 returns an empty handle on stack overflow. Trying to set the empty handle as a property on an object results in a NULL pointer dereference in release builds and an assert in debug builds. Fixes #4015.
-
Nathan Rajlich authored
This fixes an omission in cl 10818026. Patch by Nathan Rajlich. Review URL: http://codereview.chromium.org/10913256
-
yangguo@chromium.org authored
BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10818026 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@12194 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- Sep 13, 2012
-
-
Frédéric Germain authored
-
- Sep 12, 2012
-
-
Ben Noordhuis authored
fs.watch() is implemented on all supported platforms but, depending on the object being watched, doesn't always work reliably (or at all). Fixes #4005.
-
Ben Noordhuis authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
* v8: upgrade to 3.11.10.22 * GYP: upgrade to r1477 * npm: Upgrade to 1.1.61 * npm: Don't create world-writable files (isaacs) * windows: fix single-accept mode for shared server sockets (Bert Belder) * windows: fix uninitialized memory access in uv_update_time() (Bert Belder) * windows: don't throw when a signal handler is attached (Bert Belder) * unix: fix memory leak in udp (Ben Noordhuis) * unix: map errno ESPIPE (Ben Noordhuis) * unix, windows: fix memory corruption in fs-poll.c (Ben Noordhuis) * sunos: fix os.cpus() on x86_64 (Ben Noordhuis) * child process: fix processes with IPC channel don't emit 'close' (Bert Belder) * build: add a "--dest-os" option to force a gyp "flavor" (Nathan Rajlich) * build: set `process.platform` to "sunos" on SunOS (Nathan Rajlich) * build: fix `make -j` fails after `make clean` (Bearice Ren) * build: fix openssl configuration for "arm" builds (Nathan Rajlich) * tls: support unix domain socket/named pipe in tls.connect (Shigeki Ohtsu) * https: make https.get() accept a URL (koichik) * http: respect HTTP/1.0 TE header (Ben Noordhuis) * crypto, tls: Domainify setSNICallback, pbkdf2, randomBytes (Ben Noordhuis) * stream.pipe: Don't call destroy() unless it's a function (isaacs)
-
isaacs authored
-
- Sep 11, 2012
- Sep 10, 2012
-
-
Nathan Rajlich authored
This makes cross-compiling easier. i.e. from my mac: ./configure --dest-cpu=arm --dest-os=linux
-
- Sep 09, 2012
-
-
Nathan Rajlich authored
-
Ben Noordhuis authored
A HTTP/1.0 client does not support 'Transfer-Encoding: chunked' unless it explicitly requests it by sending a 'TE: chunked' header. Before this commit, node.js always disabled chunked encoding for HTTP/1.0 clients. Now it will scan for the TE header and turn on chunked encoding if requested and applicable. Fixes #940.
-
- Sep 07, 2012
-
-
Pooya Karimian authored
-
- Sep 06, 2012
-
-
Fedor Indutny authored
Landed upstream: https://chromiumcodereview.appspot.com/10867009/
-
Bert Belder authored
-
Bert Belder authored
-
- Sep 05, 2012
-
-
Bert Belder authored
Ref: #3964
-
- Sep 04, 2012
-
-
Atsuya Takagi authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
Don't execute the callback in the context of the global object. MakeCallback() tries to apply the active domain to the callback. If the user polluted the global object with a 'domain' property, as in the code example below, MakeCallback() will try to apply that. Example: domain = {}; // missing var keyword is intentional crypto.randomBytes(8, cb); // TypeError: undefined is not a function Fixes #3956.
-