Commit graph

3414 commits

Author SHA1 Message Date
Sam Saccone
e18f508e66
docs: fix incorrect formatting in browser docs. ()
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 
2020-07-10 13:57:29 -07:00
Shelley Vohr
6c4017ff45
fix: always callback error with invalid print settings () 2020-07-10 09:42:22 -07:00
Samuel Attard
eb6616e4e9
build: update to standard 14 () 2020-07-09 10:18:49 -07:00
Jeremy Rose
9bd0fc5348
refactor: ginify BrowserView () 2020-07-09 08:48:39 -07:00
Milan Burda
7fd96cd188
feat: add name to app.getAppMetrics() output () 2020-07-07 14:00:45 -04:00
Jeremy Rose
71a7e1b2e3
chore: tsify menu () 2020-07-06 13:24:54 -07:00
Milan Burda
82af855579
chore: add missing _Deprecated_ to 'renderer-process-crashed' on app () 2020-07-06 10:09:42 -07:00
Robo
d330c6f9fe
feat: expose sessionId in debugger module () 2020-07-02 13:04:20 -07:00
George Xu
ee61eb9aa4
feat: add app.getApplicationInfoForProtocol API ()
* 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 ()
* chore: tsify browser-window

* fix focus

* also tsify top-level-window
2020-06-29 10:22:55 +09:00
Milan Burda
9b4572de44
feat: implement systemPreferences.getMediaAccessStatus() on Windows () 2020-06-25 09:47:50 -07:00
Shelley Vohr
4290555a0d
feat: support suspend/resume on macOS () 2020-06-24 10:17:07 -07:00
Shelley Vohr
6369748a2a
feat: support suspend/resume on Windows () 2020-06-24 07:28:29 -07:00
Shelley Vohr
a54fcde3f4
docs: fix MenuItem click handler type () 2020-06-17 10:34:25 -07:00
Lukas Weber
cf284991d8
feat: Add did-become-active event on mac ()
Co-authored-by: Lukas Weber <luweber@microsoft.com>
2020-06-16 10:03:41 -07:00
Jeremy Rose
d08cfce6cb
chore: use more inclusive language in a few places ()
* 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 ()
* Updated doc setAboutPanelOptions iconPath 

* 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 () 2020-06-08 09:49:36 -07:00
Shelley Vohr
27d629abb9
fix: add missing isComposing KeyboardEvent property () 2020-06-05 15:18:20 -07:00
Robo
512e1541c6
fix: default to NTLM v2 in the network service for POSIX platforms ()
* fix: default to NTLM v2 in the network service

* chore: update patch details
2020-06-02 12:58:00 -07:00
Samuel Attard
c36981da8b
docs: default of allowRendererProcessReuse is true () 2020-06-02 11:09:20 -07:00
Samuel Attard
d3fa5ed1e8
docs: move protocol-ns to protocol.md ()
* docs: move protocol-ns to protocol.md

* chore: fix up tests and implement missing pieces required for tests
2020-06-02 09:46:18 -07:00
Robo
f67aff2704
feat: add V8CacheOptions webpreference ()
* feat: add V8CacheOptions webpreference

* address review comments
2020-05-31 20:09:23 -07:00
Shelley Vohr
f78504515b
fix: handle asynchronous URL loading in bw proxy () 2020-05-27 13:50:54 -07:00
Jeremy Judeaux
204f001c5d
feat: add desktopCapturer.getMediaSourceIdForWebContents() to get stream source id from web contents ()
* feat: add desktopCapturer.getMediaSourceIdForWebContents() to get stream source id from web contents

* Cleanup from  PR comments
2020-05-26 16:34:24 -04:00
Florian Keller
82924679fe
docs: Explain console-message parameters () 2020-05-21 15:39:51 -07:00
Shelley Vohr
78d74bf8b4
fix: trigger about panel for about role on on win () 2020-05-21 15:38:26 -07:00
Cheng Zhao
ce77e3327c
docs: errors in isolated world are not dispatched () 2020-05-21 11:56:22 -04:00
mtgto
7b55a70a36
feat: Add Secure Keyboard Entry APIs in macOS ()
* 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 

* fix: crash app.setSecureInputEnabled() in password textfield

* fix: export Secure keyboard Entry API to only macOS

* fix: lint error in browser_mac.mm for 

* 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 () 2020-05-20 18:52:48 -07:00
Milan Burda
df53816eea
feat: expose the desktopCapturer module in the main process () 2020-05-20 20:25:49 -04:00
Jeremy Apthorp
27d7eb3880
docs: remove note about experimental nature of sandbox () 2020-05-19 10:17:31 -07:00
Jeremy Apthorp
87a670f74d
feat: allow compressing crash uploads on linux ()
* 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 () 2020-05-17 17:05:05 +02:00
Milan Burda
4afc756094
feat: add contents.getBackgroundThrottling() + backgroundThrottling property () 2020-05-14 15:11:45 +02:00
Samuel Attard
54ff423dac
fix: leave behind the unmodified XDG_CURRENT_DESKTOP variable () 2020-05-12 20:13:53 -07:00
Felix Rieseberg
dcbed18f44
feat: app.getPath('recent') ()
* 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 () 2020-05-11 13:42:24 -07:00
Robin Dupret
ce4d95b16a
docs: badgeCount needs notifications permission on macOS ()
In order for `badgeCount` to properly update the dock icon on
macOS, the application needs to have the permissions to display
notifications.

Cross-refs .
2020-05-11 11:13:17 -07:00
Alexander Prinzhorn
ade8f285d0
Update mime-typed-buffer.md ()
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 () 2020-05-07 13:31:26 -07:00
Robo
a707a3eda3
feat: add enableWebSQL webpreference ()
* feat: add enableWebSQL webpreference

* chore: update indexedDB test
2020-05-06 12:52:59 -07:00
Samuel Attard
096c799e24
docs: rename duplicated interface () 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 ()
* 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 () 2020-04-27 12:05:58 -07:00
diegozhu
e5fe81ac15
docs: update description on second-instance event. ()
* 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 () 2020-04-20 20:25:18 -07:00
Shelley Vohr
656d371b1b
docs: fix devToolsWebContents union type () 2020-04-20 08:08:51 -07:00
Shelley Vohr
37e92b7650
docs: explain the swipe event on macOS () 2020-04-16 09:16:11 -07:00
Jeremy Apthorp
aeaccd00a2
feat: crashReporter: expose rateLimit and compress options () 2020-04-14 10:36:31 -07:00