Erick Zhao
1f08e46bca
docs: use local img for contents.adjustSelection api ( #38655 )
...
* docs: use local img for contents.adjustSelection api
* fixup
2023-06-07 23:49:19 -07:00
John Kleinschmidt
80246cf97f
docs: removed outdated Appveyor doc ( #38622 )
2023-06-06 15:38:07 -07:00
zeeker999
28332c94bf
feat: Allow customizing the default math font ( #38514 )
2023-06-06 17:26:32 -04:00
David Sanders
905aad9cb6
chore: type check JS in docs ( #38423 )
...
* build(deps): update @electron/lint-roller
* chore: type check JS in docs
* docs: add @ts-check and @ts-expect-error to code blocks
* chore: fix type check errors in docs
* chore: add ts-type to blocks
2023-06-05 16:26:26 +09:00
David Sanders
4c89061e0e
docs: fix SerialPort typing ( #38544 )
2023-06-05 15:58:30 +09:00
Milan Burda
8fdd7de3d2
docs: clarify which electron modules are exposed in sandboxed renderers ( #38568 )
2023-06-05 15:57:15 +09:00
Sergey
9ffffdb6ef
docs: fix performance tutorial ( #38469 )
...
* docs: fixed "Analyze runtime performance" link
* docs: added missing list item
2023-05-31 15:56:06 -04:00
Milan Burda
67f273a6d6
docs: add <webview>
new-window
event removal to breaking-changes.md ( #36985 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com>
2023-05-31 10:47:08 -04:00
John Kleinschmidt
b4ec363b3d
feat: add USB protected classes handler ( #38263 )
...
* feat: add USB protected classes handler
* chore: apply review suggestions
Co-authored-by: Charles Kerr <charles@charleskerr.com>
* chore: update docs
* chore: apply review suggestions
* update doc per suggestion
---------
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2023-05-30 12:35:25 -04:00
Shelley Vohr
ec85be3fb0
docs: ensure app.md
examples are runnable ( #38416 )
...
docs: ensure app.md examples are runnable
2023-05-24 16:41:29 -04:00
Kilian Valkhof
e7b8bb4766
docs: disablewebsecurity on webview-tag can not be changed for an active session ( #38373 )
...
disablewebsecurity on webview-tag can not be changed for an active session
2023-05-22 16:29:41 +02:00
Keeley Hammond
508d7c1353
docs: update timelines for E26 ( #38378 )
...
docs: update E26 timeline, add E22 support note
2023-05-19 12:05:45 -07:00
David Sanders
e138f5f915
docs: fix typing of message box type value ( #38336 )
...
* docs: fix typing of dialog type value
* test: add smoke tests
* test: update test
2023-05-17 10:33:30 -07:00
David Sanders
a22635bd9f
docs: update example to use app.whenReady() ( #38337 )
...
* docs: update example to use app.whenReady()
* docs: retain async
2023-05-17 10:32:59 -07:00
Shelley Vohr
e83197669c
fix: unify BrowserWindow.isVisible()
logic cross-platform ( #38242 )
2023-05-16 11:46:45 +02:00
Shelley Vohr
e19500fa03
feat: support Mica/Acrylic on Windows ( #38163 )
...
* feat: support Mica/Acrylic on Windows
* chore: feedback from review
2023-05-15 16:31:57 -04:00
Shelley Vohr
e7fc1a422d
feat: add missing 'cursor-changed' type values ( #38210 )
2023-05-15 10:27:09 +02:00
David Sanders
eeb1e7d499
chore: fix lint:js-in-markdown script ( #38260 )
2023-05-15 09:58:35 +02:00
Shelley Vohr
2806feede2
docs: fix devtools-open-url
ts definition ( #38231 )
...
docs: fix devtools-open-url ts definition
2023-05-10 11:25:50 +02:00
Adam Stone-Lord
88710612a3
docs: update dead link to Apple Human Interface notification guidelines ( #38187 )
2023-05-08 17:05:50 +09:00
David Sanders
a7adbae543
docs: fix typing of session.setDevicePermissionHandler ( #38188 )
2023-05-08 09:46:35 +02:00
Russell Carpenella
7f5364f98d
docs: moves icpMain.handle call in tutorial part 3 ( #38138 )
2023-05-03 14:52:02 +02:00
Shelley Vohr
a8c0ed890f
feat: surface more webContents
text selection commands ( #37978 )
...
* feat: surface more text selection commands
* refactor: use options argument
* docs: correct for review
2023-05-02 21:14:29 -04:00
Fedor Indutny
c548f8f59e
feat: net.resolveHost ( #37853 )
2023-05-02 09:53:00 +02:00
Shelley Vohr
f35b9b3f06
fix: AXManualAccessibility
showing failure ( #38102 )
...
fix: AXManualAccessibility showing failure
2023-04-26 19:41:56 +02:00
Milan Burda
e823869bb0
docs: add separate linkable browser-window-options.md and web-preferences.md ( #34633 )
2023-04-25 15:16:11 +02:00
Francis Chartrand
a0a1a3645b
docs: fix start highlight tutorial-2-first-app.md ( #38069 )
...
doc: fix start highlight tutorial-2-first-app.md
2023-04-25 11:19:14 +02:00
David Sanders
9b41ab1e53
chore: always lint JS in docs/fiddles ( #38025 )
2023-04-24 10:35:14 -04:00
Black-Hole️
141f65b291
fix: webContents return type incorrect ( #38026 )
...
* fix: webContents type incorrect
* fix: ci failed
* fix: ci failed 2
2023-04-24 10:28:21 -04:00
Quang Lam
b626be5e33
docs: fix 'usb-device-added', 'usb-device-removed', 'usb-device-revoked' typings ( #38035 )
...
* Fix 'usb-device-added', 'usb-device-removed', 'usb-device-revoked' typings
* Add webContents
2023-04-23 22:16:38 +02:00
Jeremy Rose
ba835ddac1
feat: add thermal states to powerMonitor ( #37935 )
...
* feat: add thermal states to powerMonitor
* update docs
2023-04-19 11:46:55 +02:00
Shelley Vohr
32afdda9ee
feat: add did-resign-active
event on app ( #37933 )
...
feat: add did-resign-active event on app
2023-04-18 16:53:39 +02:00
Shelley Vohr
c857c9b7e2
docs: add note to win.setFullScreen(flag)
( #37921 )
...
docs: add note to win.setFullScreen(flag)
2023-04-17 10:45:40 +02:00
David Sanders
d1cddf2517
docs: update github.com links ( #37958 )
2023-04-15 21:20:59 -07:00
Zenkie Bear
f03315ad4d
docs: Fix the syntax error for code fragment ( #37939 )
...
By using `app.on('ready').then(xxx)`, application will throw a TypeError
2023-04-13 10:00:27 +02:00
Michaela Laurencin
6f2ab392ab
docs: update 22-x-y EOL dates ( #37955 )
...
To account for https://www.electronjs.org/blog/electron-22-0#windows-7881-support-update
Not sure if it is worth adding as a historical change though
2023-04-12 18:10:47 -07:00
Keeley Hammond
1e206deec3
docs: update E24/E25 breaking changes ( #37878 )
2023-04-06 21:23:29 -07:00
Keeley Hammond
83e186fdbc
docs: update 21-x-y EOL dates ( #37841 )
...
* docs: update 21-x-y EOL dates
* doc: update node versions
2023-04-06 14:04:15 -04:00
Fedor Indutny
6bfef67aae
feat: session.resolveHost ( #37690 )
...
* feat: session.resolveHost
Expose Chromium's host resolution API through the Session object.
* Update shell/browser/api/electron_api_session.cc
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
* address feedback
* fix tests
* address feedback
* Add options
* Update shell/browser/api/electron_api_session.cc
Co-authored-by: Cheng Zhao <github@zcbenz.com>
* Update shell/browser/net/resolve_host_function.cc
Co-authored-by: Cheng Zhao <github@zcbenz.com>
* lint
* return object
* add missing file
* fix crash
* handle scope
* links
---------
Co-authored-by: Fedor Indutny <indutny@signal.org>
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
Co-authored-by: Cheng Zhao <github@zcbenz.com>
2023-04-05 10:06:14 -04:00
David Sanders
db27b9f433
chore: initial linting fixes for JS in docs/fiddles ( #37689 )
2023-04-05 09:42:20 -04:00
Shelley Vohr
be32740991
docs: fix app.getPreferredSystemLanguages()
return type ( #37821 )
...
docs: fix app.getPreferredSystemLanguages() return type
2023-04-05 09:31:53 -04:00
David Sanders
4415b7638a
chore: enforce consistent Markdown style for strong and emphasis ( #37787 )
2023-04-03 13:20:10 +02:00
Erick Zhao
4ca6fb3c4e
docs: update references to @electron/rebuild ( #37757 )
2023-03-31 11:36:59 +02:00
David Sanders
75919e28b8
docs: add links to IPC event structures ( #37760 )
2023-03-30 10:13:21 -07:00
Jeremy Rose
ac58607605
docs: remove save-to-disk disposition ( #37758 )
2023-03-30 10:07:54 -07:00
John Kleinschmidt
8f3ef39f1e
chore: update line endings on HTML files ( #37755 )
2023-03-29 15:02:13 -04:00
David Sanders
48e13fde80
docs: update docs.microsoft.com links to learn.microsoft.com ( #37707 )
2023-03-29 12:16:44 +02:00
Will Anderson
2b9dae4b06
feat: add will-frame-navigate
event ( #34418 )
...
* feat: add will-navigate-in-frame event to webContents
* docs: add documentation for webview will-frame-navigate event
* feat: Eliminate isInPlace argument from will-frame-navigate event
* fix: Fire will-frame-navigate before will-navigate
* feat: send will-frame-navigate with a WebFrameMain in the event details
* docs: Update WebContents docs for new API signature
* feat: Add custom event forwarding for <webview> will-frame-navigate
* fix: wrap WebFrameMain so it can be sent as an event
* test: update webContents and <webview> tests to match new signatures
* chore: undo unnecessary change
* fix: don't switch will-navigate to use EmitNavigationEventDetails
* test: clean up will-navigate and will-frame-navigate tests for <webview>
* chore: apply lint fixes
* chore: move GetRenderFrameHost helper into anonymous namespace
* docs: auto-generate WillFrameNavigateDetails rather than defining it manually
* test: Update <webview> tests to actually pass under new spec runner
* docs: Add section explaining relationship between various nav events
* test: Add some tests to ensure navigation event order doesn't silently change
* test: Always monitor all nav events to ensure unexpected ones don't fire
* test: Add test to verify in-page navigation event order
* feat: Change to new style where extra params are exposed as event props
* fix: Remove unused EmitNavigationEventDetails
* fix: Update tests to use new async helpers
* docs: Rename and reorder sections documenting navigation events
---------
Co-authored-by: Milan Burda <milan.burda@gmail.com>
2023-03-28 10:55:41 -04:00
Mikołaj Sawicki
2e1f803f37
docs: updated package.json content and electron version in build first app guide ( #37554 )
...
* Docs: updated package.json content and electron version in build first app guide
* docs: removed caret from electron version
2023-03-28 10:53:20 -04:00
Peter Xu
1e106c8aa4
docs: fixup incorrect value for disabling sandbox ( #37711 )
2023-03-27 13:27:55 -04:00
Jeremy Rose
fda8ea9277
feat: add protocol.handle ( #36674 )
2023-03-27 10:00:55 -07:00
John Kleinschmidt
6a6908c4c8
fix: allow cancelling of bluetooth requests ( #37601 )
...
* fix: allow cancelling of bluetooth requests
allows cancelling of bluetooth requests when no devices present
* docs: update docs to reflect how bluetooth works.
2023-03-27 09:31:15 -04:00
Erick Zhao
52481bc923
docs: update notifications tutorial ( #37602 )
...
* docs: update notifications tutorial
* delete unused assets
2023-03-21 21:40:43 -04:00
Erick Zhao
2ac9ff1f20
docs: change MSDN links to new Microsoft docs ( #37603 )
2023-03-21 11:39:19 -04:00
George Joseph
e0c348a2f8
feat: Allow usage of an absolute path for partitions used in a session ( #37604 )
...
* Allow an absolute path to be used for creating sessions
Allows an absolute path to be used for creating sessions
by adding the session.fromPath() API.
* Fixup! Clarify that an emptry string is not permitted as a parameter to fromPath()
2023-03-20 10:34:49 -04:00
David Sanders
64b39dce14
docs: update broken links ( #37610 )
2023-03-20 10:25:54 -04:00
Erick Zhao
095f9067a7
docs: delete synopsis.md ( #37580 )
...
* docs: delete synopsis.md
* remove code references to doc
2023-03-16 17:05:15 -07:00
Shelley Vohr
e480cb7103
docs: clarify open-url
not preventable ( #37564 )
...
docs: clarify open-url not preventable
2023-03-14 14:17:28 +01:00
Shelley Vohr
8ee58e18fd
refactor: createThumbnailFromPath
takes size
not maxSize
( #37362 )
...
refactor: createThumbnailFromPath takes size not maxSize
2023-03-08 21:48:29 -05:00
Erick Zhao
f33bf2a271
docs: remove outdated ipc example ( #37523 )
2023-03-08 21:41:26 -05:00
John Kleinschmidt
0d3aee26b9
docs: fixup WebUSB fiddle ( #37455 )
...
docs: fixup webusb fiddle
2023-03-07 21:36:31 +01:00
Jeremy Rose
4e85bb921b
docs: remove misleading info from will-finish-launching docs ( #37514 )
2023-03-06 16:24:52 -08:00
Shelley Vohr
512e56baf7
feat: expose audio-state-changed
on webContents
( #37366 )
...
feat: expose audio-state-changed on webContents
2023-03-06 17:00:24 +01:00
Calvin
c8f715f9a1
fix: Showing the about panel is async on all platforms ( #37440 )
...
* fix: about panel is a base::Value::Dict
* nix this test for a diff PR
* what if the about dialog was not blocking
* add this test back in
* document synchronicity
* github editor is a fan of spaces
2023-03-06 09:46:35 -05:00
Jeremy Rose
6bd9ee6988
feat: net.fetch() supports custom protocols ( #36606 )
2023-03-02 15:47:45 -08:00
Kevin Law
692876c737
docs(clipboard): fix an issue of demo code ( #37438 )
...
doc(clipboard): fix an issue of demo code
2023-03-02 12:24:59 +01:00
Theo Gravity
49df19214e
feat: add enableLocalEcho flag to setDisplayMediaRequestHandler() callback ( #37315 )
2023-03-01 11:37:19 +01:00
Jeremy Rose
3a5ae28c95
feat: expose initiator in navigation events ( #37085 )
2023-02-28 11:08:22 -08:00
Milan Burda
ed7b5c44a2
feat: add types to webRequest filter ( #30914 )
2023-02-27 11:16:59 -08:00
Jeremy Rose
3384908da1
docs: document change in draggable region behavior on macOS ( #37396 )
2023-02-24 11:10:27 -08:00
Black-Hole
868676aa5c
feat: add httpOnly
cookies.get
filter ( #37255 )
...
feat: add httpOnly cookies filter
2023-02-21 11:44:35 +01:00
Jeremy Rose
872d1fe05a
feat: implement net.fetch ( #36733 )
2023-02-20 12:57:38 -08:00
Mikael Finstad
67a6fbf265
docs: fixed a typo in process.defaultApp
doc ( #37342 )
...
docs: improve `defaultApp`
2023-02-20 13:06:19 +01:00
Cheng Zhao
0de1012280
feat: add BrowserWindow.set/getWindowButtonPosition APIs ( #37094 )
2023-02-17 19:06:32 +09:00
Milan Burda
fdab0799fe
docs: only macOS 10.13+ is supported now ( #37286 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com>
2023-02-15 16:29:02 -08:00
Shelley Vohr
889859df5b
feat: include all standard paper sizes for webContents.print() ( #37159 )
2023-02-14 11:44:34 +01:00
Andrew Ferreira
cb03c6516b
docs: add win.isFocusable()
return type ( #37245 )
...
docs: fix `win.isFocusable()` return type
2023-02-14 10:01:22 +01:00
Milan Burda
a38b711fb1
feat: add logUsage to shell.openExternal() options ( #37139 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com>
2023-02-14 17:53:18 +09:00
Jeremy Rose
71944f2c3b
refactor: simplify events ( #37099 )
2023-02-13 13:39:18 -08:00
Milan Burda
3180312595
chore: update https://cs.chromium.org/ links to https://source.chromium.org/ ( #37190 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com>
2023-02-11 18:52:32 -08:00
Milan Burda
e5e9186d61
docs: add missing clipboard-sanitized-write permission value to setPermissionRequestHandler() ( #37173 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com>
2023-02-09 11:38:39 +01:00
Milan Burda
35a9e67dba
chore: rename built-in modules to bindings to match naming update in node ( #37182 )
2023-02-09 10:31:38 +09:00
David Sanders
22de86d5f4
docs: remove reference to electron/releases ( #37164 )
2023-02-08 15:27:09 +01:00
Jeremy Rose
9a0a0a7a46
fix: type for received-apns-notification event ( #37177 )
2023-02-07 22:43:29 -08:00
Milan Burda
6a3cb34326
fix: expose native bindings by process type ( #35949 )
2023-02-07 20:22:18 -05:00
David Sanders
d17507e3f6
docs: use relative links within docs ( #37042 )
2023-02-07 19:28:24 +09:00
Keeley Hammond
9b2b3aa287
docs: update stable dates ( #37150 )
2023-02-06 13:42:58 -08:00
Milan Burda
8d382b9c60
chore: remove deprecated capturer count APIs ( #37075 )
...
chore: remove deprecated incrementCapturerCount() / decrementCapturerCount()
Co-authored-by: Milan Burda <miburda@microsoft.com>
2023-02-06 07:54:47 -08:00
David Sanders
9ec13afeaf
docs: add missing ipcRenderer require to example code ( #37134 )
2023-02-06 14:40:16 +09:00
Samuel Attard
1a6085e20e
docs: improve globalShortcut and hookWindowMessage types ( #37115 )
2023-02-02 12:31:28 -08:00
David Sanders
23ae0dde17
docs: use automatic link syntax for symbol server link ( #37089 )
2023-02-02 19:16:41 +09:00
Milan Burda
ac266e2187
docs: remove invalid appcache value from storages in clearStorageData() ( #37095 )
2023-02-01 17:35:21 -08:00
Milan Burda
fd761ec8f7
chore: strip trailing whitespace ( #35969 )
2023-02-01 12:59:16 +01:00
Shelley Vohr
730a07ad62
docs: note how to clear an aspect ratio ( #37074 )
2023-01-31 12:36:09 -08:00
David Sanders
899881457b
docs: update modules list in docs/README.md ( #37080 )
2023-01-31 12:29:33 -08:00
Cheng Zhao
c303135b02
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
2023-01-26 19:15:55 +09:00
Shelley Vohr
7d46d3ec9d
feat: emit devtools-open-url
event for DevTools link selection ( #36774 )
...
* feat: emit event for DevTools link selection
* chore: devtools-open-in-new-tab -> devtools-open-url
2023-01-26 09:54:26 +01:00
Himanshu Patil
8d008c977d
docs: updated deep link docs ( #36952 )
...
* removed open-url listener from windows code
* updated deep-link fiddle
* fixed url hash to app.requestSingleInstanceLock
* code linted
* updated website url to relative file path
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2023-01-26 16:20:10 +09:00
David Sanders
ca3145a547
chore: use vscode-markdown-languageservice for link linting ( #36901 )
...
* chore: use vscode-markdown-languageservice for docs link linting
* docs: make links relative
2023-01-24 09:00:25 +01:00
David Sanders
f20d0b4ecb
chore: clean up .keep files ( #36980 )
2023-01-23 09:57:00 +01:00