Skip to content

Commit 9f36dfa

Browse files
committed
Merge branch 'main' into merogge/loop-cue
2 parents 2641501 + 9a8c0b6 commit 9f36dfa

File tree

50 files changed

+821
-267
lines changed

Some content is hidden

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

50 files changed

+821
-267
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
"kind": 2,
99
"language": "github-issues",
10-
"value": "// list of repos we work in\n$repos=repo:microsoft/vscode repo:microsoft/vscode-remote-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-dev repo:microsoft/vscode-unpkg repo:microsoft/vscode-references-view repo:microsoft/vscode-anycode repo:microsoft/vscode-hexeditor repo:microsoft/vscode-extension-telemetry repo:microsoft/vscode-livepreview repo:microsoft/vscode-remotehub repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-remote-repositories-github repo:microsoft/monaco-editor repo:microsoft/vscode-vsce repo:microsoft/vscode-dev-chrome-launcher repo:microsoft/vscode-emmet-helper repo:microsoft/vscode-python repo:microsoft/vscode-jupyter repo:microsoft/vscode-jupyter-internal repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-l10n repo:microsoft/vscode-remote-tunnels repo:microsoft/vscode-markdown-tm-grammar repo:microsoft/vscode-markdown-languageservice\n\n// current milestone name\n$milestone=milestone:\"June 2023\""
10+
"value": "// list of repos we work in\n$repos=repo:microsoft/vscode repo:microsoft/vscode-remote-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-dev repo:microsoft/vscode-unpkg repo:microsoft/vscode-references-view repo:microsoft/vscode-anycode repo:microsoft/vscode-hexeditor repo:microsoft/vscode-extension-telemetry repo:microsoft/vscode-livepreview repo:microsoft/vscode-remotehub repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-remote-repositories-github repo:microsoft/monaco-editor repo:microsoft/vscode-vsce repo:microsoft/vscode-dev-chrome-launcher repo:microsoft/vscode-emmet-helper repo:microsoft/vscode-python repo:microsoft/vscode-jupyter repo:microsoft/vscode-jupyter-internal repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-l10n repo:microsoft/vscode-remote-tunnels repo:microsoft/vscode-markdown-tm-grammar repo:microsoft/vscode-markdown-languageservice repo:microsoft/vscode-copilot repo:microsoft/vscode-copilot-release\n\n// current milestone name\n$milestone=milestone:\"June 2023\""
1111
},
1212
{
1313
"kind": 1,

build/gulpfile.reh.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function nodejs(platform, arch) {
165165
if (platform === 'win32') {
166166
if (product.nodejsRepository) {
167167
log(`Downloading node.js ${nodeVersion} ${platform} ${arch} from ${product.nodejsRepository}...`);
168-
return assetFromGithub(product.nodejsRepository, nodeVersion, name => name === `win-${arch}-node.exe`)
168+
return assetFromGithub(product.nodejsRepository, nodeVersion, name => name === `win-${arch}-node-patched.exe`)
169169
.pipe(rename('node.exe'));
170170
}
171171
log(`Downloading node.js ${nodeVersion} ${platform} ${arch} from https://nodejs.org`);

build/lib/electron.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/lib/electron.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function darwinBundleDocumentTypes(types: { [name: string]: string | string[] },
9191
}
9292

9393
export const config = {
94-
version: product.electronRepository ? '22.5.5' : util.getElectronVersion(),
94+
version: product.electronRepository ? '22.5.7' : util.getElectronVersion(),
9595
productAppName: product.nameLong,
9696
companyName: 'Microsoft Corporation',
9797
copyright: 'Copyright (C) 2023 Microsoft. All rights reserved',
@@ -212,7 +212,7 @@ function getElectron(arch: string): () => NodeJS.ReadWriteStream {
212212
}
213213

214214
async function main(arch = process.arch): Promise<void> {
215-
const version = product.electronRepository ? '22.5.5' : util.getElectronVersion();
215+
const version = product.electronRepository ? '22.5.7' : util.getElectronVersion();
216216
const electronPath = path.join(root, '.build', 'electron');
217217
const versionFile = path.join(electronPath, 'version');
218218
const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`;

extensions/npm/src/tasks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export async function getPackageManager(extensionContext: ExtensionContext, fold
140140
window.showInformationMessage(multiplePMWarning, learnMore, neverShowAgain).then(result => {
141141
switch (result) {
142142
case neverShowAgain: extensionContext.globalState.update(neverShowWarning, true); break;
143-
case learnMore: env.openExternal(Uri.parse('https://nodejs.dev/learn/the-package-lock-json-file'));
143+
case learnMore: env.openExternal(Uri.parse('https://docs.npmjs.com/cli/v9/configuring-npm/package-lock-json'));
144144
}
145145
});
146146
}

src/vs/base/browser/ui/list/listWidget.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ class Trait<T> implements ISpliceable<boolean>, IDisposable {
152152
const length = this.length + diff;
153153

154154
if (this.sortedIndexes.length > 0 && sortedIndexes.length === 0 && length > 0) {
155-
sortedIndexes.push(Math.min(firstSortedIndex ?? length - 1, length - 1));
155+
const first = this.sortedIndexes.find(index => index >= start) ?? length - 1;
156+
sortedIndexes.push(Math.min(first, length - 1));
156157
}
157158

158159
this.renderer.splice(start, deleteCount, elements.length);

src/vs/base/node/unc.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ export function addUNCHostToAllowlist(allowedHost: string | string[]): void;
2323
* path validation.
2424
*/
2525
export function disableUNCAccessRestrictions(): void;
26+
27+
/**
28+
* Whether UNC Host allow list in node.js is disabled.
29+
*/
30+
export function isUNCAccessRestrictionsDisabled(): boolean;

src/vs/base/node/unc.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,20 @@
117117
process.enableUNCAccessChecks = false;
118118
}
119119

120+
function isUNCAccessRestrictionsDisabled() {
121+
if (process.platform !== 'win32') {
122+
return true;
123+
}
124+
125+
return process.enableUNCAccessChecks === false;
126+
}
127+
120128
return {
121129
getUNCHostAllowlist,
122130
addUNCHostToAllowlist,
123131
getUNCHost,
124-
disableUNCAccessRestrictions
132+
disableUNCAccessRestrictions,
133+
isUNCAccessRestrictionsDisabled
125134
};
126135
}
127136

src/vs/code/electron-main/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ class CodeMain {
382382

383383
// Print --status usage info
384384
if (environmentMainService.args.status) {
385-
logService.warn(localize('statusWarning', "Warning: The --status argument can only be used if {0} is already running. Please run it again after {0} has started.", productService.nameShort));
385+
console.log(localize('statusWarning', "Warning: The --status argument can only be used if {0} is already running. Please run it again after {0} has started.", productService.nameShort));
386386

387387
throw new ExpectedError('Terminating...');
388388
}

src/vs/editor/browser/editorBrowser.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,8 @@ export interface IDiffEditor extends editorCommon.IEditor {
11571157
*/
11581158
getModel(): editorCommon.IDiffEditorModel | null;
11591159

1160+
createViewModel(model: editorCommon.IDiffEditorModel): editorCommon.IDiffEditorViewModel;
1161+
11601162
/**
11611163
* Sets the current model attached to this editor.
11621164
* If the previous model was created by the editor via the value key in the options
@@ -1165,7 +1167,7 @@ export interface IDiffEditor extends editorCommon.IEditor {
11651167
* will not be destroyed.
11661168
* It is safe to call setModel(null) to simply detach the current model from the editor.
11671169
*/
1168-
setModel(model: editorCommon.IDiffEditorModel | null): void;
1170+
setModel(model: editorCommon.IDiffEditorModel | editorCommon.IDiffEditorViewModel | null): void;
11691171

11701172
/**
11711173
* Get the `original` editor.

0 commit comments

Comments
 (0)