Shelley Vohr
787dbbe610
feat: add about panel customization on linux ( #15658 )
2018-11-13 17:12:24 -05:00
Shelley Vohr
a54dd1085a
feat: expose showAboutPanel for MacOS ( #15674 )
2018-11-11 22:52:27 -05:00
Samuel Attard
9262731f2c
docs: we don't emit an event object for session-created ( #15236 )
2018-10-20 19:46:21 -07:00
Milan Burda
db37ab1039
feat: add remote.require() / remote.getGlobal() filtering ( #15014 )
2018-10-18 14:36:45 +11:00
Sitong Peng
9e7bbcd8f6
docs: app.getLoginItemStatus -> app.getLoginItemSettings ( #15093 )
2018-10-12 09:23:37 -04:00
Milan Burda
5bd6de52e0
feat: add app.enableSandbox() ( #14999 )
2018-10-10 15:32:09 +11:00
Cheng Zhao
a6256c672a
feat: getGPUInfo not longer supports 'complete' on macOS
...
See https://chromium-review.googlesource.com/c/chromium/src/+/1208362
2018-10-09 14:38:00 -07:00
Nitish Sakhawalkar
5c108728d6
feat: Implementation of getGPUInfo API. ( #13486 )
...
* Implementation of getGPUInfo API.
* Clear promise set
* Changes to promise usage
* Minor fixes
* Fix linux build
* Update spec
* Fix lint (linter didn't run on windows locally)
* Test running single test for CI
* Update spec
2018-09-28 00:59:23 +10:00
Sylvester Keil
a24307b8e8
Fix second-instance handler signature ( #14731 )
2018-09-20 20:02:28 -07:00
Samuel Attard
5541cab1ba
docs: type the promises in our docs ( #14715 )
2018-09-20 22:37:56 +10:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Tiago Danin
1fd6d38a0a
docs: Improved documentation ( #13403 )
2018-07-20 10:58:19 -07:00
Samuel Attard
b44e7fb1f1
docs: update second-instance event docs ( #13656 )
2018-07-16 09:59:44 -05:00
Ali BARIN
b0b31e67da
fix: Update broken dock link in app doc
2018-05-24 21:21:08 +02:00
Felix Rieseberg
f087f8e205
docs: Document missing quit events during shutdown ( #12986 )
...
* docs: Document missing events during shutdown
2018-05-18 07:27:44 -04:00
Shelley Vohr
83993fede8
update locale documentation ( #12967 )
2018-05-17 10:34:54 -07:00
Samuel Attard
0bb29e092d
fix: update docs for the ts parser ( #12902 )
2018-05-12 18:12:28 +10:00
Charles Kerr
5354e804d0
Fix oops: remove duplicate doc from last commit
2018-05-11 13:27:35 -05:00
Charles Kerr
bdae243552
Reinstate docs for app.makeSingleInstance()
...
Since this method is mentioned in breaking-changes.md, we need
the docs to prevent create-typescript-definitions from failing with
"error TS2339: Property 'makeSingleInstance' does not exist on type 'App'."
The reinstated docs are marked with deprecation warnings
that refer the reader to the new API calls.
2018-05-11 13:17:11 -05:00
Shelley Vohr
daf75dd375
add app.isPackaged ( #12656 )
...
* add isPackaged method
* add false test case for app.isPackaged()
* document add.isPackaged()
* check isPackaged() without fs call
* convert to non-method property
* document app.isPackaged as a property
* update tests for app.isPackaged
* remove unused fs require
* clarify docs for isPackaged()
2018-05-07 23:15:31 -07:00
John Kleinschmidt
c13d1e8ae6
Merge pull request #12847 from electron/friendly-docs
...
Remove judgmental docs terms
2018-05-07 12:41:17 -04:00
Shelley Vohr
52e3d5e4f0
remove some beginner-unfriendly terms from docs
2018-05-07 08:46:14 -07:00
Samuel Attard
5b5c161601
feat: new makeSingleInstance API ( #12782 )
...
* Refactor app.makeSingleInstance
* new API `app.isPrimaryInstance()`
* new API `app.isSingleInstance()`
* new event `app.on('second-instance')`
* deprecated old syntax `app.makeSingleInstance(cb)`
* deprecated old syntax of `app.makeSingleInstance() --> bool` in favor
of `app.isPrimaryInstance()`
* Fix spec, we don't need process.nextTick hacks any more
* Make deprecation TODO for the return value of makeSingleInstance
* Refactor makeSingleInstance to requestSingleInstanceLock and add appropriate deprecation comments
* I swear this isn't tricking the linter
* Make const
* Add deprecation warnings for release, and add to planned-breaking-changes
BREAKING CHANGE
2018-05-08 01:29:18 +10:00
James Wheare
bf2b4814e0
[docs] app.isDefaultProtocolClient is available on Linux now ( #12674 )
2018-04-23 01:16:43 +10:00
Alexey Kuzmin
fcc82ebd35
Add "app.whenReady()" ( #12652 )
...
* Make "chai-as-promised" avaialble in tests
* Add "app.whenReady()"
Closes #9561 .
2018-04-20 17:09:23 +10:00
TiagoDanin
d7a003b0bc
📝 Fix dead urls
2018-04-09 17:58:10 -03:00
Jake
569b87ff83
Added session-created event documentation ( #12123 )
...
* Added session-created event documentation
Emitted at 1c0ea0286e/lib/browser/api/session.js (L21)
* Removed trailing spaces
2018-03-08 11:32:52 +09:00
shelley vohr
c2575c4944
remove app.getAppMemoryInfo ( #11985 )
...
* remove app.getMemoryInfo
* semicolons are important
2018-02-20 18:52:33 -06:00
John Eismeier
8d55334016
Propose fix some typos ( #11905 )
2018-02-13 00:18:27 -05:00
acheronfail
d1d50a4c92
Implement App-Scoped Security scoped bookmarks ( #11711 )
...
* implementation of security scoped bookmarks
* option is now only available on mas builds
2018-02-12 13:25:06 -05:00
Shelley Vohr
1018cdc225
move locale doc to command line switches
2018-02-08 11:49:28 -05:00
shelley vohr
ca34978e73
add app.setLocale() ( #11469 )
...
* infrastructure for setLocale via klang
* add documentation for setLocale
* add test for setLocale
* fix spec
* add spec and update docs
* fix carriage feeds on windows
* SetLocale() sets LC_ALL on Linux
* in SetLocale() on Linux, use g_setenv()
* fix tyop: '#ifdef OSX_POSIX'
* make the linter happy
* improvements from review
2018-02-08 08:26:37 -06:00
Tiago Danin
74769da9a7
[Docs] Fix URLs and Paths ( #11584 )
...
* Fix URLs and Paths in docs/
* Avoiding link break to /docs/development/updgrading-chrome.md
* Fix URLs and Paths in docs/ #2
* Removed double spaces in docs
2018-01-12 10:24:48 -05:00
Toinane
0a0d88a5dc
remove all double spaces not needed
2017-11-29 11:58:24 +01:00
Toinane
59607c9a17
feat(docs): fix 'optional' wording
2017-11-28 18:15:15 +01:00
Ted Kim
8184cbfb06
Implement login helper to manage login item in Mac App Store build
2017-11-17 10:53:09 +09:00
Alexey Kuzmin
8657169017
Revert "Implement login helper to manage login item in Mac App Store build"
2017-11-16 19:05:13 +03:00
Ted Kim
4119da607f
Implement login helper to manage login item in Mac App Store build
2017-10-20 11:44:19 +09:00
Boik
7be79613b8
according to https://github.com/electron/electron/pull/10670 , update app.md
2017-10-19 00:56:05 +08:00
Shelley
e05f6102c2
update docs for new getPath() path
2017-09-28 13:35:24 -04:00
Rafael Nobre
33dd5e26fb
Updates documentation for Handoff related API.
2017-09-14 15:59:43 +09:00
Rafael Nobre
f6ac00532f
Fix typo and remove extraneous doc entries.
2017-09-14 15:59:43 +09:00
Rafael Nobre
a870799c32
Exposes more Handoff related APIs to Electron.
2017-09-14 15:59:43 +09:00
Zeke Sikelianos
618f8a9d06
Merge pull request #10497 from Toinane/fix-word-docs
...
Add markdown linking when missing
2017-09-12 08:49:35 -07:00
Milan Burda
d6bab3043c
Fix app.getGPUFeatureStatus in app.md
2017-09-12 15:31:00 +02:00
Toinane
74cb673ce1
style: add uppercase
2017-09-12 12:07:33 +02:00
Toinane
b9f0131165
style: add link to when missing
2017-09-12 12:05:09 +02:00
Cheng Zhao
e6733b4b23
Merge pull request #10305 from ivmirx/macos-accessibility
...
Special attribute for macOS accessibility
2017-09-11 17:58:20 +09:00
Samuel Attard
6b010614e2
Implement moveToApplicationsFolder ( #10142 )
...
* Implement moveToApplicationsFolder
* Fix tabs / spaces
* Fix linting
* Use Browser::Quit, instead of exit
* Update documentation as per feedback
* Fix spec
2017-08-31 10:37:12 -04:00
Ivan Mir
93a8e75238
Add clarifications to the documentation
2017-08-28 20:33:16 -03:00
Ivan Mir
75b2915fee
Change the parameter name for consistency
2017-08-27 11:53:25 -03:00
Ivan Mir
6717f0d2bb
Add accessibility setter to the app
2017-08-24 11:22:28 -03:00
Kevin Sawicki
48f5a66f87
Merge pull request #9983 from electron/devtools-mixed-sandbox
...
Fix devtools open in mixed sandbox
2017-07-14 09:41:56 -07:00
Birunthan Mohanathas
812b529881
Add app.disableDomainBlockingFor3DAPIs()
...
By default, Chromium disables 3D APIs (e.g. WebGL) until restart on a
per domain basis if the GPU processes crashes too frequently. This
function disables that behaviour.
2017-07-14 01:41:43 +03:00
Hari Juturu
9a3b78d9fe
Fix devtools open in mixed sandbox mode
2017-07-11 18:36:00 -07:00
Amos Wenger
bd8459841b
📝 mixed devtools behavior with mixed sandbox
2017-07-04 14:20:18 +02:00
Kevin Sawicki
e37fc0e30a
Mark mixed sandbox as macOS/Windows only
2017-06-28 14:36:34 -07:00
Kevin Sawicki
2cd49f3036
Merge pull request #9644 from electron/webview-sandbox
...
Enable sandbox on webview
2017-06-28 10:10:25 -07:00
Kevin Sawicki
f1dbfb1925
Mark app.enableMixedSandbox() as experimental
2017-06-28 08:36:29 -07:00
Hari Krishna Reddy Juturu
74196b96a1
Adding enableMixedSandbox api
2017-06-26 14:13:41 -07:00
Kevin Sawicki
a916be3ffd
Merge pull request #9754 from t-hofmann/patch-1
...
Create app.md
2017-06-26 08:53:44 -07:00
Kevin Sawicki
da001940e2
isNotFirstInstance -> isSecondInstance
2017-06-26 08:53:29 -07:00
Birunthan Mohanathas
79e9926f40
Merge pull request #9826 from ccnokes/patch-1
...
Fix docs: app.md `setLoginItemSettings`
2017-06-26 08:07:15 -07:00
Cameron Nokes
3239da37dd
Fix docs: app.md setLoginItemSettings
...
`app.setLoginItemSettings` documented arguments are misleading -- `path` and `args` should be passed in the `settings` object, not as separate params, like the code sample below it or in the test file here: 9250b559f9/spec/api-app-spec.js (L336)
and in the actual C++ function declaration here: f5a75c4e87/atom/browser/browser.h (L104)
2017-06-21 16:24:00 -06:00
Thomas Hofmann
1a6f6fd497
Create app.md
2017-06-14 12:12:30 +02:00
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
Milan Burda
0ecfb4e2f8
Add app.getGPUFeatureStatus
2017-05-30 20:35:14 +02:00
Kevin Sawicki
b0d4bf81a0
Add backticks around return types
2017-05-26 13:58:14 -07:00
Kevin Sawicki
b5879b7399
🎨 Minor formatting/doc changes
2017-05-26 07:51:17 -07:00
Hari Juturu
939747945e
Adding CPU & Memory metrics for App
2017-05-24 21:07:35 -07:00
Samuel Attard
f57c1881da
Fix return type of makeSingleInstance
2017-05-11 22:09:37 +10:00
Hari Krishna Reddy Juturu
27aad902b8
Adding docs, specs and fixing object returned
2017-04-27 14:06:53 -07:00
Hari Krishna Reddy Juturu
bef7d5a520
API to get memory of all processes of the app
2017-04-27 14:06:53 -07:00
Zeke Sikelianos
5ee7434a54
fix indentation of app.setLoginItemSettings arguments
2017-03-02 13:28:58 -08:00
Zeke Sikelianos
7c4529a01a
clarify actions that cause app.activate event to be emitted
2017-02-22 16:42:34 -08:00
Kevin Sawicki
82ac4ddf19
Large is only 48x48 on Linux
2017-02-07 11:20:27 -08:00
Kevin Sawicki
fc1b7431c7
Tweak optional syntax
2017-02-07 10:35:31 -08:00
Kevin Sawicki
a4277bb616
Document sizes
2017-02-07 10:33:44 -08:00
Yury Solovyov
c810e64fda
Fix doc lint
2017-02-07 09:55:18 -08:00
Yury Solovyov
bcf0964c61
Fix more review
2017-02-07 09:55:18 -08:00
Yury Solovyov
2b60df3d8b
Fix some feedback
2017-02-07 09:55:18 -08:00
Yury Solovyov
11ef2c539b
Update docs
2017-02-07 09:53:34 -08:00
Yury Solovyov
fe99b255c4
Add docs
2017-02-07 09:53:34 -08:00
Charlie Hess
a35424ef25
Fix broken Squirrel.Windows link.
2017-02-06 15:54:05 -08:00
Kevin Sawicki
b7b200c874
Fix typo in getLoginItemSettings doc
2017-02-06 08:34:35 -08:00
Kevin Sawicki
3c2539eced
Update example to use new option keys
2017-02-06 08:34:35 -08:00
Kevin Sawicki
e2501a80e4
Add path and args to LoginItemSettings struct
2017-02-06 08:34:35 -08:00
CharlieHess
852e158cc6
Make sure the spec takes arguments into account.
2017-02-06 08:34:35 -08:00
CharlieHess
45e2f35eff
Provide guidance in the docs.
2017-02-06 08:34:35 -08:00
Chandan Rai
93b0a2caa1
corrected typo
2017-02-03 18:58:21 +05:30
Kevin Sawicki
afa3bd2143
Put optional label before dash
2016-12-29 14:11:26 -08:00
Zeke Sikelianos
e57cb713b2
link process annotations to glossary
2016-12-21 13:47:40 -08:00
Kevin Sawicki
f99dabbac6
Merge pull request #8078 from electron/dts-docs-update-again
...
Update Docs
2016-12-21 13:39:53 -08:00
deepak1556
06701786c4
update docs
2016-12-07 13:26:06 +05:30
Samuel Attard
c9615a201c
Update app docs
2016-11-25 23:23:45 +11:00
Samuel Attard
921b474919
Fixup app and bw docs
2016-11-25 23:21:25 +11:00
Samuel Attard
06960704c4
Update docs for dts again
2016-11-25 23:17:31 +11:00
Kevin Sawicki
cf690ae513
Merge pull request #7986 from salomvary/fix-before-quit-docs
...
Clarify docs on a `before-quit` behavior edge case
2016-11-22 16:51:26 -08:00
Kevin Sawicki
0d317a2e49
Add backticks around Info.plist
2016-11-22 07:49:56 -08:00
Ben Gotow
964c88a189
Update open-url docs to mention NSPrincipalClass
...
We got bit by a nasty bug today - if you change your app's info.plist `NSPrincipalClass` to something other to `AtomApplication` (We set it to NylasApplication via a bad find-replace), everything works except open-url is never fired. Add a small reference to the docs so folks know to check this key.
2016-11-21 16:55:18 -08:00
George Hafiz
aac31159b8
Update formatting to prevent '[] ()' sequences (e.g. String[] (optional)), which breaks MD rendering on GitHub and hides the array indication
2016-11-18 00:34:48 +00:00
Márton Salomváry
98e18a62e2
Clarify docs on a before-quit
behavior edge case
...
See #7875
2016-11-16 10:38:57 +01:00
Samuel Attard
1a9b4b4671
First few docs made optional
2016-11-11 09:22:55 -08:00
Zeke Sikelianos
e8bb79310c
document the process(es) in which APIs are available
2016-11-01 16:35:31 -07:00
Kevin Sawicki
65e6da2673
Add newlines before lists
2016-10-25 12:38:08 +09:00
Kevin Sawicki
632739ec6e
Merge pull request #7590 from electron/docs-cleanup
...
Cleanup docs and standardize structs
2016-10-24 15:13:39 +09:00
Kevin Sawicki
b2559d7d28
Merge pull request #7596 from electron/function-param-types
...
Function param types
2016-10-24 12:40:41 +09:00
Dave Jeffery
00d641aaf7
Docs: Fix relative link to MAS builds tutorials
...
The link was 404'ing
2016-10-17 11:26:28 +01:00
Samuel Attard
20323e7032
Specifiy function param types in docs
2016-10-13 17:30:57 +11:00
Samuel Attard
78343a62b8
Cleanup docs and standardize structs
2016-10-13 14:38:06 +11:00
Kevin Sawicki
fcfc13c1ea
Merge pull request #7579 from electron/tweak-about-panel-key-names
...
Use lower-case about panel option keys
2016-10-12 11:32:01 -07:00
Kevin Sawicki
1e4ef195bb
Use lower-case about panel option keys
2016-10-12 11:18:21 -07:00
Zeke Sikelianos
6b7e375963
Merge pull request #7379 from electron/seperate-structs
...
Move reused object structures to a standard structures folder
2016-10-11 22:28:39 -07:00
Kevin Sawicki
58ef0bea17
Doc app.setAboutPanelOptions
2016-10-10 13:40:57 -07:00
Zeke Sikelianos
f80e81bf9f
standardize
2016-10-06 12:20:00 -07:00
Samuel Attard
b859afc118
Update docs to follow the 'link first instance' standard
2016-10-06 12:19:38 -07:00
Bryan Bess
9bc6000cb5
📝 Fix misspelling in docs/api/app.md [ci skip]
2016-10-05 19:17:49 -05:00
Kevin Sawicki
5e936a24ac
Add newline before list
2016-10-05 09:24:33 -07:00
Cheng Zhao
e1d68fa3cd
Merge pull request #7374 from electron/fixup-return-values
...
Update docs to contain more specific return values
2016-09-29 16:44:08 +08:00
Kiavash Page
d42e51e33a
app.md - fix relaunch arg concat syntax
2016-09-28 10:23:03 -07:00
Cheng Zhao
53d4c36332
Merge pull request #7353 from electron/no-login-item-apis-on-mas
...
document lack of MAS support for login item APIs
2016-09-28 19:20:32 +08:00
Samuel Attard
e0e47ea9a1
Update docs to contain more specific return values
2016-09-28 18:28:44 +13:00
Zeke Sikelianos
bb955b6202
document lack of MAS support for login item APIs
2016-09-26 11:00:13 -07:00
Samuel Attard
d2a701a465
Document the return values of all methods in the docs
2016-09-25 12:59:30 +13:00
Milan Burda
8567f79e67
Add killed argument for webContents.on("crashed") and app.on("gpu-process-crashed") events
2016-09-17 17:02:36 -07:00
Kevin Sawicki
4c4d585b84
initialization -> initializing
2016-09-13 09:37:03 -07:00
Kevin Sawicki
f373f2ae15
Mark app.isReady() as public
2016-09-13 09:35:39 -07:00
Cheng Zhao
b6079ff90b
Merge pull request #7053 from electron/launch-from-notification
...
Send notification info to app.ready, on macOS
2016-09-09 20:01:39 +09:00
Charlie Hess
80f046c8df
Update docs.
2016-09-03 12:03:58 -07:00
Cheng Zhao
14f625d61b
Merge pull request #6826 from enlight/set-jump-list
...
Extend the custom Jump List API provided by Electron
2016-09-01 15:35:21 +09:00
Vadim Macagon
c64294cf60
Extend the custom Jump List API
...
Add `app.getJumpListSettings()` and `app.setJumpList(callback)` that
make it possible to fully customize the Jump List of an Electron app.
It is now possible to:
- Add tasks to the standard `Tasks` category.
- Add separators to the standard `Tasks` category.
- Add custom categories containing tasks and file links.
- Add system managed Recent/Frequent categories.
- Remove the custom Jump List.
2016-09-01 09:56:14 +07:00
Samuel Attard
adf9acc468
Default app exit code to 0
2016-08-30 13:30:56 +10:00
Zeke Sikelianos
28d42ba35b
document missing method parameters
2016-08-25 10:52:19 -07:00
Cheng Zhao
8b9fd8a76e
Merge pull request #6858 from electron/default-protocol-launch-args
...
Allow settings of launch args when using defaultProtocol
2016-08-22 09:32:54 +09:00
Samuel Attard
ca971e978e
Return boolean instead of empty string when error occurs. Update docs
2016-08-18 18:02:13 +10:00
Samuel Attard
ce986590cf
Clarify defaults
2016-08-16 15:39:36 +10:00
Samuel Attard
db27da5db0
Document the optional params
2016-08-16 15:38:35 +10:00
bridiver
94c60379d1
don't convert a string to an array buffer
2016-08-13 13:35:23 -07:00
Milan Burda
e84c82b4a7
Document boolean return value of app.setAsDefaultProtocolClient + app.removeAsDefaultProtocolClient
2016-08-08 02:26:27 +02: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
Zeke Sikelianos
06a354a2eb
standardize all javascript blocks in English docs
2016-07-26 09:48:19 -07:00
Anthony Tseng
42eb0c3eae
serial number in hex string
2016-07-18 23:42:42 +08:00
Anthony Tseng
db39867ad9
Add more detail attributes for certificate-error
2016-07-13 22:14:47 +08:00
Kevin Sawicki
66d16b2871
Add Windows label to login items settings API
2016-07-12 09:10:48 -07:00
Cheng Zhao
df0d2b89cd
Merge pull request #6446 from electron/accessibility-api
...
Add API for Chrome's accessibility support state
2016-07-12 10:59:12 +09:00
Kevin Sawicki
46a1e0382d
Document accessibility support API
2016-07-11 14:41:35 -07:00
Robert D
2d40ced3be
Fix link to locales.md
2016-07-11 11:37:22 -07:00
Kevin Sawicki
cde594775d
Remove API that is no longer available
2016-07-07 16:41:08 -07:00
Kevin Sawicki
10bb8df09a
Update login item API docs
2016-07-07 16:33:26 -07:00