Ben Noordhuis [Fri, 29 Jul 2011 15:26:45 +0000 (17:26 +0200)]
util: add sprintf-like format() function
Fixes #1407.
Fedor Indutny [Thu, 28 Jul 2011 15:52:04 +0000 (22:52 +0700)]
Add support for TLS SNI
Fixes #1411
Ryan Dahl [Fri, 29 Jul 2011 22:43:56 +0000 (15:43 -0700)]
Upgrade libuv to
7108ca88
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
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
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.
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.
Fedor Indutny [Thu, 28 Jul 2011 13:02:04 +0000 (20:02 +0700)]
crypto: dispose persistent properties on class destruction
Ryan Dahl [Thu, 28 Jul 2011 03:03:02 +0000 (20:03 -0700)]
Fix test-module-load-list for use-uv
Ryan Dahl [Thu, 28 Jul 2011 02:54:31 +0000 (19:54 -0700)]
Lazy load a few modules
Ryan Dahl [Thu, 28 Jul 2011 02:30:32 +0000 (19:30 -0700)]
Add process.moduleLoadList for better startup transparency
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
Ryan Dahl [Wed, 27 Jul 2011 23:36:03 +0000 (16:36 -0700)]
Speed up startup time
Reverts
2a05fe784d.
Ryan Dahl [Mon, 25 Jul 2011 21:34:15 +0000 (14:34 -0700)]
Remove pkg-conf file
Ben Noordhuis [Wed, 27 Jul 2011 18:10:11 +0000 (20:10 +0200)]
uv: upgrade to fc7bc2b
Aku Kotkavuo [Wed, 27 Jul 2011 03:16:50 +0000 (06:16 +0300)]
Add missing parentheses in buffer docs.
Fixes #1405.
Ben Noordhuis [Wed, 27 Jul 2011 02:13:49 +0000 (04:13 +0200)]
wrap: upgrade pipe_wrap and tcp_wrap to new libuv API
Igor Zinkovsky [Wed, 27 Jul 2011 01:37:21 +0000 (18:37 -0700)]
stdio binding + javascript to enable process.stdin.listen()
Ben Noordhuis [Wed, 27 Jul 2011 01:54:00 +0000 (03:54 +0200)]
uv: upgrade to a1adfe3
SAWADA Tadashi [Sun, 19 Jun 2011 07:54:34 +0000 (16:54 +0900)]
Fix crypto encryption/decryption with Base64.
Fixes #738.
Fixes #1205.
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.
Felix Geisendörfer [Tue, 26 Jul 2011 15:19:05 +0000 (17:19 +0200)]
Fix test-net-stream.js
I broke this in 09ee293.
Ben Noordhuis [Mon, 25 Jul 2011 22:39:57 +0000 (00:39 +0200)]
http: add --use-http2 switch
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
Mikeal Rogers [Mon, 25 Jul 2011 22:13:24 +0000 (00:13 +0200)]
doc: http2 documentation
Mikeal Rogers [Mon, 25 Jul 2011 22:15:15 +0000 (00:15 +0200)]
http: http2 implementation
Felix Geisendörfer [Mon, 25 Jul 2011 07:01:44 +0000 (09:01 +0200)]
Emit 'close' after all connections have closed
Fixes #1383
Ben Noordhuis [Mon, 25 Jul 2011 21:54:44 +0000 (23:54 +0200)]
cli: don't print result of --eval
Fixes #572.
Alexander Uvarov [Sat, 23 Jul 2011 07:00:43 +0000 (13:00 +0600)]
Docs for Socket::bytesRead, Socket::bytesWritten
Alexander Uvarov [Thu, 21 Jul 2011 08:20:01 +0000 (14:20 +0600)]
Add Socket::bytesRead, Socket::bytesWritten
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
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).
Ben Noordhuis [Sat, 23 Jul 2011 21:16:48 +0000 (23:16 +0200)]
process: add process.features, remove process.useUV
Partially fixes #1385.
koichik [Thu, 21 Jul 2011 17:53:11 +0000 (02:53 +0900)]
Add an optional length argument to Buffer.write()
Fixes #243.
Fixes #1361.
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.
Jeroen Janssen [Fri, 22 Jul 2011 19:44:15 +0000 (21:44 +0200)]
build: add wscript detection for node_version
koichik [Sat, 23 Jul 2011 05:29:13 +0000 (14:29 +0900)]
Doc improvements
Bert Belder [Fri, 22 Jul 2011 14:28:56 +0000 (16:28 +0200)]
Windows/cygwin: no more GetConsoleTitleW errors on XP
Ryan Dahl [Fri, 22 Jul 2011 18:51:43 +0000 (11:51 -0700)]
Now working on v0.5.3
Ryan Dahl [Fri, 22 Jul 2011 10:55:26 +0000 (03:55 -0700)]
Bump version to v0.5.2
Bert Belder [Fri, 22 Jul 2011 10:16:17 +0000 (12:16 +0200)]
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
Ryan Dahl [Fri, 22 Jul 2011 09:11:02 +0000 (02:11 -0700)]
win: fix simple/test-tls-client-abort.js
Ryan Dahl [Fri, 22 Jul 2011 08:20:13 +0000 (01:20 -0700)]
net_uv: Fix test-net-server-bind
Ryan Dahl [Fri, 22 Jul 2011 05:20:54 +0000 (22:20 -0700)]
Merge branch 'V8-3.4'
Ryan Dahl [Fri, 22 Jul 2011 05:20:37 +0000 (22:20 -0700)]
Upgrade V8 to 3.4.14
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.
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.
Ben Noordhuis [Thu, 21 Jul 2011 22:48:50 +0000 (00:48 +0200)]
net_uv: emit 'close' event in Server.prototype.close()
Ben Noordhuis [Thu, 21 Jul 2011 22:47:28 +0000 (00:47 +0200)]
net_uv: release uv handle in Socket.prototype.destroy()
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.
Ryan Dahl [Thu, 21 Jul 2011 22:42:08 +0000 (15:42 -0700)]
Add tls tests to test-uv
Ryan Dahl [Thu, 21 Jul 2011 21:19:24 +0000 (14:19 -0700)]
escape backslashes for windows pipe name
Ryan Dahl [Thu, 21 Jul 2011 20:39:53 +0000 (13:39 -0700)]
Remove logos from package
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.
Ben Noordhuis [Thu, 21 Jul 2011 19:22:56 +0000 (21:22 +0200)]
test: add test-net-pingpong to `make test-uv` list
Ben Noordhuis [Thu, 21 Jul 2011 19:21:06 +0000 (21:21 +0200)]
test: add common.PIPE, pipe name for tests
Bert Belder [Thu, 21 Jul 2011 13:41:28 +0000 (15:41 +0200)]
Bert Belder [Thu, 21 Jul 2011 13:26:10 +0000 (15:26 +0200)]
Add tests for process.nextTick bugs on windows
These are supposed to pass w/ libuv, so add them to the test-uv tests.
Trent Mick [Thu, 21 Jul 2011 05:42:10 +0000 (22:42 -0700)]
http: fix setting ServerResponse.statusCode in writeHead
Fixes #1374.
Yoshihiro Kikuchi [Wed, 20 Jul 2011 02:17:58 +0000 (11:17 +0900)]
test: added test/simple/test-fs-watch-file.js
Yoshihiro Kikuchi [Thu, 14 Jul 2011 06:14:44 +0000 (15:14 +0900)]
fs: added an argument check in fs.watchFile
Fixes #1324.
Ryan Dahl [Thu, 21 Jul 2011 02:55:12 +0000 (19:55 -0700)]
upgrade libuv to 6e50576
Ben Noordhuis [Thu, 21 Jul 2011 01:42:39 +0000 (03:42 +0200)]
uv: back-port c4611a4 from libuv
Ben Noordhuis [Wed, 20 Jul 2011 22:19:31 +0000 (00:19 +0200)]
uv: upgrade to afc9987
Ben Noordhuis [Wed, 20 Jul 2011 22:36:54 +0000 (00:36 +0200)]
test: beef up checks in test-http-unix-socket.js, add to `make test-uv`
Ben Noordhuis [Tue, 19 Jul 2011 20:49:42 +0000 (22:49 +0200)]
net: add bindings to libuv pipe API
isaacs [Thu, 21 Jul 2011 00:39:23 +0000 (17:39 -0700)]
Close #1357 Load json files with require()
Signed off by everybody.
Ben Noordhuis [Wed, 20 Jul 2011 20:15:41 +0000 (22:15 +0200)]
url: throw descriptive error if url argument to parse() is not a string
Fixes #568.
Ben Noordhuis [Wed, 20 Jul 2011 19:48:40 +0000 (21:48 +0200)]
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.
Ryan Dahl [Wed, 20 Jul 2011 18:06:45 +0000 (11:06 -0700)]
process.stdout/process.stderr should use net_legacy for now
Ben Noordhuis [Wed, 20 Jul 2011 16:06:16 +0000 (18:06 +0200)]
Upgrade libuv to ce5eb6d
Ryan Dahl [Wed, 20 Jul 2011 07:37:26 +0000 (00:37 -0700)]
Now working on v0.4.11
Ryan Dahl [Tue, 19 Jul 2011 17:46:40 +0000 (10:46 -0700)]
Bump version to v0.4.10
Ryan Dahl [Tue, 19 Jul 2011 23:17:43 +0000 (16:17 -0700)]
Use ms instead of sec for gc idle times
We were calling V8::IdleNotification too often.
Ryan Dahl [Tue, 19 Jul 2011 17:27:48 +0000 (10:27 -0700)]
Remove toc on logo page
isaacs [Tue, 19 Jul 2011 18:56:44 +0000 (11:56 -0700)]
Close #1360 url: Allow _ in hostnames.
isaacs [Tue, 19 Jul 2011 16:55:01 +0000 (09:55 -0700)]
Close #1360 url: Allow _ in hostnames.
Reid Burke [Fri, 8 Jul 2011 04:04:27 +0000 (21:04 -0700)]
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.
Ryan Dahl [Tue, 19 Jul 2011 09:50:33 +0000 (02:50 -0700)]
complete upgrade
Ryan Dahl [Tue, 19 Jul 2011 09:47:15 +0000 (02:47 -0700)]
Upgrade libuv to d4563a1
Ryan Dahl [Tue, 19 Jul 2011 09:18:10 +0000 (02:18 -0700)]
net_uv: properly initialize writeQueueSize
Fixes simple/test-tcp-wrap-listen.js
Ryan Dahl [Tue, 19 Jul 2011 09:04:34 +0000 (02:04 -0700)]
net_uv: Fix simple/test-http-expect-continue.js
Ryan Dahl [Tue, 19 Jul 2011 08:46:38 +0000 (01:46 -0700)]
Finally remove node::EventEmitter
Ryan Dahl [Tue, 19 Jul 2011 08:23:50 +0000 (01:23 -0700)]
Remove StatWatcher's dep on C++ EventEmitter
Ryan Dahl [Mon, 18 Jul 2011 23:26:37 +0000 (16:26 -0700)]
Upgrade libuv to
4eff34da4
Ryan Dahl [Mon, 18 Jul 2011 20:45:11 +0000 (13:45 -0700)]
Move HandleWrap rules to one place
Ben Noordhuis [Mon, 18 Jul 2011 11:39:22 +0000 (13:39 +0200)]
Replace reinterpret_cast with BitCast in deoptimizer to please certain compilers.
This is a back-port of upstream V8 rev 8672.
Fixes #1354.
Ryan Dahl [Mon, 18 Jul 2011 11:36:36 +0000 (04:36 -0700)]
Change text on homepage about Web Workers
Ryan Dahl [Mon, 18 Jul 2011 11:30:40 +0000 (04:30 -0700)]
PipeWrap should use HandleWrap::Close
Ryan Dahl [Mon, 18 Jul 2011 11:22:16 +0000 (04:22 -0700)]
Abstract out HandleWrap class
Ryan Dahl [Mon, 18 Jul 2011 10:07:26 +0000 (03:07 -0700)]
Add pipe_wrap
Ryan Dahl [Mon, 18 Jul 2011 09:32:32 +0000 (02:32 -0700)]
Abstract StreamWrap from TCPWrap
Ryan Dahl [Mon, 18 Jul 2011 09:32:45 +0000 (02:32 -0700)]
Output size of binaries on 'make'
isaacs [Fri, 15 Jul 2011 22:26:15 +0000 (15:26 -0700)]
Close #1349 Delimit NODE_PATH with ; on Windows
Pierre-Alexandre St-Jean [Fri, 15 Jul 2011 14:15:07 +0000 (07:15 -0700)]
node-amqp is now being maintained by Theo Schlossnagle https://github.com/postwait/node-amqp
Ben Noordhuis [Sat, 16 Jul 2011 14:00:06 +0000 (16:00 +0200)]
Fix Math.pow crashes on machines without SSE2.
This is a back-port of r8577 from V8's upstream 3.1 branch.
Fixes #829.
Ben Noordhuis [Sat, 16 Jul 2011 12:51:45 +0000 (14:51 +0200)]
Revert dcf6955: Fix V8 mingw32 build
Patch has been merged upstream in V8 3.4.6.
Fixes #1351.
Steve Engledow [Tue, 5 Jul 2011 11:07:08 +0000 (12:07 +0100)]
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.
koichik [Sat, 16 Jul 2011 05:12:00 +0000 (14:12 +0900)]
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.