This project is mirrored from https://github.com/electron/electron.
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 .
- Sep 16, 2024
-
-
Niklas Wenzel authored
-
- Sep 12, 2024
-
-
Charles Kerr authored
* refactor: update BadgeManagerFactory * refactor: update NetworkContextServiceFactory * refactor: update ElectronExtensionSystemFactory * refactor: update UsbChooserContextFactory * refactor: update UsbHidChooserContextFactory * refactor: update SerialChooserContextFactory * refactor: update FileSystemAccessPermissionContextFactory
-
Piotr Płaczek authored
* feat: hide menu bar on windows fullscreen * test: state prior to html fullscreen transition * refactor: restore `#ifdef` for readability Reference: https://github.com/electron/electron/pull/43402#discussion_r1729356262 * docs: menu bar behavior changed --------- Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
-
Charles Kerr authored
chore: delegate handle creation in NativeImage::Resize() chore: delegate handle creation in NativeImage::Crop() chore: delegate handle creation in NativeImage::CreateEmpty()
-
Charles Kerr authored
-
Shelley Vohr authored
-
Shelley Vohr authored
fix: native View wrapper crash missing when adding child view
-
- Sep 11, 2024
-
-
Shelley Vohr authored
fix: ensure SetPluginCanSave updated in PDFs
-
Shelley Vohr authored
* build: compile with C++20 support * build: update build-image-sha for gcc 10
-
dependabot[bot] authored
build(deps-dev): bump webpack from 5.76.0 to 5.94.0 in the npm_and_yarn group across 1 directory (#43659) build(deps-dev): bump webpack Bumps the npm_and_yarn group with 1 update in the / directory: [webpack](https://github.com/webpack/webpack). Updates `webpack` from 5.76.0 to 5.94.0 - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.76.0...v5.94.0 ) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Sep 10, 2024
-
-
Keeley Hammond authored
* tmp * feat: add support for system picker in setDisplayMediaRequestHandler * oops * Apply suggestions from code review Co-authored-by: Erick Zhao <erick@hotmail.ca> * stuff * well... * seems legit * chore: update patch to handle screenCapturer * feat: modify API to use useSystemPicker * fix: gate ScreenCaptureKitPicker to macos 15 or higher * fix: don't use native picker with legacy media selection * chore: code review, boolean set & docs update * fix: add cancelCallback * docs: clarify session & desktopCapturer docs --------- Co-authored-by: Samuel Attard <marshallofsound@electronjs.org> Co-authored-by: Samuel Attard <sam@electronjs.org> Co-authored-by: Erick Zhao <erick@hotmail.ca>
-
Charles Kerr authored
-
Milan Burda authored
* fix: restore Chromium default Content-Disposition header parsing * Update api-web-request-spec.ts
-
- Sep 09, 2024
-
-
Charles Kerr authored
* fix: -Wunsafe-buffer-usage warnings in ScopedTemporaryFile::InitFromFile() * fix: -Wunsafe-buffer-usage warnings in Archive::Init()
-
Charles Kerr authored
refactor: use an EscapableHandleScope
-
Charles Kerr authored
avoid an unnecessary heap allocation/free
-
Zorro Liu authored
fix: update BrowserView#lastWindowSize after window resize (#43462)
-
Charles Kerr authored
reassign the uv_handle_t of the source
-
dependabot[bot] authored
* build(deps): bump the npm_and_yarn group across 2 directories with 3 updates Bumps the npm_and_yarn group with 1 update in the / directory: [braces](https://github.com/micromatch/braces). Bumps the npm_and_yarn group with 3 updates in the /spec directory: [braces](https://github.com/micromatch/braces), [pdfjs-dist](https://github.com/mozilla/pdf.js) and [ws](https://github.com/websockets/ws). Updates `braces` from 3.0.2 to 3.0.3 - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3) Updates `braces` from 3.0.2 to 3.0.3 - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3) Updates `pdfjs-dist` from 2.16.105 to 4.2.67 - [Release notes](https://github.com/mozilla/pdf.js/releases) - [Commits](https://github.com/mozilla/pdf.js/compare/v2.16.105...v4.2.67) Updates `ws` from 7.5.9 to 7.5.10 - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10 ) --- updated-dependencies: - dependency-name: braces dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: braces dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: pdfjs-dist dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: ws dependency-type: direct:development dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> * chore: update api-web-contents-spec to us newer version of pdfjs-dist * test: create fixture to read PDF files for verification --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
-
- Sep 08, 2024
-
-
Charles Kerr authored
refactor: avoid redundant Promise.GetContext calls Several Promise methods call `GetContext()` multiple times. From looking at the assembly in obj/electron/electron_lib/promise.o, these redundant calls are actually being made -- they aren't optmized out. This PR keeps the return value in a local variable to avoid extra calls.
-
- Sep 07, 2024
-
-
Charles Kerr authored
refactor: take a uint8_t span in ValidateIntegrityOrDie() Doing some groundwork for fixing unsafe base::File() APIs: - Change ValidateIntegrityOrDie() to take a span<const uint8_t> arg. We'll need this to migrate asar's base::File API calls away from the ones tagged `UNSAFE_BUFFER_USAGE` because the safe counterparts use span<uint8_t> too. - Simplify ValidateIntegrityOrDie()'s implementation by using crypto::SHA256Hash() instead of reinventing the wheel.
-
- Sep 06, 2024
-
-
Charles Kerr authored
refactor: NativeWindow::Create() returns a unique_ptr
-
Charles Kerr authored
fix: confirm a v8::Value is a v8::Object before casting it
-
Charles Kerr authored
* fix: free UvTaskRunner timers only after they are closed * refactor: UvTaskRunner now holds UvHandles
-
Shelley Vohr authored
fix: ensure version of xdg-dialog-portal with defaultPath support Closes https://github.com/electron/electron/issues/43310
-
Charles Kerr authored
Use v8::ArrayBufferView::CopyContents() instead of doing the pointer math + memcpy() ourselves. This not only solves the buffer warnings, but may also avoid some additional overhead: > Copy the contents of the ArrayBufferView's buffer to an > embedder defined memory without additional overhead that > calling ArrayBufferView::Buffer might incur.
-
- Sep 05, 2024
-
-
Shelley Vohr authored
-
Kilian Valkhof authored
* docs: explain ipcRenderer behavior in context-bridge.md * Update context-bridge.md * Update context-bridge.md * Update docs/api/context-bridge.md Co-authored-by: Erik Moura <erikian@erikian.dev> * Update context-bridge.md * Update context-bridge.md * Update context-bridge.md * Update docs/api/context-bridge.md Co-authored-by: Erick Zhao <erick@hotmail.ca> * Update docs/api/context-bridge.md Co-authored-by: David Sanders <dsanders11@ucsbalum.com> --------- Co-authored-by: Erik Moura <erikian@erikian.dev> Co-authored-by: Erick Zhao <erick@hotmail.ca> Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
-
Orko Garai authored
* fix: Launch apps with XDG_ACTIVATION_TOKEN in ozone/wayland Ensure apps are launched with the activation token received from xdg_activation_v1 protocol. * add focus_launched_process option
-
dependabot[bot] authored
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.26.0 to 1.27.0. - [Release notes](https://github.com/slackapi/slack-github-action/releases) - [Commits](https://github.com/slackapi/slack-github-action/compare/70cd7be8e40a46e8b0eced40b0de447bdb42f68e...37ebaef184d7626c5f204ab8d3baff4262dd30f0 ) --- updated-dependencies: - dependency-name: slackapi/slack-github-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/834a144ee995460fba8ed112a2fc961b36a5ec5a...50769540e7f4bd5e21e526ee35c689e35e0d6874 ) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
David Sanders authored
-
John Kleinschmidt authored
-
Charles Kerr authored
* perf: use v8::Object* as direct keys instead of using hash + a linked list * refactor: use v8::Local<v8::Object> as the key
-
Charles Kerr authored
chore: migrate to v8::Object::SetPrototypeV2(). Xref: https://chromium-review.googlesource.com/c/v8/v8/+/5600627 [api] Mark v8::Object::GetPrototype() for deprecation Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
-
- Sep 04, 2024
-
-
Charles Kerr authored
As per the gin docs: "Wrappable<T> explicitly does not support further subclassing of T. Subclasses of Wrappable<T> should be declared final."
-
Keeley Hammond authored
fix: don't run symbol generation on PS
-
Charles Kerr authored
* fix: remove use of deprecated v8::String::Value Upstream marked v8::String::Value as `V8_DEPRECATE_SOON` last month, so let's stop using it. The replacement code mostly does the same as v8::String::Value(); but since our test only cares about the length and not the contents, we get a small perf win of not needing to allocate a char array and not needing to call Local::String::Write(). Upstream V8_DEPRECATE_SOON: Xref: https://chromium-review.googlesource.com/c/v8/v8/+/5667299kkk v8::String::Value() implementation: https://chromium.googlesource.com/v8/v8/+/20226b740bfa1a1e46dff80363232dfd3da50de8/src/api/api.cc#10883 History on why we used it: https://github.com/electron/electron/pull/19792/commits/80c1a9739d191d2e393e56e2b254fb72bf6859e9 https://github.com/electron/electron/pull/19792/commits/f49ed30f7205d7295ab035c6f1b3702cf7e3217c * Update shell/common/gin_converters/file_path_converter.h Co-authored-by: Robo <hop2deep@gmail.com> * fixup! Update shell/common/gin_converters/file_path_converter.h do not return success for all non-Null non-Strings --------- Co-authored-by: Robo <hop2deep@gmail.com>
-
dependabot[bot] authored
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.3 to 3.26.6. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/883d8588e56d1753a8a58c1c86e88976f0c23449...4dd16135b69a43b6c8efb853346f8437d92d3c93 ) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Orko Garai authored
When an electron app is launched by another app ensure that the XDG_ACTIVATION_TOKEN env var is read and used for activation using xdg_activation_v1 protocol.
-