From fef49abfd58a5b92022fb2941a0e9fd57622bc59 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Tue, 10 Oct 2023 13:49:41 +0200 Subject: [PATCH 01/39] fix(windows): path of node-gyp with spectre mitigation (#1690) --- prepare_vscode.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prepare_vscode.sh b/prepare_vscode.sh index 46d920966c7..d798fa4d581 100755 --- a/prepare_vscode.sh +++ b/prepare_vscode.sh @@ -63,7 +63,7 @@ if [[ "${OS_NAME}" == "linux" ]]; then fi if [[ "${OS_NAME}" == "osx" ]]; then - CHILD_CONCURRENCY=1 yarn --network-timeout 180000 + CHILD_CONCURRENCY=1 yarn --frozen-lockfile --network-timeout 180000 yarn postinstall else @@ -81,7 +81,7 @@ else git am --3way --whitespace=fix ../../build/npm/gyp/patches/gyp_spectre_mitigation_support.patch npm install - npm_config_node_gyp=$( pwd ) + npm_config_node_gyp="$( pwd )/bin/node-gyp.js" export npm_config_node_gyp cd ../.. @@ -91,7 +91,7 @@ else export npm_config_arm_version=7 fi - CHILD_CONCURRENCY=1 yarn --check-files --network-timeout 180000 + CHILD_CONCURRENCY=1 yarn --frozen-lockfile --check-files --network-timeout 180000 fi setpath() { From f1fa60db6d5332bef6cb2fad55b809a48b76179c Mon Sep 17 00:00:00 2001 From: Ahhj93 <69793084+Ahhj93@users.noreply.github.com> Date: Fri, 13 Oct 2023 20:44:11 +0200 Subject: [PATCH 02/39] Update DOCS.md (#1679) --- DOCS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOCS.md b/DOCS.md index aa3ad5c2dd3..14ad9635f5f 100644 --- a/DOCS.md +++ b/DOCS.md @@ -198,7 +198,7 @@ $ defaults write com.vscodium ApplePressAndHoldEnabled -bool false ## How do I open VSCodium from the terminal? -For MacOS and Windows: +For macOS and Windows: - Go to the command palette (View | Command Palette...) - Choose `Shell command: Install 'codium' command in PATH`. From f4703205010920be145525d9524000bb22ddb9a9 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Thu, 2 Nov 2023 09:36:13 +0100 Subject: [PATCH 03/39] docs: reorganize docs pages and CONTRIBUTING.md (#1705) --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- CONTRIBUTING.md | 42 +++++++++++++++++++++++ README.md | 26 ++++++++------ docs/accounts-authentication.md | 17 ++++++++++ docs/extensions-compatibility.md | 27 +++++++++++++++ docs/{build.md => howto-build.md} | 2 +- DOCS.md => docs/index.md | 12 ++++--- docs/troubleshooting.md | 51 ++++++++++++++++++++++++++++ 8 files changed, 162 insertions(+), 17 deletions(-) create mode 100644 CONTRIBUTING.md create mode 100644 docs/accounts-authentication.md create mode 100644 docs/extensions-compatibility.md rename docs/{build.md => howto-build.md} (99%) rename DOCS.md => docs/index.md (96%) create mode 100644 docs/troubleshooting.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 5ae967f5e9d..967707d90be 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -14,7 +14,7 @@ A clear and concise description of what the bug is. - [ ] This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in VSCodium. **Please confirm that the issue/resolution isn't already documented** -- [ ] I checked [the Docs page](https://github.com/VSCodium/vscodium/blob/master/DOCS.md) and my issue is not mentioned there. +- [ ] I checked [the Docs page](https://github.com/VSCodium/vscodium/blob/master/docs/index.md) and [the Troubleshooting page](https://github.com/VSCodium/vscodium/blob/master/docs/troubleshooting.md) and my issue is not mentioned there. **To Reproduce** Steps to reproduce the behavior: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000000..0a490f56cd1 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,42 @@ +# Contributing + +:+1::tada: First off, thanks for taking the time to contribute! :tada::+1: + +#### Table Of Contents + +- [Code of Conduct](#code-of-conduct) +- [Reporting Bugs](#reporting-bugs) +- [Making Changes](#making-changes) + +## Code of Conduct + +This project and everyone participating in it is governed by the [VSCodium Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. + +## Reporting Bugs + +### Before Submitting an Issue + +Before creating bug reports, please check existing issues and [the Troubleshooting page](https://github.com/VSCodium/vscodium/blob/master/docs/troubleshooting.md) as you might find out that you don't need to create one. +When you are creating a bug report, please include as many details as possible. Fill out [the required template](https://github.com/VSCodium/vscodium/issues/new?&labels=bug&&template=bug_report.md), the information it asks for helps us resolve issues faster. + +## Making Changes + +If you want to make changes, please read [the Build page](./docs/howto-build.md). + +### Building VSCodium + +To build VSCOdium, please follow the command found in the section [`Build Scripts`](./docs/howto-build.md#build-scripts). + +### Updating patches + +If you want to update the existing patches, please follow the section [`Patch Update Process - Semi-Automated`](./docs/howto-build.md#patch-update-process-semiauto). + +### Add a new patch + +- firstly, you need to build VSCodium +- then use the command `patch.sh `, to initiate a new patch +- when the script pause at `Press any key when the conflict have been resolved...`, open `vscode` directory in **VSCodium** +- run `yarn watch` +- run `./script/code.sh` +- make your changes +- press any key to continue the script `patch.sh` diff --git a/README.md b/README.md index e8c378a466a..f614ff0ef21 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Download latest release here: [insiders](https://github.com/VSCodium/vscodium-insiders/releases) :tada: :tada: -[More info / helpful tips are here.](https://github.com/VSCodium/vscodium/blob/master/DOCS.md) +[More info / helpful tips are here.](https://github.com/VSCodium/vscodium/blob/master/docs/index.md) #### Install with Brew (Mac) @@ -60,7 +60,7 @@ brew tap homebrew/cask-versions brew install --cask vscodium-insiders ``` -*Note for macOS users: if you can't open the App, please read [the following troubleshooting](https://github.com/VSCodium/vscodium/wiki/Troubleshooting#macos).* +*Note for macOS users: if you can't open the App, please read [the following troubleshooting](https://github.com/VSCodium/vscodium/blob/master/docs/troubleshooting.md#macos).* #### Install with Windows Package Manager (WinGet) @@ -95,7 +95,7 @@ scoop install vscodium #### Install with snap (GNU/Linux) VSCodium is available in the [Snap Store](https://snapcraft.io/) as [Codium](https://snapcraft.io/codium), -thanks to the help of the [Snapcrafters](https://github.com/snapcrafters/codium) community. +thanks to the help of the [Snapcrafters](https://github.com/snapcrafters/codium) community. If your GNU/Linux distribution has support for [snaps](https://snapcraft.io/docs/installing-snapd): ```bash snap install codium --classic @@ -109,7 +109,7 @@ You can always install using the downloads (deb, rpm, tar) on the releases page install using your favorite package manager and get automatic updates. [@paulcarroty](https://github.com/paulcarroty) has set up a repository with instructions -for `apt`, `dnf` and `zypper` [here](https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo). +for `apt`, `dnf` and `zypper` [here](https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo). Any issues installing VSCodium using your package manager should be directed to that repository's issue tracker. @@ -118,11 +118,11 @@ Any issues installing VSCodium using your package manager should be directed to VSCodium is available in [AUR](https://wiki.archlinux.org/index.php/Arch_User_Repository), maintained by [@binex-dsk](https://github.com/binex-dsk) as package [vscodium-bin](https://aur.archlinux.org/packages/vscodium-bin/) (stable) and -as [vscodium-insiders-bin](https://aur.archlinux.org/packages/vscodium-insiders-bin). +as [vscodium-insiders-bin](https://aur.archlinux.org/packages/vscodium-insiders-bin). If you want to save disk space by having VSCodium use the Electron system-wide, you also have [vscodium-electron](https://aur.archlinux.org/packages/vscodium-electron), -maintained by [@m00nw4tch3r](https://aur.archlinux.org/account/m00nw4tch3r). +maintained by [@m00nw4tch3r](https://aur.archlinux.org/account/m00nw4tch3r). An alternative package [vscodium-git](https://aur.archlinux.org/packages/vscodium-git/), maintained by [@cedricroijakkers](https://github.com/cedricroijakkers), @@ -131,7 +131,7 @@ is also available should you wish to compile from source yourself. #### Flatpak Option (GNU/Linux) VSCodium is (unofficially) available as a Flatpak app [here](https://flathub.org/apps/details/com.vscodium.codium) -and the build repo is [here](https://github.com/flathub/com.vscodium.codium). +and the build repo is [here](https://github.com/flathub/com.vscodium.codium). If your distribution has support for [flatpak](https://flathub.org), and you have enabled the [flathub repo](https://flatpak.org/setup/): ```bash flatpak install flathub com.vscodium.codium @@ -140,7 +140,7 @@ flatpak run com.vscodium.codium ## Build -Build instructions can be found [here](https://github.com/VSCodium/vscodium/blob/master/docs/build.md) +Build instructions can be found [here](https://github.com/VSCodium/vscodium/blob/master/docs/howto-build.md) ## Why Does This Exist @@ -170,13 +170,17 @@ Microsoft's build process (which we are running to build the binaries) does down ### Documentation -For more information on getting all the telemetry disabled and tips for migrating from Visual Studio Code to VSCodium, have a look at this [Docs](https://github.com/VSCodium/vscodium/blob/master/DOCS.md) page. +For more information on getting all the telemetry disabled, tips for migrating from Visual Studio Code to VSCodium and more, have a look at [the Docs page](https://github.com/VSCodium/vscodium/blob/master/docs/index.md) page. + +### Troubleshooting + +If you have any issue, please check [the Troubleshooting page](https://github.com/VSCodium/vscodium/blob/master/docs/troubleshooting.md) or the existing issues. ### Extensions and the Marketplace -According to the VS Code Marketplace [Terms of Use](https://aka.ms/vsmarketplace-ToU), _you may only install and use Marketplace Offerings with Visual Studio Products and Services._ For this reason, VSCodium uses [open-vsx.org](https://open-vsx.org/), an open source registry for VS Code extensions. See the [Extensions + Marketplace](https://github.com/VSCodium/vscodium/blob/master/DOCS.md#extensions-marketplace) section on the Docs page for more details. +According to the VS Code Marketplace [Terms of Use](https://aka.ms/vsmarketplace-ToU), _you may only install and use Marketplace Offerings with Visual Studio Products and Services._ For this reason, VSCodium uses [open-vsx.org](https://open-vsx.org/), an open source registry for VS Code extensions. See the [Extensions + Marketplace](https://github.com/VSCodium/vscodium/blob/master/docs/index.md#extensions-marketplace) section on the Docs page for more details. -Please note that some Visual Studio Code extensions have licenses that restrict their use to the official Visual Studio Code builds and therefore do not work with VSCodium. See [this note](https://github.com/VSCodium/vscodium/blob/master/DOCS.md#proprietary-debugging-tools) on the Docs page for what's been found so far and possible workarounds. +Please note that some Visual Studio Code extensions have licenses that restrict their use to the official Visual Studio Code builds and therefore do not work with VSCodium. See [this note](https://github.com/VSCodium/vscodium/blob/master/docs/index.md#proprietary-debugging-tools) on the Docs page for what's been found so far and possible workarounds. ### How are the VSCodium binaries built? diff --git a/docs/accounts-authentication.md b/docs/accounts-authentication.md new file mode 100644 index 00000000000..42f42b4b18d --- /dev/null +++ b/docs/accounts-authentication.md @@ -0,0 +1,17 @@ +# Accounts authentication + +## GitHub + +The GitHub authentication has been patched to use personal access token. + +Here how to create a new personal access token: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token + +## Microsoft + +The Microsoft authentication hasn't been patched so its status is unknown. + +## When does it happened? + +An account authentication occurs only when an extension is asking for it. + +For `GitLens`, since the `12 non-plus` version, it won't ask for any new authentication. diff --git a/docs/extensions-compatibility.md b/docs/extensions-compatibility.md new file mode 100644 index 00000000000..9c1816978f2 --- /dev/null +++ b/docs/extensions-compatibility.md @@ -0,0 +1,27 @@ +# Extensions compatibility + +## Partial Compatibility + +- [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python) +> [Since May 2021](https://devblogs.microsoft.com/python/python-in-visual-studio-code-may-2021-release/), Python is using a closed source language server ([Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)) + +## Incompatibility + +- [LaTeX Workshop](https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop) +> It's officially unsupported: https://github.com/James-Yu/LaTeX-Workshop/wiki/FAQ#vscodium-is-not-officially-supported + +## Incompatibility due to licensing + +The following extensions are not compatible with VSCodium due to their licensing: + +- [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare) +- [Remote - Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) +- [Remote - SSH](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh) +- [Remote - SSH: Editing Configuration Files](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh-edit) +- [Remote - WSL](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl) + +## Replacements + +The following extensions are functional replacements for incompatible extensions: + +- [Open Remote - SSH](https://open-vsx.org/extension/jeanp413/open-remote-ssh) diff --git a/docs/build.md b/docs/howto-build.md similarity index 99% rename from docs/build.md rename to docs/howto-build.md index 25494e19b44..e95ac529d97 100644 --- a/docs/build.md +++ b/docs/howto-build.md @@ -1,4 +1,4 @@ -# Build +# How to build VSCodium ## Table of Contents diff --git a/DOCS.md b/docs/index.md similarity index 96% rename from DOCS.md rename to docs/index.md index 14ad9635f5f..9df6480b28e 100644 --- a/DOCS.md +++ b/docs/index.md @@ -10,14 +10,18 @@ - [How to self host your own VS Code Marketplace](#howto-selfhost-marketplace) - [Proprietary Debugging Tools](#proprietary-debugging-tools) - [Proprietary Extensions](#proprietary-extensions) +- [Extensions compatibility](https://github.com/VSCodium/vscodium/blob/master/docs/extensions-compatibility.md) - [Migrating from Visual Studio Code to VSCodium](#migrating) - [Sign in with GitHub](#signin-github) +- [Accounts authentication](https://github.com/VSCodium/vscodium/blob/master/docs/accounts-authentication.md) - [How do I run VSCodium in portable mode?](#portable) - [How do I fix the default file manager?](#file-manager) - [How do I press and hold a key and have it repeat in VSCodium?](#press-and-hold) - [How do I open VSCodium from the terminal?](#terminal-support) - [From Linux .tar.gz](#from-linux-targz) -- [How to build VSCodium](https://github.com/VSCodium/vscodium/blob/master/docs/build.md) +- [Troubleshooting](https://github.com/VSCodium/vscodium/blob/master/docs/troubleshooting.md) +- [Contributing](https://github.com/VSCodium/vscodium/blob/master/CONTRIBUTING.md) +- [How to build VSCodium](https://github.com/VSCodium/vscodium/blob/master/docs/howto-build.md) ## Getting all the Telemetry Out @@ -56,7 +60,7 @@ By default, the `product.json` file is set up to use [open-vsx.org](https://open ### How to use the Open VSX Registry -As noted above, the [Open VSX Registry](https://open-vsx.org/) is the pre-set extension gallery in VSCodium. Using the extension view in VSCodium will therefore by default use it. +As noted above, the [Open VSX Registry](https://open-vsx.org/) is the pre-set extension gallery in VSCodium. Using the extension view in VSCodium will therefore by default use it. See [this article](https://www.gitpod.io/blog/open-vsx/) for more information on the motivation behind Open VSX. ### How to use a different extension gallery @@ -96,7 +100,7 @@ Individual developers and enterprise companies in regulated or security-consciou There are likely other options, but the following were reported to work: -* [Open VSX](https://github.com/eclipse/openvsx) eclipse open-source project +* [Open VSX](https://github.com/eclipse/openvsx) eclipse open-source project While the public instance which is run by the Eclipse Foundation is the pre-set endpoint in VSCodium, you can host your own instance. > Open VSX is a [vendor-neutral](https://projects.eclipse.org/projects/ecd.openvsx) open-source alternative to the [Visual Studio Marketplace](https://marketplace.visualstudio.com/vscode). It provides a server application that manages [VS Code extensions](https://code.visualstudio.com/api) in a database, a web application similar to the VS Code Marketplace, and a command-line tool for publishing extensions similar to [vsce](https://code.visualstudio.com/api/working-with-extensions/publishing-extension#vsce). @@ -107,7 +111,7 @@ There are likely other options, but the following were reported to work: ### How to use the VS Code Marketplace -As with any online service, ensure you've understood [its terms of use](https://aka.ms/vsmarketplace-ToU). +As with any online service, ensure you've understood [its terms of use](https://aka.ms/vsmarketplace-ToU). Also note that this extension gallery hosts multiple extensions that are non-free and have license-agreements that explicitly forbid using them in non-Microsoft products, along with using telemetry. The endpoint URLs are given in the [example above](#howto-switch-marketplace). diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md new file mode 100644 index 00000000000..170df405236 --- /dev/null +++ b/docs/troubleshooting.md @@ -0,0 +1,51 @@ +# Troubleshooting + +## Table of Contents + +- [Linux](#linux) + - [Fonts showing up as rectangles](#linux-fonts-rectangle) + - [Global menu workaround for KDE](#linux-kde-global-menu) +- [macOS](#macos) + - [App can't be opened because Apple cannot check it for malicious software](#macos-unidentified-developer) + - ["VSCodium.app" is damaged and can’t be opened. You should move it to the Bin](#macos-quarantine) + + +## Linux + +#### *Fonts showing up as rectangles* + +The following command should help: + +``` +rm -rf ~/.cache/fontconfig +rm -rf ~/snap/codium/common/.cache +fc-cache -r +``` + +#### *Global menu workaround for KDE* + +Install these packages on Fedora: + +* libdbusmenu-devel +* dbus-glib-devel +* libdbusmenu + +On Ubuntu this package called `libdbusmenu-glib4`. + +Credits: [Gerson](https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/issues/91) + +## macOS + +Since the App is signed with self-signed certificate, on the first launch, you might see the following messages: + +#### *App can't be opened because Apple cannot check it for malicious software* + +You can right-click the App and choose `Open`. + +#### *"VSCodium.app" is damaged and can’t be opened. You should move it to the Bin.* + +The following command will remove the quarantine attribute. + +``` +xattr -r -d com.apple.quarantine /Applications/VSCodium.app +``` From ce52a2931ba59c71dc9420ef8f1d2f64177bb658 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Thu, 2 Nov 2023 10:05:07 +0100 Subject: [PATCH 04/39] feat: disable cloud (#1709) --- patches/disable-cloud.patch | 58 +++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 patches/disable-cloud.patch diff --git a/patches/disable-cloud.patch b/patches/disable-cloud.patch new file mode 100644 index 00000000000..98a44ce849e --- /dev/null +++ b/patches/disable-cloud.patch @@ -0,0 +1,58 @@ +diff --git a/src/vs/workbench/contrib/editSessions/browser/editSessionsStorageService.ts b/src/vs/workbench/contrib/editSessions/browser/editSessionsStorageService.ts +index 00914aa..d5cfc18 100644 +--- a/src/vs/workbench/contrib/editSessions/browser/editSessionsStorageService.ts ++++ b/src/vs/workbench/contrib/editSessions/browser/editSessionsStorageService.ts +@@ -7,3 +7,3 @@ import { Disposable, DisposableStore } from 'vs/base/common/lifecycle'; + import { localize } from 'vs/nls'; +-import { Action2, MenuId, MenuRegistry, registerAction2 } from 'vs/platform/actions/common/actions'; ++import { Action2, MenuId, registerAction2 } from 'vs/platform/actions/common/actions'; + import { ContextKeyExpr, IContextKey, IContextKeyService } from 'vs/platform/contextkey/common/contextkey'; +@@ -17,3 +17,3 @@ import { AuthenticationSession, AuthenticationSessionsChangeEvent, IAuthenticati + import { IExtensionService } from 'vs/workbench/services/extensions/common/extensions'; +-import { EDIT_SESSIONS_SIGNED_IN, EditSession, EDIT_SESSION_SYNC_CATEGORY, IEditSessionsStorageService, EDIT_SESSIONS_SIGNED_IN_KEY, IEditSessionsLogService, SyncResource, EDIT_SESSIONS_PENDING_KEY } from 'vs/workbench/contrib/editSessions/common/editSessions'; ++import { EDIT_SESSIONS_SIGNED_IN, EditSession, EDIT_SESSION_SYNC_CATEGORY, IEditSessionsStorageService, EDIT_SESSIONS_SIGNED_IN_KEY, IEditSessionsLogService, SyncResource } from 'vs/workbench/contrib/editSessions/common/editSessions'; + import { IDialogService } from 'vs/platform/dialogs/common/dialogs'; +@@ -93,3 +93,2 @@ export class EditSessionsWorkbenchService extends Disposable implements IEditSes + +- this.registerSignInAction(); + this.registerResetAuthenticationAction(); +@@ -455,39 +454,2 @@ export class EditSessionsWorkbenchService extends Disposable implements IEditSes + +- private registerSignInAction() { +- const that = this; +- const id = 'workbench.editSessions.actions.signIn'; +- const when = ContextKeyExpr.and(ContextKeyExpr.equals(EDIT_SESSIONS_PENDING_KEY, false), ContextKeyExpr.equals(EDIT_SESSIONS_SIGNED_IN_KEY, false)); +- this._register(registerAction2(class ResetEditSessionAuthenticationAction extends Action2 { +- constructor() { +- super({ +- id, +- title: localize('sign in', 'Turn on Cloud Changes...'), +- category: EDIT_SESSION_SYNC_CATEGORY, +- precondition: when, +- menu: [{ +- id: MenuId.CommandPalette, +- }, +- { +- id: MenuId.AccountsContext, +- group: '2_editSessions', +- when, +- }] +- }); +- } +- +- async run() { +- return await that.initialize('write', false); +- } +- })); +- +- this._register(MenuRegistry.appendMenuItem(MenuId.AccountsContext, { +- group: '2_editSessions', +- command: { +- id, +- title: localize('sign in badge', 'Turn on Cloud Changes... (1)'), +- }, +- when: ContextKeyExpr.and(ContextKeyExpr.equals(EDIT_SESSIONS_PENDING_KEY, true), ContextKeyExpr.equals(EDIT_SESSIONS_SIGNED_IN_KEY, false)) +- })); +- } +- + private registerResetAuthenticationAction() { From f3a6b9555b7cd9620da2950a368a817971e7b8c8 Mon Sep 17 00:00:00 2001 From: Max Kratz Date: Tue, 7 Nov 2023 19:20:49 +0100 Subject: [PATCH 05/39] docs: fixes typos (#1714) --- CONTRIBUTING.md | 6 +++--- docs/accounts-authentication.md | 6 +++--- docs/howto-build.md | 10 +++++----- docs/index.md | 6 +++--- docs/troubleshooting.md | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0a490f56cd1..8ce05e3e719 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,7 @@ If you want to make changes, please read [the Build page](./docs/howto-build.md) ### Building VSCodium -To build VSCOdium, please follow the command found in the section [`Build Scripts`](./docs/howto-build.md#build-scripts). +To build VSCodium, please follow the command found in the section [`Build Scripts`](./docs/howto-build.md#build-scripts). ### Updating patches @@ -33,9 +33,9 @@ If you want to update the existing patches, please follow the section [`Patch Up ### Add a new patch -- firstly, you need to build VSCodium +- first, you need to build VSCodium - then use the command `patch.sh `, to initiate a new patch -- when the script pause at `Press any key when the conflict have been resolved...`, open `vscode` directory in **VSCodium** +- when the script pauses at `Press any key when the conflict have been resolved...`, open `vscode` directory in **VSCodium** - run `yarn watch` - run `./script/code.sh` - make your changes diff --git a/docs/accounts-authentication.md b/docs/accounts-authentication.md index 42f42b4b18d..c612dc37406 100644 --- a/docs/accounts-authentication.md +++ b/docs/accounts-authentication.md @@ -2,15 +2,15 @@ ## GitHub -The GitHub authentication has been patched to use personal access token. +The GitHub authentication has been patched to use personal access tokens. -Here how to create a new personal access token: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token +Here is how to create a new personal access token: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token ## Microsoft The Microsoft authentication hasn't been patched so its status is unknown. -## When does it happened? +## When does it happen? An account authentication occurs only when an extension is asking for it. diff --git a/docs/howto-build.md b/docs/howto-build.md index e95ac529d97..c1248ce2fb8 100644 --- a/docs/howto-build.md +++ b/docs/howto-build.md @@ -50,7 +50,7 @@ - 7z - [WiX Toolset](http://wixtoolset.org/releases/) - python3 -- 'Tools for Native Modules' from official Node.js installer +- 'Tools for Native Modules' from hte official Node.js installer ## Build Scripts @@ -64,7 +64,7 @@ A build helper script can be found at `build/build.sh`. The `insider` version can be built with `./build/build.sh -i` on the `insider` branch. -You can try the lastest version with the command `./build/build.sh -il` but the patches might not be up to date. +You can try the latest version with the command `./build/build.sh -il` but the patches might not be up to date. ## Build in Docker @@ -131,10 +131,10 @@ review-tools.snap-review --allow-classic codium*.snap - run `./build/build_.sh`, if a patch is failing then, - run `./build/update_patches.sh` -- when the script pause at `Press any key when the conflict have been resolved...`, open `vscode` directory in **VSCodium** +- when the script pauses at `Press any key when the conflict have been resolved...`, open `vscode` directory in **VSCodium** - fix all the `*.rej` files - run `yarn watch` -- run `./script/code.sh` until everything ok +- run `./script/code.sh` until everything is ok - press any key to continue the script `update_patches.sh` ## Manual @@ -145,5 +145,5 @@ review-tools.snap-review --allow-classic codium*.snap - run `git apply --reject ../patches/.patch` - fix all the `*.rej` files - run `yarn watch` -- run `./script/code.sh` until everything ok +- run `./script/code.sh` until everything is ok - run `git diff > ../patches/.patch` diff --git a/docs/index.md b/docs/index.md index 9df6480b28e..7c29907b8b8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -96,7 +96,7 @@ with the content: ### How to self-host your own extension gallery -Individual developers and enterprise companies in regulated or security-conscious industries can self-host their own extension gallery. In all of these cases you'd enter its endpoint URLs as noted above, replacing `marketplace.visualstudio.com` with `your-self-hosted-marketplace-address.example.com` (or IP address), setting `cacheUrl` / `VSCODE_GALLERY_CACHE_URL` to an empty string. +Individual developers and enterprise companies in regulated or security-conscious industries can self-host their own extension gallery. In all of these cases, you'd enter its endpoint URLs as noted above, replacing `marketplace.visualstudio.com` with `your-self-hosted-marketplace-address.example.com` (or IP address), setting `cacheUrl` / `VSCODE_GALLERY_CACHE_URL` to an empty string. There are likely other options, but the following were reported to work: @@ -164,7 +164,7 @@ To copy your settings manually: In VSCodium, `Sign in with GitHub` is using a Personal Access Token.
Follow the documentation https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token to create your token.
-Select the scopes dependending of the extension which need access to GitHub. (GitLens requires the `repo` scope.) +Select the scopes dependending on the extension which needs access to GitHub. (GitLens requires the `repo` scope.) ### Linux @@ -177,7 +177,7 @@ You can follow the [Portable Mode instructions](https://code.visualstudio.com/do ## How do I fix the default file manager (Linux)? -In some case, VSCodium becomes the file manager used to open directories (instead of apps like Dolphin or Nautilus).
+In some cases, VSCodium becomes the file manager used to open directories (instead of apps like Dolphin or Nautilus).
It's due to that no application was defined as the default file manager and so the system is using the latest capable application. To set the default app, create the file `~/.config/mimeapps.list` with the content like: diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 170df405236..e32188cfee5 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -30,13 +30,13 @@ Install these packages on Fedora: * dbus-glib-devel * libdbusmenu -On Ubuntu this package called `libdbusmenu-glib4`. +On Ubuntu this package is called `libdbusmenu-glib4`. Credits: [Gerson](https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/issues/91) ## macOS -Since the App is signed with self-signed certificate, on the first launch, you might see the following messages: +Since the App is signed with a self-signed certificate, on the first launch, you might see the following messages: #### *App can't be opened because Apple cannot check it for malicious software* From e658a1cf0b5c356a73fb767798324fbc9554a7ee Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Tue, 7 Nov 2023 19:24:04 +0100 Subject: [PATCH 06/39] build: use specific python version --- .github/workflows/insider-macos.yml | 5 +++++ .github/workflows/stable-macos.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/insider-macos.yml b/.github/workflows/insider-macos.yml index 3c9493b04dd..dbd7864bfeb 100644 --- a/.github/workflows/insider-macos.yml +++ b/.github/workflows/insider-macos.yml @@ -55,6 +55,11 @@ jobs: with: node-version: '18.17' + - name: Setup Python 3 + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Clone VSCode repo env: RELEASE_VERSION: ${{ github.event.inputs.release_version }} diff --git a/.github/workflows/stable-macos.yml b/.github/workflows/stable-macos.yml index 61dfd98743f..eea44436d84 100644 --- a/.github/workflows/stable-macos.yml +++ b/.github/workflows/stable-macos.yml @@ -52,6 +52,11 @@ jobs: with: node-version: '18.17' + - name: Setup Python 3 + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Clone VSCode repo run: . get_repo.sh From 6748d842bb81ebc0df382b12974955999c756a7c Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Fri, 10 Nov 2023 13:31:58 +0100 Subject: [PATCH 07/39] build: skip setup-python on self-hosted runner --- .github/workflows/insider-macos.yml | 1 + .github/workflows/stable-macos.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/insider-macos.yml b/.github/workflows/insider-macos.yml index dbd7864bfeb..e07ae54802f 100644 --- a/.github/workflows/insider-macos.yml +++ b/.github/workflows/insider-macos.yml @@ -59,6 +59,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.11' + if: env.VSCODE_ARCH == 'x64' - name: Clone VSCode repo env: diff --git a/.github/workflows/stable-macos.yml b/.github/workflows/stable-macos.yml index eea44436d84..50b1dffe35c 100644 --- a/.github/workflows/stable-macos.yml +++ b/.github/workflows/stable-macos.yml @@ -56,6 +56,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.11' + if: env.VSCODE_ARCH == 'x64' - name: Clone VSCode repo run: . get_repo.sh From fbeaf45cdbc3fb48a1b7fbe807c4439a85b55374 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Fri, 10 Nov 2023 14:23:58 +0100 Subject: [PATCH 08/39] feat(1.84.2): fix patch (#1715) --- patches/brand.patch | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/patches/brand.patch b/patches/brand.patch index a9f3ab76598..c8f9d49e7e5 100644 --- a/patches/brand.patch +++ b/patches/brand.patch @@ -1056,7 +1056,7 @@ index 9141402..b1aa321 100644 + description: localize('walkthroughs.steps.completionEvents.onCommand', 'Check off step when a given command is executed anywhere in VSCodium.'), body: 'onCommand:${1:commandId}' diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts b/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts -index 69520a4..1755696 100644 +index b844d92..9da5c43 100644 --- a/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts +++ b/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts @@ -173,4 +173,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ @@ -1072,13 +1072,13 @@ index 69520a4..1755696 100644 - description: localize('gettingStarted.settingsSync.description.interpolated', "Keep your essential VS Code customizations backed up and updated across all your devices.\n{0}", Button(localize('enableSync', "Backup and Sync Settings"), 'command:workbench.userDataSync.actions.turnOn')), + title: localize('gettingStarted.settingsSync.title', "Personalize your VSCodium"), + description: localize('gettingStarted.settingsSync.description.interpolated', "Keep your essential VSCodium customizations backed up and updated across all your devices.\n{0}", Button(localize('enableSync', "Backup and Sync Settings"), 'command:workbench.userDataSync.actions.turnOn')), - when: 'syncStatus != uninitialized', -@@ -205,3 +205,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ + completionEvents: ['onEvent:sync-enabled'], +@@ -204,3 +204,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.commandPalette.title', "One shortcut to access everything"), - description: localize('gettingStarted.commandPalette.description.interpolated', "Commands are the keyboard way to accomplish any task in VS Code. **Practice** by looking up your frequent ones to save time.\n{0}\n__Try searching for 'view toggle'.__", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')), + description: localize('gettingStarted.commandPalette.description.interpolated', "Commands are the keyboard way to accomplish any task in VSCodium. **Practice** by looking up your frequent ones to save time.\n{0}\n__Try searching for 'view toggle'.__", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')), media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' }, -@@ -211,6 +211,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -210,6 +210,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.extensions.title', "Limitless extensibility"), - description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopular', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')), + description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VSCodium's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopular', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')), @@ -1087,36 +1087,36 @@ index 69520a4..1755696 100644 - type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions-web.svg' + type: 'svg', altText: 'VSCodium extension marketplace with featured language extensions', path: 'extensions-web.svg' }, -@@ -229,3 +229,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -228,3 +228,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"), - description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFileFolder')), + description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VSCodium.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFileFolder')), when: 'isMac && workspaceFolderCount == 0', -@@ -238,3 +238,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -237,3 +237,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"), - description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFolder')), + description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VSCodium.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFolder')), when: '!isMac && workspaceFolderCount == 0', -@@ -259,4 +259,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -258,4 +258,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ id: 'SetupWeb', - title: localize('gettingStarted.setupWeb.title', "Get Started with VS Code for the Web"), - description: localize('gettingStarted.setupWeb.description', "Discover the best customizations to make VS Code for the Web yours."), + title: localize('gettingStarted.setupWeb.title', "Get Started with VSCodium for the Web"), + description: localize('gettingStarted.setupWeb.description', "Discover the best customizations to make VSCodium for the Web yours."), isFeatured: true, -@@ -270,4 +270,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -269,4 +269,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ id: 'settingsSyncWeb', - title: localize('gettingStarted.settingsSync.title', "Personalize your VS Code"), - description: localize('gettingStarted.settingsSync.description.interpolated', "Keep your essential VS Code customizations backed up and updated across all your devices.\n{0}", Button(localize('enableSync', "Backup and Sync Settings"), 'command:workbench.userDataSync.actions.turnOn')), + title: localize('gettingStarted.settingsSync.title', "Personalize your VSCodium"), + description: localize('gettingStarted.settingsSync.description.interpolated', "Keep your essential VSCodium customizations backed up and updated across all your devices.\n{0}", Button(localize('enableSync', "Backup and Sync Settings"), 'command:workbench.userDataSync.actions.turnOn')), when: 'syncStatus != uninitialized', -@@ -291,3 +291,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -290,3 +290,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.commandPalette.title', "One shortcut to access everything"), - description: localize('gettingStarted.commandPalette.description.interpolated', "Commands are the keyboard way to accomplish any task in VS Code. **Practice** by looking up your frequent ones to save time.\n{0}\n__Try searching for 'view toggle'.__", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')), + description: localize('gettingStarted.commandPalette.description.interpolated', "Commands are the keyboard way to accomplish any task in VSCodium. **Practice** by looking up your frequent ones to save time.\n{0}\n__Try searching for 'view toggle'.__", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')), media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' }, -@@ -306,6 +306,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -305,6 +305,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.extensions.title', "Limitless extensibility"), - description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopular', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')), + description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VSCodium's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopular', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')), @@ -1125,17 +1125,17 @@ index 69520a4..1755696 100644 - type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions-web.svg' + type: 'svg', altText: 'VSCodium extension marketplace with featured language extensions', path: 'extensions-web.svg' }, -@@ -324,3 +324,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -323,3 +323,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"), - description: localize('gettingStarted.setup.OpenFolderWeb.description.interpolated', "You're all set to start coding. You can open a local project or a remote repository to get your files into VS Code.\n{0}\n{1}", Button(localize('openFolder', "Open Folder"), 'command:workbench.action.addRootFolder'), Button(localize('openRepository', "Open Repository"), 'command:remoteHub.openRepository')), + description: localize('gettingStarted.setup.OpenFolderWeb.description.interpolated', "You're all set to start coding. You can open a local project or a remote repository to get your files into VSCodium.\n{0}\n{1}", Button(localize('openFolder', "Open Folder"), 'command:workbench.action.addRootFolder'), Button(localize('openRepository', "Open Repository"), 'command:remoteHub.openRepository')), when: 'workspaceFolderCount == 0', -@@ -349,3 +349,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -348,3 +348,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ next: 'Intermediate', - description: localize('gettingStarted.beginner.description', "Jump right into VS Code and get an overview of the must-have features."), + description: localize('gettingStarted.beginner.description', "Jump right into VSCodium and get an overview of the must-have features."), content: { -@@ -373,6 +373,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -372,6 +372,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.extensions.title', "Limitless extensibility"), - description: localize('gettingStarted.extensions.description.interpolated', "Extensions are VS Code's power-ups. They range from handy productivity hacks, expanding out-of-the-box features, to adding completely new capabilities.\n{0}", Button(localize('browseRecommended', "Browse Recommended Extensions"), 'command:workbench.extensions.action.showRecommendedExtensions')), + description: localize('gettingStarted.extensions.description.interpolated', "Extensions are VSCodium's power-ups. They range from handy productivity hacks, expanding out-of-the-box features, to adding completely new capabilities.\n{0}", Button(localize('browseRecommended', "Browse Recommended Extensions"), 'command:workbench.extensions.action.showRecommendedExtensions')), @@ -1144,7 +1144,7 @@ index 69520a4..1755696 100644 - type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions.svg' + type: 'svg', altText: 'VSCodium extension marketplace with featured language extensions', path: 'extensions.svg' }, -@@ -382,5 +382,5 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -381,5 +381,5 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.settings.title', "Tune your settings"), - description: localize('gettingStarted.settings.description.interpolated', "Tweak every aspect of VS Code and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}", Button(localize('tweakSettings', "Tweak my Settings"), 'command:toSide:workbench.action.openSettings')), + description: localize('gettingStarted.settings.description.interpolated', "Tweak every aspect of VSCodium and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}", Button(localize('tweakSettings', "Tweak my Settings"), 'command:toSide:workbench.action.openSettings')), @@ -1152,7 +1152,7 @@ index 69520a4..1755696 100644 - type: 'svg', altText: 'VS Code Settings', path: 'settings.svg' + type: 'svg', altText: 'VSCodium Settings', path: 'settings.svg' }, -@@ -389,6 +389,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -388,6 +388,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ id: 'profiles', - title: localize('gettingStarted.profiles.title', "Customize VS Code with Profiles"), - description: localize('gettingStarted.profiles.description.interpolated', "Profiles let you create sets of VS Code customizations that include settings, extensions and UI state. Create your own profile from scratch or use the predefined set of profile templates for your specific workflow.\n{0}", Button(localize('tryProfiles', "Try Profiles"), 'command:workbench.profiles.actions.createProfile')), @@ -1162,7 +1162,7 @@ index 69520a4..1755696 100644 - type: 'svg', altText: 'VS Code Profiles', path: 'profiles.svg' + type: 'svg', altText: 'VSCodium Profiles', path: 'profiles.svg' }, -@@ -407,4 +407,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -406,4 +406,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.videoTutorial.title', "Lean back and learn"), - description: localize('gettingStarted.videoTutorial.description.interpolated', "Watch the first in a series of short & practical video tutorials for VS Code's key features.\n{0}", Button(localize('watch', "Watch Tutorial"), 'https://aka.ms/vscode-getting-started-video')), - media: { type: 'svg', altText: 'VS Code Settings', path: 'learn.svg' }, From dfc41b29116d372ecd2a9f726fe37463d5e28ea6 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Mon, 13 Nov 2023 13:40:07 +0100 Subject: [PATCH 09/39] fix(windows): disable background update for MSI (#1722) --- patches/update-msi.patch | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 patches/update-msi.patch diff --git a/patches/update-msi.patch b/patches/update-msi.patch new file mode 100644 index 00000000000..c4c5d4dc075 --- /dev/null +++ b/patches/update-msi.patch @@ -0,0 +1,9 @@ +diff --git a/src/vs/platform/update/electron-main/updateService.win32.ts b/src/vs/platform/update/electron-main/updateService.win32.ts +index 99bf807..b5b4333 100644 +--- a/src/vs/platform/update/electron-main/updateService.win32.ts ++++ b/src/vs/platform/update/electron-main/updateService.win32.ts +@@ -156,3 +156,3 @@ export class Win32UpdateService extends AbstractUpdateService implements IRelaun + }).then(packagePath => { +- const fastUpdatesEnabled = this.configurationService.getValue('update.enableWindowsBackgroundUpdates'); ++ const fastUpdatesEnabled = getUpdateType() == UpdateType.Setup && this.configurationService.getValue('update.enableWindowsBackgroundUpdates'); + From b8eac1f27bed2fc1a481a700adf0e4bc58296f2a Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 15 Nov 2023 17:31:04 +0100 Subject: [PATCH 10/39] feat: notarize commit id (#1728) --- .github/workflows/insider-linux.yml | 6 -- .github/workflows/insider-macos.yml | 6 -- .github/workflows/insider-spearhead.yml | 38 +++++++- .github/workflows/insider-windows.yml | 6 -- .github/workflows/stable-linux.yml | 6 -- .github/workflows/stable-macos.yml | 6 -- .github/workflows/stable-spearhead.yml | 101 +++++++++++++++++++++ .github/workflows/stable-windows.yml | 6 -- build/build.sh | 6 +- get_repo.sh | 32 +++---- prepare_src.sh | 29 ++++++ stable.json | 4 + update_insider.sh => update_qualityjson.sh | 6 +- 13 files changed, 188 insertions(+), 64 deletions(-) create mode 100644 .github/workflows/stable-spearhead.yml create mode 100644 prepare_src.sh create mode 100644 stable.json rename update_insider.sh => update_qualityjson.sh (67%) diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index d941f33272e..0d60ceef112 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -6,14 +6,9 @@ on: release_version: type: string description: Forced release version - new_release: - type: boolean - description: Force new Release test_asset_builder: type: boolean description: Test the assets builder - schedule: - - cron: '0 8 * * *' push: branches: [ insider ] paths-ignore: @@ -151,7 +146,6 @@ jobs: - name: Check existing VSCodium tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NEW_RELEASE: ${{ github.event.inputs.new_release }} run: ./check_tags.sh if: env.SHOULD_DEPLOY == 'yes' diff --git a/.github/workflows/insider-macos.yml b/.github/workflows/insider-macos.yml index e07ae54802f..0302b681aa8 100644 --- a/.github/workflows/insider-macos.yml +++ b/.github/workflows/insider-macos.yml @@ -6,14 +6,9 @@ on: release_version: type: string description: Forced release version - new_release: - type: boolean - description: Force new Release test_asset_builder: type: boolean description: Test the assets builder - schedule: - - cron: '0 8 * * *' push: branches: [ insider ] paths-ignore: @@ -74,7 +69,6 @@ jobs: - name: Check existing VSCodium tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NEW_RELEASE: ${{ github.event.inputs.new_release }} run: . check_tags.sh if: env.SHOULD_DEPLOY == 'yes' diff --git a/.github/workflows/insider-spearhead.yml b/.github/workflows/insider-spearhead.yml index 89e235d992a..69ddaf6cd99 100644 --- a/.github/workflows/insider-spearhead.yml +++ b/.github/workflows/insider-spearhead.yml @@ -2,6 +2,10 @@ name: insider-spearhead on: workflow_dispatch: + inputs: + new_release: + type: boolean + description: Force new Release schedule: - cron: '0 7 * * *' @@ -33,6 +37,7 @@ jobs: - name: Check existing VSCodium tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NEW_RELEASE: ${{ github.event.inputs.new_release }} run: . check_tags.sh - name: Compute cache key @@ -59,10 +64,39 @@ jobs: run: ./build.sh if: env.SHOULD_BUILD == 'yes' - - name: Update insider.json - run: ./update_insider.sh + - name: Update .json + run: ./update_qualityjson.sh env: GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }} GITHUB_USERNAME: ${{ github.repository_owner }} if: env.SHOULD_BUILD == 'yes' + - name: Prepare assets + run: ./prepare_src.sh + if: env.SHOULD_BUILD == 'yes' + + - name: Release + env: + GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }} + GITHUB_USERNAME: ${{ github.repository_owner }} + run: ./release.sh + if: env.SHOULD_BUILD == 'yes' + + - name: Dispatch Linux build + uses: peter-evans/repository-dispatch@v2 + with: + event-type: 'insider-linux' + if: env.SHOULD_BUILD == 'yes' + + - name: Dispatch Windows build + uses: peter-evans/repository-dispatch@v2 + with: + event-type: 'insider-windows' + if: env.SHOULD_BUILD == 'yes' + + - name: Dispatch macOS build + uses: peter-evans/repository-dispatch@v2 + with: + event-type: 'insider-macos' + if: env.SHOULD_BUILD == 'yes' + diff --git a/.github/workflows/insider-windows.yml b/.github/workflows/insider-windows.yml index 6ed6a507865..76eb5e0d96f 100644 --- a/.github/workflows/insider-windows.yml +++ b/.github/workflows/insider-windows.yml @@ -6,14 +6,9 @@ on: release_version: type: string description: Forced release version - new_release: - type: boolean - description: Force new Release test_asset_builder: type: boolean description: Test the assets builder - schedule: - - cron: '0 8 * * *' push: branches: [ insider ] paths-ignore: @@ -81,7 +76,6 @@ jobs: - name: Check existing VSCodium tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NEW_RELEASE: ${{ github.event.inputs.new_release }} run: ./check_tags.sh if: env.SHOULD_DEPLOY == 'yes' diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index 34e6f2780db..c02547d63be 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -3,17 +3,12 @@ name: stable-linux on: workflow_dispatch: inputs: - new_release: - type: boolean - description: Force new Release force_version: type: boolean description: Force update version test_asset_builder: type: boolean description: Test the assets builder - schedule: - - cron: '0 18 * * *' push: branches: [ master ] paths-ignore: @@ -146,7 +141,6 @@ jobs: - name: Check existing VSCodium tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NEW_RELEASE: ${{ github.event.inputs.new_release }} run: ./check_tags.sh if: env.SHOULD_DEPLOY == 'yes' diff --git a/.github/workflows/stable-macos.yml b/.github/workflows/stable-macos.yml index 50b1dffe35c..3f85767ba6f 100644 --- a/.github/workflows/stable-macos.yml +++ b/.github/workflows/stable-macos.yml @@ -3,17 +3,12 @@ name: stable-macos on: workflow_dispatch: inputs: - new_release: - type: boolean - description: Force new Release force_version: type: boolean description: Force update version test_asset_builder: type: boolean description: Test the assets builder - schedule: - - cron: '0 18 * * *' push: branches: [ master ] paths-ignore: @@ -69,7 +64,6 @@ jobs: - name: Check existing VSCodium tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NEW_RELEASE: ${{ github.event.inputs.new_release }} run: . check_tags.sh if: env.SHOULD_DEPLOY == 'yes' diff --git a/.github/workflows/stable-spearhead.yml b/.github/workflows/stable-spearhead.yml new file mode 100644 index 00000000000..2fe70fcd6dd --- /dev/null +++ b/.github/workflows/stable-spearhead.yml @@ -0,0 +1,101 @@ +name: insider-spearhead + +on: + workflow_dispatch: + inputs: + new_release: + type: boolean + description: Force new Release + schedule: + - cron: '0 18 * * *' + +jobs: + build: + runs-on: [self-hosted, macOS, ARM64] + env: + APP_NAME: VSCodium + ASSETS_REPOSITORY: ${{ github.repository }} + VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions + OS_NAME: osx + VSCODE_ARCH: arm64 + VSCODE_LATEST: yes + VSCODE_QUALITY: stable + + steps: + - uses: actions/checkout@v4 + with: + ref: insider + + - name: Setup Node.js environment + uses: actions/setup-node@v4 + with: + node-version: '18' + + - name: Clone VSCode repo + run: . get_repo.sh + + - name: Check existing VSCodium tags/releases + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NEW_RELEASE: ${{ github.event.inputs.new_release }} + run: . check_tags.sh + + - name: Compute cache key + id: yarnCacheKey + run: echo "value=$(node build/azure-pipelines/computeYarnCacheKey.js)" >> $GITHUB_OUTPUT + if: env.SHOULD_BUILD == 'yes' + + - name: Get yarn cache directory path + id: yarnCacheDirPath + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT + if: env.SHOULD_BUILD == 'yes' + + - name: Cache yarn directory + uses: actions/cache@v3 + with: + path: ${{ steps.yarnCacheDirPath.outputs.dir }} + key: ${{ env.OS_NAME }}-${{ env.VSCODE_ARCH }}-yarnCacheDir-${{ steps.yarnCacheKey.outputs.value }} + restore-keys: ${{ env.OS_NAME }}-${{ env.VSCODE_ARCH }}-yarnCacheDir- + if: env.SHOULD_BUILD == 'yes' + + - name: Build + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: ./build.sh + if: env.SHOULD_BUILD == 'yes' + + - name: Update .json + run: ./update_qualityjson.sh + env: + GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }} + GITHUB_USERNAME: ${{ github.repository_owner }} + if: env.SHOULD_BUILD == 'yes' + + - name: Prepare assets + run: ./prepare_src.sh + if: env.SHOULD_BUILD == 'yes' + + - name: Release + env: + GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }} + GITHUB_USERNAME: ${{ github.repository_owner }} + run: ./release.sh + if: env.SHOULD_BUILD == 'yes' + + - name: Dispatch Linux build + uses: peter-evans/repository-dispatch@v2 + with: + event-type: 'stable-linux' + if: env.SHOULD_BUILD == 'yes' + + - name: Dispatch Windows build + uses: peter-evans/repository-dispatch@v2 + with: + event-type: 'stable-windows' + if: env.SHOULD_BUILD == 'yes' + + - name: Dispatch macOS build + uses: peter-evans/repository-dispatch@v2 + with: + event-type: 'stable-macos' + if: env.SHOULD_BUILD == 'yes' diff --git a/.github/workflows/stable-windows.yml b/.github/workflows/stable-windows.yml index c2d4ef0e7eb..df9e2d458bd 100644 --- a/.github/workflows/stable-windows.yml +++ b/.github/workflows/stable-windows.yml @@ -3,17 +3,12 @@ name: stable-windows on: workflow_dispatch: inputs: - new_release: - type: boolean - description: Force new Release force_version: type: boolean description: Force update version test_asset_builder: type: boolean description: Test the assets builder - schedule: - - cron: '0 18 * * *' push: branches: [ master ] paths-ignore: @@ -77,7 +72,6 @@ jobs: - name: Check existing VSCodium tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NEW_RELEASE: ${{ github.event.inputs.new_release }} run: ./check_tags.sh if: env.SHOULD_DEPLOY == 'yes' diff --git a/build/build.sh b/build/build.sh index fffce8ee848..fe553589d25 100755 --- a/build/build.sh +++ b/build/build.sh @@ -102,9 +102,9 @@ if [[ "${SKIP_BUILD}" == "no" ]]; then . build.sh - if [[ "${VSCODE_QUALITY}" == "insider" && "${VSCODE_LATEST}" == "yes" ]]; then - jsonTmp=$( cat "insider.json" | jq --arg 'tag' "${MS_TAG/\-insider/}" --arg 'commit' "${MS_COMMIT}" '. | .tag=$tag | .commit=$commit' ) - echo "${jsonTmp}" > "insider.json" && unset jsonTmp + if [[ "${VSCODE_LATEST}" == "yes" ]]; then + jsonTmp=$( cat "${VSCODE_QUALITY}.json" | jq --arg 'tag' "${MS_TAG/\-insider/}" --arg 'commit' "${MS_COMMIT}" '. | .tag=$tag | .commit=$commit' ) + echo "${jsonTmp}" > "${VSCODE_QUALITY}.json" && unset jsonTmp fi fi diff --git a/get_repo.sh b/get_repo.sh index 17790dad5c4..43af170f4d8 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -9,15 +9,11 @@ if [[ "${CI_BUILD}" != "no" ]]; then fi if [[ -z "${RELEASE_VERSION}" ]]; then - if [[ "${VSCODE_QUALITY}" == "insider" ]]; then - if [[ "${VSCODE_LATEST}" == "yes" ]] || [[ ! -f "insider.json" ]]; then - UPDATE_INFO=$( curl --silent --fail https://update.code.visualstudio.com/api/update/darwin/insider/0000000000000000000000000000000000000000 ) - else - MS_COMMIT=$( jq -r '.commit' insider.json ) - MS_TAG=$( jq -r '.tag' insider.json ) - fi + if [[ "${VSCODE_LATEST}" == "yes" ]] || [[ ! -f "${VSCODE_QUALITY}.json" ]]; then + UPDATE_INFO=$( curl --silent --fail "https://update.code.visualstudio.com/api/update/darwin/${VSCODE_QUALITY}/0000000000000000000000000000000000000000" ) else - UPDATE_INFO=$( curl --silent --fail https://update.code.visualstudio.com/api/update/darwin/stable/0000000000000000000000000000000000000000 ) + MS_COMMIT=$( jq -r '.commit' "${VSCODE_QUALITY}.json" ) + MS_TAG=$( jq -r '.tag' "${VSCODE_QUALITY}.json" ) fi if [[ -z "${MS_COMMIT}" ]]; then @@ -45,13 +41,6 @@ else echo "Error: Bad RELEASE_VERSION: ${RELEASE_VERSION}" exit 1 fi - - if [[ "${MS_TAG}" == "$( jq -r '.tag' insider.json )" ]]; then - MS_COMMIT=$( jq -r '.commit' insider.json ) - else - echo "Error: No MS_COMMIT for ${RELEASE_VERSION}" - exit 1 - fi else if [[ "${RELEASE_VERSION}" =~ ^([0-9]+\.[0-9]+\.[0-9]+)\.[0-9]+$ ]]; then @@ -61,6 +50,13 @@ else exit 1 fi fi + + if [[ "${MS_TAG}" == "$( jq -r '.tag' "${VSCODE_QUALITY}".json )" ]]; then + MS_COMMIT=$( jq -r '.commit' "${VSCODE_QUALITY}".json ) + else + echo "Error: No MS_COMMIT for ${RELEASE_VERSION}" + exit 1 + fi fi echo "RELEASE_VERSION=\"${RELEASE_VERSION}\"" @@ -73,11 +69,7 @@ git remote add origin https://github.com/Microsoft/vscode.git # figure out latest tag by calling MS update API if [[ -z "${MS_TAG}" ]]; then - if [[ "${VSCODE_QUALITY}" == "insider" ]]; then - UPDATE_INFO=$( curl --silent --fail https://update.code.visualstudio.com/api/update/darwin/insider/0000000000000000000000000000000000000000 ) - else - UPDATE_INFO=$( curl --silent --fail https://update.code.visualstudio.com/api/update/darwin/stable/0000000000000000000000000000000000000000 ) - fi + UPDATE_INFO=$( curl --silent --fail "https://update.code.visualstudio.com/api/update/darwin/${VSCODE_QUALITY}/0000000000000000000000000000000000000000" ) MS_COMMIT=$( echo "${UPDATE_INFO}" | jq -r '.version' ) MS_TAG=$( echo "${UPDATE_INFO}" | jq -r '.name' ) elif [[ -z "${MS_COMMIT}" ]]; then diff --git a/prepare_src.sh b/prepare_src.sh new file mode 100644 index 00000000000..22833802598 --- /dev/null +++ b/prepare_src.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env bash +# shellcheck disable=SC1091 + +set -e + +npm install -g checksum + +sum_file() { + if [[ -f "${1}" ]]; then + echo "Calculating checksum for ${1}" + checksum -a sha256 "${1}" > "${1}".sha256 + checksum "${1}" > "${1}".sha1 + fi +} + +mkdir -p assets + +git archive --format tar.gz --output="./assets/${APP_NAME}-${RELEASE_VERSION}-src.tar.gz" HEAD +git archive --format zip --output="./assets/${APP_NAME}-${RELEASE_VERSION}-src.zip" HEAD + +cd assets + +for FILE in *; do + if [[ -f "${FILE}" ]]; then + sum_file "${FILE}" + fi +done + +cd .. diff --git a/stable.json b/stable.json new file mode 100644 index 00000000000..f5df35ef698 --- /dev/null +++ b/stable.json @@ -0,0 +1,4 @@ +{ + "tag": "1.84.2", + "commit": "1a5daa3a0231a0fbba4f14db7ec463cf99d7768e" +} diff --git a/update_insider.sh b/update_qualityjson.sh similarity index 67% rename from update_insider.sh rename to update_qualityjson.sh index 6dcd17ad66b..9c0df707aee 100755 --- a/update_insider.sh +++ b/update_qualityjson.sh @@ -8,12 +8,12 @@ if [[ "${SHOULD_BUILD}" != "yes" ]]; then fi if [[ -z "${GITHUB_TOKEN}" ]]; then - echo "Will not update insider.json because no GITHUB_TOKEN defined" + echo "Will not update ${VSCODE_QUALITY}.json because no GITHUB_TOKEN defined" exit 0 fi -jsonTmp=$( cat "insider.json" | jq --arg 'tag' "${MS_TAG/\-insider/}" --arg 'commit' "${MS_COMMIT}" '. | .tag=$tag | .commit=$commit' ) -echo "${jsonTmp}" > "insider.json" && unset jsonTmp +jsonTmp=$( cat "${VSCODE_QUALITY}.json" | jq --arg 'tag' "${MS_TAG/\-insider/}" --arg 'commit' "${MS_COMMIT}" '. | .tag=$tag | .commit=$commit' ) +echo "${jsonTmp}" > "${VSCODE_QUALITY}.json" && unset jsonTmp git config user.email "$( echo "${GITHUB_USERNAME}" | awk '{print tolower($0)}' )-ci@not-real.com" git config user.name "${GITHUB_USERNAME} CI" From 40b1d413f5e600470f2c11f9071a783f1e6c22cb Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 15 Nov 2023 17:33:27 +0100 Subject: [PATCH 11/39] fix: workflow name [skip ci] --- .github/workflows/stable-spearhead.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stable-spearhead.yml b/.github/workflows/stable-spearhead.yml index 2fe70fcd6dd..1f3ee9cc7d8 100644 --- a/.github/workflows/stable-spearhead.yml +++ b/.github/workflows/stable-spearhead.yml @@ -1,4 +1,4 @@ -name: insider-spearhead +name: stable-spearhead on: workflow_dispatch: From 3b1a4e39c6f059902b4a79ea2609d4f03123f76e Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 15 Nov 2023 20:28:00 +0100 Subject: [PATCH 12/39] build: add debug [skip ci] --- prepare_vscode.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/prepare_vscode.sh b/prepare_vscode.sh index d798fa4d581..fe2901902f8 100755 --- a/prepare_vscode.sh +++ b/prepare_vscode.sh @@ -24,7 +24,10 @@ cd vscode || { echo "'vscode' dir not found"; exit 1; } for file in ../patches/*.patch; do if [[ -f "${file}" ]]; then echo applying patch: "${file}"; - if ! git apply --ignore-whitespace "${file}"; then + + grep '^+++' "${file}" | sed -e 's#+++ [ab]/#./vscode/#' | while read line; do shasum -a 256 "${line}"; done + + if ! git apply --verbose --ignore-whitespace "${file}"; then echo failed to apply patch "${file}" >&2 exit 1 fi From efca1a2c2c8e81f0c846481baa3ffec1d69bae35 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 15 Nov 2023 20:45:18 +0100 Subject: [PATCH 13/39] fix: don't checkout insider for stable [skip ci] --- .github/workflows/stable-spearhead.yml | 2 -- prepare_vscode.sh | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/stable-spearhead.yml b/.github/workflows/stable-spearhead.yml index 1f3ee9cc7d8..517f2c18d7f 100644 --- a/.github/workflows/stable-spearhead.yml +++ b/.github/workflows/stable-spearhead.yml @@ -23,8 +23,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - ref: insider - name: Setup Node.js environment uses: actions/setup-node@v4 diff --git a/prepare_vscode.sh b/prepare_vscode.sh index fe2901902f8..991468129c7 100755 --- a/prepare_vscode.sh +++ b/prepare_vscode.sh @@ -24,10 +24,8 @@ cd vscode || { echo "'vscode' dir not found"; exit 1; } for file in ../patches/*.patch; do if [[ -f "${file}" ]]; then echo applying patch: "${file}"; - - grep '^+++' "${file}" | sed -e 's#+++ [ab]/#./vscode/#' | while read line; do shasum -a 256 "${line}"; done - - if ! git apply --verbose --ignore-whitespace "${file}"; then + # grep '^+++' "${file}" | sed -e 's#+++ [ab]/#./vscode/#' | while read line; do shasum -a 256 "${line}"; done + if ! git apply --ignore-whitespace "${file}"; then echo failed to apply patch "${file}" >&2 exit 1 fi From 8606615423c2fcd61c7f4908a863356f8bb8af5b Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 15 Nov 2023 22:02:08 +0100 Subject: [PATCH 14/39] fix: make prepare_src.sh executable [skip ci] --- prepare_src.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 prepare_src.sh diff --git a/prepare_src.sh b/prepare_src.sh old mode 100644 new mode 100755 From 8bb53bf1737e78194718e0f0231275d0fe16b872 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 15 Nov 2023 22:30:37 +0100 Subject: [PATCH 15/39] ci: add single event to dispatch all build [skip ci] --- .github/workflows/stable-linux.yml | 2 ++ .github/workflows/stable-macos.yml | 2 ++ .github/workflows/stable-spearhead.yml | 25 ++++++++----------------- .github/workflows/stable-windows.yml | 2 ++ 4 files changed, 14 insertions(+), 17 deletions(-) diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index c02547d63be..5ca216e50c6 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -9,6 +9,8 @@ on: test_asset_builder: type: boolean description: Test the assets builder + repository_dispatch: + types: [stable] push: branches: [ master ] paths-ignore: diff --git a/.github/workflows/stable-macos.yml b/.github/workflows/stable-macos.yml index 3f85767ba6f..ce31a65aaf3 100644 --- a/.github/workflows/stable-macos.yml +++ b/.github/workflows/stable-macos.yml @@ -9,6 +9,8 @@ on: test_asset_builder: type: boolean description: Test the assets builder + repository_dispatch: + types: [stable] push: branches: [ master ] paths-ignore: diff --git a/.github/workflows/stable-spearhead.yml b/.github/workflows/stable-spearhead.yml index 517f2c18d7f..531040f5754 100644 --- a/.github/workflows/stable-spearhead.yml +++ b/.github/workflows/stable-spearhead.yml @@ -6,6 +6,9 @@ on: new_release: type: boolean description: Force new Release + force_dispatch: + type: boolean + description: Force dispatch schedule: - cron: '0 18 * * *' @@ -69,31 +72,19 @@ jobs: GITHUB_USERNAME: ${{ github.repository_owner }} if: env.SHOULD_BUILD == 'yes' - - name: Prepare assets + - name: Prepare source run: ./prepare_src.sh if: env.SHOULD_BUILD == 'yes' - - name: Release + - name: Release source env: GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }} GITHUB_USERNAME: ${{ github.repository_owner }} run: ./release.sh if: env.SHOULD_BUILD == 'yes' - - name: Dispatch Linux build - uses: peter-evans/repository-dispatch@v2 - with: - event-type: 'stable-linux' - if: env.SHOULD_BUILD == 'yes' - - - name: Dispatch Windows build + - name: Dispatch builds uses: peter-evans/repository-dispatch@v2 with: - event-type: 'stable-windows' - if: env.SHOULD_BUILD == 'yes' - - - name: Dispatch macOS build - uses: peter-evans/repository-dispatch@v2 - with: - event-type: 'stable-macos' - if: env.SHOULD_BUILD == 'yes' + event-type: 'stable' + if: env.SHOULD_BUILD == 'yes' || github.event.inputs.force_dispatch == 'true' diff --git a/.github/workflows/stable-windows.yml b/.github/workflows/stable-windows.yml index df9e2d458bd..b42d15a5321 100644 --- a/.github/workflows/stable-windows.yml +++ b/.github/workflows/stable-windows.yml @@ -9,6 +9,8 @@ on: test_asset_builder: type: boolean description: Test the assets builder + repository_dispatch: + types: [stable] push: branches: [ master ] paths-ignore: From 5039d2d09b6c438aa858105446873d33ad34e586 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 15 Nov 2023 22:33:43 +0100 Subject: [PATCH 16/39] ci: disable slow cache [skip ci] --- .github/workflows/stable-spearhead.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/stable-spearhead.yml b/.github/workflows/stable-spearhead.yml index 531040f5754..78c189d4d78 100644 --- a/.github/workflows/stable-spearhead.yml +++ b/.github/workflows/stable-spearhead.yml @@ -41,24 +41,6 @@ jobs: NEW_RELEASE: ${{ github.event.inputs.new_release }} run: . check_tags.sh - - name: Compute cache key - id: yarnCacheKey - run: echo "value=$(node build/azure-pipelines/computeYarnCacheKey.js)" >> $GITHUB_OUTPUT - if: env.SHOULD_BUILD == 'yes' - - - name: Get yarn cache directory path - id: yarnCacheDirPath - run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - if: env.SHOULD_BUILD == 'yes' - - - name: Cache yarn directory - uses: actions/cache@v3 - with: - path: ${{ steps.yarnCacheDirPath.outputs.dir }} - key: ${{ env.OS_NAME }}-${{ env.VSCODE_ARCH }}-yarnCacheDir-${{ steps.yarnCacheKey.outputs.value }} - restore-keys: ${{ env.OS_NAME }}-${{ env.VSCODE_ARCH }}-yarnCacheDir- - if: env.SHOULD_BUILD == 'yes' - - name: Build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 4de18fae52a037b547b90f17fef4cc79cd251efa Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 15 Nov 2023 22:41:07 +0100 Subject: [PATCH 17/39] build: add spearhead checking [skip ci] --- .github/workflows/stable-spearhead.yml | 1 + check_tags.sh | 24 ++++++++++-------------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/stable-spearhead.yml b/.github/workflows/stable-spearhead.yml index 78c189d4d78..87aeff5a6c0 100644 --- a/.github/workflows/stable-spearhead.yml +++ b/.github/workflows/stable-spearhead.yml @@ -39,6 +39,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NEW_RELEASE: ${{ github.event.inputs.new_release }} + IS_SPEARHEAD: 'yes' run: . check_tags.sh - name: Build diff --git a/check_tags.sh b/check_tags.sh index 58aeb1894cd..9dceb3e005c 100755 --- a/check_tags.sh +++ b/check_tags.sh @@ -48,16 +48,14 @@ contains() { } if [[ "${ASSETS}" != "null" ]]; then - # macos - if [[ "${OS_NAME}" == "osx" ]]; then - if [[ "${VSCODE_ARCH}" == "arm64" ]]; then - if [[ -z $( contains "${APP_NAME}-${RELEASE_VERSION}-src.tar.gz" ) || -z $( contains "${APP_NAME}-${RELEASE_VERSION}-src.zip" ) ]]; then - echo "Building on MacOS because we have no SRC" - export SHOULD_BUILD="yes" - export SHOULD_BUILD_SRC="yes" - fi + if [[ "${IS_SPEARHEAD}" == "yes" ]]; then + if [[ -z $( contains "${APP_NAME}-${RELEASE_VERSION}-src.tar.gz" ) || -z $( contains "${APP_NAME}-${RELEASE_VERSION}-src.zip" ) ]]; then + echo "Building because we have no SRC" + export SHOULD_BUILD="yes" + export SHOULD_BUILD_SRC="yes" fi - + # macos + elif [[ "${OS_NAME}" == "osx" ]]; then if [[ -z $( contains "${APP_NAME}-darwin-${VSCODE_ARCH}-${RELEASE_VERSION}.zip" ) ]]; then echo "Building on MacOS because we have no ZIP" export SHOULD_BUILD="yes" @@ -345,7 +343,9 @@ if [[ "${ASSETS}" != "null" ]]; then fi fi else - if [[ "${OS_NAME}" == "linux" ]]; then + if [[ "${IS_SPEARHEAD}" == "yes" ]]; then + export SHOULD_BUILD_SRC="yes" + elif [[ "${OS_NAME}" == "linux" ]]; then if [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then SHOULD_BUILD_DEB="no" SHOULD_BUILD_APPIMAGE="no" @@ -354,10 +354,6 @@ else elif [[ "${VSCODE_ARCH}" != "x64" ]]; then export SHOULD_BUILD_APPIMAGE="no" fi - elif [[ "${OS_NAME}" == "osx" ]]; then - if [[ "${VSCODE_ARCH}" == "arm64" ]]; then - export SHOULD_BUILD_SRC="yes" - fi elif [[ "${OS_NAME}" == "windows" ]]; then if [[ "${VSCODE_ARCH}" == "arm64" ]]; then export SHOULD_BUILD_REH="no" From b0c823fc072017d374475b4302afb295fc1db93d Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 15 Nov 2023 23:31:19 +0100 Subject: [PATCH 18/39] ci: streamline insider dispatch [skip ci] --- .github/workflows/insider-linux.yml | 2 ++ .github/workflows/insider-macos.yml | 2 ++ .github/workflows/insider-spearhead.yml | 45 +++++-------------------- .github/workflows/insider-windows.yml | 2 ++ 4 files changed, 15 insertions(+), 36 deletions(-) diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index 0d60ceef112..90b1e5939a6 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -9,6 +9,8 @@ on: test_asset_builder: type: boolean description: Test the assets builder + repository_dispatch: + types: [insider] push: branches: [ insider ] paths-ignore: diff --git a/.github/workflows/insider-macos.yml b/.github/workflows/insider-macos.yml index 0302b681aa8..295bcc0bb16 100644 --- a/.github/workflows/insider-macos.yml +++ b/.github/workflows/insider-macos.yml @@ -9,6 +9,8 @@ on: test_asset_builder: type: boolean description: Test the assets builder + repository_dispatch: + types: [insider] push: branches: [ insider ] paths-ignore: diff --git a/.github/workflows/insider-spearhead.yml b/.github/workflows/insider-spearhead.yml index 69ddaf6cd99..bfef98d6b2e 100644 --- a/.github/workflows/insider-spearhead.yml +++ b/.github/workflows/insider-spearhead.yml @@ -6,6 +6,9 @@ on: new_release: type: boolean description: Force new Release + force_dispatch: + type: boolean + description: Force dispatch schedule: - cron: '0 7 * * *' @@ -38,26 +41,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NEW_RELEASE: ${{ github.event.inputs.new_release }} + IS_SPEARHEAD: 'yes' run: . check_tags.sh - - name: Compute cache key - id: yarnCacheKey - run: echo "value=$(node build/azure-pipelines/computeYarnCacheKey.js)" >> $GITHUB_OUTPUT - if: env.SHOULD_BUILD == 'yes' - - - name: Get yarn cache directory path - id: yarnCacheDirPath - run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - if: env.SHOULD_BUILD == 'yes' - - - name: Cache yarn directory - uses: actions/cache@v3 - with: - path: ${{ steps.yarnCacheDirPath.outputs.dir }} - key: ${{ env.OS_NAME }}-${{ env.VSCODE_ARCH }}-yarnCacheDir-${{ steps.yarnCacheKey.outputs.value }} - restore-keys: ${{ env.OS_NAME }}-${{ env.VSCODE_ARCH }}-yarnCacheDir- - if: env.SHOULD_BUILD == 'yes' - - name: Build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -71,32 +57,19 @@ jobs: GITHUB_USERNAME: ${{ github.repository_owner }} if: env.SHOULD_BUILD == 'yes' - - name: Prepare assets + - name: Prepare source run: ./prepare_src.sh if: env.SHOULD_BUILD == 'yes' - - name: Release + - name: Release source env: GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }} GITHUB_USERNAME: ${{ github.repository_owner }} run: ./release.sh if: env.SHOULD_BUILD == 'yes' - - name: Dispatch Linux build - uses: peter-evans/repository-dispatch@v2 - with: - event-type: 'insider-linux' - if: env.SHOULD_BUILD == 'yes' - - - name: Dispatch Windows build + - name: Dispatch builds uses: peter-evans/repository-dispatch@v2 with: - event-type: 'insider-windows' - if: env.SHOULD_BUILD == 'yes' - - - name: Dispatch macOS build - uses: peter-evans/repository-dispatch@v2 - with: - event-type: 'insider-macos' - if: env.SHOULD_BUILD == 'yes' - + event-type: 'insider' + if: env.SHOULD_BUILD == 'yes' || github.event.inputs.force_dispatch == 'true' diff --git a/.github/workflows/insider-windows.yml b/.github/workflows/insider-windows.yml index 76eb5e0d96f..b636534c2ab 100644 --- a/.github/workflows/insider-windows.yml +++ b/.github/workflows/insider-windows.yml @@ -9,6 +9,8 @@ on: test_asset_builder: type: boolean description: Test the assets builder + repository_dispatch: + types: [insider] push: branches: [ insider ] paths-ignore: From 48f5958d8bf370511db7e37845ab9dbf0d9f8567 Mon Sep 17 00:00:00 2001 From: Mizux Date: Thu, 16 Nov 2023 10:22:09 +0100 Subject: [PATCH 19/39] docs: add vscode link (#1730) Add link to microsoft/vscode repo to easily find original source. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f614ff0ef21..68c6243016b 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ -**This is not a fork. This is a repository of scripts to automatically build Microsoft's `vscode` repository into freely-licensed binaries with a community-driven default configuration.** +**This is not a fork. This is a repository of scripts to automatically build [Microsoft's `vscode` repository](https://github.com/microsoft/vscode) into freely-licensed binaries with a community-driven default configuration.** ## Table of Contents From 9cfdb0fa14f68ec9b8e63f20f034b4ceab90ccd2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 14:29:42 +0100 Subject: [PATCH 20/39] build(deps): bump dessant/lock-threads from 4 to 5 (#1734) --- .github/workflows/lock.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 213c56ca5b7..7ea85c4188c 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -8,7 +8,7 @@ jobs: lock: runs-on: ubuntu-latest steps: - - uses: dessant/lock-threads@v4 + - uses: dessant/lock-threads@v5 with: github-token: ${{ github.token }} issue-inactive-days: '90' From f3a832f6cbdc11858e0e08d73a1fb5f4ecb45e24 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Fri, 8 Dec 2023 20:38:04 +0100 Subject: [PATCH 21/39] feat(1.85.0): update patches --- patches/brand.patch | 301 +++++++++++++++++-------------------- patches/report-issue.patch | 56 +++---- product.json | 23 ++- stable.json | 4 +- 4 files changed, 174 insertions(+), 210 deletions(-) diff --git a/patches/brand.patch b/patches/brand.patch index c8f9d49e7e5..1a7d0e2699c 100644 --- a/patches/brand.patch +++ b/patches/brand.patch @@ -1,5 +1,5 @@ diff --git a/extensions/configuration-editing/src/configurationEditingMain.ts b/extensions/configuration-editing/src/configurationEditingMain.ts -index acbd032..737ad03 100644 +index 02f52f6..ef67def 100644 --- a/extensions/configuration-editing/src/configurationEditingMain.ts +++ b/extensions/configuration-editing/src/configurationEditingMain.ts @@ -54,4 +54,4 @@ function registerVariableCompletions(pattern: string): vscode.Disposable { @@ -8,7 +8,7 @@ index acbd032..737ad03 100644 - { label: 'workspaceFolderBasename', detail: vscode.l10n.t("The name of the folder opened in VS Code without any slashes (/)") }, + { label: 'workspaceFolder', detail: vscode.l10n.t("The path of the folder opened in VSCodium") }, + { label: 'workspaceFolderBasename', detail: vscode.l10n.t("The name of the folder opened in VSCodium without any slashes (/)") }, - { label: 'relativeFile', detail: vscode.l10n.t("The current opened file relative to ${workspaceFolder}") }, + { label: 'fileWorkspaceFolderBasename', detail: vscode.l10n.t("The current opened file workspace folder name without any slashes (/)") }, diff --git a/extensions/configuration-editing/src/settingsDocumentHelper.ts b/extensions/configuration-editing/src/settingsDocumentHelper.ts index 110494f..9f01ff2 100644 --- a/extensions/configuration-editing/src/settingsDocumentHelper.ts @@ -73,37 +73,37 @@ index 8bb2a46..7cee594 100644 +const bumpEngineForImplicitActivationEvents = l10n.t("This activation event can be removed for extensions targeting engine version ^1.75 as VSCodium will generate these automatically from your package.json contribution declarations."); const starActivation = l10n.t("Using '*' activation is usually a bad idea as it impacts performance."); diff --git a/extensions/git/package.nls.json b/extensions/git/package.nls.json -index 20a807b..f7e8178 100644 +index f98527c..9c4508b 100644 --- a/extensions/git/package.nls.json +++ b/extensions/git/package.nls.json -@@ -205,3 +205,3 @@ +@@ -208,3 +208,3 @@ "{Locked='](command:git.showOutput'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -233,4 +233,4 @@ +@@ -236,4 +236,4 @@ "config.showCommitInput": "Controls whether to show the commit input in the Git source control panel.", - "config.terminalAuthentication": "Controls whether to enable VS Code to be the authentication handler for Git processes spawned in the Integrated Terminal. Note: Terminals need to be restarted to pick up a change in this setting.", - "config.terminalGitEditor": "Controls whether to enable VS Code to be the Git editor for Git processes spawned in the integrated terminal. Note: Terminals need to be restarted to pick up a change in this setting.", + "config.terminalAuthentication": "Controls whether to enable VSCodium to be the authentication handler for Git processes spawned in the Integrated Terminal. Note: Terminals need to be restarted to pick up a change in this setting.", + "config.terminalGitEditor": "Controls whether to enable VSCodium to be the Git editor for Git processes spawned in the integrated terminal. Note: Terminals need to be restarted to pick up a change in this setting.", "config.timeline.showAuthor": "Controls whether to show the commit author in the Timeline view.", -@@ -285,3 +285,3 @@ +@@ -288,3 +288,3 @@ "{Locked='](command:workbench.action.reloadWindow'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -293,3 +293,3 @@ +@@ -296,3 +296,3 @@ "{Locked='](command:workbench.action.reloadWindow'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -301,3 +301,3 @@ +@@ -304,3 +304,3 @@ "{Locked='](command:workbench.action.reloadWindow'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -307,6 +307,6 @@ +@@ -310,6 +310,6 @@ "view.workbench.scm.disabled": { - "message": "If you would like to use Git features, please enable Git in your [settings](command:workbench.action.openSettings?%5B%22git.enabled%22%5D).\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "If you would like to use Git features, please enable Git in your [settings](command:workbench.action.openSettings?%5B%22git.enabled%22%5D).\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -112,7 +112,7 @@ index 20a807b..f7e8178 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -315,6 +315,6 @@ +@@ -318,6 +318,6 @@ "view.workbench.scm.empty": { - "message": "In order to use Git features, you can open a folder containing a Git repository or clone from a URL.\n[Open Folder](command:vscode.openFolder)\n[Clone Repository](command:git.clone)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "In order to use Git features, you can open a folder containing a Git repository or clone from a URL.\n[Open Folder](command:vscode.openFolder)\n[Clone Repository](command:git.clone)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -121,7 +121,7 @@ index 20a807b..f7e8178 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -323,6 +323,6 @@ +@@ -326,6 +326,6 @@ "view.workbench.scm.folder": { - "message": "The folder currently open doesn't have a Git repository. You can initialize a repository which will enable source control features powered by Git.\n[Initialize Repository](command:git.init?%5Btrue%5D)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "The folder currently open doesn't have a Git repository. You can initialize a repository which will enable source control features powered by Git.\n[Initialize Repository](command:git.init?%5Btrue%5D)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -130,7 +130,7 @@ index 20a807b..f7e8178 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -331,6 +331,6 @@ +@@ -334,6 +334,6 @@ "view.workbench.scm.workspace": { - "message": "The workspace currently open doesn't have any folders containing Git repositories. You can initialize a repository on a folder which will enable source control features powered by Git.\n[Initialize Repository](command:git.init)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "The workspace currently open doesn't have any folders containing Git repositories. You can initialize a repository on a folder which will enable source control features powered by Git.\n[Initialize Repository](command:git.init)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -139,7 +139,7 @@ index 20a807b..f7e8178 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -339,6 +339,6 @@ +@@ -342,6 +342,6 @@ "view.workbench.scm.emptyWorkspace": { - "message": "The workspace currently open doesn't have any folders containing Git repositories.\n[Add Folder to Workspace](command:workbench.action.addRootFolder)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "The workspace currently open doesn't have any folders containing Git repositories.\n[Add Folder to Workspace](command:workbench.action.addRootFolder)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -148,27 +148,27 @@ index 20a807b..f7e8178 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -357,3 +357,3 @@ +@@ -360,3 +360,3 @@ "{Locked='](command:workbench.action.openSettings?%5B%22git.openRepositoryInParentFolders%22%5D'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -366,3 +366,3 @@ +@@ -369,3 +369,3 @@ "{Locked='](command:workbench.action.openSettings?%5B%22git.openRepositoryInParentFolders%22%5D'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -374,3 +374,3 @@ +@@ -377,3 +377,3 @@ "{Locked='](command:git.manageUnsafeRepositories'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -382,3 +382,3 @@ +@@ -385,3 +385,3 @@ "{Locked='](command:git.manageUnsafeRepositories'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -387,6 +387,6 @@ +@@ -390,6 +390,6 @@ "view.workbench.scm.closedRepository": { - "message": "A Git repository was found that was previously closed.\n[Reopen Closed Repository](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "A Git repository was found that was previously closed.\n[Reopen Closed Repository](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -177,7 +177,7 @@ index 20a807b..f7e8178 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -395,6 +395,6 @@ +@@ -398,6 +398,6 @@ "view.workbench.scm.closedRepositories": { - "message": "Git repositories were found that were previously closed.\n[Reopen Closed Repositories](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "Git repositories were found that were previously closed.\n[Reopen Closed Repositories](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -186,12 +186,12 @@ index 20a807b..f7e8178 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -406,3 +406,3 @@ +@@ -409,3 +409,3 @@ "{Locked='](command:git.clone'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -410,3 +410,3 @@ +@@ -413,3 +413,3 @@ }, - "view.workbench.learnMore": "To learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm)." + "view.workbench.learnMore": "To learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm)." @@ -336,7 +336,7 @@ index d6ece35..9e878df 100644 + "displayName": "VSCodium Builtin Notebook Output Renderer", "requiresMessaging": "never", diff --git a/extensions/npm/package.nls.json b/extensions/npm/package.nls.json -index 1b2e878..478bc13 100644 +index ff8581b..6774e97 100644 --- a/extensions/npm/package.nls.json +++ b/extensions/npm/package.nls.json @@ -2,3 +2,3 @@ @@ -345,36 +345,36 @@ index 1b2e878..478bc13 100644 + "displayName": "NPM support for VSCodium", "workspaceTrust": "This extension executes tasks, which require trust to run.", diff --git a/extensions/swift/syntaxes/swift.tmLanguage.json b/extensions/swift/syntaxes/swift.tmLanguage.json -index f63b127..799111f 100644 +index 64aebc1..efbe2dd 100644 --- a/extensions/swift/syntaxes/swift.tmLanguage.json +++ b/extensions/swift/syntaxes/swift.tmLanguage.json @@ -260,3 +260,3 @@ { - "comment": "The simpler (?<=\\bProcess\\.|\\bCommandLine\\.) breaks VS Code / Atom, see https://github.com/textmate/swift.tmbundle/issues/29", + "comment": "The simpler (?<=\\bProcess\\.|\\bCommandLine\\.) breaks VSCodium / Atom, see https://github.com/textmate/swift.tmbundle/issues/29", - "match": "(?<=^Process\\.|\\WProcess\\.|^CommandLine\\.|\\WCommandLine\\.)(arguments|argc|unsafeArgv)", + "name": "support.variable.swift", diff --git a/extensions/typescript-language-features/package.nls.json b/extensions/typescript-language-features/package.nls.json -index 4ae4c9a..d722b4f 100644 +index 0bd09aa..965c131 100644 --- a/extensions/typescript-language-features/package.nls.json +++ b/extensions/typescript-language-features/package.nls.json -@@ -83,4 +83,4 @@ +@@ -84,4 +84,4 @@ "configuration.tsserver.experimental.enableProjectDiagnostics": "(Experimental) Enables project wide error reporting.", - "typescript.locale": "Sets the locale used to report JavaScript and TypeScript errors. Defaults to use VS Code's locale.", - "typescript.locale.auto": "Use VS Code's configured display language", + "typescript.locale": "Sets the locale used to report JavaScript and TypeScript errors. Defaults to use VSCodium's locale.", + "typescript.locale.auto": "Use VSCodium's configured display language", "configuration.implicitProjectConfig.module": "Sets the module system for the program. See more: https://www.typescriptlang.org/tsconfig#module.", -@@ -166,3 +166,3 @@ +@@ -168,3 +168,3 @@ "typescript.workspaceSymbols.excludeLibrarySymbols": "Exclude symbols that come from library files in Go to Symbol in Workspace results. Requires using TypeScript 5.3+ in the workspace.", - "typescript.updateImportsOnFileMove.enabled": "Enable/disable automatic updating of import paths when you rename or move a file in VS Code.", + "typescript.updateImportsOnFileMove.enabled": "Enable/disable automatic updating of import paths when you rename or move a file in VSCodium.", "typescript.updateImportsOnFileMove.enabled.prompt": "Prompt on each rename.", -@@ -172,3 +172,3 @@ +@@ -174,3 +174,3 @@ "typescript.suggest.enabled": "Enabled/disable autocomplete suggestions.", - "configuration.surveys.enabled": "Enabled/disable occasional surveys that help us improve VS Code's JavaScript and TypeScript support.", + "configuration.surveys.enabled": "Enabled/disable occasional surveys that help us improve VSCodium's JavaScript and TypeScript support.", "configuration.suggest.completeJSDocs": "Enable/disable suggestion to complete JSDoc comments.", -@@ -224,5 +224,5 @@ +@@ -226,5 +226,5 @@ "configuration.suggest.objectLiteralMethodSnippets.enabled": "Enable/disable snippet completions for methods in object literals.", - "configuration.tsserver.web.projectWideIntellisense.enabled": "Enable/disable project-wide IntelliSense on web. Requires that VS Code is running in a trusted context.", + "configuration.tsserver.web.projectWideIntellisense.enabled": "Enable/disable project-wide IntelliSense on web. Requires that VSCodium is running in a trusted context.", @@ -382,7 +382,7 @@ index 4ae4c9a..d722b4f 100644 - "configuration.tsserver.nodePath": "Run TS Server on a custom Node installation. This can be a path to a Node executable, or 'node' if you want VS Code to detect a Node installation.", + "configuration.tsserver.nodePath": "Run TS Server on a custom Node installation. This can be a path to a Node executable, or 'node' if you want VSCodium to detect a Node installation.", "configuration.experimental.tsserver.web.typeAcquisition.enabled": "Enable/disable package acquisition on the web.", -@@ -237,6 +237,6 @@ +@@ -239,6 +239,6 @@ "walkthroughs.nodejsWelcome.debugJsFile.title": "Run and Debug your JavaScript", - "walkthroughs.nodejsWelcome.debugJsFile.description": "Once you've installed Node.js, you can run JavaScript programs at a terminal by entering ``node your-file-name.js``\nAnother easy way to run Node.js programs is by using VS Code's debugger which lets you run your code, pause at different points, and help you understand what's going on step-by-step.\n[Start Debugging](command:javascript-walkthrough.commands.debugJsFile)", + "walkthroughs.nodejsWelcome.debugJsFile.description": "Once you've installed Node.js, you can run JavaScript programs at a terminal by entering ``node your-file-name.js``\nAnother easy way to run Node.js programs is by using VSCodium's debugger which lets you run your code, pause at different points, and help you understand what's going on step-by-step.\n[Start Debugging](command:javascript-walkthrough.commands.debugJsFile)", @@ -438,7 +438,7 @@ index a389142..ebae0c2 100644 + vscode.l10n.t("The JS/TS language service crashed.\nThis may be caused by a plugin contributed by one of these extensions: {0}.\nPlease try disabling these extensions before filing an issue against VSCodium.", pluginExtensionList)); } else { diff --git a/extensions/vscode-api-tests/package.json b/extensions/vscode-api-tests/package.json -index beb65ff..7163741 100644 +index 401b9a4..99c5f92 100644 --- a/extensions/vscode-api-tests/package.json +++ b/extensions/vscode-api-tests/package.json @@ -2,3 +2,3 @@ @@ -516,19 +516,19 @@ index fa001b5..13abac2 100644 + throw Error(`Failed to download and unzip VSCodium ${quality} - ${commit}`); } diff --git a/src/vs/code/electron-main/app.ts b/src/vs/code/electron-main/app.ts -index 5eef587..da0ba80 100644 +index 42e165b..be69ecb 100644 --- a/src/vs/code/electron-main/app.ts +++ b/src/vs/code/electron-main/app.ts -@@ -544,3 +544,3 @@ export class CodeApplication extends Disposable { +@@ -543,3 +543,3 @@ export class CodeApplication extends Disposable { async startup(): Promise { - this.logService.debug('Starting VS Code'); + this.logService.debug('Starting VSCodium'); this.logService.debug(`from: ${this.environmentMainService.appRoot}`); diff --git a/src/vs/code/electron-sandbox/issue/issueReporterService.ts b/src/vs/code/electron-sandbox/issue/issueReporterService.ts -index afb7a65..88ed468 100644 +index d7f98f6..91f317d 100644 --- a/src/vs/code/electron-sandbox/issue/issueReporterService.ts +++ b/src/vs/code/electron-sandbox/issue/issueReporterService.ts -@@ -779,3 +779,3 @@ export class IssueReporter extends Disposable { +@@ -790,3 +790,3 @@ export class IssueReporter extends Disposable { hide(descriptionTextArea); - reset(descriptionTitle, localize('handlesIssuesElsewhere', "This extension handles issues outside of VS Code")); + reset(descriptionTitle, localize('handlesIssuesElsewhere', "This extension handles issues outside of VSCodium")); @@ -552,7 +552,7 @@ index 296245b..cf03674 100644 +export const ProductQualityContext = new RawContextKey('productQualityType', '', localize('productQualityType', "Quality type of VSCodium")); diff --git a/src/vs/platform/extensionManagement/node/extensionManagementService.ts b/src/vs/platform/extensionManagement/node/extensionManagementService.ts -index 2fb974e..86895d5 100644 +index 9578d20..94dbfd2 100644 --- a/src/vs/platform/extensionManagement/node/extensionManagementService.ts +++ b/src/vs/platform/extensionManagement/node/extensionManagementService.ts @@ -151,3 +151,3 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi @@ -585,7 +585,7 @@ index 3dcc1c4..c5c3549 100644 +const TERMINAL_TITLE = nls.localize('console.title', "VSCodium Console"); diff --git a/src/vs/platform/terminal/common/terminalPlatformConfiguration.ts b/src/vs/platform/terminal/common/terminalPlatformConfiguration.ts -index e901ffd..25cd753 100644 +index 2c15a09..1cc234b 100644 --- a/src/vs/platform/terminal/common/terminalPlatformConfiguration.ts +++ b/src/vs/platform/terminal/common/terminalPlatformConfiguration.ts @@ -338,3 +338,3 @@ const terminalPlatformConfiguration: IConfigurationNode = { @@ -603,7 +603,7 @@ index 4134233..b2f52b2 100644 + description: localize('enableWindowsBackgroundUpdates', "Enable to download and install new VSCodium versions in the background on Windows."), included: isWindows && !isWeb diff --git a/src/vs/platform/update/electron-main/abstractUpdateService.ts b/src/vs/platform/update/electron-main/abstractUpdateService.ts -index bee2dec..c3d977d 100644 +index 39e65d4..acb03b1 100644 --- a/src/vs/platform/update/electron-main/abstractUpdateService.ts +++ b/src/vs/platform/update/electron-main/abstractUpdateService.ts @@ -23,3 +23,3 @@ export type UpdateNotAvailableClassification = { @@ -612,10 +612,10 @@ index bee2dec..c3d977d 100644 + comment: 'This is used to understand how often VSCodium pings the update server for an update and there\'s none available.'; }; diff --git a/src/vs/platform/update/electron-main/updateService.darwin.ts b/src/vs/platform/update/electron-main/updateService.darwin.ts -index 34f2218..a2728c9 100644 +index 329488a..c77219d 100644 --- a/src/vs/platform/update/electron-main/updateService.darwin.ts +++ b/src/vs/platform/update/electron-main/updateService.darwin.ts -@@ -111,4 +111,4 @@ export class DarwinUpdateService extends AbstractUpdateService implements IRelau +@@ -113,4 +113,4 @@ export class DarwinUpdateService extends AbstractUpdateService implements IRelau owner: 'joaomoreno'; - version: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'The version number of the new VS Code that has been downloaded.' }; - comment: 'This is used to know how often VS Code has successfully downloaded the update.'; @@ -632,7 +632,7 @@ index 10e1acb..bf89402 100644 + console.error('Unable to connect to VSCodium server: ' + message); console.error(err); diff --git a/src/vs/workbench/api/browser/viewsExtensionPoint.ts b/src/vs/workbench/api/browser/viewsExtensionPoint.ts -index c17a247..e7f7417 100644 +index b50d4ee..ff7ca45 100644 --- a/src/vs/workbench/api/browser/viewsExtensionPoint.ts +++ b/src/vs/workbench/api/browser/viewsExtensionPoint.ts @@ -49,3 +49,3 @@ const viewsContainerSchema: IJSONSchema = { @@ -641,43 +641,43 @@ index c17a247..e7f7417 100644 + description: localize({ key: 'vscode.extension.contributes.views.containers.id', comment: ['Contribution refers to those that an extension contributes to VSCodium through an extension/contribution point. '] }, "Unique id used to identify the container in which views can be contributed using 'views' contribution point"), type: 'string', diff --git a/src/vs/workbench/api/common/extHostApiCommands.ts b/src/vs/workbench/api/common/extHostApiCommands.ts -index e79c39c..cc650b9 100644 +index 62f9ebb..5558dbd 100644 --- a/src/vs/workbench/api/common/extHostApiCommands.ts +++ b/src/vs/workbench/api/common/extHostApiCommands.ts -@@ -413,3 +413,3 @@ const newCommands: ApiCommand[] = [ +@@ -412,3 +412,3 @@ const newCommands: ApiCommand[] = [ ApiCommandArgument.Uri.with('resource', 'Resource to open'), - ApiCommandArgument.String.with('viewId', 'Custom editor view id. This should be the viewType string for custom editors or the notebookType string for notebooks. Use \'default\' to use VS Code\'s default text editor'), + ApiCommandArgument.String.with('viewId', 'Custom editor view id. This should be the viewType string for custom editors or the notebookType string for notebooks. Use \'default\' to use VSCodium\'s default text editor'), new ApiCommandArgument('columnOrOptions', 'Either the column in which to open or editor options, see vscode.TextDocumentShowOptions', diff --git a/src/vs/workbench/api/common/extHostCommands.ts b/src/vs/workbench/api/common/extHostCommands.ts -index 7b88374..b85d8ab 100644 +index 586056f..fc23e8e 100644 --- a/src/vs/workbench/api/common/extHostCommands.ts +++ b/src/vs/workbench/api/common/extHostCommands.ts -@@ -459,3 +459,3 @@ export class ApiCommandArgument { +@@ -460,3 +460,3 @@ export class ApiCommandArgument { static readonly TypeHierarchyItem = new ApiCommandArgument('item', 'A type hierarchy item', v => v instanceof extHostTypes.TypeHierarchyItem, extHostTypeConverter.TypeHierarchyItem.from); - static readonly TestItem = new ApiCommandArgument('testItem', 'A VS Code TestItem', v => v instanceof TestItemImpl, extHostTypeConverter.TestItem.from); + static readonly TestItem = new ApiCommandArgument('testItem', 'A VSCodium TestItem', v => v instanceof TestItemImpl, extHostTypeConverter.TestItem.from); diff --git a/src/vs/workbench/api/test/browser/extHostNotebook.test.ts b/src/vs/workbench/api/test/browser/extHostNotebook.test.ts -index 7de8e1f..61999c1 100644 +index 806a6b6..3ea5aa5 100644 --- a/src/vs/workbench/api/test/browser/extHostNotebook.test.ts +++ b/src/vs/workbench/api/test/browser/extHostNotebook.test.ts -@@ -358,3 +358,3 @@ suite('NotebookCell#Document', function () { +@@ -362,3 +362,3 @@ suite('NotebookCell#Document', function () { - test('Opening a notebook results in VS Code firing the event onDidChangeActiveNotebookEditor twice #118470', function () { + test('Opening a notebook results in VSCodium firing the event onDidChangeActiveNotebookEditor twice #118470', function () { let count = 0; diff --git a/src/vs/workbench/browser/workbench.contribution.ts b/src/vs/workbench/browser/workbench.contribution.ts -index 8e1e052..4274c1e 100644 +index 4b8492f..310ebb1 100644 --- a/src/vs/workbench/browser/workbench.contribution.ts +++ b/src/vs/workbench/browser/workbench.contribution.ts -@@ -590,3 +590,3 @@ const registry = Registry.as(ConfigurationExtensions.Con +@@ -616,3 +616,3 @@ const registry = Registry.as(ConfigurationExtensions.Con localize('profileName', "`${profileName}`: name of the profile in which the workspace is opened (e.g. Data Science (Profile)). Ignored if default profile is used."), - localize('appName', "`${appName}`: e.g. VS Code."), + localize('appName', "`${appName}`: e.g. VSCodium."), localize('remoteName', "`${remoteName}`: e.g. SSH"), diff --git a/src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts b/src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts -index 55314e5..69f4771 100644 +index 4233162..9bd6599 100644 --- a/src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts +++ b/src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts @@ -153,3 +153,3 @@ export class AdapterManager extends Disposable implements IAdapterManager { @@ -686,45 +686,45 @@ index 55314e5..69f4771 100644 + description: nls.localize('debugServer', "For debug extension development only: if a port is specified VSCodium tries to connect to a debug adapter running in server mode"), default: 4711 diff --git a/src/vs/workbench/contrib/extensions/browser/extensionEditor.ts b/src/vs/workbench/contrib/extensions/browser/extensionEditor.ts -index 8293c36..ac00710 100644 +index a3b0c26..a29e03c 100644 --- a/src/vs/workbench/contrib/extensions/browser/extensionEditor.ts +++ b/src/vs/workbench/contrib/extensions/browser/extensionEditor.ts -@@ -587,3 +587,3 @@ export class ExtensionEditor extends EditorPane { +@@ -610,3 +610,3 @@ export class ExtensionEditor extends EditorPane { if (manifest && manifest.contributes) { - template.navbar.push(ExtensionEditorTab.Contributions, localize('contributions', "Feature Contributions"), localize('contributionstooltip', "Lists contributions to VS Code by this extension")); + template.navbar.push(ExtensionEditorTab.Contributions, localize('contributions', "Feature Contributions"), localize('contributionstooltip', "Lists contributions to VSCodium by this extension")); } diff --git a/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts b/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts -index 3b7f3a6..8576c60 100644 +index 4797dcb..f5f0014 100644 --- a/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts +++ b/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts -@@ -298,3 +298,3 @@ CommandsRegistry.registerCommand({ +@@ -300,3 +300,3 @@ CommandsRegistry.registerCommand({ description: '(optional) Options for installing the extension. Object with the following properties: ' + - '`installOnlyNewlyAddedFromExtensionPackVSIX`: When enabled, VS Code installs only newly added extensions from the extension pack VSIX. This option is considered only when installing VSIX. ', + '`installOnlyNewlyAddedFromExtensionPackVSIX`: When enabled, VSCodium installs only newly added extensions from the extension pack VSIX. This option is considered only when installing VSIX. ', isOptional: true, -@@ -305,3 +305,3 @@ CommandsRegistry.registerCommand({ +@@ -307,3 +307,3 @@ CommandsRegistry.registerCommand({ 'type': 'boolean', - 'description': localize('workbench.extensions.installExtension.option.installOnlyNewlyAddedFromExtensionPackVSIX', "When enabled, VS Code installs only newly added extensions from the extension pack VSIX. This option is considered only while installing a VSIX."), + 'description': localize('workbench.extensions.installExtension.option.installOnlyNewlyAddedFromExtensionPackVSIX', "When enabled, VSCodium installs only newly added extensions from the extension pack VSIX. This option is considered only while installing a VSIX."), default: false -@@ -310,3 +310,3 @@ CommandsRegistry.registerCommand({ +@@ -312,3 +312,3 @@ CommandsRegistry.registerCommand({ 'type': 'boolean', - 'description': localize('workbench.extensions.installExtension.option.installPreReleaseVersion', "When enabled, VS Code installs the pre-release version of the extension if available."), + 'description': localize('workbench.extensions.installExtension.option.installPreReleaseVersion', "When enabled, VSCodium installs the pre-release version of the extension if available."), default: false -@@ -315,3 +315,3 @@ CommandsRegistry.registerCommand({ +@@ -317,3 +317,3 @@ CommandsRegistry.registerCommand({ 'type': 'boolean', - 'description': localize('workbench.extensions.installExtension.option.donotSync', "When enabled, VS Code do not sync this extension when Settings Sync is on."), + 'description': localize('workbench.extensions.installExtension.option.donotSync', "When enabled, VSCodium do not sync this extension when Settings Sync is on."), default: false -@@ -828,3 +828,3 @@ class ExtensionsContributions extends Disposable implements IWorkbenchContributi +@@ -841,3 +841,3 @@ class ExtensionsContributions extends Disposable implements IWorkbenchContributi const requireReload = !(extension.local && extensionService.canAddExtension(toExtensionDescription(extension.local))); - const message = requireReload ? localize('InstallVSIXAction.successReload', "Completed installing {0} extension from VSIX. Please reload Visual Studio Code to enable it.", extension.displayName || extension.name) + const message = requireReload ? localize('InstallVSIXAction.successReload', "Completed installing {0} extension from VSIX. Please reload VSCodium to enable it.", extension.displayName || extension.name) : localize('InstallVSIXAction.success', "Completed installing {0} extension from VSIX.", extension.displayName || extension.name); diff --git a/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts b/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts -index 37438e0..a9f754d 100644 +index 908f294..8c4174c 100644 --- a/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts +++ b/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts @@ -103,3 +103,3 @@ export class PromptExtensionInstallFailureAction extends Action { @@ -742,76 +742,76 @@ index 37438e0..a9f754d 100644 - alert(localize('uninstallExtensionComplete', "Please reload Visual Studio Code to complete the uninstallation of the extension {0}.", this.extension!.displayName)); + alert(localize('uninstallExtensionComplete', "Please reload VSCodium to complete the uninstallation of the extension {0}.", this.extension!.displayName)); }); -@@ -2220,3 +2220,3 @@ export class ExtensionStatusAction extends ExtensionAction { +@@ -2287,3 +2287,3 @@ export class ExtensionStatusAction extends ExtensionAction { const link = `[${localize('settings', "settings")}](${URI.parse(`command:workbench.action.openSettings?${encodeURIComponent(JSON.stringify([this.extension.deprecationInfo.settings.map(setting => `@id:${setting}`).join(' ')]))}`)})`; - this.updateStatus({ icon: warningIcon, message: new MarkdownString(localize('deprecated with alternate settings tooltip', "This extension is deprecated as this functionality is now built-in to VS Code. Configure these {0} to use this functionality.", link)) }, true); + this.updateStatus({ icon: warningIcon, message: new MarkdownString(localize('deprecated with alternate settings tooltip', "This extension is deprecated as this functionality is now built-in to VSCodium. Configure these {0} to use this functionality.", link)) }, true); } else { -@@ -2244,3 +2244,3 @@ export class ExtensionStatusAction extends ExtensionAction { +@@ -2311,3 +2311,3 @@ export class ExtensionStatusAction extends ExtensionAction { if (this.extensionManagementServerService.webExtensionManagementServer) { - const productName = localize('VS Code for Web', "{0} for the Web", this.productService.nameLong); + const productName = localize('VSCodium for Web', "{0} for the Web", this.productService.nameLong); const message = new MarkdownString(`${localize('not web tooltip', "The '{0}' extension is not available in {1}.", this.extension.displayName || this.extension.identifier.id, productName)} [${localize('learn why', "Learn Why")}](https://aka.ms/vscode-web-extensions-guide)`); -@@ -2506,3 +2506,3 @@ export class ReinstallAction extends Action { +@@ -2573,3 +2573,3 @@ export class ReinstallAction extends Action { const requireReload = !(extension.local && this.extensionService.canAddExtension(toExtensionDescription(extension.local))); - const message = requireReload ? localize('ReinstallAction.successReload', "Please reload Visual Studio Code to complete reinstalling the extension {0}.", extension.identifier.id) + const message = requireReload ? localize('ReinstallAction.successReload', "Please reload VSCodium to complete reinstalling the extension {0}.", extension.identifier.id) : localize('ReinstallAction.success', "Reinstalling the extension {0} is completed.", extension.identifier.id); diff --git a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts -index 3bb04e4..f0621cb 100644 +index 92097d0..4f7355f 100644 --- a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts +++ b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts -@@ -344,3 +344,3 @@ export class Extension implements IExtension { +@@ -345,3 +345,3 @@ export class Extension implements IExtension { return Promise.resolve(`# ${this.displayName || this.name} -**Notice:** This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled. +**Notice:** This extension is bundled with VSCodium. It can be disabled but not uninstalled. ## Features -@@ -377,3 +377,3 @@ ${this.description} +@@ -378,3 +378,3 @@ ${this.description} if (this.type === ExtensionType.System) { - return Promise.resolve('Please check the [VS Code Release Notes](command:update.showCurrentReleaseNotes) for changes to the built-in extensions.'); + return Promise.resolve('Please check the [VSCodium Release Notes](command:update.showCurrentReleaseNotes) for changes to the built-in extensions.'); } -@@ -1110,3 +1110,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1105,3 +1105,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (!canRemoveRunningExtension && isSameExtensionRunning) { - return nls.localize('postUninstallTooltip', "Please reload Visual Studio Code to complete the uninstallation of this extension."); + return nls.localize('postUninstallTooltip', "Please reload VSCodium to complete the uninstallation of this extension."); } -@@ -1130,3 +1130,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1125,3 +1125,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (!runningExtension.isUnderDevelopment && (extension.version !== runningExtension.version || extension.local.targetPlatform !== runningExtension.targetPlatform)) { - return nls.localize('postUpdateTooltip', "Please reload Visual Studio Code to enable the updated extension."); + return nls.localize('postUpdateTooltip', "Please reload VSCodium to enable the updated extension."); } -@@ -1138,3 +1138,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1133,3 +1133,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (runningExtensionServer === this.extensionManagementServerService.remoteExtensionManagementServer && this.extensionManifestPropertiesService.prefersExecuteOnUI(extension.local!.manifest) && extensionInOtherServer.server === this.extensionManagementServerService.localExtensionManagementServer) { - return nls.localize('enable locally', "Please reload Visual Studio Code to enable this extension locally."); + return nls.localize('enable locally', "Please reload VSCodium to enable this extension locally."); } -@@ -1143,3 +1143,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1138,3 +1138,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (runningExtensionServer === this.extensionManagementServerService.localExtensionManagementServer && this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(extension.local!.manifest) && extensionInOtherServer.server === this.extensionManagementServerService.remoteExtensionManagementServer) { - return nls.localize('enable remote', "Please reload Visual Studio Code to enable this extension in {0}.", this.extensionManagementServerService.remoteExtensionManagementServer?.label); + return nls.localize('enable remote', "Please reload VSCodium to enable this extension in {0}.", this.extensionManagementServerService.remoteExtensionManagementServer?.label); } -@@ -1153,3 +1153,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1148,3 +1148,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (this.extensionManifestPropertiesService.prefersExecuteOnUI(extension.local!.manifest)) { - return nls.localize('postEnableTooltip', "Please reload Visual Studio Code to enable this extension."); + return nls.localize('postEnableTooltip', "Please reload VSCodium to enable this extension."); } -@@ -1159,3 +1159,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1154,3 +1154,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(extension.local!.manifest)) { - return nls.localize('postEnableTooltip', "Please reload Visual Studio Code to enable this extension."); + return nls.localize('postEnableTooltip', "Please reload VSCodium to enable this extension."); } -@@ -1166,3 +1166,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1161,3 +1161,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (isSameExtensionRunning) { - return nls.localize('postDisableTooltip', "Please reload Visual Studio Code to disable this extension."); + return nls.localize('postDisableTooltip', "Please reload VSCodium to disable this extension."); } -@@ -1175,3 +1175,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1170,3 +1170,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (isEnabled && !this.extensionService.canAddExtension(toExtensionDescription(extension.local))) { - return nls.localize('postEnableTooltip', "Please reload Visual Studio Code to enable this extension."); + return nls.localize('postEnableTooltip', "Please reload VSCodium to enable this extension."); } -@@ -1183,3 +1183,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1178,3 +1178,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (extensionInOtherServer && extensionInOtherServer.local && this.extensionEnablementService.isEnabled(extensionInOtherServer.local)) { - return nls.localize('postEnableTooltip', "Please reload Visual Studio Code to enable this extension."); + return nls.localize('postEnableTooltip', "Please reload VSCodium to enable this extension."); @@ -877,10 +877,10 @@ index fdbef87..0f6a6fa 100644 + `// ${nls.localize('doc', 'Open VSCodium and run "Developer: Inspect Key Mappings (JSON)" from Command Palette.')}`, ``, diff --git a/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts b/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts -index eee900e..c938a35 100644 +index f0d76a1..237b894 100644 --- a/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts +++ b/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts -@@ -552,3 +552,3 @@ export class RemoteTunnelWorkbenchContribution extends Disposable implements IWo +@@ -551,3 +551,3 @@ export class RemoteTunnelWorkbenchContribution extends Disposable implements IWo }, - "You can now access this machine anywhere via the secure tunnel [{0}](command:{4}). To connect via a different machine, use the generated [{1}]({2}) link or use the [{6}]({7}) extension in the desktop or web. You can [configure](command:{3}) or [turn off](command:{5}) this access via the VS Code Accounts menu.", + "You can now access this machine anywhere via the secure tunnel [{0}](command:{4}). To connect via a different machine, use the generated [{1}]({2}) link or use the [{6}]({7}) extension in the desktop or web. You can [configure](command:{3}) or [turn off](command:{5}) this access via the VSCodium Accounts menu.", @@ -895,10 +895,10 @@ index b24d91f..a098a62 100644 + const message = await this.tasExperimentService?.getTreatment('CESSurveyMessage') ?? nls.localize('cesSurveyQuestion', 'Got a moment to help the VSCodium team? Please tell us about your experience with VSCodium so far.'); const button = await this.tasExperimentService?.getTreatment('CESSurveyButton') ?? nls.localize('giveFeedback', "Give Feedback"); diff --git a/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts b/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts -index e58fdc8..dbdad06 100644 +index 6449647..aa1815f 100644 --- a/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts +++ b/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts -@@ -3135,3 +3135,3 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer +@@ -3160,3 +3160,3 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer if (response.code && response.code === TerminateResponseCode.ProcessNotFound) { - this._notificationService.error(nls.localize('TerminateAction.noProcess', 'The launched process doesn\'t exist anymore. If the task spawned background tasks exiting VS Code might result in orphaned processes.')); + this._notificationService.error(nls.localize('TerminateAction.noProcess', 'The launched process doesn\'t exist anymore. If the task spawned background tasks exiting VSCodium might result in orphaned processes.')); @@ -936,16 +936,16 @@ index 34fb9cc..965008e 100644 + message: nls.localize('TaskSystem.noProcess', 'The launched task doesn\'t exist anymore. If the task spawned background processes exiting VSCodium might result in orphaned processes. To avoid this start the last background process with a wait flag.'), primaryButton: nls.localize({ key: 'TaskSystem.exitAnyways', comment: ['&& denotes a mnemonic'] }, "&&Exit Anyways"), diff --git a/src/vs/workbench/contrib/terminal/browser/terminalView.ts b/src/vs/workbench/contrib/terminal/browser/terminalView.ts -index 2c775e3..f8cad59 100644 +index cedb103..1a9fc6c 100644 --- a/src/vs/workbench/contrib/terminal/browser/terminalView.ts +++ b/src/vs/workbench/contrib/terminal/browser/terminalView.ts -@@ -194,3 +194,3 @@ export class TerminalViewPane extends ViewPane { +@@ -199,3 +199,3 @@ export class TerminalViewPane extends ViewPane { }]; - this._notificationService.prompt(Severity.Warning, nls.localize('terminal.monospaceOnly', "The terminal only supports monospace fonts. Be sure to restart VS Code if this is a newly installed font."), choices); + this._notificationService.prompt(Severity.Warning, nls.localize('terminal.monospaceOnly', "The terminal only supports monospace fonts. Be sure to restart VSCodium if this is a newly installed font."), choices); } diff --git a/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts b/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts -index a12b044..3bc84c8 100644 +index 0528da6..74cc5ee 100644 --- a/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts +++ b/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts @@ -276,3 +276,3 @@ const terminalConfiguration: IConfigurationNode = { @@ -994,15 +994,15 @@ index a12b044..3bc84c8 100644 + markdownDescription: localize('terminal.integrated.shellIntegration.enabled', "Determines whether or not shell integration is auto-injected to support features like enhanced command tracking and current working directory detection. \n\nShell integration works by injecting the shell with a startup script. The script gives VSCodium insight into what is happening within the terminal.\n\nSupported shells:\n\n- Linux/macOS: bash, fish, pwsh, zsh\n - Windows: pwsh\n\nThis setting applies only when terminals are created, so you will need to restart your terminals for it to take effect.\n\n Note that the script injection may not work if you have custom arguments defined in the terminal profile, have enabled {1}, have a [complex bash `PROMPT_COMMAND`](https://code.visualstudio.com/docs/editor/integrated-terminal#_complex-bash-promptcommand), or other unsupported setup. To disable decorations, see {0}", '`#terminal.integrated.shellIntegrations.decorationsEnabled#`', '`#editor.accessibilitySupport#`'), type: 'boolean', diff --git a/src/vs/workbench/contrib/themes/browser/themes.contribution.ts b/src/vs/workbench/contrib/themes/browser/themes.contribution.ts -index 0902210..e403bb5 100644 +index 60a131a..59e4f63 100644 --- a/src/vs/workbench/contrib/themes/browser/themes.contribution.ts +++ b/src/vs/workbench/contrib/themes/browser/themes.contribution.ts -@@ -826,3 +826,3 @@ class DefaultThemeUpdatedNotificationContribution implements IWorkbenchContribut +@@ -827,3 +827,3 @@ class DefaultThemeUpdatedNotificationContribution implements IWorkbenchContribut Severity.Info, - localize({ key: 'themeUpdatedNotification', comment: ['{0} is the name of the new default theme'] }, "Visual Studio Code now ships with a new default theme '{0}'. If you prefer, you can switch back to the old theme or try one of the many other color themes available.", newTheme.label), + localize({ key: 'themeUpdatedNotification', comment: ['{0} is the name of the new default theme'] }, "VSCodium now ships with a new default theme '{0}'. If you prefer, you can switch back to the old theme or try one of the many other color themes available.", newTheme.label), choices, -@@ -854,3 +854,3 @@ class DefaultThemeUpdatedNotificationContribution implements IWorkbenchContribut +@@ -855,3 +855,3 @@ class DefaultThemeUpdatedNotificationContribution implements IWorkbenchContribut Severity.Info, - localize({ key: 'newThemeNotification', comment: ['{0} is the name of the new default theme'] }, "Visual Studio Code now ships with a new default theme '{0}'. Do you want to give it a try?", theme.label), + localize({ key: 'newThemeNotification', comment: ['{0} is the name of the new default theme'] }, "VSCodium now ships with a new default theme '{0}'. Do you want to give it a try?", theme.label), @@ -1056,30 +1056,16 @@ index 9141402..b1aa321 100644 + description: localize('walkthroughs.steps.completionEvents.onCommand', 'Check off step when a given command is executed anywhere in VSCodium.'), body: 'onCommand:${1:commandId}' diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts b/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts -index b844d92..9da5c43 100644 +index e43f62d..eb5ea8f 100644 --- a/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts +++ b/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts -@@ -173,4 +173,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -172,3 +172,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ id: 'Setup', - title: localize('gettingStarted.setup.title', "Get Started with VS Code"), -- description: localize('gettingStarted.setup.description', "Discover the best customizations to make VS Code yours."), + title: localize('gettingStarted.setup.title', "Get Started with VSCodium"), -+ description: localize('gettingStarted.setup.description', "Discover the best customizations to make VSCodium yours."), - isFeatured: true, -@@ -184,4 +184,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ - id: 'settingsSync', -- title: localize('gettingStarted.settingsSync.title', "Personalize your VS Code"), -- description: localize('gettingStarted.settingsSync.description.interpolated', "Keep your essential VS Code customizations backed up and updated across all your devices.\n{0}", Button(localize('enableSync', "Backup and Sync Settings"), 'command:workbench.userDataSync.actions.turnOn')), -+ title: localize('gettingStarted.settingsSync.title', "Personalize your VSCodium"), -+ description: localize('gettingStarted.settingsSync.description.interpolated', "Keep your essential VSCodium customizations backed up and updated across all your devices.\n{0}", Button(localize('enableSync', "Backup and Sync Settings"), 'command:workbench.userDataSync.actions.turnOn')), - completionEvents: ['onEvent:sync-enabled'], -@@ -204,3 +204,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ - title: localize('gettingStarted.commandPalette.title', "One shortcut to access everything"), -- description: localize('gettingStarted.commandPalette.description.interpolated', "Commands are the keyboard way to accomplish any task in VS Code. **Practice** by looking up your frequent ones to save time.\n{0}\n__Try searching for 'view toggle'.__", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')), -+ description: localize('gettingStarted.commandPalette.description.interpolated', "Commands are the keyboard way to accomplish any task in VSCodium. **Practice** by looking up your frequent ones to save time.\n{0}\n__Try searching for 'view toggle'.__", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')), - media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' }, -@@ -210,6 +210,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ - title: localize('gettingStarted.extensions.title', "Limitless extensibility"), + description: localize('gettingStarted.setup.description', "Customize your editor, learn the basics, and start coding"), +@@ -194,6 +194,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ + title: localize('gettingStarted.extensions.title', "Code with extensions"), - description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopular', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')), + description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VSCodium's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopular', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')), when: 'workspacePlatform == \'webworker\'', @@ -1087,37 +1073,43 @@ index b844d92..9da5c43 100644 - type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions-web.svg' + type: 'svg', altText: 'VSCodium extension marketplace with featured language extensions', path: 'extensions-web.svg' }, -@@ -228,3 +228,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -212,5 +212,5 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ + title: localize('gettingStarted.settings.title', "Tune your settings"), +- description: localize('gettingStarted.settings.description.interpolated', "Customize every aspect of VS Code and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}", Button(localize('tweakSettings', "Open Settings"), 'command:toSide:workbench.action.openSettings')), ++ description: localize('gettingStarted.settings.description.interpolated', "Customize every aspect of VSCodium and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}", Button(localize('tweakSettings', "Open Settings"), 'command:toSide:workbench.action.openSettings')), + media: { +- type: 'svg', altText: 'VS Code Settings', path: 'settings.svg' ++ type: 'svg', altText: 'VSCodium Settings', path: 'settings.svg' + }, +@@ -230,3 +230,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ + title: localize('gettingStarted.commandPalette.title', "Unlock productivity with the Command Palette "), +- description: localize('gettingStarted.commandPalette.description.interpolated', "Run commands without reaching for your mouse to accomplish any task in VS Code.\n{0}", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')), ++ description: localize('gettingStarted.commandPalette.description.interpolated', "Run commands without reaching for your mouse to accomplish any task in VSCodium.\n{0}", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')), + media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' }, +@@ -236,3 +236,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"), - description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFileFolder')), + description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VSCodium.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFileFolder')), when: 'isMac && workspaceFolderCount == 0', -@@ -237,3 +237,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -245,3 +245,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"), - description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFolder')), + description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VSCodium.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFolder')), when: '!isMac && workspaceFolderCount == 0', -@@ -258,4 +258,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -263,4 +263,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ + title: localize('gettingStarted.videoTutorial.title', "Watch video tutorials"), +- description: localize('gettingStarted.videoTutorial.description.interpolated', "Watch the first in a series of short & practical video tutorials for VS Code's key features.\n{0}", Button(localize('watch', "Watch Tutorial"), 'https://aka.ms/vscode-getting-started-video')), +- media: { type: 'svg', altText: 'VS Code Settings', path: 'learn.svg' }, ++ description: localize('gettingStarted.videoTutorial.description.interpolated', "Watch the first in a series of short & practical video tutorials for VSCodium's key features.\n{0}", Button(localize('watch', "Watch Tutorial"), 'https://aka.ms/vscode-getting-started-video')), ++ media: { type: 'svg', altText: 'VSCodium Settings', path: 'learn.svg' }, + } +@@ -272,3 +272,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ id: 'SetupWeb', - title: localize('gettingStarted.setupWeb.title', "Get Started with VS Code for the Web"), -- description: localize('gettingStarted.setupWeb.description', "Discover the best customizations to make VS Code for the Web yours."), + title: localize('gettingStarted.setupWeb.title', "Get Started with VSCodium for the Web"), -+ description: localize('gettingStarted.setupWeb.description', "Discover the best customizations to make VSCodium for the Web yours."), - isFeatured: true, -@@ -269,4 +269,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ - id: 'settingsSyncWeb', -- title: localize('gettingStarted.settingsSync.title', "Personalize your VS Code"), -- description: localize('gettingStarted.settingsSync.description.interpolated', "Keep your essential VS Code customizations backed up and updated across all your devices.\n{0}", Button(localize('enableSync', "Backup and Sync Settings"), 'command:workbench.userDataSync.actions.turnOn')), -+ title: localize('gettingStarted.settingsSync.title', "Personalize your VSCodium"), -+ description: localize('gettingStarted.settingsSync.description.interpolated', "Keep your essential VSCodium customizations backed up and updated across all your devices.\n{0}", Button(localize('enableSync', "Backup and Sync Settings"), 'command:workbench.userDataSync.actions.turnOn')), - when: 'syncStatus != uninitialized', -@@ -290,3 +290,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ - title: localize('gettingStarted.commandPalette.title', "One shortcut to access everything"), -- description: localize('gettingStarted.commandPalette.description.interpolated', "Commands are the keyboard way to accomplish any task in VS Code. **Practice** by looking up your frequent ones to save time.\n{0}\n__Try searching for 'view toggle'.__", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')), -+ description: localize('gettingStarted.commandPalette.description.interpolated', "Commands are the keyboard way to accomplish any task in VSCodium. **Practice** by looking up your frequent ones to save time.\n{0}\n__Try searching for 'view toggle'.__", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')), - media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' }, -@@ -305,6 +305,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ - title: localize('gettingStarted.extensions.title', "Limitless extensibility"), + description: localize('gettingStarted.setupWeb.description', "Customize your editor, learn the basics, and start coding"), +@@ -303,6 +303,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ + title: localize('gettingStarted.extensions.title', "Code with extensions"), - description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopular', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')), + description: localize('gettingStarted.extensionsWeb.description.interpolated', "Extensions are VSCodium's power-ups. A growing number are becoming available in the web.\n{0}", Button(localize('browsePopular', "Browse Popular Web Extensions"), 'command:workbench.extensions.action.showPopularExtensions')), when: 'workspacePlatform == \'webworker\'', @@ -1125,18 +1117,18 @@ index b844d92..9da5c43 100644 - type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions-web.svg' + type: 'svg', altText: 'VSCodium extension marketplace with featured language extensions', path: 'extensions-web.svg' }, -@@ -323,3 +323,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ +@@ -331,3 +331,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ + title: localize('gettingStarted.commandPalette.title', "Unlock productivity with the Command Palette "), +- description: localize('gettingStarted.commandPalette.description.interpolated', "Run commands without reaching for your mouse to accomplish any task in VS Code.\n{0}", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')), ++ description: localize('gettingStarted.commandPalette.description.interpolated', "Run commands without reaching for your mouse to accomplish any task in VSCodium.\n{0}", Button(localize('commandPalette', "Open Command Palette"), 'command:workbench.action.showCommands')), + media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' }, +@@ -337,3 +337,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"), - description: localize('gettingStarted.setup.OpenFolderWeb.description.interpolated', "You're all set to start coding. You can open a local project or a remote repository to get your files into VS Code.\n{0}\n{1}", Button(localize('openFolder', "Open Folder"), 'command:workbench.action.addRootFolder'), Button(localize('openRepository', "Open Repository"), 'command:remoteHub.openRepository')), + description: localize('gettingStarted.setup.OpenFolderWeb.description.interpolated', "You're all set to start coding. You can open a local project or a remote repository to get your files into VSCodium.\n{0}\n{1}", Button(localize('openFolder', "Open Folder"), 'command:workbench.action.addRootFolder'), Button(localize('openRepository', "Open Repository"), 'command:remoteHub.openRepository')), when: 'workspaceFolderCount == 0', -@@ -348,3 +348,3 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ - next: 'Intermediate', -- description: localize('gettingStarted.beginner.description', "Jump right into VS Code and get an overview of the must-have features."), -+ description: localize('gettingStarted.beginner.description', "Jump right into VSCodium and get an overview of the must-have features."), - content: { -@@ -372,6 +372,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ - title: localize('gettingStarted.extensions.title', "Limitless extensibility"), +@@ -368,6 +368,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ + title: localize('gettingStarted.extensions.title', "Code with extensions"), - description: localize('gettingStarted.extensions.description.interpolated', "Extensions are VS Code's power-ups. They range from handy productivity hacks, expanding out-of-the-box features, to adding completely new capabilities.\n{0}", Button(localize('browseRecommended', "Browse Recommended Extensions"), 'command:workbench.extensions.action.showRecommendedExtensions')), + description: localize('gettingStarted.extensions.description.interpolated', "Extensions are VSCodium's power-ups. They range from handy productivity hacks, expanding out-of-the-box features, to adding completely new capabilities.\n{0}", Button(localize('browseRecommended', "Browse Recommended Extensions"), 'command:workbench.extensions.action.showRecommendedExtensions')), when: 'workspacePlatform != \'webworker\'', @@ -1144,31 +1136,6 @@ index b844d92..9da5c43 100644 - type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions.svg' + type: 'svg', altText: 'VSCodium extension marketplace with featured language extensions', path: 'extensions.svg' }, -@@ -381,5 +381,5 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ - title: localize('gettingStarted.settings.title', "Tune your settings"), -- description: localize('gettingStarted.settings.description.interpolated', "Tweak every aspect of VS Code and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}", Button(localize('tweakSettings', "Tweak my Settings"), 'command:toSide:workbench.action.openSettings')), -+ description: localize('gettingStarted.settings.description.interpolated', "Tweak every aspect of VSCodium and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}", Button(localize('tweakSettings', "Tweak my Settings"), 'command:toSide:workbench.action.openSettings')), - media: { -- type: 'svg', altText: 'VS Code Settings', path: 'settings.svg' -+ type: 'svg', altText: 'VSCodium Settings', path: 'settings.svg' - }, -@@ -388,6 +388,6 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ - id: 'profiles', -- title: localize('gettingStarted.profiles.title', "Customize VS Code with Profiles"), -- description: localize('gettingStarted.profiles.description.interpolated', "Profiles let you create sets of VS Code customizations that include settings, extensions and UI state. Create your own profile from scratch or use the predefined set of profile templates for your specific workflow.\n{0}", Button(localize('tryProfiles', "Try Profiles"), 'command:workbench.profiles.actions.createProfile')), -+ title: localize('gettingStarted.profiles.title', "Customize VSCodium with Profiles"), -+ description: localize('gettingStarted.profiles.description.interpolated', "Profiles let you create sets of VSCodium customizations that include settings, extensions and UI state. Create your own profile from scratch or use the predefined set of profile templates for your specific workflow.\n{0}", Button(localize('tryProfiles', "Try Profiles"), 'command:workbench.profiles.actions.createProfile')), - media: { -- type: 'svg', altText: 'VS Code Profiles', path: 'profiles.svg' -+ type: 'svg', altText: 'VSCodium Profiles', path: 'profiles.svg' - }, -@@ -406,4 +406,4 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ - title: localize('gettingStarted.videoTutorial.title', "Lean back and learn"), -- description: localize('gettingStarted.videoTutorial.description.interpolated', "Watch the first in a series of short & practical video tutorials for VS Code's key features.\n{0}", Button(localize('watch', "Watch Tutorial"), 'https://aka.ms/vscode-getting-started-video')), -- media: { type: 'svg', altText: 'VS Code Settings', path: 'learn.svg' }, -+ description: localize('gettingStarted.videoTutorial.description.interpolated', "Watch the first in a series of short & practical video tutorials for VSCodium's key features.\n{0}", Button(localize('watch', "Watch Tutorial"), 'https://aka.ms/vscode-getting-started-video')), -+ media: { type: 'svg', altText: 'VSCodium Settings', path: 'learn.svg' }, - } diff --git a/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/vs_code_editor_walkthrough.ts b/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/vs_code_editor_walkthrough.ts index e3fe20c..b879dca 100644 --- a/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/vs_code_editor_walkthrough.ts @@ -1208,15 +1175,15 @@ index 864a19e..84db739 100644 + markdownDescription: localize('workspace.trust.emptyWindow.description', "Controls whether or not the empty window is trusted by default within VSCodium. When used with `#{0}#`, you can enable the full functionality of VSCodium without prompting in an empty window.", WORKSPACE_TRUST_UNTRUSTED_FILES), tags: [WORKSPACE_TRUST_SETTING_TAG], diff --git a/src/vs/workbench/electron-sandbox/desktop.contribution.ts b/src/vs/workbench/electron-sandbox/desktop.contribution.ts -index 829ef06..38e61bb 100644 +index f904efa..dca7363 100644 --- a/src/vs/workbench/electron-sandbox/desktop.contribution.ts +++ b/src/vs/workbench/electron-sandbox/desktop.contribution.ts -@@ -367,3 +367,3 @@ import product from 'vs/platform/product/common/product'; +@@ -362,3 +362,3 @@ import { applicationConfigurationNodeBase, securityConfigurationNodeBase } from type: 'boolean', - description: localize('argv.disableChromiumSandbox', "Disables the Chromium sandbox. This is useful when running VS Code as elevated on Linux and running under Applocker on Windows.") + description: localize('argv.disableChromiumSandbox', "Disables the Chromium sandbox. This is useful when running VSCodium as elevated on Linux and running under Applocker on Windows.") }, -@@ -371,3 +371,3 @@ import product from 'vs/platform/product/common/product'; +@@ -366,3 +366,3 @@ import { applicationConfigurationNodeBase, securityConfigurationNodeBase } from type: 'boolean', - description: localize('argv.useInMemorySecretStorage', "Ensures that an in-memory store will be used for secret storage instead of using the OS's credential store. This is often used when running VS Code extension tests or when you're experiencing difficulties with the credential store.") + description: localize('argv.useInMemorySecretStorage', "Ensures that an in-memory store will be used for secret storage instead of using the OS's credential store. This is often used when running VSCodium extension tests or when you're experiencing difficulties with the credential store.") @@ -1231,16 +1198,16 @@ index 5dcc2ff..8b02544 100644 + const productName = localize('VSCodium for Web', "{0} for the Web", this.productService.nameLong); const virtualWorkspaceSupport = this.extensionManifestPropertiesService.getExtensionVirtualWorkspaceSupportType(manifest); diff --git a/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts b/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts -index 9da3a6e..7d215fc 100644 +index e3c810e..0e01b23 100644 --- a/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts +++ b/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts -@@ -89,3 +89,3 @@ type ExtensionUrlHandlerClassification = { +@@ -90,3 +90,3 @@ type ExtensionUrlHandlerClassification = { readonly extensionId: { classification: 'PublicNonPersonalData'; purpose: 'FeatureInsight'; comment: 'The ID of the extension that should handle the URI' }; - comment: 'This is used to understand the drop funnel of extension URI handling by the OS & VS Code.'; + comment: 'This is used to understand the drop funnel of extension URI handling by the OS & VSCodium.'; }; diff --git a/src/vs/workbench/services/extensions/common/extensionsRegistry.ts b/src/vs/workbench/services/extensions/common/extensionsRegistry.ts -index 743f0a6..46878dc 100644 +index ed8bae3..863e6dd 100644 --- a/src/vs/workbench/services/extensions/common/extensionsRegistry.ts +++ b/src/vs/workbench/services/extensions/common/extensionsRegistry.ts @@ -171,3 +171,3 @@ export const schema: IJSONSchema = { @@ -1282,26 +1249,26 @@ index 743f0a6..46878dc 100644 - description: nls.localize('vscode.extension.activationEvents', 'Activation events for the VS Code extension.'), + description: nls.localize('vscode.extension.activationEvents', 'Activation events for the VSCodium extension.'), type: 'array', -@@ -377,3 +377,3 @@ export const schema: IJSONSchema = { +@@ -382,3 +382,3 @@ export const schema: IJSONSchema = { label: '*', - description: nls.localize('vscode.extension.activationEvents.star', 'An activation event emitted on VS Code startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case.'), + description: nls.localize('vscode.extension.activationEvents.star', 'An activation event emitted on VSCodium startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case.'), body: '*' -@@ -549,3 +549,3 @@ export const schema: IJSONSchema = { +@@ -554,3 +554,3 @@ export const schema: IJSONSchema = { 'vscode:prepublish': { - description: nls.localize('vscode.extension.scripts.prepublish', 'Script executed before the package is published as a VS Code extension.'), + description: nls.localize('vscode.extension.scripts.prepublish', 'Script executed before the package is published as a VSCodium extension.'), type: 'string' -@@ -553,3 +553,3 @@ export const schema: IJSONSchema = { +@@ -558,3 +558,3 @@ export const schema: IJSONSchema = { 'vscode:uninstall': { - description: nls.localize('vscode.extension.scripts.uninstall', 'Uninstall hook for VS Code extension. Script that gets executed when the extension is completely uninstalled from VS Code which is when VS Code is restarted (shutdown and start) after the extension is uninstalled. Only Node scripts are supported.'), + description: nls.localize('vscode.extension.scripts.uninstall', 'Uninstall hook for VSCodium extension. Script that gets executed when the extension is completely uninstalled from VSCodium which is when VSCodium is restarted (shutdown and start) after the extension is uninstalled. Only Node scripts are supported.'), type: 'string' diff --git a/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts b/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts -index c5adae5..dc43793 100644 +index 123f189..1c73250 100644 --- a/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts +++ b/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts -@@ -173,3 +173,3 @@ export class NativeExtensionService extends AbstractExtensionService implements +@@ -174,3 +174,3 @@ export class NativeExtensionService extends AbstractExtensionService implements [{ - label: nls.localize('relaunch', "Relaunch VS Code"), + label: nls.localize('relaunch', "Relaunch VSCodium"), diff --git a/patches/report-issue.patch b/patches/report-issue.patch index 37ebd9412b9..79a0c584a1d 100644 --- a/patches/report-issue.patch +++ b/patches/report-issue.patch @@ -1,8 +1,31 @@ +diff --git a/src/vs/code/electron-sandbox/issue/issueReporterModel.ts b/src/vs/code/electron-sandbox/issue/issueReporterModel.ts +index 74f9939..341ef06 100644 +--- a/src/vs/code/electron-sandbox/issue/issueReporterModel.ts ++++ b/src/vs/code/electron-sandbox/issue/issueReporterModel.ts +@@ -79,3 +79,3 @@ ${this._data.issueDescription} + ${this.getExtensionVersion()} +-VS Code version: ${this._data.versionInfo && this._data.versionInfo.vscodeVersion} ++VSCodium version: ${this._data.versionInfo && this._data.versionInfo.vscodeVersion} + OS version: ${this._data.versionInfo && this._data.versionInfo.os} +diff --git a/src/vs/code/electron-sandbox/issue/issueReporterPage.ts b/src/vs/code/electron-sandbox/issue/issueReporterPage.ts +index 96ec5f7..5c091d9 100644 +--- a/src/vs/code/electron-sandbox/issue/issueReporterPage.ts ++++ b/src/vs/code/electron-sandbox/issue/issueReporterPage.ts +@@ -18,3 +18,3 @@ const reviewGuidanceLabel = localize( // intentionally not escaped because of it + comment: [ +- '{Locked=""}', ++ '{Locked=""}', + '{Locked=""}' +@@ -22,3 +22,3 @@ const reviewGuidanceLabel = localize( // intentionally not escaped because of it + }, +- 'Before you report an issue here please review the guidance we provide.' ++ 'Before you report an issue here please review the guidance we provide.' + ); diff --git a/src/vs/code/electron-sandbox/issue/issueReporterService.ts b/src/vs/code/electron-sandbox/issue/issueReporterService.ts -index d0c4789..9e6bfc5 100644 +index d7f98f6..ed54042 100644 --- a/src/vs/code/electron-sandbox/issue/issueReporterService.ts +++ b/src/vs/code/electron-sandbox/issue/issueReporterService.ts -@@ -455,5 +455,5 @@ export class IssueReporter extends Disposable { +@@ -517,5 +517,5 @@ export class IssueReporter extends Disposable { - private searchVSCodeIssues(title: string, issueDescription?: string): void { + private searchVSCodeIssues(title: string, _issueDescription?: string): void { @@ -10,7 +33,7 @@ index d0c4789..9e6bfc5 100644 - this.searchDuplicates(title, issueDescription); + this.searchGitHub('VSCodium/vscodium', title); } else { -@@ -549,33 +549,2 @@ export class IssueReporter extends Disposable { +@@ -611,33 +611,2 @@ export class IssueReporter extends Disposable { - @debounce(300) - private searchDuplicates(title: string, body?: string): void { @@ -26,7 +49,7 @@ index d0c4789..9e6bfc5 100644 - }) - }; - -- window.fetch(url, init).then((response) => { +- fetch(url, init).then((response) => { - response.json().then(result => { - this.clearSearchResults(); - @@ -44,34 +67,11 @@ index d0c4789..9e6bfc5 100644 - } - private displaySearchResults(results: SearchResult[]) { -@@ -667,3 +636,3 @@ export class IssueReporter extends Disposable { +@@ -729,3 +698,3 @@ export class IssueReporter extends Disposable { sourceSelect.append(this.makeOption('', localize('selectSource', "Select source"), true)); - sourceSelect.append(this.makeOption('vscode', localize('vscode', "Visual Studio Code"), false)); + sourceSelect.append(this.makeOption('vscode', localize('vscode', "VSCodium"), false)); sourceSelect.append(this.makeOption('extension', localize('extension', "An extension"), false)); -diff --git a/src/vs/code/electron-sandbox/issue/issueReporterModel.ts b/src/vs/code/electron-sandbox/issue/issueReporterModel.ts -index 98338df..6d2f581 100644 ---- a/src/vs/code/electron-sandbox/issue/issueReporterModel.ts -+++ b/src/vs/code/electron-sandbox/issue/issueReporterModel.ts -@@ -77,3 +77,3 @@ ${this._data.issueDescription} - ${this.getExtensionVersion()} --VS Code version: ${this._data.versionInfo && this._data.versionInfo.vscodeVersion} -+VSCodium version: ${this._data.versionInfo && this._data.versionInfo.vscodeVersion} - OS version: ${this._data.versionInfo && this._data.versionInfo.os} -diff --git a/src/vs/code/electron-sandbox/issue/issueReporterPage.ts b/src/vs/code/electron-sandbox/issue/issueReporterPage.ts -index 0eedb21..c83e092 100644 ---- a/src/vs/code/electron-sandbox/issue/issueReporterPage.ts -+++ b/src/vs/code/electron-sandbox/issue/issueReporterPage.ts -@@ -17,3 +17,3 @@ const reviewGuidanceLabel = localize( // intentionally not escaped because of it - comment: [ -- '{Locked=""}', -+ '{Locked=""}', - '{Locked=""}' -@@ -21,3 +21,3 @@ const reviewGuidanceLabel = localize( // intentionally not escaped because of it - }, -- 'Before you report an issue here please review the guidance we provide.' -+ 'Before you report an issue here please review the guidance we provide.' - ); diff --git a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts index 87839a6..49727fc 100644 --- a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts diff --git a/product.json b/product.json index ce85b46c51b..09a84ea12d5 100644 --- a/product.json +++ b/product.json @@ -80,14 +80,15 @@ "contribEditorContentMenu", "quickPickSortByLabel", "portsAttributes", + "registerIssueDataProvider", "testObserver", "quickPickItemTooltip", "terminalDataWriteEvent", + "terminalExecuteCommandEvent", "saveEditor" ], "ms-dotnettools.dotnet-interactive-vscode": [ - "notebookMessaging", - "languageConfigurationAutoClosingPairs" + "notebookMessaging" ], "GitHub.codespaces": [ "contribEditSessions", @@ -153,6 +154,7 @@ "ms-vscode-remote.remote-containers": [ "contribEditSessions", "resolvers", + "portsAttributes", "tunnels", "workspaceTrust", "terminalDimensions", @@ -186,16 +188,10 @@ "quickDiffProvider" ], "GitHub.copilot": [ - "inlineCompletionsAdditions", - "interactive", - "interactiveUserActions", - "terminalDataWriteEvent" + "inlineCompletionsAdditions" ], "GitHub.copilot-nightly": [ - "inlineCompletionsAdditions", - "interactive", - "interactiveUserActions", - "terminalDataWriteEvent" + "inlineCompletionsAdditions" ], "GitHub.copilot-chat": [ "handleIssueUri", @@ -205,18 +201,19 @@ "terminalExecuteCommandEvent", "terminalSelection", "terminalQuickFixProvider", - "chatProvider", "chatVariables", - "chatAgents", "chatAgents2", "chatAgents2Additions", "defaultChatAgent", "readonlyMessage", + "chatProvider", "mappedEditsProvider", "aiRelatedInformation", "codeActionAI", "findTextInFiles", - "textSearchProvider" + "textSearchProvider", + "scmInputBoxValueProvider", + "contribSourceControlInputBoxMenu" ], "GitHub.remotehub": [ "contribRemoteHelp", diff --git a/stable.json b/stable.json index f5df35ef698..a9dd768e86d 100644 --- a/stable.json +++ b/stable.json @@ -1,4 +1,4 @@ { - "tag": "1.84.2", - "commit": "1a5daa3a0231a0fbba4f14db7ec463cf99d7768e" + "tag": "1.85.0", + "commit": "af28b32d7e553898b2a91af498b1fb666fdebe0c" } From d6d31a6443b564987fdcbaddbc92b10dde57cf40 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sat, 9 Dec 2023 23:30:17 +0100 Subject: [PATCH 22/39] ci(linux): use node-v18 (#1754) --- .github/workflows/insider-linux.yml | 8 ++++---- .github/workflows/stable-linux.yml | 8 ++++---- patches/ext-from-gh.patch | 22 ++++++++++++++++++++++ 3 files changed, 30 insertions(+), 8 deletions(-) create mode 100644 patches/ext-from-gh.patch diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index 90b1e5939a6..0c267ccad0d 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -114,16 +114,16 @@ jobs: include: - vscode_arch: x64 npm_arch: x64 - image: vscodium/vscodium-linux-build-agent:bionic-x64 + image: vscodium/vscodium-linux-build-agent:focal-x64 - vscode_arch: arm64 npm_arch: arm64 - image: vscodium/vscodium-linux-build-agent:bionic-arm64 + image: vscodium/vscodium-linux-build-agent:focal-arm64 - vscode_arch: armhf npm_arch: arm - image: vscodium/vscodium-linux-build-agent:bionic-armhf + image: vscodium/vscodium-linux-build-agent:focal-armhf - vscode_arch: ppc64le npm_arch: ppc64 - image: vscodium/vscodium-linux-build-agent:bionic-ppc64le + image: vscodium/vscodium-linux-build-agent:focal-ppc64le container: image: ${{ matrix.image }} env: diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index 5ca216e50c6..affc45eaf55 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -111,16 +111,16 @@ jobs: include: - vscode_arch: x64 npm_arch: x64 - image: vscodium/vscodium-linux-build-agent:bionic-x64 + image: vscodium/vscodium-linux-build-agent:focal-x64 - vscode_arch: arm64 npm_arch: arm64 - image: vscodium/vscodium-linux-build-agent:bionic-arm64 + image: vscodium/vscodium-linux-build-agent:focal-arm64 - vscode_arch: armhf npm_arch: arm - image: vscodium/vscodium-linux-build-agent:bionic-armhf + image: vscodium/vscodium-linux-build-agent:focal-armhf - vscode_arch: ppc64le npm_arch: ppc64 - image: vscodium/vscodium-linux-build-agent:bionic-ppc64le + image: vscodium/vscodium-linux-build-agent:focal-ppc64le container: image: ${{ matrix.image }} env: diff --git a/patches/ext-from-gh.patch b/patches/ext-from-gh.patch new file mode 100644 index 00000000000..b7bc98ff6e5 --- /dev/null +++ b/patches/ext-from-gh.patch @@ -0,0 +1,22 @@ +diff --git a/build/lib/builtInExtensions.js b/build/lib/builtInExtensions.js +index 1b0adc4..b595123 100644 +--- a/build/lib/builtInExtensions.js ++++ b/build/lib/builtInExtensions.js +@@ -47,5 +47,3 @@ function isUpToDate(extension) { + function getExtensionDownloadStream(extension) { +- const galleryServiceUrl = productjson.extensionsGallery?.serviceUrl; +- return (galleryServiceUrl ? ext.fromMarketplace(galleryServiceUrl, extension) : ext.fromGithub(extension)) +- .pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); ++ return ext.fromGithub(extension).pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); + } +diff --git a/build/lib/builtInExtensions.ts b/build/lib/builtInExtensions.ts +index fefed43..4ae553e 100644 +--- a/build/lib/builtInExtensions.ts ++++ b/build/lib/builtInExtensions.ts +@@ -72,5 +72,3 @@ function isUpToDate(extension: IExtensionDefinition): boolean { + function getExtensionDownloadStream(extension: IExtensionDefinition) { +- const galleryServiceUrl = productjson.extensionsGallery?.serviceUrl; +- return (galleryServiceUrl ? ext.fromMarketplace(galleryServiceUrl, extension) : ext.fromGithub(extension)) +- .pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); ++ return ext.fromGithub(extension).pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); + } From ae0d209284ffac5cfec2679971beec8ad0f921bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 14:06:44 +0100 Subject: [PATCH 23/39] build(deps): bump actions/stale from 8 to 9 (#1759) --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 2b71a70cc7b..6559481be59 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -11,7 +11,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v8 + - uses: actions/stale@v9 with: days-before-stale: 180 days-before-close: 30 From e159da782aaa28fe7cb9edf559d1d7e9fec80279 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 14:45:10 +0100 Subject: [PATCH 24/39] build(deps): bump actions/setup-python from 4 to 5 (#1758) --- .github/workflows/insider-macos.yml | 2 +- .github/workflows/insider-windows.yml | 2 +- .github/workflows/stable-macos.yml | 2 +- .github/workflows/stable-windows.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/insider-macos.yml b/.github/workflows/insider-macos.yml index 295bcc0bb16..c7f524ecab8 100644 --- a/.github/workflows/insider-macos.yml +++ b/.github/workflows/insider-macos.yml @@ -53,7 +53,7 @@ jobs: node-version: '18.17' - name: Setup Python 3 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' if: env.VSCODE_ARCH == 'x64' diff --git a/.github/workflows/insider-windows.yml b/.github/workflows/insider-windows.yml index b636534c2ab..2da424ce19b 100644 --- a/.github/workflows/insider-windows.yml +++ b/.github/workflows/insider-windows.yml @@ -61,7 +61,7 @@ jobs: run: npm install -g yarn - name: Setup Python 3 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' diff --git a/.github/workflows/stable-macos.yml b/.github/workflows/stable-macos.yml index ce31a65aaf3..55a2bd02e42 100644 --- a/.github/workflows/stable-macos.yml +++ b/.github/workflows/stable-macos.yml @@ -50,7 +50,7 @@ jobs: node-version: '18.17' - name: Setup Python 3 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' if: env.VSCODE_ARCH == 'x64' diff --git a/.github/workflows/stable-windows.yml b/.github/workflows/stable-windows.yml index b42d15a5321..98b116e10d4 100644 --- a/.github/workflows/stable-windows.yml +++ b/.github/workflows/stable-windows.yml @@ -59,7 +59,7 @@ jobs: run: npm install -g yarn - name: Setup Python 3 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' From 56e99f2989ca76263d54618e395be4b1c7632cc8 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Thu, 14 Dec 2023 21:11:53 +0100 Subject: [PATCH 25/39] fix: update commit msg and branch name [skip ci] --- update_qualityjson.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/update_qualityjson.sh b/update_qualityjson.sh index 9c0df707aee..06235b3b771 100755 --- a/update_qualityjson.sh +++ b/update_qualityjson.sh @@ -22,10 +22,12 @@ git add . CHANGES=$( git status --porcelain ) if [[ -n "${CHANGES}" ]]; then - git commit -m "build(insider): update to commit ${MS_COMMIT:0:7}" + git commit -m "build(${VSCODE_QUALITY}): update to commit ${MS_COMMIT:0:7}" - if ! git push origin insider --quiet; then - git pull origin insider - git push origin insider --quiet + BRANCH_NAME=$( git rev-parse --abbrev-ref HEAD ) + + if ! git push origin "${BRANCH_NAME}" --quiet; then + git pull origin "${BRANCH_NAME}" + git push origin "${BRANCH_NAME}" --quiet fi fi From 01f2c461adb007f1002b20f3a2b53317ddb962d9 Mon Sep 17 00:00:00 2001 From: VSCodium CI Date: Thu, 14 Dec 2023 21:19:46 +0100 Subject: [PATCH 26/39] build(stable): update to commit 0ee08df --- stable.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stable.json b/stable.json index a9dd768e86d..4e5f02f5717 100644 --- a/stable.json +++ b/stable.json @@ -1,4 +1,4 @@ { - "tag": "1.85.0", - "commit": "af28b32d7e553898b2a91af498b1fb666fdebe0c" + "tag": "1.85.1", + "commit": "0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2" } From 40c487fcf97a47d5aacd53f7d42a65366028b652 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sun, 17 Dec 2023 00:30:20 +0100 Subject: [PATCH 27/39] ci: generate assets for a pr [skip ci] --- .github/workflows/insider-linux.yml | 8 +++--- .github/workflows/insider-macos.yml | 8 +++--- .github/workflows/insider-windows.yml | 8 +++--- .github/workflows/stable-linux.yml | 39 ++++++++++++++++++++++++--- .github/workflows/stable-macos.yml | 8 +++--- .github/workflows/stable-windows.yml | 8 +++--- check_cron_or_pr.sh | 4 +-- 7 files changed, 57 insertions(+), 26 deletions(-) diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index 0c267ccad0d..51170db70ae 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -6,9 +6,9 @@ on: release_version: type: string description: Forced release version - test_asset_builder: + generate_assets: type: boolean - description: Test the assets builder + description: Generate assets repository_dispatch: types: [insider] push: @@ -52,7 +52,7 @@ jobs: - name: Check PR or cron env: - TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }} + GENERATE_ASSETS: ${{ github.event.inputs.generate_assets }} run: ./check_cron_or_pr.sh dependencies: @@ -166,7 +166,7 @@ jobs: - name: Prepare assets run: ./prepare_assets.sh - if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true') + if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true') - name: Release env: diff --git a/.github/workflows/insider-macos.yml b/.github/workflows/insider-macos.yml index c7f524ecab8..a576bf197a9 100644 --- a/.github/workflows/insider-macos.yml +++ b/.github/workflows/insider-macos.yml @@ -6,9 +6,9 @@ on: release_version: type: string description: Forced release version - test_asset_builder: + generate_assets: type: boolean - description: Test the assets builder + description: Generate assets repository_dispatch: types: [insider] push: @@ -65,7 +65,7 @@ jobs: - name: Check PR or cron env: - TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }} + GENERATE_ASSETS: ${{ github.event.inputs.generate_assets }} run: . check_cron_or_pr.sh - name: Check existing VSCodium tags/releases @@ -86,7 +86,7 @@ jobs: CERTIFICATE_OSX_PASSWORD: ${{ secrets.CERTIFICATE_OSX_PASSWORD }} CERTIFICATE_OSX_ID: ${{ secrets.CERTIFICATE_OSX_ID }} run: ./prepare_assets.sh - if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true') + if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true') - name: Release env: diff --git a/.github/workflows/insider-windows.yml b/.github/workflows/insider-windows.yml index 2da424ce19b..87289872bdc 100644 --- a/.github/workflows/insider-windows.yml +++ b/.github/workflows/insider-windows.yml @@ -6,9 +6,9 @@ on: release_version: type: string description: Forced release version - test_asset_builder: + generate_assets: type: boolean - description: Test the assets builder + description: Generate assets repository_dispatch: types: [insider] push: @@ -72,7 +72,7 @@ jobs: - name: Check PR or cron env: - TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }} + GENERATE_ASSETS: ${{ github.event.inputs.generate_assets }} run: ./check_cron_or_pr.sh - name: Check existing VSCodium tags/releases @@ -91,7 +91,7 @@ jobs: - name: Prepare assets run: ./prepare_assets.sh - if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true') + if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true') - name: Release env: diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index affc45eaf55..47966b29f6f 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -6,9 +6,12 @@ on: force_version: type: boolean description: Force update version - test_asset_builder: + generate_assets: type: boolean - description: Test the assets builder + description: Generate assets + checkout_pr: + type: string + description: Checkout PR repository_dispatch: types: [stable] push: @@ -44,12 +47,18 @@ jobs: with: ref: ${{ env.GITHUB_BRANCH }} + - name: Checkout PR + uses: dawidd6/action-checkout-pr@v1 + with: + pr: ${{ github.event.inputs.checkout_pr }} + if: github.event.inputs.checkout_pr != '' + - name: Clone VSCode repo run: ./get_repo.sh - name: Check PR or cron env: - TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }} + GENERATE_ASSETS: ${{ github.event.inputs.generate_assets }} run: ./check_cron_or_pr.sh dependencies: @@ -77,6 +86,12 @@ jobs: with: ref: ${{ env.GITHUB_BRANCH }} + - name: Checkout PR + uses: dawidd6/action-checkout-pr@v1 + with: + pr: ${{ github.event.inputs.checkout_pr }} + if: github.event.inputs.checkout_pr != '' + - name: Clone VSCode repo run: ./get_repo.sh @@ -133,6 +148,14 @@ jobs: steps: - uses: actions/checkout@v3 + with: + ref: ${{ env.GITHUB_BRANCH }} + + - name: Checkout PR + uses: dawidd6/action-checkout-pr@v1 + with: + pr: ${{ github.event.inputs.checkout_pr }} + if: github.event.inputs.checkout_pr != '' - name: Clone VSCode repo run: ./get_repo.sh @@ -161,7 +184,15 @@ jobs: - name: Prepare assets run: ./prepare_assets.sh - if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true') + if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true') + + - name: Upload assets + uses: actions/upload-artifact@v3 + with: + name: assets + path: ./assets/ + retention-days: 3 + if: github.event.inputs.generate_assets == 'true' - name: Release env: diff --git a/.github/workflows/stable-macos.yml b/.github/workflows/stable-macos.yml index 55a2bd02e42..e61e6ce9433 100644 --- a/.github/workflows/stable-macos.yml +++ b/.github/workflows/stable-macos.yml @@ -6,9 +6,9 @@ on: force_version: type: boolean description: Force update version - test_asset_builder: + generate_assets: type: boolean - description: Test the assets builder + description: Generate assets repository_dispatch: types: [stable] push: @@ -60,7 +60,7 @@ jobs: - name: Check PR or cron env: - TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }} + GENERATE_ASSETS: ${{ github.event.inputs.generate_assets }} run: . check_cron_or_pr.sh - name: Check existing VSCodium tags/releases @@ -81,7 +81,7 @@ jobs: CERTIFICATE_OSX_PASSWORD: ${{ secrets.CERTIFICATE_OSX_PASSWORD }} CERTIFICATE_OSX_ID: ${{ secrets.CERTIFICATE_OSX_ID }} run: ./prepare_assets.sh - if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true') + if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true') - name: Release env: diff --git a/.github/workflows/stable-windows.yml b/.github/workflows/stable-windows.yml index 98b116e10d4..3e6d004171b 100644 --- a/.github/workflows/stable-windows.yml +++ b/.github/workflows/stable-windows.yml @@ -6,9 +6,9 @@ on: force_version: type: boolean description: Force update version - test_asset_builder: + generate_assets: type: boolean - description: Test the assets builder + description: Generate assets repository_dispatch: types: [stable] push: @@ -68,7 +68,7 @@ jobs: - name: Check PR or cron env: - TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }} + GENERATE_ASSETS: ${{ github.event.inputs.generate_assets }} run: ./check_cron_or_pr.sh - name: Check existing VSCodium tags/releases @@ -88,7 +88,7 @@ jobs: - name: Prepare assets run: ./prepare_assets.sh - if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true') + if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true') - name: Release env: diff --git a/check_cron_or_pr.sh b/check_cron_or_pr.sh index 6a858a6ec7d..e903d3bee6c 100755 --- a/check_cron_or_pr.sh +++ b/check_cron_or_pr.sh @@ -14,8 +14,8 @@ elif [[ "${GITHUB_EVENT_NAME}" == "push" ]]; then export SHOULD_BUILD="yes" export SHOULD_DEPLOY="no" elif [[ "${GITHUB_EVENT_NAME}" == "workflow_dispatch" ]]; then - if [[ "${TEST_ASSET_BUILDER}" == "true" ]]; then - echo "It's testing the assets builder" + if [[ "${GENERATE_ASSETS}" == "true" ]]; then + echo "It will generate the assets" export SHOULD_BUILD="yes" export SHOULD_DEPLOY="no" From 0d7ded33f39074b529274fbe7924a26ba4d18699 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sun, 17 Dec 2023 18:00:43 +0100 Subject: [PATCH 28/39] ci: checkout PR with git commands [skip ci] --- .github/workflows/stable-linux.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index 47966b29f6f..f768e2afc9b 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -48,9 +48,11 @@ jobs: ref: ${{ env.GITHUB_BRANCH }} - name: Checkout PR - uses: dawidd6/action-checkout-pr@v1 - with: - pr: ${{ github.event.inputs.checkout_pr }} + env: + PR_ID: ${{ github.event.inputs.checkout_pr }} + run: | + git fetch origin pull/$PR_ID/head + git checkout FETCH_HEAD if: github.event.inputs.checkout_pr != '' - name: Clone VSCode repo From 0952b2f0dc0e7b98acfef1d865ae4e3a1fdeaa6c Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sun, 17 Dec 2023 18:13:34 +0100 Subject: [PATCH 29/39] ci: checkout PR [skip ci] --- .github/workflows/stable-linux.yml | 28 +++++++--------------------- get_repo.sh | 5 +++++ 2 files changed, 12 insertions(+), 21 deletions(-) diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index f768e2afc9b..402732a6fb6 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -47,15 +47,9 @@ jobs: with: ref: ${{ env.GITHUB_BRANCH }} - - name: Checkout PR - env: - PR_ID: ${{ github.event.inputs.checkout_pr }} - run: | - git fetch origin pull/$PR_ID/head - git checkout FETCH_HEAD - if: github.event.inputs.checkout_pr != '' - - name: Clone VSCode repo + env: + PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }} run: ./get_repo.sh - name: Check PR or cron @@ -88,13 +82,9 @@ jobs: with: ref: ${{ env.GITHUB_BRANCH }} - - name: Checkout PR - uses: dawidd6/action-checkout-pr@v1 - with: - pr: ${{ github.event.inputs.checkout_pr }} - if: github.event.inputs.checkout_pr != '' - - name: Clone VSCode repo + env: + PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }} run: ./get_repo.sh - uses: docker/setup-qemu-action@v3 @@ -153,13 +143,9 @@ jobs: with: ref: ${{ env.GITHUB_BRANCH }} - - name: Checkout PR - uses: dawidd6/action-checkout-pr@v1 - with: - pr: ${{ github.event.inputs.checkout_pr }} - if: github.event.inputs.checkout_pr != '' - - name: Clone VSCode repo + env: + PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }} run: ./get_repo.sh - name: Install GH @@ -194,7 +180,7 @@ jobs: name: assets path: ./assets/ retention-days: 3 - if: github.event.inputs.generate_assets == 'true' + if: env.SHOULD_BUILD == 'yes' && github.event.inputs.generate_assets == 'true' - name: Release env: diff --git a/get_repo.sh b/get_repo.sh index 43af170f4d8..823efbbb37d 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -8,6 +8,11 @@ if [[ "${CI_BUILD}" != "no" ]]; then git config --global --add safe.directory "/__w/$( echo "${GITHUB_REPOSITORY}" | awk '{print tolower($0)}' )" fi +if [[ -n "${PULL_REQUEST_ID}" ]]; then + git fetch origin "pull/${PULL_REQUEST_ID}/head" + git checkout FETCH_HEAD +fi + if [[ -z "${RELEASE_VERSION}" ]]; then if [[ "${VSCODE_LATEST}" == "yes" ]] || [[ ! -f "${VSCODE_QUALITY}.json" ]]; then UPDATE_INFO=$( curl --silent --fail "https://update.code.visualstudio.com/api/update/darwin/${VSCODE_QUALITY}/0000000000000000000000000000000000000000" ) From f09882677bc762b759ce6229060d116210280202 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sun, 17 Dec 2023 18:21:55 +0100 Subject: [PATCH 30/39] ci: disable PR for dependencies [skip ci] --- .github/workflows/stable-linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index 402732a6fb6..0615472fb61 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -83,8 +83,8 @@ jobs: ref: ${{ env.GITHUB_BRANCH }} - name: Clone VSCode repo - env: - PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }} + # env: + # PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }} run: ./get_repo.sh - uses: docker/setup-qemu-action@v3 From ef4d13a0c6814aaa22533e7a93bfa30f183f18df Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sun, 17 Dec 2023 18:42:23 +0100 Subject: [PATCH 31/39] ci: merge PR with main branch [skip ci] --- get_repo.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/get_repo.sh b/get_repo.sh index 823efbbb37d..70f93b3ffc1 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -9,8 +9,11 @@ if [[ "${CI_BUILD}" != "no" ]]; then fi if [[ -n "${PULL_REQUEST_ID}" ]]; then + BRANCH_NAME=$( git rev-parse --abbrev-ref HEAD ) + git fetch origin "pull/${PULL_REQUEST_ID}/head" git checkout FETCH_HEAD + git merge "origin/${BRANCH_NAME}" fi if [[ -z "${RELEASE_VERSION}" ]]; then From 508642510a6cca85dd5c6c83185456f39f904683 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sun, 17 Dec 2023 18:47:41 +0100 Subject: [PATCH 32/39] ci: skip message for merge [skip ci] --- get_repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_repo.sh b/get_repo.sh index 70f93b3ffc1..9bc2147dd72 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -13,7 +13,7 @@ if [[ -n "${PULL_REQUEST_ID}" ]]; then git fetch origin "pull/${PULL_REQUEST_ID}/head" git checkout FETCH_HEAD - git merge "origin/${BRANCH_NAME}" + git merge --no-edit "origin/${BRANCH_NAME}" fi if [[ -z "${RELEASE_VERSION}" ]]; then From 24aafd81b9ecdd3774466efa41e42ccfd49fbaaa Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sun, 17 Dec 2023 19:15:12 +0100 Subject: [PATCH 33/39] ci: unshallow for PR testing [skip ci] --- get_repo.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/get_repo.sh b/get_repo.sh index 9bc2147dd72..5805ffd3120 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -11,6 +11,7 @@ fi if [[ -n "${PULL_REQUEST_ID}" ]]; then BRANCH_NAME=$( git rev-parse --abbrev-ref HEAD ) + git fetch --unshallow git fetch origin "pull/${PULL_REQUEST_ID}/head" git checkout FETCH_HEAD git merge --no-edit "origin/${BRANCH_NAME}" From 8168609ee9470cf88ceab5911e89f05ebdb34787 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sun, 17 Dec 2023 19:19:19 +0100 Subject: [PATCH 34/39] ci: do not commit PR testing [skip ci] --- get_repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_repo.sh b/get_repo.sh index 5805ffd3120..a903752318e 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -14,7 +14,7 @@ if [[ -n "${PULL_REQUEST_ID}" ]]; then git fetch --unshallow git fetch origin "pull/${PULL_REQUEST_ID}/head" git checkout FETCH_HEAD - git merge --no-edit "origin/${BRANCH_NAME}" + git merge --no-commit "origin/${BRANCH_NAME}" fi if [[ -z "${RELEASE_VERSION}" ]]; then From 1c424b6c0524c5b5c81248ab765fd92336fc31f5 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sun, 17 Dec 2023 19:28:39 +0100 Subject: [PATCH 35/39] ci: do not commit PR testing [skip ci] --- get_repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_repo.sh b/get_repo.sh index a903752318e..2ccdd1d72e9 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -14,7 +14,7 @@ if [[ -n "${PULL_REQUEST_ID}" ]]; then git fetch --unshallow git fetch origin "pull/${PULL_REQUEST_ID}/head" git checkout FETCH_HEAD - git merge --no-commit "origin/${BRANCH_NAME}" + git merge --no-ff --no-commit "origin/${BRANCH_NAME}" fi if [[ -z "${RELEASE_VERSION}" ]]; then From 6ada8c9026e0560417ade5c788103f56d9588fd6 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sun, 17 Dec 2023 19:41:35 +0100 Subject: [PATCH 36/39] ci: add user/email for merge [skip ci] --- get_repo.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/get_repo.sh b/get_repo.sh index 2ccdd1d72e9..4ebd6fc1010 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -11,10 +11,12 @@ fi if [[ -n "${PULL_REQUEST_ID}" ]]; then BRANCH_NAME=$( git rev-parse --abbrev-ref HEAD ) + git config --global user.email "$( echo "${GITHUB_USERNAME}" | awk '{print tolower($0)}' )-ci@not-real.com" + git config --global user.name "${GITHUB_USERNAME} CI" git fetch --unshallow git fetch origin "pull/${PULL_REQUEST_ID}/head" git checkout FETCH_HEAD - git merge --no-ff --no-commit "origin/${BRANCH_NAME}" + git merge --no-edit "origin/${BRANCH_NAME}" fi if [[ -z "${RELEASE_VERSION}" ]]; then From eea73cb5647e736a14d10ebef04c3333d6f115e0 Mon Sep 17 00:00:00 2001 From: VSCodium CI Date: Fri, 19 Jan 2024 19:14:48 +0100 Subject: [PATCH 37/39] build(stable): update to commit 8b37750 --- stable.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stable.json b/stable.json index 4e5f02f5717..6d84b84e525 100644 --- a/stable.json +++ b/stable.json @@ -1,4 +1,4 @@ { - "tag": "1.85.1", - "commit": "0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2" + "tag": "1.85.2", + "commit": "8b3775030ed1a69b13e4f4c628c612102e30a681" } From a49d4f1de0cba492b3eed928e2f53d4ef88b05d3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 14:05:13 +0100 Subject: [PATCH 38/39] build(deps): bump peter-evans/repository-dispatch from 2 to 3 (#1794) --- .github/workflows/insider-spearhead.yml | 2 +- .github/workflows/stable-spearhead.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/insider-spearhead.yml b/.github/workflows/insider-spearhead.yml index bfef98d6b2e..4155b006dfb 100644 --- a/.github/workflows/insider-spearhead.yml +++ b/.github/workflows/insider-spearhead.yml @@ -69,7 +69,7 @@ jobs: if: env.SHOULD_BUILD == 'yes' - name: Dispatch builds - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: event-type: 'insider' if: env.SHOULD_BUILD == 'yes' || github.event.inputs.force_dispatch == 'true' diff --git a/.github/workflows/stable-spearhead.yml b/.github/workflows/stable-spearhead.yml index 87aeff5a6c0..f6fb6b662d3 100644 --- a/.github/workflows/stable-spearhead.yml +++ b/.github/workflows/stable-spearhead.yml @@ -67,7 +67,7 @@ jobs: if: env.SHOULD_BUILD == 'yes' - name: Dispatch builds - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: event-type: 'stable' if: env.SHOULD_BUILD == 'yes' || github.event.inputs.force_dispatch == 'true' From 2faafce844f574e1db0a27def376bacad2a15023 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sat, 3 Feb 2024 18:19:42 +0100 Subject: [PATCH 39/39] feat(1.86): update patches --- patches/brand.patch | 184 +++++++++++++++++----------------- patches/build-version.patch | 52 +++++----- patches/fix-build-linux.patch | 20 ++-- patches/ppc64le-support.patch | 156 +++++++--------------------- patches/use-github-pat.patch | 6 +- product.json | 28 ++++-- stable.json | 4 +- 7 files changed, 189 insertions(+), 261 deletions(-) diff --git a/patches/brand.patch b/patches/brand.patch index 1a7d0e2699c..1ea784c96e6 100644 --- a/patches/brand.patch +++ b/patches/brand.patch @@ -1,5 +1,5 @@ diff --git a/extensions/configuration-editing/src/configurationEditingMain.ts b/extensions/configuration-editing/src/configurationEditingMain.ts -index 02f52f6..ef67def 100644 +index 30e7fd4..76eae3c 100644 --- a/extensions/configuration-editing/src/configurationEditingMain.ts +++ b/extensions/configuration-editing/src/configurationEditingMain.ts @@ -54,4 +54,4 @@ function registerVariableCompletions(pattern: string): vscode.Disposable { @@ -19,14 +19,14 @@ index 110494f..9f01ff2 100644 + completions.push(this.newSimpleCompletionItem(getText('appName'), range, vscode.l10n.t("e.g. VSCodium"))); completions.push(this.newSimpleCompletionItem(getText('remoteName'), range, vscode.l10n.t("e.g. SSH"))); diff --git a/extensions/css-language-features/package.nls.json b/extensions/css-language-features/package.nls.json -index 784eaa5..b27b0fd 100644 +index 5e9129c..d1c1b4f 100644 --- a/extensions/css-language-features/package.nls.json +++ b/extensions/css-language-features/package.nls.json @@ -4,4 +4,4 @@ "css.title": "CSS", -- "css.customData.desc": "A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-css-languageservice/blob/master/docs/customData.md).\n\nVS Code loads custom data on startup to enhance its CSS support for the custom CSS properties, at directives, pseudo classes and pseudo elements you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.", +- "css.customData.desc": "A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-css-languageservice/blob/master/docs/customData.md).\n\nVS Code loads custom data on startup to enhance its CSS support for CSS custom properties (variables), at-rules, pseudo-classes, and pseudo-elements you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.", - "css.completion.triggerPropertyValueCompletion.desc": "By default, VS Code triggers property value completion after selecting a CSS property. Use this setting to disable this behavior.", -+ "css.customData.desc": "A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-css-languageservice/blob/master/docs/customData.md).\n\nVSCodium loads custom data on startup to enhance its CSS support for the custom CSS properties, at directives, pseudo classes and pseudo elements you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.", ++ "css.customData.desc": "A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-css-languageservice/blob/master/docs/customData.md).\n\nVSCodium loads custom data on startup to enhance its CSS support for CSS custom properties (variables), at-rules, pseudo-classes, and pseudo-elements you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.", + "css.completion.triggerPropertyValueCompletion.desc": "By default, VSCodium triggers property value completion after selecting a CSS property. Use this setting to disable this behavior.", "css.completion.completePropertyWithSemicolon.desc": "Insert semicolon at end of line when completing CSS properties.", @@ -27,3 +27,3 @@ @@ -73,37 +73,37 @@ index 8bb2a46..7cee594 100644 +const bumpEngineForImplicitActivationEvents = l10n.t("This activation event can be removed for extensions targeting engine version ^1.75 as VSCodium will generate these automatically from your package.json contribution declarations."); const starActivation = l10n.t("Using '*' activation is usually a bad idea as it impacts performance."); diff --git a/extensions/git/package.nls.json b/extensions/git/package.nls.json -index f98527c..9c4508b 100644 +index 5cc838d..7a32e63 100644 --- a/extensions/git/package.nls.json +++ b/extensions/git/package.nls.json -@@ -208,3 +208,3 @@ +@@ -212,3 +212,3 @@ "{Locked='](command:git.showOutput'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -236,4 +236,4 @@ +@@ -240,4 +240,4 @@ "config.showCommitInput": "Controls whether to show the commit input in the Git source control panel.", - "config.terminalAuthentication": "Controls whether to enable VS Code to be the authentication handler for Git processes spawned in the Integrated Terminal. Note: Terminals need to be restarted to pick up a change in this setting.", - "config.terminalGitEditor": "Controls whether to enable VS Code to be the Git editor for Git processes spawned in the integrated terminal. Note: Terminals need to be restarted to pick up a change in this setting.", + "config.terminalAuthentication": "Controls whether to enable VSCodium to be the authentication handler for Git processes spawned in the Integrated Terminal. Note: Terminals need to be restarted to pick up a change in this setting.", + "config.terminalGitEditor": "Controls whether to enable VSCodium to be the Git editor for Git processes spawned in the integrated terminal. Note: Terminals need to be restarted to pick up a change in this setting.", "config.timeline.showAuthor": "Controls whether to show the commit author in the Timeline view.", -@@ -288,3 +288,3 @@ +@@ -292,3 +292,3 @@ "{Locked='](command:workbench.action.reloadWindow'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -296,3 +296,3 @@ +@@ -300,3 +300,3 @@ "{Locked='](command:workbench.action.reloadWindow'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -304,3 +304,3 @@ +@@ -308,3 +308,3 @@ "{Locked='](command:workbench.action.reloadWindow'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -310,6 +310,6 @@ +@@ -314,6 +314,6 @@ "view.workbench.scm.disabled": { - "message": "If you would like to use Git features, please enable Git in your [settings](command:workbench.action.openSettings?%5B%22git.enabled%22%5D).\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "If you would like to use Git features, please enable Git in your [settings](command:workbench.action.openSettings?%5B%22git.enabled%22%5D).\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -112,7 +112,7 @@ index f98527c..9c4508b 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -318,6 +318,6 @@ +@@ -322,6 +322,6 @@ "view.workbench.scm.empty": { - "message": "In order to use Git features, you can open a folder containing a Git repository or clone from a URL.\n[Open Folder](command:vscode.openFolder)\n[Clone Repository](command:git.clone)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "In order to use Git features, you can open a folder containing a Git repository or clone from a URL.\n[Open Folder](command:vscode.openFolder)\n[Clone Repository](command:git.clone)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -121,7 +121,7 @@ index f98527c..9c4508b 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -326,6 +326,6 @@ +@@ -330,6 +330,6 @@ "view.workbench.scm.folder": { - "message": "The folder currently open doesn't have a Git repository. You can initialize a repository which will enable source control features powered by Git.\n[Initialize Repository](command:git.init?%5Btrue%5D)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "The folder currently open doesn't have a Git repository. You can initialize a repository which will enable source control features powered by Git.\n[Initialize Repository](command:git.init?%5Btrue%5D)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -130,7 +130,7 @@ index f98527c..9c4508b 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -334,6 +334,6 @@ +@@ -338,6 +338,6 @@ "view.workbench.scm.workspace": { - "message": "The workspace currently open doesn't have any folders containing Git repositories. You can initialize a repository on a folder which will enable source control features powered by Git.\n[Initialize Repository](command:git.init)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "The workspace currently open doesn't have any folders containing Git repositories. You can initialize a repository on a folder which will enable source control features powered by Git.\n[Initialize Repository](command:git.init)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -139,7 +139,7 @@ index f98527c..9c4508b 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -342,6 +342,6 @@ +@@ -346,6 +346,6 @@ "view.workbench.scm.emptyWorkspace": { - "message": "The workspace currently open doesn't have any folders containing Git repositories.\n[Add Folder to Workspace](command:workbench.action.addRootFolder)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "The workspace currently open doesn't have any folders containing Git repositories.\n[Add Folder to Workspace](command:workbench.action.addRootFolder)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -148,27 +148,27 @@ index f98527c..9c4508b 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -360,3 +360,3 @@ +@@ -364,3 +364,3 @@ "{Locked='](command:workbench.action.openSettings?%5B%22git.openRepositoryInParentFolders%22%5D'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -369,3 +369,3 @@ +@@ -373,3 +373,3 @@ "{Locked='](command:workbench.action.openSettings?%5B%22git.openRepositoryInParentFolders%22%5D'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -377,3 +377,3 @@ +@@ -381,3 +381,3 @@ "{Locked='](command:git.manageUnsafeRepositories'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -385,3 +385,3 @@ +@@ -389,3 +389,3 @@ "{Locked='](command:git.manageUnsafeRepositories'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -390,6 +390,6 @@ +@@ -394,6 +394,6 @@ "view.workbench.scm.closedRepository": { - "message": "A Git repository was found that was previously closed.\n[Reopen Closed Repository](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "A Git repository was found that was previously closed.\n[Reopen Closed Repository](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -177,7 +177,7 @@ index f98527c..9c4508b 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -398,6 +398,6 @@ +@@ -402,6 +402,6 @@ "view.workbench.scm.closedRepositories": { - "message": "Git repositories were found that were previously closed.\n[Reopen Closed Repositories](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", + "message": "Git repositories were found that were previously closed.\n[Reopen Closed Repositories](command:git.reopenClosedRepositories)\nTo learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm).", @@ -186,12 +186,12 @@ index f98527c..9c4508b 100644 - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -409,3 +409,3 @@ +@@ -413,3 +413,3 @@ "{Locked='](command:git.clone'}", - "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", + "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VSCodium", "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" -@@ -413,3 +413,3 @@ +@@ -417,3 +417,3 @@ }, - "view.workbench.learnMore": "To learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm)." + "view.workbench.learnMore": "To learn more about how to use Git and source control in VSCodium [read our docs](https://aka.ms/vscode-scm)." @@ -282,7 +282,7 @@ index af6c9d8..7057b54 100644 + "json.tracing.desc": "Traces the communication between VSCodium and the JSON language server.", "json.colorDecorators.enable.desc": "Enables or disables color decorators", diff --git a/extensions/markdown-language-features/package.nls.json b/extensions/markdown-language-features/package.nls.json -index 9054456..e2c289a 100644 +index af77144..33bbfe5 100644 --- a/extensions/markdown-language-features/package.nls.json +++ b/extensions/markdown-language-features/package.nls.json @@ -21,3 +21,3 @@ @@ -345,7 +345,7 @@ index ff8581b..6774e97 100644 + "displayName": "NPM support for VSCodium", "workspaceTrust": "This extension executes tasks, which require trust to run.", diff --git a/extensions/swift/syntaxes/swift.tmLanguage.json b/extensions/swift/syntaxes/swift.tmLanguage.json -index 64aebc1..efbe2dd 100644 +index 6259b15..385797a 100644 --- a/extensions/swift/syntaxes/swift.tmLanguage.json +++ b/extensions/swift/syntaxes/swift.tmLanguage.json @@ -260,3 +260,3 @@ @@ -419,7 +419,7 @@ index 196cf18..db942c9 100644 + vscode.l10n.t("Please open a folder in VSCodium to use a TypeScript or JavaScript project")); return; diff --git a/extensions/typescript-language-features/src/typescriptServiceClient.ts b/extensions/typescript-language-features/src/typescriptServiceClient.ts -index a389142..ebae0c2 100644 +index 0796bef..f8061fa 100644 --- a/extensions/typescript-language-features/src/typescriptServiceClient.ts +++ b/extensions/typescript-language-features/src/typescriptServiceClient.ts @@ -620,3 +620,3 @@ export default class TypeScriptServiceClient extends Disposable implements IType @@ -438,7 +438,7 @@ index a389142..ebae0c2 100644 + vscode.l10n.t("The JS/TS language service crashed.\nThis may be caused by a plugin contributed by one of these extensions: {0}.\nPlease try disabling these extensions before filing an issue against VSCodium.", pluginExtensionList)); } else { diff --git a/extensions/vscode-api-tests/package.json b/extensions/vscode-api-tests/package.json -index 401b9a4..99c5f92 100644 +index fc973ba..59f0076 100644 --- a/extensions/vscode-api-tests/package.json +++ b/extensions/vscode-api-tests/package.json @@ -2,3 +2,3 @@ @@ -464,14 +464,14 @@ index a0006d8..5ab2754 100644 +#f(@hm: "broken highlighting in VSCodium") { content: ""; diff --git a/extensions/vscode-colorize-tests/test/colorize-results/14119_less.json b/extensions/vscode-colorize-tests/test/colorize-results/14119_less.json -index befc3ca..caf98f5 100644 +index 6680753..48f66bb 100644 --- a/extensions/vscode-colorize-tests/test/colorize-results/14119_less.json +++ b/extensions/vscode-colorize-tests/test/colorize-results/14119_less.json @@ -114,3 +114,3 @@ { - "c": "broken highlighting in VS Code", + "c": "broken highlighting in VSCodium", - "t": "source.css.less string.quoted.double.css", + "t": "source.css.less meta.selector.less meta.group.less meta.property-value.less string.quoted.double.less", diff --git a/extensions/vscode-test-resolver/package.json b/extensions/vscode-test-resolver/package.json index e538d43..45e4056 100644 --- a/extensions/vscode-test-resolver/package.json @@ -516,19 +516,19 @@ index fa001b5..13abac2 100644 + throw Error(`Failed to download and unzip VSCodium ${quality} - ${commit}`); } diff --git a/src/vs/code/electron-main/app.ts b/src/vs/code/electron-main/app.ts -index 42e165b..be69ecb 100644 +index 6f02aa6..6dbb371 100644 --- a/src/vs/code/electron-main/app.ts +++ b/src/vs/code/electron-main/app.ts -@@ -543,3 +543,3 @@ export class CodeApplication extends Disposable { +@@ -568,3 +568,3 @@ export class CodeApplication extends Disposable { async startup(): Promise { - this.logService.debug('Starting VS Code'); + this.logService.debug('Starting VSCodium'); this.logService.debug(`from: ${this.environmentMainService.appRoot}`); diff --git a/src/vs/code/electron-sandbox/issue/issueReporterService.ts b/src/vs/code/electron-sandbox/issue/issueReporterService.ts -index d7f98f6..91f317d 100644 +index 1924ff8..6e3ea1d 100644 --- a/src/vs/code/electron-sandbox/issue/issueReporterService.ts +++ b/src/vs/code/electron-sandbox/issue/issueReporterService.ts -@@ -790,3 +790,3 @@ export class IssueReporter extends Disposable { +@@ -798,3 +798,3 @@ export class IssueReporter extends Disposable { hide(descriptionTextArea); - reset(descriptionTitle, localize('handlesIssuesElsewhere', "This extension handles issues outside of VS Code")); + reset(descriptionTitle, localize('handlesIssuesElsewhere', "This extension handles issues outside of VSCodium")); @@ -552,7 +552,7 @@ index 296245b..cf03674 100644 +export const ProductQualityContext = new RawContextKey('productQualityType', '', localize('productQualityType', "Quality type of VSCodium")); diff --git a/src/vs/platform/extensionManagement/node/extensionManagementService.ts b/src/vs/platform/extensionManagement/node/extensionManagementService.ts -index 9578d20..94dbfd2 100644 +index c713791..fad2850 100644 --- a/src/vs/platform/extensionManagement/node/extensionManagementService.ts +++ b/src/vs/platform/extensionManagement/node/extensionManagementService.ts @@ -151,3 +151,3 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi @@ -560,26 +560,26 @@ index 9578d20..94dbfd2 100644 - throw new Error(nls.localize('incompatible', "Unable to install extension '{0}' as it is not compatible with VS Code '{1}'.", extensionId, this.productService.version)); + throw new Error(nls.localize('incompatible', "Unable to install extension '{0}' as it is not compatible with VSCodium '{1}'.", extensionId, this.productService.version)); } -@@ -227,3 +227,3 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi +@@ -228,3 +228,3 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi } catch (e) { - throw new Error(nls.localize('removeError', "Error while removing the extension: {0}. Please Quit and Start VS Code before trying again.", toErrorMessage(e))); + throw new Error(nls.localize('removeError', "Error while removing the extension: {0}. Please Quit and Start VSCodium before trying again.", toErrorMessage(e))); } -@@ -966,3 +966,3 @@ class InstallVSIXTask extends InstallExtensionTask { +@@ -981,3 +981,3 @@ class InstallVSIXTask extends InstallExtensionTask { } catch (e) { - throw new Error(nls.localize('restartCode', "Please restart VS Code before reinstalling {0}.", this.manifest.displayName || this.manifest.name)); + throw new Error(nls.localize('restartCode', "Please restart VSCodium before reinstalling {0}.", this.manifest.displayName || this.manifest.name)); } -@@ -979,3 +979,3 @@ class InstallVSIXTask extends InstallExtensionTask { +@@ -994,3 +994,3 @@ class InstallVSIXTask extends InstallExtensionTask { } catch (e) { - throw new Error(nls.localize('restartCode', "Please restart VS Code before reinstalling {0}.", this.manifest.displayName || this.manifest.name)); + throw new Error(nls.localize('restartCode', "Please restart VSCodium before reinstalling {0}.", this.manifest.displayName || this.manifest.name)); } diff --git a/src/vs/platform/externalTerminal/node/externalTerminalService.ts b/src/vs/platform/externalTerminal/node/externalTerminalService.ts -index 3dcc1c4..c5c3549 100644 +index 71dbac8..d45899b 100644 --- a/src/vs/platform/externalTerminal/node/externalTerminalService.ts +++ b/src/vs/platform/externalTerminal/node/externalTerminalService.ts -@@ -16,3 +16,3 @@ import { ITerminalEnvironment } from 'vs/platform/terminal/common/terminal'; +@@ -17,3 +17,3 @@ import { ITerminalEnvironment } from 'vs/platform/terminal/common/terminal'; -const TERMINAL_TITLE = nls.localize('console.title', "VS Code Console"); +const TERMINAL_TITLE = nls.localize('console.title', "VSCodium Console"); @@ -623,16 +623,16 @@ index 329488a..c77219d 100644 + comment: 'This is used to know how often VSCodium has successfully downloaded the update.'; }; diff --git a/src/vs/server/node/server.cli.ts b/src/vs/server/node/server.cli.ts -index 10e1acb..bf89402 100644 +index 6695c4b..e46be6e 100644 --- a/src/vs/server/node/server.cli.ts +++ b/src/vs/server/node/server.cli.ts -@@ -441,3 +441,3 @@ function asExtensionIdOrVSIX(inputs: string[] | undefined) { +@@ -444,3 +444,3 @@ function asExtensionIdOrVSIX(inputs: string[] | undefined) { function fatal(message: string, err: any): void { - console.error('Unable to connect to VS Code server: ' + message); + console.error('Unable to connect to VSCodium server: ' + message); console.error(err); diff --git a/src/vs/workbench/api/browser/viewsExtensionPoint.ts b/src/vs/workbench/api/browser/viewsExtensionPoint.ts -index b50d4ee..ff7ca45 100644 +index c51db51..4ddc16c 100644 --- a/src/vs/workbench/api/browser/viewsExtensionPoint.ts +++ b/src/vs/workbench/api/browser/viewsExtensionPoint.ts @@ -49,3 +49,3 @@ const viewsContainerSchema: IJSONSchema = { @@ -668,10 +668,10 @@ index 806a6b6..3ea5aa5 100644 + test('Opening a notebook results in VSCodium firing the event onDidChangeActiveNotebookEditor twice #118470', function () { let count = 0; diff --git a/src/vs/workbench/browser/workbench.contribution.ts b/src/vs/workbench/browser/workbench.contribution.ts -index 4b8492f..310ebb1 100644 +index c3ec65e..170b994 100644 --- a/src/vs/workbench/browser/workbench.contribution.ts +++ b/src/vs/workbench/browser/workbench.contribution.ts -@@ -616,3 +616,3 @@ const registry = Registry.as(ConfigurationExtensions.Con +@@ -610,3 +610,3 @@ const registry = Registry.as(ConfigurationExtensions.Con localize('profileName', "`${profileName}`: name of the profile in which the workspace is opened (e.g. Data Science (Profile)). Ignored if default profile is used."), - localize('appName', "`${appName}`: e.g. VS Code."), + localize('appName', "`${appName}`: e.g. VSCodium."), @@ -686,16 +686,16 @@ index 4233162..9bd6599 100644 + description: nls.localize('debugServer', "For debug extension development only: if a port is specified VSCodium tries to connect to a debug adapter running in server mode"), default: 4711 diff --git a/src/vs/workbench/contrib/extensions/browser/extensionEditor.ts b/src/vs/workbench/contrib/extensions/browser/extensionEditor.ts -index a3b0c26..a29e03c 100644 +index 8b49ea2..308dc4a 100644 --- a/src/vs/workbench/contrib/extensions/browser/extensionEditor.ts +++ b/src/vs/workbench/contrib/extensions/browser/extensionEditor.ts -@@ -610,3 +610,3 @@ export class ExtensionEditor extends EditorPane { +@@ -579,3 +579,3 @@ export class ExtensionEditor extends EditorPane { if (manifest && manifest.contributes) { - template.navbar.push(ExtensionEditorTab.Contributions, localize('contributions', "Feature Contributions"), localize('contributionstooltip', "Lists contributions to VS Code by this extension")); + template.navbar.push(ExtensionEditorTab.Contributions, localize('contributions', "Feature Contributions"), localize('contributionstooltip', "Lists contributions to VSCodium by this extension")); } diff --git a/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts b/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts -index 4797dcb..f5f0014 100644 +index 2254a20..5a8f04e 100644 --- a/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts +++ b/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts @@ -300,3 +300,3 @@ CommandsRegistry.registerCommand({ @@ -724,7 +724,7 @@ index 4797dcb..f5f0014 100644 + const message = requireReload ? localize('InstallVSIXAction.successReload', "Completed installing {0} extension from VSIX. Please reload VSCodium to enable it.", extension.displayName || extension.name) : localize('InstallVSIXAction.success', "Completed installing {0} extension from VSIX.", extension.displayName || extension.name); diff --git a/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts b/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts -index 908f294..8c4174c 100644 +index eed284e..232eb7a 100644 --- a/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts +++ b/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts @@ -103,3 +103,3 @@ export class PromptExtensionInstallFailureAction extends Action { @@ -732,86 +732,86 @@ index 908f294..8c4174c 100644 - const productName = isWeb ? localize('VS Code for Web', "{0} for the Web", this.productService.nameLong) : this.productService.nameLong; + const productName = isWeb ? localize('VSCodium for Web', "{0} for the Web", this.productService.nameLong) : this.productService.nameLong; const message = localize('cannot be installed', "The '{0}' extension is not available in {1}. Click 'More Information' to learn more.", this.extension.displayName || this.extension.identifier.id, productName); -@@ -366,3 +366,3 @@ export class InstallAction extends ExtensionAction { +@@ -383,3 +383,3 @@ export class InstallAction extends ExtensionAction { } else if (this.extension.deprecationInfo.settings) { - detail = localize('deprecated with alternate settings message', "This extension is deprecated as this functionality is now built-in to VS Code."); + detail = localize('deprecated with alternate settings message', "This extension is deprecated as this functionality is now built-in to VSCodium."); -@@ -749,3 +749,3 @@ export class UninstallAction extends ExtensionAction { - return this.extensionsWorkbenchService.uninstall(this.extension).then(() => { +@@ -768,3 +768,3 @@ export class UninstallAction extends ExtensionAction { + await this.extensionsWorkbenchService.uninstall(this.extension); - alert(localize('uninstallExtensionComplete', "Please reload Visual Studio Code to complete the uninstallation of the extension {0}.", this.extension!.displayName)); + alert(localize('uninstallExtensionComplete', "Please reload VSCodium to complete the uninstallation of the extension {0}.", this.extension!.displayName)); - }); -@@ -2287,3 +2287,3 @@ export class ExtensionStatusAction extends ExtensionAction { + } catch (error) { +@@ -2316,3 +2316,3 @@ export class ExtensionStatusAction extends ExtensionAction { const link = `[${localize('settings', "settings")}](${URI.parse(`command:workbench.action.openSettings?${encodeURIComponent(JSON.stringify([this.extension.deprecationInfo.settings.map(setting => `@id:${setting}`).join(' ')]))}`)})`; - this.updateStatus({ icon: warningIcon, message: new MarkdownString(localize('deprecated with alternate settings tooltip', "This extension is deprecated as this functionality is now built-in to VS Code. Configure these {0} to use this functionality.", link)) }, true); + this.updateStatus({ icon: warningIcon, message: new MarkdownString(localize('deprecated with alternate settings tooltip', "This extension is deprecated as this functionality is now built-in to VSCodium. Configure these {0} to use this functionality.", link)) }, true); } else { -@@ -2311,3 +2311,3 @@ export class ExtensionStatusAction extends ExtensionAction { +@@ -2340,3 +2340,3 @@ export class ExtensionStatusAction extends ExtensionAction { if (this.extensionManagementServerService.webExtensionManagementServer) { - const productName = localize('VS Code for Web', "{0} for the Web", this.productService.nameLong); + const productName = localize('VSCodium for Web', "{0} for the Web", this.productService.nameLong); const message = new MarkdownString(`${localize('not web tooltip', "The '{0}' extension is not available in {1}.", this.extension.displayName || this.extension.identifier.id, productName)} [${localize('learn why', "Learn Why")}](https://aka.ms/vscode-web-extensions-guide)`); -@@ -2573,3 +2573,3 @@ export class ReinstallAction extends Action { +@@ -2602,3 +2602,3 @@ export class ReinstallAction extends Action { const requireReload = !(extension.local && this.extensionService.canAddExtension(toExtensionDescription(extension.local))); - const message = requireReload ? localize('ReinstallAction.successReload', "Please reload Visual Studio Code to complete reinstalling the extension {0}.", extension.identifier.id) + const message = requireReload ? localize('ReinstallAction.successReload', "Please reload VSCodium to complete reinstalling the extension {0}.", extension.identifier.id) : localize('ReinstallAction.success', "Reinstalling the extension {0} is completed.", extension.identifier.id); diff --git a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts -index 92097d0..4f7355f 100644 +index bb3f66c..5d01908 100644 --- a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts +++ b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts -@@ -345,3 +345,3 @@ export class Extension implements IExtension { +@@ -360,3 +360,3 @@ export class Extension implements IExtension { return Promise.resolve(`# ${this.displayName || this.name} -**Notice:** This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled. +**Notice:** This extension is bundled with VSCodium. It can be disabled but not uninstalled. ## Features -@@ -378,3 +378,3 @@ ${this.description} +@@ -393,3 +393,3 @@ ${this.description} if (this.type === ExtensionType.System) { - return Promise.resolve('Please check the [VS Code Release Notes](command:update.showCurrentReleaseNotes) for changes to the built-in extensions.'); + return Promise.resolve('Please check the [VSCodium Release Notes](command:update.showCurrentReleaseNotes) for changes to the built-in extensions.'); } -@@ -1105,3 +1105,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension - if (!canRemoveRunningExtension && isSameExtensionRunning) { +@@ -1113,3 +1113,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension + if (!canRemoveRunningExtension && isSameExtensionRunning && !runningExtension.isUnderDevelopment) { - return nls.localize('postUninstallTooltip', "Please reload Visual Studio Code to complete the uninstallation of this extension."); + return nls.localize('postUninstallTooltip', "Please reload VSCodium to complete the uninstallation of this extension."); } -@@ -1125,3 +1125,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1133,3 +1133,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (!runningExtension.isUnderDevelopment && (extension.version !== runningExtension.version || extension.local.targetPlatform !== runningExtension.targetPlatform)) { - return nls.localize('postUpdateTooltip', "Please reload Visual Studio Code to enable the updated extension."); + return nls.localize('postUpdateTooltip', "Please reload VSCodium to enable the updated extension."); } -@@ -1133,3 +1133,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1141,3 +1141,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (runningExtensionServer === this.extensionManagementServerService.remoteExtensionManagementServer && this.extensionManifestPropertiesService.prefersExecuteOnUI(extension.local!.manifest) && extensionInOtherServer.server === this.extensionManagementServerService.localExtensionManagementServer) { - return nls.localize('enable locally', "Please reload Visual Studio Code to enable this extension locally."); + return nls.localize('enable locally', "Please reload VSCodium to enable this extension locally."); } -@@ -1138,3 +1138,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1146,3 +1146,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (runningExtensionServer === this.extensionManagementServerService.localExtensionManagementServer && this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(extension.local!.manifest) && extensionInOtherServer.server === this.extensionManagementServerService.remoteExtensionManagementServer) { - return nls.localize('enable remote', "Please reload Visual Studio Code to enable this extension in {0}.", this.extensionManagementServerService.remoteExtensionManagementServer?.label); + return nls.localize('enable remote', "Please reload VSCodium to enable this extension in {0}.", this.extensionManagementServerService.remoteExtensionManagementServer?.label); } -@@ -1148,3 +1148,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1156,3 +1156,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (this.extensionManifestPropertiesService.prefersExecuteOnUI(extension.local!.manifest)) { - return nls.localize('postEnableTooltip', "Please reload Visual Studio Code to enable this extension."); + return nls.localize('postEnableTooltip', "Please reload VSCodium to enable this extension."); } -@@ -1154,3 +1154,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1162,3 +1162,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(extension.local!.manifest)) { - return nls.localize('postEnableTooltip', "Please reload Visual Studio Code to enable this extension."); + return nls.localize('postEnableTooltip', "Please reload VSCodium to enable this extension."); } -@@ -1161,3 +1161,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1169,3 +1169,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (isSameExtensionRunning) { - return nls.localize('postDisableTooltip', "Please reload Visual Studio Code to disable this extension."); + return nls.localize('postDisableTooltip', "Please reload VSCodium to disable this extension."); } -@@ -1170,3 +1170,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1178,3 +1178,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (isEnabled && !this.extensionService.canAddExtension(toExtensionDescription(extension.local))) { - return nls.localize('postEnableTooltip', "Please reload Visual Studio Code to enable this extension."); + return nls.localize('postEnableTooltip', "Please reload VSCodium to enable this extension."); } -@@ -1178,3 +1178,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension +@@ -1186,3 +1186,3 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension if (extensionInOtherServer && extensionInOtherServer.local && this.extensionEnablementService.isEnabled(extensionInOtherServer.local)) { - return nls.localize('postEnableTooltip', "Please reload Visual Studio Code to enable this extension."); + return nls.localize('postEnableTooltip', "Please reload VSCodium to enable this extension."); @@ -877,10 +877,10 @@ index fdbef87..0f6a6fa 100644 + `// ${nls.localize('doc', 'Open VSCodium and run "Developer: Inspect Key Mappings (JSON)" from Command Palette.')}`, ``, diff --git a/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts b/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts -index f0d76a1..237b894 100644 +index a1123af..e040bb7 100644 --- a/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts +++ b/src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts -@@ -551,3 +551,3 @@ export class RemoteTunnelWorkbenchContribution extends Disposable implements IWo +@@ -563,3 +563,3 @@ export class RemoteTunnelWorkbenchContribution extends Disposable implements IWo }, - "You can now access this machine anywhere via the secure tunnel [{0}](command:{4}). To connect via a different machine, use the generated [{1}]({2}) link or use the [{6}]({7}) extension in the desktop or web. You can [configure](command:{3}) or [turn off](command:{5}) this access via the VS Code Accounts menu.", + "You can now access this machine anywhere via the secure tunnel [{0}](command:{4}). To connect via a different machine, use the generated [{1}]({2}) link or use the [{6}]({7}) extension in the desktop or web. You can [configure](command:{3}) or [turn off](command:{5}) this access via the VSCodium Accounts menu.", @@ -895,10 +895,10 @@ index b24d91f..a098a62 100644 + const message = await this.tasExperimentService?.getTreatment('CESSurveyMessage') ?? nls.localize('cesSurveyQuestion', 'Got a moment to help the VSCodium team? Please tell us about your experience with VSCodium so far.'); const button = await this.tasExperimentService?.getTreatment('CESSurveyButton') ?? nls.localize('giveFeedback', "Give Feedback"); diff --git a/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts b/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts -index 6449647..aa1815f 100644 +index d96c5ab..2078244 100644 --- a/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts +++ b/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts -@@ -3160,3 +3160,3 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer +@@ -3161,3 +3161,3 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer if (response.code && response.code === TerminateResponseCode.ProcessNotFound) { - this._notificationService.error(nls.localize('TerminateAction.noProcess', 'The launched process doesn\'t exist anymore. If the task spawned background tasks exiting VS Code might result in orphaned processes.')); + this._notificationService.error(nls.localize('TerminateAction.noProcess', 'The launched process doesn\'t exist anymore. If the task spawned background tasks exiting VSCodium might result in orphaned processes.')); @@ -927,16 +927,16 @@ index 4d90798..38bd65b 100644 + description: nls.localize('JsonSchema.tasks.promptOnClose', 'Whether the user is prompted when VSCodium closes with a running task.'), default: false diff --git a/src/vs/workbench/contrib/tasks/electron-sandbox/taskService.ts b/src/vs/workbench/contrib/tasks/electron-sandbox/taskService.ts -index 34fb9cc..965008e 100644 +index 5eeee32..dd6376e 100644 --- a/src/vs/workbench/contrib/tasks/electron-sandbox/taskService.ts +++ b/src/vs/workbench/contrib/tasks/electron-sandbox/taskService.ts -@@ -212,3 +212,3 @@ export class TaskService extends AbstractTaskService { +@@ -213,3 +213,3 @@ export class TaskService extends AbstractTaskService { return this._dialogService.confirm({ - message: nls.localize('TaskSystem.noProcess', 'The launched task doesn\'t exist anymore. If the task spawned background processes exiting VS Code might result in orphaned processes. To avoid this start the last background process with a wait flag.'), + message: nls.localize('TaskSystem.noProcess', 'The launched task doesn\'t exist anymore. If the task spawned background processes exiting VSCodium might result in orphaned processes. To avoid this start the last background process with a wait flag.'), primaryButton: nls.localize({ key: 'TaskSystem.exitAnyways', comment: ['&& denotes a mnemonic'] }, "&&Exit Anyways"), diff --git a/src/vs/workbench/contrib/terminal/browser/terminalView.ts b/src/vs/workbench/contrib/terminal/browser/terminalView.ts -index cedb103..1a9fc6c 100644 +index c5d7591..88197aa 100644 --- a/src/vs/workbench/contrib/terminal/browser/terminalView.ts +++ b/src/vs/workbench/contrib/terminal/browser/terminalView.ts @@ -199,3 +199,3 @@ export class TerminalViewPane extends ViewPane { @@ -945,56 +945,56 @@ index cedb103..1a9fc6c 100644 + this._notificationService.prompt(Severity.Warning, nls.localize('terminal.monospaceOnly', "The terminal only supports monospace fonts. Be sure to restart VSCodium if this is a newly installed font."), choices); } diff --git a/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts b/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts -index 0528da6..74cc5ee 100644 +index bb9975e..c024e9d 100644 --- a/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts +++ b/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts -@@ -276,3 +276,3 @@ const terminalConfiguration: IConfigurationNode = { +@@ -283,3 +283,3 @@ const terminalConfiguration: IConfigurationNode = { [TerminalSettingId.DetectLocale]: { - markdownDescription: localize('terminal.integrated.detectLocale', "Controls whether to detect and set the `$LANG` environment variable to a UTF-8 compliant option since VS Code's terminal only supports UTF-8 encoded data coming from the shell."), + markdownDescription: localize('terminal.integrated.detectLocale', "Controls whether to detect and set the `$LANG` environment variable to a UTF-8 compliant option since VSCodium's terminal only supports UTF-8 encoded data coming from the shell."), type: 'string', -@@ -290,3 +290,3 @@ const terminalConfiguration: IConfigurationNode = { +@@ -297,3 +297,3 @@ const terminalConfiguration: IConfigurationNode = { markdownEnumDescriptions: [ - localize('terminal.integrated.gpuAcceleration.auto', "Let VS Code detect which renderer will give the best experience."), + localize('terminal.integrated.gpuAcceleration.auto', "Let VSCodium detect which renderer will give the best experience."), localize('terminal.integrated.gpuAcceleration.on', "Enable GPU acceleration within the terminal."), -@@ -364,3 +364,3 @@ const terminalConfiguration: IConfigurationNode = { +@@ -371,3 +371,3 @@ const terminalConfiguration: IConfigurationNode = { 'terminal.integrated.commandsToSkipShell', - "A set of command IDs whose keybindings will not be sent to the shell but instead always be handled by VS Code. This allows keybindings that would normally be consumed by the shell to act instead the same as when the terminal is not focused, for example `Ctrl+P` to launch Quick Open.\n\n \n\nMany commands are skipped by default. To override a default and pass that command's keybinding to the shell instead, add the command prefixed with the `-` character. For example add `-workbench.action.quickOpen` to allow `Ctrl+P` to reach the shell.\n\n \n\nThe following list of default skipped commands is truncated when viewed in Settings Editor. To see the full list, {1} and search for the first command from the list below.\n\n \n\nDefault Skipped Commands:\n\n{0}", + "A set of command IDs whose keybindings will not be sent to the shell but instead always be handled by VSCodium. This allows keybindings that would normally be consumed by the shell to act instead the same as when the terminal is not focused, for example `Ctrl+P` to launch Quick Open.\n\n \n\nMany commands are skipped by default. To override a default and pass that command's keybinding to the shell instead, add the command prefixed with the `-` character. For example add `-workbench.action.quickOpen` to allow `Ctrl+P` to reach the shell.\n\n \n\nThe following list of default skipped commands is truncated when viewed in Settings Editor. To see the full list, {1} and search for the first command from the list below.\n\n \n\nDefault Skipped Commands:\n\n{0}", DEFAULT_COMMANDS_TO_SKIP_SHELL.sort().map(command => `- ${command}`).join('\n'), -@@ -376,3 +376,3 @@ const terminalConfiguration: IConfigurationNode = { +@@ -383,3 +383,3 @@ const terminalConfiguration: IConfigurationNode = { [TerminalSettingId.AllowChords]: { - markdownDescription: localize('terminal.integrated.allowChords', "Whether or not to allow chord keybindings in the terminal. Note that when this is true and the keystroke results in a chord it will bypass {0}, setting this to false is particularly useful when you want ctrl+k to go to your shell (not VS Code).", '`#terminal.integrated.commandsToSkipShell#`'), + markdownDescription: localize('terminal.integrated.allowChords', "Whether or not to allow chord keybindings in the terminal. Note that when this is true and the keystroke results in a chord it will bypass {0}, setting this to false is particularly useful when you want ctrl+k to go to your shell (not VSCodium).", '`#terminal.integrated.commandsToSkipShell#`'), type: 'boolean', -@@ -387,3 +387,3 @@ const terminalConfiguration: IConfigurationNode = { +@@ -394,3 +394,3 @@ const terminalConfiguration: IConfigurationNode = { restricted: true, - markdownDescription: localize('terminal.integrated.env.osx', "Object with environment variables that will be added to the VS Code process to be used by the terminal on macOS. Set to `null` to delete the environment variable."), + markdownDescription: localize('terminal.integrated.env.osx', "Object with environment variables that will be added to the VSCodium process to be used by the terminal on macOS. Set to `null` to delete the environment variable."), type: 'object', -@@ -396,3 +396,3 @@ const terminalConfiguration: IConfigurationNode = { +@@ -403,3 +403,3 @@ const terminalConfiguration: IConfigurationNode = { restricted: true, - markdownDescription: localize('terminal.integrated.env.linux', "Object with environment variables that will be added to the VS Code process to be used by the terminal on Linux. Set to `null` to delete the environment variable."), + markdownDescription: localize('terminal.integrated.env.linux', "Object with environment variables that will be added to the VSCodium process to be used by the terminal on Linux. Set to `null` to delete the environment variable."), type: 'object', -@@ -405,3 +405,3 @@ const terminalConfiguration: IConfigurationNode = { +@@ -412,3 +412,3 @@ const terminalConfiguration: IConfigurationNode = { restricted: true, - markdownDescription: localize('terminal.integrated.env.windows', "Object with environment variables that will be added to the VS Code process to be used by the terminal on Windows. Set to `null` to delete the environment variable."), + markdownDescription: localize('terminal.integrated.env.windows', "Object with environment variables that will be added to the VSCodium process to be used by the terminal on Windows. Set to `null` to delete the environment variable."), type: 'object', -@@ -548,3 +548,3 @@ const terminalConfiguration: IConfigurationNode = { +@@ -555,3 +555,3 @@ const terminalConfiguration: IConfigurationNode = { [TerminalSettingId.AutoReplies]: { - markdownDescription: localize('terminal.integrated.autoReplies', "A set of messages that, when encountered in the terminal, will be automatically responded to. Provided the message is specific enough, this can help automate away common responses.\n\nRemarks:\n\n- Use {0} to automatically respond to the terminate batch job prompt on Windows.\n- The message includes escape sequences so the reply might not happen with styled text.\n- Each reply can only happen once every second.\n- Use {1} in the reply to mean the enter key.\n- To unset a default key, set the value to null.\n- Restart VS Code if new don't apply.", '`"Terminate batch job (Y/N)": "Y\\r"`', '`"\\r"`'), + markdownDescription: localize('terminal.integrated.autoReplies', "A set of messages that, when encountered in the terminal, will be automatically responded to. Provided the message is specific enough, this can help automate away common responses.\n\nRemarks:\n\n- Use {0} to automatically respond to the terminate batch job prompt on Windows.\n- The message includes escape sequences so the reply might not happen with styled text.\n- Each reply can only happen once every second.\n- Use {1} in the reply to mean the enter key.\n- To unset a default key, set the value to null.\n- Restart VSCodium if new don't apply.", '`"Terminate batch job (Y/N)": "Y\\r"`', '`"\\r"`'), type: 'object', -@@ -561,3 +561,3 @@ const terminalConfiguration: IConfigurationNode = { +@@ -568,3 +568,3 @@ const terminalConfiguration: IConfigurationNode = { restricted: true, - markdownDescription: localize('terminal.integrated.shellIntegration.enabled', "Determines whether or not shell integration is auto-injected to support features like enhanced command tracking and current working directory detection. \n\nShell integration works by injecting the shell with a startup script. The script gives VS Code insight into what is happening within the terminal.\n\nSupported shells:\n\n- Linux/macOS: bash, fish, pwsh, zsh\n - Windows: pwsh\n\nThis setting applies only when terminals are created, so you will need to restart your terminals for it to take effect.\n\n Note that the script injection may not work if you have custom arguments defined in the terminal profile, have enabled {1}, have a [complex bash `PROMPT_COMMAND`](https://code.visualstudio.com/docs/editor/integrated-terminal#_complex-bash-promptcommand), or other unsupported setup. To disable decorations, see {0}", '`#terminal.integrated.shellIntegrations.decorationsEnabled#`', '`#editor.accessibilitySupport#`'), + markdownDescription: localize('terminal.integrated.shellIntegration.enabled', "Determines whether or not shell integration is auto-injected to support features like enhanced command tracking and current working directory detection. \n\nShell integration works by injecting the shell with a startup script. The script gives VSCodium insight into what is happening within the terminal.\n\nSupported shells:\n\n- Linux/macOS: bash, fish, pwsh, zsh\n - Windows: pwsh\n\nThis setting applies only when terminals are created, so you will need to restart your terminals for it to take effect.\n\n Note that the script injection may not work if you have custom arguments defined in the terminal profile, have enabled {1}, have a [complex bash `PROMPT_COMMAND`](https://code.visualstudio.com/docs/editor/integrated-terminal#_complex-bash-promptcommand), or other unsupported setup. To disable decorations, see {0}", '`#terminal.integrated.shellIntegrations.decorationsEnabled#`', '`#editor.accessibilitySupport#`'), type: 'boolean', diff --git a/src/vs/workbench/contrib/themes/browser/themes.contribution.ts b/src/vs/workbench/contrib/themes/browser/themes.contribution.ts -index 60a131a..59e4f63 100644 +index 2117ec5..6ad1388 100644 --- a/src/vs/workbench/contrib/themes/browser/themes.contribution.ts +++ b/src/vs/workbench/contrib/themes/browser/themes.contribution.ts @@ -827,3 +827,3 @@ class DefaultThemeUpdatedNotificationContribution implements IWorkbenchContribut @@ -1038,7 +1038,7 @@ index c13d93e..206e46a 100644 + content += `// By default, VSCodium trusts "localhost".\n`; } diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts -index 1e57d47..ad88a67 100644 +index 3d0ae3e..6b3dd83 100644 --- a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts +++ b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts @@ -310,3 +310,3 @@ configurationRegistry.registerConfiguration({ @@ -1161,7 +1161,7 @@ index e3fe20c..b879dca 100644 +Well if you have got this far then you will have touched on some of the editing features in VSCodium. But don't stop now :) We have lots of additional [documentation](https://code.visualstudio.com/docs), [introductory videos](https://code.visualstudio.com/docs/getstarted/introvideos) and [tips and tricks](https://go.microsoft.com/fwlink/?linkid=852118) for the product that will help you learn how to use it. And while you are here, here are a few additional things you can try: - Open the Integrated Terminal by pressing kb(workbench.action.terminal.toggleTerminal), then see what's possible by [reviewing the terminal documentation](https://code.visualstudio.com/docs/editor/integrated-terminal) diff --git a/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts b/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts -index 864a19e..84db739 100644 +index dbb1822..10a7f41 100644 --- a/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts +++ b/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts @@ -731,3 +731,3 @@ Registry.as(ConfigurationExtensions.Configuration) @@ -1175,15 +1175,15 @@ index 864a19e..84db739 100644 + markdownDescription: localize('workspace.trust.emptyWindow.description', "Controls whether or not the empty window is trusted by default within VSCodium. When used with `#{0}#`, you can enable the full functionality of VSCodium without prompting in an empty window.", WORKSPACE_TRUST_UNTRUSTED_FILES), tags: [WORKSPACE_TRUST_SETTING_TAG], diff --git a/src/vs/workbench/electron-sandbox/desktop.contribution.ts b/src/vs/workbench/electron-sandbox/desktop.contribution.ts -index f904efa..dca7363 100644 +index f1e76e5..275ad1a 100644 --- a/src/vs/workbench/electron-sandbox/desktop.contribution.ts +++ b/src/vs/workbench/electron-sandbox/desktop.contribution.ts -@@ -362,3 +362,3 @@ import { applicationConfigurationNodeBase, securityConfigurationNodeBase } from +@@ -387,3 +387,3 @@ import { MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL } from 'vs/platform/window/electron-sand type: 'boolean', - description: localize('argv.disableChromiumSandbox', "Disables the Chromium sandbox. This is useful when running VS Code as elevated on Linux and running under Applocker on Windows.") + description: localize('argv.disableChromiumSandbox', "Disables the Chromium sandbox. This is useful when running VSCodium as elevated on Linux and running under Applocker on Windows.") }, -@@ -366,3 +366,3 @@ import { applicationConfigurationNodeBase, securityConfigurationNodeBase } from +@@ -391,3 +391,3 @@ import { MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL } from 'vs/platform/window/electron-sand type: 'boolean', - description: localize('argv.useInMemorySecretStorage', "Ensures that an in-memory store will be used for secret storage instead of using the OS's credential store. This is often used when running VS Code extension tests or when you're experiencing difficulties with the credential store.") + description: localize('argv.useInMemorySecretStorage', "Ensures that an in-memory store will be used for secret storage instead of using the OS's credential store. This is often used when running VSCodium extension tests or when you're experiencing difficulties with the credential store.") @@ -1198,7 +1198,7 @@ index 5dcc2ff..8b02544 100644 + const productName = localize('VSCodium for Web', "{0} for the Web", this.productService.nameLong); const virtualWorkspaceSupport = this.extensionManifestPropertiesService.getExtensionVirtualWorkspaceSupportType(manifest); diff --git a/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts b/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts -index e3c810e..0e01b23 100644 +index ecc45f8..30df37d 100644 --- a/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts +++ b/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts @@ -90,3 +90,3 @@ type ExtensionUrlHandlerClassification = { diff --git a/patches/build-version.patch b/patches/build-version.patch index f91b0348f4b..56f112ea76b 100644 --- a/patches/build-version.patch +++ b/patches/build-version.patch @@ -1,69 +1,67 @@ diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js -index 2a0c236..9fea722 100644 +index df18cf0..6f59211 100644 --- a/build/gulpfile.reh.js +++ b/build/gulpfile.reh.js -@@ -250,4 +250,5 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa +@@ -289,4 +289,5 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa const name = product.nameShort; + const release = packageJson.release; const packageJsonStream = gulp.src(['remote/package.json'], { base: 'remote' }) - .pipe(json({ name, version, dependencies: undefined, optionalDependencies: undefined })); + .pipe(json({ name, version, release, dependencies: undefined, optionalDependencies: undefined })); -@@ -256,3 +257,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa +@@ -295,3 +296,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa const productJsonStream = gulp.src(['product.json'], { base: '.' }) - .pipe(json({ commit, date, version })); + .pipe(json({ commit, date, version, release })); diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js -index 0ca2cfd..3fb21d5 100644 +index bfd5c89..bc84f18 100644 --- a/build/gulpfile.vscode.js +++ b/build/gulpfile.vscode.js -@@ -225,3 +225,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op +@@ -233,3 +233,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op - let version = packageJson.version; + let version = packageJson.version const quality = product.quality; -@@ -233,3 +233,4 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op +@@ -241,3 +241,4 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op const name = product.nameShort; - const packageJsonUpdates = { name, version }; + const release = packageJson.release; + const packageJsonUpdates = { name, version, release }; -@@ -244,3 +245,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op +@@ -252,3 +253,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op const date = new Date().toISOString(); - const productJsonUpdate = { commit, date, checksums, version }; + const productJsonUpdate = { commit, date, checksums, version, release }; diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js -index 90f75cc..275c958 100644 +index 8c2b62f..098f8d9 100644 --- a/build/gulpfile.vscode.linux.js +++ b/build/gulpfile.vscode.linux.js -@@ -25,4 +25,2 @@ const commit = getVersion(root); +@@ -24,4 +24,2 @@ const commit = getVersion(root); -const linuxPackageRevision = Math.floor(new Date().getTime() / 1000); - /** -@@ -88,3 +86,3 @@ function prepareDebPackage(arch) { +@@ -86,3 +84,3 @@ function prepareDebPackage(arch) { .pipe(replace('@@NAME@@', product.applicationName)) - .pipe(replace('@@VERSION@@', packageJson.version + '-' + linuxPackageRevision)) + .pipe(replace('@@VERSION@@', `${packageJson.version}.${packageJson.release}`)) .pipe(replace('@@ARCHITECTURE@@', debArch)) -@@ -193,4 +191,3 @@ function prepareRpmPackage(arch) { - .pipe(replace('@@ICON@@', product.linuxIconName)) -- .pipe(replace('@@VERSION@@', packageJson.version)) -- .pipe(replace('@@RELEASE@@', linuxPackageRevision)) -+ .pipe(replace('@@VERSION@@', `${packageJson.version}.${packageJson.release}`)) - .pipe(replace('@@ARCHITECTURE@@', rpmArch)) -@@ -267,3 +264,3 @@ function prepareSnapPackage(arch) { +@@ -196,2 +194,3 @@ function prepareRpmPackage(arch) { + .pipe(replace('@@RELEASE@@', linuxPackageRevision)) ++ .pipe(replace('@@VERSION@@', `${packageJson.version}.${packageJson.release}`)) + .pipe(replace('@@ARCHITECTURE@@', rpmArch)) +@@ -270,3 +269,3 @@ function prepareSnapPackage(arch) { .pipe(replace('@@NAME@@', product.applicationName)) - .pipe(replace('@@VERSION@@', commit.substr(0, 8))) + .pipe(replace('@@VERSION@@', `${packageJson.version}.${packageJson.release}`)) // Possible run-on values https://snapcraft.io/docs/architectures diff --git a/build/gulpfile.vscode.win32.js b/build/gulpfile.vscode.win32.js -index 6e9a6f3..9d80b6b 100644 +index 5adfdfb..d6ddead 100644 --- a/build/gulpfile.vscode.win32.js +++ b/build/gulpfile.vscode.win32.js -@@ -94,4 +94,4 @@ function buildWin32Setup(arch, target) { +@@ -90,4 +90,4 @@ function buildWin32Setup(arch, target) { DirName: product.win32DirName, - Version: pkg.version, - RawVersion: pkg.version.replace(/-\w+$/, ''), @@ -71,16 +69,16 @@ index 6e9a6f3..9d80b6b 100644 + RawVersion: `${pkg.version.replace(/-\w+$/, '')}.${pkg.release}`, NameVersion: product.win32NameVersion + (target === 'user' ? ' (User)' : ''), diff --git a/resources/linux/rpm/code.spec.template b/resources/linux/rpm/code.spec.template -index 06b8549..3af1f45 100644 +index c9e57db..aef439c 100644 --- a/resources/linux/rpm/code.spec.template +++ b/resources/linux/rpm/code.spec.template @@ -2,3 +2,3 @@ Name: @@NAME@@ Version: @@VERSION@@ --Release: @@RELEASE@@.el7 -+Release: el7 +-Release: @@RELEASE@@.el8 ++Release: el8 Summary: Code editing. Redefined. diff --git a/src/vs/base/common/product.ts b/src/vs/base/common/product.ts -index ac9cd5d..87b6105 100644 +index cbd573f..c7bbc90 100644 --- a/src/vs/base/common/product.ts +++ b/src/vs/base/common/product.ts @@ -58,2 +58,3 @@ export interface IProductConfiguration { @@ -97,7 +95,7 @@ index 0be311f..d6c4a18 100644 + output.push(`Version: ${this.productService.nameShort} ${this.productService.version} ${this.productService.release || 'Release unknown'} (${this.productService.commit || 'Commit unknown'}, ${this.productService.date || 'Date unknown'})`); output.push(`OS Version: ${osLib.type()} ${osLib.arch()} ${osLib.release()}`); diff --git a/src/vs/platform/product/common/product.ts b/src/vs/platform/product/common/product.ts -index 51a55e1..26dfe7b 100644 +index 9482a2c..c3ef5bd 100644 --- a/src/vs/platform/product/common/product.ts +++ b/src/vs/platform/product/common/product.ts @@ -43,6 +43,7 @@ else if (globalThis._VSCODE_PRODUCT_JSON && globalThis._VSCODE_PACKAGE_JSON) { @@ -111,7 +109,7 @@ index 51a55e1..26dfe7b 100644 + release: pkg.release }); diff --git a/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts b/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts -index 4b320bb..6619c75 100644 +index c064ebc..72a9fa9 100644 --- a/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts +++ b/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts @@ -22,2 +22,3 @@ import { defaultButtonStyles, defaultCheckboxStyles, defaultDialogStyles, defaul @@ -149,7 +147,7 @@ index 0000000..2a8ea57 + return LABELS[language] ?? DEFAULT_LABEL; +} diff --git a/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts b/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts -index 575bde3..f427833 100644 +index 3940ab6..609e5ed 100644 --- a/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts +++ b/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts @@ -14,2 +14,3 @@ import { IProductService } from 'vs/platform/product/common/productService'; @@ -160,7 +158,7 @@ index 575bde3..f427833 100644 const osProps = await this.nativeHostService.getOSProperties(); + const releaseString = getReleaseString(); -@@ -89,3 +91,3 @@ export class NativeDialogHandler extends AbstractDialogHandler { +@@ -90,3 +92,3 @@ export class NativeDialogHandler extends AbstractDialogHandler { `${osProps.type} ${osProps.arch} ${osProps.release}${isLinuxSnap ? ' snap' : ''}` - ); + ).replace('\n', `\n${releaseString} ${this.productService.release || 'Unknown'}\n`); diff --git a/patches/fix-build-linux.patch b/patches/fix-build-linux.patch index aa827d7df63..7c74889c176 100644 --- a/patches/fix-build-linux.patch +++ b/patches/fix-build-linux.patch @@ -1,42 +1,42 @@ diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js -index 0d7d3c5..90f75cc 100644 +index 8c2b62f..4e1d6ff 100644 --- a/build/gulpfile.vscode.linux.js +++ b/build/gulpfile.vscode.linux.js -@@ -299,4 +299,3 @@ BUILD_TARGETS.forEach(({ arch }) => { +@@ -302,4 +302,3 @@ BUILD_TARGETS.forEach(({ arch }) => { const prepareDebTask = task.define(`vscode-linux-${arch}-prepare-deb`, task.series(util.rimraf(`.build/linux/deb/${debArch}`), prepareDebPackage(arch))); - gulp.task(prepareDebTask); - const buildDebTask = task.define(`vscode-linux-${arch}-build-deb`, buildDebPackage(arch)); + const buildDebTask = task.define(`vscode-linux-${arch}-build-deb`, task.series(prepareDebTask, buildDebPackage(arch))); gulp.task(buildDebTask); -@@ -305,4 +304,3 @@ BUILD_TARGETS.forEach(({ arch }) => { +@@ -308,4 +307,3 @@ BUILD_TARGETS.forEach(({ arch }) => { const prepareRpmTask = task.define(`vscode-linux-${arch}-prepare-rpm`, task.series(util.rimraf(`.build/linux/rpm/${rpmArch}`), prepareRpmPackage(arch))); - gulp.task(prepareRpmTask); - const buildRpmTask = task.define(`vscode-linux-${arch}-build-rpm`, buildRpmPackage(arch)); + const buildRpmTask = task.define(`vscode-linux-${arch}-build-rpm`, task.series(prepareRpmTask, buildRpmPackage(arch))); gulp.task(buildRpmTask); diff --git a/build/linux/dependencies-generator.js b/build/linux/dependencies-generator.js -index 381539d..0f26614 100644 +index e40ed70..7bbd195 100644 --- a/build/linux/dependencies-generator.js +++ b/build/linux/dependencies-generator.js -@@ -22,3 +22,3 @@ const types_2 = require("./rpm/types"); +@@ -24,3 +24,3 @@ const product = require("../../product.json"); // are valid, are in dep-lists.ts -const FAIL_BUILD_FOR_NEW_DEPENDENCIES = true; +const FAIL_BUILD_FOR_NEW_DEPENDENCIES = false; - // Based on https://source.chromium.org/chromium/chromium/src/+/refs/tags/114.0.5735.199:chrome/installer/linux/BUILD.gn;l=64-80 + // Based on https://source.chromium.org/chromium/chromium/src/+/refs/tags/118.0.5993.159:chrome/installer/linux/BUILD.gn;l=64-80 diff --git a/build/linux/dependencies-generator.ts b/build/linux/dependencies-generator.ts -index 5c4b9d2..a2c629a 100644 +index 12bc3c0..3c69e43 100644 --- a/build/linux/dependencies-generator.ts +++ b/build/linux/dependencies-generator.ts -@@ -23,3 +23,3 @@ import { isRpmArchString, RpmArchString } from './rpm/types'; +@@ -25,3 +25,3 @@ import product = require('../../product.json'); // are valid, are in dep-lists.ts -const FAIL_BUILD_FOR_NEW_DEPENDENCIES: boolean = true; +const FAIL_BUILD_FOR_NEW_DEPENDENCIES: boolean = false; diff --git a/resources/linux/rpm/code.spec.template b/resources/linux/rpm/code.spec.template -index 06b8549..a7e3dfb 100644 +index c9e57db..bda2604 100644 --- a/resources/linux/rpm/code.spec.template +++ b/resources/linux/rpm/code.spec.template -@@ -81 +81,3 @@ update-mime-database %{_datadir}/mime &> /dev/null || : +@@ -87 +87,3 @@ update-mime-database %{_datadir}/mime &> /dev/null || : %{_datadir}/zsh/site-functions/_%{name} + +%config(noreplace) /usr/share/%{name}/resources/app/product.json diff --git a/patches/ppc64le-support.patch b/patches/ppc64le-support.patch index 93d86218937..b0218312d7f 100644 --- a/patches/ppc64le-support.patch +++ b/patches/ppc64le-support.patch @@ -1,90 +1,63 @@ diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js -index 2a0c236eaf0..be2528c5c48 100644 +index df18cf0..23acd46 100644 --- a/build/gulpfile.reh.js +++ b/build/gulpfile.reh.js -@@ -46,6 +46,7 @@ const BUILD_TARGETS = [ - { platform: 'linux', arch: 'x64' }, - { platform: 'linux', arch: 'armhf' }, +@@ -46,2 +46,3 @@ const BUILD_TARGETS = [ { platform: 'linux', arch: 'arm64' }, + { platform: 'linux', arch: 'ppc64le' }, { platform: 'alpine', arch: 'arm64' }, - // legacy: we use to ship only one alpine so it was put in the arch, but now we ship - // multiple alpine images and moved to a better model (alpine as the platform) diff --git a/build/gulpfile.scan.js b/build/gulpfile.scan.js -index 62691fcc8cf..dbefb8549f1 100644 +index 6f8144b..4479ae7 100644 --- a/build/gulpfile.scan.js +++ b/build/gulpfile.scan.js -@@ -24,6 +24,7 @@ const BUILD_TARGETS = [ - { platform: 'linux', arch: 'x64' }, - { platform: 'linux', arch: 'armhf' }, +@@ -26,2 +26,3 @@ const BUILD_TARGETS = [ { platform: 'linux', arch: 'arm64' }, + { platform: 'linux', arch: 'ppc64le' }, ]; - - BUILD_TARGETS.forEach(buildTarget => { diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js -index 0ca2cfd60a9..18a60efc405 100644 +index bfd5c89..b66af36 100644 --- a/build/gulpfile.vscode.js +++ b/build/gulpfile.vscode.js -@@ -426,6 +426,7 @@ const BUILD_TARGETS = [ - { platform: 'linux', arch: 'x64' }, - { platform: 'linux', arch: 'armhf' }, +@@ -431,2 +431,3 @@ const BUILD_TARGETS = [ { platform: 'linux', arch: 'arm64' }, + { platform: 'linux', arch: 'ppc64le' }, ]; - BUILD_TARGETS.forEach(buildTarget => { - const dashed = (str) => (str ? `-${str}` : ``); diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js -index 90f75ccfabd..a9fe7715da9 100644 +index 8c2b62f..290f25e 100644 --- a/build/gulpfile.vscode.linux.js +++ b/build/gulpfile.vscode.linux.js -@@ -29,7 +29,7 @@ const linuxPackageRevision = Math.floor(new Date().getTime() / 1000); - * @param {string} arch - */ +@@ -30,3 +30,3 @@ const linuxPackageRevision = Math.floor(new Date().getTime() / 1000); function getDebPackageArch(arch) { - return { x64: 'amd64', armhf: 'armhf', arm64: 'arm64' }[arch]; + return { x64: 'amd64', armhf: 'armhf', arm64: 'arm64', ppc64le: 'ppc64le' }[arch]; } - - function prepareDebPackage(arch) { -@@ -136,7 +136,7 @@ function getRpmBuildPath(rpmArch) { - * @param {string} arch - */ +@@ -136,3 +136,3 @@ function getRpmBuildPath(rpmArch) { function getRpmPackageArch(arch) { - return { x64: 'x86_64', armhf: 'armv7hl', arm64: 'aarch64' }[arch]; + return { x64: 'x86_64', armhf: 'armv7hl', arm64: 'aarch64', ppc64le: 'ppc64le' }[arch]; } - - /** -@@ -292,6 +292,7 @@ const BUILD_TARGETS = [ - { arch: 'x64' }, - { arch: 'armhf' }, +@@ -297,2 +297,3 @@ const BUILD_TARGETS = [ { arch: 'arm64' }, + { arch: 'ppc64le' }, ]; - - BUILD_TARGETS.forEach(({ arch }) => { diff --git a/build/linux/debian/calculate-deps.ts b/build/linux/debian/calculate-deps.ts -index b13d3cdfaaf..650e4de3894 100644 +index 92f8065..c16687b 100644 --- a/build/linux/debian/calculate-deps.ts +++ b/build/linux/debian/calculate-deps.ts -@@ -52,6 +52,9 @@ function calculatePackageDeps(binaryPath: string, arch: DebianArchString, sysroo - case 'arm64': - cmd.push(`-l${sysroot}/usr/lib/aarch64-linux-gnu`, - `-l${sysroot}/lib/aarch64-linux-gnu`); -+ case 'ppc64le': -+ cmd.push(`-l${sysroot}/usr/lib/ppc64le-linux-gnu`, -+ `-l${sysroot}/lib/ppc64le-linux-gnu`); +@@ -61,2 +61,8 @@ function calculatePackageDeps(binaryPath: string, arch: DebianArchString, chromi break; ++ case 'ppc64le': ++ cmd.push(`-l${chromiumSysroot}/usr/lib/ppc64le-linux-gnu`, ++ `-l${chromiumSysroot}/lib/ppc64le-linux-gnu`, ++ `-l${vscodeSysroot}/usr/lib/ppc64le-linux-gnu`, ++ `-l${vscodeSysroot}/lib/ppc64le-linux-gnu`); ++ break; } - cmd.push(`-l${sysroot}/usr/lib`); diff --git a/build/linux/debian/dep-lists.ts b/build/linux/debian/dep-lists.ts -index 52aa56d960b..857589ec9ff 100644 +index 3d6c2eb..a4587bd 100644 --- a/build/linux/debian/dep-lists.ts +++ b/build/linux/debian/dep-lists.ts -@@ -136,5 +136,44 @@ export const referenceGeneratedDepsByArch = { - 'libxkbfile1', - 'libxrandr2', +@@ -142,2 +142,41 @@ export const referenceGeneratedDepsByArch = { 'xdg-utils (>= 1.0.2)' + ], + 'ppc64le': [ @@ -126,14 +99,11 @@ index 52aa56d960b..857589ec9ff 100644 + 'libxrandr2', + 'xdg-utils (>= 1.0.2)' ] - }; diff --git a/build/linux/debian/types.ts b/build/linux/debian/types.ts -index e97485ef128..356027a648b 100644 +index e97485e..356027a 100644 --- a/build/linux/debian/types.ts +++ b/build/linux/debian/types.ts -@@ -3,8 +3,8 @@ - * Licensed under the MIT License. See License.txt in the project root for license information. - *--------------------------------------------------------------------------------------------*/ +@@ -5,6 +5,6 @@ -export type DebianArchString = 'amd64' | 'armhf' | 'arm64'; +export type DebianArchString = 'amd64' | 'armhf' | 'arm64' | 'ppc64le'; @@ -143,122 +113,74 @@ index e97485ef128..356027a648b 100644 + return ['amd64', 'armhf', 'arm64', 'ppc64le'].includes(s); } diff --git a/cli/src/update_service.rs b/cli/src/update_service.rs -index b03d8ea5963..2beceeac640 100644 +index d218e4a..d97e736 100644 --- a/cli/src/update_service.rs +++ b/cli/src/update_service.rs -@@ -209,6 +209,7 @@ pub enum Platform { - LinuxX64, - LinuxARM64, +@@ -213,2 +213,3 @@ pub enum Platform { LinuxARM32, + LinuxPPC64LE, DarwinX64, - DarwinARM64, - WindowsX64, -@@ -222,6 +223,7 @@ impl Platform { - Platform::LinuxX64 => Some("linux-x64".to_owned()), - Platform::LinuxARM64 => Some("linux-arm64".to_owned()), +@@ -226,2 +227,3 @@ impl Platform { Platform::LinuxARM32 => Some("linux-armhf".to_owned()), + Platform::LinuxPPC64LE => Some("linux-ppc64le".to_owned()), Platform::DarwinX64 => Some("darwin".to_owned()), - Platform::DarwinARM64 => Some("darwin-arm64".to_owned()), - Platform::WindowsX64 => Some("win32-x64-archive".to_owned()), -@@ -237,6 +239,7 @@ impl Platform { - Platform::LinuxX64 => "server-linux-x64", - Platform::LinuxARM64 => "server-linux-arm64", +@@ -241,2 +243,3 @@ impl Platform { Platform::LinuxARM32 => "server-linux-armhf", + Platform::LinuxPPC64LE => "server-linux-ppc64le", Platform::DarwinX64 => "server-darwin", - Platform::DarwinARM64 => "server-darwin-arm64", - Platform::WindowsX64 => "server-win32-x64", -@@ -253,6 +256,7 @@ impl Platform { - Platform::LinuxX64 => "cli-linux-x64", - Platform::LinuxARM64 => "cli-linux-arm64", +@@ -257,2 +260,3 @@ impl Platform { Platform::LinuxARM32 => "cli-linux-armhf", + Platform::LinuxPPC64LE => "cli-linux-ppc64le", Platform::DarwinX64 => "cli-darwin-x64", - Platform::DarwinARM64 => "cli-darwin-arm64", - Platform::WindowsARM64 => "cli-win32-arm64", -@@ -285,6 +289,8 @@ impl Platform { - Some(Platform::LinuxARM32) - } else if cfg!(all(target_os = "linux", target_arch = "aarch64")) { +@@ -289,2 +293,4 @@ impl Platform { Some(Platform::LinuxARM64) + } else if cfg!(all(target_os = "linux", target_arch = "ppc64le")) { + Some(Platform::LinuxPPC64LE) } else if cfg!(all(target_os = "macos", target_arch = "x86_64")) { - Some(Platform::DarwinX64) - } else if cfg!(all(target_os = "macos", target_arch = "aarch64")) { -@@ -309,6 +315,7 @@ impl fmt::Display for Platform { - Platform::LinuxX64 => "LinuxX64", - Platform::LinuxARM64 => "LinuxARM64", +@@ -313,2 +319,3 @@ impl fmt::Display for Platform { Platform::LinuxARM32 => "LinuxARM32", + Platform::LinuxPPC64LE => "LinuxPPC64LE", Platform::DarwinX64 => "DarwinX64", - Platform::DarwinARM64 => "DarwinARM64", - Platform::WindowsX64 => "WindowsX64", diff --git a/cli/src/util/prereqs.rs b/cli/src/util/prereqs.rs -index d8cbd1b91dd..191d312e994 100644 +index 4f2a6ad..ded331b 100644 --- a/cli/src/util/prereqs.rs +++ b/cli/src/util/prereqs.rs -@@ -64,6 +64,8 @@ impl PreReqChecker { - Platform::LinuxX64 - } else if cfg!(target_arch = "arm") { +@@ -74,2 +74,4 @@ impl PreReqChecker { Platform::LinuxARM32 + } else if cfg!(target_arch = "ppc64le") { + Platform::LinuxPPC64LE } else { - Platform::LinuxARM64 - }); diff --git a/src/main.js b/src/main.js -index d986fee6f6d..02cd26a4d93 100644 +index de5c7df..8248089 100644 --- a/src/main.js +++ b/src/main.js -@@ -405,6 +405,7 @@ function configureCrashReporter() { - } - } +@@ -435,2 +435,3 @@ function configureCrashReporter() { } else if (isLinux) { + submitURL = appCenter['linux-x64']; - } - submitURL = submitURL.concat('&uid=', crashReporterId, '&iid=', crashReporterId, '&sid=', crashReporterId); diff --git a/src/vs/platform/extensionManagement/common/extensionManagement.ts b/src/vs/platform/extensionManagement/common/extensionManagement.ts -index d407374f6ee..636da84fd62 100644 +index 15907ec..a3c41d0 100644 --- a/src/vs/platform/extensionManagement/common/extensionManagement.ts +++ b/src/vs/platform/extensionManagement/common/extensionManagement.ts -@@ -28,6 +28,7 @@ export function TargetPlatformToString(targetPlatform: TargetPlatform) { - case TargetPlatform.LINUX_X64: return 'Linux 64 bit'; - case TargetPlatform.LINUX_ARM64: return 'Linux ARM 64'; +@@ -30,2 +30,3 @@ export function TargetPlatformToString(targetPlatform: TargetPlatform) { case TargetPlatform.LINUX_ARMHF: return 'Linux ARM'; + case TargetPlatform.LINUX_PPC64LE: return 'Linux PPC64LE'; - case TargetPlatform.ALPINE_X64: return 'Alpine Linux 64 bit'; - case TargetPlatform.ALPINE_ARM64: return 'Alpine ARM 64'; -@@ -52,6 +53,7 @@ export function toTargetPlatform(targetPlatform: string): TargetPlatform { - case TargetPlatform.LINUX_X64: return TargetPlatform.LINUX_X64; - case TargetPlatform.LINUX_ARM64: return TargetPlatform.LINUX_ARM64; +@@ -53,2 +54,3 @@ export function toTargetPlatform(targetPlatform: string): TargetPlatform { case TargetPlatform.LINUX_ARMHF: return TargetPlatform.LINUX_ARMHF; + case TargetPlatform.LINUX_PPC64LE: return TargetPlatform.LINUX_PPC64LE; - case TargetPlatform.ALPINE_X64: return TargetPlatform.ALPINE_X64; - case TargetPlatform.ALPINE_ARM64: return TargetPlatform.ALPINE_ARM64; -@@ -90,6 +92,9 @@ export function getTargetPlatform(platform: Platform | 'alpine', arch: string | - if (arch === 'arm') { - return TargetPlatform.LINUX_ARMHF; +@@ -88,2 +90,5 @@ export function getTargetPlatform(platform: Platform | 'alpine', arch: string | } + if (arch === 'ppc64le') { + return TargetPlatform.LINUX_PPC64LE; + } return TargetPlatform.UNKNOWN; - - case 'alpine': diff --git a/src/vs/platform/extensions/common/extensions.ts b/src/vs/platform/extensions/common/extensions.ts -index cfa0e3296f0..d38a82114e3 100644 +index 413c1db..e61e771 100644 --- a/src/vs/platform/extensions/common/extensions.ts +++ b/src/vs/platform/extensions/common/extensions.ts -@@ -296,6 +296,7 @@ export const enum TargetPlatform { - LINUX_X64 = 'linux-x64', - LINUX_ARM64 = 'linux-arm64', +@@ -303,2 +303,3 @@ export const enum TargetPlatform { LINUX_ARMHF = 'linux-armhf', + LINUX_PPC64LE = 'linux-ppc64le', - ALPINE_X64 = 'alpine-x64', - ALPINE_ARM64 = 'alpine-arm64', diff --git a/patches/use-github-pat.patch b/patches/use-github-pat.patch index 7d32a675683..cbb8f71146e 100644 --- a/patches/use-github-pat.patch +++ b/patches/use-github-pat.patch @@ -34,11 +34,11 @@ index ebc4749..18fd732 100644 + return false; } diff --git a/src/vs/workbench/services/authentication/browser/authenticationService.ts b/src/vs/workbench/services/authentication/browser/authenticationService.ts -index 7ad8444..6020185 100644 +index ab9c569..1674eaa 100644 --- a/src/vs/workbench/services/authentication/browser/authenticationService.ts +++ b/src/vs/workbench/services/authentication/browser/authenticationService.ts -@@ -279,12 +279,2 @@ export class AuthenticationService extends Disposable implements IAuthentication - } +@@ -290,12 +290,2 @@ export class AuthenticationService extends Disposable implements IAuthentication + this._authenticationProviderDisposables.deleteAndDispose(id); - - if (!this._authenticationProviders.size) { - placeholderMenuItem = MenuRegistry.appendMenuItem(MenuId.AccountsContext, { diff --git a/product.json b/product.json index 09a84ea12d5..4b22aa13b92 100644 --- a/product.json +++ b/product.json @@ -48,7 +48,11 @@ ], "extensionEnabledApiProposals": { "ms-vscode.vscode-selfhost-test-provider": [ - "testObserver" + "testObserver", + "testCoverage" + ], + "ms-vscode.extension-test-runner": [ + "testCoverage" ], "VisualStudioExptTeam.vscodeintellicode-completions": [ "inlineCompletionsAdditions" @@ -73,6 +77,9 @@ "workspaceTrust", "tunnels" ], + "vscjava.vscode-java-test": [ + "testCoverage" + ], "ms-toolsai.vscode-ai-remote": [ "resolvers" ], @@ -80,12 +87,11 @@ "contribEditorContentMenu", "quickPickSortByLabel", "portsAttributes", - "registerIssueDataProvider", + "handleIssueUri", "testObserver", "quickPickItemTooltip", "terminalDataWriteEvent", - "terminalExecuteCommandEvent", - "saveEditor" + "terminalExecuteCommandEvent" ], "ms-dotnettools.dotnet-interactive-vscode": [ "notebookMessaging" @@ -176,14 +182,15 @@ "GitHub.vscode-pull-request-github": [ "contribCommentThreadAdditionalMenu", "tokenInformation", + "commentReactor", "contribShareMenu", "fileComments", "contribCommentPeekContext", "codiconDecoration", "diffCommand", "contribCommentEditorActionsMenu", - "readonlyMessage", "treeViewMarkdownMessage", + "tabInputTextMerge", "shareProvider", "quickDiffProvider" ], @@ -196,23 +203,19 @@ "GitHub.copilot-chat": [ "handleIssueUri", "interactive", - "interactiveUserActions", "terminalDataWriteEvent", "terminalExecuteCommandEvent", "terminalSelection", "terminalQuickFixProvider", - "chatVariables", "chatAgents2", "chatAgents2Additions", "defaultChatAgent", - "readonlyMessage", "chatProvider", "mappedEditsProvider", "aiRelatedInformation", "codeActionAI", "findTextInFiles", "textSearchProvider", - "scmInputBoxValueProvider", "contribSourceControlInputBoxMenu" ], "GitHub.remotehub": [ @@ -254,7 +257,8 @@ "notebookControllerAffinityHidden", "contribNotebookStaticPreloads", "quickPickItemTooltip", - "notebookExecution" + "notebookExecution", + "notebookVariableProvider" ], "dbaeumer.vscode-eslint": [ "notebookCellExecutionState" @@ -291,6 +295,10 @@ "fileSearchProvider", "textSearchProvider" ], + "apidev.azure-api-center": [ + "chatAgents2", + "chatRequestAccess" + ], "jeanp413.open-remote-ssh": [ "resolvers", "tunnels", diff --git a/stable.json b/stable.json index 6d84b84e525..740c8ff5f6a 100644 --- a/stable.json +++ b/stable.json @@ -1,4 +1,4 @@ { - "tag": "1.85.2", - "commit": "8b3775030ed1a69b13e4f4c628c612102e30a681" + "tag": "1.86.0", + "commit": "05047486b6df5eb8d44b2ecd70ea3bdf775fd937" }