Fedor Indutny [Mon, 6 Jan 2014 15:35:36 +0000 (19:35 +0400)]
deps: update openssl to 1.0.1f
Ben Noordhuis [Tue, 7 Jan 2014 16:51:41 +0000 (17:51 +0100)]
build: unconditionally disable -Werror
Forcibly disable -Werror, the old { 'werror': '' } hack in node.gyp
no longer works with newer versions of V8.
We support a wide range of compilers, it's simply not feasible to
squelch all warnings, never mind that the libraries in deps/ are
not under our control.
Fixes #6817.
Lorenz Leutgeb [Sun, 5 Jan 2014 11:07:54 +0000 (12:07 +0100)]
doc: Add forward secrecy section to TLS docs
This fixes confusion connected to comparison of ECDH
with RSA and wrong information on forward secrecy.
Fedor Indutny [Sat, 14 Dec 2013 11:28:07 +0000 (15:28 +0400)]
crypto: introduce .setEngine(engine, [flags])
Trevor Norris [Sat, 4 Jan 2014 00:46:09 +0000 (16:46 -0800)]
node: properly check uid when adding AsyncListener
Instead of checking the uid on the array index of the queue, instead the
object property "uid" was checked on the queue iteself. Because this
will always evaluate to "undefined" the same listener could be added
multiple times to the same context.
Trevor Norris [Fri, 3 Jan 2014 00:40:30 +0000 (16:40 -0800)]
node: change AsyncListener API
There was a flaw in the old API that has been fixed. Now the
asyncListener callback is now the "create" object property in the
callback object, and is optional.
Timothy J Fontaine [Wed, 1 Jan 2014 00:28:49 +0000 (16:28 -0800)]
Merge remote-tracking branch 'upstream/v0.10'
Timothy J Fontaine [Wed, 1 Jan 2014 00:24:58 +0000 (16:24 -0800)]
blog: Post for v0.11.10
Timothy J Fontaine [Wed, 1 Jan 2014 00:21:08 +0000 (16:21 -0800)]
Now working on 0.11.11
Timothy J Fontaine [Wed, 1 Jan 2014 00:20:58 +0000 (16:20 -0800)]
Merge branch 'v0.11.10-release'
Timothy J Fontaine [Tue, 31 Dec 2013 23:37:12 +0000 (15:37 -0800)]
2013.12.31, Version 0.11.10 (Unstable)
* http_parser: update to 2.2
* uv: Upgrade to v0.11.17
* v8: Upgrade to 3.22.24.10
* buffer: optimize writeInt* methods (Paul Loyd)
* child_process: better error handling (Alexis Campailla)
* cluster: do not synchronously emit 'setup' event (Sam Roberts)
* cluster: restore backwards compatibility and various fixes (Sam Roberts)
* crypto: remove unnecessary OpenSSL_add_all_digests (Yorkie)
* crypto: support GCM authenticated encryption mode. (Ingmar Runge)
* dns: add resolveSoa and 'SOA' rrtype (Tuğrul Topuz)
* events: move EE c'tor guts to EventEmitter.init (Bert Belder)
* http: DELETE shouldn't default to chunked encoding (Lalit Kapoor)
* http: parse the status message in a http response. (Cam Swords)
* node: fix removing AsyncListener in callback (Vladimir Kurchatkin)
* node: follow specification, zero-fill ArrayBuffers (Trevor Norris)
* openssl: use ASM optimized routines (Fedor Indutny)
* process: allow nextTick infinite recursion (Trevor Norris)
* querystring: remove `name` from `stringify()` (Yorkie)
* timers: setImmediate v8 optimization fix (pflannery)
* tls: add serialNumber to getPeerCertificate() (Ben Noordhuis)
* tls: reintroduce socket.encrypted (Fedor Indutny)
* tls: fix handling of asterisk in SNI context (Fedor Indutny)
* util: Format negative zero as '-0' (David Chan)
* vm: fix race condition in timeout (Alexis Campailla)
* windows: fix dns lookup of localhost with ipv6 (Alexis Campailla)
Timothy J Fontaine [Tue, 31 Dec 2013 23:02:38 +0000 (15:02 -0800)]
v8: Upgrade to 3.22.24.10
Timothy J Fontaine [Tue, 31 Dec 2013 22:57:46 +0000 (14:57 -0800)]
Merge remote-tracking branch 'upstream/v0.10'
Maciej Małecki [Tue, 12 Nov 2013 10:28:44 +0000 (11:28 +0100)]
doc: document that `process.send` is synchronous
Ref #2598
Timothy J Fontaine [Tue, 31 Dec 2013 22:48:20 +0000 (14:48 -0800)]
doc: clarify process on exit safe usage
Ron Korving [Wed, 6 Nov 2013 03:23:35 +0000 (12:23 +0900)]
docs: process.on('exit') receives exit code
The fact that the "exit" event passes the exit code as an argument
as omitted from the documentation. This adds the explanation and
augments the example code to show that.
Tuğrul Topuz [Mon, 21 Oct 2013 13:47:57 +0000 (16:47 +0300)]
dns: add resolveSoa and 'SOA' rrtype
You can now query for SOA records by either passing 'SOA' to `resolve`
or by using the new `resolveSoa`
Timothy J Fontaine [Tue, 31 Dec 2013 21:56:15 +0000 (13:56 -0800)]
Merge remote-tracking branch 'upstream/v0.10'
Conflicts:
lib/cluster.js
lib/dgram.js
lib/net.js
Timothy J Fontaine [Tue, 31 Dec 2013 19:57:13 +0000 (11:57 -0800)]
test: fix test-cluster-eaccess to work on windows
Sam Roberts [Tue, 31 Dec 2013 05:36:49 +0000 (21:36 -0800)]
test: fix assumption of worker exit on disconnect
Master was disconnecting its workers as soon as they both started up.
Meanwhile, the workers were trying to listen. Its a race, sometimes the
disconnect would happen between when worker gets the response message,
and acks that message with a 'listening'. This worked OK after v0.11
introduced a behaviour where disconnect would always exit the worker,
but once that backwards-incompatible behaviour is removed, the worker
lives long enough to try and respond to the master, and child_process
errors at the attempt to send from a disconnected child.
Sam Roberts [Wed, 18 Dec 2013 00:04:20 +0000 (16:04 -0800)]
cluster: do not synchronously emit 'setup' event
This is a problem present in both v0.10, and v0.11, where the 'setup'
event is synchronously emitted by `cluster.setupMaster()`, a mostly
harmless anti-pattern.
Sam Roberts [Tue, 3 Dec 2013 03:00:39 +0000 (19:00 -0800)]
cluster: only forcibly exit worker on unclean exit
Fix inadvertent v0.11 changes to the definition of suicide, particularly
the relationship between suicide state, the disconnect event, and when
exit should occur.
In v0.10, workers don't forcibly exit on disconnect, it doesn't give
them time to do a graceful finish of open client connections, they exit
under normal node rules - when there is nothing left to do. But on
unexpected disconnect they do exit so the workers aren't left around
after the master.
Note that a test as-written was invalid, it failed against the v0.10
cluster API, demonstrating that it was an undocumented API change.
Sam Roberts [Thu, 12 Dec 2013 18:34:16 +0000 (10:34 -0800)]
cluster: disconnect callback should always occur
Fixes issue in 0.11 where callback doesn't occur if worker count is
currently zero. In 0.10 callback occurs after worker count is zero, and
occurs in next tick if worker count is currently zero.
Sam Roberts [Tue, 3 Dec 2013 01:24:58 +0000 (17:24 -0800)]
cluster: replace erroneous comma with semicolon
Timothy J Fontaine [Tue, 31 Dec 2013 18:33:54 +0000 (10:33 -0800)]
uv: Upgrade to v0.11.17
Fedor Indutny [Fri, 27 Dec 2013 17:20:52 +0000 (21:20 +0400)]
cluster: report more errors to workers
Some errors for listening and binding to a socket were not properly
delivered to workers.
fix #6767
Benjamin Waters [Tue, 31 Dec 2013 00:51:51 +0000 (19:51 -0500)]
doc: Fix doc heading for 'response' event
Add colon to event heading to ensure it matches other events.
Fixes joyent/node#5687
Timothy J Fontaine [Mon, 30 Dec 2013 23:55:47 +0000 (15:55 -0800)]
Merge remote-tracking branch 'upstream/v0.10'
Fedor Indutny [Wed, 18 Dec 2013 14:58:47 +0000 (18:58 +0400)]
deps: update gyp to 828ce09
pflannery [Tue, 10 Dec 2013 05:01:25 +0000 (05:01 +0000)]
timers: setImmediate v8 optimization fix
Prevent v8 disabling optimization for scenario "bad value context for
arguments value".
Solves #6631
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
Dav Glass [Wed, 24 Jul 2013 18:17:28 +0000 (13:17 -0500)]
doc: Fix missing backtick in debugger doc
Yorkie [Sat, 28 Dec 2013 12:59:57 +0000 (20:59 +0800)]
querystring: remove `name` from `stringify()`
QueryString.stringify() allowed a fourth argument that was used as a
conditional in the return value, but was undocumented, not used by core
and always was always false/undefiend. So the argument and conditional
have been removed.
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
Lev Gimelfarb [Fri, 27 Dec 2013 19:39:55 +0000 (14:39 -0500)]
build: add settings for VS 2013 to vcbuild.bat
Search for VS2013 compiler 1st, before falling back to older ones. This
allows compiling using the latest VS2013.
Fedor Indutny [Wed, 18 Dec 2013 14:58:47 +0000 (18:58 +0400)]
deps: update gyp to 828ce09
Benjamin Waters [Thu, 26 Dec 2013 03:08:10 +0000 (22:08 -0500)]
doc: Missing word 'are' in documentation
Fix simple spelling mistake in documentation.
fix #5808
isaacs [Thu, 26 Dec 2013 03:15:23 +0000 (19:15 -0800)]
npm: Upgrade to v1.3.22
Vladimir Kurchatkin [Mon, 23 Dec 2013 06:18:08 +0000 (10:18 +0400)]
src: only access stack of non-null errors
Avoid segmentation fault when `null` is thrown
Fedor Indutny [Thu, 19 Dec 2013 06:02:19 +0000 (10:02 +0400)]
util: introduce CHECK_EQ/CHECK_NE
Trevor Norris [Fri, 20 Dec 2013 21:44:56 +0000 (13:44 -0800)]
Revert "util: more strict check for bool/number/string"
This reverts commit
95ee84fabe0b028ef964cc1032cd56a6cf89cb0e.
Fedor Indutny [Thu, 19 Dec 2013 09:04:34 +0000 (13:04 +0400)]
tls: reintroduce socket.encrypted
Just a property that is always `true` for TLS sockets.
fix #6735
Paul Loyd [Thu, 12 Dec 2013 21:16:08 +0000 (01:16 +0400)]
buffer: optimize writeInt* methods
Remove unnecessary encoding within writeInt*
Bert Belder [Thu, 12 Dec 2013 22:59:40 +0000 (14:59 -0800)]
events: move EE c'tor guts to EventEmitter.init
After landing 6ed861d it is no longer possible to reliably monkey-patch
the EventEmitter constructor. However there's valid use cases for that,
and makes for easier debugging. Therefore, move the guts of the
constructor to a separate function which is monkey-patchable.
Closes #6693
T.C. Hollingsworth [Fri, 20 Dec 2013 08:29:06 +0000 (01:29 -0700)]
build: install common.gypi along with headers
node-gyp requires this file
Alexis Campailla [Thu, 19 Dec 2013 15:55:06 +0000 (07:55 -0800)]
test: fix flaky unit test test-fs-realpath.js
The test was not performing proper cleanup and so it would
fail if run more than one time on the same machine.
Alexis Campailla [Thu, 19 Dec 2013 16:44:33 +0000 (08:44 -0800)]
test: case insensitve path comparison on Windows
Windows needs case insensitive comparison when it comes to
path strings.
Cam Swords [Sun, 22 Sep 2013 14:06:58 +0000 (00:06 +1000)]
http: parse the status message in a http response.
Fedor Indutny [Fri, 20 Dec 2013 13:33:29 +0000 (17:33 +0400)]
deps: update http_parser to 2.2
Main changes:
* Added support for http statusMessage
Sam Roberts [Thu, 19 Dec 2013 22:57:30 +0000 (14:57 -0800)]
doc: describe the local domain path on Windows
The UNIX domain is also known as the LOCAL domain (AF_LOCAL), and
node/libuv implements it on Windows using named pipes. The API
documentation did not describe the naming rules for named pipes, and
also repeatedly described `listen(path)` as being UNIX, which it is not
on Windows.
Closes #6743
Timothy J Fontaine [Thu, 19 Dec 2013 17:33:46 +0000 (09:33 -0800)]
Merge remote-tracking branch 'upstream/v0.10'
Conflicts:
ChangeLog
deps/uv/AUTHORS
deps/uv/ChangeLog
deps/uv/src/version.c
deps/v8/src/log-utils.cc
src/node_version.h
Timothy J Fontaine [Thu, 19 Dec 2013 17:05:14 +0000 (09:05 -0800)]
blog: Post for v0.10.24
Timothy J Fontaine [Thu, 19 Dec 2013 17:05:14 +0000 (09:05 -0800)]
Now working on 0.10.25
Timothy J Fontaine [Thu, 19 Dec 2013 17:03:45 +0000 (09:03 -0800)]
Merge branch 'v0.10.24-release' into v0.10
Yorkie [Thu, 19 Dec 2013 11:11:19 +0000 (19:11 +0800)]
crypto: remove unnecessary OpenSSL_add_all_digests
`OpenSSL_add_all_algorithms` implicitly adds both digests and
ciphers. No need in calling `OpenSSL_add_all_digests` after it.
Fedor Indutny [Thu, 19 Dec 2013 08:51:34 +0000 (12:51 +0400)]
deps: v8 apply temporary fix until backport
Fix node.js debug build with a temporary v8 fix until the v8 team will
backport the fix from the more recent version of v8.
see https://code.google.com/p/v8/issues/detail?id=3062
Alexis Campailla [Wed, 18 Dec 2013 18:08:33 +0000 (10:08 -0800)]
windows: fix dns lookup of localhost with ipv6
Removing a hack intended to shortcut the resolution of 'localhost'
but which doesn't work for ipv6.
This was introduced in
2876141c4292791bc12c0b8701dbcc366dde7297.
However it seems that the problems that this was trying to
circumvent has gone away ages ago, when dns resolution on
Windows started relying on Win32 GetAddrInfoW, which was
probably with
be2320d408de89054b254a0c812280054d946490.
Fixes test-net-connect-options-ipv6.js on Windows.
Timothy J Fontaine [Wed, 18 Dec 2013 23:49:45 +0000 (15:49 -0800)]
2013.12.18, Version 0.10.24 (Stable)
* uv: Upgrade to v0.10.21
* npm: upgrade to 1.3.21
* v8: backport fix for CVE-2013-{6639|6640}
* build: unix install node and dep library headers (Timothy J Fontaine)
* cluster, v8: fix --logfile=%p.log (Ben Noordhuis)
* module: only cache package main (Wyatt Preul)
Timothy J Fontaine [Wed, 18 Dec 2013 23:42:46 +0000 (15:42 -0800)]
uv: Upgrade to v0.10.21
Ben Noordhuis [Tue, 17 Dec 2013 22:35:18 +0000 (23:35 +0100)]
cluster, v8: fix --logfile=%p.log
The %p is replaced with the current PID. This used to work in node.js
v0.9.7 but it seems to have been lost somewhere along the way.
This commit makes the fix from
6b713b52 ("cluster: make --prof work for
workers") work again. Without it, all log data ends up in a single
file and is unusable because the addresses are all wrong.
Alexis Campailla [Tue, 17 Dec 2013 15:43:38 +0000 (07:43 -0800)]
vm: fix race condition in timeout
Eliminate a race condition between uv_async_send and the closing of the
corresponding handle.
Also made errors in Watchdog constructor call abort()
Fixes #6088
Timothy J Fontaine [Thu, 10 Oct 2013 21:42:41 +0000 (14:42 -0700)]
build: unix install node and dep library headers
Restores functionality from v0.8 where module authors may not be
relying on gyp for building their modules.
Yorkie [Sat, 14 Dec 2013 21:09:28 +0000 (05:09 +0800)]
util: more strict check for bool/number/string
isaacs [Tue, 17 Dec 2013 22:33:52 +0000 (14:33 -0800)]
npm: upgrade to 1.3.21
isaacs [Tue, 17 Dec 2013 17:04:19 +0000 (09:04 -0800)]
npm: upgrade to 1.3.20
The 1.3.19 release had a critical bug: any packages published with it
could not be installed, because the shasum would be incorrect.
Thankfully, 1.3.19 was published using 1.3.19, so could not be installed
by any users! However, if it goes out as part of a Node.js release,
then obviously that would be a problem.
isaacs [Tue, 17 Dec 2013 00:23:13 +0000 (16:23 -0800)]
npm: Upgrade to 1.3.19
Ahamed Nafeez [Sat, 14 Dec 2013 22:47:00 +0000 (04:17 +0530)]
crypto: comment change on disabling compression
This is a comment change, where it originally says disabling TLS
Compression protects against BEAST attack. But in fact, it is the
CRIME attack(Compression Ratio Info-leak Made Easy) that makes use
of TLS Compression and not BEAST.
BEAST(Browser Exploit Against SSL/TLS) is an entirely another variant
making use of the chosen boundary attack against CBC mode in
encryption.
Just making sure, that the exact reason for disabling TLS compression
must be made clear and not be misleading with some other attack.
Fedor Indutny [Fri, 13 Dec 2013 23:16:52 +0000 (03:16 +0400)]
deps: update v8 to 3.22.24.9
Fedor Indutny [Fri, 13 Dec 2013 23:03:50 +0000 (03:03 +0400)]
Merge branch 'v0.10'
Conflicts:
deps/v8/src/elements-kind.cc
deps/v8/src/elements-kind.h
deps/v8/src/hydrogen-instructions.h
deps/v8/src/hydrogen.cc
deps/v8/src/lithium.cc
deps/v8/src/lithium.h
jkummerow@chromium.org [Fri, 13 Dec 2013 21:21:10 +0000 (14:21 -0700)]
v8: backport fix for CVE-2013-{6639|6640}
Quoting CVE-2013-6639:
The DehoistArrayIndex function in hydrogen-dehoist.cc in Google V8
before 3.22.24.7, as used in Google Chrome before 31.0.1650.63,
allows remote attackers to cause a denial of service (out-of-bounds
write) or possibly have unspecified other impact via JavaScript code
that sets the value of an array element with a crafted index.
Quoting CVE-2013-6640:
The DehoistArrayIndex function in hydrogen-dehoist.cc in Google V8
before 3.22.24.7, as used in Google Chrome before 31.0.1650.63,
allows remote attackers to cause a denial of service (out-of-bounds
read) via JavaScript code that sets a variable to the value of an
array element with a crafted index.
Like 6b92a7, this is unlikely to affect node.js because it only runs
local, trusted code. However, if there exists some module somewhere
that populates an array index with remotely provided data this could
very well be used to crash a remote server running node. Defense in
depth and all.
This is a backport of upstream commit r17801. Original commit log:
Limit size of dehoistable array indices
LOG=Y
BUG=chromium:319835,chromium:319860
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
74113002
Fedor Indutny [Fri, 13 Dec 2013 18:35:09 +0000 (22:35 +0400)]
uv: Upgrade to v0.11.16
Timothy J Fontaine [Thu, 12 Dec 2013 19:32:41 +0000 (11:32 -0800)]
Merge remote-tracking branch 'upstream/v0.10'
Conflicts:
AUTHORS
ChangeLog
deps/uv/.mailmap
deps/uv/ChangeLog
deps/uv/build.mk
deps/uv/src/unix/darwin.c
deps/uv/src/unix/udp.c
deps/uv/src/version.c
deps/uv/test/test-list.h
src/node_version.h
Wyatt Preul [Thu, 12 Dec 2013 16:16:48 +0000 (10:16 -0600)]
module: only cache package main
Lalit Kapoor [Wed, 11 Dec 2013 03:10:10 +0000 (21:10 -0600)]
test: use s_client instead of curl
fixes #6647
Timothy J Fontaine [Thu, 12 Dec 2013 06:11:19 +0000 (22:11 -0800)]
blog: Post for v0.10.23
Timothy J Fontaine [Thu, 12 Dec 2013 06:11:19 +0000 (22:11 -0800)]
Now working on 0.10.24
Timothy J Fontaine [Thu, 12 Dec 2013 06:11:06 +0000 (22:11 -0800)]
Merge branch 'v0.10.23-release' into v0.10
Timothy J Fontaine [Thu, 12 Dec 2013 05:20:06 +0000 (21:20 -0800)]
2013.12.12, Version 0.10.23 (Stable)
* uv: Upgrade to v0.10.20 (Timothy J Fontaine)
* npm: Upgrade to 1.3.17 (isaacs)
* gyp: update to 78b26f7 (Timothy J Fontaine)
* build: include postmortem symbols on linux (Timothy J Fontaine)
* crypto: Make Decipher._flush() emit errors. (Kai Groner)
* dgram: fix abort when getting `fd` of closed dgram (Fedor Indutny)
* events: do not accept NaN in setMaxListeners (Fedor Indutny)
* events: avoid calling `once` functions twice (Tim Wood)
* events: fix TypeError in removeAllListeners (Jeremy Martin)
* fs: report correct path when EEXIST (Fedor Indutny)
* process: enforce allowed signals for kill (Sam Roberts)
* tls: emit 'end' on .receivedShutdown (Fedor Indutny)
* tls: fix potential data corruption (Fedor Indutny)
* tls: handle `ssl.start()` errors appropriately (Fedor Indutny)
* tls: reset NPN callbacks after SNI (Fedor Indutny)
Nicolas Kaiser [Sat, 7 Dec 2013 21:33:26 +0000 (22:33 +0100)]
doc: fix typos in node.1
Mathias Bynens [Thu, 12 Dec 2013 04:39:22 +0000 (20:39 -0800)]
doc: mention `binary` as deafult for Hash strings
Gabriel Farrell [Wed, 11 Dec 2013 15:14:10 +0000 (10:14 -0500)]
doc: "finish" event is on the writable stream
Timothy J Fontaine [Thu, 12 Dec 2013 04:24:36 +0000 (20:24 -0800)]
uv: Upgrade v0.10.20
Timothy J Fontaine [Thu, 12 Dec 2013 04:06:11 +0000 (20:06 -0800)]
gyp: update to 78b26f7
isaacs [Wed, 11 Dec 2013 18:20:26 +0000 (10:20 -0800)]
npm: Upgrade to 1.3.17
Fedor Indutny [Wed, 11 Dec 2013 17:20:17 +0000 (21:20 +0400)]
gyp: build openssl-cli tool and use it in tests
fix #6663
Fedor Indutny [Wed, 11 Dec 2013 17:19:04 +0000 (21:19 +0400)]
openssl: fix keypress requirement in apps on win32
Original source:
http://openssl.6102.n7.nabble.com/PATCH-s-client-Fix-keypress-requirement-with-redirected-input-on-Windows-td46787.html
Alexis Campailla [Tue, 10 Dec 2013 19:32:29 +0000 (11:32 -0800)]
test: test-os fix win32 localhost assumption
The test is expecting an invalid result for the loopback
interface network mask, but this issue was fixed in
libuv commit
1d5c61a8b31257733c41fb507762d3eb56eecb2d
Closes #5262 #6673
Alexis Campailla [Tue, 10 Dec 2013 14:52:27 +0000 (06:52 -0800)]
test: test-os win32 adhere standard tmp resolution
The test is making the wrong assumptions about the
value of os.tmpdir() on Windows
Fedor Indutny [Tue, 10 Dec 2013 19:36:41 +0000 (23:36 +0400)]
Merge branch 'v0.10'
Conflicts:
src/node_file.cc
Fedor Indutny [Sat, 16 Nov 2013 16:46:54 +0000 (20:46 +0400)]
fs: report correct path when EEXIST
When `symlink`, `link` or `rename` report EEXIST, ENOTEMPTY or EPERM -
the destination file name should be included in the error message,
instead of source file name.
fix #6510
Fedor Indutny [Tue, 10 Dec 2013 19:06:56 +0000 (23:06 +0400)]
Merge branch 'v0.10'
Conflicts:
lib/tls.js
src/node_crypto.cc
src/node_crypto.h
Fedor Indutny [Mon, 9 Dec 2013 15:47:55 +0000 (19:47 +0400)]
tls: emit 'end' on .receivedShutdown
NOTE: Also removed `.receivedShutdown` method of `Connection` it wasn't
documented anywhere, and was rewritten with `true` after receiving
`close_notify`.
fix #6638
Fedor Indutny [Tue, 10 Dec 2013 18:28:26 +0000 (22:28 +0400)]
tls_wrap: bump kClearOutChunkSize to 16kb
Timothy J Fontaine [Tue, 10 Dec 2013 18:10:34 +0000 (10:10 -0800)]
build: only whole archive on static v8 builds
Closes #6629
Fedor Indutny [Thu, 21 Nov 2013 17:06:29 +0000 (21:06 +0400)]
test: make fs-watch-recursive less racy
FSEventStream may emit events that happened right before it has started.
Ignore changes emitted for the directory itself, since they may come
from the stale events.
Vladimir Kurchatkin [Fri, 6 Dec 2013 11:56:37 +0000 (15:56 +0400)]
src: only access stack of defined errors
Avoid segmentation fault when `undefined` is thrown
Alexis Campailla [Tue, 10 Dec 2013 13:25:27 +0000 (05:25 -0800)]
test: fix create-file test fixture
This was failing if the file didn't already exist.
Fixes unit tests on Windows:
* test\simple\test-http-curl-chunk-problem.js
* test\simple\test-pipe-file-to-http.js
Trevor Norris [Tue, 10 Dec 2013 01:11:38 +0000 (17:11 -0800)]
node: follow specification, zero-fill ArrayBuffers
Fixes #6664
Ingmar Runge [Tue, 19 Nov 2013 21:38:15 +0000 (22:38 +0100)]
crypto: support GCM authenticated encryption mode.
This adds two new member functions getAuthTag and setAuthTag that
are useful for AES-GCM encryption modes. Use getAuthTag after
Cipheriv.final, transmit the tag along with the data and use
Decipheriv.setAuthTag to have the encrypted data verified.
Timothy J Fontaine [Sat, 7 Dec 2013 19:49:49 +0000 (11:49 -0800)]
build: older pythons don't support ternary if
Timothy J Fontaine [Sat, 7 Dec 2013 05:27:18 +0000 (21:27 -0800)]
Merge remote-tracking branch 'upstream/v0.10'
Conflicts:
lib/tls.js
src/node.js
Timothy J Fontaine [Sat, 7 Dec 2013 05:00:32 +0000 (21:00 -0800)]
build: pass --no-parallel by default to gyp
gyp by default now tries to process gyp files in parallel by using
python's multiprocessing module, but it has problems on oddball
platforms. We don't have many files or complex dependency chains that
would benefit from parallel processing so disable by deafult
fixes #6640