platform/upstream/nodejs.git
13 years agoFix MSVS build
Ryan Dahl [Mon, 8 Aug 2011 19:32:34 +0000 (12:32 -0700)]
Fix MSVS build

13 years agoMove GYP file to the project root
Ryan Dahl [Mon, 8 Aug 2011 19:11:48 +0000 (12:11 -0700)]
Move GYP file to the project root

13 years agogenerate-project.bat: Point at the right path
Ryan Dahl [Mon, 8 Aug 2011 17:25:55 +0000 (10:25 -0700)]
generate-project.bat: Point at the right path

13 years agosketch out configure support
Ryan Dahl [Mon, 8 Aug 2011 15:55:39 +0000 (08:55 -0700)]
sketch out configure support

13 years agosymlink in ./node and ./node_g for make users
Ryan Dahl [Sun, 7 Aug 2011 21:54:33 +0000 (14:54 -0700)]
symlink in ./node and ./node_g for make users

13 years agoAdd generate-projects.bat
Ryan Dahl [Sun, 7 Aug 2011 21:54:14 +0000 (14:54 -0700)]
Add generate-projects.bat

13 years agoDisable optimization in debug builds.
Peter Bright [Sun, 7 Aug 2011 18:46:26 +0000 (19:46 +0100)]
Disable optimization in debug builds.

Enable full optimization in release builds.

13 years agoSilence VC++ warnings about use of badly-designed parts of the C library.
Peter Bright [Sun, 7 Aug 2011 18:05:37 +0000 (19:05 +0100)]
Silence VC++ warnings about use of badly-designed parts of the C library.

13 years agoFix missing prototype warnings.
Peter Bright [Sun, 7 Aug 2011 17:44:11 +0000 (18:44 +0100)]
Fix missing prototype warnings.

13 years agoFix bad platform name.
Peter Bright [Sun, 7 Aug 2011 17:43:24 +0000 (18:43 +0100)]
Fix bad platform name.

13 years agoAdd 'make test' and friends
Ryan Dahl [Sun, 7 Aug 2011 08:24:00 +0000 (01:24 -0700)]
Add 'make test' and friends

13 years agoMake MSVS build.
Peter Bright [Sun, 7 Aug 2011 05:11:21 +0000 (06:11 +0100)]
Make MSVS build.

MSVS settings don't actually need to be guarded by conditions. gyp will do
the right thing.

13 years agoV8 GYP should attempt to not use cygwin.
Peter Bright [Sat, 6 Aug 2011 04:23:25 +0000 (05:23 +0100)]
V8 GYP should attempt to not use cygwin.

13 years agoModify GYP scripts for VC build
Peter Bright [Sat, 6 Aug 2011 19:20:15 +0000 (20:20 +0100)]
Modify GYP scripts for VC build

13 years agoUpgrade libuv - it now depends on pthreads
Ryan Dahl [Sun, 7 Aug 2011 02:11:39 +0000 (19:11 -0700)]
Upgrade libuv - it now depends on pthreads

13 years agoComplete eio upgrade
Ryan Dahl [Sat, 6 Aug 2011 10:47:09 +0000 (03:47 -0700)]
Complete eio upgrade

13 years agoclean merge scabs
Ryan Dahl [Sat, 6 Aug 2011 10:46:41 +0000 (03:46 -0700)]
clean merge scabs

13 years agoUpgrade libuv to 48877ed
Ryan Dahl [Sat, 6 Aug 2011 10:38:11 +0000 (03:38 -0700)]
Upgrade libuv to 48877ed

13 years agoBasic VC++ compatibility work.
Peter Bright [Sat, 6 Aug 2011 04:23:25 +0000 (05:23 +0100)]
Basic VC++ compatibility work.

13 years agoRemove scons
Ryan Dahl [Fri, 5 Aug 2011 22:08:00 +0000 (15:08 -0700)]
Remove scons

13 years agoBring gyp into the tools directory; handwritten makefile
Ryan Dahl [Fri, 5 Aug 2011 22:03:30 +0000 (15:03 -0700)]
Bring gyp into the tools directory; handwritten makefile

13 years agogyp: fix makefile build
Ryan Dahl [Fri, 5 Aug 2011 20:26:55 +0000 (13:26 -0700)]
gyp: fix makefile build

13 years agogyp fix build again
Ryan Dahl [Fri, 5 Aug 2011 00:42:52 +0000 (17:42 -0700)]
gyp fix build again

