Ben Noordhuis
53f3b128f5
node: tag Encode and friends NODE_EXTERN
Makes the symbols visible on Windows. They were already visible on Unices.
Fixes #3811 .
13 years ago
Gil Pedersen
f1fba8d1f5
fs: fix ReadStream / WriteStream missing callback
The (undocumented) callback argument to .destroy() was not called if the
stream was no longer readable / writable.
13 years ago
Ben Noordhuis
23f09d7e02
fs: fix readFileSync("/proc/cpuinfo") regression
Don't use positional reads. Not all proc files support pread(), especially on
older linux kernels.
Fixes #3808 .
13 years ago
isaacs
fd56981b4c
blog: Remove all windows line endings once and for all
13 years ago
Dave Pacheco
fe659a6017
update profiling blog post to use shell redirection instead of -o
13 years ago
isaacs
f70be41d80
blog: Remove ^M chars from profiling-node-js blog post
13 years ago
Ben Noordhuis
cccce60b3e
installer: don't assume bash is installed
Use `/bin/sh` instead of `bash` when running the relocate.sh script.
13 years ago
Bert Belder
285a46d1ca
uv: upgrade to 6209fe5
13 years ago
Eugen Dueck
af699c47d1
doc: http: document res.write() `drain` return value
13 years ago
Bert Belder
2981f01b46
v8: don't show performance warnings when compiling with msvc
Patch sent upstream: http://codereview.chromium.org/10829109/
13 years ago
Bert Belder
9e2319f977
docs: remove unused require from example
Closes GH-3801
13 years ago
Bert Belder
80ab9a891a
uv: upgrade to 69c2ef8
13 years ago
Ben Noordhuis
de16da532e
deps, tools: remove stray reject files
13 years ago
Ben Noordhuis
2eb6a62f4f
doc: document child_process.fork() limitation
13 years ago
isaacs
f8dab6acb6
doc: Remove timeout arg in child_process.fork
Fix #3784
13 years ago
Shigeki Ohtsu
5b37da2ac0
doc: fix domains example
Need `utf8` encoding for JSON.parse and fix to avoid JSON.parse error when only
one argument is passed in domain.bind
13 years ago
isaacs
b3cf3f35fc
Report errors properly from --eval and stdin
13 years ago
koichik
72bc4dcda4
assert: fix throws() throws an error without message property
Fixes #2893 .
13 years ago
Ben Noordhuis
aa0650f444
cluster: fix libuv assert in net.listen()
Problem: calling `server.listen()` (no port) on a net.Server triggered the
following libuv assertion:
node: ../deps/uv/src/unix/stream.c:406: uv__write: Assertion `fd_to_send >= 0'
failed.
Cause: uv_tcp_t handles are lazily initialized. Omitting the port made the
handle get initialized even more lazily. Too lazily - it wasn't initialized
when the handle was sent over to the child process.
Solution: implicitly bind to a random port in listen() when the port number
is omitted, it forces the handle to initialize. This is not a change in
behavior, listen() has always been identical to listen(0).
Fixes #3325 .
13 years ago
Ben Noordhuis
879d329a5a
deps: upgrade libuv to 4fe1916
13 years ago
Ben Noordhuis
d559bed0d5
node: use variadic functions in ev-emul.h
Fixes #3786 .
13 years ago
Trent Mick
f70b138fcb
always link sunos builds with libumem
13 years ago
Adam Malcontenti-Wilson
90efdb3a5b
build: improve armv7 / hard-float detection
13 years ago
isaacs
b0c0111b04
https: Use host header as effective servername
13 years ago
Nathan Rajlich
9eddaebb79
assert: remove unnecessary use of __proto__
AssertionError already inherits from Error above using util.inherits(),
so this extra line was redundant.
test/simple/test-assert.js already tests for `instanceof`, and still passes.
13 years ago
isaacs
b207e24bcd
Blog post for 0.8.4
13 years ago
isaacs
3d34590fba
Now working on v0.8.5
13 years ago
isaacs
32141844f1
Merge branch 'v0.8.4-release' into v0.8
13 years ago
isaacs
8656c2654e
Fix #3761 build: Default to V=1
13 years ago
isaacs
f98562fcd7
2012.07.25, Version 0.8.4 (Stable)
* V8: Upgrade to 3.11.10.17
* npm: Upgrade to 1.1.45
* net: fix Socket({ fd: 42 }) api (Ben Noordhuis)
* readline: Remove event listeners on close (isaacs)
* windows: correctly prep long path for fs.exists(Sync) (Bert Belder)
* debugger: wake up the event loop when a debugger command is dispatched (Peter Rybin)
* tls: verify server's identity (Fedor Indutny)
* net: ignore socket.setTimeout(Infinity or NaN) (Fedor Indutny)
13 years ago
isaacs
7fd3cb666b
Build: add jslintfix
13 years ago
isaacs
5809426d75
net.js: lint
13 years ago
Ben Noordhuis
1513848f88
net: fix Socket({ fd: 42 }) api
Make the implementation match the documentation. This should work:
var s = new net.Socket({ fd: 42, allowHalfOpen: true };
And now it does.
13 years ago
isaacs
e4c9c9f412
readline: Remove event listeners on close
Fix #3756
13 years ago
isaacs
2c487669f7
v8: Reapply floating patches
13 years ago
isaacs
f4f0daa44d
V8: Upgrade to 3.11.10.17
13 years ago
isaacs
0a0002b480
npm: Upgrade to 1.1.45
This includes node-gyp 0.6.1
13 years ago
Bert Belder
43a0c88116
windows: correctly prep long path for fs.exists(Sync)
Closes GH-3739
13 years ago
Peter Rybin
688859afc0
debugger: wake up the event loop when a debugger command is dispatched
When the event loop was blocked in epoll / kqueue or similar, debugger
commands wouldn't be processed. This patch fixes that by adding an
uv_async handle which is triggered when a debugger command is
dispatched. The async handle's callback makes sure that V8 is entered.
Closes GH-3626
Closes GH-3718
13 years ago
Brian White
e06b5d7af7
http: remove duplicate assignments
Closes GH-3754
13 years ago
koichik
bc30c90af6
doc: remove duplicate section
Fixes #3750 .
13 years ago
Fedor Indutny
42c6952edb
tls: pass linting
13 years ago
Fedor Indutny
50122fed8a
tls: fix 'hostless' tls connection verification
And fix last failing tests
13 years ago
Fedor Indutny
5950db197c
tls: revert accidental API change
socket.authorizationError should always be string. Also make sni test
pass.
13 years ago
Fedor Indutny
4aa09d1e0e
tls: localhost is valid against identity-check
13 years ago
Fedor Indutny
e43fe5c833
Revert "http/https: pass request to .createConnection()"
This reverts commit 53716eb0b5
.
13 years ago
Fedor Indutny
eb2ca10462
tls: veryify server's identity
13 years ago
Fedor Indutny
53716eb0b5
http/https: pass request to .createConnection()
It's useful for passing some additional options of request object to the
underlying API
13 years ago
Fedor Indutny
1fa0bca2ad
net: ignore socket.setTimeout(Infinity) (and NaN)
13 years ago
isaacs
d9057cc090
npm: Upgrade to 1.1.44
13 years ago