platform/upstream/nodejs.git
12 years agoUpgrade libuv to b89f4f3
Ryan Dahl [Fri, 2 Sep 2011 00:44:06 +0000 (17:44 -0700)]
Upgrade libuv to b89f4f3

12 years agoAdded some win32 platform functions
Karl Skomski [Wed, 31 Aug 2011 12:33:40 +0000 (14:33 +0200)]
Added some win32 platform functions

Fixes #1617

12 years agoUpgrade libuv to 2e60358
Ryan Dahl [Thu, 1 Sep 2011 21:16:00 +0000 (14:16 -0700)]
Upgrade libuv to 2e60358

Fixes #1621.

12 years agorepl: don't eval twice when an Error is thrown
Nathan Rajlich [Thu, 1 Sep 2011 00:58:00 +0000 (17:58 -0700)]
repl: don't eval twice when an Error is thrown

12 years agocrypto: set data before sending to thread pool
Ryan Dahl [Wed, 31 Aug 2011 23:11:00 +0000 (16:11 -0700)]
crypto: set data before sending to thread pool

fixes test-crypto

12 years agoUpgrade libuv to 836cc20
Ryan Dahl [Wed, 31 Aug 2011 22:38:02 +0000 (15:38 -0700)]
Upgrade libuv to 836cc20

12 years agoShow warning when using lib/sys.js
Maciej Małecki [Wed, 31 Aug 2011 13:29:37 +0000 (15:29 +0200)]
Show warning when using lib/sys.js

12 years agofix win32 uv loop breakage
Jeroen Janssen [Wed, 31 Aug 2011 11:03:47 +0000 (13:03 +0200)]
fix win32 uv loop breakage

12 years agoUpgrade libuv to ea4271f
Ryan Dahl [Wed, 31 Aug 2011 08:53:01 +0000 (01:53 -0700)]
Upgrade libuv to ea4271f

Required adding uv_default_loop() in many places.

12 years agotls: x509 certificate subject parsing fail
koichik [Fri, 26 Aug 2011 11:00:40 +0000 (20:00 +0900)]
tls: x509 certificate subject parsing fail

Fixes #1568.

12 years agoStrip V8 -Werror
Ryan Dahl [Tue, 30 Aug 2011 16:42:54 +0000 (09:42 -0700)]
Strip V8 -Werror

12 years agoFixes #1610 Remove DigiNotar CA from trusted list
isaacs [Tue, 30 Aug 2011 15:35:16 +0000 (08:35 -0700)]
Fixes #1610 Remove DigiNotar CA from trusted list

Details:
https://threatpost.com/en_us/blogs/attackers-obtain-valid-cert-google-domains-mozilla-moves-revoke-it-082911
http://www.coriolis-systems.com/blog/2011/08/diginotar-certificate-security.php

12 years agodocs: document querystring behavior for arrays and unassigned parameters
AJ ONeal [Mon, 29 Aug 2011 22:21:37 +0000 (16:21 -0600)]
docs: document querystring behavior for arrays and unassigned parameters

12 years agouv: upgrade to 0ba44cf
Ben Noordhuis [Tue, 30 Aug 2011 11:09:47 +0000 (13:09 +0200)]
uv: upgrade to 0ba44cf

12 years agoFix Windows build
Ryan Dahl [Tue, 30 Aug 2011 09:26:22 +0000 (02:26 -0700)]
Fix Windows build

12 years agoUpgrade libuv to ca11711
Ryan Dahl [Tue, 30 Aug 2011 08:59:38 +0000 (01:59 -0700)]
Upgrade libuv to ca11711

12 years agoUse new uv_fs_ apis
Igor Zinkovsky [Sun, 28 Aug 2011 09:23:17 +0000 (02:23 -0700)]
Use new uv_fs_ apis

This will cause master to be unstable for a while as we replace existing eio
calls with uv_fs calls.

12 years agoupgrade libuv to a6ed175
Ryan Dahl [Tue, 30 Aug 2011 07:59:56 +0000 (00:59 -0700)]
upgrade libuv to a6ed175

12 years agoUpgrade V8 to 3.5.9.1
Ryan Dahl [Mon, 29 Aug 2011 22:29:35 +0000 (15:29 -0700)]
Upgrade V8 to 3.5.9.1

12 years agoUpgrade libuv to cbbb254
Ryan Dahl [Mon, 29 Aug 2011 22:23:13 +0000 (15:23 -0700)]
Upgrade libuv to cbbb254

Fixes #1506

12 years agoFixes #1503. make libuv backend default on unix
Ryan Dahl [Mon, 29 Aug 2011 21:01:05 +0000 (14:01 -0700)]
Fixes #1503. make libuv backend default on unix

