Commit Graph

3849 Commits (8527f00c3c2beca11fe0c25048920ec50d177c28)

Author SHA1 Message Date
Trent Mick a8f96d3314 http: fix setting ServerResponse.statusCode in writeHead
Fixes #1374.
2011-07-21 14:15:33 +02:00
Yoshihiro Kikuchi d3d776f978 test: added test/simple/test-fs-watch-file.js 2011-07-21 13:36:11 +02:00
Yoshihiro Kikuchi 3c4c36068e fs: added an argument check in fs.watchFile
Fixes #1324.
2011-07-21 13:35:47 +02:00
Ryan Dahl 133036fdad upgrade libuv to 6e50576 2011-07-20 19:57:03 -07:00
Ben Noordhuis 1b89323e92 uv: back-port c4611a4 from libuv 2011-07-21 03:51:23 +02:00
Ben Noordhuis 53aac9dde6 uv: upgrade to afc9987 2011-07-21 03:51:23 +02:00
Ben Noordhuis 0c396c05fd test: beef up checks in test-http-unix-socket.js, add to `make test-uv` 2011-07-21 03:51:23 +02:00
Ben Noordhuis 37cbc355d5 net: add bindings to libuv pipe API 2011-07-21 03:51:23 +02:00
isaacs 588d885e81 Close #1357 Load json files with require()
Signed off by everybody.
2011-07-20 17:39:23 -07:00
Ben Noordhuis 1b0e054737 url: throw descriptive error if url argument to parse() is not a string
Fixes #568.
2011-07-21 00:51:48 +02:00
Ben Noordhuis 6f0740e67b crypto: check for SSL_COMP_get_compression_methods()
Function was named SSL_COMP_get_compression_method() (singular)
in OpenSSL 0.9.7 and older.

Fixes #1242.
2011-07-20 22:24:11 +02:00
Ryan Dahl 0599cb7afa process.stdout/process.stderr should use net_legacy for now 2011-07-20 11:08:43 -07:00
Ben Noordhuis 9cc2bd11d3 Upgrade libuv to ce5eb6d 2011-07-20 18:06:16 +02:00
Ryan Dahl effc4469d0 Now working on v0.4.11 2011-07-20 00:37:26 -07:00
Ryan Dahl 1b8dd65d6e Bump version to v0.4.10 2011-07-19 23:51:42 -07:00
Ryan Dahl 58655da3aa Use ms instead of sec for gc idle times
We were calling V8::IdleNotification too often.
2011-07-19 16:18:13 -07:00
Ryan Dahl e3c1cf3b5b Remove toc on logo page 2011-07-19 15:01:05 -07:00
isaacs ddfc6b78cc Close #1360 url: Allow _ in hostnames. 2011-07-19 11:56:44 -07:00
isaacs dcecfc5f1b Close #1360 url: Allow _ in hostnames. 2011-07-19 09:55:01 -07:00
Reid Burke 973153d1cc Properly respond to HEAD during end(body) hot path
During write(), _hasBody is checked to make sure a body
is allowed -- this is now also checked during end(body)
when write() isn't used.

Concise final chunk for HEAD req's res.end(data).

Instead of simply clearing data, check _hasBody
earlier to avoid sending cruft when chunkedEncoding
is used.

Fixes #1291.
2011-07-20 00:24:17 +09:00
Ryan Dahl 87d974bb8f complete upgrade 2011-07-19 02:50:33 -07:00
Ryan Dahl 62f7c7961d Upgrade libuv to d4563a1 2011-07-19 02:47:15 -07:00
Ryan Dahl 6050af4fd7 net_uv: properly initialize writeQueueSize
Fixes simple/test-tcp-wrap-listen.js
2011-07-19 02:19:27 -07:00
Ryan Dahl 061ce7b0ac net_uv: Fix simple/test-http-expect-continue.js 2011-07-19 02:04:34 -07:00
Ryan Dahl 4ef8f06fe6 Finally remove node::EventEmitter 2011-07-19 01:46:38 -07:00
Ryan Dahl 0a3fc1d9c8 Remove StatWatcher's dep on C++ EventEmitter 2011-07-19 01:23:50 -07:00
Ryan Dahl 2e16ae703e Upgrade libuv to 4eff34da4 2011-07-18 16:26:37 -07:00
Ryan Dahl 85404c5c55 Move HandleWrap rules to one place 2011-07-18 13:47:56 -07:00
Ben Noordhuis e5cceffe6a Replace reinterpret_cast with BitCast in deoptimizer to please certain compilers.
This is a back-port of upstream V8 rev 8672.

