platform/upstream/nodejs.git
13 years agoRemove node_child_process_win32.cc
Ryan Dahl [Tue, 2 Aug 2011 05:25:57 +0000 (22:25 -0700)]
Remove node_child_process_win32.cc

13 years agoMerge branch 'v0.4'
Ryan Dahl [Tue, 2 Aug 2011 04:52:03 +0000 (21:52 -0700)]
Merge branch 'v0.4'

Conflicts:
doc/api/crypto.markdown
doc/api/modules.markdown
src/platform_win32.cc

13 years agowindows: remove dependency on rpcrt4 and ole32
Igor Zinkovsky [Tue, 2 Aug 2011 03:14:02 +0000 (20:14 -0700)]
windows: remove dependency on rpcrt4 and ole32

13 years agoUpgrade libuv to 2e9a743
Ryan Dahl [Tue, 2 Aug 2011 03:26:26 +0000 (20:26 -0700)]
Upgrade libuv to 2e9a743

13 years agowindows: set stdio streams to binary mode
Igor Zinkovsky [Tue, 2 Aug 2011 01:21:38 +0000 (18:21 -0700)]
windows: set stdio streams to binary mode

13 years agoPartial fix for test-child-process.cwd on windows
Bert Belder [Tue, 2 Aug 2011 01:19:57 +0000 (03:19 +0200)]
Partial fix for test-child-process.cwd on windows

13 years agowin: fix test-child-process-exec-cwd
Ryan Dahl [Tue, 2 Aug 2011 00:40:46 +0000 (17:40 -0700)]
win: fix test-child-process-exec-cwd

13 years agowin2k3: fix test-child-process-env
Ryan Dahl [Tue, 2 Aug 2011 00:18:01 +0000 (17:18 -0700)]
win2k3: fix test-child-process-env

13 years agoUpgrade libuv to c35548a
Ryan Dahl [Tue, 2 Aug 2011 00:06:03 +0000 (17:06 -0700)]
Upgrade libuv to c35548a

13 years agotest: add targets `test-http2` and `test-all-http2`
Ben Noordhuis [Mon, 1 Aug 2011 01:21:28 +0000 (03:21 +0200)]
test: add targets `test-http2` and `test-all-http2`

Passes `--use-http2` to node. Fixes #1430.

13 years agoUpgrade libuv to 404d697
Ben Noordhuis [Mon, 1 Aug 2011 23:16:15 +0000 (01:16 +0200)]
Upgrade libuv to 404d697

13 years agochild_process_uv: don't attempt to pass test-child-process-deprecated-api
Ryan Dahl [Mon, 1 Aug 2011 23:05:07 +0000 (16:05 -0700)]
child_process_uv: don't attempt to pass test-child-process-deprecated-api

13 years agoAdd test-tls-securepair-server to test-uv
Ryan Dahl [Mon, 1 Aug 2011 23:02:23 +0000 (16:02 -0700)]
Add test-tls-securepair-server to test-uv

13 years agochild_process_uv: fix test-child-process-stdin and -ipc
Ryan Dahl [Mon, 1 Aug 2011 22:40:44 +0000 (15:40 -0700)]
child_process_uv: fix test-child-process-stdin and -ipc

13 years agocmake: Update for libuv.
Tom Hughes [Thu, 28 Jul 2011 05:56:41 +0000 (22:56 -0700)]
cmake: Update for libuv.

13 years agoUpgrade libuv to 5af7423f
Ryan Dahl [Mon, 1 Aug 2011 21:49:58 +0000 (14:49 -0700)]
Upgrade libuv to 5af7423f

13 years agofix test-child-process-env on windows
Igor Zinkovsky [Mon, 1 Aug 2011 20:43:38 +0000 (13:43 -0700)]
fix test-child-process-env on windows

13 years agoAdd a few more asserts to test/simple/test-child-process-stdin.js
Ryan Dahl [Mon, 1 Aug 2011 21:48:19 +0000 (14:48 -0700)]
Add a few more asserts to test/simple/test-child-process-stdin.js

13 years agoUpgrade libuv to b700896
Ben Noordhuis [Mon, 1 Aug 2011 20:25:56 +0000 (22:25 +0200)]
Upgrade libuv to b700896

13 years agowindows: Fix test-module-load-list
Ryan Dahl [Mon, 1 Aug 2011 18:58:56 +0000 (11:58 -0700)]
windows: Fix test-module-load-list

13 years agoRemove debug code
Ryan Dahl [Mon, 1 Aug 2011 17:28:32 +0000 (10:28 -0700)]
Remove debug code