13 years agogyp: Fix build
Ryan Dahl [Fri, 5 Aug 2011 00:40:43 +0000 (17:40 -0700)]
gyp: Fix build

13 years agoadd build/gyp_node build script
Ryan Dahl [Fri, 5 Aug 2011 00:32:45 +0000 (17:32 -0700)]
add build/gyp_node build script

13 years agoUpgrade libuv for gyp reasons
Ryan Dahl [Fri, 5 Aug 2011 00:14:20 +0000 (17:14 -0700)]
Upgrade libuv for gyp reasons

13 years agogyp: fix test runner
Ryan Dahl [Fri, 5 Aug 2011 00:13:37 +0000 (17:13 -0700)]
gyp: fix test runner

13 years agoImprove gyp build - now works kind of
Ryan Dahl [Thu, 4 Aug 2011 23:40:07 +0000 (16:40 -0700)]
Improve gyp build - now works kind of

13 years agoadd deps/v8/build ???
Ryan Dahl [Thu, 4 Aug 2011 19:36:24 +0000 (12:36 -0700)]
add deps/v8/build ???

13 years agoMore progress with gyp
Ryan Dahl [Thu, 4 Aug 2011 06:36:27 +0000 (23:36 -0700)]
More progress with gyp

13 years agoWIP
Ryan Dahl [Thu, 4 Aug 2011 02:57:04 +0000 (19:57 -0700)]
WIP

13 years agoUpgrade libuv for gyp support
Ryan Dahl [Thu, 4 Aug 2011 00:23:38 +0000 (17:23 -0700)]
Upgrade libuv for gyp support

13 years agoWIP
Ryan Dahl [Thu, 4 Aug 2011 00:01:30 +0000 (17:01 -0700)]
WIP

13 years agoUpgrade http_parser to 965f91bc76b2d1601e23
Ryan Dahl [Sat, 6 Aug 2011 09:58:44 +0000 (02:58 -0700)]
Upgrade http_parser to 965f91bc76b2d1601e23

13 years ago[doc] add link to npm search in Readme.md
koichik [Sat, 6 Aug 2011 06:25:40 +0000 (15:25 +0900)]
[doc] add link to npm search in Readme.md

Fixes #1459.

13 years agoadd the document of the new api routine: path.relative
Tony Huang [Thu, 4 Aug 2011 03:39:19 +0000 (11:39 +0800)]
add the document of the new api routine: path.relative

13 years agoMake test-child-process-exec-env work on windows
Bert Belder [Fri, 5 Aug 2011 08:03:38 +0000 (10:03 +0200)]
Make test-child-process-exec-env work on windows

13 years agoChild processes: support windowsVerbatimArguments option
Bert Belder [Fri, 5 Aug 2011 07:36:39 +0000 (09:36 +0200)]
Child processes: support windowsVerbatimArguments option

13 years agouv: fix build on systems that don't have pipe2()
Ben Noordhuis [Fri, 5 Aug 2011 15:16:43 +0000 (17:16 +0200)]
uv: fix build on systems that don't have pipe2()

This is libuv commit 2fbcbe9, cherry-picked for node.

13 years agoDoc improvements
koichik [Fri, 5 Aug 2011 14:37:16 +0000 (23:37 +0900)]
Doc improvements

Documents util.format().
Thanks @bnoordhuis and @shigeki.
Fixes #1424.

13 years agoUpgrade libuv to c834d5de9e4747e5138bed9140320b44622ab6de
Bert Belder [Fri, 5 Aug 2011 07:15:04 +0000 (09:15 +0200)]
Upgrade libuv to c834d5de9e4747e5138bed9140320b44622ab6de

13 years agoRevert commits 12c8b27 and 88f416a, fixed properly in 2fe4558.
Ben Noordhuis [Fri, 5 Aug 2011 02:29:16 +0000 (04:29 +0200)]
Revert commits 12c8b27 and 88f416a, fixed properly in 2fe4558.

13 years agouv: cherry-pick libuv commit 041d60e into node
Ben Noordhuis [Fri, 5 Aug 2011 02:27:18 +0000 (04:27 +0200)]
uv: cherry-pick libuv commit 041d60e into node

Fixes execve-after-fork race in uv_spawn().

13 years agochild process: don't send signal if process is already terminated
Ben Noordhuis [Thu, 4 Aug 2011 19:24:38 +0000 (21:24 +0200)]
child process: don't send signal if process is already terminated

Fixes failing test test/simple/test-exec-max-buffer.js

