Kevin Sawicki
812dea9a8b
Add comment about map key/values
2016-06-21 15:28:02 -07:00
Kevin Sawicki
583cc925ac
Map roles by command id
2016-06-21 15:25:14 -07:00
Kevin Sawicki
738edb650d
Make NSDeleteFunctionKey to NSDeleteCharacter
2016-06-21 12:33:02 -07:00
Kevin Sawicki
2536e62fb0
Add togglefullscreen role selector
2016-06-21 09:34:29 -07:00
Kevin Sawicki
67f7b4d4c5
Map quit role to terminate selector
2016-06-21 09:08:13 -07:00
Heilig Benedek
3c92825e2a
Fix init list order
2016-06-21 14:32:22 +02:00
Cheng Zhao
aca37c8974
Update menubar color when theme changes
2016-06-21 18:05:01 +09:00
Cheng Zhao
816b2ea8f2
linux: Disable parent window when showing modal dialogs ( #6160 )
2016-06-21 08:54:55 +00:00
Cheng Zhao
324153d394
win: Use DIP rect for tray icon's bounds
2016-06-21 16:05:28 +09:00
Cheng Zhao
886ef1717c
win: Implement tray.getBounds() API
2016-06-21 15:49:22 +09:00
Cheng Zhao
db98e256f2
mac: Add tray.getBounds() API
2016-06-21 15:40:30 +09:00
Charlie Hess
74321dce74
Add systemPreferences.subscribeLocalNotification. ( #6150 )
2016-06-21 00:48:42 +00:00
Heilig Benedek
3529f8a40a
Frame subscriber bugfix + added only_damaged option
2016-06-21 02:42:00 +02:00
Cheng Zhao
5e459b057e
Use fixed ID for app indicators
2016-06-20 17:35:45 +09:00
Cheng Zhao
5674e8d114
Only define enable/disable API for views
2016-06-20 15:44:50 +09:00
Cheng Zhao
e33e4be257
macOS: Use sheet window as modal window
2016-06-20 14:49:24 +09:00
Cheng Zhao
1866dbe608
Move disable counter to NativeWindow from api::Window
2016-06-20 11:48:46 +09:00
Cheng Zhao
02acce8991
linux: Make modal dialog show more smoothly
2016-06-20 11:16:41 +09:00
Cheng Zhao
9aa7291627
linux: Implement win.disable/enable/isEnabled() API
2016-06-20 11:16:41 +09:00
Cheng Zhao
074903ca33
Do not emit "unresponsive" when there is modal dialog
2016-06-20 11:16:41 +09:00
Cheng Zhao
f4bec78ccb
linux: Implement win.setParentWindow(parent)
2016-06-20 11:16:41 +09:00
Cheng Zhao
4c3c4437da
win: Implement win.disable/enable/isEnabled() API
2016-06-20 11:16:41 +09:00
Cheng Zhao
85ba382027
Add "parent" option for BrowserWindow
2016-06-20 11:16:41 +09:00
Cheng Zhao
473413e874
views: Initial implementation of win.setParentWindow(parent)
...
But it doesn't work, aparrently Chromium doesn't support changing
parent window dynamically on desktop.
2016-06-20 11:16:41 +09:00
Cheng Zhao
f2cbd7cb36
mac: Add win.beginSheet(sheet)/endSheet(sheet) API
2016-06-20 11:16:41 +09:00
Cheng Zhao
1104dded24
Handle multiple modal windows correctly
2016-06-20 11:16:41 +09:00
Cheng Zhao
1a4b4a65c9
mac: Add win.disable/enable/isEnabled() API
2016-06-20 11:16:41 +09:00
Cheng Zhao
6cef29e4ee
Add win.getChildWindows() API
2016-06-20 11:16:41 +09:00
Cheng Zhao
22513efd55
Add win.getParentWindow() API
2016-06-20 11:16:41 +09:00
Cheng Zhao
fb7e7b315c
mac: Close all child windows before closing current window
2016-06-20 11:16:41 +09:00
Cheng Zhao
fd42e3dc84
mac: Add win.setParentWindow(parent) API
2016-06-20 11:16:41 +09:00
Cheng Zhao
6f4899bd94
Merge pull request #6068 from electron/redispatch-events
...
Redispatch events to handle native OSX shortcuts
2016-06-19 11:22:02 +00:00
Cheng Zhao
d3bf400d56
Use class extension to avoid type conversion
2016-06-19 20:16:19 +09:00
Leonard Lamprecht
67dd19ed0f
Replace OS X and Mac OS with macOS
2016-06-18 15:26:26 +02:00
Kevin Sawicki
754c4654d4
Add back window check
2016-06-17 16:23:54 -07:00
Daniel Pham
a8a6f6f856
🍎 Fix context menus selecting first item by default.
2016-06-17 17:03:15 -04:00
Kevin Sawicki
13e554ab11
🎨
2016-06-17 11:32:56 -07:00
Kevin Sawicki
711c3abaeb
Remove isKindOfClass check
2016-06-17 11:13:28 -07:00
Kevin Sawicki
0e65977a3c
Use EventDispatchingWindow from brightray
2016-06-17 11:11:50 -07:00
Kevin Sawicki
3bc4f188ef
Handle redispatch in devtools undocked windows
2016-06-17 10:27:53 -07:00
Kevin Sawicki
e0f06d582d
Remove unneeded method declaration
2016-06-17 10:02:35 -07:00
Kevin Sawicki
1e73d48198
🎨
2016-06-17 09:13:00 -07:00
Kevin Sawicki
02abda4be8
Use isKindOfClass
2016-06-17 09:13:00 -07:00
Kevin Sawicki
b80f20912f
Remove unused property
2016-06-17 09:12:59 -07:00
Kevin Sawicki
1762599df0
Remove unused variable
2016-06-17 09:12:59 -07:00
Kevin Sawicki
a2bbfea9e0
Redispatch events to handle native shortcuts
2016-06-17 09:12:59 -07:00
Cheng Zhao
57ed682e34
Merge pull request #6091 from electron/icon-progress-crash
...
Fix crash setting progress after setting dock icon
2016-06-17 03:29:49 +00:00
Cheng Zhao
6b20d6c189
Don't change the behavior of transparent window
2016-06-17 11:02:37 +09:00
Cheng Zhao
9eea973d31
Use the setTitleVisibility to control tittlebar's visibility
2016-06-17 10:54:50 +09:00
Kevin Sawicki
5f0238ebf4
Add subview whenever content view is empty
2016-06-16 14:57:23 -07:00
bridiver
2094b39460
set the title for hidden and hidden-inset windows so they show up in the window menu list
...
fixes #6088
2016-06-16 13:12:53 -07:00
Cheng Zhao
553341db87
Bump v1.2.3
2016-06-16 12:38:00 +09:00
Cheng Zhao
fe0e17d1c3
Make api::Protocol thread safe
2016-06-16 11:09:52 +09:00
Cheng Zhao
659384383e
Avoid storing JobFactory in BrowserContext
...
JobFactory should always be created and accessed in IO thread.
2016-06-16 11:09:51 +09:00
Cheng Zhao
9372d4df32
Make sure BrowserContext is deleted after Protocol
2016-06-16 11:09:51 +09:00
Cheng Zhao
bb10551d23
Work around a compiler bug that crashes on Windows
2016-06-16 10:55:25 +09:00
Kevin Sawicki
4e89656538
🎨
2016-06-14 15:47:33 -07:00
Kevin Sawicki
bf791c110f
Tweak type check to consider windows and webviews
2016-06-14 15:47:33 -07:00
Kevin Sawicki
85517a1eea
Add 2 spaces before comment
2016-06-14 15:47:33 -07:00
Kevin Sawicki
f29801ad2b
Add background page web contents type
2016-06-14 15:47:33 -07:00
Kevin Sawicki
ee0bab6389
Specify type instead of isGuest
2016-06-14 15:47:33 -07:00
Kevin Sawicki
c7b2545b1b
Use web contents type enum and add converter
2016-06-14 15:47:32 -07:00
Kevin Sawicki
fc2b5eebc0
Remove unused includes
2016-06-14 15:47:32 -07:00
Kevin Sawicki
f25c1f864b
Use RenderProcessPreferences for non-remote web contents
2016-06-14 15:47:32 -07:00
Cheng Zhao
f7f86160c1
Only do the trick when window is hidden
2016-06-13 22:18:57 +09:00
Cheng Zhao
4d65af3c60
Add ready-to-show event
2016-06-13 21:20:16 +09:00
Cheng Zhao
50f1837097
On Windows focusable: false also means skipTaskbar: true
2016-06-13 17:24:45 +09:00
Cheng Zhao
8eca728e0a
Add focusable option
2016-06-13 17:10:28 +09:00
Cheng Zhao
ce00f4a273
Merge pull request #6013 from miniak/setIgnoreFocus
...
Add BrowserWindow.prototype.setIgnoreFocus
2016-06-13 07:18:10 +00:00
Cheng Zhao
26c4fc34cb
Reset SQRLUpdater when setFeedURL is called
2016-06-13 09:41:14 +09:00
Cheng Zhao
a3786f66c9
Do not add JS wrapper for setFeedURL
...
When possible we should avoid adding wrappers in JS, it usually makes
code more difficult to mantain
2016-06-13 09:38:47 +09:00
Cheng Zhao
e2442fb052
Move converter for std::map to native_mate
2016-06-13 09:27:13 +09:00
Milan Burda
7a1d1ee0ea
Add BrowserWindow.prototype.setIgnoreFocus
2016-06-12 20:20:57 +02:00
Milan Burda
c89d8b19b6
Add optional requestHeaders argument to autoUpdater.setFeedURL + allow calling mulitple times
2016-06-12 12:46:16 +02:00
Cheng Zhao
dcad25c98c
Add isPaused and canResume
2016-06-09 20:51:01 +09:00
Cheng Zhao
0321e23c7a
Add DownloadItem.getState
2016-06-09 20:27:39 +09:00
Cheng Zhao
2ec5406ca6
Merge pull request #5904 from deepak1556/extension_partition_patch
...
browser: set up extension protocol handler for each browser context
2016-06-09 08:04:58 +00:00
Vadim Macagon
a6f0fcf89f
Fix typo in atom::TaskbarHost::InitializeTaskbar()
...
`InitailizeTaskbar` -> `InitializeTaskbar`
2016-06-09 12:21:21 +07:00
deepak1556
aa853dd3be
move protocol to session properties for working with partitions
2016-06-09 10:39:18 +05:30
deepak1556
0e0235407b
fill net::URLRequest details on IO thread
2016-06-09 10:39:18 +05:30
deepak1556
414183e0fd
fix dereferencing null pointer
2016-06-09 10:39:18 +05:30
Cheng Zhao
8a92ee403c
Merge pull request #5945 from electron/default-title-to-app-name
...
Default window title to app name
2016-06-09 02:06:30 +00:00
Cheng Zhao
0abd55221d
Merge pull request #5944 from electron/set-maximizable-last
...
Set maximizable state after installing view
2016-06-09 01:52:35 +00:00
Cheng Zhao
b422c47b67
Merge pull request #5943 from bbondy/master
...
Allow obtaining system Pepper Flash path
2016-06-09 01:48:53 +00:00
Kevin Sawicki
7d48827199
Default window title to app name
2016-06-08 14:17:33 -07:00
Kevin Sawicki
9f93f4e27f
Set maximizable state after installing view
2016-06-08 13:56:45 -07:00
Brian R. Bondy
352a9cd6f2
Allow obtaining system Pepper Flash path
2016-06-08 16:40:15 -04:00
Kevin Sawicki
f33537336b
Add default statement
2016-06-08 12:00:14 -07:00
Kevin Sawicki
11e68ff932
Only add extensions to non-remote webContents
2016-06-08 12:00:13 -07:00
Kevin Sawicki
219d177731
Load extensions for all web contents
2016-06-08 12:00:13 -07:00
Kevin Sawicki
7250c461be
Remove NOTIMPLEMENTED() call
2016-06-08 10:21:28 -07:00
Kevin Sawicki
70996c79ba
Add showDefinitionForSelection webContents proxy method
2016-06-08 10:19:43 -07:00
Kevin Sawicki
6337e93e6d
Check for Mac in if block
2016-06-08 10:15:37 -07:00
Kevin Sawicki
8c520cf158
🎨
2016-06-08 10:15:36 -07:00
Kevin Sawicki
6360a5cae4
Add deprecation TODO for BrowserWindow.showDefinitionForSelection
2016-06-08 10:15:36 -07:00
Kevin Sawicki
4f0a52628e
Add showDefinitionForSelection to webContents/webview
2016-06-08 10:15:36 -07:00
Cheng Zhao
b2bea57eff
Bump v1.2.2
2016-06-08 16:47:41 +09:00
Cheng Zhao
7108cc5f2b
Mark standard scheme as safe scheme
2016-06-08 15:49:26 +09:00
Cheng Zhao
920ebee333
Make sure standard schemes are also set in child process
2016-06-08 15:46:50 +09:00
Kevin Sawicki
ae71cf3df1
Add disableBlinkFeatures option
2016-06-07 13:42:42 -07:00
Cheng Zhao
f8b69c1fac
Implement SetIgnoreMouseEvents for Linux
2016-06-07 20:23:29 +09:00
Cheng Zhao
cae25cab3e
Implement SetIgnoreMouseEvents for Windows
2016-06-07 19:38:41 +09:00
Cheng Zhao
b444211d6f
Fix title of frameless window showing as empty under fullscreen
2016-06-07 17:26:26 +09:00
Cheng Zhao
3c873736d7
Add update-target-url event
2016-06-07 15:56:19 +09:00
Cheng Zhao
02cfe30df9
Add app.disableHardwareAcceleration() API
2016-06-06 20:19:55 +09:00
Cheng Zhao
32b692b60c
Fix NativeWindow::Focus not moving focus to window
...
Chromium's implementation is somehow not working as expected, the new
implementation follows the behavior of wmctrl.
2016-06-06 16:59:31 +09:00
Daniel Pham
bd1eae86a1
Add 'delete' and 'pasteandmatchstyle' roles
2016-06-05 21:50:37 -04:00
Cheng Zhao
f59eecb1cc
Merge pull request #5833 from CharlieHess/osx-global-defaults
...
Support array / dictionary types in getUserDefault
2016-06-03 08:36:44 +00:00
Cheng Zhao
be6ed84ff2
args should always be checked
2016-06-03 12:08:45 +09:00
Cheng Zhao
91a9e67dca
Provide a flexible API for app.relaunch
2016-06-02 21:49:29 +09:00
Cheng Zhao
3de41fb22d
Correctly quotes the argv on Windows
2016-06-02 21:10:39 +09:00
Cheng Zhao
8435f1c900
Allow using current argv for relaunch
2016-06-02 20:48:36 +09:00
Cheng Zhao
9a08cbce27
Uniform when to use args or argv
2016-06-02 20:41:59 +09:00
Cheng Zhao
0d066de53e
Make sure the new instance inherite cwd on mac
2016-06-02 20:32:29 +09:00
Cheng Zhao
0646f6ea9e
Implement Relaunch on Windows
2016-06-02 19:49:36 +09:00
Cheng Zhao
a3f39e9d0b
Implement Relaunch on Linux
2016-06-02 16:54:21 +09:00
Cheng Zhao
c3fe2dae9d
Separate LaunchProgram from mac implementation
2016-06-02 16:23:46 +09:00
Charlie Hess
fa3b17444f
All we really need to do is make getUserDefault support array / object types.
2016-06-01 19:21:17 -07:00
Charlie Hess
587dd2fe51
Expose the method to JS and write a simple test.
2016-06-01 18:56:25 -07:00
Charlie Hess
0230567891
Write a new method that returns prefs under the NSGlobalDomain.
2016-06-01 18:55:20 -07:00
Charlie Hess
aa1b8cd74b
Expose the NSArrayToListValue converter.
2016-06-01 18:53:49 -07:00
Cheng Zhao
060829da64
Separate implementations of RelauncherMain and RelauncherSynchronizeWithParent
2016-06-02 09:09:32 +09:00
Cheng Zhao
fc30a2a084
Use AtomCommandLine to process command line parameters
2016-06-01 22:15:50 +09:00
Cheng Zhao
6df18956cd
Get ready to make relauncher cross-platform
2016-06-01 22:04:20 +09:00
Cheng Zhao
abdcb9d481
Implement app.relaunch on OS X
2016-06-01 18:22:14 +09:00
Cheng Zhao
97dd71d79e
Bump v1.2.1
2016-06-01 16:15:53 +09:00
deepak1556
de4bff003f
fix header paths and comments
2016-06-01 11:44:29 +05:30
deepak1556
db4dc4757a
move bluetooth_chooser to atom/browser/lib
2016-06-01 11:43:39 +05:30
deepak1556
a70749e80a
browser: implement bluetooth chooser interface
2016-06-01 11:43:39 +05:30
Cheng Zhao
aea2135016
Keep copies of window icons
2016-05-31 17:47:45 +09:00
Cheng Zhao
f02143b8f2
Clear the buffers before notifying the other end of the pipe
2016-05-30 22:38:01 +09:00
Cheng Zhao
49f1278601
Refactor the URLRequestFetchJob code
...
This makes the read end and write end of the pipe have same logic, so it
is more easy to maintain.
2016-05-30 20:31:00 +09:00
Cheng Zhao
912cedc593
Merge pull request #5753 from deepak1556/url_request_fetch_job_patch
...
protocol: store initial response data for when resource loader becomes ready
2016-05-30 10:53:53 +00:00
Cheng Zhao
a176aaee01
Merge pull request #5734 from danhp/fix-aspect-ratio
...
Fix 'setAspectRatio(0)' not resetting the default behaviour.
2016-05-30 01:14:03 +00:00
Cheng Zhao
3e41aebaa7
Merge pull request #5763 from electron/window-icon-size
...
Choose the correct icon size for Windows taskbar
2016-05-30 01:01:28 +00:00
Cheng Zhao
26fa963a70
Merge pull request #5720 from danhp/release-single-instance
...
Add 'app.releaseSingleInstance()'
2016-05-30 00:51:13 +00:00
Cheng Zhao
5a9eb5cfa6
Choose the correct icon size for Windows taskbar
2016-05-30 09:46:42 +09:00
Cheng Zhao
79cb648b6b
Merge pull request #5726 from danhp/fix-context-menu
...
Fix context menus only showing on primary monitor.
2016-05-30 00:16:21 +00:00
Cheng Zhao
09796587b4
Remove trailing whitespaces and cleanup the code logic
2016-05-30 09:12:16 +09:00
Cheng Zhao
ec53e49fad
Merge pull request #5718 from felixrieseberg/windows-fullscreenable
...
Fix setFullscreen() on Windows
2016-05-30 00:08:16 +00:00
Cheng Zhao
9f0fc96025
Merge pull request #5711 from electron/extension-code-cleanup
...
Implement partial chrome.* API for devtools extension
2016-05-29 23:29:08 +00:00
deepak1556
23fbb57d72
protocol: store response data when reader is not ready
2016-05-29 13:17:31 +05:30
Cheng Zhao
5f3fdbe635
Simplify the implementation of sendToAll
2016-05-29 12:10:32 +09:00
Cheng Zhao
dd804d7432
Enable specifying custom command line switches
2016-05-29 10:34:53 +09:00
Cheng Zhao
f4fe60d126
Set default mimeType for BufferJob
2016-05-28 22:36:22 +09:00
Cheng Zhao
dfe7ae2124
Add webContents.fromId
2016-05-28 10:10:24 +09:00
Kevin Sawicki
b465f2c3c4
Remove duplicate hidden-inset check
2016-05-27 13:27:35 -07:00
Daniel Pham
0c710fce33
🍎 Fix 'setAspectRatio(0)' not resetting the default behaviour.
2016-05-27 08:56:34 -04:00
Cheng Zhao
9ab76fb884
Add webContents.sendToAll to send message to all frames
2016-05-27 16:58:49 +09:00
Cheng Zhao
7eab259d92
Make it possible to only set preferences for BrowserWindow
2016-05-27 09:20:46 +09:00
Cheng Zhao
4fb9e20c33
Add API to set render process preferences
2016-05-27 08:51:02 +09:00
Daniel Pham
f4c3f0423a
🎁 Add 'app.releaseSingleInstance()'
2016-05-26 18:50:06 -04:00
Daniel Pham
b0c72adbe1
🍎 Fix context menus only showing on primary monitor.
2016-05-26 17:43:38 -04:00
Felix Rieseberg
836f8ab33c
🐛 Fix setFullscreen() on Windows
...
This ensures that a BrowserWindow responds to `setFullscreen(true)` if
`full screenable` was not defined during creation.
This bug was on Windows only.
2016-05-26 11:52:25 -07:00
Cheng Zhao
cdfbe876a5
Make sure chrome.devtools.inspectedWindow.tabId is set
2016-05-26 19:57:10 +09:00
Cheng Zhao
c1272743b9
Bump v1.2.0
2016-05-26 18:07:52 +09:00
Cheng Zhao
20b09e9d03
Merge pull request #5701 from danhp/propagate-close
...
Properly notify observers when window prevents close
2016-05-26 05:33:55 +00:00
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