Ryan Dahl [Wed, 8 Dec 2010 19:39:57 +0000 (11:39 -0800)]
TLS: don't use events when control hasn't been inverted
Ryan Dahl [Wed, 8 Dec 2010 19:22:08 +0000 (11:22 -0800)]
Some TLS clean ups
Ryan Dahl [Wed, 8 Dec 2010 01:13:51 +0000 (17:13 -0800)]
Add 'make test' to test/fixtures/keys/Makefile
Ryan Dahl [Wed, 8 Dec 2010 00:50:30 +0000 (16:50 -0800)]
clients without certs are unauthed.
Ryan Dahl [Wed, 8 Dec 2010 00:34:26 +0000 (16:34 -0800)]
Fix CNs for agent keys; can't be the same as CA's CN
Also add makefile for easy tweaking.
Ryan Dahl [Tue, 7 Dec 2010 21:56:11 +0000 (13:56 -0800)]
Upgrade V8 to 3.0.0
Ryan Dahl [Tue, 7 Dec 2010 19:53:36 +0000 (11:53 -0800)]
Add broken, but detailed TLS verify test
Plus a bunch of keys.
Ryan Dahl [Tue, 7 Dec 2010 19:29:10 +0000 (11:29 -0800)]
Pretty error message messes up if readFileSync in main module fails.
TODO test/message test for this.
Ryan Dahl [Mon, 6 Dec 2010 02:19:18 +0000 (18:19 -0800)]
Move securepair stuff into tls.js
Ryan Dahl [Sat, 4 Dec 2010 01:07:09 +0000 (17:07 -0800)]
Server must not request cert.
Oleg Efimov [Sun, 5 Dec 2010 22:33:52 +0000 (01:33 +0300)]
GJSLint all tests, only 3 long lines left in test-url.js
test/simple/test-url.js:31:(0110) Line too long (82 characters).
test/simple/test-url.js:39:(0110) Line too long (85 characters).
test/simple/test-url.js:40:(0110) Line too long (92 characters).
Oleg Efimov [Sun, 5 Dec 2010 19:15:30 +0000 (22:15 +0300)]
GJSLint all simple tests exclude http-*, url, path
isaacs [Sun, 5 Dec 2010 19:35:41 +0000 (11:35 -0800)]
test-fs-realpath: Put junk in tmp, not fixtures.
Prevents test/fixtures/cycles/folder/cycles from being created every time
the tests are run.
isaacs [Sun, 5 Dec 2010 19:05:30 +0000 (11:05 -0800)]
test-fs-realpath: move absDir fetching to separate function
isaacs [Sun, 5 Dec 2010 18:44:39 +0000 (10:44 -0800)]
test-fs-realpath: lint
Oleg Efimov [Sat, 4 Dec 2010 22:45:52 +0000 (01:45 +0300)]
GJSLint continue
Oleg Efimov [Sat, 4 Dec 2010 23:06:34 +0000 (02:06 +0300)]
Small site fix for image borders and nodejs-dev maillist URL
Ryan Dahl [Sat, 4 Dec 2010 21:40:39 +0000 (13:40 -0800)]
Check for global leaks in all tests
Ryan Dahl [Sun, 5 Dec 2010 00:11:57 +0000 (16:11 -0800)]
Fix global leaks
Ryan Dahl [Sat, 4 Dec 2010 23:20:34 +0000 (15:20 -0800)]
Fix global leaks
Ryan Dahl [Sat, 4 Dec 2010 21:40:21 +0000 (13:40 -0800)]
Fix global leaks in test-buffer.js
Ryan Dahl [Sat, 4 Dec 2010 21:39:28 +0000 (13:39 -0800)]
fix global leak
Anders Conbere [Sat, 4 Dec 2010 19:37:35 +0000 (11:37 -0800)]
Reworks the two functions traverser and findModulePath into a more readable form.
This is not the supposed end of these changes, but a first change that
should make future changes easier to reason about.
Devin Torres [Fri, 3 Dec 2010 23:49:26 +0000 (17:49 -0600)]
Use more color in the repl, loosely inspired by TextMate's SunBurst theme
Anders Conbere [Wed, 1 Dec 2010 22:31:20 +0000 (14:31 -0800)]
adding module tests for .js and bare files
Currently the module tests don't cover the cases for when a user
requires a file with a request that includes the extension, and for a
request to a file with no extensions.
ex.
require("./a.js") // not tested
require("./foo") // (not tested with trying to load a file named ./foo)
Sean Braithwaite [Thu, 2 Dec 2010 21:53:16 +0000 (16:53 -0500)]
Check buffer length using string length
+ Utf8Length is really slow but has the same semantics in this case
Ryan Dahl [Fri, 3 Dec 2010 20:28:24 +0000 (20:28 +0000)]
implement openpty for sun
Brian White [Fri, 3 Dec 2010 12:45:00 +0000 (07:45 -0500)]
Make sure REPL doesn't get borked when invalid REPL keywords are entered
Brian White [Fri, 3 Dec 2010 12:40:26 +0000 (07:40 -0500)]
Fix tty changes for OSX
Ryan Dahl [Fri, 26 Nov 2010 03:09:28 +0000 (19:09 -0800)]
Introduce require('tty')
You may need to reconfigure after this commit due to the new library.
Oleg Efimov [Fri, 3 Dec 2010 01:03:18 +0000 (04:03 +0300)]
GJSLint part of tests
Ryan Dahl [Fri, 3 Dec 2010 01:01:08 +0000 (17:01 -0800)]
Fix indention in 'make test-message'
Ryan Dahl [Fri, 3 Dec 2010 00:57:16 +0000 (16:57 -0800)]
Add configure flag for oprofile
Ryan Dahl [Fri, 3 Dec 2010 00:45:34 +0000 (16:45 -0800)]
fix global leak
Ryan Dahl [Fri, 3 Dec 2010 00:38:23 +0000 (16:38 -0800)]
test-securepair-client: handle broken stdout packets
Ryan Dahl [Thu, 2 Dec 2010 23:59:35 +0000 (15:59 -0800)]
print warning on process.ENV
Ryan Dahl [Thu, 2 Dec 2010 20:11:23 +0000 (12:11 -0800)]
lint util.js and src/node.js
isaacs [Thu, 2 Dec 2010 19:34:53 +0000 (11:34 -0800)]
lint url.js
Oleg Slobodskoi [Thu, 2 Dec 2010 19:07:47 +0000 (11:07 -0800)]
docs for assert.throws
Tom Hughes [Mon, 29 Nov 2010 18:02:06 +0000 (12:02 -0600)]
cmake: solaris fixes.
Tom Hughes [Wed, 24 Nov 2010 07:25:41 +0000 (01:25 -0600)]
cmake: Add valgrind support.
Tom Hughes [Wed, 24 Nov 2010 06:34:50 +0000 (00:34 -0600)]
cmake: Add coverage support.
Micheil Smith [Thu, 2 Dec 2010 06:48:00 +0000 (17:48 +1100)]
Cleanup Makefile for JSLint, CPPLint
Ryan Dahl [Thu, 2 Dec 2010 04:59:06 +0000 (20:59 -0800)]
lint
Ryan Dahl [Thu, 2 Dec 2010 02:07:20 +0000 (18:07 -0800)]
more lint
Brian White [Thu, 2 Dec 2010 02:24:32 +0000 (21:24 -0500)]
Fix executable path on FreeBSD.
Ryan Dahl [Thu, 2 Dec 2010 01:43:30 +0000 (17:43 -0800)]
more lint
Ryan Dahl [Thu, 2 Dec 2010 01:29:11 +0000 (17:29 -0800)]
more lint
Ryan Dahl [Thu, 2 Dec 2010 01:01:19 +0000 (17:01 -0800)]
Import cpplint.py
make cpplint
make jslint
make lint
Ryan Dahl [Thu, 2 Dec 2010 00:56:03 +0000 (16:56 -0800)]
lint child_process.js
Ryan Dahl [Thu, 2 Dec 2010 00:36:23 +0000 (16:36 -0800)]
lint
Ryan Dahl [Thu, 2 Dec 2010 00:35:46 +0000 (16:35 -0800)]
Import Google's closure_linter
Run with 'make lint'
Ryan Dahl [Wed, 1 Dec 2010 21:43:05 +0000 (13:43 -0800)]
style
Ryan Dahl [Wed, 1 Dec 2010 21:40:28 +0000 (13:40 -0800)]
Require without .js in test-repl
Ryan Dahl [Wed, 1 Dec 2010 21:00:04 +0000 (13:00 -0800)]
New TLS server API
Ryan Dahl [Wed, 1 Dec 2010 20:52:31 +0000 (12:52 -0800)]
Stop watcher before calling .set() in Stream.prototype.resume
Ryan Dahl [Wed, 1 Dec 2010 20:47:49 +0000 (12:47 -0800)]
Remove should_verify from C++ - to handle in JS land
Ryan Dahl [Wed, 1 Dec 2010 20:32:37 +0000 (12:32 -0800)]
add todo
Ryan Dahl [Wed, 1 Dec 2010 19:31:22 +0000 (11:31 -0800)]
Remove useless shouldVerify assignments
Ryan Dahl [Wed, 1 Dec 2010 19:23:25 +0000 (11:23 -0800)]
Better array check in Cert Authority list
Ryan Dahl [Wed, 1 Dec 2010 09:42:41 +0000 (01:42 -0800)]
add shouldVerifyPeer param to SecurePairs
Ryan Dahl [Wed, 1 Dec 2010 09:40:39 +0000 (01:40 -0800)]
Remove unnecessary call to X509_STORE_free
Ryan Dahl [Wed, 1 Dec 2010 08:46:04 +0000 (00:46 -0800)]
Rename VerifyPeerError to VerifyError
Ryan Dahl [Wed, 1 Dec 2010 07:06:57 +0000 (23:06 -0800)]
fix typo
Ryan Dahl [Wed, 1 Dec 2010 07:00:32 +0000 (23:00 -0800)]
Add promotejs
Over 2 months late -- this is how much I procrastinate. -_-
Michael W [Wed, 1 Dec 2010 05:20:25 +0000 (22:20 -0700)]
fixed timers, whoops.
Fixes issue https://github.com/ry/node/issues/issue/481
Ryan Dahl [Wed, 1 Dec 2010 00:28:50 +0000 (16:28 -0800)]
Implement SecureContext destructor
Ryan Dahl [Wed, 1 Dec 2010 00:16:00 +0000 (16:16 -0800)]
Better verify info
Ryan Dahl [Wed, 1 Dec 2010 00:13:05 +0000 (16:13 -0800)]
Move root certs out of JavaScript
Ryan Dahl [Tue, 30 Nov 2010 23:59:59 +0000 (15:59 -0800)]
style
Ryan Dahl [Tue, 30 Nov 2010 19:53:44 +0000 (19:53 +0000)]
Fix test-child-process-cwd.js on Joyent servers
It's symlinked to /usr/bin so this test fails.
Ryan Dahl [Tue, 30 Nov 2010 19:34:27 +0000 (11:34 -0800)]
Upgrade V8 to 2.5.9.1
Ryan Dahl [Tue, 30 Nov 2010 19:33:05 +0000 (11:33 -0800)]
Revert "Default to TLSv1"
This reverts commit
97970b05fe37c0a0313c5e0cb2f13be9e15199a3.
Ryan Dahl [Tue, 30 Nov 2010 19:18:02 +0000 (11:18 -0800)]
Lazy load console object
Ryan Dahl [Tue, 30 Nov 2010 19:04:31 +0000 (11:04 -0800)]
Fix comment
Ryan Dahl [Tue, 30 Nov 2010 18:54:56 +0000 (10:54 -0800)]
Remove assert in verify_peer; add comments
Bert Belder [Wed, 24 Nov 2010 23:34:13 +0000 (00:34 +0100)]
win: Duplicate platform_cygwin.cc into platform_win32.cc
Bert Belder [Wed, 24 Nov 2010 23:17:59 +0000 (00:17 +0100)]
win: C-ares build config for win32
Bert Belder [Wed, 24 Nov 2010 22:44:33 +0000 (23:44 +0100)]
win: Waf doesn't detect sys/select.h on mingw, but its there for sure
Bert Belder [Wed, 24 Nov 2010 22:43:20 +0000 (23:43 +0100)]
win: Make libev use send instead of write for sockets
It looks like MINGW doesn't like to write() to sockets.
If wrong, revert this patch
Bert Belder [Wed, 24 Nov 2010 22:22:19 +0000 (23:22 +0100)]
win: Export eio__pread and eio__pwrite so node_file can use it
Bert Belder [Wed, 24 Nov 2010 22:21:38 +0000 (23:21 +0100)]
win: Fix wscript for libeio on windows
Bert Belder [Wed, 24 Nov 2010 01:39:54 +0000 (02:39 +0100)]
win: Make libeio build on windows
Bert Belder [Thu, 25 Nov 2010 00:49:21 +0000 (01:49 +0100)]
win: Define __POSIX__ constant when the platform is POSIX-y
Bert Belder [Thu, 18 Nov 2010 09:37:13 +0000 (10:37 +0100)]
win: Symlink to jsmin.py doesn't work on windows
Ryan Dahl [Tue, 30 Nov 2010 03:59:01 +0000 (19:59 -0800)]
buffer.copy targetStart defaults to 0
Ryan Dahl [Tue, 30 Nov 2010 03:52:47 +0000 (19:52 -0800)]
Document defaults for buffer.copy()
Ryan Dahl [Tue, 30 Nov 2010 03:46:00 +0000 (19:46 -0800)]
Put tools/ into PYTHON_PATH
Michael W [Mon, 29 Nov 2010 18:48:25 +0000 (11:48 -0700)]
Fixed: clearTimeouts calling multiple times
When clearTimeouts was called on a timer multiple times, it would break the
doubly-linked list along with future timeouts. This patch fixes that.
Travis Swicegood [Mon, 29 Nov 2010 18:06:15 +0000 (12:06 -0600)]
Simplify execution from "big if statement"
This code is functionally equivalent, but in a simpler form. Now new
parameters to `execFile` do not require `exec` to be refactored.
Travis Swicegood [Mon, 29 Nov 2010 17:39:13 +0000 (11:39 -0600)]
Remove cruft that dealt with env parameter
Originally added in commit
078a48a9, this code dealt with an optional
env parameter that was passed to `exec`. The parameter was removed, but
this code was left. As it serves no purpose, removing it.
Ryan Dahl [Tue, 30 Nov 2010 01:36:59 +0000 (17:36 -0800)]
Add test to show ECONNREFUSED works
Jeremy Martin [Sun, 28 Nov 2010 06:03:14 +0000 (01:03 -0500)]
Fix number of args emitted by EventEmitter during "fast case" (lte 3 args)
Oleg Slobodskoi [Fri, 26 Nov 2010 23:03:31 +0000 (00:03 +0100)]
assert.throws can now accept as RegExp
makes validation of errors more flexible
Travis Swicegood [Sun, 28 Nov 2010 17:17:36 +0000 (11:17 -0600)]
fix a typo in comment
fixes issue 464
Evan Larkin [Sat, 27 Nov 2010 09:59:47 +0000 (03:59 -0600)]
Fix variable leak.
Fixes issue 461
Ryan Dahl [Tue, 30 Nov 2010 00:18:08 +0000 (16:18 -0800)]
Don't call exit() from the signal handler
Fixes issue #457
Ryan Dahl [Mon, 29 Nov 2010 23:22:48 +0000 (15:22 -0800)]
Style
Ryan Dahl [Mon, 29 Nov 2010 23:04:36 +0000 (15:04 -0800)]
Remove unnecessary variable def
Ryan Dahl [Mon, 29 Nov 2010 22:07:55 +0000 (14:07 -0800)]
Simplify state transitions in http.Client
Fixes new bug shown in test-http-allow-req-after-204-res.js pointed out by
Tom Carden <tom.carden@gmail.com>.