Ryan Dahl
|
5fc0c27d5c
|
move isolate V8 functions out of node.cc
|
2011-12-29 01:56:11 +01:00 |
|
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
|
2011-12-29 01:56:11 +01:00 |
|
Ryan Dahl
|
f168f7d702
|
Remove node_isolate.h from node.h
|
2011-12-29 01:56:10 +01:00 |
|
Ryan Dahl
|
a0f3eb015a
|
node_file.cc should use NODE_LOOP()
|
2011-12-29 01:56:10 +01:00 |
|
Ryan Dahl
|
268476549e
|
Join all threads at end of main thread
Require reorganizing the isolates somewhat.
Add a very simple test.
|
2011-12-29 01:56:10 +01:00 |
|
Ryan Dahl
|
4d02e77f44
|
Move prog_start_time init after isolate assigned
|
2011-12-29 01:56:10 +01:00 |
|
Ryan Dahl
|
4f46ee4400
|
Add link-list of all isolates
|
2011-12-29 01:56:10 +01:00 |
|
Ryan Dahl
|
863f17f68c
|
Move uv loop initialization into isolate
|
2011-12-29 01:56:10 +01:00 |
|
Ryan Dahl
|
45bb10cc32
|
move thread_id to node_isolate.cc
|
2011-12-29 01:56:10 +01:00 |
|
Ben Noordhuis
|
6eeb59abf6
|
isolates: replace SLIST with ngx_queue_t
|
2011-12-29 01:56:10 +01:00 |
|
Ben Noordhuis
|
809fdf26fb
|
isolates: add process.tid property, pass args to isolate
|
2011-12-29 01:56:10 +01:00 |
|
Ben Noordhuis
|
ca19e792c6
|
isolates: have node::Isolate manage the v8::Context
|
2011-12-29 01:56:10 +01:00 |
|
Ben Noordhuis
|
ea97d6ed5f
|
isolates: rename node::Isolate member isolate_ to v8_isolate_
|
2011-12-29 01:56:10 +01:00 |
|
Ben Noordhuis
|
5866f1a9aa
|
Separate per-process and per-thread init logic.
|
2011-12-29 01:56:10 +01:00 |
|
Ben Noordhuis
|
2df81c57f6
|
Remove per-process globals from per-thread context.
|
2011-12-29 01:56:10 +01:00 |
|
Ryan Dahl
|
828bf50a0e
|
isolates have globals stored in struct globals
|
2011-12-29 01:56:09 +01:00 |
|
Ben Noordhuis
|
eb6e60432b
|
isolates: add _newIsolate() and _joinIsolate() to process object
|
2011-12-29 01:56:09 +01:00 |
|
Ben Noordhuis
|
09dc577931
|
build: move internals to separate header file
|
2011-12-29 01:56:09 +01:00 |
|
Ben Noordhuis
|
66116924ed
|
isolates: add atexit() functionality for isolates
|
2011-12-29 01:56:09 +01:00 |
|
Ben Noordhuis
|
356992fe4d
|
isolates: isolate-ify the main loop
|
2011-12-29 01:56:09 +01:00 |
|
Ben Noordhuis
|
bc7bae1d6b
|
Merge remote-tracking branch 'origin/v0.6'
Conflicts:
src/platform_win32.cc
|
2011-12-29 01:49:10 +01:00 |
|
Ryan Dahl
|
448c5e07ca
|
Revert "Add HandleScope to http-parser binding"
This commit did not actually fix the production crashes.
This reverts commit 73cf8e82e7.
|
2011-12-28 14:08:19 -08:00 |
|
Ben Noordhuis
|
0de6ec5f08
|
win: fix mismatched new[]/delete
|
2011-12-26 03:27:28 +01:00 |
|
Ryan Dahl
|
f7f8af8420
|
Merge remote branch 'origin/v0.6'
Conflicts:
Makefile
lib/_debugger.js
|
2011-12-21 12:17:23 -08:00 |
|
Ryan Dahl
|
73cf8e82e7
|
Add HandleScope to http-parser binding
Fixes production crashes. We were not able to reproduce in the test suite.
|
2011-12-21 12:01:41 -08:00 |
|
Ben Noordhuis
|
aac717da8d
|
Add missing return statement in _debugPause() binding.
|
2011-12-20 00:34:19 +01:00 |
|
Fedor Indutny
|
b0388ccad0
|
pause command
|
2011-12-19 11:09:16 -08:00 |
|
Ben Noordhuis
|
4b455bafd0
|
module: improve process.dlopen() error messages
On Windows, that is. On Unices, we don't have a good way to translate dlopen()
and dlsym() errors (yet).
|
2011-12-18 22:35:09 +01:00 |
|
Ryan Dahl
|
1865b11dcb
|
Merge remote branch 'origin/v0.6'
Conflicts:
wscript
|
2011-12-16 13:57:36 -08:00 |
|
Dave Pacheco
|
b9049d2f90
|
simple DTrace ustack helper
|
2011-12-16 11:38:20 -08:00 |
|
Roman Shtylman
|
4b123f9ca2
|
crypto: rewrite HexDecode without snprintf
No need to use snprintf to create a hex string. It creates
more overhead than is needed. This new version is much faster.
|
2011-12-16 14:35:15 +01:00 |
|
Igor Zinkovsky
|
500c8f45f5
|
Remove platform files, and use uv platform api
|
2011-12-15 18:01:22 -08:00 |
|
Ben Noordhuis
|
cc2861ee44
|
crypto: don't ignore DH init errors
|
2011-12-16 02:26:01 +01:00 |
|
Igor Zinkovsky
|
88cc688731
|
fix windows build
|
2011-12-15 17:20:49 -08:00 |
|
isaacs
|
dd8018de95
|
now working on 0.6.7
|
2011-12-15 11:08:28 -08:00 |
|
isaacs
|
9a059ea69e
|
2011.12.14, Version 0.6.6 (stable)
* npm update to 1.1.0-beta-4 (Isaac Z. Schlueter)
* cli: fix output of --help (Ben Noordhuis)
* new website
* pause/resume semantics for stdin (Isaac Z. Schlueter)
* Travis CI integration (Maciej Małecki)
* child_process: Fix bug regarding closed stdin (Ben Noordhuis)
* Enable upgrades in MSI. (Igor Zinkovsky)
* net: Fixes memory leak (Ben Noordhuis)
* fs: handle fractional or NaN ReadStream buffer size (Ben Noordhuis)
* crypto: fix memory leaks in PBKDF2 error path (Ben Noordhuis)
|
2011-12-15 10:55:52 -08:00 |
|
Robert Mustacchi
|
2240486d3d
|
Add process.abort
|
2011-12-14 17:02:15 -08:00 |
|
Ben Noordhuis
|
ef12fa1bf7
|
crypto: deduplicate encoding parsing logic
|
2011-12-14 03:18:17 +01:00 |
|
Ben Noordhuis
|
321ec97d95
|
crypto: deduplicate decipher logic
|
2011-12-14 02:32:07 +01:00 |
|
Ben Noordhuis
|
77f21787d4
|
crypto: fix memory leak when decrypting empty strings
Also fixes a dangling pointer delete[] in the error path.
|
2011-12-13 21:22:44 +01:00 |
|
Ben Noordhuis
|
d70ef199f1
|
crypto: fix memory leaks in PBKDF2 error path
|
2011-12-13 18:08:18 +01:00 |
|
Ben Noordhuis
|
e90db17392
|
fs: fix typo in error message
|
2011-12-13 16:02:14 +01:00 |
|
Ryan Dahl
|
c5e51cead8
|
Move lock back to node_crypto.cc
|
2011-12-08 15:58:29 -08:00 |
|
Ryan Dahl
|
cced79d4a8
|
Move a few more global vars into struct
|
2011-12-08 15:09:47 -08:00 |
|
Ryan Dahl
|
e10fd321e4
|
move global vars from platfrom, node_signal_watcher to struct
|
2011-12-07 18:03:18 -08:00 |
|
Ryan Dahl
|
59055b227a
|
Move node_buffer.cc globals to struct
|
2011-12-07 16:01:46 -08:00 |
|
Ryan Dahl
|
e53e9c72cb
|
move global vars for node_file.cc, node_zlib.cc, and node_crypto.cc
|
2011-12-07 15:44:33 -08:00 |
|
Ben Noordhuis
|
22c2c34952
|
fs: fix fs.watch() segmentation fault
The binding layer failed to initialize the event string if both UV_RENAME and
UV_CHANGE were set.
Fixes #2287.
|
2011-12-07 23:19:57 +01:00 |
|
Ryan Dahl
|
06d86ebe84
|
Move node_http_parser.cc global vars into node_vars.h
|
2011-12-07 13:31:55 -08:00 |
|
Ryan Dahl
|
e0a207c27a
|
Begin moving static vars into struct for isolates.
Only node.cc, stream_wrap.cc, and tcp_wrap.cc have been done. The rest still
need work.
|
2011-12-07 01:14:54 -08:00 |
|