Ryan Dahl [Mon, 22 Aug 2011 22:03:27 +0000 (15:03 -0700)]
net_uv: handle read errors
Ryan Dahl [Mon, 22 Aug 2011 21:51:29 +0000 (14:51 -0700)]
Upgrade libuv to joyent/libuv@ce20791
Mikeal Rogers [Mon, 15 Aug 2011 20:51:20 +0000 (13:51 -0700)]
Fixes #1531
Maciej Małecki [Wed, 17 Aug 2011 08:06:41 +0000 (10:06 +0200)]
Add failing test for https2 compatibility
Issue #1531
Ryan Dahl [Mon, 22 Aug 2011 18:36:38 +0000 (11:36 -0700)]
Update license info for openssl
Peter Bright [Sat, 20 Aug 2011 05:05:08 +0000 (06:05 +0100)]
Upgrade to 0.9.8r.
Build in Win32.
Ryan Dahl [Fri, 19 Aug 2011 21:03:32 +0000 (14:03 -0700)]
import openssl from chrome
koichik [Mon, 22 Aug 2011 15:18:46 +0000 (00:18 +0900)]
Doc improvements
Ryan Dahl [Sat, 20 Aug 2011 19:38:31 +0000 (12:38 -0700)]
Fix #1563. overflow in ChildProcess custom_fd.
Maciej Małecki [Fri, 19 Aug 2011 22:26:21 +0000 (00:26 +0200)]
docs: process.memoryUsage returns memory usage measured in bytes
Ryan Dahl [Thu, 18 Aug 2011 23:59:21 +0000 (16:59 -0700)]
Upgrade V8 to 3.5.6
Ben Noordhuis [Wed, 17 Aug 2011 20:38:30 +0000 (22:38 +0200)]
bench: make number of response body chunks configurable in http_simple
Ben Noordhuis [Wed, 17 Aug 2011 20:53:13 +0000 (22:53 +0200)]
Fix #1546 some more. Remove expensive debug call.
isaacs [Wed, 17 Aug 2011 20:13:56 +0000 (13:13 -0700)]
Close #1544 Document slashesDenoteHost flag in url.parse
Ryan Dahl [Wed, 17 Aug 2011 20:25:44 +0000 (13:25 -0700)]
Merge remote branch 'origin/v0.4'
Conflicts:
doc/api/tls.markdown
Ryan Dahl [Wed, 17 Aug 2011 20:21:15 +0000 (13:21 -0700)]
Fixes #1546. Remove expensive debug call.
Ben Noordhuis [Wed, 17 Aug 2011 18:39:20 +0000 (20:39 +0200)]
bench: make http_simple send chunked encoding if requested
koichik [Sun, 14 Aug 2011 07:56:41 +0000 (16:56 +0900)]
http: improve compatibility of legacy API
In http1, legacy http.Client shares one connection with multiple requests.
But in http2, it uses concurrent connections.
With --use-http1, test/simple/test-http-legacy.js passes.
However, it fails without --use-http1 (use http2).
This improves compatibility of legacy http.Client API between http1 and http2.
Fixes #1530.
koichik [Sun, 14 Aug 2011 06:02:14 +0000 (15:02 +0900)]
test: refactored http test.
Many http tests had used legacy http.Client.
This refactored it to use modern API.
Fixes #1528.
Antranig Basman [Thu, 2 Jun 2011 19:45:30 +0000 (13:45 -0600)]
vm: fix incorrect dispatch of vm.runInContext for argument "filename"
Adds test case and documentation for vm.runInContext and vm.createContext.
Fixes #1140.
Ryan Dahl [Tue, 16 Aug 2011 01:26:48 +0000 (18:26 -0700)]
Complete GYP support for Python 2.5.2
Ryan Dahl [Tue, 16 Aug 2011 01:18:14 +0000 (21:18 -0400)]
GYP Support python 2.5.2
Ryan Dahl [Tue, 16 Aug 2011 00:54:47 +0000 (20:54 -0400)]
gyp: Support Linux
Mikeal Rogers [Wed, 3 Aug 2011 22:06:16 +0000 (15:06 -0700)]
Remove http.cat. fixes #1447
Ryan Dahl [Mon, 15 Aug 2011 22:47:16 +0000 (15:47 -0700)]
Upgrade GYP to r999
To fix osx/make build http://codereview.chromium.org/7618052
Ryan Dahl [Mon, 15 Aug 2011 20:48:20 +0000 (13:48 -0700)]
Upgrade GYP to r995
Ryan Dahl [Mon, 15 Aug 2011 20:40:17 +0000 (13:40 -0700)]
Fix GYP build on OSX
Broken due to DOS line endings.
./configure-gyp
make -f Makefile-gyp
Ben Noordhuis [Sat, 13 Aug 2011 23:25:39 +0000 (01:25 +0200)]
module: fix pointer reference to out-of-scope variable
Reported by Tom Hughes.
Nathan Rajlich [Mon, 15 Aug 2011 15:17:33 +0000 (17:17 +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.
Mickaël Delahaye [Mon, 15 Aug 2011 13:09:03 +0000 (15:09 +0200)]
Fix docs for fs.*chown
Fix bad parameters of fs.chown[Sync], fs.fchown[Sync] and
fs.lchown[Sync] in documentation.
Fixes #1533.
Bert Belder [Mon, 15 Aug 2011 00:30:35 +0000 (02:30 +0200)]
node_crypto: interface with libuv, not libev
koichik [Sun, 14 Aug 2011 14:10:36 +0000 (23:10 +0900)]
Docs: Not memcpy, but memmove
Fixes #1520.
Peter Bright [Sat, 13 Aug 2011 18:17:47 +0000 (19:17 +0100)]
Rename gyp files to produce useful solution names.
Hoist common settings into common.gypi.
Restrict v8's common.gypi to v8 projects.
Ensure v8 doesn't use /MP in debug builds.
Add basic settings for other platforms.
Make uv import common.gypi properly.
Remove LTCG warning.
Thomas Shinnick [Sat, 13 Aug 2011 21:22:52 +0000 (16:22 -0500)]
path.js: correct three harmless .length typos
lib/path.js routines normalizeArray() and resolve() have for loops that
count down from end of an array. The loop indexes are initialized using
"array.length" rather than "array.length-1". The initial array element
accessed is always beyond the end of array and the value is 'undefined'.
Strangely, code exists that acts to ignore undefined values so that the
typos are unnoticeable.
Existing tests emit no errors either before or after changing to "length-1".
Tests _do_ start failing at "length-2". (Actually it is node that starts
to fail at "length-2" - that's a valid enough test...)
Ben Noordhuis [Sun, 14 Aug 2011 01:15:12 +0000 (03:15 +0200)]
uv: upgrade to 5899192
Ben Noordhuis [Sat, 13 Aug 2011 23:25:39 +0000 (01:25 +0200)]
module: fix pointer reference to out-of-scope variable
Reported by Tom Hughes.
Thomas Shinnick [Sat, 13 Aug 2011 21:51:31 +0000 (23:51 +0200)]
test: add typed arrays to known globals list
Fedor Indutny [Sat, 13 Aug 2011 17:45:38 +0000 (00:45 +0700)]
small NPN doc fix
Fixes #1522.
Artem Zaytsev [Sat, 30 Jul 2011 18:06:46 +0000 (22:06 +0400)]
platform: fix GetFreeMemory() on 64 bits freebsd
v_free_count is defined as u_int v_free_count (struct vmmeter sys/vmmeter.h:87)
but variable info defined as unsigned long, this cause error on 64-bits systems
because higher 32 bits remain uninitialized
Ben Noordhuis [Fri, 12 Aug 2011 16:57:04 +0000 (18:57 +0200)]
build: add src/v8_typed_array.cc to gyp sources list
Ben Noordhuis [Fri, 12 Aug 2011 16:52:06 +0000 (18:52 +0200)]
typed arrays: fix signed/unsigned compiler warnings
Ben Noordhuis [Wed, 27 Jul 2011 03:08:47 +0000 (05:08 +0200)]
typed arrays: preliminary benchmarks
Ben Noordhuis [Wed, 27 Jul 2011 02:34:28 +0000 (04:34 +0200)]
typed arrays: add Float64Array
Ben Noordhuis [Tue, 26 Jul 2011 21:38:25 +0000 (23:38 +0200)]
typed arrays: alias method subarray() to slice()
Ben Noordhuis [Tue, 26 Jul 2011 21:20:29 +0000 (23:20 +0200)]
typed arrays: integrate plask's typed array implementation
Glen Low [Thu, 11 Aug 2011 09:40:55 +0000 (17:40 +0800)]
crypto: PBKDF2 function from OpenSSL
Ben Noordhuis [Fri, 12 Aug 2011 14:14:46 +0000 (16:14 +0200)]
uv: upgrade to 7f82995
Brian White [Tue, 9 Aug 2011 04:40:10 +0000 (00:40 -0400)]
Incorporate endianness into buffer.read* function names instead of passing in a boolean flag
Ben Noordhuis [Fri, 12 Aug 2011 13:46:44 +0000 (15:46 +0200)]
test: enable simple/test-http-dns-error for `make test-uv`
Ben Noordhuis [Mon, 8 Aug 2011 20:56:26 +0000 (22:56 +0200)]
test: add test for #1202, uncatchable exception on bad host name
Ben Noordhuis [Fri, 12 Aug 2011 13:42:45 +0000 (15:42 +0200)]
net: defer DNS lookup error events to next tick
net.createConnection() creates a net.Socket object
and immediately calls net.Socket.connect() on it.
There are no event listeners registered yet so
defer the error event to the next tick.
Fixes #1202.
Ben Noordhuis [Fri, 12 Aug 2011 13:32:43 +0000 (15:32 +0200)]
build: remove 1024 char read limit from cmake file
Ben Noordhuis [Mon, 8 Aug 2011 20:56:26 +0000 (22:56 +0200)]
test: add test for #1202, uncatchable exception on bad host name
Ben Noordhuis [Tue, 9 Aug 2011 14:26:42 +0000 (16:26 +0200)]
net: defer DNS lookup error events to next tick
net.createConnection() creates a net.Socket object
and immediately calls net.Socket.connect() on it.
There are no event listeners registered yet so
defer the error event to the next tick.
Fixes #1202.
Arnout Kazemier [Fri, 12 Aug 2011 11:05:46 +0000 (14:05 +0300)]
Small changes for fs.watchFile. Fixed broken markdown. Changed variable `f` to a proper filename.
Fixes #1507.
Ryan Dahl [Fri, 12 Aug 2011 09:15:19 +0000 (02:15 -0700)]
Now working on v0.5.5
Ryan Dahl [Fri, 12 Aug 2011 07:46:39 +0000 (00:46 -0700)]
Bump version to v0.5.4
Ryan Dahl [Fri, 12 Aug 2011 08:14:04 +0000 (01:14 -0700)]
Upgrade libuv to 65f71a2
Ryan Dahl [Fri, 12 Aug 2011 06:59:21 +0000 (23:59 -0700)]
Upgrade V8 to v3.5.4
Ryan Dahl [Thu, 11 Aug 2011 23:46:26 +0000 (16:46 -0700)]
Upgrade libuv to d358738
Ryan Dahl [Thu, 11 Aug 2011 23:42:14 +0000 (16:42 -0700)]
Add some debug output to test-child-process-double-pipe
Ryan Dahl [Thu, 11 Aug 2011 23:41:53 +0000 (16:41 -0700)]
net_uv: resume on closed net.Socket shouldn't crash
Ben Noordhuis [Thu, 11 Aug 2011 23:10:41 +0000 (01:10 +0200)]
build: .gitignore build/ directory
isaacs [Thu, 11 Aug 2011 22:30:56 +0000 (15:30 -0700)]
Fix #1497 querystring: Replace 'in' test with 'hasOwnProperty'
isaacs [Thu, 11 Aug 2011 22:30:56 +0000 (15:30 -0700)]
Fix #1497 querystring: Replace 'in' test with 'hasOwnProperty'
Ben Noordhuis [Thu, 11 Aug 2011 21:39:38 +0000 (23:39 +0200)]
http: destroy socket on error
Needs further investigation, the test passed without `--use-uv`.
Fixes failing test:
test/simple/test-http-dns-fail.js
Ryan Dahl [Thu, 11 Aug 2011 17:44:20 +0000 (10:44 -0700)]
net_uv: pipes don't have getsockname
koichik [Thu, 11 Aug 2011 08:13:13 +0000 (17:13 +0900)]
Doc improvements
related to #1472.
Ben Noordhuis [Thu, 11 Aug 2011 15:41:30 +0000 (17:41 +0200)]
net: properly export remoteAddress to user land
Fixes failing test:
test/simple/test-net-remote-address-port.js
Ben Noordhuis [Thu, 11 Aug 2011 13:57:03 +0000 (15:57 +0200)]
test: fix logic error in test-net-remote-address-port.js
The test intended to register an 'at exit' listener
but called `process.exit()` instead.
Christopher Wright [Thu, 11 Aug 2011 04:09:33 +0000 (14:09 +1000)]
Correct code span
Fixes #1489.
Peter Bright [Thu, 11 Aug 2011 01:45:56 +0000 (02:45 +0100)]
Fix MSVS building.
Bert Belder [Thu, 11 Aug 2011 02:00:39 +0000 (04:00 +0200)]
Ben Noordhuis [Thu, 11 Aug 2011 00:47:43 +0000 (02:47 +0200)]
node: propagate --use-uv to child processes
Ben Noordhuis [Thu, 11 Aug 2011 00:46:02 +0000 (02:46 +0200)]
uv: upgrade to e8497ae
Ryan Dahl [Thu, 11 Aug 2011 00:14:23 +0000 (17:14 -0700)]
win: fix test-process-env
Remove support for setting process.env.TZ as it doesn't seem we can do it
x-platform without fixing V8.
Ben Noordhuis [Wed, 10 Aug 2011 23:40:16 +0000 (01:40 +0200)]
uv: upgrade to b328e4c
Ben Noordhuis [Wed, 10 Aug 2011 22:36:22 +0000 (00:36 +0200)]
uv: upgrade to b6b97f3
Ben Noordhuis [Wed, 10 Aug 2011 21:59:21 +0000 (23:59 +0200)]
tcp: propagate libuv tcp accept() errors to net_uv.js
Ryan Dahl [Wed, 10 Aug 2011 21:23:26 +0000 (14:23 -0700)]
Upgrade libuv to db190c7
Ryan Dahl [Wed, 10 Aug 2011 21:09:21 +0000 (14:09 -0700)]
net_uv: Handle failed shutdown req
Ryan Dahl [Wed, 10 Aug 2011 20:33:22 +0000 (13:33 -0700)]
Add test-pipe-file-to-http to test-uv
Ryan Dahl [Wed, 10 Aug 2011 20:27:05 +0000 (13:27 -0700)]
net_uv: fix test/simple/test-pipe-file-to-http.js
Ryan Dahl [Wed, 10 Aug 2011 18:32:32 +0000 (11:32 -0700)]
test: Allow common.ddCommand to be run in presence of existing file
Ryan Dahl [Wed, 10 Aug 2011 18:22:58 +0000 (11:22 -0700)]
x-platform func for spawning pwd in tests
Fixes test-child-process-buffering
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.
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.
Fedor Indutny [Sat, 30 Jul 2011 14:03:05 +0000 (21:03 +0700)]
Add NPN and SNI documentation.
Fixes #1420.
Fixes #1426.
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
Bert Belder [Wed, 10 Aug 2011 02:23:44 +0000 (04:23 +0200)]
Open files in binary mode, on msvc too
Ryan Dahl [Wed, 10 Aug 2011 01:05:50 +0000 (18:05 -0700)]
Remove unnecessary line
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.
Ryan Dahl [Wed, 10 Aug 2011 00:46:29 +0000 (17:46 -0700)]
Add fixed tests to test-uv
Ryan Dahl [Wed, 10 Aug 2011 00:43:57 +0000 (17:43 -0700)]
Fix dd command tests for Windows
Ryan Dahl [Tue, 9 Aug 2011 23:38:48 +0000 (16:38 -0700)]
Fix test/simple/test-repl
Ryan Dahl [Tue, 9 Aug 2011 23:06:32 +0000 (16:06 -0700)]
Improve win compat of test-repl
Tom Hughes [Fri, 5 Aug 2011 22:22:54 +0000 (15:22 -0700)]
crypto: fix incorrect ssl shutdown check
Tom Hughes [Fri, 5 Aug 2011 20:52:27 +0000 (13:52 -0700)]
net: fix incorrect sizeof()
Tom Hughes [Fri, 5 Aug 2011 22:22:54 +0000 (15:22 -0700)]
crypto: fix incorrect ssl shutdown check
Tom Hughes [Fri, 5 Aug 2011 20:52:27 +0000 (13:52 -0700)]
net: fix incorrect sizeof()