Skip to content

Commit f25d7d9

Browse files
committed
Merge branch 'main' into aiday/positioningInlineChat
2 parents 8e39fc6 + 819411f commit f25d7d9

File tree

74 files changed

+2171
-553
lines changed

Some content is hidden

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

74 files changed

+2171
-553
lines changed

build/.cachesalt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2023-03-31T12:39:03.753Z
1+
2023-06-12T12:55:48.130Z

build/.moduleignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ fsevents/test/**
3737
@vscode/windows-process-tree/binding.gyp
3838
@vscode/windows-process-tree/build/**
3939
@vscode/windows-process-tree/src/**
40+
@vscode/windows-process-tree/tsconfig.json
41+
@vscode/windows-process-tree/tslint.json
4042
!@vscode/windows-process-tree/**/*.node
4143

4244
@vscode/windows-registry/binding.gyp

build/.moduleignore.darwin

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
@vscode/windows-mutex/*.md
44
@vscode/windows-mutex/package.json
55

6+
@vscode/windows-process-tree/lib/**
7+
@vscode/windows-process-tree/**/*.node
8+
@vscode/windows-process-tree/LICENSE
9+
@vscode/windows-process-tree/package.json
10+
@vscode/windows-process-tree/*.md
11+
612
@vscode/windows-registry/dist/**
713
@vscode/windows-registry/**/*.node
814
@vscode/windows-registry/*.md

build/.moduleignore.linux

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
@vscode/windows-mutex/*.md
44
@vscode/windows-mutex/package.json
55

6+
@vscode/windows-process-tree/lib/**
7+
@vscode/windows-process-tree/**/*.node
8+
@vscode/windows-process-tree/LICENSE
9+
@vscode/windows-process-tree/package.json
10+
@vscode/windows-process-tree/*.md
11+
612
@vscode/windows-registry/dist/**
713
@vscode/windows-registry/**/*.node
814
@vscode/windows-registry/*.md

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,10 @@ steps:
8686
# TODO@joaomoreno TODO@deepak1556 this should be part of the base image
8787
- ${{ if ne(parameters.VSCODE_QUALITY, 'oss') }}:
8888
- script: |
89-
if [ "$VSCODE_ARCH" = "x64" ]; then
90-
OS=ubuntu
91-
else
92-
OS=debian
93-
fi
94-
9589
sudo apt-get update && sudo apt-get install -y ca-certificates curl gnupg
9690
sudo mkdir -m 0755 -p /etc/apt/keyrings
97-
curl -fsSL https://download.docker.com/linux/$OS/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
98-
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/$OS "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
91+
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
92+
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
9993
sudo apt update && sudo apt install -y docker-ce-cli
10094
displayName: Install Docker client
10195
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'))

build/azure-pipelines/product-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ resources:
144144
endpoint: VSCodeHub
145145
options: --user 0:0 --cap-add SYS_ADMIN
146146
- container: vscode-arm64
147-
image: vscodehub.azurecr.io/vscode-linux-build-agent:buster-arm64
147+
image: vscodehub.azurecr.io/vscode-linux-build-agent:bionic-arm64
148148
endpoint: VSCodeHub
149149
options: --user 0:0 --cap-add SYS_ADMIN
150150
- container: vscode-armhf
151-
image: vscodehub.azurecr.io/vscode-linux-build-agent:buster-armhf
151+
image: vscodehub.azurecr.io/vscode-linux-build-agent:bionic-armhf
152152
endpoint: VSCodeHub
153153
options: --user 0:0 --cap-add SYS_ADMIN
154154
- container: snapcraft

build/lib/compilation.js

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

build/lib/compilation.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import * as os from 'os';
1717
import ts = require('typescript');
1818
import * as File from 'vinyl';
1919
import * as task from './task';
20-
import { Mangler } from './mangleTypeScript';
20+
import { Mangler } from './mangle/index';
2121
import { RawSourceMap } from 'source-map';
2222
const watch = require('./watch');
2323

@@ -124,21 +124,22 @@ export function compileTask(src: string, out: string, build: boolean, options: {
124124
// mangle: TypeScript to TypeScript
125125
let mangleStream = es.through();
126126
if (build && !options.disableMangle) {
127-
let ts2tsMangler = new Mangler(compile.projectPath, (...data) => fancyLog(ansiColors.blue('[mangler]'), ...data));
127+
let ts2tsMangler = new Mangler(compile.projectPath, (...data) => fancyLog(ansiColors.blue('[mangler]'), ...data), { mangleExports: true, manglePrivateFields: true });
128128
const newContentsByFileName = ts2tsMangler.computeNewFileContents(new Set(['saveState']));
129-
mangleStream = es.through(function write(data: File & { sourceMap?: RawSourceMap }) {
129+
mangleStream = es.through(async function write(data: File & { sourceMap?: RawSourceMap }) {
130130
type TypeScriptExt = typeof ts & { normalizePath(path: string): string };
131131
const tsNormalPath = (<TypeScriptExt>ts).normalizePath(data.path);
132-
const newContents = newContentsByFileName.get(tsNormalPath);
132+
const newContents = (await newContentsByFileName).get(tsNormalPath);
133133
if (newContents !== undefined) {
134134
data.contents = Buffer.from(newContents.out);
135135
data.sourceMap = newContents.sourceMap && JSON.parse(newContents.sourceMap);
136136
}
137137
this.push(data);
138-
}, function end() {
139-
this.push(null);
138+
}, async function end() {
140139
// free resources
141-
newContentsByFileName.clear();
140+
(await newContentsByFileName).clear();
141+
142+
this.push(null);
142143
(<any>ts2tsMangler) = undefined;
143144
});
144145
}

build/lib/i18n.resources.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,10 @@
521521
{
522522
"name": "vs/workbench/contrib/accessibility",
523523
"project": "vscode-workbench"
524+
},
525+
{
526+
"name": "vs/workbench/services/issue",
527+
"project": "vscode-workbench"
524528
}
525529
]
526530
}

0 commit comments

Comments
 (0)