isaacs
ff4096f958
Now working on v0.6.8
13 years ago
isaacs
d5a189acef
2012.01.06, Version 0.6.7 (stable)
* V8 hash collision fix (Breaks MIPS) (Bert Belder, Erik Corry)
* Upgrade V8 to 3.6.6.15
* Upgrade npm to 1.1.0-beta-10 (isaacs)
* many doc updates (Ben Noordhuis, Jeremy Martin, koichik, Dave Irvine,
Seong-Rak Choi, Shannen, Adam Malcontenti-Wilson, koichik)
* Fix segfault in node_http_parser.cc
* dgram, timers: fix memory leaks (Ben Noordhuis, Yoshihiro Kukuchi)
* repl: fix repl.start not passing the `ignoreUndefined` arg (Damon Oehlman)
* #1980 : Socket.pause null reference when called on a closed Stream (koichik)
* #2263 : XMLHttpRequest piped in a writable file stream hang (koichik)
* #2069 : http resource leak (koichik)
* buffer.readInt global pollution fix (Phil Sung)
* timers: fix performance regression (Ben Noordhuis)
* #2308 , #2246 : node swallows openssl error on request (koichik)
* #2114 : timers: remove _idleTimeout from item in .unenroll() (James Hartig)
* #2379 : debugger: Request backtrace w/o refs (Fedor Indutny)
* simple DTrace ustack helper (Dave Pacheco)
* crypto: rewrite HexDecode without snprintf (Roman Shtylman)
* crypto: don't ignore DH init errors (Ben Noordhuis)
13 years ago
Ryan Dahl
be67fa7e09
Revert "crypto: add SecureContext.clearOptions() method"
API addition needs to go in master. Also openssl-0.9.8k doesn't have
SSL_CTX_clear_options().
This reverts commit 6f8839d2ac
.
13 years ago
Ben Noordhuis
42281124d4
child_process: add isolates support
Passing an options object with {thread:true} to .fork() or .spawn() will run the
target script in a thread instead of a separate process.
13 years ago
Ben Noordhuis
1e73e4c62f
isolates: remove global isolates list
No longer necessary, each isolate now waits until its subordinate isolates have
exited.
13 years ago
Ben Noordhuis
dadc30318f
isolates: implement message passing
Parent and child isolates can now pass arbitrary binary messages between each
other. The messages are sent and received through a thread-safe queue that
wakes up the event loop of the receiving thread.
13 years ago
Mikael Bourges-Sevenier
5b05429bf0
typed arrays: add Buffer -> TypedArray constructor
- create a typed array from a node::Buffer object
- update TypedArray::set() to spec
- add TypedArray::get() method
13 years ago
Andreas Madsen
5f08c3cfa1
cluster improvements: Worker class and isolate internal messages
Fixes #2388
13 years ago
Ryan Dahl
f3da6c6c04
Potential fix for #2438
- Save StringPtr if the header hasn't been completely received yet after one
packet.
- Add one to num_fields and num_values. They were actually one less than the
number of fields and values.
- Remove always_inline makes debugging difficult, and has negligible
performance benefits.
13 years ago
Ben Noordhuis
6f8839d2ac
crypto: add SecureContext.clearOptions() method
SecureContext.setOptions() is backed by SSL_CTX_set_options() which, contrary to
what the name suggests, is additive: it doesn't set options, it adds them to the
already active options.
Hence the need for SecureContext.clearOptions(), which lets you unset active
options.
13 years ago
Ben Noordhuis
3f5bb15f35
dgram: fix memory leak in error path
13 years ago
Ben Noordhuis
fa43f04f6a
Include ngx-queue.h, fix Windows build.
13 years ago
Ryan Dahl
649dbbbd83
Add process.features.isolates
13 years ago
Ryan Dahl
5fc0c27d5c
move isolate V8 functions out of node.cc
13 years ago
Ryan Dahl
20ba454ef9
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
Ryan Dahl
f168f7d702
Remove node_isolate.h from node.h
13 years ago
Ryan Dahl
a0f3eb015a
node_file.cc should use NODE_LOOP()
13 years ago
Ryan Dahl
268476549e
Join all threads at end of main thread
Require reorganizing the isolates somewhat.
Add a very simple test.
13 years ago
Ryan Dahl
4d02e77f44
Move prog_start_time init after isolate assigned
13 years ago
Ryan Dahl
4f46ee4400
Add link-list of all isolates
13 years ago
Ryan Dahl
863f17f68c
Move uv loop initialization into isolate
13 years ago
Ryan Dahl
45bb10cc32
move thread_id to node_isolate.cc
13 years ago
Ben Noordhuis
6eeb59abf6
isolates: replace SLIST with ngx_queue_t
13 years ago
Ben Noordhuis
809fdf26fb
isolates: add process.tid property, pass args to isolate
13 years ago
Ben Noordhuis
ca19e792c6
isolates: have node::Isolate manage the v8::Context
13 years ago
Ben Noordhuis
ea97d6ed5f
isolates: rename node::Isolate member isolate_ to v8_isolate_
13 years ago
Ben Noordhuis
5866f1a9aa
Separate per-process and per-thread init logic.
13 years ago
Ben Noordhuis
2df81c57f6
Remove per-process globals from per-thread context.
13 years ago
Ryan Dahl
828bf50a0e
isolates have globals stored in struct globals
13 years ago
Ben Noordhuis
eb6e60432b
isolates: add _newIsolate() and _joinIsolate() to process object
13 years ago
Ben Noordhuis
09dc577931
build: move internals to separate header file
13 years ago
Ben Noordhuis
66116924ed
isolates: add atexit() functionality for isolates
13 years ago
Ben Noordhuis
356992fe4d
isolates: isolate-ify the main loop
13 years ago
Ben Noordhuis
9143b43e98
Include ngx-queue.h, fix Windows build.
13 years ago
Ryan Dahl
448c5e07ca
Revert "Add HandleScope to http-parser binding"
This commit did not actually fix the production crashes.
This reverts commit 73cf8e82e7
.
13 years ago
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
Ryan Dahl
87bb848268
Remove node_isolate.h from node.h
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