Cheng Zhao
75ec34884d
Bump v0.8.7.
2014-01-23 05:02:28 -08:00
Cheng Zhao
d63de1ae15
Wrap callbacks with v8::Locker.
...
In browser process, because of the use of v8::Locker in ProxyResolverV8,
creating HandleScope requires entering locker first, so in browser
process we should just use v8::Locker whenever we need to use V8 in a
callback called from non-V8 places (like dialog's callback, work pushed
to MessageLoop).
But also notice that the renderer process doesn't use v8::Locker, so we
have to be careful not to use it, otherwise blink would crash when
creating HandleScope.
2014-01-27 15:14:11 +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
426bc97194
Use node_isolate instead of Isolate::GetCurrent().
2014-01-27 14:04:34 +08:00
Cheng Zhao
363f1da77e
Bump v0.8.6.
2014-01-14 01:34:07 -08:00
Cheng Zhao
8655dec00e
Crash when there is fatal error in V8.
2014-01-23 20:30:44 +08:00
Cheng Zhao
1d7445c5aa
Fix uv loop hack on child_process.
2014-01-18 17:01:30 +08:00
Cheng Zhao
4a1f8cf1c9
Activate uv loop when uv loop's watcher queue changes, fixes #159 .
2014-01-18 16:56:46 +08:00
Cheng Zhao
fbc68ecce5
Bump v0.8.5.
2014-01-14 16:24:53 +08:00
Cheng Zhao
2a129f892f
Bump v0.8.4.
2014-01-13 18:46:19 +08:00
Cheng Zhao
b0c23294fe
Also use uv loop fixes in browser process.
2014-01-13 13:57:08 +08:00
Cheng Zhao
535b936c87
Update node to v0.11.10.
2014-01-10 18:24: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
3747048218
💄 get_uv_env() => uv_env().
2014-01-10 16:29:38 +08:00
Cheng Zhao
e7b7efeb0a
Wrap uv loop with web page context in renderer.
2014-01-09 21:35:29 +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
c76f510cea
Bump v0.8.3.
2014-01-07 08:26:12 -08:00
Cheng Zhao
968f75529a
Fix possible crashes when quiting message loop.
2014-01-08 11:55:54 +08:00
Cheng Zhao
93d5a2e195
Fix invoking non-exist method when quiting.
2014-01-08 10:51:32 +08:00
Cheng Zhao
bcdc44c1c6
Support converting v8 value to arbitrary vector or map.
2014-01-07 20:29:17 +08:00
Cheng Zhao
4ae2738ce5
Add screen.getPrimaryDisplay() API.
2014-01-07 20:15:55 +08:00
Cheng Zhao
e09a2ff811
Add support to convert gfx::Rect and gfx::Size to v8 value.
2014-01-07 20:15:23 +08:00
Cheng Zhao
7253a35455
Add initial screen module.
2014-01-07 20:00:25 +08:00
Cheng Zhao
1b1cf87115
Add support to convert gfx::Point to v8 value.
2014-01-07 20:00:02 +08:00
Cheng Zhao
cf4616de7f
api::EventEmitter could also be used by renderer.
2014-01-07 19:32:40 +08:00
Cheng Zhao
6f222651d7
Bump v0.8.2.
2014-01-07 18:44:37 +08:00
Cheng Zhao
67ed72294b
Bump v0.8.1.
2013-12-29 23:09:19 +08:00
Cheng Zhao
074ea374e0
We are now on v0.8.0 release.
2013-12-27 16:22:34 +08:00
Cheng Zhao
031426d54e
Use our fork of V8ValueConverter for all cases.
2013-12-23 22:42:21 +08:00
Cheng Zhao
75c44ca057
Fix initializing V8 on Windows.
2013-12-17 21:55:56 +08:00
Cheng Zhao
0215c2fbee
Make all the windows code compile for Chrome 31.
2013-12-17 17:52:57 +08:00
Cheng Zhao
a4715f936b
Merge branch 'master' into chrome31
...
Conflicts:
common/atom_version.h
2013-12-17 12:58:25 +08:00
Cheng Zhao
4e4e316005
Include Environment declarations in node_common.h.
2013-12-16 14:46:05 +08:00
Cheng Zhao
abf982e4e5
Remove the on_watcher_queue_updated hack.
2013-12-15 19:50:43 +08:00
Cheng Zhao
aa3e8385df
Set __filename to the html file in renderer.
2013-12-15 16:11:00 +08:00
Cheng Zhao
886ebdb002
Use node's Environment feature to add "require" in renderer.
2013-12-15 14:20:28 +08:00
Cheng Zhao
9ea75b7519
We are now at v0.8.0-pre.
2013-12-12 10:43:34 +08:00
Cheng Zhao
61c63a6af9
Fix crashes about persistent v8 functions.
2013-12-12 00:10:09 +08:00
Cheng Zhao
e4bfa373de
Fix node integration to browser after updated to Chrome31.
2013-12-11 23:59:03 +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
d82cfc023f
💄 There should be no space between & and type name.
2013-12-10 14:27:25 +08:00
Cheng Zhao
4ec4b01218
base/string16.h was moved to base/strings/string16.h.
2013-12-10 14:14:05 +08:00
Cheng Zhao
597e17b540
Fix template related compilation errors of VC++.
2013-12-09 16:34:10 +08:00
Cheng Zhao
9ac0591386
Bump v0.7.6.
2013-12-08 22:42:43 -08:00
Cheng Zhao
844fccc177
Use random number as id in CallbacksRegistry.
...
It's very possible that the callbacks got GCed before the render view is
closed (like page getting refreshed), so we should not let browser call
the wrong callback, instead we should throw error whenever a callback is
not found.
2013-12-06 15:04:51 +08:00
Cheng Zhao
4a1ee39156
Get rid of manually converting to base::Value when possible.
2013-12-05 23:47:07 +08:00
Cheng Zhao
287c948845
Enable getting scoped_ptr type from v8 value.
...
God damned C++ template.
2013-12-05 23:25:14 +08:00
Cheng Zhao
65b3435156
Bump v0.7.5.
2013-12-05 13:48:19 +08:00
Cheng Zhao
121163f9ca
Add conversions between V8 Value and GURL.
2013-12-05 10:07:51 +08:00
Cheng Zhao
7cffbc8a1a
Bump v0.7.4.
2013-12-04 22:12:58 +08:00