13 years agochild_process_uv: Handle spawn errors
Ryan Dahl [Mon, 1 Aug 2011 17:19:41 +0000 (10:19 -0700)]
child_process_uv: Handle spawn errors

13 years agoUpgrade libuv to 023f99a
Ben Noordhuis [Mon, 1 Aug 2011 16:16:27 +0000 (18:16 +0200)]
Upgrade libuv to 023f99a

13 years agolink to rpcrt4 and ole32 on win32
Ryan Dahl [Mon, 1 Aug 2011 01:19:37 +0000 (18:19 -0700)]
link to rpcrt4 and ole32 on win32

13 years agoUpgrade libuv to e9bee51
Ryan Dahl [Mon, 1 Aug 2011 01:13:05 +0000 (18:13 -0700)]
Upgrade libuv to e9bee51

13 years agochild_process_uv: fix test/simple/test-child-process-env
Ryan Dahl [Mon, 1 Aug 2011 00:51:41 +0000 (17:51 -0700)]
child_process_uv: fix test/simple/test-child-process-env

13 years agochild_process_uv: fix simple/test-child-process-cwd
Ryan Dahl [Sun, 31 Jul 2011 23:50:45 +0000 (16:50 -0700)]
child_process_uv: fix simple/test-child-process-cwd

13 years agochild_process_uv: add exec, fix simple/test-child-process-exec-cwd
Ryan Dahl [Sun, 31 Jul 2011 23:24:29 +0000 (16:24 -0700)]
child_process_uv: add exec, fix simple/test-child-process-exec-cwd

13 years agoForgot to add child_process_uv.js
Ryan Dahl [Sun, 31 Jul 2011 23:00:47 +0000 (16:00 -0700)]
Forgot to add child_process_uv.js

13 years agoinitial pass at lib/child_process_uv.js
Ryan Dahl [Sun, 31 Jul 2011 22:58:10 +0000 (15:58 -0700)]
initial pass at lib/child_process_uv.js

13 years agoAdd %% escape to util.format()
koichik [Sat, 30 Jul 2011 13:08:59 +0000 (22:08 +0900)]
Add %% escape to util.format()

Fixes #1273.

13 years agoAdd stdlib include for free(), fixing build on linux after f01b241
Paul Querna [Sat, 30 Jul 2011 01:28:12 +0000 (18:28 -0700)]
Add stdlib include for free(), fixing build on linux after f01b241

13 years agoadd wrapper for uv_spawn
Ryan Dahl [Fri, 29 Jul 2011 22:22:21 +0000 (15:22 -0700)]
add wrapper for uv_spawn

process.binding('process_wrap')

13 years agoutil: add sprintf-like format() function
Ben Noordhuis [Fri, 29 Jul 2011 15:26:45 +0000 (17:26 +0200)]
util: add sprintf-like format() function

Fixes #1407.

13 years agoAdd support for TLS SNI
Fedor Indutny [Thu, 28 Jul 2011 15:52:04 +0000 (22:52 +0700)]
Add support for TLS SNI

Fixes #1411

13 years agoUpgrade libuv to 7108ca88
Ryan Dahl [Fri, 29 Jul 2011 22:43:56 +0000 (15:43 -0700)]
Upgrade libuv to 7108ca88

13 years agojslint cleanup: path.js, readline.js, repl.js, tls.js, tty_win32.js, url.js
Robert Mustacchi [Fri, 29 Jul 2011 17:03:05 +0000 (10:03 -0700)]
jslint cleanup: path.js, readline.js, repl.js, tls.js, tty_win32.js, url.js

13 years agoRevert "AMD compatibility for node"
isaacs [Fri, 29 Jul 2011 18:56:05 +0000 (11:56 -0700)]
Revert "AMD compatibility for node"

This reverts commit 9967c369c9272335bb0343558673b689725c6d7c.

Conflicts:

test/simple/test-module-loading.js

13 years agoDoc improvements
koichik [Fri, 29 Jul 2011 18:03:58 +0000 (03:03 +0900)]
Doc improvements

related to #1391, #1415.

13 years agoFix http.ClientRequest crashes if end() was called twice
koichik [Fri, 29 Jul 2011 15:18:35 +0000 (00:18 +0900)]
Fix http.ClientRequest crashes if end() was called twice

Fixes #1417.
Fixes #1223.

13 years agoFix http.ClientRequest crashes if end() was called twice
koichik [Fri, 29 Jul 2011 14:49:48 +0000 (23:49 +0900)]
Fix http.ClientRequest crashes if end() was called twice

Fixes #1417.
Fixes #1223.

