Keeley Hammond
92e4123de7
chore: cherry-pick 3e037e195e50 from v8 ( #42257 )
...
* chore: cherry-pick 3e037e195e50 from v8
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-05-23 11:03:24 +02:00
Pedro Pontes
db688056d8
chore: cherry-pick 3 changes from 0-M125 ( #42221 )
...
* chore: [28-x-y] cherry-pick 3 changes from 0-M125
* 6503a987d966 from v8
* 2a434fd0af6b from DirectXShaderCompiler
* 03609e39be8c from chromium
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-05-21 14:52:44 -04:00
Pedro Pontes
cd25fbfd73
chore: cherry-pick 1 changes from 0-M124 ( #41985 )
...
* chore: [28-x-y] cherry-pick 1 changes from 0-M124
* 3f6bf073649a454317690914939766f62bc65ad7 from chromium
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-05-20 14:42:16 -04:00
appdevopts
65d35309db
fix: rename patches/devtools_frontend to patches/devtools-frontend ( #42212 )
...
* Correct patches/devtools_frontend to patches/devtools-frontend
Remove folder patches/devtools_frontend
* Update .patches
* Move patches to patches/devtools-frontend
From patches/devtools_frontend to patches/devtools-frontend
* Update config.json
rename devtools_frontend to devtools-frontend
* Update cherry-pick-19a4eebd05a7.patch
remove duplicated patch for ChildTargetManager.ts
* Delete patches/devtools-frontend/cherry-pick-19a4eebd05a7.patch
There are no test folder in devtools-frontend, so this patch can not be applied.
* Update .patches
cherry-pick-8a3bfd4b7403.patch
was not valid for this branch
* Update cherry-pick-8a3bfd4b7403.patch
2024-05-17 12:04:09 +02:00
Keeley Hammond
1e054f3ef9
chore: cherry-pick b3c01ac1e60a from v8 ( #42176 )
...
* chore: cherry-pick b3c01ac1e60a from v8
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-05-14 14:13:02 -07:00
Keeley Hammond
c89546bc92
chore: cherry-pick f320600cd1f4 from v8 ( #42124 )
...
* chore: cherry-pick f320600cd1f4 from v8
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-05-10 15:34:29 -07:00
Keeley Hammond
19d3d66f46
chore: cherry-pick 19a4eebd05a7 from devtools-frontend ( #42103 )
2024-05-09 11:01:12 -04:00
Pedro Pontes
196b6e66b8
chore: cherry-pick 1 changes from 3-M124 ( #42091 )
...
* chore: [28-x-y] cherry-pick 1 changes from 3-M124
* c67f290ef0f0 from angle
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-05-08 14:36:27 -07:00
Keeley Hammond
b5262e4700
chore: cherry-pick 013961609785 from chromium ( #42092 )
...
* chore: cherry-pick 013961609785 from chromium
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-05-08 14:32:11 -07:00
Samuel Attard
70cdc2e551
chore: cherry-pick b2cc7b7ac538 from chromium ( #42098 )
...
* chore: cherry-pick b2cc7b7ac538 from chromium
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-05-08 14:26:11 -07:00
Keeley Hammond
b5eba900b5
chore: cherry-pick 8a3bfd4b7403 from devtools-frontend ( #42093 )
2024-05-08 13:18:41 -07:00
trop[bot]
b3defc12dc
chore: cherry-pick 22871e619f from chromium ( #42071 )
...
* chore: cherry-pick 22871e619f from chromium
Co-authored-by: deepak1556 <hop2deep@gmail.com >
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
* chore: fixup .patches after trop
* chore: update patches
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2024-05-08 12:38:39 -04:00
Pedro Pontes
dc8a39ce37
chore: cherry-pick 2 changes from 2-M124 ( #42008 )
...
* chore: [28-x-y] cherry-pick 2 changes from 2-M124
* 98bcf9ef5cdd from chromium
* bd7aa9779873 from DirectXShaderCompiler
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-05-06 12:26:44 +02:00
Pedro Pontes
4e0650fe3b
chore: cherry-pick 2 changes from 1-M124 ( #41983 )
...
* chore: [28-x-y] cherry-pick 2 changes from 1-M124
* bc18aec94c82 from DirectXShaderCompiler
* ba3b4e239620 from angle
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-04-30 20:28:25 -04:00
trop[bot]
1768c3bc99
docs: Windows typo in Tutorial document ( #41951 )
...
Update tutorial-6-publishing-updating.md
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: South Drifted <shiy2008@gmail.com >
2024-04-24 12:45:28 -04:00
trop[bot]
ad92d24273
docs: correct the return value for canceled showSaveDialog ( #41944 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Kilian Valkhof <kilian@kilianvalkhof.com >
2024-04-23 15:14:11 -04:00
trop[bot]
8c3daf4e9b
fix: console.log() in AudioWorkletGlobalScope ( #41895 )
...
* fix: console.log() in AudioWorkletGlobalScope
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: update patches
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-04-18 17:19:51 -04:00
trop[bot]
260c036662
chore: remove unused hash function ( #41885 )
...
Unused since e1e73fa #24115
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2024-04-18 11:34:53 -04:00
Shelley Vohr
6115b5f3b0
test: add tests for Storage Access API ( #41864 )
...
test: add tests for Storage Access API (#41698 )
2024-04-16 06:35:16 -04:00
trop[bot]
3b78798c2d
fix: silent printing default dpi on Windows ( #41837 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-04-15 13:01:37 -04:00
Pedro Pontes
966a50628b
chore: cherry-pick 4 changes from 3-M123 and M122 ( #41855 )
...
* chore: [28-x-y] cherry-pick 3 changes from 3-M123
* a65e511a14b4 from DirectXShaderCompiler
* f6672dbbe223 from angle
* 1b1f34234346 from chromium
* chore: [28-x-y] cherry-pick 1 later change from M120
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-04-14 17:00:53 -07:00
trop[bot]
9ec710e99c
fix: WCO maximize button visibility when non-maximizable ( #41806 )
...
fix: WCO button visibility when non-maximizable
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-04-09 19:57:48 -04:00
Pedro Pontes
e9060c2793
chore: cherry-pick 1 change from Release-2-M123 ( #41776 )
2024-04-05 13:55:03 -04:00
Milan Burda
03bfd50875
feat: add support for configuring system network context proxies ( #41744 )
...
feat: add support for configuring system network context proxies (#41335 )
2024-04-03 13:09:44 -04:00
trop[bot]
484b75568f
fix: Storage.{get|set|clear}Cookies via CDP not working ( #41738 )
...
* fix: Storage.{get|set|clear}Cookies via CDP not working
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: simplify BrowserContext plumbing
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-04-02 11:31:02 +02:00
trop[bot]
2e95cf50bb
docs: add missing headers option to ClientRequest options ( #41731 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2024-04-01 12:06:09 -04:00
Pedro Pontes
c29526b721
chore: cherry-pick 8 changes from Release-1-M123 ( #41747 )
...
* chore: cherry-pick 8 changes from Release-1-M123
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-04-01 11:42:38 -04:00
trop[bot]
f4b7aa5401
fix: don't do self-destroy in LibnotifyNotification::Dismiss() ( #41709 )
...
Callers of Notification::Dismiss() assume that the notification
instance is not deleted after the call, but this was not the case
for LibnotifyNotification:
- Destroy() would get `this` deleted.
- notify_notification_close() in portal environment triggers
LibnotifyNotification::OnNotificationClosed(), and finally calls
Destroy()
This patch removes all Destroy() in Dismiss(), and adds a boolean
to tell whether notify_notification_close() is running, to avoid crash
under portal environment.
Fixes #40461 .
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: taoky <me@taoky.moe >
2024-03-28 20:50:04 -05:00
trop[bot]
76172fd27e
fix: normalize path before calling showItemInFolder and openPath ( #41670 )
...
* fix: normalize path before calling ShowItemInFolder
Co-authored-by: piotrpdev <piotrpdev@gmail.com >
* fix: normalize path before calling OpenPath
Co-authored-by: piotrpdev <piotrpdev@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: piotrpdev <piotrpdev@gmail.com >
2024-03-25 11:15:05 +01:00
John Kleinschmidt
c145388dd2
ci: use CircleCI hosted macOS arm64 runners for testing ( #41658 )
...
* ci: use CircleCI hosted macOS arm64 runners for testing
(cherry picked from commit 6ca2aa6b06 )
* ci: Use same version of xcode/macOS for both arm and x64 testing
2024-03-22 08:59:47 -04:00
trop[bot]
faa3dc7654
docs: nodejs trademark policy link broken ( #41651 )
...
* Fix broken Trademark Policy link
Co-authored-by: kghamilton89 <kghamilton@protonmail.com >
* add durable link
Per codebyter: https://github.com/electron/electron/pull/41558#discussion_r1522938560
Co-authored-by: Kenneth Gerald Hamilton <29099829+kghamilton89@users.noreply.github.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: kghamilton89 <kghamilton@protonmail.com >
Co-authored-by: Kenneth Gerald Hamilton <29099829+kghamilton89@users.noreply.github.com >
2024-03-21 13:30:04 -04:00
Pedro Pontes
3f0dd063cb
chore: cherry-pick 1 change from Release-0-M123 ( #41632 )
2024-03-21 09:42:58 -04:00
trop[bot]
c2184ad4ff
fix: serial-port-added should respect filters ( #41637 )
...
fix: serial-port-added should respect filters
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-03-21 09:39:13 -04:00
Pedro Pontes
31cd9d1f61
chore: cherry-pick 1 change from Release-3-M122 ( #41607 )
2024-03-18 10:49:04 +01:00
trop[bot]
ca6bd89a69
fix: account for potentially swapped FrameTreeNodeId in WebFrameMain ( #41592 )
...
fix: account for potentially swapped `FrameTreeNodeId` in `WebFrameMain` (#41538 )
fix: account for potentially swapped FrameTreeNodeId in WebFrameMain
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-03-14 10:59:06 -04:00
Pedro Pontes
82b648e491
chore: cherry-pick 1 change from Release-2-M122 ( #41520 )
2024-03-07 13:09:49 -05:00
trop[bot]
085363db07
fix: chrome://process-internals failing to load ( #41541 )
...
fix: chrome://process-internals failing to load
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-03-07 13:09:09 -05:00
trop[bot]
565988c96f
fix: user-did-{resign|become}-active events on macOS ( #41526 )
...
fix: user-did-{resign|become}-active events on macOS
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-03-06 11:02:54 -05:00
trop[bot]
2977fc4025
chore: add missing gin::Wrappable GetTypeName overrides ( #41529 )
...
chore: add missing gin::Wrappable GetTypeName overrides
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-03-06 15:57:56 +01:00
Cheng Zhao
1ded991603
chore: update src_preload_function_for_environment.patch ( #41502 )
...
* chore: update src_preload_function_for_environment.patch
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-03-04 10:25:06 -05:00
Pedro Pontes
dc19cd2c9d
chore: cherry-pick 1 change from Release-1-M122 ( #41487 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2024-03-04 16:46:12 +09:00
trop[bot]
945f1c7262
fix: webContents.print options should be optional ( #41478 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-03-01 17:11:10 -05:00
Robo
70255b1db1
fix: saving traces from devtools performance panel ( #41492 )
2024-03-01 16:51:29 -05:00
Shelley Vohr
c96d7db592
fix: node::loader::ImportModuleDynamically crash ( #41491 )
...
* fix: node::loader::ImportModuleDynamically crash
* chore: add regression test
2024-03-01 15:51:51 -05:00
trop[bot]
6780e671f9
chore: fix import from patches.py in script/lib/git.py ( #41434 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2024-02-29 09:54:55 -06:00
trop[bot]
e5799c1dc2
ci: add logging to uploading to GitHub releases ( #41456 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2024-02-29 10:00:48 +01:00
Pedro Pontes
6544cec686
chore: cherry-pick 1 change from Release-0-M122 ( #41405 )
2024-02-22 14:31:22 +01:00
Pedro Pontes
8618d5d220
chore: cherry-pick 1 change from Release-3-M121 ( #41374 )
2024-02-21 09:43:43 +01:00
trop[bot]
15d87d48b2
fix: Ignore -webkit-app-region: drag; when window is in full screen mode. ( #41330 )
...
fix: Ignore `-webkit-app-region: drag;` when window is in full screen mode. (#41307 )
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Mikhail Leliakin <leliakin@canva.com >
2024-02-16 14:59:08 -05:00
electron-roller[bot]
59436b032b
chore: bump chromium to 120.0.6099.291 (28-x-y) ( #41334 )
...
chore: bump chromium in DEPS to 120.0.6099.291
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-02-16 14:58:57 -05:00
Charles Kerr
e93a028c91
chore: migrate base::StringPiece to std::string_view ( #40915 ) ( #41345 )
...
chore: migrate base::StringPiece to std::string_view (#40915 ) (#40973 )
* chore: migrate from base::StringPiece to std::string_view in keyboard_util.cc
* chore: migrate from base::StringPiece to std::string_view in error_thrower.cc
* chore: migrate from base::StringPiece to std::string_view in electron_api_web_contents.cc
* chore: migrate from base::StringPiece to std::string_view in gin_helper/dictionary.h
* chore: migrate from base::StringPiece to std::string_view in electron_api_url_loader.cc
* chore: phase out internal use of base:::StringPiece
`base::StringPiece` is being phased out upstream. Its code has been
removed upstream and it's just a typedef for `std::string_view`.
They haven't removed the typedef yet, so this PR tries to get ahead
of future breakage by migrating "internal" use (i.e. leaving alone the
places where the `base::StringPiece` name is coming from an upstream
method that we override).
Xref: https://bugs.chromium.org/p/chromium/issues/detail?id=691162
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4294483
Xref: https://docs.google.com/document/d/1d4RnD1uAE2t4iANR0nXy82ASIPGsPuw2mpO6v6T7JKs
2024-02-15 11:01:16 -05:00
John Kleinschmidt
80de0b6acd
build: peg to a specific depot_tools so that we can use goma on older branches ( #41336 )
...
chore: peg to a specific depot_tools so that we can use goma on older branches
2024-02-14 13:35:26 -05:00
Charles Kerr
28485340b0
build: allow custom refs for patch import & export ( #41317 )
...
feat: allow custom refs for patch import & export (#41306 )
* feat: allow custom refs for patch import & export
feat: add Patch-Dir metainfo, a sibling to Patch-Filename
* chore: copyediting
* refactor: minor copyediting
2024-02-12 23:11:28 +01:00
trop[bot]
de85def21b
fix: destroy NodeService message pipe last ( #41302 )
...
refactor: destroy NodeService message pipe last
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-02-11 22:25:45 +01:00
trop[bot]
c9ff1d38e4
fix: crash on macOS non-programmatic close ( #41298 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-02-11 21:14:55 +01:00
Charles Kerr
3649df1043
build: export matching patches ( #41292 )
2024-02-09 17:29:28 -06:00
electron-roller[bot]
89817d6a02
chore: bump chromium to 120.0.6099.283 (28-x-y) ( #41262 )
...
chore: bump chromium in DEPS to 120.0.6099.283
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-02-09 22:44:49 +01:00
trop[bot]
8177a16f9a
docs: note EXIF data unsupported in nativeImage ( #41283 )
...
* docs: note EXIF data unsupported in nativeImage
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* Update docs/api/native-image.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-02-08 11:57:44 -06:00
Shelley Vohr
abd7850ee4
fix: validate printToPDF margins against pageSize ( #41267 )
2024-02-08 11:15:42 +09:00
Shelley Vohr
b0c3534ecb
fix: webview zoom level persistence on navigation ( #41268 )
2024-02-08 11:15:19 +09:00
trop[bot]
16adf2a263
build: add flag for setting vendor version ( #41258 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2024-02-07 12:31:03 +01:00
trop[bot]
b96b40223a
refactor: replace use of deprecated base::JSONWriter::WriteJson() ( #41224 )
...
* refactor: use base::WriteJson() in ListValueToNSArray()
refactor: use base::WriteJson() in DictionaryValueToNSDictionary()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: use base::WriteJson() in Debugger::SendCommand()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: use base::WriteJson() in ScriptingExecuteScriptFunction::Run()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: use base::WriteJson() in HandleAccessibilityRequestCallback()
2024-02-06 14:36:47 -06:00
trop[bot]
a4f6d8a1f7
refactor: KeyWeakMap cleanup ( #41253 )
...
* refactor: make KeyWeakMap::KeyObject private
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* perf: avoid redundant map lookup
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: remove unused KeyWeakMap::Has()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: make KeyWeakMap dtor nonvirtual
no inheritance used, so no need for virtual dtor?
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: fix KeyWeakMap code comment
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: use if statement in KeyWeakMap::Get()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: use better variable names in KeyWeakMap::Values()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2024-02-06 12:43:37 -06:00
trop[bot]
2ed1041e66
refactor: remove deprecated BrowserContext::ResourceContext ( #41245 )
2024-02-06 10:15:14 -06:00
trop[bot]
d6221eaf2d
refactor: type-safe module imports / requires ( #41236 )
...
* refactor: type-safe module imports / requires
Co-authored-by: Milan Burda <milan.burda@gmail.com >
* chore: update patches
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-02-05 16:32:50 -05:00
Shelley Vohr
ace362c4c4
chore: cherry-pick 4 changes from Release-1-M121 ( #41178 )
...
* chore: [28-x-y] cherry-pick 4 changes from Release-1-M121
* d4a197e4913f from chromium
* 8755f76bec32 from chromium
* e321f354a613 from chromium
* 4a98f9e304be from chromium
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-02-02 12:33:21 +01:00
electron-roller[bot]
f163b0ad64
chore: bump chromium to 120.0.6099.276 (28-x-y) ( #41195 )
...
chore: bump chromium in DEPS to 120.0.6099.276
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-02-01 10:30:46 -05:00
trop[bot]
6fa5495a70
fix: select-usb-device should respect filters option ( #41198 )
...
fix: select-usb-device should respect filters option
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-01-31 16:02:10 -05:00
Charles Kerr
2df0c05a3a
refactor: inline simple getters ( #41168 )
...
refactor: inline simple getters (#41125 )
2024-01-31 09:12:32 -06:00
trop[bot]
d5d40d50ab
fix: avoid potential CHECK() failure in DictionaryToRect() ( #41183 )
...
refactor: use gfx::Rect::Contains() instead of reinventing the wheel
perf: use base::Value::FindInt() to avoid redundant map lookups
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2024-01-31 12:02:52 +01:00
trop[bot]
b9acd8afbd
refactor: simplify code by using base::Value::EnsureList() ( #41181 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2024-01-31 12:02:37 +01:00
trop[bot]
865a72fe34
fix: shouldPrintBackgrounds -> printBackground in webContents.printToPDF ( #41179 )
...
fix: shouldPrintBackgrounds -> printBackground
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-01-31 10:48:30 +01:00
trop[bot]
59f50c75fc
refactor: type-safe imports in lib/node/init.ts ( #41185 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2024-01-31 10:07:15 +01:00
Cheng Zhao
52251f2154
fix: update osk patch to fix more corner cases ( #41150 )
2024-01-29 12:51:47 -05:00
trop[bot]
750df6ad9a
fix: undici incorrectly copies headers onto fetches ( #41103 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-01-28 20:40:06 +01:00
trop[bot]
e21a6bf385
fix: potential async_hooks crash in NotifyWindowRestore on Windows ( #41145 )
...
* fix: potential async_hooks crash in NotifyWindowRestore on Windows
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* fix: don't use CallbackScope for Error objects
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-01-28 20:37:59 +01:00
trop[bot]
8f005ee01c
build: remove unneeded dlls in Windows zip ( #41128 )
...
* build: fixup zip manifest check on Windows
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* build: remove unused dlls
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2024-01-26 14:29:46 -06:00
trop[bot]
38b64d334f
fix: apply module search paths restriction on worker and child process ( #41137 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2024-01-26 14:20:44 -06:00
Pedro Pontes
9283a9d19b
chore: cherry-pick 2 changes from Release-0-M121 ( #41105 )
...
* chore: [28-x-y] cherry-pick 2 changes from Release-0-M121
* cc07a95bc309 from chromium
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-01-26 09:27:18 -06:00
Cheng Zhao
116dcfb827
chore: remove node patches by using the preload feature ( #41114 )
2024-01-25 11:39:18 -05:00
trop[bot]
87bf58d04a
fix: modal rounding on nonmodal windows ( #41036 )
...
* fix: modal rounding on nonmodal windows
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: feedback from review
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-01-25 09:51:49 -05:00
trop[bot]
08f30e2623
fix: dangling raw_ptr in OSRWHV destructor ( #41116 )
...
`delegated_frame_host_` holds a pointer to `delegated_frame_host_client_`.
Since `delegated_frame_host_client_` was being destroyed first, that
pointer was dangling in the OSRWHV destructor.
Also, make these two unique_ptr fields `const` since they point to the
same objects for the lifespan of the OSRWHV.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2024-01-25 15:45:04 +09:00
trop[bot]
35670486f7
docs: update Playwright automated-testing guide ( #41097 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx >
2024-01-25 11:31:55 +09:00
Charles Kerr
33057eb8d4
fix: on error, reset spawnedProcess ( #41111 )
...
fix: on error, reset spawnedProcess (#41033 )
reset spawnedProcess instance in case of error
Co-authored-by: Maikel Ortega Hernández <maikeloh@gmail.com >
2024-01-25 11:30:50 +09:00
trop[bot]
b12e04eda0
fix: only remove hijackable envs from foreign parent ( #41101 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2024-01-25 10:14:01 +09:00
trop[bot]
0c9581609c
refactor: remove banned std::to_string() calls ( #41108 )
...
* refactor: do not use banned std::to_string() in ServiceWorkerContext::GetAllRunningWorkerInfo()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: do not use banned std::to_string() in REPORT_AND_RETURN_IF_FAILED()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: do not use banned std::to_string() in JSChunkedDataPipeGetter::OnWriteChunkComplete()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: do not use banned std::to_string() in SetCrashKey()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: remove unused #include
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* fixup! refactor: do not use banned std::to_string() in REPORT_AND_RETURN_IF_FAILED()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2024-01-25 10:13:02 +09:00
electron-roller[bot]
b0121d9eb1
chore: bump chromium to 120.0.6099.268 (28-x-y) ( #41094 )
...
* chore: bump chromium in DEPS to 120.0.6099.268
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-01-24 13:07:36 -05:00
trop[bot]
b70b76e97f
fix: ElectronBrowserContext::PartitionKey comparisons ( #41083 )
...
* fix: ElectronBrowserContext::PartitionKey comparisons
Use c++20 default comparisons to simplify + fix PartitionKey sorting:
- The equality operator is broken. `PartitionKey{"foo", false}` is both
equal, to and less than, `PartitionKey{"foo", true}`
- For some keys, the same session can be retrieved via both `fromPath()`
and `fromPartition()`. This use case was discussed and removed from
the original PR after code review said "always returning different
sessions feels lower maintenance." The current behavior is a bug that
comes from the comparison operators not checking the keys' types.
Xref: 3f1aea9af9 (r1099745359)
Xref: https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md#Default-comparisons-allowed
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* fixup! fix: ElectronBrowserContext::PartitionKey comparisons
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2024-01-23 13:02:02 -06:00
electron-roller[bot]
42728caaa3
chore: bump chromium to 120.0.6099.227 (28-x-y) ( #41075 )
...
chore: bump chromium in DEPS to 120.0.6099.227
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-01-23 09:01:10 -06:00
electron-roller[bot]
d60d4c6b2d
chore: bump chromium to 120.0.6099.225 (28-x-y) ( #40974 )
...
* chore: bump chromium in DEPS to 120.0.6099.217
* chore: bump chromium in DEPS to 120.0.6099.224
* chore: update patches
* chore: update patches
* chore: bump chromium in DEPS to 120.0.6099.226
* chore: fixup patches after rebase
* test: fixup assertNotWindows (#41045 )
* chore: fixup assertNotWindows
* remove logging
(cherry picked from commit 3dafb318a8 )
* chore: bump chromium in DEPS to 120.0.6099.225
* chore: cleanup global reject handler leaking into tests (#40689 )
(cherry picked from commit 3a510a26d0 )
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Robo <hop2deep@gmail.com >
2024-01-22 16:39:25 -05:00
trop[bot]
cdf99a215a
chore: cleanup tests creating crashpad handler in the test runner process ( #41051 )
...
chore: cleanup tests creating crashpad handler in the test runner process (#40668 )
* chore: cleanup tests creating crashpad handler in the test runner process
* ci: logging
* ci: enable logging
* ci: more logging
* ci: run all tests
* ci: more logging
* ci: increase timeout
* Revert "ci: increase timeout"
This reverts commit 870f74455d .
* Revert "ci: more logging"
This reverts commit 46837f8b3a .
* Revert "ci: run all tests"
This reverts commit 6a7889ce67 .
* Revert "ci: more logging"
This reverts commit 351473ab43 .
* Revert "ci: enable logging"
This reverts commit 194109ed5a .
* Revert "ci: logging"
This reverts commit 9a3396fc7a .
* chore: disable flaky ia32 tests
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Robo <hop2deep@gmail.com >
2024-01-18 20:33:28 -05:00
trop[bot]
af42e8e9c7
fix: crash when dialog.showMessageBoxSync with missing buttons ( #41042 )
...
* fix: crash when dialog.showMessageBoxSync missing buttons
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: feedback from review
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-01-18 16:49:25 -05:00
trop[bot]
52113e0d1c
refactor: remove deprecated ToInternalValue() ( #41021 )
...
* refactor: do not use deprecated ToInternalValue() in ElectronExtensionLoader::FinishExtensionLoad()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: do not use deprecated ToInternalValue() in NotificationPresenterWin::SaveIconToFilesystem()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: rename temp variable to now_usec for clarity
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2024-01-18 11:33:16 -06:00
trop[bot]
8f72f9bcb5
feat: add net module to utility process ( #40967 )
...
feat: add net module to utility process (#40017 )
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
2024-01-18 09:56:32 -05:00
trop[bot]
6e44c8f7d0
fix: use HasStyleMask(NSWindowStyleMaskResizable) instead of IsResizable() for enabling/disabling window maximize button ( #41028 )
...
* fix: use `HasStyleMask(NSWindowStyleMaskResizable)` instead of `IsResizable()` for enabling/disabling window maximize button
Co-authored-by: Tamás Zahola <tzahola@gmail.com >
* Format
Co-authored-by: Tamás Zahola <tzahola@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Tamás Zahola <tzahola@gmail.com >
2024-01-18 13:17:47 +01:00
trop[bot]
0f8ebfba1e
refactor: use base::NoDestructor instead of base::LazyInstance ( #40978 )
...
* refactor: use NoDestructor for g_io_thread_application_locale
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: use NoDestructor for ExtensionActionAPI::GetFactoryInstance()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: use NoDestructor for ElectronExtensionsClient::GetPermissionMessageProvider()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: use NoDestructor for feat_add_support_for_overriding_the_base_spellchecker_download_url.patch
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: remove unused #include
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* fixup! refactor: use NoDestructor for ElectronExtensionsClient::GetPermissionMessageProvider()
make sure instance is static
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: remove unused #include "base/lazy_instance.h"
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2024-01-17 12:38:12 -05:00
Shelley Vohr
4583072a98
fix: ensure an AXContext before painting ( #40981 )
2024-01-17 18:15:56 +01:00
Keeley Hammond
8f902599e4
chore: cherry-pick 3 changes from Release-5-M120 ( #41013 )
...
* chore: [28-x-y] cherry-pick 3 changes from Release-5-M120
* 46cb67e3b296 from v8
* c1cda70a433a from chromium
* 78dd4b31847a from v8
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-01-16 18:43:13 -08:00
trop[bot]
dcc19bb8d6
build: log got error response bodies ( #40976 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-01-16 19:50:55 -05:00
Shelley Vohr
71d6776e00
build: fix mojom_ts_generator empty module path failure ( #41006 )
...
build: fix mojom_ts_generator empty module path failure
2024-01-16 09:50:09 -08:00
Samuel Attard
37d4f807a6
chore: cherry-pick 389ea9be7d68 from v8 ( #40970 )
...
* chore: cherry-pick 389ea9be7d68 from v8
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-01-12 10:50:33 +01:00
trop[bot]
efad0a8018
fix: InAppPurchase pre-emptive deallocation ( #40956 )
...
* fix: InAppPurchase pre-emptive deallocation
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* test: try re-enabling IAP tests
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-01-11 13:14:22 -06:00
electron-roller[bot]
dae05a44a0
chore: bump chromium to 120.0.6099.216 (28-x-y) ( #40926 )
...
* chore: bump chromium in DEPS to 120.0.6099.200
* chore: bump chromium in DEPS to 120.0.6099.216
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-01-10 18:59:44 -06:00
trop[bot]
e887328b23
refactor: migrate deprecated LazyInstance code to NoDestructor ( #40946 )
...
* refactor: do not use deprecated NoDestructor in javascript_environment.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: do not use deprecated NoDestructor in window_list.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2024-01-10 17:34:38 -06:00
trop[bot]
337684f3cb
fix: crash using powerMonitor before ready event ( #40924 )
...
* fix: crash using powerMonitor before ready event
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* refactor: continue using DBusBluezManagerWrapperLinux
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-01-10 13:21:58 +01:00
trop[bot]
0862529a86
build: use container runner for arm tests ( #40933 )
...
* build: use aks arm64 test runners
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* build: better image
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* build: even more stuff
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* build: arm par
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* build: use aks arm32
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* build: arm32 par
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* build: get test timings from abs paths
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* build: avoid realpath, use echo
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* chore: fix contentTracing test
* cry
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
2024-01-10 23:11:40 +13:00
trop[bot]
4120b8f72a
fix: wide string concatenation ( #40909 )
...
* fix: wide string concatenation
Co-authored-by: clavin <clavin@electronjs.org >
* Use wstring_views to keep length in context
Co-authored-by: clavin <clavin@electronjs.org >
* forgot a space, oopsies
Co-authored-by: clavin <clavin@electronjs.org >
* chore: update patches
* use AsWStringPiece
This code is being merged to a branch before the change from crrev.com/c/5010979
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-01-08 14:34:15 -08:00
trop[bot]
73111dae51
fix: macOS maximize button shouldn't be disabled just because the window is non-fullscreenable ( #40896 )
...
* fix: macOS maximize button shouldn't be disabled just because the window is non-fullscreenable
Co-authored-by: Tamás Zahola <tzahola@gmail.com >
* add test
Co-authored-by: Tamás Zahola <tzahola@gmail.com >
* fix test by enabling maximize button if `resizable && (maximizable || fullscreenable)` instead of `(resizable && maximizable) && fullscreenable`
Co-authored-by: Tamás Zahola <tzahola@gmail.com >
* chore: update patches
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Tamás Zahola <tzahola@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-01-08 21:55:34 +01:00
trop[bot]
73197a85e2
docs: add missing vibrancy breaking change ( #40906 )
...
* docs: add missing vibranch change
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: update patches
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2024-01-07 22:03:58 -08:00
electron-roller[bot]
741774177f
chore: bump chromium to 120.0.6099.199 (28-x-y) ( #40762 )
...
* chore: bump chromium in DEPS to 120.0.6099.110
* chore: bump chromium in DEPS to 120.0.6099.130
* chore: bump chromium in DEPS to 120.0.6099.199
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-01-05 15:09:15 +01:00
trop[bot]
9b2ddea855
fix: add partition alloc check for MacOS 13/14+ ( #40765 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
2024-01-04 20:43:31 -08:00
trop[bot]
aa8d667bef
chore: add disclaimer to release timeline ( #40884 )
...
* chore: add disclaimer to release timeline
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
* Update docs/tutorial/electron-timelines.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-01-04 12:45:26 -08:00
trop[bot]
7989f02a43
fix: ignore all NODE_ envs from foreign parent in node process ( #40880 )
2024-01-04 13:34:10 +01:00
Calvin
0b8f962010
fix: titlebar incorrectly displayed on frameless windows ( #40867 )
...
Manual backport of #40749
Co-authored-by: Bruno Henrique da Silva <bruno.d@miro.com >
2024-01-03 11:10:26 +01:00
Pedro Pontes
957d8748b2
chore: cherry-pick 1 changes from Release-2-M120 ( #40806 )
...
* chore: [28-x-y] cherry-pick 1 changes from Release-2-M120
* 8d607d3921b8 from chromium
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-12-21 07:40:26 -08:00
trop[bot]
14c6651e35
feat: enable code cache for custom protocols ( #40709 )
...
* feat: enable code cache for custom protocols
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
* chore: update feat_allow_code_cache_in_custom_schemes.patch
* chore: e patches all
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-12-13 12:48:48 -06:00
electron-roller[bot]
c9f886c03d
chore: bump chromium to 120.0.6099.109 (28-x-y) ( #40756 )
...
* chore: bump chromium in DEPS to 120.0.6099.109
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-12-13 10:20:32 -06:00
trop[bot]
0aa33cc3df
fix: wrong default port in docs ( #40743 )
...
fix: wrong default port
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Felipe C <felipe@carassonet.org >
2023-12-11 18:18:13 -06:00
electron-roller[bot]
5d5ebc9da2
chore: bump chromium to 120.0.6099.71 (28-x-y) ( #40722 )
...
chore: bump chromium in DEPS to 120.0.6099.71
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2023-12-11 14:50:11 +01:00
trop[bot]
66e4c3089b
fix: prevent node mode to be used as script runner by other apps ( #40710 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2023-12-11 12:35:06 +09:00
trop[bot]
4a617aa666
docs: fix year typos in electron-timelines.md ( #40729 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Yureka <yuka@yuka.dev >
2023-12-08 15:23:37 +01:00
electron-roller[bot]
271f2b576a
chore: bump chromium to 120.0.6099.62 (28-x-y) ( #40700 )
...
* chore: bump chromium in DEPS to 120.0.6099.62
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-12-05 11:53:33 -08:00
trop[bot]
515803e601
docs: add E28 support for ESM in tutorial.md ( #40691 )
...
docs: add E28 support for ESM in tutorial
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2023-12-05 00:57:35 -08:00
trop[bot]
34d115a430
fix: cherry pick 9009d76968b1ec2ed825bc95e47d086ceea07520 from chromium ( #40688 )
...
* chore: cherry pick 9009d76968b1ec2ed825bc95e47d086ceea07520 from chromium
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
* update patch message
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
* chore: update patches
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-12-04 10:19:02 -08:00
electron-roller[bot]
e809537ac0
chore: bump chromium to 120.0.6099.56 (28-x-y) ( #40653 )
...
* chore: bump chromium in DEPS to 120.0.6099.56
* chore: update patches
* 5041802: Reland "Incorporate policy override for OOPPD feature" | https://chromium-review.googlesource.com/c/chromium/src/+/5041802
(cherry picked from commit 771174eb8c )
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2023-12-04 12:51:16 +01:00
trop[bot]
589c827cb9
build: fix release notes script bug that omitted edited release-clerk comments ( #40656 )
...
* build: fix release notes script bug that omitted edited release-clerk comments
add a warning when neither notes nor no-notes are found
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* fixup! build: fix release notes script bug that omitted edited release-clerk comments
use console.warn() instead of console.log()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-12-03 19:23:59 +01:00
trop[bot]
fe49f1c79a
fix: clean up devtools frontend_host on webcontents destroy ( #40679 )
...
* fix: clean up devtools frontend_host on destroy
Co-authored-by: Albert Xing <albertxing@slack-corp.com >
* chore: use IsInPrimaryMainFrame instead of IsInMainFrame
Co-authored-by: Albert Xing <albertxing@slack-corp.com >
* test: add a test for re-opening devtools
Co-authored-by: Albert Xing <albertxing@slack-corp.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Albert Xing <albertxing@slack-corp.com >
2023-12-03 18:25:34 +01:00
trop[bot]
5bc8e761d6
fix: add missing set_wants_to_be_visible(true) to NativeWindowMac::ShowInactive() ( #40659 )
...
* fix: add missing set_wants_to_be_visible(true) to NativeWindowMac::ShowInactive()
Co-authored-by: zaza <tamas@miro.com >
* add test
Co-authored-by: Tamás Zahola <tzahola@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: zaza <tamas@miro.com >
Co-authored-by: Tamás Zahola <tzahola@gmail.com >
2023-12-03 17:36:57 +01:00
trop[bot]
0756fe6f30
docs: add dates for e29 ( #40669 )
2023-11-30 23:00:55 -08:00
Keeley Hammond
a0c85cf57e
chore: cherry-pick 2 changes from Release-3-M119 ( #40647 )
...
chore: [28-x-y] cherry-pick 2 changes from Release-3-M119
* 971d6055e7b7 from openscreen
* 6169a1fabae1 from skia
2023-11-30 12:40:09 +01:00
David Sanders
e45e20acd5
chore: extend linting of code blocks in the docs ( #40636 )
2023-11-30 12:13:07 +01:00
trop[bot]
1af25902a6
fix: add patch for simdutf base64 crash ( #40542 )
...
* fix: add patch for simdutf base64 crash
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
* chore: update .patches after trop
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-11-29 12:47:13 +09:00
Milan Burda
9ad4024e82
chore: allow passing more roots to lint.js ( #40627 )
...
chore: allow passing more roots to lint.js (#40571 )
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2023-11-29 10:08:18 +09:00
Charles Kerr
9e323e3104
fix: 28-x-y patches ( #40629 )
...
* chore: update revert_same_party_cookie_attribute_removal.patch
No manual changes; patch succeeded with p1 fuzz
* chore: update patches
* chore: cleanup patch
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-11-28 17:07:02 -05:00
trop[bot]
9e1c116ff6
build: specify explicit typeroots for ts builds ( #40595 )
...
Upstreaming of bf63336f60
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
2023-11-28 15:37:19 +01:00
trop[bot]
581fafb2e9
fix: Use activateIgnoringOtherApps for non-panels ( #40621 )
...
Use activateIgnoringOtherApps for non-panels
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Felix Rieseberg <fr@makenotion.com >
2023-11-28 12:48:09 +01:00
electron-roller[bot]
630d75981c
chore: bump chromium to 120.0.6099.35 (28-x-y) ( #40547 )
...
* chore: bump chromium in DEPS to 120.0.6099.28
* chore: bump chromium in DEPS to 120.0.6099.35
* 5007463: Fix domain joining function on macOS 14 | https://chromium-review.googlesource.com/c/chromium/src/+/5007463
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2023-11-27 14:35:45 -08:00
trop[bot]
f939be0638
feat: add/update missing Display properties ( #40554 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-11-27 13:47:31 -05:00
trop[bot]
d01469e486
fix: do not call after() async_hook for asyncId 0 ( #40594 )
...
fix: do not call after() async_hook for asyncId 0
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-11-23 11:15:21 +01:00
trop[bot]
0594081f26
fix: restore performance of macOS window resizing ( #40586 )
...
* fix: restore performance of macOS window resizing
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
* chore: update patches
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-11-22 09:42:37 -08:00
trop[bot]
131c5e7986
fix: maximized window bounds when toggle setResizable ( #40582 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Tomasz Malinowski <tomasz@openfin.co >
2023-11-22 10:58:47 +01:00
trop[bot]
a3986f84db
fix: ShowItemUsingFileManager should escape path in Linux ( #40562 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: hsfzxjy <hsfzxjy@gmail.com >
2023-11-21 10:23:03 +09:00
Keeley Hammond
33b39fb63d
fix: revert SameParty cookie attribute removal ( #40526 )
2023-11-16 13:41:12 -08:00
trop[bot]
9a4b32d517
fix: emit will-navigate for links in chrome: pages ( #40525 )
...
* fix: emit will-navigate for links in chrome: pages
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com >
* test: will-navigate emitted from chrome: pages
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com >
* Update shell/browser/electron_navigation_throttle.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com >
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
2023-11-15 10:50:12 +01:00
trop[bot]
8eb6b35fc0
fix: chrome.action API registration ( #40514 )
...
* fix: chrome.action API registration
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* fix: browser_action implemented_in
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-11-13 11:26:55 +01:00
trop[bot]
b92b4c8fcf
fix: Do not activate app when calling focus on inactive panel window ( #40465 )
...
* fix: Do not activate app when calling focus on inactive panel window
Co-authored-by: Felix Rieseberg <fr@makenotion.com >
* Use activate
Co-authored-by: Felix Rieseberg <fr@makenotion.com >
* Use "activate" for all windows
Co-authored-by: Felix Rieseberg <fr@makenotion.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Felix Rieseberg <fr@makenotion.com >
2023-11-10 15:40:47 -05:00
electron-roller[bot]
bc07c3be54
chore: bump chromium to 120.0.6099.18 (28-x-y) ( #40488 )
...
* chore: bump chromium in DEPS to 120.0.6099.18
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-11-09 13:58:17 -08:00
trop[bot]
1f0fa3471a
docs: update references to Electron Packager ( #40496 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-11-09 13:57:03 -08:00
trop[bot]
460b8dc453
feat: keyboard.lock() should use permissions helper ( #40460 )
...
feat: keyboard.lock should use permissions helper
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-11-09 10:41:31 -08:00
Brad Parham
db995982cd
chore: bump node to v18.18.2 ( #40472 )
...
* chore: bump node to v18.18.1 (main) (#40174 )
* chore: bump node in DEPS to v18.18.1
* Revert "deps: upgrade to libuv 1.46.0"
https://github.com/nodejs/node/pull/50036
* chore: fixup patch indices
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: bump node to v18.18.2 (main) (#40205 )
* chore: bump node in DEPS to v18.18.2
* chore: update patches
* deps: update nghttp2 to 1.55.0
https://github.com/nodejs/node/pull/48746
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-11-09 10:39:21 -08:00
trop[bot]
30fe3b5667
docs: fix hid-device-{added|removed|revoked} event types ( #40478 )
...
docs: fix hid-device-{added|removed|revoked} types
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-11-07 18:09:41 -08:00
Robo
0b847b0d9f
fix: broken shader cache due to compilation error ( #40450 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4988290
2023-11-07 11:00:27 +09:00
trop[bot]
a77f2e0cee
fix: crash when unloading some WebViews ( #40445 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-11-03 13:50:26 -04:00
trop[bot]
f739cb110a
docs: document our Node.js versioning policy ( #40416 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-11-02 17:14:49 -04:00
electron-roller[bot]
b2235fefc3
chore: bump chromium to 120.0.6099.5 (28-x-y) ( #40420 )
...
* chore: bump chromium in DEPS to 120.0.6099.5
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-11-02 16:19:30 -04:00
trop[bot]
5c70bd768a
docs: add bypassCustomProtocolHandlers to ses.fetch ( #40424 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Brandon Fowler <brandfowl@gmail.com >
2023-11-02 07:11:02 -04:00
John Kleinschmidt
3934f72496
chore: bump chromium to 120.0.6099.0 (28-x-y) ( #40413 )
...
* chore: bump chromium to 120.0.6078.0 (main) (#40114 )
* chore: bump chromium in DEPS to 120.0.6049.0
* chore: update patches
* chore: bump chromium in DEPS to 120.0.6050.0
* chore: update patches
* 4910494: Reland "[autopip] Show autopip UI for video pip"
https://chromium-review.googlesource.com/c/chromium/src/+/4910494
* 4812338: Move partition_alloc into a "partition_alloc" dir.
https://chromium-review.googlesource.com/c/chromium/src/+/4812338
* [Extensions Cleanup] Remove mojom ViewType::kExtensionDialog
https://chromium-review.googlesource.com/c/chromium/src/+/4909897
* 4894923: Force enable raw_ptrs pointer arithmetic check.
https://chromium-review.googlesource.com/c/chromium/src/+/4894923
* gin: Prevent wrappables from being constructed from author code.
https://chromium-review.googlesource.com/c/chromium/src/+/4905829
* chore: update patches
* chore: bump chromium in DEPS to 120.0.6052.0
* chore: bump chromium in DEPS to 120.0.6054.0
* chore: bump chromium in DEPS to 120.0.6056.0
* chore: fix patches
* 4918545: Reland "[autopip] Add permissions embargo"
https://chromium-review.googlesource.com/c/chromium/src/+/4918545
* 4881761: UI bindings for visual logging with structured metrics.
https://chromium-review.googlesource.com/c/chromium/src/+/4881761
* chore: bump chromium in DEPS to 120.0.6058.0
* chore: update patches
* chore: bump chromium in DEPS to 120.0.6060.0
* chore: bump chromium in DEPS to 120.0.6061.0
* chore: bump chromium in DEPS to 120.0.6062.0
* chore: gen libc++ filenames
* chore: update patches
* 4911894: Move //c/b/ui/views/eye_dropper to //components
https://chromium-review.googlesource.com/c/chromium/src/+/4911894
* chore: bump chromium in DEPS to 120.0.6064.0
* chore: bump chromium in DEPS to 120.0.6066.0
* chore: bump chromium in DEPS to 120.0.6068.0
* chore: bump chromium in DEPS to 120.0.6070.0
* chore: remove temp_prevent_unused_function_error.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4931270
* chore: add TransferDragSecurityInfo()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4928028
* mark TransferDragSecurityInfo() as NOTREACHED
A follow-up to previous commit. I think this is commit is correct (i.e.
that this function shouldn't get called) but am not positive, so I'm
including it in a standalone commit in case we need to revert.
* chore: update signature of OnPrivateNetworkAccessPermissionRequired()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4919478
Our impl is a no-op, so updating the signature is the only change.
* chore: rebuild patches
* chore: bump chromium in DEPS to 120.0.6072.0
* chore: update patches
* chore: sync ParseMatchPattern() param order with upstream change
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4944243
* chore: update fix_crash_loading_non-standard_schemes_in_iframes.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4939602
* chore: rebuild patches
* chore: bump chromium in DEPS to 120.0.6073.0
* chore: update patches
* chore: bump chromium in DEPS to 120.0.6074.0
* chore: update disable_color_correct_rendering.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4908053
no manual changes; patch applied with fuzz 1
* chore: update fix_handle_no_top_level_aura_window_in_webcontentsimpl.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4936315
minor manual sync to upstream code shear
* chore: rebuild patches
* chore: update ClearHttpAuthCache arguments
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4937937
adding ClearDataFilterPtr arg. Upstream added this arg, which is already
present in other NetworkContext methods. Our code uses `nullptr` there.
* chore: bump chromium in DEPS to 120.0.6076.0
* chore: update mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4865412
minor manual sync to upstream code shear
* chore: update disable_color_correct_rendering.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4942936
minor manual sync to upstream code shear
* fix: move x11_util.h include to top of source file
This is a short-term fix to unblock the roll. I will follow up a better fix in a standalone PR.
* chore: rebuild patches
* chore: bump chromium in DEPS to 120.0.6077.0
* chore: update patches
* chore: bump chromium in DEPS to 120.0.6078.0
* chore: update patches
* refactor: add BrowserProcessImpl::os_crypt_async()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4455776
This is one to keep an eye on. This commit copies the upstream impl,
which appears to be an interim step with more upstream code changes
still forthcoming.
Xref: https://bugs.chromium.org/p/chromium/issues/detail?id=1373092
* fixup! refactor: add BrowserProcessImpl::os_crypt_async()
chore: make 'gn check' happy
* chore: remove ensure_messageports_get_gced_when_not_referenced.patch
Xref: ensure_messageports_get_gced_when_not_referenced.patch
no longer needed because upstreamed
* chore: remove webrtc/pipewire_capturer_make_restore_tokens_re-usable_more_than_one_time.patch
Xref: https://webrtc-review.googlesource.com/c/src/+/322621
no longer needed because upstreamed
* chore: add //components/compose:buildflags dep
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4912601
needed by browser/ui/browser_dialogs.h
* chore: update filenames.libcxx.gni
node ./script/gen-libc++-filenames.js
* test: fix UI.InspectorView -> UI.InspectorView.instance()
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
(cherry picked from commit be44a2c5b7 )
* chore: bump chromium to 120.0.6099.0 (main) (#40316 )
* chore: bump chromium in DEPS to 120.0.6086.0
* chore: update patches
* chore: rename FrameSubscriber::OnNewCropVersion()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4905819
just a simple renaming
* chore: rename ToJsTime() to .InMillisecondsFSinceUnixEpoch()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4956111
function renamed upstream
* chore: rename ToDoubleT() to .InSecondsFSinceUnixEpoch()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4956111
function renamed upstream
* chore: rename FromDoubleT() to .FromSecondsSinceUnixEpoch()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4956111
function renamed upstream
* chore: bump chromium in DEPS to 120.0.6088.2
* chore: update patches
* chore: regen filenames.libcxx.gni
* chore: migrate from (removed upstream) inputFormType to formControlType
* chore: bump chromium in DEPS to 120.0.6089.0
* chore: update allow_disabling_blink_scheduler_throttling_per_renderview.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4828507
manually sync to upstream changes + reduce diff size
* chore: update patches
* chore: bump chromium in DEPS to 120.0.6090.0
* chore: update fix_disabling_background_throttling_in_compositor.patch
no manual changes; patch applied with fuzz 2 (4 lines)
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4944206
* chore: update fix_handle_no_top_level_aura_window_in_webcontentsimpl.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4946653
do not patch WebContentsImpl::SetWindowShowState() any longer because it has been removed
* chore: update patches
* chore: bump chromium in DEPS to 120.0.6091.0
* chore: update patches
* chore: bump chromium in DEPS to 120.0.6093.0
* chore: bump chromium in DEPS to 120.0.6095.0
* chore: bump chromium in DEPS to 120.0.6096.0
* chore: bump chromium in DEPS to 120.0.6097.0
* chore: update patches
* chore: update patch after rebase
* 4961495: [document pip] Focus the window when opened manually
https://chromium-review.googlesource.com/c/chromium/src/+/4961495
* [Extensions UserScripts] Store extensions with user scripts in tracker
| https://chromium-review.googlesource.com/c/chromium/src/+/4950530
* chore: bump chromium in DEPS to 120.0.6099.0
* chore: update patches
* chore: update filenames.libcxx.gni
* chore: remove trailing space
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
(cherry picked from commit bc1ba1fe9d )
* build: update appveyor image to latest version (#40325 )
* build: update appveyor image to latest version
* chore: update version to e-120.0.6099.0
* chore: rename base image for bakes
---------
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
(cherry picked from commit 878c6e3062 )
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-01 19:46:39 -04:00
trop[bot]
8d5a15316f
docs: avoid leaking the IpcRendererEvent in contextBridge examples ( #40412 )
...
* docs: avoid leaking the `IpcRendererEvent` in `contextBridge` examples
Co-authored-by: Milan Burda <milan.burda@gmail.com >
* Update docs/fiddles/ipc/pattern-3/preload.js
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: Milan Burda <milan.burda@gmail.com >
* Update docs/tutorial/ipc.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: Milan Burda <milan.burda@gmail.com >
* Update docs/tutorial/ipc.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: Milan Burda <milan.burda@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-11-01 18:55:47 -04:00
Shelley Vohr
6916e19ce1
refactor: remove DevTools legacy UI patching ( #40409 )
...
* refactor: remove DevTools legacy UI patching
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-11-01 16:24:06 -04:00
electron-roller[bot]
5997b47d21
chore: bump chromium to 119.0.6045.105 (28-x-y) ( #40405 )
...
* chore: bump chromium in DEPS to 119.0.6045.105
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-11-01 11:41:52 -04:00
trop[bot]
3f0af4d435
build: actually show github upload output if verbose is true. ( #40398 )
...
* build: actually show github upload output if verbose is true.
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* chore: fixup lint
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-10-31 21:24:07 -04:00
trop[bot]
45fbdcca6a
fix: navigator.keyboard.lock() fullscreen exit handling ( #40389 )
...
fix: navigator.keyboard.lock() fullscreen exit handling
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-10-31 21:23:50 -04:00
trop[bot]
09c151a701
build: update deps to fix yarn audit ( #40392 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
2023-10-31 17:30:14 -04:00
electron-roller[bot]
5dad69ce8f
chore: bump chromium to 119.0.6045.59 (28-x-y) ( #40356 )
...
* chore: bump chromium in DEPS to 119.0.6045.59
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-10-31 09:34:43 -04:00
trop[bot]
d0d2a64739
refactor: options parsing in WebContents.prototype.printToPDF() ( #40279 )
...
* refactor: options parsing in WebContents.prototype.printToPDF()
Co-authored-by: Milan Burda <milan.burda@gmail.com >
* tweak parsePageSize
Co-authored-by: Milan Burda <milan.burda@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-10-30 11:55:29 -07:00
trop[bot]
2c200c9b8d
docs: add reference to app.getAppMetrics() in serviceName for utilityProcess ( #40367 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-10-30 11:43:57 -07:00
trop[bot]
bb0dd34e63
fix: prevent PopUpButtonHandler premature dealloc ( #40346 )
...
fix: prevent PopUpButtonHandler dealloc
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-10-26 14:12:43 -04:00
trop[bot]
8148ba5398
build: upload slow, more time good ( #40336 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
2023-10-26 00:20:43 -07:00
trop[bot]
f6d7aba69c
test: add spec for app.getAppMetrics() for utility process ( #40312 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-10-25 09:30:28 -04:00
trop[bot]
22687c18c4
test: add spec for child-process-gone event for utility process ( #40304 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-10-23 11:44:22 -07:00
trop[bot]
d1bf107bee
chore: Show FIDO devices in the chooser if allowed ( #40275 )
...
chore: Show FIDO devices in the chooser if allowed (#40216 )
* chore: Show FIDO devices in the chooser if allowed
* chore: tweak HidChooserContext::IsFidoAllowedForOrigin
* chore: feedback from review
---------
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-10-20 10:28:57 +02:00
electron-roller[bot]
eff2ea682d
chore: bump chromium to 119.0.6045.33 (28-x-y) ( #40278 )
...
* chore: bump chromium in DEPS to 119.0.6045.33
* chore: update patches
* test: fix Node.js color edge snapshot stack traces
(cherry picked from commit af4943fd1b )
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-10-19 19:20:48 -04:00
trop[bot]
0310156be6
docs: fix represented file fiddle ( #40252 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-10-19 10:03:23 +02:00
trop[bot]
714e6ea49c
chore: implement no-op chrome.action extension APIs ( #40261 )
...
chore: implement no-op chrome.action extension APIs
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-10-18 21:39:10 +02:00
trop[bot]
3cf8652027
fix: correctly track receiver for methods called via ctx bridge ( #40263 )
...
* fix: correctly track receiver for methods called via ctx bridge
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* spec: test for correct contextBridge passage
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-10-18 21:24:16 +02:00
trop[bot]
f622bd9927
build: re-enable partition alloc on mac ( #40230 )
...
* build: re-enable partition alloc on mac
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
* Trigger Build
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-10-18 12:50:12 -04:00
trop[bot]
9ddd08ba89
fix: support the throwIfNoEntry option to statSync and lstatSync in asar files ( #40224 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2023-10-18 11:33:48 +02:00
trop[bot]
a98d66dd23
refactor: partition HidDelegate observers by browser context ( #40238 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-10-18 10:06:16 +02:00
trop[bot]
1e51ee974d
fix: Windows Toast notification dismissal from Action Center ( #40243 )
...
* fix: Windows Toast notification dismissal from Action Center
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* docs: note Toast behavior in event
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: address feedback from review
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-10-18 10:03:57 +02:00
trop[bot]
6732f63ac0
docs: Update docs on testing Electron apps with WebdriverIO ( #40227 )
...
* docs: Updated docs on testing Electron using WebdriverIO
Co-authored-by: Christian Bromann <github@christian-bromann.com >
* Update docs/tutorial/automated-testing.md
Co-authored-by: Felix Rieseberg <fr@makenotion.com >
Co-authored-by: Christian Bromann <github@christian-bromann.com >
* Update docs/tutorial/automated-testing.md
Co-authored-by: Felix Rieseberg <fr@makenotion.com >
Co-authored-by: Christian Bromann <github@christian-bromann.com >
* more updates
Co-authored-by: Christian Bromann <git@bromann.dev >
* address PR comments
Co-authored-by: Christian Bromann <git@bromann.dev >
* Update docs/tutorial/automated-testing.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Christian Bromann <github@christian-bromann.com >
* Update docs/tutorial/automated-testing.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Christian Bromann <github@christian-bromann.com >
* Update docs/tutorial/automated-testing.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Christian Bromann <github@christian-bromann.com >
* Update docs/tutorial/automated-testing.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Christian Bromann <github@christian-bromann.com >
* Update docs/tutorial/automated-testing.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Christian Bromann <github@christian-bromann.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Christian Bromann <github@christian-bromann.com >
Co-authored-by: Christian Bromann <git@bromann.dev >
2023-10-17 16:54:41 +02:00
trop[bot]
641249f384
fix: incorrect wco bounds in macOS fullscreen ( #40219 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-10-16 15:06:39 +02:00
electron-roller[bot]
f6b135e1ac
chore: bump chromium to 119.0.6045.21 (28-x-y) ( #40178 )
...
* chore: bump chromium in DEPS to 119.0.6045.9
* chore: update patches
* chore: bump chromium in DEPS to 119.0.6045.21
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-10-16 14:53:20 +02:00
trop[bot]
a5f01f0328
docs: fix some string union typings ( #40199 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-10-16 14:10:13 +09:00
trop[bot]
d65b8761f8
chore: formally deprecate gpu-process-crashed event ( #40195 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-10-16 09:19:27 +09:00
trop[bot]
f8d4c45f8e
fix: ensure MessagePorts get GCed when not referenced ( #40201 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-10-16 09:18:36 +09:00
trop[bot]
6625666e40
fix: store portal restore token under the right source ID ( #40192 )
...
XDG Desktop Portal provides restore tokens to restore a previously
selected PipeWire stream instead of prompting the user again. This
restore token is single use only and it has to be replaced when the
stream is completed/stopped.
BaseCapturerPipewire maintains two source IDs: one is initialized by
the constructor for new sources (source_id_) and another is for
capturing previously selected sources (selected_source_id_). The
restore token was always being stored under `source_id_`, even if the
capture was ongoing for `selected_source_id_`. This prevents a stream
from being restored more than once. Fix that by storing the restore
token under the selected source ID if it exists.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Athul Iddya <athul@iddya.com >
2023-10-13 22:09:09 +02:00
trop[bot]
e3e7bf3786
fix: webContents.capturePage() for hidden windows on Windows/Linux ( #40185 )
...
fix: capturePage for hidden windows on Windows/Linux
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-10-12 13:54:43 +02:00
Milan Burda
3e70692e4b
chore: formally deprecate crashed and renderer-process-crashed events ( #40089 )
2023-10-10 19:49:01 -04:00
Keeley Hammond
c892c61b90
docs: update dates for E28 ( #40154 )
...
* docs: update dates for E28
* docs: update node version
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
---------
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-10-10 19:43:35 -04:00
Milan Burda
2c88626b51
chore: revert deprecate as an internal module ( #40146 )
...
Revert "chore: restore deprecate as an internal module (#40124 )"
This reverts commit 737e3de3fa .
2023-10-10 11:50:47 -04:00
Shelley Vohr
7e312c81ca
test: make capturePage color matching timeouts consistent ( #40158 )
2023-10-10 11:13:07 -04:00
Shelley Vohr
86df4db6f1
fix: crash when calling non-reentrant function in loadURL ( #40143 )
2023-10-10 12:46:04 +02:00
Milan Burda
563c370d51
refactor: use gin_helper::Dictionary::CreateEmpty() helper ( #40140 )
2023-10-10 12:45:44 +02:00
Jade Flute
47beca1d2a
docs: fix typo in session docs ( #40138 )
...
Fix typos for doc
Signed-off-by: zhangdiandian <1635468471@qq.com >
2023-10-10 12:43:18 +02:00
Tomasz
925e4f7d74
feat: Add 'mouse-enter' and 'mouse-leave' Tray events for Windows. ( #40072 )
2023-10-09 19:56:38 -04:00
John Kleinschmidt
a31deea1ba
ci: fixup diagnose_goma_log.py call ( #40131 )
2023-10-09 15:19:21 +02:00
Milan Burda
24bc0ee5c7
test: fix "crashed event does not crash main process when destroying WebContents in it" ( #40135 )
2023-10-09 09:56:48 +02:00
Cheng Zhao
f5c177698e
fix: remove EarlyMallocZoneRegistration call ( #40128 )
2023-10-09 09:43:51 +09:00
Milan Burda
737e3de3fa
chore: restore deprecate as an internal module ( #40124 )
...
* Revert "refactor: don't expose deprecate as an internal module (#35311 )"
This reverts commit 8424779906 .
* check crashed event warnings
2023-10-09 08:55:16 +09:00
David Sanders
8b8fbd0408
test: add back smoke test for removed API ( #40132 )
2023-10-09 08:46:56 +09:00
Milan Burda
6a99c7b840
refactor: eliminate duplicate code ( #40088 )
2023-10-09 08:43:50 +09:00
Keeley Hammond
cff50ac65a
fix: fix vibrancy applying without transparency on MacOS ( #40109 )
2023-10-06 11:57:26 -07:00
github-actions[bot]
a55c163db0
build: update appveyor image to latest version - e-119.0.6045.0 ( #40075 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-10-06 11:47:17 -04:00
Robo
fdf8b02e14
chore: cherry-pick c03569f from libuv ( #40101 )
...
Refs c03569f0df
2023-10-06 19:25:19 +09:00
Shelley Vohr
73553032ea
fix: toggling DevTools while minimized on Windows ( #40091 )
...
fix: toggling devtools while minimized on Windows
2023-10-05 20:26:31 -04:00
electron-roller[bot]
8f7a48879e
chore: bump chromium to 119.0.6045.0 (main) ( #40076 )
...
* chore: bump chromium in DEPS to 119.0.6045.0
* chore: update patches
* 4864948: Remove legacy-legacy
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4864948
* 4907760: Remove ui/base/glib/glib_signal.h
https://chromium-review.googlesource.com/c/chromium/src/+/4907760
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-10-05 19:59:39 -04:00
Milan Burda
83a928f6e3
fix: crashed events deprecation ( #40090 )
2023-10-05 19:57:14 -04:00
Shelley Vohr
3392d9a2e7
fix: all children showing when showing child window ( #40062 )
2023-10-05 09:19:57 -04:00
David Sanders
5ad69df52e
build: update NMV to 119 ( #40081 )
2023-10-05 09:14:02 -04:00
Shelley Vohr
b3a1c6d13c
fix: error using webcrypto.subtle.importKey() ( #40070 )
...
fix: error using webcrypto.subtle.importKey()
2023-10-05 10:46:53 +02:00
Shelley Vohr
b0590b6ee8
fix: failing build with enable_electron_extensions=false ( #40032 )
...
* fix: ENABLE_EXTENSIONS -> ENABLE_ELECTRON_EXTENSIONS
* fix: extension guard fixes
* chore: fix linker errors
2023-10-04 10:40:01 +02:00
Shelley Vohr
713d8c4167
feat: add tabbingIdentifier property to BrowserWindow ( #39980 )
...
feat: add tabbingIdentifier property to BrowserWindow
2023-10-03 12:27:40 -07:00
Milan Burda
04b2ba84cd
refactor: replace remaining NULL with nullptr ( #40053 )
...
refactor: use nullptr everywhere
2023-10-03 12:26:35 -07:00
electron-roller[bot]
9d0e6d09f0
chore: bump chromium to 119.0.6043.0 (main) ( #40045 )
...
* chore: bump chromium in DEPS to 119.0.6036.0
* chore: bump chromium in DEPS to 119.0.6037.0
* chore: bump chromium in DEPS to 119.0.6039.0
* chore: bump chromium in DEPS to 119.0.6041.0
* chore: update chromium patches
* 4765230: Move //content/browser/renderer_host/event_with_latency_info.h to //content/common/input | https://chromium-review.googlesource.com/c/chromium/src/+/4765230
* 4890325: ScopedRunLoopTimeout: add custom timeout callback handler for testing | https://chromium-review.googlesource.com/c/chromium/src/+/4890325
* chore: update all patches
* chore: bump chromium in DEPS to 119.0.6043.0
* 4898682: [api] Add Error.cause to V8 API
https://chromium-review.googlesource.com/c/v8/v8/+/4898682
* 4837192: Plumb origin through for drags.
https://chromium-review.googlesource.com/c/chromium/src/+/4837192
* Prevent content analysis on web pages that don't accept drag and drop.
https://chromium-review.googlesource.com/c/chromium/src/+/4814086
* Make getting displayed notifications work with notification attribution.
https://chromium-review.googlesource.com/c/chromium/src/+/4738935
* 4898682: [api] Add Error.cause to V8 API
https://chromium-review.googlesource.com/c/v8/v8/+/4898682
* lib,test: do not hardcode Buffer.kMaxLength
https://github.com/nodejs/node/pull/49876
* chore: remove Goma warning from mksnapshot_args
* 4776412: Remove Windows-specific wstring variants of StringPrintf() etc.
https://chromium-review.googlesource.com/c/chromium/src/+/4776412
* [dPWA] Prevent WebAppInstallInfo from being included on Android
https://chromium-review.googlesource.com/c/chromium/src/+/4886594
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-10-02 18:01:07 -04:00
github-actions[bot]
503ae86ab2
build: update appveyor image to latest version - e-119.0.6029.0 ( #40046 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-10-02 11:11:07 -04:00
Athul Iddya
37c79ea844
docs: add PipeWire integration instructions for snaps ( #40019 )
2023-10-02 12:19:23 +02:00
Shelley Vohr
93bcb30c3e
fix: BroadcastChannel initialization location ( #40049 )
...
fix: `BroadcastChannel` initialization location (#37421 )
* fix: BroadcastChannel initialization location
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-10-02 10:57:09 +02:00
Milan Burda
d301616f60
chore: remove deprecated app.runningUnderRosettaTranslation() ( #39956 )
2023-10-02 10:55:32 +02:00
Shelley Vohr
5643e86956
chore: update extensions url handling to match upstream ( #40038 )
...
- https://chromium-review.googlesource.com/c/chromium/src/+/4772028
- https://chromium-review.googlesource.com/c/chromium/src/+/4264656
- https://chromium-review.googlesource.com/c/chromium/src/+/4712150
2023-10-02 10:35:00 +02:00
Samuel Attard
371e83a8d2
fix: support esm entrypoint to utility process ( #40047 )
2023-09-29 14:38:37 -07:00
electron-roller[bot]
d6c8ff2e70
chore: bump chromium to 119.0.6029.0 (main) ( #39944 )
...
* chore: bump chromium in DEPS to 119.0.6021.0
* 4727729: Initial ScreenCaptureKit AudioInputStream implementation
https://chromium-review.googlesource.com/c/chromium/src/+/4727729
* chore: fixup patch indices
* chore: bump chromium in DEPS to 119.0.6023.0
* 4875713: mac: Switch to Xcode 15.0 15A240d with macOS SDK 14.0 23A334
https://chromium-review.googlesource.com/c/chromium/src/+/4875713
* 4831380: [task-attribution] Reland: Move to an implicit GCed task container model
https://chromium-review.googlesource.com/c/chromium/src/+/4831380
* 4877868: Remove all gitignore entries for submodules
https://chromium-review.googlesource.com/c/chromium/src/+/4877868
* 4824705: Set origin to commit for data: URLs
https://chromium-review.googlesource.com/c/chromium/src/+/4824705
* chore: fixup patch indices
* 4881382: Expose selection in WebFormControlElement as unsigned
https://chromium-review.googlesource.com/c/chromium/src/+/4881382
* 4874216: Portals: Cancel drag-drop in predecessor before activation
https://chromium-review.googlesource.com/c/chromium/src/+/4874216
* chore: bump chromium in DEPS to 119.0.6025.0
* chore: bump chromium in DEPS to 119.0.6027.0
* 4884489: Update gitignore to be explicit about directories
https://chromium-review.googlesource.com/c/chromium/src/+/4884489
* 4881091: Add debug info about owner document's origin when inheriting
https://chromium-review.googlesource.com/c/chromium/src/+/4881091
* chore: fixup patch indices
* chore: bump chromium in DEPS to 119.0.6029.0
* chore: update patches
* 4881091: Add debug info about owner document's origin when inheriting
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4881091
* 4831380: [task-attribution] Reland: Move to an implicit GCed task container model
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4831380
* 4866732: Extract document.title for installable checks
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4866732
* chore: link to crbug in message port test
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2023-09-28 22:26:41 -07:00
ILikeTeaALot
d002f16157
feat: systemPreferences.getColor should return RGBA instead of RGB ( #38960 )
...
* fix: return RGBA hex value from `SystemPreferences.getColor`
* docs: update docs to match changes of last commit
* fix: GetColor on windows now returns RGBA too
* fix: update tests for getColor RGBA on Windows
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-28 18:56:16 -04:00
Bruno Pitrus
dd7395ebed
chore: add missing include for std::variant ( #40007 )
2023-09-28 12:50:58 -04:00
Bruno Pitrus
e3e793d25b
chore: remove invalid constexpr qualification ( #40006 )
...
GetPathConstant calls base::internal::flat_tree<Key, GetKeyFromValue, KeyCompare, Container>::find(Key const&) const which is not constexpr.
GCC 12 and earlier raise a compile error on this.
2023-09-28 12:49:09 -04:00
dependabot[bot]
da92c9aa27
build(deps): bump get-func-name from 2.0.0 to 2.0.2 in /spec ( #40012 )
...
Bumps [get-func-name](https://github.com/chaijs/get-func-name ) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/chaijs/get-func-name/releases )
- [Commits](https://github.com/chaijs/get-func-name/commits/v2.0.2 )
---
updated-dependencies:
- dependency-name: get-func-name
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-28 12:47:36 -04:00
David Sanders
02b58333dc
ci: update release project board workflows ( #40020 )
2023-09-28 11:27:02 -04:00
David Sanders
23cf9fa4e9
ci: update automation workflows ( #40021 )
2023-09-28 11:26:04 -04:00
Cheng Zhao
4cf6884dd4
fix: detect screen readers by testing their existences ( #39988 )
2023-09-28 11:17:42 -04:00
marekharanczyk
94585f5889
fix: propagate layout call to all children of InspectableWebContentsViewViews ( #39994 )
...
Propagate layout call to all children of InspectableWebContentsViewViews.
When BrowserView bounds are set from js, those might not trigger layout
immediately, sometimes propagating InvalidateLayout call to parent.
View is marked as needing layout, expecting to receive it from parent on
next layout call. The problem is that BrowserView's view is added as child
of InspectableWebContentsViews which does not call setBounds (which
would trigger layout) on all of it's children when doing it's layout,
so it skips propagating Layout call to its children BrowserViews views,
even though those were marked as needing layout.
Call base class View::Layout which will iterate over views' children
and call Layout on those that were marked as needing them.
Fixes #39993 .
2023-09-28 11:17:21 -04:00
John Kleinschmidt
43a646ed85
build: log uploads to GitHub ( #40034 )
2023-09-28 11:15:52 -04:00
dependabot[bot]
f628ce67dd
build(deps): bump get-func-name from 2.0.0 to 2.0.2 ( #40013 )
...
Bumps [get-func-name](https://github.com/chaijs/get-func-name ) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/chaijs/get-func-name/releases )
- [Commits](https://github.com/chaijs/get-func-name/commits/v2.0.2 )
---
updated-dependencies:
- dependency-name: get-func-name
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-28 10:44:16 +02:00
Shelley Vohr
c8156c3c57
fix: failure on immutable webContents.print(options) ( #39985 )
...
fix: failure on immutable webContents.print(options)
2023-09-28 10:41:46 +02:00
Tomasz
689d1b76de
feat: add middle click event to tray ( #39926 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-27 14:21:15 -04:00
Robert Günzler
480f48b2fc
feat: enable dark mode on GTK UIs ( #38977 )
...
feat: port DarkModeManagerLinux
This is needed after https://bugs.chromium.org/p/chromium/issues/detail?id=998903
and replaces the previous workaround to detect dark mode on GTK.
Detect system dark theme preference via xdg settings portal:
https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.Settings
Closes: https://github.com/electron/electron/issues/38961
Closes: https://github.com/electron/electron/issues/28838
Signed-off-by: Robert Günzler <r@gnzler.io >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-27 14:17:40 -04:00
Erick Zhao
a0ae691a9c
docs: document type-specific module aliases ( #39685 )
2023-09-27 11:07:04 -04:00
Bruno Henrique da Silva
f943b8c940
fix: set window contents as opaque to decrease DWM GPU usage ( #39895 )
...
* set window contents as opaque to decrease DWM GPU usage
* chore: add more context to ShouldWindowContentsBeTransparent
2023-09-27 10:42:46 -04:00
Shelley Vohr
b7c9c895b5
build: fix with enable_pdf_viewer = false ( #39990 )
...
build: fix with enable_pdf_viewer = false
2023-09-27 10:09:53 -04:00
Shelley Vohr
1ba321b733
fix: rounded corners on vibrant macOS modals ( #39979 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-27 15:12:37 +02:00
Cheng Zhao
ad57867594
fix: apply size constraints to NSWindow ( #39975 )
2023-09-27 11:11:24 +02:00
Cheng Zhao
e613595982
build: allow overriding electron version ( #39974 )
2023-09-27 14:49:10 +09:00
NoxFly
624ae024e2
docs: Quick Start | Electron Forge chapter requirements updated ( #39639 )
...
* Update quick-start.md
Added a note to a pre-require of Electron Forge.
Otherwise users will have an error `Cannot make for rpm, the following external binaries need to be installed: rpmbuild`
* Add two required steps for Electron Forge to build without errors
* Update docs/tutorial/quick-start.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
---------
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2023-09-27 08:56:39 +09:00
michal-pichlinski-openfin
2190793fe6
fix: disable background throttling also in the viz::DisplayScheduler ( #38924 )
...
* fix: disable background throttling also in the `viz::DisplayScheduler`
`viz::DisplayScheduler` is responsible for drawing and swapping frames
in the `DisplayScheduler::DrawAndSwap` which is called from the
`DisplayScheduler::AttemptDrawAndSwap` if the `DisplayScheduler::ShouldDraw`
returns true. `ShouldDraw` depends on the `DisplayScheduler` visibility
and when it is not visible then it returns false.
In order to keep producing frames, disabling `backgroundThrottling`
should also prevent changing `DisplayScheduler` visibility to false.
`DisplayScheduler` lives in the `ui::Compositor` where every
`electron::NativewWindow` has its own `Compositor`. `electron::NativewWindow`
may be host of the multiple `electron::api::WebContents` instances which may
have different `WebPreferences` settings. Therefore if at least one
of the `WebContents` requires disabling throttling then all other `WebContents`
using the same window will have it disabled in the `ui::Compositor`.
BREAKING CHANGE:
`backgroundThrottling` set to false will disable frames throttling
in the `BrowserWindow` for all `WebContents` displayed by it.
Close: [#31016 ](https://github.com/electron/electron/issues/31016 )
* fixup! fix: disable background throttling also in the `viz::DisplayScheduler`
* fixup! fix: disable background throttling also in the `viz::DisplayScheduler`
* fixup! fix: disable background throttling also in the `viz::DisplayScheduler`
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-26 16:00:46 -04:00
Milan Burda
fa215f1009
chore: add deprecated app.runningUnderRosettaTranslation to breaking-changes.md ( #39897 )
...
chore: add deprecated app.runningUnderRosettaTranslation to breaking-changes.md
2023-09-26 13:42:56 -04:00
John Kleinschmidt
943bfa89ce
test: fixup parallel/test-node-output-error test ( #39972 )
2023-09-25 16:23:05 -04:00
Milan Burda
d75a852743
refactor: use type enum in file stats for asar archive ( #39889 )
2023-09-25 13:17:24 +02:00
David Sanders
18f517d8a6
test: vendor node-is-valid-window ( #39965 )
2023-09-25 12:43:57 +02:00
Leon
fdf1ecec47
docs: correct v24 Alpha date ( #39963 )
2023-09-24 23:03:29 -07:00
John Kleinschmidt
beb52ce61c
build: update patch ( #39950 )
2023-09-22 10:33:29 -07:00
Erick Zhao
2085aae915
docs: esm tutorial ( #39722 )
...
* docs: esm tutorial
* Update esm.md
* Update docs/tutorial/esm.md
Co-authored-by: Michaela Laurencin <35157522+mlaurencin@users.noreply.github.com >
* table adjustment
* fix lint
* Update docs/tutorial/esm.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* Update docs/tutorial/esm.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* Update docs/tutorial/esm.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* Update docs/tutorial/esm.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* Update docs/tutorial/esm.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* Update esm.md
---------
Co-authored-by: Michaela Laurencin <35157522+mlaurencin@users.noreply.github.com >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-09-22 09:49:16 -07:00
Fredy Whatley
7c2df8860b
docs: tiny update on example message-ports.md ( #39884 )
...
Update message-ports.md
fix multiplying object * a number. It would multiply number * number.
2023-09-21 11:46:23 -04:00
github-actions[bot]
56e45baeb8
build: update appveyor image to latest version - e-119.0.6019.2 ( #39924 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-09-21 09:49:04 -04:00
Robo
5f712fa325
chore: cherry-pick tls shutdown crash fix from upstream ( #39928 )
2023-09-21 09:47:31 -04:00
John Kleinschmidt
ba8915242a
ci: fix linux builds of forks ( #39933 )
2023-09-21 12:10:46 +02:00
Milan Burda
c9eb3deab5
chore: remove deprecated scroll-touch-{begin,end,edge} events ( #39814 )
...
* chore: remove deprecated `scroll-touch-{begin,end,edge}` events
* update spec/ts-smoke
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-20 17:41:29 -04:00
Valentin Hăloiu
58fd8825d2
fix: add support for ELECTRON_OZONE_PLATFORM_HINT env var ( #39792 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-20 16:21:23 -04:00
Milan Burda
6a8b70639b
fix: app.runningUnderARM64Translation() always returning true on Windows ARM64 ( #39920 )
...
fix: app.runningUnderARM64Translation() always returning true on ARM64
2023-09-20 16:15:19 -04:00
electron-roller[bot]
1766511e34
chore: bump node to v18.18.0 (main) ( #39915 )
...
* chore: bump node in DEPS to v18.18.0
* child_process: harden against prototype pollution
https://github.com/nodejs/node/pull/48726
* deps: upgrade to libuv 1.46.0
https://github.com/nodejs/node/pull/49591
* module: reduce url invocations in esm/load.js
https://github.com/nodejs/node/pull/48337
* Revert "test: remove test-crypto-keygen flaky designation"
https://github.com/nodejs/node/pull/48652
* fix: FTBTFS in ada dep
https://github.com/ada-url/ada/pull/464
https://github.com/ada-url/idna/pull/31
* fix: force_colors snapshot line number
* chore: fixup patch indices
* chore: update filenames.json
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-09-20 16:13:43 -04:00
electron-roller[bot]
28eda03aba
chore: bump chromium to 119.0.6019.2 (main) ( #39925 )
...
* chore: bump chromium in DEPS to 119.0.6018.4
* chore: update patches
* chore: bump chromium in DEPS to 119.0.6019.2
* chore: update patches
* 4876292: Roll libc++ from 7cee6b00d34a to 3e8a3b3c5d49 (6 revisions)
https://chromium-review.googlesource.com/c/chromium/src/+/4876292
* 4851616: [Extensions] Enable matchOriginAsFallback for dynamic content scripts
https://chromium-review.googlesource.com/c/chromium/src/+/4851616
* 4869393: [Extensions UserScripts] Add error messages for script matching errors
https://chromium-review.googlesource.com/c/chromium/src/+/4869393
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-09-20 16:08:26 -04:00
George Xu
7685f27b31
feat: expose app accessibility transparency settings api ( #39631 )
...
* feat: expose app accessibility transparency settings api
* docs: fix typo
* chore: add doc
* change to property
* add as property instead of method
* chore: fix lint
* rename function name in header
---------
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2023-09-20 12:48:02 -07:00
Shelley Vohr
463586a6c5
chore(deps): roll nan to pick up upstreams ( #39916 )
2023-09-20 15:37:10 +02:00
electron-roller[bot]
a39c0ee659
chore: bump chromium to 119.0.6017.0 (main) ( #39922 )
...
* chore: bump chromium in DEPS to 119.0.6017.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-09-20 11:30:38 +02:00
github-actions[bot]
0b0a8a5ef3
build: update appveyor image to latest version, e-119.0.6006.0 ( #39908 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-09-19 23:46:47 -07:00
electron-roller[bot]
986becdb4d
chore: bump chromium to 119.0.6016.0 (main) ( #39898 )
...
* chore: bump chromium in DEPS to 119.0.6016.0
* chore: update patches
* 4839124: Rename chrome/app/ branding strings
https://chromium-review.googlesource.com/c/chromium/src/+/4839124
* 4846834: Clean up PrintRenderFrameHelper interaction with Blink.
https://chromium-review.googlesource.com/c/chromium/src/+/4846834
* 4850759: Cache bounds of document pip windows
https://chromium-review.googlesource.com/c/chromium/src/+/4850759
* 4864669: Roll libc++ from 84fb809dd6da to 68a6f0b88287 (352 revisions)
https://chromium-review.googlesource.com/c/chromium/src/+/4864669
* 4863987: Remove five gpu workarounds.
https://chromium-review.googlesource.com/c/chromium/src/+/4863987
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-09-19 19:34:56 +02:00
Samuel Attard
75ea294b6f
build: use afs on aks instead of circle cache ( #39881 )
...
* build: use afs on aks instead of circle cache
* build: do not use aks logic on linux hosts checking out for macOS
* build: fix gn-check could-be-aks
* build: sigh
* build: no ls mnt
* build: keep build alive while debugging
* build: make debuggable
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-09-19 03:12:14 -07:00
spencer17x
18717ee62d
docs: add a more detailed explanation to cookies.flushStore() ( #37572 )
...
* docs: cookies.flushStore()
* docs: modify cookies.flushStore()
* Update docs/api/cookies.md
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-09-18 16:51:46 -04:00
electron-roller[bot]
73e33bc876
chore: bump chromium to 119.0.6006.0 (main) ( #39774 )
...
* chore: bump chromium in DEPS to 119.0.5994.0
* chore: update patches
* Add some more debugging for navigation origin & process lock mismatch
https://chromium-review.googlesource.com/c/chromium/src/+/4829483
* chore: bump chromium in DEPS to 119.0.5996.2
* chore: bump chromium in DEPS to 119.0.5997.0
* chore: bump chromium in DEPS to 119.0.6000.0
* chore: bump chromium in DEPS to 119.0.6002.0
* 4781766: Port remaining control color ids to the color pipeline
https://chromium-review.googlesource.com/c/chromium/src/+/4781766
* 4846057: Preloading: Move prefetch_prefs to chrome/browser/preloading/
https://chromium-review.googlesource.com/c/chromium/src/+/4846057
* chore: fixup patch indices
* 4848108: Pass v8::Isolate into FromV8Value calls on blink API
https://chromium-review.googlesource.com/c/chromium/src/+/4848108
* 4834471: Reland "[api] allow v8::Data as internal field"
https://chromium-review.googlesource.com/c/v8/v8/+/4834471
* 4808884: Major overhaul of ExceptionState in the v8 bindings
https://chromium-review.googlesource.com/c/chromium/src/+/4808884
* 4791643: [sandbox] Add a TRUSTED_SPACE and TRUSTED_LO_SPACE to the V8 heap
https://chromium-review.googlesource.com/c/v8/v8/+/4791643
* chore: bump chromium in DEPS to 119.0.6005.0
* 4776268: [v8][etw] Enables filtering of ETW tracing by URL
https://chromium-review.googlesource.com/c/chromium/src/+/4776268
* chore: fixup patch indices
* 4673258: WebSQL: Disable WebSQL by default
https://chromium-review.googlesource.com/c/chromium/src/+/4673258
* chore: bump chromium in DEPS to 119.0.6006.0
* chore: update patches
* 4854732: Reland^2 "[iterator-helpers] Unship due to incompat"
https://chromium-review.googlesource.com/c/v8/v8/+/4854732
* 4794133: [AWC] Add `display-state` CSS @media feature
https://chromium-review.googlesource.com/c/chromium/src/+/4794133
* fixup! Add some more debugging for navigation origin & process lock mismatch
* Revert "fixup! Add some more debugging for navigation origin & process lock mismatch"
This reverts commit 38fef075fc .
* 4858437: Revert "[iOS] Delete GN flags for mach absolute time ticks"
https://chromium-review.googlesource.com/c/chromium/src/+/4858437
* refactor: fix_crash_loading_non-standard_schemes_in_iframes.patch (#39879 )
* chore: 4869108: handle absolute and relative gn imports in autoninja
https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4869108
* chore: set GOMA_DIR for autoninja
* Revert "chore: 4869108: handle absolute and relative gn imports in autoninja"
This reverts commit d94c7720ba .
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Robo <hop2deep@gmail.com >
2023-09-18 16:44:09 -04:00
John Kleinschmidt
c8544e25df
build: fixup autoninja ( #39896 )
...
chore: set GOMA_DIR for autoninja
(cherry picked from commit 94f24bde4d )
(cherry picked from commit 90c1f6e1cb8d22d94dd01791dc4b9c3e0a7e86fc)
2023-09-18 16:43:27 -04:00
Milan Burda
9c7086074e
docs: add missing ipcRenderer.off() / ipcRenderer.addListener() aliases ( #39816 )
...
* docs: add missing `ipcRenderer.off()` / `ipcRenderer.addListener()` aliases
* Update docs/api/ipc-renderer.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* fix ipcRenderer.removeListener
* update ts-smoke
---------
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-09-19 01:58:20 +09:00
Milan Burda
d7e4bb6608
chore: remove no-op fullscreenWindowTitle option ( #39815 )
2023-09-19 01:55:47 +09:00
David Sanders
706653d5e4
ci: fix issue-commented workflow sytnax ( #39875 )
2023-09-17 19:23:59 -07:00
John Kleinschmidt
65952abc99
test: fixup node flakes ( #39871 )
...
chore: fixup node flakes
2023-09-15 03:43:13 -07:00
Athul Iddya
50ce02c312
fix: check PipeWire init before creating generic capturer ( #39846 )
...
Check if PipeWire can be initialized before creating generic capturer.
This harmonizes the conditions with the ones used in Linux
implementations of DesktopCapturer::CreateRawScreenCapturer and
DesktopCapturer::CreateRawWindowCapturer.
2023-09-14 15:50:20 -04:00
Milan Burda
fb6b92076e
fix: prevent gin_helper::Locker heap allocation ( #39847 )
...
fix: prevent gin_helper::Locker heap allocation
2023-09-14 15:48:43 -04:00
David Sanders
d6c04a3787
ci: ignore actions taken by triage bot ( #39855 )
...
* ci: ignore actions taken by triage bot
* ci: don't remove blocked label on bot comment
2023-09-14 14:01:07 -04:00
Samuel Attard
2791474a01
build: run on circle hosts for forks ( #39858 )
2023-09-14 11:07:11 -04:00
Charles Kerr
f6e8a42c48
refactor: remove unused fields, methods in gin_helper::Locker ( #39803 )
...
* refactor: remove unused field gin_helper::Locker::g_is_browser_process
refactor: remove unused field gin_helper::Locker::g_is_renderer_process
refactor: make field const gin_helper::Locker::locker_
* refactor: remove unused declaration gin_helper::Locker::new()
refactor: remove unused declaration gin_helper::Locker::delete()
* refactor: make field const electron::JavascriptEnvironment::locker_
* refactor: remove unused #include gin_helper/locker.h
2023-09-12 16:53:20 -07:00
David Sanders
650ef9a51c
build: update @electron/lint-roller to 1.9.0 ( #39812 )
2023-09-12 12:38:31 +02:00
Charles Kerr
a1c44a18e2
fix: NodeService order-of-destruction issue ( #39783 )
...
* refactor: make ElectronRendererClient::node_bindings_ a const ptr
refactor: make ElectronRendererClient::electron_bindings_ a const ptr
* fix: order-of-destruction bug in NodeService
js_env_ depends on the uv_loop from node_bindings_, but is destroyed after node_bindings_
* chore: revert unintentional commit
2023-09-12 12:27:14 +02:00
Shelley Vohr
ec9c8476fe
fix: keyCodes being incorrectly converted in webContents.sendInputEvent() ( #39776 )
...
fix: sendInputEvent keyCodes being incorrectly converted
2023-09-12 11:28:45 +02:00
Samuel Attard
470a14d8d4
docs: add missing macOS tag
2023-09-11 14:07:25 -07:00
Samuel Attard
5bff0fe342
feat: add new ElectronSquirrelPreventDowngrades flag ( #38625 )
...
* sketch
* feat: add new ElectronSquirrelPreventDowngrades flag
* test: remove only
* chore: fix lint
2023-09-11 11:54:51 -07:00
Samuel Attard
16aec702b4
fix: ensure app load is limited to real asar files when appropriate ( #39788 )
2023-09-11 11:51:14 -07:00
Samuel Attard
ac040bf734
build: update @electron/typescript-definitions to fix titlebaroverlay ( #39799 )
...
build: update @electron/typescript-definitions to fix titlebarstyle
2023-09-11 11:36:36 -07:00
David Sanders
aceb432f45
chore: remove deprecated systemPreferences APIs ( #39696 )
2023-09-11 11:34:13 -04:00
Calvin
d182794179
fix: frameless mica/acrylic windows ( #39708 )
...
* fix: backgroundMaterial works with frameless
* TODO: fix frameless mica/acrylic windows
* update caption color appropriately
* set background color properly
* refactor translucency method
* actualization
2023-09-11 14:51:54 +02:00
Shelley Vohr
ab185c058f
fix: fullscreen crashing with no roundedCorners and no frame ( #39747 )
2023-09-11 09:38:10 +02:00
David Sanders
2324c4d8fd
ci: ignore blocked label removed on closed issues ( #39793 )
2023-09-11 09:33:39 +02:00
Charles Kerr
792037b338
fix: raw_ptr destruction order in NodeBindings ( #39762 )
2023-09-07 18:25:17 -05:00
Samuel Attard
0b44f433c8
fix: make titlebar opaque while fullscreen ( #39759 )
2023-09-07 15:55:17 -07:00
github-actions[bot]
5fa9dee68a
build: update appveyor image to latest version e-118.0.5993.0 ( #39765 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-09-07 09:40:42 -04:00
Shelley Vohr
75bad34131
fix: prevent errors when extensions listen for chrome.tabs events ( #39729 )
...
* fix: prevent errors when extensions listen for chrome.tabs events
* chore: mark events unsupported in Electron
2023-09-07 12:41:24 +02:00
Robo
0a064cece9
fix: devtools allow restoring saved dock state on Windows ( #39734 )
...
* fix: devtools allow restoring saved dock state on Windows
* chore: address feedback
2023-09-07 17:14:01 +09:00
Milan Burda
f6e8544ef6
refactor: use replaceAll() instead of replace() when appropriate ( #39721 )
...
refactor: use replaceAll() instead of replace() when appropriate
2023-09-07 15:50:14 +09:00
electron-roller[bot]
029127a8b6
chore: bump chromium to 118.0.5993.0 (main) ( #39745 )
...
* chore: bump chromium in DEPS to 118.0.5993.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-09-06 19:27:25 -04:00
Milan Burda
e71a56d11e
refactor: const Module = require('module') as NodeJS.ModuleInternal; ( #38757 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-09-06 18:04:25 -04:00
Samuel Attard
65901f4c6a
fix: restore flag that allowed websockets to not be backgrounded ( #39738 )
2023-09-06 11:23:17 -07:00
github-actions[bot]
feb804cea8
build: update appveyor image to latest version ( #39716 )
...
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-09-06 14:07:34 -04:00
Shelley Vohr
34b79c15c2
build: fix depot_tools patch application ( #39742 )
...
build: fix depot_tools patch application
2023-09-06 07:49:00 -04:00
electron-roller[bot]
d9ba26273a
chore: bump chromium to 118.0.5991.0 (main) ( #39714 )
...
* chore: bump chromium in DEPS to 118.0.5982.0
* chore: bump chromium in DEPS to 118.0.5983.0
* chore: bump chromium in DEPS to 118.0.5985.0
* chore: bump chromium in DEPS to 118.0.5987.0
* chore: update v8 patches
* chore: update chromium patches
* chore: update patches
* [PEPC] Add new structs to contain permission request data
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4756727
* Add ThumbnailCapturer interface
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4812256
* Reland "[ChromeRefresh2023] Update document pip windows for Chrome Refresh"
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4814275
* chore: bump chromium in DEPS to 118.0.5989.0
* chore: bump chromium in DEPS to 118.0.5991.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-09-05 21:17:56 -04:00
David Sanders
c96bb9958f
chore: remove deprecated webContents.getPrinters() ( #39663 )
2023-09-05 10:16:41 +02:00
Milan Burda
d76a35afe4
test: remove a few casts to any ( #39713 )
2023-09-05 11:22:41 +09:00
Milan Burda
c5b20eeb13
test: add missing tests to api-web-frame-spec.ts ( #39720 )
...
test: add missing tests to spec/api-web-frame-spec.ts
2023-09-05 11:20:58 +09:00
John Kleinschmidt
4cc0f6fb78
test: fix flaky content tracing test ( #39682 )
2023-09-04 14:08:26 +02:00
Milan Burda
f27b034045
test: convert a few more specs to async/await ( #39712 )
2023-09-04 12:33:29 +02:00
Shelley Vohr
54d8402a6c
fix: broken chrome.scripting compilation ( #39725 )
...
fix: broken chrome.scripting impl after roll
2023-09-04 16:03:10 +09:00
Samuel Attard
89659fa9c9
chore: fix broken patches on main ( #39715 )
2023-09-01 01:28:01 -07:00
electron-roller[bot]
89117fdd99
chore: bump chromium to 118.0.5975.0 (main) ( #39531 )
...
* chore: bump chromium in DEPS to 118.0.5951.0
* chore: update printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4727894
No logic changes, but patch needed to be manually re-applied due to upstream code shear
* chore: update port_autofill_colors_to_the_color_pipeline.patch
No manual changes; patch applied with fuzz
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5953.0
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5955.0
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5957.0
* chore: update patches
* chore: include path of native_web_keyboard_event.h
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4758689
* chore: remove reference to eextensions/browser/notification-types.h
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4771627
* chore: update references to renamed upstream field NativeWebKeyboardEvent.skip_if_unhandled (formerly known as skip_in_browser
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4758689
Need a second pair of eyes on this commit. In particular the reference in content_converter.cc, skipInBrowser, seems to not be set or documented anywhere? Is this unused/vestigal code?
* chore: sync signature of ElectronExtensionsBrowserClient::IsValidContext() to upstream change
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4784198
* chore: add auto_pip_setting_helper.[cc,h] to chromium_src build
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4688277
Exiting upstream code used by chromium_src now depends on this new upstream class
* chore: bump chromium in DEPS to 118.0.5959.0
* chore: update add_maximized_parameter_to_linuxui_getwindowframeprovider.patch
Xref: add_maximized_parameter_to_linuxui_getwindowframeprovider.patch
manually adjust patch to minor upstream chagnes
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5961.0
* chore: bump chromium in DEPS to 118.0.5963.0
* chore: update patches
* 4780994: Rename various base files to "apple" since iOS uses them too
https://chromium-review.googlesource.com/c/chromium/src/+/4780994
* Many files moved from `mac` -> `apple`
This commit follows a handful of CLs that simply rename files/symbols to change `mac`
to `apple`
to signify their use across both macOS and iOS:
- 4784010: Move scoped_nsautorelease_pool to base/apple, leave a forwarding header
- 4790744: Move foundation_util to base/apple, leave a forwarding header
- 4790741: Move scoped_cftypreref to base/apple, leave a forwarding header
- 4787627: Move and rename macOS+iOS base/ files in PA to "apple"
- 4780399: Move OSStatus logging to base/apple
- 4787387: Remove forwarding headers
- 4781113: Rename message_pump_mac to "apple" because iOS uses it too
* fixup minor patch update error
A function param got dropped from this patch somewhere earlier
* chore: bump chromium in DEPS to 118.0.5965.2
* chore: update patches
* 4799213: Move ScopedTypeRef and ScopedCFTypeRef into base::apple::
https://chromium-review.googlesource.com/c/chromium/src/+/4799213
* Fix removed include to BrowserContext
In crrev.com/c/4767962 an include to BrowserContext was removed,
which was necessary for compilation. This broke only for us because
"chrome/browser/profiles/profile.h" includes that class, but we remove
all references to profiles.
* chore: bump chromium in DEPS to 118.0.5967.0
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5969.0
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5971.0
* chore: bump chromium in DEPS to 118.0.5973.0
* chore: update patches
* 4772121: [OOPIF PDF] Replace PDFWebContentsHelper with PDFDocumentHelper
https://chromium-review.googlesource.com/c/chromium/src/+/4772121
* 4811164: [Extensions] Do some cleanup in ChromeManagementAPIDelegate.
https://chromium-review.googlesource.com/c/chromium/src/+/4811164
* 4809488: Remove duplicate dnd functionality between Web and Renderer prefs
https://chromium-review.googlesource.com/c/chromium/src/+/4809488
Given that this is no longer an option of web preferences, we should
consider deprecating this option and then removing it.
* chore: bump chromium in DEPS to 118.0.5975.0
* chore: update patches
* fixup! chore: add auto_pip_settings_helper.{cc|h} to chromium_src build
* Reland "[windows] Remove RegKey::DeleteEmptyKey"
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4813255
* Ensure StrCat means StrCat
Refs https://chromium-review.googlesource.com/c/chromium/src/+/1117180
* fixup! Remove RegKey::DeleteEmptyKey
* Consistently reject large p and large q in DH
Refs https://boringssl-review.googlesource.com/c/boringssl/+/62226
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2023-09-01 15:54:59 +09:00
Milan Burda
0b0707145b
refactor: replace .forEach() with for-of ( #39691 )
...
* refactor: replace `.forEach()` with `for-of`
* refactor docs/fiddles/features/web-hid/renderer.js
2023-08-31 23:36:43 +09:00
David Sanders
7858921a1f
docs: fix return typing of ses.getExtension ( #39697 )
2023-08-30 18:10:32 -07:00
Samuel Attard
ac031bf8de
feat: I guess it's esm ( #37535 )
...
* fix: allow ESM loads from within ASAR files
* fix: ensure that ESM entry points finish loading before app ready
* fix: allow loading ESM entrypoints via default_app
* fix: allow ESM loading for renderer preloads
* docs: document current known limitations of esm
* chore: add patches to support blending esm handlers
* refactor: use SetDefersLoading instead of JoinAppCode in renderers
Blink has it's own event loop so pumping the uv loop in the renderer is not enough, luckily in blink we can suspend the loading of the frame while we do additional work.
* chore: add patch to expose SetDefersLoading
* fix: use fileURLToPath instead of pathname
* chore: update per PR feedback
* fix: fs.exists/existsSync should never throw
* fix: convert path to file url before importing
* fix: oops
* fix: oops
* Update docs/tutorial/esm-limitations.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* windows...
* windows...
* chore: update patches
* spec: fix tests and document empty body edge case
* Apply suggestions from code review
Co-authored-by: Daniel Scalzi <d_scalzi@yahoo.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* spec: add tests for esm
* spec: windows
* chore: update per PR feedback
* chore: update patches
* Update shell/common/node_bindings.h
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* chore: update patches
* rebase
* use cjs loader by default for preload scripts
* chore: fix lint
* chore: update patches
* chore: update patches
* chore: fix patches
* build: debug depshash
* ?
* Revert "build: debug depshash"
This reverts commit 0de82523fb .
* chore: allow electron as builtin protocol in esm loader
* Revert "Revert "build: debug depshash""
This reverts commit ff86b1243c .
* chore: fix esm doc
* chore: update node patches
---------
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Daniel Scalzi <d_scalzi@yahoo.com >
2023-08-30 17:38:07 -07:00
Erick Zhao
b8ac798344
docs: use node: imports for node core modules ( #39681 )
...
docs: use `node:` imports for node builtin modules
2023-08-30 11:55:23 -04:00
David Sanders
2182202e8e
ci: use new GitHub App for issue triage related actions ( #39635 )
2023-08-30 11:09:33 -04:00
Milan Burda
e66c1f6c56
refactor: generate 'chrome:// pages' specs to remove duplicate code ( #39684 )
2023-08-30 11:07:41 -04:00
Milan Burda
9280b79112
docs: enable contextIsolation in fiddles ( #39613 )
2023-08-29 15:52:16 -04:00
Milan Burda
2e79f34c84
docs: fix the minimum supported macOS version to Catalina ( #39667 )
...
docs: update the minimum supported macOS version to Catalina
2023-08-29 09:01:11 +09:00
Tomasz
f30fbebb98
fix: promise resolved to early when browser initiated in-page navigation v2 ( #39597 )
2023-08-28 12:37:28 -04:00
Shelley Vohr
f0ad357af2
feat: support chrome.scripting extension APIs ( #39395 )
...
feat: support chrome.scripting extension APIs
2023-08-28 10:39:28 -04:00
Milan Burda
5078cae861
chore: remove deprecated ipcRenderer.sendTo() ( #39087 )
...
chore: remove deprecated ipcRenderer.sendTo()
2023-08-28 10:29:27 -04:00
Robo
b5997a012d
chore: enable v8_enable_private_mapping_fork_optimization by default ( #39253 )
...
* chore: enable v8_enable_private_mapping_fork_optimization by default
* chore: cherry-pick 292a4a6 from v8
2023-08-28 10:16:20 -04:00
Shelley Vohr
f369b144d6
feat: add more extensions manifest key options ( #39599 )
...
feat: add more manifest key options
2023-08-28 10:02:22 -04:00
Milan Burda
f2f83a73fc
docs: use electron/main & electron/renderer imports in fiddles ( #39666 )
2023-08-28 20:23:10 +09:00
Shelley Vohr
d42a94ddde
fix: webview exiting fullscreen presentation mode ( #39616 )
2023-08-25 14:11:58 -04:00
David Sanders
3bdc7ce64a
ci: don't mark status/confirmed labeled issues as stale ( #39659 )
2023-08-25 14:09:28 -04:00
David Sanders
48e14bc54e
ci: fix deprecation review automation for PRs ( #39649 )
2023-08-25 14:09:12 -04:00
John Kleinschmidt
83760bd5c6
ci: explicitly use python3 to start goma ( #39650 )
...
* ci: explicitly use python3 to start goma
* ci: explicitly use python3 for goma
2023-08-24 21:43:24 -04:00
wanted002
e14964ccd0
feat: add setter and getter apis to specify udp port range for webrtc ( #39046 )
...
* feat:Add setter and getter apis to specify udp port range for webrtc (issue#9042)
* lint error fix for PR#39046
* feat: add setter and getter apis to specify udp port range for webrtc (issue#9042) , changed for codereview
* fix lint error
* fix lint errors in file api-web-contents-spec.ts
* feat: add setter and getter apis to specify udp port range for webrtc (issue#9042) , changed for review from itsananderson
* feat: add setter and getter apis to specify udp port range for webrtc (issue#9042) , changed for review from jkleinsc
* fix lint error
* feat: add setter and getter apis to specify udp port range for webrtc (issue#9042) , changed for review from codebyter
2023-08-24 17:21:22 -04:00
Athul Iddya
33000c4b42
feat: enable WaylandWindowDecorations by default ( #39582 )
2023-08-24 17:02:05 -04:00
Shelley Vohr
33e66b5cd0
fix: ensure windows respect fullscreenability with different resizability values ( #39620 )
...
* fix: ensure child windows respect fullscreenability/resizability when parent is fullscreen
* test: add an extra resize test
2023-08-24 16:54:08 -04:00
Shelley Vohr
2affecd4dd
feat: allow generating accessible pdf with printToPDF ( #39563 )
...
* feat: allow generating accessible pdf with printToPDF
* docs: mark generateTaggedPDF experimental
2023-08-24 11:01:59 -04:00
Erick Zhao
381c955bca
docs: mention alternative tooling ( #39337 )
...
* docs: mention alternative tooling
* Update forge-overview.md
* Update forge-overview.md
2023-08-24 12:03:30 +02:00
Charles Kerr
35969939a1
refactor: node::Environment self-cleanup ( #39604 )
...
* chore: savepoint
* chore: turn raw_ptr tests back off
2023-08-23 09:56:16 -04:00
Shelley Vohr
a8999bc529
fix: ensure BrowserView bounds are always relative to window ( #39605 )
...
fix: ensure BrowserView bounds are always relative to window
2023-08-23 09:55:31 -04:00
Shelley Vohr
522bba3dc6
chore: cleanup arc migration helpers ( #39606 )
2023-08-23 09:54:21 -04:00
Shelley Vohr
ddc7e3ebb3
fix: assert module in the renderer process ( #39540 )
2023-08-23 11:38:47 +02:00
Bruno Henrique da Silva
2481f94b4e
fix: instantiate tab video tracks from BrowserCaptureMediaStreamTrack ( #39074 )
...
return BrowserCaptureMediaStreamTrack instead of MediaStreamTrack
2023-08-23 10:49:24 +02:00
Shelley Vohr
e1d63794e5
fix: chrome.tabs 'url' and 'title' are privileged information ( #39595 )
...
fix: tabs url and title are privileged information
2023-08-22 14:56:58 +02:00
Cheng Zhao
bfa58df7c9
chore: move node headers generation to electron ( #39589 )
2023-08-22 11:13:49 +02:00
Milan Burda
c1898c39bf
chore: remove obsolete "simple" object annotations for the remote module ( #39486 )
2023-08-22 13:43:30 +09:00
Milan Burda
3102a257af
feat: expose dummy module.exports to the sandboxed preload scripts ( #39484 )
2023-08-22 13:43:08 +09:00
Milan Burda
90865fa97d
chore: remove deprecated getTrafficLightPosition() / setTrafficLightPosition() ( #39479 )
...
chore: remove deprecated getTrafficLightPosition() / setTrafficLightPosition()
2023-08-21 15:58:09 +02:00
Charles Kerr
3a91d1f1e1
fix: dangling raw_ptr in ElectronBrowserMainParts dtor ( #39539 )
...
* fix: dangling raw_ptr in ElectronBrowserMainParts dtor
* fixup! fix: dangling raw_ptr in ElectronBrowserMainParts dtor
Browser::WhenReady() holds a reference to JsEnv isolate so must come after
2023-08-21 10:29:25 +02:00
Milan Burda
09190085c0
refactor: add gin_helper::Dictionary::CreateEmpty() helper ( #39547 )
2023-08-21 10:43:41 +09:00
tr2-harada
9937a2bbe8
fix: explorer restart does not recreated thumbnail toolbar buttons ( #39551 )
...
fix: explorer restart does not recreated thumbnail toolbar buttons.
2023-08-21 09:43:49 +09:00
Shelley Vohr
95bf9d8adb
fix: chrome://gpu failing to load ( #39556 )
...
fix: chrome://gpu failing to load
2023-08-21 09:41:00 +09:00
Athul Iddya
c75e193a3e
fix: use tiled edges to calculate frame inset sizes in Linux ( #39523 )
...
Adapt to the window frame size calculation changes in CL 3970920 by
setting the inset sizes to 0 for tiled edges.
2023-08-17 14:26:49 -04:00
Shelley Vohr
0621f39296
test: enable parallel/test-debugger-random-port-with-inspect-port ( #39533 )
...
test: enable parallel/test-debugger-random-port-with-inspect-port
2023-08-17 12:16:14 -04:00
Shelley Vohr
aeb89b143b
chore: cleanup asar initialization logic ( #39532 )
2023-08-17 16:42:53 +02:00
Charles Kerr
213388cd87
refactor: prefer Sorted variant of MakeFixedFlatSet() ( #39537 )
...
perf: prefer Sorted variant of MakeFixedFlatSet()
https://chromium-review.googlesource.com/c/chromium/src/+/4660000
says that the sorted version is simpler at compile time because it
can skip MakeFixedFlatSet()'s compile-time dynamic sorting.
2023-08-17 08:58:04 -05:00
David Sanders
8374b9c2ad
ci: add prev-major variable to release board templating ( #39454 )
2023-08-17 14:24:57 +02:00
Shelley Vohr
00746e662b
feat: allow headers to be sent with webContents.downloadURL() ( #39455 )
...
feat: allow headers to be sent with webContents.downloadURL()
2023-08-17 14:17:55 +02:00
Shelley Vohr
31dfde7fa6
docs: note macOS bounds Tray offset ( #39512 )
...
* docs: note macOS bounds Tray offset
* Update docs/api/browser-window.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
---------
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-08-17 11:02:03 +02:00
Charles Kerr
dd8df3b0c4
fix: destruction order of js env fields ( #39521 )
...
isolate_ depends on isolate_holder_ and so must be destroyed first.
2023-08-16 23:06:24 -05:00
Milan Burda
b04ce6a5c8
docs: add missing webview render-process-gone event ( #39494 )
...
docs: add mising webview 'render-process-gone' event
2023-08-17 08:52:15 +09:00
Keeley Hammond
fce9ed65d6
build: update NMV to 118 ( #39538 )
2023-08-16 11:46:16 -07:00
github-actions[bot]
a4a3ba9341
build: update appveyor image to latest version - e-118.0.5949.0. ( #39524 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-08-16 14:06:19 -04:00
John Kleinschmidt
9d6d606192
build: fixup libcxx zip ( #39536 )
2023-08-16 14:05:39 -04:00
Shelley Vohr
1eb398b328
fix: crash when calling BrowserWindow.moveTop() on modal children ( #39499 )
...
fix: crash when calling moveTop() on modal children
2023-08-16 13:28:29 +02:00
Sergei Chestakov
f7a7085019
docs: fix typo in open-url API docs ( #39513 )
...
* Fix typo in open-url API docs
* Update app.md
2023-08-16 12:26:02 +02:00
electron-roller[bot]
0c45d160d6
chore: bump chromium to 118.0.5949.0 (main) ( #39505 )
...
* chore: bump chromium in DEPS to 118.0.5949.0
* chore: update mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4705386
no manual code changes; existing patch applied with fuzz
* chore: update printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4779059
no manual code changes; existing patch applied with fuzz
* chore: add OffScreenRenderWidgetHostView::InvalidateLocalSurfaceIdAndAllocationGroup()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4563504
Add an impl for a new pure virtual method that was added upstream.
Local impl inspired by upstream implementations in same CL
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-08-15 15:44:24 -04:00
Shelley Vohr
22429e2112
refactor: clean up Node.js cli arg parsing ( #39465 )
...
* refactor: clean up Node.js arg parsing
* chore: feedback from review
2023-08-15 14:49:21 -04:00
David Sanders
1d20ec5b99
ci: fix @electron/github-app-auth CLI usage ( #39507 )
2023-08-15 11:41:29 -07:00
Michaela Laurencin
22c359ac4f
docs: update timelines for E27 ( #39493 )
2023-08-15 12:57:48 -05:00
electron-roller[bot]
c3036d4557
chore: bump chromium to 117.0.5938.0 (main) ( #39375 )
...
* chore: bump chromium in DEPS to 117.0.5929.0
* chore: bump chromium in DEPS to 117.0.5931.0
* chore: bump chromium in DEPS to 117.0.5932.0
* chore: update patches
* 4728317: Prevent PrintRenderFrameHelper from printing when already printing
| https://chromium-review.googlesource.com/c/chromium/src/+/4728317
* 4739501: Use base::SequenceBound to manage SerialPortManagerImpl |
https://chromium-review.googlesource.com/c/chromium/src/+/4739501
* 4702051: Allow overriding source in install-sysroot.py | https://chromium-review.googlesource.com/c/chromium/src/+/4702051
* chore: update filenames.libcxx.gni
* 4727002: Rename "enable_arc2" to "enable_arc" |
https://chromium-review.googlesource.com/c/chromium/src/+/4727002
* chore: bump chromium in DEPS to 117.0.5934.0
* 4736873: Rename ColorSpaces methods on display::Display | https://chromium-review.googlesource.com/c/chromium/src/+/4736873
* 4727203: Replace bool with an enum in as suggested in DevtoolsManagerDelegate. | https://chromium-review.googlesource.com/c/chromium/src/+/4727203
* 4744479: [DevTools] Add 'generateTaggedPDF' option to DevTools Page.printToPDF | https://chromium-review.googlesource.com/c/chromium/src/+/4744479
* 4735893: Don't share WebUSB permissions with webviews | https://chromium-review.googlesource.com/c/chromium/src/+/4735893
* revert: update filenames.libcxx.gni
* chore: bump chromium in DEPS to 117.0.5936.0
* chore: update patches
* 4746465: SAA: Query for embargoed StorageAccess permissions | https://chromium-review.googlesource.com/c/chromium/src/+/4746465
* 4666325: Move buildtools/third_party/lib*/trunk source paths to third_party/lib*/src. | https://chromium-review.googlesource.com/c/chromium/src/+/4666325
* chore: bump chromium in DEPS to 117.0.5938.0
* chore: bump chromium in DEPS to 118.0.5939.0
* chore: update patches
* Send line bounds through CursorAnchorInfo on requestCursorUpdate
https://chromium-review.googlesource.com/c/chromium/src/+/4394588
* Fixup lint for Move buildtools/third_party/lib*/trunk source paths to third_party/lib*/src
* 4700305: [mac] Fix override of CHILD_PROCESS_EXE
https://chromium-review.googlesource.com/c/chromium/src/+/4700305
Needed because of 4729689: Reland "Remove redundant existence check in PathService" | https://chromium-review.googlesource.com/c/chromium/src/+/4729689
* 4753759: More consistent icon handling for menus.
https://chromium-review.googlesource.com/c/chromium/src/+/4753759
* chore: bump chromium in DEPS to 118.0.5941.0
* chore: update patches
* chore: bump chromium in DEPS to 117.0.5938.0
* test: update nan-spec-runner cflags
* build: fix isystem include path in nan-spec-runner
* fixup! 4666325: Move buildtools/third_party/lib*/trunk source paths to third_party/lib*/src. | https://chromium-review.googlesource.com/c/chromium/src/+/4666325
fix a few more instances of the old path
libc++.a and libc++abi.a are still in buildtools/
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-08-15 10:49:41 -05:00
Robo
bee5d94886
feat: support dns-result-order Node.js cli flag ( #39376 )
...
* feat: support dns-result-order Node.js cli flag
* chore: update docs
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* chore: remove patch
---------
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2023-08-15 12:19:45 +02:00
electron-roller[bot]
ef5d5f888d
chore: bump node to v18.17.1 (main) ( #39457 )
...
* chore: bump node in DEPS to v18.17.1
* chore: update patches
* policy: disable process.binding() when enabled
d4570fae35
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-08-15 10:06:55 +02:00
wgsheng
127584dc37
feat: add a 'title' parameter to openDevTools() ( #39047 )
...
* [Feature Request]: Add a parameter to openDevTools() that sets the DevTools window title bar
* all titles->title
* add GetDevToolsTitle(),update docs
* fix:lint error
* fix:lint error
* add setDevToolTitle
* lint errror
* lint errror
* ling errror (.md)
* build error
* build error in mac
* build error
* build error
* change docs
* std::string->std::u16string
* lint error
* build error
* build error
2023-08-15 14:32:53 +09:00
Shelley Vohr
8e3dcc8b17
refactor: update WebContentsZoomController ( #39428 )
...
refactor: update WebContentsZoomController
2023-08-15 10:33:30 +09:00
David Sanders
5d11c30720
ci: improve blocked/need-repro workflow ( #39451 )
...
* ci: improve blocked/need-repro workflow
* ci: let maintainer comments suppress bot comment
* ci: ensure failures bubble up
2023-08-15 10:32:38 +09:00
David Sanders
813853297d
ci: automation for deprecation project board ( #39477 )
2023-08-15 10:28:42 +09:00
David Sanders
dbff7bb531
ci: automation for issue triage board ( #39464 )
2023-08-15 10:28:17 +09:00
David Sanders
effafdf498
test: use as const to remove some usages of as any ( #39475 )
2023-08-15 10:24:32 +09:00
Shelley Vohr
9eeef55469
test: resolve failing Node.js line number failure ( #39490 )
2023-08-14 13:08:55 -04:00
David Sanders
1b3e4dae8d
chore: document deprecated systemPreferences APIs ( #39343 )
...
* chore: document deprecated systemPreferences APIs
* chore: forgot systemPreferences.appLevelAppearance
* test: expect deprecation messages
2023-08-14 11:34:04 +02:00
Milan Burda
d5f31c2208
docs: remove duplicate fiddles (part #2 ) ( #39474 )
...
docs: remove duplicate fiddles
2023-08-14 10:44:07 +02:00
David Sanders
d166182865
chore: remove deprecated systemPreferences color scheme events ( #39341 )
2023-08-14 10:37:18 +02:00
Cheng Zhao
cf658b700d
fix: use nested run loop in clipboard.readImage ( #39466 )
2023-08-14 10:35:37 +02:00
Milan Burda
08bbff5361
docs: handle opening links in the default browser in main.js (part #2 ) ( #39473 )
...
docs: handle opening links in the default browser in main.js
2023-08-14 10:04:29 +02:00
Shelley Vohr
117d5310f5
revert: promise resolved too early when browser initiates in-page navigation ( #39481 )
...
This reverts commit a0effaf9b8 .
2023-08-14 13:13:15 +09:00
John Kleinschmidt
f16dffccd0
ci: fixup known hosts for linux publish ( #39437 )
...
* ci: fixup known hosts for linux publish
* build: use 2023 known hosts
* build: use rebuilt docker image
* Revert "build: use rebuilt docker image"
This reverts commit f9506a9cc0 .
---------
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
2023-08-10 12:40:58 -04:00
Milan Burda
255064659f
docs: update external links ( #39421 )
2023-08-10 11:55:52 +02:00
David Sanders
11600c5f96
chore: document deprecated webContents.getPrinters API ( #39356 )
...
* chore: document deprecated webContents.getPrinters API
* chore: remove duplicate deprecation warning
2023-08-10 11:50:30 +02:00
Milan Burda
1ce2fdd63d
docs: fix take-screenshot fiddle to use desktopCapturer in main.js ( #39420 )
2023-08-10 10:53:23 +02:00
Milan Burda
c4d417b6f6
docs: remove duplicate fiddles ( #39419 )
2023-08-10 10:52:52 +02:00
Milan Burda
0f49868234
chore: deprecate senderId and senderIsMainFrame ( #39381 )
2023-08-09 10:38:48 -04:00
Shelley Vohr
70508b5273
chore: update _api_features manifest requirements ( #39412 )
...
chore: update api_resources manifest requirements
2023-08-09 10:38:13 -04:00
Tomasz
a0effaf9b8
fix: promise resolved to early when browser initiated in-page navigation ( #39260 )
2023-08-09 16:06:39 +02:00
Shelley Vohr
d9329042e2
feat: add support for chrome.tabs.query ( #39330 )
...
* feat: add support for tabs.query
* fix: scope to webContents in current session
* test: add test for session behavior
2023-08-09 14:47:19 +02:00
David Sanders
0425454687
test: helper to expect deprecation warnings ( #39405 )
2023-08-09 11:01:52 +02:00
Samuel Attard
d24d8f1f78
fix: avoid package.json check on built-in modules ( #39418 )
2023-08-09 00:32:00 -07:00
electron-roller[bot]
ab08803959
chore: bump node to v18.17.0 (main) ( #39154 )
...
* chore: bump node in DEPS to v18.17.0
* chore: update build_modify_js2c_py_to_allow_injection_of_original-fs_and_custom_embedder_js.patch
Xref: https://github.com/nodejs/node/pull/46930
manually sync patch to minor upstream code shear
* chore: update build_ensure_native_module_compilation_fails_if_not_using_a_new.patch
Xref: https://github.com/nodejs/node/pull/48248
manually sync patch to minor upstream code shear
* chore: update fix_expose_the_built-in_electron_module_via_the_esm_loader.patch
Xref: https://github.com/nodejs/node/pull/47824
chore: upstream func throwIfUnsupportedURLProtocol() has been removed, so no need to patch it
* chore: update api_pass_oomdetails_to_oomerrorcallback.patch
Xref: https://github.com/nodejs/node/pull/47695
manually sync patch to minor upstream code shear
* chore: remove fix_prevent_changing_functiontemplateinfo_after_publish.patch
Xref: https://github.com/nodejs/node/pull/46979 (upstreamed patch)
Xref: https://chromium-review.googlesource.com/c/v8/v8/+/2718147 (related)
* chore: update fix_adapt_debugger_tests_for_upstream_v8_changes.patch
Xref: https://github.com/nodejs/node/pull/47274
manually sync patch to minor upstream code shear
some tests moved from sequential to parallel
* chore: remove fix_libc_buffer_overflow_in_string_view_ctor.patch
Xref: fix_libc_buffer_overflow_in_string_view_ctor.patch
patch is no longer needed due to upstream bump to ada 2.2.0
* chore: remove fix_preventing_potential_oob_in_ada_no_scheme_parsing.patch
Xref: https://github.com/nodejs/node/pull/47339
patch is no longer needed due to upstream bump to ada 2.2.0
* chore: rebuild filenames.json
several files removed/added/changed upstream
* chore: update build_add_gn_build_files.patch
upstream dep histogram 0.11.7 moved its include path from src/ to include/
Xref: https://github.com/nodejs/node/pull/47742
* chore: update fix_crypto_tests_to_run_with_bssl.patch
Xref: https://github.com/nodejs/node/pull/47160
BoringSSL doesn't support BIO_s_secmem() (a secure heap variant of
BIO_s_mem()), so use BIO_s_mem() instead.
Related discussion of secure heap support in BoringSSL:
https://boringssl-review.googlesource.com/c/boringssl/+/54309
* fix: ftbfs in node dep ada
* fix: ftbfs in node dep uvwasi
* chore: rebuild patches
* chore: update fix_handle_boringssl_and_openssl_incompatibilities.patch
Upstream used `BIO_s_secmem()`, a secure heap variant of `BIO_s_mem()`.
BoringSSL doesn't support it, so this PR opts for `BIO_s_mem()` instead.
Upstream Node.js change that prompted this:
https://github.com/nodejs/node/pull/47160
Related discussion of BoringSSL support of secure heap:
https://boringssl-review.googlesource.com/c/boringssl/+/54309
* fix: work around Node 18 isURL() regression
* chore: sort script/node-disabled-tests.json alphabetically
* test: add parallel/test-snapshot-argv1 to disabled list
test: add parallel/test-snapshot-namespaced-builtin to disabled list
We don't support that type of snapshotting at the moment.
* chore: disable flaky node test parallel/test-dgram-send-cb-quelches-error
fails upstream in v18.x on my box as well
* ci: ensure spawned node tests have ELECTRON_RUN_AS_NODE set
* fixup! fix: work around Node 18 isURL() regression
fix: infinite loop regression
* fixup! fix: work around Node 18 isURL() regression
* chore: patch fixtures/errors/force_colors.snapshot
The line numbers in the stacktrace from our v8 build don't match what
Node's tests are expecting, so update the stacktrace to match our build.
The specific numbers probably aren't t needed for the force_colors test,
which is trying to see whether or not the lines are greyed out. One option
is to upstream a test change to stop hardcoding the stacktrace.
* fixup! fix: work around Node 18 isURL() regression
fix; pull in upstream bugfix
* fixup! ci: ensure spawned node tests have ELECTRON_RUN_AS_NODE set
chore: do not inject ELECTRON_RUN_AS_NODE in test-assert-colors.js
* chore: disable flaky node test parallel/test-debugger-random-port-with-inspect-port
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-08-08 17:52:51 -05:00
Shelley Vohr
5e59ddca1a
chore: update chrome.runtime.getPlatformInfo impl ( #39392 )
...
chore: update chrome.runtime.getPlatformInfo impl
2023-08-08 22:29:03 +02:00
Shelley Vohr
1b3c63145c
chore: remove i18n JSON spec ( #39391 )
2023-08-08 14:02:16 -04:00
Samuel Attard
814735cb72
build: use aks backed runners for linux builds ( #39403 )
...
* build: test aks runner
* build: stress test
* build: use super-large nodes for publish jobs
* build: try using aks for everything...
* build: shared host not great
* build: clean up
* build: apparently tests dont run in kube infra?
* build: do not change test size
2023-08-08 09:56:41 -07:00
David Sanders
dcf1c65426
chore: fix ipcRenderer.sendTo deprecation warning ( #39342 )
2023-08-08 13:49:56 +02:00
Milan Burda
24c9cbcc0a
docs: handle opening links in the default browser in main.js ( #39379 )
...
docs: handle opening links in the default browser in the main process
2023-08-08 12:35:59 +02:00
Robo
eecfaec8c9
fix: crash when closing active macOS native tab ( #39394 )
...
fix: crash when closing current active macOS native tab
2023-08-08 17:45:03 +09:00
Shelley Vohr
8f4f82618c
fix: removeBrowserView draggable region removal ( #39387 )
...
fix: removeBrowserView draggable region removal
Closes https://github.com/electron/electron/issues/39377 .
2023-08-08 10:23:14 +02:00
github-actions[bot]
1548a2f9fb
build: update appveyor image to e-117.0.5921.0 ( #39390 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-08-07 13:08:53 -07:00
Milan Burda
3d45429667
refactor: use for-of instead of for simple array iteration ( #39338 )
2023-08-07 11:30:15 +02:00
Shelley Vohr
67523a47b4
fix: chrome.tabs.update return value ( #39365 )
...
fix: chrome.tabs.update return value
2023-08-07 10:03:45 +02:00
David Sanders
330c775252
docs: fix description of pageRanges ( #39378 )
...
Co-authored-by: Alain BUFERNE <albu.consult@gmail.com >
2023-08-07 09:56:36 +02:00
Shelley Vohr
dc707ee938
fix: macOS tray button selection with VoiceOver ( #39352 )
2023-08-07 09:52:18 +02:00
John Kleinschmidt
1eb6e45a36
ci: fix hang when validating AppVeyor artifacts ( #39362 )
2023-08-07 09:51:53 +02:00
Shelley Vohr
2e0517c0ad
feat: allow more Node.js cli flags in main process ( #39344 )
...
* feat: allow more Node.js cli flags in main process
* docs: update cli switch documentation
2023-08-04 19:59:40 +09:00
electron-roller[bot]
c5b9f766f3
chore: bump chromium to 117.0.5923.0 (main) ( #39304 )
...
* chore: bump chromium in DEPS to 117.0.5921.0
* chore: update chromium patches
* 4721409: Remove redundant ARC configuration in /components | https://chromium-review.googlesource.com/c/chromium/src/+/4721409
* 4643750: Add V8_LOW_PRIORITY_TQ for main thread | https://chromium-review.googlesource.com/c/chromium/src/+/4643750
* 4022621: Re-register status item when owner of status watcher is changed | https://chromium-review.googlesource.com/c/chromium/src/+/4022621
* chore: update V8/boringssl patches
* fixup! 4643750: Add V8_LOW_PRIORITY_TQ for main thread | https://chromium-review.googlesource.com/c/chromium/src/+/4643750
* chore: bump chromium in DEPS to 117.0.5923.0
* build [debug]: remove assert
4722125: Update enterprise content analysis buildflags usage | https://chromium-review.googlesource.com/c/chromium/src/+/4722125
* chore: manually rollback to 117.0.5921.0
* build [arc]: ARC conversion in auto_updater
* build [arc]: ARC conversion in browser/api
* build [arc]: ARC conversion in notifications/mac
* build [arc]: ARC conversion in in_app_purchase
* build [arc]: ARC conversion in browser/ui
* build [arc]: ARC conversion in ui/cocoa
* build [arc]: ARC conversion in shell/common
* build [arc]: ARC conversion in OSR
* build [arc]: ARC conversion in login_helper
* build [arc]: ARC conversion in app_mas
* build [arc]: fix up ARC syntax (thanks @codebytere!)
* 4726946: [Extensions] Work around dangling BrowserContext pointer. | https://chromium-review.googlesource.com/c/chromium/src/+/4726946
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
2023-08-04 10:47:29 +02:00
Shelley Vohr
6d0e8044eb
fix: update chrome.tabs for Manifest v3 ( #39317 )
2023-08-03 18:34:02 +02:00
Shelley Vohr
f8b05bc127
feat: support minimum_chrome_version manifest key ( #39256 )
...
feat: support minimum_chrome_version extension key
2023-08-03 11:38:31 -04:00
David Sanders
e6931a788f
docs: clean up removed systemPreferences methods ( #39334 )
2023-08-03 14:40:29 +02:00
Robo
e96b1613a4
fix: destroy message port backend when JS env exits ( #39335 )
2023-08-03 14:30:19 +02:00
Milan Burda
fe93f69e5a
refactor: use Set instead of Array when appropriate ( #39324 )
2023-08-03 14:29:57 +02:00
Milan Burda
c5e50e4882
refactor: use more appropriate array methods ( #39321 )
2023-08-02 19:43:45 +02:00
Shelley Vohr
7686d1c379
docs: correct powerSaveBlocker.stop(id) return type ( #39320 )
...
doc: correct powerSaveBlocker.stop return type
2023-08-02 11:39:40 +02:00
Shelley Vohr
303b707fbf
fix: update chrome.i18n for Manifest v3 ( #39291 )
...
fix: update chrome.i18n for Manifest v3
2023-08-02 11:02:16 +02:00
github-actions[bot]
aaae2abf20
build: update appveyor image to latest version e-117.0.5911.0. ( #39318 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-08-02 10:23:21 +02:00
David Sanders
0eef6c67d1
docs: fix return type for ipcMain handle functions ( #39237 )
2023-08-01 10:02:20 +02:00
Shelley Vohr
1f19a74417
fix: potential crash calling tray.popUpContextMenu() ( #39231 )
...
fix: potential crash calling tray.popUpContextMenu
2023-08-01 15:07:30 +09:00
Shelley Vohr
c8f7a0e052
fix: Chrome Extensions service worker host registration ( #39290 )
2023-08-01 15:04:38 +09:00
David Sanders
b2c62d6ad1
fix: initial dark mode title bar on Windows 10 ( #39287 )
2023-07-31 22:02:23 -07:00
electron-roller[bot]
cfc0826b65
chore: bump chromium to 117.0.5913.0 (main) ( #39172 )
...
* chore: bump chromium in DEPS to 117.0.5899.0
* 4686653: webui: Filter out non-chrome scheme URLs in WebUIConfigMap
https://chromium-review.googlesource.com/c/chromium/src/+/4686653
* 4696355: Remove deprecated version of base::CommandLine::CopySwitchesFrom()
https://chromium-review.googlesource.com/c/chromium/src/+/4696355
* chore: fixup patch indices
* 4603888: Reland "Enable raw_ref check on linux"
https://chromium-review.googlesource.com/c/chromium/src/+/4603888
* chore: bump chromium in DEPS to 117.0.5901.0
* chore: update patches
* chore: bump chromium in DEPS to 117.0.5903.0
* chore: bump chromium in DEPS to 117.0.5903.2
* chore: bump chromium in DEPS to 117.0.5905.0
* 4706792: Printing: Add debug code for a DispatchBeforePrintEvent() failure
https://chromium-review.googlesource.com/c/chromium/src/+/4706792
* 4704786: Refactor libunwind build rules/flags
https://chromium-review.googlesource.com/c/chromium/src/+/4704786
* 4701710: [Linux Ui] Set toolkit dark preference based on FDO dark preference
https://chromium-review.googlesource.com/c/chromium/src/+/4701710
* chore: fixup patch indices
* chore: bump chromium in DEPS to 117.0.5907.0
* chore: bump chromium in DEPS to 117.0.5909.2
* chore: update patches
* chore: bump chromium in DEPS to 117.0.5911.0
* chore: update patches
* chore: build-what-we-include
* fix: set allowFileAccess on devtools extensions correctly
Ref: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4714725
* 4670615: Reland "[iterator-helpers] Shipping iterator helpers"
https://chromium-review.googlesource.com/c/v8/v8/+/4670615
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
2023-07-31 10:47:32 -07:00
Shelley Vohr
8e5bb4949b
fix: skip artifact validation for doc-only PRs ( #39296 )
2023-07-31 09:59:51 -04:00
Milan Burda
724f90a2a7
refactor: throw errors directly in async functions ( #39233 )
2023-07-31 10:39:37 +02:00
David Sanders
68701c4c3c
chore: update @electron/lint-roller and improve doc type checks ( #39262 )
2023-07-31 10:39:01 +02:00
hunter
2b283724ce
docs: fix some string union type ( #39258 )
...
* docs: fix some string union types
Improve Type Union Typings in the Docs
* test: add smoke tests
* test: update `ses.clearStorageData` test case
* test: update `ses.clearStorageData` test case
---------
Co-authored-by: mhli <mhli@hillinsight.com >
2023-07-31 10:32:59 +02:00
Shelley Vohr
6df392162f
fix: pageVisibility state when backgroundThrottling disabled ( #39223 )
...
fix: pageVisibility state when backgroundThrottling disabled
2023-07-28 10:48:25 +02:00
Milan Burda
c9bae5da8e
refactor: use optional catch binding ( #39232 )
2023-07-27 10:53:45 -04:00
Samuel Attard
8dea783805
fix: do not resolve electron entrypoints on disk ( #39247 )
2023-07-26 22:10:58 -07:00
Shelley Vohr
695fcf3cb2
fix: reparenting after BrowserWindow.destroy() ( #39062 )
...
fix: reparenting after BrowserWindow.destroy()
2023-07-26 16:47:32 +02:00
Athul Iddya
fa5b1be6f3
fix: delete desktop capturers when they're not needed ( #39194 )
...
* fix: delete desktop capturers when they're not needed
Delete desktop capturer objects by resetting the DesktopMediaList
objects that own them after the sources have been collected. Capturers
that are not delegated are already being reset via a patch on
NativeDesktopMediaList. That is not safe for delegated capturers as
thumbnail generation depends on user events. Deleting the
DesktopMediaList operation is safe for all capturers and releases OS
capture resources as soon as possible.
* fix: add a patch to clean up PipeWire resources
Adding a patch to workaround a Chromium issue:
https://bugs.chromium.org/p/chromium/issues/detail?id=1467060
The patch can be removed when the issue is resolved.
2023-07-26 10:40:19 +02:00
Shelley Vohr
38c3d8df29
fix: traffic lights not working when child windows are restored via parent window ( #39225 )
2023-07-26 10:10:34 +02:00
Shelley Vohr
12548294c0
fix: resizable: false should disable fullscreen button at start ( #39086 )
...
fix: resizable should disable fullscreen button at start
2023-07-25 12:18:36 -04:00
Milan Burda
455f57322f
refactor: use TypeError instead of generic Error when appropriate ( #39209 )
...
refactor: use TypeError instead of generic Error when appropriate
2023-07-25 12:08:46 -04:00
George Xu
77cc1d6ffa
chore: add dependencies upgrade policy to readme ( #39163 )
...
* chore: add dependencies upgrade policy to readme
as per wg-releases july 19 meeting
https://docs.google.com/document/d/1XWdD4uAu9m8Gcpiw1j5fLwwZ_hU4rce9JyTpuKU6uM8/edit?pli=1
* Update CONTRIBUTING.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-07-25 11:58:16 +02:00
John Kleinschmidt
e543126957
ci: fail appveyor build if artifacts are missing ( #39210 )
2023-07-24 16:38:34 -04:00
Shelley Vohr
1231f0a734
docs: document idleDetector permissions ( #39180 )
...
doc: document idleDetector permissions
2023-07-24 14:57:41 -04:00
github-actions[bot]
cd408a826c
build: update appveyor image to latest version - e-117.0.5897.0 ( #38970 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-07-24 12:44:27 -04:00
Milan Burda
3df6d337f3
feat: add senderIsMainFrame to messages sent via ipcRenderer.sendTo() ( #38868 )
...
* feat: add isMainFrame to events emitted via ipcRenderer.sendTo()
* chore: rename isMainFrame to senderIsMainFrame
2023-07-24 14:27:30 +02:00
Michaela Laurencin
09e6e4b9a7
docs: update window-open.md to include target ( #39162 )
...
Update window-open.md to include target
2023-07-24 12:33:41 +02:00
David Sanders
2caf08059e
docs: update @electron/fuses code examples ( #39175 )
2023-07-24 12:33:26 +02:00
David Sanders
1ca3a7d3c9
docs: fill in Node.js version for v25 release ( #39187 )
2023-07-24 12:33:10 +02:00
Milan Burda
2c52eb7e1c
refactor: replace .indexOf() with .includes() ( #39195 )
2023-07-24 12:32:54 +02:00
Athul Iddya
9cd5de7588
fix: use generic capturer to list both screens and windows when possible ( #39111 )
...
Screensharing with PipeWire via XDG Desktop Portal requires explicit
user permission via permission dialogs. Chromium has separate tabs for
screens and windows and thus its portal implementation requests
permissions separately for each. However, the screencast portal has no
such limitation and supports both screens and windows in a single
request.
WebRTC now supports this type of capture in a new method called
called `CreateGenericCapturer`. The `desktopCapturer` implementation has
been modified to use it. Additionally, Chromium has been patched to use
same generic capturer to ensure that the source IDs remain valid for
`getUserMedia`.
2023-07-21 16:03:01 -07:00
David Sanders
a83f9c06d7
docs: update binding linking example in creating API doc ( #39177 )
2023-07-21 14:33:39 -07:00
David Sanders
b66449add5
ci: don't set column for draft issues on new project board ( #39178 )
2023-07-21 14:33:14 -07:00
Milan Burda
ada8eb33b2
feat: deprecate ipcRenderer.sendTo() ( #39091 )
...
* feat: deprecate ipcRenderer.sendTo()
* docs: add _Deprecated_ to ipcRenderer.sendTo()
2023-07-21 11:16:44 +02:00
David Sanders
3a5e2dd90c
docs: remove redundant IPC event sections ( #39133 )
...
* docs: use correct names for IPC events
* docs: remove redundant IPC event sections
2023-07-20 11:43:08 -07:00
Shelley Vohr
6688b0f31a
build: fix Appveyor test workflow checkout ( #39137 )
...
* build: fix Appveyor test workflow checkout
* fix: +refs/pull/num/merge -> +refs/pull/num/head
* chore: add to appveyor-woa as well
2023-07-20 11:19:57 +02:00
David Sanders
565705bd1d
docs: fix casing of _Deprecated_ ( #39152 )
2023-07-20 11:16:20 +02:00
electron-roller[bot]
e02cf8674d
chore: bump chromium to 117.0.5897.0 (main) ( #39147 )
...
* chore: bump chromium in DEPS to 117.0.5896.0
* chore: update patches
* 4622260: [Service Workers] Allow fetches from workers to use auto-picked certs
https://chromium-review.googlesource.com/c/chromium/src/+/4622260
* chore: bump chromium in DEPS to 117.0.5897.0
* 4665672: [ProfileSelections] Transition extension keyed factories to use Profile Selections
https://chromium-review.googlesource.com/c/chromium/src/+/4665672
* chore: fixup patch indices
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-07-20 09:36:59 +02:00
dependabot[bot]
3e7c904f02
build(deps): bump word-wrap from 1.2.3 to 1.2.4 ( #39148 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 19:24:26 +02:00
Charles Kerr
f2b32af1f6
perf: small perf changes in HidChooserController ( #39057 )
...
* perf: avoid string temporary in HidChooserController::PhysicalDeviceIdFromDeviceInfo()
return a const ref instead of a new string
* perf: avoid second map lookup in HidChooserController::AddDeviceInfo()
2023-07-19 16:54:30 +02:00
Cheng Zhao
cc39ddb728
test: add some environment variables for controlling tests ( #39149 )
...
chore: add some environment variables for controlling tests
2023-07-19 16:54:08 +02:00
electron-roller[bot]
bbdd037219
chore: bump chromium to 117.0.5892.0 (main) ( #39118 )
...
* chore: bump chromium in DEPS to 117.0.5892.0
* 4670267: Don't send javascript: or empty URLs to browser in CreateNewWindow.
https://chromium-review.googlesource.com/c/chromium/src/+/4670267
* 4662090: Add metrics for WebGPU support
https://chromium-review.googlesource.com/c/chromium/src/+/4662090
* 4672599: Use set_defaults for mac_app_bundle
https://chromium-review.googlesource.com/c/chromium/src/+/4672599
* 4663771: usb: Add connection count tracking methods for UsbDelegate
https://chromium-review.googlesource.com/c/chromium/src/+/4663771
* 4664578: Remove unused parameter from ExtensionsGuestViewManagerDelegate ctor
https://chromium-review.googlesource.com/c/chromium/src/+/4664578
* 4622253: usb: Create classes for usb system tray icon
https://chromium-review.googlesource.com/c/chromium/src/+/4622253
* 4678263: Remove ARC support from scoped_nsobject
https://chromium-review.googlesource.com/c/chromium/src/+/4678263
* chore: follow-up ARC changes and missing guard corrections
* chore: don't mark 0-param ctor explicit
Follow up to https://chromium-review.googlesource.com/c/chromium/src/+/4664578
* chore: fixup patch indices
* 4670865: Merge ObjectProxy::CallMethodAndBlock{,WithErrorDetails}.
https://chromium-review.googlesource.com/c/chromium/src/+/4670865
* chore: follow-up ARC changes and missing guard corrections
* fixup: retain ElectronApplicationDelegate
* fix: correct rustc binary
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-07-19 00:26:27 +02:00
Shelley Vohr
ee4460ac68
build: correct codespaces devcontainer extensions settings ( #39123 )
2023-07-19 00:20:11 +02:00
Shelley Vohr
00d96970cb
build: fixup Codespaces build-tools setup ( #39138 )
...
* build: fixup Codespaces build-tools setup
* oops evm.testing1.json -> evm.testing.json
2023-07-18 22:58:26 +02:00
Keeley Hammond
139774ce48
docs: update stable dates ( #39128 )
2023-07-18 09:30:04 -07:00
Milan Burda
47951cc95b
refactor: use Date.now() instead of +new Date() ( #38901 )
...
refactor: use Date.now()
2023-07-18 10:58:02 +02:00
Shelley Vohr
8874306dc0
fix: window.open causing occasional Node.js crashes ( #38754 )
...
* fix: window.open causing occasional Node.js crashes
* chore: always free isolate data
* chore: clear pending ticks in worker thread
* fix: UAF crash when creating WebWorkerObserver
---------
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2023-07-18 10:41:50 +02:00
ZWJKFLC
4ab0a5ade4
docs: fix a capitalization problem in messagePort tutorial ( #39083 )
...
fix a capitalization problem
For a rookie, this little mistake took a long time to find out.
2023-07-17 10:41:46 -07:00
Milan Burda
626f46f75a
refactor: use node scheme imports in docs/fiddles ( #39110 )
2023-07-17 10:30:53 +02:00
electron-roller[bot]
9645f7f6d8
chore: bump chromium to 117.0.5884.1 (main) ( #38969 )
...
* chore: bump chromium in DEPS to 117.0.5866.0
* chore: bump chromium in DEPS to 117.0.5868.0
* chore: update mas_no_private_api.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4634925
Minor manual patch syncing due to upstream code shear
* chore: update mas_disable_remote_layer.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4647191
Manually sync patch to minor upstream code shear
* chore: update mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4641746
No manual changes; patch applied with fuzz
* chore: update mas_avoid_usage_of_private_macos_apis.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4634925
Manually sync base/process/launch_mac.cc to minor upstream shear
Manually sync base/mac/foundation_util.mm to upstream changes:
_CFIsObjC use has been removed upstream, so we no longer need
to remove it 🎉
* chore: update printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4658496
Manually sync patch to minor upstream code shear
* chore: update disable_color_correct_rendering.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4625254
Manually sync patch to minor upstream code shear
* chore: update feat_expose_raw_response_headers_from_urlloader.patch
Xref: services/network/public/cpp/resource_request.cc
No manual changes; patch applied with fuzz
* chore: update add_electron_deps_to_license_credits_file.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4634961
No manual changes; patch applied with fuzz
* chore: update build_only_use_the_mas_build_config_in_the_required_components.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4648411
No manual changes; patch applied with fuzz
* chore: update patches
* fixup! chore: update add_electron_deps_to_license_credits_file.patch
chore: license files must be an array
* chore: bump chromium in DEPS to 117.0.5870.0
* chore: update patches
* chore: run ./script/gen-libc++-filenames.js
* chore: update json_parse_errors_made_user-friendly.patch
Xref: https://chromium-review.googlesource.com/c/v8/v8/+/4652014
v8 error message changed upstream; update Node test to match it
* chore: bump chromium in DEPS to 117.0.5872.0
* chore: update patches
* chore: explicitly cast x11::Window to unsigned int
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4661049
This is an `enum class Window : uint32_t` defined in ui/gfx/x/xproto.h.
Previous versions of clang let this implicit cast happen,
but it generates a warning in the new clang roll.
* chore: remove unused #include
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4650453
header was removed upstream, so FTBFS unless removed here
* chore: add include guard patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4628373
h/t @jkleinsc
* chore: bump chromium in DEPS to 117.0.5874.0
* chore: update render_widget_host_view_mac.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4661244
Manually sync patch to minor upstream code
* chore: update mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4653209
Manually sync patch to upstream code shear
* chore: update build_only_use_the_mas_build_config_in_the_required_components.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4653209
Manually sync patch to minor upstream code shear
* chore: update GetInitiatorProcessId()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4641991
trivial upstream naming change: s/ProcessID/ProcessId/
* chore: sync to upstream SetInputRegion() changes
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4665245
Simple upstream chang: SetInputRegion() used to take a gfx::Rect* where
`nullptr` meant "no opaque region". The function signature changed to
absl::optional<gfx::Rect> w/the same meaning.
* chore: sync to upstream SetOpaqueRegion() changes
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4656738
Simple upstream chang: SetOpaqueRegion() used to take a vector<Rect>* where
`nullptr` meant "no opaque region". The function signature changed to
absl::optional<std::vector<gfx::Rect>> w/the same meaning.
* chore: update patches
* chore: bump chromium in DEPS to 117.0.5876.0
* chore: update mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4658375
We no longer need to patch out a field that's now removed upstream.
RenderWidgetHostNSViewBridgeOwner.remote_accessibility_element_
* chore: update feat_filter_out_non-shareable_windows_in_the_current_application_in.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4658680
Manually sync patch to upstream code shear (ARC adoption).
* chore: update patches
* fix: -Werror,-Wshadow error in Node.js
* chore: bump chromium in DEPS to 117.0.5878.0
* chore: bump chromium in DEPS to 117.0.5880.0
* chore: bump chromium in DEPS to 117.0.5880.4
* chore: update patches
* 4658680: Convert /content/browser to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4658680
* 4669995: Remove CFToNSCast and NSToCFCast
https://chromium-review.googlesource.com/c/chromium/src/+/4669995
* WIP: 4658680: Convert /content/browser to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4658680
* chore: update printing patch after rebase
* chore: bump chromium in DEPS to 117.0.5882.0
* Revert "WIP: 4658680: Convert /content/browser to use ARC"
This reverts commit c8559ea448 .
* Revert "4669995: Remove CFToNSCast and NSToCFCast"
This reverts commit 38e145f33d .
* chore: bump chromium in DEPS to 117.0.5874.0
* 4661244: Convert /content/browser/renderer_host to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4661244
* 4653209: Convert /ui/views:views to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4653209
* chore: fixup mas_disable_remote_accessibility.patch
* chore: fixup render_widget_host_view_mac.patch
* chore: update to newer clang
* chore: bump chromium in DEPS to 117.0.5884.1
(cherry picked from commit a3879acfde8f3d962d58d6ad0632164ccb88ee63)
* 4669995: Remove CFToNSCast and NSToCFCast
https://chromium-review.googlesource.com/c/chromium/src/+/4669995
(cherry picked from commit 38e145f33d )
(cherry picked from commit b1224ab7e00aedbd0e5dc78ebb3c6162573b28c4)
* 4658680: Convert /content/browser to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4658680
(cherry picked from commit 77039a323b9ebb3e8edb3a92a3b94a8d7d026a32)
* Rename and cleanup ExtensionsBrowserClient functions
| https://chromium-review.googlesource.com/c/chromium/src/+/4665670
(cherry picked from commit 677a2e646a8d82da60dc252b08b320c3ddff6be6)
* chore: bump chromium in DEPS to 117.0.5886.0
* chore: update patches
* Revert "chore: update patches"
This reverts commit db9294f944 .
* Revert "chore: bump chromium in DEPS to 117.0.5886.0"
This reverts commit a7de0276e6 .
* build: use built toolchains instead of locally installed VSCode
* fixup: build: use built toolchains instead of locally installed VSCode
* chore: add missing mojo dep
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-07-16 16:14:43 +02:00
Shelley Vohr
f61425efdb
fix: clipboard.readImage() should be synchronous ( #39069 )
...
* feat: clipboard.readImage returns a Promise
* chore: update breaking changes doc
* fix: make function synchronous
* Update docs/api/native-image.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-07-13 16:59:14 -04:00
Robo
34e7c3696a
feat: expose safestorage backend information on linux ( #38873 )
...
* feat: expose safestorage backend information on linux
* Remove gnome-keyring
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4609704
2023-07-13 11:14:33 +02:00
Charles Kerr
dc671804da
perf: avoid redundant lookup in BluetoothChooser::AddOrUpdateDevice() ( #39059 )
...
perf: avoid redundant map lookup in BluetoothChooser::AddOrUpdateDevice()
2023-07-13 10:16:25 +02:00
Milan Burda
b14b876d50
docs: fix fiddles ( #39060 )
...
* refactor: replace Array.prototype.forEach.call with plain for-of
* fix: add missing contextIsolation: false
* fix: open links in default browser
2023-07-13 10:10:37 +02:00
Charles Kerr
a8622aed7b
perf: avoid redundant map lookup in NativeImage::GetHICON() ( #39058 )
...
perf: avoid double map lookup in NativeImage::GetHICON()
2023-07-13 15:37:43 +09:00
Shelley Vohr
da3475998f
fix: BrowserWindow.moveAbove() not working for child windows ( #39034 )
...
fix: BrowserWindow.moveAbove() not working for child windows
2023-07-12 17:42:24 +02:00
Alka Vats
9d1a16b2e6
docs: updated the markup tag i with the em ( #39041 )
2023-07-12 15:52:10 +02:00
Shelley Vohr
b142fce229
fix: protocol.handle not intercepting file protocol ( #39048 )
...
fix: protocol.handle not intercepting file protocol
2023-07-12 11:42:49 +02:00
Mikhail Leliakin
f959fb0c96
feat: browserWindow.getBrowserViews() to return sorted by z-index array ( #38943 )
2023-07-11 11:01:30 +02:00
Athul Iddya
905e41bbdd
fix: use StartUpdating method for PipeWire capturer ( #38833 )
...
* fix: use StartUpdating method for PipeWire capturer
Fixed a crash related to PipeWire capturer by adapting to Chromium's
interface changes. Chromium expects a call to
`NativeDesktopMediaList::StartUpdating` with an implementation of
`DesktopMediaListObserver` for delegated capturers like PipeWire. This
interface allows listening to user permission events and listing
sources only after the user has made a choice on the permission dialog.
The interface has been implemented by an inner class to allow listening
to screen and window capture permissions concurrently using two
instances of the class. A patch that was resetting the capturer on the
first refresh has been changed to exclude PipeWire. PipeWire capturer
object will follow the lifecycle of `NativeDesktopMediaList`, as is the
case in Chromium.
Fixes #37463
* fix: wait for thumbnails from PipeWire when necessary
The PipeWire stream starts after the dialog is dismissed. If the sources
are listed immediately afterwards, the thumbnail may not have been
generated by that time. Explicitly wait for both thumbnail generation
and a selection on the source dialog before listing sources.
2023-07-11 10:21:11 +02:00
Athul Iddya
3e3152008f
fix: remove types from GTK CSS selectors ( #39003 )
...
Remove types from GTK CSS selectors similar to Chromium's changes in CL
4289229.
Fixes #38786
Co-authored-by: Athul Iddya <athul@iddya.com >
2023-07-10 22:52:12 +02:00
Anton Gilgur
f3f3f53904
docs: add link to Travis CI headless page ( #38990 )
...
docs(headless): link to Travis CI docs
- Travis has a specific page in its docs all about headless, with several different methods of using `xvfb`
- c.f. https://docs.travis-ci.com/user/gui-and-headless-browsers/
2023-07-10 16:45:18 -04:00
Shelley Vohr
117a700724
fix: printing optional access crash on Windows ( #38976 )
2023-07-10 09:26:29 -04:00
Shelley Vohr
c7bdd907d7
fix: set prototype names on gin::Constructible classes ( #39006 )
...
* fix: set prototype names on gin::Constructible classes
* test: add tests
2023-07-10 11:49:20 +02:00
Mikhail Leliakin
56b5c00312
feat: add BrowserWindow.showAllTabs() for macOS ( #38965 )
2023-07-10 10:43:37 +02:00
John Kleinschmidt
040e9a027a
build: disable unneeded depot_tools update on Windows CI ( #39011 )
...
build: disable unneeded depot_tools update
2023-07-06 16:13:20 -04:00
Shelley Vohr
a97028bacf
fix: Notification 'Show' button visible when no actions exist ( #38997 )
2023-07-06 15:50:08 -04:00
Shelley Vohr
cc7d724a3b
fix: menu border being created properly on Windows 11 ( #38998 )
...
* fix: menu border being created properly on Windows 11
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-07-06 15:46:12 +02:00
Shelley Vohr
c7a64ab994
fix: webview crash when removing in close event ( #38996 )
2023-07-06 10:20:34 +02:00
Shelley Vohr
5a77c75753
revert: compensate for title bar height when setting bounds on BrowserView ( #38981 )
...
This reverts commit 75f9573e53 .
2023-07-06 09:50:08 +02:00
Varun Sood
ec4c9024b9
docs: Improved the Documentation on BrowserWindow type attribute ( #38666 )
...
* docs: Documentation changes
* made the required changes in the docs
* made the toolbar type text correction
2023-07-05 16:26:39 -04:00
Cheng Zhao
3fa15ebb7e
fix: use Chromium's way to compute min/max sizes ( #38974 )
2023-07-05 11:02:05 -04:00
David Sanders
52fe76ca28
ci: automate release board creation ( #38629 )
...
* ci: refactor determining major branch
* ci: automate release board creation
2023-07-03 10:34:57 +02:00
Sergei Chestakov
e991c1868e
docs: fix misleading code sample for handling deeplinks on Linux ( #38862 )
...
Fix misleading docs for handling deeplinks in Linux
2023-07-03 10:30:45 +02:00
electron-roller[bot]
ccd4531bfb
chore: bump chromium to 117.0.5852.0 (main) ( #38891 )
...
* chore: bump chromium in DEPS to 117.0.5846.0
* chore: update patches
* 4628901: Bump the macOS deployment target to 10.15
https://chromium-review.googlesource.com/c/chromium/src/+/4628901
* 4593350: [Private Network Access] Trigger Permission Prompt
https://chromium-review.googlesource.com/c/chromium/src/+/4593350
* 4631011: Remove unlaunched "InstallReplacementAndroidApp" Platform App APIs
https://chromium-review.googlesource.com/c/chromium/src/+/4631011
* chore: disable API deprecation warnings in NSKeyedArchiver
* chore: update libcxx filenames
* chore: bump chromium in DEPS to 117.0.5848.2
* chore: update feat_add_set_theme_source_to_allow_apps_to.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4629743
No manual changes; patch succeeded with fuzz
* chore: update process_singleton.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4605398
Trivial manual patch adjustments to account for code shear.
* chore: remove electron::BrowserContext::GetMediaDeviceIDSalt()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4608130
upstream tldr:
- content::BrowserContext::GetMediaDeviceIDSalt()
- content::ContentBrowserClient::ArePersistentMediaDeviceIDsAllowed()
+ content::ContentBrowserClient::GetMediaDeviceIDSalt()
This commit leaves ElectronBrowserContext::GetMediaDeviceIDSalt() in
place (now non-virtual, non-override). It is now called by the new
function ElectronBrowserClient::GetMediaDeviceIDSalt().
As a followup, we might want to consider using the new upstream
media_device_salt::MediaDeviceSaltService and removing our
electron::MediaDeviceIDSalt code. CC @MarshallOfSound for 2nd
opinion since he has done the most work on MediaDeviceIDSalt and
may have more context.
* chore: fix iwyu breakage
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4629624
electron_browser_main_parts.cc uses ui::ColorProviderManager but didn't
include it. Things worked anyway because we got it indirectly from
content/public/browser/web_contents.h until 4629624.
* chore: remove call to base::mac::IsAtLeastOS10_14
upstream has bumped minimum version to 10.15 so this call is moot?
* chore: remove obsolete API_AVAILABLE calls in IAP
upstream has bumped minimum version to 10.15 so this call is moot?
* chore: remove obsolete API_AVAILABLE calls in electron_application_delegate
upstream has bumped minimum version to 10.15 so this call is moot?
* chore: remove broken-before-macOS-10.15 patch in mas_avoid_usage_of_private_macos_apis.patch
Upstream has bumped minimum to macOS 10.15
* chore: remove @available(macOS 10.14) check
Upstream minimum requirement for macOS is now 10.15
* chore: update patches
* chore: bump chromium in DEPS to 117.0.5850.0
* chore: update patches
* chore: bump chromium in DEPS to 117.0.5852.0
* chore: update patches
* Move two params from NetworkContextParams to NetworkContextFilePaths.
https://chromium-review.googlesource.com/c/chromium/src/+/4615930
* WebUSB: Add exclusionFilters to USBRequestDeviceOptions
https://chromium-review.googlesource.com/c/chromium/src/+/4614682
* Convert /chrome/browser/ui to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4615920
* fixup! Bump the macOS deployment target to 10.15
* fixup! Bump the macOS deployment target to 10.15
* chore: update libcxx files
* win: Remove 10Glass from Windows10Glass function and var names
https://chromium-review.googlesource.com/c/chromium/src/+/4641314
* chore: revert 392e5f43 from chromium
* Add an ExecutionContext to ScriptState
https://chromium-review.googlesource.com/c/chromium/src/+/4609446
* fixup! Add an ExecutionContext to ScriptState
* chore: fix header
* Revert "chore: revert 392e5f43 from chromium"
This reverts commit b7f782943e4ce83cae8cd35780d8d3618cf0772c.
* fix: return correct min/max sizes in WinFrameView
* fixup! Revert chore: revert 392e5f43 from chromium
* fixup! Add an ExecutionContext to ScriptState
* Revert "fixup! Revert chore: revert 392e5f43 from chromium"
This reverts commit 7e2c7281abfc4f309255339fdba073d90a9ae3eb.
* Revert "fix: return correct min/max sizes in WinFrameView"
This reverts commit 3f418b1ab5155686730e087ae6cabe4a21b4bb61.
* Revert "Revert "chore: revert 392e5f43 from chromium""
This reverts commit 56296d8b7c434147e032e3c3b08c0e371b6c27ba.
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2023-07-01 16:22:55 -04:00
Samuel Attard
499d893040
feat: add support for keyboard initialized menu popup ( #38903 )
...
* feat: add support for keyboard initialized menu popup
* Update docs/api/menu.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* fix: add patch to chromium for keyboard accessibility menu behavior
* refactor: s/initiatedByKeyboard/sourceType
* fix: ignore initial mouse event to retain keyboard initiated focus
* Update docs/api/menu.md
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
---------
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
2023-06-29 15:54:06 -07:00
Milan Burda
607e71d563
refactor: replace Object.prototype.hasOwnProperty() with Object.hasOwn() ( #38929 )
2023-06-27 16:57:33 -04:00
Cheng Zhao
09669f9d21
fix: child window may have opener removed ( #38910 )
2023-06-26 17:04:54 -04:00
github-actions[bot]
ff6d0df2d5
build: update appveyor image to latest version e-116.0.5845.0 ( #38913 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-06-26 15:57:10 -04:00
Milan Burda
81a454d148
chore: re-enable node/no-deprecated-api linting ( #38899 )
...
* chore: re-enable node/no-deprecated-api linting
* chore: re-enable no-global-assign linting
2023-06-26 13:51:59 -04:00
Charles Kerr
acba6d79fb
docs: document e27 breaking change of dropping macOS 10.13, 10.14 ( #38917 )
...
docs: document e27 breaking change of dropping macOS 10.13, 10.14 support
2023-06-26 13:29:00 -04:00
electron-roller[bot]
327af3b03c
chore: bump node to v18.16.1 (main) ( #38869 )
...
* chore: bump node in DEPS to v18.16.1
* chore: update patches
* deps: update c-ares to 1.19.1
https://github.com/nodejs/node/pull/48115
* chore: fix -Wunreachable-code,-Werror FTBFS in c-ares
* chore: disable x509 bssl test
new test added in bf3e2c892
* fixup! chore: fix -Wunreachable-code,-Werror FTBFS in c-ares
also fix related -Werror,-Wunused-function FTBFS
* fixup! chore: fix -Wunreachable-code,-Werror FTBFS in c-ares
also fix another related -Werror,-Wunused-function FTBFS
* fixup! chore: disable x509 bssl test
fix yet another -Werror,-Wunused-function FTBFS
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-06-26 12:03:30 -04:00
Milan Burda
ef6569b7d3
chore: cleanup unusued variables + enable linting ( #38898 )
2023-06-26 02:51:54 -07:00
dependabot[bot]
e900f6ecc3
build(deps-dev): bump semver from 5.7.0 to 7.5.2 ( #38916 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.0 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.0...v7.5.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 13:17:43 -07:00
Milan Burda
9226cc662b
refactor: use types for once() return values in spec ( #38872 )
2023-06-22 14:38:52 -04:00
Milan Burda
abec9ead06
refactor: use node scheme imports in scripts ( #38846 )
...
* refactor: use node scheme imports in script
* refactor: use node scheme imports in build
2023-06-22 16:21:42 +02:00
Charles Kerr
395b608dd5
refactor: more constexpr lookup tables ( #38886 )
...
* refactor: use constexpr lookup table in electron_api_web_contents.cc
* refactor: make KeyboardCodeFromStr() private
it is only used as a helper to KeyboardCodeFromStr()
* chore: savepoint
* chore: make lint happy
* fixup! refactor: make KeyboardCodeFromStr() private
* refactor: use constexpr lookup table in electron_url_loader_factory
* refactor: use constexpr lookup table in electron_api_tray
* refactor: use constexpr lookup table in web_contents_preferences.cc
* refactor: use constexpr lookup table in content_converter
2023-06-22 14:33:44 +02:00
electron-roller[bot]
1eb19f3078
chore: bump chromium to 116.0.5845.0 (main) ( #38827 )
...
* chore: bump chromium in DEPS to 116.0.5835.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5837.0
* chore: bump chromium in DEPS to 116.0.5839.0
* chore: bump chromium in DEPS to 116.0.5841.0
* chore: bump chromium in DEPS to 116.0.5843.0
* Update patches
CLs that affected printing.patch:
- 4616791: Refactor PrintViewManagerBase::PrintNow()
https://chromium-review.googlesource.com/c/chromium/src/+/4616791
- 4602776: Make PrintNodeUnderContextMenu operation go through PrintViewManager
https://chromium-review.googlesource.com/c/chromium/src/+/4602776
* 4506614: geolocation: Add LocationProvider::FillDiagnostics
https://chromium-review.googlesource.com/c/chromium/src/+/4506614
* chore: bump chromium in DEPS to 116.0.5845.0
* chore: update patches
* fixup! 4506614: geolocation: Add LocationProvider::FillDiagnostics https://chromium-review.googlesource.com/c/chromium/src/+/4506614
* 4609704: Remove gnome-keyring
https://chromium-review.googlesource.com/c/chromium/src/+/4609704
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org >
2023-06-22 10:51:15 +02:00
Shelley Vohr
a00a25376d
fix: crash calling BrowserWindow.removeBrowserView() with destroyed webContents ( #38842 )
...
fix: crash calling removeBrowserView() with destroyed webContents
https://github.com/electron/electron/issues/37642
2023-06-21 15:20:54 -04:00
Michaela Laurencin
ce6fe040fe
fix: set minimize visibility true with enable ( #38860 )
2023-06-21 14:58:33 -04:00
Shelley Vohr
e73edb5481
feat: allow headers to be sent with session.downloadURL() ( #38785 )
2023-06-21 15:31:28 +02:00
Milan Burda
74d73166d9
chore: remove deleted guest-window-proxy.ts from CODEOWNERS ( #38848 )
...
chore: remove deleted /lib/browser/guest-window-proxy.ts from CODEOWNERS
2023-06-20 17:19:33 -04:00
Milan Burda
6bd02bf181
refactor: use node scheme imports in default_app ( #38847 )
2023-06-20 17:17:03 -04:00
github-actions[bot]
a595044989
build: update appveyor image to latest version - e-116.0.5833.0. ( #38803 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-06-20 14:15:00 -04:00
Shelley Vohr
f6bbc34658
fix: set supported scale factors on startup ( #38836 )
2023-06-20 12:24:03 -04:00
Milan Burda
2b3902e526
refactor: use content::GlobalRenderFrameHostId ( #38843 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-20 15:32:31 +02:00
Milan Burda
93024be3b2
build: rename spec/.eslintrc -> spec/.eslintrc.json ( #38838 )
...
chore: rename spec/.eslintrc -> spec/.eslintrc.json
2023-06-19 14:19:11 +02:00
Shelley Vohr
b693f88491
fix: crash on nativeTheme change during context menu close ( #38824 )
2023-06-19 11:26:54 +02:00
Charles Kerr
97132ece33
refactor: use constexpr lookup tables in gin helper ( #38818 )
...
* feat: add gin_helper::FromV8WithLookup()
feat: add gin_helper::FromV8WithLowerLookup()
* refactor: use constexpr lookup table in gin Converters
2023-06-19 10:33:09 +02:00
Charles Kerr
41ab5f327f
refactor: remove unused InspectableWebContentsView::GetWebView() ( #38799 )
2023-06-16 00:44:19 -05:00
electron-roller[bot]
7219142a54
chore: bump chromium to 116.0.5833.0 (main) ( #38809 )
...
* chore: bump chromium in DEPS to 116.0.5833.0
* chore: update patches
* 4530656: Add DeviceLoginScreenWebHidAllowDevicesForUrls policy
https://chromium-review.googlesource.com/c/chromium/src/+/4530656
* Split CertDatabase notifications between trust changes and client cert changes
https://chromium-review.googlesource.com/c/chromium/src/+/4596317
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-06-15 16:37:01 -04:00
Shelley Vohr
46fb0d8f5f
fix: webContents.print({ silent: true }) not working correctly ( #38741 )
...
fix: webContents.print({ silent: true }) not working correctly
2023-06-15 10:46:38 -04:00
Milan Burda
d78f37ec8f
refactor: use node scheme imports in spec ( #38487 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-15 10:42:27 -04:00
Charles Kerr
bf1ba4a857
refactor: constexpr lookup tables ( #38771 )
...
* refactor: use a constexpr lookup table in GetPathConstant()
* refactor: use a constexpr lookup table in SystemPreferences::GetColor()
* refactor: use a constexpr lookup table in SimpleURLLoaderWrapper::Create()
2023-06-14 17:00:46 -04:00
electron-roller[bot]
bb4e9b27b5
chore: bump chromium to 116.0.5831.0 (main) ( #38784 )
...
* chore: bump chromium in DEPS to 116.0.5831.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-06-14 16:59:54 -04:00
github-actions[bot]
30579859c4
build: update appveyor image to latest version - e-116.0.5829.0 ( #38779 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-06-14 15:35:25 -04:00
Charles Kerr
5ad8b4b7d1
chore: remove unused std includes ( #38767 )
2023-06-14 11:07:18 -07:00
Shelley Vohr
f7c0a29d89
build: update to latest TypeScript ( #38763 )
2023-06-14 11:06:46 -07:00
Shelley Vohr
10852b3fd5
fix: preferCSSPageSize error type ( #38761 )
...
fix: preferCSSPageSize error type
2023-06-14 10:49:00 -04:00
Milan Burda
dc2e822dc7
fix: asar integration for require('node:child_process') ( #38742 )
2023-06-14 18:03:53 +09:00
Samuel Attard
46458ab517
build: update typescript-generator and docs-parser ( #38747 )
...
* build: update typescript-generator and docs-parser
* again...
* build: handle more specific pageSize types
2023-06-13 16:22:53 -07:00
Keeley Hammond
9aefe5db33
build: move chrome_lib_arc to chromium_src/BUILD.gn ( #38764 )
2023-06-13 16:23:11 -04:00
Charles Kerr
167c2b250e
refactor: use compile-time cli arg sets. ( #38748 )
...
We're currently building these on the heap with `std::set<std::string>`
but this can be a very small compile-time container instead.
Marking as 'refactor' rather than 'perf' since this isn't called often,
but moving from heap to compile-time is good and using this container
makes the code more readable.
2023-06-13 14:37:59 -05:00
Milan Burda
1621fcf5d3
docs: add missing isSameDocument property to will-frame-navigate event details ( #37940 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-13 15:15:20 -04:00
github-actions[bot]
18d484f39c
build: update appveyor image to latest version e-116.0.5815.0. ( #38739 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-06-13 14:56:43 -04:00
Milan Burda
e37111edcc
build: remove enable_osr build flag ( #38703 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-13 14:48:53 -04:00
electron-roller[bot]
80a3ba5c68
chore: bump chromium to 116.0.5829.0 (main) ( #38726 )
...
* chore: bump chromium in DEPS to 116.0.5823.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5825.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5827.0
* chore: update patches
* 4568811: Integrate Search Prefetch with Extensions.
https://chromium-review.googlesource.com/c/chromium/src/+/4568811
* 4567511: [DevTools] Add recordCountHistogram API.
https://chromium-review.googlesource.com/c/chromium/src/+/4567511
* 4507692: Delete base/guid.h
https://chromium-review.googlesource.com/c/chromium/src/+/4507692
* 4589551: Convert some of /base to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4589551
Also:
4601769: Convert immersive mode controllers to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4601769
* [viz] Convert MaybeSizeInBytes() to take in SharedImageFormat
https://chromium-review.googlesource.com/c/chromium/src/+/4594677
* 4564108: [BRP] Enable check_raw_ptr_fields for Mac
https://chromium-review.googlesource.com/c/chromium/src/+/4564108
* chore: bump chromium in DEPS to 116.0.5828.0
* chore: bump chromium in DEPS to 116.0.5829.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-06-13 14:45:48 -04:00
Shelley Vohr
678d1aa37d
docs: clarify supported accelerator punctuation ( #38740 )
...
doc: clarify supported accelerator punctuation
2023-06-13 12:42:55 +02:00
David Sanders
f5869b6fb9
chore: change remaining usages of process.mainModule ( #38705 )
2023-06-12 09:55:36 +02:00
Charles Kerr
ab49e98401
perf: prefer base::StringPiece over std::string for build-time strings ( #38717 )
...
* perf: use base::StringPiece in InclusionStatusToString()
The strings are all build-time constants and this is a private function
* perf: use base::StringPiece in ErrorCodeToString()
The strings are all build-time constants and this is a private function
* perf: use base::StringPiece in MessageSourceToString()
The strings are all build-time constants and this is a private function
* perf: use base::StringPiece in CursorTypeToString()
The strings are all build-time constants and this is a private function
* perf: use base::StringPiece in MediaStreamTypeToString()
The strings are all build-time constants and this is a private function
* perf: use base::StringPiece in ModifiersToArray()
The strings are all build-time constants and this is a private function
* perf: use base::StringPiece in WebFrameRenderer::MaybeGetRenderFrame()
The strings are all build-time constants and this is a private function
2023-06-12 09:55:22 +02:00
Shelley Vohr
fa6d14c22d
fix: webContents.print() cancellation callback ( #38709 )
...
fix: webContents.print() cancellation callback
2023-06-12 09:42:18 +02:00
Milan Burda
5d123765d9
feat: support node: prefixed requires in sandboxed renderer preloads ( #38567 )
...
feat: support node: prefixed requires in sandboxed renderer preloads
2023-06-10 14:36:16 -04:00
electron-roller[bot]
fd5e6fbc14
chore: bump chromium to 116.0.5817.0 (main) ( #38465 )
...
* chore: bump chromium in DEPS to 116.0.5793.3
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5795.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5797.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5799.0
* 4522192: [serial] Allow Bluetooth ports to be requested by service class ID. | https://chromium-review.googlesource.com/c/chromium/src/+/4522192
* 4545385: Create base::apple::Owned[frameworktype], use it for gfx::NativeEvent | https://chromium-review.googlesource.com/c/chromium/src/+/4545385
* chore: bump chromium in DEPS to 116.0.5801.0
* chore: update patches
* 4562796: Use base::apple::Owned[frameworktype] for ui::PlatformEvent | https://chromium-review.googlesource.com/c/chromium/src/+/4562796
* 4559790: Manual raw_ptr rewrite: //base | https://chromium-review.googlesource.com/c/chromium/src/+/4559790
* chore: bump chromium in DEPS to 116.0.5803.0
* chore: update patches
* chore: bump chromium in DEPS to 116.0.5805.2
* chore: update patches
* 4547630: Move content/public/common/network_service_util.h to c/p/browser/ | https://chromium-review.googlesource.com/c/chromium/src/+/4547630
* 4510075: Adding extensions to network response experiment | https://chromium-review.googlesource.com/c/chromium/src/+/4510075
* 4566552: Auto-generate grd file for chrome://accessibility. | https://chromium-review.googlesource.com/c/chromium/src/+/4566552
* chore: bump chromium in DEPS to 116.0.5807.0
* chore: update patches
* 4533536: [Privacy Hub] Geolocation manager used directly | https://chromium-review.googlesource.com/c/chromium/src/+/4533536
* chore: patch out ARC support from /chrome/browser
4571955: Convert /chrome/browser to use ARC | https://chromium-review.googlesource.com/c/chromium/src/+/4571955
* chore: bump chromium in DEPS to 116.0.5809.2
* chore: bump chromium in DEPS to 116.0.5811.0
* chore: update patches
* 4573627: Adopt base::NoDestructor for KeyedService factories | https://chromium-review.googlesource.com/c/chromium/src/+/4573627
* 4576878: Reland "Shared Storage: Add mojo method for observing response headers" | https://chromium-review.googlesource.com/c/chromium/src/+/4576878
* chore: bump chromium in DEPS to 116.0.5813.0
* chore: update patches
* fixup! 4566552: Auto-generate grd file for chrome://accessibility. | https://chromium-review.googlesource.com/c/chromium/src/+/4566552
* chore: fix up lint
* test: (debug) use Promise.all in asan tests
* chore: manually roll DEPS to 116.0.5815.0
* chore: update patches
* 4585150: Convert /printing to use ARC | https://chromium-review.googlesource.com/c/chromium/src/+/4585150
* test: (asan) extend timeout, clean up debugging
* chore: remove ARC chromium patch
* chore: update patches after main sync
* 4546398: Convert /chrome/browser to use ARC | https://chromium-review.googlesource.com/c/chromium/src/+/4546398
* build: add chrome_lib_arc for chromium_src/BUILD.gn sources
* fixup! 4559790: Manual raw_ptr rewrite: //base | https://chromium-review.googlesource.com/c/chromium/src/+/4559790
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
2023-06-09 16:08:36 -07:00
Charles Kerr
a3448376a1
refactor: api web contents ownership ( #38695 )
...
* refactor: aggregate api::WebContents::exclusive_access_manager_ directly
* refactor: make WebContents::devtools_file_system_indexer_ scoped_refptr const
* refactor: make WebContents::file_task_runner_ scoped_refptr const
* refactor: make WebContents::print_task_runner_ scoped_refptr const
2023-06-09 15:28:11 -05:00
Shelley Vohr
c0d9764de9
fix: webContents.print parameter validation error ( #38614 )
2023-06-09 21:41:01 +02:00
Samuel Maddock
e8fd5fd3a8
fix: WCO transparent background ( #38693 )
...
* fix: WCO transparency
* doc: wco color transparency
* fix: transparent buttons when calling setTitleBarOverlay
2023-06-09 09:57:57 -07:00
Charles Kerr
d95ae19edf
refactor: add SessionPreferences::CreateForBrowserContext() ( #38656 )
...
Copy the NativeWindowRelay::CreateForWebContents() idiom
to simplify SessionPreferences's constructor and lifecycle.
2023-06-09 11:20:43 -05:00
Samuel Attard
12b85a77a8
build: upload node checksums before validating them ( #38710 )
2023-06-09 02:30:26 -07:00
Samuel Attard
38dc43f649
build: actually use m1.large for publish job ( #38706 )
2023-06-08 23:56:26 -07:00
Samuel Attard
43f5cf1eae
build: update sentry cli for m1 support ( #38704 )
2023-06-08 16:31:15 -07:00
David Sanders
2a81b2aea3
build: move uploadIndexJson to just before publishRelease ( #38659 )
...
* build: move uploadIndexJson to just before publishRelease
* chore: move uploadNodeShasums as well
2023-06-08 16:41:23 -04:00
Milan Burda
05d39d8313
build: remove enable_run_as_node build flag ( #38413 )
...
* feat: remove enable_run_as_node flag
* drop features.isRunAsNodeEnabled()
* use IsEnvSet() helper in electron_main_linux.cc
* cleanup [[maybe_unused]]
---------
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-08 16:40:08 -04:00
John Kleinschmidt
806f00285c
build: ensure correct dsymutil is downloaded for macOS ( #38692 )
2023-06-08 13:39:13 -07:00
Cheng Zhao
534bf77d9b
chore: modify patches so we can build other chromium targets ( #38637 )
...
chore: tune patches so we can build other chromium targets
2023-06-08 13:30:36 -04:00
Charles Kerr
9d8da7839e
fix: dangling pointer warning when updating menus ( #38643 )
2023-06-08 09:29:32 -05:00
Charles Kerr
95d6a932ca
build: use upstream's presubmit cpplint filters. ( #38638 )
2023-06-08 09:25:56 -05:00
David Sanders
4956bcc6bd
ci: remove release dependencies workflow ( #38646 )
2023-06-08 12:33:35 +02:00
wgsheng
c8bdd014c8
fix: menu bar visibility when exiting full screen ( #38599 )
2023-06-08 12:19:34 +02:00
Shelley Vohr
5ee890fb6f
fix: reparenting UAF crash on macOS ( #38603 )
2023-06-08 12:18:37 +02:00
Shelley Vohr
9a9d8ae5ea
refactor: add ARC scaffolding for macOS ( #38621 )
2023-06-08 10:26:33 +02:00
Milan Burda
0294debc31
build: remove enable_picture_in_picture build flag ( #38620 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-07 23:56:31 -07:00
Shelley Vohr
933544d449
chore: clean up ElectronPermissionManager ( #38636 )
...
chore: clean up ElectronPermissionManager
2023-06-07 23:55:36 -07:00
David Sanders
bbfba4fc24
build: fix semver/none label on appveyor update PR ( #38647 )
2023-06-07 23:52:05 -07:00
Dani Haro
be45614f6f
docs: indicate app.setBadgeCount() needs notifications permission to work ( #38648 )
...
docs: match docs for `app.badgeCount` and `app.setBadgeCount()`
2023-06-07 23:51:49 -07:00
Erick Zhao
1f08e46bca
docs: use local img for contents.adjustSelection api ( #38655 )
...
* docs: use local img for contents.adjustSelection api
* fixup
2023-06-07 23:49:19 -07:00
David Sanders
714402b08e
build: improve error output in release.js ( #38658 )
2023-06-07 16:49:12 -07:00
Samuel Attard
08ab45535d
build: use m1 hosts to build apple silicon binaries ( #38258 )
...
* build: try m1 speed test
* yolo?
* build: fix gn binary on m1
* build: remove arm64 snapshot logic
* build: strip x64 on arm64 hosts...
* if is fi
* build: no more GENERATE_CROSS_ARCH_SNAPSHOT
* build: chromedriver inline on arm64 darwin
* build: no copy chromedriver
* build: use m1 for publish
* medium?
2023-06-07 16:34:02 -07:00
Charles Kerr
69790f4b2a
refactor: remove unused OffScreenRenderWidgetHostView fields ( #38623 )
2023-06-07 16:28:35 -05:00
Shelley Vohr
c5972ba43c
fix: bad error passing webContents.print(null) ( #38612 )
...
fix: bad error passing webContents.print(null)
2023-06-07 19:18:26 +02:00
Shelley Vohr
86824c070e
fix: validate response in protocol.handle() ( #38587 )
...
fix: validate response in protocol.handle()
2023-06-07 09:29:04 +02:00
Charles Kerr
5931f69f18
fix: sync api::Screen wrapper method sigs to upstream ( #38597 )
...
refactor: sync api::Screen getter sigs to upstream
ui::Display GetAllDisplays(), GetPrimaryDisplay(), GetDisplayMatching(),
and GetDisplayNearestPoint() methods are all const, so make our wrappers
const too.
ui::Display GetAllDisplays() returns a const reference, so make our
wrapper return a const reference too. This avoids creating a new
std::vector<display::Display> each time it's called.
2023-06-07 09:28:50 +02:00
John Kleinschmidt
80246cf97f
docs: removed outdated Appveyor doc ( #38622 )
2023-06-06 15:38:07 -07:00
zeeker999
28332c94bf
feat: Allow customizing the default math font ( #38514 )
2023-06-06 17:26:32 -04:00
Charles Kerr
5c1321b20a
refactor: remove redundant resizing strategy equality check ( #38596 )
...
* refactor: remove redundant resizing strategy equality check
Upstream already checks this.
2023-06-06 14:03:39 -05:00
Shelley Vohr
7982c6cee2
build: remove V8 patch for ArrayBuffer DCHECK ( #38591 )
2023-06-06 10:21:58 +02:00
Shelley Vohr
b2059f288a
fix: account for BrowserView bounds in setting autofill popup bounds ( #38489 )
2023-06-06 10:21:42 +02:00
Milan Burda
bb2ba35b51
refactor: use process_util.h helpers ( #38574 )
...
refactor: use process_util.h helpers
2023-06-06 17:19:13 +09:00
Shelley Vohr
8d689c565a
fix: file selection when disallowed on macOS ( #38557 )
2023-06-05 14:08:10 +02:00
David Sanders
905aad9cb6
chore: type check JS in docs ( #38423 )
...
* build(deps): update @electron/lint-roller
* chore: type check JS in docs
* docs: add @ts-check and @ts-expect-error to code blocks
* chore: fix type check errors in docs
* chore: add ts-type to blocks
2023-06-05 16:26:26 +09:00
David Sanders
4c89061e0e
docs: fix SerialPort typing ( #38544 )
2023-06-05 15:58:30 +09:00
Milan Burda
8fdd7de3d2
docs: clarify which electron modules are exposed in sandboxed renderers ( #38568 )
2023-06-05 15:57:15 +09:00
Charles Kerr
83d023747c
refactor: use direct aggregation in NativeWindowViews ( #38559 )
...
* refactor: in NativeWindowViews, aggregate root_view_ directly
* refactor: in NativeWindowViews, aggregate keyboard_event_handler_ directly
* refactor: make NativeWindowClientView::window_ a raw_ref
Xref: https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++.md\#non_owning-pointers-in-class-fields
Prefer const raw_ref<T> whenever the held pointer will never be null
* chore: make lint happy
2023-06-05 14:37:46 +09:00
Charles Kerr
05db963f87
chore: remove unused electron::api::View code ( #38561 )
...
chore: remove unused electron::api::View methods
Remove code that was added in 2c8dc9e but never used.
2023-06-03 10:40:44 -05:00
Charles Kerr
f247ca3f62
perf: avoid unnecessary base value clone ( #38537 )
2023-06-02 08:38:29 -05:00
Shelley Vohr
d818f35ad4
build: fix doc-only early exit on Appveyor ( #38547 )
2023-06-01 10:40:35 -04:00
Sergey
9ffffdb6ef
docs: fix performance tutorial ( #38469 )
...
* docs: fixed "Analyze runtime performance" link
* docs: added missing list item
2023-05-31 15:56:06 -04:00
Charles Kerr
c14f7b7d0b
refactor: remove unused switches ( #38497 )
...
* refactor: remove unused declaration of electron::kSHA1Certificate
usage removed in 13a1d79
* refactor: remove unused declaration of electron::kSHA1MajorDescription
usage removed in 13a1d79
* refactor: remove unused declaration of electron::kSHA1MinorDescription
usage removed in 13a1d79
* refactor: remove unused declaration of electron::kCertificateError
usage removed in 13a1d79
* refactor: remove unused declaration of electron::kValidCertificate
usage removed in 13a1d79
* refactor: remove unused declaration of electron::kValidCertificateDescription
usage removed in 13a1d79
* refactor: remove unused declaration of electron::kSecureProtocol, kSecureProtocolDescription
usage removed in 497f5a1
* refactor: remove electron::options::kPreloadScripts
removed in bad8d5e0
* refactor: remove electron::options::kImageAnimationPolicy
removed in 385d0f5
2023-05-31 15:55:21 -04:00
David Sanders
74b8133a93
ci: set description for release labels ( #38528 )
2023-05-31 15:49:16 -04:00
Shelley Vohr
57147d1b8d
fix: navigator.connection not working as intended ( #38491 )
...
* fix: navigator.connection not working as intended
* chore: make network quality methods private
2023-05-31 11:06:25 -04:00
Milan Burda
67f273a6d6
docs: add <webview> new-window event removal to breaking-changes.md ( #36985 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-31 10:47:08 -04:00
Shelley Vohr
b454f8c7c1
build: combine and elaborate on exposed BoringSSL ciphers ( #38506 )
...
build: combine and elaborate on exposed BoringSSL ciphers
2023-05-31 10:30:04 -04:00
Shelley Vohr
663497dc6b
chore: make contentTracing.stopRecording() failure clearer ( #38488 )
...
chore: make contentTracing.stopRecording() failure clearer
2023-05-31 09:54:41 -04:00
Shelley Vohr
115d37477e
build: shrink unnecessary test changes in patch revert ( #38505 )
...
build: shrink unneccesary test changes in patch revert
2023-05-31 09:52:13 -04:00
Matt Henkes
2c742cfadb
chore: cherry-pick 0e1cc35 from v8 ( #38490 )
2023-05-31 11:58:48 +02:00
Shelley Vohr
40e724e5dd
fix: DCHECK minimizing parent window with non-modal child ( #38460 )
2023-05-31 11:57:44 +02:00
github-actions[bot]
13f9e2db40
build: update appveyor image to latest version ( #38449 )
...
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-05-30 21:13:33 -04:00
Shelley Vohr
a769b48164
ci: clean up docs only change logic ( #38456 )
2023-05-30 12:38:41 -04:00
John Kleinschmidt
b4ec363b3d
feat: add USB protected classes handler ( #38263 )
...
* feat: add USB protected classes handler
* chore: apply review suggestions
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: update docs
* chore: apply review suggestions
* update doc per suggestion
---------
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-05-30 12:35:25 -04:00
Milan Burda
71fb19ea14
chore: upgrade to eslint v8 ( #38472 )
...
chore: upgrade to eslint@8
2023-05-30 13:10:22 +02:00
Milan Burda
a6f7c7690d
refactor: use literals instead of new RegExp() where possible ( #38458 )
2023-05-30 10:53:11 +02:00
Charles Kerr
0203bd3305
refactor: prefer base::Contains() over find() + end() ( #38443 )
...
* refactor: use base::Contains() in KeyWeakMap::Has()
* refactor: use base::Contains() in WebRequest::RequestFilter::MatchesType()
* refactor: use base::Contains() in BaseWindow::AddBrowserView()
* refactor: use base::Contains() in DeepFreeze()
* refactor: use base::Contains() in Clipboard::Read()
* Revert "refactor: use base::Contains() in BaseWindow::AddBrowserView()"
This reverts commit 60152359d3978451ebdd7c8eed602c2fb8a9cafa.
* refactor: use base::Contains() in BaseWindow::AddBrowserView()
* refactor: use base::Contains() in IsDevToolsFileSystemAdded()
* refactor: use base::Contains() in MessagePort::DisentanglePorts()
* refactor: use base::Contains() in PowerSaveBlocker::IsStarted()
* refactor: use base::Contains() in SpellCheckClient::OnSpellCheckDone()
* refactor: use base::Contains() in ShowTaskDialogWstr()
* refactor: use base::Contains() in PrintViewManagerElectron::ScriptedPrint()
* refactor: use base::Contains() in PrintViewManagerElectron::DidGetPrintedPagesCount()
* refactor: use base::Contains() in NativeWindow::AddDraggableRegionProvider()
* refactor: use base::Contains() in ElectronBindings::ActivateUVLoop()
* refactor: use base::Contains() in NativeWindowViews::IsVisibleOnAllWorkspaces()
* refactor: use base::Contains() in HidChooserController::OnDeviceAdded()
* refactor: use base::Contains() in ElectronSandboxedRendererClient::WillReleaseScriptContext()
* refactor: use base::Contains() in ElectronRendererClient::WillDestroyWorkerContextOnWorkerThread()
* refactor: use base::Contains() in GlobalShortcut::OnKeyPressed()
2023-05-30 10:28:43 +02:00
Shelley Vohr
9640ac441d
build: make ReactiveObjC/Mantle deps format consistent ( #38450 )
2023-05-29 10:44:21 +02:00
Shelley Vohr
b233d0805a
chore: process.mainModule -> require.main ( #38452 )
...
chore: process.mainModule -> require.main
2023-05-29 10:44:09 +02:00
Shelley Vohr
56138d879e
fix: Windows FrameView always appearing inactive ( #38468 )
2023-05-28 18:39:13 -04:00
electron-roller[bot]
ddcec84ace
chore: bump chromium to 116.0.5791.0 (main) ( #38448 )
...
* chore: bump chromium in DEPS to 116.0.5791.0
* 4504298: Relax checks in BlobDataBuilder::AppendBlob.
https://chromium-review.googlesource.com/c/chromium/src/+/4504298
* chore: fixup patch indices
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-05-25 16:10:08 +02:00
Milan Burda
185180a8e2
refactor: tweak bindings in typings/internal-ambient.d.ts for readability ( #38411 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-25 14:53:23 +02:00
Milan Burda
470b1d9e9d
refactor: split clipboard module implementation for browser / renderer ( #38429 )
2023-05-25 20:36:12 +09:00
Charles Kerr
a20896f519
refactor: remove InspectableWebContents::GetAll() ( #38442 )
...
It is unused and also keeps a persistent std::list<>, so remove it.
2023-05-25 17:23:19 +09:00
electron-roller[bot]
64045fd058
chore: bump chromium to 115.0.5790.0 (main) ( #38418 )
...
* chore: bump chromium in DEPS to 115.0.5789.0
* 4550346: Revert "Convert /chrome/browser to use ARC"
https://chromium-review.googlesource.com/c/chromium/src/+/4550346
* chore: update patches
* chore: bump chromium in DEPS to 115.0.5790.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-05-25 09:54:26 +02:00
David Sanders
294f196907
build: upgrade @electron/github-app-auth to 2.0.0 ( #38435 )
2023-05-25 09:54:09 +02:00
Milan Burda
82af000a37
chore: cleanup eslint suppressions ( #38417 )
...
* chore: cleanup eslint suppressions
* address feedback
* revert script/lib/azput.js
* revert spec/fixtures/apps/remote-control/main.js
* address feedback
* revert typings/internal-ambient.d.ts
2023-05-25 10:09:17 +09:00
github-actions[bot]
1c075e5ea0
chore: update appveyor image to latest version ( #38426 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-05-24 17:03:14 -04:00
Shelley Vohr
ec85be3fb0
docs: ensure app.md examples are runnable ( #38416 )
...
docs: ensure app.md examples are runnable
2023-05-24 16:41:29 -04:00
Milan Burda
06cc9caeaa
build: remove enable_desktop_capturer flag ( #38412 )
...
feat: remove enable_desktop_capturer flag
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-24 15:32:31 -04:00
Milan Burda
13fae292a7
build: remove unused enable_color_chooser build flag ( #38419 )
...
chore: remove unused enable_color_chooser build flag
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-24 21:24:42 +02:00
Alexey Kuzmin
c4c17d7534
build: fix build with "enable_pdf_viewer=false" ( #38421 )
...
* build: fix build with "enable_pdf_viewer=false"
* fixup! build: fix build with "enable_pdf_viewer=false"
2023-05-24 14:37:07 -04:00
Milan Burda
a043a60b89
refactor: cleanup global variable declarations ( #38410 )
...
refactor: eliminate duplicate isolatedApi typing
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-24 20:01:07 +02:00
Milan Burda
2f8e68f8b3
chore: remove ViewsDelegate::IsWindowInMetro() override ( #38409 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-24 20:00:52 +02:00
Shelley Vohr
16cd486356
fix: MediaDevices missing DisplayMediaInformation ( #38390 )
...
fix: MediaDevices missing DisplayMediaInformation
2023-05-24 11:17:08 -04:00
David Sanders
f07b040cb9
build: update yarn.lock ( #38422 )
2023-05-24 10:19:47 +02:00
Milan Burda
b6ef4a3929
build: remove unused enable_tts build flag ( #38420 )
...
chore: remove unused enable_tts build flag
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-05-24 10:18:43 +02:00
Cheng Zhao
dec9a1d9db
chore: remove dead draggable region code ( #38404 )
2023-05-24 10:03:07 +02:00
Charles Kerr
b6c80ba646
fix: dangling_raw_ptr warning in electron_api_web_contents ( #38403 )
...
fix: dangling_raw_ptr warning in electron_api_web_contents
2023-05-23 21:52:07 -04:00
Charles Kerr
30e992dec4
chore: bump chromium to 115.0.5786.0 (main) ( #38301 )
...
* chore: bump chromium in DEPS to 115.0.5772.0
* chore: update disable_color_correct_rendering.patch
no manual changes; patch succeeded with fuzz 2.
* chore: update chromium/build_libc_as_static_library.patch
no manual changes; patch succeeded with fuzz 2 (offset 1 line).
* chore: update chromium/feat_configure_launch_options_for_service_process.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4518747
patch manually reapplied due to upstream code shear
* chore: update chromium/chore_patch_out_profile_methods_in_profile_selections_cc.patch
https://chromium-review.googlesource.com/c/chromium/src/+/4502965
patch manually reapplied due to upstream code shear
* chore: update bundle_locations #include location
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4525355
* chore: Remove `extension_name` from DesktopStreamsRegistry
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4514081
* chore: bump chromium in DEPS to 115.0.5778.0
* chore: add chromium/chore_patch_out_profile_methods_in_chrome_browser_pdf.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4482679
Another instance of patching out upstream references to Profile code
* refactor: add WebViewGuestDelegate::GetGuestDelegateWeakPtr()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4515455
This approach copied from GuestViewBase::GetGuestDelegateWeakPtr() approach in that same commit.
* fixup! chore: update bundle_locations #include location
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4525355
Sync namespace use to upstream base::mac -> base::apple changes
* fixup! chore: update bundle_locations #include location
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4525355
Sync namespace use to upstream base::mac -> base::apple changes
* chore: update chromium/mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4530546
patch manually reapplied due to upstream code shear
* chore: update chromium/printing.patch
no manual changes; patch succeeded with fuzz
* chore: update chromium/build_add_electron_tracing_category.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4517872
no manual changes; patch succeeded with fuzz
* chore: update chromium/feat_ensure_mas_builds_of_the_same_application_can_use_safestorage.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4529098
patch manually reapplied due to upstream code shear
* chromium/build_only_use_the_mas_build_config_in_the_required_components.patch
https://chromium-review.googlesource.com/c/chromium/src/+/4529098
patch manually reapplied due to upstream code shear
* chore: update chromium/mas-cgdisplayusesforcetogray.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4529475
no manual changes; patch succeeded with fuzz
* chore: update chromium/build_only_use_the_mas_build_config_in_the_required_components.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4429011
no manual changes; patch succeeded with fuzz
* chore: remove chromium/cherry-pick-48a136e77e6d.patch
already present upstream
* chore: remove chromium/cherry-pick-e6e23ba00379.patch
already present upstream
* [Code Health] Remove value based RegisterPref for Dict and List
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4533537
* Remove `cxx17_backports.h` and adjust unittest file
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4534916
Notes: mostly just removing #include and s/base::clamp/std::clamp/
* refactor: add FakeBrowserProcess helper class
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4424072
Used in ElectronBrowserMainParts' fake_browser_process_ field. Previously
this was an BrowserProcessImpl instance, but upstream 4424072 makes that
an abstract base class. `FakeBrowserProcess` is a thin subclass with the
minimum code needed to make it concrete.
`ElectronBrowserMainParts::fake_browser_process_` is now a `shared_ptr`
instead of a `unique_ptr` so we can avoid exposing `FakeBrowserProcess`
in the header.
* fixup! refactor: add FakeBrowserProcess helper class
remove unnecessary unique_ptr
* fix: Browser::SetDockIcon() when !Browser.is_ready()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4410741
An alternative fix for https://github.com/electron/electron/pull/36279 .
The previous fix was to call `SetSupportedScales()` ourselves (1b1609a ),
but upstream has removed this API.
CC @codebytere
* fixup! chore: remove chromium/cherry-pick-e6e23ba00379.patch
* chore: update chromium/export_gin_v8platform_pageallocator_for_usage_outside_of_the_gin.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4517404
patch manually reapplied due to upstream code shear
* chore: update patches
* chore: add dep: resource_coordinator:mojo_bindings
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4521464
* fixup! chore: add dep: resource_coordinator:mojo_bindings
chore: make lint happy
* chore: patch out Profile methods in titlebar_config
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4508143 (primary)
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4534461 (followup)
* chore: bump chromium in DEPS to 115.0.5780.0
* chore: update chromium/disable_hidden.patch
no manual changes; patch succeeded with fuzz
* chore: update chromium/sysroot.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4535715
no manual changes; patch succeeded with fuzz
* chore: update chromium/feat_enable_offscreen_rendering_with_viz_compositor.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4403623
patch manually reapplied due to upstream code shear
* chore: update chromium/refactor_expose_cursor_changes_to_the_webcontentsobserver.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4547380
patch manually reapplied due to upstream code shear
* chore: update patches
* fixup! fix: Browser::SetDockIcon() when !Browser.is_ready()
chore: iwyu image.h
* chore: bump chromium in DEPS to 115.0.5782.0
* chore: bump chromium in DEPS to 115.0.5784.0
* 4514181: CR2023: Update filled cr-input styles.
https://chromium-review.googlesource.com/c/chromium/src/+/4514181
* 4521894: Remove SiteInstanceDeleting usage outside of tests.
https://chromium-review.googlesource.com/c/chromium/src/+/4521894
* 4525355: Move backup_util and bundle_locations to base/apple
https://chromium-review.googlesource.com/c/chromium/src/+/4525355
* 4484743: webauthn: add underlying support for calling iCloud Keychain on macOS.
https://chromium-review.googlesource.com/c/chromium/src/+/4484743
* chore: fixup patch indices
* 4546398: Convert /chrome/browser to use ARC
https://chromium-review.googlesource.com/c/chromium/src/+/4546398
* chore: bump chromium in DEPS to 115.0.5786.0
* chore: update patches
* 4540682: Initialize PDF SDK with policy in chrome_pdf::RenderPDFPageToDC()
https://chromium-review.googlesource.com/c/chromium/src/+/4540682
* Don't import ObjC++ fn headers into electron_api_app
* 4535715: Refactor sysroot-creator.sh
https://chromium-review.googlesource.com/c/chromium/src/+/4535715
* fixup! refactor: add FakeBrowserProcess helper class
* 4531903: [string][test] Create/Copy strings to old space before externalization
https://chromium-review.googlesource.com/c/v8/v8/+/4531903
* 59645: Add APIs to support RSA keys with large e.
https://boringssl-review.googlesource.com/c/boringssl/+/59645
---------
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-05-23 21:58:58 +02:00
Kilian Valkhof
e7b8bb4766
docs: disablewebsecurity on webview-tag can not be changed for an active session ( #38373 )
...
disablewebsecurity on webview-tag can not be changed for an active session
2023-05-22 16:29:41 +02:00
Shelley Vohr
aebcd3a8c4
build: try removing V8 symbol export patch for Windows ( #38391 )
2023-05-22 15:10:29 +02:00
Bruno Pitrus
395abf5620
fix: linker error missing uv__strtok ( #38382 )
...
fix: linker error missing uv__strtok
This symbol is referenced inside what seems to be dead code
in `uv__search_path` in third_party/electron_node/deps/uv/src/unix/core.c
When compiling in LTO mode, the reference is removed,
but not during a non-LTO build.
2023-05-22 13:00:45 +02:00
Keeley Hammond
508d7c1353
docs: update timelines for E26 ( #38378 )
...
docs: update E26 timeline, add E22 support note
2023-05-19 12:05:45 -07:00
Shelley Vohr
826c29abcc
build: use @octokit/request v6.2.4 ( #38346 )
2023-05-18 15:37:58 -07:00
Milan Burda
2acb97aa85
chore: eliminate a few uses of base::AdaptCallbackForRepeating() ( #38293 )
2023-05-18 17:01:44 -04:00
Shelley Vohr
642950a00e
build: try removing V8 DCHECK patch ( #38341 )
2023-05-18 20:53:15 +02:00
Shelley Vohr
b35ec4a23c
build: modify gclient.py with unified patch ( #38351 )
...
* build: modify gclient.py with unified patch
* ci: ensure depot_tools does not update
* ci: move auto-update disable outside if
2023-05-17 14:54:26 -04:00
David Sanders
e138f5f915
docs: fix typing of message box type value ( #38336 )
...
* docs: fix typing of dialog type value
* test: add smoke tests
* test: update test
2023-05-17 10:33:30 -07:00
David Sanders
a22635bd9f
docs: update example to use app.whenReady() ( #38337 )
...
* docs: update example to use app.whenReady()
* docs: retain async
2023-05-17 10:32:59 -07:00
Shelley Vohr
683235daf0
build: combine V8 BUILD.gn patches ( #38342 )
...
* build: combine V8 BUILD.gn patches
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-05-17 13:17:52 +02:00
Shelley Vohr
32d8f84cad
fix: getNormalBounds() for transparent windows on Windows ( #38218 )
2023-05-17 13:11:43 +02:00
Shelley Vohr
ad07712561
fix: win.isMaximized() for transparent windows on Windows ( #38234 )
2023-05-17 10:17:08 +02:00
Shelley Vohr
9902e01d2c
build: remove CppHeapCreateParams patch ( #38321 )
...
build: remove CppHeapCreateParams patch
2023-05-17 09:52:29 +02:00
Shelley Vohr
e08c583dea
build: remove V8 ARM undefined symbol patch ( #38316 )
2023-05-17 09:52:10 +02:00
Samuel Attard
2a16c73834
chore: cherry-pick e6e23ba00379 from chromium ( #38323 )
...
* chore: cherry-pick e6e23ba00379 from chromium
* make it work
2023-05-16 15:21:22 -07:00
David Sanders
c7ca29e80f
chore: add smoke test for devtools-open-url ( #38302 )
2023-05-16 16:42:24 -04:00
Calvin
fa81f77f40
test: re-enable tests that aren't broken & remove old test ( #38251 )
2023-05-16 14:30:25 +02:00
Shelley Vohr
c05051e307
chore: remove obsoleted DecrementCapturerCount patch ( #38294 )
...
chore: remove obsoleted DecrementCapturerCount patch
2023-05-16 14:29:01 +02:00
Shelley Vohr
8b63a3fc8a
build: bump brew cache to v6 ( #38312 )
2023-05-16 12:38:30 +02:00
Shelley Vohr
e83197669c
fix: unify BrowserWindow.isVisible() logic cross-platform ( #38242 )
2023-05-16 11:46:45 +02:00
Shelley Vohr
9bd9d312f8
fix: enable BrowserWindow.id access post-destruction ( #38241 )
...
fix: enable BrowserWindow id access post-destruction
2023-05-16 09:29:00 +02:00
Shelley Vohr
042663e190
fix: isMaximized after minimize/fullscreen on macOS ( #38291 )
...
fix: isMaximized after isMinimized on macOS
2023-05-16 09:26:41 +02:00
Shelley Vohr
e19500fa03
feat: support Mica/Acrylic on Windows ( #38163 )
...
* feat: support Mica/Acrylic on Windows
* chore: feedback from review
2023-05-15 16:31:57 -04:00
Shelley Vohr
c2d7164021
chore: remove unnecessary spellchecker revert patch ( #38248 )
2023-05-15 16:17:00 -04:00
Shelley Vohr
a1b2dae68e
build: add labels to appveyor update PR ( #38292 )
2023-05-15 16:52:25 +02:00
David Sanders
c591ecf518
test: prewarm Node headers cache if specifying Electron version ( #38287 )
2023-05-15 02:10:22 -07:00
Samuel Attard
d1c5e623fa
build: drop python2 from CI ( #38259 )
...
* build: drop python2 from CI
* python3
* python3 uses linux not linux2
2023-05-15 02:06:12 -07:00
github-actions[bot]
9ac4787325
build: update appveyor image to latest version ( #38257 )
...
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-05-15 10:53:38 +02:00
Cesar Kohl
6645f49a9d
chore: variable name should comply with naming convention ( #38249 )
2023-05-15 10:30:22 +02:00
Shelley Vohr
e7fc1a422d
feat: add missing 'cursor-changed' type values ( #38210 )
2023-05-15 10:27:09 +02:00
David Sanders
eeb1e7d499
chore: fix lint:js-in-markdown script ( #38260 )
2023-05-15 09:58:35 +02:00
Milan Burda
0149ae72e6
refactor: use standard naming for enum class values ( #38232 )
2023-05-12 15:24:01 +02:00
Milan Burda
88a9962e22
refactor: convert HashAlgorithm to enum class ( #38233 )
2023-05-12 15:23:42 +02:00
John Kleinschmidt
3dbc0a365f
chore: enable check raw ptr fields ( #38167 )
2023-05-11 16:07:39 -04:00
Keeley Hammond
141175c723
build: disable v8 builtins pgo ( #38252 )
2023-05-10 20:53:18 -07:00
Keeley Hammond
95cd84f140
build: fix octokit resolution with patch-package ( #38250 )
2023-05-10 20:52:59 -07:00
electron-roller[bot]
894e056e6b
chore: bump chromium to 115.0.5760.0 (main) ( #38033 )
...
* chore: bump chromium in DEPS to 114.0.5721.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5723.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5725.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5727.0
* chore: bump chromium in DEPS to 114.0.5729.0
* chore: bump chromium in DEPS to 114.0.5731.0
* chore: update patches
* 4450570: Clean up content shell
https://chromium-review.googlesource.com/c/chromium/src/+/4450570
* 4262527: geolocation: Introduce mojom::GeopositionResult
https://chromium-review.googlesource.com/c/chromium/src/+/4262527
* 4450327 : Android/Nav: Stop taking content timeout timer from old host.
https://chromium-review.googlesource.com/c/chromium/src/+/4450327
Also, see:
4451366: Reland "Prerender: Fix prerender new content timeout start timing"
https://chromium-review.googlesource.com/c/chromium/src/+/4451366
* chore: bump chromium in DEPS to 114.0.5733.2
* chore: update patches
* chore: bump CircleCI xcode version
this will hopefully get us the necessary macOS sdk 13.3 on CI.
* chore: bump chromium in DEPS to 114.0.5735.0
* chore: update patches
* test: fix geolocation test
* chore: bump chromium in DEPS to 115.0.5736.0
* chore: update patches
* chore: bump chromium in DEPS to 115.0.5738.0
* chore: update patches
* fix: remove profiles from spellcheck service
* chore: update libc++ filenames
* chore: bump chromium in DEPS to 115.0.5740.0
* chore: update patches
* chore: bump chromium in DEPS to 115.0.5742.0
* chore: update patches
* chore: bump chromium in DEPS to 115.0.5744.0
* chore: update patches
* chore: bump chromium in DEPS to 115.0.5746.0
* chore: update patches
* chore: update filenames.libcxx.gni
* chore: bump chromium in DEPS to 115.0.5748.0
* chore: update patches
* build: update libcxx filenames
* chore: bump chromium in DEPS to 115.0.5750.0
* chore: bump chromium in DEPS to 115.0.5752.2
* chore: bump chromium in DEPS to 115.0.5754.0
* chore: bump chromium in DEPS to 115.0.5756.0
* chore: bump chromium in DEPS to 115.0.5758.0
* chore: update patches
* chore: update patch after rebase
* 4500969: Delete content/dev_ui_content_resources.grd file.
https://chromium-review.googlesource.com/c/chromium/src/+/4500969
* Use base.Value.Dict in OmahaAttributesHandler related code
https://chromium-review.googlesource.com/c/chromium/src/+/4506402
* chore: bump chromium in DEPS to 115.0.5760.0
* chore: update patches
* chore: fixup line endings
* 4336172: Include client-drawn window decorations in aspect ratio. |
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4336172
(cherry picked from commit 27c2f6c43e )
* spec: fix race condition in alwaysOnTop test
(cherry picked from commit 2ec5213fa0 )
* build: use xcode 14.2 not 14.3
(cherry picked from commit b7c62351a7 )
* build: use macOS 12 to run tests
The new macOS 13 VMs appear to have different screen / display behavior
(cherry picked from commit 14dc1dbc24 )
* Remove always-true flag --harmony-sharedarraybuffer
https://chromium-review.googlesource.com/c/v8/v8/+/4429630
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2023-05-10 10:47:48 -04:00
Shelley Vohr
2806feede2
docs: fix devtools-open-url ts definition ( #38231 )
...
docs: fix devtools-open-url ts definition
2023-05-10 11:25:50 +02:00
Shelley Vohr
13e309e1fb
fix: only exit fullscreen conditionally with setKiosk ( #38219 )
...
fix: only exit fullscreen conditionally with setKiosk
2023-05-09 12:28:37 -04:00
Shelley Vohr
f432245456
fix: handle AXManualAccessibility attribute cross-protocol ( #38142 )
...
* fix: handle AXManualAccessibility attribute cross-protocol
* Update shell/browser/mac/electron_application.mm
Co-authored-by: Robo <hop2deep@gmail.com >
---------
Co-authored-by: Robo <hop2deep@gmail.com >
2023-05-09 11:13:14 +02:00
Shelley Vohr
0212c264ca
build: fix CRLF endings in messages.json ( #38212 )
2023-05-08 14:51:24 -04:00
David Sanders
9ccf2275d2
chore: migrate to @electron/lint-roller for Markdown linting ( #38191 )
2023-05-08 12:50:42 +02:00
David Sanders
911900eae9
build: add pretest script to create TS definitions ( #38201 )
2023-05-08 11:30:06 +02:00
David Sanders
7a03509b71
ci: automate release label tasks ( #38181 )
2023-05-08 10:39:28 +02:00
Shelley Vohr
a6c9aefb4a
chore: fix TrustedTypes policy in chrome://accessibility ( #38179 )
...
chore: fix TrustedTypes policy in chrome://accessibility
2023-05-08 10:39:04 +02:00
Calvin
13be6dc8b4
test: enable CircleCI's "re-run failed tests only" feature ( #38178 )
...
* test: enable CircleCI rerun failed *tests* only
* .
* .
* console.log never fails 🤷
* normalize the filtered paths
circleci gives us a list of absolute paths here
* remove test output check
sometimes rerunning only failed tests results in some runners having
no tests to run, and thus no output
* keep relative paths the same
* error for when no tests match
* cleanup
* .
2023-05-08 17:14:59 +09:00
David Sanders
3a7cfe300a
ci: do conditional in blocked/need-repro workflows at job level ( #38186 )
2023-05-08 17:07:04 +09:00
Adam Stone-Lord
88710612a3
docs: update dead link to Apple Human Interface notification guidelines ( #38187 )
2023-05-08 17:05:50 +09:00
Calvin
58d49927a3
test: disable flaky asar worker test on ASan build ( #38193 )
2023-05-08 17:03:30 +09:00
Shelley Vohr
534e90c2a6
build: force LF checkout of more files ( #38194 )
2023-05-08 17:02:42 +09:00
Shelley Vohr
35a03a6bc1
refactor: remove IPC from mouse_util ( #38183 )
2023-05-08 09:50:30 +02:00
David Sanders
a7adbae543
docs: fix typing of session.setDevicePermissionHandler ( #38188 )
2023-05-08 09:46:35 +02:00
Shelley Vohr
f8d534f33e
chore: stop using a RenderWidgetHost observer in FileSelectHelper ( #38168 )
...
chore: stop using a RenderWidgetHost observer in FileSelectHelper
2023-05-04 21:43:29 +02:00
David Sanders
ec75172d68
ci: update CircleCI CLI install URL ( #38176 )
2023-05-04 10:40:01 -04:00
Shelley Vohr
bb490161fb
fix: printing crash when settings invalid ( #38165 )
2023-05-04 09:10:54 -04:00
Alexey Kuzmin
bc957e3945
test: use await to call "closeWindow" ( #38166 )
...
* test: wait for an async "closeWindow" call
* fixup! test: wait for an async "closeWindow" call
2023-05-04 07:14:46 +09:00
Shelley Vohr
ee1e6aab3e
chore: implement WebContentsDelegate::GetFullscreenState ( #38141 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4255184
2023-05-03 15:55:47 +02:00
Russell Carpenella
7f5364f98d
docs: moves icpMain.handle call in tutorial part 3 ( #38138 )
2023-05-03 14:52:02 +02:00
Shelley Vohr
a8c0ed890f
feat: surface more webContents text selection commands ( #37978 )
...
* feat: surface more text selection commands
* refactor: use options argument
* docs: correct for review
2023-05-02 21:14:29 -04:00
David Sanders
a26343f3e0
fix: falsy transparent shouldn't affect webContents background ( #36914 )
2023-05-02 14:44:34 -07:00
Shelley Vohr
d95f9d2c63
chore: add OCR scaffolding to PDF Viewer ( #38127 )
2023-05-02 10:27:32 +02:00
Fedor Indutny
c548f8f59e
feat: net.resolveHost ( #37853 )
2023-05-02 09:53:00 +02:00
Milan Burda
7c482518bf
chore: add missing content::WebContentsDelegate section ( #38133 )
2023-05-01 09:23:47 -04:00
Shelley Vohr
a2d35e9cf5
test: re-enable extensions test with http server ( #38129 )
2023-04-28 01:20:46 +02:00
Shelley Vohr
ba8887f586
feat: emit context-menu event from extensions ( #38029 )
...
feat: emit context-menu event from extensions
2023-04-27 12:54:51 +02:00
Shelley Vohr
f35b9b3f06
fix: AXManualAccessibility showing failure ( #38102 )
...
fix: AXManualAccessibility showing failure
2023-04-26 19:41:56 +02:00
Bruno Pitrus
a0a44f07dd
chore: correct extra qualification causing build error with GCC ( #37548 )
...
* chore: correct extra qualification causing build error with GCC
* fixup for lint
* chore: fix lint
---------
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-04-26 10:40:02 -04:00
David Sanders
08593fd2bd
chore: fix clang-tidy warnings ( #38079 )
...
* chore: fix clang-tidy warnings
* refactor: avoid need for NOLINTNEXTLINE
2023-04-26 10:09:54 -04:00
Shelley Vohr
fe5cdd39d6
test: re-enable passing Node.js tests ( #38116 )
2023-04-26 12:08:50 +02:00
Shelley Vohr
05faabe9e8
test: re-enable multi-window fullscreen test ( #38119 )
2023-04-26 10:13:36 +02:00
Shelley Vohr
9d525f9861
test: formally mark some Node.js tests as flaky ( #38117 )
2023-04-26 10:11:14 +02:00
Milan Burda
e823869bb0
docs: add separate linkable browser-window-options.md and web-preferences.md ( #34633 )
2023-04-25 15:16:11 +02:00
Shelley Vohr
f4b7e59b2d
fix: crash on missing RenderWidgetHostView ( #38100 )
...
chore: fix crash on missing RenderWidgetHostView
2023-04-25 11:30:16 +02:00
Francis Chartrand
a0a1a3645b
docs: fix start highlight tutorial-2-first-app.md ( #38069 )
...
doc: fix start highlight tutorial-2-first-app.md
2023-04-25 11:19:14 +02:00
David Sanders
9b41ab1e53
chore: always lint JS in docs/fiddles ( #38025 )
2023-04-24 10:35:14 -04:00
Black-Hole️
141f65b291
fix: webContents return type incorrect ( #38026 )
...
* fix: webContents type incorrect
* fix: ci failed
* fix: ci failed 2
2023-04-24 10:28:21 -04:00
Quang Lam
b626be5e33
docs: fix 'usb-device-added', 'usb-device-removed', 'usb-device-revoked' typings ( #38035 )
...
* Fix 'usb-device-added', 'usb-device-removed', 'usb-device-revoked' typings
* Add webContents
2023-04-23 22:16:38 +02:00
Milan Burda
964934c161
fix: defaults broken in shell.openExternal() options ( #38038 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-04-21 13:13:59 -04:00
github-actions[bot]
f727da4a74
ci: update appveyor image to latest version ( #38015 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-04-21 10:37:02 -04:00
Jason Etcovitch
cf4c46c8e0
build: fix Codespaces prebuilds with missing comma ( #38052 )
...
Add missing comma
2023-04-20 15:41:54 -07:00
Robo
0240f6664e
fix: crash in utilityProcess when generating code from strings ( #38014 )
2023-04-20 09:27:02 +09:00
Shelley Vohr
f12e12b341
chore: remove --no-harmony-atomics related code ( #38030 )
...
chore: remove --no-harmony-atomics related code
2023-04-19 10:29:18 -04:00
Shelley Vohr
7e715b66ae
test: re-enable reporting specs ( #35936 )
2023-04-19 14:24:38 +02:00
Jeremy Rose
ba835ddac1
feat: add thermal states to powerMonitor ( #37935 )
...
* feat: add thermal states to powerMonitor
* update docs
2023-04-19 11:46:55 +02:00
electron-roller[bot]
b2411e05a8
chore: bump chromium to 114.0.5719.0 (main) ( #38017 )
...
* chore: bump chromium in DEPS to 114.0.5719.0
* chore: update patches
* revert eb07a797cc
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2023-04-18 14:23:22 -07:00
electron-roller[bot]
de192c2db2
chore: bump node to v18.16.0 (main) ( #37973 )
...
* chore: bump node in DEPS to v18.16.0
* build,test: add proper support for IBM i
https://github.com/nodejs/node/pull/46739
* lib: enforce use of trailing commas
https://github.com/nodejs/node/pull/46881
* src: add initial support for single executable applications
https://github.com/nodejs/node/pull/45038
* lib: do not crash using workers with disabled shared array buffers
https://github.com/nodejs/node/pull/41023
* src: remove shadowed variable in OptionsParser::Parse
https://github.com/nodejs/node/pull/46672
* src: allow embedder control of code generation policy
https://github.com/nodejs/node/pull/46368
* src: allow optional Isolate termination in node::Stop()
https://github.com/nodejs/node/pull/46583
* lib: fix BroadcastChannel initialization location
https://github.com/nodejs/node/pull/46864
* chore: fixup patch indices
* chore: sync filenames.json
* fix: add simdutf dep to src/inspector BUILD.gn
- https://github.com/nodejs/node/pull/46471
- https://github.com/nodejs/node/pull/46472
* deps: replace url parser with Ada
https://github.com/nodejs/node/pull/46410
* tls: support automatic DHE
https://github.com/nodejs/node/pull/46978
* fixup! src: add initial support for single executable applications
* http: unify header treatment
https://github.com/nodejs/node/pull/46528
* fix: libc++ buffer overflow in string_view ctor
https://github.com/nodejs/node/pull/46410
* test: include strace openat test
https://github.com/nodejs/node/pull/46150
* fixup! fixup! src: add initial support for single executable applications
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-04-18 22:23:11 +02:00
Samuel Attard
941153be32
build: bump dependencies to clean yarn audit ( #37998 )
...
* build: bump dependencies to clean yarn audit
* build: add url
2023-04-18 16:54:16 +02:00
Shelley Vohr
32afdda9ee
feat: add did-resign-active event on app ( #37933 )
...
feat: add did-resign-active event on app
2023-04-18 16:53:39 +02:00
github-actions[bot]
f4b172b9ec
ci: update appveyor image to latest version ( #37817 )
...
build: update appveyor image to latest version
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-04-17 20:04:12 -04:00
electron-roller[bot]
7a6af1a529
chore: bump chromium to 114.0.5715.0 (main) ( #37976 )
...
* chore: bump chromium in DEPS to 114.0.5712.0
* chore: update patches
* 4401084: Remove extensions::InfoMap which is no longer needed. | https://chromium-review.googlesource.com/c/chromium/src/+/4401084
* 4415646: Add more details to print settings error log | https://chromium-review.googlesource.com/c/chromium/src/+/4415646
* chore: bump chromium in DEPS to 114.0.5714.0
* chore: update patches
* chore: update libcxx filenames
* chore: bump chromium in DEPS to 114.0.5715.0
* chore: update patches
* fix extensions test
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2023-04-17 14:40:26 -07:00
Alexey Kuzmin
1ffe7ee76b
build: fix building with no PDF support ( #38003 )
2023-04-17 11:02:43 -04:00
Shelley Vohr
c857c9b7e2
docs: add note to win.setFullScreen(flag) ( #37921 )
...
docs: add note to win.setFullScreen(flag)
2023-04-17 10:45:40 +02:00
Shelley Vohr
f0e1848a5e
chore: replace uses of ComPtr::GetAddressOf() with ComPtr::operator& ( #37948 )
...
chore: replace uses of ComPtr::GetAddressOf() with ComPtr::operator&
2023-04-16 17:08:37 -07:00
David Sanders
d1cddf2517
docs: update github.com links ( #37958 )
2023-04-15 21:20:59 -07:00
David Sanders
c7ea887227
chore: drop patch for fixed Linux menus issue in Views ( #37984 )
2023-04-15 21:20:34 -07:00
Shelley Vohr
fa3379a5d5
chore: fix lint ( #37971 )
2023-04-13 15:54:41 +02:00
Calvin
cdace75389
chore: disable flaky node test ( #37900 )
2023-04-13 13:27:45 +02:00
David Sanders
e84bcb39e7
fix: defaultFontFamily in webPreferences ( #37863 )
...
* fix: defaultFontFamily in webPreferences
* chore: check if default_font_family_ is empty
2023-04-13 11:30:25 +02:00
Shelley Vohr
fceeb64e7c
fix: swipe event emission on macOS ( #37946 )
2023-04-13 11:28:22 +02:00
Zenkie Bear
f03315ad4d
docs: Fix the syntax error for code fragment ( #37939 )
...
By using `app.on('ready').then(xxx)`, application will throw a TypeError
2023-04-13 10:00:27 +02:00
Michaela Laurencin
6f2ab392ab
docs: update 22-x-y EOL dates ( #37955 )
...
To account for https://www.electronjs.org/blog/electron-22-0#windows-7881-support-update
Not sure if it is worth adding as a historical change though
2023-04-12 18:10:47 -07:00
electron-roller[bot]
33a625d0ee
chore: bump chromium to 114.0.5710.0 (main) ( #37950 )
...
* chore: bump chromium in DEPS to 114.0.5710.0
* chore: update patches
* 4411421: [json-schema-compiler] Support separating numbers in enum entries |
https://chromium-review.googlesource.com/c/chromium/src/+/4411421
* 4400251: Remove MayBlock and TaskShutdownBehavior from BrowserTaskTraits |
https://chromium-review.googlesource.com/c/chromium/src/+/4400251
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
2023-04-12 18:10:31 -07:00
David Sanders
2ad1324b9d
ci: only remove blocked/need-repro on comment ( #37879 )
2023-04-12 16:33:59 -07:00
Jeremy Rose
fef1b04238
feat: remove on(ready) requirement from powerMonitor ( #37937 )
2023-04-12 15:37:52 -07:00
electron-roller[bot]
908bef7ca9
chore: bump chromium to 114.0.5708.0 (main) ( #37834 )
...
* chore: bump chromium in DEPS to 114.0.5696.0
* chore: update patches
* chore: revert clang revert
(cherry picked from commit 4c3ffa8001b5fdbfc99374bf77895d8d8e35ee31)
* test: remove unneeded test for title on ses.setCertificateVerifyProc
This test is unnecessary because all that really needs to be verified is that the request was rejected.
* chore: Revert "Reland "[BRP] Enable clang plugin check for Linux""
* chore: bump chromium in DEPS to 114.0.5697.0
* chore: bump chromium in DEPS to 114.0.5698.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5700.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5702.0
* chore: bump chromium in DEPS to 114.0.5704.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5705.0
* 4368281: Add bottom-up CertVerifier change observer flow. |
https://chromium-review.googlesource.com/c/chromium/src/+/4368281
* 4402277: Enable check_raw_ptr_fields for Linux |
https://chromium-review.googlesource.com/c/chromium/src/+/4402277
* 4389621: [ChromeAppsDeprecation] Remove deprecated chrome apps from AppService |
https://chromium-review.googlesource.com/c/chromium/src/+/4389621
* 4402191: Allow default initializing BrowserTaskTraits |
https://chromium-review.googlesource.com/c/chromium/src/+/4402191
* chore: bump chromium in DEPS to 114.0.5708.0
* chore: remove incorrectly re-added clang patch
* chore: update patches (clean sync)
* ci: use newer clang for 32-bit Linux ARM
Fixes crash on compiling skia/skia/SkPatchUtils.cpp
* build: generate new libcxx filenames
* 4409898: Update paper printable area in UpdatePrintSettings |
https://chromium-review.googlesource.com/c/chromium/src/+/4409898
* chore: update sysroots.json
Sysroot CL: https://chromium-review.googlesource.com/c/chromium/src/+/4383374
Chromium CL: 4246577: media/gpu: Add CQP AV1 VA-API video encoder | https://chromium-review.googlesource.com/c/chromium/src/+/4246577
* 4336198: [task] Move source location and use it in v8 platform | https://chromium-review.googlesource.com/c/v8/v8/+/4336198
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
2023-04-12 07:37:48 -04:00
Darshan Sen
c326b0068e
fix: recommended node-gyp version in node.h error ( #37829 )
...
fix: recommended node-gyp version in node.h error
In
https://github.com/electron/electron/blob/main/docs/tutorial/using-native-node-modules.md#using-npm ,
we recommend setting the `npm_config_disturl` variable but doing that
does not work on node-gyp v8.4.0 because after
https://github.com/nodejs/node-gyp/pull/2497
landed, the dist URL was read only from `gyp.opts['dist-url']`. The fix
for reading the value from `npm_config_disturl` by parsing
`gyp.opts.disturl` was landed in
https://github.com/nodejs/node-gyp/pull/2547 and that change was
released in node-gyp v9.0.0, so this change updates the error macro to
recommend node-gyp v9.0.0 as the minimum required version.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2023-04-11 13:26:26 +02:00
Samuel Attard
c01dff8d89
fix: exceptions during function/promise result conversions live in calling world ( #37904 )
2023-04-11 11:57:48 +02:00
Shelley Vohr
c65632d404
fix: broken buttons in PDF viewer ( #37856 )
2023-04-11 15:30:36 +09:00
David Sanders
adb1172066
chore: use nested namespaces ( #37855 )
2023-04-11 15:30:25 +09:00
David Sanders
e929b2140d
chore: change some for loops to range-based ( #37857 )
2023-04-11 15:27:07 +09:00
David Sanders
82442239bc
chore: use emplace when possible ( #37877 )
2023-04-11 15:21:03 +09:00
David Sanders
3c0c4d5c27
fix: menus on Linux after window modification ( #37798 )
...
* fix: menus on Linux after window modification
* test: don't run on CI
2023-04-11 15:17:45 +09:00
Samuel Attard
6958668448
fix: exceptions in nested conversions live in the target world ( #37895 )
2023-04-10 14:58:27 -07:00
Keeley Hammond
1e206deec3
docs: update E24/E25 breaking changes ( #37878 )
2023-04-06 21:23:29 -07:00
Mikael Finstad
e8c87859c4
fix: showAboutPanel also on linux ( #37828 )
...
showAboutPanel also on linux
2023-04-06 14:50:24 -04:00
Keeley Hammond
83e186fdbc
docs: update 21-x-y EOL dates ( #37841 )
...
* docs: update 21-x-y EOL dates
* doc: update node versions
2023-04-06 14:04:15 -04:00
David Sanders
9563b5f98b
test: support 'latest'/'latest@X' Electron version strings ( #37840 )
2023-04-06 14:03:14 -04:00
Shelley Vohr
251e567eff
fix: don't emit did-fail-load for MediaDocuments ( #37824 )
...
* fix: don't emit did-fail-load for MediaDocuments
* spec: add test
2023-04-06 10:23:34 +02:00
Fedor Indutny
6bfef67aae
feat: session.resolveHost ( #37690 )
...
* feat: session.resolveHost
Expose Chromium's host resolution API through the Session object.
* Update shell/browser/api/electron_api_session.cc
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* address feedback
* fix tests
* address feedback
* Add options
* Update shell/browser/api/electron_api_session.cc
Co-authored-by: Cheng Zhao <github@zcbenz.com >
* Update shell/browser/net/resolve_host_function.cc
Co-authored-by: Cheng Zhao <github@zcbenz.com >
* lint
* return object
* add missing file
* fix crash
* handle scope
* links
---------
Co-authored-by: Fedor Indutny <indutny@signal.org >
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2023-04-05 10:06:14 -04:00
David Sanders
db27b9f433
chore: initial linting fixes for JS in docs/fiddles ( #37689 )
2023-04-05 09:42:20 -04:00
Shelley Vohr
be32740991
docs: fix app.getPreferredSystemLanguages() return type ( #37821 )
...
docs: fix app.getPreferredSystemLanguages() return type
2023-04-05 09:31:53 -04:00
Calvin
b8a21dbcd7
test: migrate to helpers & disabled tests list ( #37513 )
...
* test: migrate to helpers & disabled tests list
* can't disable a test suite
* correct condition
* address review comments
2023-04-04 09:48:51 -04:00
electron-roller[bot]
58f3c0ee37
chore: bump chromium to 114.0.5694.0 (main) ( #37820 )
...
* chore: bump chromium in DEPS to 114.0.5694.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-04-04 15:42:56 +02:00
Shelley Vohr
3f42040a1b
fix: Fn+F fullscreen transitioning on macOS ( #37803 )
2023-04-04 15:16:59 +02:00
Jeremy Rose
e9d5c3517c
fix: apply csp correctly when contextIsolation: false ( #37756 )
...
* fix: apply csp correctly when contextIsolation: false
* better comments
2023-04-04 17:31:49 +09:00
Shelley Vohr
91f62ae73f
refactor: only override V8Platform::CreateJob ( #37800 )
...
refactor: only override V8Platform::CreateJob
2023-04-04 10:28:28 +02:00
David Sanders
4c8583c365
test: remove workaround for fixed Menu.closePopup issue ( #37802 )
2023-04-04 10:27:51 +02:00
Shelley Vohr
0b4ef2b1e5
chore: combine parallel/test-v8-stats v8 patches ( #37801 )
...
* chore: combine parallel/test-v8-stats v8 patches
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-04-04 10:19:45 +02:00
electron-roller[bot]
4ba5723aed
chore: bump chromium to 114.0.5692.0 (main) ( #37806 )
...
* chore: bump chromium in DEPS to 114.0.5692.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-04-03 15:45:36 -07:00
Keeley Hammond
652d603e69
build: bump nmv to 116 (Electron 25) ( #37797 )
...
build: bump nmv to 116 (e25)
2023-04-03 15:26:31 -07:00
Jeremy Rose
f40bd2da23
fix: record helper error messages in electron_main_mac ( #37807 )
2023-04-03 13:14:19 -07:00
electron-roller[bot]
e31f101712
chore: bump chromium to 114.0.5690.0 (main) ( #37780 )
...
* chore: bump chromium in DEPS to 114.0.5686.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5688.0
* chore: update patches
* chore: bump chromium in DEPS to 114.0.5690.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-04-03 18:56:57 +02:00
David Sanders
4415b7638a
chore: enforce consistent Markdown style for strong and emphasis ( #37787 )
2023-04-03 13:20:10 +02:00
github-actions[bot]
f7c6545eab
build: update appveyor image to latest version ( #37773 )
...
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-04-02 21:08:27 -07:00
Shelley Vohr
ef657bdc9d
chore: remove wasm CompileJSToWasmWrapperJob patch ( #37782 )
...
chore: remove wasm CompileJSToWasmWrapperJob patch
2023-04-01 08:47:54 -04:00
David Sanders
6012172187
fix: set background color for menu bar on Windows ( #37766 )
2023-03-31 18:06:09 +02:00
Samuel Attard
a75b892e90
build: remove request dependency ( #37747 )
...
* build: remove request dependency
* oops
2023-03-31 12:20:25 +02:00
Shelley Vohr
7c4f4c537e
build: fix build-tools schema in config ( #37765 )
2023-03-31 12:20:02 +02:00
Erick Zhao
4ca6fb3c4e
docs: update references to @electron/rebuild ( #37757 )
2023-03-31 11:36:59 +02:00
electron-roller[bot]
3fa03977c7
chore: bump chromium to 114.0.5684.0 (main) ( #37701 )
...
* chore: bump chromium in DEPS to 113.0.5672.0
* chore: bump chromium in DEPS to 114.0.5673.0
* chore: bump chromium in DEPS to 114.0.5675.0
* chore: update patches
* 4223697: [json-schema-compiler] T::Populate with base::Value::Dict
https://chromium-review.googlesource.com/c/chromium/src/+/4223697
* chore: update filenames.libcxx.gni
* 4290476: Report an explicit pause reason when stopping after taking a step.
https://chromium-review.googlesource.com/c/v8/v8/+/4290476
* chore: bump chromium in DEPS to 114.0.5682.0
* 4373699: [SystemProfileSelectionDefaultNone] Enable feature by default
https://chromium-review.googlesource.com/c/chromium/src/+/4373699
* chore: update patches
* Revert AsyncCompileJSToWasmWrapperJob simplification
https://chromium-review.googlesource.com/c/v8/v8/+/4347597/11
* 4365718: Reland "Reland "Reland "[Tracing] Use Perfetto client library for tracing on Linux"""
https://chromium-review.googlesource.com/c/chromium/src/+/4365718
* chore: bump chromium in DEPS to 114.0.5684.0
* chore: update patches
* 4335544: [handles] Refactor classes for abstract handles
https://chromium-review.googlesource.com/c/v8/v8/+/4335544
* update patch description to include tracking issue
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-03-30 22:03:58 -04:00
David Sanders
75919e28b8
docs: add links to IPC event structures ( #37760 )
2023-03-30 10:13:21 -07:00
Jeremy Rose
ac58607605
docs: remove save-to-disk disposition ( #37758 )
2023-03-30 10:07:54 -07:00
David Sanders
835ace243c
ci: don't use pull_request_target with semantic PR title check ( #37745 )
2023-03-29 14:28:52 -07:00
John Kleinschmidt
8f3ef39f1e
chore: update line endings on HTML files ( #37755 )
2023-03-29 15:02:13 -04:00
David Sanders
48e13fde80
docs: update docs.microsoft.com links to learn.microsoft.com ( #37707 )
2023-03-29 12:16:44 +02:00
David Sanders
bb6648b79e
chore: force LF endings for .html files in .gitattributes ( #37704 )
2023-03-28 11:17:16 -04:00
Will Anderson
2b9dae4b06
feat: add will-frame-navigate event ( #34418 )
...
* feat: add will-navigate-in-frame event to webContents
* docs: add documentation for webview will-frame-navigate event
* feat: Eliminate isInPlace argument from will-frame-navigate event
* fix: Fire will-frame-navigate before will-navigate
* feat: send will-frame-navigate with a WebFrameMain in the event details
* docs: Update WebContents docs for new API signature
* feat: Add custom event forwarding for <webview> will-frame-navigate
* fix: wrap WebFrameMain so it can be sent as an event
* test: update webContents and <webview> tests to match new signatures
* chore: undo unnecessary change
* fix: don't switch will-navigate to use EmitNavigationEventDetails
* test: clean up will-navigate and will-frame-navigate tests for <webview>
* chore: apply lint fixes
* chore: move GetRenderFrameHost helper into anonymous namespace
* docs: auto-generate WillFrameNavigateDetails rather than defining it manually
* test: Update <webview> tests to actually pass under new spec runner
* docs: Add section explaining relationship between various nav events
* test: Add some tests to ensure navigation event order doesn't silently change
* test: Always monitor all nav events to ensure unexpected ones don't fire
* test: Add test to verify in-page navigation event order
* feat: Change to new style where extra params are exposed as event props
* fix: Remove unused EmitNavigationEventDetails
* fix: Update tests to use new async helpers
* docs: Rename and reorder sections documenting navigation events
---------
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-03-28 10:55:41 -04:00
Mikołaj Sawicki
2e1f803f37
docs: updated package.json content and electron version in build first app guide ( #37554 )
...
* Docs: updated package.json content and electron version in build first app guide
* docs: removed caret from electron version
2023-03-28 10:53:20 -04:00
Shelley Vohr
4c6092e151
fix: draggable regions shouldn't capture clicks on frames windows ( #37594 )
2023-03-28 10:52:28 -04:00
github-actions[bot]
b72f81ab5b
ci: fixup update appveyor image workflow ( #37684 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-27 20:57:27 -04:00
Shelley Vohr
97b19a7946
chore: generator objects can't be sent over the context bridge ( #37593 )
...
* chore: generator objects can't be sent over the context bridge
* Trigger Build
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-27 20:36:55 -04:00
Shelley Vohr
b27e4cae21
fix: crash in MessagePortMain with some postMessage params ( #37585 )
...
* fix: crash in MessagePortMain postMessage
* Update shell/browser/api/message_port.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-03-27 13:56:55 -04:00
Peter Xu
1e106c8aa4
docs: fixup incorrect value for disabling sandbox ( #37711 )
2023-03-27 13:27:55 -04:00
Jeremy Rose
fda8ea9277
feat: add protocol.handle ( #36674 )
2023-03-27 10:00:55 -07:00
John Kleinschmidt
6a6908c4c8
fix: allow cancelling of bluetooth requests ( #37601 )
...
* fix: allow cancelling of bluetooth requests
allows cancelling of bluetooth requests when no devices present
* docs: update docs to reflect how bluetooth works.
2023-03-27 09:31:15 -04:00
electron-roller[bot]
42e7cd9b3f
chore: bump chromium to 113.0.5670.0 (main) ( #37675 )
...
* chore: bump chromium in DEPS to 113.0.5670.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-23 17:15:56 -04:00
John Kleinschmidt
8cf03f5661
ci: fixup gn check to actually run gn check ( #37676 )
2023-03-23 15:02:08 -04:00
electron-roller[bot]
916861036d
chore: bump chromium to 113.0.5668.0 (main) ( #37646 )
...
* chore: bump chromium in DEPS to 113.0.5668.0
* chore: update patches
* chore: fixup for lint
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-22 20:09:13 -04:00
Erick Zhao
52481bc923
docs: update notifications tutorial ( #37602 )
...
* docs: update notifications tutorial
* delete unused assets
2023-03-21 21:40:43 -04:00
electron-roller[bot]
5023b49713
chore: bump chromium to 113.0.5666.0 (main) ( #37634 )
...
* chore: bump chromium in DEPS to 113.0.5666.0
* chore: update patches
* Make Clear-Site-Data: "cookies" respect third-party cookie blocking
https://chromium-review.googlesource.com/c/chromium/src/+/4346675
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-21 21:19:23 -04:00
Erick Zhao
2ac9ff1f20
docs: change MSDN links to new Microsoft docs ( #37603 )
2023-03-21 11:39:19 -04:00
electron-roller[bot]
46d3c4e04f
chore: bump chromium to 113.0.5664.0 (main) ( #37620 )
...
* chore: bump chromium in DEPS to 113.0.5664.0
* chore: update patches
* [Code Health] Migrate to WebUIDataSource::CreateAndAdd(), part 8
https://chromium-review.googlesource.com/c/chromium/src/+/4121701
Needed because of 4349773: Get rid of WebUIDataSource::Create() and WebUIDataSource::Add() | https://chromium-review.googlesource.com/c/chromium/src/+/4349773 landing
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-20 21:37:21 -04:00
John Kleinschmidt
0f77fec9d9
ci: make sure that strip_binary.gni is properly preserved ( #37626 )
2023-03-20 20:06:27 -04:00
dependabot[bot]
94f701edb8
build(deps-dev): bump webpack from 5.73.0 to 5.76.0 ( #37583 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.73.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.76.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 13:33:08 -04:00
Charles Kerr
caa5989eed
fix: avoid deprecated value apis ( #37590 )
...
* fix: use base::Value::Dict:::Remove() instead of RemoveKe()
the latter is deprecated.
* fix: use base::Value::Dict::FindString() instead of base::Value::FindStringKey()
The latter is deprecated.
* chore: make lint happy
2023-03-20 10:38:45 -04:00
George Joseph
e0c348a2f8
feat: Allow usage of an absolute path for partitions used in a session ( #37604 )
...
* Allow an absolute path to be used for creating sessions
Allows an absolute path to be used for creating sessions
by adding the session.fromPath() API.
* Fixup! Clarify that an emptry string is not permitted as a parameter to fromPath()
2023-03-20 10:34:49 -04:00
Shelley Vohr
eb613ef3d4
fix: invoke app.dock.{hide|show} instead of duplicating logic ( #37599 )
...
fix: invoke app.dock.{hide|show} instead of duplicating logic
2023-03-20 10:30:49 -04:00
Milan Burda
7ed3c7a359
chore: remove unnecessary casting to base::Value ( #37591 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-03-20 10:26:42 -04:00
David Sanders
64b39dce14
docs: update broken links ( #37610 )
2023-03-20 10:25:54 -04:00
electron-roller[bot]
5261e08d0c
chore: bump chromium to 113.0.5660.0 (main) ( #37612 )
...
* chore: bump chromium in DEPS to 113.0.5657.0
* chore: bump chromium in DEPS to 113.0.5660.0
* chore: update patches
printing.patch
https://chromium-review.googlesource.com/c/chromium/src/+/4347664
https://chromium-review.googlesource.com/c/chromium/src/+/4347664
https://chromium-review.googlesource.com/c/chromium/src/+/4338810
https://chromium-review.googlesource.com/c/chromium/src/+/4339496
mas_disable_remote_layer.patch
https://chromium-review.googlesource.com/c/chromium/src/+/4334544
https://chromium-review.googlesource.com/c/chromium/src/+/4335299
* Add API to verify `TOP_LEVEL_STORAGE_ACCESS` permission status
https://chromium-review.googlesource.com/c/chromium/src/+/4306712
* Move os_crypt into a sync/ subdirectory.
https://chromium-review.googlesource.com/c/chromium/src/+/4336304
* chore: generate libc++ headers
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2023-03-20 07:06:57 -04:00
John Kleinschmidt
9611b641c9
chore: Use thread_local: base/threading/ ( #37600 )
...
https://chromium-review.googlesource.com/c/chromium/src/+/4335524
2023-03-17 09:27:41 -04:00
Erick Zhao
095f9067a7
docs: delete synopsis.md ( #37580 )
...
* docs: delete synopsis.md
* remove code references to doc
2023-03-16 17:05:15 -07:00
Shelley Vohr
b8f970c1c7
fix: properly bubble up cookie creation failure message ( #37586 )
2023-03-16 13:48:14 +01:00
electron-roller[bot]
48d0b09ad9
chore: bump chromium to 113.0.5653.0 (main) ( #37587 )
...
* chore: bump chromium in DEPS to 113.0.5653.0
* chore: update patches
* [Extensions c2s] Move HasActiveTabAndCanAccess() to //extensions
https://chromium-review.googlesource.com/c/chromium/src/+/4305558
* [Privacy Hub] Respecting ChromeOS geoloc setting
https://chromium-review.googlesource.com/c/chromium/src/+/4171824
* Add runtime DLLs to win_clang_x64 when needed
https://chromium-review.googlesource.com/c/chromium/src/+/4336228
* chore: fix lint
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2023-03-16 19:03:53 +09:00
John Kleinschmidt
c5fc5efc00
chore: update filenames.libcxx.gni ( #37588 )
2023-03-15 15:41:32 -04:00
Milan Burda
6dc46e5bcf
refactor: replace deprecated base::Value::Set<Type>Key usage ( #37570 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-03-15 09:07:51 -04:00
electron-roller[bot]
061e2e5e73
chore: bump chromium to 113.0.5651.0 (main) ( #37553 )
...
* chore: bump chromium in DEPS to 113.0.5645.0
* chore: update patches/chromium/mas_avoid_usage_of_private_macos_apis.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4300129
Fix simple code shear
* chore: update patches/chromium/build_only_use_the_mas_build_config_in_the_required_components.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4297496
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4327491
patch-fuzz update; no manual changes
* chore: remove patches/chromium/fix_x11_window_restore_minimized_maximized_window.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4252946
Upstreamed by zcbenz, so local patch is no longer needed
* chore: update chromium/printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4313019
Remove cookie parameter from PrintViewManagerBase::UpdatePrintSettings()
* chore: remove NOTIMPLEMENTED BrowserProcessImpl::GetBreadcrumbPersistentStorageManager()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4247145
method removed upstream, so we do not need to add a stub for it in the subclass
* chore: remove PrintViewManagerElectron::UpdatePrintSettings()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4313019
Previously, our implementation checked to see if we recognized the
cookie param that was passed in. If so, we reported a bad message.
Otherwise, we passed it up to the base class' UpdatePrintSettings().
CL4313019 removed the cookie param, so checking for a bad cookie
param is no longer necessary / no longer possible. Since the only
remaining task was to pass the work up to the base class, this commit
removes the subclass implmentation entirely.
* chore: update patches
* chore: bump chromium in DEPS to 113.0.5647.0
* chore: bump chromium in DEPS to 113.0.5649.2
* chore: bump chromium in DEPS to 113.0.5651.0
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2023-03-15 18:20:32 +09:00
Jeremy Spiegel
bf1cc1aeb2
fix: don't set delegate for QLPreviewPanel ( #37530 )
...
fix: don't set delegate for QLPreviewPanel
2023-03-14 14:41:34 +01:00
Shelley Vohr
e480cb7103
docs: clarify open-url not preventable ( #37564 )
...
docs: clarify open-url not preventable
2023-03-14 14:17:28 +01:00
github-actions[bot]
3b69a542fb
build: update appveyor image to latest version ( #37561 )
...
* build: update appveyor image to latest version
* build: update appveyor-woa.yml with latest image
* build: modify action to update both appveyor & appveyor-woa
---------
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2023-03-13 19:44:27 -04:00
Yureka
82456c6915
refactor: DEPS: remove squirrel.mac from recursedeps ( #37496 )
...
DEPS: remove squirrel.mac from recursedeps
squirrel.mac repository does not contain a gclient DEPS file, so recursing into it is useless
2023-03-13 22:16:23 +01:00
John Kleinschmidt
e58f0411d9
chore: fixup filenames.libcxx.gni ( #37567 )
2023-03-13 13:55:25 -04:00
electron-roller[bot]
e61728beb9
chore: bump node to v18.15.0 (main) ( #37532 )
...
* chore: bump node in DEPS to v18.15.0
* chore: update patches
* chore: update node filenames patch
* chore: re-enable parallel/test-intl
* chore: disable parallel/test-webcrypto-wrap-unwrap
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-03-13 09:51:03 -04:00
electron-roller[bot]
feaf18e371
chore: bump chromium to 113.0.5636.0 (main) ( #37130 )
...
* chore: bump chromium in DEPS to 112.0.5576.0
* 4211172: Use the Mac ImageTransportSurface on iOS.
https://chromium-review.googlesource.com/c/chromium/src/+/4211172
* 4191759: Reuse PrintBackend process from query for printing
https://chromium-review.googlesource.com/c/chromium/src/+/4191759
* 4189718: Revert "[code health] Remove NotificationService use by SpellcheckService"
https://chromium-review.googlesource.com/c/chromium/src/+/4189718
* 4216074: web_contents_delegate: remove content::
https://chromium-review.googlesource.com/c/chromium/src/+/4216074
* 4192284: ios: Add feature flag for PartitionAlloc.
https://chromium-review.googlesource.com/c/chromium/src/+/4192284
* chore: bump chromium in DEPS to 112.0.5578.0
* 4211172: Use the Mac ImageTransportSurface on iOS.
https://chromium-review.googlesource.com/c/chromium/src/+/4211172
* 4067682: Define ThirdPartyCookiesUserBypass runtime feature and plumb it through to URLRequest.cookie_setting_overrides.
https://chromium-review.googlesource.com/c/chromium/src/+/4067682
* chore: fixup patch indices
* 4218354: Disable the use of preserve_most on arm64 Windows
https://chromium-review.googlesource.com/c/v8/v8/+/4218354
* chore: fixup patch indices
* chore: bump chromium in DEPS to 112.0.5579.0
* chore: update patches
* chore: bump chromium in DEPS to 112.0.5581.0
* chore: update patches
* refactor: use modern base values in tracing
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4210912
* refactor: remove GetFontLookupTableCacheDir
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4191820
* refactor: base value type DICTIONARY replaced with DICT
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4198081
* chore: add stub impls for WCO routing
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/4182690
* refactor: rename latency metrics
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/4048262
* refactor: add sanitized context to clipboard write
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4178264
* refactor: s/Rect/WindowFeatures
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4167001
* refacotr: switch mojom::NetworkHintsHandler to use SchemeHostPair instead of URL
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4185417
* chore: remove dead DecodeToken code
* refactor: refactoring geolocation manager
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4161603
* chore: iwyu net/cert/cert_verify_result.h
* build: use xcode 14
* chore: bump chromium in DEPS to 112.0.5583.0
* chore: update patches
* chore: fixup mas patches
* refactor: base::span explicit conversion checks
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4219636
* chore: bump chromium in DEPS to 112.0.5591.0
* chore: bump chromium in DEPS to 112.0.5593.0
* chore: bump chromium in DEPS to 112.0.5594.3
* chore: bump chromium in DEPS to 112.0.5597.0
* chore: update chromium patches
* 4242507: Move most of GetChromeKeySystems() into components/cdm
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4242507
It seems as though the bug this patch was trying to resolve is now fixed.
* chore: update v8 patches
* 4240798: Get rid of ShowInvalidPrinterSettingsError() in PrintManagerHost.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4240798
* 4247938: Bump min required GTK version to 3.20
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4247938
* 4173660: Remove unused argument in BeforeUnloadCompleted
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4173660
* 4226656: Add response url to SimpleURLLoader::OnRedirectCallback
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4226656
* fixup!: 4240798: Get rid of ShowInvalidPrinterSettingsError() in PrintManager Host.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4240798
* chore: bump chromium in DEPS to 112.0.5599.0
* chore: update patches
* 4251237: [StorageKey Cleanup] (2) Rename CreateFirstParty constructors
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4251237
* 4256866: [Extensions] Replace GetHooksForAPI with a RegisterHooksDelegate
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4256866
* chore: bump chromium in DEPS to 112.0.5601.0
* chore: update patches
* chore: bump chromium in DEPS to 112.0.5603.0
* chore: bump chromium in DEPS to 112.0.5605.0
* chore: bump chromium in DEPS to 112.0.5607.0
* update patches
* fix mas patch
* chore: bump chromium in DEPS to 112.0.5609.0
* chore: update patches
* build: update appveyor image
4072083: New toolchain for Windows 11 10.0.22621.755 SDK | https://chromium-review.googlesource.com/c/chromium/src/+/4072083
* chore: bump chromium in DEPS to 112.0.5611.0
* fix patches
* chore: update patches
* 4261434: Remove browser_watcher (1/3): Move ExitCodeWatcher to chrome/app
https://chromium-review.googlesource.com/c/chromium/src/+/4261434
* 4258446: Move network::mojom::ClearDataFilter to its own mojom file
https://chromium-review.googlesource.com/c/chromium/src/+/4258446
* 4128591: Enable large pdbs by default
https://chromium-review.googlesource.com/c/chromium/src/+/4128591
* move dbgcore/dbghelp to extensions_to_skip
* chore: bump chromium in DEPS to 113.0.5624.0
* chore: bump chromium in DEPS to 113.0.5626.0
* chore: bump chromium in DEPS to 113.0.5628.2
* chore: bump chromium in DEPS to 113.0.5630.0
* chore: bump chromium in DEPS to 113.0.5632.0
* chore: bump chromium in DEPS to 113.0.5634.0
* chore: bump chromium in DEPS to 113.0.5636.0
* 4255184: Permit popups from fullscreen-within-tab openers
https://chromium-review.googlesource.com/c/chromium/src/+/4255184
* 4297715: [mac] Introduce BluetoothLowEnergyAdapterApple to reuse CoreBluetooth
https://chromium-review.googlesource.com/c/chromium/src/+/4297715
* 4301154: Remove GLContextCGL and cleanup relevant code
https://chromium-review.googlesource.com/c/chromium/src/+/4301154
* 4278389: CDP: fix Page.addScriptToEvaluateOnNewDocument in iframes
https://chromium-review.googlesource.com/c/chromium/src/+/4278389
* 4240798: Get rid of ShowInvalidPrinterSettingsError() in PrintManagerHost.
https://chromium-review.googlesource.com/c/chromium/src/+/4240798
* 4291989: Refactor logic determining untrusted mojo invitation flag.
https://chromium-review.googlesource.com/c/chromium/src/+/4291989
* 4110189: Add Select option to content touch selection menu.
https://chromium-review.googlesource.com/c/chromium/src/+/4110189
* 4309923: [Extensions] Add a unit test for API permissions having features
https://chromium-review.googlesource.com/c/chromium/src/+/4309923
* 4282657: Revert "[headless] Route stdio to parent console on Windows."
https://chromium-review.googlesource.com/c/chromium/src/+/4282657
* 4306685: [v8] Improve V8 flag configuration to avoid errors
https://chromium-review.googlesource.com/c/chromium/src/+/4306685
* 4295455: Add fallback Linux UI for when GTK 3.20 isn't available
https://chromium-review.googlesource.com/c/chromium/src/+/4295455
* 4289774: Remove feature for shared sandbox policies
https://chromium-review.googlesource.com/c/chromium/src/+/4289774
* 4292705: Rename WebSwapCGLLayer to ANGLESwapCGLLayer outside WebKit.
https://chromium-review.googlesource.com/c/angle/angle/+/4292705
* chore: fixup patch indices
* fixup! 4297715: [mac] Introduce BluetoothLowEnergyAdapterApple to reuse CoreBluetooth
* 4289789: Remove base::JSONReader::ReadDeprecated
https://chromium-review.googlesource.com/c/chromium/src/+/4289789
* 4281521: Remove `base::Value::FindKey()`
https://chromium-review.googlesource.com/c/chromium/src/+/4281521
* 4276761: Update NAK constructor and GetIsCrossSite
https://chromium-review.googlesource.com/c/chromium/src/+/4276761
* 4288119: Let GetUpload work with UploadInfo pointers
https://chromium-review.googlesource.com/c/chromium/src/+/4288119
* 4285322: content: Move WebExposedIsolationLevel to its own public header
https://chromium-review.googlesource.com/c/chromium/src/+/4285322
* 4251818: [Extensions] Make ExtensionSet moveable.
https://chromium-review.googlesource.com/c/chromium/src/+/4251818
* 4299554: [json-schema-compiler] Refactor to Params::Create (14/74)
https://chromium-review.googlesource.com/c/chromium/src/+/4299554
* chore: update printing patch indices
* chore: update chromium/add_maximized_parameter_to_linuxui_getwindowframeprovider.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4295455
Our patch changes the signature of `LinuxUiTheme::GetWindowFrameProvider()`.
Upstream 4295455 added a new subclass (FallbackLinuxUi) so sync its version
of GetWindowFrameProvider() to match our changes.
* chore: disable node test parallel/test-intl
Disabling the test because upstream is still working on this feature.
Xref: https://chromium-review.googlesource.com/c/v8/v8/+/4237675
Xref: https://bugs.chromium.org/p/chromium/issues/detail?id=1414292
When upstream churn is done we should re-enable this test and update
it as necessary.
* win7dep: Remove ResolveCoreWinRTStringDelayload
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4277708
Upstream has removed this since Win7 support is deprecated.
This updates our `language_util_win.cc` file using the same
approach that 4277708 uses for `base/win/win_util.cc`.
* fix: remove use of ResolveCoreWinRTDelayload()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4297979
A followup to prev commit, which removed ResolveCoreWinRTStringDelayload().
This PR follows the 4297979 approach of simply removing the calls, e.g.
https://chromium-review.googlesource.com/c/chromium/src/+/4297979/4/chrome/browser/device_reauth/win/authenticator_win.cc
* fix: add d3dcompiler_47 to the zip manifest
Xref: https://chromium-review.googlesource.com/c/angle/angle/+/4285717
Xref (24-x-y): 0fb1def32b
* This clang roll breaks Linux arm 32-bit
Xref (24-x-y): 1229114494
Xref (chromium): https://crbug.com/1410101
* fix: WebUSB on ARM64 macs (#37441 )
* chore: update patches
* chore: fix macOS CI build.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4278307
That whole dir was previously being removed to save space since we don't
use it. We still don't use anything in the file, but gn needs it to exist.
* fixup! chore: fix macOS CI build.
chore: mkdir --parents does not exist on BSD; use mkdir -p
* chore: update chromium/mas_disable_remote_accessibility.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4273450
Upstream added a new block of code using NSAccessibilityRemoteUIElement,
so stub it out with `#if !IS_MAS_BUILD()` same as we do everwhere else.
* chore: address code review nit :)
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-03-10 10:07:42 -06:00
Shelley Vohr
8ee58e18fd
refactor: createThumbnailFromPath takes size not maxSize ( #37362 )
...
refactor: createThumbnailFromPath takes size not maxSize
2023-03-08 21:48:29 -05:00
Erick Zhao
f33bf2a271
docs: remove outdated ipc example ( #37523 )
2023-03-08 21:41:26 -05:00
Keeley Hammond
77bd80dfb2
fix: fallback to X11 capturer if pipewire fails on Wayland ( #37511 )
...
* fix: fallback to x11 desktop capturer on Wayland
* fix: sanitize window/screen capturer inputs
* chore: clean up patch description
2023-03-07 13:59:06 -08:00
John Kleinschmidt
0d3aee26b9
docs: fixup WebUSB fiddle ( #37455 )
...
docs: fixup webusb fiddle
2023-03-07 21:36:31 +01:00
John Kleinschmidt
efde7a140b
fix: WebUSB on ARM64 macs ( #37441 )
2023-03-07 12:40:40 -05:00
Jeremy Rose
4e85bb921b
docs: remove misleading info from will-finish-launching docs ( #37514 )
2023-03-06 16:24:52 -08:00
Shelley Vohr
512e56baf7
feat: expose audio-state-changed on webContents ( #37366 )
...
feat: expose audio-state-changed on webContents
2023-03-06 17:00:24 +01:00
Calvin
c8f715f9a1
fix: Showing the about panel is async on all platforms ( #37440 )
...
* fix: about panel is a base::Value::Dict
* nix this test for a diff PR
* what if the about dialog was not blocking
* add this test back in
* document synchronicity
* github editor is a fan of spaces
2023-03-06 09:46:35 -05:00
Shelley Vohr
829fb4f586
fix: don't double-log unhandled rejections ( #37464 )
2023-03-06 11:04:43 +01:00
Shelley Vohr
17ccb3c6ec
refactor: leverage Skia helpers for NSColor ANSI logic ( #37452 )
2023-03-03 09:42:50 +01:00
Jeremy Rose
6bd9ee6988
feat: net.fetch() supports custom protocols ( #36606 )
2023-03-02 15:47:45 -08:00
Jeremy Rose
76c825d619
fix: draggable regions on MAS ( #37466 )
2023-03-02 11:21:51 -08:00
Kevin Law
692876c737
docs(clipboard): fix an issue of demo code ( #37438 )
...
doc(clipboard): fix an issue of demo code
2023-03-02 12:24:59 +01:00
Jeremy Rose
c3f06ef037
fix: DCHECK in MessageSync in rare cases ( #37439 )
2023-03-02 10:03:52 +01:00
Shelley Vohr
9b20b3a722
chore: improve contents.takeHeapSnapshot error messages ( #37434 )
...
* chore: improve contents.takeHeapSnapshot error messages
* fix wstring conversion issue
2023-03-01 10:50:36 -05:00
Shelley Vohr
8f2917db01
fix: min/max width/height enforcement when aspectRatio is set ( #37306 )
...
fix: min/max width/height with aspect ratio
2023-03-01 10:50:14 -05:00
Theo Gravity
49df19214e
feat: add enableLocalEcho flag to setDisplayMediaRequestHandler() callback ( #37315 )
2023-03-01 11:37:19 +01:00
Shelley Vohr
5e25d23794
fix: handle closing webContents in BrowserViews ( #37420 )
...
* fix: handle closing webContents in BrowserViews
* test: add window.close() test
2023-03-01 11:35:06 +01:00
Shelley Vohr
8fb0f43030
fix: Notification with reply obscuring first action on macOS ( #37381 )
...
fix: Notification with reply obscuring first action
2023-03-01 09:46:56 +01:00
Calvin
1f390119fe
test: add disabled tests list ( #37334 )
2023-02-28 17:27:54 -05:00
Shelley Vohr
87f2a1d572
fix: BroadcastChannel initialization location ( #37421 )
...
* fix: BroadcastChannel initialization location
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-02-28 17:26:37 -05:00
Calvin
2e03bdb9b6
fix: about panel crash ( #37373 )
...
* fix: about panel is a base::Value::Dict
* nix this test for a diff PR
2023-02-28 17:26:00 -05:00
Jeremy Rose
3a5ae28c95
feat: expose initiator in navigation events ( #37085 )
2023-02-28 11:08:22 -08:00
Milan Burda
ed7b5c44a2
feat: add types to webRequest filter ( #30914 )
2023-02-27 11:16:59 -08:00
Milan Burda
edf887bdc5
refactor: use _loadURL(url, options ?? {}); ( #37337 )
2023-02-27 10:05:58 +01:00
David Sanders
1ff7f098f1
chore: set wg-releases as owner of /docs/breaking-changes.md ( #37405 )
2023-02-24 11:34:23 -08:00
David Sanders
fb100e8f49
chore: remove dead config code for trop ( #37406 )
2023-02-24 11:11:04 -08:00
Jeremy Rose
3384908da1
docs: document change in draggable region behavior on macOS ( #37396 )
2023-02-24 11:10:27 -08:00
John Kleinschmidt
73bd9a3155
ci: rename Electron build step to include type of build being built ( #37371 )
...
ci: rename Electron build step to describe what is being built
2023-02-23 21:13:54 -05:00
Jeremy Rose
e27905c765
fix: allow contextmenu event in draggable regions ( #37386 )
2023-02-23 16:05:30 -08:00
Jeremy Rose
a3e3efe4c4
test: use node helpers for events.once and setTimeout promise ( #37374 )
2023-02-23 15:53:53 -08:00
electron-roller[bot]
46c8b9c728
chore: bump node to v18.14.2 (main) ( #37380 )
...
* chore: bump node in DEPS to v18.14.2
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-02-22 19:17:03 +01:00
Shelley Vohr
6395898a79
refactor: use associated v8::Context for event setup ( #37355 )
...
refactor: use associated v8::Context for event setup
2023-02-22 10:03:46 +01:00
Shelley Vohr
32c60b29bb
fix: html fullscreen when window not fullscreenable ( #37348 )
2023-02-21 12:11:34 +01:00
Black-Hole
868676aa5c
feat: add httpOnly cookies.get filter ( #37255 )
...
feat: add httpOnly cookies filter
2023-02-21 11:44:35 +01:00
Shelley Vohr
85cf56d80b
fix: guard more private API usage on MAS builds ( #37309 )
2023-02-21 11:44:18 +01:00
Cheng Zhao
a92fd2aa05
fix: restoring X11 window should not remove previous maximize state ( #37346 )
2023-02-21 09:49:02 +01:00
Shelley Vohr
ee966ad6ec
build: remove unused python code ( #37351 )
2023-02-21 09:48:52 +01:00
Jeremy Rose
872d1fe05a
feat: implement net.fetch ( #36733 )
2023-02-20 12:57:38 -08:00
electron-roller[bot]
63f94f2359
chore: bump node to v18.14.1 (main) ( #37332 )
...
* chore: bump node in DEPS to v18.14.1
* chore: update patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-02-20 09:22:08 -08:00
Mikael Finstad
67a6fbf265
docs: fixed a typo in process.defaultApp doc ( #37342 )
...
docs: improve `defaultApp`
2023-02-20 13:06:19 +01:00
Milan Burda
f97d68c4bf
test: convert functions to async & eliminate duplicates ( #37316 )
...
test: convert functions to async
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-20 12:30:57 +01:00
Milan Burda
969665eaa2
test: type-safe import of menu-item-roles in api-menu-item-spec.ts ( #37320 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-19 01:27:03 -08:00
Milan Burda
0d8dd61257
test: use expect(dir).to.be.an.instanceof(fs.Dirent); ( #37331 )
2023-02-19 01:25:40 -08:00
Milan Burda
cf10c19c33
test: cleanup let xyz = null as unknown as T; ( #37335 )
2023-02-19 01:24:24 -08:00
Milan Burda
fcfbcbc7e1
test: move desktopCapturer usage from renderer to main in ts-smoke ( #37321 )
2023-02-17 16:29:36 -06:00
Milan Burda
e34cc6f48c
test: enable linting of ts-smoke and fix all issues ( #37322 )
2023-02-17 12:56:09 -06:00
Milan Burda
ee87438d28
test: use async helpers to simplify tests ( #37314 )
...
test: use async helpers to simplify the tests
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-17 12:32:39 -06:00
Cheng Zhao
0de1012280
feat: add BrowserWindow.set/getWindowButtonPosition APIs ( #37094 )
2023-02-17 19:06:32 +09:00
Milan Burda
0a5e634736
test: rename & split internal module tests ( #37318 )
2023-02-17 10:14:40 +01:00
Alexey Kuzmin
73b7aac6a4
test: fix "crash cases" tests not failing properly ( #37304 )
...
* test: fix "crash cases" tests not failing properly
* fixup! test: fix "crash cases" tests not failing properly
2023-02-17 10:14:00 +01:00
Milan Burda
ea848bc1c5
test: use webContents.create() in type-safe way ( #37281 )
...
test: use (webContents as typeof ElectronInternal.WebContents).create()
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-16 15:41:41 +01:00
Shelley Vohr
a44e76fb70
build: strip warnings from stdout in get_release ( #37277 )
...
build: strip warnings from stdout in get_release
2023-02-16 15:20:19 +01:00
Shelley Vohr
3138acc377
chore: remove redundant Node.js patch ( #37279 )
...
* chore: fix patch for other patch
* chore: update patches
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-02-16 15:18:47 +01:00
Milan Burda
beed240454
test: use render-process-gone event in tests ( #37280 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-16 01:25:41 -08:00
Milan Burda
fdab0799fe
docs: only macOS 10.13+ is supported now ( #37286 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-15 16:29:02 -08:00
Keeley Hammond
17ea7f42fc
build: ignore makeLatest on pre-releases ( #37274 )
...
* build: ignore makeLatest on pre-releases
* chore: set makeLatest to false by default
Co-authored-by: Samuel Attard <sam@electronjs.org >
---------
Co-authored-by: Samuel Attard <sam@electronjs.org >
2023-02-14 21:12:07 -08:00
Shelley Vohr
d0cf9c4b08
build: add missing is_verbose_mode import ( #37273 )
...
build: add missing is_verbose_mode import
2023-02-14 22:52:53 +01:00
Keeley Hammond
fe7c535a3f
chore: add logging for debugging release json ( #37270 )
...
* chore: add debug logging for JSON
* chore: better logging
2023-02-14 13:03:50 -08:00
Shelley Vohr
8eee4f2df1
fix: BrowserView crash when 'beforeunload' prevented ( #37205 )
...
fix: crash when beforeunload prevented
2023-02-14 18:40:37 +01:00
Keeley Hammond
4d6f230d21
build: re-bake node v18.12.1 image for asset upload ( #37254 )
...
* debug: peek node version
* build: force uninstall/reinstall 18.12.1
* build: update image, re-comment out deps
* build: remove nodejs-lts uninstall, node debug line
2023-02-14 07:44:39 -08:00
Shelley Vohr
889859df5b
feat: include all standard paper sizes for webContents.print() ( #37159 )
2023-02-14 11:44:34 +01:00
Andrew Ferreira
cb03c6516b
docs: add win.isFocusable() return type ( #37245 )
...
docs: fix `win.isFocusable()` return type
2023-02-14 10:01:22 +01:00
Shelley Vohr
2e8114aea3
refactor: simplify Node.js event loop with SpinEventLoop ( #34884 )
...
refactor: simplify Node.js event loop with SpinEventLoop
2023-02-14 09:54:09 +01:00
Milan Burda
a38b711fb1
feat: add logUsage to shell.openExternal() options ( #37139 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-14 17:53:18 +09:00
Keeley Hammond
3972073116
build: revert to e-110.0.5451.0 on Appveyor ( #37253 )
2023-02-13 18:13:34 -08:00
Keeley Hammond
8c986ff194
build: bake node v18.12.1 Appveyor image ( #37250 )
...
* chore: bake a new AppVeyor image
* build: use image e-111.0.5560.0-4
* build: remove nodejs-lts
* build: use new baked image
2023-02-13 14:03:12 -08:00
Jeremy Rose
71944f2c3b
refactor: simplify events ( #37099 )
2023-02-13 13:39:18 -08:00
Black-Hole
8b3e498436
fix: cookies filter secure invalid ( #37203 )
2023-02-13 15:02:55 +01:00
Samuel Attard
cf80994729
build: set make_latest correctly on published releases ( #37233 )
2023-02-13 01:16:27 -08:00
Jeremy Rose
01f1522cbd
chore: change undocumented protocol.registerProtocol to detect body type ( #36595 )
...
* feat: add protocol.registerProtocol
* remove wip handleProtocol code
* lint
* Update shell/browser/net/electron_url_loader_factory.h
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
* fix
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2023-02-13 16:48:30 +09:00
David Sanders
a37f572388
chore: update links in comments ( #37197 )
2023-02-11 18:52:54 -08:00
Milan Burda
3180312595
chore: update https://cs.chromium.org/ links to https://source.chromium.org/ ( #37190 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-11 18:52:32 -08:00
John Kleinschmidt
ff60fe25c1
ci: update appveyor build agent ( #37211 )
...
ci update appveyor image
2023-02-11 13:28:28 -05:00
Shelley Vohr
12ed401ca2
chore: re-enable worker spec failures ( #37015 )
2023-02-09 18:18:35 +01:00
Milan Burda
e5e9186d61
docs: add missing clipboard-sanitized-write permission value to setPermissionRequestHandler() ( #37173 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-09 11:38:39 +01:00
Shelley Vohr
478ce96914
fix: avoid using v8 on Isolate termination ( #35766 )
...
* fix: avoid using v8 on Isolate termination
* chore: refactor for review
---------
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
2023-02-09 09:48:49 +01:00
Jeremy Rose
8dc98aeeae
chore: remove load-url event ( #37174 )
2023-02-09 14:40:37 +09:00
Milan Burda
35a9e67dba
chore: rename built-in modules to bindings to match naming update in node ( #37182 )
2023-02-09 10:31:38 +09:00
Samuel Attard
8b380ee2f2
test: ensure fullscreen test is retryable ( #37179 )
...
spec: ensure fullscreen test is retryable
2023-02-08 12:40:24 -08:00
Shelley Vohr
a15c9d3058
test: Node.js hkdf tests work now ( #37180 )
2023-02-08 13:35:28 -05:00
David Sanders
22de86d5f4
docs: remove reference to electron/releases ( #37164 )
2023-02-08 15:27:09 +01:00
Samuel Attard
8783d03a59
test: mark some node specs as flaky ( #37181 )
2023-02-08 15:19:02 +01:00
Bruno Pitrus
df6f99aa72
fix: correct redefinition which is invalid C++ ( #36096 )
...
* fix: correct redefinition which is invalid C++
See https://stackoverflow.com/a/15538759 for an explanation of class scope.
GCC gives an error when compiling this code: https://godbolt.org/z/sYhc3cMjE
* Update export_gin_v8platform_pageallocator_for_usage_outside_of_the_gin.patch
---------
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2023-02-08 16:03:47 +09:00
Samuel Attard
00a542358d
build: only retry tests on CI ( #37167 )
2023-02-07 22:44:53 -08:00
Jeremy Rose
9a0a0a7a46
fix: type for received-apns-notification event ( #37177 )
2023-02-07 22:43:29 -08:00
Milan Burda
6a3cb34326
fix: expose native bindings by process type ( #35949 )
2023-02-07 20:22:18 -05:00
electron-roller[bot]
de607cbcde
chore: bump node to v18.14.0 (main) ( #37129 )
...
* chore: bump node in DEPS to v18.14.0
* src: add support for externally shared js builtins
https://github.com/nodejs/node/pull/44376
* test: fix test broken under --node-builtin-modules-path
https://github.com/nodejs/node/pull/45894
* build: add option to disable shared readonly heap
https://github.com/nodejs/node/pull/45887
* src: remove unnecessary semicolons
https://github.com/nodejs/node/pull/46171
* src: remove return after abort
https://github.com/nodejs/node/pull/46172
* chore: fixup patch indices
* test_runner: parse yaml
https://github.com/nodejs/node/pull/45815
* src: use simdutf for converting externalized builtins to UTF-16
https://github.com/nodejs/node/pull/46119
* src: rename internal module declaration as internal bindings
https://github.com/nodejs/node/pull/45551
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-02-07 15:51:07 -05:00
David Sanders
7abe38b46e
build: fix version check in release_dependency_versions.yml ( #37155 )
...
* build: fix version check in release_dependency_versions.yml
* chore: also mksnapshot
2023-02-07 11:38:50 -05:00
David Sanders
d17507e3f6
docs: use relative links within docs ( #37042 )
2023-02-07 19:28:24 +09:00
Keeley Hammond
9b2b3aa287
docs: update stable dates ( #37150 )
2023-02-06 13:42:58 -08:00
github-actions[bot]
b4acbbb1e9
build: update appveyor image to latest version ( #37151 )
...
Co-authored-by: jkleinsc <jkleinsc@users.noreply.github.com >
2023-02-06 13:42:32 -08:00
David Sanders
dc972b3919
chore: remove old script code for ATOM_SHELL_ ( #37140 )
...
The TODO is from 2016, seems like it's time
2023-02-06 13:07:45 -08:00
Jeremy Rose
67dc178e70
refactor: move gin_helper::Constructible methods to prototype ( #37087 )
2023-02-06 12:59:49 -08:00
Milan Burda
8d382b9c60
chore: remove deprecated capturer count APIs ( #37075 )
...
chore: remove deprecated incrementCapturerCount() / decrementCapturerCount()
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-06 07:54:47 -08:00
Samuel Attard
7dcd97f864
fix: enable basic a11y when voice control is active ( #37122 )
...
c.f. https://chromium-review.googlesource.com/c/chromium/src/+/2680102
2023-02-06 20:32:21 +09:00
David Sanders
9ec13afeaf
docs: add missing ipcRenderer require to example code ( #37134 )
2023-02-06 14:40:16 +09:00
dependabot[bot]
9c0dcaf36b
build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 ( #37132 )
...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases )
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: http-cache-semantics
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-04 13:50:33 -08:00
Samuel Attard
e60b0958e2
build: update spec dependencies to clean up yarn audit ( #37116 )
2023-02-03 13:17:05 -08:00
Shelley Vohr
0524b4e98a
build: allow workflow_dispatch on scheduled Actions ( #37128 )
2023-02-03 20:55:04 +01:00
electron-roller[bot]
d02c9f8bc6
chore: bump chromium to 111.0.5544.3 (main) ( #36820 )
...
* chore: bump chromium in DEPS to 111.0.5522.0
* chore: bump chromium in DEPS to 111.0.5524.0
* chore: bump chromium in DEPS to 111.0.5526.0
* chore: bump chromium in DEPS to 111.0.5528.0
* chore: update patches/chromium/mas_avoid_usage_of_private_macos_apis.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4132807
Fix simple code shear
* chore: update patches/chromium/unsandboxed_ppapi_processes_skip_zygote.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4130675
Fix simple code shear
* chore: update patches/chromium/hack_plugin_response_interceptor_to_point_to_electron.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4144281
Fix simple code shear; applied cleanly w/patch-fuzz
* chore: update patches/chromium/disable_unload_metrics.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4126173
Fix simple code shear; applied cleanly w/patch-fuzz
* chore: update patches/chromium/feat_add_data_parameter_to_processsingleton.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4144281
Fix simple code shear; applied cleanly w/patch-fuzz
* chore: update patches/chromium/preconnect_manager.patch
https://chromium-review.googlesource.com/c/chromium/src/+/4144281
Fix simple code shear; applied cleanly w/patch-fuzz
* chore: update patches/v8/force_cppheapcreateparams_to_be_noncopyable.patch
https://chromium-review.googlesource.com/c/v8/v8/+/3533019
Fix simple code shear; applied cleanly w/patch-fuzz
* chore: update patches
* chore: update patches/chromium/add_maximized_parameter_to_linuxui_getwindowframeprovider.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4128765
Upstream added a new call to HeaderContext(), whose signature we have patched
* chore: bump chromium in DEPS to 111.0.5530.0
* chore: update patches
* Move ChildProcessHost* from content/common to content/browser
Xref: Move ChildProcessHost* from content/common to content/browser
* Remove RenderViewHostChanged
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4134103
[upstream removal of RenderViewHostChanged]
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4092763
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4093234
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4133892
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4134103
[examples of upstream code adjusting to the change]
Upstream handles this change in roughly two approaches:
1. Move the code over to RenderFrameHostChanged(old_host, new_host)
but test for new_host->IsInPrimaryMainFrame() before acting
2. Migrate to the PrimaryPageChanged(page) API and use
page.GetMainDocument() to get the RenderFrameHost.
I've chosen 1. because electron_api_web_contents needed that pointer
to old_host to call RemoveInputEventListener(), but I may be missing
some context & would appreciate review on this commit.
* Make electron/shell/browser/relauncher_win.cc use <winternl.h>
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4129135
Many internal Windows types are now available in winternl.h
so upstrem no longer defines the types themselves.
* Move ChildProcessHost* from content/common to content/browser
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4134795
* fixup! Make electron/shell/browser/relauncher_win.cc use <winternl.h>
winternl.h does not define the field we need, so clone the struct Chromium was using into unnamed namespace
* fixup! Move ChildProcessHost* from content/common to content/browser
chore: update #includes too
* chore: bump chromium in DEPS to 111.0.5532.0
* chore: sync patches/chromium/pepper_plugin_support.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4133323
manually reync patch; no code changes
* chore: sync patches/chromium/mas_no_private_api.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4143865
the content/common/pseudonymization_salt.cc patch is no longer needed
* chore: sync patches/chromium/mas_disable_remote_accessibility.patch
patch-fuzz update; no manual changes
* chore: sync patches/chromium/build_do_not_depend_on_packed_resource_integrity.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4111725
manually reync patch; no code changes
* chore: sync patches/chromium/create_browser_v8_snapshot_file_name_fuse.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4133323
manually reync patch; no code changes
* chore: sync patches/v8/fix_build_deprecated_attribute_for_older_msvc_versions.patch
Xref: https://chromium-review.googlesource.com/c/v8/v8/+/4127230
patch-fuzz update; no manual changes
* chore: rebuild patches
* fixup! Remove RenderViewHostChanged
Use PrimaryPageChanged()
* chore: remove unused method TabsUpdateFunction::OnExecuteCodeFinished()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4133991
This private, already-unused function showed up as a FTBFS because it
took a base::ListValue parameter and ListValue was removed upstream.
* task posting v3: remove includes of runner handles and IWYU task runners
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4133323
* chore: lint
* chore: more lint
* fixup! task posting v3: remove includes of runner handles and IWYU task runners
macOS, too
* fixup! task posting v3: remove includes of runner handles and IWYU task runners
* chore: bump chromium in DEPS to 111.0.5534.0
* chore: sync patches/chromium/allow_new_privileges_in_unsandboxed_child_processes.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4141862
patch-fuzz update; no manual changes
* chore: sync patches/chromium/logging_win32_only_create_a_console_if_logging_to_stderr.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4153110
Sync to minor upstream changes. Add const correctness.
* chore: sync electron/patches/chromium/feat_configure_launch_options_for_service_process.patch
https://chromium-review.googlesource.com/c/chromium/src/+/4141862
patch-fuzz update; no manual changes
* chore: patches/v8/fix_build_deprecated_attribute_for_older_msvc_versions.patch
sync https://chromium-review.googlesource.com/c/v8/v8/+/4147787
patch-fuzz update; no manual changes
* chore: update patches
* chore: bump chromium in DEPS to 111.0.5536.0
* chore: sync patches/chromium/allow_new_privileges_in_unsandboxed_child_processes.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4141863
Sync with upstream code changes. Minor code golf for readability.
Note: upstream is laying groundwork for being able to work off of env vars
instead of switches. Doesn't affect us yet but worth being aware of.
> + // Environment variables could be supported in the future, but are not
> + // currently supported when launching with the zygote.
* chore: update patches/chromium/feat_expose_raw_response_headers_from_urlloader.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4126836
patch-fuzz update; no manual changes
* chore: sync electron/patches/chromium/feat_configure_launch_options_for_service_process.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4141863
manual sync
* chore: sync electron/patches/v8/fix_build_deprecated_attribute_for_older_msvc_versions.patch
https://chromium-review.googlesource.com/c/v8/v8/+/4147788
fuzz-patch
* chore: rebuild patches
* chore: bump chromium in DEPS to 111.0.5538.0
* chore: bump chromium in DEPS to 111.0.5540.0
* chore: update patches
* Remove sdk_forward_declarations
https://chromium-review.googlesource.com/c/chromium/src/+/4166680
* task posting v3: Remove task runner handles from codebase entirely
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4150928
* Cleanup child_process_launcher_helper*
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4141863
* fix: utilityprocess spec on macOS
* fix: build on windows
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4141863
* chore: fix lint
* chore: bump chromium 111.0.5544.3
* chore: gen filenames.libcxx.gni
* Add check for Executable+Writable handles in renderer processes.
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3774416
* fixup! Add check for Executable+Writable handles in renderer processes.
* 4143761: [110] Disable SwiftShader for WebGL on M1 Macs.
https://chromium-review.googlesource.com/c/chromium/src/+/4143761
(cherry picked from commit 2f74db3c21 )
* chore: bump chromium to 111.0.5555.0
* 56085: Remove hmac.h include from ssl.h.
https://boringssl-review.googlesource.com/c/boringssl/+/56085
* 4167020: Remove forwarding headers
https://chromium-review.googlesource.com/c/chromium/src/+/4167020
* chore: bump chromium to 111.0.5559.0
* 4181044: Restrict WebCursor usage to RenderWidgetHostViewAura
https://chromium-review.googlesource.com/c/chromium/src/+/4181044
* 4189437: views: rename ink_drop_host_view to ink_drop_host
https://chromium-review.googlesource.com/c/chromium/src/+/4189437
* chore: bump chromium to 111.0.5560.0
* 4167016: win7dep: remove non aeroglass code
https://chromium-review.googlesource.com/c/chromium/src/+/4167016
* fixup after rebase: Remove forwarding header
s https://chromium-review.googlesource.com/c/chromium/src/+/4167020
* 4125755: Reland "Reject getDisplayMedia calls without user activation"
https://chromium-review.googlesource.com/c/chromium/src/+/4125755
* test: add workaround
* chore: update patches
* fix: alter coreModuleRegExp to prevent arm crash
* Revert "fix: alter coreModuleRegExp to prevent arm crash"
This reverts commit 7e50630c98 .
* 4218354: Disable the use of preserve_most on arm64 Windows
https://chromium-review.googlesource.com/c/v8/v8/+/4218354
* chore: review changes
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-02-03 12:43:42 +01:00
Milan Burda
446c7809cc
refactor: process event emitting for sandboxed renderers ( #37109 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-03 11:59:57 +01:00
Samuel Attard
6e0d63c356
build: update mocha for retries and audit fix ( #37117 )
2023-02-02 17:40:30 -08:00
Samuel Attard
d069b8fc66
build: actually upload symbol zips ( #37124 )
2023-02-02 17:39:51 -08:00
Samuel Attard
1a6085e20e
docs: improve globalShortcut and hookWindowMessage types ( #37115 )
2023-02-02 12:31:28 -08:00
Shelley Vohr
33c32a798b
build: remove mips64el build config ( #37093 )
...
build: remove mips64el build config
2023-02-02 20:53:54 +09:00
David Sanders
23ae0dde17
docs: use automatic link syntax for symbol server link ( #37089 )
2023-02-02 19:16:41 +09:00
Milan Burda
ac266e2187
docs: remove invalid appcache value from storages in clearStorageData() ( #37095 )
2023-02-01 17:35:21 -08:00
Jeremy Rose
6aa7e27b39
fix: nodeIntegrationInWorker fails to boot in AudioWorklets ( #37041 )
2023-02-01 16:03:23 -08:00
Shelley Vohr
2dc76d0d80
build: fixup release_dependency_versions action ( #37036 )
2023-02-01 19:12:19 +01:00
Milan Burda
fd761ec8f7
chore: strip trailing whitespace ( #35969 )
2023-02-01 12:59:16 +01:00
Samuel Attard
dbdbb6fb3b
build: bump deps to clean up yarn audit ( #36535 )
...
build: update dependencies to clean up yarn audit
2023-01-31 13:58:39 -08:00
Shelley Vohr
26ee197fe5
chore: validate .mjs spec files in Node.js smoke tests ( #37073 )
...
chore: take mjs spec files in Node.js smoke tests
2023-01-31 12:36:27 -08:00
Shelley Vohr
730a07ad62
docs: note how to clear an aspect ratio ( #37074 )
2023-01-31 12:36:09 -08:00
David Sanders
01b4e3b521
ci: update actions/stale to v6.0.1 ( #37079 )
2023-01-31 12:30:40 -08:00
David Sanders
899881457b
docs: update modules list in docs/README.md ( #37080 )
2023-01-31 12:29:33 -08:00
John Kleinschmidt
9adbf49240
ci: fixup ninja for release ( #37083 )
2023-01-31 11:29:39 -05:00
Milan Burda
c6203d54d0
refactor: simplify script/lint.js ( #37077 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-01-31 14:33:50 +01:00
Shelley Vohr
23739c644b
fix: crash on WebWorkerObserver script execution ( #37050 )
...
fix: crash on WebWorkerObserver script execution
2023-01-31 12:29:29 +01:00
Shelley Vohr
ce35bda805
fix: crash on window.print() ( #37052 )
...
fix: crash on window.print()
2023-01-31 12:06:11 +01:00
John Kleinschmidt
fcc7a869f2
ci: ensure correct ninja is used ( #37069 )
2023-01-30 12:35:38 -05:00
Jeremy Rose
85f41d59ac
fix: ensure autofill popup view is > 1x1 in size ( #36121 )
...
* fix: ensure autofill popup view is > 1x1 in size
ref #26667
* Update shell/browser/ui/views/autofill_popup_view.cc
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-01-27 10:50:19 +01:00
Shelley Vohr
0026fdb78a
fix: resizing borders in nondraggable regions ( #37016 )
...
* fix: resizing borders in nondraggable regions
* chore: remove frame handling from ShouldDescendIntoChildForEventHandling
2023-01-26 14:04:19 +01:00
Mikaël Barbero
1486cbdf64
feat: add support for unlocking with Apple Watch ( #36935 )
2023-01-26 13:05:42 +01:00
Cheng Zhao
c303135b02
fix: fallback to GtkStatusIcon when app indicator is not supported ( #36815 )
...
* chore: get ready for multi backend tray
* fix: fallback to GtkStatusIcon when app indicator is not supported
* chore: use smart pointers
2023-01-26 19:15:55 +09:00
Shelley Vohr
7d46d3ec9d
feat: emit devtools-open-url event for DevTools link selection ( #36774 )
...
* feat: emit event for DevTools link selection
* chore: devtools-open-in-new-tab -> devtools-open-url
2023-01-26 09:54:26 +01:00
Himanshu Patil
8d008c977d
docs: updated deep link docs ( #36952 )
...
* removed open-url listener from windows code
* updated deep-link fiddle
* fixed url hash to app.requestSingleInstanceLock
* code linted
* updated website url to relative file path
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-01-26 16:20:10 +09:00
Shelley Vohr
c6b9340b89
chore: fix memory leak in v8.serialize() ( #37021 )
...
chore: fix memory leak in v8.serialize()
2023-01-26 15:43:57 +09:00
Milan Burda
397aee7315
chore: update README.md ( #37002 )
...
Update README.md
2023-01-26 09:57:20 +09:00
Robo
a30a9c7c4f
chore: remove crashpad related sandbox policy ( #37013 )
2023-01-26 09:01:34 +09:00
kyrylo-hrechykhin
a59f11fdb1
feat: enable whole-program optimization native modules by default ( #36937 )
...
* feat: enable whole-program optimization
Enable whole-program optimization in electron native modules by default.
* pass --with-ltcg to configure.py instead of setting variable
* enable ltcg only on windows
Co-authored-by: Kyrylo Hrechykhin <khrechykhin@microsoft.com >
2023-01-25 13:06:05 -08:00
Samuel Attard
58beec1da2
fix: do not error on null exports in ESM loader ( #37009 )
2023-01-25 13:03:47 -08:00
Milan Burda
4bc6b15f53
refactor: move spec helpers to spec/lib ( #37010 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-01-25 13:01:25 -08:00
Milan Burda
355f322dbd
chore: remove unused fixture_support.md ( #37011 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-01-25 13:00:51 -08:00
Milan Burda
2f79444535
refactor: separate WEB_VIEW_ATTRIBUTES / WEB_VIEW_ERROR_MESSAGES ( #36972 )
2023-01-25 16:08:46 +01:00
Milan Burda
a9b6041d38
chore: remove unused files in spec/fixtures ( #37012 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-01-25 16:02:44 +01:00
Shelley Vohr
afca3ff965
chore: call ListenerDestroyed() in FileSelectHelper::RunFileChooserEnd() ( #37006 )
...
chore: call ListenerDestroyed() in FileSelectHelper::RunFileChooserEnd()
2023-01-25 15:51:01 +01:00
Shelley Vohr
86f99e9cf0
chore: cleanup ElectronContentClient::AddPlugins ( #37005 )
...
chore: cleanup ElectronContentClient::AddPlugins
2023-01-25 14:57:30 +01:00
David Sanders
ca3145a547
chore: use vscode-markdown-languageservice for link linting ( #36901 )
...
* chore: use vscode-markdown-languageservice for docs link linting
* docs: make links relative
2023-01-24 09:00:25 +01:00
Shelley Vohr
37f5881882
test: add a <datalist> spec for time type ( #36953 )
...
spec: add a datalist spec for time type
2023-01-23 11:21:28 -05:00
David Sanders
f20d0b4ecb
chore: clean up .keep files ( #36980 )
2023-01-23 09:57:00 +01:00
Robo
cdb65c15a8
fix: make plugin helper executable unconditional ( #36971 )
2023-01-21 09:42:45 +09:00
Shelley Vohr
c3f02d7df2
chore: cleanup autofill agent shutdown sequence ( #36954 )
2023-01-20 14:35:06 -08:00
David Sanders
3b018143b4
ci: don't run stale workflow jobs in parallel ( #36967 )
2023-01-20 13:02:50 -08:00
David Sanders
885c1878d4
test: fix nativeTheme test when system in dark mode ( #36943 )
2023-01-19 21:59:20 -05:00
GGIEnrike
5ce8dfdcb5
docs: Change factuality and word choice in app.runningUnderARM64Translation ( #36947 )
...
Change factuality and word choice.
Added "or WOW" to the phrase, "when they are running the x64 version under Rosetta", to reflect the use of a supported platform, Windows, as a possible scenario.
Changed the wording of that same sentence to make it appear clearer. "incorrectly" to "mistakenly" and moved this word to before the verb instead of the end of the sentence.
2023-01-19 15:00:06 -05:00
David Sanders
4e4ae9ff53
docs: update clipboard fiddles ( #36946 )
2023-01-19 14:59:35 -05:00
Shelley Vohr
55c818d0a8
fix: <datalist> dropdown positioning ( #36934 )
...
fix: datalist dropdown positioning
2023-01-19 19:44:23 +01:00
David Sanders
9630e26e6d
test: support running tests against Electron releases ( #36944 )
...
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-01-19 12:14:59 +01:00
David Sanders
b69236d177
test: fix test for USB device.forget() ( #36942 )
2023-01-18 16:30:01 -05:00
Shelley Vohr
b1548c2dbe
fix: webview background color on reload ( #36920 )
2023-01-18 14:46:47 +01:00
Shelley Vohr
1d98b27a66
chore: update node types version ( #36924 )
2023-01-18 14:46:27 +01:00
John Kleinschmidt
91ccf08853
ci: run WOA tests on AppVeyor ( #36925 )
2023-01-18 12:12:57 +01:00
Milan Burda
2c56a06ad3
feat: add label property to Display objects ( #36855 )
2023-01-18 15:44:40 +09:00
David Sanders
a7bc579220
ci: update pinned versions for security scorecard workflow ( #36910 )
2023-01-17 10:41:05 -08:00
David Sanders
e2b21d87d7
ci: update amannn/action-semantic-pull-request version ( #36902 )
2023-01-16 10:23:38 +01:00
David Sanders
d94f35a8f6
chore: disallow shortcut reference links in docs Markdown ( #36860 )
...
* chore: disallow shortcut reference links in docs Markdown
* docs: clean up shortcut-style links
2023-01-16 10:22:49 +01:00
Shelley Vohr
a9e7bb0027
fix: Cmd+Tab not working when exiting kiosk mode ( #36854 )
2023-01-16 10:06:43 +01:00
Keeley Hammond
ad1a09bb10
build: bump appveyor to e-111.0.5518.0 ( #36900 )
2023-01-12 17:54:06 -05:00
Shelley Vohr
c953109f01
build: remove older branch migration helpers ( #36888 )
...
* build: remove older branch migration helpers
* chore: fix typo
2023-01-12 12:05:26 -05:00
Shelley Vohr
3f764cbbd5
build: remove ScriptOrModule V8 flag ( #36887 )
...
build: remove ScriptOrModule V8 flag
2023-01-12 13:02:40 +01:00
Eugene Nesvetaev
ce56d614a3
chore: fix typo in promise rejection ( #36763 )
2023-01-12 12:32:56 +01:00
David Sanders
a9c03950c0
docs: cleanup reference links ( #36659 )
2023-01-11 22:16:34 -08:00
Robo
fefb22a83d
chore: enable microtask queue per window agent ( #36870 )
...
* chore: enable microtask queue per window agent
* chore: switch policies on context microtask queue
* fix: ensure node::Environment is valid
2023-01-12 01:59:32 +09:00
Robo
2a7d0a84c0
fix: missing libcxx headers ( #36863 )
...
* chore: add libcxx script to precommit hook
* chore: run gen-libc++-filename.js
2023-01-12 01:59:03 +09:00
Shelley Vohr
f31826f4a0
fix: getUserMedia duplicate permissions call ( #36787 )
...
* fix: getUserMedia duplicate permissions call
* test: add regression test
2023-01-11 11:55:31 +01:00
electron-roller[bot]
1d9a4ab02c
chore: bump node to v18.13.0 (main) ( #36818 )
...
* chore: bump node in DEPS to v18.13.0
* child_process: validate arguments for null bytes
https://github.com/nodejs/node/pull/44782
* bootstrap: merge main thread and worker thread initializations
https://github.com/nodejs/node/pull/44869
* module: ensure relative requires work from deleted directories
https://github.com/nodejs/node/pull/42384
* src: add support for externally shared js builtins
https://github.com/nodejs/node/issues/44000
* lib: disambiguate `native module` to `binding`
https://github.com/nodejs/node/pull/45673
* test: convert test-debugger-pid to async/await
https://github.com/nodejs/node/pull/45179
* deps: upgrade to libuv 1.44.2
https://github.com/nodejs/node/pull/42340
* src: fix cppgc incompatibility in v8
https://github.com/nodejs/node/pull/43521
* src: use qualified `std::move` call in node_http2
https://github.com/nodejs/node/pull/45555
* build: fix env.h for cpp20
https://github.com/nodejs/node/pull/45516
* test: remove experimental-wasm-threads flag
https://github.com/nodejs/node/pull/45074
* src: iwyu in cleanup_queue.cc
https://github.com/nodejs/node/pull/44983
* src: add missing include for `std::all_of`
https://github.com/nodejs/node/pull/45541
* deps: update ICU to 72.1
https://github.com/nodejs/node/pull/45068
* chore: fixup patch indices
* chore: remove errant semicolons
- https://github.com/nodejs/node/pull/44179
- https://github.com/nodejs/node/pull/44193
* src: add support for externally shared js builtins
https://github.com/nodejs/node/pull/44376
* chore: add missing GN filenames
* deps: update nghttp2 to 1.51.0
https://github.com/nodejs/node/pull/45537
* chore: disable more Node.js snapshot tests
The Snapshot feature is currently disabled
* chore: disable ICU timezone tests
Node.js uses a different version of ICU than Electron so they
will often be out of sync.
* chore: disable threadpool event tracing test
Event tracing is not enabled in embedded Node.js
* chore: fixup patch indices
* chore: comments from review
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-01-11 11:33:48 +01:00
Samuel Attard
b3d16e727c
build: migrate patch-up to use app creds ( #36817 )
2023-01-10 21:56:50 -08:00
Shelley Vohr
dfe501941c
build: update release deps workflow ( #36530 )
2023-01-10 12:46:30 +01:00
Shelley Vohr
414791232a
fix: RTL WindowButtonsProxy buttons ( #36839 )
...
* fix: RTL WindowButtonsProxy buttons
* chore: address review feedback
2023-01-10 12:19:00 +01:00
David Sanders
168726a052
fix: handle null/undefined options for fs.readdir ( #34764 )
2023-01-10 12:16:39 +01:00
Milan Burda
1c9e7687f9
docs: add missing window-management permission value to setPermissionRequestHandler() ( #36776 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-01-10 09:49:04 +01:00
Shelley Vohr
f56a26c4f7
build: fix broken stale issues workflow ( #36843 )
2023-01-09 19:16:58 +01:00
Shelley Vohr
1a9c338c92
chore: cleanup drag_util ( #36806 )
...
chore: cleanup drag_util
2023-01-09 10:00:47 +01:00
David Sanders
0d05273024
docs: fix link in breaking-changes.md ( #36793 )
2023-01-09 16:37:57 +09:00
electron-roller[bot]
90af7d7fe2
chore: bump chromium to 111.0.5518.0 (main) ( #36575 )
...
* chore: bump chromium in DEPS to 110.0.5461.0
* chore: update patches
* 3903024: hid: Add connection count tracking methods for HidDelegate
https://chromium-review.googlesource.com/c/chromium/src/+/3903024
* 4076211: Turn FrameTreeNode::frame_tree into raw_ref.
https://chromium-review.googlesource.com/c/chromium/src/+/4076211
* chore: bump chromium in DEPS to 110.0.5463.0
* chore: bump chromium in DEPS to 110.0.5465.0
* fix patches
* 3835037: Add new slides media session actions to Picture-in-Picture window
https://chromium-review.googlesource.com/c/chromium/src/+/3835037
* chore: update patches
* chore: bump chromium in DEPS to 110.0.5467.0
* chore: update patches
* chore: bump chromium in DEPS to 110.0.5469.0
* chore: bump chromium in DEPS to 110.0.5471.0
* chore: bump chromium in DEPS to 110.0.5473.0
* chore: bump chromium in DEPS to 110.0.5475.0
* chore: update patches
* 4074449: Add gl::FrameData to software path
https://chromium-review.googlesource.com/c/chromium/src/+/4074449
* 4065264: [Extensions] Add a new side panel view type
https://chromium-review.googlesource.com/c/chromium/src/+/4065264
* 4060548: Remove base::Value::GetListDeprecated().
https://chromium-review.googlesource.com/c/chromium/src/+/4060548
* chore: add missing RefCountedMemory include
* 4081108: task posting v3: remove task_runner_util{.h,_unittest.cc}
https://chromium-review.googlesource.com/c/chromium/src/+/4081108
* 4072471: Rename Mixed Download Blocking to Insecure Download Blocking
https://chromium-review.googlesource.com/c/chromium/src/+/4072471
* 4025927: [Code Health] Migrate e/c/manifest.cc to base::Value::Dict interface
https://chromium-review.googlesource.com/c/chromium/src/+/4025927
* chore: fixup patch indices
* chore: bump chromium in DEPS to 110.0.5477.0
* chore: fixup preconnect_manager.patch
* chore: fixup patch indices
* fixup! 4074449: Add gl::FrameData to software path
* 4074449: Add gl::FrameData to software path
This commit also reformatted the two files in this patch. The only
change here is the addition of the |data| arg to |OnSwapBuffers|.
https://chromium-review.googlesource.com/c/chromium/src/+/4074449
* 4081108: task posting v3: remove task_runner_util{.h,_unittest.cc}
https://chromium-review.googlesource.com/c/chromium/src/+/4081108
* 4085814: [Test Automation] Move NativeWindowTracker to ui/views
https://chromium-review.googlesource.com/c/chromium/src/+/4085814
* 4032656: hid: Abstract HidSystemTrayIcon class for profiles' HID connections
https://chromium-review.googlesource.com/c/chromium/src/+/4032656
* chore: bump chromium in DEPS to 110.0.5479.0
* chore: fixup patches & simplify printing patch
To be specific, I replaced some combination of line removals &
commenting-out with `#if 0` blocks since they were already there for
android.
Should be functionally the same, just written differently for better
patch maintainability.
* chore: bump chromium in DEPS to 110.0.5481.0
* chore: update patch indicies
* 4098946: Migrate Extension::Create() argument to base::Value::Dict (part 4 of 4)
https://chromium-review.googlesource.com/c/chromium/src/+/4098946
* chore: bump chromium in DEPS to 111.0.5482.0
* chore: bump chromium in DEPS to 111.0.5484.0
* chore: bump chromium in DEPS to 111.0.5486.0
* chore: update patch indices
* 4112903: Reland "Move gl::FrameData to gfx::FrameData"
https://chromium-review.googlesource.com/c/chromium/src/+/4112903
* 4056216: Option to create a tab target with Target.createTarget in /json/new
https://chromium-review.googlesource.com/c/chromium/src/+/4056216
* chore: bump chromium in DEPS to 111.0.5488.0
* chore: bump chromium in DEPS to 111.0.5490.0
* chore: bump chromium in DEPS to 111.0.5492.0
* chore: bump chromium in DEPS to 111.0.5494.0
* chore: bump chromium in DEPS to 111.0.5496.0
* chore: bump chromium in DEPS to 111.0.5498.0
* chore: bump chromium in DEPS to 111.0.5500.0
* chore: bump chromium in DEPS to 111.0.5502.0
* chore: update patch indices
+ small update to printing.patch due to:
3653941: [printing] Extract settings logic from PrintJobWorker
https://chromium-review.googlesource.com/c/chromium/src/+/3653941
* 4113994: Cleanup: Rename webui_generated_resources_* to webui_resources_*.
https://chromium-review.googlesource.com/c/chromium/src/+/4113994
* 4112537: Remove DictionaryPrefUpdate.
https://chromium-review.googlesource.com/c/chromium/src/+/4112537
* 4072073: Remove //chrome/browser/ash dependency from pdf_extension_util.cc
https://chromium-review.googlesource.com/c/chromium/src/+/4072073
* 4055223: [Remove FileSystemConnector] Remove DownloadItemRerouteInfo
https://chromium-review.googlesource.com/c/chromium/src/+/4055223
* Migrate base::DictionaryValue to base::Value::Dict
This relates to multiple CLs cleaning up this class in this roll,
but the ones that are specifically relevant here:
4116096: [CodeHealth] Remove DictionaryValue::GetInteger
https://chromium-review.googlesource.com/c/chromium/src/+/4116096
4113764: [CodeHealth] Remove deprecated DictionaryValue::SetInteger()
https://chromium-review.googlesource.com/c/chromium/src/+/4113764
* 3653941: [printing] Extract settings logic from PrintJobWorker
https://chromium-review.googlesource.com/c/chromium/src/+/3653941
* chore: bump chromium in DEPS to 111.0.5504.0
* chore: update patches
* (WIP) 4003663: Enable Microtask queues per WindowAgent.
https://chromium-review.googlesource.com/c/chromium/src/+/4003663
* chore: bump chromium in DEPS to 111.0.5506.0
* chore: update patches
* fix: printing patch
It was complaining that this method isn't used on windows
* chore: bump chromium in DEPS to 111.0.5508.0
* chore: bump chromium in DEPS to 111.0.5510.0
* chore: bump chromium in DEPS to 111.0.5512.0
* chore: bump chromium in DEPS to 111.0.5514.0
* chore: bump chromium in DEPS to 111.0.5516.0
* chore: update patches
* chore: bump chromium in DEPS to 111.0.5518.0
* chore: update patches
* 4027428: [rsafor] Move rsaFor requests to a separate permission
https://chromium-review.googlesource.com/c/chromium/src/+/4027428
* Revert "(WIP) 4003663: Enable Microtask queues per WindowAgent."
This reverts commit cc36d226e3f3fe5f4bea6538102d55ce3203190f.
* chore: disable Microtask queues per WindowAgent.
see https://chromium-review.googlesource.com/c/chromium/src/+/4003663
* chore: cleanup after rebase
* fixup: disable Microtask queues per WindowAgent.
* chore: cleanup password from keychain after test
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Calvin Watford <cwatford@slack-corp.com >
Co-authored-by: clavin <clavin@electronjs.org >
2023-01-05 21:35:34 -05:00
Mikael Finstad
ba962c94cc
docs: Add note about argv getting modified ( #36735 )
...
Add note about argv getting modified
See https://github.com/electron/electron/issues/20322
2023-01-05 11:39:45 +01:00
Jeremy Rose
9b8b8f5880
fix: move report_raw_headers to TrustedParams ( #36725 )
...
* fix: move report_raw_headers to TrustedParams
* Update electron_api_url_loader.cc
* missed a copy constructor
2023-01-05 10:36:14 +01:00
Shelley Vohr
32288ac9c5
fix: focus rings with multiple buttons in showMessageBox ( #36772 )
...
fix: focus rings with multiple buttons in messageBox
2023-01-05 09:56:38 +01:00
Milan Burda
42cda4a893
fix: rename WebSwapCGLLayer to WebSwapCGLLayerChromium ( #35961 )
...
* fix: rename WebSwapCGLLayer to WebSwapCGLLayerChromium
* undo changes to patches/config.json
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2023-01-05 15:49:08 +09:00
David Sanders
700f43c90c
docs: cleanup some rogue backticks ( #36778 )
2023-01-04 14:52:46 +01:00
Marco Pelloni
6cb5f5a1eb
docs: update incorrect grammar ( #36780 )
...
#### Description of Change
The first sentence within the documentation "[Important: signing your code](https://www.electronjs.org/docs/latest/tutorial/tutorial-packaging#important-signing-your-code )" is grammatically incorrect.
> In order to distribute desktop applications to end users, we highly recommended for you to code sign your Electron app.
I've adjusted the copy to switch "highly recommended" to "highly recommend". I've also switched out "for you to code sign" for "that you code sign" for clarity.
> In order to distribute desktop applications to end users, we _highly recommend_ that you **code sign** your Electron app.
2023-01-04 14:52:29 +01:00
David Sanders
20cff64282
docs: update links ( #36657 )
2023-01-02 11:52:18 +01:00
David Sanders
20ac617c03
chore: update electron/clerk links in PR template ( #36658 )
2023-01-02 11:23:43 +01:00
Roger Zurawicki
28cfaccb1d
docs: update code highlights in tutorial ( #36691 )
...
docs: fix code highlighting in preload tutorial
The highlighted lines in the code snippets were unaligned,
which could cause a newcomer unneeded confusion on what
lines need to be changed.
2023-01-02 11:14:34 +01:00
YongWoo Roh
c4a93390dd
docs: main.js file change was displayed incorrectly ( #36709 )
...
main.js file change was displayed incorrectly
The line in the main.js file change was displayed incorrectly, so it was corrected.
2023-01-02 11:04:41 +01:00
David Sanders
327abb4b52
docs: improve dark mode example fiddle ( #36596 )
2023-01-02 11:02:15 +01:00
George Xu
644243efd6
docs: update visual studio min version ( #36702 )
2022-12-22 11:48:48 -08:00
Jeremy Rose
8f23b1527b
fix: use chrome headers in net.request for everything except cookie ( #36666 )
2022-12-21 14:53:29 -08:00
MAPGarrett
8c837fda4f
docs: Fix incorrect highlight in an example snippet ( #36700 )
...
Fix incorrect highlight in an example snippet
At the moment, the "Communicating between processes" `main.js` snippet highlights the line containing `})` when the relevant line is `ipcMain.handle('ping', () => 'pong')`.
2022-12-20 10:06:25 -08:00
Milan Burda
5fd7a43970
test: replace (webContents as any).destroy() with webContents.destroy() ( #36653 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-12-14 16:07:38 -05:00
Jeremy Rose
fb461effae
chore: cherry-pick 32b7dc86a763 from v8 ( #36651 )
...
* chore: cherry-pick 32b7dc86a763 from v8
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-12-14 16:06:10 -05:00
Jeremy Rose
9e7fbc7021
fix: blend node and blink code generation policy when both are loaded ( #36567 )
2022-12-14 10:05:34 -08:00
Webster Xu
f72e6551f0
fix: use the process cache to reduce the memory for asar file ( #36600 )
...
* fix: use the process cache to reduce the memory for asar file
* Update shell/common/api/electron_api_asar.cc
Co-authored-by: webster.xu <webster.xu@ringcentral.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-12-14 12:37:28 -05:00
Robert Günzler
ab890fb8c3
fix: strip branded binaries ( #36641 )
...
When creating branded release builds and using scripts/strip-binaries.py
on Linux, the final artifacts end up unstripped due to the static set of
binaries considered for stripping.
With this patch the name of the electron binary is taken from the
BRANDING.json `project_name` key.
Signed-off-by: Robert Günzler <r@gnzler.io >
Signed-off-by: Robert Günzler <r@gnzler.io >
2022-12-13 17:01:20 -05:00
John Kleinschmidt
425f1ffa98
chore: update AppVeyor image to include latest Windows updates ( #36649 )
...
clenaup
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
2022-12-13 14:28:09 -05:00
David Sanders
4d9c84d7c0
chore: update markdownlint ( #36540 )
2022-12-13 10:55:53 -08:00
Bruno Pitrus
1432f9bb65
chore: reland “fix ambiguous reference gcc compile error” ( #36544 )
...
This is a reland of #35714 . The broken code got reintroduced in #35310 due to a mismerge.
2022-12-13 10:55:08 -08:00
Michał Zarach
6a798b1c58
feat: added username to IAP purchaseProduct method ( #35902 )
2022-12-12 10:11:48 -08:00
Hugh Davey
4e66184287
docs: add mdn link to web-request-filter.md ( #36603 )
...
* Add MDN link to web-request-filter.md
When I was using the Electron docs I wanted to know how to use [webRequest.onBeforeSendHeaders](https://www.electronjs.org/docs/latest/api/web-request#webrequestonbeforesendheadersfilter-listener ) but I was unable to correctly guess the correct format for the `WebRequestFilter` URL strings, and there was no explanation in the Electron docs. Eventually I googled it and found the MDN article which helped me.
* Update docs/api/structures/web-request-filter.md
Co-authored-by: Black-Hole <158blackhole@gmail.com >
* Update docs/api/structures/web-request-filter.md
Co-authored-by: Black-Hole <158blackhole@gmail.com >
Co-authored-by: Black-Hole <158blackhole@gmail.com >
2022-12-08 17:11:42 -05:00
Jeremy Rose
99b0d63c84
ci(not-really): autoclose issues with blocked/need-repro and no response ( #36532 )
2022-12-05 20:53:07 -05:00
Samuel Attard
e1e66fc8ac
docs: link net.request options to ClientRequestConstructorOptions ( #36556 )
2022-12-05 15:17:37 -08:00
electron-roller[bot]
8acf6039e7
chore: bump chromium to 110.0.5451.0 (main) ( #36394 )
...
* chore: bump chromium in DEPS to 110.0.5425.0
* chore: bump chromium in DEPS to 110.0.5427.0
* chore: bump chromium in DEPS to 110.0.5429.0
* chore: bump chromium in DEPS to 110.0.5431.0
* chore: update patches/chromium/picture-in-picture.patch to fix upstream code shear
https://chromium-review.googlesource.com/c/chromium/src/+/4024078
* chore: sync patch w/upstream shear: remove_usage_of_incognito_apis_in_the_spellchecker.patch
https://chromium-review.googlesource.com/c/chromium/src/+/3967854
* chore: sync patch w/upstream shear: feat_expose_raw_response_headers_from_urlloader.patch
https://chromium-review.googlesource.com/c/chromium/src/+/3983373
* chore: sync patch w/upstream shear: chromium/custom_protocols_plzserviceworker.patch
https://chromium-review.googlesource.com/c/chromium/src/+/3983373
* build: update references to core_api_provider; its location was moved upstream
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4006696
* build: remove back_to_tab_image_button from our enable_picture_in_picture deps
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4024078
back_to_tab_image_button has been removed upstream
* chore: update patches
* chore: bump chromium in DEPS to 110.0.5433.0
* chore: sync patch w/upstream shear: chromium/printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4006638
* chore: sync patch w/trivial upstream shear: chromium/process_singleton.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4031817
* refactor: remove kAutofillCenterAlignedSuggestions feature flag check.
This behavior had been an experiment behind a feature flag. The
experiment was a success so the feature was kept & the flag was removed.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3870616
moves from disabled-by-default to enabled-by-default
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4030556
removed the feature flag
* chore: update patches
* chore: bump chromium in DEPS to 110.0.5435.0
* chore: update patches
* chore: sync code with upstream change: AXLMode method name
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3950054
* 3841761: Adapting code to support kSystemProfileSelectionDefaultNone experiment
https://chromium-review.googlesource.com/c/chromium/src/+/3841761
* chore: bump chromium in DEPS to 110.0.5437.0
* 4040140: Pip 2.0: Merge VideoOverlayWindowViews and OverlayWindowViews
https://chromium-review.googlesource.com/c/chromium/src/+/4040140
* 4045567: Fix a crash opening a popup from tab capture fullscreen
https://chromium-review.googlesource.com/c/chromium/src/+/4045567
* chore: fixup patch indices
* 4048263: Remove deprecated Value calls in frame_tracker_unittest.cc.
https://chromium-review.googlesource.com/c/chromium/src/+/4048263
* 4004606: [intl] Migrate to ICU 72
https://chromium-review.googlesource.com/c/v8/v8/+/4004606
* chore: bump chromium in DEPS to 110.0.5439.0
* 3890670: Prerender: Add first implementation of prerender-in-new-tab mode
https://chromium-review.googlesource.com/c/chromium/src/+/3890670
* chore: fixup patch indices
* chore: bump chromium in DEPS to 110.0.5441.0
* chore: update patches
* chore: bump chromium in DEPS to 110.0.5443.0
* 4035451: Remove remaining uses of ScopedNestableTaskAllower.
https://chromium-review.googlesource.com/c/chromium/src/+/4035451
* chore: bump chromium in DEPS to 110.0.5445.0
* chore: update patches
* fixup! 3890670: Prerender: Add first implementation of prerender-in-new-tab mode
* test: disable parallel/test-worker-init-failure
Refs https://chromium-review.googlesource.com/c/v8/v8/+/4017512
Refs https://github.com/nodejs/node-v8/issues/246
* chore: disable parallel/test-fetch
Test is flaky on Linux CI, but runs fine locally.
* chore: bump chromium in DEPS to 110.0.5451.0
* chore: update patches
* chore: cleanup patch
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-12-05 17:59:19 -05:00
StepSecurity Bot
2a26cef577
ci: pin action shas ( #36562 )
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
2022-12-05 12:11:10 -08:00
David Sanders
993d0337a7
docs: fix broken links ( #36519 )
...
* docs: fix broken links
* docs: change link to navigator.getUserMedia
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* docs: fix link in examples.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-12-05 13:18:57 -05:00
Shelley Vohr
b90a5baa6d
fix: new WebAssembly API support in Node.js ( #36420 )
2022-12-05 12:07:49 -05:00
Milan Burda
909ee0ed6b
refactor: make StatusIconType an enum class ( #36500 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-12-05 00:59:20 -08:00
John Kleinschmidt
79d2fc9c23
build: fixup mksnapshot args on linux ( #36531 )
2022-12-01 14:12:32 -05:00
Shelley Vohr
d092e6bda4
feat: expose window.invalidateShadow() ( #32452 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Darshan Sen <raisinten@gmail.com >
2022-12-01 10:24:44 -08:00
Keeley Hammond
35a7c07306
chore: update NMV for Electron 24 ( #36465 )
2022-11-30 22:10:36 -08:00
Milan Burda
eb291485bb
chore: drop support for Windows 7 / 8 / 8.1 ( #36427 )
...
* chore: drop support for Windows 7 & 8
* chore: remove disable-redraw-lock.patch
* chore: update patches
* Update docs/breaking-changes.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* Update docs/breaking-changes.md
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
* fix breaking-changes.md
* chore: note last supported version
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* chore: add link to deprecation policy
* Update docs/breaking-changes.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* update README.md
Co-authored-by: Milan Burda <miburda@microsoft.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-11-30 17:13:29 -08:00
Jeremy Rose
4ff0642af7
fix: treat maxWidth/Height<=0 as unlimited ( #36487 )
2022-11-30 17:02:22 -08:00
Jeremy Rose
835e248dff
docs: document outlivesOpener option in window open handler ( #36486 )
2022-11-30 15:20:19 -08:00
Jeremy Spiegel
665cf03f74
fix: handle Notification requireInteraction option ( #36477 )
2022-11-30 16:18:35 -05:00
Black-Hole
f527b8aa2a
refactor: improve accelerator check failed message ( #36476 )
2022-11-30 11:31:16 -08:00
Jeremy Rose
e3b7c3024f
docs: fix loadExtension example ( #36489 )
2022-11-30 11:29:02 -08:00
Keeley Hammond
9f007b9afb
chore: update NMV for Electron 23 ( #36464 )
2022-11-30 10:57:27 -08:00
George Xu
d5ce1387ce
docs: change pull request template to include mentions of templates and examples ( #36474 )
2022-11-29 22:22:09 -08:00
Michaela Laurencin
42ca25c338
docs: update E23 release dates ( #36475 )
2022-11-29 15:08:55 -08:00
Robo
2c723d7e84
fix: enable crashpad for ELECTRON_RUN_AS_NODE processes ( #36460 )
...
* wip: enable crashpad for node processes
fix: add PID testing method
wip: plumb fd into child_process in node
* node::ProcessInitializationFlags::kNoDefaultSignalHandling
* chore: clean up debug logging
* chore: gate platform includes
* test: clean up node process test
* fix: pass pid in node_main
* chore: cleanup impl
* chore: fixup patch method definition
* fix: expose bound methods to node_main
* fix: remove bound methods
* fix: crashpad connection for all ELECTRON_RUN_AS_NODE processes
* chore: fix typo
* chore: address review feedback
* chore: delay crashpad initialization
* chore: ensure options.env, code hygiene
* chore: add argv test, check for process.env over {}
* fix: fix test, return options.env immutability
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
2022-11-29 10:33:54 -05:00
Cheng Zhao
16a7bd7102
fix: reimplement Tray with StatusIconLinuxDbus on Linux ( #36333 )
2022-11-28 11:36:25 -08:00
dependabot[bot]
bbb590b777
build(deps): bump minimatch from 3.0.4 to 3.0.8 ( #36418 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.0.8.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 11:24:13 -08:00
Jeremy Rose
32583ac756
docs: add missing event-emitter link to utility-process docs ( #36428 )
...
add missing event-emitter link
2022-11-23 17:52:36 +09:00
John Kleinschmidt
679ce632a9
build: fixup appveyor image for release ( #36429 )
...
* build: make sure symstore is in the PATH when baking an image
* build: update to use fixed baked image
* cleanup sdk install
2022-11-22 16:57:49 -05:00
John Kleinschmidt
629c54ba36
feat: add support for WebUSB ( #36289 )
...
* feat: add support for WebUSB
* fixup for gn check
* fixup gn check on Windows
* Apply review feedback
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: address review feedback
* chore: removed unneeded code
* Migrate non-default ScopedObservation<> instantiations to ScopedObservationTraits<> in chrome/browser/
https://chromium-review.googlesource.com/c/chromium/src/+/4016595
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-11-22 16:50:32 -05:00
Samuel Attard
2751c2b07f
build: update devcontainer and use latest codespaces features ( #36422 )
...
* build: update devcontainer to latest build image
* build: add update-content-command
* build: set good vscode config
* build: be less noisy in update command
* build: only run sync in prebuild environment
* build: list env vars
* build: run sync always
2022-11-22 12:16:15 -08:00
electron-roller[bot]
c6d6af2551
chore: bump node to v18.12.1 (main) ( #36356 )
...
* chore: bump node in DEPS to v18.12.1
* chore: update patches
* chore: add missing <algorithm> include
* src: add detailed embedder process initialization AP
https://github.com/nodejs/node/pull/44121
* chore: update gn build files
* dns: support dns module in the snapshot
https://github.com/nodejs/node/pull/44633
https://github.com/electron/electron/issues/36118
* src: fix OOB reads in process.title getter
https://github.com/nodejs/node/pull/31633
* chore: fix incorrectly removed patch bit
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-11-21 10:55:01 -05:00
Keeley Hammond
b71cccb0d6
ci: bake appveyor images automatically, run sync on depshash change ( #35396 )
...
* chore: update yml formatting for parser
* ci: bake appveyor images automatically, run sync on depshash change
* chore: clean up .yml files
* chore: bump to e-110.0.5415.0
2022-11-21 10:24:26 -05:00
Samuel Attard
3a94634ae5
build: force ninja binary to the right arch after src cache restore ( #36401 )
2022-11-18 23:45:22 -08:00
hyrious
9c48992e21
chore: fix dangling promise in npm install ( #36379 )
...
* Fix dangling promise introduced in #33979
* fix reject in callback
* simplify code
Co-authored-by: Black-Hole <158blackhole@gmail.com >
Co-authored-by: Black-Hole <158blackhole@gmail.com >
2022-11-18 15:21:11 -08:00
John Kleinschmidt
7529ebfe0e
fix: remove unneeded --turbo-profiling-input arg from mksnapshot_args ( #36378 )
...
fix: remove unneeded --turbo-profiling-input args from mksnapshot_args
2022-11-17 17:49:12 -05:00
dependabot[bot]
4f1f263a9a
build(deps): bump loader-utils from 1.4.1 to 1.4.2 in /spec ( #36375 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 17:48:48 -05:00
electron-roller[bot]
87c183df6a
chore: bump chromium to 110.0.5415.0 (main) ( #36186 )
...
* chore: bump chromium in DEPS to 109.0.5386.0
* chore: bump chromium in DEPS to 109.0.5388.0
* chore: bump chromium in DEPS to 109.0.5390.0
* chore: bump chromium in DEPS to 109.0.5392.0
* chore: bump chromium in DEPS to 109.0.5394.0
* chore: bump chromium in DEPS to 109.0.5396.0
* chore: bump chromium in DEPS to 109.0.5398.0
* chore: bump chromium in DEPS to 109.0.5400.0
* chore: update galactus
* chore: bump chromium in DEPS to 109.0.5402.0
* chore: bump chromium in DEPS to 109.0.5403.0
* chore: bump chromium in DEPS to 109.0.5406.0
* chore: update patches
* 4004247: Delete unused DocumentWebContentsDelegate
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4004247
* chore: bump chromium in DEPS to 109.0.5408.1
* chore: update patches
* 3949284: Support pkey debug mode without pkey 0 access
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3949284
* chore: bump chromium in DEPS to 109.0.5410.0
* chore: update patches
* 4000944: [Extensions] Create an API directory in //chrome/renderer/extensions
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4000944
* 3988524: Remove DocumentOverlayWindowViews | https://chromium-review.googlesource.com/c/chromium/src/+/3988524
Co-authored-by: George Xu <33054982+georgexu99@users.noreply.github.com >
* chore: bump chromium in DEPS to 109.0.5412.0
* chore: update patches
* 3984022: Add AddChildWindowToBrowser to DisplayClient mojo interface
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3984022
* 3957079: Delete the CryptoToken component extension and internal API
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3957079
* 4004421: Migreate ScopedAllowIO to ScopedAllowBlocking
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4004421
Co-authored-by: George Xu <georgexu99@users.noreply.github.com >
* chore: bump chromium in DEPS to 109.0.5414.0
* chore: update patches
* 4016180: Split PPAPI Mojo interfaces out of RenderFrameHostImpl.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4016180
* 3970838: [MPArch] Convert HostZoomMap and ZoomController off of RenderViewHost ids
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3970838
* 3997795: Don't add Chromium as a login item
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3997795
* 3993482: Remove RefCountedString::TakeString
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3993482
* 3990749: Allow forward-declared sources in base::ScopedObservation<>
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3990749
* fixup! 3957079: Delete the CryptoToken component extension and internal API
* chore: bump chromium in DEPS to 110.0.5415.0
* 3883790: Move devtools_frame_token to the RenderFrameHost, to preserve RFH identity across MPArch activations.
https://chromium-review.googlesource.com/c/chromium/src/+/3883790
* 4022205: Move license tooling into //tools/licenses
https://chromium-review.googlesource.com/c/chromium/src/+/4022205
* chore: fixup patch indices
* fixup! 3957079: Delete the CryptoToken component extension and internal API
* 4008687: Finish ScopedAllowIO migration
https://chromium-review.googlesource.com/c/chromium/src/+/4008687
* 3991548: Move WindowButtonOrderObserver and WindowFrameAction to LinuxUi
https://chromium-review.googlesource.com/c/chromium/src/+/3991548
* fixup! 3984022: Add AddChildWindowToBrowser to DisplayClient mojo interface
* 4016595: Migrate non-default ScopedObservation<> instantiations to ScopedObservationTraits<> in chrome/browser/
https://chromium-review.googlesource.com/c/chromium/src/+/4016595
* 4000481: Rename :chromedriver to :chromedriver_server
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4000481
* 4008687: Finish ScopedAllowIO migration
https://chromium-review.googlesource.com/c/chromium/src/+/4008687
* 3988524: Remove DocumentOverlayWindowViews
https://chromium-review.googlesource.com/c/chromium/src/+/3988524
* fixup! 3997795: Don't add Chromium as a login item
* chore: fixup patches
* 3996872: Plumb input event task runner to EventFactoryEvdev
https://chromium-review.googlesource.com/c/chromium/src/+/3996872
* 4014994: Enable SiteIsolationForGuests by default.
https://chromium-review.googlesource.com/c/chromium/src/+/4014994
* chore: adopt new thread restrictions api for //electron (#36357 )
chore: add thread blocking api
* fixup! 4014994: Enable SiteIsolationForGuests by default.
* pull parent HWND for dialogs on ui thread
* chore: set parent_window in MessageBoxSettings
* chore: remove redundant patch
* chore: revert accidental deletion
* chore: update patches
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@salesforce.com >
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: George Xu <33054982+georgexu99@users.noreply.github.com >
Co-authored-by: George Xu <georgexu99@users.noreply.github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Robo <hop2deep@gmail.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-11-17 14:59:23 -05:00
Step Security Bot
517225b99e
ci: add default action permissions ( #36363 )
...
* [StepSecurity] Apply security best practices
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
* Delete dependabot.yml
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-11-16 15:44:25 -05:00
Samuel Attard
bd345358f6
build: build mas and darwin simultaneously ( #36354 )
...
build: build mas on osx
2022-11-16 10:57:09 -08:00
Samuel Attard
9616dfb1f6
docs: update SECURITY.md with new GHSA reporting feature ( #36367 )
2022-11-15 20:02:01 -08:00
dependabot[bot]
41d393c076
build(deps): bump loader-utils from 1.4.1 to 1.4.2 ( #36365 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 17:31:16 -08:00
Samuel Attard
2cc24542f5
build: remove out cache ( #36355 )
2022-11-15 12:00:46 -05:00
Samuel Attard
d57d9f71df
build: make src cache smaller ( #36344 )
2022-11-15 00:30:07 -08:00
Tierney Cyren
f8aee0fbe7
docs: update README.md to use correct twitter handle ( #36345 )
...
doc: update README.md to use correct twitter handle
2022-11-14 22:23:37 -08:00
Step Security Bot
f9d1b9aded
ci: pin some more action versions ( #36343 )
...
* [StepSecurity] ci: Harden GitHub Actions
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
* Update electron_woa_testing.yml
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-11-14 18:39:13 -08:00
Jeremy Rose
9618a7227e
ci: pin amannn/action-semantic-pull-request ( #36341 )
2022-11-14 16:46:58 -08:00
Jeremy Rose
9f8308907b
ci: pin version of actions/checkout ( #36342 )
2022-11-14 16:46:45 -08:00
Joyce
05577d0903
chore: enable scorecard github action ( #35741 )
2022-11-14 16:22:10 -08:00
Samuel Attard
a9ef68f126
refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() ( #36332 )
...
* refactor: change defined(MAS_BUILD) to IS_MAS_BUILD()
This is missing-definition safe and thus allows us to move the definition of this macro away from "all compilation targets" to "just the compilation targets that depend on this macro".
In turn this makes the rebuild time changing from mas <-> darwin only 80 seconds on my machine, instead of the 12-15 minutes it used to take. This will also allow us in the future to build both MAS and darwin on the same CI machine. Costing us ~2 minutes on one machine but saving us anywhere from 30 minutes to an hour of CI time on other parts of the matrix.
* build: always define IS_MAS_BUILD even on non-mac builds
* build: use extra_configs
2022-11-14 12:46:52 -08:00
Samuel Attard
d8bb172318
fix: abort ShipIt installation attempt at the final mile if the app is running ( #36130 )
...
* fix: abort ShipIt installation attempt at the final mile if the app is running
* chore: remove only
* Update patches/squirrel.mac/fix_abort_installation_attempt_at_the_final_mile_if_the_app_is.patch
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* chore: update patches
* spec: make the ShipIt process lister helper more resilient
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-11-14 10:12:16 -08:00
Samuel Attard
654e571512
build: provide moduleVersion to docs-parser directly ( #36329 )
2022-11-14 10:04:36 -05:00
Erick Zhao
46a74d1086
docs: update tutorials for Forge 6 ( #36313 )
...
docs: update tutorial for Forge 6
2022-11-11 11:42:27 -08:00
Shelley Vohr
75d2caf451
chore: upgrade to Node.js v18 ( #35999 )
...
* chore: update to Node.js v18
* child_process: improve argument validation
https://github.com/nodejs/node/pull/41305
* bootstrap: support configure-time user-land snapshot
https://github.com/nodejs/node/pull/42466
* chore: update GN patch
* src: disambiguate terms used to refer to builtins and addons
https://github.com/nodejs/node/pull/44135
* src: use a typed array internally for process._exiting
https://github.com/nodejs/node/pull/43883
* chore: lib/internal/bootstrap -> lib/internal/process
* src: disambiguate terms used to refer to builtins and addons
https://github.com/nodejs/node/pull/44135
* chore: remove redudant browserGlobals patch
* chore: update BoringSSL patch
* src: allow embedder-provided PageAllocator in NodePlatform
https://github.com/nodejs/node/pull/38362
* chore: fixup Node.js crypto tests
- https://github.com/nodejs/node/pull/44171
- https://github.com/nodejs/node/pull/41600
* lib: add Promise methods to avoid-prototype-pollution lint rule
https://github.com/nodejs/node/pull/43849
* deps: update V8 to 10.1
https://github.com/nodejs/node/pull/42657
* src: add kNoBrowserGlobals flag for Environment
https://github.com/nodejs/node/pull/40532
* chore: consolidate asar initialization patches
* deps: update V8 to 10.1
https://github.com/nodejs/node/pull/42657
* deps: update V8 to 9.8
https://github.com/nodejs/node/pull/41610
* src,crypto: remove AllocatedBuffers from crypto_spkac
https://github.com/nodejs/node/pull/40752
* build: enable V8's shared read-only heap
https://github.com/nodejs/node/pull/42809
* src: fix ssize_t error from nghttp2.h
https://github.com/nodejs/node/pull/44393
* chore: fixup ESM patch
* chore: fixup patch indices
* src: merge NativeModuleEnv into NativeModuleLoader
https://github.com/nodejs/node/pull/43824
* [API] Pass OOMDetails to OOMErrorCallback
https://chromium-review.googlesource.com/c/v8/v8/+/3647827
* src: iwyu in cleanup_queue.cc
* src: return Maybe from a couple of functions
https://github.com/nodejs/node/pull/39603
* src: clean up embedder API
https://github.com/nodejs/node/pull/35897
* src: refactor DH groups to delete crypto_groups.h
https://github.com/nodejs/node/pull/43896
* deps,src: use SIMD for normal base64 encoding
https://github.com/nodejs/node/pull/39775
* chore: remove deleted source file
* chore: update patches
* chore: remove deleted source file
* lib: add fetch
https://github.com/nodejs/node/pull/41749
* chore: remove nonexistent node specs
* test: split report OOM tests
https://github.com/nodejs/node/pull/44389
* src: trace fs async api
https://github.com/nodejs/node/pull/44057
* http: trace http request / response
https://github.com/nodejs/node/pull/44102
* test: split test-crypto-dh.js
https://github.com/nodejs/node/pull/40451
* crypto: introduce X509Certificate API
https://github.com/nodejs/node/pull/36804
* src: split property helpers from node::Environment
https://github.com/nodejs/node/pull/44056
* https://github.com/nodejs/node/pull/38905
bootstrap: implement run-time user-land snapshots via --build-snapshot and --snapshot-blob
* lib,src: implement WebAssembly Web API
https://github.com/nodejs/node/pull/42701
* fixup! deps,src: use SIMD for normal base64 encoding
* fixup! src: refactor DH groups to delete crypto_groups.h
* chore: fixup base64 GN file
* fix: check that node::InitializeContext() returns true
* chore: delete _noBrowserGlobals usage
* chore: disable fetch in renderer procceses
* dns: default to verbatim=true in dns.lookup()
https://github.com/nodejs/node/pull/39987
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-11-10 22:31:20 +01:00
Shelley Vohr
1b1609aa0f
fix: app.dock.setIcon() crash before app ready ( #36279 )
...
fix: dock.setIcon() crash before app ready
2022-11-09 17:13:24 +01:00
Raymond Zhao
5fc3ed936e
feat: add app.getPreferredSystemLanguages() API ( #36035 )
...
* feat: add app.getSystemLanguage() API
* Change the API to getPreferredSystemLanguages
* Fix test
* Clarify docs and add Linux impl
* Remove USE_GLIB
* Don't add C to list
* Remove examples since there's a lot of edge cases
* Fix lint
* Add examples
* Fix compile error
* Apply PR feedback
* Update the example
2022-11-09 10:50:43 -05:00
dependabot[bot]
8f5959aad2
build(deps): bump loader-utils from 1.2.3 to 1.4.1 in /spec ( #36281 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.2.3 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.2.3...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 10:49:23 -05:00
Milan Burda
31a0bb7de2
chore: remove unsupported OS_FREEBSD flag check ( #36273 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-11-08 20:43:04 +01:00
dependabot[bot]
5c1186f624
build(deps): bump loader-utils from 1.2.3 to 1.4.1 ( #36276 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.2.3 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.2.3...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 11:27:59 +01:00
Jeremy Rose
184ac2b382
refactor: move draggable regions to WebContents ( #36230 )
2022-11-07 10:15:57 -08:00
John Kleinschmidt
2008c9a5d0
fix: arm linux glibc dependency ( #36247 )
2022-11-07 09:38:08 -05:00
David Sanders
0ba0df4523
docs: fix driverId -> deviceId typo ( #36246 )
2022-11-07 09:37:51 -05:00
Georgescu Gabriel
71b8804fd0
docs: Fixed outdated documentation (uploading to App Store) ( #35116 )
...
* Updated docs on uploading
- replaced mention of Application Loader with Apple Transporter, its replacement
- replaced mention of iTunes Connect with App Store Connect
- updated link for creating a record
* Update mac-app-store-submission-guide.md
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2022-11-01 17:07:50 -04:00
Brad Carter
15540975ff
feat: Add BrowserWindow option to hide window in Mission Control (macOS) ( #36092 )
...
* feat: Add BrowserWindow option to ignore Mission Control (macOS)
* There are many circumstances when app developers may want to hide their
windows from mission control. E.g., full screen overlays, small helper
windows, dialogs, etc.
* This PR adds the functionality, docs, and tests.
* chore:Rename variables
* Update shell/browser/native_window_mac.h
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-11-01 16:43:42 -04:00
Shelley Vohr
8b430c9d26
test: re-enable window.open referrer test ( #36155 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-11-01 11:11:11 -04:00
Milan Burda
2f2c43e5e5
build: fix building with enable_plugins = false ( #36193 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-10-31 16:18:15 -07:00
Shelley Vohr
169cf531ba
docs: add EOL dates to timeline doc ( #36187 )
2022-10-28 13:08:06 -07:00
Jeremy Rose
b9464d89b8
fix: remove undocumented feature and flaky test for webview resize event ( #36154 )
2022-10-27 16:44:53 -07:00
Keeley Hammond
67a0c702fa
build: prefix version in uploader script ( #36169 )
...
build: prefix v in uploader script
2022-10-27 12:02:18 -07:00
electron-roller[bot]
ea6f873f97
chore: bump chromium to 109.0.5382.0 (main) ( #36057 )
...
* chore: bump chromium in DEPS to 109.0.5364.0
* chore: update patches
* chore: bump chromium in DEPS to 109.0.5366.0
* chore: update patches
* i3940364: Change PermissionType::WINDOW_PLACEMENT to WINDOW_MANAGEMENT
https://chromium-review.googlesource.com/c/chromium/src/+/3940364
* 3866812: Change content::PluginList to only run on the UI thread.
https://chromium-review.googlesource.com/c/chromium/src/+/3866812
* chore: bump chromium in DEPS to 109.0.5368.0
* [cleanup] Replace enable_basic_printing with enable_printing
https://chromium-review.googlesource.com/c/chromium/src/+/3957357
* chore: update patches
* 3956318: Desktop PWAs: Retire kWebAppWindowControlsOverlay flag
https://chromium-review.googlesource.com/c/chromium/src/+/3956318
* fixup! Change content::PluginList to only run on the UI thread.
(cherry picked from commit 7b5ec87d4f )
Co-Authored-By: Robo <hop2deep@gmail.com >
* chore: bump chromium in DEPS to 109.0.5370.0
* 3956299: Quota: Cleanup QuotaPermissionContext
https://chromium-review.googlesource.com/c/chromium/src/+/3956299
* chore: update patches
* 3803867: Add Mojo interface to parse XML for OOP printer capabilities
https://chromium-review.googlesource.com/c/chromium/src/+/3803867
* fixup: Add Mojo interface to parse XML for OOP printer capabilities
* chore: bump chromium in DEPS to 109.0.5372.0
* chore: update patches
* chore: bump chromium in DEPS to 109.0.5374.0
* chore: bump chromium in DEPS to 109.0.5376.0
* chore: bump chromium in DEPS to 109.0.5378.0
* chore: update patches
* Quota: Cleanup kPersistent in BrowsingDataRemover
https://chromium-review.googlesource.com/c/chromium/src/+/3964859
* 3955976: serial: Create DOMException with V8ThrowDOMException
https://chromium-review.googlesource.com/c/chromium/src/+/3955976
* 3758405: Append trailer data to serialized messages.
https://chromium-review.googlesource.com/c/chromium/src/+/3758405
* chore: revert clang roll
This patch reverts https://chromium-review.googlesource.com/c/chromium/src/+/3967491
because that roll breaks the WOA build: https://crbug.com/1377819
* chore: update patches
* chore: bump chromium in DEPS to 109.0.5380.0
* chore: update patches
* 3859750: [linux/wayland] Added plumbing for the state of tiled edges.
https://chromium-review.googlesource.com/c/chromium/src/+/3859750
Also 3970920: [linux/wayland] Fixed the tiled edges for the GTK frame.
https://chromium-review.googlesource.com/c/chromium/src/+/3970920
* chore: bump chromium in DEPS to 109.0.5382.0
* chore: update patches
* chore: revert Use accessibility.pkey when setting page access.
https://chromium-review.googlesource.com/c/chromium/src/+/3949281
breaks our Linux builds run under Docker.
This patch should be removed once
https://chromium-review.googlesource.com/c/chromium/src/+/3949284
is merged.
* 3976312: Roll clang llvmorg-16-init-8189-g97196a2d-2 : llvmorg-16-init-8697-g60809cd2-1
https://chromium-review.googlesource.com/c/chromium/src/+/3976312
* 3967841: [heap] Remove AllocationSpace::MAP_SPACE enum constant
https://chromium-review.googlesource.com/c/v8/v8/+/3967841
* 3956131: [cleanup] Remove flag for Wasm threads & atomics
https://chromium-review.googlesource.com/c/v8/v8/+/3956131
* chore: update docs for Quota: Cleanup kPersistent in BrowsingDataRemover
https://chromium-review.googlesource.com/c/chromium/src/+/3964859
* test: fixup HID test for ARM CI
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
2022-10-27 12:37:04 -04:00
Jeremy Rose
07530f8e37
test: fix flake in will-navigate test ( #36153 )
2022-10-27 09:29:19 -04:00
Robo
260678bd0c
docs: add utility process info to tutorial docs ( #36074 )
2022-10-27 20:55:28 +09:00
Shane Gannon
02ad8fcd5f
docs: correcting main example in WebRequest documentation ( #36113 )
...
Correcting main example
The entry `*://electron.github.io` is invalid and produces an exception. i.e.
> UnhandledPromiseRejectionWarning: TypeError: Invalid url pattern *://electron.github.io: Empty path.
Setting a valid path to resolve this issue
2022-10-27 16:18:07 +09:00
daief
ff4816367e
refactor: handle uncaught promise error ( #35484 )
2022-10-27 16:16:26 +09:00
Samuel Attard
ff3289d260
build: use npm@7 for npm view command
2022-10-26 18:31:20 -07:00
Samuel Attard
99a34d5209
build: strip v in the getElectronVersion helper
2022-10-26 17:56:30 -07:00
Jeremy Rose
625b4619d6
fix: resolve loadURL properly for in-page navigations ( #36129 )
2022-10-26 13:57:39 -07:00
Jeremy Rose
a75e8e051e
docs: document that when invoke rejects, it gives a different Error ( #36127 )
2022-10-26 13:56:41 -07:00
Samuel Attard
09302a2fc6
build: use python3 for appveyor commands ( #36131 )
2022-10-25 16:39:21 -07:00
Samuel Attard
b13f776d1b
build: ensure get-version runs in the electron git checkout ( #36128 )
2022-10-25 11:27:10 -07:00
Samuel Attard
7ca2bb5f9c
build: determine electron version from tags not files ( #36106 )
...
* build: determine electron version from tags not files
* build: make electron_version dependent on packed-refs and git HEAD
* build: do not delete electron/.git
* build: do not revert a commit we didn't make
* build: gen version file instead of just writing it
* build: update cache and ninja targets
* build: copy resource.h to generated electron.rc
* build: electron_win32_resources should be public deps
* build: also copy the icon
2022-10-24 23:44:43 -07:00
flynow10
ad289d120f
docs: fixed MenuItem documentation to use the same formatting for all role options ( #36112 )
...
Fixed MenuItem documentation
Some of the items in the list of possible roles were formatted differently, which made it harder to read.
Sorry if this was intended, but I found it easier to read with them all formatted the same.
2022-10-24 14:51:50 -04:00
Sudowoodo Release Bot
85b193178f
Bump v23.0.0-nightly.20221024
2022-10-24 06:01:28 -07:00
Sudowoodo Release Bot
3aed596fba
Bump v23.0.0-nightly.20221021
2022-10-21 06:01:08 -07:00
Shelley Vohr
3e730ab016
test: exit properly when node-spec-runner validates specs ( #36091 )
...
test: exit properly when node spec runner validates specs
2022-10-21 11:13:59 +02:00
John Kleinschmidt
0158077bec
test: disable flaky linux arm/arm64 crash test case ( #36094 )
...
test: disable failing linux arm/arm64 crash test case
2022-10-20 18:06:06 -04:00
Shelley Vohr
7921fec761
refactor: enable OOPIF printing to PDF ( #36051 )
2022-10-20 14:30:40 -04:00
Sudowoodo Release Bot
289bdbe4bc
Bump v23.0.0-nightly.20221020
2022-10-20 06:03:15 -07:00
Robo
da0fd286b4
feat: UtilityProcess API ( #34980 )
...
* chore: initial scaffolding
* chore: implement interface and docs
* chore: address code style review
* fix: cleanup of utility process on shutdown
* chore: simplify NodeBindings::CreateEnvironment
* chore: rename disableLibraryValidation => allowLoadingUnsignedLibraries
* chore: implement process.parentPort
* chore(posix): implement stdio pipe interface
* chore(win): implement stdio interface
* chore: reenable SetNodeOptions for utility process
* chore: add specs
* chore: fix lint
* fix: update kill API
* fix: update process.parentPort API
* fix: exit event
* docs: update exit event
* fix: tests on linux
* chore: expand on some comments
* fix: shutdown of pipe reader
Avoid logging since it is always the case that reader end of
pipe will terminate after the child process.
* fix: remove exit code check for crash spec
* fix: rm PR_SET_NO_NEW_PRIVS for unsandbox utility process
* chore: fix incorrect rebase
* fix: address review feedback
* chore: rename utility_process -> utility
* chore: update docs
* chore: cleanup c++ implemantation
* fix: leak in NodeServiceHost impl
* chore: minor cleanup
* chore: cleanup JS implementation
* chore: flip default stdio to inherit
* fix: some api improvements
* Support cwd option
* Remove path restriction for modulePath
* Rewire impl for env support
* fix: add tests for cwd and env option
* chore: alt impl for reading stdio handles
* chore: support message queuing
* chore: fix lint
* chore: new UtilityProcess => utilityProcess.fork
* fix: support for uncaught exception exits
* chore: remove process.execArgv as default
* fix: windows build
* fix: style changes
* fix: docs and style changes
* chore: update patches
* spec: disable flaky test on win32 arm CI
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-10-19 22:49:49 -07:00
Samuel Attard
44c40efecf
refactor: migrate from asar to @electron/asar ( #36070 )
...
* refactor: migrate from asar to @electron/asar
* fix: update asar require calls
2022-10-19 13:39:31 -07:00
Sudowoodo Release Bot
8bd66026a8
Bump v23.0.0-nightly.20221019
2022-10-19 06:02:29 -07:00
Yusoo
dde513b0d3
fix: printToPDF default margins ( #36060 )
...
printToPDF default margins
The document printToPDF has a 1cm margin and this default value has been added in the code.
2022-10-19 10:16:28 +02:00
Shelley Vohr
a8d89b3d52
fix: headless job tracking in printToPDF ( #36046 )
2022-10-18 15:46:19 +02:00
Sudowoodo Release Bot
b13606e55d
Bump v23.0.0-nightly.20221018
2022-10-18 06:01:30 -07:00
Shelley Vohr
4310468513
feat: support serialPort.forget() ( #35310 )
...
feat: enable serialPort.revoke()
2022-10-18 11:22:32 +02:00
Daniel Kocielinski
23d4a252c6
chore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView ( #35007 )
...
* hore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView
The draggable regions implementation is related to WebView, so
InspectableWebContentsView is a more appropriate place to put it there.
Also, this refactoring will allow the subsequent extension of the
WebContentsView API, which will eventually replace BrowserView API.
* fix: Lint error
* fix: Adjusted owner-window
2022-10-17 11:10:07 -04:00
electron-roller[bot]
f2c341b655
chore: bump chromium to 108.0.5355.0 (main) ( #35900 )
...
* chore: bump chromium in DEPS to 108.0.5339.0
* chore: bump chromium in DEPS to 108.0.5341.0
* chore: sync patch to unrelated upstream code shear
patches/chromium/network_service_allow_remote_certificate_verification_logic.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3927793
* chore: sync patch to unrelated upstream code shear
patches/chromium/printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3927793
* chore: sync patch to unrelated upstream code shear
patches/chromium/chore_add_electron_deps_to_gitignores.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3906023
* chore: refresh patches - `e patches all`
* chore: remove unused parameter from WillCreateURLLoaderRequestInterceptors
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3932218
* perf: avoid unique pointer round trip
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3913938
* refactor: Simplify entropy provider management.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3901211
* fixup! perf: avoid unique pointer round trip
* fixup! perf: avoid unique pointer round trip
* refactor: update typeof FileSelectHelper::select_file_dialog_
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3930092
* fixup! fixup! perf: avoid unique pointer round trip
* chore: bump chromium in DEPS to 108.0.5343.0
* chore: update patches
* chore: bump chromium in DEPS to 108.0.5345.0
* chore: bump chromium in DEPS to 108.0.5347.0
* chore: bump chromium in DEPS to 108.0.5349.0
* chore: bump chromium in DEPS to 108.0.5351.0
* chore: bump chromium in DEPS to 108.0.5353.0
* chore: bump chromium in DEPS to 108.0.5355.0
* chore: update patches
* Refactor display::win::DisplayInfo to display::win::internal::DisplayInfo
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3929014
* Update proxy resolution to use NAK - Part 2
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3934016
* Disable PreconnectManager when the user disabled preloading.
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3928470
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3937183
* chore: update patches
* chore: update sysroot
* linux: Remove breakpad integration
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3764621
* chore: update comments
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
2022-10-17 10:22:24 -04:00
Sudowoodo Release Bot
bcafe8f654
Bump v23.0.0-nightly.20221017
2022-10-17 06:01:25 -07:00
David Sanders
d8d5d4a4a1
docs: update VS Code debugger types to remove "pwa-" prefix ( #36042 )
2022-10-17 13:35:36 +02:00
Piroro-hs
295c5331ee
fix: override app's desktop name and v8 flags in default-app ( #35997 )
2022-10-17 10:34:24 +02:00
John Kleinschmidt
76880be6d2
test: re-enable <webview> tag DOM events emits resize event ( #36026 )
2022-10-17 14:57:44 +09:00
Shelley Vohr
e660fdf776
chore: remove useless Node.js V8 patch ( #36013 )
2022-10-17 14:57:31 +09:00
Sudowoodo Release Bot
dd757f4e22
Bump v23.0.0-nightly.20221014
2022-10-14 06:01:11 -07:00
Jeremy Rose
dc5d27a73b
docs: fix erroneous removal warning for decrementCapturerCount ( #36016 )
2022-10-13 11:40:25 -04:00
Raymond Zhao
ce138fe969
fix: Windows 7 frame showing for frameless non-resizable windows ( #35365 )
2022-10-13 11:39:40 -04:00
Sudowoodo Release Bot
79454dc50d
Bump v23.0.0-nightly.20221013
2022-10-13 07:17:26 -07:00
Sudowoodo Release Bot
8f09d6b47e
Revert "Bump v23.0.0-nightly.20221013"
...
This reverts commit 294f27900c .
2022-10-13 07:14:49 -07:00
John Kleinschmidt
b307314401
test: re-enable power monitor tests on arm64 ( #36015 )
...
test: re-enable powermonitor on arm64
2022-10-13 10:09:09 -04:00
Sudowoodo Release Bot
294f27900c
Bump v23.0.0-nightly.20221013
2022-10-13 06:01:22 -07:00
Jeremy Rose
8a926ffde4
refactor: use views NonClientHitTest for draggable regions on mac ( #35603 )
...
* refactor: use views NonClientHitTest for draggable regions on mac
* iwyu
* add backport of 9bb5f0316
* chore: update patches
* remove some unneeded functions
* remove test for triggering when BW is focused
* chore: update patches
* simplify views/mac split now that the draggable logic is the same
* Apply suggestions from code review
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update shell/browser/native_window.h
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* fix build
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-10-12 12:05:45 -04:00
Shelley Vohr
7ce94eb0b4
fix: disable nodeIntegrationInWorker for certain Worker types ( #35919 )
...
fix: disable nodeIntegrationInWorker for certain Worker types
2022-10-12 10:36:24 -04:00
Milan Burda
1328d8d670
docs: use webContents.mainFrame.on() in MessagePort tutorial ( #35824 )
...
* docs: use webContents.mainFrame.on() in MessagePort tutorial
* Update docs/tutorial/message-ports.md
Co-authored-by: Samuel Maddock <smaddock@salesforce.com >
Co-authored-by: Samuel Maddock <smaddock@salesforce.com >
2022-10-12 10:27:58 -04:00
Shelley Vohr
76afd8c028
test: more robust PDF specs ( #35979 )
2022-10-12 10:15:49 -04:00
Milan Burda
eb97ce1931
build: fix building with enable_ppapi = false ( #35988 )
2022-10-12 10:04:30 -04:00
Sudowoodo Release Bot
b6eadf2414
Bump v23.0.0-nightly.20221012
2022-10-12 06:01:34 -07:00
Milan Burda
8212616c76
chore: remove WebKit leftovers after it was renamed to Blink ( #35966 )
2022-10-11 20:01:57 -04:00
Shelley Vohr
ee7cf5a6d4
fix: webContents.printToPDF option plumbing ( #35975 )
...
fix: contents.printToPDF option plumbing
2022-10-11 16:06:34 -07:00
John Kleinschmidt
0759f3320e
docs: remove references to Widevine ( #35980 )
2022-10-11 16:06:13 -07:00
kyrylo-hrechykhin
c2cb97ea29
fix: on-screen-keyboard hides on input blurred in webview ( #35921 )
...
Co-authored-by: Kyrylo Hrechykhin <khrechykhin@microsoft.com >
2022-10-11 13:21:41 -04:00
Shelley Vohr
e8ae0571b8
test: remove redundant color diffing dependency ( #33215 )
2022-10-11 13:11:58 -04:00
Shelley Vohr
b3fd5eb258
fix: drag and drop should copy on macOS ( #35963 )
2022-10-11 18:19:59 +02:00
Sudowoodo Release Bot
9006f0e0c5
Bump v23.0.0-nightly.20221011
2022-10-11 06:00:46 -07:00
Darshan Sen
7493062555
test: add tests for valid electron module names ( #35931 )
...
* test: add tests for valid electron module names
https://github.com/electron/electron/pull/35915 landed without any
tests, so this change adds some. This also documents why these
variations exist.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
* fixup! doc: rephrase comment
Signed-off-by: Darshan Sen <raisinten@gmail.com >
* fixup! test: remove "Uncaught Error:" from error regex
Signed-off-by: Darshan Sen <raisinten@gmail.com >
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-10-11 15:59:23 +09:00
Sudowoodo Release Bot
e02de74ff2
Bump v23.0.0-nightly.20221010
2022-10-10 14:35:21 -07:00
Shelley Vohr
ebb866e63d
fix: override content::ContentMainDelegate::CreateContentClient() ( #35932 )
2022-10-10 16:48:44 +02:00
Sudowoodo Release Bot
ef00a2a1da
Revert "Bump v23.0.0-nightly.20221010"
...
This reverts commit 6072c4c71b .
2022-10-10 07:35:18 -07:00
Sudowoodo Release Bot
6072c4c71b
Bump v23.0.0-nightly.20221010
2022-10-10 06:01:40 -07:00
Samuel Attard
1fe21ff712
fix: expose the built-in electron module via the ESM loader ( #35930 )
2022-10-10 03:02:30 -07:00
David Sanders
a072f06168
docs: remove pywin32 mention in Windows build instructions ( #35940 )
2022-10-10 03:01:11 -07:00
Milan Burda
8bfbb251cc
fix: add missing #include "base/cxx17_backports.h" ( #35945 )
2022-10-10 03:00:56 -07:00
Sudowoodo Release Bot
3f4c4a4470
Bump v23.0.0-nightly.20221007
2022-10-07 06:01:54 -07:00
Sudowoodo Release Bot
5c784c2b1b
Bump v23.0.0-nightly.20221006
2022-10-06 06:01:26 -07:00
Samuel Attard
e1494ddc47
chore: cherry-pick c83640db21b5 from chromium ( #35924 )
...
* chore: cherry-pick c83640db21b5 from chromium
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-10-06 04:27:28 -07:00
Samuel Attard
e31c96a564
fix: only override valid electron module names ( #35915 )
...
Fixes #33014
2022-10-06 19:14:03 +09:00
Shelley Vohr
faafcc7f87
refactor: eliminate DecrementCapturerCount patch ( #35710 )
2022-10-05 19:51:33 +02:00
Shelley Vohr
a6b6816bec
build: clean up patch linting errors ( #35917 )
2022-10-05 10:34:53 -07:00
Sudowoodo Release Bot
f916ce2c49
Bump v23.0.0-nightly.20221005
2022-10-05 06:01:06 -07:00
Keeley Hammond
6196393c94
docs: update supported Mac versions ( #35911 )
2022-10-04 21:25:03 -07:00
Shmuel Leider
ff0517be3e
docs: update bluetooth fiddle example event name to trigger correct event ( #35894 )
...
* Fix event type spelling for bluetooth fiddle example
* docs: Fix event type spelling for bluetooth documentation fiddle example
2022-10-04 15:31:02 -04:00
Sudowoodo Release Bot
d8e037e426
Bump v23.0.0-nightly.20221004
2022-10-04 12:30:32 -07:00
Keeley Hammond
3bd85c8dc2
chore: update libcxx filenames ( #35904 )
...
* chore: update libcxx filenames
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-10-04 15:29:24 -04:00
Sudowoodo Release Bot
e63d4a6321
Revert "Bump v23.0.0-nightly.20221004"
...
This reverts commit 256d4678bb .
2022-10-04 08:16:47 -07:00
Sudowoodo Release Bot
256d4678bb
Bump v23.0.0-nightly.20221004
2022-10-04 06:00:58 -07:00
Samuel Attard
2cda1443fc
fix: ensure mas builds of the same application can use safestorage ( #35864 )
...
feat: ensure mas builds of the same application can use safestorage
This change ensures that MAS builds of applications with an equivilant darwin build that share the same name do not fight over access to the same Safe Storage account.
Specifically this changes the account name for app "My App" from "My App" to "My App AppStore" if the app is using a MAS build of Electron.
We attempt to migrate the safe storage key from the old account, if that migration succeeds we delete the old key and move on.
Existing apps that aren't built for the app store should be unimpacted, there is one edge case where a user uses BOTH an AppStore and a darwin build of the same app only one will keep it's access to the safestorage key as during the migration we delete the old account. This is an acceptable edge case as no one should be actively using two versions of the same app.
2022-10-03 23:36:17 -07:00
Samuel Attard
12eade752d
build: move from stale GH app to stale action ( #35845 )
...
* build: move from stale GH app to stale action
* Update .github/workflows/stale.yml
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* Update stale.yml
* Update .github/workflows/stale.yml
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* Update stale.yml
* Update .github/workflows/stale.yml
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* Update stale.yml
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-10-03 23:36:01 -07:00
Shelley Vohr
c76a931e20
fix: TryCatch scope in node_bindings ( #35850 )
...
fix: TryCatch scope in node_bindings
2022-10-03 23:35:20 -07:00
electron-roller[bot]
16f459228b
chore: bump chromium to 108.0.5329.0 (main) ( #35628 )
...
Co-authored-by: Samuel Attard <sattard@salesforce.com >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-10-03 13:21:00 -07:00
Sudowoodo Release Bot
94955a7999
Bump v23.0.0-nightly.20221003
2022-10-03 06:01:17 -07:00
Sudowoodo Release Bot
29ca3d1467
Bump v23.0.0-nightly.20220930
2022-09-30 06:01:05 -07:00
Sudowoodo Release Bot
3f598ef1ed
Bump v23.0.0-nightly.20220929
2022-09-29 06:00:48 -07:00
Calvin
6a68afdb8a
docs: update breaking changes for v21 ( #35820 )
2022-09-28 09:47:25 -07:00
Sudowoodo Release Bot
fea844c3da
Bump v22.0.0-nightly.20220928
2022-09-28 06:01:05 -07:00
Jeremy Rose
f82a863f65
feat: replace scroll-touch* with generic input-event ( #35531 )
2022-09-27 12:47:46 -07:00
Shelley Vohr
dfb8a2d804
build: fix deps workflow tag comparison ( #35830 )
2022-09-27 12:24:11 -04:00
James Cash
998a0820d9
fix: set display_id in desktop capturer on Linux ( #33861 )
...
Previously, display_id was an empty string, pending Chrome support for
sharing individual screens. Now that this has been added, it is
desirable to have this property set correctly.
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-09-27 11:40:44 -04:00
Sudowoodo Release Bot
621baa7bb7
Bump v22.0.0-nightly.20220927
2022-09-27 06:01:07 -07:00
Felix Rieseberg
74d59af3c5
fix: Handle an electron.d.ts file in a custom build ( #33979 )
...
* Handle an electron.d.ts file in a custom build
* Fix linter issues
Co-authored-by: Felix Rieseberg <felixr@stripe.com >
2022-09-26 14:39:26 -04:00
Samuel Maddock
c09c94fc98
feat: add WebContents.opener and webContents.fromFrame() ( #35140 )
...
* feat: add WebContents.opener
* feat: add webContents.fromFrame(frame)
* fix: unknown type name
* test: fix and add more fromFrame cases
* docs: clarified terminology
2022-09-26 12:37:08 -04:00
John Kleinschmidt
697a219bcb
feat: add support for Web Bluetooth pin pairing ( #35416 )
...
* feat: add bluetooth pairing handler
* Update docs/api/session.md
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update docs/api/session.md
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* docs: update based on review
* Apply suggestions from code review
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: update docs per review
* chore: cleanup callback per review
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2022-09-26 10:19:58 -04:00
Shelley Vohr
f8077cc004
build: fix major dependencies update workflow file ( #35811 )
2022-09-26 10:15:37 -04:00
Sudowoodo Release Bot
e0b4c485fe
Bump v22.0.0-nightly.20220926
2022-09-26 06:01:48 -07:00
David Sanders
a2ae308448
build: remove unused GitHub app config file ( #35797 )
2022-09-26 10:55:52 +02:00
Dominik Ilja
7d96321786
docs: minor grammar fixes in tutorial ( #35804 )
2022-09-26 10:53:08 +02:00
electron-roller[bot]
39d79c5c28
chore: bump node to v16.17.1 (main) ( #35800 )
...
* chore: bump node in DEPS to v16.17.1
* chore: update patches
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-09-26 10:12:52 +02:00
Milan Burda
f62aab76b3
fix: potential exception when calling webFrameMainBinding.fromIdOrNull() ( #35785 )
...
* fix: potential exception when calling webFrameMainBinding.fromIdOrNull()
* replace try/catch in getWebFrameForEvent
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-09-24 12:19:07 -07:00
Samuel Attard
324db14969
fix: set macOS crypto keychain name earlier ( #34683 )
...
* fix: set macOS crypto keychain name earlier
* spec: ensure arm64 mac tests are cleaned up
2022-09-23 12:32:10 -07:00
Raymond Zhao
8a0b4fa338
feat: add app.getSystemLocale() method ( #35697 )
...
* feat: add app.getSystemLocale() method
* Update shell/browser/electron_browser_main_parts.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Change methods to be const
* Apply PR feedback
* Fix mac compile
* Add missing scope
* Apply style changes
* Change note
* Add braces to get the comment indentation right
* Change to static
* Apply PR feedback
* Fix the documentation
* Remove extraneous file
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-09-23 11:50:46 -07:00
Keeley Hammond
626e248dea
chore: update NMV for Electron 22 ( #35772 )
2022-09-23 11:38:29 -07:00
Keeley Hammond
22d6102702
docs: update E22 release dates ( #35773 )
...
* doc: update E22 release dates
* chore: update 18.0.0 supported chart
2022-09-23 11:38:02 -07:00
Sudowoodo Release Bot
ad33a5f364
Bump v22.0.0-nightly.20220923
2022-09-23 06:02:20 -07:00
Cyril Chukwuebuka
d357218654
docs: changed event.data to data under the message.port in docs ( #35086 )
...
* docs: changed event.data to data under the message.port in docs
* docs: corrected BrowserWindow wrong usage and change window.messagePort to window.electronMessagePort
2022-09-23 01:07:53 -07:00
Samuel Attard
c69754b8e6
build: make patches owned by patch-owners (formed by upgrades + security) ( #35778 )
2022-09-22 14:15:40 -07:00
Aman Gupta
0df8878da4
docs: update the link for Introduction to Node.js ( #35761 )
...
Updated the link for Introduction to NodeJs
2022-09-22 09:46:11 -07:00
Sudowoodo Release Bot
4438731124
Bump v22.0.0-nightly.20220922
2022-09-22 06:01:15 -07:00
Shelley Vohr
eb3262cd87
fix: allow docking DevTools with WCO ( #35754 )
...
fix: allow for docking devtools with WCO
2022-09-22 10:44:27 +02:00
George Xu
4ffdd284c3
docs: add forge-overview.md ( #35473 )
...
* docs: move forge-specific docs to electronforge.io
* docs: add reference to forge icon tutorial
* docs: add references to forge-overview.md
* docs: add recommended
* docs: update forge-overview
* docs: apply code review comments
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-09-21 16:49:22 -04:00
Alexander Prinzhorn
9719cea250
docs: remove claim that HTTPS authenticates the remote server ( #35526 )
...
Update security.md
I don't think this is accurate. This is not a feature of HTTPS. This would require certificate pinning. It has been in the security docs since 2db125890c
Related
https://github.com/electron/electron/issues/3330
https://www.npmjs.com/package/electron-ssl-pinning
https://cheatsheetseries.owasp.org/cheatsheets/Pinning_Cheat_Sheet.html
2022-09-21 16:19:04 -04:00
Akshay Deo
dfc134de42
feat: add exposeInIsolatedWorld(worldId, key, api) to contextBridge ( #34974 )
...
* feat: add exposeInIsolatedWorld(worldId, key, api) to contextBridge
* Updates exposeInIslatedWorld worldId documentation
2022-09-21 13:17:10 -05:00
Sudowoodo Release Bot
8c3c0f0b50
Bump v22.0.0-nightly.20220921
2022-09-21 06:01:04 -07:00
xrkffgg
0783692809
ci: add blocked/needs-repro issues-helper ( #35605 )
2022-09-21 10:58:15 +02:00
matthewloft
4935fd2422
fix: WebAuthn Discoverable Credential (Resident Credential) ( #35374 )
...
* fix: WebAuthn Discoverable Credential (Resident Credential) #33353
Enables support for Webauthn discoverable credentials (aka resident
credentials). This allows users to authenticate without first having to
select or type a username.
To decide if discoverable credentials are supported, the class
'AuthenticatorCommon', in the chrome content code, indirectly calls the
method 'context::WebAuthenticationDelegate.SupportsResidentKeys(..)'.
The default implementation of this returns false, leaving it up to
specific implementations to override.
This change adds a new class 'ElectronWebAuthenticationDelegate' to
subclass 'WebAuthenticationDelegate' and override the behaviour of the
'SupportsResidentKeys' method to return true.
The implementation is copied from the Chrome browser equivalent
'ChromeWebAuthenticationDelegate', though the chrome class includes
other methods that don't seem to be required for this functionality.
The 'ElectronContentClient' class was also updated to store an instance
of 'ElectronWebAuthenticationDelegate', and to provide an accessor
method, GetWebAuthenticationDelegate().
* Remove redundant, commented-out code
* style: comment cleanup
* style: updated comments and formatting based on pull request review
* style: fix lint error on header guard clause
2022-09-20 15:47:42 -07:00
Milan Burda
99f4a42d41
chore: add missing .eslintrc.json files to limit imports properly ( #35719 )
2022-09-20 13:25:33 -05:00
Sebastian Vittersø
b1d7b30ca3
docs: fix wording mistake in security.md section 4 ( #35682 )
...
Update security.md
Under "4. Process Sandboxing", it said "For mor information on what `contextIsolation` is..." which was the previous section (copied from there). This updates it to say "For more information on what Process Sandboxing is..."
2022-09-20 11:14:44 -04:00
Sudowoodo Release Bot
d71b5e53fd
Bump v22.0.0-nightly.20220920
2022-09-20 06:01:49 -07:00
Bruno Pitrus
6cc69122ce
chore: fix ambiguous reference gcc compile error ( #35714 )
2022-09-19 17:05:24 -05:00
Kishan Bagaria
76ce6d5fb4
fix: edge case in app.isInApplicationsFolder() ( #35636 )
...
* fix: edge case in IsInApplicationsFolder
* use realpath instead
* lint
* revert lowercasing
* optimize
* Update shell/browser/ui/cocoa/electron_bundle_mover.mm
* lint
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-09-19 14:19:49 -04:00
Sudowoodo Release Bot
01cf5c5f99
Bump v22.0.0-nightly.20220919
2022-09-19 07:46:33 -07:00
Sudowoodo Release Bot
80bcea7e55
Revert "Bump v22.0.0-nightly.20220919"
...
This reverts commit 9aed5bcac5 .
2022-09-19 07:45:31 -07:00
Sudowoodo Release Bot
9aed5bcac5
Bump v22.0.0-nightly.20220919
2022-09-19 06:01:44 -07:00
Jeremy Rose
eebf34cc6c
feat: add webContents.close() ( #35509 )
...
* feat: add webContents.close()
* update docs, add test for beforeunload override
* Update web-contents.md
2022-09-16 16:22:59 -07:00
Sudowoodo Release Bot
994834d25a
Bump v22.0.0-nightly.20220916
2022-09-16 06:01:11 -07:00
Milan Burda
7d3f22dd32
fix: uv_os_gethostname failing on Windows 7 (libuv patch regression) ( #35702 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-09-15 22:33:01 -07:00
Jeremy Rose
fa3cd17475
docs: reverse support matrix order ( #35699 )
2022-09-15 15:53:26 -07:00
Erik Marks
ee8a27492f
build: update .nvmrc Node.js version from 14 to 16 ( #35676 )
...
Update `.nvmrc` Node.js version from 14 to 16
The `DEPS` file states that Electron is on Node.js ^16.x. I am guessing that the PR bumping to Node.js 16 overlooked the `.nvmrc` file, which is updated in this PR. If leaving the `.nvmrc` file on 14 was intentional, please disregard this PR.
2022-09-15 15:40:18 -07:00
Samuel Attard
bd6612273b
build: add stale configuration ( #35698 )
...
* build: add stale configuration
* Update .github/stale.yml
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* Update stale.yml
* Update stale.yml
* Update .github/stale.yml
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-09-15 15:37:33 -07:00
Ryan Manuel
f25c87dc70
feat: allow custom v8 snapshots to be used in the main process and the default snapshot in the renderer process ( #35266 )
...
* Updates to allow for using a custom v8 snapshot file name
* Allow using a custom v8 snapshot file name
* Fix up patch due to merge
* Use fuse to set up custom v8 snapshot file in browser process
* Refactor to use delegate instead of command line parameter
* Refactoring
* Update due to merge
* PR comments
* Rename patch
* Rename patch
2022-09-15 13:21:16 -07:00
Milan Burda
5cf15cdab7
build: fix building with enable_basic_printing false ( #35687 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-09-15 19:29:10 +02:00
marekharanczyk
532162d2b5
fix: EventEmitter is missing properties in sandbox preload script. ( #35522 )
2022-09-15 09:33:08 -07:00
Sudowoodo Release Bot
30bdede09f
Bump v22.0.0-nightly.20220915
2022-09-15 06:02:38 -07:00
Shelley Vohr
38a7da692a
chore: make macOS spellchecker fns formal no-ops ( #35514 )
...
* chore: make macOS spellchecker fns formal no-ops
* docs: correct no-op note
* test: add no-op specs
2022-09-14 15:10:16 -07:00
Sudowoodo Release Bot
bf20aabb9e
Bump v22.0.0-nightly.20220914
2022-09-14 06:01:23 -07:00
Juan Cruz Viotti
3a3be23f0e
build: make check-symlinks.js aware of BRANDING.json changes ( #35579 )
...
Right now the `check-symlinks.js` assumes that the branding product name
is "Electron". If users change `BRANDING.json` on custom builds, the
script will fail.
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2022-09-13 14:13:40 -07:00
Cheng Zhao
748c6af61e
docs: add back docs about asar archives ( #35563 )
2022-09-13 14:00:42 -07:00
Aryan Shridhar
f244e75927
docs: add IPC validation guideline link in checklist ( #35573 )
2022-09-13 13:56:41 -07:00
Shyamkumar Yadav
c847229a7e
docs: Markdown linting and typo ( #35568 )
...
* Fix reference definitions should be needed
* typo
* typo
* typo and style
* Fix reference definitions should be needed
* Fix typo
* restore to previous
2022-09-13 13:49:11 -07:00
Raymond Zhao
62502b8937
fix: allow maximizing when window enters tablet mode with WCO ( #35617 )
...
* fix: Backport CL 3753528 for WCO
* Update comment
* Update shell/browser/ui/views/win_caption_button_container.cc
Co-authored-by: Robo <hop2deep@gmail.com >
Co-authored-by: Robo <hop2deep@gmail.com >
2022-09-13 13:41:23 -07:00
Michaela Laurencin
12a7d7eea5
fix: remove extra dot in extension ( #35618 )
2022-09-13 11:47:04 -07:00
Jeremy Rose
9f97c3e50a
feat: expose content-bounds-updated event ( #35533 )
2022-09-13 10:49:34 -07:00
Leon Schwanitz
200153da8e
docs: fix typescript error in code samples ( #35641 )
...
Fixed typescript error
2022-09-13 09:38:06 -07:00
Sudowoodo Release Bot
71ba841f0a
Bump v22.0.0-nightly.20220913
2022-09-13 06:01:41 -07:00
Adrian Petrescu
ef463b39be
docs: Use inline image link in faq.md ( #35413 )
...
* Use absolute URL in faq.md image link
The relative link is rendered relative to the host domain, which works fine when viewing it on Github, but since you also use the same generated HTML in your doc site, the link is broken. See here: https://www.electronjs.org/docs/latest/faq#the-font-looks-blurry-what-is-this-and-what-can-i-do
Using an absolute URL here should fix the issue on the main site.
* Use inline image reference for subpixel rendering example
As suggested by @dsanders11
2022-09-12 16:09:12 -07:00
Benjamin Pasero
6ec4c7e563
docs: add performance advice to disable default menu creation ( #35525 )
2022-09-12 15:29:42 -07:00
Milan Burda
b3a744db8a
fix: potential "Object has been destroyed" error in BrowserWindow.getFocusedWindow ( #35520 )
2022-09-12 14:46:05 -07:00
Sudowoodo Release Bot
c14f52aeb7
Bump v22.0.0-nightly.20220912
2022-09-12 06:01:41 -07:00
Sudowoodo Release Bot
88dac9afc5
Bump v22.0.0-nightly.20220909
2022-09-09 06:00:50 -07:00
Jeremy Spiegel
730d9181b3
fix: ensure history navigations are sandboxed-iframe-aware ( #35420 )
2022-09-09 09:08:56 +09:00
electron-roller[bot]
b0036ea43a
chore: bump chromium to 107.0.5286.0 (main) ( #35590 )
...
* chore: bump chromium in DEPS to 107.0.5286.0
* 3866335: media: Rename KeySystemProperties to KeySystemInfo - file renaming
https://chromium-review.googlesource.com/c/chromium/src/+/3866335
* 3864686: [PA] Introduce *Scan buildflag
https://chromium-review.googlesource.com/c/chromium/src/+/3864686
* chore: fixup patch indices
* 3849359: Remove unused PrefValueStore::Delegate
https://chromium-review.googlesource.com/c/chromium/src/+/3849359
* 3873005: [CodeHealth] Modernising extensions Tab utils
https://chromium-review.googlesource.com/c/chromium/src/+/3873005
* 3846595: Auto-select PipeWire target once selection is made
https://chromium-review.googlesource.com/c/chromium/src/+/3846595
* 3826169: [json-schema-compiler] Support abs::optional<bool>
https://chromium-review.googlesource.com/c/chromium/src/+/3826169
* fixup! Remove unused PrefValueStore::Delegate
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2022-09-08 16:23:08 -07:00
Jeremy Rose
a0dbae72c8
chore: remove UnresponsiveSuppressor altogether ( #35507 )
...
* chore: drop unresponsive suppressor for menu_mac
* also for views
* header
* chore: remove UnresponsiveSuppressor altogether
2022-09-08 15:49:33 -07:00
CanadaHonk
a0c20fef96
docs: fix misspelling in fuses ( #35609 )
2022-09-08 15:33:58 -07:00
Erick Zhao
34cb360730
docs: update sandbox renderer defaults for Electron 20 ( #35379 )
...
* docs: update E20 sandbox rendering defaults
* docs: update tutorial
* simplify paragraph
* dont mention context isolation
2022-09-08 13:21:50 -07:00
Raymond Zhao
4fb4167b8b
fix: Set background for WCO container ( #35569 )
...
* fix: Set background for WCO container
* Add background when invalidating as well
2022-09-08 22:11:51 +09:00
Sudowoodo Release Bot
17d5016163
Bump v22.0.0-nightly.20220908
2022-09-08 06:01:03 -07:00
Frank Pian
e3efa16415
fix: session.getBlobData never resolves with blob sizes > 65536 ( #35277 )
...
* fix: session.getBlobData never resolves with blob sizes > 65536 (#34398 )
* Add unit test case for session.getBlobData
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-09-07 17:47:06 -04:00
Kishan Bagaria
3a6d6ff008
docs: improve registerFileProtocol example ( #35580 )
...
* improve registerFileProtocol example
* link ProtocolResponse
* kick lint
2022-09-07 14:45:09 -04:00
John Kleinschmidt
ebd1c8358b
ci: make sure artifacts are saved for fork PRs ( #35593 )
2022-09-07 13:25:44 -04:00
Keeley Hammond
84c94c3ebb
chore: move dark mode activation to main_win.cc ( #35529 )
2022-09-07 09:39:35 -07:00
Samuel Attard
142eb89d5e
docs: add fuses and asar integrity docs ( #35528 )
2022-09-07 08:41:03 -07:00
Gregory R. Wroblewski
c16baa063a
docs: fix missing includes in code example ( #35479 )
2022-09-07 15:37:29 +02:00
dependabot[bot]
87145c393c
build(deps): bump ansi-regex from 4.1.0 to 4.1.1 ( #35541 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 15:34:15 +02:00
Jeremy Rose
7d89cb1bd4
chore: remove no-op force-paint for hidden windows ( #35532 )
...
* chore: remove no-op force-paint for hidden windows
* fix build
2022-09-07 11:48:59 +02:00
electron-roller[bot]
08ccc81574
chore: bump chromium to 107.0.5274.0 (main) ( #35375 )
...
* chore: bump chromium in DEPS to 106.0.5247.1
* chore: update can_create_window.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3805043
content/renderer/render_view_impl.cc was removed
* chore: update patches/chromium/printing.patch
Normal code shear.
* chore: update patches/chromium/add_contentgpuclient_precreatemessageloop_callback.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3764862
fix minor code shear that caused the patch to not apply
* chore: update patches/chromium/picture-in-picture.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3781646
Normal code shear.
* chore: update patches/chromium/allow_disabling_blink_scheduler_throttling_per_renderview.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3805043
content/renderer/render_view_impl.cc was removed
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3792324
Normal code shear.
* chore: update patches/chromium/feat_add_streaming-protocol_registry_to_multibuffer_data_source.patch
Normal code shear.
* chore: update patches/chromium/fix_patch_out_profile_refs_in_accessibility_ui.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3798548
Normal code shear.
* chore: update patches/chromium/build_disable_print_content_analysis.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3810473
Normal code shear.
* chore: short-circuit_permissions_checks_in_mediastreamdevicescontroller.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3807504
Normal code shear.
* chore: update patches
* chore: bump chromium in DEPS to 106.0.5249.0
* chore: bump chromium in DEPS to 107.0.5250.0
* chore: bump chromium in DEPS to 107.0.5252.0
* chore: bump chromium in DEPS to 107.0.5254.0
* chore: bump chromium in DEPS to 107.0.5256.1
* chore: update v8 patches
* chore: update chromium patches
* [CodeHealthRotation] base::Value::Dict (v2) migration for //c/b/ui/zoom
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3778239
* Add support for snapped window states for lacros
https://chromium-review.googlesource.com/c/chromium/src/+/3810538
* webui: Migrate /chrome/browser/ui/webui URLDataSources to GetMimeType(GURL)
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3774560
* Provide explicit template arguments to blink::AssociatedInterfaceRegistry::AddInterface
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3773459
* Make WebScriptExecutionCallback base::OnceCallback
Refs
https://chromium-review.googlesource.com/c/chromium/src/+/3676532
https://chromium-review.googlesource.com/c/chromium/src/+/3724623
https://chromium-review.googlesource.com/c/chromium/src/+/3675752
* Add implementation of reduce accept language service
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3687391
* Add PermissionResult in //content/public.
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3807504
* [Extensions] Add new Webstore domain to extension URLs and clients
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3793043
* chore: update node patches
* chore: fix lint
* chore: update filenames.libcxx.gni
* fixup! Make WebScriptExecutionCallback base::OnceCallback
* chore: bump chromium in DEPS to 107.0.5266.1
* chore: bump chromium in DEPS to 107.0.5268.0
* chore: bump chromium in DEPS to 107.0.5270.1
* chore: update patches
* 3848842: [DevTools] Added 'printing-in-progress' error code.
https://chromium-review.googlesource.com/c/chromium/src/+/38488
* 3855766: PA: Move the allocator shim files into partition_allocator/shim/ | https://chromium-review.googlesource.com/c/chromium/src/+/3855766
* Change gfx::Rect to blink::mojom::WindowFeatures in AddNewContents and some related functions.
https://chromium-review.googlesource.com/c/chromium/src/+/3835666
* Use base::FunctionRef for the various ForEachRenderFrameHost helpers.
https://chromium-review.googlesource.com/c/chromium/src/+/3767487
* [loader] Send cached metadata as part of OnReceiveResponse
https://chromium-review.googlesource.com/c/chromium/src/+/3811219
* 3832927: [json-schema-compiler] Support abs::optional<int>
https://chromium-review.googlesource.com/c/chromium/src/+/3832927
* Use unique_ptr for BrowserPluginGuestDelegate::CreateNewGuestWindow
https://chromium-review.googlesource.com/c/chromium/src/+/3847070
* 3847044: [Android] Dismiss select popup upon entering fullscreen
https://chromium-review.googlesource.com/c/chromium/src/+/3847044
* chore: update patches
* chore: add missing header
* Migration of chrome/ BrowserContextKeyedServiceFactory to ProfileKeyedServiceFactory Part 12
https://chromium-review.googlesource.com/c/chromium/src/+/3804581
* 3786946: cast pwrite64 arg to long to avoid compilation error on arm
https://chromium-review.googlesource.com/c/linux-syscall-support/+/3786946
* chore: update patches after rebase
* 3846114: float: Implement for lacros p2.
https://chromium-review.googlesource.com/c/chromium/src/+/3846114
* 3825237: Enable -Wunqualified-std-cast-call
https://chromium-review.googlesource.com/c/chromium/src/+/3825237
* chore: bump chromium in DEPS to 107.0.5272.0
* chore: update patches
* 3835746: Rename PepperPluginInfo to ContentPluginInfo
https://chromium-review.googlesource.com/c/chromium/src/+/3835746
* 3852542: Plumb drag-image rect from blink to browser to RenderWidgetHostImpl
https://chromium-review.googlesource.com/c/chromium/src/+/3852542
* 3826169: [json-schema-compiler] Support abs::optional<bool>
https://chromium-review.googlesource.com/c/chromium/src/+/3826169
Also 3840687: [json-schema-compiler] Support abs::optional<double>
https://chromium-review.googlesource.com/c/chromium/src/+/3840687
* 3857319: Reland "Remove PrefService::Get"
https://chromium-review.googlesource.com/c/chromium/src/+/3857319
* 3854614: Rework LinuxUi ownership and creation
https://chromium-review.googlesource.com/c/chromium/src/+/3854614
* chore: bump chromium in DEPS to 107.0.5274.0
* 3866104: [DownloadBubble] Change download notifications in exclusive_access
https://chromium-review.googlesource.com/c/chromium/src/+/3866104
* chore: update patches
* chore: disable optimization guide for preconnect feature
* 3860569: Enable -Wshadow on Linux.
https://chromium-review.googlesource.com/c/chromium/src/+/3860569
* chore: update patches after rebase
* fixup: update to accomodate Wc++98-compat-extra-semi flag
* Revert "fixup! Make WebScriptExecutionCallback base::OnceCallback"
This reverts commit 0866fe8648671f04e4ea45ceed85db6e4a3b260b.
* fixup! Make WebScriptExecutionCallback base::OnceCallback
* fixup! Make WebScriptExecutionCallback base::OnceCallback
* 3840937: [sandbox] Merge V8_SANDBOXED_POINTERS into V8_ENABLE_SANDBOX
https://chromium-review.googlesource.com/c/v8/v8/+/3840937
* fixup! chore: update can_create_window.patch
* chore: update patches
* 53946: Track SSL_ERROR_ZERO_RETURN explicitly.
https://boringssl-review.googlesource.com/c/boringssl/+/53946
* fixup: Migration of chrome/ BrowserContextKeyedServiceFactory to ProfileKeyedServiceFactory Part 12
https://chromium-review.googlesource.com/c/chromium/src/+/3804581
* 3805932: [headless] Added print compositor support for OOPIF printing.
https://chromium-review.googlesource.com/c/chromium/src/+/3805932
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-09-07 09:46:37 +02:00
Sudowoodo Release Bot
f53ca20d41
Bump v22.0.0-nightly.20220906
2022-09-06 07:21:50 -07:00
Sudowoodo Release Bot
e09a4a31ca
Revert "Bump v22.0.0-nightly.20220906"
...
This reverts commit bda094674f .
2022-09-06 06:55:15 -07:00
Sudowoodo Release Bot
bda094674f
Bump v22.0.0-nightly.20220906
2022-09-06 06:01:28 -07:00
Sudowoodo Release Bot
de206987fe
Bump v22.0.0-nightly.20220905
2022-09-05 06:01:13 -07:00
Shelley Vohr
2db0f7f8d4
fix: screen.getCursorScreenPoint() crash on Wayland ( #35503 )
...
fix: screen.getCursorScreenPoint() crash on Wayland
2022-09-05 10:10:50 +02:00
Sudowoodo Release Bot
98c0fa1c8b
Bump v22.0.0-nightly.20220902
2022-09-02 06:01:55 -07:00
Sudowoodo Release Bot
bfbe73396b
Bump v22.0.0-nightly.20220901
2022-09-01 06:00:49 -07:00
Jeremy Rose
6ad679f540
feat: webFrameMain.origin ( #35438 )
2022-08-31 17:40:57 -07:00
Jeremy Rose
a7248af79e
chore: remove unneeded SetBackgroundOpaque hack ( #35496 )
2022-08-31 17:40:26 -07:00
Jeremy Rose
f99122abfc
refactor: BrowserView is owned by a BaseWindow ( #35511 )
2022-08-31 17:40:02 -07:00
Jeremy Rose
9cdc8bf6ca
chore: drop unresponsive suppressor for menus ( #35498 )
2022-08-31 10:25:01 -07:00
Milan Burda
b7c5b48c38
test: move api-media-handler-spec from spec-main to spec ( #35518 )
2022-08-31 08:32:57 -07:00
Jeremy Rose
5fe1ac5c3d
refactor: simplify WebContents::Destroy ( #35510 )
2022-08-31 10:16:27 -05:00
Sudowoodo Release Bot
1830c0f6c3
Bump v22.0.0-nightly.20220831
2022-08-31 06:01:55 -07:00
Shelley Vohr
e0fb5cbe1f
fix: crash loading non-standard schemes in iframes ( #35485 )
2022-08-31 10:08:11 +02:00
Sudowoodo Release Bot
bfced8cbfe
Bump v22.0.0-nightly.20220830
2022-08-30 06:00:55 -07:00
Shelley Vohr
75f9573e53
fix: compensate for title bar height when setting bounds on BrowserView ( #34713 )
...
fix: compensate for title bar height when setting bounds
2022-08-29 17:53:03 +02:00
electron-roller[bot]
d0e220cbce
chore: bump node to v16.17.0 (main) ( #35350 )
...
* chore: bump node in DEPS to v16.17.0
* chore: fixup asar patch
* lib: use null-prototype objects for property descriptors
https://github.com/nodejs/node/pull/43270
* src: make SecureContext fields private
https://github.com/nodejs/node/pull/43173
* crypto: remove Node.js-specific webcrypto extensions
https://github.com/nodejs/node/pull/43310
* test: refactor to top-level await
https://github.com/nodejs/node/pull/43500
* deps: cherry-pick two libuv fixes
https://github.com/nodejs/node/pull/43950
* src: slim down env-inl.h
https://github.com/nodejs/node/pull/43745
* util: add AggregateError.prototype.errors to inspect output
https://github.com/nodejs/node/pull/43646
* esm: improve performance & tidy tests
https://github.com/nodejs/node/pull/43784
* src: NodeArrayBufferAllocator delegates to v8's allocator
https://github.com/nodejs/node/pull/43594
* chore: update patch indices
* chore: update filenames
* src: refactor IsSupportedAuthenticatedMode
https://github.com/nodejs/node/pull/42368
* src: add --openssl-legacy-provider option
https://github.com/nodejs/node/pull/40478
* lib,src: add source map support for global eval
https://github.com/nodejs/node/pull/43428
* trace_events: trace net connect event
https://github.com/nodejs/node/pull/43903
* deps: update ICU to 71.1
https://github.com/nodejs/node/pull/42655
This fails the test because it's missing https://chromium-review.googlesource.com/c/chromium/deps/icu/+/3841093
* lib: give names to promisified exists() and question()
https://github.com/nodejs/node/pull/43218
* crypto: add CFRG curves to Web Crypto API
https://github.com/nodejs/node/pull/42507
* src: fix memory leak for v8.serialize
https://github.com/nodejs/node/pull/42695
This test does not work for Electron as they do not use V8's
ArrayBufferAllocator.
* buffer: fix atob input validation
https://github.com/nodejs/node/pull/42539
* src: fix ssize_t error from nghttp2.h
https://github.com/nodejs/node/pull/44393
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-08-29 09:55:36 -04:00
Shelley Vohr
1847581848
fix: crash on WebWorker destruction ( #35422 )
2022-08-29 15:45:48 +02:00
Sudowoodo Release Bot
2f23bdb19e
Bump v22.0.0-nightly.20220829
2022-08-29 06:02:20 -07:00
Shelley Vohr
4744674e93
fix: crash when switching origins with emulation settings set ( #35466 )
2022-08-29 14:53:24 +02:00
Shelley Vohr
f6bbad287a
chore: use nghttp2's config.h on all platforms ( #35449 )
...
https://github.com/nodejs/node/pull/27283
2022-08-29 12:23:47 +02:00
Nik K
23264488c5
docs: update docs description to match sidebar ( #35144 )
...
Update introduction.md
2022-08-29 17:17:58 +09:00
Shelley Vohr
d829fb7ef2
chore: delete implicit fallthrough patch ( #35452 )
2022-08-26 13:21:33 +02:00
Samuel Attard
f65b05b8cc
fix: pass rfh instances through to the permission helper ( #35419 )
...
* fix: pass rfh instances through to the permission helper
* refactor: use WeakDocumentPtr instead of frame node id
* fix: handle missing initiator document
* fix: dispatch openExternal event for top level webview navs still
2022-08-26 12:31:33 +02:00
Shelley Vohr
8128fa6d85
build: fix missing patch config dir error ( #35451 )
2022-08-25 09:39:16 -07:00
Jeremy Rose
3eb593dfde
test: fix some broken globs for spec-main ( #35439 )
2022-08-25 09:36:08 -07:00
Sudowoodo Release Bot
3de7844212
Bump v22.0.0-nightly.20220825
2022-08-25 06:02:31 -07:00
Shelley Vohr
a3a9463024
fix: fullscreen crashing with roundedCorners: false ( #35421 )
2022-08-25 13:39:01 +02:00
Shelley Vohr
70d6cbfb44
chore: remove unused GuestViewContainer ( #35405 )
...
chore: remove unused GuestViewContainer
2022-08-25 15:56:47 +09:00
Shelley Vohr
22ff2b6b93
fix: Node.js atob input validation ( #35415 )
...
fix: Node.js atob input validation
2022-08-25 15:55:07 +09:00
Keeley Hammond
7e8607fd7a
ci: fix appveyor x64 tests ( #35406 )
...
* ci: fix appveyor x64 tests
* extract builtins-pgo to correct directory
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-08-25 10:11:44 +09:00
John Kleinschmidt
6f77e63804
ci: fixup doc-only-change on Windows ( #35431 )
2022-08-24 17:39:56 -04:00
John Kleinschmidt
07c3e62d68
build: fix export patches to work when source directory does not exist ( #35432 )
2022-08-24 17:37:11 -04:00
Sudowoodo Release Bot
e1459f4d50
Bump v22.0.0-nightly.20220824
2022-08-24 06:02:36 -07:00
Sudowoodo Release Bot
900ffede41
Bump v22.0.0-nightly.20220823
2022-08-23 06:01:36 -07:00
Michaela Laurencin
3ce35f224e
fix: add restore event for minimized maximization ( #35342 )
2022-08-23 10:32:42 +09:00
Raymond Zhao
0ff6508f5b
chore: apply chromium commit 30a32e6 ( #35370 )
...
chore: Apply Chromium commit 30a32e6
2022-08-23 10:31:23 +09:00
Robo
33325e3608
fix: undefined details.requestingUrl from session.setPermissionCheckHandler ( #35281 )
...
fix: undefined details.requestingUrl from setPermissionCheckHandler
2022-08-23 10:25:57 +09:00
Jeremy Rose
221bb51326
feat: session.setDisplayMediaRequestHandler ( #30702 )
2022-08-22 14:15:32 -07:00
Sudowoodo Release Bot
0c04be502c
Bump v22.0.0-nightly.20220822
2022-08-22 13:13:15 -07:00
Keeley Hammond
d6d86f8b16
build: update libcxx filenames ( #35397 )
...
* build: update libcxx filenames
* build: change upload_to_storage variable
2022-08-22 13:11:41 -07:00
Sudowoodo Release Bot
eca6029c0a
Revert "Bump v22.0.0-nightly.20220822"
...
This reverts commit fc2e6bd0ed .
2022-08-22 08:58:00 -07:00
Samuel Attard
9b2b1998b8
fix: ensure chrome colors are initialized ( #35034 )
...
* fix: ensure chrome colors are initialized
* build: fix linking on windows
* build: fix linking on windows
* build: add needed files to chromium_src/BUILD
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
2022-08-22 16:38:45 +02:00
Sudowoodo Release Bot
fc2e6bd0ed
Bump v22.0.0-nightly.20220822
2022-08-22 06:02:41 -07:00
Robo
19baea4bc2
chore: update process singleton patch ( #35376 )
...
* chore: update process singleton patch
* fix: windows compilation error
* chore: remove outdated comment in patch
2022-08-20 07:45:58 +09:00
John Kleinschmidt
9b787d30f4
ci: use AppVeyor workflows ( #35377 )
...
* ci: use AppVeyor workflows
* fixup for skipping test on pr jobs
2022-08-19 13:10:16 -04:00
Sudowoodo Release Bot
748a739291
Revert "Bump v22.0.0-nightly.20220819"
...
This reverts commit b9bffb19ca .
2022-08-19 08:35:09 -07:00
Sudowoodo Release Bot
b9bffb19ca
Bump v22.0.0-nightly.20220819
2022-08-19 06:01:57 -07:00
Sudowoodo Release Bot
82f146e223
Revert "Bump v22.0.0-nightly.20220818"
...
This reverts commit 402553aeeb .
2022-08-18 08:56:57 -07:00
Sudowoodo Release Bot
402553aeeb
Bump v22.0.0-nightly.20220818
2022-08-18 06:01:56 -07:00
Jeremy Rose
1d6885c781
fix: don't bypass redirect checks ( #35357 )
2022-08-17 17:04:47 -07:00
electron-roller[bot]
97b353a30a
chore: bump chromium to 106.0.5216.0 (main) ( #34993 )
2022-08-17 11:35:53 -07:00
George Xu
e15e66f229
docs: add dependencies and troubleshooting section to build-instructions ( #35345 )
...
* docs: add dependencies and troubleshooting section to build-instructions
* docs: update certifi description
2022-08-17 10:54:49 -07:00
Sudowoodo Release Bot
532025c207
Bump v22.0.0-nightly.20220817
2022-08-17 06:05:24 -07:00
Robo
43182bf030
fix: promise support with webFrameMain.executeJavaScript ( #35292 )
...
* fix: promise support with webFrameMain.executeJavaScript
* chore: reject when result is an error
2022-08-17 13:08:13 +09:00
Bruno Pitrus
8e4a168a13
build: allow Linux distros to build against system shared libraries ( #34841 )
...
* build: allow Linux distros to build against system shared libraries
Add GN flags to build the embedded nodejs copy against system libraries
instead of vendored copies in `third_party/electron_node/deps`:
* cares
* llhttp
* nghttp2
* hdr_histogram
See also chromium's build/linux/unbundle/README for more
Electron-relevant information about vendored dependencies.
* Update patches/node/build_add_gn_build_files.patch
Co-authored-by: Darshan Sen <raisinten@gmail.com >
Co-authored-by: Darshan Sen <raisinten@gmail.com >
2022-08-16 22:50:15 -04:00
Raymond Zhao
947f1b0abf
fix: Frameless window shows frame while opening ( #35189 )
...
* fix: Frameless window shows frame while opening
* Clarify comments
* Inline setter
* Edit comment
2022-08-16 14:22:47 -07:00
Jeremy Rose
db7c92fd57
test: drop now-empty remote runner ( #35343 )
...
* test: drop the now-empty remote runner from CI
* move fixtures to spec-main
* remove remote runner
* fix stuff
* remove global-paths hack
* move ts-smoke to spec/
* fix test after merge
* rename spec-main to spec
* no need to ignore spec/node_modules twice
* simplify spec-runner a little
* no need to hash pj/yl twice
* undo lint change to verify-mksnapshot.py
* excessive ..
* update electron_woa_testing.yml
* don't search for test-results-remote.xml
it is never produced now
2022-08-16 15:23:13 -04:00
Sudowoodo Release Bot
e87c4015fe
Bump v22.0.0-nightly.20220816
2022-08-16 06:01:24 -07:00
Milan Burda
e85450b21a
fix: IPC emit order in -ipc-ports handler ( #35320 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2022-08-16 11:21:56 +09:00
Shelley Vohr
672539187c
fix: serialPort.open() failing ( #35306 )
...
fix: serialPort.open() failing
2022-08-15 11:49:20 -04:00
Zuohui Yang
cbc1ee5775
fix: add uv_loop_close when object release to fix crash ( #35322 )
...
Co-authored-by: yangzuohui <yangzuohui@bytedance.com >
2022-08-15 10:40:52 -04:00
Sudowoodo Release Bot
9c2d89476c
Bump v22.0.0-nightly.20220815
2022-08-15 06:01:59 -07:00
Milan Burda
8424779906
refactor: don't expose deprecate as an internal module ( #35311 )
2022-08-15 17:09:33 +09:00
Jeremy Rose
81766707fc
test: migrate remaining webview specs to main ( #35213 )
...
* test: migrate remaining webview specs to main
* fix merge
* add dirty-chai
* retry capturePage()
* fix test
2022-08-15 17:06:02 +09:00
Rhitik Bhatt
4cb57ad1a0
docs: removes unused import in preload script ( #35324 )
...
* Remove unused import of path
This import gives out the error in the preload script:
Error: module not found: path
at preloadRequire
* Removes unused import in preload script
notes: Removes unused import which causes issue in preload script of drag and drop tutorial
* Remove import path as it is not used in the script
note: Removes import path as it is not used in the script
2022-08-15 15:23:59 +09:00
Charles Kerr
a8934d2302
docs: add Electron deps to license credits file ( #35283 )
...
* docs: add Electron deps to license credits file
* fixup! docs: add Electron deps to license credits file
remove nan; it is dev-only
2022-08-15 10:35:12 +09:00
Shelley Vohr
f1216ca593
refactor: simplify Browser::SetLoginItemSettings ( #35303 )
...
refactor: simplify Browser::SetLoginItemSettings
2022-08-15 09:44:23 +09:00
Sudowoodo Release Bot
ceabca850c
Bump v22.0.0-nightly.20220812
2022-08-12 06:01:44 -07:00
Keeley Hammond
81d95b53b3
build: bump @electron/get to 2.0.0, node to >= 12+ ( #35301 )
...
* infra: bump @electron/get to 2.0.0, node to >= 12+
* chore: empty commit to trigger CircleCI
2022-08-11 15:31:24 +02:00
Shelley Vohr
4d54cadb28
fix: WCO occlusion of DevTools ( #35209 )
2022-08-11 15:16:12 +02:00
Sudowoodo Release Bot
eab7ab2c47
Bump v22.0.0-nightly.20220811
2022-08-11 06:01:27 -07:00
Sudowoodo Release Bot
882cdb1f7a
Bump v22.0.0-nightly.20220810
2022-08-10 06:01:07 -07:00
Samuel Attard
1d95b98cc8
docs: fix getStoragePath return type ( #35288 )
...
Fixes #35255
2022-08-09 22:39:36 -07:00
Milan Burda
8646bf8d30
chore: remove deprecated 'new-window' event ( #34526 )
2022-08-09 17:57:05 -04:00
Trang Le
32fefb1f50
fix(docs): fix a typo in section on debugging with VSCode ( #35256 )
...
fix(docs): fix a typo
2022-08-09 15:01:38 -04:00
Sudowoodo Release Bot
6548808054
Bump v22.0.0-nightly.20220809
2022-08-09 06:01:28 -07:00
Jeremy Rose
faa2f7afa3
test: migrate asar specs to main runner ( #35230 )
...
* test: migrate node specs to main
* test: migrate asar specs to main runner
* fix execFile
2022-08-09 09:39:14 +02:00
Darshan Sen
f3dbdaaf33
build: fix error in the ts-compile-doc-change step ( #35258 )
...
build: fix error in the ts-compile-doc-change step
Fixes the following error: https://app.circleci.com/pipelines/github/electron/electron/56517/workflows/ea0f6548-e0ac-40c6-bacb-e24610cd6670/jobs/1287168?invite=true#step-103-29
```sh
$ webpack --config build/webpack/webpack.config.asar.js --output-filename=asar.js --output-path=./.tmp --env.mode=development
[webpack-cli] Error: Unknown option '--env.mode=development'
[webpack-cli] Run 'webpack --help' to see available commands and options
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
```
This probably started happening because of the recent webpack upgrade
in https://github.com/electron/electron/pull/34990 .
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-08-08 17:09:09 -04:00
Sudowoodo Release Bot
0400eb2e60
Bump v22.0.0-nightly.20220808
2022-08-08 06:02:50 -07:00
Aaron Meriwether
91f9436ad8
fix: app.relaunch loses args when execPath specified ( #35108 )
2022-08-08 10:12:06 +02:00
Milan Burda
34b985c556
refactor: use optional chaining / nullish coalescing operator ( #35217 )
2022-08-08 10:11:04 +02:00
John Kleinschmidt
76431ac1fa
test: temporarily disable tests on mas arm64 that are causing a crash ( #35226 )
...
* test: temporarily disable test on mas arm64 that is causing crash
* disable the right test
* chore: speculative fix for CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER crash
* enable all the tests
* Revert "chore: speculative fix for CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER crash"
This reverts commit b7c8ef364c .
* test: disable tests that crash on mas arm64
2022-08-06 19:02:04 -04:00
Shelley Vohr
a11cc3274f
build: fix webpack prod failure ( #35227 )
2022-08-05 09:21:00 -07:00
Sudowoodo Release Bot
a719568ac1
Revert "Bump v22.0.0-nightly.20220805"
...
This reverts commit fbcd8f8a6e .
2022-08-05 07:54:04 -07:00
Sudowoodo Release Bot
fbcd8f8a6e
Bump v22.0.0-nightly.20220805
2022-08-05 06:01:13 -07:00
Jeremy Rose
aaa60dc0bc
test: migrate remaining chromium specs to main ( #35216 )
2022-08-04 17:20:56 -07:00
Jeremy Rose
4cfdef0ffd
test: migrate node specs to main ( #35212 )
2022-08-04 17:20:17 -07:00
Erick Zhao
b9fea0d2d2
docs: remove reference to electron/i18n in README ( #35228 )
2022-08-04 15:18:06 -07:00
Sudowoodo Release Bot
1b2e5b4106
Revert "Bump v22.0.0-nightly.20220804"
...
This reverts commit 47a08f9570 .
2022-08-04 08:27:56 -07:00
Sudowoodo Release Bot
47a08f9570
Bump v22.0.0-nightly.20220804
2022-08-04 06:00:52 -07:00
Brad Carter
21117ea5b2
docs: update tray docs with info for mac menubar icons ( #35136 )
2022-08-04 11:24:32 +02:00
Jeremy Rose
6d859dcd7f
feat: add WebContents.ipc ( #34959 )
2022-08-03 16:55:12 -07:00
Jeremy Rose
bba22ae720
test: migrate <webview> tag event specs to main runner ( #35077 )
2022-08-03 12:03:44 -07:00
Jeremy Rose
d15348ecc2
test: migrate webview attribute specs to spec-main ( #35076 )
2022-08-03 09:59:00 -07:00
Shelley Vohr
3baf713648
build: upgrade webpack and related deps ( #34990 )
2022-08-03 10:42:50 -04:00
Sudowoodo Release Bot
2b96d06960
Revert "Bump v21.0.0-nightly.20220803"
...
This reverts commit 4e919c919c .
2022-08-03 07:36:56 -07:00
TAN
c47031a279
docs: Fix the URL bugs at tutorial-6-publishing-updating.md ( #35175 )
...
* Update tutorial-6-publishing-updating.md
The dot at the end of the URL will depend on the site that cannot open. Because it will open `https://update.electronjs.org./ ` which does not exist.
* docs: fix the URL problems at tutorial-6-publishing-updating.md
The dot at the end of the URL will depend on the site that cannot open. Because it will open `https://update.electronjs.org./ ` which does not exist.
* docs: fix the URL problems at tutorial-6-publishing-updating.md
* docs: fix the URL problems at tutorial-6-publishing-updating.md
2022-08-03 10:20:37 -04:00
Erick Zhao
74432a313c
docs: fix link in tutorial ( #35192 )
...
Relands https://github.com/electron/electronjs.org-new/pull/240 upstream
2022-08-03 10:12:06 -04:00
Sudowoodo Release Bot
4e919c919c
Bump v21.0.0-nightly.20220803
2022-08-03 06:01:39 -07:00
Maya Nedeljković Batić
fb39f241fb
docs: update categories to match sidebar ( #35196 )
...
This page describes each of the categories available in the sidebar, but some of the category titles didn't match.
2022-08-03 12:03:45 +02:00
Cheng Zhao
afa4f5052b
fix: consider dock space when showing menu ( #35194 )
2022-08-03 17:52:42 +09:00
msizanoen1
7b8fb2b074
fix: Wayland general CSD fixes ( #34955 )
...
* fix: broken wayland window decorations due to botched chromium update
The `GetTitlebarBounds().height()` is obviously intended to be placed in
the `top` parameter, which used to be the second one before upstream
removed multi-parameter `gfx::Rect::Inset`, but it's the first parameter
for `gfx::Insets::TLBR`, which was intended to replace the removed
`Inset` function. However, whoever updated Chromium kept the parameter
unchanged, causing the title bar height to be passed to the `left`
parameter, causing the window title bar to be unclickable.
* fix: wayland window top bar buttons unclickable
Use NonClientFrameView::TargetForRect for the ClientFrameViewLinux
implementation because the default inherited from FramelessView blocks
any non-HTCLIENT events.
* fix: add maximized parameter to LinuxUI::GetWindowFrameProvider
* fix: pass frame_->IsMaximized() to GetWindowFrameProvider
This ensures that the toolkit renders the window decorations in maximized mode
while the window is maximized to ensure that there is no empty space around the window.
2022-08-03 17:51:52 +09:00
Cheng Zhao
4e8480b15b
chore: fix linking with component ffmpeg ( #35178 )
2022-08-03 16:51:30 +09:00
Keeley Hammond
3fe00d75e9
chore: update NMV for Electron 21 ( #35124 )
2022-08-02 12:57:42 -07:00
Jeremy Rose
3d4d1b33ba
fix: fail non-fatally when InitLogging fails ( #35138 )
2022-08-02 15:45:30 -04:00
Robo
53cd23159e
chore: remove unsupported skiptaskbar linux impl ( #35179 )
...
chore: unsupported skiptaskbar linux impl
2022-08-02 11:53:36 -07:00
Sudowoodo Release Bot
31be6ecf7b
Bump v21.0.0-nightly.20220802
2022-08-02 06:01:38 -07:00
Robo
e3893632e7
fix: touch events not recognized by WCO on windows ( #35117 )
2022-08-02 12:13:58 +09:00
Michaela Laurencin
0cdc946b27
fix: modify file extension generation on Windows ( #34723 )
...
* fix: modify file extension generation on Windows
* modify includes
* include vector in header
* add win build flags
* remove hardcoded strings
* Update shell/browser/electron_download_manager_delegate.h
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* fix string manipulation and function definitions
* Update electron_download_manager_delegate.h
* convert to std::string and modify for electron
* Update shell/browser/electron_download_manager_delegate.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* remove vector include and update conversion
* add vectr include for lint
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-08-02 09:40:17 +09:00
John Kleinschmidt
0d36c0cdc6
ci: turn off windows on arm test result comments ( #35142 )
2022-08-01 18:59:20 -04:00
Shelley Vohr
7588bb7425
fix: DCHECK entering fullscreen while loading url ( #35111 )
...
* fix: DCHECK entering fullscreen while loading url
* spec: fixup test
2022-08-01 16:52:58 -04:00
Keeley Hammond
6c17dd2296
fix: ensure native modules use the correct config ( #35159 )
...
* fix: ensure native modules are built with config.gypi
This works by patching node.h to check that two defines are set using the equivilant of an XNOR operation. One define "ELECTRON_ENSURE_CONFIG_GYPI" is set via common.gypi which is _already_ used to build native modules and has been since the dawn of time. Therefore this define will be set for all native module compilations targetting the Electron runtime. The second define "USING_ELECTRON_CONFIG_GYPI" is only defined when the gypi argument "using_electron_config_gypi" is set to 1 which is only done so via config.gypi. Only new enough versions of node-gyp correctly use the config.gypi file thus resulting in a compilation error on version of node-gyp that are too old.
* chore: fix lint
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-08-01 07:52:26 -07:00
Sudowoodo Release Bot
29434ee7c6
Bump v21.0.0-nightly.20220801
2022-08-01 06:01:38 -07:00
Charles Kerr
b67c69d741
fix: remove skip-taskbar feature on Linux. ( #35123 )
2022-08-01 12:42:02 +02:00
Kilian Valkhof
00e9bf107a
docs: new main -> renderers messageChannel example ( #34978 )
...
* docs: new main -> renderers messageChannel example
* consistent use of your
* fix a typo
* linting
* markdown linting
* Update docs/tutorial/message-ports.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* update code example headings, reference contextIsolation example
* remove nodeIntegration: false from browserWindows
* rename "messagePort" to "electronMessagePort" for compatibility
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2022-07-29 09:47:43 -07:00
Shelley Vohr
9028bb79a8
fix: empty result of webContents.getUserAgent() ( #35069 )
...
fix: empty result of webContents.getUserAgent()
2022-07-29 11:09:47 -04:00
Sudowoodo Release Bot
8004cb8722
Bump v21.0.0-nightly.20220729
2022-07-29 06:00:43 -07:00
Sofia Nguy
7f757075bc
docs: update E21 release date ( #35122 )
...
* docs: update E21 release date
* chore: fix lint
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
2022-07-28 21:54:48 -07:00
John Kleinschmidt
674596d11e
ci: switch to GHA for WOA ( #35109 )
...
* ci: switch to GHA for WOA
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-07-28 19:05:59 -04:00
Sudowoodo Release Bot
3c2ec2280e
Bump v21.0.0-nightly.20220728
2022-07-28 06:03:11 -07:00
Jeremy Rose
de1cec8693
test: migrate shell specs to main process ( #35058 )
2022-07-27 09:18:33 -07:00
Sudowoodo Release Bot
99c2706376
Bump v21.0.0-nightly.20220727
2022-07-27 06:01:22 -07:00
Stuart Schechter
63593ffb22
docs: don't wait for ready event to register open-url listener ( #35019 )
...
* Update app.md
Add warning about late registration of the open-url event.
* Update app.md
2022-07-27 14:00:35 +02:00
Samuel Attard
b0c6fb5152
chore: add electon deps to //src gitignore ( #35065 )
2022-07-27 13:15:34 +02:00
Jeremy Rose
77b4aab720
test: migrate the rest of the webFrame tests to main ( #35080 )
2022-07-27 11:10:14 +02:00
Jeremy Rose
7c2ed98214
test: migrate more chromium specs to main ( #35081 )
2022-07-27 11:10:04 +02:00
Charles Kerr
62001dc6cb
fix: crash on startup in X11 ( #35075 )
...
Fixes #34996 .
2022-07-27 13:44:44 +09:00
Keeley Hammond
ff804e3a74
fix: use win_clang_x64 binary for x86 extract symbols ( #35078 )
...
fix: use win_clang_x64 for x86 extract symbols
2022-07-27 13:33:07 +09:00
Ian German Mesner
9416091180
fix: allow setsize to be called within a move or resize for preventDefault ( #34843 )
...
fix : #34599 allow setsize to be called within a move or resize for preventDefault
2022-07-27 09:02:06 +09:00
Jeremy Rose
6d9e8b65bc
test: add process module tests for main process ( #35057 )
2022-07-26 15:42:50 -07:00
Shelley Vohr
b42fd1ddca
fix: handle WCO pressed state when going maximized -> minimized ( #35070 )
2022-07-26 13:30:15 -04:00
John Kleinschmidt
182ab9ad76
test: remove duplicate test that is causing hang in Windows ( #35071 )
2022-07-26 13:28:59 -04:00
Jeremy Rose
77e1a046ec
test: move chromium spec config to its own folder ( #35063 )
2022-07-26 09:37:11 -07:00
Devin Foley
0be73d18ef
fix: Make disable_color_correct_rendering patch work again ( #35050 )
...
Fix disable_color_correct_rendering patch.
2022-07-26 09:35:10 -07:00
Jeremy Rose
c842f63383
test: migrate process module specs to spec-main ( #35056 )
2022-07-26 09:31:26 -07:00
Sudowoodo Release Bot
6674082041
Bump v21.0.0-nightly.20220726
2022-07-26 06:01:07 -07:00
Jeremy Rose
cabfb8507d
test: remove references to robotjs ( #35064 )
2022-07-26 01:12:04 -07:00
Jeremy Rose
aa40652456
test: remove unused spec/expect-helpers ( #35055 )
2022-07-26 09:57:12 +02:00
Jeremy Rose
dd68fae081
test: migrate nativeImage specs to main ( #35062 )
...
* test: move nativeImage specs to main
* simplify test
2022-07-26 09:57:01 +02:00
Jeremy Rose
ad1bbc198b
test: migrate clipboard spec to spec-main ( #35059 )
2022-07-26 09:37:37 +02:00
electron-roller[bot]
2c51a81e85
chore: bump node to v16.16.0 (main) ( #34853 )
...
* chore: bump node in DEPS to v16.16.0
* chore: update patches
* chore: update patches
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-07-25 17:06:52 -04:00
John Kleinschmidt
648c9934c0
fix: properly fire serial-port-added and serial-port-removed events ( #34958 )
...
Based on 2309652: [webhid] Notify chooser context observers on shutdown | https://chromium-review.googlesource.com/c/chromium/src/+/2309652
2022-07-25 10:50:19 -04:00
Sudowoodo Release Bot
aeba6ca973
Bump v21.0.0-nightly.20220725
2022-07-25 06:01:47 -07:00
Mike Lee
49302e4a2f
docs: Add missing link to tutorial page ( #35035 )
...
Add missing link to tutorial page
2022-07-25 11:22:06 +02:00
Shelley Vohr
57c265198e
refactor: use Get/SetID from views:View in Button ( #35022 )
2022-07-25 09:46:14 +02:00
Keeley Hammond
08dd38d9be
docs: update build dependencies for Fedora ( #35024 )
2022-07-25 15:25:42 +09:00
Sudowoodo Release Bot
dd82a26e95
Bump v21.0.0-nightly.20220722
2022-07-22 06:01:06 -07:00
Jeremy Rose
3c63f075bd
chore: remove unused WebContents._sendToFrameInternal ( #35010 )
2022-07-21 10:25:54 -07:00
Sudowoodo Release Bot
fec4cca8d4
Bump v21.0.0-nightly.20220721
2022-07-21 06:01:19 -07:00
Shelley Vohr
1ed191114a
fix: clean up callback handling in webContents.print() ( #34894 )
...
* refactor: clean up callback handling in webContents.print()
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-07-21 12:46:15 +02:00
Milan Burda
d4e97483aa
refactor: only create webContents after 'will-attach-webview' ( #32941 )
2022-07-21 11:29:31 +02:00
dependabot[bot]
7ae3025fd5
build(deps): bump terser from 4.6.7 to 4.8.1 ( #34987 )
...
Bumps [terser](https://github.com/terser/terser ) from 4.6.7 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 11:15:00 +02:00
Valentin Hăloiu
67eda4bcc8
fix: add support for --ozone-platform-hint flag on Linux ( #34937 )
2022-07-21 10:37:54 +02:00
Sudowoodo Release Bot
9f0e7126c4
Bump v21.0.0-nightly.20220720
2022-07-20 08:02:19 -07:00
Keeley Hammond
be7f90481d
build: update mediastreamdevicescontroller.patch ( #34995 )
2022-07-20 08:00:31 -07:00
Sudowoodo Release Bot
6dc1218c37
Revert "Bump v21.0.0-nightly.20220720"
...
This reverts commit cffcd0d47a .
2022-07-20 07:14:04 -07:00
Sudowoodo Release Bot
cffcd0d47a
Bump v21.0.0-nightly.20220720
2022-07-20 06:01:09 -07:00
electron-roller[bot]
9e0a3c44dd
chore: bump chromium to 105.0.5187.0 (main) ( #34921 )
...
* chore: bump chromium in DEPS to 105.0.5179.0
* chore: update patches
* 3758224: Reland^2 "[flags] Enable freezing of flags"
https://chromium-review.googlesource.com/c/v8/v8/+/3758224
* chore: bump chromium in DEPS to 105.0.5181.0
* chore: update patches
* chore: bump chromium in DEPS to 105.0.5183.0
* chore: bump chromium in DEPS to 105.0.5185.0
* chore: bump chromium in DEPS to 105.0.5187.0
* chore: update patches
* 3723298: Pass RemoteFrame mojo channels through its creation messages.
https://chromium-review.googlesource.com/c/chromium/src/+/3723298
* 3737382: [Code Heath] Replace base::{ListValue,DictionaryValue} in skia et al
https://chromium-review.googlesource.com/c/chromium/src/+/3737382
* Pass RemoteFrame mojo channels through its creation messages.
https://chromium-review.googlesource.com/c/chromium/src/+/3723298
* Changed PrintRenderFrame.PrintWithParams mojo interface to use callback.
https://chromium-review.googlesource.com/c/chromium/src/+/3761203
* 3738183: [CSP] Add support for `DisableWasmEval`
https://chromium-review.googlesource.com/c/chromium/src/+/3738183
* 3740498: Move LinuxUI from //ui/views/linux_ui to //ui/linux
https://chromium-review.googlesource.com/c/chromium/src/+/3740498
* 3558277: Moves subsystem and semantics to enum class
https://chromium-review.googlesource.com/c/chromium/src/+/3558277
* chore: fix broken steps-electron-gn-check
* 3749583: [arm64] Fix undefined symbol linker error
https://chromium-review.googlesource.com/c/v8/v8/+/3749583
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-07-20 13:03:34 +02:00
Shelley Vohr
1b96a3aa1d
build: consolidate gn templates ( #34918 )
2022-07-20 11:14:54 +02:00
Jeremy Rose
3c7d446fad
refactor: unduplicate MediaStreamDevicesController ( #34895 )
...
* refactor: unduplicate MediaStreamDevicesController
* restore old logic for GUM_* request types
* lint
* gn format
* add test for unsupported getDisplayMedia
* simplify + comment
2022-07-20 17:09:14 +09:00
Alexander Petrov
60b6e74e3f
fix: merge crash annotations instead of overwriting ( #34795 )
...
ElectronCrashReporterClient::GetProcessSimpleAnnotations() merges
annotations provided as argument with global_annotations_,
preserving useful information.
2022-07-19 09:18:04 -07:00
Sudowoodo Release Bot
ba25714e16
Bump v21.0.0-nightly.20220719
2022-07-19 06:01:27 -07:00
Shelley Vohr
05d4966251
fix: delegate to PrintViewManagerBase on failed print ( #34893 )
...
fix: delegate to PrintViewManagerBase on failed print
2022-07-19 14:46:08 +02:00
Shelley Vohr
eb8c9452cb
fix: crash on BrowserWindow.setEnabled() ( #34904 )
...
fix: crash on BrowserWindow.setEnabled()
2022-07-19 12:31:49 +02:00
Shelley Vohr
38848c5bf7
test: optionally validate disabled Node.js specs ( #34899 )
2022-07-19 12:14:21 +02:00
Shelley Vohr
57b02e153d
fix: potential hang on print settings failure ( #34892 )
2022-07-19 11:45:10 +02:00
John Kleinschmidt
8a0df1f487
ci: wait longer for goma to be ready ( #34956 )
2022-07-19 10:20:16 +02:00
Sudowoodo Release Bot
c4cde78818
Bump v21.0.0-nightly.20220718
2022-07-18 06:01:46 -07:00
Samuel Attard
f1746c81c6
fix: do not define _LIBCPP_ABI_NAMESPACE=Cr for all native modules ( #34932 )
...
This define is only needed when linking against Chromiums libc++ which we currently
do not ship / expose the symbols of. We probably should make those symbols visible and
actually ensure that electron-rebuild et. al link against our libc++ instead of the system libc++
but for now this fixes compilation issues on macOS where the default system clang links to the system libc++
which does not (obviously) use the Chromium ABI namespace.
For our nan tests which do link against Chromiums libc++ we define the ABI namespace in the spec runner.
2022-07-15 16:57:29 -07:00
Sudowoodo Release Bot
9d23a624c1
Bump v21.0.0-nightly.20220715
2022-07-15 15:12:54 -07:00
Keeley Hammond
574da5a9a1
chore: cherry-pick 5e227bebf193 from v8 ( #34931 )
...
* chore: cherry-pick 5e227bebf193 from v8
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-07-15 15:12:01 -07:00
Sudowoodo Release Bot
2afb284456
Revert "Bump v21.0.0-nightly.20220715"
...
This reverts commit 4bec26cd0c .
2022-07-15 07:32:25 -07:00
Sudowoodo Release Bot
4bec26cd0c
Bump v21.0.0-nightly.20220715
2022-07-15 06:01:14 -07:00
Sudowoodo Release Bot
0cb39b5bb5
Revert "Bump v21.0.0-nightly.20220714"
...
This reverts commit e9f42b4ad4 .
2022-07-14 08:12:33 -07:00
Sudowoodo Release Bot
e9f42b4ad4
Bump v21.0.0-nightly.20220714
2022-07-14 06:03:36 -07:00
Samuel Attard
9a5d759ea3
fix: ensure that v8 sandbox isnt enabled for arm ( #34914 )
2022-07-14 10:46:41 +02:00
electron-roller[bot]
d32e6cc252
chore: bump chromium to 105.0.5173.0 (main) ( #34770 )
...
* chore: bump chromium in DEPS to 105.0.5147.0
* chore: update chromium/can_create_window.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3642216
fix minor code shear in patch
* chore: update chromium/port_autofill_colors_to_the_color_pipeline.patch
Xref: chromium/port_autofill_colors_to_the_color_pipeline.patch
fix minor code shear in patch
* chore: remove chromium/posix_replace_doubleforkandexec_with_forkandspawn.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3727368
Removing upstreamed patch
* chore: update patches
* chore: update patches
* chore: add new enum kOffscreenDocument to switch statement
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3722498
* chore: add stub for new parent virtual method OnNewCropVersion()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3717305
* chore: remove download_schedule arg from DownloadTargetCallback invocation
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3711096
Clean up DownloadLater flags and prefs
* chore: add stub for new parent virtual method OnNewCropVersion()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3717305
* chore: use base::List for extensions::Event
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3718366
Remove Event constructor overloads that take vector<base::Value>
* refactor: replace ClearStorageDataOptions.origin with .storage_key
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3702946
Refactor ClearData to take StorageKey
* chore: bump chromium in DEPS to 105.0.5149.0
* chore: update patches
* refactor: migrate InspectableWebContents to base::Value::List
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3726326
Migrate DevToolsEmbedderMessageDispatcher to base::Value::List.
* refactor: update electron_api_clipboard_mac Clipboard::ReadFindText()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3721398
Mac: Remove unused FindPasteboard C++ interface
* chore: bump chromium in DEPS to 105.0.5151.0
* chore: fix code shear in chromium/build_do_not_depend_on_packed_resource_integrity.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3714995
Move Cart DB proto to //components/commerce
* Revert "chore: fix code shear in chromium/build_do_not_depend_on_packed_resource_integrity.patch"
This reverts commit f8de4605eb3d35152b186646fefd8e88d1df836b.
* chore: fix code shear in chromium/build_do_not_depend_on_packed_resource_integrity.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3714995
Move Cart DB proto to //components/commerce
* chore: update patches
* chore: update ElectronAccessibilityUIMessageHandler to use base::Value::List
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3733367
Convert /chrome/browser/accessibility away from WebUI::RegisterDeprecatedMessageCallback
* chore: bump chromium in DEPS to 105.0.5153.0
* chore: bump chromium in DEPS to 105.0.5155.0
* chore: bump chromium in DEPS to 105.0.5157.0
* chore: bump chromium in DEPS to 105.0.5159.0
* chore: update patches
* chore: update CL reference
* Replace ContentMainDelegate::InvokedIn with a variant
https://chromium-review.googlesource.com/c/chromium/src/+/3705957
* Switch devtools_frontend.mojom to mojom.DictValue.
https://chromium-review.googlesource.com/c/chromium/src/+/3726425
* webhid: Bind HID service with service workers
https://chromium-review.googlesource.com/c/chromium/src/+/3680562
* chore: fix lint
* Don't fire load-complete AX notification on macOS for unfocused windows
https://chromium-review.googlesource.com/c/chromium/src/+/3695403
* chore: update patches
* chore: bump chromium in DEPS to 105.0.5165.0
* chore: update patches
* chore: bump chromium in DEPS to 105.0.5167.0
* chore: bump chromium in DEPS to 105.0.5169.0
* chore: bump chromium in DEPS to 105.0.5171.0
* chore: update patches
* chore: bump chromium in DEPS to 105.0.5173.0
* chore: update patches
* 3743346: Stop generating unsupported policies on macOS
https://chromium-review.googlesource.com/c/chromium/src/+/3743346
* 3727612: [Bluetooth][Win] Refactor pairing prompt code
https://chromium-review.googlesource.com/c/chromium/src/+/3727612
* 3737325: system-extensions: Move IsEnabled() out of SystemExtensionsProvider.
https://chromium-review.googlesource.com/c/chromium/src/+/3737325
* 3748635: Remove RenderView from the public API.
https://chromium-review.googlesource.com/c/chromium/src/+/3748635
* fixup: 3743346: Stop generating unsupported policies on macOS
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-07-13 17:26:16 -04:00
Gellert Hegyi
440c575aa6
fix: alwaysOnTop browser window option for X11 Linux ( #34766 )
...
fix: alwaysontop browser window option for x11
2022-07-13 11:59:57 -07:00
Sudowoodo Release Bot
46e5c537c8
Bump v21.0.0-nightly.20220713
2022-07-13 06:01:20 -07:00
Shelley Vohr
07d168343a
fix: enable deviceName validation on Linux ( #34872 )
2022-07-13 12:23:24 +02:00
Shelley Vohr
62aeb74d7c
fix: base::DictionaryValue usage in APNS notifs ( #34897 )
2022-07-13 12:22:17 +02:00
Joan Xie
afd08c9450
feat: Enable APNS registration + notification delivery in macOS apps ( #33574 )
2022-07-12 08:38:49 -07:00
Sudowoodo Release Bot
5314ae5342
Bump v21.0.0-nightly.20220712
2022-07-12 06:01:28 -07:00
Samuel Attard
511ff8bc8d
fix: ensure that requestMediaKeySystemAccess resolves ( #34886 )
...
When widevine was disabled at the build level we never dealt with the callback passed into GetSupportedKeySystems. This was ok until requests became marked pending in https://chromium-review.googlesource.com/c/chromium/src/+/3430502 until the callback was called. This resulted in a promise never resolving / rejecting and certain media websites (E.g. spotify) hanging on load waiting for a signal that would never arrive.
2022-07-12 00:48:51 -07:00
Shelley Vohr
95019f0454
fix: update Windows caption buttons to match Win11 style ( #34790 )
2022-07-12 09:13:40 +02:00
Jeremy Rose
4190ec2482
feat: sandbox preloads by default ( #32869 )
2022-07-11 16:28:09 -07:00
Valentin Hăloiu
f63bba8ce2
fix: set Wayland application ID ( #34855 )
...
* refactor: extract XDG app ID logic into a method
* fix: set application ID on Wayland
2022-07-11 11:26:18 -07:00
Sudowoodo Release Bot
8f3fb8db09
Bump v21.0.0-nightly.20220711
2022-07-11 06:01:12 -07:00
David Sanders
2b862c18ba
chore: improve run-clang-tidy.ts behavior when filenames < jobs ( #34736 )
2022-07-11 12:25:39 +02:00
Samuel Attard
fa8e4a7610
build: use third_party DEPOT_TOOLS when running lint scripts ( #34846 )
...
Some folks (especially build_tools users) do not have a version of depot_tools on their path
2022-07-11 12:25:17 +02:00
Shelley Vohr
2eb0e5dcab
fix: safer check for WCO button updates ( #34833 )
2022-07-11 11:45:01 +02:00
Samuel Attard
459404f536
build: run CI tests on Xcode 13.3.0 ( #34850 )
...
* build: test disabling security
* build: install python2 during tests
* build: do not install python2 on arm64 runners
* attempt 2
* build: only allow 13.3.0 xcode
2022-07-11 17:04:32 +09:00
Sudowoodo Release Bot
78848f8bfe
Bump v21.0.0-nightly.20220708
2022-07-08 06:01:44 -07:00
Samuel Attard
eba9d3fc79
fix: ensure v8 pointer compression + sandbox is enabled on 64bit native modules ( #34844 )
...
* fix: ensure v8 pointer compression + sandbox is enabled on 64bit native modules
* build: rely on config.gypi to enable pointer compression
2022-07-08 01:06:06 -07:00
Shelley Vohr
1941c88442
fix: setRepresentedFilename with non-default titlebarStyle ( #34834 )
...
fix: setRepresentedFilename with non-default titlebarStyle
2022-07-07 23:33:42 -07:00
Keeley Hammond
e83c3ec744
test: add first-party-set chromium tests ( #34827 )
...
test: add first-part-set chromium feature tests
2022-07-07 15:14:53 -04:00
Shelley Vohr
7ec88584b5
fix: WCO pressed background state updates ( #34771 )
2022-07-07 17:17:20 +02:00
Sudowoodo Release Bot
47d8d4cc5c
Bump v21.0.0-nightly.20220707
2022-07-07 06:01:40 -07:00
Sudowoodo Release Bot
f7428baace
Bump v21.0.0-nightly.20220706
2022-07-06 06:02:02 -07:00
Jeremy Rose
403bd39d05
chore: modernize base::Value useage in asar/archive ( #34796 )
2022-07-05 12:35:38 -04:00
David Sanders
c418275228
chore: update Discord invite links ( #34730 )
2022-07-05 11:55:15 -04:00
David Sanders
98cd16d336
chore: fix typos ( #34731 )
2022-07-05 11:49:56 -04:00
Jeremy Rose
e5db178ab6
feat: enable v8 sandboxed pointers ( #34724 )
...
* feat: enable v8 sandboxed pointers
* update breaking-changes.md
* update zero-fill patch
benchmarks showed the function call was slower
2022-07-05 11:28:22 -04:00
Jeremy Rose
0ee7f14190
chore: modernize Value usage in converters ( #34794 )
...
* chore: modernize Value usage in converters
* Date is parsed as an empty object now
2022-07-05 11:25:18 -04:00
Sudowoodo Release Bot
d28ed0da20
Bump v21.0.0-nightly.20220705
2022-07-05 06:01:17 -07:00
Sudowoodo Release Bot
1edf9d2ada
Bump v21.0.0-nightly.20220704
2022-07-04 06:02:50 -07:00
Sudowoodo Release Bot
d359736e65
Bump v21.0.0-nightly.20220701
2022-07-01 06:00:58 -07:00
Darshan Sen
c885f9063b
docs: document the removal of IA32 Linux support ( #34787 )
...
* docs: document the removal of IA32 Linux support
Chromium had dropped support for IA32 Linux, so the Chromium
102.0.4999.0 upgrade PR,
https://github.com/electron/electron/pull/33731 , had introduced the commit,
389ef0731e ,
to drop support for IA32 Linux but the change landed without an addition
to the documentation for the breaking changes, so this PR adds that.
Closes: https://github.com/electron/electron/issues/34783
Refs: https://bugs.chromium.org/p/chromium/issues/detail?id=1194538
Signed-off-by: Darshan Sen <raisinten@gmail.com >
* Update docs/breaking-changes.md
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2022-06-30 09:23:03 -07:00
Sudowoodo Release Bot
c3920c5c02
Bump v21.0.0-nightly.20220630
2022-06-30 06:02:00 -07:00
David Sanders
5d120359f6
chore: used nested namespaces ( #34737 )
2022-06-29 12:55:47 -07:00
Jeremy Rose
0d4e417594
chore: modernize ListValue usage in permission manager ( #34662 )
2022-06-29 10:09:48 -07:00
Jeremy Rose
4ddd03b1b3
chore: modernize some devtools code using deprecated ListValue ( #34655 )
2022-06-29 09:39:48 -07:00
Shelley Vohr
7c12baccab
build: remove appveyor hook to defunct service ( #34789 )
2022-06-29 17:19:05 +02:00
Sudowoodo Release Bot
461561c19c
Bump v21.0.0-nightly.20220629
2022-06-29 06:01:40 -07:00
Josh Soref
1f814eacb2
build: fix release_dependency_versions workflow ( #34573 )
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2022-06-29 14:55:59 +02:00
Shelley Vohr
ad2b1fee59
fix: re-enable HKDF crypto functionality ( #34767 )
...
* fix: re-enable HKDF crypto functionality
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-06-29 14:53:57 +02:00
Shelley Vohr
35ff95d3c7
fix: <datalist> bounds vertical cutoff ( #34759 )
2022-06-29 10:14:03 +02:00
Sudowoodo Release Bot
6257e0c348
Bump v21.0.0-nightly.20220628
2022-06-28 20:28:29 -07:00
Keeley Hammond
3310e4039f
build: update makeRequest parameters ( #34782 )
2022-06-28 20:26:00 -07:00
Jeremy Rose
40fbc05bb2
chore: modernize base::Value usage in accessibility_ui ( #34666 )
2022-06-28 16:40:56 -07:00
Keeley Hammond
3458eac276
chore: update printing patch for main gclient sync ( #34777 )
...
chore: update printing patch
2022-06-28 16:40:23 -07:00
Samuel Attard
44b9ee51f4
fix: resolve symlinks when computing relative asar paths for integrity ( #34776 )
2022-06-28 16:02:00 -07:00
Jeremy Rose
07294cbf15
chore: modernize ListValue usage in gpu info ( #34663 )
2022-06-28 09:52:59 -07:00
Sudowoodo Release Bot
a4043237da
Revert "Bump v21.0.0-nightly.20220628"
...
This reverts commit f1087cc830 .
2022-06-28 07:40:00 -07:00
Micha Hanselmann
704b2199b3
build: fix building with enable_basic_printing false ( #34711 )
...
* build: fix building with enable_basic_printing false
* temp flags for ci builds
* fix other systems
* disable cups
* disable print preview
* revert changes
* merge with printing.patch
2022-06-28 16:34:00 +02:00
Sudowoodo Release Bot
f1087cc830
Bump v21.0.0-nightly.20220628
2022-06-28 07:07:08 -07:00
Sudowoodo Release Bot
d028044a24
Revert "Bump v21.0.0-nightly.20220628"
...
This reverts commit 9c311a2059 .
2022-06-28 07:05:52 -07:00
Sudowoodo Release Bot
9c311a2059
Bump v21.0.0-nightly.20220628
2022-06-28 06:01:35 -07:00
dependabot[bot]
47afaddaf5
build(deps-dev): bump got from 6.7.1 to 11.8.5 ( #34697 )
...
Bumps [got](https://github.com/sindresorhus/got ) from 6.7.1 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v6.7.1...v11.8.5 )
---
updated-dependencies:
- dependency-name: got
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 11:18:47 +02:00
David Sanders
59d3c12cae
chore: remove spurious trailing namespace comments ( #34732 )
2022-06-28 10:08:55 +02:00
electron-roller[bot]
e86d1cba75
chore: bump chromium to 105.0.5129.0 (main) ( #34403 )
...
* chore: bump chromium in DEPS to 104.0.5096.0
* 3651284: Use the entry settings object for window.open navigation
https://chromium-review.googlesource.com/c/chromium/src/+/3651284
* 3644598: Make RenderFrameHost used for notification permission decision
https://chromium-review.googlesource.com/c/chromium/src/+/3644598
* 3642842: Window Placement: Prototype Fullscreen Capability Delegation - Part 2
https://chromium-review.googlesource.com/c/chromium/src/+/3642842
* 3652785: [sandbox] Enable sandboxed pointers on sanitizer builds
https://chromium-review.googlesource.com/c/v8/v8/+/3652785
* 3611967: webhid: Migrate HidDelegate to use BrowserContext and Origin
https://chromium-review.googlesource.com/c/chromium/src/+/3611967
* 3665762: Remove RenderFrameHost::IsRenderFrameCreated from //content/.
https://chromium-review.googlesource.com/c/chromium/src/+/3665762
* 3659375: Fold x509_util_ios and most of x509_util_mac into x509_util_apple
https://chromium-review.googlesource.com/c/chromium/src/+/3659375
* 3656234: [CodeHealth] Remove uses of base::ListValue::Append() (Final, take 2)
https://chromium-review.googlesource.com/c/chromium/src/+/3656234
* chore: update patch indices
* chore: fix lint
* 3644598: Make RenderFrameHost used for notification permission decision
https://chromium-review.googlesource.com/c/chromium/src/+/3644598
* webhid: Migrate HidDelegate to use BrowserContext and Origin
This is a temporary fix for https://chromium-review.googlesource.com/c/chromium/src/+/3611967 to get the build compiling, but we need to either patch around https://chromium-review.googlesource.com/c/chromium/src/+/3611967 or move our device permissioning to BrowserContext
* chore: fix lint
* build: run electron/script/gen-libc++-filenames.js
fixes gn check
* chore: bump chromium in DEPS to 104.0.5098.0
* chore: disable flaking tests
* 3682394: Change pipes surrounding code references in comments to backticks
https://chromium-review.googlesource.com/c/chromium/src/+/3682394
* 3652749: Delete GLRenderer and related classes
https://chromium-review.googlesource.com/c/chromium/src/+/3652749
* chore: fixup patch indices
* 3671199: Remove ContentMainDelegate::PostFieldTrialInitialization
https://chromium-review.googlesource.com/c/chromium/src/+/3671199
* 3607963: hid: Do not exclude HID device with no collections
https://chromium-review.googlesource.com/c/chromium/src/+/3607963
* refactor: use ElectronBrowserContext instead of WebContents to persist devices
due to changes like https://chromium-review.googlesource.com/c/chromium/src/+/3611967 ,
we can no longer use WebContents to store device permissions so this commit
moves device permission storage to live in memory in ElectronBrowserContext
instead.
* 3557253: Deprecate some signature checks
https://chromium-review.googlesource.com/c/v8/v8/+/3557253
* chore: bump chromium in DEPS to 104.0.5100.0
* 3680781: Add policy for Renderer App Container.
https://chromium-review.googlesource.com/c/chromium/src/+/3680781
* chore: update patch indices
* 3675465: Update NetLog network service API to use mojom::DictionaryValue.
https://chromium-review.googlesource.com/c/chromium/src/+/3675465
* chore: bump chromium in DEPS to 104.0.5102.0
* chore: update patches
* chore: bump chromium in DEPS to 104.0.5103.0
* chore: update patches
* chore: bump chromium in DEPS to 104.0.5104.0
* chore: update patches
* fix: add patch for DCHECK in fullscreen test
* build: fix nan build
* build: make the nan spec runner work on macOS
* chore: bump chromium in DEPS to 104.0.5106.0
* chore: update patches
* chore: bump chromium in DEPS to 104.0.5108.0
* chore: update patches
* chore: bump chromium in DEPS to 104.0.5110.0
* chore: update patches
* chore: bump chromium in DEPS to 104.0.5112.0
* chore: bump chromium in DEPS to 105.0.5113.0
* chore: bump chromium in DEPS to 105.0.5115.0
* chore: bump chromium in DEPS to 105.0.5117.0
* chore: update patches
* chore: update libcpp patch
* 3693745: Delete base::LowerCaseEqualsASCII()
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3693745
* 3669226: Remove printing PostTask usage of IO thread
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3669226
* 3687395: Remove DictionaryValue::HasKey().
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3687395
* 3691014: Prevent unsafe narrowing: ui/accessibility, part 2
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3691014
* 3560567: [MSC] Porting GenerateStreams clients to handle stream vectors.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3560567
* 3684873: [Bluetooth][Win/Linux] Add bluetooth pair confirmation prompt
https://chromium-review.googlesource.com/c/chromium/src/+/3684873
* chore: bump chromium in DEPS to 105.0.5119.0
* chore: missing includes in desktop_notification_controller
* chore: update patches
* 3685951: Reland "Make sure screen object is created once in tests."
https://chromium-review.googlesource.com/c/chromium/src/+/3685951
* fixup: Reland "Make sure screen object is created once in tests."
* 3646014: [API] Deprecate LegacyOOMErrorCallback
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/3646014
* chore: bump chromium in DEPS to 105.0.5121.0
* chore: update patches
* 3699085: [cleanup] update PrintBackend::EnumeratePrinters to use reference
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3699085
* chore: bump chromium in DEPS to 105.0.5123.0
* chore: update patches
* chore: bump chromium in DEPS to 105.0.5125.0
* chore: update patches
* 3630082: [sandbox] Also enable the sandbox outside of Chromium builds
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/3630082
* chore: bump chromium in DEPS to 105.0.5127.0
* chore: update patches
* chore: bump chromium in DEPS to 105.0.5129.0
* chore: update patches
* 3703741: Remove WebContents::GetMainFrame.
https://chromium-review.googlesource.com/c/chromium/src/+/3703741
* chore: update patches
* fixup! 3703741: Remove WebContents::GetMainFrame.
* fix lint
* more lint
* chore: document breaking change
* 3687671: [v8] Freeze flags after initialization
https://chromium-review.googlesource.com/c/chromium/src/+/3687671
* fixup! 3560567: [MSC] Porting GenerateStreams clients to handle stream vectors.
* use the v8 allocator for node serdes
* chore: update patches
* remove faulty non-v8-sandbox-compatible code
* make NodeArrayBufferAllocator use the v8 allocator under the hood
* fixup! 3560567: [MSC] Porting GenerateStreams clients to handle stream vectors.
* fix build on windows
* 3691954: [Reland][Extensions Bindings] Validate arguments sent to API events
https://chromium-review.googlesource.com/c/chromium/src/+/3691954
* chore: remove deprecated AccessorSignatures
https://github.com/nodejs/nan/pull/941
* Update patches/chromium/notification_provenance.patch
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* remove chore_expose_v8_initialization_isolate_callbacks.patch
* add link to nodejs/nan#941
* 52026: Do not allow md4 or md5 based signatures in X.509 certificates.
https://boringssl-review.googlesource.com/c/boringssl/+/52026
* chore: update patches
* disable nan buffer-test
* disable sandboxed pointers for now
* force sandboxed pointers off
* improve node allocation patch
* restore accidentally dropped node crypto test patch
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@salesforce.com >
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <japthorp@slack-corp.com >
2022-06-27 15:50:08 -05:00
Sudowoodo Release Bot
032e1d9bef
Bump v21.0.0-nightly.20220627
2022-06-27 06:02:43 -07:00
David Sanders
39840502be
docs: replace broken Windows taskbar images ( #34729 )
2022-06-27 14:14:01 +02:00
David Sanders
8238cca87b
test: use maximize event instead of resize event ( #34740 )
2022-06-27 10:29:55 +02:00
David Sanders
e2c58d164d
chore: replace Object.assign with object spread syntax ( #34739 )
2022-06-27 10:29:18 +02:00
Milan Burda
ba4893c248
refactor: load webFrame via process._linkedBinding in security-warnings.ts ( #34735 )
2022-06-27 10:28:35 +02:00
Sudowoodo Release Bot
c5b87e4919
Bump v21.0.0-nightly.20220624
2022-06-24 06:01:02 -07:00
Shelley Vohr
3b881e4a13
fix: WCO respects maximizable/closable/minimizable ( #34677 )
2022-06-23 13:08:32 -04:00
Sudowoodo Release Bot
106aa0e922
Bump v21.0.0-nightly.20220623
2022-06-23 06:00:50 -07:00
Jeremy Rose
11924bdbb2
chore: modernize ListValue usage in dict_util.mm and related files ( #34661 )
...
* chore: modernize ListValue usage in dict_util.mm and related files
* use base::Value::{Dict,List} instead of raw base::Value
* fix compile
* fix build
* fix build again
2022-06-23 15:28:41 +09:00
Jeremy Rose
cd19a741b1
chore: modernize base::Value usage in shell/renderer/printing ( #34682 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-06-22 10:37:58 -07:00
Jeremy Rose
5895296239
test: disable flaky transparent window test ( #34660 )
2022-06-22 10:37:32 -07:00
Sudowoodo Release Bot
e3243ad113
Bump v21.0.0-nightly.20220622
2022-06-22 06:00:53 -07:00
David Sanders
5fee5b0e22
chore: chunk filenames when linting C++ files ( #34237 )
...
* chore: chunk filenames when linting C++ files
* chore: refactor code for better readability
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: further tweak
* chore: limit all platforms to 4095 characters on command line
* chore: use python3
* Revert "chore: use python3"
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2022-06-22 19:23:11 +09:00
Milan Burda
f172136752
chore: remove undocumented page-title-set webview event ( #34533 )
2022-06-22 17:18:42 +09:00
Juan Cruz Viotti
218797eb61
fix: allow macOS debug builds to be built ( #34536 )
...
Extending the `testing` GN profile with the arguments documented to
allow breakpoint debugging
(https://www.electronjs.org/docs/latest/development/debugging#breakpoint-debugging )
doesn't quite work on macOS:
```sh
is_debug = true
symbol_level = 2
forbid_non_component_debug_builds = false
```
The build eventually fails on both Intel and Apple Silicon with the
following (summarized) error:
```sh
[S:41062 R:1 (41062:41247) (C/s:0.1 O/s:13.6)] SOLINK 'obj/electron/electron_framework_shared_library/Electron Framework' 'obj/electron/electron_framework_shared_library/Electron Framework.TOC'
FAILED: obj/electron/electron_framework_shared_library/Electron Framework obj/electron/electron_framework_shared_library/Electron Framework.TOC
...
Undefined symbols for architecture x86_64:
"platform_util::GetViewForWindow(gfx::NativeWindow)", referenced from:
BoundsOverlapWithAnyOpenPrompt(gfx::Rect const&, content::WebContents*) in libchrome.a(autofill_popup_view_utils.o)
"platform_util::GetParent(gfx::NativeView)", referenced from:
BoundsOverlapWithAnyOpenPrompt(gfx::Rect const&, content::WebContents*) in libchrome.a(autofill_popup_view_utils.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
...
```
This symbol is defined on a file that is not declared as a dependency of
`libchrome` on the GN definitions. Why the problem is not reproducible
on plain testing or release builds remains a mystery to me. I'm guessing
some non-debug path somewhere in the GN definitions does eventually
require that file.
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2022-06-22 17:18:12 +09:00
Erick Zhao
e410109a3d
docs: expand tutorial ( #34604 )
...
* docs: base tutorial update
* more docs
* zzz
* remove unused images
2022-06-22 17:17:48 +09:00
Milan Burda
a5869fe997
refactor: use std::size(args) instead of hardcoded values ( #34651 )
2022-06-22 10:15:27 +02:00
Jeremy Rose
bf52318c76
fix: modernize ListValue in net converters ( #34657 )
2022-06-22 10:14:57 +02:00
Jeremy Rose
73c85410c5
chore: modernize ListValue code in session ( #34656 )
...
* chore: modernize ListValue code in session
* also in browser_context
2022-06-22 10:14:35 +02:00
Jeremy Rose
ad7aab8338
chore: modernize base::Value usage in WebRequest ( #34667 )
2022-06-22 10:11:27 +02:00
Sudowoodo Release Bot
140c8d0d0a
Bump v21.0.0-nightly.20220621
2022-06-21 09:07:50 -07:00
Keeley Hammond
34fc53e5e6
chore: Revert "build: build & release libcxx objects on darwin ( #34586 )" ( #34680 )
...
Revert "build: build & release libcxx objects on darwin (#34586 )"
This reverts commit 2bbbc66eb8 .
2022-06-21 09:06:50 -07:00
Sudowoodo Release Bot
528cbe8131
Revert "Bump v21.0.0-nightly.20220621"
...
This reverts commit 116c32a030 .
2022-06-21 08:27:51 -07:00
Sudowoodo Release Bot
116c32a030
Bump v21.0.0-nightly.20220621
2022-06-21 06:00:53 -07:00
Shelley Vohr
530a022b05
fix: window button visibility fullscreen interaction ( #34530 )
2022-06-21 16:35:53 +09:00
Milan Burda
f3f327823e
chore: move main process only accessible API bindings away from common ( #34634 )
2022-06-21 16:34:56 +09:00
Milan Burda
0f528c1e43
chore: let result: ReturnType<typeof this._callWindowOpenHandler>; ( #34628 )
2022-06-21 10:39:41 +09:00
Keeley Hammond
2bbbc66eb8
build: build & release libcxx objects on darwin ( #34586 )
...
* build: build & release libcxx objects on darwin
* Fix merge error
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2022-06-21 10:35:16 +09:00
Shelley Vohr
3cd5223134
build: mark existing Node.js flakes as dontcare ( #34644 )
2022-06-20 15:54:52 -04:00
Shelley Vohr
8e45f43f18
refactor: remove deprecated drag-and-drop code ( #34615 )
2022-06-20 15:17:53 +02:00
Sudowoodo Release Bot
d341610d64
Bump v21.0.0-nightly.20220620
2022-06-20 06:01:30 -07:00
Shelley Vohr
6e9466f96b
fix: overzealous media key listening on Windows ( #34594 )
2022-06-20 19:40:10 +09:00
Shelley Vohr
e2f42e5d99
chore: fix BrowserView painting when origin updated ( #34581 )
...
chore: fix View painting when origin updated
2022-06-20 13:31:53 +09:00
Darshan Sen
ec98e95b8a
fix: performance problem in crashReporter.start() on macOS ( #34609 )
...
fix: performance problem in crashReporter.start() on macOS
This change reduces the duration of crashReporter.start() on Intel macOS
from 622 milliseconds to 257 milliseconds!
Backports https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3641386
posix: Replace DoubleForkAndExec() with ForkAndSpawn()
The DoubleForkAndExec() function was taking over 622 milliseconds to run
on macOS 11 (BigSur) on Intel i5-1038NG7. I did some debugging by adding
some custom traces and found that the fork() syscall is the bottleneck
here, i.e., the first fork() takes around 359 milliseconds and the
nested fork() takes around 263 milliseconds. Replacing the nested fork()
and exec() with posix_spawn() reduces the time consumption to 257
milliseconds!
See https://github.com/libuv/libuv/pull/3064 to know why fork() is so
slow on macOS and why posix_spawn() is a better replacement.
Another point to note is that even base::LaunchProcess() from Chromium
calls posix_spawnp() on macOS -
8f8d82dea0 :base/process/launch_mac.cc;l=295-296
Change-Id: I25c6ee9629a1ae5d0c32b361b56a1ce0b4b0fd26
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3641386
Reviewed-by: Mark Mentovai <mark@chromium.org >
Commit-Queue: Mark Mentovai <mark@chromium.org >
Fixes: https://github.com/electron/electron/issues/34321
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-06-20 13:31:29 +09:00
dependabot[bot]
bf4efb693b
build(deps): bump jpeg-js from 0.4.3 to 0.4.4 in /spec-main ( #34607 )
...
Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/eugeneware/jpeg-js/releases )
- [Commits](https://github.com/eugeneware/jpeg-js/compare/v0.4.3...v0.4.4 )
---
updated-dependencies:
- dependency-name: jpeg-js
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 09:57:25 +09:00
Raymond Zhao
999a225edb
refactor: use stubs for gdk-pixbuf dependency ( #34077 )
...
* refactor: use stubs for gdk-pixbuf dependency
* Adjust build file
* Add includes
* Merge gdk_pixbuf stubs into gtk stubs
* Split pixbuf sigs into own file again
* Add initialization check
* Apply PR feedback
2022-06-19 17:42:30 -07:00
Milan Burda
b3ec0a801a
chore: cleanup undocumented keys from webFrame.getWebPreference() ( #34588 )
2022-06-19 17:40:03 -07:00
Sudowoodo Release Bot
6f8bfdeb7a
Bump v21.0.0-nightly.20220617
2022-06-17 06:02:13 -07:00
Shelley Vohr
20538c4f34
fix: draggable regions updating on bounds change ( #34582 )
2022-06-17 12:01:38 +02:00
Sudowoodo Release Bot
d2e539c7d4
Bump v21.0.0-nightly.20220616
2022-06-16 06:00:48 -07:00
Josh Soref
ea4278754c
chore: fix spelling errors in multiple files ( #34574 )
...
* chore: fix spelling in .circleci
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in BUILD.gn
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in appveyor.yml
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in build
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in docs
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in lib
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in script
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in shell
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in spec
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* chore: fix spelling in spec-main
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2022-06-16 16:46:11 +09:00
Milan Burda
f418a49857
chore: warn when using the deprecated new-window event ( #34528 )
2022-06-15 18:17:42 -07:00
Jeremy Rose
bad8d5e08a
fix: make preload calculation identical between sandbox & non-sandboxed ( #34531 )
2022-06-15 13:22:28 -07:00
Sudowoodo Release Bot
4ec95edf06
Bump v21.0.0-nightly.20220615
2022-06-15 06:01:24 -07:00
Michaela Laurencin
4c7c0b41c2
feat: add immersive dark mode on windows ( #33624 )
...
* feat: add immersive dark mode
* fix syntax and add header
* add me
* Update fuses.json5
* fix: redraw title bar on dark mode change
* chore: SetWindowTheme doesn't seem to be needed
* chore: separate out Win 10 dark mode implementation
* final touches
* final touches
* chore: limit Win 10 to >= 20H1 and drop fuse
* fix types
* fix lint
Co-authored-by: Micha Hanselmann <micha.hanselmann@gmail.com >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2022-06-14 12:27:28 -04:00
isailaandrei
21ef8501e7
feat: add panel support for BrowserWindow ( #34388 )
...
* feat: add NSPanel support for BrowserWindow
* change header guard to satisfy linter
* change panel wording in browser-window
* Revert "change panel wording in browser-window"
This reverts commit 6f3f80f94a .
* change wording in browser-window
* Update shell/browser/ui/cocoa/electron_native_widget_mac.mm
Co-authored-by: Cheng Zhao <github@zcbenz.com >
* Update shell/browser/ui/cocoa/electron_native_widget_mac.h
Co-authored-by: Cheng Zhao <github@zcbenz.com >
* Changed ScopedDisableResize class to allow for nesting
Co-authored-by: andreiisaila <andreiisaila@microsoft.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2022-06-14 12:24:52 -04:00
Shelley Vohr
bed38e0985
fix: crash when setWindowOpenHandler callback throws ( #34523 )
...
* fix: crash when setWindowOpenHandler throws
* refactor: throw as process uncaughtException event
2022-06-14 12:22:23 -04:00
Milan Burda
8de5cdb426
test: add missing page-title-updated event spec for webview ( #34529 )
2022-06-14 12:15:45 -04:00
Sudowoodo Release Bot
9707812d68
Bump v21.0.0-nightly.20220614
2022-06-14 06:02:37 -07:00
Milan Burda
16cd22ff6a
test: use webContents.setWindowOpenHandler() in specs ( #34514 )
...
* test: use webContents.setWindowOpenHandler() in specs
* test: use browser-window-created instead of new-window for visibility spec
2022-06-13 13:07:47 -04:00
Jeremy Rose
954fd72500
fix: make navigator.userAgentData non-empty ( #34481 )
2022-06-13 09:35:42 -07:00
Sudowoodo Release Bot
8157a01a42
Bump v21.0.0-nightly.20220613
2022-06-13 08:39:00 -07:00
Sudowoodo Release Bot
d565243f98
Revert "Bump v21.0.0-nightly.20220613"
...
This reverts commit 77dcf4a5e0 .
2022-06-13 08:37:46 -07:00
Sudowoodo Release Bot
77dcf4a5e0
Bump v21.0.0-nightly.20220613
2022-06-13 06:01:32 -07:00
Milan Burda
2a9b3cc9cd
chore: remove unused proxy-window-open.snapshot.txt ( #34501 )
...
chore: remove unused spec-main/fixtures/snapshots/proxy-window-open.snapshot.txt
2022-06-13 16:01:34 +09:00
Milan Burda
7ca3f55b10
refactor: move duplicate code to RendererClientBase::ShouldLoadPreload helper ( #34477 )
2022-06-13 15:58:27 +09:00
Shelley Vohr
e5543a2dd2
fix: all files selection logic on linux ( #34496 )
2022-06-13 15:57:03 +09:00
John Kleinschmidt
bd81ae08ac
fix: don't require glibc 2.29+ on linux arm64 builds ( #34491 )
...
* build: use sid sysroot for linux arm64
2022-06-10 14:15:52 -04:00
Sudowoodo Release Bot
57b863c213
Bump v21.0.0-nightly.20220610
2022-06-10 06:02:06 -07:00
Michaela Laurencin
52c0a4fafc
docs: add macOS height option info ( #34451 )
2022-06-09 15:17:27 -04:00
Sudowoodo Release Bot
1302ebf50e
Bump v21.0.0-nightly.20220609
2022-06-09 06:01:17 -07:00
Shelley Vohr
37d93b0482
fix: update normal bounds prior to minimizing ( #34473 )
2022-06-09 10:48:50 +02:00
Shelley Vohr
2fd0194e94
build: update clang-format script ( #34286 )
2022-06-08 21:26:41 +02:00
Sudowoodo Release Bot
6d50717eed
Bump v21.0.0-nightly.20220608
2022-06-08 06:00:42 -07:00
David Sanders
289128b96c
chore: use --root instead of --project_root for cpplint ( #34456 )
...
--root has been improved upstream in depot_tools to better handle Windows:
https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3648533
2022-06-08 10:29:39 +02:00
Shelley Vohr
16db5a112e
fix: html fullscreen transitions stacking ( #32905 )
...
* fix: html fullscreen transitions stacking
* spec: move webview test to spec-main
2022-06-07 12:59:50 -04:00
Sudowoodo Release Bot
f44ecb7f03
Bump v21.0.0-nightly.20220607
2022-06-07 07:30:55 -07:00
Sudowoodo Release Bot
8e97f3badf
Revert "Bump v21.0.0-nightly.20220607"
...
This reverts commit a203123473 .
2022-06-07 07:12:33 -07:00
Sudowoodo Release Bot
a203123473
Bump v21.0.0-nightly.20220607
2022-06-07 07:11:11 -07:00
Sudowoodo Release Bot
c750936328
Revert "Bump v21.0.0-nightly.20220607"
...
This reverts commit 5f0f517486 .
2022-06-07 07:09:18 -07:00
Sudowoodo Release Bot
5f0f517486
Bump v21.0.0-nightly.20220607
2022-06-07 06:01:42 -07:00
Shelley Vohr
4ec2de659f
chore: fix nan spec runner on macOS ( #34447 )
2022-06-07 12:09:08 +02:00
David Sanders
30d15715a9
build: switch to --use-color flag for clang-tidy ( #34457 )
...
chore: switch to --use-color flag for clang-tidy
2022-06-07 09:49:52 +02:00
Samuel Maddock
882fa36940
test: fix for flaky renderer crash test ( #34452 )
2022-06-06 17:39:58 -04:00
Sudowoodo Release Bot
e56f626b94
Bump v21.0.0-nightly.20220606
2022-06-06 06:02:02 -07:00
Charles Kerr
92b0f3e808
build: add --unique option to release notes script ( #34296 )
...
Useful when looking for changes unique to a single branch
2022-06-06 14:51:10 +09:00
Will Anderson
4f99e3e46c
docs: fix did-frame-navigate example in webFrameMain docs ( #34419 )
...
docs: fix did-frame-navigate example in webFrameMain docs
2022-06-06 14:49:14 +09:00
electron-roller[bot]
f39c1a35e5
chore: bump node to v16.15.1 (main) ( #34424 )
2022-06-03 16:13:27 +02:00
Sudowoodo Release Bot
05b03b01dc
Bump v21.0.0-nightly.20220603
2022-06-03 06:00:36 -07:00
Shelley Vohr
6038e42c23
fix: fullscreen windows aren't resizable on macOS ( #34379 )
2022-06-03 09:47:19 +02:00
Samuel Maddock
b00c026a54
fix: render process crash handling ( #34428 )
...
* fix: crash when renderer process is reused
Could occur when a renderer crashes and the same-origin URL is loaded again
which leads to reusing the renderer process.
* test: renderer process crash recovery
* fix: handle case which leads to render frame DCHECK
* fix: lint
2022-06-02 17:23:01 -07:00
Shelley Vohr
eb26f99f6e
test: re-enable shared worker webview test ( #34338 )
2022-06-02 17:27:37 -04:00
Sudowoodo Release Bot
d13c879a15
Bump v21.0.0-nightly.20220602
2022-06-02 14:15:14 -07:00
Sudowoodo Release Bot
3ad70d0f0b
Revert "Bump v21.0.0-nightly.20220602"
...
This reverts commit eb9888d1d2 .
2022-06-02 14:12:58 -07:00
Keeley Hammond
0671f229ac
chore: increase timeout for electron-build step ( #34427 )
2022-06-02 14:12:10 -07:00
Shelley Vohr
539a53786c
chore: remove redundant @available checks ( #34407 )
...
* chore: require macOS 10.13 for Chromium
* chore: fix lint
2022-06-02 14:43:40 -04:00
Keeley Hammond
000c3d981c
build: disable 32-bit Windows symbol generation ( #34412 )
2022-06-02 09:01:33 -07:00
Sudowoodo Release Bot
eb9888d1d2
Bump v21.0.0-nightly.20220602
2022-06-02 06:01:23 -07:00
Samuel Attard
1cd07c565a
fix: crash in WebFrameMain mojo connection when RenderFrameHost is nullptr ( #34411 )
...
* fix: crash when RenderFrameHost is nullptr
* chore: lint fix
Co-authored-by: samuelmaddock <samuel.maddock@gmail.com >
2022-06-01 16:03:04 -07:00
Sudowoodo Release Bot
f306fbc010
Revert "Bump v21.0.0-nightly.20220601"
...
This reverts commit 5057cbf418 .
2022-06-01 14:31:30 -07:00
Sudowoodo Release Bot
5057cbf418
Bump v21.0.0-nightly.20220601
2022-06-01 10:32:32 -07:00
Naoki Maeda
561be72373
chore: update husky to v8.0.1 ( #34343 )
...
* chore: update husky v8.0.1
* chore: remove unnecessary .husky/.gitignore
ref : https://github.com/typicode/husky/releases/tag/v7.0.0
* chore: add ^ prefix for husky version
* chore: update yarn.lock
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2022-06-01 13:00:48 -04:00
John Kleinschmidt
a38e5d20ff
ci: cache python install to better deal with download errors. ( #34360 )
...
* ci: cache python install to better deal with download errors.
* chore: use our CDN to download python2
* build: DRY up the python install steps
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-06-01 12:59:26 -04:00
Sudowoodo Release Bot
cda8f3c15c
Revert "Bump v21.0.0-nightly.20220601"
...
This reverts commit df91dd6d2b .
2022-06-01 08:28:12 -07:00
Sudowoodo Release Bot
df91dd6d2b
Bump v21.0.0-nightly.20220601
2022-06-01 06:02:01 -07:00
electron-roller[bot]
470396d6ac
chore: bump chromium to 104.0.5073.0 (main) ( #34272 )
2022-06-01 08:12:47 +02:00
Sudowoodo Release Bot
3849d19e14
Bump v21.0.0-nightly.20220531
2022-05-31 06:01:31 -07:00
Shelley Vohr
2cb53c5db1
fix: zombie windows when fullscreening and closing ( #34378 )
2022-05-31 10:43:42 +02:00
Shelley Vohr
93b39b92b5
refactor: printToPDF should be headless ( #33654 )
2022-05-31 08:21:25 +02:00
Sudowoodo Release Bot
0d69067dee
Bump v21.0.0-nightly.20220530
2022-05-30 06:01:33 -07:00
Samuel Attard
fd88908457
fix: hide content protected windows during screen capture with ScreenCaptureKitMac ( #34362 )
...
fix: hide content protected windows during screen capture
2022-05-30 14:13:48 +02:00
Keeley Hammond
34a9268e97
ci: re-enable CalculateNativeWinOcclusion ( #34374 )
2022-05-30 10:28:33 +02:00
Sudowoodo Release Bot
03d9615f99
Bump v21.0.0-nightly.20220527
2022-05-27 06:02:05 -07:00
Sudowoodo Release Bot
2ffa31832e
Bump v21.0.0-nightly.20220526
2022-05-26 06:01:46 -07:00
Shelley Vohr
4accf67d2b
build: trigger mksnapshot/chromedriver releases automatically ( #34346 )
2022-05-25 20:52:41 +02:00
Sudowoodo Release Bot
afca3519fd
Revert "Bump v20.0.0-nightly.20220525"
...
This reverts commit 4b3a7b7762 .
2022-05-25 06:24:48 -07:00
Sudowoodo Release Bot
4b3a7b7762
Bump v20.0.0-nightly.20220525
2022-05-25 06:18:50 -07:00
Sudowoodo Release Bot
a6a2bb65a4
Revert "Bump v20.0.0-nightly.20220525"
...
This reverts commit fd559d8516 .
2022-05-25 06:16:08 -07:00
Sudowoodo Release Bot
fd559d8516
Bump v20.0.0-nightly.20220525
2022-05-25 06:01:00 -07:00
Shelley Vohr
7bc4b919dc
fix: esc not working on Windows during fullscreen ( #34317 )
...
* fix: esc not working on Windows during fullscreen
* chore: fix lint
2022-05-24 21:38:38 -07:00
Samuel Attard
6cb2b9eab7
build: do not checkout chromium for ts docs check ( #34331 )
2022-05-24 14:04:49 -07:00
Sudowoodo Release Bot
b8abf5e38a
Bump v20.0.0-nightly.20220524
2022-05-24 06:00:37 -07:00
Milan Burda
6667de28e3
chore: use webContents.setWindowOpenHandler() in default-app ( #34308 )
2022-05-24 10:23:56 +02:00
Milan Burda
9d3fc9c794
refactor: return options directly in makeBrowserWindowOptions() helper ( #34309 )
2022-05-24 10:23:16 +02:00
John Kleinschmidt
ba573f5583
feat: add support for HIDDevice.forget() ( #34210 )
...
* feat: add support for HIDDevice.forget()
* chore: remove whitespace
* chore: use `SetGetter` to serialize the render_frame_host
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
* fixup chore: use `SetGetter` to serialize the render_frame_host
* fixup after rebase
* fixup for crash on navigator.serial.getPorts()
* fixup for lint
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
2022-05-23 15:13:18 -04:00
Darshan Sen
df9383cb3c
chore: add a TRACE call for crash_reporter::Start() ( #34268 )
...
chore: add a TRACE call for crash_reporter::Start()
Initializing the crashReporter takes around 620 milliseconds on Intel
macOS. I have sent a CL to crashpad to partially fix the performance
issue in
https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3641386 .
It would be beneficial to log the performance impact of this function in
the traces in case this slows down in the future.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-05-23 08:38:03 -07:00
Milan Burda
09a80ea48c
test: use webContents.setWindowOpenHandler() in specs ( #34310 )
2022-05-23 16:39:50 +02:00
John Kleinschmidt
887b5a7dc7
fix: crash on navigator.serial.getPorts() ( #34280 )
...
* fix: crash on navigator.serial.getPorts()
* test: fixup BrowserWindow.setTitlebarOverlay test
2022-05-23 10:33:39 -04:00
Sudowoodo Release Bot
c3fa6005db
Bump v20.0.0-nightly.20220523
2022-05-23 06:02:11 -07:00
FantasqueX
89fab6a549
docs: remove X-Content-Security-Policy header in quick-start.md ( #34307 )
...
reference: Note: It is known that having both Content-Security-Policy
and X-Content-Security-Policy or X-Webkit-CSP causes unexpected
behaviours on certain versions of browsers. Please avoid using deprecated
X-* headers. https://content-security-policy.com/
also:
1ad18486ed
2022-05-23 14:49:38 +02:00
Milan Burda
291eb60916
fix: building node modules with Visual Studio 2017 ( #34217 )
2022-05-23 20:04:08 +09:00
Michaela Laurencin
aa3e852a73
docs: add height option and color transparency info ( #34278 )
2022-05-23 20:01:22 +09:00
Robo
1639ccf98f
fix: service worker registration with custom protocols ( #34290 )
...
Refs https://github.com/electron/electron/issues/32664
2022-05-23 00:42:37 -07:00
Keeley Hammond
38c21b7aca
revert: add first-instance-ack event to the app.requestSingleInstanceLock() flow ( #34297 )
...
fix: revert "feat: add first-instance-ack event to the `app.requestSingleInstanceLock()` flow"
2022-05-22 22:20:54 -07:00
Varun Sharma
ff13fa8f0a
ci: Add GitHub token permissions for workflows ( #34298 )
...
ci: add GitHub token permissions
2022-05-21 17:35:26 -07:00
Sudowoodo Release Bot
ba7dedcc6f
Bump v20.0.0-nightly.20220520
2022-05-20 06:00:58 -07:00
Samuel Maddock
5ff94e7f2b
fix: crash when creating interface for speculative frame ( #33919 )
2022-05-19 11:34:58 -07:00
Sudowoodo Release Bot
17c8ec765b
Bump v20.0.0-nightly.20220519
2022-05-19 06:00:53 -07:00
Shelley Vohr
588005a9d5
fix: DCHECK on webContents.print() ( #34271 )
2022-05-19 10:05:07 +02:00
Shelley Vohr
73e0bf973d
fix: delayed bounds when moving/resizing and preventing default ( #34204 )
2022-05-19 10:03:02 +02:00
Sofia Nguy
455544dfb6
docs: Update release dates for E20 ( #34267 )
2022-05-18 09:39:40 -07:00
Sudowoodo Release Bot
2436152536
Bump v20.0.0-nightly.20220518
2022-05-18 06:00:56 -07:00
electron-roller[bot]
61374019c0
chore: bump chromium to 103.0.5046.0 (main) ( #33906 )
...
* chore: bump chromium in DEPS to 103.0.5020.0
* chore: bump chromium in DEPS to 103.0.5022.0
* chore: bump chromium in DEPS to 103.0.5024.0
* chore: update patches
* 3587410: [Printing] Remove JobEventDetails
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3587410
* chore: bump chromium in DEPS to 103.0.5026.0
* chore: update patches
* 3577218: WebUI: Delete webui_resources.grd and related GN targets.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3577218
* chore: bump chromium in DEPS to 103.0.5028.0
* chore: update patches
* 3579297: Convert UpdatePrintSettings() to use non-deprecated base::Value APIs.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3579297
* 3560622: serial: Add SerialPort.forget() method
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3560622
* 3581708: Restore original display when moving from tab-fullscreen to browser-fullscreen.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3581708
* chore: fix authorization flags lint error
* 3583363: Remove net wrappers around base/strings/escape.h
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3583363
* fixup! 3560622: serial: Add SerialPort.forget() method
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3560622
* 3587589: Reland "Propagate the MIME type from DownloadTargetDeterminer to DownloadItem"
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3587589
* 3584006: Remove IsRenderViewLive from content public
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3584006
* 3596174: [api] Remove APIs for resurrecting finalizers
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/3596174
* 3368244: Hook SnapshotForContentAnalysis renderer API to scan system prints
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3368244
* chore: bump chromium in DEPS to 103.0.5030.0
* chore: update patches
* chore: bump chromium in DEPS to 103.0.5032.0
* chore: bump chromium in DEPS to 103.0.5034.0
* chore: bump chromium in DEPS to 103.0.5036.0
* chore: update patches
* 3586363: Introduce PrintRenderFrame.PrintWithParams() for batch printing to PDF
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3586363
* 3593199: Remove content::PermissionType references and replace them with blink::PermissionType
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3593199
* 3368244: Hook SnapshotForContentAnalysis renderer API to scan system prints
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3368244
* chore: lint
* chore: bump chromium in DEPS to 103.0.5038.0
* chore: update patches
* fixup! 3560622: serial: Add SerialPort.forget() method
* 3606495: mac screen capture: add metric
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3606495
* chore: bump chromium in DEPS to 103.0.5040.0
* chore: update patches
* 3590840: Add IPs to DnsOverHttpsServerConfig
https://chromium-review.googlesource.com/c/chromium/src/+/3590840
* stub functions for ElectronSerialDelegate and SerialChooserController to fix link
* 3566412: [base] Remove base/android dependency on post_task.h and officially remove post_task.h!
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3566412
* 3347944: [content] No longer hand-off whole MainFunctionParams to BrowserMainParts
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3347944
* fixup! 3566412: [base] Remove base/android dependency on post_task.h and off…
e3ea3e1
…icially remove post_task.h!
* chore: update process_singleton patches for content::GetIOThreadTaskRunner({})
Ref: 2015655: [BrowserThread] Migrate co/pub/br and co/br/scheduler to the new API | https://chromium-review.googlesource.com/c/chromium/src/+/2015655
* chore: migrate base::DeleteSoon to content::GetUIThreadTaskRunner({})->DeleteSoon
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3566412
* chore: remove duplicate functions for RevokePortPermissionWebInitiated & GetPortInfo
* chore: migrate Linux/Windows methods off of post_task.h
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3566412
* 64908: Stop building legacy SwiftShader GL in Chromium
https://swiftshader-review.googlesource.com/c/SwiftShader/+/64908
* 3573245: Added Themed versions of RoundedRectBackground and RoundedRectBorder.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3573245
* chore: bump chromium in DEPS to 103.0.5042.0
* chore: update patches
* 3571804: [api] Advance API deprecation for V8 version v10.2
https://chromium-review.googlesource.com/c/v8/v8/+/3571804
* fixup! 3571804: [api] Advance API deprecation for V8 version v10.2
* build: fix run-clang-format extension matching
* lint
* fix windows build
* how is clang-format still not working for me
* chore: update patches
* 3623985: Replace ad-hoc SetPublicFirstPartySets calls with method in ContentBrowserClient.
https://chromium-review.googlesource.com/c/chromium/src/+/3623985
* no need to implement WillProvidePublicFirstPartySets; the default is false
* 3601036: [QT] Introduce ui/views/linux_ui/linux_ui_factory.*
https://chromium-review.googlesource.com/c/chromium/src/+/3601036
* 3583363: Remove net wrappers around base/strings/escape.h
https://chromium-review.googlesource.com/c/chromium/src/+/3583363
* lint
* chore: bump chromium in DEPS to 103.0.5044.0
* fix conflicts
* chore: update patches
* upgrade nan
* pin version of nan in tests
* replace my hacky deprecated override fix with the fix from upstream
* revert runtime dcheck in v8
* pin nan version at root too
* refactor: tell gyp to use c++17 when building with our node
* Revert "refactor: tell gyp to use c++17 when building with our node"
This reverts commit 41a03a5799 .
* Undo the reversion of 41a03a5799 .
This reverts commit 54440abc59 .
* disable sequential/test-cpu-prof-kill for now
* also sequential/test-diagnostic-dir-cpu-prof
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <japthorp@slack-corp.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-05-17 12:48:40 -04:00
mkiki01
04b33b319b
docs: added units to <webview>.print() pageSize option ( #34088 )
2022-05-17 11:59:24 -04:00
Shelley Vohr
97c9451efc
fix: WCO crash on bad titlebarStyle ( #34140 )
...
fix: WCO crash on bad titlebarStyle
2022-05-17 11:50:27 -04:00
Sudowoodo Release Bot
4e3587c7c6
Bump v20.0.0-nightly.20220517
2022-05-17 08:15:20 -07:00
Sudowoodo Release Bot
ccde8994b5
Revert "Bump v20.0.0-nightly.20220517"
...
This reverts commit 125c324a49 .
2022-05-17 08:12:04 -07:00
Sudowoodo Release Bot
125c324a49
Bump v20.0.0-nightly.20220517
2022-05-17 06:03:06 -07:00
Milan Burda
4aba68a59d
docs: add missing explanation for [angle|dawn]_enable_vulkan_validation_layers = false ( #34216 )
2022-05-16 16:18:01 -04:00
Shelley Vohr
7af0b58c98
test: add setTitlebarOverlay spec ( #34221 )
...
spec: add setTitlebarOverlay spec
2022-05-16 12:14:27 -04:00
Sudowoodo Release Bot
cc411946d7
Bump v20.0.0-nightly.20220516
2022-05-16 06:02:41 -07:00
Sudowoodo Release Bot
b06737fdac
Bump v20.0.0-nightly.20220513
2022-05-13 06:01:28 -07:00
Shelley Vohr
8b5613efcb
fix: fetching PDF element from WebLocalFrame ( #34176 )
...
fix: fetching PDF element from WebLocalFrame
2022-05-12 20:20:45 -04:00
Shelley Vohr
a8103691ac
fix: tray icon not highlighting on empty menu ( #34173 )
2022-05-12 16:14:11 +02:00
Sudowoodo Release Bot
142e1f667b
Bump v20.0.0-nightly.20220512
2022-05-12 06:02:20 -07:00
Samuel Maddock
ff5f66395e
chore: upgrade extract-zip for installer ( #34166 )
2022-05-12 10:18:42 +02:00
Samuel Attard
ba3aca8200
test: fix background transparency flake ( #34190 )
2022-05-12 09:41:58 +02:00
Shelley Vohr
d67532ee9f
fix: crash when loading extension with missing manifest ( #34168 )
...
* fix: crash when loading extension missing manifest
* Update electron_paks.gni
Co-authored-by: Robo <hop2deep@gmail.com >
Co-authored-by: Robo <hop2deep@gmail.com >
2022-05-11 13:41:06 -07:00
John Kleinschmidt
4f8a843606
docs: clarify added/removed events on device APIs ( #34177 )
2022-05-11 13:01:56 -07:00
Shelley Vohr
dd6ce91f57
fix: call loadUrl when opening new windows from links ( #34159 )
...
* fix: call loadUrl when opening new windows from links
* spec: add regression test
2022-05-11 11:34:33 -07:00
John Kleinschmidt
6f8a36f404
test: fixup done being called multiple times ( #34175 )
2022-05-11 10:23:24 -07:00
Keeley Hammond
c512993744
build: re-enable 32-bit Windows symbol generation ( #34162 )
2022-05-11 08:27:23 -07:00
FantasqueX
6063d4f8df
docs: fix typo in quick-start.md ( #34149 )
...
According to Jetbrains LanguageTool, "Consider using All the. "
2022-05-11 10:05:59 -04:00
Sudowoodo Release Bot
64dc90824b
Bump v20.0.0-nightly.20220511
2022-05-11 06:01:00 -07:00
Robo
79e1881b2a
chore: rm enable_31_bit_smis_on_64bit_arch_and_ptr_compression.patch ( #34157 )
...
* chore: rm enable_31_bit_smis_on_64bit_arch_and_ptr_compression.patch
* chore: update patch
2022-05-11 01:39:51 -07:00
Sudowoodo Release Bot
a853a6ce9f
Revert "Bump v20.0.0-nightly.20220510"
...
This reverts commit 5633c45c19 .
2022-05-10 18:40:53 -07:00
Sudowoodo Release Bot
5633c45c19
Bump v20.0.0-nightly.20220510
2022-05-10 18:39:00 -07:00
Jeremy Rose
9bcbe70dbe
test: run node specs with py3 ( #34154 )
2022-05-10 14:26:53 -07:00
Milan Burda
e76cf3e2ed
fix: building node modules with Visual Studio 2017 ( #34109 )
2022-05-10 14:26:07 -07:00
Keeley Hammond
627c2987ba
fix: create singleton pipename from user & executable ( #34139 )
...
* fix: create singleton pipename from user & executable
* fix: use process id & main thread id for pipe name
* fix: write rand to file using WIN method
* fix: remove file rand, add user_name to pipe
* chore: style fixes, shorten program_name & user_name
* fix: remove user_name
2022-05-10 13:24:40 -07:00
Sudowoodo Release Bot
7f5346b954
Revert "Bump v20.0.0-nightly.20220510"
...
This reverts commit 4fc42092b8 .
2022-05-10 10:33:23 -07:00
Sudowoodo Release Bot
4fc42092b8
Bump v20.0.0-nightly.20220510
2022-05-10 10:27:54 -07:00
Sudowoodo Release Bot
c8fbabae48
Revert "Bump v20.0.0-nightly.20220510"
...
This reverts commit b94f25c287 .
2022-05-10 09:14:27 -07:00
Sudowoodo Release Bot
b94f25c287
Bump v20.0.0-nightly.20220510
2022-05-10 09:05:20 -07:00
Sudowoodo Release Bot
5572659988
Revert "Bump v20.0.0-nightly.20220510"
...
This reverts commit 030087c1c7 .
2022-05-10 08:37:52 -07:00
Sudowoodo Release Bot
030087c1c7
Bump v20.0.0-nightly.20220510
2022-05-10 06:01:41 -07:00
electron-roller[bot]
5391211824
chore: bump node to v16.15.0 (main) ( #33947 )
...
* chore: bump node in DEPS to v16.15.0
* chore: update patches
* src: allow preventing InitializeInspector in env
https://github.com/nodejs/node/pull/35025
* chore: update node gn filenames
* crypto: change default check(Host|Email) behavior
* Revert "crypto: change default check(Host|Email) behavior"
This reverts commit 1f1eb23702 .
* update node crypto tests to work with boringssl
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-05-09 18:55:49 -04:00
Robo
00368aca37
chore: stub gtk_native_dialog_get_type ( #34141 )
2022-05-09 13:37:50 -07:00
Cheng Zhao
9483e714c4
feat: allow customizing browser data location ( #33554 )
...
* feat: redirect Electron/Chromium cache location
* fix: network services should also use browserData
* test: browserData
* chore: no need to explicitly create dir
* feat: browserData => sessionData
* test: check existings of specific items
* docs: add background on userData and sessionData
Co-authored-by: emmanuel.kimmerlin@thomsonreuters.com <emmanuel.kimmerlin@thomsonreuters.com >
2022-05-09 10:26:57 -04:00
Darshan Sen
03e68e2efe
fix: fix a crash in safeStorage on Linux ( #33913 )
...
On Linux, `isEncryptionAvailable()` was crashing instead of returning a
boolean before the 'ready' event was emitted by the app. The reason of
the crash is that [`CreateKeyStorage()`](https://source.chromium.org/chromium/chromium/src/+/main:components/os_crypt/os_crypt_linux.cc;l=74;drc=35be6215ec8f09e50176f36753c68f26c63d1885;bpv=1;bpt=0 )
expects the config to be set but the function responsible for setting the
config, [`SetConfig()`](https://source.chromium.org/chromium/chromium/src/+/main:components/os_crypt/os_crypt_linux.cc;l=237;drc=35be6215ec8f09e50176f36753c68f26c63d1885;bpv=1;bpt=0 ),
is called only after the app is ready inside [`PostCreateMainMessageLoop()`](https://github.com/electron/electron/blob/main/shell/browser/electron_browser_main_parts.cc#L499 ).
So this changes `IsEncryptionAvailable()` to return `false` when the app
is not ready on Linux and uses that instead of the raw API in other
places like `EncryptString()` and `DecryptString()`.
Fixes: https://github.com/electron/electron/issues/32206
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-05-09 09:38:53 -04:00
Keeley Hammond
6fea35271c
build: change upload-to-s3 vars to upload-to-storage ( #34105 )
...
* build: change upload-to-s3 vars to upload-to-az
* build: change upload-to-az to upload-to-storage
2022-05-09 09:34:17 -04:00
Sudowoodo Release Bot
dd7dfd7ecd
Bump v20.0.0-nightly.20220509
2022-05-09 06:01:36 -07:00
Raymond Zhao
3ba60de51d
docs: add missing ackCallback parameter ( #34126 )
2022-05-06 13:24:14 -07:00
Sudowoodo Release Bot
1bdbb69351
Bump v20.0.0-nightly.20220506
2022-05-06 12:58:25 -07:00
Keeley Hammond
2900bc55aa
build: remove ending slash upload-index-json ( #34125 )
2022-05-06 12:57:18 -07:00
Sudowoodo Release Bot
0d35084ada
Revert "Bump v20.0.0-nightly.20220506"
...
This reverts commit 0f2da5c830 .
2022-05-06 08:14:11 -07:00
Sudowoodo Release Bot
0f2da5c830
Bump v20.0.0-nightly.20220506
2022-05-06 06:01:48 -07:00
Samuel Attard
808efd89ed
build: use azure function to hash assets instead of lambda ( #34117 )
2022-05-06 02:42:34 -07:00
Keeley Hammond
0696320d28
build: remove S3 uploads ( #34104 )
2022-05-05 21:40:34 -07:00
Shelley Vohr
a401360057
refactor: prevent RemoveFromLoginItems() from mounting volumes from login items ( #34068 )
2022-05-05 20:46:36 -04:00
Jeremy Rose
d8a7219d07
chore: stop using v8::Locker everywhere ( #34078 )
2022-05-05 11:50:21 -07:00
Samuel Attard
a2a8e493eb
test: unflake some more tests ( #34084 )
...
* test: unflake webview fullscreen test
* test: unflake net throttle test
* Update spec-main/api-net-spec.ts
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-05-05 11:42:38 -07:00
Shelley Vohr
90eb47f70b
fix: offscreen rendering crash on input select ( #34069 )
2022-05-05 09:53:39 -04:00
Sudowoodo Release Bot
323f7d4c19
Bump v20.0.0-nightly.20220505
2022-05-05 06:01:44 -07:00
Jeremy Rose
706d585eb8
build: fix run-clang-format extension matching ( #34076 )
2022-05-05 10:41:52 +02:00
Raymond Zhao
5b648854d5
fix: requestSingleInstanceLock API sometimes hangs ( #33777 )
2022-05-04 13:30:30 -04:00
Milan Burda
2091343b78
refactor: initialize member variables directly ( #34046 )
2022-05-04 16:30:05 +02:00
Sudowoodo Release Bot
4fad376b0e
Bump v20.0.0-nightly.20220504
2022-05-04 06:04:36 -07:00
Samuel Attard
60f1e5e008
test: unflake some focus tests ( #34061 )
...
* spec: unflake some focus tests
* test: disable flaky webFrame visibiilty spec
2022-05-04 01:29:30 -07:00
Milan Burda
349cd98b0a
test: fix nativeModulesEnabled in spec/webview-spec.js ( #34027 )
2022-05-03 23:56:45 -07:00
Samuel Attard
747dfe5851
build: remove dead circle config bits ( #34034 )
2022-05-03 12:06:25 -07:00
Milan Burda
658407df7a
test: fix require('echo') -> require('@electron-ci/echo') ( #34026 )
2022-05-03 11:49:01 -04:00
Sudowoodo Release Bot
0893733496
Bump v20.0.0-nightly.20220503
2022-05-03 06:02:57 -07:00
Darshan Sen
f887000d50
fix: make BrowserWindow#isFocused() return false when blur() is called on macOS ( #33734 )
...
The isFocused() method on macOS works by checking if the selected
BrowserWindow is a key window. Unfortunately, this didn't work well
with blur() because it wasn't calling any macOS APIs that would change
the key status of the window. Hence, this changes the implementation of
blur() to call orderOut first, which removes the key
status of the window. Then when the orderBack function is called, it
moves the window to the back of its level in the screen list, without
changing the key window.
Fixes: https://github.com/electron/electron/issues/33732
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-05-03 16:39:18 +09:00
Ruben R
7dee5179cb
Handle SIGUSR2 ( #33589 )
...
`start-server-webpack-plugin` uses `SIGUSR2` to signal an HMR update to a server process: https://github.com/ericclemmons/start-server-webpack-plugin/blob/master/src/StartServerPlugin.js#L70
Note that this signal does not actually kill the child process, but merely functions as a message-passing system.
2022-05-03 10:36:06 +09:00
John Kleinschmidt
a71936e395
test: skip flaky test on 32-bit Windows ( #34021 )
2022-05-02 21:08:20 -04:00
Jamie Magee
e1ed96b574
test: scope internal test fixtures under @electron-ci ( #33822 )
...
* test: scope internal test fixtures under `@electron`
* Missed references
* Move packages from @electron to @electron-ci scope
* Fix tests
2022-05-02 13:09:23 -04:00
Kevin Ushey
9901d2f281
fix: support mixed-case extensions in Linux file dialogs ( #33918 )
2022-05-02 11:54:17 -04:00
Keeley Hammond
14f07d7814
fix: move FirstPartySets into the browser process ( #33998 )
...
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3448551
2022-05-02 08:20:30 -07:00
Sudowoodo Release Bot
6f851afab5
Bump v20.0.0-nightly.20220502
2022-05-02 06:01:26 -07:00
Milan Burda
682d2e3f78
build: allow script/spec-runner.js with empty list of runners ( #33982 )
2022-05-02 14:49:13 +09:00
Milan Burda
b55f9d868a
spec: allow connections to port 2049 ( #33983 )
2022-04-30 04:29:05 -07:00
Sudowoodo Release Bot
ce562b6889
Bump v20.0.0-nightly.20220429
2022-04-29 06:01:34 -07:00
Keeley Hammond
015185ad5a
fix: fix FirstPartySetsHandler initialization ( #33971 )
2022-04-28 22:17:19 -07:00
Shelley Vohr
fb534c927a
refactor: better solution for resizable frameless DCHECK ( #33790 )
...
* refactor: better solution for resizable frameless DCHECK
* fix: also implement TargetForRectin WinFrameView
2022-04-28 20:34:12 -04:00
Jacek Oleksy
192a7fad0d
fix: disable MallocNanoZone on mac ( #33704 )
2022-04-28 10:28:27 -04:00
Sudowoodo Release Bot
097da1d4ba
Bump v20.0.0-nightly.20220428
2022-04-28 06:01:07 -07:00
Samuel Attard
b3530d5df8
build: use smaller resource_class because goma ( #33905 )
2022-04-28 03:17:05 -07:00
Darshan Sen
b5297ea8e2
docs: fix return type of setJumpList() in electron.d.ts ( #33910 )
...
Before:
```ts
setJumpList(categories: (JumpListCategory[]) | (null)): void;
```
After:
```ts
setJumpList(categories: (JumpListCategory[]) | (null)): ('ok' | 'error' | 'invalidSeparatorError' | 'fileTypeRegistrationError' | 'customCategoryAccessDeniedError');
```
Fixes: https://github.com/electron/electron/issues/33909
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-04-28 03:15:23 -07:00
Baoshuo Ren
15c931201a
chore: remove git.io ( #33933 )
...
* chore: remove git.io
All links on git.io will stop redirecting after April 29, 2022.
- https://github.blog/changelog/2022-04-25-git-io-deprecation/
* fix: lint
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-04-27 15:56:01 -04:00
Samuel Attard
f91b24deb5
build: ensure sync-done file exists during git cache save ( #33949 )
2022-04-27 15:54:52 -04:00
Samuel Attard
d2c3e78117
build: actually verify az urls too ( #33929 )
2022-04-27 10:37:26 -07:00
Sudowoodo Release Bot
a00544c745
Bump v20.0.0-nightly.20220427
2022-04-27 06:00:58 -07:00
Samuel Attard
160d6923db
build: improve CI speeds and reduce CI costs ( #33904 )
...
* rely on src cache instead of workspace
* run some tasks in the background and "thread join" later
* merge some ninja build commands to reduce overhead
2022-04-26 23:14:59 -07:00
Samuel Attard
6d5501d0bd
build: use dev-cdn instead of sysroots s3 bucket ( #33922 )
2022-04-26 15:21:59 -07:00
Sudowoodo Release Bot
bfabd67112
Bump v20.0.0-nightly.20220426
2022-04-26 06:01:17 -07:00
Sudowoodo Release Bot
40c022ad69
Bump v20.0.0-nightly.20220425
2022-04-25 14:01:18 -07:00
John Kleinschmidt
028a72daac
build: fix macos release GN gen ( #33915 )
2022-04-25 14:00:32 -07:00
John Kleinschmidt
6a1748da06
ci: update release script to handle new CircleCI configs ( #33914 )
2022-04-25 11:14:16 -04:00
Sudowoodo Release Bot
0a73f60423
Revert "Bump v20.0.0-nightly.20220425"
...
This reverts commit f48a921d14 .
2022-04-25 06:47:42 -07:00
Sudowoodo Release Bot
f48a921d14
Bump v20.0.0-nightly.20220425
2022-04-25 06:02:58 -07:00
electron-roller[bot]
f3e0517b6e
chore: bump chromium to 102.0.4999.0 (main) ( #33731 )
...
* chore: bump chromium in DEPS to 102.0.4999.0
* 3576640: Set OOM handler during V8 initialization
https://chromium-review.googlesource.com/c/chromium/src/+/3576640
* 3574964: Remove deprecated base::Value usage in print_settings_conversion code.
https://chromium-review.googlesource.com/c/chromium/src/+/3574964
* 3570062: Replicate Active state to render process for all RenderViews.
https://chromium-review.googlesource.com/c/chromium/src/+/3570062
* chore: fixup patch indices
* 3380402: Remove legacy SwiftShader
https://chromium-review.googlesource.com/c/chromium/src/+/3380402
* 3570254: [Local Fonts] Rename permission name from FONT_ACCESS to LOCAL_FONTS.
https://chromium-review.googlesource.com/c/chromium/src/+/3570254
* 3572172: Rename or remove several parameters involved in creation of MimeHandler streams
https://chromium-review.googlesource.com/c/chromium/src/+/3572172
* fix: add missing base/bits include
* chore: fix lint
* chore: remove ia32 Linux support
* chore: patch out swift-format cipd dep on macOS
* build: apply patch better
* build: reset all caches
* build: update zip manifests to remove swiftshared libraries
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3380402
* Revert "build: update zip manifests to remove swiftshared libraries"
This reverts commit 6aeec01ef1a79425a7b7d8c1cfb131a26b91c494.
* Revert "3380402: Remove legacy SwiftShader"
This reverts commit 4c7eebbbf2d0a459cc192959e17ae20f970c2da2.
* build: remove unused swiftshader egl libraries
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <sattard@salesforce.com >
2022-04-22 15:36:22 -07:00
Sudowoodo Release Bot
53c3dd68b2
Revert "Bump v20.0.0-nightly.20220422"
...
This reverts commit 283e4826af .
2022-04-22 11:45:02 -07:00
Sudowoodo Release Bot
283e4826af
Bump v20.0.0-nightly.20220422
2022-04-22 11:40:22 -07:00
Sudowoodo Release Bot
e571417c52
Revert "Bump v20.0.0-nightly.20220422"
...
This reverts commit a5501d7118 .
2022-04-22 09:22:41 -07:00
Sudowoodo Release Bot
a5501d7118
Bump v20.0.0-nightly.20220422
2022-04-22 09:18:12 -07:00
Sudowoodo Release Bot
0c8c755ffb
Revert "Bump v20.0.0-nightly.20220422"
...
This reverts commit bb146e3deb .
2022-04-22 09:17:29 -07:00
Sudowoodo Release Bot
bb146e3deb
Bump v20.0.0-nightly.20220422
2022-04-22 06:01:30 -07:00
Samuel Attard
33e9bfd99b
build: improve circleci config ( #33881 )
...
* build: fix conditional restore of git cache
* build: split lint out of setup.yml
2022-04-21 14:34:25 -07:00
Sudowoodo Release Bot
e864bc44c6
Bump v20.0.0-nightly.20220421
2022-04-21 06:05:18 -07:00
Milan Burda
64517b36ef
build: fix intermittent compilation failures on macOS ( #33768 )
...
* build: fix intermittent compilation failures on macOS
* chore: remove //base dependency from main executable
* chore: fix lint
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2022-04-21 17:25:51 +09:00
Robo
00021a41b1
chore: backport 7c9b3938d from libuv ( #33815 )
...
Backports https://github.com/libuv/libuv/pull/3597
2022-04-21 10:38:47 +09:00
Robo
b53118ca28
fix: adopt partition alloc early initialization ( #33832 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3298858
2022-04-20 13:52:15 -07:00
Jeremy Rose
0c864837af
chore: use semantic-commit-action ( #33857 )
...
* chore: use semantic-commit-action
* Update semantic.yml
2022-04-20 16:49:59 -04:00
Sudowoodo Release Bot
fec147a0cb
Bump v20.0.0-nightly.20220420
2022-04-20 06:01:22 -07:00
Samuel Attard
841e0a4e0c
fix: include accessibility blink strings ( #33840 )
2022-04-19 20:00:51 -07:00
Sudowoodo Release Bot
31c2b5703a
Bump v20.0.0-nightly.20220419
2022-04-19 06:00:47 -07:00
Darshan Sen
6733279037
docs: document when BrowserWindow and BrowserView can be used ( #33696 )
...
We already document such info for other APIs, like the 'screen' API in
f711fe6b57/docs/api/screen.md (L7-L8) .
So we should do the same thing for these ones too.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-04-18 10:11:44 -04:00
Samuel Attard
2d0ad04354
docs: update security guide regarding ctx isolation ( #33807 )
2022-04-18 10:09:54 -04:00
Sudowoodo Release Bot
5ae234d5e1
Bump v20.0.0-nightly.20220418
2022-04-18 06:38:13 -07:00
Robo
0f087127de
chore: fix patch conflicts from 37b7e347 ( #33818 )
...
* chore: update patches
* chore: address review feedback
2022-04-18 09:36:17 -04:00
Sudowoodo Release Bot
b9c0166b49
Revert "Bump v20.0.0-nightly.20220418"
...
This reverts commit fd191fc50b .
2022-04-18 06:35:44 -07:00
Sudowoodo Release Bot
fd191fc50b
Bump v20.0.0-nightly.20220418
2022-04-18 06:01:41 -07:00
Robo
37b7e347fc
fix: potential crash caused by dlopen different gtk libraries ( #33650 )
2022-04-18 13:24:32 +09:00
Sudowoodo Release Bot
9d4aceb940
Bump v20.0.0-nightly.20220415
2022-04-15 09:32:01 -07:00
Sudowoodo Release Bot
eee4232069
Bump v20.0.0-nightly.20220414
2022-04-14 20:08:45 -07:00
Sudowoodo Release Bot
635b3a94c8
Revert "Bump v20.0.0-nightly.20220414"
...
This reverts commit 99791f620b .
2022-04-14 20:08:02 -07:00
Sudowoodo Release Bot
99791f620b
Bump v20.0.0-nightly.20220414
2022-04-14 18:08:45 -07:00
Keeley Hammond
8b0af86097
ci: build python2 from source ( #33793 )
...
* ci: add python2 to publish jobs
* chore: install python2 via circle
2022-04-14 18:07:51 -07:00
Sudowoodo Release Bot
f5e874cbcb
Revert "Bump v20.0.0-nightly.20220414"
...
This reverts commit dda8bc3cd1 .
2022-04-14 07:03:05 -07:00
Sudowoodo Release Bot
dda8bc3cd1
Bump v20.0.0-nightly.20220414
2022-04-14 06:13:26 -07:00
Shelley Vohr
233a39dbc9
fix: event propagation after exiting fullscreen on Windows ( #33757 )
2022-04-14 12:35:36 +02:00
Keeley Hammond
7658edfa1a
ci: manually install python@2 ( #33785 )
2022-04-14 09:53:05 +02:00
Robo
16f8d713ab
fix: apply senderFrame details to ipcMain port event ( #33756 )
2022-04-13 21:01:00 -07:00
Keeley Hammond
3d4d39d67b
chore: interpret bytes to string ( #33766 )
2022-04-13 14:51:00 -07:00
Shelley Vohr
b66667b843
feat: allow null when subscribing notification ( #33641 )
...
* feat: allow null when subscribing notification
* docs: document null event
2022-04-13 22:02:33 +02:00
Shelley Vohr
bfbba9dad6
chore: add missing GN dep ( #33758 )
2022-04-13 10:55:57 -07:00
Shelley Vohr
341b7bdf4a
fix: #ARGB to #RGBA conversion ( #33707 )
...
* fix: argb to rgba conversion
* chore: remove logging import
* refactor: color_str -> converted_color_str
2022-04-13 10:46:05 +02:00
Sudowoodo Release Bot
4c4e02318f
Revert "Bump v20.0.0-nightly.20220412"
...
This reverts commit de2f48b40f .
2022-04-12 23:49:32 -07:00
Sudowoodo Release Bot
de2f48b40f
Bump v20.0.0-nightly.20220412
2022-04-12 21:26:21 -07:00
Sudowoodo Release Bot
a9c52926c0
Revert "Bump v20.0.0-nightly.20220412"
...
This reverts commit 7038d2d418 .
2022-04-12 21:25:04 -07:00
Jeremy Rose
bfa5b21044
docs: note reason for is_cfi = false ( #33749 )
2022-04-12 21:00:03 -07:00
Samuel Attard
d804cd5de2
build: add comment for enable_cet_shadow_stack ( #33747 )
2022-04-12 16:23:07 -07:00
Sudowoodo Release Bot
7038d2d418
Bump v20.0.0-nightly.20220412
2022-04-12 16:14:58 -07:00
Sudowoodo Release Bot
b8c0ef9713
Revert "Bump v20.0.0-nightly.20220412"
...
This reverts commit c5b93eaf17 .
2022-04-12 16:13:49 -07:00
Sudowoodo Release Bot
c5b93eaf17
Bump v20.0.0-nightly.20220412
2022-04-12 14:10:26 -07:00
Keeley Hammond
2ca46058cd
build: migrate urllib to python3 ( #33737 )
2022-04-12 14:07:40 -07:00
Shelley Vohr
3057ff0120
docs: note safeStorage.isEncryptionAvailable() needs ready event ( #33724 )
2022-04-12 12:47:15 -07:00
Sudowoodo Release Bot
48edb2c707
Revert "Bump v20.0.0-nightly.20220412"
...
This reverts commit 56ab3d73c6 .
2022-04-12 12:06:19 -07:00
Sudowoodo Release Bot
56ab3d73c6
Bump v20.0.0-nightly.20220412
2022-04-12 08:05:06 -07:00
Sudowoodo Release Bot
0287c3f511
Revert "Bump v20.0.0-nightly.20220412"
...
This reverts commit 1c53fc4331 .
2022-04-12 07:52:41 -07:00
Sudowoodo Release Bot
1c53fc4331
Bump v20.0.0-nightly.20220412
2022-04-12 06:00:49 -07:00
Jeremy Rose
c0d442364a
build: explicitly run scripts with python3 ( #33720 )
...
* build: explicitly run scripts with python3
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-04-12 13:21:55 +02:00
electron-roller[bot]
59dd17f2cf
chore: bump chromium to 102.0.4989.0 (main) ( #33557 )
...
* chore: bump chromium in DEPS to 102.0.4975.0
* chore: bump chromium in DEPS to 102.0.4977.0
* chore: update patches
* Remove parameter of OnGpuProcessCrashed()
https://chromium-review.googlesource.com/c/chromium/src/+/3543396
* hid: Add exclusionFilters option to requestDevice
https://chromium-review.googlesource.com/c/chromium/src/+/3478175
* chore: bump chromium in DEPS to 102.0.4979.0
* chore: bump chromium in DEPS to 102.0.4981.0
* chore: update patches
* Deny notification/push permission for documents in non-standard StoragePartitions
https://chromium-review.googlesource.com/c/chromium/src/+/3257305
* Improve FrameTreeNode tracking in URLLoaderNetworkContext
https://chromium-review.googlesource.com/c/chromium/src/+/3341866
* fixup! Remove parameter of OnGpuProcessCrashed()
* chore: fix lint
* Reland "Use gfx::Insets[F]::TLBR() and gfx::Insets[F]::VH() in the rest of Chrome"
https://chromium-review.googlesource.com/c/chromium/src/+/3554236
* chore: bump chromium in DEPS to 102.0.4983.0
* Ensure EyeDropperView does not access a destroyed window
https://chromium-review.googlesource.com/c/chromium/src/+/3561542
* ci: don't delete dawn .git directory
83901: Adds a generated file with the dawn git hash encoded at build time. | https://dawn-review.googlesource.com/c/dawn/+/83901
* ci: update Windows toolchain
3550827: New toolchain for Windows 10 20348 SDK | https://chromium-review.googlesource.com/c/chromium/src/+/3550827
* chore: bump chromium in DEPS to 102.0.4985.0
* chore: update patches
* chore: bump chromium in DEPS to 102.0.4987.0
* chore: update patches
* 3563432: codehealth: remove uses of DictionaryValue in cbui/webui
https://chromium-review.googlesource.com/c/chromium/src/+/3563432
* chore: update patches after rebase
* Use gfx::Insets[F]::TLBR() and gfx::Insets[F]::VH() in the rest of Chrome
https://chromium-review.googlesource.com/c/chromium/src/+/3554236
* 3565724: Preserve "proper method names" as-is in error.stack.
https://chromium-review.googlesource.com/c/v8/v8/+/3565724
* chore: bump chromium in DEPS to 102.0.4989.0
* chore: update patches
* fixup ci: don't delete dawn .git directory for Windows
* 3560843: Remove multi-parameter version of gfx::Rect[F]::Inset()
https://chromium-review.googlesource.com/c/chromium/src/+/3560843
* 3572711: Remove unused IDS_PDF_TOOLTIP_ROTATE_CW resource.
https://chromium-review.googlesource.com/c/chromium/src/+/3572711
* 3572926: Reland "[Sysroot] Switch to Debian Bullseye stable"
https://chromium-review.googlesource.com/c/chromium/src/+/3572926
* build: fixup sysroots with electron specific dependencies
* fixup Remove multi-parameter version of gfx::Rect[F]::Inset()
* fixup 3565724: Preserve "proper method names" as-is in error.stack.
* fixup Remove multi-parameter version of gfx::Rect[F]::Inset()
* test: add spec for navigator.hid.requestDevice({ exclusionFilters: [...] }
* fixup 3565724: Preserve "proper method names" as-is in error.stack.
* ci: use python3 to get the windows toolchain profile
3525960: Explicitly run everything with python3 | https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3525960
* chore: add diagnostic logging
* fix: try calling process.crash()
* chore: remove logging
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-04-12 13:19:14 +02:00
Shelley Vohr
e8ed9cb4b5
test: re-enable disabled ScriptOrModule specs ( #33702 )
2022-04-12 12:00:42 +02:00
Jeremy Rose
c9fd255093
build: use python3 to lint ( #33627 )
2022-04-11 16:05:21 -07:00
Shelley Vohr
caddc83cfe
feat: implement chrome.tabs.reload ( #33560 )
2022-04-11 22:51:10 +02:00
Sudowoodo Release Bot
a7a5e7fcfd
Bump v20.0.0-nightly.20220411
2022-04-11 11:23:37 -07:00
Sudowoodo Release Bot
207d4e5823
Revert "Bump v20.0.0-nightly.20220411"
...
This reverts commit 8e2310db31 .
2022-04-11 11:22:06 -07:00
Sudowoodo Release Bot
8e2310db31
Bump v20.0.0-nightly.20220411
2022-04-11 11:08:17 -07:00
Sudowoodo Release Bot
6872306117
Revert "Bump v20.0.0-nightly.20220411"
...
This reverts commit 9d6e6c45c1 .
2022-04-11 11:03:28 -07:00
Keeley Hammond
41c1a7e318
chore: modify uploaded assets for win-ia32 ( #33699 )
...
* chore: filter correct symbol files
* chore: upload correct assets
2022-04-11 11:02:01 -07:00
Sudowoodo Release Bot
9d6e6c45c1
Bump v20.0.0-nightly.20220411
2022-04-11 06:01:10 -07:00
Sudowoodo Release Bot
f711fe6b57
Bump v20.0.0-nightly.20220408
2022-04-08 06:04:36 -07:00
John Kleinschmidt
94c2a7671c
build: temporarily disable 32-bit Windows symbol generation ( #33653 )
...
* build: temporarily disable 32-bit Windows symbol generation
* fix: modify upload.py
* chore: fix comment
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
2022-04-08 04:17:51 -07:00
Milan Burda
4d4682c0e3
fix: report more detailed errors in shell.openExternal() on Windows ( #33620 )
2022-04-07 11:07:39 -07:00
Sudowoodo Release Bot
7fb1c8faad
Revert "Bump v20.0.0-nightly.20220407"
...
This reverts commit ba8e7b9638 .
2022-04-07 08:59:17 -07:00
Sudowoodo Release Bot
ba8e7b9638
Bump v20.0.0-nightly.20220407
2022-04-07 06:02:15 -07:00
Cheng Zhao
75ccec7996
docs: recommend setting e.returnValue ( #33628 )
2022-04-07 09:39:51 +02:00
Inclusive Coding Bot
68d6d8d451
chore: switch to gender neutral terms ( #33532 )
...
* Switch to gender neutral terms
* Update docs/api/web-contents.md
Co-authored-by: Milan Burda <milan.burda@gmail.com >
* Update docs/api/webview-tag.md
Co-authored-by: Milan Burda <milan.burda@gmail.com >
* Update script/release/uploaders/upload.py
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
* Update docs/tutorial/in-app-purchases.md
Co-authored-by: Milan Burda <milan.burda@gmail.com >
Co-authored-by: inclusive-coding-bot <inclusive-coding-bot@github.com >
Co-authored-by: Milan Burda <milan.burda@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2022-04-06 17:19:32 -04:00
Jeremy Rose
0168aede8e
chore: use //chrome resources directly ( #33626 )
2022-04-06 09:34:35 -07:00
Sudowoodo Release Bot
a05d9be44f
Bump v20.0.0-nightly.20220406
2022-04-06 06:01:36 -07:00
Shelley Vohr
f95e565884
chore: combine some smaller MAS patches ( #33595 )
...
* chore: combine some smaller MAS patches
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-04-06 13:40:52 +02:00
David Sanders
4615fc53ca
chore: fix typo in NotifyWindowRequestPreferredWidth method name ( #33568 )
2022-04-05 11:25:07 -05:00
Sudowoodo Release Bot
927ab3104d
Revert "Bump v20.0.0-nightly.20220404"
...
This reverts commit df34d20a21 .
2022-04-05 09:17:12 -07:00
Shelley Vohr
cc3743bd43
fix: remove usage of private pid API on MAS ( #33594 )
2022-04-05 09:09:12 -07:00
Samuel Attard
fcbdaab5e3
fix: add missing translation string for ax tree ( #33614 )
2022-04-04 20:22:36 -07:00
Samuel Attard
a72acfc535
fix: revert "fix: some frameless windows showing a frame on Windows ( #32692 )" ( #33599 )
...
This reverts commit 7c701367c0 .
2022-04-04 17:01:12 -07:00
Samuel Attard
477aa389e6
build: disable RDP
2022-04-04 16:25:32 -07:00
Samuel Attard
1ada5d7ddf
Revert "Revert "build: enable RDP for release builds""
...
This reverts commit dce6c23b33 .
2022-04-04 16:25:19 -07:00
Samuel Attard
dce6c23b33
Revert "build: enable RDP for release builds"
...
This reverts commit d309558f64 .
2022-04-04 16:25:10 -07:00
Sudowoodo Release Bot
df34d20a21
Bump v20.0.0-nightly.20220404
2022-04-04 15:50:33 -07:00
Samuel Attard
d309558f64
build: enable RDP for release builds
2022-04-04 15:49:43 -07:00
Sudowoodo Release Bot
128560c4ac
Revert "Bump v20.0.0-nightly.20220404"
...
This reverts commit bff1a37791 .
2022-04-04 15:49:20 -07:00
Sudowoodo Release Bot
bff1a37791
Bump v20.0.0-nightly.20220404
2022-04-04 15:46:28 -07:00
Samuel Attard
fcd7dbfa5c
build: enable RDP for release builds
2022-04-04 15:45:11 -07:00
Sudowoodo Release Bot
58386fbf43
Revert "Bump v20.0.0-nightly.20220404"
...
This reverts commit 5985e6fd76a552b9647eb81c0fbaf9f609b11935.
2022-04-04 15:44:53 -07:00
Sudowoodo Release Bot
09251fe24c
Bump v20.0.0-nightly.20220404
2022-04-04 15:44:53 -07:00
Samuel Attard
18db9c551d
Revert "build: enable RDP for release builds"
...
This reverts commit c2449c421c .
2022-04-04 15:43:57 -07:00
Samuel Attard
c2449c421c
build: enable RDP for release builds
2022-04-04 15:43:36 -07:00
Sudowoodo Release Bot
e28bde9947
Revert "Bump v20.0.0-nightly.20220404"
...
This reverts commit f287b0b382 .
2022-04-04 07:31:00 -07:00
Sudowoodo Release Bot
f287b0b382
Bump v20.0.0-nightly.20220404
2022-04-04 06:03:57 -07:00
Samuel Attard
204b53e7b8
build: upload to AZ as well as S3 ( #33573 )
...
* build: upload to AZ aswell as S3
* fix: provide env to azput
2022-04-04 02:32:57 -07:00
David Sanders
0ac6d74536
docs: mark platform-specific functionality for BrowserWindow ( #33512 )
2022-04-04 18:00:45 +09:00
Micha Hanselmann
78a3752ade
fix: create userData on requestSingleInstanceLock() if needed ( #33559 )
...
* test: use custom userData folder for requestSingleInstanceLock()
* update test
* prefix test folder path
* fix: create userDataDir on requestSingleInstanceLock() if needed
* Trigger Build
2022-04-04 10:39:55 +09:00
Sudowoodo Release Bot
9207c2aa68
Revert "Bump v20.0.0-nightly.20220401"
...
This reverts commit 1864edd287 .
2022-04-01 09:52:10 -07:00
Sudowoodo Release Bot
1864edd287
Bump v20.0.0-nightly.20220401
2022-04-01 06:02:12 -07:00
Sudowoodo Release Bot
9722ca78b2
Revert "Bump v20.0.0-nightly.20220331"
...
This reverts commit 7612df7687 .
2022-03-31 12:14:36 -07:00
Sudowoodo Release Bot
7612df7687
Bump v20.0.0-nightly.20220331
2022-03-31 06:01:00 -07:00
Cheng Zhao
cbd06cd25e
docs: remove "cache" from app.getPath ( #33509 )
2022-03-31 09:33:38 +09:00
Shelley Vohr
8c8642634d
fix: don't unmaximize on macOS if user set max bounds ( #33480 )
2022-03-31 00:29:02 +02:00
Robo
afe0116d59
fix: build when pdf component is disabled ( #33513 )
2022-03-30 11:55:38 -07:00
electron-roller[bot]
b711860d21
chore: bump chromium to 102.0.4971.0 (main) ( #33454 )
...
* chore: bump chromium in DEPS to 102.0.4965.0
* chore: 3-way merge of chromium/printing.patch
* chore: update patch shear in chromium/picture-in-picture.patch
* chore: update patches
* 3101519: Window Placement: Prototype fullscreen companion window support
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3101519
build: add popup_preventer.cc, .h to our library. It's needed because
FullscreenController, we were already using, started aggregating a
PopupPreventer in 3101519.
* chore: bump chromium in DEPS to 102.0.4967.0
* Revert "3101519: Window Placement: Prototype fullscreen companion window support"
This reverts commit fc215cb99c464e939882ed3f5cf8e9874a8e3311.
Adding popup_preventer might not be the right solution; there are
cascading dependencies.
* 3551449: Add service-based usage for system print settings
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3551449
chore: fix code shear in patches/chromium/printing.patch
* chore: update patches
* chore: bump chromium in DEPS to 102.0.4969.0
* chore: update patches
* chore: bump chromium in DEPS to 102.0.4971.0
* chore: update fix_patch_out_permissions_checks_in_exclusive_access.patch
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3101519
PopupunderPreventer is not useful in //electron since the window
attributes are controlled by the user via setWindowOpenHandler.
* chore: update patches
* Add FirstPartySetsHandler as a interface class in content API.
https://chromium-review.googlesource.com/c/chromium/src/+/3503410
* Create a new MediaStreamRequestType for GetOpenDevice
https://chromium-review.googlesource.com/c/chromium/src/+/3541939
* Support site isolation for <webview> tags in WebViewRendererState.
https://chromium-review.googlesource.com/c/chromium/src/+/3537735
* ci: update xcode version
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3544199
https://developer.apple.com/documentation/screencapturekit/capturing_screen_content_in_macos
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2022-03-30 14:08:58 -04:00
Cheng Zhao
929fc8bea5
test: make test apps' name prefixed with electron-test- ( #33511 )
2022-03-30 13:17:34 -04:00
John Kleinschmidt
a508dce1bf
ci: save Windows artifacts at end of job in case they fail ( #33510 )
2022-03-30 09:50:26 -04:00
Sudowoodo Release Bot
f13f07023f
Bump v20.0.0-nightly.20220330
2022-03-30 06:01:28 -07:00
Shelley Vohr
aac546368f
test: re-enable test-child-process-stdio-overlapped ( #33502 )
2022-03-30 12:51:13 +02:00
Cheng Zhao
c119b1ebef
chore: remove redundant code in node integration ( #33500 )
2022-03-29 20:09:42 -07:00
Samuel Attard
df3cfb663c
refactor: use posix_spawn instead of NSTask so we can disclaim the spawned ShipIt executable ( #33468 )
2022-03-29 19:50:59 -07:00
Mitchell Cohen
a9296229c8
feat: add app.isHidden API for macOS ( #32155 )
...
* feat: add app.isHidden API
* Update docs/api/app.md
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
* fixed isHidden tests
* Update docs/api/app.md
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
* Update spec-main/api-app-spec.ts
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2022-03-29 21:34:07 -04:00
David Sanders
9c3b159b95
fix: on macOS show BrowserWindow on maximize if not currently shown ( #32949 )
2022-03-29 19:08:34 -04:00
Keeley Hammond
89c1abd1b3
chore: bump NMV for Electron 20 ( #33476 )
2022-03-29 16:07:55 -07:00
dependabot[bot]
10f67e64f9
build(deps): bump ansi-regex from 3.0.0 to 3.0.1 in /spec ( #33484 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 18:47:46 -04:00
Shelley Vohr
0615fadead
chore: set v8_typed_array_max_size_in_heap to default ( #33496 )
2022-03-29 15:34:44 -07:00
Samuel Attard
479f652f90
feat: add new Squirrel.Mac bundle installation method behind flag ( #33470 )
2022-03-29 14:47:34 -07:00
Samuel Attard
4c988a5a24
docs: fix type of 'value' param in setUserDefaults ( #33481 )
2022-03-29 14:47:06 -07:00
dependabot[bot]
94498b923e
build(deps): bump minimist from 1.2.5 to 1.2.6 in /spec-main ( #33431 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 12:25:40 -04:00
Shelley Vohr
d1ea62c3e8
fix: getting focused window with destroyed webContents ( #33404 )
...
* fix: getting focused window with destroyed webContents
* fix: add extra safeguards
2022-03-29 12:22:58 -04:00
Shelley Vohr
8ea0631b82
test: re-enable desktop specs ( #33497 )
2022-03-29 11:57:21 -04:00
Shelley Vohr
f0c22a770d
chore: fix moveAbove desktopCapturer spec ( #33471 )
2022-03-29 16:05:08 +02:00
dependabot[bot]
bf3d0e2257
build(deps-dev): bump minimist from 1.2.5 to 1.2.6 ( #33432 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 15:39:38 +02:00
Sudowoodo Release Bot
9a2b35163e
Bump v19.0.0-nightly.20220329
2022-03-29 06:01:08 -07:00
Cheng Zhao
4e66b072da
chore: update libuv patch for event loop integration ( #31647 )
...
* chore: update libuv patch for loop integration
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-03-29 19:03:07 +09:00
Joseph
6b66fea67d
docs: update heading level of webFrame.insertCSS ( #33467 )
2022-03-29 16:02:30 +09:00
John Kleinschmidt
37a94d9857
ci: fixup esbuild on macos ( #33486 )
...
* ci: fixup esbuild on macos
* ci: call update_depot_tools right after clone
* when all else fails, use sed
2022-03-28 20:57:11 -07:00
Gellert Hegyi
4aeeb64d30
fix: crash when WindowButtonsProxy references cleared NSWindow ( #33069 )
...
* resets WindowButtonsProxy on window delete on macOS
* fixes reset
2022-03-28 23:02:44 -04:00
Calvin
594dc7e24a
chore: update node types version ( #33452 )
...
* chore: update node types version
* update express types to solve type conflict
* one more yarn.lock type bump
* update another types package to fix incompatible global declarations
* remove incompatible type magicks
* update our ambient types to match the node types
* fix test type
2022-03-28 14:37:35 -07:00
Charles Kerr
1c5bbba5cf
docs: simplify skipTaskbar breaking changes text ( #33479 )
2022-03-28 15:06:11 -05:00
Baitinq
c4e3a1aad3
docs: Use Node's URL parser in the 5th security recommendation ( #33463 )
...
Rule 13 recommends using Node's URL parser for handling url inputs. At
the moment, this is not being followed in the code example for rule 5,
which falls back on checking that the url ends with a '/'. If this was
forgotten when a user copies this code it could introduce security
vulnerabilities if an attacker uses an URL in the following way:
"https://example.com.attacker.com "
Using Node's URL parser fixes this potential missuse and enables the
'/' to be omited from the code example.
Co-authored-by: Baitinq <you@example.com >
2022-03-28 14:25:44 -04:00
Samuel Attard
3c30b59c3e
build: store last ninja log in artifacts ( #32936 )
2022-03-28 13:34:10 -04:00
Marek Rusinowski
cdf2b3f4e4
fix: calling of X11 functions when running under Wayland ( #33355 )
...
* fix: don't call X11 functions in file dialog and message box
* refactor: remove unused GtkUiPlatform declaration
* fix: set gtk darktheme only when running under X11
* fix: replace X11 window state watcher with implementation using ozone
* fix: make sure global menu barr is used only when supported
* fix: don't call X11 function in native window views under wayland
* style: fix lint issues
* fix: use GtkUiPlatform::ShowGtkWindow instead of gtk_window_present directly
* refactor: extract CreateGlobalMenuBar into separate function
* refactor: move checking for WaylandWindowDecorations inside class
* fix: check if we run under X11 only in ozone build
* refactor: drop including unused ui/base/ui_base_features.h header
* fix: modify ui_gtk_public_header.patch to also export gtk_ui.h
* fix: refactor guarding of X11 calls
- Introduce patch exposing new electron_can_call_x11 property
- Replace defined(USE_OZONE) with BUILDFLAG(OZONE_PLATFORM_X11) flags
* fix: remove the last remaining usage of USE_X11
* fix: usage of BUILDFLAG(OZONE_PLATFORM_X11) not building on non ozone
* fix: call UpdateWindowState from OnBoundsChanged only under X11
2022-03-28 12:48:50 -04:00
Shelley Vohr
1153a5ce5a
fix: BrowserView background color in webContents ( #33435 )
...
* chore: fix BrowserView background color in webContents
* disable screen capture test on linux
* spec: fix platform failure condition
2022-03-28 12:47:08 -04:00
Sofia Nguy
9e45a1cd51
docs: Update release dates for E19 and fix typos ( #33464 )
2022-03-28 09:30:05 -07:00
Sudowoodo Release Bot
d4a34fb175
Bump v19.0.0-nightly.20220328
2022-03-28 06:02:03 -07:00
electron-roller[bot]
c11cd3c14c
chore: bump chromium to 102.0.4962.3 (main) ( #33447 )
...
* chore: bump chromium in DEPS to 102.0.4962.3
* chore: update patches
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-03-25 12:35:32 -05:00
Sudowoodo Release Bot
3c5c880a33
Bump v19.0.0-nightly.20220325
2022-03-25 06:01:13 -07:00
Calvin
b03d6dfba9
fix: non-client windows messages on legacy widget host (again) ( #33438 )
2022-03-25 11:12:09 +01:00
Robo
f60ff18b14
fix: gn check when //printing component is disabled ( #33429 )
2022-03-24 20:48:23 -07:00
electron-roller[bot]
7e59d784a0
chore: bump chromium to 102.0.4961.0 (main) ( #33091 )
...
* chore: bump chromium in DEPS to 101.0.4911.0
* chore: bump chromium in DEPS to 101.0.4913.0
* chore: bump chromium in DEPS to 101.0.4915.0
* chore: bump chromium in DEPS to 101.0.4917.0
* chore: bump chromium in DEPS to 101.0.4919.0
* chore: bump chromium in DEPS to 101.0.4921.0
* chore: bump chromium in DEPS to 101.0.4923.0
* chore: bump chromium in DEPS to 101.0.4925.0
* chore: bump chromium in DEPS to 101.0.4927.0
* chore: bump chromium in DEPS to 101.0.4929.0
* chore: update patches
* chore: bump chromium in DEPS to 101.0.4931.0
* chore: update patches
* 3475388: Remove mojo::InterfacePtr<T> and mojo::InterfacePtrInfo<T>
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3475388
Actual fixes in 1824792: Migrate DisplayClient to the new Mojo types | https://chromium-review.googlesource.com/c/chromium/src/+/1824792
* 3503874: Remove base::size(), base::empty(), and base::data().
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3503874
* chore: reconcile patches with main rebase
* chore: bump chromium in DEPS to 101.0.4933.0
* chore: update patches
* 3329593: [Fenced Frame] Ensure to support external protocols in a fenced frame
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3329593
* 3503874: Remove base::size(), base::empty(), and base::data().
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3503874
* 3446451: Use forward decl of ImageSkiaRep in //ui/gfx/image/image_skia.h
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3446451
* 3499818: partition_alloc: Rename AllocFlags to AllocWithFlags
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3499818
* chore: bump chromium in DEPS to 101.0.4935.0
* chore: update patches
* 3463286: partition_alloc: Move PartitionAlloc into the own namespaces (15 of N)
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3463286
* 3506590: Reland "Support ChromeOS external protocol dialog for Fenced Frame navigations"
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3506590
* 3475388: Remove mojo::InterfacePtr<T> and mojo::InterfacePtrInfo<T>
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3475388
Actual fixes in 1880987: Convert URLLoaderReqeust from //content to new Mojo types | https://chromium-review.googlesource.com/c/chromium/src/+/1880987 The change in the roll started causing the legacy types to fail
* chore: missing SkRegion include
* 3499600: Introduce blink::WebCssOrigin
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3499600
* fixup!: 3503874: Remove base::size(), base::empty(), and base::data().
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3503874
* chore: bump chromium in DEPS to 101.0.4937.0
* chore: update patches
* 3500826: [locales] Refactor locales for ios
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3500826
* 3509531: Make some public Blink media files private
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3509531
* 3497377: bluetooth: Add BluetoothDevice.forget()
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3497377
* chore: bump chromium in DEPS to 101.0.4939.0
* chore: bump chromium in DEPS to 101.0.4941.0
* 3514804: Deprecate all existing uses of mojo_base.mojom.{Dictionary,List}Value.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3514804
* 3502592: Delete PPAPI init/shutdown code in //pdf.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3502592
* chore: update patches
* fixup! 3502592: Delete PPAPI init/shutdown code in //pdf.
* chore: bump chromium in DEPS to 101.0.4943.0
* chore: fix lint, remove unneeded headers
* fixup! 3475388: Remove mojo::InterfacePtr<T> and mojo::InterfacePtrInfo<T>
* update mojo calls in offscreen patch
* update hunspell filenames
* chore: bump chromium in DEPS to 101.0.4945.0
* chore: update patches
* fix offscreen patch again
* chore: bump chromium in DEPS to 101.0.4947.0
* chore: update patches
* chore: bump chromium in DEPS to 101.0.4949.0
* support unseasoned pdf
* update patches
* chore: update patches
* chore: [IWYU] include missing skia headers
* chore: bump chromium in DEPS to 101.0.4951.0
* chore: update patches
* 3457645: media: Remove IsKeySystemsUpdateNeeded()
https://chromium-review.googlesource.com/c/chromium/src/+/3457645
* chore: bump chromium in DEPS to 102.0.4952.2
* chore: update patches
* 3488672: Add documentId as a parameter in tabs.connect() and tabs.sendMessage().
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3488672
* 3508375: Fix an issue dangerous dialog is not shown for some apk download
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3508375
* chore: bump chromium in DEPS to 102.0.4953.0
* chore: update patches
* 3510189: Harden up drag and drop support across same-process boundaries.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3510189
* 3526815: Remove hardcoded colors from chrome/browser/ui/views/overlay/.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3526815
* chore: bump chromium in DEPS to 102.0.4955.0
* build: add af and ur locale to manifests
3498914 [locales] Add af and ur to desktop
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3498914
* fixup! build: add af and ur locale to manifests
* chore: bump chromium in DEPS to 102.0.4957.0
* 3529090: gin: set JS flags before v8 initialization
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3529090
chore: fix code shear in chromium/gin_enable_disable_v8_platform.patch
* chore: update patches
* 3536433: [network] Rename data_path and http_cache_path from _path to _directory.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3536433
* 3111565: Relocated Page.printToPDF implementation to //components
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3111565
refactor: inject E args to PrintRequestedPages() and ScriptedPrintCallback
TODO: currently passes a placeholder for job_settings. We have other
code paths that inject settings from electron_api_web_contents.cc.
Should those be injected here as well? (CC @codebytere)
* fixup! 3111565: Relocated Page.printToPDF implementation to //components
* fixup! 3111565: Relocated Page.printToPDF implementation to //components
* 3520025: Make "libcxx_abi_unstable" not a gn arg
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3520025
build: since it is no longer a gn arg, patch it in
* chore: change usages of std::vector with const elements (#33373 )
* chore: bump chromium in DEPS to 102.0.4959.0
* chore: update patches
* build: iwyu base/threading/platform_thread.h
* 3525774: Add GPSForCurrentDocument() into PermissionControllerDelegate.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3525774
refactor: copy upstream impl of GetPermissionStatusForCurrentDocument into +ElectronPermissionManager
* use gclient_gn_args_from instead of hand-copying
* checkout mac on mac
* chore: update patches
* Revert "checkout mac on mac"
This reverts commit fe9ccf49ec .
* fixup! 3525774: Add GPSForCurrentDocument() into PermissionControllerDelegate.
* fixup! 3457645: media: Remove IsKeySystemsUpdateNeeded()
add nogncheck
* fix: set .eslintrc.json to root to avoid cascade to chromium eslintrc
* Xref: 6dfdf79b8c
Xref: https://reviews.llvm.org/D101458
Upstream added a CMakeLists.txt in an include dir ¯\_(ツ)_/¯ and
so it must be enumerated in filenames.libcxxabi.gni
* 3511268: Remove unused headers from cxx17_backports.h
https://chromium-review.googlesource.com/c/chromium/src/+/3511268
use std::size instead of base::size
* iwyu: SkPaint
3488428: [includes] Fix transitive includes of SkImageEncoder
* chore: [IWYU] include missing skia headers
* fixup! 3511268: Remove unused headers from cxx17_backports.h
* chore: bump chromium in DEPS to 102.0.4961.0
* chore: update patches
* fixup! 3475388: Remove mojo::InterfacePtr<T> and mojo::InterfacePtrInfo<T>
chore: remove unused #include
* fixup! 3510189: Harden up drag and drop support across same-process boundaries. | https://chromium-review.googlesource.com/c/chromium/src/+/3510189
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-03-24 21:39:03 -04:00
Hanlin
92c5dedc76
Update china npmmirror ( #33401 )
...
Source: https://zhuanlan.zhihu.com/p/465424728
2022-03-24 20:08:33 -04:00
Calvin
f69b59effc
feat: add WCO title bar style setters ( #33066 )
...
* feat: add wco title bar style setters
* return after throwing
2022-03-24 20:02:45 -04:00
Jeremy Rose
4fdf8584ed
docs: fix SCA and postMessage links in web-frame-main.md ( #33415 )
2022-03-24 13:12:47 -04:00
David Sanders
962f4a6558
docs: remove pywin32 from Windows build instructions ( #33402 )
2022-03-24 09:09:12 -04:00
Sudowoodo Release Bot
d5ad18db03
Bump v19.0.0-nightly.20220324
2022-03-24 06:00:50 -07:00
Cheng Zhao
9d698c76c5
chore: update out-dated node patches ( #33421 )
2022-03-24 10:26:34 +01:00
electron-roller[bot]
db5a3c014a
chore: bump node to v16.14.2 (main) ( #32833 )
...
* chore: bump node in DEPS to v16.14.0
* src: add flags for controlling process behavior
https://github.com/nodejs/node/pull/40339
* src: add x509.fingerprint512 to crypto module
https://github.com/nodejs/node/pull/39809
* deps: upgrade to libuv 1.43.0
https://github.com/nodejs/node/pull/41398
* chore: fixup patch indices
* chore: add missing filenames
https://github.com/nodejs/node/pull/39283
https://github.com/nodejs/node/pull/40665
* crypto: trim input for NETSCAPE_SPKI_b64_decode
https://github.com/nodejs/node/pull/40757
* chore: update patches
* chore: bump node in DEPS to v16.14.1
* tools: enable no-empty ESLint rule
https://github.com/nodejs/node/pull/41831
* chore: update patches
* chore: update patches
* chore: bump node in DEPS to v16.14.2
* chore: update patches
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-03-23 18:59:54 -04:00
John Kleinschmidt
cc253f5de9
ci: abort CI if goma authentication is invalid ( #33413 )
2022-03-23 18:55:26 -04:00
John Kleinschmidt
41f94ef154
Revert "test: re-enable webview resize events test ( #33220 )" ( #33409 )
...
This reverts commit c262eac441 .
2022-03-23 12:40:29 -04:00
Jeremy Rose
f912130be6
fix: libuv patches to address child_process.spawn slowness ( #33337 )
...
* fix: libuv patches to address child_process.spawn slowness
* chore: backport additional patches
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2022-03-23 06:30:54 -07:00
Sudowoodo Release Bot
a5ab10f3d2
Bump v19.0.0-nightly.20220323
2022-03-23 06:00:58 -07:00
David Sanders
6bb492ac23
docs: update Ubuntu version used for Linux prebuilt binaries ( #33372 )
2022-03-23 18:46:45 +09:00
andreasdj
3744ac0a52
fix: persist BrowserView content bounds when calculating layout ( #32747 )
...
Reverting change introduced in PR: https://github.com/electron/electron/pull/30510
Co-authored-by: Andreas Johansson <aj3621@tobii.com >
2022-03-23 10:16:15 +09:00
Samuel Attard
800b96fe14
docs: add new IPC validation section to the security tutorial ( #33369 )
...
* docs: add new IPC validation section to the security tutorial
* Update security.md
* Update docs/tutorial/security.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* Update docs/tutorial/security.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2022-03-22 20:45:23 -04:00
Fedor Indutny
06a00b74e8
fix: initialize asar support in worker threads ( #33216 )
...
* fix: initialize asar support in worker threads
Use `ObjectWrap` instead of gin's Wrap in `electron_api_asar.cc` because
gin isn't fully initialized (and apparently not possible to initialize
without ruining the isolate configuration and array buffer allocator) in
worker threads. In the worker thread call `setupAsarSupport` just as we
do for the main process.
* Update lib/asar/fs-wrapper.ts
Co-authored-by: Darshan Sen <raisinten@gmail.com >
* Update patches/node/worker_thread_add_asar_support.patch
Co-authored-by: Darshan Sen <raisinten@gmail.com >
* Add a test
Co-authored-by: Darshan Sen <raisinten@gmail.com >
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-03-22 20:37:55 -04:00
David Sanders
27ddf19f3c
chore: use pylint-2.7 ( #33232 )
...
* chore: use pylint-2.7
* chore: fix pylint errors
2022-03-22 20:17:35 -04:00
David Sanders
4633376b28
test: fix crash on image.crop ( #33148 )
...
* test: fix crash on image.crop
* Trigger CI
2022-03-22 20:14:49 -04:00
Johns Gresham
8ad1470d08
docs: remove extra $ from npm install command ( #33366 )
2022-03-23 08:54:08 +09:00
Black-Hole
3aec1c3e3f
chore: upgrade @electron/get version to ^1.14.1 ( #33259 )
...
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2022-03-22 09:41:21 -07:00
Keeley Hammond
feff8b3584
ci: enable thin LTO on Mac ( #33194 )
...
* build: remove thin lto mac patch
* build: remove step-get-more-space-on-mac
* build: remove USE_PREBUILT_V8_CONTEXT_SNAPSHOT
* ci: re-add mksnapshot logic
* ci: re-add USE_PREBUILT_V8_CONTEXT_SNAPSHOT
* ci: re-add get-more-space, delete thin LTO cache & .dSYM
* ci: don't delete v8_snapshot_generator.dSYM
* ci: add timeout to mksnapshot
2022-03-22 11:31:53 -04:00
Sudowoodo Release Bot
b7188f07f4
Bump v19.0.0-nightly.20220322
2022-03-22 06:00:54 -07:00
David Sanders
4d8ebcd19c
chore: change usages of std::vector with const elements ( #33373 )
2022-03-22 01:52:10 -07:00
Samuel Attard
81318f0acc
fix: disable SIGUSR1 when --inspect is disabled ( #33188 )
2022-03-22 16:51:04 +09:00
Samuel Attard
956406a193
fix: use stricter options in SecStaticCodeCheckValidity ( #33368 )
...
* fix: use stricter options in SecStaticCodeCheckValidity
* Update patches/squirrel.mac/fix_use_kseccschecknestedcode_kseccsstrictvalidate_in_the_sec.patch
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-03-22 00:19:46 -07:00
Charles Kerr
0af2b8de73
docs: mark skipTaskbar as unsupported on Linux ( #33226 )
...
Fixes #33124 .
2022-03-22 15:12:20 +09:00
Shelley Vohr
f5112632a3
fix: pend bounds change when moving BrowserWindows ( #33288 )
...
* fix: ensure bounds changes apply when moving windows
* chore: remove unused queue include
2022-03-22 15:07:09 +09:00
Charles Kerr
c262eac441
test: re-enable webview resize events test ( #33220 )
2022-03-22 08:55:53 +09:00
Jeremy Rose
d79d3fc7d7
test: fix and re-enable Network.getResponseBody test ( #33227 )
2022-03-22 08:38:46 +09:00
zeeker999
108ee7037f
fix: IncrementCapturerCount doesn't increase the capturer count ( #32973 )
2022-03-22 08:38:03 +09:00
Shelley Vohr
59246a4c7c
fix: NOTREACHED when resizing windows frameless bounds ( #33029 )
...
* fix: NOTREACHED when resizing windows frameless bounds
* fix: scope to window_->IsResizable()
2022-03-22 08:30:05 +09:00
David Sanders
2205d725f2
chore: bump @electron/docs-parser version ( #33346 )
2022-03-21 14:17:25 -04:00
David Sanders
1ccf206e77
docs: add note about supported versions to issue template ( #33348 )
2022-03-21 13:51:59 -04:00
Shelley Vohr
db79734bfb
feat: support more color formats for backgroundColor ( #31868 )
2022-03-21 18:35:54 +01:00
Sudowoodo Release Bot
4b8b492b62
Bump v19.0.0-nightly.20220321
2022-03-21 06:01:28 -07:00
Milan Burda
755feb4d81
feat: add nativeTheme.inForcedColorsMode ( #32956 )
2022-03-21 10:30:02 +01:00
Robo
4cc2ed842e
fix: iocp integration when process is reused ( #33207 )
2022-03-21 16:42:22 +09:00
Lalit
e100402b13
docs: possible change in tutorial/ipc ( #33218 )
...
The `counter` channel should be `update-counter` channel
2022-03-21 11:13:55 +09:00
David Sanders
45e2f86fe0
chore: fix pylint-2.7 errors ( #33233 )
2022-03-21 11:11:21 +09:00
BIKI DAS
fdb60240f3
fix: removed unused imported Objects ( #33304 )
2022-03-21 10:21:21 +09:00
Keeley Hammond
08d54d2416
fix: intialize FPS file in network service ( #33339 )
2022-03-18 21:29:42 -07:00
Samuel Attard
e07c2b84d7
fix: ensure ElectronBrowser mojo service is only bound to appropriate render frames ( #33323 )
...
* fix: ensure ElectronBrowser mojo service is only bound to authorized render frames
Notes: no-notes
* refactor: extract electron API IPC to its own mojo interface
* fix: just check main frame not primary main frame
2022-03-18 19:50:05 -07:00
Sudowoodo Release Bot
f2b06324b8
Bump v19.0.0-nightly.20220318
2022-03-18 06:01:12 -07:00
Sudowoodo Release Bot
ac6ed62ab9
Bump v19.0.0-nightly.20220317
2022-03-17 06:01:17 -07:00
David Sanders
7acb513ba6
docs: update links to Chromium source ( #33309 )
2022-03-17 13:45:55 +01:00
David Sanders
ce8e248b60
docs: remove unused images ( #33310 )
2022-03-17 09:40:00 +01:00
David Sanders
df8fd1b269
build: fix build by removing usage of removed preloadUrl ( #33319 )
2022-03-17 00:13:48 -07:00
Jeremy Rose
4342b7ff55
chore: remove awkward semi-documented preloadURL WebPreference ( #33228 )
2022-03-16 16:23:41 -07:00
Jeremy Rose
e904486076
fix: BrowserWindow.fromWebContents should work in browser-window-created ( #33257 )
2022-03-16 16:23:14 -07:00
Robo
b2c5623a13
fix: crash when destroying node env with pending promises ( #33280 )
...
* fix: crash when destroying node env with pending promises
* chore: add spec
2022-03-16 18:54:45 +01:00
David Sanders
652680e801
fix: ensure external memory adjustments are balanced ( #33266 )
2022-03-16 18:54:30 +01:00
David Sanders
cf3ee7be56
build: drop pywin32 usage ( #26186 )
...
* build: drop pywin32 usage
* chore: ignore extra output on AppVeyor
2022-03-16 13:40:47 -04:00
Abhay Gupta
b274011720
fix: fiddle ipc code pattern 3 ( #33262 )
2022-03-16 11:01:29 -04:00
Jeremy Rose
02fe245521
docs: webFrame.insertCSS should mention options arg ( #33274 )
2022-03-16 10:56:20 -04:00
Sudowoodo Release Bot
a5382b7780
Bump v19.0.0-nightly.20220316
2022-03-16 06:02:33 -07:00
David Sanders
fc7f38c7ce
docs: remove "marked" from process.getBlinkMemoryInfo() ( #33263 )
2022-03-16 11:51:56 +01:00
Milan Burda
2657383ea7
feat: allow setting code cache directory ( #31154 )
...
* feat: allow setting code cache directory
* chore: address review feedback
* chore: update docs
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: rewrite with base::Contains
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-03-15 15:34:53 -05:00
CanadaHonk
37a904c299
docs: specify default for BrowserWindow's center option ( #33264 )
2022-03-15 10:48:25 -07:00
Samuel Attard
c8a3a00017
fix: race condition where webContents can be nullptr during re-focus and a multi-window close sequence ( #33063 )
...
* fix: race condition where webContents can be nullptr during re-focus and a multi-window close sequence
* chore: update electron_inspectable_web_contents_view.mm
2022-03-15 10:45:56 -07:00
Aryan Shridhar
7382891015
docs: reword sentence for better understanding ( #33265 )
2022-03-15 10:11:40 -07:00
Sudowoodo Release Bot
75339dccb3
Bump v19.0.0-nightly.20220315
2022-03-15 06:01:15 -07:00
Sudowoodo Release Bot
4bdb50eeee
Bump v19.0.0-nightly.20220314
2022-03-14 06:02:37 -07:00
Milan Burda
039c061d07
fix: add missing [[maybe_unused]] to IsEnvSet ( #33224 )
2022-03-14 18:19:15 +09:00
Jeremy Rose
f372953256
fix: cppgc/node collisions in renderer process ( #33252 )
...
* fix: cppgc/node collisions in renderer process
* Update be_compatible_with_cppgc.patch
2022-03-12 18:28:10 -05:00
Jeremy Rose
cdc27a3793
fix: prevent UAF crash in setCertificateVerifyProc ( #33204 )
2022-03-11 11:35:48 -08:00
Darshan Sen
bbb79880f7
chore: cherry-pick 2ed58f4 from chromium ( #33109 )
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658
Fixes: https://github.com/electron/electron/issues/33049
Signed-off-by: Darshan Sen <raisinten@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-03-11 11:19:51 -06:00
Sudowoodo Release Bot
dc63b8e7f4
Bump v19.0.0-nightly.20220311
2022-03-11 05:01:42 -08:00
Sudowoodo Release Bot
b888d9cd17
Bump v19.0.0-nightly.20220310
2022-03-10 05:01:04 -08:00
David Sanders
e589e9b259
fix: fire show event when BrowserWindow shown via maximize() ( #32979 )
2022-03-09 17:30:42 -05:00
Harry Hopkinson
86e746c36b
Formatted C++ Files According to the clang-format file. ( #33158 )
2022-03-09 16:28:54 -05:00
Jeremy Rose
ebfcf89a0b
fix: propagate unsafely-treat-insecure-origin-as-secure to renderer children ( #33189 )
...
* fix: propagate unsafely-treat-insecure-origin-as-secure to renderer children
* fix build
2022-03-09 10:15:50 -05:00
Sudowoodo Release Bot
865a29ed17
Bump v19.0.0-nightly.20220309
2022-03-09 05:00:38 -08:00
Shelley Vohr
373a905319
fix: settings not persisting across devtools loads ( #33120 )
...
* fix: settings not persisting across devtools loads
* chore: remove redundant RegisterPreference impl
2022-03-08 20:17:43 -05:00
Jeremy Rose
27527fe5ca
feat: warn that preloads will be sandboxed by default in v20 ( #32868 )
2022-03-08 15:39:53 -08:00
Calvin
e41c3e960d
fix: non-client mouse events on WCO-enabled windows ( #32871 )
2022-03-08 16:06:20 -05:00
Shelley Vohr
076bc58b2a
fix: crash when showin item in folder on DevTools ( #33024 )
2022-03-08 14:40:25 -05:00
Milan Burda
b96f15bfc2
fix: patches to use BUILDFLAG(IS_WIN) / BUILDFLAG(IS_MAC) checks ( #33160 )
2022-03-08 14:38:15 -05:00
Kevin Ushey
3bc3896ee7
docs: fix documented return value for getFocusedWebContents ( #33170 )
2022-03-08 14:15:05 -05:00
Sudowoodo Release Bot
a20216de7a
Bump v19.0.0-nightly.20220308
2022-03-08 05:01:16 -08:00
Samuel Attard
a5a4818b67
chore: add ignore revs file for GH blame UI ( #33171 )
2022-03-07 18:40:28 -08:00
Jeremy Rose
aa8119515f
fix: gracefully fail if app.configureHostResolver is called before ready ( #33062 )
2022-03-07 16:52:40 -08:00
John Kleinschmidt
3d9b9b97cf
build: put v8_context_snapshot_generator.dSYM in its own zip file ( #33183 )
2022-03-07 18:47:58 -05:00
Makonede
12aa991df2
Fix a typo ( #33042 )
2022-03-07 17:17:12 -05:00
Chuion
0ff1727ec0
docs: fix missing dependencies in ipc patterns ( #33082 )
2022-03-07 17:04:58 -05:00
Micha Hanselmann
a1c01ded9c
fix: really strip crashpad handler binary ( #33126 )
2022-03-07 14:49:50 -05:00
Sudowoodo Release Bot
94a85cb191
Revert "Bump v19.0.0-nightly.20220307"
...
This reverts commit b43f7702c8 .
2022-03-07 09:23:13 -08:00
John Kleinschmidt
f45aaea537
test: disable newly added tests on WOA ( #33143 )
...
* tests: disable newly added tests on WOA
* test: also disable test on arm64 macOS
2022-03-07 09:18:58 -05:00
Sudowoodo Release Bot
b43f7702c8
Bump v19.0.0-nightly.20220307
2022-03-07 05:01:43 -08:00
Sudowoodo Release Bot
7beffb51fc
Revert "Bump v19.0.0-nightly.20220303"
...
This reverts commit 89725f31bf .
2022-03-05 15:55:12 -08:00
John Kleinschmidt
3663f8e0ae
ci: use larger machine for docs only check ( #33141 )
2022-03-03 16:57:21 -08:00
Alvin Philips
41c81ed066
docs: Updated list numbering ( #32991 )
...
* docs: Updated list numbering
The steps to package and distribute an application using electron had incorrect numbering
* Indented text within ordered list sections
* Removed single space
* Fixed indentation
2022-03-03 15:35:51 -08:00
Erick Zhao
62366aeb95
docs: remove platform notices from tutorial titles ( #32937 )
...
* docs: remove platform notices from tutorial titles
* Update docs/tutorial/launch-app-from-url-in-another-app.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2022-03-03 09:56:00 -08:00
Sudowoodo Release Bot
89725f31bf
Bump v19.0.0-nightly.20220303
2022-03-03 05:02:08 -08:00
Keeley Hammond
f71a6db3ff
ci: disable use-thin-lto on Mac only ( #33115 )
...
* build: remove use_thin_lto = false
* ci: enabling if things get really bad (all darwin)
* build: lol don't enable that
* build: add patch to disable thin lto for mac
2022-03-02 16:57:26 -08:00
Sudowoodo Release Bot
c040305db4
Revert "Bump v19.0.0-nightly.20220302"
...
This reverts commit d9bf02d9b6 .
2022-03-02 08:56:25 -08:00
Sudowoodo Release Bot
d9bf02d9b6
Bump v19.0.0-nightly.20220302
2022-03-02 05:01:04 -08:00
Sudowoodo Release Bot
318c91b78c
Revert "Bump v19.0.0-nightly.20220228"
...
This reverts commit 998c85af13 .
2022-03-01 16:48:02 -08:00
Shelley Vohr
ebd80a0602
fix: max window size defaults to 0 ( #33025 )
2022-03-01 14:20:07 -08:00
Keeley Hammond
306147ddf5
fix: disable partition alloc on mac ( #33114 )
2022-03-01 14:16:37 -08:00
Samuel Maddock
7cb62bfc22
test: BrowserWindow backgroundColor and transparency ( #31017 )
...
* test: BrowserWindow backgroundColor
* test: allow similar colors
* test: disable linux capturing
* refactor: split screen capture from reading pixel color
2022-03-01 14:14:11 -08:00
Shelley Vohr
283fa2b79d
fix: macOS tray icon alternate images ( #33026 )
2022-02-28 14:59:27 -08:00
Erick Zhao
1e50f7d2b6
docs: consolidate info docs ( #32964 )
...
* docs: consolidate info docs
* fill in table
* more newlines to admonitions
* update china mirror thing
2022-02-28 11:46:52 -08:00
Sudowoodo Release Bot
998c85af13
Bump v19.0.0-nightly.20220228
2022-02-28 05:00:53 -08:00
electron-roller[bot]
3da598015b
chore: bump chromium to 100.0.4894.0 (main) ( #32852 )
...
* chore: bump chromium in DEPS to 100.0.4880.0
* resolve conflicts
* chore: update patches
* fix patch
* PIP20: add a new DocumentOverlayWindowViews subtype
https://chromium-review.googlesource.com/c/chromium/src/+/3252789
* Clean up PictureInPictureWindowManager::EnterPictureInPicture()
https://chromium-review.googlesource.com/c/chromium/src/+/3424145
* Remove StoragePartitionId.
https://chromium-review.googlesource.com/c/chromium/src/+/2811120
* Remove FLoC code
https://chromium-review.googlesource.com/c/chromium/src/+/3424359
* media: Make AddSupportedKeySystems() Async
https://chromium-review.googlesource.com/c/chromium/src/+/3430502
* [Extensions] Move some l10n file util methods to //extensions/browser
https://chromium-review.googlesource.com/c/chromium/src/+/3408192
* chore: IWYU
* Reland "webhid: Grant permissions for policy-allowed devices"
https://chromium-review.googlesource.com/c/chromium/src/+/3444147
* Migrate base::Value::GetList() to base::Value::GetListDeprecated(): 2/N.
https://chromium-review.googlesource.com/c/chromium/src/+/3435727
https://chromium-review.googlesource.com/c/chromium/src/+/3440910
https://chromium-review.googlesource.com/c/chromium/src/+/3440088
* [text blink period] Cache blink period instead of fetching from defaults
https://chromium-review.googlesource.com/c/chromium/src/+/3419059
* chore: update picture-in-picture.patch
https://chromium-review.googlesource.com/c/chromium/src/+/3252789
* ci: update to Xcode 13.2.1
https://chromium-review.googlesource.com/c/chromium/src/+/3437552
* chore: bump chromium in DEPS to 100.0.4882.1
* chore: update patches
* chore: bump chromium in DEPS to 100.0.4884.0
* chore: update patches
* chore: bump chromium in DEPS to 100.0.4886.0
* chore: update patches
* Refactor DownloadManager to use StoragePartitionConfig
https://chromium-review.googlesource.com/c/chromium/src/+/3222011
* Remove ToWebInputElement() in favor of new WebNode::DynamicTo<> helpers.
https://chromium-review.googlesource.com/c/chromium/src/+/3433852
* refactor: autofill to use the color pipeline
https://bugs.chromium.org/p/chromium/issues/detail?id=1249558
https://bugs.chromium.org/p/chromium/issues/detail?id=1003612
* [ProcessSingleton] Add many more trace events to cover all scenarios
https://chromium-review.googlesource.com/c/chromium/src/+/3429325
* fixup! PIP20: add a new DocumentOverlayWindowViews subtype
* chore: bump chromium in DEPS to 100.0.4888.0
* chore: update patches
* chore: update picture-in-picture.patch
* fixup! refactor: autofill to use the color pipeline
* ci: fixup fix sync
(cherry picked from commit c1e3e395465739bce5ca8e1c5ec1f5bd72b99ebd)
* chore: bump chromium in DEPS to 100.0.4889.0
* chore: update patches
* chore: fix feat_add_data_transfer_to_requestsingleinstancelock.patch
* fixup! PIP20: add a new DocumentOverlayWindowViews subtype
* Remove remaining NativeTheme::GetSystemColor() machinery.
https://chromium-review.googlesource.com/c/chromium/src/+/3421719
* ci: fetch proper esbuild for macos
* ci: fixup fetch proper esbuild for macos
* fix: failing Node.js test on outdated CurrentValueSerializerFormatVersion
* chore: bump chromium in DEPS to 100.0.4892.0
* 3460365: Set V8 fatal error callbacks during Isolate initialization
https://chromium-review.googlesource.com/c/chromium/src/+/3460365
* 3454343: PIP20: use permanent top controls
https://chromium-review.googlesource.com/c/chromium/src/+/3454343
* 3465574: Move most of GTK color mixers to ui/color/.
https://chromium-review.googlesource.com/c/chromium/src/+/3465574
* chore: fixup patch indices
* 3445327: [locales] Remove locales reference
https://chromium-review.googlesource.com/c/chromium/src/+/3445327
* 3456548: [DBB][#7 ] Blue border falls back to all tab if cropped-to zero pixels
https://chromium-review.googlesource.com/c/chromium/src/+/3456548
* 3441196: Convert GuestView's remaining legacy IPC messages to Mojo
https://chromium-review.googlesource.com/c/chromium/src/+/3441196
* 3455491: Don't include run_loop.h in thread_task_runner_handle.h
https://chromium-review.googlesource.com/c/chromium/src/+/3455491
* fixup! 3454343: PIP20: use permanent top controls
* 3442501: Add missing includes of //base/observer_list.h
https://chromium-review.googlesource.com/c/chromium/src/+/3442501
* 3437552: mac: Deploy a new hermetic build of Xcode 13.2.1 13C100
https://chromium-review.googlesource.com/c/chromium/src/+/3437552
* chore: bump chromium in DEPS to 100.0.4894.0
* fixup! 3460365: Set V8 fatal error callbacks during Isolate initialization
* chore: update patches
* 3425231: Use DnsOverHttpsConfig where appropriate
https://chromium-review.googlesource.com/c/chromium/src/+/3425231
* test: disable test-heapsnapshot-near-heap-limit-worker.js
As a result of CLs linked in https://bugs.chromium.org/p/v8/issues/detail?id=12503 ,
heap snapshotting near the heap limit DCHECKS in Node.js specs. This will
likely require a larger refactor in Node.js so i've disabled the test for
now and opened an upstream issue on node-v8 issue
at https://github.com/nodejs/node-v8/issues/218 .
* Port all usage of NativeTheme color IDs to color pipeline
https://bugs.chromium.org/p/chromium/issues/detail?id=1249558
* chore: update patches after rebase
* ci: use gen2 machine for more disk space
* ci: don't try to make root volume writeable
* ci: use older xcode/macos for tests
* fix: html fullscreen transitions stacking
(cherry picked from commit 5e10965cdd7b2a024def5fc568912cefd0f05b44)
* ci: speed up woa testing
(cherry picked from commit 75c33c48b032137794f5734348a9ee3daa60d9de)
(cherry picked from commit e819962340 )
* ci: disable flaky tests on WOA
* ci: run remote tests separately to isolate issue there
* tests: disable node test parallel/test-worker-debug for now
* revert: fix: html fullscreen transitions stacking
* tests: disable flaky test on macOS arm64
* fixup circleci config so build tools can find xcode version
* make sure the workspace is clean before job runs
(cherry picked from commit 75f713c974 )
* tests: disable flaky test on Linux
* ci: debug why windows i32 is crashing
* Revert "ci: debug why windows i32 is crashing"
This reverts commit 4c4bba87ea .
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2022-02-25 13:17:35 -05:00
Sudowoodo Release Bot
c1a667c931
Revert "Bump v19.0.0-nightly.20220225"
...
This reverts commit d5539ce834 .
2022-02-25 07:09:17 -08:00
Sudowoodo Release Bot
d5539ce834
Bump v19.0.0-nightly.20220225
2022-02-25 05:01:49 -08:00
Ruslan
067cc8ae2b
Update main.js ( #33039 )
2022-02-24 12:59:29 -08:00
Shelley Vohr
c5a2af7811
fix: tray garbage collection ( #33040 )
2022-02-24 20:03:59 +01:00
Sudowoodo Release Bot
8cf345660c
Bump v19.0.0-nightly.20220224
2022-02-24 05:01:41 -08:00
Sudowoodo Release Bot
da54cfcb3e
Revert "Bump v19.0.0-nightly.20220223"
...
This reverts commit 5b2d3910c1 .
2022-02-23 10:12:10 -08:00
Shelley Vohr
268cd31e38
fix: DCHECK when calling app.exit() ( #33035 )
2022-02-23 16:27:54 +01:00
Sudowoodo Release Bot
5b2d3910c1
Bump v19.0.0-nightly.20220223
2022-02-23 05:00:59 -08:00
Shelley Vohr
08e26175fd
fix: broken OSR transparent option ( #32885 )
2022-02-23 19:33:42 +09:00
t57ser
41b2945ced
feat: add ability to configure if window should close when opener closes ( #31314 )
...
* feat: Added ability to configure if window should close when opener closes
* fix: check if embedder is destroyed
* fix: correctly take over closeWithOpener property
* chore: Added documentation
* Update docs/api/window-open.md
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
* chore: refactor
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* chore: changed property name from `closeWithOpener` to `outlivesOpener`
* dummy change to kick lint
* undo above
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-02-23 16:59:50 +09:00
Sudowoodo Release Bot
bcf060fab6
Revert "Bump v19.0.0-nightly.20220221"
...
This reverts commit 83a4ac1841 .
2022-02-22 10:52:23 -08:00
Shelley Vohr
e9b9835feb
chore: fix out-of-date chromium patch ( #33030 )
2022-02-22 16:24:11 +09:00
dependabot[bot]
fa7461685d
build(deps): bump ajv from 6.10.1 to 6.12.6 ( #32865 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.10.1 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.1...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 14:28:34 -08:00
dependabot[bot]
484a70f9b8
build(deps): bump ajv from 6.11.0 to 6.12.6 in /spec-main ( #32864 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.11.0 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.11.0...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 14:27:56 -08:00
Sudowoodo Release Bot
83a4ac1841
Bump v19.0.0-nightly.20220221
2022-02-21 05:04:50 -08:00
David Sanders
1e8da899a3
chore: fix typos ( #32985 )
2022-02-21 10:27:45 +01:00
David Sanders
069cde09fb
fix: don't restore maximized BrowserWindow when calling showInactive ( #32870 )
2022-02-21 10:23:55 +01:00
Robo
bdad6335c4
fix: command string for windows protocol handler ( #32953 )
2022-02-21 16:43:27 +09:00
Jeremy Rose
9d72c8b0ad
chore: add @electron/wg-security to patches/ CODEOWNERS ( #32963 )
2022-02-21 10:27:58 +09:00
Kev
faa392af28
docs: fix broken link to GNOME notifications spec ( #32934 )
2022-02-21 10:23:17 +09:00
dependabot[bot]
683ff2ea02
build(deps): bump ajv from 6.10.2 to 6.12.6 in /spec ( #32863 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.10.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 10:19:53 +09:00
dependabot[bot]
9168f65321
build(deps): bump pathval from 1.1.0 to 1.1.1 ( #32861 )
...
Bumps [pathval](https://github.com/chaijs/pathval ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/chaijs/pathval/releases )
- [Changelog](https://github.com/chaijs/pathval/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chaijs/pathval/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: pathval
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 10:18:58 +09:00
Sudowoodo Release Bot
101e17d6f3
Revert "Bump v19.0.0-nightly.20220216"
...
This reverts commit c75ec2e689 .
2022-02-18 09:08:21 -08:00
Micha Hanselmann
b1463d2da1
fix: stale renderer process on quit ( #32888 )
2022-02-17 21:02:22 -08:00
Samuel Attard
36e730da93
build: use gen2 macOS resources for tests ( #32935 )
2022-02-17 13:57:23 -08:00
Cheng Zhao
e08ced5979
chore: update patch to fix CI ( #32950 )
2022-02-17 21:05:01 +09:00
Shelley Vohr
84cf685e76
fix: webContents.openDevTools({mode}) not working ( #32829 )
2022-02-17 14:59:13 +09:00
Fedor Indutny
fe43296f7f
chore: backport EPROTOTYPE fixes from libuv ( #32856 )
...
This commit backports three commits from libuv's 1.x branch to fix
issues with CPU going to 100% on macOS when EPROTOTYPE is returned.
See: abb109f30f
See: 3a7b95593a
See: de24da8c11
2022-02-17 14:58:21 +09:00
Shelley Vohr
34129b83a4
chore: error catching in node_bindings ( #32858 )
2022-02-17 14:56:53 +09:00
dependabot[bot]
b1777c5ad1
build(deps): bump pathval from 1.1.0 to 1.1.1 in /spec ( #32859 )
...
Bumps [pathval](https://github.com/chaijs/pathval ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/chaijs/pathval/releases )
- [Changelog](https://github.com/chaijs/pathval/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chaijs/pathval/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: pathval
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-17 14:56:38 +09:00
Erick Zhao
cc0eb7b908
docs: update checklists ( #32902 )
2022-02-16 09:47:32 -08:00
Sudowoodo Release Bot
c75ec2e689
Bump v19.0.0-nightly.20220216
2022-02-16 05:01:13 -08:00
Erick Zhao
600c37160b
docs: fix relative link in developer documentation ( #32844 )
2022-02-15 13:54:28 -08:00
Sudowoodo Release Bot
512bb96dcb
Revert "Bump v19.0.0-nightly.20220215"
...
This reverts commit 90f17e4945 .
2022-02-15 09:36:37 -08:00
Sudowoodo Release Bot
90f17e4945
Bump v19.0.0-nightly.20220215
2022-02-15 05:01:28 -08:00
Sudowoodo Release Bot
d36524c640
Revert "Bump v19.0.0-nightly.20220214"
...
This reverts commit 8397bfbd16 .
2022-02-14 06:25:11 -08:00
Sudowoodo Release Bot
8397bfbd16
Bump v19.0.0-nightly.20220214
2022-02-14 05:01:42 -08:00
Sudowoodo Release Bot
1e074605dc
Revert "Bump v19.0.0-nightly.20220211"
...
This reverts commit 96c3179f32 .
2022-02-11 09:47:06 -08:00
Sudowoodo Release Bot
96c3179f32
Bump v19.0.0-nightly.20220211
2022-02-11 05:00:51 -08:00
Sudowoodo Release Bot
8dfcf817e4
Revert "Bump v19.0.0-nightly.20220210"
...
This reverts commit 0a120468c0 .
2022-02-10 20:37:02 -08:00
Sudowoodo Release Bot
0a120468c0
Bump v19.0.0-nightly.20220210
2022-02-10 17:46:57 -08:00
Keeley Hammond
4fa3310887
build: add stack_trace.h to main delegate ( #32854 )
...
* build: add stack_trace.h to main delegate
* build: trigger circleci
* build: free up a tiny bit more space
* build: disable use_thin_lto
* fixup build/args/all.gn
Co-authored-by: Samuel Attard <sam@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-02-10 17:43:14 -08:00
Sudowoodo Release Bot
ceab6a146a
Revert "Bump v19.0.0-nightly.20220210"
...
This reverts commit cd7dc52c53 .
2022-02-10 07:02:10 -08:00
Sudowoodo Release Bot
cd7dc52c53
Bump v19.0.0-nightly.20220210
2022-02-10 05:00:42 -08:00
electron-roller[bot]
28ada6ea8b
chore: bump chromium to 100.0.4857.0 (main) ( #32419 )
...
* chore: bump chromium in DEPS to 99.0.4819.0
* chore: update patches
* chore: bump chromium in DEPS to 99.0.4824.0
* chore: update patches
* chore: bump chromium in DEPS to 99.0.4827.0
* chore: update patches
* 3352511: PiP: Add inkdrop and pointer cursor to PiP window buttons
https://chromium-review.googlesource.com/c/chromium/src/+/3352511
* 3309164: webhid: Show FIDO devices in the chooser if allowed
https://chromium-review.googlesource.com/c/chromium/src/+/3309164
* 3297868: hid: Add experimental HIDDevice.forget()
https://chromium-review.googlesource.com/c/chromium/src/+/3297868
* 3362491: [Extensions] Move i18n API to //extensions
https://chromium-review.googlesource.com/c/chromium/src/+/3362491
* MCC Refactor step0: Allow embedders to register associated_interface binders with RenderFrameHostImpl::associated_registry_.
https://chromium-review.googlesource.com/c/chromium/src/+/3281481
* 3352616: [Gtk] Remove libgtk from the link-line
https://chromium-review.googlesource.com/c/chromium/src/+/3352616
* 3249211: Clear-Site-Data support for partitioned cookies
https://chromium-review.googlesource.com/c/chromium/src/+/3249211
* [Extensions][COIL] Use [allow|block]list in //extensions/common
https://chromium-review.googlesource.com/c/chromium/src/+/3372668
* Begin ScopedUserPrefUpdate migration to modern base::Value
https://chromium-review.googlesource.com/c/chromium/src/+/3376154
* [Code Health] Refactor PrefService GetDict + GetList to use base::Value
https://chromium-review.googlesource.com/c/chromium/src/+/3343526
* 3354997: [CodeHealth] Remove deprecated SetDictionary method
https://chromium-review.googlesource.com/c/chromium/src/+/3354997
* 3287323: Add LacrosPrefStore for lacros settings
https://chromium-review.googlesource.com/c/chromium/src/+/3287323
* 3365916: [PA] Clean up remaining lazy commit code
https://chromium-review.googlesource.com/c/chromium/src/+/3365916
* [MPArch] Target the external protocol error at the responsible frame.
https://chromium-review.googlesource.com/c/chromium/src/+/3011560
* Pass origin to RegisterNonNetworkSubresourceURLLoaderFactories
https://chromium-review.googlesource.com/c/chromium/src/+/3350608
* Linux: Send OSCrypt raw encryption key to the Network Service
https://chromium-review.googlesource.com/c/chromium/src/+/3320484
* [PlzServiceWorker] Remove remaining references to PlzServiceWorker.
https://chromium-review.googlesource.com/c/chromium/src/+/3359441
* chore: fixup for lint
* 3327621: Fix tablet mode detection for Win 11.
https://chromium-review.googlesource.com/c/chromium/src/+/3327621
* 3342428: ax_mac: move AXTextMarker conversion utils under ui umbrella
https://chromium-review.googlesource.com/c/chromium/src/+/3342428
* 3353974: Mac: Use base::Feature for overlay features
https://chromium-review.googlesource.com/c/chromium/src/+/3353974
* chore: bump chromium in DEPS to 99.0.4828.0
* chore: update patches
* chore: bump chromium in DEPS to 99.0.4837.0
* chore: update patches
* chore: update patches
* 3379142: Drop FALLTHROUGH macro
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3379142
* 3381749: C++17: Allow use of std::map::try_emplace and std::map::insert_or_assign
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3381749
* chore: bump chromium in DEPS to 99.0.4839.0
* chore: update patches
* chore: bump chromium in DEPS to 99.0.4840.0
* chore: bump chromium in DEPS to 99.0.4844.0
* 3395881: [api] Deprecate Local<v8::Context> v8::Object::CreationContext()
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/3395881
* chore: update patches
* chore: bump chromium in DEPS to 100.0.4845.0
* chore: update patches
* chore: bump chromium in DEPS to 100.0.4847.0
* chore: update patches
* chore: bump chromium in DEPS to 100.0.4849.0
* chore: update patches
* chore: bump chromium in DEPS to 100.0.4851.0
* chore: bump chromium in DEPS to 100.0.4853.0
* update patches
* chore: update patches
* update patches
* 3383599: Fonts Access: Remove prototype that uses a font picker.
https://chromium-review.googlesource.com/c/chromium/src/+/3383599
* 3404768: Remove ALLOW_UNUSED macros
https://chromium-review.googlesource.com/c/chromium/src/+/3404768
* 3374762: Remove ignore_result.h
https://chromium-review.googlesource.com/c/chromium/src/+/3374762
* 3399305: [unseasoned-pdf] Apply proper frame offsets for touch selections
https://chromium-review.googlesource.com/c/chromium/src/+/3399305
* 3402210: [Extensions] Don't trigger unload event for already unloaded extension
https://chromium-review.googlesource.com/c/chromium/src/+/3402210
* 3410912: Combine URLLoaderClient OnReceiveResponse and OnStartLoadingResponseBody.
https://chromium-review.googlesource.com/c/chromium/src/+/3410912
* 3370428: Make the AuthSchemes policy support dynamic refresh
https://chromium-review.googlesource.com/c/chromium/src/+/3370428
* 3407603: Finish ScopedUserPrefUpdate migration to modern base::Value
https://chromium-review.googlesource.com/c/chromium/src/+/3407603
* 3378352: ozone/x11: move code from //ui/p/x11 to //ui/ozone/p/x11
https://chromium-review.googlesource.com/c/chromium/src/+/3378352
* 3370810: Delete chrome/service, AKA the Cloud Print service process.
https://chromium-review.googlesource.com/c/chromium/src/+/3370810
* chore: bump chromium in DEPS to 100.0.4855.0
* chore: update patches
* fixup! 3370810: Delete chrome/service, AKA the Cloud Print service process.
* revert 3348007 to fix windows build
* 3318572: [Code health] Fix gn check errors in //extensions/browser:*
https://chromium-review.googlesource.com/c/chromium/src/+/3318572
* fix printing.patch
* fix iwyu issue
* 3408515: win: Make ShorcutOperation an enum class and modernize names
https://chromium-review.googlesource.com/c/chromium/src/+/3408515
* 3388333: [UIA] Remove dead code accessibility_misc_utils.h/cc
https://chromium-review.googlesource.com/c/chromium/src/+/3388333
* fix windows build? i hope
* patch gn visibility of //ui/ozone/platform/x11
* missing include base/logging.h
* use BUILDFLAG for USE_NSS_CERTS
https://chromium-review.googlesource.com/c/chromium/src/+/3379123
* defined(OS_*) ==> BUILDFLAG(IS_*)
https://bugs.chromium.org/p/chromium/issues/detail?id=1234043
* fixup! 3404768: Remove ALLOW_UNUSED macros
* another attempt to fix windows build
* temporarily disable the custom scheme service worker test
https://github.com/electron/electron/issues/32664
* fix loading mv3 extensions
not sure what cl broke this unfort.
* fixup! 3404768: Remove ALLOW_UNUSED macros
* patch nan
https://chromium-review.googlesource.com/c/v8/v8/+/3395880
* fix node test
* fix nullptr in FindPdfFrame
* patch perfetto to fix build issue on win-ia32
bc44c3c753
* fix build for linux-x64-testing-no-run-as-node
* fix patch
* skip <webview>.capturePage() test
https://github.com/electron/electron/issues/32705
* test: fix failing tests of focus/blur events of WebContents (#32711 )
* inherit stdio from app module test child processes
this prevents them from timing out due to full stdout buffers
* test to see if we can get better logs on windows ci
* try again for appveyor log things
* skip contentTracing tests on ia32
* ci: disable gpu compositing
* drop applied patch
* fix merge fail
* Revert "ci: disable gpu compositing"
This reverts commit 0344129fcb .
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: VerteDinde <khammond@slack-corp.com >
Co-authored-by: VerteDinde <vertedinde@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2022-02-09 18:58:52 -08:00
Erick Zhao
e9a43be9be
docs: add IPC doc ( #32059 )
...
* docs: add IPC doc
* fix: use "string" primitive
* use 'string' ipcrenderer
* use "number" primitive
* Update docs/tutorial/ipc.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* Update docs/tutorial/ipc.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* add code sample
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-02-09 11:00:05 -05:00
Cheng Zhao
254dbd7400
test: disable the test that makes spec runner hang on exit ( #32834 )
2022-02-09 09:20:51 -05:00
Sudowoodo Release Bot
baaa7787af
Bump v19.0.0-nightly.20220209
2022-02-09 05:01:45 -08:00
Shelley Vohr
ac1d426c51
fix: pointer lock escape handling ( #32369 )
2022-02-09 10:40:50 +01:00
Darshan Sen
841d223b3b
build: rebuild the dist_zips when the deps get modified ( #32713 )
...
* build: rebuild the dist_zips when the deps get modified
The dist.zip generated by the electron_dist_zip action was not getting
updated when changes were being made to the dependencies, like the
source files. It turns out, we were using data_deps for the dependencies
instead of deps. Here is the difference:
data_deps: things needed to ultimately run the thing built by a target
deps: things needed to build the target
So the difference in treatment of both sets of dependencies is actually
intentional.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
* fixup! build: rebuild the dist_zips when the deps get modified
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2022-02-08 13:03:33 -05:00
marekharanczyk
e119da8ce2
Make ElectronBrowser mojo interface frame associated. ( #32734 )
2022-02-08 11:33:21 -05:00
Shelley Vohr
58af7d2a9a
fix: failure to print on macOS ( #32767 )
2022-02-08 16:15:30 +01:00
Sudowoodo Release Bot
c09ce25ab6
Bump v19.0.0-nightly.20220208
2022-02-08 05:01:02 -08:00
Jeremy Rose
ce86e81aa6
docs: clarify meaning of cssOrigin ( #32753 )
2022-02-08 12:59:28 +01:00
Sudowoodo Release Bot
bf3650eb1f
Bump v19.0.0-nightly.20220207
2022-02-07 05:02:35 -08:00
Shelley Vohr
81fcd732c2
fix: savePage throw on relative paths ( #32728 )
2022-02-07 09:51:59 +01:00
Sudowoodo Release Bot
d46431b564
Bump v19.0.0-nightly.20220204
2022-02-04 05:01:08 -08:00
Shelley Vohr
fb3f5e490e
test: improve webContents.savePage() specs ( #32727 )
2022-02-03 16:56:50 -05:00
Juan Cruz Viotti
7442905dd2
build: Support cygwin in script/lib/util.py ( #32731 )
...
Running a build on Cygwin or MSYS2 otherwise fails.
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2022-02-03 15:57:21 -05:00
Sudowoodo Release Bot
2526031a5f
Bump v19.0.0-nightly.20220203
2022-02-03 05:01:03 -08:00
Keeley Hammond
e0f2511cba
chore: bump NMV for Electron 19 ( #32703 )
2022-02-02 17:14:11 -05:00
Shelley Vohr
4c39eb32b0
refactor: use QuickLookThumbnailing where applicable ( #32456 )
2022-02-02 23:01:05 +01:00
Cheng Zhao
c3d11e2ea2
test: fix failing tests of focus/blur events of WebContents ( #32711 )
2022-02-02 10:32:53 -05:00
Sofia Nguy
ed185f324e
docs: Update E18 release date ( #32665 )
2022-02-02 10:07:11 -05:00
Calvin
9a5a45e804
fix: WCO window hover on window controls on Windows ( #32672 )
...
* fix: WCO window hover on window controls
* Update shell/browser/ui/win/electron_desktop_window_tree_host_win.cc
Co-authored-by: Robo <hop2deep@gmail.com >
Co-authored-by: Robo <hop2deep@gmail.com >
2022-02-02 10:06:36 -05:00
Sudowoodo Release Bot
8b6202b6a8
Bump v19.0.0-nightly.20220202
2022-02-02 05:20:39 -08:00
Shelley Vohr
7c701367c0
fix: some frameless windows showing a frame on Windows ( #32692 )
2022-02-02 11:23:02 +01:00
Shelley Vohr
56c6d25e98
fix: crash on printer dialog cancellation ( #32632 )
...
* fix: crash on printer dialog cancellation
* fix: remove commented out code
* chore: address review
2022-02-01 20:00:09 +01:00
John Kleinschmidt
b346f909e7
ci: fixup gclient cache on ubuntu 20 ( #32691 )
...
* ci: fixup gclient cache on ubuntu 20
* ci: update to Ubuntu 20.04 docker image
2022-02-01 11:54:27 -05:00
Sudowoodo Release Bot
939bfa50f6
Bump v18.0.0-nightly.20220201
2022-02-01 05:01:37 -08:00
Tobias Nießen
2289a52fb3
docs: fix typo in BrowserWindow description ( #32667 )
2022-02-01 12:47:49 +01:00
Samuel Maddock
aeee9cfb78
feat: add focus and blur events for WebContents ( #25873 )
...
test: add focus and blur WebContents event tests
test: confirm that webcontents focus event is fired on browserwindow focus
fix: mac focus event test timeout
2022-02-01 19:28:57 +09:00
Paul Hollinsky
e34d7f5d6f
docs: fix missing tag end in clipboard example ( #32673 )
2022-02-01 17:57:33 +09:00
Shelley Vohr
f5dc2a6535
fix: transparent window max/unmax event firing ( #32643 )
2022-01-31 22:10:57 +01:00
John Kleinschmidt
365933f1f3
fix: expose all serial devices to setDevicePermissionHandler ( #32651 )
2022-01-31 14:04:45 -05:00
Sudowoodo Release Bot
8e0e2d40e2
Bump v18.0.0-nightly.20220131
2022-01-31 05:01:27 -08:00
Milan Burda
db9ab80694
chore: update to latest TypeScript ( #32596 )
2022-01-31 20:37:40 +09:00
Harshil jain
32ae67c873
docs: update the build docs for electron to improve doc readability ( #32663 )
2022-01-31 20:36:47 +09:00
Marek Šuppa
c6d061c2d4
Update config.py ( #32666 )
...
* Fix missing comma
2022-01-31 10:57:52 +01:00
Harshil jain
d657cd8ed6
docs: Remove the latin words from doc ( #32641 )
2022-01-28 12:40:20 -08:00
Sudowoodo Release Bot
e693738f7c
Bump v18.0.0-nightly.20220128
2022-01-28 05:02:11 -08:00
John Kleinschmidt
63908ccf89
Revert "ci: update to Ubuntu 20.04 docker image ( #32614 )" ( #32656 )
...
This reverts commit 8803e7f020 .
2022-01-27 17:45:06 -05:00
Shelley Vohr
3768a7b25f
fix: css transparent background being lost ( #32593 )
2022-01-27 15:56:35 +01:00
Sudowoodo Release Bot
86f8faea6b
Bump v18.0.0-nightly.20220127
2022-01-27 05:01:10 -08:00
Mikael Finstad
20ed5701e9
docs: update context bridge docs about Promises and Errors ( #32533 )
...
* Update context bridge docs about Promises
From my testing it doesn't remove Promises in nested objects,
also according to the test suite it does not:
80577a4f08/spec-main/api-context-bridge-spec.ts (L693)
* docs: Update docs for errors too
2022-01-27 20:23:40 +09:00
Jeremy Rose
16fcad3488
fix: maxWidth not being respected ( #32628 )
2022-01-26 14:00:17 -08:00
Ryan Gonzalez
7caa88c46f
fix: Add support for Wayland window decorations ( #29618 )
...
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-01-26 13:59:09 -08:00
dependabot[bot]
cabad35383
build(deps): bump node-fetch from 2.6.1 to 2.6.7 ( #32599 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 15:42:38 -05:00
WeiZhiHuang
8ec81c1437
fix webRequest.onBeforeSendHeaders' attributes ( #32474 )
...
Co-authored-by: Wayne Huang <zjason4202@gmail.com >
2022-01-26 11:41:54 -05:00
Balakrishna Avulapati
7f517ba878
docs: separate the dependency list for ubuntu ( #32607 )
2022-01-26 10:29:16 -05:00
Sudowoodo Release Bot
bac0a28324
Revert "Bump v18.0.0-nightly.20220126"
...
This reverts commit 4f6b8d06be .
2022-01-26 07:03:50 -08:00
Sudowoodo Release Bot
4f6b8d06be
Bump v18.0.0-nightly.20220126
2022-01-26 05:03:03 -08:00
John Kleinschmidt
8803e7f020
ci: update to Ubuntu 20.04 docker image ( #32614 )
2022-01-25 16:06:41 -05:00
John Kleinschmidt
7814f96413
ci: update ts-compile-doc-change to properly use src cache ( #32613 )
2022-01-25 15:58:24 -05:00
Shelley Vohr
65bee9120f
docs: correct requestSingleInstanceLock parameter ( #32595 )
2022-01-25 12:57:57 -08:00
John Kleinschmidt
335f24b0d0
fix: webContents.setZoomFactor crash ( #32604 )
2022-01-25 12:54:48 -08:00
Cheng Zhao
1cf36822e3
fix: make window without rounded corners closable ( #32597 )
2022-01-25 09:51:53 -05:00
Sudowoodo Release Bot
a0b7e30fe7
Bump v18.0.0-nightly.20220125
2022-01-25 05:01:35 -08:00
Michaela Laurencin
2f0d5651a9
feat: add WCO height option ( #31222 )
...
* feat: add WCO height option
* add docs and mac functionality
* add macOS functionality and height lowerbound
* Update docs/api/browser-window.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* update macOS functionality
* add chromium related notes
* add test and fix pixel under button bug and fix typo
* revert changes to docs/api/frameless-window.md
* modify `useCustomHeight` calls
* update `useCustomHeight` and `getCurrentMargin`
* modify margin calculation
* fix minimum custom height on macOS
* Update window_buttons_proxy.mm
* fix specified traffic light positions
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-01-24 17:09:21 -05:00
Kevin
2fe5d0e1e8
feat: Added missing info to IAP transaction and product structures ( #31739 )
2022-01-24 08:55:18 -08:00
Matthew Rayermann
d26d337bb8
feat: add rawHeaders to IncomingMessage ( #31853 )
...
* Add response.rawHeaders to docs for IncomingMessage
* Remove trailing spaces
* Implement raw headers, add tests
* Fix lint issues
* Add example from NodeJS docs
* Fix lint issue in doc example
* Add missing #
2022-01-24 11:46:15 -05:00
Sudowoodo Release Bot
d1b48c0636
Bump v18.0.0-nightly.20220124
2022-01-24 05:01:18 -08:00
Milan Burda
9d054755d6
refactor: implement ajax() in tests using native fetch instead of jQuery ( #32579 )
2022-01-24 10:34:23 +01:00
Jeremy Rose
7032be660d
fix: bundle a11y strings in resources ( #32564 )
2022-01-21 10:04:06 -08:00
Sudowoodo Release Bot
f5e138a5e3
Bump v18.0.0-nightly.20220121
2022-01-21 05:02:26 -08:00
Sudowoodo Release Bot
11a8a296b5
Revert "Bump v18.0.0-nightly.20220120"
...
This reverts commit d619804fc8 .
2022-01-20 19:35:20 -08:00
John Kleinschmidt
6fb013fc10
ci: call autoninja without ninjalog_uploader_wrapper.py ( #32569 )
2022-01-20 19:58:04 -05:00
Jeremy Rose
87b3f6db9d
fix: undisable AXTextMarker and related APIs on MAS ( #32543 )
2022-01-20 15:42:43 -08:00
John Kleinschmidt
6b41356868
test: disable flaky test on WOA ( #32542 )
2022-01-20 13:59:02 -05:00
Sudowoodo Release Bot
d619804fc8
Bump v18.0.0-nightly.20220120
2022-01-20 05:01:34 -08:00
Jeremy Rose
84e2460012
fix: strip crashpad_handler binary ( #32540 )
2022-01-19 19:48:48 -08:00
Shelley Vohr
df50a0efb1
fix: undefined backgroundColor ( #32517 )
2022-01-19 15:51:12 -05:00
Shelley Vohr
b89361a991
fix: crash when saving edited PDF files ( #32512 )
2022-01-19 12:58:32 -05:00
Sudowoodo Release Bot
edfadda899
Bump v18.0.0-nightly.20220119
2022-01-19 05:01:13 -08:00
dependabot[bot]
92bbac8ab6
build(deps): bump shelljs from 0.8.3 to 0.8.5 ( #32481 )
...
Bumps [shelljs](https://github.com/shelljs/shelljs ) from 0.8.3 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases )
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.3...v0.8.5 )
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 12:26:47 -05:00
David Sanders
4903d47ef3
docs: fix broken images for symbol server setup ( #32485 )
2022-01-18 12:14:48 -05:00
AN
ac0d6bdb1e
Clarify will-redirect event doc ( #32093 )
2022-01-18 12:06:22 -05:00
Julia Nam
6860429bf4
Remove broken link and update CircleCI's name ( #32448 )
2022-01-18 12:02:35 -05:00
Sudowoodo Release Bot
015d54ac10
Bump v18.0.0-nightly.20220118
2022-01-18 05:01:15 -08:00
Sudowoodo Release Bot
b93f5fb066
Bump v18.0.0-nightly.20220117
2022-01-17 05:02:43 -08:00
David Sanders
0c75b3b2ea
fix: check for maximized window before unmaximizings ( #32438 )
2022-01-17 16:47:14 +09:00
Shelley Vohr
2a8d49a059
fix: maximize/unmaximize firing on linux ( #32441 )
2022-01-17 16:46:52 +09:00
Jeremy Rose
6e6f5efad9
fix: re-enable PartitionAlloc on macOS ( #32442 )
...
* fix: re-enable PartitionAlloc on macOS
* no need to copy ignore_result on linux
* factor out FixStdioStreams
* include buildflags.h in electron_main_linux
* #include electron/fuses
* more missing includes
2022-01-17 16:46:33 +09:00
David Sanders
fac61122d5
docs: fix anchors for broken relative links ( #32478 )
2022-01-17 16:36:19 +09:00
Sudowoodo Release Bot
868794a6bd
Bump v18.0.0-nightly.20220114
2022-01-14 05:01:00 -08:00
Takao Baba
f75a274019
fix: Corrupted title of alert dialog ( #32434 )
2022-01-13 16:23:36 -05:00
Shelley Vohr
7f4efb6747
fix: desktop screen capture on macOS not releasing ( #32435 )
2022-01-13 16:21:28 +01:00
Shelley Vohr
6c88e3b8e7
fix: optional postMessage transfer arg ( #32433 )
2022-01-13 14:52:48 +01:00
Sudowoodo Release Bot
1aaa0fad69
Bump v18.0.0-nightly.20220113
2022-01-13 05:01:31 -08:00
Charles Kerr
ddd66543f7
docs: explicitly allow string for MessageBoxOptions.icon ( #32422 )
...
Fixes #32390 . See #19782 for context.
2022-01-13 10:30:15 +09:00
Gellert Hegyi
f4548985f4
fix: use setAspectRatio for frameless window on mac ( #32287 )
...
* fix(window): setAspectRatio for frameless windows
* dummy
* undo dummy
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2022-01-13 09:42:42 +09:00
David Sanders
506d82a902
chore: update IsWebContentsCreationOverridden patch ( #32421 )
2022-01-13 09:41:06 +09:00
Jeremy Rose
0a7bc4f5d1
feat: expose blowfish cipher family ( #32356 )
...
Closes #20238
2022-01-12 10:44:28 -08:00
Sudowoodo Release Bot
de436f040f
Bump v18.0.0-nightly.20220112
2022-01-12 05:01:36 -08:00
Milan Burda
99ee1fc0eb
fix: will-attach-webview handler modifying params.instanceId does not break <webview> ( #32386 )
2022-01-12 16:41:20 +09:00
David Sanders
cbe68bdbb8
chore: update DesktopMediaList patch ( #32414 )
2022-01-12 16:39:49 +09:00
David Sanders
2bbba9e242
chore: fix incorrect usage of reference ( #32413 )
2022-01-12 16:39:30 +09:00
David Sanders
94db8cd45e
chore: update notification provenance patch ( #32415 )
2022-01-11 11:27:24 -08:00
Charles Kerr
5d90ff083f
build: pin colors to v1.4.0 in package.json ( #32420 )
2022-01-11 11:24:54 -08:00
electron-roller[bot]
cb927af455
chore: bump node to v16.13.2 (main) ( #32418 )
...
* chore: bump node in DEPS to v16.13.2
* chore: update patches
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-01-11 10:12:30 -06:00
Sudowoodo Release Bot
d640260592
Bump v18.0.0-nightly.20220111
2022-01-11 05:01:39 -08:00
electron-roller[bot]
b0f315a637
chore: bump chromium to 99.0.4767.0 (main) ( #31986 )
...
* chore: bump chromium in DEPS to 98.0.4726.0
* 3292117: Remove unneeded base/compiler_specific.h includes in //chrome.
https://chromium-review.googlesource.com/c/chromium/src/+/3292117
* 3289198: Enables calculating line, word and sentence boundaries on the browser
https://chromium-review.googlesource.com/c/chromium/src/+/3289198
* 3276176: Remove expired gdi-text-printing flag and associated code.
https://chromium-review.googlesource.com/c/chromium/src/+/3276176
* 3240963: content: allow embedder to prevent locking scheme registry
https://chromium-review.googlesource.com/c/chromium/src/+/3240963
* 3269899: Rename WebContentsImpl::GetFrameTree to GetPrimaryFrameTree
https://chromium-review.googlesource.com/c/chromium/src/+/3269899
* chore: fixup patch indices
* 3276279: Enable -Wshadow by default for the "chromium code" config.
https://chromium-review.googlesource.com/c/chromium/src/+/3276279
* 3279737: appcache: Remove WebPreference/WebSetting
https://chromium-review.googlesource.com/c/chromium/src/+/3279737
* 3275564: [api] Advance API deprecation for APIs last marked in v9.6
https://chromium-review.googlesource.com/c/v8/v8/+/3275564
* 3261873: Clean up WebScriptSource constructors
https://chromium-review.googlesource.com/c/chromium/src/+/3261873
* 3279346: appcache: Remove ConsoleMessage appcache field
https://chromium-review.googlesource.com/c/chromium/src/+/3279346
* 3264212: Move legacy file loading to legacy_test_runner
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3264212
Both Persistence and UI have been removed from globals, but the issues they
seemed to be patching are no longer reproducible from what I can tell, and
so we can just delete these and re-evaluate if something surfaces.
* 3290415: x11: remove the USE_X11 define.
https://chromium-review.googlesource.com/c/chromium/src/+/3290415
* chore: bump Chromium to 98.0.4728.0
* 3179530: Defer system calls in PrintingContext for OOP printing
https://chromium-review.googlesource.com/c/chromium/src/+/3179530
* 3299445: Consolidate is_win conditionals in chrome/test/BUILD.gn.
https://chromium-review.googlesource.com/c/chromium/src/+/3299445
* chore: update patch indices
* 3223975: Break PrintJobWorker OOP logic into separate class
https://chromium-review.googlesource.com/c/chromium/src/+/3223975
* chore: bump chromium in DEPS to 98.0.4730.0
* 3279001: Remove support for font-family: -webkit-pictograph
https://chromium-review.googlesource.com/c/chromium/src/+/3279001
* chore: fixup patch indices
* chore: bump chromium in DEPS to 98.0.4732.0
* chore: update patches
* chore: bump chromium in DEPS to 98.0.4734.0
* chore: bump chromium in DEPS to 98.0.4736.0
* chore: update patches
* chore: update printing patch for miracle ptr
* chore: add noexcept to fix clang error
* chore: bump chromium in DEPS to 98.0.4738.0
* chore: update patches
* chore: bump chromium in DEPS to 98.0.4740.0
* chore: bump chromium in DEPS to 98.0.4742.0
* chore: bump chromium in DEPS to 98.0.4744.0
* chore: bump chromium in DEPS to 98.0.4746.0
* chore: bump chromium in DEPS to 98.0.4748.0
* chore: bump chromium in DEPS to 98.0.4750.0
* chore: update patches
* 3293841: Remove File Handling permissions code
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3293841
* chore: update patches
3311700: Move the PpapiPluginSandboxedProcessLauncherDelegate | https://chromium-review.googlesource.com/c/chromium/src/+/3311700
* 3289260: [CodeHealth]: Remove uses of Notification Service
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3289260
* 3301600: Disable scripted print in fenced frames
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3301600
* chore: add missing thread_restrictions headers
* 3305132: Rewrite most `Foo* field_` pointer fields to `raw_ptr<Foo> field_`.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3305132
* fix: add ppapi_sandbox header for linux
3311700: Move the PpapiPluginSandboxedProcessLauncherDelegate | https://chromium-review.googlesource.com/c/chromium/src/+/3311700
* chore: manually bump chromium in DEPS to 98.0.4757.0
* chore: update patches
* 3321044: Remove DictionaryValue::Clear()
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3321044
* chore: update printing.patch
Refs:
- 3304556: [code health] Remove notification observation from PrintJob. | https://chromium-review.googlesource.com/c/chromium/src/+/3304556
- 3305095: [code health] Remove NotificationService from PrintViewManagerBase. | https://chromium-review.googlesource.com/c/chromium/src/+/3305095
* build: add v8-embedder-state headers to GN patch
* chore: bump chromium in DEPS to 99.0.4767.0
* chore: update patches
* chore: rename CookiePartitionKeychain
...to CookiePartitionKeyCollection
* chore: update video consumers
* refactor: use newer base::Value API
* 3232598: Convert net::DnsOverHttpsServerConfig into a class | https://chromium-review.googlesource.com/c/chromium/src/+/3232598
* 3327865: Remove the default WebContentsUserData ctor. | https://chromium-review.googlesource.com/c/chromium/src/+/3327865
* 3302814: DevTools: Add getPreference binding | https://chromium-review.googlesource.com/c/chromium/src/+/3302814
* 3301474: [tq][runtime] Use build flags for JS context promise hooks | https://chromium-review.googlesource.com/c/v8/v8/+/3301474
* oops 😵💫
* 3272411: Reland "base/allocator: Enable PartitionAlloc-Everywhere on macOS" | https://chromium-review.googlesource.com/c/chromium/src/+/3272411
build: turn PartitionAlloc back off on mac for now
* fix: WCO method got renamed
* 3344749: Revert "Stop using NSRunLoop in renderer process"
https://chromium-review.googlesource.com/c/chromium/src/+/3344749
* 3288746: [serial] Fix BluetoothSerialDeviceEnumerator threading issues.
https://chromium-review.googlesource.com/c/chromium/src/+/3288746
* Revert "3288746: [serial] Fix BluetoothSerialDeviceEnumerator threading issues."
This reverts commit 5cc69f102e43ca72ac9ef45063711bcc7d849740.
* chore: disable serial device enumerator sequence dcheck
* fix: comment out line in DeviceService dtor
* fixup! 3279001: Remove support for font-family: -webkit-pictograph
* fixup! 3279346: appcache: Remove ConsoleMessage appcache field
* chore: update patches after rebase
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: VerteDinde <khammond@slack-corp.com >
Co-authored-by: clavin <clavin@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-01-10 17:31:39 -05:00
Romain Pokrzywka
483808a8cf
fix: Support running git-[im,ex]port-patches with Python3 too ( #32303 )
...
* script: Python3 compatibility for utf8 conversion
The unicode() method has been renamed to str() in Python3,
add a wrapper around it to support running against both versions.
* script: don't require python2 for git-[import,export]-patches
The scripts work just fine with python3 too, so use the generic
python executable as the script interpreter.
Most setups don't even require or provide python 2 anymore,
so this saves one from having to install it just for the scripts.
2022-01-10 16:47:55 -05:00
Raymond Zhao
746927c972
feat: Add first-instance-ack event to the app.requestSingleInstanceLock() flow ( #31460 )
...
* feat: Add onFirstInstanceAck event for requestSingleInstanceLock
* Add tests
* Apply patch fix
* Add back missing docs
* Rebase
* Listen for exit earlier in test
* Rebase
2022-01-10 11:54:46 -05:00
Sudowoodo Release Bot
7c16ef1f62
Bump v18.0.0-nightly.20220110
2022-01-10 05:02:55 -08:00
Evan Hahn
ef058892bb
docs: clarify case insensitive dictionary hosting ( #32222 )
...
You must either (1) have a case-insensitive file server (2) upload files in both casings. This improves the docs to clarify that.
[0]: https://github.com/electron/electron/issues/22482#issuecomment-593617375
2022-01-10 11:07:46 +01:00
David Sanders
bd861e5079
docs: fix note for will-move event ( #32362 )
2022-01-10 11:02:16 +01:00
Milan Burda
cb2c1f888e
fix: incorrect skipTransformProcessType option parsing in win.setVisibleOnAllWorkspaces() ( #32364 )
2022-01-10 11:00:28 +01:00
Milan Burda
6d8a858897
docs: left is a valid mode in contents.openDevTools() options ( #32372 )
2022-01-10 10:50:18 +01:00
Sudowoodo Release Bot
948db1d881
Bump v18.0.0-nightly.20220107
2022-01-07 05:01:26 -08:00
Tommy MacWilliam
824c909e2a
fix: Allow npm_config_arch override on mac ( #32266 )
...
If the npm_config_arch environment variable is set on Mac, then use the
specified architecture rather than overriding it to x64.
2022-01-07 17:53:15 +09:00
Milan Burda
7678a0aebb
chore: cleanup spec-main/ambient.d.ts ( #32363 )
2022-01-07 17:52:47 +09:00
Raymond Zhao
88ae6c0635
fix: Don't create console window when creating process ( #32340 )
...
* fix: Don't create console window when creating process
* Update patches/node/fix_don_t_create_console_window_when_creating_process.patch
Co-authored-by: Robo <hop2deep@gmail.com >
* Remove extra line in description
Co-authored-by: Robo <hop2deep@gmail.com >
2022-01-07 17:38:34 +09:00
Jeremy Rose
a015332342
fix: drop nativeWindowOpen deprecation warning ( #32370 )
2022-01-06 12:01:55 -08:00
Mitchell Cohen
5af6b898d9
feat: add Substitutions menu roles on macOS ( #32024 )
2022-01-06 10:41:28 -08:00
Jeremy Rose
d44a187d0b
feat: remove nativeWindowOpen option ( #29405 )
...
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2022-01-06 09:28:03 -08:00
Milan Burda
2f9fd06534
chore: deprecate nativeWindowOpen in Electron 17 ( #32116 )
2022-01-06 05:08:59 -08:00
Sudowoodo Release Bot
c3b9f0e7b2
Bump v18.0.0-nightly.20220106
2022-01-06 05:01:49 -08:00
MikeBusuttil
c1c710bc01
docs: improve BrowserView example ( #32098 )
...
* working example
previous example not beginner-friendly
* Update browser-view.md
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2022-01-06 12:09:36 +09:00
Timothy
30e0620ccc
docs: fix wording on testing documentation ( #32279 )
2022-01-06 09:24:52 +09:00
Keeley Hammond
b61805b63a
fix: use allocationtype kold in v8 scriptormodule legacy lifetime ( #32339 )
2022-01-05 11:43:28 -08:00
Sudowoodo Release Bot
dd4eae8a3b
Bump v18.0.0-nightly.20220105
2022-01-05 05:01:56 -08:00
vulture
62c1c86be9
Rename patch file to .patch to conform to naming standard which utilizes .gitattributes settings ( #32324 )
...
Co-authored-by: stsean <stsean@justin.tv >
2022-01-05 10:36:48 +01:00
Sudowoodo Release Bot
b63c190fe6
Bump v18.0.0-nightly.20220104
2022-01-04 05:01:25 -08:00
Shubham Kumar
cbdb2e6ec2
fix : #32141 register wrong command for setAsDefaultProtocolClient for windows ( #32220 )
2022-01-04 10:47:28 +09:00
Maciej Krawczyk
84f1d78558
docs: correct webFrame description ( #32205 )
...
The current description incorrectly states that the webFrame export represents the top frame but it actually represents the current frame.
2022-01-04 10:12:55 +09:00
Darshan Sen
4600d7e7f6
fix: crash caused by app.getLocaleCountryCode() ( #32256 )
...
CFLocaleGetValue() returned null and crashed the process when
app.getLocaleCountryCode() was run on a CircleCI metal resource class
macOS instance with Xcode 12.5.1. This change fixes that logic and adds
further checks to make the code future-proof.
Here too people are complaining that the returned country code migth be
null: https://stackoverflow.com/questions/15202454/nslocalecountrycode-returns-nil
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
2022-01-03 13:54:58 -08:00
Duncan Hewett
2c700da4de
docs: add Bugsnag as a 3rd party crash server ( #32053 )
2022-01-03 14:48:15 -05:00
Oran C
195d2b5b3e
[fix] Docs rendering issue with rendering on electronjs quick-start ( #32293 )
...
there is a issue with rendering on the bottom of page https://www.electronjs.org/docs/v14-x-y/tutorial/quick-start
which looks like this

all id did is remove the spacing and it should fix the issue. sometimes having spaces before a "```" will cause issues
hope this helps!
2022-01-03 11:18:02 -08:00
Romain Pokrzywka
727453ef04
build: remove stale dependency for webrtc desktop capture module ( #32304 )
...
WebRTC has changed how they integrate into Chromium, they don't
expose their dependencies externally anymore. Instead, one must
now go through webrtc_overrides:
https://chromium.googlesource.com/chromium/src.git/+/cbc90fd093956
We're already including webrtc_overrides as a dependency which
includes the modules, so this extra deps isn't needed anymore.
2022-01-03 11:57:00 -05:00
Sudowoodo Release Bot
84451e7daf
Bump v18.0.0-nightly.20220103
2022-01-03 05:04:24 -08:00
ganthern
f766bb483d
docs: fix typo in bug report issue template ( #32208 )
2022-01-03 10:35:19 +01:00
Jack Nemitz
1d8612ad5d
Fix typo in quick-start.md ( #32282 )
...
Resolve a grammar issue in the quick-start guide.
2022-01-03 09:59:55 +01:00
Sudowoodo Release Bot
ac39cb14e9
Bump v18.0.0-nightly.20211231
2021-12-31 05:01:03 -08:00
Sudowoodo Release Bot
f1b0d30d8d
Bump v18.0.0-nightly.20211229
2021-12-29 05:01:36 -08:00
Sudowoodo Release Bot
d59a4a0771
Bump v18.0.0-nightly.20211228
2021-12-28 05:01:13 -08:00
Sudowoodo Release Bot
6b2adea867
Revert "Bump v18.0.0-nightly.20211227"
...
This reverts commit 66a55ba778 .
2021-12-27 11:35:06 -08:00
Sudowoodo Release Bot
66a55ba778
Bump v18.0.0-nightly.20211227
2021-12-27 05:01:32 -08:00
Sudowoodo Release Bot
f17e8996ac
Bump v18.0.0-nightly.20211223
2021-12-23 05:02:41 -08:00
Sudowoodo Release Bot
b433163d7a
Bump v18.0.0-nightly.20211222
2021-12-22 05:04:57 -08:00
Sudowoodo Release Bot
79eaef4aab
Bump v18.0.0-nightly.20211221
2021-12-21 05:01:15 -08:00
Sudowoodo Release Bot
2b25e737a7
Bump v18.0.0-nightly.20211220
2021-12-20 05:02:21 -08:00
Keeley Hammond
ffbaa1d83f
fix: check for single bluetooth listener ( #32240 )
2021-12-17 16:55:43 -08:00
Sudowoodo Release Bot
909dbe6890
Bump v18.0.0-nightly.20211217
2021-12-17 05:01:12 -08:00
electron-roller[bot]
eaae6c1553
chore: bump node to v16.13.1 (main) ( #32086 )
...
* chore: bump node in DEPS to v16.13.1
* update patches
* update c-ares BUILD.gn
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org >
2021-12-16 14:41:25 -08:00
Micha Hanselmann
e9420982d2
fix: older systems crash when playing media files ( #32046 )
...
* fix: win7 crash when playing media
* reset
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-12-16 09:23:30 -08:00
Sudowoodo Release Bot
c1b3b3064b
Bump v18.0.0-nightly.20211216
2021-12-16 05:00:36 -08:00
Samuel Attard
a11f5cbb27
fix: ensure bluetooth devices are not returned by default ( #32178 )
2021-12-15 11:46:48 -08:00
Sudowoodo Release Bot
1facbb4a09
Bump v18.0.0-nightly.20211215
2021-12-15 05:02:27 -08:00
Dennis
d5b6a2f800
Update discord url to electronjs ( #32173 )
...
The discord url in this page is discord.gg/electron, which refers to a (supposed) roblox scripting group.
2021-12-14 13:25:56 -08:00
Sudowoodo Release Bot
292409a301
Bump v18.0.0-nightly.20211214
2021-12-14 05:01:26 -08:00
Sudowoodo Release Bot
f887ca0082
Bump v18.0.0-nightly.20211213
2021-12-13 05:01:46 -08:00
stephen9357
6d9e2e3ad0
docs: Fix environment variable name ( #32094 )
...
The names of environment variables are case-sensitive on Linux and Mac.
2021-12-13 15:42:43 +09:00
Sudowoodo Release Bot
c4e471fbe2
Bump v18.0.0-nightly.20211210
2021-12-10 05:02:25 -08:00
Sudowoodo Release Bot
1341b0a6b7
Bump v18.0.0-nightly.20211209
2021-12-09 05:01:05 -08:00
Sudowoodo Release Bot
cf0959f834
Bump v18.0.0-nightly.20211208
2021-12-08 05:01:41 -08:00
Sudowoodo Release Bot
f615075847
Bump v18.0.0-nightly.20211207
2021-12-07 14:57:31 -08:00
Sudowoodo Release Bot
d53399ea31
Revert "Bump v18.0.0-nightly.20211207"
...
This reverts commit df7eb209a5 .
2021-12-07 08:21:50 -08:00
Sudowoodo Release Bot
df7eb209a5
Bump v18.0.0-nightly.20211207
2021-12-07 05:01:42 -08:00
Sudowoodo Release Bot
12c5b9eaac
Bump v18.0.0-nightly.20211206
2021-12-06 05:01:29 -08:00
Cheng Zhao
35ac7fb8e6
fix: window.open not overriding parent's webPreferences ( #32057 )
...
* fix: window.open not overriding parent's webPreferences
* test: remove "nativeWindowOpen: false" from renderer tests
2021-12-06 12:54:14 +09:00
Milan Burda
77287febf4
refactor: use process type specific electron imports in default_app ( #32097 )
2021-12-06 11:44:41 +09:00
fengmk2
f46e9c3205
docs: change China mirror domain to npmmirror.com ( #32076 )
2021-12-06 11:28:41 +09:00
Sudowoodo Release Bot
f3df76dbdc
Bump v18.0.0-nightly.20211203
2021-12-03 05:02:32 -08:00
Sudowoodo Release Bot
0c5b01f5f6
Bump v18.0.0-nightly.20211202
2021-12-02 05:05:03 -08:00
Tristan Partin
eabfd6c1b9
fix: gtk_native_dialog_run() calls show() internally ( #32049 )
...
In the synchronous code path, gtk_native_dialog_run() will call
gtk_native_dialog_show(). Previously this was causing an assertion to be
hit at run time.
2021-12-01 20:19:36 -08:00
Sudowoodo Release Bot
cce427dc46
Bump v18.0.0-nightly.20211201
2021-12-01 05:00:57 -08:00
Samuel Attard
ed7f9ad5c2
fix: avoid double call in OnRefreshComplete on aura platforms ( #32052 )
2021-11-30 15:12:39 -08:00
Black-Hole
bc8cfbac59
docs: add debug build ( #31979 )
...
* docs: add debug build
* docs: move debug config document to debugging.md
* fix: debug.gn import failed
* docs: modify debug.gn folder on doc
* docs: imporve gn import path
2021-11-30 16:40:58 -05:00
Sudowoodo Release Bot
3d34fd7c91
Bump v18.0.0-nightly.20211130
2021-11-30 11:14:36 -08:00
Sudowoodo Release Bot
ab92455fc8
Revert "Bump v18.0.0-nightly.20211130"
...
This reverts commit 90410e0419 .
2021-11-30 09:49:21 -08:00
Sudowoodo Release Bot
90410e0419
Bump v18.0.0-nightly.20211130
2021-11-30 09:18:59 -08:00
Keeley Hammond
83a4b234d7
build: account for path-filtering workflow in release-build script ( #32063 )
...
* build: account for path-filtering workflow in release-build script
* build: update syntax for workflow id
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-11-30 09:17:04 -08:00
Sudowoodo Release Bot
3278ff6a05
Revert "Bump v18.0.0-nightly.20211130"
...
This reverts commit 395b43b293 .
2021-11-30 09:16:09 -08:00
Sudowoodo Release Bot
395b43b293
Bump v18.0.0-nightly.20211130
2021-11-30 05:00:57 -08:00
Keeley Hammond
43f36b5b24
build: add CI path-filtering for docs-only changes ( #31741 )
...
build: (wip) initial dynamic config research
* build: (wip) test path filtering option
* build: (wip) remove doc-only script, use path filtering to check changes
* build: (wip) add docker image with Electron dependencies
* build: (wip) clean up config
* build (wip): readd parameters, executors and env*s
* build: re-add steps and commands
* build: change doc-only to ts-compile-doc-only
* build: re-add workflows and jobs
* build: split configs to setup & build
* build: move lint to "always run" config
* build: clean up, remove old reference config
* build: bump to path-filtering 0.1.0
* build: remove ts-compile step from build-linux
* build: remove nightly-linux-release-test, linux-checks-nightly
* build: don't run build on publish
* build: set base-revision to main (runs branch vs commit)
* build: update config from chromium roll
2021-11-29 18:09:07 -05:00
Sudowoodo Release Bot
46634bc0f2
Bump v18.0.0-nightly.20211129
2021-11-29 05:03:23 -08:00
Sudowoodo Release Bot
24d272ca41
Bump v18.0.0-nightly.20211126
2021-11-26 05:01:27 -08:00
Erick Zhao
b4b0667d52
chore: make Discord invite non-vanity ( #31991 )
2021-11-26 13:10:07 +13:00
Sudowoodo Release Bot
4609d4cb7a
Bump v18.0.0-nightly.20211125
2021-11-25 05:01:26 -08:00
Sudowoodo Release Bot
3834aaf4e9
Bump v18.0.0-nightly.20211124
2021-11-24 12:47:25 -08:00
John Kleinschmidt
f1b8f9692d
chore: update patches ( #31988 )
2021-11-24 15:35:48 -05:00
Sudowoodo Release Bot
b49a9629c0
Revert "Bump v18.0.0-nightly.20211124"
...
This reverts commit e53f1af97e .
2021-11-24 07:28:53 -08:00
Sudowoodo Release Bot
e53f1af97e
Bump v18.0.0-nightly.20211124
2021-11-24 05:02:04 -08:00
electron-roller[bot]
bd10b19b0c
chore: bump chromium to 98.0.4706.0 (main) ( #31555 )
...
* chore: bump chromium in DEPS to 97.0.4678.0
* chore: bump chromium in DEPS to 97.0.4679.0
* chore: bump chromium in DEPS to 97.0.4680.0
* chore: bump chromium in DEPS to 97.0.4681.0
* chore: bump chromium in DEPS to 97.0.4682.0
* chore: update patches
* 3234737: Disable -Wunused-but-set-variable
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3234737
* 3216953: Reland "Move task-related files from base/ to base/task/"
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3216953
* 3202710: TimeDelta factory function migration.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3202710
* 3226841: Rename WCO::RenderProcessGone to PrimaryMainFrameRenderProcessGone
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3226841
* 3212165: blink/gin: changes blink to load snapshot based on runtime information
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3212165
* 3220292: Deprecate returning a GURL from GURL::GetOrigin()
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3220292
* 3231995: build: Enable -Wbitwise-instead-of-logical everywhere except iOS and Windows
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3231995
* 3205121: Remove base::DictionaryValue::GetDouble
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3205121
* 3208413: [flags] Make --js-flags settings have priority over V8 features
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3208413
* chore: bump chromium in DEPS to 97.0.4683.0
* chore: update patches
* 3188834: Combine RWHVBase GetCurrentDeviceScaleFactor/GetDeviceScaleFactor
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3188834
* chore: update process_singleton patches
* chore: bump chromium in DEPS to 97.0.4684.0
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4685.0
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4686.0
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4687.0
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4688.0
* chore: update patches
* 3247722: Use correct source_site_instance if navigating via context menu
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3247722
Update signature of HandleContextMenu()
* 3247722: Use correct source_site_instance if navigating via context menu
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3247722
Update signature of HandleContextMenu()
* 3223422: Remove PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_PLUGINPRIVATE enum option
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3223422
sync pepper_plugin_support.patch with upstream
* chore: bump chromium in DEPS to 97.0.4689.0
* 3247791: ax_mac_merge: Merge AX Math attribute implementations
Xref: ax_mac_merge: Merge AX Math attribute implementations
chore: fix minor patch shear in #includes
* 3243425: Add VisibleTimeRequestTrigger helper class
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3243425
chore: fix minor patch shear in #includes
* chore: regen chromium patches
* fixup! 3247722: Use correct source_site_instance if navigating via context menu
* chore: bump chromium in DEPS to 97.0.4690.0
* 3188659: Window Placement: make GetScreenInfo(s) const
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3188659
simple sync GetScreenInfo with upstream refactor
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4690.4
* chore: bump chromium in DEPS to 97.0.4692.0
* 3198073: ozone: //content: clean up from USE_X11
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3198073
Fixing patch shear. Nothing to see here.
* 3252338: Remove label images checkbox from chrome://accessibility page
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3252338
Part of our a11y patch is no longer needed due to upstream label removal
* 3258183: Remove DISALLOW_IMPLICIT_CONSTRUCTORS() definition
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3258183
Replace our use of the macro with explicitly-deleted class methods.
See https://chromium-review.googlesource.com/c/chromium/src/+/3256952
for upstream examples of this same replacement.
* chore: update patches
* 3247295: Unwind SecurityStyleExplanations
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3247295
update GetSecurityStyle() signature and impl to match upstream changes
* 3259578: media: grabs lock to ensure video output when occluded
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3259578
Add stub for new upstream virtual method OnCapturerCountChanged()
* fixup! 3247295: Unwind SecurityStyleExplanations
* 3238504: Fix up drag image is not shown from bookmark bar
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3238504
SetDragImage() no longer takes a widget argument
* 3217452: [devtools] Add getSyncInformation host binding
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3217452
Add stub for new upstream method GetSyncInformation(). Stub sends info back to caller saying that syncing is disabled.
* chore: bump chromium in DEPS to 98.0.4693.0
* chore: bump chromium in DEPS to 98.0.4694.0
* chore: bump chromium in DEPS to 98.0.4695.0
* chore: bump chromium in DEPS to 98.0.4696.0
* chore: bump chromium in DEPS to 98.0.4697.0
* chore: bump chromium in DEPS to 98.0.4699.0
* chore: bump chromium in DEPS to 98.0.4701.0
* chore: bump chromium in DEPS to 98.0.4703.0
* chore: bump chromium in DEPS to 98.0.4705.0
* chore: bump chromium in DEPS to 98.0.4706.0
* chore: update patches
* 3279210: Rename "base/macros.h" => "base/ignore_result.h"
https://chromium-review.googlesource.com/c/chromium/src/+/3279210
* 3259964: Remove all DISALLOW_COPY_AND_ASSIGNs
https://chromium-review.googlesource.com/c/chromium/src/+/3259964
* 3269029: blink/gin: sets histogram callbacks during isolate creation
https://chromium-review.googlesource.com/c/chromium/src/+/3269029
* fixup after rebase
* [content] Make ContentMainParams and MainFunctionParams move-only
https://chromium-review.googlesource.com/c/chromium/src/+/3244976
* 3255305: Stop sending the securityStateChanged event and unwind
https://chromium-review.googlesource.com/c/chromium/src/+/3255305
* [Blink] Add promise support to WebLocalFrame::RequestExecuteScript()
https://chromium-review.googlesource.com/c/chromium/src/+/3230010
* 3256162: Simplify RWHV Show and ShowWithVisibility handling
https://chromium-review.googlesource.com/c/chromium/src/+/3256162
* 3263824: ozone: //ui/base: clean up from USE_X11 1/*
https://chromium-review.googlesource.com/c/chromium/src/+/3263824
* Request or cancel RecordContentToPresentationTimeRequest during capture
https://chromium-review.googlesource.com/c/chromium/src/+/3256802
* appcache: remove BrowsingData/quota references
https://chromium-review.googlesource.com/c/chromium/src/+/3255725
* [Autofill] Don't show Autofill dropdown if overlaps with permissions
https://chromium-review.googlesource.com/c/chromium/src/+/3236729
* Rename to_different_document to should_show_loading_ui in LoadingStateChanged() callbacks
https://chromium-review.googlesource.com/c/chromium/src/+/3268574
* cleanup patch
* fixup [content] Make ContentMainParams and MainFunctionParams move-only
* 3279210: Rename "base/macros.h" => "base/ignore_result.h"
https://chromium-review.googlesource.com/c/chromium/src/+/3279210
* ozone: //chrome/browser clean up from USE_X11
https://chromium-review.googlesource.com/c/chromium/src/+/3186490
Refs: https://github.com/electron/electron/issues/31382
* chore: update support_mixed_sandbox_with_zygote.patch
* Enable -Wunused-but-set-variable.
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3234737
* fixup! ozone: //ui/base: clean up from USE_X11 1/*
* fixup! ozone: //chrome/browser clean up from USE_X11
* chore: fix deprecation warning in libuv
* chore: fixup for lint
* 3251161: Reland "Make the Clang update.py script require Python 3"
https://chromium-review.googlesource.com/c/chromium/src/+/3251161
* fixup: Enable -Wunused-but-set-variable.
* [base][win] Rename DIR_APP_DATA to DIR_ROAMING_APP_DATA
https://chromium-review.googlesource.com/c/chromium/src/+/3262369
* Replace sandbox::policy::SandboxType with mojom Sandbox enum
https://chromium-review.googlesource.com/c/chromium/src/+/3213677
* fixup: [content] Make ContentMainParams and MainFunctionParams move-only
* build: ensure angle has a full git checkout available to it
* fixup: [base][win] Rename DIR_APP_DATA to DIR_ROAMING_APP_DATA
* fixup lint
* [unseasoned-pdf] Dispatch 'afterprint' event in PDF plugin frame
https://chromium-review.googlesource.com/c/chromium/src/+/3223434
* fixup: [Autofill] Don't show Autofill dropdown if overlaps with permissions
* 3217591: Move browser UI CSS color parsing to own file part 2/2
https://chromium-review.googlesource.com/c/chromium/src/+/3217591
* Make kNoSandboxAndElevatedPrivileges only available to utilities
https://chromium-review.googlesource.com/c/chromium/src/+/3276784
* 3211575: [modules] Change ScriptOrModule to custom Struct
https://chromium-review.googlesource.com/c/v8/v8/+/3211575
* Address review feedback
* chore: update patches
* 3211575: [modules] Change ScriptOrModule to custom Struct
https://chromium-review.googlesource.com/c/v8/v8/+/3211575
* fix: unused variable compat
* chore: remove redundant patch
* fixup for 3262517: Re-enable WindowCaptureMacV2
https://chromium-review.googlesource.com/c/chromium/src/+/3262517
* chore: cleanup todo
The functions added in https://chromium-review.googlesource.com/c/chromium/src/+/3256802 are not used by offscreen rendering.
* fixup: update mas_no_private_api.patch
* 3216879: [PA] Make features::kPartitionAllocLazyCommit to be PartitionOptions::LazyCommit
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3216879 Fixes up commit b2f1aca956
* chore: cleanup support_mixed_sandbox_with_zygote.patch
* test: use window focus event instead of delay to wait for webContents focus
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <khammond@slack-corp.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-11-24 09:45:59 +01:00
Erick Zhao
065cad6d2c
docs: add playwright e2e testing docs ( #31961 )
2021-11-23 11:47:24 -08:00
Robo
9ab102e156
fix: console windows from ELECTRON_RUN_AS_NODE instances ( #31963 )
2021-11-23 09:34:07 -08:00
Sudowoodo Release Bot
681fe435fe
Bump v18.0.0-nightly.20211123
2021-11-23 05:01:47 -08:00
Sudowoodo Release Bot
4713acce8d
Bump v18.0.0-nightly.20211122
2021-11-22 05:00:55 -08:00
CezaryKulakowski
557e586667
fix: fix aspect ratio when max width/height is set ( #29101 )
...
Add the native frame border size to the minimum and maximum size if
the view reports its size as the client size. It allows to enlarge
window to proper values when aspect ratio and max width/height are
set. It also fixes DCHECK which was triggered when user tried to
enlarge window above dimensions set during creation of the
BrowserWindow.
2021-11-22 18:31:21 +09:00
Milan Burda
c4ea33d1bf
chore: add ELECTRON_ prefix to C++ include guards ( #31925 )
2021-11-22 16:34:31 +09:00
dependabot[bot]
0865267387
build(deps-dev): bump aws-sdk from 2.727.1 to 2.814.0 ( #31867 )
...
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js ) from 2.727.1 to 2.814.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases )
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.727.1...v2.814.0 )
---
updated-dependencies:
- dependency-name: aws-sdk
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 09:50:36 +09:00
Shelley Vohr
239ba7d905
fix: BrowserView setBackgroundColor needs two calls ( #31863 )
2021-11-22 09:38:05 +09:00
Black-Hole
38d2ec0cb6
fix: ninja build failed on some system ( #31887 )
2021-11-22 09:37:13 +09:00
Milan Burda
7ff15038d6
fix: lint Objective-C header files ( #31923 )
2021-11-22 09:36:32 +09:00
Sudowoodo Release Bot
98a5996b30
Bump v18.0.0-nightly.20211119
2021-11-19 05:02:11 -08:00
Sudowoodo Release Bot
eb56209206
Bump v18.0.0-nightly.20211118
2021-11-18 05:01:32 -08:00
Keeley Hammond
0cb46a3712
fix: add resource strings for file selection ( #31881 )
2021-11-17 14:13:49 -08:00
Keeley Hammond
3e71310a9f
chore: update nmv to 103 for Electron 18 ( #31778 )
2021-11-17 11:35:00 -08:00
Sergey Zolotarev
9f12edac65
Fix typo in distribution docs ( #31791 )
2021-11-17 12:20:24 -06:00
Donald D. Nevermore
706143fe85
docs: update cache paths in installation doc ( #31803 )
2021-11-17 10:16:08 -05:00
Sudowoodo Release Bot
dcf1df0959
Bump v17.0.0-nightly.20211117
2021-11-17 05:01:22 -08:00
Sudowoodo Release Bot
16ba2eff9a
Bump v17.0.0-nightly.20211116
2021-11-16 05:01:49 -08:00
Darshan Sen
25f2abb64d
chore: use std::forward() in ConvertToV8() ( #31817 )
...
The variable `input` is accepted by a universal reference, so it doesn't
make sense to cast a potential lvalue reference into an rvalue
reference. In case `input` is an lvalue reference, we should rather
forward the value as is to `ToV8()`.
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
2021-11-16 09:15:32 +01:00
Milan Burda
e6b1d95a1c
docs: type names changed from wrapper to primitive ( #31752 )
2021-11-15 22:13:18 -06:00
Samuel Attard
246884c4fb
fix: provide paths for all NetworkContextFilePaths keys ( #31777 )
...
* fix: provide paths for all NetworkContextFilePaths keys
* chore: include chrome features header
* chore: build browser_features
* yolo
* add pref service
* fix: include sandbox policy features
* fix pref key
* fix: gate pref key to OS_WIN
Co-authored-by: VerteDinde <khammond@slack-corp.com >
2021-11-15 15:26:09 -08:00
Shelley Vohr
65e4f75058
fix: make BrowserView aware of owning window ( #31796 )
2021-11-15 16:23:31 +01:00
Keeley Hammond
bf7b245fa0
fix: change cookie default from NO_RESTRICTION to LAX_MODE ( #31800 )
...
* fix: change default from NO_RESTRICTION to LAX_MODE
* chore: update cookie docs, redirect tests
2021-11-15 09:20:04 -06:00
Fedor Indutny
d9e93b3c4b
fix: media shouldn't open permissions dialog ( #31805 )
...
* fix: media shouldn't open permissions dialog
Playing media shouldn't open Accessibility permissions dialog on macOS.
However, we still need to watch for media events, just not globally and
`media_keys_listener_` is an API over global capture of the media keys.
The fix is to let chromium call `UpdateWhichKeysAreListenedFor` which
will call `UpdateSystemMediaControlsEnabledControls` and watch for
events on `system_media_controls_` without triggering permissions popup.
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-11-15 14:16:16 +01:00
Sudowoodo Release Bot
2e11f609ac
Bump v17.0.0-nightly.20211115
2021-11-15 05:01:56 -08:00
Micha Hanselmann
d4abb6fb66
fix: setContentProtection affects BrowserWindow frame ( #31768 )
2021-11-15 10:51:27 +01:00
Shelley Vohr
7e328c4b87
fix: crash on browserView.webContents.destroy() ( #31794 )
2021-11-15 08:24:22 +01:00
Charles Kerr
22f863b37a
fix: correct default text for button labels in gtk dialogs ( #31798 )
2021-11-15 08:18:33 +01:00
Charles Kerr
c8ba3b4556
fix: in GTK open dialog, do not preview huge files ( #31799 )
2021-11-15 08:17:11 +01:00
Cheng Zhao
a6a5ca1db3
fix: crash caused by GetHostNameW on Windows 7 ( #31804 )
2021-11-14 16:39:31 +09:00
Sudowoodo Release Bot
a41898bb9b
Bump v17.0.0-nightly.20211112
2021-11-12 05:00:58 -08:00
Charles Kerr
cac871c027
Revert "refactor: only create webContents after 'will-attach-webview' ( #30311 )" ( #31785 )
...
This reverts commit 6e43b0bcbf .
2021-11-11 15:04:06 -05:00
Sudowoodo Release Bot
09d160f406
Bump v17.0.0-nightly.20211111
2021-11-11 05:00:57 -08:00
Sofia Nguy
3108450c77
doc: Update E17 release dates ( #31786 )
2021-11-10 17:13:02 -08:00
Milan Burda
18cc33055d
chore: move libs only used in browser out of common ( #31780 )
2021-11-10 08:54:51 -08:00
Sudowoodo Release Bot
4c4ed6c705
Bump v17.0.0-nightly.20211110
2021-11-10 05:02:00 -08:00
Michaela Laurencin
6bc5fa3758
fix: generate angle brackets in release notes ( #31757 )
2021-11-10 10:06:59 +09:00
Milan Burda
dfb3b24de1
refactor: merge duplicate code from sandboxed/non-sandboxed renderer init ( #31755 )
2021-11-10 09:59:33 +09:00
Shelley Vohr
b40f3d4cfc
fix: BrowserView setBackgroundColor() ( #31746 )
2021-11-09 11:36:29 -05:00
Shelley Vohr
25cdbb7d3a
fix: failing Node.js certificate spec ( #31748 )
2021-11-09 11:29:04 -05:00
Sudowoodo Release Bot
0f83624693
Bump v17.0.0-nightly.20211109
2021-11-09 05:00:42 -08:00
Milan Burda
68b8e9be9a
chore: cleanup obsolete lib/common/remote/ipc-messages.ts ( #31756 )
2021-11-09 03:18:44 -08:00
John Kleinschmidt
4b3aed503f
test: fix crash in electron::NativeWindowMac::Close() ( #31750 )
...
* test: fix crash in electron::NativeWindowMac::Close()
* remove extra close
2021-11-08 19:27:32 -08:00
Milan Burda
fe7f296339
refactor: remove duplicate contextIsolation from getWebPreference() ( #31730 )
2021-11-08 11:57:56 -05:00
Sudowoodo Release Bot
4af21a1df8
Bump v17.0.0-nightly.20211108
2021-11-08 05:02:28 -08:00
Milan Burda
daed10512d
chore: remove Breakpad tests for crashReporter on Linux ( #31729 )
2021-11-08 10:20:43 +01:00
Milan Burda
97eb424450
refactor: move certificate_manager_model to shell ( #31631 )
2021-11-08 09:53:00 +09:00
Milan Burda
95a867b795
fix: <webview> background transparency ( #31722 )
2021-11-05 19:55:19 -07:00
Sudowoodo Release Bot
bc4308dcf8
Bump v17.0.0-nightly.20211105
2021-11-05 06:02:02 -07:00
henrit
3c33d70294
fix: clipboard.writeBuffer raw format access ( #31116 )
...
* fix: clipboard.writeBuffer raw format access
* test: clipboard.writeBuffer raw format access
* test: clipboard win32 test skip
* fixup spec
* cleanup patch
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-11-04 14:19:30 -04:00
John Kleinschmidt
f8df634197
test: deflake <webview> tag loads devtools extensions on WOA ( #31702 )
2021-11-04 14:00:28 -04:00
Shelley Vohr
96a04c67fd
fix: crash dump location on Linux ( #31668 )
...
* fix: crash dump location on Linux
* fix: ignore client_id for Zygote process
* chore: update comment
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2021-11-04 13:45:59 -04:00
Sudowoodo Release Bot
b6b9cec604
Bump v17.0.0-nightly.20211104
2021-11-04 06:04:56 -07:00
Raymond Zhao
9e0e04da25
fix: second-instance additionalData parameter ( #31661 )
...
* test: second-instance additionalData parameter
* Fix posix implementation
2021-11-04 01:14:09 -07:00
Keeley Hammond
86f6285299
fix: apply transparency settings to WebContentsPreferences ( #31685 )
...
* fix: add transparency to web_contents_preferences
* fix: correctly apply transparency settings to new webContents from webPreferences
2021-11-03 11:16:18 -07:00
Charles Kerr
190dd31dbc
refactor: use upstream AutofillDriverFactory diffs ( #31676 )
...
* refactor: use upstream AutofillDriverFactory diffs
Update our copy of AutofillDriver and AutofillDriverFactory to match chromium.
2021-11-03 12:17:06 -05:00
Shelley Vohr
24b02d68a7
fix: incorrect Content-Disposition serialization ( #31669 )
...
* fix: incorrect Content-Disposition serialization
* test: fixup test
2021-11-03 10:11:37 -04:00
Sudowoodo Release Bot
31e877515c
Bump v17.0.0-nightly.20211103
2021-11-03 06:05:31 -07:00
Milan Burda
65a980c673
refactor: replace deprecated DISALLOW_COPY_AND_ASSIGN ( #31633 )
2021-11-03 20:41:45 +09:00
Sudowoodo Release Bot
2a2a1a834c
Bump v17.0.0-nightly.20211102
2021-11-02 06:04:29 -07:00
Cheng Zhao
c4d35cd18c
fix: do not run dialog callback inside transaction commit ( #31606 )
2021-11-01 17:08:31 -04:00
electron-roller[bot]
1e618ef06c
chore: bump node to v16.13.0 (main) ( #31607 )
...
* chore: bump node in DEPS to v16.13.0
* chore: update patches
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-11-01 16:58:35 -04:00
John Kleinschmidt
c40a292099
test: fix test-datetime-change-notify after daylight change ( #31654 )
2021-11-01 16:31:12 -04:00
John Kleinschmidt
5899a72df9
fix: clipboard.read() to recognize custom types ( #31623 )
2021-11-01 10:00:36 -04:00
John Kleinschmidt
a938af3f54
fix: use disable-hid-blocklist to allow FIDO ( #31626 )
2021-11-01 10:00:07 -04:00
Sudowoodo Release Bot
97a109991e
Bump v17.0.0-nightly.20211101
2021-11-01 06:04:57 -07:00
Shelley Vohr
20b4813cf8
fix: crash on close window when webContents destroyed ( #31620 )
2021-11-01 13:32:54 +09:00
Sudowoodo Release Bot
a6e5ff3607
Bump v17.0.0-nightly.20211029
2021-10-29 06:02:06 -07:00
Shelley Vohr
639f4428a5
fix: navigator.keyboard.lock() not working ( #31572 )
...
* fix: navigator.keyboard.lock() not working
* chore: address review feedback
2021-10-28 10:23:05 -04:00
Sudowoodo Release Bot
120cff38c5
Bump v17.0.0-nightly.20211028
2021-10-28 06:01:45 -07:00
Erick Zhao
ec34c6c6e7
docs: update test automation doc ( #31506 )
...
* Update WebdriverIO documentation
* Update docs/tutorial/using-selenium-and-webdriver.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* Update docs/tutorial/using-selenium-and-webdriver.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* docs: update automated testing docs
* lint
* update
* Update docs/tutorial/automated-testing.md
Co-authored-by: Christian Bromann <github@christian-bromann.com >
* fixes
Co-authored-by: Christian Bromann <github@christian-bromann.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-10-28 11:17:43 +09:00
Robo
3bf42593ba
fix: use shorter paths for creating singleton sockets ( #31608 )
2021-10-27 12:25:08 -07:00
Sudowoodo Release Bot
e88a2955da
Bump v17.0.0-nightly.20211027
2021-10-27 06:05:09 -07:00
Keeley Hammond
0f0ed5921d
chore: fix supported versions automation ( #31602 )
2021-10-26 22:26:17 -07:00
Shelley Vohr
771a8f70da
docs: update development-related documentation ( #31043 )
...
* docs: update chromium development-related documentation
* chore: remove obsolete clang-format doc
clang-format linting and fixing is a pre-commit hook now
* docs: update debugging documentation
* docs: misc updates
* Update docs/development/debugging-on-windows.md
Co-authored-by: Micha Hanselmann <mh74182@gmail.com >
* Update docs/development/README.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/README.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/README.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/README.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/README.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/README.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/debugging-on-macos.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/testing.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/testing.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Micha Hanselmann <mh74182@gmail.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-10-27 10:18:38 +09:00
Erick Zhao
3193d7e99b
docs: link to Apple developer docs for app.ready event ( #31583 )
...
Changes some links around. There was no link for `NSUserNotification`, and
`UNNotificationResponse` incorrectly linked to our own `NotificationResponse`
API structure doc.
2021-10-27 09:06:01 +09:00
Milan Burda
be8b1a2727
chore: update chore_add_context_to_context_aware_module_prevention.patch ( #31579 )
2021-10-26 15:50:29 -04:00
Sudowoodo Release Bot
43987bbc19
Bump v17.0.0-nightly.20211026
2021-10-26 06:02:41 -07:00
Shelley Vohr
deb7ab2a40
fix: clipboard.read() crash ( #31566 )
2021-10-26 14:14:08 +02:00
Shelley Vohr
78626a5cc6
chore: fix malformed mojom::CreateNewWindowParams patch ( #31573 )
...
* chore: fix malformed mojom::CreateNewWindowParams patch
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-10-25 20:04:39 -04:00
Mitchell McCaffrey
23cdf65c53
feat: add webContents.getMediaSourceId() method ( #31204 )
...
* feat: add webContents.getMediaSourceId() method
* fix: account for null frame_hosts in webContents.getMediaSourceId()
* fix: move webContents.getMediaSourceId definition to be more organised
* fix: move webContents.getMediaSourceId implementation
* fix: move webContents.getMediaSourceId docs
2021-10-25 20:03:59 -04:00
Samuel Attard
63eed52626
fix: do not trigger CSP violations when checking eval ( #30991 )
...
* fix: do not trigger CSP violations when checking eval
* Update shell/renderer/api/electron_api_web_frame.cc
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-10-25 14:11:24 -07:00
Samuel Attard
add94f5fe6
build: retry hasher function if it fails first time ( #30899 )
...
* build: retry hasher function if it fails first time
* Update script/release/get-url-hash.js
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-10-25 14:11:07 -07:00
Darshan Sen
8f51d3e1bf
feat: add webContents.getPrintersAsync() ( #31023 )
...
This deprecates the synchronous and blocking `webContents.getPrinters()`
function and introduces `webContents.getPrintersAsync()`, which is
asynchronous and non-blocking.
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
2021-10-25 14:16:58 -04:00
electron-roller[bot]
b936f5e14a
chore: bump node to v16.12.0 (main) ( #31518 )
...
* chore: bump node in DEPS to v16.12.0
* chore: update patches
* esm: consolidate ESM Loader methods
https://github.com/nodejs/node/pull/37468
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-10-25 13:33:01 -04:00
Shelley Vohr
2a4b262354
fix: silent print settings ( #31489 )
...
* fix: silent print settings
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-10-25 11:52:52 -04:00
Shelley Vohr
5f3af5fdf1
docs: remove Nw.js comparison document ( #31053 )
2021-10-25 11:28:26 -04:00
Milan Burda
3332420886
docs: win.getParentWindow() returns BrowserWindow | null ( #31548 )
2021-10-25 11:10:33 -04:00
Sudowoodo Release Bot
084bcf56ff
Bump v17.0.0-nightly.20211025
2021-10-25 06:03:30 -07:00
Sudowoodo Release Bot
f020ec4748
Bump v17.0.0-nightly.20211022
2021-10-22 14:27:46 -07:00
Keeley Hammond
35d6c2fa98
chore: import base/macros.h into asar archive.h ( #31557 )
2021-10-22 14:26:55 -07:00
Sudowoodo Release Bot
690dbb7e62
Revert "Bump v17.0.0-nightly.20211022"
...
This reverts commit b8ea7bf90b .
2021-10-22 13:22:03 -07:00
Sudowoodo Release Bot
b8ea7bf90b
Bump v17.0.0-nightly.20211022
2021-10-22 06:01:55 -07:00
Shelley Vohr
1d0f94f6b3
fix: vibrant window should have transparent background ( #31493 )
2021-10-21 15:53:52 -04:00
Shelley Vohr
40a8e4fb58
fix: MediaMetadata not working properly ( #31492 )
2021-10-21 15:39:38 -04:00
electron-roller[bot]
87f7625c5d
chore: bump chromium to 96.0.4664.4 (main) ( #31317 )
...
* chore: bump chromium in DEPS to 96.0.4662.0
* chore: bump chromium in DEPS to 96.0.4663.0
* chore: update patches
* [Extensions] Remove RuntimeData entirely
https://chromium-review.googlesource.com/c/chromium/src/+/3177328
* Make helper macros behave consistently for //content/public UserData types
https://chromium-review.googlesource.com/c/chromium/src/+/3198788
* Enabling sandboxing for the speech recognition service browser tests
https://chromium-review.googlesource.com/c/chromium/src/+/3146090
* [devtools] Add 'RegisterPreference' host binding
https://chromium-review.googlesource.com/c/chromium/src/+/3162281
* [Reland][Extensions]: Add persistAcrossSessions flag (scripting API)
https://chromium-review.googlesource.com/c/chromium/src/+/3175161
* [Bluetooth] Add Passkey prompt dialog for bonding.
https://chromium-review.googlesource.com/c/chromium/src/+/2841104
* Clipboard: Remove ReadImage path in browser
https://chromium-review.googlesource.com/c/chromium/src/+/3194826
* Split printing metafile code into its own target.
https://chromium-review.googlesource.com/c/chromium/src/+/3164925
* Cleanup unused DesktopMediaListObserver params
https://chromium-review.googlesource.com/c/chromium/src/+/3179203
* Remove base::DictionaryValue::GetBinary
https://chromium-review.googlesource.com/c/chromium/src/+/3201974
* Window Placement: change RWHV::GetDisplayList to GetScreenInfos
https://chromium-review.googlesource.com/c/chromium/src/+/3138774
* Add a preview to the Tab Capture picker dialog
https://chromium-review.googlesource.com/c/chromium/src/+/3045268
* Add service-based usage to update print settings
https://chromium-review.googlesource.com/c/chromium/src/+/3155426
* chore: bump chromium in DEPS to 96.0.4664.2
* chore: update patches
* chore: bump chromium in DEPS to 96.0.4664.4
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4666.0
* Revert "chore: bump chromium in DEPS to 97.0.4666.0"
This reverts commit d73caae8ba4b39efc9b3ea4de52685b9c92ef3d0.
* Reland "Block external protocol handler with sandbox."
https://chromium-review.googlesource.com/c/chromium/src/+/3198263
* fixup for lint
* Add CookiePartitionKeychain parameter to CookeManager.GetCookieList.
https://chromium-review.googlesource.com/c/chromium/src/+/3206016
* Move ui/gfx/transform*,rrect*,mask_filter_info* into ui/gfx/geometry
https://chromium-review.googlesource.com/c/chromium/src/+/3200392
* fixup Move ui/gfx/transform*,rrect*,mask_filter_info* into ui/gfx/geometry
* ozone: //chrome/browser clean up from USE_X11
https://chromium-review.googlesource.com/c/chromium/src/+/3186490
* content: don't load v8 snapshot in browser process
https://chromium-review.googlesource.com/c/chromium/src/+/3183394
* [devtools] Add 'RegisterPreference' host binding
https://chromium-review.googlesource.com/c/chromium/src/+/3162281
* 3186491: Add 'devtools.sync_preferences' preference
https://chromium-review.googlesource.com/c/chromium/src/+/3186491
* 2951147: DCHECK accessible names for focusable Views
https://chromium-review.googlesource.com/c/chromium/src/+/2951147
* 3201014: Use real font size for calculation of SmallTextRatio
https://chromium-review.googlesource.com/c/chromium/src/+/3201014
* fixup Clipboard: Remove ReadImage path in browser
* chore: update patches
* fix: disable PlzServiceWorker to fix custom protocol SW script loading
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3199761
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-10-21 11:51:36 -07:00
Sudowoodo Release Bot
ed2aaed4bd
Bump v17.0.0-nightly.20211021
2021-10-21 06:02:28 -07:00
Sudowoodo Release Bot
6bd06c9a71
Bump v17.0.0-nightly.20211020
2021-10-20 06:04:11 -07:00
Keeley Hammond
14e2678b00
fix: don't use private enterprise APIs in MAS build ( #31482 )
2021-10-19 23:12:59 -07:00
Michaela Laurencin
a2d993c9b4
fix: remove 'NOTREACHED()' from 'GetWindowResizeEdge' ( #31470 )
2021-10-19 11:19:04 -05:00
Shelley Vohr
8364375347
fix: ensure TracingAgent in place for SWs ( #31459 )
2021-10-19 15:04:48 +02:00
Sudowoodo Release Bot
51b49d5bd8
Bump v17.0.0-nightly.20211019
2021-10-19 06:02:51 -07:00
Daniel Ramp
054a32785b
fix: link to image ( #31454 )
...
windows progress bar image was linked with square brackets [] insted of parenthesis () and to github asset storage instead of local image directory.
2021-10-19 17:43:10 +09:00
Erick Zhao
c3a8ad254a
docs: add window customization guide ( #31054 )
...
* docs: add window customization guide
* fixes
* Update docs/api/browser-window.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/api/browser-window.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/fiddles/windows/manage-windows/frameless-window/index.html
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/window-customization.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* fix code fence
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-10-19 09:58:35 +09:00
t57ser
7eaebe0bd6
fix: add isDestroyed check ( #31208 )
...
* Added isDestroyed check
fix: https://github.com/electron/electron/issues/31196
* fix: unregister frame name
Unregister the frame name so that we do not accidentally unregister the wrong window later on in case there is a timing issue with the events
* fix; check if webContents is destroyed
* fix: check if window/webContents is destroyed
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-10-19 09:57:10 +09:00
universalstrapping
14736c5f30
Avoid Undefined Variable In printToPdf Example ( #31455 )
2021-10-19 09:53:59 +09:00
Sudowoodo Release Bot
6f31683ea5
Bump v17.0.0-nightly.20211018
2021-10-18 06:03:07 -07:00
Sudowoodo Release Bot
e9c6f274f3
Bump v17.0.0-nightly.20211015
2021-10-15 06:01:08 -07:00
Raymond Zhao
db0a152bc1
feat: Add data parameter to app.requestSingleInstanceLock() ( #30891 )
...
* WIP
* Use serialization
* Rebase windows impl of new app requestSingleInstanceLock parameter
* Fix test
* Implement posix side
* Add backwards compatibility test
* Apply PR feedback Windows
* Fix posix impl
* Switch mac impl back to vector
* Refactor Windows impl
* Use vectors, inline make_span
* Use blink converter
* fix: ownership across sequences
* Fix upstream merge from Chromium
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2021-10-14 21:32:32 -04:00
Milan Burda
5592652504
feat: warn when ipcRenderer.sendSync() called with no listeners for channel ( #31344 )
2021-10-14 14:24:04 -04:00
Samuel Maddock
b744707536
fix: mac window crash native theme update ( #31329 )
2021-10-14 13:36:32 -04:00
Keeley Hammond
bff20bd769
fix: reset render_frame_disposed_ after render frame host change ( #31401 )
...
* fix: reset render_frame_disposed_ after hang
* fix: handle exception in webContents.send
2021-10-14 09:44:44 -07:00
CezaryKulakowski
11db6a7d9a
fix: event with invalid timestamp in trace log ( #31349 )
...
When node is started within Electron's environment it doesn't
initialize v8 and time of v8's start is never set. As a result
we log v8's start time as 0 and it breaks timestamps in the
trace log. With this change we log v8's start time only when
it was initialized by node.
2021-10-14 10:08:34 -04:00
Cheng Zhao
d1e0b6324a
fix: generate valid config.gypi ( #31404 )
2021-10-14 10:07:36 -04:00
Sudowoodo Release Bot
e883beadff
Bump v17.0.0-nightly.20211014
2021-10-14 06:02:25 -07:00
electron-roller[bot]
6c5fbe3566
chore: bump node to v16.11.1 (main) ( #31369 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-10-14 09:43:48 +02:00
Sudowoodo Release Bot
bc3198ed81
Bump v17.0.0-nightly.20211013
2021-10-13 16:14:39 -07:00
Samuel Attard
e4d5ddc85e
Revert "Bump v17.0.0-nightly.20211013"
...
This reverts commit b99b4e7f22 .
2021-10-13 16:13:52 -07:00
Maxime Serrano
b2a2b077da
fix: also pass securityOrigin to media permissions request handler ( #31357 )
2021-10-13 17:10:12 -04:00
Cheng Zhao
a751845afc
test: fix flaky contentTracing.startRecording spec ( #31409 )
2021-10-13 10:06:29 -04:00
Sudowoodo Release Bot
b99b4e7f22
Bump v17.0.0-nightly.20211013
2021-10-13 06:03:15 -07:00
Shelley Vohr
757c01587a
test: re-enable failing Node.js specs ( #31315 )
2021-10-12 20:59:40 +02:00
Sudowoodo Release Bot
22ae945311
Bump v17.0.0-nightly.20211012
2021-10-12 06:03:06 -07:00
Erick Zhao
5301795de6
docs: update Versioning doc ( #31248 )
...
* fix information
* move historical section to bottom
* Update docs/tutorial/electron-versioning.md
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2021-10-12 09:12:33 +09:00
Micha Hanselmann
95f81f5980
fix: black window on screen capture when content protection is enabled ( #31340 )
...
Co-authored-by: Micha Hanselmann <mhanselmann@microsoft.com >
2021-10-11 13:29:43 -07:00
Sudowoodo Release Bot
371b521dd2
Bump v17.0.0-nightly.20211011
2021-10-11 06:03:43 -07:00
Shelley Vohr
0e56b85604
chore: remove BoringSSL patch redundancy ( #31323 )
...
* chore: emove BoringSSL patch redundancy
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-10-11 10:07:17 +09:00
Shelley Vohr
f45bd693f4
chore: update false to use analogous function in SetGroups ( #31325 )
2021-10-11 10:02:26 +09:00
Cheng Zhao
0eb9c4b16d
fix: correctly notify WebViewGuestDelegate when webview is detached ( #31350 )
2021-10-11 09:33:35 +09:00
Milan Burda
f8e6d45b70
docs: nativeWindowOpen default was changed in Electron 15 ( #31345 )
2021-10-08 14:55:28 -07:00
Sudowoodo Release Bot
1e666e5076
Bump v17.0.0-nightly.20211008
2021-10-08 06:04:18 -07:00
Milan Burda
31e295a676
chore: update E17 node module version ( #31282 )
2021-10-07 10:25:56 -07:00
Sudowoodo Release Bot
65d7f893ad
Bump v17.0.0-nightly.20211007
2021-10-07 06:05:09 -07:00
Shelley Vohr
9c8bd18c41
fix: crash on missing render frame ( #31289 )
2021-10-07 07:26:18 +02:00
Samuel Attard
014ebbd6fa
feat: add commandLine.removeSwitch ( #30933 )
...
* feat: add commandLine.removeSwitch
In some cases apps may want to remove Chromium command line switches to avoid certain Chromium behaviors being used, E.g. remote-debugging-port or gpu-launcher
* fix: add missing removeSwitch to app.ts
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2021-10-06 16:45:58 -04:00
John Kleinschmidt
d6de243837
chore: refactor persisting permission granted to serial ports ( #31181 )
2021-10-06 16:18:00 -04:00
Sudowoodo Release Bot
21c6b33ebe
Bump v17.0.0-nightly.20211006
2021-10-06 06:04:50 -07:00
Milan Burda
36ed216040
docs: add missing 'context-menu' event to webview-tag.md ( #31277 )
2021-10-05 20:42:09 -07:00
Milan Burda
9505c2831a
test: add missing context-menu event spec for <webview> ( #31280 )
2021-10-05 20:41:34 -07:00
electron-roller[bot]
cc01272a8d
chore: bump chromium to 96.0.4647.0 (main) ( #30814 )
...
* chore: bump chromium in DEPS to 95.0.4630.0
* 3133701: Fix chrome root store codegen for cross-compile builds.
https://chromium-review.googlesource.com/c/chromium/src/+/3133701
* 49125: Include SHA512-256 in EVP_get_digestbyname and EVP_MD_do_all.
https://boringssl-review.googlesource.com/c/boringssl/+/49125
* chore: fixup patch indices
* 3131662: [Code Health] Remove ListValue::Append(Integer|Boolean)
https://chromium-review.googlesource.com/c/chromium/src/+/3131662
* chore: bump chromium in DEPS to 95.0.4631.0
* chore: update patches
* chore: bump chromium in DEPS to 95.0.4635.0
* chore: update patches
* chore: bump chromium in DEPS to 95.0.4636.0
* chore: bump chromium in DEPS to 95.0.4637.0
* chore: update patches
* refactor: move PlatformNotificationService into BrowserContext
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3137256
* refactor: ListValue::GetSize and ListValue::AppendString were removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3144540
* chore: bump chromium in DEPS to 95.0.4638.0
* chore: bump chromium in DEPS to 95.0.4638.4
* chore: bump chromium in DEPS to 96.0.4640.0
* chore: bump chromium in DEPS to 96.0.4641.0
* chore: bump chromium in DEPS to 96.0.4642.0
* chore: update patches
Co-authored-by: Michaela Laurencin <mlaurencin@electronjs.org >
* 3134756: Move extensions/browser/value_store to components/value_store.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3134756
* 3150092: [Autofill] Allow aligning Autofill suggestions to the field's center
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3150092
* chore: bump chromium in DEPS to 96.0.4643.0
* chore: update patches
* chore: bump chromium in DEPS to 96.0.4644.0
* chore: update patches
* chore: bump chromium in DEPS to 96.0.4645.0
* chore: update patches
* chore: bump chromium in DEPS to 96.0.4646.0
* chore: bump chromium in DEPS to 96.0.4647.0
* chore: update patches
Ref (for chromium): https://chromium-review.googlesource.com/c/chromium/src/+/3165772
* 3162087: Reland "Ensure Branch Target Identification is enabled for executable pages."
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3162087
* chore: update evert_add_inline_and_inline_origin_records_to_symbol_file.patch
Xref: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3166678
Xref: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3166674
* chore: update Allocator construction
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3135195
Change RefCount::kAllowed/Disallowed semantics into BackupRefPtr::kEnabled/Disabled
* chore: add UseConfigurablePool to v8::ArrayBuffer::Allocator invocation
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3090845
* chore: do not set network_context_params.context_name
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3155743
Remove name field from mojom::NetworkContext
* fix: use ForEachRenderFrameHost to iterate frames.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3163336
New implementation partially cribbed from
https://source.chromium.org/chromium/chromium/src/+/main:extensions/browser/script_executor.cc;drc=f894f106c6d5fac8e0b75158f622256e0f34f593;l=109
* [Blink Cleanup] Remove WebLocalFrame::RequestExecuteScriptAndReturnValue()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3149699
ExecuteJavaScript's RequestExecuteScript() new params are cribbed from
https://chromium-review.googlesource.com/c/chromium/src/+/3149699/4/third_party/blink/renderer/core/frame/web_local_frame_impl.cc
* Remove IsDescendantOf API on RenderFrameHost.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3165357
function is trivial to implement, so make a local copy in anon namespace
* Rewrite IsDescendantOf check to check GetParentOrOuterDocument.
https://chromium-review.googlesource.com/c/chromium/src/+/3160061
* Remove GetFramesInSubtree from RenderFrameHost
https://chromium-review.googlesource.com/c/chromium/src/+/3163336
* fix: dump_syms for macOS
* chore: update patches
* [Code Health] Remove ListValue::AppendString and ListValue::GetSize
https://chromium-review.googlesource.com/c/chromium/src/+/3144540
* fix: gn check
https://chromium-review.googlesource.com/c/chromium/src/+/3163890
* fix: crash with Isolate::GetHeapCodeAndMetadataStatistics
https://chromium-review.googlesource.com/c/v8/v8/+/3175820
* chore: update patches
* chore: fix windows build
* Add kPrintWithPostScriptType42Fonts feature.
https://chromium-review.googlesource.com/c/chromium/src/+/3150776
* chore: update patches
* chore: fix tests
* ozone/x11: fix VA-API.
https://chromium-review.googlesource.com/c/chromium/src/+/3141878
* Revert "ozone/x11: fix VA-API."
This reverts commit 23e742acb1 .
* Reland "Make Ozone/X11 default."
https://chromium-review.googlesource.com/c/chromium/src/+/3114071
* fixup Reland "Make Ozone/X11 default."
* fixup Reland "Make Ozone/X11 default." for clipboard
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: VerteDinde <khammond@slack-corp.com >
Co-authored-by: Michaela Laurencin <mlaurencin@electronjs.org >
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2021-10-05 19:21:00 -07:00
Cheng Zhao
959b657903
chore: remove Node.js patch on Module.globalPaths ( #31275 )
...
* chore: remove Node.js patch on Module.globalPaths
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-10-06 09:20:05 +09:00
Robo
2a92d8f962
refactor: only access memory coordinator interface from browser process ( #31295 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3174305
2021-10-05 15:30:31 -07:00
Samuel Attard
34599114ce
fix: return HTNOWHERE in resize hit test to allow draggable regions to kick in when required ( #30925 )
2021-10-05 12:48:22 -07:00
Sudowoodo Release Bot
7919851451
Bump v17.0.0-nightly.20211005
2021-10-05 06:05:15 -07:00
Shelley Vohr
d2508a6941
chore: add logging for print_backend failures ( #29884 )
2021-10-05 09:16:04 +02:00
Milan Burda
d7a7c120d1
fix: "Failed to serialize arguments" when emitting 'context-menu' for webview ( #31259 )
...
* fix: sanitize params for 'context-menu' event sent over IPC for webview
* Revert "fix: sanitize params for 'context-menu' event sent over IPC for webview"
This reverts commit 7fee455138 .
* fix: make frame property non-enumerable in params for 'context-menu' event
2021-10-04 14:00:25 -04:00
Sudowoodo Release Bot
3b2c46dfd6
Bump v17.0.0-nightly.20211004
2021-10-04 06:03:59 -07:00
Jeremy Rose
4fd7c2adcd
feat: make desktopCapturer main-process-only ( #30720 )
...
* feat: make desktopCapturer main-process-only
* remove --enable-api-filtering-logging
* remove test
* merge lib/browser/api/desktop-capturer.ts with lib/browser/desktop-capturer.ts
* remove desktop-capturer-get-sources event
* fix specs
* getSources needs to be async
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2021-10-04 12:16:00 +09:00
Ryan Johnson
6db8d7918d
fix: dialog is not defined ( #31180 )
...
Corrects the following error in Electron Fiddle:
```
Uncaught Exception:
ReferenceError: dialog is not defined
...
```
2021-10-04 10:12:55 +09:00
Tobias Nießen
e53bd1b72a
fix: fix typo in description of secureDnsMode ( #31255 )
2021-10-04 09:57:19 +09:00
Sudowoodo Release Bot
d2425472df
Bump v17.0.0-nightly.20211001
2021-10-01 06:03:54 -07:00
Juan Cruz Viotti
0e042ca64d
fix: Enable X509_V_FLAG_TRUSTED_FIRST flag in BoringSSL ( #31213 )
...
Fixes: https://github.com/electron/electron/issues/31212
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2021-09-30 13:22:14 -07:00
Sudowoodo Release Bot
6f684d564f
Bump v17.0.0-nightly.20210930
2021-09-30 06:02:17 -07:00
Shelley Vohr
e07d74cf29
chore: remove redundant 10.11 @avilable checks ( #31184 )
2021-09-30 11:41:28 +02:00
Shelley Vohr
2c10d0fe1b
fix: draggable regions in BrowserViews are independent ( #31085 )
2021-09-30 11:41:08 +02:00
Juan Cruz Viotti
1193a37d8f
build: Explicitly pass the project root to cpplint.py ( #31156 )
...
In order to validate that header guards match the corresponding file
names, `cpplint.py` determines the root of the project based on the
presence of a `.git` directory.
For space reasons, our Electron.js fork running on CircleCI deletes the
`.git` directories as upstream Electron.js does here:
cd09a54365/.circleci/config.yml (L426)
If the C++ linter is ran *after* deleting git directories, `cpplint.py`
gets the root wrong and throws errors for every single header guard in
the project.
Making sure we run the C++ linter *before* deleting git directories
fixes the issue. In any case, this commit always manually passes
`--project_root` to `cpplint.py` so that the implicit default is
explicitly declared and saves some confusion for the next person hitting
this.
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2021-09-29 17:44:41 -04:00
Alexey Kuzmin
2d111a4e25
chore: fix pylint ( #31138 )
...
* chore: fix pylint
* chore: fix linter errors
2021-09-29 13:10:13 -04:00
Sudowoodo Release Bot
22d683e3f8
Bump v17.0.0-nightly.20210929
2021-09-29 06:01:29 -07:00
Aidan Nulman
abf6f1cf78
fix: BrowserView drag now delegates to the OS when possible ( #31114 )
2021-09-28 21:12:22 +02:00
Sudowoodo Release Bot
4da66b9d68
Bump v17.0.0-nightly.20210928
2021-09-28 06:03:27 -07:00
electron-roller[bot]
02d3e66bcb
chore: bump node to v16.10.0 (main) ( #31094 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-09-28 09:29:44 +02:00
Sudowoodo Release Bot
3b155f7391
Bump v17.0.0-nightly.20210927
2021-09-27 13:52:10 -07:00
Milan Burda
80577a4f08
refactor: use native WeakRef instead of v8util.weaklyTrackValue() ( #31153 )
2021-09-27 16:50:42 -04:00
Black-Hole
a5f1fbdc54
fix: .lldbinit config stale (unavailable) ( #31108 )
2021-09-27 14:50:36 -04:00
Sudowoodo Release Bot
ecf191e71f
Revert "Bump v17.0.0-nightly.20210927"
...
This reverts commit 104e0f3059 .
2021-09-27 10:18:22 -07:00
Sudowoodo Release Bot
104e0f3059
Bump v17.0.0-nightly.20210927
2021-09-27 09:35:35 -07:00
Sudowoodo Release Bot
10d92e9f29
Revert "Bump v17.0.0-nightly.20210927"
...
This reverts commit a758a2eab3 .
2021-09-27 09:34:24 -07:00
Sudowoodo Release Bot
a758a2eab3
Bump v17.0.0-nightly.20210927
2021-09-27 09:07:06 -07:00
John Kleinschmidt
0f6560f1f7
Revert "Bump v17.0.0-nightly.20210927"
...
This reverts commit c377fe4ba6 .
2021-09-27 12:05:51 -04:00
Daryl Haresign
265474882c
docs: Update Branch Name ( #31106 )
...
* docs: Update CI Badge Branch Name
The CI badges were still pointing at builds for the master branch, which
are stale since the rename to main.
* docs: Update electron/electron Branch Name
Update electron/electron branch name from master to main.
* docs: Update electron/governance Branch Name
Update electron/governance branch name from master to main.
2021-09-27 11:35:56 -04:00
Robo
68c738a177
fix: crash in v8 due to regexp reentrancy ( #31102 )
2021-09-27 16:58:16 +02:00
Milan Burda
98ac0ca52a
fix: running tests with release build ( #31092 )
2021-09-27 16:58:03 +02:00
Sudowoodo Release Bot
c377fe4ba6
Bump v17.0.0-nightly.20210927
2021-09-27 06:04:08 -07:00
Shelley Vohr
25d0963d9b
fix: crash creating private key with unsupported algorithm ( #31087 )
...
* fix: crash creating private key with unsupported algorithm
* test: add regression test
2021-09-27 15:02:13 +02:00
Cheng Zhao
2360012cad
fix: avoid double free when destroying WebContents ( #31104 )
2021-09-27 09:20:55 +02:00
Sudowoodo Release Bot
1a6a8f55af
Bump v17.0.0-nightly.20210924
2021-09-24 06:01:55 -07:00
Shelley Vohr
53bf308497
chore: remove obsolete chunk of BoringSSL patch ( #31086 )
...
Made obsolete in https://boringssl-review.googlesource.com/c/boringssl/+/40484
and can now be removed.
2021-09-24 11:36:56 +02:00
Shelley Vohr
5e1fbc9025
test: re-enable some Node.js specs ( #31077 )
2021-09-24 09:54:20 +02:00
Keeley Hammond
d88e71f688
chore: remove gin::Wrappable crash keys ( #31075 )
...
* chore: remove gin wrappable crash keys
* chore: remove class headers from crash keys
2021-09-23 21:38:40 -07:00
Shelley Vohr
919fd0f28d
fix: first mouse not dragging BrowserView ( #31062 )
2021-09-23 17:35:12 -04:00
Sudowoodo Release Bot
da921e680f
Bump v17.0.0-nightly.20210923
2021-09-23 06:02:26 -07:00
John Kleinschmidt
6aece4a83d
feat: add support for WebHID ( #30213 )
...
* feat: add support for WebHID
* Apply suggestions from code review
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* Address review feedback
* Address review feedback
* chore: clear granted_devices on navigation
Also added test to verify devices get cleared
* fixup testing for device clear
* make sure navigator.hid.getDevices is run on correct frame
* clear granted devices on RenderFrameHost deletion/change
* manage device permissions per RenderFrameHost
This change makes sure we don't clear device permission prematurely due to child frame navigation
* Update shell/browser/api/electron_api_web_contents.cc
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* apply review feedback from @zcbenz
* Match upstream ObjectMap
This change matches what ObjectPermissionContextBase uses to cache object permissions: https://source.chromium.org/chromium/chromium/src/+/main:components/permissions/object_permission_context_base.h;l=52;drc=8f95b5eab2797a3e26bba299f3b0df85bfc98bf5;bpv=1;bpt=0
The main reason for this was to resolve this crash on Win x64:
ok 2 WebContentsView doesn't crash when GCed during allocation
Received fatal exception EXCEPTION_ACCESS_VIOLATION
Backtrace:
gin::WrappableBase::SecondWeakCallback [0x00007FF6F2AFA005+133] (o:\gin\wrappable.cc:53)
v8::internal::GlobalHandles::InvokeSecondPassPhantomCallbacks [0x00007FF6F028F9AB+171] (o:\v8\src\handles\global-handles.cc:1400)
v8::internal::GlobalHandles::InvokeSecondPassPhantomCallbacksFromTask [0x00007FF6F028F867+391] (o:\v8\src\handles\global-handles.cc:1387)
node::PerIsolatePlatformData::RunForegroundTask [0x00007FF6F3B4D065+317] (o:\third_party\electron_node\src\node_platform.cc:415)
node::PerIsolatePlatformData::FlushForegroundTasksInternal [0x00007FF6F3B4C424+776] (o:\third_party\electron_node\src\node_platform.cc:479)
uv_run [0x00007FF6F2DDD07C+492] (o:\third_party\electron_node\deps\uv\src\win\core.c:609)
electron::NodeBindings::UvRunOnce [0x00007FF6EEE1E036+294] (o:\electron\shell\common\node_bindings.cc:631)
base::TaskAnnotator::RunTask [0x00007FF6F2318A19+457] (o:\base\task\common\task_annotator.cc:178)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl [0x00007FF6F2E6F553+963] (o:\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:361)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork [0x00007FF6F2E6EC69+137] (o:\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:266)
base::MessagePumpForUI::DoRunLoop [0x00007FF6F235AA58+216] (o:\base\message_loop\message_pump_win.cc:221)
base::MessagePumpWin::Run [0x00007FF6F235A01A+106] (o:\base\message_loop\message_pump_win.cc:79)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run [0x00007FF6F2E702DA+682] (o:\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:470)
base::RunLoop::Run [0x00007FF6F22F95BA+842] (o:\base\run_loop.cc:136)
content::BrowserMainLoop::RunMainMessageLoop [0x00007FF6F14423CC+208] (o:\content\browser\browser_main_loop.cc:990)
content::BrowserMainRunnerImpl::Run [0x00007FF6F144402F+143] (o:\content\browser\browser_main_runner_impl.cc:153)
content::BrowserMain [0x00007FF6F143F911+257] (o:\content\browser\browser_main.cc:49)
content::RunBrowserProcessMain [0x00007FF6EFFA7D18+112] (o:\content\app\content_main_runner_impl.cc:608)
content::ContentMainRunnerImpl::RunBrowser [0x00007FF6EFFA8CF4+1220] (o:\content\app\content_main_runner_impl.cc:1104)
content::ContentMainRunnerImpl::Run [0x00007FF6EFFA87C9+393] (o:\content\app\content_main_runner_impl.cc:971)
content::RunContentProcess [0x00007FF6EFFA73BD+733] (o:\content\app\content_main.cc:394)
content::ContentMain [0x00007FF6EFFA79E1+54] (o:\content\app\content_main.cc:422)
wWinMain [0x00007FF6EECA1535+889] (o:\electron\shell\app\electron_main.cc:291)
__scrt_common_main_seh [0x00007FF6F6F88482+262] (d:\A01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
BaseThreadInitThunk [0x00007FFEC0087034+20]
RtlUserThreadStart [0x00007FFEC1F02651+33]
✗ Electron tests failed with code 0xc0000005.
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-09-23 20:00:11 +09:00
Milan Burda
77579614e0
feat: add width option to dialog.showMessageBox() ( #30474 )
2021-09-23 19:56:14 +09:00
Black-Hole
e39a1d2ea0
fix: startDrag params type incorrect ( #31034 )
2021-09-23 17:07:39 +09:00
CezaryKulakowski
68d3659f75
fix: update Windows' cache after changing window's style ( #31021 )
...
To enable/disable window resizing we set/unset WS_THICKFRAME style
flag on the window. Window's frame styles are cached so we need to
call SetWindowPos with the SWP_FRAMECHANGED flag set to update
cache properly.
2021-09-23 16:33:41 +09:00
Keeley Hammond
bb6dc99d9d
chore: clarify new-window fix comment ( #31069 )
2021-09-22 15:30:55 -07:00
Shelley Vohr
38b810b2e3
fix: proper localization when using GtkFileChooserNative ( #30888 )
...
* fix: proper localization when using GtkFileChooserNative
* fix: iwyu
2021-09-22 14:12:50 -04:00
Sudowoodo Release Bot
a75617bff1
Bump v16.0.0-nightly.20210922
2021-09-22 06:01:20 -07:00
dependabot[bot]
3ef74abfe4
build(deps): bump tar from 4.4.15 to 4.4.19 ( #30776 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 4.4.15 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v4.4.15...v4.4.19 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 08:54:39 +09:00
Samuel Maddock
70c534fd14
feat: add frame to context-menu event params ( #30831 )
...
* feat: add frame to context-menu event params
* doc: rephrase frame description
2021-09-22 08:52:49 +09:00
Erick Zhao
52bacd38a9
docs: update glossary ( #30874 )
...
* docs: update glossary
* remove nsis entry
2021-09-22 08:52:24 +09:00
Sofia Nguy
dbd18d8562
docs: update public timeline for E16 ( #31000 )
2021-09-21 11:31:41 -07:00
Keeley Hammond
4fcc0884f8
fix: propagate window.open settings to child window ( #31031 )
2021-09-21 09:06:20 -07:00
Sudowoodo Release Bot
ee19e5ee48
Bump v16.0.0-nightly.20210921
2021-09-21 06:00:36 -07:00
Shelley Vohr
629d8913f6
fix: maximized state calculation for non-resizable windows ( #30989 )
2021-09-21 12:04:32 +02:00
Milan Burda
92bff00d43
feat: add isMainFrame argument to 'certificate-error' event ( #30879 )
2021-09-21 15:49:15 +09:00
Jeremy Rose
e38a0a67c6
fix: suppress insecure resource warning for more local hostnames ( #30885 )
...
* fix: suppress insecure resource warning for more local hostnames
* fix tests
2021-09-21 15:47:54 +09:00
Jeremy Rose
82da4b0090
fix: transparency on child windows being lost ( #31003 )
...
* fix: transparency on child windows being lost
* fix crash
* fix a different crash
* fix more crash
2021-09-21 09:20:54 +09:00
Milan Burda
6dd33b75b2
chore: add wg-security as required reviewer for security-warnings.ts ( #30987 )
2021-09-21 08:52:44 +09:00
Sudowoodo Release Bot
a96f42ce86
Bump v16.0.0-nightly.20210920
2021-09-20 06:01:27 -07:00
Darshan Sen
efa70131e2
refactor: make InitWithWebContents and InspectableWebContents take a unique_ptr ( #30920 )
...
* refactor: make InitWithWebContents take a unique_ptr
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
* refactor: make InspectableWebContents take a unique_ptr
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
2021-09-20 09:34:11 +09:00
Shelley Vohr
6fdf350bea
fix: disabling and enabling resizability on macOS ( #30999 )
2021-09-17 15:54:15 +02:00
Sudowoodo Release Bot
8d8fcd88f5
Bump v16.0.0-nightly.20210917
2021-09-17 06:01:05 -07:00
祈緒ちゃん - Kiochan
ad98f4707f
chore: update links of documentation of chromes ( #30959 )
...
chrome now use developer.chrome.com/docs/extensions/* instead of developer.chrome.com/extensions/*
2021-09-17 10:53:28 +09:00
Antón Molleda
4576d9d23e
fix: links to images ( #30990 )
...
Images that used the inline link format do not show up on Docusaurus or
the old website infrastructure. There are only 2 guides using it so it
is faster to change the format rather than figuring out why the parsin
logic does not work.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ref: https://github.com/electron/electronjs.org-new/issues/84
2021-09-16 18:42:58 -04:00
Sudowoodo Release Bot
64c70c420f
Bump v16.0.0-nightly.20210916
2021-09-16 06:00:56 -07:00
Michaela Laurencin
b491a4c82f
fix: add casing for WCO edge ( #30938 )
2021-09-16 09:34:51 +09:00
Keeley Hammond
c5b517d89f
chore: update E16 node module version ( #30774 )
...
Ref: https://github.com/nodejs/node/pull/39950/files
2021-09-15 16:11:10 -07:00
Tierney Cyren
9c4e3b67fb
docs: add link to @electron/fuses ( #30978 )
2021-09-15 12:14:33 -07:00
electron-roller[bot]
93068cfab5
chore: bump node to v16.9.1 (main) ( #30919 )
...
* chore: bump node in DEPS to v16.9.1
* chore: update patches
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-09-15 10:25:26 -04:00
Shelley Vohr
c8e4cc29c0
fix: prevent navigator.fonts.query() from crashing ( #30930 )
...
* fix: prevent navigator.fonts.query() from crashing
* refactor: use base::PostTask instead
2021-09-15 09:56:38 -04:00
Sudowoodo Release Bot
9eaa9de3b4
Bump v16.0.0-nightly.20210915
2021-09-15 06:01:48 -07:00
Erick Zhao
664a452fb6
docs: update context isolation doc ( #30898 )
...
* docs: update context isolation doc
* Apply suggestions from code review
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-09-15 10:50:02 +09:00
Erick Zhao
54b44584fa
chore: correct hierarchy of BrowserWindow headings ( #30905 )
...
* chore: correct hierarchy of BrowserWindow headings
* Update docs/api/browser-window.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/api/browser-window.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/api/browser-window.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-09-15 09:41:37 +09:00
Raymond Zhao
1295ba0ffc
fix: Building on macOS with is_debug true ( #30913 )
...
* fix: Building on macOS with is_debug true
* Change to no-op impl
2021-09-15 09:40:36 +09:00
Micha Hanselmann
02ac33c4cd
fix: always include pepper flash font file ( #30928 )
2021-09-15 09:39:01 +09:00
Sudowoodo Release Bot
87050d75b8
Bump v16.0.0-nightly.20210914
2021-09-14 06:01:52 -07:00
Shelley Vohr
00d0265782
refactor: reuse upstream //shell_dialogs ( #30663 )
2021-09-14 12:16:34 +02:00
Keeley Hammond
c74b9ff312
fix: remove conflicting RunFileChooserEnd for Mac ( #30935 )
2021-09-13 15:10:28 -07:00
Keeley Hammond
b6a12a53e3
fix: delete rfh after open/save dialog done ( #30916 )
2021-09-13 06:25:13 -07:00
Sudowoodo Release Bot
06b3b49214
Bump v16.0.0-nightly.20210913
2021-09-13 06:02:34 -07:00
Sudowoodo Release Bot
c556ccac08
Bump v16.0.0-nightly.20210910
2021-09-10 06:02:10 -07:00
Samuel Attard
fb539f15d0
chore: fix compile errors ( #30903 )
2021-09-09 19:52:23 -07:00
Samuel Attard
57d088517c
feat: add support for validating asar archives on macOS ( #30667 )
...
* feat: add support for validating asar archives on macOS
* chore: fix lint
* chore: update as per feedback
* feat: switch implementation to asar integrity hash checks
* feat: make ranged requests work with the asar file validator DataSourceFilter
* chore: fix lint
* chore: fix missing log include on non-darwin
* fix: do not pull block size out of missing optional
* fix: match ValidateOrDie symbol on non-darwin
* chore: fix up asar specs by repacking archives
* fix: maintain integrity chain, do not load file integrity if header integrity was not loaded
* debug test
* Update node-spec.ts
* fix: initialize header_validated_
* chore: update PR per feedback
* chore: update per feedback
* build: use final asar module
* Update fuses.json5
2021-09-09 14:49:01 -07:00
Sudowoodo Release Bot
fcad531f2e
Bump v16.0.0-nightly.20210909
2021-09-09 06:01:36 -07:00
electron-roller[bot]
eb955af459
chore: bump node to v16.9.0 (main) ( #30867 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-09-08 18:55:06 +02:00
Sudowoodo Release Bot
9dee1183f9
Bump v16.0.0-nightly.20210908
2021-09-08 06:02:30 -07:00
Shelley Vohr
9891ff14a7
refactor: remove dead code in NeedsCompleteGpuInfoCollection ( #30855 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/1208362
2021-09-08 08:42:03 +09:00
Mark Lee
22abbf76fb
docs(protocols): simplify packaging section & cleanup ( #30832 )
...
* docs(protocols): simplify packaging section & cleanup
* docs(protocol): add basic instructions for Linux support
* Fix typo
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-09-08 08:24:45 +09:00
Darshan Sen
90a3e7f927
feat: warn when crash key name is longer than 39 bytes ( #30742 )
...
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
2021-09-07 11:09:48 -07:00
Jeremy Rose
55c57808fb
feat: serialize NativeImage over ipc ( #30729 )
2021-09-07 10:37:45 -07:00
Christian Engel
ee33374675
Fix wrong code example for preload property ( #30555 )
...
The text mentions that `preload` should be a property of `webPreferences`, but the code example shows something else.
2021-09-07 17:04:08 +02:00
Finn Behrens
6a1726576d
docs: Update windows info for auto-updater ( #30538 )
...
Squirrel.Mac can be served from a static host as well.
2021-09-07 17:03:56 +02:00
Sudowoodo Release Bot
64e33002f8
Bump v16.0.0-nightly.20210907
2021-09-07 06:02:06 -07:00
Samuel Maddock
fb40065c1e
fix: show maximized frameless window ( #30804 )
2021-09-07 10:18:43 +02:00
Sudowoodo Release Bot
ce6a71e936
Bump v16.0.0-nightly.20210906
2021-09-06 19:02:56 -07:00
Sudowoodo Release Bot
57e3c25378
Revert "Bump v16.0.0-nightly.20210906"
...
This reverts commit f39ba9281c .
2021-09-06 18:48:49 -07:00
Samuel Maddock
1546cb6e6c
refactor: use getter for frame in webrequest details ( #30830 )
2021-09-07 09:13:16 +09:00
Sudowoodo Release Bot
f39ba9281c
Bump v16.0.0-nightly.20210906
2021-09-06 06:02:05 -07:00
Milan Burda
8b7631228f
chore: move native-image.ts back into common ( #30838 )
2021-09-06 11:06:27 +02:00
Isaac Taylor
4a2f41ee58
docs: updated webview tag documentation to accurately reflect preload behavior with asar archives ( #30768 )
2021-09-06 17:00:17 +09:00
Samuel Maddock
7379e5eb36
fix: BrowserWindow backgroundColor ( #30778 )
...
* fix: BrowserWindow backgroundColor
* refactor: propagate transparency via backgroundColor
2021-09-06 16:59:09 +09:00
Shelley Vohr
26f981fa3e
fix: devtools not resizable on Windows ( #30823 )
2021-09-06 16:54:47 +09:00
Robo
99c0a723fd
chore: follow-up to roll 95.0.4612.5 ( #30835 )
...
* chore: enable v8 oilpan
* chore: update patches
* fix: network isolation key for preconnect requests
* chore: update feat_expose_raw_response_headers_from_urlloader.patch
2021-09-06 09:33:10 +02:00
Milan Burda
94ca57e296
chore: move global_menu_bar_registrar_x11 out of chromium_src ( #30837 )
2021-09-06 09:03:07 +02:00
Jeremy Rose
1dcb8a370e
refactor: simplify desktop_capturer patch ( #30685 )
2021-09-03 16:37:36 -07:00
Raymond Zhao
e6f781f403
refactor: Convert ProcessSingleton changes to patch ( #30594 )
...
* Convert ProcessSingleton changes to patch
* Update patch
* Polish
* Add sandbox check to patch
* Add missing includes
* Fix linking error
* Fix compile error
* Apply PR feedback
* Fix compile fails
* Fix tests
* Remove extra patch
* Update test
2021-09-03 14:16:33 -07:00
Erick Zhao
b8372f20a0
docs: move module creation guide to /development ( #30826 )
2021-09-03 13:46:53 -07:00
Sudowoodo Release Bot
92222c874f
Bump v16.0.0-nightly.20210903
2021-09-03 06:02:32 -07:00
Sudowoodo Release Bot
c30303207a
Bump v16.0.0-nightly.20210902
2021-09-02 16:35:36 -07:00
Samuel Attard
873872a32b
build: temporarily revert broken dump_syms changes in breakpad ( #30825 )
2021-09-02 16:34:31 -07:00
Sudowoodo Release Bot
5554de0237
Revert "Bump v16.0.0-nightly.20210902"
...
This reverts commit 6d4995ec17 .
2021-09-02 14:40:45 -07:00
Jeremy Rose
ee0e15a52e
feat: deprecate desktopCapturer.getSources in the renderer ( #30721 )
2021-09-02 11:31:47 -07:00
Sudowoodo Release Bot
6d4995ec17
Bump v16.0.0-nightly.20210902
2021-09-02 06:01:22 -07:00
Jeremy Rose
8d86d84ff5
ci: fix setCertificateVerifyProc tests ( #30799 )
2021-09-01 18:58:29 -04:00
Black-Hole
fd8eb3de1b
fix: remove extension warning that do not have any impact ( #29695 )
2021-09-01 15:36:21 -07:00
Samuel Maddock
4d89174b41
feat: add 'dom-ready' event to WebFrameMain ( #29290 )
2021-09-01 15:21:15 -07:00
electron-roller[bot]
49e62f1261
chore: bump chromium to 95.0.4629.0 (main) ( #30676 )
...
* chore: bump chromium in DEPS to 95.0.4620.0
* chore: update patches
* 3076261: Move args_ to private in ExtensionFunction
https://chromium-review.googlesource.com/c/chromium/src/+/3076261
* [GURL -> SiteForCookies] content/public/browser/content_browser_client.h
https://chromium-review.googlesource.com/c/chromium/src/+/3107759
* chore: fix -Wunreachable-code-return in node
* Tracing to diagnose ContentScriptTracker-related bad message reports
https://chromium-review.googlesource.com/c/chromium/src/+/3057922
* chore: bump chromium in DEPS to 95.0.4621.0
* chore: update patches
* Remove title from the URL format on Windows.
https://chromium-review.googlesource.com/c/chromium/src/+/3108445
* chore: bump chromium in DEPS to 95.0.4623.0
* Revert "chore: disable v8 oilpan"
This reverts commit 5d255cf1d8e8efbb906047937a713279e5f800d0.
(cherry picked from commit ba5cde4da2 )
* Change file paths in network context params to be relative.
https://chromium-review.googlesource.com/c/chromium/src/+/3092927
* Code Health: Rename/replace content::WebUI::RegisterMessageCallback().
https://chromium-review.googlesource.com/c/chromium/src/+/3104691
* Migrate CanExecuteContentScriptSync to Mojo
https://chromium-review.googlesource.com/c/chromium/src/+/3108452
* chore: update patches
* remove unreachable code
* Revert "Revert "chore: disable v8 oilpan""
This reverts commit fef495c0294e21760df51bddb5f7bf1ec9ed5f1e.
* fixup mas patch
* Reland "[include] Split out v8.h"
https://chromium-review.googlesource.com/c/v8/v8/+/3113629
* chore: bump chromium in DEPS to 95.0.4624.0
* chore: bump chromium in DEPS to 95.0.4625.0
* chore: bump chromium in DEPS to 95.0.4626.0
* 3033504: Pass NavigationDownloadPolicy in CreateNewWindowParams
https://chromium-review.googlesource.com/c/chromium/src/+/3033504
* 3058038: Introduce TestPrintingContext & test UpdatePrintSettings
https://chromium-review.googlesource.com/c/chromium/src/+/3058038
* 3114943: [Conditional Focus][#4 ] Add tests and remove flag gating
https://chromium-review.googlesource.com/c/chromium/src/+/3114943
* chore: update patch indices
* chore: bump chromium in DEPS to 95.0.4627.0
* chore: update patches
* 3093591: ozone: webpagepopups: calculate anchor for menu bounds. 4/*
https://chromium-review.googlesource.com/c/chromium/src/+/3093591
* 3110414: [PA] Remove the leading cookie
https://chromium-review.googlesource.com/c/chromium/src/+/3110414
* chore: update patches
* 3076261: Move args_ to private in ExtensionFunction
https://chromium-review.googlesource.com/c/chromium/src/+/3076261
* 3113629: Reland "[include] Split out v8.h"
https://chromium-review.googlesource.com/c/v8/v8/+/3113629
* chore: bump chromium in DEPS to 95.0.4628.0
* chore: update patches
* chore: bump chromium in DEPS to 95.0.4629.0
* chore: update patches
* Fix chrome root store codegen for cross-compile builds.
https://chromium-review.googlesource.com/c/chromium/src/+/3133701
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-09-01 15:55:07 -04:00
John Kleinschmidt
e6802bf935
ci: ignore pdb download failure ( #30785 )
2021-09-01 10:26:12 -04:00
Sudowoodo Release Bot
ad776d6113
Bump v16.0.0-nightly.20210901
2021-09-01 06:01:17 -07:00
jiang kun
f533c44912
docs: fix code example in process-model.md ( #30690 )
...
* Update process-model.md
the demo have two error:
- at macos, close all window, the app will not quite, unless press cmd + q
- attach preload.js, use preload prop that is member of `webPreferences` property of `BrowserWindow` controller argument
* Update docs/tutorial/process-model.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-09-01 20:46:32 +09:00
Shelley Vohr
63b35403ef
fix(linux): OpenURI portal support for shell.showItemInFolder() ( #30716 )
2021-09-01 10:04:28 +09:00
ComplexSpaces
399032252f
docs: improve documentation about macOS entitlement usage security ( #30740 )
2021-09-01 10:02:42 +09:00
Jeremy Rose
dd7aeda6fb
feat: add app.configureHostResolver ( #30576 )
2021-08-31 11:55:30 -07:00
Keeley Hammond
3b2db5f168
docs: add remote removal to E14 breaking changes ( #30769 )
2021-08-31 11:14:46 -07:00
electron-roller[bot]
c1075debf3
chore: bump node to v16.8.0 (main) ( #30714 )
...
* chore: bump node in DEPS to v16.8.0
* build: add option to hide console window
https://github.com/nodejs/node/pull/39712
* chore: fixup patch indices
* stream: duplexify
https://github.com/nodejs/node/pull/39519
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-08-31 10:36:04 -04:00
Sudowoodo Release Bot
88ff3a6a9a
Bump v16.0.0-nightly.20210831
2021-08-31 06:00:47 -07:00
Samuel Attard
8007d01874
feat: add support for the U2F Web API ( #30438 )
...
* feat: add support for the U2F Web API
* chore: fix lint
* chore: fix tests
* build: disable src caching
* Revert "build: disable src caching"
This reverts commit c4c8a60fc435a10788475ec171399a55ac2dd674.
* chore: update per feedback
* chore: consistent code removal
2021-08-30 11:22:46 -07:00
Sudowoodo Release Bot
c2da4ec2bc
Bump v16.0.0-nightly.20210830
2021-08-30 06:01:39 -07:00
Jeremy Rose
aa9da78edb
fix: remove ipc wrapper for nativeImage.createThumbnailFromPath ( #30728 )
2021-08-27 14:21:36 -07:00
Samuel Maddock
352ac21413
feat: add webContents.fromDevToolsTargetId() ( #29399 )
...
* feat: add webContents.fromDevToolsTargetId()
* refactor: avoid using FromOrCreate
2021-08-27 14:01:24 -07:00
Sudowoodo Release Bot
96131af5d3
Bump v16.0.0-nightly.20210827
2021-08-27 06:01:16 -07:00
Sudowoodo Release Bot
f9c6f9af83
Bump v16.0.0-nightly.20210826
2021-08-26 06:01:35 -07:00
Cheng Zhao
00d65eb9ac
fix: titlebar and buttons state under simple fullscreen ( #30671 )
2021-08-26 08:29:34 +09:00
Jeremy Rose
a9983c1d06
docs: feature_request additional information not required ( #30684 )
2021-08-25 10:11:52 -07:00
Sudowoodo Release Bot
c2c1b22a31
Bump v16.0.0-nightly.20210825
2021-08-25 06:03:14 -07:00
Milan Burda
501ac15b1d
feat: add <webview>.sendToFrame() / frameId to 'ipc-message' event ( #30451 )
2021-08-25 09:46:46 +02:00
Samuel Attard
be43996d35
docs: explain the null webContents case in permission checks ( #30645 )
...
* docs: explain the null webContents case in permission checks
* Update docs/api/session.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-08-25 09:41:56 +09:00
Shelley Vohr
32194f0f71
fix: crash when using TouchBarScrubber arrow button ( #30661 )
2021-08-24 18:28:57 +02:00
Sudowoodo Release Bot
e43a25724c
Bump v16.0.0-nightly.20210824
2021-08-24 06:01:17 -07:00
electron-roller[bot]
5513e66982
chore: bump chromium to 95.0.4612.5 (main) ( #30503 )
...
* chore: bump chromium in DEPS to 94.0.4604.0
* build: 3-way merge of chromium patches
* chore: bump chromium in DEPS to 94.0.4605.0
* build: 3-way merge of chromium patches
* 3076040: Reland Remove delete_children RemoveAllChildViews arg
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3076040
* 3069287: Remove the remaining uses and delete the deprecated API
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3069287
* 2297212: Replace RemoveWithoutPathExpansion(.*, nullptr) with Value::RemoveKey()
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2297212
Also: https://chromium-review.googlesource.com/c/chromium/src/+/3060296
* 3082756: Change transport_security_persister_path param to be a path to a file.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3082756
> this CL intentionally changes the name of the parameter
> in the network context parameters and the order of the constructor
> parameters to ensure all callers update their code to pass a full
> file path rather than a path to a directory.
The 'path' in this diff is already an absolute path, coming from
`CHECK(base::PathService::Get(chrome::DIR_USER_DATA, &path_));` at
08ff1c2cbf/shell/browser/electron_browser_context.cc (L126)
* iwyu: network::mojom::HttpRawHeaderPair
* fixup! 3076040: Reland Remove delete_children RemoveAllChildViews arg
Missed one.
* 2999884: CodeHealth: Remove DictionaryValue::GetStringWithoutPathExpansion
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2999884
(example of replacing GetStringWithoutPathExpansion() w/FindStringKey())
Also: https://chromium-review.googlesource.com/c/chromium/src/+/3060296
(removal of DictionaryValue::GetStringWithoutPathExpansion)
* 3059260: Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3059260
We had both of these in a 'disable_features' list. Since these feature have
been removed upstream, remove them from our disable list, too.
IMPORTANT: this commit should not be backported to older branches that
still have these features, because doing so would un-disable them.
* 2920890: Load reroute_info from download in-progress and history db back into DownloadItem.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2920890
* 3039323: [Clipboard API] Clipboard Custom Formats implementation Part 5.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3039323
* chore: bump chromium in DEPS to 94.0.4606.0
* 3084502: Add a new PrintRasterizePdfDpi policy.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3084502
* chore: update patches
* chore: bump chromium in DEPS to 94.0.4606.3
* chore: bump chromium in DEPS to 95.0.4608.0
* chore: bump chromium in DEPS to 95.0.4609.0
* [DevTools] Remove report_raw_headers from network::ResourceRequest
https://chromium-review.googlesource.com/c/chromium/src/+/2856099
* Remove content::WebContentsObserver::OnInterfaceRequestFromFrame
https://chromium-review.googlesource.com/c/chromium/src/+/3092665
* Disable kDesktopCaptureMacV2
https://chromium-review.googlesource.com/c/chromium/src/+/3069272
* Add a new PrintRasterizePdfDpi policy.
https://chromium-review.googlesource.com/c/chromium/src/+/3084502
* chore: update patches
* chore: bump chromium in DEPS to 95.0.4609.3
* disable `use_lld` for macos
* chore: update patches
* Linux: use chrome_crashpad_handler instead of crashpad_handler
https://chromium-review.googlesource.com/c/chromium/src/+/3054290
* chore: fix lint
* Revert "[DevTools] Remove report_raw_headers from network::ResourceRequest"
This reverts commit 28f4da1582d046e96cb58f3cbb590503e89dfd0d.
* [DevTools] Remove report_raw_headers from network::ResourceRequest (Attempt #2 )
https://chromium-review.googlesource.com/c/chromium/src/+/2856099
* DCHECK that predictor always has a non-empty NetworkIsolationKey.
https://chromium-review.googlesource.com/c/chromium/src/+/3067698
* Remove --no-untrusted-code-mitigations from //content and //gin
https://chromium-review.googlesource.com/c/chromium/src/+/3096585
* fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
https://chromium-review.googlesource.com/c/chromium/src/+/3059260
* fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
* Convert PrintManager to RenderFrameHostReceiverSet.
https://chromium-review.googlesource.com/c/chromium/src/+/3072019
* chore: bump chromium in DEPS to 95.0.4612.5
* chore: disable v8 oilpan
* [Compiler] Remove untrusted code mitigations.
https://chromium-review.googlesource.com/c/v8/v8/+/3045704
* Remove most FTP logic from services/network.
https://chromium-review.googlesource.com/c/chromium/src/+/3076119
* Rename scale_factor.h -> resource_scale_factor.h
https://chromium-review.googlesource.com/c/chromium/src/+/3057113
* [GURL -> SiteForCookies] extensions/
https://chromium-review.googlesource.com/c/chromium/src/+/3100825
* breadcrumbs: add desktop entry point
https://chromium-review.googlesource.com/c/chromium/src/+/3021746
* Move args_ to private in ExtensionFunction
https://chromium-review.googlesource.com/c/chromium/src/+/3076261
* chore: iwyu
* fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
* Disable kDesktopCaptureMacV2
https://chromium-review.googlesource.com/c/chromium/src/+/3069272
* fixup! [Compiler] Remove untrusted code mitigations.
* fixup! Disable kDesktopCaptureMacV2
* Revert "chore: disable v8 oilpan"
This reverts commit 5d255cf1d8e8efbb906047937a713279e5f800d0.
* Reland "chore: disable v8 oilpan"
This reverts commit 1c252765b07a205560e7b5eed06de2605336e2d8.
The previous revert was to test on which platforms did the
heapsnapshot test actually fail.
* [Clipboard API] Clipboard Custom Formats implementation Part 5.
https://chromium-review.googlesource.com/c/chromium/src/+/3039323
* Convert ExtensionFrameHost to RenderFrameHostReceiverSet.
https://chromium-review.googlesource.com/c/chromium/src/+/3063358
* Convert PDFWebContentsHelper to RenderFrameHostReceiverSet.
https://chromium-review.googlesource.com/c/chromium/src/+/3049751
* [Underscore Migration] Migrate ui/legacy
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3093160
* chore: remove unknown permission error
* chore: fix lint
* chore: ignore -Wunreachable-code-return for node deps/
* fixup! chore: ignore -Wunreachable-code-return for node deps/
* fix: windows build
* fix: build dependency
Dependency was missed in cbeae20438
* 3108669: arm,dsp: Fix 8bpp Dct64_NEON().
https://chromium-review.googlesource.com/c/codecs/libgav1/+/3108669
* chore: revert libgav1 roll
* Revert "3108669: arm,dsp: Fix 8bpp Dct64_NEON()."
This reverts commit 7ed3132312 .
* Revert "chore: revert libgav1 roll"
This reverts commit 084a490d29 .
* chore: revert clang roll
* chore: Fix -Wunreachable-code-aggressive warnings in arm and arm64 code
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: mlaurencin <mlaurencin@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-08-23 20:52:17 -04:00
Jeremy Rose
10c4931477
docs: remove link to outdated examples from README ( #30648 )
2021-08-23 09:19:16 -07:00
Milan Burda
aad1c0d493
feat: add <webview> 'did-redirect-navigation' event ( #30457 )
2021-08-23 10:26:00 -04:00
Sudowoodo Release Bot
34f1bc0e82
Bump v16.0.0-nightly.20210823
2021-08-23 06:01:59 -07:00
electron-roller[bot]
fb990ba1eb
chore: bump node to v16.7.0 (main) ( #30350 )
...
* chore: bump node in DEPS to v16.6.0
* chore: bump node in DEPS to v16.6.1
* crypto: fix generateKeyPair with encoding 'jwk'
https://github.com/nodejs/node/pull/39319
* build: add library_files to gyp variables
https://github.com/nodejs/node/pull/39293
* debugger: rename internal module
https://github.com/nodejs/node/pull/39378
* chore: fixup patch indices
* deps: extract gtest source files to deps/googletest
https://github.com/nodejs/node/pull/39386
* crypto: fix generateKeyPair with encoding 'jwk'
https://github.com/nodejs/node/pull/39319
* deps: bump HdrHistogram_C to 0.11.2
https://github.com/nodejs/node/pull/39462
* fixup! deps: extract gtest source files to deps/googletest
* chore: bump node in DEPS to v16.6.2
* chore: update patches
* deps: reflect c-ares source tree
https://github.com/nodejs/node/pull/39653
* deps: update c-ares to 1.17.2
https://github.com/nodejs/node/pull/39724
* fix: _ReadBarrier undefined symbol error on WOA arm64
* chore: update patches
* chore: bump node in DEPS to v16.7.0
* deps: upgrade to libuv 1.42.0
https://github.com/nodejs/node/pull/39525
* chore: update filenames
* src: remove extra semicolons outside fns
* chore: fixup patch filenames
* chore: sort and alphabetize disabled tests
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-08-20 19:25:50 +02:00
Sudowoodo Release Bot
517b174c3c
Bump v16.0.0-nightly.20210820
2021-08-20 06:01:13 -07:00
Samuel Attard
c83de755c1
Revert "fix: DCHECK on reload when forcefullyCrashRenderer() is called ( #30544 )" ( #30646 )
...
This reverts commit 90b5ba3bed .
2021-08-19 12:07:48 -07:00
Samuel Attard
aab5ea5f9d
build: embed binary checksums in the npm package ( #30611 )
...
* build: embed binary checksums in the npm package
* Update docs/tutorial/installation.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* refactor: replace reduce with loop
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-08-19 11:26:17 -07:00
Samuel Attard
7093cd75cb
build: add nvmrc file ( #30612 )
2021-08-19 11:12:17 -07:00
Jeremy Rose
2a28ca226f
ci: drop with_tags with_branch_heads from sync on appveyor ( #30601 )
2021-08-19 09:23:34 -07:00
Sudowoodo Release Bot
4820dee980
Bump v16.0.0-nightly.20210819
2021-08-19 06:00:58 -07:00
Samuel Maddock
cb7c16cb2d
fix: WebFrameMain mojo pipe not reset ( #30629 )
2021-08-19 15:10:11 +09:00
Larry Kluger
11de995d38
docs: typo in launch-app-from-url-in-another-app.md ( #30566 )
...
* Typo in launch-app-from-url-in-another-app.md
Code snippet for the info.plist example had html formatting. Removed.
* Fix paddings
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-08-19 10:38:30 +09:00
Erick Zhao
ea889b423d
docs: update Hazel information ( #30517 )
2021-08-19 08:42:12 +09:00
Erick Zhao
655b614ecd
docs: remove unused Desktop Environment Integration doc ( #30577 )
...
* docs: remove unused Desktop Environment Integration doc
* Update docs/api/app.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/api/app.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-08-19 08:34:34 +09:00
Keeley Hammond
cbeae20438
fix: change gin_wrappable to scoped crash key ( #30578 )
2021-08-18 13:51:40 -07:00
Cheng Zhao
8699124397
refactor: dynamically search defines from node ( #30563 )
2021-08-18 13:34:15 -07:00
Shelley Vohr
ec13a0b0e6
fix: documentEdited with non-default titlebarStyle ( #30565 )
2021-08-18 12:09:57 -07:00
Shelley Vohr
e92d92d7eb
build: remove redundant --ignore_locks from appveyor ( #30591 )
2021-08-18 12:08:02 -07:00
Samuel Maddock
dd16d68e96
fix: cross-origin navigation disposing WebFrameMain instances ( #30076 )
2021-08-18 11:23:41 -07:00
Shelley Vohr
90b5ba3bed
fix: DCHECK on reload when forcefullyCrashRenderer() is called ( #30544 )
2021-08-18 11:23:06 -07:00
Jeremy Rose
29749f3dc6
chore: delete unused content_tracing.idl ( #30554 )
2021-08-18 09:54:40 -07:00
Sudowoodo Release Bot
f797159fbe
Bump v16.0.0-nightly.20210818
2021-08-18 06:00:48 -07:00
Samuel Attard
b62bbfda4e
fix: ensure web_contents() is alive before grabbing view ( #30571 )
2021-08-17 14:00:49 -07:00
Shelley Vohr
db8644ee7a
fix: media key globalShortcuts on macOS ( #30552 )
2021-08-17 13:44:17 -04:00
Milan Burda
04aafcc5ef
refactor: simplify <webview> event dispatch ( #30458 )
...
* refactor: simplify <webview> event dispatch
* Update lib/browser/guest-view-manager.ts
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* remove undocumented new-window event properties
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-08-17 12:10:27 -04:00
Sudowoodo Release Bot
ff128a32d9
Bump v16.0.0-nightly.20210817
2021-08-17 06:00:38 -07:00
Shelley Vohr
a9a90fa1b6
fix: {exit|enter}-html-fullscreen emitted after esc in webview ( #30537 )
2021-08-17 09:03:45 +02:00
Samuel Attard
7cdd132d18
fix: handle nullish WebContentsView in UpdateDraggableRegions ( #30556 )
...
* fix: handle nullish WebContentsView in UpdateDraggableRegions
* build: nogncheck on webcontentsimpl include
2021-08-16 23:29:49 -07:00
Samuel Attard
93d7968d64
build: fix gclient config file
2021-08-16 10:56:29 -07:00
Samuel Attard
cd09a54365
build: add basic codespaces configuration ( #30528 )
...
* build: @jasonetco said that this will make codespaces work
* tmp
* Codespaces
* Update docker-compose.yml
* Update docker-compose.yml
* tada?
* e use
* do not use pizza...
* point at correct goma file
* use ghcr for codespaces
* pass --yes to npx
* build: use auth.notgoma codespace token auth to auto-auth goma
* build: move build-tools set up to Dockerfile
* build: provide default extensions list
* Fix locale tests
* add vnc support
* use prebuilt devcontainer image
* update docker images
* update docker images
* update docker images
* add docs for codespaces
* chore: update docker images
* build: do not overwrite modified buildtools configs on container rebuilds
* use gn language server
* update docker images
* update docker images
* fill in missing links
Co-authored-by: Codespaces <codespaces@github.com >
2021-08-16 10:33:49 -07:00
Sudowoodo Release Bot
eaa5d372fb
Bump v16.0.0-nightly.20210816
2021-08-16 06:01:11 -07:00
Erick Zhao
6669abf38d
docs: clarify platform-specific usage of the acceptFirstMouse option ( #30522 )
2021-08-16 14:13:02 +02:00
Erick Zhao
740dcc5c16
docs: uniformize tutorial titles ( #30527 )
2021-08-16 14:12:34 +02:00
Shelley Vohr
fcce2b16d5
fix: persist BrowserView background color when bounds offscreen ( #30510 )
2021-08-16 12:26:58 +02:00
John Kleinschmidt
94111c9d5c
ci: update git on CI machines ( #30526 )
2021-08-14 16:00:40 -07:00
Samuel Attard
8b9d0092cb
build: manually pull 64bit dugite for 32bit tests ( #30531 )
2021-08-14 15:44:43 -07:00
Samuel Attard
0c1f762119
build: fix publish-to-npm script post requests migration
2021-08-13 13:26:38 -07:00
Keeley Hammond
a11a234eac
fix: disable kWindowCaptureMacV2 for desktopCapturer ( #30507 )
2021-08-13 13:23:56 -07:00
Samuel Attard
fc9a197f6c
build: do not excessively log response bodies
2021-08-13 13:15:39 -07:00
Samuel Attard
61117a11a1
build: ensure getAssetContents is called in a async wrapper fn
2021-08-13 13:07:17 -07:00
Sudowoodo Release Bot
7132f36ddd
Bump v16.0.0-nightly.20210813
2021-08-13 10:41:03 -07:00
Samuel Attard
d1bd9afbbf
build: use basic auth to trigger CI if either a username OR password is provided
2021-08-13 10:40:26 -07:00
Sudowoodo Release Bot
1e983e2a6e
Revert "Bump v16.0.0-nightly.20210813"
...
This reverts commit c5db7a9013 .
2021-08-13 10:39:45 -07:00
Sudowoodo Release Bot
c5db7a9013
Bump v16.0.0-nightly.20210813
2021-08-13 10:38:06 -07:00
Samuel Attard
a48968c1ce
build: do not pass undefined to Auth header in CI scripts
2021-08-13 10:37:30 -07:00
Sudowoodo Release Bot
d313ddbd3d
Revert "Bump v16.0.0-nightly.20210813"
...
This reverts commit 6ad47322fa .
2021-08-13 10:30:22 -07:00
Sudowoodo Release Bot
6ad47322fa
Bump v16.0.0-nightly.20210813
2021-08-13 10:27:52 -07:00
Samuel Attard
93b1d2d932
build: fix release CI jobs start script ( #30521 )
...
This broke in #30492 , we weren't handled 20X status codes and weren't authing to appveyor correctly.
2021-08-13 10:25:17 -07:00
Sudowoodo Release Bot
17615654e8
Revert "Bump v16.0.0-nightly.20210813"
...
This reverts commit c6267d9fb0 .
2021-08-13 10:23:49 -07:00
Sudowoodo Release Bot
c6267d9fb0
Bump v16.0.0-nightly.20210813
2021-08-13 09:30:30 -07:00
Sudowoodo Release Bot
52890e9efd
Revert "Bump v16.0.0-nightly.20210813"
...
This reverts commit 7668507c9d .
2021-08-13 08:10:10 -07:00
Sudowoodo Release Bot
7668507c9d
Bump v16.0.0-nightly.20210813
2021-08-13 06:01:58 -07:00
Samuel Attard
439e83de6c
refactor: remove all usages of the legacy request module ( #30492 )
...
* Replaces request with got
* Replaces nugget with got streams
* Replaces request in docs with got
* Upgrades dugite to drop requests dependency
2021-08-12 10:34:49 -07:00
Sudowoodo Release Bot
08ff1c2cbf
Bump v16.0.0-nightly.20210812
2021-08-12 06:01:50 -07:00
electron-roller[bot]
81c143318b
chore: bump chromium to 94.0.4590.2 (main) ( #30274 )
...
* chore: bump chromium in DEPS to 94.0.4587.0
* chore: update patches
* 2823155: fix GPU video decoding capabilities enumeration
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/2823155
* 3041383: Reduce includes in url_request_mojom_traits.h
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3041383
* chore: bump chromium in DEPS to 94.0.4588.0
* chore: update patches
* chore: bump chromium in DEPS to 94.0.4589.0
* chore: update patches
* 3050633: Rename ScaleFactor to ResourceScaleFactor
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3050633
* 3048296: Create new mojo target to prevent traits header spreading
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3048296
* 3046186: Rename base::ClampToRange
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3046186
* chore: update picture-in-picture patch
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3056037
* chore: bump chromium in DEPS to 94.0.4590.0
* chore: update patches
* 3057495: Fix base::NoDestructor usage in Mac KeychainPassword
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3057495
* 3056134: Remove NetworkIsolationKey unused methods
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3056134
* 3035091: [rab/gsab] Fix gsab maxByteLength after transferring to worker
Adds a patch to v8 to disable a DCHECK that is also firing on node streams
in child processes.
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/3035091
* chore: bump chromium in DEPS to 94.0.4590.2
* chore: fix mas_no_private_api.patch
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3049052
* 3049555: [views] Add CHECK to prevent fallthrough to global NativeTheme
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3049555
* chore: empty commit
* chore: fix whitespace for lint
* chore: cherry-pick chromium woa fix
* Revert "chore: cherry-pick chromium woa fix"
This reverts commit 64f3082e2d .
* chore: fix the build on Windows on ARM
* chore: remove commented code in printing.patch
* fixup! chore: remove commented code in printing.patch
do not remove the new weak_ptr check
* build: sync disable_use_lld_for_macos.patch
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <khammond@slack-corp.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2021-08-11 17:04:56 -04:00
John Kleinschmidt
c8f3324610
ci: make arm64 macos test cleanup more resilient ( #30495 )
2021-08-11 16:23:47 -04:00
Keeley Hammond
60650abf09
fix: explicitly define REFGUID from ::GUID&, not base::GUID ( #30442 )
...
* fix: explicitly define REFGUID from ::GUID&
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3076480
* fix: duplicate GUID_NULL symbol, add comment
2021-08-11 12:43:33 -07:00
Samuel Attard
e11953b0e6
build: update remark ( #30493 )
2021-08-11 11:13:33 -07:00
Michaela Laurencin
41646d1168
feat: enable windows control overlay on Windows ( #29600 )
...
* rebase "feat: enable windows control overlay on Windows"
* correct compilation error
* fix linting errors
* modify includes and build file
* change `hidden` option to `overlay`
* add patch to fix visual layout
* add button background color parameter
* add button text color parameter
* modify `overlay` in docs and modify button hover/press transition color
* change `text` to `symbol`
* remove todo and fix `text` replacement
* add new titleBarOverlay property and remove titleBarStyle `overlay`
* update browser and frameless window docs
* remove chromium patches
* chore: update patches
* change button hover color, update trailing `_`, update test file
* add dchecks, update title bar drawing checks, update test file
* modify for mac and linux builds
* update docs with overlayColor and overlaySymbolColor
* add corner and side hit test info
* modify docs and copyright info
* modify `titlebar_overlay_` as boolean or object
* move `title_bar_style_ to `NativeWindow`
* update docs with boolean and object titlebar_overlay_
* add `IsEmpty` checks
* move get options for boolean and object checks
* fix linting error
* disable `use_lld` for macos
* Update docs/api/frameless-window.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* Update docs/api/frameless-window.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* Update docs/api/frameless-window.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* Apply docs suggestions from code review
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* modify `true` option description `titleBarOverlay`
* ci: cleanup keychain after tests on arm64 mac (#30472 )
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-08-11 14:07:36 -04:00
Sudowoodo Release Bot
42936b07fe
Bump v16.0.0-nightly.20210811
2021-08-11 06:01:26 -07:00
dependabot[bot]
985f1b5c04
build(deps): bump path-parse from 1.0.6 to 1.0.7 ( #30480 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 02:04:43 -07:00
Shelley Vohr
ac49e6af4a
repl: fix crash when SharedArrayBuffer disabled ( #30456 )
2021-08-11 09:42:15 +09:00
John Kleinschmidt
69f1c1b083
ci: cleanup keychain after tests on arm64 mac ( #30472 )
2021-08-10 16:15:30 -04:00
Sudowoodo Release Bot
f17e6ae318
Bump v16.0.0-nightly.20210810
2021-08-10 06:01:37 -07:00
Milan Burda
4f739d7837
docs: add missing <webview> event documentation ( #30450 )
2021-08-10 10:12:54 +09:00
nibbleswap
590858a38d
docs: fix camelcase in menu example ( #30341 )
...
* docs: fix camelcase in menu example and add hint to deal with TS error
hideothers -> hideOthers (the TS compiler caught this)
The TypeScript compiler also did not like the pattern used to
switch between platforms for submenus was loosing the type information
of the literal constants and generalized them as strings which
conflicts with the type definition of MenuItemConstructorOptions.
* docs: Fix spelling, added hint to TypeScript
Without explicitly stating the type for the const template TypeScript does not create a
with the correct shape due to generalization to strings.
* remove ts hints
Co-authored-by: a <a@b>
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-08-10 10:01:39 +09:00
Charles Kerr
edb7413bae
fix: mouse doesn't work on frameless browserwindows ( #30447 )
2021-08-10 10:01:20 +09:00
Jeremy Rose
e223b4db94
fix: respect image animation policy pref ( #30403 )
2021-08-09 09:58:03 -07:00
Electron Bot
08e9aea940
Bump v16.0.0-nightly.20210809
2021-08-09 06:02:07 -07:00
Electron Bot
66c458a353
Bump v16.0.0-nightly.20210806
2021-08-06 14:06:30 -07:00
Keeley Hammond
6a9cada98c
fix: build SetCrashKeyGW without tray on Windows ( #30437 )
2021-08-06 14:04:19 -07:00
Electron Bot
d783e944d3
Revert "Bump v16.0.0-nightly.20210806"
...
This reverts commit 641260bc32 .
2021-08-06 12:58:53 -07:00
Electron Bot
641260bc32
Bump v16.0.0-nightly.20210806
2021-08-06 06:01:19 -07:00
George Xu
bc508c6113
feat: add electron.safeStorage encryption API ( #30020 )
...
* feat: add SafeStorage api; first commit
* chore: rename files to fit semantically
* chore: add linkedBindings
* chore: fix function signatures
* chore: refactor eisCookieEncryptionEnabled() fuse
* chore: create test file
* chore: add tests and documentation
* chore: add copyright and lint
* chore: add additional tests
* chore: fix constructor
* chore: commit for pair programming
* wip: commit for keeley pairing
* chore: docs change and code cleanup
* chore: add linux import
* chore: add description to documentation
* chore: fixing tests
* chore: modify behaviour to not allow unencrypted strings as decyption input
* fix add patch for enabling default v11 encryption on Linux
* chore: remove file after each test
* chore: fix patch
* chore: remove chromium patch
* chore: add linux specific tests
* chore: fix path
* chore: add checker for linuux file deletion
* chore: add dcheck back
* chore: remove reference to headless mode
* chore: remove tests for linux
* chore: edit commit message
* chore: refactor safeStorage to not be a class
* chore: remove static variable from header
* chore: spec file remove settimeout
Co-authored-by: VerteDinde <keeleymhammond@gmail.com >
2021-08-05 15:12:54 -07:00
Jeremy Rose
ec6cd0053e
chore: more crash-keys for gin::Wrappable debugging ( #30404 )
2021-08-05 11:39:07 -07:00
Darshan Sen
8e1160fde4
build: use fully qualified path names for deps ( #30414 )
...
This aligns the code with the GN Style Guide: https://gn.googlesource.com/gn/+/refs/heads/main/docs/style_guide.md#deps
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
2021-08-05 11:03:50 -07:00
Samuel Attard
320bea4c28
feat: add fuses for NODE_OPTIONS and --inspect ( #30190 )
...
* feat: add fuses for NODE_OPTIONS and --inspect
* chore: add node patch to ensure NODE_OPTIONS are never parsed when fuse is disabledd
* chore: fix lint
* chore: flip boolean logic
* chore: update patches
* chore: add trailing _ to static member
* Update add_should_read_node_options_from_env_option_to_disable_node_options.patch
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-08-05 10:50:11 -07:00
Samuel Attard
59ab79417d
build: rebase release branch before reverting bump ( #30400 )
2021-08-05 10:49:12 -07:00
Electron Bot
423172775e
Bump v16.0.0-nightly.20210805
2021-08-05 06:01:09 -07:00
Samuel Attard
4703dc0a1d
build: bust the deps cache on windows ( #30401 )
2021-08-04 15:31:17 -07:00
Jeremy Rose
481b774fd7
docs: crashpad on linux lands in 16, not 15. ( #30387 )
2021-08-04 10:16:05 -07:00
Electron Bot
acbd643e2a
Bump v16.0.0-nightly.20210804
2021-08-04 06:00:53 -07:00
Cheng Zhao
97929eab5f
fix: move window buttons in-place on macOS ( #30322 )
2021-08-04 09:31:12 +09:00
Milan Burda
1c29734c91
build: fix building with enable_desktop_capturer = false ( #30372 )
2021-08-03 15:12:46 -07:00
Jeremy Rose
8179349625
feat: enable sandbox by default in limited circumstances ( #30197 )
2021-08-03 15:07:03 -07:00
Jeremy Rose
a17e48061a
fix: console window popping up when --enable-logging passed on windows ( #30375 )
2021-08-03 14:09:02 -07:00
Jeremy Rose
40e76dca07
feat: switch to crashpad on linux ( #30278 )
2021-08-03 14:01:12 -07:00
Milan Burda
6e43b0bcbf
refactor: only create webContents after 'will-attach-webview' ( #30311 )
2021-08-03 10:08:49 -07:00
Electron Bot
4519bc3cd1
Bump v16.0.0-nightly.20210803
2021-08-03 06:01:40 -07:00
Robo
2b897c8ad8
fix: crash due to race between attach and destruction of webview ( #24344 )
2021-08-02 08:35:57 -07:00
Electron Bot
0cabff0a21
Bump v16.0.0-nightly.20210802
2021-08-02 06:01:52 -07:00
Jeremy Rose
888ac65c72
fix: toggleDevTools menu role closes devtools window ( #29922 )
2021-08-02 10:58:28 +09:00
Matthew Shen
c0e72bd335
docs: update to the use of arrow functions in line with the style guide ( #30194 )
...
* docs: Update to the use of arrow functions in line with the style guide
* docs: Fixed unmatched bracket typo in previous commit 9ebe3e58f7948c6636d77f3c58a2693683b69691
* fix linting
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-08-02 10:57:37 +09:00
Biru Mohanathas
ced2e8779f
feat: Allow detection of MITM HTTPS proxies like ZScaler ( #30174 )
...
* feat: Allow detection of MITM HTTPS proxies like ZScaler
For security purposes, Figma heavily restrics the origins that are
allowed to load within our Electron app. Unfortunately some corporate
environments use MITM proxies like ZScaler, which intercepts our
connection to `https://www.figma.com ` and serves a redirect to e.g.
`https://gateway.zscloud.net ` before finally redirecting back to
`https://www.figma.com `.
In order to detect this situation and handle it gracefully, we need to
be able to know whether or not the certificate for our own origin
(`https://www.figma.com `) is chained to a known root. We do this by
exposesing `CertVerifyResult::is_issued_by_known_root`.
If the certification verification passed without the certificate being
tied to a known root, we can safely assume that we are dealing with a
MITM proxy that has its root CA installed locally on the machine. This
means that HTTPS can't be trusted so we might as well make life easier
for corporate users by loosening our origin restrictions without any
manual steps.
* Tweak docs wording
2021-08-02 10:24:58 +09:00
Samuel Attard
9693fb9a37
build: update build images to update npm and node ( #30359 )
2021-08-02 10:01:59 +09:00
Jeremy Rose
9a63d96e83
fix: respect LogJsConsoleMessages feature in InspectableWebContents::DidAddMessageToConsole ( #30312 )
2021-07-30 10:18:49 -07:00
Electron Bot
7b5deb2f3a
Bump v16.0.0-nightly.20210730
2021-07-30 06:01:04 -07:00
Samuel Attard
8651c5d02d
chore: update deps ( #30339 )
2021-07-30 02:21:54 -07:00
Shelley Vohr
639f03977f
fix: BrowserViews not painting their WebContents ( #29919 )
2021-07-30 08:59:24 +09:00
John Kleinschmidt
9cc1b55663
chore: remove experimental from navigator.serial implementation ( #30237 )
2021-07-30 08:57:22 +09:00
Shelley Vohr
3ee6326b93
fix: use contentAspectRatio not aspectRatio ( #30305 )
2021-07-29 23:27:21 +02:00
Shelley Vohr
39c3ff5292
fix: guard against missing native view ( #30304 )
2021-07-29 23:27:02 +02:00
Electron Bot
4aa9455613
Bump v16.0.0-nightly.20210729
2021-07-29 06:02:12 -07:00
Milan Burda
c5ad7ed0cd
refactor: remove guestInstanceId from WebPreferences ( #30280 )
...
* refactor: remove guestInstanceId from WebPreferences
* refactor: remove WebViewManager::GetEmbedder
2021-07-28 15:32:53 -07:00
Samuel Attard
c3abbdefdd
build: set the export goma auth fallback flag for the control process ( #30313 )
2021-07-28 14:02:50 -07:00
George Xu
bd85b1d028
docs: create documentation for browser api ( #30071 )
...
* docs: create documentation for browser api
* docs: add cpp theme
2021-07-28 12:37:45 -07:00
Jeremy Rose
fa464286ee
test: deflake crashReporter.getLastCrashReport test ( #30276 )
2021-07-28 08:56:15 -07:00
Electron Bot
d63980edeb
Bump v16.0.0-nightly.20210728
2021-07-28 06:01:28 -07:00
Anders Kaseorg
1c95d30c0f
fix: Add missing items to menuItem.role documentation ( #30217 )
2021-07-28 08:45:06 +02:00
Milan Burda
fc7ea75009
refactor: move related code to makeWebPreferences in guest-view-manager.ts ( #30272 )
2021-07-27 16:12:49 -07:00
Jeremy Rose
ceebae170e
feat: partially support chrome.tabs.update ( #30069 )
2021-07-27 13:36:22 -07:00
John Kleinschmidt
cce27a0961
chore: update publish to npm to use GitHub token ( #30275 )
...
ensures that we don't get hit with a rate limit while trying to publish a release.
2021-07-27 09:52:18 -04:00
Electron Bot
10424c0149
Bump v16.0.0-nightly.20210727
2021-07-27 06:00:51 -07:00
Milan Burda
a545cd3790
fix: type internal APIs that can return null properly ( #29852 )
2021-07-27 14:48:12 +09:00
John Kleinschmidt
461db8f1ab
fix: persist permission granted to serial ports ( #30209 )
2021-07-26 13:10:57 -04:00
Cheng Zhao
d2989de5d9
fix: update traffic lights position for macOS 11 ( #30263 )
2021-07-26 09:22:21 -07:00
Jeremy Rose
385d0f590f
refactor: remove base::Value from WebContentsPreferences ( #30193 )
2021-07-26 09:04:09 -07:00
electron-roller[bot]
64ba8feb93
chore: bump chromium to 94.0.4584.0 (main) ( #30030 )
...
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-07-26 09:02:16 -07:00
Electron Bot
a6ab702ae4
Bump v16.0.0-nightly.20210726
2021-07-26 06:01:26 -07:00
Antón Molleda
62711e23ad
docs: update title of guide ( #30205 )
2021-07-26 17:42:55 +09:00
Electron Bot
3cb06457c4
Bump v16.0.0-nightly.20210723
2021-07-23 06:01:58 -07:00
stephen9357
e3fe80e0e8
fix: increase stack size on windows x86 ( #29474 )
...
* fix: increace main thread stack size on windows x86
* chore: improve quit-on-crashed-event spec
* chore: add debug logs
* Revert "chore: add debug logs"
This reverts commit 0be81ae07c .
* chore: use a reliable crash endpoint
Co-authored-by: Stephen Wang <wangwenqiang.wwq@bytedance.com >
Co-authored-by: Deepak Mohan <hop2deep@gmail.com >
2021-07-22 12:49:21 -07:00
Shelley Vohr
b24cfe17bc
fix: process.exit crash in nativeWindowOpen ( #30218 )
2021-07-22 15:38:11 +02:00
Electron Bot
eca1098b55
Bump v16.0.0-nightly.20210722
2021-07-22 06:01:34 -07:00
Keeley Hammond
19820fc2a7
chore: add additional crash key to gin::Wrappable ( #30161 )
2021-07-21 09:33:25 -04:00
Electron Bot
adc3f39a9e
Bump v15.0.0-nightly.20210721
2021-07-21 06:02:02 -07:00
Samuel Attard
9fe70c5580
build: handle release failure by existing with code 1 ( #30216 )
2021-07-21 00:45:57 -07:00
Electron Bot
ea69da279f
Bump v15.0.0-nightly.20210720
2021-07-20 06:02:23 -07:00
Keeley Hammond
deb75ceaa5
build: update version-bumper to support alpha ( #30165 )
...
* build: update version-bumper to support alpha
* build: seperate alpha bump version tests
For easier deletion. If we want to continue supporting an alpha channel,
they can be reintegrated with main tests.
* chore: fix regex
Co-authored-by: Samuel Attard <sam@electronjs.org >
Co-authored-by: Samuel Attard <sam@electronjs.org >
2021-07-19 17:58:15 -07:00
Jeremy Rose
d35fb2a2e3
docs: mention sandboxing in security docs ( #30147 )
2021-07-19 12:45:47 -07:00
Jeremy Rose
c9ba0d02d7
feat: support crashpad on linux ( #29719 )
2021-07-19 10:11:10 -07:00
Jeremy Rose
612361c4da
chore: remove unused getWebPreferences method ( #30160 )
2021-07-19 09:29:23 -07:00
Mark Lee
a3298424b3
docs: update default branch for Electron Packager API links ( #30175 )
2021-07-19 09:25:05 -07:00
Jota
9441ff747d
docs: Ffx broken context isolation link in sandbox docs ( #30177 )
2021-07-19 09:24:27 -07:00
Electron Bot
d4b2f69f36
Bump v15.0.0-nightly.20210719
2021-07-19 06:02:42 -07:00
Electron Bot
cfb2829634
Bump v15.0.0-nightly.20210716
2021-07-16 06:01:06 -07:00
Jeremy Rose
0d9e6f29ba
fix: allow colored tray titles when font type is specified ( #30146 )
2021-07-15 16:45:20 -07:00
Shelley Vohr
1bb689e6dd
fix: BrowserWindow transparency not working ( #30136 )
2021-07-15 16:18:39 -04:00
electron-roller[bot]
063ac19712
chore: bump node to v16.5.0 (main) ( #30031 )
...
* chore: bump node in DEPS to v16.4.2
* chore: update patches
* ci: run main and remote woa tests separately
* chore: bump node in DEPS to v16.5.0
* build: restore libplatform headers in distribution
https://github.com/nodejs/node/pull/39288
* build: pass directory instead of list of files to js2c.py
https://github.com/nodejs/node/pull/39069
* chore: various BoringSSL/OpenSSL upstreams
- https://github.com/nodejs/node/pull/39136
- https://github.com/nodejs/node/pull/39138
- https://github.com/nodejs/node/pull/39054
* test: move debugger test case to parallel
https://github.com/nodejs/node/pull/39300
* chore: fixup patch indices
* build: pass directory instead of list of files to js2c.py
https://github.com/nodejs/node/pull/39069
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-07-15 11:25:00 -04:00
Electron Bot
849a3b6f81
Bump v15.0.0-nightly.20210715
2021-07-15 07:13:56 -07:00
David Sanders
341b370213
fix: handle redirects within registered protocols ( #29796 )
2021-07-15 20:14:46 +09:00
Shelley Vohr
3f38681c55
fix: double traffic lights on exit fullscreen ( #30114 )
2021-07-14 16:45:12 -07:00
Cheng Zhao
05ba6359d0
feat: add signal option to dialog.showMessageBox ( #26102 )
...
* mac: add dialog.closeMessageBox API
* win: Implement dialog.closeMessageBox
* mac: Return cancelId with closeMessageBox
* gtk: Implement dialog.closeMessageBox
* win: Fix 32bit build
* win: Reduce the scope of lock
* fix: Build error after rebase
* feat: Use AbortSignal to close message box
* chore: silently handle duplicate ID
* win: Add more notes about the threads
* chore: apply reviews
* fix: base::NoDestructor should be warpped in function
* chore: fix style on windows
2021-07-15 07:59:27 +09:00
George Xu
4b780f9770
docs: update supported versions to match new release cadence ( #30121 )
2021-07-14 15:38:28 -07:00
Utkarsh Dixit
b2da2f759a
docs: add runtime.reload as supported extension api ( #29925 )
2021-07-14 15:37:53 -07:00
Robo
4931c055a9
spec: disable flaky fullscreen test ( #30141 )
2021-07-14 15:26:09 -07:00
Antón Molleda
a855aa34d9
docs: fix fiddle path ( #30139 )
...
This is breaking the build in `electron/electronjs.org-new` and will
most likely not work when clicking the "Fiddle" button.
Rel: https://github.com/electron/electronjs.org-new/pull/65
2021-07-14 16:16:59 -04:00
Jeremy Rose
bec47f54f4
fix: use correct userData path when unbundled ( #30113 )
2021-07-14 13:10:37 -07:00
Electron Bot
4db7221c7d
Bump v15.0.0-nightly.20210714
2021-07-14 06:02:07 -07:00
Davenury
75b4267aa9
Update quick-start.md ( #30064 )
...
Change app-quit link definition, so both window-all-closed and app-quit redirects to appropriate sites.
2021-07-14 20:59:32 +09:00
Milan Burda
c0995b8dff
docs: add <webview> 'did-attach' event documentation ( #29899 )
2021-07-14 20:59:20 +09:00
Cheng Zhao
637ba48b42
fix: pressing ESC should exit fullscreen from webview ( #30063 )
2021-07-14 20:51:26 +09:00
Jeremy Rose
4d0475c9ce
feat: expose location and modifiers on before-input-event ( #29850 )
...
* feat: expose location and modifiers on before-input-event
* lint
2021-07-14 20:50:02 +09:00
Keeley Hammond
1897b14af3
chore: update releases to 8 weeks in CONTRIBUTING ( #30115 )
...
* chore: update releases to 8 weeks in CONTRIBUTING
* chore: update support.md for four version support
2021-07-13 13:57:19 -07:00
Sofia Nguy
eb2efd4b7e
docs: Update timeline for E15 alpha announcement ( #30109 )
...
* docs: Update timeline for E15 alpha announcement
* fix line break
2021-07-13 13:54:13 -07:00
1akshat1
d267f979b7
feat: continue-activity event is extended to support webpageURL property ( #30042 )
...
Co-authored-by: Akshat Malik <amalik@microstrategy.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-07-13 13:21:33 -07:00
Electron Bot
3582a513ca
Bump v15.0.0-nightly.20210713
2021-07-13 06:02:20 -07:00
Milan Burda
9959f01e4c
spec: fix check for electron_common_testing binding in logging-spec.ts ( #30086 )
2021-07-12 22:11:19 -07:00
Robo
19a6286dfd
chore: cherry-pick 9bab573a37 from chromium ( #30084 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3010140
2021-07-12 18:35:29 -07:00
Jeremy Rose
459a8417e3
test: disable failing node tests ( #30096 )
2021-07-13 09:40:58 +09:00
Jeremy Rose
96ff8d7bd7
build: decode error output as utf8 ( #30093 )
2021-07-12 15:22:26 -07:00
Jeremy Rose
e26901aba4
fix: crash when invoking login callback synchronously ( #30068 )
2021-07-12 12:33:41 -07:00
Jeremy Rose
0cb5631b0b
fix: return RGBA values from getSystemColor ( #30055 )
2021-07-12 11:08:10 -07:00
Robo
36079b822a
chore: disable fullscreen test on mac arm ( #30083 )
2021-07-12 08:53:35 -07:00
Electron Bot
c15f44c20f
Bump v15.0.0-nightly.20210712
2021-07-12 06:01:17 -07:00
Robo
c806184bfe
chore: fix flaky fullscreen inheritance test ( #30081 )
2021-07-11 23:19:30 -07:00
Cheng Zhao
21f6937728
chore: remove unneeded conversions between wstring and u16string ( #30047 )
2021-07-12 13:33:26 +09:00
Robo
ccfde6c9d4
fix: window ordering on mac ( #29857 )
2021-07-09 13:38:25 -07:00
Electron Bot
98f617e856
Bump v15.0.0-nightly.20210709
2021-07-09 06:01:45 -07:00
George Xu
b7164428ec
docs: modernize protocol-handler docs ( #29380 )
...
* docs: modernize protocol-handler docs
* docs: iadd contextIsolation
* docs: add guide for launch-app-from-URL-in-other-app
* docs: address comments
* chore: fix brackets
* chore: add escaped brackets
2021-07-08 11:42:28 -07:00
Electron Bot
0824fc57f7
Bump v15.0.0-nightly.20210708
2021-07-08 06:01:00 -07:00
Milan Burda
53386914e1
docs: move webRequest filters definition to structures/web-request-filter.md ( #29900 )
2021-07-08 00:20:08 -07:00
Milan Burda
635ed5a6e3
feat: add missing resourceType conversions for webRequest listener details ( #29902 )
2021-07-08 00:19:16 -07:00
Milan Burda
13bf2fd7ec
build: fix building with enable_plugins = false ( #30040 )
2021-07-08 00:18:11 -07:00
Electron Bot
cd031a77dd
Bump v15.0.0-nightly.20210707
2021-07-07 13:02:22 -07:00
Electron Bot
767b4973a3
Revert "Bump v15.0.0-nightly.20210707"
...
This reverts commit 5f1233cdad .
2021-07-07 12:11:40 -07:00
Electron Bot
5f1233cdad
Bump v15.0.0-nightly.20210707
2021-07-07 06:01:31 -07:00
Jeremy Rose
550d3c11a8
docs: mention contextIsolation in ipc-main example ( #29918 )
2021-07-06 10:27:35 -07:00
Electron Bot
257b796856
Bump v15.0.0-nightly.20210706
2021-07-06 06:01:39 -07:00
electron-roller[bot]
2585e6d5fa
chore: bump chromium to 93.0.4566.0 (main) ( #29980 )
...
* chore: bump chromium in DEPS to 93.0.4562.0
* chore: update patches
* [base] Made Value::Take{Dict,List}() rvalue ref-qualified.
https://chromium-review.googlesource.com/c/chromium/src/+/2988105
* Revert "Reland "Roll src/buildtools/third_party/libc++/trunk/ 8fa879467..79a2e924d (426 commits)""
https://chromium-review.googlesource.com/c/chromium/src/+/2995482
This reverts commit 9691d6c265 and 797723ec83
* Pass gfx::Insets to GetHTComponentForFrame
https://chromium-review.googlesource.com/c/chromium/src/+/2984243
* chore: bump chromium in DEPS to 93.0.4563.0
* [Clipboard API] Clipboard Custom Formats implementation Part 2.
https://chromium-review.googlesource.com/c/chromium/src/+/2967649
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4564.0
* chore: bump chromium in DEPS to 93.0.4565.0
* chore: update patches
* Prevent use of base::NoDestructor for trivially-destructible types
https://chromium-review.googlesource.com/c/chromium/src/+/2998672
* chore: update patches
* fixup! [Clipboard API] Clipboard Custom Formats implementation Part 2.
* chore: bump chromium in DEPS to 93.0.4566.0
* chore: update patches
* chore: add missing header
* ci: do not run clipboard tests on WOA
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-07-06 08:17:13 -04:00
Samuel Attard
7169734470
fix: download the arm64 version of Electron when running node under rosetta ( #29953 )
2021-07-06 10:40:26 +09:00
Jenux
f3517b6635
docs: match css filename in dark-mode.md ( #29936 )
...
* Update dark-mode.md
Fix the unmatched css file name
* Update docs/tutorial/dark-mode.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-07-06 10:37:41 +09:00
David Sanders
6c251da201
chore: correct spelling of is_quitting in electron::Browser ( #29948 )
2021-07-05 15:45:50 -04:00
electron-roller[bot]
60366ad171
chore: bump node to v16.4.1 (main) ( #29994 )
...
* chore: bump node in DEPS to v16.4.1
* chore: update patches
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-07-05 13:47:09 -04:00
Electron Bot
6db9b274b7
Bump v15.0.0-nightly.20210705
2021-07-05 06:01:17 -07:00
Cheng Zhao
25a77761f6
fix: build error caused by extra ] ( #30015 )
2021-07-05 01:34:39 -07:00
Shelley Vohr
af991123f1
fix: self.module.paths not working in web workers ( #29955 )
...
* fix: global.module.paths in workers
* spec: add a regression test
2021-07-05 08:48:46 +09:00
Antón Molleda
20c1f504ae
docs: remove Experimental from contextBridge.exposeInMainWorld ( #29985 )
...
The API has been around for about 3 years. It should no longer be
considered experimental.
2021-07-05 08:46:47 +09:00
Cheng Zhao
18d0ed8155
fix: do not leak NSUUID ( #29990 )
2021-07-05 08:45:00 +09:00
Cheng Zhao
0403494a6b
docs: remove mention of node-mac-notifier ( #29991 )
2021-07-03 13:23:47 -07:00
Electron Bot
800873b44d
Bump v15.0.0-nightly.20210702
2021-07-02 06:01:44 -07:00
Cheng Zhao
85a69f88f1
chore: remove unused _grantOriginAccess method ( #29976 )
2021-07-01 19:53:38 -07:00
Cheng Zhao
6eff9231b8
fix: webview should maximize on requestFullscreen ( #29952 )
2021-07-01 20:56:29 -04:00
David Sanders
95a9ff952c
chore: cleanup usages of const char* ( #29906 )
2021-07-02 09:51:52 +09:00
David Sanders
f6531166ae
chore: clean up forward declarations ( #29904 )
2021-07-02 09:51:37 +09:00
John Kleinschmidt
1f8a46c9c6
feat: enable window controls overlay on macOS ( #29253 )
...
* feat: enable windows control overlay on macOS
* address review feedback
* chore: address review feedback
* Address review feedback
* update doc per review
* only enable WCO when titleBarStyle is overlay
* Revert "only enable WCO when titleBarStyle is overlay"
This reverts commit 1b58b5b1fc .
* Add new titleBarOverlay property to manage feature
* spelling fix
* Update docs/api/frameless-window.md
Co-authored-by: Samuel Attard <sam@electronjs.org >
* Update shell/browser/api/electron_api_browser_window.cc
Co-authored-by: Samuel Attard <sam@electronjs.org >
* update per review feedback
Co-authored-by: Samuel Attard <sam@electronjs.org >
2021-07-01 15:25:40 -04:00
Electron Bot
0fe2836151
Bump v15.0.0-nightly.20210701
2021-07-01 06:00:47 -07:00
Samuel Attard
331444d103
build: add support for spawning builds for a specific commit on appveyor ( #29971 )
2021-06-30 18:17:59 -07:00
Shelley Vohr
98809d8d64
fix: honor user-defined Downloads directory ( #29938 )
2021-06-30 22:54:02 +02:00
Shelley Vohr
372ecf32e6
fix: potential crash on macOS app exit ( #29941 )
2021-06-30 20:12:17 +02:00
Jeremy Rose
a8b3c22518
fix: correctly propagate title updates for window with no navigation entries ( #29946 )
2021-06-30 10:53:10 -07:00
Shelley Vohr
675bbfe092
refactor: modify Node.js options object directly ( #29939 )
...
* refactor: modify Node.js options object directly
* chore: update patch to reflect upstream
2021-06-30 16:07:28 +02:00
Electron Bot
a310bd7473
Bump v15.0.0-nightly.20210630
2021-06-30 06:00:59 -07:00
Electron Bot
cb8d9cebbc
Revert "Bump v15.0.0-nightly.20210630"
...
This reverts commit 97c4b59747 .
2021-06-30 03:50:14 -07:00
Electron Bot
97c4b59747
Bump v15.0.0-nightly.20210630
2021-06-30 02:43:32 -07:00
Robo
522b19e2d8
fix: crash when clicking links with target=_blank from webview ( #29874 )
2021-06-29 18:10:18 -07:00
Samuel Attard
da9261497e
feat: add MenuItem.userAccelerator property ( #26682 )
...
* feat: add MenuItem.userAccelerator property
This allows folks to read the user-assigned accelerator that macOS users can provide in system preferences. Useful for showing in-app shortcut help dialogs, you need to know if the accelerator you provided is not being used in favor of a user assigned one.
* chore: update syntax
* chore: add safety check for command index being -1
2021-06-29 16:28:16 -07:00
Rituka Patwal
3e69985b76
chore: set python interpreter to python3 in script/spec-runner.js ( #29740 )
...
The new installs of the python module, python-dbusmock, is broken for
python2. The tests still run fine on linux machine in Electron's
pipeline setup on CircleCI, because the docker image used has
the non-broken version of python-dbusmock for python2 installed.
But running electron tests on any other linux machine would fail if
they don't have this non-broken version of python-dbusmock for python2
installed, already, which is the case for most of the machines.
Moreover, Python2 is deprecated now. So it would be better if we change
the python interpreter in script/spec-runner.js file to python3, for
which all the python modules are updated and working.
Co-authored-by: Rituka Patwal <rituka.patwal@postman.com >
2021-06-29 15:46:12 -07:00
electron-roller[bot]
d3c1f10e33
chore: bump chromium to 93.0.4558.0 (main) ( #29895 )
...
* chore: bump chromium in DEPS to 93.0.4553.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4555.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4556.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4557.0
* chore: update patches
* Fix warnings for -Wc++11-narrowing.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2942212
* fixup! Fix warnings for -Wc++11-narrowing.
* chore: run gen-libc++-filenames.js
* Reland "Roll src/buildtools/third_party/libc++/trunk/ 8fa879467..79a2e924d (426 commits)"
https://chromium-review.googlesource.com/c/chromium/src/+/2988699
* chore: bump chromium in DEPS to 93.0.4558.0
* chore: update patches
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2021-06-29 13:02:27 -07:00
Electron Bot
37b57a1013
Bump v15.0.0-nightly.20210629
2021-06-29 06:01:38 -07:00
Omar Kilani
1b4ce6c69a
fix: geolocation crashes electron on macOS ( #29343 ) ( #29913 )
2021-06-28 20:26:57 -07:00
David Sanders
9142563748
docs: remove requestHeaders in webRequest.onHeadersReceived ( #29907 )
2021-06-28 15:52:06 -07:00
electron-roller[bot]
e4807ac020
chore: bump node to v16.4.0 (main) ( #29699 )
2021-06-28 18:05:38 +02:00
Electron Bot
da2baabb96
Bump v15.0.0-nightly.20210628
2021-06-28 06:01:29 -07:00
David Sanders
b60b96b221
chore: remove unused using and namespace declarations ( #29892 )
2021-06-28 15:26:10 +09:00
Electron Bot
21319926a0
Bump v15.0.0-nightly.20210625
2021-06-25 06:00:29 -07:00
electron-roller[bot]
a518e4b2e1
chore: bump chromium to 93.0.4552.0 (main) ( #29862 )
...
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2021-06-24 17:06:42 -07:00
Shelley Vohr
f9bfd1da25
fix: properly order out child windows ( #29821 )
2021-06-24 20:43:28 +02:00
Shelley Vohr
9b5dd5380f
fix: Inspector method overrides when contextIsolation enabled ( #29841 )
2021-06-24 20:36:22 +02:00
Jeremy Rose
0f16575eee
fix: stop window.open from hanging when prevented ( #29851 )
2021-06-24 08:50:48 -07:00
Electron Bot
9de8e676dd
Bump v15.0.0-nightly.20210624
2021-06-24 06:01:03 -07:00
dependabot[bot]
47a8c952e9
build(deps): bump lodash from 4.17.20 to 4.17.21 in /spec ( #29067 )
...
* build(deps): bump lodash from 4.17.20 to 4.17.21 in /spec
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-06-23 16:51:28 -07:00
Jeremy Rose
2c01deae03
fix: deny instead of canceling when certificate-error passes false ( #29826 )
2021-06-23 16:40:51 -07:00
Electron Bot
d9d2f01563
Bump v15.0.0-nightly.20210623
2021-06-23 06:01:12 -07:00
David Sanders
ff39a0e939
fix: ensure set vibrancy with invalid value is a no-op ( #29795 )
2021-06-23 15:09:42 +09:00
Shelley Vohr
129f92e1fa
fix: child window alwaysOnTop level persistence ( #29813 )
...
* fix: child window alwaysOnTop level
* chore: add undocumented getAlwaysOnTopLevel
* test: add test for level persistence
* Address feedback from review
2021-06-23 15:09:09 +09:00
Robo
6e310b7424
chore: remove revert_remove_contentrendererclient_shouldfork.patch ( #29842 )
2021-06-22 14:50:57 -07:00
electron-roller[bot]
b8261f1591
chore: bump chromium to 93.0.4550.0 (main) ( #29751 )
2021-06-22 12:17:16 -07:00
Jeremy Rose
c5066cce22
docs: fix broken markdown in dialog.md ( #29782 )
2021-06-22 09:49:30 -07:00
Electron Bot
92901ddf18
Bump v15.0.0-nightly.20210622
2021-06-22 06:01:22 -07:00
David Sanders
bc8cb75e4e
fix: properly handle optional requestHeaders with onBeforeSendHeaders ( #29798 )
2021-06-22 15:08:52 +09:00
Keeley Hammond
0ad73ac423
fix: allow ppapi processes access to resource bundle on all platforms ( #29827 )
...
* wip: debug resource bundle failure
* fix: include ppapi subprocesses for windows resource bundle
* fix: allow ppapi plugin processes access to resource bundle on all platforms.
Aligns with chrome_main_delegate here: https://chromium-review.googlesource.com/c/chromium/src/+/2619003
2021-06-21 20:46:53 -07:00
David Sanders
98d2824c7f
refactor: migrate AdaptCallbackForRepeating to SplitOnceCallback ( #29825 )
2021-06-21 18:04:31 -07:00
Electron Bot
0e465f1885
Bump v15.0.0-nightly.20210621
2021-06-21 06:01:31 -07:00
marekharanczyk
507cbdc80a
fix: do not cancel CORS preflight request on proxy auth. ( #29266 )
...
* fix: do not cancel CORS preflight request on proxy auth.
If connecting via proxy, preflight request can receive 407
header response from proxy. This does not mean request
was finished even though it received headers (from proxy,
not the destination server), so prevent "completing"
and most importantly deleting it, which causes request
to be canceled in network layer. Just continue to monitor it
and await proper response from server. Also add circut breaker
to cancel request if proxy auth failed 3 times (for example
user keeps cancelling auth). This behavior happens only
when app registered WebRequest api listeners.
* Port chromium webrequest changes to electron code.
Move relevant parts of chromium WebRequestProxyingURLLoaderFactory from
https://chromium-review.googlesource.com/c/chromium/src/+/2011781
into electron ProxyingURLLoaderFactory.
* Update code to upstreamed version and remove retyr count failsafe.
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2021-06-21 14:06:52 +09:00
Fedor Indutny
d4a1b41129
fix: microtasks policy in CreateEnvironment ( #29531 )
...
* fix: microtasks policy in CreateEnvironment
Microtasks policy should not be updated for the renderer because
`NodeBindings::CreateEnvironment` might be entered with or without
`UvRunOnce()` on stack. One of the examples of such calls is
`window.open()` which is possible to invoke while `uv_run()` is still
running (e.g. with `setImmediate()`).
All in all, it doesn't matter that much which policy we use since
`v8::MicrotasksScope` has a check for the policy in its destructor and
no commits will be made if the policy is `kExplicit`. It is important,
however, to not change the policy in the middle of `UvRunOnce()` so we
should respect whatever we currently have and move on.
Fix : #29463
* Move test to a better place
* Update spec-main/fixtures/crash-cases/setimmediate-window-open-crash/index.html
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* Update spec-main/fixtures/crash-cases/setimmediate-window-open-crash/index.html
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* simplify crash-case
* comment
* fix comment
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Fedor Indutny <indutny@signal.org >
2021-06-21 14:06:17 +09:00
Darshan Sen
cfc846a337
fix: relax app.getLocaleCountryCode() test ( #29679 )
...
If the app is run with LC_ALL=C on Linux, the test would fail as
app.getLocaleCountryCode() would return "".
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2021-06-21 14:05:28 +09:00
Samuel Attard
e7ae6edbd4
fix: update Squirel.Mac to fix CPU spin during update ( #29791 )
...
* fix: update Squirel.Mac to fix CPU spin during update
Refs: https://github.com/Squirrel/Squirrel.Mac/pull/259
Closes : #29119
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-06-21 14:02:20 +09:00
David Sanders
8844034fa8
chore: tune-up electron::api::NetLog ( #29534 )
2021-06-20 18:52:28 -07:00
Erick Zhao
aca14bf7dd
docs: fix frontmatter for Tray tutorial ( #29788 )
2021-06-21 10:13:39 +09:00
Samuel Maddock
ef2ce9dd67
fix: flakey extension bg page test ( #29744 )
2021-06-21 10:11:40 +09:00
sssooonnnggg
e54667e17e
fix: fix hover state not clear bug when BrowserWindow is not resizable ( #611 ) ( #29721 )
2021-06-21 10:10:40 +09:00
dependabot[bot]
cef4e434cb
build(deps-dev): bump ws from 7.2.1 to 7.4.6 in /spec-main ( #29421 )
...
Bumps [ws](https://github.com/websockets/ws ) from 7.2.1 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.2.1...7.4.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-18 14:20:29 -07:00
John Kleinschmidt
58c58c46c4
ci: cleanup electron dirs after running tests on arm ( #29769 )
...
* ci: cleanup electron dirs after running tests on arm
(cherry picked from commit 1c0a6045fb )
* use start-stop-daemon to kill Xvfb
2021-06-18 14:35:44 -04:00
Electron Bot
e5aa13e2a4
Bump v15.0.0-nightly.20210618
2021-06-18 06:01:54 -07:00
Shelley Vohr
4450327fda
fix: select element not working on Windows ( #29742 )
2021-06-18 09:05:18 +02:00
Milan Burda
de6696ef1d
chore: remove unused and broken ipcRendererInternal.sendTo() ( #29743 )
2021-06-17 23:26:18 -05:00
John Kleinschmidt
6b4c59b8d8
ci: run linux arm tests on CircleCI ( #29714 )
2021-06-17 18:38:25 -04:00
Charles Kerr
8ccab4ce91
feat: bring --enable-logging functionality in line with Chromium ( #25089 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-06-17 14:17:25 -07:00
Shelley Vohr
c841247815
fix: color select eyedropper not working within DevTools ( #29729 )
2021-06-17 08:42:51 -05:00
Electron Bot
f00a2d0629
Bump v15.0.0-nightly.20210617
2021-06-17 06:01:15 -07:00
Shelley Vohr
b3daa2d672
chore: fix BoringSSL conflict in patches ( #29748 )
2021-06-17 13:06:19 +02:00
Shelley Vohr
542abcd6fd
chore: bump Node.js to v16.2.0 ( #29244 )
2021-06-17 08:50:56 +02:00
Erick Zhao
9a7e61cfc0
docs: clarify use of ELECTRON_SKIP_BINARY_DOWNLOAD ( #29720 )
2021-06-17 15:34:08 +09:00
electron-roller[bot]
85718349cc
chore: bump chromium to 93.0.4539.0 (main) ( #29608 )
...
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Samuel Attard <sam@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-06-16 15:43:51 -07:00
Samuel Attard
f71c6c04fd
fix: ensure detached devtools are not always draggable ( #29717 )
2021-06-16 10:18:02 -07:00
Cheng Zhao
330c3bc136
chore: remove c-style conversion for vibrantView ( #29724 )
2021-06-16 10:13:42 -07:00
Shelley Vohr
d59e2d7b2e
fix: draggable regions with devtools open ( #29696 )
2021-06-16 09:58:30 -07:00
trop[bot]
6fd9e4280c
fix: disable CET as v8 deoptimization is incompatible with it ( #29689 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-06-16 09:57:58 -07:00
Electron Bot
7474c59ea0
Bump v15.0.0-nightly.20210616
2021-06-16 06:02:12 -07:00
kdau
226f2a9a56
fix setWindowOpenHandler call syntax ( #29551 )
2021-06-16 16:16:18 +09:00
Shelley Vohr
2ae7e04598
fix: potential crash when setting vibrancy ( #29677 )
2021-06-16 15:39:20 +09:00
Samuel Attard
81795744cf
fix: ensure the typescript definitions only export correct value types ( #28712 )
...
* fix: ensure the typescript definitions only export correct value types
In typescript there are two main types of "types" you can export, value types (class, const) and definition types (type, interface). The typescript compiler will let anything declared via const or class be used as a value. Unfortunately we were exporting a bunch of things (see the diff) as class/const when they weren't actually exported values. This lead to typescript being happy but the runtime throwing errors (not something we want).
This change passes "exported-in" context through our docs, to the parser and then to the definitions generator to ensure we only mark things as exported in the ts defs that we actually export.
Fixes #22167
* chore: update typescript-defs
* chore: update typescript-defs
* chore: fix bad typescript in IPC test
* docs: test rendering of new syntax
* chore: update per feedback, use same syntax but with 'this is not exportedd' line
2021-06-15 13:50:31 -07:00
Calvin
18b03db073
chore: bumping NAN dep to include test changes ( #29686 )
2021-06-15 16:09:39 -04:00
Keeley Hammond
af276c96ec
chore: disable default async spellchecker on Windows ( #29690 )
...
* chore: disable default async spellchecker on Windows
* chore: disable kWinRetrieveSuggestionsOnlyOnDemand in feature list
2021-06-15 09:11:49 -07:00
Electron Bot
31a4cc26d5
Bump v15.0.0-nightly.20210615
2021-06-15 06:01:55 -07:00
David Sanders
214fcfc46d
test: re-enable some skipped tests ( #29655 )
...
* test: re-enable some skipped tests
* test: enable more tests
2021-06-15 10:55:08 +09:00
George Xu
f022ead559
docs: added guide and updated docs for Tray ( #29385 )
...
* docs: added guide and updated docs for Tray
* docs: improve clarity
2021-06-15 10:34:53 +09:00
Kevin Hartman
3e2ec0e2ce
docs: Update represented-file fiddle tutorial ( #29245 )
...
* Update represented-file fiddle.
* add index and code back to guide
Co-authored-by: Ethan Arrowood <ethan.arrowood@gmail.com >
2021-06-15 10:29:51 +09:00
Milan Burda
56ac67e059
refactor: use std::make_unique/base::MakeRefCounted when possible ( #29637 )
2021-06-15 09:37:55 +09:00
Jeremy Rose
ebf54d7cc0
refactor: use PathProvider for user-data-dir and others ( #29649 )
...
* refactor: use PathProvider for user-data-dir and others
* consolidate logic for DIR_RECENT and DIR_APP_LOGS into path provider
* fix bad include
* remove debugging code
* fix build on mac
* fix build on win
* create app logs dir on both mac and non-mac
2021-06-15 09:32:56 +09:00
Samuel Attard
8b945cb296
build: restore workspace on osx builds to get docs-only-change file ( #29465 )
...
* build: restore workspace on osx builds to get docs-only-change file
* build: clean up attached workspace before checking out from cache
2021-06-14 12:20:59 -07:00
David Sanders
7019713126
docs: use relative links within docs ( #29651 )
2021-06-14 14:02:23 -05:00
Luke Ingalls
86ff4a9836
docs: fix typo in process-model.md ( #29563 )
2021-06-14 11:33:07 -04:00
Darshan Sen
cc04450b85
docs: fix file mode of versioning-sketch-2.png ( #29609 )
...
Unlike the other files, this file had its executable bit set in its file
mode. This change removes the executable bit to align its file mode with
the rest of the files.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2021-06-14 11:28:01 -04:00
Electron Bot
0b10c865d3
Bump v15.0.0-nightly.20210614
2021-06-14 06:01:21 -07:00
David Sanders
8d76b4ded1
chore: use consistent integer type for request ID ( #29540 )
2021-06-14 21:01:36 +09:00
Darshan Sen
4b9e804b82
refactor: use locale functions in command_line_args.cc ( #29550 )
...
This change refactors the code to use isalpha() and
isspace() so that the code is more readable.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2021-06-14 21:01:00 +09:00
Jeremy Rose
34a4e26b24
fix: check DCHECK_IS_ON() instead of #ifdef DCHECK_IS_ON ( #29620 )
2021-06-14 11:06:09 +09:00
David Sanders
fed5ad5303
fix: use correct spelling of attachment with Content-Disposition header ( #29621 )
2021-06-14 11:05:16 +09:00
David Sanders
f6d673c32a
chore: use HTTP method constants ( #29650 )
2021-06-14 11:04:36 +09:00
David Sanders
e8c9a814d6
fix: copy received data in URLPipeLoader to prevent corruption ( #29567 )
2021-06-14 10:18:52 +09:00
Electron Bot
af7181b93f
Bump v15.0.0-nightly.20210611
2021-06-11 06:01:09 -07:00
Darshan Sen
9b99bdb570
docs: fix image links in performance.md ( #29592 )
...
* docs: fix image links in performance.md
Fixes https://github.com/electron/electron/issues/29580
Signed-off-by: Darshan Sen <raisinten@gmail.com >
* Apply suggestions from code review
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2021-06-10 12:44:04 -05:00
Electron Bot
057b15f7bb
Bump v15.0.0-nightly.20210610
2021-06-10 06:01:21 -07:00
Shelley Vohr
63cc82d91d
fix: ensure custom traffic lights float to top ( #29595 )
...
* fix: ensure custom traffic lights float to top
* chore: split into separate function
2021-06-10 14:52:23 +02:00
Samuel Attard
73266f8f3d
fix: ensure fuse order is read in a stable way ( #29599 )
2021-06-09 08:30:02 -07:00
Electron Bot
5f2e25b0b2
Bump v15.0.0-nightly.20210609
2021-06-09 08:29:41 -07:00
Samuel Attard
fa0323a3db
fix: Revert "fix: don't propagate GDK_BACKEND to subprocs ( #28898 )" ( #29610 )
...
This reverts commit 7b169c2884 .
2021-06-09 08:28:52 -07:00
Samuel Attard
c252deb878
Revert "Bump v15.0.0-nightly.20210609"
...
This reverts commit c9ccd136a8 .
2021-06-09 08:28:12 -07:00
John Kleinschmidt
396ea4b29c
fix: select-bluetooth-device on Windows ( #29591 )
2021-06-09 10:48:18 -04:00
Electron Bot
c9ccd136a8
Bump v15.0.0-nightly.20210609
2021-06-09 06:01:09 -07:00
electron-roller[bot]
04679121d6
chore: bump chromium to 93.0.4536.0 (main) ( #29586 )
...
* chore: bump chromium in DEPS to 93.0.4536.0
* chore: update patches
* [2918475] Make InkDrop a View class property
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2918475
Replace old views::Button::ink_drop() calls with views::InkDrop::Get()
* [2935942] Convert use of gfx::ImageSkia to ui::ImageModel for WidgetDelegates
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2935942
Update GetWindowIcon(), GetWindowAppIcon(), and GetDevToolsWindowIcon()
to return ui::ImageModel instead of gfx::ImageSkia.
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2021-06-08 15:22:43 -05:00
Shelley Vohr
7b169c2884
fix: don't propagate GDK_BACKEND to subprocs ( #28898 )
2021-06-08 16:10:27 +02:00
Electron Bot
b27c5b94f7
Bump v15.0.0-nightly.20210608
2021-06-08 06:00:58 -07:00
ZReC
330b7849a3
docs: fix typo ( #29553 )
...
* Typo fix
* Update main.js
2021-06-08 11:45:45 +09:00
John Kleinschmidt
556c91a989
ci: save artifacts before cleaning up big things on macOS ( #29578 )
2021-06-07 22:02:21 -04:00
Samuel Attard
8446ce1fc7
feat: add new imageAnimationPolicy webpref and webContents setter ( #29095 )
2021-06-08 11:00:22 +09:00
David Sanders
79cb5144ae
chore: use std::make_unique/base::MakeRefCounted when possible ( #29510 )
2021-06-08 11:00:05 +09:00
Shelley Vohr
a4decffe9a
fix: improper wrapping of fs.promises.readFile ( #29528 )
2021-06-07 21:19:39 +02:00
electron-roller[bot]
5665738ceb
chore: bump chromium to 93.0.4535.0 (main) ( #29549 )
...
* chore: bump chromium in DEPS to 93.0.4533.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4534.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4535.0
* chore: remove PdfViewerDocumentProperties from feature-flag conditional
https://chromium-review.googlesource.com/c/chromium/src/+/2938363
This feature is now enabled by default upstream.
* chore: remove kPdfViewerPresentationMode from feature-flag conditional
https://chromium-review.googlesource.com/c/chromium/src/+/2938037
This feature is now enabled by default upstream.
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2021-06-07 14:09:41 -05:00
Samuel Attard
c48ec133a5
build: remove individual release build workflows ( #29344 )
...
* build: remove individual release build workflows
* build: ensure even builds we do not want to run have at least one step
2021-06-07 10:17:27 -04:00
David Sanders
070f25db54
fix: make intermediates work with 'select-client-certificate' ( #29552 )
2021-06-07 06:40:43 -07:00
Electron Bot
c5b0ba0c01
Bump v15.0.0-nightly.20210607
2021-06-07 06:02:04 -07:00
Jeremy Foster
fc10b53f95
docs: Update notifications (renderer) docs ( #29267 )
...
* remove version information from html
* change format for readability
* clarify which console the message should appear in
* minor changes to renderer.md
* update UI on click instead of developer console
* remove node-integration and fix md
* update content
* chore: remove ****
Co-authored-by: Ethan Arrowood <ethan.arrowood@gmail.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-06-07 13:02:20 +09:00
Kevin Hartman
dd98fa3cd3
docs: Updated "recent documents" fiddle tutorial ( #29242 )
...
* Port recent-documents fiddle to 12-x-y.
* Update recent-documents tutorial.
* update for review comments
Co-authored-by: Ethan Arrowood <ethan.arrowood@gmail.com >
2021-06-07 10:43:24 +09:00
David Sanders
1a30f9f974
chore: update base class name in comment ( #29512 )
2021-06-07 10:18:17 +09:00
electron-roller[bot]
fa2db00e55
chore: bump chromium to 93.0.4532.2 (main) ( #29527 )
...
* chore: bump chromium in DEPS to 93.0.4531.0
* chore: update patches
* Remove IPC::Listener from WebContentsObserver
https://chromium-review.googlesource.com/c/chromium/src/+/2910240
* serial: Move serial policy from profile to local state
https://chromium-review.googlesource.com/c/chromium/src/+/2914194
* chore: fix pip test
* chore: bump chromium in DEPS to 93.0.4532.2
* chore: update patches
* Follow up ColorChooser clean ups
https://chromium-review.googlesource.com/c/chromium/src/+/2928026
* Distinguish between no default printer vs. query error
https://chromium-review.googlesource.com/c/chromium/src/+/2932396
* chore: remove build_do_not_include_vr_directx_helpers_when_enable_vr.patch
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2021-06-04 19:03:31 -07:00
Electron Bot
1c0e8a65c4
Bump v15.0.0-nightly.20210604
2021-06-04 06:01:20 -07:00
David Sanders
79ae8b427c
chore: return early on promise rejection ( #29279 )
2021-06-04 13:21:02 +09:00
David Sanders
8e1176cbc0
chore: pull ProxyingURLLoaderFactory closer to upstream class it mirrors ( #29486 )
...
* chore: pull ProxyingURLLoaderFactory closer to upstream class it mirrors
* chore: add another change which was accepted upstream
2021-06-04 13:18:02 +09:00
David Sanders
81c5da5221
chore: use =default for default constructors/destructors ( #29511 )
2021-06-04 13:16:13 +09:00
David Sanders
b1d1ac6524
fix: change ASAR archive cache to per-process to fix leak ( #29293 )
...
* fix: change ASAR archive cache to per-process to fix leak (#29292 )
* chore: address code review comments
* chore: tighten up thread-safety
* chore: better address code review comments
* chore: more code review changes
2021-06-04 10:49:08 +09:00
Milan Burda
00693bab30
refactor: use auto env = base::Environment::Create(); everywhere ( #29502 )
2021-06-04 09:23:06 +09:00
Electron Bot
5929d6335f
Bump v15.0.0-nightly.20210603
2021-06-03 09:50:54 -07:00
Jeremy Rose
b79fc79a01
docs: remove devDependencies badge from README ( #29499 )
2021-06-03 09:44:48 -07:00
electron-roller[bot]
8532e1239e
chore: bump chromium to 93.0.4530.0 (master) ( #29256 )
...
* chore: bump chromium in DEPS to 92.0.4512.6
* 2887336: [CaptureHandle][#2 ] Propagate CaptureHandleConfig in browser process
https://chromium-review.googlesource.com/c/chromium/src/+/2887336
* refactor: base::Optional -> absl::optional
* chore: fixup patch indices
* chore: bump chromium in DEPS to 92.0.4514.0
* 2899417: Make build work when enable_pdf is set to false.
https://chromium-review.googlesource.com/c/chromium/src/+/2899417
* 2904731: use BrowserContext instead of Profile in PreconnectManager
https://chromium-review.googlesource.com/c/chromium/src/+/2904731
* 2295749: fix: check IsSecureEventInputEnabled in constructor before setting SetPasswordInputEnabled to true
https://chromium-review.googlesource.com/c/chromium/src/+/2295749
* 2893803: Add a GetWebView to RenderFrame.
https://chromium-review.googlesource.com/c/chromium/src/+/2893803
* 2892345: Implement WebContents::ForEachRenderFrameHost
https://chromium-review.googlesource.com/c/chromium/src/+/2892345
* chore: fixup patch indices
* 2892048: Real instance methods for BrowserContext: remaining 5 methods.
https://chromium-review.googlesource.com/c/chromium/src/+/2892048
* 2902821: [mojo] Don't require full header includes for referenced interfaces
https://chromium-review.googlesource.com/c/chromium/src/+/2902821
* 2496500: Remove last deprecated extension Event ctor.
https://chromium-review.googlesource.com/c/chromium/src/+/2496500
* chore: fixup malformed pepper support patch
* chore: bump chromium in DEPS to 92.0.4515.0
* 2908461: Add CreateEmptyPrintPagesParamsPtr() inside print_view_manager_base.cc.
https://chromium-review.googlesource.com/c/chromium/src/+/2908461
* 2880838: viz: add optional HDRMetadata to TransferableResource
https://chromium-review.googlesource.com/c/chromium/src/+/2880838
* chore: fixup patch indices
* chore: bump chromium in DEPS to 92.0.4515.5
* chore: update patches
* chore: bump chromium in DEPS to 92.0.4515.7
* chore: bump chromium in DEPS to 92.0.4515.9
* chore: bump chromium in DEPS to 93.0.4522.0
* chore: bump chromium in DEPS to 93.0.4523.0
* chore: bump chromium in DEPS to 93.0.4524.0
* chore: update patches
* chore: enable_pak_file_integrity_checks was reverted
* chore: update patches
* refactor: base/optional was replaced with absl::optional
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2910202
* refactor: replace all usages of base::nullopt with absl::nullopt
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2910202
* chore: add missing base::Contains include
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2910202
* refactor: replace all usages of base::make_optional with
absl::make_optional
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2910202
* refactor: replace WorldScriptContext() with GetScriptContextFromWorldId
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2893213
* chore: clean up left over opening namespace
Refs: 95bfe6d08f
* chore: add missing base::Contains include
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2910202
* refactor: replace GetCurrentDisplayIterator with the hard checker
GetCurrentDisplay
This code looks suspicious but if the iterator was invalid before it
will also be invalid now.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2893191
* refactor: headers are now passed directly in extensions client
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2918906
* refactor: base::DictionaryValue::empty() has been removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2912424
* chore: add missing includes for network URLLoaderFactory
Refs: unknown, probably a side effect of header changes
* refactor: make convenience wrapper around AppendArg
There is no converter FromV8 for base::StringPiece (apparently its not
possible). So we now take in an std::string and use the construct for
StringPiece to do implicit conversion.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2905544
* chore: add patch
* chore: bump chromium in DEPS to 93.0.4525.0
* chore: update patches
* refactor: CanResize has been de-virtualized
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2485774
* chore: update resource integrity patch
* chore: add character encoding idl patch
* chore: bump chromium in DEPS to 93.0.4526.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4527.0
* chore: bump chromium in DEPS to 93.0.4528.0
* chore: update patches
* chore: update idl encoding patch
* chore: bump chromium in DEPS to 93.0.4529.0
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4530.0
* chore: update patches
* fix: only SetCanResize after the widget has been initialized
* chore: add patch for vr on windows gn gen
* spec: fix focus related tests on linux due to delay in focus swap
* chore: remove new usages of base::Optional from main
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-06-03 01:05:04 -07:00
Milan Burda
8d0ed05c99
refactor: replace a few usages of V8 hidden properties ( #29400 )
2021-06-03 14:59:56 +09:00
David Sanders
bb6903543c
docs: link to IncomingMessage ( #29457 )
2021-06-03 14:54:33 +09:00
Juan Cruz Viotti
d6d9a6a039
build: Improve squirrel.mac BUILD.gn xcrun_action error ( #29448 )
...
Right now, if executing `xcrun` fails, then the error message prints the
second argument to the `xcrun.py` script, which is the first argument to
the tool that `xcrun` is executing, making the whole error message quite
confusing.
Consider the following error:
```
python ../../third_party/squirrel.mac/build/xcrun.py dtrace -h -s /private/tmp/20210531211008-def376dc/src/third_party/squirrel.mac/vendor/ReactiveObjC/ReactiveObjC/RACSignalProvider.d -o /private/tmp/20210531211008-def376dc/src/out/release/gen/third_party/squirrel.mac/dtrace/RACSignalProvider.h
xcrun script '-h' failed with code '71':
xcrun: error: can't exec '/tmp/20210531211008-def376dc/dtrace' (errno=Permission denied)
```
The command that `xcrun` is executing is `dtrace`, but the error just
mentions the `-h` flag.
Notes: none
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2021-06-03 14:54:16 +09:00
Milan Burda
8040cb788f
test: add spec for --require filtering in NODE_OPTIONS ( #29501 )
2021-06-03 14:46:44 +09:00
Keeley Hammond
d8d6e2ebc0
build: update support.md on stable version bumps ( #29381 )
...
* build: update support.md on stable version bumps
* build: update supported on major stable & nightly bumps
* test: updateSupported tests
* chore: fix syntax
* chore: use fspromise in version-bumper script/spec
2021-06-02 12:53:23 -07:00
Jeremy Rose
8ce63a9f18
refactor: point prepare-release at main ( #29394 )
2021-06-02 12:21:20 -07:00
Milan Burda
44491b023a
refactor: eliminate duplicate C++ / JavaScript implementation of app.isPackaged ( #29464 )
2021-06-02 12:17:08 -07:00
Electron Bot
f0d3e1d1cf
Bump v15.0.0-nightly.20210602
2021-06-02 06:03:17 -07:00
David Sanders
97fde6dc9c
build: fix macOS build ( #29484 )
2021-06-02 19:42:07 +09:00
Cheng Zhao
3cfe5c6a21
fix: keep shifted character in menu accelerator ( #29202 )
...
* fix: correctly handle shifted char in accelerator
* test: use actual accelerator of NSMenuItem
* chore: simplify KeyboardCodeFromStr
* chore: GetAcceleratorTextAt is testing only
2021-06-02 16:32:48 +09:00
David Sanders
31190d4c6d
chore: use static_cast rather than C-style cast ( #29467 )
2021-06-02 00:32:10 -07:00
David Sanders
cb59bab8cf
chore: don't use after move ( #29468 )
2021-06-02 00:31:25 -07:00
Juan Cruz Viotti
f9213faec5
build: support building Electron on msys2 ( #29449 )
...
Electron already seems to support `cygwin`, so `msys` is a natural
addition. This is the only required change as far as I can see on my
local development environment, as otherwise the build scripts don't
realize that msys = windows.
Notes: none
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2021-06-02 16:29:19 +09:00
Shelley Vohr
d6109b2eb4
chore: remove unused methods ( #29438 )
2021-06-02 16:27:45 +09:00
Sergio Padrino
abf6f5c8ba
feat: add new runningUnderARM64Translation property to detect x64 translated apps running on Windows ARM ( #29168 )
...
* feat: add new runningUnderARM64Translation property to detect x64 translated apps running on Windows ARM
* docs: add documentation for the new runningUnderARM64Translation property
* refactor: clean up `IsRunningUnderARM64Translation` Windows implementation
* Return false if IsWow64Process2 doesn't exist
* Emit deprecation warning in runningUnderRosettaTranslation
2021-06-02 16:16:33 +09:00
Shelley Vohr
3b75549511
fix: inspector context menu throwing an error ( #29436 )
2021-06-01 20:39:48 -07:00
Jeremy Foster
dee4c4b908
docs: Updated "progress bar" fiddle feature in docs ( #29237 )
...
* improve progress bar fiddle
* add comments to code snippet
* edits to progress-bar tutorial
* remove versions and nodeIntegration
* limit line length to 100
* implement standard linter suggestions
* add indeterminate and clear timers
* update to have reader replace all of main.js
* remove extra button
* loop the progress bar
* add logic to show reset state briefly
* Update docs/tutorial/progress-bar.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* chore: fix lint
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-06-02 11:41:13 +09:00
Samuel Maddock
f9d2a7077e
feat: include resize edge with will-resize event ( #29199 )
...
* feat: emit resize edge with will-resize event
fix: wparam type
fix: private member usage on mac
docs: will-resize event edge option
refactor: 'info' -> 'details' for better type gen
* Update docs/api/browser-window.md
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* Update docs/api/browser-window.md
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-06-02 11:37:10 +09:00
Jeremy Rose
750a762bf0
feat: support loading debug urls with loadURL() ( #29404 )
2021-06-01 17:17:15 -07:00
Electron Bot
fa703016f0
Bump v15.0.0-nightly.20210601
2021-06-01 06:02:35 -07:00
David Sanders
a1a649c0d6
chore: remove duplicate option get for CustomScheme ( #29422 )
2021-06-01 17:47:12 +09:00
Cheng Zhao
0444d74830
fix: Alt+Click should not toggle menu bar ( #29318 )
2021-06-01 17:42:47 +09:00
Pete Torres
19dce8caa5
docs: adjust markdown link syntax in introduction.md ( #29426 )
...
Co-authored-by: peteness <hello@peteness.org >
2021-06-01 09:32:50 +02:00
David Sanders
80a039ec40
chore: move destructors to header so they can be trivially destructible ( #29379 )
2021-05-31 21:00:09 -07:00
Cheng Zhao
d74ad51826
fix: correctly handle Alt+Key shortcuts ( #29328 )
2021-06-01 10:48:52 +09:00
David Sanders
0208e4adad
chore: use HTTP status code constants ( #29378 )
2021-06-01 10:47:53 +09:00
David Sanders
ba26580f23
chore: use consistent parameter names ( #29361 )
2021-06-01 10:46:25 +09:00
David Sanders
d18dbdd72b
fix: add service worker schemes from command line in renderer ( #29425 )
2021-06-01 10:45:23 +09:00
David Sanders
038359a7d8
chore: fix typos in comments ( #29401 )
2021-06-01 10:42:38 +09:00
David Sanders
93c9374e95
chore: trim unused STL includes ( #29414 )
2021-06-01 10:34:44 +09:00
Samuel Attard
71fff6ea0e
build: merge chromedriver gen and build ( #29439 )
2021-05-31 16:20:40 -07:00
Electron Bot
73adee6d53
Bump v15.0.0-nightly.20210531
2021-05-31 06:05:57 -07:00
dependabot[bot]
646b79470a
build(deps-dev): bump ws from 6.2.1 to 7.4.6 in /spec ( #29416 )
...
Bumps [ws](https://github.com/websockets/ws ) from 6.2.1 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/6.2.1...7.4.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 11:53:07 +02:00
Vishal
049d81e590
docs: fix issue with reference links ( #29384 )
2021-05-31 11:52:44 +02:00
Jeremy Rose
95bb0ba001
fix: use default_branch in release-notes ( #29415 )
2021-05-30 17:22:33 -07:00
Jeremy Rose
750ebfdbca
refactor: use main in release-notes ( #29395 )
2021-05-28 12:14:50 -07:00
Jeremy Rose
a61f1446bc
refactor: publish-to-npm respects main ( #29375 )
2021-05-28 12:13:12 -07:00
Electron Bot
221d4abca4
Bump v15.0.0-nightly.20210528
2021-05-28 06:01:45 -07:00
David Sanders
bedd587784
docs: update link to Chromium's coding style guide ( #29330 )
2021-05-27 19:07:46 -07:00
Jeremy Rose
1373a030b4
refactor: version-utils respects main ( #29374 )
2021-05-27 17:32:37 -07:00
Jeremy Rose
f664f37793
refactor: getCurrentBranch respects main ( #29369 )
2021-05-27 17:32:16 -07:00
Jeremy Rose
f3dff819fc
docs: remove freenode channel from support list ( #29370 )
2021-05-27 15:53:39 -07:00
David Sanders
d80e36bcdb
chore: simplify WrappableBase::SecondWeakCallback ( #29359 )
2021-05-27 13:15:25 -07:00
David Sanders
9bb7051f54
chore: prefer empty() check for readability ( #29360 )
2021-05-27 13:08:30 -07:00
David Sanders
77ecc7d432
chore: fix typos in comments ( #29362 )
2021-05-27 11:48:03 -07:00
aydon
9fcdb06272
Update quick-start.md ( #29333 )
...
In version 13.0.1 preload process should added to webPreferences.
2021-05-27 11:46:32 -07:00
Electron Bot
cc93b8acc0
Bump v15.0.0-nightly.20210527
2021-05-27 11:06:31 -07:00
Jeremy Foster
5e033cb7f8
docs: Update notifications (main) docs ( #29268 )
...
* remove version info from index.html page
* remove nodeIntegration
* format code and update readme
* add note to user in index.html
2021-05-27 10:18:50 +09:00
David Sanders
36bca3278d
docs: fix typos in clang-tidy examples ( #29327 )
2021-05-27 09:45:37 +09:00
Erick Zhao
bb26060564
docs: fix link to docs/fiddle/quick-start ( #29325 )
2021-05-27 09:45:23 +09:00
Cheng Zhao
acce13234e
fix: close autoHide menu bar when focus is lost ( #29320 )
2021-05-27 09:36:15 +09:00
George Xu
386572bb86
Chore: update Windows build instructions ( #29342 )
...
update "Change" to "Modify" to reflect the actual options the user sees when opening visual studio installer
2021-05-26 14:19:43 -07:00
Samuel Attard
7984933e9c
feat: add experimental cookie encryption support ( #27524 )
...
* feat: add experimental cookie encryption support on macOS
* chore: fix TODO
* update patches
* feat: make cookie encryption work on windows
* chore: update cookie encryption support comments
* fix: only call OSCrypt::Init on windows
* chore: make cookie encryption work on linux
* Update shell/browser/net/system_network_context_manager.cc
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* chore: fix lint
* chore: update patches
* chore: update patches to upstreamed variants
* chore: use chrome ::switches constants
* chore: remove bad patch
* build: disable cookie encryption by default
* chore: update patches
* fix: provide std::string to NoDestructor
* chore: fix macos, nodestructor syntax
* build: fix macOS build due to mismatch in DEFINE
Co-authored-by: Electron Bot <electron@github.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-05-26 12:16:55 -07:00
Samuel Attard
f01e35f4ea
feat: add support for Blob's going over the ctx bridge ( #29247 )
2021-05-26 10:34:29 -07:00
John Kleinschmidt
d0b9a931cc
build: ensure that mksnapshot for Apple Silicon has all of the needed files for snapshot generation ( #29338 )
...
* build: include mksnapshot args in arm64 mksnapshot.zip
* get gen/v8/embedded.S from proper location
2021-05-26 12:08:32 -04:00
David Sanders
ac079f11f3
chore: use base::Time::Now() directly ( #29331 )
2021-05-26 02:24:44 -07:00
Samuel Attard
da35a8af31
build: remove unused build job ( #29299 )
2021-05-25 11:19:28 -07:00
Electron Bot
e3dfe7366a
Bump v14.0.0-nightly.20210524
2021-05-24 09:17:34 -07:00
Sofia Nguy
e69d0802a7
docs: update 14.0.0 stable dates ( #29255 )
...
* docs: update 14.0.0 stable dates
* Update docs/tutorial/electron-timelines.md
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2021-05-24 08:43:33 -07:00
Michaela Laurencin
8f2765745c
docs: update currently supported versions for 13.0.0 release ( #29295 )
2021-05-24 08:40:26 -07:00
Milan Burda
8fc86517fa
refactor: expose process.contextId directly ( #29236 )
2021-05-24 16:51:54 +09:00
Ethan Arrowood
12aa6d7343
docs: Update online detection doc and fiddle ( #29212 )
...
* rework online detection doc and fiddle
* add footnote
* Update docs/tutorial/online-offline-events.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* Update docs/tutorial/online-offline-events.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* Update docs/tutorial/online-offline-events.md
* Update docs/tutorial/online-offline-events.md
* Update docs/tutorial/online-offline-events.md
* chore: fix lint error
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-05-24 16:34:00 +09:00
Samuel Attard
3ffaaf1872
build: ensure gclient cache restore works in release builds
2021-05-23 19:42:36 -07:00
Samuel Attard
e345ef13ca
build: ensure object files are included even if unparsable
2021-05-23 19:42:36 -07:00
Jeremy Rose
32d8809283
chore: remove unused patch chunk from bad merge ( #29248 )
...
* chore: remove unused patch chunk from bad merge
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-05-24 11:36:38 +09:00
Kevin Hartman
7209702278
Use path.join when logging screenshot path. ( #29211 )
...
Remove index.html from offscreen-rendering tutorial.
It is not used.
Update offscreen-rendering.md to reflect changes to fiddle.
2021-05-24 11:33:45 +09:00
Tony Ferrell
77e7d828ee
docs: Update docs for keyboard shortcuts ( #29207 )
...
* Update docs for keyboard shortcuts
* Add a fiddle for web-apis
* Apply suggestions from code review
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* Cleanup a few formatting errors and missed copies
* Add descriptions to index.html
* Focus on renderer
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-05-24 11:33:22 +09:00
Milan Burda
241cceb2c9
refactor: eliminate duplicate code ( #29174 )
2021-05-24 11:32:55 +09:00
Erick Zhao
6330f8be9f
docs: rework introduction docs ( #29062 )
...
* docs: add 'introduction' doc
* note
* wip
* updates
* wip
* wip
* wip
* add missing code
* wip
* add image for chrome processes
* process model wip
* finish line?
* update links
* Update docs/README.md
Co-authored-by: Cheng Zhao <github@zcbenz.com >
* Update docs/tutorial/introduction.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/quick-start.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/process-model.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/process-model.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/process-model.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/quick-start.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/quick-start.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/quick-start.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/quick-start.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* address code review
* Update docs/tutorial/application-distribution.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* remove wip doc
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-05-24 11:32:36 +09:00
Electron Bot
959375affb
Bump v14.0.0-nightly.20210523
2021-05-23 17:17:02 -07:00
Samuel Attard
47a6e72114
build: linux publish builds that direct checkout should use git cache
2021-05-23 17:14:40 -07:00
Samuel Attard
1d77af0aff
build: only upload libcxx headers on linux
2021-05-23 17:11:21 -07:00
Keeley Hammond
845f756eb6
build: correct libcxx_objects build action name ( #29296 )
2021-05-23 17:10:54 -07:00
Electron Bot
eb4f5e18e6
Revert "Bump v14.0.0-nightly.20210523"
...
This reverts commit 06a8cab4c1 .
2021-05-23 17:08:02 -07:00
Electron Bot
06a8cab4c1
Bump v14.0.0-nightly.20210523
2021-05-23 15:04:01 -07:00
Keeley Hammond
d03325541f
test: rebuild nan tests with libc++ and libc++abi ( #29281 )
...
* test: re-enable nan test: typedarrays-test.js
Fixes #28414 .
I've confirmed this fix wfm on Linux. Pushing into a PR to get CI to run
it out on Win and Mac platforms too.
* chore: clarify comment
* test: fix NAN test string alignment
* test: (wip) add ldflags, archive file for libc++
* test: (wip) add libc++ to CircleCI
* test: (wip) add llvm flags
* test: (wip) change ldflag syntax
* test: (wip) build libc++abi as static
* fix: correct ldflags
* test: add ld env
* fix: do not commit this
* test: add lld from src to circleci
* test: add lld link to ld
* chore: preserve third_party
* seems legit
* sam swears this works kinda sort of sometimes'
:
* build: add gn visibility patch
* chore: update patches
* build: check for flatten_relative_to = false
* build: upload zip files, add to release.js validation
* debug: what the hell gn
* build: add libcxx gni to lint ignore
Linting the file adjusted the licenses array, which only contains
one value, and causes the gn check to fail later
* build: also use nan-spec-runner flags on Windows
* build: add linked flags for win32 only
* build: build libc++ as source on win
* build: clean up patch, add -fPIC for IA32
* build: delete libcxx .a files from root
* build: rename libc++.zip, clean up upload per platform
* build: fix gni lint
* ci: add libcxx gen to circleci config
* build: correct libcxx-object syntax
Co-authored-by: Samuel Attard <sam@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: clavin <clavin@electronjs.org >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sam@electronjs.org >
2021-05-22 11:48:38 -07:00
Cheng Zhao
259bf8c4f7
refactor: remove accessible_pane_view.patch ( #29262 )
2021-05-21 10:00:47 -07:00
Electron Bot
4e2934a872
Bump v14.0.0-nightly.20210520
2021-05-20 06:03:58 -07:00
electron-roller[bot]
039f3d5cd2
chore: bump chromium to 92.0.4511.0 (master) ( #29173 )
2021-05-19 16:15:47 -07:00
John Kleinschmidt
d79ebc6dc6
fix: pdf viewer permissions ( #29210 )
...
* fix: pdf viewer permissions
* fixup for getAllExtensions
2021-05-19 16:08:24 -07:00
Jeremy Rose
cd3c6f9e37
chore: put "mas" in the names of mas patches ( #29213 )
2021-05-19 11:20:12 -07:00
electron-roller[bot]
87dfe1ba99
chore: bump node to v14.17.0 (master) ( #29151 )
2021-05-19 15:48:46 +02:00
Electron Bot
71e232f36d
Bump v14.0.0-nightly.20210519
2021-05-19 06:02:51 -07:00
Robo
77297f37a3
fix: adjust initial webContents focus calculation ( #29204 )
...
* fix: adjust initial webContents focus calculation
* fix: active window check on mac
* fix: about:blank focus behavior
* chore: add spec
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com >
2021-05-19 02:27:35 -07:00
Tabea4
014bdc9f8a
docs: option title for showSaveDialog is not supported for some platforms ( #28747 )
2021-05-19 09:44:17 +02:00
Erick Zhao
6f9df7983d
docs: update style guide ( #29029 )
...
* clearer heading rules
* docs: clarify documentation style guide rules
* Update docs/styleguide.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* fixes
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-05-19 11:55:36 +09:00
Samuel Maddock
d518b6abc8
fix: window bounds not scaled from screen coordinates ( #29162 )
2021-05-19 10:34:40 +09:00
Milan Burda
2806664bd0
fix: AdjustAmountOfExternalAllocatedMemory regression in NativeImage destructor ( #29179 )
2021-05-19 10:04:34 +09:00
Tony Ferrell
071fa2ab8f
docs: update the macos Dock Instructions ( #29197 )
...
* Update the macos Dock Instructions
* Remove preload and ;'s
* Mixed ;s
* Update dock doc
* Add informational text to index.html
2021-05-19 10:03:13 +09:00
Ethan Arrowood
5656493676
docs: update macos-dark-mode fiddle and guide content ( #29198 )
...
* update macos dark mode docs for Electron v12
* pr review fixes
* more pr review fixes
* reorg paragraphs for better flow
* Update docs/tutorial/dark-mode.md
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* pr fixes
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-05-19 10:02:12 +09:00
Tony Ferrell
adb85f341b
docs: update drag and drop tutorial ( #29200 )
...
* Working
* Working
* Make the native-file drag and drop documents use context bridge
* Add per-file sections
* Use the updated link format
* Use path.join instead of string interpolation.
Co-authored-by: Antón Molleda <molant@users.noreply.github.com >
* Use fs.promises
Co-authored-by: Antón Molleda <molant@users.noreply.github.com >
* Update docs/tutorial/native-file-drag-drop.md
Co-authored-by: Antón Molleda <molant@users.noreply.github.com >
* fix formatting
Co-authored-by: Antón Molleda <molant@users.noreply.github.com >
* Update docs/tutorial/native-file-drag-drop.md
Co-authored-by: Antón Molleda <molant@users.noreply.github.com >
* Use more path.join instead of interpolation
* Update with PR suggestions
* Remove process.cwd() and add more example elements
* Minor text fix
* Fix typo
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Antón Molleda <molant@users.noreply.github.com >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-05-19 09:55:24 +09:00
Thomas Kainrad
af426cbdab
Update accelerator.md ( #29193 )
...
`Meta` is a valid alternative for `Super` and should be listed as an available modifier.
2021-05-19 09:52:06 +09:00
Jeremy Rose
1bfc16b65a
docs: expand description of isolate_holder.patch ( #29209 )
2021-05-18 15:44:57 -07:00
Jeremy Rose
99d74799fb
docs: expand description of desktop_media_list.patch ( #29208 )
2021-05-18 15:44:46 -07:00
Jeremy Rose
8cfd249981
chore: drop thread_capabilities.patch ( #29135 )
2021-05-18 15:44:33 -07:00
Jeremy Rose
9b164e5e16
chore: remove blink_fix_prototype_assert ( #29194 )
2021-05-18 15:44:11 -07:00
Jeremy Rose
dcbabcb23c
refactor: remove ssl_security_state_tab_helper.patch ( #29196 )
2021-05-18 10:08:53 -07:00
Electron Bot
aeb566c38e
Bump v14.0.0-nightly.20210518
2021-05-18 06:04:55 -07:00
Jeremy Rose
33035f96a2
chore: remove add_realloc.patch ( #29131 )
2021-05-17 19:34:04 -07:00
Jeremy Rose
4fe8005f27
chore: remove unused function from render_widget_host_view_base.patch ( #29134 )
2021-05-17 15:37:03 -07:00
Jeremy Rose
8f7a385f94
chore: remove blink-worker-enable-csp-in-file-scheme.patch ( #29136 )
2021-05-17 15:16:54 -07:00
Jeremy Rose
04888d2b1f
chore: uncomment some DCHECKs ( #29132 )
2021-05-17 13:24:34 -07:00
Electron Bot
1f5d1a4704
Bump v14.0.0-nightly.20210517
2021-05-17 06:03:41 -07:00
Milan Burda
c68c65f383
refactor: implement <webview> using contextBridge ( #29037 )
...
* refactor: implement <webview> using contextBridge
* chore: address PR feedback
* chore: address PR feedback
* fix: check for HTMLIFrameElement instance in attachGuest
2021-05-15 16:42:07 +09:00
Noelle Leigh
5e6f8349ec
docs: --force-fieldtrials was h2 rather than h3 ( #29161 )
...
All the other argument headers were h3 (`###`) but `--force-fieldtrials` was h2 (`##`) for some reason.
I changed it to make it consistent with the others.
2021-05-14 18:32:21 -07:00
Electron Bot
1c3339640a
Bump v14.0.0-nightly.20210514
2021-05-14 06:05:22 -07:00
Shelley Vohr
cba6626af8
fix: ensure extensions w/o a background page have file access ( #29123 )
2021-05-14 14:06:55 +02:00
Shelley Vohr
b7a23450b7
fix: illegal access errors with nodeIntegrationInSubFrames ( #29093 )
2021-05-14 13:36:15 +02:00
Cheng Zhao
4073599f59
fix: remove background color hack in vibrancy ( #29114 )
2021-05-14 11:05:34 +02:00
Electron Bot
2eb3bddb05
chore: bump chromium to 92.0.4505.0 (master) ( #29058 )
...
* chore: bump chromium in DEPS to 92.0.4500.2
* resolve conflicts
* update patches
* chore: cherry-pick 82434206f306 from chromium (#29060 )
* fix patch
* chore: bump chromium in DEPS to 92.0.4501.0
* chore: bump chromium in DEPS to 92.0.4502.0
* chore: bump chromium in DEPS to 92.0.4503.0
* chore: update patches
* 2869869 : [Code Health] Refactor ListValue::Insert in gpu compositor
https://chromium-review.googlesource.com/c/chromium/src/+/2869869
* 2877924: Separate InkDropHost from InkDropHostView
https://chromium-review.googlesource.com/c/chromium/src/+/2877924
* chore: bump chromium in DEPS to 92.0.4504.0
* update patches
* Fixup for Separate InkDropHost from InkDropHostView
https://chromium-review.googlesource.com/c/chromium/src/+/2877924
* 2873469: Compute hashes of .pak files during the build, and check it at runtime.
https://chromium-review.googlesource.com/c/chromium/src/+/2873469
* 2874397: Remove flag to disable microtasks scope consistency checks
https://chromium-review.googlesource.com/c/v8/v8/+/2874397
* 2881471: Remove unneeded trace_event.h includes in headers.
https://chromium-review.googlesource.com/c/chromium/src/+/2881471
* 2844717: [Keyboard Tooltip] Rename RWHV*::SetTooltipText to UpdateTooltipUnderCursor
https://chromium-review.googlesource.com/c/chromium/src/+/2844717
* chore: bump chromium in DEPS to 92.0.4505.0
* chore: update patches
* 2883887: Retire ScopedObserver in /chrome/browser/predictors.
https://chromium-review.googlesource.com/c/chromium/src/+/2883887
* 2883694: Retire ScopedObserver in /chrome/browser.
https://chromium-review.googlesource.com/c/chromium/src/+/2883694
* fixup after merge
* fixup: Remove flag to disable microtasks scope consistency checks
* Temporarily disable setcallhandler-test.js nan test
This test should be renabled once https://github.com/electron/electron/pull/29028 lands
* Use gin_helper::MicrotasksScope instead of v8::MicrotasksScope
* chore: bump chromium in DEPS to 92.0.4506.0
* update patches
* Revert "update patches"
This reverts commit 333ec0d4c2 .
* Revert "chore: bump chromium in DEPS to 92.0.4506.0"
This reverts commit 2bd52f8cd8 .
* Fixup: Use gin_helper::MicrotasksScope instead of v8::MicrotasksScope
* Fixup: Use gin_helper::MicrotasksScope instead of v8::MicrotasksScope
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2021-05-13 21:21:36 -04:00
Electron Bot
9cf71d72ab
Bump v14.0.0-nightly.20210513
2021-05-13 06:04:22 -07:00
Samuel Attard
4b70ccde26
build: make patch auto fixes come from PatchUp rather than Electron Bot ( #29153 )
2021-05-13 00:23:00 -07:00
Samuel Attard
e1b58182b9
build: save the ninja log for release builds too ( #29140 )
2021-05-12 23:42:16 -07:00
Ondreas
5e1d50d020
docs: update "list" of docs languages in readme.md file ( #29073 )
2021-05-13 11:12:35 +09:00
PalmerAL
5233feaef9
docs: Improve description of findInPage options ( #29077 )
...
* docs: improve webContents.findInPage description
* docs: improve webview.findInPage description
2021-05-13 11:12:08 +09:00
Cheng Zhao
c0bfef16a0
docs: revise Mac App Store Submission Guide ( #28922 )
...
* docs: revise Mac App Store Submission Guide
* chore: update repo URL
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
* chore: apply suggestions from code review
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* chore: update to match style guide
* chore: add cross reference
* chore: fix inaccurate places
* chore: apply reviews
* chore: add link to provisioning profile
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-05-13 11:01:36 +09:00
Samuel Attard
65ff8d940b
build: store artifacts in simpler way ( #29133 )
2021-05-12 18:34:29 -07:00
Samuel Attard
84cc72c415
build: rename and unify checkout-fast and checkout-and-save-cache ( #29138 )
...
Checkout fast was slower and checkout-and-save-cache sometimes didn't save a cache... Basically this unifies our checkout-and-save-cache steps under the existing electron-build command so less steps are duplicated and renames checkout-fast and checkout-and-save-cache to be more aligned with what they actually do.
* `checkout-fast` --> `checkout-for-workspace`: Checks out a fully synced directory and then persists to a workspace layer
* `checkout-and-save-cache` --> `make-src-cache`: Ensures that there is a valid and accurate src cache for this commit. It doesn't always check it out, sometimes it early outs via the src-cache-marker
Notes: no-notes
2021-05-12 18:15:44 -07:00
Samuel Attard
3869bb2b29
build: dedupe release summary jobs ( #29139 )
2021-05-12 18:14:38 -07:00
Milan Burda
3ad9c27823
chore: add wg-security as required reviewer for other files with IPC handlers ( #29092 )
2021-05-12 12:04:06 -07:00
Jeremy Rose
c13a523a79
chore: remove no-op EnableWebComponentsV0 feature ( #29107 )
2021-05-12 12:03:18 -07:00
Tabish Mahfuz
5ceec9189e
fix: Menu.setApplicationMenu can return a useless array 29088 ( #29118 )
2021-05-12 12:02:30 -07:00
Samuel Attard
432ce94d20
build: split tests by timing to make it more even ( #29121 )
2021-05-12 11:59:30 -07:00
Samuel Attard
48959d72f6
build: unconditionally include stack_trace.h ( #29110 )
2021-05-12 11:59:20 -07:00
Samuel Attard
abdd349e58
build: use autoninja to print stats ( #29111 )
2021-05-12 11:40:39 -07:00
Electron Bot
ad0d236ea3
Bump v14.0.0-nightly.20210512
2021-05-12 06:02:43 -07:00
Samuel Attard
8944bceae2
build: merge double space in SHASUM validation logic ( #29117 )
2021-05-12 01:49:16 -07:00
Milan Burda
a51aaeb28f
refactor: replace v8::Local<T>::Cast() with As<T>() ( #29097 )
2021-05-12 16:38:21 +09:00
dependabot[bot]
e01faedaa5
build(deps): bump lodash from 4.17.20 to 4.17.21 ( #29066 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 14:02:14 -07:00
Keeley Hammond
06f51b7283
fix: prevent crash on web-contents creation when error is thrown ( #28971 )
...
* fix: prevent crash when error occurs during event emitter CallMethod
* wip: emit error event within trycatch
* fix: handle uncaught exceptions within node on web_contents init
* fix: create gin_helper::CallMethodCatchException
* test: add web-contents create crash to test cases
* test: clean up test data for web-contents crash
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* fix: convert CatchException to WebContents static helper method
* fix: restore try_catch to callsite
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-05-11 13:57:11 -07:00
Samuel Attard
82946133b1
build: do not use a shared checkout for linux publish ( #29076 )
2021-05-11 09:31:10 -07:00
Samuel Attard
35f2ed8978
build: offload hash checking logic to lambda worker during release ( #29096 )
2021-05-11 09:30:35 -07:00
Electron Bot
2b84d79b18
Bump v14.0.0-nightly.20210511
2021-05-11 06:02:53 -07:00
Shelley Vohr
821c81f5ee
fix: update NSView radii on fullscreen transition ( #29084 )
2021-05-11 09:45:21 +02:00
dependabot[bot]
dca3b41ee6
build(deps): bump hosted-git-info from 2.7.1 to 2.8.9 ( #29079 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 16:43:19 -07:00
Electron Bot
e9b18a8e2a
Bump v14.0.0-nightly.20210510
2021-05-10 12:15:36 -07:00
Samuel Attard
33229f6a27
Revert "Bump v14.0.0-nightly.20210510"
...
This reverts commit 5167d11bfc .
2021-05-10 11:34:07 -07:00
Electron Bot
5167d11bfc
Bump v14.0.0-nightly.20210510
2021-05-10 11:33:30 -07:00
Samuel Attard
3d6adb8c76
Revert "Bump v14.0.0-nightly.20210510"
...
This reverts commit cb05a1d82f .
2021-05-10 11:31:25 -07:00
Electron Bot
cb05a1d82f
Bump v14.0.0-nightly.20210510
2021-05-10 11:28:29 -07:00
Samuel Attard
f0ad7dd315
Revert "Bump v14.0.0-nightly.20210510"
...
This reverts commit b1b8db362f .
2021-05-10 11:17:00 -07:00
Electron Bot
b1b8db362f
Bump v14.0.0-nightly.20210510
2021-05-10 11:15:52 -07:00
Samuel Attard
2173f7b60b
Revert "Bump v14.0.0-nightly.20210510"
...
This reverts commit d3ee141d90 .
2021-05-10 11:11:03 -07:00
Electron Bot
d3ee141d90
Bump v14.0.0-nightly.20210510
2021-05-10 11:01:58 -07:00
Milan Burda
aea8d5325c
fix: webFrame spell checker APIs crashing in sandboxed renderers ( #29053 )
2021-05-10 14:19:23 +02:00
Samuel Attard
1336978de9
build: use executors instead of YAML templating ( #29075 )
2021-05-10 01:18:59 -07:00
Electron Bot
71e0fb7039
Revert "Bump v14.0.0-nightly.20210508"
...
This reverts commit 9ec43a5092 .
2021-05-08 22:47:43 -07:00
Electron Bot
9ec43a5092
Bump v14.0.0-nightly.20210508
2021-05-08 21:55:46 -07:00
Electron Bot
d1219a74cb
Revert "Bump v14.0.0-nightly.20210508"
...
This reverts commit 12d76bea53 .
2021-05-08 21:52:42 -07:00
Electron Bot
12d76bea53
Bump v14.0.0-nightly.20210508
2021-05-08 21:47:21 -07:00
Electron Bot
0b816592ee
Revert "Bump v14.0.0-nightly.20210508"
...
This reverts commit 3f66dd5765 .
2021-05-08 21:19:46 -07:00
Electron Bot
3f66dd5765
Bump v14.0.0-nightly.20210508
2021-05-08 21:12:43 -07:00
Milan Burda
49ef1fe342
refactor: use WeakMap instead of hidden V8 properties to store WebViewImpl ( #29049 )
2021-05-07 17:56:22 -07:00
Electron Bot
de55bf8459
Bump v14.0.0-nightly.20210507
2021-05-07 09:21:35 -07:00
Milan Burda
25f5c01cec
refactor: remove setupWebViewAttributes gymnastics ( #29032 )
2021-05-07 09:07:47 +02:00
Electron Bot
d5f2eb5a81
chore: bump chromium to 92.0.4499.0 (master) ( #29046 )
2021-05-06 15:01:04 -07:00
Milan Burda
cbba602eae
chore: cleanup dead <webview> related code ( #29039 )
2021-05-06 13:56:05 -07:00
Milan Burda
dab9a88413
refactor: invoke loadURL in SrcAttribute instead of sending IPC directly ( #29031 )
2021-05-06 13:55:32 -07:00
Fedor Indutny
ad4def9af7
chore: cherry-pick 7abc7e45b2 from node ( #29021 )
...
Backports: https://github.com/nodejs/node/pull/38506
2021-05-06 08:04:11 -07:00
Electron Bot
1fc230158b
Bump v14.0.0-nightly.20210506
2021-05-06 06:04:34 -07:00
Erick Zhao
8f8708680f
docs: rework sandbox guide ( #28978 )
...
* docs: rework sandbox guide
* update doc name
* add missing comment to code sample
* Update docs/tutorial/sandbox.md
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* Update docs/tutorial/sandbox.md
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* Update docs/tutorial/sandbox.md
Co-authored-by: Biru Mohanathas <birunthan@mohanathas.com >
* load https in the examples
* change `process` docs to Electron's
* remove bit on chrome://sandbox page
* Update docs/tutorial/sandbox.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* Update docs/tutorial/sandbox.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* clarify sandbox default posture
* clarify tasks sandboxed renderers need ipc for
* clarify polyfilled preload environment
* emphasize that --no-sandbox is bad
* clarify preload polyfill `require`
* format markdown references properly
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-06 20:53:55 +09:00
Shelley Vohr
a264fc891d
chore: update force/warn context aware patch ( #29011 )
...
* chore: update force/warn context aware patch
* chore: update patches
2021-05-06 20:53:32 +09:00
Matthijs Groen
28143774c1
docs: menu must be added on whenReady ( #28958 )
2021-05-06 10:19:06 +02:00
Milan Burda
2c65060ec8
chore: make raw requires type-safe ( #29006 )
...
* chore: make raw requires type-safe
* refactor: no need for separate webViewImplModule
* refactor: no need for separate guestViewInternalModule
2021-05-05 18:05:01 -07:00
Samuel Attard
8d0e7aed9f
spec: attempt to fix flaky nativeTheme spec ( #29022 )
2021-05-05 18:04:38 -07:00
Electron Bot
9d9921b533
chore: bump chromium to 92.0.4498.0 (master) ( #28991 )
2021-05-05 16:26:17 -07:00
Milan Burda
2086e1903c
refactor: 'focus-change' does not need guestInstanceId ( #29001 )
...
* refactor: 'focus-change' does not need guestInstanceId
* refactor: rename internal 'focus-change' event to '-focus-change'
2021-05-05 11:37:40 -07:00
Milan Burda
476e908269
fix: <webview> focus / blur events don't work with contextIsolation enabled ( #29004 )
2021-05-05 11:31:44 -07:00
Samuel Attard
16236a195b
chore: remove unused patched webprefs ( #29002 )
2021-05-05 11:28:09 -07:00
Samuel Attard
9b144a6a97
chore: remove patch post renderer process reuse removal ( #29003 )
...
This patch says we can remove it once app.allowRendererProcessReuse was removed, and uh, it has been removed. So let's remove this patch and see what happens.
2021-05-05 10:49:03 -07:00
Shelley Vohr
e379b455c9
fix: drag region BrowserView calculations on macOS ( #28984 )
2021-05-05 11:37:59 -05:00
Samuel Attard
71c248176b
build: remove macOS nightly release tests ( #29005 )
2021-05-05 11:40:38 -04:00
Electron Bot
014f2e622e
Bump v14.0.0-nightly.20210505
2021-05-05 06:02:38 -07:00
Hamish Macpherson
9fb3a49c7c
docs: link to BrowserView from webview page ( #28942 )
...
* docs: Link to `BrowserView` from `webview` page
* fix relative link
2021-05-05 16:12:16 +09:00
Milan Burda
42e5421276
refactor: remove unnecessary setupDialogProperties ( #28982 )
2021-05-05 16:00:41 +09:00
Milan Burda
961b74b2ac
refactor: use "as const" for constant mappings ( #28980 )
2021-05-04 14:12:49 -07:00
Electron Bot
a699dfdf83
Bump v14.0.0-nightly.20210504
2021-05-04 11:48:36 -07:00
Samuel Attard
1dae3da901
Revert "Bump v14.0.0-nightly.20210504"
...
This reverts commit 38c877e9d3 .
2021-05-04 11:42:54 -07:00
Samuel Attard
e5e8ab4eea
refactor: remove more dead code post render process reuse ( #28983 )
...
* Overrides for window.history.*
* Node environment cleanup / creation logic
* Options and switches that are now static values
2021-05-04 11:30:29 -07:00
Electron Bot
38c877e9d3
Bump v14.0.0-nightly.20210504
2021-05-04 07:31:49 -07:00
Milan Burda
a0589ca5d7
chore: remove unused element_instance_id_to_guest_map_ from WebViewManager ( #28979 )
2021-05-04 09:59:44 -04:00
Shelley Vohr
3d6343ed51
fix: close attached sheet on window close ( #28967 )
2021-05-04 12:11:16 +02:00
Erick Zhao
41bb3f1321
docs: update REPL guide ( #28943 )
...
* docs: update REPL guide
* Update docs/tutorial/repl.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2021-05-04 17:17:04 +09:00
Electron Bot
005101424a
chore: bump chromium to 92.0.4496.0 (master) ( #28907 )
...
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2021-05-03 20:13:46 -07:00
Fedor Indutny
99909baeac
fix: allow Node.js to manage microtasks queue ( #28957 )
...
* 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
2021-05-03 14:30:12 -07:00
Rajdeep Chatterjee
dd80952877
docs: Added loadFile instead of loadURL in BrowserWindow documentation example ( #28829 )
...
* Added loadFile instead of loadURL in the example
For loading a local file the loadFile API is a better way to load any html file in the Renderer process.
Have changed it in the example.
* Changed backticks to single quote to correct for linting error
In order to correct the linting error reported by the bot, I have changed backticks to single quote in the example.
2021-05-03 13:56:33 -04:00
Milan Burda
0f898b2260
chore: Browser::SetAppUserModelID is Windows only ( #28909 )
2021-05-03 12:13:19 -04:00
Electron Bot
b0167b269a
Bump v14.0.0-nightly.20210503
2021-05-03 07:34:17 -07:00
Erick Zhao
c17f5a783c
docs: remove reference to global Electron install ( #28945 )
...
* docs: remove reference to global Electron install
This is a pattern that we actively want to discourage.
* docs: update as per review suggestion
2021-05-03 16:25:34 +02:00
Robo
dc0c52eaa7
build: enable woa testing ( #28952 )
...
* chore: revert clang roll
* Revert "build: temporarily disable WOA testing (#28916 )"
This reverts commit 5a9a298a74 .
2021-05-03 09:53:51 -04:00
Jeremy Rose
9601dc59fc
refactor: replace --offscreen flag with ApplyWebPreferences ( #28938 )
2021-05-03 15:28:14 +02:00
Electron Bot
e0fa327daf
Bump v14.0.0-nightly.20210430
2021-04-30 07:34:14 -07:00
Keeley Hammond
bfed86126c
build: add release-env context to publish-macos ( #28937 )
2021-04-29 13:34:58 -07:00
Jeremy Rose
ee8b69d067
refactor: plumb RFH instead of RPH for notifications ( #28790 )
2021-04-29 11:23:28 -07:00
Shelley Vohr
37f7e66873
build: fix npm-run python bytes error ( #28932 )
2021-04-29 19:20:36 +02:00
Electron Bot
77444867b7
Bump v14.0.0-nightly.20210429
2021-04-29 07:34:43 -07:00
Erick Zhao
18a76c6b9d
docs: uniformize module API doc format ( #28920 )
...
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.
2021-04-29 09:56:31 +02:00
Naoki Maeda
a1a90ed03b
chore: Update husky v6.0.0 ( #28827 )
2021-04-29 09:46:15 +02:00
Samuel Attard
791eddd541
fix: provide no-op implementation of app.setUserModelId ( #28915 )
2021-04-28 18:41:03 -07:00
Michael Kozakov
c37c9adbe2
docs: Add clarification for Visual Zoom behavior ( #28860 )
...
* Add clarification for visual zoom documentation
2021-04-28 17:20:47 -04:00
John Kleinschmidt
5a9a298a74
build: temporarily disable WOA testing ( #28916 )
2021-04-28 17:16:27 -04:00
Erick Zhao
0b42316803
docs: remove api/locales page ( #28911 )
...
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.
2021-04-28 13:11:50 -07:00
John Kleinschmidt
3dcba234b5
build: fix dump_syms.py to work with python 3 ( #28910 )
2021-04-28 15:42:25 -04:00
Jeremy Rose
c200840006
fix: emit window-all-closed after closing the window ( #28867 )
2021-04-28 10:55:08 -07:00
Electron Bot
733f81449d
Bump v14.0.0-nightly.20210428
2021-04-28 07:35:15 -07:00
Samuel Attard
56c3103e73
build: remove dead python methods and helper ( #28884 )
2021-04-28 00:39:30 -07:00
Samuel Attard
e373df3bc3
build: actually use SSL when downloading things via python ( #28885 )
2021-04-28 00:38:49 -07:00
Samuel Attard
3879e9e065
build: remove the vendor directory ( #28883 )
...
The `vendor` directory is a remnant of times long since gone when we had
brightray and libchromiumcontent (never forget). It is currently the
hope to a single header file that afaics we do not need anymore and
randomly pyyaml gets cloned there but that is easily movable.
This commit removes all references to the vendor directory from scripts,
docs, helpers, etc. and removes the directory itself.
2021-04-28 00:38:08 -07:00
Samuel Attard
ea6d3fae98
docs: the tools folder does not exist anymore ( #28882 )
2021-04-28 00:36:53 -07:00
Juan Cruz Viotti
5ec3e02d13
docs: Remove mentions of the old external_binaries directory ( #28859 )
...
This functionality was removed in
https://github.com/electron/electron/pull/26701 .
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com >
2021-04-27 20:11:22 -07:00
Samuel Attard
0a1b26b1d5
refactor: remove internal navigation controller ( #28839 )
2021-04-27 16:11:18 -07:00
Jeremy Rose
aedec5206c
test: disable shell.trashItem in renderer test on win-ia32 ( #28868 )
2021-04-27 14:35:31 -07:00
Electron Bot
cdf04f3ae7
chore: bump chromium to 92.0.4488.0 (master) ( #28676 )
...
* chore: bump chromium in DEPS to 92.0.4478.0
* chore: update chromium patches
* chore: update v8 patches
* fix: add scale parameter to LookupIconFromFilepath
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2748317
Follow up: https://github.com/electron/electron/issues/28678
* build: depend on gtkprint config for gtk_util.h
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2824022
* build: add missing print_job_constants header
Refs: unknown
* chore: bump chromium in DEPS to 92.0.4479.0
* update patches
* chore: bump chromium in DEPS to 92.0.4480.0
* chore: bump chromium in DEPS to 92.0.4481.0
* chore: bump chromium in DEPS to 92.0.4482.2
* chore: bump chromium in DEPS to 92.0.4483.0
* chore: update patches
* chore: bump chromium in DEPS to 92.0.4484.0
* chore: bump chromium in DEPS to 92.0.4485.0
* fix patches
* update patches
* 2810414: [LSC] Add PRESUBMIT check for ASCIIToUTF16("...") and UTF8ToUTF16("...")
https://chromium-review.googlesource.com/c/chromium/src/+/2810414
* 2781233: NotificationService: Plumb document_url for non-persistent notifications.
https://chromium-review.googlesource.com/c/chromium/src/+/2781233
* fixup! 2810414: [LSC] Add PRESUBMIT check for ASCIIToUTF16("...") and UTF8ToUTF16("...")
* 2836669: Refactor GTK build target and dependencies
https://chromium-review.googlesource.com/c/chromium/src/+/2836669
* chore: bump chromium in DEPS to 92.0.4486.0
* update patches
* fix DecrementCapturerCount patch
* explicitly include badging.mojom.h
* include ui/gtk/gtk_ui_factory.h for BuildGtkUi()
* fixup! 2810414: [LSC] Add PRESUBMIT check for ASCIIToUTF16("...") and UTF8ToUTF16("...")
* iwyu fix for base::size
* iwyu for TRACE_EVENT0
* 2799631: Use structured interface for DevTools messages
https://chromium-review.googlesource.com/c/chromium/src/+/2799631
* 2801573: Convert enum to enum class for Widget::InitParams::Activatable
https://chromium-review.googlesource.com/c/chromium/src/+/2801573
* 2805764: Add ContentBrowserClient support for service worker-scoped binders
https://chromium-review.googlesource.com/c/chromium/src/+/2805764
* fixup! 2799631: Use structured interface for DevTools messages
* fixup! 2805764: Add ContentBrowserClient support for service worker-scoped binders
* oops, use of linux_ui after std::move
* fix devtools message handling for null params
* disable node test parallel/test-debug-args
https://chromium-review.googlesource.com/c/v8/v8/+/2843348
* fix gn check
* chore: bump chromium in DEPS to 92.0.4487.0
* chore: update patches
* chore: bump chromium in DEPS to 92.0.4488.0
* update patches
* Remove vpython use from Chromium DEPS file
https://chromium-review.googlesource.com/c/chromium/src/+/2810121
* Partial revert "workaround: disable CFG longjmp protection for Windows on Arm"
https://chromium-review.googlesource.com/c/chromium/src/+/2788210
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-04-27 14:27:34 -07:00
Samuel Attard
fa61e3b119
feat: add session.storagePath to get path on disk for session data ( #28665 )
2021-04-27 09:54:28 -07:00
Cheng Zhao
b97b973306
test: worker should be able to load asar files ( #28858 )
2021-04-27 12:07:05 -04:00
Electron Bot
72092c2312
Bump v14.0.0-nightly.20210427
2021-04-27 07:32:15 -07:00
Electron Bot
7c398062dd
Bump v14.0.0-nightly.20210426
2021-04-26 13:13:43 -07:00
Electron Bot
7584ca16c1
Revert "Bump v14.0.0-nightly.20210426"
...
This reverts commit 2ceae36766 .
2021-04-26 13:11:05 -07:00
Electron Bot
2ceae36766
Bump v14.0.0-nightly.20210426
2021-04-26 13:10:23 -07:00
Electron Bot
7cf1f8d11c
Revert "Bump v14.0.0-nightly.20210426"
...
This reverts commit 9afae17380 .
2021-04-26 13:08:27 -07:00
Electron Bot
9afae17380
Bump v14.0.0-nightly.20210426
2021-04-26 13:07:20 -07:00
Samuel Attard
7884f52976
build: fix releases that failed halfway through npm publish actions ( #28851 )
2021-04-26 13:02:14 -07:00
Samuel Attard
79f67417f0
build: import execute method in symbols zip script
2021-04-26 13:00:50 -07:00
Samuel Attard
82b0d67d70
Revert "Bump v14.0.0-nightly.20210426"
...
This reverts commit 5d15cec0fd .
2021-04-26 12:59:50 -07:00
Electron Bot
5d15cec0fd
Bump v14.0.0-nightly.20210426
2021-04-26 11:09:31 -07:00
Samuel Attard
a76b53348c
build: delete dsyms after they have been zipped in release builds
2021-04-26 11:04:44 -07:00
Samuel Attard
cce73c3b8d
Revert "Bump v14.0.0-nightly.20210426"
...
This reverts commit a1386dc19b .
2021-04-26 10:56:38 -07:00
Samuel Attard
08c4b0ab61
build: free up space on macOS some more
2021-04-26 10:56:31 -07:00
Electron Bot
a1386dc19b
Bump v14.0.0-nightly.20210426
2021-04-26 07:37:07 -07:00
Milan Burda
ae0de8ef9f
fix: only set backgroundColor in default-app for default index.html ( #28792 )
2021-04-26 16:29:14 +09:00
Jeremy Rose
7c32deb70f
refactor: use rfh instead of process id in permission manager ( #28791 )
...
* refactor: use rfh instead of process id in permission manager
* fix build
* Update electron_permission_manager.cc
* swap for smaller diff
2021-04-26 16:24:12 +09:00
Jeremy Rose
dc7fa1d9f1
refactor: be more precise when creating api::WebContents ( #23128 )
2021-04-23 13:51:37 -07:00
Jeremy Rose
1c57e078aa
refactor: remove ProcessPreferences ( #28786 )
2021-04-23 12:57:40 -07:00
Electron Bot
33bbdcf1de
Bump v14.0.0-nightly.20210423
2021-04-23 07:33:24 -07:00
Jeremy Rose
be3c2fd0af
fix: shell.trashItem crash when called in renderer ( #28748 )
2021-04-22 13:46:41 -07:00
Jeremy Rose
d2654c652a
chore: restore "Additional Information" section ( #28764 )
2021-04-22 10:56:35 -07:00
Jeremy Rose
583660a85a
docs: fix unintentional emoji in win.getMediaSourceId description ( #28767 )
2021-04-22 10:56:25 -07:00
Samuel Attard
28904714ae
refactor: clean up unused parts of the render_frame_host patch file ( #28769 )
...
* chore: remove CanUseCustomSiteInstance
* chore: remove unused ShouldOverrideSiteInstanceForNavigation
* chore: remove CreateRelatedSiteInstance
* chore: remove BrowsingInstance::CreateSiteInstanceForURL
* chore: remove NavigationState::REUSE_SITE_INSTANCE
* chore: remove accidentally duplicated code post-patch-clean
* chore: reword patch description for new feature-set
* chore: remove ShouldForceNewSiteInstance and all its unused helpers
2021-04-22 10:55:32 -07:00
Samuel Maddock
43d27cc4d1
feat: add WebFrameMain.visibilityState ( #28706 )
...
* feat: add WebFrameMain.visibilityState
* docs: mention other page visibility APIs
* test: delay visibilityState check after hiding
* test: add waitForTrue to avoid flaky visibilityState test
* refactor: waitForTrue -> waitUntil
2021-04-22 12:00:58 -04:00
Electron Bot
93311c8686
Bump v14.0.0-nightly.20210422
2021-04-22 07:34:21 -07:00
dependabot[bot]
362e8421d6
build(deps): bump elliptic from 6.5.3 to 6.5.4 ( #28066 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 12:10:50 +02:00
Shelley Vohr
13f36d54cf
build: disable pseudolocales in Electron ( #28766 )
...
* build: disable pseudolocales in Electron
* Update build/args/all.gn
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-04-21 17:55:22 -07:00
Samuel Attard
79077f6df9
chore: remove app.allowRendererProcessReuse ( #26874 )
2021-04-21 13:59:11 -07:00
Jeremy Rose
4ca518468d
feat: remove BrowserWindow option inheritance ( #28550 )
2021-04-21 10:55:17 -07:00
dependabot[bot]
c4931ff70e
build(deps): bump ssri from 6.0.1 to 6.0.2 ( #28723 )
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 11:56:24 -04:00
Shelley Vohr
503d24a473
fix: handle async nature of [NSWindow -toggleFullScreen] ( #25470 )
2021-04-21 16:56:25 +02:00
Electron Bot
7063b5ef2c
Bump v14.0.0-nightly.20210421
2021-04-21 07:32:11 -07:00
Shelley Vohr
11199d8824
feat: add BrowserWindow.isFocusable() ( #28642 )
2021-04-21 12:32:19 +02:00
Samuel Attard
69f3e330e7
fix: ensure widget size is set correctly on linux on small screens ( #28681 )
...
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).
2021-04-21 10:58:42 +02:00
Electron Bot
6ee819aa65
Bump v14.0.0-nightly.20210420
2021-04-20 07:33:25 -07:00
Samuel Attard
4f3664e6d9
build: fix docs only change script to pull all files not just 30 ( #28737 )
2021-04-19 20:00:28 -04:00
Jeremy Rose
e12a3cb59c
feat: remove deprecated additionalFeatures ( #28548 )
2021-04-19 15:46:54 -07:00
John Kleinschmidt
8164322195
build: read node files as binary files ( #28729 )
2021-04-19 12:55:17 -07:00
Samuel Attard
400d7c4bce
chore: update ts parser for description comment fixes and generic types ( #28709 )
...
* chore: update ts parser for description comment fixes
* docs: strongly type the getUserDefault API
* spec: add getUserMedia type assertions to smoke run
2021-04-19 11:44:58 -07:00
Samuel Attard
ac9ec1a6ea
build: unify machine-mac-large-arm and machine-mac-large ( #28700 )
2021-04-19 11:32:57 -07:00
Samuel Attard
6327a5a4a2
chore: clean up some spec things ( #28680 )
2021-04-19 11:27:34 -07:00
Mark Lee
99fc054ce9
docs(build-instructions): clarify that these are for building Electron itself ( #28674 )
2021-04-19 11:50:00 -04:00
Electron Bot
0d7fd7a74f
Bump v14.0.0-nightly.20210419
2021-04-19 07:33:01 -07:00
Samuel Attard
b8c2481edb
fix: do not handle write errors after request is aborted ( #28682 )
...
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.
2021-04-19 09:50:14 -04:00
Shelley Vohr
484931bba2
fix: end attached sheet when calling window.hide() ( #28671 )
2021-04-16 17:42:09 +02:00
Electron Bot
a354c95d4c
Bump v14.0.0-nightly.20210416
2021-04-16 07:33:58 -07:00
robin
e12128b65b
fix: increase corner radius for vibrancy view on big sur ( #28655 )
...
* fix: increase corner radius for vibrancy view on big sur
* fix: revert git weirdness
Co-authored-by: Robin Fowler <robinfowler@Robins-MBP.broadband >
2021-04-15 14:22:42 -07:00
Electron Bot
22a70eb803
chore: bump chromium to 92.0.4475.0 (master) ( #28462 )
...
* chore: bump chromium in DEPS to 91.0.4464.0
* chore: rebuild chromium/dcheck.patch with import-patches -3
Mechanical only; no code changes
* chore: remove content_browser_main_loop.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2725153
The function being patched (BrowserMainLoop::MainMessageLoopRun()) no
longer exists.
NB: if removing this introduces regressions the likely fix will be to
add a similar patch for ShellBrowserMainParts::WillRunMainMessageLoop()
which has similar code and was added at the same time this was removed.
* chore: rebuild chromium/put_back_deleted_colors_for_autofill.patch with import-patches -3
Mechanical only; no code changes
* chore: rebuild chromium/disable_color_correct_rendering.patch with import-patches -3
Mechanical only; no code changes
* chore: rebuild chromium/eat_allow_disabling_blink_scheduler_throttling_per_renderview.patch with patch
Mechanical only; no code changes
* chore: rebuild chromium/gpu_notify_when_dxdiag_request_fails.patch with import-patches -3
Mechanical only; no code changes
* chore: rebuild chromium/ui_gtk_public_header.patch manually
no code changes
* chore: rebuild chromium/web_contents.patch with import-patches -3
Mechanical only; no code changes
* chore: remove v8/skip_global_registration_of_shared_arraybuffer_backing_stores.patch
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/2763874
This patch has been merged upstream
* chore: export patches
* chore: update add_trustedauthclient_to_urlloaderfactory.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2757969
Sync with removal of render_frame_id_
* chore: sync chromium/put_back_deleted_colors_for_autofill.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2785841
SkColorFromColorId() no longer takes theme, scheme args
* chore: sync chromium/put_back_deleted_colors_for_autofill.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2772143
Change new calls to GetDarkSchemeColor to fit our patched call signature
* chore: update add_trustedauthclient_to_urlloaderfactory.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2757969
Sync with removal of render_frame_id_ in our mojom
* chore: update chromium/frame_host_manager.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2740008
UrlInfo ctor now takes UrlInfo::OriginIsolationRequest instead of a bool
* chore: update chromium/revert_remove_contentrendererclient_shouldfork.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2755314
Upstream has removed `history_list_length_` which we were comparing to 0
to calculate our `is_initial_navigation` bool when calling ShouldFork().
ShouldFork() is ours and none of the code paths actually use that param,
so this commit removes it altogether.
* chore: update permissions_to_register
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2789074
Replace all uses of APIPermission::ID enum with Mojo type
* refactor: update return type of PreMainMessageLoopRun()
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2725153
Used to return void; now returns an int errorcode.
Note: 2725153 also has some nice doc updates about Browser's "stages"
* refactor: sync ElectronBrowserMainParts to MainParts changes
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2725153
RunMainMessageLoopParts has been replaced with WillRunMainMessageLoop
so `BrowserMainLoop::result_code_` is no longer available to us for our
exit_code_ pointer.
This variable held a dual role: (1) of course, hold the exit code, but
also (2) was a nullptr before the message loop was ready, indicating to
anyone calling SetExitCode() that we were still in startup and could
just exit() without any extra steps. exit_code_ still fulfills these two
roles but is now a base::Optional.
* chore: update ElectronBrowserMainParts::PreDefaultMainMessageLoopRun
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2725153
BrowserMainParts::BrowsePreDefaultMainMesssageLoopRun() has been
removed; move that work to the new WillRunMainMessageLoop().
* refactor: stop using CallbackList; it has been removed.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2785973
* refactor: update use of threadpools.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2773408
The upstream code is still in flux (e.g. reverts and re-lands) but the
tl;dr for this commit is (1) include thread_pool.h if you're using it
and (2) don't instantiate pools directly.
* refactor: remove routing_id from CreateLoaderAndStart
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2762858
NB: One logic branch in ProxyingURLLoaderFactory::CreateLoaderAndStart
calls std::make_unique<InProgressRequest>, which needs a routing_id.
This PR uses the member field `routing_id_` since there's no longer one
being passed into CreateLoaderAndStart.
* refactor: sync to upstream ParittionOptions churn
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2771318
PartitionOptions' enums have changed.
* refactor: update Manifest::Location usage
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2771320
tldr: s/Manifest::FOO/ManifestLocation::kFoo/
* chore: bump chromium in DEPS to 91.0.4465.0
* update patches
* refactor: update extensions::Manifest to upstream
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2771320
- extensions::Manifest::COMPONENT
+ extensions::mojom::ManifestLocation::kExternalComponent
* refactor: sync with upstream UrlInfo ctor changes
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2740008
UrlInfo ctor now takes UrlInfo::OriginIsolationRequest instead of a bool
* chore: update invocation of convert_protocol_to_json.py
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2792623
python3 is being used in parts of the upstream build, but the copy of
convert_protocol_to_json.py invoked in v8/third_party/inspector_protocol
is not python3-friendly. Node has a py2+3-friendly version of it in its
tools directory, so call it instead.
* chore: use extensions::mojom::APIPermissionID
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2791122
tldr:
- extensions::APIPermission::kFoo
+ extensions::mojom::APIPermissionID::kFoo
* chore: Remove support for TLS1.0/1.1 in SSLVersionMin policy
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2765737
Remove TLS v1.0 & 1.1 from our SSLProtocolVersionFromString() function.
This is the same change made upstream at
https://chromium-review.googlesource.com/c/chromium/src/+/2765737/8/chrome/browser/ssl/ssl_config_service_manager_pref.cc
* fixup! chore: update ElectronBrowserMainParts::PreDefaultMainMessageLoopRun
* chore: Use IDType for permission change subscriptions.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2791431
tldr: {Subscribe,Unsubscribe}PermissionStatusChange's tag type used to
be an int; now it's the new SubscriptionId type (which is an IdType64).
* chore: sync PowerMonitor code to upstream refactor
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2752635
tldr: PowerMonitor has been split into PowerStateObserver,
PowerSuspendObserver, and PowerThermalObserver to reduce number of tasks
posted to consumers who only need notifications for one of those things
instead of all of them.
* chore: use PartitionOptions's new Cookies field
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2771318
* Revert "refactor: remove routing_id from CreateLoaderAndStart"
This reverts commit 8c9773b87a3c84f9073a47089eb2b6889d745245.
8c9773b was only a partial fix; reverting to start & try again.
* update patches
* chore: bump chromium in DEPS to 91.0.4466.0
* chore: update chromium/accelerator.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2795472
tldr: sync patch with upstream renamed variable & macro names.
* chore: update chromium/gtk_visibility.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2796200
tldr: no code changes; just updating the diff to apply cleanly.
note: ooh upstream Wayland hacking!
* chore: update chromium/picture-in-picture.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2710023
tldr: no code changes; just updating the diff to apply cleanly.
* chore: update chromium/worker_feat_add_hook_to_notify_script_ready.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2775573
tldr: no code changes; just updating the diff to apply cleanly.
* chore: export_all_patches
* chore: update chromium/feat_add_set_theme_source_to_allow_apps_to.patch
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2796511
tldr: NotifyObservers has been renamed to NotifyOnNativeThemeUpdated,
so update the invocation in our patch.
* chore: update ElectronBrowserClient w/upstream API
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2797454
tldr: GetDevToolsManagerDelegate() was returning an owned raw pointer.
Replaced it with CreateDevToolsManagerDelegate() which uses unique_ptr<>.
* chore: handle new content::PermissionType::FILE_HANDLING in toV8()
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2762201
`file-handling` string confirmed in https://chromium-review.googlesource.com/c/chromium/src/+/2762201/18/chrome/browser/ui/webui/settings/site_settings_helper.cc
* refactor: remove routing_id from CreateLoaderAndStart pt 1
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2762858
Part 1: the easiest ones
* 2796724: Support Python3
https://chromium-review.googlesource.com/c/infra/luci/python-adb/+/2796724
* chore: bump chromium in DEPS to 91.0.4468.0
* 2668974: WebShare: Implement SharingServicePicker
https://chromium-review.googlesource.com/c/chromium/src/+/2668974
* 2802766: Apply modernize-make-unique to media/
https://chromium-review.googlesource.com/c/chromium/src/+/2802766
* 2802823: Apply modernize-make-unique to gpu/
https://chromium-review.googlesource.com/c/chromium/src/+/2802823
* 2803041: Apply modernize-make-unique to remaining files
https://chromium-review.googlesource.com/c/chromium/src/+/2803041
* 2798873: Convert GtkKeyBindingsHandler build checks to runtime checks
https://chromium-review.googlesource.com/c/chromium/src/+/2798873
* 2733595: [ch-r] Parse ACCEPT_CH H2/3 frame and restart with new headers if needed
https://chromium-review.googlesource.com/c/chromium/src/+/2733595
* chore: update patch indices
* 2795107: Remove unused PermissionRequest IDs.
https://chromium-review.googlesource.com/c/chromium/src/+/2795107
* chore: bump chromium in DEPS to 91.0.4469.0
* chore: fixup patch indices
* chore: bump chromium in DEPS to 91.0.4469.5
* PiP 1.5: Add microphone, camera, and hang up buttons to the PiP window
https://chromium-review.googlesource.com/c/chromium/src/+/2710023
* fixup! refactor: remove routing_id from CreateLoaderAndStart
* refactor: use URLLoaderNetworkServiceObserver for auth requests from SimpleURLLoader
* fixup! chore: fixup patch indices
* 2724817: Expand scope of wasm-eval to all URLs
https://chromium-review.googlesource.com/c/chromium/src/+/2724817
* Fixup patch after rebase
* chore: bump chromium in DEPS to 91.0.4472.0
* 2797341: [ozone/x11] Enabled the global shortcut listener.
https://chromium-review.googlesource.com/c/chromium/src/+/2797341
* 2805553: Reland Add GTK ColorMixers to ColorPipeline P1
https://chromium-review.googlesource.com/c/chromium/src/+/2805553
* 2804366 : PiP 1.5: Label back to tab button with origin and center it
https://chromium-review.googlesource.com/c/chromium/src/+/2804366
* 2784730: Fix crash on AX mode change in NativeViewHost without a Widget
https://chromium-review.googlesource.com/c/chromium/src/+/2784730
* chore: update patch indices
* 2810174: Add PdfAnnotationsEnabled policy.
https://chromium-review.googlesource.com/c/chromium/src/+/2810174
* 2807829: Allow capturers to indicate if they want a WakeLock or not.
https://chromium-review.googlesource.com/c/chromium/src/+/2807829
* chore: bump chromium in DEPS to 92.0.4473.0
* chore: bump chromium in DEPS to 92.0.4474.0
* chore: bump chromium in DEPS to 92.0.4475.0
* chore: update patches
* chore: updates patches
* chore: update is_media_key patch to handle new ozone impl
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2797341
* fix: ExecuteJavascript requests now need to be flagged as non-bf-aware
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2787195
* chore: icon_util_x11 is now icon_util_linux
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2791362
* build: update sysroots
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2628496
* build: fix missing symbols on linux build
* use_ozone and use_x11 are not exclusive
* new button view to build for pip
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2797341
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2804366
* chore: fix broken gtk_util color patch
* chore: remove patch conflict
* build: update linux manifests
* chore: build bttlb on all platforms for pip
* chore: add thread_pool include for views delegate win
* chore: fix lint
* chore: add node patches for V8 changes
* build: add missing base include on windows
* fix: update frame host manager patch for new state transitions
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2714464
* chore: update windows zip manifests
* chore: update mac zip manifests
* chore: fix patch linting
* refactor: implement missing URLLoaderNetworkServiceObserver methods
It is against The Mojo Rules to leave hanging callbacks. These always
have to be called.
Refs: 186528aab9
* spec: fix locale test on local linux
* fix: pass the exit code correctly in new PreMainMessageLoopRun
Refs: 2622e91c44
* fix: ensure we early-exit when request_handler_ is not provided
Refs: 93077afbfb
* fix: strongly set result_code in the BrowserMainLoop
* fix: invalid usage of non-targetted PostTask
You must always either use a host threadpool or specify a target
thread. In this case we did neither after this refactor.
Refs: 4e33ee0ad3
* chore: fix gn check
* chore: remove stray .rej files in patch
* chore: add mojo error code to url loader failure
* build: ensure CI is truthy in arm test env
* fix: handle windowCaptureMacV2 being enabled when fetching media source id
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2709931
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2021-04-15 10:44:35 -07:00
Samuel Attard
9236e56ddc
build: provide line numbers of bad patch lines when linting ( #28666 )
2021-04-15 10:43:35 -07:00
Electron Bot
5ee906fd04
Bump v14.0.0-nightly.20210415
2021-04-15 07:38:10 -07:00
Electron Bot
20801573aa
Bump v14.0.0-nightly.20210414
2021-04-14 07:34:52 -07:00
Samuel Attard
e37533b73a
build: do not require vsts token for releases ( #28643 )
2021-04-13 15:30:46 -07:00
Jeremy Rose
f8bdef5349
feat: enable nativeWindowOpen by default ( #28552 )
...
* feat: enable nativeWindowOpen by default
* set nativeWindowOpen: false on spec/ main window
* update snapshots
* fix tests
* fix test
* fix webview test missing allowpopups
* fix other test
* update default
2021-04-13 15:36:38 -04:00
Jeremy Rose
dba4df9326
feat: add more info in setWindowOpenHandler details ( #28518 )
...
* fix: invoke the window open handler for _blank links
* feat: add disposition to setWindowOpenHandler details
* fix: pass postData to new-window event
* postData can be heterogeneous
* fix type of postBody
* fix type of UploadFile and UploadRawData to be discriminated unions
* exclude the empty string from additionalFeatures
* add a test
* add postBody and referrer to setWindowOpenHandler args
* appease typescript
* Update api-browser-window-spec.ts
* update snapshots
2021-04-13 15:35:27 -04:00
Electron Bot
b6315612dd
Bump v14.0.0-nightly.20210413
2021-04-13 07:32:14 -07:00
Shelley Vohr
f78f8d15a9
build: better error handling for release builds ( #28621 )
2021-04-13 09:37:23 +02:00
Samuel Attard
6df2680cb6
refactor: clean up webFrame implementation to use gin wrappers ( #28497 )
...
* refactor: clean up webFrame implementation to use gin wrappers
The previous implementation of webFrame in the renderer process leaked
sub-frame contexts and global objects across the context boundaries thus
making it possible for apps to either maliciously or accidentally
violate the contextIsolation boundary.
This re-implementation binds all methods in native code directly to
content::RenderFrame instances instead of relying on JS to provide a
"window" with every method request. This is much more consistent with
the rest of the Electron codebase and is substantially safer.
* chore: un-re-order for ease of review
* chore: pass isolate around instead of ErrorThrower
* chore: fix rebase typo
* chore: remove unused variables
2021-04-12 16:35:18 -07:00
Electron Bot
e775467e9c
Bump v14.0.0-nightly.20210412
2021-04-12 07:34:01 -07:00
Shelley Vohr
2e9ed50bb0
fix: crash on invalid select-serial-port callback ( #28602 )
2021-04-12 06:18:39 -07:00
Robo
6bd13cc98f
fix: load source maps from custom protocols and asar bundles ( #28573 )
...
* fix: load source maps from custom protocols and asar bundles
* chore: fix lint
2021-04-11 21:59:36 -07:00
Samuel Maddock
ef4954fa1f
docs: systemPreferences.subscribeWorkspaceNotification return type ( #28588 )
2021-04-11 14:02:58 -07:00
KSneijders
f755c521eb
Defined the name of the preload script ( #28597 )
2021-04-11 14:01:36 -07:00
Shelley Vohr
95e26e2fd4
refactor: use URL API ( #28583 )
2021-04-09 14:22:18 -07:00
Electron Bot
6772e7773e
Bump v14.0.0-nightly.20210409
2021-04-09 07:33:29 -07:00
Samuel Attard
17f527f757
build: give ASAN tests more memory to avoid SIGKILL or disabling tests ( #28567 )
...
* build: give ASAN tests more memory
* test: re-eanble asan tests
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-04-09 16:09:17 +09:00
Jeremy Rose
f73d09374e
chore: don't minimize js in development ( #28571 )
2021-04-08 15:56:59 -07:00
Milan Burda
da8c35e3b2
chore: remove deprecated worldSafeExecuteJavaScript option ( #28456 )
2021-04-08 12:03:57 -04:00
Jeremy Rose
c428ec5cd5
docs: note that new-window event is deprecated ( #28549 )
...
* docs: note that new-window event is deprecated
* Update breaking-changes.md
* Update docs/breaking-changes.md
2021-04-08 10:52:14 -04:00
Electron Bot
16b0d1fbdd
Bump v14.0.0-nightly.20210408
2021-04-08 07:32:27 -07:00
Electron Bot
3a569c176a
chore: bump node to v14.16.1 (master) ( #28563 )
...
* chore: bump node in DEPS to v14.16.1
* update patches
2021-04-08 03:37:33 -07:00
Samuel Attard
14834f35df
build: add safety net for mac_deployment_target ( #28517 )
...
As of #28480 we now dynamically determine the LSMinimumSystemVersion
value as part of the build process. To avoid this changing and no one
realizing we now have this assert which will trip during a Chromium
upgrade if they bump the minimum supported macOS version so we can
update our documentation appropriately.
2021-04-08 00:28:02 -07:00
Cheng Zhao
968b30c9b4
feat: support wasm-eval csp behind WebAssemblyCSP flag ( #28535 )
2021-04-07 13:04:50 -07:00
Jeremy Rose
17a44895dd
docs: fix typo in breaking-changes.md ( #28551 )
2021-04-07 10:32:32 -07:00
Electron Bot
00fa60ef76
Bump v14.0.0-nightly.20210407
2021-04-07 07:33:41 -07:00
Germain
2865d161b7
docs: remove checkbox options in dialog.showMessageBoxSync ( #28418 )
2021-04-07 00:18:19 -07:00
Shelley Vohr
7d04f729d8
fix: beforeunload and unload firing in BrowserViews ( #28382 )
...
* fix: beforeunload and unload firing in BrowserViews
* Ensure UserGesture is sent for BV webContents
* spec: add tests
* refactor: clean up logic
* spec: fixup specs
* docs: document event behavior for BrowserViews
2021-04-07 00:16:10 -07:00
Cheng Zhao
e454bded3c
fix: allow accessing file:// when web security is disabled ( #28489 )
...
* fix: allow accessing file:// when web security is disabled
* test: fix webview tests on web security
* chore: remove unused attributes
* chore: cleanup RegisterURLLoaderFactories method
2021-04-07 10:46:23 +09:00
Fedor Indutny
fe0da255b6
fix: call UnregisterIsolate consistently ( #28486 )
2021-04-06 16:10:34 -07:00
John Kleinschmidt
63317627b5
ci: Add goma fallback flag ( #28539 )
...
* ci: fallback to local compile if goma auth fails
* use correct flag
2021-04-06 14:05:44 -04:00
Jeremy Rose
77dcf1020a
fix: pass postData to new-window event ( #28513 )
2021-04-06 09:54:05 -07:00
Cheng Zhao
641e9337f3
test: disable "fs in renderer process" test under ASan ( #28509 )
2021-04-06 12:15:45 -04:00
Electron Bot
0c2150a6fa
Bump v14.0.0-nightly.20210406
2021-04-06 07:33:22 -07:00
Jeremy Rose
62b38812b6
fix: invoke the window open handler for _blank links ( #28498 )
...
* fix: invoke the window open handler for _blank links
* add test
2021-04-06 01:04:14 -07:00
Shelley Vohr
3ed8da0931
fix: dialog DCHECK on Linux ( #28478 )
2021-04-05 23:54:58 -07:00
Samuel Attard
e2f49edf83
build: ignore ninja summary print failures ( #28514 )
2021-04-05 20:22:25 -04:00
Jeremy Rose
1fcd6e2740
docs: Remove GoDaddy from Windows code signing options ( #28494 )
2021-04-05 17:13:29 -07:00
Michaela Laurencin
19d7a6b761
fix: enable system maximization for frameless windows except if transparent ( #28207 )
...
* 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-06 08:53:59 +09:00
SushiJackal
82ea8ea68c
fix: reject task append to JumpList when description exceeds 260 characters ( #28485 )
...
* fix: reject task when description exceeds 260 characters
* Switched out wcslen() for size() [linear -> constant time]
* Included comment describing the need for the additional check
* Added information about character limit to documentation
* Added newline character to end of jump-list-category.md
2021-04-06 08:50:39 +09:00
Samuel Attard
c280d770dc
docs: the minimum supported version of macOS is now 10.11 ( #28480 )
...
* chore: the minimum supported version is now 10.11
Chromium bumped this version back in December
* Update support.md
2021-04-05 12:18:12 -07:00
Electron Bot
29603bcc27
Bump v14.0.0-nightly.20210405
2021-04-05 07:33:32 -07:00
Milan Burda
55c66e3e92
chore: add types for electron_renderer_web_frame binding ( #28455 )
...
* chore: add types for electron_renderer_web_frame binding
* chore: use keyof for getWebPreference type
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2021-04-02 14:34:28 -07:00
Electron Bot
9904438118
Bump v14.0.0-nightly.20210402
2021-04-02 07:33:46 -07:00
Anna Henningsen
e6aefed0ee
fix: free IsolateData in ~NodeEnvironment ( #28469 )
...
This seems to just have been missing here, leaking memory
(and breaking the API contract for Node.js embedding).
2021-04-01 16:46:11 -07:00
Tristan Partin
fa65faa4b0
feat: Use GtkFileChooserNative to support the XDG Desktop Portal specification ( #19159 )
...
* feat: Use GtkFileChooserNative if available to support XDG portals
With this commit, users on KDE/plasma will finally have support in
Electron for their native file choosers dialogs.
* fix: namespace
* fix: labels were reversed
* fix: lint issue
* fix: clean up some implementation
* fix: remove deprecation branch
* fix: remove unused header
* fix: remove unused gi18n.h include
Not sure why this is
* fix: add the set_data call into the mirrored SetGtkTransientForAura func
* fix: remove gmodule support and use native for the dialog regardless
* fix: undo yarn.lock changes
* fix: lint
* fix: remove x11 unncessary x11 include
* fix: lint
* fix: remove SetGtkTransientForAura
* Revert "fix: remove gmodule support and use native for the dialog regardless"
This reverts commit 062db5951e59cf99fcce566ab8ebab7ddc031aeb.
* fix: add support in a backwards compatible way
Use GModule to dynamically load functions from libgtk in order to
support GtkNativeDialog.
* fix: lint
* docs: update comment
* Revert "fix: remove x11 unncessary x11 include"
This reverts commit 589cff583add458c25ca5a2202232fdff916c673.
* fix: compiler errors
* fix: int -> x11::time
* fix: move GtkNativeDialog static data to global state
* fix: revert yarn.lock change
* update: for code review comments
* fix: remove functional header
* fix: variable name
* fix: rename GTK native initalization func
* Help out the compiler
* Help out the compiler
* Help out the compiler
* Fix function signature
* Remove unused header
* Rename optional boolean for GtkFileChooserNative support
* Add back in USE_X11 check
* Satisfy linter
* Resatisfy linter
* Fix alignment of if
* Fix alignment of arguments
* linting...
* fix: add back in the i18n hack
* fix: lint
* Respond to some review comments
* fix: lint
* Make adding filter agnostic
* fix: transform is in place
* fix: remove std::transform because not c++17
* Remove unused include
* fix: address Cheng's review
* fix: Remove unused header
2021-04-02 08:29:27 +09:00
Samuel Attard
e323bfe661
refactor: remove unneeded patch_count variable ( #28467 )
2021-04-02 08:27:35 +09:00
Electron Bot
976222b509
Bump v14.0.0-nightly.20210401
2021-04-01 07:33:12 -07:00
Michaela Laurencin
2a55ae4b85
docs: add frameName note for window.open ( #28435 )
2021-03-31 13:57:39 -07:00
dependabot[bot]
05d164e660
build(deps): bump y18n from 5.0.1 to 5.0.5 in /spec ( #28445 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 5.0.1 to 5.0.5.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/compare/v5.0.1...v5.0.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 13:57:18 -07:00
Samuel Attard
ba3b2189ad
build: fix unicode patch file comparison in git.py ( #28454 )
...
This caused some patches to fail incorrectly as the patch file included
non-ascii characters, we have to manually convert using the utf8 charset
2021-03-31 13:48:21 -07:00
Electron Bot
bdeeabdc3c
Bump v14.0.0-nightly.20210331
2021-03-31 07:31:36 -07:00
Erick Zhao
f55aa78883
chore: update Community link in default menu ( #28449 )
2021-03-30 23:22:55 -07:00
dependabot[bot]
52262a9db0
build(deps): bump y18n from 4.0.0 to 4.0.1 ( #28448 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 23:22:06 -07:00
Charles Kerr
5fe07e1e23
Merge branch 'roller/chromium/master'
2021-03-30 21:29:04 -05:00
Charles Kerr
b9ea4a6ba4
Revert "chore: bump chromium to 91.0.4448.0 (master) ( #28009 )"
...
This reverts commit a006cf681b .
It was squash-merged by accident; let's redo that without squashing.
2021-03-30 21:28:40 -05:00
Electron Bot
a006cf681b
chore: bump chromium to 91.0.4448.0 (master) ( #28009 )
...
* chore: bump chromium in DEPS to 91.0.4435.3
* build: add 'use_rts' definition
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2694187
* chore: update patches
* chore: media_internal_resources becomes resources
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2699022
* chore: update patches
* refactor: extensions::ViewType moved to mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2710351
* chore: might_have_observers has been removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2667839
* refactor: CertVerifier is not in the network namespace anymore
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2689805
* refactor: ExtensionUserScriptManager is now UserScriptManager
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2657617
* refactor: content::SiteInstance::GetSiteForURL was removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2680274
* refactor: MenuItemType was moved to mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2071443
* refactor: extensions::ViewType was moved to mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2710351
* refacotr: grit::ResourceMap replaced with webui::ResourcePath
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2685601
* refactor: blink::MenuItem::Type was moved to mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2071443
* refactor: CreateDataPipe deprecated form was removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2698090
* refactor: DesktopMediaList::Type replaces content::DesktopMediaType_*
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2700637
* chore: wire up activation_time in OSR
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2638372
* chore: remove deleted file from chromium_src list
* chore: fix lint
* update patches
* chore: bump chromium in DEPS to 91.0.4438.0
* chore: bump chromium in DEPS to 91.0.4439.0
* chore: bump chromium in DEPS to 91.0.4440.0
* chore: bump chromium in DEPS to 91.0.4441.0
* chore: bump chromium in DEPS to 91.0.4442.0
* chore: bump chromium in DEPS to 91.0.4443.0
* chore: bump chromium in DEPS to 91.0.4445.0
* chore: bump chromium in DEPS to 91.0.4446.0
* chore: update patches
* fixup gn check
* Merge branch 'master' into roller/chromium/master
* update to xcode 12.4.0
Needed because of 8008deb41c
* 2752406: [LSC] Replace base::string16 with std::u16string in //ui
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
* 2752406: [LSC] Replace base::string16 with std::u16string in //ui
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
* 2752932: Associate each AwProxyingURLLoaderFactory with a frame tree node id.
https://chromium-review.googlesource.com/c/chromium/src/+/2752932
* 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer.
https://chromium-review.googlesource.com/c/chromium/src/+/2651385
* 2734095: Introduce StoragePartitionId type to wrap current string representation.
https://chromium-review.googlesource.com/c/chromium/src/+/2734095
* chore: bump chromium in DEPS to 91.0.4448.0
* Update patches
* 2743594: Remove WebSize from blink.
https://chromium-review.googlesource.com/c/chromium/src/+/2743594
* 2725403: Add URLLoaderClient::OnReceiveEarlyHints()
https://chromium-review.googlesource.com/c/chromium/src/+/2725403
* 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer.
https://chromium-review.googlesource.com/c/chromium/src/+/2651385
* 2721718: Move HostID to extensions::mojom::HostID
https://chromium-review.googlesource.com/c/chromium/src/+/2721718
* 2733070: Rename observer to URLLoaderNetworkServiceObserver
https://chromium-review.googlesource.com/c/chromium/src/+/2733070
* Use nogncheck for content/browser/site_instance_impl.h
This is needed because //content/browser:browser is not a visible target
* 2648046: Introduce alert notification helper .app
https://chromium-review.googlesource.com/c/chromium/src/+/2648046
* 2752406: [LSC] Replace base::string16 with std::u16string in //ui
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
* only include mac notifications on mac
* add additional skipping of atk toolchain check
* 2757472: Reland "Reland "[LSC] Remove base::string16 alias""
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
* 2757472: Reland "Reland "[LSC] Remove base::string16 alias""
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
* 2720306: [api] Remove deprecated [Shared]ArrayBuffer API
https://chromium-review.googlesource.com/c/v8/v8/+/2720306
* Fixup 2721718: Move HostID to extensions::mojom::HostID
* fixup 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer
* Fixup 2752406: [LSC] Replace base::string16 with std::u16string in //ui
* Fixup 2725403: Add URLLoaderClient::OnReceiveEarlyHints()
* update node headers
* chore: bump chromium in DEPS to 91.0.4449.0
* Revert "chore: bump chromium in DEPS to 91.0.4449.0"
This reverts commit bccafa0289 .
* 2693008: Fix loading non-system cursors on Windows on browser_tests
https://chromium-review.googlesource.com/c/chromium/src/+/2693008
* 2757472: Reland "Reland "[LSC] Remove base::string16 alias""
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
* undo changes to WebContentsPreferences::GetPreloadPath to fix mac build
* fix StrCat issue
* incantations for WebContentsPreferences::GetPreloadPath wide strings
* bump nan
* fix GetAsString maybe?
* windows build fixes
* more windows build fix
* SetAppUserModelID -> wstring
* upgrade nan dep in tests
* lint
* wstrings are cross-platform
* linter
* only bind setAppUserModelId on windows
* fix a messed up merge
* well that was an odyssey
* backport fcdf35e from v8 to fix nan crash
* disable typedarrays-test.js
* don't defer in NSWindow creation
https://chromium-review.googlesource.com/c/chromium/src/+/2707696
* use PartitionAllocator for ArrayBuffers in the main process
* fix patches
* chore: omit some unnecessary conversions
* refactor: make LoginItemSettings::path a wstring
* refactor: make ShowTaskDialog take a wstr
* Revert "refactor: make LoginItemSettings::path a wstring"
This reverts commit 9127cff58b .
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2021-03-30 21:17:09 -05:00
Charles Kerr
9684d85101
Revert "refactor: make LoginItemSettings::path a wstring"
...
This reverts commit 9127cff58b .
2021-03-30 20:32:11 -05:00
Charles Kerr
1594c54933
refactor: make ShowTaskDialog take a wstr
2021-03-30 18:06:00 -07:00
Charles Kerr
9127cff58b
refactor: make LoginItemSettings::path a wstring
2021-03-30 17:14:27 -07:00
Charles Kerr
0f3620099a
chore: omit some unnecessary conversions
2021-03-30 17:08:13 -07:00
Samuel Attard
6016e244fa
fix: handle an unparsable pdf manifest ( #28432 )
2021-03-30 14:53:40 -07:00
Jeremy Rose
54e72fa8e3
fix patches
2021-03-30 10:17:14 -07:00
Jeremy Rose
5d13820441
Merge branch 'master' into roller/chromium/master
2021-03-30 09:47:35 -07:00
Electron Bot
c9217f07e6
Bump v14.0.0-nightly.20210330
2021-03-30 07:32:11 -07:00
Shelley Vohr
9fecf8369f
fix: errors thrown in functions over the contextBridge ( #28346 )
...
* fix: errors thrown in functions over the contextBridge
* spec: add a test
* fix: ensure exception is a v8::Object
2021-03-30 00:26:49 -07:00
Jeremy Rose
9a7cfc42aa
fix: put RemoteCertVerifier upstream from the caching and coalescing layers ( #28358 )
2021-03-29 15:35:12 -07:00
Jeremy Rose
1f575ca3af
use PartitionAllocator for ArrayBuffers in the main process
2021-03-29 12:52:59 -07:00
Electron Bot
b6254bfd36
Bump v14.0.0-nightly.20210329
2021-03-29 07:34:14 -07:00
Shelley Vohr
ae2059eaa1
refactor: remove more uses of v8::Isolate::GetCurrent() ( #28369 )
2021-03-29 03:45:08 -07:00
Cheng Zhao
ff96fabe5e
test: increase timeout for spellchecker ( #28427 )
2021-03-29 00:10:09 -07:00
Jeremy Rose
3122820e58
don't defer in NSWindow creation
...
https://chromium-review.googlesource.com/c/chromium/src/+/2707696
2021-03-26 18:14:07 -07:00
Jeremy Rose
01ca00ec82
disable typedarrays-test.js
2021-03-26 15:34:57 -07:00
Jeremy Rose
606fd87d1e
backport fcdf35e from v8 to fix nan crash
2021-03-26 10:42:43 -07:00
Electron Bot
5be2183dd7
Bump v14.0.0-nightly.20210326
2021-03-26 07:32:17 -07:00
Saúl Ibarra Corretgé
2632564ccf
feat: initialize field trials from command line arguments ( #28305 )
...
Fixes : #27877
2021-03-26 09:49:00 +09:00
Alexander Prinzhorn
521146f71e
docs: add missing line in web-contents.md ( #28376 )
...
* Update web-contents.md
The text block was rendered as part of the `features` property, not the `handler`
* fix linting
2021-03-26 09:46:59 +09:00
Jeremy Rose
dd975328a0
well that was an odyssey
2021-03-25 11:51:13 -07:00
Cheng Zhao
fb4e99e729
test: load minimal dict for spellchecker ( #28386 )
2021-03-25 10:41:11 -04:00
Electron Bot
77365e701f
Bump v14.0.0-nightly.20210325
2021-03-25 07:34:28 -07:00
Shelley Vohr
1453a8e743
fix: disappearing thumbar after win.hide() ( #28366 )
...
* fix: disappearing thumbar after win.hide()
* Add descriptive comment
2021-03-25 04:02:47 -07:00
Samuel Maddock
b9b734c9c4
fix: export patches not retaining CRLF line endings ( #28360 )
...
When a patch targets a file using CRLF line endings, they need to be
retained in the patch file. Otherwise the patch will fail to apply
due to being unable to find surrounding lines with matching whitespace.
2021-03-25 14:49:53 +09:00
Jeremy Rose
6fbd84fc80
fix a messed up merge
2021-03-24 11:48:15 -07:00
Samuel Attard
7918ddb026
perf: do not double-proxy methods being return over the contextBridge ( #28285 )
2021-03-24 11:43:02 -07:00
Calvin
89df6b98da
fix: isolate Pepper plugins ( #28332 )
2021-03-24 11:11:26 -07:00
Jeremy Rose
640a145112
only bind setAppUserModelId on windows
2021-03-24 10:55:32 -07:00
Jeremy Rose
aaf03765ed
linter
2021-03-24 10:53:07 -07:00
Jeremy Rose
7f7b1f6c8a
wstrings are cross-platform
2021-03-24 10:47:53 -07:00
Jeremy Rose
d874a59056
lint
2021-03-24 10:46:48 -07:00
Jeremy Rose
4f97b9303c
upgrade nan dep in tests
2021-03-24 10:45:45 -07:00
Jeremy Rose
83d93bcbdc
SetAppUserModelID -> wstring
2021-03-24 10:22:04 -07:00
Electron Bot
d93690ccdc
Bump v14.0.0-nightly.20210324
2021-03-24 07:33:32 -07:00
liulun
3d2b740d9e
doc: desktopCapturer menu position ( #28315 )
...
desktopCapturer can be used in both main process and renderer process
2021-03-24 10:10:12 +09:00
Jeremy Rose
39e3576c48
Merge remote-tracking branch 'origin/master' into roller/chromium/master
2021-03-23 11:14:58 -07:00
Jeremy Rose
61cf1abd4d
more windows build fix
2021-03-23 11:12:59 -07:00
Cheng Zhao
1e9e2f8cf6
fix: make sure service worker scheme is registered with allowServiceWorkers ( #28326 )
...
* Fix custom scheme not registered as service worker scheme
* ServiceWorker loaders do not have WebContents associated
* Add test for service worker
* Revert "Fix custom scheme not registered as service worker scheme"
This reverts commit a249235b22 .
* Add scheme to ServiceWorkerSchemes
2021-03-23 11:16:53 -04:00
Shelley Vohr
7c36463085
fix: window.print() in pdf plugin ( #28328 )
2021-03-23 10:40:37 -04:00
Electron Bot
6a0b03ba6a
Bump v14.0.0-nightly.20210323
2021-03-23 07:32:53 -07:00
Samuel Attard
94af0e8bb0
fix: escape URL passed to shell.openExternal on windows ( #28334 )
2021-03-22 16:33:03 -07:00
Jeremy Rose
5b598037bb
windows build fixes
2021-03-22 15:49:43 -07:00
Jeremy Rose
ea62ecd188
fix GetAsString maybe?
2021-03-22 14:47:24 -07:00
Shelley Vohr
665ac6f9c8
fix: libuv hang on Windows ( #28175 )
2021-03-22 13:11:03 -07:00
Jeremy Rose
74318705c2
bump nan
2021-03-22 13:09:41 -07:00
Jeremy Rose
205f572181
incantations for WebContentsPreferences::GetPreloadPath wide strings
2021-03-22 12:15:30 -07:00
Jeremy Rose
451e0931bf
fix StrCat issue
2021-03-22 12:07:12 -07:00
Jeremy Rose
deeb2de14b
undo changes to WebContentsPreferences::GetPreloadPath to fix mac build
2021-03-22 10:35:11 -07:00
John Kleinschmidt
d10398610b
ci: cleanup directories on arm64 machines after running tests ( #28329 )
2021-03-22 10:34:13 -07:00
Nikita Kot
e99893df22
feat: add ContextBridgeMutability feature ( #27348 )
2021-03-22 10:16:35 -07:00
Electron Bot
fa320eeb90
Bump v14.0.0-nightly.20210322
2021-03-22 07:32:51 -07:00
Shelley Vohr
96ce59609d
refactor: prefer embedder-focused InitializeNodeWithArgs ( #28271 )
2021-03-22 02:42:06 -07:00
Adrian Li
703f8707db
fix: Fix main.js source code ( #28265 )
...
fix: Fix main.js source code, missing large bracket
2021-03-22 11:01:49 +09:00
Will Anderson
8c3165434a
docs: update Node global symbols example to use contextBridge ( #28245 )
...
* docs: update Node global symbols example to use contextBridge
* Trigger Build
* docs: change Node API example to show how to expose a crypto API
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* docs: Fix lint warning for crypto code sample
* docs: update node API example description to emphasize APIs instead of symbols
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-03-22 11:01:12 +09:00
Cheng Zhao
c8d18a0a1c
fix: destroy MessageDispatcher before WebContents ( #28286 )
2021-03-22 10:56:30 +09:00
Cheng Zhao
db7059eb0a
test: spellchecker may take several minutes to load under ASan ( #28230 )
...
* test: spellchecker may take several minutes to load under ASan
* Add TODO for the timeout
2021-03-22 10:56:08 +09:00
Electron Bot
a79ef2d525
Bump v14.0.0-nightly.20210319
2021-03-19 07:32:26 -07:00
Shelley Vohr
79bcb882ac
fix: drag region offsets in BrowserViews ( #28268 )
2021-03-19 06:22:05 -07:00
Shelley Vohr
a68d43ce8b
fix: missing HandleScope in ResetBrowserViews ( #28266 )
2021-03-19 10:24:55 +09:00
Jeremy Rose
502d4c19ce
feat: allow omitting submitURL when uploadToServer is false ( #28105 )
2021-03-18 14:15:19 -07:00
Samuel Attard
f35fc93080
chore: rename process.contextIsolation to process.contextIsolated ( #28259 )
...
* chore: rename process.contextIsolation to process.contextIsolated
* thing
2021-03-18 14:00:19 -07:00
Samuel Maddock
4057e6b56e
fix: DesktopCapturer gc'd prior to capture completion ( #28273 )
...
desktopCapture.getSources() returns a promise which should resolve
when capturing finishes. Internally it creates an instance of
DesktopCapturer which is responsible for resolving or rejecting
the promise.
Between the time DesktopCapturer starts capturing frames and when
it finishes, it's possible for its handle to be GC'd leading to
it never resolving.
These changes pin the instance of DesktopCapturer until it either
finishes or errors.
fixes #25595
2021-03-18 13:43:35 -07:00
Jeremy Rose
b52ccc9726
fix: bad menu position when no positioning item specified ( #28224 )
2021-03-18 13:37:14 -07:00
Karel Braeckman
8476bed36e
Change example to work with latest versions of selenium-webdriver ( #28231 )
...
See https://github.com/SeleniumHQ/selenium/issues/9286
The existing snippet works with selenium-webdriver <= 3.6.0, but any more recent version seems to require using 'goog:chromeOptions' and forBrowser('chrome').
2021-03-18 13:35:04 -07:00
John Kleinschmidt
2d3c65beca
2757472: Reland "Reland "[LSC] Remove base::string16 alias""
...
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
2021-03-18 15:55:51 -04:00
John Kleinschmidt
3b183854ff
2693008: Fix loading non-system cursors on Windows on browser_tests
...
https://chromium-review.googlesource.com/c/chromium/src/+/2693008
2021-03-18 15:52:54 -04:00
Electron Bot
baadcd48df
Bump v14.0.0-nightly.20210318
2021-03-18 07:32:19 -07:00
Will Anderson
14acf00ba9
docs: add missing curly brace to quick start example code ( #28253 )
2021-03-18 00:58:03 -07:00
Milan Burda
fc7f2042ec
feat: add process.contextIsolation property ( #28030 )
2021-03-17 11:23:29 -07:00
Milan Burda
485fa5bea9
feat: add process.contextId used by @electron/remote ( #28007 )
2021-03-17 11:23:03 -07:00
John Kleinschmidt
08330cb079
Revert "chore: bump chromium in DEPS to 91.0.4449.0"
...
This reverts commit bccafa0289 .
2021-03-17 13:48:38 -04:00
Electron Bot
54bc21929a
Bump v14.0.0-nightly.20210317
2021-03-17 07:31:38 -07:00
Electron Bot
bccafa0289
chore: bump chromium in DEPS to 91.0.4449.0
2021-03-17 06:00:35 -07:00
Will Anderson
b6ff12ef7f
docs: update Quick Start Guide for Electron 12 ( #28223 )
...
* docs: Update Quick Start Guide for Electron 12
With `contextIsolation` enabled by default in Electron 12, the Getting Started Guide no longer works as it is written. In order for the basic example to display values from `process.versions`, we need to add a `preload.js` to the example.
* fix: annotate preload code block with a language
* docs: update quick-start Fiddle example to use preload to provide version info
* fix: ensure example files end in a newline
* docs: add security warning to instructions for turning off contextIsolation
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
* docs: treat preload as an adjective instead of a noun
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2021-03-16 19:45:38 -04:00
Cheng Zhao
80f89a3472
test: disable some tests under ASan which might receive SIGKILL because of OOM ( #28156 )
...
* test: running child app under ASan might receive SIGKILL
* test: renderer process of webview might receive SIGKILL under ASan
* test: increase timeout for asan build
2021-03-16 17:02:47 -04:00
John Kleinschmidt
c49bc282d5
update node headers
2021-03-16 16:28:20 -04:00
John Kleinschmidt
7e961d8a37
Fixup 2725403: Add URLLoaderClient::OnReceiveEarlyHints()
2021-03-16 15:44:41 -04:00
John Kleinschmidt
b6d2ae0455
Fixup 2752406: [LSC] Replace base::string16 with std::u16string in //ui
2021-03-16 15:43:51 -04:00
John Kleinschmidt
97b6868e9c
fixup 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer
2021-03-16 15:43:09 -04:00
John Kleinschmidt
29dfabadfd
Fixup 2721718: Move HostID to extensions::mojom::HostID
2021-03-16 15:40:29 -04:00
John Kleinschmidt
d0989802bd
2720306: [api] Remove deprecated [Shared]ArrayBuffer API
...
https://chromium-review.googlesource.com/c/v8/v8/+/2720306
2021-03-16 15:39:40 -04:00
John Kleinschmidt
ec893f8322
2757472: Reland "Reland "[LSC] Remove base::string16 alias""
...
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
2021-03-16 13:58:27 -04:00
John Kleinschmidt
22d8f22cfb
2757472: Reland "Reland "[LSC] Remove base::string16 alias""
...
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
2021-03-16 12:18:45 -04:00
John Kleinschmidt
86d23cee40
add additional skipping of atk toolchain check
2021-03-16 12:05:15 -04:00
John Kleinschmidt
29dc5a2f83
docs: remove no longer relevant link ( #28196 )
2021-03-16 11:41:49 -04:00
John Kleinschmidt
3160e608e2
only include mac notifications on mac
2021-03-16 11:41:00 -04:00
John Kleinschmidt
f1bb6be4b9
2752406: [LSC] Replace base::string16 with std::u16string in //ui
...
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
2021-03-16 11:17:38 -04:00
John Kleinschmidt
2cd53eb46a
2648046: Introduce alert notification helper .app
...
https://chromium-review.googlesource.com/c/chromium/src/+/2648046
2021-03-16 10:59:05 -04:00
John Kleinschmidt
5fc298ee5f
Use nogncheck for content/browser/site_instance_impl.h
...
This is needed because //content/browser:browser is not a visible target
2021-03-16 10:45:47 -04:00
John Kleinschmidt
d54bee03d0
2733070: Rename observer to URLLoaderNetworkServiceObserver
...
https://chromium-review.googlesource.com/c/chromium/src/+/2733070
2021-03-16 10:36:38 -04:00
Electron Bot
4a6bc7a42f
Bump v14.0.0-nightly.20210316
2021-03-16 07:34:16 -07:00
John Kleinschmidt
3010dd93e3
2721718: Move HostID to extensions::mojom::HostID
...
https://chromium-review.googlesource.com/c/chromium/src/+/2721718
2021-03-16 10:28:55 -04:00
John Kleinschmidt
88bbe2a352
2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer.
...
https://chromium-review.googlesource.com/c/chromium/src/+/2651385
2021-03-16 10:27:05 -04:00
John Kleinschmidt
185c343b22
2725403: Add URLLoaderClient::OnReceiveEarlyHints()
...
https://chromium-review.googlesource.com/c/chromium/src/+/2725403
2021-03-16 10:12:15 -04:00
John Kleinschmidt
b15b820bca
2743594: Remove WebSize from blink.
...
https://chromium-review.googlesource.com/c/chromium/src/+/2743594
2021-03-16 10:01:47 -04:00
John Kleinschmidt
9f5e3f6685
Update patches
2021-03-16 10:01:00 -04:00
Electron Bot
003dd6c16c
chore: bump chromium in DEPS to 91.0.4448.0
2021-03-16 06:00:23 -07:00
Shelley Vohr
fdc2e2bc57
fix: recalibrate simpleFullscreen when display metrics change ( #28150 )
...
* fix: recalibrate simpleFullscreen when display metrics change
* Address review feedback
* fix: compilation issues
* Address feedback from review
2021-03-16 02:41:59 -07:00
Samuel Attard
b045d42b0e
docs: document the parameter structure of hookWindowMessage ( #28189 )
...
Fixes #28178
2021-03-16 17:54:41 +09:00
John Kleinschmidt
76538d2d38
2734095: Introduce StoragePartitionId type to wrap current string representation.
...
https://chromium-review.googlesource.com/c/chromium/src/+/2734095
2021-03-15 21:57:12 -04:00
John Kleinschmidt
676f74f3dc
2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer.
...
https://chromium-review.googlesource.com/c/chromium/src/+/2651385
2021-03-15 21:45:19 -04:00
John Kleinschmidt
08036802cb
2752932: Associate each AwProxyingURLLoaderFactory with a frame tree node id.
...
https://chromium-review.googlesource.com/c/chromium/src/+/2752932
2021-03-15 21:28:22 -04:00
John Kleinschmidt
9e336f5d0c
2752406: [LSC] Replace base::string16 with std::u16string in //ui
...
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
2021-03-15 21:21:27 -04:00
John Kleinschmidt
d4bec23bde
2752406: [LSC] Replace base::string16 with std::u16string in //ui
...
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
2021-03-15 20:33:49 -04:00
John Kleinschmidt
d0e88c2476
Merge branch 'master' into roller/chromium/master
2021-03-15 19:00:53 -04:00
John Kleinschmidt
fae4d87a5a
update to xcode 12.4.0
...
Needed because of 8008deb41c
2021-03-15 18:46:50 -04:00
John Kleinschmidt
57a8781c01
Merge branch 'master' into roller/chromium/master
2021-03-15 18:43:25 -04:00
John Kleinschmidt
8f4e362d8f
fixup gn check
2021-03-15 18:21:51 -04:00
Jeremy Rose
d27ad0d182
fix: revert "refactor: mmap asar files ( #24470 )" ( #28137 )
...
This reverts commit 01a2e23194 .
2021-03-15 11:42:54 -07:00
John Kleinschmidt
1e16606524
chore: update patches
2021-03-15 14:32:18 -04:00
Electron Bot
b023b33c05
Bump v14.0.0-nightly.20210315
2021-03-15 07:33:00 -07:00
Gerrit Niezen
45c4dd529f
docs: remove unnecessary enableBlinkFeatures ( #28129 )
...
* docs: remove unnecessary enableBlinkFeatures
* docs: remove trailing comma
2021-03-15 10:29:10 +09:00
Jeremy Rose
41fdf450b2
docs: expand OS version prompt in issue template ( #28135 )
...
* docs: expand OS version prompt in issue template
* Update bug_report.yml
2021-03-15 10:26:27 +09:00
Samuel Attard
8dfe4abd14
fix: handle a nil backgroundColor in win.getBackgroundColor() ( #28120 )
...
* fix: handle a nil backgroundColor in win.getBackgroundColor()
* spec: add crash case
* fix: update to fix native_views transparent color
* chore: fix lint
2021-03-14 17:26:47 -07:00
Electron Bot
f933c249fe
chore: bump chromium in DEPS to 91.0.4446.0
2021-03-14 06:00:46 -07:00
Electron Bot
5e7ae59d29
chore: bump chromium in DEPS to 91.0.4445.0
2021-03-13 05:00:21 -08:00
Samuel Attard
f73256651b
fix: convert system colors to device color space in systemPreferences ( #28121 )
2021-03-12 23:31:08 -08:00
Binyamin Aron Green
a442f11574
fixed typo in docs/api/window-open.md ( #28117 )
2021-03-13 10:47:33 +09:00
Jeremy Rose
b8926cb4e8
docs: remove "Additional information" section from issue template ( #28136 )
2021-03-12 17:39:47 -08:00
Jeremy Rose
b7eb521cec
docs: about->description in issue template ( #28144 )
2021-03-12 09:23:13 -08:00
Jeremy Rose
ab74cf4e1a
docs: add bug label to bug reports ( #28145 )
2021-03-12 09:22:51 -08:00
Jeremy Rose
8d38e9dd54
docs: use :syntax: for emoji in feature request template ( #28146 )
2021-03-12 09:22:15 -08:00
Electron Bot
4d1d6c8a3a
Bump v14.0.0-nightly.20210312
2021-03-12 06:32:18 -08:00
Mark Lee
40d779a7f3
docs(breaking-changes): contextIsolation disables require in renderer ( #28087 )
...
* docs(breaking-changes): contextIsolation disables require in renderer
* docs: consistency
2021-03-12 16:42:15 +09:00
Mark Lee
6bce814736
docs(quick-start): make import command npm 7-compatible ( #28077 )
...
With npm 7, just running `npx @electron-forge/cli import` results in:
```
npm ERR! could not determine executable to run
```
2021-03-12 16:38:58 +09:00
Cheng Zhao
5b710519cf
test: reliably wait for spellchecker to load ( #28118 )
2021-03-12 16:35:57 +09:00
Milan Burda
6c90411e21
fix: change #if defined(OS_MACOSX) to #if defined(OS_MAC) ( #28102 )
2021-03-11 21:07:21 -08:00
Samuel Attard
74e7f98572
docs: fix cookies event documentation for type generation ( #28115 )
2021-03-11 12:14:16 -08:00
Electron Bot
8badc6583f
Bump v14.0.0-nightly.20210311
2021-03-11 06:31:59 -08:00
Electron Bot
35cafdd1d8
chore: bump chromium in DEPS to 91.0.4443.0
2021-03-11 05:00:25 -08:00
Samuel Attard
089ac8180f
fix: ensure child window transparency works ( #28054 )
...
* fix: ensure child window transparency works
Windows opened via window.open and intecepted via setWindowOpenHandler
or the `new-window` event should (a) have the correct background color
and (b) that background color should be transparent if specified.
The changes in api_web_contents fix (a) and the changes in
web_contents_preferences fix (b).
Notes: Child windows with specified background colors or transpency now
work as intended
* fix: set background_color in blink prefs apply logic
* chore: update for PR comments
2021-03-10 12:44:36 -08:00
Robo
102a3740ea
chore: cherry-pick 1fe571a from node ( #28067 )
...
Backports https://github.com/nodejs/node/pull/37000
2021-03-10 11:44:16 -08:00
Cheng Zhao
32ec7e1e21
test: enable locale test for asan build ( #28085 )
2021-03-10 13:04:57 -05:00
John Kleinschmidt
73d0a16ae2
chore: convert Mac App Store Private API Rejection template to form ( #28100 )
2021-03-10 13:03:25 -05:00
Electron Bot
5df13e7c8a
Bump v14.0.0-nightly.20210310
2021-03-10 06:32:06 -08:00
Electron Bot
8c6027c519
chore: bump chromium in DEPS to 91.0.4442.0
2021-03-10 05:01:20 -08:00
Milan Burda
5b205731f6
chore: remove deprecated remote module ( #25734 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-03-09 17:12:40 -08:00
Shelley Vohr
d274df7e3a
chore: convert bug report template to form ( #27971 )
...
* chore: update feature_request for checkboxes
* chore: convert bug report template
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/feature_request.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* Address review feedback
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-03-09 16:30:32 -05:00
Electron Bot
aadf2f4a7c
Bump v14.0.0-nightly.20210309
2021-03-09 06:33:36 -08:00
Shelley Vohr
d9997c303f
fix: capturePage not resolving with hidden windows ( #27883 )
2021-03-09 05:51:44 -08:00
Electron Bot
ab943d78b2
chore: bump chromium in DEPS to 91.0.4441.0
2021-03-09 05:00:42 -08:00
Cheng Zhao
f6949dd197
test: show full object diff ( #28062 )
2021-03-09 16:05:02 +09:00
John Kleinschmidt
e27b7ed248
build: call goma_ctl.py ensure_start directly ( #28053 )
2021-03-09 09:17:42 +09:00
Shelley Vohr
41b5cd1a84
chore: remove obsolete native node module patch ( #23760 )
2021-03-08 14:21:07 -08:00
Cheng Zhao
7e22523ed2
test: print more infomation in locale test ( #28040 )
2021-03-08 11:23:55 -05:00
Cheng Zhao
3270613bf7
test: ignore the ready event from PDF Viewer ( #28039 )
2021-03-08 11:15:39 -05:00
Electron Bot
0505beb43d
Bump v14.0.0-nightly.20210308
2021-03-08 06:31:58 -08:00
Electron Bot
8949b8a462
chore: bump chromium in DEPS to 91.0.4440.0
2021-03-08 05:00:14 -08:00
Konstantin Pschera
5b50c88508
docs: auto update downloading multiple times ( #27888 )
2021-03-08 10:03:34 +09:00
Erick Zhao
9ccb8f5910
docs: update WebPreferences default values for Electron 12 ( #27984 )
...
Updates the values for `contextIsolation` and `worldSafeExecuteJavaScript` for Electron 12.
2021-03-08 09:56:50 +09:00
Domenic Horner
46cfb347d7
docs: setWindowOpenHandler should show object return ( #28015 )
...
* Should use object return
* Fix lint
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-03-08 09:56:07 +09:00
Electron Bot
ee0ab6f392
chore: bump chromium in DEPS to 91.0.4439.0
2021-03-07 05:00:15 -08:00
Cheng Zhao
f4e1a343b9
refactor: cleanup how WebContents is destroyed ( #27920 )
2021-03-07 21:14:12 +09:00
Cheng Zhao
b3a0743121
test: exit after app.relaunch is called ( #28016 )
2021-03-07 16:30:43 +09:00
Electron Bot
b36292780f
chore: bump chromium in DEPS to 91.0.4438.0
2021-03-06 05:00:21 -08:00
Electron Bot
e99e6a5a8a
update patches
2021-03-06 01:03:38 +00:00
Samuel Attard
54cc68dd7a
chore: fix lint
2021-03-05 16:54:18 -08:00
Samuel Attard
59432fe30a
chore: remove deleted file from chromium_src list
2021-03-05 16:51:11 -08:00
Samuel Attard
f51f427646
chore: wire up activation_time in OSR
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2638372
2021-03-05 16:50:32 -08:00
Samuel Attard
4e02d9407a
refactor: DesktopMediaList::Type replaces content::DesktopMediaType_*
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2700637
2021-03-05 16:46:44 -08:00
Samuel Attard
77ad17b383
refactor: CreateDataPipe deprecated form was removed
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2698090
2021-03-05 16:42:15 -08:00
Samuel Attard
be627568b2
refactor: blink::MenuItem::Type was moved to mojom
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2071443
2021-03-05 16:39:01 -08:00
Samuel Attard
59669e99cb
refacotr: grit::ResourceMap replaced with webui::ResourcePath
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2685601
2021-03-05 16:00:59 -08:00
Samuel Attard
dc36e8e6fc
refactor: extensions::ViewType was moved to mojom
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2710351
2021-03-05 15:41:32 -08:00
Samuel Attard
1a296e59c2
refactor: MenuItemType was moved to mojom
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2071443
2021-03-05 15:36:52 -08:00
Samuel Attard
0d94e0d1d9
refactor: content::SiteInstance::GetSiteForURL was removed
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2680274
2021-03-05 15:30:36 -08:00
Samuel Attard
2fed02556d
refactor: ExtensionUserScriptManager is now UserScriptManager
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2657617
2021-03-05 15:15:58 -08:00
Samuel Attard
eccfa516c5
refactor: CertVerifier is not in the network namespace anymore
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2689805
2021-03-05 15:08:38 -08:00
Electron Bot
f114dcfd6e
Bump v14.0.0-nightly.20210305
2021-03-05 06:32:21 -08:00
liulun
54bc71da34
chore: Add a condition to crashReporter deprecate log ( #27953 )
...
* Add a condition to crashReporter deprecate log
When developer set submitURL to '' crash reports will be saved at `...\AppData\Roaming\...\Crashpad\reports`, will not be uploaded to the server.
So at this time `deprecate.log('Sending uncompressed crash reports....')` is unnecessary.
* Update lib/browser/api/crash-reporter.ts
change to check uploadToServer
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-03-05 10:13:17 +09:00
John Kleinschmidt
afb7d9f550
fix: navigator.setAppBadge/clearAppBadge from a service worker ( #27950 )
2021-03-05 10:12:03 +09:00
Stathis Siatras
d92bab0e29
docs: suspend and resume are available on Linux ( #27958 )
...
* docs: suspend and resume are available on Linux
* docs: suspend and resume are available on Linux
2021-03-05 10:11:36 +09:00
Samuel Attard
e900271bea
chore: might_have_observers has been removed
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2667839
2021-03-04 16:25:33 -08:00
Samuel Attard
87df2766ba
refactor: extensions::ViewType moved to mojom
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2710351
2021-03-04 16:23:13 -08:00
Samuel Attard
c8148febfa
chore: update patches
2021-03-04 16:20:36 -08:00
Samuel Attard
e715b9c921
chore: media_internal_resources becomes resources
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2699022
2021-03-04 15:53:46 -08:00
Samuel Attard
55e50a0879
chore: update patches
2021-03-04 15:46:13 -08:00
Samuel Attard
b820b4078d
build: add 'use_rts' definition
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2694187
2021-03-04 14:33:36 -08:00
Electron Bot
5defd96ecd
chore: bump chromium in DEPS to 91.0.4435.3
2021-03-04 13:51:14 -08:00
Electron Bot
ca75bca667
chore: bump chromium to 90.0.4415.0 (master) ( #27694 )
...
* chore: bump chromium in DEPS to 520c02b46668fc608927e0fcd79b6a90885a48bf
* chore: bump chromium in DEPS to 90.0.4414.0
* resolve chromium conflicts
* resolve v8 conflicts
* fix node gn files
* 2673502: Remove RenderViewCreated use from ExtensionHost.
https://chromium-review.googlesource.com/c/chromium/src/+/2673502
* 2676903: [mojo] Remove most legacy Binding classes.
https://chromium-review.googlesource.com/c/chromium/src/+/2676903
* 2644847: Move self-deleting URLLoaderFactory base into //services/network.
https://chromium-review.googlesource.com/c/chromium/src/+/2644847
* 2664006: Remove from mojo::DataPipe.
https://chromium-review.googlesource.com/c/chromium/src/+/2664006
* 2674530: Remove CertVerifierService feature
https://chromium-review.googlesource.com/c/chromium/src/+/2674530
* 2668748: Move OnSSLCertificateError to a new interface.
https://chromium-review.googlesource.com/c/chromium/src/+/2668748
* 2672923: Remove RAPPOR reporting infrastructure.
https://chromium-review.googlesource.com/c/chromium/src/+/2672923
* 2673502: Remove RenderViewCreated use from ExtensionHost.
https://chromium-review.googlesource.com/c/chromium/src/+/2673502
* 2655126: Convert FrameHostMsg_ContextMenu and FrameMsg_ContextMenuClosed|CustomContextMenuAction to Mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2655126
* 2628705: Window Placement: Implement screen.isExtended and change event
https://chromium-review.googlesource.com/c/chromium/src/+/2628705
* 2643161: Refactor storage::kFileSystem*Native*
https://chromium-review.googlesource.com/c/chromium/src/+/2643161
* fix build
* only remove the biggest subdir of //ios
* chore: bump chromium in DEPS to 90.0.4415.0
* update patches
* update sysroots
* 2686147: Remove WebContentsObserver::RenderViewCreated().
https://chromium-review.googlesource.com/c/chromium/src/+/2686147
* 2596429: Fixing how extension's split and spanning modes affect OriginAccessList.
https://chromium-review.googlesource.com/c/chromium/src/+/2596429
* 2686026: [mojo] Delete AssociatedInterfacePtr (replaced by AssociatedRemote)
https://chromium-review.googlesource.com/c/chromium/src/+/2686026
* 2651705: Move ui/base/dragdrop/file_info to ui/base/clipboard
https://chromium-review.googlesource.com/c/chromium/src/+/2651705
* 358217: drawBitmap is deprecated
https://skia-review.googlesource.com/c/skia/+/358217
* fix gn check
* 2678098: Use gen/front_end as input to generate_devtools_grd
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2678098
* 2674530: Remove CertVerifierService feature
https://chromium-review.googlesource.com/c/chromium/src/+/2674530
* fixup 2664006: Remove from mojo::DataPipe.
https://chromium-review.googlesource.com/c/chromium/src/+/2664006
* fixup build_add_electron_tracing_category.patch
* 2673415: [base] Prepare CrashReporterClient for string16 switch
https://chromium-review.googlesource.com/c/chromium/src/+/2673415
* 2673413: Add CursorFactoryWin to handle Cursors on Windows
https://chromium-review.googlesource.com/c/chromium/src/+/2673413
* 2668748: Move OnSSLCertificateError to a new interface.
https://chromium-review.googlesource.com/c/chromium/src/+/2668748
* fix mas gn check
* update patch after merge
* Update node for .mjs files
* build: load v8_prof_processor dependencies as ESM
* chore: add patch to fix linux 32bit
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-03-04 09:27:05 -08:00
Cheng Zhao
0b042d3b1c
test: fix contextIsolation value for later added test ( #27998 )
2021-03-04 11:22:32 -05:00
Electron Bot
9b93750e5e
Bump v14.0.0-nightly.20210304
2021-03-04 06:32:09 -08:00
Jeremy Rose
6e121d2250
feat: expose des-ede3 cipher ( #27897 )
2021-03-03 16:18:42 -08:00
Jeremy Rose
2e091d401e
docs: update fiddles/quick-start to set contextIsolation: false ( #27970 )
2021-03-03 16:18:07 -08:00
Shelley Vohr
360d1b2bfd
fix: offset browserview drag regions on macOS ( #27952 )
2021-03-03 10:37:03 -08:00
Electron Bot
86e220b14d
Bump v13.0.0-nightly.20210303
2021-03-03 06:32:27 -08:00
Milan Burda
bf7e445883
fix: warning when worldSafeExecuteJavaScript is disabled ( #27928 )
2021-03-02 09:45:27 -08:00
Cheng Zhao
ede8611937
fix: check web_contents() for destroyed WebContents ( #27815 )
2021-03-02 09:38:56 -08:00
Cheng Zhao
ed8e57e424
test: add more logging for a few tests. ( #27956 )
...
* test: add logging for app.relaunch test
* test: compare more fields in extension test
2021-03-02 09:34:41 -08:00
Michaela Laurencin
d1145a0f2b
docs: update currently supported versions for 12.0.0 release ( #27873 )
2021-03-02 12:11:21 -05:00
Electron Bot
1f7b40d302
Bump v13.0.0-nightly.20210302
2021-03-02 06:32:46 -08:00
Samuel Attard
186301e126
feat: enable context isolation by default ( #26890 )
...
* feat: enable context isolation by default
* chore: set default in ctx iso getter
* spec: make all specs work with the new contextIsolation default
* spec: fix affinity specs
* spec: update tests for new ctx iso default
* spec: update tests for new ctx iso default
* spec: update tests for new ctx iso default
* spec: update tests for new ctx iso default
* chore: move stray prod deps to dev deps
* spec: update tests for new ctx iso default
* turn off contextIsolation for visibility tests
* turn off contextIsolation for <webview> tag nodeintegration attribute loads native modules when navigation happens
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-03-01 16:52:29 -05:00
Erick Zhao
2d0ad0b96a
fix: make TouchBarPopover and TouchBarGroup work ( #27901 )
...
* fix: use correct `orderedItem` touchbar property
* fix: correct parent in touchbar group and popover
* fix: preserve property hook order
2021-03-01 13:34:00 -08:00
Shelley Vohr
e5a9a1ebd7
fix: ensure owner window valid ( #27786 )
2021-03-01 13:26:23 -08:00
Keeley Hammond
c30484ce13
docs: update timeline dates for 12.0.0 and 13.0.0 ( #27867 )
...
* docs: update dates for 12.0.0 and 13.0.0
* chore: update beta-13 date and 12 node version
2021-03-01 13:19:46 -08:00
Keeley Hammond
84d0e827a3
chore: revert webFrameMain.executeJavaScriptInIsolatedWorld method ( #27926 )
2021-03-01 10:07:25 -05:00
Electron Bot
5f43c1dab8
Bump v13.0.0-nightly.20210301
2021-03-01 06:32:30 -08:00
Samuel Attard
1f896b829b
build: remove node-gyp arm64 tricks ( #27916 )
2021-03-01 20:46:19 +09:00
Samuel Attard
11d94bb9ab
build: update docker images to node 14 ( #27915 )
...
* build: update docker images to node 14
* chore: update again to fix dbus
2021-03-01 20:45:20 +09:00
Emil Pettersson
a9b25dda85
fix: race-condition in electron.net ( #27898 )
2021-02-26 13:18:46 -08:00
John Kleinschmidt
d57fd6cef0
fix: navigator.bluetooth.requestDevice ( #27902 )
...
* fix: navigator.bluetooth.requestDevice
* cleanup lint and add test
* update bluetooth test to handle no bluetooth adapter available
* update bluetooth test to handle bluetooth permission denied
2021-02-26 11:10:27 -08:00
Electron Bot
bd940b2904
Bump v13.0.0-nightly.20210226
2021-02-26 06:31:38 -08:00
Samuel Attard
e406ba9558
fix: values return from the ctx bridge with dynamic property support should themselves support dynamic properties ( #27899 )
2021-02-25 13:09:00 -08:00
Samuel Attard
4d5e0cf2c4
chore: move stray prod deps to dev deps ( #27914 )
2021-02-25 13:08:34 -08:00
Electron Bot
5ea2794857
chore: bump node to v14.16.0 (master) ( #27706 )
...
* chore: bump node in DEPS to v14.15.5
* update patches
* chore: bump node in DEPS to v14.16.0
* update patches
2021-02-25 09:52:57 -08:00
Electron Bot
6aa00106d4
Bump v13.0.0-nightly.20210225
2021-02-25 06:32:07 -08:00
Electron Bot
1375c3d805
Bump v13.0.0-nightly.20210224
2021-02-24 06:31:21 -08:00
Jeremy Rose
2e13ce58c0
docs: fix header level of some events in app.md ( #27860 )
2021-02-24 18:04:41 +09:00
Electron Bot
4456c50b35
Bump v13.0.0-nightly.20210223
2021-02-23 06:31:22 -08:00
Jeremy Rose
7f8e34fa3f
test: run tests under asan on linux-x64 ( #23570 )
2021-02-22 16:16:17 -08:00
Tony
b181dae146
fix: isFullScreen typo ( #27823 )
...
* fix isFullScreen typo
* Update lib/browser/api/base-window.ts
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Tony Wu <tonywoo@fb.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2021-02-22 15:33:46 -05:00
Denise Yu
1b87cd6941
Update feature_request.yml ( #27825 )
...
This will fix the Feature Request template. More details: https://gh-community.github.io/issue-template-feedback/changes
2021-02-22 10:58:41 -05:00
Jeremy Rose
912c9c2254
fix: cap sendInputEvent text length at n-1 ( #27827 )
2021-02-22 10:38:59 -05:00
Electron Bot
e5540febc2
Bump v13.0.0-nightly.20210222
2021-02-22 06:32:26 -08:00
Cheng Zhao
a0141f8d6c
fix: pass IsScreen via parameter instead of sync IPC method ( #27774 )
2021-02-19 15:28:48 -08:00
Jeremy Rose
1e4f67c197
fix: gather crash data for unexpected helper path ( #27804 )
2021-02-19 15:08:49 -08:00
Electron Bot
84aba24a2a
Bump v13.0.0-nightly.20210219
2021-02-19 06:31:51 -08:00
Michaela Laurencin
0dd283a7a6
docs: update menu item '&' escaping ( #27770 )
2021-02-19 15:41:16 +09:00
Keeley Hammond
6a9ba42273
Revert "perf: patch libuv to use posix_spawn on macOS ( #27026 )" ( #27797 )
...
This reverts commit f69c11105f .
2021-02-18 15:36:17 -08:00
Shelley Vohr
b12e47b798
fix: don't create last saved path if none exists ( #27745 )
2021-02-18 15:27:29 -08:00
Shelley Vohr
599f398ddc
fix: enableBlinkFeatures warning in webviews ( #27753 )
2021-02-18 11:11:35 -08:00
Electron Bot
cc1239b311
Bump v13.0.0-nightly.20210218
2021-02-18 06:32:09 -08:00
Calvin
64eb02b671
fix: restore window event redispatching on mac ( #27701 )
2021-02-18 10:31:53 +09:00
Michaela Laurencin
b0a6eb6a53
fix: add support for title change with window history navigation ( #27724 )
2021-02-17 10:23:45 -08:00
Electron Bot
c99c4117c8
Bump v13.0.0-nightly.20210217
2021-02-17 06:33:17 -08:00
Cheng Zhao
7a7a27d9bc
fix: check WebContents before emitting render-process-gone event ( #27730 )
2021-02-17 21:19:17 +09:00
Shelley Vohr
642d6fca91
fix: libuv hang when nodeIntegrationInSubframes enabled ( #27582 )
2021-02-16 19:42:28 -08:00
Jeremy Rose
980b32fce7
test: fix and undisable parallel/node-crypto ( #27689 )
2021-02-16 15:19:49 -08:00
Cheng Zhao
399216580d
test: fix flaky did-change-theme-color test ( #27739 )
...
* test: move did-change-theme-color test to main
* test: enable did-change-theme-color test for WOA
2021-02-16 17:21:40 -05:00
Cheng Zhao
0bc782dfe5
fix: disable unload metrics to fix CI failure ( #27731 )
...
* patch
* Use render-process-gone instead of crashed
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2021-02-16 10:11:07 -05:00
Electron Bot
a0d7cfdb9f
Bump v13.0.0-nightly.20210216
2021-02-16 06:33:05 -08:00
Electron Bot
a5cb3ae17c
Bump v13.0.0-nightly.20210215
2021-02-15 06:32:07 -08:00
Dennis Keil
8a88799ce2
docs: transparent window opaque while dev tools opened ( #27705 )
...
* Transparent window disabled while dev tools opened
Read that on some external website. I think this should be added to the official docs.
* Update frameless-window.md
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-02-15 11:59:40 +09:00
John Kleinschmidt
6f546be197
ci: ignore errors deleting user app directories on WOA testing ( #27709 )
2021-02-15 09:44:32 +09:00
Samuel Attard
47792d2ecb
chore: update copyright headers ( #27697 )
...
Per discussions with the Foundation, we are making an update to all copyright headers to follow the Linux Foundation guidance on copyright notices. In particular, we are broadening them to cover all contributors, and eliminating the year to avoid the need to keep them up to date.
2021-02-12 15:22:41 -08:00
Electron Bot
bef95b3c4a
Bump v13.0.0-nightly.20210212
2021-02-12 06:33:10 -08:00
Jeremy Rose
4ce9dd3a79
fix: ECDH.setPrivateKey correctly sets the key ( #27688 )
2021-02-11 13:49:41 -08:00
John Kleinschmidt
4ba5381e8d
Revert "ci: ignore errors deleting user app directories on WOA testing"
...
This reverts commit 59b3397ea5 .
2021-02-11 12:11:22 -05:00
John Kleinschmidt
59b3397ea5
ci: ignore errors deleting user app directories on WOA testing
2021-02-11 12:07:54 -05:00
Samuel Maddock
3250ef551c
feat: support registering MV3 extension service workers ( #27562 )
...
* feat: support registering MV3 extension service workers
* feat: load chrome extension APIs in worker context
* feat: add more ContentRendererClient service worker overrides
* fix: lint error
* refactor: emit object for 'registration-completed'
* docs: clarify when registration-completed emits
2021-02-11 10:58:03 -05:00
Electron Bot
6681f8f507
Bump v13.0.0-nightly.20210211
2021-02-11 06:33:07 -08:00
Jeremy Rose
d43002ccee
docs: MessagePorts guide ( #27678 )
2021-02-10 16:38:40 -08:00
Shelley Vohr
9063e84b7c
fix: crash in crypto.createDiffieHellman ( #27674 )
2021-02-10 16:10:40 -06:00
marekharanczyk
87064e5b5e
fix: set WebContents background color ubiquitously #27592 ( #27593 )
...
Move it from LoadURL to RenderViewCreated which is present
in all window creation cases and is called early enough to be
relevant from user prespective and after RenderWidgetHostView
is already present.
2021-02-10 12:03:48 -08:00
Electron Bot
68d9adb388
Bump v13.0.0-nightly.20210210
2021-02-10 06:38:20 -08:00
Stewart Lord
5f5afaae27
feat: add win.setTopBrowserView() so that BrowserViews can be raised ( #27007 )
...
* feat: Raise a browser view via `BrowserWindow.setTopBrowserView()`.
This is similar to removing and re-adding a browser view, but avoids a visible flicker as the browser view is not removed from the window when using `setTopBrowserView`. Note: if the given browser view is not attached to the window, it will be added.
This commit contains the macOS implementation.
* feat: setTopBrowserView support for Windows and Linux
* docs: add info about setTopBrowserView
* docs: Clarify behavior when browserView is not yet attached.
* fix: throw en error when browserView is not attached to the window
* fix: build error
* fix: test
* fix: add test case
* fix: tests
* fix: reparenting
* fix: close second window in tests
Co-authored-by: sentialx <sentialx@gmail.com >
2021-02-10 16:23:35 +09:00
Jeremy Rose
706d9ede9b
refactor: only allow internal messages from the main process ( #27676 )
2021-02-09 17:12:26 -08:00
Shelley Vohr
e46446e7e4
chore: bump chromium to e836cbe709f3cd703f233de8eb6cc6ec99b72c9d ( #27475 )
...
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-02-09 12:16:21 -08:00
Robo
44460e84c0
chore: cherry-pick 0c8b6e41 from v8 ( #27672 )
...
* chore: cherry-pick 0c8b6e41 from v8
Backports https://chromium-review.googlesource.com/c/v8/v8/+/2679688
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2021-02-09 09:21:49 -08:00
Cheng Zhao
af4a050a1b
feat: add roundedCorners option for BrowserWindow ( #27572 )
...
* feat: add roundedCorner option for BrowserWindow
* Make roundedCorner work with vibrancy views
* roundedCorner => roundedCorners
2021-02-09 08:38:35 -08:00
Electron Bot
e51ad4fa45
Bump v13.0.0-nightly.20210209
2021-02-09 06:32:23 -08:00
Jeremy Rose
28599e5e7c
feat: add exit code to render-process-gone details ( #27580 )
2021-02-08 17:08:11 -08:00
John Kleinschmidt
fdd08f7934
build: make sure fuses.h gets generated ( #27667 )
2021-02-08 13:19:28 -08:00
Samuel Attard
09870d97b5
perf: optimize data structures in context_bridge::ObjectCache ( #27639 )
...
* Use std::forward_list instead of base::LinkedList for better perf,
more consistent memory management. Better than std::list because we
don't need the double-linked-list behavior of std::list
* Use std::unordered_map instead of std::map for the v8 hash table
2021-02-08 12:30:25 -08:00
Samuel Maddock
1bbfa934f0
fix: early GC of WebFrameMain instances ( #27648 )
2021-02-08 11:30:18 -08:00
Milan Burda
bc7c290601
refactor: load preload script directly as a string ( #27546 )
2021-02-08 09:32:20 -08:00
Shelley Vohr
fa09183ed1
fix: BrowserView rendering flicker ( #27585 )
2021-02-08 09:14:46 -08:00
Pat DeSantis
f69c11105f
perf: patch libuv to use posix_spawn on macOS ( #27026 )
...
* perf: patch libuv to use posix_spawn on macOS
patch libuv to fix a performance regression in macOS >= 11
Spawning child processes in an Electron application with a hardened
runtime has become slow in macOS Big Sur. This patch is a squashed
version of https://github.com/libuv/libuv/pull/3064
This patch should be removed when libuv PR 3064 is merged.
Fixes: https://github.com/libuv/libuv/issues/3050
Fixes: https://github.com/electron/electron/issues/26143
PR-URL: https://github.com/libuv/libuv/pull/3064
Authored-by: Juan Pablo Canepa <jpcanepa@gmail.com >
Co-authored-by: Marcello Bastéa-Forte <marcello@descript.com >
Electron patch prepared by: Pat DeSantis <pdesantis3@gmail.com >
* Remove trailing whitespaces from patch file
* update patches
* Update patch description
Co-authored-by: Electron Bot <electron@github.com >
2021-02-08 10:25:04 -05:00
Electron Bot
0dcc623ab7
Bump v13.0.0-nightly.20210208
2021-02-08 06:32:00 -08:00
Ikko Ashimine
b88f585066
chore: fix typo in electron_api_base_window.cc ( #27644 )
...
reseting -> resetting
2021-02-08 10:18:08 +09:00
Jeremy Rose
e87803919b
fix: memory leak in BrowserWindow ( #27621 )
2021-02-05 13:20:20 -08:00
Samuel Attard
b6a91ef5df
fix: clean up base::LinkedList in context_bridge::ObjectCache ( #27630 )
...
base::LinkedList does not delete its members on destruction. We need to
manually ensure the linkedlist is empty when the ObjectCache is
destroyed.
Fixes #27039
Notes: Fixed memory leak when sending non-primitives over the context
bridge
2021-02-05 12:39:05 -08:00
Keeley Hammond
d06bb7c97b
fix: do not run display check on "closed" windows in tray ( #27615 )
...
* fix: only run display check on restored wndow if minimized
* fix: don't run display check on hidden, non-minimized windows
2021-02-05 12:11:26 -08:00
Michaela Laurencin
c175d41ae8
fix: remove windowName set as title for native window.open() ( #27481 )
2021-02-05 11:20:58 -08:00
Electron Bot
d5bcf742be
Bump v13.0.0-nightly.20210205
2021-02-05 06:32:00 -08:00
Cheng Zhao
eb91b1c965
fix: avoid flicker when leaving fullscreen in frameless window ( #27587 )
2021-02-05 10:03:12 +09:00
Michaela Laurencin
b31217a889
chore: fix lint ( #27620 )
2021-02-04 13:02:36 -08:00
Electron Bot
476d86491b
Bump v13.0.0-nightly.20210204
2021-02-04 06:31:28 -08:00
Electron Bot
a831ae9c0d
Bump v13.0.0-nightly.20210203
2021-02-03 06:33:49 -08:00
Erick Zhao
affbf1b3e6
docs: remove v5 and v6 modernization docs ( #27498 )
...
* docs: remove v5 and v6 modernization docs
* typo
* run script/gen-filenames.ts
2021-02-03 15:57:33 +09:00
Scott Robertson
ac5c9a8828
Fixing source typo ( #27583 )
2021-02-02 15:11:46 -08:00
John Kleinschmidt
59d1b650ca
build: fix buildflags.h generation on macos ( #27579 )
2021-02-02 14:01:58 -08:00
Charles Kerr
72127b2916
refactor: precache atoms in window-state-watcher ( #27575 )
2021-02-02 09:50:32 -08:00
Electron Bot
6b744171b1
Bump v13.0.0-nightly.20210202
2021-02-02 06:31:51 -08:00
Cyrus Roshan
444ad26f89
feat: add option to not transform processes on win.SetVisibleOnAllWorkspaces ( #27200 )
...
* fix: optionally transform processes on win.SetVisibleOnAllWorkspaces on macOS, making it backwards-compatible with v9.2.1 (#27101 )
* fix: optionally transform processes on win.SetVisibleOnAllWorkspaces on macOS, making it backwards-compatible with v9.2.1 (#27101 )
Co-authored-by: Cyrus Roshan <cyrusroshan@users.noreply.github.com >
2021-02-02 21:24:04 +09:00
Ahmed Elshafey
272611cc82
docs: Update ipcMain.handle() docs in ipc-main.md for error-handling details ( #27461 )
...
* Update ipc-main.md
Include information about ipcMain.handle() error handling and workaround included in issue #24427
* Update ipc-main.md
fixed a typo
* Update ipc-main.md
Remove the exception passing workaround from ipcMain.handle() and refer to open issue only.
* Remove trailing spaces
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2021-02-02 21:22:20 +09:00
Samuel Maddock
b6df7cd327
fix: crash when loadExtension fails ( #27561 )
2021-02-02 19:20:05 +09:00
Samuel Maddock
20a71be849
refactor: remove unused extension content script code ( #27570 )
...
This code was leftover from the old JS extensions implementation.
2021-02-02 19:03:10 +09:00
Сковорода Никита Андреевич
a5e9af330f
feat: implement allowFileAccess loadExtension option ( #25198 )
...
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-02-01 14:41:08 -08:00
Electron Bot
a75cd89d2a
Bump v13.0.0-nightly.20210201
2021-02-01 06:31:11 -08:00
Cheng Zhao
8bf66f8974
fix: clean up implementations of titleBarStyle ( #27489 )
...
* Rewrite titleBarStyle impls with WindowButtonsView
* Remove fullscreenWindowTitle option
* Make buttons show correctly under RTL
* Fix docs about traffic lights position
* Fix test on fullscreen resizable
* Fix button states with closabe/minimizable/fullscreenable
* Fix typo
* Deprecate the fullscreenWindowTitle option
2021-01-30 17:15:10 -06:00
Cheng Zhao
6edf6c6a95
fix: pass button callback in constructor ( #27545 )
2021-01-29 12:43:51 -08:00
Milan Burda
79b3393768
chore: remove bunch of usages of any ( #27512 )
2021-01-29 12:41:59 -08:00
Electron Bot
c7aa35a519
Bump v13.0.0-nightly.20210129
2021-01-29 06:31:35 -08:00
Michaela Laurencin
357becd113
fix: replace default frameName title with null check ( #27521 )
...
* refactor: replace default frameName title with null check
* add isNativeWindowOpen check in makeBrowserWindowOptions
* modify snapshot test files
* replace title with frame-name again for proxy - not native open
* modify proxy snapshot title key-value to come after height key-value
2021-01-29 07:24:30 -06:00
Shelley Vohr
40aeb0d994
fix: dont try to serialize WasmModuleObjects ( #27518 )
2021-01-28 18:20:28 -08:00
Felix Rieseberg
4f2490f8b8
docs: Update Readme, don't mention Electron < 2 ( #27535 )
...
* chore: Update Readme, don't mention Electron < 2
* chore: Add back versioning info
2021-01-28 15:34:22 -06:00
Shelley Vohr
18f4c3129d
test: fix failing http spec ( #27525 )
2021-01-28 11:51:08 -08:00
Milan Burda
0bb1ba822a
docs: update Xcode / macOS SDK version in build-instructions-macos.md ( #27513 )
2021-01-28 11:19:20 -08:00
Electron Bot
0ee7bc67bd
Bump v13.0.0-nightly.20210128
2021-01-28 06:32:05 -08:00
Shelley Vohr
bf6a50c538
fix: pdf viewer missing resources ( #27499 )
...
* fix: pdf viewer missing resources
* test: add simple regression test
* 2638992: PDF Viewer: Stop respecting the PDFViewerUpdate flag.
https://chromium-review.googlesource.com/c/chromium/src/+/2638992
* 2439433: PDF Viewer Update: Add aria-label for thumbnails
https://chromium-review.googlesource.com/c/chromium/src/+/2439433
2021-01-28 10:09:55 +09:00
Electron Bot
e94f97f2c9
Bump v13.0.0-nightly.20210127
2021-01-27 06:32:06 -08:00
Steven Yeh
f24348485a
docs: add note About Apple Silicon ( #27486 )
2021-01-26 19:57:39 -08:00
Erick Zhao
931e29cd64
docs: add missing contextBridge API to README ( #27485 )
2021-01-26 19:57:07 -08:00
Samuel Attard
db08f08b88
feat: enable world safe JS by default ( #26889 )
...
* feat: enable world safe JS by default
* refactor: use the ctx bridge to send executeJavaScript results in a world safe way
* docs: add more info about the breaking change
* include default in IsEnabled check
2021-01-26 14:23:35 -08:00
Erick Zhao
78d4cb9f5c
docs: update verb tenses for structured clone notes ( #27483 )
2021-01-26 14:14:44 -08:00
Milan Burda
bde714c1c6
refactor: cleanup WebFrameMain + improve tests ( #27455 )
2021-01-26 13:46:09 -08:00
Milan Burda
ddf3ef0a5f
refactor: use C++11 class member variable initialization ( #27477 )
2021-01-26 12:16:21 -06:00
LarryZhu
f083380c38
docs: update web-embeds ( #27488 )
2021-01-26 09:22:31 -08:00
Electron Bot
4f08bfffc1
Bump v13.0.0-nightly.20210126
2021-01-26 06:31:58 -08:00
Electron Bot
ed126eced4
chore: bump chromium to bf3f97675b5d9eade34526ebf730c (master) ( #27305 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-01-25 08:46:00 -08:00
Milan Burda
1023988ea8
build: fix build with enable_printing=false ( #27456 )
2021-01-25 08:27:25 -08:00
Milan Burda
e7c201288c
chore: enable Trusted Types in default app ( #27453 )
2021-01-25 11:08:58 -05:00
Electron Bot
d0c4a685fc
Bump v13.0.0-nightly.20210125
2021-01-25 06:31:18 -08:00
Milan Burda
64b7be751a
fix: CSP with unsafe-eval detection with Trusted Types ( #27446 )
2021-01-25 10:31:25 +09:00
Milan Burda
4a5c5843c4
fix: <webview> not working with Trusted Types ( #27445 )
2021-01-25 10:29:25 +09:00
Milan Burda
949fd0728f
refactor: replace base::Bind() with base::BindOnce() / base::BindRepeating() ( #27447 )
2021-01-25 10:27:40 +09:00
Zhang Zhi
b11c5533e8
Update security.md ( #27449 )
2021-01-25 10:27:29 +09:00
Charles Kerr
5a8f40ae13
fix: don't throw on bad icons in BrowserWindow constructor ( #27441 )
...
* fix: do not throw if NativeImage conversion fails.
Throwing is an unannounced semver/major breaking change, so revert that
behavior but keep the rest of the #26546 refactor.
* test: add invalid icon test
* refactor: be explicit about when to throw or warn.
2021-01-25 10:24:10 +09:00
Shelley Vohr
d69e0d0573
fix: hiddenInset missing maximize button ( #27428 )
2021-01-25 09:59:06 +09:00
Cheng Zhao
9baca911a1
test: use new uuid for each ServiceWorker test ( #27444 )
2021-01-23 10:37:51 +09:00
Milan Burda
70190ec2b1
chore: update to latest TypeScript, which has built-in WeakRef declarations ( #27425 )
2021-01-22 11:25:47 -08:00
Electron Bot
fcdb7ad21a
Bump v13.0.0-nightly.20210122
2021-01-22 06:33:30 -08:00
John Kleinschmidt
034a792df1
ci: enable arm64 macOS tests ( #24832 )
...
* ci: enable arm64 macOS tests
2021-01-21 18:36:52 -05:00
Michaela Laurencin
4f930b6e42
fix: add eyedropper tool functionality to browser view ( #27275 )
2021-01-21 13:02:29 -08:00
Electron Bot
96e8620e1b
Bump v13.0.0-nightly.20210121
2021-01-21 11:33:09 -08:00
Shelley Vohr
949cfea1e9
fix: actually clear pending requests in devtoolsagenthost ( #27379 )
2021-01-21 11:00:43 -08:00
Electron Bot
c8696d2c3d
Revert "Bump v13.0.0-nightly.20210121"
...
This reverts commit 09b6db4616 .
2021-01-21 07:21:36 -08:00
Electron Bot
09b6db4616
Bump v13.0.0-nightly.20210121
2021-01-21 07:20:19 -08:00
Electron Bot
5c6ad53bd6
Revert "Bump v13.0.0-nightly.20210121"
...
This reverts commit 299bc9adc2 .
2021-01-21 07:18:45 -08:00
Electron Bot
299bc9adc2
Bump v13.0.0-nightly.20210121
2021-01-21 07:14:35 -08:00
John Kleinschmidt
e5d64da68a
Revert "Bump v13.0.0-nightly.20210121"
...
This reverts commit 6d6a785982 .
2021-01-21 10:11:30 -05:00
Electron Bot
6d6a785982
Bump v13.0.0-nightly.20210121
2021-01-21 06:32:20 -08:00
renmu123
9487afab33
docs: change semver to SemVer ( #27350 )
...
* docs: change semver to SemVer
* docs: add a Period
* docs: udpate a broken relative link
* docs: update the links
* docs: update the links
2021-01-21 15:51:02 +09:00
John Kleinschmidt
c5a41defbd
fix: enable navigator.setAppBadge/clearAppBadge ( #27067 )
2021-01-21 14:45:06 +09:00
Milan Burda
8b74361b0c
refactor: store WeakMaps in CallbacksRegistry / ObjectsRegistry ( #27037 )
2021-01-20 14:03:10 -08:00
Biru Mohanathas
7f1e3ca3de
fix: shutdown crash in DownloadItem callback ( #27342 )
...
The call stack for one of our top crashes looks like this:
```
node::Abort (node_errors.cc:241)
node::Assert (node_errors.cc:256)
node::MakeCallback (callback.cc:226)
gin_helper::internal::CallMethodWithArgs (event_emitter_caller.cc:23)
gin_helper::EmitEvent<T> (event_emitter_caller.h:51)
gin_helper::EventEmitterMixin<T>::Emit<T> (event_emitter_mixin.h:81)
electron::api::DownloadItem::OnDownloadUpdated (electron_api_download_item.cc:115)
download::DownloadItemImpl::UpdateObservers (download_item_impl.cc:482)
content::DownloadManagerImpl::Shutdown (download_manager_impl.cc:508)
content::BrowserContext::~BrowserContext (browser_context.cc:476)
```
Full stack here: https://sentry.io/share/issue/9b030a0601b547188181b543c16ecda2/
During browser shutdown, the `DownloadManager` was being cleaned up
*after* the Node environment had already been destroyed. This caused the
`DownloadItem::OnDownloadUpdated` callback to crash when trying to emit
the JS `done` event.
To prevent this, we now manually shut down the `DownloadManager`
earlier. This is also mentioned in the comment on
`DownloadManager::Shutdown`:
```
// Shutdown the download manager. Content calls this when BrowserContext is
// being destructed. If the embedder needs this to be called earlier, it can
// call it. In that case, the delegate's Shutdown() method will only be called
// once.
```
2021-01-20 11:30:08 -08:00
Chris Hartgerink
7ddc756a08
docs: correct typo in native-file-drag-drop.md ( #27387 )
...
Corrects minor typo
2021-01-20 11:28:10 -08:00
John Kleinschmidt
2153e47502
Revert "build: remove buildflags workaround ( #27372 )" ( #27410 )
...
This reverts commit e4fc47f557 .
2021-01-20 14:21:53 -05:00
Electron Bot
b6a0fcd51d
Bump v13.0.0-nightly.20210120
2021-01-20 06:33:03 -08:00
Robo
34772292f7
fix: increase stack size on windows ( #27376 )
2021-01-20 00:50:05 -08:00
Shelley Vohr
e4fc47f557
build: remove buildflags workaround ( #27372 )
2021-01-19 18:46:20 -08:00
Electron Bot
5fb1095806
Bump v13.0.0-nightly.20210119
2021-01-19 07:51:27 -08:00
Electron Bot
b0c1a2ae25
Revert "Bump v13.0.0-nightly.20210119"
...
This reverts commit 9a336a6a3b .
2021-01-19 07:48:40 -08:00
Electron Bot
9a336a6a3b
Bump v13.0.0-nightly.20210119
2021-01-19 06:32:53 -08:00
Cheng Zhao
c3091c3a70
fix: make SetWindowButtonVisibility work for customButtonsOnHover ( #27073 )
2021-01-19 19:12:09 +09:00
David Sanders
5e7e0a4c7e
fix: improve redirect behavior in protocol module ( #26297 )
...
* fix: improve redirect behavior in protocol module
* Add test for redirection
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-01-19 19:06:14 +09:00
Samuel Maddock
4334110339
fix: prevent crash when keyboard event immediately precedes calling BrowserWindow.close() ( #27315 )
...
* fix: prevent crash when destroyed widget receives keyboard event
Activating a key to close a window will cause a silent crash. Handling the keyboard
event will lead to a nullptr dereferenced in Chromium code if the window widget has
already been destroyed.
* test: ensure BrowserWindow doesn't crash from keyboard events during close
2021-01-19 11:37:21 +09:00
riccardopiola
d7b02e123a
chore: duplicate symbols for mojom interfaces in component build ( #27186 )
...
* fix duplicate symbols in component build
* fix: duplicate symbols for mojom interfaces in component build
2021-01-19 11:31:44 +09:00
Electron Bot
b27fa567bc
Bump v13.0.0-nightly.20210118
2021-01-18 06:31:32 -08:00
Electron Bot
3b38ba2ed8
Bump v13.0.0-nightly.20210115
2021-01-15 06:33:34 -08:00
Milan Burda
2be3d03630
feat: add webFrameMain.send() / webFrameMain.postMessage() ( #26807 )
2021-01-15 09:00:37 +09:00
Electron Bot
28b6579538
Bump v13.0.0-nightly.20210114
2021-01-14 06:33:16 -08:00
David Sanders
63ca878210
chore: use markdownlint to lint the docs ( #26792 )
...
* chore: use markdownlint to lint the docs
* chore: fix markdown lints
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-01-14 17:31:26 +09:00
Shelley Vohr
40e80af9a9
fix: crash in renderer process with non-context-aware modules ( #27296 )
2021-01-13 21:06:43 -08:00
Milan Burda
dd17250a80
revert: test use emittedUntil in PDF Viewer tests ( #27273 )
...
This reverts commit 36f4ee87df .
2021-01-13 13:49:35 -08:00
Cheng Zhao
cd42933f41
chore: remove ancient Browser::Focus implementation on Windows ( #27279 )
2021-01-13 13:46:54 -08:00
Shelley Vohr
0599487e65
refactor: use platform-specific TaskRunner to print ( #27225 )
2021-01-13 09:17:11 -08:00
Electron Bot
1c66cacf70
Bump v13.0.0-nightly.20210113
2021-01-13 06:34:32 -08:00
loc
ceda33dd5e
chore: surface webcontents load error more readily ( #22824 )
2021-01-13 18:01:51 +09:00
Cheng Zhao
9deae1c3c4
chore: do no semantic check on commit messages ( #27276 )
2021-01-12 19:37:32 -08:00
Shelley Vohr
61004723ac
build: fixup feature request template ( #27288 )
2021-01-12 17:01:19 -08:00
Electron Bot
adf0a73543
chore: bump chromium to a264339194bfa02f5ecb3b8cba449 (master) ( #27111 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-01-12 15:31:23 -08:00
Electron Bot
1cd72425aa
Bump v13.0.0-nightly.20210112
2021-01-12 06:33:44 -08:00
Electron Bot
d69f578179
Bump v13.0.0-nightly.20210111
2021-01-11 06:32:34 -08:00
Erick Zhao
c6769af29b
docs: update devtools extension tutorial ( #26326 )
...
* docs: update devtools extension tutorial
* Update docs/tutorial/devtools-extension.md
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* update
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-01-11 14:43:08 +09:00
Jeremy Rose
088f2e625f
feat: add frame and webContents to webRequest details ( #27078 )
...
* feat: add frame and webContents to webRequest details
* chore: use frame_converter.h
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-01-11 12:20:43 +09:00
Zachinquarantine
81dc8a0d04
docs: renames Comodo to Sectigo ( #27232 )
...
The certificate authority mentioned "Comodo" has recently been renamed
"Sectigo". This updates the name of the certificate authority, and the
link to get the code signing certificates for Sectigo/Comodo.
2021-01-11 12:20:13 +09:00
AHFriedman
1ef766c4a6
docs: correct meaning of DesktopCapturerSource.id ( #27255 )
...
* docs: correction meaning of DesktopCapturerSource.id
Corrected the meaning of the id string to match observed behavior
(verified on Windows 10 and Ubuntu).
* chore: adjust wordings
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-01-11 12:20:00 +09:00
Jim Fisher
01b7ceac17
docs: coordinate system of badly named method getCursorScreenPoint ( #27156 )
...
* Document coordinate system of badly named method getCursorScreenPoint
[Electron inherits this confusing name from Chromium](99314be815/ui/display/win/screen_win.cc (L677-L681) ). We can also see there that the return value is a DIPPoint, due to `ScreenToDIPPoint` call:
gfx::Point ScreenWin::GetCursorScreenPoint() {
POINT pt;
::GetCursorPos(&pt);
return gfx::ToFlooredPoint(ScreenToDIPPoint(gfx::PointF(gfx::Point(pt))));
}
I lost over a day due to debugging this. I don't think we can change the method name due to backwards compatibility, but we can at least make amends in the documentation.
* Remove advice
* Softer wording
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-01-11 12:19:48 +09:00
Milan Burda
442f106bb4
build: fix installing of code-signing identity on macOS ( #27221 )
2021-01-11 10:49:15 +09:00
Shelley Vohr
e74b425803
fix: set presentationModeEnabled value for PDF viewer ( #27223 )
2021-01-11 10:48:39 +09:00
Milan Burda
36f4ee87df
test: use emittedUntil in PDF Viewer tests ( #27248 )
2021-01-11 10:40:44 +09:00
Electron Bot
8c305b4113
Bump v13.0.0-nightly.20210108
2021-01-08 06:31:06 -08:00
Shelley Vohr
9aef11aa23
fix: broken PDF viewer ( #27209 )
2021-01-07 22:17:28 -08:00
Milan Burda
00d4baa0e2
test: skip media-started-playing media-paused events test when media not supported ( #27215 )
2021-01-07 14:43:20 -08:00
Milan Burda
904d2ff4cc
test: skip PictureInPicture video when media not supported ( #27218 )
2021-01-07 14:17:53 -08:00
John Kleinschmidt
c29923ae8a
ci: fix broken homebrew cache ( #27224 )
...
remove brew cache completely
Revert "remove brew cache completely"
This reverts commit ec4636cc249c2ef762cf7c00955acfa473745aa1.
Revert "ci: fix broken homebrew cache"
This reverts commit ed0415532ba6c69160a4ed48f111487fc22d2240.
this should work
2021-01-07 15:09:46 -05:00
Milan Burda
85a9abf377
test: skip protocol.registerSchemesAsPrivileged stream test when media not supported ( #27216 )
2021-01-07 11:45:29 -08:00
Electron Bot
2268c64a55
Bump v13.0.0-nightly.20210107
2021-01-07 06:32:08 -08:00
Jim Fisher
0f8b5ab606
docs: coordinate system of Display.bounds and Display.workArea ( #27157 )
...
They are in DIP points (rather than screen points). We can use
screen.dipToScreen* to convert to screen points.
2021-01-07 19:49:45 +09:00
Mark Wylde
449c048ac6
docs: add libraries for arch and manjaro linux ( #27196 )
2021-01-07 15:41:08 +09:00
mzajaczkowski
cc650ae4ee
build: fix missing dependency resulting in a random build failure ( #26757 )
...
* build: fix missing dependency resulting in a random build failure
* Update chromium_src/BUILD.gn
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* sort deps
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-01-07 15:40:10 +09:00
Electron Bot
0be4430431
Bump v13.0.0-nightly.20210106
2021-01-06 06:32:17 -08:00
theLMGN
b531123b4d
docs: NSVisualEffectMaterialDark has been deprecated and removed as of macOS 10.15 ( #27125 )
...
* NSVisualEffectMaterialDark has been deprecated and removed as of macOS 10.15.
* Update browser-window.md
2021-01-05 13:39:07 -08:00
Electron Bot
ea0df11aef
chore: bump node to v14.15.4 (master) ( #27198 )
...
* chore: bump node in DEPS to v14.15.4
* update patches
2021-01-05 13:37:23 -08:00
Shelley Vohr
c7f43e6e19
chore: use structured template for feature request ( #27175 )
2021-01-05 10:18:28 -08:00
Milan Burda
3d59aa5609
feat: add webFrameMain.executeJavaScriptInIsolatedWorld() ( #26913 )
2021-01-05 17:18:38 +09:00
Cheng Zhao
5f99569b6c
feat: make win.setAspectRatio() work on Windows ( #26941 )
...
* feat: make win.setAspectRatio() work on Windows
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2021-01-05 17:17:33 +09:00
Milan Burda
16c864a932
docs: webFrameMain.fromId() can return undefined ( #27068 )
...
* docs: webFrameMain.fromId() can return undefined
* docs: webFrameMain.fromId() can return undefined
2021-01-05 11:31:21 +09:00
Jeremy Rose
c210956afb
docs: document frameId meaning ( #27072 )
2021-01-05 11:12:38 +09:00
Electron Bot
1dc6a707a9
chore: bump node to v14.15.3 (master) ( #27077 )
...
* chore: bump node in DEPS to v14.15.3
* update patches
2021-01-04 20:11:54 -05:00
Shelley Vohr
3286b5fa46
fix: handle BrowserView reparenting ( #27000 )
2021-01-04 16:34:22 -08:00
Shelley Vohr
6307b52dc5
fix: default offset when no drag regions ( #27147 )
2021-01-04 14:01:32 -08:00
Shelley Vohr
3455136e9d
refactor: remove path from nativeImage converter ( #26546 )
2021-01-04 12:58:31 -08:00
Erick Zhao
4db3e3a08a
docs: update broken Chrome webview URL ( #27079 )
2021-01-04 12:48:35 -08:00
Shelley Vohr
a433fdd3d4
build: show more info about exported patches ( #27148 )
2021-01-04 11:24:59 -08:00
Shelley Vohr
29c2e2cb97
fix: unclickable regions in some draggable BrowserViews ( #27143 )
2021-01-04 11:22:14 -08:00
Electron Bot
6d31f1ad4c
Bump v13.0.0-nightly.20210104
2021-01-04 10:59:29 -08:00
renmu123
30fa427a9a
docs: fix two "add" mistake in snapcraft.md ( #27151 )
2021-01-04 09:33:12 -08:00
Electron Bot
1078590bbd
Bump v13.0.0-nightly.20201223
2020-12-23 06:32:07 -08:00
Electron Bot
8383c14aba
chore: bump chromium to 7264889ce3aad1568ff3d211c81fe (master) ( #27003 )
...
* chore: bump chromium in DEPS to 91c9f44297abe2844f593ec7956e6ce79c81f463
* chore: update chromium patches
* chore: update v8 patches
* build: service_names.mojom has been deleted
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2568681
* chore: add DISPLAY_CAPTURE permission to converter
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2551098
* chore: handle AXPropertyFilter::SCRIPT in accessibility_ui
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2563923
* refactor: web_isolated_world_ids.h has been deleted
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2585255
* refactor: ResourceType has been deprecated / removed in ExtensionsBrowserClient
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2562002
* chore: fix lint
* chore: remove deleted headers
* build: disable gn check for blink header
* fix: refactor X11 event handling
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2577887
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2585750
* chore: update patches
* chore: bump chromium in DEPS to bfd8e7dbd37af8b1bc40d887815edd5a29496fa3
* chore: update patches
* refactor: xeventobserver is now x11:eventobserver
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2585750
* refactor: remove UseWebUIBindingsForURL
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2583590
* chore: DidProcessXEvent has been removed
* chore: bump chromium in DEPS to b13e791d7244a08d9d61dbfa2bb2b6cdf1ff6294
* chore: update patches
* build: change gfx::GetAtom to x11:GetAtom
Refs: d972a0ae4a
* build: change gfx namespace to x11
Ref: d972a0ae4a
* build: change ui namespace to x11
Refs: c38f8571a8 :ui/gfx/x/xproto_util.h;dlc=ba9145d0c7f2b10e869e2ba482ca05b75ca35812
* chore: add patch to fix blink prefs fetching during frame swap
* chore: fix lint
* fix: do not make invalid SKImageRep in FrameSubscriber
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2572896
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-12-22 14:14:44 -08:00
Electron Bot
729c45637d
Bump v13.0.0-nightly.20201222
2020-12-22 06:33:47 -08:00
Electron Bot
3a970825b2
Bump v13.0.0-nightly.20201221
2020-12-21 06:32:03 -08:00
Eryk Rakowski
bf24759354
fix(extensions): implement missing web_request hooks ( #22655 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
Co-authored-by: samuelmaddock <samuel.maddock@gmail.com >
2020-12-18 15:11:43 -08:00
Electron Bot
8f1bc338e5
Bump v13.0.0-nightly.20201218
2020-12-18 06:34:00 -08:00
Cheng Zhao
cdc94e4cef
chore: remove extra setTitlebarAppearsTransparent ( #27042 )
2020-12-18 09:51:05 +09:00
Cheng Zhao
f99ea7c0ba
chore: put NativeWindowMac's methods in order ( #27040 )
2020-12-18 09:50:51 +09:00
Milan Burda
a55e028b12
fix: handle _sendToFrameInternal() throwing an exception in remote/server.ts ( #27046 )
2020-12-17 14:28:40 -08:00
Jeremy Rose
da3d21e5e3
fix: make webContents.id work even after destroy ( #27038 )
2020-12-17 12:10:29 -08:00
Electron Bot
8cbcb04e84
Bump v13.0.0-nightly.20201217
2020-12-17 06:31:25 -08:00
Jeremy Rose
6a3679dc55
fix: memory leak in desktopCapturer.getSources ( #27031 )
2020-12-16 16:11:39 -08:00
Electron Bot
8f9058ea72
chore: bump node to v14.15.2 (master) ( #27045 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-12-16 13:38:45 -08:00
Shelley Vohr
75247d18d0
refactor: remove last use of InternalCallbackScope ( #27029 )
...
* refactor: remove last use of InternalCallbackScope
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2020-12-16 14:02:36 -06:00
Electron Bot
9377b04e0b
Bump v13.0.0-nightly.20201216
2020-12-16 06:32:14 -08:00
choko
e250a2d804
docs: include author and description in package.json in quick-start.md ( #26983 )
...
* Update quick-start.md
`author` and `description` field is required
* Update quick-start.md
* Update quick-start.md
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2020-12-16 19:02:06 +09:00
Gerrit Niezen
420eaaa294
docs: update select-serial-port example ( #26992 )
2020-12-16 16:57:28 +09:00
Cheng Zhao
998f17ee59
fix: make protocol wrapper remote-friendly again ( #27009 )
2020-12-16 16:56:53 +09:00
Shelley Vohr
9eab298779
feat: add missing 'context-menu' values ( #26788 )
...
* fix: add missing 'context-menu' values
* Add missing canSave
* Remove canTranslate
2020-12-16 14:32:11 +09:00
Cheng Zhao
e01b1831d9
feat: make trafficLightPosition work for customButtonOnHover ( #26789 )
2020-12-16 14:30:39 +09:00
Eryk Rakowski
1e2a2004e9
feat: add support for webContents option in BrowserView ( #26802 )
...
* feat: add support for webContents option in BrowserView
* tests: add tests
2020-12-16 08:52:43 +09:00
Milan Burda
6932e17088
chore: remove deprecated systemPreferences methods ( #26849 )
2020-12-16 08:34:24 +09:00
dependabot[bot]
6ccebdf712
build(deps): bump ini from 1.3.5 to 1.3.7 ( #26930 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-15 13:50:10 -08:00
Shelley Vohr
b266b5208a
refactor: use public node::CallbackScope where possible ( #27001 )
...
* refactor: use public node::CallbackScope where possible
* Remove unused node_env() getter
2020-12-15 11:39:25 -08:00
Nick Harper
21024011d7
fix: incorrect case in content::PermissionType mapping ( #27006 )
2020-12-15 11:14:42 -08:00
Jeremy Rose
833baa4c54
fix: throw when using globalShortcut before ready ( #27002 )
2020-12-15 11:13:56 -08:00
Electron Bot
ef49fea5eb
Bump v13.0.0-nightly.20201215
2020-12-15 06:32:43 -08:00
Avi Vahl
9b02d94e97
fix(asar): readdir(withFileTypes) fails on deep directory ( #26865 )
...
when using readdirSync on a deep directory within the archive, the code fails to get the stats of child paths.
2020-12-15 11:21:49 +09:00
diego
b73b343e29
docs: update quick start description after fiddle integration ( #26943 )
2020-12-15 11:12:57 +09:00
Electron Bot
4588a41161
chore: bump chromium to 096e5313aaf19dfa0c4710145c34d (master) ( #26535 )
...
* chore: bump chromium in DEPS to 1d6b29cd85c1c3cba093b8b69b2727cc26eaac97
* update patches
* chore: use 'libvulkan.so.1' in the linux manifests
CL: https://chromium-review.googlesource.com/c/angle/angle/+/2538430
Upstream renamed libvulkan.so to libvulkan.so.1, so sync our manifests.
* chore: update expected window-open default policy.
CL: https://chromium-review.googlesource.com/c/chromium/src/+/2429247
Upstream CL contiues the work to make `strict-origin-when-cross-origin`
the default referrer policy. This commit changes our window-open tests
to expect that policy over the previous `no-referrer-when-downgrade`.
* chore: bump chromium in DEPS to 69cb7c65ad845cdab1cd5f4256237e72fceba2dd
* chore: re-export chromium patches
No code changes; just line numbers. `git am` failed because the upstream
changes were just large enough to require patching to fail w/o fuzzing.
The broken patch was
patches/chromium/feat_allow_disabling_blink_scheduler_throttling_per_renderview.patch
* update patches
* chore: bump chromium in DEPS to c6d97a240d30e5f5166856f5ae6ee14d95b9a4f0
* update patches
* fixup! chore: update expected window-open default policy.
* chore: disallow copying CppHeapCreateParams
Experimental commit to resolve FTBS https://ci.appveyor.com/project/electron-bot/electron-ljo26/builds/36405680#L25345
which introduces a new struct CppHeapCreateParams that aggregates a
vector of unique_ptrs. Our Windows CI is unhappy that this struct
implicitly deletes its copy ctor, so this commit makes it explicit.
Xref: https://chromium-review.googlesource.com/c/v8/v8/+/2536642
* update patches
* chore: bump chromium in DEPS to 0df9a85ffa0ad4711b41a089842e40b87ba88055
* update patches
* fixup! chore: bump chromium to ac06d6903a2c981ab90a8162f1ba0 (master) (#26499 )
* chore: update calls to gfx::RemoveAcceleratorChar.
The call signature for gfx::RemoveAccelerator changed in
https://chromium-review.googlesource.com/c/chromium/src/+/2546471 .
This commit updates use to match that.
* chore: bump chromium in DEPS to 43d6c496251e08d3781bfadbe9727688551f74a9
* update patches
* chore: bump chromium in DEPS to 1fb5c9825be4e2271c4fef0e802f5d970b32f62f
* update patches
* chore: bump chromium in DEPS to 8a1f078d67825e727a598b89a8924699df8d3850
* chore: bump chromium in DEPS to 28ff715b3a97d8cedc143bad671edb08b6de5fc2
* chore: update patches
* Remove most service manifest remnants from Content
https://chromium-review.googlesource.com/c/chromium/src/+/2296482
* Reland "Portals: Fix a11y for orphaned portals"
https://chromium-review.googlesource.com/c/chromium/src/+/2542812
* Convert CallbackList::Subscription to a standalone class.
https://chromium-review.googlesource.com/c/chromium/src/+/2522860
* fix: actually apply the zlib patch
* chore: bump chromium in DEPS to 75b464e6357190ca302ba9ce8f8c2bf5a3b709ae
* chore: update patches
* chore: bump chromium@b884b9b2f647c59a75f5d2055030afa33d50ca10
* chore: bump chromium in DEPS to 829261dadcefdc54ce5fdf7c5fac2929786a63ce
* chore: bump chromium in DEPS to 5df3e69605c7c0130374aaccb91fc4726a558db2
* chore: bump chromium in DEPS to 22db748d5b7b90f87e6e97ef4c92a727ac753ea4
* chore: bump chromium in DEPS to 1475df80282b7eeeb0e153d8375bfe651f083bf8
* chore: bump chromium in DEPS to 6d34fe9e9b7386edd90574617bfa4008de972d72
* chore: update patches
* Disable CertVerifierService for now
2559260: Enable CertVerifierService by default | https://chromium-review.googlesource.com/c/chromium/src/+/2559260
* Remove force_ignore_site_for_cookies until we figure out what to do instead
2499162: Remove |force_ignore_site_for_cookies| from IPCs (e.g. ResourceRequest). | https://chromium-review.googlesource.com/c/chromium/src/+/2499162
* chore: bump chromium in DEPS to 95aeb1c59ebc03d19ba077b0cd707463d1b2865e
* update patches
* Set site_for_cookies to request url so that URLLoader::ShouldForceIgnoreSiteForCookies returns true
* 2490383: a11y inspect reorg: implement accessible tree formatter factory
https://chromium-review.googlesource.com/c/chromium/src/+/2490383
* 2485887: [Extensions][web_accessible_resources] Use |matches|.
https://chromium-review.googlesource.com/c/chromium/src/+/2485887
* update v8 headers
* chore: bump chromium in DEPS to 38587dc379a8cf4d4a13e482a6e89f2fe681144e
* update patches
* 2555005: [api] Simplify ScriptOrigin
https://chromium-review.googlesource.com/c/v8/v8/+/2555005
* 2563553: Remove Flash from PermissionRequestTypes and PermissionTypes.
https://chromium-review.googlesource.com/c/chromium/src/+/2563553
* 2546146: Remove browser-hosted InterfaceProvider
https://chromium-review.googlesource.com/c/chromium/src/+/2546146
* Actually apply nan patch
* update patches
* chore: bump chromium in DEPS to 6718d4b50c9db975c5642ca5b68e8dc7ee1b7615
* update patches
* 2546146: Remove browser-hosted InterfaceProvider
https://chromium-review.googlesource.com/c/chromium/src/+/2546146
* chore: bump chromium in DEPS to 338cc300e3fe3a4cb4883e9ccdc34a32f3dfe034
* chore: bump chromium in DEPS to d9baeb1d192c23ceb1e1c4bbe6af98380b263bc1
* chore: bump chromium in DEPS to 3ca3051932683739b304e721cc394b6c66f841fe
* chore: bump chromium in DEPS to 89292a4ae29096e5313aaf19dfa0c4710145c34d
* 2571639: mac: Remove code to support OS X 10.10 in //sandbox
https://chromium-review.googlesource.com/c/chromium/src/+/2571639
* Fixup patch indices
* Do not build MTLManagedObjectAdapter
It's been removed in newer Mantle versions and uses a deprecated enum
* update patches
* Remove sendToAll
https://github.com/electron/electron/pull/26771
* 2569367: Remove dead fullscreen code in RenderWidgetHostView and friends
https://chromium-review.googlesource.com/c/chromium/src/+/2569367
* Remove deprecated performFileOperation usage
* 2568359: mac: Ignore Wdeprecated-declarations for LSSharedFileList* functions.
https://chromium-review.googlesource.com/c/chromium/src/+/2568359
* 2561401: Add OutputPresenterX11 which uses X11 present extension.
https://chromium-review.googlesource.com/c/chromium/src/+/2561401
* 2565511: [objects] Remove MakeExternal case for uncached internal strings
https://chromium-review.googlesource.com/c/v8/v8/+/2565511
* fixup: Add disconnect logic to ElectronBrowserHandlerImpl
* Allow local networking override for ATS
https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html
* Refactor: clean up rfh getters in ElectronBrowserHandlerImpl
* Update patches
* Remove unneeded BindTo
* Don't assign ElectronBrowserHandlerImpl at all
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2020-12-14 10:57:36 -08:00
Electron Bot
c8eb4ecc0c
Bump v13.0.0-nightly.20201214
2020-12-14 06:33:41 -08:00
Shelley Vohr
2f9281519c
fix: add SafeForTerminationScopes for SIGINT interruptions ( #26933 )
2020-12-11 15:03:41 -08:00
Biru Mohanathas
44ca6e0818
fix: Upload all *.dll.pdb to symbol server ( #26962 )
...
Fixes #26961 .
Notes: Add Electron DLLs like libGLESv2.dll to symbol server
2020-12-11 12:34:03 -08:00
Cheng Zhao
28ae68d66c
fix: window with CustomButtonsOnHover should have rounded corner ( #26901 )
2020-12-11 11:03:08 -08:00
Biru Mohanathas
b4c1e54ed3
fix: Avoid crashing in NativeViewHost::SetParentAccessible on Windows ( #26924 )
2020-12-11 09:47:55 -08:00
Electron Bot
cc09da6233
Bump v13.0.0-nightly.20201211
2020-12-11 06:32:17 -08:00
Milan Burda
a8e9140c26
docs: add missing deprecated systemPreferences APIs to breaking-changes ( #26848 )
2020-12-10 16:42:23 -08:00
Samuel Attard
b9c9e7fc06
feat: add support for DOM elements going over the context bridge ( #26776 )
...
* feat: add support for DOM elements going over the context bridge
* Update context-bridge.md
2020-12-10 13:03:00 -08:00
Samuel Attard
51db2a6b34
build: fix JS linting ( #26876 )
2020-12-10 10:57:06 -08:00
Electron Bot
e641a747fb
Bump v13.0.0-nightly.20201210
2020-12-10 06:32:32 -08:00
John Kleinschmidt
f876154fd3
ci: ignore failures on Ninja summary ( #26914 )
2020-12-09 19:58:28 -05:00
Milan Burda
cec6378881
feat: add event.senderFrame property returning the originating webFrameMain ( #26764 )
2020-12-09 15:34:06 -08:00
Mimi
9908cc363a
fix: message box missing an "OK" button in GTK ( #26857 )
2020-12-10 08:28:56 +09:00
Mimi
bc6fed5eda
build: remove requests from git submodule ( #26908 )
2020-12-09 17:15:21 -05:00
Jeremy Rose
07a1c2a3e5
fix: restrict sendToFrame to same-process frames by default ( #26875 )
2020-12-09 12:48:16 -08:00
Shelley Vohr
76f721474e
fix: stack traces in non-Node.js contexts ( #26820 )
2020-12-09 11:08:13 -08:00
Shelley Vohr
1a79bedb27
build: remove unused install-build-deps ( #26891 )
2020-12-09 09:26:21 -08:00
Jeremy Rose
edfbeb92bf
test: disable flaky reporting API test ( #26898 )
2020-12-09 09:16:41 -08:00
Electron Bot
6d0a0319e1
Bump v13.0.0-nightly.20201209
2020-12-09 06:32:34 -08:00
Mimi
19ff18ac40
build: remove boto from git submodule ( #26877 )
2020-12-08 20:39:20 -08:00
Milan Burda
c41b8d536b
refactor: move IPC handlers from navigation-controller to rpc-server ( #26846 )
2020-12-08 10:46:08 -08:00
Michaela Laurencin
7677576da8
chore: add @mlaurencin to manual backport config ( #26872 )
2020-12-08 10:04:02 -08:00
Electron Bot
1abd36f6c8
Bump v13.0.0-nightly.20201208
2020-12-08 06:33:18 -08:00
David Sanders
788e51127f
chore: blank lines before lists in markdown ( #26793 )
2020-12-08 16:08:19 +09:00
Milan Burda
ee0550efca
fix: systemPreferences.effectiveAppearance returning systemPreferences.getAppLevelAppearance() ( #26852 )
2020-12-08 16:07:04 +09:00
Shelley Vohr
b788ceb7bd
fix: screen EventEmitter methods with remote ( #26809 )
...
* fix: screen EventEmitter methods with remote
* Review feedback
2020-12-08 13:47:48 +09:00
Erick Zhao
e87061398b
docs: update OSR max FPS number ( #26805 )
2020-12-08 13:41:09 +09:00
Milan Burda
c9b813a1f9
refactor: convert more C++ enums to C++11 enum classes ( #26850 )
2020-12-08 13:39:33 +09:00
Mark Lee
3bc220db29
docs: clean up the native modules documentation ( #26813 )
2020-12-08 13:28:59 +09:00
windwalkr
6001f03e46
docs: add description to read-me.md ( #26823 )
...
Unhandled exception error is received if description is not defined while running "npm run make." Defining a description solves this issue.
2020-12-08 13:26:29 +09:00
Samuel Attard
771e34a53a
feat: route frame based permission checks through our permission check handler ( #19903 )
...
* feat: route frame based permission checks through our permission check handler
* docs: add change to setPermissionCheckHandler to breaking changes doc
2020-12-07 15:44:56 -08:00
Samuel Attard
3db4e612f4
fix: handle security warnings promise when JS is disabled ( #26837 )
2020-12-07 10:58:00 -08:00
Mimi
03b43e4d8c
build: use python3 for electron hooks ( #26839 )
2020-12-07 10:57:41 -08:00
Alexey Kuzmin
e89b3ca1d1
fix: add a "set" trap to the "screen" module proxy ( #26818 )
2020-12-07 09:20:50 -08:00
Jeremy Rose
d3b1566181
chore: remove unused _replyInternal method ( #26825 )
2020-12-07 09:19:26 -08:00
Electron Bot
5a5d964720
Bump v13.0.0-nightly.20201207
2020-12-07 06:31:40 -08:00
Shelley Vohr
228a184b48
chore: remove unused FindByID helper ( #26826 )
2020-12-06 09:33:02 -08:00
Nikita Kot
7672aa9525
feat: exposeInMainWorld allow to expose non-object APIs ( #26594 )
2020-12-04 09:43:20 -08:00
Milan Burda
b111bba387
fix: send IPC_MESSAGES.RENDERER_RELEASE_CALLBACK as internal message ( #26808 )
2020-12-04 19:09:08 +03:00
Electron Bot
b133b6fd45
Bump v13.0.0-nightly.20201204
2020-12-04 06:32:29 -08:00
Electron Bot
45eee46864
Bump v13.0.0-nightly.20201203
2020-12-03 06:32:05 -08:00
Eli Skeggs
5521f8acca
feat: allow path override with --ignore-scripts ( #25377 )
...
If you --ignore-scripts when installing electron currently, it'll fail
to write the path.txt file and thus fail to use the override dist path.
Open to other solutions - just hoping to be able to use a prebuilt
electron binary with the default package without having to muck around
with it installing an unused version.
2020-12-03 16:23:44 +09:00
Milan Burda
b37982987a
chore: remove unused sendToAll + related APIs ( #26771 )
...
* chore: remove unused sendToAll + related APIs
* refactor: no need to args.ShallowClone() anymore
2020-12-03 15:55:50 +09:00
Electron Bot
8eee9d1290
Bump v13.0.0-nightly.20201202
2020-12-02 06:32:14 -08:00
Antonio
6fc5ff77c1
docs: app distribution page ( #26239 )
...
* docs: first draft of the app distribution page
* docs: second iteration of the app distribution page. Fixed mentions
* docs: third iteration of the app distribution page. Fixed mentions
* docs: reworked app distribution page according to mentions
* docs: minor fixes to the app distribution page according to mentions
2020-12-02 15:52:12 +09:00
Cheng Zhao
cffb51e141
chore: remove TODO on SetHidden calls ( #26746 )
2020-12-01 21:36:23 -08:00
Shelley Vohr
e96fa95b94
fix: properly emit after hooks after exception ( #26752 )
2020-12-01 21:34:08 -08:00
Vadim
efca7007b6
fix: internalModuleReadJSON for unpacked JSON ( #26749 )
2020-12-01 21:33:39 -08:00
Milan Burda
c2909a3b8d
docs: BrowserWindow extension APIs are deprecated in Electron 9 ( #26722 )
2020-12-01 18:27:19 -06:00
Jim Fisher
430189fa84
docs: fix contentTracing code sample ( #26737 )
2020-12-01 15:45:45 -08:00
Shelley Vohr
94381cda49
docs: add debugging vars to env var doc ( #26743 )
2020-12-01 15:04:07 -08:00
Shelley Vohr
528b0f0e74
fix: draggable views on BrowserViews on Windows ( #26738 )
2020-12-01 15:03:00 -08:00
PalmerAL
cdcee04bbe
fix: Add default Bluetooth permission strings ( #26730 )
2020-12-01 11:34:39 -08:00
Electron Bot
6c5f7a6e86
Bump v13.0.0-nightly.20201201
2020-12-01 06:33:16 -08:00
Michaela Laurencin
32d4c9ad85
fix: add check in IsMaximized for non-WS_THICKFRAME windows ( #26586 )
...
* fix: add check in IsMaximized for non-WS_THICKFRAME windows
* remove logs
* change GetPosition for GetNativeWindow
* change GetPosition for GetNativeWindow in IsMaximize
* add top left corner check
* add transparent maximization test
* replace window and display comparison
* rebase off master
2020-12-01 15:27:58 +09:00
Shelley Vohr
acfbbe9869
fix: draggable regions calculation in BrowserWindow/BrowserView ( #26690 )
2020-11-30 21:02:04 -08:00
Milan Burda
4e3e3d414d
refactor: simplify child process tracking for app.getAppMetrics() ( #26657 )
2020-12-01 10:47:46 +09:00
David Sanders
61f339d3aa
chore: use ESLint API for linting ( #26705 )
...
* chore: use ESLint API for linting
* chore: fix typo
* chore: fix import
2020-12-01 10:47:29 +09:00
Antonio
cf970f31a3
docs: revised offscreen rendering page ( #26542 )
...
* docs: revised offscreen rendering page
* docs: reworked offscreen rendering page according to mentions
* docs: minor revision of offscreen rendering
* docs: fixed trailing space in offscreen rendering
* docs: resolved merge conflict
2020-12-01 10:47:09 +09:00
Jeremy Rose
9c26be7b43
test: deflake current-render-view-deleted test ( #26698 )
2020-11-30 17:06:25 -08:00
Milan Burda
19954126e0
chore: remove deprecated extension APIs ( #26696 )
2020-11-30 14:40:56 -08:00
Samuel Attard
7d49ce898a
build: use all-for-one goma ( #26699 )
...
* Revert "Revert "build: use one-for-all goma (#26679 )" (#26689 )"
This reverts commit 38ab829ea6 .
* build: ensure file descriptor limit is higher on macOS
2020-11-30 12:29:36 -08:00
Milan Burda
09d7b2bc91
chore: remove deprecated shell.moveItemToTrash() ( #26723 )
2020-11-30 23:25:03 +03:00
Electron Bot
59b4d5c156
Bump v13.0.0-nightly.20201130
2020-11-30 06:32:52 -08:00
Erick Zhao
36af8022ca
fix: delay emitting NotifyIcon events on Windows ( #26668 )
...
* wip?
* attempt to use weakptr
* apply posttask change to other balloon events
* chore: add clarifying comment on weakptr
* refactor: move weakptr include to implementation
(it's not needed in the header file)
* refactor: use default initializer for weak factory
* refactor: move weakptr usage outside of loop
* fix: convert mouse events as well
* refactor: use member function for balloon events
* fix: check if wicon is truthy in callback
* refactor: bind mouse events with member function
* refactor: inline lparams
* refactor: inline getkeyboardmodifiers()
* chore: correct GetKeyboardModifiers typo
2020-11-30 16:49:30 +09:00
Milan Burda
14c8e000cb
feat: add process.uptime() to sandboxed renderers ( #26684 )
2020-11-30 16:49:18 +09:00
David Sanders
c8c41fb727
chore: fixup patches linting ( #26595 )
2020-11-30 16:49:01 +09:00
Antonio
fadd513739
docs: added fiddle support for code samples ( #26501 )
...
* docs: added fiddle support for code samples in quick start guide and features
* docs: removed excessive fiddle links for not final steps
* docs: added eof newlines to fiddle examples
* docs: reworked fiddle examples to be more self-sufficient
* docs: reworked fiddle examples according to mentions
* docs: changed http to https in the offscreen rendering fiddle
* docs: fix recent documents fiddle to be more consistent
2020-11-30 16:48:39 +09:00
Jeremy Rose
770e245de5
fix: uaf in WebContents::DidStopLoading ( #26702 )
2020-11-29 21:03:07 -08:00
Samuel Attard
7cc571801c
build: remove sccache ( #26701 )
2020-11-28 21:28:57 -08:00
Electron Bot
8311ea1a36
Bump v13.0.0-nightly.20201127
2020-11-27 06:31:41 -08:00
Milan Burda
022bafc485
chore: remove deprecated crashReporter APIs ( #26695 )
2020-11-26 22:07:40 +03:00
Electron Bot
d0cf16263e
Bump v13.0.0-nightly.20201126
2020-11-26 06:32:13 -08:00
Jeremy Rose
ba629e3127
fix: use-after-free in ElectronBrowserContext during shutdown ( #26680 )
2020-11-25 12:29:26 -08:00
Electron Bot
662077f153
Bump v13.0.0-nightly.20201125
2020-11-25 06:31:41 -08:00
Cheng Zhao
d56861eaa5
chore: add descriptions for patches ( #26671 )
2020-11-25 21:50:46 +09:00
Robo
38ab829ea6
Revert "build: use one-for-all goma ( #26679 )" ( #26689 )
...
This reverts commit 6761814f14 .
2020-11-24 22:00:48 -08:00
David Sanders
87e20f2b97
chore: tidy up docs markdown ( #26666 )
2020-11-24 18:52:46 -08:00
Samuel Attard
6761814f14
build: use one-for-all goma ( #26679 )
...
* build: use one-for-all goma
* build: use 300 everywhere
2020-11-24 15:11:22 -08:00
Milan Burda
c8d77cae4a
refactor: replace V8 hidden values with WeakMap / WeakSet ( #26659 )
2020-11-24 16:11:39 -05:00
David Sanders
0be6c92aa9
chore: include alt text for images in markdown ( #26665 )
...
* chore: include alt text for images in markdown
* chore: fix typo
2020-11-24 10:50:10 -05:00
Electron Bot
956892dd5b
Bump v13.0.0-nightly.20201124
2020-11-24 06:32:16 -08:00
Devin Foley
a5c612cd96
fix: Update Squirrel.mac to fix permissions bug. ( #26358 )
...
* fix: Update Squirrel.mac to fix permissions bug.
* Update patches.
2020-11-24 17:38:22 +09:00
Jeremy Rose
9d54fdfd12
fix: crash on exit in Event destructor ( #26537 )
2020-11-24 15:41:06 +09:00
Samuel Attard
b894151745
build: update npx.py to support npx@7 ( #26662 )
...
* build: update npx.py to support npx@7
* build: set npm_config_yes for all npx callsites
2020-11-23 21:26:54 -08:00
David Sanders
e455a79218
chore: use relative links in docs ( #26360 )
2020-11-24 11:02:16 +09:00
Anders Kaseorg
b1b25607ee
fix: make screen wrapper remote-friendly again ( #26620 )
...
This restores accessibility of screen methods via remote.screen.
Fixes #26610 .
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2020-11-23 16:44:54 -05:00
Milan Burda
6932e02eb8
refactor: use getWebPreference() for all options ( #26531 )
2020-11-23 22:39:08 +03:00
Jeremy Rose
854d2b1574
fix: reject contentTracing.stopRecording on failure ( #26608 )
2020-11-23 10:20:40 -08:00
Jeremy Rose
329494cfeb
fix: segfault on webContents.fromId(xxx) ( #26609 )
2020-11-23 09:21:00 -08:00
David Sanders
abb1504ecc
docs: use asterisks for unordered lists ( #26552 )
2020-11-23 12:15:27 -05:00
Shelley Vohr
b57ae67da6
chore: update nmv for Electron v13 ( #26581 )
2020-11-23 11:14:25 -05:00
Electron Bot
2e239ea563
Bump v13.0.0-nightly.20201123
2020-11-23 06:31:59 -08:00
Electron Bot
7c099210b4
Bump v13.0.0-nightly.20201120
2020-11-20 06:31:20 -08:00
Shelley Vohr
46972abf8b
refactor: align shutdown signal handling with upstream ( #26559 )
2020-11-19 16:00:34 -08:00
Milan Burda
b4196ca486
build: fix build with enable_printing=false ( #26597 )
2020-11-19 10:05:49 -05:00
Electron Bot
06158b3e94
Bump v13.0.0-nightly.20201119
2020-11-19 06:33:44 -08:00
David Sanders
18f004eab1
docs: fix relative link ( #26585 )
2020-11-19 16:06:32 +09:00
David Sanders
03a70896c7
chore: tidy up markdown ( #26554 )
2020-11-18 20:58:47 -08:00
David Sanders
e65341e282
chore: improve docs relative link linting ( #26359 )
2020-11-18 11:55:11 -08:00
NotWearingPants
d4e53925ba
docs: add a white background to body ( #26504 )
2020-11-18 11:54:26 -08:00
Samuel Attard
f182a600e4
fix: use public APIs in place of private CTFontDescriptorIsSystemUIFont in ui/gfx ( #26548 )
2020-11-18 09:32:56 -08:00
Samuel Attard
dcc6196fe7
revert: disable rosetta as Electron does not run under rosetta
...
This reverts commit 4829b0f816 .
2020-11-18 09:04:16 -08:00
Electron Bot
2bc859b884
Bump v12.0.0-nightly.20201118
2020-11-18 07:38:15 -08:00
Electron Bot
b8eea7e89b
Revert "Bump v12.0.0-nightly.20201118"
...
This reverts commit 6a29e5d116 .
2020-11-18 06:55:00 -08:00
Electron Bot
6a29e5d116
Bump v12.0.0-nightly.20201118
2020-11-18 06:31:52 -08:00
Shiranka Miskin
ec85a91472
docs: update contextIsolation documentation on access to globals ( #19732 )
2020-11-18 15:24:00 +09:00
Cheng Zhao
cc136f2acd
fix: LC_ALL env should not be changed ( #26507 )
2020-11-18 11:13:01 +09:00
Antonio
968cb970fc
docs: restructured docs directory ( #26335 )
...
* docs: first draft of the restructred docs directory
* docs: first working version of the restructred docs directory
* docs: finalized version of the restructred docs directory
* docs: reverted architecture section back to the toc
2020-11-18 10:13:03 +09:00
David Sanders
17df102a3b
build: don't generate patches mtime cache if it already exists ( #26468 )
2020-11-18 09:50:31 +09:00
LuoJinghua
e1cc78f275
feat: allow setting the Origin header and Sec-Fetch-* headers in net.request() ( #26135 )
2020-11-17 14:25:41 -08:00
Jeremy Rose
b8372fdc29
refactor: rename managed_web_contents to inspectable_web_contents ( #26525 )
2020-11-17 14:15:20 -08:00
Jeremy Rose
29211a51df
refactor: inline and rename findInPage request id ( #26524 )
2020-11-17 14:15:07 -08:00
Jeremy Rose
784172b6ca
chore: remove redundant access modifier ( #26523 )
2020-11-17 14:14:57 -08:00
Jeremy Rose
ac6d301015
chore: remove undocumented tabTraverse method ( #26522 )
2020-11-17 14:14:46 -08:00
Jeremy Rose
92643a5a1c
refactor: consolidate WebContents::{Create,New} ( #26521 )
2020-11-17 14:14:33 -08:00
Jeremy Rose
a303813d15
refactor: move GetPrinterList off WebContents ( #26518 )
2020-11-17 14:14:09 -08:00
bitdisaster
dbe0f06c3d
fix: getLoginItemSettings() on windows ( #26515 )
...
* find by exe, detect taskmgr enable/disable
* tests
2020-11-17 14:13:08 -06:00
David Sanders
2b4ce387bc
test: support for adding extra module paths ( #26490 )
2020-11-17 12:05:10 -08:00
Jeremy Rose
023c89265f
refactor: move TerminationStatus converter ( #26520 )
2020-11-17 11:13:58 -08:00
Jeremy Rose
ead13791a8
fix: setCertVerifyProc canceling unrelated requests ( #26517 )
2020-11-17 11:12:50 -08:00
Jeremy Rose
7c2ac6b7c1
fix: BrowserWindow.fromBrowserView in multiple-BrowserView windows ( #26493 )
2020-11-17 11:12:02 -08:00
Jeremy Rose
040ee66678
docs: note about structured clone and DOM types ( #26516 )
2020-11-17 11:11:40 -08:00
Keeley Hammond
c78ac248dc
docs: update breaking changes for Electron 11 ( #26526 )
...
* docs: update breaking changes for Electron 11
* docs: remove desktopCapture method, add destroy
2020-11-17 11:35:23 -05:00
Electron Bot
a74d0b29d5
chore: bump node to v14.15.1 (master) ( #26533 )
...
* chore: bump node in DEPS to v14.15.1
* update patches
2020-11-17 11:22:20 -05:00
Electron Bot
0c6b0596b5
Bump v12.0.0-nightly.20201117
2020-11-17 06:32:29 -08:00
Shelley Vohr
d97612ed21
fix: webContents interaction with draggable browserviews ( #26496 )
2020-11-16 20:41:37 -08:00
Electron Bot
cad2d8b4aa
chore: bump chromium to ac06d6903a2c981ab90a8162f1ba0 (master) ( #26499 )
...
* chore: bump chromium in DEPS to c04c17506a1b5941370b91dfa44eda7ec31e9793
* update patches
* chore: bump chromium in DEPS to 8a4687263763f306659d04cef8f0a12a9e504d57
* chore: bump chromium in DEPS to 3a75ada69d1ac06d6903a2c981ab90a8162f1ba0
* update patches
* chore: sync StartRemoteDebuggingPipeHandler usage
CL: https://chromium-review.googlesource.com/c/chromium/src/+/2536354
Added 'on_disconnect' OnceClosure arg to StartRemoteDebuggingPipeHandler
* chore: add WebSocketHandshakeClient::OnFailurea
CL: https://chromium-review.googlesource.com/c/chromium/src/+/2527889
Add an empty stub to satisfy parent class' pure virtual method OnFailure().
NB: Use of empty impl comes from WebRequestProxyingWebSocket.
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2020-11-16 19:57:42 -06:00
Jeremy Rose
a9924e1c32
feat: add powerMonitor.onBatteryPower ( #26494 )
2020-11-16 16:31:46 -08:00
Sofia Nguy
8594b55dee
docs: update currently supported versions for 11.0.0 release ( #26368 )
2020-11-16 15:48:50 -08:00
Sofia Nguy
fabc51dc33
docs: update 12 stable dates ( #26367 )
2020-11-16 15:48:28 -08:00
Shelley Vohr
6f6c1b7ca6
feat: add displayFrequency to Display object ( #26472 )
2020-11-16 15:33:51 -08:00
John Kleinschmidt
f65db1df79
build: Use goma for all releases ( #26476 )
...
* build: use goma for all release builds
* Make sure goma is setup everywhere it is needed
* Show ninja stats on release builds
2020-11-16 14:23:23 -05:00
Shelley Vohr
ac35787bdb
fix: Cannot read property 'setDockSide' of undefined ( #26474 )
2020-11-16 10:26:35 -08:00
Samuel Attard
358ab79778
fix: do not use crashpad APIs in the MAS build ( #26491 )
2020-11-16 11:47:09 -06:00
Electron Bot
900fbb99c9
Bump v12.0.0-nightly.20201116
2020-11-16 06:32:34 -08:00
Milan Burda
434f7749db
build: fix build with enable_builtin_spellchecker=false ( #26466 )
2020-11-14 03:18:16 +03:00
Electron Bot
e017d8714e
chore: bump chromium to adc5df74b86afdff676989ced8cd3 (master) ( #26223 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-11-13 16:16:56 -08:00
Samuel Attard
d6019634f9
feat: add app.runningUnderRosettaTranslation to detect running under rosetta ( #26444 )
...
* feat: add app.isRunningUnderRosettaTranslation to detect running under rosetta
* chore: fixup
* chore: make const
* chore: add missing import
2020-11-13 12:53:32 -08:00
Electron Bot
d6431a0ff2
Bump v12.0.0-nightly.20201113
2020-11-13 06:33:13 -08:00
Electron Bot
3c7582173a
Bump v12.0.0-nightly.20201112
2020-11-12 06:31:31 -08:00
Shelley Vohr
0448888fa5
chore: remove ScopedAllowBlockingForTesting ( #26447 )
2020-11-12 09:13:34 -05:00
David Sanders
1cda003e4d
docs: update issue template ( #26293 )
...
* docs: update issue template
* chore: link to new issue template instead of embedding the content
2020-11-12 09:12:45 -05:00
Milan Burda
5ee9cc202b
fix: ensure that internal messages are sent from the main process ( #26429 )
2020-11-12 06:20:01 +03:00
Samuel Maddock
83d30c5c2a
feat: add 'resized' event to BrowserWindow ( #26216 )
...
Also adds 'moved' event to BrowserWindow on Windows.
2020-11-11 19:27:24 -05:00
Cheng Zhao
bb3fb548d8
feat: add APIs to enable/disable spell checker ( #26276 )
...
* feat: add APIs to enable/disable bulitin spell checker
* feat: add togglespellchecker menu item role
2020-11-11 10:29:18 -05:00
Samuel Attard
f77b56e926
chore: add patch description to gin allocator patch ( #26415 )
2020-11-11 09:48:51 -05:00
Electron Bot
044302e4ab
Bump v12.0.0-nightly.20201111
2020-11-11 06:33:49 -08:00
Electron Bot
f1c0dc4c24
Bump v12.0.0-nightly.20201110
2020-11-10 11:46:47 -08:00
John Kleinschmidt
5875e9a5e8
Revert "Bump v12.0.0-nightly.20201110"
...
This reverts commit 6b222a2d8a .
2020-11-10 14:44:05 -05:00
John Kleinschmidt
cdc9625a86
build: upload dsym files for all mac releases ( #26425 )
2020-11-10 11:12:41 -08:00
Shelley Vohr
e6db49686b
fix: renderer crash on setImmediate ( #26365 )
2020-11-10 09:17:58 -08:00
Jeremy Rose
ff33fa1970
refactor: merge CommonWebContentsDelegate into api::WebContents ( #26189 )
2020-11-10 09:06:56 -08:00
loc
0b85fdf26c
feat: add webContents.setWindowOpenHandler API ( #24517 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-11-10 09:06:03 -08:00
Electron Bot
6b222a2d8a
Bump v12.0.0-nightly.20201110
2020-11-10 06:31:19 -08:00
Electron Bot
b823b74378
Bump v12.0.0-nightly.20201109
2020-11-09 15:10:14 -08:00
Samuel Attard
8b7e10cf4d
build: verbose is flag, no value ( #26414 )
2020-11-09 15:08:27 -08:00
Samuel Attard
40f82e5ef2
Revert "Bump v12.0.0-nightly.20201109"
...
This reverts commit eb2a35f0d8 .
2020-11-09 14:52:00 -08:00
Samuel Attard
946802600b
chore: move upload-to-github to TS ( #26390 )
2020-11-09 13:57:53 -08:00
Samuel Attard
40ebdb5c42
fix: use the gin PageAllocator instead of V8::PageAllocator ( #26331 )
...
* fix: use the gin PageAllocator instead of V8::PageAllocator
This makes browser-process JS allocate pages using the base/gin allocator thus ensuring flags such as MAP_JIT are appropriately applied.
* chore: add gin patch
* update patches
Co-authored-by: Electron Bot <electron@github.com >
2020-11-09 13:57:24 -08:00
Cheng Zhao
02a8c0a640
fix: make draggable regions work when devtools is opened on macOS ( #26361 )
...
* fix: make draggable region work when devtools is open
* fix: update draggable regions when resizing
2020-11-09 16:54:04 -05:00
David Sanders
f21a21f172
chore: cleanup inline HTML in docs ( #26354 )
2020-11-09 16:52:06 -05:00
Electron Bot
eb2a35f0d8
Bump v12.0.0-nightly.20201109
2020-11-09 12:40:31 -08:00
Samuel Attard
b75c7e16a4
Revert "Bump v12.0.0-nightly.20201109"
...
This reverts commit d54c1c7072 .
2020-11-09 12:37:09 -08:00
Samuel Attard
dcffa7449a
build: fix usage of octokit/rest and make uploading better ( #26386 )
2020-11-09 12:30:43 -08:00
Electron Bot
d54c1c7072
Bump v12.0.0-nightly.20201109
2020-11-09 06:31:45 -08:00
Michaela Laurencin
d836682ee6
docs: add native c++ windows debugging method ( #26286 )
2020-11-06 16:55:55 -08:00
Electron Bot
e193543ea8
Bump v12.0.0-nightly.20201106
2020-11-06 06:32:03 -08:00
David Sanders
2c52d5fe42
chore: a few style fixes for internal-ambient.d.ts ( #26347 )
2020-11-05 14:13:02 -08:00
David Sanders
43dbd1bdf8
chore: cleanup whitespace in docs ( #26356 )
2020-11-05 14:12:43 -08:00
David Sanders
3814a56d48
chore: fix markdown in docs ( #26357 )
2020-11-05 14:11:38 -08:00
Electron Bot
103d6d7781
Bump v12.0.0-nightly.20201105
2020-11-05 06:32:22 -08:00
David Sanders
e296813578
build: support for running clang-tidy ( #26150 )
2020-11-05 10:24:17 +09:00
Electron Bot
2daca0f4d0
Bump v12.0.0-nightly.20201104
2020-11-04 06:34:05 -08:00
Jeremy Rose
34156c424c
fix: [webview] fix missing properties on events when contextIsolation: true ( #26289 )
2020-11-04 11:15:20 +09:00
John Kleinschmidt
c856b5fa53
build: use goma for Windows releases ( #26324 )
2020-11-03 19:18:55 -05:00
Milan Burda
d25fa7b075
refactor: store <webview> attributes as typed Map ( #26307 )
2020-11-03 15:02:23 -08:00
John Kleinschmidt
42aa6b8ea5
test: fix visibility flake on mac ( #26323 )
2020-11-03 16:24:40 -05:00
Electron Bot
bded790425
Bump v12.0.0-nightly.20201103
2020-11-03 06:32:08 -08:00
David Sanders
b1b8a657c4
fix: fail protocol request when OnWrite fails ( #26296 )
2020-11-03 21:11:40 +09:00
Electron Bot
4716def511
Bump v12.0.0-nightly.20201102
2020-11-02 06:32:07 -08:00
David Sanders
34feaf1df0
docs: link ProtocolResponseUploadData ( #26294 )
2020-11-02 19:01:46 +09:00
Jeremy Rose
123e8d7038
fix: improve ses.cookies.set error message when url is missing ( #26268 )
2020-11-02 19:00:29 +09:00
David Sanders
ecd23bb29b
docs: tidy up links ( #26292 )
2020-11-02 18:58:14 +09:00
Abhishek Shingane
d16e61dc85
fix: window.open not accepting size values with "px" at the end ( #26104 )
...
* fix: use parseInt to parse sizes
* fix: pass radix to parseInt
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-11-02 18:55:59 +09:00
Erick Zhao
f61dedb7e5
docs: update information on Linux support ( #26265 )
...
* docs: remove stale info from version support doc
* attempt to update binary info?
2020-11-02 16:24:34 +09:00
Antonio
6017a0de88
docs: revised dark mode feature page ( #26187 )
...
* docs: revised dark mode page
* docs: fixed lint errors in dark mode page
* docs: fixed mentions, revised doc structure in the dark mode feature page
* docs: fixed mentions, made all the steps more verbose in the dark mode feature page
2020-11-02 16:18:29 +09:00
David Sanders
2a392c11f8
chore: cleanup pylint violations ( #26252 )
...
* chore: cleanup pylint violations
* chore: cleanup pylint violatins
2020-11-02 15:43:21 +09:00
Electron Bot
4c40ce09fd
Bump v12.0.0-nightly.20201030
2020-10-30 07:31:52 -07:00
David Sanders
e9cd227b5b
build: Python3 compat and Win line-endings fixes ( #26091 )
2020-10-30 19:05:38 +09:00
David Sanders
f065b2ddef
chore: tidy up .eslintrc.json ( #26251 )
2020-10-29 14:23:22 -07:00
Shelley Vohr
e021639472
fix: draggable region edge calculation on resize ( #26233 )
...
* fix: draggable region edge calculation on resize
* Feedback from review
2020-10-29 12:51:56 -07:00
John Kleinschmidt
7f9b21daa0
feat: correctly identify permissions when using setPermissionRequestHandler ( #26172 )
...
* fix: correctly identify clipboard read permission
* Update tests for variable clipboard content
* chore: add all possible permission conversions
* VIDEO_CAPTURE and AUDIO_CAPTURE were already defined
* Handle all PermissionTypes
* use skewer case for accessibility events to match permissions api
https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API
2020-10-29 14:22:32 -04:00
Samuel Attard
07ee75b745
build: auto-push patch file changes ( #26235 )
...
* build: auto-push patch file changes
* chore: change patch for testing purposes
* build: remove stray log
* build: push as electron bot
* build: suppress all output of the push-patch script
* chore: fix linting
2020-10-29 14:21:23 -04:00
Jeremy Rose
914aed6495
chore: don't self-include inspectable_web_contents.h ( #26236 )
2020-10-29 10:44:19 -07:00
Electron Bot
60e963ed86
chore: bump node to v14.15.0 (master) ( #26222 )
...
* chore: bump node in DEPS to v14.15.0
* Update patch indices
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-10-29 09:13:45 -07:00
Electron Bot
30aa74c71c
Bump v12.0.0-nightly.20201029
2020-10-29 07:31:16 -07:00
Erick Zhao
935f6396d5
docs: clarify default value of enableRemoteModule ( #26170 )
2020-10-29 19:33:59 +09:00
Robo
ff71d1cef6
fix: build with printing disabled ( #26248 )
2020-10-28 23:56:41 -07:00
Shelley Vohr
794940272b
fix: hover text only working when VO enabled ( #26183 )
2020-10-28 20:24:37 -07:00
Shelley Vohr
3d9d5679c5
build: only check patch diffs in testing builds ( #26232 )
...
* build: only check patch diffs in testing builds
* Fixup patch indices
2020-10-28 14:06:58 -07:00
David Sanders
ad4cb6f8ac
docs: can use depot_tools Python for Windows build ( #26184 )
2020-10-28 16:06:32 -04:00
Charles Kerr
f489e3054a
feat: honor nativeTheme.themeSource = 'dark' before creating BrowserWindow on Windows ( #25373 )
...
* fix: support 'dark' theme before creating windows.
2020-10-28 15:00:21 -05:00
Cheng Zhao
d3f32c7502
fix: set app locale after user's script is loaded ( #26185 )
...
* fix: set app locale after user's script is loaded
* fix: set LC_ALL env on Linux
2020-10-28 12:18:47 -04:00
Milan Burda
0c2e2bca92
refactor: don't send ipcRenderer.sendSync() returnValue as an array ( #26178 )
2020-10-28 18:48:20 +03:00
Electron Bot
83747ad21c
Bump v12.0.0-nightly.20201028
2020-10-28 07:32:24 -07:00
bigben0123
84a42a050e
fix: incorrect Content-Disposition encoding ( #25961 )
...
* Fixed the filename in content-disposition chaos.
* Fixed lint fail.
* Add test code and some comment.
* Fix lint error.
* fix lint error.
* * test: onHeadersReceived doesn't change the filename in "content-disposition" (#25628 )
* fix lint error.
2020-10-28 16:00:49 +09:00
Antonio
bb16c6f0be
docs: revised the keyboard shortcuts feature page ( #25999 )
...
* docs: revised the keyboard shortcuts feature page
* docs: fixed mentions, revised sections and code samples
* docs: added example of before-input-event
* docs: fixed lint errors in keyboard shortcuts feature page
* docs: minor grammar fix in keyboard shortcuts feature page
2020-10-28 15:58:38 +09:00
David Sanders
0603ef7bfd
build: drop use of --typeRoots for default_app ( #26094 )
2020-10-28 15:57:28 +09:00
Milan Burda
d2727f5aba
feat: add support for UNNotificationResponse in app 'ready' event ( #25950 )
2020-10-28 04:25:10 +03:00
Electron Bot
bf89237f60
chore: bump chromium to 9b2191ea59cba1e2f6da4dbb7dee0 (master) ( #25995 )
2020-10-27 17:33:04 -07:00
Shelley Vohr
284c1b9539
fix: transparently package bundles as zip archives ( #25030 )
2020-10-27 17:05:28 -07:00
Shelley Vohr
7cdc42f43a
fix: draggable regions exclusively on BrowserViews ( #26145 )
2020-10-27 14:28:43 -07:00
Samuel Attard
760c4aeb3e
build: rename the v8 context snapshot on arm64 macOS builds ( #26086 )
...
* chore: rename the v8 context snapshot on arm64 macOS builds
* build: update zip manifests
* build: update to upstream patch
2020-10-27 13:50:57 -07:00
David Sanders
98b0ccbdb1
chore: tidy up usage of PendingRemote ( #26176 )
2020-10-27 12:20:41 -07:00
Jeremy Rose
430cef8a62
docs: remove semantic commit checklist item ( #26168 )
...
We have a check for this now, so the checklist item is redundant
2020-10-27 11:58:12 -07:00
Jeremy Rose
8c396d0512
test: deflake ses.setProxy test ( #26167 )
2020-10-27 10:53:27 -07:00
Milan Burda
1c99a9b425
refactor: Chromium code style for enum classes ( #26165 )
2020-10-27 10:51:45 -07:00
Samuel Attard
dbf2931f0e
feat: Electron Fuses, package time feature toggles ( #24241 )
...
* feat: add new 'fuses' feature for package-time build-flag style feature control
* feat: put ENABLE_RUN_AS_NODE behind a fuse as well
* chore: address PR feedback
* build: move FUSE_EXPORT to headers
* build: use hex codes for kFuseWire char[]
* docs: add fuse wire documentation
* chore: update fuses.json info
* Apply suggestions from code review
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* chore: add link to fuse schema
* Update shell/app/electron_library_main.mm
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-10-27 10:49:25 -07:00
David Sanders
422190e1ff
chore: change some for loops to range-based ( #26182 )
2020-10-27 10:22:24 -07:00
David Sanders
d8167ce138
chore: use consistent parameter names ( #26162 )
2020-10-27 10:18:36 -05:00
Electron Bot
52fd855ad4
Bump v12.0.0-nightly.20201027
2020-10-27 07:31:25 -07:00
LuoJinghua
201fc11b4b
feat: Added support for all proxy modes ( #24937 )
...
* feat: Added support for all proxy modes
This commit extended setProxy to support all proxy modes including
direct, auto_detect, pac_script, fixed_servers and system.
* feat: New api for reload proxy configurations
2020-10-27 15:50:06 +09:00
Antonio
33ac7dbd48
docs: revised windows taskbar page ( #26120 )
...
* docs: revised windows taskbar page
* docs: fixed mentions related to windows taskbar
2020-10-27 10:31:40 +09:00
Jeremy Rose
ae323565f7
fix: delay emitting powerMonitor events on windows ( #25836 )
...
* fix: delay emitting powerMonitor events
* Update electron_api_power_monitor_win.cc
* Update electron_api_power_monitor_win.cc
* syntax
* Update electron_api_power_monitor_win.cc
* Update electron_api_power_monitor_win.cc
2020-10-27 10:25:23 +09:00
Milan Burda
184bccdc7d
docs: fix app 'ready' event arguments ( #26171 )
2020-10-27 00:43:27 +03:00
Antonio
e512669937
docs: revised linux desktop actions page ( #26118 )
2020-10-26 15:32:20 -05:00
David Sanders
4be10523e8
chore: use auto to avoid repeating type ( #26113 )
2020-10-26 11:56:31 -07:00
David Sanders
f714556a12
fix: ensure object is not used after move ( #26115 )
2020-10-26 11:56:08 -07:00
David Sanders
29016b42c7
docs: Windows Security modifies Chromium checkout ( #26151 )
2020-10-26 11:51:21 -07:00
LuoJinghua
0fc5f18b63
fix: Don't sort the headers of ClientRequest ( #26134 )
2020-10-26 11:33:36 -07:00
Valentin Hăloiu
2d1bbd2e38
refactor: remove x11 logic from filenames.gni ( #26146 )
2020-10-26 10:28:11 -07:00
Electron Bot
93e786d1b5
Bump v12.0.0-nightly.20201026
2020-10-26 07:31:57 -07:00
Chris Patterson
6a0c5a8a65
docs: add snapcraft + electron-packager example ( #25750 )
...
* docs: add snapcraft + electron-packager example
Add example to snap electron app (electron-quick-start)
using snapcraft & electron-packager.
Include notes on how to apply this to an existing project.
Signed-off-by: Chris Patterson <chris.patterson@canonical.com >
* Update snapcraft.md
* Update snapcraft.md
* Update snapcraft.md
* Update docs/tutorial/snapcraft.md
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-10-26 16:47:01 +09:00
Antonio
ecb758dae5
docs: revised the represented file feature page ( #26018 )
...
* docs: revised the represented file feature page
* docs: fixed mentions, updated screenshot to be more consistent
2020-10-26 16:45:45 +09:00
Fabio Spampinato
d4191c4a26
fix: optimized asar paths checks ( #26024 )
...
* fix: optimized asar paths checks
* fix: ensuring the linter is happy
2020-10-26 12:19:35 +09:00
Milan Burda
aa157c3f05
feat: add osProcessId / name properties to webFrameMain ( #26093 )
...
* feat: add osProcessId / name properties to webFrameMain
* Update docs/api/web-frame-main.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-10-26 06:03:34 +03:00
David Sanders
30b5e15ddc
chore: bump @typescript-eslint version ( #25986 )
...
* chore: bump @typescript-eslint version
* chore: update config for newer @typescript-eslint
* chore: disable eslint no-undef rule for typescript
2020-10-26 11:59:35 +09:00
David Sanders
4379a14335
chore: bump @electron/docs-parser version ( #26088 )
2020-10-25 12:29:47 -05:00
Shelley Vohr
e89abed924
fix: disable use of the vm module in the renderer ( #26087 )
2020-10-23 11:49:52 -07:00
Electron Bot
c89ce5eecf
Bump v12.0.0-nightly.20201023
2020-10-23 07:32:10 -07:00
Samuel Attard
9d18f9d54f
fix: re-enable the spellchecker when new language list set ( #26119 )
...
* fix: re-enable the spellchecker when new language list set
Chromium recently added prefs logic to disable the spellchecker if the list of languages is empty, but the logic to re-enable if the languages are provided again lives in another part of Chromium. This change makes it so our API re-enables the spellchecker correctly when required.
* chore: fix lint
2020-10-23 00:34:19 -07:00
Shelley Vohr
6181c03df0
fix: setSimpleFullScreen shows traffic light in frameless window ( #26096 )
2020-10-23 15:04:53 +09:00
Jeremy Rose
2d49d82072
chore: synchronously destroy WebContents on event prevented ( #26090 )
2020-10-23 15:04:07 +09:00
Antonio
722903f068
docs: revised the application progress bar feature page ( #26003 )
...
* docs: revised the application progress bar feature page
* docs: fixed mentions, added screenshots to make the guide more consistent
* docs: added an extra phrase about indeterminate mode
* docs: revised paragraph about indeterminate mode
* docs: fixed lint errors, broken links
2020-10-23 15:03:04 +09:00
David Sanders
554ad93d45
chore: prefer empty() check for readability ( #26109 )
2020-10-22 13:24:59 -07:00
David Sanders
d9db9873fd
fix: return early on promise rejection ( #26095 )
2020-10-22 10:53:42 -07:00
Charles Kerr
c934d1386b
docs: add discord link to docs community page ( #26048 )
2020-10-22 10:24:30 -05:00
Electron Bot
7f0c6ea47a
Bump v12.0.0-nightly.20201022
2020-10-22 07:33:26 -07:00
Cheng Zhao
e3c4bbd21f
fix: release NSAlert properly ( #26078 )
2020-10-22 15:46:58 +09:00
Antonio
f93e33528e
docs: revised the web embeds feature page ( #26008 )
...
* docs: revised the web embeds feature page
* docs: minor styling updates to the web embeds feature page
* docs: fixed text and grammar mentions
* docs: changed placement of the webviews warning
* docs: added a few missing commas
2020-10-22 11:08:26 +09:00
David Sanders
35455c725d
build: fix running eslint on Windows ( #26014 )
2020-10-21 15:44:38 -07:00
Samuel Maddock
10a209ecba
feat: add webPreferences.enablePreferredSizeMode ( #25874 )
...
* feat: add preferredSizeMode preference
* docs: webPreferences.preferredSizeMode and event
* docs: better explain preferred size
* docs: small improvement
* refactor: preferredSizeMode -> enablePreferredSizeMode
2020-10-21 15:44:19 -07:00
David Sanders
2aa5a1f494
build: lint the npm folder ( #26085 )
2020-10-21 15:43:52 -07:00
Jeremy Rose
22cb3cd18b
feat: add disabledCipherSuites option to setSSLConfig ( #25818 )
2020-10-21 11:03:59 -07:00
Milan Burda
f6a27973d1
chore: sort filenames ( #26049 )
2020-10-21 17:38:20 +03:00
Electron Bot
939be5eb8a
Bump v12.0.0-nightly.20201021
2020-10-21 07:31:34 -07:00
Cheng Zhao
a631a8a8b0
docs: put required field frontmost in the dialog options ( #26059 )
2020-10-21 20:07:44 +09:00
Antonio
5c6fa7e420
docs: revised the online-offline event detection feature page ( #26017 )
...
* docs: revised the online-offline event detection feature page
* docs: fixed text and grammar mentions
2020-10-21 15:46:56 +09:00
Milan Burda
df1432a315
feat: add net.online / net.isOnline() ( #21004 )
2020-10-20 19:55:06 -07:00
Milan Burda
1ef803d2ea
chore: make RenderProcessHostPrivilege enum class ( #26050 )
2020-10-20 19:47:04 -05:00
Julie Koubová
56d1fafe66
build: Wrap bundles using webpack ( #25557 )
2020-10-20 12:10:15 -07:00
David Sanders
f7945ade07
build: mtime cache for patches to speed up build ( #25881 )
2020-10-20 11:49:57 -07:00
Valentin Hăloiu
c4525b4ea6
fix: add Wayland support ( #26022 )
2020-10-20 11:24:52 -07:00
Electron Bot
d38c47e748
Bump v12.0.0-nightly.20201020
2020-10-20 07:33:02 -07:00
Antonio
aebb56cb33
docs: revised Notifications feature page ( #25901 )
...
* docs: revised Notifications feature page
* docs: fixed mentions and updated content according to style guide in the notifications feature page
* docs: fixed lint errors in the notifications feature page
* docs: slightly improved consistency of steps in the notifications feature page
* docs: fixed mentions in the notifications feature page
2020-10-20 11:24:27 +09:00
David Sanders
e6f570d191
docs: improve relative link linting and fix broken ( #26020 )
2020-10-20 10:46:27 +09:00
David Sanders
042ebdd5b0
build: lint patches for trailing whitespace ( #26007 )
2020-10-20 10:40:58 +09:00
Cheng Zhao
6b6ffbdd10
feat: add support for share menu on macOS ( #25629 )
2020-10-19 18:33:06 -07:00
Antonio
89c04b3c6c
docs: revised the macos dock menu feature page ( #25985 )
...
* docs: revised the macos dock menu feature page
* docs: added a cross-link to api, fixed mentions in the macos feature page
2020-10-20 10:32:40 +09:00
Charles Kerr
ae5de3d9c5
perf: remove GC timer that fired once per minute. ( #25958 )
2020-10-20 10:31:02 +09:00
Antonio
12e3c85081
docs: revised the recent documents feature page ( #25941 )
...
* docs: revised the recent documents feature page
* docs: fixed lint errors in the recent documents feature page
* docs: slightly improved consistency of steps in the recent documents feature page
2020-10-20 10:26:24 +09:00
John Kleinschmidt
4ce7ca6cfb
test: disable flaky arm tests ( #26046 )
...
* tests: disable flaking test on all arm platforms
* tests: disable flaky did-change-theme-color tests on WOA
2020-10-19 20:11:30 -04:00
Shelley Vohr
c6a6f53c8d
fix: crash when printing ( #25989 )
2020-10-19 14:31:25 -07:00
The Gem Dev
3219812c02
docs: update native file drag and drop ( #26044 )
...
fixed a typo.
2020-10-19 14:18:43 -07:00
Electron Bot
e895353f7a
chore: bump node to v14.14.0 (master) ( #25994 )
...
* chore: bump node in DEPS to v14.14.0
* Remove upstreamed certs patch
https://github.com/nodejs/node/pull/35546
* Remove V8 Isolate callbacks patch
https://github.com/nodejs/node/pull/35512
* Update patch indices
* Update Node.js filenames
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-10-19 13:28:28 -07:00
Shelley Vohr
88508d5166
fix: support new PDF viewer update ( #26010 )
2020-10-19 13:07:02 -07:00
David Sanders
64504536fa
build: fix invocation of cpplint on Windows ( #26011 )
2020-10-19 12:08:13 -07:00
Charles Kerr
16caa54248
chore: tweak branch detection in release notes. ( #25973 )
2020-10-19 11:36:37 -07:00
Michaela Laurencin
11ce55628e
fix: correct null pointer checks in autoresizing browser views ( #25951 )
...
* Correction null pointer checks
* fix: correct null pointer checks in autoresizing browser views
Co-authored-by: mlaurencin <mlaurencin@microsoft.com >
2020-10-19 09:26:38 -07:00
John Kleinschmidt
87d3f3584c
fix: segfault in SerialChooserController ( #25969 )
...
* fix: segfault in SerialChooserController
* Remove temporary testing
2020-10-19 10:51:25 -04:00
Electron Bot
6a0221297e
Bump v12.0.0-nightly.20201019
2020-10-19 07:31:58 -07:00
Milan Burda
decb1eb87b
feat: add serviceName to 'child-process-gone' / app.getAppMetrics() ( #25975 )
2020-10-19 14:55:47 +03:00
David Sanders
c27e5fdbb6
chore: fix linter errors ( #25996 )
2020-10-19 20:55:27 +09:00
Lishid
05b5c197ae
feat: Expose renderer spellcheck API ( #25060 )
2020-10-19 20:48:16 +09:00
Milan Burda
321395d96e
refactor: use Map instead of Object for better semantics ( #25982 )
2020-10-19 03:24:51 +03:00
Shelley Vohr
eca53aaaf1
fix: Save As PDF from PDF Preview ( #25959 )
2020-10-16 18:30:46 -07:00
Robo
708cf44d19
ci: disable CalculateNativeWinOcclusion for woa ( #26001 )
2020-10-16 13:45:38 -07:00
Cheng Zhao
44221d7452
chore: update chore_expose_v8_initialization_isolate_callbacks.patch ( #25992 )
...
* chore: update chore_expose_v8_initialization_isolate_callbacks.patch
* update patches
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-10-16 13:31:13 -07:00
Electron Bot
63f1f2d7ce
Bump v12.0.0-nightly.20201016
2020-10-16 07:32:09 -07:00
Ben Russert
bf68405a2f
feat: support exclude from capture on Windows ( #24274 )
...
* feat: support exclude from capture on Windows
Check for WDA_EXCLUDEFROMCAPTURE support, and fallback to WDA_MONITOR. Windows versions that support exclude from capture will exclude the window entirely when `setContentProtection` is enabled similar to how Mac behaves. Fall back to `WDA_MONITOR` for windows verisions that do not support.
This flag is mentioned at the very end of a Microsoft blog post here: https://blogs.windows.com/windowsdeveloper/2019/09/16/new-ways-to-do-screen-capture/
Use WDA_EXCLUDEFROMCAPTURE for content protection on windows
Starting with Windows 10, version 2004 this will exclude a window similar to the expected behavior on mac. It is safe to use WDA_EXCLUDEFROMCAPTURE on older Windows versions, as it will still behave as if WDA_MONITOR is applied.
https://github.com/microsoft/Windows.UI.Composition-Win32-Samples/issues/64#issuecomment-697074762
See the docs here: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowdisplayaffinity
* docs: update setContentProtection docs
Update `setContentProtection` docs with `WDA_EXCLUDEFROMCAPTURE` info. This is to support screen capture fully excluding a particular window instead of showing it as a black screen.
2020-10-16 20:02:49 +09:00
Antonio
55fdc1795c
docs: revised the drag and drop feature page ( #25939 )
...
* docs: revised the drag and drop feature page
* docs: fixed mentions in the drag and drop feature page
* docs: fixed mentions in the drag and drop feature page
2020-10-15 19:14:16 -07:00
Electron Bot
46f3491c7d
chore: bump chromium to 6b9fa6b352d824d052222e1abe541 (master) ( #25558 )
...
* chore: bump chromium in DEPS to d5c9bf9e2a18fa508201a88e5803bec1d107b1ae
* chore: bump chromium in DEPS to 45f1316afae33e52c92480b34bf4f7fe4a7db898
* update patches
* WillCreateURLLoaderFactory now gets a ukm_source_id
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2346803
* ink_drop_visible_opacity -> GetInkDropVisibleOpacity
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2415368
* chore: bump chromium in DEPS to ddb5b6db5e35ab1a7b5adbd9f15373af6c35ea2a
* 2418471: PDF Viewer update: Add missing aria-labels to various buttons.
https://chromium-review.googlesource.com/c/chromium/src/+/2418471
* update printing.patch given print settings mojoification
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2409467
* update patches
* content::BluetoothChooser::Event -> content::BluetoothChooserEvent
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2387901
* set_ink_drop_base_color -> SetInkDropBaseColor
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2419388
* chore: bump chromium in DEPS to ecf7c9ee830d4d85f300b461a2fa13aa40c79a4c
* update patches
* gfx::ConvertPointToPixel -> gfx::ConvertPointToPixels
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2418568
* remove ContentSettingsObserver::AllowStorage()
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2401847
* service_manager::kCrashDumpSignal -> kCrashDumpSignal
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2417073
* chore: bump chromium in DEPS to abdb7ebe5f8c8328b8f435283df90d0a3ecff7bd
* chore: bump chromium in DEPS to 2a7e138ab1066534ceb2622e8a9d2c8ebf574215
* chore: bump chromium in DEPS to ab1884e75ced904e4276851eb4e1ad89919ca93b
* chore: bump chromium in DEPS to a12413902380dcc2a73ac74d582328280a8af686
* Fixup printing patch
https://chromium-review.googlesource.com/c/chromium/src/+/2428623
* Fixup OSR patch
https://chromium-review.googlesource.com/c/chromium/src/+/2415128
* Make ExtensionURLLoaderFactory always owned by its |receivers_|.
https://chromium-review.googlesource.com/c/chromium/src/+/2357523
* Add deprecated_default_sources_assignment_filter variable
https://chromium-review.googlesource.com/c/chromium/src/+/2416496
* Fixup patch indices
* Remove several references to BrowserPlugin from content
https://chromium-review.googlesource.com/c/chromium/src/+/2401031
* Remove SurfaceEmbeddingTime and LocalSurfaceIdAllocation
https://chromium-review.googlesource.com/c/chromium/src/+/2415128
* Add DragOperation and AllowedDragOperations Mojo types
https://chromium-review.googlesource.com/c/chromium/src/+/2196167
* chore: bump chromium in DEPS to 378450342cf6aa160663d0ce3a178a11b570c25a
* Fixup patch indices
* Remove SurfaceEmbeddingTime and LocalSurfaceIdAllocation
https://chromium-review.googlesource.com/c/chromium/src/+/2415128
* Add DragOperation and AllowedDragOperations Mojo types
https://chromium-review.googlesource.com/c/chromium/src/+/2196167
* 2426564: Remove global sources assignment filter value
https://chromium-review.googlesource.com/c/chromium/src/+/2426564
* Fixup blink_local_frame.patch
* [XProto] Remove a subset of ui/gfx/x/x11.h
https://chromium-review.googlesource.com/c/chromium/src/+/2430328
* Fixup patch indices
* Remove several references to BrowserPlugin from content
https://chromium-review.googlesource.com/c/chromium/src/+/2401031
* Remove lossy ConvertSizeToPixel() methods
https://chromium-review.googlesource.com/c/chromium/src/+/2419534
* serial: Use USB driver name to disambiguate ports
https://chromium-review.googlesource.com/c/chromium/src/+/2413176
* Remove set_sources_filter import
* Fix ModMask usage
* [XProto] Remove usage of all Xlib headers
https://chromium-review.googlesource.com/c/chromium/src/+/2392140
* [XProto] Remove usage of Xlib Visuals
https://chromium-review.googlesource.com/c/chromium/src/+/2429933
* Skip Angle manifest file
https://chromium-review.googlesource.com/c/angle/angle/+/2425197
* Add whole src\third_party\angle\.git directory
This directory is needed in order to properly generate gen/angle/angle_commit.h
* [libvpx] Fix HighBD config on Windows ARM64
https://chromium-review.googlesource.com/c/chromium/src/+/2437745
* update patches
* fix: correct calling convention for Windows on Arm
https://chromium-review.googlesource.com/c/v8/v8/+/2440717
* Add third_party/angle/.git to the archive before adding the rest of the source
* fixup source caching on Windows
* Fixup erroneous close paren
* fixup for goma issues
* This should work
* chore: bump chromium roll manually
https://chromium-review.googlesource.com/c/chromium/src/+/2435142
This landed the day after we paused roller-bot and may resolve the
visibility test flakes that we're seeing. h/t to @jkleinsc for
finding this with me.
* chore: remove obsoleted cherry-pick fix for libvpx
https://chromium-review.googlesource.com/c/chromium/src/+/2437745
* chore: remove obsoleted cherry-pick libvpx patch
https://chromium-review.googlesource.com/c/chromium/src/+/2437745
* chore: re-export patches
* chore: add tracer comment to visibility-stat-spec.
The line numbers between the source and the CI runs don't seem to match
up, so this temp tracer is to help track the source of that difference.
* chore: bump chromium in DEPS to 7c2b8cc3b8638aee8abeb013042a6c1d15b2da6b
* update patches
* impl SortingLSH service
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2425327
* 2446525: [Flash] Remove some Flash APIs
https://chromium-review.googlesource.com/c/chromium/src/+/2446525
* 2440974: Reland "Delete service_manager/embedder/switches.h"
https://chromium-review.googlesource.com/c/chromium/src/+/2440974
* 2359402: Remove ContentBrowserClient::NonNetworkURLLoaderFactoryDeprecatedMap.
https://chromium-review.googlesource.com/c/chromium/src/+/2359402
* 2250506: Implement tabs.removeCSS
https://chromium-review.googlesource.com/c/chromium/src/+/2250506
* 2429143: Remove implicit-conversion-to-integer ConvertRectToPixel() methods.
https://chromium-review.googlesource.com/c/chromium/src/+/2429143
* 2444430: Remove DataElementType::kBlob
https://chromium-review.googlesource.com/c/chromium/src/+/2444430
* 2441964: Clean up WebView public API
https://chromium-review.googlesource.com/c/chromium/src/+/2441964
* 2357523: Make ExtensionURLLoaderFactory always owned by its |receivers_|.
https://chromium-review.googlesource.com/c/chromium/src/+/2357523
* 2461606: Use blink::mojom::PreferredColorScheme instead of blink::PreferredColorScheme
https://chromium-review.googlesource.com/c/chromium/src/+/2461606
* 2461235: a11y inspect reorg: move PropertyFilter struct to a new location
https://chromium-review.googlesource.com/c/chromium/src/+/2461235
* remove flash support
* fix frame_host_manager patch
* fix lint
* remove flash info from docs
* fix build
* fix osr
* chore: bump chromium in DEPS to 9269f9eb1d98d29564c2b2ab97f30c6e148c4e11
* fix visibilityState tests
* 2463049: Replace all uses of web_pref::AutoplayPolicy with mojom::AutoplayPolicy
https://chromium-review.googlesource.com/c/chromium/src/+/2463049
* update patches
* fix tests harder
* 2414921: Add Group and Ungroup functions to Tabs extension API
https://chromium-review.googlesource.com/c/chromium/src/+/2414921
* more test fix
* Remove all keyboard related usage of Xlib
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2436787
* fix linux build
* 2453807: [XProto] Remove usage of Xlib error handling
https://chromium-review.googlesource.com/c/chromium/src/+/2453807
* lint
* fixup! 2453807: [XProto] Remove usage of Xlib error handling
* disable CalculateNativeWinOcclusion on win ci
* remove UploadBlob from docs
* Update appveyor.yml
Co-authored-by: Andy Locascio <andy@slack-corp.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-10-15 18:30:41 -07:00
Cheng Zhao
20c6677a9c
fix: maximized frameless window bleeding to other monitors ( #25940 )
2020-10-15 14:05:44 -07:00
mzajaczkowski
1c44bb8e74
build: fix missing dependency resulting in a random build failure ( #25943 )
...
* build: fix missing dependency resulting in a random build failure
* build: pref_names.h #includes files generated by separate GN targets,
any sources that include that file have to live in a target that depends
on the target it comes from
* fixup! build: fix missing dependency resulting in a random build failure
* fixup! build: fix missing dependency resulting in a random build failure
2020-10-15 13:41:05 -07:00
Milan Burda
beaed6c434
docs: fix protocol.registerFileProtocol() usage in session.md ( #25949 )
2020-10-15 11:11:14 -07:00
Electron Bot
82424350bf
Bump v12.0.0-nightly.20201015
2020-10-15 07:33:50 -07:00
Milan Burda
09afaec9de
docs: move breaking-changes-ns.md contents to breaking-changes.md ( #25921 )
2020-10-14 10:17:07 -07:00
Matt Kane
dfbb88c5f6
fix: pass module resolution paths to wrapped function ( #25891 )
2020-10-14 10:13:45 -07:00
Electron Bot
9b43935b07
Bump v12.0.0-nightly.20201014
2020-10-14 07:33:43 -07:00
Milan Burda
2c68bad631
refactor: create IPC_MESSAGES enum for IPC message channels ( #25694 )
2020-10-14 00:11:06 +03:00
Antonio
8dfb1cf78f
docs: revised version of the quick start guide ( #25760 )
2020-10-13 13:15:40 -07:00
David Sanders
b194030a34
chore: cleanup some typos in comments ( #25770 )
2020-10-13 10:25:21 -07:00
David Sanders
183e92a5ae
docs: add troubleshooting for gclient sync issues ( #25841 )
2020-10-13 10:23:38 -07:00
Shelley Vohr
e8166db9d7
fix: uv loop polling when render process reuse enabled ( #25869 )
2020-10-13 09:19:44 -07:00
Electron Bot
d57cd09f14
Bump v12.0.0-nightly.20201013
2020-10-13 07:31:41 -07:00
Jeremy Rose
8243255316
fix: s3put not replacing enough \\ ( #25866 )
2020-10-13 11:02:25 +09:00
Samuel Attard
501900cdc6
fix: update squirrel.mac to handle bug in Big Sur ( #25864 )
...
Fixes #25626
This is not the greatest workaround but at least it works.
2020-10-13 11:01:49 +09:00
Jeremy Rose
cbe751d349
fix: NativeImage.getScaleFactors returns correct scales ( #25832 )
...
* fix: NativeImage.getScaleFactors returns correct scales
* fix tests
2020-10-13 10:59:18 +09:00
David Sanders
9cd882f1fa
docs: gclient sync --ignore_locks was removed ( #25843 )
2020-10-13 10:45:10 +09:00
Milan Burda
f827acc3be
chore: convert guest-view-manager.js to TypeScript ( #25825 )
2020-10-13 04:29:08 +03:00
Electron Bot
d78d7b3a55
Bump v12.0.0-nightly.20201012
2020-10-12 07:32:10 -07:00
Milan Burda
83bb065b4f
refactor: wrap Object.prototype.hasOwnProperty.call ( #25834 )
2020-10-10 03:45:08 +03:00
Jeremy Rose
b8f414f4da
feat: hide electron links in default help menu when packaged ( #25831 )
2020-10-09 13:42:44 -07:00
Electron Bot
2e5c005e30
Bump v12.0.0-nightly.20201009
2020-10-09 12:12:47 -07:00
Samuel Maddock
704d69a8f9
feat: add webFrameMain API to the main process ( #25464 )
2020-10-09 09:50:46 -07:00
Cheng Zhao
647df1e547
chore: update chore_expose_v8_initialization_isolate_callbacks.patch ( #25851 )
2020-10-09 09:43:52 -07:00
Michaela Laurencin
0195319b75
fix: notifications successfully never timeout with included flag ( #25820 )
...
Co-authored-by: mlaurencin <mlaurencin@microsoft.com >
2020-10-09 08:26:39 -07:00
Erick Zhao
3402fe712c
docs: update link to did-fail-load events ( #25794 )
...
* docs: update link to `did-fail-load` events
* Update docs/api/web-contents.md
Co-authored-by: Vlad Hashimoto <hashimoto.stream@gmail.com >
Co-authored-by: Vlad Hashimoto <hashimoto.stream@gmail.com >
2020-10-09 19:59:43 +09:00
David Sanders
6677c5064f
docs: fix typos ( #25808 )
2020-10-09 19:56:07 +09:00
Samuel Attard
6d5cf02abd
feat: add support for preventing the system context menu ( #25795 )
2020-10-08 15:45:05 -07:00
Shelley Vohr
042d25e926
fix: wasm code generation in the renderer ( #25777 )
2020-10-08 12:26:01 -07:00
Electron Bot
2ca2a88afc
chore: bump node to v14.13.1 (master) ( #25824 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-10-08 09:55:59 -07:00
LuoJinghua
e4213e326b
feat: add ability to close connections for a session ( #24945 )
...
These methods are needed for closing all idle and in-flight connections after
switching to another proxy from same origin for a session, otherwise
these connections may be reused for future requests which is
unexpected for most of users.
2020-10-08 09:45:36 -07:00
Milan Burda
fb11a12d5b
refactor: replace a few any-s with proper types ( #25681 )
2020-10-08 03:01:23 +02:00
Jeremy Rose
603f9242d9
build: print upload script output ( #25814 )
2020-10-07 17:13:06 -07:00
CezaryKulakowski
73adeef877
fix: window.open doesn't work correctly in child window ( #25080 )
...
If speculative render view host is deleted during naviagation to
page we try to open with call to window.open window is destroyed
right after it is created. It may happen when naviagation triggers
redirect from http to https. To void that we should emit event
current-render-view-deleted only when render view host which was
destroyed is the current webcontent's rvh.
2020-10-07 16:11:19 -07:00
Electron Bot
3e627f7700
chore: bump node to v14.13.0 (master) ( #25788 )
2020-10-07 12:07:12 -07:00
Electron Bot
9be6b1f7e0
Bump v12.0.0-nightly.20201007
2020-10-07 07:33:22 -07:00
Milan Burda
65089a69a1
test: improve app 'session-created' event spec ( #25799 )
2020-10-07 15:59:27 +02:00
Jeremy Rose
a5ca25ba65
fix: sync devtools frontend mime types with upstream ( #25780 )
...
* fix: sync devtools frontend mime types with upstream
* fix header
2020-10-06 15:59:12 -07:00
Jeremy Rose
f31a1c9e4e
fix: prevent UAF in NativeImage.getBitmap ( #25782 )
2020-10-06 15:58:40 -07:00
Shelley Vohr
0632d59da0
chore: use noop ShouldAbortOnUncaughtException cb ( #25772 )
2020-10-06 11:16:49 -07:00
Electron Bot
5be9dcad46
Bump v12.0.0-nightly.20201006
2020-10-06 07:31:08 -07:00
Milan Burda
db911f29ad
refactor: remove duplicate <webview> event list ( #25697 )
2020-10-06 15:11:26 +02:00
marcin-prochownik
8207f6901d
fix: access violation during redirects (intercepted requests) ( #25393 )
...
* fix: don't delete loader factory when request is pending
When intercepted request is pending we need to make sure that
loader factory is not deleted, especially when redirect occurs.
Otherwise, it may cause access violation.
* fix: added logic that removes requests from collection
* fix: fixed lint errors
* fix: fixed review remark
* fix: fixed review remarks
Removed intercepted_requests_ collection
and leverage pending_receivers_.
* fix: brought back removed line
2020-10-06 16:20:56 +09:00
Egor Stronhin
125c5a6e9b
docs: end listener must be placed before data listener ( #25568 )
2020-10-06 10:27:30 +09:00
Milan Burda
b33f22601e
refactor: check ELECTRON_ENABLE_LOGGING via native implementation ( #25623 )
2020-10-06 09:58:31 +09:00
marcin-prochownik
fec1c0b68b
fix: passing content-length down the stream for intercepted requests ( #25324 )
...
* fix: pass content length if avilable in headers
* fix: fixed unit test after changes
video is being played for standard scheme when
content-length is available
* fix: fixed review remakrs
added is_string check and changed stol to StringToInt64
* fix: fix test case name
* fix: fixed typo
2020-10-06 09:53:13 +09:00
Keeley Hammond
6356cd4018
fix: allow ClientRequest responses to be throttled ( #25531 )
...
* fix: allow net streams to be throttled [WIP]
* fix: handle resume throttling within IncomingMessage [WIP]
* fix: fix urlLoader typing, add throttle test
* fix: fix lint and increase test timeout for Linux
* fix: increase test chunk limit to 20 and timeout to 2000
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2020-10-06 09:47:41 +09:00
David Sanders
53ee708fe8
build: python3 compat and fix line endings on Win ( #25767 )
2020-10-06 09:40:04 +09:00
Asher Jacob
cba19f06f1
docs: added additional instructions to RUN the application ( #25743 )
...
In the existing documentation only "npm start" is given as the
instruction to run the project, however the definition of the 'start'
script is not mentioned anywhere. Hence I feel it is important for the
users to know the exact contents of the 'start' scirpt and have
accordingly updated the documentation.
2020-10-05 13:34:35 -07:00
David Sanders
ee9045c2e7
docs: trim trailing whitespace ( #25768 )
2020-10-05 13:01:40 -07:00
Cheng Zhao
57dc170e81
fix: no more need to hijack process.stdout on Win32 ( #25765 )
2020-10-05 10:10:38 -07:00
David Sanders
9717dff4fa
docs: link ProtocolRequest doc ( #25761 )
2020-10-05 11:18:18 -04:00
David Sanders
bbdca48cdb
fix: output Unix-style paths for git diffs on Win ( #25763 )
2020-10-05 10:40:40 -04:00
David Sanders
818751ff87
build: fix typos in script messages ( #25766 )
2020-10-05 10:38:50 -04:00
Erick Zhao
15d7d4b40f
docs: add Discord Server to README ( #25751 )
2020-10-05 10:36:53 -04:00
Electron Bot
30465790b5
Bump v12.0.0-nightly.20201005
2020-10-05 07:32:53 -07:00
David Sanders
c075d14920
fix: python3 compatibility ( #25762 )
2020-10-05 15:00:35 +09:00
Chris Patterson
4ccc9e4205
docs: update snapcraft tutorial background information ( #25747 )
...
- Remove outdated comment about macOS.
- Refer to Snapcraft's installation documentation for up-to-date installation instructions.
2020-10-05 15:00:23 +09:00
Cody
77e2e47504
docs: fix spelling error in updates tutorial ( #25725 )
2020-10-05 14:59:24 +09:00
Milan Burda
508b8d902b
chore: move remote module fixtures for easier deletion when removed ( #25736 )
2020-10-05 10:22:35 +09:00
Jeremy Rose
485adae94c
fix: nativeImage.crop().toBitmap() returning garbage ( #25757 )
2020-10-05 10:15:16 +09:00
Samuel Attard
a189dc779e
feat: add webContents.forcefullyCrashRenderer() to forcefully terminate a renderer process ( #25580 )
...
* feat: add webContents.forcefullyCrashRenderer() to forcefully terminate a renderer process
* chore: fix up docs and tests
2020-10-02 14:50:24 -07:00
Jeremy Rose
d64b9c20bd
build: fix mergeShasums ( #25752 )
2020-10-02 13:26:29 -07:00
Samuel Attard
ac6bf0b268
build: use https for sysroot download ( #25754 )
2020-10-02 13:25:30 -07:00
Shelley Vohr
8ac71fd349
chore: fix nmv for Electron v12 ( #25749 )
2020-10-02 12:50:56 -07:00
Milan Burda
e1a19d735e
chore: convert guest-window-manager.js to TypeScript ( #25709 )
2020-10-02 20:18:42 +02:00
Electron Bot
7e88585bfb
Bump v12.0.0-nightly.20201002
2020-10-02 07:32:53 -07:00
Milan Burda
8df4faa8f0
chore: cleanup typings/internal-electron.d.ts ( #25711 )
2020-10-02 04:52:29 +02:00
Milan Burda
17c7c5cfdd
fix: crash when application launched from UNUserNotificationCenter notification ( #25702 )
2020-10-02 04:52:07 +02:00
Milan Burda
5387b5b9b2
docs: rename launch-failure -> launch-failed to match C++ code ( #25726 )
2020-10-01 22:34:42 +02:00
Jeremy Rose
822b044068
fix: suppress worldSafe warning emitted from security checks ( #25692 )
2020-10-01 08:59:52 -07:00
Electron Bot
e2132acc5c
Bump v12.0.0-nightly.20201001
2020-10-01 07:32:02 -07:00
Samuel Attard
3142b1181b
build: move to ACR for docker image storage ( #25710 )
2020-09-30 15:25:27 -07:00
Jeremy Rose
7027217dbb
build: use aws-sdk-js instead of boto ( #25693 )
2020-09-30 13:30:10 -07:00
Robert Borg
e9876aecf9
fix: gdi printing in silent printing mode ( #25679 )
...
for windows print_text_with_gdi is set to the value of is_modifiable
but this code path is not taken for silent printing
2020-09-30 11:42:57 -07:00
John Kleinschmidt
077c37c682
ci: fixup doc only check on Windows ( #25700 )
2020-09-30 14:36:44 -04:00
John Kleinschmidt
4316c4125f
chore: force homebrew cache to update ( #25703 )
2020-09-30 13:47:25 -04:00
Charles Kerr
2b3b3fea2e
chore: fix package.json reference to atom directory ( #25682 )
2020-09-30 08:58:45 -07:00
Electron Bot
a8d542337c
Bump v12.0.0-nightly.20200930
2020-09-30 07:32:17 -07:00
Samuel Maddock
462de5f97a
chore(extensions): remove unused features json ( #25660 )
2020-09-29 20:03:35 -07:00
bitdisaster
b43859f098
feat: custom toast xml and failure reporting for notifications ( #25401 )
...
* allow custom toast xml and report failures
* docs
* tests
* don't use namespaces
* lint doesn't like trailing commas
* addressing feedback
2020-09-29 12:20:10 -07:00
Cheng Zhao
d2282ac51a
fix: submenu should be autoreleased ( #25617 )
2020-09-29 12:56:46 -04:00
Valentin Hăloiu
01dc50d829
refactor: use chromium x11 error handler ( #25611 )
2020-09-29 12:05:34 -04:00
Jeremy Rose
0e7d59dd79
feat: [net] add "credentials" option to net.request ( #25284 )
...
* feat: [net] add "credentials" option to net.request
* remove debugging log
* add tests
2020-09-29 12:03:33 -04:00
Cheng Zhao
8970c80520
docs: command line flags for GPU controls ( #25589 )
2020-09-29 11:49:09 -04:00
Shelley Vohr
99a4284174
refactor: remove unnecessary copied helper ( #25668 )
2020-09-29 11:40:31 -04:00
Electron Bot
f3c53c1f10
Bump v12.0.0-nightly.20200929
2020-09-29 07:31:26 -07:00
John Kleinschmidt
ebc7d54765
chore: add got for release script ( #25671 )
...
* chore: add got for release script
* Use same version of got we used to use
2020-09-28 21:10:28 -04:00
CezaryKulakowski
b85195ee5f
fix: ensure ready-to-show event is fired ( #25632 )
2020-09-28 13:36:45 -07:00
Jeremy Rose
ac25f4d2ff
docs: clarify example in message-channel-main ( #25625 )
2020-09-28 10:58:32 -07:00
John Kleinschmidt
fd63510ca9
feat: add serial api support ( #25237 )
...
* feat: add serial api support
resolves #22478
* Put serial port support behind a flag and mark as experimental
* Update docs/api/session.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* Use enable-blink-features=Serial instead of enable-experimental-web-platform-features
* Set enableBlinkFeatures on webPreferences instead of commandline
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-09-28 12:22:03 -04:00
Electron Bot
bed50bb73c
Bump v12.0.0-nightly.20200928
2020-09-28 07:32:56 -07:00
Shelley Vohr
69ee443c50
fix: crash in printing on Windows ( #25622 )
2020-09-27 19:00:05 -07:00
Electron Bot
4c9638e2b5
Bump v12.0.0-nightly.20200925
2020-09-25 07:31:34 -07:00
Jeremy Rose
3ceaf4aa54
docs: document process.crashReporter apis in node children ( #25579 )
2020-09-24 08:22:50 -07:00
Milan Burda
1f856c25a9
chore: improve renderer crash logging ( #25592 )
2020-09-24 08:22:17 -07:00
Electron Bot
dcd6e1f2b8
Bump v12.0.0-nightly.20200924
2020-09-24 07:32:22 -07:00
Shelley Vohr
b807cabe1b
chore: remove custom Node.js debugger ( #25587 )
2020-09-23 20:35:56 -07:00
Electron Bot
b980d1bd6b
chore: bump node in DEPS to v14.12.0 ( #25593 )
2020-09-23 19:24:34 -07:00
Joe Duncko
6fb7066904
docs: pepper flash plugin info appears at chrome://version now ( #25445 )
...
`chrome://flash` doesn't seem to exist anymore, but similar information
appears at `chrome://version`.
2020-09-23 13:25:27 -07:00
Jeremy Rose
27ea3fc069
feat: allow setting SSL config ( #25461 )
...
* feat: allow setting SSL config
* lint
* configure system network context with min TLS1.2
* fix
* note defaults
2020-09-23 16:22:10 -04:00
Charles Kerr
515e85079f
chore: fix minor script warnings ( #25575 )
2020-09-23 13:21:34 -07:00
Shelley Vohr
353c63e47a
build: fix Node.js filename generation ( #25577 )
2020-09-23 12:48:23 -07:00
Samuel Maddock
9d0d9a1664
feat(extensions): expose ExtensionRegistryObserver events in Session ( #25385 )
...
* feat(extensions): expose ExtensionRegistryObserver events in Session
Extensions can be loaded and unloaded for various reasons. In some cases this can
occur by no means of the Electron programmer, such as in the case of chrome.runtime.reload().
In order to be able to manage state about extensions outside of Electron's APIs, events
reloaded to loading and unloaded are needed.
* docs(extensions): elaborate on extension-loaded/unloaded details
* fix: remove scoped extension registry observer
* docs: update extension-unloaded
2020-09-23 15:29:08 -04:00
Jeremy Rose
881ac995da
fix: decompress devtools discovery html ( #25576 )
2020-09-23 11:47:44 -07:00
Samuel Attard
3503d3745b
fix: order menu items before filtering excess separators ( #25563 )
2020-09-23 10:39:08 -07:00
Electron Bot
a0b238a998
Bump v12.0.0-nightly.20200923
2020-09-23 07:31:26 -07:00
liulun
6aaaabd90f
docs: add more info about downloadItem.setSavePath api ( #25402 )
...
* docs: add more info about downloadItem.setSavePath api
add more info about downloadItem.setSavePath api
* Update docs/api/download-item.md
^_^
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-09-23 11:02:05 +09:00
Cheng Zhao
22c6c891be
fix: unsubscribe from observers when window is closing ( #25554 )
2020-09-23 10:53:32 +09:00
Milan Burda
29c6864ee1
docs: remove unused StreamProtocolResponse / StringProtocolResponse ( #25573 )
2020-09-23 10:48:22 +09:00
Jaroslav Maslo
4f54d71518
docs: fix incorrect dialog.showMessageBox() docs ( #25549 )
2020-09-23 10:35:00 +09:00
dmitryk
0d72bf3ed2
docs: remove deprecated options for the findInPage method. ( #25574 )
2020-09-22 11:55:56 -07:00
Shelley Vohr
6acf34fa4c
feat: add macOS fast user switching evt ( #25321 )
2020-09-22 10:12:39 -07:00
Electron Bot
f6f05c34e6
Bump v12.0.0-nightly.20200922
2020-09-22 07:32:18 -07:00
Electron Bot
d2a82dbd1d
chore: bump node to v14.11.0 (master) ( #25489 )
2020-09-22 07:11:56 -07:00
Samuel Attard
dae60e01d4
build: use newer xCode image ( #25564 )
...
* build: use newer xCode image
* build: log changed file paths
2020-09-22 02:19:00 -07:00
Cheng Zhao
c50ded2b71
feat: add BrowserWindow.isTabletMode API ( #25209 )
2020-09-22 14:40:42 +09:00
Samuel Attard
2dd7ad268b
build: add --only support to the nan test runner ( #25560 )
2020-09-21 16:37:14 -07:00
Shelley Vohr
15c30c5649
fix: check printer list when no default printers ( #25515 )
2020-09-21 13:42:27 -07:00
Michaela Laurencin
ea76788b67
refactor: remove native_browser_view web contents get function ( #25526 )
2020-09-21 10:39:58 -07:00
Electron Bot
a80c35d161
Bump v12.0.0-nightly.20200921
2020-09-21 07:32:16 -07:00
Electron Bot
69f1731bbb
chore: bump chromium to ec5bc1743792d64724693eb357083 (master) ( #24984 )
...
* chore: bump chromium in DEPS to cbdeef954dfc34e94c8ca9cf72ad326b4a121158
* chore: bump chromium in DEPS to 29723f905baeab1d4228eef2c31cdb341ebeffe0
* chore: bump chromium in DEPS to 44d6d78e852137fff58c14ed26ab1e803e5bf822
* update patches
* chore: bump chromium in DEPS to 8a3a0fccb39d6b8334c9a0496c0d5056e50cdb3f
* chore: update patches
* refactor: fix PrintBackend::CreateInstance() calls
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2354541
* chore: bump chromium in DEPS to b9ebec3bcb1cabdd1426f367636f54cc98e0500e
* chore: remove patches to code that was deleted upstream
CL: https://chromium-review.googlesource.com/c/chromium/src/+/2360314
* Remove uses of kCGColorSpaceITUR_2020_PQ_EOTF/HLG
CL: https://chromium-review.googlesource.com/c/chromium/src/+/2363950
just garden variety code shear
* chore: update patch indices
* Move ColorModel to //printing/mojom/print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2355083
sync with printing ColorModel changes: moved to mojo, different naming scheme
* chore: bump chromium in DEPS to 56c4b4d2ce5ba941acd2e0fdb5100e8a48847134
* chore: bump chromium in DEPS to 130501f220b684a79dc82c17e236e63ac1f2a093
* Convert PrintHostMsg_DidGetPrintedPagesCount to Mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2326857
Update argument list to Print()
* chore: update patch indices
* DumpAccTree: convert utf16 to utf8 in PropertyFilter
https://chromium-review.googlesource.com/c/chromium/src/+/2360218
* chore: bump chromium in DEPS to 3058368c6646e0dc8be6f8ea838b0343428b7998
* chore: bump chromium in DEPS to f51b4e6555364363c61438dac7afd988c8347bfc
* chore: bump chromium in DEPS to 2dcc6f8fc23ac41b2499eb69dee0b4017e9d1046
* update patches
* chore: bump chromium in DEPS to 2d8e98ecedc7e4905540b053bc1c87e964715be5
* update patches
* 2345900: Move content::RecordContentToVisibleTimeRequest struct to mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2345900
* update patches
* 2345900: Move content::RecordContentToVisibleTimeRequest struct to mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2345900
* 2367394: Remove net::LOAD_DO_NOT_SEND_COOKIES and net::LOAD_DO_NOT_SEND_AUTH_DATA.
https://chromium-review.googlesource.com/c/chromium/src/+/2367394
* 2373227: [XProto] Consolidate all <X11/*> includes to //ui/gfx/x/x11.h
https://chromium-review.googlesource.com/c/chromium/src/+/2373227
* fixup! 2373227: [XProto] Consolidate all <X11/*> includes to //ui/gfx/x/x11.h
* chore: bump chromium in DEPS to c090e3f960520cbd2328608b97f87238c76d6143
* update patches
* chore: bump chromium in DEPS to 13a25e0a755de9a14271022c595f3d2e29829e1a
* chore: bump chromium in DEPS to 6adbb767b012c41efaeab0d1bdbb3eefed0977bc
* chore: bump chromium in DEPS to 339ec5455c5932ef1322ea9953a6349b0732199e
* chore: bump chromium in DEPS to 20291807c33f7ef4ef4f57d62075e099b027bfe6
* chore: bump chromium in DEPS to 226fbd1b8b17d4ac84fdb9548ef3a1c646878d47
* update patches
* fixup disable_color_correct_rendering patch
* chore: bump chromium in DEPS to 577c45979cad4359f2e206d68efd9317d3d79315
* update patches
* viz: Rename RenderPass to CompositorRenderPass (and related types).
https://chromium-review.googlesource.com/c/chromium/src/+/2380730
* chore: bump chromium in DEPS to 37e2ad5303f2c03a1b5d8eda65341bf2561196cd
* update patches
* add kOmitCookies_Electron
* update patch
* chore: bump chromium in DEPS to 256e42409ea63a7e71016de07818a983a97db463
* update patches
* fix worker script ready hook
https://chromium-review.googlesource.com/c/chromium/src/+/2335713
* Fixup printing page ranges patch
* [printing] Move PrintMsg_PrintPages_Params to print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2340854
* Add MIME sniffer overloads that take base::StringPieces
https://chromium-review.googlesource.com/c/chromium/src/+/2382896
* [printing] Move PrintHostMsg_PreviewIds to print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2379455
* fixup test due to new DCHECK
https://chromium-review.googlesource.com/c/chromium/src/+/2333750
* stop sending cookies when useSessionCookies is false
* chore: bump chromium in DEPS to dd429dbc556449951ee8160d8a4d61fd95a139d5
* update patches
* chore: bump chromium in DEPS to 5202bde3f9f44c2065f5dacf27e7000dd19e4e4d
* chore: bump chromium in DEPS to 099e8e07b89da65932431bb0fd51b6f7f5344c19
* chore: bump chromium in DEPS to 104e5da2a43b759732d5b94bfc750b3a9a639653
* chore: bump chromium in DEPS to a4519ce657af25834e355315fd7fefa77b13426a
* update patches
* Make FileURLLoaderFactory always owned by its |receivers_|.
https://chromium-review.googlesource.com/c/chromium/src/+/2337411
* Make FileURLLoaderFactory always owned by its |receivers_|.
https://chromium-review.googlesource.com/c/chromium/src/+/2337411
* chore: bump chromium in DEPS to 1b62e9e8c8eaf6b8e3a9c77ee67a4c1bfa6a4d6b
* chore: update patches
* fixup! Make FileURLLoaderFactory always owned by its |receivers_|.
* chore: update patches
- mac: Disable CoreServices _CSCheckFix.
https://chromium-review.googlesource.com/c/chromium/src/+/2401334
- [XProto] Remove bad DCHECK in x11_error_tracker.cc
https://chromium-review.googlesource.com/c/chromium/src/+/2402304
- Move content/browser/frame_host/* over to content/browser/renderer_host/
https://chromium-review.googlesource.com/c/chromium/src/+/2401303
* Refactor WebContentSettingsClient to dedupe AllowXYZ methods
https://chromium-review.googlesource.com/c/chromium/src/+/2353552
* Introduce NonNetworkURLLoaderFactoryBase class.
https://chromium-review.googlesource.com/c/chromium/src/+/2357559
* [XProto] Remove usage of all Xlib headers
https://chromium-review.googlesource.com/c/chromium/src/+/2392140
* fixup! chore: update patches
* chore: bump chromium in DEPS to c1df55fbeb8207d036a604f59e4ea4e8ee79930a
* chore: update patches
* Move content::WebPreferences struct to Blink
https://chromium-review.googlesource.com/c/chromium/src/+/2397670
* chore: bump chromium in DEPS to 57a23ec4884fff6c2f8d9b8536131cdc9b551ec2
* Set appid on Pip windows.
https://chromium-review.googlesource.com/c/chromium/src/+/2388274
* fixup! Set appid on Pip windows.
* fix: add a patch to remove deprecated factory
* chore: bump chromium in DEPS to 1a9ddb7ea43955877823d5c4dcbf241b64228635
* fix compilation on windows
* chore: bump chromium in DEPS to 234e6c6a77f61ffad9335099d9b13892cf88fd44
* chore: update patches
* chore: bump chromium in DEPS to 7631eb0a9f57a8a47d3c28e1d265961b3a4d6b2b
* chore: update patches
* chore: bump chromium in DEPS to f9c34cd485845b95c2d17a7f55fdf92cda9a1b3a
* chore: update patches
* chore: implement GetSurveyAPIKey
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2362182
* chore: replace CreateWebUIURLLoader with CreateWebUIURLLoaderFactory
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2358309
* chore: bump chromium in DEPS to 5bdbd2373da884adf41c087be1465fcc344d168c
* chore: update node patches for common.gypi
* chore: update patches
* chore: non_network_url_loader_factory_base was moved
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2357431
* 2415752: Reland "Reland "OOR-CORS: Remove BlinkCORS supporting code outside Blink""
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2415752
* chore: bump chromium in DEPS to b943d006a33ec5bc1743792d64724693eb357083
* fix: replace x11::None with x11::Window::None
* chore: update patches
* chore: update patches
* fix: cast x11::Window to int
* 2402123: Use end date when deleting http auth cache
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2402123
* 2320268: Migrate DragHostMsg_StartDragging to Mojo
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2320268
* 2401303: Move content/browser/frame_host/* over to content/browser/renderer_host/
https://chromium-review.googlesource.com/c/chromium/src/+/2401303
* chore: fix lint
* chore: fix build
* Update config.yml
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2020-09-21 01:00:36 -07:00
Milan Burda
e50d6e47c4
fix: NOTREACHED in content::ChildProcessHost::GetChildPath when enable_plugins=false ( #25525 )
2020-09-20 19:08:15 -07:00
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
Jeremy Rose
d305fe7d30
docs: breaking changes for moveItemToTrash ( #25286 )
2020-09-03 12:44:16 -07:00
Jeremy Rose
4dc09ea9dc
feat: [crashReporter] enable compression by default ( #25288 )
2020-09-03 12:43:58 -07:00
Charles Kerr
4484e95fc8
chore: graceful handling of notes with sub-lists ( #25279 )
...
* chore: graceful handling of notes with sub-lists
Handle multine release notes that contain their own bullet points.
Also, if a release note begins with a bullet point, remove it because it
will confuse the markdown parser to have two bullet points.
2020-09-03 14:42:48 -05:00
Robo
03e60cce8b
fix: avoid creating client_id file for empty DIR_CRASH_DUMPS ( #25296 )
2020-09-03 11:52:43 -07:00
Electron Bot
733d56e908
Bump v12.0.0-nightly.20200903
2020-09-03 07:32:01 -07:00
Cheng Zhao
43485b8705
fix: multiple dock icons when calling dock.show/hide ( #25269 )
...
* fix: mulitple dock icons when calling dock.show/hide
* test: run dock.show tests after dock.hide tests
2020-09-03 20:46:24 +09:00
Jeremy Rose
bda6378685
chore: remove "no breaking changes" warning in PR template ( #25285 )
2020-09-02 11:56:10 -07:00
Jeremy Rose
1b6534b326
feat: add shell.trashItem() to replace shell.moveItemToTrash() ( #25114 )
2020-09-02 10:32:33 -07:00
Shelley Vohr
e9e7eee25e
fix: provide asynchronous cleanup hooks in n-api ( #25135 )
2020-09-02 10:22:05 -07:00
Electron Bot
7e698df8f3
Bump v12.0.0-nightly.20200902
2020-09-02 07:32:22 -07:00
morgan-sam
e0611d0946
docs: setZoomLevel chromium zoom policy ( #25105 )
2020-09-02 10:06:58 +09:00
Samuel Attard
184e72fafd
revert: "fix: reply notifs sometimes destroyed too early" ( #25247 )
...
* Revert "fix: reply notifs sometimes destroyed too early (#25086 )"
This reverts commit bea6c9e4e1 .
* nothing
2020-09-02 10:02:47 +09:00
Eryk Rakowski
3745b76da8
feat(extensions): add support for some chrome.management APIs ( #25098 )
...
* 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-02 09:59:56 +09:00
Jeremy Rose
bf7dbff858
docs: note remote deprecation in docs/api/remote ( #24941 )
2020-08-31 11:27:00 -07:00
John Kleinschmidt
7c10f86c6e
ci: cleanup up test app directories ( #25145 )
...
* ci: cleanup up test app directories
* ci: use electron prefix for a testing apps so that the can be cleaned up
* Revert "ci: cleanup up test app directories"
This reverts commit a47daba812 .
* fixup test due to app name change
2020-08-31 14:07:12 -04:00
Electron Bot
9803e4d526
Bump v12.0.0-nightly.20200831
2020-08-31 07:32:25 -07:00
Robo
068b464e13
fix: client area inset calculation when maximized for framless windows ( #25052 )
...
* adopt per monitor scale factor
* fix: client area inset calculation when maximized
* address review feedback
* pass correct glass insets to GetDwmFrameInsetsInPixels
* remove unused code
* Windows 8 and 10 use the same DWM frame calculation
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-08-31 16:55:50 +09:00
Milan Burda
a09694ae85
chore: replace CRLF with LF ( #25161 )
...
* chore: replace CRLF with LF
* chore: replace CRLF with LF in docs and tests
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-08-31 16:52:11 +09:00
Cheng Zhao
e06a1c2746
docs: fix supported platforms of powerMonitor ( #25149 )
2020-08-31 16:46:10 +09:00
Shelley Vohr
c5320b3951
fix: save dialog extensions should be deterministic ( #25164 )
2020-08-28 09:40:47 -07:00
Electron Bot
6cc960f214
Bump v12.0.0-nightly.20200828
2020-08-28 07:32:29 -07:00
Shelley Vohr
a4b6fce907
fix: honor pageRanges when printing ( #25064 )
2020-08-27 20:21:29 -07:00
Cheng Zhao
8f727b3569
fix: do not reset process_id in URLLoaderFactoryParams ( #25139 )
2020-08-28 10:43:08 +09:00
Shelley Vohr
95073decd3
chore: remove bv before setting owner window ( #25172 )
2020-08-27 16:24:52 -07:00
Shelley Vohr
e8ef1ef252
chore: wrap add/remove view in extra check ( #25166 )
2020-08-27 13:04:06 -07:00
Samuel Attard
075502477e
chore: we do not use the nightly tag on npm ( #25147 )
2020-08-27 12:11:27 -07:00
Milan Burda
97755bbd85
fix: resolve RegisterSuspendResumeNotification dynamically ( #25162 )
2020-08-27 11:20:15 -07:00
Markus Olsson
bab69ae4d2
fix: make shell.moveItemToTrash return false on Windows when move unsuccessful ( #25124 )
2020-08-27 09:55:33 -07:00
Electron Bot
443540fd13
Bump v12.0.0-nightly.20200827
2020-08-27 07:31:51 -07:00
Cheng Zhao
5e1950ceff
chore: force source code and markdown files to use LF line ending ( #25134 )
2020-08-27 10:25:39 +09:00
Jeremy Rose
2c9e79c8d5
test: add tests for shell.moveItemToTrash ( #25113 )
2020-08-26 09:34:29 -07:00
Electron Bot
fdb36eb5b5
Bump v11.0.0-nightly.20200826
2020-08-26 07:32:46 -07:00
Shelley Vohr
be8db589eb
fix: mitigate use of private macOS font API ( #25117 )
2020-08-25 21:13:42 -07:00
Shelley Vohr
c8a0b2b71d
fix: prevent crash if BrowserView webContents was destroyed ( #25112 )
2020-08-25 20:04:13 -07:00
leonllrmc
c97f8109c2
chore: update import for use new ECMA features ( #24987 )
2020-08-25 09:23:44 -07:00
Electron Bot
d5ab63b1ea
Bump v11.0.0-nightly.20200825
2020-08-25 07:31:28 -07:00
Keeley Hammond
7704954505
docs: add restricted header info to ClientRequest docs ( #25075 )
...
* docs: add restricted header info to docs
* docs: clarify header language
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2020-08-25 20:29:58 +09:00
Jeremy Rose
35237d3c30
fix: [linux] open directories with dbus FileManager ( #25087 )
2020-08-24 13:54:50 -07:00
Cheng Zhao
cd3fadc2fb
fix: save normal window bounds when maximizing ( #25051 )
...
* fix: save normal window bounds when maximizing
* fix: prevent maximize being emitted twice
2020-08-24 13:32:08 -07:00
Cheng Zhao
5ed3460751
fix: register for connected standby changes ( #25076 )
2020-08-24 13:09:36 -07:00
Samuel Attard
8baa9deccd
build: update to typescript 4 ( #25091 )
2020-08-24 11:23:25 -07:00
Shelley Vohr
0efcaec4d6
fix: global shortcut media keys working with accessibility ( #24145 )
...
* fix: global shortcut media keys
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-08-24 10:41:06 -07:00
John Kleinschmidt
d8fe7af703
ci: fix WOA failing tests ( #25018 )
...
* tests: fix failing WOA tests
tests: fix startDrag for WOA
tests: fix early-in-memory-session-create crash test on WOA
ci: cleanup user app data directories on WOA
* tests: disable nativeImage.createFromBuffer tests on WOA
* disable failing nativeImage.createFromPath on WOA
* disable another nativeImage test for WOA
2020-08-24 12:58:55 -04:00
George Xu
beaf60de0a
feat: add nativeImage.createThumbnailFromPath API ( #24802 )
...
* initial commit, mac implementation
* add documentation
* convert createThumbnailFromPath to async function
* windows impl protoype
* add tests
* added test
* fix
* fix test
* clean up
* update docs
* cleaning up code
* fix test
* retrigger CI
* retrigger CI
* 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
* thanks sam
2020-08-24 09:36:13 -07:00
Sofia Nguy
b403e64ef2
docs: update currently supported versions for 10.0.0 release ( #25027 )
2020-08-24 11:21:41 -05:00
Sofia Nguy
59670e8d8c
docs: update 11.0 stable release date ( #25073 )
2020-08-24 11:21:17 -05:00
Shelley Vohr
024ea32313
feat: make window visual effect state customizable ( #25083 )
2020-08-24 11:44:48 -04:00
Electron Bot
c0440a35f2
Bump v11.0.0-nightly.20200824
2020-08-24 07:32:16 -07:00
Shelley Vohr
bea6c9e4e1
fix: reply notifs sometimes destroyed too early ( #25086 )
...
* fix: reply notifs sometimes destroyed too early
* Fix windows build
2020-08-23 21:27:46 -07:00
Alfred Xing
a23c66e4e1
feat: allow monospaced font styles to be specified for macOS tray titles ( #25059 )
...
* feat: add optional font type to macOS tray title
* test: add tests for tray font type
* docs: update API reference for Tray setTitle
* review: change API to use an options object
* review: fix string enum in docs
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* review: return after throwing errors
* review: don't need thrower anymore now that we have args
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-08-23 14:39:29 -07:00
Electron Bot
13751c815e
Bump v11.0.0-nightly.20200822
2020-08-22 16:45:58 -07:00
Samuel Attard
1646f938f3
Revert "refactor: use aws-sdk-js instead of boto ( #24863 )"
...
This reverts commit a3581aa992 .
2020-08-22 16:42:45 -07:00
Samuel Attard
cd4c4e9f04
Revert "Bump v11.0.0-nightly.20200822"
...
This reverts commit bda5ec519b .
2020-08-22 16:42:41 -07:00
Electron Bot
bda5ec519b
Bump v11.0.0-nightly.20200822
2020-08-22 11:29:05 -07:00
Samuel Attard
3f4c867599
build: remove mksnapshot token file
2020-08-22 02:23:14 -07:00
Samuel Attard
3e2d959817
build: fix electron_mksnapshot_zip_done check
2020-08-22 01:17:43 -07:00
Electron Bot
02f5ffbaac
Bump v11.0.0-nightly.20200821
2020-08-21 20:34:09 -07:00
Samuel Attard
e2a5908665
Revert "Bump v11.0.0-nightly.20200821"
...
This reverts commit 1709fed85e
2020-08-21 20:32:22 -07:00
Samuel Attard
5df6c5ecce
build: more space on arm64 builds, running out of ideas here ( #25043 )
...
* build: more space on arm64 builds, running out of ideas here
* build: well this is kinda nuts but off we go
* chore: rollback thingy
* chore: build snapshot for realz
* chore: do not delete hunspell
* build: use the new magic extra-disk-space circle image
* build: remove existing file, it is not a tree
2020-08-21 20:30:04 -07:00
Samuel Attard
b1e2185c5e
refactor: wire will-navigate up to a navigation throttle instead of OpenURL ( #25065 )
...
* refactor: wire will-navigate up to a navigation throttle instead of OpenURL
* spec: add test for x-site _top navigation
2020-08-21 12:34:09 -07:00
shur
a17e97c3b2
feat: expose currencyCode on Product struct in IAP module ( #25058 )
...
Co-authored-by: Shur Singh <ssingh@evernote.com >
2020-08-21 10:41:40 -07:00
Jeremy Rose
5d3301769b
feat: record v8 cpu samples in the main process ( #24819 )
2020-08-21 09:25:30 -07:00
Electron Bot
1709fed85e
Bump v11.0.0-nightly.20200821
2020-08-21 07:31:43 -07:00
Samuel Attard
26f28b6ae4
fix: add handling for non-absolute extension paths ( #25068 )
2020-08-20 20:47:10 -07:00
Charlie Hess
42409d860b
fix: Resolve bookmarks without mounting network drives ( #24708 )
2020-08-20 15:01:08 -07:00
Charles Kerr
d9a1c453ab
fix: revert 6ecf729 to fix Linux titlebar dark mode ( #25055 )
...
Fixes #24741
2020-08-20 16:53:06 -04:00
Electron Bot
2d502b8ac6
Bump v11.0.0-nightly.20200820
2020-08-20 07:31:57 -07:00
Shelley Vohr
9631eafa1f
fix: DCHECK on print job cancellation ( #25031 )
2020-08-20 15:28:24 +09:00
Shelley Vohr
53668445ba
feat: reinvigorate visibleOnFullscreen option ( #24956 )
2020-08-19 13:31:25 -07:00
Cheng Zhao
52d7afa4ef
fix: calculate frame when setting window placement ( #25014 )
2020-08-19 12:34:15 -07:00
Jeremy Rose
9021843850
fix: enable TLS renegotiation in node ( #25022 )
2020-08-19 11:18:16 -07:00
Electron Bot
3313e00578
Bump v11.0.0-nightly.20200819
2020-08-19 07:32:52 -07:00
Eryk Rakowski
9e53112ee1
fix(extensions): enable WebSQL in background pages ( #24798 )
...
* fix(extensions): enable WebSQL in background pages
* fix: apply suggestions
* fix: remove duplicate include
* fix: remove trailing spaces
2020-08-19 09:41:47 +09:00
Shelley Vohr
ff24caf798
test: use custom partition for sw tests ( #24999 )
2020-08-18 09:31:24 -07:00
Electron Bot
a1eceee48f
Bump v11.0.0-nightly.20200818
2020-08-18 07:32:07 -07:00
GitHubPang
5c5e006e46
docs: fix typos ( #24982 )
...
* docs: sync table of content from pull-requests.md to CONTRIBUTING.md
This also fixes some incorrect / dead links.
* docs: fix a bunch of typos
2020-08-18 16:55:16 +09:00
Vlad Hashimoto
b55e8dc578
docs: update default value for enableRemoteModule in BrowserWindow ( #24955 )
2020-08-18 16:54:47 +09:00
Samuel Attard
29d9c02ab9
build: increase available space on mac arm64 vm ( #25008 )
2020-08-17 22:06:59 -07:00
Tierney Cyren
303fcc69be
fix(docs): update outdated ref to NSP ( #24925 )
...
removes an outdated reference to Node Security Project, which was acquired by npm some time ago. The new workflow for the same process (now the npm advisories page) has been added.
2020-08-17 19:29:45 -07:00
Samuel Attard
ab6769d7f8
build: upload windows breakpad symbols ( #25000 )
2020-08-17 14:52:08 -07:00
Jeremy Rose
bac2f46ba9
fix: browser contexts live forever ( #24964 )
2020-08-17 13:21:53 -07:00
Shelley Vohr
befbbc27d8
fix: pdf download not working ( #24946 )
2020-08-17 08:25:20 -07:00
Electron Bot
db13dcb8d2
Bump v11.0.0-nightly.20200817
2020-08-17 07:31:30 -07:00
Electron Bot
53033a66b1
chore: bump chromium to 7d4ac110045b7647fa8a81f5f0709 (master) ( #24970 )
...
* chore: bump chromium in DEPS to 760c905ccca34d8ed83c54f6a42c42a375792a6b
* chore: update patches
- Introduce WebContentsObserverList to encapsulate common behaviour
https://chromium-review.googlesource.com/c/chromium/src/+/2343269
- DumpAccTree mac testing: refactor tree formatter logic to make it
suitable for nested attribute calls
https://chromium-review.googlesource.com/c/chromium/src/+/2274545
- Fix FontPlatformDataMacTest.VariableOpticalSizingThreshold for Big Sur
https://chromium-review.googlesource.com/c/chromium/src/+/2351299
* chore: bump chromium in DEPS to b04584161e07d4ac110045b7647fa8a81f5f0709
* chore: update patches
* [printing] Move printing::MarginType to //printing/mojom/print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2341222
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-08-14 18:51:28 -07:00
Electron Bot
4ef827c13c
Bump v11.0.0-nightly.20200814
2020-08-14 07:31:18 -07:00
Jeremy Rose
a3581aa992
refactor: use aws-sdk-js instead of boto ( #24863 )
...
* refactor: use js instead of boto for s3put
* replace merge-electron-checksums.py with js, remove boto
* fix auth
* actually pass the env to execute()
2020-08-13 13:25:40 -04:00
Electron Bot
627467d08a
Bump v11.0.0-nightly.20200813
2020-08-13 07:31:18 -07:00
Tierney Cyren
8f30333322
docs: add Notification section to SECURITY.md ( #24926 )
...
adds a new section pointing to a relevant doc in Governance that defines how we notify end-users of security issues.
2020-08-12 17:31:29 -07:00
Electron Bot
8798571a77
chore: bump chromium to 0e4ca9c0a63d7a39bd910997ad4c6 (master) ( #24687 )
...
* chore: bump chromium in DEPS to 1f1c4d91f6eaa4a033ec8f499d63a0717f79a42a
* viz: Do not apply white level scaling for RGBA fp16 HDR video
https://chromium-review.googlesource.com/c/chromium/src/+/2296006
* Move WebPreferences to WebContents
https://chromium-review.googlesource.com/c/chromium/src/+/2263635
* Fix missing WeakPtr check in PreconnectManager
https://chromium-review.googlesource.com/c/chromium/src/+/2309029
* Fixup swiftshader roll revision
* Update patch indices
* Move WebDeviceEmulationParams into common.
https://chromium-review.googlesource.com/c/chromium/src/+/2303356
* Move EnableDisableDeviceEmulation to blink mojom messages
https://chromium-review.googlesource.com/c/chromium/src/+/2303367
* PDF Viewer: Remove flag for two-up view
https://chromium-review.googlesource.com/c/chromium/src/+/2311130
* Add mojom definition for DeviceEmulationParams.
https://chromium-review.googlesource.com/c/chromium/src/+/2303491
* Remove ServiceWorkerContextWatcher from PaymentAppInstaller
https://chromium-review.googlesource.com/c/chromium/src/+/2291186
* Loader: Move transferrable_url_loader.mojom into blink's mojom directory
https://chromium-review.googlesource.com/c/chromium/src/+/2306123
* chore: bump chromium in DEPS to 4974f436479739025a90ebc2cc2e36d67ee1ac46
* mac: Work around Xcode 12b3 SDK bug
https://chromium-review.googlesource.com/c/chromium/src/+/2315078
* Reland Update core items for macOS Big Sur.
https://chromium-review.googlesource.com/c/chromium/src/+/2315162
* Update Swiftshader revision
* mac/arm64: When cross-building the snapshot, use page size of the target ISA instead of the host.
https://chromium-review.googlesource.com/c/v8/v8/+/2310575
* Update patch indices
* Rename {,Non}ClientView::CanClose() to OnWindowCloseRequested()
https://chromium-review.googlesource.com/c/chromium/src/+/2247838
* chore: bump chromium in DEPS to e9465d70d1dea539400f0fddad43358ea3c31d71
* chore: bump chromium in DEPS to bd5b71c5f20288eb26068a39ae6e0579566a51c5
* chore: bump chromium in DEPS to 786ee543048bd07d07c5ac50b7dbbdd6bdd8dcce
* chore: bump chromium in DEPS to 34eb6ecbf2c5894b648900bf771a2a29de204798
* chore: bump chromium in DEPS to 567ff038d68e3adb8116a01eec863cdf34d775f5
* chore: bump chromium in DEPS to 340b45c8d4ceb2dd61969fc34e1928d3c46db48c
* chore: update patches
* chore: base::DeleteFile with two params is removed
Should use base::DeleteFile and base::DeletePathRecursively when
appropriate
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2313376
* chore: add patch for NodePlatform::PostJob impl
* chore: update patches
* chore: extension file access is now instrumented
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2209995
* chore: implement SetWindowFrameInScreen in OSR RWHV
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2321409
* chore: NotifyUserActivation requires a type now
This is just for a histogram thing and therefore it does not matter what
we pass in
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2281303
* chore: update patches
* chore: bump chromium in DEPS to cd570e6dd3dcb84463ac252b04e92ceb02d8400c
* chore: update patches
* chore: bump chromium in DEPS to 0187908a31866992b90c59719ac1d016328f6ee0
* chore: bump chromium in DEPS to 3c9df38c508f3dba26a75248beed4882ddfb98e9
* chore: bump chromium in DEPS to 1a47d3b9cee710bd3c958c4f2d8b205710df9d50
* chore: bump chromium in DEPS to baac93040d96abdab72d46dd034c60f86e108702
* chore: bump chromium in DEPS to 13836145f97299e636491de38064b78861c4fb2e
* update patches
* change OS_MACOSX -> OS_MAC
Refs: https://bugs.chromium.org/p/chromium/issues/detail?id=1105907
* patch: add header for ToExecutionContext in WebMessagePortConverter
* chore: bump chromium in DEPS to 91ab9b6ac5d04dc034a03ad847fbfa8261328c2b
* update patches
* NeedToFireBeforeUnloadOrUnload -> NeedToFireBeforeUnloadOrUnloadEvents
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2288711
* chore: bump chromium in DEPS to 290deb11f0e30cb1382fd8f8793d340560283c23
* update patches
* add dragdrop header for autofill popup
* int -> x11::Time
* patch out accessibility private API use
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2330812
* remove usage of XEvent
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2317767
* trigger recalculation of WebPreferences before renderer initialization
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2263635
* chore: bump chromium in DEPS to 6bdb484583b99c96ef3388d0c2184326581b2d5a
* chore: bump chromium in DEPS to 1eb2a79cde04fd5c8ae51b4d813e6521635269e5
* chore: bump chromium in DEPS to 3dc8e3c0f400e4ca9c0a63d7a39bd910997ad4c6
* chore: update patches
* fixup! trigger recalculation of WebPreferences before renderer initialization
* views: Make MenuButton and RadioButton default constructible
https://chromium-review.googlesource.com/c/chromium/src/+/2339586
* chore: fix code style
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
Co-authored-by: Andy Locascio <andy@slack-corp.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-08-12 11:33:58 -07:00
Electron Bot
3d2afa45c3
Bump v11.0.0-nightly.20200812
2020-08-12 07:32:30 -07:00
Electron Bot
4080b04911
Bump v11.0.0-nightly.20200811
2020-08-11 07:37:50 -07:00
Electron Bot
b09c828dd3
Revert "Bump v11.0.0-nightly.20200811"
...
This reverts commit f3363bde26 .
2020-08-11 07:36:50 -07:00
Electron Bot
f3363bde26
Bump v11.0.0-nightly.20200811
2020-08-11 07:36:24 -07:00
Electron Bot
f136bf406f
Revert "Bump v11.0.0-nightly.20200811"
...
This reverts commit 77ee3da77c .
2020-08-11 07:35:30 -07:00
Electron Bot
77ee3da77c
Bump v11.0.0-nightly.20200811
2020-08-11 07:34:51 -07:00
GitHubPang
47f88b65b7
docs: fix typo in api/ipc-renderer ( #24901 )
2020-08-11 07:31:38 -07:00
Olawanle Joel
d7909b507f
docs: fixed minor typos ( #24912 )
...
I was going through the entire documentation and decided to fix this to the best of my knowledge.
2020-08-11 07:30:45 -07:00
Teo Koon Peng
14aba3f0de
fix: export libuv symbols ( #24659 )
...
* fix: export libuv symbols
* add test for linux and windows
* mac linker flags
* assuming same foo.so path for macos
* use --whole-archive flag for mac as well
* use force_load for mac
* refactor: use napi c api directly
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-08-11 19:17:18 +09:00
Shelley Vohr
7ded768743
fix: pdf viewer template strings ( #24913 )
2020-08-10 22:46:58 -07:00
Samuel Attard
47d451ae52
fix: ts-node node is not a thing
2020-08-10 20:25:29 -07:00
Charles Kerr
7e84d3a2c1
build: in release notes script, do not assume electron dirname ( #24927 )
2020-08-10 16:56:54 -07:00
Samuel Attard
29a7b8f805
fix: add deps on the new devtools highlighter ( #24921 )
2020-08-10 16:54:05 -07:00
Shelley Vohr
16c32d2eb2
build: handle unhandled promise rejection in notes ( #24923 )
...
Handle any potential Git processes without throwing unhandled rejection errors.
2020-08-10 10:18:08 -07:00
Samuel Attard
047650b564
chore: update patches ( #24919 )
2020-08-10 08:23:21 -07:00
Shelley Vohr
8311078a96
fix: don't try to init mmap on missing asar ( #24890 )
2020-08-10 08:22:49 -07:00
Electron Bot
a9eaebb7f4
Bump v11.0.0-nightly.20200810
2020-08-10 07:32:34 -07:00
Samuel Attard
01c9113e2b
build: fix path to git attributes for for patch export ( #24896 )
2020-08-10 07:10:15 -07:00
Jeremy Rose
481b19bee6
fix: send guid with linux crashes ( #24881 )
2020-08-07 15:30:49 -07:00
Samuel Attard
433956ce4f
build: remove the tools folder ( #24880 )
2020-08-07 14:13:09 -07:00
Samuel Attard
b0ea1e14e1
build: type check the script folder during lint ( #24892 )
2020-08-07 13:49:07 -07:00
Samuel Attard
4d50f3f62c
build: convert some scripts to TS ( #24891 )
2020-08-07 13:48:46 -07:00
Electron Bot
2028492356
Bump v11.0.0-nightly.20200807
2020-08-07 12:02:05 -07:00
Samuel Attard
3fa250d6da
Revert "Bump v11.0.0-nightly.20200807"
...
This reverts commit cbdfeb1979 .
2020-08-07 12:00:29 -07:00
Samuel Attard
854b74809a
build: upload the file stream not a JSON blob for the read stream ( #24889 )
2020-08-07 12:00:12 -07:00
Electron Bot
cbdfeb1979
Bump v11.0.0-nightly.20200807
2020-08-07 07:32:05 -07:00
Cheng Zhao
2224d94c75
fix: add handle scope in SelectClientCertificate ( #24868 )
2020-08-06 20:50:41 -07:00
Electron Bot
b6f8cd39e5
Bump v11.0.0-nightly.20200806
2020-08-06 14:58:30 -07:00
Electron Bot
075a7adcc0
Revert "Bump v11.0.0-nightly.20200806"
...
This reverts commit 14256ee697 .
2020-08-06 14:57:37 -07:00
Electron Bot
14256ee697
Bump v11.0.0-nightly.20200806
2020-08-06 13:20:37 -07:00
Samuel Attard
aaa971ff19
Revert "Bump v11.0.0-nightly.20200806"
...
This reverts commit 5bf423b646 .
2020-08-06 13:15:48 -07:00
Electron Bot
5bf423b646
Bump v11.0.0-nightly.20200806
2020-08-06 10:40:35 -07:00
Samuel Attard
4f4c383ec5
build: only do the lower case symbol copy on case sensitive file systems ( #24876 )
2020-08-06 10:39:24 -07:00
Samuel Attard
5ed8afbdb6
Revert "Bump v11.0.0-nightly.20200806"
...
This reverts commit 4523c90dcd .
2020-08-06 10:36:41 -07:00
Cheng Zhao
5f447e4b4f
fix: do not render inactive titlebar as active on Windows ( #24847 )
2020-08-06 09:05:23 -07:00
Electron Bot
4523c90dcd
Bump v11.0.0-nightly.20200806
2020-08-06 07:31:55 -07:00
Shelley Vohr
6cb23e1d36
fix: use non-symbols in isURLInstance check ( #24831 )
2020-08-05 15:05:36 -07:00
Samuel Attard
a2c82f2342
build: ensure symbol files are named lowercase on disk so that boto can find them ( #24856 )
2020-08-05 14:03:50 -07:00
Shelley Vohr
9274117e12
build: quash octokit deprecation warning ( #24790 )
2020-08-05 11:59:52 -04:00
Electron Bot
99874fd71f
Bump v11.0.0-nightly.20200805
2020-08-05 07:31:04 -07:00
Shelley Vohr
06c47c650a
fix: duplicate suspend/resume events ( #24818 )
2020-08-04 20:08:45 -07:00
Jeremy Rose
30cd9cdf2a
docs: remove reference to remote from faq ( #24816 )
2020-08-04 12:08:44 -07:00
Jeremy Rose
9c234f3f3f
docs: remove references to 'remote' from app-arch tutorial ( #24815 )
2020-08-04 12:08:35 -07:00
Jeremy Rose
01a2e23194
refactor: mmap asar files ( #24470 )
2020-08-04 11:48:04 -07:00
Electron Bot
15ee34a1f2
Bump v11.0.0-nightly.20200804
2020-08-04 07:32:55 -07:00
Eryk Rakowski
f53aac97f5
fix(extensions): bypass cors in requests made from background pages ( #24483 )
2020-08-03 16:56:18 -07:00
Jeremy Rose
1350dc46ed
refactor: ginify Archive ( #24799 )
2020-08-03 14:26:27 -07:00
Shelley Vohr
6fd302f745
chore: remove overwritten Node.js patch ( #24775 )
...
* chore: remove overwritten Node.js patch
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-08-03 08:49:31 -07:00
Electron Bot
e5c721eafc
Bump v11.0.0-nightly.20200803
2020-08-03 07:32:11 -07:00
Electron Bot
a342ab7ce7
Bump v11.0.0-nightly.20200731
2020-07-31 07:31:51 -07:00
Samuel Attard
c3258d6c4e
fix: provide AXTextChangeValueStartMarker for macOS a11y value change notifications ( #24801 )
2020-07-30 21:01:26 -07:00
Jeremy Rose
b5cd9ce0b3
refactor: ginify WebContents ( #24651 )
2020-07-30 09:17:57 -07:00
Electron Bot
e7fc19c98e
Bump v11.0.0-nightly.20200730
2020-07-30 07:33:03 -07:00
Shelley Vohr
948cc08265
chore: add V8 crash information to crashReporter ( #24771 )
...
* feat: add V8 crash information to crashReporter
* Address review feedback
2020-07-29 19:04:24 -07:00
Jeremy Rose
d93bb34ac4
fix: increase max crash key value length ( #24782 )
...
* fix: increase max crash key value length
* chore: fix linting
* chore: fix linux
* Update spec-main/api-crash-reporter-spec.ts
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2020-07-29 19:04:04 -07:00
Robo
01023435c0
fix: save crash reports locally when uploadToServer: false on linux ( #24778 )
...
* fix: generate dumps under crashDumps folder in linux
* Update spec-main/api-crash-reporter-spec.ts
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-07-29 17:45:02 -07:00
Samuel Attard
06cb550c75
build: upload sentry src bundles on windows as well ( #24773 )
2020-07-29 12:41:53 -07:00
George Xu
1b175a0609
feat: add capabilities to app.getLoginItemSettings() and app.setLoginItemSettings() ( #24494 )
...
* fixed
* semantic commit
* add comments to browser.h
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-07-29 10:08:37 -07:00
Electron Bot
75372e933f
Bump v11.0.0-nightly.20200729
2020-07-29 07:31:20 -07:00
Samuel Attard
f859d4ce44
test: fail tests if the spec runner promise rejects ( #24762 )
2020-07-28 20:36:35 -07:00
Jeremy Rose
9c37e12e2d
refactor: ginify app ( #24679 )
2020-07-28 16:43:43 -07:00
Jeremy Rose
834408a50f
fix: wrap OnWindowMessage w/ handlescope ( #24716 )
2020-07-28 15:09:56 -07:00
Robo
b6321cc22d
fix: crash when navigating from a page with webview that has inherited zoom level ( #24757 )
...
* fix: cleanup webview zoom level observers on navigation
* add spec
* webview should be on same partition
* wait for webview to finish loading
2020-07-28 13:00:44 -07:00
Jeremy Rose
38fafe4986
refactor: ginify autoUpdater ( #24678 )
2020-07-28 11:04:34 -07:00
Jeremy Rose
e6cf5906f6
refactor: ginify Screen ( #24677 )
2020-07-28 11:04:01 -07:00
Jeremy Rose
362da77c0a
refactor: ginify SystemPreferences ( #24675 )
2020-07-28 11:03:30 -07:00
Electron Bot
3f45fc24bb
Bump v11.0.0-nightly.20200728
2020-07-28 10:45:24 -07:00
Samuel Attard
75c3a426ea
Revert "Bump v11.0.0-nightly.20200728"
...
This reverts commit c6c986648f .
2020-07-28 10:43:32 -07:00
Shelley Vohr
4e15273b9f
build: fix failing arm64 builds on macOS ( #24748 )
2020-07-28 08:42:15 -07:00
Electron Bot
c6c986648f
Bump v11.0.0-nightly.20200728
2020-07-28 07:31:27 -07:00
Samuel Attard
bac232689d
build: only move folder if it exists when freeing space ( #24740 )
2020-07-27 23:09:29 -07:00
Robo
76e3ee6fe6
fix: loading dedicated/shared worker scripts over custom protocol ( #20625 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-07-27 18:48:37 -07:00
Samuel Attard
4829b0f816
fix: disable rosetta as Electron does not run under rosetta ( #24670 )
2020-07-27 13:26:04 -07:00
Samuel Attard
a612fb00c8
chore: update symbol server URL ( #24709 )
2020-07-27 13:25:39 -07:00
Electron Bot
2f02a469f4
chore: bump node to v12.18.3 (master) ( #24707 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-07-27 09:12:29 -07:00
Charles Kerr
b39a5b71fe
chore: add trop annotations to release notes. ( #24672 )
...
Trop annotations are in the form of "(Also in 7.3, 8, 9)" with links to
the sibling branches.
Previously seen in b43e601b83 but is now
free of optional chaining and nullish coalescing, to run on Node < 14 :)
2020-07-27 10:01:41 -05:00
Electron Bot
91f5837344
Bump v11.0.0-nightly.20200727
2020-07-27 07:31:39 -07:00
Electron Bot
5fc354df73
Bump v11.0.0-nightly.20200724
2020-07-24 07:32:19 -07:00
Shelley Vohr
ee31611e84
fix: missing base::CommandLine include ( #24718 )
2020-07-24 00:08:04 -07:00
Jeremy Rose
071c5930b9
refactor: ginify InAppPurchase ( #24674 )
2020-07-23 14:55:41 -07:00
Samuel Attard
5cfe956fe1
fix: ensure that errors thrown in the context bridge are created in the correct context ( #24534 )
2020-07-23 14:32:38 -07:00
Samuel Attard
b500294c1d
feat: add worldSafe flag for executeJS results ( #24114 )
...
* 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
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-07-23 14:32:20 -07:00
szTheory
3b250b649b
docs: fix role typos in startSpeaking/stopSpeaking ( #24550 )
2020-07-23 13:59:24 -07:00
Samuel Attard
2162eeb609
build: fix linting issue in docs ( #24710 )
2020-07-23 12:27:00 -07:00
Charles Kerr
00fc8066de
docs: clarify use of pageRanges when printing. ( #24694 )
...
Fixes #24684 -- the docs are slightly unclear about how pageRanges
should be used, e.g. whether the page indices are zero-based or
one-based.
2020-07-23 12:03:52 -07:00
Electron Bot
6b1de271a7
Bump v11.0.0-nightly.20200723
2020-07-23 07:33:04 -07:00
Raghav Bhutra
ec838cfc11
docs: add Documentation for Open Recent Menu-item ( #24374 )
2020-07-22 19:22:01 -07:00
Gellert Hegyi
6fa3406912
fix: remove corner mask override to increase window resize performance ( #24642 )
...
* fix: remove corner mask override to increase window resize performance
* uses corner mask only for vibrant view
2020-07-23 09:54:32 +09:00
Felix Rieseberg
b57f5086ef
fix: Allow VoiceOver to navigate "back into" web contents ( #24655 )
...
* fix: Use ElectronAdaptedContentView
* fix: Actually, nevermind, it's "BrowserAccessebilityCocoa"
* chore: Remove things instead of manually keeping them
2020-07-22 15:29:01 -07:00
Jeremy Rose
734753dd7a
refactor: ginify NativeTheme ( #24673 )
2020-07-22 11:01:30 -07:00
Electron Bot
10bf50e1fd
Bump v11.0.0-nightly.20200722
2020-07-22 07:32:34 -07:00
Samuel Attard
5795e59352
build: upload x-compiled arm mksnapshot only on linux ( #24680 )
...
* build: upload x-compiled arm mksnapshot only on linux
* Update upload.py
2020-07-22 01:45:18 -07:00
Electron Bot
2fb14f53fe
chore: bump chromium to 1a093e6a0cb5e72ba78990fe39824 (master) ( #24575 )
2020-07-21 22:34:34 -07:00
Samuel Attard
d4a4269989
perf: do not convert object keys in ctx bridge as they are always primitives ( #24671 )
...
* perf: do not convert object keys in ctx bridge as they are always primitives
* Update shell/renderer/api/electron_api_context_bridge.cc
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2020-07-21 15:26:16 -07:00
Charles Kerr
cd805544d1
docs: update the URL for catapult's trace viewer. ( #24654 )
...
The old URL points to an archived repo. The updated URL points to the
catapult's landing page for trace-viewer.
2020-07-21 15:00:31 -07:00
Electron Bot
95dd81bd68
Bump v11.0.0-nightly.20200721
2020-07-21 09:40:26 -07:00
Samuel Attard
a76e74ac3f
Revert "chore: add Trop annotations to release notes. ( #24644 )"
...
This reverts commit b43e601b83 .
2020-07-21 09:38:28 -07:00
szTheory
74e7f2773f
doc: fix typos in role values ( #24552 )
2020-07-21 08:59:20 -07:00
Charles Kerr
b43e601b83
chore: add Trop annotations to release notes. ( #24644 )
...
* chore: add Trop annotations to release notes.
Trop annotations are in the form of "(Also in 7.3, 8, 9)"
with links to the sibling branches.
2020-07-21 10:32:36 -05:00
Samuel Attard
589968f9fc
build: add arm64 macOS publish jobs ( #24652 )
...
* build: add arm64 macOS publish jobs
* update ci-release-build to run new arm64 macOS publish jobs
* fixup circleci config validate issues
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-07-21 07:55:00 -04:00
Cheng Zhao
a12602dbc3
docs: document missing permission types ( #24660 )
2020-07-21 07:49:37 -04:00
Erick Zhao
77eea08a54
docs: update webContents.send link in ipcMain docs ( #24245 )
2020-07-21 14:47:10 +09:00
Kriti Singh
86b441d599
docs: add descriptions for types of permissions ( #23781 )
2020-07-21 14:29:32 +09:00
Paul Frazee
509740c357
fix: Close protocol response streams when aborted ( #24014 )
2020-07-21 09:51:38 +09:00
Shelley Vohr
bcba4baa85
fix: use Node.js isolate setup logic in bindings ( #24579 )
...
* fix: use Node.js isolate setup logic in bindings
* Flags should be more process-specific
* Remove redundant isolate function setting
* Remove old SetFatalErrorHandler call
2020-07-20 12:41:52 -07:00
Jeremy Rose
f0953902db
refactor: clean up Session with CleanedUpAtExit ( #24603 )
2020-07-20 12:13:33 -07:00
Jeremy Rose
e5cb22b7f9
refactor: use gin::Arguments in WebContents ( #24604 )
2020-07-20 11:07:02 -07:00
Samuel Attard
682f78b9a8
test: add more auto updater tests for squirrel.mac ( #24611 )
2020-07-20 09:51:33 -07:00
Electron Bot
8f5280a821
Bump v11.0.0-nightly.20200720
2020-07-20 08:32:04 -07:00
Milan Burda
fa1323d6cd
feat: add child-process-gone event to app ( #24367 )
2020-07-20 10:34:16 -04:00
Samuel Attard
f146a164af
build: add apple silicon support ( #24545 )
...
* chore: add patches to prevent installation of non-arm pip packages
* chore: add patches for apple-silicon
* build: add apple silicon build
* ci: add testing of new arm binary
* chore: remove / update for upstreamed patches
* Skip content tracing on macos on arm
* build: ensure that spec native modules are rebuilt for arm64 on apple-silicon
* chore: fix patches
* chore: fix broken patch
* chore: fix arm64 DCHECK
* build: add MAS arm64 build
* build: disable arm2 tests
* chore: update patches
* build: actually build MAS version of apple silicon app
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-07-17 09:08:44 -07:00
Electron Bot
6f53457a17
Bump v11.0.0-nightly.20200717
2020-07-17 08:33:03 -07:00
Jeremy Rose
45551f6bf2
refactor: WebContents::From returns pointer ( #24605 )
2020-07-16 16:16:05 -07:00
Samuel Attard
14bbc07f1e
build: free up space on macOS VM in background ( #24607 )
2020-07-16 14:20:42 -07:00
Samuel Attard
3806f4cb64
build: stop the macOS checkout step early if the src cache already exists ( #24606 )
2020-07-16 14:16:02 -07:00
Jeremy Rose
eb7c04c7c4
refactor: stop using isolate() in WebContents ( #24602 )
2020-07-16 14:11:44 -07:00
Samuel Attard
f649e604be
build: tsify asar and move to webpack js2c pipeline ( #24495 )
...
* build: tsify asar and move to webpack js2c pipeline
* build: use the webpack provider for fs-wrapper
2020-07-16 11:38:31 -07:00
Samuel Attard
4c3da359fc
build: convert touch-bar to typescript ( #24511 )
2020-07-16 11:37:38 -07:00
Shelley Vohr
3f37ff87d2
fix: chrome://accessibility not loading ( #24437 )
2020-07-16 10:14:54 -07:00
Electron Bot
24fb498fd3
Bump v11.0.0-nightly.20200716
2020-07-16 08:32:31 -07:00
Samuel Attard
d8be385d4b
fix: do not register the node ESM loader in renderer processes ( #24301 )
2020-07-16 08:09:07 -07:00
Jeremy Rose
e4180b3a3a
refactor: rename InspectableWebContents{Impl =>} ( #24543 )
2020-07-15 11:27:42 -07:00
Yoshietru Nagata
eb550c57d3
docs: fix wrong description in breaking-changes.md ( #24477 )
2020-07-15 09:31:54 -07:00
Electron Bot
cdd5bb1eba
Bump v11.0.0-nightly.20200715
2020-07-15 08:31:25 -07:00
Electron Bot
9c8cdd63fd
chore: bump chromium to ab0f6deadb33bb3a0201cd2d21602 (master) ( #24539 )
...
* chore: bump chromium in DEPS to 0ee01724797ab0f6deadb33bb3a0201cd2d21602
* Update patches
* Separate pdf/pdf_ppapi.h into its own target.
https://chromium-review.googlesource.com/c/chromium/src/+/2292458
* [ozone/x11] Removed DesktopWindowTreeHostX11 and its DnD client.
https://chromium-review.googlesource.com/c/chromium/src/+/2279199
* Move front_end html_entrypoints to data_deps
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2292282
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-07-14 20:07:42 -07:00
Samuel Attard
3f54f240bd
perf: pass primitives directly through the context bridge, avoids copying ( #24531 )
2020-07-14 18:38:54 -07:00
Samuel Attard
36900df7d9
build: free up more space on the mac VM ( #24549 )
2020-07-14 18:34:38 -07:00
Shelley Vohr
ce87a7e69f
fix: broken --trace-sync-io flag in Node.js ( #24529 )
2020-07-14 10:47:20 -07:00
Shelley Vohr
990a6f8b6c
fix: Node.js cpu and heap profiling ( #24528 )
...
* fix: Node.js cpu and heap profiling
* chore: emable more now-working Node.js specs
2020-07-14 11:56:57 -04:00
Electron Bot
e002f7315d
Bump v11.0.0-nightly.20200714
2020-07-14 08:31:14 -07:00
Electron Bot
8bbdc224ac
chore: bump chromium to 6d130075d378a64187360ba4e7820 (master) ( #24256 )
...
* chore: bump chromium in DEPS to 7fb9778894d73378bff51087ce869ea5aa6e5d5d
* chore: bump chromium in DEPS to 83da426e53d423f0530fc23433b6d2c4d0548442
* update patches
* remove chromeos-only TtsControllerDelegate
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2255314
* SharedUserScriptMaster -> SharedUserScriptManager
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2258357
* avoid deprecated DISALLOW_COPY_AND_ASSIGN
https://groups.google.com/a/chromium.org/forum/#!msg/cxx/qwH2hxaEjac/TUKq6eqfCwAJ
* chore: bump chromium in DEPS to b2eaf9ff4e6b03267bf279583ea20ceb2b25e9d0
* update patches
* rename GetHighContrastColorScheme -> GetPlatformHighContrastColorScheme
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2250224
* remove vulkan info collection
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2252818
* add max_xcode_version build var
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2264867
* add missing headers
* chore: bump chromium in DEPS to cded18ca1138f7e8efc904f077ddcca34f0135cf
* update patches
* add empty floc blocklist to BrowserProcessImpl
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2240873
* chore: bump chromium in DEPS to f06602226cd80bf677b2ce013a94a2fb7f6ac58d
* chore: bump chromium in DEPS to 747aa4bfc74fc6cf7f08ee72624cd69ae41ae28d
* chore: bump chromium in DEPS to 31c0105e50fcc4e94de33e5c8602c755ace4a32b
* chore: update patches
* Reland "[base] Stop including check.h, notreached.h, etc. in logging.h"
https://chromium-review.googlesource.com/c/chromium/src/+/2264297
* X11 and Ozone: make sure gfx::AcceleratedWidget to be uint32_t
https://chromium-review.googlesource.com/c/chromium/src/+/2260554
* Move zygote from //services/service_manager back to //content
https://chromium-review.googlesource.com/c/chromium/src/+/2252466
* chore: update v8 patches
* [XProto] Remove usage of Shape extension
https://chromium-review.googlesource.com/c/chromium/src/+/2262113
* fixup! add empty floc blocklist to BrowserProcessImpl
* Require macOS 10.15.1 sdk
https://chromium-review.googlesource.com/c/chromium/src/+/2238504
* Use newer Xcode version 11.5.0
* update src cache
* chore: bump chromium in DEPS to 60a9883e35db3f6f91916f0878e88e1849c17b11
* chore: update patches
* Reland "Reland "New toolchain for Windows 10 19041 SDK""
https://chromium-review.googlesource.com/c/chromium/src/+/2255527
* update patches
* Convert raw NonClientFrameViews to unique_ptrs
https://chromium-review.googlesource.com/c/chromium/src/+/2240417
* [printing] Move PrintHostMsg_DidPreviewDocument_Params to print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2257035
* chore: bump chromium in DEPS to 12c233c2a85bfa28fb279f390121ba681e52a71b
* chore: update patches
* Removing oppressive language for the directory chrome/browser/apps
https://chromium-review.googlesource.com/c/chromium/src/+/2269822
* Inclusion: rename SpellcheckLanguageBlacklistPolicyHandler
https://chromium-review.googlesource.com/c/chromium/src/+/2267646
* Clean up duplicate WebContents "is fullscreen" functions
https://chromium-review.googlesource.com/c/chromium/src/+/2275148
* Adds icon loading service with sandbox for Windows.
https://chromium-review.googlesource.com/c/chromium/src/+/1987273
* No more Vulkan info collection for UMA on Windows
https://chromium-review.googlesource.com/c/chromium/src/+/2252818
* fix lint
* chore: update buildflag conditions
* chore: bump chromium in DEPS to a837d4c4230ace4f10b2768728f4044b7995dfa5
* update hunspell files
* chore: update patches
* Make content::FileSelectListener a RefCounted
https://chromium-review.googlesource.com/c/chromium/src/+/2275338
* fix build failures on MAS
* update patches
* fixup! Reland "[base] Stop including check.h, notreached.h, etc. in logging.h"
* fix build on windows
* Check for GDI exhaustion if window creation fails
https://chromium-review.googlesource.com/c/chromium/src/+/2244124
* chore: bump chromium in DEPS to 2c9b2a73be4ef9ec22d8b6da8e174cb80753f125
* chore: update patches
* Network Service: Move DeleteCookiePredicate into public folder
https://chromium-review.googlesource.com/c/chromium/src/+/2264186
* chore: bump chromium in DEPS to fa2606299bcc02c362528d26b5dcf8c8a0db0735
* chore: bump chromium in DEPS to d9c235d1227204dbae3708daae851573a3566b94
* chore: bump chromium in DEPS to 2f82c284243c035f49a747fd1ead6c44b4b31093
* chore: update patches
* Move creating the LayerTreeSettings into blink.
https://chromium-review.googlesource.com/c/chromium/src/+/2267720
* chore: bump chromium in DEPS to 914112f1d9af9e4974059dc403da62699a55550f
* update patches
* chore: bump chromium in DEPS to e0bc1ffae6393fc543a2da94c88167df75859b36
* refactor: match upstream print preview handling (#24452 )
* update patches
* chore: bump chromium in DEPS to 0881423156abe084164b51ab58ce93a8bd380524
* update patches
* update patches
* give a type to pendingPromise
* chore: bump chromium in DEPS to 11a8c1534b16d130075d378a64187360ba4e7820
* update patches
* 2272609: Move //services/service_manager/sandbox to //sandbox/policy.
https://chromium-review.googlesource.com/c/chromium/src/+/2272609
* update patches
* fixup! 2272609: Move //services/service_manager/sandbox to //sandbox/policy.
* fixup! 2272609: Move //services/service_manager/sandbox to //sandbox/policy.
* 2264511: Cookies: Update SetCanonicalCookie to return CookieAccessResult
https://chromium-review.googlesource.com/c/chromium/src/+/2264511
* chore: fix setAlwaysOnTop test
The window must be visible for state to be updated properly.
* Revert "Migrate modules/desktop_capture and modules/video_capture to webrtc::Mutex."
https://webrtc-review.googlesource.com/c/src/+/179080
* update patches
Co-authored-by: Andy Locascio <andy@slack-corp.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org >
2020-07-13 21:13:34 -04:00
Jeremy Rose
36bd940bc3
refactor: ginify NativeImage ( #24486 )
2020-07-13 14:44:12 -07:00
Shelley Vohr
f0a0e10bd1
fix: use default NSVisualEffectState ( #24471 )
2020-07-13 12:40:37 -07:00
Samuel Attard
b02748e607
build: ensure that electron/lib/browser can only use browser or common imports ( #24512 )
...
* build: ensure that electron/lib/browser can only use browser or common imports
* chore: fix linting
2020-07-13 09:58:49 -07:00
Jeremy Rose
1719f073c1
chore: remove some unused code in the net module ( #24488 )
2020-07-13 09:36:20 -07:00
Shelley Vohr
91cdedfea9
fix: default to simplex for printing DuplexMode ( #24489 )
2020-07-13 11:31:39 -04:00
Samuel Attard
cbb47570bd
build: run the JS linter on the build folder ( #24513 )
2020-07-10 14:48:50 -07:00
Sam Saccone
e18f508e66
docs: fix incorrect formatting in browser docs. ( #24473 )
...
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
2020-07-10 13:57:29 -07:00
Shelley Vohr
6c4017ff45
fix: always callback error with invalid print settings ( #24476 )
2020-07-10 09:42:22 -07:00
Samuel Attard
5737fda154
build: tsify worker/init ( #24497 )
2020-07-09 20:32:37 -07:00
Samuel Attard
8847517798
build: tsify isolated_renderer/init ( #24496 )
2020-07-09 20:32:26 -07:00
Samuel Attard
c9aa68e32c
build: update octicons ( #24492 )
2020-07-09 18:12:18 -07:00
Samuel Attard
42f716bbc6
build: update in-range dependencies ( #24480 )
2020-07-09 16:32:21 -07:00
Samuel Attard
ef9addcb92
build: fix linting issue in spec-main
2020-07-09 11:25:43 -07:00
Samuel Attard
dcb56923cb
build: update @types packages and fs-extra ( #24475 )
2020-07-09 10:57:50 -07:00
Samuel Attard
eb6616e4e9
build: update to standard 14 ( #24479 )
2020-07-09 10:18:49 -07:00
Jeremy Rose
9bd0fc5348
refactor: ginify BrowserView ( #23578 )
2020-07-09 08:48:39 -07:00
Electron Bot
66d65a6d35
Bump v11.0.0-nightly.20200709
2020-07-09 08:32:15 -07:00
Samuel Attard
4305707ca8
build: update typescript parser deps ( #24474 )
2020-07-09 01:12:23 -07:00
Samuel Attard
8d25847318
build: update webpack / TS build deps ( #24460 )
...
* build: update webpack / TS build deps
* chore: fix JS inferred types
2020-07-09 01:05:16 -07:00
Samuel Attard
ad16e6c647
build: update linting deps ( #24461 )
2020-07-08 21:19:49 -07:00
Jeremy Rose
80a6adb597
fix: coerce executeJavaScript arguments ( #24396 )
2020-07-08 16:13:50 -07:00
Robo
7dd365784d
fix: clipboard.readBuffer returning empty value ( #24454 )
2020-07-08 15:02:42 -07:00
Samuel Attard
e59370f541
build: update ts defs generator ( #24459 )
2020-07-08 13:08:31 -07:00
Shelley Vohr
6cfbee9f34
fix: uv_walk crash on web worker close ( #24436 )
...
* fix: uv_walk crash on web worker close
* Use DCHECK_EQ
2020-07-08 11:00:43 -07:00
Electron Bot
2aeaca6f7b
Bump v11.0.0-nightly.20200708
2020-07-08 08:32:47 -07:00
Shelley Vohr
cadc142d05
fix: use try/catch for base class converter error ( #24246 )
2020-07-07 14:18:43 -07:00
Shelley Vohr
446100cdfe
chore: don't duplicate devtools constants ( #24440 )
2020-07-07 17:04:23 -04:00
Milan Burda
7fd96cd188
feat: add name to app.getAppMetrics() output ( #24359 )
2020-07-07 14:00:45 -04:00
Electron Bot
25a36a43c1
Bump v11.0.0-nightly.20200707
2020-07-07 08:31:26 -07:00
jieniu$
b0be3fbb7f
docs: fix typos in doc/tutorial/electron-versioning.md ( #24362 )
2020-07-06 16:31:24 -04:00
Jeremy Rose
71a7e1b2e3
chore: tsify menu ( #24358 )
2020-07-06 13:24:54 -07:00
Samuel Attard
2a3437e5b5
build: use python3 for electron hooks ( #24435 )
2020-07-06 13:12:23 -07:00
Andy Dill
cf74ee3d83
fix: use RenderViewReady to call InstallTransparency ( #24390 )
...
this fixes a crash with transparent OSR when GPU acceleration is
disabled
2020-07-06 11:57:14 -07:00
Samuel Attard
99079c3bc7
build: fix build with context snapshot disabled ( #24433 )
2020-07-06 11:11:48 -07:00
Jeremy Rose
1f23807271
chore: tsify web-contents ( #24325 )
2020-07-06 10:50:03 -07:00
Milan Burda
82af855579
chore: add missing _Deprecated_ to 'renderer-process-crashed' on app ( #24410 )
2020-07-06 10:09:42 -07:00
Electron Bot
f6e21d59e7
Bump v11.0.0-nightly.20200706
2020-07-06 08:32:59 -07:00
Shelley Vohr
4398ecb6c8
chore: use node_bindings loop for clarity ( #24391 )
2020-07-03 09:19:27 -07:00
Shelley Vohr
9106d0c6d5
fix: intermittent 100% CPU usage on macOS ( #24394 )
2020-07-03 09:18:51 -07:00
Electron Bot
92d9de93a4
Bump v11.0.0-nightly.20200703
2020-07-03 08:32:36 -07:00
Shelley Vohr
fd0eaf4507
fix: remove same-tag notifications before showing new ones ( #24302 )
2020-07-02 23:04:32 -07:00
Samuel Attard
2a6d6d6ea7
build: build squirrel and its dependencies from source ( #24318 )
...
* build: build squirrel and its dependencies from source
* chore: do not use fork for squirrel.mac
* build: do not ship headers with dependency frameworks
* Update BUILD.gn
* chore: s/striped/stripped
* chore: update as per feedback
* chore: use ARC and fix build errors
* chore: fix ARC Squirrel self retainer
2020-07-02 19:42:40 -07:00
Robo
d330c6f9fe
feat: expose sessionId in debugger module ( #24170 )
2020-07-02 13:04:20 -07:00
Electron Bot
82ae18dd1c
Bump v11.0.0-nightly.20200702
2020-07-02 08:36:33 -07:00
Electron Bot
c157311373
chore: bump node to v12.18.2 (master) ( #24381 )
...
* chore: bump node in DEPS to v12.18.2
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-07-01 15:39:35 -04:00
Jeremy Rose
354ea00f17
chore: tsify auto-updater ( #24328 )
2020-07-01 12:27:12 -07:00
Milan Burda
4c449fbc75
test: convert more tests to async / await ( #24373 )
2020-07-01 15:14:38 -04:00
Shelley Vohr
3cb833821a
docs: add hardened runtime entitlement info ( #24369 )
2020-07-01 12:11:09 -07:00
Shelley Vohr
a69a655386
chore: remove upstreamed BoringSSL patch ( #24363 )
2020-07-01 09:27:14 -07:00
Electron Bot
dc3905cef4
Bump v11.0.0-nightly.20200701
2020-07-01 08:31:42 -07:00
John Kleinschmidt
22e64dc328
ci: update timeout on breakpad generation to 30 minutes ( #24382 )
2020-07-01 11:06:45 -04:00
Jeremy Rose
6bd30bf09e
chore: tsify dialog ( #24324 )
2020-06-30 15:51:44 -07:00
Milan Burda
c6db47182a
test: make sure tests fail properly instead of timing out ( #24316 )
2020-07-01 00:10:36 +02:00
Jeremy Rose
451086d7f2
chore: tsify extensions shim ( #24355 )
2020-06-30 12:49:08 -07:00
George Xu
ee61eb9aa4
feat: add app.getApplicationInfoForProtocol API ( #24112 )
...
* 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
Electron Bot
2cbd091e89
Bump v11.0.0-nightly.20200630
2020-06-30 08:33:54 -07:00
Shelley Vohr
af4876296c
fix: macOS modal focus ( #24286 )
2020-06-29 13:15:28 -07:00
Jeremy Rose
d9d07c65b2
chore: tsify net-log ( #24322 )
...
* chore: tsify net-log
* comment
* gn
2020-06-29 09:21:32 -07:00
Electron Bot
6e069a7df8
Bump v11.0.0-nightly.20200629
2020-06-29 08:31:45 -07:00
Cheng Zhao
ef3579eae3
refactor: rename TopLevelWindow to BaseWindow ( #24305 )
2020-06-29 16:06:20 +09:00
Jeremy Rose
80e5007c47
chore: tsify browser-window ( #24326 )
...
* chore: tsify browser-window
* fix focus
* also tsify top-level-window
2020-06-29 10:22:55 +09:00
Milan Burda
1c49e4e376
test: use delay() helper ( #24321 )
2020-06-26 22:59:54 +02:00
Electron Bot
8eb198bab4
Bump v11.0.0-nightly.20200626
2020-06-26 08:32:52 -07:00
Samuel Attard
16a3f41fd3
chore: add deprecation warning for the default of contextIsolation ( #23507 )
...
* chore: add deprecation warning for the default of contextIsolation
* chore: add to breaking changes
* Update docs/breaking-changes.md
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
* chore: fix specs on windows
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
2020-06-25 10:55:17 -07:00
Jeremy Rose
605e50269e
chore: convert rpc-server to ts ( #24271 )
2020-06-25 10:19:08 -07:00
Milan Burda
9b4572de44
feat: implement systemPreferences.getMediaAccessStatus() on Windows ( #24275 )
2020-06-25 09:47:50 -07:00
Electron Bot
5b80556da2
Bump v11.0.0-nightly.20200625
2020-06-25 08:31:34 -07:00
Shelley Vohr
4290555a0d
feat: support suspend/resume on macOS ( #24254 )
2020-06-24 10:17:07 -07:00
Electron Bot
1429a8961c
Bump v11.0.0-nightly.20200624
2020-06-24 08:32:42 -07:00
Shelley Vohr
46f58b28c3
fix: frameless vibrant modals shouldn't bezel ( #24250 )
2020-06-24 07:30:49 -07:00
Shelley Vohr
6369748a2a
feat: support suspend/resume on Windows ( #24251 )
2020-06-24 07:28:29 -07:00
Samuel Attard
abf2e9c93d
chore: expose electrons built in modules in the REPL along with nodes ( #24249 )
2020-06-24 00:53:46 -07:00
Samuel Attard
b2b5a6a3de
chore: minify internal JS code ( #24252 )
2020-06-23 14:57:08 -07:00
Shelley Vohr
acb64a2d3c
fix: only notify mouse-up on mouse-up ( #24240 )
2020-06-23 08:37:13 -07:00
Electron Bot
3853fd3e99
Bump v11.0.0-nightly.20200623
2020-06-23 08:32:44 -07:00
Shelley Vohr
659e79fc08
refactor: prevent consistent early exception ( #24191 )
...
* refactor: prevent consistent early exception
* Use _linkedBinding where possible
* Remove dead electronBinding
2020-06-22 20:32:45 -07:00
Shelley Vohr
4c77fe318d
refactor: improve the REPL ( #24204 )
...
This PR improves the Electron REPL experience. It adds a welcome message to the REPL to let users know what versions of Node.js and Electron they're running, as well as overriding the completer function in the REPL to preload and add tab autocompletion for Electron's own modules.
2020-06-22 19:03:19 -07:00
Electron Bot
72a089262e
chore: bump chromium to a84d34e372b8fb5e9a94b1b4b447e (master) ( #23908 )
...
* chore: bump chromium in DEPS to a7249f73ae05d456c04487ef1693325f719556dd
* chore: bump chromium in DEPS to 202466fa40b58f0bb9c9a76a037d1c50154c099e
* chore: bump chromium in DEPS to 2dd1b25c8d794b50fb0dd911e0c4e909ff39f145
* Update patches
* update patches
* Revert "[printing] Mojofy PrintHostMsg_CheckForCancel"
https://chromium-review.googlesource.com/c/chromium/src/+/2226002
* chore: bump chromium in DEPS to 8c1542e7dd36854fdf4abd1a8021eeb65a6a2e2b
* chore: bump chromium in DEPS to 078bc6d796334fb403acd8975b99d1c8ecd028e8
* chore: bump chromium in DEPS to d96e9f16ae852ec9dbd15bf17df3d440402413bb
* update patches
* chore: update patches
* Use ExtensionSystem::is_ready() instead of ExtensionService::is_ready()
https://chromium-review.googlesource.com/c/chromium/src/+/2207499
* Remove WebImeTextSpan
https://chromium-review.googlesource.com/c/chromium/src/+/2225240
* Remove PDFAnnotations flag altogether.
https://chromium-review.googlesource.com/c/chromium/src/+/2229317
* Rework find-from-selection so it's synchronous -- fixes flaky tests
https://chromium-review.googlesource.com/c/chromium/src/+/2181570
* fixup! Revert "[printing] Mojofy PrintHostMsg_CheckForCancel"
* chore: bump chromium in DEPS to a8a280835830c65145ed8573a9a09f36d3920418
* update sysroots
* update patches
* update patches
* Take RFH as a parameter for DidUpdateFavicon/ManifestURL
https://chromium-review.googlesource.com/c/chromium/src/+/2224745
* chore: bump chromium in DEPS to b6149cb5a5e32caf8eab67b97ef3072b72521ca8
* Update patches
* Rename net::cookie_util::StripStatuses to StripAccessResults
https://chromium-review.googlesource.com/c/chromium/src/+/2212697
* use net::CookieAccessResultList instead of net::CookieAccessResultList
* fix mas_no_private_api patch
https://chromium-review.googlesource.com/c/chromium/src/+/2230281
* chore: bump chromium in DEPS to a27feee1643d952e48f77c92d8c03aedea14b720
* update patches
* fix: add new navigation state REUSE_SITE_INSTANCE
To fix the new set of state checks added in
https://chromium-review.googlesource.com/c/chromium/src/+/2215141
* chore: bump chromium in DEPS to ff4559a4c13d20888202474e4ab9917dbdad8a9a
* update patches
* Cleanup usages of old mojo types and remove unused code
https://chromium-review.googlesource.com/c/chromium/src/+/2235699
* chore: bump chromium in DEPS to 05279845f76eb22900a8b0d1a11d4fd339a8e53b
* chore: bump chromium in DEPS to 821558279767cffec90e3b5b947865f90089fed3
* chore: bump chromium in DEPS to 1aef04e6486be337d3dd820b2d64d6320a1b9c13
* chore: bump chromium in DEPS to dc86386e8fdd796a0f7577e91e42a7f8b7e9bc78
* chore: bump chromium in DEPS to 64f2360794f14643764092ba3e58e2ed8f9fee12
* chore: update patches
* refactor: MessageLoop, you are terminated \o/
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2246173
* refactor: plumb DownloadSchedule to DownloadItem
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2242202
* chore: fix variable typo in IPC
* chore: s/BindPipeAndPassReceiver/BindNewPipeAndPassReceiver
* chore: update patches
* chore: XEvent becomes x11::Event
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2240355
* fixup! refactor: MessageLoop, you are terminated \o/
* fixup! chore: XEvent becomes x11::Event
* build: update v8 headers
* chore: fix windows build
* chore: disable SameSite-by-default changes
https://chromium-review.googlesource.com/c/chromium/src/+/2231445
* update printing.patch
* chore: bump chromium DEPS to 9ae03ef8f7d4f6ac663f725bcfe70311987652f3
* Convert WidgetHostMsg_SelectionBoundsChanged/TextInputStateChanged
https://chromium-review.googlesource.com/c/chromium/src/+/2243531
* chore: update v8 patches
* [XProto] Replace usages of XID and ::Window with x11::Window
https://chromium-review.googlesource.com/c/chromium/src/+/2249389
* Update VideoFrameMetadata to use base::Optionals
https://chromium-review.googlesource.com/c/chromium/src/+/2231706
https://chromium-review.googlesource.com/c/chromium/src/+/2238361
* --disable-dev-shm-usage for gpu process crash
* [v8] Allow for 4GB TypedArrays
https://chromium-review.googlesource.com/c/v8/v8/+/2249668
* update lib_src_switch_buffer_kmaxlength_to_size_t.patch
* disable app.getGPUInfo spec on linux
* update patches
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-06-22 10:35:10 -07:00
Shelley Vohr
61a05caa78
refactor: remove uses of v8::Isolate::GetCurrent ( #24179 )
2020-06-22 09:35:24 -07:00
Electron Bot
563a8c83ea
Bump v11.0.0-nightly.20200622
2020-06-22 08:33:12 -07:00
Shelley Vohr
046a05944a
fix: emit click events with tray context menu ( #24200 )
2020-06-22 08:24:47 -07:00
Milan Burda
0629c6c2ea
fix: isTrustedSender() in test-app ( #24214 )
2020-06-22 14:14:20 +02:00
Electron Bot
48d1a70b52
Bump v11.0.0-nightly.20200619
2020-06-19 08:31:56 -07:00
Electron Bot
5c6d8c2b7d
chore: bump node to v12.18.1 (master) ( #24199 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-06-18 17:37:23 -07:00
Electron Bot
0f44682be0
Bump v11.0.0-nightly.20200618
2020-06-18 08:32:15 -07:00
Cheng Zhao
2376c45443
fix: do not use CONTEXT_MENU flag for tray menu (reland) ( #24097 )
...
* fix: do not use CONTEXT_MENU flag for tray menu
* fix: menu window should not appear in taskbar
2020-06-17 21:21:43 -07:00
Electron Bot
b665eb6d43
chore: bump node to v12.18.0 (master) ( #23789 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-06-17 15:57:12 -07:00
Elena Topaka
4e66f1b2c6
fix: use correct 'pasteandmatchstyle' shortcut on macOS ( #24153 )
2020-06-17 23:13:46 +02:00
Shelley Vohr
a54fcde3f4
docs: fix MenuItem click handler type ( #24147 )
2020-06-17 10:34:25 -07:00
Robo
7cc780d077
fix: let Node.js perform microtask checkpoint in the main process ( #24131 )
...
* fix: let Node.js perform microtask checkpoint in the main process
* fix: don't specify v8::MicrotasksScope for explicit policy
* fix: remove checkpoint from some call-sites
We already perform checkpoint at the end of a task,
either through MicrotaskRunner or through NodeBindings.
There isn't a need to add them again when calling into JS
except when dealing with promises.
* fix: remove checkpoint from some call-sites
We already perform checkpoint at the end of a task,
either through MicrotaskRunner or through NodeBindings.
There isn't a need to add them again when calling into JS
except when dealing with promises.
* fix incorrect specs
* default constructor arguments are considered for explicit mark
* add regression spec
2020-06-17 10:08:10 -07:00
Electron Bot
59f9d75324
Bump v11.0.0-nightly.20200617
2020-06-17 08:31:29 -07:00
Milan Burda
cb6476fd12
chore: cleanup unused WebContents::DereferenceRemoteJSObject() ( #24167 )
2020-06-17 16:50:21 +02:00
Jeremy Rose
e1e73fa5f5
refactor: use WeakRef on main process side of remote ( #24115 )
2020-06-16 14:34:08 -07:00
Samuel Attard
09c0ee8f87
build: remove dead symlink from MAS build ( #24158 )
...
* build: remove dead symlink from MAS build
* chore: new out cache
* build: fixup gn check
* Update node_main.cc
* chore: fix lint
2020-06-16 14:19:57 -07:00
Lukas Weber
cf284991d8
feat: Add did-become-active event on mac ( #23872 )
...
Co-authored-by: Lukas Weber <luweber@microsoft.com >
2020-06-16 10:03:41 -07:00
Electron Bot
f9fe8a67b9
Bump v11.0.0-nightly.20200616
2020-06-16 08:33:19 -07:00
Samuel Attard
7bf0af7d96
Revert "build: remove dead symlink from MAS build ( #23831 )" ( #24146 )
...
This reverts commit 7a216a8fab .
2020-06-15 23:42:18 -07:00
Samuel Attard
7a216a8fab
build: remove dead symlink from MAS build ( #23831 )
...
* build: remove dead symlink from MAS build
* chore: new out cache
* fix gn check errors
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-06-16 14:25:21 +09:00
Milan Burda
673169a7ba
chore: remove unused deprecate.fnToProperty() ( #24069 )
2020-06-15 18:59:04 -07:00
Shelley Vohr
9c7d73c6d6
fix: emit 'shutdown' outside -[NSApplication terminate:] ( #24111 )
2020-06-15 18:58:28 -07:00
Samuel Attard
0b830ba9e5
build: retry external binary downloads a few times ( #24110 )
2020-06-15 14:31:29 -07:00
Jeremy Rose
c0182bca15
chore: remove test usages of createIDWeakMap ( #24116 )
2020-06-15 13:56:51 -07:00
Electron Bot
8412aae231
Bump v11.0.0-nightly.20200615
2020-06-15 08:31:53 -07:00
Shelley Vohr
b9ac334efc
fix: showing certificate dialog with no window ( #24091 )
2020-06-12 22:18:09 -07:00
Jeremy Rose
379bb174e9
refactor: use WeakRef on renderer side of remote ( #24037 )
2020-06-12 15:50:03 -07:00
Jeremy Rose
178e46cd23
test: add test for gc race in remote ( #24087 )
2020-06-12 14:19:20 -07:00
Shelley Vohr
66744ecb4d
fix: fs.readdir should support withFileTypes ( #24062 )
2020-06-12 08:32:59 -07:00
Electron Bot
a7599a0838
Bump v11.0.0-nightly.20200612
2020-06-12 08:32:36 -07:00
Cheng Zhao
d5f642938d
fix: handle non client pointer events from pen on Win10 ( #24042 )
2020-06-12 09:26:16 -05:00
Jeremy Rose
7274467f73
refactor: tsify remote ( #24034 )
2020-06-11 11:36:03 -07:00
Jeremy Rose
7c7ea141f0
test: extract defer helper ( #24019 )
2020-06-11 11:35:50 -07:00
Samuel Attard
c66282a460
Revert "fix: do not use CONTEXT_MENU flag for tray menu ( #23843 )" ( #24076 )
...
This reverts commit b809d104d0 .
2020-06-11 11:27:57 -07:00
Jeremy Rose
78fe545d18
refactor: remove renderer-side refcount in remote ( #24054 )
2020-06-11 10:22:28 -07:00
Paul Frazee
81d09bea44
fix: correctly handle nexttick scheduling in stream reads ( #24022 )
2020-06-11 09:55:59 -07:00
Electron Bot
130b176796
Bump v11.0.0-nightly.20200611
2020-06-11 08:31:16 -07:00
Andrea Brancaleoni
2e2e9a3702
ci: use call instead of cmd /C ( #23985 )
...
Since we want to import the environment change from RefreshEnv.cmd
we also want to share the same execution context of the
caller.
2020-06-11 10:05:03 -04:00
Eryk Rakowski
04be1ac4a1
fix: assign session to remote webContents ( #23989 )
...
* fix: assign session to remote webContents
* fix: test name
2020-06-11 12:57:51 +09:00
Benjamin Sova
a33c10c3ed
docs: fix explanation of darwin auto-quit prevention ( #24003 )
2020-06-11 11:08:27 +09:00
Gellert Hegyi
ce042184de
fix: Add .paks for media-internals and webrtc-internals pages ( #24010 )
...
* fix: adds paks for media-internals and webrtc-internals pages
* adds tests
2020-06-11 11:07:49 +09:00
Electron Bot
b1574f9e59
Bump v11.0.0-nightly.20200610
2020-06-10 08:32:15 -07:00
Felix Rieseberg
9554d063a5
chore: backport advapi32 libuv fix ( #24030 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-06-09 14:26:33 -07:00
Felix Rieseberg
3eade2c228
fix: Allow windows behind macOS elements if frame = false ( #23976 )
2020-06-09 11:52:14 -07:00
Jeremy Rose
71e2b7151c
test: extract RemoteControlApp to spec-helpers ( #24020 )
2020-06-09 11:42:53 -07:00
Jeremy Rose
d08cfce6cb
chore: use more inclusive language in a few places ( #24023 )
...
* 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
dependabot[bot]
b2ef299efc
build(deps): bump minimist from 1.2.0 to 1.2.5 in /spec-main ( #24026 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.0 to 1.2.5.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-09 11:29:15 -07:00
Electron Bot
fc8b49485a
Bump v11.0.0-nightly.20200609
2020-06-09 08:32:03 -07:00
Evgeny
aa32fbf1d6
docs: update setAboutPanelOptions iconPath description ( #23998 )
...
* Updated doc setAboutPanelOptions iconPath #23833
* Simplify docs
2020-06-08 17:46:25 -07:00
Charles Kerr
980e592271
chore: ensure release notes always come from Clerk ( #23777 )
...
* chore: ensure release notes always come from Clerk
Now with tests!
* chore: move sinon devDependency into `spec-main`
* refactor: tweak note-spec variable for readability
2020-06-08 11:39:44 -07:00
Paul Frazee
c6c022dc46
feat: add {stream} opt to custom protocol registry to configure media player ( #22955 )
2020-06-08 09:49:36 -07:00
Islam ElHakmi
261f385b5e
docs: mention build-tools in the build instructions ( #23909 )
2020-06-08 08:59:19 -07:00
Electron Bot
6e710a20a6
Bump v11.0.0-nightly.20200608
2020-06-08 08:31:59 -07:00
Alexey Kuzmin
46c9e15182
fix: volume key globalShortcut deregistration ( #23984 )
2020-06-08 14:46:00 +02:00
Jeremy Rose
5185501b85
test: reduce flakiness of post-context-release ipc test ( #23992 )
2020-06-05 16:51:42 -07:00
Shelley Vohr
27d629abb9
fix: add missing isComposing KeyboardEvent property ( #23971 )
2020-06-05 15:18:20 -07:00
Shelley Vohr
9d960e29eb
build: check patches on update ( #23103 )
2020-06-04 17:43:28 -07:00
Jeremy Apthorp
a1c55a13e1
fix: throw instead of crash when using ipcRenderer after context released ( #23917 )
2020-06-04 16:25:25 -07:00
Robo
491caf59c1
chore: update tracking bug ( #23959 )
2020-06-04 10:56:54 -07:00
Shelley Vohr
2d47daa8c4
fix: missing HandleScopes in touch bar ( #23936 )
2020-06-04 10:11:28 -07:00
Electron Bot
25e4a9431c
Bump v11.0.0-nightly.20200604
2020-06-04 08:32:18 -07:00
Milan Burda
3fa4299939
fix: use acceptLanguages argument in session.setUserAgent() ( #23944 )
2020-06-04 13:05:37 +02:00
Cheng Zhao
90caa5eac9
docs: remove confusing notes on Node ( #23929 )
...
* docs: remove confusing notes on Node
* Update docs/tutorial/first-app.md
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2020-06-03 20:00:52 -07:00
Samuel Attard
b1adbf7fd7
build: fix filenames autogen with new BUILDFLAG syntax ( #23952 )
2020-06-03 15:46:59 -07:00
Cheng Zhao
2fadb73032
fix: destroy GetSize callback at last ( #23930 )
2020-06-03 11:04:30 -07:00
Shelley Vohr
ac81a39e09
fix: compensate for lazy-loaded circular deps ( #23890 )
2020-06-03 10:29:08 -07:00
Electron Bot
83247c48c3
Bump v11.0.0-nightly.20200603
2020-06-03 08:31:46 -07:00
Cheng Zhao
5de6adfb84
test: load page with some content when testing extension ( #23901 )
...
* test: load page with some content when testing extension
* test: use dom-ready to wait for page loaded with extension
2020-06-03 16:56:28 +09:00
Samuel Attard
d8594f7a78
fix: restore original GTK/appindicator implementation of tray icons ( #23674 )
2020-06-02 17:00:20 -07:00
Samuel Attard
087567655a
fix: correctly support the --inspect-brk-node flag ( #23903 )
2020-06-02 15:02:54 -07:00
Robo
512e1541c6
fix: default to NTLM v2 in the network service for POSIX platforms ( #23846 )
...
* 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 ( #23888 )
2020-06-02 11:09:20 -07:00
Samuel Attard
d3fa5ed1e8
docs: move protocol-ns to protocol.md ( #23883 )
...
* 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
Electron Bot
edc5050a2e
Bump v11.0.0-nightly.20200602
2020-06-02 08:32:11 -07:00
Jeremy Apthorp
a5efc387c7
chore: note quiet period in PR template. ( #23889 )
2020-06-02 09:36:09 -04:00
Samuel Attard
0062b126b4
chore: update patches ( #23902 )
2020-06-02 03:34:52 -07:00
Samuel Attard
969f46a48f
chore: remove IPC hiddens ( #23720 )
2020-06-02 02:33:06 -07:00
Samuel Attard
c6f4573a13
perf: lazily load some modules in sandbox mode ( #23856 )
2020-06-02 02:32:32 -07:00
Biru Mohanathas
95037a7d2a
fix: Make the --disable-color-correct-rendering switch work again ( #23787 )
...
This regressed once again in Electron 8 due to Chromium changes.
Test Plan:
- Confirm that test case from https://github.com/electron/electron/pull/15898#issuecomment-443191770 now works
Notes: Fix disabling color correct rendering with `--disable-color-correct-rendering`
2020-06-02 16:31:33 +09:00
Wojciech Krol
5218a6e6ab
fix: notify URLLoaderClient about redirect inside intercepted protocol's handler ( #23742 )
...
* fix: notify URLLoaderClient about redirect inside intercepted protocol's handler
* fix: update new_request's site_for_coookies
* fix: Unound client, so it an be passed to sub-methods
2020-06-02 14:20:34 +09:00
Cheng Zhao
5918dd6e65
test: wait for beforeunload handler to be installed ( #23874 )
2020-06-02 11:32:39 +09:00
Samuel Attard
fbf397e15d
fix: add patch to prevent crash during frame swap with ctx isolation enabled ( #23684 )
2020-06-01 18:02:30 -07:00
Samuel Attard
066b8c5ab3
fix: expose electron/common and electron/renderer modules in sandboxed preloads ( #23857 )
2020-06-01 17:37:02 -07:00
Samuel Attard
634ab45095
build: make electron renderer init scripts profilable ( #23855 )
...
The devtools profiler is not attached at the point we run out init scripts (or our apps preload scripts), we do not really want to change when we run these init scripts but for when a dev is doing performance work it makes sense to give them an option to make the devtools profiler actually work on both our init scripts and their preload script. This PR adds that logic behind an environment variable ELECTRON_PROFILE_INIT_SCRIPTS.
2020-06-01 16:08:34 -07:00
Electron Bot
a4de915b74
chore: bump chromium to d66c2e32380bf5d1eb5e1fe37faef (master) ( #23791 )
...
* chore: bump chromium in DEPS to db7d7b3e7cb2bc925f2abfde526280cfdfc21a41
* Update patches
* chore: bump chromium in DEPS to 5613e1b99a44fcbe22f3910f803ca76903a77ec1
* Update patches
* Network service: Remove primary_network_context bool.
https://chromium-review.googlesource.com/c/chromium/src/+/2204678
* WebContentsObserver now implements OnRendererResponsive
https://chromium-review.googlesource.com/c/chromium/src/+/2211066
* update patches
* Fixup printing patch
* chore: bump chromium in DEPS to e387b972cdd7160c416fa6c64a724e2258aa0218
* update patches
* [printing] Move PrintHostMsg_DidPrintContent_Params to print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2212110
* [XProto] Move items from ::x11::XProto to ::x11
https://chromium-review.googlesource.com/c/chromium/src/+/2218476
* revert Add IChromeAccessible
This was added in https://chromium-review.googlesource.com/c/chromium/src/+/2206224 but it breaks WOA builds because third_party/win_build_output/midl/ui/accessibility/platform/arm64 does not exist. The link above says that the new interface is behind a feature flag which is disabled by default so it is safe to remove for now.
* rebaseline ichromeaccessible for Windows arm64
This patch will not be needed once we get the next roll.
* Update to 1b9e01844e8bf1aaafc4a52c0c62af7f56d9637b to get arm64 fix
* update patches
* chore: bump chromium in DEPS to 096aefa04092ea00f7b68d8d19345883f20db3c3
* chore: bump chromium in DEPS to a524a45ffd1d6fd46a7a86138fe2b22df5b6651a
* chore: update patches
* Window Placement: Gate cross-screen fullscreen behavior on permission
https://chromium-review.googlesource.com/c/chromium/src/+/2203268
* chore: add spec for https://crbug.com/1085836
* chore: bump chromium in DEPS to ff6c4f4b826d66c2e32380bf5d1eb5e1fe37faef
* update patches
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-06-01 16:34:34 -04:00
Electron Bot
4a551bde16
Bump v11.0.0-nightly.20200601
2020-06-01 08:32:05 -07:00
Cheng Zhao
b809d104d0
fix: do not use CONTEXT_MENU flag for tray menu ( #23843 )
2020-06-01 09:57:25 -05:00
Alexey Kuzmin
4133c71105
build: fix for "enable_desktop_capturer = false" ( #23864 )
2020-06-01 10:13:47 -04:00
Robo
f67aff2704
feat: add V8CacheOptions webpreference ( #23842 )
...
* feat: add V8CacheOptions webpreference
* address review comments
2020-05-31 20:09:23 -07:00
Cheng Zhao
aa8d81511f
fix: MakeAbsoluteFilePath is a blocking call ( #23840 )
2020-05-30 10:01:55 -07:00
Samuel Attard
236c1334e3
chore: tsify sandboxed init ( #23719 )
2020-05-30 02:56:54 -07:00
DeeDeeG
9f21d09dfd
docs: remove upgrading-node.md ( #23802 )
2020-05-29 12:12:35 -07:00
Electron Bot
9dec16d81e
Bump v11.0.0-nightly.20200529
2020-05-29 08:31:10 -07:00
John Kleinschmidt
b086197968
fix: use system installed objcopy to copy debug symbols ( #23835 )
2020-05-29 08:37:02 -04:00
Shelley Vohr
e8ea007104
fix: ensure nativeImage serialization main->renderer ( #23759 )
2020-05-28 09:43:15 -07:00
Electron Bot
e5da2caa34
Bump v11.0.0-nightly.20200528
2020-05-28 08:32:13 -07:00
Cheng Zhao
a1edf5cf94
Revert "fix: trigger activate event when app is activated via app switcher ( #23727 )" ( #23818 )
...
This reverts commit 2bc85b2579 .
2020-05-28 09:53:33 -04:00
Shelley Vohr
6516110c70
fix: volume key globalShortcut registration ( #23782 )
2020-05-28 08:56:48 -04:00
Alexey Kuzmin
3a7775fa73
test: refactor how spec files are collected ( #23774 )
2020-05-28 00:21:02 +02:00
Shelley Vohr
5d88d0ee74
fix: only bezel frameless windows ( #23779 )
2020-05-27 14:07:24 -07:00
Shelley Vohr
7b0a84477a
fix: weakly reference MenuModel from MenuController ( #23778 )
2020-05-27 13:54:52 -07:00
Shelley Vohr
f78504515b
fix: handle asynchronous URL loading in bw proxy ( #23776 )
2020-05-27 13:50:54 -07:00
Cheng Zhao
ca6a415626
fix: pass correct buffer length ( #23785 )
2020-05-27 10:50:01 -07:00
Electron Bot
f445e0a797
Bump v11.0.0-nightly.20200527
2020-05-27 08:32:31 -07:00
Jeremy Judeaux
204f001c5d
feat: add desktopCapturer.getMediaSourceIdForWebContents() to get stream source id from web contents ( #22701 )
...
* feat: add desktopCapturer.getMediaSourceIdForWebContents() to get stream source id from web contents
* Cleanup from #22701 PR comments
2020-05-26 16:34:24 -04:00
Electron Bot
dc72f74020
chore: bump chromium to 580fe983e138952553cd6af11ee8b (master) ( #23379 )
...
* chore: bump chromium in DEPS to 5ce64b91b4d6a78c97480059f15ff6469fc0918e
* chore: bump chromium in DEPS to e74c73d0000f81b3f40a513176c8d024bba57d28
* chore: bump chromium in DEPS to 501640e650d4657ba63db65fa257e4a899168de7
* chore: bump chromium in DEPS to 00db20e1bc3d77706723a87ada3c1c647a1c37b7
* chore: update patches
* refactor: AddNewContents now takes a target_url
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2167732
* chore: SetHostCleanupFinalizationGroupCallback has been removed from V8
* refactor: use WebInputEvent::Namespace types directly
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2160523
* refactor: FollowRedirect takes in cors exempt headers now
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2129787
* refactor: printing::DuplexMode moved to mojo
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2162388
* refactor: use MessagePortDescriptor instead of raw mojo::MessagePipeHandles
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1952124
* chore: update patches
* chore: bump chromium in DEPS to f1537676d613f3567cfb43adf577b3847fba4bc3
* chore: update patches
* refactor: service_manager::BinderMapWithContext merged into mojo::BinderMap
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2174654
* chore: unused argument removed from ReadAvailableTypes in ui::Clipboard
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2173666
* chore: bump chromium in DEPS to 949888433ab935dd6125c107226a4c9d6da9bf48
* chore: update patches
* update patches
* chore: update sysroots
* chore: bump chromium in DEPS to eaac5b5035fe189b6706e1637122e37134206059
* chore: bump chromium in DEPS to 258b54b903d33dab963adf59016691e6537f8b70
* build: update patches
* refactor: cursor.mojom and cursor_types.mojom moved to //ui/base/cursor/mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2172874
* chore: DesktopWindowTreeHostLinux becomes DesktopWindowTreeHostPlatform
Refs:
* refactor: LogErrorEventDescription moved from ui to x11
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2164245
* chore: update patches
* chore: bump chromium in DEPS to bd06abcfe807d4461683479237cdd920dafa52ca
* chore: bump chromium in DEPS to 1afb0891e56f1e79d204db43ca053a46d0974511
* chore: bump chromium in DEPS to 5cb0f794bf7f155bf8c0a241b94e01c9d90c2744
* chore: bump chromium in DEPS to 37327ba3303234e1a3cd3310ca11a68e81b95123
* update patches
* remove ClientSideDetectionService from browser_process
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2175320
* refactor: shuttle cursor changed event to WebContentsObserver
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2172779
* chore: bump chromium in DEPS to 1d97904bb6936e106df13705208b73e47367c2b9
* avoid IPC crash introduced earlier in the roll
Refs: b67334e781 (diff-607f4e8f7c5686aa09af98c783925babR128)
* remove WebContentsView::SizeContents
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2188931
* chore: bump chromium in DEPS to 87066d1db0546a9de33952ba964e1e42f76f1dae
* update patches
* adapt to //content creating NetworkContexts
https://chromium-review.googlesource.com/c/chromium/src/+/2195196
* WIP temporarily ignore mojo-ified PrintHostMsg_PrintPreviewFailed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2195343
* add checkout_pgo_profiles to DEPS
* chore: bump chromium in DEPS to a095318bec1dedf580d676f408eaeefdbd9956b1
* add blink's execution_context to electron_lib deps
Refs:
b67334e781 #, https://chromium-review.googlesource.com/c/chromium/src/+/1952124
* update patches
* update patches
* refactor: use newly mojo-ified PrintPreviewFailed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2195343
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: update patches
* chore: remove NOTIFICATION_EXTENSIONS_READY_DEPRECATED
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2199874
* avoid a call to Profile::FromBrowserContext in printing
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2195757
* chore: bump chromium in DEPS to 8f5c6a46861a991e12ffd80554b6bd41a11b0b65
* chore: bump chromium in DEPS to ab66134739ff3b6bdb8de53bbc58a97d1b7b5d8a
* chore: bump chromium in DEPS to dd08df9f6c8d6198f0a7b931ca9e845e27dae033
* chore: update patches
* [printing] Mojofy PrintHostMsg_PrintPreviewCancelled
https://chromium-review.googlesource.com/c/chromium/src/+/2198331
* [printing] Mojofy PrintHostMsg_PrintPreviewInvalidPrinterSettings
https://chromium-review.googlesource.com/c/chromium/src/+/2200556
* [printing] Mojofy PrintHostMsg_DidPrepareDocumentForPreview
https://chromium-review.googlesource.com/c/chromium/src/+/2201496
* fix: inherit base network context params
* fix: use message handle api specific to embedders
* update patches
* chore: update v8 headers
* fixup! avoid a call to Profile::FromBrowserContext in printing
* chore: bump chromium in DEPS to f198bc3276828d992b6202d75a9da6a8363164ea
* chore: update patches
* Remove cors_exempt_headers.h
https://chromium-review.googlesource.com/c/chromium/src/+/2203759
* Supply speech recognition sandbox from service_sandbox_type.h
https://chromium-review.googlesource.com/c/chromium/src/+/2206918
* [content] Remove unused methods from WebContents
https://chromium-review.googlesource.com/c/chromium/src/+/2199113
* [XProto] Replace XAtom with x11::Atom
https://chromium-review.googlesource.com/c/chromium/src/+/2202789
* chore: bump chromium in DEPS to 5df37fabaaed09f3ea511f4ef49203d8ebee7b68
* [UI] Support secondary labels in dropdown menus
https://chromium-review.googlesource.com/c/chromium/src/+/2208976
* chore: update patches
* refactor: GetSublabelAt => GetSecondaryLabelAt
* Revert "[printing] Mojofy PrintHostMsg_DidPrepareDocumentForPreview"
This reverts commit 44ed0892a0c81716229638f17253bbb2cf8f037d.
https://chromium-review.googlesource.com/c/chromium/src/+/2208778
* Unnest CanonicalCookie::CookieInclusionStatus
https://chromium-review.googlesource.com/c/chromium/src/+/2203171
* update print-to-pdf.html with latest html data
https://bugs.chromium.org/p/chromium/issues/detail?id=1085667
* chore: bump chromium in DEPS to 5dfa8d5f706580fe983e138952553cd6af11ee8b
* fix crash in x server when setting window icon
* chore: update patches
* Use a normal return value for WebContentsView::GetContainerBounds.
https://chromium-review.googlesource.com/c/chromium/src/+/2212481
* fix build on windows
* chore: bump chromium in DEPS to 9d15054f4cba060901e43deecf74002f11f47be3
* chore: update patches
* [printing] Mojofy PrintHostMsg_CheckForCancel
https://chromium-review.googlesource.com/c/chromium/src/+/2212181
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: Andy Locascio <andy@slack-corp.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-05-26 13:06:26 -07:00
Electron Bot
2b39111e30
Bump v11.0.0-nightly.20200526
2020-05-26 08:31:30 -07:00
Lukas Weber
2bc85b2579
fix: trigger activate event when app is activated via app switcher ( #23727 )
...
When application is activated thru macOS app switcher (cmd+tab) the
App's activate event is note emitted. The reason is that
`applicationShouldHandleReopen:hasVisibleWindows:` is sent only when app
is activated via Dock. Using `applicationDidBecomeActive:` is handling
all cases properly.
Co-authored-by: Lukas Weber <luweber@microsoft.com >
2020-05-26 10:58:51 -04:00
Cheng Zhao
0a026cde0c
test: return after inspector connection is closed ( #23763 )
2020-05-26 10:47:49 -04:00
John Kleinschmidt
db5cf816b4
ci: deflake WOA tests ( #23707 )
2020-05-26 10:25:57 -04:00
Cheng Zhao
08f288faf1
test: use WebContents event to test beforeunload ( #23699 )
2020-05-26 09:21:38 -04:00
Cheng Zhao
0dabd5e8c7
test: more logging in node inspector test ( #23746 )
2020-05-26 10:20:16 +09:00
Electron Bot
2029ff1903
Bump v11.0.0-nightly.20200525
2020-05-25 08:32:17 -07:00
Samuel Attard
9bc5e98238
chore: tsify more of lib ( #23721 )
...
* chore: tsify more of lib
* Update lib/browser/api/session.ts
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
2020-05-22 12:46:22 -07:00
Shelley Vohr
762f7bcca2
refactor: use typeutils for nativeImage serialization ( #23693 )
2020-05-22 08:56:57 -07:00
Electron Bot
75847a0c5b
Bump v11.0.0-nightly.20200522
2020-05-22 08:32:12 -07:00
Samuel Attard
e3c2ec9f7c
chore: remove unused isolated-world-args ( #23716 )
2020-05-21 20:11:58 -07:00
Cheng Zhao
fdf40ce07a
fix: read GTK dark theme setting on Linux ( #23678 )
2020-05-21 15:41:25 -07:00
Florian Keller
82924679fe
docs: Explain console-message parameters ( #23661 )
2020-05-21 15:39:51 -07:00
Erick Zhao
f373cc770f
docs: remove app feedback program doc ( #23673 )
2020-05-21 15:39:13 -07:00
Shelley Vohr
78d74bf8b4
fix: trigger about panel for about role on on win ( #23687 )
2020-05-21 15:38:26 -07:00
Samuel Attard
5ed2512881
fix: support 10-x-y in the release notes generator ( #23709 )
2020-05-21 13:55:27 -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
Jeremy Apthorp
5bdf97e7ae
test: hide child windows in webview spec ( #23682 )
2020-05-21 11:46:17 -04:00
Cheng Zhao
3137d5f011
test: multiple processes may crash in crashReporter test ( #23695 )
2020-05-21 11:43:47 -04:00
Electron Bot
4114281b62
Bump v10.0.0-nightly.20200521
2020-05-21 08:31:34 -07: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
Shelley Vohr
4b23a85475
refactor: correctly serialize nativeImage/buffer with typeUtils ( #23666 )
...
* refactor: correctly serialize nativeImage/buffer with typeUtils
* test: add serialization specs
* fix: construct from dataURL
* test: test for dataURL specificity
2020-05-20 13:42:42 -07:00
Alexey Kuzmin
33d6a99d40
test: call "expect()" on a correct call stack ( #23675 )
2020-05-20 22:18:48 +02:00
LuoJinghua
9d851b8791
net: Don't ignore the referer header in net.request ( #23386 )
2020-05-20 13:28:38 -04:00
Jeremy Apthorp
0a481242f0
fix: wrap EmitWarning with HandleScope ( #23667 )
2020-05-20 09:44:27 -07:00
Electron Bot
84888bb1f1
Bump v10.0.0-nightly.20200520
2020-05-20 08:31:37 -07:00
Jeremy Apthorp
8de06f0c57
feat: deprecate uncompressed crash uploads ( #23598 )
2020-05-19 13:47:21 -07:00
Jeremy Apthorp
bca071f428
docs: note no planned breaking changes for v11 ( #23638 )
2020-05-19 15:39:51 -04:00
Jeremy Apthorp
de44d28c8e
refactor: ginify Session ( #23569 )
2020-05-19 10:18:12 -07:00
Jeremy Apthorp
3f3a760a01
test: bind to 127.0.0.1 in contextBridge spec ( #23639 )
2020-05-19 10:17:40 -07:00
Jeremy Apthorp
27d7eb3880
docs: remove note about experimental nature of sandbox ( #23651 )
2020-05-19 10:17:31 -07:00
Jeremy Apthorp
393b637e9e
test: attempt to track down "illegal access" error ( #23645 )
...
* test: attempt to track down "illegal access" error
* how does electron formed
2020-05-19 12:29:36 -04:00
Electron Bot
33bd218df9
Bump v10.0.0-nightly.20200519
2020-05-19 08:32:19 -07:00
Cheng Zhao
82da234650
test: disable parallel/test-worker-sharedarraybuffer-from-worker-thread ( #23652 )
2020-05-19 07:57:28 -07:00
Sofia Nguy
ce53c35e1d
docs: update currently supported versions for 9.0.0 release ( #23510 )
...
* docs: update currently supported versions for 9.0.0 release
* update supported version numbers back to xy format
2020-05-19 09:22:38 -05:00
Sofia Nguy
82f89c8206
docs: update 10.0 stable release date ( #23511 )
...
* docs: update 10.0 stable release date
* add bullet for reference to chrome's schedule
* update node version
2020-05-19 09:22:22 -05:00
Cheng Zhao
38a04214e0
fix: make sure hunspell file is not destroyed in UI thread ( #23631 )
2020-05-19 09:55:23 -04:00
Jeremy Apthorp
01579cc8ed
test: add retries to another beforeunload test ( #23644 )
2020-05-19 11:06:19 +09:00
Jeremy Apthorp
c00103d274
test: fix multiple connections in inspector test ( #23648 )
...
* test: fix multiple connections in inspector test
* debug log
2020-05-19 11:05:49 +09:00
John Kleinschmidt
89441caad4
build: save mksnapshot args on Windows ( #23634 )
2020-05-18 15:42:23 -04:00
Jeremy Apthorp
7e841ceb5c
refactor: tsify net module ( #23618 )
2020-05-18 10:22:48 -07:00
John Kleinschmidt
8879a3db58
ci: use longer mocha timeout on WOA testing ( #23633 )
2020-05-18 12:33:54 -04:00
Shelley Vohr
ee0f67d541
fix: nativeImage remote serialization ( #23543 )
...
We weren't serializing nativeImages properly in the remote module, leading to gin conversion errors when trying to, for example, create a new context menu in the renderer with icons using nativeImage. This fixes that by adding a new special case to handle them.
2020-05-18 09:29:24 -07:00
Electron Bot
eb341b383d
Bump v10.0.0-nightly.20200518
2020-05-18 08:31:53 -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
Jeremy Apthorp
8bbb68be79
test: retry beforeunload test ( #23576 )
2020-05-18 11:04:41 -04:00
Shelley Vohr
75fd9a3496
refactor: improve MoveItemToTrash error description ( #23589 )
2020-05-17 19:18:34 -07:00
Milan Burda
52b50e6b33
feat: add app render-process-gone event ( #23560 )
2020-05-17 17:05:05 +02:00
Samuel Attard
9d7ba98209
refactor: remove the RenderFrameFunctionStore and use privates to memory manage ( #23592 )
2020-05-15 11:57:40 -07:00
Electron Bot
3cf97d5717
Bump v10.0.0-nightly.20200515
2020-05-15 08:32:47 -07:00
Jeremy Apthorp
8b160d57a6
chore: align crash patch with upstream ( #23595 )
2020-05-14 20:09:02 -07:00
Charles Kerr
2342aaffbd
feat: look harder for a commit's pull request. ( #23593 )
...
PR numbers are almost always listed parenthetically in the commit message;
but when something is committed manually, it could be missing. This change
uses octokit's listPullRequestsAssociatedWithCommit() as a second approach
to finding a commit's PR.
Last night's Releases WG meeting noted that "re-enable pdf viewer" was
missing from the notes. This PR fixes that omission.
2020-05-14 18:50:39 -05:00
Alexey Kuzmin
092eec8459
build: remove unused header from a patch ( #23585 )
2020-05-14 09:41:21 -07:00
Electron Bot
db94712227
Bump v10.0.0-nightly.20200514
2020-05-14 08:32:33 -07:00
Milan Burda
4afc756094
feat: add contents.getBackgroundThrottling() + backgroundThrottling property ( #21036 )
2020-05-14 15:11:45 +02:00
Milan Burda
7656480247
test: remove usage of the remote module from tests ( #23571 )
2020-05-14 00:33:37 +02:00
Jeremy Apthorp
6282487245
fix: exclude crashpad_handler binary on linux ( #23538 )
2020-05-13 15:28:12 -07:00
Jeremy Apthorp
e82bb06336
fix: generate symbols for the correct crashpad handler binary ( #23537 )
2020-05-13 13:54:40 -07:00
Milan Burda
fc468cce3b
test: skip remote module related tests when enable_remote_module = false ( #23557 )
2020-05-13 20:05:44 +02:00
Milan Burda
85fae67966
perf: use type-utils for desktopCapturer.getSources() result serialization ( #23549 )
2020-05-13 19:05:53 +02:00
Electron Bot
508c7ac4f9
Bump v10.0.0-nightly.20200513
2020-05-13 08:31:51 -07:00
Milan Burda
54b6c06062
fix: expose v8util.createIDWeakMap() regardless of enable_remote_module ( #23546 )
2020-05-13 12:10:03 +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
c7b2eb68cf
docs: add documentation on how to use the built-in spellchecker ( #23508 )
2020-05-13 10:25:21 +09:00
Shelley Vohr
3daeec5e3e
fix: run Node.js at-exit callbacks in renderer proc ( #23419 )
2020-05-12 13:09:56 -07:00
John Kleinschmidt
b11836e195
build: use correct v8_context_snapshot_generator in mksnapshot zip ( #23536 )
2020-05-12 14:52:56 -04:00
Cheng Zhao
16b41dc9ff
fix: do not destroy thread in UI thread ( #23495 )
2020-05-12 10:37:51 -07:00
Milan Burda
ef176ce368
build: fix building with enable_remote_module = false ( #23499 )
2020-05-12 18:32:04 +02:00
Electron Bot
633f3c2413
Bump v10.0.0-nightly.20200512
2020-05-12 08:31:37 -07:00
Samuel Attard
7bba36a095
chore: add TRACE calls for heavy ctx bridge methods ( #23501 )
2020-05-11 14:24:43 -07:00
Samuel Attard
34da3bc500
feat: add new render-process-gone event ( #23096 )
2020-05-11 13:42:24 -07:00
Samuel Attard
7f9b7b2e95
chore: clean up context bridge scopes and add specs for internal bridge ( #23334 )
...
* chore: clean up context bridge context scopes
* spec: add specs for internalContextBridge
2020-05-11 13:41:42 -07:00
Samuel Attard
cf635c5fac
docs: add document on contextIsolation ( #23474 )
...
* docs: add document on contextIsolation
* fix lint
* chore: link ctx isolation doc from security doc
2020-05-11 13:01:32 -07:00
Milan Burda
653c36b8c9
test: skip "handles Promise timeouts correctly" when ELECTRON_RUN_AS_NODE is disabled ( #23415 )
2020-05-11 14:19:39 -04:00
Samuel Attard
4af5c55c8d
chore: add DCHECK to ensure extension_system() is not used for in-memory sessions ( #23475 )
2020-05-11 11:13:30 -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
Electron Bot
5951b0ad4b
Bump v10.0.0-nightly.20200511
2020-05-11 08:32:21 -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
Kevin Wang
3866c88aef
Fix outdated Cerebral Debugger link ( #23427 )
2020-05-11 10:53:15 +09:00
Alexey Kuzmin
dc3de49a08
spec: fix conditions for some tests ( #23489 )
2020-05-11 10:46:45 +09:00
Shelley Vohr
6114518463
fix: NSImageName string conversion ( #23467 )
2020-05-11 10:24:45 +09:00
Milan Burda
392ea320cf
build: allow use of BUILDFLAG directives from within JS code ( #20328 )
2020-05-11 01:06:07 +02:00
Milan Burda
f9c04449f4
refactor: SystemPreferences::SetUserDefault ( #23412 )
2020-05-10 00:38:15 +02:00
Pavel Feldman
3c132dc445
chore: handle Browser.close over CDP ( #23436 )
2020-05-08 16:13:32 -07:00
Samuel Attard
091f45b879
chore: fix linting ( #23473 )
2020-05-08 11:30:37 -07:00
Samuel Attard
21900fe4f4
fix: do not initialize any extension related logic in OffTheRecord contexts ( #22772 )
2020-05-08 11:17:28 -07:00
Electron Bot
a3ee61f963
Bump v10.0.0-nightly.20200508
2020-05-08 08:31:44 -07:00
Pavel Feldman
93f6129c80
chore: support --remote-debugging-pipe ( #23433 )
2020-05-07 21:27:55 -07:00
Jeremy Apthorp
06bf0d08dc
fix: crashReporter incompatible with sandbox on Linux ( #23265 )
2020-05-07 13:31:26 -07:00
Shelley Vohr
fc434f136b
fix: multiple extension filters on macOS ( #23409 )
2020-05-07 08:52:56 -07:00
Electron Bot
a4f701f9a5
Bump v10.0.0-nightly.20200507
2020-05-07 08:32:36 -07:00
Shelley Vohr
ba929b4195
chore: remove obsolete cjs assert patch ( #23422 )
2020-05-06 22:47:58 -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
Electron Bot
2a680e107b
Bump v10.0.0-nightly.20200506
2020-05-06 08:32:27 -07:00
John Kleinschmidt
b7e4ed2052
build: update sccache for linux ( #23418 )
2020-05-05 14:38:14 -04:00
szTheory
1611c586ae
docs: fix markdown list item formatting error ( #23368 )
2020-05-05 10:55:27 -07:00
Electron Bot
0d8e8a1113
Bump v10.0.0-nightly.20200505
2020-05-05 08:31:55 -07:00
Robo
bac9ac1163
fix: guard pdf behind correct buildflags ( #23404 )
2020-05-04 13:56:50 -07:00
Sorah Fukumori
f176d2494f
fix: respect system language preferences on Win/macOS ( #23247 )
...
This commit fixes https://github.com/electron/electron/issues/18829
Previously the full preferences set to OS was not given to Chromium.
Also, this commit improves fallback font selection for CJK text.
Chromium uses browser languages to determine fallback fonts on Windows,
especially kanji/han characters in CJK.
For instance, when user sets 'en-US, ja-JP' to Accept-Language,
while Chromium chooses Japanese font for kanji text, but Electron
chooses Chinese font. This is because only the first language was given
to Accept-Language on Electron.
This patch is based on https://github.com/electron/electron/pull/15532
Co-authored-by: Nitish Sakhawalkar <nitsakh@icloud.com >
Co-authored-by: Kasumi Hanazuki <kasumi@rollingapple.net >
Co-authored-by: Nitish Sakhawalkar <nitsakh@icloud.com >
Co-authored-by: Kasumi Hanazuki <kasumi@rollingapple.net >
2020-05-04 10:49:29 -07:00
Electron Bot
45d1ebe961
Bump v10.0.0-nightly.20200504
2020-05-04 08:31:35 -07:00
shelley vohr
0f0cc51b35
refactor: return null when passing empty menu templates ( #23364 )
2020-05-04 08:19:21 -07:00
Electron Bot
59c1c12e0b
Bump v10.0.0-nightly.20200501
2020-05-01 08:33:12 -07:00
Paul Frazee
94eb4ce38e
fix: hold browser_context instead of render_frame_host to fix lifetime issues ( #23271 )
2020-05-01 16:37:01 +09:00
Robo
c438b93f18
fix: ensure guest-embedder map is updated when webview is removed ( #23342 )
...
There are use cases of webview where the container holding the webview is not
actually destroyed first, instead just webview gets removed from DOM, in such
situations the browser process map is not updated accordingly and holds reference
to stale guest contents, and any window operations like scroll, resize or keyboard
events that has to chain through browser embedder will lead to UAF crash.
Ref: https://github.com/microsoft/vscode/issues/92420
2020-04-30 21:33:14 -07:00
Milan Burda
4bbb2fbf1f
chore: remove unused ELECTRON_GET_CONTENT_SCRIPTS ipc handler ( #23371 )
2020-04-30 21:32:08 -07:00
Erick Zhao
2eb6781016
docs: fix autoupdater tutorial API ( #23298 )
2020-05-01 10:54:53 +09:00
Charles Kerr
8bc6b81edc
Remove redundant release note items ( #23335 )
2020-04-30 17:00:59 -07:00
szTheory
43a8dd5b86
docs: fix Chrome Tracing tool link markdown ( #23367 )
2020-04-30 13:46:16 -07:00
Electron Bot
8edc7a1fb1
chore: bump chromium to 0f4170320ff37e971064916aed1dc (master) ( #23285 )
...
* chore: bump chromium in DEPS to 53836640273c3d45b05ad74bdff7323ef0ffc610
* chore: bump chromium in DEPS to 17da1064b910f4170320ff37e971064916aed1dc
* Rename attach_same_site_cookies param to force_ignore_site_for_cookies
https://chromium-review.googlesource.com/c/chromium/src/+/2162209
* chore: update patch indices
* Remove single argument HttpResponseHeaders::AddHeader() method
https://chromium-review.googlesource.com/c/chromium/src/+/2155353
* Rename attach_same_site_cookies param to force_ignore_site_for_cookies
https://chromium-review.googlesource.com/c/chromium/src/+/2162209
* fixup! Remove single argument HttpResponseHeaders::AddHeader() method
* Exchange SandboxType::kInvalid for a CHECK.
https://chromium-review.googlesource.com/c/chromium/src/+/2167995
* chore: fix string type on windows
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-04-30 13:20:44 -07:00
Samuel Attard
096c799e24
docs: rename duplicated interface ( #23362 )
2020-04-30 10:20:34 -07:00
Jeremy Apthorp
8d0a612265
refactor: remove code for non-native extensions shim ( #23340 )
2020-04-30 09:38:09 -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
Electron Bot
64297e17c4
Bump v10.0.0-nightly.20200430
2020-04-30 08:32:19 -07:00
shelley vohr
f50f725a9c
fix: prevent Menu.buildFromTemplate with empty array ( #23308 )
...
Prevent issues with menu creation and subsequent pane focus from menu bar by preventing menus from being created from an empty array. I can't conceive a valid use case for this, since if one wants to remove a menu they should be be passing null to win.setMenu() or calling win.removeMenu(). This issue is also specific to top-level menus, and not submenus, so the new check and exception is scoped to top-level menus.
2020-04-30 08:29:02 -07:00
Electron Bot
448017b9ee
chore: bump node to v12.16.3 (master) ( #23327 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-04-30 08:20:46 -07:00
Robo
e75cb264e9
chore: remove obsolete webview patch ( #23341 )
...
https://chromium-review.googlesource.com/c/chromium/src/+/2135187
has been landed in upstream.
2020-04-29 21:31:37 -07:00
Samuel Attard
075472d6ef
fix: do not leak IPC or context bridge promises ( #23321 )
2020-04-29 15:51:41 -07:00
John Kleinschmidt
088a8256f9
ci: make sure msedge isn't running at end of woa test ( #23332 )
2020-04-29 14:06:38 -04:00
Electron Bot
ad1f341d7a
Bump v10.0.0-nightly.20200429
2020-04-29 08:33:06 -07:00
Robo
ec7942e8b5
fix: build when some buildflags are disabled ( #23307 )
2020-04-28 23:16:10 -07:00
Jeremy Apthorp
3584665a8f
docs: remove sccache info from build instructions ( #23297 )
2020-04-28 09:17:50 -07:00
shelley vohr
6a564af580
refactor: use Node.js isolate setup in node mode ( #23213 )
2020-04-28 09:10:27 -07:00
Electron Bot
a9c17610b5
Bump v10.0.0-nightly.20200428
2020-04-28 08:32:04 -07:00
Samuel Attard
7377bb3736
fix: do not add 104 to the history length ( #23301 )
2020-04-27 15:53:47 -07:00
Samuel Attard
abe5cf398c
refactor: port window.open and window.opener to use ctx bridge instead of hole punching ( #23235 )
...
* refactor: port window.open and window.opener to use ctx bridge instead of hole punching
* refactor: only run the isolated init bundle when webview is enabled
2020-04-27 12:46:04 -07:00
szTheory
c68589f212
docs: menu-item.md remove duplicate options ( #23286 )
2020-04-27 12:05:58 -07:00
shelley vohr
ac5c30a707
fix: missing handlescopes in event emission ( #23140 )
...
* fix: missing event emitter handlescopes
* refactor: add static getter to js env
2020-04-27 11:38:43 -07:00
Electron Bot
9bb8e43c9b
Bump v10.0.0-nightly.20200427
2020-04-27 08:31:56 -07:00
Ben Jaffe
92a3fe175c
docs: add section for how to handle update servers with auth ( #23000 )
...
In some situations, we can't use auto update to communicate with our update server directly, and proxies can be tricky to get working. I spent a loooong time exploring a lot of options before coming across the comment I linked, so It thought it could be beneficial to people like me of the future.
2020-04-27 19:03:18 +09:00
shelley vohr
979c291847
fix: isolate callbacks in node_bindings ( #23261 )
...
* fix: isolate callbacks in node_bindings
* clarify microtask policy comment
2020-04-27 17:03:40 +09: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
Sorah Fukumori
6ab317cc83
style: use build/include_directory for NOLINT ( #23266 )
...
build/include linter was splitted to build/include_directory at
depot_tools upstream.
https://crrev.com/c/2159690
https://crbug.com/1073191
2020-04-24 12:57:41 -07:00
Electron Bot
37db307153
chore: bump chromium to 4563763ef26ad940d4e988d7245dd (master) ( #23219 )
...
* chore: bump chromium in DEPS to 461ecae368fd0832f18e0b13e61f3561d83f0031
* update patches
* update patches
* Remove both vs browser/child split in content gn files.
https://chromium-review.googlesource.com/c/chromium/src/+/2157965
* chore: bump chromium in DEPS to 7ff3897f3104563763ef26ad940d4e988d7245dd
* update patches
* update patches
* Add ElectronKioskDelegate for extensions
https://chromium-review.googlesource.com/c/chromium/src/+/2159760
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-04-23 21:55:17 -04:00
Jeremy Apthorp
176a120ec2
test: fix crashReporter test on woa ( #23242 )
...
* test: fix crashReporter test on woa
* disable some tests on woa
2020-04-23 16:08:50 -04:00
Cheng Zhao
cb6a1e2c5e
fix: set default menu in will-finish-launching event ( #23214 )
2020-04-23 10:51:31 -07:00
Electron Bot
69ccf94d45
Bump v10.0.0-nightly.20200423
2020-04-23 08:31:53 -07:00
John Kleinschmidt
8b0dcfaa74
ci: robustify doc only change check ( #23237 )
2020-04-23 11:01:30 -04:00
Samuel Attard
8262f24fd8
fix: do not mutate ipc instances across contexts ( #23236 )
2020-04-22 16:36:15 -07:00
Jeremy Apthorp
6fa05dd123
test: refactor crashReporter tests ( #23178 )
2020-04-22 15:53:12 -07:00
Samuel Attard
375b793984
fix: do not allow child windows to specify their own preload script ( #23226 )
2020-04-22 12:43:21 -07:00
Samuel Attard
96bf9ce77f
refactor: port parts of window-setup to use ctx bridge instead of being run in the main world ( #23194 )
...
* refactor: port parts of window-setup to use ctx bridge instead of being run in the main world
* chore: update ctx bridge specs for new base numbers
2020-04-22 12:42:51 -07:00
Samuel Attard
9d60cfa6fc
fix: do not double-declare webPreferences ( #23223 )
2020-04-22 11:06:30 -07:00
Jeremy Apthorp
c798a6e5d1
fix: block custom window.open when nativeWindowOpen is true ( #23188 )
2020-04-22 10:48:54 -07:00
Electron Bot
3ac4fa85dd
Bump v10.0.0-nightly.20200422
2020-04-22 08:32:17 -07:00
Samuel Attard
0cbcee6740
fix: ensure that functions are not retained beyond their context being released ( #23207 )
2020-04-21 18:05:01 -07:00
loc
aca2e4f968
refactor: improve feature string parsing ( #23130 )
...
* test: add pre-change snapshot of new-window event
* move to .ts file for easier diff
* refactor: improve feature string parsing logic
* test: update snapshots
* update type names per review
* update comma-separated parse test
* use for loop instead of reduce per review
* tighten up types
* avoid variable guest contents id returnValue in test snapshot
2020-04-21 16:23:00 -04:00
Iván Montes
b3909f5600
fix: moveAbove not working on Windows ( #23161 )
...
* fix moveAbove on Windows systems
The documentation for [setWindowPos](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowpos ) second argument `hWndInsertAfter` is a bit confusing...
> A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
Since Windows refers to the Z order from low to high it means that the window provided as reference will always _precede_ the electron window, which is the opposite of what we want in this function, since the electron window is displayed behind the referenced window.
The change is simply to ask `SetWindowPos` to position our window *behind* the window that's *above* the reference window, effectively making our window sit just above the reference one.
* lint
2020-04-21 15:58:38 -04:00
loc
a041882192
test: add test for datalist autofills ( #23110 )
...
* test: add test for datalist autofills
* address style nits
* move fixture to spec-main
2020-04-21 12:28:31 -07:00
loc
cd0dda0125
fix: allow blocking IO for setAppLogsPath to avoid DCHECK ( #23111 )
...
* fix: let setAppLogsPath write to disk on UI thread
Otherwise, the DCHECK in thread_restrictions will fire.
* scope the io allowance more tightly
* oops, scope it tightly in the mac version too
2020-04-21 12:28:01 -07:00
Charles Kerr
07654c47ec
fix: use Node's microtasks policy in node_main.cc ( #23153 )
...
Fixes #21515 .
2020-04-21 12:18:22 -07:00
Samuel Attard
3ada079fe3
docs: update versioning doc for new major-x-y format ( #23176 )
2020-04-21 12:17:37 -07:00
Electron Bot
6e8446d06d
chore: bump chromium to a70ba0e79c1551239beb37961f643 (master) ( #23199 )
...
* chore: bump chromium in DEPS to 4b8b82c4e48a70ba0e79c1551239beb37961f643
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-04-21 14:10:23 -04:00
Shelley Vohr
f3dc3997b1
feat: support fullScreen BrowserWindow property ( #23145 )
2020-04-20 20:25:18 -07:00
Robo
928e23a263
fix: cherry-pick 04dab5a91b61 from chromium ( #23179 )
...
* [LayoutNG] Make HitTestResult::LocalPoint() for inline element as same as legacy layout
https://chromium-review.googlesource.com/c/chromium/src/+/2151775
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-04-20 18:33:40 -07:00
Electron Bot
1bbb407dc9
chore: bump chromium to 2600291d041c530698616a4716cdf (master) ( #23122 )
...
* chore: bump chromium in DEPS to 99e60beb593ecf98f8a441e3f03a13b68cfcb311
* update patches
* chore: bump chromium in DEPS to b1abadda21f417ba5e8276c4dd779d31445d16cd
* update patches
* 2146532: gtkui: Fix standalone Ozone/Wayland configuration
https://chromium-review.googlesource.com/c/chromium/src/+/2146532
* 2145152: Pass source URL when setting a cookie
https://chromium-review.googlesource.com/c/chromium/src/+/2145152
* lint
* chore: bump chromium in DEPS to 8897189f1da5a3670bbe32d343767fd71f80d779
* chore: bump chromium in DEPS to 8ac51eeee93a02ed5b81f47e28627079edeecde0
* chore: bump chromium in DEPS to e897b8003f3a5f3c8d654eee9b03c513046ae7ea
* chore: bump chromium in DEPS to 7b80f9c82122600291d041c530698616a4716cdf
* Update patches
* Move definition of WebInputEvent enums into mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2152777
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-04-20 20:25:38 -04:00
Shelley Vohr
ba3928103f
spec: fix type errors in devToolsWebContents ( #23187 )
2020-04-20 16:51:27 -07:00
Jeremy Apthorp
b17cb62287
build: fix crashpad+asan ( #23180 )
2020-04-20 14:50:10 -07:00
Jeremy Apthorp
e65cac6ae8
refactor: remove extra args from crashreporter init ( #23144 )
2020-04-20 14:44:09 -07:00
loc
554830b6ff
fix: explicitly mark unlimited requests as max priority ( #23118 )
...
It's done for us implicitly here, but doing it ourselves avoids the DCHECK.
```
if ((load_flags_ & LOAD_IGNORE_LIMITS) != 0)
SetPriority(MAXIMUM_PRIORITY);
```
Refs: https://source.chromium.org/chromium/chromium/src/+/master:net/url_request/url_request.cc;l=433;drc=0e1e59c69a449885aa58c403e05feb8274a67c3b;bpv=1;bpt=1
2020-04-20 12:16:34 -07:00
John Kleinschmidt
5f2746c48b
docs: update code of conduct ( #23137 )
...
Update code of conduct to Contributor Covenant v2.0 in accordance with Electron joining the OpenJS foundation
2020-04-20 14:52:58 -04:00
Erick Zhao
a3ff5a810e
docs: remove GitHub references ( #23136 )
2020-04-20 08:33:00 -07:00
Electron Bot
27aa76f058
Bump v10.0.0-nightly.20200420
2020-04-20 08:31:48 -07:00
Jeremy Apthorp
f6e8edfb3d
chore: rename renderer_ipc.cc to ipc_renderer.cc ( #23125 )
2020-04-20 08:18:15 -07:00
Shelley Vohr
656d371b1b
docs: fix devToolsWebContents union type ( #23143 )
2020-04-20 08:08:51 -07:00
Electron Bot
41b514f088
Bump v10.0.0-nightly.20200417
2020-04-17 08:31:42 -07:00
Shelley Vohr
8b2e863a30
fix: wasm codegen in script.runInNewContext ( #23129 )
2020-04-16 18:46:09 -07:00
Jeremy Apthorp
2541d62486
chore: remove disable_user_gesture... patch ( #23066 )
2020-04-16 15:22:39 -07:00
Samuel Attard
e4c82fdf2d
Merge pull request from GHSA-h9jc-284h-533g
2020-04-16 14:10:18 -07:00
Shelley Vohr
d0f19d8369
fix: diagnostic reporting capabilities in Node.js ( #23126 )
2020-04-16 14:07:00 -07:00
Shelley Vohr
826e749e2b
chore: shrink boringssl patch ( #23101 )
2020-04-16 10:54:15 -07:00
Felix Rieseberg
7d9e4a74c4
docs: Improve the codesigning docs ( #22838 )
...
* docs: Improve the codesigning docs
* docs: Clarify builder notarization
* Update docs/tutorial/code-signing.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/code-signing.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/code-signing.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/code-signing.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/code-signing.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/code-signing.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/code-signing.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/code-signing.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/code-signing.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/code-signing.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2020-04-16 10:30:33 -07:00
Shelley Vohr
37e92b7650
docs: explain the swipe event on macOS ( #23117 )
2020-04-16 09:16:11 -07:00
Electron Bot
5947ead591
Bump v10.0.0-nightly.20200416
2020-04-16 08:32:54 -07:00
Jeremy Apthorp
5f43c829a0
fix: deinit platform before resetting node env ( #23116 )
2020-04-15 15:30:13 -07:00
Jeremy Apthorp
111f9155e0
fix: add missing handle scope in file_dialog_gtk ( #23109 )
2020-04-15 10:45:32 -07:00
Electron Bot
4ee3c871f3
Bump v10.0.0-nightly.20200415
2020-04-15 08:31:47 -07:00
Electron Bot
e145fcb3f0
chore: bump chromium to 8f405dc5d5e416ffaf640aa3d088a (master) ( #23107 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-04-14 17:14:38 -07:00
Shelley Vohr
f395775eb1
ci: fix v8 cppgc file in wrong location ( #23112 )
2020-04-14 14:27:11 -07:00
Jeremy Apthorp
aeaccd00a2
feat: crashReporter: expose rateLimit and compress options ( #23062 )
2020-04-14 10:36:31 -07:00
Electron Bot
fdf7e288bb
chore: bump node to v12.16.2 (master) ( #23057 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-04-14 09:59:03 -07:00
Electron Bot
701c5c90fa
Bump v10.0.0-nightly.20200414
2020-04-14 08:32:13 -07:00
Shelley Vohr
e95075f2fe
build: fix nightly release copy ( #23097 )
2020-04-14 11:14:21 -04:00
Electron Bot
3e8d77d564
chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) ( #22999 )
...
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-04-13 16:39:26 -07:00
Samuel Attard
b8c1709a88
build: rename atom.ico to electron.ico ( #23099 )
2020-04-13 16:07:27 -07:00
Samuel Attard
b03bd8c45c
chore: rename atom things to electron things in our docs / scripts ( #23100 )
2020-04-13 14:32:29 -07:00
Samuel Attard
0e86163a3e
build: rename atom.rc to electron.rc ( #23098 )
2020-04-13 14:28:59 -07:00
Shelley Vohr
714d6c536f
chore: remove discouraged base::Passed ( #22871 )
...
Closes #12640 .
Remove discouraged base::Passed from Bind calls.
2020-04-13 13:52:07 -07:00
Jeremy Apthorp
658f8d0abb
chore: remove patch: fix_breakpad_symbol_generation_on_linux_arm ( #23076 )
2020-04-13 15:41:25 -04:00
Jeremy Apthorp
905504852e
build: improve patch filename remembering ( #23070 )
2020-04-13 12:46:15 -04:00
loc
5154e8ff75
fix: enable workaround for nativeWindowOpen hang ( #22825 )
2020-04-13 11:37:41 -04:00
Electron Bot
21c839578f
Bump v10.0.0-nightly.20200413
2020-04-13 08:33:06 -07:00
CezaryKulakowski
c65f41dfbd
fix: don't assign NSAlert to window which is not visible ( #22672 )
...
* fix: don't assign NSAlert to window which is not visible
Without this change it's possible to create message box which can't
be dismissed on mac.
* fixup! fix: don't assign NSAlert to window which is not visible
* fixup! fix: don't assign NSAlert to window which is not visible
2020-04-13 17:25:55 +09:00
Anders Kaseorg
1746ae8c35
fix: do not ignore electron exit signals in cli.js wrapper ( #22878 )
...
When the electron child process exits with a signal, the close event
handler receives code null and the cli wrapper would silently exit
successfully. Fix it to log a message and exit with a nonzero code in
this case.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2020-04-13 15:49:01 +09:00
Jeremy Apthorp
27d6266b2d
chore: remove export_fetchapi... patch ( #23067 )
2020-04-10 10:23:55 -07:00
Electron Bot
95e3e82d10
Bump v10.0.0-nightly.20200410
2020-04-10 08:31:19 -07:00
Jeremy Apthorp
9e8ee3c899
fix: reset node env earlier during shutdown ( #23039 )
2020-04-09 16:40:58 -07:00
Robo
abbe7417f2
chore: fix type check in systemPreferences module specs ( #23064 )
2020-04-09 15:55:47 -07:00
Samuel Attard
9fb06b923b
docs: fix type definition for setUserDefault ( #23002 )
2020-04-09 12:10:18 -07:00
John Kleinschmidt
2f33a040f8
build: update patches ( #23061 )
2020-04-09 12:05:48 -07:00
Andrea Brancaleoni
ff21444429
build: implement zip64 stripping ( #22998 )
...
When zip contains files larger than 4GB 4bytes length headers are
not sufficient anymore. Zip64 defines an extra header 0x0001 which
may contain 8byte lengthed (16 exabytes) lengths [uncompressed and compressed].
Read this value when performing extra data cleaning and override the
bogus value if the header is available.
Read https://blog.yaakov.online/zip64-go-big-or-go-home/ for more
information on Zip64 extra header.
This is the first known implementation of zip64 stripping.
2020-04-09 10:39:46 -07:00
Jeremy Apthorp
f4cf23f6ac
ci: ignore exit code of update-index ( #23036 )
2020-04-09 09:40:46 -07:00
Electron Bot
80b780f277
Bump v10.0.0-nightly.20200409
2020-04-09 08:32:52 -07:00
John Kleinschmidt
23ae0e6bd8
chore: remove no longer needed debugging patch ( #23030 )
2020-04-09 10:30:02 -04:00
Cheng Zhao
ca947307db
chore: make WebContentsView take webPreferences as parameter ( #22997 )
...
* chore: add WebContentsView.webContents helper
* chore: no need to handle webContents option
* chore: Create WebContentsView in C++
* chore: make WebContentsView accept web_preferences
* fix: nativeWindowOpen still passes WebContents to BrowserWindow
* chore: no more need of WebContentsViewRelay
* test: WebContentsView now takes options
* fix: avoid creating 2 constructors
2020-04-09 16:01:16 +09:00
Shelley Vohr
de893360f7
fix: missing HandleScope in OnDownloadPathGenerated ( #23005 )
2020-04-08 12:47:43 -07:00
Jeremy Apthorp
29f773e008
ci: auto-3way patches and detect changes ( #22976 )
2020-04-08 08:59:14 -07:00
Electron Bot
fd3488f0bf
Bump v10.0.0-nightly.20200408
2020-04-08 08:32:12 -07:00
Andrea Brancaleoni
5b8abe953f
build: strip local/dbg symbols, from Linux binaries ( #22968 )
...
Non full stripping seems to be the cause of limited
non-determinism. Employ similar default as macOS when
stripping away symbols.
--disacard-all Remove all local symbols (saving only global symbols).
--strip-debug Remove the debugging symbol table entries (those created by the -g option to cc(1) and other compilers).
2020-04-08 11:29:14 -04:00
Shelley Vohr
54f8c4e6a3
fix: nullptr check when closing windows ( #22948 )
2020-04-07 20:41:14 -07:00
Shelley Vohr
a7469f82ac
fix: persist maximizable state when toggling fullscreen ( #22988 )
2020-04-07 20:40:32 -07:00
Felix Rieseberg
b4447be037
docs: Update the "Electron vs NW.js" document ( #22836 )
...
* docs: Update the "Electron vs NW.js" document
* Update docs/development/electron-vs-nwjs.md
Co-Authored-By: Charles Kerr <ckerr@github.com >
* Update docs/development/electron-vs-nwjs.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/development/electron-vs-nwjs.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Charles Kerr <ckerr@github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2020-04-07 18:31:40 -07:00
Jeremy Apthorp
6bf83e9244
docs: note that shell can't be used in sandboxed renderers ( #22974 )
2020-04-07 09:55:01 -07:00
Electron Bot
468994bf6a
Bump v10.0.0-nightly.20200407
2020-04-07 08:31:39 -07:00
Samuel Attard
0d2e967960
feat: expose electron/{process} typed modules ( #22937 )
...
* feat: expose electron/{process} typed modules
* chore: update imports for common modules
* chore: update typescript generator
* chore: remap electron/* to the internal packages
2020-04-06 17:04:09 -07:00
Jeremy Apthorp
5b53f1a39c
build: set merge=union for .patches ( #22985 )
2020-04-06 15:15:35 -07:00
Electron Bot
ccf70326c0
chore: bump chromium to 1ba9678489174a6123358a7683f37 (master) ( #22719 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Andy Locascio <andy@slack-corp.com >
2020-04-06 13:09:52 -07:00
Electron Bot
c85d71903f
Bump v10.0.0-nightly.20200406
2020-04-06 08:31:36 -07:00
Electron Bot
570f4d7272
Bump v10.0.0-nightly.20200403
2020-04-03 08:33:29 -07:00
Shelley Vohr
5c2299cbe6
fix: webframe crashes for removed render frame ( #22925 )
...
* fix: webframe crashes for removed render frame
* Make errors more descriptive
2020-04-02 19:59:19 -07:00
Jeremy Apthorp
0a78ab4b98
refactor: ginify DownloadItem ( #22924 )
2020-04-02 17:22:46 -07:00
Jeremy Apthorp
6159066c26
refactor: ginify Menu ( #22916 )
2020-04-02 16:07:56 -07:00
Samuel Attard
1d158399a6
feat: expose the sameSite value for cookies ( #22789 )
...
* feat: expose the sameSite value for cookies
* Apply suggestions from code review
Co-Authored-By: Charles Kerr <ckerr@github.com >
* Apply suggestions from code review
Align with cookie samesite values for the extensions API
https://developer.chrome.com/extensions/cookies#type-SameSiteStatus
* chore: add tests for sameSite cookies get/set
* chore: update docs parser
* chore: update docs for MessageChannel and MessagePort to have correct process information
* chore: remove LOG warning
* chore: throw error if the string->samesite conversion fails
Co-authored-by: Charles Kerr <ckerr@github.com >
2020-04-02 11:28:43 -07:00
Shelley Vohr
2ce8dff175
fix: undo and redo broken in webviews ( #22911 )
...
When propagating the undo and redo events from the menu, Chromium was not
properly sending the events to the focused WebContents. This fixes that by ensuring that the events are sent to the proper WebContents.
2020-04-02 10:05:05 -07:00
Samuel Attard
22fb4f85e5
docs: document what experimental means explicitly ( #22893 )
...
* docs: document what experimental means explicitly
* Apply suggestions from code review
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org >
* Update experimental.md
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
2020-04-02 09:32:18 -07:00
Electron Bot
429a2f4fe8
Bump v10.0.0-nightly.20200402
2020-04-02 08:32:20 -07:00
Electron Bot
8c632dc747
Bump v10.0.0-nightly.20200401
2020-04-01 08:31:28 -07:00
Shelley Vohr
da67cbf551
feat: add property support for remainder of BrowserWindow ( #22771 )
...
Adds property-based support for the remainder of primitive gette/setter pairs on `BrowserWindow`.
Namely:
- `win.simpleFullScreen`
- `win.title`
- `win.visibleOnAllWorkspaces`
- `win.documentEdited`
- `win.representedFilename`
- `win.shadow`
- `win.kiosk`
- `win.menuBarVisible`
2020-04-01 08:22:32 -07:00
Jeremy Apthorp
5715e94db0
docs: clarify app.enableSandbox documentation ( #22894 )
2020-04-01 11:20:37 -04:00
Andrea Brancaleoni
884b46fce7
fix: strip extra data from release zips ( #22891 )
2020-04-01 10:14:41 -04:00
Cheng Zhao
14051ff945
test: do not trigger unhandled promise rejections ( #22922 )
2020-04-01 09:45:39 -04:00
Cheng Zhao
e6f2605ad0
fix: webRequest module should work with file:// protocol ( #22903 )
...
* fix: override file:// instead of intercepting
* test: webRequest module should work with file://
* fix: service work with file:// url
* fix: original_response_headers can be null
* fix: only register file:// when necessary
2020-04-01 16:38:40 +09:00
Robo
bac1c7f532
fix: ensure standard schemes are registered in nw service process ( #22867 )
...
* fix: ensure standard schemes are registered in nw service process
Refs https://github.com/electron/electron/pull/20546
* chore: add test
* chore: apply suggestions from code review
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org >
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
2020-03-31 19:33:16 -07:00
Cheng Zhao
d74ad631e7
chore: there is no need to define _init ( #22882 )
2020-03-31 14:50:03 -07:00
Samuel Attard
4ba91c938e
fix: screen module should still be creatable if the first create is before the ready event ( #22895 )
2020-03-31 14:49:15 -07:00
Jeremy Apthorp
765c08c600
refactor: ginify Notification ( #22821 )
2020-03-31 11:42:32 -07:00
John Kleinschmidt
629465aac7
ci: cleanup extraneous release tests ( #22892 )
...
* ci: cleanup extraneous release tests
* Temporarily setup nightly ci to run on demand
* Revert "Temporarily setup nightly ci to run on demand"
This reverts commit 21e50d4f57 .
2020-03-31 14:18:43 -04:00
Electron Bot
51c2af4df5
Bump v10.0.0-nightly.20200331
2020-03-31 08:32:43 -07:00
Charles Kerr
33ef0d23a6
docs: minor grammar & spelling fixes ( #22851 )
...
* docs: fix minor grammar error 'punctuations'
* docs: fix minor grammar error pluralizing Chromium
* docs: fix typo 'updateCurrentActiviy'
* docs: use consistent spelling of 'behavior'
* docs: use 'macOS' instead of 'Mac OS' or 'OS X'.
* docs: use 'GTK' instead of 'GTK+'
https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html
* docs: minor capitalization: use 'TCP' not 'tcp'
* Update docs/development/build-instructions-linux.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-03-31 13:06:25 +09:00
Samuel Attard
fea3366bc7
fix: propagate preferred color scheme to the renderer ( #22896 )
...
* fix: do not crash if the window is closed syncronously with a nativeTheme change
* fix: propogate preferred color scheme to the renderer and keep it up to date
2020-03-30 15:39:50 -07:00
Shelley Vohr
212b47a77b
docs: enumerate deprecation policy ( #22859 )
...
* docs: enumerate deprecation policy
* Address @MarshallOfSound feedback
2020-03-30 15:57:14 -04:00
Sofia Nguy
e94a573f29
docs: update Electron 9 release date ( #22863 )
2020-03-30 15:56:20 -04:00
John Kleinschmidt
be5511393b
ci: use smaller vms for testing since we are using goma ( #22887 )
2020-03-30 15:46:42 -04:00
Jeremy Apthorp
98e5836eb6
chore: update PR template to suggest 'none' instead of no-notes ( #22864 )
2020-03-30 10:13:26 -07:00
Shelley Vohr
b14608c2c1
fix: dialog fails to show after modal close ( #22858 )
2020-03-30 09:48:20 -07:00
Electron Bot
c085d3bf12
Bump v10.0.0-nightly.20200330
2020-03-30 08:32:20 -07:00
Samuel Attard
6ecf729487
feat: default gtk darkTheme option to nativeTheme.shouldUseDarkColors for better platform support ( #20138 )
...
* feat: default gtk darkTheme option to nativeTheme.shouldUseDarkColors for better platform support
* chore: update syntax for PR feedback
* refactor: only define SetGTKDarkThemeEnabled when needed
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-03-30 15:02:16 +09:00
Jeremy Apthorp
a3e28788ce
refactor: ginify Tray ( #22822 )
...
* refactor: ginify Tray
* lint
* improve argument parsing logic
* remove redundant imports from tray.js
* new Tray produces an instanceof Tray
* make Constructible generic
* lint
* clean up on exit
2020-03-30 10:32:02 +09:00
Cheng Zhao
76ae3b7ecb
chore: remove unused classes of views API ( #22861 )
...
* chore: remove unused views API classes
* chore: remove LayoutManager code
* chore: no more need to make View inherit from TrackabeObject
* chore: make enable_view_api default to true
* chore: enable_view_api => enable_views_api
2020-03-28 15:44:57 +09:00
Electron Bot
d5cae424d8
Bump v10.0.0-nightly.20200327
2020-03-27 08:33:03 -07:00
Shelley Vohr
bd5789a12c
fix: missing HandleScope in WebDialogHelper ( #22843 )
2020-03-26 20:37:28 -07:00
Jeremy Apthorp
ac501e8194
fix: heap-use-after-free in tray.popUpContextMenu ( #22842 )
2020-03-26 18:30:21 -07:00
Mark Lee
8ff7a1160a
build: upgrade asar to a version that requires Node 10 ( #22351 )
...
* build(deps-dev): upgrade asar to ^2.1.0
* build(deps-dev): upgrade asar to ^3.0.1
2020-03-27 09:52:53 +09:00
Felix Rieseberg
fb1d2ce733
docs: Burn the about document ( #22839 )
...
* docs: Burn the about document
* docs: Delete reference, too
2020-03-26 18:43:51 -05:00
CezaryKulakowski
f9acfc2252
fix: don't try to hide host which has set flag disable_hidden_ ( #22832 )
...
Lack of this change will lead to freeze after call to hide/show
on window which has set flag disable_hidden_. To reproduce the
problem it's necessary to create some number of windows (how many
it depends on number of windows being cached by Chromium's
FrameEvictionManager).
2020-03-26 14:54:11 -05:00
Heilig Benedek
74372d65ae
feat: enhance native window.open to match the custom implementation's behavior ( #19703 )
...
Co-authored-by: Andy Locascio <andy@slack-corp.com >
2020-03-26 11:05:45 -07:00
Jeremy Apthorp
b1f4ac00f0
docs: categorize breaking changes ( #22834 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-03-26 10:57:55 -07:00
Jeremy Apthorp
e73d5e3db5
refactor: ginify protocol ( #22812 )
2020-03-26 10:34:32 -07:00
Electron Bot
b3d3ac4e0f
Bump v10.0.0-nightly.20200326
2020-03-26 08:32:37 -07:00
Jeremy Apthorp
222022556f
refactor: ginify Cookies ( #22823 )
2020-03-25 15:34:53 -07:00
Jeremy Apthorp
b327478cf0
fix: prevent remote from messing with constructor names ( #22820 )
2020-03-25 13:13:10 -07:00
Electron Bot
746266bd93
Bump v10.0.0-nightly.20200325
2020-03-25 08:32:52 -07:00
CezaryKulakowski
bdef77bad8
fix: don't allow window to go behind menu bar on mac ( #22770 )
2020-03-25 11:13:43 +09:00
Jeremy Apthorp
07cd70a37e
refactor: ginify powerMonitor ( #22751 )
2020-03-24 09:03:29 -07:00
Electron Bot
aeae0d47bd
Bump v10.0.0-nightly.20200324
2020-03-24 08:31:18 -07:00
Samuel Attard
e678794dd0
build: fix beta version bumper logic for betas beyond 10 ( #22810 )
2020-03-24 09:04:12 -04:00
Jeremy Apthorp
4b0d445f74
build: fix missing pdf dep in chromium_src ( #22811 )
2020-03-23 22:29:06 -07:00
Samuel Attard
6b41d86032
Revert "fix: better window hierarchy checks"
...
This reverts commit 8e368a046d .
2020-03-23 19:34:52 -07:00
Samuel Attard
8e368a046d
fix: better window hierarchy checks
2020-03-23 14:13:12 -07:00
Jeremy Apthorp
decbca734f
refactor: ginify net.request ( #22779 )
2020-03-23 13:09:45 -07:00
Electron Bot
d3d7b3eb54
Bump v10.0.0-nightly.20200323
2020-03-23 08:32:19 -07:00
Cheng Zhao
341f643b81
feat: add ImageView ( #22738 )
2020-03-22 19:11:43 +09:00
Samuel Attard
af46c1ed8d
fix: allow net requests to use Same-Site cookies ( #22788 )
2020-03-20 16:39:03 -07:00
Samuel Attard
60bd52880f
feat: add support for net requests to use the session cookie store ( #22704 )
2020-03-20 15:56:02 -07:00
Jeremy Apthorp
07a049ef1b
chore: stop leaking v8 environment ( #22761 )
2020-03-20 14:15:55 -07:00
Jeremy Apthorp
22c17bcc5b
refactor: ginify ServiceWorkerContext ( #22756 )
2020-03-20 14:15:14 -07:00
Samuel Attard
5d657dece4
build: enable JS semicolons ( #22783 )
2020-03-20 13:28:31 -07:00
Shelley Vohr
24e21467b9
fix: print from PDF viewer not working ( #22760 )
2020-03-20 09:46:13 -07:00
Electron Bot
9d4714f111
Bump v10.0.0-nightly.20200320
2020-03-20 08:31:45 -07:00
Samuel Attard
b87b501161
build: update eslint + eslint plugins ( #22777 )
...
* build: run eslint --fix
* chore: manually fix all hasOwnProperty errors
* chore: manually fix all void 0 vs undefined errors
* chore: manually fix all async-in-promise errors
* chore: manually fix lexical declaration in case block
2020-03-20 11:12:18 -04:00
Cheng Zhao
42f138282f
refactor: move set_owned_by_client calls to base View ( #22739 )
...
* refactor: move set_owned_by_client() to WebContentsView
* refactor: do set_owned_by_client() in View
2020-03-20 15:41:41 +09:00
Samuel Attard
aa15a2cc03
build: update typescript and webpack ( #22776 )
2020-03-19 16:55:49 -07:00
Jeremy Apthorp
f1a0d5e811
refactor: ginify globalShortcut ( #22755 )
2020-03-19 14:33:45 -07:00
Jeremy Apthorp
a824e12275
refactor: ginify desktopCapturer ( #22746 )
2020-03-19 11:35:11 -07:00
Shelley Vohr
9aa27e1709
fix: add missing pdfTwoUpViewEnabled status ( #22735 )
2020-03-19 09:27:18 -07:00
loc
087b8a5bd9
chore: add @loc to manual backport config ( #22748 )
2020-03-19 10:44:42 -04:00
Cheng Zhao
47e27aee5b
test: no need to loadURL in menu test ( #22737 )
2020-03-19 10:49:40 +09:00
Samuel Attard
b2dc0a4f11
build: auto-generate the codesigning cert used for macOS CI testing runs ( #17668 )
...
* build: auto-generate the codesigning cert used for macOS CI testing runs
* build: give the cert ALL the trust values
* chore: also import public key
* idek
2020-03-19 10:00:42 +09:00
Jeremy Apthorp
c4a7eade28
refactor: ginify session.netLog ( #22732 )
2020-03-18 16:46:05 -07:00
Samuel Attard
e58a35e5aa
chore: fix net specs when rerunning locally ( #22745 )
2020-03-18 16:35:23 -07:00
Samuel Attard
f3fd40c221
fix: prevent crash in ListValue v8 converter when conversion fails ( #22753 )
2020-03-18 13:59:34 -07:00
Jeremy Apthorp
232ca8af39
refactor: EventEmitters without gin_helper ( #22726 )
2020-03-18 12:57:08 -07:00
Shelley Vohr
fc661ec56b
chore: update app module property support ( #22713 )
2020-03-18 10:06:41 -07:00
Samuel Attard
1ea21e42bb
chore: refactor all the net specs to be async with better error handling ( #22731 )
2020-03-18 08:59:44 -07:00
Electron Bot
366744d5a0
Bump v10.0.0-nightly.20200318
2020-03-18 08:32:17 -07:00
Thomas Levy
2fa499b682
docs: update type and description of IncomingMessage.headers ( #22522 )
...
* docs: update type and description of IncomingMessage.headers
Fixes #22521
Updates the docs for IncomingMessage.headers to match the changes made in #17517
* Update docs/api/incoming-message.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Cheng Zhao <zcbenz@electronjs.org >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2020-03-18 11:32:26 +09:00
Michael
66c15721d8
docs: Added a note about chromium logs on the debugging page ( #22476 )
...
* docs: Added a note about chromium logs on the debugging page
* docs: Point at existing documentation for environment variables
* chore: remove trailing whitespace
Co-authored-by: Cheng Zhao <zcbenz@electronjs.org >
2020-03-18 11:32:01 +09:00
Shelley Vohr
674e4a9fdd
chore: more modules to dual prop/fn support ( #22688 )
2020-03-17 18:06:52 -07:00
Charles Kerr
01d5154f4f
refactor: omit duplicates from app's x11 icon list ( #22702 )
...
* refactor: omit duplicates from app's x11 icon list
* empty commit for ci
2020-03-18 09:31:31 +09:00
Charles Kerr
83d5833b4f
refactor: precache the IsWindowStateEvent() XAtom ( #22706 )
...
* refactor: precache the IsWindowStateEvent() atom
XAtoms never change after creation so we can perload the atoms we need.
This is useful in WindowStateWatcher's XEvent handler, which is called
on every XEvent, e.g. mouse movement...
* empty commit for ci
2020-03-17 19:30:58 -05:00
Samuel Attard
5e4e50c5eb
fix: remove bad usages of for-in and guard against it ( #22616 )
...
* fix: remove bad usages of for-in and guard against it
* Apply suggestions from code review
Co-Authored-By: Samuel Maddock <samuel.maddock@gmail.com >
* Apply suggestions from code review
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org >
* Update remote.js
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
2020-03-17 13:17:55 -07:00
Shelley Vohr
f4868c9a28
fix: persist maximizable state through theme change ( #22677 )
2020-03-17 10:58:57 -07:00
Samuel Attard
9583f7dabb
build: update release scripts to handle a remote master ( #22707 )
2020-03-17 09:35:58 -07:00
Electron Bot
a63e4ef378
Bump v10.0.0-nightly.20200317
2020-03-17 08:31:11 -07:00
Electron Bot
49ddc48dd1
chore: bump chromium to bd902e8eecfd48fd85d01d0eea0f2 (master) ( #22694 )
...
* chore: bump chromium in DEPS to 8465a21309d7285c317bdecb744cd148390af9b1
* chore: bump chromium in DEPS to f3d154dbc31bd902e8eecfd48fd85d01d0eea0f2
2020-03-16 21:26:15 -04:00
Shelley Vohr
97d8caa1e0
chore: support props/fns for BrowserWindow ( #22686 )
2020-03-16 14:03:35 -07:00
Electron Bot
20480c8ea8
Bump v10.0.0-nightly.20200316
2020-03-16 08:32:12 -07:00
Samuel Attard
cd5e3901de
chore: fix default_app dimensions ( #22675 )
2020-03-16 15:28:34 +09:00
Cheng Zhao
7814c67830
fix: enter handle scope when creating custom event ( #22657 )
2020-03-16 14:20:32 +09:00
Milan Burda
18c74a11f4
fix: when building with enable_pepper_flash = false ( #22684 )
2020-03-14 14:00:31 -07:00
Electron Bot
d8737734bf
chore: bump chromium to bc8f70ed4cfe2262ea833750eaddb (master) ( #22649 )
...
* chore: bump chromium in DEPS to 9321f32fb1b3af8fdfce55c7bbfacf3f75118dca
* Update patches
* Update electron_swiftshader_binaries deps
https://chromium-review.googlesource.com/c/chromium/src/+/2056931
* Use Promise with RequestPointerLock calls
https://chromium-review.googlesource.com/c/chromium/src/+/2069199
* Replace content::CursorInfo with ui::Cursor
https://chromium-review.googlesource.com/c/chromium/src/+/1999201
* Convert MaterialDesignController to a true singleton.
https://chromium-review.googlesource.com/c/chromium/src/+/2090877
* Drop WebContentsView::RenderViewCreated hook
https://chromium-review.googlesource.com/c/chromium/src/+/2093535
* chore: bump chromium in DEPS to 6478123cfa0102ed754c70eb9bbdd391d676a4dd
* Splitting context_menu_params.h into separate browser VS common parts.
https://chromium-review.googlesource.com/c/chromium/src/+/2097468
* Fix DCHECK on OnThemeChanged()
https://chromium-review.googlesource.com/c/chromium/src/+/2090713
* chore: bump chromium in DEPS to b0269bb003f699bc8ea7dcba8b0795ef963696d7
* Remove no longer needed patch
* Check PointerLock requests for new options and update accordingly
https://chromium-review.googlesource.com/c/chromium/src/+/2071788
* Address issues from review
* Fixup compile error
* Add additional library files
* chore: bump chromium in DEPS to a41285fb8aebc8f70ed4cfe2262ea833750eaddb
* Update patches
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-03-14 16:54:14 -04:00
Shelley Vohr
a4c4c86b9d
fix: crash on invalid zoomFactor ( #22673 )
2020-03-13 16:13:05 -07:00
Jeremy Apthorp
9c5874306d
fix: crash when destroying WebContentsView during GC ( #22674 )
2020-03-13 10:33:37 -07:00
Shelley Vohr
1b353d1ed3
chore: revert deprecated WebContents properties ( #22640 )
...
* chore: revert deprecated WebContents properties
* Fix failing zoomFactor test
2020-03-13 10:16:08 -07:00
Jeremy Apthorp
0c02d794c9
feat: add onclose method to MessagePort ( #22532 )
...
* feat: add onclose method to MessagePort
* more scope, more good
* de-flake GC test
2020-03-13 10:00:50 -07:00
Electron Bot
829d4815a9
Bump v10.0.0-nightly.20200313
2020-03-13 08:31:41 -07:00
Cheng Zhao
c2327b15ae
fix: add handle scope in dialog's promise callback ( #22658 )
2020-03-12 11:17:47 -07:00
Electron Bot
4b9f2bc725
Bump v10.0.0-nightly.20200312
2020-03-12 08:31:44 -07:00
Jeremy Apthorp
b4d07f76d3
feat: MessagePorts in the main process ( #22404 )
2020-03-11 18:07:54 -07:00
Mark Lee
c4c0888972
docs: remove reference to electron-updater ( #22641 )
...
As per the [2020-03-05 Ecosystem WG
meeting](https://github.com/electron/governance/blob/master/wg-ecosystem/meeting-notes/2020-03-05.md ).
2020-03-11 16:30:05 -07:00
Shelley Vohr
b724fbc0ed
feat: add force option to app.focus() ( #22612 )
2020-03-11 09:07:01 -07:00
Electron Bot
75cef84877
Bump v10.0.0-nightly.20200311
2020-03-11 08:33:12 -07:00
Electron Bot
62da00e5c5
chore: bump chromium to 31b4a223e6e2bd9d5ce6c37cbdec6 (master) ( #22514 )
...
* chore: bump chromium in DEPS to 7f366dc6e2f06228b12b021cc1486a1de81a257d
* chore: bump chromium in DEPS to d785c1a601f5f33627d23e40b1ed9dd94c63d818
* update patches
* Rename an old referrer policy value
https://chromium-review.googlesource.com/c/chromium/src/+/2082856
* chore: bump chromium in DEPS to 735e0d2910b2e55c15e0b9cb9fca9431307ac661
* update v8 patches
* Update DEPS
* update patches
* chore: bump chromium in DEPS to b3d09c15c4460680b85218b7b0eb0849c5a6e840
* Replace blink::WebCursorInfo with ui::Cursor
https://chromium-review.googlesource.com/c/chromium/src/+/1997138
* chore: bump chromium in DEPS to bf433ad6dcfcaac460512bb45a53d5a2ea5356f9
* chore: bump chromium in DEPS to 38fad190ac908b6977ab271acc82c2fe74f6e85e
* chore: bump chromium in DEPS to aa597178119cb37ab54caeda27b2ef30a2f9a003
* update patches
* DownloadURLParameters: Remove NetworkIsolationKey parameter.
https://chromium-review.googlesource.com/c/chromium/src/+/2050987
* fix pdf viewer tests by binding more mojo things
* chore: bump chromium in DEPS to 08835601be331b4a223e6e2bd9d5ce6c37cbdec6
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-03-11 07:15:07 -04:00
Eryk Rakowski
7150fa783e
fix(extensions): add more properties to port.sender.tab ( #22592 )
...
* fix: add more properties to port.sender.tab
* fix: apply the suggestion
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-03-11 16:04:31 +09:00
Erick Zhao
34e004015d
feat: add API to check if session is persistent ( #22622 )
2020-03-11 16:02:22 +09:00
Jeremy Apthorp
19314d3caf
fix: remove catch-all HandleScope ( #22531 )
2020-03-10 18:16:58 -07:00
Shelley Vohr
4bca5205bb
chore: ShowItemInFolder should use COMSTA ( #22614 )
2020-03-10 14:12:22 -07:00
Shelley Vohr
97fe4c7718
build: fix broken Views build ( #22621 )
2020-03-10 13:03:41 -07:00
Shelley Vohr
b607cfa220
test: test setPath for errors thrown ( #22626 )
2020-03-10 09:03:52 -07:00
Electron Bot
b21c84204b
Bump v10.0.0-nightly.20200310
2020-03-10 08:32:26 -07:00
Milan Burda
b081fc3ac3
fix: when building with enable_pdf_viewer = false ( #22604 )
2020-03-10 19:53:29 +09:00
Alexey Kuzmin
bf75e5a91f
build: fix build without built-in spellchecker ( #22594 )
2020-03-10 18:39:40 +09:00
Erick Zhao
3ff98e15d0
fix: prevent in-memory sessions from writing to custom spellchecker dictionary ( #22157 )
...
* fix: prevent in-memory sessions from writing to custom dictionary
* docs
* spec
2020-03-10 16:45:43 +09:00
Shelley Vohr
c0374b5796
chore: don't delete nightly tag after draft ( #22588 )
2020-03-09 20:13:10 -07:00
Cheng Zhao
8075a55815
test: disable spellchecker context menu test for arm ( #22590 )
2020-03-10 11:13:41 +09:00
John Kleinschmidt
28cb24fe97
ci: fix windows source cache ( #22609 )
2020-03-10 10:00:23 +09:00
Samuel Attard
85d4040833
build: upload sentry src bundles to symbol S3 bucket ( #22572 )
2020-03-09 15:26:45 -07:00
Samuel Attard
a8ffb81be6
docs: clarify that we support the latest minor for the stable lines we support ( #22613 )
...
* docs: clarify that we support the latest minor for the stable lines we support
* Update docs/tutorial/support.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2020-03-09 13:49:58 -07:00
Shelley Vohr
dcab07c8b1
fix: quick follow-up to threadpool PR ( #22611 )
2020-03-09 11:26:27 -07:00
Shelley Vohr
3b08736ae2
refactor: migrate base::ThreadPool() as trait to base::ThreadPool:: API ( #22555 )
2020-03-09 09:13:59 -07:00
Electron Bot
2159b4af4f
Bump v10.0.0-nightly.20200309
2020-03-09 08:32:05 -07:00
Cheng Zhao
5bffd78631
chore: proxy_config_monitor_ is no longer used in BrowserContext ( #22576 )
...
* chore: proxy_config_monitor_ is no longer used in BrowserContext
* chore: blow src cache to fix Windows CI
2020-03-07 11:41:56 +09:00
Electron Bot
8e34f00822
Bump v10.0.0-nightly.20200306
2020-03-06 07:34:25 -08:00
Samuel Attard
3e3f012c0c
chore: shrink key gen patch ( #22543 )
2020-03-05 17:10:12 -08:00
Samuel Attard
3e2cec83d9
feat: programmatically modify traffic light positioning ( #22533 )
...
* setter
* getter
* specs and docs
* fixup
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-03-05 14:22:12 -08:00
Samuel Attard
1811751c6c
docs: clean up dark mode related docs ( #22489 )
...
* docs: clean up systemPreferences.effectiveAppearance text
* Grammar fixes
* Add links for Electron Packager & Electron Forge
* Update Packager API links, given https://github.com/electron/electron-packager/pull/1131
* docs: clean up Dark Mode guide
* Grammar fixes
* Add links for Electron Packager & Electron Forge
* docs: adjust based on Electron 8 using 10.14 SDK
2020-03-05 13:19:43 -08:00
Samuel Attard
3c19aee73c
fix: reposition traffic lights on theme change ( #22534 )
2020-03-05 12:19:05 -08:00
Samuel Attard
b3e1134a1a
feat: add events for spellcheck dictionary downloads ( #22449 )
2020-03-05 11:58:19 -08:00
Electron Bot
e9132afa98
Bump v10.0.0-nightly.20200305
2020-03-05 07:32:12 -08:00
John Kleinschmidt
0201b3e571
feat(extensions): add chrome.tabs.connect API ( #22457 )
...
* feat(extensions): add chrome.tabs.connect API
* test(extensions): verify that chrome.tabs.connect port communication works
2020-03-05 09:59:32 -05:00
John Kleinschmidt
d6701ff435
feat(extensions): add chrome.i18n API ( #22455 )
...
* feat(extensions): implement chrome.i18n API
* refactor(extensions): use forward declaration for ScriptExecutor
* fix(extensions): add message filter to handle i18n GetMessageBundle
* test(extensions): add chrome.i18n tests
* fix(extensions): message filter lint error
* fix: remove exclusive test
* fix(extensions): format api feature arrays
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
* fix(extensions): uncomment chrome.i18n usage in old extensions test
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-03-05 09:56:21 -05:00
Cheng Zhao
1e9fa204ee
ci: add third_party/angle/.git/HEAD to src archive ( #22538 )
...
* ci: add third_party/angle/.git/HEAD to src archive
* ci: blow old cache
2020-03-05 15:24:18 +09:00
Cheng Zhao
1d1d04f4a4
fix: destroy node platform after destroying wrappers ( #22527 )
2020-03-05 09:59:59 +09:00
Jeremy Apthorp
bff8d65200
chore: lint docs on precommit ( #22515 )
2020-03-04 09:43:57 -08:00
Electron Bot
27a91cbad4
Bump v10.0.0-nightly.20200304
2020-03-04 07:32:07 -08:00
Mark Lee
b4658efae5
docs: add custom dir placeholder explainer to installation guide ( #22491 )
...
* docs: add custom dir placeholder explainer to installation docs
* docs: provide a more concrete example of using ELECTRON_CUSTOM_DIR
2020-03-04 08:44:04 -05:00
Samuel Attard
2563681583
fix: disable contextBridge object identity caching ( #21803 )
...
* fix: disable contextBridge object identity caching
* cleanup
* chore: make non-const references raw pointers
* fix: zero-param constructors are not explicit
* refactor: use base::LinkedList
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-03-03 23:18:22 -08:00
Samuel Attard
a53a2aaa45
build: we moved goma to build-tools ( #22488 )
...
* build: we moved goma to build-tools
* Apply suggestions from code review
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* build: do not use goma.gn
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2020-03-03 23:17:39 -08:00
Samuel Attard
986ccfa816
docs: document the openItem -> openPath breaking change ( #22507 )
...
* docs: document the openItem -> openPath breaking change
* Apply suggestions from code review
Co-Authored-By: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2020-03-03 23:17:27 -08:00
Cheng Zhao
479354e721
fix: add patch to fix linux arm build ( #22523 )
2020-03-03 22:41:31 -08:00
Shelley Vohr
e8c628ecdf
fix: bail early if no printers on the network ( #22418 )
2020-03-04 02:20:31 +00:00
Shelley Vohr
efc11563e8
fix: properly forward properties to webview ( #22485 )
2020-03-03 22:25:14 +00:00
Samuel Attard
8352c39c65
fix: do not reposition traffic lights when fullscreened ( #22492 )
2020-03-03 14:22:32 -08:00
Electron Bot
39baf68790
chore: bump chromium to 5b340c815ce15ab2efcf277ed19e9 (master) ( #22064 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: loc <andy@slack-corp.com >
Co-authored-by: Robo <hop2deep@gmail.com >
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-03-03 13:35:05 -08:00
Electron Bot
3a331ffca6
Bump v10.0.0-nightly.20200303
2020-03-03 07:32:06 -08:00
Cheng Zhao
0e0c8e7c6f
test: give arm machines more time to load spellchecker ( #22494 )
2020-03-03 15:03:54 +09:00
Erick Zhao
01c597a646
test: add specs for custom dictionary API ( #22158 )
...
* tests
* test: add specs for custom dictionary API
* await
2020-03-02 16:57:46 -08:00
bughit
84126a4f23
feat: optional typically sync callback for WebFrame#executeJavaScript* ( #21423 )
2020-03-02 16:11:40 -08:00
Samuel Attard
748a917ffd
docs: add documentation on case insensitive dictionary hosting ( #22483 )
2020-03-02 14:15:55 -08:00
Сковорода Никита Андреевич
d731a676f5
feat: add disableDialogs option to WebPreferences ( #22395 )
...
Allows to disable dialogs completely in a similar way of how safeDialogs option can be used. Overrides safeDialogs option.
2020-03-02 20:50:44 +00:00
Electron Bot
282a44e747
Bump v10.0.0-nightly.20200302
2020-03-02 07:32:10 -08:00
CezaryKulakowski
0bc906853e
fix: call focus on native window on call to webContents.focus on mac ( #22323 )
...
* fix: call focus on native window on call to webContents.focus on mac
On mac call to web_contents()->Focus() is not enough so it's
necessary to call it on native window.
* fixup! fix: call focus on native window on call to webContents.focus on mac
* fixup! fix: call focus on native window on call to webContents.focus on mac
* test: close all windows after test
* fix: also match the behavior on Linux
Co-authored-by: Cheng Zhao <zcbenz@github.com >
2020-03-02 16:51:02 +09:00
Felix Rieseberg
cad7054e4f
fix: Add ContentsView to AXChildren ( #22399 )
2020-03-02 11:25:40 +09:00
Cheng Zhao
4c6150ea3d
fix: make webRequest work for CORS preflight requests ( #22407 )
...
* fix: support CORS preflight
* test: webRequest should work for CORS requests
2020-03-02 10:23:43 +09:00
Samuel Attard
ced487467c
fix: dictionaries download path should be in userdata ( #22444 )
2020-02-28 15:37:53 -08:00
Shelley Vohr
2c974915a3
fix: do not call close on sheets themselves ( #22410 )
2020-02-28 23:10:21 +00:00
Shelley Vohr
ed33a72c23
chore: ensure correct scopes are in place ( #22397 )
2020-02-28 23:08:27 +00:00
Shelley Vohr
02cf5baa32
test: throw if no valid outDir ( #22412 )
2020-02-27 19:32:09 +00:00
Andy Dill
36f982aee2
fix: revive offscreen rendering support ( #22160 )
2020-02-27 11:00:07 -08:00
Electron Bot
e28f7aadc7
Revert "Bump v10.0.0-nightly.20200227"
...
This reverts commit a7603a43c3 .
2020-02-27 10:01:40 -08:00
Electron Bot
a7603a43c3
Bump v10.0.0-nightly.20200227
2020-02-27 09:13:29 -08:00
Samuel Attard
4323b6d618
chore: add tests for the spellchecker ( #22099 )
...
* chore: add tests for the spellchecker
* chore: do not run spellchecker tests on windows
2020-02-26 17:29:19 -08:00
Samuel Attard
0ea1985ec4
docs: improve documentation on spellchecker download URL ( #22383 )
...
* docs: improve documentation on spellchecker download URL
* Update session.md
2020-02-26 16:04:27 -08:00
Samuel Attard
ee04c7f7ee
fix: allow persistent media salts ( #22386 )
...
* fix: allow persistent media salts
* chore: add regression test for persistent media device ids across reloads
2020-02-26 16:03:55 -08:00
loc
fc54db11f3
fix: port CL that fixes ARIA tree impl for macOS ( #22367 )
2020-02-26 14:34:16 -08:00
Erick Zhao
85ef762269
fix: guard against duplicate TouchBarItem IDs ( #22272 )
...
* feat: Add OtherItemsProxy touchbar item
* review!
* fix: guard against duplicate TouchBarItem IDs
* add spec
2020-02-26 22:12:56 +00:00
Samuel Attard
12c1d4411d
chore: add deprecation warning on setting app.allowRendererProcessReuse to false ( #22337 )
...
* chore: add deprecation warning on setting app.allowRendererProcessReuse to false
* fix: no deprecation warnings in process reuse spec
* chore: add test for new deprecate removeProperty behavior
2020-02-26 14:03:52 -08:00
Electron Bot
6a01898c76
Bump v10.0.0-nightly.20200226
2020-02-26 07:33:18 -08:00
Samuel Attard
7cae73fe7a
fix: add patch to set the base download URL rather than override it completely ( #22382 )
2020-02-25 14:57:28 -08:00
Cheng Zhao
3bc6809759
test: disable clipboard tests for WOA ( #22374 )
2020-02-25 09:15:50 -08:00
Shelley Vohr
c4f272e28f
fix: pass safeDialogs preference properly ( #22353 )
2020-02-25 16:47:59 +00:00
Shelley Vohr
79270e30a6
fix: don't run environment bootstrapper ( #22342 )
2020-02-25 16:46:08 +00:00
Electron Bot
2aa734385e
Bump v10.0.0-nightly.20200225
2020-02-25 07:32:12 -08:00
Samuel Attard
7b7def7d1e
feat: set app.enableRendererProcessReuse to true by default ( #22336 )
...
* feat: set app.enableRendererProcessReuse to true by default
* chore: add context aware info to breaking changes doc
* spec: fix nodeIntegration in child windows test for rendererprocessreuse
* spec: fix remote listeners in destroyed renderers spec as the error is now async
* Update api-browser-window-spec.ts
* chore: deprecate affinity
* chore: fix docs
* spec: handle tests crashing without an exist code
* spec: update tests for new rendererprocessreuse default
* spec: with renderer process re-use we get to destroy less views
2020-02-24 18:11:06 -08:00
Andy Dill
7a91078cc7
fix: explicitly specify typeRoots in devtools-frontend ( #22195 )
...
This is a follow-up to #22078 , fixing another instance of the same issue
2020-02-24 14:09:11 -08:00
Electron Bot
f965b13d74
chore: bump node to v12.16.1 (master) ( #22168 )
...
* chore: bump node in DEPS to v12.16.0
* Fixup asar support setup patch
https://github.com/nodejs/node/pull/30862
* Fixup InternalCallbackScope patch
https://github.com/nodejs/node/pull/30236
* Fixup GN buildfiles patch
https://github.com/nodejs/node/pull/30755
* Fixup low-level hooks patch
https://github.com/nodejs/node/pull/30466
* Fixup globals require patch
https://github.com/nodejs/node/pull/31643
* Fixup process stream patch
https://github.com/nodejs/node/pull/30862
* Fixup js2c modification patch
https://github.com/nodejs/node/pull/30755
* Fixup internal fs override patch
https://github.com/nodejs/node/pull/30610
* Fixup context-aware warn patch
https://github.com/nodejs/node/pull/30336
* Fixup Node.js with ltcg config
https://github.com/nodejs/node/pull/29388
* Fixup oaepLabel patch
https://github.com/nodejs/node/pull/30917
* Remove redundant ESM test patch
https://github.com/nodejs/node/pull/30997
* Remove redundant cli flag patch
https://github.com/nodejs/node/pull/30466
* Update filenames.json
* Remove macro generation in GN build files
https://github.com/nodejs/node/pull/30755
* Fix some compilation errors upstream
* Add uvwasi to deps
https://github.com/nodejs/node/pull/30258
* Fix BoringSSL incompatibilities
* Fixup linked module patch
https://github.com/nodejs/node/pull/30274
* Add missing sources to GN uv build
https://github.com/libuv/libuv/pull/2347
* Patch some uvwasi incompatibilities
* chore: bump Node.js to v12.6.1
* Remove mark_arraybuffer_as_untransferable.patch
https://github.com/nodejs/node/pull/30549
* Fix uvwasi build failure on win
* Fixup --perf-prof cli option error
* Fixup early cjs module loading
* fix: initialize diagnostics properly
https://github.com/nodejs/node/pull/30025
* Disable new esm syntax specs
https://github.com/nodejs/node/pull/30219
* Fixup v8 weakref hook spec
https://github.com/nodejs/node/pull/29874
* Fix async context timer issue
* Disable monkey-patch-main spec
It relies on https://github.com/nodejs/node/pull/29777 , and we don't
override prepareStackTrace.
* Disable new tls specs
https://github.com/nodejs/node/pull/23188
We don't support much of TLS owing to schisms between BoringSSL and
OpenSSL.
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-02-24 21:02:04 +00:00
Samuel Attard
360c1cad1b
chore: do not override history methods when rendererprocessreuse is enabled ( #22335 )
2020-02-24 12:14:11 -08:00
Samuel Attard
fd46bc653f
chore: wrap process restart flag in renderer process reuse check ( #22334 )
2020-02-24 11:43:55 -08:00
Erick Zhao
1848e3f658
feat: Add OtherItemsProxy TouchBar item ( #22270 )
...
* feat: Add OtherItemsProxy touchbar item
* review!
2020-02-24 17:55:06 +09:00
Samuel Maddock
8cc0435d9c
fix(extensions): set lowest isolated world id ( #22212 )
...
* fix(extensions): set lowest isolated world id
* refactor: move world IDs into separate header file
Several files are including electron_render_frame_observer.h just for the world IDs.
2020-02-24 13:33:58 +09:00
Samuel Maddock
68c6d53156
feat(extensions): add more properties to extension object ( #22244 )
2020-02-24 12:30:32 +09:00
Cheng Zhao
41931aa5fa
fix: disable remote layer APIs in MAS build ( #20965 )
...
* fix: add patch to disable remote layer APIs
* fix: use --disable-gpu-memory-buffer-compositor-resources for MAS build
2020-02-24 12:08:57 +09:00
Electron Bot
1502ecf9f7
Bump v10.0.0-nightly.20200223
2020-02-23 07:31:25 -08:00
Electron Bot
f1fb513040
Bump v10.0.0-nightly.20200222
2020-02-22 07:31:54 -08:00
Shelley Vohr
50009f6608
chore: allow custom node-spec-runner options ( #22315 )
2020-02-21 20:19:25 +00:00
Jeremy Apthorp
a25d7fa440
fix: emit will-navigate for sandboxed contents ( #22188 )
2020-02-21 11:08:26 -08:00
Jeremy Apthorp
8045152e59
fix: revert {Atom => Electron}Application rename ( #22206 )
2020-02-21 11:05:03 -08:00
John Kleinschmidt
e0c0875d6f
docs: update session.clearAuthCache ( #22292 )
...
* docs: update session.clearAuthCache
* Update specs to match doc change.
2020-02-21 13:40:45 -05:00
Syed Umair
e965703e62
fix: typo in crash reporter constructor ( #22274 )
2020-02-21 16:32:45 +00:00
Electron Bot
686f53c9da
Bump v10.0.0-nightly.20200221
2020-02-21 07:31:47 -08:00
Samuel Attard
e7b0a9ca8f
feat: add API for receiving logs from service workers ( #20624 )
...
* feat: add API for receiving logs from service workers
* feat: add new serviceWorkerContext APIs
* chore: add missing #include's
* refactor: rename serviceWorkerContext to serviceWorkers
* chore: clean up based on review
* chore: remove native_mate
* chore: add tests for the service worker module
* Update spec-main/api-service-workers-spec.ts
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org >
* chore: fix linting
* chore: handle renames
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-02-20 15:19:06 -08:00
Mark Lee
2e6fff885d
docs: clean up protocol docs ( #22262 )
...
* docs: clean up protocol docs
* Fix capitalization
2020-02-20 11:27:17 -06:00
Electron Bot
57943f4de3
Bump v10.0.0-nightly.20200220
2020-02-20 07:32:35 -08:00
Shelley Vohr
a87e0f495d
chore: remove libcc from release not generator ( #22271 )
2020-02-20 05:39:25 +00:00
Sofia Nguy
cdc13919b2
docs: Correct Electron 9 stable date ( #22258 )
2020-02-19 18:10:19 -05:00
Shelley Vohr
53b4fffff6
doc: remove accidental deprecation ( #22256 )
2020-02-18 21:36:57 +00:00
Electron Bot
3d53a4766f
Bump v10.0.0-nightly.20200218
2020-02-18 07:32:52 -08:00
Electron Bot
bb95f6e7a8
Bump v10.0.0-nightly.20200217
2020-02-17 07:33:49 -08:00
Jeremy Apthorp
360326ecad
docs: update dev docs atom -> shell ( #22199 )
2020-02-17 09:47:22 +09:00
Jeremy Apthorp
f8c4be7caa
docs: replace electron.atom.io with electronjs.org in docs/fiddles ( #22196 )
2020-02-17 09:46:41 +09:00
John Kleinschmidt
7a7754a3dd
fix: don't include breakpad_symbols dir in dsym.zip ( #22191 )
2020-02-17 09:45:41 +09:00
Electron Bot
e6a8906052
Bump v10.0.0-nightly.20200216
2020-02-16 07:32:02 -08:00
Electron Bot
647f086286
Bump v10.0.0-nightly.20200215
2020-02-15 07:32:01 -08:00
Samuel Attard
ed58168488
fix: add patch to route mouse event navigations through the WebContentsDelegate ( #22202 )
2020-02-14 16:13:46 -08:00
Electron Bot
3d45f0a51a
Revert "Bump v10.0.0-nightly.20200214"
...
This reverts commit b7bb1cc4c3 .
2020-02-14 09:33:40 -08:00
Electron Bot
b7bb1cc4c3
Bump v10.0.0-nightly.20200214
2020-02-14 07:31:36 -08:00
Jeremy Apthorp
602913cb4c
chore: rename node bindings atom => electron ( #22176 )
2020-02-14 06:25:39 -05:00
Samuel Attard
b5e7df1cbf
chore: update NMV for Electron 10 ( #22190 )
2020-02-13 13:18:16 -08:00
Shelley Vohr
6ed396df17
fix: crash on custom printing margins ( #22164 )
2020-02-13 11:15:25 -06:00
Electron Bot
f97ce86d08
Bump v10.0.0-nightly.20200213
2020-02-13 07:52:52 -08:00
John Kleinschmidt
2510607658
Revert "Bump v10.0.0-nightly.20200213"
...
This reverts commit d40a2a8982 .
2020-02-13 10:49:37 -05:00
Electron Bot
d40a2a8982
Bump v10.0.0-nightly.20200213
2020-02-13 07:32:44 -08:00
Jeremy Apthorp
d590f2efe3
feat: enable pdf viewer ( #21794 )
2020-02-12 16:39:12 -08:00
Electron Bot
85f9c779a8
Bump v10.0.0-nightly.20200212
2020-02-12 09:56:46 -08:00
Electron Bot
493dcf279b
Revert "Bump v10.0.0-nightly.20200212"
...
This reverts commit 22d7b4049c .
2020-02-12 09:53:05 -08:00
Electron Bot
22d7b4049c
Bump v10.0.0-nightly.20200212
2020-02-12 09:51:17 -08:00
Electron Bot
592848ed3d
Revert "Bump v10.0.0-nightly.20200212"
...
This reverts commit 2edbff6e6c .
2020-02-12 09:48:33 -08:00
Shelley Vohr
5e7c594691
fix: no-arg console.log is undefined ( #22165 )
2020-02-12 09:25:11 -08:00
John Kleinschmidt
d1fd237e61
build: fix release script to work with sudowoodo ( #22170 )
2020-02-12 11:53:14 -05:00
Electron Bot
2edbff6e6c
Bump v10.0.0-nightly.20200212
2020-02-12 07:32:14 -08:00
Andrea Brancaleoni
730b77189a
ci: fix script to initialize Windows VM ( #22140 )
...
* ci: fix script to initialize Windows VM
* remove python3 rename statements, python3 is not required nor
installed
* fix a chicken-egg condition where refreshenv is not installed, after
chocolatey install.
* ci: update script to initialize Windows VM
* Add needed component to vc_buildTools install
- Microsoft.VisualStudio.Workload.VCTools
- Microsoft.VisualStudio.Component.VC.140
* Do not install vcredist140 from chocolotey
2020-02-12 09:45:41 -05:00
Tony
fe5318d753
fix RTL bug when used with traffic light repositioning ( #22132 )
2020-02-12 07:34:55 +00:00
John Kleinschmidt
023a3ca722
ci: Speed up release ( #22126 )
...
* build: speed up release builds by using workflows
* Don't get depot-tools twice
* Do not use source from cache
* Checkout boto and requests for release builds
* Make sure vendor dirs are persisted.
* Use git cache for releases.
* show sccache stats right after build
* Make messages easier for sudowoodo to consume.
2020-02-11 15:42:37 -05:00
Alexey Kuzmin
8b89c3cade
build: fix spellchecker deps ( #22142 )
2020-02-11 12:35:50 -05:00
Shelley Vohr
43ca62cad0
refactor: use NSVisualEffectMaterial* constants directly ( #22121 )
2020-02-11 16:23:10 +00:00
Electron Bot
b66db2f268
Bump v10.0.0-nightly.20200211
2020-02-11 07:31:19 -08:00
Cheng Zhao
c608d6d7fb
fix: make webRequest work with WebSocket ( #22040 )
...
* fix: web request support proxying websocket
* fix: make tests work
* chore: do not use api:: code outside api/ folder
* chore: do not create proxy when no listener
* test: use separate session to avoid conflicts
* chore: address review
2020-02-11 14:56:09 +09:00
Shelley Vohr
80dd16aa78
spec: unskip webview.printToPDF ( #22122 )
2020-02-11 03:35:05 +00:00
Electron Bot
2bfe66bcfd
chore: bump node to v12.15.0 (master) ( #22063 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-02-11 01:48:29 +00:00
Cheng Zhao
9ad6f06831
fix: remove cyclic references of BrowserWindow ( #22006 )
...
* fix: remove cyclic references in BrowserWindow
* fix: prevent TopLevelWindow from garbage collection
* test: garbage collection of BrowserWindow
* chore: createIDWeakMap is used in tests
2020-02-11 09:37:46 +09:00
Erick Zhao
9942149f3c
feat: add session.listWordsFromSpellCheckerDictionary API ( #22101 )
...
* doesn't work yet but compiles.
* works
* fixup
2020-02-10 14:08:53 -08:00
Erick Zhao
6fe7d65c9d
chore: Revert "notes: Adding Github CI to testing documentation ( #21996 )" ( #22123 )
...
This reverts commit 385388dd6b .
2020-02-10 14:07:58 -08:00
Erick Zhao
17abeca8b7
feat: add session.removeWordFromSpellCheckerDictionary API ( #22039 )
...
* feat: add session.removeWordFromSpellCheckerDictionary API
* rebase fixup
2020-02-10 14:07:25 -08:00
Andy Dill
8ca4e761fd
fix: explicitly specify typeRoots to avoid crawling parent directories ( #22078 )
2020-02-10 20:17:04 +00:00
Jeremy Apthorp
b77f701aeb
feat: disable the remote module by default ( #22091 )
2020-02-10 10:49:09 -08:00
Jeremy Apthorp
af631f8204
fix: disallow loading extensions in temp sessions ( #22090 )
...
* fix: disallow loading extensions in temp sessions
* docs
2020-02-10 10:28:03 -06:00
Electron Bot
c2cd588e70
Bump v10.0.0-nightly.20200210
2020-02-10 07:31:57 -08:00
CoderPoet
97cf24ac98
docs: modify the showMessageBox method to showMessageBoxSync ( #22080 )
...
In handling the will-prevent-unload event, preventDefault should be executed synchronously, and here should also be showMessageBoxSync
2020-02-10 17:12:30 +09:00
Shelley Vohr
d5e7904610
refactor: remove use of Node's DebugOptions ( #22083 )
2020-02-09 18:42:02 +00:00
Electron Bot
099246f0e4
Bump v10.0.0-nightly.20200209
2020-02-09 07:32:49 -08:00
Samuel Attard
dafbf04b9a
fix: use a WeakPtr so we do not UAF the store in FunctionLifetimeMonitor ( #22056 )
2020-02-08 20:49:38 -08:00
t57ser
43592f8b71
fix: flash plugin ( #22072 )
...
* fix: flash plugin
Fixes https://github.com/electron/electron/issues/20744
* cleanup
* fix linting issue
2020-02-08 17:50:07 -08:00
John Kleinschmidt
058222a9f1
build: try using newer version of xcode/macOS sdk ( #22104 )
2020-02-08 16:38:14 -05:00
Electron Bot
f989faab5c
Bump v10.0.0-nightly.20200208
2020-02-08 07:31:55 -08:00
John Kleinschmidt
5e49aafe55
build: preserve timestamps when stripping files ( #22094 )
...
* build: preserve timestamps when stripping files
Resolves an issue where the binaries in mksnapshot.zip were not getting stripped.
* Add missing comma
* Update script/strip-binaries.py
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org >
* Don't try to run strip on macOS
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-02-07 17:05:04 -05:00
Jeremy Apthorp
ea89120c9e
chore: remove debugging log ( #22093 )
2020-02-07 12:31:08 -08:00
John Kleinschmidt
c6cec97287
build: copy chromedriver to correct location ( #22074 )
...
* build: copy chromedriver to correct location
* build: try to free up disk space for macos releases
* get verbose mode working on strip-binaries
* Only use separate chromedriver build arm/arm64
2020-02-07 13:52:36 -05:00
John Kleinschmidt
45591e31ce
ci: fix build failure on doc only changes ( #22075 )
...
* ci: fix build failure on doc only changes
* ci: fix doc-only check when CI fires on branch before PR is created
2020-02-07 12:58:47 -05:00
Jeremy Apthorp
e2a5de9248
refactor: saner blink_initialization_order.patch ( #22054 )
2020-02-07 09:45:13 -08:00
Electron Bot
6a7d722c06
Bump v10.0.0-nightly.20200207
2020-02-07 07:32:49 -08:00
John Kleinschmidt
f1f185ee93
test: get native unit tests running ( #21914 )
2020-02-07 07:56:54 -05:00
Shelley Vohr
83124889e5
feat: enable passing Node.js cli flags ( #21110 )
...
* feat: enable passing Node.js cli flags
* Allow cli flags in ELECTRON_RUN_AS_NODE mode
2020-02-07 02:59:38 +00:00
Jeremy Apthorp
9107157073
feat: [extensions] support extension.getBackgroundPage ( #21951 )
...
* feat: [extensions] support extension.getBackgroundPage
* cleanup
* how does c++
* tests
* test for runtime.getBackgroundPage too
2020-02-06 16:42:34 -05:00
Jeremy Apthorp
eca1dd7f8b
docs: document supported extensions apis ( #22021 )
...
* docs: document supported extensions apis
* Update extensions.md
* Update README.md
* Apply suggestions from code review
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2020-02-06 16:36:02 -05:00
Sesh Sadasivam
c8273e375c
fix: add Chromium patch to fix RTL window buttons ( #22016 )
...
Classes that inherit from `NSThemeFrame` seem to show window buttons in the
incorrect position when the primary MacOS language is set to an RTL
(right-to-left) language like Arabic or Hebrew. The fix in this commit mirrors
that of `tabbed_browser_window.mm`
(https://chromium-review.googlesource.com/c/chromium/src/+/562603/10/chrome/browser/ui/cocoa/tabbed_browser_window.mm#88 ).
This change should be upstreamed, and then this patch can be removed.
2020-02-06 16:14:18 -05:00
John Kleinschmidt
f4fd939409
build: copy chromedriver to proper directory for release ( #22070 )
2020-02-06 14:20:14 -05:00
John Kleinschmidt
e7982623ec
ci: enable goma for all testing builds ( #21992 )
...
* ci: enable goma for all testing builds
* Use powershell script to start goma on Windows
* Only run ensure_start from PS script.
* add missing percent
* Run stats via command instead of powershell
* use command env var
* Use out cache for faster mac builds
* Disable unneeded logging
* .git directories need to be delete before gn gen
Even though gn gen shows and error about a missing .git directory, the .git delete needs to happen before gn gen.
2020-02-06 12:56:18 -05:00
Erick Zhao
3f880fb7c7
chore: remove teams without write access from CODEOWNERS ( #22043 )
...
* chore: update CODEOWNERS for Ecosystem WG
* chore: remove teams w/o write access from CODEOWNERS
2020-02-06 11:31:25 -06:00
Erick Zhao
070e312e8b
docs: clarify requirements for GOOGLE_API_KEY ( #22034 )
...
* docs: clarify requirements for GOOGLE_API_KEY
* Update docs/api/environment-variables.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/api/environment-variables.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/api/environment-variables.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* update
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2020-02-06 11:28:06 -06:00
Cheng Zhao
629c2121ba
chore: print more logging for failed tests ( #22060 )
2020-02-06 11:15:55 -05:00
Electron Bot
b664c824d2
Bump v10.0.0-nightly.20200206
2020-02-06 07:34:52 -08:00
Electron Bot
42a9d72ce1
chore: bump chromium to 28254008f9e7a2aea5d4426906bfd (master) ( #22025 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-02-06 07:05:30 +00:00
Samuel Attard
c8fe25e109
build: actually save the brew cache on macOS ( #22052 )
2020-02-05 14:15:51 -08:00
Shelley Vohr
303ca10846
feat: allow macOS apps to set activation policies ( #21983 )
2020-02-05 19:12:25 +00:00
Cheng Zhao
3341a2c3b4
fix: delay deletion of Wrappable objects ( #22044 )
2020-02-05 10:50:26 -05:00
Cheng Zhao
dee324f79a
fix: check WebContents in OnGetDefaultPrinter ( #22041 )
2020-02-05 10:48:51 -05:00
Electron Bot
76d05ce21f
Bump v9.0.0-nightly.20200205
2020-02-05 07:32:08 -08:00
John Kleinschmidt
3a9b55c24f
build: don't use component_ffmpeg for chromedriver ( #22033 )
...
* build: don't use component_ffmpeg for chromedriver
* Fixup mac chromedriver build
* Update location of chromedriver.zip
* Fixup macos chromedriver build
* compile to right directory
2020-02-05 16:02:02 +09:00
Shelley Vohr
928175bdfe
feat: allow specifying pageSize for print ( #22014 )
2020-02-05 04:25:02 +00:00
Gabriel Basilio Brito
385388dd6b
notes: Adding Github CI to testing documentation ( #21996 )
...
notes: Adding Github CI to testing documentation
2020-02-05 11:05:07 +09:00
Jeremy Apthorp
ba5d712a15
fix: crash on boot with --log-net-log ( #22035 )
2020-02-04 18:04:35 -08:00
Jeremy Apthorp
d9321f4df7
chore: rename atom -> electron ( #21986 )
2020-02-04 12:19:40 -08:00
Shelley Vohr
f14fc4b041
chore: wrap cb with default invocation ( #22013 )
2020-02-04 19:06:03 +00:00
John Kleinschmidt
6f1f4d3f2f
ci: make sure mksnapshot is invoked with proper args. ( #21991 )
...
* build: robustify verify-mksnapshot w.r.t. command-line parameters
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-02-04 13:10:11 -05:00
Sofia Nguy
6273bc9957
docs: update currently supported versions for 8.0.0 release ( #21909 )
2020-02-04 12:21:13 -05:00
Sofia Nguy
9c035c4570
docs: update 9.0 release dates ( #21910 )
2020-02-04 11:51:43 -05:00
Electron Bot
7be1b44cda
Bump v9.0.0-nightly.20200204
2020-02-04 07:31:43 -08:00
Jeremy Apthorp
1dcc9bf46b
ci: fix ELECTRON_OUT_DIR ( #21994 )
2020-02-03 15:43:46 -08:00
Charles Kerr
c83f836faf
refactor: prefer using app.whenReady() ( #21972 )
...
* docs: add references to app.whenReady() in isReady
* refactor: prefer app.whenReady()
In the docs, specs, and lib, replace instances of `app.once('ready')`
(seen occasionally) and `app.on('ready')` (extremely common) with
`app.whenReady()`.
It's better to encourage users to use whenReady():
1. it handles the edge case of registering for 'ready' after it's fired
2. it avoids the minor wart of leaving an active listener alive for
an event that wll never fire again
2020-02-03 22:43:22 +00:00
Electron Bot
7a3862a1c6
chore: bump chromium to 469ca5ff317a168e6ad99ca0f23f1 (master) ( #22001 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-02-03 22:39:41 +00:00
Jeremy Apthorp
a061c87e56
feat: enable native extensions support ( #21814 )
2020-02-03 14:01:10 -08:00
Erick Zhao
bdf65a75d0
ci: verify chromedriver ( #21993 )
...
* initial pass
* better
* even better
* ci
* add chromedriver to build step
* add chromedriver to other build step
* persist chromedriver for tests
* appveyor test
* correct sys.platform names
* chromedriver-path -> build-dir
2020-02-03 10:31:14 -08:00
Samuel Attard
1fb2b8e00e
fix: bind spellchecker receivers correctly in the renderer ( #21997 )
2020-02-03 09:49:37 -08:00
Electron Bot
6f32214655
Bump v9.0.0-nightly.20200203
2020-02-03 07:31:22 -08:00
Electron Bot
6d48d529ed
Bump v9.0.0-nightly.20200202
2020-02-02 07:31:51 -08:00
Electron Bot
3a5e58a06e
Bump v9.0.0-nightly.20200201
2020-02-01 07:32:10 -08:00
Jeremy Apthorp
720cf6eb27
test: add test for app.on('certificate-error') event ( #21978 )
2020-01-31 15:25:01 -08:00
Shelley Vohr
08b1f0e25d
fix: default printer if none is provided ( #21956 )
2020-01-31 19:20:11 +00:00
Jeremy Apthorp
1c6d8f5af6
fix: return path from netLog.stopLogging ( #21985 )
2020-01-31 10:43:02 -08:00
Electron Bot
a58bc42ed0
chore: bump chromium to 8a35438d19da7538142380551a2ce (master) ( #21971 )
...
* chore: bump chromium in DEPS to 68d7ef9b31f3f164a967109212e84a8d756cc80f
* Update patches
* Update location of file_info.h
* Update sysroots
* chore: bump chromium in DEPS to 47114394b1c8a35438d19da7538142380551a2ce
* Update patches
* ci: update docker image to pickup new ia32 dep
* Skip .info files in dist.zip
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-01-31 13:36:00 -05:00
Samuel Attard
cabe514431
chore: add safety checks to RepositionTrafficLights ( #21981 )
2020-01-31 10:27:25 -08:00
Jeremy Apthorp
45f30ead61
fix: don't crash on invalid certs ( #21976 )
2020-01-31 09:25:46 -08:00
Electron Bot
c29ec2d4cc
Bump v9.0.0-nightly.20200131
2020-01-31 07:32:07 -08:00
Ian Goodacre
e8517065d1
docs: add links to the issue tracker, to developer/issues ( #21945 )
...
* docs: add links to the issue tracker
Adding links to the issue tracker for existing issues and submission of
new issues makes it easier to do what is otherwise well described in the
issues doc.
There are direct links to the issue tracker in other introductory docs,
so I see no reason not to have them here, to facilitate access.
* docs: update issues TOC
* Changes recommended by malept
2020-01-31 14:50:05 +09:00
Kilian Valkhof
95cfa1b0aa
docs: fix missing import, explicitly use nativeTheme api ( #21937 )
...
* docs: fix missing import, explicitly use nativeTheme api
* Update docs/tutorial/mojave-dark-mode-guide.md
Co-Authored-By: Charles Kerr <ckerr@github.com >
* switch to nativeTheme event
Co-authored-by: Charles Kerr <ckerr@github.com >
2020-01-31 14:49:48 +09:00
bitdisaster
89eb309d0b
feat: allow GUID parameter to avoid systray demotion on Windows ( #21891 )
...
* fix: systray icon demotion
Adding support for GUID parameter in Tray API.
In combination with signed binaries this allows to maintain
the position in the systray on Windows.
* unit tests
* make mac and linux compile
2020-01-31 14:37:03 +09:00
Shelley Vohr
2955c67c4e
fix: prevent print crash on bad deviceName ( #21946 )
...
* fix: prevent print crash on bad deviceName
* address review feedback
2020-01-31 11:49:13 +09:00
Jeremy Apthorp
662b94f46e
docs: windows don't need to be retained ( #21957 )
2020-01-30 14:15:35 -08:00
Shelley Vohr
23382e6e08
test: check actual output generated from printToPDF ( #21949 )
2020-01-30 20:12:35 +00:00
Electron Bot
1f61b3a3eb
Bump v9.0.0-nightly.20200130
2020-01-30 07:32:53 -08:00
Samuel Attard
6428bf36d2
fix: use the new MediaPlayPause key listener for internal chrome logic ( #21959 )
2020-01-29 18:18:59 -08:00
Shelley Vohr
7c070c58af
docs: fix missing docs for <webview>.print() ( #21962 )
2020-01-29 17:12:45 -08:00
Samuel Attard
e528029345
fix: ensure web_contents is not nullptr in UpdateDraggableRegions ( #21955 )
...
* fix: ensure web_contents is not nullptr in UpdateDraggableRegions
This is a speculative fix for a crash in `UpdateDraggableRegions` that we've noticed
* Update atom_api_browser_window_mac.mm
* Update atom_api_browser_window_mac.mm
2020-01-29 16:55:27 -08:00
Erick Zhao
2a47300d61
fix: add executable to ChromeDriver's rpath for electron 8+ ( #21961 )
...
* fix: no error messages?
* Revert "fix: no error messages?"
This reverts commit 14a1078493 .
* fix: add executable to chromedriver's rpath for electron 8+
2020-01-29 16:40:09 -08:00
Electron Bot
0979bfc9c1
chore: bump chromium to 669e1d2c51901c686b055da965f2d (master) ( #21954 )
...
* chore: bump chromium in DEPS to edc531fae69669e1d2c51901c686b055da965f2d
* Update patches
* Update to use content::DevToolsAgentHostClientChannel.
9d14e4b8a3
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-01-29 16:45:08 -05:00
Robo
ca515aea55
fix: compilation of native modules on windows with older msvc versions ( #21950 )
2020-01-29 11:59:48 -08:00
Alexey Kuzmin
bc0f5acc73
chore: fix linter errors in .mm files ( #21931 )
...
* chore: fix the "npm run lint:obj" invocation
* chore: fix linter errors in .mm files
2020-01-29 17:03:53 +00:00
Electron Bot
20660285e2
Bump v9.0.0-nightly.20200129
2020-01-29 07:31:10 -08:00
Andrea Brancaleoni
0fe0a08800
build: strip zip determinism on artifact upload ( #21756 )
...
Since electron zip are including build dates the checksum of each of
these zip files is time dependant. In order to fix this issue strip all
the dates contained in each of the zip entries.
2020-01-29 07:22:04 -05:00
Jeremy Apthorp
0fa3c7e223
fix: show module name in deprecation warning for context-aware modules ( #21952 )
2020-01-29 07:03:48 -05:00
Electron Bot
2b53788c35
chore: bump chromium to 4b6692e4cc2839729bb7ac009586a (master) ( #21864 )
...
* chore: bump chromium in DEPS to a1ea0d7aedd6b5fe58fbabfa3b05aa8ee41304ff
* update patches
* update extensions code
* Remove WebPoint
https://chromium-review.googlesource.com/c/chromium/src/+/2007474
* fix build
* chore: bump chromium in DEPS to 9351e26c2a3714f8bbb10789c71bb51b0b494c75
* update patches
* Remove error description from the DidFailLoadWithError message
https://chromium-review.googlesource.com/c/chromium/src/+/2011280
* Make SimpleNetworkHintsHandlerImpl use the right NetworkIsolationKey
https://chromium-review.googlesource.com/c/chromium/src/+/1994430
* Rename libgtkui to gtk
https://chromium-review.googlesource.com/c/chromium/src/+/2011683
* [metrics] Remove histogram Startup.WarmStartTimeFromRemoteProcessStart*.
https://chromium-review.googlesource.com/c/chromium/src/+/2003211
* fix requestSingleInstanceLock test
* chore: bump chromium in DEPS to a813567a4f17ea08292c2b26fa10d0ffd47010d9
* chore: bump chromium in DEPS to f0aca2de536ceecd6eb66e928051d11e6d11991f
* chore: bump chromium in DEPS to 865556af6d0c9d990f5b1816cb792f7c3859667b
* chore: bump chromium in DEPS to 98538fdd28c4b6692e4cc2839729bb7ac009586a
* update patches
* fix broken tests
* Update node tests for v8 changes
* Update node patches for test failures
* Update for number of tests
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-01-29 07:01:37 -05:00
Hye Sung Jung
0bd8a97f38
update ( #21915 )
2020-01-29 18:42:25 +09:00
Mark Lee
28fb2b7ed5
docs: move breaking changes out of API folder ( #21870 )
...
This should allow planned breaking changes to be shown in the website
prior to a stable release with the changes included.
2020-01-28 22:19:18 +00:00
Erick Zhao
ae0064d787
docs: remove references to inaccessible team pages ( #21923 )
2020-01-28 22:16:42 +00:00
Erick Zhao
ca81e72975
docs: fix links to SECURITY and CONTRIBUTING files ( #21921 )
2020-01-28 22:16:22 +00:00
Mehedi Hassan
1d58db82f2
Fix node.lib download link ( #21930 )
...
The documentation is currently pointing to a download link that leads to a 404 for the ARM64 version of `node.lib`. This change updates the link to the correct download for ARM64 `node.lib`.
2020-01-28 22:15:09 +00:00
Shelley Vohr
548b290ea7
feat: add more options to printToPDF ( #21906 )
2020-01-28 20:47:24 +00:00
Charles Kerr
1b4eb0b679
fix: use powerMonitor.on() only after app is ready ( #21927 )
...
* fix: use powerMonitor.on() only after app is ready
powerMonitor can't be used until the app is ready; however, on Linux,
powerMonitor.on() was called as soon as lib/browser/api/power-monitor.ts
was loaded.
This patch takes @vladimiry's suggestion of wrapping that in an
app.on('ready') handler to prevent powerMonitor.on() from being called
prematurely.
Fixes #21716
2020-01-28 12:19:44 -06:00
Electron Bot
64f484c894
Bump v9.0.0-nightly.20200128
2020-01-28 07:33:06 -08:00
Charles Kerr
5f307381d2
fix: ensure tray icon is the proper size on linux ( #21904 )
...
* fix: ensure tray icon is the proper size on linux
Fixes #21445 .
* chore: use correct include order
* chore: use correct include order
* chore: remove use of deprecated casting style
* chore: be more explicit about the 22 pixel height
* chore: remove now-unneeded #include statements
* chore: fix typo and bugs.chromium.org link
* refactor: put GetIconFromImage() in anon namespace
2020-01-28 10:17:45 -05:00
Shelley Vohr
55ccca922d
fix: About Panel credits should be dark mode aware ( #21880 )
2020-01-28 04:23:02 +00:00
John Kleinschmidt
5d1a9c0cbb
ci: Use Windows VM initialized via script ( #21882 )
...
* ci: use VM initialized via setup script
* update depot_tools location
* Handle bad src archive files
* Use proper version of windbg
2020-01-27 21:45:04 -05:00
Mark Lee
1aac233711
docs: clean up context bridge API docs ( #21888 )
2020-01-27 17:14:54 -06:00
Shelley Vohr
c588658a01
fix: window.print() only working once ( #21893 )
2020-01-27 18:54:56 +00:00
Samuel Attard
37feeb8e5f
feat: expose the chromium validated certificate in the certificate verify proc ( #21890 )
2020-01-27 10:48:29 -08:00
loc
f34cbe66a0
docs: add .lldbinit to macOS debugging docs ( #21879 )
...
* docs: add .lldbinit to macOS debugging docs
* fix lint by adding language to fenced code block
* remove trailing whitespace 😑
2020-01-27 08:10:25 -08:00
Electron Bot
eaa907d1dc
Bump v9.0.0-nightly.20200127
2020-01-27 07:31:14 -08:00
Matthew Harris
129df5ffca
docs(offscreen-rendering): missing word "is" ( #21898 )
2020-01-27 15:48:56 +09:00
Cheng Zhao
0209302d84
test: use exit event to wait for process exit ( #21865 )
2020-01-27 10:29:50 +09:00
Cheng Zhao
2743d60f52
fix: menu not updating with Tray.setContextMenu ( #21883 )
2020-01-26 13:02:33 -08:00
Samuel Attard
edafbc43e1
Update browser-window.md ( #21892 )
2020-01-26 12:17:18 -08:00
Shelley Vohr
425d6ae47b
fix: recursive printing crash ( #21889 )
2020-01-26 11:52:50 -08:00
Electron Bot
ee1d9ec6f9
Bump v9.0.0-nightly.20200126
2020-01-26 07:32:18 -08:00
Electron Bot
501f9d21f6
Bump v9.0.0-nightly.20200125
2020-01-25 07:31:27 -08:00
LuoJinghua
852b8693bd
feat: Exposing methods required by capturing a hidden webContents ( #21679 )
2020-01-25 09:43:42 +09:00
Electron Bot
8103ded33e
Bump v9.0.0-nightly.20200124
2020-01-24 07:33:00 -08:00
bitdisaster
467d7457be
docs: details to run unit tests on Windows ( #21840 )
...
* document how to get unit tests running
* chore: fix styles
* chore: add lang fence
Co-authored-by: Cheng Zhao <zcbenz@github.com >
2020-01-24 10:51:09 +09:00
Cheng Zhao
74acd17771
test: make window.history.pushState test more robust ( #21875 )
2020-01-23 10:51:41 -08:00
Tony
5781850706
feat: custom positioning for traffic light buttons ( #21781 )
...
* feat: custom positioning for traffic light buttons
* remove NSLog and unnecessary call-site in IsVisible()
* no longer need to check if entering fullscreen
* change API to take a point object
Co-authored-by: tonyfwoo <55114329+tonyfwoo@users.noreply.github.com >
2020-01-23 10:13:08 -08:00
Samuel Attard
dd95a6f034
build: move external binaries to S3 ( #21829 )
2020-01-23 10:00:35 -08:00
John Kleinschmidt
c92edc8fc4
test: specify target arch on mksnapshot ( #21871 )
2020-01-23 09:54:27 -08:00
John Kleinschmidt
dc2fcff01c
ci: use goma for windows and linux builds ( #21868 )
...
* ci: use goma for windows and linux builds
2020-01-23 09:47:38 -08:00
Electron Bot
7c0a9f29ca
Bump v9.0.0-nightly.20200123
2020-01-23 07:32:49 -08:00
Ross Rosen
1d58072f65
docs: added info on bookmark return values for securityScopedBookmarks ( #17584 )
2020-01-23 10:17:39 +09:00
Shelley Vohr
b90537a629
feat: add tray.closeContextMenu() ( #21807 )
2020-01-22 15:25:17 -08:00
Electron Bot
87af95be3e
Revert "Bump v9.0.0-nightly.20200122"
...
This reverts commit 21b9b30b99 .
2020-01-22 08:13:55 -08:00
Electron Bot
21b9b30b99
Bump v9.0.0-nightly.20200122
2020-01-22 07:31:45 -08:00
Shelley Vohr
a5d5e76b10
fix: some websites using WebComponents V0 not loading ( #21858 )
2020-01-22 22:03:17 +09:00
Shelley Vohr
11804dfe2f
fix: Windows checkboxChecked edge case ( #21852 )
2020-01-22 16:38:39 +09:00
Cheng Zhao
fbc2f8344f
fix: crash when doing redirect navigation with webRequest listener ( #21838 )
...
* fix: pass navigation_ui_data to proxying factory
* fix: clone response instead of move in redirect
2020-01-22 10:31:10 +09:00
Cheng Zhao
36fac7bfec
fix: call SetCanActivate in setFocusable ( #21846 )
2020-01-22 10:13:48 +09:00
Jeremy Apthorp
100a85f93a
fix: [extensions] load extensions on the IO thread ( #21811 )
2020-01-21 09:43:18 -08:00
Jeremy Apthorp
acb5b75057
chore: [extensions] support old APIs when enable_electron_extensions = true ( #21812 )
2020-01-21 09:42:55 -08:00
Electron Bot
dc97fe0640
chore: bump chromium to b243c83a66a7fded00f3408107778 (master) ( #21827 )
...
Co-authored-by: Robo <hop2deep@gmail.com >
2020-01-21 09:39:37 -08:00
Electron Bot
34baa02c28
Bump v9.0.0-nightly.20200121
2020-01-21 07:31:48 -08:00
Jeremy Apthorp
d802fe0fdd
fix: [extensions] some chrome.extension APIs ( #21804 )
2020-01-21 09:44:09 +09:00
Samuel Attard
ebe8bddc31
fix: ignore (un)lock events for sessions that aren't the current session ( #21805 )
2020-01-20 15:48:12 +09:00
Shelley Vohr
38947f43de
docs: menu item labels are not dynamic ( #21823 )
2020-01-20 15:44:22 +09:00
Electron Bot
64a2490efe
Bump v9.0.0-nightly.20200119
2020-01-19 07:31:09 -08:00
Electron Bot
48b9c7df84
Bump v9.0.0-nightly.20200118
2020-01-18 07:31:19 -08:00
Martin
9636acb907
docs: update setAspectRatio documentation ( #19945 )
2020-01-17 20:35:27 +00:00
Cheng Zhao
42d8933d66
fix: crash when restoring minimized hidden window ( #21813 )
2020-01-17 11:29:01 -08:00
Electron Bot
bf6e4b1247
chore: bump chromium to 279aeeec3c9fe2237bc31f776f269 (master) ( #21521 )
...
* chore: bump chromium in DEPS to 46d2d82e84d73806da623c5333dae4dd218172df
* chore: bump chromium in DEPS to cbafe74731a5d1e59844ca59e0fc28f4a5f80a33
* chore: bump chromium in DEPS to d5dcd6b5cc76f4e1732083d775cdd7b533f0abe9
* Update patches
* update for lint
* Fix compilation errors
* chore: bump chromium in DEPS to 1c19360fdaaf65d4ed006736c7f9804104095990
* Replace removed constant
* chore: bump chromium in DEPS to 3b6639f5da26c1772c5d4f3ba634aca65df75fec
* chore: bump chromium in DEPS to cc6b1b930d4b5eca06701820dac54fa0f41e8999
* chore: bump chromium in DEPS to 7d1445641ad1032c67f731ba6ff7798f29349ade
* chore: bump chromium in DEPS to 6f7e5e79cefe982ad84a88927565a88db2e592be
* chore: bump chromium in DEPS to bfb25dafff19cb41bf9781331d19ef0be819d1e4
* chore: bump chromium in DEPS to 1a8196b39f0e0cdc4935fd122fff5625d5fab06e
* chore: bump chromium in DEPS to 9a03d8d2bb38ad8c0cbb9550ca81b2f94ff60c15
* chore: bump chromium in DEPS to 4c67f3505dab2d5457adb418cd3270a4f3236fd0
* chore: bump chromium in DEPS to 652394e7626fc1ae895a53fb34c64070494e648e
* chore: bump chromium in DEPS to 07653652c58cc019af7f833bd63eb0c2eceaab5e
* chore: bump chromium in DEPS to 451a1c5fec1fb073a5bae12a033bb342c72c905f
* chore: bump chromium in DEPS to 86cdba00e233899a232868b412b333d08db63478
* chore: bump chromium in DEPS to 7c322faad1aee8abef2330d74aabf09ecf8c11af
* Update patches
* chore: bump chromium in DEPS to d0044fae7efc29eb201cfdd5fdbed77d48aba212
* Replace IsProcessingUserGesture with HasTransientUserActivation
4baa9a6e85
* Fix 10.15 sdk build
0eaa6db358
* Remove CancelPrerender
5eb3329719
* Remove no longer used WebFloatPoint
43ab96ce6b
* Use base::span<const uint8_t> for devtools messages in content/public
21e19401af
* Update renamed header files
* TODO: update with upstream changes
This code needs to be updated to handle the changes made in:
19be6547a9
* chore: bump chromium in DEPS to 82e5a2c6bd33c2e53634a09fbcbc9fcac1e7ff93
* chore: bump chromium in DEPS to 91f877cadd2995201c276e952b3bf2c60b226c64
* chore: bump chromium in DEPS to 43fcd2ab2677a06d38246b42761dc5b40cf87177
* chore: bump chromium in DEPS to e30957dcb710c0977a7ff95b8d3cf65843df12ca
* chore: bump chromium in DEPS to 6a8335a56db12aae2fd06296f82579d804d92217
* chore: bump chromium in DEPS to a4a436cbc28ace88d71752f8f479e59559e54e46
* chore: bump chromium in DEPS to 982bbd0e4b2e1d57d515f384f6483ffc0d7073ad
* chore: bump chromium in DEPS to 92bb7a99f84ffcdf41d4edca57e90b1f0c7c6c8b
* update patches
* add checkout_google_benchmark gclient var
* FIXME: workaround grit bug
* chore: bump chromium in DEPS to d3623fc53615739e6b59340a5d349e4b397cb7c5
* update patches
* Remove color arg from DidChangeThemeColor().
https://chromium-review.googlesource.com/c/chromium/src/+/1982623
* update CreateFileURLLoader with new suffix
CL: https://chromium-review.googlesource.com/c/chromium/src/+/1981414
* add node patch for removal of task API in v8
CL: https://chromium-review.googlesource.com/c/v8/v8/+/1868620
* add disable_secure_dns param for WillCreateURLLoaderFactory
CL: https://chromium-review.googlesource.com/c/chromium/src/+/1888099
* switch to mojo-ified PrintMsg_PrintPreview
CL: https://chromium-review.googlesource.com/c/chromium/src/+/1972307
* chore: bump chromium in DEPS to e7a6d173632660b6aeb9806e9132c34a315331c2
* update missing chrome/browser/ssl:proto dependency after chrome removal
CL: https://chromium-review.googlesource.com/c/chromium/src/+/1986082
* chore: add libvulkan.so to the linux manifest
CL: https://chromium-review.googlesource.com/c/chromium/src/+/1973042
* revert DidChangeThemeColor ternary change due to templates
* match Chrome's mojo-ified implementation in geolocation_permission_context.cc
CL: https://chromium-review.googlesource.com/c/chromium/src/+/1963371
* add vulkan-1.dll to zips
2d6f74c6d4
* add bug link to fixme_grit_conflicts.patch
* Introduce device.mojom.DeviceService
https://chromium-review.googlesource.com/c/chromium/src/+/1956277
* PDF Compositor rename to Print Compositor
https://chromium-review.googlesource.com/c/chromium/src/+/1981135
* chore: bump chromium_version 00362ea584735b4acf4c5a0e1912d7987f8645ab
* chore: update patches
* Use a virtual base class to provide GetWidget().
https://chromium-review.googlesource.com/c/chromium/src/+/1996948
* [base] Remove usage of base::CurrentThread
https://chromium-review.googlesource.com/c/chromium/src/+/1962019
* chore: gn format
* Revert "ci: Use Visual Studio Build Tools instead of VS Studio (#21771 )"
This reverts commit 9c1310dadc .
* fix: trigger resize when iframe requests fullscreen
* fix: Locking scheme registry is not necessary
https://chromium-review.googlesource.com/c/chromium/src/+/1973198
* chore: bump chromium f707f1d6d428f84cf14b64bc2ca74372e25c6ce7
* chore: update patches
* ui/base/clipboard: Remove redundant ANSI format functions
https://chromium-review.googlesource.com/c/chromium/src/+/1992015
* [base] Prepare //chrome for Value::GetList() switch
https://chromium-review.googlesource.com/c/chromium/src/+/1962255
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: loc <andy@slack-corp.com >
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
Co-authored-by: Robo <hop2deep@gmail.com >
2020-01-17 10:41:52 -08:00
Shelley Vohr
5c6f9a6947
feat: add mouse-down & mouse-up to Tray ( #21795 )
2020-01-17 16:28:34 +00:00
Electron Bot
5feafaceee
Bump v9.0.0-nightly.20200117
2020-01-17 07:31:47 -08:00
Max
ae49b8be42
fix: npm download failed when define 'npm_config_platform=mas' ( #21801 )
2020-01-17 14:44:21 +09:00
Electron Bot
09ad1807af
Bump v9.0.0-nightly.20200116
2020-01-16 07:31:36 -08:00
Shelley Vohr
1e99907acc
fix: printToPDF failing to generate PDF ( #21783 )
2020-01-15 21:05:36 -08:00
Jeremy Apthorp
b9eb68c0b4
feat: [extensions] implement a couple of tabs APIs ( #21779 )
2020-01-15 15:11:51 -08:00
Electron Bot
8278a64e00
Bump v9.0.0-nightly.20200115
2020-01-15 07:32:48 -08:00
Samuel Attard
b31c02ef31
test: fix some failing and disabled node specs ( #19518 )
...
* test: fix some failing and disabled node specs
These tests were failing due to mismatched stacktraces as a result of
our Module._load hook. This fixes those by adding a flag to optionally
not hook those calls and instead do the asar override eagily.
* ELECTRON_EAGER_ASAR_HOOK => ELECTRON_EAGER_ASAR_HOOK_FOR_TESTING
* test: parallel/test-zlib-unused-weak consistently fails
Co-authored-by: Cheng Zhao <zcbenz@github.com >
2020-01-15 16:07:03 +09:00
Cheng Zhao
49262b604d
test: disable some flaky node tests ( #21752 )
2020-01-15 16:06:33 +09:00
Shelley Vohr
3019a2650d
docs: ignore_locks not break_repo_locks ( #21775 )
2020-01-14 20:50:37 -08:00
Jeremy Apthorp
55368e4d97
feat: just enough //extensions to load a simple devtools extension ( #19515 )
2020-01-14 16:20:30 -08:00
John Kleinschmidt
9c1310dadc
ci: Use Visual Studio Build Tools instead of VS Studio ( #21771 )
2020-01-14 17:10:50 -05:00
John Kleinschmidt
408d3d2a14
build: fix release asset names ( #21772 )
2020-01-14 17:10:08 -05:00
Cheng Zhao
ceacadb4f4
fix: pass full response headers in net module ( #21552 )
2020-01-14 09:36:08 -08:00
Felix Rieseberg
2d0bf81bd4
docs: Little fix in Goma docs ( #21762 )
...
* docs: Little fix in Goma docs
* docs: Remove space
2020-01-14 11:04:08 -05:00
Electron Bot
2d8839980c
Bump v9.0.0-nightly.20200114
2020-01-14 07:32:51 -08:00
Shelley Vohr
83c19faf61
fix: pass startPage url correctly to extensions ( #21711 )
...
* fix: pass startPage url correctly to extensions
* check for devtools_page first
2020-01-14 15:47:56 +09:00
Samuel Attard
80a037db86
chore: update goma documentation ( #21761 )
2020-01-13 15:49:29 -08:00
Jeremy Apthorp
fa42b5980e
feat: flesh out the api for //extensions ( #21587 )
2020-01-13 14:56:28 -08:00
Jeremy Apthorp
8bc0c92137
feat: [extensions] background pages ( #21591 )
2020-01-13 14:55:58 -08:00
Andrea Brancaleoni
cf497ea478
build: upload windows toolchain profile ( #21327 )
...
This commit uploads the output of the windows toolchain profiler.
The windows toolchain profiler is aimed at allowing the compilation
of electron release artifacts using the same windows toolchain on user
builder. This combined with the ability of electron of outputting
deterministic build should allow in future to check electron build
artifacts against CI artifacts.
See: 97959b5e5c include windows toolchain profiler (contd #20949 )
2020-01-13 15:40:13 -05:00
Cheng Zhao
32af863e34
fix: double-autorelease of NSImage ( #21757 )
2020-01-13 11:37:11 -08:00
Jeremy Apthorp
d68f17b32c
fix: stream protocols not completing ( #21733 )
2020-01-13 10:28:21 -08:00
Electron Bot
7723c2c16d
Bump v9.0.0-nightly.20200113
2020-01-13 07:31:46 -08:00
Cheng Zhao
758863b84d
fix: disable private macOS APIs in MAS build except for CAContext/CALayerHost ( #21573 )
...
* fix: add patch to disable remote accessibility APIs
* fix: add patch to disable private window frame APIs
2020-01-13 09:04:38 -05:00
Nate Wienert
425d2a2e1b
add border radius to frameless window ( #20360 )
2020-01-13 15:43:00 +09:00
Konstantinos Ntoutsos-Oikonomou
20c910f98e
docs: New fiddle example 'Create a new window' ( #20480 )
...
* add: New fiddle for Manage Windows section example
* Delete package.json
Not needed
* Address issue with .gitignore file, load new window, removing unwanted css class
* Delete package.json
* Pushing change regarding the use of shell.OpenExternal API with an event listener for the href tag on the link
2020-01-13 15:35:56 +09:00
Yaser
b31084493e
docs: Added Window Management Fiddle example ( #20535 )
2020-01-13 15:34:13 +09:00
Jeremy Apthorp
2e1531ad90
feat: warn when remote is used without enableRemoteModule: true ( #21546 )
...
* feat: warn when remote is used without enableRemoteModule: true
* fix security warning
2020-01-13 15:23:03 +09:00
daveilers
2f394d46c7
docs: Update online-offline-events.md to reflect nodeIntegration required ( #21707 )
...
* Update online-offline-events.md
NodeIntegration is required for online/offline and the default changed, so the example should reflect the need for that config
* chore: fix lint warning
Co-authored-by: Cheng Zhao <zcbenz@github.com >
2020-01-13 14:56:39 +09:00
Shelley Vohr
2e7f9bffeb
docs: update source code dir structure ( #21659 )
2020-01-12 21:08:00 -08:00
Jorn
aef9ab1bb7
Es6ify api docs ( #21686 )
...
* docs: es6ify docs -> var -> const / let
* docs: apply arrow functions throughout all of the docs
2020-01-13 10:29:46 +09:00
Daniel Playfair Cal
29b7d80eb5
fix(scripts): account for sys.platform being "linux" as well "linux2" ( #21741 )
2020-01-13 09:58:25 +09:00
loc
a0a932826c
fix: prefer occluded rather than unloading layout info ( #21585 )
2020-01-13 09:56:49 +09:00
Shelley Vohr
19ef7a0fc9
fix: don't fallback to OpenFolderViaShell ( #21668 )
2020-01-13 09:49:51 +09:00
Milan Burda
c0bde4baa4
docs: responseHeaders should be Record<string, string[]> ( #21730 )
2020-01-12 09:20:13 -08:00
Electron Bot
702d18b2e3
Bump v9.0.0-nightly.20200111
2020-01-11 07:31:07 -08:00
loc
301bd8aec0
fix: avoid contextBridge double free on garbage collection ( #21592 )
...
* fix: reset next/prev pointers for life-monitored nodes
* fix: don't double-delete nodes in a linked list
2020-01-10 15:59:50 -08:00
Shelley Vohr
2858471151
feat: remove visibleOnFullscreen option ( #21706 )
2020-01-10 09:11:38 -08:00
Electron Bot
48ae7552f6
Bump v9.0.0-nightly.20200110
2020-01-10 07:32:59 -08:00
CezaryKulakowski
f461dc7002
fix: don't unnecessarily copy draggable regions ( #21704 )
2020-01-09 12:13:28 -08:00
Jeremy Apthorp
768a6ace1b
test: move some fixtures from spec/ to spec-main/ ( #21403 )
2020-01-09 11:50:56 -08:00
Cheng Zhao
8a92b65fd3
test: retry for a few flaky tests ( #21658 )
2020-01-09 11:50:30 -08:00
Electron Bot
cfae97a64c
chore: bump node to v12.14.1 (master) ( #21703 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-01-09 10:42:53 -08:00
Shelley Vohr
f5e202a898
fix: Notification crash in before-quit ( #21709 )
2020-01-09 09:42:20 -08:00
Kilian Valkhof
bd923838c1
docs: initial document for comparing web embeds ( #20478 )
...
Co-authored-by: Felix Rieseberg <felix@felixrieseberg.com >
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2020-01-09 09:29:22 -08:00
Shelley Vohr
bb054716c9
feat: allow http-parser NODE_OPTION in packaged apps ( #21694 )
2020-01-09 08:09:14 -08:00
Electron Bot
75e39be916
Bump v9.0.0-nightly.20200109
2020-01-09 07:31:24 -08:00
Electron Bot
349da6af7f
Bump v9.0.0-nightly.20200108
2020-01-08 07:31:48 -08:00
Samuel Attard
e18acb4380
build: document electron goma usage and add the external binaries ( #21622 )
2020-01-07 10:35:52 -08:00
Shogun Sea
0a850fbc5d
docs: Update react devtool version in document ( #21601 )
...
* docs: update react devtool version in document
* bump react devtool version ref to 4.3.0
2020-01-07 09:14:49 -05:00
Milan Burda
31c93fec67
fix: load window-setup in sandboxed renderer ( #21416 )
2020-01-06 22:23:03 +01:00
Shelley Vohr
d56f67b7af
refactor: throw error for getLastCrashReport if crashReporter not started ( #21643 )
2020-01-06 11:00:27 -05:00
Electron Bot
7d2c97b671
Bump v9.0.0-nightly.20200106
2020-01-06 07:33:51 -08:00
Electron Bot
fb1131d531
Bump v9.0.0-nightly.20200105
2020-01-05 07:31:32 -08:00
Electron Bot
1abd24aa28
Bump v9.0.0-nightly.20200104
2020-01-04 07:33:32 -08:00
Kilian Valkhof
8dc4a20069
docs: fix typos in security.md ( #21665 )
2020-01-03 11:11:01 -05:00
Angel_Kitty
70029aa069
chore: update license year ( #21657 )
2020-01-03 11:10:23 -05:00
Electron Bot
b2071d2966
Bump v9.0.0-nightly.20200103
2020-01-03 07:31:59 -08:00
Electron Bot
35a7f76205
Bump v9.0.0-nightly.20200102
2020-01-02 07:31:08 -08:00
Electron Bot
55d8c4d937
Bump v9.0.0-nightly.20200101
2020-01-01 07:31:32 -08:00
Electron Bot
7b4a5a9f3a
Bump v9.0.0-nightly.20191231
2019-12-31 07:32:05 -08:00
Shelley Vohr
fbb10beb40
fix: highlight defaulted button correctly ( #21642 )
2019-12-31 05:48:43 -08:00
Lutz Roeder
ed6a3877a4
fix: SimpleURLLoaderWrapper redirects ( #21630 )
2019-12-31 10:47:08 +11:00
Shelley Vohr
181eecd03e
docs: fix shell.openPath documentation ( #21641 )
2019-12-30 11:40:30 -08:00
David Sanders
85382d8f1d
fix: improve error handling in npm install ( #21589 )
...
* fix: improve error handling in npm install
* chore: simplify logic
2019-12-30 09:48:54 -08:00
Electron Bot
b41fb2e554
Bump v9.0.0-nightly.20191230
2019-12-30 07:32:58 -08:00
Electron Bot
659c4548eb
Bump v9.0.0-nightly.20191229
2019-12-29 07:31:35 -08:00
Electron Bot
2497afcf94
Bump v9.0.0-nightly.20191228
2019-12-28 07:31:28 -08:00
Electron Bot
bf266b4479
Bump v9.0.0-nightly.20191226
2019-12-26 07:32:16 -08:00
Electron Bot
4324e4ce1d
Bump v9.0.0-nightly.20191225
2019-12-25 07:31:32 -08:00
Electron Bot
a158c80377
Bump v9.0.0-nightly.20191224
2019-12-24 07:31:28 -08:00
Electron Bot
69f37356c1
Bump v9.0.0-nightly.20191223
2019-12-23 07:31:10 -08:00
Electron Bot
023c9a67fd
Bump v9.0.0-nightly.20191222
2019-12-22 07:32:10 -08:00
Electron Bot
020cbf3595
Bump v9.0.0-nightly.20191221
2019-12-21 07:31:35 -08:00
Electron Bot
7161b2f57c
Bump v9.0.0-nightly.20191220
2019-12-20 07:34:03 -08:00
Electron Bot
e02879d809
chore: bump node in DEPS to v12.14.0 ( #21579 )
2019-12-19 19:25:57 -08:00
Shelley Vohr
087cb1d592
refactor: update node main instance management ( #21562 )
2019-12-19 13:29:09 -08:00
Electron Bot
58b816431d
Bump v9.0.0-nightly.20191219
2019-12-19 07:31:49 -08:00
Jeremy Apthorp
682b5d7d01
fix: set enable_negotiate_port to false in allowNTLMCredentialsForDomains ( #21571 )
...
* fix: set enable_negotiate_port to false in allowNTLMCredentialsForDomains
* read commandline switch
2019-12-19 05:53:49 -08:00
Shelley Vohr
5e244aa505
chore: make release branch pattern more robust ( #21568 )
2019-12-18 14:57:46 -08:00
John Kleinschmidt
b6214fdddf
build: free up macos disk space on Mac publish ( #21569 )
2019-12-18 14:54:52 -08:00
Electron Bot
8ffc58bdba
chore: bump node to v12.13.1 (master) ( #21198 )
...
* chore: bump node in DEPS to v12.13.1
* chore: remove redundant patches
* disable node tests
disable prepareStackTrack test since Node.js won't handle our case, and disable new es-module tests since it's still flagged and requires flags to run properly
* fix missing files
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* fix: don't error if can't find advapi32.dll
* fixup! chore: bump node in DEPS to v12.13.1
* Disable native tests for now
2019-12-18 09:49:09 -08:00
Electron Bot
96a88f02fb
Bump v9.0.0-nightly.20191218
2019-12-18 07:32:07 -08:00
Jeremy Apthorp
7152173d26
ci: retry uploading pdb files on appveyor ( #21561 )
2019-12-18 06:30:18 -08:00
Jeremy Apthorp
3effa8bc46
feat: remove deprecated base::Value-based serialization ( #21560 )
...
* feat: remove deprecated base::Value-based serialization
* add note to breaking-changes
2019-12-18 15:25:15 +09:00
Jeremy Apthorp
1cac62f0a2
feat: remove deprecated base::Value-based serialization ( #21560 )
...
* feat: remove deprecated base::Value-based serialization
* add note to breaking-changes
2019-12-18 15:24:50 +09:00
liulun
cc8bf12351
docs: replace systemPreferences.isDarkMode() with nativeTheme.shouldUseDarkColors ( #21480 )
2019-12-17 15:13:35 -08:00
Shelley Vohr
f0d52eaf0c
build: allow getOutDir cli argument ( #21545 )
2019-12-17 14:00:42 -08:00
Jeremy Apthorp
54b4756a29
refactor: try just using regular [Sync] for MessageSync ( #20797 )
2019-12-17 11:35:28 -08:00
Electron Bot
6cc9f0c34e
Bump v9.0.0-nightly.20191217
2019-12-17 07:31:56 -08:00
Shelley Vohr
dba8a0caa8
feat: enable explicit IAP restoration ( #21461 )
2019-12-17 07:07:11 -08:00
Jeremy Apthorp
53957d47d6
test: clean up some stale code in renderer spec runner ( #21384 )
...
* test: clean up some stale code in renderer spec runner
* remove jquery from spec
* remove extraneous close tag
* Revert "remove jquery from spec"
This reverts commit 7b885c8ca8 .
* re-clean-up html
* don't highlight tags
* update session docs; clear cache on boot
* clear user-data-dir before running tests
2019-12-17 11:15:12 +09:00
Javan Makhmali
b57d218466
docs: update webContents.printToPDF() example for promisified API ( #21541 )
2019-12-16 16:14:13 -08:00
Mark Lee
9c442e0a7e
docs: update installation docs to reflect latest @electron/get changes ( #21491 )
...
* doc: update Chinese Electron mirror URL
* doc: replace remaining references of electron-download with @electron/get
* doc: update cache dir example based on recent @electron/get cache changes
2019-12-16 08:16:55 -08:00
Electron Bot
5f2b6f71b5
Bump v9.0.0-nightly.20191216
2019-12-16 07:32:21 -08:00
Joël Charles
0bcfae752e
feat: allow pages to override window.history.length ( #17742 )
...
* fix: allow pages to override window.history.length
* Update lib/renderer/window-setup.ts
Co-Authored-By: magne4000 <joel.charles91@gmail.com >
* fix: lint error
2019-12-16 11:14:27 +09:00
Milan Burda
6a03d3cc66
refactor: export internalWindowOpen from guest-window-manager ( #21498 )
2019-12-16 10:30:25 +09:00
Electron Bot
a7f5aafaca
Bump v9.0.0-nightly.20191215
2019-12-15 07:31:37 -08:00
John Kleinschmidt
48688f9124
ci: use cmd to call gclient ( #21523 )
2019-12-14 14:25:33 -05:00
Electron Bot
fb20bd74e6
Revert "Bump v9.0.0-nightly.20191214"
...
This reverts commit f09bef3ba2 .
2019-12-14 08:09:49 -08:00
Electron Bot
f09bef3ba2
Bump v9.0.0-nightly.20191214
2019-12-14 07:31:54 -08:00
Electron Bot
0f2f9a580a
chore: bump chromium to 94cc24d3bb17a7406ba6c6cc6dc29 (master) ( #21485 )
2019-12-13 12:13:12 -08:00
loc
19cd8f3a02
fix: avoid contextBridge crash when RenderFrame address is reused ( #21501 )
...
* fix: avoid contextBridge crash when RenderFrame address is reused
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
* make routing_id_ const
2019-12-13 13:13:04 -05:00
Jeremy Apthorp
c535e00187
feat: enable pointer compression and 31bit smis ( #21468 )
2019-12-13 10:12:24 -08:00
Milan Burda
341df4a8c2
fix: enforce parent-child relationship in custom postMessage() handler ( #21496 )
2019-12-13 10:10:56 -08:00
Jeremy Apthorp
a90b5f8421
chore: fix patch linter ( #21495 )
2019-12-13 09:18:45 -08:00
Felix Rieseberg
7932e28aa2
docs: Explain notarization, improve code-signing docs ( #21373 )
...
* docs: Explain notarization
* Update docs/tutorial/code-signing.md
Co-Authored-By: Zeke Sikelianos <zeke@github.com >
2019-12-13 11:16:20 -05:00
Victor Bennich
cf833a7650
feat: add win.getBackgroundColor() for macOS ( #21448 )
...
thanks @vbennich - great work on this 🌟
2019-12-13 11:08:30 -05:00
Electron Bot
c1210f8ad3
Revert "Bump v9.0.0-nightly.20191213"
...
This reverts commit e6c23e1a5e .
2019-12-13 08:01:32 -08:00
Electron Bot
e6c23e1a5e
Bump v9.0.0-nightly.20191213
2019-12-13 07:34:50 -08:00
Cheng Zhao
f9a1dc10fe
fix: quit after Chromium is fully started ( #21488 )
...
* fix: quit when chromium is fully started
* test: remove hacks on app.quit
* chore: RunUntilIdle is unnecessary
2019-12-13 18:57:02 +09:00
Electron Bot
b9a250a623
Bump v9.0.0-nightly.20191212
2019-12-12 07:32:26 -08:00
Robo
63e600f655
fix: sourcemaps not loading with network service ( #21473 )
...
Backports https://chromium-review.googlesource.com/c/chromium/src/+/1525270
Backports https://chromium-review.googlesource.com/c/chromium/src/+/1852212
2019-12-11 23:58:17 -08:00
Robo
aa4b36a03d
fix: avoid Electron.dsym files in the main app bundle ( #21447 )
...
* ci: CHECK_DIST_MANIFEST in release builds
* fix: skip Electron.dSYM on macOS app zip
2019-12-11 12:42:57 -05:00
Electron Bot
287592b5f6
Bump v9.0.0-nightly.20191211
2019-12-11 07:31:56 -08:00
Cheng Zhao
d5192853f9
fix: name and expirationDate should be optional when setting cookie ( #21454 )
...
* fix: correctly set cookie date
* fix: name is not required for setting cookie
* test: clear cookie after each cookie test
* test: should test session property
* chore: style fixes
2019-12-11 16:44:49 +09:00
Shelley Vohr
cbe1e3a1d0
fix: MediaKey globalShortcuts not working on macOS ( #21442 )
2019-12-11 15:48:55 +09:00
loc
5cecc230fb
fix: restore POST forms that open a new window with target=_blank ( #21469 )
...
* fix: restore parts of original ResourceRequestBody V8 conversion
Restore some of the original conversion logic in order to fix target=_blank post form submissions.
* test: add test for POST form submission
2019-12-11 15:46:25 +09:00
Electron Bot
49b47ee4ed
chore: bump chromium to f755b70e34659441e72c1a928a406 (master) ( #21000 )
2019-12-10 16:22:35 -08:00
J. Ryan Stinnett
a5c9bd53e0
fix: restore accessibility window title on macOS ( #21462 )
...
Electron's `AtomNSWindow` implements `accessibilityAttributeValue` to
provide various accessibility info to the OS, including window titles.
Chromium 75 changed to Apple's newer accessibility API for window titles
in the super class that `AtomNSWindow` inherits from. macOS still
supports both the old and new style APIs, but it will prefer the new
style if it is implemented. This means the Electron window title is
being ignored because the newer API at the Chromium level has taken
precedence.
By implementing the newer accessibility API in `AtomNSWindow`, this
restores correct accessibility window titles in macOS Electron apps.
This is a regression has been present since Electron 6.0.0 (the first
release including the Chromium change above).
2019-12-10 15:03:00 -08:00
Electron Bot
9e866f8315
Bump v9.0.0-nightly.20191210
2019-12-10 07:32:16 -08:00
Cheng Zhao
a6d142a112
fix: window menu should handle keys correctly ( #21434 )
...
* fix: overriding AccessiblePaneView's methods
* chore: add CL link
2019-12-10 16:15:48 +09:00
Samuel Attard
ec0edb757a
chore: workflows and pipeline state were split in the circle API ( #21441 )
2019-12-09 11:26:43 -08:00
Cheng Zhao
3cb0ed306b
fix: hiding window menu should work on startup ( #21436 )
...
* fix: menu visibility should not be overwritten on startup
* fix: removing menu for window without global menubar
* test: setMenu tests are not for mac
2019-12-09 11:17:36 -08:00
Jeremy Apthorp
7f6b308bf1
test: move remote specs to main process ( #21387 )
2019-12-09 10:27:30 -08:00
Electron Bot
409ef49d3a
Bump v9.0.0-nightly.20191209
2019-12-09 07:32:27 -08:00
Electron Bot
a5e84d0a2a
Bump v9.0.0-nightly.20191208
2019-12-08 07:32:26 -08:00
Electron Bot
e3f36d3e0b
Bump v9.0.0-nightly.20191207
2019-12-07 07:31:36 -08:00
Jeremy Apthorp
1f3561227d
feat: add tracing info to WebContents IPC methods ( #21404 )
2019-12-06 13:15:23 -08:00
Jeremy Apthorp
092e00f7f0
fix: fix ClientRequest.getUploadProgress ( #21388 )
2019-12-06 13:14:44 -08:00
Jeremy Apthorp
dc9beda182
feat: remove deprecated setLayoutZoomLevelLimits ( #21383 )
2019-12-06 13:14:25 -08:00
Shelley Vohr
4ac575416f
docs: fix return type of getPrinters ( #21411 )
2019-12-06 12:36:35 -08:00
Samuel Attard
5bc8809d64
fix: do not use messages after move ( #21419 )
2019-12-06 12:35:57 -08:00
loc
8a06ef11cf
fix: ensure persistence store still exists when GC runs ( #21402 )
...
Fix a bad access crash that happens when a render frame is deleted (window closed) and garbage collection runs afterward.
2019-12-06 11:15:08 -08:00
Electron Bot
4037b12511
Bump v9.0.0-nightly.20191206
2019-12-06 07:31:51 -08:00
Tierney Cyren
6df7bd63e4
docs: improve Windows build variable documentation ( #20548 )
...
* docs: improve Windows build variable documentation
Documents an additional and possibly unclear variable, `DRIVE:`, in the example global variables for building with Windows
* docs: update formatting in build-instructions-windows.md to align with styleguide
2019-12-06 08:53:50 +09:00
John Kleinschmidt
63058b8a2d
ci: fix crash on arm testing ( #21407 )
2019-12-05 14:44:02 -08:00
Shelley Vohr
9e189eac71
fix: pass noLink correctly on Windows ( #21386 )
2019-12-05 13:38:57 -08:00
Charles Kerr
93802a7e6f
fix: remove minor "trailing whitespace" warnings ( #21398 )
2019-12-05 11:04:34 -08:00
Birunthan Mohanathas
5223d1d774
fix: Fix compositor recycling when creating new BrowserView ( #21372 )
...
In #20829 , we fixed compositor recycling when switching between
BrowserViews, but it turns out that there is one additional case that we
need to handle. When we create a completely new BrowserView instance, it
starts of as visible (even when it hasn't been added to the window),
which means that it will need its own compositor instead of using the
recycled compositor.
To fix this, lets make BrowserViews hidden by default until they're
added to the window. See also #19988 . This is a potentially breaking
change given that the initial value of `document.visibilityState` will
now be `hidden`, but given the experimental status of BrowserViews, I
think this is a fine change to make. The old behavior can be restored
with `webPreferences: { show: true }`.
Notes: Fix compositor recycling when creating new BrowserView
2019-12-05 09:37:42 -08:00
Electron Bot
fff484d4ea
Bump v9.0.0-nightly.20191205
2019-12-05 07:33:07 -08:00
Cheng Zhao
0a741670a9
chore: remove native_mate (Part 14) ( #21365 )
...
* chore: remove uses of mate::Dictionary and mate::Handle
* chore: move CreateConstructor to gin_helper
* chore: remove native_mate
* chore: remove unneeded gin patch
2019-12-05 18:46:34 +09:00
Electron Bot
113b47d871
Bump v9.0.0-nightly.20191204
2019-12-04 07:32:41 -08:00
Yaser
143407ea1b
docs: Adds Native-UI tray Fiddle example ( #20526 )
2019-12-04 15:38:53 +09:00
Yaser
1b61fe780e
docs: adds Native-UI Open external links and the file manager Fiddle example ( #20524 )
2019-12-04 15:38:19 +09:00
Amor
5733507040
docs: update installation.md ( #21331 )
2019-12-04 15:11:09 +09:00
Milan Burda
01ab72d8c0
chore: remove unused shell/common/crash_reporter/win/crash_service.cc ( #21349 )
2019-12-04 15:09:58 +09:00
Electron Bot
c1845121e0
Bump v9.0.0-nightly.20191203
2019-12-03 07:32:38 -08:00
Jeremy Apthorp
9526c5584e
fix: deprecate setLayoutZoomLevelLimits ( #21296 )
2019-12-02 13:27:03 -08:00
Shelley Vohr
c7cbc2e6b1
fix: backgroundThrottling rwh assignment ( #21037 )
...
* fix: backgroundThrottling rwh assignment
* fix: disable DOM timer throttling
* chore: fix typo
2019-12-02 10:29:03 -08:00
Alex Kondratyuk
f2f52c23b5
docs: rename ELECTRON_CACHE env variable to electron_config_cache ( #21313 )
2019-12-02 10:12:51 -08:00
Samuel Attard
ee58d60612
fix: ensure no node globals passively leak when nodeIntegration is disabled ( #21342 )
2019-12-02 10:09:47 -08:00
Electron Bot
66035a2448
Bump v9.0.0-nightly.20191202
2019-12-02 07:33:23 -08:00
liulun
3d2fa09db3
Two 'close' in this line ( #21345 )
2019-12-02 18:30:56 +09:00
Samuel Attard
0a60f455a9
build: add hashes to the external binary downloader ( #21328 )
2019-12-01 15:23:54 -08:00
Samuel Attard
b26a6793ba
chore: delete the security issue template ( #21344 )
...
GitHub now automatically adds our security policy to the issue page in a Much Better ™️ way, this removes a duplicate
2019-12-01 15:23:31 -08:00
Electron Bot
469fc0ea36
Bump v9.0.0-nightly.20191201
2019-12-01 07:33:09 -08:00
Milan Burda
03824ef53f
build: fix building with enable_builtin_spellchecker = false ( #21334 )
2019-11-30 14:17:46 -08:00
Electron Bot
74f698d7bc
Bump v9.0.0-nightly.20191130
2019-11-30 07:31:23 -08:00
Electron Bot
ba77489cb6
Bump v9.0.0-nightly.20191129
2019-11-29 07:32:09 -08:00
Electron Bot
2129751966
Bump v9.0.0-nightly.20191128
2019-11-28 07:32:48 -08:00
Max
0618505722
build: disable strip_absolute_paths_from_debug_symbols on debug.gn ( #20884 )
2019-11-28 10:37:57 +09:00
Samuel Attard
01f5e9c5c4
build: make CI faster, magic contained within ( #21086 )
...
* build: cache the out directory for exact deps hash matches
* chore: generate a target based depshash discriminator
* fix: hash on gn args
* build: share logic on the mac builds
* build: ensure that the mksnapshot binary is built before stripping before zipping
* build: attach the workspace on macOS
* build: optimize the macOS checkout path for testing
* build: fix mksnapshot zip generation
* build: make the mac src cache restore work
* build: v2 out cache
* build: macOS cache restore is just stupidly slow
* build: strip more binaries
* build: attach the out cache to the workspace for macOS builds
* build: allow linux boxes to restore darwin out caches
* build: cat the deps hash target file
* build: ensure that the deps target hash matches on the linux box
* build: do not use host arch in target key
* build: force undefined in the target hash file
* build: only restore out cache when it isn't in the workspace
* build: fix the macOS cache workspace trick
* build: do not double restore
* build: remove the big stuff from the out dir
* build: workaround layer issue
* build: try it back on macOS again but with smaller thingy
* build: macOS needs the out cache now
* build: clean up for omptimal macOS path
* build: use old docker image
* build: idek at this point
* build: we need a deps hash
* build: yeah we need a checkout too
* chore: use testing env on save cache job
* chore: well that should fix the cache key thing
* chore: handle cross-OS path mismatch for src cache restore
* build: use a /portal directory to transfer the src cache appropriately
* build: use the correct docker image
* build: super perms for /portal
* build: increment out cache number
* build: ensure target hash is correct for args + disable pre-compiled headers on macOS
* build: wipe the cross-arch libffmpeg before building Electron
2019-11-27 16:29:53 -08:00
Jeremy Apthorp
f09cb114e4
test: retry beforeunload tests up to 3 times ( #21293 )
2019-11-27 09:42:54 -08:00
Electron Bot
06e349d074
Bump v9.0.0-nightly.20191127
2019-11-27 07:32:14 -08:00
Julio
96c4c48268
docs: app.dock could be undefined ( #20609 )
2019-11-27 22:23:13 +09:00
Shelley Vohr
5f365858c9
fix: correctly plumb checkboxChecked on win ( #21248 )
...
* fix: correctly plumb checkboxChecked on win
* address final style comment
2019-11-27 16:39:07 +09:00
Jeremy Apthorp
d25256dcf5
refactor: rewrite the net module to simplify state tracking ( #21244 )
2019-11-26 17:01:13 -08:00
Jeremy Apthorp
4149d76890
fix: restore --ignore-connections-limit functionality ( #21286 )
2019-11-26 13:27:33 -08:00
Samuel Attard
149aaeba94
feat: add session.addWordToSpellCheckerDictionary to allow custom words in the dictionary ( #21266 )
...
* feat: add session.addWordToSpellCheckerDictionary to allow custom words in the dictionary
* Update session.md
2019-11-26 13:16:43 -08:00
Electron Bot
8a9c7c484b
Bump v9.0.0-nightly.20191126
2019-11-26 07:33:26 -08:00
OJ Kwon
ca61d2fae7
fix: allow reading body from non-2xx responses in net.request ( #21055 )
...
* fix(urlrequest): allow non-2xx repsponse results
- closes #21046
* test(net): add test cases to verify non-2xx body
* test(session): update spec to match clientrequest behavior
* test(net): update test cases to match clientrequest behavior
* spec: clean up async net spec
2019-11-25 14:34:25 -08:00
Jeremy Apthorp
2e25999c52
test: refactor net tests ( #21265 )
2019-11-25 12:56:18 -08:00
Samuel Attard
d84ba30541
fix: reloadIgnoringCache() should ignore the cache ( #21263 )
2019-11-25 11:12:58 -08:00
loc
f26b7931eb
fix: add missing early return ( #21264 )
2019-11-25 11:03:54 -08:00
Electron Bot
27c764c66c
Bump v9.0.0-nightly.20191125
2019-11-25 07:31:36 -08:00
Electron Bot
ab695fb2f7
Bump v9.0.0-nightly.20191124
2019-11-24 07:31:32 -08:00
Electron Bot
78ae5d410e
Bump v9.0.0-nightly.20191123
2019-11-23 07:31:26 -08:00
Shelley Vohr
d20273f95b
chore: improve nativeImage path converter error ( #21243 )
2019-11-22 19:16:43 -08:00
Samuel Attard
34452ee69e
feat: expose executeJavaScriptInIsolatedWorld on webContents ( #21190 )
...
* feat: expose executeJavaScriptInIsolatedWorld on webContents
* Apply suggestions from code review
Co-Authored-By: loc <andy@slack-corp.com >
2019-11-22 15:33:55 -08:00
Jacob
a7c2f79a94
fix: prevent silent failure when DOM storage quota exceeded ( #20899 )
...
* test: update DOM storage quota limits test
* fix: update dom_storage_limits.patch (fixes #13465 )
The previous version of this patch did not include
changes required to circumvent the quota enforcement
performed by StorageAreaImpl. Consequently when
the quota was exceeded, things still "appeared to
work" at first but then would later fail silently.
That is, the cache would be updated but the backing
store would not.
This could be fixed by disabling the code below
(from `content/browser/dom_storage/storage_area_impl.cc`)
```
// Only check quota if the size is increasing, this allows
// shrinking changes to pre-existing maps that are over budget.
if (new_item_size > old_item_size && new_storage_used > max_size_) {
if (map_state_ == MapState::LOADED_KEYS_ONLY) {
receivers_.ReportBadMessage(
"The quota in browser cannot exceed when there is only one "
"renderer.");
} else {
std::move(callback).Run(false);
}
return;
}
```
However, since this seems to have some unintended side-effects
(see updated notes in dom_storage_limits.patch) it seems
more prudent to simply increase the quota to a larger
yet still reasonable size rather than attempt to circumvent
the storage quota altogether.
2019-11-22 11:35:54 -08:00
Electron Bot
745363959a
Bump v9.0.0-nightly.20191122
2019-11-22 07:31:58 -08:00
Jeremy Apthorp
033d309874
fix: record cpu_profiler data for main process ( #21187 )
...
* fix: record cpu_profiler data for main process
* kick ci
2019-11-21 18:05:41 -08:00
Shelley Vohr
135a64955c
ci: handle network drive not being available ( #21247 )
...
Fixes 'The system cannot find the path specified' error when trying to save source to shared network drive.
2019-11-21 14:52:29 -08:00
Samuel Attard
0cadf2846b
docs: remove string literal type from window events ( #21235 )
2019-11-21 11:12:03 -08:00
Bruce Auyeung
07b94ff578
docs: clarify uniqueness of WebContents.id, BrowserWindow.id ( #21101 )
2019-11-21 11:11:44 -08:00
Electron Bot
1da9959f57
Bump v9.0.0-nightly.20191121
2019-11-21 07:31:25 -08:00
Milan Burda
3f2cb91a35
refactor: declare KeyWeakMap<K, V> returned by createIDWeakMap() / createDoubleIDWeakMap() ( #21171 )
2019-11-21 13:32:31 +01:00
Julien Isorce
92ff39c168
ci: generate debug symbols on Linux ( #18676 )
2019-11-20 17:21:44 -08:00
Samuel Attard
41f1569c46
build: update release build endpoint from /jobs to /job ( #21232 )
2019-11-20 11:14:48 -08:00
Robo
0111f6216c
fix: focus with OOPIF embedded inside <webview> ( #21219 )
...
Backports https://chromium-review.googlesource.com/c/chromium/src/+/1922650
2019-11-20 09:06:09 -08:00
John Kleinschmidt
4bc85f777f
build: delete unneeded files when running a release ( #21216 )
...
* build: delete unneeded files when running a release
Needed to free up disk space on MacOS.
* Delete all the .git directories
* Update comment
* Run gn gen after deleting .git dirs
2019-11-20 10:42:38 -05:00
Electron Bot
af3bee742f
Revert "Bump v9.0.0-nightly.20191120"
...
This reverts commit 99cafae1ec .
2019-11-20 07:37:12 -08:00
Electron Bot
99cafae1ec
Bump v9.0.0-nightly.20191120
2019-11-20 07:31:46 -08:00
Cheng Zhao
50f2d2b5ab
fix: menu should not be garbage-collected when popuping ( #21169 )
...
* fix: retain menu when popuping
* test: menu should not be garbage-collected when popuping
2019-11-20 20:17:39 +09:00
Samuel Attard
ea23f18e94
docs: document the channel param for event.reply ( #21185 )
2019-11-19 13:17:59 -08:00
Milan Burda
145dd33da1
spec: skip flaky <webview>.capturePage() test on Windows ( #21175 )
2019-11-19 12:57:35 -05:00
Electron Bot
6ca7eb79bc
Bump v9.0.0-nightly.20191119
2019-11-19 07:32:04 -08:00
John Kleinschmidt
58abc757fd
build: use symbol_level 1 for 32bit linux releases ( #21193 )
...
* build: use symbol_level 1 for 32bit linux releases
* Add comment
2019-11-19 06:36:16 -08:00
Samuel Attard
d34ba76eb6
build: use python3 to download external binaries ( #21184 )
...
* build: use python3 to download external binaries
* Update config.py
2019-11-19 06:08:20 -08:00
Robo
73467f00e3
fix: allow chromium to handle WM_NCCALCSIZE for frameless windows ( #21164 )
2019-11-19 06:07:10 -08:00
Samuel Attard
c8ed22def3
docs: fix isMactemplateImage type definition ( #21166 )
2019-11-18 10:57:22 -08:00
Jeremy Apthorp
4045852e6f
fix: stream protocols sometimes flake out ( #21113 )
2019-11-18 10:47:29 -08:00
Electron Bot
f4371b3f03
Bump v9.0.0-nightly.20191118
2019-11-18 10:14:35 -08:00
Samuel Attard
e0dc8154b3
Revert "Bump v9.0.0-nightly.20191118"
...
This reverts commit ae07582d0a .
2019-11-18 10:13:02 -08:00
Electron Bot
ae07582d0a
Bump v9.0.0-nightly.20191118
2019-11-18 07:32:05 -08:00
Cyril POIDEVIN
a6a028594d
docs: Use Promise for dialog.showMessageBox ( #21143 )
...
* Update updates.md
Use of the return promise for the use of `dialog.showMessageBox`.
* Update updates.md
2019-11-18 00:49:50 -08:00
Electron Bot
b3d44dbe6f
Bump v9.0.0-nightly.20191117
2019-11-17 07:31:18 -08:00
Electron Bot
24d6743d57
Bump v9.0.0-nightly.20191116
2019-11-16 07:32:27 -08:00
Robo
fbc3bb872b
fix: incorrect size of windows on differently scaled monitors ( #21100 )
...
* Revert "fix: handle WM_GETMINMAXINFO instead of letting chromium do it (#19928 )"
This reverts commit 27ce6a9cd3 .
* fix: don't reset the width and height when correcting window placement
2019-11-15 09:28:11 -08:00
Electron Bot
46c12308cd
Bump v9.0.0-nightly.20191115
2019-11-15 07:32:27 -08:00
Jeremy Apthorp
26ecf63ab4
test: remove a bunch of usage of the remote module ( #21119 )
2019-11-14 14:09:03 -08:00
Jeremy Apthorp
4f1536479e
fix: implement 'login' event for net.ClientRequest ( #21096 )
2019-11-14 10:01:18 -08:00
Electron Bot
878ab916d2
Bump v9.0.0-nightly.20191114
2019-11-14 07:34:02 -08:00
Cheng Zhao
b02a20e4dc
fix: webRequest should be able to modify CORS headers ( #21099 )
...
* fix: always use extraHeaders mode
* fix: clear pending callbacks
* fix: do not use "extraHeaders" for net module
* test: webRequest should be able to modify CROS headers
* chore: CROS => CORS
Co-Authored-By: Milan Burda <milan.burda@gmail.com >
* chore: CROS => CORS
Co-Authored-By: Milan Burda <milan.burda@gmail.com >
2019-11-14 14:51:24 +09:00
Shelley Vohr
af1e8a347e
chore: remove unused promisify code ( #21114 )
2019-11-14 14:50:50 +09:00
Shelley Vohr
457b7bf24f
chore: remove outdated v8 compat patch ( #21115 )
...
This was only intended to last the duration of Node.js v11, and we are not on v12 so this should no longer be necessary
2019-11-14 14:50:25 +09:00
Milan Burda
97e2569f02
feat: add 'screen' to systemPreferences.getMediaAccessStatus() ( #20764 )
...
* feat: add 'screen' to systemPreferences.getMediaAccessStatus()
* Update docs/api/system-preferences.md
2019-11-13 16:47:51 -05:00
Erick Zhao
ba85d4c3bb
docs: document webkitdirectory breaking change ( #20934 )
...
* chore: empty folder structure
* chore: PR template
* docs: add `webkitdirectory` change in Electron 7
* linguist?
* link
* Delete hacktoberfest.md
2019-11-13 14:11:25 -05:00
Shelley Vohr
98844c20a7
build: missing include in windows release builds ( #21045 )
2019-11-13 14:10:12 -05:00
Electron Bot
ca62264c50
Bump v9.0.0-nightly.20191113
2019-11-13 07:33:04 -08:00
Kristof Kalocsai
821bcdef75
docs: added windows -> create frameless window example ( #20591 )
...
* docs: added windows -> create frameless window example from electron-api-docs
* fixed style in accord with StandardJS
* removed class tag from button
2019-11-13 14:49:13 +09:00
Alan Ionita
a15e0e0657
FEAT [ #20442 ] : adds the fiddle for launching an app from URL in another app, including all 3 files main.js, index.html, renderer.js ( #20718 )
2019-11-13 14:46:54 +09:00
Alan Ionita
09533e77da
feat: #20442 adds fiddle for opening external links and the pro version of opening all outbound links ( #20763 )
2019-11-13 14:46:35 +09:00
Andrea Brancaleoni
97959b5e5c
build: include windows toolchain profiler ( #20949 )
...
This commit allows any electron user to compile electron
artifacts by themselves in production mode. When the source code
is reproducibly buildable with a given toolchain this change
allows them to verify the hash of their build, with the same
windows toolchain agains the CI version.
This change was tested on top of version fb9837799b
which was buildable and reproducible for chromium and electron as well.
Further tests may be introduced to allows checking for local reproducibility.
EG: building twice an artifact on the same machine, with different time
and output directory should yield similar hashes.
2019-11-13 14:42:45 +09:00
Shelley Vohr
b8ee8c4eee
feat: enhance PrinterInfo object values ( #21081 )
2019-11-13 14:31:28 +09:00
Samuel Attard
8320160fe2
build: use autogenerated docker images for CI runs ( #21056 )
...
* build: use autogenerated docker images for CI runs
* build: depend on exact tag instead of rolling :latest
* chore: use newer docker image
2019-11-13 14:29:15 +09:00
Shelley Vohr
3c75adb236
test: re-enable some node specs ( #21084 )
2019-11-12 23:31:48 +00:00
Milan Burda
1d596f616d
fix: NativeImage serialization of <webview>.capturePage() result ( #20825 )
2019-11-12 21:56:17 +01:00
Samuel Attard
c0657a4ca7
build: fix nightly version bumping ( #21079 )
...
* build: fix nightly version bumping
* spec: add a test for bumping nightlies beyond the 8-x-y branch switch
* Update version-bump-spec.ts
2019-11-12 08:36:03 -08:00
Electron Bot
d9d89eeabc
Bump v8.0.0-nightly.20191112
2019-11-12 07:32:57 -08:00
Milan Burda
739b20bd13
refactor: simplify Converter<content::PermissionType>::ToV8 ( #21053 )
2019-11-12 18:18:48 +03:00
Vlad Hashimoto
601cc6e887
docs: change invalid bash session language tag ( #20827 )
2019-11-12 12:47:56 +00:00
Jeremy Apthorp
034f4d5734
fix: implement 'login' event for WebContents ( #20954 )
2019-11-11 09:47:01 -08:00
Electron Bot
049bd09150
Bump v8.0.0-nightly.20191111
2019-11-11 07:32:17 -08:00
Electron Bot
bf1b1fac49
Bump v8.0.0-nightly.20191110
2019-11-10 07:33:20 -08:00
Electron Bot
01c4bd73dc
Bump v8.0.0-nightly.20191109
2019-11-09 07:31:45 -08:00
Milan Burda
093f2dd4a6
chore: remove deprecated <webview>.getWebContents() ( #20986 )
2019-11-08 15:46:35 -05:00
fengmk2
145ecb85c2
docs: use new China's mirror address ( #21030 )
2019-11-08 15:39:47 -05:00
Átila Camurça Alves
c4cc6bd1bf
docs: correct the syntax to caniuse.com link ( #21048 )
2019-11-08 15:39:31 -05:00
Shelley Vohr
caa6e65e38
chore: remove unnecessary patches ( #21044 )
2019-11-08 13:02:43 -05:00
Shelley Vohr
6c2af8b421
fix: refactor printing for mojom ( #21026 )
2019-11-08 13:01:50 -05:00
Electron Bot
fe2ca6e6e7
Bump v8.0.0-nightly.20191108
2019-11-08 07:32:00 -08:00
Shelley Vohr
d3622f9c37
feat: convert shell.openItem to async shell.openPath ( #20682 )
2019-11-07 23:08:43 -08:00
Jeremy Apthorp
fd70ac1173
refactor: always initialize api::Protocol ( #21009 )
2019-11-07 15:35:12 -08:00
Samuel Attard
b06a479240
build: remove debug builds ( #21016 )
...
* build: remove debug builds
* Update docs/development/debugging-instructions-macos.md
Co-Authored-By: Robo <hop2deep@gmail.com >
2019-11-07 11:51:44 -08:00
Milan Burda
f1e7393e30
feat: deprecate <webview>.getWebContents() ( #20726 )
2019-11-07 09:43:19 -08:00
Robo
c716ecb916
fix: check for validity of guest webcontents ( #21019 )
2019-11-07 07:39:48 -08:00
Electron Bot
7625202891
Bump v8.0.0-nightly.20191107
2019-11-07 07:32:31 -08:00
Andrew MacDonald
9b01bb00d2
feat: add app.getApplicationNameForProtocol API ( #20399 )
...
* Add GetApplicationNameForProtocol.
* Fix Windows implementation.
* Fix up test.
* Add documentation.
* Implement for real on Linux using xdg-mime.
Also ensure we allow blocking calls here to avoid errant DCHECKing.
* Improve docs for Linux.
* Clean up tests.
* Add a note about not relying on the precise format.
* Update docs/api/app.md
Co-Authored-By: Shelley Vohr <codebytere@github.com >
* Remove needless `done()`s from tests.
* Use vector list initialization.
* Add a simple test for isDefaultProtocolClient.
* Remove unneeded include and skip a test on Linux CI.
* We no longer differentiate between CI and non-CI test runs.
2019-11-06 17:50:33 -08:00
Samuel Attard
24939e8fa4
build: speedy tests on circle by splitting the test files into multiple jobs ( #21015 )
...
* build: let circleci divide our test suites in two
* well our tests rely on side affects, thats cool I guess
2019-11-06 16:15:55 -08:00
Samuel Attard
bbfb32b136
build: store the ninja log for our builds ( #21011 )
2019-11-06 16:13:39 -08:00
Yaser
e5ba6c5406
docs: Adds Desktop notifications Fiddle example ( #20525 )
...
* docs: Adds Desktop notifications Fiddle example
* Update index.html
Removed the classes
2019-11-06 09:24:41 -08:00
Electron Bot
b563cd1235
Bump v8.0.0-nightly.20191106
2019-11-06 07:33:12 -08:00
Samuel Attard
d91cc257f9
chore: emit the document-start and document-end events in a sandboxed renderer ( #20987 )
2019-11-05 17:53:03 -08:00
Samuel Attard
5b7382765c
feat: allow TouchBarButton instances to be disabled ( #20945 )
...
* feat: allow TouchBarButton instances to be disabled
* Update touch-bar-button.md
2019-11-05 15:56:36 -08:00
Electron Bot
9a198e8ef4
chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) ( #20824 )
...
* chore: bump chromium in DEPS to 0476932294da8809a19189b9f54cee11d50cc512
* update chromium patches (#20838 )
* chore: bump chromium in DEPS to 838863f5ec9e8a12132a10bb47be8382ad9756a7
* IsRendererTransferNeededForNavigation went away
https://chromium-review.googlesource.com/c/chromium/src/+/1867031
* [arraybuffer] Move the ArrayBuffer implementation from wtf to core
https://chromium-review.googlesource.com/c/chromium/src/+/1875731
* URLLoaderRequest new mojo types
* context menu enums moved around
https://chromium-review.googlesource.com/c/chromium/src/+/1872004
https://chromium-review.googlesource.com/c/chromium/src/+/1876088
https://chromium-review.googlesource.com/c/chromium/src/+/1866520
* chore: bump chromium in DEPS to dc9525d251bf30828899e4cd7161f6dc6507023f
* update chromium patches
* [WIP] Convert network hints IPC to Mojo
https://chromium-review.googlesource.com/c/chromium/src/+/1881967
* jumbo build is no longer supported
https://chromium-review.googlesource.com/c/chromium/src/+/1881967
* fix disable-color-correct-rendering
* [FIXME] fix printing patch
compiles but prob doesn't work
* explicitly include ax_enums
https://chromium-review.googlesource.com/c/chromium/src/+/1759821
* fixup! [WIP] Convert network hints IPC to Mojo
* fix base::span
* fix AsarURLLoader to not double-std::move
* fix debug build
* fix msstl patch
* lint
* more fix msstl
* mooooore fix msstl
* fix compile
* update backport_fix_msstl_compat_in_ui_events.patch
* update msstl compat patch
* don't try to build chrome's prefetch predictor
* build: fix compilation on windows
* Fixup patches for MAS build
* Free up disk space for mac debug builds
* fix: apply custom site instance only for main frame
* Fixup from rebase
* Try not generating symbols for mac debug builds
* Remove double entry of patch
* FIx compile errors
* Trigger CI
* Set symbol_level to 1 for mac debug builds
2019-11-05 18:41:20 -05:00
John Kleinschmidt
f18fca0729
build: speed up windows source retrieval ( #20955 )
...
* ci: speed up src retrieval
* Don't save zip on ia32
* Update external binaries if src zip already exists
* Apply suggestions from code review
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org >
* Update appveyor.yml
2019-11-05 17:18:08 -05:00
Birunthan Mohanathas
ac69b89e82
fix: Fix broken globalShortcuts.registerAll() on non-macOS platforms ( #20963 )
...
This was a regression in #16125 , which unintentionally put
`GlobalShortcutListener::RegisterAccelerator` into a
`#if defined(OS_MACOSX)` block.
Notes: Fix broken `globalShortcut.registerAll()` on Windows and Linux
2019-11-05 13:47:23 -08:00
Shelley Vohr
05de7277ab
docs: fix win.setIcon ts type ( #20950 )
...
* docs: fix win.setIcon ts type
* test: update smoke tests
2019-11-05 13:47:08 -08:00
Mark Lee
d871598d20
docs: update installation instructions for proxies ( #20780 )
2019-11-05 13:40:43 -08:00
CezaryKulakowski
00a1cd9395
fix: changed crlf to lf in some docs files ( #20832 )
2019-11-05 13:39:39 -08:00
loc
15dffb3dde
fix: allow iframe-initiated HTML fullscreen to exit while in macOS fullscreen ( #20962 )
...
* fix: explicitly resize the contents when exiting html fullscreen while in OS fullscreen
* test: ensure HTML fullscreen toggles while in OS fullscreen
2019-11-05 13:34:45 -08:00
Samuel Attard
fcee7212ce
chore: upgrade ts generator for better type safety ( #20975 )
...
* chore: upgrade ts generator for better type safety
* spec: fix tests
2019-11-05 13:34:04 -08:00
Jeremy Apthorp
6e5ac301ce
test: don't require 'q' until the test that needs it ( #20958 )
...
this stops a failure to require from blocking all tests from running
2019-11-05 11:36:25 -05:00
Electron Bot
56d6c1657a
Bump v8.0.0-nightly.20191105
2019-11-05 07:31:41 -08:00
Jeremy Apthorp
afaa1e73ab
chore: fix build with enable_electron_extensions ( #20959 )
2019-11-04 15:59:31 -08:00
Milan Burda
a034f5db0d
refactor: add Error to isSerializableObject() ( #20886 )
2019-11-04 14:35:57 -08:00
Shelley Vohr
584a494b83
fix: proper i18n of recentDocuments item ( #20948 )
2019-11-04 14:20:31 -08:00
Milan Burda
01e18c2fc3
fix: cannot access nativeTheme via electron.remote ( #20938 )
2019-11-04 14:17:03 -08:00
Milan Burda
ee7ce3954a
fix: don't export __esModule = true by electron.ts ( #20939 )
2019-11-04 14:16:42 -08:00
Samuel Attard
267821831c
fix: capture the promise global to avoid userland mutation ( #20925 )
2019-11-04 11:16:51 -08:00
Jeremy Apthorp
4de04da27a
chore: lint patch descriptions ( #20919 )
2019-11-04 11:04:18 -08:00
John Kleinschmidt
04da8a10eb
docs: document JS constant naming ( #20892 )
2019-11-04 13:25:43 -05:00
Jeremy Apthorp
85647dfced
refactor: remove references to non-existent webui ( #20867 )
2019-11-04 09:50:31 -08:00
Electron Bot
f645ca015f
Bump v8.0.0-nightly.20191104
2019-11-04 07:32:27 -08:00
Milan Burda
f808f50fa6
chore: remove no longer needed macOS SDK forward declarations ( #19918 )
...
* chore: remove no longer needed macOS SDK forward declarations
* fix: linter errors in spec-main/node-spec.ts
2019-11-03 21:46:12 +03:00
Electron Bot
5f27c1fa25
Bump v8.0.0-nightly.20191103
2019-11-03 07:31:11 -08:00
Shelley Vohr
ba47c9b925
fix: don't copy tray image when it's set ( #20904 )
2019-11-02 15:14:44 -07:00
Shelley Vohr
b194d5d0e2
chore: fix IsolateData handling ( #20918 )
2019-11-02 15:14:11 -07:00
Electron Bot
776cab96b1
Bump v8.0.0-nightly.20191102
2019-11-02 08:31:56 -07:00
Shelley Vohr
38711233c5
feat: allow some NODE_OPTIONS in packaged apps ( #20857 )
...
* feat: allow some NODE_OPTIONS in packaged apps
* fix: correctly detect packaged app
2019-11-01 18:06:15 -07:00
Jeremy Apthorp
ecd9e1f26e
chore: lint spec-main ( #20835 )
2019-11-01 13:37:02 -07:00
Shelley Vohr
1fed1ed577
chore: add patch info for setAspectRatio ( #20920 )
2019-11-01 13:26:57 -07:00
Amarnath Karthi
0fe718b1d9
docs: add Synchronous Messages Fiddle example ( #20451 )
...
* docs: add Synchronous Messages Fiddle example
* Code review changes
* Add OS support info
2019-11-01 14:02:42 -04:00
Erick Zhao
dcf6f046d9
feat: implement win.setAspectRatio() on Linux ( #19516 )
2019-11-01 09:22:07 -07:00
John Kleinschmidt
4240017cb6
build: allow CircleCI timeout and retry to be set via env variables ( #20896 )
...
* build: allow circleci timeout and retry to be set via env variables
* check for more statuses and run indefinitely
2019-11-01 11:47:45 -04:00
Electron Bot
d8aaaeb378
Bump v8.0.0-nightly.20191101
2019-11-01 08:30:48 -07:00
Amarnath Karthi
06285f0bf1
docs: add app information example ( #20487 )
...
* docs: add app information example
* Code review changes
* Remove demo-control css class, link href change
2019-11-01 08:04:47 -07:00
Cheng Zhao
eaf2c61bef
refactor: migrates util::Promise to gin ( #20871 )
...
* refactor: use gin in Promise
* refactor: separate Promise impl that returns nothing
* refactor: use Promise<void> for promise that returns nothing
* fix: methods should be able to run on both browser and renderer process
* fix: should not pass base::StringPiece across threads
* refactor: no more need to use different ResolvePromise for empty Promise
* refactor: move Promise to gin_helper
2019-11-01 15:10:32 +09:00
Milan Burda
bff113760a
fix: use Unicode version of ShellExecute() in OpenExternalOnWorkerThread() ( #20879 )
2019-11-01 14:38:56 +09:00
Samuel Attard
7ae8538847
build: enable sccache on windows ( #20790 )
...
* build: enable sccache on windows
* chore: temporarily disable the docs only check
* build: fix escaping in sccache path on windows
* Update appveyor.yml
* Update appveyor.yml
* Use sccache settings from CI
* Use Azure enabled sccache for Windows
2019-10-31 17:08:27 -04:00
Robo
d9b058c694
ci: fix release build on windows ( #20859 )
2019-10-31 13:24:24 -07:00
Samuel Attard
6bcf67e051
feat: enable builtin spellchecker ( #20692 )
...
* chore: add code required to use chromes spellchecker
* chore: fix linting
* chore: manifests needs buildflags now
* chore: add dictionarySuggestions to the context menu event when the spellchecker is active
* chore: enable by default for windows builds
* chore: add patch to remove incognito usage in the spellchecker
* chore: add dependencies on spellcheck common and flags
* chore: conditionally include spell check panel impl
* chore: fix deps for spellcheck feature flags
* chore: add patch for electron resources
* chore: add dependency on //components/language/core/browser
* chore: patches to make hunspell work on windows
* build: collect hunspell dictionaries into a zip file and publish
* chore: clean up patches
* chore: add docs and set spell checker url method
* chore: fix error handling
* chore: fix hash logic
* build: update hunspell filename generator
* fix: default spellchecker list to the current system locale if we can
* docs: document the language getter
* chore: patch IDS_ resources for linux builds
* feat: add spellcheck webpref flag to disable the builtin spellchecker
* chore: fix docs typo
* chore: clean up spellchecker impl as per feedback
* remove unneeded deps
2019-10-31 13:11:51 -07:00
John Kleinschmidt
23ca7e3733
build: lengthen wait times and retries for CircleCI releases ( #20889 )
...
* build: lengthen wait times and retries for CircleCI releases
* Review suggestions
2019-10-31 14:25:11 -04:00
Yaser
b060cbf4ec
docs: Adds Dialogs Fiddle example ( #20473 )
2019-10-31 11:04:24 -07:00
Mark Lee
2bbf32a18b
docs: clean up performance checklist formatting ( #20830 )
...
* docs: fix list formatting in performance checklist
* docs: remove unused link ref
2019-10-31 08:41:18 -07:00
Electron Bot
206e94d20c
Bump v8.0.0-nightly.20191031
2019-10-31 08:32:15 -07:00
Shelley Vohr
f0b0614dd7
fix: swapped labels on open/save gtkdialog ( #20861 )
2019-10-31 07:55:39 -07:00
John Kleinschmidt
dfdf1b54c6
build: do not try to run non existent VSTS release builds ( #20866 )
2019-10-31 09:58:56 -04:00
Cheng Zhao
3ae3233e65
chore: remove native_mate (Part 12) ( #20869 )
...
* refactor: move mate::Event to gin
* refactor: move mate::Locker to gin
* refactor: convert contextBridge to gin
* refactor: convert contentTracing to gin
* refactor: remove callback converter of native_mate
* refactor: remove file_dialog_converter and native_window_converter from native_mate
* refactor: convert webFrame to gin
* refactor: move blink_converter to gin
* refactor: remove net_converter from native_mate
* refactor: remove event_emitter_caller_deprecated
* refactor: remove gurl_converter from native_mate
* refactor: remove file_path and string16_converter from native_mate
* refactor: remove image_converter from native_mate
* refactor: move value_converter to gin
2019-10-31 16:56:00 +09:00
Jeremy Apthorp
6781d5e3c8
test: there is only --ci ( #20794 )
2019-10-30 16:38:21 -07:00
Birunthan Mohanathas
b275273044
fix: Disable compositor recycling only for attached views ( #20829 )
...
In #19873 , we completely disabled compositor recycling. This has adverse
effects in our tabbed app where switching tabs (i.e. `BrowserView`s) now
results in a flicker because we now also switch compositors.
To fix this without regressing the original fix, we now recycle the
compositor when the view is removed from a window. This situation can
only happen with `BrowserView`s and the common case with `BrowserWindow`
is unaffected.
2019-10-30 13:47:12 -07:00
Jeremy Apthorp
8dfc896cfa
refactor: send the 'close' message asynchronously ( #20796 )
2019-10-30 13:13:01 -07:00
Electron Bot
70fa9ff4c0
Bump v8.0.0-nightly.20191030
2019-10-30 08:31:54 -07:00
Milan Burda
3d56e13b38
fix: devtools extensions not loading ( #20791 )
2019-10-30 14:46:52 +09:00
Cheng Zhao
0ab9cc30d2
refactor: pass base::Value by value in JS API implementations ( #20809 )
...
* refactor: move the arg instead of const reference it
* refactor: avoid unnecessary copies of base::Value in arg
* refactor: pass-by-value in dict_util
* refactor: avoid unnecessary reference
2019-10-30 14:30:59 +09:00
Samuel Attard
c03ed6d3a1
build: change to download sysroots from the new sysroot bucket ( #20803 )
...
* build: change to download sysroots from the new sysroot bucket
* build: add json config files to deps hash to can influence the src dir
* build: update to latest sysroot hash
2019-10-29 17:50:24 -07:00
Shelley Vohr
5d00494f8d
fix: do not DCHECK non-const methods ( #20833 )
2019-10-29 13:35:38 -07:00
Electron Bot
79d3901859
Bump v8.0.0-nightly.20191029
2019-10-29 08:31:39 -07:00
Milan Burda
0f7ebff81e
fix: pass frameId to v8Util.setRemoteCallbackFreer() ( #20732 )
2019-10-29 15:40:09 +09:00
Samuel Attard
375e612ac5
docs: the ipc main listener being removed can have args ( #20712 )
2019-10-29 13:18:39 +09:00
Jeremy Apthorp
baaf058380
test: remove last usages of spec/window-helpers ( #20792 )
...
* test: remove last usages of spec/window-helpers
* move fixture
2019-10-29 13:16:42 +09:00
Milan Burda
0c870775c4
fix: deprecation warnings in Electron code ( #20793 )
2019-10-29 13:16:10 +09:00
Milan Burda
bd5a5b3ae6
fix: properly generate requestID in webContents.printToPDF() ( #20769 )
2019-10-29 11:36:29 +09:00
Electron Bot
b6246dcf12
chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) ( #20649 )
2019-10-28 15:12:35 -07:00
Shelley Vohr
fb8b1fd1c9
fix: prevent menu gc during popup ( #20745 )
2019-10-28 14:26:48 -04:00
Electron Bot
d0cdd12521
Bump v8.0.0-nightly.20191028
2019-10-28 08:31:41 -07:00
Alexey Kuzmin
0eff02dab9
chore: fix formatting of a few Python files ( #20743 )
2019-10-28 10:02:16 -04:00
John Kleinschmidt
73da4b7215
build: fix doc only change when there isn't a PR ( #20749 )
...
* build: fix doc only change when there isn't a PR
Fixes issue where CI was mistakenly marking a PR as a doc only change because the CI was kicked off before the PR was created.
2019-10-28 09:40:21 -04:00
Shelley Vohr
cdff1bde22
docs: fix process.getSystemVersion() type ( #20736 )
2019-10-27 09:40:41 -07:00
Electron Bot
e8d85b6ded
Bump v8.0.0-nightly.20191027
2019-10-27 08:31:07 -07:00
Electron Bot
8f1ad8a4e5
Bump v8.0.0-nightly.20191026
2019-10-26 08:32:27 -07:00
Mark Lee
57883eed0f
docs: add the performance doc to the table of contents ( #20727 )
2019-10-25 15:58:20 -04:00
Electron Bot
4ec6d10969
Bump v8.0.0-nightly.20191025
2019-10-25 08:31:50 -07:00
Cheng Zhao
0fe6767d6b
chore: remove native_mate (Part 11) ( #20719 )
...
* refactor: convert Menu and globalShortcut to gin
* refactor: convert api::Cookies to gin
* refactor: convert View and WebContentsView to gin
* refactor: convert WebContents related classes to gin
* refactor: convert powerMonitor to gin
* refactor: prepare for header change
* refactor: remove last uses of mate::EventEmitter
* refactor: remove mate::EventEmitter
* refactor: move trackable_object to gin_helper
* fix: custom converter should not use Handle
* fix: no more need to check if icon is empty
It was a bug that the Handle<NativeImage> can be non-empty when the
image file does not exist. The bug was caused by the converter code
writing out the image even when the convertion fails.
The bug was work-arounded by adding an additional check, but since the
original bug had been fixed, the additional check is no longer needed.
* fix: should always set frameId even when callback is null
* fix: do not mix gin/mate handles for NativeImage
2019-10-25 22:03:28 +09:00
Shelley Vohr
0e0d4fe990
chore: shrink RSA-PSS BoringSSL patch ( #20713 )
2019-10-24 13:32:43 -07:00
Electron Bot
e196a397ad
Bump v8.0.0-nightly.20191024
2019-10-24 08:32:48 -07:00
CezaryKulakowski
510a916f82
fix: return proper values for WM_GETMINMAXINFO ( #20519 )
...
* fix: set proper constraints for windows with defined maxWidth
When BrowserWindow has set constraints for width (max or min) it
won't behave correctly during first attempt of resizing it. When
maxWidth is defined and maxWidth equals its width it will shrink
rapidly when user tries to expand its width. On the other hand
when minWidth is defined and minWidth equals its width it's
possible to decrease its width with a few pixels.
Notes: Fixed improper behaviour of window with width constraint set during resize.
* fix: prevent crash when WM_GETMINMAXINFO is called on initing window
2019-10-24 15:06:04 +09:00
Cheng Zhao
be955a9721
chore: remove native_mate (Part 10) ( #20696 )
...
* refactor: remove direct uses of event_emitter_deprecated.h
* refactor: remove event_emitter_deprecated.h in api::App
* refactor: use std::move to save a copy
* fix: windows and linux builds
2019-10-24 14:47:58 +09:00
Jeremy Apthorp
77414813b4
chore: remove _ns suffixes ( #20691 )
...
* chore: remove _ns suffixes
* lint
2019-10-24 09:51:06 +09:00
John Kleinschmidt
cc278cea00
ci: skip build on doc only changes ( #20542 )
...
* ci: skip build on doc only changes
* Try using exit codes on doc-only-change
* Fixup
* Fixup circleci doc-only check
* Update appveyor.yml
Co-Authored-By: Samuel Attard <sattard@slack-corp.com >
* Properly detect doc only change on Windows
* Flip exit code per review
2019-10-23 19:36:26 -04:00
Samuel Attard
fadd7e056d
build: handle -x-y format for getCurrentBranch ( #20706 )
2019-10-23 12:51:44 -07:00
Robo
6dc101ffec
chore: update build_bring_back_node_with_ltcg_configuration.patch ( #20672 )
...
* chore: update build_bring_back_node_with_ltcg_configuration.patch
set default value for node_with_ltcg=true
* fix: move ltcg definition to Release configuration
2019-10-23 12:48:12 -07:00
John Kleinschmidt
467409458e
build: add support for automated minor releases ( #20620 )
...
* build: add support for automated minor releases
* Add test for minor bump
2019-10-23 11:07:09 -07:00
Sofia Nguy
f5e5bcd943
[WIP] docs: update electron 8.0 dates ( #20621 )
2019-10-23 12:39:47 -04:00
Shelley Vohr
db4d01c517
refactor: move CompileAndCall to a helper ( #20675 )
2019-10-23 09:26:32 -07:00
Shelley Vohr
5abce7ec08
fix: call InitializeContextRuntime in InitializeContext ( #20684 )
2019-10-23 09:25:14 -07:00
Electron Bot
18907389da
Bump v8.0.0-nightly.20191023
2019-10-23 08:32:02 -07:00
Milan Burda
ba8f80267c
fix: send ELECTRON_BROWSER_CONTEXT_RELEASE asynchronously ( #20632 )
...
* fix: send ELECTRON_BROWSER_CONTEXT_RELEASE asynchronously
* test: remote references should be able to be cleared for all cases
2019-10-23 13:44:21 +09:00
Jeremy Apthorp
2abea22b4b
fix: explicitly cancel redirects when mode is 'error' ( #20686 )
2019-10-23 09:10:37 +09:00
Jeremy Apthorp
cde2aae6b5
fix: properly free remote objects ( #20671 )
2019-10-22 16:54:38 -07:00
Sofia Nguy
97fa8c824c
docs: update currently supported versions for 7.0.0 release ( #20622 )
...
* [WIP] docs: update currently supported versions for 7.0.0 release
* oops
2019-10-22 15:26:07 -07:00
Electron Bot
2658cae3ea
Bump v8.0.0-nightly.20191022
2019-10-22 08:31:48 -07:00
Shelley Vohr
e3b30a825c
chore: remove unnecessary crypto patch ( #20669 )
2019-10-22 09:14:21 +09:00
Shelley Vohr
aa26e8b946
fix: macOS getColor inconsistencies ( #20611 )
2019-10-21 14:31:03 -07:00
Shelley Vohr
9a5cd4c8d2
fix: use xib file to construct macOS Menu ( #20615 )
2019-10-21 14:11:09 -07:00
Electron Bot
138af75ff8
chore: bump node in DEPS to v12.13.0 ( #20657 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2019-10-21 13:45:14 -07:00
Felix Rieseberg
13cb21a684
docs: Performance checklist ( #20230 )
...
* docs: First draft of perf checklist
* docs: More words
* docs: Use standard in code example
* docs: fix broken link
* Update docs/tutorial/performance.md
Co-Authored-By: Charles Kerr <ckerr@github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: Charles Kerr <ckerr@github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: loc <andy@slack-corp.com >
* Update docs/tutorial/performance.md
Co-Authored-By: loc <andy@slack-corp.com >
* docs: Implement suggestions
* docs: Include VSCode talk
* chore: Pass linter
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Apply suggestions from code review
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update performance.md
* fix: The process link
2019-10-21 13:39:54 -07:00
Arjit Chauhan
620ac9c2b4
docs: update README.md ( #20644 )
2019-10-21 12:14:42 -07:00
Electron Bot
417f9e27e1
Bump v8.0.0-nightly.20191021
2019-10-21 08:32:10 -07:00
Shelley Vohr
0abbb35c4e
chore: reduce crypto patch surface ( #20646 )
...
* reduce oaeplabel_option patch
* remove now-compatible patch
* note upstream
2019-10-21 08:02:23 -07:00
Kristof Kalocsai
7b28cd33cb
docs: Added Native User Interface -> Open path in file manager Fiddle example ( #20589 )
...
* docs: Added Native User Interface -> Open path in file manager Fiddle example from electron-api-demos
* removed classname from button
2019-10-21 16:16:11 +09:00
Yaser
4e88633d89
docs: Added Drag and drop files Fiddle example ( #20472 )
2019-10-21 16:14:35 +09:00
Cheng Zhao
eb0e55c514
chore: remove native_mate (Part 9) ( #20645 )
...
* refactor: remove a few uses of native_mate/gfx_converter.h
* refactor: deprecate mate::EventEmitter
* refactor: add gin_helper::EventEmitter
* refactor: convert a few classes to use gin_helper::EventEmitter
* refactor: get rid of native_mate_converters/gfx_converter.h
* fix: follow native_mate on reporting errors
* fix: gin is weak at guessing parameter types
* fix: incorrect full class name
* fix: gin::Handle does not accept null
2019-10-21 16:05:40 +09:00
Jeremy Apthorp
b155ebeeb3
fix: don't overwrite global constructor names in remote ( #20637 )
...
* fix: don't overwrite global constructor names in remote
* fake constructor names better, and improve error serialization
2019-10-21 15:48:03 +09:00
Electron Bot
820dab295f
Bump v8.0.0-nightly.20191020
2019-10-20 08:31:06 -07:00
Electron Bot
956127ee5e
Bump v8.0.0-nightly.20191019
2019-10-19 08:31:24 -07:00
Electron Bot
43fa9166c9
chore: bump node to v12.12.0 (master) ( #20584 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2019-10-18 16:52:15 -07:00
Jeremy Apthorp
9f23bb581e
test: fix BrowserWindow spec to await its result ( #20612 )
2019-10-18 16:23:33 -07:00
Samuel Attard
2b890827ef
docs: mark contextBridge as experimental ( #20638 )
...
* docs: mark contextBridge as experimental
This commit didn't make it to the original PR, quick addition here
* Update context-bridge.md
2019-10-18 13:46:03 -07:00
Electron Bot
3ac3fbdbfb
chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) ( #20314 )
2019-10-18 12:57:34 -07:00
Samuel Attard
0090616f7b
feat: add a new contextBridge module ( #20307 )
...
* feat: add a new contextBridge module
* chore: fix docs linting
* feat: add support for function arguments being proxied
* chore: ensure that contextBridge can only be used when contextIsolation is enabled
* docs: getReverseBinding can be null
* docs: fix broken links in md file
* feat: add support for promises in function parameters
* fix: linting failure for explicit constructor
* Update atom_api_context_bridge.cc
* chore: update docs and API design as per feedback
* refactor: remove reverse bindings and handle GC'able functions across the bridge
* chore: only expose debugGC in testing builds
* fix: do not proxy promises as objects
* spec: add complete spec coverage for contextBridge
* spec: add tests for null/undefined and the anti-overwrite logic
* chore: fix linting
* spec: add complex nested back-and-forth function calling
* fix: expose contextBridge in sandboxed renderers
* refactor: improve security of default_app using the new contextBridge module
* s/bindAPIInMainWorld/exposeInMainWorld
* chore: sorry for this commit, its a big one, I fixed like everything and refactored a lot
* chore: remove PassedValueCache as it is unused now
Values transferred from context A to context B are now cachde in the RenderFramePersistenceStore
* chore: move to anonymous namespace
* refactor: remove PassValueToOtherContextWithCache
* chore: remove commented unused code blocks
* chore: remove .only
* chore: remote commented code
* refactor: extract RenderFramePersistenceStore
* spec: ensure it works with numbered keys
* fix: handle number keys correctly
* fix: sort out the linter
* spec: update default_app asar spec for removed file
* refactor: change signatures to return v8 objects directly rather than the mate dictionary handle
* refactor: use the v8 serializer to support cloneable buffers and other object types
* chore: fix linting
* fix: handle hash collisions with a linked list in the map
* fix: enforce a recursion limit on the context bridge
* chore: fix linting
* chore: remove TODO
* chore: adapt for PR feedback
* chore: remove .only
* chore: clean up docs and clean up the proxy map when objects are released
* chore: ensure we cache object values that are cloned through the V8 serializer
2019-10-18 12:57:09 -07:00
Shelley Vohr
8099e6137d
chore: remove some trop permissions ( #20636 )
2019-10-18 11:24:52 -07:00
Electron Bot
e74b21bff5
Bump v8.0.0-nightly.20191018
2019-10-18 08:31:50 -07:00
Alecyrus
825e67140e
feat: support fitToPageEnabled and scaleFactor ( #20436 )
...
* fix: support fitToPageEnabled and scaleFactor
Support fitToPageEnabled and scaleFactor in `WebContents.printToPDF()`
* fix: change default value of scaleFactor
2019-10-18 09:40:19 +09:00
Cheng Zhao
19223952a8
chore: remove native_mate (Part 8) ( #20598 )
...
* refactor: convert methods of AutoUpdater to gin
* refactor: converter in map_converter.h is no more needed
* refactor: use gin in crash_reporter
* refactor: remove native_mate_converters/map_converter.h
* refactor: implement gfx_converter with gin
* refactor: convert methods of NativeImage to gin
* refactor: add gin_helper::Arguments
* fix: use gin_helper::Arguments to parse multi-type parameters
2019-10-18 09:31:29 +09:00
Robo
58115c1cae
fix: add patch to node for native module size issue on windows ( #20614 )
2019-10-17 17:10:42 -04:00
Electron Bot
86258c6cff
Bump v8.0.0-nightly.20191017
2019-10-17 08:33:48 -07:00
Milan Burda
b29f0b9348
refactor: use Map for windowProxies in window-setup.ts ( #20600 )
2019-10-17 15:07:27 +02:00
Electron Bot
e06b0aa73b
Bump v8.0.0-nightly.20191016
2019-10-16 08:31:19 -07:00
Harendra Singh
db91673f23
docs: add example for taking screenshot ( #20531 )
2019-10-16 08:17:50 -07:00
Vlad Hashimoto
c73e34fb9e
docs: remove class names from fiddle examples ( #20596 )
...
* docs: remove original class names in customize menus example
* docs: remove original class names in shortcuts example
* lint: run standard
2019-10-16 08:17:09 -07:00
Jeremy Apthorp
221ce70699
test: remove remote usage from chromium spec ( #20568 )
...
* test: move & expand webview -> window.open() opener tests
* remove remaining usage of 'protocol' from chromium-spec.js
* remove final usages of remote from chromium-spec
* remove import of window-helpers
2019-10-16 11:12:31 -04:00
Jeremy Apthorp
9055b5cf6d
test: simplify node setInterval test ( #20594 )
2019-10-15 17:10:28 -07:00
Harendra Singh
93788e76e0
docs: add notification examples ( #20528 )
...
Refs #20442
Adds the basic notification and notification with custom image examples from electron-api-demos into runnable Fiddle examples.
Gist links to Fiddles (same as code submitted in this PR):
Basic Notification: https://gist.github.com/102945f83f559e7944797175d8fd8af4
Notification with image: https://gist.github.com/2688bf4bfc27ce02f5d74224828eb928
Co-Authored-By: Erick Zhao <erick@hotmail.ca >
2019-10-15 14:06:58 -07:00
Rik Theunis
16d4ace800
docs: add system get version info Fiddle example ( #20536 )
2019-10-15 11:17:04 -07:00
Milan Burda
5273930f76
refactor: use Map for callbacks in CallbacksRegistry ( #20565 )
2019-10-15 09:14:41 -07:00
Electron Bot
dceabf231b
Bump v8.0.0-nightly.20191015
2019-10-15 08:31:28 -07:00
Cheng Zhao
1ecfcc8c70
chore: remove native_mate (Part 7) ( #20561 )
...
* refactor: use gin converters in api::Protocol
* refactor: convert JS constructor impl to gin
* refactor: use InitWithArgs helper
* fix: gin_helper::Dictionary should behave the same with mate
* fix cpplint warnings
* refactor: no more need to patch gin/dictionary.h
2019-10-15 10:15:23 +09:00
Electron Bot
6c6bff81ac
chore: bump node to v12.10.0 (master) ( #20129 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2019-10-14 15:46:10 -07:00
Jeremy Apthorp
8dad0c7aaa
test: move crashReporter specs to the main process ( #20417 )
2019-10-14 14:38:54 -07:00
Milan Burda
eb100cdf9e
test: skip desktopCapturer / remote module tests when the features are disabled ( #20566 )
2019-10-14 13:49:21 -07:00
Alexey Kuzmin
b085dac15b
spec: allow "Yu Gothic" as a Japanese sans-serif font on Windows ( #20564 )
2019-10-14 14:30:18 -04:00
Erick Zhao
a7e26fdc61
docs: Update Issue Closure in CONTRIBUTING.md ( #20545 )
2019-10-14 09:40:01 -07:00
Jeremy Apthorp
d67f25ce43
test: expand window.opener test and move to main process ( #20549 )
2019-10-14 09:00:34 -07:00
Electron Bot
dfac05805d
Bump v8.0.0-nightly.20191014
2019-10-14 08:30:58 -07:00
Jeremy Apthorp
6025ae7b12
fix: generate breakpad symbols before stripping ( #20530 )
...
* fix: generate breakpad symbols before stripping
* store symbols as circleci artifacts
2019-10-14 10:58:05 -04:00
Kerollos Magdy
8efa45d12d
docs: fix minor grammar mistakes ( #20521 )
2019-10-14 14:35:52 +09:00
Jeremy Apthorp
1f44f47de1
test: move debugger spec to main process ( #20514 )
2019-10-14 14:32:11 +09:00
Robo
5c2c30142c
fix: append network switches to network service process ( #20546 )
2019-10-13 18:21:41 -07:00
Electron Bot
5bd7b6ad50
Bump v8.0.0-nightly.20191013
2019-10-13 08:31:09 -07:00
Electron Bot
2cf64d0200
Bump v8.0.0-nightly.20191012
2019-10-12 08:32:39 -07:00
Jeremy Apthorp
2aa7ab821c
test: remove some remote usage from chromium specs ( #20121 )
...
* test: remove remote usage from chromium specs
* disable tts test
* port navigator.mediaDevices tests
* fake camera and microphone
* Update spec-main/chromium-spec.ts
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com >
2019-10-11 13:55:50 -07:00
Cheng Zhao
1b2c6a33b3
fix: do not manually parse content-type ( #20538 )
2019-10-11 14:54:50 -04:00
Jeremy Apthorp
67642312f4
test: remove remote usage from webFrame test ( #20512 )
2019-10-11 10:20:08 -07:00
Jeremy Apthorp
032353b14f
test: remove remote usage from asar spec ( #20513 )
2019-10-11 09:56:51 -07:00
Electron Bot
d21519ed2e
Bump v8.0.0-nightly.20191011
2019-10-11 08:31:51 -07:00
Jeremy Apthorp
50178d4836
test: remove more unused files ( #20529 )
2019-10-10 15:20:04 -07:00
Jeremy Apthorp
5d696c5c69
fix: return type of webview.printToPDF is now Uint8Array ( #20505 )
2019-10-10 11:25:11 -07:00
Jeremy Apthorp
01448e1235
chore: delete some unreferenced test files ( #20511 )
2019-10-10 11:24:06 -07:00
Shelley Vohr
812de5d3bf
fix: properly register custom url evt handling ( #20518 )
2019-10-10 08:54:03 -07:00
Electron Bot
ec2c1db0e4
Bump v8.0.0-nightly.20191010
2019-10-10 08:31:27 -07:00
Milan Burda
b92163d226
refactor: take advantage of structured clone algorithm in the remote module ( #20427 )
2019-10-10 09:59:08 -04:00
Erick Zhao
c2e77e4429
docs: add Asynchronous Messages Fiddle example ( #20441 )
...
* docs: add Asynchronous Messages Fiddle example
* Update docs/fiddles/communication/two-processes/asynchronous-messages/main.js
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com >
* Update docs/fiddles/communication/two-processes/asynchronous-messages/index.html
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com >
2019-10-10 09:49:07 -04:00
Rik Theunis
ec87917f58
docs: add clipboard Fiddle examples ( #20445 )
...
* docs: add clipboard paste Fiddle example
* docs: add clipboard copy Fiddle example
* docs: add appropriate title to Fiddles
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com >
2019-10-10 09:48:33 -04:00
Yaser
d1c5c760d0
docs: add Menu Shortcuts Fiddle example ( #20466 )
2019-10-10 09:47:50 -04:00
Yaser
9b4ba7993c
docs: Adds Customize Menu section Fiddle example ( #20468 )
2019-10-10 09:47:34 -04:00
Jeremy Apthorp
1dc1ef6091
test: ensure cleanup of net requests in tests ( #20510 )
...
ref #19389
2019-10-10 14:14:41 +02:00
Jeremy Apthorp
8de925c4c2
test: move module tests to main process ( #20419 )
2019-10-09 16:33:15 -07:00
Jeremy Apthorp
df1d3156a0
docs: remove outdated document about updating chromium ( #20490 )
2019-10-09 16:07:15 -07:00
Jeremy Apthorp
c75c3ef616
docs: add a dev doc describing the patch system ( #20489 )
2019-10-09 14:48:09 -07:00
Milan Burda
bb2ab01f99
fix: when building with enable_plugins=false ( #20354 )
...
* fix: when building with enable_plugins=false
* build: exclude printing service to avoid patch
* build: update plugins patch from upstream
2019-10-09 19:59:37 +02:00
Jeremy Apthorp
2fad53e66b
refactor: use v8 serialization for ipc ( #20214 )
...
* refactor: use v8 serialization for ipc
* cloning process.env doesn't work
* serialize host objects by enumerating key/values
* new serialization can handle NaN, Infinity, and undefined correctly
* can't allocate v8 objects during GC
* backport microtasks fix
* fix compile
* fix node_stream_loader reentrancy
* update subframe spec to expect undefined instead of null
* write undefined instead of crashing when serializing host objects
* fix webview spec
* fix download spec
* buffers are transformed into uint8arrays
* can't serialize promises
* fix chrome.i18n.getMessage
* fix devtools tests
* fix zoom test
* fix debug build
* fix lint
* update ipcRenderer tests
* fix printToPDF test
* update patch
* remove accidentally re-added remote-side spec
* wip
* don't attempt to serialize host objects
* jump through different hoops to set options.webContents sometimes
* whoops
* fix lint
* clean up error-handling logic
* fix memory leak
* fix lint
* convert host objects using old base::Value serialization
* fix lint more
* fall back to base::Value-based serialization
* remove commented-out code
* add docs to breaking-changes.md
* Update breaking-changes.md
* update ipcRenderer and WebContents docs
* lint
* use named values for format tag
* save a memcpy for ~30% speedup
* get rid of calls to ShallowClone
* extra debugging for paranoia
* d'oh, use the correct named tags
* apparently msstl doesn't like this DCHECK
* funny story about that DCHECK
* disable remote-related functions when enable_remote_module = false
* nits
* use EnableIf to disable remote methods in mojom
* fix include
* review comments
2019-10-09 13:59:08 -04:00
Electron Bot
c250cd6e7c
Bump v8.0.0-nightly.20191009
2019-10-09 08:33:39 -07:00
Shelley Vohr
f80a17c5be
feat: allow Linux/Windows users to set notification timeout ( #20153 )
...
* feat: allow Linux users to set notification timeout
* implement on windows
2019-10-09 11:22:21 -04:00
Cheng Zhao
5e11be6898
fix: cookies.get should be able to filter domain ( #20471 )
...
* fix: use GetAllCookies when url is empty
* test: get cookie without url
2019-10-09 15:57:40 +09:00
Jeremy Apthorp
ebd55c1147
fix: fix crash in crashReporter.getUploadedReports ( #20428 )
2019-10-08 16:35:28 -07:00
Richard Townsend
2ce90f8806
docs: add WoA cross-compilation instructions ( #20244 )
...
* docs: add WoA cross-compilation instructions
* docs: fixing lint issues
* docs: minor corrections
* style: Ssubstitute -> Substitute
2019-10-08 14:54:03 -07:00
Felix Rieseberg
b3e7657159
docs: Update the sccache name ( #20462 )
2019-10-08 17:46:01 -04:00
John Kleinschmidt
23066f8cce
ci: verify CircleCI job number before returning job url ( #20483 )
2019-10-08 17:45:07 -04:00
Jaime Bernardo
de3c1fae7f
build: fix build with Visual Studio 2019 ( #20465 )
2019-10-08 12:49:38 -07:00
Electron Bot
94ec4ecabe
Bump v8.0.0-nightly.20191008
2019-10-08 08:32:37 -07:00
Shelley Vohr
c16a186de0
feat: improve TouchBarButton accessibility ( #20454 )
2019-10-08 11:13:57 -04:00
dependabot[bot]
8da9a3c416
build(deps): bump eslint-utils from 1.3.1 to 1.4.2 ( #20481 )
...
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils ) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases )
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-10-08 11:06:52 -04:00
Shelley Vohr
8d9ba87e05
fix: properly free IsolateData in node_main ( #20446 )
2019-10-08 09:03:04 +02:00
Robo
c85648a8a1
fix: fs.watch() behavior change in node >= 10.16.0 ( #20408 )
...
This reverts the patch from https://github.com/electron/node/pull/100
which never got merged due to reasons outlined in https://github.com/libuv/libuv/pull/2313
* Adds new patches that backports https://github.com/libuv/libuv/pull/2459
and https://github.com/libuv/libuv/pull/2460
Based on https://github.com/nodejs/node/issues/29460
2019-10-07 13:04:15 -07:00
ryanomor
0c87471c12
Fix typo ( #20450 )
2019-10-07 12:26:38 -04:00
Electron Bot
f3cf2566c1
Bump v8.0.0-nightly.20191007
2019-10-07 08:32:42 -07:00
Shelley Vohr
9b534e9aab
fix: enable worker threads ( #20416 )
2019-10-07 11:30:10 +02:00
John Kleinschmidt
3f72f07a7f
test: remove unneeded console.log ( #20424 )
...
(cherry picked from commit 4945a9fce9 )
2019-10-06 22:00:38 +02:00
Electron Bot
e26fa9090d
Bump v8.0.0-nightly.20191006
2019-10-06 08:33:20 -07:00
Stian Jørgensrud
39d19d23d1
Add unsafe-inline ( #20414 )
...
Versions didn't show and I was getting errors in the Developer Tools: `Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'"`. The cause is probably that Chrome has implemented extra security since this tutorial was created. Added 'unsafe-inline' and it works.
2019-10-06 12:24:24 +02:00
Erick Zhao
0a09f27735
chore: empty folder structure ( #20439 )
2019-10-05 12:46:01 -05:00
Electron Bot
8dae38639a
Bump v8.0.0-nightly.20191005
2019-10-05 08:31:32 -07:00
Jeremy Apthorp
87bd0501c4
test: remove 'remote' usage from process tests ( #20418 )
2019-10-04 13:58:44 -07:00
Milan Burda
ccff140046
feat: add --enable-api-filtering-logging commandline switch ( #20335 )
2019-10-04 10:49:09 -07:00
Electron Bot
e1eb9519f5
Bump v8.0.0-nightly.20191004
2019-10-04 08:31:45 -07:00
John Kleinschmidt
ad34d7fc32
Revert "test: remove unneeded console.log"
...
This reverts commit 4945a9fce9 .
2019-10-04 11:17:58 -04:00
John Kleinschmidt
4945a9fce9
test: remove unneeded console.log
2019-10-04 11:05:49 -04:00
Andrew MacDonald
7f320eef0e
docs: Minor fixes to build instructions ( #20338 )
...
* Minor fixes to build instructions
* Direct folks to the unit testing page.
2019-10-04 10:11:51 -04:00
Shelley Vohr
513c8536c0
refactor: implement sublabel fns in MenuModel ( #20150 )
2019-10-04 08:58:54 +02:00
Shelley Vohr
82ff142f9c
chore: remove unused l10n_util includes ( #20412 )
2019-10-04 09:31:38 +09:00
Cheng Zhao
509587eb81
test: close window before destroying browserView ( #20411 )
2019-10-04 09:30:44 +09:00
Shelley Vohr
80af35e0cd
chore: enable native unittesting ( #20293 )
2019-10-03 22:21:30 +02:00
Shelley Vohr
f054d5862c
chore: remove upstreamed node_crypto CHECK patch ( #20406 )
2019-10-03 21:11:04 +02:00
Electron Bot
8a2ba597bb
Bump v8.0.0-nightly.20191003
2019-10-03 08:32:50 -07:00
Shelley Vohr
e543fe702c
fix: recentDocuments menu role on macOS ( #20398 )
2019-10-03 14:25:14 +09:00
Jeremy Apthorp
2470ef2e91
ci: enable crashReporter tests on mac ( #19582 )
2019-10-02 17:53:51 -07:00
Jeremy Apthorp
fe956f87ec
ci: save pdb files for testing builds ( #20407 )
2019-10-02 14:52:55 -07:00
Electron Bot
1c0a21a8bc
Bump v8.0.0-nightly.20191002
2019-10-02 08:32:04 -07:00
Milan Burda
2f03d393c3
feat: allow inspection of specific shared workers ( #20389 )
2019-10-02 14:38:27 +02:00
CezaryKulakowski
712d77dc8b
fix: remove unnecessary patch ( #20390 )
...
Patch which this pr removes adds new version of
BrowserCompositorMac::GetCompositor. There is this function in
BrowserCompositorMac with specifier const. Chromium's function
returns parent's compositor if parent is set. Electron's version
doesn't and - as a result - constrained dialogs won't be displayed
correctly if they don't have its own compositor.
2019-10-02 13:59:42 +02:00
Milan Burda
bf978e09e4
fix: allow paths to asar archives to contain the .asar extension in directories ( #20342 )
2019-10-02 13:33:07 +09:00
Cheng Zhao
4ac4b34ae9
chore: remove native_mate (Part 6) ( #20391 )
2019-10-02 09:30:55 +09:00
bughit
01ed55ff02
docs: WebContents console-message event is emitted for offscreen windows ( #20386 )
...
since c3d11a51cc
2019-10-01 14:32:59 -04:00
Cheng Zhao
ef690c035d
fix: correctly crash when there is no crashReporter ( #20388 )
...
* fix: correctly crash when there is no crashReporter
* test: correctly crash when there is crashReporter
2019-10-01 13:20:21 -04:00
Electron Bot
969b4d1dd3
Bump v8.0.0-nightly.20191001
2019-10-01 08:31:25 -07:00
Jeremy Apthorp
a9e695d05f
test: move more web contents specs ( #20099 )
2019-09-30 15:00:47 -07:00
Jeremy Apthorp
b7b0992768
refactor: convert some more remote stuff to typescript ( #20324 )
2019-09-30 15:00:22 -07:00
Birunthan Mohanathas
d3922f95e6
fix: Make the --disable-color-correct-rendering switch work again ( #20356 )
...
This broke in Electron 6 due to some Chromium changes.
Test Plan:
- Confirm that test case from
https://github.com/electron/electron/pull/15898#issuecomment-443191770
now works
Notes: Fix disabling color correct rendering with `--disable-color-correct-rendering`
2019-09-30 10:46:03 -07:00
Chris Hawkes
9457c796b1
Update application-architecture.md ( #20370 )
...
Updated the period to a comma. Appears to be a number typo.
2019-09-30 13:41:58 -04:00
Electron Bot
37e34395de
Bump v8.0.0-nightly.20190930
2019-09-30 08:32:02 -07:00
Electron Bot
4f815d8469
Bump v8.0.0-nightly.20190929
2019-09-29 08:31:20 -07:00
Electron Bot
e099edc2c2
Bump v8.0.0-nightly.20190928
2019-09-28 08:31:51 -07:00
Electron Bot
5e942cea8d
Bump v8.0.0-nightly.20190927
2019-09-27 08:33:09 -07:00
Milan Burda
ead8f2bbcd
fix: BrowserWindow.fromWebContents() can return null ( #19983 )
2019-09-27 13:07:55 +02:00
Electron Bot
efe6e7b04d
Bump v8.0.0-nightly.20190926
2019-09-26 08:33:14 -07:00
Jeremy Apthorp
cc0312567e
chore: update strip-binaries for moved swiftshader.so ( #20341 )
2019-09-26 10:48:53 -04:00
Jeremy Apthorp
593f1774e9
fix: backport Node nested microtask fix ( #20303 )
2019-09-25 17:38:50 -04:00
Electron Bot
0653e31767
Revert "Bump v8.0.0-nightly.20190925"
...
This reverts commit b18fb96ecf .
2019-09-25 08:37:31 -07:00
Electron Bot
b18fb96ecf
Bump v8.0.0-nightly.20190925
2019-09-25 08:32:11 -07:00
Daniel Zwelling
26d9ef9403
docs: update selenium docs ( #20336 )
2019-09-24 13:36:09 -07:00
Samuel Attard
c32bea5ae0
build: run publish jobs in the secure context and enable sccache ( #20326 )
2019-09-24 13:52:06 -04:00
Mike Pelley
7f0ec3091e
Replace workspaceRoot with workspaceFolder. ( #20306 )
...
workspaceRoot has been deprecated as per https://code.visualstudio.com/docs/editor/variables-reference#_why-isnt-workspaceroot-documented
2019-09-24 13:49:04 -04:00
Electron Bot
597a8b5ec7
Bump v8.0.0-nightly.20190924
2019-09-24 08:31:12 -07:00
Electron Bot
c25f0a1779
Bump v8.0.0-nightly.20190923
2019-09-23 08:31:45 -07:00
Electron Bot
bac15ef86f
Bump v8.0.0-nightly.20190922
2019-09-22 08:32:05 -07:00
Electron Bot
297b81fa1d
Bump v8.0.0-nightly.20190921
2019-09-21 08:31:38 -07:00
Electron Bot
913ec1e0d0
chore: bump chromium to 0239d631f03d0111f77b0b98c7765 (master) ( #20285 )
2019-09-21 10:51:28 -04:00
Milan Burda
d090b0cd2d
perf: only access remote module when <webview>.getWebContents() is called ( #20272 )
2019-09-20 08:54:16 -07:00
Electron Bot
1e0b87732f
Bump v8.0.0-nightly.20190920
2019-09-20 08:32:01 -07:00
Jeremy Apthorp
9abdfc11a9
test: remove usage of remote module from node tests ( #20103 )
...
* test: remove usage of remote module from node tests
* isTTY is undefined in the renderer process on all platforms
* Update spec/node-spec.js
* Update node-spec.js
2019-09-20 10:41:40 -04:00
Shelley Vohr
ae6f08d56e
fix: correct 'Entire screen' to ' Entire Screen' ( #20276 )
2019-09-20 10:16:47 -04:00
Felix Rieseberg
26014d19e1
docs: Add Notification API to docs ( #20290 )
2019-09-19 23:30:01 -07:00
Jeremy Apthorp
e83c299454
test: move ipcRenderer spec to main runner ( #20093 )
2019-09-19 16:35:05 -04:00
Milan Burda
b136819371
refactor: move GetCursorBlinkInterval() to a helper function ( #20060 )
2019-09-19 11:43:21 -07:00
John Kleinschmidt
c46a386970
ci: Fix build failures on linux nightly release tests ( #20287 )
2019-09-19 12:37:54 -04:00
John Kleinschmidt
6f2fe7560a
ci: actually kill leftover processes on WOA testing ( #20286 )
2019-09-19 11:35:31 -04:00
Electron Bot
e459114149
Bump v8.0.0-nightly.20190919
2019-09-19 08:31:13 -07:00
Cheng Zhao
624ba4f642
chore: remove native_mate (Part 5) ( #20264 )
...
* deprecate native_mate/native_mate/object_template_builder.h
* add gin_helper/object_template_builder.h
* add patch to avoid ambiguous error
* remove usage of object_template_builder_deprecated.h in a few files
* add note we should remove gin_helper/object_template_builder.h in future
2019-09-19 08:09:15 -07:00
Charles Kerr
63f08fcdb0
fix: use coordinate offsets in ShowAutofillPopup ( #20232 )
...
* fix: use coordinate offsets in ShowAutofillPopup
* fix: silence coord int->float narrowing conversion
Minor fix to silence clang-tidy warning about implicit range narrowing.
Not a huge deal but the revision is also easier to read.
clang-tidy: bugprone-narrowing-conversions
2019-09-19 08:05:57 -07:00
Gellert Hegyi
3f5833ce5d
fixes widget host fetching from render view host ( #20239 )
2019-09-19 05:47:12 -04:00
Shelley Vohr
ffe2182883
feat: set urgency on linux notifications ( #20152 )
2019-09-18 22:35:20 -07:00
Shelley Vohr
e510af77b2
docs: improve and add examples for clipboard ( #20224 )
...
* docs: improve and add examples for clipboard
* address feedback from jkleinsc review
2019-09-18 16:00:43 -07:00
John Kleinschmidt
afc59aefb7
ci: only kill WOA processes if they are running ( #20274 )
2019-09-18 16:44:48 -04:00
Shelley Vohr
b0fe3e20e6
fix: reset capturers at the very end ( #20270 )
2019-09-18 16:20:41 -04:00
Electron Bot
eb2d2264d0
chore: bump chromium to 63be48daea281d4f8c834c2e707a7 (master) ( #19923 )
2019-09-18 15:58:00 -04:00
John Kleinschmidt
104088b86b
ci: Fix triggering CircleCI release builds ( #20275 )
...
* ci: fix circleCI handling of booleans
* Explicitly specify 2.1
2019-09-18 15:53:54 -04:00
Milan Burda
11cd0db86b
build: add enable_remote_module build flag ( #19821 )
2019-09-18 09:52:06 -07:00
Electron Bot
8bf74164e2
Bump v8.0.0-nightly.20190918
2019-09-18 08:31:27 -07:00
John Kleinschmidt
eaa18041e1
ci: use CircleCI 2.1 config and v2 APIs ( #20245 )
...
* ci: use circleci 2.1
* Check for pipeline status and add comments
2019-09-17 14:48:02 -04:00
loc
d2a94e6b13
fix: free screen and window capturers immediately after we're finished with them ( #20156 )
...
fix #17937 , #19908
2019-09-17 09:48:31 -07:00
John Kleinschmidt
42999f42f2
build: add WOA node headers to checksum file ( #20255 )
2019-09-17 12:38:36 -04:00
Electron Bot
dfd2135647
Bump v8.0.0-nightly.20190917
2019-09-17 08:32:25 -07:00
Tony Stark
7c45c2fdef
fix: strip chrome-sandbox typo ( #20227 )
2019-09-17 10:51:25 -04:00
Erick Zhao
2cac40444b
docs: clarify VS installation instructions for Windows builds ( #20236 )
...
* docs: note required step for VS in Windows build
* docs: add instructions for custom VS location
* lint?
* link chromium docs
2019-09-17 10:23:56 -04:00
Samuel Attard
f566e562a3
build: remove .only
2019-09-16 16:08:41 -07:00
Samuel Attard
0e61709fa7
fix: emit updated on NativeTheme on the UI thread to avoid DCHECK ( #20137 )
...
* fix: emit updated on NativeTheme on the UI thread to avoid DCHECK
* Update atom_api_native_theme.cc
* spec: wait a few ticks for async events to emit so that test events do not leak into each other
2019-09-16 16:08:01 -07:00
Charles Kerr
2b316f3843
refactor: run clang-tidy ( #20231 )
...
* refactor: clang-tidy modernize-use-nullptr
* refactor: clang-tidy modernize-use-equals-default
* refactor: clang-tidy modernize-make-unique
* refactor: omit nullptr arg from unique_ptr.reset()
As per comment by @miniak
2019-09-16 18:12:00 -04:00
Samuel Attard
660e566201
fix: don't expose nativeTheme in the renderer process ( #20139 )
...
Exposing these in the renderer didn't make sense as they weren't backed
by the same instance / value store. This API should be browser only
especially now that we have nativeTheme.themeSource. Exposing in
//common was a mistake from the beginning.
2019-09-16 14:23:13 -07:00
Samuel Attard
999f7df158
build: speed up linux CI even more ( #20241 )
...
* build: yolo a theoretical speed improvement
* chore: persist src/electron and friends for testing purposes
* build: do not generate dist.zip on debug builds
* chore: ensure licenses and version file exist for zip-symbols script
2019-09-16 09:31:08 -07:00
Electron Bot
816bc5c8a7
Bump v8.0.0-nightly.20190915
2019-09-15 08:31:55 -07:00
Electron Bot
99f1b96c4f
Bump v8.0.0-nightly.20190914
2019-09-14 08:31:07 -07:00
Felix Rieseberg
334ea36f38
docs: Add recent Electron version to security checklist ( #20206 )
...
* docs: Add recent Electron version to security checklist
* Update docs/tutorial/security.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/security.md
Co-Authored-By: Pedro Pontes <pepontes@microsoft.com >
* Update docs/tutorial/security.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
2019-09-13 21:12:14 -04:00
Electron Bot
c485c1e4b0
Bump v8.0.0-nightly.20190913
2019-09-13 08:31:01 -07:00
Charles Kerr
b2652beceb
refactor: apply some 'clang-tidy -fix' changes ( #20172 )
...
* refactor: fix clang-tidy vector operation warnings
Fix vector population performance-inefficient-vector-operation warnings
generated by clang-tidy
* refactor: fix clang-tidy emplace_back warnings
In cases where a temporary is created to be passed
to push_back(), replace it with emplace_back().
Warning: modernize-use-emplace
* refactor: fix clang-tidy loop iteration warnings
When practical, use range-based for loops instead of C-style for loops.
clang-tiny check: modernize-loop-convert
* refactor: fix clang-tidy string initialize warning
Remove redundant empty string initialization.
clang-tidy check: readability-redundant-string-init
2019-09-13 10:26:59 -04:00
Shelley Vohr
3ec17a88ba
fix: crash when exiting simple fullscreen on macOS ( #20144 )
2019-09-12 13:38:16 -04:00
Electron Bot
5dee8a5717
Bump v8.0.0-nightly.20190912
2019-09-12 08:32:04 -07:00
Electron Bot
ace0284eef
Bump v8.0.0-nightly.20190911
2019-09-11 08:31:12 -07:00
John Kleinschmidt
5ccc043d86
build: handle arm64 node headers ( #20192 )
...
* build: handle arm64 node headers
(cherry picked from commit ff1f224d96 )
* node.lib for arm64 needs to go to specific dir
2019-09-10 14:14:58 -07:00
John Kleinschmidt
fd31a99ef0
Revert "build: handle arm64 node headers"
...
This reverts commit ff1f224d96 .
2019-09-10 15:18:55 -04:00
John Kleinschmidt
ff1f224d96
build: handle arm64 node headers
2019-09-10 15:15:20 -04:00
Electron Bot
0b26d7a0e2
Bump v8.0.0-nightly.20190910
2019-09-10 08:31:47 -07:00
Electron Bot
5f59c6ddfe
Bump v8.0.0-nightly.20190909
2019-09-09 08:32:20 -07:00
Shelley Vohr
a9f2a52ce0
build: specific line with trailing whitespace ( #20155 )
2019-09-09 06:15:24 -07:00
Electron Bot
d84e2e3972
Bump v8.0.0-nightly.20190908
2019-09-08 08:31:31 -07:00
Cheng Zhao
49bd74ff0e
chore: remove native_mate (Part 4) ( #20146 )
...
* avoid patching gin::Dictionary by using our wrapper
* remove SetHidden from mate::Dictionary
2019-09-09 00:10:18 +09:00
Samuel Attard
d395799917
build: get all the release assets when looking for one to delete ( #20157 )
...
* build: get all the release assets when looking for one to delete
yeah we totally have more than 30....
* Update upload-to-github.js
2019-09-07 14:48:35 -07:00
Electron Bot
6e9a23a884
Bump v8.0.0-nightly.20190907
2019-09-07 08:33:10 -07:00
Electron Bot
0979fb7eee
Bump v8.0.0-nightly.20190906
2019-09-06 13:07:01 -07:00
Samuel Attard
9ab06af786
Revert "Bump v8.0.0-nightly.20190906"
...
This reverts commit 432ae81823 .
2019-09-06 13:05:43 -07:00
Shelley Vohr
6087f89aac
refactor: use base::StringPiece over std::string ( #20119 )
2019-09-06 09:05:12 -07:00
Electron Bot
432ae81823
Bump v8.0.0-nightly.20190906
2019-09-06 08:31:28 -07:00
Cheng Zhao
2c23e44ed9
chore: remove native_mate (Part 3) ( #20131 )
...
* use gin converter in atom_api_menu
* please only put necessary includes in header
Having include in header means they have dependency relationship,
putting arbitrary includes really really really really really makes
refacoring much harder.
* remove some simple uses of callback_converter_deprecated.h
* use gin callback converter in file_dialog code
* use gin in ErrorThrower
* use gin in atom_bundle_mover
* fix mistake in node stream
* deprecate native_mate version of event_emitter_caller
* use gin in node_bindings
* remove usages of native_mate event_emitter_caller.h except for EventEmitter
* fix compilation on Windows
* gin::Arguments behaves differently on GetNext
* just use StringToV8
2019-09-06 14:52:54 +09:00
John Kleinschmidt
7be1905023
fix: resolve crash loading file based serviceworkers ( #20132 )
2019-09-06 10:01:22 +09:00
Shelley Vohr
20e3c519dd
fix: ensure popup and closepopup are posted in order ( #20114 )
2019-09-05 16:37:09 -04:00
Charles Kerr
8a0a41b9ef
docs: fix BrowserWindow options.hasShadow platform ( #20038 )
...
The docs claimed this is only available on macOS; however, Linux and Win
got this feature in 239bfe970c
2019-09-05 16:04:07 -04:00
Steven Barbaro
93da8e2b3d
fix: Debug builds on Windows. ( #20117 )
2019-09-05 12:38:56 -07:00
John Kleinschmidt
196fceabdb
build: don't wait until job requests return in case some jobs fail to return ( #20133 )
2019-09-05 13:57:47 -04:00
Samuel Attard
0d16be9560
feat: add nativeTheme.themeSource to allow apps to override Chromiums theme choice ( #19960 )
...
* feat: add nativeTheme.shouldUseDarkColorsOverride to allow apps to override Chromiums theme choice
* spec: add tests for shouldUseDarkColorsOverride
* chore: add missing forward declarations
* refactor: rename overrideShouldUseDarkColors to themeSource
* chore: only run appLevelAppearance specs on Mojave and up
* chore: update patch with more info and no define
* Update spec-main/api-native-theme-spec.ts
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org >
* Update api-native-theme-spec.ts
* Update api-native-theme-spec.ts
* Update api-native-theme-spec.ts
2019-09-05 10:57:04 -07:00
Samuel Attard
137622931b
fix: ensure document.visibilityState aligns with the visibility of the TopLevelWindow ( #19988 )
...
* fix: ensure document.visibilityState aligns with the visibility of the
TopLevelWindow
* chore: disable the specs on linux on CI
2019-09-05 10:56:06 -07:00
Electron Bot
cd096289e9
Bump v8.0.0-nightly.20190905
2019-09-05 08:37:04 -07:00
Jeremy Apthorp
88e32ef231
test: move robotjs-based devtools paste test to main runner ( #20095 )
2019-09-04 14:44:13 -07:00
Cem Schemel
bff16e027a
docs: Improve wording of setBrowserView and getBrowserView ( #20065 )
...
* Improve wording of setBrowserView and getBrowserView
* Update wording based on feedback
2019-09-04 14:19:49 -07:00
Jeremy Apthorp
a453f2ae6c
test: fix test for desktopCapturer preventDefault ( #20100 )
2019-09-04 13:54:40 -07:00
Samuel Attard
8b523cf88a
fix: ensure modeL_ exists before calling delegate methods ( #20111 )
...
This is a speculative fix for a crash we are seeing in `menuDidClose`. We
can't repro the crash but the traces have it happening in this method
and just by reading through the impl the only part that jumps out as
Might Crash is this `model_` call. Other methods in the menu controller
check `model_` before using it so it probably makes sense to do that here
as well.
2019-09-04 13:42:23 -07:00
John Kleinschmidt
65ebb6e547
build: add WOA release to list of releases ( #20094 )
...
* build: add WOA release to list of releases
* Add job count info for sudowoodo
* Add verification of all assets
* Fix linting and add logic to wait before printing out results
2019-09-04 14:24:46 -04:00
Jeremy Apthorp
c29e4b096d
test: tsify deprecate spec ( #20089 )
2019-09-04 11:13:37 -07:00
Jeremy Apthorp
8cdfd30ba5
test: remove usage of remote in shell.openExternal test ( #20101 )
2019-09-04 11:12:31 -07:00
Cheng Zhao
81ae154714
chore: remove native_mate (Part 2) ( #20106 )
...
* add notice to files being removed
* add gin version of function_template.h
* rename callback.h to avoid confliction
* add gin version of callback_converter
* add gin converter for OnceCallback
* remove callback_converter_gin_adapter.h
* remove gin_util.h and gin_utils.h
* fix lint warning
* add helper for setting methods
2019-09-04 08:45:25 -07:00
Electron Bot
504cdb13f0
Bump v8.0.0-nightly.20190904
2019-09-04 08:32:24 -07:00
Cheng Zhao
b601f3a031
chore: remove native_mate (Part 1) ( #20085 )
...
* move Destroyable utilities out of native_mate
* do not set "destroy" in ObjectTemplateBuilder
* remove ObjectTemplateBuilder::MakeDestroyable
* do not pollute gin namespace
* add more comments
* remove hack of Arguments
2019-09-04 11:14:16 +09:00
Cheng Zhao
96b42bddb8
fix: implement ses.getBlobData() for NetworkService ( #20041 )
...
* pass data pipe to JS
* implement reading buffer
* re-enable ses.getBlobData test
* remove AtomBlobReader
2019-09-04 07:54:14 +09:00
Samuel Attard
cc9436f288
chore: add SetGTKDarkThemeEnabled(enabled) internal helper to allow dynamic theme selection on linux ( #19964 )
...
This is just a after-creation setter for the `darkTheme` constructor option. This is delibrately
a method and not a property as there is no getter.
2019-09-03 12:59:48 -07:00
John Kleinschmidt
bedc5f7da9
ci: run tests on WOA hardware ( #20031 )
...
* ci: run tests on WOA hardware
* Temporarily disable test until #20008 is resolved
* deterministically run tests in sorted order
2019-09-03 13:13:06 -04:00
Jeremy Apthorp
96c3fec855
test: remove usage of 'remote' module from webview spec ( #20048 )
2019-09-03 10:10:58 -07:00
Jeremy Apthorp
cad73732c0
test: move chrome extensions spec to main runner ( #20030 )
2019-09-03 10:10:33 -07:00
Electron Bot
39475f9404
Bump v8.0.0-nightly.20190903
2019-09-03 08:32:24 -07:00
Jeremy Apthorp
8589ab27a4
fix: strip chrome_sandbox executable ( #20049 )
2019-09-03 16:17:18 +09:00
Jeremy Apthorp
f537366387
test: move security warnings spec to main runner ( #20055 )
2019-09-03 16:02:22 +09:00
Jeremy Apthorp
d7161742d2
test: move content-script tests to main runner ( #20056 )
2019-09-03 16:01:42 +09:00
Jeremy Apthorp
6e88b6b445
test: move desktopCapturer spec to main runner ( #20057 )
2019-09-03 15:59:54 +09:00
Electron Bot
614079654c
Bump v8.0.0-nightly.20190902
2019-09-02 08:34:32 -07:00
Electron Bot
51015c5b48
Bump v8.0.0-nightly.20190901
2019-09-01 08:31:00 -07:00
Samuel Attard
c621a36320
fix: ensure that the "top" coordinate of the inner frame is correct ( #20051 )
...
On multi-monitor setups where the monitors are not all origined at 0 on
the Y coordinate (E.g. vertical stacked monitors) the maximize
calculation was incorrect as it assumed top was "0". This instead
adjusts the math to calculate the correct top value.
2019-08-30 15:45:59 -07:00
ipoint-pgerhard
e37ad09330
docs: Update boilerplates-and-clis.md ( #19975 )
...
Updated boilerplates-and-clis.md in order to more accuratly represent the current availability of templates in electron forge
2019-08-30 15:40:37 -05:00
Shelley Vohr
bfe256891c
build: add gn-check to precommit linting ( #19850 )
2019-08-30 10:37:02 -07:00
Dave Jeffery
0f5ff1f5bb
docs: clarify app.setName() effects ( #19893 )
...
* Document that `app.setName()` has no effect in Mac environments
* docs: add note to clarify `app.setName()` functionality
* Update app.md
2019-08-30 10:30:38 -07:00
Electron Bot
e96a042223
Bump v8.0.0-nightly.20190830
2019-08-30 08:32:04 -07:00
Shelley Vohr
5cbbd489d5
fix: honor cursor blink rate ( #20020 )
...
* fix: honor cursor blink rate on macOS
* fix: honor cursor blink rate on Linux
* fix: honor cursor blink rate on Windows
* refactor: clean up os_win cursor blink logic
* remove unneeded include
2019-08-30 09:39:46 -05:00
Jeremy Apthorp
805a55099b
test: tsify more web contents specs ( #19969 )
...
* test: tsify more WebContents specs
* getFocusedWebContents
* setDevToolsWebContents, isFocused, isCurrentlyAudible
* getWebPreferences, openDevTools
* before-input-event
* zoom-changed
* sendInputEvent
* insertCSS
* startDrag
* focus, getOSProcessId
* zoom api
* more closeAllWindows
* fix detached dev tools test
* fix zoom-changed test
* compare the correct kind of id 🤦♂️
* 'fix' openDevTools test to wait for multiple focus events
* fix tests? 🤞
* use request instead of blur to detect openExternal success
* try not timing out the keychain for testing
* use blur event on mac, sigh
* oh, right, still gotta open an actual url
2019-08-29 19:45:41 -05:00
Samuel Attard
654338693f
fix: Revert "fix: make sure that menu bar gets focus even when you click an item to focus it first ( #19710 )" ( #20019 )
...
This reverts commit 27b2747b61 .
2019-08-29 15:06:39 -07:00
Shelley Vohr
a9e3dabc8a
build: accidentally inverted a bool ( #20029 )
2019-08-29 11:11:10 -07:00
Jeremy Apthorp
609403fba6
test: tsify affinity spec ( #19961 )
2019-08-29 09:59:27 -07:00
Electron Bot
6b55584923
Bump v8.0.0-nightly.20190829
2019-08-29 08:31:27 -07:00
Shelley Vohr
81e6f317c9
chore: improve smoke test for tray ( #19991 )
2019-08-29 08:07:02 -07:00
Shelley Vohr
7d4e0ad7b0
build: simplify unicode console output ( #20017 )
2019-08-29 10:46:54 -04:00
Tomáš Hübelbauer
35ebbb5f6e
docs: add a CSP meta tag to make the tutorial compliant with the security checklist ( #19819 )
...
I've asked #19775 because I was frustrated with how hard it was to find a way to fix (instead of hide) the CSP warning in Electron and I complained that even the official quick start guide wasn't compliant with the security checklist at https://electronjs.org/docs/tutorial/security . Someone helped me out with a CSP meta tag which I have later noticed is indeed mentioned in the checklist, too: https://electronjs.org/docs/tutorial/security#csp-meta-tag . I have not used the checklist one verbatim because it prevents a `script` tag from working when serving `index.html` through the `file:` protocol as the quick start does. I instead used the one the person in my issue recommended which seems to work well to me. I am not that well versed in CSP so there might be a better policy to include with the quick start, but this is what I've got for now.
2019-08-29 17:06:51 +09:00
Jeremy Apthorp
c819fbe852
test: move WebContentsView spec ( #19990 )
2019-08-29 16:17:44 +09:00
Alexey Kuzmin
c03288f458
chore: add missing includes ( #20003 )
2019-08-29 15:57:11 +09:00
Jeremy Apthorp
90d62e5b98
fix: nws13n: make ses.setUserAgent work ( #20014 )
...
* refactor tests to better control window creation
* fix: nws13n: make ses.setUserAgent work
2019-08-29 15:50:14 +09:00
Cheng Zhao
b3947d6a83
chore: cache URLLoaderFactory per-session ( #19998 )
...
* cache the URLLoaderFactory in AtomBrowserContext
* use cached loader factory in AtomURLLoaderFactory
2019-08-29 15:07:46 +09:00
Milan Burda
eed72c35d7
feat: add session.downloadURL() ( #19889 )
2019-08-28 20:27:20 -07:00
Jeremy Apthorp
79e936aea8
test: fix clearAuthCache test ( #20015 )
2019-08-28 17:43:12 -07:00
Milan Burda
01fdb80f7c
refactor: implement isRemoteModuleEnabled via getLastWebPreferences() ( #19220 )
2019-08-28 15:57:03 -07:00
Shelley Vohr
04debd5890
build: add test runner parameter checks ( #19994 )
2019-08-28 15:19:52 -07:00
Jeremy Apthorp
af138dab55
test: move webRequest spec to main runner ( #19992 )
2019-08-28 13:56:15 -07:00
Jeremy Apthorp
f212ed85dd
test: tsify sub-frames spec ( #19965 )
2019-08-28 13:55:01 -07:00
Jeremy Apthorp
99de0975c3
test: tsify powerMonitor spec ( #19963 )
2019-08-28 13:54:50 -07:00
Jeremy Apthorp
41d8247ffc
test: tsify internal-spec ( #19962 )
2019-08-28 13:54:42 -07:00
Charles Kerr
217ed9aabc
fix: gtk_init() called 2x in AtomBrowserMainParts ( #19986 )
...
Fixes #19984 .
2019-08-28 12:36:03 -05:00
Shelley Vohr
538c4763cf
chore: remove unused config files ( #19997 )
2019-08-28 09:18:49 -07:00
Electron Bot
3bc5302d78
Bump v8.0.0-nightly.20190828
2019-08-28 08:31:11 -07:00
Charles Kerr
987300c97a
refactor: omit redundant map searches ( #19929 )
...
* refactor: don't walk maps twice to remove elements
* refactor: don't walk maps twice to read elements
* refactor: don't walk maps twice to insert elements
* refactor: don't walk map 3x on UvTaskRunner timeout
* refactor: more don't-walk-maps-twice cleanup
* fixup! refactor: don't walk maps twice to insert elements
* refactor: don't walk containers twice when erasing
* refactor: omit excess lookups in RemoteObjectFreer
2019-08-28 09:39:21 -05:00
Heilig Benedek
27ce6a9cd3
fix: handle WM_GETMINMAXINFO instead of letting chromium do it ( #19928 )
...
* fix: remove WM_GETMINMAXINFO workaround since it's no longer needed
* fix: handle WM_GETMINMAXINFO ourselves
* fix: remove part of the chromium WM_GETMINMAXINFO handler
2019-08-28 09:34:34 +09:00
Jeremy Apthorp
832c926712
fix: allow unsandboxed renderers to request new privileges ( #19953 )
...
* fix: allow unsandboxed renderers to request new privileges
* add test
2019-08-27 18:35:46 -04:00
Marat Abdullin
ae9424d93a
feat: add "accessibleTitle" property to a BrowserWindow instance ( #19698 )
...
Sometimes it's necessary to convey more information about the window to screen reader users only (simply putting everything to the window title might be unnecessarily noisy).
For example, Chromium uses that technique to tell screen reader users that the window is in incognito mode (the incognito window looks differently and doesn't have «incognito» in the title, but for blind users the screen reader will announce that it's incognito).
2019-08-28 00:35:34 +02:00
Jeremy Apthorp
1dcda7b809
chore: DCHECK for correct thread in EventEmitter::EmitWithSender ( #19959 )
2019-08-27 15:15:52 -07:00
Jeremy Apthorp
bdc84d0bfb
test: tsify session spec ( #19604 )
2019-08-27 14:55:19 -07:00
Jeremy Apthorp
4b8e1588b4
fix: remove unused header from extensions-only file ( #19947 )
2019-08-27 10:59:22 -07:00
Cheng Zhao
4eee71ffbf
feat: migrate webRequest module to NetworkService (Part 9) ( #19976 )
...
* no need to get WebContents for URLLoaderFactory
* consult embedder for network_factory created in net module
* set disable_web_security to false
* re-enable webRequest tests in net module
2019-08-27 09:12:33 -07:00
Electron Bot
bdb20d53cb
Bump v8.0.0-nightly.20190827
2019-08-27 08:31:13 -07:00
Charles Kerr
7e61cd0dfb
fix: i18n of gtk msgbox buttons ( #19904 )
...
* fix: i18n of gtk msgbox buttons
similar to #19756 (12df0e8 ) but for messageboxes
* refactor: DRY the gtk+ button mnemonics
* fix: don't compile gtk_util on non-Linux platforms
rename from `gtk_util.[cc,h]` to `util_gtk.[cc,h]` so that it gets
picked up by the `extra_source_filters` rule in `BUILD.gn`.
* fix: make linter happy
It really shows that I cannot build locally atm... :P
2019-08-27 09:57:12 -05:00
Electron Bot
2542c51c48
chore: bump node in DEPS to v12.9.1 ( #19980 )
2019-08-27 07:51:28 -07:00
Jeremy Apthorp
92c3a4e4c2
test: tsify spec for experimental views api ( #19966 )
2019-08-27 16:37:30 +09:00
Samuel Attard
4e809f0048
fix: ensure that reloads retain modified window background colors ( #19967 )
2019-08-26 23:14:23 -07:00
Heilig Benedek
d04072d1eb
fix: don't call SetBounds on restore ( #19886 )
2019-08-26 14:04:20 -07:00
Kuts Alexey
cddbddc543
feat: HTTP preconnect feature minimal for electronjs ( #18671 )
2019-08-26 09:47:32 -07:00
Electron Bot
c57db7f163
Bump v8.0.0-nightly.20190826
2019-08-26 08:32:02 -07:00
Milan Burda
94c6b256de
refactor: simplify ShowSaveDialog, make consistent with ShowOpenDialog ( #19924 )
2019-08-26 13:12:09 +02:00
Heilig Benedek
f6c523db13
fix: adjust window size in NCCALCSIZE instead of adding insets ( #19883 )
2019-08-26 10:03:57 +09:00
Charles Kerr
080fdb3817
fix: command-line scheme switch values' spillover ( #19912 )
...
* fix: command-line scheme switch values' spillover
The value of one of the scheme command-line switches
shouldn't spill over into other switches.
Fixes #19911
* chore: make linter happy
2019-08-26 09:40:44 +09:00
Milan Burda
181f663cf1
refactor: use C++11 member initializers in native_mate ( #19925 )
2019-08-26 09:16:28 +09:00
Electron Bot
1eda92859f
Bump v8.0.0-nightly.20190825
2019-08-25 08:31:03 -07:00
Electron Bot
f54bc1cb2e
Bump v8.0.0-nightly.20190824
2019-08-24 08:31:28 -07:00
Electron Bot
b7d25ccb77
chore: bump chromium to 62327c655093c821aa0fcfc6db53f5fd943e08c7 (master) ( #19792 )
...
* chore: bump chromium in DEPS to f3bf493731e868e1f5f48e7e1adc02ea5eccfbbd
* chore: bump chromium in DEPS to 4db0c87d4aa6f27ffa0b5fc77d20e10047962484
* chore: bump chromium in DEPS to d933a504c264dc8fe85267f47aef3588531875b5
* chore: bump chromium in DEPS to 34afdb68980f581ae911b85b727bc17e126cf5f9
* update disable-redraw-lock.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1600387
* update desktop_media_list.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1729156
* update notification_provenance.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1742779
* update printing.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1646772
* update verbose_generate_bpad_syms.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1745986
* update patch metadata
* remove printing_compositor manifests
https://chromium-review.googlesource.com/c/chromium/src/+/1742734
* update for URLLoaderFactoryType enum
https://chromium-review.googlesource.com/c/chromium/src/+/1754716
* remove gin string16 converter
https://chromium-review.googlesource.com/c/chromium/src/+/1750093
* ClearCompositorFrame() has been removed
https://chromium-review.googlesource.com/c/chromium/src/+/1746301
* message_loop -> message_loop_current
https://chromium-review.googlesource.com/c/chromium/src/+/1738552
* include resource_response header
* pdf compositor no longer uses service manager
https://chromium-review.googlesource.com/c/chromium/src/+/1742734
* chore: bump chromium in DEPS to 00d5933101d8d8dc9546eadbe7ee1b41077e6db1
* pane focus fns aren't pure virtual anymore
https://chromium-review.googlesource.com/c/chromium/src/+/1708767
* fix: make std::hash value-non-const
broken by https://chromium-review.googlesource.com/c/chromium/src/+/1711202
* update swiftshader in zip_manifests
https://swiftshader-review.googlesource.com/c/SwiftShader/+/34911
* address feedback from @deepak1556
* don't enable kLegacyWindowsDWriteFontFallback
https://chromium-review.googlesource.com/c/chromium/src/+/1753006
* chore: bump chromium in DEPS to 84497314005e1968da06804f8fde539d9872310e
* update printing.patch
remove bottom diff owing to https://chromium-review.googlesource.com/c/chromium/src/+/1678182 and update for https://chromium-review.googlesource.com/c/chromium/src/+/1678182
* convert CookieChangeListener to new Mojo types
https://chromium-review.googlesource.com/c/chromium/src/+/1753371
* rename ui::ClipboardType -> ui::ClipboardBuffer
https://chromium-review.googlesource.com/c/chromium/src/+/1758730
* logging::LoggingSettings log_file -> log_file_path
https://chromium-review.googlesource.com/c/chromium/src/+/1699477
* roll DEPS to latest lkgr
* fix: override GetFontLookupTableCacheDir()
When Chromium goes to use its fallback font table creation code paths,
it creates the cache directory it uses by calling
GetFontLookupTableCacheDir() with a path that doesn't exist in Electron.
To ensure that a legitimate file path is created, we need to override it
with Electron's DIR_USER_DATA so it doesn't use chrome::DIR_USER_DATA.
* chore: bump chromium in DEPS to 6758a0879931bc4df630a80a36c82d7855ae3155
* update pthread_fchdir patch
https://chromium-review.googlesource.com/c/chromium/src/+/1759149
* update printing patch
* update cookie usage and fn signatures
https://chromium-review.googlesource.com/c/chromium/src/+/1758437
* chore: bump chromium in DEPS to bdaca97e1cc27fb977e56f30f74cdb906da9527e
* remove fix_make_std_hash_value-non-const.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1762335
* Convert enum to enum class for FocusManager::FocusChangeReason
https://chromium-review.googlesource.com/c/chromium/src/+/1767281
* roll DEPS to latest lkgr
* update dom_storage_limits.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1767556
2019-08-23 18:14:23 -07:00
Shelley Vohr
c89debd19a
refactor: use Error util when only throwing errors ( #19837 )
2019-08-23 15:49:54 -07:00
Charles Kerr
ef6d4a46c2
chore: make apply_all_patches.py work in both python2 and python3 ( #19872 )
2019-08-23 15:48:27 -07:00
Milan Burda
81e9dab52f
refactor: replace ipcRendererUtils.invoke() with ipcRendererInternal.invoke() ( #19574 )
2019-08-23 15:45:50 -07:00
Shelley Vohr
698120daf0
fix: crash on input file handler dialog ( #19897 )
...
* fix: crash on input file handler dialog
* invert cancellation logic
2019-08-23 14:18:30 -07:00
Samuel Attard
c61020e9d3
build: use a lower process count for publish builds with no sccache ( #19913 )
2019-08-23 14:01:12 -07:00
Electron Bot
6144408f3a
Bump v8.0.0-nightly.20190823
2019-08-23 08:31:55 -07:00
Milan Burda
7825d043f2
refactor: unify module-list format and exports/electron ( #19697 )
2019-08-23 11:18:58 +02:00
Shelley Vohr
c6a8b7f959
docs: clarify dock.bounce usage ( #19894 )
2019-08-23 01:16:18 -07:00
Samuel Attard
6a3922d330
refactor: make util::Promise type safe when chaining in native ( #19809 )
...
* refactor: make util::Promise type safe when chaining in native
* fixup! refactor: make util::Promise type safe when chaining in native
* chore: remove spare brackets
2019-08-22 17:03:28 -07:00
loc
f7e3e1f97a
fix: mitigate white screen flash after occlusion by disabling compositor recycling ( #19873 )
...
* fix: remove white screen flicker by disabling compositor recycling
* chore: disable spec whose flakiness was made obvious by this patch
2019-08-22 15:16:06 -07:00
Cheng Zhao
ab0bf6d238
fix: notify views of content view size change ( #19878 )
2019-08-22 14:16:56 -07:00
Electron Bot
6667969887
chore: bump node to v12.9.0 (master) ( #19863 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2019-08-22 14:12:11 -07:00
Jaime Bernardo
12b00ca942
fix: extern Parse impl for Windows debug builds ( #19876 )
...
* fix: extern Parse impl for Windows debug builds
Applies a patch to node.
Externs node::options_parser::Parse implementation for
node::DebugOptions to fix the Windows Debug build.
* fixup: merge extern parse impl patch
2019-08-22 13:16:38 -07:00
Robert Nagy
1f43af5cea
feat: add openbsd support in the node module ( #19860 )
2019-08-22 12:09:15 -07:00
Electron Bot
268094e0ef
Bump v8.0.0-nightly.20190822
2019-08-22 08:31:04 -07:00
Heilig Benedek
9ccd6aa0dd
feat: enable picture-in-picture mode for video tags ( #17686 )
...
* feat: enable picture in picture mode for video tags
* test: add test to verify picture in picture support
* lint: fix indent
* fix: clean up after rebase
* test: update test with 16:9 test video
* fix: .paches after rebase
2019-08-22 19:17:50 +09:00
John Kleinschmidt
46b6bcd99b
chore: Update comment for desktop_capturer ( #19848 )
...
* chore: Update comment for desktop_capturer
* Guard TopLevelWindow::MoveAbove with ENABLE_DESKTOP_CAPTURER
* Fix lint errors
2019-08-21 15:16:43 -07:00
John Kleinschmidt
4bc7b3b1a4
build: start building Windows on Arm builds ( #19780 )
...
* build: add zip manifest for Windows on Arm
* ci: add Windows On Arm testing
(cherry picked from commit 4064e1f4874ff7a37c52c2ad974f92418c7e71c4)
* Fix path to invoke CI on WOA hardware
* Explicitly call 7z.exe to unzip files
* Make sure GCLIENT_EXTRA_ARGS set for WOA builds get prepended on release build
* set proper arch for npm
* Try using Compress-Archive/Expand-Archive
* Revert "Try using Compress-Archive/Expand-Archive"
* disable woa hardware test for now
2019-08-21 17:37:30 -04:00
Shelley Vohr
5e525b3e0f
fix: add default media usage strings to info.plist ( #19871 )
2019-08-21 13:14:25 -07:00
Samuel Attard
612e3f7ff7
build: optimize the CI path where we update the patch files ( #19851 )
...
Currently the happy checkout takes 7 minutes and the sad checkout takes
30 minutes. This updates our CI to run checkout twice for every job to
make the sad checkout take nearer 10 minutes instead.
2019-08-21 14:52:17 -04:00
Shelley Vohr
991a56135d
build: dynamically calculate out dir ( #19857 )
2019-08-21 10:41:35 -07:00
Electron Bot
3bd829aee0
Bump v8.0.0-nightly.20190821
2019-08-21 08:31:24 -07:00
Samuel Attard
674779899e
build: ninja count should be 2*cores + 2 ( #19852 )
2019-08-21 10:25:23 -04:00
Heilig Benedek
3f49f984e6
fix: race condition in NodeStreamLoader ( #19811 )
...
* fix: race condition in NodeStreamLoader
* nit: add comments
2019-08-21 12:23:46 +09:00
Cheng Zhao
b7defaaf6a
feat: migrate webRequest module to NetworkService (Part 8) ( #19841 )
...
* fix: fill uploadData property
* fix: requestHeaders in onBeforeSendHeaders
* fix: responseHeaders in onHeadersReceived
* fix: header keys should not be lowercased
* fix: gin::Dictionary::Get succeeds even though key does not exist...
* fix: throw for invalid filters
* test: re-enable api-web-request-spec
* chore: do not use deprecated base::Value API
2019-08-21 11:14:21 +09:00
Samuel Attard
f10f44acf5
fix: trim branch name before comparing to master ( #19853 )
2019-08-20 18:10:44 -07:00
John Kleinschmidt
d258797d05
ci: add macOS debug builds ( #19831 )
...
* ci: add macOS debug builds
* Fix mac debug builds
2019-08-20 16:11:29 -04:00
Carlos
fb214a599e
docs: update documentation under tutorials ( #19804 )
2019-08-20 09:45:25 -07:00
Electron Bot
a4c0f26f06
Bump v8.0.0-nightly.20190820
2019-08-20 08:32:09 -07:00
Erick Zhao
145b4fae94
feat: implement will-move event on macOS ( #19641 )
2019-08-20 07:53:43 -07:00
Cheng Zhao
cd1b15a155
feat: migrate webRequest module to NetworkService (Part 7) ( #19820 )
...
* fix: gin treats Function as Dictionary when doing convertions
* fix: check if listener exists
* fix: listener callback should be executed in next tick
* feat: make InProgressRequest work
* test: re-enable protocol test that relies on webRequest
* chore: merge conditions
2019-08-20 20:46:20 +09:00
Shelley Vohr
1dc02e6dbc
fix: fall back to default logs path in getPath('logs') ( #19653 )
2019-08-19 15:16:00 -07:00
pi1024e
0851697cb7
docs: fix punctuation errors in native-image.m ( #19620 )
...
* Added correct punctuation to sentences in documentation as well as changed lets to consts to pass the docs linter
* Fixed inconsistent indentation
2019-08-19 15:15:13 -07:00
Electron Bot
bd11be98aa
chore: bump node to v12.8.1 (master) ( #19790 )
...
* chore: bump node in DEPS to v12.8.1
* test: disable parallel/test-http2-reset-flood
Disabled new Worker test owing to a threading issue where the Worker
segfaults on worker.on('message', () => {}). We've disabled failing
worker tests previously as we don't offer first-class support for them
in Electron.
2019-08-19 14:15:04 -07:00
Shelley Vohr
a54d438e18
chore: upgrades-wg owns DEPS ( #19830 )
2019-08-19 13:56:20 -07:00
Heilig Benedek
b33558d822
refactor: mojofy autofill renderer->browser ( #18760 )
...
* re-implement renderer->browser calls with mojo
* lint
* fix: clean up after rebase
* lint
* fix: lazy load autofill drivers
2019-08-19 13:13:24 -07:00
Shelley Vohr
43e6d7fe88
chore: add error throwing utility ( #19803 )
...
* chore: add error throwing utility
* feedback from review
* DRY out repeated isolate calls
2019-08-19 09:10:18 -07:00
Electron Bot
8f1c51eaea
Bump v8.0.0-nightly.20190819
2019-08-19 08:32:31 -07:00
Electron Bot
090786b037
Bump v8.0.0-nightly.20190818
2019-08-18 08:31:14 -07:00
Electron Bot
dba3927b4e
Bump v8.0.0-nightly.20190817
2019-08-17 08:31:36 -07:00
Micha Hanselmann
56d10aeef7
docs: add mising return desc ( #19778 )
2019-08-16 09:24:17 -07:00
Shelley Vohr
6a76540cb6
fix: return type in open/save dialogs ( #19781 )
2019-08-16 08:55:01 -07:00
Electron Bot
2c002a3342
Bump v8.0.0-nightly.20190816
2019-08-16 08:32:35 -07:00
Jean-Philippe Morin
42ac64284f
docs: MessageBoxOptions.icon should allow type string ( #19782 )
...
In the `dialog` documentation (and the generated typings in `electron.d.ts`), it is mentionned that the `icon` property only supports `NativeImage`, but the `nativeImage` documentation says that:
```
In Electron, for the APIs that take images, you can pass either file paths or NativeImage
```
2019-08-16 17:06:02 +02:00
Cheng Zhao
2595cb5698
fix: compilation failure after chromium upgrade ( #19787 )
2019-08-16 07:55:34 -07:00
Cheng Zhao
c3bb73a711
feat: migrate webRequest module to NetworkService (Part 6) ( #19752 )
...
* Implement OnBeforeSendHeaders
* Pass the request
* Handle simple listeners
* Handle response listeners
* Read responses from listener
2019-08-16 10:19:05 +09:00
Micha Hanselmann
e59095423e
docs: add exemplary fiddle for launch in fiddle feat ( #19759 )
...
* add fit-screen
* new url format
* nit
2019-08-15 15:37:37 -07:00
Electron Bot
db21391156
chore: bump chromium to cbeb16cf544f79c1990f1eae4d4fe (master) ( #19610 )
...
Co-authored-by: Erick Zhao <erickzhao@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by Micha Hanselmann <DeerMichel@github.com >
2019-08-15 13:50:58 -07:00
Shelley Vohr
12df0e8994
fix: use GTK3 stock i18n strings ( #19756 )
2019-08-15 10:31:07 -07:00
Electron Bot
ca0cf5415e
Bump v8.0.0-nightly.20190815
2019-08-15 08:31:20 -07:00
Shelley Vohr
33f2ec6355
fix: ensure child_process.fork() doesn't modify main ( #19742 )
2019-08-15 08:01:58 -07:00
Julien Isorce
680399f476
feat: Implement BrowserWindow.getMediaSourceId() and BrowserWindow.moveAbove(mediaSourceId) ( #18926 )
...
* feat: Implement BrowserWindow.moveAbove(mediaSourceId)
BrowserWindow.{focus,blur,moveTop}() are not enough in some
situations. For example when implementing an overlay that
follows another window that can lose focus. In that case
it is useful to move the overlay above the tracked window.
sourceId is a string in the format of DesktopCapturerSource.id,
for example "window:1869:0".
Notes: Added BrowserWindow.moveAbove(mediaSourceId)
https://github.com/electron/electron/issues/18922
* feat: Implement BrowserWindow.getMediaSourceId
Return the Window id in the format of DesktopCapturerSource's id.
For example "window:1234:0".
https://github.com/electron/electron/issues/16460
Notes: Added BrowserWindow.getMediaSourceId
2019-08-15 15:51:15 +09:00
Micha Hanselmann
d0c7a91a50
move image converter to gin ( #19655 )
2019-08-15 11:18:34 +09:00
Heilig Benedek
27b2747b61
fix: make sure that menu bar gets focus even when you click an item to focus it first ( #19710 )
2019-08-14 18:11:41 -07:00
Micha Hanselmann
9b1f698770
docs: mention QuickEdit in Windows troubleshooting ( #19701 )
...
* shot a trouble
* change title
2019-08-14 14:23:12 -07:00
Samuel Attard
efa1818cb4
feat: add new nativeTheme API ( #19656 )
...
* feat: add new nativeTheme API
* chore: deprecate and clean up old systemPreferences theme APIs in favor of new nativeTheme module
* chore: clean up and deprecate things per feedback
* chore: add tests for deprecate and clean up invert impl
* build: when is a boolean not a boolean???
2019-08-14 13:42:55 -07:00
Electron Bot
246187a20f
Bump v8.0.0-nightly.20190814
2019-08-14 08:31:05 -07:00
Micha Hanselmann
4c54cfc692
move net converter to gin ( #19734 )
2019-08-14 14:15:34 +09:00
Erick Zhao
5d892a557f
fix: proper l10n on Linux dialog buttons ( #19725 )
...
* fix: proper l10n on linux dialog
* switch string
2019-08-13 20:22:25 -07:00
Cheng Zhao
49fe2604b3
Revert "fix: activate the uv_loop on incoming IPC messages ( #19449 )" ( #19727 )
...
This reverts commit 8028c57b42 .
2019-08-13 14:03:25 -07:00
Shelley Vohr
28466a39d8
feat: add property customization to save dialogs ( #19672 )
2019-08-13 13:40:07 -07:00
Shelley Vohr
e1824c00a9
feat: macOS removal fallback when moveItemToTrash fails ( #19700 )
...
* feat: macOS removal fallback when moveItemToTrash fails
* platform_util shouldn't know about mate::Arguments
* pull full_path from args as well
2019-08-13 12:31:53 -07:00
Shelley Vohr
b5798326e8
feat: add dontAddToRecent to windows showOpenDialog ( #19669 )
2019-08-13 08:48:22 -07:00
Electron Bot
fee84de782
Bump v8.0.0-nightly.20190813
2019-08-13 08:33:27 -07:00
Shelley Vohr
e8fa248571
fix: crash in window.print() ( #19690 )
...
* fix: crash in window.print()
* add preliminary tests
2019-08-12 23:44:14 -07:00
Micha Hanselmann
ba5ee79af8
move file dialog converter to gin ( #19709 )
2019-08-13 14:49:48 +09:00
Cheng Zhao
69eac0d9d2
feat: migrate webRequest module to NetworkService (Part 5) ( #19714 )
...
* Pass WebRequest to ProxyingURLLoaderFactory
* Call WebRequestAPI in InProgressRequest
* Store the listeners
* Pass the request and response
* Add stub to handle the events
* Use extensions::WebRequestInfo
* Make sure webRequest is managed by Session
* chore: make creation of WebRequestNS more clear
* fix: check WebContents for service workers
2019-08-13 14:47:35 +09:00
Electron Bot
9713fa09e7
chore: bump node to v12.8.0 (master) ( #19521 )
...
* chore: bump node in DEPS to v12.7.0
* chore: update node patches v12.6 to v12.7
Removed patches that are no longer necessary because we've upstreamed few changes already, and 3 way merge others
* fix: update build gn patch
* chore: bump node in DEPS to v12.8.0
* chore: update node patches v12.7 to v12.8
Removed patches that are no longer necessary because we've upstreamed few changes already, and 3 way merge others
* fix: Add patch to revert crypto createhash changes
The original node commit contains changes/calls to functions that are not supported in boringssl.
* disable node tests
* Remove outdated patch, already merged upstream
2019-08-12 17:29:34 -07:00
Erick Zhao
f654da9f56
feat: add about panel customization on Windows ( #19420 )
2019-08-12 16:32:51 -07:00
Сковорода Никита Андреевич
ef03c4b7bb
docs: fix app.on('session-created' example ( #19713 )
...
It does not have the 'event' argument.
Refs: https://github.com/electron/electron/pull/12123
Refs: https://github.com/electron/electron/pull/15236
Refs: https://github.com/electron/electron/issues/15203
2019-08-12 14:46:42 -07:00
Samuel Attard
13df748f02
build: fix nightly install command in release notes ( #19711 )
2019-08-12 13:01:52 -07:00
Cheng Zhao
04dbd5c53f
fix: don't handle browser messages before document element is created ( #19718 )
...
* fix: don't handle browser messages before document element is created
* fix: bind ElectronApiServiceImpl later
DidCreateDocumentElement is called before the ElectronApiServiceImpl
gets bound.
* chore: add comment
2019-08-12 10:38:41 -07:00
Electron Bot
398c5d553d
Bump v8.0.0-nightly.20190812
2019-08-12 08:32:19 -07:00
Electron Bot
39f0bd3e82
Bump v8.0.0-nightly.20190811
2019-08-11 08:31:23 -07:00
Cheng Zhao
2dffc9f6eb
feat: migrate webRequest module to NetworkService (Part 4) ( #19679 )
...
* chore: use gin in WebRequest
* Add stubs for APIs
2019-08-11 13:24:51 +09:00
Electron Bot
bc0a2d1b28
Bump v8.0.0-nightly.20190810
2019-08-10 08:31:20 -07:00
Erick Zhao
1749af9707
fix: avoid losing focus on inputs when opening menu (Windows/Linux) ( #19657 )
...
* remove cause of issue
* remove comment
2019-08-09 14:10:11 -07:00
Micha Hanselmann
57507ca37c
refactor: move native window gin converter ( #19577 )
...
* move native window gin converter
* extract to new file
2019-08-09 13:43:18 -07:00
Shelley Vohr
7861e9f728
feat: allow customization of print page header and footer ( #19688 )
...
* feat: allow customization of more print settings
* address feedback from @jkleinsc
* header and footer are optional
2019-08-09 13:16:25 -07:00
Electron Bot
84cbc1d6c0
Bump v8.0.0-nightly.20190809
2019-08-09 08:32:09 -07:00
Milan Burda
03debb4ef9
feat: add tray.focus() ( #19548 )
2019-08-09 07:43:48 -07:00
Shelley Vohr
ed3b69ffb1
docs: update hasShadow for win and linux ( #19675 )
2019-08-08 15:49:43 -07:00
Milan Burda
0fb3c8cb7c
feat: add new options to tray.displayBalloon() ( #19544 )
2019-08-08 14:43:33 -07:00
Richard Townsend
58840f39bb
docs: document device scaling issue ( #19387 )
2019-08-08 13:59:44 -07:00
Pedro Pontes
da29ce355f
fix: always use new site instance for a new navigation. ( #18860 )
2019-08-08 11:48:33 -07:00
Electron Bot
7a9e6659f0
Bump v8.0.0-nightly.20190808
2019-08-08 08:32:04 -07:00
Micha Hanselmann
9eb89b4ac7
fix: return correct bounds on will-resize ( #19639 )
2019-08-07 19:58:56 -07:00
Shelley Vohr
fec54c9c5d
test: remove ffi specs ( #19661 )
2019-08-07 11:41:56 -07:00
Electron Bot
67169a5d0c
Bump v8.0.0-nightly.20190807
2019-08-07 08:31:14 -07:00
Robo
eebea63bed
chore: remove pre network service classes from shell/browser/net ( #19644 )
...
* refactor: rm IOThread class
* chore: rm expose-net-observer-api.patch
* chore: rm unused shell/browser/net/ classes
* chore: mv CertVerifierClient to separate header
* chore: rm url_request_context_getter references
2019-08-07 11:04:09 -04:00
Shelley Vohr
9c7a216814
fix: crash on print cancellation and silent print settings ( #19598 )
...
* fix: crash on print cancellation
* fix: update printing patch for new options
* refactor: use DictionaryValue for printBackground
2019-08-07 10:47:24 -04:00
Micha Hanselmann
a8861e6a66
move gurl converter to gin ( #19578 )
2019-08-07 16:18:26 +09:00
Erick Zhao
8a9a5d69b6
fix: normalize behavior of win.setOpacity() for invalid number values across operating systems ( #19535 )
...
* fix: define behavior for out-of-bounds setOpacity
* fix linux issue
* fix getOpacity behaviour
* wrong variable
* normalize more stuff
* docs
* test: use ifdescribe helper
* Update spec-main/api-browser-window-spec.ts
Co-Authored-By: Charles Kerr <ckerr@github.com >
* fixes
* more tests!!!
* Update shell/browser/native_window_views.cc
Co-Authored-By: Charles Kerr <ckerr@github.com >
* Update shell/browser/native_window_mac.mm
Co-Authored-By: Charles Kerr <ckerr@github.com >
2019-08-07 16:17:32 +09:00
Cheng Zhao
761a4deab3
feat: associate InProgressRequest with requests ( #19648 )
2019-08-07 09:21:53 +09:00
CezaryKulakowski
50cc54e50b
fix: keep references to active menus created by api Menu ( #19427 )
...
Without this such menus would be destroyed by js garbage collector even
when they are still displayed.
2019-08-06 14:55:00 -07:00
Shelley Vohr
da2401ff39
spec: fix dirtyChai spec failures ( #19652 )
2019-08-06 10:27:33 -07:00
Electron Bot
c3d0fed9ed
Bump v8.0.0-nightly.20190806
2019-08-06 08:31:49 -07:00
András Polgár
c0982d7316
docs: update link to webContents.send ( #19608 )
2019-08-05 20:58:06 -07:00
Shelley Vohr
f0396c19be
fix: clearRecentDocuments role on Windows ( #19599 )
...
* fix: clear recent documents on windows
* chore: don't check for version < win 7
2019-08-05 15:11:43 -07:00
Samuel Attard
33a9d898a6
fix: make child windows not crash when ipc messages are received ( #19553 )
2019-08-05 12:50:51 -07:00
Samuel Attard
cfd230d7f1
docs: remove implicit 'any' and 'Object' types from the docs ( #19585 )
...
* docs: remove implicit 'any' and 'Object' types from the docs
* docs: more docs improvements, remove all remaining empty interfaces
* chore: update tests for better types
2019-08-05 10:45:58 -07:00
Milan Burda
ee674acca4
feat: add tray.removeBalloon() ( #19547 )
2019-08-05 08:52:47 -07:00
Electron Bot
8f043bbdaa
Bump v8.0.0-nightly.20190805
2019-08-05 08:32:11 -07:00
Erick Zhao
750005f02b
fix: handle edge behavior for about panel on Linux ( #19586 )
...
* fix: graceful About dialog fail/exit (Linux)
* Allow current to travel along path with no electrical impedance
2019-08-05 07:53:40 -07:00
Shelley Vohr
0bb227f8a4
fix: crash on window.print() ( #19601 )
2019-08-05 09:19:01 -04:00
Zach Bloomquist
40d9f828d4
docs: Fix process.enablePromiseAPI typo in promisification.md ( #19576 )
...
* Fix `process.enablePromiseAPI` typo in promisification.md
* Update promisification.md
2019-08-05 10:19:48 +09:00
Jeremy Apthorp
49f2071e22
test: tsify netlog spec ( #19605 )
2019-08-05 09:47:42 +09:00
Jeremy Apthorp
f08be2162a
test: tsify callbacks-registry spec ( #19606 )
2019-08-05 09:46:58 +09:00
Electron Bot
45e452557b
Bump v8.0.0-nightly.20190804
2019-08-04 08:32:25 -07:00
Electron Bot
df94cc1b13
Bump v8.0.0-nightly.20190803
2019-08-03 08:31:26 -07:00
Jeremy Apthorp
bd28b876a0
fix: disable 'reopen windows?' dialog after crash ( #19584 )
2019-08-02 17:04:41 -07:00
Electron Bot
e959137a4b
chore: bump chromium to 32e0bab929213da1019992bf31d29 (master) ( #19488 )
2019-08-02 16:56:46 -07:00
Jeremy Apthorp
d0800aa200
test: report hexadecimal status codes on windows ( #19597 )
2019-08-02 14:23:11 -07:00
Milan Burda
3011a0f14f
refactor: convert ipc-renderer.ts to TypeScript ( #19556 )
...
* refactor: convert ipc-renderer.ts to TypeScript
* Update typings/internal-ambient.d.ts
Co-Authored-By: Samuel Attard <sattard@slack-corp.com >
2019-08-02 14:35:04 -05:00
Micha Hanselmann
ee64c6ab86
refactor: move file path gin converter to new file ( #19575 )
...
* move file path gin converter to new file
* move string16 gin conv to new file
2019-08-02 14:34:30 -05:00
Electron Bot
79277cc383
Bump v8.0.0-nightly.20190802
2019-08-02 08:31:00 -07:00
Andy Dill
e78b902a7d
fix: expose setMenuBarVisibility again ( #19557 )
2019-08-01 14:01:05 -07:00
Milan Burda
e8c4e6f0b3
fix: use correct constants for tray icon messages ( #19549 )
2019-08-01 14:00:37 -07:00
Electron Bot
2e785899dd
Bump v8.0.0-nightly.20190801
2019-08-01 08:31:16 -07:00
Milan Burda
115b57649e
docs: fix TouchBar related documentation ( #19444 )
2019-08-01 10:59:26 -04:00
Micha Hanselmann
b80429ab7f
refactor: migrate dialog API to //gin ( #19482 )
...
* get ShowMessageBoxSync working with gin
* move more dialog methods
* all methods moved
* cleanup
* add util func for template creation
2019-08-01 10:57:41 -04:00
Samuel Attard
c190e64012
build: update the ABI version for electron 8 nightlies ( #19551 )
2019-08-01 10:54:26 -04:00
John Kleinschmidt
3a6cafaf0a
fix: use WeakPtr to detect deletion ( #19257 )
2019-07-31 19:48:40 -04:00
Milan Burda
c76b0b70c1
refactor: remove content::WebContentsObserver from Event ( #19251 )
2019-07-31 15:20:28 -07:00
Jeremy Apthorp
c71cdce0b7
chore: disable JS impl when //extensions support is on ( #19512 )
2019-07-31 14:25:41 -07:00
Shelley Vohr
a5f87cee6b
doc: add missing MenuItem roles ( #19329 )
2019-07-31 14:13:56 -07:00
Samuel Attard
bf66fe51f6
build: fix first beta version choosing logic
2019-07-31 11:04:19 -07:00
Micha Hanselmann
47a38daee2
feat: migrate custom macOS tray view to native one ( #18981 )
...
* restore stash
revert
some things work others dont
tracking area for rescue
manual popup
restore drag n drop
cleanup
* fix: make tray not block main process (#18880 )
* fix: make tray not block main process
* make AtomMenuModel refcounted
* add support for ansi codes in title
add remove TODOs
* chore: use ScopedPumpMessagesInPrivateModes in tray (#18977 )
* chore: use ScopedPumpMessagesInPrivateModes in tray
* revert refcounting of AtomMenuModel
* Prefer WeakPtr for posting tasks to handle unexpected destruction
* cleanup .h
* cleanup .mm
* add imports
add missing include
* fix: crash when tray popup called twice (#18999 )
* remove highlightMode and TODOs
* remove unnecessary copy
2019-07-31 10:52:50 -07:00
Electron Bot
cde79501e3
Bump v7.0.0-nightly.20190731
2019-07-31 08:31:25 -07:00
Shelley Vohr
51ce3e5a83
fix: set default dock bounce type ( #19523 )
2019-07-31 08:20:45 -07:00
Milan Burda
d6605193a1
build: fix with ENABLE_OSR disabled ( #19533 )
2019-07-31 14:34:04 +02:00
Shelley Vohr
69646f4258
fix: throw better error on getPath('logs') ( #19514 )
2019-07-30 13:55:04 -07:00
Erick Zhao
e74daf2d19
refactor: move gfx::ImageSkia functions to their own util file ( #19460 )
...
* initial refactor
* fix lint
* 🚚 🚚 🚚 🚚 🚚
* change year in copyright?
* lint more
* remove bad code
* add missing header
* fix: add missing ifdef guard
* fix variable call
2019-07-30 13:49:24 -07:00
Micha Hanselmann
af3316707f
fix invalid lang tags ( #19513 )
2019-07-30 13:11:56 -07:00
Micha Hanselmann
6e367dab9a
patch electron_node ( #19436 )
2019-07-30 14:08:27 -04:00
Electron Bot
38c918ed5c
Bump v7.0.0-nightly.20190730
2019-07-30 08:32:38 -07:00
Milan Burda
9ab3ec080f
fix: tray.displayBalloon() does not work with custom icon on Windows ( #19330 )
2019-07-30 14:06:16 +02:00
Micha Hanselmann
42a483ad27
feat: add getBounds() method for BrowserView ( #19370 )
...
* implement getBounds on mac
* add Linux/Win impl
* add test
* add docs
2019-07-29 19:43:05 -07:00
Micha Hanselmann
c06007175f
docs: update supported versions section ( #19461 )
...
* update support docs
* Update support.md
2019-07-29 15:38:04 -07:00
Shelley Vohr
aaca9011ae
fix: [wc|bw]-created events do not emit an event object ( #19465 )
...
* fix: emit real Event instead of empty object in [wc|bw]
* chore: add ability to emit empty events
2019-07-29 13:54:37 -07:00
Jeremy Apthorp
33d1e87163
chore: simplify intentional-crash code ( #19464 )
2019-07-29 11:36:16 -07:00
Jeremy Apthorp
71b1b69339
fix: [extensions] remove InitForIncognitoProfile ( #19477 )
...
https://chromium-review.googlesource.com/c/chromium/src/+/1699223
2019-07-29 11:34:57 -07:00
Erick Zhao
ceb64b3b1b
docs: BrowserWindow transparency limitation on Windows ( #19399 )
...
* docs: BrowserWindow transparency limitation on Win
* fix md link
2019-07-29 11:22:31 -07:00
Micha Hanselmann
9da1251dbc
add desc ( #19417 )
2019-07-29 11:21:56 -07:00
Erick Zhao
c1d7d60ca2
docs: specify macOS-only about panel option ( #19439 )
2019-07-29 11:21:29 -07:00
Milan Burda
8a33118e36
fix: refactoring regression in LocationProxy ( #19495 )
2019-07-29 11:20:19 -07:00
Samuel Attard
4838bd7834
fix: use GetAuraColor to get theme dependant menu bg color ( #19469 )
2019-07-29 10:33:43 -05:00
Electron Bot
5e930bf940
Bump v7.0.0-nightly.20190729
2019-07-29 08:31:07 -07:00
Jeremy Apthorp
2983701c75
fix: remove .pdb from symbol file names ( #19483 )
...
* fix: remove .pdb from symbol file names
* Update dump_syms.py
2019-07-29 09:41:58 -04:00
Valentin Hăloiu
0732da1b4a
build: remove GConf and dconf dependencies on linux ( #19498 )
2019-07-29 08:33:47 -04:00
foo bar code
4e0e615406
fix: Expose missing Add/RemoveExtraParameter methods to macOS node child processes ( #15790 )
...
* Expose missing crash reporter methods in mac node processes
* Crashpad migration
2019-07-29 09:46:35 +09:00
Electron Bot
c9a455ea49
Bump v7.0.0-nightly.20190728
2019-07-28 08:32:16 -07:00
Electron Bot
00a1f4395b
Bump v7.0.0-nightly.20190727
2019-07-27 08:32:00 -07:00
Shelley Vohr
6c9d40ec33
feat: emit always-on-top-changed on macOS ( #19462 )
...
* feat: emit always-on-top-changed on macOS
* update event emission test for macos
2019-07-26 22:25:51 -07:00
Milan Burda
50c7eb58a1
refactor: don't use NSClassFromString in TouchBar code ( #19445 )
2019-07-27 01:20:25 +02:00
Shelley Vohr
c6bcf49acc
chore: clean up BrowserView/TopLevelWindow New impl ( #19375 )
...
* chore: clean up BrowserView::New impl
* also default TL win options dict
2019-07-26 16:18:13 -07:00
Shelley Vohr
5aa1385cfc
doc: fix GPU infoType typings ( #19470 )
2019-07-26 16:16:38 -07:00
Samuel Attard
db3cf52add
docs: add support for readonly,deprecated and platform doc annotations ( #19478 )
2019-07-26 16:12:59 -07:00
Samuel Attard
12bbbef688
docs: fix type information for contents.sendInputEvent ( #19479 )
...
The `event` type and keyword is reserved by the typescript generator, in the future we should throw an error from the generator if someone uses a reserved interface like that.
This also splits and documents the InputEvent type way better so that TS
users get strong type safety.
Fixes electron/typescript-definitions#36
2019-07-26 16:11:50 -07:00
Samuel Attard
48f2807473
docs: fix app.getPath types so that "name" is a string enum ( #19480 )
...
* docs: fix app.getPath types so that "name" is a string enum
Fixes https://github.com/electron/typescript-definitions/issues/140
* Update app.md
2019-07-26 16:11:22 -07:00
Shelley Vohr
504407c5df
fix: correctly emit BrowserWindow alwaysOnTop status in change event ( #19463 )
...
* fix: correctly emit alwaysOnTop in change event
* add a test for emitted alwaysOnTop value
2019-07-26 15:53:31 -07:00
Electron Bot
4d23b9e031
chore: bump chromium to 2bbf84f6437b49c70922b65b38bf3 (master) ( #19451 )
...
* chore: bump chromium in DEPS to 644eb098aeffb5e799ab3571eac0d35fa24ef641
* chore: update chromium patches
* chore: update v8 patches
* chore: bump chromium in DEPS to 9eecb7a9f652bbf84f6437b49c70922b65b38bf3
* chore: update patches
2019-07-26 12:18:32 -07:00
Jeremy Apthorp
dc5574cbde
test: move autoUpdater specs to main process ( #19440 )
2019-07-26 10:52:57 -07:00
Electron Bot
636dd38164
Bump v7.0.0-nightly.20190726
2019-07-26 08:31:42 -07:00
Jeremy Apthorp
d50298ed96
test: move menu spec to main process ( #19412 )
2019-07-26 10:17:14 -04:00
Jeremy Apthorp
2a5d40617a
test: move the last of the browser window specs ( #19295 )
...
* move devtools extensions tests
* move executeJavaScript tests
* move previewFile test
* move contextIsolation tests
* move OSR tests
* RIP api-browser-window-spec.js
.--. .-, .-..-.__
.'(`.-` \_.-'-./` |\_( "\__
__.>\ '; _;---,._| / __/`'--)
/.--. : |/' _.--.<| / | |
_..-' `\ /' /` /_/ _/_/
>_.-``-. `Y /' _;---.`|/))))
'` .-''. \|: .' __, .-'"`
.'--._ `-: \/: /' '.\ _|_
/.'`\ :; /' `- `-|-`
-` | | |
:.; : | .-'~^~`-.
|: | .' _ _ `.
|:. | | |_) | |_) |
:. : | | | \ | | |
: ; | | |
: ; | | Here lies |
: ; | | 1000 |
: ; | | flaky |
: ; | | tests |
.jgs. : ; | |
-."-/\\\/:::. `\."-._'."-"_\\-| |///."-
" -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-".
* remove unused ipcMain listeners
* remove debugging logs
* close windows in offscreen test
* more closeAllWindows
* remove extra logs
* refactor webContents main spec using closeAllWindows
2019-07-26 10:09:33 -04:00
Jeremy Apthorp
16011cacef
test: move dialog spec to main process ( #19231 )
...
* test: move dialog spec to main process
* skip tests on windows to avoid crash
* more disabling on windows
2019-07-26 09:37:59 -04:00
Milan Burda
4639c68a7b
chore: remove no longer needed macOS SDK forward declarations ( #19446 )
2019-07-26 14:11:37 +02:00
Milan Burda
44efaea6d5
fix: clearing of the backgroundColor property on TouchBarButton ( #19437 )
2019-07-26 11:52:42 +02:00
Shelley Vohr
bdd626f57a
doc: fix types for traceConfig recording_mode ( #19448 )
2019-07-25 21:42:28 -07:00
Jeremy Apthorp
477661d0e4
feat: allow setting capture mode and max file size in netLog API ( #19215 )
2019-07-25 16:06:39 -07:00
Samuel Attard
8028c57b42
fix: activate the uv_loop on incoming IPC messages ( #19449 )
2019-07-25 13:10:14 -07:00
Jeremy Apthorp
0f5cb7995f
ci: report test results to appveyor ( #19434 )
2019-07-25 11:30:56 -07:00
Jeremy Apthorp
e58f8a79ee
test: move the TouchBar specs to the main process ( #19413 )
2019-07-25 11:30:42 -07:00
Shelley Vohr
6b7c66aa04
revert: use circleci v2.1 ( #19456 )
...
This reverts commit d45694dcb0 .
2019-07-25 10:44:28 -07:00
Shelley Vohr
49096c2359
fix: throw on invalid webRequest filters ( #19337 )
...
Closes #11371 .
Previously, we didn't consider the return value of the webRequest URLPattern mate converter, which meant that when the pattern wasn't correctly parsed owing to invalid filter specification users would not be made aware of that fact and would just think that the filtering itself had failed. This corrects that error by moving the business logic of url pattern parsing out of the converter and into the function itself so that granular and specific errors can be thrown.
There's also no real reason that i'm aware of not to allow wider breadth of filters by letting users use a wildcard for effective TLD, so I also overrode that (default for the 1-arg Parse is not to allow that).
Finally, I added some examples of url filter types for users to reference.
2019-07-25 10:20:02 -07:00
Electron Bot
65648756b5
Bump v7.0.0-nightly.20190725
2019-07-25 08:31:39 -07:00
Charles Kerr
f6fb877de9
chore: pass base::StringPiece args by value ( #19432 )
...
https://cs.chromium.org/chromium/src/base/strings/string_piece.h?l=14
discusses this, saying "Prefer passing StringPieces by value" because
"[p]assing by value generates slightly smaller code."
2019-07-25 10:19:04 -05:00
Shelley Vohr
539078f281
test: clean up and augment Tray module spec ( #19410 )
...
* spec: clean and add a new tray spec
* address feedback from @nornagon
* destroy tray after every test consistently
2019-07-24 21:22:08 -07:00
Jeremy Apthorp
86c2ea1cb8
test: move Notification spec to main process ( #19414 )
2019-07-24 17:18:11 -07:00
Samuel Maddock
95977291f7
feat: preliminary support for //extensions ( #17440 )
2019-07-24 16:01:08 -07:00
Electron Bot
bd526f97a5
chore: bump chromium to 79eae5b7b2d9dac441ac0182ee160 (master) ( #19166 )
2019-07-24 15:58:51 -07:00
Samuel Attard
6d83eaaf4b
build: use a large machine for node tests as they run on N cores
2019-07-24 14:43:49 -07:00
Samuel Attard
a46e459595
build: disable flaky node tests that fail on linux
2019-07-24 14:43:49 -07:00
Samuel Attard
2132fdfa28
fix: ensure we wait for the inspect to disconnect
...
This re-orders our node clean up so that we free the environment before
the task runner is cleaned up as node uses the task runner during clean
up. It also calls WaitForDisconnect() to ensure that inspector agents
are notified that the context is going down.
2019-07-24 14:43:49 -07:00
Samuel Attard
60821c8ab0
build: convert nodejs tap output to junit and store in circleci as test results
2019-07-24 14:43:49 -07:00
Samuel Attard
cf2103d6e9
fix: ensure that the node env is not bootstrapped before running inspector
2019-07-24 14:43:49 -07:00
Samuel Attard
1d06f67672
build: run node tests
2019-07-24 14:43:49 -07:00
Micha Hanselmann
637cfdd9a0
docs: fix broken link in ipcMain docs ( #19401 )
2019-07-24 11:39:39 -07:00
Shelley Vohr
62e6957f68
spec: don't run codesigning spec on forks ( #19418 )
2019-07-24 10:55:16 -07:00
Shelley Vohr
9dfc4eb2ff
test: add tests for systemPreferences apis ( #19419 )
2019-07-24 10:40:12 -07:00
Charles Kerr
898adbce5c
fix: "TypeError: fn is not a function" crash in release notes generator ( #19394 )
...
* fix: fix cache filename of issue comments
* fix: update octokit deprecated API use
* fix: "TypeError: fn is not a function" in notes.js
* chore: retryableFunc does not need to be async
* chore: simplify checkCache() operation param
2019-07-24 13:23:40 -04:00
Caesar Schinas
a25b15bc2a
docs: fix instructions for opting out of dark mode ( #19358 )
...
4d8a055 (#19226 ) introduced incorrect instructions for 'opting out' of dark mode in Electron 7.0.0 and for enabling it on older versions. The boolean values for the `NSRequiresAquaSystemAppearance` key were inverted.
2019-07-24 10:20:25 -07:00
Jeremy Apthorp
d11d222da2
test: move version-bump spec to main process ( #19415 )
2019-07-24 10:16:28 -07:00
Jeremy Apthorp
9910507bc4
test: move BrowserView specs to main process ( #19409 )
2019-07-24 08:44:24 -07:00
Electron Bot
358f4eebae
Bump v7.0.0-nightly.20190724
2019-07-24 08:33:49 -07:00
Richard Townsend
9a7276dffc
fix: remove TLS destruction ( #19365 )
...
Building with dchecks_always_on=true in release configuration seems to
introduce flakiness because the TLS is double-freed. Amending the check
seems to fix the flakiness.
2019-07-24 11:16:53 -04:00
Samuel Attard
b7f554f1dc
docs: make setBounds take a Partial<Rectangle> ( #19416 )
2019-07-23 23:51:22 -07:00
Samuel Attard
bb90a36701
build: update NMV for Electron 7 ( #19369 )
...
Refs: https://github.com/nodejs/node/pull/28774
2019-07-23 23:51:01 -07:00
Jeremy Apthorp
ad6fb20486
test: disable flaky webview.clearHistory test ( #19398 )
2019-07-23 16:54:41 -07:00
Charles Kerr
b3fb7497c2
chore: omit superceded Chromium updates from notes ( #19400 )
...
* feat: omit superceded Chromium updates from notes
* chore: simplify changed code
2019-07-23 13:50:18 -07:00
Milan Burda
103b38650f
feat: add memory to app.getAppMetrics() ( #18831 )
2019-07-23 13:41:58 -07:00
Erick Zhao
2c383b51c1
feat: add rotate gesture for macOS ( #19294 )
...
* feat: add rotate gesture for macOS
* docs: document change
* refactor: rename 'rotate' -> 'rotate-gesture'
* refactor: const float -> float
* forgot one 🤦♂️
2019-07-23 14:42:26 -05:00
CezaryKulakowski
2e3d757f46
Changed line endings from crlf to lf in manifests.cc/h ( #19382 )
2019-07-23 11:17:34 -07:00
Charles Kerr
38507974d6
chore: use base::Environment in Linux MoveItemToTrash() ( #19367 )
...
* chore: use base::Environment in MoveItemToTrash() Linux impl
* chore: remove unnecessary local function XDGUtil()
* chore: tweak code comment
* fix: remove errant reference
2019-07-23 10:25:58 -07:00
Jeremy Apthorp
5dcac23aea
build: make //electron:electron_lib a source_set ( #19372 )
2019-07-23 09:57:40 -07:00
Sofia Nguy
384ba8da64
docs: update public electron timeline ( #19371 )
2019-07-23 09:52:17 -07:00
Electron Bot
13c152717f
Bump v7.0.0-nightly.20190723
2019-07-23 08:31:46 -07:00
Cheng Zhao
eb6660f534
feat: migrate webRequest module to NetworkService (Part 2) ( #19338 )
...
* handlers => intercepted_handlers
* Add stub for InProgressRequest
* Add stub for webRequest.onBeforeRequest/onBeforeSendHeaders/onSendHeaders
* Add stub for webRequest.onCompleted/onHeadersReceived
* Add stub for webRequest.onResponseStarted
* Add comment for the class
2019-07-22 15:01:45 -07:00
Samuel Attard
d45694dcb0
chore: use circleci v2.1 ( #19346 )
...
This allows us to have a workflow for release-builds that only runs when
we trigger it via API. This will be used to implement a /ci command to
allow folks to trigger release-style builds on their PRs.
2019-07-22 13:31:32 -07:00
Electron Bot
6ff2d69842
Bump v7.0.0-nightly.20190722
2019-07-22 08:31:37 -07:00
Shelley Vohr
3395a1d4db
doc: improve EventEmitter md formatting ( #19345 )
2019-07-22 08:20:43 -07:00
Shelley Vohr
0490189531
fix: correctly convert MessageBoxType ( #19349 )
2019-07-22 08:19:24 -07:00
Electron Bot
526f9d442d
Bump v7.0.0-nightly.20190721
2019-07-21 08:31:02 -07:00
Electron Bot
6e55b81c56
Bump v7.0.0-nightly.20190720
2019-07-20 08:31:16 -07:00
Mark Lee
0c0197a0ef
docs: update Electron Packager links ( #19333 )
2019-07-19 18:52:11 -07:00
Shelley Vohr
1f2f1fb82d
fix: emit swipe event on macOS ( #19319 )
2019-07-19 16:21:07 -07:00
Micha Hanselmann
42d4c579c3
fix zoom button when alwaysOnTop set ( #19314 )
2019-07-19 16:17:59 -07:00
John Kleinschmidt
e389fa75ea
test: run all tests on arm linux platforms ( #19318 )
...
* test: run all tests on arm platforms
* Use Ubuntu 18.04 for arm64 CI
2019-07-19 16:15:47 -07:00
Micha Hanselmann
dc30b86377
feat: support isHighContrastColorScheme() on macOS ( #19331 )
...
* change docs
* use NativeTheme to check high contrast scheme
2019-07-19 16:04:42 -07:00
Electron Bot
1edbd30987
Bump v7.0.0-nightly.20190719
2019-07-19 08:32:01 -07:00
Samuel Attard
8fc38ed549
build: update symbol generation logic for all helpers ( #19336 )
2019-07-19 08:02:43 -07:00
Samuel Attard
6fc648cd25
fix: bootstrap the node environment after we setup the InspectorAgent ( #19317 )
2019-07-18 16:54:23 -07:00
Micha Hanselmann
2467350180
feat: support mouse-move event of Tray API on Windows ( #19265 )
...
* add Tray.mouse-move on win
* change docs
2019-07-18 10:52:15 -07:00
Richard Townsend
9711fc895e
docs: describe how to install Meiryo ( #19308 )
...
Fixes #19201
2019-07-18 10:51:34 -07:00
Samuel Attard
d82e7af9be
chore: upgrade transitive lodash dependency ( #19297 )
2019-07-18 09:59:09 -07:00
Electron Bot
90684bd5b1
Bump v7.0.0-nightly.20190718
2019-07-18 08:33:13 -07:00
Shelley Vohr
3ee95cf0e8
feat: support css origin in frame.insertCSS ( #19268 )
...
* feat: support css origin in frame.insertCSS
* move cssOrigin to an options object
2019-07-17 14:34:05 -07:00
Shelley Vohr
e510816cf6
test: robustify MenuItem label/accel tests ( #19287 )
...
* test: robustify MenuItem label/accel tests
* correct truthy assertion checks
* ensure message correctly set for boolean asserts
2019-07-17 14:32:47 -07:00
Samuel Attard
afa5266c7e
chore: upgrade node to 12.6.0 ( #19312 )
2019-07-17 14:22:27 -07:00
Samuel Attard
fbcbdb051b
build: remove unused node patches ( #19296 )
2019-07-17 12:33:41 -07:00
Cheng Zhao
478360f317
chore: use dummy WebRequestNS when NetworkService is enabled ( #19300 )
2019-07-17 11:55:55 -07:00
Milan Burda
c79613b037
chore: convert more files to TypeScript ( #18820 )
2019-07-17 10:23:52 -07:00
Electron Bot
134d76dcdd
Revert "Bump v7.0.0-nightly.20190717"
...
This reverts commit 7b69730e82 .
2019-07-17 09:18:38 -07:00
Electron Bot
7b69730e82
Bump v7.0.0-nightly.20190717
2019-07-17 08:31:14 -07:00
Jeremy Apthorp
8452a7ffa5
test: move systemPreferences spec to main process ( #19237 )
...
* test: move systemPreferences spec to main process
* Update api-system-preferences-spec.ts
* Update api-system-preferences-spec.ts
2019-07-17 09:14:32 +09:00
Milan Burda
d1c9f5e309
fix: don't execute preload scripts for internal <iframe> in <webview> ( #19260 )
2019-07-17 09:13:05 +09:00
Micha Hanselmann
b57e623c11
refactor: use NativeTheme dark mode detection on macOS 10.14+
2019-07-16 17:06:31 -07:00
Jeremy Apthorp
70857e9a5d
test: move more BrowserWindow specs ( #19290 )
...
* test: move more BrowserWindow specs
* use async instead of setTimeout for cleaner code
2019-07-16 16:37:17 -07:00
Jeremy Apthorp
42f283c281
test: re-add accidentally deleted test ( #19282 )
...
this was lost due to a tragic merge incident in #19182
2019-07-16 15:45:35 -07:00
Samuel Attard
3ded946686
build: simplify node patches ( #19286 )
...
* build: collapse all BUILD.gn modifications into the original GN file patch
* build: collapse all the js2c.py changes into a single patch with a good explanation
2019-07-16 14:38:17 -07:00
Jeremy Apthorp
c5e249b85c
test: actually test sandbox events in the test that says 'test sandbox events' ( #19284 )
2019-07-16 13:43:23 -07:00
Jeremy Apthorp
b5f69e0b9f
test: disable security warnings in main runner ( #19283 )
2019-07-16 13:43:00 -07:00
Jeremy Apthorp
355b307618
test: move MenuItem spec to main process ( #19235 )
...
* test: move MenuItem spec to main process
* spec: fix errant default accel test
* Update menu-item-roles.js
* Update api-menu-item-spec.ts
2019-07-16 12:54:18 -07:00
Shelley Vohr
3d2eb8360a
chore: remove tls check script ( #19280 )
2019-07-16 12:04:02 -07:00
Samuel Attard
9a7426dc25
build: use our patch system to apply patches to upstream node ( #19270 )
...
This points our node repo at upstream (nodejs/node) and uses the base node tag as the target ref. We then use our existing patch system and patch files to apply our changes on top of node. This unifies how we patch upstream repos and makes our node patches easier to reason, view, understand and most importantly reduce.
2019-07-16 10:23:04 -07:00
Erick Zhao
4d547bdd3a
docs: mention fiddle in bug report template ( #19248 )
...
* chore: mention fiddle in bug report template
* add words
2019-07-15 22:16:02 -07:00
Jeremy Apthorp
27599a851f
test: move some BrowserWindow specs to the main process ( #19182 )
...
* test: move some BrowserWindow specs to the main process
* uncomment cross-site test
* move more tests
* re-enable, refactor and move visibilitychange specs
* move new-window event tests and re-enable them on mac
* move max/minimize event tests
* move modal tests
* move beginFrameSubscription tests
* move savePage test
* move BrowserWindow options argument is optional test
* move restore, unmaximize, fullscreen tests
* move parent window tests
* don't wait for show event on windows (#8664 )
* add debugging logs to fullscreen tests
* more debugging on windows
* explicitly destroy browserviews to prevent crash during gc
* only await show on darwin
* more event timing fixes
* disable max/minimize event tests on linux, since they're broken on CI
2019-07-15 21:13:32 -07:00
Milan Burda
7249b25868
refactor: replace SetHiddenValue() with mate::Dictionary::SetHidden() ( #19263 )
2019-07-16 11:50:38 +09:00
Shelley Vohr
aa211c6c50
chore: update to Node.js v12.4.0 ( #18924 )
...
* chore: update to node 12.4.0
* chore: fix js2c compilation and usage
* update branch reference
* chore: roll node
* refactor: use the new node::options_parser::Parse method
* fix: make node create our context for us so that everything is initialized correctly
* fix: let node do it's thing to the all contexts
We need to let node know about all the contexts that Chromium creates for the renderer processes so that it does not crash when trying to access primordials. Similar to node::NewContext but with an existing context
* chore: roll node
* chore: roll node
* chore: roll node
* chore: roll node
* fix: ensure that _noBrowserGlobals is set before the node bootstrapper runs
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
2019-07-15 18:58:39 -07:00
Micha Hanselmann
da672a3b5c
feat: support systemPreferences.isDarkMode() on Windows ( #19217 )
...
* add support for isDarkMode on Windows
* use NativeTheme for darkmode detection
2019-07-15 14:37:33 -07:00
Jeremy Apthorp
4439249617
refactor: simplify RemoveFromLoginItems ( #19179 )
2019-07-15 14:36:23 -07:00
Shelley Vohr
50f4977048
docs: differentiate static/instance class props ( #19196 )
2019-07-15 10:15:32 -07:00
Shelley Vohr
f6a29707b6
feat: app.moveToApplicationsFolder conflict handling ( #18916 )
...
Resolves #18805 .
We want to keep default move conflict handling behavior in that it's still what most users would expect, but there exist edge cases in which users may not want to be forced into that behavior.
This thus introduces an optional conflict handler that allows developers access to more granular move actions. They could now allow the user to choose whether to delete an existing app in favor of the current one being moved, or whether to quit the current app and focus on the existing one should it both exist and be running. I added a fair amount of new documentation outlining this behavior, but if there are things users may benefit from seeing examples of or nuances that should be added please leave feedback!
2019-07-15 09:34:20 -07:00
Electron Bot
0db6789210
Revert "Bump v7.0.0-nightly.20190715"
...
This reverts commit bd50115bfe .
2019-07-15 09:16:09 -07:00
Electron Bot
bd50115bfe
Bump v7.0.0-nightly.20190715
2019-07-15 08:31:35 -07:00
Micha Hanselmann
b49ca7ba2e
check for sandbox param on root ( #19216 )
2019-07-15 09:38:41 -05:00
Samuel Attard
6d5e494782
fix: serialize messages being sent over chrome message ports ( #19104 )
...
Chrome appears to serialize these messages (see #19070 ) so we should as
well to be consistent and to avoid bugs with Uint8/16 arrays
Fixes #19070
2019-07-15 19:05:09 +09:00
Thiago de Arruda
d0ece2bc93
docs: Add command to quickly fix the SMBv2 cache ( #19210 )
...
Running this command is more convenient than manually editing regedit.
2019-07-15 17:57:33 +09:00
Felix Rieseberg
2ce68df27a
docs: Update incorrect author name ( #19247 )
2019-07-15 17:51:06 +09:00
Charles Kerr
c9bc4aeb90
docs: remove redundant 'set origin' section ( #19243 )
...
* docs: fix remote push origin docs
* docs: remove redundant section
the 'git remote' text in the 'Getting the Code' section is better
2019-07-15 17:42:11 +09:00
Jeremy Apthorp
f101c72cbe
spec: move powerSaveBlocker spec to main process ( #19236 )
2019-07-15 17:38:01 +09:00
Jeremy Apthorp
a4cffd29b7
test: move globalShortcut spec ( #19233 )
2019-07-15 17:29:29 +09:00
Jeremy Apthorp
1ff2704445
test: move inAppPurchase spec ( #19232 )
2019-07-15 17:28:55 +09:00
Jeremy Apthorp
8a57fe5466
test: move ipcMain spec ( #19230 )
2019-07-15 17:23:59 +09:00
Jeremy Apthorp
3957a791b7
test: move contentTracing specs to main process ( #19229 )
2019-07-15 17:23:35 +09:00
Samuel Attard
4d8a05568b
feat: enable dark mode support by default on macOS ( #19226 )
...
This adds the NSRequiresAquaSystemAppearance key to our default Info.plist file which will tell macOS to auto-switch our effectiveAppearance in sync with the OS. The dark mode documentation has been updated to reflect how to opt *out* of this but it is also noted that certain dark mode APIs will not work on Catalina if you opt out.
2019-07-15 17:23:12 +09:00
Samuel Attard
ab8b940151
fix: add support for prefers-color-scheme CSS query ( #19228 )
...
The wiring to update prefs when you toggle between dark mode and light mode exists in the content layer but the actual value setting is done in either //chrome or in shell. We need to set the preferred_color_scheme pref value in order for the CSS query to work correctly. The DarkModeObserver in content will automatically regenerate prefs when dark mode is toggled.
Fixes #15540
2019-07-15 17:22:25 +09:00
Ian Sanders
079a173a72
feat: add stack trace log to preload script error handling ( #18905 )
...
* Add console.trace to preload script error handling
* Log error directly instead of error string + trace
* Log full error object instead of error message
2019-07-14 21:54:33 -07:00
Electron Bot
e6e94fc59d
Bump v7.0.0-nightly.20190714
2019-07-14 08:31:41 -07:00
Electron Bot
32fec3e8f9
Bump v7.0.0-nightly.20190713
2019-07-13 08:32:19 -07:00
Electron Bot
150a92d093
Bump v7.0.0-nightly.20190712
2019-07-12 08:31:51 -07:00
Milan Burda
beb996b847
docs: specify possible values for ProcessMetric.type ( #19203 )
2019-07-12 14:10:18 +03:00
Erick Zhao
9a42ddd2b8
chore: revert key -> main change in window delegate listener ( #19213 )
...
* chore: revert key -> main
* chore: comment out test that will fail
* more context on commented out test
* remove commented test
2019-07-12 17:46:35 +09:00
Milan Burda
35294891ae
fix: <webview> not working in scriptable popups ( #19198 )
2019-07-11 20:56:04 -05:00
Alexandre Lacheze
e26f366405
Revert: electron/electron#14487 ( #19011 )
2019-07-11 17:25:26 -05:00
Shelley Vohr
75a020e0ac
feat: expose new vibrancy types ( #19073 )
2019-07-11 14:10:45 -05:00
Milan Burda
c756b955b3
fix: revert use of IPC helpers for history due to failing test ( #19189 )
2019-07-11 20:25:07 +03:00
Louis Rose
79114ff40a
feat: add object to subscribe notification callback ( #19110 )
2019-07-11 10:06:31 -07:00
lvs
6d34314457
Remind user the executeJavaScript will not run their code immediately ( #19129 )
...
Remind user the contents.executeJavaScript will not run their code immediately if the web page still in running. Without the knowledge, user would think their code not function properly and it's hard to debug because different page have different loading time.
According to [web-contents.js](731edbe2b6/lib/browser/api/web-contents.js (L199) )
2019-07-11 10:55:30 -05:00
Electron Bot
0dbeb49ee0
Bump v7.0.0-nightly.20190711
2019-07-11 08:31:15 -07:00
Micha Hanselmann
1f70dfbffd
chore: deprecate setHighlightMode ( #19202 )
2019-07-11 10:11:46 -05:00
Micha Hanselmann
06d48514c6
add toolTip property for MenuItem ( #19099 )
2019-07-11 17:56:22 +09:00
Electron Bot
692df804cf
Bump v7.0.0-nightly.20190710
2019-07-10 08:31:51 -07:00
Julien Isorce
8b31953d40
feat: Can a window always on top but behind the taskbar on Win32 ( #18982 )
...
For now it only adds the ability to place the window below
the task bar while still being always on top.
Previous behaviour was always showing the window above the task
bar when top is true. We keep this default behaviour, i.e. when
the 'level' parameter is omitted.
https://github.com/electron/electron/issues/18933
Notes: Can set a window always on top but behind the taskbar on Windows
2019-07-10 09:40:11 -05:00
Cheng Zhao
faa2710485
fix: do not wait on promise returned by remote APIs ( #18990 )
...
* fix: make <webview>.loadURL async
* docs: webview.loadURL returns Promise
2019-07-10 08:20:28 -05:00
Alexey Kuzmin
015e1348e0
ci: do not use the MOCHA_FILE env variable ( #19171 )
...
It is not used in a expected way anyway.
2019-07-09 15:56:46 -05:00
Electron Bot
e3440f1975
Bump v7.0.0-nightly.20190709
2019-07-09 08:31:45 -07:00
Micha Hanselmann
62a3666773
remove non-existent event ( #19126 )
2019-07-09 17:45:18 +03:00
Milan Burda
fdbb97e876
chore: update to latest TypeScript 3.5.2 ( #19133 )
2019-07-09 14:44:46 +03:00
Milan Burda
b32bee5d84
refactor: implement GetResourcesPath using MainApplicationBundlePath on Mac ( #19135 )
2019-07-09 12:56:40 +03:00
Cheng Zhao
436d5c9ac1
fix: use gn/clang-format from src ( #19145 )
...
* fix: use gn/clang-format from src
* fix: download clang-format in lint job
* chore: fix linting warning
* chore: get_path_in_buildtools => get_buildtools_executable
* chore: the clang-format npm package is not used
2019-07-09 17:40:26 +09:00
Micha Hanselmann
d79e6bbffe
refactor: improve function deprecation module ( #19012 )
...
* add removeFunction to deprecation module
* clarify deprecate api
* throw error
* change error msg
2019-07-09 10:01:35 +09:00
Electron Bot
a90306876e
chore: bump chromium to b8ae827f4fead0b527079194b9899 (master) ( #19112 )
...
* chore: bump chromium in DEPS to c87ad34dfd48610959977db9b6eeeb86f5feafe9
* chore: rebase patches
* chore: bump chromium in DEPS to ad29fca14d77b2a1752f24d9425278c6737c0f70
* chore: bump chromium in DEPS to 22c21a9cc728e7958e3ac1033cfdc6ed0f0a8b10
* chore: bump chromium in DEPS to 8c86dd7f76abf4ad1ab41796d2da6172b1b10866
* chore: update patches
* chore: bump chromium in DEPS to 5a48e127c8cb8ae827f4fead0b527079194b9899
* remove TransformPointToLocalCoordSpaceLegacy
https://chromium-review.googlesource.com/c/chromium/src/+/1637525
2019-07-09 10:00:24 +09:00
Milan Burda
419ce494e9
refactor: use IPC helpers in window-setup ( #17948 )
2019-07-09 02:43:49 +03:00
Jeremy Apthorp
c3ae476deb
test: move some browser window specs to the main process ( #19089 )
2019-07-08 15:44:37 -07:00
Electron Bot
a04a458156
Bump v7.0.0-nightly.20190708
2019-07-08 08:32:08 -07:00
Milan Burda
550b2269be
build: strip recently added swiftshader/libvulkan.so ( #19141 )
2019-07-08 15:21:04 +03:00
Milan Burda
69369cf365
refactor: don't expose isPromise as an internal module ( #19139 )
2019-07-08 15:17:50 +09:00
Adam Leskis
949f8685d2
docs: fix simple typo in api for webview-tag ( #19028 )
2019-07-07 20:58:55 -07:00
Julien Isorce
09c3277b42
feat: Implement BrowserWindow.setFocusable on macOS ( #19033 )
...
It was not implemented on Mac despite being available as a constructor
option. Implementation already exists on Windows. Linux case can be
separately.
https://github.com/electron/electron/issues/19032
Notes: Implemented BrowserWindow.setFocusable on macOS.
2019-07-08 11:34:18 +09:00
John Kleinschmidt
e6a7a84834
build: fix ffmpeg gn gen ( #19127 )
...
* revert #18993
* build: fix ffmpeg GN gen
2019-07-08 10:30:57 +09:00
Electron Bot
106cc6189c
Bump v7.0.0-nightly.20190707
2019-07-07 08:31:09 -07:00
Electron Bot
269a93177d
Bump v7.0.0-nightly.20190706
2019-07-06 08:31:06 -07:00
Jeremy Apthorp
731edbe2b6
fix: dump correct breakpad symbols on macOS ( #19042 )
...
* fix: dump correct symbols on macOS
* refactor symbol dumping
* .exe/.dll on windows
* dump .exe.pdb/.dll.pdb; also add path for msdia140.dll
* undo breakpad_symbols.zip rename
* dump_syms.exe doesn't support -i on windows
* remove unused windows symbol generation script
* win fix 🤞 🤞
* import errno
* use out_dir
* i tender my resignation
2019-07-05 10:38:30 -07:00
Electron Bot
acdb290469
Bump v7.0.0-nightly.20190705
2019-07-05 08:31:30 -07:00
Milan Burda
87b1dab497
fix: check parent-child relationship in canAccessWindow ( #19077 )
2019-07-04 18:22:08 +02:00
Electron Bot
c933d19a1b
Bump v7.0.0-nightly.20190704
2019-07-04 08:32:21 -07:00
Cheng Zhao
2a3793485f
feat: implement net module with NetworkService ( #19094 )
...
* Stub class for NetworkService-based URLRequest
* Create SimpleURLLoader
* Implement downloading
* Implement response event
* Only write data afte previous one finished
* Use DataPipeGetter for uploading data
* Support chunked upload data
* Call size callback at last
* Simplify UploadDataPipeGetter
* Implement cancelling and closing
* Handle redirection
* Fix uploading large data
* Emit error when request fails
* Emit error for redirection error
* Simplify emitting error
* "follow" should also emit "redirect" event
* SetLoadFlags is not really used
* Implement GetUploadProgress
* Implement FollowRedirect
* Fix exception with multiple redirections
* Reduce number of EmitEvent methods
* Emit response errors
* FetchRedirectMode => RedirectMode
2019-07-04 10:56:19 +09:00
Samuel Attard
4b674c1daf
build: ensure that we bundle the correct version of @types/node ( #19102 )
2019-07-03 16:36:59 -07:00
Samuel Attard
5a1b661f42
fix: use bidning.ipc instead of binding.sendTo which is undefined ( #19103 )
2019-07-03 16:36:44 -07:00
Samuel Attard
e6108740c0
fix: handle no env in externsion world set up ( #19101 )
...
Previously when GetEnvironment returned null this extension setup
crashed.
2019-07-03 15:42:06 -07:00
Jeremy Apthorp
da64fae690
test: disable IAP tests that hit Apple servers ( #19100 )
2019-07-03 15:41:37 -07:00
Shelley Vohr
43b4a3ae6a
chore: deprecate some NSVisualEffectMaterial types ( #19072 )
2019-07-03 14:56:03 -07:00
Electron Bot
d362be5cd9
chore: bump chromium to f156cb7658ec5382f5623a05841c6 (master) ( #19096 )
...
* chore: bump chromium in DEPS to 37cd06a295cf156cb7658ec5382f5623a05841c6
* update patches
* fix: replace NO_TRAFFIC_ANNOTATION_YET with MISSING_TRAFFIC_ANNOTATION
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1653256
2019-07-03 14:48:55 -07:00
Jeremy Apthorp
ae01a48fca
chore: fix node ref to point to the ref that was merged ( #19098 )
2019-07-03 14:08:21 -07:00
Jeremy Apthorp
d1292833e9
chore: remove unused BrowserWindow.fromDevToolsWebContents ( #19090 )
2019-07-03 12:07:47 -07:00
Shelley Vohr
8782d06ed6
feat: convert webContents primitives to properties ( #18998 )
...
* feat: convert webContents primitives to properties
* address feedback from review
2019-07-03 08:57:10 -07:00
Electron Bot
de072c6ef5
Bump v7.0.0-nightly.20190703
2019-07-03 08:31:34 -07:00
Milan Burda
69ea0b4ebf
fix: ignore non-absolute session preload script paths when sandboxed ( #19066 )
2019-07-03 08:05:45 -07:00
Electron Bot
50b9c7051e
chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) ( #18648 )
...
* chore: bump chromium in DEPS to 675d7dc9f3334b15c3ec28c27db3dc19b26bd12e
* chore: update patches
* chore: bump chromium in DEPS to dce3562696f165a324273fcb6893f0e1fef42ab1
* chore: const interfaces are being removed from //content
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1631749
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=908139
* chore: update patches
* chore: blink::MediaStreamType is now consistent and deduplicated
* chore: update patches and printing code for ref -> uniq
* chore: bridge_impl() --> GetInProcessNSWindowBridge
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1642988
* fixme: TotalMarkedObjectSize has been removed
* chore: fix linting
* chore: bump chromium in DEPS to 9503e1a2fcbf17db08094d8caae3e1407e918af3
* chore: fix slightly broken printing patch
* chore: update patches for SiteInstanceImpl changes
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1612025
* chore: update patches for SiteInstanceImpl changes
* chore: bump chromium in DEPS to 6801e6c1ddd1b7b73e594e97157ddd539ca335d7
* chore: update patches
* chore: bump chromium in DEPS to 27e198912d7c1767052ec785c22e2e88b2cb4d8b
* chore: remove system_request_context
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1647172
* chore: creation of FtpProtocolHandler needs an auth cache
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1639683
* fixme: disable marked spec
* chore: bump chromium in DEPS to 3dcd7fe453ad13a22b114b95f05590eba74c5471
* chore: bump chromium in DEPS to bdc24128b75008743d819e298557a53205706e7c
* chore: bump chromium in DEPS to 7da330b58fbe0ba94b9b94abbb8085bead220228
* update patches
* remove TotalMarkedObjectSize
https://chromium-review.googlesource.com/c/chromium/src/+/1631708
* add libvulkan.so to dist zip manifest on linux
* chore: bump chromium in DEPS to 1e85d0f45b52649efd0010cc9dab6d2804f24443
* update patches
* add angle features to gpuinfo
https://chromium-review.googlesource.com/c/chromium/src/+/1638658
* mark 'marked' property as deprecated
* disable webview resize test
* FIXME: disable vulkan on 32-bit arm
* chore: bump chromium in DEPS to cd0297c6a83fdd2b1f6bc312e7d5acca736a3c56
* Revert "FIXME: disable vulkan on 32-bit arm"
This reverts commit 5c1e0ef302a6db1e72231d4e823f91bb08e281af.
* backport from upstream: fix swiftshader build on arm
https://swiftshader-review.googlesource.com/c/SwiftShader/+/32768/
* update patches
* viz: update OutputDeviceWin to new shared memory api
https://chromium-review.googlesource.com/c/chromium/src/+/1649574
* base::Contains{Key,Value} => base::Contains
https://chromium-review.googlesource.com/c/chromium/src/+/1649478
* fixup! viz: update OutputDeviceWin to new shared memory api
* stub out StatusIconLinuxDbus-related delegate methods
https://chromium-review.googlesource.com/c/chromium/src/+/1638180
* chore: bump chromium in DEPS to 964ea3fd4bdc006d62533f5755043076220181f1
* Remove the BrowserContext methods to create URLRequestContexts for main/media partitions when a partition_domain is specified
https://chromium-review.googlesource.com/c/chromium/src/+/1655087
* fixup! stub out StatusIconLinuxDbus-related delegate methods
* add remote_cocoa to chromium_src deps
https://chromium-review.googlesource.com/c/chromium/src/+/1657068
* fixup! stub out StatusIconLinuxDbus-related delegate methods
* attempt at fix linux-debug build
* add swiftshader/libvulkan.so to arm manifest
* chore: bump chromium in DEPS to 28688f76afef27c36631aa274691e333ddecdc22
* update patches
* chore: bump chromium in DEPS to fe7450e1578a9584189f87d59d0d1a8548bf6b90
* chore: bump chromium in DEPS to f304dfd682dc86a755a6c49a16ee6876e0db45fb
* chore: bump chromium in DEPS to f0fd4d6c365aad9edd83bdfff9954c47d271b75c
* Update patches
* Remove no longer needed WOA patch
* Put back IOThread in BrowserProcess
We need this until we enable the network service.
* move atom.ico to inputs
* Update to latest LKGR to fix no template named 'bitset' in namespace 'std'
* fixup! Put back IOThread in BrowserProcess
* chore: bump chromium in DEPS to dcf9662dc9a896a175d791001350324167b1cad3
* Update patches
content_allow_embedder_to_prevent_locking_scheme_registry.patch is no longer necessary as it was upstreamed via https://chromium-review.googlesource.com/c/chromium/src/+/1637040
* Fix renamed enum
* Use newer docker container
Contains updated dependencies
* Try to track down arm test failures
* Fix arm tests
* chore: bump chromium in DEPS to 8cbceef57b37ee14b9c4c3405a3f7663922c5b5d
* Update patches
* Add needed dependencies for testing 32-bit linux
* Remove arm debugging.
* Remove additional debugging
* Fix compiler errors
* Handle new macOS helper
* Fix compile error on Linux
* chore: bump chromium in DEPS to 66a93991ddaff6a9f1b13d110959947cb03a1860
* Add new helper files to manifests
* fix BUILD.gn for macOS
* Fix compile errors
* Add patch to put back colors needed for autofill/datalist
* chore: bump chromium in DEPS to e89617079f11e33f33cdb3924f719a579c73704b
* Updated patches
* Remove no longer needed patch
* Remove no longer needed patch
* Fix compile error with patch
* Really fix the patch
* chore: bump chromium in DEPS to c70f12476a45840408f1d5ff5968e7f7ceaad9d4
* chore: bump chromium in DEPS to 06d2dd7a8933b41545a7c26349c802f570563fd5
* chore: bump chromium in DEPS to b0b9ff8f727deb519ccbec7cf1c8d9ed543d88ab
* Update patches
* Fix compiler errors
* Fix removed ChromeNetLog
* Revert "Fix removed ChromeNetLog"
This reverts commit 426dfd90b5ab0a9c1df415d71c88e8aed2bd5bbe.
* Remove ChromeNetLog.
https://chromium-review.googlesource.com/c/chromium/src/+/1663846
* chore: bump chromium in DEPS to fefcc4926d58dccd59ac95be65eab3a4ebfe2f29
* Update patches
* Update v8 patches
* Fix lint error
* Fix compile errors
* chore: bump chromium in DEPS to 4de815ef92ef2eef515506fe09bdc466526a8fd9
* Use custom protocol to test baseURLForDataURL
* Use newer SDK (10.0.18362) for Windows
* Update patches
* Update arm manifest since swiftshader reenabled.
* Don't delete dir that isn't ever there.
* Fix compile errors.
* Need src dir created
* Update for removed InspectorFrontendAPI.addExtensions
* Revert "Use newer SDK (10.0.18362) for Windows"
This reverts commit 68763a0c88cdc44b971462e49662aecc167d3d99.
* Revert "Need src dir created"
This reverts commit 7daedc29d0844316d4097648dde7f40f1a3848fb.
* Revert "Don't delete dir that isn't ever there."
This reverts commit bf424bc30ffcb23b1d9a634d4df410342536640e.
* chore: bump chromium in DEPS to 97dab6b0124ea53244caf123921b5d14893bcca7
* chore: bump chromium in DEPS to c87d16d49a85dc7122781f6c979d354c20f7f78b
* chore: bump chromium in DEPS to 004bcee2ea336687cedfda8f8a151806ac757d15
* chore: bump chromium in DEPS to 24428b26a9d15a013b2a253e1084ec3cb54b660b
* chore: bump chromium in DEPS to fd25914e875237df88035a6abf89a70bf1360b57
* Update patches
* Update node to fix build error
* Fix compile errors
* chore: bump chromium in DEPS to 3062b7cf090f1d9522c04ca8fa0a906f88ababe9
* chore: update node ref for pushed tags
* chore: update patches for new chromium
* chore: fix printing patches
* Use new (10.0.18362) Windows SDK
* roll node to fix v8 build issues in debug build
* Add support for plugin helper
* fix: add patch to fix gpu info enumeration
Can be removed once CL lands upstream.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1685993
* spec: navigator.requestMIDIAccess now requires a secure origin
This test requires a secure origin so we fake one.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1657952
* FIXME: temporarily disable SharedWorker tests
* use released version of node-abstractsocket
* fix abstract-socket
2019-07-02 18:22:09 -07:00
Samuel Attard
9bef48216f
build: update our nan reference to point at the upstream ( #19084 )
...
The required fix has landed, let's target upstream
2019-07-02 13:54:22 -07:00
Jeremy Apthorp
616856552f
test: fix flaky onbeforeunload tests ( #19085 )
2019-07-02 13:48:58 -07:00
Jeremy Apthorp
c2d78deeca
test: attempt to fix flaky webview.clearHistory test ( #19083 )
2019-07-02 13:48:26 -07:00
Electron Bot
39c4a5411d
Bump v7.0.0-nightly.20190702
2019-07-02 08:32:51 -07:00
Chase Colman
9a4e551c8b
docs: fix undefined isMac in menu example ( #19071 )
...
* docs: fix undefined isMac in menu example
* docs: remove ; in example
2019-07-02 10:09:10 -05:00
Jerry Wu
dee331519c
fix: disable nodeIntegration & insecure resource warnings for localhost ( #18814 )
...
* fix: disable remote host nodeIntegration warning for localhost
In warnAboutNodeWithRemoteContent(), add a check to see if the hostname
is "localhost" and prevent the warning message if it is.
* fix: disable loading insecure resources warning for localhost
In warnAboutInsecureResources(), filter out resources from localhost
since they are most likely not a threat.
* test: add tests for ignoring security warnings when using localhost
Add tests for ignoring warning messages for the following scenarios:
1. node integration with remote content from localhost
2. loading insecure resources from localhost
* test: fix insecure resource test
* test: pass nodeIntegration with remote test on did-finish-load
* test: maybe fix node integration test (error w/ conv circular struct)
* test: update test description
* test: use "load" event to check when nodeIntegration test has finished
Instead of relying on the "did-finish-load" event, which may result in
a race condition, add an "onload" handler that logs "loaded" to the
console. This will execute _after_ the nodeIntegration check, so it
can be safely used as a signal to indicate that the test is done.
* test: rename base-page-security-load-message.html
* fix: ignore enabled remote module warning for localhost
* refactor: add isLocalhost()
2019-07-02 19:36:50 +09:00
Samuel Attard
4e2990d3aa
docs: make the dialog example work out of the box on all 3 platforms ( #19055 )
2019-07-01 16:53:07 -07:00
Shelley Vohr
21d04ed3f4
feat: improve callback value for webContents.print() ( #19000 )
...
Resolves #18980 .
Adds granularity to the optional callback in webContents.print() by adding a failureType value in addition to the success boolean that differentiates between cancelled and failed print jobs.
2019-07-01 14:03:19 -07:00
Shelley Vohr
5154b95447
chore: update @types/node and @primer/octicons ( #19025 )
2019-07-01 11:25:45 -07:00
Heilig Benedek
5a3073128c
fix: add shell=True to make run-gn-format run properly on Windows ( #18993 )
2019-07-01 10:47:16 -07:00
Erick Zhao
c7da54e82a
fix: Correct modal focus behavior on macOS ( #18995 )
...
Fixes #18502
This PR changes the focus and blur events that we emit in Electron to listen to changes in key window rather than main window. It swaps out windowDidBecomeMain and windowDidResignMain for windowDidBecomeKey and windowDidResignKey, respectively.
2019-07-01 10:07:26 -07:00
Electron Bot
3173b66d00
Bump v7.0.0-nightly.20190701
2019-07-01 08:31:22 -07:00
Shelley Vohr
3038846f5d
chore: DirectoryLister memory management improvement ( #18634 )
...
* chore: small memory management improvement
Co-authored-by: Charles Kerr <ckerr@github.com >
* chore: fix code style
* use start-from-one ref count, check ref_counted.h for motivations
* reuse list_base_dir_
* net::DirectorLister offloads directory enumeration to a different
task sequence in its implementation, use of sequence runner on
our end is unnecessary
* Don't manually `Release` in `WebContentsDestroyed`, content::FileSelectListener
already handles this case.
2019-07-01 07:58:06 -07:00
Milan Burda
3859244a79
chore: remove unused switches::kDisableHtmlFullscreenWindowResize ( #19041 )
2019-07-01 11:58:39 +09:00
Erick Zhao
cc223d7cd2
fix: fire close event upon closing modal BrowserWindow in macOS ( #19014 )
...
* fix: emit close event from modal on macOS
* fix: Move fn call to correct spot
* refactor: call notify fn directly
2019-07-01 11:57:31 +09:00
Electron Bot
f62d9f1411
Bump v7.0.0-nightly.20190630
2019-06-30 08:31:45 -07:00
Shelley Vohr
0348b60a34
feat: add a series of new printing options ( #18984 )
2019-06-29 22:12:00 -07:00
Electron Bot
684d1838f9
Bump v7.0.0-nightly.20190629
2019-06-29 08:31:55 -07:00
Jeremy Apthorp
6ece477779
refactor: nws13n: setCertificateVerifyProc ( #18221 )
2019-06-28 15:22:23 -07:00
Erick Zhao
e03a40026a
fix: correct triggeredByAccelerator Event property behavior ( #18865 )
...
Fixes #18808
Previously, the triggeredByAccelerator flag would be entirely coupled with whether or not the modifier keys were being used or not.
This PR swaps out the ui::EventFlagsFromModifiers([event modifierFlags])) call in the macOS code to ui::EventFlagsFromNSEventWithModifiers(event, [event modifierFlags])). The latter outputs flags that take into account mouse click events on top of modifier flags (see Chromium documentation).
The business logic to detect triggeredByAccelerator is then changed to exclude any mouse click flags.
2019-06-28 14:38:17 -07:00
Samuel Attard
6eed4a98ce
fix: do not remove node globals when context isolation is enabled ( #18967 )
2019-06-28 14:37:00 -07:00
Cheng Zhao
1d8e16bc6e
docs: UploadData does not have contentType ( #19026 )
2019-06-28 11:19:01 -07:00
Electron Bot
23b8c9c917
Revert "Bump v7.0.0-nightly.20190628"
...
This reverts commit 769dcce9d7 .
2019-06-28 09:07:12 -07:00
Electron Bot
769dcce9d7
Bump v7.0.0-nightly.20190628
2019-06-28 08:31:15 -07:00
Shelley Vohr
a4f61565c3
fix: crash when tray popup called twice ( #18999 )
2019-06-28 08:24:54 -07:00
Micha Hanselmann
e44bb8474b
test: move tray api tests to main process ( #18986 )
2019-06-28 07:43:04 -07:00
Cheng Zhao
0a9438dbba
docs: documentation of NetworkService-based protocol module ( #18952 )
...
* docs: NetworkService-based protocol module
* docs: separate ProtocolRequest
* docs: separate ProtocolResponse
* docs: fix lint warning
* docs: fix electron.d.ts
* fix: print deprecation warnings for protocol module
* docs: fix links
* Apply suggestions from code review
Co-Authored-By: Felix Rieseberg <felix@felixrieseberg.com >
* Apply suggestions from code review
Co-Authored-By: Samuel Attard <samuel.r.attard@gmail.com >
* Do not publish NetworkService changes draft
* Apply suggestions from code review
Co-Authored-By: Samuel Attard <samuel.r.attard@gmail.com >
* docs: filePath must be absolute
2019-06-28 16:25:30 +09:00
Samuel Attard
127d617db5
fix: delay emitting screen events by a tick to avoid re-entrancy crash ( #19016 )
2019-06-27 19:01:28 -07:00
Shelley Vohr
1a6a16e346
docs: fix platform location for params ( #18987 )
2019-06-27 14:51:18 -07:00
Jeremy Apthorp
ec8697bcdc
test: move protocol specs to main process ( #18923 )
2019-06-27 14:20:29 -07:00
Electron Bot
fdb2502a19
Bump v7.0.0-nightly.20190627
2019-06-27 08:31:59 -07:00
Shelley Vohr
e8e360a902
fix: silent printing mode ( #18979 )
2019-06-26 20:53:17 -07:00
Micha Hanselmann
819cebff5d
change menu item docs ( #18985 )
2019-06-26 20:20:04 -07:00
Samuel Attard
c1ad0725d8
build: fix include paths so that __file__ is absolute not relative ( #18997 )
2019-06-26 11:32:42 -07:00
Shelley Vohr
6243dba068
chore: use ScopedPumpMessagesInPrivateModes in tray ( #18977 )
...
* chore: use ScopedPumpMessagesInPrivateModes in tray
* revert refcounting of AtomMenuModel
* Prefer WeakPtr for posting tasks to handle unexpected destruction
2019-06-26 10:18:53 -07:00
Electron Bot
d643921313
Bump v7.0.0-nightly.20190626
2019-06-26 08:31:57 -07:00
Shelley Vohr
5298358b72
fix: set size of GTK about panel icon ( #18957 )
2019-06-25 22:17:30 -07:00
Alexandre Lacheze
2b3a256647
docs: precise that node integration is enabled in natively opened window if nodeIntegrationInSubFrames is true ( #18156 )
2019-06-25 21:03:23 -07:00
Shelley Vohr
c87394ee25
feat: show optional authors in gtk about panel ( #18964 )
...
* feat: show optional authors in gtk about panel
* chore: use a base::Value for about dialog options on Linux
* docs: mark 'version' as supported on Linux too
2019-06-25 11:31:14 -07:00
Electron Bot
ab5ec0af33
Bump v7.0.0-nightly.20190625
2019-06-25 08:32:04 -07:00
Shelley Vohr
dc2cd8e780
fix: make tray not block main process ( #18880 )
...
* fix: make tray not block main process
* make AtomMenuModel refcounted
2019-06-24 19:30:26 -07:00
Shelley Vohr
24ffc3cfb0
docs: update badges ( #18955 )
2019-06-24 14:09:17 -07:00
Julien Isorce
99e3de56df
spec: fix flakiness of test BrowserWindow.moveTop ( #18962 )
...
Wait for the focus event because checking focus status.
BrowserWindow.show gives focus to the window but there is
a moment where the window is shown but does not have the
focus yet. And the test was failing at this moment.
2019-06-24 13:41:42 -07:00
Milan Burda
1304f259cc
spec: remove unused variables ( #18947 )
2019-06-24 13:41:20 -05:00
Micha Hanselmann
ed5c624b08
move screen api test to main process ( #18956 )
2019-06-24 11:30:47 -07:00
Samuel Attard
764be844ec
fix: override the timers module impls to activate the uv loop ( #18948 )
2019-06-24 10:18:29 -07:00
Samuel Attard
fb01c94511
build: clean up scripts folder, move release scripts, move zip manifest logic ( #18945 )
...
* build: move zip manifest logic in zip_manifests dir
* build: remove unused get-version.py script
* chore: move all release/sudowoodo related scripts into script/releases
* chore: update paths to zip manifests in CI configs
* build: fix path to ci release build script for arm tests
2019-06-24 10:18:04 -07:00
Samuel Attard
5686a0713e
fix: make isDarkMode correctly detect dark mode in the auto setting on catalina ( #18949 )
2019-06-24 10:17:38 -07:00
Electron Bot
1cd7c21f38
Bump v7.0.0-nightly.20190624
2019-06-24 08:31:27 -07:00
Electron Bot
a084093d73
Bump v7.0.0-nightly.20190623
2019-06-23 08:31:00 -07:00
Samuel Attard
79ac99c09b
build: remove scripts in the tools dir that are unused ( #18944 )
2019-06-22 22:29:22 -07:00
Electron Bot
e8c8328081
Bump v7.0.0-nightly.20190622
2019-06-22 08:31:58 -07:00
Charles Kerr
792f6b246c
docs: fix spelling and grammar errors ( #18910 )
2019-06-21 16:19:21 -05:00
Shelley Vohr
bef9610f6a
chore: account for remotes in branch parsing ( #18930 )
2019-06-21 13:58:59 -07:00
Micha Hanselmann
81497c7f2e
fix: sanitize invalid custom protocol headers ( #18854 )
2019-06-21 09:23:57 -07:00
Electron Bot
236d552d6a
Bump v7.0.0-nightly.20190621
2019-06-21 08:31:04 -07:00
Shelley Vohr
57c099d8b8
chore: fix branch trimming for blast-off releases ( #18907 )
2019-06-20 13:12:05 -07:00
Shelley Vohr
7e5ea179a1
chore: remove unneeded require ( #18863 )
...
* chore: remove unneeded require
* chore: update lockfile
2019-06-20 12:28:13 -07:00
Shelley Vohr
536327151d
refactor: make savePath a property on DownloadItem ( #18677 )
2019-06-20 10:04:57 -07:00
Jeremy Apthorp
e95d2129be
spec: de-flake ses.protocol test ( #18884 )
2019-06-20 09:54:33 -07:00
Electron Bot
c27231ce5c
Bump v7.0.0-nightly.20190620
2019-06-20 08:31:49 -07:00
David Sanders
6251a6d307
fix: typo in comment ( #18899 )
2019-06-20 10:11:38 -05:00
Milan Burda
f3f2990b9e
feat: sandbox renderer processes for cross-origin frames ( #18650 )
2019-06-20 12:10:56 +02:00
Jeremy Apthorp
23286fe557
fix: bundle swiftshader and ANGLE libraries on mac ( #18870 )
...
Fixes #18639 . Not sure what exactly caused this to start breaking now, but these libraries appeared in https://chromium-review.googlesource.com/c/chromium/src/+/955949/ and got enabled by default on mac here https://chromium-review.googlesource.com/c/chromium/src/+/1005017/ . The call during gpu process startup that was causing this crash was added here https://chromium-review.googlesource.com/c/chromium/src/+/1599993 .
2019-06-19 18:14:51 -07:00
Samuel Attard
dca583a77f
build: add an FYI job for building with RUN_AS_NODE disabled ( #18890 )
2019-06-19 18:10:04 -07:00
Samuel Attard
34c4c8d508
refactor: rename the atom namespace to electron
2019-06-19 17:33:28 -07:00
Samuel Attard
8c4496a9c9
chore: replace atom path with shell in scripts
2019-06-19 17:33:28 -07:00
Samuel Attard
56930338e8
chore: fix linting after shell rename
2019-06-19 17:33:28 -07:00
Samuel Attard
2160c1fcc9
refactor: replace includes for atom with shell
2019-06-19 17:33:28 -07:00
Samuel Attard
d7f07e8a80
refactor: rename the atom directory to shell
2019-06-19 17:33:28 -07:00
Milan Burda
4575a4aae3
Revert "feat: only allow bundled preload scripts ( #17308 )" ( #18091 )
...
This reverts commit 8cf15cc931 .
2019-06-20 08:39:12 +09:00
Jeremy Apthorp
257fd2c0df
spec: move more BrowserWindow specs to main runner ( #18610 )
...
* test: move more BrowserWindow specs to main runner
* more movey
* maximized/minimized events don't work on linux?
* try for better printing of non-equal bounds
* add a timeout when checking window bounds after resize
* add a timeout when reading content size
* setTimeout...?
* try a smaller window size
2019-06-20 08:38:21 +09:00
Milan Burda
aa522731a2
fix: building with enable_run_as_node disabled ( #18887 )
2019-06-19 16:15:14 -07:00
Jacob Groundwater
5247fe6038
Merge pull request #18891 from electron/groundwater-patch-1
...
docs: Document our existing language policy
2019-06-19 15:57:43 -07:00
Jacob Groundwater
5cb25c27b0
Update CONTRIBUTING.md
...
Co-Authored-By: Lee Dohm <1038121+lee-dohm@users.noreply.github.com >
2019-06-19 15:52:11 -07:00
Jacob Groundwater
f8f0540487
Update CONTRIBUTING.md
...
Co-Authored-By: Lee Dohm <1038121+lee-dohm@users.noreply.github.com >
2019-06-19 15:45:33 -07:00
Jacob Groundwater
ee01810395
Document our existing language policy
2019-06-19 15:41:32 -07:00
Milan Burda
79f0c444fd
fix: app.getAppPath() returning default-app path for files or directories without package.json ( #18763 )
2019-06-19 23:34:22 +02:00
Samuel Attard
7201845894
refactor: auto generate electron_version.h from the version file ( #18866 )
...
* refactor: auto generate electron_version.h from the version file
* Update BUILD.gn
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
2019-06-19 14:31:55 -07:00
Micha Hanselmann
504edf2cf6
test: correct fake tests in api-protocol-spec ( #18869 )
...
* fix protocol 404 fake tests
* fix another fake test
* fix last fake test (hopefully)
2019-06-19 13:40:49 -07:00
Samuel Attard
0146cc0eb5
fix: delay handling occlusion events to avoid flicker on macOS ( #18661 )
...
* chore: add debounce on the updateWebContentsVisibility method to ensure quick changes in occlusion do not result in flickering
* chore: update old patch headers
2019-06-19 12:51:25 -07:00
Samuel Attard
00d18917d0
build: add basic linting for the patches folder to ensure that .patches match the state on disk ( #18615 )
2019-06-19 10:48:15 -07:00
Samuel Attard
ae49aa4a03
chore: roll node to fix http2 memory leak ( #18868 )
2019-06-19 10:47:23 -07:00
Electron Bot
98bc0ae7ee
Bump v7.0.0-nightly.20190619
2019-06-19 08:31:49 -07:00
Milan Burda
edb56500c7
refactor: piggy-back on ELECTRON_BROWSER_SANDBOX_LOAD to get content scripts ( #18823 )
2019-06-19 17:23:44 +02:00
Jeremy Apthorp
450aa33775
ci: add a space at the end of NINJA_STATUS ( #18871 )
2019-06-19 10:03:05 -04:00
Shelley Vohr
a0b2810640
chore: add ability to log native deprecation warnings ( #18681 )
...
* chore: add ability to log native deprecation warnings
* take std::string, handle conversion later
* address feedback from @ckerr's review
* simplify with feedback from zcbenz
2019-06-19 08:46:36 +09:00
Samuel Attard
a42ed950ca
build: add env var to allow easily triggering a 3way patch ( #18448 )
2019-06-18 15:15:06 -07:00
Samuel Attard
c720803413
build: enforce frozen lockfile on the lint stage ( #18867 )
2019-06-18 16:42:42 -05:00
Shelley Vohr
b98c1d0472
chore: remove unused enum ( #18848 )
2019-06-18 11:27:48 -07:00
Jerry Wu
d5811607eb
fix: extra space in security warning message causing list misalignment ( #18815 )
2019-06-18 09:59:02 -07:00
Electron Bot
3f7cce6d8c
Bump v7.0.0-nightly.20190618
2019-06-18 08:31:47 -07:00
Shelley Vohr
1aac7ac9d0
chore: fix current branch fetch on master ( #18844 )
2019-06-18 07:54:32 -07:00
Samuel Attard
ccd15fc12e
refactor: auto generate Info.plist to avoid bumping during releases ( #18849 )
2019-06-17 15:56:15 -07:00
Milan Burda
0af3548b55
feat: add security warning for remote module with remote content ( #18822 )
2019-06-17 14:21:30 -07:00
Samuel Attard
4dc38d39e9
refactor: replace atom_version and friends with electron_version ( #18847 )
2019-06-17 13:37:55 -07:00
Milan Burda
c9bca78a7a
refactor: use async invoke to get webPreferences in security-warnings.ts ( #18821 )
2019-06-17 10:57:09 -07:00
Heilig Benedek
5a08522b98
feat: add removeInsertedCSS ( #16579 )
2019-06-17 11:39:35 -04:00
Milan Burda
deebde66f9
feat: make async webContents / <webview> methods return a Promise ( #18792 )
2019-06-17 12:10:02 +03:00
Shelley Vohr
632bbf948d
build: get current release branch from commit ( #18810 )
...
When we blast off again, we check out a commit so the current branch ends up being incorrect and is HEAD rather than X-Y-Z. This therefore no longer just runs git rev-parse --abbrev-ref HEAD; it instead checks to ensure that the result of that call matches the release branch pattern. If it doesn't, it fetches the containing branch for the commit.
Since we only ever blast off from bump commits, we can safely assume that only one release branch will ever contain the bump commit and therefore be the one we want to use when tagging the release on npm.
2019-06-16 20:56:43 -07:00
Shelley Vohr
77d5e0c1ef
docs: better explain supported release line levels ( #18800 )
2019-06-17 09:15:37 +09:00
Electron Bot
8959c98251
Bump v7.0.0-nightly.20190616
2019-06-16 08:31:00 -07:00
cclauss
1d6e5e6e70
fix: use print() function in both Python 2 and Python 3 ( #18395 )
...
Legacy print statements are syntax errors in Python 3 but print() function works as expected in both Python 2 and Python 3.
Old style exceptions are syntax errors in Python 3 but new style exceptions work as expected in both Python 2 and Python 3.
2019-06-15 10:26:09 -07:00
Electron Bot
7d0a93858d
Bump v7.0.0-nightly.20190615
2019-06-15 08:31:45 -07:00
Nicolas Ramz
d59689b170
UPDATED: electron-windows-store command line ( #18499 )
...
The `flatten` option has been removed from electron-windows-store dcc654df2e so running the command would produce an error:
> error: unknwon option --flatten
2019-06-15 20:39:19 +09:00
Kilian Valkhof
d77159a19e
docs: add information about persistence and removal of DevTools Extensions ( #18519 )
...
* docs: add information about persistence and removal of DevTools Extensions
* Update devtools-extension.md
* Remove trailing space
2019-06-15 20:38:55 +09:00
Milan Burda
370e9522b4
refactor: re-implement desktop-capturer in TypeScript ( #18580 )
2019-06-15 19:44:18 +09:00
John Kleinschmidt
4ef8de69ef
build: show ninja stats for testing/debug builds ( #18653 )
...
* build: show ninja stats for testing/debug builds
* Update .circleci/config.yml
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
* Use regular depot tools instead of third party one
* I forget where depot tools lives
* Fix depot tools path
2019-06-15 17:48:58 +09:00
Shelley Vohr
3309005325
chore: convert callbacks-registry to ts ( #18682 )
...
* chore: convert callbacks-registry to ts
* fix class import syntax
* move cb reg specs to spec-main
2019-06-15 17:18:25 +09:00
Mark Lee
441857c6e7
docs: reorganize application distribution links in table of contents ( #18744 )
...
* docs: fix link to supported platforms in TOC
* docs: move code signing under the distribution heading
2019-06-15 17:13:52 +09:00
Jeremy Apthorp
0a9df1e37d
spec: deflake focus handling test ( #18809 )
2019-06-15 16:15:15 +09:00
Jeremy Apthorp
7b26048d9e
test: unflake some net specs ( #18782 )
2019-06-14 16:26:07 -07:00
evelyn masso
45f5f2ba1a
docs: add specific options for MenuItem.role ( #18783 )
2019-06-14 14:13:42 -07:00
Milan Burda
d9215dd4ce
feat: add creationTime / sandboxed / integrityLevel to app.getAppMetrics() ( #18718 )
...
This is useful for checking which processes are sandboxed on OS level.
Regarding creationTime, since the pid can be reused after a process dies, it is useful to use both the pid and the creationTime to uniquely identify a process.
2019-06-14 12:39:55 -07:00
Samuel Attard
0bdc05bf24
build: use yarn to install arm modules ( #18779 )
2019-06-14 11:24:40 -07:00
Micha Hanselmann
83c3f71980
fix: use is_valid for cookie url validation ( #18770 )
...
Use is_valid instead of is_empty to validate url on cookies.set().
2019-06-14 10:56:21 -07:00
Electron Bot
44ea7ab093
Bump v7.0.0-nightly.20190614
2019-06-14 08:31:24 -07:00
Shelley Vohr
bfcce8aa27
refactor: pass MessageBox params as a struct ( #18732 )
...
Historically, we've been passing in all MessageBox parameters individually, which makes augmenting or improving MessageBox functionality challenging because to change or add even one argument requires a huge cascade of argument changes that leaves room for errors.
For other file dialog related APIs, we use a struct (DialogSettings), and so this PR takes a similar approach and refactors MessageBox parameters into a struct (MessageBoxSettings) which we then use to simplify argument passing and which will enable us to more quickly iterate and improve upon functionality in the future.
2019-06-14 08:26:25 -07:00
Shelley Vohr
ffb53405fb
chore: convert extension apis to TypeScript ( #18688 )
...
Converts extensions-related files to TS
2019-06-14 07:52:24 -07:00
Milan Burda
6e327184bd
fix: crash in BrowserWindow destructor after win.webContents.destroy() ( #18686 )
2019-06-14 11:44:36 +09:00
Milan Burda
da58ac7c20
refactor: use app.commandLine.getSwitchValue() for parsing user-data-dir ( #18764 )
2019-06-13 16:03:02 -07:00
Jeremy Apthorp
29decbdd4d
ci: make console.warn work in tests ( #18771 )
2019-06-13 15:56:58 -07:00
Samuel Attard
390e7f5719
docs: fix invalid optional declaration ( #18780 )
2019-06-13 15:56:03 -07:00
Robo
5e320291b4
fix: HTML fullscreen request for sub frames ( #18736 )
...
Don't re-enter fullscreen if there is a pending operation,
for subframe fullscreen request `EnterFullScreenModeForTab`
will be called for both the frame in question as well as
the outer webContents hosting it.
2019-06-13 14:02:56 -07:00
Jeremy Apthorp
9856e5df3b
chore: upgrade docs-parser to fix nondeterminism ( #18750 )
2019-06-13 13:45:08 -07:00
Samuel Attard
ac02ab9fde
feat: provide the frame URL with permission requests and checks ( #18757 )
...
* feat: provide the frame URL with permission requests and checks
Also provides a handy isMainFrame property to determine if it is an
iframe making the request
* chore: refactor to use base::Value
* chore: use Set<Type>Key over SetPath
2019-06-13 11:11:43 -07:00
Electron Bot
7c76d0e34a
Bump v7.0.0-nightly.20190613
2019-06-13 08:32:58 -07:00
Nitish Sakhawalkar
f98454e5dd
fix: use crashpad on Windows ( #18483 )
...
* Initial changes to use crashpad for windows
* Remove crashpad patch
* Report error when failed to connect pipe
* Allow crashpad to communicate with named pipe
* Add patch to make crashpad named pipe work
* Windows also needs crashReporter on main process
* Call SetUnhandledExceptionFilter in node process
Node can also use crash reporter.
* Do not treat node process as browser process
* No more need to manually start crash service
* Use base::StringPrintf for better readbility
* Print error when pipe name not available
* Make sure pipe name is updated
Note that the crashpad may be started after renderer process gets
created.
* Fix some tests
* Update node
* Exclude crashpad files on Linux and MAS
* Fix lint warning
* Remove unused checks
* kCrashpadPipeName is only available on Windows
* Fix uploadToServer tests
* Fix extra params tests
* Fix getCrashesDirectory tests
* Run crashReporter tests on CI
* Style fixes
* Update crashreporter docs
* Rename InitBreakpad to Init
* Add comment for process_type_.empty() and UTF16ToASCII to UTF16ToUTF8.
* Update build.gn include crashpad headers
* Address comment https://github.com/electron/electron/pull/18483#discussion_r290887898
* Avoid using api::WebContents
* Put kRunAsNode in atom_constants
* Remove duplicate settings on upload params
* Fix building on macOS
* Update description for crashpad_pid_check.patch
2019-06-13 15:42:21 +09:00
Micha Hanselmann
ddec3c0e78
test: add test for invalid cookie url ( #18751 )
...
Co-Authored-By: Erick Zhao <erick@hotmail.ca >
2019-06-12 19:49:36 -07:00
Jeremy Apthorp
ba96cdb7dc
refactor: mojofy autofill ( #18723 )
2019-06-12 15:08:22 -07:00
Shelley Vohr
ec10fd3044
fix: callback values for printing cancellation and success ( #17400 )
...
Callback false when disconnecting from the print job if the current printing job has not completed, and true if printing is triggered successfully.
2019-06-12 12:34:07 -07:00
Shelley Vohr
292a240e1b
fix: correct isDownloadable docs to match impl ( #18720 )
2019-06-12 10:54:14 -07:00
Electron Bot
5317211b0b
Bump v7.0.0-nightly.20190612
2019-06-12 08:32:19 -07:00
Robert Säll
0bf83b7183
fix: remove lingering data when notifications autodismiss on Windows 7 ( #18401 )
2019-06-12 08:39:25 +09:00
Cheng Zhao
0e3ab7c128
feat: migrate protocol module to NetworkService (Part 12) ( #18726 )
...
* Support "uploadData" in "request" argument
* Support "uploadData" option in http handler
* Fix building on win32
2019-06-12 08:37:06 +09:00
Jeremy Apthorp
e5d1e7b4da
fix: move window.open postMessage test to main runner to fix flake ( #18735 )
2019-06-12 08:35:58 +09:00
Electron Bot
81ad355355
Bump v7.0.0-nightly.20190611
2019-06-11 08:31:46 -07:00
Cheng Zhao
3a1d6d2ce1
feat: migrate protocol module to NetworkService (Part 11) ( #18706 )
...
* Pipe data into HTTP protocol handlers
* Remove unused parameters
* Remove "sending request of http protocol urls" test
Sending request to "http://" in "file://" violates CORS rules and always
fail, before NetworkService somehow Chromium still sent a request even
though the request failed with CORS error, so the test passes while the
test is not valid. With NetworkService no request is sent at all and the
test jsut fails.
So this is an ancient invalid test, as sending http requests have been
fully covered in other tests, I am removing this test.
2019-06-11 14:07:58 +09:00
Shelley Vohr
c6dc7d5b79
chore: fix duplicate error string ( #18713 )
2019-06-10 17:14:58 -07:00
Shelley Vohr
af108764c7
chore: revert promisified systemPreferences notification methods
...
This reverts commit eec12b399a .
2019-06-10 09:34:21 -07:00
Electron Bot
4321df13f2
Bump v7.0.0-nightly.20190610
2019-06-10 08:32:07 -07:00
Jeremy Spiegel
64f7974252
fix: properly pass openExternal activate option ( #18657 )
...
* fix: properly pass openExternal activate option
A reference to an OpenExternalOptions structure was being captured by an Objective-C block that
outlived the object that was being referenced.
* Fix test in CI
* Don't check for activate on linux
* Close BrowserWindow
2019-06-10 07:40:05 -07:00
Electron Bot
605cd9bec9
Bump v7.0.0-nightly.20190609
2019-06-09 08:31:23 -07:00
Electron Bot
54449d044d
Bump v7.0.0-nightly.20190608
2019-06-08 08:31:51 -07:00
Samuel Attard
ad54d38678
fix: use effectiveAppearance to check dark mode on mojave and above ( #18666 )
...
* fix: use effectiveAppearance to check dark mode on mojave and above
* chore: add forward declarations for dark appearance
2019-06-07 12:01:04 -07:00
Jeremy Apthorp
bb19142389
test: move some remote specs to the main runner ( #18636 )
2019-06-07 10:43:32 -07:00
Samuel Attard
a9f601612f
fix: use isEqual instead of pointer equality to convert NSAppearance ( #18665 )
2019-06-07 09:55:29 -07:00
Electron Bot
b10c946564
Bump v7.0.0-nightly.20190607
2019-06-07 08:31:20 -07:00
Shelley Vohr
abab90f563
feat: allow resigning current NSUserActivity ( #18659 )
...
* feat: allow resigning current NSUserActivity
* wrap in @available check
2019-06-06 22:16:03 -07:00
Shelley Vohr
b30484d3a9
ci: allow use of .only in ci testing mode ( #18678 )
2019-06-06 17:12:22 -07:00
Felix Rieseberg
8da17ffe37
docs: Add missing document links to docs/readme ( #18578 )
...
* docs: Update Guides & Tutorials section
* docs: Update the list of docs
* Update docs/README.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/README.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/README.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/README.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* docs: Implement feedback
2019-06-06 11:39:21 -07:00
Electron Bot
8330507efd
Bump v7.0.0-nightly.20190606
2019-06-06 08:31:44 -07:00
Shelley Vohr
eec12b399a
feat: promisify systemPreferences notification methods ( #18631 )
...
* feat: promisify systemPreferences notification methods
* correct userInfo typedef
2019-06-06 07:47:18 -07:00
Jeremy Apthorp
4b9da4dd0e
chore: remove mips64el patches as they've largely been upstreamed ( #18628 )
2019-06-05 16:36:17 -07:00
Samuel Attard
a45afddb75
build: unify YARN_VERSION variable usage and ensure CI uses yarn not npm ( #18607 )
...
* build: unify YARN_VERSION variable usage and ensure CI uses yarn not npm
* chore: use a JS helper so that it can work on windows
* chore: make script/yarn without node_modules installed
2019-06-05 16:30:39 -07:00
Samuel Attard
0fc172fcaf
fix: reject the executeJavaScript promise when it fails to execute the script ( #18635 )
...
* fix: reject the executeJavaScript promise when it fails to execute the script
Closes #9102
* Update atom/renderer/api/atom_api_web_frame.cc
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
* Update atom/renderer/api/atom_api_web_frame.cc
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
* fix: missing semicolon
2019-06-05 15:43:02 -07:00
Robo
7d326f6bc5
chore: Remove AtomResourceDispatcherHostDelegate ( #18623 )
...
It is no longer used, follow up for
https://chromium-review.googlesource.com/c/chromium/src/+/1610892
2019-06-05 12:49:05 -07:00
Jeremy Apthorp
291ee2dafc
refactor: use the URL api to resolve urls in window setup ( #18611 )
2019-06-05 10:21:06 -07:00
John Kleinschmidt
bd80e68698
ci: fix issues downloading from CircleCI ( #18652 )
...
Make sure we pass along token to download from CircleCI
Also, add back off period for retries on downloads.
2019-06-05 12:21:57 -04:00
Jeremy Apthorp
796d2636e6
ci: add windows zip manifest checking ( #18629 )
...
* ci: add windows zip manifest checking
* fix manifests
2019-06-05 11:58:11 -04:00
Electron Bot
aa030f9fd5
Bump v7.0.0-nightly.20190605
2019-06-05 08:31:31 -07:00
Shelley Vohr
a0b1f4fe0b
refactor: convert browser window state fns to props ( #18618 )
2019-06-04 22:44:16 -07:00
Electron Bot
164cc43440
chore: bump chromium to bd6aad6a4b37dad7aae42fec349e9 (master) ( #18626 )
...
* chore: bump chromium in DEPS to f200986dfaabd6aad6a4b37dad7aae42fec349e9
* chore: BridgedNativeWidgetImpl was renamed to NativeWidgetMacNSWindowHost
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1640804
* refactor: remove MainMenu.xib as Chromium has removed its dependency on xcode and therefore all xibs
As we set default menus in JS land the default native menu is tiny, just
has a Quit button
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1627242
* chore: update zip manifests
2019-06-04 17:27:07 -07:00
Jeremy Apthorp
9e8bd433df
fix: ensure correct ordering of sendSync w.r.t. send ( #18630 )
2019-06-04 17:10:31 -07:00
Jeremy Apthorp
ed5fb4a720
refactor: simplify content script injection ( #18532 )
2019-06-04 16:07:34 -07:00
Samuel Attard
f80601da16
docs: ensure that optionality matches between documented params and signatures ( #18613 )
...
* docs: ensure that optionality matches between documented params and signatures
* docs: ensure that all optional declarations are lower case
* chore: fix broken link
2019-06-04 14:03:24 -07:00
Milan Burda
69e32ad9ce
refactor: use ipcRenderer.invoke / ipcMain.handle in default-app ( #18581 )
2019-06-04 18:13:35 +02:00
Electron Bot
74825e4df7
Bump v7.0.0-nightly.20190604
2019-06-04 08:31:17 -07:00
Electron Bot
d008d217f9
chore: bump chromium to 2a7aff41ce73adc0eeee67d364989 (master) ( #18505 )
...
* chore: bump chromium in DEPS to 07463d3cd628b037c11f36022cb4c788db4628e3
* chore: update patches
* fix: Don't leak system network context when nw service is disabled
https://chromium-review.googlesource.com/c/chromium/src/+/1632494
NetworkService is now deleted by using SequnceLocalStorageSlot
on the IO thread when the service is disabled, which expects
all associated NetworkContexts on that sequence to be destroyed.
* chore: bump chromium in DEPS to 7c16850e7e40990e141f47101b737ec1092175a1
* fix: Destroy all network contexts before primary network context
* Simplify out-of-process service registration
https://chromium-review.googlesource.com/c/chromium/src/+/1615882
* [ThreadPool] Rename base::ThreadPool to base::ThreadPoolInstance
https://chromium-review.googlesource.com/c/chromium/src/+/1634851
* chore: update patches
* fix: -Winconsistent-missing-override warnings
* chore: bump chromium in DEPS to 93ebfaccc12715df1d5426797998eed0932f7ae1
* Change CreateBrowserMainParts to return unique_ptrs
https://chromium-review.googlesource.com/c/chromium/src/+/1632532
* chore: update patches
* chore: bump chromium in DEPS to e656555ffb87bdd05e248d0a3ef9dd9d3433e17b
* chore: bump chromium in DEPS to 111e7a8d2e3ae9d70e535009d6afb066ac906063
* chore: bump chromium in DEPS to 9b6b84670d32a7aff41ce73adc0eeee67d364989
* chore: update patches
* chore: remove ShouldInterceptResourceAsStream as it is removed upstream
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1639597
* chore: remove ResourceDispatcherHostCreated as it is removed upstream
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1610892
* chore: CreateWithStrongBinding --> CreateWithSelfOwnedReceiver
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1636722
* chore: rename all blink media enums
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1639237
* chore: add accidentally removed patch content back
2019-06-03 20:44:12 -07:00
小菜
641e1d6587
doc: change pyobjc link in macos build instruction ( #18471 )
2019-06-03 18:57:13 -07:00
Jeremy Apthorp
d1371c5dd0
refactor: mojofy zoom api ( #18608 )
...
* refactor: mojofy zoom api
* remove unneeded #includes
* remove outdated comment
2019-06-04 10:18:22 +09:00
Samuel Attard
24b3d66767
refactor: remove electron.asar and embed JS in binary ( #18577 )
...
* refactor: remove electron.asar and embed JS in binary
* chore: update DEPS to merged node sha
* chore: remove unneeded eslint ignore
2019-06-03 17:03:59 -07:00
Jeremy Apthorp
901cdb22e3
test: move some BrowserWindow specs to the main runner ( #18551 )
2019-06-03 15:10:58 -07:00
Milan Burda
cf628d9287
refactor: remove menu-will-close / setTimeout workaround ( #18582 )
2019-06-03 16:48:01 -05:00
Richard Townsend
3c8acf3687
build: bring in a later compiler for Windows on Arm ( #18591 )
...
* build: allow pulling in a later version of Clang
Due to a code-generation defect related to virtual method thunks in the
official compiler used for Chromium M76, it's necessary to build for WoA
with a later version of Clang. When running gclient sync, setting
ELECTRON_BUILD_WOA=1 in the environment will download a corrected
compiler which doesn't have this defect.
* docs: add a note about building for Windows on Arm
2019-06-03 17:29:25 -04:00
Alexandre Lacheze
b4276835d8
fix: lost window.opener after cross-origin navigation ( #18173 )
...
* Get a site instance related to current one instead of creation a new one
Using `GetRelatedSiteInstance` will keep the relation (same browsing instance) between the current and the new site instance.
* Some relies on preloads in opened window
The fact that, now, we always have an opener for opened windows diables note integration in opened windows, except if `nodeIntegrationInSubFrames` is enabled.
* Add a test on window.opener after cross-orgin navigation
* Make sure to unregisterProtocol in tests
* Introduc and use a NetworkSandbox for tests
* Modify tests about zoom persistence to properly simulate cross-origin navigation
* Revert "Modify tests about zoom persistence to properly simulate cross-origin navigation"
This reverts commit 0a7537f2eb7f183ddec16637e8a2e92a0d600321.
2019-06-03 13:23:15 -07:00
Samuel Attard
cec61d010b
refactor: lazily hook into child_process in asar_init ( #18576 )
...
Previously we loaded both fs and child_process and then hooked into
the returned value, relying on the module cache to keep our modifications
and give them to everyone.
Loading child_process took in excess of 20ms though so instead of loading
it and then hooking in. We intercept all Module load requests, and when
the first one for `child_process` comes in, we wrap the appropriate methods
and then never touch it again.
2019-06-03 13:19:52 -07:00
Felix Rieseberg
cb4579fe28
docs: Fix incorrect dialog docs ( #18227 )
...
* docs: Fix incorrect dialog docs
We had multiple definitions for `showSaveDialog`.
* docs: Update, take two
2019-06-03 12:54:47 -07:00
Milan Burda
8b5473c170
build: strip swiftshader binaries ( #18588 )
2019-06-03 15:24:46 -04:00
Dana Woodman
4feb769378
docs: update community Slack URL to point to Discourse invite thread ( #18222 )
2019-06-03 12:06:06 -07:00
Joël Charles
fd9e031f0d
docs: Update breaking changes on webFrame.setSpellCheckProvider ( #17915 )
...
* doc: Update breaking changes on webFrame.setSpellCheckProvider
* doc: fix example
* doc: lint: extra semicolon
* Update docs/api/breaking-changes.md
Co-Authored-By: magne4000 <joel.charles91@gmail.com >
2019-06-03 13:56:46 -05:00
Samuel Attard
0ee2f8a64a
refactor: lazy load child_process in the crash-reporter module ( #18574 )
...
This module is on the hot load path and we don't need cp till later
2019-06-03 11:48:23 -07:00
Tomas Rycl
477b09db3e
fix: don't export private V8 symbols that can cause native node modules to crash ( #18281 )
2019-06-03 11:45:30 -07:00
Nitish Sakhawalkar
911cdd809a
Update gen-filenames.js to generate posix paths ( #18488 )
2019-06-03 11:43:55 -07:00
Alexey Kuzmin
7f369c3292
build: install python-dbusmock via pip for a Docker container ( #18589 )
...
* build: use python-dbusmock v0.18.1 on Linux
To prevent timeout errors with some other python-dbusmock versions.
* Don't use a fixed version of python-dbusmock
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com >
2019-06-03 14:36:58 -04:00
Milan Burda
eedbdedef9
build: remove Vulkan mock ICD ( #18546 )
2019-06-03 20:17:57 +02:00
Jeremy Apthorp
0b25176893
refactor: mojofy draggable regions ( #18536 )
2019-06-03 10:43:04 -07:00
Shelley Vohr
52c76d737a
refactor: make autoHideMenuBar a property on BrowserWindows ( #18555 )
2019-06-03 09:09:47 -07:00
Electron Bot
4cb6be453a
Bump v7.0.0-nightly.20190603
2019-06-03 08:32:00 -07:00
Samuel Attard
18acda7888
perf: lazily create the anchor tag used for URL resolving ( #18571 )
2019-06-03 01:04:21 -07:00
Samuel Attard
449d2752f2
refactor: lazy load V8 module in browser/init ( #18575 )
2019-06-03 01:03:33 -07:00
Samuel Attard
bc527f6b51
refactor: bundle the browser and renderer process electron code ( #18553 )
...
* refactor: bundle the browser and renderer process electron code
* Bundles browser/init and renderer/init
* Improves load performance of main process by ~40%
* Improves load performance of renderer process by ~30%
* Prevents users from importing our "requiring" our internal logic such
as ipc-main-internal. This makes those message buses safer as they are
less accessible, there is still some more work to be done though to lock
down those buses completely.
* The electron.asar file now only contains 2 files, as a future
improvement maybe we can use atom_natives to ship these two files
embedded in the binary
* This also removes our dependency on browserify which had some strange
edge cases that caused us to have to hack around require-order and
stopped us using certain ES6/7 features we should have been able to use
(async / await in some files in the sandboxed renderer init script)
TLDR: Things are faster and better :)
* fix: I really do not want to talk about it
* chore: add performance improvements from debugging
* fix: resolve the provided path so webpack thinks it is absolute
* chore: fixup per PR review
* fix: use webpacks ProvidePlugin to keep global, process and Buffer alive after deletion from global scope for use in internal code
* fix: bundle worker/init as well to make node-in-workers work
* chore: update wording as per feedback
* chore: make the timers hack work when yarn is not used
2019-06-02 13:03:03 -07:00
Electron Bot
a19e55a902
Bump v7.0.0-nightly.20190602
2019-06-02 08:31:21 -07:00
Shelley Vohr
9187759460
chore: fix logging to stderr ( #18537 )
2019-06-01 09:21:13 -07:00
Electron Bot
04dd52e4dc
Bump v7.0.0-nightly.20190601
2019-06-01 08:31:36 -07:00
Jeremy Apthorp
90caedb552
chore: re-enable disabled time ticks dcheck ( #18525 )
2019-05-31 16:56:10 -07:00
Samuel Attard
87ae9324ac
feat: Add option to conditionally disable site instance patches ( #18396 )
...
* chore: allow conditional disable of the site instance override patches at runtime
* feat: add app.allowRendererProcessReuse property to allow runtime disable of site instance overrides
spec: add tests for the new allowRendererProcessReuse property
feat: add console warnings / errors for loading non context-aware native modules
* Only error if the patch is disabled
* Warn all the time, this will ship in Electron 7
2019-05-31 15:47:18 -07:00
Samuel Attard
26155c8a00
fix: handle gzipped chrome WebUI resources ( #18531 )
...
Fixes : #18503
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1576232
For whatever reason Chromium made this change and then made the default
//content behavior to return false for all IsDataResourceGzipped
requests. This PR updates our ContentClient impl to return the correct
values.
Notes: Fixed issues where some `chrome://*` URLs would not render
correctly
2019-05-31 13:05:35 -07:00
Jeremy Apthorp
81366b5bfb
chore: remove upstreamed ffmpeg patch ( #18524 )
2019-05-31 14:08:11 -04:00
Jeremy Apthorp
c436997840
feat: add ipcRenderer.invoke() ( #18449 )
2019-05-31 10:25:19 -07:00
Electron Bot
b180fb376c
Bump v7.0.0-nightly.20190531
2019-05-31 08:32:10 -07:00
Maya Wolf
ab70e854f8
fix: contractions handling in spellchecker ( #18506 )
...
This fixes #18459 by improving the handling of contractions in the spellcheck API. Specifically, it now accepts contraction words where the spellchecker recognizes the whole word, and not, as previously, just if it recognizes all of its parts.
2019-05-30 21:19:10 -07:00
John Kleinschmidt
a31faaae61
ci: add retries to downloads for arm testing ( #18526 )
2019-05-30 17:22:34 -07:00
Shelley Vohr
1e3e5a6619
refactor: set appLevelAppearance prop on systemPreferences ( #18477 )
...
* refactor: set appLevelAppearance prop on systemPreferences
* ensure backwards compat is tested
2019-05-30 17:12:46 -07:00
Jeremy Apthorp
ac35f41e8d
test: move download-related session specs to main runner ( #18508 )
2019-05-30 15:05:02 -07:00
Shelley Vohr
554ee92b39
docs: specify use case for the 'services' role ( #18484 )
...
* docs: specify use case for the 'services' role
* update based on @caesar's recommendation
Co-Authored-By: Caesar Schinas <caesar@caesarschinas.com >
2019-05-30 14:33:48 -07:00
Samuel Attard
02dc1b266c
docs: use | instead of 'or' for docs ( #18512 )
2019-05-30 10:32:46 -07:00
Electron Bot
81ba491e53
Bump v7.0.0-nightly.20190530
2019-05-30 08:32:32 -07:00
Milan Burda
09d544f6ad
docs: remove obsolete callback argument from dialog.showOpenDialog() ( #18496 )
2019-05-30 12:00:22 +02:00
Milan Burda
a1226d75ff
feat: add process.getBlinkMemoryInfo() ( #17762 )
2019-05-30 11:50:35 +02:00
Jeremy Apthorp
2dbd2c07e4
refactor: nws13n: session.allowNTLMCredentialsForDomains ( #18129 )
2019-05-29 16:43:06 -07:00
Jeremy Apthorp
f4c792d014
feat: enable reporting api ( #18255 )
2019-05-29 16:33:19 -07:00
Jeremy Apthorp
babe2b68fb
test: move beforeunload tests to main runner and fix flake ( #18432 )
2019-05-29 13:38:14 -07:00
Shelley Vohr
9af5072115
chore: remove last instances of base::Bind ( #18178 )
...
* chore: remove last instances of base::Bind
* MessageBoxCallback is a OnceCallback
* convert permission helepr cbs to Once
* convert ResponseCallback to Once
2019-05-29 13:02:15 -07:00
Samuel Attard
96371b6d75
spec: run nan tests to ensure v8 compat has not broken ( #18489 )
2019-05-29 12:38:17 -07:00
Shelley Vohr
3d8db573d9
fix: reverse dialog cancel bool for openDialog ( #18492 )
2019-05-29 12:37:58 -07:00
Jeremy Apthorp
f5b3d00b47
ci: add check for dist zip file changes ( #18446 )
2019-05-29 09:40:02 -07:00
Electron Bot
471d457576
Bump v7.0.0-nightly.20190529
2019-05-29 08:31:37 -07:00
Shelley Vohr
03a02b8d6c
fix: breakpad symbol generation on linux arm ( #18490 )
2019-05-28 20:15:17 -07:00
Samuel Attard
93b8dc2362
fix: ensure the webContents is not destroyed before communicating ( #18467 )
2019-05-28 14:22:35 -07:00
Jeremy Apthorp
815b9d7707
feat: [contentTracing] allow calling stopTracing() with no arguments ( #18411 )
2019-05-28 14:15:42 -07:00
Jeremy Apthorp
1a609f0caf
test: move several session specs to the main runner ( #18433 )
2019-05-28 14:12:59 -07:00
Jeremy Apthorp
2923ae8b03
fix: don't package mojom{,-lite}.js files in dist.zip ( #18444 )
2019-05-28 14:11:02 -07:00
Jeremy Apthorp
0e2dedaf4e
test: narrow scope of afterEach in remote to tests that need it ( #18447 )
2019-05-28 14:07:48 -07:00
Electron Bot
96b32a814c
chore: bump chromium to 964c4bca8de5c320534d95606c861 (master) ( #18440 )
...
* chore: bump chromium in DEPS to 2930eb12d56988c2c80bad2797ab036fe493d4e1
* chore: update patches
* Revert "disable robotjs-based tests"
This reverts commit e56adafc1f .
* Revert "skip dbus tests (#18409 )"
This reverts commit aea042cc83 .
* Revert "skip more dbus tests"
This reverts commit 68dbef48da .
* chore: bump chromium in DEPS to fd62da5601399b92effaa32a943fcd96143c8605
* chore: bump chromium in DEPS to 99f87ca22ee6e7ec953defe694771cb68f47a596
* chore: bump chromium in DEPS to d88778435b4cd9a510a63385b6d4ba24674b9774
* chore: update patches
* chore: update ssl_security_state_tab_helper.patch
* Remove content_packaged_services
https://chromium-review.googlesource.com/c/chromium/src/+/1604203
* chore: fix false positive lint error
* views: wireup widget name to crash data
https://chromium-review.googlesource.com/c/chromium/src/+/1626640
* chore: bump chromium in DEPS to ab588d36191964c4bca8de5c320534d95606c861
* roll patches
2019-05-28 13:18:10 -07:00
Shelley Vohr
c621615112
fix: create missing directories with app.setPath ( #18244 )
2019-05-28 10:37:54 -07:00
Shelley Vohr
1688ebdd40
fix: respect minimizable/closable for customButtonsOnHover ( #18425 )
...
This PR ameliorates an issue whereby minimizable and closable weren't respected in customButtonsOnHover mode. maximizable isn't addressable here, since it's been blanket disabled in newer versions of macOS owing to an issue with the NSWindowStyleMaskFullSizeContentView style mask.
2019-05-28 10:23:16 -07:00
Shelley Vohr
01cd6e7a06
docs: clarify crash report extra param length ( #18386 )
...
Resolves #17746 .
Clarifies that the extra field of the crashReporter options object only needs to be < 64 characters on Windows.
2019-05-28 10:17:01 -07:00
Electron Bot
43f8a7ef00
Revert "Bump v7.0.0-nightly.20190528"
...
This reverts commit af8d4e1bc5 .
2019-05-28 08:40:13 -07:00
Electron Bot
af8d4e1bc5
Bump v7.0.0-nightly.20190528
2019-05-28 08:33:44 -07:00
Cheng Zhao
00964b98b9
feat: migrate protocol module to NetworkService (Part 10) ( #18464 )
...
* Explicitly call OnReceiveRedirect for redirections
* Better way for detecting redirection
* Create new loader for redirections
2019-05-28 15:08:50 +09:00
Electron Bot
c0c5ebb271
Bump v7.0.0-nightly.20190527
2019-05-27 08:31:45 -07:00
Milan Burda
ac002b3c3c
fix: set nativeWindowOpen when sandboxed ( #18273 )
2019-05-27 02:44:54 +02:00
Electron Bot
4ed989587b
Bump v7.0.0-nightly.20190526
2019-05-26 08:31:32 -07:00
Electron Bot
cfd4eace42
Bump v7.0.0-nightly.20190525
2019-05-25 08:31:48 -07:00
Electron Bot
723625c065
Bump v7.0.0-nightly.20190524
2019-05-24 13:47:20 -07:00
Samuel Attard
a6637fbce9
chore: update the npm package to use @electron/get ( #18413 )
...
* chore: update the npm package to use @electron/get
* chore: update node requirement for got
2019-05-24 13:40:53 -07:00
Jeremy Apthorp
cbc177708e
fix: compile error in netlog ( #18443 )
2019-05-24 10:54:32 -07:00
Cheng Zhao
54cbe5f749
feat: migrate protocol module to NetworkService (Part 9) ( #18374 )
...
* Compare final data instead of url
The behavior of did-finish-load and getURL has changed for redirects when
using NetworkService, so the test fails for NetworkService.
Comparing the finally received data makes the test more reliable.
* Implement intercept APIs
* Setting mimeType should set "content-type" header
* Passing no argument should not throw JS error
* Don't access api namespace in ProxyingURLLoaderFactory
* No need to create AtomURLLoaderFactory every time
* No use of weak factory
2019-05-24 11:28:00 +09:00
Jeremy Apthorp
646f572b77
refactor: netLog directly uses network service ( #18289 )
2019-05-23 15:31:38 -07:00
Electron Bot
d57df5a4a1
Bump v7.0.0-nightly.20190523
2019-05-23 14:06:05 -07:00
Electron Bot
c4147aed3f
Revert "Bump v7.0.0-nightly.20190523"
...
This reverts commit 4604985b2e .
2019-05-23 14:03:19 -07:00
Electron Bot
4604985b2e
Bump v7.0.0-nightly.20190523
2019-05-23 13:58:31 -07:00
John Kleinschmidt
842830d709
build: move Windows release builds to AppVeyor cloud ( #18337 )
...
* build: move Windows release builds to AppVeyor cloud
* Use new env variable for AppVeyor cloud server
2019-05-23 16:54:34 -04:00
Jeremy Apthorp
53954494a9
chore: bump chromium to 54af93edd956a53c786668bc0e253 (master)
2019-05-23 13:35:41 -07:00
Milan Burda
e32cf5c418
chore: remove leftover docs/api/structures/memory-info.md ( #18421 )
2019-05-23 15:25:52 -04:00
Jeremy Apthorp
f8ab48adac
roll patches
2019-05-23 10:39:06 -07:00
Jeremy Apthorp
68dbef48da
skip more dbus tests
2019-05-23 10:28:51 -07:00
Shelley Vohr
b48dd6a11c
test: add spec for contentTracing.stopRecording ( #18391 )
2019-05-23 10:15:08 -07:00
Electron Bot
05e986816e
chore: bump chromium in DEPS to 6a008993a2e54af93edd956a53c786668bc0e253
2019-05-23 06:00:22 -07:00
Lucas Gabriel Schneider
72b1c01836
fix: docs/api/dialog.md: fix typo ( #18392 )
2019-05-22 20:22:51 -07:00
Adam Harley
8f200595ba
correct reference chrome://plugins to components ( #18237 )
2019-05-22 15:58:53 -07:00
Jeremy Apthorp
aea042cc83
skip dbus tests ( #18409 )
2019-05-22 14:34:36 -07:00
Naoki Maeda
87a337a536
refactor: update husky ver 2.2.0 ( #18300 )
2019-05-22 14:03:06 -07:00
Jeremy Apthorp
9e9d0c3435
replace revert of metal support for gl::ProgressReporter with cherry-pick of fix
2019-05-22 13:15:32 -07:00
Jeremy Apthorp
2fcb785d3e
Replace views_bridge_mac with remote_cocoa
...
https://chromium-review.googlesource.com/c/chromium/src/+/1623573
2019-05-22 12:56:21 -07:00
Jeremy Apthorp
4f6d24026d
Update function signatures for focused element change notifications
...
https://chromium-review.googlesource.com/c/chromium/src/+/1609749
2019-05-22 12:55:37 -07:00
Jeremy Apthorp
7d212b17f8
v8/snapshot_toolchain.gni moved
...
https://chromium-review.googlesource.com/c/v8/v8/+/1612903
2019-05-22 11:45:48 -07:00
Jeremy Apthorp
e56adafc1f
disable robotjs-based tests
...
See #18409
2019-05-22 11:42:24 -07:00
Jeremy Apthorp
ec3a4cea6a
update patches
2019-05-22 11:18:44 -07:00
Electron Bot
da98beac54
chore: bump chromium in DEPS to c4cd49fdba21ffb5fd53d1e6d508bb285a4ff9a6
2019-05-22 06:00:51 -07:00
Cheng Zhao
e1a2cc7f36
feat: migrate protocol module to NetworkService (Part 8) ( #18361 )
...
* Add ProxyingURLLoaderFactory
* Intercept file:// protocol to support asar archives
2019-05-22 10:43:37 +09:00
Sofia Nguy
287345c778
docs: explicit rule for features in the beta cycle ( #18393 )
2019-05-21 18:42:02 -05:00
Jeremy Apthorp
12f95429bf
use unique_ptr instead of shared_ptr for SpellcheckRequest
2019-05-21 12:22:15 -07:00
Jeremy Apthorp
a5e6e957cf
FIXME: temporarily revert metal support for gl::progressreporter due to build errors
2019-05-21 12:11:15 -07:00
Jeremy Apthorp
5b507cc562
storage::IsolatedContext API changed
...
https://chromium-review.googlesource.com/c/chromium/src/+/1603486
2019-05-21 12:11:15 -07:00
Jeremy Apthorp
e96f9c06f0
GetNetCaptureModeFromCommandLine moved to net
...
https://chromium-review.googlesource.com/c/chromium/src/+/1614697
2019-05-21 12:11:15 -07:00
Jeremy Apthorp
79f62cc1aa
DelegatedFrameHost API changed
...
https://chromium-review.googlesource.com/c/chromium/src/+/1594924
2019-05-21 12:11:15 -07:00
Jeremy Apthorp
ca283c74c9
Merge remote-tracking branch 'origin/master' into roller/chromium-ad1b791122c04bd91b825fbfbdf1ff4da82a0edb-1558011686736
2019-05-21 10:07:17 -07:00
Jeremy Apthorp
446944c677
rebase patches
2019-05-21 10:05:21 -07:00
Electron Bot
75609f784c
Bump v7.0.0-nightly.20190521
2019-05-21 09:39:02 -07:00
Samuel Attard
a8ff6899d4
fix: correctly support the webkitdirectory input attr ( #18343 )
...
Fixes #839
The implementation here was loosely inspired by the implentation in
//chrome found in their FileSelectHelper. I.e. That's where the usage
of net::DirectoryLister comes frome.
Refs: https://cs.chromium.org/chromium/src/chrome/browser/file_select_helper.cc
2019-05-21 11:18:22 -05:00
Milan Burda
1941a46825
docs: clarify that 'second-instance' is only emitted when the second instance calls app.requestSingleInstanceLock() ( #18272 )
2019-05-21 10:56:36 -05:00
Shelley Vohr
e39c76bfe1
fix: reverse saveDialog cancellation bool ( #18366 )
2019-05-21 10:51:59 -05:00
Shelley Vohr
1a2ab11c90
fix: set window to null when no window is passed ( #18240 )
...
* fix: set window to null when no window is passed
* add new specs for dialog
* fix process blocking for showMessageBox
2019-05-21 09:08:22 -05:00
Electron Bot
c832533f5f
chore: bump chromium in DEPS to a351866f81b645d8c593132b664d5e74b1eb15f0
2019-05-21 09:01:22 -04:00
Samuel Attard
e73a0e6cc6
docs: replace the atom.io headers URL with electronjs.org ( #18328 )
2019-05-21 16:17:07 +09:00
Charles Kerr
d1207e9d8f
docs: use "Breaking Changes" as the changes doc's title ( #18326 )
...
* Use "Breaking Changes" as the changes doc's title.
Multiple people have commented that this important page is difficult
to find, in part because people search for "Breaking" or "Changes" or
"Breaking Changes" rather than "API Contract".
This PR changes the name to "Breaking Changes" so that it'll show up
on electronjs.org/docs/.
It also adds a backwards-friendly link so people still searching for
"API Contract" will get a redirect. I'm not sure if this is necessary --
the actual URL of https://electronjs.org/docs/api/breaking-changes is
unchanged -- would especially welcome feedback on this part.
* fixup! Use "Breaking Changes" as the changes doc's title.
* fixup! Use "Breaking Changes" as the changes doc's title.
2019-05-21 16:15:57 +09:00
John Kleinschmidt
b7357d5750
refactor: remove no longer needed dependency ( #18340 )
...
* refactor: remove no longer needed dependency
* Updated yarn.lock
2019-05-21 15:53:40 +09:00
mscdex
f106ea0029
chore: remove extra colon in Issue Details ( #18359 )
2019-05-21 15:45:03 +09:00
Lucas Gabriel Schneider
286fdaa53c
fix: docs/api/browser-window.md: fix typo ( #18367 )
2019-05-21 15:42:27 +09:00
Andrey
204e3808d2
docs: add parentheses + change lower case to upper case in some places ( #18368 )
...
* fix: add parentheses
Add parentheses to the end `app.showAboutPanel`, because this is method.
* fix: change 'Promise<string>' to 'Promise<String>'
Change `Promise<string>` to `Promise<String>`, because this is class name.
* docs: change lower case to upper case
Change lower case in word `menu` to upper case - `Menu`, because it's method.
2019-05-21 15:41:41 +09:00
Milan Burda
e81afed66d
chore: remove dead code ( #18370 )
2019-05-21 15:36:22 +09:00
Charles Kerr
cac50608d6
Fix atom::PATH_END so it's greater than PATH_START. ( #18339 )
...
Previously the enum list ended with entries copied values
from base::PATH_ entries, so the subsequent entry (PATH_END)
had a value in (base::PATH_START..base::PATH_END].
This only a correctness patch. atom::PATH_END doesn't appear
to be used anywhere and it was the only atom::PATH_ enum
bitten by this.
2019-05-21 15:35:01 +09:00
Cheng Zhao
340014a9d3
fix: leave space for autohide taskbar for frameless maximized window ( #18321 )
2019-05-20 19:50:03 -05:00
Milan Burda
c1cccfc082
chore: remove duplicate internal deprecations module (just use deprecate) ( #18352 )
2019-05-21 00:40:49 +02:00
Nitish Sakhawalkar
9c21c66b97
fix: Windows logger path ( #18199 )
...
Windows debug isn't logging because of a DCHECK failure during startup. This changes the logger initialization to use the absolute path, so that logging works again.
2019-05-20 10:41:30 -07:00
Milan Burda
5a7b56b042
chore: finish replacing assert with expect in tests ( #18215 )
...
* spec: replace assert with expect in api-browser-view-spec.js
* spec: replace assert with expect in api-touch-bar-spec.js
* spec: replace assert with expect in api-web-frame-spec.js
* spec: replace assert with expect in api-web-contents-view-spec.js
* spec: replace assert with expect in security-warnings-spec.js
* spec: replace assert with expect in api-menu-item-spec.js
* spec: replace assert with expect in api-web-request-spec.js
* spec: replace assert with expect in api-remote-spec.js
* spec: replace assert with expect in api-session-spec.js
* spec: replace assert with expect in api-system-preferences-spec.js
* spec: replace assert with expect in api-browser-window-spec.js
* spec: replace assert with expect in webview-spec.js
* spec: replace assert with expect in api-net-spec.js
* spec: replace assert with expect in api-protocol-spec.js
* spec: replace assert with expect api-web-contents-spec.js
* spec: replace assert with expect in api-shell-spec.js
* spec: replace assert with expect in modules-spec.js
* spec: replace assert with expect in chromium-spec.js
* spec: replace assert with expect in api-crash-reporter-spec.js
* spec: replace assert with expect in asar-spec.js
* spec: rename assert-helpers to expect-helpers
* address PR feedback
2019-05-20 12:04:18 -05:00
Milan Burda
dbb8617214
docs: update sandbox-option.md ( #18275 )
...
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
2019-05-20 17:34:57 +02:00
Electron Bot
623ea9b0f1
chore: bump chromium in DEPS to 1027f1782fffa09d3278e857b66d721b861df385
2019-05-20 09:00:26 -04:00
Milan Burda
89105e7e57
refactor: address TODO for WebContents type parsing ( #18158 )
2019-05-20 12:55:46 +02:00
Electron Bot
24d06c4725
chore: bump chromium in DEPS to 655370a87309cf880a091b6b8477012b0718fe12
2019-05-19 09:01:22 -04:00
Milan Burda
7e2cbf528e
docs: link to better list of icons for nativeImage.createFromNamedImage() ( #18336 )
2019-05-18 22:00:08 +02:00
Milan Burda
af0ad4454e
refactor: add invoke helpers in window-setup ( #18233 )
2019-05-18 20:52:29 +02:00
Electron Bot
0af06a3136
chore: bump chromium in DEPS to 810a86086f5fd70dd42ad025cf73ecc26f979fcf
2019-05-18 09:00:29 -04:00
Milan Burda
2b4ad2cb09
feat: add 'gpu-info-update' event to app ( #18250 )
2019-05-18 10:06:48 +09:00
Nitish Sakhawalkar
cf5224140b
Chrome changed the devtools url
...
chrome-devtools:// to devtools://
28b21a67f0
2019-05-17 16:16:25 -07:00
Nitish Sakhawalkar
aa00b19c92
Update views visible API
...
visible() -> GetVisible() as per c9ecec130e
2019-05-17 16:16:25 -07:00
Nitish Sakhawalkar
e38127323f
Update gpuinfo enumerator api
...
Related chromium change is here => 4178e190e9
2019-05-17 16:16:25 -07:00
Electron Bot
7a0058fbdb
chore: bump chromium in DEPS to 93f138f28f33aa9cd14a3624f9eef0a2167c8ffb
2019-05-17 16:16:25 -07:00
Nitish Sakhawalkar
8a7de89b97
Update Spellcheck API
...
Update WebTexhCheckingCompletion as per chromium 0e8c828e02
2019-05-17 16:16:25 -07:00
Nitish Sakhawalkar
2d14a0e90d
Update changed APIs/deps
...
Use brotli by default (36d58dd325 )
Update Mac ui headers (897636c9f8 )
Update AtomBrowserClient::HandleExternalProtocol API (cb656e1fd1 )
2019-05-16 18:47:42 -07:00
Jeremy Apthorp
18d70e6e57
pin user32 on startup
...
https://chromium-review.googlesource.com/c/chromium/src/+/1551709
Loading it later causes a blocking call where blocking calls aren't allowed.
2019-05-16 18:47:42 -07:00
Nitish Sakhawalkar
03ee12d13e
Update linux/win menu_bar.h
...
Chromium Commit 6a2f2686a9
2019-05-16 18:47:42 -07:00
Nitish Sakhawalkar
cae2f1f537
Disable custom libcxx patch
2019-05-16 18:47:42 -07:00
Nitish Sakhawalkar
0580a2fb3e
fix lint
2019-05-16 18:47:42 -07:00
Nitish Sakhawalkar
941851b3eb
Update for changed APIs
...
Update AllowCertificateError API (c5b8df91d1 )
2019-05-16 18:47:42 -07:00
Jeremy Apthorp
1fa5bf0140
//ui/views_bridge_mac => //components/remote_cocoa/app_shim
...
https://chromium-review.googlesource.com/c/chromium/src/+/1590958
2019-05-16 18:47:42 -07:00
Jeremy Apthorp
19550bd444
Manual follow-up rename in comments and variable names.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1591429
2019-05-16 18:47:42 -07:00
Jeremy Apthorp
6f0524d87f
use base::Owned instead of base::Passed for repeating handler
2019-05-16 18:47:42 -07:00
Jeremy Apthorp
6c6555c13c
Convert Callbacks to OnceCallbacks in permissions APIs.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1592356
2019-05-16 18:47:42 -07:00
Nitish Sakhawalkar
e794260d89
Update chromium patches
2019-05-16 18:47:42 -07:00
Electron Bot
f14eb32758
chore: bump chromium in DEPS to 4807e00d8504db501eb7a9d8ab66789e53fb7349
2019-05-16 16:58:32 -04:00
Shelley Vohr
111baba29c
chore: update codeowners for release scripts ( #18246 )
2019-05-16 09:39:01 -04:00
Electron Bot
c7d93c7579
chore: bump chromium in DEPS to ad1b791122c04bd91b825fbfbdf1ff4da82a0edb
2019-05-16 09:01:28 -04:00
Milan Burda
76783e2a90
fix: 'page-title-updated' event forwarding + documentation ( #18270 )
2019-05-16 12:33:16 +03:00
Samuel Attard
2a08bfbcc6
docs: update type for responseHeaders in the webRequest module ( #18302 )
...
Fixes #18298
2019-05-15 18:20:37 -07:00
Cheng Zhao
2ad62cedc3
feat: migrate protocol module to NetworkService (Part 7) ( #18290 )
...
* fix: make IsProtocolHandled return true for builtin schemes
* fix: return ERR_NOT_IMPLEMENTED for wrong arg
* Initial work of AsarURLLoader
* Put normal file logics in AsarURLLoader
* Implement asar file reading
* Don't change URL for unpacked file
* Fix cpplint warning
2019-05-15 08:29:58 +09:00
Samuel Attard
fde3137b90
fix: update the FileSelectHelper to support the new promise API ( #18288 )
...
* fix: update the FileSelectHelper to support the new promise API
Fixes #18254
So it turns out we've successfully introduced a way to write
non-typesafe C++.
This fixes two things:
* Uses the object the promise resolves
* Ensures we attach the Then handler before moving the promise
* fix: also fix misuse of Promise::Then in the download manager
2019-05-14 15:46:53 -07:00
Milan Burda
d027be05a6
refactor: combine bitmask flags property (replace '+' with '|' operator) ( #18271 )
2019-05-14 18:49:46 +03:00
Milan Burda
6609138959
feat: add webContents 'zoom-changed' event ( #17747 )
2019-05-14 09:40:40 +03:00
John Kleinschmidt
23b0487e9b
docs: add missing image ( #18235 )
2019-05-13 16:55:41 -04:00
Jeremy Apthorp
367868613f
docs: explicitly list supported versions ( #18243 )
2019-05-13 12:17:47 -07:00
Jeremy Apthorp
78d45a17c8
fix: default enable_negotiate_port to false ( #18251 )
2019-05-13 11:28:01 -07:00
Milan Burda
3a5e6f2551
feat: allow setting working directory in app.setUserTasks() / app.setJumpList() ( #18148 )
2019-05-13 19:17:12 +03:00
Cheng Zhao
326215e1f1
feat: migrate protocol module to NetworkService (Part 6) ( #18223 )
...
* fix: start node strem asyncly
* fix: headers value may be a list
* fix: simply destruct on finish/error
* fix: class may destruct immediately after subscribing "data"
* fix: send meaningful error
* fix: must always provide a response body
* fix: handle the case when one write can not write all data
* fix: handle connection error
2019-05-11 15:15:01 +09:00
Nitish Sakhawalkar
85c24c0b47
chore: Add patch to partially revert chromium crashpad change ( #17978 )
...
This adds a patch to support functionality that we were using but chromium changed it. Electron uses breakpad on windows, chromium uses crashpad (which is newer). So this patch is needed until we update electron to use crashpad for windows.
2019-05-10 10:35:17 -07:00
Cheng Zhao
8de9ba6df6
chore: run protocol tests in separate WebContents ( #18202 )
2019-05-10 09:51:44 +09:00
Milan Burda
019b31d084
chore: remove deprecated APIs ( #18159 )
2019-05-09 14:48:10 -04:00
Jeremy Apthorp
96e19f1cc4
docs: fix name of Backtrace in crash reporter docs ( #18180 )
2019-05-09 10:30:37 -07:00
Jeremy Apthorp
be484ee8a4
docs: note session.clearAuthCache planned change for 7.0 ( #18185 )
...
* docs: note session.clearAuthCache planned change for 7.0
* Update breaking-changes.md
2019-05-09 10:58:01 -04:00
Shelley Vohr
b3fcc080d5
fix: destroy tray on current tick ( #18196 )
...
This code was originally added in #6448 to handle an edge case crash in 10.9, and we no longer support 10.9 and therefore no longer need to account for this case.
It addressed the crash, but also created a race condition whereby when a new tray is created the old tray's destroy wouldn't have been fully completed and therefore a new one would be spawned. This fixes that by destroying the tray on the current tick once more.
2019-05-08 15:40:30 -07:00
Shelley Vohr
8759e30f04
build: linux needs java on GN ( #18211 )
...
The linux builds fails with ./bin/sh java not found unless this is installed.
2019-05-08 15:28:55 -07:00
Shelley Vohr
6e29611788
build: fix linux release builds on CircleCI ( #18201 )
2019-05-08 07:27:03 -07:00
Shelley Vohr
6770a8c64a
build: remove deprecated octokit auth calls ( #18205 )
2019-05-07 18:48:40 -07:00
John Kleinschmidt
e63f527e76
docs: add FAQ entry about subpixel anti-aliased text ( #18101 )
...
* docs: add FAQ entry about subpixel anti-aliased text
Co-Authored-By: Nils-Hero Lindemann <nilsherolindemann@gmail.com >
* Fix linting errors
Co-Authored-By: Nils-Hero Lindemann <nilsherolindemann@gmail.com >
* Fix image link
Co-Authored-By: Nils-Hero Lindemann <nilsherolindemann@gmail.com >
2019-05-07 12:49:08 -07:00
Shelley Vohr
0ab3d7a0be
fix: crash on systemPreferences.getAccentColor() ( #18144 )
2019-05-07 08:26:34 -07:00
Milan Burda
d79dc056bc
refactor: eliminate duplicate code in asar.js ( #18146 )
2019-05-07 06:54:35 -07:00
Shelley Vohr
02710ef574
refactor: make templateImage a property on nativeImage ( #18124 )
...
* refactor: make templateImage a property on nativeImage
* Update docs/api/native-image.md
Co-Authored-By: codebytere <codebytere@github.com >
* fix nativeImage prototype deprecation
* update for new property name
* Update docs/api/native-image.md
Co-Authored-By: codebytere <codebytere@github.com >
2019-05-07 06:52:07 -07:00
Shelley Vohr
cfb6e847a0
refactor: allow embedder overriding of internal FS calls ( #17906 ) ( #18183 )
2019-05-07 06:44:32 -07:00
Milan Burda
91e3421525
refactor: use base::size() for array sizes ( #18155 )
2019-05-07 09:19:14 -04:00
Bobby Galli
175fae722a
docs: added BugSplat to list of hosted solutions ( #18162 )
2019-05-06 19:37:24 -07:00
Cheng Zhao
237f74a01f
feat: migrate protocol module to NetworkService (Part 5) ( #18170 )
...
* fix: always have head.headers available
* fix: use StringDataPipeProducer to write string
It can handle large strings correctly.
* fix: override RegisterNonNetworkSubresourceURLLoaderFactories
* fix: add dummy uninterceptProtocol implementation
* fix: jquery error handler can pass empty string
For some errors jquery would pass empty string in the error handler,
which makes tests pass when they should fail.
* chore: fix cpplint warnings
* fix: guard RegisterNonNetworkSubresourceURLLoaderFactories call
It may be called even when NetworkService is not enabled.
* test: disable protocol.interceptHttpProtocol test
2019-05-07 11:33:05 +09:00
Samuel Attard
a96b6e2c96
build: move to the new docs parser ( #18103 )
...
* build: move to the new docs parser
* chore: remove the bad getTitle param doc
* build: update parser/ts gen deps + fix some docs issues highlighted by GH desktop
* chore: apply suggestions from code review
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com >
* chore: update docs for accidentally removed things
* chore: update docs/api/command-line.md
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com >
2019-05-06 08:29:01 -07:00
Shelley Vohr
9ec59cbc6c
docs: clarify clipboard type options ( #18107 )
2019-05-06 08:11:47 -07:00
Samuel Attard
636273b6cb
fix: do not mark navigations interupted with same-document navigations as aborted ( #18109 )
...
* fix: do not mark navigations interupted with same-document navigations as aborted
* spec: add tests for the loadURL promise
2019-05-03 16:19:50 -07:00
Samuel Attard
99d4537075
chore: remove v8 reverts now that nan is updated ( #18130 )
2019-05-03 14:41:23 -07:00
Jeremy Apthorp
cb13d7a0a8
refactor: session.clearAuthCache nws13n ( #17970 )
2019-05-03 14:30:25 -07:00
Shelley Vohr
6d96f30ed3
refactor: make shell.OpenExternal async ( #17135 )
2019-05-03 13:53:45 -07:00
Shelley Vohr
0755857a0c
chore: convert more files away from base::Bind ( #18121 )
...
* chore: convert more files away from base::Bind
* use BindOnce for JsAsker
2019-05-03 12:08:41 -07:00
Milan Burda
c25c31e018
refactor: convert C++ enums to C++11 enum classes ( #18087 )
2019-05-03 14:11:41 -04:00
Joshua Westerheide
a59dc56fa6
feat: add env variable to skip binary download on npm install ( #17627 )
...
* feat: add env variable to skip binary download on npm install
* docs: add "Skip binary download" section to install tutorial
2019-05-03 10:17:15 -07:00
Cheng Zhao
0a6eb8afca
feat: migrate protocol module to NetworkService (Part 4) ( #18084 )
...
* Parse stream protocol handler
* Pipe node stream to mojo
* Merge the parser for headers
* Add ToDict helper to simplify code
* Simplify dispatching logic
* Add an experimental API for returning any type of response
* Fix subscribing event
* URL loaders' lifetime is independent of the factory
* HandleError helper is no longer needed
* Rename "SendResponse" => "StartLoading" to follow naming conventions
* Delete when connection error happens
* Fix cpplint warning
2019-05-03 09:48:51 +09:00
Shelley Vohr
cc00fa8874
chore: convert base::Bind instances across some files ( #18112 )
2019-05-03 08:49:26 +09:00
Michelle Tilley
4808f30538
fix: revert to previous documentation folder structure ( #18127 )
2019-05-02 15:17:17 -07:00
Shelley Vohr
c278043511
chore: retry octokit calls several times on fail ( #18085 )
2019-05-02 15:08:45 -07:00
Electron Bot
5f28f89c9c
chore: bump chromium in DEPS to 84c40395c741fa24ccbd9fc2c5828e2e97472952 ( #18117 )
2019-05-02 12:49:54 -07:00
Shelley Vohr
55a7f92297
chore: convert more module and helper files from bind ( #18069 )
2019-05-02 08:32:33 -07:00
Milan Burda
2dd108e9c9
fix: fs.promises does not work with asar paths ( #18092 )
2019-05-02 21:06:01 +09:00
Milan Burda
9585818a90
chore: add clang-format and limited linting for Objective-C sources ( #18104 )
2019-05-02 21:05:37 +09:00
Milan Burda
8785e9007c
chore: add native_mate to lint:cpp ( #18100 )
2019-05-02 11:45:23 +09:00
Stewart Lord
d507ba68a7
fix: honor extensionId arg in chrome.runtime.connect ( #16998 )
...
The first argument to chrome.runtime.connect is extensionId, not connectInfo.
2019-05-02 11:42:04 +09:00
Samuel Attard
d4f5ebefe6
feat: allow setting of global fallback user agent ( #18016 )
...
* feat: allow setting of global fallback user agent
* spec: add tests for app.set/getUserAgentFallback
2019-05-01 16:34:42 -07:00
Sofia Nguy
649d7c0d9e
docs: update 6.0.0 release dates ( #17923 )
2019-05-01 16:11:46 -07:00
Jeremy Apthorp
3949f0bd50
refactor: convert crash reporter to gin ( #17952 )
2019-05-01 15:19:11 -07:00
bughit
493af7f84c
document the loadURL promise pre-attached rejection handler ( #18043 )
2019-05-01 14:04:21 -07:00
John Kleinschmidt
e736d04e7f
build: use https to download from GitHub for external binaries ( #17928 )
...
fixes #17926
2019-05-01 13:49:29 -07:00
Shelley Vohr
f316c8470c
chore: convert session base::Bind instances ( #18038 )
...
Convert instances of base::Bind to base::BindOnce and base::BindRepeating as applicable in the session module as well as in Autofill popups.
2019-05-01 13:45:08 -07:00
Electron Bot
61effac72a
chore: bump chromium to c75fbfd03652 (master) ( #18090 )
...
https://chromium-review.googlesource.com/c/chromium/src/+/1532361
2019-05-01 13:42:49 -07:00
Jeremy Apthorp
dd3913fada
refactor: convert powerSaveBlocker to gin ( #18073 )
2019-05-01 13:24:01 -07:00
Samuel Attard
913bd4c832
fix: correctly parse default_app path on windows ( #18086 )
2019-05-01 13:00:09 -07:00
Samuel Attard
496d796833
build: free up space before running macos ci ( #18083 )
...
* build: free up space before running macos ci
* build: also delete 14GB of src/.git for bonus space
2019-05-01 12:31:01 -07:00
Milan Burda
1abe658ef4
chore: clang-format ( #18088 )
...
* chore: clang-format
* chore: remove obsolete native_mate_files.gypi
2019-05-01 12:27:55 -07:00
Milan Burda
d2cebc62d1
docs: fix webContents 'new-window' event handler sample ( #18067 )
2019-05-01 10:49:42 -07:00
Milan Burda
b333ce2628
docs: remove incorrectly added let for the win variable ( #18052 )
2019-05-01 10:45:58 -07:00
Shelley Vohr
5ed11aa1f3
docs: remove obsolete releasing document ( #18072 )
2019-05-01 09:14:14 -07:00
Milan Burda
6f5c850d60
refactor: add emitCustomEvent() helper ( #17960 )
2019-05-01 09:07:57 -04:00
Samuel Attard
aebad6fd21
test: remove stray console.log for test suite ( #18078 )
2019-04-30 17:56:20 -07:00
Electron Bot
2616911f7a
chore: bump chromium to 7dff37844cb3 (master) ( #18059 )
2019-04-30 17:18:22 -07:00
Shelley Vohr
00358545a9
fix: explicitly focus window on win.show() ( #18046 )
2019-04-30 16:43:45 -07:00
Samuel Attard
67b3fbca89
fix: ensure the inspector agent is shutdown before cleaning up the node env ( #18028 )
...
* fix: ensure the inspector agent is shutdown before cleaning up the node env
* spec: add tests to ensure clean shutdown with connected inspector agent
* Update node_debugger.cc
2019-04-30 15:44:40 -07:00
Samuel Attard
4e5a0946c7
build: fix master build by updating the yarn.lock after race merge ( #18074 )
2019-04-30 15:42:09 -07:00
Jeremy Apthorp
24bf2c29e4
refactor: session.{clearCache,getCacheSize} nws13n ( #17969 )
2019-04-30 15:09:17 -07:00
Samuel Attard
98c51dd660
build: ensure consistent lock files across multiple machines ( #17955 )
...
* build: ensure consistent package-lock across multiple machines
* build: fix linting errors and use npm ci instead of npm install
* build: use a yarn.lock and yarn instead of package-lock and npm
* chore: replace package-lock.json files with yarn.lock
* chore: replace last instance of `npm install`
2019-04-30 13:59:47 -07:00
Shelley Vohr
8d83518f9a
refactor: make name a prop on app ( #17701 )
...
Update app.name to be a property on app.
2019-04-30 13:55:33 -07:00
Samuel Attard
f2d41b7812
build: fix issues for stable release we fixed in 5-0-x ( #18064 )
...
* build: fix release notes generation
* build: fix bump-version script for stable releases
2019-04-30 11:36:39 -07:00
Milan Burda
fcf0af15de
feat: support ELECTRON_DEFAULT_ERROR_MODE in the GPU process ( #17728 )
2019-04-30 12:45:48 -04:00
Shelley Vohr
d87b3ead76
chore: remove promisification deprecation callbacks ( #17907 )
...
* chore: remove promisification deprecation callbacks
* update docs
* fix smoke test
* fix executejs issue
* cleanup leftovers
* fix webContents.executeJavaScript tests
* cleanup WebContents.prototype.takeHeapSnapshot
* fix "sets arbitrary webContents as devtools" test
* fix executeJavaScriptInFrame related tests
2019-04-30 07:08:32 -07:00
Jeremy Apthorp
fdf5f838f4
refactor: native_mate => gin (cookies API) ( #18036 )
...
* convert cookie converters to gin
* event_emitter GetWrapper
2019-04-30 06:45:05 -07:00
Milan Burda
e9d88e965e
chore: disable Vulkan validation layers ( #17985 )
2019-04-30 06:41:59 -07:00
Cheng Zhao
277f93653e
feat: migrate protocol module to NetworkService (Part 3) ( #18030 )
...
* Implement http protocol handler
* File protocol handler also accepts options
* Http protocol should inherit headers by default
* Only inherit necessary headers
* Slightly reorder logics
2019-04-30 09:47:04 +09:00
Shelley Vohr
7b55ee9d36
refactor: allow requiring modules with no side effects ( #17496 )
2019-04-30 09:46:08 +09:00
Shelley Vohr
4ee201c56e
chore: convert View APIs away from base::Bind ( #18035 )
2019-04-30 09:40:39 +09:00
Samuel Attard
4a3771ff7f
build: add support for Electron trace events ( #17920 )
2019-04-29 15:28:30 -07:00
pathim
cc1e8ecef6
docs: Correct doc for registerFileProtocol ( #18022 )
...
In the registerFileProtocol docs the "headers" argument of the callback was described as being a list. In fact is has to be an Object mapping header-entries to values. This can be seen in Line 326 of `/spec/api-protocol-spec.js` [fe618631f1/spec/api-protocol-spec.js (L326) ].
2019-04-29 15:26:55 -07:00
Milan Burda
2fd3029040
docs: update nodeIntegration section for new defaults ( #17715 )
2019-04-29 14:29:27 -07:00
Samuel Attard
77a4946069
refactor: rewire the desktop capturer API to remove race conditions ( #18029 )
...
We now create a new instance of atom::api::DesktopCapturer for every
request instead of weirdly re-using the same instance and queuing
requests. This means there is now a 1:1 relationship between request
and DesktopCapturer so there isn't a race condition between the observer
for one request calling back before the observer of another. This is an
issue ever since the backing APIs moved to worker threads.
This also does a few things to ensure memory management
* Only ever listen to one event per-request, after that we wipe the emit
function to ignore all future events
* Ensures we clean up the window_capturer_, screen_capturer_ and
captured_sources_ in native land once the request is over.
This _in theory_ fixes a flake we've been seeing on CI where we try to
resolve the promise for a request that no longerr exists.
2019-04-29 13:21:28 -07:00
Shelley Vohr
8b79776b5e
chore: disable release notes GH Action ( #18039 )
2019-04-29 13:03:59 -07:00
Milan Burda
9714a91392
refactor: use fs.promises API, which is stable since Node 12 ( #17999 )
2019-04-29 11:18:03 -07:00
Milan Burda
7574f91f31
refactor: natively promisify WebContents.prototype.takeHeapSnapshot ( #18000 )
2019-04-29 10:11:11 -07:00
Milan Burda
18b77a4de6
chore: rename atom-binding-setup.ts to electron-binding-setup.ts ( #17949 )
2019-04-29 10:57:32 -04:00
Cheng Zhao
6f83977f47
feat: migrate protocol module to NetworkService (Part 2) ( #17965 )
...
* Pass protocol type and handler to factory
* Add converter for network::ResourceRequest
* Implement Buffer and String protocol handler
* Implement file protocol
2019-04-29 11:37:45 +09:00
Shelley Vohr
fe618631f1
chore: convert some more files from base::Bind ( #17968 )
2019-04-28 10:03:06 +09:00
Shelley Vohr
72baff1c88
chore: add base workflow file ( #18006 )
2019-04-27 17:53:08 -07:00
Shelley Vohr
e7ef374899
chore: update base::Bind in app module ( #17925 )
...
* chore: update base::Bind in app module
* fix lint
2019-04-26 21:42:56 -07:00
Samuel Attard
68f448ee73
build: rebase patches to fix master build ( #17991 )
2019-04-26 13:44:08 -07:00
Samuel Attard
84212b8e8b
docs: add example on handling the webPrefs change ( #17971 )
...
* docs: add example on handling the webPrefs change
Fixes #17967
* Update breaking-changes.md
2019-04-26 13:30:45 -07:00
Samuel Attard
d673865881
build: notify MC of failures to allow easy reruns ( #17981 )
2019-04-26 12:35:43 -07:00
Xin Tan
2e7ad1a527
docs: add information about contributing ( #17961 )
...
Add information about contributing and link CONTRIBUTING.md to this page.
2019-04-26 08:12:21 -07:00
Cheng Zhao
a4fcc32799
feat: upgrade to Node 12 ( #17838 )
...
* fix: add boringssl backport to support node upgrade
* fix: Update node_includes.h, add DCHECK macros
* fix: Update node Debug Options parser usage
* fix: Fix asar setup
* fix: using v8Util in isolated context
* fix: make "process" available in preload scripts
* fix: use proper options parser and remove setting of _breakFirstLine
_breakFirstLine was being set on the process, but that has changed in node 12 and so is no longer needed. Node will handle it properly when --inspect-brk is provided
* chore: update node dep sha
* fix: process.binding => _linkedBinding in sandboxed isolated preload
* fix: make original-fs work with streams
* build: override node module version
* fix: use _linkedBinding in content_script/init.js
* chore: update node ref in DEPS
* build: node_module_version should be 73
2019-04-26 18:55:12 +09:00
Shelley Vohr
e1acfffaf8
docs: remove outdated refs to protocol.registerStandardSchemes ( #17959 )
2019-04-25 15:56:59 -07:00
Shelley Vohr
075b818a8e
fixes ( #17363 )
2019-04-25 15:44:54 -07:00
Shelley Vohr
6530c99cfa
docs: add azure vm spinup tutorial ( #17958 )
2019-04-25 15:42:45 -07:00
Shelley Vohr
2108044bdb
docs: move organizational info docs to new directory ( #17865 )
...
* docs: move organizational info docs to new directory
* fix some markdown lint issues
2019-04-25 15:14:19 -07:00
Shelley Vohr
c2c3a04628
fix: crash when failed to get devices in desktopCapturer ( #17557 )
...
* fix: crash when failed to get devices in desktopCapturer
* return after emit
2019-04-25 15:12:38 -07:00
Robo
2ad942323c
refactor: session.clearHostResolverCache with network service ( #17935 )
2019-04-25 10:51:48 -07:00
Richard Townsend
a2e5cb82fc
build: fix a symbol linkage error for WoA ( #17947 )
...
When dcheck_always_on=true, electron's unusual configuration creates
some problems, which this patch works around.
2019-04-25 08:21:39 -07:00
Cheng Zhao
3142d5ca00
chore: support converting OnceCallback to V8 ( #17941 )
2019-04-25 09:40:27 +09:00
Jeremy Apthorp
93d9dafacc
refactor: migrate cookie api to network service ( #17932 )
2019-04-24 12:49:30 -07:00
Shelley Vohr
02c7b92095
chore: Bind=>BindRepeating for constructors ( #17924 )
2019-04-24 11:29:59 -07:00
Mark Lee
aed0b1ee54
docs: clean up the native module tutorial ( #17624 )
2019-04-24 10:32:37 -07:00
Samuel Attard
4588fc2232
build: update ts generator ( #17929 )
2019-04-24 09:57:09 -07:00
Milan Burda
f7a38ec72a
fix: permission handler regression in default app ( #17927 )
2019-04-24 09:54:53 -07:00
nixxquality
4556433f3b
docs: fully document MenuItem instance properties ( #17479 )
...
* document menuItem instance properties
* correct some types
* add correct click documentation
2019-04-24 09:53:15 -07:00
Milan Burda
253d049ac9
chore: remove deprecated app.enableMixedSandbox() ( #17894 )
2019-04-23 21:07:40 -07:00
Robo
9b779657fb
fix: allow access to the profile dir in mac network sandbox (nws13n) ( #17931 )
2019-04-24 09:31:36 +09:00
Robo
e1e055a837
fix: allow creating service for temporary partitions (nws13n) ( #17930 )
2019-04-24 09:30:53 +09:00
Jeremy Apthorp
53c453567f
refactor: initialize feature list earlier ( #17922 )
2019-04-23 15:18:12 -07:00
Cheng Zhao
132137081a
feat: migrate protocol module to NetworkService (Part 1) ( #17899 )
2019-04-23 14:39:20 -07:00
Jeremy Apthorp
341592119f
build: actually run import-patches on gclient sync ( #17885 )
2019-04-23 10:28:26 -07:00
Milan Burda
bb9e92a5d9
refactor: add missing constants for options ( #17897 )
2019-04-23 09:14:18 -07:00
Milan Burda
0b0f677432
docs: make gclient config command Windows friendly ( #17900 )
2019-04-23 05:11:35 -04:00
Shelley Vohr
316abe21f9
fix: crash when run from SMB network share ( #17886 )
2019-04-22 19:28:48 -07:00
Samuel Attard
e9114b3c00
build: optimize the happy path when syncing on CI ( #17827 )
...
* build: optimize the happy path when syncing on CI
This adds a new cache for the "src" directory that is only ever used if
the cache key matches exactly. If there is no exact match we fall back
to the old strategy of using the git cache.
On the happy path this can make the checkout on linux/macOS take around
5-6 minutes which is **significantly** faster than the original 15-18
minutes.
* build: sort readdir result to ensure stability
* build: increment cache key
* Update config.yml
* build: ensure that the cleanly checked out Electron has had hooks run on it
* build: do not remove deps/v8
* build: ensure clean git directory when generating deps hash
* chore: add comments to caching logic
* Update .circleci/config.yml
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com >
2019-04-22 15:36:59 -07:00
Sofia Nguy
df269ecb24
docs: edit Release Timelines doc format and add title ( #17903 )
...
* docs: edit title and doc format
* lint error - trailing spaces
* trailing s p a c e
2019-04-22 17:53:51 -04:00
Sofia Nguy
0c24ac9ae7
docs: Update AFP info ( #17904 )
2019-04-22 17:53:03 -04:00
Electron Bot
716cb28430
chore: bump chromium to 1e9f9a24aa12 (master) ( #17880 )
...
* chore: bump chromium in DEPS to 1e9f9a24aa12bea9cf194a82a7e249bd1242ec4f
* chore: update patches
* Make WebContents' theme color a base::Optional<SkColor>
https://chromium-review.googlesource.com/c/chromium/src/+/1540022
* update autofill patch for incorrect header includes
* Move Shell messages to web_test and rename to BlinkTest.
https://chromium-review.googlesource.com/c/chromium/src/+/1525181
* Make PlatformNotificationServiceImpl a KeyedService.
https://chromium-review.googlesource.com/c/chromium/src/+/1336150
* Move MediaPlayerId to its own file.
https://chromium-review.googlesource.com/c/chromium/src/+/1547057
* Remove net/base/completion_callback.h, which is no longer used
https://chromium-review.googlesource.com/c/chromium/src/+/1552821
* AW NS: support file scheme cookies
https://chromium-review.googlesource.com/c/chromium/src/+/1533486
* Remove SecurityInfo and adapt remaining consumers
https://chromium-review.googlesource.com/c/chromium/src/+/1509455
* Remove deprecated type-specific number to string conversion functions
https://chromium-review.googlesource.com/c/chromium/src/+/1545881
* DevTools: Adding new performance histograms for launch of top 4 tools
https://chromium-review.googlesource.com/c/chromium/src/+/1506388
* Update include paths for //base/hash/hash.h
https://chromium-review.googlesource.com/c/chromium/src/+/1544630
* build: Disable ensure_gn_version gclient hook for mac CI checkout
* update patches
* use maybe version of v8::String::NewFromTwoByte
* bump appveyor image version
* fix mac ci hopefully
* Convert enum to enum class for MenuAnchorPosition
https://chromium-review.googlesource.com/c/chromium/src/+/1530508
* use maybe version of ToObject
* RenderViewHost::GetProcess is no longer const
* Unrefcount AuthChallengeInfo
https://chromium-review.googlesource.com/c/chromium/src/+/1550631
* MenuButtonController takes Button rather than MenuButton
https://chromium-review.googlesource.com/c/chromium/src/+/1500935
* add //ui/views_bridge_mac to deps to fix link error
* forward declare views::Button in atom::MenuDelegate
* more v8 patches
* base/{=> hash}/md5.h
https://chromium-review.googlesource.com/c/chromium/src/+/1535124
* gfx::{PlatformFontWin => win}::*
https://chromium-review.googlesource.com/c/chromium/src/+/1534178
* fix v8 patches
* [base] Rename TaskScheduler to ThreadPool
https://chromium-review.googlesource.com/c/chromium/src/+/1561552
* use internal_config_base for bytecode_builtins_list_generator
avoids windows link errors
* FIXME: temporarily disable v8/breakpad integration
* FIXME: temporarily disable prevent-will-redirect test
* FIXME: disable neon on aarch64 pending crbug.com/953815
* update to account for WebCursor refactor
https://chromium-review.googlesource.com/c/chromium/src/+/1562755
* enable stack dumping on appveyor
* Revert "FIXME: disable neon on aarch64 pending crbug.com/953815"
This reverts commit 57f082026b .
* fix: remove const qualifiers to match upstream
* fix: remove const qualifiers to match upstream in cc files as well
* don't throw an error when testing if an object is an object
* use non-deprecated Buffer constructor
* Remove net::CookieSameSite::DEFAULT_MODE enum value
https://chromium-review.googlesource.com/c/chromium/src/+/1567955
* depend on modded dbus-native to work around buffer deprecation
https://github.com/sidorares/dbus-native/pull/262
* revert clang roll to fix arm build on linux
* fixup! depend on modded dbus-native to work around buffer deprecation
need more coffee
* update coffee-script
* robustify verify-mksnapshot w.r.t. command-line parameters
* Revert "robustify verify-mksnapshot w.r.t. command-line parameters"
This reverts commit a49af01411 .
* fix mksnapshot by matching args
* update patches
* TMP: enable rdp on appveyor
* Changed ContentBrowserClient::CreateQuotaPermissionContext() to return scoped_refptr.
https://chromium-review.googlesource.com/c/chromium/src/+/1569376
* Make content::ResourceType an enum class.
https://chromium-review.googlesource.com/c/chromium/src/+/1569345
* fixup! Make content::ResourceType an enum class.
* turn off rdp
* use net::CompletionRepeatingCallback instead of base::Callback<void(int)>
* remove disable_ensure_gn_version_gclient_hook.patch
* copy repeating callback instead of std::move
* fix lint
* add completion_repeating_callback.h include
2019-04-20 10:20:37 -07:00
Jeremy Apthorp
ab009bba26
refactor: turn OnOffscreen message into a command-line flag ( #17687 )
...
This turns the AtomViewMsg_Offscreen message, which only called the global setter blink::WebView::SetUseExternalPopupMenus(false) to get Chrome to render popup menus in the renderer instead of externally on macOS, into a command-line renderer flag --offscreen which does the same thing, except at render thread startup time, which is where Chromium sets the flag: https://chromium.googlesource.com/chromium/src/+/refs/tags/75.0.3755.3/content/renderer/render_thread_impl.cc#728 .
This was the last usage of RenderViewObserver in our codebase, so this PR also removes that class.
2019-04-19 12:55:20 -07:00
Matheus Rocha Vieira
1249c6ebf4
fix: Comparison using is when operands support __eq__ ( #17864 )
...
* Comparison using is when operands support __eq__
Comparison using 'is' when equivalence is not the same as identity
When you compare two values using the is or is not operator, it is the object identities of the two values that is tested rather than their equality. If the class of either of the values in the comparison redefines equality then the is operator may return False even though the objects compare as equal. Equality is defined by the __eq__ or, in Python2, __cmp__ method. To compare two objects for equality, use the == or != operator instead.
Recommendation
When you want to compare the value of two literals, use the comparison operator == or != in place of is or is not.
If the uniqueness property or performance are important then use an object that does not redefine equality.
* fix: Comparison using is when operands support __eq__
Comparison using 'is' when equivalence is not the same as identity
When you compare two values using the is or is not operator, it is the object identities of the two values that is tested rather than their equality. If the class of either of the values in the comparison redefines equality then the is operator may return False even though the objects compare as equal. Equality is defined by the __eq__ or, in Python2, __cmp__ method. To compare two objects for equality, use the == or != operator instead.
Recommendation
When you want to compare the value of two literals, use the comparison operator == or != in place of is or is not.
If the uniqueness property or performance are important then use an object that does not redefine equality.
2019-04-19 12:24:41 -07:00
Sofia Nguy
eb9c4e3643
docs: Add Electron v6.0.0 Timeline ( #17866 )
2019-04-19 12:23:01 -07:00
Cheng Zhao
344197083e
fix: drain tasks before shutting down isolate ( #17879 )
2019-04-19 11:01:45 -07:00
Shelley Vohr
0749dc4cc1
refactor: make app logs dir creation opt-in ( #17841 )
...
Previously, we were creating the app logs folder at a predefined location during initial electron startup, which meant that it had to be manually removed and prevented clean app portability. This refactors that implementation such that it's now an opt-in feature and developers must call app.setAppLogsPath(path) with an optional custom path in order to set this directory.
2019-04-18 22:04:58 -07:00
Jeremy Apthorp
841e31b7e6
feat: show underlying stack in errors in remote module ( #17851 )
2019-04-18 17:38:19 -07:00
Kilian Valkhof
ea6641afe5
docs: explanation on using protocols with partitions ( #17759 )
...
* docs: explanation on using protocols with partitions
* linting fixes
* Update docs/api/protocol.md
Co-Authored-By: Kilian <kilian@kilianvalkhof.com >
* Update docs/api/protocol.md
Co-Authored-By: Kilian <kilian@kilianvalkhof.com >
* Update docs/api/protocol.md
Co-Authored-By: Kilian <kilian@kilianvalkhof.com >
* be more explicit about there being a default session.
2019-04-18 12:40:04 -07:00
Kapil Patel
11ac6800cc
docs: added fee hint ( #17563 )
...
* Update code-signing.md
* Update code-signing.md
* Update docs/tutorial/code-signing.md
Co-Authored-By: kapilepatel <kapilepatel@gmail.com >
* Update code-signing.md
2019-04-18 08:50:14 -07:00
Milan Burda
5e7c828c9e
fix: copy pixels in AddImageSkiaRepFromBuffer ( #17843 )
2019-04-18 09:16:34 +09:00
Milan Burda
3c2ff97a16
fix: copy pixels in NativeImage::CreateFromBitmap ( #17844 )
2019-04-18 09:16:06 +09:00
Shelley Vohr
f1ee35e281
doc: document occasional mismatch between NSImageName and string ( #17826 )
2019-04-17 15:06:51 -07:00
Samuel Attard
829050daab
build: rename sandbox bundle ( #17831 )
2019-04-17 17:18:03 -04:00
Heilig Benedek
81bf15877f
fix: port OSR code to new viz compositor codepath ( #17538 )
...
* fix: make OSR work with viz compositor
* fix: update OSR patch
* fix: update patch again
* fix: update viz_osr.patch for macOS
* fix: gn check warnings
* chore: no need to change SoftwareOutputDeviceWinProxy
* chore: add check in case we missed something
* fix: consider scale factor when compare size
* fix: make GPU OSR work
* fix: autofill popups with OSR
* chore: use UNIX line ending for osr_video_consumer
* chore: code is already in defined(OS_MACOSX)
* fix: share same OSR implementation on macOS
This should also fix the crash when there is navigation on macOS.
* test: osr window should not crash after navigation
* fix: make osr work on Mac properly
* fix: software osr on windows
* fix: software osr on Linux
* fix: compilation error introduced with rebase
* fix: split local surface id allocation into two
* Update osr_host_display_client_mac.mm
* chore: update copyright year
* fix: update patch
2019-04-17 14:10:04 -07:00
Shelley Vohr
1478bd36fd
refactor: remove superfluous ScopedAllowBaseSync in desktopCapturer ( #17842 )
2019-04-17 14:32:24 -04:00
Jeremy Apthorp
fdaa75354a
chore: save HEAD when git-import-patches runs ( #17824 )
2019-04-17 11:16:03 -07:00
Samuel Attard
f901170a4f
docs: fix doc linter warnings ( #17818 )
2019-04-16 19:03:17 -04:00
Jeremy Apthorp
33fd20047c
fix: skip zygote for unsandboxed ppapi processes ( #17823 )
2019-04-16 18:32:37 -04:00
Samuel Attard
78411db4b5
fix: maintain a ref count for objects sent over remote ( #17464 )
...
* spec: clean up after a failed window count assertion
Previously when this assertion failed all tests that ran after the
failed assertion also failed. This ensure that the assertion fails for
the test that actually caused the issue but cleans up the left-over
windows so that future tests do not fail.
* fix: maintain a ref count for objects sent over remote
Previously there was a race condition where a GC could occur in the
renderer process between the main process sending a meta.id and the
renderer pulling the proxy out its weakmap to stop it being GC'ed.
This fixes that race condition by maintaining a "sent" ref count in the
object registry and a "received" ref count in the object cache on the
renderer side. The deref request now sends the number of refs the
renderer thinks it owns, if the number does not match the value in the
object registry it is assumed that there is an IPC message containing a
new reference in flight and this race condition was hit.
The browser side ref count is then reduced and we wait for the new deref
message. This guaruntees that an object will only be removed from the
registry if every reference we sent has been guarunteed to be unreffed.
2019-04-16 16:08:11 -04:00
Samuel Attard
9c3315c416
fix: reset the NSUserNotication handle on dismiss ( #17796 )
2019-04-16 14:38:41 -04:00
Samuel Attard
b7b9efa875
fix: handle remote-debugging-port=0 correctly ( #17800 )
...
By default the Chromedriver will send remote-debugging-port=0 to let the
browser choose a free port to listen on. The chosen port is written to
a known file in the user data dir that is passed to the app through the
CLI.
This PR does two things.
1. Correctly passes the USER_DATA_DIR to the remote debugging server so
it knows where to write the file
2. Adds support for --user-data-dir as we did not support that CLI
argument and Chromedriver relies on being able to tell the "browser"
where to write this file.
Fixes #17354
2019-04-16 14:22:51 -04:00
Samuel Attard
be6fb7cb12
fix: ensure the sandboxed preloads globals do not leak ( #17712 )
2019-04-16 10:57:02 -07:00
Shelley Vohr
b3d8db6996
docs: note desktop audio limitation on macOS ( #17738 )
...
Closes #10515 . Notes fundamental limitation in `navigator.mediaDevices.getUserMedia` for audio capture on some platforms so that users are aware of the ongoing issue and provides a potential workaround.
2019-04-16 10:49:31 -07:00
Pedro Pontes
a7e22c78cf
fix: populate phase of WebMouseWheelEvents generated in webContents.sendInputEvent. ( #17757 )
2019-04-16 12:23:38 -04:00
Samuel Meuli
3bf71a363a
docs: update guide on MAS entitlements and export compliance ( #17695 )
...
* docs: Convert MAS app groups entitlement value to array
* docs: Update info on MAS encryption export compliance
2019-04-15 20:02:06 -04:00
Shelley Vohr
82a076855b
fix: incorrect default path setting for dl items ( #17773 )
2019-04-15 14:11:20 -04:00
Vlad Hashimoto
258d337cf8
fix: crash when alt key pressed with falsy menu bar visiblity ( #17766 )
2019-04-15 13:54:27 -04:00
Cheng Zhao
748632d655
chore: make it possible to turn on NetworkService with cmd flag ( #17729 )
2019-04-11 08:51:17 +09:00
Cheng Zhao
e7c48922e7
fix: FrameSubscriber should not scale frame down ( #17444 )
2019-04-08 11:35:33 +09:00
Milan Burda
235eea6669
docs: add remote module to docs/tutorial/security.md ( #17480 )
2019-04-05 20:41:05 +02:00
Shelley Vohr
2b9bd0f56f
fix crash when passing empty string to recording ( #17698 )
2019-04-05 11:19:06 -07:00
Shelley Vohr
c4020308c9
test: remove non-applicable processMemoryInfo specs ( #17679 )
2019-04-05 07:53:25 -07:00
Shelley Vohr
9c3cb55ef2
refactor: make accessibilitySupportEnabled a property on app ( #17362 )
...
* refactor: make accessibilitySupport a prop on app
* fix docs
* update spec
2019-04-04 19:49:04 -07:00
Electron Bot
11699d8611
Bump v6.0.0-nightly.20190404
2019-04-04 11:42:14 -07:00
Cheng Zhao
ac30185a04
fix: the callback of beginFrameSubscription should pass NativeImage instead of Buffer ( #17548 )
...
* Revert "revert: frame subscriber deprecation and re-enable tests"
This reverts commit f643ce4f66 .
* fix: make sure SkBitmap's pixels are copied
2019-04-04 11:36:12 -07:00
Milan Burda
77d59e99b6
feat: emit process 'loaded' event in sandboxed renderers ( #17680 )
2019-04-04 11:35:06 -07:00
Jeremy Apthorp
127b87c713
refactor: mojofy MessageTo and MessageHost ( #17613 )
2019-04-03 14:22:23 -07:00
Samuel Attard
5d45b59f7f
Merge pull request #17507 from electron/chromium-upgrade/75
...
chore: update to chromium 75.0.3740.3
2019-04-03 13:17:37 -07:00
Alexey Kuzmin
cd8402fc9f
build: optionally exclude some parts of patches from being applied ( #17625 )
2019-04-03 12:42:49 -07:00
Samuel Attard
a65f242dbd
chore: fixup ismediakey patch for lost changes
2019-04-03 11:36:32 -07:00
Shelley Vohr
8c8eac88a4
build: fix spec-main linting for 'only' ( #17666 )
2019-04-03 11:19:39 -07:00
Samuel Attard
59e3164206
build: ensure runner is defined inside the spec callback ( #17664 )
2019-04-02 18:25:45 -07:00
Samuel Attard
76d584c81d
build: force a windows CI run
2019-04-02 17:19:36 -07:00
Samuel Attard
dc4fe537ee
build: auto-generate the browserify step GN inputs ( #17626 )
2019-04-02 17:12:10 -07:00
Jeremy Apthorp
53f6cbccbf
refactor: use mojo for electron internal IPC ( #17406 )
...
* refactor: use mojo for electron internal IPC
* add sender_id, drop MessageSync
* remove usages of AtomFrameMsg_Message
* iwyu
* first draft of renderer->browser direction
* refactor to reuse a single ipc interface
* implement TakeHeapSnapshot through mojo
* the rest of the owl^WtakeHeapSnapshot mojofication
* remove no-op overrides in AtomRendererClient
* delete renderer-side ElectronApiServiceImpl when its pipe is destroyed
* looks like we don't need to overlay the renderer manifest after all
* don't try to send 2 replies to a sync rpc
* undo changes to manifests.cc
* unify sandboxed + unsandboxed ipc events
* lint
* register ElectronBrowser mojo service on devtools WebContents
* fix takeHeapSnapshopt failure paths
* {electron_api => atom}::mojom
* add send_to_all to ElectronRenderer::Message
* keep interface alive until callback is called
* review comments
* use GetContext from RendererClientBase
* robustify a test that uses window.open
* MessageSync posts a task to put sync messages in the same queue as async ones
* add v8::MicrotasksScope and node::CallbackScope
* iwyu
* use weakptr to api::WebContents instead of Unretained
* make MessageSync an asynchronous message & use non-associated interface
* iwyu + comments
* remove unused WeakPtrFactory
* inline OnRendererMessage[Sync]
* cleanups & comments
* use helper methods instead of inline lambdas
* remove unneeded async in test
* add mojo to manifests deps
* add gn check for //electron/manifests and mojo
* don't register renderer side service until preload has been run
* update gn check targets list
* move interface registration back to RenderFrameCreated
2019-04-02 15:38:16 -07:00
Samuel Attard
63d6be0480
chore: add patch to fix MSVC++ incompatibilty on Windows
2019-04-02 14:43:06 -07:00
Samuel Attard
d1a7b42906
chore: disable custom libcxx on windows
2019-04-02 14:43:06 -07:00
Samuel Attard
2fda0bdc89
chore: enable_data_url_support does not exist anymore
2019-04-02 14:43:06 -07:00
Samuel Attard
a34c47b542
build: do not use custom libcxx on windows
2019-04-02 14:43:06 -07:00
Samuel Attard
fe06784a3b
build: disable the custom libcxx on Windows
2019-04-02 14:43:06 -07:00
Jeremy Apthorp
7e9a271852
don't copy in make_shared in win32_desktop_notifications
2019-04-02 14:43:05 -07:00
Samuel Attard
e352d735f6
fix: use default constructor for NotificationData struct
2019-04-02 14:43:05 -07:00
Samuel Attard
43dc4e8a13
chore: include what we use, cmath in toast.cc
2019-04-02 14:43:05 -07:00
Samuel Attard
0fd0b3fb4b
chore: make DCHECK available in win7 toast impl
2019-04-02 14:43:05 -07:00
Samuel Attard
30448bb1b8
build: allow zip files to be created larger than 2GB
2019-04-02 14:43:05 -07:00
deepak1556
515c927b14
fixup! enable_file_url_support and enable_data_url_support have been removed
2019-04-02 14:43:05 -07:00
Samuel Attard
b965abfda8
chore: replace DCHECK(a > b) with DCHECK_GT
2019-04-02 14:43:05 -07:00
Samuel Attard
90a738a4d4
fix: _ASSERT is not defined anymore, the appropriate replacement is DCHECK
2019-04-02 14:43:05 -07:00
Samuel Attard
ab66c4b7f9
fixme: IsNearDeath has been removed upstream
...
Adds a patch that reverts https://chromium-review.googlesource.com/c/v8/v8/+/1526195
in order to let native modules build. nan has a strong dependency on
the IsNearDeath method. This needs to be solved upstream in nan or V8.
2019-04-02 14:43:05 -07:00
Samuel Attard
04a8b9fe5c
fix: base::LaunchOptions environ is now environment
...
Just a rename
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1509795
2019-04-02 14:43:05 -07:00
Samuel Attard
b429e6e2df
chore: disable clang-format and cpplint for impl of HandleExternalProtocol
...
NOLINT disables the linting error that we can't fix because its just
implementing a content API.
We also disable clang-format because it tries to format the // NOLINT
onto a new line which doesn't exactly work
2019-04-02 14:43:04 -07:00
Samuel Attard
126639875d
Revert "device/fido/mac: add more specific check for TouchID availability"
...
This reverts commit 457ff0687c .
The change in Chromium that required this removal was itself reverted.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1504308
2019-04-02 14:43:04 -07:00
Samuel Attard
158e41e578
chore: add missing content:: namespace for BrowserContext in PlatformNotificationService
2019-04-02 14:43:04 -07:00
Samuel Attard
7382c519c9
fix: Add stub implementations for ScheduleTrigger and
...
ReadNextTriggerTimestamp
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1479330
2019-04-02 14:43:04 -07:00
Samuel Attard
866cbb0147
fix: SetCanonicalCookieAsync now takes the full CookieOptions
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1471244
2019-04-02 14:43:04 -07:00
Samuel Attard
7467e91880
fix: RFH->ExecuteJavascriptForTesting now requires a callback
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1492042
2019-04-02 14:43:04 -07:00
Samuel Attard
74ac80e218
fix: ViewHierarchyChangedDetails moved to the views namespace
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1531481
2019-04-02 14:43:04 -07:00
Samuel Attard
ab92cfd174
fix: enable_file_url_support and enable_data_url_support have been
...
removed
Unsure how the change in default of file_url_support affects us
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1512337
2019-04-02 14:43:04 -07:00
Samuel Attard
f95de3d6f3
fix: RFH->ExecuteJavascript now requires a callback
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1492042
2019-04-02 14:43:04 -07:00
Samuel Attard
2bf740d2fe
fix: remove enable_data_url_support from OnNetworkServiceCreated
...
data URLs are _always_ enabled in the network service now and this is
enforced in the Content layer.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1512337
2019-04-02 14:43:04 -07:00
Samuel Attard
406ceaabd1
chore: update permission_status.h include for new path
2019-04-02 14:43:03 -07:00
Samuel Attard
50b9933705
build: update circle base image and mac docs for 10.13 SDK
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
e44b5263a1
add extra arguments to HandleExternalProtocol
...
https://chromium-review.googlesource.com/c/chromium/src/+/1491812
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
47d5f9f901
add //ui/base/idle dep
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
9819433e88
fixup! download gn from cipd instead of GCS
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
e2f0852c30
fixup! download gn from cipd instead of GCS
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
9cc4cb2934
download gn from cipd instead of GCS
...
https://chromium-review.googlesource.com/c/chromium/src/+/1519726
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
2dc422234a
update chromium patches
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
0f990c3bdd
update boringssl patches
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
7116c108d7
chore: update to chromium 75.0.3740.3
2019-04-02 14:43:02 -07:00
Tyler Dennis
5b696491db
docs: remove webaudio doc from browserwindow options ( #17633 )
2019-04-02 13:46:45 -07:00
Kilian Valkhof
57dd192dcd
docs: Lead with packaging tools on distribution page ( #17639 )
...
* Lead with packaging tools on distribution page
* fix trailing whitespace
2019-04-02 13:45:35 -07:00
Shelley Vohr
0431997c8d
refactor: make applicationMenu a property on app ( #17361 )
2019-04-02 13:36:57 -07:00
Shelley Vohr
d412582f72
docs: clarify cookie domain normalization ( #17590 )
2019-04-02 13:04:20 -07:00
Roller Bot
d50e8a5c4c
chore: bump chromium in DEPS to 74.0.3729.58 ( #17657 )
2019-04-02 10:26:42 -07:00
Mark Lee
66473e19cb
Fix typos in feature request template instructions ( #17651 )
2019-04-02 11:20:36 -05:00
Shelley Vohr
8ea33d69ac
fix: match net module headers & http.IncomingMessage headers ( #17517 )
...
* fix: match net module headers & http.IncomingMessage headers
* update net doc for cleanliness
* address feedback from review
* Update spec/api-net-spec.js
Co-Authored-By: codebytere <codebytere@github.com >
* add special cookie case
2019-04-02 07:41:19 -07:00
Jeremy Apthorp
7c6cedb119
test: de-flake getAllWebContents test by moving it to spec-main ( #17610 )
2019-04-01 18:28:11 -07:00
Jeremy Apthorp
eb27e9b055
refactor: move //electron/manifests:manifests target into main BUILD.gn ( #17611 )
2019-04-01 18:25:19 -07:00
Samuel Attard
75442b794f
fix: make devtools extensions load correctly ( #17614 )
2019-03-30 17:36:13 -07:00
Milan Burda
d597a0e8b0
refactor: expose ipcRendererInternal to the main world for window-setup using the content script world pattern ( #17591 )
2019-03-29 18:10:21 -07:00
Samuel Attard
b8dbe4bc15
spec: add tests for the autoUpdater on macOS that actually test if it works ( #17442 )
...
* spec: add tests for the autoUpdater on macOS that actually test if it works
* spec: add express as dep
* spec: add logic to auto-trust self-signed certificate and not run autoupdate specs on MAS
* build: fix the step name for importing the codesign cert
* chore: update updater spec PR as per feedback
* fix: s/atomBinding/electronBinding
* build: use spawn instead of exec
2019-03-29 17:32:52 -07:00
Roller Bot
5045b0a962
chore: bump chromium in DEPS to 74.0.3729.48 ( #17606 )
2019-03-29 13:44:19 -07:00
Samuel Attard
953d1ea635
fix: ensure dots in content script patterns aren't used as wildcards ( #17593 )
...
* fix: ensure dots in content script patterns aren't used as wildcards
* chore: sanitise all regexp special chars
* chore: extract to helper
* chore: fixup helper
2019-03-28 14:03:37 -07:00
Samuel Attard
32c9597cbc
build: ensure we use objc regexps for export-patches ( #17598 )
...
* build: ensure we use objc regexps for export-patches
* build: also use objc for *.m
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com >
2019-03-28 14:01:43 -07:00
Shelley Vohr
808783a5e4
fix: crashReporter.getParameters() takes no params ( #17459 )
2019-03-28 15:04:16 -04:00
Roller Bot
69d4c91895
chore: bump chromium in DEPS to 74.0.3729.45 ( #17589 )
2019-03-28 11:16:45 -07:00
Heilig Benedek
7a47e64e65
fix: update patch to make Windows key work with global shortcuts ( #17565 )
2019-03-28 11:15:22 -07:00
Samuel Attard
3475cd168e
fix: handle a race condition between preload scripts executing and ( #17577 )
...
navigations
There is a race condition between DidCreateScriptContext and another
navigation occuring in the main process. If the navigation occurs while
the preload script is running, the same process is re-used. This
ensures that any pending navigations are completely removed / ignored
when we trigger a new navigation.
Fixes #17576
2019-03-28 11:13:05 -07:00
John Kleinschmidt
7eaa57b116
build: remove native mksnapshot for arm/arm64 ( #17561 )
...
* build: remove native mksnapshot for arm/arm64
2019-03-28 11:05:43 -04:00
Milan Burda
8cf15cc931
feat: only allow bundled preload scripts ( #17308 )
2019-03-28 11:38:51 +01:00
Richard Townsend
3d307e5610
fix: correct crash reporter for Windows on Arm ( #17533 )
...
ARM64 cleans up and moves around RUNTIME_FUNCTION structure fields.
With this patch applied, electron should build cleanly for Windows on Arm.
2019-03-27 11:30:11 -07:00
Samuel Attard
f4434763fe
fix: use file path as key for safeDialogs on filesystem ( #17546 )
2019-03-27 11:21:10 -07:00
Samuel Attard
2188a6ea99
fix: set default_id and cancel_id correctly on confirm dialogs ( #17547 )
2019-03-27 11:15:58 -07:00
Shelley Vohr
4e57a732a8
feat: allow windows to be excluded from the windows menu ( #17404 )
...
* feat: allow windows to be excluded from the windows menu
* excludedfromWindowsMenu => excludedFromShownWindowsMenu
* implement no-op for win & linux
2019-03-27 08:10:23 -04:00
Samuel Attard
ec5e0ef06e
build: speed up windows download of external binaries ( #17559 )
2019-03-26 20:22:54 -05:00
Roller Bot
75b4db60cf
chore: bump chromium in DEPS to 74.0.3729.38 ( #17555 )
2019-03-26 13:26:36 -07:00
Shelley Vohr
34eb5d0815
fix: correctly return properties on the netLog module ( #17525 )
2019-03-25 22:40:38 -04:00
Milan Burda
336db33d18
refactor: use ipcMainUtils.invokeInWebContents / ipcRendererUtils.handle helpers for Chrome APIs ( #17417 )
2019-03-26 11:38:35 +09:00
Milan Burda
546466b209
feat: add <webview>.getWebContentsId() ( #17407 )
2019-03-26 10:57:27 +09:00
Samuel Attard
9e26dfaa06
build: use async remove method to handle errors better ( #16917 )
...
On windows removeSync randomly seems to fail with DIRNOTEMPTY. By using
the async version fs-extra will do some back-off-retry logic to
hopefully get this dir deleted
2019-03-26 10:34:03 +09:00
Milan Burda
cbd884060e
fix: validate sender for replies in ipcMainInternalUtils.invokeInWebContents() ( #17416 )
2019-03-26 10:15:51 +09:00
Milan Burda
95df531b33
fix: add missing buffer size check in nativeImage ( #17465 )
2019-03-26 10:13:39 +09:00
Robo
6c20c6e668
refactor: Enable network service (Part 1) ( #17431 )
...
* Convert InspectableWebContentsImpl::LoadNetworkResource to SimpleURLLoader
https://bugs.chromium.org/p/chromium/issues/detail?id=721408
* Plumb creation of network context with the service
2019-03-26 10:10:48 +09:00
Shelley Vohr
4ec2f8b67b
chore: remove some bot config options ( #17506 )
2019-03-22 19:29:23 -05:00
Shelley Vohr
a5febe392c
chore: update issue templates with guidelines ( #17505 )
2019-03-22 16:56:52 -07:00
Cheng Zhao
49f13e38f9
fix: close context menu before popup ( #17474 )
2019-03-21 21:56:22 -07:00
Samuel Attard
d2ad8efef4
build: pass through value of unknown flag as well as the flag to make --grep work again ( #17485 )
2019-03-21 12:24:07 -07:00
Nitish Sakhawalkar
a16dc13f85
chore: Update node commit sha ( #17486 )
...
No changes made to node canary, just rebased with fixups.
This change updates to the new commit of `electron-node-canary`.
2019-03-21 14:19:49 -05:00
Samuel Attard
784f9742bc
build: auto-fix whitespace in docs in pre-commit hook ( #17490 )
2019-03-21 12:15:55 -07:00
Jeremy Apthorp
6555be2636
chore: bump chromium to 74.0.3729.27 (master) ( #17345 )
...
* chore: bump chromium to 74.0.3729.5 (master)
* Remove ScopedBlockingCall constructor without location
https://chromium-review.googlesource.com/c/chromium/src/+/1496560
* Use XCode 9.4.1 for Mac SDK 10.13
* chore: roll chromium 74.0.3729.27
2019-03-21 11:45:22 -04:00
Milan Burda
07b02653ba
docs: update sandbox-option.md ( #17468 )
...
* docs: update sandbox-option.md
* Update docs/api/sandbox-option.md
Co-Authored-By: miniak <milan.burda@gmail.com >
2019-03-21 14:41:53 +01:00
Shelley Vohr
b25279df89
docs: clarify documentation for getLastCrashReport ( #17458 )
...
* docs: clarify documentation for getLastCrashReport
* address feedback
2019-03-20 15:34:21 -07:00
Shelley Vohr
b140a82fe8
fix: take foreground visibility into account for isVisible on macOS ( #17463 )
2019-03-20 15:33:59 -07:00
Milan Burda
a82bbd010e
build: strip trailing whitespace in docs ( #17488 )
2019-03-20 13:12:47 -07:00
Klaus Sinani
1c7b3026a6
docs: Use correct image URL on docs/tutorial/windows-taskbar.md ( #17467 )
2019-03-20 10:01:28 -07:00
Samuel Attard
45d90e77b7
fix: use a more unique identifier for NSUserNotification instances ( #17469 )
...
So although apple has it documented that notifications with duplicate identifiers in the same session won't be presented. They apparently forgot to mention that macOS also non-deterministically and without any errors, logs or warnings will also not present some notifications in future sessions if they have a previously used identifier.
As such, we're going to truly randomize these identifiers so they are
unique between apps and sessions. The identifier now consists of a
randomly generated UUID and the app bundle id.
2019-03-20 09:53:20 -07:00
Milan Burda
de1bacddd9
docs: process.getProcessMemoryInfo() returns a Promise ( #16593 )
...
* docs: process.getProcessMemoryInfo() returns a Promise
* chore: bump electron-typescript-definitions to get Promise<T> fix
2019-03-20 17:26:57 +01:00
Cheng Zhao
671533f7d2
fix: check the result when calling js function ( #17443 )
...
* fix: check the result when calling js function
* test: should not crash when callback returns nothing
2019-03-20 08:27:06 -07:00
Samuel Attard
1571461bae
build: add a workaround for circleci known_hosts issue ( #17471 )
2019-03-19 19:37:52 -07:00
Shelley Vohr
1d93bc76cd
feat: expose colorSpace to display object ( #17405 )
...
* feat: expose colorSpace to display object
* update doc
* add a spec
2019-03-19 15:12:03 -07:00
Milan Burda
4c51fa93f5
feat: add systemPreferences.getAnimationSettings() ( #17382 )
2019-03-19 12:15:40 -07:00
Milan Burda
4d8e024b6d
spec: fix isEmpty() checks in nativeImage tests ( #17441 )
2019-03-19 12:13:15 -07:00
Zachary
9b359c6a75
docs: correction to ipc-main-event.md 'frane' to 'frame' ( #17424 )
2019-03-19 12:07:30 -07:00
Milan Burda
7389dfca59
fix: report module name when require fails in sandboxed renderers ( #17413 )
2019-03-19 12:00:41 -07:00
Milan Burda
06a4594435
chore: remove special handling for dialog methods in remote module ( #17412 )
...
* chore: remove special handling for dialog methods in remote module
* refactor: remove callFunction helper
2019-03-19 11:59:33 -07:00
Benny Neugebauer
f4c3151815
docs: fix typo in webview.md ( #17454 )
2019-03-19 11:43:19 -07:00
Milan Burda
ddd51525f1
refactor: make ELECTRON_INSPECTOR_CONTEXT_MENU handler async ( #17411 )
2019-03-19 10:37:43 -07:00
Shelley Vohr
879462af4b
docs: document modernization initiative more clearly ( #17376 )
...
* docs: document modernization initiative more clearly
2019-03-19 10:31:45 -07:00
Milan Burda
53f4af7722
fix: regressions introduced by adding world isolation to Chrome extension content scripts ( #17422 )
2019-03-19 14:45:48 +01:00
Shelley Vohr
2fb9085e5b
feat: add tray.getTitle() ( #17385 )
...
* feat: add tray.getTitle
* fix spec
2019-03-18 12:40:34 -07:00
Shelley Vohr
38d75010c7
chore: rename atomBinding to electronBinding ( #17419 )
2019-03-18 12:37:06 -07:00
Samuel Attard
5025c991ee
fix: pass the correct HostPort into the node inspector ( #17380 )
...
Fixes #17348
2019-03-18 09:19:33 -07:00
Shelley Vohr
db29978fe0
fix: throw error when inserting menu items out-of-range ( #17401 )
...
* fix: throw error when inserting menu items out-of-range
* also check pos < 0
2019-03-18 07:58:42 -07:00
Shelley Vohr
f09f43a4a9
chore: remove unused arg parsing code in dialog ( #17420 )
2019-03-18 07:58:03 -07:00
Samuel Attard
108545e416
spec: add new test runner for main-process based tests ( #17325 )
2019-03-17 14:49:00 -07:00
Milan Burda
3a091cdea4
refactor: implement clipboard APIs without the remote module ( #17200 )
2019-03-15 17:32:04 -07:00
Samuel Attard
b502c62111
spec: fix fixtures path for second instance test
2019-03-15 12:29:25 -07:00
Samuel Attard
984e77e470
fix: spec runner not parsing correctly
2019-03-15 10:57:12 -07:00
Heilig Benedek
43ef561d48
feat: enable NodeIntegrationInSubFrames for webview ( #17226 )
...
* feat: enable nodeIntegrationInSubFrames for webview
* test: add tests
* docs: document webview's nodeintegrationinsubframes
* lint: fix indent
* fix: resolve some merge bloopers
2019-03-15 10:39:20 -07:00
Samuel Attard
4b6b59cc82
chore: update PR as per feedback
2019-03-14 17:22:42 -07:00
Shelley Vohr
961c9a88a8
feat: promisify dialog.showCertificateTrustDialog() ( #17181 )
...
* feat: promisify dialog.showCertificateTrustDialog()
* update promisification doc
2019-03-15 09:02:50 +09:00
Samuel Attard
6b326f7924
build: spread runner args onto the runner
2019-03-14 16:15:23 -07:00
Milan Burda
f15d0b1ed7
refactor: make ELECTRON_INSPECTOR_CONFIRM handler async ( #17378 )
2019-03-14 15:29:40 -07:00
Samuel Attard
df57ac4ce7
chore: steal all unknown args for use by the spec runners
2019-03-14 15:23:21 -07:00
Shelley Vohr
cb4ede453f
chore: add deprecation helper for fnToProperty ( #17377 )
...
* chore: add deprecation helper for fnToProperty
* add a test
2019-03-14 15:19:19 -07:00
Samuel Attard
be60f93bd0
fix: we can not use ts-node apaprently
2019-03-14 13:39:53 -07:00
Shelley Vohr
12b6a0f5b2
feat: add native emoji picker ( #17359 )
2019-03-14 13:39:52 -07:00
Samuel Attard
46e5767527
update for PR feedback
2019-03-14 13:18:16 -07:00
Samuel Attard
259bc3a918
build: remove log from the spec runner
2019-03-14 12:50:06 -07:00
Samuel Attard
a55d1ef305
spec: chai is funky
2019-03-14 12:50:06 -07:00
Samuel Attard
6b65e3523e
wut
2019-03-14 12:50:06 -07:00
Samuel Attard
b967ae4c51
build: downgrade chai to work around nested adssertion bug
2019-03-14 12:50:06 -07:00
Samuel Attard
2023e32130
spec: push electron/spec into the spec runner args before the linux dbus wrapper
2019-03-14 12:50:06 -07:00
Samuel Attard
3656d12cba
build: auto generate electron.d.ts in the spec runner if it is missing
2019-03-14 12:50:06 -07:00
Samuel Attard
ca701bb9af
spec: initial spike of main-process based tests
2019-03-14 12:50:06 -07:00
Milan Burda
2e89348541
feat: promisify executeJavaScript ( #17312 )
2019-03-14 12:08:54 -07:00
Milan Burda
878538f2e8
feat: add safer nativeImage.createFromBitmap(), which does not decode PNG/JPEG ( #17337 )
2019-03-14 11:00:38 -07:00
Shelley Vohr
aa8b66aae1
feat: promisify session.getBlobData() ( #17303 )
2019-03-14 08:11:01 -07:00
d1g1t4ld1n4
c082b3964c
docs: clarification of requestSingleInstanceLock() docs ( #17304 )
...
* docs: upstream doc links added to default window
Added the link to the Node docs and Chromium docs to the default window (not sure if I linked the chromium docs correctly, please let me know/feel free to suggest changes if you know the correct way to do so)
* docs: clarify what requestSingleInstanceLock() does
* Revert "docs: upstream doc links added to default window"
This reverts commit 829417cf29 .
* docs: clarify what requestSingleInstanceLock() does
2019-03-13 19:42:16 -07:00
Shelley Vohr
d9234798d3
chore: clean up promise resoution with helpers ( #17268 )
2019-03-13 14:30:21 -07:00
Shelley Vohr
3e5a98b5f4
feat: promisify In-App Purchase ( #17355 )
...
* feat: promisify In-App Purchase
* use mate::Arguments in GetProducts
2019-03-13 13:56:01 -07:00
Milan Burda
faabd0cc8b
refactor: add ipcMainUtils.invokeInWebContents / ipcRendererUtils.handle helpers ( #17313 )
2019-03-13 12:03:17 -07:00
Milan Burda
df7dc9396e
fix: don't crash when nativeImage.createFromBuffer() called with invalid buffer ( #17344 )
2019-03-13 08:26:11 -07:00
Jeremy Apthorp
90fcc574f4
chore: add description to accelerator.patch ( #17346 )
2019-03-13 10:11:07 +05:30
Jeremy Apthorp
86291236a0
spec: robustify some webview tests ( #17301 )
2019-03-12 15:50:28 -07:00
Heilig Benedek
14cc8a1808
fix: improve focused menu bar item visibility ( #17291 )
2019-03-12 15:29:45 -07:00
Shelley Vohr
5eb75e91b9
chore: fix default_app showMessageBox ( #17357 )
2019-03-12 14:10:18 -07:00
Shelley Vohr
8991c0056e
feat: promisify dialog.showMessageBox() ( #17298 )
...
* feat: promisify dialog.showMessageBox()
* address feedback from review
2019-03-12 11:06:59 -07:00
Jeremy Apthorp
ea6a926494
test: add test for second-instance event parameter ( #16798 )
...
* test: add test for second-instance event parameter
* robustify getting data from child process
* fix test on windows
* fix lint
* Update api-app-spec.js
* fix package-lock.json
2019-03-12 11:56:28 -04:00
Milan Burda
48a95f9677
fix: remove non-existent gpu-crashed event on <webview> ( #17317 )
2019-03-11 17:25:46 -07:00
Nitish Sakhawalkar
e77d065875
chore: node_includes header no longer needs to be at the end of the list ( #17090 )
...
Until one of the latest version of node, the definition of the DISALLOW_COPY_AND_ASSIGN macro in node was different than in chromium. That is no longer the case, so just undefining the macro in node_includes.h works.
2019-03-11 17:13:43 -07:00
Samuel Maddock
f943db7ad5
feat: Add content script world isolation ( #17032 )
...
* Execute content script in isolated world
* Inject script into newly created extension worlds
* Create new content_script_bundle for extension scripts
* Initialize chrome API in content script bundle
* Define Chrome extension isolated world ID range
1 << 20 was chosen as it provides a sufficiently large range of IDs for extensions, but also provides a large enough buffer for any user worlds in [1000, 1 << 20).
Ultimately this range can be changed if any user application raises it as an issue.
* Insert content script CSS into document
This now avoids a script wrapper to inject the style sheet. This closely matches the code used by chromium in `ScriptInjection::InjectCss`.
* Pass extension ID to isolated world via v8 private
2019-03-11 16:27:57 -07:00
Milan Burda
6072da239d
feat: add global renderer-process-crashed event ( #17315 )
2019-03-11 16:17:24 -07:00
Milan Burda
a8698d092b
chore: increase security of default_app ( #17318 )
2019-03-11 16:13:46 -07:00
Jeremy Apthorp
188d31132b
spec: robustify sendInputEvent beforeEach hook ( #17300 )
2019-03-11 13:35:44 -07:00
Samuel Attard
c7a453226d
fix: remove label/image from segment if they are mutated to undefined/null ( #17323 )
2019-03-11 11:13:36 -07:00
Electron Bot
b43e4b8e0e
Bump v6.0.0-nightly.20190311
2019-03-11 10:56:01 -07:00
Electron Bot
a958eb9c44
Bump v6.0.0-nightly.20190308
2019-03-08 19:38:21 -08:00
Electron Bot
7343a2f232
Revert "Bump v6.0.0-nightly.20190308"
...
This reverts commit 40af881844 .
2019-03-08 19:36:24 -08:00
Electron Bot
40af881844
Bump v6.0.0-nightly.20190308
2019-03-08 19:36:08 -08:00
Samuel Attard
a968f4f999
build: remove strip_debug_info gn arg declaration as it is android only and causing release build failures on windows ( #17306 )
2019-03-08 19:34:39 -08:00
Shelley Vohr
9ea6c01e02
feat: promisify session.clearAuthCache() ( #17259 )
...
* feat: promisify session.clearAuthCache()
* remove unused callback runner helpers
2019-03-08 18:41:42 -08:00
Electron Bot
58a9a81895
Revert "Bump v6.0.0-nightly.20190308"
...
This reverts commit 4728cebd9e .
2019-03-08 17:46:53 -08:00
Electron Bot
4728cebd9e
Bump v6.0.0-nightly.20190308
2019-03-08 17:13:26 -08:00
Samuel Attard
699ef08e84
Merge pull request #17088 from electron/chromium-upgrade/74
...
feat: upgrade to Chromium 74.0.3724.8
2019-03-08 17:08:59 -08:00
Samuel Attard
5c42f57197
test: skip failing win32 devtools keyboard spec
2019-03-08 17:07:10 -08:00
Samuel Maddock
8ee153dae1
feat: add support for content scripts 'all_frames' option ( #17258 )
...
* feat: add support for content scripts 'all_frames' option
* merged content script tests
'all_frames' test now runs on all variants of sandbox/contentIsolation configurations :D
2019-03-08 15:53:25 -08:00
Seba Kerckhof
b7fc50b7ca
docs: Add information on packaging a build ( #17086 )
...
* docs: Add information on packaging a build
* Stripping only applies to linux
2019-03-08 15:24:00 -08:00
Samuel Attard
e185057ef9
chore: fix linting issues in atom_api_cookies.cc
2019-03-08 15:13:22 -08:00
Jeremy Apthorp
a46b8efc8a
temporarily disable verify-mksnapshot on arm
2019-03-08 15:13:22 -08:00
Jeremy Apthorp
d548c8c692
fix: build on arm
2019-03-08 15:13:21 -08:00
deepak1556
457ff0687c
device/fido/mac: add more specific check for TouchID availability
...
https://chromium-review.googlesource.com/c/chromium/src/+/1487811
2019-03-08 15:13:12 -08:00
Jeremy Apthorp
bf6fea3b59
AttachToOuterWebContentsFrame => AttachInnerWebContents
...
https://chromium-review.googlesource.com/c/1492653
2019-03-08 15:13:12 -08:00
Jeremy Apthorp
0d534b3c52
fix: compile error in frame_subscriber.h
...
https://chromium-review.googlesource.com/c/1460096
2019-03-08 15:13:12 -08:00
deepak1556
47b92b6413
chore: roll 74.0.3724.8
2019-03-08 15:13:12 -08:00
Jeremy Apthorp
9c76ce38e3
appveyor workaround for appveyor/ci#2420
2019-03-08 15:10:52 -08:00
Jeremy Apthorp
2840e45920
use patched robotjs to fix compile failure
2019-03-08 15:10:52 -08:00
Jeremy Apthorp
38304be688
force abstract-socket version to fix compile error
2019-03-08 15:10:52 -08:00
Jeremy Apthorp
990ba15157
update nan in spec deps
2019-03-08 15:10:52 -08:00
Jeremy Apthorp
69bf9aa605
fix extra-semi warnings
2019-03-08 15:10:52 -08:00
deepak1556
8043e2e278
build: only download gn binary for lint step
2019-03-08 15:06:16 -08:00
deepak1556
e8f6f31fe4
Disable network service
...
https://github.com/electron/electron/issues/15791
2019-03-08 15:06:16 -08:00
deepak1556
0243b0ffc1
Change base::JSONReader::ReadToValue() to return Optional.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1476186
2019-03-08 15:06:16 -08:00
deepak1556
fb9d1bd83c
Change net::CookieStore::SetCookiesCallback to return CookieInclusionStatus
...
https://chromium-review.googlesource.com/c/chromium/src/+/1470931
2019-03-08 15:06:16 -08:00
deepak1556
c735116cc3
Take scheme in CookieStore::SetCanonicalCookieAsync, not just whether it's secure.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1450420
2019-03-08 15:06:16 -08:00
deepak1556
457abecad6
Remove obsolete WebVector::IsEmpty().
...
https://chromium-review.googlesource.com/c/chromium/src/+/1482145
2019-03-08 15:06:16 -08:00
deepak1556
bfe876afcd
Use IPEndPoint instead of HostPortPair
...
https://chromium-review.googlesource.com/c/chromium/src/+/1473094
2019-03-08 15:06:16 -08:00
deepak1556
3f4f774838
Remove const interfaces from content::ResourceRequestInfo.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1474632
2019-03-08 15:06:16 -08:00
deepak1556
66128a7152
Add RenderFrameHost as parameter to WebContentsDelegate::HandleContextMenu
...
https://chromium-review.googlesource.com/c/chromium/src/+/1472696
2019-03-08 15:06:16 -08:00
Jeremy Apthorp
0bae707995
fix extra-semi warning in frame_host_manager.patch
2019-03-08 15:06:16 -08:00
Jeremy Apthorp
7245546274
update chromium patches
2019-03-08 15:06:16 -08:00
Jeremy Apthorp
1650ca3699
update v8 patches
...
array_buffer patch upstreamed at https://chromium-review.googlesource.com/c/v8/v8/+/1462003
2019-03-08 15:06:16 -08:00
Jeremy Apthorp
36abc0e547
chore: roll to 74.0.3718.2
2019-03-08 15:06:16 -08:00
deepak1556
ffc32d8130
Move buildtools into src
...
https://chromium-review.googlesource.com/c/chromium/src/+/1450459
2019-03-08 15:06:16 -08:00
deepak1556
43f909a9a3
chore: update is-valid-window
2019-03-08 15:06:15 -08:00
deepak1556
8f15dc4ff9
chore: roll 74.0.3711.0
2019-03-08 15:06:15 -08:00
Jeremy Apthorp
38c3891337
fix: initialize field trial list
...
https://chromium-review.googlesource.com/c/1402880
2019-03-08 15:06:15 -08:00
Jeremy Apthorp
d47ed72d17
FIXME: disable field-trial descriptor DCHECK
2019-03-08 15:05:54 -08:00
Jeremy Apthorp
014654e794
[OnionSoup] Replace content::RendererPreferences with the mojom one.
...
https://chromium-review.googlesource.com/c/1426522
2019-03-08 15:04:32 -08:00
deepak1556
d04d11cfb5
[mojo] include mojo header
...
https://chromium-review.googlesource.com/c/chromium/src/+/1447145
2019-03-08 15:04:32 -08:00
deepak1556
03f9d40635
Expand GpuInfo to include image decode acceleration support.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1471913
2019-03-08 15:04:32 -08:00
deepak1556
527e8f3a31
IWYU: add missing headers
2019-03-08 15:04:32 -08:00
deepak1556
49f414b439
[Mac] Remove GC calls from Chromium.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1471382
2019-03-08 15:04:32 -08:00
deepak1556
43361164e8
Change signature of GetCookieListCallback to include list of excluded cookies
...
https://chromium-review.googlesource.com/c/chromium/src/+/1416151
2019-03-08 15:04:32 -08:00
deepak1556
ccd4a3c80c
CookieStore::DeleteCookieAsync appears unused (outside a few tests), so remove it
...
https://chromium-review.googlesource.com/c/chromium/src/+/1456677
2019-03-08 15:04:32 -08:00
deepak1556
a7e2856bf0
//components/spellcheck: Fix 64-bit truncation issues
...
https://chromium-review.googlesource.com/c/chromium/src/+/1450592
2019-03-08 15:04:32 -08:00
deepak1556
ac609a3d78
Remove deprecated override of RegisterDictionaryPref
...
https://chromium-review.googlesource.com/c/chromium/src/+/1459538
2019-03-08 15:04:32 -08:00
deepak1556
611b36719b
Remove channel_id_path from NetworkContextParams (and other related places)
...
https://chromium-review.googlesource.com/c/chromium/src/+/1435678
2019-03-08 15:04:32 -08:00
deepak1556
59cb0ac32e
Copy base::JSONReader::Read() to ReadDeprecated().
...
https://chromium-review.googlesource.com/c/chromium/src/+/1435715
2019-03-08 15:04:32 -08:00
deepak1556
6f14df039e
[DevTools] Stop passing base::Value to DevToolsManagerDelegate
...
https://chromium-review.googlesource.com/c/chromium/src/+/1459807
2019-03-08 15:04:32 -08:00
deepak1556
4450c26206
[v8] Advance deprecation for Value::BooleanValue
...
https://chromium-review.googlesource.com/c/v8/v8/+/1458245
2019-03-08 15:04:32 -08:00
deepak1556
7270a08f9c
WebSQL: Don't pass name/metadata around, use content::StorageUsageInfo
...
https://chromium-review.googlesource.com/c/chromium/src/+/1432375
2019-03-08 15:04:32 -08:00
deepak1556
b99ff3448e
Use base::BindOnce in notifications code
...
https://chromium-review.googlesource.com/c/chromium/src/+/1418170
2019-03-08 15:04:32 -08:00
deepak1556
00aeb8e5c5
Revert "Disable precompiled headers"
...
This reverts commit 2556d86c8a .
Required clang update is now available.
2019-03-08 15:04:32 -08:00
deepak1556
59703c60ac
Convert remaining JSON service manifests
...
https://bugs.chromium.org/p/chromium/issues/detail?id=895616
2019-03-08 15:04:32 -08:00
deepak1556
04ad579e8f
chore: update patches/common/chromium
2019-03-08 15:04:32 -08:00
deepak1556
a3deae4491
chore: update patches/common/v8
2019-03-08 15:04:31 -08:00
deepak1556
9bc3888378
chore: update patches/common/boringssl
2019-03-08 15:04:31 -08:00
deepak1556
c13bf5692a
chore: roll 74.0.3710.0
2019-03-08 15:03:15 -08:00
Shelley Vohr
fc10620082
feat: promisify session cache methods ( #17185 )
2019-03-08 14:42:03 -08:00
Jeremy Apthorp
652e232813
feat: enable setuid sandbox on linux ( #17269 )
2019-03-08 13:10:26 -08:00
Samuel Attard
890f38e8fa
build: use shx instead of raw cp to support windows ( #17299 )
2019-03-08 12:52:28 -08:00
Shelley Vohr
2769e75b49
feat: promisify session proxy methods ( #17222 )
2019-03-08 12:51:12 -08:00
Jeremy Apthorp
34fb6c2f35
fix: crash in ECDH.setPrivateKey ( #17219 )
2019-03-08 10:50:04 -08:00
Robo
5afb7dc715
refactor: load electron builtin modules with process._linkedBinding ( #17247 )
...
* refactor: load electron builtin modules with process._linkedBinding
NODE_BUILTING_MODULE_CONTEXT_AWARE and process.binding are
removed in https://github.com/nodejs/node/pull/25829 . This changes
uses the alternative available without any functionality change.
* chore: roll node
2019-03-08 10:29:52 -08:00
Shelley Vohr
e5e6aa207c
feat: promisify ses.clearHostResolverCache() ( #17229 )
2019-03-08 10:26:17 -08:00
Samuel Attard
9d8619f305
fix: remove usage of private APIs in the MAS build ( #17224 )
...
* fix: remove usage of abort_report_np in MAS builds
* fix: remove usage of pthread_chdir in MAS builds
* fix: remove usage of setapplicationisdaemon in MAS builds
* chore: update patch manifest
2019-03-08 10:08:56 -08:00
Shelley Vohr
bbfa63fd9d
feat: promisify session.clearStorageData() ( #17249 )
2019-03-08 09:02:30 -08:00
Milan Burda
d34f81972d
refactor: make ELECTRON_BROWSER_SANDBOX_LOAD handler async ( #17107 )
2019-03-08 11:21:41 +01:00
Shelley Vohr
17dab8f239
build: turn gpg signing off for bootstrap ( #17282 )
2019-03-07 18:11:31 -08:00
Shelley Vohr
a4418a9014
chore: add static promise resolution helpers ( #17223 )
...
* chore: add static promise resolution helpers
* address feedback
* address feedback from review
2019-03-07 18:07:04 -08:00
Samuel Attard
61fc95417b
build: fix new TS linting errors ( #17279 )
...
* remove unused _args var
* handle type/variable shadowing
2019-03-07 17:18:10 -08:00
John Kleinschmidt
2be62b1c33
test: fix incorrect reference to skip ( #17278 )
2019-03-07 16:03:10 -08:00
Samuel Maddock
42b7b25ac3
feat: support chrome extensions in sandboxed renderer ( #16218 )
...
* Add content script injector to sandboxed renderer
* Fix 'getRenderProcessPreferences' binding to the wrong object
* Pass getRenderProcessPreferences to content-scripts-injector
* Emit document-start and document-end events in sandboxed renderer
* Use GetContext from RendererClientBase
* Prevent script context crash caused by lazily initialization
* Remove frame filtering logic for onExit callback
Since we're keeping track of which frames we've injected the bundle into, this logic is redundant.
* Add initial content script tests
* Add contextIsolation variants to content script tests
* Add set include
* Fix already loaded extension error
* Add tests for content scripts 'run_at' options
* Catch script injection eval error when CSP forbids it
This can occur in a rendered sandbox when a CSP is enabled. We'll need to switch to using isolated worlds to fix this.
* Fix content script tests not properly cleaning up extensions
* Fix lint and type errors
2019-03-07 16:00:28 -08:00
Jeremy Apthorp
825e526456
build: minor fixes to git-export-patches ( #17276 )
...
* fix: make export-patches robust to tags with dashes
* fix: --output is a required parameter of export-patches
2019-03-07 15:59:17 -08:00
Jeremy Apthorp
ca2c345997
chore: update package-lock.json with npm@latest ( #17146 )
...
* chore: update package-lock.json with npm@latest
* also for spec/
2019-03-07 15:34:33 -08:00
Milan Burda
5791a2a9ec
refactor: use ipcRendererUtils.invoke / ipcMainUtils.handle for desktopCapturer.getSources() ( #16619 )
2019-03-07 15:31:25 -08:00
Samuel Maddock
ac88b3ead5
feat: add 'disableHtmlFullscreenWindowResize' option to webPreferences ( #17203 )
...
This option allows users to prevent the window from resizing when the HTML5 FullScreen API is used.
2019-03-07 15:29:37 -08:00
Felix Rieseberg
f3fc4023cf
refactor: Port renderer/web-view to TypeScript ( #17250 )
2019-03-07 15:26:23 -08:00
Roller Bot
8c6bf9c848
chore: bump chromium in DEPS to 73.0.3683.68 ( #17262 )
2019-03-07 14:52:02 -08:00
Robo
bb88a07a94
fix: gn check errors in release build ( #17274 )
2019-03-07 14:48:22 -08:00
Samuel Maddock
8ec304f32f
fix: run subframe preload bundles in isolated context ( #17165 )
...
* fix: run subframe preload bundles in isolated context
* test subframe contextIsolation when disabled
2019-03-07 14:46:57 -08:00
Felix Rieseberg
5581990d78
build: Update TypeScript, use @typescript-eslint ( #17251 )
...
* build: Update TypeScript to v3.3
* build: Update TypeScript, use @typescript-eslint
2019-03-07 12:56:02 -08:00
Electron Bot
8c4d6438de
Bump v6.0.0-nightly.20190307
2019-03-07 12:51:33 -08:00
Electron Bot
229934ec66
Revert "Bump v6.0.0-nightly.20190307"
...
This reverts commit ab785e73ac .
2019-03-07 12:47:33 -08:00
Electron Bot
ab785e73ac
Bump v6.0.0-nightly.20190307
2019-03-07 12:34:10 -08:00
Robo
d4d6b9862f
fix: make StreamSubscriber ref counted ( #17221 )
...
It is owned by URLRequestStreamJob on the IO thread once request starts,
but if the ownership was abondoned while transfering it to IO thread
which is possible when a request is aborted, then we need to make sure
its destroyed on the right thread to avoid lock in v8.
2019-03-07 20:50:03 +05:30
Jeremy Apthorp
b575631bb0
fix: bad assertion in crypto functions that use BN_bn2bin_padded ( #17220 )
...
* chore: roll node
in particular, this picks up electron/node#70a78f07b, which fixes an issue with incorrect usage of the BN_bn2bin_padded API in boringssl
* fix tests
2019-03-07 07:29:53 +05:30
Heilig Benedek
5422fd9941
fix: backport upstream fixes for color chooser dialogs ( #17227 )
...
* fix: backport upstream fixes for color chooser dialogs
* chore: fix patches, Windows bad, linux good
* Update color_chooser_mac.patch
* Update color_chooser_win.patch
2019-03-07 07:25:15 +05:30
Milan Burda
2733697819
refactor: make ELECTRON_INSPECTOR_SELECT_FILE handler async ( #17235 )
2019-03-06 22:22:45 +01:00
Shelley Vohr
6cb7b8d3a4
feat: promisify dialog.showSaveDialog() ( #17054 )
...
* feat: promisify dialog.showSaveDialog()
* address some feedback from review
* filename => filePath
* fix last filename => filePath
2019-03-05 13:48:20 -08:00
Roller Bot
92c9dbc179
chore: bump chromium in DEPS to 73.0.3683.65 ( #17234 )
2019-03-05 11:01:38 -08:00
Jeremy Apthorp
5a88d9e6fc
docs: add troubleshooting note about pywin32 ( #17216 )
2019-03-05 10:40:52 -08:00
Koen [XII]
aa863f3246
Fix typo in registerSchemesAsPrivileged reference ( #17214 )
2019-03-05 09:20:52 -08:00
Shelley Vohr
e05985145b
feat: promisify dialog.showOpenDialog() ( #16973 )
...
* feat: promisify dialog.showOpenDialog()
* address feedback from review
* address feedback from review
2019-03-05 05:54:48 -08:00
Robo
7936237677
build: enable gn check for //electron:electron_lib ( #17100 )
...
* build: enable gn check for //electron:electron_lib
* ci: add gn check step
* ci: set depot_tools path
* chrome_key_systems_provider.h nogncheck
* chore: fix gn check errors on windows
* chore: gn check //electron:electron_app
2019-03-05 10:38:55 +05:30
Charles Kerr
ed31cfebc9
fix: check for pane focus before removing it. ( #17164 )
...
Fixes #16883 . This bug seems to have been introduced in the #15302 's
menu a11y refactor and is new in 5-0-x.
2019-03-04 09:47:59 -06:00
Samuel Attard
8dcb5662e3
refactor: remove chromium/net_url_request_job.patch ( #17174 )
...
Does not appear to be used any more
2019-03-02 15:23:47 +05:30
Jeremy Apthorp
f4169f3491
chore: bump chromium to 73.0.3683.61 (master) ( #17191 )
...
also backport https://chromium-review.googlesource.com/c/chromium/src/+/1496448
2019-03-01 12:35:27 -08:00
Milan Burda
bbd1ae315a
refactor: use invoke/invokeSync helpers for <webview> implementation ( #16784 )
2019-03-01 13:33:03 -05:00
Jeremy Apthorp
2adbc7836b
refactor: prevent node macros from overriding base ( #17178 )
2019-03-01 10:04:30 -08:00
Felix Rieseberg
59a7fa6927
refactor: Port api/web-frame to TypeScript ( #17053 )
2019-03-01 08:39:04 +00:00
Milan Burda
676c02611d
spec: add missing checks to "validates process APIs access in sandboxed renderer" ( #17129 )
2019-02-28 22:24:18 -08:00
Jeremy Apthorp
67f04c0370
docs: remove dead link to chromiumdev slack ( #17161 )
...
* docs: remove dead link to chromiumdev slack
Closes #17154
* Update chromium-development.md
2019-02-28 16:43:55 -05:00
Shelley Vohr
544d8a423c
feat: allow MenuItems to work optionally when hidden ( #16853 )
...
* feat: allow MenuItems to work optionally when hidden
* fix: actually include forward_declaration
2019-02-28 17:00:54 +00:00
Linda_pp
6d55498cc7
docs: Fix types and missing property in WebRequest APIs ( #17046 )
...
* docs: Fixed hook methods of WebRequest accepts null as listener
* docs: Added missing `referrer` property in OnBeforeRequestDetails
* docs: Add `referrer` to each webRequest responses
2019-02-28 09:30:38 +00:00
Milan Burda
64078324bf
refactor: make CHROME_GET_MESSAGES handler async ( #17148 )
2019-02-27 21:30:35 -06:00
Nitish Sakhawalkar
bfa07ec4be
feat: Add new powerMonitor synchronous API ( #17144 )
...
`powerMonitor.querySystemIdleState` and `powerMonitor.querySystemIdleTime` had async backing APIs in chromium (https://chromium-review.googlesource.com/c/chromium/src/+/1379183 ). However, that has changed in ch73. So, this PR deprecates the old async APIs and adds new sync APIs.
2019-02-27 15:54:01 -05:00
Jeremy Apthorp
29ab74688d
chore: update CODEOWNERS to reflect governance ( #17143 )
...
* chore: update CODEOWNERS to reflect governance
* Add /patches/ @electron/wg-upgrades
* Update CODEOWNERS
2019-02-27 15:17:35 -05:00
qwabra
d4cfaaf047
Update debugging-main-process-vscode.md ( #16363 )
...
[console.log() not printing to terminal when debugging Electron apps. #49 ](https://github.com/Microsoft/vscode-recipes/issues/49#issuecomment-354367330 )
2019-02-27 15:03:15 -05:00
Nitish Sakhawalkar
5da89c3a2b
chore:Remove transparency hack ( #17128 )
...
This change undoes the hack that was put in because of a bug in chromium. That has since been fixed in chromium, so this is no longer need, hence removing.
The 'BrowserWindow' > 'preserves transparency' test, validates this working.
2019-02-27 14:51:30 -05:00
Samuel Attard
e01c3615c4
chore: replace usage of deprecated beginSheetModalForWindow API ( #16994 )
2019-02-27 10:23:17 -08:00
Luca Carettoni
1bbb47be5b
docs: Improved security doc, particularly around isolation and tool ( #16703 )
...
* Improved security doc, particularly around isolation and tool
* Fixes as suggested by @ckerr
* libcc update
* fixing lint stuff
2019-02-27 10:09:38 -08:00
Electron Bot
a07cb2afd7
Bump v6.0.0-nightly.20190227
2019-02-27 09:55:19 -08:00
Roller Bot
4e25dc3c3c
chore: bump chromium in DEPS to 73.0.3683.58 ( #17156 )
2019-02-27 09:48:08 -08:00
Shelley Vohr
5ecda17c7a
refactor: make shell.ShowItemInFolder asynchronous ( #17121 )
...
* fix: add scoped_blocking_calls to platform_win
https://chromium-review.googlesource.com/c/chromium/src/+/1191582
* feat: make ShowItemInFolder async
* address feedback from review
* fix build
2019-02-27 12:58:23 +00:00
Samuel Attard
08066581b0
fix: set cancelId to 1 when defaultId == 0 and no 'cancel' button ( #17123 )
2019-02-27 08:24:13 +00:00
Johann Fuechsl
42aa375497
fix: access of out-of-scope reference in ShowOpenDialog and ShowSaveDialog ( #17126 )
...
In the mac file dialog implementation of show*OpenDialog, a settings
object is passed down to the dialog completion handler.
However at the time the completion handler is invoked, the settings
object is already out-of-scope, resulting in an invalid access to
the security_scoped_bookmarks flag.
The fix is to capture the value of the flag and passing that directly
to the completion handler.
fixes issue #16664
2019-02-27 08:14:04 +00:00
Milan Burda
5a99ea4c46
refactor: merge ipcMainUtils.handle / handleSync ( #17062 )
2019-02-26 15:48:26 -08:00
Electron Bot
848d16525f
Revert "Bump v6.0.0-nightly.20190226"
...
This reverts commit 7c78f11b82 .
2019-02-26 15:20:32 -08:00
Electron Bot
7c78f11b82
Bump v6.0.0-nightly.20190226
2019-02-26 14:56:19 -08:00
Robo
28899c3885
chore: roll chromium 73.0.3683.54 ( #17124 )
...
* chore: roll chromium 73.0.3683.52
* chore: roll 73.0.3683.54
2019-02-26 21:35:27 +00:00
Shelley Vohr
be8f9bd597
chore: clean up issue templates ( #17085 )
...
* chore: clean up issue templates
* address feedback from review
* cleanup
2019-02-26 17:51:29 +09:00
Shelley Vohr
d9c7735a04
chore: augment promisifyMultiArg deprecation ( #17066 )
2019-02-25 18:25:25 -08:00
Mark Lee
7a7389ab1c
build: upgrade to asar@^1.0.0 ( #17061 )
...
* build: upgrade asar to ^1.0.0
This is to remove a transitive security vulnerability.
The API changed from callbacks to Promises, so `script/gn-asar.js`
needed to be changed.
* build: add klaw to package.json
`klaw` is used in `script/lint.js`, but it was a transitive dependency.
* build: add fs-extra to package.json
`fs-extra` is used in `script/gn-asar.js`, but it was a transitive
dependency.
2019-02-25 18:25:00 -08:00
Vlad Hashimoto
30213089ae
docs: allow webRequest listener to passing null ( #17006 )
2019-02-25 18:13:00 -08:00
Gavin Wang
391f6dd663
docs: add sample code for contents.insertCSS() ( #16959 )
...
it not work before Event: 'did-finish-load', so add this sample code to show it.
2019-02-25 18:10:56 -08:00
Felix Rieseberg
7f007109c3
refactor: Port inspector to TypeScript ( #16943 )
...
* refactor: Port inspector to TypeScript
* refactor: Add another type to inspector
* refactor: Use correct paths
* Update lib/renderer/inspector.ts
Co-Authored-By: felixrieseberg <felix@felixrieseberg.com >
* refactor: Implement feedback <3
* refactor: Don't define blob at all
* fix: Correct type
2019-02-25 18:10:25 -08:00
Robo
ddcebb096f
fix: use frame tree api to remove <webview> frame ( #16501 )
...
Replaces the usage of testing api added in
03d499bf34
2019-02-25 17:47:29 -08:00
Shazron Abdullah
6da939629b
fix: respect the user's active app focus ( #16400 )
...
* Respect the user's active app
Apple recommends not setting this to true. https://developer.apple.com/documentation/appkit/nsapplication/1428468-activateignoringotherapps?language=objc
* Remove atom_bundle_mover.mm change for [NSApp activateIgnoringOtherApps:]
2019-02-25 17:44:38 -08:00
Milan Burda
5e762d6a47
chore: finalize dropping support for OS X Mavericks (version 10.9) ( #17102 )
2019-02-25 17:21:57 +00:00
Sindre Sorhus
df5305d6a7
docs: fix MenuItem windowMenu role description ( #17065 )
...
It was changed in https://github.com/electron/electron/pull/15930
2019-02-25 13:34:32 +00:00
Thomas Beverley
1674388028
Fix webContents.print() ( #17052 )
2019-02-25 13:30:21 +00:00
Roller Bot
944cdb4430
chore: bump chromium in DEPS to 73.0.3683.49 ( #17095 )
2019-02-22 17:17:02 -08:00
Jeremy Apthorp
28b150f6dc
test: fix race condition in debugger spec ( #17091 )
2019-02-22 16:45:48 -08:00
Roller Bot
5be93566ee
chore: bump chromium in DEPS to 73.0.3683.48 ( #17083 )
2019-02-21 09:52:08 -08:00
Cheng Zhao
32a4de4a68
chore: make util::Promise a move-only type ( #17071 )
2019-02-21 12:32:44 +00:00
ZYSzys
a40d826b11
chore: remove unused catch bindings ( #16121 )
2019-02-21 09:26:07 +00:00
Roller Bot
08f7d60da4
chore: bump chromium in DEPS to 73.0.3683.47 ( #17068 )
2019-02-20 10:18:43 -08:00
Shelley Vohr
3edc497d3d
feat: show user gesture type in click event ( #16954 )
2019-02-20 12:20:24 +00:00
Shelley Vohr
cc5ed24e23
chore: properly template the Then promise helper ( #17050 )
2019-02-19 21:46:59 +00:00
Roller Bot
0a730e61f5
chore: bump chromium in DEPS to 73.0.3683.45 ( #17048 )
2019-02-19 13:42:32 -08:00
Felix Rieseberg
91f81b4b72
refactor: Port renderer/init to TypeScript ( #17027 )
...
* refactor: Port renderer/init to TypeScript
* Update lib/renderer/init.ts
Co-Authored-By: felixrieseberg <felix@felixrieseberg.com >
* refactor: Type this a bit more loosely
* refactor: Type parseOption strictly
2019-02-19 17:05:14 +00:00
Felix Rieseberg
2223114f20
refactor: Port chrome-api to TypeScript ( #17014 )
2019-02-19 13:09:44 +00:00
Milan Burda
7e7abc28f5
feat: promisify netLog.stopLogging ( #16862 )
2019-02-19 10:48:27 +00:00
Samuel Attard
3b74837020
refactor: Split 'Event' docs/types into more specific Event types ( #17038 )
...
* Event = Base event type (with preventDefault)
* IpcMainEvent = Event that ipcMain emits (with sender, reply, etc.)
* IpcRendererEvent = Event that ipcRenderer emits (with sender,
senderId, etc.)
* KeyboardEvent = Event that we emit with keyboard flags (ctrlKey,
altKey, etc.)
This will dramatically improve peoples TS experience with IPC events
2019-02-19 09:24:19 +00:00
Shelley Vohr
ef2e7d95fe
chore: add Then helper for native promises ( #16978 )
2019-02-18 14:25:28 +00:00
Milan Burda
a04d9ef35b
feat: add process.getSystemVersion() ( #16599 )
2019-02-18 12:59:48 +00:00
Felix Rieseberg
eaa0e28396
refactor: Port content-scripts-injector to TypeScript ( #17012 )
2019-02-18 12:47:07 +00:00
John Kleinschmidt
35c3a7e130
build: make torque patch more specific for native arm builds ( #16992 )
...
* build: make torque patch more specific
the v8_generator_toolchain should only be overriden if the snapshot toolchain is a native arm or arm64 toolchain
* Only test native mksnapshot on arm64
* Put environment variable in container
2019-02-18 10:02:50 +00:00
Felix Rieseberg
596acdcb91
refactor: Port web-frame-init to TypeScript ( #16934 )
...
* refactor: Port web-frame-init to TypeScript
* refactor: Use ipcRendererInternal
2019-02-18 00:24:18 +00:00
Felix Rieseberg
6b3ff4f1f7
refactor: Port security warnings to TypeScript ( #16937 )
...
* refactor: Port security-warnings to TypeScript
* chore: make aliasify work on .ts files as well
* refactor: Implement feedback <3
* refactor: Correctly call executeJavaScript
2019-02-16 17:06:30 -08:00
Mark Lee
0a84c61074
docs: update chromium version in 5.0.0 release schedule ( #17001 )
2019-02-16 08:25:25 -08:00
Samuel Attard
71366e2a0d
chore: auto add filenames.auto.gni when md files are changed ( #16995 )
2019-02-15 17:03:50 -08:00
Shelley Vohr
1e8ac79e6f
docs: document the Event interface ( #16966 )
...
* docs: document the Event interface
* update docs deps
* pull new VoidFunction update
2019-02-15 12:08:45 -08:00
Roller Bot
31ff160431
chore: bump chromium in DEPS to 73.0.3683.41 ( #16981 )
2019-02-15 10:37:19 -08:00
Aayush Chhabra
6d005ff137
docs: Remove redundant 'Instance Events' Headline ( #16865 )
2019-02-15 08:29:33 -10:00
Milan Burda
975a035d34
chore: re-enable devtools renderer sandbox ( #16864 )
...
* chore: re-enable devtools renderer sandbox
* chore: enable sandbox for chrome extension background script host renderers
2019-02-15 15:10:32 +05:30
Felix Rieseberg
2498e8d1c2
refactor: Port renderer-internal to TypeScript ( #16939 )
...
* chore: make aliasify work on .ts files as well
* refactor: Port ipc-renderer-internal to TypeScript
* refactor: Correctly import internal ipcRenderer
* refactor: One more rename
* refactor: Fix one more lint issue
* refactor: Correctly reference ipcRendererInternal
2019-02-14 17:24:25 -08:00
Samuel Attard
5790869a3f
chore: refactor browser IPC into TS and app API into TS ( #16921 )
...
* chore: refactor browser IPC into typescript
* chore: refactor app.ts into Typescript
* Refactors app.dock into cpp
* Removes app.launcher which has not existed for 3 years
* Removes 2 deprecated APIs (that have been deprecated for more than one
major)
* Refactors deprecate.ts as well
2019-02-14 14:29:20 -08:00
Samuel Attard
4ccd6d5900
build: add a pre-flight check to all NPM steps in GN to ensure that we have the right NPM deps installed ( #16974 )
2019-02-14 14:28:41 -08:00
Samuel Attard
28638b0a6b
docs: update dialog documentation for "undefined" ret vals ( #16970 )
2019-02-14 14:28:17 -08:00
Samuel Attard
5904544235
Merge pull request #16494 from electron/chromium-upgrade/73
...
feat: upgrade to Chromium 73.0.3683.27
2019-02-14 12:28:41 -08:00
John Kleinschmidt
46a49b74a6
Run electron tests first
2019-02-14 23:59:27 +05:30
deepak1556
b927be9982
chore: roll 73.0.3683.27
2019-02-14 23:59:27 +05:30
deepak1556
95386ef56f
Disable swiftshader for arm32
2019-02-14 23:59:27 +05:30
deepak1556
1d9170f1bb
FIXME: disable OSR
2019-02-14 23:59:27 +05:30
deepak1556
b6f7157910
fix compilation error for windows testing builds
2019-02-14 23:59:27 +05:30
deepak1556
2556d86c8a
Disable precompiled headers
...
Workaround for https://crbug.com/924225
2019-02-14 23:59:26 +05:30
deepak1556
d7fea1b484
REVIEW: fix possible -Wdeprecated-declarations warnings
2019-02-14 23:59:26 +05:30
Heilig Benedek
2ccf5904e0
chore: fix linking errors on Windows
2019-02-14 23:59:26 +05:30
Heilig Benedek
d7557cb66a
chore: use c++ manifests instead of json
2019-02-14 23:59:26 +05:30
Heilig Benedek
cece8bce0b
chore: make OSR compile on Windows
2019-02-14 23:59:26 +05:30
deepak1556
66db627913
Remove "layouttest" or "layout test" in //content
...
https://chromium-review.googlesource.com/c/chromium/src/+/1367391
2019-02-14 23:59:26 +05:30
deepak1556
76fde58e27
REVIEW: ui::Compositor: Simplify how ExternalBeginFrameClient is used.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1388384
2019-02-14 23:59:26 +05:30
deepak1556
8a51c9c2f6
REVIEW: Have MouseWheelPhaseHandler agree on whether to route its wheel event
...
https://chromium-review.googlesource.com/c/chromium/src/+/1401664
2019-02-14 23:59:26 +05:30
deepak1556
e11589b5be
ui/base: move clipboard to own folder.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1369933
2019-02-14 23:59:25 +05:30
deepak1556
3727982217
Delete tab pulsing feature.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1407958
2019-02-14 23:59:25 +05:30
deepak1556
70bbbb84bb
Rename BlendTowardOppositeLuma() to BlendTowardContrastingEndpoint().
...
https://chromium-review.googlesource.com/c/chromium/src/+/1400060
2019-02-14 23:59:25 +05:30
Jeremy Apthorp
34d7e019ce
gfx::Path -> SkPath
...
https://chromium-review.googlesource.com/c/1392181
2019-02-14 23:59:25 +05:30
deepak1556
a9ab4c5039
chore: roll 73.0.3683.10
2019-02-14 23:59:25 +05:30
deepak1556
005b7d8099
Print Preview: Add validity check for kSettingPagesPerSheet.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1381133
2019-02-14 23:59:25 +05:30
deepak1556
510ca79ddd
Enable DCHECK for renderer-initiated navigations requiring initiator.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1385495
2019-02-14 23:59:24 +05:30
deepak1556
0545d47ca7
chore: roll node
2019-02-14 23:59:24 +05:30
deepak1556
86a94126fb
Convert ProxyResolutionServiceProvider to use Network Service.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1419264
2019-02-14 23:59:24 +05:30
deepak1556
035eee5c03
[OnionSoup] replace network::DataElement::Type with DataElementType
...
https://chromium-review.googlesource.com/c/chromium/src/+/1393106
2019-02-14 23:59:24 +05:30
deepak1556
1b982e200a
Autoplay: remove cross-origin autoplay policy from //chrome and //content.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1362225
2019-02-14 23:59:24 +05:30
deepak1556
10850808e9
chore: roll 73.0.3679.0
2019-02-14 23:59:24 +05:30
deepak1556
c2be0846c2
chore: rm fix_test_compilation_error.patch
2019-02-14 23:59:24 +05:30
deepak1556
1d21e9c35d
Move client hints to content
...
https://chromium-review.googlesource.com/c/chromium/src/+/1376709
2019-02-14 23:59:23 +05:30
deepak1556
315f8c0cc7
DevToolsFrontendHost::Create to return unique_ptr instead of raw pointer
...
https://chromium-review.googlesource.com/c/chromium/src/+/1396614
2019-02-14 23:59:23 +05:30
deepak1556
9b82e7d27b
Change DevToolsEmbedderMessageDispatcher to use unique_ptr instead of raw pointers.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1382701
2019-02-14 23:59:23 +05:30
deepak1556
61c46c6313
Replace SiteInstance::IsSameWebSite() with a new non-static method.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352856
2019-02-14 23:59:23 +05:30
deepak1556
e4cfc52c29
Remove const interfaces from content::RenderProcessHost.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1356004
2019-02-14 23:59:23 +05:30
deepak1556
3898a44e88
Increase scope of URLLoader::FollowRedirect() API implementation.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1369856
2019-02-14 23:59:23 +05:30
deepak1556
547add94d0
Make //ui/base/idle API synchronous
...
https://chromium-review.googlesource.com/c/chromium/src/+/1379183
2019-02-14 23:59:23 +05:30
deepak1556
dd4a31633f
split out color chooser browser dialog header
...
https://chromium-review.googlesource.com/c/chromium/src/+/1395146
2019-02-14 23:59:23 +05:30
deepak1556
52ef6d9ae4
[Printing] Stop using GetUserAgent from non-browser process
...
https://chromium-review.googlesource.com/c/chromium/src/+/1353052
2019-02-14 23:59:23 +05:30
deepak1556
0e39ec688a
More migration of ServiceContext to ServiceBinding
...
https://chromium-review.googlesource.com/c/chromium/src/+/1357534
2019-02-14 23:59:22 +05:30
deepak1556
606c84b302
Blink: Plumb correct security origin for isolated world CSPs.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1395190
2019-02-14 23:59:22 +05:30
deepak1556
2c282203b5
v8: Remove obsolete V8 extras flag
...
https://chromium-review.googlesource.com/c/chromium/src/+/1404554
2019-02-14 23:59:22 +05:30
deepak1556
1c4241bff5
Move BackgroundColor from widgets and child frames to the WebView.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1382861
2019-02-14 23:59:22 +05:30
deepak1556
b2bd9ffd70
Downloads : Adding metered network info and retry count to download item
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352628
2019-02-14 23:59:22 +05:30
deepak1556
e1502f6953
Move GetUserAgent from ContentClient to ContentBrowserClient
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352086
2019-02-14 23:59:22 +05:30
deepak1556
abec938b0a
Use base::size rather than arraysize
...
https://bugs.chromium.org/p/chromium/issues/detail?id=837308
2019-02-14 23:59:22 +05:30
deepak1556
a913e396d5
[SM] Use C++ Manifests for SM embedders
...
https://chromium-review.googlesource.com/c/chromium/src/+/1383530
2019-02-14 23:59:21 +05:30
deepak1556
79040e348a
Change the source origin parameter type for CanCreateWindow from GURL to url::Origin.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1395066
2019-02-14 23:59:21 +05:30
deepak1556
9439ac108d
content: Fix WebContentsUserData for usage across components.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1354402
2019-02-14 23:59:21 +05:30
deepak1556
a864167d46
Move MediaStream Mojo and public interfaces to Blink.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1389998
2019-02-14 23:59:21 +05:30
deepak1556
92cfc4a62d
fix: update deprecated v8 api usage
2019-02-14 23:59:21 +05:30
deepak1556
f09cb56f19
Refactors TtsPlatform and most platform implementations to content.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352055
2019-02-14 23:57:59 +05:30
deepak1556
fbefab4227
chore: update patches/common/ffmpeg
2019-02-14 23:57:59 +05:30
deepak1556
e517139e3c
chore: update patches/common/v8
2019-02-14 23:57:58 +05:30
deepak1556
3f75724a31
chore: update patches/common/chromium
2019-02-14 23:57:58 +05:30
deepak1556
2752ae4ae8
chore: roll 73.0.3673.0
2019-02-14 23:57:58 +05:30
Milan Burda
e769b867f0
fix: disable Chromium v2 sandbox in MAS builds ( #16920 )
2019-02-14 09:48:17 -08:00
Shelley Vohr
de27911661
feat: promisify webContents.savePage() ( #16742 )
...
* feat: promisify webContents.savePage()
* no need to make compatible w callbacks, we're breaking it
* fix promise resolve type
* address feedback from review
* fix promise return text
* update smoke test
2019-02-14 09:03:28 -08:00
Jeremy Apthorp
6e7dca9082
chore: restore WTF::StringImpl dchecks ( #15635 )
2019-02-14 08:59:04 -08:00
Stewart Lord
84ef9cae6c
fix: send chrome.runtime/tabs.sendMessage result to correct sender ( #16945 )
...
Additionally, use `.once` instead of `.on` for result specific listeners.
2019-02-14 06:07:55 -10:00
Samuel Attard
8497bb1327
fix: potential flake/race in webview specs ( #16950 )
2019-02-14 05:49:12 -10:00
Felix Rieseberg
31494dfade
refactor: Port getRemote to TypeScript ( #16938 )
...
* chore: make aliasify work on .ts files as well
* refactor: Port getRemote to TypeScript
* refactor: Implement feedback <3
2019-02-14 04:04:53 -10:00
Felix Rieseberg
6cd75744ef
refactor: Port window-setup to TS ( #16894 )
...
* refactor: Port window-setup to TS
* refactor: Make the linter happy
* refactor: Sneaky little TS error
* refactor: Correctly import window-setup
* refactor: Implement feedback <3
* refactor: Allow decorators in TS
* refactor: Use named windowSetup in isolatedRenderer
* refactor: Help TS understand
* refactor: Welp, use createEvent again
* refactor: Use the correct target in the decorator
2019-02-14 03:52:38 -10:00
Milan Burda
2492f0bcac
refactor: promisify prototype methods ( #16935 )
2019-02-14 03:40:24 -10:00
Felix Rieseberg
9112ad01be
refactor: Port renderer-internal-utils to TypeScript ( #16942 )
...
* chore: make aliasify work on .ts files as well
* refactor: Port renderer-internal-utils to TypeScript
* refactor: Implement feedback <3
2019-02-13 23:05:49 -08:00
Shelley Vohr
46a24c82ff
feat: add Touch ID authentication support for macOS ( #16707 )
...
This PR adds Touch ID authentication support for macOS with two new `SystemPreferences` methods.
1. `systemPreferences.promptForTouchID()` returns a Promise that resolves with `true` if successful and rejects with an error message if authentication could not be completed.
2. `systemPreferences.isTouchIDAvailable()` returns a Boolean that's `true` if this device is a Mac running a supported OS that has the necessary hardware for Touch ID and `false` otherwise.
2019-02-13 18:36:28 -08:00
Stewart Lord
228805353f
fix: pass result to chrome.tabs.executeScript callback ( #16941 )
...
* fix: pass result to chrome.tabs.executeScript callback
Additionally, remove `nextId` counter in favor of `originResultID` counter which is more widely used in this file.
* fix: remove need for eslint override and better match style
2019-02-13 17:00:36 -08:00
Shelley Vohr
319c2853df
chore: move ts-smoke tests to core ( #16930 )
...
* chore: move ts smoke tests to core
* fix: fix paths for tsconfig / ts-smoke runner
* update ts-defs version
* do not lintr
2019-02-13 15:24:28 -08:00
Electron Bot
95214fcd4b
Bump v6.0.0-nightly.20190213
2019-02-13 13:44:57 -08:00
Shelley Vohr
fed5b99a9f
feat: promisify contentTracing.getTraceBufferUsage() ( #16600 )
...
* feat: promsify contentTracing.getTraceBufferUsage()
* deprecate getTraceBufferUsage
* address feedback from review
* properly deprecate
2019-02-13 13:24:57 -08:00
Julien Isorce
9b29befdc8
feat: disable fetching thumbnails if thumbnailSize is 0 ( #14906 )
...
Capturing window thmubnails is expensive as it actually uses the
window capturer and it records one full frame per window and then
downscale to the default size 150x150. When only interested in the
window names or the app icons we do not need all of this.
Underlying change is merged in chromium72 so this patch only modifies
the doc, see:
https://chromium.googlesource.com/chromium/src.git/+log/72.0.3626.52/chrome/browser/media/webrtc/native_desktop_media_list.cc
Example: desktopCapturer.getSources({thumbnailSize: {width: 0, height: 0}}, ...)
Also added a unit test in spec/api-desktop-capturer-spec.js that verifies
that the returned thumbails are of type NativeImage and empty,
when the user disable fetching thumbnails.
notes: Can disable fetching the thumbnails for the DesktopCapturer.
https://github.com/electron/electron/issues/14872
2019-02-13 10:27:42 -08:00
Nitish Sakhawalkar
3dfef4a376
chore: Add new webFrame IsolatedWorldInfo API and deprecate ( #16801 )
...
* chore: Add new webFrame IsolatedWorldInfo API and deprecate
* Flag deprecated methods in documentation
* address comments
* Address review comments
* remove unused variable
* Update based on review
2019-02-13 08:05:28 -10:00
Milan Burda
1f458eb177
feat: promisify debugger.sendCommand() ( #16861 )
...
* remove duplicate entry for desktopCapturer.getSources
* feat: promisify debugger.sendCommand
2019-02-13 07:23:53 -10:00
Roller Bot
ee4c9aa3d0
chore: bump chromium in DEPS to 72.0.3626.110 ( #16924 )
2019-02-13 07:20:26 -10:00
Samuel Maddock
8f6a543398
feat: add chrome.runtime.getManifest ( #16891 )
...
* feat: add chrome.runtime.getManifest
* Add test for chrome.runtime.getManifest
* Use IPC utils for getManifest internals
2019-02-13 07:16:12 -10:00
John Kleinschmidt
46f818b0c3
feat: add file preview for GTK file picker ( #16447 )
2019-02-13 06:52:14 -10:00
Samuel Attard
c363eed543
chore: suppress output of npm_action unless it fails ( #16888 )
2019-02-12 21:32:47 -08:00
Roller Bot
6385608f7f
chore: bump chromium in DEPS to 72.0.3626.108 ( #16899 )
2019-02-12 21:31:52 -08:00
Robo
1ed7b1c76d
chore: remove obsolete v8 patches ( #16910 )
...
* patches/common/v8/disable-warning-win.patch
added in https://github.com/electron/libchromiumcontent/pull/483
* patches/common/v8/ostreams.patch
added in https://github.com/electron/libchromiumcontent/pull/258
2019-02-12 21:31:08 -08:00
Jeremy Apthorp
8d09219533
chore: 'breaking change' in PR body overrides commit type in relnotes ( #16911 )
2019-02-12 21:30:39 -08:00
Shelley Vohr
ca83d36426
feat: promisify app.dock.show() ( #16904 )
...
* feat: promisify app.dock.show
* add a spec
2019-02-12 21:06:33 -08:00
Samuel Attard
cd9bf72ee8
build: ensure that the uploaded symbol path is correct for our symbol ( #16908 )
...
server
2019-02-12 14:10:24 -08:00
Shelley Vohr
cfba59929a
fix: backport patch to sync exposed crypto ( #16822 )
...
* fix: backport patch to sync exposed crypto
* add two new specs
* fix iv length
* fix formatting
2019-02-12 11:57:11 -08:00
Robo
5478cc7e8e
chore: fix lint errors ( #16906 )
2019-02-13 00:19:47 +05:30
Electron Bot
98b05b8428
Bump v6.0.0-nightly.20190212
2019-02-12 10:09:30 -08:00
Shelley Vohr
bf276ecc69
feat: add new components to Display structure ( #16870 )
...
* feat: add new components to Display structure
* add internal property
* expose colorDepth
* add specs
2019-02-12 05:34:42 -10:00
Jeremy Apthorp
5a44cc50cf
docs: migration guide for register{StandardSchemes => SchemesAsPrivileged} ( #16762 )
...
* docs: migration guide for register{StandardSchemes => SchemesAsPrivileged}
cc @nitsakh
* Update docs/api/protocol.md
Co-Authored-By: nornagon <nornagon@nornagon.net >
* Update docs/api/protocol.md
Co-Authored-By: nornagon <nornagon@nornagon.net >
* Update protocol.md
* Update docs/api/protocol.md
Co-Authored-By: nornagon <nornagon@nornagon.net >
2019-02-12 04:31:53 -10:00
Samuel Attard
01c442de64
refactor: convert more files to typescript ( #16820 )
2019-02-12 04:22:33 -10:00
Charles Kerr
cfbdc40814
fix: release-notes plays more nicely with clerk ( #16887 )
...
Explicitly look not just for Clerk's "notes persisted"
message but also its "no release notes" message.
2019-02-12 04:21:20 -10:00
Robo
83894dc5db
ci: fix binaries for chromedriver build on macOS ( #16893 )
2019-02-12 16:14:52 +05:30
Roller Bot
deb36d5008
chore: bump chromium in DEPS to 72.0.3626.107 ( #16869 )
2019-02-11 17:56:03 -08:00
Electron Bot
8141a26ba9
Bump v6.0.0-nightly.20190211
2019-02-11 17:40:41 -08:00
Samuel Attard
9deaacb454
Revert "Bump v6.0.0-nightly.20190211"
...
This reverts commit c92233cbc8 .
2019-02-11 14:23:46 -08:00
John Kleinschmidt
6a47089c78
ci: Refactor mksnapshot test so that it doesn't stall. ( #16875 )
2019-02-11 12:21:00 -10:00
Samuel Attard
7baa218ca9
docs: remove removed autosize attribute ( #16884 )
...
Closes #16199
Notes: no-notes
2019-02-11 14:15:15 -08:00
Electron Bot
c92233cbc8
Bump v6.0.0-nightly.20190211
2019-02-11 14:08:24 -08:00
Samuel Attard
20d9f4b2b5
Revert "Bump v6.0.0-nightly.20190211"
...
This reverts commit dc0be294dd .
2019-02-11 14:05:22 -08:00
Electron Bot
dc0be294dd
Bump v6.0.0-nightly.20190211
2019-02-11 13:32:01 -08:00
Shelley Vohr
9dd3338ede
chore: revert "Bump v6.0.0-nightly.20190208"
...
This reverts commit 70042d2597 .
2019-02-11 13:22:44 -08:00
Milan Burda
d8ba1278d1
chore: disable the remote module in devtools / chrome extension background scripts ( #16866 )
...
* cache isRemoteModuleEnabled
* chore: disable the remote module in devtools / chrome extension background scripts
2019-02-11 10:42:37 -10:00
robertgrzonka
a3cdf46fb6
docs: change of previously wrong added Polish emoji into proper one ( #16700 )
...
* Change Polish flag
* Change of previously setuped flag of Monaco to Polish flag
* fix: change flags
* add Indonesian flag at former place
* append Polish flag at the end
2019-02-11 10:41:06 -10:00
Samuel Attard
5301808926
docs: reference the webviewTag option in the webview docs ( #16879 )
...
Closes #16773
Notes: Add a reference to the "webviewTag" option in the webview docs
2019-02-11 10:38:36 -10:00
Heilig Benedek
ccc60a1f33
fix: enable autofill popups on mac ( #16308 )
...
* feat: enable autofill popups on mac
* fix: make popup positioning better
* fix: don't try to show popup when widget is closing or not visible
* fix: unify conditions
* refactor: use PopupViewCommon from chrome directly
* lint: mark constructor explicit
* fix: use a patch instead of dummy functions to make things compile on Windows
* chore: address review suggestions
* Update atom/browser/ui/cocoa/views_delegate_mac.mm
Co-Authored-By: brenca <benecene@gmail.com >
2019-02-11 09:38:58 -10:00
Milan Burda
36ce3e9546
feat: promisify webContents.printToPDF() ( #16795 )
2019-02-11 09:20:04 -10:00
Shelley Vohr
3effa6f20c
feat: add support for scroll lock accelerator ( #16873 )
2019-02-11 09:13:13 -10:00
Charles Kerr
d57b9cb47f
chore: bump spec dependencies ( #16872 )
...
* bump dbus-native dependency
* semver/patch and semver/minor bumps
patch bumps for basic-auth, bluebird, graceful-fs.
minor bumps for chai, mocha-junit-reporter, multiparty, temp, walkdir.
* major bumps: ws, yargs
* sync spec/package-lock.json
2019-02-11 09:12:13 -10:00
Samuel Attard
90ebd8eb12
docs: document how setAsDefaultProtocolClient works in Windows Store ( #16874 )
...
Closes #16852
2019-02-11 10:51:46 -08:00
Milan Burda
c77e187742
chore: fix "creates offscreen window with correct size" spec on Mac with Retina display ( #16867 )
2019-02-11 10:35:46 -08:00
Milan Burda
7a3d220347
refactor: implement Chrome Extension APIs without the remote module ( #16686 )
...
* refactor: implement Chrome Extension APIs without the remote module
* remove unused potentiallyRemoteRequire
2019-02-10 10:38:14 -08:00
Shelley Vohr
1898f91620
fix: enable property having no effect on submenus ( #16835 )
2019-02-08 18:07:08 -08:00
Cheng Zhao
d16b581140
fix: remove memory leak when using webFrame and spell checker ( #16770 )
...
* fix: do not create native api::WebFrame in webFrame
When reloading a page without restarting renderer process (for example
sandbox mode), the blink::WebFrame is not destroyed, but api::WebFrame
is always recreated for the new page context. This leaves a leak of
api::WebFrame.
* fix: remove spell checker when page context is released
2019-02-08 13:38:31 -08:00
Milan Burda
3f52e18a38
chore: add menu-will-close comment explaining setTimeout ( #16794 )
2019-02-08 13:38:03 -08:00
Electron Bot
70042d2597
Bump v6.0.0-nightly.20190208
2019-02-08 13:28:42 -08:00
Jeremy Apthorp
72f3a22ecc
docs: reorder crashReporter notes to make more sense ( #16825 )
...
the note about reports from child processes on Windows should be next to the code snippet.
Side note: is that code even still necessary?
2019-02-08 13:26:59 -08:00
Shelley Vohr
c80c3c18dc
Revert "Bump v6.0.0-nightly.20190207"
...
This reverts commit c8282efb75 .
2019-02-08 13:26:18 -08:00
Samuel Attard
10607f7e86
chore: make crash-reporter specs not use URL module ( #16840 )
2019-02-08 13:22:07 -08:00
Shelley Vohr
ccf46a57bc
fix: display empty menu item for non-visible submenus ( #16832 )
...
* fix: display empty menu item for nonvisible submenus
* use Chromium UI string ID
2019-02-08 13:19:01 -08:00
Shelley Vohr
062778c031
fix: don't construct submenu if it's invisible ( #16834 )
2019-02-08 12:54:39 -08:00
Samuel Attard
833daaa2b2
chore: add helper to wait for a window to load in a remote-safe way ( #16837 )
2019-02-08 12:26:03 -08:00
Milan Burda
1632c4b837
refactor: implement chrome.i18n.getMessage() without the remote module ( #16739 )
...
* refactor: implement chrome.i18n.getMessage() without the remote module
* replace navigator.language with app.getLocale()
2019-02-08 12:07:09 -08:00
Roller Bot
b97f6bd7d4
chore: bump chromium in DEPS to 72.0.3626.102 ( #16830 )
2019-02-08 10:36:37 -08:00
Samuel Attard
23b84917e0
ci: set MAS_BUILD=true on mas builds ( #16824 )
2019-02-08 10:12:18 -08:00
Shelley Vohr
e790dbd737
chore: add standalone function deprecation helper ( #16782 )
2019-02-08 09:50:11 -08:00
Electron Bot
c8282efb75
Bump v6.0.0-nightly.20190207
2019-02-07 14:13:50 -08:00
Julien Isorce
27bd47a333
feat: implement BrowserWindow.moveTop on X11 ( #16629 )
...
It was implemented on Mac and Win but not on X11.
Tested on Ubuntu 16.04 and 18.04.
Also added a unit test in spec/api-browser-window-spec.js.
This test BrowserWindow.moveTop verifies that calling moveTop
on a window does not give the focus to this window.
notes: BrowserWindow.moveTop is now available on Linux/x11
https://github.com/electron/electron/issues/12516
2019-02-07 12:48:19 -08:00
Samuel Attard
db11b9b13b
fix: restore accidentally removed chrome-extension require ( #16819 )
2019-02-07 12:38:57 -08:00
Jeremy Apthorp
4989ecc5e0
chore: re-export chromium patches ( #16818 )
...
this is the changeset from running import-patches && export-patches. should be idempotent now.
2019-02-07 12:03:25 -08:00
Shelley Vohr
9ebba76c03
chore: improve existing error preservation in promisify ( #16815 )
...
This PR better preserves existing behavior in `deprecate.promisify()` in the cases where the promise fails. Previously, if a callback was only called with `data` instead of `err, data` and the promise was rejected, `data` would be populated with `err`, which could be confusing to users. This makes it such that `err` is called back on promise rejection if a callback is called with `err, data` a la Node.js.
2019-02-07 10:25:20 -08:00
Samuel Attard
4f8ebafa97
chore: dont log 100000000 chars of URL ( #16800 )
2019-02-07 08:50:47 -08:00
Shelley Vohr
29501dbd01
Revert "Bump v6.0.0-nightly.20190206"
...
This reverts commit e8608c2dbd .
2019-02-06 18:23:14 -08:00
Electron Bot
acabf6f5ab
Bump v6.0.0-nightly.20190206
2019-02-06 16:52:57 -08:00
Shelley Vohr
c6fc5a23fc
Revert "build: hack around GitHub upload API failure / flake ( #16663 )" ( #16802 )
...
This reverts commit ab503c7e43 .
2019-02-06 16:51:45 -08:00
Shelley Vohr
c8a1231ad7
Revert "Bump v6.0.0-nightly.20190206"
...
This reverts commit 2d1438456b .
2019-02-06 16:23:08 -08:00
Jeremy Apthorp
6d68026c6c
chore: fix ts config to not complain about extraneous files ( #16790 )
2019-02-06 15:46:10 -08:00
Electron Bot
2d1438456b
Bump v6.0.0-nightly.20190206
2019-02-06 15:11:34 -08:00
Roller Bot
dd5264b4d1
chore: bump chromium in DEPS to 72.0.3626.99 ( #16779 )
2019-02-06 14:50:58 -08:00
Electron Bot
e8608c2dbd
Bump v6.0.0-nightly.20190206
2019-02-06 14:43:32 -08:00
Shelley Vohr
a569dad8c5
build: remove non-arm vstsJobs ( #16793 )
2019-02-06 13:36:17 -08:00
Samuel Attard
17c240a639
ci: make macOS CI faster ( #16766 )
...
* ci: cache brew update result
* ci: checkout and sync the macOS build on a linux machine for speed
2019-02-06 13:16:11 -08:00
Samuel Attard
fc06458038
ci: run lint on CircleCI ( #16791 )
2019-02-06 12:53:25 -08:00
Shelley Vohr
84eef16755
chore: depend on mojo audio and video in BUILD.gn ( #16785 )
2019-02-06 11:03:39 -08:00
pol
c76459738e
docs: fix security doc url check ( #16775 )
2019-02-06 10:43:58 -08:00
Gilbert Emerson
76d919fff5
docs: added webContents.getType() method ( #16767 )
...
* docs: added webContents.getType() method
* docs: add enumeration of return value for webContents.getType()
* docs: getType() in WebContents should be class method not module method
2019-02-06 10:42:34 -08:00
Samuel Attard
26df9992cf
build: use typescript for internal Electron JS code ( #16441 )
2019-02-06 10:27:20 -08:00
Shelley Vohr
858781ba83
feat: allow Menu.buildFromTemplate() to accept MenuItems ( #16697 )
...
* feat: allow Menu.buildFromTemplate to accept MenuItems
* add another spec
* fix linter error
* add submenu spec
2019-02-06 10:04:40 -08:00
Milan Burda
4211a9c69f
refactor: use ipcRendererUtils.invokeSync / ipcMainUtils.handleSync ( #16759 )
2019-02-06 09:53:28 -08:00
Jeremy Apthorp
b7d8234a86
docs: add some troubleshooting info related to win_delay_load_hook ( #16764 )
...
* docs: add some troubleshooting info related to win_delay_load_hook
* appease lint
2019-02-06 08:29:58 -08:00
Cheng Zhao
d53b51607c
fix: do not increase ref-counting in wrong thread ( #16738 )
2019-02-06 18:22:02 +09:00
Heilig Benedek
ff461d9d26
fix: make getUserMedia APIs work again on C72+ ( #16763 )
...
* fix: resolve macos check for video and audio capture devices
* fix: resolve a minor compilation error
2019-02-05 21:25:42 -08:00
Jeremy Apthorp
b7afec0743
docs: improve app.commandLine documentation ( #16757 )
2019-02-05 16:22:25 -08:00
Shelley Vohr
8946cfd4f1
chore: fix dependency vulnerabilities ( #16756 )
2019-02-05 15:19:55 -08:00
Shelley Vohr
793d6c3691
chore: remove release notes semantic PR map ( #16758 )
2019-02-05 15:19:26 -08:00
Samuel Attard
b29e8d18a8
chore: auto-format GN and python files in our precommit ( #16722 )
...
* chore: auto-format GN files in our precommit
* chore: update python linting errors and auto-lint python files
* chore: add trick for CHROMIUM_BUILDTOOLS_PATH
* chore: apply suggestions from code review
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com >
2019-02-05 13:54:45 -08:00
Milan Burda
6d674eebb1
refactor: crashReporterInit ( #16729 )
2019-02-05 12:56:44 -08:00
Roller Bot
c486ab207a
chore: bump chromium in DEPS to 72.0.3626.94 ( #16745 )
2019-02-05 12:17:12 -08:00
Samuel Attard
b202ad1e24
refactor: remove js2asar.py and port logic to JS in more readable / GN-style way ( #16718 )
...
* refactor: remove js2asar.py and port logic to JS in more readable / GN-style way
* refactor: further clean up ASAR impl, add new node_action GN template
2019-02-05 12:10:15 -08:00
Samuel Attard
8582325e85
build: ensure index.json is actually valid JSON before uploading ( #16518 )
...
* build: ensure index.json is actually valid JSON before uploading
* chore: fix py linting for validation of index.json
2019-02-05 11:36:31 -08:00
Jeremy Apthorp
9b7eb0eecb
chore: update issue template, comment out instructions ( #16721 )
2019-02-05 10:10:24 -08:00
Shelley Vohr
e098d08728
docs: we shouldn't promisify net apis ( #16736 )
2019-02-04 22:25:59 -08:00
Shelley Vohr
f303caa87c
refactor: remove ServiceWorker APIs from WebContents ( #16717 )
2019-02-04 22:22:46 -08:00
Roller Bot
3aa8ec0818
chore: bump chromium in DEPS to 72.0.3626.90 ( #16710 )
2019-02-04 16:25:53 -08:00
Cheng Zhao
758d709c7a
fix: crash when calling setProgressBar on macOS ( #16374 )
...
* fix: correctly check whether dock has progress bar
* fix: do not leak memory when setting dockTile
2019-02-04 15:59:06 -08:00
Shelley Vohr
698d348168
feat: support capslock and numlock as accelerators ( #16719 )
...
* feat: support capslock as accelerator
* also add numlock
2019-02-04 15:54:59 -08:00
Shelley Vohr
f142aae9eb
chore: remove unused variable in removeWindow ( #16715 )
2019-02-04 15:00:39 -08:00
Shelley Vohr
a9991f5451
chore: fix falsy comments edge case in release notes ( #16720 )
2019-02-04 14:57:38 -08:00
Samuel Attard
af64140100
refactor: enforce naming of ipcMainInternal ( #16689 )
2019-02-04 14:49:53 -08:00
JohanG2012
cacb56b103
Add missing let ( #15746 )
2019-02-04 11:02:01 -08:00
Birunthan Mohanathas
24f1eac84f
docs: Recommend use of callback with dialog.showSaveDialog ( #16649 )
...
See #14606 .
Notes: no-notes
2019-02-03 23:56:51 -08:00
John Kleinschmidt
0a047194b6
ci: move mac release tests to nightly cron job ( #16685 )
2019-02-01 15:07:23 -05:00
Milan Burda
7dc565fc2e
refactor: implement inspector APIs without the remote module ( #16607 )
2019-02-01 19:56:46 +01:00
michtsu
392458b252
Add devtools API to inspect shared worker. ( #16615 )
2019-02-01 10:44:24 -08:00
Charles Kerr
efe52f66e4
fix: show proper clerk notes in release notes script ( #16659 )
...
* fix: Note detection in PR
* fix: 'BREAKING CHANGE' detection in PR body
* fix: when to include PRs that landed in other branches too
* fix: when available, use clerk's notes
2019-02-01 10:31:03 -06:00
Xinayu
52952f7d51
Update menu.md ( #16670 )
2019-02-01 08:28:28 -08:00
Shelley Vohr
bae09643c1
docs: fix referrer typedef in OnCompletedDetails ( #16661 )
2019-02-01 07:54:31 -08:00
Cheng Zhao
31c7ed9b8c
fix: shutdown after message loop is ready ( #16671 )
2019-02-01 10:21:49 -05:00
Samuel Attard
ab503c7e43
build: hack around GitHub upload API failure / flake ( #16663 )
2019-01-31 15:21:41 -08:00
Shelley Vohr
c8c1be7ae5
feat: add window removeMenu() method ( #16570 )
...
* feat: add window removeMenu() method
* chore: remove original method from docs and code
* retain backwards compatibility
2019-01-31 10:58:23 -08:00
John Kleinschmidt
2f35c98e76
ci: build mac on CircleCI ( #16552 )
2019-01-31 12:59:32 -05:00
John Kleinschmidt
d71f1fb30c
ci: Run Windows Electron tests first to show those failures first ( #16610 )
...
* Run electron tests first to show those failures first
Enable logging on CI
* disable failing tests on Windows 32 bit
* Temporarily disable testing mksnapshot as that seems to hang
2019-01-31 12:39:05 -05:00
Birunthan Mohanathas
6c77c220f7
chore: Fix typo in AtomDownloadManagerDelegate::OnDownloadSaveDialogDone ( #16646 )
...
I believe the existing code was fine, but better be safe than sorry.
This typo was introduced in #16612 .
2019-01-31 20:18:20 +09:00
Charles Kerr
76dcbcd6ea
chore: fix 'browserView' typo ( #16621 )
2019-01-30 21:07:08 -08:00
Shelley Vohr
ba57e1d991
feat: promisify contentTracing recording APIs ( #16584 )
...
* feat: promisify contentTracing.startRecording()
* feat: promisify contentTracing.stopRecording()
* test: convert specs for new promisified apis
* chore: deprecate and ensure legacy tests work
2019-01-30 18:53:55 -08:00
Heilig Benedek
cbb5164cc8
fix: improve the way frameless windows are handled on Windows ( #16596 )
...
* fix: improve the way frameless windows are handled on Windows
* tidy up code
* fix: return nullAcceleratedWidget instead of nullptr
* fix: format, use reinterpret cast
2019-01-31 11:19:47 +09:00
Vladimir
49ec7e1582
feat: flexible autoresize for BrowserViews ( #16184 )
...
* feat: flexible autoresize for BrowserViews
* fix: change to static_cast
* Slight format code
2019-01-31 11:07:19 +09:00
Birunthan Mohanathas
927aac306f
fix: use async save dialog for anchor download attribute ( #16612 )
2019-01-31 11:06:55 +09:00
Nitish Sakhawalkar
bd4e14dcee
fix: update docs for protocol API ( #16601 )
...
* fix: update docs for protocol API
* upddate source for new attribute name
* update electron-typescript-definitions package
2019-01-30 12:54:18 -08:00
Shelley Vohr
641b47f384
feat: promisify contentTracing.getCategories() ( #16583 )
...
* feat: promisify contentTracing.getCategories()
* deprecate contentTracing/getCategories
2019-01-30 12:39:55 -08:00
Jeremy Apthorp
9ed89ace97
fix: expose aes-cfb ciphers from boringssl ( #16573 )
...
Ref #16195
2019-01-30 10:34:14 -08:00
Shelley Vohr
c7677b23e6
fix: enable and update osr ( #16517 )
...
* fix: enable OSR
* fix some macos errors
* fix client reset not in guard
* fix things not rendering on mac
2019-01-30 09:33:32 -08:00
Shelley Vohr
6e131f2121
docs: remove nonexistent contentTracing methods ( #16597 )
2019-01-30 08:33:56 -08:00
Milan Burda
dfcee48f81
fix: don't forward IPC filtering events to app for dev-tools and extensions ( #16565 )
2019-01-30 08:20:03 -08:00
Milan Burda
56c6a51cd2
chore: add miniak to troppers ( #16590 )
2019-01-29 22:21:38 -08:00
SamvelRaja
8af532ba98
feat: added process.electron to get the electron version in forked process ( #16450 )
2019-01-29 22:13:18 -08:00
Michael Hamilton
8da91523d0
Fixed a little typo ( #16550 )
2019-01-29 15:58:01 -08:00
Cheng Zhao
323b688ab8
fix: check the root window in MenuBar::SetPanelFocus ( #16581 )
2019-01-29 13:21:32 -08:00
Nitish Sakhawalkar
940c4c0787
feat: move webFrame scheme privilege methods to main process ( #16416 )
...
* chore: deprecate webFrame.registerURLSchemeAsPrivileged
* Add register schemes protocol api
* update branch to enable browser process API
* Revert deprecation changes
* Fetch API support
* Updated api to take an array, still working on tests
* Update tests
* Remove web frame API
* Minor changes
* update scheme registrations on browser and renderer process
* fix: enable ses.getBlobData spec
* Update breaking changes doc
2019-01-29 16:11:01 +09:00
Jeremy Apthorp
257de6a963
feat: add ELECTRON_DISABLE_SANDBOX env var ( #16576 )
2019-01-29 15:30:17 +09:00
Milan Burda
fa5442f211
fix: execute session preload scripts in sandboxed renderers ( #16538 )
2019-01-29 10:16:46 +09:00
Shelley Vohr
a25f82c91f
fix: reject with error when url not loaded ( #16571 )
...
* fix: reject with error when url not loaded
* improve descriptive spec naming
2019-01-28 14:42:36 -08:00
Jeremy Apthorp
138ba53511
fix: expose ripemd160 hash from boringssl ( #16454 )
...
Ref #16195
2019-01-28 13:36:51 -08:00
Shelley Vohr
d105dcc0d3
feat: promisify webContents.hasServiceWorker() ( #16535 )
...
* feat: promisify contents.hasServiceWorker()
* spec: add initial test for hasServiceWorker()
2019-01-26 10:23:16 -08:00
Shelley Vohr
5a35c3a279
chore: fix promisify helper ( #16544 )
...
* chore: fix promise deprecation helper
* fix deprecations
* update deprecation tests
2019-01-25 14:23:24 -08:00
Jeremy Apthorp
63bf370cc0
fix: registerStreamProtocol callback with large chunks ( #16532 )
2019-01-25 10:57:26 -08:00
Charles Kerr
8396a2d504
feat: promisify cookies api ( #16464 )
...
* feat: promisify the Cookie API
* chore: update specs to test promisified cookies
* chore: add deprecate wrapper for cookie callback API
* docs: update docs to cookie promise changes
* chore: remove redundant namespace use
* docs: improve cookie example
* docs: restore docs for cookie callback API
* chore: restore cookie callback tests
* fix: syntax of cookie promise return types
2019-01-25 12:11:35 -06:00
Milan Burda
e2516dc808
docs: cancel is optional in OnHeadersReceivedResponse ( #16506 )
2019-01-25 09:41:21 -05:00
Shahzad Lone
74c29fb610
perf: and refactor: Code Scope + Minor Performance Improvement. ( #16467 )
...
* We know result's size will be same as app_metrics_'s size so optimize the vector.
Reserving a vector to save on reallocation cost.
* Narrow scopes of variables to avoid error and optimize them.
Made two vectors scope narrower and reserved them because we know the size in advance. This helps save on allocation costs.
* fix spacing
2019-01-25 09:39:32 -05:00
Sofia Nguy
b66b5561ee
Electron timelines ( #16496 )
2019-01-24 16:40:44 -06:00
Milan Burda
713df08e3e
chore: remove deprecated modules internally using remote.require in sandboxed renderer context ( #15957 )
2019-01-24 10:53:52 -08:00
Milan Burda
fef262f829
fix: check process.isMainFrame in sandboxed_renderer/init.js ( #16500 )
2019-01-24 10:53:16 -08:00
Nitish Sakhawalkar
e6952e2a16
fix: correctly destroy spellcheck client ( #16448 )
...
* fix: Destroy spellcheck client
* Address review comments
2019-01-24 08:18:54 -08:00
Tomas Rycl
1db4dd68a7
Troubleshooting for Windows Driver Kit ( #16405 )
2019-01-23 12:34:18 -08:00
Electron Bot
90151879cc
Bump v6.0.0-nightly.20190123
2019-01-23 11:49:22 -08:00
Shelley Vohr
f431ce4971
build: fix individual asset downloading in release script ( #16493 )
...
* Revert "build: fix release asset download for now (#16486 )"
This reverts commit 7df531bc4e .
* build: clean up asset downloading
2019-01-23 11:47:36 -08:00
Jeremy Apthorp
ad3ea6ec53
ci: re-enable logging on CI ( #16257 )
2019-01-23 11:28:34 -08:00
Milan Burda
cc90919384
refactor: pass internal flag via IPC message struct for consistency ( #16490 )
2019-01-23 08:24:57 -08:00
Alexey Kuzmin
0a5adfe365
build: fail a build if some hooks don't succeed ( #16369 )
2019-01-23 11:31:14 +01:00
Jeremy Apthorp
fd8b9450ee
test: untangle a chromium-spec test ( #16456 )
2019-01-22 13:26:32 -08:00
John Kleinschmidt
34ac68c4a8
ci: Update build timeouts ( #16492 )
...
* Update timeout for native_mksnapshot and use bigger machines
* Revert "build: temporarily disable arm to unblock nightlies (#16479 )"
This reverts commit 51961fccfa .
2019-01-22 16:14:01 -05:00
Samuel Attard
f3e30c7ae3
Merge remote-tracking branch 'origin/chromium-upgrade/72'
2019-01-22 12:01:18 -08:00
Samuel Attard
0b85fb7ea2
Revert "feat: upgrade to Chromium 72.0.3626.52 ( #16334 )"
...
This reverts commit 1918e76913 .
2019-01-22 12:01:04 -08:00
Samuel Attard
58a6fe13d6
feat: preloads and nodeIntegration in iframes ( #16425 )
...
* feat: add support for node / preloads in subframes
This feature has delibrately been built / implemented in such a way
that it has minimum impact on existing apps / code-paths.
Without enabling the new "nodeSupportInSubFrames" option basically none of this
new code will be hit.
The things that I believe need extra scrutiny are:
* Introduction of `event.reply` for IPC events and usage of `event.reply` instead of `event.sender.send()`
* Usage of `node::FreeEnvironment(env)` when the new option is enabled in order to avoid memory leaks. I have tested this quite a bit and haven't managed to cause a crash but it is still feature flagged behind the "nodeSupportInSubFrames" flag to avoid potential impact.
Closes #10569
Closes #10401
Closes #11868
Closes #12505
Closes #14035
* feat: add support preloads in subframes for sandboxed renderers
* spec: add tests for new nodeSupportInSubFrames option
* spec: fix specs for .reply and ._replyInternal for internal messages
* chore: revert change to use flag instead of environment set size
* chore: clean up subframe impl
* chore: apply suggestions from code review
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com >
* chore: clean up reply usage
* chore: fix TS docs generation
* chore: cleanup after rebase
* chore: rename wrap to add in event fns
2019-01-22 11:24:46 -08:00
Jeremy Apthorp
92b9525cfd
feat: enable mixed-sandbox mode by default ( #15894 )
2019-01-22 10:44:28 -08:00
Jeremy Apthorp
1918e76913
feat: upgrade to Chromium 72.0.3626.52 ( #16334 )
2019-01-22 10:39:32 -08:00
Samuel Attard
ff9b23ebe5
fix: dont run window-setup on chrome:// protocol, introduced in b965e54efc ( #16489 )
2019-01-22 10:32:18 -08:00
John Kleinschmidt
c0f6a44e39
Try longer timeout on electron build
2019-01-22 10:32:07 -08:00
Cheng Zhao
3828e2a53a
backport patch to fix arm64 build of swiftshader
2019-01-22 10:32:07 -08:00
Cheng Zhao
be69192a61
backport patch to fix compilation error in test
2019-01-22 10:32:07 -08:00
Jeremy Apthorp
8c1b5311fd
robustify async webview test
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
6d4480ea6b
feat: allow setting autoplayPolicy in webPreferences ( #16396 )
2019-01-22 10:32:06 -08:00
Cheng Zhao
1fe4b3fa28
fix: add patch to disable dcheck in inter_process_time_ticks_converter.cc
...
I'm seeing crashes on Windows when runnings tests for serviceWorker, the
reason why the dcheck failed is unclear.
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
f115376595
fix: remove pretarget handler before window destruction
2019-01-22 10:32:06 -08:00
deepak1556
8122dd2c33
backport v8 patch for linker issue in windows testing builds
2019-01-22 10:32:06 -08:00
deepak1556
d2c0f9f754
Implicitly bypass localhost when proxying requests.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1303626
2019-01-22 10:32:06 -08:00
Cheng Zhao
03d499bf34
fix: detach webview instead of destroying it
...
Chromium no longer cleans up everything when a guest webcontents is
destroyed, we have to force detaching it and let Chromium destroy everything.
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
5e043812ef
fix HandleKeyboardEvent merge failure
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
7764ca7209
add missing include for l10n_util.h on win
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
ded316cd5e
wait for window to be focused in openDevTools test
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
4b45a5fc6d
roll node
...
to pick up libuv compile fix on windows
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
078d518e36
add missing //components/feature_engagement dep needed for color_chooser_aura
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
212d858bf4
set autoplay policy to no-user-gesture-required by default
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
3faf2480e0
update dom storage quota patch
...
https://chromium-review.googlesource.com/c/chromium/src/+/1166218/
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
55d5b02f87
include glib.h in atom_main_delegate
...
it was complaining about 'undeclared identifier 'TRUE''
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
8fa33ba120
disable visibilitychange tests as the functionality is broken upstream
...
https://crbug.com/920839
2019-01-22 10:32:06 -08:00
deepak1556
826f1cb90c
Move the base/sys_info* files to base/system/
...
https://chromium-review.googlesource.com/c/chromium/src/+/1327441
2019-01-22 10:32:05 -08:00
deepak1556
ed5a865efb
Update GetAccessibleName() in view::ImageView and view::Button
...
https://chromium-review.googlesource.com/c/chromium/src/+/1256308
2019-01-22 10:32:05 -08:00
deepak1556
90b6d13714
Remove menu_marker from MenuButton.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1324375
2019-01-22 10:32:05 -08:00
deepak1556
85333a5974
Move ViewsDelegate::NotifyAccessibilityEvent to an observer pattern
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352265
2019-01-22 10:32:05 -08:00
deepak1556
5f941c5180
Remove CR_DEFINE_STATIC_LOCAL
...
https://bugs.chromium.org/p/chromium/issues/detail?id=893317
2019-01-22 10:32:05 -08:00
deepak1556
06a5ade3c6
fixup! Use strong ownership for attached inner WebContents
2019-01-22 10:32:05 -08:00
deepak1556
374406375b
Add interface and Mac implementation for responsiveness::NativeEventObserver.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1157235/
2019-01-22 10:32:05 -08:00
deepak1556
4089620729
fix: Initialize resource bundle for the browser process earlier
2019-01-22 10:32:05 -08:00
deepak1556
1de0152b6b
chore: fix gn format error
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
94246d428b
resource_coordinator_parts stub in BrowserProcessImpl
...
https://chromium-review.googlesource.com/c/1324134
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
3b88dd6ef7
tts was migrated to content
...
https://chromium-review.googlesource.com/c/1341154
https://chromium-review.googlesource.com/c/1351806
https://chromium-review.googlesource.com/c/1352055
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
2cbf3080d0
Make webkitRelativePath interoperable
...
https://chromium-review.googlesource.com/c/1325579
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
d0621db8fd
Remove ResourceContext::GetRequestContext since it's no longer used.
...
https://chromium-review.googlesource.com/c/1352035
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
6f9ff39728
CORS -> Cors
...
https://chromium-review.googlesource.com/c/1333018
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
a64cf5514f
move pdf_compositor off ServiceContext/ServiceTest
...
https://chromium-review.googlesource.com/c/1343506
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
93fbb6c092
remove name parameter from AllowIndexedDB
...
https://chromium-review.googlesource.com/c/1306914
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
600c3f2c2f
StoragePartition::ClearData no longer takes an OriginMatcher
...
https://chromium-review.googlesource.com/c/1162172
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
deff96a1b0
NativeWidgetMac::CreateNSWindow params changed
...
https://chromium-review.googlesource.com/c/1295251
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
b03daaebe4
ChildProcessData.{GetHandle() => GetProcess().GetHandle()}
...
https://chromium-review.googlesource.com/c/1298345
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
4ddd337a64
CurrentProcessInfo::CreationTime -> Process::Current().CreationTime()
...
https://chromium-review.googlesource.com/c/1280642
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
a64a0fa88e
remove ipc/struct_destructor_macros.h
...
https://chromium-review.googlesource.com/c/1261082
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
c0cf065c1a
REVIEW: Use strong ownership for attached inner WebContents
...
https://chromium-review.googlesource.com/c/1301843
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
96b2623887
replace base::AssertBlockingAllowed with base::ScopedBlockingCall
...
https://chromium-review.googlesource.com/c/1278540
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
e0d277e667
CopyNSImage was removed
...
https://chromium-review.googlesource.com/c/1333876
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
485bbd9ccb
ContentRulesetService -> RulesetService
...
https://chromium-review.googlesource.com/c/1294299
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
d228bdfb9e
gfx::NativeView is no longer NSView on mac
...
https://chromium-review.googlesource.com/c/1270343
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
70887ae21a
extra parameters to BrowserClient::HandleExternalProtocol
...
https://chromium-review.googlesource.com/c/1318976
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
96f9611cf4
GetCachePath replaced with GetGeneratedCodeCacheSettings
...
https://chromium-review.googlesource.com/c/1301973
https://chromium-review.googlesource.com/c/chromium/src/+/1213093
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
ef80cc3d56
base/sys_info.h -> base/system/sys_info.h
...
https://chromium-review.googlesource.com/c/1327441
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
0d9de7deaf
blink::WebReferrerPolicy -> network::mojom::ReferrerPolicy
...
https://chromium-review.googlesource.com/c/chromium/src/+/1212345
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
96ca070c3a
less const in WebContents
...
https://chromium-review.googlesource.com/c/1349466
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
8948e27ced
ScopedNestableTaskAllower in MessageLoopCurrent
...
https://chromium-review.googlesource.com/c/chromium/src/+/1020288
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
30e5e993c1
HandleKeyboardEvent returns bool
...
https://chromium-review.googlesource.com/c/chromium/src/+/1262404
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
fd7b49b32b
remove OnAreExperimentalCookieFeaturesEnabled
...
https://chromium-review.googlesource.com/c/1287209
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
d36a6de25c
OnCanEnablePrivacyMode -> OnForcePrivacyMode
...
https://chromium-review.googlesource.com/c/1343051
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
d01db5a656
migrate to non-deprecated v8 functions
...
https://bugs.chromium.org/p/v8/issues/detail?id=8238
https://bugs.chromium.org/p/v8/issues/detail?id=7295
https://chromium-review.googlesource.com/c/v8/v8/+/1352273
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
7d5cd2051a
update boringssl patches
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
95ed3238be
update v8 patches
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
02e41b41b2
roll Chrome to 72.0.3626.52 and update patches
2019-01-22 10:32:03 -08:00
Electron Bot
cd25ddeb06
Bump v5.0.0-nightly.20190122
2019-01-22 08:55:08 -08:00
Shelley Vohr
7df531bc4e
build: fix release asset download for now ( #16486 )
2019-01-22 08:53:52 -08:00
Milan Burda
6cba2c50a2
feat: make ipc-message and ipc-message-sync events public ( #16468 )
2019-01-22 08:47:58 -08:00
Milan Burda
dbc5f67dca
docs: fix web-request.md listener signatures in electron.d.ts ( #16485 )
2019-01-22 08:46:40 -08:00
Milan Burda
7d71ad6f91
fix: takeHeapSnapshot() using public IPC channel for internal implementation ( #16480 )
2019-01-22 17:32:24 +09:00
Milan Burda
0e27f133d7
refactor: delete atom_api_renderer_ipc.h ( #16481 )
2019-01-21 22:31:37 -08:00
Milan Burda
b965e54efc
fix: <webview> not working with contextIsolation + sandbox ( #16469 )
2019-01-22 10:08:16 +09:00
Matthew Leffler
a9ac75c1f9
docs: Fix TouchBar API example ( #16482 )
2019-01-21 17:07:47 -08:00
Electron Bot
033efdcaa1
Bump v5.0.0-nightly.20190121
2019-01-21 15:28:16 -08:00
Shelley Vohr
51961fccfa
build: temporarily disable arm to unblock nightlies ( #16479 )
2019-01-21 15:22:56 -08:00
Cheng Zhao
ac65f38842
fix: prevent double-destroy of window ( #16472 )
2019-01-21 14:56:30 -08:00
Samuel Attard
0b0679e065
build: auto-fix linting issues on commit ( #16466 )
...
* build: auto-fix formatting during commit
* use lint-staged as precommit hook to autofix issues
2019-01-21 14:46:32 -08:00
Shelley Vohr
3ca87d205f
feat: make zoomLevel/zoomFactor sync ( #16410 )
...
* feat: make zoomLevel/zoomFactor sync
* update ts defs dep
2019-01-20 23:40:27 -08:00
Electron Bot
dacf7f8bdc
Revert "Bump v5.0.0-nightly.20190119"
...
This reverts commit 2cca0f9bb7 .
2019-01-19 21:14:06 -08:00
Electron Bot
2cca0f9bb7
Bump v5.0.0-nightly.20190119
2019-01-19 19:52:39 -08:00
Shelley Vohr
441c9ce376
feat: promisify desktopCapturer.getSources ( #16427 )
...
* feat: promisify desktopCapturer.getSources
* fix doc
* fix docs lint error
2019-01-18 15:29:32 -08:00
Electron Bot
902c239fdf
Revert "Bump v5.0.0-nightly.20190118"
...
This reverts commit 9e6726f304 .
2019-01-18 15:21:39 -08:00
Electron Bot
9e6726f304
Bump v5.0.0-nightly.20190118
2019-01-18 15:21:39 -08:00
Electron Bot
329d45562b
Revert "Bump v5.0.0-nightly.20190118"
...
This reverts commit 83b44b735f .
2019-01-18 14:12:13 -08:00
Electron Bot
83b44b735f
Bump v5.0.0-nightly.20190118
2019-01-18 14:12:01 -08:00
Shelley Vohr
3417c42bfd
chore: always try to nuke tags ( #16451 )
2019-01-18 14:00:15 -08:00
Electron Bot
7f4064af16
Revert "Bump v5.0.0-nightly.20190118"
...
This reverts commit ace11f9bc8 .
2019-01-18 13:42:51 -08:00
Electron Bot
ace11f9bc8
Bump v5.0.0-nightly.20190118
2019-01-18 13:42:51 -08:00
Electron Bot
cd91440e47
Revert "Bump v5.0.0-nightly.20190118"
...
This reverts commit 5e5c71e1d7 .
2019-01-18 12:46:16 -08:00
Electron Bot
5e5c71e1d7
Bump v5.0.0-nightly.20190118
2019-01-18 12:32:29 -08:00
Milan Burda
7d4a1223fd
feat: add preload-error event to webContents ( #16411 )
2019-01-18 12:03:43 +01:00
Jeremy Apthorp
98d0daa2fd
chore: remove unused osfhandle hack ( #16305 )
2019-01-17 15:58:47 -08:00
Shelley Vohr
f105c84349
test: ensure legacy callback functions work ( #16436 )
...
* test: test legacy callback functions
* add TODO removal comments
* fix callback spec
2019-01-17 14:17:16 -08:00
Shelley Vohr
720197f9c8
fix: correctly handle IPC for promise-based methods ( #16433 )
2019-01-17 12:08:54 -08:00
Milan Burda
4d0b2ac9be
docs: fix promisification.md formatting ( #16434 )
2019-01-17 09:30:32 -08:00
Shelley Vohr
1f2b02c18f
feat: promisify protocol.isProtocolHandled() ( #16423 )
...
* feat: promisify protocol
* fix base::Bind and specs
* update documentation
* make callback-compatible
* async awaitify tests
2019-01-17 09:05:10 -08:00
Electron Bot
32d98851bc
Revert "Bump v5.0.0-nightly.20190116"
...
This reverts commit 82fc099602 .
2019-01-16 11:28:09 -08:00
Electron Bot
82fc099602
Bump v5.0.0-nightly.20190116
2019-01-16 11:04:22 -08:00
SamvelRaja
34c1727cb3
docs: fix typo in build instructions for windows ( #16414 )
2019-01-15 21:58:39 -08:00
Milan Burda
23d44e322d
feat: use default-app behavior in packaged apps ( #16310 )
...
Unify the behavior between default app and packaged apps:
- create default application menu unless the app has one
- default window-all-closed handling unless the app handles the event
2019-01-15 21:35:53 +01:00
Shelley Vohr
8e2ab8b20b
refactor: promise_util promise creation ( #16401 )
...
* refactor: promise_util creation
* enter correct contexts on resolve/reject
* return Local in helper
* set context correctly
* forgot one
2019-01-15 09:54:59 -08:00
Mosh Feu
05755ba202
docs: show the code of adding devtools extension ( #16186 )
2019-01-15 17:48:21 +09:00
Shelley Vohr
0881fd6397
feat: split openExternal into sync and async ( #16176 )
...
* feat: split openExternal into sync and async
* v8::Locker => mate::Locker
* fix: enter js env when resolving promise
2019-01-14 20:35:21 -08:00
Milan Burda
52e257668d
fix: windowmenu did not show the window list on macOS ( #16387 )
2019-01-14 17:27:52 +01:00
Shelley Vohr
df62e78b71
chore: remove unused deps ( #16373 )
2019-01-12 16:47:09 +01:00
Alex Garbutt
dcb670fa46
fix: emit IPC event in correct context if isolation and sandbox enabled ( #16352 )
...
* fix: emit IPC event in correct context if isolation and sandbox enabled
IPC events were not being delivered to renderer processes when both
`contextIsolation` and `sandbox` were enabled. This is because the
`AtomSandboxedRenderFrameObserver` class was incorrectly using the
`MainWorldScriptContext`, rather than conditionally selecting the
context based on if isolation was enabled.
Fixes #11922
2019-01-12 14:19:20 +01:00
Electron Bot
134792a594
Revert "Bump v5.0.0-nightly.20190111"
...
This reverts commit 71f542d8f6 .
2019-01-11 21:40:55 -08:00
Electron Bot
71f542d8f6
Bump v5.0.0-nightly.20190111
2019-01-11 21:18:40 -08:00
Robo
52fe92d02e
feat: Upgrade to Chromium 71.0.3578.98 ( #15966 )
2019-01-11 17:00:43 -08:00
Electron Bot
92ddfd0d4c
Revert "Bump v5.0.0-nightly.20190111"
...
This reverts commit c81c9ee2b4 .
2019-01-11 12:35:25 -08:00
Electron Bot
c81c9ee2b4
Bump v5.0.0-nightly.20190111
2019-01-11 11:40:15 -08:00
Shelley Vohr
fc169221be
Revert "Bump v5.0.0-nightly.20190111"
...
This reverts commit c43a61c576 .
2019-01-11 11:38:26 -08:00
Electron Bot
c43a61c576
Bump v5.0.0-nightly.20190111
2019-01-11 10:01:46 -08:00
Electron Bot
c4e4f085dd
Revert "Bump v5.0.0-nightly.20190111"
...
This reverts commit 088f936dab .
2019-01-11 09:55:58 -08:00
Electron Bot
088f936dab
Bump v5.0.0-nightly.20190111
2019-01-11 09:54:46 -08:00
Shelley Vohr
e2b1394ad1
redo: size -> length ( #16370 )
2019-01-11 09:53:13 -08:00
Alexey Kuzmin
3cb9aadb80
build: fix the build with enable_run_as_node disabled ( #15711 )
2019-01-11 08:02:06 -08:00
Shelley Vohr
ca218b6395
test: allow retries for flaky mas loginitem specs ( #16347 )
2019-01-10 14:15:47 -08:00
Charles Kerr
52852b963a
fix: beep on Ubuntu ( #16350 )
...
beeps on Linux are made by writing BEL to /dev/console,
which requires elevated permissions on Ubuntu. So if
opening /dev/console fails, fall back to /dev/tty.
2019-01-10 13:43:07 -08:00
Shelley Vohr
d0ae89befa
chore: fix tag cleanup ( #16353 )
2019-01-10 13:42:42 -08:00
Charles Kerr
2acf9ac72f
fix: improve release notes ( #16343 )
...
* fix: use version name in release notes
* fix: omit previously-released notes
* fix: sniff semantic commit types from PR subjects
instead of only from commit messages
* fix: do not use unrecognized semantic commit types
* chore: do not hardcode Release-Notes comment text
It used to be '<!-- One-line Change Summary Here-->',
it's currently a link to a best-practices page, and
it'll probably change again in the future. Let's just
match on <!--.*--> instead.
* chore: copyedit the help page
* chore: use clerk's OMIT_FROM_RELEASE_NOTES_KEYS
* chore: tweak comments
* chore: rename 'breaks' property as 'breaking'
2019-01-10 14:01:38 -06:00
Milan Burda
102d8fe506
chore: add 'use strict' to default app sources ( #16346 )
2019-01-10 20:54:34 +01:00
Electron Bot
2ee59cc82c
Revert "chore: s/size/length ( #16351 )"
...
This reverts commit 03e16ffa57 .
2019-01-10 11:04:31 -08:00
Shelley Vohr
03e16ffa57
chore: s/size/length ( #16351 )
2019-01-10 10:58:23 -08:00
Jeremy Apthorp
782825fc29
fix: return after handling Esc for fullscreen in WebContentsDelegate ( #16342 )
2019-01-10 11:03:48 -05:00
Electron Bot
0299328521
Bump v5.0.0-nightly.20190110
2019-01-10 07:59:58 -08:00
Milan Burda
eb02a422de
feat: add fileMenu / viewMenu / appMenu roles ( #16328 )
2019-01-10 14:32:03 +01:00
Electron Bot
72af4941f8
Bump v5.0.0-nightly.20190109
2019-01-09 21:43:29 -08:00
Michelle Tilley
744f737cba
fix: properly determine if WebContents is offscreen in WebContentsDelegate ( #16329 )
2019-01-09 09:55:45 -08:00
Shelley Vohr
f72d5a4184
chore: fix electron.d.ts file upload ( #16335 )
2019-01-08 22:51:49 -08:00
Electron Bot
17d2467932
Revert "Bump v5.0.0-nightly.20190108"
...
This reverts commit 241baf77f1 .
2019-01-08 20:46:56 -08:00
Electron Bot
241baf77f1
Bump v5.0.0-nightly.20190108
2019-01-08 18:11:20 -08:00
Shelley Vohr
b4299a2872
chore: pass dryRun arg correctly ( #16333 )
...
* chore: pass dryRun arg correctly
* no log
2019-01-08 18:09:42 -08:00
Electron Bot
45baaeaf2c
Revert "Bump v5.0.0-nightly.20190108"
...
This reverts commit 1fd7a4bfab .
2019-01-08 16:30:25 -08:00
Electron Bot
1fd7a4bfab
Bump v5.0.0-nightly.20190108
2019-01-08 16:22:33 -08:00
Shelley Vohr
826063a2f7
chore: github => octokit in release notes ( #16332 )
2019-01-08 16:20:54 -08:00
Milan Burda
349a3c20ae
feat: add additional remote APIs filtering ( #16293 )
2019-01-08 14:27:56 -08:00
Mark Lee
6436a12d7f
docs: fix app.setAppUserModelId link ( #16322 )
2019-01-08 16:40:57 -05:00
Shelley Vohr
000be5d1d4
chore: refactor scripts for octokit update ( #16284 )
...
* chore: refactor scripts for octokit
* update release script
* update more octokit scripts
* cleanup
* remove unecessary refactor
* fixup package lock
2019-01-08 12:05:58 -08:00
Shelley Vohr
434f1368a0
test: add specs to version bump utils ( #16315 )
2019-01-08 12:04:27 -08:00
Vik Ramanujam
668049a593
Add instructions to get Notifications working on Win 10 Update ( #16320 )
...
Fails silently and was frustratingly hard to know why. Hope this save a lot of people some time.
2019-01-08 08:16:30 -08:00
Milan Burda
5c250455ad
refactor: pass isWebViewTagEnabled via ELECTRON_BROWSER_SANDBOX_LOAD ( #16238 )
2019-01-08 10:12:34 +01:00
Shelley Vohr
791d6de8b0
chore: fix json parsing for npm publish ( #16318 )
2019-01-07 20:37:44 -08:00
Jeremy Apthorp
a3e5173c47
Merge pull request #16203 from electron/alkuzmin/add-external-binaries-config
...
build: extract external binaries config
2019-01-07 17:37:53 -08:00
Shelley Vohr
b71a5a5955
fix: register accelerator if role has no registerAccelerator ( #16309 )
...
* fix: register accelerator if role has no registerAccelerator
* ensure roles[role].registerAccelerator is defined
2019-01-07 16:01:03 -08:00
Shelley Vohr
30c670bd83
chore: release notes should be an object ( #16313 )
2019-01-07 16:00:36 -08:00
Electron Bot
596c0a8672
Bump v5.0.0-nightly.20190107
2019-01-07 13:47:13 -08:00
Shelley Vohr
2ac677228d
chore: fix pre passing to atom.rc ( #16311 )
...
* chore: fix pre passing to versionH
* preTypes => preType
2019-01-07 13:41:07 -08:00
Electron Bot
ff1c90b638
Revert "Bump v5.0.0-nightly.20190107"
...
This reverts commit 90f23c187f .
2019-01-07 13:14:41 -08:00
Electron Bot
90f23c187f
Bump v5.0.0-nightly.20190107
2019-01-07 12:26:08 -08:00
Shelley Vohr
854443a291
chore: trim output of branch correctly ( #16307 )
2019-01-07 12:24:18 -08:00
Shelley Vohr
9c7f6affc2
Revert "ci: use config version 2.1 on CircleCI ( #15665 )" ( #16304 )
...
This reverts commit 0c46a7a4d9 .
2019-01-07 11:59:45 -08:00
Milan Burda
fade3eb679
chore: make "nodeIntegration" and "webviewTag" default to false ( #16235 )
2019-01-07 22:19:27 +03:00
Electron Bot
cdf4bfa68f
Revert "Bump v4.0.0-nightly.20190107"
...
This reverts commit f8614ab019 .
2019-01-07 09:17:17 -08:00
Electron Bot
f8614ab019
Bump v4.0.0-nightly.20190107
2019-01-07 09:17:04 -08:00
Milan Burda
6f117b8e0c
feat: add app.commandLine.hasSwitch() / app.commandLine.getSwitchValue() ( #16282 )
...
* feat: add app.commandLine.hasSwitch() / app.commandLine.getSwitchValue()
* add more tests
* refactor: move appendSwitch / appendArgument to command_line module
* replace AppendSwitchASCII with AppendSwitchNative
* remove castArgs
2019-01-07 07:48:27 -08:00
Aleksei Kuzmin
dee964e0fe
build: extract external binaries config
2019-01-07 10:44:08 +01:00
Keshal Desai
5957ede41a
fix: update license year ( #16287 )
2019-01-05 12:53:20 -08:00
Jeremy Apthorp
959c7a76e9
Merge pull request #16252 from electron/miniak/guest-view-manager
...
fix: security: improve IPC validation in guest-view-manager
2019-01-04 16:47:27 -08:00
Milan Burda
a0cdcc5f8d
security: improve IPC validation in guest-view-manager
2019-01-05 00:06:47 +01:00
Shelley Vohr
9cc3fbabf7
chore: @electron/nightly => electron-nightly ( #16273 )
2019-01-04 13:48:02 -08:00
Michelle Tilley
3db691d693
chore: add additional logging during asset upload ( #16279 )
2019-01-04 13:14:41 -08:00
Shelley Vohr
c1ca8476f8
chore: result => result.data ( #16274 )
...
* chore: result.draft => result.data.draft
* also result.id
2019-01-04 11:26:14 -08:00
Kilian Valkhof
21d1849723
Update browser-window.md with alpha hex formatting ( #16269 )
...
HEX with alpha can be #RRGGBBAA or #AARRGGBB. In Electron it's the latter. It's nice to explicitly state that, so others wont have to try twice like me :).
2019-01-04 10:33:12 -08:00
John Kleinschmidt
50010934d1
docs: Update reference to xcode 8.3.3 ( #16267 )
...
* Update reference to xcode
* Update to reflect use of 10.12 SDK
2019-01-04 13:05:12 -05:00
Jeremy Apthorp
849dd0db64
fix: correctly pass hidden-page argument to isolated renderers ( #16258 )
2019-01-04 08:25:47 -08:00
Shelley Vohr
de0e4735de
fix: error if a11y support changed before ready ( #16261 )
2019-01-04 10:20:06 -05:00
Tyler Saballus
2117524102
Fix typos in app.md ( #16260 )
...
Mostly added commas to prepositions that occur in the predicate. There was a misspelling and a few run-on sentences as well though.
2019-01-04 10:18:15 -05:00
Shelley Vohr
876064036d
fix: don't register some shortcuts without accessibility ( #16125 )
...
Fixed crash on macOS when using globalShortcut for media keys when accessibility access is not granted.
2019-01-03 20:40:17 -08:00
Shelley Vohr
b57046e67d
feat: add mac support to systemPrefs.getColor() ( #16249 )
2019-01-03 16:17:07 -08:00
Shelley Vohr
03892153de
feat: expose systemPreferences.getSystemColor() ( #16248 )
2019-01-03 14:30:38 -08:00
Shelley Vohr
439ba5116f
feat: add mac support to systemPrefs.getAccentColor() ( #16251 )
...
* feat: add mac support to systemPrefs.getAccentColor()
* note 10.14 retriction
2019-01-03 13:24:55 -08:00
Michelle Tilley
5c378de22f
chore: add link to clerk readme to PR checklist ( #16253 )
2019-01-03 10:59:07 -08:00
Milan Burda
3f1d22759a
refactor: use helpers for command-line parsing in renderer/init.js ( #16239 )
2019-01-03 11:22:34 -05:00
Shelley Vohr
baaeb7cece
chore: update deprecated LSGetApplicationForURL ( #16180 )
...
* chore: update deprecated LSGetApplicationForURL
* wrap with @available
2019-01-02 15:20:32 -08:00
Samuel Attard
eb8dc6b675
chore: publish nightlies to electron-nightly ( #15938 )
...
* chore: publish nightlies to electron-nightly
* electron-nightly => @electron/nightly
2019-01-02 11:04:56 -08:00
Cheng Zhao
a5e63dc5fd
fix: don't expose isolatedWorld to global ( #16208 )
2018-12-28 10:54:32 +09:00
Vladimir
5ae3d1a1b2
feat: add multi BrowserView support to BrowserWindow ( #16148 )
...
* feat: add multi BrowserView support to BrowserWindow
Add functions addBrowserView, removeBroserView, getBrowserViews to
BrowserWindow class. Existing API as setBrowserView and
getBrowserView code replaced to use new api inside.
* fix: for lint and osx compile errors
* fix: lint error in test code
* feat: add multi BrowserView support to BrowserWindow
Add functions addBrowserView, removeBroserView, getBrowserViews to
BrowserWindow class. Existing API as setBrowserView and
getBrowserView code replaced to use new api inside.
* fix: for lint and osx compile errors
* fix: lint error in test code
* fix: method to be accessible on mac api impl
* fix: missed function declarations for mac impl
* fix: use base class reset function
2018-12-22 10:49:26 +09:00
Shelley Vohr
18ca4b6a3a
chore: update @types/node dep ( #16174 )
2018-12-21 12:59:42 -05:00
Zac Walker
51cfb5cff1
fix: extend tracing startRecording API to take a full tracing config ( #13914 )
...
This allows memory-infra to be traced correctly.
Fixes #12506 .
2018-12-20 15:11:17 +03:00
Cheng Zhao
4ff7976060
fix: add missing require in chromium-spec ( #16153 )
2018-12-20 16:58:46 +09:00
Shelley Vohr
90d314cc3b
chore: make nugget quiet by default ( #16147 )
...
* chore: make nugget quiet by default
* chore: allow nugget quiet to be passed via cli
2018-12-19 20:36:01 -07:00
Milan Burda
547097b036
security: allow to block desktopCapturer.getSources() calls ( #15964 )
...
* security: allow to block desktopCapturer.getSources() calls
* return empty instead of error
* fix: release resources of DesktopCapturer on exit
2018-12-20 11:44:30 +09:00
Charles Kerr
df0381e76c
feat: add option to generate explicit URLs in the release notes ( #16126 )
2018-12-19 08:48:01 -07:00
Mosh Feu
ddc38eda26
docs: specify "role" types for "menu-item" ( #16129 )
2018-12-19 09:39:35 -05:00
Pedro Pontes
9c783f53ba
fix: do not allow the window to grab focus when tabbing / shift+tabbing ( #16042 )
...
* fix: do not allow the window to grab focus when tabbing / shift+tabbing
* test: add tests.
2018-12-18 23:44:51 -07:00
Jeremy Apthorp
ed3e5739dc
test: promisify a bunch of tests ( #16051 )
...
* test: promisify a bunch of tests
* fix lint
* fix affinity tests
* more cowbell^Wawait
* less done
2018-12-18 23:44:03 -07:00
David Baker
cc85946f55
feat: Support response headers in File protocol handler ( #16098 )
...
* feat: Support response headers in File protocol handler
* bugfix: Null check headers value & fix tests
* refactor: Use non-deprecated FindKeyOfType
2018-12-18 23:17:02 -07:00
Jeremy Apthorp
03f876470e
docs: note that visual zoom is disabled by default ( #16130 )
2018-12-18 20:40:42 -07:00
Shelley Vohr
5cc4a30207
chore: release.id => release.data.id ( #16132 )
2018-12-18 19:51:38 -07:00
Shelley Vohr
a58d989b60
feat: expose app accessibility status api ( #16119 )
...
* feat: expose app accessibility status api
* fix prompt
2018-12-18 11:15:22 -05:00
Alex Greenland
dc93d94bc8
fix: support async child process methods without callback in asar ( #15927 )
...
* fix: support async child process methods without callback in asar
* fix: support async child process methods without callback in asar (improved)
2018-12-18 16:27:39 +09:00
Samuel Attard
6c998aa4f2
fix: fix Electron not starting in development from the CLI ( #16116 )
2018-12-17 19:26:22 -08:00
Milan Burda
1c7a47239b
chore: remove chrome_process_finder.patch ( #16113 )
2018-12-18 10:00:34 +09:00
Michelle Tilley
7fc8afa3e5
chore: update PR template to request better release notes ( #16080 )
2018-12-17 16:10:34 -08:00
Milan Burda
7ec4e7b0d8
chore: fix chrome_process_finder.patch description ( #15577 )
2018-12-17 14:15:35 -08:00
Milan Burda
41a3f123f1
docs: move require related breaking changes to Electron 6.0 ( #16109 )
2018-12-17 14:01:00 -08:00
popod
f6081b18b6
docs: Improve the doc about BrowserWindow title property ( #16086 )
...
* Improve the doc about BrowserWindow title property
* Update docs/api/browser-window.md
Co-Authored-By: popod <popod@me.com >
2018-12-17 13:16:24 -07:00
Milan Burda
7a6fe00f49
chore: simplify code for modules internally using remote.require in sandbox ( #16104 )
2018-12-17 22:47:41 +03:00
Gearóid
c64b4a3926
docs: more natural language in Mac app store guide ( #16095 )
2018-12-17 10:27:37 -05:00
Shelley Vohr
0431833866
chore: correctly capitalize releaseID ( #16079 )
2018-12-14 15:15:16 -08:00
Shelley Vohr
280f9bf49c
feat: allow immediate MacOS notifications ( #16060 )
...
* feat: allow immediate MacOS notifications
* fix args->GetNext
* update docs/api/system-preferences.md
Co-Authored-By: codebytere <codebytere@github.com >
* address feedback from @ckerr's review
2018-12-14 13:46:46 -08:00
Cheng Zhao
c7aa747891
chore: no need to expose Initialize of ipc module ( #16066 )
2018-12-14 08:01:29 -08:00
Cheng Zhao
8584c2f14b
fix: register webview in main world when using contextIsolation ( #16067 )
2018-12-14 15:38:35 +09:00
Shelley Vohr
dbda1a1b05
chore: add BinaryMuse to troppers ( #16062 )
2018-12-13 16:56:31 -08:00
Cheng Zhao
897c6e93cb
chore: simplify main world setup of contextIsolation ( #16046 )
2018-12-13 16:25:12 -05:00
Michelle Tilley
d6d245d0c3
docs: contextIsolation is no longer experimental ( #16043 )
2018-12-13 11:21:16 -05:00
John Kleinschmidt
0e6db8fd56
ci: Cleanup build dirs on Azure Devops ( #16047 )
...
* ci: Cleanup directories after build
* Use rm to cleanup source directory
* Update vsts.yml
* Check if files actually deleted
* Get rid of hidden files too
2018-12-13 11:11:09 -05:00
Simone Cattaneo
649633bbb7
fix: make 'setParentWindow' compatible under Windows ( #15775 )
2018-12-12 16:05:16 -08:00
Jeremy Apthorp
4250f84272
chore: enable v2 sandbox on mac ( #15647 )
2018-12-12 16:01:10 -08:00
Charles Kerr
f7528a0204
fix: fix an original-fs regression introduced in 4.0 betas ( #16028 )
...
* fix: fix an original-fs regression introduced in 4.0 betas
* chore: remove cruft from earlier draft
2018-12-12 15:32:53 -06:00
Milan Burda
c65a0d90b8
chore: misc cleanup ( #16037 )
2018-12-12 15:31:16 -06:00
Jeremy Apthorp
1152fecb75
test: fix flaky before-input-event test ( #16027 )
2018-12-11 17:01:48 -08:00
Alexey Kuzmin
48abef27d8
build: make it possible to pass a "--directory" arg to "git am" ( #16024 )
2018-12-11 22:49:01 +01:00
Cheng Zhao
624ade2c25
fix: return pointer instead of pointer's content ( #16014 )
2018-12-11 12:45:55 -05:00
Jeremy Apthorp
f3c64ea9d8
chore: add webui_resources to pak ( #16009 )
...
fixes #16006
2018-12-11 09:07:32 -08:00
Birunthan Mohanathas
e383aa31c8
fix: restore ability to disable color correct rendering ( #15898 )
...
In Electron 2.0, `--disable-features=ColorCorrectRendering` could be
used to make the app use the display color space (e.g. P3 on Macs)
instead of color correcting to sRGB. Because color correct rendering is
always enabled on Chromium 62 and later and because
`--force-color-profile` has no effect on macOS, apps that need e.g. P3
colors are currently stuck on Electron 2.0.
This restores the functionality removed in
https://chromium-review.googlesource.com/698347 in the form of the
`--disable-color-correct-rendering` switch.
This can be removed once web content (including WebGL) learn how
to deal with color spaces. That is being tracked at
https://crbug.com/634542 and https://crbug.com/711107 .
As an example of a widely used app using
`--disable-features=ColorCorrectRendering`, see VSCode:
3f33ef2593/src/main.js (L138-L139)
Notes: Add `--disable-color-correct-rendering` switch
2018-12-11 21:36:14 +05:30
Milan Burda
607b53c883
security: block chrome.tabs.executeScript() for non chrome-extension: URLs ( #15929 )
2018-12-11 10:45:46 +01:00
bughit
e044ada65c
fix: allow 2 threads for CreateIoCompletionPort on single-core to prevent busy looping ( #15975 )
...
* allow 2 threads for CreateIoCompletionPort on single-core
* use base::SysInfo::NumberOfProcessors instead of env var
* CHECK that uv_loop_ has not been used before replacing its iocp
2018-12-11 11:07:35 +09:00
Benjamin Pasero
c74ae107f1
fix: do not print an error for an expected condition ( #15991 ) ( #15992 )
2018-12-10 12:06:26 -08:00
Shelley Vohr
45a937df0a
fix: incorrect view ordering for customButtonsOnHover ( #15564 )
2018-12-10 11:05:30 -08:00
Shelley Vohr
163361ee6a
chore: disable bump-version on arm32 ( #15994 )
2018-12-10 10:57:44 -08:00
Shelley Vohr
4b18a38e9f
chore: simplify promisify helper ( #15952 )
...
chore: simplify promisify helper
2018-12-10 08:13:09 -08:00
Cheng Zhao
db2fda1b6f
chore: make rpc-server reply to sender frame instead of the main frame ( #15973 )
...
* chore: make rpc-server reply to frame
* fix: check IsRenderFrameLive
2018-12-10 09:37:42 +09:00
Samuel Attard
eb8fcf833c
chore: warn when people attempt to use the Electron module to do Electron things but from node ( #15916 )
...
* chore: warn when people attempt to use the Electron module to do Electron things but from node
* update node env console warning
2018-12-07 12:00:24 -08:00
Milan Burda
177091ca6f
chore: rename nativeRequire to potentiallyRemoteRequire ( #15971 )
2018-12-06 18:12:50 -08:00
Jeremy Apthorp
442c1b22e3
feat: webContents.loadURL returns a promise ( #15855 )
2018-12-06 12:16:19 -08:00
Shelley Vohr
1b8c11121f
chore: convert bump script to js ( #15820 )
2018-12-06 11:00:10 -08:00
Jeremy Apthorp
2845267c18
feat: support mixed-sandbox mode on linux ( #15870 )
2018-12-05 17:42:12 -08:00
Milan Burda
764a10f7c7
refactor: simplify isRemoteModuleEnabled handling in sandboxed renderers ( #15961 )
2018-12-05 10:07:56 -08:00
Milan Burda
ab2a061b59
refactor: use helpers when using the remote module in sandboxed renderers ( #15960 )
2018-12-05 10:07:32 -08:00
Saswat Bhattacharya
d243a45173
feat: implement 'app-command' events for browser history navigation keys on Linux ( #15441 )
...
* Added mouse forward/back button support on Linux
* Added browser history navigation action bindings for Windows, Mac, and Linux keyboard
* Removed new `history-action` event and modified `app-command` to execute on such events
* Removed attempt at macOS support and added constants
* Clarified app-command documentation
* Reverted 'app-command' description change
* Format code
2018-12-05 09:35:59 -08:00
Shelley Vohr
3f15f51615
feat: promisify app.getFileIcon() ( #15742 )
2018-12-05 08:50:12 -08:00
Moisés Neto
cfbea4a0e3
docs: es6ify 'Breaking Changes' and 'File' API pages ( #15507 )
...
* docs: apply arrow functions to app.makeSingleInstance example
* docs: apply arrow functions to session docs
* docs: change normal to arrow functions in File object docs
2018-12-05 23:14:52 +11:00
Milan Burda
d561c5531b
feat: deprecate modules internally using remote.require in sandboxed renderer context ( #15145 )
2018-12-05 10:34:09 +01:00
Pedro Pontes
d5d1fa8290
fix: use appropriate site instance for cross-site nav's ( #15821 )
...
* fix: use Chromium's determined new site instance as candidate when navigating.
When navigating to a new address, consider using Chromium's determined site instance
for the new page as it should belong to an existing browsing instance when the
navigation was triggered by window.open().
fixes 8100.
* Revert "fix: use Chromium's determined new site instance as candidate when navigating."
This reverts commit eb95f935654a2c4d4457821297670836c10fdfd5.
* fix: delegate site instance creation back to content when sandboxed.
* fix: ensure site isolation is on
* test: adapt ut for cross-site navigation
* fix: register pending processes during a navigation.
* refactor: dont call loadURL for a window constructed from an existing webContents.
* test: add sandboxed affinity UT's.
* fix: check affinity before deciding if to force a new site instance.
* chore: adapt subsequent patch.
* refactor: constify logically const methods.
* fix: do not reuse site instances when navigation redirects cross-site.
* test: ensure localStorage accessible after x-site redirect.
* test: adapt localStorage acess denied UT for site isolation.
* fix: do not send render-view-deleted for speculative frames.
* chore: amend tests after rebase.
* test: add ut for webContents' render-view-deleted emission
* fix: introduce current-render-view-deleted for current RVH's deletions.
Revert render-view-deleted to being emitted with any RVH's deletion.
current-render-view-deleted is emitted only when the RVH being deleted
is the current one.
* refactor: style and comments fixed.
2018-12-05 17:03:39 +09:00
Shelley Vohr
46e7214974
chore: remove electabul ( #15954 )
2018-12-04 20:50:37 -08:00
Milan Burda
cfb2812cea
docs: remove methods invoking the callback repeatedly from promisification.md ( #15951 )
2018-12-04 13:45:55 -08:00
Jeremy Apthorp
8d1d842185
chore: restore ppapi_host DCHECK ( #15788 )
2018-12-04 11:05:23 -08:00
Shelley Vohr
c31629ad98
feat: add media access APIs for macOS Mojave ( #15624 )
2018-12-04 07:54:13 -08:00
Milan Burda
aa2b2f7c8f
fix: security: don't allow arbitrary methods to be invoked on webContents via IPC ( #15919 )
2018-12-04 16:12:21 +01:00
Jeremy Apthorp
0a23c0b032
chore: remove old patch for fixing ffmpeg on 32-bit linux ( #15226 )
...
It's no longer necessary, per the comment
2018-12-04 20:11:24 +09:00
Cheng Zhao
5bc86eaf9c
Merge pull request #15019 from Anrock/child-window-location
...
fix: Introduce LocationProxy for BrowserWindowProxy
2018-12-04 20:11:00 +09:00
Cheng Zhao
ca7dec2082
fix: default prop of location should be empty str
2018-12-04 17:11:26 +09:00
Cheng Zhao
fc4e10b6c0
fix: set setter of window.location
2018-12-04 16:23:52 +09:00
Anrock
e80e3a53e9
feat: introduce LocationProxy for BrowserWindowProxy
2018-12-04 16:23:52 +09:00
Julien Isorce
1f55f1635f
feat: add support for DesktopCapturerSource.appIcon
...
Useful to get the icon of the application owning the source.
Only available for sources of type window, i.e. not for screen.
https://github.com/electron/electron/issues/14845
2018-12-04 15:42:49 +09:00
John Kleinschmidt
77f73830e8
build: Enable arm embedded builtins ( #15939 )
...
* Revert "FIXME: disable v8 embedded builtins feature for arm flavor"
This reverts commit 8ec3bc0272 .
* build: don't enable embedded builtins for arm/arm64 native mksnapshot
2018-12-04 11:17:12 +09:00
Shelley Vohr
d3c58ea48c
chore: move getCurrentBranch to a util file ( #15921 )
...
* chore: move getCurrentBranch to a util file
* fix import
2018-12-03 13:28:10 -08:00
Shelley Vohr
a1a431eb87
fix: make windowMenu role correct on MacOS ( #15930 )
2018-12-03 11:52:46 -08:00
Samuel Attard
3ddd917ff4
Merge pull request #15405 from electron/chromium-upgrade/70
...
feat: upgrade to Chromium 70.0.3538.110
2018-12-04 03:26:49 +11:00
Milan Burda
a33eeda4f7
refactor: don't expose NavigationController as an internal module ( #15920 )
2018-12-03 17:13:09 +01:00
deepak1556
8ec3bc0272
FIXME: disable v8 embedded builtins feature for arm flavor
2018-12-03 20:07:44 +05:30
deepak1556
982649bab7
chore: update libgtkui_export.patch
2018-12-03 20:07:44 +05:30
Cheng Zhao
a7ee737226
chore: backport_958b761_from_upstream_v8.patch is not needed for Ch70
2018-12-03 20:07:44 +05:30
Cheng Zhao
e842482ec8
chore: bit_hash_seed_commits.patch is not needed for Ch70
2018-12-03 20:07:44 +05:30
Cheng Zhao
f00b0a3485
chore: pick_b0af309_from_upstream_v8.patch is not needed for Ch70
2018-12-03 20:07:44 +05:30
Cheng Zhao
fe943f560b
chore: fix_font_thickness.patch is not needed for Ch70
2018-12-03 20:07:44 +05:30
Cheng Zhao
975f85ea56
chore: ensure_cookie_store.patch is not needed for Ch70
2018-12-03 20:07:44 +05:30
deepak1556
e734536815
chore: roll DEPS 70.0.3538.110
2018-12-03 20:07:44 +05:30
deepak1556
3dfc0098ec
chore: move node specific build config out of //electron
2018-12-03 20:07:44 +05:30
deepak1556
06a501d4a2
chore: use base::JoinString to concatenate vector
2018-12-03 20:07:44 +05:30
deepak1556
e1336d8453
chore: fix v8 deprecation warnings
2018-12-03 20:07:43 +05:30
deepak1556
f8418554a3
chore: update fix_trackpad_scrolling.patch
2018-12-03 20:07:43 +05:30
deepak1556
65b7924528
chore: update frame_host_manager.patch
2018-12-03 20:07:43 +05:30
deepak1556
5017db855c
fix: remove explicitly enabled SharedArrayBuffer feature flag
...
It is enabled by default now.
2018-12-03 20:07:43 +05:30
deepak1556
c6313b3d2d
chore: roll DEPS 70.0.3538.102
2018-12-03 20:07:43 +05:30
deepak1556
4eb0d497ab
chore: update printing.patch
2018-12-03 20:07:43 +05:30
deepak1556
2ebea5501e
chore: update customizable_app_indicator_id_prefix.patch
2018-12-03 20:07:43 +05:30
deepak1556
2d68d60e00
chore: rm fix_zoom_display.patch
2018-12-03 20:07:43 +05:30
Heilig Benedek
6deb7afb82
fix: reimplement FrameSubscriber with mojo, re-enable tests
2018-12-03 20:07:43 +05:30
Heilig Benedek
8727636fcc
fix: update and re-enable OSR
2018-12-03 20:07:42 +05:30
deepak1556
00294a5b25
FIXME: disable some specs
2018-12-03 20:07:42 +05:30
deepak1556
c491fa59df
spec: update inspector-binding.js
...
* https://github.com/nodejs/node/pull/22251
* https://github.com/nodejs/node/pull/20137
2018-12-03 20:07:42 +05:30
deepak1556
d97cf8c438
spec: force create network context for proxy tests
2018-12-03 20:07:42 +05:30
deepak1556
7a68d632e6
fix: use proxy lookup api of network context to resolve proxies
2018-12-03 20:07:42 +05:30
deepak1556
28cff4644e
fix: disable kSpareRendererForSitePerProcess feature
2018-12-03 20:07:42 +05:30
Samuel Attard
9d72bd4de4
chore: update CreateSkBitmapFromHICON usage for new API (no pointer)
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1234372
2018-12-03 20:07:42 +05:30
Samuel Attard
c1b9ca14e7
build: disable microsoft include warning
...
this error is being thrown on windows due a #include inside node
2018-12-03 20:07:42 +05:30
Samuel Attard
32a957c455
build: explicitly depend on //dbus for the linux build
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1273525
2018-12-03 20:07:42 +05:30
Samuel Attard
85fdacbc49
chore: replace ShowWithWindowState with Show inside native_window_views
...
The functionality was merged in as a parameter to the core Show method, default
for restore_bounds is an empty gfx::Rect()
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1174910
2018-12-03 20:07:42 +05:30
Samuel Attard
f8f091c250
chore: update GetLabelFrontList to be GetLabelStyle in menu model
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1186702
2018-12-03 20:07:41 +05:30
Shelley Vohr
c51fef1568
fix: use url::AddCORSEnabledScheme
2018-12-03 20:07:41 +05:30
Shelley Vohr
1523a82bab
fixup! add missing newlines to patches
2018-12-03 20:07:41 +05:30
Samuel Attard
92f50664d0
chore: fix linting
2018-12-03 20:07:41 +05:30
Samuel Attard
5798b152a6
chore: check GetAgent as GetTracingController() crashes if no agent is set
2018-12-03 20:07:41 +05:30
Samuel Attard
b1e69e1357
chore: update asar injection for new node internal module loader
2018-12-03 20:07:41 +05:30
Samuel Attard
9c36576ddd
chore: SetTracingController becomes SetAgent and corresponing contructions updated
2018-12-03 20:07:41 +05:30
deepak1556
f7f09b028b
Introduce explicit configuration to CertVerifier
...
https://chromium-review.googlesource.com/c/chromium/src/+/1122709
2018-12-03 20:07:41 +05:30
deepak1556
089001bd92
fix: update node inspector api usage
2018-12-03 20:07:41 +05:30
deepak1556
97aa7b8e68
Use CompletionOnceCallback in URLFetcherResponseWriter.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1155087
2018-12-03 20:07:41 +05:30
deepak1556
366ca47136
Change Value::BlobStorage to std::vector<uint8_t>
...
https://chromium-review.googlesource.com/c/chromium/src/+/1137819
2018-12-03 20:07:40 +05:30
deepak1556
d21e30f57b
Reorganize MediaStreamType enums
...
https://chromium-review.googlesource.com/c/chromium/src/+/1160000
2018-12-03 20:07:40 +05:30
deepak1556
d1da0aad7f
Make IsolateHolder aware of the isolate type.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1183194
2018-12-03 20:07:40 +05:30
deepak1556
321f87fe61
Complete TaskPriority::BACKGROUND->BEST_EFFORT mass rename
...
https://chromium-review.googlesource.com/c/chromium/src/+/1153461
2018-12-03 20:07:40 +05:30
deepak1556
6743b83786
Add notifications to UKM.xml.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1071649
2018-12-03 20:07:40 +05:30
deepak1556
f464b8c4c5
Respond for handling protocol commands async
...
https://chromium-review.googlesource.com/c/chromium/src/+/1139575
2018-12-03 20:07:40 +05:30
deepak1556
25d0a7b62a
Create a CodeCache per each storage_partition to store generated code
...
https://chromium-review.googlesource.com/c/chromium/src/+/1120179
2018-12-03 20:07:40 +05:30
deepak1556
b5b49c9ed0
FIXME: Remove SchemeRegistry::RegisterURLSchemeAsCORSEnabled
...
https://chromium-review.googlesource.com/c/chromium/src/+/1157364
2018-12-03 20:07:40 +05:30
deepak1556
ffeab383b5
Move NetworkConnectionTracker getter to network_service_instance.h
...
https://chromium-review.googlesource.com/1162888
2018-12-03 20:07:40 +05:30
deepak1556
0bd006a8eb
ProxyConfigDictionary: Use base::Value
...
https://chromium-review.googlesource.com/c/chromium/src/+/1150846
2018-12-03 20:07:40 +05:30
deepak1556
0f9dd3736c
Move CRLSets to being part of CertVerifier::Config
...
https://chromium-review.googlesource.com/c/chromium/src/+/1132706
2018-12-03 20:07:39 +05:30
deepak1556
6310d6c699
Flatten ResourceRequestBody data
...
https://chromium-review.googlesource.com/c/chromium/src/+/1114258
2018-12-03 20:07:39 +05:30
deepak1556
b2d53f1e1e
FIXME: word_start and medial_capital_as_word_start are removed from WebFindOptions
...
https://chromium-review.googlesource.com/c/chromium/src/+/1175645
2018-12-03 20:07:39 +05:30
deepak1556
4179cedf37
Change SubscribePermissionStatusChange to use a RFH to query permissions
...
https://chromium-review.googlesource.com/c/chromium/src/+/979735
2018-12-03 20:07:39 +05:30
deepak1556
66349261a5
fix: update to per context v8::Script::Compile api
2018-12-03 20:07:39 +05:30
deepak1556
c1f32afeeb
Use CompletionOnceCallback in URLRequestSimpleJob.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1155089
2018-12-03 20:07:39 +05:30
deepak1556
8f1fa4177e
Fix invalid handle errors found with App Verifier
...
https://chromium-review.googlesource.com/c/chromium/src/+/1145767
2018-12-03 20:07:39 +05:30
deepak1556
535d264497
fix: [UI] Resolve method conflict between MenuModel, SimpleMenuModel::Delegate
...
https://chromium-review.googlesource.com/c/chromium/src/+/1230581
2018-12-03 20:07:39 +05:30
deepak1556
2eedcde914
fix: Remove DEFINE_WEB_CONTENTS_USER_DATA_KEY in //electron.
...
https://bugs.chromium.org/p/chromium/issues/detail?id=589840
2018-12-03 20:07:39 +05:30
Samuel Attard
6b4b7c9831
chore: make BrowserObserver a CheckedObserver
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1053338
2018-12-03 20:07:38 +05:30
Samuel Attard
b6aae790cf
fixme: C70 removed DidReceiveCompositorFrame
...
(OSR relatied)
refs: 1de1ca906a
cc @brenca
2018-12-03 20:07:38 +05:30
Samuel Attard
74d1685523
chore: fix ShouldFork impl, referrer stripping has been removed
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1124329
2018-12-03 20:07:38 +05:30
Samuel Attard
c9007557e5
chore: post_task and friends now live under base/task
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1161088
2018-12-03 20:07:38 +05:30
Samuel Attard
c4cb90ab85
chore: replace PreContentInitialization with PreCreateMainMessageLoop
2018-12-03 20:07:38 +05:30
Samuel Attard
0adbcfd806
chore: bump node
2018-12-03 20:07:38 +05:30
Samuel Attard
fd442df851
chore: update v8 patches for Chromium 70
2018-12-03 20:07:38 +05:30
Samuel Attard
f927398b53
chore: update package-lock.json
2018-12-03 20:07:38 +05:30
Jeremy Apthorp
6414cb05f0
update DEPS
2018-12-03 20:07:37 +05:30
Jeremy Apthorp
3b4e706758
rebase chromium patches on M70
2018-12-03 20:07:37 +05:30
Milan Burda
559fd5cb31
chore: remove unused module ( #15917 )
2018-12-02 14:43:04 -08:00
Jakub Biesiada
1672cffe96
docs: update mojave-dark-mode-guide.md ( #15888 )
...
* Update mojave-dark-mode-guide.md
Add info about dark mode support in electron-builder
* Update mojave-dark-mode-guide.md
* Update mojave-dark-mode-guide.md
2018-12-01 12:02:36 +11:00
Shelley Vohr
b8ec886609
chore: allow bumping stable => beta ( #15906 )
2018-11-30 11:01:57 -08:00
Shelley Vohr
728be219a4
chore: improve granular release cleanup ( #15900 )
...
* chore: improve granular release cleanup
* make releaseId optional
2018-11-30 09:58:09 -08:00
Sylvester Keil
2e91bf1e15
Fix GTK menubar item color ( #15878 )
...
Use menubar item color (not menu item color).
Closes #15194
2018-11-30 09:28:45 -08:00
John Kleinschmidt
515525cfc6
ci: Renable ffmpeg and mksnapshot tests on Azure Devops ( #15800 )
...
* ci: Renable ffmpeg and mksnapshot tests on VSTS
Also, add testing of ffmpeg and mksnapshot to arm tests
2018-11-30 11:17:01 -05:00
Jeremy Apthorp
83d951db7e
chore: DCHECK that events are only emitted on the UI thread ( #15873 )
...
* chore: DCHECK that events are only emitted on the UI thread
* move dcheck to EmitWithEvent
2018-11-30 18:48:27 +09:00
Milan Burda
8483cb4aa7
security: only handle related IPCs when <webview> tag is enabled ( #15859 )
...
* refactor: move guest-view-manager related IPC handling out of rpc-server
* feat: only handle related IPCs when <webview> tag is enabled
2018-11-30 18:44:38 +09:00
Andy Dill
8cca1c987b
fix: move NativeWindow tracking to OSR WCV ( #15585 )
...
* fix: move NativeWindow tracking to OSR WCV
* fix oops
2018-11-29 21:25:02 -08:00
Heilig Benedek
78b88a70bb
fix: backport patch that ensures that cookie store is always created ( #15836 )
...
* fix: backport patch that ensures that cookie store is always created
* fix: disable cookie encryption
* fix: flush the cookie store when NetworkContext shuts down
* test: add test for cookie store persistance
* Update patches/common/chromium/ensure_cookie_store.patch
Co-Authored-By: brenca <benecene@gmail.com >
* Update patches/common/chromium/ensure_cookie_store.patch
Co-Authored-By: brenca <benecene@gmail.com >
2018-11-29 10:51:13 -08:00
Shelley Vohr
165d168ee5
fix: ignore unused freopen result ( #15884 )
2018-11-29 09:36:08 -08:00
Jeremy Apthorp
753fb31c54
test: fix flaky takeHeapSnapshot test ( #15853 )
...
ref #15095
2018-11-29 16:51:03 +01:00
Jeremy Apthorp
62eb077f29
refactor: simplify logic for enabling stack dumping ( #15872 )
...
ref #15785
2018-11-28 22:23:41 -08:00
Ho Wing Yip
cd8099d336
Fixed typo in dialog.md ( #15861 )
...
Changed "masOS" to "macOS"
2018-11-28 20:41:27 -08:00
Jeremy Apthorp
30109d64f2
test: fix a bunch of flaky tests related to emittedOnce ( #15871 )
2018-11-28 17:52:19 -08:00
Jeremy Apthorp
ae266e2e03
chore: remove browser_plugin_wheel.patch ( #15787 )
...
according to https://crbug.com/725970#c9 , chromium should have fixed this upstream
2018-11-28 13:45:37 -08:00
Shelley Vohr
c366525370
fix: form control rendering on 10.14 Mojave ( #14865 )
2018-11-28 13:06:20 -08:00
Michelle Tilley
8f04def7b2
fix: prevent bluetooth device list from growing without bound ( #15805 )
...
* fix: include bluetooth strings in build
* fix: prevent bluetooth device list from growing without bound
2018-11-28 11:36:00 -05:00
Andy Dill
55808dffcd
fix: osr windows respect display scale factor ( #15733 )
2018-11-28 11:16:03 -05:00
Milan Burda
07f8f5f95a
refactor: eliminate duplicate code exposing process APIs ( #15824 )
2018-11-28 11:08:17 -05:00
Slapbox
d7d4b8638d
docs: makes note of HTTP header CSP usage with file:// ( #14768 )
2018-11-28 17:58:18 +09:00
Nitish Sakhawalkar
9890d1e251
feat: Implement process.getProcessMemoryInfo to get the process memory usage ( #14847 )
...
* feat: Implement process.getMemoryFootprint to get the process memory usage
* Add spec
* fix: must enter node env in callback
* Update function call
* Update spec
* Update API data
* update spec
* Update include
* update test for shared bytes
* Update atom/common/api/atom_bindings.cc
Co-Authored-By: nitsakh <nitsakh@icloud.com >
* Update atom/common/api/atom_bindings.cc
Co-Authored-By: nitsakh <nitsakh@icloud.com >
* Update API
* Update the callback isolate
* Update to work after app ready
* Update docs
* Update docs/api/process.md
Co-Authored-By: nitsakh <nitsakh@icloud.com >
* Update docs/api/process.md
Co-Authored-By: nitsakh <nitsakh@icloud.com >
* Fix crash
2018-11-28 17:57:53 +09:00
Alexander Turinske
f563fc9d5e
docs: add new widevine requirements ( #14024 )
2018-11-28 17:53:42 +09:00
Shelley Vohr
41c2685204
feat: promisify win.capturePage() ( #15743 )
...
* feat: promisify win.capturePage
* mark optional arg correctly
* Add to breaking changes doc
* properly deprecate win.capturePage
* remove change from api-contract
* document both callback and promise versions
* address docs feedback
* update promisification progress doc
2018-11-27 23:50:53 -05:00
Shelley Vohr
73fbb69c50
chore: change return type of platform_util::SetLoginItemEnabled ( #15854 )
2018-11-27 23:16:53 -05:00
Shelley Vohr
5f9c857eb0
chore: expose release id for use in cleanup ( #15845 )
2018-11-27 23:12:01 -05:00
Jeremy Apthorp
5d54d42953
test: fix remote-debugging-port test calling done twice ( #15857 )
2018-11-28 10:59:05 +09:00
Milan Burda
81e00d8e56
chore: fix V8 deprecation warnings ( #15842 )
2018-11-27 16:42:02 -05:00
Jeremy Apthorp
455f0669e7
fix: add missing shell_resources.pak to repack target ( #15844 )
2018-11-27 11:18:18 -08:00
Cheng Zhao
5bb35bbdaf
fix: backport patch to fix scrolling problem ( #15830 )
2018-11-27 23:26:34 +09:00
Milan Burda
d63a848011
feat: add activate option to webContents.openDevTools ( #13852 )
2018-11-27 18:34:44 +09:00
Cheng Zhao
aafbd865bf
Merge pull request #12686 from Anrock/browserview-handle-window-open
...
fix: handle window.open events in BrowserView
2018-11-27 15:59:17 +09:00
Cheng Zhao
63874da087
test: add test for window.open in BrowserView
2018-11-27 11:10:07 +09:00
Cheng Zhao
d1f0d6c184
fix: remove event monitor before destroying window
2018-11-27 11:10:07 +09:00
Anrock
9ff7807be8
fix: move window.open handlers from BrowserWindow to WebContents
2018-11-27 10:59:01 +09:00
Jeremy Apthorp
23de301955
chore: remove scoped_clipboard_writer.patch ( #15843 )
...
replace with already-exposed APIs
2018-11-27 09:51:26 +09:00
Shelley Vohr
0a5f8611e8
chore: add promise api runtime flag ( #15841 )
...
* chore: add promise api runtime flag
* add promisification plan document
* fix process.md typo
2018-11-26 16:00:46 -05:00
Simone Cattaneo
6f116eeaa4
fix: improved event flow management related to 'will-resize' event on Windows ( #15695 )
2018-11-26 12:26:48 -08:00
Heilig Benedek
0242818f39
feat: add registerAccelerator flag to allow menu items to optionally skip accelerator registration ( #15723 )
...
* feat: add registerAccelerator flag to allow menu items to skip registration
* docs: add docs for registerAccelerator
* docs: re-add accidentally removed line
2018-11-26 10:43:55 -08:00
Shelley Vohr
3748ee49ea
chore: remove unused test.py ( #15822 )
2018-11-24 20:01:30 -05:00
Jeremy Apthorp
a8a881c8db
chore: restore //url dchecks ( #15637 )
2018-11-22 09:02:52 -08:00
Jeremy Apthorp
fb52fdc592
chore: remove browser_plugin_guest.patch ( #15786 )
2018-11-21 15:53:09 -05:00
John Kleinschmidt
bb7c63c052
build: fix native_mksnapshot build ( #15770 )
...
* build: fix native_mksnapshot build
When we changed our electron_mksnapshot_zip target to include the v8_context_snapshot_generator, this dependency made the `run_mksnapshot` target run which was trying to run an arm/arm64 binary on x64 hardware.
Don't use custom build args for native_mksnapshot as they are not needed
* Added comment on why snapshot_blob.bin is skipped on arm/arm64
2018-11-21 15:19:19 -05:00
Robo
9e8b26cc4e
fix: bypass CORB when web security is disabled ( #15737 )
...
* fix: extend content layer hook to bypass corb when web security is disabled.
* chore: add patch to disable CORB
2018-11-21 14:10:05 -06:00
Heilig Benedek
5db8197a5d
fix: schedule a paint after browserview's background is set ( #15784 )
2018-11-21 13:04:10 -06:00
Samuel Attard
0b0a17ff91
fix: load the chrome.* API on chrome-extension pages in sandbox mode ( #15563 )
...
With mixed sandbox enabled we need to load the chrome.* APIs in the
sandbox init.js so that chrome extensions load correctly.
This mirrors the equivilant impl in `atom_renderer_client.cc`
Fixes #15561
2018-11-21 12:56:58 -05:00
malern
a68e3371f3
fix: remove duplicated status code ( #15707 )
...
Removed the hardcoded status code from the protocol response as the real status code is appended immediately after.
2018-11-21 10:47:05 -06:00
Cheng Zhao
47bf8e1bb3
view: add ResizeArea class ( #15752 )
2018-11-21 22:39:59 +09:00
Jeremy Apthorp
65099ab489
chore: remove no_stack_dumping.patch ( #15785 )
...
we build with IS_OFFICIAL_BUILD now so this should be OK
2018-11-20 23:32:43 -05:00
Charles Kerr
40619efb3b
chore: remove FileChooser AddExtensionForFilename ( #15510 )
2018-11-20 16:24:39 -05:00
Samuel Attard
f02f9ba9fb
chore: add spec for --inspect after a -- ( #15237 )
2018-11-20 16:23:50 -05:00
Ondřej Záruba
de05ff894b
feat: Add app.getLocaleCountryCode() method for region detection ( #15035 )
...
* Add method to get system´s user region
* Fix linter
* Remove auto types
* Improved detection for POSIX
* Change name, add specs, minor fixes
* Remove left overs
* Fix locale test
* Fix Linux test
* Coding style fixes
* Fix docs
* Add test excaption for Linux
* fix spelling
* Polishing
2018-11-20 15:33:23 -05:00
Pedro Pontes
57d2ae1aec
revert: "fix: window.open site instance should belong to same browsing instance ( #15216 )" ( #15757 )
...
This reverts commit 8f35198bfb .
2018-11-20 21:28:26 +01:00
Michelle Tilley
46c2953edb
doc: Update Windows build instructions to include debugging tools ( #15765 )
2018-11-20 01:08:25 -05:00
Simone Cattaneo
f2d3d55e95
docs: changed German link with English one for Windows SDK Archive ( #15764 )
2018-11-20 01:03:03 -05:00
Daniel Turcich
a59b53c7e6
Update webview-tag.md ( #15741 )
...
Added Mouse and Scroll to list of events that webview can't have event listeners for
2018-11-20 01:01:57 -05:00
Jeremy Apthorp
08b56b7675
docs: add note about win_delay_load_hook ( #15766 )
2018-11-19 16:13:50 -08:00
Jeremy Apthorp
90795c4fa4
build: make make_locale_dirs idempotent ( #15768 )
2018-11-19 15:55:13 -08:00
Jeremy Apthorp
90d1c0b2b6
chore: don't explicitly destroy asar archives ( #15734 )
2018-11-19 13:12:41 -08:00
Jeremy Apthorp
ec4212cce1
docs: add troubleshooting section for win toolchain prompt ( #15761 )
2018-11-19 11:53:28 -08:00
Shelley Vohr
a45d5960d7
chore: allow for callback => promise deprecation ( #15758 )
...
* chore: allow for callback => promise deprecation
* cb type check is sufficient
* migrate warn to always trigger
2018-11-19 12:56:26 -05:00
Andrzej Szombierski
51cb36fa9b
fix: ensure that file descriptors 0/1/2 are opened at startup ( #15555 )
...
* fix: ensure that file descriptors 0/1/2 are opened at startup
This fixes an issue where the gpu subprocess was writing messages to a
random pipe or socket. The standard file desciptors are closed in
chromium's subprocesses because of an unfortunate interaction with
libuv's tty handling code leaving them with the FD_CLOEXEC flag.
* style: fix lint warnings
2018-11-19 11:53:55 -05:00
Simone Cattaneo
b97d7e7ecd
fix: On close trying to remove observer from an empty collection leads to an access violation ( #15739 )
2018-11-19 11:47:04 -05:00
Cheng Zhao
e12c0dcf66
Merge pull request #15618 from electron/system_netwok_context
...
fix: create system network context for global requests
2018-11-19 11:25:34 +09:00
Andy Dill
4f45b72381
fix: package swiftshader binaries ( #15380 )
2018-11-17 19:24:29 +11:00
Jeremy Apthorp
81843f0dfb
ci: temporarily disable verify ffmpeg & mksnapshot tests on vsts ( #15732 )
...
* ci: temporarily disable verify ffmpeg test on vsts
* also disable verify-mksnapshot
2018-11-15 16:35:31 -08:00
Jeremy Apthorp
20116d7f05
fix: always disable setuid sandbox on linux ( #15722 )
2018-11-15 13:27:56 -08:00
Jeremy Apthorp
0642be296d
fix: crash in sandbox on linux when getting execPath ( #15701 )
2018-11-15 12:59:01 -08:00
Jeremy Apthorp
c8860d006b
fix: restore missing .lproj directories ( #15721 )
...
the empty lproj directories help macOS to understand what locales the app supports
2018-11-15 09:30:45 -08:00
John Kleinschmidt
b53a858400
build: use different directory for generated breakpad symbols ( #15716 )
2018-11-14 12:47:01 -08:00
Shelley Vohr
511dc9a80b
feat: add numpad accelerator strings ( #15689 )
2018-11-14 14:02:18 -05:00
deepak1556
7e1168c518
fix: return system shared url loader for content layer
2018-11-14 12:42:24 +05:30
deepak1556
57356036db
fix: initialize system network context from IOThread
2018-11-14 12:42:24 +05:30
deepak1556
666a106fa8
refactor: move IOThread and NetLog ownership to g_browser_process
2018-11-14 12:42:24 +05:30
deepak1556
414dcfcd07
fix: create system network context for global requests
...
Global requests currently includes DNS over HTTPS requests,
certain cert validation requests (OCSP, AIA, etc) on some platforms
and geolocation requests.
2018-11-14 12:42:24 +05:30
Shelley Vohr
787dbbe610
feat: add about panel customization on linux ( #15658 )
2018-11-13 17:12:24 -05:00
Jeremy Apthorp
bc9a7806a5
chore: remove add_atomic_lib_to_dependencies_even_for_sysroot_builds.patch ( #15692 )
2018-11-13 10:00:25 -08:00
Shelley Vohr
565e4c5910
chore: fix window width in spec for win ( #15693 )
2018-11-13 11:31:03 -05:00
Pedro Pontes
8f35198bfb
fix: window.open site instance should belong to same browsing instance ( #15216 )
2018-11-12 22:01:43 +01:00
Shelley Vohr
c06f023313
feat: allow partial setting of window bounds ( #15677 )
...
Extend the existing win.setBounds functionality by allowing developers to partially update bounds without being forced to pass in all four bounds values. No existing functionality is altere
2018-11-12 15:31:14 -05:00
Alexey Kuzmin
0c46a7a4d9
ci: use config version 2.1 on CircleCI ( #15665 )
2018-11-12 11:22:21 -08:00
Jacob
b21dbdb20d
fix: bypass DOM storage quota ( #15596 )
2018-11-12 18:19:01 +01:00
Shelley Vohr
c9d0960f47
docs: remove unsafe eval section of security tutorial ( #15675 )
...
* docs: remove unsafe eval section of security tutorial
* lintfix
2018-11-12 11:13:48 -05:00
Shelley Vohr
a54dd1085a
feat: expose showAboutPanel for MacOS ( #15674 )
2018-11-11 22:52:27 -05:00
Samuel Attard
1cf28e8b75
build: auto-gen libnotify_loader.cc ( #15648 )
2018-11-10 14:21:40 -05:00
Shelley Vohr
9fd98bb27b
refactor: no longer require submenu for services menuitem ( #15656 )
2018-11-10 12:47:55 -05:00
Nitish Sakhawalkar
025aa49f67
fix: NSWindow crash happening on macos 10.9 ( #15660 )
2018-11-10 14:53:35 +01:00
Nitish Sakhawalkar
5994bf6745
fix: Menu accelerators not working ( #15094 )
...
This change fixes the regression in the menu accelerators working in linux, on some environments.
2018-11-09 13:54:16 -08:00
John Kleinschmidt
9e2b7dbea5
ci: add testing for mksnapshot ( #15627 )
...
* ci: add testing for mksnapshot
2018-11-09 10:54:17 -04:00
Samuel Attard
edf063bae3
chore: remove deprecated touch-bar API ( #15650 )
2018-11-09 17:00:19 +11:00
Samuel Attard
e7b2b93cee
chore: re-enable DCHECK in node_debugger ( #15649 )
2018-11-09 14:44:31 +11:00
Robo
82322968a3
refactor: printing implementation ( #15143 )
...
* refactor: basic printing
* move build files to chromium_src/BUILD.gn
* remove dependency on chrome prerender sources
* spec: move printing specs behind feature flag
* build: register pdf compositor service
2018-11-09 14:42:34 +11:00
Jeremy Apthorp
53642b2b17
chore: restore process_metrics_win.cc dcheck ( #15631 )
2018-11-09 00:51:53 +01:00
Jeremy Apthorp
fb9cf86836
chore: restore node.cc IsPseudoElement dcheck ( #15634 )
2018-11-08 13:20:20 -08:00
Jeremy Apthorp
faf6c5ad29
chore: restore blink loader dchecks ( #15638 )
2018-11-08 16:38:01 -04:00
Jeremy Apthorp
4649d1c73b
chore: restore webui-related bindings DCHECK ( #15633 )
2018-11-08 11:37:00 -08:00
Jeremy Apthorp
703cb6deea
chore: restore WeakReference dcheck ( #15629 )
2018-11-08 11:36:37 -08:00
Samuel Attard
9aed2a465f
fix: send NSView* as the response to getNativeWindowHandle() instead of a null handle ( #15521 )
2018-11-08 09:03:19 -08:00
Cheng Zhao
746beb0d8b
fix: destroy WebContents synchronously on shutdown ( #15541 )
2018-11-08 07:57:28 -08:00
Alexey Kuzmin
6162d9090d
chore: remove the 'get-patch' script ( #15586 )
...
It is obsolete now, "script/git-export-patches"
should be used instead.
2018-11-08 16:37:00 +01:00
Jeremy Apthorp
11223cbc9b
chore: restore viz dcheck ( #15632 )
2018-11-08 11:16:47 -04:00
Jeremy Apthorp
7e0e12b8a3
fix: match Chrome's font fallback behavior ( #15486 )
...
* fix: match Chrome's font fallback behavior
Fixes #15481
* add a cache
* add test
* another test
* fix tests
* arial -> dejavu sans on linux apparently?
2018-11-08 10:51:51 -04:00
Heilig Benedek
ca2d74e118
feat: add methods to allow customization of save dialog during will-download event ( #15497 )
...
* feat: add method to DownloadItem that allows customization of dialog options
* docs: add docs for get/setSaveDialogOptions
* add missing copy constructor for DialogSettings on mac and linux
* fix: don't filter dialog options for mas build, don't return properties
* test: add test for get/setSaveDialogOptions
* fix: remove openDevtools added for debugging
* test: fix failing test because of new event parameter
* docs: use SaveDialogOptions instead of Object
2018-11-08 10:51:06 -04:00
Jeremy Apthorp
673004b878
chore: restore kill_win.cc dcheck ( #15630 )
2018-11-08 10:40:34 -04:00
Michelle Tilley
2a8e8a0603
fix: make certain values on process read-only ( #15628 )
...
* docs: Add 'worker' as a possible value for `process.type`
* fix: make certain properties on `process` read only:
* `mas`
* `windowsStore`
* `versions.electron`
* `versions.chrome`
* `type`
* `pid`
* `sandboxed`
2018-11-08 10:28:06 -04:00
Samuel Attard
4e53019b75
docs: add a mojave dark mode guide ( #15267 )
2018-11-07 18:16:47 -06:00
Shelley Vohr
833269ffde
fix: correctly display zoom in accelerator on mac ( #15502 )
...
* fix: correctly display zoom in accelerator on mac
* add release to patch info
2018-11-07 13:42:30 -08:00
Shelley Vohr
e9ba26f50e
feat: allow registering multiple shortcuts ( #15542 )
...
This PR allows for multiple global shortcuts to be registered such that triggering any of them calls the same callback.
2018-11-07 09:40:38 -08:00
Jeremy Apthorp
20a540e680
chore: add explanation to resource_file_conflict.patch ( #15612 )
...
* chore: add explanation to resource_file_conflict.patch
* Update resource_file_conflict.patch
2018-11-07 11:11:01 -04:00
Jeremy Apthorp
bf3edf8f87
fix: correctly package Login Helper in mas builds ( #15610 )
2018-11-06 20:15:01 -08:00
Jeremy Apthorp
10969b8c3c
fix: make feature strings more robust to whitespace ( #15602 )
...
Fixes #15594
2018-11-06 15:52:06 -08:00
John Kleinschmidt
c52cf01a3c
build: add v8_context_snapshot_generator to mksnapshot zip ( #15606 )
...
v8_context_snapshot_generator is needed when creating custom snapshots with mksnapshot
2018-11-06 18:57:52 -04:00
Charles Kerr
1672c95de3
better release notes ( #15169 )
...
* fix: use PR 'Notes' comment in release notes
* fix: follow links in roller-bot PRs
* refactor: better reference point version selection
* if we're a stable release, use the current brnach's previous stable
* if we're a beta release, use the current branch's previous beta
* if no match found, use the newest stable that precedes this branch
* refactor: dedup the caching functions' code
* refactor: partially rewrite release note generator
* parse release notes comments from PRs
* do not display no-notes PRs
* handle roller-bot commits by following cross-repo commits/PRs
* minor tweaks to note rendering, e.g. capitalization
* fix: fix lint:js script typo
* fix: copy originalPr value to rollerbot PR chains
* fix: handle more cases in release notes generator
* handle force-pushes where no PR
* better type guessing on pre-semantic commits
* fix: handle more edge cases in the note generator
* better removal of commits that landed before the reference point
* ensure '<!-- One-line Change Summary Here-->' is removed from notes
* handle more legacy commit body notes e.g. "Chore(docs)"
* check for fix markdown in PR body e.g. a link to the issue page
* chore: tweak code comments
* refactor: easier note generator command-line args
* refactor: group related notes together
* feat: query commits locally for gyp and gn deps
* chore: slightly better filtering of old commits
* feat: omit submodule commits for .0.0 releases
More specifically, only include them if generating release
notes relative to another release on the same branch.
Before that first release, there's just too much churn.
* refactor: make release-notes usable as a module
Calling it from the command line and from require()() now
do pretty much the same thing.
* refactor: passing command-line args means use HEAD
* chore: plug in the release note generator
* feat: support multiline 'Notes:' messages.
xref: https://github.com/electron/trop/pull/56
xref: https://github.com/electron/clerk/pull/16
* remove accidental change in package.json
* simplify an overcomplicated require() call
* Don't use PascalCase on releaseNotesGenerator()
* Remove code duplication in release notes warnings
* remove commented-out code.
* don't use single-character variable names.
For example, use 'tag' instead of 't'. The latter was being
used for map/filter arrow function args.
* Look for 'backport' rather than 'ackport'.
* Wrap all block statements in curly braces.
* fix tyop
* fix oops
* Check semver validity before calling semver.sort()
2018-11-06 16:06:11 -04:00
Shelley Vohr
649f04b7bc
chore: add simple set/unset loginitem spec ( #15595 )
2018-11-06 11:31:32 -08:00
Jeremy Apthorp
934a7fc118
refactor: don't use AppIndicatorIcon directly ( #15536 )
2018-11-06 11:00:37 -08:00
Alexey Kuzmin
3a3b197327
fix: update the "SSL_get_tlsext_status_type" patch ( #15587 )
...
It has been upstreamed by @nornagon
c0c9001440
2018-11-06 08:07:09 -08:00
Shelley Vohr
ece4c81c1a
fix: hiddenInset titleBar console spam ( #15576 )
2018-11-05 21:02:46 -08:00
Shelley Vohr
dcd2bf451d
refactor: remove 10.9 specific menu code ( #15578 )
2018-11-05 20:42:19 -08:00
Jeremy Apthorp
87565ec667
docs: add more links to the devtools protocol docs ( #15581 )
...
I missed the link at the top when I was skimming this documentation
2018-11-05 16:53:18 -08:00
Jeremy Apthorp
2e1c50c891
chore: fix missing \n at end of exported patches ( #15579 )
2018-11-05 13:50:35 -08:00
Jeremy Apthorp
77f69cbe08
chore: remove unused use_transparent_window.patch ( #15534 )
...
Unneeded since 6f2f761df3 (diff-0bbbec38254ebb1146b15c15277c6aa1)
2018-11-05 13:19:21 -08:00
Shelley Vohr
c60745b8a3
fix: use NSURL path for receipt url ( #15355 )
2018-11-05 09:49:51 -08:00
Alexey Kuzmin
32ea2b67f0
build: store the patches config in a json file ( #15395 )
2018-11-05 17:31:28 +01:00
Alexey Kuzmin
9b05381acc
build: make pyyaml an optional dependency ( #15565 )
2018-11-05 11:19:00 -04:00
Milan Burda
a19d20cfb8
refactor: more cleanup of chromium_src ( #15424 )
2018-11-05 10:29:33 -04:00
trop[bot]
c422011d58
docs: fix the "second-instance" event handler signature in the docs ( #15551 )
2018-11-03 11:37:59 +11:00
Heilig Benedek
1f5e0c42f3
style: no need for done call in sync tests ( #15550 )
2018-11-02 10:50:17 -04:00
nixxquality
6e6ab9b907
Fix callback info for showSaveDialog and showOpenDialog ( #15549 )
2018-11-02 10:47:19 -04:00
Samuel Attard
7f73240fd5
chore: use chromes auto generated definition of CHROME_VERSION_STRING ( #15275 )
2018-11-02 23:32:33 +11:00
Jeremy Apthorp
932ffdc1e1
test: fix a possible race condition in sendInputEvent test ( #15530 )
2018-11-01 10:25:46 -07:00
Samuel Attard
fe8965efa2
fix: use sendToAll method correctly in chrome-api ( #15518 )
2018-11-01 07:16:49 -07:00
Samuel Attard
bdef033459
docs: add Size as an option for pageSize in docs for printToPDF ( #15519 )
2018-11-01 09:00:33 -04:00
Samuel Attard
6ed70327f5
chore: publish to the latest tag correctly when releasing old versions ( #15274 )
2018-11-01 12:27:35 +11:00
Samuel Attard
e9fab747ec
fix: explicitly set windowsHide to the old node default ( #15469 )
...
fixes #15467
2018-11-01 10:53:11 +11:00
Charles Kerr
feb31d088b
fix: honor properties.showHiddenFiles on Linux ( #15503 )
...
Previously the code only set the GtkFileChooser's property if `properties.showHiddenFiles` was set.
This PR unconditionally sets the GtkFileChooser's property so that hidden files will be hidden if `properties.showHiddenFiles` was not set.
2018-10-31 16:13:01 -05:00
Cheng Zhao
a8f2646ba6
Fix missing remote object error when calling remote function created in preload script ( #15444 )
...
* fix: report wrong context error based on contextId
* fix: destroyed remote renderer warning is now async
2018-10-31 11:26:57 -04:00
Shelley Vohr
b2e1a93177
refactor: remove hardcoded google api key ( #15478 )
...
* refactor: remove hardcoded Google API key
* address changes from review
2018-10-31 07:49:44 -07:00
Samuel Attard
86064a7bd8
docs: add return type for subscribeNotification ( #15490 )
2018-10-31 10:24:50 -04:00
Heilig Benedek
6d2a088be9
feat: detect high contrast color mode ( #15493 )
...
* feat: add event and method to detect high contrast color mode
* docs: add docs for isHighContrastColorScheme and high-contrast-color-scheme-changed
* refactor: correct type of contrast
2018-10-31 10:22:18 -04:00
Heilig Benedek
aa6f7a5d9f
fix: don't append Shift modifier text twice to accelerators ( #15400 )
...
* fix: don't append Shift modifier text twice to accelerators
* style: use the new way of creating patches
* test: add menu item accelerator display tests
* fix: allocate accelerator on the stack
* fix: adjust tests to match expected behavior on mac
2018-10-31 10:13:44 -04:00
Shelley Vohr
1d81d1a706
chore: re-enable protocol partition request spec ( #15483 )
2018-10-31 07:12:32 -05:00
Jeremy Apthorp
e345209f91
chore: remove webui_in_subframes patch ( #15475 )
2018-10-30 18:19:30 -05:00
Shelley Vohr
29964079ae
chore: re-enable failing netlog spec ( #15484 )
2018-10-30 17:45:05 -05:00
Shelley Vohr
94f853c654
chore: re-enable execFileSync binary exec spec ( #15476 )
2018-10-30 15:45:46 -04:00
David Sanders
bae652f46d
docs: http protocol handlers can access headers ( #15431 )
...
* test: check http protocol handlers can access headers
* docs: http protocol handlers can access headers
2018-10-30 11:37:49 -07:00
Samuel Attard
59ee2859a7
chore: update versioning doc for nightlies ( #15468 )
2018-10-30 10:33:50 -07:00
Shelley Vohr
2bd94293e0
doc: clarify menu item properties not available top-level ( #15458 )
2018-10-29 15:04:25 -05:00
David Sanders
c93973ab7a
docs: fix protocol.isProtocolHandled documentation ( #15430 )
2018-10-29 15:23:23 -04:00
Heilig Benedek
894ae1b3f5
refactor: Improve accessibility of menus ( #15302 )
...
* refactor: improve menubar keyboard accessibility
* fix: create a temporary widget for tray icon context menu
* fix: focus menu bar with Alt when autohide is off
* fix: make menu bar focus work more like the native menus
* fix: only focus menu bar if it's not already focused
* fix: track accelerator registration to avoid duplicates
* docs: add docs for & notation in app menu item names
* fix: only try to activate accelerator if it's registered
* fix: add friend to monitor window focus change
* style: add <memory> include
2018-10-29 13:08:46 -05:00
John Kleinschmidt
00daff6ac8
docs: add Azure Pipelines status ( #15455 )
2018-10-29 12:18:34 -04:00
Milan Burda
f921df7ad1
chore: move spellcheck out of chromium_src ( #15407 )
2018-10-26 10:34:57 -07:00
Shelley Vohr
bea4de9262
fix: use gio as default linux trash impl ( #15399 )
...
* fix: use gio as default linux trash impl
* doc: add ELECTRON_TRASH env var
2018-10-26 08:36:56 -07:00
Shelley Vohr
7a03e5f0b2
doc: correct ipcRenderer sendTo windowId param ( #15403 )
2018-10-26 10:18:47 -05:00
Milan Burda
405edebc51
chore: remove unused chrome_notification_types.h ( #15409 )
...
* chore: remove unused chrome_notification_types.h
* chore: remove dummy simple_message_box.h
2018-10-26 10:16:24 -05:00
Milan Burda
d56617e5d0
chore: avoid appending git version to the exported patches ( #15389 )
...
* chore: avoid appending git version to the exported patches
* fix no-eol at end of v8 patch
2018-10-26 12:52:59 +05:30
Alexey Kuzmin
ec4a0e096f
ci: run more Chromium unit tests ( #15363 )
...
* test: add an option to native tests runner to run also disabled tests
* ci: run all native tests on clean Chromium
* ci: update the disabled tests list for native unittests
2018-10-25 14:28:50 -04:00
Shelley Vohr
d21d83cfc8
fix: folder open not working in devtools ( #15387 )
2018-10-25 08:36:48 -07:00
Milan Burda
1f3a89197c
chore: bump minimum supported macOS version to 10.10 ( #15357 )
2018-10-25 10:59:42 +02:00
Cheng Zhao
2f3a8ecd42
fix: child window with nativeWindowOpen should disable node integration ( #15213 )
...
* fix: child window with nativeWindowOpen should disable node integration
* Revert "fix: do not enable node integration in child window if not enabled (#15076 )"
This reverts commit 0252d7686c .
This patch is not needed anymore since we are force disabling node integration
for child windows.
2018-10-25 15:31:07 +09:00
Andy Dill
7a23980f4b
fix: set NSResizableWindowMask at init time ( #15106 )
2018-10-25 10:34:11 +09:00
John Kleinschmidt
9086b8067b
ci: make sure brew installed node is available in path ( #15377 )
2018-10-25 11:40:23 +11:00
Islam Sharabash
3b6f0d83e1
fix: allow stream protocols to return headers with multiple values ( #14887 )
...
* fix: allow stream protocols to return headers with multiple values
This allows stream protocols to return headers with multiple values as
an array of values.
Fixes https://github.com/electron/electron/issues/14778
* Prefer ConvertFromV8
* Cleanup header conversion
1. Deduplicate the code by using a lambda
2. Remove duplicate calls to headers->Get(key)
* Fix broken test
Headers with multiple values are now being converted correctly, this
test asserted the wrong behavior.
2018-10-25 11:34:20 +11:00
Cheng Zhao
6fa940f2c1
chore: set env when invoking gn ( #15354 )
2018-10-24 11:25:13 -07:00
Jeremy Apthorp
335e9f68b7
chore: deprecate apply-patches in favour of git-{import,export}-patches ( #15300 )
2018-10-24 11:24:11 -07:00
Alexey Kuzmin
4185efa08f
build: add conditions to check out Chromium and Node.js ( #15319 )
2018-10-24 13:50:36 -04:00
Milan Burda
8ba271efba
refactor: eliminate brightray ( #15240 )
2018-10-24 12:49:10 +02:00
Jeremy Apthorp
1d8ab03146
refactor: use public WakeLock interface ( #15351 )
...
* refactor: use public WakeLock interface
* remove power_save_blocker visibility patch
2018-10-23 22:12:58 -07:00
Shelley Vohr
1f246229b1
test: convert node spec to expect ( #15345 )
2018-10-24 11:23:12 +11:00
Jeremy Apthorp
9474fc0082
chore: electron alias should be defined with public_deps ( #15349 )
2018-10-23 17:22:41 -07:00
Jeremy Apthorp
af339f44f4
chore: remove disable_scroll_begin_dcheck.patch ( #15233 )
2018-10-23 17:21:47 -07:00
Jeremy Apthorp
d03527ae47
build: skip pyproto/ resources in zip.py ( #15348 )
2018-10-23 17:19:02 -07:00
Shelley Vohr
40874ddec6
fix: update fs methods for options param ( #15323 )
...
* fix: update fs methods for options param
* fix: update rest of fs methods with changes
2018-10-23 15:14:05 -07:00
Milan Burda
465dee2c33
refactor: eliminate brightray::BrowserMainParts ( #15336 )
2018-10-23 13:15:55 -07:00
Charles Kerr
869e0ab14d
fix: honor dialog.showMessageBox()'s Icon argument on Linux ( #15326 )
...
* Don't call gtk_widget_show_all() on popup dialog.
Fixes #15317 .
Notes: Fixed incorrect display of some GtkMessageDialog icons.
The issue is caused because GtkMessageDialog contains an icon widget
which is not shown when there's no associated icon. Our call to
`gtk_widget_show_all()` overrides this, showing the uninitialized
icon widget.
This PR fixes the issue by calling `gtk_widget_show()` where needed
and removing use of `gtk_widget_show_all()` in the message dialog.
* use gtk_dialog_set_default_response() for default
* fix: support icons on gtk+ messageboxes.
2018-10-23 12:44:47 -05:00
Cheng Zhao
260778e0fb
feat: add MdTextButton to View APIs ( #15328 )
...
* view: make button focusable by default
* view: add MdTextButton
* view: add common methods to LabelButton
2018-10-23 10:57:13 -04:00
Masato Kinugawa
43a8b6039e
docs: Fix CSP header setting of sample code ( #15313 )
...
* Fix CSP header setting of sample code
Patch for #15310
* Update docs/tutorial/security.md
Co-Authored-By: masatokinugawa <masatokinugawa+github@gmail.com >
2018-10-23 10:38:48 -04:00
Nitish Sakhawalkar
ca4b4709e5
fix: Native window close crash ( #15327 )
2018-10-23 10:35:00 -04:00
Milan Burda
809bd3757b
refactor: eliminate brightray::MainDelegate ( #15333 )
2018-10-23 14:16:13 +02:00
Milan Burda
fbbb704146
refactor: eliminate brightray::BrowserClient ( #15320 )
2018-10-23 10:45:41 +02:00
Martin Mädler
a4fefbe836
docs: update Windows build instructions ( #14797 )
2018-10-22 16:40:39 -04:00
Alexey Kuzmin
5e199152e2
ci: run unittests on clean Chromium ( #15125 )
...
* ci: run unittests on clean Chromium
* test: add '--run-only-disabled-tests' flag to "script/native-tests.py"
* ci: add a job to run only disabled unittests
* test: use a different GN config for the native tests
* test: enable blink_common_unittests
* test: disable WeakPtrDeathTest*
2018-10-22 16:12:19 -04:00
Michelle Tilley
13247e592b
fix: correct reversed logic in NativeWindowMac::SetEnabled ( #15257 )
2018-10-22 13:01:45 -07:00
Jeremy Apthorp
044e43397f
build: reenable -fwhole-program-vtables ( #15228 )
2018-10-22 12:07:46 -07:00
Cheng Zhao
cb9be091aa
refactor: remove potential double free when managing WebContents ( #15280 )
...
* refactor: remove -new-contents-created event
Chromium expects us to take ownership of WebContents in AddNewContents,
we should not create V8 wrapper in WebContentsCreated, otherwise we
would have WebContents being managed by 2 unique_ptr at the same time.
* refactor: make CreateAndTake take unique_ptr
2018-10-22 13:02:25 -05:00
Milan Burda
e8e7edf017
refactor: eliminate brightray::ContentClient ( #15303 )
2018-10-22 19:04:23 +02:00
Samuel Attard
9262731f2c
docs: we don't emit an event object for session-created ( #15236 )
2018-10-20 19:46:21 -07:00
Alexey Kuzmin
ba7ce7225b
build: document env vars expected to be set for the CI configs ( #15129 )
...
* ci: add a var for a full path to an Electron build config
* ci: document external environment variables used by the CI build configs
2018-10-20 01:44:36 +02:00
Shelley Vohr
939ee94e67
spec: increase MAS timeout for login items ( #15291 )
2018-10-19 13:11:11 -07:00
Shelley Vohr
f9f34fd628
fix: ability to fetch separators by id ( #15290 )
2018-10-19 13:09:40 -07:00
Milan Burda
6d844a0b67
refactor: move media/net from brightray to atom ( #15288 )
2018-10-19 14:51:43 -04:00
Milan Burda
6f3c46cc7e
refactor: move devtools from brightray to atom ( #15234 )
2018-10-19 15:50:30 +02:00
Samuel Attard
122017e6fa
fix: trim app name and productName ( #15269 )
...
Fixes #15245
2018-10-19 23:57:55 +11:00
Samuel Attard
16dcc464cf
chore: make macOS release builds higher priority to skip the queue ( #15276 )
...
Release builds should be run before branch builds on our limited macOS
infra.
Refs: https://docs.microsoft.com/en-us/rest/api/vsts/build/builds/queue?view=vsts-rest-4.1#queuepriority
2018-10-19 23:56:40 +11:00
Cheng Zhao
94aa0762f0
refactor: remove WebContents::CreateFrom ( #15241 )
2018-10-19 17:52:07 +09:00
Alexey Kuzmin
b3f134de06
test: asyncawaitify one of sandbox related tests ( #15252 )
2018-10-19 14:28:23 +11:00
Charles Kerr
363712d057
fix: make release-artifact-cleanup executable ( #15225 )
...
* fix: make release-artifact-cleanup executable
* fix misc issues in cleanup script
2018-10-18 20:20:43 -07:00
Samuel Attard
8bc0c343fa
fix: convert wstring to string on windows in node_bindings ( #15266 )
2018-10-19 13:11:43 +11:00
Andy Dill
37f2113032
feat: expose setBackgroundThrottling api ( #15104 )
2018-10-19 11:32:22 +11:00
Eric
10db2bce4e
fix: loading of devtools extensions on startup ( #13844 )
...
* Fix loading of devtools extensions on startup
The persisted DevTools Extensions were not being loaded correctly at startup. The `addDevToolsExtension` function was not defined when it was being called. An error was being thrown and ignored, so the whole thing would fail silently. I moved the code to load the extensions to the end of the event handler, so now it works.
* fixup: remove trailing spaces to unblock CI
* fixup: add logging when the Electron Enable Logging env var is set
* Fix linter error on undefined srcDirectory
* fixup: catch exception when loading extension
* Revert "fixup: catch exception when loading extension"
This reverts commit 42c2cf95bc .
2018-10-19 11:22:42 +11:00
Nitish Sakhawalkar
c0db0011ec
fix: Convert to lower case in upload symbols script ( #15258 )
...
* fix: Convert to lower case in upload symbols script
* fix: Convert to lower case in upload symbols script
2018-10-19 11:18:35 +11:00
Jeremy Apthorp
4de502252b
chore: roll node ( #15177 )
...
* chore: roll node
brings in electron/node#76 and electron/node#77
* chore: roll node
2018-10-19 10:58:46 +11:00
Shelley Vohr
a0b9d47d5e
fix: enable NODE_OPTIONS env var ( #15158 )
2018-10-19 10:57:28 +11:00
Michelle Tilley
51f3fb9bde
fix: correctly enable and disable windows on Windows and Linux ( #15184 )
2018-10-18 14:23:40 -07:00
Jeremy Apthorp
7cab7b6c7e
chore: don't set allow_new_privs in new processes ( #15229 )
2018-10-18 11:53:26 -07:00
Jeremy Apthorp
993c2413e8
chore: add documentation for blink_file_path.patch ( #15235 )
2018-10-18 11:40:16 -07:00
Nitish Sakhawalkar
a9ca152069
feat: Spellchecker Async Implementation ( #14032 )
...
* feat:Spellchecker Async Implementation
* Adhere to chromium style
* Updating dependency to use gh branch
* Update docs and electron-typescript-definitions module
* Fix lint
* Update electron typescript definitions version
* Update spec
* Address review
2018-10-18 11:11:53 -05:00
John Kleinschmidt
4bbb70de74
ci: make sure git directories don't have unneeded files in them ( #15247 )
2018-10-18 11:35:40 -04:00
Milan Burda
db37ab1039
feat: add remote.require() / remote.getGlobal() filtering ( #15014 )
2018-10-18 14:36:45 +11:00
Jeremy Apthorp
dffe4fdd4f
chore: remove disabling of ANGLE dchecks ( #15227 )
2018-10-17 17:00:47 -07:00
Jeremy Apthorp
ac6d815c0e
chore: remove desktop_screen_win.patch ( #15232 )
...
that function is never called with a null argument (all call-sites are guarded)
2018-10-17 16:59:46 -07:00
Jeremy Apthorp
af9cbb4514
chore: remove unnecessary build_toolchain_win_patch.patch ( #15231 )
...
it fixed an issue in the GYP build that is no longer present in the GN build
2018-10-17 16:23:00 -07:00
Jeremy Apthorp
04b7f0d2d6
chore: remove skia/dcheck.patch ( #15223 )
2018-10-17 13:46:10 -07:00
Jeremy Apthorp
65fa9d2883
chore: remove webrtc patch to disable a warning ( #15218 )
2018-10-17 12:56:08 -07:00
Milan Burda
508551b81b
fix: small refactoring regressions ( #15206 )
...
* fix: require('@electron/internal/browser/guest-view-manager')
* fix: add missing crashServicePid used by tests
2018-10-17 12:18:18 -07:00
Milan Burda
a369a4172b
refactor: move notifications from brightray to atom ( #15209 )
2018-10-17 20:01:11 +02:00
Heilig Benedek
4d085c4aae
fix: don't call ReadRawDataComplete if it's not necessary ( #15185 )
2018-10-16 21:57:26 -07:00
Adam Meyer
d43ef97a7b
add width to webview iframe ( #15195 )
2018-10-17 09:33:31 +09:00
AbhilashJN
de1d24b616
docs: change examples in docs to use for..of and async/await ( #15196 )
2018-10-16 10:41:42 -07:00
Cheng Zhao
0252d7686c
fix: do not enable node integration in child window if not enabled ( #15076 )
2018-10-16 18:10:03 +09:00
Jeremy Apthorp
2a4f5c3284
chore: add --fix option to lint:cpp ( #14977 )
...
* chore: add --fix option to lint:cpp
* fix lint errors
2018-10-15 22:59:45 -07:00
Heilig Benedek
af0ac9b95c
chore: remove ColorChooser file that's no longer used ( #15186 )
2018-10-16 13:49:57 +11:00
John Kleinschmidt
90d6b91bf7
build: add temporary debugging to generate_breakpad_symbols.py ( #15176 )
2018-10-16 11:44:14 +11:00
Jeremy Apthorp
30ccb6aea5
fix: allow renaming electron.exe ( #15173 )
2018-10-15 17:26:34 -07:00
Nitish Sakhawalkar
0c711f690e
fix: add microtask runner and fix promise test ( #15071 )
...
* fix: Promise resolution and unit test
* Update to use microtask runner
* Address review
2018-10-16 02:26:47 +11:00
Andy Dill
89bf71e580
fix: preserve background color through reload ( #15105 )
...
* fix: preserve background color through reload
* fix: only set backgroundColor on top-level frames
2018-10-14 10:59:47 -07:00
Milan Burda
70c49b78ae
fix: Memory > Profiles > Load in DevTools ( #15151 )
2018-10-14 17:30:49 +11:00
Milan Burda
d3efc52745
feat: add webPreferences.enableRemoteModule option ( #13028 )
2018-10-13 20:50:07 +03:00
Shelley Vohr
72db5ed7cb
fix: split out login item tests ( #15135 )
2018-10-13 18:52:19 +11:00
Samuel Attard
8907053a9d
Revert "fix: export zlib symbols ( #15103 )" ( #15138 )
...
This reverts commit 47b12eee57 .
2018-10-13 18:51:18 +11:00
Shelley Vohr
05b7c2bf80
chore: update pr template for no-notes ( #15137 )
2018-10-12 19:24:19 -07:00
John Kleinschmidt
047cad1a4d
ci: Fix timeout when generating breakpad symbols ( #15126 )
...
* ci: breakup dump symbols into multiple steps.
* Update step-zip-symbols
2018-10-13 13:02:52 +11:00
Heilig Benedek
a82bcc7e3c
refactor: move printing out of chromium_src ( #15023 )
...
* remove printing related things from chromium_src
* chore: add printing build flag and patch
* fix: include PrintingService on other platforms too
* fix: printing_handler is only needed on Windows
* fix: format BUILD.gn properly
* fix: rename printing build flag to avoid conflict with chromium
* fix: place previously missed printing calls behind build flag
* fix: accidentally renamed flag in patch file
* fix: don't include all printing strings
* fix: allow ShowItemInFolder and OpenItem to block, fixing a DCHECK crash
* fix: make things compile, some changes got lost while rebasing
* fix: remove rogue line from BUILD.gn
* chore: update patch description
* style: lint fix
* chore: use chromium printing buildflag, move node related stuff out of patch
* revert: remove ScopedAllowBlockingForTesting call
* fix: fix my rebase blooper
* fix: re-add header lost during rebase, update patch
* fix: add <map> include, tweak the patch a bit
* revert: remove rogue diff from patch
* fix: clean up after rebase
2018-10-13 12:57:04 +11:00
Samuel Attard
c806c465fa
chore: mark browserview api as not-experimental ( #15117 )
...
I think it's safe to say this API has been around long enough to be considered past the experimental phase 👍
2018-10-13 12:31:58 +11:00
Shelley Vohr
6fc2a2a051
fix: natively implement LoginItem functions ( #15010 )
2018-10-12 15:19:27 -07:00
Jeremy Apthorp
e61b88fc2a
build: add v8_embedder_string to build args ( #15039 )
2018-10-12 08:26:35 -07:00
Andy Dill
47b12eee57
fix: export zlib symbols ( #15103 )
2018-10-12 10:17:06 -04:00
Jeremy Apthorp
783ee3e315
chore: roll node ( #15097 )
...
picks up:
- electron/node#73 : fix: export libuv symbols
- electron/node#74 : fix: include names.h in zlib header package
2018-10-12 09:39:11 -04:00
Sitong Peng
9e7bbcd8f6
docs: app.getLoginItemStatus -> app.getLoginItemSettings ( #15093 )
2018-10-12 09:23:37 -04:00
Felix Rieseberg
d1b2d1a10e
fix: Remove statSyncNoException for good ( #15092 )
...
* fix: Small JS assignment error
* fix: Call the right og method
* fix: Goodbye, statSyncNoException
2018-10-12 19:43:19 +11:00
Heilig Benedek
5ef5d60f77
refactor: move color_chooser out of chromium_src ( #15091 )
...
* chore: move color_chooser out of chromium_src
* fix: remove deleted source files
* fix: add build flag, patch and build instructions for ColorChooser
2018-10-12 10:53:46 +11:00
Heilig Benedek
95696c9456
refactor: move text-to-speech out of chromium_src ( #15024 )
...
* chore: add tts patch and buildflag, makes tts work again
* chore: add tts patch and buildflag, makes tts work again
* fix: make things compile
* build: add relevant tts files for linux
* fix: update patch and patch description, should now compile on mac
* build: move chrome specific sources under chromium_src:chrome target
* build: enable_extensions again
We are depending on them, check `//electron/chromium_src:chrome` target
for more info.
* fix: update tts.patch to receive notifications about browser context destruction
* fix: extend browser process from chrome layer
The global state g_browser_process is shared between //chrome
and //electron.
* spec: add basic speech synthesis test
* spec: skip speech tests on ci
* build: fix compilation on windows
2018-10-11 08:52:12 -05:00
Alexey Kuzmin
5788600c46
Revert "FIXME: disable isCurrentlyAudible test to unblock merge" ( #15078 )
...
This reverts commit c8a9a3f63c .
2018-10-11 08:26:37 -05:00
Shelley Vohr
ba9a55c391
fix: update and enable osr ( #15046 )
...
* fix: update and enable osr
* fix: update MacHelper view to call GetNativeView
* style: move stuff around to make more sense
* chore: move OSR related things in SetOwnerWindow to CommonWebContentsDelegate
* fix: avoid crashing when GetOffscreenRenderWidgetHostView is called
* fix: specify default for current_device_scale_factor_
2018-10-11 09:14:01 -04:00
Samuel Attard
d46834265f
chore: make FILEVERSION 4th component 0 on nightly builds ( #15074 )
...
Fixes #14900
2018-10-11 09:11:20 -04:00
Alexey Kuzmin
99f5f17a8d
build: add "apply_patches" flag to gclient ( #15079 )
2018-10-11 15:10:26 +02:00
Alexey Kuzmin
6c3d29712f
test: update notification_provenance.patch to fix unittests compilation ( #15060 )
2018-10-11 10:38:48 +02:00
Jeremy Apthorp
ce26687577
refactor: remove global_shortcut_listener from chromium_src/ ( #15070 )
2018-10-11 16:02:58 +11:00
Samuel Attard
f69e91975f
fix: update node for patch that allows native modules built on < node 10 ( #15073 )
2018-10-11 13:54:32 +11:00
Alexey Kuzmin
a9646e3414
ci: strip linux binaries for nightly release builds ( #15063 )
2018-10-11 13:41:48 +11:00
Milan Burda
a9475f3590
feat: add workingDirectory option to shell.openExternal() ( #15065 )
...
Allows passing `workingDirectory` to the underlying `ShellExecuteW` API on Windows.
the motivation is that by default `ShellExecute` would use the current working directory, which would get locked on Windows and can prevent autoUpdater from working correctly. We need to be able specify a different `workingDirectory` to prevent this situation.
2018-10-10 22:46:54 +02:00
Heilig Benedek
2d186cb31a
fix: close patch_file before deleting it ( #15055 )
2018-10-10 08:55:25 -05:00
Electron Bot
539d6d20b7
Bump v4.0.0-nightly.20181010
2018-10-10 06:38:01 -07:00
Samuel Attard
7159080ec5
chore: patch dump_syms to not hard fail on dylib resolve error ( #15056 )
2018-10-11 00:34:50 +11:00
Samuel Attard
5667c16767
Revert "Bump v4.0.0-nightly.20181010"
...
This reverts commit c96847206e .
2018-10-11 00:04:35 +11:00
Alexey Kuzmin
0662dd6449
ci: set timeouts for all steps on VSTS ( #15051 )
2018-10-10 13:44:07 +02:00
Alexey Kuzmin
978d16b8ab
revert: "fixme: allow huge Electron archives" ( #15048 )
...
This reverts commit f7dee77f2b .
2018-10-10 13:06:58 +02:00
Electron Bot
c96847206e
Bump v4.0.0-nightly.20181010
2018-10-10 03:45:40 -07:00
Samuel Attard
d48c3ec8da
Revert "Bump v4.0.0-nightly.20181010"
...
This reverts commit 8b3f915623 .
2018-10-10 21:43:32 +11:00
Electron Bot
8b3f915623
Bump v4.0.0-nightly.20181010
2018-10-10 02:22:24 -07:00
Samuel Attard
1b9600e510
Revert "Bump v4.0.0-nightly.20181010"
...
This reverts commit 181195ee20 .
2018-10-10 20:21:17 +11:00
Electron Bot
181195ee20
Bump v4.0.0-nightly.20181010
2018-10-10 01:04:16 -07:00
Samuel Attard
b0068cecc8
Revert "Bump v4.0.0-nightly.20181009"
...
This reverts commit 1b9a8bb854 .
2018-10-10 21:02:17 +13:00
Electron Bot
1b9a8bb854
Bump v4.0.0-nightly.20181009
2018-10-09 22:59:47 -07:00
Samuel Attard
f6dd201401
Revert "Bump v4.0.0-nightly.20181009"
...
This reverts commit 32e041d917 .
2018-10-10 16:53:56 +11:00
Samuel Attard
37d44965d1
Revert "FIXME: try enabling dcheck to see if that will get us more info on linux-release-testing"
...
This reverts commit 1a17ce81d5 .
2018-10-10 16:49:53 +11:00
Samuel Attard
5b43c249ce
Revert "FIXME: temporary debugging to maybe diagnose netlog issue on mac"
...
This reverts commit f8f318da93 .
2018-10-10 16:49:31 +11:00
Kevin Lynagh
af4cf1e969
fix: simpleFullscreen window should be on top of other OS X menu bars. ( #14881 )
...
If an app has no menu bar (because `app.dock.hide()` has been called),
OS X will still render the menu bar of the previously-focused app.
This commit ensures simpleFullscreen windows will be drawn on top of
that menu bar by setting their level to NSPopUpMenuWindowLevel while
simpleFullscreen mode is active.
Ref: https://github.com/electron/electron/issues/11468
2018-10-09 22:38:52 -07:00
Samuel Attard
ed065f0106
chore: dont run nightly jobs for everything
...
Refs: a71c814d19
2018-10-10 16:37:59 +11:00
Samuel Attard
33abd736e9
chore: add deprecation notice for webPrefences defaults ( #15045 )
2018-10-10 16:36:18 +11:00
Felix Rieseberg
ca826d49a5
docs: Add instructions on how to pull/push ( #14903 )
...
* docs: Add instructions on how to pull/push
* docs: Implement feedback <3
* fix: typo s/glient/gclient
2018-10-10 15:48:37 +11:00
Electron Bot
32e041d917
Bump v4.0.0-nightly.20181009
2018-10-09 21:34:34 -07:00
Milan Burda
5bd6de52e0
feat: add app.enableSandbox() ( #14999 )
2018-10-10 15:32:09 +11:00
Samuel Attard
cc0c6ad14a
Merge pull request #14972 from electron/chromium-upgrade/69
...
feat: upgrade to Chromium 69.0.3497.106
2018-10-10 15:29:21 +11:00
Shelley Vohr
dd43e92186
fix: simplify SetBackgroundColor
...
The compositor_superview member of BridgedNativeWidgetMac has been removed so as a consequence there is only one layer on which we need to call setBackgroundColor
2018-10-09 20:37:07 -07:00
Samuel Attard
2420cdf027
fix: ensure that the window is focused when testing spellchecker
2018-10-10 14:02:46 +11:00
Samuel Attard
2b8ef344b7
fixme: dont use --enable-logging on the ffmpeg verify phase
2018-10-10 13:11:10 +11:00
Samuel Attard
a5c3091c34
chore: remove --enable-logging, causing issues on CI
2018-10-10 12:11:16 +11:00
Samuel Attard
19e02cd63e
chore: add logging to zip-symbols.py to help debugging timeouts
2018-10-10 11:04:55 +11:00
Samuel Attard
6b621e203c
fix: use valid markdown syntax in browser-window.md to fix docs linter
2018-10-10 11:01:05 +11:00
Nitish Sakhawalkar
185fe6ced9
fix: Lifetime of auth_info_ in login handler ( #15042 )
2018-10-10 10:50:44 +11:00
Jeremy Apthorp
f8f318da93
FIXME: temporary debugging to maybe diagnose netlog issue on mac
2018-10-09 15:43:33 -07:00
Jeremy Apthorp
30850f491f
fix: [mac] restore SetBackgroundColor functionality
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
373ffa9fee
docs: document BrowserWindow.setBackgroundColor
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
1a17ce81d5
FIXME: try enabling dcheck to see if that will get us more info on linux-release-testing
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
c8a9a3f63c
FIXME: disable isCurrentlyAudible test to unblock merge
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
edb96c875e
FIXME: disable getGPUInfo test to unblock merge
...
should be fixed and re-enabled before release
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
ee8a54d186
chore: update line reference in gpuinfo comment
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
28153642a4
fix: compile error on mas
2018-10-09 14:39:39 -07:00
Aleksei Kuzmin
f7dee77f2b
fixme: allow huge Electron archives
2018-10-09 14:39:39 -07:00
Aleksei Kuzmin
a71c814d19
fixme: always run "nightly-release-test" workflow
2018-10-09 14:39:39 -07:00
deepak1556
3364c04977
FIXME: disable document.visibilityState/hidden <webview> spec
2018-10-09 14:39:39 -07:00
deepak1556
ba14dbe553
FIXME: disable net log spec
2018-10-09 14:39:39 -07:00
deepak1556
7ec05fb202
spec: update media-started-playing tests based on the autoplay policy
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
26a46b6b4b
ci: enable stack dumping in tests
2018-10-09 14:39:39 -07:00
deepak1556
363aafc25b
fix: ensure webcontents is destroyed before its associated browser context.
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
a71755e1b6
fix: crash in webRequest due to unsafe static_cast
...
upstream was changed to wrap the network delegate
see https://chromium.googlesource.com/chromium/src/+/69.0.3497.106/services/network/network_context.cc#948
2018-10-09 14:38:00 -07:00
Heilig Benedek
e548ed1a6e
fix: remove conflicting header
2018-10-09 14:38:00 -07:00
Heilig Benedek
4088dec630
FIXME! disable osr for now
2018-10-09 14:38:00 -07:00
Heilig Benedek
4017f3faa7
fix: make lint run on Windows in PowerShell
2018-10-09 14:38:00 -07:00
Cheng Zhao
878c5b663d
fix: disable the V2 sandbox on macOS
...
The new v2 sandbox uses system sandbox API, there does not seem to have
a way to support it in --enable-mixed-sandbox, we should probably
deprecate the API.
See https://chromium.googlesource.com/chromium/src.git/+/master/sandbox/mac/seatbelt_sandbox_design.md
2018-10-09 14:38:00 -07:00
Cheng Zhao
7ba287a05e
test: make netLog test pass when app crash on exit
2018-10-09 14:38:00 -07:00
Cheng Zhao
a6256c672a
feat: getGPUInfo not longer supports 'complete' on macOS
...
See https://chromium-review.googlesource.com/c/chromium/src/+/1208362
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
e28eeb0c2e
fix notification permission handler
2018-10-09 14:38:00 -07:00
Charles Kerr
f027e62b2a
fix: only call NetworkService::SetUpHttpAuth once.
2018-10-09 14:38:00 -07:00
deepak1556
f668fc8d02
chore: roll node
2018-10-09 14:38:00 -07:00
deepak1556
55d3720a95
chore: gn format
2018-10-09 14:38:00 -07:00
deepak1556
be719a1ec3
fix: Use the new isolate initialization api
...
https://chromium-review.googlesource.com/c/chromium/src/+/1015020
2018-10-09 14:38:00 -07:00
Charles Kerr
fb4b50c8c9
fix: linking pepper flash on Linux
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
b539e4d486
roll node to 10.11.0
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
66018eb0f1
FIXME: disable non-compiling LOGFONT IPC message
...
https://chromium-review.googlesource.com/c/chromium/src/+/1134100
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
56e26c27f2
clang-format
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
c920e453dc
Stop using ResourceContext::GetHostResolver()
...
https://chromium-review.googlesource.com/c/chromium/src/+/1135366
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
6df9c04270
Hook up HttpAuthHandlerFactory configuration to the network service
...
https://chromium-review.googlesource.com/c/chromium/src/+/1089661
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
67611d69af
Refactor of ServiceManagerContext
...
https://chromium-review.googlesource.com/c/chromium/src/+/1093021
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
85372ecb6b
update,,, sysroots? again????
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
92e95a463e
update sysroot
2018-10-09 14:38:00 -07:00
Samuel Attard
a0c2f3dc28
chore: re-enable bundled font config, we should fix the sysroot
2018-10-09 14:38:00 -07:00
Samuel Attard
06dbc7f613
chore: update sysroot
2018-10-09 14:38:00 -07:00
Samuel Attard
f03001c9f2
chore: re-land GetBgColor libgtkui export patch
2018-10-09 14:38:00 -07:00
Samuel Attard
80ffc26713
fixme: disable pepper flash
2018-10-09 14:38:00 -07:00
Samuel Attard
7aa01bc00a
chore: dont use bundled fontconfig
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
f5eaa97d9d
migrate off QuitCurrent*Deprecated in browser.cc
...
modelled after https://chromium-review.googlesource.com/c/chromium/src/+/1096475 and https://chromium-review.googlesource.com/c/chromium/src/+/1096475
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
98829aa916
fix default_app.js calling no-longer-existent API
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
647322e299
native_desktop_media_list.h depends on //chrome/app:generated_resources
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
8eb15f7554
Creates TaskScheduler and MessageLoop on main thread early
...
https://chromium-review.googlesource.com/c/chromium/src/+/1072387
2018-10-09 14:38:00 -07:00
Samuel Attard
d3a0a2300b
fix: include algorithm in notification_presenter
2018-10-09 14:38:00 -07:00
Samuel Attard
9190245628
fix: exe_and_shlib_deps does not exist anymore
...
ce772faa73
2018-10-09 14:38:00 -07:00
Samuel Attard
f4f70a19b0
chore: bump node
2018-10-09 14:38:00 -07:00
Samuel Attard
d8e58dffe6
chore: update CHROME_VERSION_STRING
2018-10-09 14:38:00 -07:00
Samuel Attard
7589c56cea
fix: intercept the isolate_holder's new isolate and register it with the node platform before initialization
...
Chromium Change: https://chromium-review.googlesource.com/c/chromium/src/+/1015020
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
bacc36dde1
Replace more loading methods in WebLocalFrame
...
https://chromium-review.googlesource.com/c/chromium/src/+/1043093
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
816c2f1893
Split WebWidgetClient and WebViewClient
...
https://chromium-review.googlesource.com/c/chromium/src/+/1134427
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
8d9f24d369
Remove WebCanvas alias, use cc::PaintCanvas directly in blink
...
https://chromium-review.googlesource.com/c/chromium/src/+/1112671
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
1adfa4d9da
Rename WebFrameClient to WebLocalFrameClient
...
https://chromium-review.googlesource.com/c/chromium/src/+/1073398
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
b57b342352
Remove PlatformAccelerator
...
https://chromium-review.googlesource.com/c/chromium/src/+/1140211
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
7ce338e420
Handle deleting cookies with session-only policy in network service
...
https://chromium-review.googlesource.com/c/chromium/src/+/1090035
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
120b6079a8
Move Net.HttpRequestCompletionErrorCodes to NetworkContext
...
https://chromium-review.googlesource.com/c/chromium/src/+/1108083
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
42120b4a72
Remove SupportsOCSPStapling from CertVerifier and CertVerifyProc
...
https://chromium-review.googlesource.com/c/chromium/src/+/1117034
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
b8774374a8
Fixed reporting for iframe ugprade-insecure-requests upgrades
...
https://chromium-review.googlesource.com/c/chromium/src/+/1096360
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
34e54b93a4
Remove WebContentsUserData::kLocatorKey
...
https://chromium-review.googlesource.com/c/chromium/src/+/1093015
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
2d46164ce0
Switch NetworkDelegate to OnceCallbacks
...
https://chromium-review.googlesource.com/c/chromium/src/+/1085855
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
0955fa7bcf
Remove unused RunMicrotasksObserver
...
https://chromium-review.googlesource.com/c/chromium/src/+/1086889
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
9e110ec915
Remove content::SpeechRecognitionResult
...
https://chromium-review.googlesource.com/c/chromium/src/+/1070587
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
56bc636706
Make content::PermissionManager a delegate of PermissionController
...
https://chromium-review.googlesource.com/c/chromium/src/+/1111340
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
eef375a428
Port //services/device/geolocation to network::SimpleURLLoader
...
https://chromium-review.googlesource.com/c/chromium/src/+/1119398
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
63176acde2
Collect NV12, YUY2, and BGRA overlay support information in GPUInfo
...
https://chromium-review.googlesource.com/c/chromium/src/+/1121622
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
e3fef30789
Refactor RWH::RestartHang...Timeout... into a generic base::Closure
...
https://chromium-review.googlesource.com/c/chromium/src/+/1096362
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
4570330c7b
Rename WebContentsDelegate methods
...
https://chromium-review.googlesource.com/c/chromium/src/+/1085427
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
af03e4a962
Rename content::PermissionManager into content::PermissionControllerDelegate
...
https://chromium-review.googlesource.com/c/chromium/src/+/1136858
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
7861f75a3e
media: Refactor KeySystemSupport
...
https://chromium-review.googlesource.com/c/chromium/src/+/1102836
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
9c2cd5a84c
Support add/overwrite redirect request headers in NavigationURLLoader
...
https://chromium-review.googlesource.com/c/chromium/src/+/1072643
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
18128a1582
Use CompletionOnceCallback
...
several CLs, e.g. https://chromium-review.googlesource.com/c/chromium/src/+/1092933
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
ec1bd5375a
FIXME: Delete RenderWidgetHostViewMac::AcceleratedWidgetGetNSView
...
https://chromium-review.googlesource.com/c/chromium/src/+/1121957
https://chromium-review.googlesource.com/c/chromium/src/+/1037145
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
95cec24387
FIXME: Move persistent notification id from notification database to profile
...
https://chromium-review.googlesource.com/c/chromium/src/+/1114840
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
d13e3324c6
Unify notification-related permission checks in its PermissionContext
...
https://chromium-review.googlesource.com/c/chromium/src/+/1085568
https://chromium-review.googlesource.com/c/chromium/src/+/1085466
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
2a3a845262
Change CreateWebUIControllerForURL() to return a unique_ptr
...
https://chromium-review.googlesource.com/c/chromium/src/+/1087627
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
c576d442fd
Rename base::Timer to base::TimerBase
...
https://chromium-review.googlesource.com/c/chromium/src/+/1124200
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
a7c687f160
ChildProcessSecurityPolicy: only use granted schemes for requests
...
https://chromium-review.googlesource.com/c/chromium/src/+/1108485
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
4f540fe52a
Replace DupCryptoBuffer with bssl::UpRef
...
https://chromium-review.googlesource.com/c/chromium/src/+/1128194
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
90aa277c26
Migrate MediaResponseCallback to OnceCallback
...
https://chromium-review.googlesource.com/c/chromium/src/+/1093052
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
3ded109c2e
stop using x-devtools-emulate-network-conditions-client-id header
...
https://chromium-review.googlesource.com/c/chromium/src/+/1086949
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
f514445f20
roll node to tmp version (branch more-patches)
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
3b047f1950
more gclient_gn_args
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
ea98fb37e6
//tools/gn was removed
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
ef12492d6c
update chromium and v8 patches
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
aefb8911ec
roll Chromium to 69.0.3497.106
2018-10-09 14:37:13 -07:00
Alexey Kuzmin
36ee83875a
ci: run tests on VSTS in a separate job ( #15027 )
...
* ci: run tests on VSTS in a separate job
Split current monolithic job into two: one to build Electron,
and the other to run its JavaScript tests.
Optionally a "Custom.UseArtifacts.BuildId" variable
can be used to run tests using binaries built in a different job.
Useful to rerun test jobs failed because of flaky tests.
* ci: fail a tests job on VSTS if it's started for a build of a different revision
* ci: fail a tests job on VSTS if there are no test results
* ci: run Mac tests on hosted MacOS agents
* ci: install Node.js 10 on hosted Mac agents
2018-10-09 17:01:35 -04:00
John Kleinschmidt
1cf00274ab
ci: strip linux binaries for release builds ( #14991 )
2018-10-09 16:19:05 -04:00
Troy
d678d9ee75
fix: Check minSize constraints before resizing ( #14931 )
...
* Inital setSize check
* Only resize if above minimum size constraints
* lint
* Resize to min if size is changed
* Remove unneeded if statement
* chore: remove trailing whitespace
* Add note about setSize method in docs
2018-10-09 12:08:15 -05:00
Shelley Vohr
532ee2dadf
fix: overly thin font rendering on mojave ( #15007 )
...
* fix: overly thin font rendering on mojave
* SkUniqueCFRef => UniqueCFRef
2018-10-09 10:52:11 -04:00
Charles Kerr
e9a5b19223
feat: convenience command to apply all formatter patches ( #14994 )
...
* feat: convenience to apply all formatter patches
run-clang-format.py can create multiple patchfiles.
This change prints a command that can be pasted into
a shell to apply all of them together.
* feat: put all generated style diffs in one file
This way it will be easier to `git apply` fixes to multiple
fixed files at once.
2018-10-09 10:06:27 -04:00
Charles Kerr
05f4860889
fix: power observer dbus crash ( #15030 )
...
* fix: check dbus response for nullptr before using
* chore: use BindOnce for ProxyObject::CallMethod cb
* chore: comment out name of unused argument
* fix: re-enable and fix linux power monitor tests
* fix: change tyop from code comments
* refactor: don't keep unnecessary dbus pointer
* chore: remove the 'TODO: fix this' spec comment
2018-10-09 00:32:19 -05:00
Alexey Kuzmin
7df51eef3c
ci: fix breakpad symbols generation on CircleCI for PRs from forks ( #15026 )
...
E.g. https://circleci.com/gh/electron/electron/78458
2018-10-08 23:56:15 +02:00
Alexey Kuzmin
7866575385
ci: fix the upload distribution step on VSTS ( #15015 )
...
* ci: fix the upload distribution step on VSTS
* ci: fix get_electron_exec()
* ci: define "CI" env variable
2018-10-08 15:19:40 -05:00
Manoel
5416051e36
chore(eslint): add extension to .eslintrc file ( #15020 )
...
.eslintrc file without extension is deprecated.
2018-10-08 14:21:34 -05:00
Milan Burda
9177dbb584
refactor: use boolean for nodeIntegration / webviewTag ( #15005 )
2018-10-08 15:51:31 +02:00
Alexey Kuzmin
918488a2f0
ci: various fixes ( #15004 )
...
- ci: don't send Slack notifications for the "linux-ia32-testing-tests" job
- ci: fix symbols collection job on VSTS
- ci: run tests on Windows for both "testing" and "release" builds
2018-10-07 16:05:20 +02:00
Milan Burda
b50f86ef43
refactor: use separate ipc-renderer-internal / ipc-main-internal APIs for Electron internals ( #13940 )
2018-10-07 00:48:00 +13:00
Electron Bot
f7122610cc
Bump v4.0.0-nightly.20181006
2018-10-06 02:43:36 -07:00
Samuel Attard
59681f989f
Revert "Bump v4.0.0-nightly.20181006"
...
This reverts commit c74a3b82d7 .
2018-10-06 22:21:12 +13:00
Samuel Attard
541e10b081
chore: temporarily use submodule and gn DEPS for requests/boto
2018-10-06 22:07:10 +13:00
Electron Bot
c74a3b82d7
Bump v4.0.0-nightly.20181006
2018-10-06 00:13:06 -07:00
Samuel Attard
b9cf49f32c
chore: fix native_mksnapshot path on for arm releases
2018-10-06 20:10:40 +13:00
Samuel Attard
251a3c712b
Revert "Bump v4.0.0-nightly.20181005"
...
This reverts commit 2a2ec7700e .
2018-10-06 20:10:21 +13:00
Electron Bot
2a2ec7700e
Bump v4.0.0-nightly.20181005
2018-10-05 21:09:00 -07:00
Alexey Kuzmin
b45dc78751
ci: fix breakpad symbols generation ( #14981 )
2018-10-06 01:55:06 +02:00
Alexey Kuzmin
5eeff55e83
ci: better Slack notifications for nightly jobs ( #14985 )
...
- do not report success from Eletron build jobs
- report failures from more jobs
- add separate summary jobs to report success
2018-10-06 01:15:38 +02:00
Alexey Kuzmin
5525f34363
build: make external binaries download action more flexible ( #14982 )
...
* build: make external binaries download action more flexible
* chore: reformat DEPS
Make it look more like Chromium //DEPS:
- use name-pattern-condition-action order for hooks
- add trailing commas
- remove some line breaks
Also remove redundant entry from "recursedeps".
2018-10-06 00:21:46 +02:00
Robo
6e5dd735f6
refactor: enable weak ptr unwrap sequence dcheck ( #14816 )
...
* refactor: enable weak ptr unwrap sequence dcheck
* spec: remove WeakPtrDeathTest.* from disabled list
2018-10-05 15:29:57 -05:00
John Kleinschmidt
643781578e
ci: fix environment variables for fork prs ( #14995 )
...
Fixes #14984
Fixes xvfb for fork prs
Sets up sccache as readonly for fork prs.
2018-10-05 16:06:52 -04:00
Robo
2700eaca1e
build: remove //chrome/browser/icon_loader source copies ( #14955 )
...
* build: remove //chrome/browser/icon_loader source copies
* chore: add DCHECK to ensure IconManager is accessed from UI thread
2018-10-05 14:12:53 -05:00
Shelley Vohr
71058fd9a3
fix: re-enable osr following m68 upgrade ( #14973 )
2018-10-05 11:03:35 -07:00
Charles Kerr
859567983a
chore: run clang-format to clear linter for #14977 ( #14990 )
2018-10-05 10:38:27 -05:00
John Kleinschmidt
8abe43ac8b
Save build artifacts for debug builds ( #14992 )
2018-10-05 11:11:51 -04:00
John Kleinschmidt
0dbe27714c
ci: cleanup Electron dirs before running tests ( #14989 )
2018-10-05 11:06:46 -04:00
John Kleinschmidt
e06818e8c0
ci: use ubuntu 18.04 for arm testing ( #14988 )
2018-10-05 09:29:32 -05:00
Alexey Kuzmin
9187415f5e
ci: temporary do no run "verify-ffmpeg.py" on Mac CI ( #14986 )
2018-10-05 08:28:02 -05:00
Samuel Attard
8d5de8a0fd
Revert "Bump v4.0.0-nightly.20181004"
...
This reverts commit 53d3a96489 .
2018-10-05 10:21:56 +10:00
Samuel Attard
657901c2ff
chore: specify -j18 for electron ninja call
2018-10-05 10:21:36 +10:00
Alexey Kuzmin
0857ecf478
build: make boto and requests optional dependencies ( #14970 )
2018-10-04 20:20:25 -04:00
Charles Kerr
9d4818c784
fix relaunch on linux ( #14975 )
...
* chore: re-enable relaunch test for Linux
* fix: relauncher_linux listening for parent exit
2018-10-04 18:41:37 -05:00
Electron Bot
53d3a96489
Bump v4.0.0-nightly.20181004
2018-10-04 16:28:34 -07:00
Samuel Attard
baf40fd8f7
chore: add extra logging to the upload script
2018-10-05 09:24:19 +10:00
Samuel Attard
21348b9f3d
Revert "Bump v4.0.0-nightly.20181004"
...
This reverts commit 7a6d0cd6d2 .
2018-10-05 09:15:38 +10:00
Milan Burda
ae8c0f71b1
chore: remove duplicate code in spec/security-warnings-spec.js ( #14967 )
2018-10-05 00:24:14 +02:00
Electron Bot
7a6d0cd6d2
Bump v4.0.0-nightly.20181004
2018-10-04 13:56:59 -07:00
Robo
434a6e3561
refactor: create request context from network context ( #14656 )
...
* [ci skip] refactor: create request context from network context
* [ci skip] refactor: subscribe to mojo cookiemanager for cookie changes
* [ci skip] refactor: manage the lifetime of custom URLRequestJobFactory
* refactor: use OOP mojo proxy resolver
* revert: add support for kIgnoreCertificateErrorsSPKIList
* build: provide service manifest overlays for content services
* chore: gn format
* fix: log-net-log switch not working as expected
* spec: verify proxy settings are respected from pac script with session.setProxy
* chore: use chrome constants where possible
* fix: initialize request context for global cert fetcher
* refactor: fix destruction of request context getters
* spec: use custom session for proxy tests
* fix: queue up additional stop callbacks while net log is being stopped
* fix: Add CHECK for cookie manager retrieval
* chore: add helper to retrieve logging state for net log module
* fix: ui::ResourceBundle::GetRawDataResourceForScale => GetRawDataResource
* style: comment unused parameters
* build: move //components/certificate_transparency deps from //brightray
* chore: update gritsettings_resource_ids patch
* chore: update api for chromium 68
* fix: net log instance is now a property of session
2018-10-04 13:08:56 -05:00
Shelley Vohr
27bbf6a3c6
feat: add evt listeners for SetAlwaysOnTop ( #14951 )
...
* feat: add evt listeners for SetAlwaysOnTop
* only emit one event on AlwaysOnTop change
* docs: add new alwaysontop event
* dont emit if theres no change
* address feedback from review
2018-10-04 13:02:16 -05:00
Samuel Attard
d810f08b75
fix: update accelerator patch to handle recent chromium fixes ( #14966 )
2018-10-04 12:05:35 -05:00
John Kleinschmidt
038b56e31e
ci: Trigger an arm test on VSTS after CircleCI build ( #14898 )
...
* ci: Trigger an arm test on VSTS after CircleCI build
2018-10-04 12:01:16 -04:00
Alexey Kuzmin
1acd840c38
ci: rearrange builds on CircleCI ( #14969 )
...
* ci: do not build ffmpeg for every PR on CircleCI
* ci: build and run unittests in a separate workflow on CircleCI
* ci: build chromedriver in a separate job
2018-10-04 11:50:46 -04:00
Cheng Zhao
d3ae541397
refactor: Clean up the implementation of the registerStreamProtocol ( #11357 )
...
* Use weak pointer to avoid race condition
* Use DeleteSoon to delete pointer across threads
* Simplify EventSubscriber
* No need to manually mange V8 convertions
* Fix cpplint warning
We should update cpplint for this, but let's do it in other PR.
* Move UI thread operations to EventSubscriber
* Less and more assertions
Some methods are now private so no more need to assert threads.
* Fix cpplint warnings
* No longer needs the EventEmitted
* EventSubscriber => StreamSubscriber
* Reduce the copies when passing data
* Fix cpplint warnings
2018-10-04 10:13:09 -04:00
Samuel Attard
3805c5f538
chore: enable -pie for linux builds ( #14962 )
...
Closes #14961
2018-10-04 10:10:48 -04:00
Alexey Kuzmin
f161835fc3
test: disable one test in base_unittests ( #14968 )
...
Fails after the Chromium 68 upgrade.
2018-10-04 10:00:30 -04:00
Samuel Attard
31c7891553
chore: checkout the arm resources during publish sync
2018-10-04 14:14:53 +10:00
Samuel Attard
01efb6570c
Revert "Bump v4.0.0-nightly.20181003"
...
This reverts commit 76dab5ebd1 .
2018-10-04 13:45:20 +10:00
Electron Bot
76dab5ebd1
Bump v4.0.0-nightly.20181003
2018-10-03 19:15:29 -07:00
Samuel Attard
41c6a64213
chore: fix GN linting issue in brightray
2018-10-04 12:10:18 +10:00
Samuel Attard
03e6113ef7
Merge pull request #14964 from electron/chromium-upgrade/68
...
feat: upgrade to Chromium 68.0.3440.128 and Node 10.11.0
2018-10-04 12:04:53 +10:00
Samuel Attard
b59e01bdb0
Revert "feat: upgrade to Chromium 68.0.3440.128 and Node 10.11.0 ( #14677 )" ( #14963 )
...
This reverts commit e012801420 .
2018-10-04 12:03:15 +10:00
Jeremy Apthorp
e012801420
feat: upgrade to Chromium 68.0.3440.128 and Node 10.11.0 ( #14677 )
...
* Update to Chromium 68.0.3440.128 and Node 10.10.0
* update v8, ffmpeg, chromium, crashpad, boringssl, and webrtc patches
* fix SSL_get_tlsext_status_type patch
* pass encryption_modes_supported to CdmInfo
* kNoSandbox moved into service_manager
* bump CHROME_VERSION_STRING
TODO: automatically pull in the real chrome version
* PathService -> base::PathService
* net::X509Certificate::Equals -> net::X509Certificate::EqualsExcludingChain
* use content::ChildProcessTerminationInfo
* GetHandle() -> GetProcess().Handle()
* ScopedNestableTaskAllower doesn't take an argument
* net::HttpAuthCache::ClearEntriesAddedWithin -> ClearAllEntries
* std::unique_ptr<WebContents>
* blink::WebFullscreenOptions
* OnAudioStateChanged doesn't take a WebContents
* content::RESULT_CODE_NORMAL_EXIT -> service_manager::RESULT_CODE_NORMAL_EXIT
* MessageLoopCurrent
* WasResized -> SynchronizeVisualProperties
* SetTimeStamp takes a base::TimeTicks
* ExecuteScriptInIsolatedWorld is single-script only
* DispatchNonPersistentCloseEvent takes a callback now
* expose URLRequestContextGetter::{Add,Remove}Observer
* test: remove no longer existing Chromium test deps
cc_blink_unittests has been removed in
https://chromium-review.googlesource.com/1053765
mojo_common_unittests has been removed in
https://chromium-review.googlesource.com/1028000
* SetFdLimit -> IncreaseFdLimitTo
NOTE: the behaviour of this API has changed slightly, and we should
mention that in the notes.
* MessageLoop::QuitWhenIdleClosure -> RunLoop::QuitCurrentWhenIdleClosureDeprecated
* certificate_transparency moved out of net/
pending a clearer decision about what to do with CT
in the mean time, copy CreateLogVerifiersForKnownLogs from deleted chromium source
* add secure_origin_whitelist to chrome source list
NOTE: is this something we actually want? cc @deepak1556
* DrainBackgroundTasks -> DrainTasks
* use new node options parser
* fix disable_scroll_begin_dcheck.patch
* ViewsDelegate::CreateWebContents went away
see https://chromium-review.googlesource.com/c/chromium/src/+/1031314
* kZygoteProcess moved into service_manager
* test: minor improvements to the Node spec
- reformat some parts
- better failures reporting with `expect`
- skip some tests instead of marking them as passed
* chromium removed *_posix.cc from the source filters
* test: fix :electron_tests compilation
* better crash diagnostics in ffmpeg test
* fix: enable back a DCHECK in viz::ServerSharedBitmapManager
Fixes #14327 .
Backports https://chromium-review.googlesource.com/802574 .
* chore: update linux sysroots
* chore: remove obsolete "install-sysroot.py" script
* test: fix frame-subscriber test on Mac
* disable OSR for now
* test: make before-input-event test more robust
* test: make run-as-node --inspect test more robust on windows
* roll node to v10.11.0
* avoid duplicate files when building a zip
* disable failing assert in beginFrameSubscription dirty-rectangle test
* experiment with is_cfi = false
* fix: build torque with x64 toolchain
Co-Authored-By: Alexey Kuzmin <github@alexeykuzmin.com >
* test: disable the "app.relaunch" test on Linux
* chore: bump node to get header tar file
* chore: bump node to fix tar.py line endings
2018-10-04 12:02:14 +10:00
Samuel Attard
a78fff0afe
chore: bump node to fix tar.py line endings
2018-10-04 10:09:33 +10:00
Jeremy Apthorp
14fc6f3081
chore: add GN linting ( #14678 )
...
* chore: add GN linter
* chore: fix GN lint errors
* try some crazy bash to get a gn exe
* base64 on linux is different
* cloning build_tools doesn't download GN
* download_from_google_storage needs depot_tools in the path
* fixup! chore: add GN linter
2018-10-03 18:03:26 -05:00
Samuel Attard
b47081e814
chore: bump node to get header tar file
2018-10-04 08:59:33 +10:00
Aleksei Kuzmin
21f382fcae
test: disable the "app.relaunch" test on Linux
2018-10-04 00:21:58 +02:00
John Kleinschmidt
df32326ce5
fix: build torque with x64 toolchain
...
Co-Authored-By: Alexey Kuzmin <github@alexeykuzmin.com >
2018-10-04 00:15:00 +02:00
Jeremy Apthorp
f7f93d2071
experiment with is_cfi = false
2018-10-04 00:15:00 +02:00
Jeremy Apthorp
45c2dcddb0
disable failing assert in beginFrameSubscription dirty-rectangle test
2018-10-04 00:15:00 +02:00
Jeremy Apthorp
81bd7fab55
avoid duplicate files when building a zip
2018-10-04 00:15:00 +02:00
Jeremy Apthorp
d4c8375702
roll node to v10.11.0
2018-10-04 00:15:00 +02:00
Samuel Attard
0ee46cdc26
test: make run-as-node --inspect test more robust on windows
2018-10-04 00:14:59 +02:00
Cheng Zhao
b11b4f2235
test: make before-input-event test more robust
2018-10-04 00:14:59 +02:00
Jeremy Apthorp
41d806ee45
disable OSR for now
2018-10-04 00:14:59 +02:00
Aleksei Kuzmin
0fc79ad3a9
chore: update linux sysroots
2018-10-04 00:14:59 +02:00
Aleksei Kuzmin
01179ea7b9
chore: remove obsolete "install-sysroot.py" script
2018-10-04 00:14:59 +02:00
Jeremy Apthorp
09f018ce8c
test: fix frame-subscriber test on Mac
2018-10-04 00:14:59 +02:00
Aleksei Kuzmin
ae12d53884
fix: enable back a DCHECK in viz::ServerSharedBitmapManager
...
Fixes #14327 .
Backports https://chromium-review.googlesource.com/802574 .
2018-10-04 00:14:59 +02:00
Jeremy Apthorp
cc53269231
better crash diagnostics in ffmpeg test
2018-10-04 00:14:59 +02:00
Aleksei Kuzmin
6ab5c2faa1
test: fix :electron_tests compilation
2018-10-04 00:14:59 +02:00
Jeremy Apthorp
aafe83338c
chromium removed *_posix.cc from the source filters
2018-10-04 00:14:59 +02:00
Aleksei Kuzmin
ae95f77d68
test: minor improvements to the Node spec
...
- reformat some parts
- better failures reporting with `expect`
- skip some tests instead of marking them as passed
2018-10-04 00:14:59 +02:00
Jeremy Apthorp
4e679a3f28
kZygoteProcess moved into service_manager
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
f9ed25dd78
ViewsDelegate::CreateWebContents went away
...
see https://chromium-review.googlesource.com/c/chromium/src/+/1031314
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
2f75777fb6
fix disable_scroll_begin_dcheck.patch
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
6e037f5e71
use new node options parser
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
9aaedc394e
DrainBackgroundTasks -> DrainTasks
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
5d882c6b91
add secure_origin_whitelist to chrome source list
...
NOTE: is this something we actually want? cc @deepak1556
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
3657715c7b
certificate_transparency moved out of net/
...
pending a clearer decision about what to do with CT
in the mean time, copy CreateLogVerifiersForKnownLogs from deleted chromium source
2018-10-04 00:12:55 +02:00
Jeremy Apthorp
6a202c9f52
SetFdLimit -> IncreaseFdLimitTo
...
NOTE: the behaviour of this API has changed slightly, and we should
mention that in the notes.
2018-10-04 00:12:55 +02:00
Jeremy Apthorp
f0da5bce80
MessageLoop::QuitWhenIdleClosure -> RunLoop::QuitCurrentWhenIdleClosureDeprecated
2018-10-04 00:12:55 +02:00
Jeremy Apthorp
e6da87b864
test: remove no longer existing Chromium test deps
...
cc_blink_unittests has been removed in
https://chromium-review.googlesource.com/1053765
mojo_common_unittests has been removed in
https://chromium-review.googlesource.com/1028000
2018-10-04 00:12:55 +02:00
Jeremy Apthorp
7e5d90f871
DispatchNonPersistentCloseEvent takes a callback now
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
7a043a800d
ExecuteScriptInIsolatedWorld is single-script only
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
3b7657361d
SetTimeStamp takes a base::TimeTicks
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
9c15c97468
expose URLRequestContextGetter::{Add,Remove}Observer
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
faf57683ce
WasResized -> SynchronizeVisualProperties
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
5d9ba8b821
MessageLoopCurrent
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
08265ba3e2
content::RESULT_CODE_NORMAL_EXIT -> service_manager::RESULT_CODE_NORMAL_EXIT
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
948fe2107e
OnAudioStateChanged doesn't take a WebContents
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
517d38f191
blink::WebFullscreenOptions
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
a5b09e25ea
std::unique_ptr<WebContents>
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
8060e915c2
net::HttpAuthCache::ClearEntriesAddedWithin -> ClearAllEntries
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
5a757449b0
ScopedNestableTaskAllower doesn't take an argument
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
b9cd3493ac
GetHandle() -> GetProcess().Handle()
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
1c60f9e468
use content::ChildProcessTerminationInfo
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
280421393e
net::X509Certificate::Equals -> net::X509Certificate::EqualsExcludingChain
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
de581ca0b4
PathService -> base::PathService
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
7092fa31a4
kNoSandbox moved into service_manager
2018-10-04 00:11:51 +02:00
Jeremy Apthorp
ce2c8e358d
pass encryption_modes_supported to CdmInfo
2018-10-04 00:11:51 +02:00
Jeremy Apthorp
e721388bac
fix SSL_get_tlsext_status_type patch
2018-10-04 00:11:51 +02:00
Jeremy Apthorp
6f2f761df3
update v8, ffmpeg, chromium, crashpad, boringssl, and webrtc patches
2018-10-04 00:11:51 +02:00
Jeremy Apthorp
d5e9b662f8
bump CHROME_VERSION_STRING
...
TODO: automatically pull in the real chrome version
2018-10-04 00:11:51 +02:00
Jeremy Apthorp
78c8951a50
Update to Chromium 68.0.3440.128 and Node 10.10.0
2018-10-04 00:11:51 +02:00
Milan Burda
5efb0fdff1
feat: add security warnings to sandboxed renderers ( #14869 )
...
Also refactor not to use the remote module.
2018-10-03 21:36:12 +02:00
Jeremy Apthorp
de020d0a5e
ci: combine linux-*-checkout into one step ( #14937 )
2018-10-03 21:05:05 +02:00
Robo
7a43c8732c
build: remove //chrome/common source copies ( #14950 )
...
* Removes
* //chrome/common/chrome_constants.*
* //chrome/common/chrome_paths*.*
* //chrome/common/pref_names.*
2018-10-03 11:44:22 -07:00
Robo
91a965e24d
build: remove //extensions source copies ( #14949 )
...
* build: remove //extensions source copies
* chore: gn format
2018-10-03 11:44:50 -05:00
Cheng Zhao
4c4d8c5bfa
fix: support ASAR in fs.copyFile ( #14942 )
2018-10-03 09:36:20 -07:00
Robo
820d99d37f
build: remove duplicate cursor resource configs ( #14929 )
...
$target_gen_dir/ui/resources/ui_unscaled_resources.rc provides
the required values during compilation.
2018-10-03 08:38:53 -07:00
Shelley Vohr
47258f7b3d
fix: default_app incorrect loading by url ( #14940 )
2018-10-03 08:10:22 -07:00
Robo
596ae2c2df
refactor: desktop capturer module ( #14835 )
...
* Revert "post all desktop capturer apis to worker threads"
This reverts commit 5a28759fea .
* refactor: desktop capturer module
* Creates the screen and window capturer for the liftime of the app
* Fixes incorrect usage of weak ptr
* build: add //ui/snapshot to chromium_src deps
* fix: handle scenarios when there are no captured sources
2018-10-03 21:26:42 +09:00
Shelley Vohr
e06bc311a9
chore: remove dead code in menu controller ( #14939 )
2018-10-03 16:24:28 +09:00
Cheng Zhao
a1b2162563
fix: use white background for non-OSR renderer by default ( #14932 )
2018-10-02 20:09:18 -07:00
John Kleinschmidt
319d9e519f
ci: Use VSTS checkout of electron ( #14926 )
2018-10-02 16:21:27 -04:00
Samuel Attard
2b3415dfd8
chore: remove duplicate and un-needed files from dist zips ( #14882 )
...
* chore: remove duplicate and un-needed files from dist zips
* Strip chromedriver binaries
Also, fix path for files to skip
* Don't strip mksnapshot for now
Mksnapshot needs special handling for arm/arm64 because there is both an x86 and arm/arm64 binary in those cases.
2018-10-02 11:12:37 -04:00
Cheng Zhao
74badfeb56
fix: check guest view's devtools window size ( #14922 )
2018-10-02 09:56:33 -05:00
Cheng Zhao
b23c389f89
Revert "fix: check guest view's devtools window size"
...
This reverts commit 90519c3ac0 .
It was an accidencal push
2018-10-02 00:17:13 -07:00
Cheng Zhao
90519c3ac0
fix: check guest view's devtools window size
2018-10-02 00:15:59 -07:00
Samuel Attard
d628aad3bf
feat: remove needless mojave dark mode APIs and add instructions on how to use the macOS replacement ( #14895 )
2018-10-02 14:44:50 +10:00
Samuel Attard
13035612ab
ci: clean up the lint config for vsts ( #14914 )
2018-10-02 13:11:40 +10:00
Milan Burda
3ad3ade828
refactor: add prefer-const to .eslintrc + fix errors ( #14880 )
2018-10-02 11:56:31 +10:00
Alexey Kuzmin
07161a8452
chore: some async await stuff for the spec runner ( #14897 )
2018-10-02 11:53:34 +10:00
Jeremy Apthorp
6a3402be5f
ci: add -j3 to mksnapshot/ffmpeg due to smaller machine size ( #14907 )
2018-10-02 11:50:41 +10:00
Felix Rieseberg
79c6e7c3f7
fix: Disable new fade animation for BrowserViews ( #14911 )
2018-10-02 11:49:26 +10:00
Alexey Kuzmin
c9edf77e8e
test: slightly rewrite getGPUInfo() tests ( #14863 )
...
Rewrite GPUInfo tests for linux and update `getGPUInfo` functionality for linux.
`basic` and `complete` GPUInfo is same for linux.
2018-10-01 18:34:52 -07:00
Alexey Kuzmin
f1b097024e
ci: run more unittests ( #14861 )
2018-10-01 17:50:52 -05:00
Alexey Kuzmin
5da7bae1b3
ci: refactor the CircleCI config ( #14891 )
...
- explicitly mark jobs that should use sccache
- explicitly mark jobs that should send Slack notifications
- remove unnecessary env vars and checks
- build and verify ffmpeg, and build native mksnapshot nightly
- add "native" to the native mksnapshot jobs names
- minor changes
2018-10-01 22:24:51 +02:00
Robo
a24ad6bc14
build: define compile time features with buildflag header ( #14840 )
...
* build: define compile time features with buildflag header
* refactor: switch to BUILDFLAG(ENABLE_DESKTOP_CAPTURER)
* refactor: switch to BUILDFLAG(ENABLE_RUN_AS_NODE)
* refactor: switch to BUILDFLAG(ENABLE_OSR)
* refactor: switch to BUILDFLAG(ENABLE_VIEW_API)
* refactor: switch to BUILDFLAG(ENABLE_PEPPER_FLASH)
* refactor: switch to BUILDFLAG(OVERRIDE_LOCATION_PROVIDER)
* refactor: switch to BUILDFLAG(ENABLE_PDF_VIEWER)
2018-10-01 16:00:53 -04:00
Alexey Kuzmin
4af922c9a2
ci: fail a tests job is there are no test results ( #14884 )
2018-10-01 16:59:55 +02:00
Shelley Vohr
ec38561254
chore: wrap new NSAppearance in correct check ( #14873 )
...
* fix: wrap new NSAppearance in correct check
* catch dark case on < 10.14
* fix @available conditional organization
2018-10-02 00:52:04 +10:00
Samuel Attard
40b676fee8
chore: skip the .bin from folder hashing due to npm not cleaning up symlinks ( #14888 )
...
- fix the ia32 specs not running on CI
- handle rejected promises in the "spec-runner" script
2018-10-01 16:00:04 +02:00
Alexey Kuzmin
60ac03c08f
test: disable getGPUInfo() tests on Linux ( #14875 )
2018-10-01 12:57:38 +10:00
Milan Burda
d48f9bcf7f
refactor: implement <webview> methods via dedicated IPCs without the remote module ( #14377 )
2018-10-01 10:07:50 +09:00
Milan Burda
ce38be74df
refactor: simplify process object initialization for sandboxed renderers ( #14878 )
...
Also fix `process.windowsStore`.
2018-09-30 23:24:00 +02:00
Electron Bot
0127bbc8e8
Bump v4.0.0-nightly.20180929
2018-09-29 05:11:59 -07:00
Samuel Attard
7ea0d105c0
chore: fix mac vsts config
2018-09-29 22:05:15 +10:00
Samuel Attard
3d1247933c
Revert "Bump v4.0.0-nightly.20180929"
...
This reverts commit 3cc0a40792 .
2018-09-29 22:04:05 +10:00
Electron Bot
3cc0a40792
Bump v4.0.0-nightly.20180929
2018-09-29 04:56:34 -07:00
Samuel Attard
2b107ef3e8
chore: generate ffmpeg zip on macos release
2018-09-29 21:50:31 +10:00
Samuel Attard
6d205423f5
Revert "Bump v4.0.0-nightly.20180929"
...
This reverts commit dac076dfb1 .
2018-09-29 21:50:10 +10:00
Samuel Attard
139c98dc57
Revert "Bump v4.0.0-nightly.20180929"
...
This reverts commit f5fb6b6a8e .
2018-09-29 21:49:59 +10:00
Electron Bot
f5fb6b6a8e
Bump v4.0.0-nightly.20180929
2018-09-29 03:20:13 -07:00
Electron Bot
dac076dfb1
Bump v4.0.0-nightly.20180929
2018-09-29 02:02:46 -07:00
Samuel Attard
f1eea4aab6
chore: run create-typescript-definitions for darwin releases
2018-09-29 18:36:28 +10:00
Samuel Attard
7ac4f7aa3b
Revert "Bump v4.0.0-nightly.20180929"
...
This reverts commit e3adffbbac .
2018-09-29 18:36:12 +10:00
Electron Bot
e3adffbbac
Bump v4.0.0-nightly.20180929
2018-09-29 00:04:20 -07:00
Samuel Attard
99cf6815a8
chore: run create-typescript-definitions for darwin releases
2018-09-29 16:39:22 +10:00
Samuel Attard
a4607d3284
chore: set TARGET_ARCH correctly for arm and arm64 builds
2018-09-29 15:32:48 +10:00
Samuel Attard
417150cecf
Revert "Bump v4.0.0-nightly.20180928"
...
This reverts commit fa70e65e0f .
2018-09-29 15:32:20 +10:00
Electron Bot
fa70e65e0f
Bump v4.0.0-nightly.20180928
2018-09-28 21:30:52 -07:00
Samuel Attard
7e5d16ce84
chore: generate ffmpeg zip on linux release
2018-09-29 14:26:58 +10:00
Samuel Attard
adc60a72ca
chore: get target arch from TARGET_ARCH env var
2018-09-29 14:13:17 +10:00
Samuel Attard
d6500244a4
chore: bump node to get header tar file
2018-09-29 14:01:27 +10:00
Samuel Attard
2669f1247a
Revert "Bump v4.0.0-nightly.20180928"
...
This reverts commit 449bd8e408 .
2018-09-29 14:00:41 +10:00
Electron Bot
449bd8e408
Bump v4.0.0-nightly.20180928
2018-09-28 20:13:25 -07:00
Samuel Attard
531a4c5b8c
Merge pull request #14868 from electron/fix-win-dump-syms
...
chore: fix windows dump syms
2018-09-29 13:11:03 +10:00
Samuel Attard
ad9e01393d
chore: actually publish from circleci and always build node headers on vsts
2018-09-29 12:33:56 +10:00
Samuel Attard
9ec7137443
chore: fix ffmpeg upload path and always generate node headers
2018-09-29 12:27:29 +10:00
Samuel Attard
851cd22f10
chore: fix upload.py for symbol.zip upload
2018-09-29 12:00:33 +12:00
Milan Burda
c61db523c7
refactor: replace var with const / let ( #14866 )
2018-09-29 09:17:00 +10:00
Samuel Attard
689ea370e1
chore: push the symbol zip not a folder
2018-09-29 11:06:14 +12:00
John Kleinschmidt
e183bab6c5
Pass along verbose mode
2018-09-28 15:37:11 -04:00
Samuel Attard
b42493e6e6
test: guarantee the order of webview and devtools creation ( #14849 )
2018-09-28 12:34:57 -07:00
John Kleinschmidt
fda4112168
ci: fix windows symbol gen
2018-09-28 13:24:00 -04:00
Samuel Attard
78239ff0ad
chore: add python env to zip-symbols script
2018-09-29 02:10:42 +12:00
Samuel Attard
24576fd0f1
Revert "Bump v4.0.0-nightly.20180927"
...
This reverts commit 40bc4afcb3 .
2018-09-29 00:04:19 +12:00
Troy
0e1365fc94
fix: enable key accelerator flags for Windows and Linux ( #14830 )
...
* Fix Accelerator Flags for Windows and Linux
* Lint fix
* Lint whitespace
2018-09-28 06:59:00 -05:00
Electron Bot
40bc4afcb3
Bump v4.0.0-nightly.20180927
2018-09-27 23:51:02 -07:00
Samuel Attard
ff364901e1
chore: use get_electron_branding instead of electron_gyp in the symbol zip generator
2018-09-28 16:48:09 +10:00
Samuel Attard
462d65c203
Revert "Bump v4.0.0-nightly.20180927"
...
This reverts commit 8c1d6f2aa2 .
2018-09-28 16:47:41 +10:00
Electron Bot
8c1d6f2aa2
Bump v4.0.0-nightly.20180927
2018-09-27 23:01:31 -07:00
Samuel Attard
46932913d1
chore: dont tag libcc when it does not exist in GN build
2018-09-28 15:58:54 +10:00
Samuel Attard
b0b9ebd448
chore: fix path to dump_syms in the windows breakpad tool
2018-09-28 15:57:16 +10:00
Samuel Attard
27d363015b
chore: make zip-symbols executable
2018-09-28 15:35:30 +10:00
Samuel Attard
3006974106
Revert "Bump v4.0.0-nightly.20180927"
...
This reverts commit 06aaf71706 .
2018-09-28 15:34:47 +10:00
Electron Bot
06aaf71706
Bump v4.0.0-nightly.20180927
2018-09-27 21:03:47 -07:00
Samuel Attard
0a4ddf4512
chore: ensure the bump-version script modified the version.h file correctly
2018-09-28 13:58:48 +10:00
Samuel Attard
d51633e598
Revert "Bump v4.0.0-nightly.20180927"
...
This reverts commit c48306c80f .
2018-09-28 13:57:04 +10:00
Electron Bot
c48306c80f
Bump v4.0.0-nightly.20180927
2018-09-27 20:22:40 -07:00
Samuel Attard
e86298d5d9
chore: fix relative links in docs and enforce we dont break them again ( #14832 )
2018-09-28 13:16:38 +10:00
Samuel Attard
46141b8283
chore: initial work for running releases of GN build - Merge pull request #14831 from electron/prepare-for-4-nightlies
2018-09-28 13:06:48 +10:00
Samuel Attard
a524c5ec12
chore: move the view APIs to their own directory ( #14722 )
...
* chore: move the view APIs to their own directory
* move view api cpp files
2018-09-28 12:47:09 +10:00
Samuel Attard
37f405859f
chore: fix out_dir usage in upload-symbols.py
2018-09-28 11:24:50 +10:00
Samuel Attard
55765424f9
chore: fix test command in docs
2018-09-28 11:19:00 +10:00
John Kleinschmidt
8df703a13b
Update mksnapshot uploads
2018-09-28 11:18:25 +10:00
Shelley Vohr
e66a5f79a2
updating directories and related functions
2018-09-28 11:18:06 +10:00
John Kleinschmidt
1c728876e6
Fix yaml issue
2018-09-28 11:17:11 +10:00
John Kleinschmidt
3643ce5f85
Add publish jobs for CircleCI releases
2018-09-28 11:17:11 +10:00
Samuel Attard
cba749e305
chore: fix appveyor deploy working dir
2018-09-28 11:17:11 +10:00
Samuel Attard
d0691dffdf
chore: remove serve-node-headers.py, unused in new testing setup and points at old out_dir
2018-09-28 11:17:11 +10:00
Samuel Attard
85464c5b46
chore: ensure boto is initialized so that s3put works
2018-09-28 11:17:11 +10:00
Samuel Attard
c1705f2789
chore: fix out_dir usage in upload-node-headers.py
2018-09-28 11:17:11 +10:00
Samuel Attard
363cf1dec2
chore: fix out_dir usage in upload-node-checksums.py
2018-09-28 11:16:38 +10:00
Samuel Attard
504581e308
chore: fix out_dir usage in upload-index-json.py
2018-09-28 11:16:38 +10:00
Samuel Attard
2adb44a402
chore: remove unused files to simply out_dir replacements
2018-09-28 11:16:37 +10:00
Samuel Attard
4b0f335aba
chore: initial work for running releases of GN build
2018-09-28 11:15:46 +10:00
Jeremy Apthorp
77fb9cf416
chore: stop using electron.gyp for branding and version ( #14559 )
...
* chore: stop using electron.gyp for version info
* chore: remove branding info from electron.gyp
* Use get_electron_branding instead of gn read
* Flip project_name/product_name
2018-09-27 14:53:08 -04:00
Samuel Attard
6be69048e6
fix: handle shortcuts by default if no WebPreferences object exists ( #14766 )
...
DevTools webcontents do not have webpreferences
Fixes #14685
2018-09-28 01:41:09 +10:00
Samuel Attard
0d2a0c7583
feat: add APIs to support mojave dark modes ( #14755 )
...
* feat: add APIs to support mojave dark mode
Closes #13387
* docs: fix system-prefs typo
2018-09-27 10:33:31 -05:00
Alexey Kuzmin
8963529238
ci: run unittests and browsertests separately ( #14826 )
2018-09-27 11:29:27 -04:00
Nitish Sakhawalkar
5c108728d6
feat: Implementation of getGPUInfo API. ( #13486 )
...
* Implementation of getGPUInfo API.
* Clear promise set
* Changes to promise usage
* Minor fixes
* Fix linux build
* Update spec
* Fix lint (linter didn't run on windows locally)
* Test running single test for CI
* Update spec
2018-09-28 00:59:23 +10:00
Alexey Kuzmin
638311b6b3
build: turn on OSR for GN builds ( #14352 )
...
* build: turn on OSR for GN builds
* remove mac-only speech functions in osr
They were removed as a part of https://chromium-review.googlesource.com/c/chromium/src/+/923548
* implement WasResized in MacHelper
* add missing screen include
* fix: use proper bitmap operations to construct frame to avoid failing checks
* switch to SkCanvas for drawing
2018-09-27 09:32:31 -04:00
Samuel Attard
131b19403f
chore: upload node.lib for v4 ( #14829 )
...
Closes #14828
2018-09-27 08:38:41 -04:00
Samuel Attard
7dc7cd1d89
fix: send null in debugger callback when no error ( #14814 )
...
Fixes #13811
2018-09-27 17:43:45 +10:00
Shelley Vohr
985d35fc1c
fix: update deprecated NSWindow masks ( #14760 )
2018-09-26 16:00:57 -07:00
Shelley Vohr
be2c27d5b8
correct key code reqs for accel doc ( #14823 )
2018-09-26 15:03:55 -07:00
John Kleinschmidt
1b4d425876
build: Generate breakpad symbols for GN release builds ( #14791 )
...
* Use chromium 's generate_breakpad_symbols.py
* Add breakpad symbol gen to CI.
2018-09-26 14:56:05 -04:00
Samuel Attard
49f9019007
chore: check in the changes to package-lock.json ( #14815 )
2018-09-26 21:03:43 +10:00
Milan Burda
b499d57cfd
refactor: use error-utils for remote exception serialization / deserialization ( #14788 )
...
* refactor: use error-utils for remote exception serialization / deserialization
* fix internal process.type in sandboxed renderer
2018-09-26 15:44:55 +10:00
Milan Burda
3df739fa89
refactor: implement crashReporter.start() without the remote module ( #14434 )
2018-09-26 15:43:34 +10:00
Troy
560b1c17af
fix: setMaximizable to be true if window is resizable & maximizable ( #14648 )
...
* setMaximizable to be true if window is resizable & maximizable
* Fix linting
* Add regressive test to verify maxmizable state
* Leaves maximizable state of window alone if setResizable is called
* Fix exclusive test
* Fix crashing text
* SetMaximizable unconditionally
* Remember former maximizable state
* Fix accidental mac variable deletion
* Logic modification
* Lint
* Remove unneeded test
* Remove unneeded variable since only Windows is effect
2018-09-26 11:41:40 +10:00
Shelley Vohr
c9bc3471e7
fix: get background color from GtkMenuBar#menubar ( #14785 )
...
* fix: get background color from GtkMenuBar#menubar
* expose libgtkui::GetBgColor
2018-09-25 13:57:06 -07:00
Jeremy Apthorp
18c2574350
ci: migrate libcc's Dockerfile to electron and update it ( #14786 )
...
* ci: migrate libcc's Dockerfile to electron and update it
* Added nano and sudo
* Use new docker image in CircleCi
* installing nodejs needs curl
* Add needed dependencies
nacl contains dependencies needed for arm and ia32 builds
2018-09-25 15:30:22 -04:00
Shelley Vohr
c73a6906f6
chore: fix compilation with XCode 10 ( #14800 )
...
* chore: fix compilation with XCode 10
* update chromium commit ref
2018-09-25 10:42:13 -07:00
Jeremy Apthorp
442f05dfe7
chore: force patches to be checked out with LF line endings ( #14789 )
2018-09-26 02:04:32 +12:00
Alexey Kuzmin
c5fa7b8043
ci: add a branch name to Slack notifications ( #14793 )
2018-09-25 09:59:39 -04:00
Shelley Vohr
2617f50b7d
chore: update mksnapshot and ffmpeg for GN ( #14738 )
...
* chore: update mksnapshot and ffmpeg for GN
* fix typo
* add non-native builds to CI
* split mksnapshot build and store steps
* Fix config order
* Use different targets for mksnapshot and native_mksnapshot
mksnapshot gets built in electron_app as part of the v8 build, so copy it from there
* Revert "Use different targets for mksnapshot and native_mksnapshot"
This reverts commit 6a1a50aa69 .
* Try specifying v8_snapshot_toolchain
* Fix v8_snapshot_toolchain reference
* Fix artifact locations
* Test native mksnapshot
2018-09-24 21:48:49 -04:00
Shelley Vohr
c7b91acf41
fix: inconsistent titleBarStyle on transparent fullscreen ( #14765 )
2018-09-24 17:15:18 -07:00
Samuel Attard
50a4a8e9c3
spec: add test for syncronous access to blink APIs ( #14637 )
...
This test should ensure we catch a regression of #13787
2018-09-25 10:40:15 +12:00
Alexey Kuzmin
e6242d5ef8
ci: do not suppress stdout from Google Test binaries ( #14782 )
2018-09-24 13:47:06 -07:00
Shelley Vohr
e9549a89bb
docs: update releasing info ( #14675 )
...
* docs: update releasing info
* update more release and upload files
* address feedback from review
2018-09-24 09:12:16 -07:00
Shelley Vohr
2bcc86dac7
docs: clarify allowable background colors for BrowserWindow transparency ( #14762 )
...
* docs: clarify allowable colors for transparency
* fix alpha value specification
2018-09-24 10:51:01 -05:00
Jeremy Apthorp
335caef9ad
fix: support macos 10.14 SDK ( #14758 )
...
* support macos 10.14 SDK
* forward-declare NSUserActivityRestoring for backwards compatibility
* that didn't work, let's resort to #ifdef
2018-09-24 10:41:17 -04:00
Alexey Kuzmin
8a1ff7ca49
ci: run native tests on CircleCI ( #14774 )
...
* test: add a script to run Google Test binaries
* ci: run native tests on CircleCI
2018-09-24 09:44:18 -04:00
John Kleinschmidt
b3e469fa98
Merge pull request #14708 from electron/updates-for-gn-release
...
build: Updates for GN release builds
2018-09-24 09:36:57 -04:00
Alexey Kuzmin
0e3b2d92d7
ci: fix pattern for the Chromium branches names for CircleCI ( #14769 )
...
https://circleci.com/docs/2.0/workflows/#using-regular-expressions-to-filter-tags-and-branches
2018-09-23 10:19:43 -07:00
Samuel Attard
176a76217c
chore: have 'use strict' consistently across our lib files ( #14721 )
2018-09-23 00:28:50 +12:00
John Kleinschmidt
70fb89e201
No longer need to filter out resources dir
...
Also remove not needed change
2018-09-21 21:29:55 -04:00
John Kleinschmidt
a82c4923bd
Make sure resources gets skipped
2018-09-21 16:58:33 -04:00
John Kleinschmidt
806e236850
Revert to one job instead of two
...
Splitting into build and test jobs is slower and we can set individual timeouts on the test steps.
2018-09-21 16:54:24 -04:00
Jeremy Apthorp
0a621bfea1
chore: move crashpad patch to chromium dir ( #14744 )
...
third_party/crashpad is not a DEP, it's actually checked into the chromium tree
2018-09-21 13:02:35 -07:00
John Kleinschmidt
334fea3d7b
Remove broken symlinks from buildtools before saving it to artifacts
2018-09-21 15:37:52 -04:00
John Kleinschmidt
e85ea5dcff
Add buildtools to artifacts needed for testing
...
Also remove not needed change
2018-09-21 14:22:32 -04:00
John Kleinschmidt
bfaf3f458f
Make killall Electron more friendly
2018-09-21 13:14:01 -04:00
John Kleinschmidt
96ec3e9162
Split build and test into separate jobs
...
Also clean from review
2018-09-21 13:14:01 -04:00
John Kleinschmidt
62172dee6c
Add electron_chromedriver_zip target
2018-09-21 13:13:52 -04:00
John Kleinschmidt
e367aff8ac
Cleaned up/fixed skip_path with @nornagon's suggestion.
...
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
2018-09-21 13:12:26 -04:00
John Kleinschmidt
3154275d2f
Add verify ffmpeg back to CircleCI builds
2018-09-21 13:12:26 -04:00
John Kleinschmidt
e78d84165a
Add chromedriver to build
...
Make sure certain paths/files don't make it into the dist zip
Don't build the content shell test_runner
Make sure libffmpeg.dylib gets put in the right place
Run verify-ffmpeg on Mac builds
Add ffmpeg build to VSTS
2018-09-21 13:12:26 -04:00
John Kleinschmidt
5317c2754f
Merge pull request #14754 from electron/circle-ci-config-clean-up
...
ci: clean up the CircleCI config
2018-09-21 10:44:05 -04:00
Aleksei Kuzmin
0b560607f7
ci: run nightly builds for Chromium upgrade branches
2018-09-21 12:25:20 +02:00
Aleksei Kuzmin
499fc48ccf
ci: clean up the CircleCI config
2018-09-21 12:25:08 +02:00
Samuel Attard
32a9df2940
refactor: clean up the default app implementation ( #14719 )
...
* Disable nodeIntegration
* Enable contextIsolation
* Re-implement the CSP security check to handle running in
contextIsolation
* Disable bad DCHECKS for the promise helper
* Remove the unused "-d" flag for the electron binary
* Added a way to hide the default help output for electron devs who
don't want to see it every time
2018-09-21 15:24:42 +10:00
Sylvester Keil
a24307b8e8
Fix second-instance handler signature ( #14731 )
2018-09-20 20:02:28 -07:00
Alexey Kuzmin
d927501139
ci: build mksnapshot in a separate job ( #14741 )
2018-09-20 17:50:14 -07:00
Jeremy Apthorp
2538e20c4d
test: inherit stdio when 'npm install'ing spec deps ( #14740 )
2018-09-20 13:43:33 -07:00
John Kleinschmidt
76cd065291
ci:Make sure that tests on VSTS get marked as failed if they fail ( #14734 )
2018-09-20 14:21:09 -05:00
Shelley Vohr
7b8daaab67
chore: add ffmpeg dist zip ( #14681 )
2018-09-20 11:10:10 -07:00
Cheng Zhao
6f494b3c58
fix: do not set layer explicitly for frameless window ( #14730 )
2018-09-20 12:24:55 -05:00
John Kleinschmidt
1d20057df3
Merge pull request #14733 from electron/reenable-app-exit-exitCode
...
test: reenable app module > app.exit(exitCode) > closes all windows
2018-09-20 11:15:34 -04:00
John Kleinschmidt
d82cd7b3c7
Merge pull request #14729 from electron/verify-ffmpeg-on-a-separate-job
...
ci: build ffmpeg and verify it in a separate jobs
2018-09-20 11:14:57 -04:00
Aleksei Kuzmin
c75537b0bc
ci: build ffmpeg and verify it in a separate jobs
...
- it is an independent task and should be done separately
- we can use smaller machines for that
2018-09-20 15:52:22 +02:00
John Kleinschmidt
080d499053
Merge pull request #14712 from electron/circle-no-map-merge
...
ci: [circle] don't use map merge key (<<) where unneeded
2018-09-20 09:50:06 -04:00
John Kleinschmidt
8854d9872c
test: reenable app moduele > app.exit(exitCode) > closes all windows
2018-09-20 09:32:02 -04:00
Samuel Attard
5541cab1ba
docs: type the promises in our docs ( #14715 )
2018-09-20 22:37:56 +10:00
Samuel Attard
6b50dc8745
docs: add python-dbusmock to the linux requirements ( #14727 )
...
Refs #14726
2018-09-20 21:41:00 +10:00
Charles Kerr
1b3fdb18e3
fix: change subprocess.Popen calls to work on Linux too ( #14689 )
...
* fix: remove 'shell=True' when calling 'git diff'
Calling subprocess.Popen() with a list of args and shell=True causes
the args to be ignored, so ['git', 'diff', '--name-only', '--staged']
was turning into just 'git'. Instead of getting a list of changed
files, we got the --help message.
Two possible fixes: change it from a list to a single string, or remove
'shell=True'. The shell doesn't seem to be needed, so I chose that.
More reading: https://stackoverflow.com/questions/26417658/subprocess-call-arguments-ignored-when-using-shell-true-w-list
* fix: remove 'shell=True' when calling clang-format
Same problem / rationale as previous commit.
* fix: re-add shell=True for win; use different fix
2018-09-20 16:57:21 +10:00
Jeremy Apthorp
977e287cfa
chore: turn off clang-format for ATOM_PRE_RELEASE_VERSION ( #14711 )
2018-09-20 16:55:07 +10:00
Samuel Attard
82a5a9f455
chore: ignore spec/node_modules from linting ( #14717 )
2018-09-20 15:41:01 +10:00
Samuel Attard
54ef906832
[RFC] perf: use an internal module resolver to improve require performance ( #14633 )
...
* perf: use an internal module resolver instead of relative requires
* perf: memoize the results of getting exported Electron properties
* perf: make internal module changes consistent across sandboxed / bundled files
2018-09-20 13:43:26 +10:00
Jeremy Apthorp
e390d611df
ci: [circle] don't use map merge key (<<) where unneeded
2018-09-19 16:06:19 -07:00
Jeremy Apthorp
73d1b76b54
test: runas is not an optional dependency ( #14704 )
2018-09-19 15:59:37 -07:00
John Kleinschmidt
e059f303d7
Merge pull request #14526 from jakubzitny/window-open-clarifications
...
docs: specify BrowserWindow features passable to window.open
2018-09-19 15:05:10 -04:00
John Kleinschmidt
b48ea70eeb
Merge pull request #14688 from electron/run-clang-format
...
chore: run clang-format
2018-09-19 14:27:21 -04:00
John Kleinschmidt
4f70f0e66a
Merge pull request #14690 from electron/lint-runner-support-cc-fix
...
Lint runner support cc fix
2018-09-19 14:26:57 -04:00
Jeremy Apthorp
b8a8bf82ac
docs: update "upgrading node" guide ( #14649 )
...
I think there's more to do here, and I'll continue to add to & update this documentation as I go through the process of upgrading node in the context of the GN build.
2018-09-19 11:08:39 -07:00
John Kleinschmidt
0e91db2188
Merge pull request #14672 from electron/use-smaller-machines-on-linux-ci
...
ci: use smaller size machines for some Linux CI jobs
2018-09-19 13:51:58 -04:00
John Kleinschmidt
a6e3466a62
Merge pull request #14686 from electron/refactor-circle-ci-mac-builds
...
ci: refactor Mac builds on CircleCI
2018-09-19 13:50:04 -04:00
Shelley Vohr
c958ed6a85
chore: fix await in cleanup script ( #14670 )
2018-09-19 09:38:35 -07:00
Jeremy Apthorp
1b165c2c39
chore: remove vendored depot_tools ( #14676 )
...
The GN build now requires that users install depot_tools to their path, rendering our vendored version obsolete.
2018-09-19 09:37:38 -07:00
Aleksei Kuzmin
7fc3bcaa02
chore: run clang-format
...
- atom/
- brightray/
- chromium_src/
2018-09-19 17:18:10 +02:00
Charles Kerr
03553abc11
feat: use run-clang-format in cc --fix mode
2018-09-19 08:42:03 -05:00
Charles Kerr
1988c6876d
refactor: use same diff args as run-clang-format
2018-09-19 08:40:57 -05:00
Aleksei Kuzmin
2f0f88e60a
ci: do not run verify-ffmpeg on Mac on CircleCI
2018-09-19 15:18:35 +02:00
Aleksei Kuzmin
be2bcbef42
ci: refactor Mac builds on CircleCI
2018-09-19 15:18:35 +02:00
Sofia Nguy
ec125b761c
chore: AFP info for general public ( #14650 )
...
* migrate AFP info from maintainers
* wording changes
* capitalize headers
* move to docs and delete details
* review changes
2018-09-18 13:13:49 -05:00
Robo
b05bce1686
build: with enable_extensions=false ( #14657 )
2018-09-18 11:04:54 -07:00
Milan Burda
e22142ef9c
feat: add process.takeHeapSnapshot() / webContents.takeHeapSnapshot() ( #14456 )
2018-09-18 11:00:31 -07:00
Aleksei Kuzmin
8664adaea4
ci: use smaller size machines for some Linux CI jobs
...
- use "medium" machines for testing jobs
- keep "2xlarge" for checkout and compilation
2018-09-18 18:30:01 +02:00
John Kleinschmidt
1855144d26
Merge pull request #14663 from electron/add-fyi-job-for-chromium-tests
...
ci: add a FYI job to build Chromium test binaries
2018-09-18 10:14:58 -04:00
Samuel Attard
7f7ec23c28
chore: dont pass --stable through to bump-version.py ( #14661 )
...
I want to clean up this "stable" and "beta" code smell eventually but
for now this will unblock the 2.0.x releases.
2018-09-18 23:32:49 +10:00
Aleksei Kuzmin
6b6c1d0c0c
ci: add a FYI job to build Chromium test binaries
2018-09-18 14:01:20 +02:00
Charles Kerr
eeeeae3bff
refactor: use one script to launch all linters ( #14622 )
...
* refactor: use one script to launch py, js, cc linters
* lint changed files as precommit hook
* fix py linter in GN build
* add overlooked files to linter search path
2018-09-17 16:09:02 -05:00
John Kleinschmidt
ab47ad7bbc
Merge pull request #14640 from electron/circle-ci-workspaces
...
ci: use CircleCI workspaces
2018-09-17 12:36:18 -04:00
Aleksei Kuzmin
a0dd5f03a8
ci: use CircleCI workspaces
2018-09-17 17:39:18 +02:00
Shelley Vohr
12a435273d
fix: quit properly in simpleFullScreen mode ( #14620 )
2018-09-16 22:22:09 -07:00
Charles Kerr
a45ded5508
chore: fix python lint warnings ( #14638 )
...
* chore: fix lint warnings
* chore: another try at python import errors
Looks like the problem is that dbus_mock.py is running as
a script but living in the `lib/` directory where it's part of a
module. Moving it up into the `script/` directory seems to
solve the issue.
2018-09-16 12:24:07 -05:00
Samuel Attard
6d01952e66
chore: replace standard with eslint-config-standard and add custom rules ( #14636 )
...
* chore: replace standard with eslint-config-standard
This adds support for --cache so linting JS only takes ~1 second and only lints things that changed
It also allows us to add custom linting rules
* chore: add eslint-plugin-mocha and enable the no-exclusive-tests rule
This will block anyone from pushing / merging a `.only` test or describe
2018-09-16 03:51:23 +10:00
Samuel Attard
7065093869
feat: add will-redirect ( #13866 )
...
* feat: add will-redirect to allow people to prevent 30X redirects
* spec: add tests for the will-redirect event
* refactor: implement will-redirect using NavigationThrottle instead of PostTask
This avoids a potential race condition and immediately cancels the
navigation
* docs: add docs for did-redirect-navigation
* refactor: move AtomNavigationThrottle out of net folder
* refactor: update header guard for atom_navigation_throttle.h
* refactor: fix chromium style errors in the GN build
* refactor: update throttle impl to NOTREACHED and std::make_unqique
2018-09-16 01:42:43 +10:00
Samuel Attard
6ad8583a8b
chore: remove --version from "create-api-json" ( #14634 )
...
The variable already defaults to this value and this `$` syntax does not work cross platform
Closes #13462
2018-09-16 01:40:20 +10:00
Robo
66ced07545
build: update electron patches ( #14623 )
...
* build: remove common/icu/no_inline_default_constructor.patch
It was added in https://github.com/electron/libchromiumcontent/pull/207 ,
the issue is no longer valid in the GN build.
* build: remove common/icu/build_gn.patch
In GN release build all code including node are linked
statically in a single binary, the workaround is no longer valid.
* build: remove ununsed patches
* build: remove is_electron_gn_build arg
* build: remove component mode crt config patch
* build: remove executable config patch for character_data_generator
* build: remove latency_info.patch
* build: remove exec_script_whitelist patch
* build: update patches/common/v8/build_gn.patch
* build: remove common/chromium/fix-arm64-linking-error.patch
It was added in a1df18ca36
to workaround a linker issue.
* build: remove common/chromium/protobuf_build_gn.patch
It was added to workaround a VS linker bug, it has been fixed
in Update 1
* build: remove common/chromium/disable-recursive-surface-sync.patch
It was added in 6bc6626e2c
to fix dcheck on macOS, it no longer appears to be an issue.
2018-09-15 06:40:18 -05:00
Alexey Kuzmin
0ea687b529
chore: copy script/patch.py from the libcc repo ( #14627 )
...
* chore: copy script/patch.py from the libcc repo
* chore: fix pylint errors
2018-09-14 15:12:05 -07:00
Alexey Kuzmin
a314a15ecd
tests: fix compilation of blink_unittests ( #14574 )
2018-09-14 15:11:26 -07:00
John Kleinschmidt
838b26ee26
ci: Move Mac builds to Azure Devops (VSTS) ( #14588 )
...
* Add support for multiple mocha reporters
Allows us to output to junit file and to console at the same time
* Cleanup VSTS file
Don't install depot_tools everytime as it is already installed.
Only run tests if "RUN_TESTS" environment variable is set
Only notify slack if "NOTIFY_SLACK" environment variable is set
Don't use sccache for release builds
Move CircleCI mac builds to VSTS
* Only build mac PRS from forks
Don't install depot_tools everytime as it is already installed.
Only run tests if "RUN_TESTS" environment variable is set
Only notify slack if "NOTIFY_SLACK" environment variable is set
Don't use sccache for release builds
Move CircleCI mac builds to VSTS
Use sccache helper script
* rename vsts-gn.yml to vsts.yml
Make sure Electron isn't running before starting tests
2018-09-14 11:56:16 -07:00
John Kleinschmidt
451b1782ac
Merge pull request #14613 from electron/update-standard
...
chore: update to standard 12 and fix CI
2018-09-14 10:26:15 -04:00
Samuel Attard
dc2a6c5d71
spec: fix crashReporter upload assertions
2018-09-14 22:23:58 +10:00
Samuel Attard
40f0f049a2
spec: fix final node and chromium specs after assert change
2018-09-14 18:32:17 +10:00
Samuel Attard
91f00a518a
ci: fix CI runs after 9e85bdb0
2018-09-14 17:50:03 +10:00
Samuel Attard
4bcc08826b
spec: fix headers tests to match APIs
2018-09-14 17:05:26 +10:00
Samuel Attard
9e59d2a78d
spec: fix broken remote specs
2018-09-14 16:57:39 +10:00
Samuel Attard
3487bbe356
spec: handle null prototypes in specs
2018-09-14 16:47:54 +10:00
Samuel Attard
21aa28d60f
refactor: s/resolverGetters/resolveGetters
2018-09-14 16:41:21 +10:00
Samuel Attard
5c8c31c93d
spec: update 'BrowserWindow.fromBrowserView(browserView) returns undefined if not attached - returns undefined if not attached' to match docs (null not undefined)
2018-09-14 16:38:44 +10:00
Samuel Attard
91cc453ccc
spec: add helper to resolve property getters
2018-09-14 16:36:23 +10:00
Jeremy Apthorp
76c5f5cc8a
build: move libcc patches to electron repo ( #14104 )
...
In the GN build, libchromiumcontent is no longer a distinct library, but
merely a container for a set of scripts and patches. Maintaining those
patches in a separate repository is tedious and error-prone, so merge
them into the main repo.
Once this is merged and GN is the default way to build Electron, the
libchromiumcontent repository can be archived.
2018-09-13 22:02:16 -07:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Jeremy Apthorp
9e85bdb02c
docs: prefer out/Debug to out/Default in build docs
2018-09-13 15:08:31 -07:00
Samuel Attard
238ea29fa8
chore: update package.json scripts for gn build and automated releases ( #14612 )
...
* Removes un-used and non-functional code coverage helpers
* Removes un-used release script aliases
* Moves TLS to a lib folder for cleaner directory structure
* Implements start.py as start.js for the GN build
* Adds a re-usable getElectronExec helper for future scripts
* Refactors spec runner to use the helper
2018-09-14 02:57:39 +10:00
Samuel Attard
774395d910
chore: dont install spec deps on sync needlessly ( #14614 )
...
We run install for testing only when required anyway
2018-09-14 02:51:21 +10:00
Jeremy Apthorp
961147151f
fix: re-enable high-dpi support on windows ( #14596 )
...
fixes #14568
2018-09-13 10:40:29 -05:00
Samuel Attard
22ab85c39e
chore: update request dep to remove warning about cryptiles ( #14610 )
2018-09-14 01:35:18 +10:00
Samuel Attard
05783d56f7
chore: make the 'npm run test' command work out of the box ( #14602 )
2018-09-14 01:30:12 +10:00
John Kleinschmidt
429b18d7a0
Merge pull request #14600 from electron/media-permission
...
feat: add mediaTypes to media permission requests
2018-09-13 10:39:08 -04:00
Samuel Attard
8cb449b5e1
chore: fix linting error on master ( #14609 )
2018-09-14 00:28:47 +10:00
Samuel Attard
73a1a8b3f0
feat: automatically round numbers that are converted to points ( #14604 )
...
Fixes #14490
2018-09-13 08:28:56 -05:00
Alexey Kuzmin
7d7401987a
chore: generate API definitions in the project root ( #14578 )
...
'out' folder doesn't exist in a freshly cloned repo,
and there are not reasons to use it anyway.
2018-09-13 08:08:08 -05:00
Samuel Attard
4aa75c2b30
chore: update package-lock.json when bumping package.json ( #14599 )
2018-09-13 17:04:39 +10:00
Samuel Attard
7025cbd0c9
feat: add mediaTypes to media permission requests
...
This is done to be consistent with setPermissionCheckHandler and to be
backwards compatible
Fixes #14168
2018-09-13 16:58:57 +10:00
Samuel Attard
a55fd16349
fix: update node ref to fix patch handling unhandled rejections ( #14603 )
...
Fixes #14573
2018-09-13 16:32:49 +10:00
Robo
d9c6dd0254
chore: add debugger specs for multiple sessions ( #14598 )
2018-09-13 16:32:30 +10:00
Charles Kerr
d663b4eaee
fix: fix gn cpplint warnings ( #14583 )
...
* chore: fix cpplint 'include_what_you_use' warnings
Typically by including <memory>, <utility> etc.
* chore: fix 'static/global string constant' warning
Use C style strings instead of std::string.
Style guide forbids non-trivial static / global variables. https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
/home/charles/electron/electron-gn/src/electron/script/cpplint.js
* refactor: remove global string variables.
Fix 'global string variables are not permitted' linter warnings
by using the base::NoDestructor<> wrapper to make it explicit that
these variables are never destroyed.
The style guide's take on globals with nontrivial destructors:
https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
* fix: initializer error introduced in last commit
* fix: remove WIP file that was included by accident
* fix: include order
* fix: include order
* fix: include order
* fix: include order, again
2018-09-12 19:25:56 -05:00
Jeremy Apthorp
183a043216
chore: remove unneeded ssize_t hack
...
See electron/libchromiumcontent#682
2018-09-12 15:33:59 -07:00
Charles Kerr
a3f7e298cf
refactor: remove unused, duplicated code in deprecate module ( #14579 )
...
* remove obsolete tests
* remove unused deprecate API
* make a warnOnce helper for the deprecate methods
* misc. copyediting, e.g. variable names, whitespace
* test that any deprecation warns once at most
* use strict
2018-09-12 17:13:22 -05:00
Jeremy Apthorp
d78a2a110a
Merge pull request #14590 from electron/remove-gn-build-define
...
chore: remove ELECTRON_GN_BUILD define
2018-09-12 14:04:33 -07:00
Nitish Sakhawalkar
e90c281ef3
fix: Windows Background color issue ( #14561 )
...
Call InvalidateRect for windows after setting the bg color
2018-09-12 13:41:47 -07:00
Charles Kerr
7b71d7cbce
feat: run 'cpplint -c' as a precommit hook ( #14586 )
...
* feat: `cpplint -c` all changed files, even staged
* refactor: simplify cpplint invocation
* fix: cpplint now EXIT_FAILUREs on linter errors
* feat: precommit hook runs 'cpplint -c'
2018-09-12 14:43:54 -05:00
Jeremy Apthorp
784c06c784
chore: remove unsupported DISABLE_NACL define
2018-09-12 12:09:41 -07:00
Robo
e860748d6b
fix: Invalidate weak ptrs before window Javascript object is destroyed ( #14532 )
...
* fix: Invalidate weak ptrs before window Javascript object is destroyed
* chore: add regression test for #14513
This test is similar to the original gist at https://gist.github.com/bpasero/a02a645e11f4946dcca1331d0299149d -- the key is to open multiple windows and add an `app.on('browser-window-focus') listener that accesses window.id.
* fix: last commit didn't test the right thing.
The test needs to run in the main process to reproduce the
conditions reported in #14513
2018-09-12 13:58:04 -05:00
Jeremy Apthorp
147d5f0dd9
chore: remove ELECTRON_GN_BUILD define
2018-09-12 11:47:16 -07:00
Charles Kerr
4b5cb7c548
fix: cpplint didn't work in GN ( #14581 )
...
* fix: cpplint didn't work in GN
* feat: make cpplint non-errors less noisy
* refactor: remove unneeded findCppLint helper
We don't need this in the GN world: it's the user's responsibility
to have depot_tools in their path.
* refactor: use const instead of let where possible
2018-09-12 12:44:00 -05:00
John Kleinschmidt
1682170d3d
Merge pull request #14575 from electron/do-not-use-libcc-in-ci-scripts
...
ci: do not use scripts and binaries from the libcc repo
2018-09-12 12:23:49 -04:00
John Kleinschmidt
b2f73efcff
Merge pull request #14553 from electron/appveyor-yml
...
ci: rename appveyor{-gn,}.yml
2018-09-12 11:02:43 -04:00
Milan Burda
932f6c8a41
feat: add screen reader support to Win32 toast notifications ( #13834 )
2018-09-13 00:18:35 +10:00
Jeremy Apthorp
cfcd008f02
ci: rename appveyor{-gn,}.yml
2018-09-12 09:50:58 -04:00
Robo
2cd03bf360
build: remove duplicate devtools sources ( #14522 )
...
* build: remove duplicate devtools sources
* build: create separate target for chrome sources
* Move sources that are always depended on by electron,
starting with security_state_tab_helper.{cc|h}
* Add //component/strings to pak for devtools security tab
* fix: allow specifying type of the added filesystem.
https://chromium-review.googlesource.com/c/chromium/src/+/729250
* fix: do not index excluded folders
https://chromium-review.googlesource.com/c/chromium/src/+/972579
2018-09-12 08:45:08 -05:00
Aleksei Kuzmin
45837af24a
ci: do not use scripts and binaries from the libcc repo
2018-09-12 13:08:17 +02:00
Samuel Attard
011c3b4326
chore: make large beta numbers work when publishing ( #14571 )
2018-09-12 17:59:06 +10:00
Shelley Vohr
a8a610cb34
chore: remove only on deprecations api spec ( #14564 )
...
* chore: remove only
* add option to ignore missing properties
2018-09-11 23:00:41 -07:00
Jeremy Apthorp
ebbaa4f89b
docs: simplify git cache instructions ( #14562 )
2018-09-12 12:06:55 +10:00
Jeremy Apthorp
b35c8e4e1e
docs: update instructions for building win32 target ( #14560 )
2018-09-12 12:05:51 +10:00
Jeremy Apthorp
f8828aa804
Merge pull request #13756 from electron/chromium-upgrade/67
...
chore: Chromium 67
2018-09-11 14:56:11 -07:00
azure-pipelines[bot]
2470bd4691
ci: set up a lint job ( #14536 )
2018-09-11 14:28:18 -07:00
Robo
f76a8c7b24
build: [m67] enable widevine support ( #14519 )
...
* build: [m67] enable widevine support
* fix: remove plugin cache reset hack
It was added in (#8907 ) to make widevine cdm shows up in
navigator.plugins, since widevine support is no longer
enabled by a plugin it can be removed safely.
2018-09-11 20:24:04 +02:00
Aleksei Kuzmin
ce8e93bad3
tests: ignore nulls and undefined in the "util.promisify" test
2018-09-11 20:24:04 +02:00
Aleksei Kuzmin
56f5d6f8fa
FIXME: tests: disable a "unhandledrejection" test of the remote module
2018-09-11 20:24:04 +02:00
deepak1556
ba0a1cc5e9
build: guard widevine related code behind flag
2018-09-11 20:24:04 +02:00
Aleksei Kuzmin
1ba7e36ade
ci: update Visual Studio version for AppVeyor
2018-09-11 20:24:04 +02:00
Jeremy Apthorp
917a905447
fix: force SharedArrayBuffer feature to be enabled ( #14498 )
2018-09-11 20:24:04 +02:00
Jeremy Apthorp
829b230b85
fix: initialize tracing controller before starting platform ( #14499 )
2018-09-11 20:24:03 +02:00
Aleksei Kuzmin
7589555cec
inspector: stop dragging platform pointer
...
https://github.com/nodejs/node/commit/296fd57324
2018-09-11 20:24:03 +02:00
deepak1556
11349ebf2e
build: //service/viz mojo interfaces for osr
...
(cherry picked from commit da2b2e7e4eb1fd8424c849d023d365619345735b)
2018-09-11 20:24:03 +02:00
Aleksei Kuzmin
9f6cf9623c
chore: fix a chromium-style error
...
osr_render_widget_host_view.cc:1150:12:
error: [chromium-style] auto variable type must not deduce to a raw pointer type.
(cherry picked from commit cc8e4ef68376627d20377ae3491df8e4f8dee08e)
2018-09-11 20:24:03 +02:00
Heilig Benedek
1a9e253259
fix: fix osr compilation on Windows
2018-09-11 20:24:03 +02:00
Aleksei Kuzmin
8bfad3ace3
build: use default value of the enable_widevine flag
2018-09-11 20:24:03 +02:00
Aleksei Kuzmin
186f8d14b5
gpu: Merge gpu_ipc_service_unittests into gpu_unittests
...
https://chromium-review.googlesource.com/976983
2018-09-11 20:24:03 +02:00
Aleksei Kuzmin
f6080b04ea
Update test targets paths for Blink
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
d80ee5153a
printing compiles on windows, but is explosively wrong
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
64e79ce2b1
//printing/features/features.gni moved to buildflags.gni
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
c6fbe5a7fe
Fix path to blink resources
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
9a296fc63e
Fix code triggering new -Wmicrosoft-cast warning in M67
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
5b25c2db5d
Need new #include for base::UTF8ToUTF16
2018-09-11 20:24:03 +02:00
deepak1556
63006aebe8
REVIEW: Delete WidgetDelegate before widget is destroyed.
...
Ideally widget delegates must outlive their widget, but since
we manage the lifetime of native widget, allow the delegate to
be destroyed when widget is destroyed.
https://chromium-review.googlesource.com/c/chromium/src/+/977244
2018-09-11 20:24:03 +02:00
deepak1556
9264a00dfd
Simplify EnsureProcessTerminated() implementations.
...
https://chromium-review.googlesource.com/c/chromium/src/+/920799
2018-09-11 20:24:03 +02:00
deepak1556
8da2bd43b8
Include the node header at the end to avoid collisions
2018-09-11 20:24:03 +02:00
Samuel Attard
cad1d9aa9c
Handle case where IO thread is not yet running, in C67 this results
...
in a hard crash
refs: https://chromium-review.googlesource.com/c/chromium/src/+/973556
2018-09-11 20:24:03 +02:00
Samuel Attard
0b2b44becf
Handle unknown symbols for media:: method
...
small implementation so instead of exposing with patch, copy impl
This will be fixed once we remove chromium_src as a thing from e/e
2018-09-11 20:24:03 +02:00
Samuel Attard
dc5c49ea7f
SetUserAgentOverride now takes a 2nd override_for_new_tabs argument
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/846713
2018-09-11 20:24:03 +02:00
Samuel Attard
b381e852b1
media: Stop registering CDM adapter as a pepper plugin
...
https://chromium-review.googlesource.com/956255
2018-09-11 20:24:03 +02:00
Samuel Attard
6e2bb728b9
Replace ProxyConfigSource with ProxyConfigWithAnnotation.
...
https://chromium-review.googlesource.com/c/chromium/src/+/934126
2018-09-11 20:24:03 +02:00
Samuel Attard
a0a4c7b82c
Implement GetPermissionStatusForFrame in AtomPermissionManager
...
Implenation and requirement comes from CR: https://chromium-review.googlesource.com/c/chromium/src/+/940744
2018-09-11 20:24:03 +02:00
Samuel Attard
8a6fccf3d1
[GURL] (1 of 2) Prep for stripping "username:password" from internal schemes
...
https://chromium-review.googlesource.com/c/chromium/src/+/978450
2018-09-11 20:24:03 +02:00
Samuel Attard
aa6d769229
Handle external protocols with the network service.
...
https://chromium-review.googlesource.com/c/chromium/src/+/956091
2018-09-11 20:24:03 +02:00
Samuel Attard
dde194d853
Remove the memory property from getAppMetrics
...
See 03d0bfd593 for more information
2018-09-11 20:24:03 +02:00
Samuel Attard
14df89f214
Remove the 'getProcessMemoryInfo' API
...
* Underlying APIs have been removed in Chromium
* https://chromium-review.googlesource.com/c/chromium/src/+/969089
* https://chromium-review.googlesource.com/c/chromium/src/+/953723
* https://bugs.chromium.org/p/chromium/issues/detail?id=819289
* https://github.com/electron/electron/projects/11#card-11509601
2018-09-11 20:21:32 +02:00
Aleksei Kuzmin
833b55107d
Plumb the RenderFrameHost through for CheckMediaAccessPermission
...
https://chromium-review.googlesource.com/938862
2018-09-11 20:21:32 +02:00
Aleksei Kuzmin
ca28b39d9c
Rename buildflag_headers for consistency
...
https://chromium-review.googlesource.com/975990
https://chromium-review.googlesource.com/c/chromium/src/+/988132
2018-09-11 20:21:32 +02:00
deepak1556
67f6e21bd2
No longer save the IO message loop in net::EnsureNSSHttpIOInit
...
https://chromium-review.googlesource.com/c/chromium/src/+/963762
2018-09-11 20:21:32 +02:00
deepak1556
ed045c10ee
Replace ProxyConfigSource with ProxyConfigWithAnnotation.
...
https://chromium-review.googlesource.com/c/chromium/src/+/934126
2018-09-11 20:21:32 +02:00
deepak1556
d15d08bad6
Improve ClearOnExit behavior of cookies using domain matching
...
https://chromium-review.googlesource.com/c/chromium/src/+/975861
2018-09-11 20:21:32 +02:00
deepak1556
400b23c5cb
Introduce additional Certificate Transparency preferences
...
https://chromium-review.googlesource.com/c/chromium/src/+/987513
2018-09-11 20:21:32 +02:00
Aleksei Kuzmin
0afebdc531
The Great Blink mv for source files, part 2.
...
https://chromium-review.googlesource.com/1001153
2018-09-11 20:21:32 +02:00
Aleksei Kuzmin
00423b06c6
Migrate BrowserThread::IsMessageLoopValid to BrowserThread::IsThreadInitialized.
...
https://chromium-review.googlesource.com/977063
2018-09-11 20:21:31 +02:00
Aleksei Kuzmin
7bd1b85d4e
Rename net/proxy_resolution/proxy_service* files
...
https://chromium-review.googlesource.com/941901
2018-09-11 20:21:31 +02:00
Aleksei Kuzmin
7c32524515
Use libcc based on Chromium 67.0.3396.99 and Node 10.6.0
2018-09-11 20:21:31 +02:00
Robo
14ed71fa1b
fix: use render client id to track deleted render process hosts ( #14520 )
...
* fix: use render client id to track deleted render process hosts
Instead of relying on OS process id, which may not be unique
when a process is reused, we rely on the renderer client id
passed by the content layer when starting the renderer process
which is guaranteed to be unique for the lifetime of the app.
* fix: store context id as int64_t
Ensuring that it doesn't wrap easily with a large number
of context creation on some malformed web pages.
2018-09-11 11:18:10 -07:00
Shelley Vohr
2157d09956
chore: refactor deprecation apis ( #14495 )
2018-09-11 11:16:49 -07:00
Jeremy Apthorp
3a6e88c0e7
ci: fix path to dist.zip on appveyor ( #14535 )
2018-09-11 09:38:41 -07:00
John Kleinschmidt
58fd76b6b5
Merge pull request #14546 from electron/fix-pylint-errors
...
chore: fix pylint errors
2018-09-11 10:30:34 -04:00
Aleksei Kuzmin
5ba01256a4
chore: fix pylint errors
2018-09-11 14:53:23 +02:00
Milan Burda
0821edc843
refactor: cleanup web-frame-init.js ( #14516 )
...
* refactor: add error-utils.js
* fix exception handling for asyncWebFrameMethods
* remove dead code
* handle exceptions
* rename rehydratedError to deserializedError
* Revert "handle exceptions"
This reverts commit 396b179948 .
2018-09-11 19:56:00 +10:00
Milan Burda
38419e3a6a
chore: address TODO for WebContents.prototype.setSize / reportRemovedAttribute removal ( #14517 )
...
* chore: remove WebContents.prototype.setSize
* chore: remove reportRemovedAttribute
* chore: remove unused fixtures
2018-09-11 17:58:57 +10:00
Jeremy Apthorp
f5aac36421
chore: rename circleci builds to remove -gn and -fyi ( #14531 )
2018-09-11 17:57:41 +10:00
Milan Burda
58577bd431
feat: add options to webContents.loadFile ( #14515 )
2018-09-11 17:56:49 +10:00
Jeremy Apthorp
7a766e82f9
chore: fix cpplint.js when LINTER_PATH doesn't exist ( #14537 )
2018-09-11 17:54:20 +10:00
Jeremy Apthorp
0ab95b76a7
docs: add note about origin URLs to GN build docs ( #14530 )
2018-09-10 12:31:41 -07:00
John Kleinschmidt
f44722d5d3
Merge pull request #14523 from electron/fix-webview-ignore-shortcuts
...
fix: read ignoreMenuShortcuts per WebContents
2018-09-10 12:04:44 -04:00
Jakub Žitný
3ab22c6164
docs: specify BrowserWindow features passable to window.open
2018-09-10 17:49:54 +02:00
Alexey Kuzmin
382afc03ae
chore: clean up asar stuff ( #14505 )
...
* chore: reformat code
* refactor: getOrCreateArchive() for ASARs
- store cached archive in a Map
- return `null` instead of `false` on failures
* refactor: splitPath() for ASARs
- store custom extension in a constant
- remove magic numbers
- add comments
* refactor: explicitly use assert() for a developer error
* chore: remove console.log() calls
* refactor: replace "p" arguments with "pathArgument"
"path" would be a better name, but it is already taken
but the "path" Node module.
* refactor: createError() for ASARs
- return an `Error` instance
- use enum for error types
- minor improvements
* refactor: use more meaningful name for an arg than just "arg"
2018-09-10 08:29:19 -07:00
John Kleinschmidt
2d2d1d2090
Merge pull request #14512 from electron/do-not-use-electron-gyp-for-verify-ffmpeg
...
refactor: do not use electron.gyp contents in the verify-ffmpeg script
2018-09-10 09:34:16 -04:00
Cheng Zhao
13334d023d
fix: read ignoreMenuShortcuts per WebContents
2018-09-10 19:06:16 +09:00
Milan Burda
dcd580b6cf
chore: remove app.makeSingleInstance / releaseSingleInstance ( #14518 )
2018-09-10 16:33:36 +10:00
Felix Rieseberg
f012ed8357
docs: Update menu-item with new position props ( #14465 )
...
* docs: Update menu-item with new position props
* 📦 Update electron-typescript-definitions
2018-09-09 20:03:58 -07:00
Aleksei Kuzmin
b16bf6a95d
ci: pass GN_EXTRA_ARGS to the ffmpeg build
...
Both Electron and ffmpeg should have
the same value of the `target_cpu` build flag.
2018-09-09 12:30:51 +02:00
Aleksei Kuzmin
57a4d86669
refactor: do not use electron.gyp contents in the verify-ffmpeg script
...
Also run verify ffmpeg with cmd instead of powershell
2018-09-09 12:30:51 +02:00
Aleksei Kuzmin
8e525f965d
build: add a helper script to retreive data from a GN project
2018-09-09 12:30:51 +02:00
Jeremy Apthorp
72526927d9
build: remove gyp build files ( #14097 )
...
* build: remove gyp build files
* docs: update build instructions
* build: temporary restore electron.gyp
* build: do not update Electron version in the electron.gyp
* chore: remove unused submodules
* ci: remove obsolete CI scripts and configs
* chore: remove obsolete scripts
* chore: remove obsolete functions from lib/util.py
* ci: send Slack notification for nightly build results
2018-09-09 10:15:32 +09:00
Alexey Kuzmin
98eee52fac
Revert "fix: re-enable power monitor test ( #14458 )" ( #14506 )
...
This reverts commit 567f8a7583 .
2018-09-08 19:37:19 -05:00
Shelley Vohr
2963e377ae
refactor: clean up asar functionality ( #14046 )
2018-09-07 19:23:47 -07:00
Roller Bot
edc6a854d4
chore: bump libcc (master) ( #14492 )
...
* chore: bump libcc submodule to f3a3f588281aba034a0f1f85ca3c65eb5a3f7b66
* chore: bump libcc in DEPS to f3a3f588281aba034a0f1f85ca3c65eb5a3f7b66
2018-09-08 09:09:20 +10:00
Charles Kerr
567f8a7583
fix: re-enable power monitor test ( #14458 )
...
* fix: re-enable power monitor test
* update test for correct return type
* fix: mocha 'after' hook of dbus powerMonitor test
2018-09-07 15:23:27 -07:00
Jeremy Apthorp
58e8c025eb
docs: expand on TODOs in BUILD.gn
2018-09-07 12:26:03 -07:00
Nitish Sakhawalkar
a2ab0d8ebe
fix: notify focus change right away rather not on next tick ( #14453 )
...
* fix: Notify focus change right away, not on next tick
* fix: emit the JS blur/focus events on next tick to avoid race condition
* address feedback from review
* fix: bind deferred Emit() calls to a WeakPtr
This is so that the deferred Emit() calls will be canceled
if the TopLevelWindow is destroyed.
* chore: remove wip/test code cruft
* fix: make linter happy
* Enable disabled tests
* refactor: cleaner impl of EmitEventSoon()
* Revert "Merge branch 'fix-win-focus' of github.com:electron/electron into fix-win-focus"
This reverts commit 90576806eb , reversing
changes made to 9c13e47779 .
* Restore 704722c1 , which was removed in error.
We apologise again for the fault in the subtitles. Those responsible for sacking the people who have just been sacked have been sacked.
2018-09-07 13:21:58 -05:00
John Kleinschmidt
e96433243c
Merge pull request #14487 from electron/manage-webview-webcontents
...
fix: manually manage WebContents of webview when it is detached
2018-09-07 11:27:38 -04:00
Alexey Kuzmin
c7bec13069
test: refactor the "util.promisify" test ( #14491 )
2018-09-07 10:13:10 -05:00
Cheng Zhao
92e094c5f6
fix: manually manage WebContents of webview when it is detached
2018-09-07 15:47:58 +09:00
Heilig Benedek
8e963f10ef
fix: add shell = True to make clang-format work on Windows ( #14121 )
2018-09-07 09:49:43 +10:00
Nitish Sakhawalkar
826af1d676
fix: macOS Window Title And Accessibility Focus ( #14472 )
...
- Override accessibility method in atom_ns_window
- Add title attribute in accessibilityAttributeValue
2018-09-07 09:47:31 +10:00
Roller Bot
53f7fd126d
chore: bump libcc (master) ( #14473 )
...
* chore: bump libcc submodule to d2ffd8ab4b238cb9fa16026ea95bd24b5c79915f
* chore: bump libcc in DEPS to d2ffd8ab4b238cb9fa16026ea95bd24b5c79915f
2018-09-06 13:09:17 -07:00
Charles Kerr
c5820bfabb
fix: don't use deprecated fstatNoException API ( #14463 )
2018-09-06 13:06:32 -05:00
Robo
35a1849e31
chore: enable debugger api specs ( #14475 )
2018-09-07 00:44:22 +10:00
Shelley Vohr
9bf1fb323b
chore: add removeFunction to deprecate module ( #14468 )
...
* chore: add removeFunction function to deprecate api
* re-comment deprecate.member
2018-09-05 21:55:28 -07:00
Charles Kerr
7f22442228
refactor: port the cpplint runner to javascript ( #14440 )
...
* refactor: port the cpplint runner to javascript
* fix: address code review suggestions
* refactor: make .cc, bootstrapped test funcs inline
* refactor: make CC_ROOTS inline too
* fix: test process.mainModule before calling main()
* refactor: reverse logic order in findChangedFiles
* refactor: make findChangedFiles() more readable
* fix: copy-paste error introduced in 3b17400
* chore: fix grammar in log message
2018-09-05 18:16:42 -05:00
Roller Bot
36b39b2d08
chore: bump libcc (master) ( #14466 )
...
* chore: bump libcc submodule to 6609029d431debe5c7a56da5e7ca21368bebc289
* chore: bump libcc in DEPS to 6609029d431debe5c7a56da5e7ca21368bebc289
2018-09-05 14:26:26 -07:00
Robo
c7c95fab2f
build: [gn] widevine cdm support behind flag ( #14423 )
...
* build: [gn] widevine cdm support behind flag
* build: [gyp] link cdm_support in the component build
2018-09-05 16:00:37 -05:00
Robo
8441d09a18
chore: refactor webContents module isCurrentlyAudible api spec ( #14410 )
2018-09-05 16:00:05 -05:00
Electron Bot
4d23e200f0
Bump v4.0.0-nightly.20180905
2018-09-05 10:06:13 -07:00
Felix Rieseberg
163e2d3527
fix: Windows Store Notifications ( #13258 )
...
* 🔧 Basic 'are we in the desktop bridge' check
* 🔧 Store the result of the call
* 🔧 Create ToastNotifier correctly in UWP environment
* 🔧 Actually, improve this all around
* ❤️ Implement feedback
* 🔧 Fix compiler issues
* 🔧 Mutex is banned, go to option 2
* 🔧 Use getProcAddress
* 📝 Make comment clearer
* ❤️ Implement feedback
2018-09-06 02:06:29 +10:00
Alex Sokolsky
9fe456dec1
Update first-app.md ( #14455 )
2018-09-04 21:59:35 -05:00
Roller Bot
357576a114
chore: bump libcc (master) ( #14442 )
...
* chore: bump libcc submodule to 65e44d0b8aad714e17102112a22c6a31e3aa2c2d
* chore: bump libcc in DEPS to 65e44d0b8aad714e17102112a22c6a31e3aa2c2d
2018-09-05 02:36:08 +10:00
Charles Kerr
512b559211
feat: allow some features during beta ( #14215 )
...
* feat: allow all nonbreaking changes during beta
Changes the version policy: currently only nonbreaking bug/security
fixes are allowed during beta. This change would allow all nonbreaking
changes, e.g. new features, during beta.
* refactor: clarify criteria for changes during beta
* Update electron-versioning.md
2018-09-04 11:02:43 -05:00
Shelley Vohr
4c09142f61
chore: pass tag correctly for bump commit reversion ( #14444 )
2018-09-04 08:54:53 -07:00
Milan Burda
c63014c256
refactor: use loadFile when appropriate in tests ( #14422 )
2018-09-04 09:50:53 -05:00
Milan Burda
e8782f2c2d
feat: Remove legacy helpers (Electron Helper EH/NP) ( #14436 )
2018-09-03 21:37:15 -05:00
Milan Burda
e828348904
docs: add missing documentation for <webview> methods ( #14413 )
2018-09-03 13:27:51 +10:00
Cheng Zhao
10176c71ff
fix: webview.focus() should move page focus to webview ( #14427 )
2018-09-03 11:41:54 +09:00
Milan Burda
aa01a7337c
refactor: replace base::Value::DeepCopy and CreateDeepCopy with Clone ( #14420 )
2018-09-02 17:38:35 -05:00
Felix Rieseberg
8e1452d316
docs: Add Electron Fiddle to the readme ( #14396 )
...
* 📝 Add Electron Fiddle to the readme
* 📝 Improve the language a bit
* docs: copyediting
Fix missing word
* docs: change the language a little
2018-08-31 22:56:55 -07:00
Milan Burda
c17a1b37ea
feat: add event.senderId property to IPCs sent via ipcRenderer.sendTo ( #14395 )
2018-08-31 20:13:51 -05:00
Paulius
b89848d683
feat: allow window above full screen windows on mac ( #14122 )
...
* allow window above full screen windows on mac
* add visibility change params to higher level files
* adress feedback, fix bool issue, remove compilation hooks
* adjust readme
* switch to options object
* single argument for native window views
2018-08-31 15:06:02 -07:00
Roller Bot
c3d51bc2fe
chore: bump libcc (master) ( #14406 )
...
* chore: bump libcc submodule to a664c7088a87575e7567c7b0a814d4bfa74bb118
* chore: bump libcc in DEPS to a664c7088a87575e7567c7b0a814d4bfa74bb118
2018-09-01 09:14:48 +12:00
Cheng Zhao
0ecea96048
fix: use flexbox to style webview ( #14400 )
...
* fix: use flexbox to style webview
* docs: remove notes on browserplugin based webview
2018-09-01 08:53:13 +12:00
Shelley Vohr
dac435b411
test: update power/notification specs to expect ( #13497 )
...
* spec: update power/process specs to expect
* Address comments
2018-09-01 08:52:32 +12:00
Cheng Zhao
586a6f2e6d
docs: add notes on OOPIF webview's behaviors ( #14401 )
2018-09-01 08:52:09 +12:00
Robo
32158ca5dd
chore: refactor context isolation spec ( #14394 )
...
* spec: refactor BrowserWindow module contextIsolation option
* spec: check for serialzation in isolated renderers separately
2018-09-01 08:51:29 +12:00
Milan Burda
3a79eacb6f
refactor: don't expose CallbacksRegistry as an internal module ( #14389 )
2018-08-31 11:29:00 -07:00
Robo
0c4e7104cf
build: [gn] explicitly override rtc_use_h264 ( #14378 )
...
* build: [gn] explicitly override rtc_use_h264
* build: [gn] don't override ffmpeg config from release config
* build: [gn] remove is_cfi override from release config
The original concern about node is fixed and we have been
building testing builds without the override for sometime now.
2018-08-31 12:47:45 -05:00
Shelley Vohr
cbb460d476
Revert "Bump v4.0.0-nightly.20180830"
...
This reverts commit 5f00e58029 .
2018-08-30 23:12:00 -07:00
Electron Bot
5f00e58029
Bump v4.0.0-nightly.20180830
2018-08-30 22:10:45 -07:00
Milan Burda
5a0770f1d3
fix: allow Tray with title only (without icon) on Mac ( #13851 )
2018-08-30 21:16:56 +12:00
Samuel Attard
1b7418fb7b
Revert "sec: deprecate some webPreference defaults to be secure-by-default ( #14284 )" ( #14380 )
...
This reverts commit 66d6ba8689 .
2018-08-30 09:57:49 +12:00
Samuel Attard
66d6ba8689
sec: deprecate some webPreference defaults to be secure-by-default ( #14284 )
...
* feat: deprecate default value of nodeIntegration
* Use DeprecationStatus::Stable as the default instead of shadowing
* change wording of deprecations
* chore: also deprecate kWebviewTag and kContextIsolation
* chore: do as we preach, lets be secure-by-default in the default app
2018-08-29 13:14:04 -05:00
Shelley Vohr
9b2c14a745
chore: add release-artifact-cleanup script ( #14250 )
...
Adds a script to script/ that does the following:
- delete tag from nightlies repo
- delete tag from electron/electron
- revert bump commit in electron/electron
- Delete draft
2018-08-29 11:13:22 -07:00
Jacob Groundwater
d9a7fee79a
feat: Add electron version to framework ( #14296 )
...
* Add electron version to framework
* Update Info.plist
2018-08-29 10:31:45 -07:00
Charles Kerr
2b4dbe409f
fix: doc recipe for debug build ( #14355 )
2018-08-29 09:31:06 -07:00
Alexey Kuzmin
ccd63b5ed0
build: add enable_pepper_flash flag to GN build ( #14349 )
...
* chore: reformat BUILD.gn
* build: add enable_pepper_flash flag to GN build
Fixes #14339 .
* build: move pepper flash under components/
* [ci skip] build: add electron.icns to mac app resources
* build: [gyp] update config to use component pepper flash
* build: [gyp] copy pepper shared libraries into executable folder in component build
2018-08-29 20:39:47 +12:00
Cheng Zhao
2f759151d2
docs: keyboard listeners no longer work on webview ( #14369 )
2018-08-29 15:59:23 +09:00
John Kleinschmidt
865435c491
Merge pull request #14287 from electron/miniak/ipc-refactoring
...
refactor: move common logic to handleRemoteCommand (rpc-server.js)
2018-08-28 17:06:38 -04:00
Cheng Zhao
459a2304b4
fix: emit focus/blur events for webview ( #14344 )
...
* fix: emit focus/blur events for webview
* test: webview can emit focus event
2018-08-28 13:35:44 -05:00
Robo
edd5c4b9bb
fix: use OS process handle to clear object registry ( #14324 )
...
RenderProcessHost switch can happen between ipc calls when
speculative process are invvolved, which will lead to deletion
of entries on current context. Use OS process handles to
uniquely associate a destruction handler for a render process.
2018-08-28 13:32:46 -05:00
John Kleinschmidt
98b7a9ce9c
Merge pull request #14107 from electron/channel_id_patch
...
fix: create persistent channel ID store when cookie store is persistent
2018-08-28 14:10:04 -04:00
Alexey Kuzmin
7edd37bca1
build: add missing enable_view_api flag ( #14351 )
...
* build: add missing enable_view_api flag
Fixes #14340 .
* fix: properly pass a pointer to a SetLayoutManager() call
2018-08-28 10:55:31 -07:00
Robo
07d017dc01
fix: crash when tray is destroyed ( #14347 )
...
Release the view of status item before destroying it,
gives chance to perform cleanup on the view.
2018-08-28 10:45:24 -07:00
Roller Bot
85ea0518c5
chore: bump libcc (master) ( #14353 )
...
* chore: bump libcc submodule to 5db50d4918b667ecba5a67cf48cf0e261d7581fa
* chore: bump libcc in DEPS to 5db50d4918b667ecba5a67cf48cf0e261d7581fa
2018-08-28 10:22:17 -07:00
Samuel Attard
68da311ed1
feat: add session.setPermissionCheckHandler ( #13925 )
...
* feat: add session.setPermissionCheckHandler to handle syncornous permission checks vs requests
* spec: add tests for session.setPermissionCheckHandler
* docs: add docs for session.setPermissionCheckHandler
* feat: add mediaType to media permission checks
* chore: cleanup check impl
2018-08-28 09:05:08 -05:00
Siddharth Dalal
afdb6c5f90
feat: 'will-move' event for windows. ( #14283 )
...
* feat: 'will-resize' window event (Windows only)
* documentation for 'will-move' event
* comment and line break fix in docs
2018-08-28 08:44:10 -05:00
Milan Burda
28e4fcea3b
refactor: move common logic to handleRemoteCommand
2018-08-27 21:06:03 +02:00
Milan Burda
f1fe485768
fix: don't expose desktopCapturer in sandboxed renderers if the feature is disabled ( #14310 )
2018-08-27 13:16:52 -05:00
Samuel Attard
a43a292d18
fix: dont parse arguments after a -- in the inspector ( #14297 )
2018-08-27 10:50:23 -07:00
Roller Bot
61462bdba2
chore: bump libcc (master) ( #14317 )
...
* chore: bump libcc submodule to 99c3a9966a9bef4a54b1740d9fed30ce78b4c421
* chore: bump libcc in DEPS to 99c3a9966a9bef4a54b1740d9fed30ce78b4c421
2018-08-27 10:21:20 -07:00
Milan Burda
a08ca9defb
fix: don't crash on tray.setContextMenu(null) ( #14322 )
2018-08-27 11:58:47 -05:00
John Kleinschmidt
fd27d75129
Merge pull request #14314 from electron/disable-a-test
...
test: disable "app moduele > app.exit(exitCode) > closes all windows"
2018-08-27 11:29:27 -04:00
Alexey Kuzmin
c8705625c9
build: windows gn linker fix ( #14281 )
...
* Fix to gn build linking
* chore: update node ref
* build: [gn win] add dependency on desktop_capture source_set in component build
* build: [gn] update definitions for node shared mode
* chore: update node ref
* chore: update node ref
2018-08-27 11:17:23 -04:00
Aleksei Kuzmin
4943f9fc14
tests: disable "app moduele > app.exit(exitCode) > closes all windows"
2018-08-27 16:21:12 +02:00
Milan Burda
edd1eaee5c
fix: don't expose view APIs when not enabled ( #14312 )
2018-08-27 08:03:46 +09:00
Aleksei Kuzmin
1293b463ba
tests: refactor "app module" tests
2018-08-26 16:54:51 +03:00
Samuel Attard
90545bda95
docs: explain "worldId" in the web frame docs ( #14309 )
...
Fixes #14288
2018-08-25 12:48:57 -07:00
Milan Burda
2a253c73db
refactor: use std::string instead of base::string16 for IPC channel names (ipcRenderer.sendTo) ( #14302 )
2018-08-24 15:30:10 -07:00
Emmanuel Kimmerlin
5f6706ac33
feat: BrowserWindow.getNormalBounds() ( #13290 )
...
* First commit
* Add Mac support (1st attempt)
* Add Mac support (2nd attempt)
* Simplify tests
* Restore window state !
* Looking at other tests, seems minimize, maximize, fullscreen are skipped when in CI
* Fix Mac tests
* Restore tests in CI
* Fix typo
* widget getRestoredBounds not working on Mac !!
* widget getRestoredBounds not working on Mac !!
* Add IsNormal function
* Add IsNormal
* IsNormal => isNormal
* Deactivate fullscreen on Mac. Do not receive leave-fullscreen event
* Set default original_frame_
* Set default original_frame_
* Fix Mac
2018-08-24 14:33:27 -07:00
Felix Rieseberg
872890ea5c
docs: Developer instructions for native Node addons ( #13121 )
...
* docs: Developer instructions for native Node addons
Credits for actually finding this easy method goes to @nornagon.
* 📝 Of course there's a typo
2018-08-24 14:28:11 -07:00
Leo MG Nesfield (LMGN)
519b57838a
Fix broken link ( #14301 )
2018-08-24 14:25:15 -07:00
Jeremy Apthorp
c452be02b9
refactor: properly report on skipped native modules tests ( #13894 )
2018-08-24 14:24:24 -07:00
Robin Andersson
4cf264f87a
fix: Brought win speechSynthesis up-to-speed ( #14070 )
...
The implementation was brought up-to-speed with Chromium 70.0.3522.1 (https://chromium.googlesource.com/chromium/src.git/+/70.0.3522.1/chrome/browser/speech/tts_win.cc ).
This to solve issues with Windows not returning voices (#11585 ).
2018-08-24 14:16:39 -07:00
Milan Burda
c23e7fa101
refactor: implement ipcRenderer.sendTo in native code for better performance ( #14285 )
2018-08-24 14:14:39 -07:00
Milan Burda
e6e3ccfc50
refactor: use std::string instead of base::string16 for IPC channel names ( #14286 )
2018-08-24 10:30:37 -05:00
John Kleinschmidt
605a4570c1
ci:Split out appveyor gn builds into separate jobs ( #14282 )
...
* Split out appveyor gn into separate jobs
2018-08-24 10:49:01 -04:00
Electron Bot
ef4ae27b52
Bump v4.0.0-nightly.20180823
2018-08-23 21:23:50 -07:00
Robo
bce5bd87a8
fix: opt into location services once device service has been started ( #14253 )
...
* fix: opt into location services once device service has been started
* refactor: provide fake location provider to mock geolocation reponses
* chore: add spec for navigator.geolocation api using fake location provider
2018-08-23 08:51:46 -07:00
Robo
c8f506a8aa
fix: add method and referrer properties to app login event ( #14231 )
...
* refactor: remove brightray/network_delegate.{cc|h}
* refactor: respond to http requests through network delegate
2018-08-23 18:55:13 +09:00
Cheng Zhao
6736d4ef29
fix: do not bubble up resize event from webview ( #14271 )
2018-08-23 15:42:35 +09:00
Cheng Zhao
cd8bb1d3b4
chore: print error when removed webview attribute is used ( #14230 )
...
* chore: print error when removed webview attribute is used
* docs: document removed webview features
2018-08-23 10:45:43 +09:00
Roller Bot
82b75f863d
chore: bump libcc (master) ( #14263 )
...
* chore: bump libcc submodule to c85470a1c379b1c4bedb372c146521bc4be9b75d
* chore: bump libcc in DEPS to c85470a1c379b1c4bedb372c146521bc4be9b75d
2018-08-22 19:44:13 -05:00
Robo
2d1b16b174
build: [gn] fix node header generation target in appveyor ( #14218 )
...
* build: [gn] fix node header generation target in appveyor
* build: fix tests run on AppVeyor
* build: [gn win] copy node.lib to node_headers on appveyor
* Fix verify-ffmpeg paths
2018-08-22 15:37:22 -04:00
Samuel Attard
7a514d26bb
fix: inheritance of webPreferences sub properties
2018-08-22 11:16:46 -05:00
John Kleinschmidt
5a72441b2a
build: build ffmpeg and native_mksnapshot for GN release builds ( #14240 )
...
* build ffmpeg and native_mksnapshot for GN release builds
* Test ffmpeg via verify-ffmpeg.py
* remove sccache from Windows builds
2018-08-22 11:41:25 -04:00
Charles Kerr
a2a7c6b062
chore: ask for specific info in bug templates ( #14229 )
...
* chore: ask for specific info in bug templates
* fix: change how version is asked for in bug template
2018-08-22 08:21:54 -07:00
Electron Bot
79eac1fdcb
Bump v4.0.0-nightly.20180821
2018-08-21 13:34:20 -07:00
Samuel Attard
4b33d083b2
chore: retry for the meta dumper a few times ( #14241 )
2018-08-21 13:29:44 -07:00
Samuel Attard
20423df112
Revert "Bump v4.0.0-nightly.20180821"
...
This reverts commit 73c43eaea7 .
2018-08-21 13:14:37 -07:00
Charles Kerr
e315e4d308
build: use electron-frameworks sccache ( #14171 )
...
* build: update-external-binaries fetches sccache
* build: add util.add_exec_bit in scripts/
* build: use util.add_exec_bit in create-dist
* build: use util.add_exec_bit in update-external-binaries
this is needed to work around a bug in python's zipfile module that doesn't preserve the exec bit
https://bugs.python.org/issue18262
* fix: linting errors
* build: vsts, circleci use patched sccache
* build: always look for the x64 sccache
as it's the only arch we have it on
* fix: windows-specific errors in updaste-external-binaries
* fix: tyop
* fix: set SCCACHE_BUCKET, SCCACHE_TWO_TIER on circleci
* fix: syntax error in circleci yaml
* fix: keep churning
* chore: add tracer to file downloader
* docs: add sccache instructions for GN builds
* build: pull down the darwin sccache on mas builds
* build: use gn sync verbosely on circleci and vsts
* docs: copyediting
* build: remove unnecessary cache-dir arg
* docs: fix shell quoting in gn build instructions
* fix: invoke gclient without -verbose in circleci
* refactor: remove debug tracer
* fix: invoke gclient without -verbose in appveyor
* fix: invoke gclient without -verbose in vsts
* fix: pull add_exec_bit from correct source
* fix: remove 'SCCACHE_TWO_TIER' from CI scripts
* refactor: remove SCCACHE_BUCKET from ci scripts
this environment variable will be set via the CI UI instead
* refactor: clarify log message
* fix: set SCCACHE_PATH correctly for Windows CI
2018-08-21 15:40:06 -04:00
Electron Bot
73c43eaea7
Bump v4.0.0-nightly.20180821
2018-08-21 11:55:32 -07:00
Samuel Attard
5d06c77bf1
Revert "Bump v4.0.0-nightly.20180821"
...
This reverts commit d2cd641381 .
2018-08-21 11:44:51 -07:00
Samuel Attard
776943218a
ci: add better logging around request failures for releasing ( #14239 )
2018-08-21 11:39:51 -07:00
Electron Bot
d2cd641381
Bump v4.0.0-nightly.20180821
2018-08-21 11:15:56 -07:00
Milan Burda
fc85d02786
feat: expose missing process APIs in sandboxed renderers ( #13505 )
2018-08-21 11:05:45 -07:00
Jeremy Apthorp
f82f89b2a3
build: [gn] add distributable zip target ( #14093 )
...
* build: [gn] add distributable zip target
* build: update the CircleCI config
- enable debug and testing builds on Mac
- run Mac release builds nightly
- run test for Mac release builds
- use shared build machines configs
* Add resources dir to zip on non mac platforms.
2018-08-21 13:06:28 -04:00
Milan Burda
7253c7f843
refactor: move SpecialStoragePolicy from brightray to atom ( #13944 )
2018-08-21 08:51:04 -07:00
Robo
fc730cc705
build: [gn mac] copy ffmpeg lib to framework bundle ( #14225 )
...
* build: [gn mac] copy ffmpeg lib to framework bundle
* Pull build config from enviroment variable
* build: use component ffmpeg in testing mode
2018-08-20 17:02:52 -04:00
Shelley Vohr
26925e6d48
chore: remove autorelease check logic ( #14220 )
2018-08-20 10:55:38 -07:00
Heilig Benedek
14ee5b3d3a
fix: enable osr ( #14074 )
...
* fix: re-enable osr
* fix: add changes from CEF to add MouseWheelPhaseHandler
* fix: re-enable surface synchronization by applying fix from cef
* update method call and enable AsyncWheelEvents var
* fix: make BrowserCompositorMacGetGutterColor behave like chromium
* fix: HANDLE only exists on windows
* fix: pass correct params to mouse_wheel_phase_handler_
* fix variable accessing
* revert: revert the workaround for disableHardwareAcceleration crash
* fix: remove GuestViewCrossProcessFrames from the disabled features list
* revert: remove check from BrowserChildProcessLaunchedAndConnected
2018-08-20 09:54:31 -07:00
Roller Bot
0fc72f1924
chore: bump libcc (master) ( #14214 )
...
* chore: bump libcc submodule to 00cce7a094c5ded91d52d2ac2aac2ab70dc66d02
* chore: bump libcc in DEPS to 00cce7a094c5ded91d52d2ac2aac2ab70dc66d02
2018-08-20 08:42:11 -07:00
Shelley Vohr
8f5923f9bf
chore: add option to return next version from prepare-release ( #14212 )
...
* chore: add option to return next version from prepare-release
* shuffle logic
2018-08-20 08:17:47 -07:00
deepak1556
73b7390707
fix: create persistent channel ID store when cookie store is persistent
2018-08-20 08:52:55 +05:30
Samuel Attard
899dd03aa1
chore: match the bump commit exactly, reverts should not count ( #14207 )
2018-08-19 14:44:42 -07:00
Keerthi Niranjan
5b48e03c7c
fix: Dialog does not close on ESCAPE if defaultId is set ( #14196 )
...
If defaultId is set, it was removing the key reference for the button at 0 which was previously set for the cancel_id
2018-08-19 13:41:03 -07:00
Shelley Vohr
3715719b72
chore: update libcc ref to include osr patch ( #14201 )
2018-08-19 12:57:09 -07:00
Beni von Cheni
aef64c6f48
docs: chrome-command-line-switches.md: update proxy-server support ( #14198 )
...
* docs: chrome-command-line-switches.md: update proxy-server support
Per issue #12443 , the proxy URL in proxy-server switch would not
support username and password authentication.
* docs: security.md: correct checklist #14 markdown
When running "npm run lint:docs" script, linting warning suggests
"Broken links: #13-disable-or-limit-creation-of-new-windows". Update
accordingly to #14 .
2018-08-19 12:34:14 -07:00
Keerthi Niranjan
59e118925a
fix: electron path for postinstall ( #14177 )
...
* fix #14127 issue caused by #12426
* add ELECTRON_OVERRIDE_DIST_PATH check for install.js
2018-08-19 09:40:12 -07:00
Anders Kaseorg
466fe816d5
docs: security.md: Fix navigation lockdown example code ( #14185 )
...
The `url` module is not a constructor; change `require('url')` to
`require('url').URL`. Also, check the entire origin rather than just
the hostname, since otherwise `http://my-own-server.com ` is allowed in
addition to `https://my-own-server.com `, in violation of point 1 (only
load secure content).
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2018-08-18 19:41:55 -07:00
Electron Bot
dbee03d381
Bump v4.0.0-nightly.20180819
2018-08-19 01:09:28 +00:00
Shelley Vohr
55bac9325b
chore: only prepare release if last commit not a bump ( #14192 )
2018-08-18 17:36:16 -07:00
Samuel Attard
8f23fe8ab0
chore: always target master for nightly releases ( #14190 )
2018-08-18 09:21:38 -07:00
Shelley Vohr
8039bdc061
fix: add dist tags for release branches ( #14186 )
...
* fix: add dist tags for release branches
* nightly => master
2018-08-17 18:30:21 -07:00
Electron Bot
3ba9a9b7bb
Bump v4.0.0-nightly.20180817
2018-08-17 23:55:31 +00:00
Samuel Attard
f7dc01b2c5
Revert "Bump v4.0.0-nightly.20180817"
...
This reverts commit 26248323b4 .
2018-08-17 16:52:48 -07:00
Samuel Attard
69f28aea2e
chore: dont check version when publishing ( #14183 )
2018-08-17 16:49:16 -07:00
Electron Bot
26248323b4
Bump v4.0.0-nightly.20180817
2018-08-17 22:58:18 +00:00
Samuel Attard
1f23c5edc6
Revert "Bump v4.0.0-nightly.20180817"
...
This reverts commit b900ea44bf .
2018-08-17 15:53:15 -07:00
Samuel Attard
c6a8ad9e3a
chore: remove v from script :sigh: ( #14181 )
2018-08-17 15:49:12 -07:00
Alexey Kuzmin
2f352d2517
build: add Chromium tests targets ( #14172 )
...
* chore: properly format BUILD.gn
* build: gn: add targets for Chromium tests
Those should only include test targets Electron cares about.
2018-08-17 15:28:00 -07:00
Samuel Attard
c9e704863e
correctly get pre ( #14179 )
2018-08-17 15:15:45 -07:00
Electron Bot
b900ea44bf
Bump v4.0.0-nightly.20180817
2018-08-17 21:40:50 +00:00
Shelley Vohr
bdc65f2823
fix: update_electron_gyp regex for nightlies
2018-08-17 14:35:58 -07:00
Samuel Attard
73f2a7dda9
Revert "Bump v4.0.0-nightly.20180817"
...
This reverts commit 76a592a419 .
2018-08-17 14:34:31 -07:00
Troy
5ea05ddee7
fix: Stricter Testing For Menu Items ( #13992 )
...
This PR includes stricter testing for empty objects so that false context menus are not created along with the tests to ensure future compatibility.
2018-08-17 13:10:14 -07:00
Electron Bot
76a592a419
Bump v4.0.0-nightly.20180817
2018-08-17 20:06:28 +00:00
Samuel Attard
c2063bc139
chore: make beta bumps work ( #14174 )
2018-08-17 13:00:43 -07:00
Samuel Attard
0c0ca57f4b
chore: use --bump for all releases
...
Approved by @codebytere
2018-08-17 12:23:27 -07:00
Shelley Vohr
6861c10183
chore: allow nightlies from release branches ( #14157 )
...
* chore: allow nightlies from release branches
* keep current version from beta to nightly
* move version bump logic to bump-versi.py
2018-08-17 10:42:45 -07:00
Robin Andersson
ba98ef382d
chore: update serve version 6.5.3 -> 6.5.8 ( #14159 )
2018-08-17 09:48:01 -07:00
Charles Kerr
51b76f0635
build: use GIT_CACHE_PATH ( #14165 )
...
* build: add GIT_CACHE_PATH
The merge at https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1105473 was to specify git cache entirely from the environment variable [and] removal of the general --cache-dir option from gclient
* docs: document GIT_CACHE_PATH in GN build
* fix: try to fix appveyor-gn env syntax
2018-08-17 09:20:20 -07:00
Samuel Attard
59d6c1e063
chore: use metadumper service to create index.json file ( #14158 )
2018-08-16 22:23:46 -07:00
Shelley Vohr
8b6072b411
chore: fix npm nightly dist-tag ( #14155 )
2018-08-16 17:17:59 -07:00
Shelley Vohr
966d776c18
chore: support otp ( #14154 )
2018-08-16 17:08:52 -07:00
Alexey Kuzmin
aca2293fa9
build: gn: commit patches after they have been applied ( #14147 )
...
* chore: bump libcc
* build: gn: commit patches after they have been applied
It prevents a hooks run failure when `gclient sync` is called
for a second time. Error message:
```
error: ui/latency/ui_latency_export.h: already exists in working directory
latency_info.patch failed to apply
```
2018-08-16 16:29:19 -07:00
Alexey Kuzmin
8adc24eef9
build: add config to build Electron for tests ( #14101 )
...
* build: add config to build Electron for tests
* build: run nightly linux builds for the 3-0-x branch
* build: gn: update CI config for linux builds
- run GN debug and testing builds for PRs (as FYI)
- do not run tests for GN debug builds
- run GN release builds nightly
* build: gn: run testing builds on CI instead of release on Windows
Should save some time since release builds set 'official_build=true'
which make the builds take much more time.
* build: gn: use testing config to run CI jobs on Mac
Tests should run faster for testing builds.
2018-08-16 16:28:01 -07:00
Shelley Vohr
6872180739
don't update index.json in release ( #14151 )
2018-08-16 16:15:00 -07:00
Cheng Zhao
dd5b8769be
fix: use OOPIF for webview tag ( #13869 )
...
* fix: use OOIF for webview tag
* fix: do not call GetNativeView for webview
* fix: OOIPF webview's WebContents is managed by embedder frame
* fix: guest view can not be focused
* fix: clear zoom controller when guest is destroyed
* fix: implement the webview resize event
The webview is no longer a browser plugin with the resize event, use
ResizeObserver instead.
* test: disable failed tests due to OOPIF webview
* fix: embedder can be destroyed earlier than guest
This happens when embedder is manually destroyed.
* fix: don't double attach
* fix: recreate iframe when webview is reattached
* fix: resize event may happen very early
* test: some tests are working after OOPIF webview
* chore: remove unused browser plugin webview code
* fix: get embedder via closure
When the "destroyed" event is emitted, the entry in guestInstances would be
cleared.
* chore: rename browserPluginNode to internalElement
* test: make the visibilityState test more robust
* chore: guestinstance can not work with OOPIF webview
* fix: element could be detached before got response from browser
2018-08-16 15:57:40 -07:00
John Kleinschmidt
48407c5b93
Merge pull request #14148 from electron/update-node
...
chore: update node revision
2018-08-16 14:49:14 -07:00
Aleksei Kuzmin
ac2f823eed
chore: update node revision
2018-08-16 14:24:40 -07:00
John Kleinschmidt
33d914d6ff
Merge pull request #14144 from electron/jumbo-gn-release-builds
...
chore: enable jumbo builds in the GN release config
2018-08-16 14:04:19 -07:00
Charles Kerr
03e8c65b8b
chore: remove duplicate setting
2018-08-16 13:56:03 -07:00
Charles Kerr
575b6df844
chore: promote 'is_jumbo_build=true' to all.gn
2018-08-16 13:41:47 -07:00
Samuel Attard
840db11a92
chore: add flag to skip version check ( #14145 )
2018-08-16 12:04:32 -07:00
Shelley Vohr
22a51625d4
fix: remove arm build validation from release script ( #14143 )
2018-08-16 11:50:29 -07:00
Charles Kerr
3e0d961684
chore: alphabetize config list
2018-08-16 11:46:35 -07:00
Charles Kerr
d294637e9c
chore: enable jumbo builds in GN release configuration
2018-08-16 11:45:04 -07:00
Samuel Attard
982a2f0da2
Bump v4.0.0-nightly.20180816
2018-08-16 10:35:49 -07:00
Samuel Attard
ee4f27ca3f
chore: 0.0.0-dev
2018-08-16 10:32:11 -07:00
Milan Burda
9076a20dc8
docs: fix electron.d.ts typings ( #14125 )
2018-08-16 10:26:36 -07:00
Samuel Attard
3330d4cb35
chore: fix linting ( #14135 )
2018-08-16 10:24:21 -07:00
Samuel Attard
38ae93f0a4
Bump v4.0.0-nightly.20180816
2018-08-16 10:05:00 -07:00
Samuel Attard
e2ba01b1fc
build: replace nightly and dev versions in the release script ( #14134 )
2018-08-16 09:56:24 -07:00
Samuel Attard
d3067cc334
build: nightly is nightly, beta is beta ( #14133 )
2018-08-16 09:28:17 -07:00
John Kleinschmidt
74426ad45e
Merge pull request #14132 from electron/fix-crashreporter-arg
...
docs: crashReporter companyName is not optional
2018-08-16 09:22:16 -07:00
Shelley Vohr
e415efaceb
docs: crashReporter companyName is not optional
2018-08-16 09:15:17 -07:00
Samuel Attard
a58c7c7447
Bump v4.0.0-nightly.20180816
2018-08-16 09:13:36 -07:00
Samuel Attard
2556b5d181
build: use targetRepo in prepare-release ( #14131 )
2018-08-16 09:12:06 -07:00
Samuel Attard
4cf2cde7fb
Bump v4.0.0-nightly.20180816
2018-08-16 08:58:46 -07:00
Shelley Vohr
b9afc68c35
chore: introduce concept of nightly builds to release scripts ( #14130 )
...
* chore: introduce concept of nightly builds to release scripts
* build: publish nightly releases to dedicated repo
2018-08-16 08:57:12 -07:00
John Kleinschmidt
22a2d9bd44
Merge pull request #14100 from electron/gn-arm-builds
...
ci: Add arm/arm64 debug gn builds
2018-08-15 15:37:06 -07:00
John Kleinschmidt
847a9c0ed9
Merge pull request #14099 from electron/vsts-gn-fix
...
ci: [vsts] use the PR's branch rather than master
2018-08-15 12:02:12 -07:00
John Kleinschmidt
9317ee8910
Add arm/arm64 gn builds
2018-08-15 11:39:16 -07:00
Samuel Attard
5f7a595f0a
chore: add FIXME for remote deref ( #14116 )
2018-08-15 09:06:44 -07:00
Shelley Vohr
08a8a3fbfc
chore: update PR template for new notes bot ( #14103 )
...
* chore: update PR template for new notes bot
* include link to release note readme
2018-08-15 08:43:11 -07:00
Samuel Attard
55a1f5d351
fix: add a hidden option to disable remote dereferencing ( #14102 )
2018-08-15 08:08:14 -07:00
Jeremy Apthorp
da3a80ef00
ci: [vsts] build the PR branch
2018-08-14 21:43:47 -07:00
John Kleinschmidt
7ff17ee3ad
Merge pull request #14089 from electron/appveyor-gn-simplify
...
ci: [win] simplify call to electron.exe in appveyor
2018-08-14 14:30:11 -07:00
John Kleinschmidt
dda6bb135a
Merge pull request #14017 from electron/node-gn
...
build: build node with GN
2018-08-14 14:29:17 -07:00
Robo
9989195f19
fix: notify request context shutdown on IO before cleanup ( #14058 )
2018-08-14 14:07:53 -07:00
Jeremy Apthorp
379f40ef93
ci: [win] simplify call to electron.exe in appveyor
...
the python junk was there previously because PowerShell is bad at exit
codes
2018-08-14 11:31:22 -07:00
Jeremy Apthorp
49ee5167c3
Update DEPS
2018-08-14 10:43:55 -07:00
John Kleinschmidt
8c21762bee
Merge pull request #14081 from electron/vs2017-15-4-5
...
ci: Use VS2017 15.4.5 for Chromium 66
2018-08-14 09:50:55 -07:00
John Kleinschmidt
1c509c4743
Use VS2017 15.4.5 for Chromium 66
2018-08-14 09:34:34 -07:00
Roller Bot
3ac8aad495
chore: bump libcc ( #14071 )
...
* chore: bump libcc submodule to d6411e421b0b2f0105d274ac4e5c90dc979463ca
* chore: bump libcc in DEPS to d6411e421b0b2f0105d274ac4e5c90dc979463ca
2018-08-14 06:46:33 -07:00
Charles Kerr
b9490177da
Revert "[WIP] refactor: (Part I) make the ownership of URLRequestContextGetter more clear ( #13956 )"
...
This reverts commit 1c0bb06d4a .
2018-08-13 16:16:04 -07:00
Robo
1c0bb06d4a
[WIP] refactor: (Part I) make the ownership of URLRequestContextGetter more clear ( #13956 )
...
* refactor: desttroy URLRequestContextGetter on IO thread
* Accepts a factory class that can customize the creation of URLRequestContext
* Use a separate request context for media which is derived from the default
* Notify URLRequestContextGetter observers and cleanup on IO thread
* Move most of brightray net/ classes into atom net/
* refactor: remove refs to URLRequestContextGetter on shutdown
* refactor: remove brigtray switches.{cc|h}
* refactor: remove brightray network_delegate.{cc|h}
* refactor: make AtomURLRequestJobFactory the top level factory.
* Allows to use the default handler from content/ for http{s}, ws{s} schemes.
* Removes the storage of job factory in URLRequestContextGetter.
2018-08-13 15:22:45 -07:00
John Kleinschmidt
cb4b3e7be0
Merge pull request #14049 from electron/fix-flaky-sandbox-tests
...
fix: Fix flaky sandbox tests
2018-08-13 13:26:52 -07:00
John Kleinschmidt
828e317360
Fix flaky sandbox tests
...
Windows apparently has issues running opening two windows at once which is causing flakiness on the mixed sandbox tests.
2018-08-13 09:30:20 -07:00
John Kleinschmidt
a53a5ac071
Merge pull request #14045 from electron/enable-mixed-sandbox
...
fix: re-enable mixed-sandbox tests
2018-08-13 08:48:19 -07:00
Shelley Vohr
2ac3d89279
fix: lint js and docs alongside clang-format ( #14044 )
...
* fix: lint js and docs alongside clang-format
* chore: change lint scripts to colon format
2018-08-13 08:20:55 -07:00
Sidney
23541b5b2a
feat: On macOS, Closing Notifications Triggers the 'close' Event ( #13306 )
...
* feat(macOS): implement NotificationDismissed() for Cocoa
* feat(macOS): emit NotificationDismissed() when closing "Alert" notifications
* feat(macOS): emit NotificationDismissed() when closing "Banner" notifications
* fix(macos): Remove calls to private APIs from MAS builds (github.com/electron/electron/pull/13306)
2018-08-13 23:09:25 +12:00
Shelley Vohr
590ae5cd29
fix: re-enable mixed-sandbox tests
2018-08-12 21:29:29 -07:00
Shelley Vohr
c0959bd534
refactor: add 'npm run bootstrap', 'npm run build' ( #14034 )
...
* docs: update package.json and build docs
* fix build release
* address feedback from review
* whoops forgot one
* fix build script
* address feedback from review
2018-08-12 14:01:46 -07:00
Shelley Vohr
b785f45852
fix: override fs.realpathSync.native and fs.realpath.native ( #14031 )
...
* fix: override fs.realpathSync.native and fs.realpath.native
* spec: test new native functions
2018-08-12 00:10:55 -07:00
Shelley Vohr
8dae1c8447
fix: make asarStatsToFsStats nherit from fs.stats ( #14030 )
2018-08-11 23:20:33 -07:00
Jeremy Apthorp
c0dfc4b2eb
ci: [gn] build 32-bit node modules on 32-bit linux ( #14021 )
2018-08-11 12:21:34 -05:00
Jeremy Apthorp
ae79fd1bb3
docs: update GN developer docs ( #14018 )
2018-08-11 12:20:19 -05:00
Jeremy Apthorp
db7cec8d86
ci: build x86 builds on GN in appveyor ( #14019 )
2018-08-10 17:52:54 -05:00
Milan Burda
702cc84bd3
Don't pass preloadPath via ELECTRON_BROWSER_SANDBOX_LOAD for security reasons ( #13031 )
2018-08-10 17:19:49 -05:00
John Kleinschmidt
e08ce7127a
Merge pull request #13877 from electron/gn-ci-win-appveyor
...
ci: [gn] add ci build for gn on windows
2018-08-10 13:40:44 -04:00
Jeremy Apthorp
6d277ec784
[wip] build: try building node with GN
2018-08-10 10:06:27 -07:00
Husayn
19cb5bad94
feat: Add creationTime function to process ( #13542 )
...
* Add process creation time
* Making docs clear for process creation time
* Address comments for process creation time
* Add process info cc file
* fixing comments around documentation
* Update doc for return val
* Capitalize number in docs
* chore: bump electron-typescript-definitions
2018-08-10 09:03:30 -05:00
secult
9902d42760
docs: cancelId works on windows ( #13882 )
...
The note about cancelId not working on windows is not valid. Tried on Windows 7 and Windows 10 and it works in both cases (tested on electron 1.8.7).
2018-08-10 16:07:39 +10:00
Samuel Attard
1c879870ee
chore: add a Mac App Store Private API Rejection template ( #14009 )
2018-08-10 15:35:30 +10:00
Samuel Attard
637280e060
core: add security report issue template ( #14010 )
...
Basically tell people not to raise an issue but to send an email to our security email address. This hasn't happened yet but we should do everything we can to send people in the right direction 😄
2018-08-10 15:30:24 +10:00
Shelley Vohr
7c7543cb39
spec: re-enable app.getAppMetric API ( #13962 )
2018-08-09 13:35:29 -05:00
Milan Burda
271d582aac
refactor: make methods const, cleanup ( #13937 )
2018-08-09 10:15:23 -07:00
GhostlyDark
9005803667
Fix typos ( #13999 )
2018-08-09 10:04:03 -05:00
Milan Burda
9a1ad2b93f
fix: ipcRemote.sendSync regression after moving away from JSON for return values ( #13941 )
2018-08-09 19:45:10 +10:00
Dominic
a7052efaf4
fix: make menu.popup options optional ( #13977 )
...
* add empty object as default param for options
* update docs
* add spec for optional options
* fix: add null check for options
2018-08-08 17:38:52 -05:00
Jeremy Apthorp
fc4499ebd4
chore: roll libcc
2018-08-08 09:33:02 -07:00
Charles Kerr
29f07889e6
feat: add location url to "Node.js Integration with Remote Content" warning ( #13973 )
...
* docs: fix typo
* feat: add location url to Node+Remote warning
2018-08-07 20:40:21 -05:00
Jeremy Apthorp
e6e621515f
chore: disable flaky isCurrentlyAudible test ( #13970 )
2018-08-07 14:23:48 -05:00
John Kleinschmidt
06786e7bb8
Merge pull request #13828 from nornagon/gn-ci-mac
...
ci: [gn] add Mac support to VSTS build
2018-08-06 10:54:22 -04:00
Jeremy Apthorp
2551837ffb
docs: min windows server version for building is 2012 ( #13935 )
2018-08-03 17:32:07 -07:00
Jeremy Apthorp
379998e2f6
docs: recommend windows 10 as the minimum build OS
...
I'm pretty sure building on windows 7 doesn't work.
2018-08-03 15:42:12 -07:00
Shelley Vohr
9f328abe19
refactor: remove instances of createDeepCopy ( #13703 )
...
* add new native_mate converters for base::Value
* fix converter swapping
* remove createDeepCopy from browser/api
* replace missing ListValue converter
* convert bulk of remaining createDeepCopy instances
* convert last remaining instances of createDeepCopy
* incremental progress and helper methods for value conversion
* convert Get and add template function for GetString
* final DictionaryValue method conversions
* remove usage of base::DictionaryValue in web_contents_preferences
* use IsEnabled helper where possible
* Update atom_api_web_view_manager.cc
2018-08-04 07:23:07 +10:00
Jeremy Apthorp
cecb8fb0c4
chore: roll libcc and node DEPS ( #13931 )
2018-08-03 12:36:56 -07:00
Milan Burda
f904057104
fix: add missing "simple" property in several APIs to prevent proxying of return values ( #13905 )
...
* fix: add missing "simple" property in several APIs to prevent proxying of return values
* add tests
2018-08-03 12:07:27 -07:00
deepak1556
e0735baff2
docs: [gn] update build instructions
2018-08-03 11:54:21 -07:00
Jeremy Apthorp
96c39923b6
ci: [gn] add builders for 32-bit linux
2018-08-03 11:08:12 -07:00
Milan Burda
fceed0fcbc
fix: dipToScreenRect / screenToDipRect - window can be null ( #13903 )
2018-08-03 13:08:42 +10:00
Jeremy Apthorp
03293d78a2
chore: roll libcc DEPS ( #13917 )
2018-08-03 10:55:49 +10:00
Birunthan Mohanathas
23440a5ec3
fix: Improve --enable-features/--disable-features handling ( #13920 )
...
As it turns out, we can reinitialize the feature list directly after the
user JS script has been executed instead of much later. This allows
modifications to `--enable-features`/`--disable-features` to work with a
greater set of features.
2018-08-03 10:53:54 +10:00
Shelley Vohr
48ae9b7a9c
docs: update node upgrade doc ( #13891 )
...
Updates the node upgrade doc to take path changes into account as well as to incorporate the new `get-patch` script which simplifies work significantly.
2018-08-01 23:33:37 -07:00
Jeremy Apthorp
c068bc7d3d
test: make nativeImage relative path test robust to different cwd
2018-08-01 15:19:26 -07:00
Jeremy Apthorp
651e7d21c4
Try setting npm_config_msvs_version
2018-08-01 10:35:03 -07:00
Jeremy Apthorp
63604278ec
Add env var to skip native module tests
2018-08-01 10:29:35 -07:00
Jeremy Apthorp
00b2d94785
ci: start the dbus mock server in GN CI
2018-08-01 10:08:02 -07:00
Jeremy Apthorp
a4f02724bf
refactor: use env var to skip native module tests on win32/debug ( #13890 )
2018-08-01 13:33:13 +10:00
Samuel Attard
4990b3990b
spec: add more assertions to help smoke out the close all window failures ( #13868 )
2018-08-01 13:32:07 +10:00
Milan Burda
c52b3d921e
fix: some APIs modified for ASAR support cannot be util.promisify'ed ( #13845 )
2018-08-01 13:06:48 +10:00
Jeremy Apthorp
80d22e8dc0
test out build matrix for debug/release
2018-07-31 17:28:32 -07:00
Jeremy Apthorp
083ec2f60a
ci: [gn] add ci build for gn on windows
2018-07-31 15:28:12 -07:00
Samuel Attard
eb79ad4dab
fix: handle SIGINT and SIGTERM from the Electron CLI helper ( #13867 )
...
Fixes #12840
2018-07-31 13:44:04 -05:00
Felix Rieseberg
a99cc969b5
📝 Update security docs: will-navigate, new-window ( #13884 )
2018-07-31 13:40:26 -05:00
Jeremy Apthorp
31ac89fa2f
ci: gn linux release builds ( #13809 )
2018-07-31 11:18:36 -07:00
Jeremy Apthorp
e22a80b210
chore: [gn] run 'gn format' over BUILD.gn
2018-07-31 09:55:27 -07:00
Jeremy Apthorp
32f456de07
chore: [gn] run 'gn format' over build/node/BUILD.gn
2018-07-31 09:55:27 -07:00
Jeremy Apthorp
260f7775e7
ci: more lenient check for is_ci in lib.util.download
...
AppVeyor sets CI=True or CI=true, not CI=1
2018-07-31 09:51:40 -07:00
Jeremy Apthorp
28b6f2f46d
build: [gn] fix rpath when building with component ffmpeg ( #13874 )
2018-07-30 15:46:04 -07:00
Jeremy Apthorp
ae29d562eb
build: [gn] add //ui/strings:app_locale_settings to locale pak
...
Fixes a crash on Windows when accessing IDS_UI_FONT_FAMILY
2018-07-30 13:59:00 -07:00
Jeremy Apthorp
d0a9c2c77f
build: [gn] build release with is_cfi = false
...
When is_cfi = true (the default on Linux Release), Electron crashes at
boot with SIGILL in V8::InitializePlatform.
2018-07-30 13:58:38 -07:00
Jeremy Apthorp
3bdff2d238
feat: allow setting window shape ( #13789 )
...
This binds Widget::SetShape, an API that already exists in Chromium (for
Windows and Linux). It's a more reliable method of having some parts of
your window be "click-through" than the current `setIgnoreMouseEvents`
API, which messes around with the `WS_EX_LAYERED` window style on
Windows, causing strange bugs and incompatibility with hardware
acceleration.
2018-07-30 13:37:40 -07:00
Jeremy Apthorp
6e224df00e
[wip] ci: add Mac support to VSTS build
2018-07-30 12:50:16 -07:00
Samuel Attard
b22ac5f0a2
build: commit changes to the package-lock.json file ( #13864 )
2018-07-30 15:09:06 +10:00
Alexandre Lacheze
2bba11c5b0
docs: warning unicity of webRequest event listener ( #13482 )
2018-07-30 11:38:59 +10:00
Gellert Hegyi
4bcf0e34c5
fix: window.setVibrancy parameter passing ( #13627 )
...
* fix: setVibrancy parameter passing
* fix: uses correct parameter types for setVibrancy
2018-07-30 11:29:18 +10:00
Alexey Kuzmin
69f6bd921b
chore(tests): allow usage of deprecated APIs in tests ( #13659 )
2018-07-30 11:27:58 +10:00
Felix Rieseberg
c2218cc414
📝 First draft: Here be dragons ( #13835 )
2018-07-30 11:19:23 +10:00
Milan Burda
39c5c200ba
fix: util.promisify(setTimeout) ( #13840 )
2018-07-30 11:14:04 +10:00
Milan Burda
db38c8b620
Fix process.execPath returning parent process path instead of the helper in sandboxed renderer ( #13839 )
2018-07-30 11:13:42 +10:00
Milan Burda
aacbd76baa
docs: fix electron.d.ts typings ( #13841 )
2018-07-30 11:11:23 +10:00
Jeremy Apthorp
a6bc8030ea
build: [gn win] fix path names in js2asar
2018-07-27 12:08:39 -07:00
Jeremy Apthorp
27e6805889
build: [gn] pack ui_strings in locales ( #13827 )
...
Fixes a crash when running the tests on linux:
[15860:0726/132247.086106:WARNING:resource_bundle.cc(586)] unable to find resource: 27282
[15860:0726/132247.086189:FATAL:resource_bundle.cc(587)] Check failed: false.
0 0x7f1cad88ed7d base::debug::StackTrace::StackTrace()
1 0x7f1cad88eccc base::debug::StackTrace::StackTrace()
2 0x7f1cad9327ba logging::LogMessage::~LogMessage()
3 0x7f1ca4dea3ae ui::ResourceBundle::GetLocalizedString()
4 0x7f1ca4db5113 l10n_util::GetStringUTF16()
5 0x7f1ca3753bdd views::(anonymous namespace)::EmptyMenuMenuItem::EmptyMenuMenuItem()
2018-07-27 08:05:36 -07:00
Jeremy Apthorp
38ca2b342b
build: [gn] fix resource path conflict on mac ( #13824 )
2018-07-27 08:04:03 -07:00
Samuel Attard
4b3011f3e8
feat: add getUploadProgress API to the net API ( #13783 )
2018-07-27 07:15:48 -07:00
Birunthan Mohanathas
c8dc2d3730
feat: Add will-resize event to TopLevelWindow ( #13649 )
...
The new `will-resize` event can be used to prevent the resize from
happening before the native window is actually resized. This is in
contrast to the existing the `resize` event, which is sent *after* the
native window has already been resized. For apps with e.g. custom window
snapping logic, the `resize` event is not sufficient because it will
result in flickering between the dragged size and the snapped size.
`will-resize` is only emitted on macOS and Windows.
2018-07-27 18:53:01 +09:00
Jeremy Apthorp
9af9634f7d
chore: remove unused process_type variable ( #13823 )
2018-07-26 23:25:54 -07:00
Jeremy Apthorp
7ed9a88277
build: [gn] fix linking against base_static ( #13810 )
...
* build: [gn] fix linking against base_static
* chore: run 'gn format' over brightray/BUILD.gn
2018-07-26 08:30:37 -07:00
Birunthan Mohanathas
acbabc7635
build: Bump libcc to latest ( #13821 )
...
This picks up electron/libchromiumcontent#617 .
2018-07-26 08:26:08 -07:00
Josh Goldberg
a11e8654cc
Grammar fix in application-architecture.md ( #13798 )
2018-07-26 23:14:20 +10:00
Cheng Zhao
ce4e05b85a
fix: pass scrollBounce by command line flag ( #13812 )
...
Implement the scrollBounce option by reading the command line flag in
`RenderThreadImpl::IsElasticOverscrollEnabled`, there is no more need
to set NSScrollViewRubberbanding.
2018-07-26 18:38:37 +09:00
Cheng Zhao
e125569f87
fix: check string encoding before creating value ( #13815 )
2018-07-26 18:38:17 +09:00
Jeremy Apthorp
9f26dfc23e
build: [gn] win and linux depend on :packed_resources
...
Also, roll libcc to include
9b66eb4f04
2018-07-25 15:49:42 -07:00
Jeremy Apthorp
0efb5853d6
build: [gn] centralize GN args under build/args/*.gn
...
Devs can still locally override or add settings by adding lines after
the `import` statement in args.gn.
This will help make sure that everyone has a common set of build args,
and will allow us to update everyone's build args in git.
2018-07-25 14:24:45 -07:00
Jeremy Apthorp
d1cb8b7d67
build: [gn win] fix webrtc link error in component build
2018-07-25 11:45:40 -07:00
Jeremy Apthorp
3971fbc671
build: [gn] include node_modules in default_app asar
...
The default_app asar was recently changed to reference files inside
`node_modules/` in addition to files inside `default_app/`. The
`js2asar.py` script was updated to interpret what this meant, but the GN
build wasn't. This change somewhat hackily makes the GN build reuse the
`js2asar.py` script so that this and also hopefully any future changes
will work in the GN build as well as the GYP build.
2018-07-25 11:45:22 -07:00
Jeremy Apthorp
58dc6ccd1a
build: [gn] roll node DEPS
2018-07-25 11:45:02 -07:00
Zeke Sikelianos
9220ca2b98
Merge pull request #13784 from electron/fix-enable-disable-features
...
fix: Use --enable-features and --disable-features
2018-07-25 11:09:36 -07:00
Zeke Sikelianos
4822c130a3
Merge pull request #13801 from electron/update-ch-upgrade-docs
...
docs: update an estimate of how much we are behind Chromium
2018-07-25 10:46:03 -07:00
Birunthan Mohanathas
f788143c1a
pr: Update docs
2018-07-25 10:12:27 -07:00
Birunthan Mohanathas
a42ca9eecc
feat: Add BrowserWindow.setWindowButtonVisibility()
...
Fixes #12701 and supersedes #13131 .
Ideally we would have added `setTitleBarStyle()`, but that is a
significantly more involved change. For example, consider the case where
we switch from `hidden` to `normal`. We would not only have to show the
traffic light buttons, we would also have to switch the window from a
frameless to a framed window and deal with various other window state.
Lets instead implement a simple solution for #12701 .
2018-07-25 10:12:27 -07:00
Birunthan Mohanathas
39ff5100bf
fix: Use --enable-features and --disable-features
...
Unlike Chrome, we were not using the --enable-features and
--disable-features command-line arguments to initialize
`base::FeatureList`.
2018-07-25 19:07:49 +02:00
Birunthan Mohanathas
00c0c180ab
build: Bump libcc to latest
...
This picks up electron/libchromiumcontent#609 .
2018-07-25 09:52:57 -07:00
Aleksei Kuzmin
3b2424b4c8
docs: update an estimate of how much we are behind Chromium
2018-07-25 16:35:17 +02:00
Jeremy Apthorp
a01b4d78a4
build: [gn] link dwmapi in component build ( #13773 )
2018-07-25 11:21:36 +10:00
Zeke Sikelianos
89a9ccab8b
docs: clarify default auto-updater installation behavior ( #12783 )
...
* docs: clarify default auto-updater installation behavior
* remove redundant note
2018-07-25 08:33:53 +10:00
Jeremy Apthorp
76a62b44dc
build: [gn] simplify resource pak build
2018-07-24 10:18:27 -07:00
Aleksei Kuzmin
ea16445be7
chore: [tests] update some BrowserWindow tests
...
- manually close an existing windows before creating a new one.
We have to do it because the `afterEach` hook doesn't get called
if a test fails.
- add some async/await goodies
2018-07-24 10:02:54 -07:00
Cheng Zhao
3094f62f0b
fix: use webContentsId with contextId together ( #13749 )
...
After after using `processId-contextCounter` as contextId, it may happen
that contexts in different WebContents sharing the same renderer process
get the same contextId. Using webContentsId as part of key in
ObjectsRegistry can fix this.
2018-07-24 16:21:38 +09:00
Jeremy Apthorp
d7b41462af
build: [gn win] fix dllimport usage in node's usage of icu
...
We're abusing the nodejs build a little bit by building it without ICU support, but forcing the inspector to be built, which depends on ICU. This synchronizes one of the build flags that's required to get ICU to link on Windows.
2018-07-23 10:11:32 -07:00
Cheng Zhao
305e3aad40
refactor: remove private webContents.getId() API ( #13674 )
2018-07-23 18:08:36 +09:00
Cheng Zhao
a88cdf2d1f
spec: suppress mixed-sandbox test in Windows CI ( #13769 )
2018-07-23 18:08:06 +09:00
Cheng Zhao
9d6f1a372e
fix: create WebContents for webview on request ( #13713 )
2018-07-21 11:11:28 +09:00
Jeremy Apthorp
014832237c
Merge pull request #13747 from nornagon/nornagon/gn-ci-builds
...
build: [ci] add GN linux CI build
2018-07-20 16:08:45 -07:00
Jeremy Apthorp
4918e279e2
build: stop defining is_mas_build ( #13742 )
...
is_mas_build is now defined in libcc.
2018-07-20 14:34:12 -07:00
Jeremy Apthorp
77004c6be8
Update DEPS
2018-07-20 14:33:51 -07:00
Jeremy Apthorp
1aa16d0ac0
build: [gn win] fix webrtc link error
...
Fixes link errors of the form
```
init_webrtc.lib(init_webrtc.obj) : error LNK2005: "class webrtc::metrics::Histogram * __cdecl webrtc::metrics::HistogramFactoryGetCounts(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int,int,int)" (?HistogramFactoryGetCounts@metrics@webrtc@@YAPAVHistogram@12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHH@Z) already defined in metrics_default.obj
```
2018-07-20 14:30:14 -07:00
John Kleinschmidt
6b3ee233ff
Use actual binary instead of python wrapper
2018-07-20 17:07:31 -04:00
John Kleinschmidt
856483fe61
Add sccache
...
Also removed unneeded slack notifcations
2018-07-20 16:29:57 -04:00
John Kleinschmidt
004abe3ce8
build: [ci] add GN linux CI build
2018-07-20 13:02:28 -07:00
Tiago Danin
1fd6d38a0a
docs: Improved documentation ( #13403 )
2018-07-20 10:58:19 -07:00
John Kleinschmidt
2440d03595
Merge pull request #13739 from electron/fix-rebuild-native-modules
...
fix: update rebuild-test-modules.py for node 10
2018-07-20 11:20:32 -04:00
John Kleinschmidt
af241c8b4b
Merge pull request #13748 from electron/gn-win32
...
build: [gn] working on 32bit windows
2018-07-20 10:25:04 -04:00
John Kleinschmidt
d757e03d86
Merge pull request #13746 from electron/gn-refactor
...
build: [gn] reorganize :electron_lib target
2018-07-20 10:10:47 -04:00
Jeremy Apthorp
16b66db9c7
build: [gn] working on 32bit windows
2018-07-19 17:04:44 -07:00
Jeremy Apthorp
803f84d7ec
build: [gn] reorganize :electron_lib target
2018-07-19 16:30:23 -07:00
Zeke Sikelianos
a2ac31a4bf
Merge pull request #13736 from electron/build--make-nightly-filenames-more-guessable-with-YMD-format
...
build: make nightly filenames more guessable with YMD format
2018-07-19 16:23:11 -07:00
Jeremy Apthorp
9fff635453
build: stop defining is_mas_build
2018-07-19 16:10:16 -07:00
Zeke Sikelianos
9b91d632e0
build: make nightly filenames more guessable with YMD format
2018-07-19 14:12:12 -07:00
John Kleinschmidt
3247d789f2
Merge pull request #13737 from electron/build--do-not-load-dotenv-on-CI
...
chore(ci): do not load dotenv on CI
2018-07-19 15:32:10 -04:00
John Kleinschmidt
f8b646c90a
Merge pull request #13543 from electron/ajm-win7-crash
...
Ensure DirectX capturer is supported.
2018-07-19 15:11:42 -04:00
Zeke Sikelianos
94ea703a32
build: do not load dotenv on CI
2018-07-19 11:48:13 -07:00
Jeremy Apthorp
f2a7fd44ce
build: enable v8 checks in debug mode
2018-07-19 11:39:36 -07:00
Cheng Zhao
e2029435c4
fix: use context counter as contextId
...
For sandboxed renderer it may not have a node::Environment in the context,
using a increasing counter as contextId works for all cases.
2018-07-19 11:00:10 -07:00
John Kleinschmidt
3f228ad715
fix: update for node 10
2018-07-19 13:18:10 -04:00
John Kleinschmidt
9acfe34286
Merge pull request #13724 from electron/windows-release-test-fix
...
build: Temporarily disable found-in-page event test
2018-07-18 21:31:30 -04:00
John Kleinschmidt
f1cc40e3bf
Merge pull request #13359 from electron/release-notes-generator
...
build: New release notes generator
2018-07-18 16:19:32 -04:00
John Kleinschmidt
1d6766008a
Merge pull request #13725 from electron/node-headers
...
build: [gn] add target for building node headers
2018-07-18 16:16:18 -04:00
Jeremy Apthorp
70068f313a
build: [gn] add target for building node headers
2018-07-18 12:01:16 -07:00
John Kleinschmidt
613b03c3c7
build: disable found-in-page event test
...
On Windows release builds, the found-in-page event test causes the test suite to hang. If the test is run individually, it works fine, but running it as part of the whole test suite causes the test suite to hang. This works around the issue in #13704 by temporarily disabling that test.
2018-07-18 14:59:46 -04:00
John Kleinschmidt
fc33130aa3
Merge pull request #13672 from brunolemos/patch-1
...
docs: remove known issues from mac app store submission guide
2018-07-18 14:44:50 -04:00
Samuel Attard
f26880db03
Update docs on semantic requirements for #13359 ( #13365 )
2018-07-18 10:41:58 -05:00
Jeremy Apthorp
91172d6387
build: [gn] move native_mate build config to native_mate dir ( #13706 )
2018-07-18 11:45:13 +10:00
Jeremy Apthorp
0c366f5a7a
chore: [gn] roll libcc DEPS
2018-07-17 15:54:58 -07:00
Samuel Attard
81640806bc
add semantic prefixes from docs
2018-07-18 02:25:56 +10:00
Samuel Attard
57a18d4c49
clean up release notes script
2018-07-18 02:25:56 +10:00
Samuel Attard
2c255680a9
new release notes generator
2018-07-18 02:25:56 +10:00
John Kleinschmidt
05538aa32c
Merge pull request #13629 from electron/use-dot-env
...
docs: use .env (and .env.example) for tokens used in release
2018-07-17 11:57:42 -04:00
John Kleinschmidt
6edbb3e3ed
Merge pull request #13662 from electron/nightly-updates
...
chore: Updates for nightly builds
2018-07-17 11:13:20 -04:00
John Kleinschmidt
3581bf0cfc
Merge pull request #13688 from electron/gn-custom-sysroot
...
build: [gn] use libnotify from custom sysroot
2018-07-17 09:22:49 -04:00
Milan Burda
c8030a0f2a
feat: support chrome:// URLs in default_app ( #13575 )
2018-07-17 17:23:44 +10:00
Samuel Attard
c313fd614c
build: handle win32 path separator in js2asar ( #13694 )
2018-07-17 15:31:06 +10:00
Samuel Attard
777d0113d5
fix: create a window capturer correctly ( #13689 )
...
* fix: create a window capturer correctly
We were incorrectly creating two screen capturers instead of a window
capturer
* spec: ensure dc tests pass
* spec: enable all tests after verifying dc tests work
2018-07-17 14:20:50 +10:00
Samuel Attard
ad9e64d086
fix: remove race condition for executeJavaScript ( #13691 )
...
Replaces 'did-finish-load' with 'did-stop-loading' which semantically
maps to the events inside Chromium. Before I think we were relying
on a natural 99% winnable race condition.
Fixes #13504
2018-07-17 13:32:28 +10:00
Jeremy Apthorp
5864fa321c
build: [gn] use libnotify from custom sysroot
...
Instead of hackily copying from the local machine.
Depends on electron/libchromiumcontent#601
2018-07-16 17:33:42 -07:00
Samuel Attard
12fcac59a2
refactor: clean up the default app, add CSP ( #13437 )
...
* refactor: clean up the default app, add CSP
* chore: appease the linter
* refactor: make js2asar more generic, dont assume default_app as target
2018-07-17 10:26:58 +10:00
John Kleinschmidt
1c70a1cccd
Make sure artifacts are properly saved for nightly release builds
...
Also fix VSTS slack integration and make sure tests don't run for GitHub releases.
Update to latest libchromiumcontent
2018-07-16 17:07:48 -04:00
Shelley Vohr
6045d1218a
refactor: remove experimentalCanvasFeatures property ( #13684 )
2018-07-16 13:32:42 -07:00
John Kleinschmidt
cc03213b62
Merge pull request #13664 from electron/tweak-release-docs
...
docs: update release docs from Fri 13 release session
2018-07-16 16:22:30 -04:00
John Kleinschmidt
1b5b98212d
chore: Don't show download stats of libchromiumcontent for CI. ( #13681 )
...
* Update libcc to latest
* Pass along verbose mode to libcc download
2018-07-16 11:19:53 -07:00
John Kleinschmidt
55ba113678
Merge pull request #13685 from electron/roll-libcc
...
chore: roll libcc DEPS
2018-07-16 13:17:54 -04:00
Jeremy Apthorp
399fe7248f
chore: roll libcc DEPS
2018-07-16 09:57:58 -07:00
Samuel Attard
b44e7fb1f1
docs: update second-instance event docs ( #13656 )
2018-07-16 09:59:44 -05:00
John Kleinschmidt
5764d76efa
Fix formatting
...
Add alternate url for security token (depends on whether you are using new or old navigation on VSTS)
2018-07-16 10:39:31 -04:00
John Kleinschmidt
ede6fd91d0
Merge pull request #13673 from electron/fix-frameless-devtools-crash
...
Fix crash when opening devtools for frameless window
2018-07-16 09:39:16 -04:00
Cheng Zhao
222291631d
spec: openDevTools should not crash for frameless window
2018-07-16 10:23:43 +09:00
Cheng Zhao
4a7c85f43e
fix: use InspectableWebContentsView as content view
2018-07-16 10:20:35 +09:00
Bruno Lemos
f23d6fc107
docs: remove known issues from mac app store submission guide
...
not necessary since #10552
2018-07-15 17:45:50 -03:00
Jeremy Apthorp
5b81fde8a7
build: [gn win] link comctl32.lib to fix component build
2018-07-13 17:21:49 -07:00
John Kleinschmidt
87f34ccda4
Update Windows VS2017 requirement ( #13663 )
2018-07-13 17:43:27 -05:00
Charles Kerr
3653730cba
Add post-publish 'npm dist-tag ls electron' step
2018-07-13 16:17:02 -05:00
John Kleinschmidt
6ea0e73b47
Merge branch 'master' into use-dot-env
2018-07-13 16:02:49 -04:00
Charles Kerr
da92abf964
document ELECTRON_S3_ tokens
2018-07-13 14:42:36 -05:00
Charles Kerr
452b5f342c
add note about multiple calls to validateRelease
2018-07-13 14:17:31 -05:00
Charles Kerr
02d072ed9d
fix VSTS token generation URL
2018-07-13 13:47:40 -05:00
John Kleinschmidt
539b554ecc
Merge pull request #13578 from electron/miniak/refactoring
...
refactor: statically link functions available on Windows 7+
2018-07-13 10:52:37 -04:00
John Kleinschmidt
d4486b0fc4
Merge pull request #13660 from Tomyail/patch-1
...
docs: using chrome://flash to get the flash path
2018-07-13 10:49:15 -04:00
Lxx
b7bc16b39a
docs: using chrome://flash to get the flash path
...
chrome://about no longer works , so we should use chrome://flash instead.
2018-07-13 22:10:04 +08:00
Cheng Zhao
77ca5b7d64
fix: don't invoke callback after FrameSubscriber is destroyed ( #13657 )
2018-07-13 19:54:49 +10:00
PalmerAL
ffc15e02a6
fix: add native function to create preload script ( #13032 )
...
* add native function to create preload script
* add tests
* fix formatting
* fix tests
* rerun CI
2018-07-13 11:17:11 +09:00
Milan Burda
5b0a898dd2
refactor: SHOpenFolderAndSelectItems does not have to be dynamically resolved
2018-07-12 22:28:44 +02:00
Milan Burda
adaa32003d
refactor: DwmGetColorizationColor does not have to be dynamically resolved
2018-07-12 22:28:44 +02:00
John Kleinschmidt
e922b1733b
Merge pull request #13636 from nornagon/gn-release
...
build: [gn] release build
2018-07-12 10:45:21 -04:00
John Kleinschmidt
6b5ccec0c6
chore: Updates for release process ( #13632 )
...
* Fix Appveyor URL
* Update docs to reflect current process
Also added troubleshooting steps.
2018-07-12 07:53:07 -05:00
John Kleinschmidt
facb210f64
Merge pull request #13494 from electron/expect-short-specs
...
chore(spec): convert smaller specs to expect
2018-07-12 08:45:34 -04:00
John Kleinschmidt
9c2287c142
Merge pull request #13635 from electron/node-win32-lean-and-mean
...
build: [gn] define WIN32_LEAN_AND_MEAN in the node build
2018-07-12 08:25:25 -04:00
John Kleinschmidt
f634bbcd99
Merge pull request #13634 from electron/node-clang
...
build: [gn] build node with clang-cl
2018-07-12 08:22:50 -04:00
John Kleinschmidt
fded6e7d0b
Merge pull request #13639 from torycl/torycl/current-master-libcc
...
chore: use current master of libcc to include recent patches
2018-07-12 08:18:31 -04:00
Felix Rieseberg
deedf6c3f4
feat: Add isCurrentlyAudible() to WebContents ( #13614 )
...
* 🔧 Add isCurrentlyAudible() to WebContents
* ❤️ Implement feedback, use await to wait for event
* 👷 Add missing imports
2018-07-12 21:35:11 +10:00
Tomas Rycl
d352e6dc9e
Using current master of libcc to include recent patches
2018-07-12 10:39:28 +02:00
Cheng Zhao
e90c4abc0d
Merge pull request #13603 from electron/fix-remote
...
fix: guard against double-freeing remote references
2018-07-12 11:10:22 +09:00
Cheng Zhao
4cdb1b8fc3
fix double-freeing remote references
...
After the page does navigations, garbage collection can still happen in
the old context. This commit changes to store references to remote objects
by _pages_, instead of by _WebContents_.
2018-07-12 10:44:26 +09:00
Cheng Zhao
9cbbb2a6c4
add API to return an unique ID for page
2018-07-12 10:44:26 +09:00
Jeremy Apthorp
6089254439
build: [gn linux] link static libs for node release build
2018-07-11 18:11:48 -07:00
Jeremy Apthorp
aa4982d830
build: [gn] define WIN32_LEAN_AND_MEAN in the node build
2018-07-11 17:52:18 -07:00
Jeremy Apthorp
097daa6e32
build: [gn] build node with clang-cl
2018-07-11 17:51:35 -07:00
Zeke Sikelianos
2bb970b98e
remove asserts that were obviated by dotenv
2018-07-11 13:56:40 -07:00
Zeke Sikelianos
4f9b8d5d5a
clarify purpose of .env.example
2018-07-11 12:55:15 -07:00
Jeremy Apthorp
98f944c807
build: [gn] link child as well as browser in electron_lib
2018-07-11 11:32:17 -07:00
Zeke Sikelianos
849cddf4be
update tokens portion of releasing docs
2018-07-11 11:02:41 -07:00
Zeke Sikelianos
823f03c1ff
load .env in various release scripts
2018-07-11 11:02:03 -07:00
Zeke Sikelianos
5a796f62ab
add .env.example
2018-07-11 11:00:21 -07:00
Jeremy Apthorp
c44cf88a6e
build: [gn] fix include_dirs ordering error
2018-07-11 10:49:17 -07:00
Jeremy Apthorp
af7800bab1
build: [gn mac] only link libnode.dylib in component build
2018-07-11 10:46:48 -07:00
Jeremy Apthorp
7bec61bac5
build: [gn] fix dllimport warnings
2018-07-11 10:45:21 -07:00
Jeremy Apthorp
03131c5e77
build: [gn] node as a static lib
2018-07-11 10:43:52 -07:00
Jeremy Apthorp
98255ee413
chore: roll libcc DEPS
2018-07-11 10:39:01 -07:00
Jeremy Apthorp
bdceea6aca
fix: enable spell checking, which broke in upgrade to ch66
...
Chromium commit [03563dd163][1] changed the way that the
spellcheck-enabled status was checked, defaulting to false.
Added the first (!) test for spellchecking, too.
Fixes #13608 .
[1]: 03563dd163
2018-07-11 10:27:56 -07:00
Jeremy Apthorp
6fbec9d5a9
chore: [gn] support MAS build
2018-07-11 10:25:07 -07:00
Samuel Attard
addac43bbc
fix: remember the render_process_id when permission requests occur on the IO thread ( #13621 )
...
Fixes #13620
2018-07-11 12:21:47 -05:00
John Kleinschmidt
376094fc0c
Merge pull request #13515 from nornagon/gn-linux
...
chore: [gn] fix linux build
2018-07-11 08:02:42 -04:00
Shelley Vohr
d5d76c56ed
address feedback
2018-07-10 14:20:03 -07:00
Jeremy Apthorp
9241645a4b
build: [gn] depend on /gtk instead of /gtk3
...
(We still depend on gtk3, just via one extra layer of abstraction. The
/gtk target itself depends on /gtk3.)
2018-07-10 13:42:41 -07:00
Jeremy Apthorp
62f62264da
build: [gn] move crashpad to mac-only
2018-07-10 13:42:40 -07:00
Jeremy Apthorp
1e1adef9b6
build: [gn] use clang and custom stdlib when building node on linux
2018-07-10 13:42:36 -07:00
Jeremy Apthorp
d4cf3cee22
build: [gn] use platform-appropriate shlib_suffix when building node
2018-07-10 13:42:33 -07:00
Jeremy Apthorp
99ecbfbd3b
build: [gn] use consistent node configuration between gyp and build
2018-07-10 13:42:29 -07:00
John Kleinschmidt
4ebe71655b
Merge pull request #13597 from electron/release-updates
...
build: Updates to the release process
2018-07-10 11:40:04 -04:00
Jeremy Apthorp
3a58545a59
chore: replace _ASSERT with DCHECK in toast.cc ( #13598 )
...
_ASSERT was triggering errors about unused values when in debug mode
2018-07-10 08:01:26 -07:00
John Kleinschmidt
2040095b96
Move github release checking to node.js
...
Our upload script was relying on an old python script to find the GitHub release for uploading.
2018-07-10 09:40:24 -04:00
John Kleinschmidt
90339b7260
Update to run new AppVeyor jobs
...
AppVeyor builds got split into two jobs, `electron-x64` and `electron-ia32`
2018-07-10 09:40:24 -04:00
John Kleinschmidt
bc2ea0e705
Merge pull request #13540 from electron/breakpad-compat
...
chore: breakpad #include compatibility between GN and GYP
2018-07-10 08:30:56 -04:00
Tomas Rycl
9b6a37ead7
test: Better path compare than just strings ( #13548 )
...
* Better path comparision than just strings
* Linter fix
* Resolving paths first to always obtain absolute path so path.relative() can work
* Using assert.ok which better fits the test
* No need to resolve parameters of path.resolve
* Added assertion to type of returned path for download item
2018-07-10 21:38:11 +10:00
Cheng Zhao
0ec4ad288d
fix: fallback to FullSizeContentView for frameless window on mac ( #13599 )
...
fix: draggable regions not working on macOS
2018-07-10 11:43:42 +10:00
Jeremy Apthorp
810909425e
chore: breakpad #include compatibility between GN and GYP
2018-07-09 16:53:06 -07:00
John Kleinschmidt
28d4f7f25a
Update to latest libchromiumcontent ( #13594 )
2018-07-10 09:49:00 +10:00
Shelley Vohr
ab7a90e82f
feat: ability to apply patch to clang-format errors ( #13576 )
...
* feat: ability to apply patch to clang-format errors
* improve error message formatting
* fix line length linting error
2018-07-09 10:26:10 -05:00
Cheng Zhao
35b867ff7d
Fix failed devtools tests due to fs.statSyncNoException not working ( #13584 )
...
* Revert "spec: disable the i18nString test"
This reverts commit 86c79653de .
* update node to fix fs.statSyncNoException
2018-07-09 09:38:48 -05:00
John Kleinschmidt
17fc7bb9fd
Merge pull request #13567 from electron/nightly-release-notifications
...
ci: Add/update slack notifications for nightly builds
2018-07-06 15:20:29 -04:00
Jeremy Apthorp
f50f8e3f3d
chore: [gn] fix CSP warning in debugger API test ( #13541 )
...
There's an attempt to suppress the warning in `spec/static/main.js`, which
sets `process.env.ELECTRON_DISABLE_SECURITY_WARNINGS`. However, it sets the
variable too late in the boot process: by the time that line in main.js has
run, a child zygote has already been booted. `test.py` works around this by
setting that environment variable outside of the test process, to ensure that
it gets propagated to all children.
I've been running the GN tests directly with `./out/Default/electron
electron/spec`, rather than through the wrapper script, and the
`api-debugger-spec.js` tests were failing, because they depend on a particular
log message being the first one emitted, and the CSP warning was causing that
test to fail, since it wasn't being correctly suppressed.
Instead of writing another wrapper script, this just fixes the underlying thing
that the warning is complaining about, which I think is reasonable because the
test's pass/fail depends on this specific behaviour.
2018-07-06 15:01:33 -04:00
John Kleinschmidt
368da14581
Add/update slack notifications
...
Add slack notifications for CircleCI nightly releases
Update VSTS slack notifications to match other platforms.
2018-07-06 10:23:31 -04:00
Cheng Zhao
dd46b3ec85
Merge pull request #13562 from electron/fix-devtools
...
Fix devtools not functioning well
2018-07-06 10:11:43 +09:00
Cheng Zhao
86c79653de
spec: disable the i18nString test
...
It is failed because of fs.statSyncNoException, I'll fix it in another
PR.
2018-07-06 09:07:56 +09:00
Cheng Zhao
56c24406d6
spec: enable back devtools tests
2018-07-06 09:07:56 +09:00
Cheng Zhao
61ea03ed2d
fix: update devtools url
2018-07-06 09:07:56 +09:00
Cheng Zhao
705bbd31e9
add stubs for new devtools messages
2018-07-06 09:07:56 +09:00
Cheng Zhao
29ff9873f4
implement devtools showItemInFolder message
2018-07-06 09:07:56 +09:00
John Kleinschmidt
5aa136a23d
run test.py with --rebuild_native_modules ( #13570 )
...
Fixes script\verify-ffmpeg crash
2018-07-05 16:53:11 -05:00
Andrew MacDonald
7639e4a32a
Actually try building on Windows.
2018-07-03 01:03:05 -07:00
Andrew MacDonald
68541f2ae8
Ensure DirectX capturer is supported.
2018-07-02 21:37:10 -07:00
Cheng Zhao
cb6ab4de20
fix: update libcc to fix private APIs in mas build ( #13529 )
2018-07-03 11:24:43 +09:00
Hari Juturu
eb223f8bc3
Enable webview in sandbox renderer ( #13435 )
...
* Enable webview in sandbox renderer
Security: Inherit embedder prefs onto webview
* cache lastwebprefs
2018-07-03 02:06:26 +10:00
Shelley Vohr
42d173b343
spec: convert menu specs to expect ( #13485 )
...
* spec: convert menu-item spec to expect
* spec: convert menu spec to expect
2018-06-30 00:25:28 -07:00
Maxine Whitely
6cf68f8247
fix: tray setContextMenu crash ( #13513 )
...
Co-authored-by: Zhuo Lu <sethlu@mintkit.net >
Co-authored-by: Kristine Zhang <kzhang@slack-corp.com >
2018-06-29 14:48:26 -07:00
Jeremy Apthorp
67673cbf7f
chore: fix chromium-style errors in native_mate
...
Also clang-format some stuff.
2018-06-29 12:01:09 -07:00
Jeremy Apthorp
180b41ab73
chore: [gn] use merged-in native_mate
2018-06-29 12:01:09 -07:00
Jeremy Apthorp
3d4487ccfd
Merge pull request #13463 from electron/remove_wtl
...
refactor: Using win32 file open api instead of WTL
2018-06-29 10:00:50 -07:00
Jeremy Apthorp
1186f082db
chore: [gn] roll libcc & node deps ( #13508 )
2018-06-29 09:24:58 -07:00
Jeremy Apthorp
9525c94b5e
chore: [gn] remove now-meaningless skia-related #defines ( #13496 )
...
`SK_SUPPORT_LEGACY_GETTOPDEVICE` was removed in [Jan 2017](https://chromium.googlesource.com/skia/+/76467a11a0aa4ba15f0f2e3ee078ba9b6ecbaa91 )
`SK_SUPPORT_LEGACY_SAFESIZE64` was removed in [Oct 2017](https://chromium.googlesource.com/skia/+/3bd0fece5fadd522c2e8c1b0ca9934d7455d9ccd )
2018-06-29 08:36:20 -07:00
Zac Walker
05096f8a65
Removed WTL include folder
2018-06-29 13:26:46 +02:00
Cheng Zhao
e42c6d3eb7
fix the crash when loading site with jquery ( #13475 )
2018-06-29 09:42:04 +09:00
Shelley Vohr
9489401e7d
spec: convert smaller specs to expect
2018-06-28 15:40:30 -07:00
Jeremy Apthorp
8ad3a2cc42
chore: [gn] add electron_app target for windows ( #13491 )
...
This allows building electron.exe on windows 🎉
2018-06-28 14:58:43 -07:00
Jeremy Apthorp
59fb4eccb4
chore: [gn] link against debug node when in debug mode ( #13490 )
...
This is required on Windows, because in Debug mode, C++ stdlib containers have a different size to when in Release mode, so the code in `node.dll` thought that `node::Environment` was a different size to the code in `electron.exe`, which uh, caused problems.
It should also make debugging through node a bit easier on all platforms.
2018-06-28 14:42:09 -07:00
Jeremy Apthorp
733e495e91
chore: use full path for ui_unscaled_resources.h ( #13492 )
...
This is the path that resolves in Chromium, it also works fine in the gyp build.
2018-06-28 14:41:37 -07:00
Jeremy Apthorp
475eef01c3
chore: [gn] copy node.dll in addition to node.dll.lib ( #13489 )
...
On Windows, you need to link against the `.lib` but the `.dll` needs to be next to the `.exe` at runtime, so we need to copy both.
2018-06-28 14:25:56 -07:00
Jeremy Apthorp
6492732631
chore: [gn] fix link errors relating to static members ( #13488 )
...
I'm not 100% sure why this is working in the gyp build, but I was getting link errors with these variables being defined in the headers.
2018-06-28 14:25:26 -07:00
Jeremy Apthorp
d6af3bfcd2
chore: fix more chromium-style errors in windows code ( #13487 )
...
Finding more chromium-style linting errors as I build more of the windows code :)
2018-06-28 14:20:11 -07:00
Shelley Vohr
003a92e099
refactor: remove deprecated GetAs methods ( #13425 )
...
* refactor: remove deprecated GetAs methods
* restructure URLRequestAsyncAsarJob on win
* fix: add string conversion header
2018-06-27 14:52:48 -07:00
Shelley Vohr
fa0704665f
test: temporarily disable failing specs ( #13470 )
2018-06-27 14:15:24 -07:00
Jeremy Apthorp
4f8acb0cdd
docs: add link to Chromium windows debugging docs
...
I found this tidbit in particular helpful:
```sh
> devenv /debugexe out\Debug\chrome.exe <options to Chromium can go here>
```
2018-06-27 23:06:30 +02:00
Samuel Attard
92588be2bd
refactor: add promise helper and change whenReady to be native impl ( #13115 )
...
* Add promise helper and change whenReady to be native impl
* remove commented code
* add GetInner helper to dedupe promise code
* add Promise.reject helper to be consistent with JS
* fix linting
* update promise impl per feedback
* remove param name from unused isolate
* Use non-depreceated resolvers for promises
* Add thread dchecks for promise helper, intiialize promise pointer to nullptr
2018-06-27 16:06:08 -05:00
Shelley Vohr
e9971173d4
fix: inline vector allocation ( #13449 )
...
* fix: inline vector allocation
* remove size_t static cast
2018-06-27 12:57:10 -07:00
zacwalk
9db76394f7
Link gdi from gyp
2018-06-27 20:58:37 +02:00
Zac Walker
8151c90c6b
Fix warnings as error fixes.
2018-06-27 16:28:12 +02:00
Zac Walker
f122c44b07
Using win32 file open dialogs instead of WTL
2018-06-27 13:09:18 +02:00
Samuel Attard
28d148b475
docs: add native_mate to source code directory structure doc ( #13451 )
2018-06-27 17:46:14 +10:00
Shelley Vohr
f9e2ec43d0
fix: deprecate properties in app.getAppMetrics() ( #13446 )
...
* fix: deprecate properties in app.getAppMetrics()
* address feedback from review
* fix deprecated property location
* simplify test
2018-06-26 23:47:01 -07:00
Milan Burda
08ccc2d624
refactor: rpc-server.js cleanup ( #13420 )
...
* refactor: don't declare variables C-style in JavaScript
* refactor: use new constructor(...args) in rpc-server.js
2018-06-27 11:00:05 +10:00
Cheng Zhao
44aad039c6
fix: do not expose Node's external strings ( #13438 )
2018-06-27 10:18:09 +10:00
Shelley Vohr
1dde9492c9
refactor: remove deprecated CreateWithCopiedBuffer ( #13436 )
...
* refactor: remove deprecated CreateWithCopiedBuffer
* fix: add missing vector includes
* fix std::vector<char> allocation
2018-06-26 15:08:27 -07:00
Jeremy Apthorp
39e6943f1e
chore: [gn] changes to BUILD.gn for windows ( #13434 )
...
Grab basket of changes needed to get the `electron_lib` target building on Windows with GN.
2018-06-26 22:58:20 +02:00
Jeremy Apthorp
4b60efcaf8
chore: [gn] fix WTL include paths and namespace include ( #13433 )
...
As of libchromiumcontent#576, the WTL namespace isn't included by
default in the GN build.
2018-06-26 22:57:40 +02:00
Jeremy Apthorp
2d9a491771
chore: [gn] correct library paths for node on windows ( #13429 )
...
For some reason the windows node build needs `.dll` on the ends of these libraries, and also needs to be linked against `dbghelp`.
Additionally, copy the `WHOLEARCHIVE` hacks from common.gypi, which was doing the same thing.
2018-06-26 22:57:05 +02:00
Alexey Kuzmin
f4039d82c3
spec: rewrite and enable a webview's disableguestresize attr test ( #13428 )
2018-06-26 08:38:04 -07:00
Jeremy Apthorp
4255384abc
chore: [gn] remove vendor/ from windows include paths ( #13432 )
2018-06-26 15:03:56 +10:00
Jeremy Apthorp
418c4e170c
chore: [gn] only define WIN32_LEAN_AND_MEAN if not already defined ( #13430 )
...
Chromium's GN build already defines `WIN32_LEAN_AND_MEAN` and `NOMINMAX` (see [build/config/win/BUILD.gn](dbe762aaff/build/config/win/BUILD.gn (515) ) in chrome), so we don't need to define them ourselves. Left as #ifndefs so as not to break the gyp build.
2018-06-26 02:00:50 +02:00
Jeremy Apthorp
78bc1081fd
chore: fix some more warnings in windows build ( #13431 )
...
Remove an unused function and fix an int type comparison warning. Only showed up when building with GN.
2018-06-26 02:00:20 +02:00
Jeremy Apthorp
6f91af9343
chore: fix various chromium-style errors in windows ( #13394 )
...
These errors weren't previously picked up because the GN build wasn't running on Windows.
2018-06-25 22:30:00 +02:00
Shelley Vohr
1c64ac8c41
fix: repair fs.statSyncNoException throwing exceptions ( #13390 )
2018-06-23 00:01:28 -07:00
Samuel Attard
a96fc9170c
Merge pull request #13379 from electron/native-mate-in-electron
...
Merge native_mate into electron/electron
2018-06-23 02:00:58 +10:00
John Kleinschmidt
1c4d20eb94
Merge pull request #13322 from electron/pepper_flash_feature
...
build: move pepper flash behind feature flag
2018-06-22 11:58:10 -04:00
John Kleinschmidt
a971cbf57d
Merge pull request #13377 from electron/chromium-style-win
...
chore: fix chromium-style errors in windows code
2018-06-22 11:46:29 -04:00
John Kleinschmidt
8b6d4b6f0e
Merge pull request #13376 from electron/gn-windows-deps
...
chore: [gn] fix DEPS to work on windows
2018-06-22 10:53:36 -04:00
Samuel Attard
d068ff3afb
fix linting
2018-06-22 13:43:39 +10:00
Samuel Attard
daa64e21f6
rename back to expected values
2018-06-22 11:42:55 +10:00
Samuel Attard
ea4a497442
move native_mate script to the electron scripts dir
2018-06-22 11:38:36 +10:00
Samuel Attard
b6f063d954
update paths for native_mate
2018-06-22 11:36:03 +10:00
Samuel Attard
8b31886c77
remove native_mate submodule
2018-06-22 11:35:14 +10:00
Samuel Attard
d04cdbb367
Merge 'native_mate' into 'electron'
2018-06-22 11:32:08 +10:00
Samuel Attard
4cada5e845
prepare for merging to electron
2018-06-22 11:29:57 +10:00
Jeremy Apthorp
43c1a7778d
chore: fix chromium-style errors in windows code
2018-06-21 16:50:58 -07:00
Jeremy Apthorp
0660fb3f25
chore: [gn] fix DEPS to work on windows
2018-06-21 16:43:41 -07:00
Jeremy Apthorp
57d365a9f4
Update build-instructions-windows.md
2018-06-21 12:10:33 -07:00
Jeremy Apthorp
aa4ca406c8
chore: update GN build for chrome 66
2018-06-21 11:30:43 -07:00
deepak1556
337cb7910e
update libcc ref
2018-06-21 22:32:22 +05:30
Zeke Sikelianos
4a7dda7c45
Merge pull request #13366 from c960657/patch-1
...
docs: fix links to webview API doc
2018-06-21 09:10:31 -07:00
Jeremy Apthorp
f4d0cef619
chore: [gn] remove gclient hook for node config.gypi ( #13354 )
2018-06-22 00:44:19 +10:00
Alexey Kuzmin
10a174fc6a
spec: refactor helper closeWindow() function ( #13337 )
2018-06-22 00:43:15 +10:00
Alexey Kuzmin
b9da1575f0
spec: enable a disabled test ( #13346 )
2018-06-22 00:42:55 +10:00
Christian Schmidt
cdd2bab7d5
Fix links to webview.md
2018-06-21 16:39:07 +02:00
Samuel Attard
e15ffd96eb
Merge pull request #30 from electron/chromium-66-upgrade
...
Chromium 66 Updates
2018-06-21 22:35:49 +10:00
deepak1556
5e2406081e
build: move pepper flash behind feature flag
2018-06-21 17:02:12 +05:30
Jeremy Apthorp
8ccb5cc6eb
chore: Annotate fallthrough switch paths with FALLTHROUGH
...
The compiler was throwing errors about unannotated fallthroughs when
building with GN.
2018-06-20 14:38:18 -07:00
Jeremy Apthorp
3f40e93ba7
chore: fix chromium-style errors in frame_subscriber
...
The chromium-style linter we run in the GN build was throwing errors
about these issues.
2018-06-20 14:14:11 -07:00
Jeremy Apthorp
99b4aac979
chore: Roll DEPS for chrome 66 in GN build
2018-06-20 14:13:43 -07:00
Milan Burda
122d00f415
Revert "Drop support of Mac OS 10.9" ( #13348 )
...
This reverts commit efa0ec0263 .
2018-06-20 13:40:18 -07:00
The Moses
6ecd8077e5
Fix broken link of electron-builder ( #13341 )
2018-06-20 09:42:46 -05:00
John Kleinschmidt
552399af2f
Merge pull request #13334 from electron/mas-fix-linking
...
Fix linking error for MAS build
2018-06-20 09:59:46 -04:00
John Kleinschmidt
55d1dde0f7
Merge pull request #13327 from electron/fix-tls
...
fix: tls check shouldnt rely on an external service
2018-06-20 08:59:45 -04:00
Samuel Attard
79fbd6bab1
Revert "fix: Drop support for OS X Mavericks (version 10.9)" ( #13333 )
2018-06-20 07:27:55 -05:00
Cheng Zhao
2b080ab575
fix: link with crashpad_client for MAS build
2018-06-20 20:50:56 +09:00
Felix Rieseberg
562eddf0e9
test: Upgrade spec dependencies ( #13310 )
...
* 📦 Update mocha, mocha-junit-reporter
* 📦 Update graceful-fs, multiparty, q, walkdir
* 📦 Update basic-auth
* 📦 Update ws
* 📦 Update dbus-native
* 📦 Upgrade yargs
* 🔒 Run `npm audit fix`
* 🔧 Fix websocket API change
2018-06-20 17:18:24 +10:00
Samuel Attard
436b124fc8
fix linting in the tls script'
2018-06-20 17:12:09 +10:00
Samuel Attard
0ca2496481
fix: tls check shouldnt rely on an external service
2018-06-20 17:05:43 +10:00
Husayn
1a8c986fb1
set mac protocol to none ( #13302 )
2018-06-20 13:16:37 +10:00
gnahzak
951aa83bdf
Disable node options in node config ( #13311 )
2018-06-20 13:08:24 +10:00
Shelley Vohr
c20e0c30a2
src: base::Value::HasKey(key) => base::Value::FindKey(key) ( #13312 )
2018-06-20 13:07:10 +10:00
Zeke Sikelianos
0802f82356
doc: add CSP examples ( #13167 )
...
* doc: add CSP examples
* Deafult to zero-permissions CSP
2018-06-20 10:36:37 +10:00
John Kleinschmidt
fc12b5cab3
Merge pull request #13283 from jack-teng1/fix-asar-pack-cant-find-module
...
fix: can't load module error when app is packaged
2018-06-19 14:58:37 -04:00
John Kleinschmidt
04a7a34c42
Merge pull request #13301 from electron/revert-frame-sub-deprecation
...
fix: revert frame subscriber deprecation and re-enable tests
2018-06-19 14:26:14 -04:00
Heilig Benedek
f643ce4f66
revert: frame subscriber deprecation and re-enable tests
2018-06-19 19:49:44 +02:00
Jack Teng
3044607746
spec: fix asar spec due to change in node.js
...
node.js rename the internalModuleReadFile to internalModuleReadJSON
change spec to reflect this change
2018-06-19 10:42:21 -07:00
Jack Teng
10df019075
fix: can't load module error when app is packaged
...
due to change in node.js(https://github.com/nodejs/node/issues/17076 )
internalModuleReadFile has been renamed to internalModuleReadJSON, and
in vendor/node/lib/internal/modules/cjs/loader.js it will call
internalModuleReadJSON and result in can't read the package.json file.
2018-06-19 10:42:21 -07:00
John Kleinschmidt
295c823a1b
Merge pull request #13298 from electron/update-libcc-ref
...
Update vendor/libchromiumcontent ref
2018-06-19 13:24:05 -04:00
John Kleinschmidt
d367b75680
Merge pull request #13296 from electron/miniak/drop-macos-10.9
...
fix: Drop support for OS X Mavericks (version 10.9)
2018-06-19 13:19:24 -04:00
Aleksei Kuzmin
e683af1eb6
Update vendor/libchromiumcontent ref
2018-06-19 18:12:41 +02:00
Milan Burda
794fe741e9
fix: Drop support for OS X Mavericks (version 10.9)
2018-06-19 17:49:27 +02:00
Jeremy Apthorp
c598272891
refactor: [gn] compile node with boringssl ( #13285 )
2018-06-19 10:39:43 -05:00
Justin Guze
137aaf2429
fix: pass down the bool value of enableAutoSize to setSize ( #13282 )
...
* fix: pass the boolean value of enableAutoSize to setSize
The webContents setSize API takes in an optional enableAutoSize boolean.
Looking in the code, if that property is set, regardless if you pass in
true or false, it will always set it to true. This change passes the
appropriate boolean value down properly.
* creating new bool for autosize
2018-06-19 10:38:55 -05:00
popod
13f97b4cae
Add Sentry.io to 3rd party hosted solution list for crash reports ( #13281 )
...
* Add Sentry.io to 3rd party hosted solution list for crash reports
* Single link to sentry doc
2018-06-19 10:32:37 -05:00
Jeremy Apthorp
9e8f83e25c
refactor: fix chromium-style in url_request_asar_job ( #13284 )
2018-06-19 10:31:55 -05:00
Jeremy Apthorp
e177117fa5
chore: [gn] add desktop capturer sources to GN build ( #13286 )
2018-06-19 10:29:36 -05:00
Danny Brown
dd6c776a19
docs: add note about how to remove a previously set aspect ratio ( #13293 )
2018-06-19 10:24:42 -05:00
John Kleinschmidt
36c1e4cd75
Merge pull request #13267 from electron/expect-debugger-spec
...
spec: convert debugger spec to expect
2018-06-19 11:22:47 -04:00
John Kleinschmidt
faef453df5
Merge branch 'master' into expect-debugger-spec
2018-06-19 11:22:25 -04:00
Shelley Vohr
cba3a9fcce
spec: convert deprecations to expect ( #13268 )
...
* spec: convert deprecations to expect
* address feedback from review
2018-06-19 10:22:08 -05:00
Shelley Vohr
9a79889692
spec: convert ipc specs to expect ( #13273 )
...
* spec: convert ipc specs to expect
* fix buffer value comparison
2018-06-19 10:21:50 -05:00
John Kleinschmidt
0219ef0feb
Merge pull request #13269 from electron/expect-desktop-capturer-spec
...
spec: convert desktop capturer to expect
2018-06-19 11:21:13 -04:00
John Kleinschmidt
be29a1973b
Merge pull request #13291 from electron/slightly-rewrite-webview-tests
...
spec: slightly rewrite webview tests
2018-06-19 11:20:45 -04:00
John Kleinschmidt
0fdcc5d485
Merge pull request #13294 from electron/MarshallOfSound-patch-1
...
Mark browser window affinity as experimental
2018-06-19 11:20:22 -04:00
John Kleinschmidt
a3bc989426
Merge pull request #13292 from electron/fix-release-tests
...
build:Fix VSTS config for release builds
2018-06-19 11:00:07 -04:00
Samuel Attard
c58fa02e58
Mark browser window affinity as experimental
2018-06-20 00:33:24 +10:00
John Kleinschmidt
d2a950e054
Fix VSTS config for release builds
2018-06-19 10:19:51 -04:00
Aleksei Kuzmin
5151a04613
spec: slightly rewrite webview tests
2018-06-19 13:27:49 +02:00
Aleksei Kuzmin
bbc8d50799
spec: add helper functions for async/await tests
2018-06-19 13:27:43 +02:00
Samuel Attard
bcbcb4c643
Merge pull request #12477 from electron/upgrade-to-chromium-66
...
Chromium 66
2018-06-19 19:10:37 +10:00
Milan Burda
d5d5386017
use std::make_unique<T>
2018-06-19 10:20:39 +02:00
Samuel Attard
f0e2da7089
Link to the desktop_capture libs
2018-06-19 17:41:43 +10:00
Samuel Attard
906ef3da6a
Fix windows desktop_capturer build
2018-06-19 17:41:43 +10:00
Samuel Attard
2720fa751b
Fix windows desktop_capturer build
2018-06-19 15:29:16 +10:00
Samuel Attard
42c37cc26d
Bump libcc for desktop capturer fix
2018-06-19 15:16:13 +10:00
John Kleinschmidt
56ae882bb8
Update libcc
2018-06-18 23:20:31 -04:00
Samuel Attard
9d18be8fde
Remove removed variable popup_bounds_in_view_
2018-06-19 11:58:26 +10:00
Samuel Attard
ed1f8d3646
Add missing network:: for net log switches
2018-06-19 11:52:17 +10:00
Samuel Attard
efdf4f44c8
Remove stray .only
2018-06-19 11:49:46 +10:00
Samuel Attard
650631421f
re-enable desktop capturer
2018-06-19 11:49:46 +10:00
Samuel Attard
518f0005ad
mark worker thread taskrunner as WithBaseSyncPrimitives
2018-06-19 11:49:46 +10:00
Samuel Attard
5a28759fea
post all desktop capturer apis to worker threads
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
6c604e1eb3
Update vendor/libchromiumcontent ref
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
25e5c174f5
Disable a test
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
b70ca6309c
Disable a test
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
8f4d6a1995
Rewrite and enable one of the webview tests
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
ad74fb9210
Enable a test
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
da7cfba357
Enable Desktop Capturer tests
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
10c5141da0
Enable a few tests
2018-06-19 11:49:46 +10:00
Samuel Attard
10160b369b
FIXME: getAppMetrics fails on windows CI
2018-06-19 11:49:46 +10:00
Samuel Attard
76f26341bf
powerMontor crashes linux ia32, re-disable
2018-06-19 11:49:46 +10:00
Samuel Attard
8200a132be
Re-enable cookie specs and add custom cookie name/url validation
2018-06-19 11:49:46 +10:00
Samuel Attard
c4f80a6d89
Enable power monitor test for linux
2018-06-19 11:49:46 +10:00
Samuel Attard
10e0d9b198
Enable process resource test
2018-06-19 11:49:46 +10:00
Samuel Attard
e70b93ad91
Enable childprocess.fork asar specs, fixed during run_as_node fixes
2018-06-19 11:49:46 +10:00
Samuel Attard
bc8525d2f3
re-enable native module tests
2018-06-19 11:49:46 +10:00
Samuel Attard
c882b37a40
Bump node to fix native module rebuilding
2018-06-19 11:49:46 +10:00
Samuel Attard
d9ec885dbc
Fixed the spawn tests with the RUN_AS_NODE tests
2018-06-19 11:49:46 +10:00
Samuel Attard
f43eafb94e
Fixed the fork tests, remove comment
2018-06-19 11:49:46 +10:00
Samuel Attard
de5bdc8be4
Fix inspector tests, you can now have multiple inspector sessions
...
Refs: https://github.com/nodejs/node/pull/20137
2018-06-19 11:49:46 +10:00
Samuel Attard
b7d00e26bf
Default LoadV8Snapshot changed in C66
...
CR Ref: https://chromium-review.googlesource.com/c/chromium/src/+/859577
2018-06-19 11:49:46 +10:00
Samuel Attard
9b37e7d988
Re-enable node fork specs
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
0b12e425bd
FIXME: Disable powerMonitor tests
2018-06-19 11:49:46 +10:00
Samuel Attard
a64def5745
Bump node vendor to remove openssl compile warning
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
0c69b0e224
FIXME: Disable Desktop Capturer
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
03a63a485f
FIXME: Disable some of the focus related tests
...
They all pass localy, so it must be a CI issue.
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
e96d8b664d
Skip one of the "chromium feature" tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
1fae6a321c
Skip crashReported tests on linux
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
f4a9575193
Drop support of Mac OS 10.9
...
- set minimum deployment target to 10.10
- set minimum system version to 10.10
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
792bb9b4a8
Update vendor/libchromiumcontent ref
2018-06-19 11:49:45 +10:00
John Kleinschmidt
67558d65a6
Use Node.js 10 for CI builds
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
caed1c37e0
Update vendor/libchromiumcontent ref
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
de6a5de914
Disable all failing tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
cd428a047f
Update vendor/libchromiumcontent ref
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
417fe29dc0
Fix the media events test
...
Playing a media now requires a user gesture.
See https://goo.gl/xX8pDD .
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
a7d2f7531c
Update vendor/node ref
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
c786abf1e9
Add gfx:PointF support to mate::Converter
...
It's needed by atom_api_screen, BuildPrototype function on Windows.
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
622544a902
Check embedder_message_dispatcher_ before sending a message
...
HandleMessageFromDevToolsFrontend() might be called
after the WebContentsDestroyed() is.
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
6481161ef2
Update vendor/libchromiumcontent ref
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
6e11494d0b
Update vendor/node ref
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
7886cfe408
FIXME: Disable "node feature child_process.fork" tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
368734b8ab
FIXME: Disable "node feature inspector" tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
e240a16a20
FIXME: Disable "ses.cookies calls back with an error when setting a cookie with missing required fields" test
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
4a08779bc8
FIXME: Disable a couple of "debugger module debugger.sendCommand" tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
3ca288aba4
FIXME: Disable "BrowserWindow module extensions and dev tools extensions works when used with partitions" test
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
6c0b5cd76c
FIXME: Disable "BrowserWindow module beginFrameSubscription method" tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
c3ccd42a23
Update the vendor/libchromiumcontent ref
2018-06-19 11:49:45 +10:00
Tomas Rycl
f9278e518c
Fix linker error on Windows
...
base_jumbo_7.obj, unresolved external symbol __imp_InitPropVariantFromCLSID
2018-06-19 11:49:44 +10:00
Tomas Rycl
40bf582c81
Use /guard:cf during both compile and link parts of the build on Windows
...
Thanks jack-teng1 for info.
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
81398c1fde
Use Chromium 66.0.3359.181 and Node.js 10.2.0
2018-06-19 11:49:44 +10:00
John Kleinschmidt
08ee965270
Fix pr builds
2018-06-19 11:49:44 +10:00
Heilig Benedek
65b8dd48d8
Update OSR code
2018-06-19 11:49:44 +10:00
Heilig Benedek
91d16c9b3a
FIXME: comment out ppapi code that blocks compilation
2018-06-19 11:49:44 +10:00
Heilig Benedek
60ba2013c4
Re-add dirtyOnly to FrameSubscriber and document API change
2018-06-19 11:49:44 +10:00
Heilig Benedek
b9413fe59d
Update FrameSubscriber implementation
2018-06-19 11:49:44 +10:00
Nitish Sakhawalkar
ca8843102a
Fix duplicate RTCDispatcher console error for debug build.
...
The solution was to call CreateScreenCapturer from content, and not link the static library in.
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
9b9a818c43
FIXME: Disable one of the <webview> tag tests.
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
7e4c0b304b
Enable a few tests
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
90c3d87e21
Rename LocalSurfaceIdAllocator
...
https://chromium-review.googlesource.com/809886
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
dd444fd429
Update vendor/libchromiumcontent ref
2018-06-19 11:49:44 +10:00
Nitish Sakhawalkar
58b9203b9b
Update link lib in brightray
2018-06-19 11:49:44 +10:00
John Kleinschmidt
ddaf2cfdc5
Fix appveyor config
2018-06-19 11:49:44 +10:00
John Kleinschmidt
1321e8a6df
Use vs2017 only vm for CI
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
6d7e281dc8
Update vendor/node ref
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
32ff2ff8fb
FIXME: Disable some of <webview> tag tests
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
a45b1a9205
FIXME: Disable a couple of webContents module tests
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
123b35a7f1
FIXME: Disable "asar package child_process.fork" tests
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
77ae8b65f7
FIXME: Disable desktopCapturer tests
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
5656cb34b8
Use libpdfium_skia_shared.a
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
7616cb38a7
Update vendor/libchromiumcontent ref
2018-06-19 11:49:44 +10:00
Tomas Rycl
a9eb267f92
Update vendor/node ref
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
496dbb6b7e
Set llvm_version to "7.0"
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
3e6e01eb94
Update vendor/libchromiumcontent ref
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
42d84bbd70
Use Node 10.0.0
2018-06-19 11:49:44 +10:00
Tomas Rycl
650f7a920a
Correct windows header order
2018-06-19 11:49:44 +10:00
Tomas Rycl
7b17f15703
Fixing pdf print errors on Windows build
2018-06-19 11:49:43 +10:00
deepak1556
8f00240c73
chrome style plugin: remove check-auto-raw-pointer option
...
This is always enabled now, so the corresponding flag can be removed.
https://chromium-review.googlesource.com/734132
2018-06-19 11:49:43 +10:00
Nitish Sakhawalkar
3ac4c1f03f
Update libcc and replace snapshot_blob.bin by v8_context_snapshot.bin
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
a45862c93f
Link against device_service and viz_service libs
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
623ed84b23
Update vendor/libchromiumcontent ref
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
000bbd45b8
Add ForceFeedback to the frameworks list on Mac
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
016ac8ff6e
Set CHROME_VERSION_STRING to 66.0.3359.117
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
aaef07e637
Update vendor/libchromiumcontent ref
2018-06-19 11:49:43 +10:00
Tomas Rycl
101cd90d37
More pdf printing fixes for Windows
2018-06-19 11:49:43 +10:00
Tomas Rycl
32ebd9e221
Proper dpi parameter type for PdfRenderSettings
2018-06-19 11:49:43 +10:00
Tomas Rycl
bbd6b478ac
Add missing header
...
For ThreadRestrictions class.
2018-06-19 11:49:43 +10:00
Tomas Rycl
7ca1b0704d
Rename ScopedWindowsThreadEnvironment::succeeded() to Succeeded()
...
https://chromium-review.googlesource.com/742447
2018-06-19 11:49:43 +10:00
Tomas Rycl
1ac0ab2b71
Include missing "windows.h" and fix headers ordering
...
For PCWSTR on line 198.
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
d6ffbc0148
Use an int for wm::ShadowElevation. Pick semantic constants.
...
https://chromium-review.googlesource.com/899886
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
4a38c2d800
Remove deprecated View::SetLayoutManager
...
https://chromium-review.googlesource.com/844760
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
f6648a0d4d
Remove ScopedComPtr and scoped_comptr.h
...
https://chromium-review.googlesource.com/726461
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
82d204e932
Wrap X11 headers in ui/gfx/x/x11.h
...
https://chromium-review.googlesource.com/756711
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
97414cc931
Update vendor/libchromiumcontent ref
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
5451635df0
Update vendor/node ref
2018-06-19 11:49:43 +10:00
Heilig Benedek
1de1ca906a
Reimplement FrameSubscriber with mojo VideoCapture APIs
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
28f6e10e5a
Add "-fno-exceptions" to "cflags_cc" on linux
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
ac33694028
Update chrome_version.h
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
9e3011dbcd
Update libcc ref
2018-06-19 11:49:43 +10:00
deepak1556
c97706de50
Remove deps on libcommon.a and libjavascript.a
2018-06-19 11:49:43 +10:00
deepak1556
844ef4291c
PepperFlashRendererHost to use SkFontStyle.
...
https://chromium-review.googlesource.com/c/chromium/src/+/602469
2018-06-19 11:49:43 +10:00
deepak1556
43ca4d5bfd
Move HTTPBad flags into SSLStatus user data
...
https://chromium-review.googlesource.com/c/chromium/src/+/709458
2018-06-19 11:49:43 +10:00
deepak1556
3f7bb61b7f
Convert base::UInt64ToString to base::NumberToString
...
https://chromium-review.googlesource.com/813101
2018-06-19 11:49:43 +10:00
deepak1556
39b30b76ea
Printing: Remove PrintedPage on non-Windows
...
https://chromium-review.googlesource.com/c/chromium/src/+/804178
https://chromium-review.googlesource.com/c/chromium/src/+/770492
https://chromium-review.googlesource.com/c/chromium/src/+/704262
2018-06-19 11:49:42 +10:00
Aleksei Kuzmin
37d64e6a00
Update vendor/node ref
...
To get changes from
a635a8aa8f
2018-06-19 11:49:42 +10:00
Aleksei Kuzmin
4236c17654
Use native-mate from the Ch66 branch
2018-06-19 11:49:42 +10:00
Aleksei Kuzmin
24db18f34e
Update libcc ref
2018-06-19 11:49:42 +10:00
deepak1556
405adb938b
Permissions: Remove CONTENT_SETTINGS_TYPE_PUSH_MESSAGING
...
https://chromium-review.googlesource.com/c/chromium/src/+/758456
2018-06-19 11:49:42 +10:00
deepak1556
4068a62fa6
Define gfx::AcceleratedWidget to be uint64_t instead of NSView*
...
https://chromium-review.googlesource.com/c/chromium/src/+/792295
2018-06-19 11:49:42 +10:00
deepak1556
c4b8e106c0
Create network_converter for services/network/* types
2018-06-19 11:49:42 +10:00
deepak1556
f1e2304585
Remove OSCertHandle typedefs, use smart pointers for CRYPTO_BUFFER ownership.
...
https://chromium-review.googlesource.com/c/chromium/src/+/775540
2018-06-19 11:49:42 +10:00
deepak1556
77f427acc8
Check for key system support using new mojo service KeySystemSupport
...
https://chromium-review.googlesource.com/c/chromium/src/+/834764
2018-06-19 11:49:42 +10:00
Aleksei Kuzmin
e1f25253db
REVIEW: Don't use removed and deprecated Value::To* APIs
...
See https://chromium-review.googlesource.com/848782 for removed APIs.
2018-06-19 11:49:42 +10:00
Aleksei Kuzmin
a218c9696c
Fix error: no matching constructor for initialization of 'v8::TryCatch'
...
The deprecated constructor has been removed
in https://chromium-review.googlesource.com/848782
2018-06-19 11:49:42 +10:00
deepak1556
5df0362361
Remove obsolete ShouldHandleSystemCommands function.
...
https://chromium-review.googlesource.com/c/chromium/src/+/924315
2018-06-19 11:49:42 +10:00
deepak1556
2f7c413199
v8: set fatal error handler per isolate
2018-06-19 11:49:42 +10:00
deepak1556
66058c8cfe
REVIEW: Use RenderWidgetHost api for event routing
...
https://chromium-review.googlesource.com/c/chromium/src/+/836267
2018-06-19 11:49:42 +10:00
deepak1556
d386ec0a2b
Remove unused elements from RWHV::CopyFromSurface() API and dead code.
...
https://chromium-review.googlesource.com/c/chromium/src/+/929874
2018-06-19 11:49:42 +10:00
deepak1556
3ad0639b2e
Surface synchronization: Implement auto-resize for OOPIF/BrowserPlugin
...
https://chromium-review.googlesource.com/c/chromium/src/+/753801
2018-06-19 11:49:42 +10:00
deepak1556
ea7e273a06
gin: Make gin/ remember external reference table
...
https://chromium-review.googlesource.com/c/chromium/src/+/778741
2018-06-19 11:49:42 +10:00
deepak1556
383b21e20a
Change calls to GeolocationProvider::UserDidOptIntoLocationServices() to occur via Mojo.
...
https://chromium-review.googlesource.com/c/chromium/src/+/760239
2018-06-19 11:49:42 +10:00
deepak1556
a5bdb8103b
Remove invalid include headers
2018-06-19 11:49:42 +10:00
deepak1556
0cbffb15cc
NetworkService: Implement URLLoader::OnAuthRequired
...
https://chromium-review.googlesource.com/c/chromium/src/+/938960
2018-06-19 11:49:42 +10:00
deepak1556
27cb84eee0
NetworkService: Implement URLLoader::OnCertificateRequested
...
https://chromium-review.googlesource.com/c/chromium/src/+/848303
2018-06-19 11:49:42 +10:00
deepak1556
b268e37663
Simplify ShouldInterceptResourceAsStream to remove unneeded code path.
...
https://chromium-review.googlesource.com/c/chromium/src/+/939857
2018-06-19 11:49:42 +10:00
deepak1556
c9f20516ac
Make reading blobs work through Blob mojo interface.
...
https://chromium-review.googlesource.com/c/chromium/src/+/773199
2018-06-19 11:49:42 +10:00
deepak1556
a1683eb4e8
Give the JS dialog manager the alerting frame.
...
https://chromium-review.googlesource.com/c/chromium/src/+/928828
https://chromium-review.googlesource.com/c/chromium/src/+/791517
2018-06-19 11:49:42 +10:00
deepak1556
eab4227cbf
Make Origin(const GURL&) constructor private.
...
https://chromium-review.googlesource.com/c/chromium/src/+/729284
2018-06-19 11:49:42 +10:00
deepak1556
11fc8374c0
Move DownloadUrlParameters from content/public to components/download
...
https://chromium-review.googlesource.com/c/chromium/src/+/914232
2018-06-19 11:49:42 +10:00
deepak1556
8968c447f4
Include missing header
2018-06-19 11:49:41 +10:00
deepak1556
7b47d69efe
Remove did-get-response-details and did-get-redirect-request events
...
https://chromium-review.googlesource.com/c/chromium/src/+/805008
https://chromium-review.googlesource.com/c/chromium/src/+/786320
2018-06-19 11:49:41 +10:00
Samuel Attard
3da6450b0c
Bump libcc to get builds
2018-06-19 11:49:41 +10:00
deepak1556
2ea26cd4d7
Add MediaStoppedReason to WCO
...
https://chromium-review.googlesource.com/c/chromium/src/+/758583
2018-06-19 11:49:41 +10:00
deepak1556
100291ec42
OOPIF-ize hung renderers
...
https://chromium-review.googlesource.com/c/chromium/src/+/896343
2018-06-19 11:49:41 +10:00
deepak1556
2047929cb5
Convert ax_enums.idl to mojom.
...
https://chromium-review.googlesource.com/c/chromium/src/+/877417
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
7732da41ba
Revert "Revert "Add support for OOPIF printing in renderer""
...
https://chromium-review.googlesource.com/924566
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
93fc60720a
Feature Policy Onion Soup (1)
...
https://chromium-review.googlesource.com/726343
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
bb150185ac
Fix includes in AtomQuotaPermissionContext
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
c75f6f408e
DevTools: remove the 'forced' attribute from the AgentHostClosed in DevToolsAgentHost.
...
https://chromium-review.googlesource.com/745301
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
4bb3e0da15
Rename buildflag_header targets in base for consistency
...
https://chromium-review.googlesource.com/930033
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
576bf8f6c0
Move resource_response.h to //services/network/public/cpp.
...
https://chromium-review.googlesource.com/865664
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
1a11bb936b
ui::Display cleanup: some enums --> enum classes
...
https://chromium-review.googlesource.com/915211
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
4602d940cf
Add missing header
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
38f18d9aa2
FIXME: Disable OSR
2018-06-19 11:49:41 +10:00
deepak1556
b7bc3ec20d
Update AtomBrowserClient::RenderProcessWillLaunch api
...
https://chromium-review.googlesource.com/c/chromium/src/+/742344
2018-06-19 11:49:41 +10:00
deepak1556
409ff41c03
Remove SetCookieWithDetailsAsync API in favor of SetCanonicalCookieAsync.
...
https://chromium-review.googlesource.com/c/chromium/src/+/777954
2018-06-19 11:49:41 +10:00
deepak1556
23f7ccbdda
Remove old cookie enum values
...
https://chromium-review.googlesource.com/c/chromium/src/+/877515
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
2c4bbacec1
Remove base::Value::GetType()
...
https://chromium-review.googlesource.com/718458
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
343c42e4ef
Remove redundant device::PowerSaveBlocker enums.
...
https://chromium-review.googlesource.com/754169
services/device: Fix enum naming in wake_lock.mojom.
https://chromium-review.googlesource.com/755884
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
37168c0a95
Move ResourceRequestBody to services/network in preparation of moving content/network.
...
https://chromium-review.googlesource.com/864422
2018-06-19 11:49:41 +10:00
deepak1556
d3c6aa12d1
Remove AtomAccessTokenStore
...
Its a dummy class since chromium 63,
https://chromium-review.googlesource.com/c/chromium/src/+/708494
2018-06-19 11:49:41 +10:00
deepak1556
bb36a26950
update native-mate ref
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
6b77fa5b3b
[desktop capture] remove dependencies on webrtc/desktop_capture from /chrome
...
https://chromium-review.googlesource.com/876723
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
5e320994f4
Remove content/linux_sandbox dependence on content_switches.h
...
https://chromium-review.googlesource.com/734265
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
160b165358
move DownloadInterruptReasons from content/ to components/download
...
https://chromium-review.googlesource.com/897967
2018-06-19 11:49:40 +10:00
Aleksei Kuzmin
7fc8814d13
move some files from content/public/browser to components/download/public/core
...
https://chromium-review.googlesource.com/891686
2018-06-19 11:49:40 +10:00
Aleksei Kuzmin
4e580d5b39
Move download_item.h from content/public to components/download
...
https://chromium-review.googlesource.com/907687
2018-06-19 11:49:40 +10:00
Aleksei Kuzmin
a315d6330c
Remove base::Value::IsType
...
https://chromium-review.googlesource.com/659798
2018-06-19 11:49:40 +10:00
Aleksei Kuzmin
48c3340d95
Update the vendor/node reference
2018-06-19 11:49:40 +10:00
Aleksei Kuzmin
341f698ace
Use latest libcc with Ch66
2018-06-19 11:49:40 +10:00
deepak1556
e3c580e905
Move away from BrowserThread::FILE
...
* Migrate TtsPlatformImplLinux away from using BrowserThread::FILE.
https://chromium-review.googlesource.com/c/chromium/src/+/570022
* Move PdfConverter off the FILE thread.
https://chromium-review.googlesource.com/c/chromium/src/+/592393
* https://chromium.googlesource.com/chromium/src/+/master/docs/task_scheduler_migration.md
2018-06-19 11:49:40 +10:00
deepak1556
6d241e972b
Clean up net::HttpAuthPreferences.
...
https://chromium-review.googlesource.com/c/chromium/src/+/727399
2018-06-19 11:49:40 +10:00
deepak1556
83632f15a9
Fix session restore with network service.
...
https://chromium-review.googlesource.com/c/chromium/src/+/818486
2018-06-19 11:49:40 +10:00
deepak1556
bbb2393031
Remove base::SizeTToString
...
https://chromium-review.googlesource.com/c/chromium/src/+/799550
2018-06-19 11:49:40 +10:00
deepak1556
c31d7ef70a
Implement SpecialStoragePolicy::ShouldDeleteCookieOnExit
...
https://chromium-review.googlesource.com/c/chromium/src/+/926369
2018-06-19 11:49:40 +10:00
deepak1556
3666935c06
[DevTools] Make Inspect Element work for OOPIF
...
https://chromium-review.googlesource.com/c/chromium/src/+/881522
2018-06-19 11:49:40 +10:00
deepak1556
8e125b2953
REVIEW: Remove the notification close-closure in favour of an explicit method
...
https://chromium-review.googlesource.com/c/chromium/src/+/744205
2018-06-19 11:49:40 +10:00
deepak1556
026e7bff40
Update NetworkDelegate
...
* Remove Deprecated OnResponseStarted.
https://chromium-review.googlesource.com/c/chromium/src/+/763193
* Replace cookie lines with CanonicalCookie in CanSetCookie delegates.
https://chromium-review.googlesource.com/c/chromium/src/+/775606
* Reporting: Check upload permissions asynchronously
https://chromium-review.googlesource.com/c/chromium/src/+/937566
2018-06-19 11:49:40 +10:00
deepak1556
bf55d856d2
Cookie Store: Extract change notifications to separate classes.
...
https://chromium-review.googlesource.com/c/chromium/src/+/919159
2018-06-19 11:49:40 +10:00
deepak1556
806acbdf12
Move content/network to services/network.
...
https://chromium-review.googlesource.com/891646
2018-06-19 11:49:40 +10:00
Aleksei Kuzmin
fba2ab0996
Move throttling to network service
...
https://chromium-review.googlesource.com/703674
2018-06-19 11:46:59 +10:00
deepak1556
529ced80f2
Remove CancelRequest for PermissionManager
...
https://chromium-review.googlesource.com/c/chromium/src/+/876746
2018-06-19 11:46:59 +10:00
deepak1556
01fdfc4574
Remove Permission manager from brightray
...
Electron manages its own implementation, this was
missed out when merging the brightray/ component.
2018-06-19 11:46:59 +10:00
deepak1556
f6665edc73
Convert ColorChooser from ipc to mojo.
...
https://chromium-review.googlesource.com/c/chromium/src/+/800350
https://chromium-review.googlesource.com/c/chromium/src/+/821954
2018-06-19 11:46:59 +10:00
deepak1556
c29f08c53e
DevTools: remove the 'forced' attribute from the AgentHostClosed in DevToolsAgentHost.
...
https://chromium-review.googlesource.com/c/chromium/src/+/745301
2018-06-19 11:46:59 +10:00
deepak1556
bf620363b9
Devtools: Remove session_id in browser
...
https://chromium-review.googlesource.com/c/chromium/src/+/866213
2018-06-19 11:46:59 +10:00
deepak1556
f32e59d4b2
Update devtools_file_system_indexer
...
* Switch DevToolsFileSystemIndexer to use SequencedTaskRunner
https://chromium-review.googlesource.com/c/chromium/src/+/545200
* Remove dead code from devtools_file_system_indexer.cc
https://codereview.chromium.org/2508443002
* Fix DCHECKs and a crash in DevToolsFileSystemIndexer
https://chromium-review.googlesource.com/c/chromium/src/+/553958
* reset trigram cache when devtools window closes
https://chromium-review.googlesource.com/c/chromium/src/+/969969
* Directly use base::File instead of FileProxy in DevToolsFileSystemIndexer
https://chromium-review.googlesource.com/c/chromium/src/+/544793
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
deb8cd458d
Use latest libcc with Ch66
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
7c95100180
Rename ProxyService class to ProxyResolutionService
...
https://chromium-review.googlesource.com/857421
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
079e5df740
Adds ability for BrowserMainParts::PreEarlyInitialization() to fail
...
https://chromium-review.googlesource.com/862964
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
2f11870970
Update Chrome version
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
11b96c214d
Use latest libcc with Ch66
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
cb604026d6
DevTools: move remote debugging hosted URL to single location.
...
https://chromium-review.googlesource.com/905983
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
8020cd9994
Use the same GOOGLE_PROTOBUF_* defines for "brightray" as for Electron
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
70cc5d87af
ResourceBundle → ui::ResourceBundle
...
Fixes "error: use of undeclared identifier 'ResourceBundle';
did you mean 'ui::ResourceBundle'?".
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
408b62bcc2
Move net/proxy to net/proxy_resolution
...
https://chromium-review.googlesource.com/868176
Also includes changes from:
Rename files relating to PAC (proxy auto config).
https://chromium-review.googlesource.com/836927
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
5a2de2108e
Add ".../third_party/protobuf/src" to the include_dirs list
...
Fixes "fatal error: 'google/protobuf/stubs/common.h' file not found".
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
c7691d8a40
Use latest libcc with Ch66
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
f5b68b8950
Update crashpad ref
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
260908cb06
Update Clang revision for Chromium 66
...
https://chromium.googlesource.com/chromium/src.git/+/66.0.3359.66/tools/clang/scripts/update.py#30
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
79010b9e06
Set CHROME_VERSION_STRING to 66.0.3359.66
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
06410202d0
Use latest libcc with Chromium 66.0.3359.66
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
0c0d31e13a
Use the same Crashpad as Chromium 66.0.3359.66
2018-06-19 11:46:58 +10:00
Samuel Attard
17b5870ca1
Change node ref
2018-06-19 11:46:58 +10:00
Samuel Attard
72c7fe5e56
Bump chromium version
2018-06-19 11:46:58 +10:00
Samuel Attard
a9db673cdf
Bump libcc
2018-06-19 11:46:58 +10:00
Zhuo Lu
ab24a1e36d
feat: netLog API for dynamic logging control ( #13068 )
...
* Introduce `net.{start|stop}Logging()`
- Slight regression right now as Electron won't automatically start logging net-logs at launch, will soon be fixed
- To implement callback for async controls
* Add `net.isLogging` & optional callback param for `net.stopLogging()`
* Fix small regression on --log-net-log
--log-net-log should work again
* Error on empty file path
* Only start with valid file path
* Remove unused var
* Allow setting log file path before URLRequestContextGetter starts logging
* Add net log tests
* Remove redundant checks
* Use brightray::NetLog
* Clean up code
* Should automatically stop listening
* 🎨 Attempt to fix styles
* Only run non-null callback
* Dump file to tmpdir
* Simplify net log spec
Spawned Electron process on Linux CI can fail to launch
* Separate netLog module
* Remove net logging test from net spec
* Add tests for netLog
* Fix header guard
* Clean up code
* Add netLog.currentlyLoggingPath
* Callback with filepath
* Add test for case when only .stopLogging() is called
* Add docs
* Reintroduce error on invalid arg
* Update copyright
* Update error message
* Juggle file path string types
2018-06-19 11:45:58 +10:00
Shelley Vohr
adea26bd8f
docs: update pr template with checklist ( #13270 )
...
This PR updates the Pull Request template so that contributors see a clearer checklist of items they need to complete in order to have a given PR reviewed and landed.
2018-06-18 13:58:30 -07:00
Shelley Vohr
b4cce8e240
spec: convert IAP and GC specs to expect ( #13272 )
...
* spec: convert IAP and GC specs to expect
* address review
2018-06-18 09:50:37 -07:00
Shelley Vohr
c65844a7d0
address review feedback
2018-06-18 08:56:24 -07:00
Zeke Sikelianos
994f613450
Merge pull request #13099 from electron/breaking-changes
...
docs: improve breaking API changes docs
2018-06-18 08:52:53 -07:00
Heilig Benedek
90911a423a
Fix autofill popup position when the popup is spawned from a webview ( #13184 )
2018-06-18 10:15:37 -05:00
Shelley Vohr
314071d79f
feedback from review
2018-06-18 08:12:54 -07:00
Shelley Vohr
fe94bf7c1d
spec: convert dialog spec to expect ( #13271 )
2018-06-18 07:56:03 -07:00
John Kleinschmidt
78e199b5d7
Merge pull request #13187 from LostPlayer99/patch-1
...
docs: update bluetooth example
2018-06-18 09:16:54 -04:00
Cheng Zhao
a564744cd0
Merge pull request #13110 from electron/entry-and-button
...
feat: add TextField and Button APIs
2018-06-18 18:29:35 +09:00
Cheng Zhao
18dde0a0bd
load all pak files on macOS
2018-06-18 16:51:36 +09:00
Cheng Zhao
a11182ca84
feat: add SetText for TextField
2018-06-18 16:51:36 +09:00
Cheng Zhao
70e17b5f8f
feat: add LabelButton API
2018-06-18 16:51:36 +09:00
Cheng Zhao
c8e8cb86ce
feat: add Button API
2018-06-18 16:51:36 +09:00
Cheng Zhao
ba3700141f
feat: add TextField API
2018-06-18 16:51:36 +09:00
Milan Burda
2eb5b751f3
exit HTML fullscreen when window leaves fullscreen ( #13090 )
2018-06-18 16:48:20 +09:00
Milan Burda
28fd571d0c
refactoring: use std::make_unique<T> ( #13245 )
2018-06-18 16:32:55 +09:00
Shelley Vohr
2c2e8317de
spec: convert desktop capturer to expect
2018-06-17 16:00:28 -07:00
Shelley Vohr
4dec5ec5f9
spec: update browser-view spec to expect ( #13238 )
...
* spec: update browser-view spec to expect
2018-06-17 15:56:04 -07:00
Shelley Vohr
79c2d22c25
remove assert require
2018-06-17 15:37:16 -07:00
Shelley Vohr
8d5fc61c12
spec: update browser-window-affinity spec to expect ( #13239 )
...
* spec: update browser-window-affinity spec to expect
* final cleanup
2018-06-17 15:36:30 -07:00
Shelley Vohr
e023035393
spec: convert debugger spec to expect
2018-06-17 15:35:24 -07:00
Shelley Vohr
c5c571f8ec
spec: update callback registry spec to expect ( #13263 )
...
* spec: update callback-reg-spec to sexpect
* remove stray only
* remove redundant assertions
2018-06-17 15:08:17 -07:00
Shelley Vohr
0ef0e69f03
spec: convert clipboard spec to use expect ( #13266 )
2018-06-17 14:47:51 -07:00
Shelley Vohr
a0d252870c
spec: update auto-updater spec to expect ( #13237 )
...
* spec: update auto-updater to expect
2018-06-16 00:28:28 -07:00
Michael Khalil
ef1e2d6fe0
fix: tray title not inverting when highlighted ( #13085 )
2018-06-16 16:24:26 +10:00
az-chris
83dc8cc13b
docs: update remote.md ( #13229 )
...
* Update remote.md
Addressing Issue #9421
* Minor copyediting
2018-06-16 16:21:07 +10:00
Vlad Hashimoto
a67c992c36
docs: fix broken link to commit message guidelines ( #13233 )
...
* docs: fix broken link to commit message guidelines
* Fix another broken links
2018-06-15 19:43:03 -05:00
Felix Rieseberg
1647c12c73
📝 Make appUserModelId requirement clearer ( #13259 )
2018-06-15 19:32:19 -05:00
Milan Burda
c4942d931c
Add FILE_DIALOG_TREAT_PACKAGE_APP_AS_DIRECTORY to web open file dialog ( #13220 )
2018-06-15 15:51:38 -05:00
Charles Kerr
2d15b8fe78
change c++ std from gnu++14 to c++14 ( #13248 )
2018-06-15 11:12:49 -05:00
John Kleinschmidt
fa79b40946
Merge pull request #13241 from electron/test-releases
...
spec: run tests on release builds
2018-06-14 15:14:02 -04:00
Shelley Vohr
91559191c9
spec: update app spec to assert ( #13155 )
...
* convert app spec from assert to expect and add dirty-chai
2018-06-14 09:44:27 -07:00
John Kleinschmidt
832b5a36fa
Add slack notifications
2018-06-14 11:12:35 -04:00
John Kleinschmidt
38ebf5ac9f
Run tests on release builds
...
Also, added ability to call VSTS release builds via API.
2018-06-14 09:42:55 -04:00
Alexey Kuzmin
6a59b37bea
spec: better texts for the Crash Reporter tests ( #13227 )
...
* Better failure messages for a Crash Reporter test
* Add a TODO
2018-06-14 19:24:28 +10:00
Alexey Kuzmin
dee9aef975
Add "enable_desktop_capturer" build flag ( #13133 )
...
* Make it possible to disable a module for a renderer
* Put DesktopCapturer API under a build flag
The name is "enable_desktop_capturer".
Enabled by default.
2018-06-13 11:15:34 -05:00
Thiago de Arruda
6ff111a141
perf: don't use JSON to send the result of ipcRenderer.sendSync. ( #8953 )
...
* Don't use JSON to send the result of `ipcRenderer.sendSync`.
- Change the return type of AtomViewHostMsg_Message_Sync from `base::string16`
to `base::ListValue`
- Adjust lib/browser/api/web-contents.js and /lib/renderer/api/ipc-renderer.js
to wrap/unwrap return values to/from array, instead of
serializing/deserializing JSON.
This change can greatly improve `ipcRenderer.sendSync` calls where the return
value contains Buffer instances, because those are converted to Array before
being serialized to JSON(which has no efficient way of representing byte
arrays).
A simple benchmark where remote.require('fs') was used to read a 16mb file got
at least 5x faster, not to mention it used a lot less memory. This difference
tends increases with larger buffers.
* Don't base64 encode Buffers
* Don't allocate V8ValueConverter on the heap
* Replace hidden global.sandbox with NodeBindings::IsInitialized()
* Refactoring: check NodeBindings::IsInitialized() in V8ValueConverter
* Refactor problematic test to make it more reliable
* Add tests for NaN and Infinity
2018-06-13 17:38:31 +10:00
Mateus Silva
1b3cd01851
Doc: Delete unnecessary require and update flag name
2018-06-12 20:17:16 +01:00
John Kleinschmidt
fa1a5f2a42
Merge pull request #13215 from electron/add-space
...
chore: add space in TLS version check log
2018-06-11 09:35:20 -04:00
Samuel Attard
fc1469175b
chore: add space in log
2018-06-11 18:23:59 +10:00
Milan Burda
6ad0a22602
Add process.getHeapStatistics() ( #13183 )
2018-06-10 22:00:36 +10:00
Mateus Silva
370d790776
Doc: Update bluetooth example
...
Update event select-bluetooth-device example documentation.
2018-06-07 20:29:20 +01:00
mdpetuum
1b8790aeb2
fix: tray icon bounds didn't allow negative macOS ( #13162 )
2018-06-07 18:48:39 +02:00
Charles Kerr
828545c128
Merge pull request #13142 from pravdomil/patch-1
...
docs: clarify docs
2018-06-03 09:58:05 +02:00
pravdomil
fd6eeed5c4
clarify docs
2018-06-02 20:41:19 +02:00
Charles Kerr
6301582e77
Merge pull request #13124 from nornagon/node-configure
...
refactor: [gn] Build node by calling ./configure
2018-06-01 20:39:23 +02:00
Alexey Kuzmin
0d5e98a201
Slightly rewrite <webview> tag tests ( #13122 )
2018-06-01 10:56:48 +02:00
Jeremy Apthorp
4321db401c
Build node by calling ./configure
2018-05-31 11:18:26 -07:00
Charles Kerr
c7d1f95240
Merge branch 'master' into breaking-changes
2018-05-31 12:12:02 +02:00
John Kleinschmidt
1eddb5cf98
Merge pull request #13052 from electron/fix-vs2017-release
...
build: update copy_vcruntime_binaries for VS2017
2018-05-30 10:46:40 -04:00
Charles Kerr
b89fe86fa1
Merge pull request #13050 from electron/3.0.0-deprecations
...
chore: removal of 3.0.0 deprecations
2018-05-30 09:25:36 +02:00
Zeke Sikelianos
cb9ab213bb
Merge pull request #13005 from nornagon/gn-docs
...
docs: dev instructions for GN build
2018-05-29 15:17:16 -07:00
Zeke Sikelianos
326e379154
Merge pull request #13103 from dsandler/patch-1
...
fix: link to macOS notifications HIG
2018-05-29 15:14:19 -07:00
John Kleinschmidt
8a15231475
Update copy_vcruntime_binaries for VS2017
2018-05-29 17:25:47 -04:00
Jeremy Apthorp
886230f64f
Roll libchromiumcontent ( #13105 )
2018-05-29 13:07:14 -07:00
Charles Kerr
d907f43e6e
Merge pull request #13101 from electron/deprecate-property
...
feat: add deprecate.property()
2018-05-29 12:09:32 -05:00
Shelley Vohr
d40cce92bf
remove deprecated signature tests
2018-05-29 11:42:03 -04:00
Dan Sandler
442ec7113e
Fix link to macOS notifications HIG
2018-05-29 11:16:26 -04:00
Shelley Vohr
2660859434
update signature for setCertificateVerifyProc in session spec
2018-05-29 10:54:27 -04:00
Charles Kerr
6935addd38
fix: remove unused variable
2018-05-29 16:14:21 +02:00
Charles Kerr
2275625e1a
feat: warn if deprecated property is already set
2018-05-29 15:58:02 +02:00
Charles Kerr
61fac1bbc1
test: add tests for deprecate.property()
2018-05-29 15:40:48 +02:00
Charles Kerr
0a614217ce
feat: re-add deprecate.property()
2018-05-29 15:40:19 +02:00
Charles Kerr
57cda797f3
docs: copyediting of breaking-changes.md
...
Tweak the phrasing of sections' introductions
2018-05-29 11:42:20 +02:00
Charles Kerr
b0f1b5f65b
Modify 2.0 section's phrasing to use past tense
2018-05-29 11:37:42 +02:00
Charles Kerr
b621321ea0
Re-add missing section
2018-05-29 11:24:39 +02:00
Charles Kerr
066b92c7cd
docs: re-document the 2.0 breaking API changes
2018-05-29 11:23:28 +02:00
Charles Kerr
57ad506cde
Reorder the version sections newest-to-oldest
...
This puts 4.0 before 3.0, making room to re-add
the 2.0 changes back in at the end of the file.
2018-05-29 11:17:26 +02:00
Charles Kerr
7f64dbc1ba
Make FIXME and API Contract their own H1 sections
...
Previously they were inside the 3.0 section,
which doesn't really make sense
2018-05-29 11:15:30 +02:00
Charles Kerr
e943cce125
docs: tweak phrasing
2018-05-29 11:10:23 +02:00
Charles Kerr
ac03b81624
docs: add breaking-changes to README
2018-05-29 11:08:49 +02:00
Charles Kerr
bb4979a82e
docs: move breaking-changes to api
2018-05-29 11:06:56 +02:00
hkhere
0f1fcc3f4b
docs: fix a typo in remote.md ( #13084 )
2018-05-29 03:14:06 -05:00
Maksym Dogadailo
562831ec1a
fix tls script path in documentation ( #13089 )
2018-05-29 03:12:27 -05:00
Milan Burda
45e78728bd
chore: move more constants to options_switches.h/cc ( #13093 )
...
* Add options::kNativeWindowOpen
* Add options::kSandbox
* Add options::kPlugins
* Add options::kWebSecurity
* Add options::kAllowRunningInsecureContent
* Add options::kOffscreen
2018-05-29 03:09:51 -05:00
Sven Hüster
ec44fb79d8
updated path to widevine libraries on windows ( #13063 )
2018-05-28 16:11:51 +09:00
Mikael Finstad
86fcdd0bae
docs: Simplify loading of html in example ( #13013 )
...
* Simplify loading of html
See new api: https://github.com/electron/electron/pull/11565
* Update first-app.md
* Update first-app.md
2018-05-25 13:05:15 -07:00
Shelley Vohr
104fa96d4d
fix options switch for kBlinkFeatures
2018-05-25 11:13:15 -07:00
Shelley Vohr
8bb7525fe0
fix missing instance of kBlinkFeatures => kEnableBlinkFeatures
2018-05-25 11:12:40 -07:00
Shelley Vohr
b7e245aba1
remove atom_api_screen_mac from filenames.gypi
2018-05-25 11:01:05 -07:00
Shelley Vohr
265aa3da29
docs: deprecate UploadFileSystem ( #13064 )
...
Deprecate UploadFileSystem in preparation for its being phased out completely in Chromium 66 and correspondingly Electron 4.0.0.
2018-05-25 10:50:27 -07:00
Shelley Vohr
5beadd90ee
update electron-typescript-definitions to 1.3.5
2018-05-25 10:41:26 -07:00
Zhuo Lu
fd25f594cd
Do not capture cookies and credentials ( #13065 )
2018-05-24 14:46:54 -07:00
John Kleinschmidt
01a9b32637
Merge pull request #13066 from barinali/fix/dock-link
...
fix: Update broken dock link in app doc
2018-05-24 16:06:38 -04:00
John Kleinschmidt
46ed623dad
Merge pull request #13067 from electron/docs--fix-wrapping-of-welcome-comment
...
fix wrapping of welcome comment
2018-05-24 16:05:43 -04:00
Zeke Sikelianos
de30defb62
docs: fix wrapping of welcome comment
2018-05-24 12:25:46 -07:00
Ali BARIN
b0b31e67da
fix: Update broken dock link in app doc
2018-05-24 21:21:08 +02:00
Jeremy Apthorp
8ea864d6eb
docs: dev instructions for GN build
2018-05-24 11:46:35 -07:00
John Kleinschmidt
8bf7ec0c21
Merge pull request #13058 from electron/symserver-posix
...
Update upload symbols script for posix
2018-05-24 14:10:08 -04:00
Milan Burda
4cfe5ecaa4
add proper support for typed arrays in remote ( #13055 )
2018-05-24 21:05:46 +09:00
Cheng Zhao
a798a40026
Merge pull request #13044 from electron/more-view-apis
...
Add layout support for View API
2018-05-24 16:34:03 +09:00
Cheng Zhao
0f7c25fc63
Put View APIs under a build flag
2018-05-24 15:44:07 +09:00
Cheng Zhao
2c8dc9e0bd
Add View.addChildView API
2018-05-24 15:36:29 +09:00
Cheng Zhao
322bde526c
Add LayoutManager/BoxLayout APIs
2018-05-24 15:36:29 +09:00
Nitish Sakhawalkar
55c8aa7f1c
Update upload symbols script for posix
2018-05-23 23:16:03 -07:00
Shelley Vohr
322a303683
address changes from review
2018-05-23 15:57:58 -07:00
Shelley Vohr
5f5322c64e
rename blinkFeatures to enableBlinkFeatures
2018-05-23 14:01:34 -07:00
Shelley Vohr
bc10be3de6
rename exposed session method to setCertificateVerifyProc
2018-05-23 13:51:28 -07:00
Shelley Vohr
fb4a8e9cb9
remove ses.setCertificateVerifyProc() deprecation
2018-05-23 09:47:14 -07:00
Shelley Vohr
22fed0c798
remove nativeImage.createFromBuffer() deprecation
2018-05-23 09:43:58 -07:00
Shelley Vohr
94e825378c
remove webFrame.registerURLSchemeAsSecure() deprecation
2018-05-23 09:33:57 -07:00
Shelley Vohr
4a90056462
remove webContents.openDevTools() deprecation
2018-05-23 09:30:15 -07:00
Shelley Vohr
3deffa859d
remove appcommand media-play_pause option deprecation
2018-05-23 09:24:32 -07:00
Shelley Vohr
003a5a0160
remove tray.setHighlightMode() deprecation
2018-05-23 09:20:39 -07:00
Shelley Vohr
72c63a10ee
remove screen.getMenuBarHeight() deprecation
2018-05-23 09:11:48 -07:00
Shelley Vohr
cc30f4c4fd
remove crashReporter deprecation
2018-05-23 09:07:14 -07:00
Shelley Vohr
438ac61ff7
remove clipboard deprecations
2018-05-23 09:04:39 -07:00
John Kleinschmidt
b3edfd7d89
Merge pull request #13042 from electron/nightly-release-builds
...
Updated CI configs for nightly release builds
2018-05-23 10:49:23 -04:00
John Kleinschmidt
6dff60b899
Updated CI configs for nightly builds
...
Add timestamp to s3 uploads
2018-05-23 10:23:28 -04:00
Aleš Pergl
93bee69266
Remove command line argument black-list ( #13039 )
...
* Remove command line argument black-list
Instead block all arguments following a URL.
* Updated tests
2018-05-22 11:51:03 -05:00
John Kleinschmidt
c320da5ec8
Merge pull request #13030 from electron/miniak/member-init
...
Refactoring: use C++11 class member variable initialization
2018-05-22 10:34:12 -04:00
Shelley Vohr
560c0e72e6
Fix vulnerabilities both top-level and in spec ( #13029 )
...
* fix dependency vulnerabilities
* fix vulnerabilities in spec
2018-05-21 21:15:18 -07:00
Milan Burda
2337237d58
Refactoring: use C++11 class member variable initialization
2018-05-22 00:18:38 +02:00
John Kleinschmidt
ee57c95aa6
Merge pull request #12999 from electron/miniak/native-mate
...
Bump vendor/native_mate
2018-05-21 14:16:53 -04:00
John Kleinschmidt
42ec7b317f
Add a tag to libchromiumcontent when a release is created. ( #12977 )
2018-05-21 13:03:23 -05:00
Thiago de Arruda
6f076f7433
Refactor sandbox preload initialization. ( #12877 )
...
Use a single synchronous IPC call to retrieve data required by early
sandbox scripts. This has two purposes:
- Optimize preload script initialization by:
- Using one synchronous IPC call to retrieve preload script,
webContentsId (more on that later), process.{platform,execPath,env}
- Lazy loading as many modules as possible.
- Fix #12316 for sandbox. @MarshallOfSound addressed the issue in
#12342 , but it was still present in sandbox mode. By loading
webContentsId very early and skipping remote module at early
startup, we fix it for sandbox.
2018-05-21 22:56:05 +10:00
Cheng Zhao
ef7947d176
Merge pull request #12995 from electron/web-contents-view-tests
...
Fix crashes and add tests for View API
2018-05-21 14:36:53 +09:00
Cheng Zhao
595b0663b2
WebContents may be managed by multiple owners
2018-05-21 10:53:09 +09:00
Cheng Zhao
300c7a4b04
add tests for View and WebContentsView
2018-05-21 10:53:09 +09:00
Cheng Zhao
3b81312cf7
clear pointer when WebContents is closed
2018-05-21 10:53:09 +09:00
Cheng Zhao
51db1efb8a
prevent double-adding a WebContents to view
2018-05-21 10:53:09 +09:00
Cheng Zhao
aeeb2a259f
destruct objects in stack order
2018-05-21 10:53:09 +09:00
Cheng Zhao
fd4a0626c5
destroy WebContents when view is destroyed
2018-05-21 10:53:08 +09:00
htk3
7c2303c758
Correct app-command name of APPCOMMAND_MEDIA_PLAY_PAUSE ( #12408 )
...
* correct app-command name
* add compatibility with old app-command name
* add temporary compatibility with old app-command name
* add a comment saying that media-play_pause is deprecated
* fix lint
2018-05-21 10:52:04 +09:00
Nitish Sakhawalkar
b842a4b133
update mac symbol dump ( #12982 )
...
* Update mac symbol dump
Update posix generate_breakpad_symbols.py file to use argparse instead of deprecated optparse.
Also, make changes to the posix generate_breakpad_symbols.py file to accept multiple binaries.
And update dump-symbols.py to get symbols for the mac helper app as well.
* Changes to appease the linter
2018-05-21 10:01:17 +09:00
Milan Burda
7c19ae302e
replace isEventEmitter with instanceof EventEmitter (rpc-server) ( #12998 )
2018-05-21 10:00:56 +09:00
Heilig Benedek
8b2bffcf9e
Only expand maximum size constraint if there was a constraint originally ( #13003 )
2018-05-21 10:56:45 +10:00
Jeremy Apthorp
156a97b80d
fix: Menu.setApplicationMenu(null) crash on Linux ( #12983 )
2018-05-18 10:29:28 -07:00
Milan Burda
a0a5e4abb2
Bump vendor/native_mate
2018-05-18 16:30:20 +02:00
John Kleinschmidt
91173320e6
Merge pull request #12987 from electron/fix-arm-release-build
...
Fix ARM Release build
2018-05-18 08:17:06 -04:00
Felix Rieseberg
f087f8e205
docs: Document missing quit events during shutdown ( #12986 )
...
* docs: Document missing events during shutdown
2018-05-18 07:27:44 -04:00
John Kleinschmidt
7177e941eb
Merge pull request #12993 from electron/electron-download-4.x
...
feat: upgrade electron-download to 4.x
2018-05-18 07:20:42 -04:00
John Kleinschmidt
3fbc3869dc
Merge pull request #12991 from electron/drop-arm-alias-builds
...
build: don't upload aliased arm builds anymore
2018-05-18 07:19:17 -04:00
Mark Lee
cda13e5e79
feat: upgrade electron-download to 4.x
...
This is a breaking change, as it causes the `electron` module to require
Node 4.x (which has been EOL'd anyway).
Upgrading adds features such as a customizable cache location (via the
`ELECTRON_CACHE` environment variable).
Originally merged in https://github.com/electron/electron/pull/10922 but
was reverted because it was going into a version of Electron that did
not allow breaking changes.
2018-05-17 23:16:27 -07:00
Mark Lee
022ffe69e0
Don't upload aliased arm builds anymore
...
They are literally a copy/paste of the armv7l builds, and have been
deprecated ever since they were renamed 2 years ago.
2018-05-17 22:22:46 -07:00
Milan Burda
5a5eb43359
detect EventEmitter in removeRemoteListenersAndLogWarning ( #12975 )
2018-05-18 11:09:25 +09:00
Cheng Zhao
5f461cd5cd
fix release build on arm
2018-05-18 10:50:31 +09:00
Milan Burda
850051463b
don't use native_mate/compat.h macros ( #12984 )
2018-05-18 09:08:28 +09:00
Cheng Zhao
ddec87224c
Merge pull request #34 from electron/remove-compat
...
Remove native_mate/compat.h
2018-05-18 09:07:24 +09:00
Milan Burda
d7b8cce162
Remove native_mate/compat.h
2018-05-17 23:39:40 +02:00
Shelley Vohr
83993fede8
update locale documentation ( #12967 )
2018-05-17 10:34:54 -07:00
Zhuo Lu
d2653e8192
Fix: Prevent menu update while it's open ( #12809 )
...
* Update application menu on default runloop
Menu change should be prevented while the menu is open
* Fix code style
* Memory safety
2018-05-17 11:19:28 +10:00
Shelley Vohr
f068ed9ee7
fix docs formatting for ts defs ( #12968 )
2018-05-16 14:59:44 -07:00
Felix Rieseberg
e8735cc005
docs: Document Python TLS requirements ( #12276 )
...
* 🔧 Add simple test script
* 📝 Add documentation
* 🔧 It works, use it
* 🔧 Make the linter happy
* 🔧 Check on bootstrap
* Trivial copyediting
s/operation system/operating system/
2018-05-16 14:19:49 -07:00
Jeremy Apthorp
b160093b91
refactor: GN builds on linux ( #12957 )
2018-05-16 12:51:11 -07:00
Jeremy Apthorp
da0fd10423
refactor: chromium-style warnings in linux code ( #12949 )
2018-05-16 14:12:45 -05:00
Mod John
2a161e1725
Fix broken link ( #12387 )
...
* Fix broken link
Link was producing a 404 error as the file no longer exists. Wasn't sure where this intended link used to go so took a guess at a appropriate target.
* Update quick-start.md
2018-05-16 10:23:46 -07:00
John Kleinschmidt
04855bc499
Merge pull request #12921 from electron/commit-package-lock
...
Add package-lock.json
2018-05-16 11:47:21 -04:00
John Kleinschmidt
2b26206ea2
Merge pull request #12844 from didrocks/fix-communitheme-session
...
fix: support multiple inherited ubuntu session for indicators
2018-05-16 11:44:04 -04:00
John Kleinschmidt
9488ef4867
Merge pull request #12496 from mikeykhalil/8952-ignore-tray-double-click-events
...
8952 option to ignore tray double click events
2018-05-16 10:17:36 -04:00
John Kleinschmidt
e1c374de6e
Merge pull request #12954 from electron/web-dialog-helper
...
Fix empty description when only one extension is given (GetFileTypesFromAcceptType)
2018-05-16 10:15:54 -04:00
Didier Roche
6feec2e2a5
Fix linting error
...
Thx @MarshallOfSound
2018-05-16 14:34:13 +02:00
Milan Burda
211d7825d3
feat: DIP <-> screen coordinate conversions ( #12879 )
2018-05-16 18:34:09 +09:00
Milan Burda
9d9d6ca20b
Fix empty description when only one extension is given
2018-05-16 01:58:58 +02:00
Jeremy Apthorp
73eb5af2cc
refactor: remove unnecessary std::moves in linux code ( #12951 )
...
The compiler was complaining that the move was preventing copy elision.
2018-05-15 14:33:47 -07:00
Jeremy Apthorp
8fa48d1c04
fix: unused variable warnings in linux code ( #12950 )
2018-05-15 13:49:27 -05:00
Jeremy Apthorp
c4134c3516
refactor: breakpad #includes to work with GN and GYP ( #12953 )
2018-05-15 11:33:19 -07:00
Jeremy Apthorp
136105e353
fix: wrong list index type in file_dialog_gtk.cc ( #12952 )
2018-05-15 13:22:52 -05:00
Jeremy Apthorp
0fb6dc79d8
Merge pull request #12948 from nornagon/node-config
...
[gn] Include node/common.gypi when building node
2018-05-15 10:42:29 -07:00
Jeremy Apthorp
7a36322432
[gn] Include node/common.gypi when building node
...
Not sure how this ever worked, but the GN build certainly doesn't work
on Linux without this.
2018-05-15 09:53:24 -07:00
Milan Burda
6a4d9309b2
Remove unnecessary heap allocations of atom::V8ValueConverter instances ( #12924 )
2018-05-15 09:21:23 -05:00
Cheng Zhao
9fc6b9dda2
Merge pull request #12858 from electron/api-view
...
Refactor NativeWindow (Part 13): Add View and WebContentsView APIs
2018-05-15 22:05:27 +09:00
Cheng Zhao
2f3fcb9dbe
give window a default content view
...
Certain APIs are expecting the window to have a content view, having a
default one simplifies our design.
2018-05-15 14:12:47 +09:00
Cheng Zhao
ea97f43145
check content view in SetMenuBarVisibility
2018-05-15 14:12:47 +09:00
Cheng Zhao
bb2715e7a5
feat: add TopLevelWindow.setContentView API
2018-05-15 14:12:47 +09:00
Cheng Zhao
2b24b26e59
refactor: do not pass WebContents to NativeWindow
2018-05-15 14:03:21 +09:00
Cheng Zhao
640877ebf8
attach native view after widget is created
2018-05-15 14:03:21 +09:00
Cheng Zhao
5a320222e2
feat: add WebContentsView API
2018-05-15 14:03:21 +09:00
Cheng Zhao
e058d11657
feat: add View API
2018-05-15 14:03:21 +09:00
Cheng Zhao
874af5c982
Merge pull request #12837 from nornagon/build-gn
...
GN build
2018-05-15 14:02:51 +09:00
Milan Burda
56cdf94f95
Fix contents.setSize(options) documentation in web-contents.md ( #12922 )
2018-05-15 10:17:04 +10:00
Alexey Kuzmin
fc34076c2b
Refactor <webview> tag tests ( #12886 )
2018-05-14 17:00:49 -05:00
John Kleinschmidt
cc2cd95ec5
Release updates in prep for 3-0-x releases ( #12916 )
...
* Add autorelease logic
* Fix UnboundLocalError when using s3 upload
2018-05-14 16:21:51 -05:00
Thiago de Arruda
54a506c8eb
Add package-lock.json
...
In order to have 100% reproducible builds, Electron needs
package-lock.json. This is necessary because some dependencies affect
the build output (browserify for example, is used to generate the common
js environment for sandboxed renderers).
2018-05-14 15:23:52 -03:00
Alexey Kuzmin
d5dfb19508
Update some tests ( #12917 )
...
* Use Chai for webview tests
* Slightly rewrite one of the <webview> tests
"dom-ready event" > "throws a custom error..."
* Use Chai for BrowserWindow tests
* Rewrite BrowserWindow.addDevToolsExtension tests
2018-05-14 13:17:31 -05:00
John Kleinschmidt
fe7947da90
Merge pull request #12805 from electron/update-blacklist-switches
...
update command-line backlist switches
2018-05-14 13:31:26 -04:00
John Kleinschmidt
14f4108e55
Merge pull request #12912 from chicoxyzzy/patch-1
...
Update installation instructions
2018-05-14 13:30:49 -04:00
John Kleinschmidt
6248aaf8dd
Merge pull request #12913 from electron/update-libcc-ref
...
Update vendor/libchromiumcontent ref
2018-05-14 10:50:27 -04:00
John Kleinschmidt
0fd8513c80
Merge pull request #12904 from electron/fix-12875
...
Allow frameless transparent windows to be sized smaller than 64x64 on Windows
2018-05-14 10:46:40 -04:00
Aleksei Kuzmin
aec3c3fb66
Update vendor/libchromiumcontent ref
2018-05-14 14:18:58 +02:00
Sergey Rubanov
5d3692c16f
Update installation instructions
2018-05-14 14:06:22 +03:00
Didier Roche
5df0fd9dc8
fix: more scalable code by factorizing appindicator support
...
- introduce a currentPlatformSupportsAppIndicator() function determining
if app indicators are supported here.
- handle undefined process.env.XDG_CURRENT_DESKTOP
- added some comments to ensure that the intents are clear
Thanks MarshallOfSound
2018-05-14 11:00:41 +02:00
Heilig Benedek
ce8af7d499
#else instead of #elif
2018-05-12 22:05:25 +02:00
Heilig Benedek
c6bf39b283
Only include windows headers on windows
2018-05-12 21:33:47 +02:00
Heilig Benedek
f1fd457411
Format code with clang-format
2018-05-12 19:51:19 +02:00
Heilig Benedek
eae0674f61
Match chromium's workaround when setting size of unresizable windows
2018-05-12 17:37:31 +02:00
Samuel Attard
0bb29e092d
fix: update docs for the ts parser ( #12902 )
2018-05-12 18:12:28 +10:00
John Kleinschmidt
bbba9ff906
Merge pull request #12900 from electron/make-httpReferrer-docs-consistent
...
fix broken doc errors
2018-05-11 14:57:22 -04:00
Charles Kerr
c2282ce4bd
remove accidentally-commited changes
2018-05-11 13:33:27 -05:00
Charles Kerr
5354e804d0
Fix oops: remove duplicate doc from last commit
2018-05-11 13:27:35 -05:00
Charles Kerr
bdae243552
Reinstate docs for app.makeSingleInstance()
...
Since this method is mentioned in breaking-changes.md, we need
the docs to prevent create-typescript-definitions from failing with
"error TS2339: Property 'makeSingleInstance' does not exist on type 'App'."
The reinstated docs are marked with deprecation warnings
that refer the reader to the new API calls.
2018-05-11 13:17:11 -05:00
John Kleinschmidt
8a69a09868
Merge pull request #12896 from electron/remove-chai-as-promised-from-top-level-package-json
...
Remove chai-as-promised from the top-level package.json
2018-05-11 14:13:03 -04:00
Charles Kerr
13877ce2c8
Fix routingId type
...
Previous phrasing confused electron-typescript-definitions,
thinking that routingId was of type `unique` 😃
2018-05-11 13:05:05 -05:00
Charles Kerr
8acbfca06b
Make Referrer.policy types parseable by e-t-d
2018-05-11 12:40:46 -05:00
Charles Kerr
cf6d36cb72
Consistent docs for LoadURLOptions.httpReferrer
2018-05-11 12:18:38 -05:00
John Kleinschmidt
e79751c8d4
Merge pull request #12892 from electron/skip_pdf_resource
...
build: don't ship pdf_viewer_resources.pak when feature flag is disabled
2018-05-11 11:46:45 -04:00
Charles Kerr
2c87dfef8a
add fs-extra devDependency to spec
2018-05-11 10:36:25 -05:00
Aleksei Kuzmin
8f7a0ca90c
Remove chai-as-promised from the top-level package.json
...
It's a tests dependency and its already present in spec/package.json.
2018-05-11 18:11:46 +03:00
deepak1556
3c76cc21ec
build: don't ship pdf_viewer_resources.pak when feature flag is disabled
2018-05-11 16:00:43 +05:30
Jeremy Apthorp
9aa18d29a5
Merge pull request #12885 from nornagon/is-desktop-unity
...
Don't declare IsDesktopEnvironmentUnity on non-Linux
2018-05-10 14:41:29 -07:00
Jeremy Apthorp
cc386f2345
Merge pull request #12884 from nornagon/views-defines
...
Require !OS_MACOSX as well as TOOLKIT_VIEWS for views code
2018-05-10 14:13:19 -07:00
Jeremy Apthorp
72057bf7ef
clang-format atom_api_web_contents.cc
2018-05-10 14:11:19 -07:00
Jeremy Apthorp
87d0175c76
Require !OS_MACOSX as well as TOOLKIT_VIEWS for views code
2018-05-10 14:11:19 -07:00
Jeremy Apthorp
3090550e53
Merge pull request #12882 from nornagon/gn-includes
...
Fix up #includes to work with both GYP and GN
2018-05-10 14:10:12 -07:00
Jeremy Apthorp
f2b1b3f6b8
Add GN build
2018-05-10 14:03:02 -07:00
Jeremy Apthorp
26f5390ac0
Don't declare IsDesktopEnvironmentUnity on non-Linux
2018-05-10 13:59:48 -07:00
Jeremy Apthorp
73ac019882
Fix up #includes to work with both GYP and GN
2018-05-10 13:38:40 -07:00
Zeke Sikelianos
1cc5492784
Merge pull request #12870 from electron/remove-macci-refs
...
Remove references to no longer used https://mac-ci.electronjs.org
2018-05-09 22:25:57 -07:00
John Kleinschmidt
fd8e330760
Remove references to no longer used https://mac-ci.electronjs.org
2018-05-09 16:41:24 -04:00
Shelley Vohr
daf75dd375
add app.isPackaged ( #12656 )
...
* add isPackaged method
* add false test case for app.isPackaged()
* document add.isPackaged()
* check isPackaged() without fs call
* convert to non-method property
* document app.isPackaged as a property
* update tests for app.isPackaged
* remove unused fs require
* clarify docs for isPackaged()
2018-05-07 23:15:31 -07:00
Charles Kerr
4d078fdb03
Remove more words ( #12852 )
...
* remove 'basically' from docs
* remove 'simply' from docs
* remove most uses of 'just' from docs
2018-05-08 00:16:09 -05:00
biuuu
86d023b02f
fix: listeners out of limit warning ( #12841 )
...
When the Chrome Extension has too many content scripts (above default
10 counts), there will be a warning: possible EventEmitter memory leak
detected. 11 listeners added.
2018-05-08 14:10:11 +09:00
John Kleinschmidt
c13d1e8ae6
Merge pull request #12847 from electron/friendly-docs
...
Remove judgmental docs terms
2018-05-07 12:41:17 -04:00
Shelley Vohr
82dd5fee12
Update issue templates ( #12848 )
...
Move to prescribed templates for bugs and features
2018-05-07 09:30:44 -07:00
John Kleinschmidt
428f10f9ee
Merge pull request #12532 from electron/native-arm-mksnapshot
...
Add native arm/arm64 mksnapshot
2018-05-07 11:48:53 -04:00
Shelley Vohr
52e3d5e4f0
remove some beginner-unfriendly terms from docs
2018-05-07 08:46:14 -07:00
Samuel Attard
5b5c161601
feat: new makeSingleInstance API ( #12782 )
...
* Refactor app.makeSingleInstance
* new API `app.isPrimaryInstance()`
* new API `app.isSingleInstance()`
* new event `app.on('second-instance')`
* deprecated old syntax `app.makeSingleInstance(cb)`
* deprecated old syntax of `app.makeSingleInstance() --> bool` in favor
of `app.isPrimaryInstance()`
* Fix spec, we don't need process.nextTick hacks any more
* Make deprecation TODO for the return value of makeSingleInstance
* Refactor makeSingleInstance to requestSingleInstanceLock and add appropriate deprecation comments
* I swear this isn't tricking the linter
* Make const
* Add deprecation warnings for release, and add to planned-breaking-changes
BREAKING CHANGE
2018-05-08 01:29:18 +10:00
Didier Roche
811ae1a936
Support multiple inherited ubuntu session for indicators
...
Multiple sessions inherits the "ubuntu" base settings properties in ubuntu.
One of the most popular one is communitheme: the next ubuntu default theme
has its dedicated session, with thus duplicated indicators for dropbox.
Rather than a string comparison for ubuntu, only match a substring then.
XDG_CURRENT_DESKTOP can be of form: "communitheme:ubuntu:GNOME",
"ubuntu:GNOME", …
Fixes : #12843 .
2018-05-07 11:49:37 +02:00
Shelley Vohr
9c8952aef0
Add menu item order control ( #12362 )
...
Add four new optional properties to menus in Electron. The four properties are:
'before'
'after'
'beforeGroupContaining'
'afterGroupContaining'
'before/after' - provides a means for a single context menu item to declare its placement relative to another context menu item. These also imply that menu item in question should be placed in the same “group” as the item.
'beforeGroupContaining/afterGroupContaining - provides a means for a single menu item to declare the placement of its containing group, relative to the containing group of the specified item.
2018-05-05 09:37:29 -07:00
Jeremy Apthorp
118da36b52
Send document-start/end to the right context when contextIsolation=true ( #12738 )
2018-05-04 23:39:54 -07:00
John Kleinschmidt
022b6973b2
Merge pull request #12836 from electron/revert-12833-update-templates
...
Revert "Update issue templates"
2018-05-04 17:17:40 -04:00
Shelley Vohr
7aa101ba8b
Revert "Update issue templates ( #12833 )"
...
This reverts commit dac584f7d6 .
2018-05-04 13:54:07 -07:00
Shelley Vohr
dac584f7d6
Update issue templates ( #12833 )
...
Move to prescribed templates for bugs and features
2018-05-04 13:51:12 -07:00
Milan Burda
48fe013549
Expose events (EventEmitter) to sandboxed renderer ( #12828 )
2018-05-04 09:51:32 -07:00
Shelley Vohr
f67c625e6a
don't filter out invisible menu separators ( #12825 )
2018-05-04 07:59:40 -07:00
Jeremy Apthorp
b280ea5579
chromium-style fixes ( #12826 )
2018-05-03 23:45:12 -07:00
Cheng Zhao
7be30bb249
Merge pull request #12787 from electron/mac-content-view
...
Refactor NativeWindow (Part 12): Do not use custom content view on macOS
2018-05-04 12:48:15 +09:00
Milan Burda
9b56ca3961
Fix optimizeSimpleObject for arrays of objects ( #12815 )
2018-05-03 22:34:30 -05:00
Cheng Zhao
a2c3db666e
viewDidMoveToSuperview may not be implemented
2018-05-04 09:55:09 +09:00
Cheng Zhao
5547df6073
report correct content size in AtomNSWindow
...
The views framework relies on NSWindow to return content size of window,
since we don't use the borderless window, the original result would
include titlebar. We have to override the function to return correct
result for frameless window.
2018-05-04 09:55:09 +09:00
Cheng Zhao
28fc58067b
remove usage of FullSizeContentView
2018-05-04 09:55:09 +09:00
Cheng Zhao
a9709a635c
display WebContents as views::View on macOS
2018-05-04 09:55:09 +09:00
Cheng Zhao
ada884a129
refactor: setup contentView on initialization
2018-05-04 09:55:09 +09:00
mikeykhalil
3aba515bbc
update docs for getIgnoreDoubleClickEvents method
2018-05-03 13:49:33 -07:00
mikeykhalil
94ffd4bfc0
add getter for ignoreDoubleClickEvents field
2018-05-03 13:49:33 -07:00
mikeykhalil
208374afa4
clean up ignore double click event implementation
2018-05-03 13:49:33 -07:00
mikeykhalil
664e14b91f
fixed typo found in code review
2018-05-03 13:49:32 -07:00
mikeykhalil
e1dcd79e48
updated Tray API docs to include new setIgnoreDoubleClickEvents method
2018-05-03 13:49:32 -07:00
mikeykhalil
1f29124d11
updated Tray API to ignore double click events on macOS ( #8952 )
2018-05-03 13:49:32 -07:00
Zeke Sikelianos
a08b4f780c
Merge pull request #12822 from stephanwlee/stephanwlee-patch-1
...
Fix the type information in in-app-purchase.md
2018-05-03 10:05:00 -07:00
Stephan Lee
6646ef71da
docs: fix the type information in in-app-purchase
...
Method returns Boolean, Manually confirmed the
correctness by running `npm run create-api-json`.
2018-05-03 09:34:21 -07:00
Alexey Kuzmin
3fd0ec99ae
Better OSR tests ( #12817 )
...
* Add features.isOffscreenRenderingEnabled()
* Use .isOffscreenRenderingEnabled() to determine if OSR is available
* Add a helper closeTheWindow() function
* Skip OSR tests if they are disabled
2018-05-03 11:10:25 -05:00
Charles Kerr
0a2dc1efb0
fix: lint is a devDependency, not a dependency ( #12818 )
2018-05-03 08:43:40 -07:00
Jeremy Apthorp
cdc5022305
Fix chromium-style errors ( #12802 )
2018-05-03 09:04:22 -05:00
Rahat Ahmed
5ba9f6a966
docs: Fix typo in transaction.md ( #12804 )
2018-05-03 00:01:49 -05:00
David Chawei Hsu
091ddb3c34
Fixed several broken links to the sections ( #12797 )
2018-05-02 21:51:37 -05:00
Charles Kerr
1b8b73ce71
update command-line backlist switches
...
part of the diff comes from the fact that we've bumped
to a new version of libcc.
another part comes from adding network_switch_list.h, whose
switch definitions follow a slightly different format.
2018-05-02 20:58:22 -05:00
Tim Fish
82329124ff
Fixes #12710 ( #12786 )
2018-05-02 12:19:52 -04:00
Zeke Sikelianos
36c4519d7e
Merge pull request #12781 from electron/more-code-signing
...
More code signing docs
2018-05-02 08:39:03 -07:00
Charles Kerr
c81dac774a
Fix some broken documentation links ( #12794 )
2018-05-02 10:33:07 -05:00
Zeke Sikelianos
1957eb9429
summarize semantic commit requirements ( #12665 )
...
* summarize semantic commit requirements
* move semantic commit details into contributing docs
* keep those messages short
2018-05-02 09:47:26 -05:00
Samuel Attard
63d670c286
explain platform differences in code signing
2018-05-02 11:52:52 +10:00
Samuel Attard
94e6be6cae
more code signing docs
2018-05-02 11:12:15 +10:00
Zeke Sikelianos
f1c7df8c28
add code signing tutorial ( #12767 )
...
* docs: add code signing tutorial
* docs: link to code signing tutorial from readme
* docs: remove unneeded use of "application" from docs readme
2018-05-01 19:56:44 -05:00
Jeremy Apthorp
78ab97ab04
Fix crash when releasing a script context that never had node injected ( #12741 )
2018-05-01 20:00:46 -04:00
John Kleinschmidt
d355bf0267
Merge pull request #12756 from electron/support-policy
...
Support policy
2018-05-01 15:40:55 -04:00
Charles Kerr
2cecc6ec2c
Remove text about ia32 emulator
2018-05-01 14:31:01 -05:00
Charles Kerr
49cab41fdf
Tweak ARM support with suggestion from jkleinsc
2018-05-01 14:25:18 -05:00
Charles Kerr
b0a8d825b3
Clarify the text on Windows for ARM support
2018-05-01 13:40:21 -05:00
Charles Kerr
af60a2fdf6
Add placeholder for supported-platforms.md
2018-05-01 13:32:11 -05:00
Charles Kerr
b602714e06
Use correct Slack channel name
2018-05-01 13:31:48 -05:00
Zeke Sikelianos
013a28a527
Merge pull request #12736 from electron/update-updates-tutorial
...
document update.electronjs.org in updates tutorial
2018-05-01 09:17:37 -07:00
Cheng Zhao
d46aa92f0b
make security-warnings tests more robust ( #12757 )
2018-05-01 14:28:55 +09:00
bughit
55a7f6f0ce
add did-frame-navigate event to WebContents ( #12723 )
...
* add did-frame-navigate event to WebContents, pass http response code to it and did-navigate
* docs for frame routing id related api changes on WebFrame and WebContents
2018-05-01 13:34:41 +09:00
Cheng Zhao
c67d1b62e3
refactor: NativeWindowViews should not be a View ( #12750 )
2018-05-01 13:28:22 +09:00
Cheng Zhao
e00b128a50
fix flaky security-warnings test ( #12749 )
2018-05-01 09:49:45 +09:00
Charles Kerr
400fb79dc2
Fix tyop
2018-04-30 18:36:17 -05:00
Charles Kerr
7c5b70d304
Fix broken link
2018-04-30 18:33:40 -05:00
Charles Kerr
221b103721
Finish consolidating the finding-support section
2018-04-30 18:26:08 -05:00
Charles Kerr
c0dc2d0238
Copyedit the 'finding support' section
2018-04-30 18:11:10 -05:00
Charles Kerr
37a68aebcf
Link issues.md back to support.md
2018-04-30 18:06:29 -05:00
Charles Kerr
a332930cdf
add 'finding support' section
2018-04-30 17:58:19 -05:00
Charles Kerr
e44b62d5a3
copyediting
2018-04-30 17:17:42 -05:00
Charles Kerr
d76b0223d9
add end-of-support policy
2018-04-30 17:16:15 -05:00
Samuel Attard
338a816ffd
Screen Lock / Unlock events ( #12714 )
...
* initial lock-screen and unlock-screen event implementation for macOS
* Implementation of lock-screen and unlock-screen on windows
2018-05-01 02:04:27 +10:00
Samuel Attard
c1381ac598
Add sccache option to bootstrap ( #12582 )
...
* Add sccache option to bootstrap
Couldn't see a CC wrapper style option for gyp so we inject the sccache commands directly into the generated ninja files.
* Use CC_wrapper
* Update toolchain.gypi
* s/sccache/cc_wrapper
2018-05-01 01:03:43 +10:00
Cheng Zhao
51b7322a0f
Merge pull request #12716 from electron/share-more-window-code
...
Refactor NativeWindow (Part 10): Share more code between NativeWindow implementations
2018-04-30 15:24:38 +09:00
Samuel Attard
b90ff86f8c
Add missing chai-as-promised dep ( #12746 )
2018-04-29 22:46:29 -04:00
Cheng Zhao
089428857c
remove unnecessary defines
2018-04-30 10:56:54 +09:00
Cheng Zhao
e07ea24610
remove unnecessary static_cast
2018-04-30 10:56:54 +09:00
Cheng Zhao
2225cc9608
refactor: manage widget_ in NativeWindow
2018-04-30 10:56:54 +09:00
Cheng Zhao
727cd68cee
refactor: Use widget() instead of window_
2018-04-30 10:56:54 +09:00
Cheng Zhao
6d18bd0633
refactor: Make NativeWindow inherit WidgetDelegate
2018-04-30 10:56:54 +09:00
Shelley Vohr
ee2c3607ad
fix patch output filename ( #12742 )
2018-04-27 21:43:04 -04:00
Zeke Sikelianos
21ffcbddad
document update.electronjs.org in updates tutorial
2018-04-27 10:49:42 -07:00
Shelley Vohr
21e5a2e071
Add clang-format script and precommit hook ( #12651 )
...
* add second arg to hook
* fix clang-format script
* remove format script
* help
* first pass at only checking formatting for changed files
* ensure clang-format only runs against changes
* add quiet option for print output
* fix script outputs for clang-format
* wrap conditional for exit error
* remove cpplint include ordering from brightray
* fix python style errors
* add clang-format to linting
* fix var error and add mm extension
* fix diff checking for commit hook
* show incorrectly formatted lines when linting fails
* don't try to check formatting for deleted files
2018-04-27 13:01:12 -04:00
Cheng Zhao
4cd7d11391
Merge pull request #33 from nornagon/build-gn
...
Don't copy things in Dictionary::Set
2018-04-27 08:41:09 +09:00
Zeke Sikelianos
cc98bd6b6d
Merge pull request #12662 from electron/prevent-default
...
Stop overwriting prevent_default if default wasn't prevented
2018-04-26 12:12:18 -07:00
Jeremy Apthorp
dd7e0f80fe
Turn off visual zoom by default ( #12679 )
2018-04-26 10:27:35 -05:00
Jeremy Apthorp
1a64b9f0c2
Disable navigating on drag/drop ( #12655 )
...
* Disable navigating on drag/drop
* Add a WebPreferences option to re-enable navigate on drag/drop
2018-04-26 10:23:27 -05:00
bughit
4fcd178c36
expose WebFrame#routingId ( #12614 )
...
* expose WebFrame#routingId and pass it to WebContents frame specific events along with frameProcessId; add WebContets.did-start-navigation event
* fix compilation error on ia32 Windows
2018-04-26 19:17:55 +09:00
Cheng Zhao
152422af81
Merge pull request #12696 from electron/mac-use-widget
...
Refactor NativeWindow (Part 9): Use views::Widget on macOS
2018-04-26 15:49:49 +09:00
Cheng Zhao
cf70267871
remove unnecessary overrides
2018-04-26 09:48:12 +09:00
Jeremy Apthorp
7733b87431
Don't copy things on Dictionary::Set
2018-04-25 15:18:27 -07:00
Cheng Zhao
5e48dd9d45
be aware of views::Widget's layer
2018-04-25 15:10:29 +09:00
Cheng Zhao
39242c978f
fix failed BrowserWindow tests
2018-04-25 15:10:29 +09:00
Cheng Zhao
75a624434c
refactor: use views::Widget on macOS
2018-04-25 15:10:29 +09:00
Shelley Vohr
7c4964fae6
revert to more graceful template structure check ( #12699 )
2018-04-24 11:21:26 -04:00
Tatsuya Hiroishi
9c65abd746
handle remote exception ( #12694 )
...
* add cause property to exception in callFunction
* update exceptionToMeta function
* add sender argument
* and cause property to return value
* update exception convert in metaToValue function
* add from and cause properties to the exception error
* unit test for remote exception
2018-04-24 08:40:19 -04:00
Nitish Sakhawalkar
2579071b98
Deprecate did-get-response-details and did-get-redirect-request ( #12615 )
...
* Deprecate webContents events did-get-response-details and did-get-redirect-request.
* Update guest view files
* Update webview tag docs and update specs
* Update deprecate.event function
* Update comment
* Update more
* Update documentation for other deprecated event
2018-04-23 14:46:12 -05:00
Leo MG Nesfield (LMGN)
975964f9f0
Not required. ( #12682 )
...
VS Code automatically executes from the `windows` object on win32.
2018-04-23 11:13:46 -05:00
James Wheare
bf2b4814e0
[docs] app.isDefaultProtocolClient is available on Linux now ( #12674 )
2018-04-23 01:16:43 +10:00
Shelley Vohr
12a57ff1c2
clang-format objc files ( #12673 )
2018-04-20 11:47:04 -07:00
Paul Frazee
94236bf4eb
Create automated-testing-with-a-custom-driver.md ( #12446 )
...
* Create automated-testing-with-a-custom-driver.md
* Update automated-testing-with-a-custom-driver.md
* Add 'Automated Testing with Custom Driver' to ToC
* Update automated-testing-with-a-custom-driver.md
2018-04-20 12:39:13 -04:00
Shelley Vohr
f9ee24f8f0
Merge pull request #12627 from vijaypushkin/patch-1
...
Corrected the name of Capitalization Styles
2018-04-20 09:49:28 -04:00
Cheng Zhao
28b85762fd
Merge pull request #12660 from electron/mac-views
...
Refactor NativeWindow (Part 8): Prepare work for using views::Widget on macOS
2018-04-20 21:31:28 +09:00
Robo
ff571f3b5d
Part I: Move from base::Bind to base::BindOnce and remove unneeded base::Passed ( #12661 )
2018-04-20 19:55:05 +09:00
Cheng Zhao
aa5c80f8a6
Fix new clang warnings
2018-04-20 19:26:20 +09:00
Cheng Zhao
c44279bb10
Move AtomNSWindow to a new file
2018-04-20 19:26:20 +09:00
Cheng Zhao
569967ac21
Move QLPreviewPanelDataSource to AtomNSWindowDelegate
2018-04-20 19:17:08 +09:00
Cheng Zhao
f6a7e5ea23
Move NSTouchBarDelegate to AtomNSWindowDelegate
2018-04-20 19:15:45 +09:00
Cheng Zhao
8e9667d86c
Manage AtomTouchBar in NativeWindow instead of AtomNSWindow
2018-04-20 19:15:01 +09:00
Cheng Zhao
ce54fd334d
Move AtomNSWindowDelegate to a new file
2018-04-20 19:12:17 +09:00
Cheng Zhao
1c6c75da4f
Merge the logic of managing ViewsDelegate
2018-04-20 19:10:37 +09:00
Cheng Zhao
9bc79f840e
mac: Override NativeWidgetMac
2018-04-20 19:10:37 +09:00
Cheng Zhao
37a7df49d6
mac: Provide ViewsDelegate
2018-04-20 19:10:37 +09:00
Alexey Kuzmin
fcc82ebd35
Add "app.whenReady()" ( #12652 )
...
* Make "chai-as-promised" avaialble in tests
* Add "app.whenReady()"
Closes #9561 .
2018-04-20 17:09:23 +10:00
Shelley Vohr
c7a0b419a9
Merge pull request #12669 from electron/MarshallOfSound-patch-1
...
Add last known working electron version
2018-04-20 00:25:36 -04:00
Samuel Attard
032b7c68d8
Add last known working electron version
2018-04-20 14:23:01 +10:00
Cheng Zhao
55e2dbdbc8
Merge pull request #12647 from nornagon/chromium-style
...
Fix a bunch of chromium-style errors
2018-04-20 08:15:51 +09:00
deepak1556
6d0ac6593c
[chromium-style] Complex class/struct needs an explicit out-of-line copy constructor.
2018-04-19 11:12:58 -07:00
deepak1556
30f1d0991b
enable chromium style checker plugin for electron and brightray targets
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
7c5fcecbec
Build mac code with -Wunguarded-availability -Wobjc-missing-property-sythesis
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
eb7ccf8afa
Bring mac code into conformance with -Wobjc-missing-property-synthesis
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
f3c00e96aa
Bring mac code into conformance with -Wunguarded-availability
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
27cee90e5e
[chromium-style] move methods out of headers
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
f1587da480
[chromium-style] out-of-line default constructors and destructors
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
6c26bb1cf8
[chromium-style] destructors of ref-counted objects should be private
2018-04-19 11:12:10 -07:00
Jeremy Apthorp
e6695cf2ec
[chromium-style] override / virtual warnings
2018-04-19 11:12:10 -07:00
Jeremy Apthorp
a635f078c6
[chromium-style] auto variable type must not deduce to a raw pointer type
2018-04-19 11:10:52 -07:00
Shelley Vohr
667c43398c
Merge pull request #12650 from electron/clang-format-chromium-src
...
clang-format chromium_src
2018-04-19 08:37:02 -04:00
Birunthan Mohanathas
cd407d1c3f
Stop overwriting prevent_default if default wasn't prevented
...
This didn't actually cause any issues because there is only one listener
for the affected methods right now. Should we have added more, the last
called observer would have overwritten `prevent_default`. Lets only set
it when necessary to avoid this footgun in the future.
2018-04-19 12:45:21 +02:00
Cheng Zhao
6c9f3066fd
Merge pull request #12637 from electron/expose-toplevel-window
...
Refactor NativeWindow (Part 7): Expose TopLevelWindow in JavaScript
2018-04-19 14:52:04 +09:00
Cheng Zhao
7473b612c5
Make Menu API accept TopLevelWindow
2018-04-19 13:08:37 +09:00
Cheng Zhao
1340b17424
Do not return TopLevelWindow in BrowserWindow.getAllWindows
2018-04-19 13:08:37 +09:00
Cheng Zhao
e38f511737
Make BrowserWindow inheirt TopLevelWindow in JS
2018-04-19 13:08:37 +09:00
Cheng Zhao
71ebd99dfa
Expose TopLevelWindow to JavaScript
2018-04-19 13:08:36 +09:00
Cheng Zhao
cfed9fa4b9
Make sure we append parent->child_windows after InitWith
2018-04-19 12:45:48 +09:00
Shelley Vohr
e7bb7dd78b
force windows above other includes
2018-04-18 23:33:15 -04:00
Shelley Vohr
f7d4437b3f
format previously missed chromium_src .cc files
2018-04-18 22:59:34 -04:00
Shelley Vohr
8cc81509d7
clang-format chromium_src
2018-04-18 22:59:33 -04:00
Shelley Vohr
c090dd2f81
Merge pull request #12649 from electron/clang-format-brightray
...
clang-format brightray
2018-04-18 22:59:04 -04:00
Cheng Zhao
47826a1262
Merge pull request #12648 from electron/clang-format-atom
...
clang-format atom files
2018-04-19 11:49:35 +09:00
Cheng Zhao
89d909ab43
Only include UIAutomationCoreApi.h where necessary
2018-04-19 11:14:55 +09:00
Shelley Vohr
35a4a07320
fix include definition errors
2018-04-18 20:48:46 -04:00
Shelley Vohr
ec35966715
remove unused macro
2018-04-18 20:48:45 -04:00
Shelley Vohr
9f7a8832a1
remove include ordering filter
2018-04-18 20:48:45 -04:00
Shelley Vohr
c6f4bbd143
also format missing .cc files
2018-04-18 20:48:45 -04:00
Shelley Vohr
53bdf22c85
clang-format atom files
2018-04-18 20:48:45 -04:00
John Kleinschmidt
717f55b012
Merge pull request #11328 from electron/add-env-to-release-docs
...
expanded release docs
2018-04-18 11:28:16 -04:00
Shelley Vohr
f8e523b277
Merge pull request #12646 from electron/new-base-bind-converters
...
add converters for base::BindOnce and base::BindRepeating
2018-04-17 22:18:54 -04:00
Shelley Vohr
49c8c31220
format previously misses .cc files
2018-04-17 21:56:12 -04:00
Shelley Vohr
284aca68c0
clang-format brightray
2018-04-17 21:46:27 -04:00
Shelley Vohr
ca406637af
add converters for base::BindOnce and base::BindRepeating
2018-04-17 18:47:12 -04:00
Alexey Kuzmin
a254f3d02c
Update trop whitelist ( #12642 )
...
* Sort authorizedUsers alphabetically
* Add alexeykuzmin to the authorizedUsers list
* Add deepak1556 to the authorizedUsers list
* Add nornagon to the authorizedUsers list
* Add nitsakh to the authorizedUsers list
* Add zcbenz to the authorizedUsers list
* Add jkleinsc to the authorizedUsers list
2018-04-18 01:23:03 +10:00
Shelley Vohr
7a8a0f6b4b
Merge pull request #12616 from electron/fix-copy-to
...
switch to sk_tool_utils::copy_to()
2018-04-16 22:18:23 -04:00
Zeke Sikelianos
40ff17c9f9
Merge pull request #12619 from electron/add-before-update-event
...
add new event to auto-updater
2018-04-16 12:43:15 -07:00
Shelley Vohr
354f872919
run clang-format
2018-04-16 15:08:17 -04:00
Shelley Vohr
a19ddfc578
fix copy_to conditional
2018-04-16 12:14:35 -04:00
Nitish Sakhawalkar
875706f660
Address breaking API
2018-04-16 15:40:50 +02:00
Shelley Vohr
59527165ec
Merge pull request #31 from electron/fix-ci
...
Fix failing CI
2018-04-16 09:35:12 -04:00
Samuel Attard
d06c79f5d3
Correct the default of allowRunningInsecureContent as per docs ( #12556 )
...
* Correct the default of allowRunningInsecureContent as per docs
* fix linting
* Update calls to match native_mate API change
2018-04-16 08:28:54 -05:00
Alexey Kuzmin
d0c80b5b55
Remove mate::TryCatch ( #26 )
...
It's not used anywhere. We use v8::TryCatch instead.
2018-04-16 22:16:48 +09:00
Shelley Vohr
90a7b5ebce
switch to simplified version of copy_to
2018-04-16 08:47:34 -04:00
Shelley Vohr
91f97ca02f
Update appveyor settings
...
Use Visual Studio 2017.
2018-04-16 14:38:35 +02:00
Shelley Vohr
1e2828b80e
Update travis settings
...
Use Node.js 9.7.0 and Xcode 9.3.
2018-04-16 14:37:44 +02:00
Shelley Vohr
4cb41ac425
clarify usage around before-quit-for-update event
2018-04-16 08:13:04 -04:00
Samuel Attard
8a94d4fcf9
Merge pull request #23 from electron/promise
...
Add mate::Promise
2018-04-16 20:18:33 +10:00
Samuel Attard
b180f18b7e
Add mate::Promise
2018-04-16 20:08:04 +10:00
Vijay Pushkin
82cbd4327f
Corrected the name of Capitalization Styles
...
Corrected CamelCase to PascalCase and
mixedCase to camelCase
2018-04-16 13:14:11 +05:30
Shelley Vohr
bb2fb93355
Merge pull request #29 from electron/revert-c66-change
...
Revert "Address breaking API"
2018-04-15 13:48:22 -04:00
Shelley Vohr
a10564c3b1
Revert "Address breaking API"
...
This reverts commit e20cf8687e .
2018-04-15 13:26:35 -04:00
Samuel Attard
7cc3b877dc
Fix event leak on reuse of touchbar item ( #12527 )
...
* fix event leak on reuse of touchbar item
* Clean up child touch bar item event listeners and escape item listeners
2018-04-15 10:24:47 -05:00
Birunthan Mohanathas
cd8278dceb
Add missing event parameter to console-message ( #12617 )
2018-04-15 10:13:02 -05:00
Shelley Vohr
06892775d4
add new event to auto-updater
2018-04-14 21:29:36 -04:00
Shelley Vohr
43a9092c16
remove accidental file change
2018-04-14 21:24:19 -04:00
Shelley Vohr
1727a9eca9
pull up definition and remove include
2018-04-14 21:23:05 -04:00
Shelley Vohr
8b4a89c445
.deepCopyTo() => sk_tool_utils::copy_to()
2018-04-14 12:50:55 -04:00
Zeke Sikelianos
e606a74de3
Merge pull request #12595 from Zhangdroid/fix-broken-url
...
[doc] Fix broken url
2018-04-13 19:08:20 -07:00
Cheng Zhao
858828d343
Refactor NativeWindow (Part 6): Move NativeWindow bindings to api::TopLevelWindow ( #12596 )
...
* Add atom::api::TopLevelWindow
* Make BrowserWindow inherit TopLevelWindow
* Fix reading from wrong weak map
* Read options after setting content view
* OnWindowClosed is not guarenteed to run now
* Fix the offscreen hack in BrowserWindow
* Fix building on Linux
* Fix tests on Linux
* Fix building on Windows
2018-04-14 11:04:23 +09:00
Zhuo Zhang
de1eae288c
doc: rename 'blink-feature-string' as 'runtime-enabled-features'
...
make it more meaningful :)
2018-04-14 08:49:30 +08:00
Charles Kerr
03d119d539
Address @jkleinsc's 2018-03-21 comments
2018-04-13 16:10:53 -05:00
John Kleinschmidt
7acbbf2ef3
Add logic to bundle native mksnapshot for arm/arm64
2018-04-13 15:52:08 -04:00
Zeke Sikelianos
23bb3bd963
Merge pull request #12577 from TiagoDanin-Forks/DeadURLs
...
[Docs] Fix dead urls
2018-04-13 11:04:11 -07:00
Zhuo Lu
a0cac05555
Clear cache storage data ( #12546 )
2018-04-13 13:03:16 -04:00
Charles Kerr
3edb1eed8d
Merge pull request #27 from electron/fix-to-details-string-call
...
Fix Value::ToDetailString() call
2018-04-13 11:19:17 -05:00
Robo
ad2baccefa
tools: pass custom template for js2c ( #12593 )
...
* Update node v9.7.0 ref
* tools: pass custom template to node/tools/js2c.py
2018-04-13 08:20:04 -04:00
Shelley Vohr
9e5c264012
Merge pull request #12601 from electron/makeunique-replace
...
Replace base::MakeUnique with std::make_unique
2018-04-13 08:19:26 -04:00
Shelley Vohr
d722008367
remove unnecessary ptr_util.h include
2018-04-12 22:34:26 -04:00
Aleksei Kuzmin
3dce1dd240
Fix Value::ToDetailString() call
...
See https://chromium-review.googlesource.com/848782
2018-04-12 15:36:44 +02:00
Shelley Vohr
b05932310b
replace base::MakeUnique with std::make_unique
2018-04-12 08:48:32 -04:00
Jeremy Apthorp
97fb15ac49
Enable WebFrame method forwarding in sandboxed renderers ( #12538 )
...
* Enable WebFrame method forwarding in sandboxed renderers
Fixes #9073
* Non-change to kick CI
2018-04-12 11:57:40 +10:00
Zhuo Zhang
dd45473356
fix broken url for 'blink-feature-string'
2018-04-11 15:02:54 +08:00
Cheng Zhao
558d36c1f3
Merge pull request #12584 from electron/no-webcontents-in-constructor
...
Refactor NativeWindow (Part 5): Add NativeWindow::SetContentView
2018-04-11 15:34:29 +09:00
Cheng Zhao
311d730bce
Merge pull request #25 from nitsakh/fix-update-ch
...
Address breaking API
2018-04-11 15:14:06 +09:00
Cheng Zhao
d706a30849
Fix crash when releasing window
2018-04-11 15:12:53 +09:00
Cheng Zhao
2b5bde4071
InstallView is no longer needed
2018-04-11 15:12:53 +09:00
Cheng Zhao
5a95aaaa54
kVibrancyType should be read in InitFromOptions
2018-04-11 15:12:53 +09:00
Cheng Zhao
cfd8ea8eb0
mac: Correctly unload previous content view
2018-04-11 15:12:53 +09:00
Cheng Zhao
56735d4ff5
Add NativeWindow::SetContentView
2018-04-11 15:12:53 +09:00
Cheng Zhao
13473ee138
web_view_ => content_view_
2018-04-11 15:12:53 +09:00
Cheng Zhao
97e8800677
Remove web_contents from NativeWindow's constructor
2018-04-11 15:12:53 +09:00
Nitish Sakhawalkar
e20cf8687e
Address breaking API
2018-04-10 16:17:20 -07:00
Nitish Sakhawalkar
6fc819dae1
Fix transparency in capturePage ( #12561 )
...
* Fix transparent window capture. Transparency is preserved and not converted to black pixels anymore
* Add test to make sure aplha channel exists in captured image
2018-04-10 19:07:15 +09:00
TiagoDanin
d7a003b0bc
📝 Fix dead urls
2018-04-09 17:58:10 -03:00
John Kleinschmidt
eca0436f58
Use CircleCI for Mac builds ( #12572 )
2018-04-09 14:19:54 -05:00
Andreas
6b5e09478c
Mouse forward on macOS ( #12281 )
...
* Accept mouse events according to the forward parameter on macOS.
* Update BrowserWindow docs: mouse forward is available on macOS
2018-04-09 19:35:05 +09:00
Cheng Zhao
0e5aaab0b5
Merge pull request #11959 from yuya-oc/filter-for-mac-dialog
...
show file filter name for accessory view of file dialog
2018-04-09 19:32:29 +09:00
Cheng Zhao
41134f52d9
Fix memory leaks in file_dialog_mac.mm
2018-04-09 16:51:25 +09:00
Yuya Ochiai
2131dc839a
Show file filter name for accessory view of file dialog
...
- Respect filters option of dialog.showOpenDialog() and
dialog.showSaveDialog(). (#10335 )
- Show "All Files" for <input> apart from "accept" attribute. (#11456 )
2018-04-09 16:50:21 +09:00
OJ Kwon
4c51c03779
feat(performspellcheck): queue spell check request asynchronously ( #12112 )
...
* feat(spellcheckrequest): implement spellcheckrequest
* feat(performspellcheck): queue spell check request asynchronously
2018-04-09 15:18:50 +09:00
OJ Kwon
dabd61bf80
chore(build): support generating compilation db ( #12104 )
2018-04-09 14:54:14 +09:00
Andrew MacDonald
6bfb122cd1
Add a display_id parameter to the desktopCapturer API. ( #12417 )
...
* Add a screen_api_id parameter to the desktopCapturer API.
When using the DirectX capturer on Windows, there was previously no way
to associate desktopCapturer/getUserMedia and electron.screen API
screens. This new parameter provides the association.
* Fix non-Windows build.
* Fix Mac.
* Fix Mac harder.
* JS lint
* clang-format C++ code.
* IWYU
* display_id, Linux comment, better test
* lint
* Fix tests on Linux.
* Add display_id documentation.
2018-04-09 14:43:35 +09:00
Robo
89f2eb1023
asar: remove patch to support graceful-fs ( #12562 )
2018-04-07 10:13:32 -05:00
Nitish Sakhawalkar
970f79e32f
Check for devtools in BrowserWindow.getFocusedWindow() ( #12526 )
2018-04-06 09:21:32 -04:00
loc
82f8914f9e
remove defines from build-libchromiumcontent ( #11927 )
2018-04-06 08:22:15 -04:00
Robo
65e8199a93
Enable plznavigate aka browser side navigation ( #12535 )
...
* enable plznavigate code path
* AtomBrowserClient::GetGeolocationApiKey returns the right default
* use IsLoadingToDifferentDocument to identify top level navigation in mainFrame
* use candidate site instance when available
* spec: don't test httpReferrer option for file origin
* update libcc ref
* affinity: only group same site in this mode
* plznavigate: don't emit did-get-response-details event for blob scheme
2018-04-06 16:22:52 +09:00
Charles Kerr
f8b8dc1494
Simplify views/menu_bar focus management ( #12536 )
...
* Simplify views/menu_bar focus management
* Make the linter happy
* Remove NativeWindowView focus manager listener API
* remove unnecessary change
* MenuBar ctor now takes a views::View
2018-04-05 21:53:08 -05:00
Charles Kerr
cad8eed6e4
Use ui:view's Activate() on Linux ( #12539 )
...
In NativeWindowViews, we started rolling our own _NET_ACTIVE_WINDOW
event in June 2016 to raise windows because Chromium's implementation
wasn't working as expected. (See commit 32b692b6 )
I'm not seeing this behavior in our current version of libcc,
so I wonder if this workaround is still needed?
2018-04-05 22:39:53 -04:00
Jeremy Apthorp
f0d08f4da1
Propagate referrer to new windows ( #12397 )
...
* Propagate referrer to new windows
Fixes #9205
* Rearrange -new-window event arguments for backwards-compatibility
* Plumb referrer policy through guest-window-manager
* Document the Referrer structure and its uses
* Add tests for referrer in new windows
* Docs nits
2018-04-05 18:13:24 -05:00
Vanessa Yuen
4316949a1d
Merge pull request #12542 from natsuozawa/patch-1
...
Minor grammatical issue in first-app.md
2018-04-05 13:06:06 +02:00
Natsu
7a01ff11cd
Fixed one minor grammatical issue
...
Line 93: "principals and methods" -> "principles and methods"
2018-04-05 19:26:26 +09:00
Kristof Mattei
c1439bb02b
Use Visual Studio's vswhere to find Visual Studio, and use proper version numbers to locate ( #12537 )
2018-04-05 16:13:30 +09:00
Heilig Benedek
a14ebc80d2
Disable chromium's redraw locking on Windows when DWM is disabled ( #12501 )
...
* disable redraw locking on windows
* update libcc ref
2018-04-05 15:55:26 +09:00
Adrien Fery
5486a65702
Improve in-app purchase for MacOS ( #12464 )
...
* Add methods to finish transactions
* Add a method to get the product descriptions from the App Store
* Improve the documentation of a transaction structure
* Add a tutorial for In App Purchase
* Fix typo in In-App Purchase tutorial
* Fix style of In-App Purchase files
* Fix In-App-Purchase product structure conversion in amr64
* Fix code style in In-App Purchase tutorial documentation
* Fix typos in In-App Purchase documentation
* Fix typo in In-App Purchase spec
* Slight style fixes
2018-04-05 15:33:13 +09:00
Heilig Benedek
52b1065b3b
Focus webview directly in offscreen mode ( #12507 )
2018-04-05 15:14:42 +09:00
Robo
c1404ff2c1
vendor: Update native mate to fix v8 DCHECK crash ( #12534 )
...
* update native_mate ref
* Remove MarkHighMemoryUsage api
2018-04-05 00:47:18 -05:00
Cheng Zhao
c75dd93b92
Move AutofillPopup from NativeWindow to WebContents ( #12514 )
2018-04-05 09:53:51 +09:00
Aleš Pergl
3a45d541f3
Expose IsOffScreen method always to JS. ( #12530 )
2018-04-04 12:19:08 -05:00
MadfishDT
200388ff96
add moveTop API to move window z-oder to top for win32, mac ( #12485 )
...
* add moveTop API to move window z-oder to top for win32, mac
* BrowserWindow::MoveTop SetMethod bug fix
2018-04-03 08:04:32 -05:00
Zeke Sikelianos
9d570dc645
add IDL and Mojo to glossary ( #12504 )
2018-04-03 07:58:25 -05:00
Cheng Zhao
8fc5c6c862
Refactor NativeWindow (Part 3): Remove is_offscreen_dummy from NativeWindow ( #12503 )
...
* Don't use is_offscreen_dummy in MessageBox
* Don't use is_offscreen_dummy in DownloadManagerDelegate
* Don't use is_offscreen_dummy in CommonWebContentsDelegate
* Remove is_offscreen_dummy from NativeWindow
2018-04-03 12:19:35 +09:00
Charles Kerr
1a649a6ac3
Handle in-app-purchase less fatally on non-Darwin ( #12511 )
...
Fixes #12311
Right now it throws a new error when the file is even require()d, but this isn't ideal as there are cases where everything is mass-required, such as Spectron. Instead, we should throw an error on non-Darwin environments only when the IAP methods are invoked.
2018-04-02 18:55:44 -05:00
Jeremy Apthorp
a7352e57d5
WebFrame.setVisualZoomLevelLimits sets user-agent scale constraints ( #12488 )
...
Fixes #11216 .
2018-04-02 18:20:13 -04:00
Nitish Sakhawalkar
fbff355742
Support for navigator.languages ( #12419 )
2018-04-02 12:47:00 +09:00
Cheng Zhao
02693839ca
Merge pull request #24 from electron/remove_independent_lifetime
...
Remove usage of MarkIndependent api
2018-03-31 21:42:13 +09:00
deepak1556
894c96f39f
Remove usage of MarkIndependent api
...
https://bugs.chromium.org/p/chromium/issues/detail?id=780749
Use Active/Not Active as indicator whether the Scavenger can drop wrappers
2018-03-31 15:08:17 +05:30
Robo
171230e45d
Cleanup destruction of URLRequestContextGetter ( #12305 )
...
- Add Leak detector
- Indicate shutdown of request context from Browser Context
- Change stored references to URLRequestContextGetter to use BrowserContext
- Destroy session properties explicitly
2018-03-30 08:24:55 -05:00
Alexey Kuzmin
fc00a2ba32
Use latest libcc ( #12476 )
2018-03-29 16:35:07 -05:00
Shelley Vohr
a677c22e1f
re-enable null check against menu item accelerators ( #12449 )
2018-03-27 20:32:55 -04:00
Sean
5f7c6ccfe4
update doc for setProgressBar ( #12428 )
...
* update doc for setProgressBar
The linter was unable to get `paused` as a possible value for `mode`
* update doc for setProgressBar
Addressing PR feedback
2018-03-28 10:29:31 +11:00
Jeremy Apthorp
22da843efa
s/now/not/ in allowRunningInsecureContent documentation ( #12452 )
2018-03-28 10:15:29 +11:00
Samuel Attard
2e5cb930de
Provide an easy way to use a local build of Electron ( #12426 )
...
* Provide an easy way to use a local build of Electron
For instance from ~/projects/electron/out/D
* document ELECTRON_OVERRIDE_DIST_PATH
* Make the linter happy
* Tweak ELECTRON_OVERRIDE_DIST_PATH docs
2018-03-25 00:03:17 -04:00
Charles Kerr
cfd91a3b56
Fix documentation tyop ( #12422 )
2018-03-23 18:35:14 -04:00
Cheng Zhao
6a3d238b7e
Merge pull request #21 from yzgyyang/master
...
Add support for FreeBSD
2018-03-23 09:19:00 +09:00
Guangyuan Yang
31206cfa0a
Add support for FreeBSD
2018-03-22 14:14:26 -04:00
Jeremy Apthorp
95cbd69e48
Update testing docs to reflect --grep syntax ( #12400 )
...
* Update testing docs to reflect --grep syntax
* Use @zeke's suggestion to s/suites/tests/
2018-03-22 13:19:53 -04:00
Cheng Zhao
f41cce96a3
Increase timeout for inAppPurchase test ( #12403 )
2018-03-22 08:47:29 -05:00
Zhuo Lu
c50a460ce6
Do not block main process for async dialog ( #12404 )
2018-03-22 08:57:33 -04:00
Clément Beffa
642f5a84d4
Workspace notifications support on macOS ( #12093 )
2018-03-22 18:41:03 +09:00
Nitish Sakhawalkar
9d1527b1df
Fix context menu for sandbox devtools ( #11933 )
2018-03-22 16:15:57 +09:00
Cheng Zhao
67f052a6e1
Merge pull request #12168 from electron/easier-web-contents-preferences
...
Cleanup the static methods of WebContentsPreferences
2018-03-22 15:58:04 +09:00
Cheng Zhao
05fcec829e
Use Clone explicitly instead of MergeDictionary
2018-03-22 15:29:20 +09:00
Cheng Zhao
0abbedcdae
Fix error caused by refactor
2018-03-22 15:21:56 +09:00
Cheng Zhao
6df2326a30
Cleanup the static methods of WebContentsPreferences
...
The static methods are totally unnecessary, and it makes code harder to
understand since we are using different ways to do the same things.
2018-03-22 15:21:56 +09:00
Cheng Zhao
001275339b
Hide WebContentPreferences::GetWebContentsFromProcessID from public
2018-03-22 15:20:03 +09:00
Cheng Zhao
3d47a8a2fd
Remove the static getter methods from WebContentsPreferences
2018-03-22 15:20:03 +09:00
Cheng Zhao
887bc12350
Add WebContentsPreferences::From that checks parameter
2018-03-22 15:16:26 +09:00
Cheng Zhao
9772777919
web_prefrences() => dict()
...
Having property name being the same with class name is making code
harder to understand, and dict is much shorter.
2018-03-22 15:15:30 +09:00
Zeke Sikelianos
d323ce2c42
Merge pull request #12399 from electron/now-we-call-ourselves-electrocats
...
now we call ourselves electrocats
2018-03-21 17:06:59 -07:00
Zeke Sikelianos
7c0c798c90
now we call ourselves electrocats
2018-03-21 16:50:52 -07:00
Shelley Vohr
05dc04dacc
don't check darkmode for drawStatusBarBackgroundInRect ( #12395 )
2018-03-21 19:03:57 -04:00
Charles Kerr
0d7becff87
Use the appname as the tray icon's default tooltip ( #12388 )
...
This makes an upstream DCHECK happy in AppIndicatorIcon::SetToolTip.
Empty tooltip strings are discouraged, as discussed in commit log
b6c510aa543193337041517c2d70113840189b06.
Fixes #12386 .
2018-03-21 12:15:30 -05:00
htk3
6fa4ec22c5
fix broken fragment link in ipc-main.md ( #12389 )
2018-03-21 12:05:27 -05:00
bughit
37eccbcd33
Update 3 (of Visual Studio 2017) is leftover from 2015 ( #12372 )
...
does not apply to 2017
it's not clear to me that it's possible to download a non current version of vs2017
but if a specific version is required the directions should explain how to get it
2018-03-20 16:15:59 -05:00
Zeke Sikelianos
e3dfffb77b
add docs/development/README.md ( #12373 )
2018-03-20 15:36:48 -04:00
John Kleinschmidt
060b592fc8
Merge pull request #12348 from electron/fix-browser-view-draggable-region
...
Update draggable regions when changing BrowserView
2018-03-20 10:40:27 -04:00
Cheng Zhao
cd30a4e2d4
Merge pull request #11459 from electron/upgrade-to-chromium-63
...
Upgrade to Chromium 63
2018-03-20 17:25:34 +09:00
Cheng Zhao
c70150847d
Ignore warning LNK4199
...
We are now sharing the /DELAYLOAD settings between configurations.
2018-03-20 10:13:17 +03:00
Cheng Zhao
2e94a730cc
Isolate the code using content::WebContentsImpl
2018-03-20 10:13:17 +03:00
Gellert Hegyi
a9cdd6614a
fixes class name
2018-03-20 10:13:17 +03:00
Gellert Hegyi
0ad8815bbc
fixes offscreen rendering issues
2018-03-20 10:13:17 +03:00
Cheng Zhao
d4969783d7
Avoid including web_contents_impl.h
...
This can fix the build error caused by duplicate typedefs.
2018-03-20 10:13:17 +03:00
deepak1556
f5e1ee010b
FIXME: disable pdf viewer feature
2018-03-20 10:13:17 +03:00
deepak1556
e24c0dda5d
add features module to detect availability of build time features at runtime
2018-03-20 10:13:17 +03:00
deepak1556
4b39d17e5f
move pdf viewer behind feature flag
2018-03-20 10:13:17 +03:00
deepak1556
c1908147a9
Fix windows build
2018-03-20 10:13:17 +03:00
John Kleinschmidt
6aebae5a98
Remove custom appveyor config
2018-03-20 10:13:17 +03:00
Aleksei Kuzmin
714a793a0e
Update to the latest libcc with Ch63
2018-03-20 10:13:17 +03:00
Cheng Zhao
94fce43ed9
Emit document-start for the correct env
...
This fixes the crash in RunScriptsAtDocumentStart when "affinity" option
is specified. Previously we were assuming only one main frame exists in
the renderer process, but the "affinity" option breaks this option.
There is also a bug that "node::Environment::GetCurrent" does not return
nullptr for context without a env in it, I'm not sure whether it is a
bug of Node or V8.
2018-03-20 10:13:17 +03:00
deepak1556
c3f8f6bc42
re-use request context from IOThread
2018-03-20 10:13:17 +03:00
Cheng Zhao
97fcf7079b
Update chrome_version.h
2018-03-20 10:13:17 +03:00
Cheng Zhao
cb4c54eec1
Use 60 as module version for V8 6.3
2018-03-20 10:13:17 +03:00
deepak1556
9702898dcd
AccessTokenStore is only needed to initialize network location service
2018-03-20 10:13:17 +03:00
deepak1556
97eb7f2c98
REVIEW: ContentBrowserClient now provides geolocation api key and request context
2018-03-20 10:13:16 +03:00
deepak1556
f9de29ed8c
Enable node crypto spec
2018-03-20 10:13:16 +03:00
Cheng Zhao
246f6318e4
Fix release build on Windows
2018-03-20 10:13:16 +03:00
Aleksei Kuzmin
d5ecbfc539
spec: Do not assume en-US locale to be the current
2018-03-20 10:13:16 +03:00
John Kleinschmidt
750c3d05aa
debug build issues
2018-03-20 10:13:16 +03:00
John Kleinschmidt
dfc4dbdbd3
Drop clone folder
2018-03-20 10:13:16 +03:00
John Kleinschmidt
d58b366123
Add whole appveyor config
2018-03-20 10:13:16 +03:00
John Kleinschmidt
d90b600bc1
Use visual studio 17 image
2018-03-20 10:13:16 +03:00
Aleksei Kuzmin
d3afb595dc
Tab Capture in VIZ: CopyOutputRequest/Result API changes.
...
https://chromium-review.googlesource.com/637003
2018-03-20 10:13:16 +03:00
Aleksei Kuzmin
639be7f7bc
Simplify transparent backgrounds
...
https://chromium-review.googlesource.com/669646
2018-03-20 10:13:16 +03:00
Cheng Zhao
b6b7707dc3
Fix Windows linking error
2018-03-20 10:13:16 +03:00
Cheng Zhao
624e09533c
Avoid using deprecated skia size methods
2018-03-20 10:13:16 +03:00
Cheng Zhao
42938de973
Build with Visual Studio 2017
2018-03-20 10:13:16 +03:00
deepak1556
e6d38cb64e
update node ref to fix --typed_array_max_size_in_heap error
2018-03-20 10:13:16 +03:00
Nitish Sakhawalkar
524f56354c
Fix webview resize test
2018-03-20 10:13:16 +03:00
deepak1556
5e9da04ab7
update libcc ref to disable ScriptForbuddenScope check
2018-03-20 10:13:16 +03:00
deepak1556
f4ee48eaf4
v8-platform header is not required explicitly
2018-03-20 10:13:16 +03:00
Cheng Zhao
d141d2445d
Fix build error caused by base::Passed changes
2018-03-20 10:13:16 +03:00
deepak1556
b08d086b0f
fix stale rebase
2018-03-20 10:13:16 +03:00
Shelley Vohr
7e7634d344
Chromium 63 - upgrade to Node v9.7.0 ( #12219 )
...
* OPENSSL_PRODUCT => openssl_product
* node => node_lib and V8_BASE => v8_base
* build node target for <(node_lib_target_name)
* update node ref
* update node::Environment::TickInfo calls
* update node ref
* Use InternalCallbackScope for ticking event loop
* enter context scope before InternalCallbackScope
* don't lint v8 platform header
2018-03-20 10:13:16 +03:00
Cheng Zhao
ecefe41728
Linker behaves differently on arm
2018-03-20 10:13:16 +03:00
Cheng Zhao
34cb9cf1fe
Use lld for linking on both Debug/Release builds
...
This follows Chromium's config, otherwise we get linking error:
/usr/bin/ld: shared_library/libmirclient.so.9: __cxa_finalize: invalid needed version 2
shared_library/libmirclient.so.9: error adding symbols: Bad value
2018-03-20 10:13:16 +03:00
Cheng Zhao
76ef6e3ecc
CertificateList => ScopedCERTCertificateList
2018-03-20 10:13:16 +03:00
Cheng Zhao
0f9f04e4ec
Fix cpplint warning
2018-03-20 10:13:16 +03:00
Cheng Zhao
aa25381651
Fix warning when building openssl-cli
2018-03-20 10:13:16 +03:00
Cheng Zhao
5f71fbc6b3
Fix warnings when building node
2018-03-20 10:13:16 +03:00
Nitish Sakhawalkar
ecd0f9d0e7
Fix build by adding define in node_includes.h
2018-03-20 10:13:15 +03:00
Tomas Rycl
f2116c50c0
Unity detection now works in all OSes - returns false.
2018-03-20 10:13:15 +03:00
Tomas Rycl
c15e09b71e
rtc_base_approved renamed to generic
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
f68cba0c71
Update Chrome version
2018-03-20 10:13:15 +03:00
deepak1556
80772c2419
FIXME: Disable node crypto spec
2018-03-20 10:13:15 +03:00
deepak1556
b9bb4dfc06
FIXME: re-enable guest webcontents based on OOPIF feature
2018-03-20 10:13:15 +03:00
deepak1556
719980a948
REVIEW: remove device emulation ipc dependecny on rvh
2018-03-20 10:13:15 +03:00
deepak1556
5684f8886f
REVIEW: move ipc use from rvh to rfh
2018-03-20 10:13:15 +03:00
deepak1556
b552ad7065
add taskpriority when creating sequences task runners
2018-03-20 10:13:15 +03:00
deepak1556
1f2d229862
re-use title information from NavigationEntry
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
fa3d9d32ae
Use XDG_CURRENT_DESKTOP to determine if the desktop environment is Unity
...
https://chromium-review.googlesource.com/682615
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
e35b128fa3
Update crashpad to match Chromium 63.0.3239.108
2018-03-20 10:13:15 +03:00
deepak1556
6de49f515e
FIXME: Disbale browser side navigation aka PlzNavigate
2018-03-20 10:13:15 +03:00
deepak1556
007ea500d0
REVIEW: Re-use devtools network throttling from content layer
...
https://chromium-review.googlesource.com/c/chromium/src/+/664356
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
490b1e2532
FIXME: Disable some tests to avoid crashes
2018-03-20 10:13:15 +03:00
Samuel Attard
8269a6dc37
Temporarily disable OnCursorChange
...
ScopedProfile is removed
https://chromium-review.googlesource.com/c/chromium/src/+/655147
2018-03-20 10:13:15 +03:00
Samuel Attard
78266db427
Fix webrtc linking issues
2018-03-20 10:13:15 +03:00
Samuel Attard
b0fe23072d
Update chrome version
2018-03-20 10:13:15 +03:00
Samuel Attard
a21e0c652c
Fix WorkerPool and IPC send inside print job/manager
2018-03-20 10:13:15 +03:00
Samuel Attard
0b6293e2f5
Pickle write methods now return void and use GE_CHECK instead
2018-03-20 10:13:15 +03:00
Samuel Attard
9181db1304
Disable tautological check for chromium code
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
dcece31519
FIXME: Disable OSR by default
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
aab6f27503
Move DrawQuads to components/viz/
...
https://chromium-review.googlesource.com/667539
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
74cedd3255
Move ReleaseCallbacks and CopyOutputRequests out of quads/
...
https://chromium-review.googlesource.com/682760
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
d1061692d5
Move CompositorFrame{Metadata} to viz/common/quads.
...
https://chromium-review.googlesource.com/676726
2018-03-20 10:13:14 +03:00
Aleksei Kuzmin
481c70311a
Move SoftwareOutputDevice to the viz service display compositor.
...
https://chromium-review.googlesource.com/677463
2018-03-20 10:13:14 +03:00
Aleksei Kuzmin
4d234e3abc
Update Node.js submodule to fix a compilation error
2018-03-20 10:13:14 +03:00
Samuel Attard
37a321a601
Fix super fast hash and blocking pool
2018-03-20 10:13:14 +03:00
Samuel Attard
7c8be94a6e
IPC fixes for WebContents
2018-03-20 10:13:14 +03:00
Samuel Attard
1c648f9714
Add new includes for leveldb and webrtc
2018-03-20 10:13:14 +03:00
Samuel Attard
fdc7c183e8
Update libcc
2018-03-20 10:13:14 +03:00
Samuel Attard
f80b328937
WebExceptionCode has been removed
2018-03-20 10:13:14 +03:00
Samuel Attard
5a2f85600d
Add support for size 64 skbitmap operations
2018-03-20 10:13:14 +03:00
Samuel Attard
7356be0164
Convert optional webpoint
2018-03-20 10:13:14 +03:00
Samuel Attard
a8e013dcb6
GetRenderProcessHost() has been removed for OOPI support, should use #include GetMainFrame()->GetProcess()
2018-03-20 10:13:14 +03:00
Samuel Attard
c3dec709ab
PrintedPageSource has been removed
2018-03-20 10:08:58 +03:00
Samuel Attard
6402b23041
tracked_objects::Location --> base::Location
2018-03-20 10:08:58 +03:00
Samuel Attard
1158d35021
experimental_webgl_enabled is not supported, now use webgl1/2_enabled
2018-03-20 10:08:58 +03:00
Samuel Attard
e65815e34c
Implement GetBackgroundFetchDelegate in brightray::BrowserContext
2018-03-20 10:08:58 +03:00
Samuel Attard
021e383418
GetBlockingPool has been removed
2018-03-20 10:08:58 +03:00
Samuel Attard
0291dc8214
Calling non-const callbacks requires some tricks
2018-03-20 10:08:58 +03:00
Samuel Attard
ce755483ba
DialogClosedCallback are not const references anymore
2018-03-20 10:08:58 +03:00
Samuel Attard
de2981a767
Move proxy constructor to ProxyService namespace
2018-03-20 10:08:58 +03:00
Samuel Attard
41b9825f00
WebContents are no longer IPC Sender's
2018-03-20 10:08:58 +03:00
Samuel Attard
6f695b93d5
Fix system proxy config resolver constructor
2018-03-20 10:08:58 +03:00
Samuel Attard
f2edd5d068
v8 proxy service has been removed
2018-03-20 10:08:58 +03:00
Samuel Attard
f0ef11b856
BlockingPool has been removed
2018-03-20 10:08:58 +03:00
Samuel Attard
12066a60f3
make_scoped_refptr --> WrapRefCounted
2018-03-20 10:08:58 +03:00
Samuel Attard
4666879f94
WebContentsObserver no longer provides explicit_set, we can calculate it
2018-03-20 10:08:57 +03:00
Samuel Attard
fb55db665c
AllowCertificateError no longer sends overridable
2018-03-20 10:08:57 +03:00
Samuel Attard
7f50c3d08e
TracingController -> Coordinator -- content tracing now uses 'endpoints' instead of 'sinks'
2018-03-20 10:08:57 +03:00
Samuel Attard
461e33104e
HandleCommand now takes session_id and returns success boolean. It is assumed a nullptr from the handler means failure
2018-03-20 10:08:57 +03:00
Samuel Attard
ed992ae6a1
trackable_object has moved to base namespace
2018-03-20 10:08:57 +03:00
Aleksei Kuzmin
b608152c41
Update Chrome version to 63.0.3239.84
2018-03-20 10:08:57 +03:00
Aleksei Kuzmin
5cf1ef7be0
Update clang revision to match Chromium 63.0.3239.70
2018-03-20 10:08:57 +03:00
Aleksei Kuzmin
6649a82776
Use libcc with Chromium 63
2018-03-20 10:08:57 +03:00
Samuel Attard
0ac883c6d4
Remove the race condition between new process creation and context release ( #12342 )
...
* Remove the race condition between new process creation and old process releasing remote context
Previously there was a race condition where the getId() method would return the new context ID even
though the release was for the old context. This changes it to send the "initial" context ID with
the release message to ensure there is no race.
* fetch context ID from remote in sandbox mode
2018-03-20 15:54:47 +11:00
Birunthan Mohanathas
20a0508a16
Update draggable regions when changing BrowserView
...
Fixes #12150 .
2018-03-19 20:45:42 +02:00
Birunthan Mohanathas
42934a1006
Make BrowserView DragRegionViews children of the WebContents view
...
Previously they were children of the `InspectableWebContentsView` view,
which caused this assertion to fail:
f993888424/brightray/browser/mac/bry_inspectable_web_contents_view.mm (L162)
2018-03-19 20:45:40 +02:00
Birunthan Mohanathas
3b8ddd0997
Use NSView convertRect:toView: for BrowserView DragRegionView positioning
2018-03-19 20:44:05 +02:00
Birunthan Mohanathas
377e6c3210
Rename system_drag_exclude_areas => drag_exclude_rects
2018-03-19 20:44:05 +02:00
Birunthan Mohanathas
61160ff9e5
Store InspectableWebContents instead of InspectableWebContentsView in NativeBrowserView
2018-03-19 20:44:05 +02:00
Shelley Vohr
9599615b23
Fix nil tray title crash ( #12352 )
...
* Add check for title_ being nil
* remove print stub
2018-03-19 10:49:39 -05:00
John Kleinschmidt
6b80865bfe
Merge pull request #12351 from electron/update-to-node8
...
Update CI to use Node.js 8
2018-03-19 11:04:52 -04:00
John Kleinschmidt
ed1c84445c
Update CI to use Node 8
2018-03-19 10:19:32 -04:00
Cheng Zhao
f993888424
Merge pull request #12328 from electron/delay_load
...
Use same delay-load settings in both debug and release
2018-03-17 11:32:30 +09:00
Birunthan Mohanathas
6f6f388f38
Fix non-draggable regions on macOS ( #12327 )
...
This was a regression in 503b0ba1 .
2018-03-17 06:49:11 +09:00
Charles Kerr
558ef7352d
Better GTK+ Menu color support ( #12300 )
...
* Better GTK+ Menu color support
* Fix 'invisible menu' issue (#12275 )
* Now updates menu text color when focus changes!
* Better caching of colors when system theme changes
* Removed all GTK+ deprecation warnings from menubar
* Don't highlight menu text on mouseover in GTK+
* Fix textColor declaration scope error
* Simplify FocusManager connection management a bit
* Make the linter happy
* Decouple MenuBar view recoloring from rebuilding
This way we don't need to rebuild the subview each time a recolor
is needed, e.g. when window focus changes or the system theme changes
* Don't iterate child views if we don't need to
* Move variable declaration outside of a loop
* More efficient iteration of MenuBar children
* Cleaner MenuButton bounds testing
* Fix oops
* Add a nullptr check in MenuBar::GetItemCount()
* Simplify iteration in MenuBar::RebuildChildren()
* Make the linter happy
* Fix signed-unsigned comparison
* Remove declarations of nonexistent methods
* Make SubmenuButton accessor const
* Cleaner accelerator iteration
* Windows fixes
2018-03-17 06:37:36 +09:00
Shelley Vohr
31d688ad3d
Check menu.popup options are an object ( #12325 )
...
* check menu.popup options are an object
* Add a spec for menu.popup options check
* remove stray .only
2018-03-17 06:31:10 +09:00
Ales Pergl
84ce3a9ea1
Use same delay-load settings in both debug and release
2018-03-16 17:10:38 +01:00
Robo
792837bd71
net: change mime type deduction in Change URLRequestAsarJob ( #12319 )
2018-03-16 16:48:26 +09:00
Samuel Attard
e93c587b8e
Delete .node-version ( #12304 )
...
This removes the .node-version file, it is a source of confusion and not incredibly useful.
It doesn't actually indicate the version of node that Electron uses, it's like a development helper that sets the version of node you should be using locally when devving on Electron. Not many major tools use it so too remove confusion I think we should remove it
2018-03-16 10:12:12 +09:00
zhao-lin-li
bb73a0e2cb
Update example code ( #12315 )
...
path and url needed to be require'd
2018-03-16 07:20:51 +09:00
Felix Rieseberg
243ab45111
🔧 Fix security warning ( #12309 )
2018-03-16 06:21:38 +09:00
John Kleinschmidt
71c3483f55
Fix AttributeError: 'dict' object has no attribute 'required'
2018-03-15 13:20:41 -04:00
Samuel Attard
4b476f13bb
Revert "Fixes electron/electron#12147" ( #12293 )
...
* Revert "Set appropriate defaults for webview options (#12271 )"
This reverts commit c2673aa970 .
* Revert "Fixes electron/electron#12147 (#12193 )"
This reverts commit f54c94d6c9 .
2018-03-15 16:18:36 +09:00
Birunthan Mohanathas
2681e769a6
Document BrowserView.{destroy,isDestroyed} ( #12274 )
2018-03-15 16:15:56 +09:00
Charles Kerr
c2673aa970
Set appropriate defaults for webview options ( #12271 )
...
* Persist defaults to webPreferences object to JS land can read the inferred values instead of just user defined values
* Test inherited default propogation
* Refactor to remove coupling from fetching values and defaults
* Test description type
* Fix up tests
2018-03-15 13:56:46 +09:00
nous-
f54c94d6c9
Fixes electron/electron#12147 ( #12193 )
2018-03-15 13:29:32 +09:00
Shelley Vohr
9aeb61181a
Fix require on network share path ( #12282 )
...
* first pass at server/network require fix
* refactor for clarity
2018-03-15 11:45:13 +09:00
Jacob Groundwater
1f8de33e75
Change Contact Emails ( #12278 )
2018-03-15 04:37:40 +09:00
Samuel Attard
9ed9885c8d
fix remote setInterval flake ( #12263 )
2018-03-14 14:51:47 +09:00
OJ Kwon
e7181eb89c
feat(powerMonitor): expose interface to query system idle state ( #11807 )
...
* feat(BrowserWindow): expose interface to query system idle state
* test(BrowserWindow): update test cases for querySystemIdle interface
* docs(BrowserWindow): add querySystemIdle interface documentation
* refactor(powerMonitor): move querySystemIdle into powerMonitor
* test(powerMonitor): split test cases for all platform
2018-03-14 14:42:08 +09:00
Samuel Attard
90dc897f71
add missing report.length > 1 assertion ( #12257 )
2018-03-14 13:14:29 +09:00
Samuel Attard
8993a2c6ed
Enable easy rebuild of native modules for unreleased electron ( #12217 )
...
* Enable easy rebuild of native modules for unreleased electron
Sometimes when developing locally (as I found this morning) you want to rebuild native modules
against an unreleased version of Electron (in this case local master). This PR adds a simple
script to launch a local HTTP server that generates and hosts the required header and checksum
files to rebuild modules. So far only tested on macOS but should work on all OS's
* Allow custom port
* clean up serve script
* make optionality more obvious
2018-03-14 12:59:18 +09:00
Hari Juturu
704af29543
Exposing process.env status ( #12166 )
2018-03-14 12:01:40 +09:00
Cheng Zhao
134872e9c1
Merge pull request #12198 from electron/fix_crash_handler
...
Fixed passing of exception to the system crash handler
2018-03-14 11:40:11 +09:00
Robo
e741bc0577
fix crash when using getWebPreferences api with devtools webContents ( #12254 )
2018-03-14 11:19:22 +09:00
Samuel Attard
e62349cffb
Merge pull request #12253 from felixrieseberg/fix-last-crash-report
...
fix: Ensure that `getLastCrashReport()` is actually the last crash report
2018-03-14 10:36:27 +09:00
Samuel Attard
8664dd2139
Merge pull request #12190 from electron/fix-double-preload-master
...
Ensure that a document has been created before sending IPC messages
2018-03-14 10:34:05 +09:00
Felix Rieseberg
ee67211035
🔧 Linter's gotta lint
2018-03-13 17:41:02 -07:00
Felix Rieseberg
582ef30b4a
👷 Tests, how do they work
2018-03-13 17:35:55 -07:00
Felix Rieseberg
1b3568e66e
👷 Fancy test
2018-03-13 17:28:15 -07:00
Felix Rieseberg
3575dae75c
🔪 Cut typo
2018-03-13 16:58:40 -07:00
Felix Rieseberg
673335de4b
🔧 Actually test the method
2018-03-13 16:51:20 -07:00
Vanessa Yuen
48dd8f96b7
Fix broken links ( #12232 )
...
* Update system-preferences.md
* Fix broken documentation links.
2018-03-14 08:07:36 +09:00
Felix Rieseberg
72579f9bab
🔧 Sort crashes
2018-03-13 13:57:12 -07:00
John Kleinschmidt
5a81cfbbc6
Merge pull request #12241 from electron/sw-file-scheme-flaky-patch
...
spec: isolate sw file scheme spec storage with temp partition
2018-03-13 13:30:43 -04:00
deepak1556
c3bcb606a9
spec: isolate sw file scheme spec storage with temp partition
2018-03-14 02:03:55 +09:00
Samuel Attard
8e07e7483f
Merge pull request #12228 from electron/fix-window-open-not-showing
...
Parent's visibility trumps inherited 'show' option
2018-03-13 17:41:00 +09:00
Charles Kerr
e400585a0e
Apply further ES6 bikeshedding
2018-03-13 17:09:47 +09:00
Shelley Vohr
e648662cfd
Add config for trop (backporting bot) ( #12238 )
...
* add config for trop
* backportWhitelist => authorizedUsers
2018-03-13 16:39:50 +09:00
Charles Kerr
2d90e763ad
Use idiomatic ES6 when merging options
2018-03-13 16:23:39 +09:00
Charles Kerr
379bd79de4
Remove unnecessary work when merging options
2018-03-13 16:18:50 +09:00
Charles Kerr
e4d5ae53fc
Add tests
2018-03-13 15:55:48 +09:00
Felix Rieseberg
71795ecc62
fix: Incorrect warnings in webviews ( #12234 )
...
* 🔧 Get correct webContents
* 🔧 Err, webPreferences
2018-03-13 10:55:32 +09:00
Charles Kerr
685948bcaa
Parent's visibility trumps inherited 'show' option
2018-03-13 00:28:34 +09:00
Charles Kerr
dd2c2660b9
Fix desktop-id notification edge case ( #12216 )
...
* Fix desktop-id notification edge case
* Extract-method platform_util::GetDesktopName()
This removes duplicated code from libnotify_notifications.cc
and atom/common/linux/application_info.cc.
* Check for empty case in GetDesktopName().
* Move GetDesktopName() to brightray::util
* Remove unnecessary changes in platform_util
* Add a brightray::platform_util namespace
2018-03-12 16:02:47 +09:00
Charles Kerr
86af20ded0
Linux named notifications ( #12192 )
...
* Set name & desktop-entry on Linux notifications
* DBusMock now honors verbose mode flag
* Disable DBus Notification tests on ia32
2018-03-12 09:33:06 +09:00
Phil Freo
9d090e00f2
Make link to related guide/tutorial more obvious ( #12204 )
...
It's generally not a good practice to just link the word "here"
2018-03-10 23:04:07 +09:00
John Kleinschmidt
e085c01a2e
Merge pull request #12202 from electron/readme-heading
...
Add heading for README
2018-03-09 14:29:42 -05:00
Vanessa Yuen
9c0e579bd3
Add heading for README
2018-03-09 20:16:56 +01:00
Robo
06bf72da67
remove process preference lock from AtomBrowserClient ( #12194 )
2018-03-09 12:37:26 -05:00
Ales Pergl
4673c67835
Fixed passing of exception to the system crash handler
2018-03-09 15:46:27 +01:00
John Kleinschmidt
f685e389d3
Merge pull request #12196 from electron/fix_run_as_node
...
Fixed Mac build when enable_run_as_node==false
2018-03-09 09:22:42 -05:00
Ales Pergl
94299f6cd8
Fixed Mac build when enable_run_as_node==false
2018-03-09 13:33:04 +01:00
deepak1556
2bf1131dab
add NOLINT rule for include order in renderer_client_base
2018-03-09 15:19:07 +05:30
deepak1556
3cfe66e4c3
move ipc use from rvh to rfh
2018-03-09 15:01:09 +05:30
Charles Kerr
0d12fc3033
Make the linter happy
2018-03-09 17:03:00 +09:00
Cheng Zhao
30405a3441
Merge pull request #12101 from electron/upgrade-node-v9.7.0
...
Update to node v9.7.0
2018-03-09 16:41:23 +09:00
Cheng Zhao
e79b18762e
Enter context scope before InternalCallbackScope
2018-03-09 16:14:24 +09:00
Cheng Zhao
83f01096c0
When a render process is crashed, it might be reused
2018-03-09 16:13:51 +09:00
Cheng Zhao
5d2452608d
Use InternalCallbackScope for ticking event loop
2018-03-09 15:23:40 +09:00
deepak1556
50a5a69c46
update node ref fixing crash with buffer allocation
2018-03-09 15:23:40 +09:00
Shelley Vohr
1882b88c78
clean node ref and remove short circuit
2018-03-09 15:23:39 +09:00
deepak1556
3fea581ec8
build node target for <(node_lib_target_name)
2018-03-09 15:23:39 +09:00
Shelley Vohr
c8ef15cf40
update node::Environment::TickInfo calls
2018-03-09 15:23:39 +09:00
Shelley Vohr
e3bb3c3906
node => node_lib and V8_BASE => v8_base
2018-03-09 15:23:38 +09:00
Shelley Vohr
d88fa8b787
OPENSSL_PRODUCT => openssl_product
2018-03-09 15:23:38 +09:00
Shelley Vohr
068f0cce96
update node ref to electron-node-v9.7.0
2018-03-09 15:23:38 +09:00
Cheng Zhao
cf36fdecbf
Skip client-certificate test for Linux ( #12189 )
2018-03-09 14:43:49 +09:00
Samuel Attard
a9dcce82ed
Ensure that a document has been created before sending IPC messages
...
* Reverts 370476c4af in favor of moving the previous logic to the new RenderFrameObserver instead of RenderViewObserver
Fixes #12045
2018-03-09 14:24:56 +11:00
Charles Kerr
5f48f91d94
Newer CI images ( #12188 )
...
* Bump electronbuilds/electron* versions
The linux-appname branch has been gathering dust for awhile.
Some of the versions in `master` are higher, and some of the
versions in `linux-appname` are higher to add libnotify.
This commit takes the higher of the two numbers in each case.
* Add libnotify to the Dockerfiles
2018-03-08 22:07:50 -05:00
Cheng Zhao
15503a3b9e
Merge pull request #12187 from electron/ia32-more-debug
...
Enable more debug info for electron-linux-ia32
2018-03-09 12:00:10 +09:00
Cheng Zhao
5c15d263e0
Enable more debug info for electron-linux-ia32
2018-03-09 11:06:42 +09:00
Cheng Zhao
cde0c1d418
Print detailed error for serviceWorker test ( #12186 )
2018-03-08 21:06:29 -05:00
Cheng Zhao
44c66fc284
Merge pull request #12167 from lyallh/menubar-autohide-fix
...
Fix menubar toggle alt key detection on focus
2018-03-09 10:13:32 +09:00
Cheng Zhao
3885674877
Merge pull request #12080 from electron/build-on-arm64-hw
...
Allow CI testing on arm64 hardware
2018-03-09 08:54:32 +09:00
Aleš Pergl
0937b84b01
Use content origin in screen coordinates for calculating popup menu position ( #12180 )
2018-03-09 05:48:35 +09:00
Cheng Zhao
51f89048d6
Use bundled freetype from Chromium
2018-03-08 10:47:19 -05:00
John Kleinschmidt
134d3f98c9
Allow CI building on arm64 hardware
2018-03-08 09:53:47 -05:00
Lyall Hamilton
ba24920fec
Fix menubar toggle alt key detection on focus
...
Reset alt keypress flag on window blur so switching window via
Alt+* window manager keybindings can't incedentally trigger
annoying menubar toggles
2018-03-08 21:48:43 +13:00
Jake
569b87ff83
Added session-created event documentation ( #12123 )
...
* Added session-created event documentation
Emitted at 1c0ea0286e/lib/browser/api/session.js (L21)
* Removed trailing spaces
2018-03-08 11:32:52 +09:00
Samuel Attard
8c138e74be
More vibrancy fixes ( #12157 )
...
* Only set title bar to transparent when vibrant with a custom titlebar
* Correctly set the transparent state of the GpuSwitcher so vibrancy works on reload
* Document case where using frame: false without custom titleBarStyle and vibrant
2018-03-07 11:40:36 -05:00
Hari Juturu
2f4fd3324b
Preload doesn't load in sandboxed render if preload path contains special chars ( #12037 )
...
* Adding missing headers
* adding ut
* Removing the file path exists check
* fixing test
* exposing window.require in UT
2018-03-07 11:40:00 -05:00
Andreas
69e7afee26
fix dev tools window interfering with mouse forward ( #12132 )
2018-03-07 07:44:55 -05:00
Samuel Attard
fdab98aa59
Merge pull request #12155 from electron/modify-deprecation-guarantee
...
Deprecations come >=1 major release before removal
2018-03-07 23:28:05 +11:00
Charles Kerr
35a512310a
Merge branch 'master' into add-env-to-release-docs
2018-03-07 16:38:14 +09:00
Charles Kerr
3b2a494033
Update to master.
2018-03-07 16:32:36 +09:00
Charles Kerr
b0820e4886
Fix broken link
2018-03-07 16:18:47 +09:00
Charles Kerr
4ab7b2d2b1
Deprecations come >=1 major release before removal
2018-03-07 16:12:28 +09:00
Shelley Vohr
c31bf8474c
clean planned breaking changes for 3.0 ( #12145 )
2018-03-07 16:06:33 +09:00
Cheng Zhao
cc6bcb6c81
Fix some flaky tests in CI ( #12153 )
...
* Guard whole InitPrefs with ScopedAllowIO
Saw a crash:
0 0x7f8d2f7d918d base::debug::StackTrace::StackTrace()
1 0x7f8d2f7d755c base::debug::StackTrace::StackTrace()
2 0x7f8d2f867caa logging::LogMessage::~LogMessage()
3 0x7f8d2fa157c7 base::ThreadRestrictions::AssertIOAllowed()
4 0x7f8d2f83453a base::OpenFile()
5 0x7f8d2f82a967 base::ReadFileToStringWithMaxSize()
6 0x7f8d2f82ad44 base::ReadFileToString()
7 0x7f8d2f846f73 JSONFileValueDeserializer::ReadFileToString()
8 0x7f8d2f84738c JSONFileValueDeserializer::Deserialize()
9 0x7f8d35a5d1f6 <unknown>
10 0x7f8d35a5c217 JsonPrefStore::ReadPrefs()
11 0x7f8d35a87d3e PrefService::InitFromStorage()
12 0x7f8d35a87c60 PrefService::PrefService()
13 0x7f8d35a91a10 PrefServiceFactory::Create()
14 0x000000e86e1b brightray::BrowserContext::InitPrefs()
15 0x000000c2bd64 atom::AtomBrowserContext::AtomBrowserContext()
16 0x000000c320db atom::AtomBrowserContext::From()
17 0x000000b4b8b5 atom::api::Session::FromPartition()
* Fix done being called twice in setInterval test
The callback passed to browser process is called asyncly, so it is
possible that multiple callbacks has already been scheduled before we
can clearInternval.
* Fix failing test when dir name has special chars
The pdfSource is not escaped while parsedURL.search is.
* Call done with Error instead of string
* Fix crash caused by not removing input observer
Solve crash:
0 libcontent.dylib content::RenderWidgetHostImpl::DispatchInputEventWithLatencyInfo(blink::WebInputEvent const&, ui::LatencyInfo*) + 214
1 libcontent.dylib content::RenderWidgetHostImpl::ForwardMouseEventWithLatencyInfo(blink::WebMouseEvent const&, ui::LatencyInfo const&) + 1350
2 libcontent.dylib content::RenderWidgetHostViewMac::ProcessMouseEvent(blink::WebMouseEvent const&, ui::LatencyInfo const&) + 44
3 libcontent.dylib content::RenderWidgetHostInputEventRouter::RouteMouseEvent(content::RenderWidgetHostViewBase*, blink::WebMouseEvent*, ui::LatencyInfo const&) + 1817
* Print detailed error
* Run tests after server is ready
2018-03-07 14:40:27 +09:00
Charles Kerr
65ee977a86
Exit gracefully on linux ( #12139 )
...
* Fix timing issue in singleton fixture.
Singleton now sends the "we've started" message out only after it's
received a `'ready'` event from `app`. Previously it sent the message
out immediately, resulting in the parent test trying to manipulate it
before Singleton's event loop was fully bootstrapped.
* Check for graceful exits on Linux, too.
Rewrite the "exits gracefully on macos" spec to run on Linux too.
* Check for graceful exits everywhere.
* Tweak comment
* Better error logging in api-app-spec.js. (#12122 )
In the 'exits gracefully' test for app.exit(exitCode),
print the relevant error information if the test fails.
* Run the exit-gracefully test on macOS and Linux.
Windows does not support sending signals, but Node.js offers some
emulation with process.kill(), and subprocess.kill(). Sending signal 0
can be used to test for the existence of a process. Sending SIGINT,
SIGTERM, and SIGKILL cause the unconditional termination of the target
process.
So, we'll need a different approach if we want to test this in win32.
2018-03-06 22:01:17 -05:00
br0nstein
f170914def
Fix getFocusedWindow return type ( #12149 )
2018-03-07 10:23:02 +09:00
Cheng Zhao
ea9d33374f
Merge pull request #12140 from electron/native-window-no-web-contents
...
Refactor NativeWindow (Part 2): NativeWindow is no longer WebContentsObserver
2018-03-07 10:12:37 +09:00
Vanessa Yuen
7f664aa18c
Merge pull request #12105 from electron/update-references-to-renamed-i18n-repo
...
update references to renamed i18n repo
2018-03-06 19:08:20 +00:00
shelley vohr
1413f22095
Merge pull request #12103 from electron/fix-broken-links
...
[docs] switch footnote links to regular links syntax
2018-03-06 07:52:08 -08:00
shelley vohr
a3e33a313a
Merge pull request #12131 from nitsakh/xcode-debugging
...
Add XCode debugging doc
2018-03-06 07:34:05 -08:00
Cheng Zhao
411da169ac
Repect old logic in windowWillUseStandardFrame
2018-03-06 16:54:20 +09:00
Cheng Zhao
78468098c5
Don't store WebContents in NativeWindow
2018-03-06 16:21:18 +09:00
Cheng Zhao
9000bd6679
views: Explicitly set initially focused view
2018-03-06 16:21:18 +09:00
Cheng Zhao
413fdc6f0d
views: Show menu on window's content view
2018-03-06 16:21:18 +09:00
Cheng Zhao
9c7854aef6
NativeWindow is no longer WebContentsObserver
2018-03-06 16:21:18 +09:00
Cheng Zhao
bf862d1d07
views: Focus webContents in BrowserWindow
2018-03-06 16:21:17 +09:00
Cheng Zhao
8bbe28e998
No need to get BrowserContext from NativeWindow
2018-03-06 16:21:17 +09:00
Cheng Zhao
702f1631a3
Remove NativeWindow::FromWebContents
2018-03-06 16:21:17 +09:00
Cheng Zhao
eea4e60b73
Remove NativeWindow's webview APIs
2018-03-06 16:20:37 +09:00
Cheng Zhao
5a4c2fb61d
mac: Pass the view to install
2018-03-06 16:20:37 +09:00
Cheng Zhao
498f5d65fd
mac: UninstallView is not used
2018-03-06 16:20:37 +09:00
Cheng Zhao
3b3e69f8b2
Save browser_view_ in the NativeWindow
...
No need to store it separately in subclasses.
2018-03-06 16:20:37 +09:00
Cheng Zhao
503b0ba1b1
mac: Move draggable region code to BrowserWindow
...
On macOS current draggable region implementation highly relies on
WebContents, the code is only meaningful for BrowserWindow.
2018-03-06 16:20:37 +09:00
Cheng Zhao
bc34ca9e25
mac: Call setMouseDownCanMoveWindow in BrowserWindow
2018-03-06 16:20:37 +09:00
Cheng Zhao
7d4ff3b061
mac: Call SetBackgroundOpaque in BrowserWindow
2018-03-06 16:20:37 +09:00
Cheng Zhao
8a1884c407
mac: AcceleratedWidget should be window's content view
2018-03-06 16:20:37 +09:00
Cheng Zhao
e7f175d578
Only mac needs to call SetActive
2018-03-06 16:20:37 +09:00
Cheng Zhao
4c7b48e596
mac: Window's native view should be its content view
2018-03-06 16:20:37 +09:00
Cheng Zhao
1681ee35db
Set WebContents background color in BrowserWindow
2018-03-06 16:20:37 +09:00
Cheng Zhao
7b8890a4c9
web_contents can't be null
2018-03-06 16:20:37 +09:00
Cheng Zhao
2eaa6d0874
Move StoreFocus/RestoreFocus to BrowserWindow
2018-03-06 16:20:37 +09:00
Cheng Zhao
cad3d694ab
mac: Remove access to webContents in windowWillUseStandardFrame
2018-03-06 16:20:37 +09:00
Cheng Zhao
e73326a324
Merge pull request #11613 from electron/safe-dialogs
...
Implement dialog (alert/confirm) blocking as a user switch after the first dialog
2018-03-06 14:28:53 +09:00
Cheng Zhao
90bd1fd7e9
Native confirm/alert throws differently
2018-03-06 14:06:29 +09:00
Cheng Zhao
ca42325ade
Make OnMessageBoxCallback a method since it is accessing members
2018-03-06 11:35:53 +09:00
Cheng Zhao
7516b059fe
Code style fixes
2018-03-06 11:31:56 +09:00
Cheng Zhao
d8f16f4116
docs: Default message is not localized
2018-03-06 11:24:42 +09:00
Cheng Zhao
26a071ea00
docs: Defaults of safeDialogs
2018-03-06 11:21:40 +09:00
Samuel Attard
7dec3c9320
Fixup cpplint
2018-03-06 11:19:15 +09:00
Samuel Attard
731240e0e9
Use USER_WANTS_NO_MORE_DIALOGS constant for -1 magic number
2018-03-06 11:19:15 +09:00
Charles Kerr
a5a068b2ee
fix cpplint errors
...
atom/browser/atom_javascript_dialog_manager.cc:39: Lines should be <= 80 characters long [whitespace/line_length] [2]
atom/browser/atom_javascript_dialog_manager.cc:39: If/else bodies with multiple statements require braces [readability/braces] [4]
atom/browser/atom_javascript_dialog_manager.cc:62: Lines should be <= 80 characters long [whitespace/line_length] [2]
atom/browser/atom_javascript_dialog_manager.cc:89: If/else bodies with multiple statements require braces [readability/braces] [4]
2018-03-06 11:19:15 +09:00
Charles Kerr
2435ffaf09
fix cpplint error
...
atom/browser/atom_javascript_dialog_manager.h:9: Include "map" not in alphabetical order [build/include_alpha] [4]
2018-03-06 11:19:15 +09:00
Samuel Attard
795447f61a
Implement dialog (alert/confirm) blocking as a user switch after the first dialog
...
* This is to enable more browser-like behavior so that users who run third-party code
will not be DOS'ed with alerts and confirms. This is already handled like this
in most major browsers so this will greatly help these developers
2018-03-06 11:19:15 +09:00
shelley vohr
a3d4d461a3
Merge pull request #12135 from electron/deprecate-getMenuBarHeight
...
deprecate screen.getMenuBarHeight
2018-03-05 17:56:51 -08:00
Shelley Vohr
3635872f37
remove screen.getMenuBarHeight spec
2018-03-05 20:10:34 -05:00
Shelley Vohr
199cf31b9e
deprecate screen.getMenuBarHeight
2018-03-05 19:45:51 -05:00
Nitish Sakhawalkar
dc29b3add1
Add XCode debugging doc
2018-03-06 00:03:14 +05:30
Charles Kerr
642dc96956
Add optional verbose switch '-v' to build script. ( #12118 )
...
* Add optional verbose switch '-v' to build script.
* Remove tracer comment.
* Add --ninja-path switch.
For compatiblity with https://github.com/electron/electron/pull/12120
2018-03-06 03:27:58 +09:00
Charles Kerr
e9808d138f
Better error logging in api-app-spec.js. ( #12122 )
...
In the 'exits gracefully on macos' test for app.exit(exitCode),
print the relevant error information if the test fails.
2018-03-06 03:13:47 +09:00
Samuel Attard
b530d70a7b
Merge pull request #12058 from philfreo/patch-1
...
Include backtrace i/o as a crash reporter backend option
2018-03-06 05:13:18 +11:00
John Kleinschmidt
1005a63130
Merge pull request #12127 from electron/set-dev-version-everywhere
...
Use version 0.0.0-dev everywhere
2018-03-05 12:28:55 -05:00
Aleksei Kuzmin
52c0864cb8
Use version 0.0.0-dev everywhere
2018-03-05 16:24:48 +01:00
John Kleinschmidt
3a55e5b384
Merge pull request #12113 from electron/FranzDeCopenhague-patch-1
...
Fix typo found during the Spanish translation
2018-03-05 10:08:17 -05:00
Franz de Copenhague
847cf17b77
Fix typo found during the Spanish translation
2018-03-04 10:07:46 -08:00
Zeke Sikelianos
e9de194b89
update references to renamed i18n repo
2018-03-02 12:05:49 -08:00
Sofia Nguy
e76d5bc7cf
switch links to regular syntax
2018-03-02 10:41:55 -08:00
Adrien Fery
6d82966ebe
Update inAppPurchase API doc ( #12072 )
...
* Update inAppPurchase API doc
`addTransactionsListener` is no longer supported. Users have to listen for the `transactions-updated` event instead.
* Tweak `transactions-updated` timing description
Make the documentation edit suggested by @felixrieseberg and thumbs-upped by @AdrienFery
2018-03-02 07:25:37 -06:00
Tiago Danin
efeabfe3ef
📝 Fix url to unity-launcher and tiny correction ( #12084 )
2018-02-28 18:28:40 -06:00
Phil Freo
738b10adea
Include backtrace i/o as a crash reporter backend option
...
Note: I have no affiliation with this company - just thought this would be helpful for people
2018-02-28 14:21:14 -05:00
shelley vohr
dfa1dc43df
Merge pull request #12059 from electron/add-tabbedwindow-warning
...
add warning when addTabbedWindow is called on self
2018-02-28 01:18:10 -08:00
Shelley Vohr
bf491de9fe
fix styling and add spec
2018-02-28 00:22:42 -08:00
Shelley Vohr
2abc69780e
move native-mate back into the api layer
2018-02-27 13:00:42 -08:00
Zeke Sikelianos
1db05a2655
Merge pull request #12067 from electron/fix-typo-in-inAppPurchase-API-doc
...
fix typo in inAppPurchase API doc
2018-02-27 11:07:45 -08:00
Zeke Sikelianos
b05d818f45
fix typo in inAppPurchase API doc
2018-02-27 10:22:29 -08:00
Shelley Vohr
837a2d4bbd
appease the linter
2018-02-26 22:25:09 -08:00
Cheng Zhao
35cbe9d140
Fix dockMenu not being referenced in JavaScript ( #12062 )
...
* Fix dockMenu not being referenced in JavaScript
* spec: Test garbage collecting dock menu
2018-02-26 22:15:06 -08:00
Samuel Attard
b722150d87
Don't cast manually for NativeWindow*
2018-02-27 16:13:17 +11:00
Samuel Attard
5336b4a89c
Pass arguments instance through the chain in order to throw error
2018-02-27 16:11:58 +11:00
Shelley Vohr
e84d7c0cda
add warning when addTabbedWindow is called on self
2018-02-26 14:47:36 -08:00
Cheng Zhao
53229e3d6c
Fix network delegate race condition ( #12044 )
...
* Fix race condition when getting network delegate
* Remove the evil URLRequestContextGetter::network_delegate
* Move the arguments instead of const referrencing
Safer and more efficient.
2018-02-26 06:23:59 -08:00
Cheng Zhao
fdd66bd76d
Merge pull request #11607 from bughit/frame_navigation_api
...
frame navigation API
2018-02-26 15:50:11 +09:00
Cheng Zhao
ccf30e0934
Coding style fixes
2018-02-26 15:19:44 +09:00
Cheng Zhao
25f04d5b03
Fix descriptions to make docs parser happy
2018-02-26 15:05:46 +09:00
Cheng Zhao
f7786a9e48
Merge pull request #11230 from electron/upgrade-to-chromium-62
...
Upgrade to Chromium 62
2018-02-26 14:20:21 +09:00
shelley vohr
cc608a3fb0
Merge pull request #12043 from kaylieEB/fix-menu-item
...
Fix context menu click callback
2018-02-25 17:33:32 -08:00
kaylie
da9f12d1e2
restore old cb
2018-02-25 14:19:40 -08:00
Samuel Attard
35cc197d0b
Quick typo ( #12040 )
2018-02-25 09:11:18 -06:00
shelley vohr
18362eb948
improve Menu and MenuItem testing ( #12015 )
...
* split menu/menuitem and add some tests
* fix ipc send issue
* feedback: make tests less brittle
* clean up MenuItem accelerator and label tests
2018-02-23 07:53:59 -06:00
Cheng Zhao
3948323a8c
Update libcc to latest chrome62
2018-02-23 10:23:53 +09:00
Aleksei Kuzmin
7e3b690257
Update libcc revision
2018-02-23 10:22:00 +09:00
Cheng Zhao
b9ab2fe0fb
Disable stack dumping for 32bit ARM
2018-02-23 10:22:00 +09:00
Cheng Zhao
81c23b84e7
Fix error when cross compilation
2018-02-23 10:22:00 +09:00
Cheng Zhao
b25175a19a
Fix assertion when get X11 error in new thread
2018-02-23 10:22:00 +09:00
Cheng Zhao
39e0433570
Fix build error after rebasing
2018-02-23 10:22:00 +09:00
Cheng Zhao
9d05c59600
node.so should link with libc++.so
2018-02-23 10:22:00 +09:00
Cheng Zhao
2fcf2c81bf
Make sure --sysroot is appended at last
2018-02-23 10:22:00 +09:00
Cheng Zhao
9fec1a3cb4
Link with libcc's libc++ on Linux
2018-02-23 10:22:00 +09:00
Cheng Zhao
b7b40d9c3a
Fix linking error with atomic
2018-02-23 10:22:00 +09:00
shelley vohr
653ceb9860
update update submodule ref for updated node 9.3.0 ( #11708 )
2018-02-23 10:22:00 +09:00
shelley vohr
0e5b6f9300
Upgrade to node v9.3.0 ( #11507 )
...
* update submodule refs for node v9.3.0
* Define "llvm_version" for Node.js build
* NODE_MODULE_CONTEXT_AWARE_BUILTIN -> NODE_BUILTIN_MODULE_CONTEXT_AWARE
* update NodePlatform to MultiIsolatePlatform
* fix linting error
* update node ref
* REVIEW: Explicitly register builtin modules
https://github.com/nodejs/node/pull/16565
* update libcc ref
* switch libcc to c62
* REVIEW: Address node api changes
- Always start the inspector agent for https://github.com/nodejs/node/pull/17085
- Set the tracing controller for node https://github.com/nodejs/node/pull/15538
- Isolate data creation now requires plaform https://github.com/nodejs/node/pull/16700
2018-02-23 10:22:00 +09:00
Aleksei Kuzmin
31eb5e26e3
Update libcc reference
2018-02-23 10:21:24 +09:00
Cheng Zhao
12b37c7386
Update node: Fix crash when doing crypto operation
2018-02-23 10:21:24 +09:00
deepak1556
7cad5d0cd2
update libcc for loading service worker under file scheme
2018-02-23 10:21:24 +09:00
Cheng Zhao
e6bad6e183
Update sysroot images to fix linking error
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
f5d207f8f0
Improve process launch handle sharing API.
...
https://codereview.chromium.org/2950153002
2018-02-23 10:21:24 +09:00
Cheng Zhao
da7fc54e37
Update sysroot to Debian Stretch
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
0ec2eba2a3
Add init_webrtc lib to the list of static libraries
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
dcb369ee46
Fail "navigator.serviceWorker" tests if WebContents crashes
2018-02-23 10:21:24 +09:00
deepak1556
041b32b01f
remove invalid cookie_details.h filename from brightray
2018-02-23 10:21:24 +09:00
deepak1556
cdab073614
FIX: add chrome-devtools:// to list of WebUI schemes
...
https://chromium-review.googlesource.com/c/chromium/src/+/617598
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
fbd5e4c2b3
Disable the "ffi" module test
2018-02-23 10:21:24 +09:00
deepak1556
5eb0a89579
REVIEW: let browser context manage cookie change sub list
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
9fa08fdbc0
Merge views::CustomButton into views::Button.
...
https://chromium-review.googlesource.com/617407
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
6f00e4a014
REVIEW: Implements core logic for Pixel Canvas
...
https://codereview.chromium.org/2877483003
2018-02-23 10:21:24 +09:00
deepak1556
f52f752acd
fxedit is removed and pdfwindow renamed to pwl
...
https://pdfium-review.googlesource.com/c/pdfium/+/8552
https://pdfium-review.googlesource.com/c/pdfium/+/8791
2018-02-23 10:21:24 +09:00
deepak1556
d846c9006e
Replace somemore uses of SetStringWithoutPathExpansion
2018-02-23 10:21:24 +09:00
deepak1556
69ca6ccdc1
Remove chrome_utility_messages.h, it's unused
2018-02-23 10:21:23 +09:00
deepak1556
25d966110e
FIXME: PDF component IPC should be converted to Mojo.
...
https://codereview.chromium.org/2455543002
2018-02-23 10:21:23 +09:00
deepak1556
e03f7baa60
gfx::Image::SwapRepresentations is removed in favor of std::move
...
https://chromium-review.googlesource.com/c/chromium/src/+/588033
2018-02-23 10:21:23 +09:00
deepak1556
62635f43f4
base::LaunchOptions fds_to_remap is no longer a pointer
...
https://codereview.chromium.org/2950153002
2018-02-23 10:21:23 +09:00
deepak1556
248d572077
REVIEW: Subscribe to cookie store for changes in place of CookieMonsterDelegate
2018-02-23 10:21:23 +09:00
Tomas Rycl
60f69ad77b
Removed QuitWhenIdle
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
b02edd014a
Rename CompositionUnderline to ImeTextSpan
...
https://chromium-review.googlesource.com/609524
2018-02-23 10:21:23 +09:00
Tomas Rycl
024f84f1be
chromium_src print_job updated to match current chromium implementation in Quit method
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
5d870837cf
Remove WebCString from Blink
...
https://chromium-review.googlesource.com/594673
2018-02-23 10:21:23 +09:00
Shelley Vohr
de576fa82e
Refactor Skia document type into an enum class
...
https://chromium-review.googlesource.com/619502
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
412b9e9ad8
Move IDMap to base namespace.
...
https://chromium-review.googlesource.com/618801
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
8f78bd3307
Remove was_ignored_by_handler from frame_messages.h
...
https://chromium-review.googlesource.com/587701
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
91a339b625
viz: Move BeginFrame(Args|Ack) to components/viz/common/frame_sinks
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
1a9b056e93
Move CompositorFrameSink and FrameSinkManager mojom from cc to viz
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
abc6003640
viz: Move BeginFrameSource to components/viz/common/frame_sinks
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
76683c0af5
viz: Move CopyOutput(Request|Result)=> components/viz/common/quads
2018-02-23 10:21:23 +09:00
Shelley Vohr
128cb7f5b2
updates to build flags and comp errors
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
8c0c1e4ded
media: Replace ENABLE_PEPPER_CDMS buildflag with ENABLE_LIBRARY_CDMS
...
https://chromium-review.googlesource.com/582309
2018-02-23 10:21:23 +09:00
Shelley Vohr
e59f788c43
Update submodule ref for node
2018-02-23 10:21:23 +09:00
Tomas Rycl
8d6c7955ad
Add path to skia gpu
2018-02-23 10:21:23 +09:00
Shelley Vohr
233679865b
fix some more compilation errors
2018-02-23 10:21:23 +09:00
Tomas Rycl
6a61ec7763
Add path to khrplatform.h file
2018-02-23 10:21:23 +09:00
Tomas Rycl
1b866e20c6
REVIEW: Disable warning 4275 on Windows
...
It prevents Brightray classes to be inherited from other classes
from V8, Chromium, etc...
2018-02-23 10:21:23 +09:00
deepak1556
75c17cf846
Use generic base::Value::SetKey
...
Remove base::Value::SetDoubleWithoutPathExpansion
https://chromium-review.googlesource.com/591654
Remove base::Value::SetStringWithoutPathExpansion
https://chromium-review.googlesource.com/592368
Remove base::Value::SetIntegerWithoutPathExpansion
https://chromium-review.googlesource.com/591655
2018-02-23 10:21:23 +09:00
Tomas Rycl
8250dbd172
Removing some function parameters
2018-02-23 10:21:23 +09:00
Tomas Rycl
0d83b69fe2
FIXME: Fix brightray::DevToolsNetworkTransaction compilation
...
See
https://chromium-review.googlesource.com/631119
https://chromium-review.googlesource.com/611089
2018-02-23 10:21:23 +09:00
Shelley Vohr
a6412d0690
Update submodule ref for crashpad
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
dda64bd652
Use c++14
...
https://chromium-review.googlesource.com/c/chromium/src/+/583635
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
9d6db65c7c
Set minimum Mac SDK version to 10.12
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
5783ce0b3c
Update chrome_version.h
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
8ef705ad10
Update clang revision to match Chromium 62.0.3202.89
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
381cf55434
Use libcc revision based on Chromium 62
2018-02-23 10:21:23 +09:00
Cheng Zhao
15ce235eed
Merge pull request #12008 from electron/window-refactor-1
...
Refactor NativeWindow (Part 1): Remove WebContentsObserver methods
2018-02-23 10:06:34 +09:00
Cheng Zhao
3be92f550c
Better clarity and fix typo
2018-02-23 09:15:13 +09:00
John Kleinschmidt
366638b1b9
Merge pull request #12013 from electron/release-fix
...
Fixes from running 2.0.0-beta.1 release
2018-02-22 10:43:29 -05:00
John Kleinschmidt
fa6510a90c
Fixes from running 2.0.0-beta.1 release
...
This provides the following fixes:
1. Remove logic to delete release branch because that branch is no longer used.
2. Fix --validateRelease to not verifyShasums when release is in draft mode.
2018-02-22 08:53:32 -05:00
Cheng Zhao
816a96c2cc
Update font settings in api::WebContents
2018-02-22 19:01:45 +09:00
Cheng Zhao
c87fc2426d
Handle transparent WebContents in api::BrowserWindow
2018-02-22 19:01:45 +09:00
Cheng Zhao
c611eb061d
Move InputEventObserver to api::BrowserWindow
2018-02-22 19:01:45 +09:00
Cheng Zhao
aa3eafcea1
Move closing logic to api::BrowserWindow
...
Closing a BrowserWindow is essentially closing a WebContents, the logic
should not be in NativeWindow.
2018-02-22 19:01:45 +09:00
Cheng Zhao
66fab65a1a
Add NativeWindowObserver::OnCloseButtonClicked
2018-02-22 19:01:45 +09:00
Cheng Zhao
a25b49a127
Add ExtendedWebContentsObserver
2018-02-22 19:01:45 +09:00
Cheng Zhao
a3124e8873
Use observer to provide OnRendererUnresponsive
2018-02-22 19:01:45 +09:00
Cheng Zhao
bffb31c337
Remove OnMessageReceived from NativeWindow
2018-02-22 19:01:45 +09:00
Cheng Zhao
44e7282b4b
The UpdateDraggableRegions does not share implementations
2018-02-22 19:01:45 +09:00
Cheng Zhao
c2aa312e0c
Check weak ptr before using it
2018-02-22 19:01:45 +09:00
Cheng Zhao
384b03d49b
UpdateDraggableRegionViews is redundant
2018-02-22 19:01:45 +09:00
Cheng Zhao
6650a06339
Move RenderViewCreated logic to api::BrowserWindow
2018-02-22 19:01:45 +09:00
Cheng Zhao
c256a43139
Move ready-to-show to api::BrowserWindow
2018-02-22 19:01:45 +09:00
Cheng Zhao
0d9a157914
Turn api::Window into a WebContentsObserver
2018-02-22 19:01:45 +09:00
Cheng Zhao
47950f7b97
Merge pull request #12004 from electron/window-rename
...
Rename api::Window to api::BrowserWindow
2018-02-22 19:00:51 +09:00
Cheng Zhao
f9c48e1fb0
Merge pull request #12003 from electron/tools-new-api
...
Fix deprecated API in tools/dump-version-info.js
2018-02-22 18:58:24 +09:00
Cheng Zhao
973647eaa2
Rename api::Window to api::BrowserWindow
2018-02-22 12:50:47 +09:00
Samuel Attard
3bda63c350
Remove needless quotes around electron key
2018-02-22 13:37:53 +11:00
bughit
88b887fe47
frame navigation API
2018-02-21 18:50:15 -05:00
Cheng Zhao
58e15c7755
Fix deprecated API in tools/dump-version-info.js
2018-02-22 08:43:39 +09:00
John Kleinschmidt
7365a45948
Merge pull request #11937 from electron/groundwater-patch-1
...
Use New Versioning Strategy
2018-02-21 16:54:25 -05:00
shelley vohr
e8a57376f0
Merge pull request #12000 from kalikiana/quoted-snap-version
...
tutorial: Surround the snap version in quotes
2018-02-21 16:42:49 -05:00
Vanessa Yuen
8e51659237
Merge pull request #11966 from electron/documentation-overhaul
...
Documentation Overhaul
2018-02-21 20:51:52 +01:00
John Kleinschmidt
2a97e48465
Merge pull request #11968 from electron/refactor-menu-popup
...
Refactor menu.popup
2018-02-21 14:29:52 -05:00
John Kleinschmidt
b4ae41b484
Merge pull request #11999 from electron/no_execstack
...
Explicitly disable executable stack
2018-02-21 14:00:47 -05:00
Felix Rieseberg
c403968230
❤️ One more feedback item
2018-02-21 10:29:17 -08:00
Felix Rieseberg
9d4c68d272
❤️ Feedback
2018-02-21 10:12:19 -08:00
Shelley Vohr
e3d4358068
bump electron-typescript-defs to 1.3.2
2018-02-21 12:42:07 -05:00
Christian Dywan
8268afdf33
tutorial: Surround the snap version in quotes
2018-02-21 18:08:39 +01:00
Ales Pergl
89d5e4a2f0
Explicitly disable executable stack in all Linux binaries
2018-02-21 17:57:53 +01:00
Ales Pergl
c3dbba00a6
Use --icf=all on architectures where it's supported
2018-02-21 17:55:28 +01:00
shelley vohr
77b8c81096
Merge pull request #11963 from perlun/patch-1
...
security.md: Reformat security recommendation checklist
2018-02-21 10:01:15 -05:00
shelley vohr
0ef8f1bdad
Add deprecation warnings fot html/rtf methods ( #11995 )
2018-02-21 06:53:48 -06:00
Cheng Zhao
f7ec346e9f
Merge pull request #11956 from brenca/transparent-window-devtools-fix
...
Fix transparent windows losing transparency when devtools detaches
2018-02-21 19:54:35 +09:00
Heilig Benedek
6f2609f9d2
Remove outdated comments
2018-02-21 11:28:53 +01:00
shelley vohr
772a69e24a
deprecate autoSubmit in favor of uploadToServer ( #11992 )
2018-02-20 22:31:48 -06:00
shelley vohr
193febd18c
deprecate boolean highlightMode param ( #11993 )
...
* deprecate boolean highlightMode param
* add process.noDeprecations check
* fix native method override
* add todo
2018-02-20 22:30:32 -06:00
shelley vohr
719e5a93b4
deprecation for webContents.openDevTools ( #11986 )
...
* deprecate old openDevTools param
* add deprecation check and existence check
* fix method issues
2018-02-20 22:30:02 -06:00
Charles Kerr
f59d078eea
Use more idiomatic JS in WebContents' init()
2018-02-20 19:20:11 -06:00
shelley vohr
c2575c4944
remove app.getAppMemoryInfo ( #11985 )
...
* remove app.getMemoryInfo
* semicolons are important
2018-02-20 18:52:33 -06:00
Charles Kerr
9c56b81b71
Throw an error if menu.popup() has no window
2018-02-20 18:38:05 -06:00
Charles Kerr
5a25b88b50
Fix browserWindow detection in menu.popup()
2018-02-20 18:35:39 -06:00
Charles Kerr
21de806c80
document menu.popup() option's window argument
2018-02-20 14:30:37 -06:00
Charles Kerr
708f39a1a5
update a few menu.popup() calls to use the new API
2018-02-20 14:02:24 -06:00
John Kleinschmidt
dcaff20cfd
Merge pull request #11981 from electron/set-tray-highlightmode
...
no longer support bool param for setHighlightMode
2018-02-20 12:57:52 -05:00
Charles Kerr
35e90f742b
fix menu.popup() sample code
2018-02-20 11:18:57 -06:00
shelley vohr
846be03f1d
remove support for hidden-inset ( #11975 )
2018-02-20 11:09:54 -06:00
shelley vohr
7bcccdec41
remove atom-shell process name ( #11979 )
2018-02-20 10:33:38 -06:00
Shelley Vohr
5065e159f1
positionItem => positioningItem
2018-02-20 11:28:34 -05:00
shelley vohr
6a3fde6e20
Merge pull request #11973 from electron/remove-clipboard-methods
...
Remove html/rtf methods marked for 2.0
2018-02-20 11:21:10 -05:00
Charles Kerr
8d086a43cb
Fix brightray::GetApplicationName(), ..Version() on Linux ( #11980 )
...
* add brightray API to override app version
* in atom browser, use brightray app version API
* on Linux, have GetApplicationVersion() use brightray version API
* on Linux, implement brightray::GetApplicationName()
* fix typo in brightray API
* make browser.GetName() logic follow GetVersion() logic
* improve variable name in OverrideApplicationVersion declaration
* fix typo in brightray impl
2018-02-20 10:16:51 -06:00
Shelley Vohr
ba933ef085
update docs for single param popup
2018-02-20 11:12:39 -05:00
Cheng Zhao
dc62e51ba4
Fix the cyclic reference in menu delegate ( #11967 )
...
* Fix the cyclic reference in menu delegate
* Fix menu tests due to delegate change
2018-02-20 10:11:35 -06:00
Shelley Vohr
fb7fb4972d
options all the things
2018-02-20 11:10:53 -05:00
shelley vohr
e1b81b8a62
remove support for crashReporter autoSubmit ( #11976 )
2018-02-20 10:10:35 -06:00
shelley vohr
8d4bf3e29a
Merge pull request #11974 from electron/remove-setZoomLevelLimits
...
remove setZoomLevelLimits
2018-02-20 10:51:41 -05:00
Felix Rieseberg
975e6e6194
❤️ First round of feedback
2018-02-20 09:47:18 -06:00
shelley vohr
a2856db982
Remove nativeImage deprecated methods ( #11978 )
...
* remove deprecated nativeimage methods
* remove .only from spec
2018-02-20 09:15:27 -06:00
Shelley Vohr
57738e6981
no longer support bool param for setHighlightMode
2018-02-20 10:06:59 -05:00
shelley vohr
98ba120ae2
Merge pull request #11972 from electron/remove-setextra-param
...
remove setExtraParameter for 2.0
2018-02-20 09:10:38 -05:00
Shelley Vohr
211b542ae4
remove setZoomLevelLimits
2018-02-20 08:57:48 -05:00
Charles Kerr
2a16b28be4
Cache libnotify server caps ( #11965 )
...
* cache libnotify server capabilities
* fix broken production cache in NotifierSupportsActions()
* log a warning if LibnotifyNotification::Initialize() fails
2018-02-20 07:53:10 -06:00
Shelley Vohr
e4e20d667b
remove html/rtf methods marked for 2.0
2018-02-20 08:41:58 -05:00
Shelley Vohr
1a3661206e
remove unused deprecate module from crashreporter
2018-02-20 08:31:38 -05:00
Shelley Vohr
fc025064f7
remove setExtraParameter for 2.0
2018-02-20 08:26:10 -05:00
Shelley Vohr
56f06187d5
forgot to remove old method
2018-02-19 21:03:10 -05:00
Shelley Vohr
73ab87b87f
add new and changed specs
2018-02-19 20:59:47 -05:00
Shelley Vohr
6e11a3e53d
add restructured window.popup
2018-02-19 20:59:27 -05:00
Cheng Zhao
99d9e262eb
Merge pull request #19 from electron/get-wrapper-const
...
GetWrapper should be const
2018-02-20 10:07:55 +09:00
shelley vohr
459a5e3a1f
Merge pull request #11961 from electron/fix-bw-callback
...
add conditional for menu.popup(window, callback)
2018-02-19 19:54:20 -05:00
Felix Rieseberg
037ee0cff3
📝 Fix the fix
2018-02-19 18:38:59 -06:00
Cheng Zhao
91ee99ab8a
GetWrapper should be const
2018-02-20 09:29:02 +09:00
Felix Rieseberg
64fc523977
📝 Fix dead links
2018-02-19 18:25:02 -06:00
Felix Rieseberg
b869471068
📝 Add missing links
2018-02-19 18:20:35 -06:00
Felix Rieseberg
322f7dadc7
📝 Native drag & drop documentation
2018-02-19 18:20:21 -06:00
Felix Rieseberg
191463397b
📝 Cleanup this hot mess
2018-02-19 18:20:10 -06:00
Felix Rieseberg
683e02fbcd
📝 TIE IT ALL TOGETHER
2018-02-19 18:09:58 -06:00
Felix Rieseberg
ebbecce56d
📝 Document debugging
2018-02-19 18:09:38 -06:00
Felix Rieseberg
e98637596d
📝 Installation
2018-02-19 17:53:29 -06:00
Felix Rieseberg
3c66e810c0
📝 Document asar
2018-02-19 17:50:38 -06:00
Felix Rieseberg
20ca6b4a55
📝 Offscreen Rendering
2018-02-19 17:50:26 -06:00
Zeke Sikelianos
35faab89a4
add typing cat to first PR comment ( #11964 )
...
* add typing cat to first PR comment
* update cat URL
2018-02-19 17:45:14 -06:00
Felix Rieseberg
69b0a358f3
📝 A11y documentation
2018-02-19 17:36:49 -06:00
Felix Rieseberg
8dd44f66ca
📝 Some consistency
2018-02-19 17:28:24 -06:00
Felix Rieseberg
eeb5845aac
📝 Documenting updates
2018-02-19 17:24:15 -06:00
Felix Rieseberg
fe4762588c
📝 Document the progress bar
2018-02-19 17:17:11 -06:00
Felix Rieseberg
c3362c7617
📝 Document the app architecture (main/renderer)
2018-02-19 17:16:51 -06:00
Felix Rieseberg
ffd607bb52
📝 Document the first app
2018-02-19 17:16:35 -06:00
Felix Rieseberg
d7360e3203
📝 Ensure that quick-start.md still exists
2018-02-19 17:14:31 -06:00
Felix Rieseberg
879d21c80e
📝 Document Unity Launcher
2018-02-19 17:14:07 -06:00
Felix Rieseberg
3623cf9729
📝 Windows Taskbar documentation
2018-02-19 17:10:25 -06:00
Felix Rieseberg
8d219e94dc
📝 Recent documents documentation
2018-02-19 17:09:58 -06:00
Felix Rieseberg
d552af97c3
📝 macOS Dock documentation
2018-02-19 17:09:43 -06:00
Felix Rieseberg
fc7e50dce2
📝 Add cli and boilerplate documentation
2018-02-19 15:34:33 -06:00
Zeke Sikelianos
af82b2037e
Merge pull request #11950 from electron/semver-doc-tweaks
...
semver documentation tweaks
2018-02-19 13:07:33 -08:00
Per Lundberg
8375d21cae
security.md: Update security recommendation checklist
2018-02-19 23:07:03 +02:00
Felix Rieseberg
bdc0cd4418
📝 Document development environment
2018-02-19 12:25:38 -06:00
Shelley Vohr
9c52d273dd
add spec for menu.popup(window, callback)
2018-02-19 13:15:49 -05:00
Shelley Vohr
cd9e7142e4
add conditional for menu.popup(window, callback)
2018-02-19 13:06:37 -05:00
Heilig Benedek
d31d2087a3
use SK_ColorTRANSPARENT as the default color to fix issue with transparent window devtools detach
2018-02-19 15:07:28 +01:00
Charles Kerr
56859531cd
fix floating reference glib warning ( #11948 )
...
use gtk_widget_destroy() rather than g_object_unref() on the floating temporary menubar widget that we use to calculate colors
2018-02-19 00:12:54 -06:00
Charles Kerr
fbce7bafd7
capitalize 'Node.js'
2018-02-18 23:14:08 -06:00
Charles Kerr
e3efe4b378
make the table a real table
2018-02-18 11:04:21 -06:00
Charles Kerr
ac57c7625a
minor copyediting
2018-02-18 11:00:06 -06:00
shelley vohr
55d4d74624
Merge pull request #11944 from electron/update-native-mate
...
update native_mate ref
2018-02-18 09:20:22 -05:00
Shelley Vohr
2a46a63833
update native_mate ref
2018-02-18 08:57:22 -05:00
John Kleinschmidt
f3415c04cd
Merge pull request #11804 from electron/fix-protocol-origin-filtering
...
Fix protocol filtering of net.request
2018-02-16 14:17:46 -05:00
Paul Frazee
01a6104727
Add download from custom protocol test ( #11931 )
2018-02-16 13:03:53 -05:00
Thiago de Arruda
bc76f35691
Fix protocol filtering of net.request
...
net::URLRequest inherits from base::SupportsUserData, which allows
associating arbitrary data with the request. Use this mechanism as a
condition for filtering requests from custom protocols.
Close #11657
2018-02-16 13:03:53 -05:00
Jacob Groundwater
cdcd031192
Use New Versioning Strategy
...
The `package.json` file in master should always read `0.0.0-dev`. See https://electronjs.org/docs/tutorial/electron-versioning
2018-02-16 09:16:30 -08:00
John Kleinschmidt
78ccfa0612
Merge pull request #11879 from electron/fix-gtk-deprecations
...
Fix GTK+ 3 deprecations
2018-02-16 10:01:01 -05:00
Cheng Zhao
67fa13d7cf
Merge pull request #11925 from electron/squirrel-mac-cdn
...
Update to use Squirrel.Mac that supports CDN releases
2018-02-16 15:28:39 +09:00
Samuel Attard
a20b379f26
fix windows tests
2018-02-16 16:02:10 +11:00
Samuel Attard
549042160f
requestHeaders --> headers
2018-02-16 13:41:21 +11:00
Samuel Attard
f84b8bbfdc
Update deps for new squirrel
2018-02-16 13:01:00 +11:00
Charles Kerr
5e7a5ce3a9
run clang-format on changed sources
2018-02-15 15:20:55 -06:00
Charles Kerr
d30310a2f2
don't build libgtkui files on non-GTK+ platforms
2018-02-15 15:15:26 -06:00
Charles Kerr
b0469702ad
replace gtk2 with gtk3 in cibuild script
2018-02-15 15:10:21 -06:00
Charles Kerr
4774f32065
replace gtk2 with gtk3 in docs
2018-02-15 15:08:55 -06:00
Charles Kerr
c8e64ff870
replace gtk2 with gtk3 in dockerfiles
2018-02-15 15:03:14 -06:00
Charles Kerr
381ed2e2b2
remove GTK+ 2 specific code
2018-02-15 14:57:45 -06:00
Cheng Zhao
af92b04eb9
Merge pull request #11654 from sethlu/set-notification-close-button-text
...
feat: Set macOS notification close button title
2018-02-15 16:01:30 +09:00
Cheng Zhao
fdda1c55c5
Merge pull request #11647 from sethlu/accept-additional-notification-actions
...
feat: Accept additional notification actions
2018-02-15 15:46:36 +09:00
Samuel Attard
6318cd781d
Update to use Squirrel.Mac that supports CDN releases
2018-02-15 14:00:46 +11:00
shelley vohr
7e2f7602c1
Merge pull request #11921 from electron/allow-osr-console-message
...
Emit console-message in OSR mode
2018-02-14 11:02:18 -05:00
Zeke Sikelianos
6f0080be4c
Merge pull request #11918 from dakeshi/fix-typo-docs
...
fix typo in electron-versioning.md
2018-02-14 06:46:37 -08:00
Shelley Vohr
31b074ff0e
change to return emit
2018-02-14 09:28:21 -05:00
Shelley Vohr
c3d11a51cc
emit console-message in OSR mode
2018-02-14 09:09:45 -05:00
Charles Kerr
402201ac39
Fix cppcheck warnings ( #11883 )
...
* remove unused variable
* limit scope of variable 'ret'
* pass shared_ptr<SkBitmap> by reference
* silence warning: value reassign before read
* fix oops
* don't refer to 'response' after std::move()ing it
* make the linter happy
2018-02-14 02:21:46 -06:00
shelley vohr
f8b7145c6b
update libcc ref ( #11916 )
2018-02-13 23:13:38 -05:00
Sangjoon Moon
8a84bd8d19
fix typo in electron-versioning.md
...
- backport
- stabilization branch
- and some typo
2018-02-14 13:04:57 +09:00
shelley vohr
a55fd06aa2
Revert "Merge pull request #11737 from kwonoj/feat-cache-capacity" ( #11906 )
...
This reverts commit 181169b743 , reversing
changes made to baced3152f .
2018-02-13 10:49:27 -05:00
Cheng Zhao
eba9abdbe5
Merge pull request #11501 from emmkimme/Enh_WebPrefs_Affinity_Option
...
Feature : Affinity option for gathering several pages in a single process
2018-02-13 16:21:48 +09:00
Cheng Zhao
affa21600c
Remove unnecessary methods on WebContentsPreferences
2018-02-13 15:57:54 +09:00
Cheng Zhao
2b623f5d86
docs: More explaination to affinity option
2018-02-13 15:33:11 +09:00
Emmanuel Kimmerlin
9c1b47361f
Add an "affinity" option to webPreferences
2018-02-13 15:18:55 +09:00
John Eismeier
8d55334016
Propose fix some typos ( #11905 )
2018-02-13 00:18:27 -05:00
John Kleinschmidt
546bd6da5e
Merge pull request #11903 from electron/update-release-for2
...
Change release process for 2.0
2018-02-12 16:52:41 -05:00
Felix Rieseberg
4ed5bb9901
fix: Update touch bar type documentation ( #11563 )
...
* fix: Update touch bar type documentation
Tiny change: The `escapeItem` in the touch bar constructor accepts a `null`, but our typings do not reflect that.
* Also uppdate the escapeItem instance property type docs
2018-02-12 14:59:01 -05:00
Samuel Attard
9bd7d53cf8
Handle empty handles ( #11598 )
...
* Handle empty handles
* Close and dispose window at end of void test
* Dispose of existing window before running void 0 spec
2018-02-12 14:46:29 -05:00
John Kleinschmidt
12a8d90ef0
Change release process for 2.0
...
Tag release as soon as version bumps
No longer use release branch
Remove merge step as it is no longer needed.
2018-02-12 14:06:09 -05:00
Samuel Attard
181169b743
Merge pull request #11737 from kwonoj/feat-cache-capacity
...
feat(webframe): export set cache capacity interface
2018-02-13 06:02:25 +11:00
Samuel Attard
baced3152f
Mark securityScopedBookmarks as optional and a boolean ( #11901 )
2018-02-12 13:48:45 -05:00
Samuel Attard
ae65938752
Fix frameless windows with vibrancy ( #11886 )
2018-02-12 13:38:37 -05:00
acheronfail
d1d50a4c92
Implement App-Scoped Security scoped bookmarks ( #11711 )
...
* implementation of security scoped bookmarks
* option is now only available on mas builds
2018-02-12 13:25:06 -05:00
Samuel Attard
9f78ef0179
Merge pull request #11595 from YurySolovyov/fileicon-task-scheduler
...
Use task scheduler for app.getFileIcon API
2018-02-13 05:11:22 +11:00
Samuel Attard
01dcddef35
Merge pull request #11819 from kwonoj/feat-worditerator
...
feat(worditerator): bump up worditerator into latest
2018-02-13 05:11:01 +11:00
Samuel Attard
b3234f634b
Add ability to set arbitrary arguments in a renderer process ( #11850 )
2018-02-12 11:54:31 -06:00
Samuel Attard
66b57858b8
Fix child touch bar items not updating ( #11812 )
...
* Fix child touch bar items not updating
Deep children of a TouchBar didn't cause the top level touch bar to update, now they do
Fixes #11761 .
* Remove unused newValue property in TB setter
2018-02-12 12:53:04 -05:00
shelley vohr
6943ada7e8
Merge pull request #11897 from electron/fix-contrib-links
...
add links to new contrib docs
2018-02-12 12:48:47 -05:00
John Kleinschmidt
e6ac2637d3
Merge pull request #11728 from brenca/osr-gpu-update-master
...
Improve OSR API (master)
2018-02-12 12:29:11 -05:00
shelley vohr
fae71f9987
Merge pull request #11880 from nitsakh/better-ipc-logging
...
Add ability to log atom ipc messages
2018-02-12 09:20:37 -05:00
Shelley Vohr
8987828ecd
add links to new contrib docs
2018-02-12 09:16:29 -05:00
shelley vohr
533dfc42a8
enhance documentation around contributing to electron ( #11887 )
...
* add issues document
* add documentation coding style to doc
* copyediting
* replace `nodejs/node` with `electron/electron`
* fix commasplice
* fix two most important... s/is/are/
* omit unnecessary words
* add pull requests doc
* copyediting
* add general code style to styleguide
* updates to CONTRIBUTING.md
* copyediting
* mark shell blocks as ```sh
* mitigate phrase duplication e.g. 'best practice'
* lots of opinionated changes to omit unnecessary words
* fix numbering & re-apply changes that I overwrote
2018-02-12 08:09:38 -06:00
shelley vohr
31e0bc02ba
add pr template ( #11888 )
2018-02-12 08:08:32 -06:00
universeroc
069c6187cf
Fix #11893 Remove unused member variable content_client_ ( #11894 )
2018-02-12 08:07:12 -06:00
Nitish Sakhawalkar
e19e2b9242
Address review comments
2018-02-11 10:25:11 -08:00
shelley vohr
647f0f3a57
Merge pull request #11873 from electron/add-file-format-picker
...
add accessory view for format picker
2018-02-10 23:32:08 -05:00
Shelley Vohr
36cf548114
change weak ptr ref to strong
2018-02-10 21:04:26 -05:00
shelley vohr
1657c37761
Merge pull request #11881 from electron/update-zoom-level-doc
...
add formula to setZoomLevel doc
2018-02-10 09:08:59 -05:00
Zhuo Lu
e3b70dd029
Fix grammar
2018-02-10 03:20:20 -08:00
Zhuo Lu
d05791c1ac
Tweak wording
2018-02-10 03:20:20 -08:00
Zhuo Lu
bf11b09d35
Mention change of default value scenario in doc
2018-02-10 03:20:20 -08:00
Zhuo Lu
69e65e0d5e
Update NotificationAction doc
2018-02-10 03:20:20 -08:00
Zhuo Lu
0b7a629a41
Overload method for naming consistency
2018-02-10 03:20:20 -08:00
Zhuo Lu
75b990faff
Use std::string::empty to check
2018-02-10 03:20:20 -08:00
Zhuo Lu
1e1087abbb
Simplify formatting
2018-02-10 03:20:20 -08:00
Zhuo Lu
31baafab3b
NSUserNotification should respond
...
NSUserNotification is expected to responsd to `@selector(setContentImage:)` with macOS ^10.9
2018-02-10 03:20:20 -08:00
Zhuo Lu
3ee3e9a3e8
Fix typo
2018-02-10 03:20:20 -08:00
Zhuo Lu
09d51f0a3d
Fix include order
2018-02-10 03:20:20 -08:00
Zhuo Lu
844ee0a3f4
Accept additional notification actions
...
Change to the existing API definition: The first action with type `button` seen will be displayed on the notification, the rest listed as additional actions (shown when holding down on the primary action button)
2018-02-10 03:20:20 -08:00
Zhuo Lu
38d284590f
Add Notification tests
2018-02-10 03:19:47 -08:00
Zhuo Lu
29f9929703
Organize code
2018-02-10 03:19:47 -08:00
Zhuo Lu
0d4c6e327f
Update Notification API doc
2018-02-10 03:19:47 -08:00
Zhuo Lu
be118d4f13
Make it able to set close button text
2018-02-10 03:19:47 -08:00
Shelley Vohr
5818353ebc
add formula to setZoomLevel doc
2018-02-09 23:20:45 -05:00
Shelley Vohr
3085c78bcf
implement selectFormat selector
2018-02-09 21:38:21 -05:00
Nitish Sakhawalkar
5194288fce
Add ability to log atom ipc messages
2018-02-09 18:01:14 -08:00
Charles Kerr
3710e0e38b
make the linter happier
2018-02-09 19:34:37 -06:00
Charles Kerr
4b766d26df
make the linter happy
2018-02-09 19:29:32 -06:00
Charles Kerr
3f5ce6d74f
fix gtk3 deprecation warnings setting menubar colors
2018-02-09 19:04:59 -06:00
Charles Kerr
b107d3f440
remove icons from messageboxes on gtk
...
Icons are deprecated in GtkMessageBoxes as of GTK+ 3.12. The GNOME HIG no longer shows icons in example dialogs; see https://developer.gnome.org/hig/stable/dialogs.html.en and https://developer.gnome.org/gtk3/stable/GtkMessageDialog.html
2018-02-09 17:53:02 -06:00
Charles Kerr
ffff400236
fix 'GTK_STOCK_*' deprecation warnings
2018-02-09 17:45:34 -06:00
shelley vohr
647d04cf92
Add brightray to src code structure ( #11878 )
...
* add brightray to src code structure
* try new code flag
2018-02-09 13:21:50 -06:00
Charles Kerr
e5eeab6e29
fix 'GTK_STOCK_*' deprecation warnings
2018-02-09 09:57:39 -06:00
Shelley Vohr
0fff336481
add accessory view for format picker
2018-02-09 09:08:04 -05:00
Aleš Pergl
efb44050db
Enable official build ( #11847 )
...
* Updated libchromiumcontent submodule
* Use same LTO settings as libcc
* Use whole program optimization, favour speed, remove redundancies
* Don't use variable template as it confuses LTCG
* Use lld and ThinLTO only on limited set of architectures
2018-02-08 13:26:23 -06:00
shelley vohr
8b9b1e5595
Merge pull request #11863 from electron/move-locale-test
...
Move locale doc to command line switches
2018-02-08 14:10:19 -05:00
Shelley Vohr
1e090b9ee7
remove .only
2018-02-08 13:50:44 -05:00
Shelley Vohr
f6d389b159
fix child process import
2018-02-08 13:50:19 -05:00
Shelley Vohr
e10b5e13e9
move spec to chromium_spec
2018-02-08 13:00:41 -05:00
Shelley Vohr
1018cdc225
move locale doc to command line switches
2018-02-08 11:49:28 -05:00
shelley vohr
ca34978e73
add app.setLocale() ( #11469 )
...
* infrastructure for setLocale via klang
* add documentation for setLocale
* add test for setLocale
* fix spec
* add spec and update docs
* fix carriage feeds on windows
* SetLocale() sets LC_ALL on Linux
* in SetLocale() on Linux, use g_setenv()
* fix tyop: '#ifdef OSX_POSIX'
* make the linter happy
* improvements from review
2018-02-08 08:26:37 -06:00
Vanessa Yuen
e3f1d90854
Merge pull request #11855 from electron/vanessayuenn-patch-1
...
Delete `upgradeing-chrome.md`
2018-02-07 17:53:34 +01:00
Vanessa Yuen
4ab13d9e90
Delete upgradeing-chrome.md
2018-02-07 17:11:16 +01:00
OJ Kwon
e869c27041
feat(worditerator): bump up worditerator into latest
2018-02-06 15:31:18 -08:00
Felix Rieseberg
6c6fa3190f
Fix PRE_RELEASE_VERSION (on master) ( #11844 )
...
* 🔧 Fix PRE_RELEASE_VERSION
* 🔧 Fix spacing
* 🔧 Fix this, but harder
2018-02-06 16:33:51 -06:00
shelley vohr
64f509ea7a
Merge pull request #11832 from electron/enable-window
...
Add API to enable/disable a window
2018-02-06 14:14:45 -05:00
Shelley Vohr
5b901d9f82
revert TOOLKIT_VIEWS check change
2018-02-06 13:34:27 -05:00
John Kleinschmidt
6fd5b168bc
Merge pull request #11841 from electron/vanessayuenn-patch-1
...
Update snapcraft.md
2018-02-06 11:45:14 -05:00
Vanessa Yuen
4685c46b04
Update snapcraft.md
...
fix super teeny tiny typo 😬
2018-02-06 17:28:40 +01:00
John Kleinschmidt
a0e584efeb
Merge pull request #11793 from electron/release-updates
...
Improvements to release process
2018-02-06 11:12:41 -05:00
Shelley Vohr
3f6d2eb3ab
remove extraneous variable
2018-02-06 09:27:30 -05:00
Shelley Vohr
80aa399f8a
updates to mac enable method
2018-02-06 09:16:22 -05:00
Shelley Vohr
131aa38768
typo fix
2018-02-06 08:30:33 -05:00
Shelley Vohr
faf08b2b77
add documentation
2018-02-06 08:28:41 -05:00
Shelley Vohr
ae632193c0
migrate to virtual void and start mac impl
2018-02-06 08:21:53 -05:00
Samuel Attard
8c2c7c3634
Merge pull request #11836 from kaylieEB/master
...
Replace custom function with Object.values()
2018-02-06 15:45:02 +11:00
kaylie
3c64062f69
Replace custom function with Object.values()
2018-02-05 20:03:28 -08:00
Shelley Vohr
97589bbe33
first pass at api method to enable window
2018-02-05 14:49:59 -05:00
shelley vohr
5240352326
Remove extra menu separators ( #11827 )
...
* add function to remove leading/trailing separators
* change const name for clarity
* add spec to check filtered separators
* clean method and add edge case spec per review
2018-02-05 11:55:12 -06:00
shelley vohr
e6a5990b95
Merge pull request #11774 from nitsakh/fix-invalid-utf
...
Handle invalid utf8 characters for debugger
2018-02-05 12:44:41 -05:00
John Kleinschmidt
e924781ee5
Improvements to release process
...
1. Prompt user to verify version before version is created.
2. Fix validateRelease instructions and usage
3. Fix ci-release-build so that you don't have to pass in --ghRelease=true; just --ghRelease will work.
2018-02-05 10:57:48 -05:00
Cheng Zhao
42fa018277
Merge pull request #11492 from timmyhadwen/master
...
Fixed Bluetooth chooser bug. Closes #11399
2018-02-05 20:44:42 +09:00
Cheng Zhao
8ac52b418b
Coding style fixes
2018-02-05 17:29:59 +09:00
Samuel Attard
9676c0a4f9
Fix build and ensure no breaking change
2018-02-05 17:29:59 +09:00
Cheng Zhao
1c43768104
Coding style fixes
2018-02-05 17:29:59 +09:00
Samuel Attard
87c2f0f14f
Fix build and ensure no breaking change
2018-02-05 17:29:59 +09:00
Samuel Attard
5f7a173d1d
Add missing header import
2018-02-05 17:29:59 +09:00
Samuel Attard
72464a6db5
Fix implicit appUserModelId set
2018-02-05 17:29:59 +09:00
Cheng Zhao
ab015e573b
Merge pull request #11417 from electron/power-monitor-shutdown-event-and-delay-api
...
[RFC] New API: powerMonitor "shutdown" event
2018-02-05 17:29:31 +09:00
Cheng Zhao
9337959f51
The tryToTerminateApp is not really needed
2018-02-05 16:25:50 +09:00
Cheng Zhao
983e1b1a70
Implement shutdown event for macOS
2018-02-05 16:20:57 +09:00
Cheng Zhao
c470e758cc
Remove the AllocateSystemIOPorts call
...
It is no longer needed and it is crashing.
2018-02-05 16:15:49 +09:00
Cheng Zhao
109e2c760f
Do not use virtual function to request shutdown
...
Would make it easier to port to other platforms.
2018-02-05 15:50:55 +09:00
Cheng Zhao
8ae3d9dd0b
Simplify the public PowerObserver interface
2018-02-05 15:28:58 +09:00
Thiago de Arruda
e0e7dd2a8f
fixup! Implement powerMonitor 'shutdown' event for Linux.
2018-02-05 15:21:31 +09:00
Thiago de Arruda
176c03fa15
Add doc for powerMonitor shutdown event
2018-02-05 15:21:31 +09:00
Thiago de Arruda
f0e210360f
fixup! Implement powerMonitor 'shutdown' event for Linux
2018-02-05 15:21:31 +09:00
Thiago de Arruda
45763c0afb
fixup! Implement powerMonitor 'shutdown' event for Linux
2018-02-05 15:21:31 +09:00
Thiago de Arruda
df6328e5d7
Add some tests for powerMonitor "shutdown" event
2018-02-05 15:21:31 +09:00
Thiago de Arruda
56b53e71aa
Implement powerMonitor 'shutdown' event for Linux.
...
The event is emitted when the OS is rebooting/shutting down, and allows
an electron app to call `e.preventDefault()` in order to delay shutdown
and exit cleanly.
2018-02-05 15:21:31 +09:00
Cheng Zhao
28d96e2d29
Merge pull request #11354 from elegos/feature/create-dist-chromium-dir-option
...
Adds --chromium_dir argument to script/create-dist.py
2018-02-05 15:08:57 +09:00
Pranjal
732af93fc9
Updated for arm and armv7l documentation ( #11825 )
...
* Updated for arm and armv7l documentation
Cleared up the confusion caused by arm or armv7l mentioned somewhere and not mentioned elsewhere
* 📝 Improve wording a bit.
2018-02-04 18:29:19 -07:00
Felix Rieseberg
d586ef2f39
feature: Hot security tips ( #11810 )
...
* 🔧 Add security issue detection (and logs)
* 🔧 Check for it on load
* 👷 Add some tests
* 👷 Make the linter happy
* 🔧 Allow them to be enabled by force
* 📝 Make message slightly prettier
* 🔧 Fix a typo in the code comment
* 🔧 Classic mistake
* 🚀 Optimize things a bit more
* 👷 Add tests, fix tests
* 📝 Document things
* 🔧 Make linter happy
* 🔧 One more piece of cleanup
2018-02-03 07:50:12 -07:00
Nitish Sakhawalkar
62d2a3472f
Fix test BrowserWindow.addTabbedWindow() ( #11795 )
...
* Fix test BrowserWindow.addTabbedWindow()
* Address review comments
2018-02-02 19:31:02 -07:00
Charles Kerr
bd06abd523
Merge pull request #11806 from electron/security-docs-improvements
...
docs: Fixs some errors in the security documentation
2018-02-02 07:47:37 -07:00
Zeke Sikelianos
a033a9cd5d
Merge pull request #11794 from electron/snapcraft-documentation
...
Add snapcraft documentation
2018-02-01 19:22:10 -08:00
Nitish Sakhawalkar
e411b49f4e
Fix and update debugger UTF char test
2018-02-01 16:47:52 -08:00
Felix Rieseberg
6cf0c56eaf
📝 Some more words
2018-02-01 16:32:58 -08:00
Charles Kerr
714838d65e
Merge pull request #11796 from electron/case-insensitive-blacklist
...
Case insensitive blacklist
2018-02-01 15:51:02 -07:00
shelley vohr
1545a95782
Merge pull request #11799 from electron/browserview-inherit-fix
...
Don't inherit isBrowserView preference
2018-02-01 14:36:56 -05:00
Felix Rieseberg
ce969c9326
📝 Fix some errors
2018-02-01 09:58:02 -08:00
Felix Rieseberg
be7e46b3fe
📝 A word on strict
2018-02-01 09:47:15 -08:00
Felix Rieseberg
495c6dcff5
📝 Some more words
2018-02-01 09:43:26 -08:00
Charles Kerr
e51c78f10c
fix oops
...
because compiling before pushing is for wusses
2018-01-31 22:25:57 -07:00
Shelley Vohr
db6d84de74
don't inherit isBrowserView for spawned child windows
2018-02-01 00:09:37 -05:00
Charles Kerr
b32a7d4cb4
Merge pull request #11798 from electron/shadowroot-deprecate-fix
...
Migrate deprecated web-view method
2018-01-31 22:09:33 -07:00
Felix Rieseberg
77dcddf157
📝 Even more words
2018-01-31 17:00:19 -08:00
Felix Rieseberg
9d0d83a002
📝 Some more words
2018-01-31 16:57:45 -08:00
Felix Rieseberg
45119845e8
📝 Callout forge/builder as easiest
2018-01-31 16:56:46 -08:00
Felix Rieseberg
311c0873db
📝 Link to the guide
2018-01-31 16:54:23 -08:00
Felix Rieseberg
1184eca581
🔧 Fix various typos, implement feedback
2018-01-31 16:52:38 -08:00
Charles Kerr
1106cde687
fix oops
2018-01-31 17:40:11 -07:00
Charles Kerr
09a2c80443
use std::binary_search to search switch blacklist
2018-01-31 17:36:06 -07:00
Charles Kerr
8405fe763e
Make a copy-paste recipe for rebuilding the blacklist
2018-01-31 17:35:34 -07:00
Samuel Attard
ce361a12e3
Use case-insensitive switch comparisons
2018-01-31 17:35:09 -07:00
Shelley Vohr
b74304145e
createShadowRoot => attachShadow
2018-01-31 19:29:23 -05:00
Felix Rieseberg
b49a284ccf
📝 Add snapcraft documentation
2018-01-31 16:01:38 -08:00
John Kleinschmidt
278c58055e
Merge pull request #11776 from electron/parallel-releases
...
Allow multiple releases to run at once
2018-01-31 13:14:09 -05:00
John Kleinschmidt
7e9131d82b
Allow multiple releases to run at once
...
Find draft release by draft flag and tag name
2018-01-30 17:35:16 -07:00
Charles Kerr
67196bdd3e
Merge pull request #11770 from electron/security-documentation
...
Enhance security documentation
2018-01-30 15:03:43 -07:00
shelley vohr
f24eab74d8
Merge pull request #11726 from electron/faster-compare-blacklist
...
Make use of sorted list to speed up searching
2018-01-30 09:46:38 -05:00
Felix Rieseberg
93dc38a17b
👷 Put ESLint's mind at ease
2018-01-29 16:27:41 -08:00
Felix Rieseberg
d8d19baad3
❤️ Even more feedback
2018-01-29 16:02:39 -08:00
Felix Rieseberg
1e1729adad
❤️ More feedback
2018-01-29 16:01:05 -08:00
Zeke Sikelianos
aea06ed95f
Merge pull request #11758 from nicknish/nn/fix-typo-remote-api-docs
...
Fix typo in remote api docs
2018-01-29 14:33:16 -08:00
Felix Rieseberg
8f685e9329
👷 Linter errors
2018-01-29 12:36:51 -08:00
Felix Rieseberg
8804b09188
❤️ Implement @zeke’s feedback
2018-01-29 12:34:46 -08:00
Felix Rieseberg
536ff0b7e2
👷 Fix failed test
2018-01-29 11:29:15 -08:00
Felix Rieseberg
fb8606dd0c
📝 General cleanup
2018-01-29 11:19:43 -08:00
Felix Rieseberg
c4dc8dacbf
📝 Context Isolation
2018-01-29 11:19:21 -08:00
Felix Rieseberg
4cb22dd2ff
📝 allowpopups
2018-01-29 11:04:02 -08:00
Felix Rieseberg
cdb20d2692
🔧 WebSecurity
2018-01-29 11:03:51 -08:00
Felix Rieseberg
7e79ae750f
📝 Blink Features
2018-01-29 11:03:38 -08:00
Felix Rieseberg
39e0efd9a4
📝 Experimental Features
2018-01-29 11:03:27 -08:00
Felix Rieseberg
e73f142adc
📝 allowRunningInsecureContent
2018-01-29 11:03:06 -08:00
Felix Rieseberg
5418866e87
📝 eval()
2018-01-29 11:02:52 -08:00
Felix Rieseberg
c793ee3aeb
📝 Content Security Policy
2018-01-29 11:02:30 -08:00
Felix Rieseberg
a5c900ac7a
📝 Context Isolation
2018-01-29 11:01:22 -08:00
shelley vohr
12d4f984f3
Merge pull request #11754 from electron/menu-events
...
Add and document menu events
2018-01-29 12:40:57 -05:00
Felix Rieseberg
f790c24c27
📝 Verify WebView creation
2018-01-28 18:19:49 -08:00
Felix Rieseberg
d67c64b6fa
📝 Disable Node Integration
2018-01-28 17:25:05 -08:00
Felix Rieseberg
2db125890c
📝 Secure content
2018-01-28 16:55:11 -08:00
Felix Rieseberg
601fbc8731
📝 Link to security tutorial
2018-01-28 16:54:58 -08:00
Shelley Vohr
c886803d0f
change doc to show working on all platforms
2018-01-28 18:57:44 -05:00
Shelley Vohr
a9dd4c927d
update menu docs description string
2018-01-28 13:59:53 -05:00
nicknish
30581f78a2
📝 Fix typo in remote api docs [ci skip]
2018-01-28 04:37:13 +08:00
Shelley Vohr
3d032c2b57
forgot to remove .only from spec
2018-01-27 12:38:55 -05:00
Shelley Vohr
3679a9c37a
fix event callback placement in spec
2018-01-27 12:36:51 -05:00
Shelley Vohr
e81265bc7f
add documentation for new menu events
2018-01-27 11:28:42 -05:00
Shelley Vohr
e345342e36
add first pass at menu event specs
2018-01-27 11:23:46 -05:00
Shelley Vohr
bef4c84799
turn class into observer
2018-01-27 10:40:50 -05:00
Shelley Vohr
3399480304
first pass at menu event emission
2018-01-27 09:35:58 -05:00
Samuel Attard
b0a1575bb7
Merge pull request #11747 from timfish/patch-1
...
CrashReport structure in docs does not match API output
2018-01-27 23:24:43 +11:00
Tim Fish
e3383c82d1
CrashReport structure does not match API output
...
Electron 1.7
Docs:
```typescript
interface CrashReport {
date: string;
ID: number;
}
```
Actual output of `getLastCrashReport`:
```javascript
{
date: 2018-01-26T21:50:05.000Z,
id: '989d0469-9eb7-4f70-ba58-3425bc6ffa3b'
}
```
2018-01-27 12:21:09 +01:00
OJ Kwon
1ab92f7866
docs(webframe): reword api instructions
2018-01-26 10:58:25 -08:00
OJ Kwon
690a9e9483
test(webframe): add basic test case
2018-01-26 10:57:52 -08:00
OJ Kwon
004c9427eb
docs(webframe): add interface instruction
2018-01-26 10:57:52 -08:00
Heilig Benedek
df3d94b20d
Remove web_contents_impl() helper to clarify code and remove unnecessary guard
2018-01-26 10:30:20 +01:00
OJ Kwon
d172e29270
feat(webframe): export set cache capacity interface
2018-01-25 20:43:01 -08:00
Heilig Benedek
406f171c88
Move OSR api to OsrWCV to allow api calls to take effect sooner
2018-01-25 16:11:56 +01:00
Heilig Benedek
1a8916ed47
Call SetAuthoritativeVsyncInterval on the Compositor directly
2018-01-25 16:11:44 +01:00
Heilig Benedek
099bbfbafb
Raise maximum OSR framerate to 240
2018-01-25 16:11:31 +01:00
Heilig Benedek
304fd49e84
Don't generate a frame with GPU OSR if IsPainting is false
2018-01-25 16:11:22 +01:00
Heilig Benedek
708cde92cf
Don't generate a paint when StartPainting is called inside paint cb
2018-01-25 16:11:12 +01:00
Heilig Benedek
17d85318c3
Use null accelerated widget to avoid showing GPU accelerated OSR surface
2018-01-25 16:10:38 +01:00
Cheng Zhao
b5d5eca224
Make use of sorted order to speed up searching
2018-01-25 14:42:56 +09:00
Cheng Zhao
b9c0bab8f1
Merge pull request #11704 from brenca/fix-10678
...
Remove WS_EX_COMPOSITED style from window (master)
2018-01-24 14:44:52 +09:00
Cheng Zhao
0207aebad1
Merge pull request #11664 from loc/use_directx_capturer_win
...
Use same screen capturer settings for thumbnails as getUserMedia
2018-01-24 14:38:32 +09:00
Aleš Pergl
868e792572
Make run-as-node mode optional ( #11701 )
2018-01-23 18:17:15 -05:00
shelley vohr
19a5ebce66
update submodule ref for updated node ( #11706 )
2018-01-23 18:14:04 -05:00
shelley vohr
4757980f9c
add license file to npm publish ( #11705 )
2018-01-23 18:09:08 -05:00
Heilig Benedek
50690d25f1
Remove WS_EX_COMPOSITED style from window
2018-01-23 20:14:34 +01:00
Aleš Pergl
39554566cc
Allow IO while constructing an absolute path (prevents DCHECK failure) ( #11697 )
2018-01-23 10:25:01 -05:00
Aleš Pergl
c49cb29ddf
Disallow launching unknown apps via browser client.
...
CVE-2018-1000006
2018-01-22 16:49:30 -06:00
Samuel Attard
32a1395bcf
Merge pull request #11565 from electron/add-load-file-helper
...
Add window.loadFile and webContents.loadFile helper methods
2018-01-23 09:08:23 +11:00
Shelley Vohr
365fe6b067
fix code fence lint failure
2018-01-22 12:41:46 -05:00
Felix Rieseberg
8a4c76d655
docs: Document custom installation ( #11640 )
...
* 📝 Document custom installation
* ❤️ Implement feedback
* 🔧 Fix linting errors
2018-01-19 16:33:36 -05:00
Nitish Sakhawalkar
2b4cc0a525
Fix macos Full Screen Toggle menu item label ( #11633 )
2018-01-19 09:27:36 -05:00
Charles Kerr
d0af17e601
Merge pull request #11644 from brenca/tooltip-fix-master
...
Explicitly hide tooltip when the window is deactivated (master)
2018-01-18 23:35:06 -06:00
Ryan Baxley
8387d92cd5
Update CONTRIBUTING.md with link to development docs ( #11529 )
...
* Update CONTRIBUTING.md with link to development docs
[ci skip]
* Use relative link to development documentation
[ci skip]
2018-01-18 21:29:10 -05:00
Heilig Benedek
f36fda3f5d
don't dereference tooltip_controller if it's null
2018-01-18 20:35:19 +01:00
Heilig Benedek
8d8b8c590d
update calls to use new namespaces
2018-01-18 15:23:38 +01:00
Heilig Benedek
5e198d9dc6
add todo comment
2018-01-18 15:23:38 +01:00
Heilig Benedek
8233890e39
lint fix
2018-01-18 15:23:38 +01:00
Heilig Benedek
c6c618acdb
explicitly hide tooltip on window deactivation
2018-01-18 15:23:38 +01:00
Andy Locascio
ae65c26469
fix lint
2018-01-17 17:04:57 -08:00
Andy Locascio
8253e50e9c
use same settings for screen thumbnails as chrome does webrtc capturing
...
Following along from http://crrev.com/2961193002 : make sure the
thumbnail capturers initialize with the same settings as the capturer
from a getUserMedia request does. Otherwise, there is no guarentee that the
sources on Windows will match.
2018-01-17 15:55:10 -08:00
John Kleinschmidt
ea1da93e5e
Merge pull request #11662 from electron/fix-ia32-testing-for-forks
...
Set DISPLAY variable for xvfb
2018-01-17 13:47:41 -05:00
John Kleinschmidt
565946cdff
Set DISPLAY variable for xvfb
...
PRs submitted from forks need this value for xvfb to run properly.
2018-01-17 12:57:42 -05:00
shelley vohr
4f0e1826e5
properly check checkbox state on callback ( #11658 )
2018-01-17 08:51:49 -05:00
Cheng Zhao
4dab824c6b
Merge pull request #11625 from nitsakh/mac-terminate
...
Change macos app termination process
2018-01-17 16:28:56 +09:00
Nitish Sakhawalkar
ea2056b513
Replace arrow function
2018-01-17 15:27:11 +09:00
Nitish Sakhawalkar
7aefc73ffd
Fix lint
2018-01-17 15:27:11 +09:00
Nitish Sakhawalkar
28f1abcb05
Change macos app termination process
2018-01-17 15:27:11 +09:00
Cheng Zhao
d69c17a96a
Merge pull request #11656 from electron/update-gyp
...
Update gyp: Add Visual Studio 2017 support
2018-01-17 11:43:46 +09:00
Cheng Zhao
b45ce8ff2d
Update gyp: Add Visual Studio 2017 support
2018-01-17 10:19:02 +09:00
John Kleinschmidt
a6d3dee321
Removing core dump check ( #11621 )
...
It appears that the arm build failing with a core dump is a false positive. Testing the latest arm build from master on a raspberry pi 2, it does not core dump.
2018-01-13 23:02:10 -05:00
Tiago Danin
74769da9a7
[Docs] Fix URLs and Paths ( #11584 )
...
* Fix URLs and Paths in docs/
* Avoiding link break to /docs/development/updgrading-chrome.md
* Fix URLs and Paths in docs/ #2
* Removed double spaces in docs
2018-01-12 10:24:48 -05:00
Charles Kerr
fa43cb6ef0
Merge pull request #11557 from josimi/master
...
Fixes hexColorDWORDToRGBA for transparent colors
2018-01-11 10:28:53 -06:00
Lee Dohm
f5962538f4
Merge pull request #11545 from m1guelpf-forks/patch-1
...
Update license year
2018-01-10 09:19:12 -08:00
Cheng Zhao
fce84fbe99
Merge pull request #11292 from AdrienFery/in-app-purchase
...
Add in-app purchase for MacOS
2018-01-10 19:42:03 +09:00
Cheng Zhao
bd271cffb9
Throw when inAppPurchase is used on unsupported platforms
2018-01-10 18:53:55 +09:00
Cheng Zhao
a883d3d50d
Fix build on other platforms
2018-01-10 17:39:16 +09:00
Cheng Zhao
839df0ee5a
Remove observer on cleanup
2018-01-10 17:30:30 +09:00
Cheng Zhao
6d9c6645a8
Add inAppPurchase to docs index
2018-01-10 17:25:04 +09:00
Cheng Zhao
e77ddd3221
Pass multiple transactions at the same time
...
This follows the design of SKPayment API.
2018-01-10 17:19:44 +09:00
Cheng Zhao
2dd545ebda
Payment should be part of Transaction
...
This follows The SKPayment API, and makes our JS wrappers easier to
implement.
2018-01-10 17:06:27 +09:00
Cheng Zhao
635b753ecd
No need for SKPaymentTransactionState prefix for states
2018-01-10 16:59:17 +09:00
Cheng Zhao
133bef3deb
Turn addTransactionListener into transaction-updated event
2018-01-10 16:57:52 +09:00
Cheng Zhao
ac6f895f64
Turn InAppPurchase into an EventEmitter
2018-01-10 16:37:05 +09:00
Cheng Zhao
400bfb3c5a
mac: SKProductsRequest should be freed on end
2018-01-10 15:29:32 +09:00
Cheng Zhao
bdeb979d41
spec: Simple tests for inAppPurchase module
2018-01-10 15:21:53 +09:00
Cheng Zhao
5f1c76c688
Reorgnize the platform-specific files
2018-01-10 14:45:42 +09:00
Adrien Fery
b2542a27c3
Update code style
2018-01-10 13:14:18 +09:00
Adrien Fery
d32632f768
Update filenames.gypi
2018-01-10 13:14:18 +09:00
Adrien Fery
eb2520488f
Adapt code style
2018-01-10 13:14:18 +09:00
Adrien Fery
329fddaed1
Put in-app purchase files under macOS check
2018-01-10 13:14:18 +09:00
Adrien Fery
f3ae566164
Add in-app purchase for MacOS
2018-01-10 13:14:18 +09:00
Cheng Zhao
143816bee1
Merge pull request #11272 from syntropy-ai/1-7-x
...
Removed tracking area for tray to prevent mouse leave race condition crash
2018-01-10 13:13:10 +09:00
Matt Way
5504294a6a
Replaces tracking removal with proper mem management
2018-01-10 10:24:37 +09:00
Matt Way
8df4402722
removed unnecessary braces
2018-01-10 10:24:13 +09:00
Matt Way
638d8219c4
Removed tracking area when removing icon to prevent mouse exit race condition crash
2018-01-10 10:24:11 +09:00
Jonathon Simister
9c018744f4
Fixes hexColorDWORDToRGBA for transparent colors
2018-01-09 11:07:29 -08:00
John Kleinschmidt
83b351a8fd
Merge pull request #11487 from electron/circleci-cross-arch-testing
...
Add testing for arm, arm64 and ia32 linux builds
2018-01-08 11:01:55 -05:00
Yury Solovyov
49844b6e5b
Move the IconLoader to use the task scheduler.
...
This follows https://codereview.chromium.org/2953633002
2018-01-08 13:21:22 +03:00
Yury Solovyov
b3743058c0
Make gfx::Image instance a local variable.
...
This follows https://codereview.chromium.org/2709683002
2018-01-08 12:47:25 +03:00
Cheng Zhao
c1d68974ab
Merge pull request #11589 from electron/fix-accelerator-problem
...
Update libcc: Fix Shift not showing in menu for certain accelerators
2018-01-08 16:15:28 +09:00
Cheng Zhao
f201969f12
Update libcc: Fix Shift not showing
...
Fix the Shift key not showing in menu for certain accelerators like
Control+Shift+F.
2018-01-08 12:33:43 +09:00
Cheng Zhao
4298aecb7c
Merge pull request #11547 from electron/draggable_regions_patch
...
fix: draggable region ipc should be frame based
2018-01-07 21:15:50 +09:00
Zeke Sikelianos
4e328a2a08
Merge pull request #11481 from teiles/master
...
docs: change getBlobData return type from Blob to Buffer
2018-01-05 20:43:26 -08:00
Zeke Sikelianos
33da3153b6
Merge pull request #11538 from TiagoDanin-Forks/MD-PATH
...
Doc update: New path for web-contents.md
2018-01-05 08:43:08 -08:00
Zeke Sikelianos
c272a18204
Merge pull request #11428 from TechnicalSoup/patch-1
...
docs: specify string values for DownloadItem
2018-01-05 08:42:10 -08:00
Zeke Sikelianos
aeffef766a
Merge pull request #11420 from joeydlee95/master
...
✅ Add test to check for relative links in docs
2018-01-05 08:39:34 -08:00
Charles Kerr
435c9c1486
Force uv loop cleanup ( #11465 )
...
* ensure all uv handles are closed before ending worker's loop
* add DCHECK to test that the Worker loop is finished
* don't call deprecated uv_loop_new(), uv_loop_delete()
* make cpplint happy
* fix comment error
* empty commit for CI
* tweak DCHECK expression
* extract-method: stop_and_close_uv_loop()
* fix DCHECK oops
2018-01-04 11:16:06 -08:00
Zeke Sikelianos
eb89e12c5b
Merge pull request #11532 from sethlu/camelcase-menuitem-role
...
Make MenuItem roles camelCase-compatible
2018-01-04 09:53:58 -08:00
Cheng Zhao
6bc7c8cc49
Merge pull request #11396 from electron/enable_base_dchecks
...
fix: enable additional dchecks
2018-01-04 21:19:12 +09:00
Cheng Zhao
9bd192ea17
Update libcc to latest
2018-01-04 16:14:01 +09:00
Zhuo Lu
df841fa397
Revert changes made to test case
...
The MenuItem role should be lowercase
2018-01-04 14:38:58 +08:00
Samuel Attard
1553b54779
Add window.loadFile and webContents.loadFile helper methods
2018-01-04 11:38:56 +13:00
Cheng Zhao
1ff872519c
posix: Fix assertion when freeing ProcessSingleton
2018-01-03 19:47:01 +09:00
Cheng Zhao
1072c75e38
Closing asar file should be syncronous
2018-01-03 19:12:16 +09:00
Cheng Zhao
fb78052b3d
Remove unnecessary scope
2018-01-03 19:10:48 +09:00
Cheng Zhao
104585e772
Do not create DIR_USER_DATA on IO thread
...
It would slowdown the startup time of apps since we have wait for two
message posts between threads.
2018-01-03 19:07:24 +09:00
Cheng Zhao
952928dc79
Singleton must be created on request
...
The creation of singleton relies on the `userData` dir, which can be
changed by user, we have to ensure singleton uses the `userData` dir set
by user.
2018-01-03 18:59:12 +09:00
Cheng Zhao
0cce6b3d21
Fix cpplint warning
2018-01-03 17:32:18 +09:00
Cheng Zhao
d6068759b6
win: Fix assertion when creating Notification
2018-01-03 17:25:19 +09:00
TechnicalSoup
0ea296b1cb
docs: specify string values for DownloadItem
...
Explicitly list the possible string return values for the updated and done events so that the typescript declaration file can model them more accurately. At present they are represented as a string type.
Fixes : https://github.com/electron/electron-typescript-definitions/issues/71
2018-01-03 13:34:19 +11:00
deepak1556
14de22a8c7
Use cached application locale as default for generating accept-lang header
2018-01-02 17:33:46 +05:30
deepak1556
cbc433d4cb
update libcc to fix DCHECK errors in ui::clipboard on windows
2018-01-02 16:32:07 +05:30
Cheng Zhao
de93b30d3c
win: Fix assertion when getting exe version
2018-01-02 17:02:12 +09:00
Cheng Zhao
82452e7924
win: Fix assertion when getting printers
2018-01-02 16:54:36 +09:00
Cheng Zhao
7bf156d197
win: Fix assertion "IsWprintfFormatPortable(format)"
2018-01-02 16:45:43 +09:00
deepak1556
7b9dd81018
update libcc for macOS render widget dcheck crash fix
2018-01-02 16:37:12 +09:00
deepak1556
b9ace16959
update libcc for using custom platform with gin
2018-01-02 16:37:12 +09:00
deepak1556
769fbd0d3b
REVIEW: register BrowserChildProcessObserver once main message loop is ready
2018-01-02 16:37:11 +09:00
deepak1556
1b30cac372
Don't delay node module initialization
2018-01-02 16:37:11 +09:00
Cheng Zhao
1043f07b42
Fix compilation on Windows
2018-01-02 16:37:11 +09:00
deepak1556
237bd6790b
FIXME: allow IO access on main thread for crash reporter
2018-01-02 16:37:11 +09:00
deepak1556
abe1faea5c
REVIEW: setup request context for NSS OCSP only once
2018-01-02 16:37:11 +09:00
deepak1556
e3a56240c9
REVIEW: fix base::File helper usage on incorrect task sequence
2018-01-02 16:37:10 +09:00
deepak1556
fd297722a8
Note about incorrect usage of blink::SchemeRegistry methods
2018-01-02 16:37:10 +09:00
deepak1556
73919ea91a
update libcc
2018-01-02 16:37:10 +09:00
deepak1556
d27744f455
Some blink::WebSecurityPolicy methods should be invoked before other render threads are created
2018-01-02 16:37:10 +09:00
deepak1556
0df464e16a
address review comments
2018-01-02 16:37:09 +09:00
deepak1556
ee80313666
opt into location service on main thread
2018-01-02 16:37:09 +09:00
deepak1556
d29c27dc78
REVIEW: obtain mime type from file path only on IO allowed sequence
2018-01-02 16:37:09 +09:00
deepak1556
e072213923
FIXME: dbus ObjectProxy methods should only be invoked on IO allowed sequence
2018-01-02 16:37:09 +09:00
deepak1556
a1592446da
REVIEW: access GetApplicationLocale on sequence that allows IO
2018-01-02 16:37:08 +09:00
deepak1556
1912fbb073
reenable some specs
2018-01-02 16:37:08 +09:00
deepak1556
69bd44edbb
REVIEW: add render process lifecycle observer only once
2018-01-02 16:37:08 +09:00
deepak1556
ebb0e46380
REVIEW: create AtomNetworkDelegate on the IO thread
2018-01-02 16:37:08 +09:00
Cheng Zhao
b2cef31bc0
Revert "Fix race condition when calling JsAsker::BeforeStartInUI"
...
This reverts commit 37317d74adb53afdcb22c85f2d3987fbae290ac7.
2018-01-02 16:37:08 +09:00
Cheng Zhao
6d9b186fa7
Fix race condition when calling JsAsker::BeforeStartInUI
2018-01-02 16:37:07 +09:00
deepak1556
e30131f30b
Initialize isolate holder in standalone node mode
2018-01-02 16:37:07 +09:00
deepak1556
88e53b1b5e
REVIEW: destroy process singleton on sequence where IO is allowed
2018-01-02 16:37:07 +09:00
deepak1556
c3154d86e0
FIXME: disable some specs
2018-01-02 16:37:07 +09:00
deepak1556
1d95241185
FIXME: refactor and remove usage of ScopedAllowIO where possible
2018-01-02 16:37:06 +09:00
deepak1556
90acb22a58
dont use UI methods on IO thread
2018-01-02 16:37:06 +09:00
deepak1556
a518c5c3c4
derefence weak ptr only on the same sequence runner it was created in
2018-01-02 16:37:06 +09:00
deepak1556
fedf1d889b
handle NaN conversion from V8
2018-01-02 16:37:06 +09:00
deepak1556
db156865e7
pref store needs to be loaded on a thread that allows IO
2018-01-02 16:37:06 +09:00
deepak1556
b4e6516ad8
fix dcheck failure with invalid UTF8 string conversion for base::Value
2018-01-02 16:37:05 +09:00
deepak1556
5c25855ac5
create user data dir on thread that allows IO
2018-01-02 16:37:05 +09:00
Cheng Zhao
249bd41e11
Merge pull request #11546 from electron/menu-callback
...
Add callback parameter for Menu.popup
2018-01-02 16:20:58 +09:00
deepak1556
99e26b8318
fix: draggable region ipc should be frame based
2018-01-01 22:54:02 +05:30
Cheng Zhao
d04ae88426
The RenderWidgetHostView might not be available when showing menu
2018-01-01 19:37:59 +09:00
Cheng Zhao
bc61f2eafa
Copy the callback instead of reference
...
I don't really see how this could be a problem, likely a bug of VS 2017?
2018-01-01 19:37:59 +09:00
Cheng Zhao
46330ac2a9
Remove the closed event of Menu
...
The callback of Menu.popup does more things, and there is actually no
request for the closed event.
2018-01-01 17:22:07 +09:00
Cheng Zhao
73d78d345a
Make callback work for old-style Menu.popup call
...
While the old-style Menu.popup has been deprecated, it is still being
used widely in apps and even in Electron itself.
2018-01-01 17:17:01 +09:00
Cheng Zhao
2ec3b8ce76
spec: callback for Menu.popup
2018-01-01 16:56:22 +09:00
Cheng Zhao
c3eadd5b63
mac: Call callback when menu is programmely closed
2018-01-01 16:49:25 +09:00
Cheng Zhao
9c6aa9ce90
docs: callback of Menu.popup
2018-01-01 16:42:23 +09:00
Cheng Zhao
7b01a8b860
Add callback parameter to Menu.popup
2018-01-01 16:26:19 +09:00
Cheng Zhao
2e3d940749
Fix "test.py -g Menu" not working
2018-01-01 15:46:39 +09:00
Cheng Zhao
d7bc127c60
mac: Correctly close popup menu
2018-01-01 15:40:15 +09:00
Miguel Piedrafita
46121da765
Update license year
2018-01-01 00:51:40 +01:00
Zhuo Lu
b8ec84c761
Fix syntax
2018-01-01 02:23:32 +08:00
Tiago Danin
e9121936e8
Doc Update: New path for web-contents.md
2017-12-28 18:22:30 -02:00
Felix Rieseberg
5f4b62b6c8
feat: Allow testing of single spec modules ( #11409 )
...
* 🔧 ES6 for the spec
* 👷 Allow testing of single modules
* ❤️ Implement feedback
* 📝 Add a testing doc
* 📝 Link to it
* 📝 Cleanup
2017-12-28 06:18:33 -05:00
Zhuo Lu
d45914c3f7
MenuItem roles camelCase-compatible
2017-12-28 13:28:20 +08:00
Cheng Zhao
a161f6e368
Merge pull request #11527 from electron/fix-buffer-crash-master
...
master: Fix crash when using crypto module
2017-12-27 21:45:32 +09:00
Cheng Zhao
e45a125f65
Update node: Fix crash when doing crypto operation
2017-12-27 20:37:04 +09:00
Cheng Zhao
75ac7d9ff2
spec: Add test for crypto operation
2017-12-27 20:37:04 +09:00
Charles Kerr
0cafc3cf52
Merge pull request #11511 from HayateLaTech/patch-1
...
Update browser-window.md
2017-12-22 09:05:38 -06:00
Cheng Zhao
fe16e24406
Merge pull request #11510 from electron/gin-use-node-platform
...
Use Node's V8Platform instead of gin's
2017-12-22 23:40:19 +09:00
HayateLaTech
f2e32791b1
Update browser-window.md
2017-12-22 15:13:12 +01:00
Cheng Zhao
c0c2461245
Do not create duplicate V8Platform in NodeDebugger
2017-12-22 20:29:09 +09:00
Cheng Zhao
00afeaba9a
Use Node's V8Platform instead of gin's
2017-12-22 20:29:08 +09:00
Charles Kerr
a0ebde0181
Merge pull request #11504 from kylecorry31/master
...
Add Support for Pop!_OS GNOME Session
2017-12-21 22:57:54 -06:00
Kyle Corry
5aac091f40
Add Support for Pop!_OS GNOME Session
...
Similar to this PR: https://github.com/electron/electron/pull/10355 , Pop!_OS suffers from the same problem. Using Ubuntu AppIndicator will not show the icon currently unless the XDG_CURRENT_DESKTOP variable is modified. This commit will add support for pop so that this workaround is not needed.
Ref: https://github.com/pop-os/pop/issues/84
2017-12-21 14:16:15 -05:00
Cheng Zhao
65871cd567
Merge pull request #11238 from electron/spellchecker_iframe_patch
...
fix: manually set spellchecker for sub frames
2017-12-21 17:00:01 +09:00
Cheng Zhao
06e1fb923b
Merge pull request #11495 from electron/libcc-latency-histogram-macros-patch
...
win: Correctly close popup menu
2017-12-21 16:59:47 +09:00
Cheng Zhao
7a8864063b
mac: Handle the case when closing all menu runners
2017-12-21 15:57:27 +09:00
Cheng Zhao
088042841d
win: Correctly close popup menu
2017-12-21 15:26:32 +09:00
Cheng Zhao
459db92052
Merge pull request #11493 from electron/libcc-latency-histogram-macros-patch
...
Update libcc for latency_histogram_macros.patch
2017-12-21 11:52:53 +09:00
Cheng Zhao
05bd5f456a
Update libcc for latency_histogram_macros.patch
2017-12-21 11:20:03 +09:00
Charles Kerr
d3eeb84208
Merge pull request #11466 from electron/cppcheck-diff-mode
...
add changed-files-only mode to cpplint
2017-12-20 10:55:49 -06:00
John Kleinschmidt
06481b5630
Add testing for arm, arm64 and ia32 linux builds
2017-12-20 11:54:52 -05:00
Cheng Zhao
a6228b97cd
Merge pull request #11264 from brenca/flash-menu-fix
...
Fix flash context menu
2017-12-20 19:37:44 +09:00
Cheng Zhao
e4770c7604
Coding style fixes
2017-12-20 18:48:09 +09:00
deepak1556
83d2917363
fix: manually set spellchecker for sub frames
2017-12-20 12:48:02 +05:30
Heilig Benedek
5bf16c2495
remove async:true from menu tests
2017-12-20 15:41:12 +09:00
Heilig Benedek
ef7357dedc
update tests for menu closed event and call cancel on closePopup
2017-12-20 15:40:07 +09:00
Heilig Benedek
14b65467d8
add test for menu closed event
2017-12-20 15:40:07 +09:00
Heilig Benedek
bcef6eb3df
document menu closed event and fix styling issue
2017-12-20 15:40:07 +09:00
Heilig Benedek
c586806609
fix flash menu being unresponsive to commands
2017-12-20 15:40:07 +09:00
Cheng Zhao
85ef42d99e
Merge pull request #11233 from brenca/devtools-fix
...
Small devtools fixes
2017-12-20 15:35:09 +09:00
Cheng Zhao
0d9ff95526
Revert "dont change window background after devtools is closed"
...
This reverts commit fdcac8552f .
We are looking for a better fix.
2017-12-20 15:18:26 +09:00
Heilig Benedek
fdcac8552f
dont change window background after devtools is closed
2017-12-20 12:57:02 +09:00
Heilig Benedek
d5ab691fdb
fix osr devtools crash introduced during merge
2017-12-20 12:57:02 +09:00
Cheng Zhao
5a9221e1dc
Merge pull request #11092 from electron/provide-scheme-with-open-external-request
...
Give user access to the URL that is attempting to be openExternal'ed
2017-12-20 12:56:00 +09:00
Ted Eiles
5ccfac81ed
Reviewed getBlobData source, not return value (void)
2017-12-19 22:21:45 -05:00
Cheng Zhao
b2e6340622
Reduce the number of helpers
2017-12-20 10:49:49 +09:00
Cheng Zhao
4fd8b04329
Better field names for details object
2017-12-20 10:25:31 +09:00
Samuel Attard
4d7b85bd01
Appease the linter
2017-12-20 10:21:38 +09:00
Samuel Attard
98e9311669
Give user access to the URL that is attempting to be openExternal'ed
2017-12-20 10:21:38 +09:00
Cheng Zhao
39ec40b901
Merge pull request #11470 from electron/update-node-upgrade-doc
...
Update branching steps in upgrading-node.md
2017-12-20 10:08:09 +09:00
Ted Eiles
19f2d42c07
change getBlobData return type from Blob to Buffer, fixes doc and typescript def
2017-12-19 19:52:59 -05:00
Charles Kerr
d36e451301
make IGNORE_FILES more readable
2017-12-19 18:37:02 -06:00
Charles Kerr
0521302940
add atom/node/osfhandle.cc to the do-not-lint list
2017-12-19 17:41:34 -06:00
Charles Kerr
4f533dded3
Revert "fix previously-hidden cppcheck warnings in osfcheck.cc"
...
This reverts commit 8373e1bf41 .
2017-12-19 17:39:03 -06:00
Charles Kerr
2f88e69ed4
fix inconsistent indentation
2017-12-19 16:23:27 -06:00
Charles Kerr
8373e1bf41
fix previously-hidden cppcheck warnings in osfcheck.cc
2017-12-19 16:09:53 -06:00
Charles Kerr
58edfc26ed
flake8 --ignore=E111,E121 script/cpplint.py
2017-12-19 16:02:36 -06:00
Charles Kerr
30f8660a20
walk all files in atom/ and brightray/
2017-12-19 15:57:03 -06:00
Charles Kerr
cab1b81026
give find_files() a filename tester function arg
2017-12-19 15:50:09 -06:00
Charles Kerr
f5f6d99cd7
make file list function names clearer
...
since they return sets rather than lists, don't use 'list' in the name
2017-12-19 15:40:11 -06:00
Charles Kerr
589c6a5b7e
remove unnecessary ignore variable
2017-12-19 15:38:23 -06:00
Charles Kerr
512fb670b4
remove unnecessary changed_files variable
2017-12-19 15:37:41 -06:00
Charles Kerr
b6c16a520a
only call cppcheck once
2017-12-19 15:07:11 -06:00
Charles Kerr
6f4e97c53a
(copyediting) renumber steps
2017-12-19 09:09:35 -06:00
Charles Kerr
781311aa3c
Merge pull request #11431 from electron/notifications-debugging
...
infra: Allow notifications debugging
2017-12-19 09:06:12 -06:00
Cheng Zhao
c15e2e4d92
Merge pull request #10912 from Ajeey/patch-1
...
Updated auto-updater.md
2017-12-19 16:22:25 +09:00
Cheng Zhao
5d86da48c7
The missing :
2017-12-19 15:44:58 +09:00
Cheng Zhao
4dee778212
Clearer wording
2017-12-19 15:39:57 +09:00
Ajey Charantimath
8953042ee3
Updated auto-updater.md
...
Missing documentation on the issue https://github.com/electron/electron/issues/10903
2017-12-19 15:33:13 +09:00
Cheng Zhao
90582dfa4f
Merge pull request #11154 from electron/update-release-doc
...
Update release process for API invoked release builds
2017-12-19 15:30:51 +09:00
Cheng Zhao
81527b71ba
Merge pull request #11279 from sethlu/openrecent
...
Update submenu's title at replacement
2017-12-19 15:28:02 +09:00
Cheng Zhao
a02cb8009e
Merge pull request #11131 from hugomano/feature/isolated-world
...
Add Isolated World API
2017-12-19 11:03:28 +09:00
Cheng Zhao
b27e42f3f7
Fix indentions
2017-12-19 10:42:36 +09:00
Hugo Mano
ae7b96991c
Add webFrame.setIsolatedWorldSecurityOrigin
...
Move vector to cc file
Map executed javascript in isolated world to url
Some 💅
Documentation
Use WebSource[] as argument in executeJavaScriptInIsolatedWorld
Refactor and lint with @poiru’s comments
Remove duplicate call
Typo
Lint
2017-12-19 10:36:03 +09:00
Hugo Mano
389edb6229
Add webFrame.setIsolatedWorldHumanReadableName
2017-12-19 10:36:03 +09:00
Hugo Mano
f74f113d23
Add webFrame.setIsolatedWorldContentSecurityPolicy
2017-12-19 10:36:03 +09:00
Alexandre Lachèze
936d8c1117
Add webframe. executeJavaScriptInIsolatedWorld
...
Attempt runInIsolatedWorldContext
Replace RunInIsolatedWorldContext by GetIsolatedWorldGlobalObject
Fix linting
Remove useless getIsolatedWorldGlobalObject
Add support for scriptExecutionType
2017-12-19 10:36:03 +09:00
Cheng Zhao
a38fb5df41
Merge pull request #18 from electron/upgrade-to-chromium-63
...
virtual members need a virtual destructor
2017-12-19 10:25:22 +09:00
Charles Kerr
f01cbf0482
Merge pull request #11467 from electron/leo-patch-1
...
Clarify Hazel's purpose
2017-12-18 16:17:14 -06:00
Leo Lamprecht
55db062242
Clarify Hazel's purpose
2017-12-18 21:18:11 +01:00
Charles Kerr
6198bbe963
add changed-only mode to cpplint
2017-12-18 10:22:51 -06:00
timmyhadwen
a6bab71215
Fixed BT bug
2017-12-18 20:46:06 +10:00
Samuel Attard
66c0d6620b
virtual members need a virtual destructor
2017-12-18 14:55:27 +11:00
Cheng Zhao
29b03fc242
Merge pull request #17 from sethlu/remove-getwrapper-dcheck
...
Remove WrappableBase::GetWrapper() DCHECK
2017-12-18 09:22:13 +09:00
Giacomo Furlan
b8231b74f2
refs #11353 : pylint
2017-12-16 13:11:04 +01:00
Giacomo Furlan
789dbb2dbb
Adds --chromium_dir argument to script/create-dist.py
2017-12-16 13:11:04 +01:00
TheDancingCode
605f5472e5
📝 Fix mixed content warning [ci skip] ( #11448 )
2017-12-15 16:06:38 -05:00
joeydlee95
ac2caef37f
test for relative links adheres to npm run lint
2017-12-13 19:06:16 -08:00
Felix Rieseberg
75cdd9ec70
🔧 Linter's gotta lint
2017-12-13 16:31:02 -08:00
Felix Rieseberg
8a8aaaf16c
🔧 Allow notifications debugging (Windows)
2017-12-13 16:25:49 -08:00
Felix Rieseberg
76d9756fb9
🔧 Use LOG instead of NSLOG
2017-12-13 14:47:23 -08:00
joeydlee95
a4db8e1c55
Add executable test to package.json
2017-12-13 14:39:13 -08:00
Charles Kerr
a8b76e1a80
Merge pull request #11418 from electron/add-reg-defaults
...
[WIP] add back systemPreferences.registerDefaults()
2017-12-13 15:48:20 -06:00
shelley vohr
5a35a5a2b3
Upgrade Node to v8.9.3 ( #11422 )
...
* update submodule referefences for node
* update libcc and node refs
* update for cherry-picked a15d0ce
* update libcc ref to master
2017-12-13 16:32:00 -05:00
Zhuo Lu
e0b77db46f
Remove WrappableBase::GetWrapper() DCHECK
2017-12-13 13:26:51 -08:00
Shelley Vohr
26ad37c4d1
remove key and value bullts
2017-12-13 16:02:15 -05:00
Shelley Vohr
3fc844c15a
add loop to catch null values
2017-12-13 14:02:43 -05:00
Felix Rieseberg
61ec8df418
🔧 More detailed macOS notification logging
2017-12-13 10:31:59 -08:00
Charles Kerr
0ad99444af
Merge pull request #11426 from mikoto2000/patch-1
...
Fix 'electron-versioning' link in README.md
2017-12-13 09:21:41 -06:00
mikoto2000
ef7c5c8e9c
Fix 'electron-versioning' link in README.md
2017-12-13 22:18:00 +09:00
Shelley Vohr
d602a30bbc
update a few steps in upgrading-node.md
2017-12-12 22:55:37 -05:00
Charles Kerr
057f08a1f8
Merge pull request #11421 from lurch/patch-1
...
Fix typos
2017-12-12 21:36:35 -06:00
Andrew Scheller
debe77a910
Fix typos
2017-12-13 03:13:41 +00:00
Charles Kerr
5b6b5fe835
Merge pull request #11419 from electron/menu-bugs-take-two
...
fix: Menu bugs (take two)
2017-12-12 20:56:41 -06:00
joeydlee95
996c914912
✅ Add test to check for relative links in docs directory
2017-12-12 18:53:13 -08:00
Felix Rieseberg
ffd85bfaac
🔧 Allow notifications debugging (macOS)
2017-12-12 16:09:34 -08:00
Felix Rieseberg
317422f431
👷 Close popup in aftereach
2017-12-12 12:23:02 -08:00
Felix Rieseberg
8166a64f98
🔧 Last round of feedback
2017-12-12 11:25:01 -08:00
Felix Rieseberg
c4ec8b4545
🔧 Feedback
2017-12-12 11:25:01 -08:00
Felix Rieseberg
76df41b5d0
👷 Properly test x vs y
2017-12-12 11:25:01 -08:00
Felix Rieseberg
ace558f54a
👷 Hence, better testing
2017-12-12 11:25:01 -08:00
Felix Rieseberg
5b7f7c8a1a
🔧 Menu returns its properties now
2017-12-12 11:25:01 -08:00
Felix Rieseberg
ffc54967e9
🔧 Fix value shift
2017-12-12 11:25:01 -08:00
Felix Rieseberg
5a658fa5f6
👷 Add a spec
2017-12-12 11:25:01 -08:00
Felix Rieseberg
99031834ff
🔧 Cleanup
2017-12-12 11:25:01 -08:00
Felix Rieseberg
3719ee0b53
🔧 Allow for menu.popup({})
2017-12-12 11:25:01 -08:00
Felix Rieseberg
9e660b1d32
🔧 Always find a window (or error)
2017-12-12 11:25:01 -08:00
Felix Rieseberg
4f901c6d24
🔧 Oh wow, that looks wrong
2017-12-12 11:25:01 -08:00
Shelley Vohr
6252ce466c
remove failing badDefault
2017-12-12 13:39:38 -05:00
Shelley Vohr
8b447b9291
fixing error in registerDefaults
2017-12-12 13:08:09 -05:00
Charles Kerr
5720a8e7d5
Merge pull request #11415 from electron/revert-11385-async-menu
...
Revert "fix: Fix `menu.popup()` bugs"
2017-12-12 08:56:12 -06:00
Charles Kerr
da4af4c90b
Merge pull request #11414 from electron/revert-11395-add-reg-defaults
...
Revert "Add systemPreferences.registerDefaults()"
2017-12-12 08:46:47 -06:00
Alexey Kuzmin
1c8eb03574
Revert "fix: Fix menu.popup() bugs"
2017-12-12 13:59:34 +03:00
Alexey Kuzmin
1caa04c0bf
Revert "Add systemPreferences.registerDefaults()"
2017-12-12 13:59:15 +03:00
Cheng Zhao
19f1fef040
Merge pull request #11283 from electron/fix-event-subscriber-race
...
Fix race condition in event_subscriber.h
2017-12-12 10:49:17 +09:00
Charles Kerr
e73fe100d5
Merge pull request #11385 from electron/async-menu
...
fix: Fix `menu.popup()` bugs
2017-12-11 18:02:33 -06:00
Charles Kerr
76ee1e1cb6
Merge pull request #11406 from xxczaki/master
...
Added Polish Electron Community
2017-12-11 17:48:33 -06:00
Charles Kerr
99c980ab40
Merge pull request #11395 from electron/add-reg-defaults
...
Add systemPreferences.registerDefaults()
2017-12-11 17:45:32 -06:00
Shelley Vohr
a8e67e7f61
fixes from review
2017-12-11 18:20:12 -05:00
Felix Rieseberg
927c63b477
🔧 Last round of feedback
2017-12-11 15:19:33 -08:00
Felix Rieseberg
89b90be6a2
🔧 Feedback
2017-12-11 14:43:35 -08:00
Charles Kerr
dcf2a6f388
Make 'https' explicit in the link to electronpl.github.io
2017-12-11 16:37:14 -06:00
Felix Rieseberg
f7ebfff8ae
👷 Properly test x vs y
2017-12-11 14:05:07 -08:00
Felix Rieseberg
dfd7598d48
👷 Hence, better testing
2017-12-11 14:03:04 -08:00
Felix Rieseberg
22e9d665d2
🔧 Menu returns its properties now
2017-12-11 14:03:01 -08:00
Felix Rieseberg
93b46116f4
🔧 Fix value shift
2017-12-11 13:30:35 -08:00
Anthony
c8bb23a2ff
Update README.md
2017-12-11 20:52:56 +01:00
Shelley Vohr
027e78639a
update value type to Any
2017-12-11 14:06:02 -05:00
Shelley Vohr
84bab48627
improve error handling
2017-12-11 13:11:03 -05:00
Shelley Vohr
765f223fef
update docs and spec
2017-12-11 13:06:23 -05:00
Charles Kerr
87f8bd4ea7
Merge pull request #11359 from electron/fix_spell_checker_crash
...
Fixed crash in `atom::api::SpellCheckClient`
2017-12-11 10:18:27 -06:00
Shelley Vohr
c5aeda1fdd
fixes from code review
2017-12-11 00:20:26 -05:00
Shelley Vohr
5e51ab9791
fix doc parsing error
2017-12-10 14:55:14 -05:00
Shelley Vohr
9a40bbd082
update systemPreferences docs
2017-12-10 14:46:19 -05:00
Shelley Vohr
8a24733ee6
add fail spec and only run mac ci
2017-12-10 12:52:03 -05:00
Shelley Vohr
becabdfff2
add test for registerDefaults
2017-12-10 11:26:07 -05:00
Shelley Vohr
18ee34f1a1
add method binding and error guards
2017-12-10 11:25:43 -05:00
Shelley Vohr
1ccad4a7e9
fix capitalization and clean logic
2017-12-10 11:04:05 -05:00
Shelley Vohr
f82086e6d3
first pass at adding infra for registerDefaults
2017-12-10 00:45:49 -05:00
Felix Rieseberg
725f6c97d6
👷 Add a spec
2017-12-08 14:52:21 -08:00
Felix Rieseberg
abd56eda6f
🔧 Cleanup
2017-12-08 14:40:51 -08:00
Felix Rieseberg
955564abd7
🔧 Allow for menu.popup({})
2017-12-08 14:37:16 -08:00
Felix Rieseberg
bd6767fac6
🔧 Always find a window (or error)
2017-12-08 14:36:52 -08:00
Felix Rieseberg
38bb9baac5
🔧 Oh wow, that looks wrong
2017-12-08 14:36:29 -08:00
Charles Kerr
6af18895c3
Merge pull request #11380 from electron/cifratila/enable-cfg
...
Security Improvement: Enable Control Flow Guard compile flag on Windows
2017-12-08 10:09:34 -06:00
Charles Kerr
de1edeea0b
Merge pull request #11379 from TiagoDanin-Forks/upgrading_chromium_doc
...
Fix formatting in documentation
2017-12-08 10:08:44 -06:00
TiagoDanin
079310ab5a
fix formatting in upgrading node doc
2017-12-08 11:49:39 -03:00
TiagoDanin
9314d8925e
fix formatting in upgrading chromium doc
2017-12-08 11:24:05 -03:00
Catalin Fratila
7faec8e5eb
Security Improvement: Enable Control Flow Guard on Windows - https://docs.microsoft.com/en-us/cpp/build/reference/guard-enable-control-flow-guard
2017-12-08 14:31:29 +01:00
John Kleinschmidt
6a29577ab3
Merge pull request #11356 from electron/replace-app-icon
...
Replace app icons
2017-12-07 16:53:45 -05:00
simurai
0f54e56389
Replace default_app icon
2017-12-07 16:10:45 -05:00
simurai
fe0f203312
Replace app icons
2017-12-07 16:10:45 -05:00
John Kleinschmidt
f10c279322
Merge pull request #11370 from electron/fix_dchecks
...
Fix: Re-enable some dchecks
2017-12-07 15:55:33 -05:00
shelley vohr
63c91e7dd3
Merge pull request #11321 from electron/add-setExtraParameter-deprecation
...
Add back setExtraParameter() deprecation warning
2017-12-07 14:49:18 -05:00
Shelley Vohr
276f758560
remove deprecated method call
2017-12-07 14:26:57 -05:00
Shelley Vohr
24f60dcd1b
re-add warning removed in https://github.com/electron/electron/pull/11013
2017-12-07 11:42:18 -05:00
deepak1556
16d96a6ef2
Force MediaCaptureDevicesDispatcher to be created on UI thread
2017-12-07 09:47:32 +05:30
deepak1556
19de41b764
BrowserClient::CanCreateWindow is no longer called on the IO thread
...
https://codereview.chromium.org/2821473002
2017-12-07 09:47:32 +05:30
Charles Kerr
5fa29fcf58
Merge pull request #11329 from electron/remove-classes-key
...
fix: Properly cleanup in `removeAsDefaultProtocolClient`
2017-12-06 17:31:50 -06:00
Zeke Sikelianos
69c6a68c22
Merge pull request #11367 from electron/revert-to-old-name-of-versioning-doc
...
revert to old name of versioning doc
2017-12-06 15:05:01 -08:00
Zeke Sikelianos
61937eac0a
fix more relative links
2017-12-06 15:01:09 -08:00
Zeke Sikelianos
fa09ff3cbb
update links to versioning doc
2017-12-06 15:01:09 -08:00
Zeke Sikelianos
84c207750c
revert to old name of versioning doc
2017-12-06 15:01:09 -08:00
Zeke Sikelianos
af756e2441
Merge pull request #11364 from electron/groundwater-patch-1
...
docs: README make versioning link relative
2017-12-06 15:00:42 -08:00
Jacob Groundwater
8efeb4b71a
Update README.md
2017-12-06 14:32:11 -08:00
John Kleinschmidt
78fd6d6435
Merge pull request #11365 from electron/remove-appveyor-yml
...
Remove appveyor.yml
2017-12-06 16:26:32 -05:00
John Kleinschmidt
4e3e9c9dbc
Remove appveyor.yml
...
This configuration isn't used anymore - appveyor setup is defined on server
2017-12-06 15:14:09 -05:00
Jacob Groundwater
d8368d36db
docs: README make versioning link relative
...
I think we're making links relative within the docs, and not directly pointing to the electronjs.org website.
2017-12-06 11:15:10 -08:00
Ales Pergl
7a73b1d523
Fixed crash in atom::api::SpellCheckClient
...
The class didn't save the V8 context for the spell checking JS function. When
it later tried to call the JS function and there was no active context, V8
crashed.
I also optimized the spell checking loop by introducing `SpellCheckScope` and
reusing the V8 handles throughout the whole loop.
2017-12-06 14:50:20 +01:00
Cheng Zhao
4355f554cc
Merge pull request #11355 from electron/fix-ci
...
Fix docs linting error
2017-12-06 19:31:03 +09:00
Cheng Zhao
da66e34dce
Fix docs linting error
2017-12-06 19:09:10 +09:00
Cheng Zhao
d8610a3f56
Merge pull request #11342 from electron/add-python-dbusmock
...
Enable testing with python-dbusmock
2017-12-06 15:02:27 +09:00
Cheng Zhao
46f79146ad
Merge pull request #11316 from electron/hide-update-exe
...
fix: Ensure that update.exe doesn't open up a console window
2017-12-06 14:50:12 +09:00
Cheng Zhao
9c109daa4b
Merge pull request #11168 from sethlu/fix-icns-color
...
fix: Update icns
2017-12-06 14:45:36 +09:00
Felix Rieseberg
bd4c7a114a
👷 Fix the last broken test
2017-12-05 17:07:22 -08:00
Zeke Sikelianos
1e0a181f4b
Merge pull request #11032 from electron/version2
...
New Version Policy for 2.x and Beyond
2017-12-05 14:45:50 -08:00
Zeke Sikelianos
032f5ebc6f
update highlights
2017-12-05 14:35:16 -08:00
Zeke Sikelianos
4878cd8d5d
update intro
2017-12-05 14:32:33 -08:00
Zeke Sikelianos
4101059323
update semantic commits section
2017-12-05 14:31:19 -08:00
Zeke Sikelianos
770778f9a2
update ignore comment
2017-12-05 14:17:15 -08:00
Jacob Groundwater
85b1cd08d3
docs: use relative links
2017-12-05 14:13:56 -08:00
Felix Rieseberg
bf043c92af
👷 Ugh, whitespace
2017-12-05 13:20:34 -08:00
Felix Rieseberg
e6cbb2f3aa
👷 Cleanup on Windows only
2017-12-05 12:14:19 -08:00
Jacob Groundwater
8eed8bdee7
docs: fix images
2017-12-05 12:08:41 -08:00
Jacob Groundwater
7598e31b16
docs: we _do_ follow semver
2017-12-05 12:04:23 -08:00
John Kleinschmidt
e59aa715fd
Enable testing with python-dbusmock
2017-12-05 15:01:01 -05:00
Jacob Groundwater
1bce00545d
docs: changes based on review
2017-12-05 11:43:59 -08:00
Jacob Groundwater
07a5d7957b
use non-relative image paths to interop with website deploy
2017-12-05 11:38:41 -08:00
Jacob Groundwater
b65b939d18
docs: add tl;dr to version doc
2017-12-05 11:38:41 -08:00
Jacob Groundwater
06371a6082
docs: explain versioning policy 1.x, 2.x, and beyond
2017-12-05 11:38:36 -08:00
Felix Rieseberg
d519bfc5fb
👷 Linter fascism
2017-12-05 11:38:19 -08:00
Felix Rieseberg
997f3f31d2
👷 Cleanup after the test
2017-12-05 11:31:40 -08:00
Felix Rieseberg
e77751aab5
👷 Test registry interaction
2017-12-05 11:28:39 -08:00
Felix Rieseberg
60634cac42
📦 Install winreg
2017-12-05 11:28:19 -08:00
Charles Kerr
f2da3e9a14
Merge pull request #11306 from electron/implement-linux-power-monitor
...
Implement powerMonitor "suspend"/"resume" events for Linux.
2017-12-05 09:16:59 -06:00
Charles Kerr
f0d9b93ede
note that 'publish-to-npm' needs node 6
2017-12-05 09:10:26 -06:00
Charles Kerr
f398b5d843
add a tip for testing version number with 'bump-version.py --dry-run'
2017-12-05 08:51:37 -06:00
Charles Kerr
b8259a82c1
note that 'npm run release -- --validateRelease' must be run in release branch
2017-12-05 08:38:16 -06:00
Thiago de Arruda
dfd98e3428
Add linux powerMonitor tests using python-dbusmock
2017-12-05 08:33:36 -03:00
Thiago de Arruda
897712359f
Implement powerMonitor "suspend"/"resume" events for Linux.
2017-12-05 08:12:44 -03:00
Cheng Zhao
95cb601f2b
Merge pull request #10430 from electron/global-preloads
...
Add ability to set per-session preload scripts
2017-12-05 19:15:11 +09:00
Cheng Zhao
24b3ee3a4a
Revert some unnecessary changes
2017-12-05 16:50:25 +09:00
Cheng Zhao
cb3a9c69ab
Add a SessionPreferences to manage session related data
...
By design the BrowserClient should not be aware of the api:: classes.
2017-12-05 15:59:15 +09:00
Charles Kerr
7bcea57241
fix tyop
2017-12-04 21:09:12 -06:00
Cheng Zhao
776e8afa2b
Coding style changes
2017-12-05 11:50:06 +09:00
Samuel Attard
eaa4b71c24
Remove .only
2017-12-05 11:35:54 +09:00
Samuel Attard
009459bd38
Standard JS
2017-12-05 11:35:54 +09:00
Samuel Attard
e535ba4808
Don't know why we suddenly need this, but hey :/
2017-12-05 11:35:54 +09:00
Samuel Attard
d1aded2831
Appease the almighty linter
2017-12-05 11:35:53 +09:00
Samuel Attard
d9359d8b6c
s/global/session in constants
2017-12-05 11:35:53 +09:00
Samuel Attard
d2707315e6
s/global/session
2017-12-05 11:35:53 +09:00
Samuel Attard
3b80ee0655
Move global preload implementation to be session based
2017-12-05 11:35:53 +09:00
Samuel Attard
448ccc261d
Use const references
2017-12-05 11:35:27 +09:00
Samuel Attard
0ddd078aaf
Add ability to set global preload scripts
2017-12-05 11:35:27 +09:00
Charles Kerr
3cd6c2e9eb
explain using the Electron S3 Bucket environment variables
2017-12-04 20:34:34 -06:00
Charles Kerr
455a61d210
in the npm upload step, explain the needed npm credentials
2017-12-04 20:32:24 -06:00
Charles Kerr
83e94f3de1
fix invocation of validateRelease pass
2017-12-04 20:19:43 -06:00
Cheng Zhao
d598aa1a67
Merge pull request #11300 from electron/external-devtools
...
Add API to set arbitrary WebContents as devtools
2017-12-05 10:35:49 +09:00
John Kleinschmidt
bdcdb6e9cf
Merge pull request #11330 from electron/add-jenkins-timeout
...
Add 1 hour timeout to Jenkins CI
2017-12-04 14:49:32 -05:00
Felix Rieseberg
d4275b144b
🔧 Linter fascism
2017-12-04 10:46:53 -08:00
Felix Rieseberg
f62e0a4ed4
🔧 Make it actually work
2017-12-04 10:30:20 -08:00
John Kleinschmidt
e7edc6f24f
Add 1 hour timeout
2017-12-04 13:19:51 -05:00
Charles Kerr
3e056eec9e
Merge pull request #11297 from electron/remove-travis
...
Remove Travis references
2017-12-04 10:56:53 -06:00
Charles Kerr
ffdd6ab821
add a troubleshooting note about branch checkout
2017-12-04 10:26:35 -06:00
Charles Kerr
60fe728c0f
add section on environment variables
2017-12-04 10:13:22 -06:00
John Kleinschmidt
1989075d54
Ignore all npmrc and package-lock
2017-12-04 11:05:04 -05:00
Charles Kerr
b209620514
trim whitespace
2017-12-04 09:51:12 -06:00
Charles Kerr
e5f4916e31
fix numbering of 'Edit the release draft' steps
2017-12-04 09:50:24 -06:00
Charles Kerr
5212b98c87
wrap lines at 80 characters
2017-12-04 09:48:06 -06:00
John Kleinschmidt
e989005122
Merge pull request #11271 from electron/dchecks
...
Build with dchecks disabled on subset of targets
2017-12-04 10:33:47 -05:00
Cheng Zhao
52c6f4bcc5
docs: responsiblity of destroying devtoolsWebContents
2017-12-04 18:42:42 +09:00
Charles Kerr
6beaafc7e5
Merge pull request #11282 from Toinane/fix-documentation
...
typographical revision in Documentation
2017-12-03 09:01:24 -06:00
Charles Kerr
851642f4b8
Merge pull request #11311 from electron/fix-typos-in-structures
...
fix typos in structures
2017-12-03 08:34:08 -06:00
Charles Kerr
2ffcb27abe
Merge pull request #11315 from insideGen/patch-1
...
Update cookies.md
2017-12-02 08:27:42 -06:00
Charles Kerr
467cce6a8b
Merge pull request #11317 from electron/asar-video
...
Make the asar-video test run faster
2017-12-02 08:26:12 -06:00
Ales Pergl
ecdbe79e29
Make the asar-video test run faster
...
I cut the video to 3 seconds and removed the audio track, which makes the test
finish a lot sooner. Also the asar file is 160 kB instead of 1 MB.
2017-12-02 11:30:57 +01:00
Ales Pergl
4cf6763e70
Updated libchromiumcontent submodule
2017-12-02 11:09:20 +01:00
Felix Rieseberg
b4b729609a
🔪 Delete classes key if empty
2017-12-01 17:39:54 -08:00
Felix Rieseberg
9646f0c99a
🔧 Sprinkle some ES6 across the file
2017-12-01 17:18:57 -08:00
Felix Rieseberg
c5abe96b39
🔧 Hide subprocess window
2017-12-01 17:18:37 -08:00
Zeke Sikelianos
7c8acb5ea8
Merge pull request #11314 from electron/docs--use-full-image-URL
...
use full image URL
2017-12-01 17:03:16 -08:00
Jonathan
f32f0fb774
Update cookies.md
2017-12-02 01:27:53 +01:00
Zeke Sikelianos
ba56e5ca65
docs: use full image URL
2017-12-01 15:20:49 -08:00
Charles Kerr
ff6596fd05
Merge pull request #11312 from electron/ipc-spec-split
...
Split ipc specs into three files
2017-12-01 16:03:51 -06:00
Shelley Vohr
45de1e6a7c
remove extraneous variables
2017-12-01 16:11:54 -05:00
Shelley Vohr
af6489576a
remove onlys
2017-12-01 16:01:03 -05:00
Shelley Vohr
00e8713eac
split ipc tests into three files
2017-12-01 15:57:41 -05:00
Zeke Sikelianos
7dd921811f
fix typos in structures
2017-12-01 11:43:04 -08:00
John Kleinschmidt
d182bacd00
Ignore/remove package-lock files
2017-12-01 12:55:55 -05:00
Ales Pergl
dadfbd3a4f
Reset embedder_zoom_controller_ before assigning new one
2017-12-01 17:55:22 +01:00
Ales Pergl
fd7af5c1d9
Don't call ui::SetAtomArrayProperty with an empty vector (fails DCHECK)
2017-12-01 17:55:22 +01:00
Ales Pergl
7613afe6d7
Disabled DCHECKs that fail when running tests
2017-12-01 17:55:22 +01:00
Ales Pergl
8357a33d81
Don't leak the taskbar object, reuse it instead
2017-12-01 17:55:21 +01:00
deepak1556
903a5b5100
fix dcheck comparison between unsigned long vs int
2017-12-01 17:55:21 +01:00
John Kleinschmidt
db51dcbe7e
Merge pull request #11301 from wlbentley/patch-1
...
🎨 Tweak for grammar.
2017-12-01 11:48:46 -05:00
John Kleinschmidt
3ab69f2358
Merge pull request #11186 from electron/update-linter-and-ts
...
update electron-docs-linter and electron-typescript-definitions
2017-12-01 11:47:29 -05:00
Cheng Zhao
c2ee0854f4
Merge pull request #11302 from electron/update_pdf_viewer
...
fix: update pdf viewer ui for chrome 61.0.3163.100
2017-12-01 19:57:25 +09:00
deepak1556
a48cec9b4a
fix: update pdf viewer ui for chrome 61.0.3163.100
2017-12-01 14:09:06 +05:30
W L Bentley
6d779c6ec2
Two grammar tweaks.
2017-11-30 19:37:06 -08:00
Cheng Zhao
88c4fd3f2b
docs: Remove unnecessary shows
2017-12-01 12:04:50 +09:00
Cheng Zhao
6b408de884
Allow using docked devtools for webview
2017-12-01 11:56:58 +09:00
Cheng Zhao
ea9771702b
spec: setDevToolsWebContents
2017-12-01 10:35:23 +09:00
Cheng Zhao
25c5938c76
docs: Open detached devtools in example
2017-12-01 10:35:23 +09:00
Cheng Zhao
580abedbb7
docs: contents.setDevToolsWebContents
2017-12-01 10:35:23 +09:00
Cheng Zhao
59476f0b30
Create webContents for webview even when src is not set
2017-12-01 10:35:23 +09:00
Cheng Zhao
5e4914700e
Enable using external WebContents as devtools
2017-12-01 10:35:23 +09:00
John Kleinschmidt
0ef8f58090
Remove Travis references
2017-11-30 15:39:32 -05:00
Zeke Sikelianos
aab35073ee
Merge pull request #11255 from electron/fix-11245
...
Enable nativeImage module addRepresentation() tests
2017-11-30 10:48:11 -08:00
Zeke Sikelianos
c1728720a7
Merge pull request #11256 from electron/fix-11244
...
Enable "<webview> tag found-in-page event emits when a request is made"
2017-11-30 10:48:00 -08:00
shelley vohr
2bc8b33c2a
Merge pull request #11291 from electron/fix-failing-spec
...
spec: Fix the failing coffee-script test
2017-11-30 13:43:58 -05:00
John Kleinschmidt
2d75eea82a
Merge pull request #11254 from electron/fix-11246
...
Enable crashReporter module tests
2017-11-30 12:55:49 -05:00
Aleksei Kuzmin
b9ed7380aa
Explicitly set alpha type of bitmaps with JPEG data to opaque
...
Actually fixes #11245 .
2017-11-30 17:56:32 +01:00
Aleksei Kuzmin
c0c983d28d
Light refactoring of the nativeImage module tests
2017-11-30 17:50:51 +01:00
Cheng Zhao
04872bb001
spec: Fix the failing coffee-script test
...
The latest version has some regression causing our test to fail.
2017-11-30 21:10:22 +09:00
Thiago de Arruda
68bceb9575
Fix race condition in event_subscriber.h
2017-11-29 12:57:47 -03:00
Aleksei Kuzmin
275815002f
Inscrease timeout for crashReporter tests
...
Fixes #11246 .
2017-11-29 12:27:06 +01:00
Toinane
3d4ef66775
add some markdown links
2017-11-29 12:13:45 +01:00
Toinane
0a0d88a5dc
remove all double spaces not needed
2017-11-29 11:58:24 +01:00
Toinane
323ea2b27b
fix(docs): fix all missing dots and add some links
2017-11-29 11:38:35 +01:00
Cheng Zhao
d09e8cc37f
Merge pull request #11108 from oktapodia/feature/add-ansi-color-into-menu-title
...
Feature/add ansi color into menu title
2017-11-29 18:37:52 +09:00
Zhuo Lu
c274312a3a
Update submenu's title
2017-11-28 19:38:07 -08:00
Toinane
59607c9a17
feat(docs): fix 'optional' wording
2017-11-28 18:15:15 +01:00
Cheng Zhao
0dc094fffc
Do not change logic on highlighing
2017-11-28 17:37:58 +09:00
Cheng Zhao
d1ebce0395
Remove unused methods
2017-11-28 17:31:13 +09:00
Cheng Zhao
590578c187
Cache the attributed string
2017-11-28 17:26:09 +09:00
Cheng Zhao
eab3342065
Fix the detection of ANSI code
2017-11-28 16:36:07 +09:00
Cheng Zhao
c9acccaddc
Fix memory leak in ANSCI parsing code
...
We do not have ARC enabled.
2017-11-28 16:36:07 +09:00
Cheng Zhao
4ded79801f
Remove unused code in NSColor+Hex.h
2017-11-28 16:10:24 +09:00
Cheng Zhao
08f30e4ca6
Add license for the vendored files
...
Checked the original files and they were compatible with MIT.
2017-11-28 15:38:42 +09:00
Cheng Zhao
edede7f33f
Fix cpplint warning
2017-11-28 15:36:45 +09:00
Sebastien Bramille
a4905b3c95
Lint
2017-11-28 15:34:13 +09:00
Sebastien Bramille
e8b0897ea1
Fix margin
2017-11-28 15:34:13 +09:00
Sebastien Bramille
71cfb7441c
Update header file
2017-11-28 15:34:13 +09:00
Sebastien Bramille
7a8431086c
Update doc
2017-11-28 15:34:13 +09:00
Sebastien Bramille
9f89bd8d8e
Add isHighlighted method
2017-11-28 15:34:13 +09:00
Sebastien Bramille
6a1cfafbd8
Clean
2017-11-28 15:34:13 +09:00
Sebastien Bramille
85f254316c
Add logic
2017-11-28 15:34:13 +09:00
Sebastien Bramille
d722d20974
Use NSString+ANSI on the Menu title
2017-11-28 15:34:13 +09:00
Sebastien Bramille
1d807c552e
Add NSString+ANSI class
2017-11-28 15:34:13 +09:00
Cheng Zhao
124667c29b
Merge pull request #11227 from emmkimme/Fix_10470_sandbox_preload
...
🐞 #10470 - prevent from loading preload in each iframe context
2017-11-28 15:25:34 +09:00
Cheng Zhao
b161a4f515
Merge pull request #11166 from sethlu/openrecent
...
feat: Recent documents menu item
2017-11-28 10:55:14 +09:00
Cheng Zhao
88fa343387
Merge pull request #16 from brenca/mark-independent-high-only
...
Only use MarkIndependent if high_memory_ flag is set
2017-11-28 10:52:03 +09:00
Charles Kerr
2ad425955b
Merge pull request #11249 from electron/upgrading-chromium-tweaks
...
Apply some of my summit notes to the upgrading-chrome docs.
2017-11-28 00:55:12 +01:00
Charles Kerr
18dc63ce77
fix conflicts
2017-11-27 16:40:10 -06:00
Zeke Sikelianos
2e3550b97f
update electron-docs-linter and electron-typescript-definitions to latest
2017-11-27 12:44:24 -08:00
Charles Kerr
e24cd329d9
Merge pull request #11268 from electron/fix_crash
...
Don't access unique pointer after it was moved from
2017-11-27 19:20:44 +01:00
Ales Pergl
f8b683ca3d
Don't access unique pointer after it was moved from
2017-11-27 17:55:21 +01:00
Charles Kerr
defa42b458
Merge pull request #11257 from electron/fix-11242
...
Remove "async" flag from the `menu.popup()` options
2017-11-27 16:41:56 +01:00
Cheng Zhao
141c4e9a0e
Merge pull request #11241 from electron/update-to-the-latest-libcc
...
Use latest libcc with Chromium 61
2017-11-27 17:49:05 +09:00
Zhuo Lu
104d307a4a
Use base::scoped_nsobject
2017-11-27 17:26:23 +09:00
Zhuo Lu
8fa3e71ce4
Format code
2017-11-27 17:26:22 +09:00
Zhuo Lu
2f73f4f77e
Fix typo
2017-11-27 17:26:22 +09:00
Zhuo Lu
4934685f53
Declare with static
2017-11-27 17:26:22 +09:00
Zhuo Lu
0c4e425872
Do not autorelease global variables
2017-11-27 17:26:22 +09:00
Zhuo Lu
2de7b338ad
Update API docs
2017-11-27 17:26:22 +09:00
Zhuo Lu
dcdc3621ac
Rename roles
2017-11-27 17:26:22 +09:00
Zhuo Lu
1ab4504e94
No need to make visible
2017-11-27 17:26:22 +09:00
Zhuo Lu
cf73fb737f
Small optimization
2017-11-27 17:26:22 +09:00
Zhuo Lu
3e6e327711
Remove redundant menu item
...
Already addressed with role: clearrecent
2017-11-27 17:26:22 +09:00
Zhuo Lu
5d44dbaf54
Redesign recent documents role API
...
- For more flexibility in designing the recent documents menu, now there can be one menu item (known issue: you may specify more but AppKit doens't display more than one) in the submenu list, rather than separating the labels with a tab.
- Also added is the role `clearrecent` that can be given to a menu item that can clear the recent documents.
2017-11-27 17:26:22 +09:00
Zhuo Lu
828d233f2a
Rollback duplicated feature
2017-11-27 17:26:22 +09:00
Zhuo Lu
0b9cea334f
Specify "Clear Menu" through label option
...
Like a bit of a hack right now, conforming to the existing menu item definition
2017-11-27 17:26:22 +09:00
Zhuo Lu
970babbfd7
Document openrecent menu item
2017-11-27 17:26:22 +09:00
Zhuo Lu
8b720c120d
Hide "Open Recent" in xib
2017-11-27 17:26:22 +09:00
Zhuo Lu
4da2eb9366
Introduce openrecent role
...
- Does not yet accept any options except label--"Clear Menu" can't be modified through exposed node API
- If `openrecent` is present across multiple menu items, the last seen will be visible in the main menu due to that it is designed to behave like a singleton
2017-11-27 17:26:22 +09:00
Zhuo Lu
0ba2fa5cba
Use else if
2017-11-27 17:26:22 +09:00
Zhuo Lu
f0bff74995
Add "Open Recent" submenu to default
2017-11-27 17:26:22 +09:00
Cheng Zhao
c0e9dbcc00
Merge pull request #11144 from dittos/mas-login-helper-again
...
Re-land MAS login helper (w/ regression fix)
2017-11-27 17:02:57 +09:00
Cheng Zhao
1c0ea0286e
Merge pull request #11235 from electron/standard-10
...
infra: Upgrade to StandardJS 10
2017-11-27 15:42:52 +09:00
Heilig Benedek
40bd3336a5
only mark handle as independent when it's a high memory user
2017-11-27 00:50:51 +01:00
Charles Kerr
295945b806
copyediting
2017-11-26 08:44:37 +01:00
Charles Kerr
81bc0efc75
fix styleguide errors
2017-11-26 08:38:58 +01:00
Charles Kerr
a75a85449d
sync with master
2017-11-26 08:28:27 +01:00
Charles Kerr
d1ac773e01
Merge pull request #11253 from electron/fix-a-codeblock-in-the-upgrading-node-md
...
Fix a codeblock markup
2017-11-26 08:00:47 +01:00
deepak1556
084292f3ab
fix: focus the webview as a temp workaround
2017-11-25 20:18:01 +05:30
Aleksei Kuzmin
9c5acf6233
Remove "async" flag from the menu.popup() options
...
All menus have become async after the Chromium 61 upgrade.
Fixes #11242 .
2017-11-25 13:31:58 +01:00
Aleksei Kuzmin
3e9f9429d1
Enable "<webview> tag found-in-page event emits when a request is made"
...
Fixes #11244 .
2017-11-25 13:21:26 +01:00
Aleksei Kuzmin
91e4193622
Enable nativeImage module addRepresentation() tests
...
Fixes #11245 .
2017-11-25 12:58:33 +01:00
Zeke Sikelianos
df0c7e2f74
Merge pull request #11250 from electron/docs-lint-fix
...
🔧 fix remark code flag error
2017-11-24 21:05:26 -08:00
Aleksei Kuzmin
ce6af85f98
Fix a codeblock markup
2017-11-25 00:56:07 +01:00
Aleksei Kuzmin
d9d2a8176e
Use latest libcc with Chromium 61
2017-11-24 23:43:32 +01:00
Shelley Vohr
d9c7b95141
fix remark code flag error
2017-11-24 21:40:19 +01:00
Charles Kerr
22c15082a3
partial doc update from my sprint notes
2017-11-24 14:21:41 +01:00
shelley vohr
6941f93627
Merge pull request #11247 from electron/use_sh_in_docs
...
prefer `sh` to `bash` in the docs
2017-11-24 11:38:10 +01:00
Charles Kerr
b59557569c
oops, the upgrading-chrome.md changes belonged in a separate PR
2017-11-24 11:19:53 +01:00
Charles Kerr
3e3cac6f1b
prefer sh to bash in the docs
2017-11-24 11:17:43 +01:00
shelley vohr
00999a07d8
Merge pull request #11240 from electron/upgrading_docs
...
Upgrading docs for node, crashpad, and chromium
2017-11-24 11:16:18 +01:00
Shelley Vohr
bd70ec5e97
finalize node upgrade doc
2017-11-24 11:15:07 +01:00
Charles Kerr
1b0c1842ca
prefer sh to bash in the docs
2017-11-24 11:13:57 +01:00
Shelley Vohr
ba6224039c
make some things more explicit and style conformity
2017-11-24 11:06:04 +01:00
Shelley Vohr
178462b800
chrome -> chromium and updates to crashpad doc
2017-11-24 10:40:37 +01:00
Charles Kerr
f91020a04d
add section for updating submodule references
2017-11-24 10:40:30 +01:00
Charles Kerr
f8858a7577
add rough draft of node, crashpad update notes
2017-11-24 10:40:21 +01:00
shelley vohr
c18afc924b
Merge pull request #10213 from electron/upgrade-to-chromium-61
...
[WIP] Upgrade to Chromium 61
2017-11-24 10:17:52 +01:00
Charles Kerr
fcc8e0924e
Merge pull request #11097 from brenca/resizable-win-fix
...
Fix resizable property not working when taskbar was resized
2017-11-24 10:04:43 +01:00
Cheng Zhao
c30faa4ee8
Use 2xlarge for ARM jobs
2017-11-24 11:03:02 +09:00
Aleksei Kuzmin
8e708692b8
Use latest libcc
2017-11-24 10:58:53 +09:00
Cheng Zhao
a34d45d8c4
Fix uninitialized NodePlatform
2017-11-24 10:58:53 +09:00
Cheng Zhao
3138c85218
Fix linking problem with NodePlatform
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
efd949ea83
Disable a couple of crashReporter tests
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
d61564bfb1
Disable "<webview> tag > found-in-page event > emits when a request is made" test
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
c73ba5802e
Disable "nativeImage module > addRepresentation()" tests
2017-11-24 10:58:53 +09:00
deepak1556
0b88873e77
add basic inspector module test
2017-11-24 10:58:53 +09:00
deepak1556
ed4482d7a0
Fix node_debugger api changes
...
* _debugWaitConnect => _breakFirstLine
* Use default thread pool size specified by node.cc
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
11f7bb34fc
Fix "nghttp2" build
2017-11-24 10:58:53 +09:00
Tomas Rycl
207150c21c
Adding node headers to native modules for tests so they will compile and run on Mac
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
1cf95d2a26
Use node::NodePlatform instead of v8::platform in atom::NodeDebugger
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
ad732b45d2
Use Node.js v8.7.0
2017-11-24 10:58:53 +09:00
Ales Pergl
9ca658238b
Made NotificationDelegateImpl final
...
The class is designed to call `delete` on itself and because it doesn't have
a virtual destructor, it shouldn't be derived from.
2017-11-24 10:58:53 +09:00
deepak1556
505f2ab9e7
Fix crash when destroying NetLog
2017-11-24 10:58:53 +09:00
deepak1556
214cbf357a
Fix cpp lint errors
2017-11-24 10:58:53 +09:00
deepak1556
e60557e2e6
simplify URLRequestContextGetter for HttpNetworkSession::Context
2017-11-24 10:58:53 +09:00
deepak1556
e0860ea7a0
Stop file observer of NetLog to finish writing to disk
2017-11-24 10:58:53 +09:00
Ales Pergl
f3c32647af
Sanitized notification delegate implementation
...
I made `brightray::NotificationDelegate` back into just an interface and
extracted the implementation used by `PlatformNotificationService`, so that
the main process notification implementation can inherit only the interface.
2017-11-24 10:58:53 +09:00
Ales Pergl
8750fde6d3
Added libfreetype dependency to ARM64 build
2017-11-24 10:58:53 +09:00
Ales Pergl
19ef7d7a48
Added build dependency information for arm64
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
465f9009ff
Update stack string parsing in the CallbacksRegistry
...
Fixes the "ipc module > remote listeners
> detaches listeners subscribed to destroyed renderers, and shows a warning"
test.
2017-11-24 10:58:53 +09:00
Ales Pergl
82394cc06d
Use an existing host name so that it resolves quickly and tests don't time out.
2017-11-24 10:58:53 +09:00
deepak1556
7a9892f151
REVIEW: Inject devtools extensions API via browser
...
Behavior was changed in https://crbug.com/706169
2017-11-24 10:58:53 +09:00
Ales Pergl
531472bad4
Create a TaskScheduler when initializing run-as-node mode.
...
It fixes crashes when V8 tries to execute background tasks via the TaskScheduler.
2017-11-24 10:58:53 +09:00
Ales Pergl
334b39ef1e
Fixed build issues
2017-11-24 10:58:53 +09:00
deepak1556
2fa0b3d33e
Enable client certificate tests
2017-11-24 10:58:53 +09:00
deepak1556
a0be734ccb
Fix client certificate private key handling api
2017-11-24 10:58:53 +09:00
Gellert Hegyi
a47497bf18
adds extra param for ui compositor creation
2017-11-24 10:58:53 +09:00
Gellert Hegyi
5d79dbc9a1
upgrades offscreen rendering to latest chromium
2017-11-24 10:58:53 +09:00
Tomas Rycl
c9b7fc2922
It fixes crash in tests on Windows
...
Notification delegate copies the notification ID string
instead of storing reference.
2017-11-24 10:58:53 +09:00
Tomas Rycl
e321a4a433
Setting raw pointer to nullptr as default so it can be detected as noninitialized
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
3a3eb69d0f
Do not specify exception handling mode on Windows
...
Like Chromium does. Also disable related warnings.
2017-11-24 10:58:53 +09:00
Tomas Rycl
69cd33395a
Fixed crash on startup on Windows
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
fe9ae41f98
Use gtk_toggle_button_get_active()
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
abcda097fb
Use GTK3 instead of GTK2
2017-11-24 10:58:53 +09:00
Samuel Attard
ef40bd4786
Remove dead header file for notification delegate
2017-11-24 10:58:17 +09:00
Samuel Attard
797a58bee0
Result of RunMenuAt is now void, no need to ignore it
2017-11-24 10:58:17 +09:00
Samuel Attard
1b46b5ceda
Fix printing_handler_win compilation errors
2017-11-24 10:58:17 +09:00
Tomas Rycl
a723e5a4c5
Fixed moved cert x509 function issue on Windows
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
89c1b8043f
Do not use SkBitmap.deepCopyTo(), it was removed
...
Copy of the `sk_tool_utils::copy_to()` is used instead.
Probsbly we should use the function itself.
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
9326ce8cfd
allocator: rename use_experimental_allocator_shim to use_allocator_shim
...
https://codereview.chromium.org/2902043007
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
6d620c24b5
Update link_settings/libraries list in the brightray.gyp
2017-11-24 10:58:17 +09:00
Birunthan Mohanathas
4e859b4718
Remove "async" option from menu.popup()
...
All menus are async now. See "Cleanup MenuRunner API"
https://codereview.chromium.org/2790773002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
338604239d
Cleanup MenuRunner API
...
https://codereview.chromium.org/2790773002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
14eb2af876
Give CustomButton a focus painter.
...
https://chromium-review.googlesource.com/c/chromium/src/+/516824
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
e0d7b7d0fc
Clean up views::Background.
...
https://chromium-review.googlesource.com/c/chromium/src/+/520702
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
93b3d8cb49
Changed top/bottom & left/right border parameters on BoxLayout to take single gfx::Insets parameter.
...
https://chromium-review.googlesource.com/c/chromium/src/+/515902
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
4607a1fd13
make base::SharedMemoryHandle a class on POSIX.
...
https://codereview.chromium.org/2843113002
2017-11-24 10:58:17 +09:00
Tony Ganch
59550b203f
Include objbase.h only for Windows
2017-11-24 10:58:17 +09:00
Tony Ganch
513d4fd225
Remove usage of X11AtomCache
...
See https://codereview.chromium.org/2914103002/
2017-11-24 10:58:17 +09:00
Tony Ganch
da04cbd4d8
Rename set_background to SetBackground
2017-11-24 10:58:17 +09:00
Tony Ganch
d7e4e8d6cc
Rename GetPrefferedSize to CalculatePrefferedSize
...
See https://chromium-review.googlesource.com/c/chromium/src/+/516542
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
7f5fbb04e2
Migrate from ScopedComPtr::CreateInstance() to CoCreateInstance in chrome/...
...
https://codereview.chromium.org/2894483002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
79e59a88b4
Rename ScopedComPtr::Receive to ScopedComPtr::GetAddressOf
...
https://codereview.chromium.org/2870263002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
485e43636b
Rename ScopedComPtr::get() to ScopedComPtr::Get()
...
https://codereview.chromium.org/2824773002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
1073c9b1ed
Fix compilation of atom/browser/api/atom_api_app.cc
...
Refactor client cert private key handling.
https://codereview.chromium.org/2898573002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
8c40854983
Move handling of DraggableRegionsChanged notification from "view" to "frame".
...
https://codereview.chromium.org/2929493003
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
624b63a1ca
Move "atom/common/node_includes.h" to the end of the includes list
...
https://github.com/electron/electron/issues/10363
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
3a7b3ba95e
Update crashpad revision
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
96ff534248
Update brightray link_settings on Mac
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
7a23a79b58
Add protobuf defines and include_dirs
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
56e7867455
Move IconURLs method from WebFrame to WebLocalFrame
...
https://codereview.chromium.org/2918903002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
fe662ccbdc
Remove obsolete Blink popup blocker.
...
https://chromium-review.googlesource.com/c/chromium/src/+/512347
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
dcb9925ddd
Fix 'constructor cannot be redeclared' error
...
Upgrade ICU to 59
https://bugs.chromium.org/p/chromium/issues/detail?id=699469
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
5fb0f005c5
Convert SpellCheckPanel SpellCheckPanelHost IPC to mojo
...
https://chromium-review.googlesource.com/c/chromium/src/+/515323
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
c6333728d9
Fix brightray::URLRequestContextGetter::GetURLRequestContext()
...
Split HttpNetworkSession::Params into two structs.
https://codereview.chromium.org/2907463002
Make HttpNetworkSession::host_mapping_rules no longer a pointer.
https://codereview.chromium.org/2906463002
2017-11-24 10:58:17 +09:00
Tony Ganch
491249108e
Fix WebLocalFrame API usage
...
Related CLs:
https://chromium-review.googlesource.com/c/chromium/src/+/506500
https://chromium-review.googlesource.com/c/chromium/src/+/542658
2017-11-24 10:58:17 +09:00
Tony Ganch
0ad967c9a5
Don't specify URLRequestContext when starting logging
...
Related CL: https://codereview.chromium.org/2698143004
2017-11-24 10:58:17 +09:00
Tony Ganch
4412836e77
Include header for net::URLRequestContext
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
59b2fb054e
Use blink::WebLocalFrame instead of blink::WebFrame in printing
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
d817e23050
[c++11 library] Remove ScopedVector
...
https://bugs.chromium.org/p/chromium/issues/detail?id=554289
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
ac8c205fd7
Replace deprecated base::NonThreadSafe in chrome in favor of SequenceChecker.
...
https://codereview.chromium.org/2911983003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
75b41102ef
Remove unused includes
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
a9eb0cbec0
Ban raw pointers to ref-counted types on base::Bind
...
https://chromium-review.googlesource.com/c/chromium/src/+/549537
2017-11-24 10:58:16 +09:00
deepak1556
12a4321e2b
Reporting: Wire ReportingDelegate into ChromeNetworkDelegate
...
https://codereview.chromium.org/2891133003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
7d1c1700f8
Implement GetBrowsingDataRemoverDelegate() for BrowserContext subclasses
...
https://codereview.chromium.org/2898443002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
edb7bc6572
Make BlobReader create its own file TaskRunner.
...
https://chromium-review.googlesource.com/c/chromium/src/+/570945
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
6ba372f9f2
Move some of IOThread's command line logic to network_session_configurator.
...
https://codereview.chromium.org/2914893002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
47d683f0ad
DevTools: do not set visible size while emulating in case of device mode.
...
https://chromium-review.googlesource.com/c/chromium/src/+/572222
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
6c7ad3ac58
Remove the dependence on BrowserThread::FILE for
...
https://codereview.chromium.org/2944313003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
b29c485ec4
Consolidate PowerSaveBlocker and WakeLock inside Device Service.
...
https://chromium-review.googlesource.com/c/chromium/src/+/563159
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
933bf77a1f
printing: Remove BlockingPool use
...
https://chromium-review.googlesource.com/c/chromium/src/+/541856
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
5a4a1a5574
Use "blink::WebLocalFrame" for "GetMarginsForPdf()"
...
Fixes "error: no member named 'IsPrintScalingDisabledForPlugin' in 'blink::WebFrame'"
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
f0cda8d88c
Move Get/SetScrollOffset methods from WebFrame to WebLocalFrame.
...
https://codereview.chromium.org/2936423003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
4ac9659114
Move printing-related methods from WebFrame to WebLocalFrame.
...
https://codereview.chromium.org/2923343005
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
e4d9e12ee5
Use blink::WebLocalFrame instead of blink::WebFrame
...
Move GetDocument method from WebFrame to WebLocalFrame.
https://codereview.chromium.org/2928033002
Move MainWorldScriptContext accessor/method from WebFrame to WebLocalFrame.
https://codereview.chromium.org/2923053002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
61797b7802
Move GetDocument method from WebFrame to WebLocalFrame.
...
https://codereview.chromium.org/2928033002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
7608a0489c
Network Traffic Annotation added to DownloadURLParams.
...
https://chromium-review.googlesource.com/c/530307
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
e926473e5a
Partial revert of Provide WebContents::CreateParams to tab helpers.
...
https://chromium-review.googlesource.com/c/571285
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
9566904838
Speech recognition: Use BindOnce / OnceCallback / OnceClosure where applicable
...
https://chromium-review.googlesource.com/c/565762
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
5831a5ffa1
Refactor client cert private key handling.
...
https://codereview.chromium.org/2898573002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
b69913975b
chromeos: Check both original and absolute paths for file: scheme
...
https://codereview.chromium.org/2786583002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
14c61a96af
VR: Check focus state browser-side before sending input to renderer.
...
https://chromium-review.googlesource.com/c/565760
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
fe48a92422
Propagate opener to BackgroundsContents.
...
https://codereview.chromium.org/2882513005
2017-11-24 10:58:16 +09:00
Tony Ganch
f694b64d71
FIXME: DesktopNotificationDelegate has been removed
...
Related CL: https://codereview.chromium.org/2906883003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
fe431a9e58
Add WebRTC related defines to the build config
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
68cbfd9f40
Remove base::ListValue::Set(size_t, base::Value*)
...
https://codereview.chromium.org/2838893002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
2c063f93ff
Remove raw base::DictionaryValue::Set
...
https://codereview.chromium.org/2911033002
2017-11-24 10:58:16 +09:00
Tony Ganch
cf00fc0661
Rename WriteToFileNetLogObserver to FileNetLogObserver
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
370476c4af
Remove unused RenderViewObserver methods.
...
https://chromium-review.googlesource.com/c/506027
`DidCreateDocumentElement()` observer method was removed.
So I have to use a different approach to check if a document element
has already been created on a web page.
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
1127452429
PlzNavigate: make NavigationResourceHandler a LayeredResourceHandler
...
https://codereview.chromium.org/2847443002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
a72a08bccc
Convert iOS to use X509CertificateBytes.
...
https://codereview.chromium.org/2864133002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
ea8e113b19
SkBitmap and SkPixelRef no longer need lock/unlock
...
https://codereview.chromium.org/2823003002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
ea4a36039a
Add Keyboard Latency UMA Metrics.
...
https://codereview.chromium.org/2756893002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
f03ca53af5
Add blink::WebInputEvent::IsPinchGestureEventType().
...
https://codereview.chromium.org/2861373004
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
650902c656
Renamed LoadCommittedDetails.is_in_page to is_same_document.
...
https://codereview.chromium.org/2841833002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
90b0984a14
Add missing IWYU message_loop.h includes.
...
https://codereview.chromium.org/2876013002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
e2a224c4e6
Remove rendundant WebLocalFrame parameter in various plugin code.
...
https://codereview.chromium.org/2855123003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
11fa935359
Introduce TaskRunner::RunsTasksInCurrentSequence()
...
https://codereview.chromium.org/2823103003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
f2bcdab037
Provide WebContents::CreateParams to tab helpers.
...
https://codereview.chromium.org/2894973002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
c402658c08
Replicate feature policy container policies.
...
https://codereview.chromium.org/2797813002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
971002a197
Switch to using scoped_ptr with UserData
...
https://codereview.chromium.org/2815913005
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
fe952d5c65
Get rid of SharedMemory::GiveToProcess.
...
https://codereview.chromium.org/2847033003
Changes copied from
"printing: Sandboxed processes must ask the browser to allocate shared memory."
https://codereview.chromium.org/1714643002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
ee9a547985
Service CreateNewWindow on the UI thread with a new mojo interface
...
https://codereview.chromium.org/2821473002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
b81ae1c36f
REVIEW: Move MediaDeviceIDSalt from ProfileIOData to ProfileImpl.
...
https://codereview.chromium.org/2820163002
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
ba6e8b4dff
Merge ResourceRequestBodyImpl and ResourceRequestBody.
...
https://codereview.chromium.org/2954343005
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
b77b67bfbe
Remove client_certs from SSLCertRequestInfo.
...
https://codereview.chromium.org/2838243002
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
364c330887
Replace uses of hash_map in //base
...
https://codereview.chromium.org/2830093003
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
ba2f33d629
Remove base::Value::GetAsBinary
...
https://codereview.chromium.org/2839753005
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
f847291272
[blink] Unique pointers in Platform.h
...
https://codereview.chromium.org/2846843002
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
7ad524fa34
Make base::DictionaryValue::Set* return pointers
...
https://codereview.chromium.org/2850773002
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
75d02f65d9
Remove base::SharedMemory::ShareToProcess
...
https://codereview.chromium.org/2852803002
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
58e0771e47
Remove base::Value::Get{Buffer,Size}
...
https://codereview.chromium.org/2841623003
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
132029ea32
Move components/display_compositor to components/viz/display_compositor
...
https://codereview.chromium.org/2873243002
2017-11-24 10:58:15 +09:00
Tony Ganch
5315a2e8dc
Set clang revision to 307486
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
2bb95ce41e
Update chrome_version.h
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
fed090a44c
Use latest libcc with Chromium 61
2017-11-24 10:58:15 +09:00
Felix Rieseberg
9f0df695ca
🔧 Spec: Fix style issues
2017-11-23 14:22:58 -08:00
Felix Rieseberg
0278e380de
🔧 Spec: Don’t use deprecated new Buffer()
2017-11-23 14:22:31 -08:00
Felix Rieseberg
f7d6e3fa7b
🔧 Disable standard/no-callback-literal where necessary
2017-11-23 13:53:03 -08:00
Felix Rieseberg
f81bfb7b86
🔧 Fix style issues
2017-11-23 13:42:48 -08:00
Felix Rieseberg
97a084a591
🔧 Script: Reject with error
2017-11-23 13:42:31 -08:00
Felix Rieseberg
d0ef834b4f
🔧 Remove redundant await statements
2017-11-23 13:42:09 -08:00
Felix Rieseberg
451a44c4b5
🔧 Don’t use deprecated new Buffer()
2017-11-23 13:41:47 -08:00
Felix Rieseberg
19df1cf070
📦 Upgrade to StandardJS 10
2017-11-23 13:41:14 -08:00
Heilig Benedek
62594780e0
run the new test only on windows
2017-11-23 21:25:26 +01:00
Heilig Benedek
710ca230f3
update tests to reflect new behaviour
2017-11-23 21:25:25 +01:00
Heilig Benedek
bb5eecc16c
Use SizeConstraints instead of window events
2017-11-23 21:25:25 +01:00
Heilig Benedek
ca76dda6a6
remove incorrect checks
2017-11-23 21:25:25 +01:00
Heilig Benedek
7a7f1ee711
dont resize on taskbar resize if resizable is false
2017-11-23 21:25:25 +01:00
Emmanuel Kimmerlin
5f658de19f
🐛 #10470 - prevent to load preload in each iframe context
2017-11-23 09:20:52 +01:00
Ted Kim
71c16ad76f
lint
2017-11-20 10:17:34 +09:00
Ted Kim
1660fc8d13
Fix getLoginItemSettings timing issue
2017-11-20 10:15:45 +09:00
Zhuo Lu
367f7f123d
Update icns
2017-11-19 00:33:33 -08:00
John Kleinschmidt
3e4b73ef8f
Update branch determination
2017-11-17 16:21:14 -05:00
John Kleinschmidt
df891d2aae
Update for API invoked release builds
...
Also, fixed links
2017-11-17 16:06:42 -05:00
Ted Kim
d9481430df
Fix test failure
2017-11-17 10:53:21 +09:00
Taeho Kim
ada71eea39
📝 Use separate entitlements for login helper
2017-11-17 10:53:15 +09:00
Ted Kim
8184cbfb06
Implement login helper to manage login item in Mac App Store build
2017-11-17 10:53:09 +09:00
Cheng Zhao
bf92fa88b7
Merge pull request #15 from mgc/muon-crash-workarounds
...
Upstream Muon changes to avoid crashing
2017-10-26 18:46:25 +09:00
Matt Crocker
6ea2755095
Upstream Muon changes to avoid crashing
2017-10-23 23:19:23 -07:00
Cheng Zhao
f047bb61bb
Merge pull request #14 from enlight/nullptr-converter
...
Add a converter for `nullptr_t`
2017-08-17 16:01:27 +09:00
Vadim Macagon
747495e77c
Add a converter for nullptr_t
2017-08-16 00:24:20 +07:00
Kevin Sawicki
159a25d8e7
Merge pull request #13 from tsekityam/patch-1
...
Fix broken link
2017-05-09 16:14:28 -07:00
Tse Kit Yam
c8cc021ea1
Fix broken link
2017-05-09 15:24:43 +08:00
Cheng Zhao
7d9c1a80f0
Merge pull request #12 from brenca/add-high-memory-option
...
Add a flag that skips the two round GC and instead uses only one
2017-05-01 16:06:50 +09:00
Heilig Benedek
ff8f439afd
add ability to set high memory usage, skipping the second round of GC callbacks
2017-04-12 15:51:28 +02:00
Cheng Zhao
fd0e7dc4ab
Use gin to manage FunctionTemplate
...
Sadly there is no way for us to know when V8 is closing, thus it is
impossible for us to clean the FunctionTemplate on exit at the right
time, which is critcal for multi-thread environment.
2017-03-08 17:11:29 +09:00
Cheng Zhao
ed909cd54c
Make Wrappable thread safe
2017-03-08 16:33:05 +09:00
Kevin Sawicki
ad0fd82566
Merge pull request #10 from electron/five-argument-member-function
...
Remove template_util.h and use std functions
2017-02-17 10:25:02 -08:00
Kevin Sawicki
d2b9766886
Use std functions instead of template_util
2017-02-17 09:32:45 -08:00
Kevin Sawicki
f56ec818fb
Support 5 argument member function
2017-02-17 09:32:45 -08:00
Kevin Sawicki
11a1b824c0
Merge pull request #11 from electron/ci
...
Add Travis/AppVeyor CI build through Electron
2017-02-17 09:32:30 -08:00
Kevin Sawicki
db542f2a26
Add CI build through Electron
2017-02-17 08:39:54 -08:00
Cheng Zhao
eb109cf905
Merge pull request #9 from renaesop/master
...
Add Converter<std::map<std::string, T>>::ToV8
2017-02-13 17:04:05 +09:00
renaesop
7197368c6d
Add Converter<std::map<std::string, T>>::ToV8
2017-02-06 16:54:11 +08:00
Cheng Zhao
400d6c3de5
Merge pull request #8 from electron/set-read-only
...
Support setting read-only property value
2017-01-16 06:53:42 +09:00
Kevin Sawicki
c78a6fa7d4
Support setting read-only property value
2017-01-12 12:21:23 -08:00
Kevin Sawicki
6b7e73db92
Merge pull request #7 from deepak1556/empty_handle_converter_patch
...
create empty handle for null value
2016-12-12 12:55:31 -08:00
deepak1556
70092b493e
create empty handle for null or undefined value
2016-12-07 16:41:45 +05:30
Cheng Zhao
912307386c
Merge pull request #6 from enlight/add-readme
...
Add README
2016-08-12 20:48:19 +09:00
Vadim Macagon
03b4f57d23
Add README
2016-08-12 17:33:41 +07:00
Cheng Zhao
b5e5de626c
Merge pull request #5 from kevinsawicki/detail-string
...
Use ToDetailString for arguments error message
2016-08-11 17:22:39 +09:00
Kevin Sawicki
8155da152f
Add back empty handle string
2016-08-10 10:04:04 -07:00
Kevin Sawicki
1dbaec0edd
Use ToDetailString for processing error message
2016-08-10 09:34:33 -07:00
Cheng Zhao
fa483e1fe0
Do not set constructor name in SetConstructor
2016-08-02 19:27:58 +09:00
Cheng Zhao
4dbe051494
Pass FunctionTemplate in BuildPrototype
2016-08-02 18:06:20 +09:00
Cheng Zhao
3a7a6efffb
GetConstructor should init default constructor
2016-08-02 17:20:41 +09:00
Cheng Zhao
2d26eebca8
Remove the Constructor class
2016-08-02 17:01:19 +09:00
Cheng Zhao
a259d10bcb
NewOperatorFactory is not used
2016-08-02 16:20:29 +09:00
Cheng Zhao
0a48af9ff7
Create objects from InstanceTemplate
2016-08-02 16:08:00 +09:00
Cheng Zhao
d55c3c5030
Turn Wrappable into using FunctionTemplate
2016-08-02 15:56:47 +09:00
Cheng Zhao
ab62755a88
Make InitWith virtual
2016-08-02 15:28:09 +09:00
Cheng Zhao
bd20bde1a2
Call the user call Init in Constructor
2016-08-02 15:14:48 +09:00
Cheng Zhao
d9bfe6a49d
CHECK is not needed
2016-07-21 16:51:48 +09:00
Cheng Zhao
8a31e2d9c0
Update to API changes of V8 5.2
2016-07-04 15:08:08 +09:00
Cheng Zhao
a1efa28520
Setup v8::MicrotasksScope for callbacks
2016-06-24 14:40:47 +09:00
Cheng Zhao
e75f2aa087
Add converter for std::map
2016-06-13 09:26:48 +09:00
Cheng Zhao
4ad6ecd196
Handle.ToV8 should return Object
2016-05-20 15:38:51 +09:00
Cheng Zhao
ea07d4c6c8
Leak Wrappable's template
...
Since it is declared as static variable it will be released
automatically when process exits, which causes crashes in
renderer process because the template will then be released
later than V8 is closed.
This commit simply leaks the template so the crash won't happen,
this leak should be fine since leaking resource on exit is not
a bad thing.
2016-05-10 16:07:04 +09:00
Cheng Zhao
0df2d882ea
Make Wrappable a template class
2016-04-25 10:17:39 +09:00
Cheng Zhao
553326b006
Merge pull request #4 from deepak1556/dictionary_patch
...
use v8::private symbols as identifiers for object properties
2016-03-31 10:18:26 +09:00
Robo
309887c444
use v8::private symbols as identifiers for object properties
2016-03-24 01:32:08 +05:30
Cheng Zhao
38834cb997
Merge pull request #3 from paulcbetts/chrome49
...
basictypes.h => macros.h
2016-03-08 17:43:54 +09:00
Paul Betts
16270fa080
basic_types.h => macros.h
2016-03-07 20:36:14 -08:00
Cheng Zhao
e719eab878
Clear internal field when Wrapper is destroyed
2016-02-02 19:50:27 +08:00
Cheng Zhao
26520c5cf4
Improve error message for type error
...
Close atom/electron#4307 .
2016-02-02 10:10:59 +08:00
Cheng Zhao
a3dcf8ced6
Fix converter for std::set
2015-12-11 21:13:33 +08:00
Cheng Zhao
5e70868fd0
isDestroy => isDestroyed
2015-12-04 19:23:13 +08:00
Cheng Zhao
e859228db1
Do not manually destroy native resources
2015-12-03 15:38:14 +08:00
Cheng Zhao
9398494100
Add Dictionary::Delete
2015-11-11 00:25:10 +08:00
Cheng Zhao
21cda4e7fc
Don't return v8::Maybe for std::vector
2015-11-02 20:45:29 +08:00
Cheng Zhao
b7387da085
Check whether key exists in Dictionary::Get
2015-09-10 15:57:30 +08:00
Cheng Zhao
8ca005eb41
Use the new SetWeak in Wrappable
2015-08-27 15:55:48 +08:00
Cheng Zhao
f5e34deb1a
Add SetHidden for Dictionary
2015-08-27 15:21:27 +08:00
Cheng Zhao
b41635e809
Don't pass callback as const reference
2015-08-13 12:07:35 +08:00
Cheng Zhao
24d31e2046
Don't convert Function to Dictionary
2015-08-12 21:31:45 +08:00
Cheng Zhao
7160054927
GetNext should have no side effect when failed
2015-08-12 21:31:31 +08:00
Cheng Zhao
b6c353ee80
Add Dictionary::CreateEmpty
2015-08-12 21:18:59 +08:00
Cheng Zhao
67d9eaa215
Remove locker.h
2015-08-07 19:32:27 +08:00
Cheng Zhao
ebcf4c0224
Remove callback.h
2015-08-07 18:09:37 +08:00
Cheng Zhao
656e403f01
Use C++11 version of CreateFunctionTemplate
2015-07-23 14:59:32 +08:00
Cheng Zhao
41cd6d13c9
Allow specify methods that can be called after object is destroyed
2015-07-06 21:25:55 +08:00
Cheng Zhao
7b9926807d
Add IsDestroyed method for Wrappable
2015-07-06 18:16:57 +08:00
Cheng Zhao
cc4e2fcd94
Check for null when converting Wrappable
2015-06-24 16:35:37 +08:00
Cheng Zhao
cad1fa50a9
Make isolate() public
2015-06-23 17:13:02 +08:00
Cheng Zhao
0586822808
Remember isolate in Wrappable
2015-06-23 17:09:20 +08:00
Cheng Zhao
f310222ce1
Allow converting Array
2015-06-10 11:14:42 +08:00
Cheng Zhao
ad207eeabb
Enter context before calling callback
2015-05-29 13:41:59 +08:00
Cheng Zhao
1696237a3f
Pass Handle to upper HandleScope when returning a V8 Handle
2015-05-22 21:23:16 +08:00
Cheng Zhao
269be86998
Use Local instead of Handle
2015-05-22 19:11:02 +08:00
Cheng Zhao
047a8de934
Merge pull request #1 from deepak1556/converter_patch
...
added std::set converter
2015-04-20 16:16:42 +08:00
deepak1556
39fae3a480
added std::set converter
2015-04-18 01:33:54 +05:30
Cheng Zhao
40da835cbb
Don't reset handle before Wrappable is destroyed
...
It is possible that the user wants to use the V8 object in the destructor.
Fixes atom/atom-shell#1112 .
2015-03-23 16:20:59 +08:00
Cheng Zhao
38aba07290
usigned long is uint64 on Linux
2015-03-14 18:47:36 +00:00
Cheng Zhao
a636fad51e
Add converter for unsigned long
2015-03-10 16:46:54 -07:00
Cheng Zhao
d0db7bfb58
Add AfterInit method for Wrappable
2015-02-13 11:37:55 +08:00
Cheng Zhao
8d537ee2b6
Remove unneeded helper
2015-02-12 12:55:50 +08:00
Cheng Zhao
3387f33a8e
Check internal field before converting
2015-02-11 22:09:42 +08:00
Cheng Zhao
1116a36c15
Avoid unnecessary copy in ConvertToV8
2015-01-14 18:55:38 -08:00
Cheng Zhao
bcf87fd3c9
OVERRIDE => override
2015-01-09 17:23:18 -08:00
Cheng Zhao
753d5675dd
Fix ignored exception thrown from constructor.
2015-01-04 22:13:19 -08:00
Cheng Zhao
be2934d9b5
Fix throwing error in constructor
2015-01-02 18:05:25 -08:00
Cheng Zhao
4a1d11b2be
Guard against non-constructor call in Constructor::New
2014-10-30 21:54:29 +08:00
Cheng Zhao
b1f7cfa9da
Don't throw error in Constructor
2014-10-30 21:31:53 +08:00
Cheng Zhao
cc9d222923
Use NODE_VERSION_AT_LEAST to determine node version
2014-09-30 22:44:27 +08:00
Cheng Zhao
c5b39126ee
Make throwing exception when parsing args easier
2014-09-23 23:28:52 +08:00
Cheng Zhao
12f4e9b7ea
Add PersistentDictionary.
2014-09-09 14:12:59 +08:00
Cheng Zhao
742923c73d
Remove unused constructor of Dictionary.
2014-09-09 13:32:41 +08:00
Cheng Zhao
980036b78a
Make ScopedPersistent's interface consistent with V8.
2014-08-10 21:18:42 +08:00
Cheng Zhao
1387d3969e
Add callback converter.
2014-08-10 19:05:25 +08:00
Cheng Zhao
5d6921ff2a
Use pump to generate source files.
2014-08-10 16:59:50 +08:00
Cheng Zhao
cbb5004ff9
Fix compilation error of Constructor and ScopedPersistent in node 0.10.
2014-08-10 12:17:47 +08:00
Cheng Zhao
9145a08395
Fix compilation error with node 0.10.
2014-08-10 11:20:41 +08:00
Cheng Zhao
3d713baa4c
Enable converting ScopedPersistent.
2014-07-21 13:07:56 +08:00
Cheng Zhao
14c851e9f8
Reset handle in weak callback.
...
This doesn't seem to be neccesary, but we had better follow what upstream does.
2014-07-18 09:37:07 +08:00
Cheng Zhao
e6db1875d0
Some more APIs fixes.
2014-06-28 22:32:35 +08:00
Cheng Zhao
8e056672bc
Bring back ScopedPersistent.SetWeak.
2014-06-28 21:26:34 +08:00
Cheng Zhao
6f574c3802
Add APIs to match new V8 APIs.
2014-06-28 19:48:49 +08:00
Cheng Zhao
a5c4a2c7c6
Add .gitignore.
2014-06-23 21:50:00 +08:00
Cheng Zhao
bfd5f5d221
Strictly check for boolean type.
2014-06-23 21:47:39 +08:00
Cheng Zhao
94044b2950
Mark Dictionary.Get as const.
2014-06-23 21:39:03 +08:00
Cheng Zhao
51a55810b9
Enable creating empty Dictionary directly.
2014-06-23 21:38:46 +08:00
Cheng Zhao
1884b9a235
Add converter for const char*.
2014-06-23 21:24:18 +08:00
Cheng Zhao
730acd59c7
Add object() accessor for Dictionary.
2014-06-23 21:11:00 +08:00
Cheng Zhao
c79aecf64d
Call object._init if we have one.
2014-05-27 08:47:06 +08:00
Cheng Zhao
f033e23ea3
No need to reset wrapper_ when we would run destructor.
2014-04-23 12:29:22 +08:00
Cheng Zhao
3d219b4be6
Do not wrap an object when it's already wrapped.
2014-04-22 15:57:23 +08:00
Cheng Zhao
d950fe3736
Add Arguments.Length method.
2014-04-22 15:57:11 +08:00
Cheng Zhao
9cc90ac7d5
Make ScopedPersistent do type conversion.
2014-04-18 16:45:44 +08:00
Cheng Zhao
94dec0ff85
Add v8::Handle<v8::String> to converter.
2014-04-16 15:28:43 +08:00
Cheng Zhao
c9fa29ef64
Enable setting method in Dictionary.
2014-04-16 15:13:44 +08:00
Cheng Zhao
213ac43721
Enable converting void*.
2014-04-16 14:56:33 +08:00
Cheng Zhao
d0bf1a842f
Support function with 7 parameters.
2014-04-16 14:56:05 +08:00
Cheng Zhao
2d3af6fc38
Remove helper typedefs.
2014-04-16 14:29:45 +08:00
Cheng Zhao
ace550d6b2
Simplify Wrappable API.
2014-04-16 11:58:17 +08:00
Cheng Zhao
ac5be7dad7
Constructor should wrap the this pointer.
2014-04-16 10:36:54 +08:00
Cheng Zhao
bdfbef41c6
Cleanup.
2014-04-16 10:25:22 +08:00
Cheng Zhao
e2e1faa225
Make the Constructor accept arbitrary callback.
2014-04-16 09:50:51 +08:00
Cheng Zhao
78ab726ec7
Fix passing the wrong parameter.
2014-04-15 15:39:13 +08:00
Cheng Zhao
caa5ea0316
Add initial Constructor type.
2014-04-15 15:30:46 +08:00
Cheng Zhao
a20e02ee23
Fix compilation error of function_template.
2014-04-15 15:30:30 +08:00
Cheng Zhao
6ac926aa32
Enable modifying existing ObjectTemplate.
2014-04-15 11:34:07 +08:00
Cheng Zhao
4cada31f80
Do not rely on latest base/template_util.
2014-04-15 11:15:19 +08:00
Cheng Zhao
ff65b7dae1
Initial commit.
2014-04-15 11:04:36 +08:00