summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 2012.11.26, Version 0.8.15 (Stable)v0.8.15v0.8.15-releaseisaacs2012-11-261-1/+1
| | | | | | | | | | | | | | | | | | * npm: Upgrade to 1.1.66 (isaacs) * linux: use /proc/cpuinfo for CPU frequency (Ben Noordhuis) * windows: map WSAESHUTDOWN to UV_EPIPE (Ben Noordhuis) * windows: map ERROR_GEN_FAILURE to UV_EIO (Bert Belder) * unix: do not set environ unless one is provided (Charlie McConnell) * domains: don't crash if domain is set to null (Bert Belder) * windows: fix the x64 debug build (Bert Belder) * net, tls: fix connect() resource leak (Ben Noordhuis)
* domains: don't crash if domain is set to nullBert Belder2012-11-091-2/+2
| | | | Closes #4256
* Now working on 0.8.15isaacs2012-10-251-2/+2
|
* 2012.10.25, Version 0.8.14 (Stable)v0.8.14v0.8.14-releaseisaacs2012-10-251-1/+1
| | | | * events: Don't clobber pre-existing _events obj in EE ctor (isaacs)
* Now working on 0.8.14isaacs2012-10-251-2/+2
|
* 2012.10.25, Version 0.8.13 (Stable)v0.8.13v0.8.13-releaseisaacs2012-10-251-1/+1
| | | | | | | | | | | | | | | | | | | | * V8: Upgrade to 3.11.10.25 * npm: Upgrade to 1.1.65 * url: parse hostnames that start with - or _ (Ben Noordhuis) * repl: Fix Windows 8 terminal issue (Bert Belder) * typed arrays: use signed char for signed int8s (Aaron Jacobs) * crypto: fix bugs in DiffieHellman (Ben Noordhuis) * configure: turn on VFPv3 on ARMv7 (Ben Noordhuis) * Re-enable OpenSSL UI for entering passphrases via tty (Ben Noordhuis) * repl: ensure each REPL instance gets its own "context" (Nathan Rajlich)
* typed arrays: use `signed char` for signed int8sAaron Jacobs2012-10-231-4/+4
| | | | | The C standard allows plain `char` to be unsigned. The build environment at Google trips this issue.
* crypto: fix DH use-after-free and memory leakBen Noordhuis2012-10-221-2/+8
| | | | | | | | Fix a use-after-free bug and a memory leak in the error path of DiffieHellman::ComputeSecret(). * the BIGNUM key was used after being freed with BN_free(). * the output buffer was not freed
* crypto: fix DH 1 byte buffer underflowBen Noordhuis2012-10-221-18/+20
| | | | | Passing a bad key to DiffieHellman::ComputeSecret() made it zero the byte before the heap allocated buffer due to an erroneous size calculation.
* Now working on 0.8.13isaacs2012-10-121-2/+2
|
* 2012.10.12, Version 0.8.12 (Stable)v0.8.12v0.8.12-releaseisaacs2012-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | * npm: Upgrade to 1.1.63 * crypto: Reduce stability index to 2-Unstable (isaacs) * windows: fix handle leak in uv_fs_utime (Bert Belder) * windows: fix application crashed popup in debug version (Bert Belder) * buffer: report proper retained size in profiler (Ben Noordhuis) * buffer: fix byteLength with UTF-16LE (koichik) * repl: make "end of input" JSON.parse() errors throw in the REPL (Nathan Rajlich) * repl: make invalid RegExp modifiers throw in the REPL (Nathan Rajlich) * http: handle multiple Proxy-Authenticate values (Willi Eggeling)
* buffer: report proper retained size in profilerBen Noordhuis2012-10-111-1/+61
| | | | | | | Make buffers report the proper retained size in heap snapshots. Before this commit, Buffer objects would show up in the heap profiler as being only a few hundred bytes large, even if the actual buffer was many megabytes.
* crypto: fix -Wtautological-compare warningBen Noordhuis2012-10-091-29/+27
|
* Fix -Wsizeof-array-argument compiler warning.Andrew Paprocki2012-10-071-1/+1
|
* buffer: fix byteLength with UTF-16LEkoichik2012-10-041-0/+4
| | | | Fixes #4075.
* Now working on 0.8.12isaacs2012-09-271-2/+2
|
* 2012.09.27, Version 0.8.11 (Stable)v0.8.11v0.8.11-releaseisaacs2012-09-271-1/+1
| | | | * fs: Fix stat() size reporting for large files (Ben Noordhuis)
* fs: fix stat() reporting for large filesBen Noordhuis2012-09-261-2/+12
| | | | | | Use Number::New(), not Integer::New(). Large values won't fit in an Integer. Apply to the size, ino and blocks fields.
* Now working on 0.8.11isaacs2012-09-251-2/+2
|
* 2012.09.25, Version 0.8.10 (Stable)v0.8.10v0.8.10-releaseisaacs2012-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * npm: Upgrade to 1.1.62 * repl: make invalid RegExps throw in the REPL (Nathan Rajlich) * v8: loosen artificial mmap constraint (Bryan Cantrill) * process: fix setuid() and setgid() error reporting (Ben Noordhuis) * domain: Properly exit() on domain disposal (isaacs) * fs: fix watchFile() missing deletion events (Ben Noordhuis) * fs: fix assert in fs.watch() (Ben Noordhuis) * fs: don't segfault on deeply recursive stat() (Ben Noordhuis) * http: Remove timeout handler when data arrives (Frédéric Germain) * http: make the client "res" object gets the same domain as "req" (Nathan Rajlich) * windows: don't blow up when an invalid FD is used (Bert Belder) * unix: map EDQUOT to UV_ENOSPC (Charlie McConnell) * linux: improve /proc/cpuinfo parser (Ben Noordhuis) * win/tty: reset background brightness when color is set to default (Bert Belder) * unix: put child process stdio fds in blocking mode (Ben Noordhuis) * unix: fix EMFILE busy loop (Ben Noordhuis) * sunos: don't set TCP_KEEPALIVE (Ben Noordhuis) * tls: Use slab allocator for memory management (Fedor Indutny) * openssl: Use optimized assembly code for x86 and x64 (Bert Belder)
* process: fix setuid() and setgid() error reportingBen Noordhuis2012-09-171-0/+2
| | | | | Zero errno before calling getgrnam_r() or getpwnam_r(). If errno had previously been clobbered, node would report the wrong error.
* fs: fix assert in fs.watch()Ben Noordhuis2012-09-141-5/+10
| | | | | | | | | | | | 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.
* fs: don't segfault on deeply recursive stat()Ben Noordhuis2012-09-141-40/+43
| | | | | | | | | | | 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.
* Now working on 0.8.10isaacs2012-09-111-2/+2
|
* 2012.09.11, Version 0.8.9 (Stable)v0.8.9v0.8.9-releaseisaacs2012-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* crypto, tls: make setSNICallback() compatible with domainsBen Noordhuis2012-09-032-15/+12
|
* crypto: make pbkdf2() compatible with domainsBen Noordhuis2012-09-031-9/+8
|
* crypto: make randomBytes() compatible with domainsBen Noordhuis2012-09-031-14/+8
| | | | | | | | | | | | | | | 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.
* windows: don't blow when a signal handler is attachedBert Belder2012-09-031-0/+4
| | | | | | Blowing up when the user attaches a signal handler makes no sense. Also, in Node 0.10 signals will be supported, so allow people to get used to it.
* Now working on 0.8.9isaacs2012-08-221-2/+2
|
* 2012.08.22, Version 0.8.8 (Stable)v0.8.8v0.8.8-releaseisaacs2012-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * V8: upgrade to 3.11.10.19 * npm: upgrade to 1.1.59 * windows: fix uninitialized memory access in uv_update_time() (Bert Belder) * unix, windows: fix memory corruption in fs-poll.c (Ben Noordhuis) * unix: fix integer overflow in uv_hrtime (Tim Holy) * sunos: fix uv_cpu_info() on x86_64 (Ben Noordhuis) * tls: update default cipher list (Ben Noordhuis) * unix: Fix llvm and older gcc duplicate symbol warnings (Bert Belder) * fs: fix use after free in stat watcher (Ben Noordhuis) * build: Fix using manually compiled gcc on OS X (Nathan Rajlich) * windows: make junctions work again (Bert Belder)
* unix: don't explicitly instantiate v8::Persistent<x> templatesBert Belder2012-08-201-2/+5
| | | | | | These explicit instantiations were added to make MSVC happy. It turns out that some older versions of gcc and llvm now complain about duplicate symbols, so we instantiate these templates only when MSVC is used.
* fs: fix use after free in stat watcherBen Noordhuis2012-08-202-15/+30
| | | | | The uv_fs_poll_t handle was stopped but not closed, leaving libuv's internal handle queue in a corrupted state.
* Avoid compiler warning about negating unsigned valueBert Belder2012-08-171-1/+2
|
* windows: avoid MSVC warnings about templates not having a dll interfaceBert Belder2012-08-171-0/+6
|
* Now working on 0.8.8isaacs2012-08-151-2/+2
|
* 2012.08.15, Version 0.8.7 (Stable)v0.8.7v0.8.7-releaseisaacs2012-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | * npm: Upgrade to 1.1.49 * website: download page (Golo Roden) * crypto: fix uninitialized memory access in openssl (Ben Noordhuis) * buffer, crypto: fix buffer decoding (Ben Noordhuis) * build: compile with -fno-tree-vrp when gcc >= 4.0 (Ben Noordhuis) * tls: handle multiple CN fields when verifying cert (Ben Noordhuis) * doc: remove unused util from child_process (Kyle Robinson Young) * build: rework -fvisibility=hidden detection (Ben Noordhuis) * windows: don't duplicate invalid stdio handles (Bert Belder) * windows: fix typos in process-stdio.c (Bert Belder)
* buffer, crypto: fix buffer decodingBen Noordhuis2012-08-141-1/+19
| | | | | | | | | | | | | | | | | Before this commit, DecodeWrite() mistakenly tried to convert buffers to UTF-8 strings which: a) produced invalid character sequences when the buffer contained octets > 127, and b) lead to spurious test failures because DecodeWrite() wrote less bytes than DecodeBytes() said it would, with the remainder either containing zeros or garbage Fix that by simply copying the buffer's data to the target buffer when the encoding is BINARY or by converting the buffer to a binary string when it's UTF8 or ASCII. Fixes #3651, #3866.
* Now working on 0.8.7isaacs2012-08-071-2/+2
|
* 2012.08.07, Version 0.8.6 (Stable)v0.8.6isaacs2012-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | * npm: Upgrade to v1.1.48 * Add 'make binary' to build binary tarballs for all Unixes (Nathan Rajlich) * zlib: Emit 'close' on destroy(). (Dominic Tarr) * child_process: Fix stdout=null when stdio=['pipe'] (Tyler Neylon) * installer: prevent ETXTBSY errors (Ben Noordhuis) * installer: honor --without-npm, default install path (Ben Noordhuis) * net: make pause work with connecting sockets (Bert Belder) * installer: fix cross-compile installs (Ben Noordhuis) * net: fix .listen({fd:0}) (Ben Noordhuis) * windows: map WSANO_DATA to UV_ENOENT (Bert Belder)
* Now working on 0.8.6isaacs2012-08-021-2/+2
|
* 2012.08.02, Version 0.8.5 (Stable)v0.8.5isaacs2012-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * node: tag Encode and friends NODE_EXTERN (Ben Noordhuis) * fs: fix ReadStream / WriteStream missing callback (Gil Pedersen) * fs: fix readFileSync("/proc/cpuinfo") regression (Ben Noordhuis) * installer: don't assume bash is installed (Ben Noordhuis) * Report errors properly from --eval and stdin (isaacs) * assert: fix throws() throws an error without message property (koichik) * cluster: fix libuv assert in net.listen() (Ben Noordhuis) * build: always link sunos builds with libumem (Trent Mick) * build: improve armv7 / hard-float detection (Adam Malcontenti-Wilson) * https: Use host header as effective servername (isaacs) * sunos: work around OS bug to prevent fs.watch() from spinning (Bryan Cantrill) * linux: fix 'two watchers, one path' segfault (Ben Noordhuis) * windows: fix memory leaks in many fs functions (Bert Belder) * windows: don't allow directories to be opened for writing/appending (Bert Belder) * windows: make fork() work even when not all stdio handles are valid (Bert Belder) * windows: make unlink() not remove mount points, and improve performance (Bert Belder) * build: Sign pkg installer for OS X (isaacs)
* node: tag Encode and friends NODE_EXTERNBen Noordhuis2012-08-021-8/+8
| | | | | | Makes the symbols visible on Windows. They were already visible on Unices. Fixes #3811.
* Report errors properly from --eval and stdinisaacs2012-07-303-21/+45
|
* node: use variadic functions in ev-emul.hBen Noordhuis2012-07-281-2/+2
| | | | Fixes #3786.
* Now working on v0.8.5isaacs2012-07-251-2/+2
|
* 2012.07.25, Version 0.8.4 (Stable)v0.8.4isaacs2012-07-241-1/+1
| | | | | | | | | | | | | | | | | | * V8: Upgrade to 3.11.10.17 * npm: Upgrade to 1.1.45 * net: fix Socket({ fd: 42 }) api (Ben Noordhuis) * readline: Remove event listeners on close (isaacs) * windows: correctly prep long path for fs.exists(Sync) (Bert Belder) * debugger: wake up the event loop when a debugger command is dispatched (Peter Rybin) * tls: verify server's identity (Fedor Indutny) * net: ignore socket.setTimeout(Infinity or NaN) (Fedor Indutny)
* debugger: wake up the event loop when a debugger command is dispatchedPeter Rybin2012-07-231-0/+24
| | | | | | | | | | When the event loop was blocked in epoll / kqueue or similar, debugger commands wouldn't be processed. This patch fixes that by adding an uv_async handle which is triggered when a debugger command is dispatched. The async handle's callback makes sure that V8 is entered. Closes GH-3626 Closes GH-3718
* tls: veryify server's identityFedor Indutny2012-07-201-2/+3
|
* Now working on 0.8.4isaacs2012-07-191-2/+2
|