13 years agoFix http.ClientRequest crashes if end() was called twice
koichik [Fri, 29 Jul 2011 14:49:48 +0000 (23:49 +0900)]
Fix http.ClientRequest crashes if end() was called twice

Fixes #1417.
Fixes #1223.

13 years agocrypto: dispose persistent properties on class destruction
Fedor Indutny [Thu, 28 Jul 2011 13:02:04 +0000 (20:02 +0700)]
crypto: dispose persistent properties on class destruction

13 years agoFix test-module-load-list for use-uv
Ryan Dahl [Thu, 28 Jul 2011 03:03:02 +0000 (20:03 -0700)]
Fix test-module-load-list for use-uv

13 years agoLazy load a few modules
Ryan Dahl [Thu, 28 Jul 2011 02:54:31 +0000 (19:54 -0700)]
Lazy load a few modules

13 years agoAdd process.moduleLoadList for better startup transparency
Ryan Dahl [Thu, 28 Jul 2011 02:30:32 +0000 (19:30 -0700)]
Add process.moduleLoadList for better startup transparency

13 years agoDon't always enable debug on startup
Ryan Dahl [Thu, 28 Jul 2011 00:33:04 +0000 (17:33 -0700)]
Don't always enable debug on startup

Improves startup time. Problem introduced in
4ab5476e89266194d82215214a1a870c9b79e295

13 years agoSpeed up startup time
Ryan Dahl [Wed, 27 Jul 2011 23:36:03 +0000 (16:36 -0700)]
Speed up startup time

Reverts 2a05fe784d.

13 years agoRemove pkg-conf file
Ryan Dahl [Mon, 25 Jul 2011 21:34:15 +0000 (14:34 -0700)]
Remove pkg-conf file

13 years agoFix memleak in libeio.
Tom Hughes [Wed, 27 Jul 2011 20:58:39 +0000 (13:58 -0700)]
Fix memleak in libeio.

13 years agouv: upgrade to fc7bc2b
Ben Noordhuis [Wed, 27 Jul 2011 18:10:11 +0000 (20:10 +0200)]
uv: upgrade to fc7bc2b

13 years agoAdd missing parentheses in buffer docs.
Aku Kotkavuo [Wed, 27 Jul 2011 03:16:50 +0000 (06:16 +0300)]
Add missing parentheses in buffer docs.

Fixes #1405.

13 years agowrap: upgrade pipe_wrap and tcp_wrap to new libuv API
Ben Noordhuis [Wed, 27 Jul 2011 02:13:49 +0000 (04:13 +0200)]
wrap: upgrade pipe_wrap and tcp_wrap to new libuv API

13 years agostdio binding + javascript to enable process.stdin.listen()
Igor Zinkovsky [Wed, 27 Jul 2011 01:37:21 +0000 (18:37 -0700)]
stdio binding + javascript to enable process.stdin.listen()

13 years agouv: upgrade to a1adfe3
Ben Noordhuis [Wed, 27 Jul 2011 01:54:00 +0000 (03:54 +0200)]
uv: upgrade to a1adfe3

13 years agoFix crypto encryption/decryption with Base64.
SAWADA Tadashi [Sun, 19 Jun 2011 07:54:34 +0000 (16:54 +0900)]
Fix crypto encryption/decryption with Base64.

Fixes #738.
Fixes #1205.

13 years agoInclude "platform.h", not <platform.h> - conflicts with system headers
Ben Noordhuis [Tue, 26 Jul 2011 20:05:08 +0000 (22:05 +0200)]
Include "platform.h", not <platform.h> - conflicts with system headers

Fixes #1003.

13 years agoInclude "platform.h", not <platform.h> - conflicts with system headers
Ben Noordhuis [Tue, 26 Jul 2011 20:05:08 +0000 (22:05 +0200)]
Include "platform.h", not <platform.h> - conflicts with system headers

Fixes #1003.

13 years agoFix test-net-stream.js
Felix Geisendörfer [Tue, 26 Jul 2011 15:19:05 +0000 (17:19 +0200)]
Fix test-net-stream.js

I broke this in 09ee293.

13 years agohttp: add --use-http2 switch
Ben Noordhuis [Mon, 25 Jul 2011 22:39:57 +0000 (00:39 +0200)]
http: add --use-http2 switch

13 years agohttp: make http and http2 co-exist
Ben Noordhuis [Mon, 25 Jul 2011 22:21:52 +0000 (00:21 +0200)]
http: make http and http2 co-exist

http2 is currently disabled pending addition of a --use-http2 switch

