David Sanders
e296813578
build: support for running clang-tidy ( #26150 )
2020-11-05 10:24:17 +09:00
David Sanders
34feaf1df0
docs: link ProtocolResponseUploadData ( #26294 )
2020-11-02 19:01:46 +09:00
David Sanders
ecd23bb29b
docs: tidy up links ( #26292 )
2020-11-02 18:58:14 +09:00
Erick Zhao
f61dedb7e5
docs: update information on Linux support ( #26265 )
...
* docs: remove stale info from version support doc
* attempt to update binary info?
2020-11-02 16:24:34 +09:00
Antonio
6017a0de88
docs: revised dark mode feature page ( #26187 )
...
* docs: revised dark mode page
* docs: fixed lint errors in dark mode page
* docs: fixed mentions, revised doc structure in the dark mode feature page
* docs: fixed mentions, made all the steps more verbose in the dark mode feature page
2020-11-02 16:18:29 +09:00
John Kleinschmidt
7f9b21daa0
feat: correctly identify permissions when using setPermissionRequestHandler ( #26172 )
...
* fix: correctly identify clipboard read permission
* Update tests for variable clipboard content
* chore: add all possible permission conversions
* VIDEO_CAPTURE and AUDIO_CAPTURE were already defined
* Handle all PermissionTypes
* use skewer case for accessibility events to match permissions api
https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API
2020-10-29 14:22:32 -04:00
Erick Zhao
935f6396d5
docs: clarify default value of enableRemoteModule ( #26170 )
2020-10-29 19:33:59 +09:00
David Sanders
ad4cb6f8ac
docs: can use depot_tools Python for Windows build ( #26184 )
2020-10-28 16:06:32 -04:00
Antonio
bb16c6f0be
docs: revised the keyboard shortcuts feature page ( #25999 )
...
* docs: revised the keyboard shortcuts feature page
* docs: fixed mentions, revised sections and code samples
* docs: added example of before-input-event
* docs: fixed lint errors in keyboard shortcuts feature page
* docs: minor grammar fix in keyboard shortcuts feature page
2020-10-28 15:58:38 +09:00
Milan Burda
d2727f5aba
feat: add support for UNNotificationResponse in app 'ready' event ( #25950 )
2020-10-28 04:25:10 +03:00
Samuel Attard
dbf2931f0e
feat: Electron Fuses, package time feature toggles ( #24241 )
...
* feat: add new 'fuses' feature for package-time build-flag style feature control
* feat: put ENABLE_RUN_AS_NODE behind a fuse as well
* chore: address PR feedback
* build: move FUSE_EXPORT to headers
* build: use hex codes for kFuseWire char[]
* docs: add fuse wire documentation
* chore: update fuses.json info
* Apply suggestions from code review
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
* chore: add link to fuse schema
* Update shell/app/electron_library_main.mm
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2020-10-27 10:49:25 -07:00
LuoJinghua
201fc11b4b
feat: Added support for all proxy modes ( #24937 )
...
* feat: Added support for all proxy modes
This commit extended setProxy to support all proxy modes including
direct, auto_detect, pac_script, fixed_servers and system.
* feat: New api for reload proxy configurations
2020-10-27 15:50:06 +09:00
Antonio
33ac7dbd48
docs: revised windows taskbar page ( #26120 )
...
* docs: revised windows taskbar page
* docs: fixed mentions related to windows taskbar
2020-10-27 10:31:40 +09:00
Milan Burda
184bccdc7d
docs: fix app 'ready' event arguments ( #26171 )
2020-10-27 00:43:27 +03:00
Antonio
e512669937
docs: revised linux desktop actions page ( #26118 )
2020-10-26 15:32:20 -05:00
David Sanders
29016b42c7
docs: Windows Security modifies Chromium checkout ( #26151 )
2020-10-26 11:51:21 -07:00
Chris Patterson
6a0c5a8a65
docs: add snapcraft + electron-packager example ( #25750 )
...
* docs: add snapcraft + electron-packager example
Add example to snap electron app (electron-quick-start)
using snapcraft & electron-packager.
Include notes on how to apply this to an existing project.
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
* Update snapcraft.md
* Update snapcraft.md
* Update snapcraft.md
* Update docs/tutorial/snapcraft.md
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
Co-authored-by: Cheng Zhao <github@zcbenz.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
2020-10-26 16:47:01 +09:00
Antonio
ecb758dae5
docs: revised the represented file feature page ( #26018 )
...
* docs: revised the represented file feature page
* docs: fixed mentions, updated screenshot to be more consistent
2020-10-26 16:45:45 +09:00
Milan Burda
aa157c3f05
feat: add osProcessId / name properties to webFrameMain ( #26093 )
...
* feat: add osProcessId / name properties to webFrameMain
* Update docs/api/web-frame-main.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2020-10-26 06:03:34 +03:00
Antonio
722903f068
docs: revised the application progress bar feature page ( #26003 )
...
* docs: revised the application progress bar feature page
* docs: fixed mentions, added screenshots to make the guide more consistent
* docs: added an extra phrase about indeterminate mode
* docs: revised paragraph about indeterminate mode
* docs: fixed lint errors, broken links
2020-10-23 15:03:04 +09:00
Charles Kerr
c934d1386b
docs: add discord link to docs community page ( #26048 )
2020-10-22 10:24:30 -05:00
Antonio
f93e33528e
docs: revised the web embeds feature page ( #26008 )
...
* docs: revised the web embeds feature page
* docs: minor styling updates to the web embeds feature page
* docs: fixed text and grammar mentions
* docs: changed placement of the webviews warning
* docs: added a few missing commas
2020-10-22 11:08:26 +09:00
Samuel Maddock
10a209ecba
feat: add webPreferences.enablePreferredSizeMode ( #25874 )
...
* feat: add preferredSizeMode preference
* docs: webPreferences.preferredSizeMode and event
* docs: better explain preferred size
* docs: small improvement
* refactor: preferredSizeMode -> enablePreferredSizeMode
2020-10-21 15:44:19 -07:00
Jeremy Rose
22cb3cd18b
feat: add disabledCipherSuites option to setSSLConfig ( #25818 )
2020-10-21 11:03:59 -07:00
Cheng Zhao
a631a8a8b0
docs: put required field frontmost in the dialog options ( #26059 )
2020-10-21 20:07:44 +09:00
Antonio
5c6fa7e420
docs: revised the online-offline event detection feature page ( #26017 )
...
* docs: revised the online-offline event detection feature page
* docs: fixed text and grammar mentions
2020-10-21 15:46:56 +09:00
Milan Burda
df1432a315
feat: add net.online / net.isOnline() ( #21004 )
2020-10-20 19:55:06 -07:00
Antonio
aebb56cb33
docs: revised Notifications feature page ( #25901 )
...
* docs: revised Notifications feature page
* docs: fixed mentions and updated content according to style guide in the notifications feature page
* docs: fixed lint errors in the notifications feature page
* docs: slightly improved consistency of steps in the notifications feature page
* docs: fixed mentions in the notifications feature page
2020-10-20 11:24:27 +09:00
David Sanders
e6f570d191
docs: improve relative link linting and fix broken ( #26020 )
2020-10-20 10:46:27 +09:00
Cheng Zhao
6b6ffbdd10
feat: add support for share menu on macOS ( #25629 )
2020-10-19 18:33:06 -07:00
Antonio
89c04b3c6c
docs: revised the macos dock menu feature page ( #25985 )
...
* docs: revised the macos dock menu feature page
* docs: added a cross-link to api, fixed mentions in the macos feature page
2020-10-20 10:32:40 +09:00
Antonio
12e3c85081
docs: revised the recent documents feature page ( #25941 )
...
* docs: revised the recent documents feature page
* docs: fixed lint errors in the recent documents feature page
* docs: slightly improved consistency of steps in the recent documents feature page
2020-10-20 10:26:24 +09:00
The Gem Dev
3219812c02
docs: update native file drag and drop ( #26044 )
...
fixed a typo.
2020-10-19 14:18:43 -07:00
Milan Burda
decb1eb87b
feat: add serviceName to 'child-process-gone' / app.getAppMetrics() ( #25975 )
2020-10-19 14:55:47 +03:00
Lishid
05b5c197ae
feat: Expose renderer spellcheck API ( #25060 )
2020-10-19 20:48:16 +09:00
Ben Russert
bf68405a2f
feat: support exclude from capture on Windows ( #24274 )
...
* feat: support exclude from capture on Windows
Check for WDA_EXCLUDEFROMCAPTURE support, and fallback to WDA_MONITOR. Windows versions that support exclude from capture will exclude the window entirely when `setContentProtection` is enabled similar to how Mac behaves. Fall back to `WDA_MONITOR` for windows verisions that do not support.
This flag is mentioned at the very end of a Microsoft blog post here: https://blogs.windows.com/windowsdeveloper/2019/09/16/new-ways-to-do-screen-capture/
Use WDA_EXCLUDEFROMCAPTURE for content protection on windows
Starting with Windows 10, version 2004 this will exclude a window similar to the expected behavior on mac. It is safe to use WDA_EXCLUDEFROMCAPTURE on older Windows versions, as it will still behave as if WDA_MONITOR is applied.
https://github.com/microsoft/Windows.UI.Composition-Win32-Samples/issues/64#issuecomment-697074762
See the docs here: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowdisplayaffinity
* docs: update setContentProtection docs
Update `setContentProtection` docs with `WDA_EXCLUDEFROMCAPTURE` info. This is to support screen capture fully excluding a particular window instead of showing it as a black screen.
2020-10-16 20:02:49 +09:00
Antonio
55fdc1795c
docs: revised the drag and drop feature page ( #25939 )
...
* docs: revised the drag and drop feature page
* docs: fixed mentions in the drag and drop feature page
* docs: fixed mentions in the drag and drop feature page
2020-10-15 19:14:16 -07:00
Electron Bot
46f3491c7d
chore: bump chromium to 6b9fa6b352d824d052222e1abe541 (master) ( #25558 )
...
* chore: bump chromium in DEPS to d5c9bf9e2a18fa508201a88e5803bec1d107b1ae
* chore: bump chromium in DEPS to 45f1316afae33e52c92480b34bf4f7fe4a7db898
* update patches
* WillCreateURLLoaderFactory now gets a ukm_source_id
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2346803
* ink_drop_visible_opacity -> GetInkDropVisibleOpacity
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2415368
* chore: bump chromium in DEPS to ddb5b6db5e35ab1a7b5adbd9f15373af6c35ea2a
* 2418471: PDF Viewer update: Add missing aria-labels to various buttons.
https://chromium-review.googlesource.com/c/chromium/src/+/2418471
* update printing.patch given print settings mojoification
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2409467
* update patches
* content::BluetoothChooser::Event -> content::BluetoothChooserEvent
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2387901
* set_ink_drop_base_color -> SetInkDropBaseColor
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2419388
* chore: bump chromium in DEPS to ecf7c9ee830d4d85f300b461a2fa13aa40c79a4c
* update patches
* gfx::ConvertPointToPixel -> gfx::ConvertPointToPixels
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2418568
* remove ContentSettingsObserver::AllowStorage()
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2401847
* service_manager::kCrashDumpSignal -> kCrashDumpSignal
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2417073
* chore: bump chromium in DEPS to abdb7ebe5f8c8328b8f435283df90d0a3ecff7bd
* chore: bump chromium in DEPS to 2a7e138ab1066534ceb2622e8a9d2c8ebf574215
* chore: bump chromium in DEPS to ab1884e75ced904e4276851eb4e1ad89919ca93b
* chore: bump chromium in DEPS to a12413902380dcc2a73ac74d582328280a8af686
* Fixup printing patch
https://chromium-review.googlesource.com/c/chromium/src/+/2428623
* Fixup OSR patch
https://chromium-review.googlesource.com/c/chromium/src/+/2415128
* Make ExtensionURLLoaderFactory always owned by its |receivers_|.
https://chromium-review.googlesource.com/c/chromium/src/+/2357523
* Add deprecated_default_sources_assignment_filter variable
https://chromium-review.googlesource.com/c/chromium/src/+/2416496
* Fixup patch indices
* Remove several references to BrowserPlugin from content
https://chromium-review.googlesource.com/c/chromium/src/+/2401031
* Remove SurfaceEmbeddingTime and LocalSurfaceIdAllocation
https://chromium-review.googlesource.com/c/chromium/src/+/2415128
* Add DragOperation and AllowedDragOperations Mojo types
https://chromium-review.googlesource.com/c/chromium/src/+/2196167
* chore: bump chromium in DEPS to 378450342cf6aa160663d0ce3a178a11b570c25a
* Fixup patch indices
* Remove SurfaceEmbeddingTime and LocalSurfaceIdAllocation
https://chromium-review.googlesource.com/c/chromium/src/+/2415128
* Add DragOperation and AllowedDragOperations Mojo types
https://chromium-review.googlesource.com/c/chromium/src/+/2196167
* 2426564: Remove global sources assignment filter value
https://chromium-review.googlesource.com/c/chromium/src/+/2426564
* Fixup blink_local_frame.patch
* [XProto] Remove a subset of ui/gfx/x/x11.h
https://chromium-review.googlesource.com/c/chromium/src/+/2430328
* Fixup patch indices
* Remove several references to BrowserPlugin from content
https://chromium-review.googlesource.com/c/chromium/src/+/2401031
* Remove lossy ConvertSizeToPixel() methods
https://chromium-review.googlesource.com/c/chromium/src/+/2419534
* serial: Use USB driver name to disambiguate ports
https://chromium-review.googlesource.com/c/chromium/src/+/2413176
* Remove set_sources_filter import
* Fix ModMask usage
* [XProto] Remove usage of all Xlib headers
https://chromium-review.googlesource.com/c/chromium/src/+/2392140
* [XProto] Remove usage of Xlib Visuals
https://chromium-review.googlesource.com/c/chromium/src/+/2429933
* Skip Angle manifest file
https://chromium-review.googlesource.com/c/angle/angle/+/2425197
* Add whole src\third_party\angle\.git directory
This directory is needed in order to properly generate gen/angle/angle_commit.h
* [libvpx] Fix HighBD config on Windows ARM64
https://chromium-review.googlesource.com/c/chromium/src/+/2437745
* update patches
* fix: correct calling convention for Windows on Arm
https://chromium-review.googlesource.com/c/v8/v8/+/2440717
* Add third_party/angle/.git to the archive before adding the rest of the source
* fixup source caching on Windows
* Fixup erroneous close paren
* fixup for goma issues
* This should work
* chore: bump chromium roll manually
https://chromium-review.googlesource.com/c/chromium/src/+/2435142
This landed the day after we paused roller-bot and may resolve the
visibility test flakes that we're seeing. h/t to @jkleinsc for
finding this with me.
* chore: remove obsoleted cherry-pick fix for libvpx
https://chromium-review.googlesource.com/c/chromium/src/+/2437745
* chore: remove obsoleted cherry-pick libvpx patch
https://chromium-review.googlesource.com/c/chromium/src/+/2437745
* chore: re-export patches
* chore: add tracer comment to visibility-stat-spec.
The line numbers between the source and the CI runs don't seem to match
up, so this temp tracer is to help track the source of that difference.
* chore: bump chromium in DEPS to 7c2b8cc3b8638aee8abeb013042a6c1d15b2da6b
* update patches
* impl SortingLSH service
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2425327
* 2446525: [Flash] Remove some Flash APIs
https://chromium-review.googlesource.com/c/chromium/src/+/2446525
* 2440974: Reland "Delete service_manager/embedder/switches.h"
https://chromium-review.googlesource.com/c/chromium/src/+/2440974
* 2359402: Remove ContentBrowserClient::NonNetworkURLLoaderFactoryDeprecatedMap.
https://chromium-review.googlesource.com/c/chromium/src/+/2359402
* 2250506: Implement tabs.removeCSS
https://chromium-review.googlesource.com/c/chromium/src/+/2250506
* 2429143: Remove implicit-conversion-to-integer ConvertRectToPixel() methods.
https://chromium-review.googlesource.com/c/chromium/src/+/2429143
* 2444430: Remove DataElementType::kBlob
https://chromium-review.googlesource.com/c/chromium/src/+/2444430
* 2441964: Clean up WebView public API
https://chromium-review.googlesource.com/c/chromium/src/+/2441964
* 2357523: Make ExtensionURLLoaderFactory always owned by its |receivers_|.
https://chromium-review.googlesource.com/c/chromium/src/+/2357523
* 2461606: Use blink::mojom::PreferredColorScheme instead of blink::PreferredColorScheme
https://chromium-review.googlesource.com/c/chromium/src/+/2461606
* 2461235: a11y inspect reorg: move PropertyFilter struct to a new location
https://chromium-review.googlesource.com/c/chromium/src/+/2461235
* remove flash support
* fix frame_host_manager patch
* fix lint
* remove flash info from docs
* fix build
* fix osr
* chore: bump chromium in DEPS to 9269f9eb1d98d29564c2b2ab97f30c6e148c4e11
* fix visibilityState tests
* 2463049: Replace all uses of web_pref::AutoplayPolicy with mojom::AutoplayPolicy
https://chromium-review.googlesource.com/c/chromium/src/+/2463049
* update patches
* fix tests harder
* 2414921: Add Group and Ungroup functions to Tabs extension API
https://chromium-review.googlesource.com/c/chromium/src/+/2414921
* more test fix
* Remove all keyboard related usage of Xlib
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2436787
* fix linux build
* 2453807: [XProto] Remove usage of Xlib error handling
https://chromium-review.googlesource.com/c/chromium/src/+/2453807
* lint
* fixup! 2453807: [XProto] Remove usage of Xlib error handling
* disable CalculateNativeWinOcclusion on win ci
* remove UploadBlob from docs
* Update appveyor.yml
Co-authored-by: Andy Locascio <andy@slack-corp.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
Co-authored-by: Electron Bot <anonymous@electronjs.org>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2020-10-15 18:30:41 -07:00
Milan Burda
beaed6c434
docs: fix protocol.registerFileProtocol() usage in session.md ( #25949 )
2020-10-15 11:11:14 -07:00
Milan Burda
09afaec9de
docs: move breaking-changes-ns.md contents to breaking-changes.md ( #25921 )
2020-10-14 10:17:07 -07:00
Antonio
8dfb1cf78f
docs: revised version of the quick start guide ( #25760 )
2020-10-13 13:15:40 -07:00
David Sanders
183e92a5ae
docs: add troubleshooting for gclient sync issues ( #25841 )
2020-10-13 10:23:38 -07:00
David Sanders
9cd882f1fa
docs: gclient sync --ignore_locks was removed ( #25843 )
2020-10-13 10:45:10 +09:00
Samuel Maddock
704d69a8f9
feat: add webFrameMain API to the main process ( #25464 )
2020-10-09 09:50:46 -07:00
Erick Zhao
3402fe712c
docs: update link to did-fail-load
events ( #25794 )
...
* docs: update link to `did-fail-load` events
* Update docs/api/web-contents.md
Co-authored-by: Vlad Hashimoto <hashimoto.stream@gmail.com>
Co-authored-by: Vlad Hashimoto <hashimoto.stream@gmail.com>
2020-10-09 19:59:43 +09:00
David Sanders
6677c5064f
docs: fix typos ( #25808 )
2020-10-09 19:56:07 +09:00
Samuel Attard
6d5cf02abd
feat: add support for preventing the system context menu ( #25795 )
2020-10-08 15:45:05 -07:00
LuoJinghua
e4213e326b
feat: add ability to close connections for a session ( #24945 )
...
These methods are needed for closing all idle and in-flight connections after
switching to another proxy from same origin for a session, otherwise
these connections may be reused for future requests which is
unexpected for most of users.
2020-10-08 09:45:36 -07:00
Egor Stronhin
125c5a6e9b
docs: end listener must be placed before data listener ( #25568 )
2020-10-06 10:27:30 +09:00
Asher Jacob
cba19f06f1
docs: added additional instructions to RUN the application ( #25743 )
...
In the existing documentation only "npm start" is given as the
instruction to run the project, however the definition of the 'start'
script is not mentioned anywhere. Hence I feel it is important for the
users to know the exact contents of the 'start' scirpt and have
accordingly updated the documentation.
2020-10-05 13:34:35 -07:00
David Sanders
ee9045c2e7
docs: trim trailing whitespace ( #25768 )
2020-10-05 13:01:40 -07:00
David Sanders
9717dff4fa
docs: link ProtocolRequest doc ( #25761 )
2020-10-05 11:18:18 -04:00
Chris Patterson
4ccc9e4205
docs: update snapcraft tutorial background information ( #25747 )
...
- Remove outdated comment about macOS.
- Refer to Snapcraft's installation documentation for up-to-date installation instructions.
2020-10-05 15:00:23 +09:00
Cody
77e2e47504
docs: fix spelling error in updates tutorial ( #25725 )
2020-10-05 14:59:24 +09:00
Samuel Attard
a189dc779e
feat: add webContents.forcefullyCrashRenderer() to forcefully terminate a renderer process ( #25580 )
...
* feat: add webContents.forcefullyCrashRenderer() to forcefully terminate a renderer process
* chore: fix up docs and tests
2020-10-02 14:50:24 -07:00
Milan Burda
5387b5b9b2
docs: rename launch-failure -> launch-failed to match C++ code ( #25726 )
2020-10-01 22:34:42 +02:00
Jeremy Rose
7027217dbb
build: use aws-sdk-js instead of boto ( #25693 )
2020-09-30 13:30:10 -07:00
bitdisaster
b43859f098
feat: custom toast xml and failure reporting for notifications ( #25401 )
...
* allow custom toast xml and report failures
* docs
* tests
* don't use namespaces
* lint doesn't like trailing commas
* addressing feedback
2020-09-29 12:20:10 -07:00
Jeremy Rose
0e7d59dd79
feat: [net] add "credentials" option to net.request ( #25284 )
...
* feat: [net] add "credentials" option to net.request
* remove debugging log
* add tests
2020-09-29 12:03:33 -04:00
Cheng Zhao
8970c80520
docs: command line flags for GPU controls ( #25589 )
2020-09-29 11:49:09 -04:00
Jeremy Rose
ac25f4d2ff
docs: clarify example in message-channel-main ( #25625 )
2020-09-28 10:58:32 -07:00
John Kleinschmidt
fd63510ca9
feat: add serial api support ( #25237 )
...
* feat: add serial api support
resolves #22478
* Put serial port support behind a flag and mark as experimental
* Update docs/api/session.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
* Use enable-blink-features=Serial instead of enable-experimental-web-platform-features
* Set enableBlinkFeatures on webPreferences instead of commandline
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2020-09-28 12:22:03 -04:00
Jeremy Rose
3ceaf4aa54
docs: document process.crashReporter apis in node children ( #25579 )
2020-09-24 08:22:50 -07:00
Joe Duncko
6fb7066904
docs: pepper flash plugin info appears at chrome://version now ( #25445 )
...
`chrome://flash` doesn't seem to exist anymore, but similar information
appears at `chrome://version`.
2020-09-23 13:25:27 -07:00
Jeremy Rose
27ea3fc069
feat: allow setting SSL config ( #25461 )
...
* feat: allow setting SSL config
* lint
* configure system network context with min TLS1.2
* fix
* note defaults
2020-09-23 16:22:10 -04:00
Samuel Maddock
9d0d9a1664
feat(extensions): expose ExtensionRegistryObserver events in Session ( #25385 )
...
* feat(extensions): expose ExtensionRegistryObserver events in Session
Extensions can be loaded and unloaded for various reasons. In some cases this can
occur by no means of the Electron programmer, such as in the case of chrome.runtime.reload().
In order to be able to manage state about extensions outside of Electron's APIs, events
reloaded to loading and unloaded are needed.
* docs(extensions): elaborate on extension-loaded/unloaded details
* fix: remove scoped extension registry observer
* docs: update extension-unloaded
2020-09-23 15:29:08 -04:00
liulun
6aaaabd90f
docs: add more info about downloadItem.setSavePath api ( #25402 )
...
* docs: add more info about downloadItem.setSavePath api
add more info about downloadItem.setSavePath api
* Update docs/api/download-item.md
^_^
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
2020-09-23 11:02:05 +09:00
Milan Burda
29c6864ee1
docs: remove unused StreamProtocolResponse / StringProtocolResponse ( #25573 )
2020-09-23 10:48:22 +09:00
Jaroslav Maslo
4f54d71518
docs: fix incorrect dialog.showMessageBox() docs ( #25549 )
2020-09-23 10:35:00 +09:00
dmitryk
0d72bf3ed2
docs: remove deprecated options for the findInPage method. ( #25574 )
2020-09-22 11:55:56 -07:00
Shelley Vohr
6acf34fa4c
feat: add macOS fast user switching evt ( #25321 )
2020-09-22 10:12:39 -07:00
Cheng Zhao
c50ded2b71
feat: add BrowserWindow.isTabletMode API ( #25209 )
2020-09-22 14:40:42 +09:00
bitdisaster
2cfa41e6e0
feat: read/write Toast Activator CLSID in shortcuts ( #25493 )
...
* read/write Toast Activator CLSID
* docs
* tests
* tweaks
2020-09-17 15:17:44 -07:00
Shelley Vohr
77038b7bda
chore: upgrade to Node.js v14.9.0 ( #25249 )
2020-09-17 16:08:57 -06:00
Jeremy Rose
a200b15600
docs: update menu example to avoid remote ( #25291 )
2020-09-16 14:32:32 -07:00
Samuel Maddock
45170fdbd7
fix(extensions): define platform info to prevent renderer crash ( #25357 )
2020-09-15 10:29:32 -06:00
Jeremy Rose
9f4a097e03
feat: remove getMediaSourceIdForWebContents() ( #25414 )
...
This reverts commit 204f001c5d
.
2020-09-14 10:38:05 -07:00
Jeremy Rose
5de7eb3618
docs: remove references to remote from docs ( #25416 )
2020-09-14 10:36:54 -07:00
Jeremy Rose
dd781c4f63
chore: deprecate remote ( #25293 )
2020-09-10 09:17:17 -07:00
Erick Zhao
ae5776041e
docs: full links to MD files in development README ( #24963 )
2020-09-08 20:37:47 +09:00
Erick Zhao
f7d9d68e14
docs: clarify a11y docs ( #24973 )
...
* docs: remove misleading sentence in a11y docs
* Update accessibility.md
* link
2020-09-08 20:37:00 +09:00
Jeremy Rose
d305fe7d30
docs: breaking changes for moveItemToTrash ( #25286 )
2020-09-03 12:44:16 -07:00
Jeremy Rose
4dc09ea9dc
feat: [crashReporter] enable compression by default ( #25288 )
2020-09-03 12:43:58 -07:00
Jeremy Rose
1b6534b326
feat: add shell.trashItem() to replace shell.moveItemToTrash() ( #25114 )
2020-09-02 10:32:33 -07:00
morgan-sam
e0611d0946
docs: setZoomLevel chromium zoom policy ( #25105 )
2020-09-02 10:06:58 +09:00
Eryk Rakowski
3745b76da8
feat(extensions): add support for some chrome.management APIs ( #25098 )
...
* fix: initialize management policy
* fix(extensions): crash when using chrome.management
* test: add tests
* docs: add a note about chrome.management
* fix: lint errors
* fix: lint errors
* fix: remove favicon_service include
* fix: add missing management permission
* docs: more supported apis
* fix: extensions.md line endings
2020-09-02 09:59:56 +09:00
Jeremy Rose
bf7dbff858
docs: note remote deprecation in docs/api/remote ( #24941 )
2020-08-31 11:27:00 -07:00
Cheng Zhao
e06a1c2746
docs: fix supported platforms of powerMonitor ( #25149 )
2020-08-31 16:46:10 +09:00
Shelley Vohr
a4b6fce907
fix: honor pageRanges when printing ( #25064 )
2020-08-27 20:21:29 -07:00
Electron Bot
443540fd13
Bump v12.0.0-nightly.20200827
2020-08-27 07:31:51 -07:00
Shelley Vohr
c8a0b2b71d
fix: prevent crash if BrowserView webContents was destroyed ( #25112 )
2020-08-25 20:04:13 -07:00
Keeley Hammond
7704954505
docs: add restricted header info to ClientRequest docs ( #25075 )
...
* docs: add restricted header info to docs
* docs: clarify header language
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
2020-08-25 20:29:58 +09:00
George Xu
beaf60de0a
feat: add nativeImage.createThumbnailFromPath API ( #24802 )
...
* initial commit, mac implementation
* add documentation
* convert createThumbnailFromPath to async function
* windows impl protoype
* add tests
* added test
* fix
* fix test
* clean up
* update docs
* cleaning up code
* fix test
* retrigger CI
* retrigger CI
* refactor from app to native_image
* windows build
* lint
* lint
* add smart pointers, fix test
* change tests and update docs
* fix test, remove nolint
* add renderer-main process routing to fix tests
* lint
* thanks sam
* thanks sam
2020-08-24 09:36:13 -07:00
Sofia Nguy
b403e64ef2
docs: update currently supported versions for 10.0.0 release ( #25027 )
2020-08-24 11:21:41 -05:00
Sofia Nguy
59670e8d8c
docs: update 11.0 stable release date ( #25073 )
2020-08-24 11:21:17 -05:00
Shelley Vohr
024ea32313
feat: make window visual effect state customizable ( #25083 )
2020-08-24 11:44:48 -04:00
Alfred Xing
a23c66e4e1
feat: allow monospaced font styles to be specified for macOS tray titles ( #25059 )
...
* feat: add optional font type to macOS tray title
* test: add tests for tray font type
* docs: update API reference for Tray setTitle
* review: change API to use an options object
* review: fix string enum in docs
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
* review: return after throwing errors
* review: don't need thrower anymore now that we have args
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
2020-08-23 14:39:29 -07:00
Samuel Attard
1646f938f3
Revert "refactor: use aws-sdk-js instead of boto ( #24863 )"
...
This reverts commit a3581aa992
.
2020-08-22 16:42:45 -07:00
shur
a17e97c3b2
feat: expose currencyCode on Product struct in IAP module ( #25058 )
...
Co-authored-by: Shur Singh <ssingh@evernote.com>
2020-08-21 10:41:40 -07:00
Charles Kerr
d9a1c453ab
fix: revert 6ecf729
to fix Linux titlebar dark mode ( #25055 )
...
Fixes #24741
2020-08-20 16:53:06 -04:00
Shelley Vohr
53668445ba
feat: reinvigorate visibleOnFullscreen option ( #24956 )
2020-08-19 13:31:25 -07:00
GitHubPang
5c5e006e46
docs: fix typos ( #24982 )
...
* docs: sync table of content from pull-requests.md to CONTRIBUTING.md
This also fixes some incorrect / dead links.
* docs: fix a bunch of typos
2020-08-18 16:55:16 +09:00
Vlad Hashimoto
b55e8dc578
docs: update default value for enableRemoteModule
in BrowserWindow ( #24955 )
2020-08-18 16:54:47 +09:00
Jeremy Rose
a3581aa992
refactor: use aws-sdk-js instead of boto ( #24863 )
...
* refactor: use js instead of boto for s3put
* replace merge-electron-checksums.py with js, remove boto
* fix auth
* actually pass the env to execute()
2020-08-13 13:25:40 -04:00
GitHubPang
47f88b65b7
docs: fix typo in api/ipc-renderer ( #24901 )
2020-08-11 07:31:38 -07:00
Olawanle Joel
d7909b507f
docs: fixed minor typos ( #24912 )
...
I was going through the entire documentation and decided to fix this to the best of my knowledge.
2020-08-11 07:30:45 -07:00
Jeremy Rose
30cd9cdf2a
docs: remove reference to remote from faq ( #24816 )
2020-08-04 12:08:44 -07:00
Jeremy Rose
9c234f3f3f
docs: remove references to 'remote' from app-arch tutorial ( #24815 )
2020-08-04 12:08:35 -07:00
Jeremy Rose
b5cd9ce0b3
refactor: ginify WebContents ( #24651 )
2020-07-30 09:17:57 -07:00
Jeremy Rose
d93bb34ac4
fix: increase max crash key value length ( #24782 )
...
* fix: increase max crash key value length
* chore: fix linting
* chore: fix linux
* Update spec-main/api-crash-reporter-spec.ts
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: Samuel Attard <sattard@slack-corp.com>
2020-07-29 19:04:04 -07:00
George Xu
1b175a0609
feat: add capabilities to app.getLoginItemSettings() and app.setLoginItemSettings() ( #24494 )
...
* fixed
* semantic commit
* add comments to browser.h
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
2020-07-29 10:08:37 -07:00
Samuel Attard
a612fb00c8
chore: update symbol server URL ( #24709 )
2020-07-27 13:25:39 -07:00
Samuel Attard
b500294c1d
feat: add worldSafe flag for executeJS results ( #24114 )
...
* feat: add worldSafe flag for executeJS results
* chore: do not log warning for webContents.executeJS
* Apply suggestions from code review
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
* chore: apply PR feedback
* chore: split logic a bit
* chore: allow primitives through the world safe checl
* chore: clean up per PR feedback
* chore: flip boolean logic
* chore: update per PR feedback
* chore: fix typo
* chore: fix spec
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2020-07-23 14:32:20 -07:00
szTheory
3b250b649b
docs: fix role typos in startSpeaking/stopSpeaking ( #24550 )
2020-07-23 13:59:24 -07:00
Samuel Attard
2162eeb609
build: fix linting issue in docs ( #24710 )
2020-07-23 12:27:00 -07:00
Charles Kerr
00fc8066de
docs: clarify use of pageRanges when printing. ( #24694 )
...
Fixes #24684 -- the docs are slightly unclear about how pageRanges
should be used, e.g. whether the page indices are zero-based or
one-based.
2020-07-23 12:03:52 -07:00
Raghav Bhutra
ec838cfc11
docs: add Documentation for Open Recent Menu-item ( #24374 )
2020-07-22 19:22:01 -07:00
Charles Kerr
cd805544d1
docs: update the URL for catapult's trace viewer. ( #24654 )
...
The old URL points to an archived repo. The updated URL points to the
catapult's landing page for trace-viewer.
2020-07-21 15:00:31 -07:00
szTheory
74e7f2773f
doc: fix typos in role values ( #24552 )
2020-07-21 08:59:20 -07:00
Cheng Zhao
a12602dbc3
docs: document missing permission types ( #24660 )
2020-07-21 07:49:37 -04:00
Erick Zhao
77eea08a54
docs: update webContents.send link in ipcMain docs ( #24245 )
2020-07-21 14:47:10 +09:00
Kriti Singh
86b441d599
docs: add descriptions for types of permissions ( #23781 )
2020-07-21 14:29:32 +09:00
Samuel Attard
682f78b9a8
test: add more auto updater tests for squirrel.mac ( #24611 )
2020-07-20 09:51:33 -07:00
Milan Burda
fa1323d6cd
feat: add child-process-gone event to app ( #24367 )
2020-07-20 10:34:16 -04:00
Samuel Attard
4c3da359fc
build: convert touch-bar to typescript ( #24511 )
2020-07-16 11:37:38 -07:00
Yoshietru Nagata
eb550c57d3
docs: fix wrong description in breaking-changes.md ( #24477 )
2020-07-15 09:31:54 -07:00
Electron Bot
8bbdc224ac
chore: bump chromium to 6d130075d378a64187360ba4e7820 (master) ( #24256 )
...
* chore: bump chromium in DEPS to 7fb9778894d73378bff51087ce869ea5aa6e5d5d
* chore: bump chromium in DEPS to 83da426e53d423f0530fc23433b6d2c4d0548442
* update patches
* remove chromeos-only TtsControllerDelegate
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2255314
* SharedUserScriptMaster -> SharedUserScriptManager
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2258357
* avoid deprecated DISALLOW_COPY_AND_ASSIGN
https://groups.google.com/a/chromium.org/forum/#!msg/cxx/qwH2hxaEjac/TUKq6eqfCwAJ
* chore: bump chromium in DEPS to b2eaf9ff4e6b03267bf279583ea20ceb2b25e9d0
* update patches
* rename GetHighContrastColorScheme -> GetPlatformHighContrastColorScheme
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2250224
* remove vulkan info collection
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2252818
* add max_xcode_version build var
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2264867
* add missing headers
* chore: bump chromium in DEPS to cded18ca1138f7e8efc904f077ddcca34f0135cf
* update patches
* add empty floc blocklist to BrowserProcessImpl
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2240873
* chore: bump chromium in DEPS to f06602226cd80bf677b2ce013a94a2fb7f6ac58d
* chore: bump chromium in DEPS to 747aa4bfc74fc6cf7f08ee72624cd69ae41ae28d
* chore: bump chromium in DEPS to 31c0105e50fcc4e94de33e5c8602c755ace4a32b
* chore: update patches
* Reland "[base] Stop including check.h, notreached.h, etc. in logging.h"
https://chromium-review.googlesource.com/c/chromium/src/+/2264297
* X11 and Ozone: make sure gfx::AcceleratedWidget to be uint32_t
https://chromium-review.googlesource.com/c/chromium/src/+/2260554
* Move zygote from //services/service_manager back to //content
https://chromium-review.googlesource.com/c/chromium/src/+/2252466
* chore: update v8 patches
* [XProto] Remove usage of Shape extension
https://chromium-review.googlesource.com/c/chromium/src/+/2262113
* fixup! add empty floc blocklist to BrowserProcessImpl
* Require macOS 10.15.1 sdk
https://chromium-review.googlesource.com/c/chromium/src/+/2238504
* Use newer Xcode version 11.5.0
* update src cache
* chore: bump chromium in DEPS to 60a9883e35db3f6f91916f0878e88e1849c17b11
* chore: update patches
* Reland "Reland "New toolchain for Windows 10 19041 SDK""
https://chromium-review.googlesource.com/c/chromium/src/+/2255527
* update patches
* Convert raw NonClientFrameViews to unique_ptrs
https://chromium-review.googlesource.com/c/chromium/src/+/2240417
* [printing] Move PrintHostMsg_DidPreviewDocument_Params to print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2257035
* chore: bump chromium in DEPS to 12c233c2a85bfa28fb279f390121ba681e52a71b
* chore: update patches
* Removing oppressive language for the directory chrome/browser/apps
https://chromium-review.googlesource.com/c/chromium/src/+/2269822
* Inclusion: rename SpellcheckLanguageBlacklistPolicyHandler
https://chromium-review.googlesource.com/c/chromium/src/+/2267646
* Clean up duplicate WebContents "is fullscreen" functions
https://chromium-review.googlesource.com/c/chromium/src/+/2275148
* Adds icon loading service with sandbox for Windows.
https://chromium-review.googlesource.com/c/chromium/src/+/1987273
* No more Vulkan info collection for UMA on Windows
https://chromium-review.googlesource.com/c/chromium/src/+/2252818
* fix lint
* chore: update buildflag conditions
* chore: bump chromium in DEPS to a837d4c4230ace4f10b2768728f4044b7995dfa5
* update hunspell files
* chore: update patches
* Make content::FileSelectListener a RefCounted
https://chromium-review.googlesource.com/c/chromium/src/+/2275338
* fix build failures on MAS
* update patches
* fixup! Reland "[base] Stop including check.h, notreached.h, etc. in logging.h"
* fix build on windows
* Check for GDI exhaustion if window creation fails
https://chromium-review.googlesource.com/c/chromium/src/+/2244124
* chore: bump chromium in DEPS to 2c9b2a73be4ef9ec22d8b6da8e174cb80753f125
* chore: update patches
* Network Service: Move DeleteCookiePredicate into public folder
https://chromium-review.googlesource.com/c/chromium/src/+/2264186
* chore: bump chromium in DEPS to fa2606299bcc02c362528d26b5dcf8c8a0db0735
* chore: bump chromium in DEPS to d9c235d1227204dbae3708daae851573a3566b94
* chore: bump chromium in DEPS to 2f82c284243c035f49a747fd1ead6c44b4b31093
* chore: update patches
* Move creating the LayerTreeSettings into blink.
https://chromium-review.googlesource.com/c/chromium/src/+/2267720
* chore: bump chromium in DEPS to 914112f1d9af9e4974059dc403da62699a55550f
* update patches
* chore: bump chromium in DEPS to e0bc1ffae6393fc543a2da94c88167df75859b36
* refactor: match upstream print preview handling (#24452 )
* update patches
* chore: bump chromium in DEPS to 0881423156abe084164b51ab58ce93a8bd380524
* update patches
* update patches
* give a type to pendingPromise
* chore: bump chromium in DEPS to 11a8c1534b16d130075d378a64187360ba4e7820
* update patches
* 2272609: Move //services/service_manager/sandbox to //sandbox/policy.
https://chromium-review.googlesource.com/c/chromium/src/+/2272609
* update patches
* fixup! 2272609: Move //services/service_manager/sandbox to //sandbox/policy.
* fixup! 2272609: Move //services/service_manager/sandbox to //sandbox/policy.
* 2264511: Cookies: Update SetCanonicalCookie to return CookieAccessResult
https://chromium-review.googlesource.com/c/chromium/src/+/2264511
* chore: fix setAlwaysOnTop test
The window must be visible for state to be updated properly.
* Revert "Migrate modules/desktop_capture and modules/video_capture to webrtc::Mutex."
https://webrtc-review.googlesource.com/c/src/+/179080
* update patches
Co-authored-by: Andy Locascio <andy@slack-corp.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
Co-authored-by: Electron Bot <anonymous@electronjs.org>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
2020-07-13 21:13:34 -04:00
Sam Saccone
e18f508e66
docs: fix incorrect formatting in browser docs. ( #24473 )
...
Address incorrect typing for isEnabled. The root cause of this was due
to missing backticks which caused the docs parser to think that the
return type of the `isEnabled` function was null, where it was supposed
to be a boolean type.
The side effect of this was that the generated typescript typings were
incorrect for this function.
Fixes #24409
2020-07-10 13:57:29 -07:00
Shelley Vohr
6c4017ff45
fix: always callback error with invalid print settings ( #24476 )
2020-07-10 09:42:22 -07:00
Samuel Attard
eb6616e4e9
build: update to standard 14 ( #24479 )
2020-07-09 10:18:49 -07:00
Jeremy Rose
9bd0fc5348
refactor: ginify BrowserView ( #23578 )
2020-07-09 08:48:39 -07:00
Milan Burda
7fd96cd188
feat: add name to app.getAppMetrics() output ( #24359 )
2020-07-07 14:00:45 -04:00
jieniu$
b0be3fbb7f
docs: fix typos in doc/tutorial/electron-versioning.md ( #24362 )
2020-07-06 16:31:24 -04:00
Jeremy Rose
71a7e1b2e3
chore: tsify menu ( #24358 )
2020-07-06 13:24:54 -07:00
Milan Burda
82af855579
chore: add missing _Deprecated_ to 'renderer-process-crashed' on app ( #24410 )
2020-07-06 10:09:42 -07:00
Robo
d330c6f9fe
feat: expose sessionId in debugger module ( #24170 )
2020-07-02 13:04:20 -07:00
Shelley Vohr
3cb833821a
docs: add hardened runtime entitlement info ( #24369 )
2020-07-01 12:11:09 -07:00
George Xu
ee61eb9aa4
feat: add app.getApplicationInfoForProtocol API ( #24112 )
...
* pre merge
* windows changes
* added tests
* clean up
* more cleanup
* lint error
* windows 7 support
* added windows 7 implementation
* code review
* lint and code review
* code review
* app.md merge conflict
* merge conflict app.md
accidently deleted code block
* 'lint'
* mis-moved getapplicationinfoforprotocol() into anonymous namespace
* fix test
* lint
* code review
2020-06-30 12:22:30 -07:00
Jeremy Rose
80e5007c47
chore: tsify browser-window ( #24326 )
...
* chore: tsify browser-window
* fix focus
* also tsify top-level-window
2020-06-29 10:22:55 +09:00
Samuel Attard
16a3f41fd3
chore: add deprecation warning for the default of contextIsolation ( #23507 )
...
* chore: add deprecation warning for the default of contextIsolation
* chore: add to breaking changes
* Update docs/breaking-changes.md
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org>
* chore: fix specs on windows
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org>
2020-06-25 10:55:17 -07:00
Milan Burda
9b4572de44
feat: implement systemPreferences.getMediaAccessStatus() on Windows ( #24275 )
2020-06-25 09:47:50 -07:00
Shelley Vohr
4290555a0d
feat: support suspend/resume on macOS ( #24254 )
2020-06-24 10:17:07 -07:00
Shelley Vohr
6369748a2a
feat: support suspend/resume on Windows ( #24251 )
2020-06-24 07:28:29 -07:00
Shelley Vohr
a54fcde3f4
docs: fix MenuItem click handler type ( #24147 )
2020-06-17 10:34:25 -07:00
Lukas Weber
cf284991d8
feat: Add did-become-active event on mac ( #23872 )
...
Co-authored-by: Lukas Weber <luweber@microsoft.com>
2020-06-16 10:03:41 -07:00
Benjamin Sova
a33c10c3ed
docs: fix explanation of darwin auto-quit prevention ( #24003 )
2020-06-11 11:08:27 +09:00
Jeremy Rose
d08cfce6cb
chore: use more inclusive language in a few places ( #24023 )
...
* chore: use more inclusive language in lint script
* whitelist -> allowed_extension_ids in plugin_utils
* some other places
2020-06-09 11:29:29 -07:00
Evgeny
aa32fbf1d6
docs: update setAboutPanelOptions iconPath description ( #23998 )
...
* Updated doc setAboutPanelOptions iconPath #23833
* Simplify docs
2020-06-08 17:46:25 -07:00
Paul Frazee
c6c022dc46
feat: add {stream} opt to custom protocol registry to configure media player ( #22955 )
2020-06-08 09:49:36 -07:00
Islam ElHakmi
261f385b5e
docs: mention build-tools in the build instructions ( #23909 )
2020-06-08 08:59:19 -07:00