Nathan Rajlich
b1e78cef09
repl: ensure each REPL instance gets its own "context"
Before there was this weird module-scoped "context" variable which seemingly
shared the "context" of subsequent REPL instances, unless ".clear" was invoked
inside the REPL. To be proper, we need to ensure that each REPL gets its own
"context" object. I literally don't know why this "sharing" behavior was in place
before, but it was just plain wrong.
12 years ago
Ben Noordhuis
61978f57e6
dgram: remove stale code
12 years ago
Max Ogden
323bbdb0cb
doc: set default background color to white
12 years ago
isaacs
8509073458
lint
12 years ago
isaacs
58db21e6c5
Now working on 0.8.13
12 years ago
isaacs
b3536ae0a8
blog: Post about 0.8.12
12 years ago
isaacs
d411622814
Merge branch 'v0.8.12-release' into v0.8
12 years ago
isaacs
061f2075cf
string_decoder: Add 'end' method, do base64 properly
12 years ago
isaacs
38c72d4e29
2012.10.12, Version 0.8.12 (Stable)
* npm: Upgrade to 1.1.63
* crypto: Reduce stability index to 2-Unstable (isaacs)
* windows: fix handle leak in uv_fs_utime (Bert Belder)
* windows: fix application crashed popup in debug version (Bert Belder)
* buffer: report proper retained size in profiler (Ben Noordhuis)
* buffer: fix byteLength with UTF-16LE (koichik)
* repl: make "end of input" JSON.parse() errors throw in the REPL (Nathan Rajlich)
* repl: make invalid RegExp modifiers throw in the REPL (Nathan Rajlich)
* http: handle multiple Proxy-Authenticate values (Willi Eggeling)
12 years ago
isaacs
218f08dbde
npm: Upgrade to 1.1.63
12 years ago
isaacs
99b2368a6c
doc: Reduce crypto stability to 2-Unstable
12 years ago
Ben Noordhuis
d7c45ea7d0
deps: upgrade libuv to 47b2cd3
12 years ago
Ben Noordhuis
6a128e037e
buffer: report proper retained size in profiler
Make buffers report the proper retained size in heap snapshots.
Before this commit, Buffer objects would show up in the heap profiler as being
only a few hundred bytes large, even if the actual buffer was many megabytes.
12 years ago
Nathan Rajlich
4eb5399bb2
util: add a "customInspect" option to `util.inspect()`
For disabling calling the custom `inspect()` function when defined on an object
that is being inspected.
12 years ago
Ben Noordhuis
e3ee289cca
Update AUTHORS and .mailmap
12 years ago
Nathan Rajlich
07774e6b95
util: make `inspect()` accept an "options" argument
Consolidates all the formatting options into an "options" object argument.
This is so that we don't have to be constantly remembering the order of
the arguments and so that we can add more formatting options easily.
Closes #4085 .
12 years ago
Bert Belder
87518f1e3c
uv: upgrade to b0c1a38
12 years ago
Ben Noordhuis
5823290390
deps: upgrade libuv to cb03e3b
12 years ago
Ben Noordhuis
0ad005852c
https: fix renegotation attack protection
Listen for the 'clientError' event that is emitted when a renegotation attack
is detected and close the connection.
Fixes test/pummel/test-https-ci-reneg-attack.js
12 years ago
Ben Noordhuis
7394e89ff6
tls: remove dead code
Remove dead code. Forgotten in 76ddf06
.
12 years ago
Aaditya Bhatia
c668185add
cluster: make 'listening' handler see actual port
Make the 'listening' event handler in the master process see the actual port
that the worker bound to when the worker specified port 0, i.e. a random port.
12 years ago
Ricky Ng-Adam
8bd4590a31
buffer: include encoding value in exception when invalid
Encoding failures can be somewhat confusing, especially when they are due to
control flow frameworks auto-filling parameters from the previous step output
values to functions (such as toString and write) that developers don't expect
to take an encoding parameter. By outputting the value as part of the message,
should make it easier to track down these sort of bugs.
12 years ago
Bert Belder
5288ed75be
windows: use USERPROFILE to get the user's home dir
Fixes #3461
Close #3462
Close #4093
12 years ago
Ben Noordhuis
eec8c2edaf
crypto: fix -Wtautological-compare warning
12 years ago
Andreas Madsen
be5a8e24c2
doc: consistent use of the callback argument
12 years ago
Ben Noordhuis
76ddf06f10
tls: don't use a timer to track renegotiations
It makes tls.createSecurePair(null, true) hang until the timer expires.
Using a timer here is silly. Use a timestamp instead.
12 years ago
Ben Noordhuis
16a9dac8ea
deps: upgrade libuv to 40134c3
12 years ago
Ben Noordhuis
da1f48328c
test: write to temp dir, not fixtures dir
12 years ago
Andrew Paprocki
8c5f269f90
Fix -Wsizeof-array-argument compiler warning.
12 years ago
Nathan Rajlich
7611c7cd25
repl: dynamically lookup the require extensions for tab complete
Removes 2 TODO items
12 years ago
Ben Noordhuis
621caa7bc5
Update LICENSE file.
12 years ago
Ben Noordhuis
ee77a6a953
deps: upgrade libuv to b9ed1a6
12 years ago
Nathan Rajlich
59c166cfba
repl: move "isSyntaxError()" definition to the bottom
fixes lint "line length too long" error
12 years ago
Nathan Rajlich
f826b3269d
doc: document the custom "inspect()" function behavior
Closes #3361 .
12 years ago
koichik
fbb0ee6f24
buffer: fix byteLength with UTF-16LE
Fixes #4075 .
12 years ago
isaacs
836a06fc4f
Revert "http: make http.ServerResponse emit 'end'"
This reverts commit 790d651f0d
.
This makes Duplex streams unworkable, and would only ever be a special
case for HTTP responses, which is not ideal.
Intead, we're going to just bless the 'finish' event for all Writable
streams in 0.10
12 years ago
Alex Kocharin
bf0bc3565b
doc: better example for process.hrtime()
Fixes #3984 .
12 years ago
koichik
016afe21ae
streams: fix pipe is destructed by 'end' from destination
13 years ago
Ben Noordhuis
b0d04ffbd8
doc: stream: clarify meaning of 'drain' some more
Courtesy of Lee Coltrane (@coltrane ).
12 years ago
Ben Noordhuis
f624be4093
doc: stream: clarify meaning of 'drain' event
12 years ago
Ben Noordhuis
109f8e2773
node_http_parser: fix whitespace errors
12 years ago
isaacs
b90c1502e5
doc: Correct stream.write fd mention
No streams actually work this way.
12 years ago
Paul Serby
41e53e5579
path: add platform specific path delimiter
Closes #3728
Closes #4071
12 years ago
Nathan Rajlich
3b7312d23a
repl: make "end of input" JSON.parse() errors throw in the REPL
12 years ago
Nathan Rajlich
f1722a280c
repl: make invalid RegExp modifiers throw in the REPL
Fixes #4012 .
12 years ago
isaacs
fa912c246c
blog: s/LibUV/libuv/
12 years ago
isaacs
d3e818cf8f
blog: LXJS talk by @piscisaureus
12 years ago
isaacs
3053f4d27d
test: Fix stdin message tests
12 years ago
isaacs
5a0056703a
test: Fix simple/test-http-client-timeout-agent
Merge breakage.
12 years ago
isaacs
ae40f1c438
Merge remote-tracking branch 'ry/v0.8' into v0.8-merge
Conflicts:
AUTHORS
ChangeLog
deps/openssl/openssl.gyp
deps/uv/src/unix/linux/linux-core.c
deps/uv/src/unix/process.c
deps/uv/src/unix/stream.c
deps/v8/src/arm/builtins-arm.cc
deps/v8/src/arm/code-stubs-arm.cc
deps/v8/src/arm/full-codegen-arm.cc
lib/tls.js
src/node_version.h
test/simple/test-http-client-timeout-agent.js
12 years ago