13 years agodoc: http2 documentation
Mikeal Rogers [Mon, 25 Jul 2011 22:13:24 +0000 (00:13 +0200)]
doc: http2 documentation

13 years agohttp: http2 implementation
Mikeal Rogers [Mon, 25 Jul 2011 22:15:15 +0000 (00:15 +0200)]
http: http2 implementation

13 years agoEmit 'close' after all connections have closed
Felix Geisendörfer [Mon, 25 Jul 2011 07:01:44 +0000 (09:01 +0200)]
Emit 'close' after all connections have closed

Fixes #1383

13 years agocli: don't print result of --eval
Ben Noordhuis [Mon, 25 Jul 2011 21:54:44 +0000 (23:54 +0200)]
cli: don't print result of --eval

Fixes #572.

13 years agoDoc improvements and change argument name.
koichik [Sun, 24 Jul 2011 06:56:23 +0000 (15:56 +0900)]
Doc improvements and change argument name.

Fixes #1318.

13 years agoeio: remove trailing comma from enumerations
Ben Noordhuis [Mon, 25 Jul 2011 13:37:21 +0000 (15:37 +0200)]
eio: remove trailing comma from enumerations

Fixes compile-time error in strict mode. Fixes #567.

13 years agoDocs for Socket::bytesRead, Socket::bytesWritten
Alexander Uvarov [Sat, 23 Jul 2011 07:00:43 +0000 (13:00 +0600)]
Docs for Socket::bytesRead, Socket::bytesWritten

13 years agoAdd Socket::bytesRead, Socket::bytesWritten
Alexander Uvarov [Thu, 21 Jul 2011 08:20:01 +0000 (14:20 +0600)]
Add Socket::bytesRead, Socket::bytesWritten

13 years agoFinish removing require.paths
isaacs [Mon, 25 Jul 2011 01:04:45 +0000 (18:04 -0700)]
Finish removing require.paths

Fix require() completion bug in repl, and correct man output

13 years agoNote that require.paths is gone in 0.5
isaacs [Mon, 25 Jul 2011 00:18:33 +0000 (17:18 -0700)]
Note that require.paths is gone in 0.5

Rather than say it "may disappear", let's just be clear that it *has*
disappeared, and exactly how long it'll be supported for.

13 years agoFix crypto hmac to accept binary keys + add test cases from rfc 2202 and 4231
Stefan Bühler [Sun, 8 May 2011 12:17:21 +0000 (14:17 +0200)]
Fix crypto hmac to accept binary keys + add test cases from rfc 2202 and 4231

Fixes #324.
Fixes #1027.

Instead of converting buffers to strings and back again to char array
directly use the buffer data in hmac_init (same as in hmac_update).

13 years agoprocess: add process.features, remove process.useUV
Ben Noordhuis [Sat, 23 Jul 2011 21:16:48 +0000 (23:16 +0200)]
process: add process.features, remove process.useUV

Partially fixes #1385.

13 years agoAdd an optional length argument to Buffer.write()
koichik [Thu, 21 Jul 2011 17:53:11 +0000 (02:53 +0900)]
Add an optional length argument to Buffer.write()

Fixes #243.
Fixes #1361.

13 years agoconvert nonbuffer data to string in fs.writeFile/Sync
Daniel Pihlström [Fri, 11 Feb 2011 02:35:39 +0000 (03:35 +0100)]
convert nonbuffer data to string in fs.writeFile/Sync

Fixes #657.

13 years agobuild: add wscript detection for node_version
Jeroen Janssen [Fri, 22 Jul 2011 19:44:15 +0000 (21:44 +0200)]
build: add wscript detection for node_version

13 years agoFix crypto encryption/decryption with Base64.
SAWADA Tadashi [Sun, 19 Jun 2011 07:54:34 +0000 (16:54 +0900)]
Fix crypto encryption/decryption with Base64.

Fixes #738.
Fixes #1205.

13 years agoTypos in ChangeLog file.
Vicente Jimenez Aguilar [Thu, 4 Nov 2010 17:48:35 +0000 (18:48 +0100)]
Typos in ChangeLog file.

Fixes #968.

13 years agoDoc improvements
koichik [Sat, 23 Jul 2011 05:29:13 +0000 (14:29 +0900)]
Doc improvements

13 years agoWindows/cygwin: no more GetConsoleTitleW errors on XP
Bert Belder [Fri, 22 Jul 2011 14:28:56 +0000 (16:28 +0200)]
Windows/cygwin: no more GetConsoleTitleW errors on XP

