Skip to content
Snippets Groups Projects
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 .
  1. Aug 02, 2024
  2. Aug 01, 2024
  3. Jul 31, 2024
  4. Jul 30, 2024
    • electron-appveyor-updater[bot]'s avatar
    • Charles Kerr's avatar
      chore: remove unused class `electron::ObjectLifeMonitor` (#43089) · 47dde3b6
      Charles Kerr authored
      * chore: remove unused electron::ObjectLifeMonitor
      
      The last users were removed in June 2020 e1e73fa5 (#24115)
      and May 2020 9d7ba982 (#23592).
      
      * fixup! chore: remove unused electron::ObjectLifeMonitor
      
      fix: oops
    • John Kleinschmidt's avatar
      1a6e6518
    • Shelley Vohr's avatar
    • Charles Kerr's avatar
      perf: avoid duplicate calculations in gin_helper::Dictionary getters (#43073) · 7e9eb9e3
      Charles Kerr authored
      * perf: cache the dictionary handle
      
      * refactor: prefer result.IsJust() over !result.IsNothing()
      
      for consistency
      
      * refactor: prefer maybe.FromMaybe() over maybe.IsJust() && maybe.FromJust()
      
      the inlined code is simpler
      
      * refactor: simplify Get() impl
      
      * refactor: add private helper Dictionary::MakeKey()
      
      refactor: add private helper Dictionary::MakeHiddenKey()
      7e9eb9e3
    • Charles Kerr's avatar
      chore: more iwyu (#43063) · e70ce892
      Charles Kerr authored
      * chore: iwyu shell/browser/electron_pdf_document_helper_client.h
      
      * chore: iwyu shell/browser/hid/electron_hid_delegate.h
      
      * chore: iwyu content/public/browser/web_contents.h
      
      * chore: iwyu shell/browser/usb/electron_usb_delegate.h
      
      * chore: iwyu shell/browser/browser_observer.h
      
      * chore: iwyu shell/browser/bluetooth/electron_bluetooth_delegate.h
      
      * chore: iwyu shell/browser/serial/electron_serial_delegate.h
      
      * chore: iwyu shell/browser/api/frame_subscriber.h
      
      * chore: iwyu mojo/public/cpp/bindings/
      
      * chore: iwyu components/
      
      * chore: iwyu extensions/
      
      * chore: iwyu shell/common/gin_helper/
      
      * chore: iwyu v8/
      
      * chore: iwyu base/containers/linked_list.h
      
      * chore: iwyu shell/browser/native_window.h
      
      * chore: iwyu shell/browser/api/electron_api_base_window.h
      
      * chore: iwyu shell/common/node_includes.h
      
      * chore: iwyu gin/handle.h
      
      * chore: iwyu base/functional/callback.h
      
      * chore: iwyu ui/gfx/
      
      * chore: iwyu content/public/browser/render_frame_host.h
      
      * fix: mac
      
      * fix: mac
      
      * fix: win
      
      * chore: iwyu base/files/file_path.h
      
      * chore: iwyu base/unguessable_token.h
      
      * chore: iwyu ui/display/screen.h
      
      * chore: iwyu chrome/browser/predictors/preconnect_manager.h
      
      * chore: iwyu base/observer_list_types.h
      
      * chore: iwyu content/public/browser/web_contents.h
      
      * chore: iwyu chrome/browser/devtools/devtools_eye_dropper.h
      
      * chore: iwyu shell/browser/ui/inspectable_web_contents.h
      
      * chore: iwyu content/public/browser/keyboard_event_processing_result.h
      
      * chore: iwyu net/cookies/canonical_cookie.h
      
      * chore: iwyu net/base/address_list.h
      
      * chore: iwyu net/cert/x509_certificate.h
      
      * chore: iwyu net/cookies/cookie_change_dispatcher.h
      
      * chore: iwyu net/dns/public/host_resolver_results.h
      
      * fix: mac
      
      * Revert "chore: iwyu net/cert/x509_certificate.h"
      
      This reverts commit 002896f7.
      e70ce892
  5. Jul 29, 2024
  6. Jul 28, 2024
  7. Jul 27, 2024
  8. Jul 26, 2024
  9. Jul 25, 2024
    • Shelley Vohr's avatar
      fix: File System API permissions should reset on WebContents destruction (#43009) · 976f5d1b
      Shelley Vohr authored
      fix: active File System API permissions should reset on WebContents destruction
    • Charles Kerr's avatar
      chore: remove more unused #include calls (#43000) · aa23198a
      Charles Kerr authored
      * chore: in shell/renderer/renderer_client_base.h, remove include media/base/key_systems_support_registration.h
      
      last use removed in c670e38b (##41610)
      
      * chore: iwyu electron/fuses.h
      
      * chore: iwyu media/base/video_frame.h
      
      * chore: iwyu base/functional/callback.h
      
      * chore: iwyu base/task/cancelable_task_tracker.h
      
      * chore: iwyu shell/browser/draggable_region_provider.h
      
      * chore: iwyu shell/browser/ui/inspectable_web_contents_view.h
      
      * chore: iwyu ui/aura/window.h
      
      * chore: iwyu ui/base/win/shell.h
      
      * chore: iwyu ui/display/win/screen_win.h
      
      * chore: iwyu ui/gfx/geometry/insets.h
      
      * chore: iwyu ui/display/display.h
      
      * chore: iwyu ui/gfx/geometry/skia_conversions.h
      
      * chore: iwyu ui/gfx/geometry/rect_conversions.h
      
      * chore: iwyu ui/gfx/geometry/point.h
      
      * chore: iwyu ui/gfx/scoped_canvas.h
      
      * chore: iwyu ui/gfx/image/image.h
      
      * chore: iwyu ui/accessibility/ax_node_data.h
      
      * chore: iwyu ui/views/animation/ink_drop_highlight.h
      
      * chore: iwyu ui/gfx/font_list.h
      
      * chore: iwyu ui/linux/nav_button_provider.h
      
      * chore: iwyu shell/browser/ui/views/frameless_view.h
      
      * chore: iwyu services/metrics/public/cpp/ukm_source_id.h
      
      * chore: iwyu net/http/http_util.h
      
      * chore: iwyu net/base/mime_util.h
      
      * chore: iwyu content/public/common/content_client.h
      
      * chore: iwyu <list>
      
      * chore: iwyu <optional>
      
      * chore: iwyu <memory>
      
      * chore: iwyu base/files/file_path.h
      
      * chore: iwyu ui/base/cursor/cursor.h
      
      * chore: iwyu build/build_config.h
      
      * chore: iwyu content/public/browser/web_contents.h
      
      * chore: iwyu shell/browser/hid/hid_chooser_context.h
      
      * chore: iwyu shell/common/platform_util.h
      
      * chore: iwyu base/task/single_thread_task_runner.h
      
      * chore: iwyu content/browser/renderer_host/render_widget_host_impl.h
      
      * chore: iwyu content/public/browser/render_widget_host.h
      
      * chore: iwyu shell/browser/electron_browser_context.h
      
      * chore: iwyu content/public/browser/web_contents_observer.h
      
      * chore: iwyu content/public/browser/render_frame_host.h
      
      * chore: iwyu content/public/browser/media_stream_request.h
      
      * chore: iwyu chrome/common/chrome_paths.h
      
      * chore: iwyu chrome/browser/icon_manager.h
      
      * chore: iwyu printing/print_settings.h
      
      * chore: iwyu renderer/pepper_helper.h
      
      * chore: iwyu shell/browser/api/process_metric.h
      
      * chore: iwyu shell/browser/electron_browser_client.h
      
      * chore: iwyu shell/browser/electron_browser_context.h
      
      * chore: iwyu shell/browser/api/electron_api_session.h
      
      * chore: iwyu shell/browser/api/electron_api_app.h
      
      * chore: iwyu shell/browser/ui/views/client_frame_view_linux.h
      
      * chore: iwyu shell/browser/native_window_views.h
      
      * chore: iwyu base/win/windows_version.h
      
      * chore: iwyu shell/common/electron_paths.h
      
      * chore: iwyu content/public/common/content_switches.h
      
      * chore: iwyu third_party/skia/include/core/SkRRect.h
      
      * chore: iwyu third_party/skia/include/core/SkBitmap.h
      
      * chore: iwyu third_party/skia
      
      * chore: iwyu shell/browser/osr/osr_host_display_client.h
      
      * chore: iwyu shell/browser/login_handler.h
      
      * chore: iwyu shell/browser/javascript_environment.h
      
      * chore: iwyu shell/browser/event_emitter_mixin.h
      
      * fix: mac
      
      * fix: mac
      
      * chore: iwyu base/nix/xdg_util.h
      
      * fix: win
      
      * fix: win
      
      * fix: win
      
      * fix: win
      aa23198a
    • Shelley Vohr's avatar
      fix: desktopCapturer breaks BrowserWindow resizable on macOS (#43013) · cfdcf48e
      Shelley Vohr authored
      * fix: desktopCapturer breaks BrowserWindow resizable on macOS
      
      * test: oops fix showing
      cfdcf48e
    • David Sanders's avatar
      build: update docs-parser and typescript-definitions packages (#43038) · c2c079dc
      David Sanders authored
      build: update docs-parser and typescript-definitions pacakges
      c2c079dc
    • David Sanders's avatar
      f979d4c7
    • Charles Kerr's avatar
      chore: use v8::Local<>, not v8::Handle<> (#43019) · df524c6e
      Charles Kerr authored
      v8::Handle is an alias for v8::Local that "is kept around for historical
      reasons" and is disabled when V8_IMMINENT_DEPRECATION_WARNING is defined
      df524c6e
  10. Jul 24, 2024
  11. Jul 23, 2024
  12. Jul 22, 2024
    • Shelley Vohr's avatar
      feat: emit an event when accessing restricted path in File System Access API (#42561) · 8454f4e4
      Shelley Vohr authored
      
      * fix: show a dialog when accessing restricted path in File System Access API
      
      * fix: allow overriding initial blocked paths
      
      * docs: fix doc
      
      * Update docs/api/session.md
      
      Co-authored-by: default avatarErick Zhao <erick@hotmail.ca>
      
      * fix: change block to deny for consistency
      
      ---------
      
      Co-authored-by: default avatarErick Zhao <erick@hotmail.ca>
    • Charles Kerr's avatar
      chore: remove unused #includes (#42971) · 60c4c9fe
      Charles Kerr authored
      * chore: iwyu buildflags.h
      
      * chore: iwyu dictionary.h
      
      * chore: iwyu arguments.h
      
      * chore: iwyu values.h
      
      * chore: iwyu compiler_specific.h
      
      * chore: iwyu binder_map.h
      
      * chore: iwyu <vector>
      
      * chore: iwyu <set>
      
      * chore: iwyu raw_ptr
      
      * chore: iwyu gfx/canvas.h
      
      * chore: iwyu gfx/color_utils.h
      
      * chore: iwyu base/strings/stringprintf.h
      
      * chore: iwyu base/task/thread_pool.h
      
      * chore: iwyu base/no_destructor.h
      
      * chore: iwyu base/path_service.h
      
      * chore: iwyu base/files/file_pathh
      
      * chore: iwyu base/strings/sys_string_conversions.h
      
      * chore: iwyu base/logging.h
      
      * chore: iwyu base/command_line.h
      
      * chore: iwyu base/files/file_util.h
      
      * chore: iwyu base/files/scoped_file.h
      
      * chore: iwyu base/strings/utf_string_conversions.h
      
      * chore: iwyu base/environment.h
      
      * chore: iwyu base/scoped_observation.h
      
      * chore: iwyu base/strings/string_split.h
      
      * chore: iwyu base/strings/pattern.h
      
      * chore: iwyu base/json/string_escape.h
      
      * chore: iwyu base/json/json_reader.h
      
      * chore: iwyu base/memory/singleton.h
      
      * chore: iwyu base/observer_list.h
      
      * chore: iwyu base/timer/timer.h
      
      * fixup! chore: iwyu values.h
      
      * chore: iwyu shell/browser/browser.h
      
      * chore: iwyu base/stl_util.h
      
      * chore: iwyu base/strings/string_util.h
      
      * chore: iwyu shell/browser/javascript_environment.h
      
      * chore: iwyu base/memory/ref_counted.h
      
      * chore: iwyu base/environment.h
      
      * chore: iwyu content/public/browser/browser_thread.h
      
      * chore: remove unused typedef gin_helper::EventEmitter::ValueArray
      
      * chore: iwyu gin/wrappable.h
      
      * chore: iwyu shell/common/gin_helper/function_template_extensions.h
      
      * chore: iwyu shell/common/gin_converters/login_item_settings_converter.h
      
      * chore: iwyu shell/common/gin_helper/arguments.h
      
      * chore: iwyu ui/gfx/skia_util.h
      
      * chore: iwyu ui/gfx/geometry/rect.h
      
      * chore: iwyu ui/gfx/image/image.h
      
      * chore: iwyu base/strings/strcat.h
      
      * chore: iwyu ui/native_theme/native_theme.h
      
      * fixup! chore: iwyu shell/browser/javascript_environment.h
      
      * fixup! chore: iwyu gfx/canvas.h
      
      * fixup! chore: iwyu content/public/browser/browser_thread.h
      
      * fixup! chore: iwyu ui/native_theme/native_theme.h
      
      * fixup! chore: iwyu ui/native_theme/native_theme.h
      60c4c9fe
    • David Sanders's avatar
      296a558c