Peter Griess [Tue, 4 May 2010 16:26:23 +0000 (11:26 -0500)]
Fix SEGV by setting msg_controllen earlier.
- Some implementations of CMSG_FIRSTHDR() rely on msg_controllen being
set correctly, else it returns NULL: see <linux/socket.h>.
Rhys Jones [Mon, 3 May 2010 22:37:49 +0000 (23:37 +0100)]
Additional OpenSSL tests
Paulo Matias [Sun, 2 May 2010 18:21:43 +0000 (15:21 -0300)]
Read all records to always empty the OpenSSL reading buffer.
Paulo Matias [Sun, 2 May 2010 03:40:21 +0000 (00:40 -0300)]
Make it possible to use client certificates to connect with a nodejs server, and make verifyPeer behaviour consistant.
Ryan Dahl [Mon, 3 May 2010 20:25:48 +0000 (13:25 -0700)]
Implement writeSync for buffers
(Needs tests still)
Ryan Dahl [Mon, 3 May 2010 20:18:33 +0000 (13:18 -0700)]
Implement fs.readSync for buffers
Ryan Dahl [Mon, 3 May 2010 19:55:33 +0000 (15:55 -0400)]
Implement fs.read() for Buffers (again)
Ryan Dahl [Mon, 3 May 2010 18:41:30 +0000 (11:41 -0700)]
Fix memory leak with fs.writeSync
Ryan Dahl [Mon, 3 May 2010 18:23:36 +0000 (11:23 -0700)]
Add another http upgrade test
Ryan Dahl [Mon, 3 May 2010 17:53:52 +0000 (10:53 -0700)]
Don't emit error twice from http.Client
Michaeljohn Clement [Mon, 3 May 2010 06:49:24 +0000 (02:49 -0400)]
documentation typos and tweaks
Ryan Dahl [Mon, 3 May 2010 01:20:02 +0000 (18:20 -0700)]
Add symbols to release build
Ryan Dahl [Mon, 3 May 2010 00:38:02 +0000 (17:38 -0700)]
Revert changes to node_file.cc
Revert "Fix memory leak in fs.writeSync()"
This reverts commit
5457eae28c24739d2d0d779ab0f7deb4999a3636.
Revert "Implement fs.read() for buffers"
This reverts commit
692f580a07c2787ed5db730b5eae8e9e1da43f12.
Ryan Dahl [Mon, 3 May 2010 00:26:18 +0000 (17:26 -0700)]
Allow different ports for http_simple.js
Ryan Dahl [Mon, 3 May 2010 00:02:13 +0000 (17:02 -0700)]
Fix memory leak in fs.writeSync()
Ryan Dahl [Sun, 2 May 2010 18:19:01 +0000 (11:19 -0700)]
GnuTLS -> OpenSSL on website
dpb587 [Sun, 2 May 2010 01:52:20 +0000 (21:52 -0400)]
Fix a couple mistypes in API doc
Micheil Smith [Sun, 2 May 2010 02:08:08 +0000 (12:08 +1000)]
Documenting http.Server#event:upgrade
Micheil Smith [Sun, 2 May 2010 01:01:06 +0000 (11:01 +1000)]
Fixing the 1 byte off error in http.Server's upgradeHead
(And fix up some style issues)
Ryan Dahl [Sat, 1 May 2010 21:45:14 +0000 (14:45 -0700)]
Fix deprecation message
Micheil Smith [Fri, 30 Apr 2010 13:35:51 +0000 (23:35 +1000)]
Making requestListener for the construction of a http.Server optional, as it is for net.Server
Micheil Smith [Fri, 30 Apr 2010 13:33:11 +0000 (23:33 +1000)]
Implementing the event emit for Upgrade requests, with tests.
Ryan Dahl [Sat, 1 May 2010 01:36:36 +0000 (18:36 -0700)]
Implement fs.read() for buffers
kriskowal [Sat, 1 May 2010 00:30:14 +0000 (17:30 -0700)]
Fixed/Completed buffer copy range checks.
Ryan Dahl [Fri, 30 Apr 2010 22:35:51 +0000 (15:35 -0700)]
Fix docs in node_file.cc
Ryan Dahl [Fri, 30 Apr 2010 17:33:56 +0000 (10:33 -0700)]
Fix some styling in the docs
Ryan Dahl [Fri, 30 Apr 2010 17:31:21 +0000 (10:31 -0700)]
Add http server 'request' event to docs
Ryan Dahl [Fri, 30 Apr 2010 17:28:18 +0000 (10:28 -0700)]
http server emits 'clientError'
Ryan Dahl [Thu, 29 Apr 2010 17:41:39 +0000 (10:41 -0700)]
bump version
Ryan Dahl [Thu, 29 Apr 2010 18:57:52 +0000 (11:57 -0700)]
Chunk strings together on Stream buffer
Ryan Dahl [Thu, 29 Apr 2010 17:11:06 +0000 (10:11 -0700)]
fix typos
Ryan Dahl [Thu, 29 Apr 2010 06:28:52 +0000 (23:28 -0700)]
Upgrade http-parser, fixes issue 77
http://github.com/ry/node/issues#issue/77
Thomas Lee [Wed, 28 Apr 2010 06:31:28 +0000 (16:31 +1000)]
Allow callers to disable PHP/Rails style parameter mungeing in querystring.stringify
Herbert Vojčík [Wed, 28 Apr 2010 23:07:13 +0000 (01:07 +0200)]
DRY binding('stdio')
Ryan Dahl [Wed, 28 Apr 2010 22:28:21 +0000 (15:28 -0700)]
basicRequest -> module.requireNative
Ryan Dahl [Wed, 28 Apr 2010 22:07:15 +0000 (15:07 -0700)]
Fix signo_string for linux and solaris
Herbert Vojčík [Wed, 28 Apr 2010 20:51:16 +0000 (22:51 +0200)]
process.evalcx has a deprecation message.
Herbert Vojčík [Wed, 28 Apr 2010 20:37:09 +0000 (22:37 +0200)]
Minor stylistic changes.
Herbert Vojčík [Wed, 28 Apr 2010 21:21:58 +0000 (23:21 +0200)]
Fix child_process.cc build failure for FreeBSD.
Felix Geisendörfer [Wed, 28 Apr 2010 13:04:08 +0000 (15:04 +0200)]
Properly handle child process exit codes
The child process 'exit' was returning the status of the process, rather than
the exit code. This patch properly deconstructs the status into the exit code
and the term signal a process may have received.
See:
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Watcher_Specific_Functions_and_Data_-5
and waitpid(2)
Ryan Dahl [Wed, 28 Apr 2010 19:58:00 +0000 (12:58 -0700)]
Resolve EWOULDBLOCK to string if different thatn EAGAIN
Ryan Dahl [Wed, 28 Apr 2010 17:46:26 +0000 (10:46 -0700)]
Upgrade V8 to 2.2.6
Tim Caswell [Wed, 28 Apr 2010 12:32:00 +0000 (07:32 -0500)]
Remove node.* deprecation messages.
Ryan Dahl [Wed, 28 Apr 2010 01:51:41 +0000 (18:51 -0700)]
fs.FileWriteStream -> fs.WriteStream, fs.FileReadStream -> fs.ReadStream
Ryan Dahl [Wed, 28 Apr 2010 01:45:10 +0000 (18:45 -0700)]
stdout should be writable only
Felix Geisendörfer [Tue, 20 Apr 2010 08:46:54 +0000 (10:46 +0200)]
Remove coupling dep
Felix Geisendörfer [Tue, 27 Apr 2010 23:17:28 +0000 (01:17 +0200)]
Get rid of coupling for stdin
Felix Geisendörfer [Tue, 27 Apr 2010 23:16:05 +0000 (01:16 +0200)]
Support for FileReadStream.setEncoding
Felix Geisendörfer [Mon, 19 Apr 2010 22:22:59 +0000 (00:22 +0200)]
Get rid of coupling for stdout
Ryan Dahl [Wed, 28 Apr 2010 00:24:32 +0000 (17:24 -0700)]
Remove callback argument to FileWriteStream.prototype.write
Matt Ranney [Tue, 27 Apr 2010 07:49:58 +0000 (00:49 -0700)]
Shorten some long lines.
Ryan Dahl [Tue, 27 Apr 2010 07:31:47 +0000 (00:31 -0700)]
Upgrade V8 to 2.2.5
Matt Ranney [Tue, 27 Apr 2010 07:04:32 +0000 (00:04 -0700)]
More Buffer descriptions and examples.
Updated Script examples for New Script methods.
Ryan Dahl [Tue, 27 Apr 2010 03:26:43 +0000 (20:26 -0700)]
Fix bug in socket write optimization
Thanks to tlb@tlb.org for finding it!
Ryan Dahl [Tue, 27 Apr 2010 03:26:36 +0000 (20:26 -0700)]
Add more asserts to test-http-big-proxy-responses
Ryan Dahl [Tue, 27 Apr 2010 01:53:30 +0000 (18:53 -0700)]
Compile for beta versions of OpenSSL 1.0.0
Jérémy Lal [Mon, 26 Apr 2010 21:23:17 +0000 (23:23 +0200)]
test-dns so that NXDOMAIN does not rise errors
Jérémy Lal [Mon, 26 Apr 2010 20:26:16 +0000 (22:26 +0200)]
Add support for MX queries in dns module, works with c-ares upstream patch.
Jérémy Lal [Mon, 26 Apr 2010 21:34:03 +0000 (23:34 +0200)]
Apply unreleased upstream patch to support parse_mx_reply.
Jonas Pfenniger [Sat, 24 Apr 2010 20:27:11 +0000 (22:27 +0200)]
New test-case: signal unregistration
The default signal-handler should be restored if no handlers are
assigned.
Ryan Dahl [Mon, 26 Apr 2010 05:29:55 +0000 (22:29 -0700)]
Fix typos
Jérémy Lal [Sat, 24 Apr 2010 07:37:46 +0000 (09:37 +0200)]
Drop UDNS from node.uselib. Add CARES for --system.
Ryan Dahl [Sat, 24 Apr 2010 00:29:36 +0000 (17:29 -0700)]
Remove getaddrinfo from net2.cc
Ryan Dahl [Sat, 24 Apr 2010 00:24:37 +0000 (17:24 -0700)]
Don't look for GnuTLS in wscript
Ryan Dahl [Sat, 24 Apr 2010 00:10:01 +0000 (17:10 -0700)]
Remove http_old tcp_old
Ryan Dahl [Fri, 23 Apr 2010 23:05:19 +0000 (16:05 -0700)]
bump version
Ryan Dahl [Fri, 23 Apr 2010 23:18:40 +0000 (16:18 -0700)]
Link to old versions
mape [Fri, 23 Apr 2010 22:46:31 +0000 (00:46 +0200)]
Update API doc
Ryan Dahl [Fri, 23 Apr 2010 21:08:13 +0000 (14:08 -0700)]
Catch errors from stream events in net.js
Pipe into 'error' event.
Ryan Dahl [Fri, 23 Apr 2010 19:05:36 +0000 (12:05 -0700)]
Upgrade V8 to 2.2.4.2
Krishna Rajendran [Fri, 23 Apr 2010 17:29:27 +0000 (13:29 -0400)]
openssl 1.0.0 constification
Brian Hammond [Fri, 23 Apr 2010 15:31:50 +0000 (11:31 -0400)]
Leave pos as undefined to allow reads from unseekable files like /proc/x/smaps on Linux
Ryan Dahl [Fri, 23 Apr 2010 00:53:45 +0000 (17:53 -0700)]
Unify ErrnoException creation
Ryan Dahl [Fri, 23 Apr 2010 00:31:35 +0000 (17:31 -0700)]
Optimize for few args in EventEmitter.emit
Ryan Dahl [Fri, 23 Apr 2010 00:22:03 +0000 (17:22 -0700)]
Unhandled 'error' events kill program
By default 'error' throws. addListener to prevent this.
Ryan Dahl [Thu, 22 Apr 2010 22:48:57 +0000 (15:48 -0700)]
curl after server is listening
Ryan Dahl [Thu, 22 Apr 2010 21:43:25 +0000 (14:43 -0700)]
Remove assert for no-such-module
Ryan Dahl [Thu, 22 Apr 2010 21:25:13 +0000 (14:25 -0700)]
SIGPIPE on stdout should kill the process by default
Ryan Dahl [Wed, 21 Apr 2010 22:15:21 +0000 (15:15 -0700)]
Force no body on http 204 and 304
Thanks to tjholowayhuk@gmail.com for the test case.
Ryan Dahl [Wed, 21 Apr 2010 20:16:46 +0000 (13:16 -0700)]
Add link to older tarball versions
isaacs [Wed, 21 Apr 2010 01:22:51 +0000 (18:22 -0700)]
Move the module loading framework into lib/module.js. Minimal changes otherwise.
isaacs [Wed, 21 Apr 2010 01:17:54 +0000 (18:17 -0700)]
refactor path module to lib/path.js
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.