-
Notifications
You must be signed in to change notification settings - Fork 15.9k
Comparing changes
Open a pull request
base repository: electron/electron
base: v34.3.4
head repository: electron/electron
compare: v34.4.0
Commits on Mar 19, 2025
-
refactor: add
ElectronBrowserContext::GetDefaultBrowserContext()
(3……4-x-y) (#46136) refactor: add `ElectronBrowserContext::GetDefaultBrowserContext()` (#46065) * refactor: add ElectronBrowserContext::DestroyAllContexts() Simpler semantics than previous implementation; also hides the "default context must be destroyed last" implementation detail. * refactor: add ElectronBrowserContext::GetDefaultBrowserContext() clearer semantics than everyone calling From("", false)
Configuration menu - View commit details
-
Copy full SHA for e151aae - Browse repository at this point
Copy the full SHA e151aaeView commit details
Commits on Mar 20, 2025
-
refactor: remove unused system header includes (34-x-y) (#46135)
refactor: remove unused system header includes (#46015) * chore: remove unused #include <string> * chore: remove unused #include <optional> * chore: remove unused #include <vector> * chore: remove unused #include <string_view> * chore: remove unused #include <memory> * chore: remove unused #include <utility> * chore: remove unused #include <tuple> * chore: remove unused #include <unordered_set> * chore: remove unused #include <functional> * chore: iwyu <set> * chore: iwyu <map>
Configuration menu - View commit details
-
Copy full SHA for 3035818 - Browse repository at this point
Copy the full SHA 3035818View commit details -
refactor: use base::NumberToString() (#46152)
base::NumberToString() is slightly more efficient than absl::StrFormat("%u"). Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
Configuration menu - View commit details
-
Copy full SHA for 5cda3d2 - Browse repository at this point
Copy the full SHA 5cda3d2View commit details -
refactor: Add
ElectronBrowserContext::BrowserContexts()
(#46159)* refactor: add ElectronBrowserContext::BrowserContexts() Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: use ElectronBrowserContext::BrowserContexts() in ElectronBrowserMainParts::PostMainMessageLoopRun() Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: use ElectronBrowserContext::BrowserContexts() in ElectronExtensionsBrowserClient::IsValidContext() Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: use ElectronBrowserContext::BrowserContexts() in ElectronExtensionsBrowserClient::BroadcastEventToRenderers() Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: move PartitionKey, BrowserContextMap private Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: add ElectronBrowserContext::IsValidContext() decouple ElectronExtensionsBrowserClient from the internals of ElectronBrowserContext 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>
Configuration menu - View commit details
-
Copy full SHA for ce2f471 - Browse repository at this point
Copy the full SHA ce2f471View commit details -
fix: APNS token ids are lowercase ASCII (#46150)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f008b0d - Browse repository at this point
Copy the full SHA f008b0dView commit details
Commits on Mar 21, 2025
-
refactor: make URLPipeLoader private (34-x-y) (#46168)
refactor: make URLPipeLoader private Move the URLPipeLoader class into an anonymous namespace in electron_url_loader_factory.cc. Manual backport of 1b5db99.
Configuration menu - View commit details
-
Copy full SHA for a19f617 - Browse repository at this point
Copy the full SHA a19f617View commit details -
refactor: use
GetDefaultStoragePartition()
instead of `GetStoragePa……rtition(nullptr)` (#46082) refactor: use GetDefaultStoragePartition() Use GetDefaultStorageParition() instead of GetStoragePartition(nullptr) - It improves code uniformity, since we use get-default everywhere else - It's more readable - It's marginally faster, since GetStoragePartition() has more steps Added in 49b0a1b Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
Configuration menu - View commit details
-
Copy full SHA for 470a828 - Browse repository at this point
Copy the full SHA 470a828View commit details -
refactor: reduce coupling in
electron::api::Protocol
(#46181)* refactor: decouple api::Protocol from ElectronBrowserContext now they do not know about each other Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: make electron::api::ProtocolError private Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: remove unused isolate arg in Protocol constructor Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: use =default for trivial destructor 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>
Configuration menu - View commit details
-
Copy full SHA for b194cb1 - Browse repository at this point
Copy the full SHA b194cb1View commit details -
build: move set chromium cookie before build tools step (#46096)
build: move set cookie before build tools Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: alice <alice@makenotion.com>
Configuration menu - View commit details
-
Copy full SHA for 8961eb0 - Browse repository at this point
Copy the full SHA 8961eb0View commit details -
build: fail for out of date patches on forks (#46125)
* build: fail for out of date patches on forks 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: John Kleinschmidt <jkleinsc@electronjs.org>
Configuration menu - View commit details
-
Copy full SHA for 165ea64 - Browse repository at this point
Copy the full SHA 165ea64View commit details -
chore: restore forced LF for patch files with exception (#45902)
chore: restore forced LF for patch files and add exception
Configuration menu - View commit details
-
Copy full SHA for 88f4deb - Browse repository at this point
Copy the full SHA 88f4debView commit details
Commits on Mar 22, 2025
-
refactor: use
= default
to define trivial destructors (#46192)refactor: use '= default' to define trivial destructors Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
Configuration menu - View commit details
-
Copy full SHA for 4bee1ea - Browse repository at this point
Copy the full SHA 4bee1eaView commit details -
refactor: remove unused method
ElectronBrowserContext::GetWeakPtr()
(……#46197) * refactor: use forward declaration of MediaDeviceIDSalt in electron_browser_context.h Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: remove unused #include from browser_context.h Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: remove unused ElectronBrowserContext::GetWeakPtr() last use removed in Aug 2020 by bac2f46 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>
Configuration menu - View commit details
-
Copy full SHA for 23d5741 - Browse repository at this point
Copy the full SHA 23d5741View commit details
Commits on Mar 24, 2025
-
refactor: remove unused method ProxyingWebSocket::web_request_api() (#…
Configuration menu - View commit details
-
Copy full SHA for 51f7712 - Browse repository at this point
Copy the full SHA 51f7712View commit details -
build: Use windows src cache (#46187)
build: use source cache on windows Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Configuration menu - View commit details
-
Copy full SHA for ef9cd34 - Browse repository at this point
Copy the full SHA ef9cd34View commit details -
refactor: remove unused
weak_factory_
in electron_management_api_de…Configuration menu - View commit details
-
Copy full SHA for fe9e90a - Browse repository at this point
Copy the full SHA fe9e90aView commit details -
fix: Wayland resizing border (#46223)
* fix: Wayland resizing border Closes #44543 Refs CL:5180720 Fixes an issue where the resizing border didn't work as expected on Wayland windows. Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * fix: border insets when fullscreen 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>
Configuration menu - View commit details
-
Copy full SHA for fcdf08c - Browse repository at this point
Copy the full SHA fcdf08cView commit details -
build: fixup release builds (#46232)
* build: fixup release builds Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * build: fixup windows source cache for release --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Configuration menu - View commit details
-
Copy full SHA for 6da5666 - Browse repository at this point
Copy the full SHA 6da5666View commit details
Commits on Mar 25, 2025
-
feat: add ffmpeg.dll to delay load configuration (#46174)
feat: set ffmpeg.dll as a delay-loaded DLL Updated the /DELAYLOAD linker config in BUILD.gn to set ffmpeg.dll as a delay-loaded DLL. This reduces startup overhead and prevents unnecessary loading when ffmpeg-related functionality is not used (e.g., the browser process was unnecessarily loading it). Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Zonglong Liu <83216456+mai-121@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 19069ea - Browse repository at this point
Copy the full SHA 19069eaView commit details -
fix: NODE_OPTIONS parsing for child processes on macOS (#46242)
* fix: NODE_OPTIONS parsing for child processes on macOS Co-authored-by: deepak1556 <hop2deep@gmail.com> * chore: temporarily disable test Co-authored-by: deepak1556 <hop2deep@gmail.com> * chore: apply review feedback Co-authored-by: deepak1556 <hop2deep@gmail.com> * chore: fix build Co-authored-by: deepak1556 <hop2deep@gmail.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fa44623 - Browse repository at this point
Copy the full SHA fa44623View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfb7237 - Browse repository at this point
Copy the full SHA cfb7237View commit details -
fix: oob string read when parsing node_options (#46246)
* fix: oob string read when parsing node_options Co-authored-by: deepak1556 <hop2deep@gmail.com> * chore: re-enable test Co-authored-by: deepak1556 <hop2deep@gmail.com> * fix: missing linux server env for tests Co-authored-by: deepak1556 <hop2deep@gmail.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 06c84f3 - Browse repository at this point
Copy the full SHA 06c84f3View commit details -
perf: don't wait for thumbnails if they were not requested on macOS (#…
…46250) When using the SCK thumbnail capturer, the first refresh has the list of sources, and the second refresh has the thumbnails. If thumbnails are not needed, only wait for the first refresh. Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: John Beutner <beutner.john@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2d7cfd3 - Browse repository at this point
Copy the full SHA 2d7cfd3View commit details -
fix:
webContents.printToPDF()
with cross-process subframes (#46258)fix: webContents.printToPDF() with cross-process subframes Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2b7f324 - Browse repository at this point
Copy the full SHA 2b7f324View commit details -
build: fixup windows source cache for release (#46269)
* build: fixup ffmpeg gn gen Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * build: add build-tools depot_tools to PATH There are some cases where it is still expected that depot_tools be in the path Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * put back regular gn gen for ffmpeg Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * build: add retry to moving source cache This resolves the error: `Move-Item : The process cannot access the file because it is being used by another process.` 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>
Configuration menu - View commit details
-
Copy full SHA for 0b34f5b - Browse repository at this point
Copy the full SHA 0b34f5bView commit details -
perf: avoid
std::map
temporaries inIsDevToolsFileSystemAdded()
(#……46266) * refactor: extract-method GetAddedFileSystems() Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: use GetAddedFileSystems() in GetAddedFileSystemPaths() Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: use GetAddedFileSystems() in IsDevToolsFileSystemAdded() 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>
Configuration menu - View commit details
-
Copy full SHA for b5f8c75 - Browse repository at this point
Copy the full SHA b5f8c75View commit details
Commits on Mar 26, 2025
-
perf: avoid redundant map lookup in
WebFrameMain
constructor (#46277)perf: avoid double map lookup in WebFrameMain constructor Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
Configuration menu - View commit details
-
Copy full SHA for 42c8938 - Browse repository at this point
Copy the full SHA 42c8938View commit details -
fix: build failure when printing is disabled (#46286)
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Configuration menu - View commit details
-
Copy full SHA for 9049d01 - Browse repository at this point
Copy the full SHA 9049d01View commit details
There are no files selected for viewing
This file was deleted.