Valentin Hăloiu
efd003d277
refactor: replace USE_X11 with OS_LINUX for sharing code with Ozone ( #25522 )
2020-09-21 09:11:59 +09:00
Shelley Vohr
137fc65e2f
fix: app.importCertificate crash on Linux ( #25523 )
2020-09-18 20:10:41 -06:00
Jeremy Rose
ecb7f877a3
chore: add @nornagon as codeowner of remote ( #25500 )
2020-09-18 15:25:07 -07:00
Electron Bot
735d8b84f0
Bump v12.0.0-nightly.20200918
2020-09-18 07:31:48 -07:00
Shelley Vohr
a65f7f7d42
fix: close window when leave fs crash ( #25468 )
2020-09-17 17:40:07 -06: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
Electron Bot
4d1dab849f
Bump v12.0.0-nightly.20200917
2020-09-17 07:32:08 -07:00
Cheng Zhao
0b055b2fb8
test: retry the "v8 samples" test for a few times ( #25477 )
2020-09-17 10:04:53 +09:00
mlaurencin
53aaeb7a16
fix: prevent destroyed view references from causing crashes ( #25411 )
...
Closes #21666 .
This PR is fixing crashes caused by referencing and attempting to modify previously destroyed views.
Before, when a view was destroyed and then the contents were referenced for modification, the system would crash as undefined memory was accessed. This fix explicitly makes the pointer to the destroyed view's contents null, so that this will not happen.
2020-09-16 18:10:49 -06:00
Milan Burda
e0a25cb1e3
build: fix build with enable_pdf_viewer=false ( #25494 )
2020-09-17 01:15:01 +03:00
Cheng Zhao
993eab691f
fix: disable CORS when webSecurity is disabled ( #25463 )
2020-09-16 14:55:53 -07:00
Jeremy Rose
a200b15600
docs: update menu example to avoid remote ( #25291 )
2020-09-16 14:32:32 -07:00
Jeremy Rose
ba55aaa53b
fix: check for destroyed webcontents in converter ( #25431 )
2020-09-16 12:25:49 -07:00
Electron Bot
1ba46a91b6
Bump v12.0.0-nightly.20200916
2020-09-16 07:31:16 -07:00
Shelley Vohr
fa7a29e84b
chore: log hint on renderer crash ( #25317 )
2020-09-15 13:01:50 -06:00
Cheng Zhao
e5933c6910
fix: ensure ready-to-show event is fired ( #25448 )
...
* fix: ensure ready-to-show event is fired
* test: acutally draw something when capturePage
2020-09-15 12:48:39 -06:00
Cheng Zhao
2091fd7dd9
test: make a few tests hide their windows ( #25466 )
2020-09-15 12:48:12 -06:00
Samuel Maddock
45170fdbd7
fix(extensions): define platform info to prevent renderer crash ( #25357 )
2020-09-15 10:29:32 -06:00
Electron Bot
fbf32f697f
Bump v12.0.0-nightly.20200915
2020-09-15 07:31:30 -07:00
Jeremy Rose
459a95aaec
fix: call node::Stop on exit ( #25430 )
2020-09-14 14:08:46 -07:00
Samuel Attard
b1d8057ec9
chore: update dependencies ( #25456 )
2020-09-14 14:00:15 -07:00
Jeremy Rose
87d67a9365
refactor: use owner window for BrowserWindow.fromWebContents ( #25408 )
2020-09-14 13:49:57 -07: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
Charles Kerr
7f885bd266
chore: remove unused code from our js scripts ( #25419 )
2020-09-14 10:22:13 -07:00
Electron Bot
bc9816b206
Bump v12.0.0-nightly.20200914
2020-09-14 07:33:06 -07:00
overkill
633e5d8503
chore: change == None
to is None
( #25202 )
...
According to LGTM, this change will improve code efficiency.
https://lgtm.com/rules/7900090/
2020-09-13 20:43:16 -06:00
Charles Kerr
9b08fbefe5
chore: remove unused imports in our python scripts ( #25406 )
...
Seen at https://lgtm.com/projects/g/electron/electron/?mode=list&id=py%2Funused-import
and confirmed with manual inspection.
2020-09-14 10:25:49 +09:00
Charles Kerr
70e3aa0182
refactor: add a wrapper for wrangling uv handles. ( #25332 )
...
* refactor: add a wrapper for wrangling uv handles.
Part 1 of a fix for #25248 , #22069 .
Place the uv_asyncs owned by NodeBindings, ElectronBindings inside a new
UvHandle wrapper class which manages uv_handles' need for their closed()
callback to be invoked before the handles' memory can be freed.
* chore: make lint happy
* refactor: use DCHECK_EQ() instead of DCHECK()
* refactor: fix oops
2020-09-14 09:53:50 +09:00
Chris Davis
a3389d017f
fix: Ensure electron delay loads the same modules as chromium ( #25428 )
...
* Ensure electron delay loads the appropriate modules as chromium on windows
This change adds the same module delay load list that chromium uses for electron. Some modules were already getting delay loaded from other build files in chromium but not the main list via //build/config/win:delayloads. We do not include the list of delay loads in delayloads_not_for_child_dll as those have issues being loaded in sandboxes processes. This will reduce the overall reference set impact of the electron processes.
* fix: Ensure win modules are properly delayloaded
* chore: fix linting
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
2020-09-11 23:01:41 -07:00
Jeremy Rose
ce86591459
chore: add wg-security as required reviewer for rpc-server changes ( #25415 )
2020-09-11 11:34:31 -07:00
Electron Bot
7d56ca7360
Bump v12.0.0-nightly.20200911
2020-09-11 07:31:17 -07:00
Jeremy Rose
cd455c8b40
test: reduce flakiness in pdf test ( #25407 )
2020-09-10 16:47:36 -07:00
John Kleinschmidt
acf5d487d2
fix: crash on nativeImage on Windows on ARM ( #25396 )
...
* fix: nativeImage on WOA
* Remove old ldflag
* maybe this will work ¯\_(ツ)_/¯
2020-09-10 14:42:41 -04:00
Jeremy Rose
dd781c4f63
chore: deprecate remote ( #25293 )
2020-09-10 09:17:17 -07:00
Electron Bot
98683190b4
Bump v12.0.0-nightly.20200910
2020-09-10 07:32:25 -07:00
Samuel Maddock
1815b95e74
refactor(extensions): break load warnings into newlines ( #25358 )
2020-09-10 11:39:45 +09:00
Valentin Hăloiu
a829ae56b2
build: use python 2 shebang for git scripts ( #25335 )
2020-09-10 10:05:19 +09:00
Electron Bot
e6fbbf4325
Bump v12.0.0-nightly.20200909
2020-09-09 07:31:32 -07:00
Shelley Vohr
f6df79b927
fix: bind fake mojo service for badging ( #25294 )
...
* fix: bind fake mojo service for badging
* Add a test
2020-09-08 11:13:56 -04:00
Samuel Maddock
5a8046c994
fix(extensions): devtools now open for background pages ( #22217 )
...
refactor(extensions): remove unused InitWithBrowserContext method
fix(extensions): release background page WebContents to avoid crash
The background page WebContents instance is managed by the ExtensionHost.
fix(extensions): open background page devtools detached by default
test(extensions): add background page devtools test
chore: test fix for null web_contents()
fix: close background page devtools in test after opening
2020-09-08 20:55:40 +09: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
2c5c51afb9
fix: update node certdata to NSS 3.56 ( #25313 )
2020-09-08 20:28:04 +09:00
Samuel Maddock
860e14c0da
chore(extensions): remove old renderer code ( #25347 )
2020-09-08 20:11:38 +09:00
Electron Bot
31322400e7
Bump v12.0.0-nightly.20200907
2020-09-07 07:31:59 -07:00
Samuel Attard
4ad9bcb8b5
fix: handle electron script errors better ( #25328 )
2020-09-04 14:53:49 -07:00
Electron Bot
29c1248e96
Bump v12.0.0-nightly.20200904
2020-09-04 07:31:11 -07:00
Samuel Attard
a6b9f9d8e5
fix: only focus a webContents if the window was not initially hidden ( #25292 )
2020-09-04 15:57:29 +09:00