12 years agostdio: fix typo in doc comment
Abimanyu Raja [Sun, 28 Aug 2011 22:06:40 +0000 (15:06 -0700)]
stdio: fix typo in doc comment

12 years agoSockets should never be attached to a ClientRequest before nextTick().
Mikeal Rogers [Sun, 28 Aug 2011 22:51:40 +0000 (15:51 -0700)]
Sockets should never be attached to a ClientRequest before nextTick().

This way the API for interacting directly with the socket object is
consistent before and after the Agent pool is exhausted.

Fixes #1601.

12 years agomodule: remove 'is URL?' check in module loader, dead code
Jann Horn [Tue, 16 Aug 2011 17:12:54 +0000 (20:12 +0300)]
module: remove 'is URL?' check in module loader, dead code

12 years agov8: remove unnecessary break-after-return in switch statement
jkummerow@chromium.org [Mon, 29 Aug 2011 10:47:00 +0000 (10:47 +0000)]
v8: remove unnecessary break-after-return in switch statement

BUG=v8:1642

Review URL: http://codereview.chromium.org/7781007

This is a back-port of upstream r9043. Fixes build on OS X 10.5.

12 years agotest: test for issue #752
Peter Lyons [Fri, 12 Aug 2011 19:20:24 +0000 (13:20 -0600)]
test: test for issue #752

12 years agohttp: remove 'headers sent?' check in OutgoingMessage.getHeader()
Peter Lyons [Mon, 1 Aug 2011 17:39:15 +0000 (13:39 -0400)]
http: remove 'headers sent?' check in OutgoingMessage.getHeader()

Fixes #752.

12 years agoDon't load-time link against CreateSymbolicLink, it doesn't exist on Windows Server...
Peter Bright [Sat, 27 Aug 2011 01:34:09 +0000 (02:34 +0100)]
Don't load-time link against CreateSymbolicLink, it doesn't exist on Windows Server 2003.

Fixes #1592.

12 years agomerge vcbuild.bat and generate_projects.bat
Igor Zinkovsky [Fri, 26 Aug 2011 22:04:47 +0000 (15:04 -0700)]
merge vcbuild.bat and generate_projects.bat

12 years agoNow working on 0.5.6
Ben Noordhuis [Fri, 26 Aug 2011 23:27:52 +0000 (01:27 +0200)]
Now working on 0.5.6

12 years agoBump version to v0.5.5 v0.5.5 v0.5.5-rc1
Ben Noordhuis [Fri, 26 Aug 2011 21:24:18 +0000 (23:24 +0200)]
Bump version to v0.5.5

12 years agoFix typo in configure script
Ben Noordhuis [Fri, 26 Aug 2011 20:38:45 +0000 (20:38 +0000)]
Fix typo in configure script

12 years agoFix build - due to V8 API change
Ryan Dahl [Fri, 26 Aug 2011 20:20:27 +0000 (13:20 -0700)]
Fix build - due to V8 API change

12 years agoMerge remote branch 'origin/v0.4'
Ryan Dahl [Fri, 26 Aug 2011 20:16:16 +0000 (13:16 -0700)]
Merge remote branch 'origin/v0.4'

Conflicts:
AUTHORS
ChangeLog
doc/api/stdio.markdown
doc/index.html
doc/template.html
lib/net.js
src/node_version.h
test/simple/test-child-process-customfd-bounded.js
test/simple/test-console-not-call-toString.js

12 years agoUpgrade V8 to 3.5.8
Ryan Dahl [Fri, 26 Aug 2011 20:07:04 +0000 (13:07 -0700)]
Upgrade V8 to 3.5.8

12 years agoprepare for release - website under new user
Ryan Dahl [Fri, 26 Aug 2011 17:31:27 +0000 (10:31 -0700)]
prepare for release - website under new user

12 years agoFix dns_uv.lookup order
Ryan Dahl [Thu, 25 Aug 2011 22:22:43 +0000 (15:22 -0700)]
Fix dns_uv.lookup order

12 years agouv: upgrade to 835782a
Ben Noordhuis [Fri, 26 Aug 2011 16:10:35 +0000 (18:10 +0200)]
uv: upgrade to 835782a

12 years agotest: simple/test-tls-client-abort fails on SunOS
koichik [Thu, 25 Aug 2011 16:01:08 +0000 (01:01 +0900)]
test: simple/test-tls-client-abort fails on SunOS

Fixes #1583.

12 years agoUpgrade libuv to 39aac4a5
Bert Belder [Fri, 26 Aug 2011 00:39:54 +0000 (02:39 +0200)]
Upgrade libuv to 39aac4a5

