platform/upstream/nodejs.git
12 years agoExplicitly disable cr/lf conversion for test fixtures
Bert Belder [Wed, 10 Aug 2011 17:56:56 +0000 (19:56 +0200)]
Explicitly disable cr/lf conversion for test fixtures

Otherwise git's autocrlf feature makes test fail on windows.

12 years agoRevert "Make test-sync-fileread pass even when git cr/lf conversion is enabled"
Bert Belder [Wed, 10 Aug 2011 17:54:36 +0000 (19:54 +0200)]
Revert "Make test-sync-fileread pass even when git cr/lf conversion is enabled"

We'll solve this problem with a .gitattributes file.
This reverts commit 27ef0b0903e348cc10d0c5d2ee2ef25aa1676440.

12 years agoAdd NPN and SNI documentation.
Fedor Indutny [Sat, 30 Jul 2011 14:03:05 +0000 (21:03 +0700)]
Add NPN and SNI documentation.

Fixes #1420.
Fixes #1426.

12 years agoMake test-sync-fileread pass even when git cr/lf conversion is enabled
Bert Belder [Wed, 10 Aug 2011 02:30:31 +0000 (04:30 +0200)]
Make test-sync-fileread pass even when git cr/lf conversion is enabled

12 years agoOpen files in binary mode, on msvc too
Bert Belder [Wed, 10 Aug 2011 02:23:44 +0000 (04:23 +0200)]
Open files in binary mode, on msvc too

12 years agoRemove unnecessary line
Ryan Dahl [Wed, 10 Aug 2011 01:05:50 +0000 (18:05 -0700)]
Remove unnecessary line

12 years agoFix test-net-server-on-fd-0 for windows by removing assert
Ryan Dahl [Wed, 10 Aug 2011 00:59:26 +0000 (17:59 -0700)]
Fix test-net-server-on-fd-0 for windows by removing assert

Rename to regression test for GH-746 as the fd 0 behavior was not what the
bug report was about.

12 years agoAdd fixed tests to test-uv
Ryan Dahl [Wed, 10 Aug 2011 00:46:29 +0000 (17:46 -0700)]
Add fixed tests to test-uv

12 years agoFix dd command tests for Windows
Ryan Dahl [Wed, 10 Aug 2011 00:43:57 +0000 (17:43 -0700)]
Fix dd command tests for Windows

12 years agoFix test/simple/test-repl
Ryan Dahl [Tue, 9 Aug 2011 23:38:48 +0000 (16:38 -0700)]
Fix test/simple/test-repl

12 years agoImprove win compat of test-repl
Ryan Dahl [Tue, 9 Aug 2011 23:06:32 +0000 (16:06 -0700)]
Improve win compat of test-repl

12 years agocrypto: fix incorrect ssl shutdown check
Tom Hughes [Fri, 5 Aug 2011 22:22:54 +0000 (15:22 -0700)]
crypto: fix incorrect ssl shutdown check

12 years agonet: fix incorrect sizeof()
Tom Hughes [Fri, 5 Aug 2011 20:52:27 +0000 (13:52 -0700)]
net: fix incorrect sizeof()

12 years agoImprove assert error messages
Ryan Dahl [Tue, 9 Aug 2011 21:18:16 +0000 (14:18 -0700)]
Improve assert error messages

1. actual and expected should be displayed in the same order they were given

2. long values should be truncated.

12 years agoeio: define HAVE_UTIMES 1 on cygwin, fixes build
Ben Noordhuis [Tue, 9 Aug 2011 20:56:18 +0000 (22:56 +0200)]
eio: define HAVE_UTIMES 1 on cygwin, fixes build

Fixes #1483.

12 years agowindows: fix test-umask
Ryan Dahl [Tue, 9 Aug 2011 20:53:56 +0000 (13:53 -0700)]
windows: fix test-umask

12 years agoUpgrade libuv to e5f513c
Ryan Dahl [Tue, 9 Aug 2011 19:26:44 +0000 (12:26 -0700)]
Upgrade libuv to e5f513c

12 years agoReadd the static libpthread-win32 libraries
Ryan Dahl [Tue, 9 Aug 2011 19:25:10 +0000 (12:25 -0700)]
Readd the static libpthread-win32 libraries

12 years agoRevert "Unify configure scripts"
Ryan Dahl [Tue, 9 Aug 2011 17:19:48 +0000 (10:19 -0700)]
Revert "Unify configure scripts"

This reverts commit 71435ede815ee2c73b09f7071ee1b6d10945d409.

12 years agoMake buffer.INSPECT_MAX_BYTES public for mscdex
Ryan Dahl [Tue, 9 Aug 2011 02:04:24 +0000 (19:04 -0700)]
Make buffer.INSPECT_MAX_BYTES public for mscdex

