Ryan Dahl
c82fe30ca1
repl.js style
14 years ago
Ryan Dahl
00974df3e5
Allow for evaling statements in REPL too
14 years ago
Ryan Dahl
b45698e676
Improve how REPL commands are evaled
Before:
> {a: 1}
1
> (function() {
... // foo
... return 1;
... })();
...
Now:
> {a: 1}
{ a : 1 }
> (function() {
... // foo
... return 1;
... })();
1
>
14 years ago
Ryan Dahl
8f5f213a6f
Revert "Add optional filters to stream.pipe()"
This reverts commit 24aded078f
.
14 years ago
Sami Samhuri
e5a47c8ce1
use util.inspect to format objects and arrays printed to the console
14 years ago
Daniel C
ca8cc71bd0
EventEmitter.prototype.once should "return this;"
14 years ago
Ryan Dahl
e3ce73a214
Add ability to ask question from readline
14 years ago
Brian White
d75c338dd6
Add more functionality to the os module
14 years ago
Oleg Slobodskoi
23cf938e4f
fix assert.throws
14 years ago
Jeremy Martin
6f726cf8c7
url.parse(url, true) defaults query field to {}
14 years ago
Ryan Dahl
8db0bbe0dc
Add callback to CryptoStream.write
14 years ago
Ryan Dahl
41d73e02a2
cleartext.socket always exists
14 years ago
Ryan Dahl
bb27885251
TLS: check we're not disconnected before Cleartext blow
14 years ago
Ryan Dahl
3cf2cbf904
Parse issuer and subject from CryptoStream.getPeerCertificate
14 years ago
Ryan Dahl
24aded078f
Add optional filters to stream.pipe()
14 years ago
Brian White
6d75c06e64
Add os module to repl's built-in lib list
14 years ago
Ryan Dahl
632da2a393
Add callback paramenter to socket.connect()
14 years ago
Ryan Dahl
c4161f32f5
Add callback to socket.write()
14 years ago
Ryan Dahl
c970968ee6
better option parsing for socket.write()
14 years ago
Ryan Dahl
a59483bd1d
TLS: server should die on junk
14 years ago
Ryan Dahl
e3d1808ef0
Rename node::SecureStream to node::crypto::Connection
node::SecureStream is definitely not a "stream" in the Node sense. Renaming
it to avoid ambiguity. (Adding namespace to not confuse with some other
Connection object.)
14 years ago
Ryan Dahl
6636bfaa0a
TLS: Simplify code from suck and blow
14 years ago
Ryan Dahl
66767edf12
Add CryptoStream.destroy()
14 years ago
Ryan Dahl
953561ab06
Factor out CryptoStream.end; support data on end()
14 years ago
Brian White
f1762ff815
Add os module and getHostname
14 years ago
Ryan Dahl
dc65cbd2e9
Factor out some _cycle functionality into Cleartext and EncrypteStreams
14 years ago
Ryan Dahl
70baeba8a9
Add receivedShutdown() binding
14 years ago
Ryan Dahl
d4f1ab00d2
Add EncryptedStream and CleartextStream classes
Towards half-closed secure sockets.
14 years ago
Ryan Dahl
c444293be9
Start a simple TLS client verification test
14 years ago
Ryan Dahl
5138992f3c
Add some verification code to tls.connect()
14 years ago
Ryan Dahl
a473b8dafb
Move getPeerCertificate and getCipher to CryptoStream
14 years ago
Ryan Dahl
2ca63c8f79
Initial implementation of tls.connect()
Seems to work checkout test/disabled/tls-client.js
Type "GET /" after connected.
14 years ago
Ryan Dahl
137c361517
pair.cleartext, pair.encrypted now instances of tls.CryptoStream
14 years ago
Ryan Dahl
0ea0b921b7
TLS: emit 'secureConnection' instead of two events
14 years ago
Ryan Dahl
a952231640
remove old todo
14 years ago
Ryan Dahl
13b14300b9
TLS: emit 'end' on both streams
14 years ago
Ryan Dahl
a0c55dfe09
TLS: don't use events when control hasn't been inverted
14 years ago
Ryan Dahl
0ec57ea34c
Some TLS clean ups
14 years ago
Ryan Dahl
5b8c62f7d1
Add broken, but detailed TLS verify test
Plus a bunch of keys.
14 years ago
Ryan Dahl
0b0faceb19
Move securepair stuff into tls.js
14 years ago
Ryan Dahl
5bca100afe
Server must not request cert.
14 years ago
Ryan Dahl
92789b16e5
Fix global leaks
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Devin Torres
8c6a7b5de4
Use more color in the repl, loosely inspired by TextMate's SunBurst theme
14 years ago
Brian White
e41e078159
Make sure REPL doesn't get borked when invalid REPL keywords are entered
14 years ago
Ryan Dahl
a0e9a510b0
Introduce require('tty')
You may need to reconfigure after this commit due to the new library.
14 years ago
Ryan Dahl
558e5ba2b0
lint util.js and src/node.js
14 years ago
isaacs
7c57eb2aec
lint url.js
14 years ago
Ryan Dahl
dd53ceebe4
lint
14 years ago
Ryan Dahl
e232f6e735
more lint
14 years ago