Cheng Zhao [Thu, 23 Jun 2016 04:00:14 +0000 (13:00 +0900)]
mac: Avoid calling setTitleVisibility for OS X 10.9
Cheng Zhao [Thu, 23 Jun 2016 03:31:26 +0000 (03:31 +0000)]
Merge pull request #6195 from electron/eagerly-require-protocol
Eagerly require protocol
Cheng Zhao [Thu, 23 Jun 2016 03:06:42 +0000 (03:06 +0000)]
Merge pull request #6192 from electron/native-image-api-names
Upper case initialisms in nativeImage API
Cheng Zhao [Thu, 23 Jun 2016 03:05:10 +0000 (12:05 +0900)]
Update brightray for #6178
Kevin Sawicki [Thu, 23 Jun 2016 01:51:39 +0000 (18:51 -0700)]
Eagerly require protocol
Cheng Zhao [Wed, 22 Jun 2016 23:33:30 +0000 (23:33 +0000)]
Merge pull request #6183 from joshaber/patch-1
Update external frameworks version
Kevin Sawicki [Wed, 22 Jun 2016 22:46:22 +0000 (15:46 -0700)]
toPng/toJpeg -> toPNG/toJPEG
Kevin Sawicki [Wed, 22 Jun 2016 20:09:16 +0000 (13:09 -0700)]
Merge pull request #6184 from electron/read-only-command-id
Make MenuItem.commandId read only
Kevin Sawicki [Wed, 22 Jun 2016 17:07:02 +0000 (10:07 -0700)]
Make commandId a read only property
Kevin Sawicki [Wed, 22 Jun 2016 17:06:54 +0000 (10:06 -0700)]
Add failing spec for writeable command id
Josh Abernathy [Wed, 22 Jun 2016 17:00:31 +0000 (13:00 -0400)]
Update external frameworks version
Bump to [1.1.0](https://github.com/electron/electron-frameworks/releases/tag/v1.1.0) which upgraded Squirrel.Mac.
Kevin Sawicki [Wed, 22 Jun 2016 17:00:01 +0000 (10:00 -0700)]
Merge pull request #6182 from electron/format-menu-item
Reformat MenuItem class
Kevin Sawicki [Wed, 22 Jun 2016 16:35:11 +0000 (09:35 -0700)]
Add back event param
Kevin Sawicki [Tue, 21 Jun 2016 23:07:20 +0000 (16:07 -0700)]
Move click variable near this.click
Kevin Sawicki [Tue, 21 Jun 2016 23:03:41 +0000 (16:03 -0700)]
:art: Destructure requires
Kevin Sawicki [Tue, 21 Jun 2016 23:02:15 +0000 (16:02 -0700)]
Add spec for submenu type with no submenu
Kevin Sawicki [Tue, 21 Jun 2016 22:59:02 +0000 (15:59 -0700)]
Add spec for invalid menu item type
Kevin Sawicki [Tue, 21 Jun 2016 22:41:37 +0000 (15:41 -0700)]
Remove CoffeeScript class wrapper
Cheng Zhao [Wed, 22 Jun 2016 11:25:49 +0000 (11:25 +0000)]
Merge pull request #6175 from miniak/content-protection
Add BrowserWindow.prototype.setContentProtection(enable)
Cheng Zhao [Wed, 22 Jun 2016 10:31:36 +0000 (10:31 +0000)]
Merge pull request #6173 from arifcakiroglu/patch-1
Update README.md
Milan Burda [Wed, 22 Jun 2016 08:40:01 +0000 (10:40 +0200)]
Add BrowserWindow.prototype.setContentProtection(enable)
Arif Çakıroğlu [Wed, 22 Jun 2016 08:02:14 +0000 (11:02 +0300)]
Update README.md
Cheng Zhao [Wed, 22 Jun 2016 07:34:10 +0000 (07:34 +0000)]
Merge pull request #6172 from electron/session-setuseragent
Add Session.setUserAgent(userAgent[, acceptLanguages]) API
Arif Çakıroğlu [Wed, 22 Jun 2016 07:11:13 +0000 (10:11 +0300)]
Update README.md
add `electron-tr` community
Cheng Zhao [Wed, 22 Jun 2016 07:10:36 +0000 (16:10 +0900)]
Fix usages of global BrowserContext in App::ImportCertificate
Cheng Zhao [Wed, 22 Jun 2016 07:05:38 +0000 (16:05 +0900)]
docs: ses.setUserAgent(userAgent[, acceptLanguages])
Cheng Zhao [Wed, 22 Jun 2016 06:57:51 +0000 (15:57 +0900)]
Add ses.getUserAgent()/setUserAgent(...) APIs
Cheng Zhao [Wed, 22 Jun 2016 06:46:46 +0000 (15:46 +0900)]
Cache the BrowserContext::GetUserAgent
Cheng Zhao [Wed, 22 Jun 2016 06:41:56 +0000 (15:41 +0900)]
Do not force creating default session in C++
Cheng Zhao [Wed, 22 Jun 2016 05:26:27 +0000 (05:26 +0000)]
Merge pull request #6171 from electron/maximize/minimize
mac: Fix maximize/unmaximize event emitted before window is maximized
Cheng Zhao [Wed, 22 Jun 2016 05:06:54 +0000 (14:06 +0900)]
mac: Fix maximize/unmaximize event emitted before window is maximized
Cheng Zhao [Wed, 22 Jun 2016 05:06:25 +0000 (05:06 +0000)]
Merge pull request #6170 from electron/click-event
Add "event" parameter for "click" handler of MenuItem
Cheng Zhao [Wed, 22 Jun 2016 04:36:10 +0000 (13:36 +0900)]
spec: Fix failing tests of Menu
Cheng Zhao [Wed, 22 Jun 2016 04:23:07 +0000 (13:23 +0900)]
docs: Reformat the menu-item.md
Cheng Zhao [Wed, 22 Jun 2016 02:22:14 +0000 (11:22 +0900)]
Add "event" parameter for "click" handler of MenuItem
Cheng Zhao [Wed, 22 Jun 2016 02:00:45 +0000 (11:00 +0900)]
Add EventEmitter::CreateEventFromFlags
Cheng Zhao [Wed, 22 Jun 2016 01:26:54 +0000 (10:26 +0900)]
Bump v1.2.4
Cheng Zhao [Wed, 22 Jun 2016 01:24:20 +0000 (01:24 +0000)]
Merge pull request #6169 from electron/map-roles-by-command-id
Map roles by command id instead of index
Cheng Zhao [Wed, 22 Jun 2016 01:12:10 +0000 (01:12 +0000)]
Merge pull request #6168 from electron/forward-delete
Support forward delete menu item accelerator
Cheng Zhao [Wed, 22 Jun 2016 00:58:39 +0000 (00:58 +0000)]
Merge pull request #6166 from electron/fullscreen-role
Add togglefullscreen menu item role
Kevin Sawicki [Tue, 21 Jun 2016 22:28:02 +0000 (15:28 -0700)]
Add comment about map key/values
Kevin Sawicki [Tue, 21 Jun 2016 22:25:14 +0000 (15:25 -0700)]
Map roles by command id
Kevin Sawicki [Tue, 21 Jun 2016 19:38:44 +0000 (12:38 -0700)]
Add delete accelerator to delete menu
Kevin Sawicki [Tue, 21 Jun 2016 19:33:02 +0000 (12:33 -0700)]
Make NSDeleteFunctionKey to NSDeleteCharacter
Kevin Sawicki [Tue, 21 Jun 2016 17:06:56 +0000 (10:06 -0700)]
Access function in methodInBrowserWindow
Kevin Sawicki [Tue, 21 Jun 2016 16:43:29 +0000 (09:43 -0700)]
Doc togglefullscreen menu item role
Kevin Sawicki [Tue, 21 Jun 2016 16:38:35 +0000 (09:38 -0700)]
:art:
Kevin Sawicki [Tue, 21 Jun 2016 16:34:41 +0000 (09:34 -0700)]
Use togglefullscreen role
Kevin Sawicki [Tue, 21 Jun 2016 16:34:12 +0000 (09:34 -0700)]
Add togglefullscreen role selector
Kevin Sawicki [Tue, 21 Jun 2016 16:31:17 +0000 (09:31 -0700)]
Add togglefullscreen role
Kevin Sawicki [Tue, 21 Jun 2016 16:20:22 +0000 (09:20 -0700)]
Merge pull request #6154 from electron/quit-role
Add quit menu item role
Kevin Sawicki [Tue, 21 Jun 2016 16:07:56 +0000 (09:07 -0700)]
Fix lint errors
Kevin Sawicki [Tue, 21 Jun 2016 00:20:57 +0000 (17:20 -0700)]
Document quit role
Kevin Sawicki [Tue, 21 Jun 2016 00:16:34 +0000 (17:16 -0700)]
Remove CoffeeScript ref variables
Kevin Sawicki [Tue, 21 Jun 2016 00:14:16 +0000 (17:14 -0700)]
Use const/let instead of var
Kevin Sawicki [Tue, 21 Jun 2016 00:08:45 +0000 (17:08 -0700)]
Add File > Exit menu on Windows
Kevin Sawicki [Tue, 21 Jun 2016 00:04:03 +0000 (17:04 -0700)]
Use quit role
Kevin Sawicki [Tue, 21 Jun 2016 00:03:59 +0000 (17:03 -0700)]
Map quit role to terminate selector
Kevin Sawicki [Tue, 21 Jun 2016 00:03:48 +0000 (17:03 -0700)]
Add quit role
Cheng Zhao [Tue, 21 Jun 2016 09:34:55 +0000 (09:34 +0000)]
Merge pull request #6161 from electron/refresh-menu-bar-color
Update menubar color when theme changes
Cheng Zhao [Tue, 21 Jun 2016 09:05:01 +0000 (18:05 +0900)]
Update menubar color when theme changes
Cheng Zhao [Tue, 21 Jun 2016 08:54:55 +0000 (08:54 +0000)]
linux: Disable parent window when showing modal dialogs (#6160)
Cheng Zhao [Tue, 21 Jun 2016 07:38:03 +0000 (16:38 +0900)]
Merge pull request #6159 from electron/tray-get-bounds
Cheng Zhao [Tue, 21 Jun 2016 07:20:33 +0000 (16:20 +0900)]
docs: Make tray.md follow docs style guide
Cheng Zhao [Tue, 21 Jun 2016 07:13:50 +0000 (16:13 +0900)]
docs: Tray.getBounds()
Cheng Zhao [Tue, 21 Jun 2016 07:05:28 +0000 (16:05 +0900)]
win: Use DIP rect for tray icon's bounds
Cheng Zhao [Tue, 21 Jun 2016 06:49:22 +0000 (15:49 +0900)]
win: Implement tray.getBounds() API
Cheng Zhao [Tue, 21 Jun 2016 06:40:30 +0000 (15:40 +0900)]
mac: Add tray.getBounds() API
Cheng Zhao [Tue, 21 Jun 2016 03:24:25 +0000 (12:24 +0900)]
Update brightray for electron/brightray#228
Kevin Sawicki [Tue, 21 Jun 2016 00:54:15 +0000 (17:54 -0700)]
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
Charlie Hess [Tue, 21 Jun 2016 00:48:42 +0000 (17:48 -0700)]
Add systemPreferences.subscribeLocalNotification. (#6150)
Cheng Zhao [Mon, 20 Jun 2016 13:03:16 +0000 (13:03 +0000)]
Merge pull request #6147 from electron/open-item-in-folder
mac: Convert path to absolute path in ShowItemInFolder
Cheng Zhao [Mon, 20 Jun 2016 12:14:17 +0000 (21:14 +0900)]
mac: Convert path to absolute path in ShowItemInFolder
Cheng Zhao [Mon, 20 Jun 2016 08:50:16 +0000 (08:50 +0000)]
Merge pull request #6145 from electron/app-indicator-id
Use fixed ID for app indicators
Cheng Zhao [Mon, 20 Jun 2016 08:35:45 +0000 (17:35 +0900)]
Use fixed ID for app indicators
Cheng Zhao [Mon, 20 Jun 2016 08:09:42 +0000 (08:09 +0000)]
Merge pull request #6144 from electron/crash-release-renderer
Avoid calling Environment::GetCurrent for unjected contexts
Cheng Zhao [Mon, 20 Jun 2016 07:51:42 +0000 (16:51 +0900)]
Avoid calling Environment::GetCurrent for unjected contexts
It seems to cause crashes when it is called for contexts that do not
have node integrations.
Cheng Zhao [Mon, 20 Jun 2016 07:27:05 +0000 (07:27 +0000)]
Merge pull request #6140 from electron/parent
Add support for child windows
Cheng Zhao [Mon, 20 Jun 2016 07:00:38 +0000 (16:00 +0900)]
docs: modal window is greatly simplified
Cheng Zhao [Mon, 20 Jun 2016 06:44:50 +0000 (15:44 +0900)]
Only define enable/disable API for views
Cheng Zhao [Mon, 20 Jun 2016 05:49:24 +0000 (14:49 +0900)]
macOS: Use sheet window as modal window
Cheng Zhao [Mon, 20 Jun 2016 02:48:46 +0000 (11:48 +0900)]
Move disable counter to NativeWindow from api::Window
Cheng Zhao [Mon, 20 Jun 2016 02:06:48 +0000 (11:06 +0900)]
docs: Parent and child windows
Cheng Zhao [Sun, 19 Jun 2016 08:49:31 +0000 (17:49 +0900)]
linux: Make modal dialog show more smoothly
Cheng Zhao [Sun, 19 Jun 2016 08:35:56 +0000 (17:35 +0900)]
linux: Implement win.disable/enable/isEnabled() API
Cheng Zhao [Sun, 19 Jun 2016 07:55:45 +0000 (16:55 +0900)]
Do not emit "unresponsive" when there is modal dialog
Cheng Zhao [Sun, 19 Jun 2016 06:47:27 +0000 (15:47 +0900)]
linux: Implement win.setParentWindow(parent)
Cheng Zhao [Sun, 19 Jun 2016 03:18:48 +0000 (12:18 +0900)]
win: Implement win.disable/enable/isEnabled() API
Cheng Zhao [Sun, 19 Jun 2016 03:10:25 +0000 (12:10 +0900)]
spec: Avoid calling setParentWindow for unrelated tests
Cheng Zhao [Sun, 19 Jun 2016 03:06:08 +0000 (12:06 +0900)]
Add "parent" option for BrowserWindow
Cheng Zhao [Sun, 19 Jun 2016 02:19:32 +0000 (11:19 +0900)]
views: Initial implementation of win.setParentWindow(parent)
But it doesn't work, aparrently Chromium doesn't support changing
parent window dynamically on desktop.
Cheng Zhao [Sat, 18 Jun 2016 13:53:41 +0000 (22:53 +0900)]
mac: Add win.beginSheet(sheet)/endSheet(sheet) API
Cheng Zhao [Sat, 18 Jun 2016 00:51:37 +0000 (09:51 +0900)]
spec: Test cases for win.setModal(modal)
Cheng Zhao [Sat, 18 Jun 2016 00:42:18 +0000 (09:42 +0900)]
Handle multiple modal windows correctly
Cheng Zhao [Fri, 17 Jun 2016 08:49:35 +0000 (17:49 +0900)]
Add win.setModal(modal) API
Cheng Zhao [Fri, 17 Jun 2016 08:38:44 +0000 (17:38 +0900)]
mac: Add win.disable/enable/isEnabled() API
Cheng Zhao [Fri, 17 Jun 2016 07:57:18 +0000 (16:57 +0900)]
spec: Test cases for parent window
Cheng Zhao [Fri, 17 Jun 2016 07:57:03 +0000 (16:57 +0900)]
Add win.getChildWindows() API
Cheng Zhao [Fri, 17 Jun 2016 07:09:43 +0000 (16:09 +0900)]
Add win.getParentWindow() API
Cheng Zhao [Fri, 17 Jun 2016 06:47:05 +0000 (15:47 +0900)]
mac: Close all child windows before closing current window