Kevin Sawicki
4e44900930
Initialize guest_instance_id
2016-05-25 18:05:37 -07:00
Daniel Pham
d1c302800f
Fix: Properly notify observers when window prevents close
2016-05-25 19:26:57 -04:00
Kevin Sawicki
75754804af
Use auto for embedder var
2016-05-25 10:34:33 -07:00
Kevin Sawicki
88f665bc1b
Restore original include location
2016-05-25 10:28:35 -07:00
Kevin Sawicki
814e4377a4
Restore original comment position
2016-05-25 10:26:59 -07:00
Kevin Sawicki
6632547b17
parent -> embedder
2016-05-25 10:26:20 -07:00
Kevin Sawicki
89ffa02d75
Tweak comment
2016-05-25 10:26:05 -07:00
Kevin Sawicki
b1ce57faa9
Remove redundant atom:: namespace use
2016-05-25 10:22:43 -07:00
Kevin Sawicki
03c6fbf80f
🎨
2016-05-25 10:20:00 -07:00
Kevin Sawicki
f58322891b
Remove added switch/option
2016-05-25 10:17:35 -07:00
Kevin Sawicki
583bb49f6c
Get hidden state by using parent window directly
2016-05-25 10:13:12 -07:00
Kevin Sawicki
73b07f76a3
Support document visiblity state and events in webviews
2016-05-25 09:12:52 -07:00
Daniel Pham
eb0889de38
🍎 Add fallback URL to handoff.
2016-05-24 21:06:14 -04:00
Cheng Zhao
28e2058ff1
Merge pull request #5648 from electron/chrome51
...
Update to Chrome 51
2016-05-24 10:59:11 +00:00
Cheng Zhao
1dd98171f4
Bump v1.1.2
2016-05-24 15:59:21 +09:00
Cheng Zhao
0d4f1abdf9
Move the menu sightly higher when repositioning the menu
...
Otherwise the menu is not able to show the last menu item and the arrow
will show.
2016-05-23 21:54:06 +09:00
Cheng Zhao
b866b34ac8
The unit of position is CGFloat
2016-05-23 21:53:50 +09:00
Cheng Zhao
fca91db133
Fix showing context menu in devtools
2016-05-23 21:08:16 +09:00
Cheng Zhao
9f858e1243
Merge branch 'master' into chrome51
2016-05-23 19:49:43 +09:00
Cheng Zhao
c489d6d4b3
Merge pull request #5638 from deepak1556/iwa_patch
...
browser: flags to control iwa enabled server whitelist
2016-05-23 10:48:30 +00:00
Cheng Zhao
1b9bced8c0
Merge pull request #5644 from leethomas/fix/osx-aspect-ratio
...
🍎 let Cocoa handle keeping aspect ratio on window resize
2016-05-23 08:15:44 +00:00
Cheng Zhao
f756a3e682
Fix crash when quitting
2016-05-23 17:03:49 +09:00
Cheng Zhao
44651656dd
Fix building on Windows
2016-05-23 16:39:19 +09:00
deepak1556
f68d0f324f
deprecate app.allowNTLMCredentialsForAllDomains
2016-05-23 11:44:21 +05:30
Cheng Zhao
fa0ce7ad5f
Adjust to the new behaviors of beforeunload handler
2016-05-23 14:27:39 +09:00
Cheng Zhao
06800940ec
Fix cpplint warnings
2016-05-23 13:03:43 +09:00
Cheng Zhao
530f19e956
Fix crash due to site_instace being freed early
2016-05-23 12:57:46 +09:00
Cheng Zhao
899cdb48d7
Fix using invalid pointer as SiteInstance
2016-05-23 12:46:14 +09:00
Cheng Zhao
a2bd55dd3c
Adapt to changes of Chrome 51 API changes (Part 2)
2016-05-23 12:29:14 +09:00
leethomas
de27b34891
disregard extraSize when initially setting the aspect ratio
2016-05-22 19:09:21 -07:00
Cheng Zhao
7ba391da7c
Update to API changes of Chrome 51
2016-05-23 10:59:39 +09:00
leethomas
1d61f987cb
code styling
2016-05-22 18:59:00 -07:00
leethomas
09de0c2766
call base SetAspectRatio in NativeWindowMac implementation
2016-05-22 17:22:57 -07:00
leethomas
ac6e4aff5e
comments
2016-05-22 17:00:14 -07:00
leethomas
7aaf974362
override SetAspectRatio for NativeWindowMac
2016-05-22 16:50:50 -07:00
leethomas
8f7a04f9c3
🍎 let Cocoa handle keeping the aspect ratio whenever the edges are dragged
2016-05-22 15:43:47 -07:00
deepak1556
3db2daf790
browser: flags to control iwa enabled server whitelist
2016-05-21 23:38:50 +05:30
Cheng Zhao
6f3d0e1782
Merge pull request #5603 from leethomas/osx-horizontal-sheet-offset
...
Osx horizontal sheet offset
2016-05-21 14:07:53 +00:00
Cheng Zhao
3182485e68
No need to reference the icon in Tray
2016-05-20 22:44:02 +09:00
Cheng Zhao
a93c9462ed
Add BrowserWindow.setIcon
2016-05-20 22:22:15 +09:00
Cheng Zhao
d26480b74e
Correctly set window icon from ICO
2016-05-20 19:46:05 +09:00
Cheng Zhao
ea2807c890
Make it possible to get different size of icons from ICO
2016-05-20 17:51:05 +09:00
Cheng Zhao
9e26e5c121
Load HICON directly in NotifyIcon
2016-05-20 16:55:22 +09:00
Cheng Zhao
67d9ae27c3
Remove the JavaScript wrapper for setContextMenu
2016-05-20 16:18:38 +09:00
Cheng Zhao
adfd99f5f0
Convert to mate::Handle<NativeImage> instead of gfx::Image
2016-05-20 16:14:40 +09:00
leethomas
7d93642f42
extend setSheetOffset to accept an optional 2nd offset
2016-05-19 20:32:06 -07:00
Cheng Zhao
d5f3e5d59a
Bump v1.1.1
2016-05-20 09:30:24 +09:00
leethomas
359123458d
🍎 allow x-axis offset to be set for sheets
2016-05-18 23:45:54 -07:00
Cheng Zhao
d2a567d6ab
Merge pull request #5582 from electron/notification-user-info
...
Pass userInfo in systemPreferences.subscribeNotification
2016-05-18 07:36:31 +00:00
Cheng Zhao
3d0b98c9ca
Use string description for unknown types
2016-05-18 16:01:08 +09:00
Cheng Zhao
68cf267b1d
Do not convert NSDictionary to JSON
2016-05-18 15:49:33 +09:00
Cheng Zhao
240c346d02
Ignore invalid JSON object when converting NSDictionary
2016-05-18 14:54:37 +09:00
Cheng Zhao
97250b53e8
Pass userInfo in subscribeNotification
2016-05-18 14:40:19 +09:00
Cheng Zhao
5f6c468f0f
Handle keyboard events for WebContents that do not have owner window
2016-05-18 13:57:48 +09:00
Cheng Zhao
dc9b3fcef7
Remove WebViewGuestDelegate::HandleKeyboardEvent
2016-05-18 13:57:48 +09:00
Cheng Zhao
d6cb84f8a3
WebContents without owner window should always open detached devtools
2016-05-18 13:57:48 +09:00
Cheng Zhao
998ce73ad9
Add webContents.id property
2016-05-18 13:57:48 +09:00
Cheng Zhao
8a061b7183
A normal WebContents can have no owner window
2016-05-18 13:57:48 +09:00
Cheng Zhao
118afab67b
Make sure BrowserContext is always destroyed after WebContents
2016-05-18 13:57:48 +09:00
Cheng Zhao
13bfb099a2
Fix the toolbar showing when titleBarStyle is hidden-inset
2016-05-17 16:25:18 +09:00
Cheng Zhao
f53aabaef5
Implement titleBarStyle without using NSFullSizeContentViewWindowMask
2016-05-17 15:48:14 +09:00
Cheng Zhao
e53bfad018
Fix building on Windows
2016-05-16 10:09:41 +09:00
Ben Gotow
54c654530e
Fix linux support
2016-05-15 01:29:13 -05:00
Ben Gotow
6217d497ed
Fix build issues
2016-05-15 01:03:32 -05:00
Ben Gotow
84cce6c2c1
Don't default to "Open", "Save", just let OS decide
2016-05-15 01:03:32 -05:00
Ben Gotow
40c531737d
Add buttonLabel param to showOpen/showSave dialogs
2016-05-15 01:03:32 -05:00
Daniel Pham
bebf8eabca
🍎 Fix context menu positioning
2016-05-13 10:54:40 -04:00
Cheng Zhao
847d9580b7
Bump v1.1.0
2016-05-13 17:00:02 +09:00
Cheng Zhao
e77582baee
Fix compilation warnings introduced by VS 2015
2016-05-13 11:12:01 +09:00
Brian R. Bondy
f93fa53aea
Update linux menu overrides
2016-05-13 11:07:17 +09:00
Brian R. Bondy
22863b9f31
Fix GURL coonstructor from webkit string error
2016-05-13 11:07:17 +09:00
Brian R. Bondy
48e62ac0b5
Remove wwebaudio from web_preferences
...
Becauseit doesn't exist there anymore
2016-05-13 11:07:17 +09:00
Brian R. Bondy
732936713a
GetNativeScreen -> GetScreen
2016-05-13 11:07:17 +09:00
Brian R. Bondy
d889bdef49
Remove user_gesture parameter from PermissionManager::RequestPermission
2016-05-13 11:07:17 +09:00
Brian R. Bondy
c04353a845
WebFindOptions in its own header
2016-05-13 11:07:17 +09:00
Brian R. Bondy
ff91aeb5d4
Iterator to use size_t
2016-05-13 11:07:17 +09:00
Brian R. Bondy
8a2aebd03f
PermissionStatus constant update
2016-05-13 11:07:17 +09:00
Brian R. Bondy
82f3bb26ce
AccessTokenSet -> AccessTokenMap
2016-05-13 11:07:17 +09:00
Brian R. Bondy
2da39d31aa
Update to new pref service location in components
2016-05-13 11:07:17 +09:00
Brian R. Bondy
5fda9bc6ae
LoadAccessTokensCallbackType -> LoadAccessTokensCallback
2016-05-13 11:07:17 +09:00
Brian R. Bondy
93e9cf4ac1
No more GetCookieMonster
2016-05-13 11:07:17 +09:00
Cheng Zhao
57b0f288cb
Bump v1.0.2
2016-05-13 09:21:33 +09:00
Cheng Zhao
b32bc8cf3e
Merge pull request #5502 from anthonyryan1/master
...
Replace gtk_widget_hide_all with gtk_widget_hide
2016-05-12 19:37:25 +09:00
Cheng Zhao
9a35d54ecf
Merge pull request #5500 from radarhere/master
...
Fixed typo
2016-05-12 10:26:39 +09:00
Andrew Murray
2d19d8108b
Fixed typo
2016-05-12 08:14:17 +10:00
Anthony Ryan
c29b844a97
Replace gtk_widget_hide_all with gtk_widget_hide
...
gtk_widget_hide_all was deprecated in gtk+ 2.24 and was removed
entirely in recent versions. This is a pretty straight forward
replacement.
2016-05-11 15:33:43 -04:00
deepak1556
64718888dd
dialog: resize icon on linux before showing
2016-05-11 22:30:10 +05:30
Cheng Zhao
064af6ecb2
Merge branch '1-0-release'
2016-05-11 22:11:08 +09:00
Cheng Zhao
6578c4f0b3
Bump v1.0.1
2016-05-11 20:10:38 +09:00
Cheng Zhao
c708ae8eb5
Remove IDWeakMap
2016-05-11 15:51:22 +09:00
Cheng Zhao
2cd41b2f84
Merge branch 'master' of https://github.com/electron/electron
2016-05-11 15:15:15 +09:00
Cheng Zhao
0f52a6da39
Merge branch '1-0-release'
2016-05-11 15:14:56 +09:00
Cheng Zhao
ed70a11ff8
Merge pull request #5477 from danhp/download-bounce
...
Add API: app.dock.downloadFinished(filePath)
2016-05-11 09:41:08 +09:00
Cheng Zhao
0dad2581ef
Fix passing paths in command line
2016-05-11 08:57:35 +09:00
Daniel Pham
6dae07b76f
Add API: app.dock.downloadFinished(filePath)
2016-05-10 15:02:56 -04:00
Cheng Zhao
c40fb67890
Bump v1.0.0
2016-05-09 21:17:35 +09:00
Cheng Zhao
af0afecb45
Merge pull request #5406 from deepak1556/protocol_standard_scheme_patch
...
protocol: fix registerStandardSchemes api
2016-05-09 09:12:35 +09:00
Cheng Zhao
6b79f53416
Merge pull request #5440 from electron/bengotow/remove-default-protocol
...
Implement RemoveAsDefaultProtocolClient on OS X
2016-05-09 08:36:21 +09:00
Ben Gotow
ac905e7080
Add docs, avoid side effects when not currently default
2016-05-08 10:50:17 -07:00
deepak1556
70dac71639
delay protocol object creation
2016-05-08 16:44:14 +05:30
Cheng Zhao
e24ce97731
Set expirationDate for persistent cookie
2016-05-08 14:38:07 +09:00
deepak1556
9c71c9fa6a
fix docs and spec
2016-05-08 01:37:57 +05:30
deepak1556
0f2ae385ed
allow protocol module initialization before app ready.
...
* ensure registerStandardSchemes can only be called before app ready
* ensure other protocol methods can only be used after app ready
2016-05-08 01:36:34 +05:30
deepak1556
1ff33b7c81
protocol: fix registerStandardSchemes api
2016-05-08 01:36:34 +05:30
Ben Gotow
19d5d3b7d1
Implement RemoveAsDefaultProtocolClient on OS X
2016-05-07 11:07:58 -07:00
Cheng Zhao
b05fa2ed5b
Merge pull request #5430 from deepak1556/ipc_renderer_patch
...
ipcRenderer: fix crash with multiple listeners to sync message
2016-05-07 16:32:54 +09:00
Cheng Zhao
e46a50512d
Merge pull request #5428 from miniak/update-app-manifest
...
Update app manifest
2016-05-07 11:20:25 +09:00
Cheng Zhao
767c235708
Fix compilation error
2016-05-07 10:38:41 +09:00
Milan Burda
bc8689889d
Add dpiAware to app manifest instead of calling SetProcessDpiAwareness / SetProcessDPIAware
2016-05-07 01:18:01 +02:00
Milan Burda
bb32039fde
Add disableWindowFiltering to app manifest to enable enumeration of modern app windows in node modules
2016-05-07 01:17:27 +02:00
deepak1556
53ac79cb19
devtools: handle file system indexing requests
2016-05-07 04:32:54 +05:30
Kevin Sawicki
ef459c7676
Remove support for options now on webPreferences
2016-05-06 10:12:56 -07:00
Kevin Sawicki
4cb620c195
Remove support for translating hyphenated options
2016-05-06 10:12:54 -07:00
Kevin Sawicki
6f0471f6cb
Remove deprecated options check in BrowserWindow
2016-05-06 10:12:53 -07:00
Cheng Zhao
df397dab30
Add scrollBounce option and disable it by default
2016-05-06 14:57:43 +09:00
deepak1556
45b3bd3a22
ipcRenderer: fix crash with multiple listeners to sync message
2016-05-06 02:52:59 +05:30
Cheng Zhao
2c31d7c1e8
Revert "Generalize this mate converter for reuse."
...
This reverts commit 92606579d3
.
2016-05-05 17:26:31 +09:00
Cheng Zhao
2f9fee0c8a
Move the job of creating userActivity to AtomApplication
2016-05-05 16:38:47 +09:00
Cheng Zhao
60bd60e1ed
Fully support converting NSDictionary to JS userInfo object
2016-05-05 16:26:44 +09:00
Cheng Zhao
7268f434b2
Fix code styling problems
2016-05-05 12:26:23 +09:00
Cheng Zhao
3f2a25d07c
Merge pull request #5352 from CharlieHess/hands-on-hand-off
...
OS X Handoff Feature
2016-05-05 12:06:56 +09:00
Cheng Zhao
0901a70166
Merge pull request #5379 from danhp/context-menu
...
Expose the 'context-menu' event.
2016-05-05 11:12:58 +09:00
Charlie Hess
b2fb95f857
Use scoped_nsobject to ensure our intermediate objects get cleaned up.
2016-05-04 11:28:49 -07:00
Cheng Zhao
540076e9d5
Fix code styling issue
2016-05-04 17:12:10 +09:00
Charlie Hess
12764a66ed
Add an accessor for the current activity type and write the simplest possible test.
2016-05-03 15:51:31 -07:00
Charlie Hess
42768bcc2b
Save the activity on the application instance to ensure we hold a reference. Activities that enable search need to persist.
2016-05-03 14:57:16 -07:00
Daniel Pham
0fffbea79d
Add 'context-menu' event to 'WebContents'
2016-05-03 17:50:54 -04:00
Charlie Hess
03d25ce6c0
Revert "Add some shady methods to get V8 objects or arrays from NSDictionary or NSArray."
...
This reverts commit 2295f3a832
.
2016-05-03 10:32:42 -07:00
Charlie Hess
f84a973d69
Revert "Use a DictionaryValue everywhere instead of a string map."
...
This reverts commit 90cc10944a
.
2016-05-03 10:31:53 -07:00
Charlie Hess
90cc10944a
Use a DictionaryValue everywhere instead of a string map.
2016-05-02 16:18:58 -07:00
Charlie Hess
2295f3a832
Add some shady methods to get V8 objects or arrays from NSDictionary or NSArray.
2016-05-02 14:45:59 -07:00
Adam Buckland
abb60ecd2e
Fix autoUpdater error on OS X
...
If there is no localizedFailureReason, then then this will no longer be
added to the error string (which would result previously in it printing
'(null)' as part of the string)
2016-05-01 13:43:56 +01:00
Charlie Hess
05493502ea
Value first, key second.
2016-04-30 11:17:29 -07:00
Charlie Hess
195940292d
This is preventDefault by convention.
2016-04-29 22:08:19 -07:00
Charlie Hess
88805ec7e2
Make the Linter happy.
2016-04-29 22:05:36 -07:00
Charlie Hess
3a9a1d35d7
Add the AppDelegate override for restoring from hand-off, and fire the app event.
2016-04-29 17:37:01 -07:00
Charlie Hess
c20acb0361
Implement a "continue-activity" event on app for resuming from hand-off.
2016-04-29 17:36:04 -07:00
Charlie Hess
6df4bb176d
Implement app.setUserActivity(type, userInfo).
2016-04-29 17:35:07 -07:00
Cheng Zhao
edb73fb734
Bump v0.37.8
2016-04-29 20:48:19 +09:00
Cheng Zhao
66853344c0
Make sure the userData directory is created before ready event
2016-04-29 20:20:52 +09:00
Milan Burda
340b7220f1
Fix #3075 by not caching the displays (id is not persistent on Windows)
2016-04-28 17:46:41 +02:00
deepak1556
d64e3784f4
renderer: fix desktop capture api not responding different subsequest calls
2016-04-28 14:24:22 +05:30
Cheng Zhao
d9db23185c
Merge pull request #5302 from ritazh/default-protocol-handler
...
Add API: IsDefaultProtocolClient
2016-04-28 16:13:06 +09:00
Rita Zhang
df2141d9e6
⚡ Add API: IsDefaultProtocolClient
2016-04-27 12:24:46 -07:00
deepak1556
6dbd2ce243
use DownloadItem to determine download initiator
2016-04-27 20:29:39 +05:30
deepak1556
46208b5b3e
session: dont attach download dialog to deleted webContents window
2016-04-27 20:00:31 +05:30
Cheng Zhao
7b8a05f01f
Merge pull request #5298 from phamdaniel/fix-mac-accelerators
...
Fix converting from windows virtual keycode back to mac keycode
2016-04-27 10:23:28 +09:00
Daniel Pham
21af03d71a
🍎 Fix converting from windows virtual keycode back to mac keycode
2016-04-26 10:53:26 -04:00
Cheng Zhao
4f21a50d23
Remove duplicated converter for content::WebContents
2016-04-26 16:31:56 +09:00
Cheng Zhao
570dc7ca9b
Merge branch 'MarshallOfSound-master'
2016-04-26 11:15:56 +09:00
Cheng Zhao
f081c77422
Fix compilation error
2016-04-26 11:15:36 +09:00
Samuel Attard
315cd9d2c8
Emit an error if quitAndInstall
is called without an update being available
2016-04-26 11:55:57 +10:00
Cheng Zhao
067e9c1a85
Add systemPreferences.getUserDefault
2016-04-25 15:35:52 +09:00
Cheng Zhao
a421c66f3f
Deprecate the platform-theme-changed event
2016-04-25 14:35:34 +09:00
Cheng Zhao
9557226223
Add systemPreferences.subscribeNotification
2016-04-25 14:25:14 +09:00
Cheng Zhao
ddd8eae661
Move isAeroGlassEnabled and isDarkMode to systemPreferences
2016-04-25 12:35:09 +09:00
Cheng Zhao
d72a0e452f
BuildPrototype should not be empty
2016-04-25 12:24:11 +09:00
Cheng Zhao
13f8599ba1
Add systemPreferences module
2016-04-25 11:32:33 +09:00
Cheng Zhao
9fe3dbcfe0
Make VS happy
2016-04-25 10:40:19 +09:00
Cheng Zhao
272592415d
Fix building on non-mac
2016-04-25 10:34:41 +09:00
Cheng Zhao
993695af07
Remove unneeded cleanup code
2016-04-25 10:23:36 +09:00
Cheng Zhao
60d2cb8a84
Remove the isolate parameter of GetWrapper
2016-04-25 10:19:25 +09:00
Cheng Zhao
2ae52d0ff4
Make Wrappable a template class
2016-04-25 10:17:54 +09:00
Milan Burda
e1516d4244
Fix BrowserWindow.maximize/unmaximize on Mac
2016-04-23 01:16:31 +02:00
Cheng Zhao
c04d43ca13
Bump v0.37.7
2016-04-22 17:39:11 +09:00
Cheng Zhao
df97be30e5
Do not create the folder passed to app.setPath
2016-04-21 14:37:29 +09:00
deepak1556
ca756c3c24
session: allow providing permission to handle external protocols
2016-04-21 05:27:07 +05:30
Cheng Zhao
aa29dc0c8a
Merge pull request #5199 from Mr0grog/5183-disambiguate-loading-from-main-frame-loading
...
Add `isLoadingMainFrame()` to WebContents
2016-04-20 20:49:56 +09:00
Cheng Zhao
965c3f605e
Merge pull request #5197 from deepak1556/client_certificate_patch
...
app: api to import client certificate
2016-04-20 14:35:00 +09:00
Rob Brackett
d3e879cd7f
Change WebContents::IsLoadingMainFrame
to compare SiteInstances
...
(per @deepak1556's recommendation)
Also updates tests to cover the situation where navigating between pages from the same potential "site" and adds generalized tests for `isLoadingMainFrame()`.
2016-04-19 22:05:09 -07:00
Cheng Zhao
d3bff7fffc
Merge pull request #5208 from deepak1556/devtools_dock_state_patch
...
devtools: allow opening in specified dock state
2016-04-20 13:34:52 +09:00
deepak1556
794d120754
rename importClientCertificate => importCertificate
2016-04-20 08:45:49 +05:30
Rob Brackett
942971b01a
Fix linting errors.
2016-04-19 19:20:59 -07:00
Cheng Zhao
18f5fcde60
Fix some coding style issues
2016-04-20 09:18:50 +09:00
Cheng Zhao
eb9e0e5534
Merge pull request #4922 from electron/bengotow/sheet-offset
...
Allow sheets to be attached at a custom offset #4679
2016-04-20 08:55:42 +09:00
Cheng Zhao
8ca1a6961c
Merge pull request #5147 from deepak1556/devtools_network_controller_patch
...
session: set client id when enabling network emulation
2016-04-20 08:52:59 +09:00
deepak1556
58dfad4d01
devtools: allow opening in specified dock state
2016-04-19 18:12:05 +05:30
deepak1556
2d8286515d
expose api only on platforms using nss cert database
2016-04-19 11:29:24 +05:30
Ben Gotow
414245f4d8
Keep function placement consistent
2016-04-18 22:45:38 -07:00
Ben Gotow
8f89cd2d59
Move "setSheetOffset" to the BrowserWindow
2016-04-18 22:39:12 -07:00
deepak1556
ddf962c6ea
client_id is accessed on different threads
2016-04-19 10:01:38 +05:30
Rob Brackett
64a84dee3b
Add isLoadingMainFrame
method to WebContents.
...
Also switch `webContents.executeJavaScript` to check it instead of `isLoading`.
There doesn’t seem to be a reasonable public way to get this information out of Chromium, so it’s synthesized here based on WebContentsObserver callbacks.
Fixes #5183 .
2016-04-18 10:37:08 -07:00
deepak1556
919be67cd2
remove --client-certificate flag
2016-04-18 22:26:37 +05:30
deepak1556
1240c83e40
set trust bits for CA certs
2016-04-18 21:05:33 +05:30
deepak1556
b8e04f4947
set client id on AtomNetworkDelegate instead of cmd line switch
2016-04-18 11:35:24 +05:30
Cheng Zhao
34319abf4a
Initialize the embedder_ member data
...
Otherwise it is going to be some random value and bite us.
2016-04-18 14:52:03 +09:00
deepak1556
e81cec4058
app: api to import client certificate
2016-04-18 10:54:43 +05:30
deepak1556
fcf04377d7
set network emulation client id in request headers
2016-04-18 10:49:00 +05:30
Cheng Zhao
0bf1e56156
Update brightray for electron/brightray#212
2016-04-18 13:59:15 +09:00
Ben Gotow
65c37fe64b
Create local variable to typecast view
2016-04-16 10:57:39 -04:00
Ben Gotow
c87c49f4c8
Allow sheets to be attached at a custom offset #4679
...
Adds a new "setSheetOffset" API to the `dialog` module, which allows you to change the attachment point for sheets on Mac OS X. I put the API on the dialog module, even though Mac OS X requires that the native window hold and return the desired offset.
1. I was originally hoping to make this an argument on the actual dialog.show* calls, but it seems the parameter set is defined in `libchromiumcontent` and I wasn't sure it would be appropriate to add there?
2. The API could also be on the BrowserWindow (eg `BrowserWindow.setSheetOffset`). I don't have a strong preference, but I think it's more discoverable on the `dialog` module.
2016-04-16 10:16:43 -04:00
Cheng Zhao
aefb672393
Bump v0.37.6
2016-04-15 16:48:09 +09:00
Cheng Zhao
075da45b74
Merge pull request #5155 from electron/mac-background-color
...
Set the backgroundColor of RenderWidgetHostView
2016-04-15 08:48:09 +09:00
Cheng Zhao
b84a178ceb
Set the backgroundColor of RenderWidgetHostView
2016-04-14 21:52:17 +09:00
Cheng Zhao
64d37065bd
Merge pull request #5117 from deepak1556/devtools_security_panel_patch
...
provide security style for devtools security panel
2016-04-14 20:23:58 +09:00
deepak1556
54545a8a6e
provide security style for devtools security panel
2016-04-14 16:20:14 +05:30
Cheng Zhao
11ba1832d1
Only transparent window does not have background color
2016-04-14 19:35:31 +09:00
Cheng Zhao
31eb793fb0
Avoid adding a new option to webPreferences
2016-04-14 10:50:07 +09:00
Cheng Zhao
43c44da50b
Correctly set initial visibilityState
2016-04-13 23:07:28 +09:00
Cheng Zhao
92882c358a
No more need to delay did-fail-load event
2016-04-13 19:33:59 +09:00
Cheng Zhao
3780d9f033
Use LowMemoryNotification for GC
2016-04-13 17:58:36 +09:00
Cheng Zhao
99a9aa085e
views: Delay the focus/blur event to next tick
2016-04-13 11:02:34 +09:00
Cheng Zhao
2fbe06a2a5
Handle the Page.reload command coming from devtools
2016-04-12 16:36:12 +09:00
Cheng Zhao
a07612c1ed
Merge branch '5074-did-get-response-details-resource-type' of https://github.com/Mr0grog/electron into Mr0grog-5074-did-get-response-details-resource-type
2016-04-11 21:05:40 +09:00
Cheng Zhao
5659ee5c0b
Merge pull request #5030 from deepak1556/webrequest_response_headers_patch
...
session: webRequest.OnHeadersReceived should accept status line.
2016-04-11 20:04:32 +09:00
Rob Brackett
1a842bf9d5
Fix trailing whitespace caught by linter.
2016-04-08 13:15:40 -07:00
Rob Brackett
c1b1348735
Add resourceType
arg to webContents did-get-response-details
event.
...
Fixes #5074 and follows @zcbenz's recommendation to expose ResourceTypeToString from atom_network_delegate publicly.
Also adds testing for other arguments to the `did-get-response-details` events, since there were no existing tests for them.
2016-04-08 11:19:36 -07:00
deepak1556
3fb39ad3ef
provide option to override status line
2016-04-08 14:03:57 +05:30
Cheng Zhao
d156846036
Add backgroundThrottling option to webPreferences
2016-04-08 15:54:33 +09:00
deepak1556
4fc35a4587
session: webRequest.OnHeadersReceived should follow server redirect
...
Its required to follow server redirects.
2016-04-08 11:40:43 +05:30
Cheng Zhao
82856eb099
Merge pull request #5029 from Mr0grog/5013-add-main-frame-param-for-did-fail-load
...
Add `isMainFrame` param to WebContents `did-fail-load` event
2016-04-07 20:22:02 +09:00
Cheng Zhao
7d3f8cb222
Merge pull request #5009 from deepak1556/context_creation_patch
...
browser: create cert verifier when browser context is created
2016-04-07 16:18:55 +09:00
Cheng Zhao
efb0fc2ea5
Merge pull request #4968 from phamdaniel/exit-events
...
Don't emit 'will-quit' when 'app.exit()' is called.
2016-04-07 16:14:35 +09:00
Cheng Zhao
adb112e970
Merge pull request #5056 from electron/fix-a11y-reader
...
Fix NVDA/JAWS support in Electron
2016-04-07 16:11:05 +09:00
Cheng Zhao
548febfa4c
Fix style issues
2016-04-07 15:23:16 +09:00
Ben Gotow
e0ee60f290
Fix memory leak
2016-04-07 15:21:07 +09:00
Ben Gotow
91457fe739
Support images larger than self.bounds
2016-04-07 15:21:07 +09:00
Ben Gotow
f9644463a9
Fix broken template image support in Tray icon
...
Between Electron `0.30.x` and `0.37.x`, the tray icon stopped automatically inverting template images when highlighted. NSImageView normally uses the correct color for template images magicaly, but I think the addition of event handlers in the container view prevents the image view from determining highlight state.
This PR switches to drawing the image manually. The `drawRect` function decides whether to use `image` or `alternateImage`(pressed image) and then if that image is marked as a template, it fills it with the same color used for the text before drawing it.
2016-04-07 15:21:07 +09:00
Cheng Zhao
55b8e9aa44
Bump v0.37.5
2016-04-07 10:34:25 +09:00
Paul Betts
6e7aa6d299
Even though this call is probably fast, it can potentially happen a lot, make it _really_ fast
2016-04-06 10:44:39 -07:00
Paul Betts
c474ad0913
Revert "Remove custom WM_GETOBJECT"
...
This reverts commit 705001a50e
.
2016-04-06 10:16:41 -07:00
Rob Brackett
f12f87d6f0
Add isMainFrame
as last argument to WebContents did-fail-load
event.
...
Fixes #5013 .
2016-04-04 19:26:06 -07:00
Kevin Sawicki
fc84c952f2
Update source code for new org
2016-04-04 12:07:22 -07:00
Cheng Zhao
fdb138f79c
Bump v0.37.4
2016-04-03 18:31:23 +09:00
deepak1556
769ba02b2a
browser: create cert verifier when browser context is created
2016-04-03 10:01:47 +05:30
Cheng Zhao
491bf30a15
Window with frame should have white background by default
2016-04-03 12:04:58 +09:00
Cheng Zhao
f94661547c
mac: backgroundColor should not change titlebar color
2016-04-03 11:59:21 +09:00
Cheng Zhao
9828875ebc
Set the background color of RenderViewHost to transparent
2016-04-03 10:42:49 +09:00
Cheng Zhao
1980d85f3e
Fix converting SkColor to NSColor
...
Close #4992 .
2016-04-02 21:18:15 +09:00
Cheng Zhao
cb470cb94b
Use BrowserWindow's backgroundColor as renderer view's background color
2016-04-02 20:46:50 +09:00
Kevin Sawicki
ee9128268e
Rename atom.icns to electron.icns
2016-04-01 16:12:12 -07:00
Cheng Zhao
576b54320a
Fix compilation errors on Windows
2016-04-01 16:34:20 +09:00
deepak1556
e14c91771b
removed redundant delegation
2016-04-01 08:14:29 +05:30
deepak1556
e0fe478ae7
decide early on render initiated window creations
2016-04-01 08:14:29 +05:30
Robo
7016fbe258
browser: fix disposition value for new-window event
2016-04-01 08:14:29 +05:30
Kevin Sawicki
daa09ea9e7
Remove path for nodeIntgration value of 'disable'
2016-03-31 08:33:38 -07:00
Daniel Pham
6e46753499
Don't emit 'will-quit' when 'app.exit()' is called. Fixes #4643
2016-03-31 10:18:18 -04:00
Cheng Zhao
293ca4ef55
Merge pull request #4929 from deepak1556/url_request_fetch_job_patch
...
protocol: return status of ReadRawData instead of relying on SetStatus
2016-03-31 19:37:28 +09:00
Cheng Zhao
c220753c60
Merge pull request #4896 from felixrieseberg/default-protocol-handler
...
Enable Electron to set/unset itself as default protocol handler (OS X, Windows)
2016-03-31 10:38:57 +09:00
Cheng Zhao
0e3737423b
Merge pull request #4843 from jwheare/mac-swipe-events
...
OSX: Expose 3-finger swipe events in browser-window
2016-03-31 10:37:27 +09:00
Felix Rieseberg
1231360b2f
⚡ Add API: RemoveAsDefaultProtocolHandler
2016-03-28 15:31:01 -07:00
deepak1556
73201e419d
protocol: return status of ReadRawData instead of relying on SetStatus
2016-03-28 02:09:56 +05:30
Cheng Zhao
e401335ebb
Get rid of the global_env
2016-03-27 19:21:12 +09:00
Cheng Zhao
75f0942057
Bump v0.37.3
2016-03-27 12:16:12 +09:00
Felix Rieseberg
d2567b0381
⚡ Add API: SetASDefaultProtocolHandler
...
This PR adds an API enabling Electron to set itself as the default
protocol handler for a custom porotocl on both oS X and Windows.
For details, please see `docs/app.md`.
Closes #4857
2016-03-23 22:12:17 -07:00
James Wheare
8482109dea
Switch to a single OS X swipe event with a direction argument
2016-03-23 15:20:11 +00:00
Kevin Sawicki
6aa452cda4
Set _setDeprecatedOptionsCheck on exports
2016-03-18 09:06:03 -07:00
James Wheare
03319a5426
OSX: Capture 3-finger swipe events in NativeWindow
2016-03-18 15:21:19 +00:00
Kevin Sawicki
c31882749d
Correct typos in comments
2016-03-17 13:37:08 -07:00
Kevin Sawicki
15397bf879
Report deprecated BrowserWindow options
2016-03-17 13:37:07 -07:00