Ryan Dahl [Sun, 22 May 2011 20:02:06 +0000 (13:02 -0700)]
Merge branch 'v0.4'
Conflicts:
src/node_version.h
Ryan Dahl [Sat, 21 May 2011 07:10:23 +0000 (00:10 -0700)]
Now working on v0.4.9
Ryan Dahl [Sat, 21 May 2011 02:40:06 +0000 (19:40 -0700)]
Bump to v0.4.8
Ryan Dahl [Sat, 21 May 2011 02:25:30 +0000 (19:25 -0700)]
Merge branch 'v8-3.1' into v0.4
Ryan Dahl [Sat, 21 May 2011 02:24:37 +0000 (19:24 -0700)]
Upgrade V8 to 3.1.8.16
Ryan Dahl [Fri, 20 May 2011 22:39:48 +0000 (15:39 -0700)]
Fix TJ's assert error
Unable to reproduce but connect's "make test TESTS=test/static.test.js" does
it occasionally.
Mark Cavage [Fri, 20 May 2011 21:38:49 +0000 (14:38 -0700)]
Additional docs for net.listenFD()
Fixes #1080.
Ryan Dahl [Fri, 20 May 2011 17:27:39 +0000 (10:27 -0700)]
Merge branch 'v0.4'
Conflicts:
lib/crypto.js
lib/tls.js
Ryan Dahl [Fri, 20 May 2011 17:08:08 +0000 (10:08 -0700)]
CryptoStream.prototype.readyState shoudn't reference fd
Fixes #1069
Brian White [Thu, 19 May 2011 22:09:10 +0000 (15:09 -0700)]
Remove unused variable
Fixes #1077
Robert Mustacchi [Fri, 20 May 2011 02:51:30 +0000 (19:51 -0700)]
Use same make as when originally invoked
Robert Mustacchi [Fri, 20 May 2011 01:32:05 +0000 (18:32 -0700)]
Rework getNetworkInterfaces() for Linux, SunOS, Mac OS X
David Trejo [Thu, 19 May 2011 23:50:12 +0000 (16:50 -0700)]
Add test for agent upgrade and example in docs
Ryan Dahl [Fri, 20 May 2011 00:50:13 +0000 (17:50 -0700)]
Alexandre Marangone [Thu, 19 May 2011 19:20:08 +0000 (21:20 +0200)]
(char *) casting for all strings args to kstat function to avoid warnings
Fixes #1071.
Alexandre Marangone [Thu, 19 May 2011 19:15:12 +0000 (21:15 +0200)]
Adding os.totalmem() and os.freemem() for SunOS
Fedor Indutny [Thu, 19 May 2011 19:42:13 +0000 (02:42 +0700)]
Share SSL context between server connections
Fixes #1073.
Ryan Dahl [Thu, 19 May 2011 19:41:17 +0000 (12:41 -0700)]
Fix buffer test
Ryan Dahl [Thu, 19 May 2011 19:13:48 +0000 (12:13 -0700)]
makeFastBuffer should not segfault but rather throw on non-buffer
Ryan Dahl [Thu, 19 May 2011 17:37:51 +0000 (10:37 -0700)]
Ryan Dahl [Thu, 19 May 2011 17:34:42 +0000 (10:34 -0700)]
Merge branch 'v0.4'
David Trejo [Thu, 19 May 2011 01:39:06 +0000 (18:39 -0700)]
readline docs
David Trejo [Thu, 19 May 2011 01:39:06 +0000 (18:39 -0700)]
readline docs
Ryan Dahl [Tue, 17 May 2011 21:55:26 +0000 (14:55 -0700)]
Remove libev/macos kqueue override - goes in libuv
Ryan Dahl [Tue, 17 May 2011 20:22:34 +0000 (13:22 -0700)]
Changes for job bullets
Ryan Dahl [Tue, 17 May 2011 17:51:30 +0000 (10:51 -0700)]
fork: Use utf8 for channel encoding
Ryan Dahl [Tue, 17 May 2011 02:29:02 +0000 (19:29 -0700)]
Merge branch 'v0.4'
Conflicts:
src/node_crypto.cc
Ryan Dahl [Mon, 16 May 2011 22:00:33 +0000 (15:00 -0700)]
Remove 'binary' encoding assert - add tests
Don't write large characters to buffers with binary encoding. You will be
silently injured.
isaacs [Mon, 16 May 2011 11:56:40 +0000 (04:56 -0700)]
Close #1054 More clear documentation for module system
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.
koichik [Thu, 12 May 2011 04:43:24 +0000 (13:43 +0900)]
Fix dns.resolve() with 'PTR' throws Error: Unknown type "PTR"
Fixes #1038
Brian White [Mon, 16 May 2011 01:25:11 +0000 (21:25 -0400)]
Add reading/writing of floats and doubles from/to buffers
Code for readIEEE754/writeIEEE754 is from jspack: http://code.google.com/p/jspack/
koichik [Thu, 12 May 2011 06:18:21 +0000 (15:18 +0900)]
Fix event listener leak check timing
Fixes #1041.
koichik [Thu, 12 May 2011 04:49:26 +0000 (13:49 +0900)]
Fix doc - missing dns.resolveNs() and dns.resolveCname()
Fixes #1039.
Felix Geisendörfer [Sat, 14 May 2011 14:06:32 +0000 (16:06 +0200)]
Update http.ServerRequest docs
The documentation for 'end' was wrong, and 'close' now has an `err`
parameter.
Felix Geisendörfer [Sat, 14 May 2011 13:58:41 +0000 (15:58 +0200)]
Error argument for http.ServerRequest 'close'
Problem: It was not possible to detect the reason for a premature
connection termination in http requests.
This patch provides a new `err` argument to the 'close' event which
can be inspected to differentiate between a timeout and a client
actively terminating the connection.
Also contains tests for this new behavior for http and https.
Felix Geisendörfer [Sat, 14 May 2011 19:17:13 +0000 (21:17 +0200)]
Make https 'timeout' events bubble up
Also adds a test case for it.
Ryan Dahl [Fri, 13 May 2011 14:09:28 +0000 (07:09 -0700)]
check_tick_watcher to use libuv
Ryan Dahl [Fri, 13 May 2011 14:06:20 +0000 (07:06 -0700)]
prepare_tick_watcher to use libuv
Ryan Dahl [Fri, 13 May 2011 13:59:33 +0000 (06:59 -0700)]
move tick_spinner on libuv
Ryan Dahl [Fri, 13 May 2011 02:16:40 +0000 (19:16 -0700)]
Integrate libuv into build system
Ryan Dahl [Wed, 11 May 2011 20:40:42 +0000 (13:40 -0700)]
Add trademark stuff to homepage
Ryan Dahl [Wed, 11 May 2011 20:32:40 +0000 (13:32 -0700)]
Rename spawnNode to fork
Ryan Dahl [Wed, 11 May 2011 19:31:35 +0000 (12:31 -0700)]
Improve spawnNode docs
Ryan Dahl [Wed, 11 May 2011 07:41:16 +0000 (00:41 -0700)]
child_process.spawnNode
For making easy worker processes.
isaacs [Tue, 10 May 2011 20:42:49 +0000 (13:42 -0700)]
Fix a url regression
The change for #954 introduced a regression that would cause
the url parser to fail on special chars found in the auth
segment. Fix that, and also don't create invalid urls when
format() is called on an object containing an auth member
containing '@' characters or delimiters.
Ryan Dahl [Mon, 9 May 2011 17:49:20 +0000 (10:49 -0700)]
Docs: server.pause() server.address() socket.address()
Trevor Burnham [Sun, 1 May 2011 18:03:08 +0000 (14:03 -0400)]
Documenting `require.main`, fixing #997
isaacs [Sun, 8 May 2011 03:38:32 +0000 (20:38 -0700)]
Merge branch 'v0.4'
Conflicts:
lib/tls.js
lib/url.js
src/node_version.h
test/simple/test-buffer.js
test/simple/test-url.js
Ryan Dahl [Sat, 7 May 2011 19:30:53 +0000 (12:30 -0700)]
Agent socket errors bubble up to req only if req exists
Fixes #836.
Marcel Laverdet [Tue, 3 May 2011 21:51:15 +0000 (06:51 +0900)]
Attempt to connect to debug process more than once
The debugger would give up after only 100ms but on my system this
timeout isn't enough. The startup process is now modified to try 6
times every 50ms instead.
Fixes #1010.
Ryan Dahl [Fri, 6 May 2011 23:05:02 +0000 (16:05 -0700)]
Point changelog to correct branch
Fixes #1002. Thanks cjavapro.
Ryan Dahl [Fri, 6 May 2011 23:48:44 +0000 (16:48 -0700)]
TLS: simplify logic
Nathan Rajlich [Tue, 3 May 2011 15:51:53 +0000 (08:51 -0700)]
Make sure 'ARCH' get's defined with the CMake build system.
Fixes #1004.
Ryan Dahl [Tue, 3 May 2011 21:56:04 +0000 (14:56 -0700)]
Added docs for fs.fsync and fs.fsyncSync
Thanks baudehlo. Fixes #1009.
Håvard Stranden [Wed, 19 Jan 2011 01:00:38 +0000 (02:00 +0100)]
Add Diffie-Hellman support to crypto module
Fixes #573
Ryan Dahl [Fri, 6 May 2011 20:42:55 +0000 (13:42 -0700)]
Add docs for buffer.fill()
Konstantin Käfer [Tue, 30 Nov 2010 11:18:02 +0000 (13:18 +0200)]
Add Buffer::fill method to do memset
Fixes #477.
Ryan Dahl [Thu, 5 May 2011 23:52:05 +0000 (16:52 -0700)]
Fix crash in debugger
Ryan Dahl [Thu, 5 May 2011 22:40:45 +0000 (15:40 -0700)]
Add on('error') to http request example
for indexzero
Ryan Dahl [Thu, 5 May 2011 04:41:01 +0000 (21:41 -0700)]
Assert, Debug output in normal default build
Ryan Dahl [Mon, 2 May 2011 19:13:06 +0000 (12:13 -0700)]
cleartextstream.destroy() should destroy socket.
This fixes a critical bug see in MJR's production. Very difficult to build a
test case. Sometimes HTTPS server gets sockets that are hanging in a
half-duplex state.
Robert Mustacchi [Sun, 1 May 2011 18:38:10 +0000 (11:38 -0700)]
Add reading/writing of C integers to buffers
Ben Noordhuis [Sun, 1 May 2011 14:34:05 +0000 (16:34 +0200)]
Remove oprofile flags in wscript.
V8 3.1.5 (commit 550f73a) dropped oprofile support so don't pass
prof=oprofile to scons.
See http://codereview.chromium.org/6474037/
Fixes #998.
Ryan Dahl [Sat, 30 Apr 2011 18:38:55 +0000 (11:38 -0700)]
Merge branch 'v8-3.1' into v0.4
Ryan Dahl [Sat, 30 Apr 2011 18:38:25 +0000 (11:38 -0700)]
Upgrade V8 to 3.1.8.14
koichik [Thu, 28 Apr 2011 06:38:28 +0000 (15:38 +0900)]
Fix SlowBuffer.write() with 'ucs2' throws ReferenceError.
koichik [Thu, 28 Apr 2011 07:36:04 +0000 (16:36 +0900)]
Doc improvements.
isaacs [Wed, 27 Apr 2011 18:10:10 +0000 (11:10 -0700)]
Better stream.pipe() tracking.
This commit does three things:
1. Uses an exposed counter rather than a hidden array for tracking dest
streams that may have multiple inputs. This allows for significantly
faster lookups, since the counter can be checked in constant time rather
than searching an array for the dest object. (A proper O(1) WeakMap
would be better, but that may have to wait for Harmony.)
2. Calls the 'end' event logic when there is an 'error' event on the
source object (and then throws if there are no other error listeners.)
This is important, because otherwise 'error' events would lead to
memory leaks.
3. Clean up the style a bit. Function Declarations are not allowed
within blocks in ES strict. Prefer Function Declarations to Function
Expressions, because hoisting allows for more expressive ordering of
logic.
Downside: It adds "_pipeCount" as part of the Stream API. It'll work
fine if the member is missing, but if anyone tries to use it for some
other purpose, it can mess things up.
Ryan Dahl [Wed, 27 Apr 2011 15:49:24 +0000 (11:49 -0400)]
Fix docs for process.arch
isaacs [Wed, 27 Apr 2011 03:02:54 +0000 (20:02 -0700)]
Add arch/platform to os module
Nathan Rajlich [Tue, 26 Apr 2011 03:24:51 +0000 (20:24 -0700)]
Implement `process.arch` to get a String of the current processor architecture, with docs.
isaacs [Tue, 26 Apr 2011 16:48:28 +0000 (09:48 -0700)]
Close #983 Better JSON.parse error detection
Previous pattern would only catch ILLEGAL, not { or other
known-but-unexpected JSON tokens.
Mark Cavage [Mon, 25 Apr 2011 23:04:07 +0000 (16:04 -0700)]
Add support for Unix Domain Sockets to HTTP
fixes #979.
George Miroshnykov [Thu, 21 Apr 2011 11:43:12 +0000 (14:43 +0300)]
Close #962: Fixed typo in vm.runInNewContext docs.
EDIT: Also added another typo fix to this commit. --isaacs
isaacs [Mon, 25 Apr 2011 19:22:18 +0000 (12:22 -0700)]
Close #974 Properly report traceless errors.
Also, tests for the same.
isaacs [Sat, 23 Apr 2011 02:31:14 +0000 (19:31 -0700)]
A test that running 100 stream pipes in parallel is ok
Ryan Dahl [Sat, 23 Apr 2011 02:04:43 +0000 (19:04 -0700)]
Correct attribution
Ryan Dahl [Sat, 23 Apr 2011 00:50:40 +0000 (17:50 -0700)]
Bump bounds on #897 test - was too small for slow machines
Ryan Dahl [Sat, 23 Apr 2011 00:49:56 +0000 (17:49 -0700)]
Now working on v0.4.8
Ryan Dahl [Sat, 23 Apr 2011 00:06:02 +0000 (17:06 -0700)]
bump version to v0.4.7
Ryan Dahl [Fri, 22 Apr 2011 23:38:27 +0000 (16:38 -0700)]
Fix timeouts with floating point numbers bug
fixes #897.
Ryan Dahl [Fri, 22 Apr 2011 23:01:34 +0000 (16:01 -0700)]
Use better ports on the home page
Robert Mustacchi [Fri, 22 Apr 2011 02:39:16 +0000 (19:39 -0700)]
Add loadavg for SunOS
Tim Baumann [Wed, 30 Mar 2011 19:05:56 +0000 (21:05 +0200)]
Don't overwrite an user-specified repl.writer
Wade Simmons [Wed, 13 Apr 2011 23:54:50 +0000 (17:54 -0600)]
make it possible to do repl.start('', stream)
isaacs [Thu, 21 Apr 2011 19:17:21 +0000 (12:17 -0700)]
Close #955 Change ^C handling in REPL
Press with text on the line: Cancels
Press on a bare line: Print a message
Press again on a bare line: Exit
Nebu [Wed, 20 Apr 2011 16:04:42 +0000 (12:04 -0400)]
Partially documented the readline module.
isaacs [Sat, 2 Apr 2011 00:46:18 +0000 (17:46 -0700)]
docs for chown/chmod
isaacs [Tue, 29 Mar 2011 23:34:05 +0000 (16:34 -0700)]
GH-853 fs.lchown and fs.lchmod
isaacs [Tue, 29 Mar 2011 22:31:41 +0000 (15:31 -0700)]
GH-853 fs.fchmod and fs.fchown
isaacs [Wed, 20 Apr 2011 22:44:34 +0000 (15:44 -0700)]
Close #954 URL parsing/formatting corrections
1. Allow single-quotes in urls, but escape them.
2. Add comments about which RFCs we're following for guidance.
3. Handle any invalid character in the hostname portion.
4. lcase protocol and hostname portions, since they are
case-insensitive.
Fedor Indutny [Thu, 14 Apr 2011 03:53:39 +0000 (10:53 +0700)]
OpenSSL NPN in node.js
closes #926.
Ryan Dahl [Tue, 19 Apr 2011 01:58:16 +0000 (18:58 -0700)]
Merge branch 'v0.4'
Conflicts:
src/node_version.h
Ryan Dahl [Mon, 18 Apr 2011 23:52:53 +0000 (16:52 -0700)]
add docs for console object
Ryan Dahl [Sat, 16 Apr 2011 20:55:03 +0000 (13:55 -0700)]
Add community link on homepage
Ryan Dahl [Fri, 15 Apr 2011 07:12:19 +0000 (00:12 -0700)]
Add covhtml.js tool
Ryan Dahl [Fri, 15 Apr 2011 06:33:43 +0000 (23:33 -0700)]
Add --cov code coverage option
Ryan Dahl [Thu, 14 Apr 2011 22:11:35 +0000 (15:11 -0700)]
Docs: some encodings contains multibyte chars.
fixes #888
koichik [Thu, 14 Apr 2011 16:54:36 +0000 (01:54 +0900)]
Fix docs - Move module's description to right position