This project is mirrored from https://github.com/electron/electron.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Jan 18, 2024
-
-
Shelley Vohr authored
* fix: crash when dialog.showMessageBoxSync missing buttons * chore: feedback from review
-
Shelley Vohr authored
* fix: modal rounding on nonmodal windows * chore: feedback from review
-
Tamás Zahola authored
fix: use `HasStyleMask(NSWindowStyleMaskResizable)` instead of `IsResizable()` for enabling/disabling window maximize button (#40994)
-
- Jan 17, 2024
-
-
Charles Kerr authored
* refactor: do not use deprecated ToInternalValue() in ElectronExtensionLoader::FinishExtensionLoad() * refactor: do not use deprecated ToInternalValue() in NotificationPresenterWin::SaveIconToFilesystem() * chore: rename temp variable to now_usec for clarity
-
- Jan 16, 2024
-
-
Shelley Vohr authored
-
Robo authored
-
Shelley Vohr authored
-
- Jan 15, 2024
-
-
Charles Kerr authored
* refactor: replace deprecated Base64Encode() usage in IWC::NetworkResourceLoader::OnDataReceived() * refactor: replace deprecated Base64Encode() usage EncodeToken(const base::UnguessableToken& token)
-
- Jan 12, 2024
-
-
Charles Kerr authored
* refactor: use NoDestructor for g_io_thread_application_locale * refactor: use NoDestructor for ExtensionActionAPI::GetFactoryInstance() * refactor: use NoDestructor for ElectronExtensionsClient::GetPermissionMessageProvider() * refactor: use NoDestructor for feat_add_support_for_overriding_the_base_spellchecker_download_url.patch * chore: remove unused #include * fixup! refactor: use NoDestructor for ElectronExtensionsClient::GetPermissionMessageProvider() make sure instance is static * chore: remove unused #include "base/lazy_instance.h"
-
Shelley Vohr authored
-
Samuel Attard authored
* docs: add reclient docs, remove goma docs * Apply suggestions from code review Co-authored-by:
Charles Kerr <charles@charleskerr.com> --------- Co-authored-by:
Charles Kerr <charles@charleskerr.com>
-
Keeley Hammond authored
* Revert "ci: increase "gclient sync" output timeout (#40963)" This reverts commit be4eb4e8. * Revert "build: remove CI cache of git cache (#40953)" This reverts commit b39ebb86.
-
Keeley Hammond authored
ci: increase gclient output timeout
-
- Jan 11, 2024
-
-
Samuel Attard authored
-
Shelley Vohr authored
* fix: InAppPurchase pre-emptive deallocation * test: try re-enabling IAP tests
-
Samuel Attard authored
-
electron-roller[bot] authored
* chore: bump chromium in DEPS to 122.0.6223.0 * 5129828: Removes special cases for selenium-atoms dependencies. https://chromium-review.googlesource.com/c/chromium/src/+/5129828 * chore: fixup patch indices * 5139789: Deduplicate BrowserContext's ResourceContext https://chromium-review.googlesource.com/c/chromium/src/+/5139789 * 5148579: Simplify SelectFileDialog::Listener https://chromium-review.googlesource.com/c/chromium/src/+/5148579 * 5134038: Code Health: Use string_view in base::i18n::BreakIterator::SetText https://chromium-review.googlesource.com/c/chromium/src/+/5134038 * 5137427: Code Health: Use string_view in SpellCheck::SpellCheckWord https://chromium-review.googlesource.com/c/chromium/src/+/5137427 * [libcxx] adds ranges::fold_left_with_iter and ranges::fold_left Notable things in this commit: * refactors `__indirect_binary_left_foldable`, making it slightly different (but equivalent) to _`indirect-binary-left-foldable`_, which improves readability (a [patch to the Working Paper][patch] was made) * omits `__cpo` namespace, since it is not required for implementing niebloids (a cleanup should happen in 2024) * puts tests ensuring invocable robustness and dangling correctness inside the correctness testing to ensure that the algorithms' results are still correct [patch]: https://github.com/cplusplus/draft/pull/6734 * chore: bump chromium in DEPS to 122.0.6224.0 * 5154766: [Refresh 2023] [GTK] Fix gap above toolbar with fractional scaling https://chromium-review.googlesource.com/c/chromium/src/+/5154766 * chore: fixup patch indices * 5094458: Remove extra CGColorSpace parameters from skia and ui helpers https://chromium-review.googlesource.com/c/chromium/src/+/5094458 * chore: bump chromium in DEPS to 122.0.6226.0 * chore: update patches * chore: bump chromium in DEPS to 122.0.6227.0 * chore: update patches * chore: bump chromium in DEPS to 122.0.6228.0 * chore: update patches * chore: bump chromium in DEPS to 122.0.6230.0 * chore: bump chromium in DEPS to 122.0.6232.0 * chore: bump chromium in DEPS to 122.0.6234.0 * chore: bump chromium in DEPS to 122.0.6236.2 * chore: update patches * fix: remove --disable-color-correct-renderering Per https://electronhq.slack.com/archives/CB6CG54DB/p1698444047862459 it is not used any more and was never documented. * chore: add WEB_PRINTING to content permission converter Unused in non-cros so no need to document Ref: https://chromium-review.googlesource.com/c/chromium/src/+/5136178 * chore: Views is now vec<raw_ptr> instead of raw<T*> Ref: https://chromium-review.googlesource.com/c/chromium/src/+/5140028 * spec: add Iterator to global intrinsics --------- 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>
-
Charles Kerr authored
* 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
-
Milan Burda authored
* chore: replace absl::optional<T> with std::optional<T> * IWYU
-
Charles Kerr authored
* refactor: do not use deprecated NoDestructor in javascript_environment.cc * refactor: do not use deprecated NoDestructor in window_list.cc
-
- Jan 10, 2024
-
-
David Sanders authored
-
Samuel Attard authored
* chore: fix contentTracing test * cry
-
Samuel Attard authored
* build: use aks arm64 test runners * build: better image * build: even more stuff * build: arm par * build: use aks arm32 * build: arm32 par * build: get test timings from abs paths * build: avoid realpath, use echo
-
Samuel Attard authored
* chore: add patch to always set macos platform for x-build * build: add infra for reclient support * build: override reclient version * build: use RBE in CI * chore: hardcode reclient fix version * build: lower process count on macOS * build: use large macOS instance for testing-arm64 * Revert "build: use large macOS instance for testing-arm64" This reverts commit 6844adfd. * build: login in via helper not writing file * chore: update patches * build: use recelint from DEPS * build: fix windows reproxy cfg * build: use reclient in appveyor * build: update WOA job too * build: force another build * build: do not checkout reclient
-
- Jan 09, 2024
-
-
Shelley Vohr authored
* fix: crash using powerMonitor before ready event * refactor: continue using DBusBluezManagerWrapperLinux
-
- Jan 08, 2024
-
-
Charles Kerr authored
refactor: use fixed-size arrays for the font cache Since we know at compile time which [family x script] combos we want to cache, we can hold the cache in fixed std::arrays instead of in nested std::unordered_maps.
-
Calvin authored
* fix: wide string concatenation * Use wstring_views to keep length in context * forgot a space, oopsies
-
Shelley Vohr authored
docs: add missing vibranch change
-
- Jan 06, 2024
-
-
Charles Kerr authored
This doesn't need to be injected. Looks like it was an accident in 60ca38fb for https://github.com/electron/electron/pull/38465 .
-
Tamás Zahola authored
fix: macOS maximize button shouldn't be disabled just because the window is non-fullscreenable (#40705) * fix: macOS maximize button shouldn't be disabled just because the window is non-fullscreenable * add test * fix test by enabling maximize button if `resizable && (maximizable || fullscreenable)` instead of `(resizable && maximizable) && fullscreenable`
-
- Jan 05, 2024
-
-
Charles Kerr authored
* refactor: use base::flat_map in ElectronMenuModel * refactor: use base::flat_map in BuildSubmenuFromModel() * refactor: use base::flat_map in GetDialogsMap() * refactor: use base::flat_map in DesktopCapturer * refactor: use base::flat_map, flat_set in ElectronBrowserClient * refactor: use base::flat_map in ProxyingURLLoaderFactory * refactor: use base::flat_map in MapToCommonId() * refactor: use base::flat_map for g_map_id * refactor: use base::flat_map for ViewsDelegate::AppbarAutohideEdgeMap * refactor: use base::flat_map for App::app_metrics_ * refactor: use base::flat_map for PowerSaveBlocker::wake_lock_types_ * refactor: use base::flat_map for NativeImage::hicons_ * refactor: use base::flat_map for MenuViews::menu_runners_ * refactor: use base::flat_map for WebViewManager::web_contents_embedder_map_ * refactor: use base::flat_map for InspectableWebContents::extensions_api_ * refactor: use base::flat_set for libnotify GetServerCapabilities() * refactor: use base::flat_set for InspectableWebContents::loaders_ * refactor: use base::flat_set for ElectronRendererClient::environments_ refactor: use base::flat_set for ElectronRendererClient::injected_frames_ * refactor: use base::flat_set for WebWorkerObserver::environments_
-
Brandon Fowler authored
* feat: add transparent option to WebContents * feat: add transparent attribute to webview * test: add tests for webview transparent attribute * docs: add transparent attribute to webview docs * fix: run tests on macOS only * refactor: remove unneeded html tag * fix: only apply transparent option to guests * refactor: correct comment * refactor: use opaque instead Retains current webview behaviour by default. * fix: correct variable name to guest_opaque_ * refactor: use transparent webpreference * docs: remove unused web preference * fix: uncomment condition for transparency test * docs: converted to list format and linked to MDN * fix: make webviews transparent by default again * fix: rebase error --------- Co-authored-by:
Cheng Zhao <zcbenz@gmail.com>
-
Devraj Mehta authored
* chore: initial prototype of net api from utility process * chore: update url loader to work on both browser and utility processes * chore: add net files to utility process bundle * chore: re-add app ready check but only on main process * chore: replace browser thread dcheck's with sequence checker * refactor: move url loader from browser to common * refactor: move net-client-request.ts from browser to common * docs: add utility process to net api docs * refactor: move net module app ready check to browser only * refactor: switch import from main to common after moving to common * test: add basic net module test for utility process * refactor: switch browser pid with utility pid * refactor: move electron_api_net from browser to common * chore: add fetch to utility net module * chore: add isOnline and online to utility net module * refactor: move net spec helpers into helper file * refactor: break apart net module tests Adds two additional net module test files: `api-net-session-spec.ts` for tests that depend on a session being available (aka depend on running on the main process) and `api-net-custom-protocols-spec.ts` for custom protocol tests. This enables running `api-net-spec.ts` in the utility process. * test: add utility process mocha runner to run net module tests * docs: add utility process to net module classes * refactor: update imports in lib/utility to use electron/utility * chore: check browser context before using in main process Since the browser context supplied to the SimpleURLLoaderWrapper can now be null for use in the UtilityProcess, adding a null check for the main process before use to get a more sensible error if something goes wrong. Co-authored-by:
Cheng Zhao <github@zcbenz.com> * chore: remove test debugging * chore: remove unnecessary header include * docs: add utility process net module limitations * test: run net module tests in utility process individually * refactor: clean up prior utility process net tests * chore: add resolveHost to utility process net module * chore: replace resolve host dcheck with sequence checker * test: add net module tests for net.resolveHost * docs: remove utility process limitation for resolveHost --------- Co-authored-by:
deepak1556 <hop2deep@gmail.com> Co-authored-by:
Cheng Zhao <github@zcbenz.com>
-
- Jan 04, 2024
-
-
Charles Kerr authored
* refactor: make NativeWindow getter methods const * fixup! refactor: make NativeWindow getter methods const make GetZOrderLevel() const * fixup! refactor: make NativeWindow getter methods const fix oops
-
Mathew Bino authored
* Fix PR#38673 As requested in PR#38673 , a line has been added that explicitly states that accelerators are case sensitive * Update docs/api/accelerator.md Co-authored-by:
Erick Zhao <erick@hotmail.ca> * Update accelerator.md --------- Co-authored-by:
Erick Zhao <erick@hotmail.ca>
-
Jeremy Rose authored
-
Keeley Hammond authored
* chore: add disclaimer to release timeline * 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:
David Sanders <dsanders11@ucsbalum.com>
-
Cheng Zhao authored
* fix: ignore all NODE_ envs from foreign parent * fix: recognize ad-hoc signed binary
-
Shelley Vohr authored
-
- Jan 03, 2024
-
-
electron-roller[bot] authored
* chore: bump chromium in DEPS to 122.0.6180.0 * chore: update render_widget_host_view_base.patch Xref: https://chromium-review.googlesource.com/c/chromium/src/+/5079532 minor manual changes to match upstream changes * chore: update printing.patch Xref: https://chromium-review.googlesource.com/c/chromium/src/+/5094777 Xref: https://chromium-review.googlesource.com/c/chromium/src/+/5054299 Update patch to upstream changes in print_view_manager_base.cc. CC @codebytere for
👀 * chore: update feat_add_onclose_to_messageport.patch Xref: https://chromium-review.googlesource.com/c/chromium/src/+/5083156 no manual changes; patch applied with fuzz 1 * chore: update build_do_not_depend_on_packed_resource_integrity.patch Xref: https://chromium-review.googlesource.com/c/chromium/src/+/5087072 minor manual changes to match upstream changes * chore: update port_autofill_colors_to_the_color_pipeline.patch Xref: https:/...
-