isaacs [Wed, 21 Apr 2010 01:13:07 +0000 (18:13 -0700)]
Refactor events module to lib/events.js
Herbert Vojčík [Wed, 21 Apr 2010 10:54:56 +0000 (12:54 +0200)]
Fix TCP_KEEPIDLE build failure in FreeBSD.
Julian Lamb [Tue, 20 Apr 2010 23:01:41 +0000 (19:01 -0400)]
add setKeepAlive function, which enables and sets the TCP keep-alive timer
Ryan Dahl [Tue, 20 Apr 2010 21:43:08 +0000 (21:43 +0000)]
Add some libpaths for SSL
Michaeljohn Clement [Tue, 20 Apr 2010 17:07:55 +0000 (13:07 -0400)]
better function test in addEventListener
Tim Caswell [Mon, 19 Apr 2010 13:18:16 +0000 (08:18 -0500)]
Add a note in the API docs about binding to ports and using strings.
Tim Caswell [Mon, 19 Apr 2010 13:17:37 +0000 (08:17 -0500)]
Add Buffer.byteLength docs
Ryan Dahl [Mon, 19 Apr 2010 22:48:12 +0000 (15:48 -0700)]
Make 'make distclean' work on solaris
Ryan Dahl [Sun, 18 Apr 2010 23:57:13 +0000 (19:57 -0400)]
Upgrade Waf to 1.5.16
Standa Opichal [Sun, 18 Apr 2010 16:24:08 +0000 (18:24 +0200)]
Do a manual check for openssl if 'pkg-config openssl' fails.
This makes the node_crypto module available for node built using just a
default OS X dev environment (no darwinports or fink).
Herbert Vojčík [Sun, 18 Apr 2010 20:35:44 +0000 (13:35 -0700)]
Docs for Script class of 'evals' binding.
Ryan Dahl [Sun, 18 Apr 2010 19:44:23 +0000 (15:44 -0400)]
Remove old EvalCX
Herbert Vojcik [Sat, 17 Apr 2010 15:18:15 +0000 (17:18 +0200)]
Script class with eval-function-family in binding('evals') plus tests.
Matt Ranney [Fri, 16 Apr 2010 00:52:42 +0000 (17:52 -0700)]
Add docs for new REPL options and fill out description of commands.
Rhys Jones [Thu, 15 Apr 2010 19:03:55 +0000 (20:03 +0100)]
Fixed ssl client and server examples
Rhys Jones [Thu, 15 Apr 2010 18:57:35 +0000 (19:57 +0100)]
Merge branch 'master' into openssl
Rhys Jones [Thu, 15 Apr 2010 18:57:17 +0000 (19:57 +0100)]
Added test and started tidy-up of node_crypto.cc
Micheil Smith [Thu, 15 Apr 2010 18:19:54 +0000 (11:19 -0700)]
Fix upgradeHead bounds.
Rhys Jones [Thu, 15 Apr 2010 09:56:42 +0000 (10:56 +0100)]
Merge branch 'master' into openssl
Ryan Dahl [Thu, 15 Apr 2010 08:54:20 +0000 (01:54 -0700)]
bump version
Ryan Dahl [Thu, 15 Apr 2010 09:09:36 +0000 (02:09 -0700)]
Default to UTF8 on stream write
Ryan Dahl [Thu, 15 Apr 2010 09:01:49 +0000 (02:01 -0700)]
Use new method of getting chars written for UTF8
Ryan Dahl [Thu, 15 Apr 2010 08:37:27 +0000 (01:37 -0700)]
Move two broken tests to disabled folder
Ryan Dahl [Thu, 15 Apr 2010 08:29:39 +0000 (01:29 -0700)]
Simplify GC idle notification
In particular, don't leave the timeout running when the heap is fully
compacted.
Rhys Jones [Thu, 15 Apr 2010 05:21:15 +0000 (06:21 +0100)]
Merge branch 'master' into openssl
Rhys Jones [Thu, 15 Apr 2010 05:17:22 +0000 (06:17 +0100)]
Updated https support
Ryan Dahl [Thu, 15 Apr 2010 01:50:41 +0000 (18:50 -0700)]
Add execFile() for Orlando
Undocumented for now, but basically like exec() with args.
Ryan Dahl [Wed, 14 Apr 2010 18:59:24 +0000 (11:59 -0700)]
Add timeout and maxBuffer options to child_process.exec
Ryan Dahl [Wed, 14 Apr 2010 17:34:17 +0000 (10:34 -0700)]
Upgrade V8 to 2.2.3.1
Ryan Dahl [Wed, 14 Apr 2010 10:52:15 +0000 (03:52 -0700)]
Support Upgrade in HTTP messages
This allows for web servers to be "hijacked" and used as Web Socket servers
(or other). You simply listen for requests as normal, but check if
req.upgrade === true
If so, this will be the last request of the connection. It's your job now to
hijack req.connection and start reading from it. req.upgradeHead is a buffer
containing the first part of the new protocol communication (in the case it
arrived on the same packet).
This needs tests and documentation. API subject to change.
Ryan Dahl [Wed, 14 Apr 2010 10:22:38 +0000 (03:22 -0700)]
Upgrade http-parser
Ryan Dahl [Wed, 14 Apr 2010 07:41:56 +0000 (00:41 -0700)]
net.js: Slice the right buffer in _writeOut
Ryan Dahl [Wed, 14 Apr 2010 07:36:34 +0000 (00:36 -0700)]
Fix triple buffer slice bug
Rhys Jones [Wed, 14 Apr 2010 06:31:33 +0000 (07:31 +0100)]
Merge branch 'master' into openssl
Conflicts:
lib/net.js
wscript
Ryan Dahl [Tue, 13 Apr 2010 23:57:16 +0000 (16:57 -0700)]
Disable test-idle-watcher
IdleWatcher was disabled in
a98d23d9058cdf71a452e71bf8831e4ba2445b50
Ryan Dahl [Tue, 13 Apr 2010 23:43:15 +0000 (16:43 -0700)]
Fix test case style
Ryan Dahl [Tue, 13 Apr 2010 23:22:12 +0000 (16:22 -0700)]
Add big proxy failing test
GH-77. Code by Robert Newson <robert.newson@gmail.com>
Ryan Dahl [Tue, 13 Apr 2010 22:56:06 +0000 (15:56 -0700)]
Use === instead of == for END_OF_FILE compares
This caused a very hard to track down bug. Thanks to Mikeal Rogers for this
fix. Unfortunately we were unable to put together a test case.
Ryan Dahl [Tue, 13 Apr 2010 22:43:22 +0000 (15:43 -0700)]
Disable IdleWatcher
Ryan Dahl [Tue, 13 Apr 2010 22:39:15 +0000 (15:39 -0700)]
Change nextTick implementation for the better
Use a prepare and idle watcher to execute the nextTick callback more
quickly. Test provided by Matt Ranney.
Ryan Dahl [Tue, 13 Apr 2010 20:50:17 +0000 (13:50 -0700)]
Remove mixin from docs
Ryan Dahl [Tue, 13 Apr 2010 20:44:05 +0000 (13:44 -0700)]
process.mixin: deprecation -> removed
Micheil Smith [Mon, 12 Apr 2010 16:27:32 +0000 (02:27 +1000)]
Moving the http.js, net.js FreeList to being standalone.
Ryan Dahl [Mon, 12 Apr 2010 23:34:39 +0000 (16:34 -0700)]
Recycle http client parsers
Ryan Dahl [Mon, 12 Apr 2010 23:27:04 +0000 (16:27 -0700)]
doc typo
Matt Ranney [Mon, 12 Apr 2010 21:29:49 +0000 (14:29 -0700)]
Buffer partial reads before doing expect match.
Rhys Jones [Mon, 12 Apr 2010 20:25:16 +0000 (21:25 +0100)]
Moved Credentials into crypto module. Added node_crypto into crypto module
Ryan Dahl [Mon, 12 Apr 2010 19:34:24 +0000 (12:34 -0700)]
Fix a race condition or two in net.js
When making a TCP connection, readyState returns 'opening' while resolving
the host. However between the resolving period and the establishing a
connection period, it would return 'closed'. This fixes it.
This change also ensures that the socket is closed before the 'end' event is
emitted in the case that the socket was previously shutdown.
Rhys Jones [Mon, 12 Apr 2010 19:36:46 +0000 (20:36 +0100)]
Added https server support
Rhys Jones [Mon, 12 Apr 2010 17:57:22 +0000 (18:57 +0100)]
Added https support
Tim Caswell [Mon, 12 Apr 2010 16:57:24 +0000 (11:57 -0500)]
Replace slow and broken for..in loops with faster for loops over the keys.
Matt Ranney [Sun, 11 Apr 2010 23:13:32 +0000 (16:13 -0700)]
REPL can be run from multiple different streams.
e.g. from UNIX sockets with socat.
Ryan Dahl [Sun, 11 Apr 2010 23:12:20 +0000 (16:12 -0700)]
C-Ares shouldn't iterate over all Object.prototype elements
and furthermore error out of one of them isn't a DNS option.
Test case by Ben Lund <ben.lund@gmail.com>; additional help from Tim Caswell
<tim@creationix.com>.
Matt Ranney [Wed, 24 Mar 2010 06:27:31 +0000 (23:27 -0700)]
Fix typo in comments.
Ryan Dahl [Sun, 11 Apr 2010 22:15:36 +0000 (15:15 -0700)]
Add incoming.httpVersion
isaacs [Sun, 11 Apr 2010 20:46:24 +0000 (13:46 -0700)]
trailing whitespace fixes
Ryan Dahl [Sun, 11 Apr 2010 19:21:33 +0000 (12:21 -0700)]
Add failing test for HEAD requests
Needs to be fixed for 0.2.
James Herdman [Sat, 10 Apr 2010 16:08:11 +0000 (12:08 -0400)]
Fix documentation errors for DNS
Ryan Dahl [Fri, 9 Apr 2010 23:58:29 +0000 (16:58 -0700)]
bump version
Ryan Dahl [Fri, 9 Apr 2010 22:50:38 +0000 (15:50 -0700)]
Fix doc again
Ryan Dahl [Fri, 9 Apr 2010 22:34:08 +0000 (15:34 -0700)]
More documentation work. Remove long lines
Ryan Dahl [Fri, 9 Apr 2010 21:51:20 +0000 (14:51 -0700)]
Improve(\?) docs
Micheil Smith [Fri, 9 Apr 2010 19:34:21 +0000 (05:34 +1000)]
Mods to the docs
Ryan Dahl [Fri, 9 Apr 2010 17:44:08 +0000 (10:44 -0700)]
Servers shouldn't die on EMFILE
Ryan Dahl [Fri, 9 Apr 2010 17:42:20 +0000 (10:42 -0700)]
Set old/new from benchmark script args
Tim Caswell [Fri, 9 Apr 2010 16:56:22 +0000 (11:56 -0500)]
Fix child_process to use end() instead of close() in the stdin stream.
Herbert Vojcik [Fri, 9 Apr 2010 12:22:00 +0000 (14:22 +0200)]
Fix of normalizing paths of form ./../the/rest
Ryan Dahl [Fri, 9 Apr 2010 05:42:02 +0000 (22:42 -0700)]
Change api.html style
Ryan Dahl [Fri, 9 Apr 2010 00:39:33 +0000 (17:39 -0700)]
Change how events are represented in docs
Matt Ranney [Wed, 31 Mar 2010 06:12:15 +0000 (23:12 -0700)]
Improve child_process documentation.
Ryan Dahl [Thu, 8 Apr 2010 23:31:02 +0000 (16:31 -0700)]
Use some more Binary/F methods for Buffer
Ryan Dahl [Thu, 8 Apr 2010 22:20:13 +0000 (15:20 -0700)]
Close child process stdin on SIGCHLD
Ryan Dahl [Thu, 8 Apr 2010 21:22:30 +0000 (14:22 -0700)]
Doc changes for new API (part 1)
Felix Geisendörfer [Thu, 8 Apr 2010 20:29:39 +0000 (22:29 +0200)]
Fix doc toc for small screens
Only make the toc fixed position for big screens.
Felix Geisendörfer [Thu, 8 Apr 2010 20:07:14 +0000 (22:07 +0200)]
Bring back the old manual style
This brings back the old manual style, including the toc and syntax
highlighting.
Ryan Dahl [Thu, 8 Apr 2010 17:44:22 +0000 (10:44 -0700)]
Update stream API: forceClose() -> destroy(), close() -> end()
Ryan Dahl [Thu, 8 Apr 2010 17:37:10 +0000 (10:37 -0700)]
Put file stream methods into prototype, small style fixes
Ryan Dahl [Thu, 8 Apr 2010 17:22:55 +0000 (10:22 -0700)]
Rename binding reference in fs.js
Herbert Vojcik [Thu, 8 Apr 2010 14:15:56 +0000 (16:15 +0200)]
Better require.async throw test
isaacs [Thu, 8 Apr 2010 15:07:15 +0000 (08:07 -0700)]
Add line breaks to the code when the user types a line break
Ryan Dahl [Thu, 8 Apr 2010 14:19:42 +0000 (07:19 -0700)]
Revert "Enable TCP timeout by default"
Causing programs to not exit gracefully.
This reverts commit
cb84cde4d42637fd79ceacea1f0123995c23eea5.
Ryan Dahl [Thu, 8 Apr 2010 08:00:29 +0000 (01:00 -0700)]
Support both old and new HTTP closing APIs in benchmark program
Ryan Dahl [Thu, 8 Apr 2010 07:59:57 +0000 (00:59 -0700)]
Enable TCP timeout by default
Ryan Dahl [Thu, 8 Apr 2010 01:25:37 +0000 (18:25 -0700)]
Remove udns
Ryan Dahl [Wed, 7 Apr 2010 23:19:50 +0000 (16:19 -0700)]
Fix benchmark script for testing both old and new version
Ryan Dahl [Wed, 7 Apr 2010 23:09:10 +0000 (16:09 -0700)]
Remove debugging statements from dns_cares
Ryan Dahl [Wed, 7 Apr 2010 23:05:07 +0000 (16:05 -0700)]
Use c-ares in lib/net.js
Ryan Dahl [Wed, 7 Apr 2010 23:04:33 +0000 (16:04 -0700)]
Check for ip address in dns_cares.lookup
Ryan Dahl [Wed, 7 Apr 2010 22:37:08 +0000 (15:37 -0700)]
Add a simple c-ares test, dns_cares.lookup() for easy resolv
Ryan Dahl [Wed, 7 Apr 2010 20:39:11 +0000 (13:39 -0700)]
Add darwin-x86, linux-x86_64 c-ares headers
Ryan Dahl [Wed, 7 Apr 2010 20:34:40 +0000 (13:34 -0700)]
Clean up c-ares platform includes, add support for a few more
Ryan Dahl [Wed, 7 Apr 2010 18:25:55 +0000 (11:25 -0700)]
Bugfix: net.js flushing, _doFlush typo
Herbert Vojcik [Wed, 7 Apr 2010 18:07:57 +0000 (20:07 +0200)]
Better require.async tests
Vanilla Hsu [Wed, 7 Apr 2010 16:05:37 +0000 (00:05 +0800)]
add c-ares' freebsd support.
Ryan Dahl [Wed, 7 Apr 2010 08:45:20 +0000 (01:45 -0700)]
Update LICENSE file with C-Ares info
Krishna Rajendran [Wed, 7 Apr 2010 01:37:40 +0000 (21:37 -0400)]
Make test-dns.js use dns_cares.
Krishna Rajendran [Tue, 6 Apr 2010 10:28:37 +0000 (06:28 -0400)]
c-ares based dns module
Ryan Dahl [Tue, 6 Apr 2010 10:41:32 +0000 (06:41 -0400)]
Include c-ares in deps/
Vanilla Hsu [Wed, 7 Apr 2010 03:39:29 +0000 (11:39 +0800)]
[FreeBSD] use /dev/null instead /dev/mem
Without this patch, Node needs to setgid kmem when run as normal user.
Ryan Dahl [Tue, 6 Apr 2010 23:15:04 +0000 (16:15 -0700)]
Try out Flatten API
Speeds up WriteUtf8 significantly when dealing with strings made by the
concatenation of many others.