Cheng Zhao
8ffd069689
mac: Fix maximize/unmaximize event emitted before window is maximized
2016-06-22 14:06:54 +09:00
Cheng Zhao
a5976055bf
Merge pull request #6170 from electron/click-event
...
Add "event" parameter for "click" handler of MenuItem
2016-06-22 05:06:25 +00:00
Cheng Zhao
90b64504fc
spec: Fix failing tests of Menu
2016-06-22 13:36:10 +09:00
Cheng Zhao
62d0dbea5a
docs: Reformat the menu-item.md
2016-06-22 13:23:07 +09:00
Cheng Zhao
8d08e215b2
Add "event" parameter for "click" handler of MenuItem
2016-06-22 11:22:14 +09:00
Cheng Zhao
e6327fb015
Add EventEmitter::CreateEventFromFlags
2016-06-22 11:00:45 +09:00
Cheng Zhao
08a1e92650
Bump v1.2.4
2016-06-22 10:26:54 +09:00
Cheng Zhao
4e811fc377
Merge pull request #6169 from electron/map-roles-by-command-id
...
Map roles by command id instead of index
2016-06-22 01:24:20 +00:00
Cheng Zhao
c0aebc9d4f
Merge pull request #6168 from electron/forward-delete
...
Support forward delete menu item accelerator
2016-06-22 01:12:10 +00:00
Cheng Zhao
85c163e58a
Merge pull request #6166 from electron/fullscreen-role
...
Add togglefullscreen menu item role
2016-06-22 00:58:39 +00:00
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
9486df1303
Add delete accelerator to delete menu
2016-06-21 12:38:44 -07:00
Kevin Sawicki
738edb650d
Make NSDeleteFunctionKey to NSDeleteCharacter
2016-06-21 12:33:02 -07:00
Kevin Sawicki
3505e98a46
Access function in methodInBrowserWindow
2016-06-21 10:08:30 -07:00
Kevin Sawicki
35097b244e
Doc togglefullscreen menu item role
2016-06-21 09:43:29 -07:00
Kevin Sawicki
dcd832e88c
🎨
2016-06-21 09:38:35 -07:00
Kevin Sawicki
3cdf36c536
Use togglefullscreen role
2016-06-21 09:34:41 -07:00
Kevin Sawicki
2536e62fb0
Add togglefullscreen role selector
2016-06-21 09:34:29 -07:00
Kevin Sawicki
e3e1ed41ca
Add togglefullscreen role
2016-06-21 09:31:17 -07:00
Kevin Sawicki
59ff3dc2f3
Merge pull request #6154 from electron/quit-role
...
Add quit menu item role
2016-06-21 09:20:22 -07:00
Kevin Sawicki
fbfac6d49b
Fix lint errors
2016-06-21 09:08:13 -07:00
Kevin Sawicki
395c372702
Document quit role
2016-06-21 09:08:13 -07:00
Kevin Sawicki
32ea5a5e27
Remove CoffeeScript ref variables
2016-06-21 09:08:13 -07:00
Kevin Sawicki
2d8ec60eed
Use const/let instead of var
2016-06-21 09:08:13 -07:00
Kevin Sawicki
11ba7eaa91
Add File > Exit menu on Windows
2016-06-21 09:08:13 -07:00
Kevin Sawicki
7a6436014e
Use quit role
2016-06-21 09:08:13 -07:00
Kevin Sawicki
67f7b4d4c5
Map quit role to terminate selector
2016-06-21 09:08:13 -07:00
Kevin Sawicki
a16d907684
Add quit role
2016-06-21 09:08:12 -07:00
Cheng Zhao
f45e6c6c38
Merge pull request #6161 from electron/refresh-menu-bar-color
...
Update menubar color when theme changes
2016-06-21 09:34:55 +00: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
00f5fa440d
Merge pull request #6159 from electron/tray-get-bounds
2016-06-21 16:38:03 +09:00
Cheng Zhao
9d63199c37
docs: Make tray.md follow docs style guide
2016-06-21 16:20:33 +09:00
Cheng Zhao
11f242a241
docs: Tray.getBounds()
2016-06-21 16:13:50 +09: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
Cheng Zhao
9993aab5b1
Update brightray for electron/brightray#228
2016-06-21 12:24:25 +09:00
Kevin Sawicki
8a9f2261d0
Add default error handler to remote promises ( #6151 )
...
* Add failing spec for unhandled main process exception
* Remove unused return
* Use let/const instead of var
* Add spec for unhandled rejection in renderer process
* Prevent unhandled rejection defaul
* Use once instead of on
* Add default fulfilled/rejection handler to promise
2016-06-21 00:54:15 +00:00
Charlie Hess
74321dce74
Add systemPreferences.subscribeLocalNotification. ( #6150 )
2016-06-21 00:48:42 +00:00
Cheng Zhao
1837a938a1
Merge pull request #6147 from electron/open-item-in-folder
...
mac: Convert path to absolute path in ShowItemInFolder
2016-06-20 13:03:16 +00:00
Cheng Zhao
c9d5c4e45c
mac: Convert path to absolute path in ShowItemInFolder
2016-06-20 21:14:17 +09:00
Cheng Zhao
b87cf3771b
Merge pull request #6145 from electron/app-indicator-id
...
Use fixed ID for app indicators
2016-06-20 08:50:16 +00:00
Cheng Zhao
5e459b057e
Use fixed ID for app indicators
2016-06-20 17:35:45 +09:00
Cheng Zhao
6bd1a2dec6
Merge pull request #6144 from electron/crash-release-renderer
...
Avoid calling Environment::GetCurrent for unjected contexts
2016-06-20 08:09:42 +00:00
Cheng Zhao
a3dd6c635f
Avoid calling Environment::GetCurrent for unjected contexts
...
It seems to cause crashes when it is called for contexts that do not
have node integrations.
2016-06-20 16:51:42 +09:00
Cheng Zhao
3428874907
Merge pull request #6140 from electron/parent
...
Add support for child windows
2016-06-20 07:27:05 +00:00
Cheng Zhao
f7a9b1ae04
docs: modal window is greatly simplified
2016-06-20 16:00:38 +09:00
Cheng Zhao
5674e8d114
Only define enable/disable API for views
2016-06-20 15:44:50 +09:00