Skip to content

Commit bd3cada

Browse files
authored
Merge branch 'main' into copilot/fix-d26c41ec-2939-4f32-a432-2e2763bd6de8
2 parents 92072d3 + 7aa9abc commit bd3cada

File tree

131 files changed

+2162
-778
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+2162
-778
lines changed

.github/CODEOWNERS

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# Ensure that Lad and Joao review changes to the Code OSS actions
1+
# GitHub actions required reviewers
2+
.github/workflows/monaco-editor.yml @hediet @alexdima @lszomoru @joaomoreno
3+
.github/workflows/no-package-lock-changes.yml @lszomoru @joaomoreno
4+
.github/workflows/no-yarn-lock-changes.yml @lszomoru @joaomoreno
25
.github/workflows/pr-darwin-test.yml @lszomoru @joaomoreno
36
.github/workflows/pr-linux-cli-test.yml @lszomoru @joaomoreno
47
.github/workflows/pr-linux-test.yml @lszomoru @joaomoreno
58
.github/workflows/pr-node-modules.yml @lszomoru @joaomoreno
69
.github/workflows/pr-win32-test.yml @lszomoru @joaomoreno
710
.github/workflows/pr.yml @lszomoru @joaomoreno
11+
.github/workflows/telemetry.yml @lramos15 @lszomoru @joaomoreno
812

913
# ensure the API police is aware of changes to the vscode-dts file
1014
# this is only about the final API, not about proposed API changes

