trop[bot]
3cd2f2ede9
docs: fix app.getPreferredSystemLanguages() return type ( #37836 )
...
docs: fix app.getPreferredSystemLanguages() return type
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-04-11 13:24:24 +02:00
trop[bot]
4b5998e51a
fix: allow cancelling of bluetooth requests ( #37739 )
...
fix: allow cancelling of bluetooth requests (#37601 )
(cherry picked from commit 6a6908c4c8 )
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-29 12:08:53 +02:00
trop[bot]
a831d69dfd
docs: clarify open-url not preventable ( #37574 )
...
docs: clarify open-url not preventable
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-03-14 20:20:18 -04:00
trop[bot]
5f115c8967
docs: only macOS 10.13+ is supported now ( #37289 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-16 15:56:32 -08:00
trop[bot]
54436d2048
feat: include all standard paper sizes for webContents.print() ( #37263 )
...
feat: include standard paper sizes for webContents.print()
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-02-15 19:59:13 +01:00
trop[bot]
72984eb31b
docs: add win.isFocusable() return type ( #37262 )
...
docs: fix `win.isFocusable()` return type
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Andrew Ferreira <andrew.shien2@gmail.com >
2023-02-15 11:52:09 +01:00
trop[bot]
299756c5b1
chore: update https://cs.chromium.org/ links to https://source.chromium.org/ ( #37237 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-13 16:34:32 +09:00
trop[bot]
b0c7515e6a
docs: add missing clipboard-sanitized-write permission value to setPermissionRequestHandler() ( #37207 )
...
docs: add missing clipboard-sanitized-write permission value to setPermissionRequestHandler() (#37173 )
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-02-09 14:31:07 +01:00
trop[bot]
ab5a5b616f
docs: remove invalid appcache value from storages in clearStorageData() ( #37107 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-02-02 20:54:02 +09:00
Cheng Zhao
4f5432e986
fix: fallback to GtkStatusIcon when app indicator is not supported ( #37034 )
...
* refactor: make StatusIconType an enum class (#36554 )
Co-authored-by: Milan Burda <miburda@microsoft.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <miburda@microsoft.com >
* fix: fallback to GtkStatusIcon when app indicator is not supported (#36815 )
* chore: get ready for multi backend tray
* fix: fallback to GtkStatusIcon when app indicator is not supported
* chore: use smart pointers
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-01-26 13:39:26 +01:00
trop[bot]
ef164e7e8d
feat: Add BrowserWindow option to hide window in Mission Control (macOS) ( #36390 )
2023-01-26 11:25:03 +01:00
trop[bot]
b6eef90604
docs: update clipboard fiddles ( #36961 )
...
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-01-19 18:08:15 -05:00
trop[bot]
57f2eecb28
docs: Change factuality and word choice in app.runningUnderARM64Translation ( #36964 )
...
Change factuality and word choice.
Added "or WOW" to the phrase, "when they are running the x64 version under Rosetta", to reflect the use of a supported platform, Windows, as a possible scenario.
Changed the wording of that same sentence to make it appear clearer. "incorrectly" to "mistakenly" and moved this word to before the verb instead of the end of the sentence.
Co-authored-by: GGIEnrike <52293637+GGIEnrike@users.noreply.github.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: GGIEnrike <52293637+GGIEnrike@users.noreply.github.com >
2023-01-19 18:02:51 -05:00
trop[bot]
72bdd5cd4c
feat: add label property to Display objects ( #36932 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-01-19 15:59:08 +09:00
Milan Burda
eb59cb1e11
docs: add missing window-placement permission value to setPermissionRequestHandler() ( #36777 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-01-13 15:27:00 +09:00
trop[bot]
e65fc9116a
docs: update links ( #36770 )
...
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-01-10 09:34:29 +09:00
trop[bot]
f49f0d4cd7
docs: fix broken links ( #36560 )
...
* docs: fix broken links
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* docs: change link to navigator.getUserMedia
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* docs: fix link in examples.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2022-12-14 17:40:16 -05:00
trop[bot]
a7f80017cf
docs: link net.request options to ClientRequestConstructorOptions ( #36569 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2022-12-13 10:54:10 -08:00
trop[bot]
09430e27a9
docs: add mdn link to web-request-filter.md ( #36617 )
...
* Add MDN link to web-request-filter.md
When I was using the Electron docs I wanted to know how to use [webRequest.onBeforeSendHeaders](https://www.electronjs.org/docs/latest/api/web-request#webrequestonbeforesendheadersfilter-listener ) but I was unable to correctly guess the correct format for the `WebRequestFilter` URL strings, and there was no explanation in the Electron docs. Eventually I googled it and found the MDN article which helped me.
Co-authored-by: Hugh Davey <9026053+hughjdavey@users.noreply.github.com >
* Update docs/api/structures/web-request-filter.md
Co-authored-by: Black-Hole <158blackhole@gmail.com >
Co-authored-by: Hugh Davey <9026053+hughjdavey@users.noreply.github.com >
* Update docs/api/structures/web-request-filter.md
Co-authored-by: Black-Hole <158blackhole@gmail.com >
Co-authored-by: Hugh Davey <9026053+hughjdavey@users.noreply.github.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Hugh Davey <9026053+hughjdavey@users.noreply.github.com >
2022-12-08 14:55:45 -08:00
trop[bot]
27ce311a20
docs: document outlivesOpener option in window open handler ( #36508 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-12-01 10:29:34 -08:00
trop[bot]
5f030bdd2c
docs: fix loadExtension example ( #36499 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-11-30 16:20:29 -05:00
trop[bot]
4989994ad9
fix: reimplement Tray with StatusIconLinuxDbus on Linux ( #36472 )
...
* fix: reimplement Tray with StatusIconLinuxDbus on Linux (#36333 )
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
* chore: remove incorrectly added patches
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2022-11-29 10:26:39 -05:00
trop[bot]
1601265cec
docs: add missing event-emitter link to utility-process docs ( #36433 )
...
add missing event-emitter link
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-11-23 11:28:56 +01:00
trop[bot]
d843ae327d
feat: UtilityProcess API ( #36089 )
...
* feat: UtilityProcess API (#34980 )
* chore: initial scaffolding
* chore: implement interface and docs
* chore: address code style review
* fix: cleanup of utility process on shutdown
* chore: simplify NodeBindings::CreateEnvironment
* chore: rename disableLibraryValidation => allowLoadingUnsignedLibraries
* chore: implement process.parentPort
* chore(posix): implement stdio pipe interface
* chore(win): implement stdio interface
* chore: reenable SetNodeOptions for utility process
* chore: add specs
* chore: fix lint
* fix: update kill API
* fix: update process.parentPort API
* fix: exit event
* docs: update exit event
* fix: tests on linux
* chore: expand on some comments
* fix: shutdown of pipe reader
Avoid logging since it is always the case that reader end of
pipe will terminate after the child process.
* fix: remove exit code check for crash spec
* fix: rm PR_SET_NO_NEW_PRIVS for unsandbox utility process
* chore: fix incorrect rebase
* fix: address review feedback
* chore: rename utility_process -> utility
* chore: update docs
* chore: cleanup c++ implemantation
* fix: leak in NodeServiceHost impl
* chore: minor cleanup
* chore: cleanup JS implementation
* chore: flip default stdio to inherit
* fix: some api improvements
* Support cwd option
* Remove path restriction for modulePath
* Rewire impl for env support
* fix: add tests for cwd and env option
* chore: alt impl for reading stdio handles
* chore: support message queuing
* chore: fix lint
* chore: new UtilityProcess => utilityProcess.fork
* fix: support for uncaught exception exits
* chore: remove process.execArgv as default
* fix: windows build
* fix: style changes
* fix: docs and style changes
* chore: update patches
* spec: disable flaky test on win32 arm CI
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Robo <hop2deep@gmail.com >
* chore: update patches
* docs: add utility process info to tutorial docs (#36074 )
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Robo <hop2deep@gmail.com >
2022-11-17 15:33:27 +09:00
trop[bot]
6908088d38
feat: add app.getPreferredSystemLanguages() API ( #36291 )
...
* feat: add app.getSystemLanguage() API
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Change the API to getPreferredSystemLanguages
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Fix test
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Clarify docs and add Linux impl
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Remove USE_GLIB
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Don't add C to list
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Remove examples since there's a lot of edge cases
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Fix lint
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Add examples
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Fix compile error
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Apply PR feedback
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
* Update the example
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
2022-11-09 17:20:50 -05:00
trop[bot]
3395a813fb
docs: fix driverId -> deviceId typo ( #36271 )
...
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2022-11-08 11:30:38 +01:00
trop[bot]
d0d7dfab67
docs: correcting main example in WebRequest documentation ( #36161 )
...
docs: correcting main example in WebRequest documentation (#36113 )
Correcting main example
The entry `*://electron.github.io` is invalid and produces an exception. i.e.
> UnhandledPromiseRejectionWarning: TypeError: Invalid url pattern *://electron.github.io: Empty path.
Setting a valid path to resolve this issue
Co-authored-by: Shane Gannon <sgannon200@gmail.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shane Gannon <sgannon200@gmail.com >
2022-10-27 09:31:03 -04:00
trop[bot]
3d619ac79f
docs: document that when invoke rejects, it gives a different Error ( #36148 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-10-26 17:28:07 -07:00
trop[bot]
ba08f4c157
docs: fixed MenuItem documentation to use the same formatting for all role options ( #36120 )
...
docs: fixed MenuItem documentation to use the same formatting for all role options (#36112 )
Fixed MenuItem documentation
Some of the items in the list of possible roles were formatted differently, which made it harder to read.
Sorry if this was intended, but I found it easier to read with them all formatted the same.
Co-authored-by: flynow10 <37031514+flynow10@users.noreply.github.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: flynow10 <37031514+flynow10@users.noreply.github.com >
2022-10-25 20:45:23 +09:00
trop[bot]
abf7a48605
feat: support serialPort.forget() ( #36062 )
...
feat: enable serialPort.revoke()
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-10-20 14:29:48 -04:00
Jeremy Rose
f82a863f65
feat: replace scroll-touch* with generic input-event ( #35531 )
2022-09-27 12:47:46 -07:00
Samuel Maddock
c09c94fc98
feat: add WebContents.opener and webContents.fromFrame() ( #35140 )
...
* feat: add WebContents.opener
* feat: add webContents.fromFrame(frame)
* fix: unknown type name
* test: fix and add more fromFrame cases
* docs: clarified terminology
2022-09-26 12:37:08 -04:00
John Kleinschmidt
697a219bcb
feat: add support for Web Bluetooth pin pairing ( #35416 )
...
* feat: add bluetooth pairing handler
* Update docs/api/session.md
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update docs/api/session.md
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* docs: update based on review
* Apply suggestions from code review
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: update docs per review
* chore: cleanup callback per review
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2022-09-26 10:19:58 -04:00
Raymond Zhao
8a0b4fa338
feat: add app.getSystemLocale() method ( #35697 )
...
* feat: add app.getSystemLocale() method
* Update shell/browser/electron_browser_main_parts.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Change methods to be const
* Apply PR feedback
* Fix mac compile
* Add missing scope
* Apply style changes
* Change note
* Add braces to get the comment indentation right
* Change to static
* Apply PR feedback
* Fix the documentation
* Remove extraneous file
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-09-23 11:50:46 -07:00
Akshay Deo
dfc134de42
feat: add exposeInIsolatedWorld(worldId, key, api) to contextBridge ( #34974 )
...
* feat: add exposeInIsolatedWorld(worldId, key, api) to contextBridge
* Updates exposeInIslatedWorld worldId documentation
2022-09-21 13:17:10 -05:00
Jeremy Rose
eebf34cc6c
feat: add webContents.close() ( #35509 )
...
* feat: add webContents.close()
* update docs, add test for beforeunload override
* Update web-contents.md
2022-09-16 16:22:59 -07:00
Shelley Vohr
38a7da692a
chore: make macOS spellchecker fns formal no-ops ( #35514 )
...
* chore: make macOS spellchecker fns formal no-ops
* docs: correct no-op note
* test: add no-op specs
2022-09-14 15:10:16 -07:00
Jeremy Rose
9f97c3e50a
feat: expose content-bounds-updated event ( #35533 )
2022-09-13 10:49:34 -07:00
Kishan Bagaria
3a6d6ff008
docs: improve registerFileProtocol example ( #35580 )
...
* improve registerFileProtocol example
* link ProtocolResponse
* kick lint
2022-09-07 14:45:09 -04:00
Jeremy Rose
6ad679f540
feat: webFrameMain.origin ( #35438 )
2022-08-31 17:40:57 -07:00
Samuel Attard
f65b05b8cc
fix: pass rfh instances through to the permission helper ( #35419 )
...
* fix: pass rfh instances through to the permission helper
* refactor: use WeakDocumentPtr instead of frame node id
* fix: handle missing initiator document
* fix: dispatch openExternal event for top level webview navs still
2022-08-26 12:31:33 +02:00
Shelley Vohr
a3a9463024
fix: fullscreen crashing with roundedCorners: false ( #35421 )
2022-08-25 13:39:01 +02:00
Jeremy Rose
221bb51326
feat: session.setDisplayMediaRequestHandler ( #30702 )
2022-08-22 14:15:32 -07:00
Shelley Vohr
4d54cadb28
fix: WCO occlusion of DevTools ( #35209 )
2022-08-11 15:16:12 +02:00
Samuel Attard
1d95b98cc8
docs: fix getStoragePath return type ( #35288 )
...
Fixes #35255
2022-08-09 22:39:36 -07:00
Milan Burda
8646bf8d30
chore: remove deprecated 'new-window' event ( #34526 )
2022-08-09 17:57:05 -04:00
Brad Carter
21117ea5b2
docs: update tray docs with info for mac menubar icons ( #35136 )
2022-08-04 11:24:32 +02:00
Jeremy Rose
6d859dcd7f
feat: add WebContents.ipc ( #34959 )
2022-08-03 16:55:12 -07:00
Charles Kerr
b67c69d741
fix: remove skip-taskbar feature on Linux. ( #35123 )
2022-08-01 12:42:02 +02:00
Stuart Schechter
63593ffb22
docs: don't wait for ready event to register open-url listener ( #35019 )
...
* Update app.md
Add warning about late registration of the open-url event.
* Update app.md
2022-07-27 14:00:35 +02:00