12 years agouv: upgrade to 6490c6a
Ben Noordhuis [Thu, 25 Aug 2011 22:23:17 +0000 (00:23 +0200)]
uv: upgrade to 6490c6a

12 years agoutil: isRegExp() should not call toString() on its argument
Nathan Rajlich [Thu, 25 Aug 2011 17:22:35 +0000 (19:22 +0200)]
util: isRegExp() should not call toString() on its argument

An overloaded toString() method may have side effects
so don't call it for a simple type check.

Back-port of 54b409d to the v0.4 branch.

12 years agoAdd headers to improve the IDE experience.
Peter Bright [Mon, 15 Aug 2011 16:35:48 +0000 (17:35 +0100)]
Add headers to improve the IDE experience.

12 years agoUpgrade libuv to 40efa9c
Ryan Dahl [Thu, 25 Aug 2011 00:43:33 +0000 (17:43 -0700)]
Upgrade libuv to 40efa9c

12 years agoReapply Peter Bright's fixes for GYP on MSVS
Ryan Dahl [Wed, 24 Aug 2011 23:23:04 +0000 (16:23 -0700)]
Reapply Peter Bright's fixes for GYP on MSVS

Originally 71333b3f5b12183b2709704fec160df916cb637a

12 years agofix windows build
Ryan Dahl [Wed, 24 Aug 2011 23:20:08 +0000 (16:20 -0700)]
fix windows build

12 years agoAdd dgram_legacy and dgram_uv to node.gyp
Ryan Dahl [Wed, 24 Aug 2011 22:55:10 +0000 (15:55 -0700)]
Add dgram_legacy and dgram_uv to node.gyp

12 years agonet: fix multicast on sunos
Ben Noordhuis [Wed, 24 Aug 2011 22:46:55 +0000 (22:46 +0000)]
net: fix multicast on sunos

setsockopt(IP_MULTICAST_TTL|IP_MULTICAST_LOOP) takes an unsigned char as
its argument on sunos.

Partially fixes simple/test-dgram-multicast: test hangs after socket
close but it no longer throws EINVAL exceptions.

12 years agotest: fix simple/test-eval
Ben Noordhuis [Wed, 24 Aug 2011 22:18:39 +0000 (00:18 +0200)]
test: fix simple/test-eval

Test expects output of console.error(process.argv) to be spread out
over several lines but if /path/to/node is short, it stays on a single line.

12 years agoAdd process.features.debug; fixes simple/test-executable-path.js
Ryan Dahl [Wed, 24 Aug 2011 21:16:35 +0000 (14:16 -0700)]
Add process.features.debug; fixes simple/test-executable-path.js

12 years agodns_uv: add localhost hack for windows
Ryan Dahl [Wed, 24 Aug 2011 20:42:20 +0000 (13:42 -0700)]
dns_uv: add localhost hack for windows

12 years agotest: add dgram tests to test-uv list
Ben Noordhuis [Wed, 24 Aug 2011 02:11:54 +0000 (04:11 +0200)]
test: add dgram tests to test-uv list

12 years agodocs: remove unix dgram documentation
Ben Noordhuis [Wed, 24 Aug 2011 01:50:55 +0000 (03:50 +0200)]
docs: remove unix dgram documentation

12 years agodgram: add socket.fd compatibility hack to dgram_uv.js
Ben Noordhuis [Wed, 24 Aug 2011 00:42:49 +0000 (02:42 +0200)]
dgram: add socket.fd compatibility hack to dgram_uv.js

12 years agodgram: integrate libuv support for UDP over IPv6
Ben Noordhuis [Wed, 24 Aug 2011 00:57:48 +0000 (02:57 +0200)]
dgram: integrate libuv support for UDP over IPv6

12 years agodgram: integrate libuv UDP support
Ben Noordhuis [Sat, 20 Aug 2011 01:47:40 +0000 (03:47 +0200)]
dgram: integrate libuv UDP support

12 years agotcp_wrap: update after libuv API change
Ben Noordhuis [Tue, 23 Aug 2011 23:47:02 +0000 (01:47 +0200)]
tcp_wrap: update after libuv API change

12 years agostream_wrap: update after libuv API change
Ben Noordhuis [Fri, 19 Aug 2011 23:47:09 +0000 (01:47 +0200)]
stream_wrap: update after libuv API change

12 years agouv: upgrade to 80e5491
Ben Noordhuis [Tue, 23 Aug 2011 00:34:43 +0000 (02:34 +0200)]
uv: upgrade to 80e5491