.vscode/notebooks/my-work.github-issues

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
{
8383
"kind": 2,
8484
"language": "github-issues",
85-
"value": "$REPOS is:open assignee:@me label:triage-needed,copilot-triage-needed\n"
85+
"value": "$REPOS is:open assignee:@me label:triage-needed\n"
8686
},
8787
{
8888
"kind": 1,

ThirdPartyNotices.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ more details.
12301230

12311231
---------------------------------------------------------
12321232

1233-
go-syntax 0.8.1 - MIT
1233+
go-syntax 0.8.4 - MIT
12341234
https://github.com/worlpaker/go-syntax
12351235

12361236
MIT License
@@ -1546,7 +1546,7 @@ SOFTWARE.
15461546

15471547
---------------------------------------------------------
15481548

1549-
jlelong/vscode-latex-basics 1.13.0 - MIT
1549+
jlelong/vscode-latex-basics 1.14.0 - MIT
15501550
https://github.com/jlelong/vscode-latex-basics
15511551

15521552
Copyright (c) vscode-latex-basics authors
@@ -2128,7 +2128,7 @@ SOFTWARE.
21282128

21292129
---------------------------------------------------------
21302130

2131-
microsoft/vscode-mssql 1.31.0 - MIT
2131+
microsoft/vscode-mssql 1.34.0 - MIT
21322132
https://github.com/microsoft/vscode-mssql
21332133

21342134
------------------------------------------ START OF LICENSE -----------------------------------------
@@ -2275,7 +2275,7 @@ suitability for any purpose.
22752275

22762276
---------------------------------------------------------
22772277

2278-
REditorSupport/vscode-R 0.1.0 - MIT
2278+
REditorSupport/vscode-R 0.1.1 - MIT
22792279
https://github.com/REditorSupport/vscode-R-syntax
22802280

22812281
MIT License

build/azure-pipelines/darwin/product-build-darwin-universal.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ steps:
6868

6969
- script: |
7070
set -e
71-
unzip $(Pipeline.Workspace)/unsigned_vscode_client_darwin_x64_archive/VSCode-darwin-x64.zip -d $(agent.builddirectory)/VSCode-darwin-x64
72-
unzip $(Pipeline.Workspace)/unsigned_vscode_client_darwin_arm64_archive/VSCode-darwin-arm64.zip -d $(agent.builddirectory)/VSCode-darwin-arm64
71+
unzip $(Pipeline.Workspace)/unsigned_vscode_client_darwin_x64_archive/VSCode-darwin-x64.zip -d $(agent.builddirectory)/VSCode-darwin-x64 &
72+
unzip $(Pipeline.Workspace)/unsigned_vscode_client_darwin_arm64_archive/VSCode-darwin-arm64.zip -d $(agent.builddirectory)/VSCode-darwin-arm64 &
73+
wait
7374
DEBUG=* node build/darwin/create-universal-app.js $(agent.builddirectory)
7475
displayName: Create Universal App
7576

build/azure-pipelines/win32/product-build-win32.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ steps:
175175
displayName: Transpile client and extensions
176176

177177
- ${{ else }}:
178-
- ${{ if and(ne(parameters.VSCODE_CIBUILD, true), eq(parameters.VSCODE_QUALITY, 'insider')) }}:
179-
- powershell: node build/win32/explorer-appx-fetcher .build/win32/appx
180-
displayName: Download Explorer Sparse Package
178+
- ${{ if and(ne(parameters.VSCODE_CIBUILD, true), ne(parameters.VSCODE_QUALITY, 'exploration')) }}:
179+
- powershell: node build/win32/explorer-dll-fetcher .build/win32/appx
180+
displayName: Download Explorer dll
181181

182182
- powershell: |
183183
. build/azure-pipelines/win32/exec.ps1
@@ -190,6 +190,23 @@ steps:
190190
GITHUB_TOKEN: "$(github-distro-mixin-password)"
191191
displayName: Build client
192192
193+
# Note: the appx prepare step has to follow Build client step since build step replaces the template
194+
# strings in the raw manifest file at resources/win32/appx/AppxManifest.xml and places it under
195+
# <build-out-dir>/appx/manifest, we need a separate step to prepare the appx package with the
196+
# final contents. In our case only the manifest file is bundled into the appx package.
197+
- ${{ if and(ne(parameters.VSCODE_CIBUILD, true), ne(parameters.VSCODE_QUALITY, 'exploration')) }}:
198+
- powershell: |
199+
. build/azure-pipelines/win32/exec.ps1
200+
$ErrorActionPreference = "Stop"
201+
# Add Windows SDK to path
202+
$sdk = "C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64"
203+
$env:PATH = "$sdk;$env:PATH"
204+
$AppxName = if ('$(VSCODE_QUALITY)' -eq 'stable') { 'code' } else { 'code_insider' }
205+
makeappx pack /d "$(Agent.BuildDirectory)/VSCode-win32-$(VSCODE_ARCH)/appx/manifest" /p "$(Agent.BuildDirectory)/VSCode-win32-$(VSCODE_ARCH)/appx/${AppxName}_$(VSCODE_ARCH).appx" /nv
206+
# Remove the raw manifest folder
207+
Remove-Item -Path "$(Agent.BuildDirectory)/VSCode-win32-$(VSCODE_ARCH)/appx/manifest" -Recurse -Force
208+
displayName: Prepare appx package
209+
193210
- powershell: |
194211
. build/azure-pipelines/win32/exec.ps1
195212
$ErrorActionPreference = "Stop"

build/checksums/explorer-dll.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
11b36db4f244693381e52316261ce61678286f6bdfe2614c6352f6fecf3f060d code_explorer_command_arm64.dll
2+
bfab3719038ca46bcd8afb9249a00f851dd08aa3cc8d13d01a917111a2a6d7c2 code_explorer_command_x64.dll
3+
b5cd79c1e91390bdeefaf35cc5c62a6022220832e145781e5609913fac706ad9 code_insider_explorer_command_arm64.dll
4+
f04335cc6fbe8425bd5516e6acbfa05ca706fd7566799a1e22fca1344c25351f code_insider_explorer_command_x64.dll

build/darwin/sign.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/darwin/sign.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ async function main(buildDir?: string): Promise<void> {
120120
if (require.main === module) {
121121
main(process.argv[2]).catch(async err => {
122122
console.error(err);
123-
const identities = await spawn('security', ['find-identity', '-p', 'codesigning', '-v']);
124-
console.error(`Available identities:\n${identities}`);
125123
const tempDir = process.env['AGENT_TEMPDIRECTORY'];
126124
if (tempDir) {
127125
const keychain = path.join(tempDir, 'buildagent.keychain');
126+
const identities = await spawn('security', ['find-identity', '-p', 'codesigning', '-v', keychain]);
127+
console.error(`Available identities:\n${identities}`);
128128
const dump = await spawn('security', ['dump-keychain', keychain]);
129129
console.error(`Keychain dump:\n${dump}`);
130130
}

build/gulpfile.vscode.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,21 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
404404
result = es.merge(result, gulp.src('.build/policies/win32/**', { base: '.build/policies/win32' })
405405
.pipe(rename(f => f.dirname = `policies/${f.dirname}`)));
406406

407-
if (quality === 'insider') {
407+
if (quality !== 'exploration') {
408408
result = es.merge(result, gulp.src('.build/win32/appx/**', { base: '.build/win32' }));
409+
const rawVersion = version.replace(/-\w+$/, '').split('.');
410+
const appxVersion = `${rawVersion[0]}.0.${rawVersion[1]}.${rawVersion[2]}`;
411+
result = es.merge(result, gulp.src('resources/win32/appx/AppxManifest.xml', { base: '.' })
412+
.pipe(replace('@@AppxPackageName@@', product.win32AppUserModelId))
413+
.pipe(replace('@@AppxPackageVersion@@', appxVersion))
414+
.pipe(replace('@@AppxPackageDisplayName@@', product.nameLong))
415+
.pipe(replace('@@AppxPackageDescription@@', product.win32NameVersion))
416+
.pipe(replace('@@ApplicationIdShort@@', product.win32RegValueName))
417+
.pipe(replace('@@ApplicationExe@@', product.nameShort + '.exe'))
418+
.pipe(replace('@@FileExplorerContextMenuID@@', quality === 'stable' ? 'OpenWithCode' : 'OpenWithCodeInsiders'))
419+
.pipe(replace('@@FileExplorerContextMenuCLSID@@', product.win32ContextMenu[arch].clsid))
420+
.pipe(replace('@@FileExplorerContextMenuDLL@@', `${quality === 'stable' ? 'code' : 'code_insider'}_explorer_command_${arch}.dll`))
421+
.pipe(rename(f => f.dirname = `appx/manifest`)));
409422
}
410423
} else if (platform === 'linux') {
411424
result = es.merge(result, gulp.src('resources/linux/bin/code.sh', { base: '.' })

build/gulpfile.vscode.win32.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,9 @@ function buildWin32Setup(arch, target) {
112112
Quality: quality
113113
};
114114

115-
if (quality === 'insider') {
116-
definitions['AppxPackage'] = `code_insiders_explorer_${arch}.appx`;
117-
definitions['AppxPackageFullname'] = `Microsoft.${product.win32RegValueName}_1.0.0.0_neutral__8wekyb3d8bbwe`;
118-
definitions['AppxPackageName'] = `Microsoft.${product.win32RegValueName}`;
115+
if (quality !== 'exploration') {
116+
definitions['AppxPackage'] = `${quality === 'stable' ? 'code' : 'code_insider'}_${arch}.appx`;
117+
definitions['AppxPackageName'] = `${product.win32AppUserModelId}`;
119118
}
120119

121120
packageInnoSetup(issPath, { definitions }, cb);

0 commit comments

Comments
 (0)