Erick Zhao
7eceb43859
docs: rework sandbox guide ( #29103 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Biru Mohanathas <birunthan@mohanathas.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Biru Mohanathas <birunthan@mohanathas.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-05-13 11:08:37 +09:00
trop[bot]
23bfc37825
fix: Menu.setApplicationMenu can return a useless array 29088 ( #29128 )
...
Co-authored-by: tabishmahfuz1 <tabish.mahfuz1@gmail.com >
2021-05-12 17:35:28 -07:00
Milan Burda
5643831c14
fix: webFrame spell checker APIs crashing in sandboxed renderers ( #29053 ) ( #29086 )
2021-05-10 18:21:08 -04:00
Shatyuka
63344fed13
fix: increase corner radius for vibrancy view on big sur ( #29071 )
2021-05-10 13:21:40 -04:00
Electron Bot
8d55658bfa
Bump v12.0.7
v12.0.7
2021-05-07 02:22:40 -07:00
trop[bot]
47431a5d96
chore: cherry-pick 7abc7e45b2 from node ( #29047 )
...
Backports: https://github.com/nodejs/node/pull/38506
Co-authored-by: Fedor Indutny <fedor@indutny.com >
2021-05-07 00:20:32 -07:00
trop[bot]
6fd4bb27e3
fix: drag region BrowserView calculations on macOS ( #29019 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-05-06 20:29:36 +09:00
trop[bot]
546cb983be
fix: <webview> focus / blur events don't work with contextIsolation enabled ( #29024 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2021-05-06 20:25:33 +09:00
trop[bot]
c5426713af
docs: menu must be added on whenReady ( #29042 )
...
* Add that that menu must be added on whenReady
When an application menu is added before 'whenReady' all items seem to work except 'recent documents'
This causes the issue listed here: https://github.com/electron/electron/issues/17388
* Make example more complete
* Remove semicolons
* Update docs/tutorial/recent-documents.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Matthijs Groen <matthijs.groen@gmail.com >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-05-06 20:23:35 +09:00
trop[bot]
5512f1d11b
spec: attempt to fix flaky nativeTheme spec ( #29034 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-05-05 21:50:07 -07:00
Electron Bot
70e2fc58f9
Revert "Bump v12.0.7"
...
This reverts commit 37c30e1d91 .
2021-05-05 20:01:58 -07:00
Electron Bot
37c30e1d91
Bump v12.0.7
2021-05-05 19:52:40 -07:00
Electron Bot
67e3206bd3
Revert "Bump v12.0.7"
...
This reverts commit 20ac113527 .
2021-05-05 19:44:57 -07:00
Electron Bot
20ac113527
Bump v12.0.7
2021-05-05 19:33:33 -07:00
trop[bot]
405724cdd5
docs: link to BrowserView from webview page ( #29009 )
...
* docs: Link to `BrowserView` from `webview` page
* fix relative link
Co-authored-by: Hamish Macpherson <hamstu@gmail.com >
2021-05-05 10:57:34 -05:00
trop[bot]
9b98f906e0
refactor: use "as const" for constant mappings ( #28999 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2021-05-05 15:59:52 +09:00
trop[bot]
2f93d874ef
fix: close attached sheet on window close ( #28989 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-05-04 09:58:45 -04:00
trop[bot]
9ae1cbebe0
docs: update REPL guide ( #28985 )
2021-05-04 11:51:16 +02:00
trop[bot]
a4c590e288
fix: allow Node.js to manage microtasks queue ( #28972 )
...
* fix: allow Node.js to manage microtasks queue
When `uv_run()` resulted in invocation of JS functions the microtask
queue checkpoint in Node's CallbackScope was a no-op because the
expected microtask queue policy was `kExplicit` and Electron ran under
`kScoped` policy. This change switches policy to `kExplicit` right
before `uv_run()` and reverts it back to original value after `uv_run()`
completes to provide better compatibility with Node.
* add comment
Co-authored-by: Fedor Indutny <fedor@indutny.com >
2021-05-03 23:01:13 -07:00
trop[bot]
1b9220525f
docs: remove reference to global Electron install ( #28968 )
...
* docs: remove reference to global Electron install
This is a pattern that we actively want to discourage.
* docs: update as per review suggestion
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-05-03 11:39:24 -04:00
Electron Bot
00e846f6cc
Bump v12.0.6
v12.0.6
2021-04-30 11:57:27 -07:00
trop[bot]
d20fcb30ba
build: add release-env context to publish-macos ( #28941 )
...
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2021-04-29 15:24:04 -07:00
trop[bot]
b95db701f1
docs: uniformize module API doc format ( #28925 )
...
This PR ensures that all API modules are present in the README doc,
as there were a couple missing. It also formats all modules to contain
a level-1 heading and a blockquote description.
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-04-29 17:33:13 +02:00
trop[bot]
fb436d81a4
docs: remove api/locales page ( #28917 )
...
This page is just a table writing out the contents of an array in
the Chromium source code. We don't actively maintain it, and
it's only referenced in one API, so it makes sense to just
link directly to the code here.
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-04-28 15:39:14 -07:00
Pedro Pontes
74fe6e024c
chore: cherry-pick 7c299aede5 from v8 ( #28901 )
...
Co-authored-by: Electron Bot <electron@github.com >
2021-04-28 12:49:09 -07:00
trop[bot]
09267722f2
fix: emit window-all-closed after closing the window ( #28913 )
...
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-04-28 12:47:30 -07:00
Pedro Pontes
8c87d0d3bb
chore: cherry-pick 619083c7d8 from v8 ( #28904 )
2021-04-28 19:26:10 +02:00
trop[bot]
b2fe673d6c
docs: the tools folder does not exist anymore ( #28889 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-28 02:13:17 -07:00
trop[bot]
85103fdc60
test: disable shell.trashItem in renderer test on win-ia32 ( #28878 )
...
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-04-28 11:12:36 +02:00
Pedro Pontes
cd093d2359
chore: cherry-pick c768895b3f, 58393127e7 and c2f6803bdd from chromium ( #28821 )
...
* chore: cherry-pick c768895b3f, 58393127e7 and c2f6803bdd from chromium
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2021-04-28 02:11:44 -07:00
Pedro Pontes
57a5a31139
chore: cherry-pick ed5f62c36d from angle. ( #28872 )
2021-04-28 02:11:12 -07:00
trop[bot]
2aef36998a
build: actually use SSL when downloading things via python ( #28892 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-28 02:06:57 -07:00
Shelley Vohr
e360f357b9
fix: recalibrate simpleFullscreen when display metrics change ( #28869 )
2021-04-27 20:12:08 -07:00
Pedro Pontes
9cdb4a37fa
chore: cherry-pick aa2154a9c1 from v8 ( #28861 )
2021-04-27 10:17:35 -04:00
Pedro Pontes
089ccbff04
chore: cherry-pick 66b9ad64f4a4 from chromium ( #28815 )
...
* chore: cherry-pick 66b9ad64f4a4 from chromium
* update patches
Co-authored-by: Electron Bot <electron@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-04-27 16:47:34 +09:00
Pedro Pontes
3c841e7ded
chore: cherry-pick 7dd3b1c86795 from chromium ( #28818 )
...
* chore: cherry-pick 7dd3b1c86795 from chromium
* update patches
Co-authored-by: Electron Bot <electron@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-04-27 09:49:19 +09:00
trop[bot]
ba255cd25b
build: fix releases that failed halfway through npm publish actions ( #28853 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-26 20:36:48 -04:00
Pedro Pontes
33036aa044
chore: cherry-pick 1536a564d959 from chromium ( #28812 )
...
* chore: cherry-pick 1536a564d959 from chromium
* update patches
Co-authored-by: Electron Bot <electron@github.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-04-26 20:09:17 +09:00
trop[bot]
37d42ec6a9
fix: only set backgroundColor in default-app for default index.html ( #28841 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2021-04-26 11:48:58 +02:00
Shelley Vohr
8995a6b64a
fix: handle async nature of [NSWindow -toggleFullScreen] ( #28772 )
2021-04-26 09:38:09 +02:00
Pedro Pontes
2ebd4ea9b5
chore: cherry-pick e4abe032f3ad from chromium ( #28806 )
...
* chore: cherry-pick e4abe032f3ad from chromium
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2021-04-26 16:33:19 +09:00
trop[bot]
70d3856829
fix: shell.trashItem crash when called in renderer ( #28787 )
...
* fix: shell.trashItem crash when called in renderer
* Update api-shell-spec.ts
* Update spec-main/api-shell-spec.ts
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-04-26 16:23:06 +09:00
Pedro Pontes
6ad59a30e6
chore: cherry-pick c87b3c1157 from v8 ( #28809 )
2021-04-26 09:16:46 +02:00
trop[bot]
909bfde816
docs: fix unintentional emoji in win.getMediaSourceId description ( #28783 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-04-22 13:33:02 -07:00
trop[bot]
9702a90291
fix: ensure widget size is set correctly on linux on small screens ( #28755 )
...
When creating a widget on linux the bounds are restricted to the screen
size, when calling SetSize / SetBounds they are not. This fixes this
initialization issue by calling SetBounds after widget creation.
Noticed this issue while running linux tests on xvfb with a screen size
smaller than the default electron window size (resulted in a failed
test).
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-21 11:53:48 -04:00
Electron Bot
84fe1d7c7b
chore: cherry-pick 512cd5e179f4 from v8 ( #28752 )
...
* chore: cherry-pick 512cd5e179f4 from v8
* update patches
2021-04-21 11:00:08 -04:00
trop[bot]
393b3ecbdb
fix: end attached sheet when calling window.hide() ( #28695 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-04-21 12:03:11 +02:00
Electron Bot
258f245e74
Bump v12.0.5
v12.0.5
2021-04-20 16:32:33 -07:00
trop[bot]
d0fdf5a374
build: fix docs only change script to pull all files not just 30 ( #28742 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-19 18:28:45 -07:00
trop[bot]
3d82985602
docs(build-instructions): clarify that these are for building Electron itself ( #28727 )
...
Co-authored-by: Mark Lee <electronjs@lazymalevolence.com >
2021-04-19 20:11:13 -04:00