Ben Noordhuis
0fd2834539
deps: upgrade libuv to 2ec0986
13 years ago
Andreas Madsen
1f3e4a76f9
fs: no end emit after createReadStream.pause()
In case a fd option is given to fs.createReadStream a read will instantly
happen. But in the edge case where fd point to an empty file and .pause()
was executed instantly, the end event would emit since no async wait was
between fs.createReadStream and the file read there emits end.
13 years ago
Jeroen Janssen
82bcdbb8aa
doc: add npm search to appendix
Fixes #3327 .
13 years ago
Jeroen Janssen
1fc2c3823c
doc: updated JavaScript casing where relevant
Fixes #3326 .
13 years ago
Ben Noordhuis
578f69bcf4
deps: upgrade libuv to 28766dc
13 years ago
Ben Noordhuis
5ff2ae8389
bench: start a worker for each CPU
13 years ago
Ben Noordhuis
7535e3930a
bench: add http_simple_auto benchmark
Starts a server and benchmarks it with ab.
13 years ago
isaacs
24de89bd0e
Upgrade uv to 604802a
13 years ago
Igor Zinkovsky
b4ed3c1969
remove NODE_USE_64BIT_UV_FS_API
13 years ago
Jeroen Janssen
66e12dbd69
doc: update possible values for process.platform
13 years ago
Ben Noordhuis
078763a94c
test: update addons .gitignore
13 years ago
Igor Zinkovsky
39e25528eb
windows: enable creating directory junctions with fs.symlink
13 years ago
Mathias Bynens
a2fcc47772
doc: add punycode.js documentation
13 years ago
Jeroen Janssen
f079c0bd9f
doc: process get/setuid and get/setgid are POSIX only
Fixes #3302
13 years ago
Ben Noordhuis
1358bac6d1
deps: upgrade libuv to 5b9c451
13 years ago
Igor Zinkovsky
dff467d982
update uv to 2df831723fad25d2d97b824b2e52c65082af2723
13 years ago
Igor Zinkovsky
6e435da7f9
remove race from test-child-process-fork-exec-argv test
13 years ago
Ben Noordhuis
0888cdd412
test: fix bad comment
13 years ago
Ben Noordhuis
989ae81c71
test: fix simple/test-process-active-wraps
Said test relies a great deal on internals and implementation details (I should
know, I wrote it). Patch it up to work with libuv's new refcounting scheme.
13 years ago
Ben Noordhuis
039fac633e
deps: upgrade libuv to a478847
The event loop's reference counting scheme in this version of libuv has changed.
Update the libuv bindings to reflect that fact.
13 years ago
Nathan Rajlich
a608f65b24
repl: preserve the cursor when redisplaying the prompt on SIGCONT
Otherwise the cursor position was being reset to 0, even when there was
already part of a line, which was strange.
Part of #3295 .
13 years ago
Nathan Rajlich
3f69c71157
readline: explicitly disable and re-enable "raw mode" on Ctrl+Z
Fixes #3295 .
13 years ago
Nathan Rajlich
2b9967fbcc
readline: move the "setRawMode" logic into a private function
13 years ago
Oleg Efimov
45de259b43
Make UNWRAP macro generic.
13 years ago
Andreas Madsen
81a4edcf6a
cluster: remove NODE_UNIQUE_ID from env on startup
In case a worker would spawn a new subprocess with process.env, NODE_UNIQUE_ID
would have been a part of the env. Making the new subprocess believe it is a
worker, this would result in some confusion if the subprocess where to listen to
a port, since the server handle request would then be relayed to the worker.
This patch removes the NODE_UNIQUE_ID flag from process.env on startup so any
subprocess spawned by a worker is a normal process with no cluster stuff.
13 years ago
Oleg Efimov
968b49ba0a
Check for tabs in source line in DisplayExceptionLine
Fix for joyent/node#3280
13 years ago
Marcel Laverdet
7865c5c51d
vm: cleanup module memory leakage
There are some paths here that led to dangling contexts. By being smarter with
handle management we can get rid of all the cleanup code and fix those issues.
This is a backport of commit 7063575
.
13 years ago
Ben Noordhuis
ca642b020d
test: add http 'data after timeout' test
See #3234 . TDB if this is or is not the desired behavior.
13 years ago
isaacs
75670d3f63
test: wait for 'close' event for stdout
At the 'exit' event, it is sometimes not done writing to stdout.
13 years ago
isaacs
d0c010e39b
test: root can connect to chmod'd pipes
13 years ago
isaacs
b48f7f7eac
test: Solaris is not as granular with rename fs watch events
13 years ago
Andreas Madsen
a039bad299
fs.watch should not require a listener arguments
Since fs.watch returns an event emitter where the change event is exactly
the same as the listener callback, the argument should be required
13 years ago
Ben Noordhuis
18b94ea838
doc: improve fs.open() docs
13 years ago
Kevin Bowman
ccc4e547ea
doc: document fs 'rs+' open mode
13 years ago
isaacs
1a2255ab44
Faster fs.readFile and fs.readFileSync
13 years ago
isaacs
ee6c11876a
benchmark for fs.readfile
13 years ago
isaacs
a3753b496e
Revert "Fix #3242 Actually deprecate 'binary' buffer encoding"
This reverts commit 5979f096d1
.
Related:
- #3279
- #3278
13 years ago
isaacs
9fc7283a40
Fix #3270 Escape url.parse delims
Rather than omitting them.
13 years ago
isaacs
c393853b4e
build: Set strict_aliasing on SunOS always
A build failure was introduced on c9676c9147
in SmartOS systems. This makes it build properly.
13 years ago
isaacs
564172510d
Revert "test: stack overflow output"
This reverts commit f8519e10b8
.
Recent update to V8 fixes the problem where it incorrectly reports the
line number as 0 for thrown RangeErrors.
13 years ago
isaacs
3b95d88bf2
v8: s/echo -n/echo/. Not all sh's are bash.
13 years ago
isaacs
2cca7488bf
Patches floating on V8
13 years ago
isaacs
3f3f958c14
Upgrade V8 to 3.11.1
13 years ago
Adam Malcontenti-Wilson
4099d1eeba
http: make http.get() accept a URL
http.get() now accepts either a URL (as a string) or an options object.
13 years ago
Ben Noordhuis
05b81f333c
doc: clarify stream 'close' event
13 years ago
isaacs
1665b4a2a3
lint
13 years ago
Kevin Bowman
dfcdd5b8aa
fs: add sync open flags 'rs' and 'rs+'
13 years ago
isaacs
643f00d3f9
Merge branch 'master' into v0.6-merge
Conflicts:
src/node.cc
13 years ago
isaacs
faa4d9ff5f
Re-apply http fixes from v0.6 branch properly
13 years ago
Sadique Ali
c9676c9147
build: improve c compiler detection
13 years ago