Daniel Ma
4fb9f825b1
Add "New Tab" button for Native macOS Tabs
...
Adds responders for `newWindowForTab` to `AtomApplicationDelegate` and
`NativeWindowMac`, so that `BrowserWindow`s with a `tabbingIdentifier`
will get the new tab button, and both `app` and `window` will emit a
`new-tab-for-window` event.
2017-06-11 02:26:26 -07:00
Haojian Wu
5f724e57bc
Avoid unnecessary copy of parameters.
2017-03-29 22:06:07 +02:00
Kevin Sawicki
e2501a80e4
Add path and args to LoginItemSettings struct
2017-02-06 08:34:35 -08:00
CharlieHess
62c8a00347
This is rubbish let's pull the escape hatch.
...
Make all these arguments user-provided instead.
2017-02-06 08:34:35 -08:00
CharlieHess
0a6a8192b6
Close to a working Squirrel shortcut.
2017-02-06 08:34:35 -08:00
Charlie Hess
39b6bcb621
First pass at auto-launch supporting Squirrel.
2017-02-06 08:34:35 -08:00
Kevin Sawicki
7de6a06acf
Support setting about panel options
2016-10-10 13:30:58 -07:00
Kevin Sawicki
1072519488
Mark atom-shell version as deprecated
2016-09-16 15:59:00 -07:00
Charlie Hess
af9e010162
Send notification userInfo to app.ready, on macOS.
...
Check if the user launched the app from a notification and send the notification args across if so.
2016-08-31 17:17:44 -07:00
Samuel Attard
adf9acc468
Default app exit code to 0
2016-08-30 13:30:56 +10:00
Kevin Sawicki
6285500cdc
Sort includes alphabetically
2016-08-26 15:30:02 -07:00
Cheng Zhao
77dfd3a76c
Do not add extra space when args is empty
2016-08-22 09:50:58 +09:00
Samuel Attard
14154e374a
Fix cpp linting issues
2016-08-16 15:54:30 +10:00
Samuel Attard
e5daf63b0e
Allow client to specify EXE file and args to set as default handler
...
* Optional path param to setAsDefaultProtocolClient
* Optional args param to setAsDefaultProtocolClient
2016-08-16 15:35:33 +10:00
Milan Burda
a0cf013112
Report app.setUserTasks success/failure
2016-08-08 02:22:51 +02:00
Gabriel Handford
7bde92deb9
Add isVisible() to app.dock
2016-08-01 15:22:37 -07:00
Kevin Sawicki
64f9c6a1d7
Add get/setLoginItemSettings on all platforms
2016-07-12 09:10:47 -07:00
Kevin Sawicki
34f7ddec9f
Update API to isAccessibilitySupportEnabled
2016-07-11 14:32:14 -07:00
Kevin Sawicki
fc36ac8c1b
Add API for accessibility state and changes
2016-07-11 14:04:56 -07:00
Cheng Zhao
6e81c55880
Merge pull request #6385 from electron/only-use-role-accelerator-in-app-menu
...
Only use default role accelerator in app menu
2016-07-08 11:22:21 +09:00
Kevin Sawicki
c100300764
Update API to get/setLoginItemSettings
2016-07-07 16:29:09 -07:00
Cheng Zhao
6381f44f26
mac: Pass useDefaultAccelerator to getAcceleratorForCommandId
2016-07-07 11:50:19 -07:00
Kevin Sawicki
60ab71a706
Combine launch and current status login item APIs
2016-07-06 13:57:46 -07:00
Kevin Sawicki
c5610b2186
Add API to add/remove app as login item
2016-07-06 13:26:16 -07:00
Kevin Sawicki
b55f55cfc4
Add app.getLoginItemStatus API
2016-07-06 13:17:39 -07:00
Kevin Sawicki
98a97a52ea
Add getLoginItemLaunchStatus API
2016-07-06 12:49:08 -07:00
Cheng Zhao
767124c45c
Update for reviews
2016-07-02 10:36:46 +09:00
Cheng Zhao
1da2a1c2ae
app.setBadgeCount should return boolean
2016-07-01 22:20:05 +09:00
Cheng Zhao
cb00d3cfb3
mac: Implement app.setBadgeCount
2016-07-01 17:39:26 +09:00
Jonas Schwabe
8ac205685d
Add ifdef for property, which should only be availabe on Linux
2016-06-29 20:22:17 +02:00
Jonas Schwabe
e3ba6818af
Fix linter errors
2016-06-29 20:22:17 +02:00
Jonas Schwabe
b22ce93477
Implement libunity launcher badge counter to be set via electron, fixes #4193
2016-06-29 20:22:17 +02:00
deepak1556
0e0235407b
fill net::URLRequest details on IO thread
2016-06-09 10:39:18 +05:30
Daniel Pham
eb0889de38
🍎 Add fallback URL to handoff.
2016-05-24 21:06:14 -04:00
Daniel Pham
6dae07b76f
Add API: app.dock.downloadFinished(filePath)
2016-05-10 15:02:56 -04: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
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
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
88805ec7e2
Make the Linter happy.
2016-04-29 22:05:36 -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
Rita Zhang
df2141d9e6
⚡ Add API: IsDefaultProtocolClient
2016-04-27 12:24:46 -07:00
Cheng Zhao
a421c66f3f
Deprecate the platform-theme-changed event
2016-04-25 14:35:34 +09:00
Cheng Zhao
ddd8eae661
Move isAeroGlassEnabled and isDarkMode to systemPreferences
2016-04-25 12:35:09 +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
Daniel Pham
6e46753499
Don't emit 'will-quit' when 'app.exit()' is called. Fixes #4643
2016-03-31 10:18:18 -04:00
Felix Rieseberg
1231360b2f
⚡ Add API: RemoveAsDefaultProtocolHandler
2016-03-28 15:31:01 -07: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