Kevin Sawicki
7de6a06acf
Support setting about panel options
2016-10-10 13:30:58 -07:00
Cheng Zhao
77dfd3a76c
Do not add extra space when args is empty
2016-08-22 09:50:58 +09:00
Samuel Attard
88bf089504
Pass args through correctly
2016-08-16 17:40:44 +10: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
Gabriel Handford
7bde92deb9
Add isVisible() to app.dock
2016-08-01 15:22:37 -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
7326d3d3d5
🎨
2016-07-07 16:38:12 -07: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
Leonard Lamprecht
67dd19ed0f
Replace OS X and Mac OS with macOS
2016-06-18 15:26:26 +02:00
Daniel Pham
eb0889de38
🍎 Add fallback URL to handoff.
2016-05-24 21:06:14 -04: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
Daniel Pham
6dae07b76f
Add API: app.dock.downloadFinished(filePath)
2016-05-10 15:02:56 -04:00
Ben Gotow
ac905e7080
Add docs, avoid side effects when not currently default
2016-05-08 10:50:17 -07:00
Ben Gotow
19d5d3b7d1
Implement RemoveAsDefaultProtocolClient on OS X
2016-05-07 11:07:58 -07: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
Charlie Hess
b2fb95f857
Use scoped_nsobject to ensure our intermediate objects get cleaned up.
2016-05-04 11:28:49 -07: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
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
05493502ea
Value first, key second.
2016-04-30 11:17:29 -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
ddd8eae661
Move isAeroGlassEnabled and isDarkMode to systemPreferences
2016-04-25 12:35:09 +09: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
Daniel Pham
68b453770b
🍎 Rename 'isDarkModeEnabled' to 'isDarkMode'
2016-03-06 10:55:47 -05:00
Daniel Pham
b1eefbdcd9
Simplify the isDarkModeEnabled check
2016-03-03 23:48:30 -05:00
Daniel Pham
eaac67ac60
🍎 Add 'isDarkModeEnabled' to app api
2016-03-01 13:12:21 -05:00
Cheng Zhao
6c282775a9
Merge pull request #4301 from ragingwind/set-icon-crash
...
Fix type cast of sharedApplication
2016-02-01 18:46:20 +08:00
ragingwind
d2ec311c55
Fix type cast of sharedApplication
2016-02-01 17:17:22 +09:00
Simon Madine
f9efdc4435
🍎 Add Show to API for OS X
2016-01-30 22:30:38 +01:00
Simon Madine
7a370ccd0f
🍎 Add 'Hide' to App API for OS X only
2016-01-29 16:09:54 +01:00
Cheng Zhao
253a4f226f
Merge pull request #4211 from ragingwind/dock-seticon
...
Add app.dock.setIcon to change icon of dock
2016-01-24 22:36:28 +08:00
ragingwind
7229d2462a
Add app.dock.setIcon to change icon of dock
2016-01-24 08:30:14 +09:00
ragingwind
09966aec38
Update name of paramter for consistency
2016-01-23 22:59:05 +09:00
Nishanth Shanmugham
20d03b10d9
osx: Implement clear recent documents
...
Fixes #3932
2015-12-29 18:36:16 -06:00
Cheng Zhao
99a661e2d2
Code cleanup of browser_mac.mm
2015-12-21 10:52:49 +08:00
Jeff Rehbein
a39834740c
DockShow workaround
...
Implemented workaround in DockShow for TransformProcessType bugginess
based on discussion at http://stackoverflow.com/questions/7596643/
2015-12-17 14:00:04 -06:00