summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 2012.07.19, Version 0.8.3 (Stable)v0.8.3isaacs2012-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * V8: upgrade to 3.11.10.15 * npm: Upgrade to 1.1.43 * net: fix net.Server.listen({fd:x}) error reporting (Ben Noordhuis) * net: fix bogus errno reporting (Ben Noordhuis) * build: Move npm shebang logic into an npm script (isaacs) * build: fix add-on loading on freebsd (Ben Noordhuis) * build: disable unsafe optimizations (Ben Noordhuis) * build: fix spurious mksnapshot crashes for good (Ben Noordhuis) * build: speed up genv8constants (Dave Pacheco) * fs: make unwatchFile() remove a specific listener (Ben Noordhuis) * domain: Remove first arg from intercepted fn (Toshihiro Nakamura) * domain: Fix memory leak on error (isaacs) * events: Fix memory leak from removeAllListeners (Nathan Rajlich) * zlib: Fix memory leak in Unzip class. (isaacs) * crypto: Fix memory leak in DecipherUpdate() (Ben Noordhuis)
* node: make ev-emul.h compile with -Wextra -WerrorBen Noordhuis2012-07-181-7/+16
| | | | | | | Explicitly cast double to int64_t, it was making add-ons that compile with `-Wall -Wextra -Werror` fail to build. Don't use fully variadic macros, gcc in uber-strict mode rejects them.
* net: fix net.Server.listen({fd:x}) error reportingBen Noordhuis2012-07-121-0/+3
| | | | | | | | | * don't assert when fd isn't an open file descriptor * don't die with a ReferenceError when fd isn't a file descriptor you can listen() on Fixes #3699.
* Now working on 0.8.3isaacs2012-07-091-2/+2
|
* Merge branch 'v0.8.2-release' into v0.8isaacs2012-07-091-1/+1
|\ | | | | | | | | Conflicts: AUTHORS
| * 2012.07.09, Version 0.8.2 (Stable)v0.8.2isaacs2012-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * npm: Upgrade to 1.1.36 * readline: don't use Function#call() (Nathan Rajlich) * Code cleanup to pass 'use strict' (Jonas Westerlund) * module: add filename to require() json errors (TJ Holowaychuk) * readline: fix for unicode prompts (Tim Macfarlane) * timers: fix handling of large timeouts (Ben Noordhuis) * repl: fix passing an empty line inserting "undefined" into the buffer (Nathan Rajlich) * repl: fix crashes when buffering command (Maciej MaƂecki) * build: rename strict_aliasing to node_no_strict_aliasing (Ben Noordhuis) * build: disable -fstrict-aliasing for any gcc < 4.6.0 (Ben Noordhuis) * build: detect cc version with -dumpversion (Ben Noordhuis) * build: handle output of localized gcc or clang (Ben Noordhuis) * unix: fix memory corruption in freebsd.c (Ben Noordhuis) * unix: fix 'zero handles, one request' busy loop (Ben Noordhuis) * unix: fix busy loop on unexpected tcp message (Ben Noordhuis) * unix: fix EINPROGRESS busy loop (Ben Noordhuis)
* | zlib: Call inflateEnd for UNZIP. Fixes memory leak.isaacs2012-07-081-1/+2
| | | | | | | | Fix #2595
* | process: throw a TypeError when anything but an Array is passed to hrtime()Nathan Rajlich2012-07-081-0/+5
| | | | | | | | Fixes #3664.
* | crypto: fix DecipherUpdate() memory leakBen Noordhuis2012-07-081-4/+2
|/ | | | Fix a memory leak in the the code path that deals with partial hex strings.
* Now working on 0.8.2isaacs2012-07-071-2/+2
|
* Assign to property of global, instead of implicit global variableJonas Westerlund2012-07-061-1/+1
| | | | Fixes crash in strict mode.
* 2012.06.29, Version 0.8.1 (stable)v0.8.1isaacs2012-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * V8: upgrade to v3.11.10.12 * npm: upgrade to v1.1.33 - Support for parallel use of the cache folder - Retry on registry timeouts or network failures (Trent Mick) - Reduce 'engines' failures to a warning - Use new zsh completion if aviailable (Jeremy Cantrell) * Fix #3577 Un-break require('sys') * util: speed up formatting of large arrays/objects (Ben Noordhuis) * windows: make fs.realpath(Sync) work with UNC paths (Bert Belder) * build: fix --shared-v8 option (Ben Noordhuis) * doc: `detached` is a boolean (Andreas Madsen) * build: use proper python interpreter (Ben Noordhuis) * build: expand ~ in `./configure --prefix=~/a/b/c` (Ben Noordhuis) * build: handle CC env var with spaces (Gabriel de Perthuis) * build: fix V8 build when compiling with gcc 4.5 (Ben Noordhuis) * build: fix --shared-v8 option (Ben Noordhuis) * windows msi: Fix icon issue which caused huge file size (Bert Belder) * unix: assume that dlopen() may clobber dlerror() (Ben Noordhuis) * sunos: fix memory corruption bugs (Ben Noordhuis) * windows: better (f)utimes and (f)stat (Bert Belder)
* windows: remove 256x256 version of the iconBert Belder2012-06-251-0/+0
| | | | Nobody needs that anyway, it's just eating up space.
* Now working on 0.8.1isaacs2012-06-251-2/+2
|
* 2012.06.25, Version 0.8.0 (stable)v0.8.0isaacs2012-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * V8: upgrade to v3.11.10.10 * npm: Upgrade to 1.1.32 * Deprecate iowatcher (Ben Noordhuis) * windows: update icon (Bert Belder) * http: Hush 'MUST NOT have a body' warnings to debug() (isaacs) * Move blog.nodejs.org content into repository (isaacs) * Fix #3503: stdin: resume() on pipe(dest) (isaacs) * crypto: fix error reporting in SetKey() (Fedor Indutny) * Add --no-deprecation and --trace-deprecation command-line flags * (isaacs) * fs: fix fs.watchFile() (Ben Noordhuis) * fs: Fix fs.readfile() on pipes (isaacs) * Rename GYP variable node_use_system_openssl to be consistent (Ryan * Dahl)
* stdin.pipe: Replace forgotten opts memberisaacs2012-06-211-2/+2
|
* Merge branch 'stdin-resume-pipe'isaacs2012-06-211-0/+8
|\
| * Fix #3503: stdin: resume() on pipe(dest)isaacs2012-06-211-0/+8
| |
* | crypto: fix error reporting in SetKey()Fedor Indutny2012-06-211-1/+8
|/
* Externalize node::no_deprecationisaacs2012-06-213-3/+3
|
* Apply --no-deprecation to C++ warnings as wellisaacs2012-06-214-4/+10
|
* Add --no-deprecation and --trace-deprecation flagsisaacs2012-06-212-33/+28
|
* iowatcher: add deprecation warningBen Noordhuis2012-06-211-0/+2
|
* fs: make fs.watchFile() interval default to 5007Ben Noordhuis2012-06-212-28/+5
|