12 years agoMove ARRAY_SIZE macro to node.h
Ben Noordhuis [Tue, 23 Aug 2011 16:26:39 +0000 (18:26 +0200)]
Move ARRAY_SIZE macro to node.h

12 years agodocs: Improved http2 agent docs
Mikeal Rogers [Fri, 12 Aug 2011 21:31:17 +0000 (14:31 -0700)]
docs: Improved http2 agent docs

Fixes #1517.

12 years agovcbuild.bat - for building from cmd-line using msbuild
Igor Zinkovsky [Wed, 24 Aug 2011 06:14:56 +0000 (23:14 -0700)]
vcbuild.bat - for building from cmd-line using msbuild

12 years agotools/test.py to support marking files a libuv-broken
Ryan Dahl [Wed, 24 Aug 2011 05:46:39 +0000 (22:46 -0700)]
tools/test.py to support marking files a libuv-broken

Use

  export NODE_USE_UV=1
  python tools/test.py --libuv simple pummel

To run the equivalent of "make test-uv".

12 years agoMark tests which are broken in libuv
Ryan Dahl [Wed, 24 Aug 2011 06:42:23 +0000 (23:42 -0700)]
Mark tests which are broken in libuv

12 years agoSupport MSVS build directories in tools/test.py
Ryan Dahl [Wed, 24 Aug 2011 02:58:47 +0000 (19:58 -0700)]
Support MSVS build directories in tools/test.py

12 years agoUse Object.getPrototypeOf() on the object in the REPL tab-completion.
Nathan Rajlich [Tue, 23 Aug 2011 17:39:23 +0000 (10:39 -0700)]
Use Object.getPrototypeOf() on the object in the REPL tab-completion.

Some people use __proto__ to augment an Object's prototype after it's been created.
This patch helps make the "new" prototype properties visible if necessary.

This is also more consistent with the while logic below.

12 years agoUpgrade V8 to 3.5.7
Ryan Dahl [Tue, 23 Aug 2011 22:17:13 +0000 (15:17 -0700)]
Upgrade V8 to 3.5.7

12 years agowaf: Don't build out/Debug/node_g - just out/Debug/node
Ryan Dahl [Tue, 23 Aug 2011 22:13:07 +0000 (15:13 -0700)]
waf: Don't build out/Debug/node_g - just out/Debug/node

This is to match how GYP does it.

12 years agonet: fix throw error
Ryan Dahl [Tue, 23 Aug 2011 21:29:46 +0000 (14:29 -0700)]
net: fix throw error

Thanks Tobi

12 years agonet_legacy: Fix throw typo
Ryan Dahl [Tue, 23 Aug 2011 21:24:50 +0000 (14:24 -0700)]
net_legacy: Fix throw typo

Thanks Tobi

12 years agoWAF builds in out/ instead of build/
Ryan Dahl [Tue, 23 Aug 2011 21:08:53 +0000 (14:08 -0700)]
WAF builds in out/ instead of build/

12 years agoHave WAF variants match GYP configuration names
Ryan Dahl [Tue, 23 Aug 2011 20:56:19 +0000 (13:56 -0700)]
Have WAF variants match GYP configuration names

12 years agogyp: Further fixes to target_defaults for mac
Ryan Dahl [Tue, 23 Aug 2011 19:42:49 +0000 (12:42 -0700)]
gyp: Further fixes to target_defaults for mac

12 years agogyp: Don't pass C++ flags to C compiler, and don't pass -ansi in OpenSSL builds.
Evan Martin [Tue, 23 Aug 2011 18:04:08 +0000 (11:04 -0700)]
gyp: Don't pass C++ flags to C compiler, and don't pass -ansi in OpenSSL builds.

12 years agocommon.gypi: don't nest "target_defaults" within "target_defaults"
Evan Martin [Tue, 23 Aug 2011 17:40:51 +0000 (10:40 -0700)]
common.gypi: don't nest "target_defaults" within "target_defaults"

The "conditions" block is already within a "target_defaults", so its
children amend target default settings already.

12 years agodns: Force the DNS module to invoke callbacks asynchronously.
koichik [Fri, 12 Aug 2011 18:09:34 +0000 (03:09 +0900)]
dns: Force the DNS module to invoke callbacks asynchronously.

Fixes #1164.

12 years agonet_uv: throw when people construct net.Socket(fd)
Ryan Dahl [Tue, 23 Aug 2011 09:31:20 +0000 (02:31 -0700)]
net_uv: throw when people construct net.Socket(fd)

Easier to catch compatibility errors.

12 years agonet_uv: Don't error on ECONNRESET
Ryan Dahl [Tue, 23 Aug 2011 02:06:42 +0000 (19:06 -0700)]
net_uv: Don't error on ECONNRESET

