Commit Graph
434 Commits
Author SHA1 Message Date
Ben Noordhuis eaac88163a module: fix pointer reference to out-of-scope variable
Reported by Tom Hughes.
2011-08-14 01:25:39 +02:00
Ben Noordhuis 7cab4d6870 typed arrays: integrate plask's typed array implementation 2011-08-12 18:42:24 +02:00
Peter Bright b9d777734d Fix MSVS building. 2011-08-11 04:52:33 +02:00
Ryan Dahl e6b06bc6c5 win: fix test-process-env
Remove support for setting process.env.TZ as it doesn't seem we can do it
x-platform without fixing V8.
2011-08-10 17:15:13 -07:00
Ryan Dahl acc120a37b windows: fix test-umask 2011-08-09 13:55:04 -07:00
Peter Bright 13d6a1f67f Basic VC++ compatibility work. 2011-08-06 03:31:29 -07:00
Ryan Dahl a979ab9d99 Improve gyp build - now works kind of 2011-08-06 03:12:06 -07:00
Ben Noordhuis 38f948a373 http: make http2 the default, legacy backend is available with --use-http1
Fixes #1441.
2011-08-02 23:40:56 +02:00
Bert Belder 91ecfbcae8 Remove platform_win32_winsock 2011-08-02 18:38:34 +02:00
Fedor Indutny 9010f5fbab Add support for TLS SNI
Fixes #1411
2011-07-29 16:57:28 -07:00
isaacs 703a1ffe52 Revert "AMD compatibility for node"
This reverts commit 9967c369c9.

Conflicts:

	test/simple/test-module-loading.js
2011-07-29 11:56:38 -07:00
Ryan Dahl ea9ee1fb7e Add process.moduleLoadList for better startup transparency 2011-07-27 19:30:32 -07:00
Ryan Dahl bca6e35b2b Don't always enable debug on startup
Improves startup time. Problem introduced in
4ab5476e89
2011-07-27 17:33:06 -07:00
Ben Noordhuis a7bdaabf60 Include "platform.h", not <platform.h> - conflicts with system headers
Fixes #1003.
2011-07-26 22:05:08 +02:00
Ben Noordhuis 0082ef271e http: add --use-http2 switch 2011-07-26 17:00:53 +02:00
isaacs c050d0fa19 Finish removing require.paths
Fix require() completion bug in repl, and correct man output
2011-07-24 18:04:45 -07:00
Ben Noordhuis aa0308d618 process: add process.features, remove process.useUV
Partially fixes #1385.
2011-07-23 23:16:48 +02:00
Ryan Dahl 58655da3aa Use ms instead of sec for gc idle times
We were calling V8::IdleNotification too often.
2011-07-19 16:18:13 -07:00
Ryan Dahl 4ef8f06fe6 Finally remove node::EventEmitter 2011-07-19 01:46:38 -07:00
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.
2011-07-16 15:24:36 +09:00
Ryan Dahl 48f65b3d57 Use uv_exepath 2011-07-15 10:46:11 -07:00
Igor Zinkovsky a58b6439de Statically link in dependencies for node.exe 2011-07-08 17:44:58 -07:00
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.
2011-07-05 13:25:27 -07:00
Henry Rawas dd175a4ede fix mingw build 2011-06-29 19:12:26 +02:00
Ryan Dahl 263e33a738 Revert "Get rid of the old timer binding"
This reverts commit cc82724fdc.

Conflicts:

	src/node.cc
	wscript
2011-06-29 15:06:40 +02:00
Ryan Dahl f657d58fe1 Upgrade libuv to f9b9bb44bd6e2b74729b5d1ff481adf4213e9a0b 2011-06-28 13:37:03 +02:00
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
2011-06-17 14:03:05 +02:00
Ryan Dahl 710f8e2acc Add --use-uv command-line flag to use libuv backend 2011-06-17 13:51:40 +02:00
isaacs 9967c369c9 AMD compatibility for node, with docs and tests
Closes #1173
Closes #1170
2011-06-13 16:11:13 -07:00
Ryan Dahl 623f513071 Upgrade libuv 2011-06-10 18:17:44 +02:00
Bert Belder 09ac99f1f4 Avoid tick spinner spinning forever 2011-06-08 05:06:16 +02:00
Bert Belder 406f44a86b Build on windows again 2011-06-08 05:06:15 +02:00
Bert Belder 126e3ba2d3 Get rid of node_idle_watcher 2011-06-08 05:06:15 +02:00
Bert Belder cc82724fdc Get rid of the old timer binding 2011-06-08 05:06:14 +02:00
Ryan Dahl 7a5977b5d6 Upgrade libuv to e58a1abff02d7bacf89a56de9050e27690a97bc5 2011-06-07 18:59:44 +02:00
Ryan Dahl 650a308634 Move MakeCallback and SetErrno to node.cc 2011-05-28 13:44:03 -07:00
Bert Belder 9cec08e490 Batch of ev -> uv changes 2011-05-23 17:31:29 -07:00
Ryan Dahl 207901e7de Guard tick_spinner start/stop
All tests passing on OSX. Thanks to Bert for debugging this.
2011-05-23 15:38:57 -07:00
Ryan Dahl 2c79f13634 Upgrade libuv to 40f0ad6d364cff76adaf1c7f182b1dc939f36617 2011-05-22 13:08:31 -07:00
Ryan Dahl 73ea01cd64 Revert "Upgrade libuv to 9c2dd6bea970b2376696aba070bdfc2873843cfb"
This reverts commit 4b60e87afe.

Event loop ref count broken.
2011-05-19 17:50:13 -07:00
Ryan Dahl 4b60e87afe Upgrade libuv to 9c2dd6bea970b2376696aba070bdfc2873843cfb 2011-05-19 10:37:51 -07:00
Ryan Dahl 85934bcf2a Remove libev/macos kqueue override - goes in libuv 2011-05-17 14:55:26 -07:00
Ryan Dahl 85bc8d02fa Merge branch 'v0.4'
Conflicts:
	src/node_crypto.cc
2011-05-16 19:29:02 -07:00
Ryan Dahl 103a450d3a Remove 'binary' encoding assert - add tests
Don't write large characters to buffers with binary encoding. You will be
silently injured.
2011-05-16 15:01:33 -07:00
Ryan Dahl 91bd144d2c check_tick_watcher to use libuv 2011-05-13 07:09:28 -07:00
Ryan Dahl a46c63bae7 prepare_tick_watcher to use libuv 2011-05-13 07:06:20 -07:00
Ryan Dahl 17c88db158 move tick_spinner on libuv 2011-05-13 06:59:33 -07:00
Ryan Dahl efca334be2 Integrate libuv into build system 2011-05-13 00:54:00 -07:00
isaacs 205b9beb6b Merge branch 'v0.4'
Conflicts:
	lib/tls.js
	lib/url.js
	src/node_version.h
	test/simple/test-buffer.js
	test/simple/test-url.js
2011-05-07 20:38:32 -07:00
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.
2011-05-06 20:53:40 -07:00