Andreas Madsen
33b7fc250f
child_process: do not disconnect on exit emit
When using isolate the .fork would break because it had
no .disconnect method. This remove the exit handler there
would call .disconnect since it was not required.
It also change .disconnect to throw if the channel is closed,
this was not possible before because .disconnect would be called
twice.
13 years ago
Bert Belder
fa490f6497
uv: upgrade to 3eb94e9
13 years ago
Bert Belder
0ad2a9a2e0
Small test-dgram-multicast-multi-process fixes
Somehow windows doesn't want to bind to 224.0.0.1. Let's test with a multicast
address that has no special meaning.
13 years ago
Ben Noordhuis
03c4aa6aef
build: don't set -mmacosx-version-min
It sets __MAC_OS_X_VERSION_MIN_REQUIRED__, which is what we use for feature
detection.
13 years ago
Andreas Madsen
42ea068a1a
Test for ChildProcess.disconnect()
13 years ago
Ben Noordhuis
279e7e7341
fs: add O_EXCL support, exclusive open file
13 years ago
Ben Noordhuis
88b919ea56
fs, test: add file open mode tests
13 years ago
Łukasz Walukiewicz
a94ffdaec5
url: Support for IPv6 addresses in URLs.
Fixes #1138 , #2610 .
13 years ago
Tj Holowaychuk
26bfb6bea4
more specific fs error messages
13 years ago
Igor Zinkovsky
ff40253566
upgrade uv to 812e410772
13 years ago
Roman Shtylman
e97b961815
add node::SetMethod and node::SetPrototypeMethod
defines cannot be used if the callback is a templated and has
multiple template arguments. The comma separating the arguments
breaks the preprocessor argument handling. Using a templated function
is clearer and more idiomatic in c++.
13 years ago
Andreas Madsen
836344c90e
Add disconnect method to forked child processes
This disconnect method allows the child to exit gracefully.
This also adds a disconnect event and connect property.
13 years ago
koichik
3fd13c6426
http: fix free http-parser too early
when the status code is 100 (Continue).
Fixes #2636 .
13 years ago
Ben Noordhuis
b221fe9b29
timers: add v0.4 compatibility hack
If a timer callback throws and the user's uncaughtException handler ignores the
exception, other timers that expire on the current tick should still run.
If #2582 goes through, this hack should be removed.
Fixes #2631 .
13 years ago
Brandon Benvie
52bd0f93bb
core: make .deprecate() warn only once
13 years ago
Brandon Benvie
5403a8ce4c
core: add `NativeModule.prototype.deprecate`
Formalize and cleanup handling of deprecated core methods.
13 years ago
Brandon Benvie
e3c0c86b28
Change removed process methods to be non-enumerable.
13 years ago
Dan VerWeire
e4afb2f724
tty: emit 'unknown' key event if key sequence not found
Add key.code and key.sequence -mad props go out to @TooTallNate
13 years ago
isaacs
ca4b91a1d0
Correct spelling of Ben Noordhuis
13 years ago
isaacs
5756d7916a
Now working on 0.6.10
13 years ago
isaacs
f19e20d33f
2012.01.27, Version 0.6.9 (stable)
* dgram: Bring back missing functionality for Unix (Dan VerWeire, Roman Shtylman, Ben Noordnuis)
- Note: Windows UDP support not yet complete.
* http: Fix parser memory leak (koichik)
* zlib: Fix #2365 crashes on invalid input (Nicolas LaCasse)
* module: fix --debug-brk on symlinked scripts (Fedor Indutny)
* Documentation Restyling (Matthew Fitzsimmons)
* Update npm to 1.1.0-3 (isaacs)
* Windows: fix regression in stat() calls to C:\ (Bert Belder)
13 years ago
Ben Noordhuis
4b6164ab49
uv: upgrade to 332b72e
13 years ago
Ben Noordhuis
22e23473ea
uv: upgrade to 16124bb
13 years ago
isaacs
38651521a8
stdout ending test message correction
13 years ago
Ben Noordhuis
14b7c4327f
uv: upgrade to 3de0411
13 years ago
Ben Noordhuis
8a413b076e
uv: upgrade to 3f1bad2
13 years ago
isaacs
f98999cc16
Properly update npm to 1.1.0-3
Thanks @mscdex for spotting this.
13 years ago
Fedor Indutny
85a86b5fd6
waf: predict target arch for OSX
13 years ago
isaacs
ff0f0aeb40
Fix #2507 Raise errors less agressively when destroying stdio streams
Also, if an error is already provided, then raise the provided
error, rather than throwing it with a less helpful 'stdout cannot
be closed' message.
This is important for properly handling EPIPEs.
13 years ago
Dan VerWeire
a0119af0e4
test: handle unhandled dgram scenarios
- watch for the death of child processes and fail the test if they all die
- use setTimeout to fail the test if responses are not received and processed in 5000ms
13 years ago
isaacs
5c0f039c9c
Update npm to 1.1.0-3
13 years ago
Ben Noordhuis
352febe251
uv: upgrade to 9c76d0d
13 years ago
Ben Noordhuis
f89beaf3ac
build: compile release build too if BUILDTYPE=Debug
It's backwards compatible with the old waf build system. If you want to compile
just the debug build, run `make -C out BUILDTYPE=Debug` instead.
Fixes #2615 .
13 years ago
Fedor Indutny
c80abfa0e4
zlib: fix `Failed to set dictionary` issue
13 years ago
Fedor Indutny
ccf7b41a69
module: fix --debug-brk on symlinked scripts
* fixes #1519
13 years ago
Fedor Indutny
27c85727ed
module: fix --debug-brk on symlinked scripts
* fixes #1519
13 years ago
Ben Noordhuis
e806ad39d0
net, tls, http: remove socket.ondrain
Replace the ondrain hack with a regular 'drain' listener. Speeds up the
bytes/1024 http benchmark by about 1.2%.
13 years ago
isaacs
5988872ff1
Merge branch 'v0.7.1-release'
13 years ago
koichik
a6f3451e25
http: fix test-http-should-keepalive.js is fail
3df7c90
was removed when conflict was resolved.
13 years ago
isaacs
77f2cb66d1
Now working on 0.7.2
13 years ago
isaacs
a74354735a
2012.01.23, Version 0.7.1 (unstable)
* Update V8 to 3.8.8
* Install node-waf by default (Fedor Indutny)
* crypto: Add ability to turn off PKCS padding (Ingmar Runge)
* v8: implement VirtualMemory class on SunOS (Ben Noordhuis)
* Add cluster.setupMaster (Andreas Madsen)
* move `path.exists*` to `fs.exists*` (Maciej Małecki)
* typed arrays: set class name (Ben Noordhuis)
* libuv bug fixes (Igor Zinkovsky, Ben Noordhuis, Dan VerWeire)
13 years ago
isaacs
40879f33cd
Upgrade V8 to 3.8.8
13 years ago
isaacs
b1b16d117e
udp: 'interface' is reserved word on windows.
13 years ago
Ben Noordhuis
2775c0e97e
dgram: bring back setTTL()
13 years ago
Ben Noordhuis
46e86aa803
dgram: bring back setMulticastLoopback()
13 years ago
Ben Noordhuis
986e612557
uv: upgrade to b88bc43
13 years ago
Ben Noordhuis
57ddf5f50a
test: fix typos in error messages
13 years ago
Ben Noordhuis
aef62a03ee
test: join multicast group *after* binding
13 years ago
Ben Noordhuis
9037decb28
test: remove erroneous dropMembership() call
The socket is not part of any multicast group. Bug wasn't visible until 6999fb3
.
13 years ago
Ben Noordhuis
6999fb3d1e
dgram: make addMembership() and dropMembership() conform to v0.4 API
- throw on error, don't return an error code
13 years ago