Fixes #1571.

12 years agoUpgrade GYP to r1010
Ryan Dahl [Tue, 23 Aug 2011 00:08:16 +0000 (17:08 -0700)]
Upgrade GYP to r1010

12 years agogyp: -ldl on linux
Ryan Dahl [Tue, 23 Aug 2011 00:07:07 +0000 (20:07 -0400)]
gyp: -ldl on linux

12 years agonet_uv: handle read errors
Ryan Dahl [Mon, 22 Aug 2011 22:03:27 +0000 (15:03 -0700)]
net_uv: handle read errors

12 years agoUpgrade libuv to joyent/libuv@ce20791
Ryan Dahl [Mon, 22 Aug 2011 21:51:29 +0000 (14:51 -0700)]
Upgrade libuv to joyent/libuv@ce20791

12 years agoFixes #1531
Mikeal Rogers [Mon, 15 Aug 2011 20:51:20 +0000 (13:51 -0700)]
Fixes #1531

12 years agoAdd failing test for https2 compatibility
Maciej Małecki [Wed, 17 Aug 2011 08:06:41 +0000 (10:06 +0200)]
Add failing test for https2 compatibility

Issue #1531

12 years agoUpdate license info for openssl
Ryan Dahl [Mon, 22 Aug 2011 18:36:38 +0000 (11:36 -0700)]
Update license info for openssl

12 years agoUpgrade to 0.9.8r.
Peter Bright [Sat, 20 Aug 2011 05:05:08 +0000 (06:05 +0100)]
Upgrade to 0.9.8r.

Build in Win32.

12 years agoimport openssl from chrome
Ryan Dahl [Fri, 19 Aug 2011 21:03:32 +0000 (14:03 -0700)]
import openssl from chrome

12 years agoDoc improvements
koichik [Mon, 22 Aug 2011 15:19:39 +0000 (00:19 +0900)]
Doc improvements

12 years agoDoc improvements
koichik [Mon, 22 Aug 2011 15:18:46 +0000 (00:18 +0900)]
Doc improvements

12 years agoFix #1563. overflow in ChildProcess custom_fd.
Ryan Dahl [Sat, 20 Aug 2011 19:38:31 +0000 (12:38 -0700)]
Fix #1563. overflow in ChildProcess custom_fd.

Backported from master f5db3f1f859427d2b1252f937a45409c5d4eb38b

12 years agoFix #1563. overflow in ChildProcess custom_fd.
Ryan Dahl [Sat, 20 Aug 2011 19:38:31 +0000 (12:38 -0700)]
Fix #1563. overflow in ChildProcess custom_fd.

12 years agodocs: process.memoryUsage returns memory usage measured in bytes
Maciej Małecki [Fri, 19 Aug 2011 22:26:21 +0000 (00:26 +0200)]
docs: process.memoryUsage returns memory usage measured in bytes

12 years agodocs: process.memoryUsage returns memory usage measured in bytes
Maciej Małecki [Fri, 19 Aug 2011 22:26:21 +0000 (00:26 +0200)]
docs: process.memoryUsage returns memory usage measured in bytes

12 years agoUpgrade V8 to 3.5.6
Ryan Dahl [Thu, 18 Aug 2011 23:59:21 +0000 (16:59 -0700)]
Upgrade V8 to 3.5.6

12 years agoClose #1544 Document slashesDenoteHost flag in url.parse
isaacs [Wed, 17 Aug 2011 20:13:56 +0000 (13:13 -0700)]
Close #1544 Document slashesDenoteHost flag in url.parse

12 years agoNow working on v0.4.12
Ryan Dahl [Thu, 18 Aug 2011 01:45:28 +0000 (18:45 -0700)]
Now working on v0.4.12

12 years agoBump version to v0.4.11 v0.4.11
Ryan Dahl [Thu, 18 Aug 2011 01:17:57 +0000 (18:17 -0700)]
Bump version to v0.4.11

12 years agobench: make number of response body chunks configurable in http_simple
Ben Noordhuis [Wed, 17 Aug 2011 20:38:30 +0000 (22:38 +0200)]
bench: make number of response body chunks configurable in http_simple

12 years agoFix #1546 some more. Remove expensive debug call.
Ben Noordhuis [Wed, 17 Aug 2011 20:53:13 +0000 (22:53 +0200)]
Fix #1546 some more. Remove expensive debug call.

12 years agoClose #1544 Document slashesDenoteHost flag in url.parse
isaacs [Wed, 17 Aug 2011 20:13:56 +0000 (13:13 -0700)]
Close #1544 Document slashesDenoteHost flag in url.parse