Ryan Dahl
a979ab9d99
Improve gyp build - now works kind of
14 years ago
Ben Noordhuis
38f948a373
http: make http2 the default, legacy backend is available with --use-http1
Fixes #1441 .
14 years ago
Bert Belder
91ecfbcae8
Remove platform_win32_winsock
14 years ago
Fedor Indutny
9010f5fbab
Add support for TLS SNI
Fixes #1411
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
bca6e35b2b
Don't always enable debug on startup
Improves startup time. Problem introduced in
4ab5476e89
14 years ago
Ben Noordhuis
2d65f3c59a
Include "platform.h", not <platform.h> - conflicts with system headers
Fixes #1003 .
14 years ago
Ben Noordhuis
a7bdaabf60
Include "platform.h", not <platform.h> - conflicts with system headers
Fixes #1003 .
14 years ago
Ben Noordhuis
0082ef271e
http: add --use-http2 switch
14 years ago
isaacs
c050d0fa19
Finish removing require.paths
Fix require() completion bug in repl, and correct man output
14 years ago
Ben Noordhuis
aa0308d618
process: add process.features, remove process.useUV
Partially fixes #1385 .
14 years ago
Ryan Dahl
58655da3aa
Use ms instead of sec for gc idle times
We were calling V8::IdleNotification too often.
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
Ryan Dahl
48f65b3d57
Use uv_exepath
14 years ago
Igor Zinkovsky
a58b6439de
Statically link in dependencies for node.exe
14 years ago
Ben Noordhuis
b74d119b34
Parse the command line before initializing V8.
Doing it the other way around means that V8 won't pick
up command line switches like `--prof`.
Props to Joshua Kehn for reporting the issue and Jeff Fifield
for pointing out the cause.
Fixes #900 .
Fixes #1217 .
14 years ago
Henry Rawas
dd175a4ede
fix mingw build
14 years ago
Ryan Dahl
263e33a738
Revert "Get rid of the old timer binding"
This reverts commit cc82724fdc
.
Conflicts:
src/node.cc
wscript
14 years ago
Ryan Dahl
f657d58fe1
Upgrade libuv to f9b9bb44bd6e2b74729b5d1ff481adf4213e9a0b
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
Ryan Dahl
623f513071
Upgrade libuv
14 years ago
Bert Belder
09ac99f1f4
Avoid tick spinner spinning forever
14 years ago
Bert Belder
406f44a86b
Build on windows again
14 years ago
Bert Belder
126e3ba2d3
Get rid of node_idle_watcher
14 years ago
Bert Belder
cc82724fdc
Get rid of the old timer binding
14 years ago
Ryan Dahl
7a5977b5d6
Upgrade libuv to e58a1abff02d7bacf89a56de9050e27690a97bc5
14 years ago
Ryan Dahl
650a308634
Move MakeCallback and SetErrno to node.cc
14 years ago
Bert Belder
9cec08e490
Batch of ev -> uv changes
14 years ago
Ryan Dahl
207901e7de
Guard tick_spinner start/stop
All tests passing on OSX. Thanks to Bert for debugging this.
14 years ago
Ryan Dahl
2c79f13634
Upgrade libuv to 40f0ad6d364cff76adaf1c7f182b1dc939f36617
14 years ago
Ryan Dahl
73ea01cd64
Revert "Upgrade libuv to 9c2dd6bea970b2376696aba070bdfc2873843cfb"
This reverts commit 4b60e87afe
.
Event loop ref count broken.
14 years ago
Ryan Dahl
4b60e87afe
Upgrade libuv to 9c2dd6bea970b2376696aba070bdfc2873843cfb
14 years ago
Ryan Dahl
85934bcf2a
Remove libev/macos kqueue override - goes in libuv
14 years ago
Ryan Dahl
103a450d3a
Remove 'binary' encoding assert - add tests
Don't write large characters to buffers with binary encoding. You will be
silently injured.
14 years ago
Ryan Dahl
91bd144d2c
check_tick_watcher to use libuv
14 years ago
Ryan Dahl
a46c63bae7
prepare_tick_watcher to use libuv
14 years ago
Ryan Dahl
17c88db158
move tick_spinner on libuv
14 years ago
Ryan Dahl
efca334be2
Integrate libuv into build system
14 years ago
Marcel Laverdet
c2b5ea218c
Attempt to connect to debug process more than once
The debugger would give up after only 100ms but on my system this
timeout isn't enough. The startup process is now modified to try 6
times every 50ms instead.
Fixes #1010 .
14 years ago
Nathan Rajlich
b1be5409bd
Implement `process.arch` to get a String of the current processor architecture, with docs.
14 years ago
isaacs
8df6f9e544
Close #974 Properly report traceless errors.
Also, tests for the same.
14 years ago
Ryan Dahl
b4ff36a41b
Add --cov code coverage option
14 years ago
Ryan Dahl
aeed966fe0
Don't call GetMemoryUsage every 5 seconds
14 years ago
Brian White
52b9ede6db
Add helpful error message for setuid/setgid when user/group id does not exist
14 years ago
Dean McNamee
f67e8f243c
Export more functions for initializing and starting node.
For greater flexibility in controlling node's initialization and startup, the
following new functions are exported.
- node::Init()
- node::SetupProcessObject()
- node::Load()
- node::EmitExit()
These are some of the major steps involved in node::Setup(). Exporting these
functions allows an embedding program to write a replacement for node::Start(),
and to have access to the node process object after it's created.
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago