Cheng Zhao
93687efee9
win: Use util.format to format arguments in console.log.
2014-02-12 20:32:30 +08:00
Cheng Zhao
5250871e69
Remove unneeded HandleScopes.
...
It's not necessary to create HandleScope in v8 native binding functions,
because it's guarrenteed that the there is a upper HandleScope when the
native function is called. So unless we are urgent to free the handles,
not using HandleScope in native binding functions is a cleaner and safer
choice.
2014-01-27 15:01:06 +08:00
Cheng Zhao
8655dec00e
Crash when there is fatal error in V8.
2014-01-23 20:30:44 +08:00
Cheng Zhao
5eb1f52421
Make sure nextTick is called when activating uv loop.
2014-01-10 16:47:33 +08:00
Cheng Zhao
d0494024a9
Add process.scheduleCallback.
...
It will schedule a callback to be executed by pure uv loop.
2014-01-09 20:33:07 +08:00
Cheng Zhao
409a431892
Huge commit to use new V8 and Content APIs.
...
Still got a lots of linking errors!
2013-12-11 15:48:19 +08:00
Cheng Zhao
2228184066
Cause a real crash instead of debugger break in process.crash().
...
On Windows the debugger break would not be treated as crash.
2013-11-19 21:36:18 +08:00
Cheng Zhao
2b9a533d1d
Add process.getCurrentStackTrace(), returning V8::getCurrentStackTrace().
2013-09-26 13:31:17 +08:00
Cheng Zhao
dd05759c01
Add process.versions["atom-shell"].
2013-08-08 17:26:20 +08:00
Cheng Zhao
2f2cbce9b9
[Win] Override node's console and output stream with chromium's logging.
...
On Window node doesn't outputing as GUI program, so we have to switch to
chromium's implementation. Hacking into node (like what we did before
this commit) would sometimes make the outputing blocked.
2013-07-25 20:06:23 +08:00
Cheng Zhao
25d9c1a14d
Add process.activateUvLoop() API.
2013-07-09 20:38:44 +08:00
Cheng Zhao
ca389edc38
Implement process.crash() on Windows.
2013-07-01 21:35:00 +08:00
Cheng Zhao
cbb467032d
Add process.crash() for both browser and renderer.
2013-06-01 16:06:29 +08:00
Cheng Zhao
948e50285d
Use camelCase not under_score, I forgot it's coffee script.
2013-04-27 19:13:24 +08:00
Cheng Zhao
a7c3bdbf5d
Separate AtomBindings for renderer.
2013-04-22 16:27:52 +08:00
Cheng Zhao
5948bff23f
Share same native bindings code on both renderer and browser.
2013-04-21 14:53:26 +08:00