* chore: bump electron@43.4.1
* linux: align desktop name and StartupWMClass
Give DEB and RPM installs a package owned reverse DNS desktop name
so runtime wayland portal identity resolves to an installed desktop file.
Keep snap and archive runtime identities aligned with their distribution
specific desktop file behavior.
Set StartupWMClass to the same identity used by the runtime.
* linux: respect native window controls layout
Reserve both left and right WCO safe areas so custom title bar content
does not overlap controls when the desktop environment places them on
either side.
* dialogs: preserve native locations
Electron 43 defaults native dialogs without a defaultPath to the
Downloads directory instead of allowing the platform to retain its
last location. Resolve existing file or folder history before
invoking native open and save dialogs, while preserving an explicit
caller-provided URI.
* protocol: migrate from deprecated handlers
Replace deprecated registerFileProtocol, registerBufferProtocol,
registerHttpProtocol, and interceptFileProtocol APIs with protocol.handle().
* test: migrate unit test protocol handler
* chore: remove obsolete WebSQL preferences
Electron 43 removes WebSQL and its enableWebSQL web preference.
* fix: wco position for windows
* protocol: avoid exposing managed resource errors
* test: preserve file URLs in protocol handler
* test: adopt worker parent identifiers in CDP golden
Electron 43 target lifecycle payloads include parentId and
parentFrameId for worker targets.
* build: support V8 headers with GCC 12
* test: use platform native dialog paths
* build: install custom electron headers
* build: bootstrap electron headers in compile job
* build: bootstrap Electron headers for Alpine and web
* chore: bump electron@43.5.1
* chore: revert system fontconfig init workaround
* temp: bump distro
* chore: bump electron@43.6.0
* test: skip Dev Container agent host smoke test for exploration
The exploration update channel serves an outdated agent host server that
does not include the bundled Copilot CLI, causing the smoke test to time out.
* chore: bump distro
Refs https://github.com/microsoft/vscode/issues/212494
When using the default ANGLE gl/gles backend, v1.90 attempts
to get display refresh rate for vsync from an internal implementation
instead of using the gl extension EGL_CHROMIUM_sync_control,
this eventually ends up loading display info from XRandr and chromium
attempts to set a label for the data from the shipped resource pak
file that is not accessible to the gpu process triggering a SIGTRAP
in ui::ResourceBundle::GetSharedInstance.
This software is not a plain text editor, and it's definitely not a file manager.
Advertising compatibility with such overrides default OS handlers on many distributions, unnecessarily.
* RPM spec: Use standard macros for paths/name
- Once `@@NAME@@` is replaced into the spec file as the `Name:`,
it can be referenced with the RPM macro `%{name}`
- The installation directories corresponding to `/usr/bin/` and
`/usr/share/` are defined in the RPM macros `%{_bindir}` and
`%{_datadir}`
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
Co-authored-by: Robo <hop2deep@gmail.com>
Create the `/usr/bin/code` symlink during %install
so that the package owns and manages it.
Also, make it relative (for better relocatability).
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
* Commit non-py files
* Finish porting calculate and merge scripts for rpm
* Switch back to ts, add binaryDir
* Pass in app path
* Trim string before splitting
* Move files, apply PR feedback
* Add deps to exclude and crashpad handler dep
* polish