12 years agoTruncate Buffer.inspect at 50 bytes
Ryan Dahl [Tue, 9 Aug 2011 00:50:23 +0000 (17:50 -0700)]
Truncate Buffer.inspect at 50 bytes

12 years agoFix test-executable-path
Ryan Dahl [Tue, 9 Aug 2011 00:35:26 +0000 (17:35 -0700)]
Fix test-executable-path

12 years agoFix test-http-upgrade-server and test-http-parser
Ryan Dahl [Tue, 9 Aug 2011 00:08:38 +0000 (17:08 -0700)]
Fix test-http-upgrade-server and test-http-parser

Problem was introduced in last http-parser upgrade which fixed a long
standing bug with the upgrade event and removed several callbacks.

12 years agoEndian argument should be a boolean. Signed integers shouldn't run through checks...
Robert Mustacchi [Mon, 8 Aug 2011 20:26:00 +0000 (13:26 -0700)]
Endian argument should be a boolean. Signed integers shouldn't run through checks for unsigned integers. Clean up jslint. Provide unchecked uint entry points.

12 years agoTests should point at the build directory until GYP is default
Ryan Dahl [Tue, 9 Aug 2011 00:01:38 +0000 (17:01 -0700)]
Tests should point at the build directory until GYP is default

12 years agoMerge branch 'gyp'
Ryan Dahl [Mon, 8 Aug 2011 23:22:41 +0000 (16:22 -0700)]
Merge branch 'gyp'

12 years agoFix test-child-process-exec-cwd.
Ryan Dahl [Mon, 8 Aug 2011 23:14:30 +0000 (16:14 -0700)]
Fix test-child-process-exec-cwd.

12 years agoUnify configure scripts
Ryan Dahl [Mon, 8 Aug 2011 22:09:42 +0000 (15:09 -0700)]
Unify configure scripts

12 years agoRevert "Remove scons"
Ryan Dahl [Mon, 8 Aug 2011 21:15:51 +0000 (14:15 -0700)]
Revert "Remove scons"

This reverts commit bd270b48a790ba00dd5a0dc9624aabbdedacaea8.

12 years agoUpgrade libuv to 75c10905
Ryan Dahl [Mon, 8 Aug 2011 21:14:47 +0000 (14:14 -0700)]
Upgrade libuv to 75c10905

12 years agoBring back old Makefile and configure script
Ryan Dahl [Mon, 8 Aug 2011 21:12:40 +0000 (14:12 -0700)]
Bring back old Makefile and configure script

GYP and WAF need to live in parallel for some time.

12 years agoFix MSVS build
Ryan Dahl [Mon, 8 Aug 2011 19:32:34 +0000 (12:32 -0700)]
Fix MSVS build

12 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

12 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

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

12 years agohttp2: reword confusing comment
Ben Noordhuis [Mon, 8 Aug 2011 15:37:52 +0000 (17:37 +0200)]
http2: reword confusing comment

12 years agoImprove util.format() compatibility with browser.
koichik [Sun, 7 Aug 2011 06:55:44 +0000 (15:55 +0900)]
Improve util.format() compatibility with browser.

Fixes #1434.

12 years agoFixes https host header default port handling.
Mikeal Rogers [Sun, 7 Aug 2011 23:14:32 +0000 (16:14 -0700)]
Fixes https host header default port handling.

12 years agoTest for default host headers on default ports in https and http
isaacs [Mon, 8 Aug 2011 00:36:49 +0000 (17:36 -0700)]
Test for default host headers on default ports in https and http

12 years agodocs: rename readline.md to readline.markdown
Ben Noordhuis [Sun, 7 Aug 2011 22:56:04 +0000 (00:56 +0200)]
docs: rename readline.md to readline.markdown

12 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

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

12 years agodocs: fix typo in tls API docs
Ben Noordhuis [Sun, 7 Aug 2011 21:30:03 +0000 (23:30 +0200)]
docs: fix typo in tls API docs

12 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.

12 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.

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

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

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

12 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.

12 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.

12 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

12 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

12 years agobuild: don't try to `ls -lh` executables that don't exist
Ben Noordhuis [Sat, 6 Aug 2011 22:02:29 +0000 (00:02 +0200)]
build: don't try to `ls -lh` executables that don't exist

Avoids `ls: cannot access build/debug/node_g: No such file or directory`.
Not an actual error but it confuses people.

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

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

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

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

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

12 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

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

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

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

12 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

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

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

12 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

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

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

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

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

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

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

12 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.

12 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

12 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

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

12 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.

12 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.

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

12 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.

12 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().

12 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

12 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

12 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

12 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

12 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.

12 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.

12 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()

12 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()`

12 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

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

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

12 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.

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

12 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

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

12 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

12 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

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

12 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