Skip to content

Commit af7aa47

Browse files
Merge remote-tracking branch 'upstream/release/1.96' into release/1.96
2 parents f3bc7f0 + cd4ee3b commit af7aa47

File tree

45 files changed

+1150
-396
lines changed

Some content is hidden

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

45 files changed

+1150
-396
lines changed

build/.cachesalt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-09-04T10:21:29.952Z
1+
2024-12-11T00:28:56.838Z

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

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ steps:
4242
libxkbfile-dev \
4343
libkrb5-dev \
4444
libgbm1 \
45-
rpm
45+
rpm \
46+
gcc-10 \
47+
g++-10
4648
sudo cp build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb
4749
sudo chmod +x /etc/init.d/xvfb
4850
sudo update-rc.d xvfb defaults
@@ -83,28 +85,6 @@ steps:
8385
imageName: vscode-linux-build-agent:centos7-devtoolset8-$(VSCODE_ARCH)
8486
containerCommand: uname
8587

86-
- ${{ if or(eq(parameters.VSCODE_ARCH, 'arm64'), eq(parameters.VSCODE_ARCH, 'armhf')) }}:
87-
- script: |
88-
set -e
89-
includes=$(cat << 'EOF'
90-
{
91-
"target_defaults": {
92-
"conditions": [
93-
["OS=='linux'", {
94-
'cflags_cc!': [ '-std=gnu++20' ],
95-
'cflags_cc': [ '-std=gnu++2a' ],
96-
}]
97-
]
98-
}
99-
}
100-
EOF
101-
)
102-
if [ ! -d "$HOME/.gyp" ]; then
103-
mkdir -p "$HOME/.gyp"
104-
fi
105-
echo "$includes" > "$HOME/.gyp/include.gypi"
106-
displayName: Override gnu target for arm64 and arm
107-
10888
- script: |
10989
set -e
11090
@@ -123,6 +103,8 @@ steps:
123103
set -e
124104
125105
export VSCODE_SYSROOT_PREFIX='-glibc-2.17'
106+
export CC=$(which gcc-10)
107+
export CXX=$(which g++-10)
126108
source ./build/azure-pipelines/linux/setup-env.sh --skip-sysroot
127109
128110
for i in {1..5}; do # try 5 times

build/azure-pipelines/product-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ extends:
178178
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
179179
parameters:
180180
sdl:
181+
binskim:
182+
enabled: false
183+
justificationForDisabling: "BinSkim rebaselining is failing"
181184
tsa:
182185
enabled: true
183186
configFile: $(Build.SourcesDirectory)/build/azure-pipelines/config/tsaoptions.json

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flexpilot-dev",
3-
"version": "1.96.0",
3+
"version": "1.96.4",
44
"distro": "c883c91dadf5f063b26c86ffe01851acee3747c6",
55
"author": {
66
"name": "Microsoft Corporation"

src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,9 @@ function configureCommandlineSwitchesSync(cliArgs: NativeParsedArgs) {
288288

289289
// Following features are disabled from the runtime:
290290
// `CalculateNativeWinOcclusion` - Disable native window occlusion tracker (https://groups.google.com/a/chromium.org/g/embedder-dev/c/ZF3uHHyWLKw/m/VDN2hDXMAAAJ)
291+
// `PlzDedicatedWorker` - Refs https://github.com/microsoft/vscode/issues/233060#issuecomment-2523212427
291292
const featuresToDisable =
292-
`CalculateNativeWinOcclusion,${app.commandLine.getSwitchValue('disable-features')}`;
293+
`CalculateNativeWinOcclusion,PlzDedicatedWorker,${app.commandLine.getSwitchValue('disable-features')}`;
293294
app.commandLine.appendSwitch('disable-features', featuresToDisable);
294295

295296
// Blink features to configure.
384 Bytes
Binary file not shown.

src/vs/base/common/codiconsLibrary.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,8 @@ export const codiconsLibrary = {
582582
goToEditingSession: register('go-to-editing-session', 0xec35),
583583
editSession: register('edit-session', 0xec36),
584584
codeReview: register('code-review', 0xec37),
585-
copilotWarning: register('copilot-warning', 0xea6c),
585+
copilotWarning: register('copilot-warning', 0xef01),
586586
python: register('python', 0xec39),
587587
copilotLarge: register('copilot-large', 0xef01),
588+
copilotWarningLarge: register('copilot-warning-large', 0xef01),
588589
} as const;

src/vs/base/parts/request/common/request.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ export interface IRequestOptions {
4545
data?: string;
4646
followRedirects?: number;
4747
proxyAuthorization?: string;
48+
/**
49+
* A signal to not cache the response. This may not
50+
* be supported in all implementations.
51+
*/
52+
disableCache?: boolean;
4853
}
4954

5055
export interface IRequestContext {

src/vs/base/parts/request/common/requestImpl.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,16 @@ export async function request(options: IRequestOptions, token: CancellationToken
2121
]) : cancellation.signal;
2222

2323
try {
24-
const res = await fetch(options.url || '', {
24+
const fetchInit: RequestInit = {
2525
method: options.type || 'GET',
2626
headers: getRequestHeaders(options),
2727
body: options.data,
28-
signal,
29-
});
28+
signal
29+
};
30+
if (options.disableCache) {
31+
fetchInit.cache = 'no-store';
32+
}
33+
const res = await fetch(options.url || '', fetchInit);
3034
return {
3135
res: {
3236
statusCode: res.status,

0 commit comments

Comments
 (0)