koichik [Tue, 27 Sep 2011 09:24:38 +0000 (18:24 +0900)]
tls: Add test for #1775
Marco Rogers [Thu, 29 Sep 2011 07:53:36 +0000 (00:53 -0700)]
docs: note about empty environment in child processes
Fixes #1794.
Ryan Dahl [Thu, 29 Sep 2011 00:43:20 +0000 (17:43 -0700)]
net: Fix string-concat hot path bug
Also removes functionality added in
f9fec3a2d65580b7e39edc9afd5904cd4775c87c
because it changes API. (That patch shouldn't have been added anyway.)
Ben Noordhuis [Sun, 25 Sep 2011 01:32:45 +0000 (03:32 +0200)]
cygwin: fix new[]/delete mismatch
Ben Noordhuis [Sun, 25 Sep 2011 01:31:39 +0000 (03:31 +0200)]
cygwin: fix return of uninitialized variable
Eric Lovett [Sat, 24 Sep 2011 04:05:40 +0000 (21:05 -0700)]
net: callback to socket.write should always be called asynchronously
Ben Noordhuis [Sat, 24 Sep 2011 03:07:35 +0000 (05:07 +0200)]
buffers: handle bad length argument in constructor
Coerce fractional, negative and non-numeric length arguments to numbers.
Fractional numbers are rounded up, negative numbers and non-numeric values
are set to zero.
Ben Noordhuis [Tue, 20 Sep 2011 23:57:36 +0000 (01:57 +0200)]
crypto: fix delete of potentially uninitialized pointer
Ben Noordhuis [Tue, 20 Sep 2011 23:11:07 +0000 (01:11 +0200)]
crypto: fix read of potentially uninitialized variable
Ben Noordhuis [Mon, 19 Sep 2011 20:24:43 +0000 (22:24 +0200)]
crypto: look up SSL errors with ERR_print_errors()
Ben Noordhuis [Fri, 16 Sep 2011 17:16:30 +0000 (19:16 +0200)]
crypto: fix error message buffer overrun
ERR_error_string() expects a buffer of at least 256 bytes, the input buffer
was not even half that size. Use ERR_error_string_n() instead.
Vitor Balocco [Thu, 15 Sep 2011 21:22:05 +0000 (23:22 +0200)]
docs: Add anchor links next to each function
Modify doctool.js to automatically create anchor links for
every function, for easy linking.
Include support for functions that have a <h4> level
Fixes: #1718.
koichik [Tue, 20 Sep 2011 06:50:36 +0000 (15:50 +0900)]
docs: add links
Ben Noordhuis [Fri, 16 Sep 2011 15:54:28 +0000 (17:54 +0200)]
build: fix SYS_clock_gettime feature check
execute=True makes it fail while cross-compiling.
Fixes #1541.
Ryan Dahl [Fri, 16 Sep 2011 00:49:29 +0000 (17:49 -0700)]
Update website address in Makefile
Ryan Dahl [Fri, 16 Sep 2011 00:31:35 +0000 (17:31 -0700)]
Now working on v0.4.13
Ryan Dahl [Thu, 15 Sep 2011 23:46:39 +0000 (16:46 -0700)]
Bump version to v0.4.12
Ryan Dahl [Thu, 15 Sep 2011 21:56:12 +0000 (14:56 -0700)]
Drain OpenSSL error queue? Addresses #1719
isaacs [Thu, 15 Sep 2011 17:38:25 +0000 (10:38 -0700)]
Fix #1707 hasOwnProperty usage
If hasOwnProperty is overridden, then calling `obj.hasOwnProperty(prop)`
can fail. Any time a dictionary of user-generated items is built, we
cannot rely on hasOwnProperty being safe, so must call it from the
Object.prototype explicitly.
isaacs [Thu, 15 Sep 2011 16:52:49 +0000 (09:52 -0700)]
Add querystring test for hasOwnProperty usage
isaacs [Thu, 15 Sep 2011 16:46:30 +0000 (09:46 -0700)]
Fix #1707 hasOwnProperty usage
Ben Noordhuis [Wed, 14 Sep 2011 14:29:32 +0000 (16:29 +0200)]
test: add http multi-line header test
Test case for #1569. Verify that http_parser parses multi-line headers.
Ben Noordhuis [Wed, 14 Sep 2011 14:07:33 +0000 (16:07 +0200)]
http_parser: cherry-pick 3258e4a and b89f944 from upstream
Fixes #1569, parse error on multi-line HTTP headers.
koichik [Sat, 3 Sep 2011 06:28:36 +0000 (15:28 +0900)]
net: Socket write encoding case sensitivity
Fixes #1586.
koichik [Fri, 2 Sep 2011 09:37:15 +0000 (18:37 +0900)]
buffer: write() should always set _charsWritten.
Refs #1633.
koichik [Thu, 1 Sep 2011 07:48:35 +0000 (16:48 +0900)]
buffer: Avoid overrun with 'binary' encoding.
Fixes #1624.
isaacs [Tue, 30 Aug 2011 15:35:16 +0000 (08:35 -0700)]
Fixes #1610 Remove DigiNotar CA from trusted list
Details:
https://threatpost.com/en_us/blogs/attackers-obtain-valid-cert-google-domains-mozilla-moves-revoke-it-082911
http://www.coriolis-systems.com/blog/2011/08/diginotar-certificate-security.php
Nathan Rajlich [Thu, 25 Aug 2011 17:22:35 +0000 (19:22 +0200)]
util: isRegExp() should not call toString() on its argument
An overloaded toString() method may have side effects
so don't call it for a simple type check.
Back-port of 54b409d to the v0.4 branch.
Ryan Dahl [Tue, 23 Aug 2011 21:29:46 +0000 (14:29 -0700)]
net: fix throw error
Thanks Tobi
koichik [Mon, 22 Aug 2011 15:19:39 +0000 (00:19 +0900)]
Doc improvements
Ryan Dahl [Sat, 20 Aug 2011 19:38:31 +0000 (12:38 -0700)]
Fix #1563. overflow in ChildProcess custom_fd.
Backported from master
f5db3f1f859427d2b1252f937a45409c5d4eb38b
Maciej Małecki [Fri, 19 Aug 2011 22:26:21 +0000 (00:26 +0200)]
docs: process.memoryUsage returns memory usage measured in bytes
isaacs [Wed, 17 Aug 2011 20:13:56 +0000 (13:13 -0700)]
Close #1544 Document slashesDenoteHost flag in url.parse
Ryan Dahl [Thu, 18 Aug 2011 01:45:28 +0000 (18:45 -0700)]
Now working on v0.4.12
Ryan Dahl [Thu, 18 Aug 2011 01:17:57 +0000 (18:17 -0700)]
Bump version to v0.4.11
Ryan Dahl [Wed, 17 Aug 2011 20:21:15 +0000 (13:21 -0700)]
Fixes #1546. Remove expensive debug call.
Ben Noordhuis [Sat, 13 Aug 2011 23:25:39 +0000 (01:25 +0200)]
module: fix pointer reference to out-of-scope variable
Reported by Tom Hughes.
Mickaël Delahaye [Mon, 15 Aug 2011 13:09:03 +0000 (15:09 +0200)]
Fix docs for fs.*chown
Fix bad parameters of fs.chown[Sync], fs.fchown[Sync] and
fs.lchown[Sync] in documentation.
Fixes #1533.
koichik [Sun, 14 Aug 2011 14:10:36 +0000 (23:10 +0900)]
Docs: Not memcpy, but memmove
Fixes #1520.
Ben Noordhuis [Mon, 8 Aug 2011 20:56:26 +0000 (22:56 +0200)]
test: add test for #1202, uncatchable exception on bad host name
Ben Noordhuis [Fri, 12 Aug 2011 13:42:45 +0000 (15:42 +0200)]
net: defer DNS lookup error events to next tick
net.createConnection() creates a net.Socket object
and immediately calls net.Socket.connect() on it.
There are no event listeners registered yet so
defer the error event to the next tick.
Fixes #1202.
Ben Noordhuis [Fri, 12 Aug 2011 13:32:43 +0000 (15:32 +0200)]
build: remove 1024 char read limit from cmake file
Arnout Kazemier [Fri, 12 Aug 2011 11:05:46 +0000 (14:05 +0300)]
Small changes for fs.watchFile. Fixed broken markdown. Changed variable `f` to a proper filename.
Fixes #1507.
isaacs [Thu, 11 Aug 2011 22:30:56 +0000 (15:30 -0700)]
Fix #1497 querystring: Replace 'in' test with 'hasOwnProperty'
koichik [Thu, 11 Aug 2011 08:13:13 +0000 (17:13 +0900)]
Doc improvements
related to #1472.
Christopher Wright [Thu, 11 Aug 2011 04:09:33 +0000 (14:09 +1000)]
Correct code span
Fixes #1489.
Tom Hughes [Fri, 5 Aug 2011 22:22:54 +0000 (15:22 -0700)]
crypto: fix incorrect ssl shutdown check
Tom Hughes [Fri, 5 Aug 2011 20:52:27 +0000 (13:52 -0700)]
net: fix incorrect sizeof()
Ben Noordhuis [Sun, 7 Aug 2011 22:59:08 +0000 (00:59 +0200)]
docs: rename readline.md to readline.markdown
Tom Hughes [Fri, 5 Aug 2011 22:57:31 +0000 (00:57 +0200)]
cmake: Various fixes.
* Allow overriding install path with CMAKE_INSTALL_PREFIX.
* make sure js2min.py can be found when building out of source.
* Replace empty macros with void(0).
Expressions like "debug(x) && foo()" fail if debug(x) is an empty macro.
* Make sure node-natives.h creation is deterministic.
* Fix version string.
The copyright header made the node_version.h file larger
than the previously set file read limit.
Logan Smyth [Wed, 3 Aug 2011 02:17:16 +0000 (22:17 -0400)]
Add documentation for SecurePair and its 'secure' event.
Fixes #1443.
koichik [Fri, 29 Jul 2011 18:03:58 +0000 (03:03 +0900)]
Doc improvements
related to #1391, #1415.
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.
Tom Hughes [Wed, 27 Jul 2011 20:58:39 +0000 (13:58 -0700)]
Fix memleak in libeio.
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.
koichik [Sun, 24 Jul 2011 06:56:23 +0000 (15:56 +0900)]
Doc improvements and change argument name.
Fixes #1318.
Ben Noordhuis [Mon, 25 Jul 2011 13:37:21 +0000 (15:37 +0200)]
eio: remove trailing comma from enumerations
Fixes compile-time error in strict mode. Fixes #567.
isaacs [Mon, 25 Jul 2011 00:18:33 +0000 (17:18 -0700)]
Note that require.paths is gone in 0.5
Rather than say it "may disappear", let's just be clear that it *has*
disappeared, and exactly how long it'll be supported for.
SAWADA Tadashi [Sun, 19 Jun 2011 07:54:34 +0000 (16:54 +0900)]
Fix crypto encryption/decryption with Base64.
Fixes #738.
Fixes #1205.
Vicente Jimenez Aguilar [Thu, 4 Nov 2010 17:48:35 +0000 (18:48 +0100)]
Typos in ChangeLog file.
Fixes #968.
Bert Belder [Fri, 22 Jul 2011 14:28:56 +0000 (16:28 +0200)]
Windows/cygwin: no more GetConsoleTitleW errors on XP
koichik [Thu, 21 Jul 2011 15:20:47 +0000 (00:20 +0900)]
Doc improvements
corresponds to #1374 and #1334.
Trent Mick [Thu, 21 Jul 2011 05:42:10 +0000 (22:42 -0700)]
http: fix setting ServerResponse.statusCode in writeHead
Fixes #1374.
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
isaacs [Tue, 19 Jul 2011 18:56:44 +0000 (11:56 -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.
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.
koichik [Sat, 16 Jul 2011 00:45:43 +0000 (09:45 +0900)]
Doc improvements
Fixes #1334.
Wojciech Wnętrzak [Thu, 14 Jul 2011 11:17:40 +0000 (13:17 +0200)]
added information about relative paths in File System module
koichik [Thu, 14 Jul 2011 16:58:43 +0000 (01:58 +0900)]
Add tests for #1085 and #1304
Fixes #1327.
Stefan Rusu [Thu, 14 Jul 2011 12:33:04 +0000 (15:33 +0300)]
Fixes #1085. The agent end event may call detachSocket() after the socket is detached and destroyed by abort(). This patch avoids that behavior.
Stefan Rusu [Thu, 14 Jul 2011 09:52:43 +0000 (12:52 +0300)]
Fixes #1304. The Connection instance may be destroyed by abort() when process.nextTick is executed.
Kip Gebhardt [Tue, 28 Jun 2011 19:50:42 +0000 (12:50 -0700)]
Adding documentation for 'agent' option in http.request().
Fixes #1243.
koichik [Tue, 21 Jun 2011 15:53:31 +0000 (00:53 +0900)]
Fix Buffer drops last null character in UTF-8
Reproduce:
$ node
> buf = new Buffer('\0')
<Buffer >
> buf.length
0
> buf = new Buffer(1)
<Buffer 28>
> buf.write('\0')
0
Fixes #394.
Fixes #1210.
koichik [Sun, 10 Jul 2011 09:47:41 +0000 (18:47 +0900)]
Improvements AssertionError message
Fixes #217.
koichik [Wed, 13 Jul 2011 15:31:56 +0000 (00:31 +0900)]
The Node.JS website should link to whichever ChangeLog will be updated soonest.
Fixes #1316.
koichik [Wed, 13 Jul 2011 15:10:17 +0000 (00:10 +0900)]
Document error in console.timeEnd
Fixes #1109.
AJ ONeal [Thu, 19 May 2011 19:49:29 +0000 (12:49 -0700)]
added explanation of `exports`
Fixes #1075.
koichik [Sat, 9 Jul 2011 17:04:56 +0000 (02:04 +0900)]
Doc improvements
Fixes #297.
Ryan Dahl [Mon, 11 Jul 2011 19:24:49 +0000 (12:24 -0700)]
Update favicon
Ryan Dahl [Mon, 11 Jul 2011 15:48:02 +0000 (08:48 -0700)]
Fix wallpaper links
Ryan Dahl [Mon, 11 Jul 2011 15:29:25 +0000 (08:29 -0700)]
logo update
koichik [Sat, 9 Jul 2011 07:59:35 +0000 (16:59 +0900)]
Doc improvements. Explained the flags of fs.open().
Fixes #1268.
koichik [Sat, 11 Jun 2011 13:09:40 +0000 (22:09 +0900)]
Doc improvements
moved 'continue' event from http.Agent to http.ClientRequest.
added 'close' event to http.ClientResponse.
added 'open' event to fs.ReadStream.
Fixes #1169.
isaacs [Sat, 2 Apr 2011 00:46:18 +0000 (17:46 -0700)]
docs for chown/chmod
Ben Noordhuis [Tue, 5 Jul 2011 19:54:06 +0000 (21:54 +0200)]
Revert 3e2a2a7. Always send a HTTP/1.1 status line to the client.
Ryan Dahl [Wed, 6 Jul 2011 23:52:14 +0000 (16:52 -0700)]
Bring back execScript
Undoing
http://codereview.chromium.org/7060008
https://groups.google.com/forum/#!topic/v8-dev/JTRHrPHFBts
Yoshihiro Kikuchi [Tue, 5 Jul 2011 08:32:23 +0000 (17:32 +0900)]
fix an broken question.
Fixes #1274.
Alex Xu [Sat, 2 Apr 2011 14:43:55 +0000 (10:43 -0400)]
Typo: stout -> stdout
Closes #874
Ben Noordhuis [Wed, 29 Jun 2011 19:14:02 +0000 (21:14 +0200)]
Test cases for #1234: don't send HTTP/1.1 responses to HTTP/1.0 clients.
Ben Noordhuis [Wed, 29 Jun 2011 18:24:16 +0000 (20:24 +0200)]
Don't send a HTTP/1.1 status line to HTTP/1.0 clients.
Fixes #1234.
Ben Noordhuis [Mon, 4 Jul 2011 23:06:39 +0000 (01:06 +0200)]
Clean up temporary file on exit.
Unbreaks test/simple/test-http-get-pipeline-problem.js,
it assumed a fixed number of files in the tmp directory.
Joe Shaw [Mon, 27 Jun 2011 17:25:05 +0000 (13:25 -0400)]
Fix a misnamed argument; multicastAddress -> multicastInterface. Closes #1237.
Jörn Horstmann [Wed, 11 May 2011 09:33:16 +0000 (02:33 -0700)]
Fixed a typo in a comment: "realpatch" -> "realpath"
Mariano Iglesias [Fri, 11 Mar 2011 10:09:05 +0000 (07:09 -0300)]
Adding missing v8 namespace to NODE_PSYMBOL
Brett Kiefer [Wed, 15 Jun 2011 15:07:23 +0000 (11:07 -0400)]
Fix issue 915 (Failed to find kqueue on FreeBSD) with the relevant portion of a patch submitted to node.js dev (groups.google.com/group/nodejs-dev/browse_thread/thread/
3aaf7fe2ca390fdc) by Davie Siegel. The issue is that event.h requires types.h on FreeBSD. This rearranges some of the logic but looks like it should still be valid for Darwin.
koichik [Sun, 3 Jul 2011 07:46:24 +0000 (16:46 +0900)]
Fix doctool uses RegExp object as a Function
RegExp object is no longer Function.
http://code.google.com/p/v8/issues/detail?id=617
Fixes #1262.
koichik [Sun, 3 Jul 2011 07:56:38 +0000 (16:56 +0900)]
Remove duplicate section in modules.markdown
Fixes #1263
Ryan Dahl [Fri, 1 Jul 2011 22:49:39 +0000 (15:49 -0700)]
Fixes #877. Don't wait for socket pool to establish connections.
Thanks to Yann Biancheri for putting together an initial test.