13 years agoNow working on v0.5.3
Ryan Dahl [Fri, 22 Jul 2011 18:51:43 +0000 (11:51 -0700)]
Now working on v0.5.3

13 years agoWindows/cygwin: no more GetConsoleTitleW errors on XP
Bert Belder [Fri, 22 Jul 2011 14:28:56 +0000 (16:28 +0200)]
Windows/cygwin: no more GetConsoleTitleW errors on XP

13 years agoBump version to v0.5.2 v0.5.2
Ryan Dahl [Fri, 22 Jul 2011 10:55:26 +0000 (03:55 -0700)]
Bump version to v0.5.2

13 years agoUpgrade libuv to 2806b0386b266ee7377459b49156a60a15b1dfea
Bert Belder [Fri, 22 Jul 2011 10:16:17 +0000 (12:16 +0200)]
Upgrade libuv to 2806b0386b266ee7377459b49156a60a15b1dfea

13 years agoMerge branch 'v0.4'
Ryan Dahl [Fri, 22 Jul 2011 10:10:38 +0000 (03:10 -0700)]
Merge branch 'v0.4'

Conflicts:
ChangeLog
deps/v8/src/version.cc
doc/index.html
src/node_version.h
test/simple/test-url.js
wscript

13 years agowin: fix simple/test-tls-client-abort.js
Ryan Dahl [Fri, 22 Jul 2011 09:11:02 +0000 (02:11 -0700)]
win: fix simple/test-tls-client-abort.js

13 years agonet_uv: Fix test-net-server-bind
Ryan Dahl [Fri, 22 Jul 2011 08:20:13 +0000 (01:20 -0700)]
net_uv: Fix test-net-server-bind

13 years agoMerge branch 'V8-3.4'
Ryan Dahl [Fri, 22 Jul 2011 05:20:54 +0000 (22:20 -0700)]
Merge branch 'V8-3.4'

13 years agoUpgrade V8 to 3.4.14
Ryan Dahl [Fri, 22 Jul 2011 05:20:37 +0000 (22:20 -0700)]
Upgrade V8 to 3.4.14

13 years agonet_uv: throw if Server.prototype.close() is called twice
Ben Noordhuis [Thu, 21 Jul 2011 23:23:50 +0000 (01:23 +0200)]
net_uv: throw if Server.prototype.close() is called twice

Follows net_legacy behaviour.

13 years agotest: test pipe API with raw net.Stream() object
Ben Noordhuis [Thu, 21 Jul 2011 22:42:01 +0000 (00:42 +0200)]
test: test pipe API with raw net.Stream() object

Test case for #1379.

13 years agonet_uv: emit 'close' event in Server.prototype.close()
Ben Noordhuis [Thu, 21 Jul 2011 22:48:50 +0000 (00:48 +0200)]
net_uv: emit 'close' event in Server.prototype.close()

13 years agonet_uv: release uv handle in Socket.prototype.destroy()
Ben Noordhuis [Thu, 21 Jul 2011 22:47:28 +0000 (00:47 +0200)]
net_uv: release uv handle in Socket.prototype.destroy()

13 years agonet_uv: defer handle creation to connect() or bind() time
Ben Noordhuis [Thu, 21 Jul 2011 21:00:47 +0000 (23:00 +0200)]
net_uv: defer handle creation to connect() or bind() time

Fixes #1379.

13 years agoAdd tls tests to test-uv
Ryan Dahl [Thu, 21 Jul 2011 22:42:08 +0000 (15:42 -0700)]
Add tls tests to test-uv

13 years agoescape backslashes for windows pipe name
Ryan Dahl [Thu, 21 Jul 2011 21:19:24 +0000 (14:19 -0700)]
escape backslashes for windows pipe name

13 years agoRemove logos from package
Ryan Dahl [Thu, 21 Jul 2011 20:39:53 +0000 (13:39 -0700)]
Remove logos from package

13 years agotest: make test-http-unix-socket use common.PIPE
Ben Noordhuis [Thu, 21 Jul 2011 19:25:46 +0000 (21:25 +0200)]
test: make test-http-unix-socket use common.PIPE

Don't unlink the socket, that's the responsibility of libuv and/or node.

13 years agotest: add test-net-pingpong to `make test-uv` list
Ben Noordhuis [Thu, 21 Jul 2011 19:22:56 +0000 (21:22 +0200)]
test: add test-net-pingpong to `make test-uv` list

13 years agotest: add common.PIPE, pipe name for tests
Ben Noordhuis [Thu, 21 Jul 2011 19:21:06 +0000 (21:21 +0200)]
test: add common.PIPE, pipe name for tests