Cheng Zhao
7e67f7632d
💄 Fix cpplint warnings.
2013-12-15 17:09:35 +08:00
Cheng Zhao
cd68396bd5
Disable use of deprecated functions in specs.
2013-12-15 17:02:43 +08:00
Cheng Zhao
474e1fcd3b
Fix protocol module specs.
2013-12-15 16:53:07 +08:00
Cheng Zhao
cfeeec37eb
Fix capturePage() spec.
2013-12-15 16:32:49 +08:00
Cheng Zhao
0a84c30d3b
Redirect window.onerror to uncaughtException.
2013-12-15 16:32:41 +08:00
Cheng Zhao
7ba03ce23d
Add setImmediate function in renderer.
2013-12-15 16:21:23 +08:00
Cheng Zhao
cc5db4dab9
Suppress the EventEmitter's warning for ObjectsRegistry.
...
It's possible that many objects subscribed to it.
2013-12-15 16:15:18 +08:00
Cheng Zhao
aa3e8385df
Set __filename to the html file in renderer.
2013-12-15 16:11:00 +08:00
Cheng Zhao
b1dc139e4b
Set the proxy service a bit earlier to avoid crash.
2013-12-15 15:00:52 +08:00
Cheng Zhao
886ebdb002
Use node's Environment feature to add "require" in renderer.
2013-12-15 14:20:28 +08:00
Kevin Sawicki
ea2f87683a
Merge pull request #144 from shama/typo
...
Fix a couple minor typos in docs
2013-12-13 08:44:06 -08:00
Kyle Robinson Young
c116f6b35c
Fix a couple minor typos in docs
2013-12-12 22:31:19 -08:00
Cheng Zhao
2413eebd7b
Disable accelerated compositing to fix everything.
2013-12-13 00:57:08 +08:00
Adam Roben
dc3f2050c0
Merge pull request #44 from brightray/fix-devtools-flash
...
Fix flash of page while resizing devtools NSSplitView divider.
2013-12-12 07:36:16 -08:00
Cheng Zhao
e0b8935fda
Remove the unused dividerHidden property of GraySplitView.
2013-12-12 23:33:50 +08:00
Cheng Zhao
39f5f52423
Fix flash of page while resizing devtools NSSplitView divider.
2013-12-12 18:46:46 +08:00
Cheng Zhao
7708e7a8c4
Update node for renderer node integration fixes.
2013-12-12 16:49:56 +08:00
Cheng Zhao
1c0b391419
Fix the black devtools view.
...
Without using UnderlayOpenGLHostingWindow the devtools view would just
be black.
2013-12-12 15:49:08 +08:00
Cheng Zhao
28f5d184b3
Do not depend on node to set include_dirs.
...
Part of atom/node#2 .
2013-12-12 14:07:00 +08:00
Cheng Zhao
fc00da9732
Update brightray, which contains all our patches in master.
2013-12-12 10:43:50 +08:00
Cheng Zhao
9ea75b7519
We are now at v0.8.0-pre.
2013-12-12 10:43:34 +08:00
Adam Roben
e314e52393
Merge pull request #43 from brightray/arches-key
...
The 'ARCHS' key should be an array.
2013-12-11 13:28:11 -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
d53915c6ab
Fix recursive calling of handle().
2013-12-11 23:57:37 +08:00
Cheng Zhao
1a09de0956
The 'ARCHS' key should be an array.
...
The ninja generator only supports setting the 'ARCHS' key as array, and
ninja does not support '$(ARCHS_STANDARD_64_BIT)' too. The 'x86_64' is
accepted by both ninja and xcodebuild, and is also used by node.
2013-12-10 23:54:46 -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
Adam Roben
64b487a8d5
Merge pull request #42 from brightray/devtools-is-opened
...
Add API to get whether the devtools is opened.
2013-12-10 18:39:47 -08:00
Cheng Zhao
b080e5c52d
Rename IsDevToolsOpened to IsDevToolsViewShowing.
2013-12-10 18:38:35 -08:00
Cheng Zhao
d82cfc023f
💄 There should be no space between & and type name.
2013-12-10 14:27:25 +08:00
Cheng Zhao
f9c41f33e5
node::ObjectWrap how had a handle() method.
2013-12-10 14:15:37 +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
0a37852757
Update to node v0.11.9.
2013-12-10 14:07:32 +08:00
Cheng Zhao
7a5415a3b7
Fix IsDevToolsOpened when devtools is attched to pane on Linux.
2013-12-09 13:27:22 +00:00
Cheng Zhao
42ffa5813f
Update libchromiumcontent and brightray to use Chrome31.
2013-12-09 17:23:32 +08:00
Cheng Zhao
a8c5911094
Implement IsDevToolsOpened for Linux.
2013-12-09 09:03:41 +00:00
Cheng Zhao
de7892cd6e
Add API to get whether the devtools is opened.
2013-12-09 09:03:29 +00: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
cb73a3c572
Remove the RestartHangMonitorTimeout API, which is useless now.
2013-12-09 14:17:56 +08:00
Adam Roben
afc627aae1
Merge pull request #41 from brightray/v8-proxy-resolver
...
Use "ProxyResolverV8" instead of "SystemProxyResolver" as proxy service
2013-12-06 10:03:02 -08:00
Cheng Zhao
2c672052e6
Flatten spec files, make them seem cleaner.
2013-12-06 22:23:02 +08:00
Cheng Zhao
b431e96f9d
Update node: Add fs.lstatSyncNoException, closes #138 .
2013-12-06 21:51:47 +08:00
Cheng Zhao
36445f8d8b
Merge pull request #139 from atom/browser-cleaner
...
Do not rely on renderer to report the deletion of render view
2013-12-06 05:17:27 -08:00
Cheng Zhao
085b1a45ee
Report the right render view that is deleted.
2013-12-06 15:53:40 +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
0a63395b0f
💄 Restore old settings in app specs.
2013-12-06 14:54:29 +08:00
Cheng Zhao
623e0f3ae4
Release render view's remote objects when it's deleted.
...
Privously we release them when the window is unloaded, which is not
correct since a render view can have multiple windows (or js contexts)
and when the unload event is emitted the render view could already have
gone.
This PR does the cleaning work purely in browser, so here is no need to
worry about renderer's life time.
2013-12-06 14:44:25 +08:00
Cheng Zhao
e9e90b481a
💄 Fix cpplint warnings.
2013-12-05 23:54:57 +08:00
Cheng Zhao
4a1ee39156
Get rid of manually converting to base::Value when possible.
2013-12-05 23:47:07 +08:00