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
trop[bot]
93342d9302
build: read node files as binary files ( #28736 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-04-19 19:58:40 -04:00
trop[bot]
50094b3a25
chore: clean up some spec things ( #28730 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-19 12:54:54 -07:00
trop[bot]
13284a3a57
fix: do not handle write errors after request is aborted ( #28721 )
...
This fixes a flake on linux CI which started recently where the "write"
promise is being rejected after the request has been aborted /
cancelled. In this case we should drop the error to the floor but
instead we pass it down the stack where it eventually emits a now
unhandled error event.
Example failure: https://app.circleci.com/pipelines/github/electron/electron/38072/workflows/c1faf19b-aa41-4f99-a564-165729222859/jobs/838813
Verified fix by running the test that caused it 10000 times before fix
and 10000 times after. ~50 failures before, 0 after.
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-19 11:26:16 -07:00
Keeley Hammond
5da6ee1fc1
fix: invoke the window open handler for _blank links ( #28498 ) ( #28664 )
...
* fix: invoke the window open handler for _blank links
* add test
2021-04-15 14:22:14 -07:00
Electron Bot
4de3e451ac
chore: bump chromium to 89.0.4389.128 (12-x-y) ( #28659 )
...
* chore: bump chromium in DEPS to 89.0.4389.128
* update patches
2021-04-14 13:27:11 -04:00
trop[bot]
d27046272e
build: do not require vsts token for releases ( #28650 )
...
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2021-04-14 11:44:27 +02:00
Electron Bot
9ce7c51247
Bump v12.0.4
v12.0.4
2021-04-13 13:40:56 -07:00
Electron Bot
840ac755b8
chore: cherry-pick 02f84c745fc0 from v8 ( #28638 )
...
* chore: cherry-pick 02f84c745fc0 from v8
* update patches
2021-04-13 13:29:19 -07:00
Electron Bot
8115520d2a
Bump v12.0.3
v12.0.3
2021-04-13 07:40:27 -07:00
trop[bot]
92e3b1305c
build: better error handling for release builds ( #28628 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-04-13 10:27:57 -04:00
Michaela Laurencin
93dab148c8
fix: enable system maximization for frameless windows except if transparent ( #28207 ) ( #28622 )
...
* fix: move widget maximization check
* fix linting error
* change workaround to only effect transparent windows
* disable menu maximize and restore for transparent windows
* disable double clicking title bar max/unmax for transparent windows
* add docs change and address review
2021-04-13 09:49:42 -04:00
trop[bot]
e100c22a26
fix: crash on invalid select-serial-port callback ( #28618 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-04-12 11:58:25 -04:00
Jeremy Rose
4efeaa090a
chore: cherry-pick 162efe98330e from chromium ( #28601 )
...
* chore: cherry-pick 162efe98330e from chromium
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2021-04-12 01:39:33 -07:00
trop[bot]
93c6c8c103
docs: define the name of the preload script ( #28610 )
...
Co-authored-by: KSneijders <32707500+KSneijders@users.noreply.github.com >
2021-04-12 00:13:53 -07:00
trop[bot]
df9a01bb53
docs: systemPreferences.subscribeWorkspaceNotification return type ( #28614 )
...
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
2021-04-12 00:13:07 -07:00
Robo
5c10eb4c26
fix: load source maps from custom protocols and asar bundles ( #28616 )
2021-04-11 23:57:09 -07:00
trop[bot]
f836ef0f47
chore: don't minimize js in development ( #28585 )
...
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-04-09 16:09:41 +09:00
Cheng Zhao
274f6f75b5
fix: allow accessing file:// when web security is disabled ( #28560 )
...
* fix: allow accessing file:// when web security is disabled
* fixup lint after merge
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-04-09 09:46:36 +09:00
Cheng Zhao
2f42c2c76e
fix: support wasm-eval csp behind WebAssemblyCSP flag ( #28575 )
...
* feat: support wasm-eval csp behind WebAssemblyCSP flag
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2021-04-08 04:31:44 -07:00