Shelley Vohr
ccaea19e32
docs: rename launch-failure -> launch-failed to match C++ code ( #25929 )
2020-10-14 07:40:03 -07:00
trop[bot]
d4239bb42e
docs: command line flags for GPU controls ( #25685 )
...
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-09-29 13:54:20 -04:00
Shelley Vohr
6fe6dffe93
fix: honor pageRanges when printing ( #25597 )
2020-09-24 11:53:09 -04:00
trop[bot]
113c65f32f
docs: remove unused StreamProtocolResponse / StringProtocolResponse ( #25582 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2020-09-23 12:19:04 -07:00
Eryk Rakowski
f99afa4d58
feat(extensions): add support for some chrome.management APIs ( #25098 ) ( #25345 )
...
* 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-08 20:12:44 +09:00
Cheng Zhao
615dce3275
docs: fix supported platforms of powerMonitor ( #25212 )
2020-08-31 08:35:19 -07:00
Shelley Vohr
34a321f46b
feat: reinvigorate visibleOnFullscreen option ( #25125 )
...
* feat: reinvigorate visibleOnFullscreen option
* Update electron_api_top_level_window.cc
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2020-08-26 23:49:46 -07:00
trop[bot]
deb78453c0
feat: make window visual effect state customizable ( #25106 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-08-26 16:19:12 -07:00
George Xu
d73b67f386
feat: add nativeImage.createThumbnailFromPath API ( #25072 )
...
* cherry-picking
* add documentation
* convert createThumbnailFromPath to async function
* windows impl protoype
* add tests
* clean up
* fix
* fix test
* update docs
* cleaning up code
* fix test
* 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
* cherry-pick
* lint
* remove getApplicationInfoForProtocol code
* chore: fix filenames conflict
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-08-26 16:18:28 -07:00
trop[bot]
0b834877fe
feat: expose currencyCode on Product struct in IAP module ( #25084 )
...
Co-authored-by: Shur Singh <ssingh@evernote.com >
2020-08-26 16:18:09 -07:00
trop[bot]
8a8fe090ae
docs: update default value for enableRemoteModule in BrowserWindow ( #25011 )
...
Co-authored-by: Vlad Hashimoto <hashimoto.stream@gmail.com >
2020-08-21 20:34:12 -07:00
Charles Kerr
8191a8418f
fix: revert 6ecf729 to fix Linux titlebar dark mode ( #25056 )
...
Fixes #24741
2020-08-21 09:05:51 -05:00
Jeremy Rose
08fc9dfc40
fix: increase max crash key value length ( #24853 )
2020-08-06 08:30:25 -07:00
trop[bot]
bc4884788c
feat: add worldSafe flag for executeJS results ( #24711 )
...
* 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
* Update web-frame.ts
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-08-05 10:24:51 -07:00
trop[bot]
d52412dea7
docs: fix incorrect formatting in browser docs. ( #24514 )
...
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
Co-authored-by: Sam Saccone <samccone@gmail.com >
2020-07-13 08:56:48 -07:00
Shelley Vohr
39edbd6af4
fix: always callback error with invalid print settings ( #24507 )
2020-07-13 08:55:30 -07:00
Electron Bot
d608a30015
chore: bump chromium to 85.0.4183.19 (10-x-y) ( #24299 )
...
* chore: bump chromium in DEPS to 85.0.4182.1
* chore: bump chromium in DEPS to 85.0.4183.2
* chore: bump chromium in DEPS to 85.0.4183.4
* chore: bump chromium in DEPS to 85.0.4183.5
* update patches
* chore: bump chromium in DEPS to 85.0.4183.6
* chore: bump chromium in DEPS to 85.0.4183.7
* update patches
* chore: bump chromium in DEPS to 85.0.4183.8
* remove chromeos-only TtsControllerDelegate
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2255314
(cherry picked from commit f975f84a3c )
* rename GetHighContrastColorScheme -> GetPlatformHighContrastColorScheme
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2250224
(cherry picked from commit 014b487258 )
* add max_xcode_version build var
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2264867
(cherry picked from commit 2c3b94f497 )
* add empty floc blocklist to BrowserProcessImpl
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2240873
(cherry picked from commit 3cdaae146d )
* Move zygote from //services/service_manager back to //content
https://chromium-review.googlesource.com/c/chromium/src/+/2252466
(cherry picked from commit e0d6dbcf1e )
* Reland "[base] Stop including check.h, notreached.h, etc. in logging.h"
https://chromium-review.googlesource.com/c/chromium/src/+/2264297
(cherry picked from commit 1407040133 )
* Update mas private api patch
* Reland "Reland "New toolchain for Windows 10 19041 SDK""
https://chromium-review.googlesource.com/c/chromium/src/+/2255527
(cherry picked from commit 8101d956f5 )
* [XProto] Remove usage of Shape extension
https://chromium-review.googlesource.com/c/chromium/src/+/2262113
(cherry picked from commit 72b6f11958 )
* chore: bump chromium in DEPS to 85.0.4183.9
* chore: bump chromium in DEPS to 85.0.4183.10
* chore: bump chromium in DEPS to 85.0.4183.11
* chore: bump chromium in DEPS to 85.0.4183.12
* chore: bump chromium in DEPS to 85.0.4183.13
* update patches
* fixup! add empty floc blocklist to BrowserProcessImpl
(cherry picked from commit 07b0b65c1d )
* fixup! Reland "[base] Stop including check.h, notreached.h, etc. in logging.h"
(cherry picked from commit f91c1ab162 )
* Check for GDI exhaustion if window creation fails
https://chromium-review.googlesource.com/c/chromium/src/+/2244124
(cherry picked from commit 3d45d7b78c )
* chore: bump chromium in DEPS to 85.0.4183.14
* Fixup lint issue
* update patches
* fix: include missing header file
* chore: bump chromium in DEPS to 85.0.4183.19
* update patches
* refactor: match upstream print preview handling (#24452 )
(cherry picked from commit 004e29ad33 )
* use PrintHostMsg_DidPreviewPage_Params
https://chromium-review.googlesource.com/c/chromium/src/+/2257124
Co-authored-by: Andy Locascio <andy@slack-corp.com >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-07-09 10:04:19 -04:00
trop[bot]
73e13ab6d6
chore: add missing _Deprecated_ to 'renderer-process-crashed' on app ( #24432 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2020-07-06 16:08:57 -04:00
trop[bot]
c32c69604a
feat: expose sessionId in debugger module ( #24397 )
...
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-07-06 12:38:01 -07:00
trop[bot]
39bc7c82a6
feat: implement systemPreferences.getMediaAccessStatus() on Windows ( #24311 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2020-07-01 16:51:10 -07:00
trop[bot]
d580cc1578
feat: support suspend/resume on Windows ( #24281 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-06-29 09:07:16 -07:00
trop[bot]
9f8f82af00
docs: fix MenuItem click handler type ( #24175 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-06-17 11:30:11 -07:00
trop[bot]
5bf938f899
fix: add missing isComposing KeyboardEvent property ( #23995 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-06-08 10:51:12 -05:00
trop[bot]
f3dd997dbd
feat: add V8CacheOptions webpreference ( #23867 )
...
* feat: add V8CacheOptions webpreference
* address review comments
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-06-04 17:15:44 -04:00
trop[bot]
3602216e6c
fix: default to NTLM v2 in the network service for POSIX platforms ( #23916 )
...
* fix: default to NTLM v2 in the network service
* chore: update patch details
* update patches
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-06-02 20:58:38 -07:00
trop[bot]
a8fc41d8b3
docs: default of allowRendererProcessReuse is true ( #23912 )
...
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2020-06-02 12:02:53 -07:00
trop[bot]
9ea42da40e
docs: move protocol-ns to protocol.md ( #23911 )
...
* docs: move protocol-ns to protocol.md
* chore: fix up tests and implement missing pieces required for tests
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-06-02 10:55:50 -07:00
trop[bot]
eb93acc463
fix: handle asynchronous URL loading in bw proxy ( #23804 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-05-28 09:41:54 -07:00
trop[bot]
1fb11e1e76
fix: trigger about panel for about role on on win ( #23717 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-05-22 00:55:25 -07:00
Cheng Zhao
ce77e3327c
docs: errors in isolated world are not dispatched ( #23653 )
2020-05-21 11:56:22 -04:00
mtgto
7b55a70a36
feat: Add Secure Keyboard Entry APIs in macOS ( #20678 )
...
* feat: Add Secure Keyboard Entry APIs in macOS
Add methods:
- app.isSecureInputEnabled()
- app.setSecureInputEnabled(enabled)
These enable to prevent other process listens keyboard input events.
* fix: lint error in app.md for #20678
* fix: crash app.setSecureInputEnabled() in password textfield
* fix: export Secure keyboard Entry API to only macOS
* fix: lint error in browser_mac.mm for #20678
* test: add test for app.setSecureKeyboardEntryEnabled in macOS
2020-05-21 11:53:44 -04:00
Shelley Vohr
21a6062a31
docs: document optional scaleFactor param to nativeImage fns ( #23671 )
2020-05-20 18:52:48 -07:00
Milan Burda
df53816eea
feat: expose the desktopCapturer module in the main process ( #23548 )
2020-05-20 20:25:49 -04:00
Jeremy Apthorp
27d7eb3880
docs: remove note about experimental nature of sandbox ( #23651 )
2020-05-19 10:17:31 -07:00
Jeremy Apthorp
87a670f74d
feat: allow compressing crash uploads on linux ( #23597 )
...
* chore: align crash patch with upstream
* feat: allow compressing crash uploads on linux
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-05-18 11:09:50 -04:00
Milan Burda
52b50e6b33
feat: add app render-process-gone event ( #23560 )
2020-05-17 17:05:05 +02:00
Milan Burda
4afc756094
feat: add contents.getBackgroundThrottling() + backgroundThrottling property ( #21036 )
2020-05-14 15:11:45 +02:00
Samuel Attard
54ff423dac
fix: leave behind the unmodified XDG_CURRENT_DESKTOP variable ( #23512 )
2020-05-12 20:13:53 -07:00
Felix Rieseberg
dcbed18f44
feat: app.getPath('recent') ( #23381 )
...
* feat: getPath("recent")
* test: Add a spec and docs
* fix: Integrate feedback
* fix: Handle path change
* chore: Cut SetRecentPath
2020-05-13 11:27:56 +09:00
Samuel Attard
34da3bc500
feat: add new render-process-gone event ( #23096 )
2020-05-11 13:42:24 -07:00
Robin Dupret
ce4d95b16a
docs: badgeCount needs notifications permission on macOS ( #23488 )
...
In order for `badgeCount` to properly update the dock icon on
macOS, the application needs to have the permissions to display
notifications.
Cross-refs #22715 .
2020-05-11 11:13:17 -07:00
Alexander Prinzhorn
ade8f285d0
Update mime-typed-buffer.md ( #23384 )
...
I think this should be aligned with `StringProtocolResponse`. At least the `charset` was missing from the docs.
https://www.electronjs.org/docs/api/protocol#protocolregisterbufferprotocolscheme-handler-completion
> should be called with either a Buffer object or an object that has the data, mimeType, and charset properties.
2020-05-11 19:00:38 +09:00
Jeremy Apthorp
06bf0d08dc
fix: crashReporter incompatible with sandbox on Linux ( #23265 )
2020-05-07 13:31:26 -07:00
Robo
a707a3eda3
feat: add enableWebSQL webpreference ( #23311 )
...
* feat: add enableWebSQL webpreference
* chore: update indexedDB test
2020-05-06 12:52:59 -07:00
Samuel Attard
096c799e24
docs: rename duplicated interface ( #23362 )
2020-04-30 10:20:34 -07:00
Sean Lee
3e5486323a
docs: event.newGuest for new-window in WebContents and webContents in BrowsweWindow's constructor ( #21698 )
...
* docs: `newGuest` in `WebContents` and `webContents` in `BrowsweWindow`
According to the example codes in the documentation of `new-window`
event in `WebContents`, `webContents` in `BrowsweWindow` constructor
options and `newGuest` in `event` argument of `new-window` handler are
both existing but documented. This patch is for adding the related
documentations. Also, it provides typescript-definitations for these
two properties.
* Remove the documnent of `webContents` in BrowserWindow constructor option.
2020-04-30 09:25:13 -07:00
szTheory
c68589f212
docs: menu-item.md remove duplicate options ( #23286 )
2020-04-27 12:05:58 -07:00
diegozhu
e5fe81ac15
docs: update description on second-instance event. ( #23119 )
...
* Update app.md
more descriptions on second-instance event.
* Update docs/api/app.md
Co-Authored-By: loc <andy@slack-corp.com >
Co-authored-by: Cheng Zhao <zcbenz@electronjs.org >
Co-authored-by: loc <andy@slack-corp.com >
2020-04-27 15:21:28 +09:00
Shelley Vohr
f3dc3997b1
feat: support fullScreen BrowserWindow property ( #23145 )
2020-04-20 20:25:18 -07:00
Shelley Vohr
656d371b1b
docs: fix devToolsWebContents union type ( #23143 )
2020-04-20 08:08:51 -07:00