Commit graph

1148 commits

Author SHA1 Message Date
Cheng Zhao
e3c657045d Merge pull request #154 from deepak1556/accept_language_patch
set accept-language header from system locale
2015-10-09 21:05:15 +08:00
Robo
b7296d8a4e set accept-language header from system locale 2015-10-09 13:21:53 +05:30
Cheng Zhao
343cbea8a7 Merge pull request #153 from atom/xcode-7
Don't reference the bsm dylib directly.
2015-10-08 13:57:42 +08:00
joshaber
407b406f34 Don't reference the dylib directly.
https://forums.developer.apple.com/thread/4572 is the best reference I
could find for this.

Apple replaced (some?) dylibs with “text-based stub libraries”
(.tbd’s). So we shouldn’t try to reference the dylib directly anymore.
2015-10-06 16:07:54 -04:00
Cheng Zhao
43bfdace86 Merge pull request #152 from atom/register-prefs
Fix RegisterPrefs not working in subclass.
2015-10-06 22:44:32 +08:00
Cheng Zhao
dd5c962942 Merge pull request #151 from atom/xcode-7-support
Xcode 7 support
2015-10-06 21:39:34 +08:00
Haojian Wu
73632d4189 Fix RegisterPrefs not working in subclass.
Don't call virtual function in subclass's constructor.
2015-10-06 16:11:28 +08:00
joshaber
3d0ab70aa1 mac: Force Xcode to use C++11.
For whatever reason, this is necessary in Xcode 7.
2015-10-05 10:15:54 -04:00
joshaber
7f0b8f01e1 mac: Don't define an SDKROOT.
This way Xcode will use the latest SDK, whatever it is, and we don’t
have to bump this every time Apple releases an OS update.
2015-10-05 10:15:34 -04:00
Haojian Wu
ef9f6eb8c3 Define related marcos for webrtc on Windows and OS X. 2015-10-05 12:50:18 +08:00
Cheng Zhao
dee9f59b19 Merge pull request #150 from atom/linux-menu
Fix tooltip cropped by the window on Linux
2015-10-04 22:18:39 +08:00
Cheng Zhao
c205ab0944 Fix tooltip can not show outside window 2015-10-04 22:15:01 +08:00
Cheng Zhao
6ca7767f09 linux: Set device scaling factor 2015-10-04 16:52:14 +08:00
Cheng Zhao
9f978cc19f Merge pull request #149 from atom/ignore-x-window-error
Don't crash when X Window System errors happen
2015-10-04 15:52:14 +08:00
Cheng Zhao
6044ab05f3 Ignore X Window System errors 2015-10-04 15:40:51 +08:00
Haojian Wu
63085fb0b0 [Linux] Link libraries for desktop capture API. 2015-10-03 13:43:20 +08:00
Haojian Wu
59cbd0a00d [Windows] Link libraries for desktop capture API. 2015-10-03 10:49:42 +08:00
Haojian Wu
64b0333964 [OS X] Link dependent libraries for desktop capture API. 2015-10-02 17:27:48 +08:00
Cheng Zhao
5a97cfaa64 Code cleanup 2015-10-01 17:30:59 +08:00
Cheng Zhao
1f2d934d9d Merge pull request #147 from atom/gnotify
Rewrite Ubuntu check to look for libunity .so files
2015-10-01 17:15:19 +08:00
Cheng Zhao
c9956c2ae0 Merge pull request #146 from deepak1556/remote_devtools_module_patch
provide remoteBase to load remote devtools modules
2015-10-01 17:02:56 +08:00
Paul Betts
1a8377b198 Add environment variable as escape hatch 2015-09-30 09:14:31 -07:00
Paul Betts
50a95792a1 Rewrite unity check to look for libunity SOs 2015-09-30 09:09:35 -07:00
Robo
9122922133 provide remoteBase to load remote devtools modules 2015-09-30 16:34:44 +05:30
Cheng Zhao
3f3fbc03fc Merge pull request #145 from deepak1556/devtools_network_emulation_patch
enabling network emulation in devtools
2015-09-28 12:14:14 +08:00
Robo
a1e646f1b3 enabling network emulation in devtools 2015-09-27 21:38:38 +05:30
Cheng Zhao
ab878c5f98 Merge pull request #143 from deepak1556/ssl_version_config_patch
allowing delegates to provide their sslconfigservice
2015-09-23 10:41:27 +08:00
Robo
5d9c41c416 allowing delegates to provide their sslconfigservice 2015-09-21 22:14:32 +05:30
Cheng Zhao
ca9a54a41e Check whether devtools is opened when executing js code
Fixes atom/electron#2808.
2015-09-17 15:00:14 +08:00
Cheng Zhao
fc33eb99f7 Unsubscribe from NSNotificationCenter when WebContents is destroyed
Due to ref-counted references the NSView is not destroyed immediately
when WebContents is destroyed, so it is not reliable to do this in
the destructor.
2015-09-17 11:19:08 +08:00
Cheng Zhao
fa588f104c Set MACOSX_DEPLOYMENT_TARGET to 10.8
Fixes atom/electron#2790.
2015-09-16 19:54:52 +08:00
Cheng Zhao
3f53564a4f Use the SDKROOT under 10.10 2015-09-15 12:14:46 +08:00
Cheng Zhao
34e1a38d18 Use 10.10 SDK 2015-09-15 11:59:57 +08:00
Cheng Zhao
43c4efb4c7 Merge pull request #142 from atom/devtools-focus
Add IsDevToolsViewFocused method and make DevToolsFocused work in OS X
2015-09-15 11:26:34 +08:00
Cheng Zhao
352f758cd1 Make DevToolsFocused in OS X 2015-09-15 11:24:35 +08:00
Cheng Zhao
c30f458d4f Add IsDevToolsViewFocused method 2015-09-15 11:04:46 +08:00
Cheng Zhao
9d7fbdfd8e Merge pull request #140 from deepak1556/net_log_patch
create net log file after context is created
2015-09-14 19:24:22 +08:00
Cheng Zhao
024d643f98 Merge pull request #139 from toyoshim/sysex_permission
Grant ChildProcessSecurityPolicy for MIDI from PermissionManager
2015-09-09 13:34:40 +08:00
Robo
451dd03866 create net log file after context is created 2015-09-07 22:44:13 +05:30
Cheng Zhao
87a1b68c47 Fix typo 2015-09-06 10:29:59 +08:00
Cheng Zhao
d2ea3b496d Only store weak ref to BrowserContext 2015-09-05 22:34:42 +08:00
Cheng Zhao
1a8dc77951 Move management of browser context to BrowserContext 2015-09-05 20:52:50 +08:00
Cheng Zhao
dc1e50c62e Store BrowserContext in ref-counted ptr 2015-09-05 20:03:18 +08:00
Cheng Zhao
58fb166b0b Pass partition name instead of path to BrowserContext 2015-09-05 19:46:55 +08:00
Takashi Toyoshima
af505db908 Grant ChildProcessSecurityPolicy for MIDI from PermissionManager
PermissionManager should set ChildProcessSecurityPolicy for MIDI SysEx
permission. Otherwise, the browser kills unauthorized renderers that are
going to send MIDI SysEx messages.

Fixes #138.
2015-09-05 14:56:32 +09:00
Cheng Zhao
82b9ced3e0 Merge pull request #137 from atom/chrome45
Upgrade to Chrome 45
2015-09-03 21:17:32 +09:00
Cheng Zhao
dca5c763e9 Use the new devtools URL 2015-09-02 18:25:59 +08:00
Cheng Zhao
f077a51459 Define ENABLE_WEBRTC 2015-09-02 17:49:51 +08:00
Cheng Zhao
90125c44e3 Fix API changes on Linux 2015-09-02 17:29:30 +08:00
Cheng Zhao
38a211db2e Fix API changes 2015-09-02 15:16:34 +08:00