Fixes #1354.
2011-07-18 13:39:22 +02:00
Ryan Dahl bd2d90feff Change text on homepage about Web Workers 2011-07-18 04:36:36 -07:00
Ryan Dahl 61cda1e34e PipeWrap should use HandleWrap::Close 2011-07-18 04:30:40 -07:00
Ryan Dahl 0c7bf8132e Abstract out HandleWrap class 2011-07-18 04:22:16 -07:00
Ryan Dahl cc0f608c7c Add pipe_wrap 2011-07-18 03:08:54 -07:00
Ryan Dahl 1ae148909a Abstract StreamWrap from TCPWrap 2011-07-18 03:08:54 -07:00
Ryan Dahl 404a4db611 Output size of binaries on 'make' 2011-07-18 03:08:54 -07:00
isaacs 448eab2587 Close #1349 Delimit NODE_PATH with ; on Windows 2011-07-17 14:35:49 -07:00
Pierre-Alexandre St-Jean 93899cb0cb node-amqp is now being maintained by Theo Schlossnagle https://github.com/postwait/node-amqp 2011-07-17 22:40:01 +02:00
Ben Noordhuis 9f9a4cb928 Fix Math.pow crashes on machines without SSE2.
This is a back-port of r8577 from V8's upstream 3.1 branch.

Fixes #829.
2011-07-16 16:00:06 +02:00
Ben Noordhuis 61dfe5d2a9 Revert dcf6955: Fix V8 mingw32 build
Patch has been merged upstream in V8 3.4.6.

Fixes #1351.
2011-07-16 14:51:45 +02:00
Steve Engledow 292345fe62 Improve --help message and Fix -e/--eval switch
--help should at least give some hint that node takes the -e switch

Update help message to include -e and swap eval block with module load block so argv works correctly

[steve@sane node](master)$ ./node -e 'process.argv' foo bar
[ '/home/steve/code/node/node', 'foo', 'bar' ]

:)

Add simple test for -e option.

Fixes #1311.
2011-07-16 15:24:36 +09:00
koichik 4662ace916 Fix message tests
V8 3.4.12.1 changed exception log format.

3.14.10:
node.js:189
        throw e; // process.nextTick error, or 'error' event on first tick
        ^

3.4.12.1:
node.js:189
        throw e; // process.nextTick error, or 'error' event on first tick
              ^

The caret was moved.
2011-07-16 14:12:00 +09:00
Devon Govett 562b469b35 More accurite error messages when writing beyond the length of a Buffer.
Fixes #1336.
2011-07-16 12:56:14 +09:00
Igor Zinkovsky d798866917 Apply PTW32_STATIC_LIB define to debug build of eio 2011-07-15 18:26:09 -07:00
Ryan Dahl 5709643289 Merge branch 'V8-3.4' 2011-07-15 17:47:37 -07:00
Ryan Dahl ef1be160d6 Upgrade V8 to 3.4.12.1 2011-07-15 17:47:20 -07:00
koichik e8bc80cf15 Doc improvements
Fixes #1334.
2011-07-16 09:45:43 +09:00
Henry Rawas f3f3b12364 net_uv: getsockname binding 2011-07-15 16:44:13 -07:00
vegorov@chromium.org 17bff6082a Correctly propagate toolchain setting in SConstruct.
Patch by Bert Belder.

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@8555 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-07-16 00:40:32 +02:00
vegorov@chromium.org 442c5c95ad MinGW32: define STRUNCATE and change strncpy_s implementation to follow specification.
This fixes the debug build for MinGW32

Patch by Bert Belder.

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@8552 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-07-16 00:38:34 +02:00
Bert Belder 1c2dd454db libuv: stop g++ from complaining about anonymous struct usage 2011-07-16 00:31:47 +02:00