13 years agoUpgrade V8 to 3.5.3
Ryan Dahl [Thu, 4 Aug 2011 19:18:09 +0000 (12:18 -0700)]
Upgrade V8 to 3.5.3

13 years agonet_uv: add listenFD shim that throws when called
Ben Noordhuis [Thu, 4 Aug 2011 19:04:54 +0000 (21:04 +0200)]
net_uv: add listenFD shim that throws when called

13 years agochild process: bind to libuv's kill process API
Ben Noordhuis [Thu, 4 Aug 2011 16:40:41 +0000 (18:40 +0200)]
child process: bind to libuv's kill process API

Fixes failing test test/simple/test-child-process-kill.js

13 years agomodule: strip byte order marker when loading *.js and *.json files
Ben Noordhuis [Tue, 2 Aug 2011 21:18:18 +0000 (23:18 +0200)]
module: strip byte order marker when loading *.js and *.json files

BOMs make V8 raise a 'SyntaxError: Unexpected token ILLEGAL' exception.

Fixes #1440.

13 years agotest: fix bad test in test-cli-eval.js
Ben Noordhuis [Thu, 4 Aug 2011 14:43:11 +0000 (16:43 +0200)]
test: fix bad test in test-cli-eval.js

The test checked that stdout was empty. Forgetting to escape brackets
in the argument to --eval made that true on UNIX systems: the error
was written to stderr.

Props to Peter Bright for reporting the issue.

13 years agoev: fix infinite loop in ev_walk()
Ben Noordhuis [Wed, 3 Aug 2011 23:35:30 +0000 (01:35 +0200)]
ev: fix infinite loop in ev_walk()

13 years agodocs: add race warning to `child_process.kill()`
Ben Noordhuis [Wed, 3 Aug 2011 14:50:47 +0000 (16:50 +0200)]
docs: add race warning to `child_process.kill()`

13 years agotest: fix exec-after-fork race in test/simple/test-child-process-kill.js
Ben Noordhuis [Wed, 3 Aug 2011 14:05:49 +0000 (16:05 +0200)]
test: fix exec-after-fork race in test/simple/test-child-process-kill.js

13 years agoUpgrade libuv to ec143961d135adb3f49f5a2322774ef43e2520b9
Bert Belder [Tue, 2 Aug 2011 23:45:03 +0000 (01:45 +0200)]
Upgrade libuv to ec143961d135adb3f49f5a2322774ef43e2520b9

13 years agoUpgrade libuv to dbaddc4423d61fa16cca299650f8378cffba9cce
Bert Belder [Tue, 2 Aug 2011 22:27:16 +0000 (00:27 +0200)]
Upgrade libuv to dbaddc4423d61fa16cca299650f8378cffba9cce

13 years agohttp: make http2 the default, legacy backend is available with --use-http1
Ben Noordhuis [Tue, 2 Aug 2011 19:28:31 +0000 (21:28 +0200)]
http: make http2 the default, legacy backend is available with --use-http1

Fixes #1441.

13 years agoUpdate tests for http2.
Mikeal Rogers [Tue, 2 Aug 2011 04:22:30 +0000 (21:22 -0700)]
Update tests for http2.

13 years agoV8: Don't use mprotect on Cygwin as virtual memory is managed directly via WinAPI...
Bert Belder [Tue, 2 Aug 2011 16:34:11 +0000 (18:34 +0200)]
V8: Don't use mprotect on Cygwin as virtual memory is managed directly via WinAPI calls.

Upstream fix: http://codereview.chromium.org/7549009

13 years agoRemove platform_win32_winsock
Bert Belder [Tue, 2 Aug 2011 13:28:19 +0000 (15:28 +0200)]
Remove platform_win32_winsock

13 years agoNow working on v0.5.4
Ryan Dahl [Tue, 2 Aug 2011 08:08:01 +0000 (01:08 -0700)]
Now working on v0.5.4

13 years agoBump version to v0.5.3 v0.5.3
Ryan Dahl [Tue, 2 Aug 2011 05:18:17 +0000 (22:18 -0700)]
Bump version to v0.5.3

13 years agoUpgrade libuv to b2ed24d
Ryan Dahl [Tue, 2 Aug 2011 07:10:53 +0000 (00:10 -0700)]
Upgrade libuv to b2ed24d

13 years agoComplete removal of node_child_process_win32.cc
Ryan Dahl [Tue, 2 Aug 2011 05:51:14 +0000 (22:51 -0700)]
Complete removal of node_child_process_win32.cc

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