Samuel Attard
73a1a8b3f0
feat: automatically round numbers that are converted to points ( #14604 )
...
Fixes #14490
2018-09-13 08:28:56 -05:00
Samuel Attard
7025cbd0c9
feat: add mediaTypes to media permission requests
...
This is done to be consistent with setPermissionCheckHandler and to be
backwards compatible
Fixes #14168
2018-09-13 16:58:57 +10:00
Samuel Attard
dde194d853
Remove the memory property from getAppMetrics
...
See 03d0bfd593
for more information
2018-09-11 20:24:03 +02:00
Samuel Attard
14df89f214
Remove the 'getProcessMemoryInfo' API
...
* Underlying APIs have been removed in Chromium
* https://chromium-review.googlesource.com/c/chromium/src/+/969089
* https://chromium-review.googlesource.com/c/chromium/src/+/953723
* https://bugs.chromium.org/p/chromium/issues/detail?id=819289
* https://github.com/electron/electron/projects/11#card-11509601
2018-09-11 20:21:32 +02:00
Milan Burda
58577bd431
feat: add options to webContents.loadFile ( #14515 )
2018-09-11 17:56:49 +10:00
Jakub Žitný
3ab22c6164
docs: specify BrowserWindow features passable to window.open
2018-09-10 17:49:54 +02:00
Felix Rieseberg
f012ed8357
docs: Update menu-item with new position props ( #14465 )
...
* docs: Update menu-item with new position props
* 📦 Update electron-typescript-definitions
2018-09-09 20:03:58 -07:00
Jeremy Apthorp
72526927d9
build: remove gyp build files ( #14097 )
...
* build: remove gyp build files
* docs: update build instructions
* build: temporary restore electron.gyp
* build: do not update Electron version in the electron.gyp
* chore: remove unused submodules
* ci: remove obsolete CI scripts and configs
* chore: remove obsolete scripts
* chore: remove obsolete functions from lib/util.py
* ci: send Slack notification for nightly build results
2018-09-09 10:15:32 +09:00
Milan Burda
e828348904
docs: add missing documentation for <webview> methods ( #14413 )
2018-09-03 13:27:51 +10:00
Milan Burda
c17a1b37ea
feat: add event.senderId property to IPCs sent via ipcRenderer.sendTo ( #14395 )
2018-08-31 20:13:51 -05:00
Paulius
b89848d683
feat: allow window above full screen windows on mac ( #14122 )
...
* allow window above full screen windows on mac
* add visibility change params to higher level files
* adress feedback, fix bool issue, remove compilation hooks
* adjust readme
* switch to options object
* single argument for native window views
2018-08-31 15:06:02 -07:00
Cheng Zhao
0ecea96048
fix: use flexbox to style webview ( #14400 )
...
* fix: use flexbox to style webview
* docs: remove notes on browserplugin based webview
2018-09-01 08:53:13 +12:00
Cheng Zhao
586a6f2e6d
docs: add notes on OOPIF webview's behaviors ( #14401 )
2018-09-01 08:52:09 +12:00
Samuel Attard
1b7418fb7b
Revert "sec: deprecate some webPreference defaults to be secure-by-default ( #14284 )" ( #14380 )
...
This reverts commit 66d6ba8689
.
2018-08-30 09:57:49 +12:00
Samuel Attard
66d6ba8689
sec: deprecate some webPreference defaults to be secure-by-default ( #14284 )
...
* feat: deprecate default value of nodeIntegration
* Use DeprecationStatus::Stable as the default instead of shadowing
* change wording of deprecations
* chore: also deprecate kWebviewTag and kContextIsolation
* chore: do as we preach, lets be secure-by-default in the default app
2018-08-29 13:14:04 -05:00
Cheng Zhao
2f759151d2
docs: keyboard listeners no longer work on webview ( #14369 )
2018-08-29 15:59:23 +09:00
Samuel Attard
68da311ed1
feat: add session.setPermissionCheckHandler ( #13925 )
...
* feat: add session.setPermissionCheckHandler to handle syncornous permission checks vs requests
* spec: add tests for session.setPermissionCheckHandler
* docs: add docs for session.setPermissionCheckHandler
* feat: add mediaType to media permission checks
* chore: cleanup check impl
2018-08-28 09:05:08 -05:00
Siddharth Dalal
afdb6c5f90
feat: 'will-move' event for windows. ( #14283 )
...
* feat: 'will-resize' window event (Windows only)
* documentation for 'will-move' event
* comment and line break fix in docs
2018-08-28 08:44:10 -05:00
Milan Burda
a08ca9defb
fix: don't crash on tray.setContextMenu(null) ( #14322 )
2018-08-27 11:58:47 -05:00
Samuel Attard
90545bda95
docs: explain "worldId" in the web frame docs ( #14309 )
...
Fixes #14288
2018-08-25 12:48:57 -07:00
Emmanuel Kimmerlin
5f6706ac33
feat: BrowserWindow.getNormalBounds() ( #13290 )
...
* First commit
* Add Mac support (1st attempt)
* Add Mac support (2nd attempt)
* Simplify tests
* Restore window state !
* Looking at other tests, seems minimize, maximize, fullscreen are skipped when in CI
* Fix Mac tests
* Restore tests in CI
* Fix typo
* widget getRestoredBounds not working on Mac !!
* widget getRestoredBounds not working on Mac !!
* Add IsNormal function
* Add IsNormal
* IsNormal => isNormal
* Deactivate fullscreen on Mac. Do not receive leave-fullscreen event
* Set default original_frame_
* Set default original_frame_
* Fix Mac
2018-08-24 14:33:27 -07:00
Leo MG Nesfield (LMGN)
519b57838a
Fix broken link ( #14301 )
2018-08-24 14:25:15 -07:00
Cheng Zhao
cd8bb1d3b4
chore: print error when removed webview attribute is used ( #14230 )
...
* chore: print error when removed webview attribute is used
* docs: document removed webview features
2018-08-23 10:45:43 +09:00
Milan Burda
fc85d02786
feat: expose missing process APIs in sandboxed renderers ( #13505 )
2018-08-21 11:05:45 -07:00
Beni von Cheni
aef64c6f48
docs: chrome-command-line-switches.md: update proxy-server support ( #14198 )
...
* docs: chrome-command-line-switches.md: update proxy-server support
Per issue #12443 , the proxy URL in proxy-server switch would not
support username and password authentication.
* docs: security.md: correct checklist #14 markdown
When running "npm run lint:docs" script, linting warning suggests
"Broken links: #13-disable-or-limit-creation-of-new-windows". Update
accordingly to #14 .
2018-08-19 12:34:14 -07:00
Troy
5ea05ddee7
fix: Stricter Testing For Menu Items ( #13992 )
...
This PR includes stricter testing for empty objects so that false context menus are not created along with the tests to ensure future compatibility.
2018-08-17 13:10:14 -07:00
Milan Burda
9076a20dc8
docs: fix electron.d.ts typings ( #14125 )
2018-08-16 10:26:36 -07:00
Shelley Vohr
e415efaceb
docs: crashReporter companyName is not optional
2018-08-16 09:15:17 -07:00
Husayn
19cb5bad94
feat: Add creationTime function to process ( #13542 )
...
* Add process creation time
* Making docs clear for process creation time
* Address comments for process creation time
* Add process info cc file
* fixing comments around documentation
* Update doc for return val
* Capitalize number in docs
* chore: bump electron-typescript-definitions
2018-08-10 09:03:30 -05:00
secult
9902d42760
docs: cancelId works on windows ( #13882 )
...
The note about cancelId not working on windows is not valid. Tried on Windows 7 and Windows 10 and it works in both cases (tested on electron 1.8.7).
2018-08-10 16:07:39 +10:00
Dominic
a7052efaf4
fix: make menu.popup options optional ( #13977 )
...
* add empty object as default param for options
* update docs
* add spec for optional options
* fix: add null check for options
2018-08-08 17:38:52 -05:00
Milan Burda
fceed0fcbc
fix: dipToScreenRect / screenToDipRect - window can be null ( #13903 )
2018-08-03 13:08:42 +10:00
Jeremy Apthorp
3bdff2d238
feat: allow setting window shape ( #13789 )
...
This binds Widget::SetShape, an API that already exists in Chromium (for
Windows and Linux). It's a more reliable method of having some parts of
your window be "click-through" than the current `setIgnoreMouseEvents`
API, which messes around with the `WS_EX_LAYERED` window style on
Windows, causing strange bugs and incompatibility with hardware
acceleration.
2018-07-30 13:37:40 -07:00
Alexandre Lacheze
2bba11c5b0
docs: warning unicity of webRequest event listener ( #13482 )
2018-07-30 11:38:59 +10:00
Felix Rieseberg
c2218cc414
📝 First draft: Here be dragons ( #13835 )
2018-07-30 11:19:23 +10:00
Milan Burda
db38c8b620
Fix process.execPath returning parent process path instead of the helper in sandboxed renderer ( #13839 )
2018-07-30 11:13:42 +10:00
Milan Burda
aacbd76baa
docs: fix electron.d.ts typings ( #13841 )
2018-07-30 11:11:23 +10:00
Samuel Attard
4b3011f3e8
feat: add getUploadProgress API to the net API ( #13783 )
2018-07-27 07:15:48 -07:00
Birunthan Mohanathas
c8dc2d3730
feat: Add will-resize event to TopLevelWindow ( #13649 )
...
The new `will-resize` event can be used to prevent the resize from
happening before the native window is actually resized. This is in
contrast to the existing the `resize` event, which is sent *after* the
native window has already been resized. For apps with e.g. custom window
snapping logic, the `resize` event is not sufficient because it will
result in flickering between the dragged size and the snapped size.
`will-resize` is only emitted on macOS and Windows.
2018-07-27 18:53:01 +09:00
Birunthan Mohanathas
f788143c1a
pr: Update docs
2018-07-25 10:12:27 -07:00
Birunthan Mohanathas
a42ca9eecc
feat: Add BrowserWindow.setWindowButtonVisibility()
...
Fixes #12701 and supersedes #13131 .
Ideally we would have added `setTitleBarStyle()`, but that is a
significantly more involved change. For example, consider the case where
we switch from `hidden` to `normal`. We would not only have to show the
traffic light buttons, we would also have to switch the window from a
frameless to a framed window and deal with various other window state.
Lets instead implement a simple solution for #12701 .
2018-07-25 10:12:27 -07:00
Zeke Sikelianos
89a9ccab8b
docs: clarify default auto-updater installation behavior ( #12783 )
...
* docs: clarify default auto-updater installation behavior
* remove redundant note
2018-07-25 08:33:53 +10:00
Tiago Danin
1fd6d38a0a
docs: Improved documentation ( #13403 )
2018-07-20 10:58:19 -07:00
Shelley Vohr
6045d1218a
refactor: remove experimentalCanvasFeatures property ( #13684 )
2018-07-16 13:32:42 -07:00
Samuel Attard
b44e7fb1f1
docs: update second-instance event docs ( #13656 )
2018-07-16 09:59:44 -05:00
Felix Rieseberg
deedf6c3f4
feat: Add isCurrentlyAudible() to WebContents ( #13614 )
...
* 🔧 Add isCurrentlyAudible() to WebContents
* ❤️ Implement feedback, use await to wait for event
* 👷 Add missing imports
2018-07-12 21:35:11 +10:00
Shelley Vohr
f9e2ec43d0
fix: deprecate properties in app.getAppMetrics() ( #13446 )
...
* fix: deprecate properties in app.getAppMetrics()
* address feedback from review
* fix deprecated property location
* simplify test
2018-06-26 23:47:01 -07:00
Samuel Attard
d068ff3afb
fix linting
2018-06-22 13:43:39 +10:00
Samuel Attard
79fbd6bab1
Revert "fix: Drop support for OS X Mavericks (version 10.9)" ( #13333 )
2018-06-20 07:27:55 -05:00
John Kleinschmidt
d367b75680
Merge pull request #13296 from electron/miniak/drop-macos-10.9
...
fix: Drop support for OS X Mavericks (version 10.9)
2018-06-19 13:19:24 -04:00
Milan Burda
794fe741e9
fix: Drop support for OS X Mavericks (version 10.9)
2018-06-19 17:49:27 +02:00
popod
13f97b4cae
Add Sentry.io to 3rd party hosted solution list for crash reports ( #13281 )
...
* Add Sentry.io to 3rd party hosted solution list for crash reports
* Single link to sentry doc
2018-06-19 10:32:37 -05:00
Danny Brown
dd6c776a19
docs: add note about how to remove a previously set aspect ratio ( #13293 )
2018-06-19 10:24:42 -05:00
Samuel Attard
c58fa02e58
Mark browser window affinity as experimental
2018-06-20 00:33:24 +10:00
Heilig Benedek
60ba2013c4
Re-add dirtyOnly to FrameSubscriber and document API change
2018-06-19 11:49:44 +10:00
deepak1556
c4b8e106c0
Create network_converter for services/network/* types
2018-06-19 11:49:42 +10:00
deepak1556
7b47d69efe
Remove did-get-response-details and did-get-redirect-request events
...
https://chromium-review.googlesource.com/c/chromium/src/+/805008
https://chromium-review.googlesource.com/c/chromium/src/+/786320
2018-06-19 11:49:41 +10:00
Zhuo Lu
ab24a1e36d
feat: netLog API for dynamic logging control ( #13068 )
...
* Introduce `net.{start|stop}Logging()`
- Slight regression right now as Electron won't automatically start logging net-logs at launch, will soon be fixed
- To implement callback for async controls
* Add `net.isLogging` & optional callback param for `net.stopLogging()`
* Fix small regression on --log-net-log
--log-net-log should work again
* Error on empty file path
* Only start with valid file path
* Remove unused var
* Allow setting log file path before URLRequestContextGetter starts logging
* Add net log tests
* Remove redundant checks
* Use brightray::NetLog
* Clean up code
* Should automatically stop listening
* 🎨 Attempt to fix styles
* Only run non-null callback
* Dump file to tmpdir
* Simplify net log spec
Spawned Electron process on Linux CI can fail to launch
* Separate netLog module
* Remove net logging test from net spec
* Add tests for netLog
* Fix header guard
* Clean up code
* Add netLog.currentlyLoggingPath
* Callback with filepath
* Add test for case when only .stopLogging() is called
* Add docs
* Reintroduce error on invalid arg
* Update copyright
* Update error message
* Juggle file path string types
2018-06-19 11:45:58 +10:00
Zeke Sikelianos
994f613450
Merge pull request #13099 from electron/breaking-changes
...
docs: improve breaking API changes docs
2018-06-18 08:52:53 -07:00
John Kleinschmidt
78e199b5d7
Merge pull request #13187 from LostPlayer99/patch-1
...
docs: update bluetooth example
2018-06-18 09:16:54 -04:00
az-chris
83dc8cc13b
docs: update remote.md ( #13229 )
...
* Update remote.md
Addressing Issue #9421
* Minor copyediting
2018-06-16 16:21:07 +10:00
Vlad Hashimoto
a67c992c36
docs: fix broken link to commit message guidelines ( #13233 )
...
* docs: fix broken link to commit message guidelines
* Fix another broken links
2018-06-15 19:43:03 -05:00
Mateus Silva
1b3cd01851
Doc: Delete unnecessary require and update flag name
2018-06-12 20:17:16 +01:00
Milan Burda
6ad0a22602
Add process.getHeapStatistics() ( #13183 )
2018-06-10 22:00:36 +10:00
Mateus Silva
370d790776
Doc: Update bluetooth example
...
Update event select-bluetooth-device example documentation.
2018-06-07 20:29:20 +01:00
pravdomil
fd6eeed5c4
clarify docs
2018-06-02 20:41:19 +02:00
Charles Kerr
c7d1f95240
Merge branch 'master' into breaking-changes
2018-05-31 12:12:02 +02:00
Charles Kerr
b89fe86fa1
Merge pull request #13050 from electron/3.0.0-deprecations
...
chore: removal of 3.0.0 deprecations
2018-05-30 09:25:36 +02:00
Charles Kerr
57cda797f3
docs: copyediting of breaking-changes.md
...
Tweak the phrasing of sections' introductions
2018-05-29 11:42:20 +02:00
Charles Kerr
b0f1b5f65b
Modify 2.0 section's phrasing to use past tense
2018-05-29 11:37:42 +02:00
Charles Kerr
b621321ea0
Re-add missing section
2018-05-29 11:24:39 +02:00
Charles Kerr
066b92c7cd
docs: re-document the 2.0 breaking API changes
2018-05-29 11:23:28 +02:00
Charles Kerr
57ad506cde
Reorder the version sections newest-to-oldest
...
This puts 4.0 before 3.0, making room to re-add
the 2.0 changes back in at the end of the file.
2018-05-29 11:17:26 +02:00
Charles Kerr
7f64dbc1ba
Make FIXME and API Contract their own H1 sections
...
Previously they were inside the 3.0 section,
which doesn't really make sense
2018-05-29 11:15:30 +02:00
Charles Kerr
bb4979a82e
docs: move breaking-changes to api
2018-05-29 11:06:56 +02:00
hkhere
0f1fcc3f4b
docs: fix a typo in remote.md ( #13084 )
2018-05-29 03:14:06 -05:00
Shelley Vohr
265aa3da29
docs: deprecate UploadFileSystem ( #13064 )
...
Deprecate UploadFileSystem in preparation for its being phased out completely in Chromium 66 and correspondingly Electron 4.0.0.
2018-05-25 10:50:27 -07:00
Ali BARIN
b0b31e67da
fix: Update broken dock link in app doc
2018-05-24 21:21:08 +02:00
Shelley Vohr
322a303683
address changes from review
2018-05-23 15:57:58 -07:00
Shelley Vohr
5f5322c64e
rename blinkFeatures to enableBlinkFeatures
2018-05-23 14:01:34 -07:00
Shelley Vohr
22fed0c798
remove nativeImage.createFromBuffer() deprecation
2018-05-23 09:43:58 -07:00
Shelley Vohr
94e825378c
remove webFrame.registerURLSchemeAsSecure() deprecation
2018-05-23 09:33:57 -07:00
Shelley Vohr
72c63a10ee
remove screen.getMenuBarHeight() deprecation
2018-05-23 09:11:48 -07: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
Shelley Vohr
f068ed9ee7
fix docs formatting for ts defs ( #12968 )
2018-05-16 14:59:44 -07:00
John Kleinschmidt
9488ef4867
Merge pull request #12496 from mikeykhalil/8952-ignore-tray-double-click-events
...
8952 option to ignore tray double click events
2018-05-16 10:17:36 -04:00
Milan Burda
211d7825d3
feat: DIP <-> screen coordinate conversions ( #12879 )
2018-05-16 18:34:09 +09:00
Milan Burda
56cdf94f95
Fix contents.setSize(options) documentation in web-contents.md ( #12922 )
2018-05-15 10:17:04 +10: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
Charles Kerr
13877ce2c8
Fix routingId type
...
Previous phrasing confused electron-typescript-definitions,
thinking that routingId was of type `unique` 😃
2018-05-11 13:05:05 -05:00
Charles Kerr
8acbfca06b
Make Referrer.policy types parseable by e-t-d
2018-05-11 12:40:46 -05:00
Charles Kerr
cf6d36cb72
Consistent docs for LoadURLOptions.httpReferrer
2018-05-11 12:18:38 -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
Charles Kerr
4d078fdb03
Remove more words ( #12852 )
...
* remove 'basically' from docs
* remove 'simply' from docs
* remove most uses of 'just' from docs
2018-05-08 00:16:09 -05: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
Shelley Vohr
9c8952aef0
Add menu item order control ( #12362 )
...
Add four new optional properties to menus in Electron. The four properties are:
'before'
'after'
'beforeGroupContaining'
'afterGroupContaining'
'before/after' - provides a means for a single context menu item to declare its placement relative to another context menu item. These also imply that menu item in question should be placed in the same “group” as the item.
'beforeGroupContaining/afterGroupContaining - provides a means for a single menu item to declare the placement of its containing group, relative to the containing group of the specified item.
2018-05-05 09:37:29 -07:00
mikeykhalil
3aba515bbc
update docs for getIgnoreDoubleClickEvents method
2018-05-03 13:49:33 -07:00
mikeykhalil
664e14b91f
fixed typo found in code review
2018-05-03 13:49:32 -07:00
mikeykhalil
e1dcd79e48
updated Tray API docs to include new setIgnoreDoubleClickEvents method
2018-05-03 13:49:32 -07:00
Stephan Lee
6646ef71da
docs: fix the type information in in-app-purchase
...
Method returns Boolean, Manually confirmed the
correctness by running `npm run create-api-json`.
2018-05-03 09:34:21 -07:00
Rahat Ahmed
5ba9f6a966
docs: Fix typo in transaction.md ( #12804 )
2018-05-03 00:01:49 -05:00
Tim Fish
82329124ff
Fixes #12710 ( #12786 )
2018-05-02 12:19:52 -04:00
bughit
55a7f6f0ce
add did-frame-navigate event to WebContents ( #12723 )
...
* add did-frame-navigate event to WebContents, pass http response code to it and did-navigate
* docs for frame routing id related api changes on WebFrame and WebContents
2018-05-01 13:34:41 +09:00
Samuel Attard
338a816ffd
Screen Lock / Unlock events ( #12714 )
...
* initial lock-screen and unlock-screen event implementation for macOS
* Implementation of lock-screen and unlock-screen on windows
2018-05-01 02:04:27 +10:00
Jeremy Apthorp
1a64b9f0c2
Disable navigating on drag/drop ( #12655 )
...
* Disable navigating on drag/drop
* Add a WebPreferences option to re-enable navigate on drag/drop
2018-04-26 10:23:27 -05:00
Nitish Sakhawalkar
2579071b98
Deprecate did-get-response-details and did-get-redirect-request ( #12615 )
...
* Deprecate webContents events did-get-response-details and did-get-redirect-request.
* Update guest view files
* Update webview tag docs and update specs
* Update deprecate.event function
* Update comment
* Update more
* Update documentation for other deprecated event
2018-04-23 14:46:12 -05: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
Zeke Sikelianos
40ff17c9f9
Merge pull request #12619 from electron/add-before-update-event
...
add new event to auto-updater
2018-04-16 12:43:15 -07:00
Shelley Vohr
4cb41ac425
clarify usage around before-quit-for-update event
2018-04-16 08:13:04 -04:00
Birunthan Mohanathas
cd8278dceb
Add missing event parameter to console-message ( #12617 )
2018-04-15 10:13:02 -05:00
Shelley Vohr
06892775d4
add new event to auto-updater
2018-04-14 21:29:36 -04:00
Zeke Sikelianos
e606a74de3
Merge pull request #12595 from Zhangdroid/fix-broken-url
...
[doc] Fix broken url
2018-04-13 19:08:20 -07:00
Zhuo Zhang
de1eae288c
doc: rename 'blink-feature-string' as 'runtime-enabled-features'
...
make it more meaningful :)
2018-04-14 08:49:30 +08:00
Zeke Sikelianos
23bb3bd963
Merge pull request #12577 from TiagoDanin-Forks/DeadURLs
...
[Docs] Fix dead urls
2018-04-13 11:04:11 -07:00
Zhuo Lu
a0cac05555
Clear cache storage data ( #12546 )
2018-04-13 13:03:16 -04:00
Zhuo Zhang
dd45473356
fix broken url for 'blink-feature-string'
2018-04-11 15:02:54 +08:00
TiagoDanin
d7a003b0bc
📝 Fix dead urls
2018-04-09 17:58:10 -03:00
Andreas
6b5e09478c
Mouse forward on macOS ( #12281 )
...
* Accept mouse events according to the forward parameter on macOS.
* Update BrowserWindow docs: mouse forward is available on macOS
2018-04-09 19:35:05 +09:00
Andrew MacDonald
6bfb122cd1
Add a display_id parameter to the desktopCapturer API. ( #12417 )
...
* Add a screen_api_id parameter to the desktopCapturer API.
When using the DirectX capturer on Windows, there was previously no way
to associate desktopCapturer/getUserMedia and electron.screen API
screens. This new parameter provides the association.
* Fix non-Windows build.
* Fix Mac.
* Fix Mac harder.
* JS lint
* clang-format C++ code.
* IWYU
* display_id, Linux comment, better test
* lint
* Fix tests on Linux.
* Add display_id documentation.
2018-04-09 14:43:35 +09:00
Jeremy Apthorp
f0d08f4da1
Propagate referrer to new windows ( #12397 )
...
* Propagate referrer to new windows
Fixes #9205
* Rearrange -new-window event arguments for backwards-compatibility
* Plumb referrer policy through guest-window-manager
* Document the Referrer structure and its uses
* Add tests for referrer in new windows
* Docs nits
2018-04-05 18:13:24 -05:00
Adrien Fery
5486a65702
Improve in-app purchase for MacOS ( #12464 )
...
* Add methods to finish transactions
* Add a method to get the product descriptions from the App Store
* Improve the documentation of a transaction structure
* Add a tutorial for In App Purchase
* Fix typo in In-App Purchase tutorial
* Fix style of In-App Purchase files
* Fix In-App-Purchase product structure conversion in amr64
* Fix code style in In-App Purchase tutorial documentation
* Fix typos in In-App Purchase documentation
* Fix typo in In-App Purchase spec
* Slight style fixes
2018-04-05 15:33:13 +09:00
MadfishDT
200388ff96
add moveTop API to move window z-oder to top for win32, mac ( #12485 )
...
* add moveTop API to move window z-oder to top for win32, mac
* BrowserWindow::MoveTop SetMethod bug fix
2018-04-03 08:04:32 -05:00
Sean
5f7c6ccfe4
update doc for setProgressBar ( #12428 )
...
* update doc for setProgressBar
The linter was unable to get `paused` as a possible value for `mode`
* update doc for setProgressBar
Addressing PR feedback
2018-03-28 10:29:31 +11:00
Samuel Attard
2e5cb930de
Provide an easy way to use a local build of Electron ( #12426 )
...
* Provide an easy way to use a local build of Electron
For instance from ~/projects/electron/out/D
* document ELECTRON_OVERRIDE_DIST_PATH
* Make the linter happy
* Tweak ELECTRON_OVERRIDE_DIST_PATH docs
2018-03-25 00:03:17 -04:00
Charles Kerr
cfd91a3b56
Fix documentation tyop ( #12422 )
2018-03-23 18:35:14 -04:00
Clément Beffa
642f5a84d4
Workspace notifications support on macOS ( #12093 )
2018-03-22 18:41:03 +09:00
htk3
6fa4ec22c5
fix broken fragment link in ipc-main.md ( #12389 )
2018-03-21 12:05:27 -05:00
Birunthan Mohanathas
2681e769a6
Document BrowserView.{destroy,isDestroyed} ( #12274 )
2018-03-15 16:15:56 +09:00
OJ Kwon
e7181eb89c
feat(powerMonitor): expose interface to query system idle state ( #11807 )
...
* feat(BrowserWindow): expose interface to query system idle state
* test(BrowserWindow): update test cases for querySystemIdle interface
* docs(BrowserWindow): add querySystemIdle interface documentation
* refactor(powerMonitor): move querySystemIdle into powerMonitor
* test(powerMonitor): split test cases for all platform
2018-03-14 14:42:08 +09:00
Vanessa Yuen
48dd8f96b7
Fix broken links ( #12232 )
...
* Update system-preferences.md
* Fix broken documentation links.
2018-03-14 08:07:36 +09:00
Phil Freo
9d090e00f2
Make link to related guide/tutorial more obvious ( #12204 )
...
It's generally not a good practice to just link the word "here"
2018-03-10 23:04:07 +09: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
Samuel Attard
8c138e74be
More vibrancy fixes ( #12157 )
...
* Only set title bar to transparent when vibrant with a custom titlebar
* Correctly set the transparent state of the GpuSwitcher so vibrancy works on reload
* Document case where using frame: false without custom titleBarStyle and vibrant
2018-03-07 11:40:36 -05:00
br0nstein
f170914def
Fix getFocusedWindow return type ( #12149 )
2018-03-07 10:23:02 +09:00
Cheng Zhao
d8f16f4116
docs: Default message is not localized
2018-03-06 11:24:42 +09:00
Cheng Zhao
26a071ea00
docs: Defaults of safeDialogs
2018-03-06 11:21:40 +09:00
Samuel Attard
795447f61a
Implement dialog (alert/confirm) blocking as a user switch after the first dialog
...
* This is to enable more browser-like behavior so that users who run third-party code
will not be DOS'ed with alerts and confirms. This is already handled like this
in most major browsers so this will greatly help these developers
2018-03-06 11:19:15 +09:00
Samuel Attard
b530d70a7b
Merge pull request #12058 from philfreo/patch-1
...
Include backtrace i/o as a crash reporter backend option
2018-03-06 05:13:18 +11:00
Adrien Fery
6d82966ebe
Update inAppPurchase API doc ( #12072 )
...
* Update inAppPurchase API doc
`addTransactionsListener` is no longer supported. Users have to listen for the `transactions-updated` event instead.
* Tweak `transactions-updated` timing description
Make the documentation edit suggested by @felixrieseberg and thumbs-upped by @AdrienFery
2018-03-02 07:25:37 -06:00
Tiago Danin
efeabfe3ef
📝 Fix url to unity-launcher and tiny correction ( #12084 )
2018-02-28 18:28:40 -06:00
Phil Freo
738b10adea
Include backtrace i/o as a crash reporter backend option
...
Note: I have no affiliation with this company - just thought this would be helpful for people
2018-02-28 14:21:14 -05:00
Zeke Sikelianos
b05d818f45
fix typo in inAppPurchase API doc
2018-02-27 10:22:29 -08:00
Cheng Zhao
25f04d5b03
Fix descriptions to make docs parser happy
2018-02-26 15:05:46 +09:00
bughit
88b887fe47
frame navigation API
2018-02-21 18:50:15 -05:00
John Kleinschmidt
2a97e48465
Merge pull request #11968 from electron/refactor-menu-popup
...
Refactor menu.popup
2018-02-21 14:29:52 -05:00
shelley vohr
c2575c4944
remove app.getAppMemoryInfo ( #11985 )
...
* remove app.getMemoryInfo
* semicolons are important
2018-02-20 18:52:33 -06:00
Charles Kerr
21de806c80
document menu.popup() option's window argument
2018-02-20 14:30:37 -06:00
Charles Kerr
35e90f742b
fix menu.popup() sample code
2018-02-20 11:18:57 -06:00
shelley vohr
846be03f1d
remove support for hidden-inset ( #11975 )
2018-02-20 11:09:54 -06:00
Shelley Vohr
ba933ef085
update docs for single param popup
2018-02-20 11:12:39 -05:00
shelley vohr
8d4bf3e29a
Merge pull request #11974 from electron/remove-setZoomLevelLimits
...
remove setZoomLevelLimits
2018-02-20 10:51:41 -05:00
Shelley Vohr
211b542ae4
remove setZoomLevelLimits
2018-02-20 08:57:48 -05:00
Shelley Vohr
fc025064f7
remove setExtraParameter for 2.0
2018-02-20 08:26:10 -05:00
Cheng Zhao
67fa13d7cf
Merge pull request #11925 from electron/squirrel-mac-cdn
...
Update to use Squirrel.Mac that supports CDN releases
2018-02-16 15:28:39 +09:00
Samuel Attard
549042160f
requestHeaders --> headers
2018-02-16 13:41:21 +11:00
Cheng Zhao
af92b04eb9
Merge pull request #11654 from sethlu/set-notification-close-button-text
...
feat: Set macOS notification close button title
2018-02-15 16:01:30 +09:00
Cheng Zhao
fdda1c55c5
Merge pull request #11647 from sethlu/accept-additional-notification-actions
...
feat: Accept additional notification actions
2018-02-15 15:46:36 +09:00
Samuel Attard
6318cd781d
Update to use Squirrel.Mac that supports CDN releases
2018-02-15 14:00:46 +11:00
shelley vohr
a55fd06aa2
Revert "Merge pull request #11737 from kwonoj/feat-cache-capacity" ( #11906 )
...
This reverts commit 181169b743
, reversing
changes made to baced3152f
.
2018-02-13 10:49:27 -05:00
Cheng Zhao
2b623f5d86
docs: More explaination to affinity option
2018-02-13 15:33:11 +09:00
Emmanuel Kimmerlin
9c1b47361f
Add an "affinity" option to webPreferences
2018-02-13 15:18:55 +09:00
John Eismeier
8d55334016
Propose fix some typos ( #11905 )
2018-02-13 00:18:27 -05:00
Felix Rieseberg
4ed5bb9901
fix: Update touch bar type documentation ( #11563 )
...
* fix: Update touch bar type documentation
Tiny change: The `escapeItem` in the touch bar constructor accepts a `null`, but our typings do not reflect that.
* Also uppdate the escapeItem instance property type docs
2018-02-12 14:59:01 -05:00
Samuel Attard
181169b743
Merge pull request #11737 from kwonoj/feat-cache-capacity
...
feat(webframe): export set cache capacity interface
2018-02-13 06:02:25 +11:00
Samuel Attard
baced3152f
Mark securityScopedBookmarks as optional and a boolean ( #11901 )
2018-02-12 13:48:45 -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
Samuel Attard
b3234f634b
Add ability to set arbitrary arguments in a renderer process ( #11850 )
2018-02-12 11:54:31 -06:00
Zhuo Lu
e3b70dd029
Fix grammar
2018-02-10 03:20:20 -08:00
Zhuo Lu
d05791c1ac
Tweak wording
2018-02-10 03:20:20 -08:00
Zhuo Lu
bf11b09d35
Mention change of default value scenario in doc
2018-02-10 03:20:20 -08:00
Zhuo Lu
69e65e0d5e
Update NotificationAction doc
2018-02-10 03:20:20 -08:00
Zhuo Lu
3ee3e9a3e8
Fix typo
2018-02-10 03:20:20 -08:00
Zhuo Lu
0d4c6e327f
Update Notification API doc
2018-02-10 03:19:47 -08:00
Shelley Vohr
5818353ebc
add formula to setZoomLevel doc
2018-02-09 23:20:45 -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
Shelley Vohr
80aa399f8a
updates to mac enable method
2018-02-06 09:16:22 -05:00
Shelley Vohr
131aa38768
typo fix
2018-02-06 08:30:33 -05:00
Shelley Vohr
faf08b2b77
add documentation
2018-02-06 08:28:41 -05:00
Cheng Zhao
983e1b1a70
Implement shutdown event for macOS
2018-02-05 16:20:57 +09:00
Thiago de Arruda
176c03fa15
Add doc for powerMonitor shutdown event
2018-02-05 15:21:31 +09:00
Zeke Sikelianos
aea06ed95f
Merge pull request #11758 from nicknish/nn/fix-typo-remote-api-docs
...
Fix typo in remote api docs
2018-01-29 14:33:16 -08:00
shelley vohr
12d4f984f3
Merge pull request #11754 from electron/menu-events
...
Add and document menu events
2018-01-29 12:40:57 -05:00
Shelley Vohr
c886803d0f
change doc to show working on all platforms
2018-01-28 18:57:44 -05:00
Shelley Vohr
a9dd4c927d
update menu docs description string
2018-01-28 13:59:53 -05:00
nicknish
30581f78a2
📝 Fix typo in remote api docs [ci skip]
2018-01-28 04:37:13 +08:00
Shelley Vohr
e81265bc7f
add documentation for new menu events
2018-01-27 11:28:42 -05:00
Tim Fish
e3383c82d1
CrashReport structure does not match API output
...
Electron 1.7
Docs:
```typescript
interface CrashReport {
date: string;
ID: number;
}
```
Actual output of `getLastCrashReport`:
```javascript
{
date: 2018-01-26T21:50:05.000Z,
id: '989d0469-9eb7-4f70-ba58-3425bc6ffa3b'
}
```
2018-01-27 12:21:09 +01:00
OJ Kwon
1ab92f7866
docs(webframe): reword api instructions
2018-01-26 10:58:25 -08:00
OJ Kwon
004c9427eb
docs(webframe): add interface instruction
2018-01-26 10:57:52 -08:00
Aleš Pergl
c49cb29ddf
Disallow launching unknown apps via browser client.
...
CVE-2018-1000006
2018-01-22 16:49:30 -06:00
Samuel Attard
32a1395bcf
Merge pull request #11565 from electron/add-load-file-helper
...
Add window.loadFile and webContents.loadFile helper methods
2018-01-23 09:08:23 +11:00
Shelley Vohr
365fe6b067
fix code fence lint failure
2018-01-22 12:41:46 -05: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
Cheng Zhao
6d9c6645a8
Add inAppPurchase to docs index
2018-01-10 17:25:04 +09:00
Cheng Zhao
e77ddd3221
Pass multiple transactions at the same time
...
This follows the design of SKPayment API.
2018-01-10 17:19:44 +09:00
Cheng Zhao
2dd545ebda
Payment should be part of Transaction
...
This follows The SKPayment API, and makes our JS wrappers easier to
implement.
2018-01-10 17:06:27 +09:00
Cheng Zhao
635b753ecd
No need for SKPaymentTransactionState prefix for states
2018-01-10 16:59:17 +09:00
Cheng Zhao
133bef3deb
Turn addTransactionListener into transaction-updated event
2018-01-10 16:57:52 +09:00
Cheng Zhao
ac6f895f64
Turn InAppPurchase into an EventEmitter
2018-01-10 16:37:05 +09:00
Adrien Fery
f3ae566164
Add in-app purchase for MacOS
2018-01-10 13:14:18 +09:00
Zeke Sikelianos
4e328a2a08
Merge pull request #11481 from teiles/master
...
docs: change getBlobData return type from Blob to Buffer
2018-01-05 20:43:26 -08:00
Zeke Sikelianos
c272a18204
Merge pull request #11428 from TechnicalSoup/patch-1
...
docs: specify string values for DownloadItem
2018-01-05 08:42:10 -08:00
Zeke Sikelianos
eb89e12c5b
Merge pull request #11532 from sethlu/camelcase-menuitem-role
...
Make MenuItem roles camelCase-compatible
2018-01-04 09:53:58 -08:00
Samuel Attard
1553b54779
Add window.loadFile and webContents.loadFile helper methods
2018-01-04 11:38:56 +13:00
TechnicalSoup
0ea296b1cb
docs: specify string values for DownloadItem
...
Explicitly list the possible string return values for the updated and done events so that the typescript declaration file can model them more accurately. At present they are represented as a string type.
Fixes : https://github.com/electron/electron-typescript-definitions/issues/71
2018-01-03 13:34:19 +11:00
Cheng Zhao
46330ac2a9
Remove the closed event of Menu
...
The callback of Menu.popup does more things, and there is actually no
request for the closed event.
2018-01-01 17:22:07 +09:00
Cheng Zhao
9c6aa9ce90
docs: callback of Menu.popup
2018-01-01 16:42:23 +09:00
Zhuo Lu
d45914c3f7
MenuItem roles camelCase-compatible
2017-12-28 13:28:20 +08:00
HayateLaTech
f2e32791b1
Update browser-window.md
2017-12-22 15:13:12 +01:00
Heilig Benedek
bcef6eb3df
document menu closed event and fix styling issue
2017-12-20 15:40:07 +09:00
Ted Eiles
5ccfac81ed
Reviewed getBlobData source, not return value (void)
2017-12-19 22:21:45 -05:00
Cheng Zhao
4fd8b04329
Better field names for details object
2017-12-20 10:25:31 +09:00
Samuel Attard
98e9311669
Give user access to the URL that is attempting to be openExternal'ed
2017-12-20 10:21:38 +09:00
Ted Eiles
19f2d42c07
change getBlobData return type from Blob to Buffer, fixes doc and typescript def
2017-12-19 19:52:59 -05:00
Cheng Zhao
5d86da48c7
The missing :
2017-12-19 15:44:58 +09:00
Cheng Zhao
4dee778212
Clearer wording
2017-12-19 15:39:57 +09:00
Ajey Charantimath
8953042ee3
Updated auto-updater.md
...
Missing documentation on the issue https://github.com/electron/electron/issues/10903
2017-12-19 15:33:13 +09:00
Hugo Mano
ae7b96991c
Add webFrame.setIsolatedWorldSecurityOrigin
...
Move vector to cc file
Map executed javascript in isolated world to url
Some 💅
Documentation
Use WebSource[] as argument in executeJavaScriptInIsolatedWorld
Refactor and lint with @poiru’s comments
Remove duplicate call
Typo
Lint
2017-12-19 10:36:03 +09:00
Shelley Vohr
26ad37c4d1
remove key and value bullts
2017-12-13 16:02:15 -05:00
Shelley Vohr
8b447b9291
fixing error in registerDefaults
2017-12-12 13:08:09 -05:00
Alexey Kuzmin
1caa04c0bf
Revert "Add systemPreferences.registerDefaults()"
2017-12-12 13:59:15 +03:00
Shelley Vohr
027e78639a
update value type to Any
2017-12-11 14:06:02 -05:00
Shelley Vohr
765f223fef
update docs and spec
2017-12-11 13:06:23 -05:00
Shelley Vohr
c5aeda1fdd
fixes from code review
2017-12-11 00:20:26 -05:00
Shelley Vohr
5e51ab9791
fix doc parsing error
2017-12-10 14:55:14 -05:00
Shelley Vohr
9a40bbd082
update systemPreferences docs
2017-12-10 14:46:19 -05:00
Cheng Zhao
cb3a9c69ab
Add a SessionPreferences to manage session related data
...
By design the BrowserClient should not be aware of the api:: classes.
2017-12-05 15:59:15 +09:00
Samuel Attard
3b80ee0655
Move global preload implementation to be session based
2017-12-05 11:35:53 +09:00
Samuel Attard
0ddd078aaf
Add ability to set global preload scripts
2017-12-05 11:35:27 +09:00
Cheng Zhao
d598aa1a67
Merge pull request #11300 from electron/external-devtools
...
Add API to set arbitrary WebContents as devtools
2017-12-05 10:35:49 +09:00
Cheng Zhao
52c6f4bcc5
docs: responsiblity of destroying devtoolsWebContents
2017-12-04 18:42:42 +09:00
Charles Kerr
6beaafc7e5
Merge pull request #11282 from Toinane/fix-documentation
...
typographical revision in Documentation
2017-12-03 09:01:24 -06:00
Charles Kerr
851642f4b8
Merge pull request #11311 from electron/fix-typos-in-structures
...
fix typos in structures
2017-12-03 08:34:08 -06:00
Jonathan
f32f0fb774
Update cookies.md
2017-12-02 01:27:53 +01:00
Zeke Sikelianos
7dd921811f
fix typos in structures
2017-12-01 11:43:04 -08:00
Cheng Zhao
88c4fd3f2b
docs: Remove unnecessary shows
2017-12-01 12:04:50 +09:00
Cheng Zhao
6b408de884
Allow using docked devtools for webview
2017-12-01 11:56:58 +09:00
Cheng Zhao
25c5938c76
docs: Open detached devtools in example
2017-12-01 10:35:23 +09:00
Cheng Zhao
580abedbb7
docs: contents.setDevToolsWebContents
2017-12-01 10:35:23 +09:00
Toinane
3d4ef66775
add some markdown links
2017-11-29 12:13:45 +01:00
Toinane
0a0d88a5dc
remove all double spaces not needed
2017-11-29 11:58:24 +01:00
Toinane
323ea2b27b
fix(docs): fix all missing dots and add some links
2017-11-29 11:38:35 +01:00
Toinane
59607c9a17
feat(docs): fix 'optional' wording
2017-11-28 18:15:15 +01:00
Sebastien Bramille
7a8431086c
Update doc
2017-11-28 15:34:13 +09:00
Cheng Zhao
b161a4f515
Merge pull request #11166 from sethlu/openrecent
...
feat: Recent documents menu item
2017-11-28 10:55:14 +09:00
Charles Kerr
defa42b458
Merge pull request #11257 from electron/fix-11242
...
Remove "async" flag from the `menu.popup()` options
2017-11-27 16:41:56 +01:00
Zhuo Lu
2f73f4f77e
Fix typo
2017-11-27 17:26:22 +09:00
Zhuo Lu
2de7b338ad
Update API docs
2017-11-27 17:26:22 +09:00
Zhuo Lu
828d233f2a
Rollback duplicated feature
2017-11-27 17:26:22 +09:00
Zhuo Lu
970babbfd7
Document openrecent
menu item
2017-11-27 17:26:22 +09:00
Zhuo Lu
f0bff74995
Add "Open Recent" submenu to default
2017-11-27 17:26:22 +09:00
Cheng Zhao
c0e9dbcc00
Merge pull request #11144 from dittos/mas-login-helper-again
...
Re-land MAS login helper (w/ regression fix)
2017-11-27 17:02:57 +09:00
Aleksei Kuzmin
9c5acf6233
Remove "async" flag from the menu.popup()
options
...
All menus have become async after the Chromium 61 upgrade.
Fixes #11242 .
2017-11-25 13:31:58 +01:00
Charles Kerr
1b0c1842ca
prefer sh
to bash
in the docs
2017-11-24 11:13:57 +01:00
Aleksei Kuzmin
47d683f0ad
DevTools: do not set visible size while emulating in case of device mode.
...
https://chromium-review.googlesource.com/c/chromium/src/+/572222
2017-11-24 10:58:16 +09:00
Charles Kerr
9c217fc6c7
Merge pull request #11224 from electron/browser-view-window
...
feature: Add `BrowserWindow.fromBrowserView()`
2017-11-23 14:41:36 +01:00
Charles Kerr
3f21e1240f
Merge pull request #11231 from Toinane/fix-doc
...
fix doc in download-item
2017-11-23 14:39:52 +01:00
Toinane
dd139706ea
fix doc in download-item
2017-11-23 13:31:09 +01:00
Felix Rieseberg
6298748d0b
📝 Document BrowserView.fromWebContents()
2017-11-22 17:02:01 -08:00
Felix Rieseberg
69e461083a
📝 Document BrowserView.getAllViews()
2017-11-22 17:00:09 -08:00
Felix Rieseberg
8f20ce6dcf
📝 Docs!
2017-11-22 14:38:22 -08:00
Charles Kerr
70643a865b
Merge pull request #11178 from electron/fenced-code-block-lang
...
enforce rules on code blocks style in docs
2017-11-21 13:38:46 +01:00
Cheng Zhao
596a61f1ad
Merge pull request #11059 from electron/clear-permissions-handler
...
Document setPermissionRequestHandler(null)
2017-11-21 09:50:17 +09:00
Charles Kerr
432d050481
Merge pull request #11167 from simast/menu-typings-fix
...
Improve setApplicationMenu/getApplicationMenu docs
2017-11-20 13:28:37 -06:00
Vanessa Yuen
435e027dc3
fix linting for fenced codeblocks only (see electron/electronjs.org#868 )
2017-11-20 14:33:25 +08:00
Ronald Eddy
14c6e78147
Update electron.atom.io -> electronjs.org
...
Update electron.atom.io -> electronjs.org to reduce redirects and speed navigation.
2017-11-19 04:01:33 -08:00
Simas Toleikis
c465257d69
Fix docs for menu setApplicationMenu/getApplicationMenu methods [ci skip]
2017-11-19 11:41:22 +02: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
Numaan Ashraf
b695f1221c
📝 Fix typo in session docs
2017-11-15 20:54:24 +05:30
Charles Kerr
31172ecaa0
Merge pull request #11008 from electron/implement-stream-protocol
...
Implement {register,intercept}StreamProtocol
2017-11-14 09:31:57 -06:00
Cheng Zhao
4b8ab8fc97
Merge pull request #10856 from dittos/mas-login-helper
...
Implement login helper to manage login item in Mac App Store build
2017-11-14 21:34:50 +09:00
Thiago de Arruda
5e8618ec3b
Add documentation for {intercept,register}StreamProtocol.
2017-11-13 16:16:14 -03:00
Samuel Attard
a06a8a6f79
Merge pull request #11056 from ajmacd/allow-browser-window-logs
...
Allow BrowserWindows to emit `console-message` events.
2017-11-11 14:34:39 +11:00
Felix Rieseberg
13749797ec
📝 Document setPermissionRequestHandler(null)
2017-11-10 14:48:15 -08:00
Andrew MacDonald
7c5bd62158
Decrease title size.
2017-11-08 09:37:56 -08:00
Andrew MacDonald
00665b9501
Add documentation to web-contents.md.
2017-11-08 09:35:01 -08:00
Samuel Attard
bf42426acc
Merge pull request #11048 from Toinane/fix-doc
...
fix(documentation): link in browserwindows.md
2017-11-08 01:14:36 +11:00
Toinane
247af376fe
fix(documentation): link in browserwindows.md
2017-11-07 14:17:00 +01:00
Felix Rieseberg
067662b304
📝 Oh look, another typo
2017-11-03 13:02:12 -07:00
Felix Rieseberg
43bb74cb13
📝 One-character typo change
2017-11-03 10:54:17 -07:00
Cheng Zhao
42d6fe209c
Merge pull request #10936 from robinwassen/tray-docs-update
...
Removed incorrect optional labels from tray.displayBalloon(options) docs
2017-11-03 15:08:43 +09:00
Shelley Vohr
14df9a58c7
remove setExtraParam from docs
2017-11-01 22:30:48 -04:00
Shelley Vohr
dc9c2673d7
docs typo fix
2017-11-01 22:25:10 -04:00
Shelley Vohr
3af83f1c97
add new method and mark setExtraParameter for deprecation
2017-11-01 21:57:43 -04:00
Shelley Vohr
33092e6324
update docs to reflect parameter method change
2017-11-01 21:21:41 -04:00
Samuel Attard
dc8b583363
Merge pull request #10944 from electron/fix-notification-ref-crash
...
Close the previous notification on multiple calls to show
2017-10-28 12:33:30 +13:00
Felix Rieseberg
2e487adf8a
📝 Add a line to the docs
2017-10-27 12:17:30 -07:00
Felix Rieseberg
7bad679a69
📝 Correct types
2017-10-27 12:14:09 -07:00
Felix Rieseberg
29a85bc928
📝 Document it
2017-10-27 11:44:48 -07:00
Matt Crocker
ca8f45a501
Notifications should emit close on close, not eventual GC
2017-10-27 00:04:19 -07:00
Samuel Attard
fe9069c028
Close the previous notification on multiple calls to show
2017-10-27 16:22:21 +13:00
Robin Andersson
08845c9903
Removed incorrect optional labels from tray.displayBalloon(options) docs
2017-10-26 20:21:09 +02:00
Cheng Zhao
4db34ff092
Merge pull request #10711 from yuya-oc/did-attach-webview
...
Add did-attach-webview event
2017-10-26 10:55:50 +09: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
John Kleinschmidt
a65ab1d5a7
Merge pull request #10829 from zombieleet/master
...
update docs to show usage of ipcRenderer.sendTo
2017-10-18 09:33:57 -04:00
John Kleinschmidt
57537ea10e
Merge pull request #10810 from qazbnm456/add_error_code_to_session_set_certificate_verify_proc
...
Add error code to session.setCertificateVerifyProc
2017-10-18 09:33:37 -04:00
73mp74710n
0a0897ef28
Update ipc-renderer.md
2017-10-18 02:52:02 +01:00
73mp74710n
c647b0c65e
update docs to show usage of ipcRenderer.sendTo
2017-10-18 02:35:19 +01:00
Zeke Sikelianos
71f13620d3
Merge pull request #10795 from samthomson/docs/shell-open-external
...
updated docs
2017-10-16 19:32:09 -07:00
Zeke Sikelianos
a914d3c534
Merge pull request #10612 from electron/notification-docs-fix
...
Add `string` to notification doc
2017-10-16 19:31:47 -07:00
Boik
f40cc5ab54
add error code to session.setCertificateVerifyProc
2017-10-16 17:17:21 +08:00
Sam Thomson
f57b619097
updated docs
2017-10-14 13:11:44 +01:00
Birunthan Mohanathas
13b9b5c0c0
Merge pull request #10746 from electron/removeuserdefault
...
Add systemPreferences.removeUserDefault()
2017-10-12 16:08:57 +03:00
Birunthan Mohanathas
06d782279c
Add systemPreferences.removeUserDefault()
...
This can be used to restore the default or global value of a `key`
previously set with `setUserDefault`.
2017-10-10 22:57:47 +03:00
Samuel Attard
b5ba8699f3
Enable hsl shifting of named images
2017-10-10 17:05:13 +11:00
Samuel Attard
ec610cd97b
Document new nativeImage.createFromNamedImage method
2017-10-10 03:16:24 +11:00
Yuya Ochiai
6326c6727e
Add did-attach-webview event
2017-10-07 22:52:20 +09:00
Sean Bannigan
0b205019b6
add mouse-move event and click event position for tray
2017-10-05 11:41:08 +09:00
Cheng Zhao
8c5bb5969c
Merge pull request #10667 from dittos/window-opacity
...
Add window opacity support
2017-10-04 15:03:45 +09:00
Felix Rieseberg
c4de658964
📝 Make a note in the docs
2017-10-03 10:25:42 -07:00
John Kleinschmidt
93e40ee79c
Merge pull request #10677 from rhysd/fix-doc-findInPage
...
Fix findInPage() documentation for correcting type definition
2017-10-03 10:16:39 -04:00
Cheng Zhao
09b93aa164
No need of example for such simple API
2017-10-03 20:12:05 +09:00
Daniel Ma
1bb042a661
feat(NativeWindowMac): addTabbedWindow
...
Add support for the [`NSWindow addTabbedWindow`][nsw] method on MacOSX
This plays nicely with the changes from #9052 and #9725
Usage samples available in [this commit][c] in my fork of
`electron-quick-start`
[nsw]: https://developer.apple.com/documentation/appkit/nswindow/1855947-addtabbedwindow
[c]: 79f06591df
2017-10-03 20:11:16 +09:00
rhysd
32ad59de26
Fix findInPage() documentation for correcting type definition
...
This update fixes the return type of `findInPage()`, which is currently
typed as `void` but actually it should be `number`.
2017-10-03 16:39:37 +09:00
Taeho Kim
7570ec9d39
Add BrowserWindow.getOpacity for consistency
2017-10-03 00:08:10 +09:00
Taeho Kim
7c1c8f323c
Update browser-window.md
2017-10-01 17:36:22 +09:00
Vadim Macagon
3ad1cccb1d
[ci skip] Fix link to Chromium Runtime Features JSON file ( #10639 )
2017-09-29 14:17:00 -04:00
Shelley
e05f6102c2
update docs for new getPath() path
2017-09-28 13:35:24 -04:00
Shelley Vohr
15b0878a17
Merge pull request #10618 from electron/add-menuitembyid
...
[WIP] add getMenuItemById to Menu API
2017-09-26 22:33:05 -04:00
Shelley Vohr
05c50b0a2e
fix docs typo
2017-09-26 21:30:27 -04:00
Shelley Vohr
31bf873c20
add docs update for new api call
2017-09-26 21:14:44 -04:00
Felix Rieseberg
ff97817668
Add string
to notification doc
...
Tiny fix: The docs suggest `NativeImage` for `icon`, but a string is also allowed.
2017-09-25 14:02:59 -07:00
Zeke Sikelianos
d27f7c25b3
Revert "PrinterInfo options object causes TypeScript error"
2017-09-24 11:11:04 +09:00
Zeke Sikelianos
5843c98153
Merge pull request #10505 from qazbnm456/update-docs
...
docs: update web-request.md
2017-09-24 09:36:23 +09:00
Samuel Attard
fa444dd029
Merge pull request #10540 from bpasero/touchbar-docs
...
Docs: set iconPosition as optional
2017-09-18 13:01:02 +10:00
Benjamin Pasero
ba5fe1d161
set iconPosition as optional
2017-09-17 17:44:36 +02:00
Milan Burda
9cfadbe6af
Merge pull request #10509 from kewde/patch-1
...
docs: fix examples for sandbox
2017-09-17 12:26:27 +02: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
Kevin Sawicki
53b0698ee2
Add options object
2017-09-14 14:57:59 +09:00
Cheng Zhao
a19a229a59
Merge pull request #10254 from zachflower/feature/simple-fullscreen-mode
...
Feature/simple fullscreen mode
2017-09-14 09:39:50 +09:00
Kewde
589585a269
Fix examples
...
w -> win
2017-09-13 20:53:30 +00:00
Boik
0d312f3674
docs: update web-request.md
2017-09-13 22:09:21 +08: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
Toinane
1cb13be65f
style: fix the word incompatible in docs
2017-09-12 15:51:53 +02: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
Zachary Flower
f256967414
📝 make clear what simple fullscreen mode is
2017-09-11 23:09:45 -06:00
Toinane
2c56b67ea5
style: fix directory word in docs
2017-09-11 17:49:58 +02:00
Cheng Zhao
10ab870237
Merge pull request #10321 from kaylanm/macos-native-tab-api
...
🍎 Add macOS native tab methods to window API
2017-09-11 18:49:56 +09:00
Cheng Zhao
cc9771a3d0
Merge pull request #10307 from liusy182/10240-theme-color-2
...
return null when theme color is transparent or not found
2017-09-11 18:40:35 +09: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
Cheng Zhao
0694334487
Merge pull request #10271 from kaylanm/macos-native-tab-menu-items
...
🍎 Add roles for macOS native tab menu items
2017-09-11 17:41:31 +09:00
Samuel Attard
195cb91721
Make crashesDirectory optional
2017-09-08 13:21:35 +10:00
Samuel Attard
8e9b98360a
Mark filters as optional inside webRequest
2017-09-07 14:26:37 +10:00
Benjamin Pasero
54bd60d657
add crashesDirectory to crash reporter options
2017-09-07 06:07:28 +02:00
Vanessa Yuen
c784968e85
Merge pull request #10303 from MathieuDebit/doc/fix-desktopcapture-example
...
📝 Fix desktopCapturer example
2017-08-31 14:49:16 -04: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
Samuel Attard
e58ba1dc8e
Update ipc-renderer.md
2017-08-29 16:12:55 +10:00
Zeke Sikelianos
c6918966c2
Merge pull request #10214 from psh0628/contextisolation-sandbox-fix
...
fix contextIsolation issue while webPreference sandbox is on
2017-08-28 21:20:04 -07: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
Vanessa Yuen
deb7ccbef3
fix lint error
2017-08-25 17:24:50 -04:00
Vanessa Yuen
bb153ee79e
update browser-window.md
...
Add a note about the subtle difference between `window.onbeforeunload = handler` and `window.addEventListener('beforeunload', handler)`.
2017-08-25 17:14:20 -04:00
Ivan Mir
6717f0d2bb
Add accessibility setter to the app
2017-08-24 11:22:28 -03:00
sungpark
f984bd2ff5
use spaces instead of hard tabs for indentation and add the supported modules as a sub-list
2017-08-23 10:52:02 -07:00
sungpark
eca7ff986c
add webFrame to sandboxed renderer
2017-08-23 10:52:02 -07:00
Liu Siyuan
e64d4e5bd7
update web-content.md based on review
2017-08-23 23:37:37 +08:00
Liu Siyuan
15d2cfe458
update docs
2017-08-23 23:04:00 +08:00
Michael Kaylan
b4428e7e41
🍎 Add macOS native tab methods to window API
2017-08-21 23:24:30 -04:00
Charlie Hess
f17bd040ad
Merge pull request #10293 from electron/notification-sounds
...
Add support for soundName in main process notifications
2017-08-21 16:15:47 -07:00
Zeke Sikelianos
b1011768e5
Merge pull request #10251 from electron/new-update-docs
...
New guide for implementing updates
2017-08-21 15:22:43 -07:00
Charlie Hess
f2c0d1f0c5
📝 Little cleanup.
2017-08-21 13:56:10 -07:00
Charlie Hess
db081d95d5
Review CommentZ.
2017-08-21 13:53:50 -07:00
Siyuan Liu
eeb2e58ad8
return null when theme color is not found
2017-08-20 22:48:13 +08:00
Mathieu Débit
81f7b422e4
📝 Fix desktopCapturer example ( #10303 )
...
[ci skip]
Based on MDN example:
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#Examples
2017-08-18 22:02:28 +02:00
Cheng Zhao
ac6a44f0ac
Merge pull request #10273 from rhysd/doc-fix-optional-args
...
fix some optional args docs
2017-08-18 19:07:56 +09:00
Charlie Hess
2b9b186fd1
Rename soundName → sound.
2017-08-17 17:28:14 -07:00
Charlie Hess
0cfae1cc2b
Plumb in the macOS soundName property for notifications.
2017-08-17 13:31:20 -07:00
rhysd
01f549628f
fix signature of <webview>.executeJavaScript
2017-08-17 17:06:30 +09:00
Cheng Zhao
ecff620528
Merge pull request #10081 from renaesop/master
...
Add a callback option to `webContents.print`
2017-08-17 15:56:02 +09:00
Cheng Zhao
f908678e8e
Merge pull request #10183 from andens/mouse_forward
...
Mouse forward functionality on Windows
2017-08-17 15:54:22 +09:00
Andreas Flöjt
d4bbd7c7ab
Add example of using mouse forwarding.
2017-08-16 03:28:52 +02:00
rhysd
2edf4da859
fix some optional args docs
2017-08-16 02:23:36 +09:00
Michael Kaylan
7741a0e6ad
🍎 Add roles for macOS native tab menu items
...
Fixes #9086 , #10064 .
2017-08-15 11:30:39 -04:00
Leo Lamprecht
78f11df6e4
Full Windows section is back
2017-08-15 11:27:33 +02:00
Leo Lamprecht
3405596983
Brought back Windows section
2017-08-15 11:24:59 +02:00
renaesop
6d16eb81d2
Add a callback option to webContents.print
2017-08-15 14:44:24 +08:00
Andreas Flöjt
3d33da7696
Make mouse forward option of setIgnoreMouseMessages and update documentation.
2017-08-14 20:21:00 +02:00
Zachary Flower
8a2c35023f
📝 Document simple fullscreen functionality [ci skip]
2017-08-13 00:58:28 -06:00
Leo Lamprecht
01f31edb95
Cut down platform notices a little
2017-08-12 01:30:29 +02:00
Leo Lamprecht
c1a40fbd98
Linked guide about implementing updates
2017-08-12 01:10:20 +02:00
Zeke Sikelianos
d0130e1b09
Merge pull request #9988 from kant2002/patch-1
...
Allow TypeScript definitions work with strictNullChecks
2017-08-07 20:37:26 -07:00
John Kleinschmidt
ccdff72ee4
Merge pull request #9918 from alexstrat/add-extensions-loading-api
...
Introduce Chrome extensions management APIs independent of Dev Tools Extensions
2017-08-07 20:06:22 -04:00
Andreas Flöjt
12dbcfa2ea
📝 Documentation for setForwardMouseMessages.
2017-08-02 21:50:42 +02:00
Birunthan Mohanathas
20ae611dd9
Merge pull request #10097 from liusy182/liusy182-browserview
...
#10039 add BrowserView.fromId
2017-07-28 01:27:47 +03:00
Dustin
bdc7d38f48
Removed mention of SegmentedControl in description
2017-07-27 07:51:19 +02:00
Zeke Sikelianos
1811b0cbda
fix heading levels for class docs
2017-07-26 13:02:40 -07:00
Zeke Sikelianos
ac248e79a4
Merge pull request #10113 from lsegal/patch-1
...
Mark certain Notification options as optional
2017-07-25 17:04:13 -07:00
Loren Segal
205954fa27
Mark certain Notification options as optional
...
This change makes the `subtitle` and `actions` options optional to the
Notification constructor, since they are only available on macOS.
2017-07-25 13:24:15 -04:00
Fabian Zeindl
5db02ffaa9
updates to the docs
2017-07-24 10:29:45 +02:00
Cheng Zhao
cb3c5ded0f
Merge pull request #9975 from wayne-kim/patch-5
...
this code is not care a bubbling event
2017-07-24 16:07:44 +09:00
Siyuan Liu
ae7c1ae741
#10039 add BrowserView.fromId
2017-07-24 11:32:30 +08:00
Kevin Sawicki
959231f766
Merge pull request #9834 from shubham2892/input-type-file-treating-packaged-app-as-directory
...
Fix treat packaged app as directory
2017-07-18 10:21:07 -07:00
Kevin Sawicki
7db3009234
Remove s
2017-07-18 10:19:00 -07:00
Kevin Sawicki
908c1fdfa0
Mark treatPackageAsDirectory as mac only
2017-07-18 10:18:23 -07:00
Shubham
b25a1d10a2
🍎 Add treatPackageasDirectory as an option
2017-07-18 10:13:25 -07:00
Kevin Sawicki
a2554080ea
Mark nativeWindowOpen as experimental
2017-07-17 12:40:59 -07:00
Kevin Sawicki
0b13ccac34
Merge pull request #9855 from electron/paulcbetts-patch-1
...
Recommend electron-forge in auto-updater, fix some Windows stuffs
2017-07-14 14:33:39 -07:00
Kevin Sawicki
5581d1d652
Merge pull request #9788 from shubham2892/Add-option-to-show-title-text-in-titlebar-in-fullscreen
...
Add alwaysShowTitleTextInFullscreen flag
2017-07-14 11:58:12 -07:00
Kevin Sawicki
9102c07ec7
always_show_title_text_in_full_screen -> fullscreen_window_title
2017-07-14 11:48:10 -07: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
Andrey Kurdyumov
189be18dd2
Allow TypeScript definitions work with strictNullChecks
...
See https://github.com/electron/electron-typescript-definitions/issues/25
2017-07-12 20:29:32 +06:00
Hari Juturu
9a3b78d9fe
Fix devtools open in mixed sandbox mode
2017-07-11 18:36:00 -07:00
Wayne Loopy
bc0f3b1bf8
this code is not care a bubbling event
...
So If you do not care bubbling equally, I think it should change like this.
2017-07-11 15:44:08 +09:00
Alexandre Lachèze
f09e448d4d
📝
2017-07-05 17:01:30 +02:00
Amos Wenger
bd8459841b
📝 mixed devtools behavior with mixed sandbox
2017-07-04 14:20:18 +02:00
Milan Burda
a196bf97bc
🍎 Add subtitle to Notification properties
2017-06-30 16:54:28 +02:00
Kevin Sawicki
e37fc0e30a
Mark mixed sandbox as macOS/Windows only
2017-06-28 14:36:34 -07:00
Kevin Sawicki
0f83180377
Merge pull request #9837 from electron/notification-actions
...
Notification actions
2017-06-28 12:59:10 -07:00
Kevin Sawicki
e44f655503
Merge pull request #9760 from shubham2892/Add-mouse-enter-and-mouse-exit-event-for-Tray
...
Add mouse-enter and mouse-exit events for tray
2017-06-28 12:15:32 -07:00
Kevin Sawicki
70544440f9
Add location and keyboard modifiers to tray mouse events
2017-06-28 12:10:24 -07:00
Kevin Sawicki
2406d6c279
Rename to mouse-leave for consistency with drag-leave
2017-06-28 11:40:21 -07:00
Kevin Sawicki
4958771b8a
Merge pull request #9852 from electron/webcontents-ignorekeyboardshortcuts
...
Add webContents.setIgnoreMenuShortcuts()
2017-06-28 10:35:02 -07:00
Kevin Sawicki
0d1cf8af35
Mark contents.setIgnoreMenuShortcuts as experimental
2017-06-28 10:20:22 -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
Kevin Sawicki
f0ec9c68b0
Merge pull request #9883 from electron/ipc-return-value
...
document the return value of ipcRenderer.sendSync
2017-06-28 08:03:27 -07:00
Zeke Sikelianos
f646be2981
document the return value of ipcRenderer.sendSync
2017-06-27 12:01:39 -07:00
Zeke Sikelianos
d3ac9a3f3b
fix crash reporter typo
2017-06-27 10:40:14 -07:00
Hari Krishna Reddy Juturu
74196b96a1
Adding enableMixedSandbox api
2017-06-26 14:13:41 -07:00
Birunthan Mohanathas
f20f87829b
Add webContents.setIgnoreMenuShortcuts()
...
This allows you to disable application menu shortcut handling on a per
web contents basis.
2017-06-26 14:01:17 -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
Kevin Sawicki
3804bc5eb2
Merge pull request #9847 from timfish/patch-1
...
Fixes electron/electron-typescript-definitions/issues/63
2017-06-26 08:50:49 -07:00
Kevin Sawicki
43f7e42bf7
Mark silent/printBackground as optional
2017-06-26 08:50:00 -07:00
Kevin Sawicki
ef38122388
Merge pull request #9778 from lepinay/patch-1
...
Extra properties must be less than 63 characters
2017-06-26 08:36:43 -07:00
Kevin Sawicki
cbaf3d4787
Tweak character limit description
2017-06-26 08:35:57 -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
Cheng Zhao
00d023cd71
Merge pull request #9725 from danielma/dma/native-tab-new-button
...
Add "New Tab" button for Native macOS Tabs
2017-06-26 15:07:10 +09:00
Paul Betts
97a9708c03
Recommend electron-forge in auto-updater, fix some Windows stuffs
...
We should point people to electron-forge, it's the modern way to package Electron apps
2017-06-25 22:10:48 -07:00
Tim Fish
58a42682d8
Fixes electron/electron-typescript-definitions/issues/63
2017-06-25 10:43:47 +02:00
Samuel Attard
b8be81f101
Fix structure docs
2017-06-24 00:30:13 +10:00
Samuel Attard
17e737eba2
s/label/text
2017-06-23 21:04:39 +10:00
Samuel Attard
96f9dba595
Document the reply / button compatibility state
2017-06-23 20:56:55 +10:00
Samuel Attard
a9bf9d26ab
Fix typo in Notification docs
2017-06-23 20:50:50 +10:00
Samuel Attard
4f0d48f164
Add support for notification actions on macOS
2017-06-23 20:50:20 +10: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
John Kleinschmidt
a4e0af2fbf
Updated referenced command line flag.
2017-06-21 15:01:55 -04:00
John Kleinschmidt
671f5c20f7
Add process properties in lieu of command line options.
...
Resolves #9139
For certain node command line options, those options can be set via the
process object (process.noDeprecation, process.throwDeprecation,
process.traceDeprecation, and process.traceProcessWarnings) so they are
documented here.
Also, sorted properties and methods alphabetically for easier
readability.
2017-06-21 14:58:44 -04:00
Hari Krishna Reddy Juturu
cf392e402c
Adding docs
2017-06-19 11:21:31 -07:00
Shubham
25c651c40a
add alwaysShowTitleTextInFullscreen flag
2017-06-17 20:45:29 -04:00
foo bar code
4bed743417
Extra properties must be less than 63 characters
...
I found out that after trying to putting some long text in my extra properties that it was truncated, digging around I found these:
897d58bde1/atom/common/crash_reporter/crash_reporter_win.cc
const int kNameMaxLength = 64;
const int kValueMaxLength = 64;
2017-06-16 14:41:12 +02:00
Birunthan Mohanathas
ece50c036d
Document webContents.focus()
2017-06-15 10:19:27 -07:00
Kevin Sawicki
e94698d7cd
Merge pull request #9751 from electron/optional-spelling
...
use lowercase for optional annotation
2017-06-15 10:12:15 -07:00
Zeke Sikelianos
7587fc22f1
Merge pull request #9724 from electron/bump-standard-markdown
...
Bump standard-markdown
2017-06-14 17:26:53 -07:00
Shubham
8dbb8ccbab
add mouse-enter and mouse-exit events for tray
2017-06-14 18:00:29 -04:00
Kevin Sawicki
dae27de504
Merge pull request #9588 from electron/poiru/dialog-default-file-name
...
Use last selected directory when using default file name in dialog.showSaveDialog()
2017-06-14 14:41:45 -07:00
Thomas Hofmann
1a6f6fd497
Create app.md
2017-06-14 12:12:30 +02:00
Zeke Sikelianos
56ee50f3a3
use lowercase for optional annotation
2017-06-13 13:50:10 -07:00
Zeke Sikelianos
b328a238a6
Merge pull request #9750 from electron/path-csd-props
...
Make clearStorageData options object's property optional
2017-06-13 13:48:10 -07:00
Vanessa Yuen
cd28bdd815
add integer note to each parameter
2017-06-13 11:51:55 -07:00
Samuel Attard
de066b8d13
Make clearStorageData options object's property optional
...
Fixes #9749
2017-06-14 04:34:13 +10: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
Zeke Sikelianos
3d2c622ba7
use new Buffer.from
2017-06-10 12:22:27 -07:00
Brian Fajardo
1f73942922
Update rectangle.md (issue #9552 )
...
Clear confusion regarding rectangle object parameter values
2017-06-09 17:13:57 -04:00
Kevin Sawicki
206bca52b7
Merge pull request #9706 from KagamiChan/master
...
📝 add notes for peak working set size on macOS
2017-06-09 08:43:06 -07:00
Zeke Sikelianos
6360576d9e
link to cookie structure
2017-06-08 10:09:40 -07:00
Kagami
a702f8a5f5
add peak working set size comment
2017-06-09 01:05:53 +08:00
Samuel Attard
dd394b0d5c
Fix typings for cookies.get
2017-06-08 23:03:57 +10:00
Zeke Sikelianos
0732329a38
Merge pull request #9599 from electron/fix-type-defs
...
Fix type definitions for getCPUUsage / getIOCounters
2017-06-07 09:21:46 -07:00
Birunthan Mohanathas
7d2226e05e
Let Chromium manage document.visibilityState
and document.hidden
...
Chromium already includes the necessary plumbing to manage the
visibility properties and `visibilitychange` event so this gets rid of
most of our custom logic for `BrowserWindow` and `BrowserView`.
Note that `webview` remains unchanged and is still affected by the issues
listed below.
User facing changes:
- The `document` visibility properties and `visibilitychange` event are
now also updated/fired in response to occlusion changes on macOS. In
other words, `document.visibilityState` will now be `hidden` on macOS
if the window is occluded by another window.
- Previously, `visibilitychange` was also fired by *both* Electron and
Chromium in some cases (e.g. when hiding the window). Now it is only
fired by Chromium so you no longer get duplicate events.
- The visiblity state of `BrowserWindow`s created with `{ show: false }`
is now initially `visible` until the window is shown and hidden.
- The visibility state of `BrowserWindow`s with `backgroundThrottling`
disabled is now permanently `visible`.
This should also fix #6860 (but not for `webview`).
2017-06-06 15:16:01 -07:00
Kevin Sawicki
1adc94b650
Mention customButtonsOnHover is for frameless windows
2017-06-05 14:18:08 -07:00
Kevin Sawicki
d5dc849c7a
Doc customButtonsOnHover in frameless window guide
2017-06-05 14:16:44 -07:00
Kevin Sawicki
41d582f689
Add back hidden-inset as a deprecated option
2017-06-05 14:16:23 -07:00
Kevin Sawicki
594302fcff
Update docs to use hiddenInset
2017-06-05 14:07:57 -07:00
Kevin Sawicki
7d10bf229d
Switch to titleBarStyle for custom window buttons on hover
2017-06-05 13:30:32 -07:00
Kevin Sawicki
410e5bce60
Document customWindowButtons option
2017-06-05 13:04:17 -07:00
Kevin Sawicki
9a362eed53
Merge pull request #9572 from shubham2892/api-height-menubar-macos
...
API height menubar macos
2017-06-05 10:35:16 -07:00
Kevin Sawicki
653ef6f839
🎨
2017-06-05 10:33:46 -07:00
Kevin Sawicki
f5989dc12f
Merge pull request #9615 from rajatsingla28/web
...
Docs: Add requirement for `webContents.sendInputEvent()` to work.
2017-06-05 10:03:48 -07:00
Kevin Sawicki
afa2dd5ce5
Minor updates to focus note
2017-06-05 10:03:25 -07:00
Kevin Sawicki
fb47dc9e48
🎨
2017-06-05 08:55:42 -07:00
Rajat
2df7680d24
Docs: Add requirement for webContents.sendInputEvent()
to work.
2017-06-03 23:47:15 +05:30
Samuel Attard
af09d85125
Update menu.md
2017-06-03 14:50:10 +10:00
Kevin Sawicki
b964c304de
Add return type to systemPreferences.isAeroGlassEnabled()
2017-05-31 10:34:14 -07:00
Kevin Sawicki
9250b559f9
Merge pull request #9623 from miniak/gpu-info
...
Add app.getGPUFeatureStatus
2017-05-31 08:11:50 -07:00
Cheng Zhao
e82af41591
Merge pull request #9269 from electron/main-notifications
...
Notifications from the main process
2017-05-31 17:21:05 +09:00
Milan Burda
0ecfb4e2f8
Add app.getGPUFeatureStatus
2017-05-30 20:35:14 +02:00
Samuel Attard
3938373ecb
Fix linting errors and add isSupported
2017-05-30 20:27:24 +10:00
Samuel Attard
5048425e6e
Update implementation as per feedback
2017-05-30 19:06:51 +10:00
Rajat
a1da54047a
Docs : Add requirement for 'webContents.sendInputEvent()` to work.
2017-05-29 20:19:28 +05:30
Rajat
973945a8e3
Docs: Add BrowserWindow
needs to be focused for webContents.sendInputEvent()
to work.
2017-05-29 20:10:32 +05:30
Samuel Attard
6cdfb43e4e
Emit a close event
2017-05-29 21:33:43 +10:00
Zeke Sikelianos
116403ed03
remove electron prefix
2017-05-26 15:57:39 -07:00
Charlie Hess
49f76b8bc3
Add Electron prefixes.
2017-05-26 15:56:54 -07:00
Charlie Hess
b88327e025
Type definitions for getCPUUsage / getIOCounters
2017-05-26 15:56:54 -07:00
Kevin Sawicki
b9a25113a6
Add backticks to Object
2017-05-26 14:04:28 -07:00
Kevin Sawicki
b0d4bf81a0
Add backticks around return types
2017-05-26 13:58:14 -07:00
Kevin Sawicki
385d6faf1a
Remove options to appease typescript definitions
2017-05-26 13:33:09 -07:00
Kevin Sawicki
dcb22d34b5
Mark deviceName as optional
2017-05-26 13:33:03 -07:00
Kevin Sawicki
8f22e6a265
Add webview example to nativeWindowOpen docs
2017-05-26 10:10:36 -07:00
Kevin Sawicki
6c520a5f40
Fix typo in option name
2017-05-26 10:10:36 -07:00
Kevin Sawicki
9137a2279a
Merge pull request #9486 from electron/child-observer
...
Adding CPU & Memory metrics for App
2017-05-26 09:28:22 -07:00
Kevin Sawicki
cabcd0ef8f
Fix typos in ProcessMetric doc
2017-05-26 08:36:51 -07:00
Kevin Sawicki
b5879b7399
🎨 Minor formatting/doc changes
2017-05-26 07:51:17 -07:00
Birunthan Mohanathas
19555bbab2
Use last selected directory when using default file name in dialog.showSaveDialog()
...
Prior to this change, attempting to use
`dialog.showSaveDialog({ defaultPath: 'foo.png' })` would open the save
dialog to the current directory with the default file name set to
`foo.png`. We now use the last selected directory instead of the current
directory.
Absolute paths are not affected by this change.
2017-05-26 02:18:23 +03:00
Jan Němeček
1b96f66541
Update webview-tag.md
...
Spelling correction.
2017-05-25 13:32:20 +02:00
Hari Juturu
939747945e
Adding CPU & Memory metrics for App
2017-05-24 21:07:35 -07:00
Rajat
ec6eb74ccc
Docs: Remove optional parameter for removeAllListeners.
...
Fixes #9277
2017-05-25 00:36:14 +05:30
Shubham
793d5fd191
🎨 Fix documentation
2017-05-23 23:27:55 -04:00
Shubham
ec0e33e258
Add mac_os tag to documentation
2017-05-23 22:39:54 -04:00
Shubham
b2f1cdfbae
Add API to get top bar height on macOS
2017-05-23 22:24:56 -04:00
Kevin Sawicki
5adf9c47fc
Remove buffers option since only a single is supported
2017-05-22 13:49:26 -07:00
Ryohei Ikegami
fd313ad578
Tweak doc text
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
f2471cb1b7
Rename buffer -> buffers
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
6ec344a499
Add experimental
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
44840ab6cc
Add docs
2017-05-22 13:43:21 -07:00
Javan Makhmali
b07a6af713
Update BrowserView docs. Fixes #9553
2017-05-22 13:41:01 -04:00
Samuel Attard
f5de57dbdb
Mark notification API as experimental
2017-05-23 02:05:13 +10:00
Samuel Attard
8815da314f
Add Notification API docs
2017-05-23 02:05:13 +10:00
Birunthan Mohanathas
cd2e6f497f
Fix missing return value type for systemPreferences.getUserDefault
2017-05-22 17:19:03 +03:00
Kevin Sawicki
6a3f2e90db
Tweak webviewTag option description
2017-05-19 10:22:28 -07:00
Kevin Sawicki
74b7afbec7
Merge origin/master into enable-webview
2017-05-19 10:17:34 -07:00
Kevin Sawicki
73b49f0dfe
Fix JSON issue in example block
2017-05-18 11:28:10 -07:00
Kevin Sawicki
a8d25d6855
Add printer info structure file
2017-05-18 10:50:08 -07:00
Kevin Sawicki
e0b39247a9
Tweak print docs
2017-05-18 10:17:08 -07:00
Kevin Sawicki
92f14f8d52
printerList() -> getPrinters()
2017-05-18 10:14:55 -07:00
Kevin Sawicki
84a9b6a42d
Merge remote-tracking branch 'origin/master' into renaesop_master
2017-05-18 10:08:40 -07:00
Kevin Sawicki
1a210ed114
Remote stray ©
2017-05-17 14:00:40 -07:00
Kevin Sawicki
6fccb75dfb
Mention preloadURL is in webPreferences
2017-05-17 13:59:48 -07:00
Kevin Sawicki
27a4522d65
Add will-attach-webview advice to security.md
2017-05-17 13:56:19 -07:00
Kevin Sawicki
bde13353fb
Rename option to webviewTag and default to nodeIntegration value
2017-05-17 13:12:23 -07:00
Kevin Sawicki
837ea884de
Merge remote-tracking branch 'origin/master' into enable-webview
2017-05-17 12:45:29 -07:00
Kevin Sawicki
e3160126d6
Update debug CLI flags
2017-05-16 14:44:28 -07:00
Kevin Sawicki
1df72e42a5
Merge pull request #9404 from tom-james-watson/master
...
Clarify dialog blocking functionality
2017-05-16 12:39:23 -07:00
Kevin Sawicki
4f99cb19bd
🔥 ;
2017-05-15 13:38:57 -07:00
Kevin Sawicki
d79ac8d9c1
Merge pull request #9222 from alexstrat/add-os-process-id
...
Add OS pid to web-contents
2017-05-15 13:28:47 -07:00
Daniel Pereira
f4d3c169b0
📝 Update documentation desktopCapturer to javascript[ci skip]
2017-05-15 13:45:14 -05:00
Daniel Pereira
37bcc96e95
📝 Update constraints for audio sharing[ci skip]
2017-05-15 13:42:47 -05:00
Daniel Pereira
e38e294be3
📝 Update use of deprecated getUserMedia[ci skip]
2017-05-15 13:38:32 -05:00
Kevin Sawicki
c7e6cbcf9f
Merge pull request #9435 from electron/disk-cache-size-flag
...
support --disk-cache-size flag
2017-05-15 11:09:38 -07:00
Birunthan Mohanathas
a1e826e405
Fix copy paste typos in BrowserView docs
2017-05-15 21:09:11 +03:00
Alexandre Lachèze
77bf4c8ebb
📝 document getOSProcessId()
2017-05-15 20:02:20 +02:00
Kevin Sawicki
b4fc50e3b2
Doc --disk-cache-size
2017-05-15 10:38:20 -07:00
Samuel Attard
d84ddd7fe4
Fix createFromDataURL return type
...
Fixes #9469
2017-05-16 01:24:06 +10:00
Birunthan Mohanathas
0153731888
Make docs for webview.findInPage and webContents.findInPage consistent
2017-05-14 13:43:42 +03:00
Birunthan Mohanathas
5cfa697309
Fix postData type definition in docs
2017-05-14 13:43:38 +03:00
Kevin Sawicki
190c9c916e
Merge pull request #9331 from 22222/issue2579
...
Add 'will-prevent-unload' event for #2579 .
2017-05-11 09:04:40 -07:00
Kevin Sawicki
4e1943dfe6
Minor updates to example
...
* const-ing
* mainWindow -> win
* add dialog require
2017-05-11 09:01:51 -07:00
Samuel Attard
f57c1881da
Fix return type of makeSingleInstance
2017-05-11 22:09:37 +10:00
22222
4044548f3e
Add 'will-prevent-unload' event.
2017-05-11 06:35:35 -05:00
Ryohei Ikegami
7ac93045b7
Merge branch 'master' into native-window-open
2017-05-11 13:51:43 +09:00
Kevin Sawicki
6ca7787f13
Merge pull request #9427 from electron/fix-docs-6
...
Fix webcontents capital
2017-05-10 16:30:04 -07:00
Samuel Attard
b4e356212c
Fix webcontents capital
2017-05-11 09:28:24 +10:00
Kevin Sawicki
f46b383824
Add types
2017-05-10 14:29:57 -07:00
Kevin Sawicki
a44f0620b3
: -> -
2017-05-10 14:27:51 -07:00
Kevin Sawicki
edac443673
Correct property name to pid
2017-05-10 14:26:13 -07:00
Hari Juturu
277c3155a6
use will-create-webview event
2017-05-09 10:12:44 -07:00
renaesop
cba5e96496
Merge remote-tracking branch 'ups/master'
2017-05-09 09:44:24 +08:00
Hari Krishna Reddy Juturu
3321f7d39c
Changing command line option name
2017-05-08 17:27:31 -07:00
Tom Watson
50057163c6
📝 clarify dialog buttons blocking side effect
2017-05-08 11:17:33 +02:00
Brian Zelip
68c19fc509
📝 minor docs copy edit - add two words
...
[ci skip]
2017-05-07 11:06:46 -04:00
Hari Krishna Reddy Juturu
94d054cf11
Add option to override webview security
2017-05-06 22:10:42 -07:00
Hari Krishna Reddy Juturu
b4a8ed01f1
PR 44648: Enabling creation on webview with node-integration disabled and raising events
...
- Enabling creation on webview with node-integration disabled and raising events
Conflicts:
lib/browser/guest-view-manager.js
2017-05-06 20:50:01 -07:00
Hari Krishna Reddy Juturu
472dad1ffc
convert var to const
2017-05-04 14:33:59 -07:00
Hari Krishna Reddy Juturu
8bc4d3f8bd
GetIOCounters is not implemented on mac
2017-05-04 14:33:59 -07:00
Hari Krishna Reddy Juturu
8a5aa04756
Adding CPU and I/O metrics to process module
2017-05-04 14:33:59 -07:00
Kevin Sawicki
eebae82bc1
Merge pull request #9315 from electron/segmented-control-mode
...
Add mode prop to segmented touch bar control
2017-05-04 14:16:28 -07:00
Kevin Sawicki
01b3db3d2f
🎨
2017-05-04 14:15:48 -07:00
Kevin Sawicki
59511354fd
Merge pull request #9214 from electron/app-memoryinfo
...
API to get memory of all processes of the app
2017-05-04 14:00:30 -07:00
Kevin Sawicki
edd28c9a91
Link to MemoryInfo structure
2017-05-04 13:35:12 -07:00
Kevin Sawicki
0343db53ad
Merge pull request #9344 from rafbm/patch-1
...
Use actual Chromium l10n_util list in locales.md
2017-05-04 11:31:31 -07:00
Kevin Sawicki
c59fab0179
Merge pull request #9242 from shiftkey/certificate-addition-windows
...
certificate trust API for Windows
2017-05-03 16:39:00 -07:00
Samuel Attard
718dc732ad
Add docs and add isSelected arg
2017-05-03 20:25:50 +10:00
Kevin Wojniak
342a8fd577
Add missing word
2017-05-02 09:05:07 -07:00
Rafael Masson
410078bb54
Use actual Chromium l10n_util list in locales.md
...
I’m not sure where the locale list from the [original commit](bbaab9b355
) came from, but it clearly wasn’t copied from `l10n_util`. It was missing Spanish, Portuguese, Polish, Vietnamese, to name a few…
This commit overwrite the whole list with [`l10n_util` as-is](61cfc2b0a8/ui/base/l10n/l10n_util.cc (L41-L175)
).
2017-05-01 17:15:37 -04:00
Brendan Forster
541efc3b93
tidy up docs
2017-04-29 19:35:49 +10:00
Kevin Sawicki
c26605c384
Minor edits to example guide
2017-04-27 14:22:56 -07: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
Neil Craig
c0669cb46e
Update touch-bar.md
...
Add a simple example of running the example code as it might not be obvious to people who've not used Electron. Hopefully it makes sense :-)
2017-04-27 20:19:17 +01:00
Brendan Forster
5534181ebd
rework docs
2017-04-27 15:12:30 +10:00
Brendan Forster
50af70a0e8
Merge branch 'master' into certificate-addition-windows
2017-04-27 14:47:50 +10:00
Ryohei Ikegami
1d73e84a29
Merge branch 'master' into native-window-open
2017-04-27 12:03:55 +09:00
Kevin Sawicki
f6bbcc6efa
Fix typos
2017-04-26 13:03:15 -07:00
Kevin Sawicki
87db1b8aa7
Document other inherited web preferences
2017-04-25 12:57:53 -07:00
Kevin Sawicki
7881376aff
Merge pull request #9254 from electron/endsession-event
...
End session event on browser window
2017-04-24 12:02:05 -07:00
Hari Krishna Reddy Juturu
9e70372c1f
change endsession event name to session-end
2017-04-24 10:16:11 -07:00
Kevin Sawicki
d3ae1d8d23
Merge pull request #9246 from rreimann/master
...
Clarify requirements for resumable downloads
2017-04-24 08:50:55 -07:00
Kevin Sawicki
13eeb1d17f
Minor wording tweaks
2017-04-24 08:50:40 -07:00
Kevin Sawicki
99985c0ed9
Wrap header names in backticks
2017-04-24 08:49:59 -07:00
Brendan Forster
253a4b0114
Merge remote-tracking branch 'electron/master' into certificate-addition-windows
2017-04-24 11:13:34 +10:00
rreimann
7ea6d01a8c
Rephrase note for resume method
2017-04-22 18:15:07 +02:00
Hari Krishna Reddy Juturu
3c3e14b820
End session event on browser window
2017-04-21 14:22:11 -07:00
Kevin Sawicki
e9880e9c97
Merge pull request #8996 from swashcap/master
...
Add documentation note on dynamic Menu items
2017-04-21 13:44:01 -07:00
Kevin Sawicki
7177ea5e9a
Bold note for emphasis
2017-04-21 13:39:51 -07:00
rreimann
7ce3571270
Clarify requirements for resumable downloads
2017-04-21 15:14:56 +02:00
Brendan Forster
304c8b9562
add some docs for Windows usage
2017-04-21 13:09:49 +10:00
Paul Frazee
3068d7a43e
Make note about sync webview calls in docs
2017-04-20 14:02:41 -05:00
Kevin Sawicki
dc8b43901b
Merge pull request #9108 from yuya-oc/add-macos-sheet-events
...
Add sheet-begin and sheet-end events to macOS BrowserWindow
2017-04-20 10:33:31 -07:00
Kevin Sawicki
6701a96216
Merge pull request #9211 from sindresorhus/patch-1
...
Add docs tip about testing Touch Bar usage
2017-04-18 12:10:45 -04:00
Hari Krishna Reddy Juturu
efca0a6e07
fixup! Adding cookie flush store api
2017-04-18 09:05:13 -07:00
Hari Krishna Reddy Juturu
19709a50e9
Adding cookie flush store api
2017-04-18 09:05:13 -07:00
Samuel Attard
11c7c107a9
add iconPosition property to touch bar buttons
2017-04-18 08:56:39 -07:00
Ryohei Ikegami
8dff29185b
Merge branch 'master' into native-window-open
2017-04-18 21:59:22 +09:00
Sindre Sorhus
39caa6ad23
📝 Add docs tip about testing Touch Bar usage
...
Disclosure: I made it.
Most devs don't have the new MacBook with Touch Bar, but would like to support it. I think it would be useful to point out how to easily develop and test Touch Bar usage in Electron apps.
[ci skip]
2017-04-17 14:39:37 +07:00
Yuya Ochiai
75184046f6
Add events to manage sheets of macOS BrowserWindow
2017-04-15 16:26:45 +09:00
Birunthan Mohanathas
e7d71000ee
Fix missing warning icon with dialog.showMessageBox() on macOS
...
Fixes #9183 .
2017-04-14 19:27:25 +03:00
Birunthan Mohanathas
000aedf2e7
Avoid insecure nodeIntegration in example
2017-04-13 01:27:31 +03:00
Birunthan Mohanathas
06fcf2c19d
Add support for BrowserView autoresizing
2017-04-13 01:27:31 +03:00
Birunthan Mohanathas
8b9f7e5b00
Implement initial, experimental BrowserView API
...
Right now, `<webview>` is the only way to embed additional content in a
`BrowserWindow`. Unfortunately `<webview>` suffers from a [number of
problems](https://github.com/electron/electron/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20label%3Awebview%20 ).
To make matters worse, many of these are upstream Chromium bugs instead
of Electron-specific bugs.
For us at [Figma](https://www.figma.com ), the main issue is very slow
performance.
Despite the upstream improvements to `<webview>` through the OOPIF work, it is
probable that there will continue to be `<webview>`-specific bugs in the
future.
Therefore, this introduces a `<webview>` alternative to called `BrowserView`,
which...
- is a thin wrapper around `api::WebContents` (so bugs in `BrowserView` will
likely also be bugs in `BrowserWindow` web contents)
- is instantiated in the main process like `BrowserWindow` (and unlike
`<webview>`, which lives in the DOM of a `BrowserWindow` web contents)
- needs to be added to a `BrowserWindow` to display something on the screen
This implements the most basic API. The API is expected to evolve and change in
the near future and has consequently been marked as experimental. Please do not
use this API in production unless you are prepared to deal with breaking
changes.
In the future, we will want to change the API to support multiple
`BrowserView`s per window. We will also want to consider z-ordering
auto-resizing, and possibly even nested views.
2017-04-13 01:27:27 +03:00
Kevin Sawicki
0caa35d33c
Merge pull request #9155 from Hum4n01d/master
...
Add information about dragging not working with Dev tools open
2017-04-10 08:18:09 -07:00
Kevin Sawicki
676f02e001
Tweak GitHub spelling
2017-04-10 08:17:55 -07:00
Kevin Sawicki
3ec7900e6e
Merge pull request #9154 from miniak/fix-api-docs
...
Fix api docs
2017-04-10 08:16:54 -07:00
Hum4n01d
0ce983363b
Add information about dragging not working with Dev tools open
2017-04-09 23:05:56 -07:00
Milan Burda
fa0de5c2b4
Define filter argument type for WebRequest methods
2017-04-10 02:18:36 +02:00
Milan Burda
8f46137fda
Fix session.setPermissionRequestHandler webContents argument type
2017-04-10 02:12:15 +02:00
Kevin Sawicki
b7b7f28c5a
Link properties to class docs
2017-04-08 18:50:55 -07:00
Tasuku Uno
59fe7d3dbb
📝 Fix document of MimeTypedBuffer Object
...
[ci skip]
2017-04-06 11:38:59 +09:00
Kevin Sawicki
414540bfcb
Support passing escape item to TouchBar constructor
2017-04-04 12:50:41 -07:00
Kevin Sawicki
b24b4212c5
Make escape item a property instead of setter
2017-04-04 12:50:41 -07:00
Samuel Attard
60cc862031
Make everything pointer like
2017-04-04 12:50:41 -07:00
Samuel Attard
4d6b0fc01b
Add a method to set the escape identifier on the touch bar
2017-04-04 12:50:41 -07:00
Kevin Sawicki
3e9014c371
Merge pull request #9099 from electron/certificate-trust
...
macOS: Add certificate trust API
2017-04-04 11:17:09 -07:00
Kevin Sawicki
2e32525e8f
Make browser window optional
2017-04-04 10:49:10 -07:00
Kevin Sawicki
af40a60937
Merge pull request #9072 from p-jackson/patch-1
...
Document passing null to Menu.setApplicationMenu
2017-04-04 08:42:08 -07:00
joshaber
146e1ed3ce
Don't pass the result through
...
It's meaningless on macOS, at least.
2017-04-04 09:21:15 -04:00
Ryohei Ikegami
61fa8693d2
Merge branch 'master' into native-window-open
2017-04-04 20:54:37 +09:00
Milan Burda
568454525d
Use point / size / rectangle structures consistently in API docs
2017-04-04 08:31:09 +02:00
Philip Jackson
6169ccd1e2
📝 Document that setApplicationMenu(null) has no effect on macOS
2017-04-04 18:00:20 +12:00
joshaber
e2bda3ca0f
Use an options object for most of the params
2017-04-03 21:33:21 -04:00
joshaber
da1b0aab3e
Flesh out some docs
2017-04-03 15:39:45 -04:00
Samuel Attard
f757912f90
Add missing finalUpdate prop
2017-04-01 12:11:34 +11:00
Kevin Sawicki
6d516fbae3
Move normalizeAccessKeys docs to right method
2017-03-31 15:08:03 -07:00
Thiago de Arruda
f0d447cd68
Pass uploadToServer
to windows crash reporter
2017-03-31 13:46:30 -03:00
Philip Jackson
1c80102218
📝 Document passing null to Menu.setApplicationMenu
...
[ci skip]
2017-03-31 16:42:03 +13:00
Kevin Sawicki
a2588c1fd9
Merge pull request #9052 from tonyganch/native_tabs
...
Native tabs on macOS
2017-03-30 14:02:19 -07:00
Kevin Sawicki
6f27d466a5
Move tabbingIdentifier out of webPreferences list
2017-03-30 13:49:00 -07:00
Kevin Sawicki
4001ba038e
Add descriptions for each segmentStyle
2017-03-30 12:36:20 -07:00
Kevin Sawicki
f805bbee9b
Merge pull request #9062 from electron/stringify-headers-in-net-module
...
Fix net module to accept non-string header values
2017-03-30 12:35:53 -07:00
Zeke Sikelianos
f0e7a84627
Merge pull request #9065 from electron/roles
...
Improve docs for MenuItem Roles
2017-03-30 12:28:14 -07:00
Thiago de Arruda
b3cf00a19a
Fix net module to accept non-string header values
...
This is required to be compatible with node.js http module.
2017-03-30 16:01:40 -03:00
Kevin Sawicki
3100463117
Merge pull request #8917 from bcomnes/patch-1
...
Clarify remote require of relative modules
2017-03-30 12:00:47 -07:00
Kevin Sawicki
55bf2239df
Remove spaces around brackets
2017-03-30 11:58:09 -07:00
Zeke Sikelianos
d5bc8990fc
link to roles list from Menu doc
2017-03-30 11:08:12 -07:00
Zeke Sikelianos
b24be19fac
tighten up formatting of menu example
2017-03-30 11:07:59 -07:00
Zeke Sikelianos
d779ecf674
create a linkable heading for MenuItem roles
2017-03-30 11:07:25 -07:00
Colin Eberhardt
bed32682b7
Clarification of the chromium sandbox support
2017-03-30 10:47:14 +01:00
Kevin Sawicki
57edc28b0d
Merge pull request #8880 from mst128256/2814
...
Default menu items for 'Edit' and 'Window' #2814
2017-03-29 12:31:58 -07:00
Tony Ganch
a7565f0d57
Enable native tabs on macOS
2017-03-29 13:51:39 +02:00
deepak1556
8db1eacd1c
[skip ci] add docs
2017-03-28 18:46:21 +05:30
Ryohei Ikegami
87565f4c84
Simplify example code
2017-03-28 19:50:45 +09:00
Ryohei Ikegami
e885e33b75
Fix choise -> choice
2017-03-28 19:50:00 +09:00
Kevin Sawicki
ad5a48d255
Merge pull request #8983 from electron/sandbox-initial-documentation
...
Add initial documentation for `sandbox` option.
2017-03-27 10:16:24 -07:00
Kevin Sawicki
870dcb9071
Remove old sandbox option in list and mark as experimental
2017-03-27 10:14:47 -07:00
Kevin Sawicki
10dc08b39b
Merge pull request #9006 from electron/fix-thumbnailSize-doc
...
fix docs for thumbnailSize
2017-03-27 09:10:40 -07:00
Samuel Attard
168c47bf10
Update web-contents.md
2017-03-25 18:27:43 +11:00
Samuel Attard
b62f1fd022
Add missing return type on executeJavaScript
2017-03-25 14:59:48 +11:00
Samuel Attard
a80148aa29
Add missing property types on the process docs
2017-03-25 14:51:23 +11:00
Samuel Attard
aa5c778ca2
Generic doc fixes
2017-03-25 12:37:07 +11:00
Zeke Sikelianos
095df457b2
fix docs for thumbnailSize
2017-03-24 11:14:43 -07:00
mst128256
9e471d8f1c
Added specs
2017-03-24 12:14:08 +01:00
Thiago de Arruda
437f1192d9
Add initial documentation for sandbox
option.
2017-03-23 21:42:25 -03:00
Cory Reed
a92f639b64
📝 Add note regarding dynamic addition/removal of menu items.
...
Closes #8928 .
[ci skip]
2017-03-23 11:57:44 -07:00
Ryohei Ikegami
6f9dbd4e04
Merge branch 'master' into native-window-open
2017-03-24 00:11:43 +09:00
Cheng Zhao
ab83aa0bfd
docs: Multithreading
2017-03-20 12:52:46 -07:00
Kevin Sawicki
6ded27f3a9
Merge pull request #8878 from TanninOne/patch-1
...
Update browser-window.md
2017-03-20 10:14:23 -07:00
Kevin Sawicki
caae03f954
Use rendered language in both ready-to-show docs
2017-03-20 10:13:45 -07:00
Ryohei Ikegami
c3c67f78c1
Improve docs on window.open
2017-03-19 20:33:22 +09:00
Ryohei Ikegami
88f062958f
Fix option doc
2017-03-19 20:21:03 +09:00
Ryohei Ikegami
2c21d3b3fa
Fix JavaScript in docs
2017-03-19 20:09:52 +09:00
Ryohei Ikegami
afdf52b053
Add docs for useNativeWindowOpen
2017-03-19 18:37:38 +09:00
Kevin Sawicki
6f047fd4b7
Mark touch bar apis with _Experimental_
2017-03-17 10:56:41 -07:00
Kevin Sawicki
3ae034deab
Change data -> format in clipboard docs
2017-03-17 09:57:17 -07:00
Kevin Sawicki
466c39ed19
Use icon for consistency with other touch bar APIs
2017-03-15 09:33:11 -07:00
Kevin Sawicki
87c219748d
Document more constructor options
2017-03-14 14:12:41 -07:00
Kevin Sawicki
2e0e4e69bb
Drop on prefix from property names
2017-03-14 14:02:48 -07:00
Bret Comnes
b67c81226c
fix linting
2017-03-14 10:48:44 -07:00
Samuel Attard
a55cddaa53
Add more options
2017-03-14 18:57:57 +11:00
Bret Comnes
85c48a2336
make main process example shorter
2017-03-13 17:20:11 -07:00
Bret Comnes
2276357f72
update with a tree
2017-03-13 17:18:23 -07:00
Bret Comnes
f82590b9ab
Wrap at 80
2017-03-13 15:48:42 -07:00
Bret Comnes
46af3cefec
Clarify remote require of relative modules
...
The docs for the `remote.require(module)` method were a little too terse for me to understand the behavior of relative module loading for `remote.require` and I had to run an experiment to understand the behavior (e.g. is the relative path relative to caller of `remote.require` or relative to some other path in the project related to the main process?). I think this is correct but someone please double check my understanding.
Adding an example and additional explanation should help clarify this. Feel free to edit the copy as needed.
2017-03-13 15:42:26 -07:00
Samuel Attard
cfb3798703
Add docs for TouchBarScrubbber
2017-03-13 11:00:25 +11:00
Samuel Attard
e6a66b6006
Add docs for segmented control touch bar item
2017-03-10 17:50:23 +11:00
Thiago de Arruda
e03e37e984
Pass uploadToServer
parameter to linux crash reporter
2017-03-09 17:23:52 -03:00
Kevin Sawicki
f19998ef4c
Add more default values
2017-03-09 10:26:44 -08:00
Kevin Sawicki
089bfd2cd2
Document nativeImage.addRepresentation(options)
2017-03-09 09:56:42 -08:00
Kevin Sawicki
783b5e84f4
Merge pull request #8866 from jkleinsc/master
...
Add WebRTCIPPolicy setting to webContents
2017-03-09 09:55:08 -08:00
mst128256
8aba640250
added default menu items for 'Edit' and 'Window' #2814
2017-03-09 16:01:33 +01:00
John Kleinschmidt
3c74404a3e
Updated docs.
2017-03-09 09:54:09 -05:00
TanninOne
410e80682a
Update browser-window.md
...
Notes that maximize will also show the window and that ready-to-show won't fire if the window is already being displayed. (See issue #8861 )
2017-03-09 15:41:31 +01:00
Kevin Sawicki
dcfab1b6a0
Link more touch bar params
2017-03-08 13:04:55 -08:00
John Kleinschmidt
950e3436c2
Removed webrtcippolicy attribute from webview
2017-03-08 13:52:04 -05:00
John Kleinschmidt
1c2a78a896
Add WebRTCIPPolicy setting to webContents and webview
...
Resolves #8777
Code to set and get the policy come from the muon framework code:
https://github.com/brave/muon/blob/master/atom/browser/api/atom_api_web_
contents.cc#L1324...L1343
2017-03-08 10:15:48 -05:00
Kevin Sawicki
6d5fbe6be2
Document scale factor option
2017-03-07 12:27:55 -08:00
Kevin Sawicki
bb8d42f1e1
Mark TouchBar as experimental
2017-03-07 09:42:45 -08:00
Samuel Attard
f97066511f
Capitalize type
2017-03-07 21:25:40 +11:00
João Moreno
5a4d9807ee
Update ses.resolveProxy
return type
...
As far as I'm aware, after using the `ses.resolveProxy` API, it seems to return a string in the shape of `PROXY foopy:80;SOCKS5 bar.com:1080`, not an object. Correct me if I'm wrong.
2017-03-07 11:21:51 +01:00
Kevin Sawicki
6bc464d4b0
Mention userGesture default
2017-03-06 10:51:48 -08:00
Kevin Sawicki
f549bda9fc
Merge pull request #8799 from nitsakh/baseURLForDataURL
...
Support base URL option to loadURL for data URLs
2017-03-06 10:25:53 -08:00
Kevin Sawicki
d26e4a4abf
Merge pull request #8800 from electron/https-website
...
Update website URLs to use HTTPS
2017-03-06 09:32:20 -08:00
Kevin Sawicki
c7d3d48875
Merge pull request #8837 from rhysd/fix-touchbar-doc
...
Fix TouchBarSpacer class name in doc
2017-03-06 09:25:57 -08:00
rhysd
c209b886bf
fix TouchBarSpacer class name in doc
2017-03-05 15:09:57 +09:00
Samuel Attard
f97ee56c9f
Add more explicit types to docs for TouchBar
2017-03-04 16:14:41 +11:00
Kevin Sawicki
2680ee9f8f
Add support for setting TouchBarLabel text color
2017-03-03 15:14:51 -08:00
Kevin Sawicki
fde310f50d
Mention it only effects 10.12.1 with touch bar
2017-03-03 14:04:55 -08:00
Kevin Sawicki
d9a8c15c69
Add clover to possible values
2017-03-03 14:00:39 -08:00
Kevin Sawicki
c349aeff80
Add initial touch bar specs
2017-03-03 14:00:39 -08:00
Kevin Sawicki
002369576f
Add initial touch bar docs
2017-03-03 14:00:39 -08:00
Samuel Attard
61949657f0
Some docs for touch bar
2017-03-03 14:00:38 -08:00
Zeke Sikelianos
ffc7a4c8a0
move platform labels to end of description for consistency
2017-03-02 13:57:04 -08:00
Zeke Sikelianos
23eecac288
document arguments for webview methods
2017-03-02 13:29:46 -08:00
Zeke Sikelianos
5ee7434a54
fix indentation of app.setLoginItemSettings arguments
2017-03-02 13:28:58 -08:00
Zeke Sikelianos
01423f79b3
denote webview process so linter will recognize it as an API
2017-03-02 13:27:04 -08:00
Nitish Sakhawalkar
370562b129
Moving data url test outside post navigation block. Trailing separator comment in the docs.
2017-03-02 12:14:18 -08:00
Nitish Sakhawalkar
e8c0813f46
Changes based on review.
2017-03-02 10:58:39 -08:00
Zeke Sikelianos
69f0cb26e7
use https for all Electron website URLs
2017-02-28 21:19:55 -08:00
Nitish Sakhawalkar
879082b1a6
Issue #8735:Support base URL option to loadURL for data URLs
2017-02-28 16:49:03 -08:00
Kevin Sawicki
368da3300e
Merge pull request #8783 from thesbros/docs/blink-features-link
...
📝 Update link to Blink features.
2017-02-27 08:53:34 -08:00
Kevin Sawicki
20a9cf834b
Merge pull request #8769 from jwheare/docs-cancel-id
...
Clarify docs for dialog.showMessageBox cancelId
2017-02-27 08:52:59 -08:00
Oden
c10f1210bc
📝 Update link to Blink features.
2017-02-26 20:34:00 -08:00
Zeke Sikelianos
dd5fa2df85
Merge pull request #8746 from electron/clarify-app-activation
...
clarify actions that cause app.activate event to be emitted
2017-02-25 18:20:43 -08:00
James Wheare
cdc6b13fc8
Clarify docs for dialog.showMessageBox cancelId
2017-02-24 23:56:47 +00:00
Kevin Sawicki
be16e75be2
Support explicit cancelId on macOS
2017-02-24 09:05:55 -08:00
Kevin Sawicki
eb260c3593
Update parameter prefix
2017-02-23 13:03:22 -08:00
popod
ea3b14f0bb
update startDrag(item) doc
...
add doc for `files` option
2017-02-23 21:28:36 +01:00
Zeke Sikelianos
7c4529a01a
clarify actions that cause app.activate event to be emitted
2017-02-22 16:42:34 -08:00
Kevin Sawicki
6c6506e5aa
Document menu.closePopup
2017-02-22 10:30:28 -08:00
Kevin Sawicki
d686cf77e9
Update menu.popup docs to take options object
2017-02-22 10:30:28 -08:00
Kevin Sawicki
91bd95a0b2
Add space after if
2017-02-22 08:11:21 -08:00
René Herrmann
c4280612c1
update setCertificateVerifyProc example
...
setCertificateVerifyProc example should reflect new api
2017-02-22 11:49:14 +01:00
Kevin Sawicki
9be42db8d5
Merge pull request #8628 from Spacetech/master
...
Implement invalidate for non-offscreen mode
2017-02-14 11:41:16 -08:00
Kevin Sawicki
52d989f908
Update docs for non-offscreen invalidate
2017-02-14 11:17:39 -08:00
Kevin Sawicki
07173cdd9d
Tweak setExtraParameter description
2017-02-14 09:37:09 -08:00
Kevin Sawicki
3b7207da9f
Support removing extra parameters
2017-02-14 09:37:09 -08:00
Kevin Sawicki
41fef3999c
Document setExtraParameter
2017-02-14 09:37:09 -08:00
Kevin Sawicki
cfe3ae234b
Correct , -> . typo
2017-02-14 09:37:09 -08:00
Samuel Attard
7c33f3ee65
Document the noResolveAliases property
2017-02-13 08:23:53 -08:00
Kevin Sawicki
266c78b861
Merge pull request #8669 from poppinlp/patch-1
...
Fix typo
2017-02-13 08:18:19 -08:00
Kevin Sawicki
c9e5d7d1e2
Merge pull request #8660 from fab1an/patch-3
...
Update session.md
2017-02-13 08:17:23 -08:00
PoppinL
9b8e4eb6cb
Fix typo
...
Fix typo
2017-02-13 16:14:49 +08:00
Fabian Zeindl
46c65ae5fc
Update session.md
2017-02-12 10:06:24 +01:00
Fabian Zeindl
5efa34ce6d
Update web-contents.md
2017-02-12 10:03:33 +01:00
Kevin Sawicki
b92c4f6ce5
Merge pull request #8651 from electron/new-window-docs
...
[ci skip] Improve docs for `new-window` event
2017-02-10 10:29:07 -08:00
Kevin Sawicki
e85d2f00dd
Fix linting errors around spacing and semicolons
2017-02-10 08:49:13 -08:00
Vadim Macagon
035d9df29b
Fix example code
2017-02-10 18:02:03 +07:00
Vadim Macagon
197ad915b7
[ci skip] Improve docs for new-window
event
...
This should help clarify the purpose of `event.newGuest` as per the recent discussion in #7407 .
2017-02-10 17:57:55 +07:00
Vadim Macagon
e8f0331aeb
Improve docs for will-attach-webview
event
2017-02-10 10:33:33 +07:00
Kevin Sawicki
acedc3e726
Merge pull request #8584 from electron/new-webview-event
...
Add will-attach-webview event
2017-02-09 12:40:11 -08:00
Kevin Sawicki
a7c050107b
Remove guest from will-attach-webview event
2017-02-09 11:47:45 -08:00
Kevin Sawicki
8b0d3a2567
Emit attach params as well in event
2017-02-09 11:45:07 -08:00
Kevin Sawicki
792f3c3030
Document will-attach-webview
2017-02-09 11:45:07 -08:00
Kevin Sawicki
35654d872b
Document new settings
2017-02-09 11:29:10 -08:00
Kevin Sawicki
f7f4de36af
Merge remote-tracking branch 'origin/master' into macos-open-save-panel
2017-02-09 11:25:05 -08:00
Birunthan Mohanathas
c8c11e68c6
Add support for checkbox with dialog.showMessageBox
...
This adds the `checkboxLabel` and `checkboxChecked` options to display a
checkbox in the message box. Fixes #6048 .
2017-02-09 09:03:54 -08:00
Tan Wang Leng
8843fef065
📝 Update docs for new attributes in showOpenDialog()
2017-02-09 20:10:57 +08:00
Tan Wang Leng
cc22149beb
📝 Update docs for new attributes in showSaveDialog()
2017-02-09 20:10:57 +08:00
Kevin Sawicki
70178adb6e
Use object for verification request
2017-02-08 11:59:43 -08:00
Greg Nolle
e29b64a18a
modify CertVerifier Class
...
* respond to multiple similar verification requests.
* accept net error result as callback response.
2017-02-08 11:59:43 -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
renaesop
26135b412b
Merge remote-tracking branch 'upstream/master'
...
# Conflicts:
# atom/browser/api/atom_api_web_contents.cc
# chromium_src/chrome/browser/printing/print_job_worker.cc
# chromium_src/chrome/browser/printing/print_job_worker.h
# chromium_src/chrome/browser/printing/print_view_manager_base.cc
# chromium_src/chrome/browser/printing/print_view_manager_base.h
# chromium_src/chrome/browser/printing/printer_query.cc
# chromium_src/chrome/common/print_messages.cc
# chromium_src/chrome/renderer/printing/print_web_view_helper.cc
2017-02-07 09:30:36 +08:00
Charlie Hess
a35424ef25
Fix broken Squirrel.Windows link.
2017-02-06 15:54:05 -08:00
Cheng Zhao
5e43ea227e
purgedSize and purgeableSize are removed by Chrome
2017-02-06 10:34:29 -08:00
Cheng Zhao
2e0780308c
allowDisplayingInsecureContent is removed by Chrome
2017-02-06 10:34:29 -08:00
Cheng Zhao
1a15b45736
--cipher-suite-blacklist is also removed
2017-02-06 10:34:29 -08:00
Cheng Zhao
dc9000f344
--ssl-version-fallback-min is removed by Chrome
2017-02-06 10:34:28 -08:00
Cheng Zhao
d8e9432b0d
contentTracing.setWatchEvent/cancelWatchEvent is removed
2017-02-06 10:34:28 -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
renaesop
023a3fd547
Print enhancement: add webContents.printerList And a print option to select printer
2017-02-06 17:18:04 +08:00
Zeke Sikelianos
6df446baba
Merge pull request #8583 from crowchirp/docs-typo-fixes
...
Docs typo fixes
2017-02-03 09:55:43 -08:00
Kevin Sawicki
7b3e998cc6
Use content tracing after app ready
2017-02-03 09:45:18 -08:00
Kevin Sawicki
b1f260ac87
Add forcereload to MenuItem doc
2017-02-03 09:39:41 -08:00
Kevin Sawicki
fb08f56fc8
Add forcereload menu item role
2017-02-03 09:39:41 -08:00
Kevin Sawicki
50b9dfa61a
Use querySelector to make examples more portable
2017-02-03 09:32:15 -08:00
Kevin Sawicki
4539a6f4d5
Change wording from on to present
2017-02-03 09:32:15 -08:00
Kevin Sawicki
62a400b7d6
Merge pull request #8566 from electron/prompt-to-create-property
...
Support returning non-existent file paths from Windows open dialog
2017-02-03 08:58:52 -08:00
Chandan Rai
75ec73d6fe
Merge remote-tracking branch 'origin/patch-3' into docs-typo-fixes
2017-02-03 22:23:35 +05:30
Chandan Rai
1a3abb61ed
Merge remote-tracking branch 'origin/patch-2' into docs-typo-fixes
2017-02-03 22:23:21 +05:30
Chandan Rai
4a6cbd76c8
corrected typo
2017-02-03 19:26:37 +05:30
Chandan Rai
9e7bcda07d
corrected typo
2017-02-03 19:11:37 +05:30
Chandan Rai
93b0a2caa1
corrected typo
2017-02-03 18:58:21 +05:30
Kevin Sawicki
604c2470bc
Merge pull request #8561 from liusy182/!-liusy182-br
...
add 'code' property in 'before-input-event''s 'input' argument
2017-02-02 10:33:20 -08:00
Kevin Sawicki
9fef6a1fd7
Add support for FOS_CREATEPROMPT option
2017-02-02 08:51:10 -08:00
liusi
87392ff046
'before-input-event' is missing the code property #8471
2017-02-02 16:23:07 +08:00
Kevin Sawicki
dc1c11a841
Merge pull request #8487 from leethomas/feature/osx-relative-window-levels
...
Feature/macOS relative window levels
2017-01-30 15:34:24 -08:00
Kevin Sawicki
2cacaa443a
Indent relativeLevel docs
2017-01-30 15:27:51 -08:00
Kevin Sawicki
eb6d92d427
Mention image cannot be empty on macOS
2017-01-26 15:46:04 -08:00
Kevin Sawicki
90470617ab
Merge pull request #8430 from ramya-rao-a/crash-for-children-docs
...
Updated docs for crash reporter to support child processes
2017-01-24 14:08:36 -08:00
Kevin Sawicki
ce6a46ee59
Use template strings
2017-01-24 14:08:10 -08:00
Kevin Sawicki
108a3473ed
Use crashesDirectory in example
2017-01-24 14:07:00 -08:00
Kevin Sawicki
4985e073c4
Mention how to test
2017-01-24 14:04:56 -08:00
Kevin Sawicki
7b03c05b4e
Capitalize Electron, fence as JS
2017-01-24 14:03:54 -08:00
leethomas
fb741285c6
update documentation
2017-01-23 23:42:38 -08:00
Javan Makhmali
68eaf1fb9f
Remove note in "did-fail-load" about redirect responses
...
ERR_ABORTED is suppressed now (https://github.com/electron/electron/pull/6201 )
2017-01-22 16:39:42 -05:00
Ramya Achutha Rao
dc5129f32e
Updated docs for crash reporter to support child processes
2017-01-17 21:59:23 -08:00
Zeke Sikelianos
ade16a7823
Merge pull request #8365 from destan/patch-3
...
printToPDF: `landscape` ignored if `@page` is used
2017-01-17 13:50:37 -08:00
Kevin Sawicki
13acf7a6a3
Mention accessing context in dev tools
2017-01-16 12:38:16 -08:00
Kevin Sawicki
dacfb2f596
Mention contextIsolation is experimental
2017-01-16 12:38:16 -08:00
Kevin Sawicki
572fc058d3
Document contextIsolation option
2017-01-16 12:38:16 -08:00
Kevin Sawicki
4ebe54043a
Merge pull request #8395 from Arcath/patch-1
...
Add Squirrel Release Server to the update server list.
2017-01-16 11:41:43 -08:00
Kevin Sawicki
315daf1a10
Switch to footer link syntax
2017-01-12 16:54:07 -08:00
Adam Laycock
9e89ec041e
Add Squirrel Release Server to the update server list.
2017-01-12 13:40:14 +00:00
Kevin Sawicki
ed4f4b3954
Rename autoSubmit to uploadToServer in example
2017-01-10 16:07:10 -08:00
Destan Sarpkaya
fb35f06114
printToPDF: landscape
ignored if @page
is used
...
This is very frustrating to find out via debugging, I think it should be in docs.
2017-01-09 02:31:34 +02:00
Kevin Sawicki
d200cf2e77
Document normalizeAccessKeys option
2017-01-06 08:56:24 -08:00
Kevin Sawicki
afa3bd2143
Put optional label before dash
2016-12-29 14:11:26 -08:00
Kevin Sawicki
f8d41f1f68
Link to offscreen rendering tutorial
2016-12-29 09:15:28 -08:00
Kevin Sawicki
5d505f9139
Support cursive/fantasy default font families
2016-12-28 13:40:53 -08:00
Zeke Sikelianos
c75a1f08fd
replace all web-view code with webview
2016-12-22 10:41:05 -08:00
Zeke Sikelianos
1085c28612
rename all web-view files to webview
2016-12-22 10:41:05 -08:00
Drew Chandler
b28a865436
Use localstorage in clearStorageData docs
...
It won't work if you use include the space that is currently in the docs.
2016-12-22 09:51:39 -08:00
Kevin Sawicki
ad2627b05a
Move variables from development to production
2016-12-22 09:22:04 -08:00
Cesar Andreu
e296d4826f
Fix a typo, there => their
2016-12-21 19:21:04 -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
Kevin Sawicki
b9f569f7fb
Merge pull request #8248 from electron/secure-options
...
Add options to protocol.registerStandardSchemes docs
2016-12-21 09:40:30 -08:00
mawie81
d20e2ec349
[ci skip] fix link in screen docs
2016-12-21 09:43:47 +01:00
Kevin Sawicki
c5097ae483
Add options to protocol.registerStandardSchemes docs
2016-12-20 09:44:58 -08:00
Kevin Sawicki
5bb196dce3
Merge pull request #8240 from electron/fix-structures-link
...
fix relative link to CertificatePrincipal doc
2016-12-20 09:13:01 -08:00
Dustin
2e1feb63e4
Corrected some grammatical errors
2016-12-19 19:01:35 -08:00
Zeke Sikelianos
9e626c5fee
fix relative link to CertificatePrincipal doc
2016-12-19 13:49:02 -08:00
Kevin Sawicki
6352afb07a
Link to return class type
2016-12-19 09:40:07 -08:00
Kevin Sawicki
2a8b36c761
Merge pull request #8134 from deepak1556/empty_client_certificate_patch
...
app: select-client-certificate event callback can accept certificate optionally
2016-12-15 08:31:12 -08:00
Kevin Sawicki
cd067bca37
Merge pull request #8175 from gerhardberger/createfrombuffer-bitmap
...
Add bitmap support to nativeImage.createFromBuffer
2016-12-14 13:24:45 -08:00
Kevin Sawicki
98d4e186e3
Move details next to params
2016-12-14 10:19:38 -08:00
Kevin Sawicki
3b259b4243
Add createFromBuffer to planned breaking changes
2016-12-14 10:12:37 -08:00
Kevin Sawicki
88dac36c91
Move footer link to bottom
2016-12-13 15:58:03 -08:00
Birunthan Mohanathas
a3b65ad481
Add before-input-event event for webContents ( fixes #7586 )
...
Embedding arbitrary web content is problematic when it comes to keyboard
shortcuts because:
* Web content can steal app shortcuts (see e.g. brave/browser-laptop#4408 )
* Blocked web content (e.g. a focused <webview> performing expensive
computation) will also prevent app shortcuts from firing immediately
The new before-input-event event can be used to overcome these issues by
always handle certain keyboard events in the main process.
Note that this requires electron/brightray#261 to compile.
2016-12-13 15:54:13 -08:00
gellert
7ceb8d1ab8
additional tests for createFromBuffer
2016-12-14 00:18:24 +01:00
gellert
a609e52a14
moves bitmap parameters to options object
2016-12-13 21:32:17 +01:00
gellert
39875c90f1
adds bitmap support to createFromBuffer
2016-12-13 21:32:17 +01:00
Linda_pp
704433f3d6
Fix broken link in dialog.md [ci skip]
2016-12-13 17:48:49 +09:00
Kevin Sawicki
2fa9ca1f6d
Merge pull request #8156 from sindresorhus/remove-dock-window-level
...
🍎 Document that the `dock` window level is deprecated
2016-12-12 09:39:08 -08:00
deepak1556
975d677f55
add docs
2016-12-09 09:56:16 -08:00
deepak1556
d944219b28
add docs
2016-12-09 09:37:46 -08:00
Sindre Sorhus
3dde669ee8
🍎 Remove deprecated dock
window level
...
According to the Apple docs, the `NSDockWindowLevel` constant is deprecated: https://developer.apple.com/reference/appkit/nsdockwindowlevel?language=objc
2016-12-09 12:46:49 +01:00
Kevin Sawicki
54d27a390b
Merge pull request #8155 from salomvary/explain-macos-modal-sheet
...
Clarify modal windows being sheets on macOS
2016-12-07 10:29:42 -08:00
Kevin Sawicki
ba44dca34a
Merge pull request #8158 from jdfwarrior/master
...
Add detail for the browserWindow argument in dialog docs
2016-12-07 10:28:34 -08:00
deepak1556
06701786c4
update docs
2016-12-07 13:26:06 +05:30
David Ferguson
32ae3a52b8
add detail for the browserWindow argument in dialog docs
2016-12-06 22:23:14 -06:00
Kevin Sawicki
e198b6945c
Add simple postData example
2016-12-06 16:49:22 -08:00
Márton Salomváry
9adb232d99
Clarify modal windows being sheets on macOS
2016-12-06 22:47:26 +01:00
Kevin Sawicki
de0ec9b33c
Tweak cancelId docs
2016-12-02 13:40:31 -08:00
Kevin Sawicki
2c8ab72269
Merge pull request #8084 from poiru/systempreferences-setuserdefault
...
Add systemPreferences.setUserDefault for macOS
2016-11-29 14:07:35 -08:00
Birunthan Mohanathas
486b6b9096
Add systemPreferences.setUserDefault for macOS
...
This API can be used to e.g. enable key repeat by setting
`ApplePressAndHoldEnabled` to `false` (see also #47 ).
2016-11-29 09:46:32 -08:00
Birunthan Mohanathas
18c49285a8
Add BrowserWindow.setAutoHideCursor for macOS
...
The `disableAutoHideCursor` BrowserWindow option can be used to control
auto-hiding behavior when the window is created. This new API is needed
to dynamically change the behavior after the fact.
2016-11-29 09:46:00 -08:00
Kevin Sawicki
4aa2b093ff
Merge pull request #8072 from ramya-rao-a/doc-update
...
Clarifying crash reporter behviour in Mac
2016-11-28 15:37:21 -08:00
Kevin Sawicki
446065b88c
Minor updates to crash reporter notes
2016-11-28 15:37:06 -08:00
Kevin Sawicki
0c73140b07
used -> called
2016-11-28 15:08:28 -08:00
Kevin Sawicki
02cbd24165
Mention setUploadToServer only has effect after start
2016-11-28 15:08:28 -08:00
Samuel Attard
2bf6f28152
shouldUpload --> uploadToServer
2016-11-28 15:08:28 -08:00
Samuel Attard
285a36f9de
Use GetUploadsEnabled to return GetShouldUpload
2016-11-28 15:08:28 -08:00
Samuel Attard
0b9530efd7
shouldUpload API's are macOS only
2016-11-28 15:08:12 -08:00
Samuel Attard
6bbd92368f
Add docs for getShouldUpload
2016-11-28 15:08:12 -08:00
Samuel Attard
7b8eb3e09c
Rename autoUpload to shouldUpload
2016-11-28 15:08:12 -08:00
Kevin Sawicki
774b2f99f2
Merge pull request #8038 from electron/danhp/close-file-preview
...
Add 'win.closeFilePreview()'
2016-11-28 14:47:06 -08:00
Kevin Sawicki
a7395118af
Merge pull request #7952 from the-ress/window-setappid
...
Added BrowserWindow.setAppDetails to set user model id, icon and relaunch command
2016-11-28 14:46:14 -08:00
Kevin Sawicki
5abecadfd3
Tweak setAppDetails docs
2016-11-28 14:29:21 -08:00
Daniel Pham
d5a0dd39a1
🎁 Add 'win.closeFilePreview()'
2016-11-28 14:25:11 -08:00
Samuel Attard
4ff7cf2bcc
Update web-frame docs
2016-11-25 23:33:31 +11:00
Samuel Attard
f6a6ca8a22
Update cookies docs
2016-11-25 23:27:11 +11:00
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
Ramya Achutha Rao
f8b738e6c2
Clarifying crash reporter behviour in Mac
2016-11-23 15:36:03 -08:00
Kevin Sawicki
cd5bfbfead
Sort by codes
2016-11-23 09:10:27 -08:00
DanTheMan827
f89a045605
Fixed language code to Aragonese
2016-11-23 09:21:27 -06:00
Zeke Sikelianos
6b34b97c29
Merge pull request #8057 from electron/fixup-docs-for-ts
...
Docs update
2016-11-22 19:18:37 -08:00
Samuel Attard
6a8ee19bf0
Docs update
2016-11-23 11:51:44 +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
Zeke Sikelianos
5dc4b22d31
Merge pull request #7992 from electron/process-doc-followup
...
Process doc followup
2016-11-22 10:46:57 -08:00
Kevin Sawicki
95ab4815de
Merge pull request #8041 from electron/webview-zoom-factor
...
Add new method to set layout-based zoom level limit
2016-11-22 09:08:00 -08:00
Kevin Sawicki
9a5df9da41
Expose setVisualZoomLevelLimits on webContents and <web-view>
2016-11-22 08:07:55 -08:00
Kevin Sawicki
756a338b05
Document webFrame.setVisualZoomLevelLimits as public
2016-11-22 08:03:04 -08:00
Kevin Sawicki
fb5bca8bc5
Merge pull request #8046 from electron/bengotow/url-schemes-docs-patch
...
Update open-url docs to mention NSPrincipalClass
2016-11-22 07:50:13 -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
Kevin Sawicki
62b39d58ca
crash-reporter -> crashReporter
2016-11-21 15:42:24 -08:00
Paul Betts
3e85d7759b
📝
2016-11-21 15:16:13 -05:00
Kevin Sawicki
ea6b53578f
Mention preferred size
2016-11-21 08:45:46 -08:00
Kevin Sawicki
7916981da2
zoomToContentSize -> zoomToPageWidth
2016-11-21 08:45:46 -08:00
Kevin Sawicki
7896ee23a2
Document zoomToContentSize
2016-11-21 08:45:46 -08:00
muryoimpl
eab5376c25
Fix typo
2016-11-21 00:49:11 +09:00
Tereza Tomcova
b305020c1d
Added documentation for BrowserWindow.setAppDetails
2016-11-18 21:43:03 +01:00
Zeke Sikelianos
d6e3360aef
Merge pull request #8009 from deed02392/master
...
Update docs
2016-11-18 08:33:24 -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
Kevin Sawicki
88809b0e0b
Document reload and toggledevtools roles
2016-11-17 10:57:20 -08:00
Gabriel Handford
9382d48708
Update docs
2016-11-17 10:33:24 +09:00
Gabriel Handford
21df08d536
Remove redundant comment
2016-11-17 10:33:23 +09:00
Gabriel Handford
c78567aba6
Update shell openExternal docs (from review)
2016-11-17 10:33:23 +09:00
Gabriel Handford
b266533dfc
Shell openExternal can take optional callback (macOS)
2016-11-17 10:33:23 +09:00
Zeke Sikelianos
468d8b7707
reference node's process object
2016-11-16 09:54:29 -08:00
Zeke Sikelianos
1da97f729e
process object is available in renderer processes too
2016-11-16 09:54:19 -08:00
Zeke Sikelianos
a7fdd04751
move menu constructor docs to top of file
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
5979dab13c
fix some class headings
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
c9739abf7f
add description and process for BrowserWindow class
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
39330affda
DownloadItem only needs one heading
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
d6684c4dcd
fix UploadBlob heading
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
4770d2b526
returns an instance, not the module
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
2b689a21e7
fix structure headings
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
b084dc29ea
move each API doc into its own file
2016-11-16 09:02:49 -08: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
Greg Nolle
5d028f9163
Expose extra certificate information: full breakdown of issuer and subject principals, as well as full structure of intermediate issuer certificates.
2016-11-15 15:53:42 -08:00
Greg Nolle
446399c3c1
Expose whole certificate chain to verify proc and certificate-error event.
2016-11-15 15:53:42 -08:00
Kevin Sawicki
0ef6d4631d
Merge pull request #7658 from figma/webview-manual-guest-resize
...
Allow webview guests to be resized manually
2016-11-15 14:21:56 -08:00
Kevin Sawicki
35e000024c
Minor doc updates to setSize/disableguestresize
2016-11-15 13:59:01 -08:00
Alexandre
6f8eb282b7
[ci skip] Correct Linux limitation example
2016-11-15 21:53:54 +01:00
Birunthan Mohanathas
2986b7bc4a
Allow webview guests to be resized manually
...
This adds the `disableguestresize` property for webviews to prevent the
webview guest from reacting to size changes of the webview element. This
also partially documents the `webContents.setSize` function in order to
manually control the webview guest size.
These two features can be combined to improve resize performance for
e.g. webviews that span the entire window. This greatly reduces the lag
described in #6905 .
2016-11-15 11:00:09 -08:00
Ben Randall
c259b4294d
Update electron-squirrel-startup link
...
The currently link points to a non-existent page. I'm pointing it to another link that seems to be appropriate, but I'm not positive.
If someone else knows that this is the correct place to link that would be nice to hear.
2016-11-14 10:16:24 -08:00
Kevin Sawicki
b9e950f5c7
Mark postData as optional
2016-11-12 07:15:21 +05:30
deepak1556
61576c39be
uploadData => uploadRawData
2016-11-11 10:54:01 -08:00
deepak1556
723a3eda8b
update docs
2016-11-11 10:54:01 -08:00
deepak1556
dbe57c4ad4
update docs
2016-11-11 10:54:01 -08:00
deepak1556
2044208fd6
add docs
2016-11-11 10:53:36 -08:00
Kevin Sawicki
4de2493d89
Move footer links to bottom
2016-11-11 10:22:27 -08:00
Zeke Sikelianos
ec7cae4a34
add process to contentTracing doc
2016-11-11 10:07:36 -08:00
Samuel Attard
174e51507d
Update menu.md
2016-11-11 09:22:55 -08:00
Samuel Attard
494afec01d
remote require could resolve to strings/numbers not just objects
2016-11-11 09:22:55 -08:00
Samuel Attard
aeefee7348
Fix the download-item doc so it correctly resembles a class
2016-11-11 09:22:55 -08:00
Samuel Attard
c1af62a3b3
Move crash-report object to it's own struct
2016-11-11 09:22:55 -08:00
Samuel Attard
11f8923c43
Fix tray and menu docs
2016-11-11 09:22:55 -08:00
Samuel Attard
63ebc41778
More docs updates
2016-11-11 09:22:55 -08:00
Samuel Attard
1a9b4b4671
First few docs made optional
2016-11-11 09:22:55 -08:00
gellert
2cf30c0d63
remove method transferred to set with null
2016-11-11 08:49:57 -08:00
gellert
16253fe708
doc fixes
2016-11-11 08:49:57 -08:00
gellert
84a3fe50dc
little fix in docs
2016-11-11 08:49:57 -08:00
gellert
8ad50d1e35
adds vibrancy effect for macos
2016-11-11 08:49:57 -08:00
joshaber
999b349e94
Docit
2016-11-10 13:35:56 -05:00
Zeke Sikelianos
ef9d8fe9bd
Merge pull request #7843 from electron/process-docs
...
document the process(es) in which APIs are available
2016-11-03 13:14:30 -07:00
Zeke Sikelianos
471b9980ec
line up process annotations consistently
2016-11-03 13:13:21 -07:00
Zeke Sikelianos
21105271a4
document processes for APIs nested in parent docs
2016-11-03 11:50:00 -07:00
Zeke Sikelianos
ac68de6215
document process(es) for all APIs
2016-11-03 10:26:00 -07:00
Samuel Attard
9f18a6e65c
Use ES6 template strings, fix docs and remove _ERROR_ IPC event
2016-11-03 09:33:47 -07:00
Samuel Attard
857e1da6a3
Make executeJavaScript return a Promise so that caught errors can be sent to the caller
2016-11-03 09:33:47 -07:00
Zeke Sikelianos
cc18670ae1
Merge pull request #7854 from electron/fix-ipc-docs
...
Fix the IPC docs so the docs-linter finds the methods
2016-11-02 20:14:47 -07:00
Samuel Attard
6228ce3f35
Fix the IPC docs so the docs-linter finds the methods
2016-11-03 14:04:03 +11:00
ali.ibrahim
49cb675057
Fixing a trivial js lint issue.
2016-11-02 11:16:37 +01:00
ali.ibrahim
e8b119e636
Formatting JavaScript sample code.
2016-11-02 10:40:51 +01:00
Zeke Sikelianos
e8bb79310c
document the process(es) in which APIs are available
2016-11-01 16:35:31 -07:00
tinydew4
836cd017a9
Trim: docs/api/net.md
2016-11-01 03:53:45 +00:00
Zeke Sikelianos
379c3470c8
fix formatting of new net API doc
2016-10-31 15:48:06 -07:00
Kevin Sawicki
6b2848307d
Merge pull request #7807 from electron/net-docs-fixup
...
Quick fix up of net docs
2016-10-31 09:23:07 -07:00
Brendan Forster
651b0c0f82
fixed a couple of typos
2016-10-31 08:59:26 -07:00
Samuel Attard
4ee308fcc2
Quick fix up of net docs
2016-10-31 12:43:57 +11:00
Cheng Zhao
dfefa00a50
Merge pull request #7577 from thomsonreuters/net_module
...
net module
2016-10-31 10:31:56 +09:00
Kevin Sawicki
2006d64939
Merge pull request #7757 from crilleengvall/master
...
Adding documentation about hidden-inset
2016-10-28 02:42:57 +09:00
Kevin Sawicki
d9f3355dea
Remove excess newlines
2016-10-27 10:42:31 -07:00
Kevin Sawicki
c8263a9a18
Add newlines and backticks
2016-10-27 10:41:43 -07:00
Kevin Sawicki
bb6d15ee10
Merge pull request #7750 from bheart/master
...
Document the fact that Accelerators are used by the globalShortcut module
2016-10-28 02:39:46 +09:00
Christian Engvall
29470dd018
Adding documentation about hidden-inset
2016-10-26 21:33:48 +02:00
tinydew4
fbe4394bbd
Clean unnecessary sentences on web-contents.md
2016-10-26 15:41:47 +00:00
Will Tange
aeb774730b
Link Accelerator docs to globalShortcut module
...
Usage of Accelerators (i.e. `globalShortcut.register`) is now documented in the Accelerator docs themselves.
2016-10-26 14:48:09 +02:00
Samuel Attard
02a7094529
Follow docs style guide for string ENUMS
2016-10-26 16:19:41 +11:00
Samuel Attard
76da80c5e9
Further clean up
2016-10-26 16:18:55 +11:00
Samuel Attard
7078ed80fa
Move webPreferences
and titleBarStyle
to the correct place in the docs
...
In their previous location `electron-docs-linter` would not output an Object structure for `webPreferences` (which is a key part of the constructor)
2016-10-26 14:31:30 +11:00
Cheng Zhao
e97d3c21a3
Merge pull request #7719 from electron/find-pasteboard
...
Add macOS find pasteboard support
2016-10-26 11:23:14 +09:00
Kevin Sawicki
d85c4da11b
Minor formatting tweaks
2016-10-26 09:55:34 +09:00
Kevin Sawicki
d982376fc4
filename -> displayName
2016-10-26 09:47:38 +09:00
Pierre Laurac
b44371f4bf
filename as Optional argument
2016-10-26 09:05:01 +09:00
Pierre Laurac
9736dc3115
Specifying macOS only method
2016-10-26 09:04:30 +09:00
Pierre Laurac
4d305b06d1
Adding documentation
2016-10-26 09:03:14 +09:00
Samuel Attard
9e425cd01e
Update web-frame.md
2016-10-26 10:04:18 +11:00
ali.ibrahim
b44d5290e2
Fixing code review issues: adding a partition options and making the session option only takes Session objects.
2016-10-25 15:47:54 +02:00
ali.ibrahim
61278f9ace
Fixing code review issues.
2016-10-25 12:41:01 +02:00
Kevin Sawicki
7ffc1faf5b
Document read/writeFindText
2016-10-25 14:16:40 +09:00
Mike Engel
6f64ad30cb
Clarify the setMenuBarVisibility api
...
The setMenuBarVisibility api is only supported on Windows and Linux.
This adds some minor documentation to make that clearer. Fixes #7686
2016-10-24 22:04:45 -06:00
Kevin Sawicki
1c7d5df2fe
Merge pull request #7717 from electron/doc-lists
...
Add newlines before lists
2016-10-25 12:40:32 +09:00
Kevin Sawicki
65e6da2673
Add newlines before lists
2016-10-25 12:38:08 +09:00
Kevin Sawicki
39a5c7dab9
Merge pull request #7631 from beakerbrowser/webview-policy-flags2
...
Add 'webpreferences' attribute to webview
2016-10-25 12:14:25 +09:00
Kevin Sawicki
b4cc3541a8
Minor tweaks to webpreferences docs
2016-10-25 12:08:19 +09:00
Kevin Sawicki
a2a44621fd
Merge pull request #7708 from tinydew4/fix-typo
...
Fix typo, and trimming.
2016-10-24 16:12:29 +09:00
Cheng Zhao
ad48aeeea4
Merge pull request #7665 from beakerbrowser/privilegedschemeopts
...
Add options to webFrame.registerURLSchemeAsPrivileged
2016-10-24 15:56:18 +09:00
tinydew4
67a09d9fe0
Fix typo, and trimming.
2016-10-24 06:34:09 +00: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
ali.ibrahim
0c44d19249
net module: documenting the session property.
2016-10-20 15:48:36 +02:00
ali.ibrahim
7c17aeb6da
Documenting net module: fixing linter issues.
2016-10-20 14:42:15 +02:00
ali.ibrahim
8c19d3b210
Documenting net module: various fixes.
2016-10-20 13:57:08 +02:00
ali.ibrahim
9f15191280
Formatting net documentation.
2016-10-20 12:30:03 +02:00
ali.ibrahim
69790bd7ed
Documenting ClientRequest constructor options.
2016-10-20 11:58:06 +02:00
ali.ibrahim
fdfa0f4a6d
Documenting the login event.
2016-10-20 11:45:45 +02:00
ali.ibrahim
7549adcfce
Documenting net module: various fixes.
2016-10-19 18:31:08 +02:00
ali.ibrahim
fddbde2fd5
Documenting net module: various fixes.
2016-10-19 18:19:28 +02:00
ali.ibrahim
6e5951b764
Documenting net module: formatting.
2016-10-19 18:11:07 +02:00
ali.ibrahim
3b620b8c0c
Documenting net module: various fixes.
2016-10-19 18:05:38 +02:00
ali.ibrahim
0d82fbcf37
Documenting net.IncomingMessage.
2016-10-19 16:51:44 +02:00
ali.ibrahim
5cd20a8e5d
Documenting net.ClientRequest
2016-10-19 15:34:21 +02:00
ali.ibrahim
f651b21cda
Fixing net doc file name.
2016-10-19 09:24:59 +02:00
Paul Frazee
0345b62369
update webFrame.registerURLSchemeAsPrivileged docs to be more specific
2016-10-18 17:13:33 -05:00
Paul Frazee
a5c62bb264
add options to webFrame.registerURLSchemeAsPrivileged
2016-10-18 15:52:41 -05:00
ali.ibrahim
9bddc2cbaa
Adding net documentation skeleton.
2016-10-18 19:14:43 +02:00
Samuel Attard
9d0d1c8341
Fix bd object name
2016-10-18 15:47:18 +11: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
Paul Frazee
194b14100e
add the 'webpreferences' attribute to webviews
2016-10-14 17:16:39 -05:00
Samuel Attard
ba91bbd397
Fix spaces
2016-10-14 22:54:04 +11:00
Samuel Attard
10ef6749b3
Source -> DesktopCapturerSource
2016-10-14 13:10:37 +11:00
Samuel Attard
32c3f17f5a
Rename dcs object
2016-10-14 13:00:03 +11:00
Samuel Attard
ad45c084cc
Fix uploaddata naming
2016-10-14 11:37:36 +11:00
Kevin Sawicki
902a8c57bd
Merge pull request #7602 from danburzo/cli_switches_docs
...
Docs: Command-line switches -- note about node.js flags, added debug flags
2016-10-13 14:13:08 -07:00
Kevin Sawicki
21cfd330c0
Switch from node man to node --help
2016-10-13 14:11:56 -07:00
Long Nhat Nguyen
c017a7a1c7
Update url ( #7598 )
...
* Update EventEmitter URL
* Update EventEmitter URL
* Enable click
* Update EventEmitter URL
* Update EventEmitter URL
* Update URL
* Update URL
* Update EventEmitter URL
* Tweak sentence and add perios
2016-10-13 14:09:14 -07:00
Dan Burzo
af17253a72
Changed link to Node docs in MD reference format
2016-10-13 13:03:29 +03:00
Dan Burzo
cfdea04c83
Added note about sending flags to Node.js, additional debug flags
2016-10-13 12:54:22 +03:00
Samuel Attard
5cf03e68d4
Fix missing type
2016-10-13 17:33:12 +11: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
tinydew4
6b39e4a210
Apply the changes about #7379 to ko_KR
2016-10-13 00:34:39 +00:00
Kevin Sawicki
fefc7c23f9
Merge pull request #7479 from bpasero/process-no-asar
...
Introduce ELECTRON_NO_ASAR
2016-10-12 13:48:03 -07: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
Kevin Sawicki
566d76def2
Mention spawning with ELECTRON_RUN_AS_NODE
2016-10-12 11:11:27 -07:00
Benjamin Pasero
656ee0d9c3
introduce ELECTRON_NO_ASAR
2016-10-12 11:11:27 -07:00
Cheng Zhao
46cd8708a4
Merge pull request #7561 from electron/windows-system-colors
...
Support retrieving Windows system colors
2016-10-12 15:35:18 +09: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
c8189046fe
Emit color-changed event on Windows
2016-10-11 13:15:27 -07:00
Kevin Sawicki
2656812dea
Doc systemPreferences.getColor
2016-10-11 13:15:27 -07:00
Kevin Sawicki
39aa740c88
Merge pull request #7552 from electron/fix-menu-docs
...
fix Menu API example
2016-10-11 09:47:30 -07:00
Cheng Zhao
4ae190dab9
Merge pull request #7549 from electron/about-panel-options
...
Support setting about panel options
2016-10-11 20:18:23 +09:00
Zeke Sikelianos
619f74fa12
fix Menu example
2016-10-10 23:01:35 -07:00
Kevin Sawicki
58ef0bea17
Doc app.setAboutPanelOptions
2016-10-10 13:40:57 -07:00
Kevin Sawicki
25bcc2dd0d
🎨
2016-10-10 10:43:09 -07:00
Kevin Sawicki
af27c62b07
Doc inverted-color-scheme-changed event
2016-10-10 10:43:08 -07:00
Kevin Sawicki
223e9d97a0
Doc systemPreferences.isInvertedColorScheme
2016-10-10 10:43:08 -07:00
tinydew4
9f42c4c441
Fix dot
2016-10-10 14:31:05 +00:00
Cheng Zhao
91591f37e6
Merge pull request #7500 from electron/store-crashes-in-configured-temp-dir
...
Store crash reports in configured temp dir
2016-10-10 10:19:02 +09:00
Zeke Sikelianos
2acd7f4d12
fix NativeImage link path
2016-10-07 21:25:39 -07:00
Samuel Attard
4d49156dac
Rename bounds -> rectangle
2016-10-08 13:09:31 +11:00
Zeke Sikelianos
f80e81bf9f
standardize
2016-10-06 12:20:00 -07:00
Samuel Attard
2b05c61ae3
Update docs for parsing
2016-10-06 12:19:38 -07:00
Samuel Attard
b859afc118
Update docs to follow the 'link first instance' standard
2016-10-06 12:19:38 -07:00
Samuel Attard
03979936f3
Move reused object structures to a standard structures folder
2016-10-06 11:59:42 -07:00
Kevin Sawicki
e38fc724f8
Merge pull request #7508 from miniak/docs-fix
...
Add missing documentation
2016-10-06 11:11:31 -07:00
Kevin Sawicki
451cea4675
Add newline before list
2016-10-06 11:02:30 -07:00
Zeke Sikelianos
2cda2bd718
Merge pull request #7502 from squarejaw/patch-1
...
Fix misspelling in docs/api/app.md
2016-10-06 10:44:11 -07:00
Kevin Sawicki
eafc694bba
Mention crash report locations
2016-10-06 09:02:01 -07:00
Milan Burda
cb15181f43
Fix typo
2016-10-06 12:03:37 +02:00
Milan Burda
9f342ebbd1
Add missing documentation
2016-10-06 11:30:34 +02:00
Cheng Zhao
10b91b1291
Merge pull request #7488 from electron/native-image-resize-and-crop
...
Support resizing and cropping native images
2016-10-06 15:01:41 +09:00
Cheng Zhao
5285b729be
Merge pull request #7407 from thomsonreuters/New_Window_Handler_Can_Create_And_Return_Window
...
New-window event handler can return its own BrowserWindow instance
2016-10-06 14:37:48 +09:00
Bryan Bess
9bc6000cb5
📝 Fix misspelling in docs/api/app.md [ci skip]
2016-10-05 19:17:49 -05:00
Kevin Sawicki
4b95f3a462
Mark width/height as optional
2016-10-05 11:02:58 -07:00
Kevin Sawicki
abffd98e29
Resize images with preserve aspect ratio
2016-10-05 11:02:58 -07:00
Kevin Sawicki
56f9cc683a
bounds -> rect
2016-10-05 11:02:57 -07:00
Kevin Sawicki
9fa13710aa
Document crop and resize
2016-10-05 11:02:57 -07:00
Kevin Sawicki
5e936a24ac
Add newline before list
2016-10-05 09:24:33 -07:00
Michael Vasseur
22bd7c0271
Updated the related documentation
2016-10-05 09:47:38 +02:00
Dave Jeffery
29b9fbcc9a
Docs: Move buffer link to end of file
2016-10-04 21:34:24 +01:00
Dave Jeffery
4d10b9a31b
Docs: Correct image.getSize() type signature
2016-10-04 21:20:42 +01:00
Cheng Zhao
c4576463e2
Format the docs according to style guide
2016-10-04 14:41:37 +09:00
Michael Vasseur
3af686daff
Documented JavasScript API changes related to the fix for additional features processing
2016-10-04 14:38:32 +09:00
Joseph Frazier
5d1c626a53
Fix webContents.findInPage links in docs
2016-10-03 02:07:52 -04:00
Kevin Sawicki
96e48ac13c
Document cookie changed event
2016-09-29 09:16:35 -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
Kevin Sawicki
241297fb2e
Merge pull request #7388 from electron/custom-window-level-test
...
Add test for BrowserWindow.setAlwaysOnTop
2016-09-28 15:47:29 -07:00
Kiavash Page
d42e51e33a
app.md - fix relaunch arg concat syntax
2016-09-28 10:23:03 -07:00
Kevin Sawicki
fd6ef6712f
Link to window level macOS docs
2016-09-28 09:20:22 -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
Cheng Zhao
de76bf5f63
Merge pull request #7296 from adammeyer/custom-window-level
...
Allow custom window level when sending window to top
2016-09-28 19:18:12 +08:00
Samuel Attard
e0e47ea9a1
Update docs to contain more specific return values
2016-09-28 18:28:44 +13:00
Zeke Sikelianos
6728efe87e
Merge pull request #7339 from electron/document-return-values
...
Document the return values of all methods in the docs
2016-09-27 07:39:25 -07:00
Cheng Zhao
7e1ae369ed
Merge pull request #7356 from electron/fix-typo
...
fix typo
2016-09-27 19:05:06 +08:00
Cheng Zhao
4c8d0ab804
Merge pull request #7298 from deepak1556/content_settings_patch
...
protocol: disable storage for non standard custom schemes
2016-09-27 18:52:36 +08:00
Zeke Sikelianos
1f677ed361
fix typo
2016-09-26 22:12:51 -07:00
Zeke Sikelianos
bb955b6202
document lack of MAS support for login item APIs
2016-09-26 11:00:13 -07:00
Samuel Attard
987a2e173a
Fix docs linting
2016-09-25 21:57:37 +13:00
Samuel Attard
d2a701a465
Document the return values of all methods in the docs
2016-09-25 12:59:30 +13:00
Vadim Macagon
1df30821db
Fix getAccentColor() docs in system-preferences.md
...
Example was using a non-existent method.
2016-09-25 01:45:34 +07:00
Cheng Zhao
c9a3ab3a81
Merge pull request #7295 from electron/native-image-bad-path-docs
...
Mention createFromPath bad path return value
2016-09-22 14:14:15 +09:00
Cheng Zhao
3b4a071723
Merge pull request #7294 from electron/mutate-remote-array-docs
...
Mention mutating remote arrays and buffers
2016-09-22 14:13:49 +09:00
adammeyer
783d47f78b
custom window level as string
2016-09-21 22:49:06 -04:00
adammeyer
b35bde662a
custom window level docs
2016-09-21 19:06:36 -04:00
deepak1556
ad783652c8
update docs
2016-09-22 00:20:34 +05:30
Kevin Sawicki
546c0e7822
Mention createFromPath failure cases
2016-09-21 10:48:01 -07:00
Kevin Sawicki
e7c4d2523b
Mention mutating remote arrays and buffers
2016-09-21 10:44:54 -07:00
Kevin Sawicki
cae15ad6b5
Mention using fallback text when writing bookmarks on Windows
2016-09-21 10:31:01 -07:00
Cheng Zhao
805ce0dee9
Merge pull request #7276 from electron/google-api-key-env2
...
allow GOOGLE_API_KEY to be set
2016-09-21 15:16:29 +09:00
Zeke Sikelianos
f4a8fb9eb4
🎨 standard
2016-09-20 14:55:45 -07:00
Kevin Sawicki
98999f4850
Add missing s in progress
2016-09-20 14:46:17 -07:00
Kevin Sawicki
b5e1571204
Set parameter type to Object
2016-09-20 14:26:55 -07:00
Zeke Sikelianos
d7934e7525
add link to chromium API keys doc
2016-09-20 14:13:30 -07:00
Zeke Sikelianos
7fcba6ba0f
document the GOOGLE_API_KEY env var
2016-09-20 13:58:39 -07:00
Cheng Zhao
30a6b597a5
Merge pull request #7239 from darkdh/6873
...
Emit scroll-touch-edge event instead of changing the behavior of scrollll-touch-begin/end
2016-09-20 14:51:10 +09:00
Cheng Zhao
e3e450613d
Merge pull request #7157 from Mossop/moveguest
...
Allow moving a webcontents to a different webview
2016-09-20 14:28:42 +09:00
Samuel Attard
c0f8b4895d
Update docs
2016-09-20 02:41:26 +10:00
Cheng Zhao
26004f1a66
Merge pull request #7241 from miniak/crashed-killed
...
Add killed argument for webContents.on("crashed") and app.on("gpu-process-crashed") events
2016-09-19 16:02:52 +09:00
Cheng Zhao
a260647b4f
Merge pull request #7062 from MaxWhere/osr-sizing-fix
...
Offscreen invalidate and sizing fix
2016-09-19 15:38:11 +09: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
Anthony Tseng
269a87b26f
Emit scroll-touch-edge event instead of changing the behavior of scroll-touch-begin/end
...
fix #6873
2016-09-17 22:50:10 +08:00
gellert
8baaad4e0d
cleanup and adds docs
2016-09-16 23:27:51 +02:00
Kevin Sawicki
0fda86f79a
Mention not requiring module until app is ready
2016-09-16 11:42:02 -07:00
deepak1556
e7f1265b64
add save-to-disk disposition for new-window event
2016-09-16 16:30:26 +05:30
Cheng Zhao
9714348260
Merge pull request #6941 from deepak1556/blob_data_patch
...
protocol: provide blob uuid with uploadData
2016-09-16 17:01:15 +09:00
Cheng Zhao
fbac635687
Only emit finalUpdate found-in-page events
...
Since Chrome 53 all meaningful results of found-in-page are finalUpdate.
2016-09-14 16:23:01 +09: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
b13bab6fae
Merge pull request #7182 from electron/shell-return-values
...
Return booleans from more shell APIs
2016-09-13 16:46:05 +09:00
Cheng Zhao
4eba8094d4
Merge pull request #7096 from minggo/add-option-to-disable-devtools
...
add option to disable devtools
2016-09-13 16:01:56 +09:00
Kevin Sawicki
00d0887cab
Document shell.moveItemToTrash return value
2016-09-12 14:30:01 -07:00
Kevin Sawicki
55eab8e385
Return boolean from shell.openItem
2016-09-12 14:29:06 -07:00
Kevin Sawicki
72558654ef
Return boolean from shell.showItemInFolder
2016-09-12 14:22:29 -07:00
Pier Bover
70c1d194ef
added clarification for common Windows pitfalls
2016-09-09 13:51:42 -05:00
Dave Townsend
313b2faa3c
Add a guestinstance attribute to webviews reflecting their current guest
...
instance ID and allowing moving a guest instance to a new webview.
2016-09-09 10:32:05 -07:00
Cheng Zhao
7ed33dfbee
Merge pull request #7077 from miniak/title-bar-style
...
Add support for titleBarStyle: 'hidden-inset' on OS X 10.9
2016-09-09 20:27:26 +09: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
Kevin Sawicki
4d20c4f3fd
Update productName default in docs
2016-09-08 11:52:29 -07:00
minggo
3fdc99c3c6
change the option name to devTools
2016-09-07 10:16:52 +08:00
minggo
2db5aa8294
update browser-window.md to add disableDevTools option
2016-09-06 17:46:55 +08:00
Charlie Hess
80f046c8df
Update docs.
2016-09-03 12:03:58 -07:00
Milan Burda
9911e60f5b
Add support for titleBarStyle: 'hidden-inset' on OS X 10.9
2016-09-03 01:33:20 +02: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
deepak1556
7b85ca0301
create helper class to read blob data
2016-09-01 08:52:44 +05:30
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
deepak1556
be4bc6b7ef
fix docs and update specs
2016-09-01 01:01:52 +05:30
deepak1556
a23e7ecf8f
add docs
2016-09-01 01:01:52 +05:30
roderik
1ff58a6066
documents webContents.fromId
2016-08-30 22:25:04 -05:00
Cheng Zhao
e2d70fb92b
Merge pull request #7028 from electron/default-exit-code
...
Default app exit code to 0
2016-08-30 19:36:03 +09:00
Samuel Attard
adf9acc468
Default app exit code to 0
2016-08-30 13:30:56 +10:00
Menci
ec60c149f5
Add guide for force new page in print / printToPDF
2016-08-30 08:45:39 +08:00
Zeke Sikelianos
7ff5649965
fix optional param spacing
2016-08-26 23:47:04 -07:00
Cheng Zhao
723c74ace6
Merge pull request #6989 from Menci/master
...
[doc] Add support for titleBarStyle hidden on macOS 10.9
2016-08-26 20:57:26 +09:00
Cheng Zhao
c5ece2bfb1
Merge pull request #6984 from electron/zoom-webview
...
Document <webview>.setZoomFactor/Level as public
2016-08-26 20:56:47 +09:00
Menci
a9eb6b7238
Add support for titleBarStyle hidden on macOS 10.9
...
"titleBarStyle: 'hidden'" supports macOS 10.9 now. See https://github.com/electron/electron/pull/6848 and ab8fd49c72
for more info.
2016-08-26 12:06:56 +08:00
Zeke Sikelianos
e91dc83b2c
capitalize
2016-08-25 17:26:57 -07:00
Zeke Sikelianos
0ba9564629
use the right bullet
2016-08-25 17:26:52 -07:00
Zeke Sikelianos
ab1238d8fd
add a description for BrowserWindowProxy
2016-08-25 15:20:05 -07:00
Kevin Sawicki
bdaea02d8a
Document <webview>.setZoomFactor/Level as public
2016-08-25 14:55:01 -07:00
Zeke Sikelianos
5619558689
document some missing parameters
2016-08-25 14:43:06 -07:00
Zeke Sikelianos
0e4e60625f
fix method heading level
2016-08-25 14:42:53 -07:00
Zeke Sikelianos
28d42ba35b
document missing method parameters
2016-08-25 10:52:19 -07:00
Kevin Sawicki
4ce2c221c9
Minor doc edits and link to MDN page
2016-08-24 09:03:44 -07:00
deepak1556
ae297760af
add spec and docs
2016-08-24 06:53:14 +05:30
Kevin Sawicki
1276587ebe
Merge pull request #6934 from electron/add-missing-class-descriptions
...
Give every class a description
2016-08-23 10:16:29 -07:00
Cheng Zhao
4ca6587660
Merge pull request #6935 from electron/default-network-conditions
...
Default network conditions to 0.0
2016-08-23 16:40:36 +09:00
Zeke Sikelianos
098d4dc0ca
improve wording about class instantiation
2016-08-22 21:45:25 -07:00
Zeke Sikelianos
84fc1d022f
add missing require to win.loadURL doc
2016-08-22 14:25:48 -07:00
Kevin Sawicki
4fc6cf48b0
Document enableNetworkEmulation defaults
2016-08-22 14:25:42 -07:00
Zeke Sikelianos
3d371e09b7
add a blockquote for every class
2016-08-22 14:11:03 -07:00
Kevin Sawicki
e84d0ebb7e
Merge pull request #6932 from electron/fix-power-save-blocker-doc-bug
...
Fix some invalid docs
2016-08-22 12:30:00 -07:00
Zeke Sikelianos
8c0a551d25
fix linting errors in docs
2016-08-22 11:47:55 -07:00
Zeke Sikelianos
ee44ab7ecd
wrap MenuItem constructor in backticks
2016-08-22 11:29:15 -07:00
Zeke Sikelianos
39c5ff2077
missing space in doc
2016-08-22 11:17:05 -07:00
Cheng Zhao
23ca9fcd02
Merge pull request #6900 from electron/loadurl-example
...
Improve doc for loadURL
2016-08-22 10:46:03 +09: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
Zeke Sikelianos
1985432e8e
recommend url.format for file URLs
2016-08-19 13:31:57 -07:00
Zeke Sikelianos
d9901e62b6
improve doc for loadURL
2016-08-18 22:20:55 -07:00
Samuel Attard
ca971e978e
Return boolean instead of empty string when error occurs. Update docs
2016-08-18 18:02:13 +10:00
Cheng Zhao
b9b6fc238e
docs: Correctly fomart titleBarStyle line
2016-08-18 14:42:10 +09:00
Cheng Zhao
105597c7e8
Merge pull request #6848 from miniak/titlebar-style-hidden
...
Add support for titleBarStyle: 'hidden' on OS X 10.9
2016-08-18 14:40:54 +09:00
Kevin Sawicki
09adffe48f
Merge pull request #6870 from electron/more-permissive-standard-markdown
...
Use a more permissive version of standard-markdown
2016-08-17 08:52:06 -07:00
Cheng Zhao
47c37d6f51
Merge pull request #6814 from brave/net-converter-fix
...
don't convert a string to an array buffer
2016-08-17 20:44:13 +09:00
Zeke Sikelianos
cc2b95fac3
js → javascript
2016-08-16 14:50:21 -07:00
Zeke Sikelianos
e71280f31c
restore js label to orphan code blocks
2016-08-16 14:49:42 -07: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
Milan Burda
ab8fd49c72
Add support for titleBarStyle: 'hidden' on OS X 10.9 (hidden-inset falls back to hidden)
2016-08-15 22:10:38 +02:00
Stan
c9f80dfc7b
Added title
to page-title-updated
return args
2016-08-15 13:06:29 -04:00
bridiver
94c60379d1
don't convert a string to an array buffer
2016-08-13 13:35:23 -07:00
Haojian Wu
6a9801b82c
Remove an extra space in front of #.
2016-08-12 22:01:30 +02:00
Samuel Attard
0b624315b2
Fix attribute typo in docs
2016-08-12 01:49:56 +10:00
Samuel Attard
5b07e8dd5b
Send isMainFrame as argument to did-navigate-in-page event
2016-08-12 01:27:50 +10:00
Cheng Zhao
6cd99ebf6b
Merge pull request #6752 from lgalabru/feature/macos-native-notifications
...
Send events as native macOS notifications
2016-08-09 21:34:52 +09:00
Cheng Zhao
81244c2221
Merge pull request #6768 from electron/felix-set-progress
...
Enable mode indication for setProgressBar
2016-08-09 20:58:07 +09:00
Felix Rieseberg
73c91dae9e
🔧 Enable mode indication for setProgressBar
...
This commit enables setting a mode for the setProgressBar method.
Old behavior is kept intact, usage is entirely optional.
2016-08-08 15:52:20 -07:00
Kevin Sawicki
11b14f7621
Add zoom items to menu template
2016-08-08 11:09:30 -07:00
Kevin Sawicki
bcc372568f
Add zoom menu item roles
2016-08-08 11:09:30 -07:00
Kevin Sawicki
59ffe35781
Merge pull request #6765 from miniak/menu-speaking-roles
...
Add macOS specific speaking roles for MenuItem
2016-08-08 11:06:45 -07:00
Milan Burda
a6125c538e
Add BrowserWindow.prototype.setThumbnailToolTip
2016-08-08 12:05:47 +02: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
Milan Burda
edc1a9614c
Add macOS specific speaking roles for MenuItem
2016-08-08 00:02:32 +02:00
Ludovic Galabru
38cc56efee
🍎 Send events as native macOS notifications
2016-08-06 14:54:07 +02:00
Cheng Zhao
7173d8b01b
Use getBitmap in docs
2016-08-05 18:08:36 +09:00
Cheng Zhao
1be253e1aa
Cleanup the code of getBitmap
2016-08-05 18:05:44 +09:00
Heilig Benedek
b5c19a9c6d
update docs
2016-08-05 17:40:42 +09:00
Cheng Zhao
736fbd46c6
docs: Show how to use bitmap data directly
2016-08-05 17:40:42 +09:00
Cheng Zhao
8c4ebdc88e
Emit NativeImage objects in paint event
2016-08-05 17:40:42 +09:00
Kevin Sawicki
01f95c149a
Doc BrowserWindow.setContentBounds
2016-08-04 12:15:29 -07:00
Kevin Sawicki
a868bffd73
Document BrowserWindow.getContentBounds()
2016-08-04 09:58:36 -07:00
Cheng Zhao
64334fd40b
Pass SkBitmap directly
2016-08-04 13:22:19 +09:00
Cheng Zhao
32d9382417
Merge pull request #6713 from MaxWhere/offscreen-rendering-fixes
...
Fixes buffer size in offscreen mode
2016-08-04 13:00:54 +09:00
Kevin Sawicki
05ab7d39ad
Mark isDestroyed as public on BrowserWindow/WebContents
2016-08-03 14:58:22 -07:00
gellert
ca16132268
renames to bytesPerPixel and use nullptr
2016-08-03 19:39:23 +02:00
Milan Burda
d8f79bf29b
docs: fix cwd description for shell.writeShortcutLink
2016-08-03 18:27:15 +02:00
gellert
50485a28d3
fixes buffer size and adds pixel size to paint event
2016-08-03 13:28:19 +02:00
Cheng Zhao
5dabc47440
Remove the view-painted event
2016-08-03 16:20:55 +09:00