Arnout Kazemier
e3d2ae0bfd
sys has been moved to util
13 years ago
Ryan Dahl
87339a22b1
introduce node cluster
13 years ago
Ryan Dahl
c8dbaf579c
Remove --use-legacy and --use-uv
13 years ago
Ryan Dahl
cdf5d91fe5
Remove tty_legacy
13 years ago
Ryan Dahl
71cce3f45b
Remove dgram_legacy
13 years ago
Ryan Dahl
58e892dadd
Remove dns_legacy
13 years ago
Ryan Dahl
96e423a665
Remove child_process_legacy
13 years ago
Ryan Dahl
be0bb2dc13
Remove net_legacy timers_legacy
13 years ago
Ryan Dahl
2c25507b81
process.stderr goes through libuv now
This commit removes one assert from test-console.js in which we check that
process.stderr.write returns true. In the case of a dump to a file we cannot
guarantee this any longer now that it goes through fs.WriteStream.
13 years ago
Ben Noordhuis
326ba25451
tty: unbreak --use-legacy
Fixes #1844 .
13 years ago
Ryan Dahl
899358e797
Add test-child-process-fork2 and fixes to make it work
13 years ago
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
Ben Noordhuis
bc7cfd7cd7
http: remove legacy http library
13 years ago
Ryan Dahl
416c14f644
Remove a few instances of process.binding('stdio') from src/node.js
13 years ago
Ryan Dahl
7e62bc9828
Move process.stdout unref hack to handle_wrap.cc
See #1726
13 years ago
Ryan Dahl
2e389c6531
scope.Close in GuessHandleType; don't use uv_is_tty
13 years ago
Ryan Dahl
1de156abb1
Bind/use uv_guess_handle
13 years ago
Ryan Dahl
74b6426ec6
Initial pass at new TTY js layer
This breaks Windows.
13 years ago
Ryan Dahl
0f8f863043
Fixes #1726 , hack to unref process.stdout
13 years ago
Ryan Dahl
b281171030
Support legacy API: process.stdout.fd
13 years ago
Ben Noordhuis
f8b90946ae
node: disable uv backend if NODE_USE_UV=0
14 years ago
Ryan Dahl
0928f0f290
Fix test-module-load-list
and lazy load modules for process.stdout
This probably breaks test-module-load-list on windows, but it hopefully is
an easy fix to replace "_posix" bindings with "_win32".
14 years ago
Ryan Dahl
0aad61e802
Use net_uv instead of net_legacy for stdio
Also temporary hack to prevent process.stdout from keeping event loop alive
by calling uv_unref on process.stdout initialization.
14 years ago
Jann Horn
1a0edbca86
module: remove 'is URL?' check in module loader, dead code
14 years ago
Ben Noordhuis
cbd4033619
dgram: integrate libuv UDP support
14 years ago
Ben Noordhuis
fcf9cfa137
node: propagate --use-uv to child processes
14 years ago
Ben Noordhuis
38f948a373
http: make http2 the default, legacy backend is available with --use-http1
Fixes #1441 .
14 years ago
Ryan Dahl
7772f21b60
initial pass at lib/child_process_uv.js
14 years ago
isaacs
703a1ffe52
Revert "AMD compatibility for node"
This reverts commit 9967c369c9
.
Conflicts:
test/simple/test-module-loading.js
14 years ago
Ryan Dahl
ea9ee1fb7e
Add process.moduleLoadList for better startup transparency
14 years ago
Ryan Dahl
497fe79f97
Speed up startup time
Reverts 2a05fe784d
.
14 years ago
Ben Noordhuis
0082ef271e
http: add --use-http2 switch
14 years ago
Ben Noordhuis
df3a8fcb62
cli: don't print result of --eval
Fixes #572 .
14 years ago
Ben Noordhuis
aa0308d618
process: add process.features, remove process.useUV
Partially fixes #1385 .
14 years ago
Ryan Dahl
0599cb7afa
process.stdout/process.stderr should use net_legacy for now
14 years ago
Ryan Dahl
4ef8f06fe6
Finally remove node::EventEmitter
14 years ago
Steve Engledow
292345fe62
Improve --help message and Fix -e/--eval switch
--help should at least give some hint that node takes the -e switch
Update help message to include -e and swap eval block with module load block so argv works correctly
[steve@sane node](master)$ ./node -e 'process.argv' foo bar
[ '/home/steve/code/node/node', 'foo', 'bar' ]
:)
Add simple test for -e option.
Fixes #1311 .
14 years ago
Bert Belder
858f23094e
Bindings for libuv-integrated c-ares
14 years ago
Ryan Dahl
44d30f2d65
Fix require with --eval
Caused by bad merging of d6ec8f
Fixes #1261 .
14 years ago
Ryan Dahl
5a2155dc71
Set process.useUV also on env NODE_USE_UV=1
14 years ago
Ryan Dahl
d005cc5cc9
Enable new timer binding only on --use-uv
14 years ago
Ryan Dahl
02699a3a8e
net_uv: child process use net_legacy; recognize NODE_USE_UV=1 env var
14 years ago
koichik
d6ec8f668e
Fix -e/--eval can't load module from node_modules
With -e or --eval, require() can load module using relative path.
node -e 'require("./foo")'
But it can't load module from node_modules directory.
node -e 'require("foo")'
Fixes #1196 .
14 years ago
Ryan Dahl
52b517c6ab
Revert "Add --cov code coverage option"
This can be done in user space. EG https://github.com/cloudkick/whiskey
This reverts commit da9b3340eb
.
This reverts commit b4ff36a41b
.
Conflicts:
src/node.cc
14 years ago
Ryan Dahl
710f8e2acc
Add --use-uv command-line flag to use libuv backend
14 years ago
isaacs
9967c369c9
AMD compatibility for node, with docs and tests
Closes #1173
Closes #1170
14 years ago
Bert Belder
406f44a86b
Build on windows again
14 years ago
Fuji, Goro
8971b59365
`node -e ''` should mean eval(''), not invoke REPL
Fixes #1116
14 years ago
Ryan Dahl
337c48db5f
Rename spawnNode to fork
14 years ago
Ryan Dahl
9e26dab150
child_process.spawnNode
For making easy worker processes.
14 years ago