Theo Schlossnagle [Wed, 6 Apr 2011 00:38:23 +0000 (20:38 -0400)]
SSL_OP_CRYPTOPRO_TLSEXT_BUG
fixes #873
Theo Schlossnagle [Tue, 5 Apr 2011 03:27:20 +0000 (23:27 -0400)]
allow setting of ciphers in credentials
fixes #873
Theo Schlossnagle [Sat, 2 Apr 2011 04:53:07 +0000 (00:53 -0400)]
TLS: Add secureOptions flag
Also, secureOptions flag was added (and passed through) and allows
the context to have all supported SSL_OP_* set via createCredentials.
All SSL_OP_ flags (outside of ALL) have been added to constants.
Ryan Dahl [Thu, 14 Apr 2011 01:11:21 +0000 (01:11 +0000)]
Merge branch 'v0.4'
Conflicts:
src/platform_sunos.cc
test/simple/test-os.js
Theo Schlossnagle [Sat, 2 Apr 2011 04:53:07 +0000 (00:53 -0400)]
Pass secureProtocol through on tls.Server creation
The secureProtocol option to building the SSL context was not being properly
passed through in the credentials in the tls code. This is fixed.
Scott McWhirter [Sun, 27 Mar 2011 10:14:34 +0000 (03:14 -0700)]
Add os.cpus() and os.uptime() support for sunos
Ryan Dahl [Thu, 14 Apr 2011 00:30:12 +0000 (17:30 -0700)]
Revert "Add os.cpus() and os.uptime() support for sunos"
Cherry-pick fail. Breaks linux. Will land again shortly.
This reverts commit
e8cf98c841c8aa80975fa2bd96187f49a6cbb760.
This reverts commit
d953856d87f2b12740332940011f9fd0e2cb41a2.
This reverts commit
752bbd6b426d4be9fc8a352c7bec0f89839828d7.
Scott McWhirter [Sun, 27 Mar 2011 10:14:34 +0000 (03:14 -0700)]
Add os.cpus() and os.uptime() support for sunos
Ryan Dahl [Wed, 13 Apr 2011 19:49:11 +0000 (12:49 -0700)]
Test to demonstrate #892
Brian White [Wed, 13 Apr 2011 16:19:15 +0000 (12:19 -0400)]
Add remoteAddress and remotePort for client TCP connections
https://groups.google.com/d/topic/nodejs-dev/Asr87_YFSkg/discussion
koichik [Wed, 13 Apr 2011 16:17:18 +0000 (01:17 +0900)]
Fix Buffer.write() with UCS-2 should not be write partial char
closes #916.
Felix Geisendörfer [Tue, 5 Apr 2011 21:37:40 +0000 (23:37 +0200)]
Allow omission of end option for range reads
Problem: Sometimes it is useful to read a file from a certain position
to it's end. The current implementation was already perfectly capable
of this, but decided to throw an error when the user tried to omit
the end option. The only way to do this, was to pass {end: Infinity}.
Solution: Automatically assume {end: Infinity} when omitted, and remove
the previous exception thrown. Also updated the docs.
closes #801.
Ryan Dahl [Wed, 13 Apr 2011 08:26:57 +0000 (01:26 -0700)]
Modify text about buffer.write and partial chars
Fixes GH-913.
Nick Campbell [Sun, 10 Apr 2011 05:56:26 +0000 (01:56 -0400)]
Lowercase protocol and hostname since casing isn't significant.
Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
Jakub Lekstan [Thu, 31 Mar 2011 14:55:26 +0000 (16:55 +0200)]
Fixes the circular reference in vm modules.
Fixes the circular reference problem. Closes GH-822.
Ryan Dahl [Tue, 12 Apr 2011 22:20:58 +0000 (15:20 -0700)]
Add docs about Buffer._charsWritten
Fixes GH-907.
Abe Fettig [Thu, 31 Mar 2011 21:02:14 +0000 (17:02 -0400)]
Fix bug where http response.readable was never set to false
Closes GH-867.
Felix Geisendörfer [Thu, 7 Apr 2011 14:57:33 +0000 (16:57 +0200)]
Allow to remove all EventEmitter listeners at once
This patch adds support for calling EventEmitter#removeAllListeners
with no parameters in order to remove all listeners as once.
See discussion: https://groups.google.com/forum/#!topic/nodejs-dev/Mcyal1ThTHY
Closes GH-889.
Ryan Dahl [Tue, 12 Apr 2011 00:30:33 +0000 (17:30 -0700)]
Fix doc - no setBodyEnocoding anymore
Thanks Frederic. Closes GH-859.
koichik [Wed, 30 Mar 2011 13:17:00 +0000 (22:17 +0900)]
Auto completion of built-in debugger suggests prefix match rather than partial match.
koichik [Wed, 30 Mar 2011 13:06:41 +0000 (22:06 +0900)]
Fix docs: There were 2 descriptions of 'request' event.
Scott McWhirter [Sun, 27 Mar 2011 11:31:55 +0000 (04:31 -0700)]
Remove extra kstat_open
Scott McWhirter [Sun, 27 Mar 2011 10:14:34 +0000 (03:14 -0700)]
Add os.cpus() support for sunos
Ryan Dahl [Mon, 11 Apr 2011 23:48:18 +0000 (16:48 -0700)]
Add documentation around module.exports and scope of global objects
Closes GH-852.
Ben Weaver [Tue, 29 Mar 2011 18:08:39 +0000 (14:08 -0400)]
Update how REPLServer uses contexts
* Always use `this.context` or `self.context`.
* Move `resetContext` to `REPLServer.createContext`.
* Add `REPLServer.resetContext`, memoize `context` here.
* Memoize `exports.repl` in `start`.
Closes GH-851.
Ryan Dahl [Mon, 11 Apr 2011 23:08:10 +0000 (16:08 -0700)]
Merge branch 'v8-3.1' into v0.4
Ryan Dahl [Mon, 11 Apr 2011 23:07:54 +0000 (16:07 -0700)]
Upgrade v8 to 3.1.8.10
Ryan Dahl [Mon, 11 Apr 2011 22:33:24 +0000 (15:33 -0700)]
Don't error on ENOTCONN from shutdown()
Ryan Dahl [Mon, 4 Apr 2011 06:42:56 +0000 (23:42 -0700)]
Merge branch 'v0.4'
Conflicts:
src/node_version.h
test/simple/test-buffer.js
Ryan Dahl [Sun, 3 Apr 2011 08:09:00 +0000 (01:09 -0700)]
Add example to sha1 docs
George Stagas [Wed, 16 Mar 2011 07:53:36 +0000 (09:53 +0200)]
Changed script to vm and corrected order to match index
George Stagas [Wed, 16 Mar 2011 07:44:05 +0000 (09:44 +0200)]
Added favicon.ico
Ryan Dahl [Sat, 2 Apr 2011 05:18:23 +0000 (22:18 -0700)]
Remove reference to CommonJS in documentation
Ryan Dahl [Sat, 2 Apr 2011 02:06:41 +0000 (19:06 -0700)]
Now working on version v0.4.6
Ryan Dahl [Sat, 2 Apr 2011 01:00:43 +0000 (18:00 -0700)]
Bump version to v0.4.5
isaacs [Fri, 1 Apr 2011 19:25:21 +0000 (12:25 -0700)]
Modify futimes test to allow ENOSYS
isaacs [Wed, 23 Feb 2011 22:46:35 +0000 (14:46 -0800)]
Closes GH-721 Set default host header properly
However, this test is failing for some quite unrelated issue.
Getting some odd "socket hangup" crashes, and only the first request
ever makes it to the server.
isaacs [Tue, 29 Mar 2011 21:54:49 +0000 (14:54 -0700)]
Closes GH-535 Immediate pause/resume race condition
Calling resume() immediately after calling pause() would trigger
a race condition where it would try to read() from a file
descriptor that was already being read from, causing an EBADF
isaacs [Tue, 29 Mar 2011 21:41:23 +0000 (14:41 -0700)]
Closes GH-310 Format slashes properly
Ryan Dahl [Fri, 1 Apr 2011 19:38:42 +0000 (12:38 -0700)]
Revert "Disable compression with OpenSSL."
This reverts commit
362785f704b5754f6025bc4bcbe5835688d3002c.
Ryan Dahl [Fri, 1 Apr 2011 19:36:57 +0000 (12:36 -0700)]
Fix test/message/undefined_reference_in_new_context
Broke after
75db199.
Ryan Dahl [Fri, 1 Apr 2011 02:27:28 +0000 (19:27 -0700)]
Disable compression with OpenSSL.
This improves memory and speed. Users may apply compression in "userland"
above the CryptoStream layer if they desire.
Ryan Dahl [Fri, 1 Apr 2011 16:19:00 +0000 (09:19 -0700)]
Add timers to globals section
Closes GH-864.
Ryan Dahl [Fri, 1 Apr 2011 01:32:21 +0000 (18:32 -0700)]
Don't load root certs for each SSL context
Ryan Dahl [Thu, 31 Mar 2011 17:07:59 +0000 (10:07 -0700)]
Merge branch 'v8-3.1' into v0.4
Ryan Dahl [Thu, 31 Mar 2011 17:07:48 +0000 (10:07 -0700)]
Upgrade V8 to 3.1.8.8
Ryan Dahl [Wed, 30 Mar 2011 22:53:07 +0000 (15:53 -0700)]
process.stderr.write should return true
Ryan Dahl [Wed, 30 Mar 2011 17:18:12 +0000 (10:18 -0700)]
Add test for circular refs in deepEquals
Closes GH-207.
Ryan Dahl [Wed, 30 Mar 2011 17:06:19 +0000 (10:06 -0700)]
Don't conflict with V8's Script class
Closes GH-203.
Jorge Chamorro Bieling [Tue, 29 Mar 2011 07:53:32 +0000 (09:53 +0200)]
docs: fs.read/write() cb()s now receive buffer
Ryan Dahl [Tue, 29 Mar 2011 17:47:14 +0000 (10:47 -0700)]
Closes GH-843. Fix SlowBuffer.prototype.slice
Ryan Dahl [Tue, 29 Mar 2011 16:58:50 +0000 (09:58 -0700)]
Add doc note about STARTTLS
Ryan Dahl [Tue, 29 Mar 2011 00:37:14 +0000 (17:37 -0700)]
Increase TLS pool size for perf increase
Ryan Dahl [Tue, 29 Mar 2011 00:36:50 +0000 (17:36 -0700)]
Revert "Alphabetize the table of contents for the API docs"
This reverts commit
a66e45693ce19345cbe819e077340a882d67c5c8.
Ryan Dahl [Mon, 28 Mar 2011 22:59:41 +0000 (15:59 -0700)]
Typo in docs
Thanks to Anatoliy Chakkaev for pointing it out.
Closes GH-841.
Brian White [Wed, 23 Mar 2011 22:10:57 +0000 (18:10 -0400)]
Alphabetize the table of contents for the API docs
Ryan Dahl [Mon, 28 Mar 2011 22:55:45 +0000 (15:55 -0700)]
Remove strange unicode output in docs
David Trejo [Sun, 27 Mar 2011 14:37:23 +0000 (10:37 -0400)]
See the <doc> section are now links to <doc>
Closes GH-839.
Ryan Dahl [Mon, 28 Mar 2011 22:46:36 +0000 (15:46 -0700)]
Remove exterraneous line
Jorge Chamorro Bieling [Wed, 23 Mar 2011 11:29:49 +0000 (12:29 +0100)]
Retain buffers in fs.read/write()
Closes GH-814.
Closes GH-827.
Mikeal Rogers [Mon, 28 Mar 2011 18:19:44 +0000 (11:19 -0700)]
Fix listener leak in stream.pipe()
Ryan Dahl [Sat, 26 Mar 2011 09:00:08 +0000 (02:00 -0700)]
Now working on v0.4.5
Ryan Dahl [Fri, 25 Mar 2011 23:30:54 +0000 (16:30 -0700)]
Bump version to v0.4.4
Ryan Dahl [Sat, 26 Mar 2011 08:41:54 +0000 (01:41 -0700)]
Turn off strictaliasing on solaris
Ryan Dahl [Fri, 25 Mar 2011 19:02:51 +0000 (12:02 -0700)]
Merge branch 'v8-3.1' into v0.4
Ryan Dahl [Fri, 25 Mar 2011 19:02:38 +0000 (12:02 -0700)]
Upgrade V8 to 3.1.8.5
Arnout Kazemier [Fri, 18 Mar 2011 20:02:14 +0000 (21:02 +0100)]
Added support for removing .once listeners
Closes GH-806.
Ryan Dahl [Thu, 24 Mar 2011 02:23:35 +0000 (19:23 -0700)]
Add jobs.nodejs.org link
Ryan Dahl [Wed, 23 Mar 2011 22:01:49 +0000 (15:01 -0700)]
Remove asciiSlice from docs
Zachary Scott [Thu, 17 Mar 2011 21:13:19 +0000 (17:13 -0400)]
clean up whitespace in examples
Zachary Scott [Fri, 18 Feb 2011 23:30:15 +0000 (18:30 -0500)]
writable stream api has destroySoon() for exiting after data queue has been drained
Trevor Burnham [Sat, 19 Mar 2011 14:27:25 +0000 (10:27 -0400)]
Doc fix for fs.write
Closes GH-808
Closes GH-811
Trevor Burnham [Sat, 19 Mar 2011 14:22:50 +0000 (10:22 -0400)]
Clarifying that writeFile replaces existing file
Trevor Burnham [Sat, 19 Mar 2011 14:19:47 +0000 (10:19 -0400)]
Correcting typo in docs: 'deprecated', not 'depreciated'
Ryan Dahl [Tue, 22 Mar 2011 20:18:57 +0000 (13:18 -0700)]
Better ifdef for futimes
isaacs [Sat, 19 Mar 2011 18:19:56 +0000 (11:19 -0700)]
signage warning, and add v8::namespace
Ryan Dahl [Tue, 22 Mar 2011 20:12:07 +0000 (13:12 -0700)]
Merge branch 'v0.4'
Conflicts:
src/node_version.h
Ryan Dahl [Tue, 22 Mar 2011 20:10:50 +0000 (13:10 -0700)]
Guard failed buffer constructions.
Thanks to Jeremy Barnes for pointing it out.
Ryan Dahl [Tue, 22 Mar 2011 20:07:18 +0000 (20:07 +0000)]
Fix solaris build
Ryan Dahl [Tue, 22 Mar 2011 19:02:33 +0000 (12:02 -0700)]
Fix setsid in tty.open
Thanks to Leen Besselink for pointing this out.
Closes GH-815.
Ryan Dahl [Tue, 22 Mar 2011 18:24:00 +0000 (11:24 -0700)]
expose https.Agent
Ryan Dahl [Mon, 21 Mar 2011 21:48:26 +0000 (14:48 -0700)]
Fix GH-819. Drop out if connection destroyed before connect()
Ryan Dahl [Mon, 21 Mar 2011 21:36:30 +0000 (14:36 -0700)]
Fix GH-820. CryptoStream.end shouldn't throw if not writable
This matches the behavior of net.Socket
Ryan Dahl [Mon, 21 Mar 2011 01:07:29 +0000 (18:07 -0700)]
Add video to index.html
Ryan Dahl [Sun, 20 Mar 2011 03:28:31 +0000 (20:28 -0700)]
add demo to home page
Ryan Dahl [Fri, 18 Mar 2011 22:49:26 +0000 (15:49 -0700)]
Use feedburner instead of wordpress
Ryan Dahl [Fri, 18 Mar 2011 22:19:12 +0000 (15:19 -0700)]
Now working on v0.4.4
Ryan Dahl [Fri, 18 Mar 2011 21:20:37 +0000 (14:20 -0700)]
bump version to v0.4.3
Ryan Dahl [Fri, 18 Mar 2011 21:24:37 +0000 (14:24 -0700)]
Merge branch 'v8-3.1' into v0.4
Ryan Dahl [Fri, 18 Mar 2011 21:22:52 +0000 (14:22 -0700)]
Upgrade V8 to 3.1.8.3
Ryan Dahl [Fri, 18 Mar 2011 18:39:44 +0000 (11:39 -0700)]
Don't call GetMemoryUsage every 5 seconds
koichik [Wed, 16 Mar 2011 19:59:55 +0000 (04:59 +0900)]
Document 'ucs2' encoding for Buffer
Aaron Heckmann [Tue, 15 Mar 2011 13:01:24 +0000 (09:01 -0400)]
EventEmitter#once only takes instanceof function
Brian White [Fri, 18 Mar 2011 05:39:39 +0000 (01:39 -0400)]
Add helpful error message for setuid/setgid when user/group id does not exist
Ryan Dahl [Fri, 18 Mar 2011 18:11:43 +0000 (11:11 -0700)]
Merge branch 'v0.4'
Conflicts:
src/node_version.h
Dean McNamee [Tue, 15 Mar 2011 22:39:16 +0000 (22:39 +0000)]
Export more functions for initializing and starting node.
For greater flexibility in controlling node's initialization and startup, the
following new functions are exported.
- node::Init()
- node::SetupProcessObject()
- node::Load()
- node::EmitExit()
These are some of the major steps involved in node::Setup(). Exporting these
functions allows an embedding program to write a replacement for node::Start(),
and to have access to the node process object after it's created.
Dean McNamee [Tue, 15 Mar 2011 19:48:34 +0000 (19:48 +0000)]
Don't override explicit openssl paths with pkg-config results.
Ryan Dahl [Fri, 18 Mar 2011 17:31:38 +0000 (10:31 -0700)]
Fix double free of parser on error in http.Agent.
Thanks to Stéphan Kochen for the fix and Maurice Fonk for reproducing the
bug.
Closes GH-784.
Closes GH-803.
Ryan Dahl [Fri, 18 Mar 2011 17:01:45 +0000 (10:01 -0700)]
Fix gcc version checking for aliasing features
Ryan Dahl [Fri, 18 Mar 2011 16:14:15 +0000 (09:14 -0700)]
hello.txt should be stored in tmpdir