Ryan Dahl
036e59394a
Add process.features.isolates
13 years ago
Ryan Dahl
533a455274
move isolate V8 functions out of node.cc
13 years ago
Ryan Dahl
9d792f3183
Add node::Loop() and don't inc node_isolate.h in *.cc
node::Loop() replaces the NODE_LOOP macro. This avoids hitting
v8::Isolate::GetCurrent() for each loop lookup when HAVE_ISOLATE==0
13 years ago
Ben Noordhuis
c481f97a9c
uv: upgrade to d6a06b8
13 years ago
Ryan Dahl
02f24f54ba
Add shared-buffer isolate addon test
13 years ago
Ryan Dahl
87bb848268
Remove node_isolate.h from node.h
13 years ago
Ryan Dahl
8c476371f5
Change isolate test to demo EIO bug
13 years ago
Ryan Dahl
a8506c41c6
node_file.cc should use NODE_LOOP()
13 years ago
Ryan Dahl
41062e71a7
Join all threads at end of main thread
Require reorganizing the isolates somewhat.
Add a very simple test.
13 years ago
Ryan Dahl
2d8c1fe1ed
Move prog_start_time init after isolate assigned
13 years ago
Ryan Dahl
1a433b9637
Add link-list of all isolates
13 years ago
Ryan Dahl
78a25696f1
Move uv loop initialization into isolate
13 years ago
Ryan Dahl
39a492799d
move thread_id to node_isolate.cc
13 years ago
Ben Noordhuis
469cb1b7b7
isolates: replace SLIST with ngx_queue_t
13 years ago
Ben Noordhuis
d329fc7b09
isolates: add process.tid property, pass args to isolate
13 years ago
Ben Noordhuis
3063ba0800
isolates: have node::Isolate manage the v8::Context
13 years ago
Ben Noordhuis
9d71e74491
isolates: rename node::Isolate member isolate_ to v8_isolate_
13 years ago
Ben Noordhuis
3aadd4fe76
Separate per-process and per-thread init logic.
13 years ago
Ben Noordhuis
8a538ce372
Remove per-process globals from per-thread context.
13 years ago
Ryan Dahl
9caeceef6d
isolates have globals stored in struct globals
13 years ago
Ben Noordhuis
edbec3f8f3
isolates: add _newIsolate() and _joinIsolate() to process object
13 years ago
Ben Noordhuis
a778a25cab
build: move internals to separate header file
13 years ago
Ben Noordhuis
39e2c469db
build: add --without-isolates configure switch
13 years ago
Ben Noordhuis
2a7a2ca986
isolates: add atexit() functionality for isolates
13 years ago
Ben Noordhuis
c3346f6760
isolates: isolate-ify the main loop
13 years ago
Ben Noordhuis
0d5a6b2d9d
uv: upgrade to f5c2a4a
13 years ago
koichik
e1c043f43a
docs: fix docs to not suggest variable leaks
Fixes #2106 .
13 years ago
koichik
a337ac7584
http: fix XMLHttpRequest piped in a writable file stream hangs next request
Fixes #2263 .
13 years ago
koichik
b962ff35dd
tls: fix test-https-client-reject fails
Fixes #2417 .
13 years ago
Ben Noordhuis
70e6f3f115
docs: document http.Server.close() semantics
13 years ago
koichik
e6b6075024
http: Avoid 'data'/'end' events after pause()
Fixes #1040 .
13 years ago
koichik
7aa5924dc6
http: fix resource leak
Fixes #2069
13 years ago
Ben Noordhuis
0de6ec5f08
win: fix mismatched new[]/delete
13 years ago
Ben Noordhuis
ed5bad754c
bench: fix use of fd after close
13 years ago
Ryan Dahl
48a9a2d355
Add deprecation message for http.Client
13 years ago
Ryan Dahl
c2d9e62f16
Merge remote branch 'origin/v0.6'
Conflicts:
deps/v8/src/version.cc
13 years ago
Ryan Dahl
e4731f8168
Upgrade V8 to 3.8.2.1
13 years ago
Ryan Dahl
d85c85aac1
Change 'real example' in addon doc
13 years ago
Ryan Dahl
624f70e88f
GYP: rename options.gypi to config.gypi
Sounds more familiar to unix users used to config.h
13 years ago
Bert Belder
c6347dcfb4
Add another nextTick benchmark
It tests how many iterations the event loop can make per second.
13 years ago
Phil Sung
cf2513e1aa
buffer: don't pollute global namespace in buffer.readInt*
13 years ago
Ben Noordhuis
b261e37a34
test: ensure callback is executed
13 years ago
Ju-yeong Park
5976d58796
net: raise exception when the socket is closed
13 years ago
Dave Irvine
045bfe0da5
docs: document 'encoding' arg of hash.update()
13 years ago
Ben Noordhuis
d8c178bc16
timers: fix performance regression
Fix a 5-7% performance regression in the http_simple benchmark that was
introduced by the following commits:
348d8cd
timers: remove _idleTimeout from item in .unenroll()
f2f3028
timers: fix memory leak in setTimeout
098fef6
timers: remember extra setTimeout() arguments when timeout==0
Fix suggested by Bert Belder.
13 years ago
Seong-Rak Choi
892ba87866
docs: fix javascript error on document page
`highlight()` is called twice. It causes following javascript error.
> Uncaught Found <pre> element with class="sh_sourcecode",
> but no such language exists
Fixes #2393 .
13 years ago
Shannen
ef659192a1
docs: use "Level 1" HTML5 features
Since we're using an HTML doctype we might as well use "Level 1" HTML5 features.
See more: http://mathiasbynens.be/notes/html5-levels#level-1
Fixes #2386 .
13 years ago
Ryan Dahl
6ac22bfb04
Add gitignore file for addon tests
13 years ago
Ryan Dahl
60a9e1e40f
Upgrade GYP to r1115
13 years ago
Ryan Dahl
6029127cea
Upgrade V8 to 3.6.6.15
13 years ago