fix(1.97): update patches

This commit is contained in:
Baptiste Augrain
2025-02-06 20:13:50 +01:00
parent 8d180a2888
commit c773d683f4
4 changed files with 34 additions and 37 deletions

View File

@@ -1,23 +1,23 @@
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
index 4f00317..e5d08e5 100644 index e0df76f..04354d8 100644
--- a/build/gulpfile.reh.js --- a/build/gulpfile.reh.js
+++ b/build/gulpfile.reh.js +++ b/build/gulpfile.reh.js
@@ -307,2 +307,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa @@ -310,2 +310,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
const name = product.nameShort; const name = product.nameShort;
+ const release = packageJson.release; + const release = packageJson.release;
@@ -310,3 +311,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa @@ -313,3 +314,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
const packageJsonStream = gulp.src(['remote/package.json'], { base: 'remote' }) const packageJsonStream = gulp.src(['remote/package.json'], { base: 'remote' })
- .pipe(json({ name, version, dependencies: undefined, optionalDependencies: undefined, type: 'module' })) - .pipe(json({ name, version, dependencies: undefined, optionalDependencies: undefined, type: 'module' }))
+ .pipe(json({ name, version, release, dependencies: undefined, optionalDependencies: undefined, type: 'module' })) + .pipe(json({ name, version, release, dependencies: undefined, optionalDependencies: undefined, type: 'module' }))
.pipe(es.through(function (file) { .pipe(es.through(function (file) {
@@ -318,3 +319,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa @@ -321,3 +322,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
const productJsonStream = gulp.src(['product.json'], { base: '.' }) const productJsonStream = gulp.src(['product.json'], { base: '.' })
- .pipe(json({ commit, date: readISODate('out-build'), version })) - .pipe(json({ commit, date: readISODate('out-build'), version }))
+ .pipe(json({ commit, date: readISODate('out-build'), version, release })) + .pipe(json({ commit, date: readISODate('out-build'), version, release }))
.pipe(es.through(function (file) { .pipe(es.through(function (file) {
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
index 030c39a..51772c9 100644 index a63f693..62e0080 100644
--- a/build/gulpfile.vscode.js --- a/build/gulpfile.vscode.js
+++ b/build/gulpfile.vscode.js +++ b/build/gulpfile.vscode.js
@@ -261,3 +261,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op @@ -261,3 +261,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
@@ -73,7 +73,7 @@ index 98175f5..afacbe3 100644
+ RawVersion: `${pkg.version.replace(/-\w+$/, '')}.${pkg.release}`, + RawVersion: `${pkg.version.replace(/-\w+$/, '')}.${pkg.release}`,
NameVersion: product.win32NameVersion + (target === 'user' ? ' (User)' : ''), NameVersion: product.win32NameVersion + (target === 'user' ? ' (User)' : ''),
diff --git a/src/vs/base/common/product.ts b/src/vs/base/common/product.ts diff --git a/src/vs/base/common/product.ts b/src/vs/base/common/product.ts
index ac7c552..8cfc209 100644 index ebd9e43..d9a0ca6 100644
--- a/src/vs/base/common/product.ts --- a/src/vs/base/common/product.ts
+++ b/src/vs/base/common/product.ts +++ b/src/vs/base/common/product.ts
@@ -58,2 +58,3 @@ export interface IProductConfiguration { @@ -58,2 +58,3 @@ export interface IProductConfiguration {
@@ -104,26 +104,26 @@ index 1a2a619..2a8d683 100644
+ release: pkg.release + release: pkg.release
}); });
diff --git a/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts b/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts diff --git a/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts b/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts
index 039233d..c8ced77 100644 index b809503..21601c0 100644
--- a/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts --- a/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts
+++ b/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts +++ b/src/vs/workbench/browser/parts/dialogs/dialogHandler.ts
@@ -23,2 +23,3 @@ import { ResultKind } from '../../../../platform/keybinding/common/keybindingRes @@ -22,2 +22,3 @@ import { defaultButtonStyles, defaultCheckboxStyles, defaultDialogStyles, defaul
import { CancellationToken } from '../../../../base/common/cancellation.js'; import { ResultKind } from '../../../../platform/keybinding/common/keybindingResolver.js';
+import { getReleaseString } from '../../../../workbench/common/release.js'; +import { getReleaseString } from '../../../../workbench/common/release.js';
@@ -80,2 +81,4 @@ export class BrowserDialogHandler extends AbstractDialogHandler { @@ -79,2 +80,4 @@ export class BrowserDialogHandler extends AbstractDialogHandler {
const detailString = (useAgo: boolean): string => { const detailString = (useAgo: boolean): string => {
+ const releaseString = getReleaseString(); + const releaseString = getReleaseString();
+ +
return localize('aboutDetail', return localize('aboutDetail',
@@ -86,3 +89,3 @@ export class BrowserDialogHandler extends AbstractDialogHandler { @@ -85,3 +88,3 @@ export class BrowserDialogHandler extends AbstractDialogHandler {
navigator.userAgent navigator.userAgent
- ); - );
+ ).replace('\n', `\n${releaseString} ${this.productService.release || 'Unknown'}\n`); + ).replace('\n', `\n${releaseString} ${this.productService.release || 'Unknown'}\n`);
}; };
diff --git a/src/vs/workbench/common/release.ts b/src/vs/workbench/common/release.ts diff --git a/src/vs/workbench/common/release.ts b/src/vs/workbench/common/release.ts
new file mode 100644 new file mode 100644
index 0000000..2a8ea57 index 0000000..82dbe6a
--- /dev/null --- /dev/null
+++ b/src/vs/workbench/common/release.ts +++ b/src/vs/workbench/common/release.ts
@@ -0,0 +1,14 @@ @@ -0,0 +1,14 @@
@@ -142,7 +142,7 @@ index 0000000..2a8ea57
+ return LABELS[language] ?? DEFAULT_LABEL; + 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 diff --git a/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts b/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts
index 6c61a59..e76a188 100644 index 6c61a59..d58f8fc 100644
--- a/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts --- a/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts
+++ b/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts +++ b/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts
@@ -15,2 +15,3 @@ import { process } from '../../../../base/parts/sandbox/electron-sandbox/globals @@ -15,2 +15,3 @@ import { process } from '../../../../base/parts/sandbox/electron-sandbox/globals

View File

@@ -22,21 +22,21 @@ index 01541e8..5b67f2b 100644
+!@vscodium/policy-watcher/build/Release/vscode-policy-watcher.node +!@vscodium/policy-watcher/build/Release/vscode-policy-watcher.node
diff --git a/build/lib/policies.js b/build/lib/policies.js diff --git a/build/lib/policies.js b/build/lib/policies.js
index 1560dc7..07c7348 100644 index d52015c..39a4001 100644
--- a/build/lib/policies.js --- a/build/lib/policies.js
+++ b/build/lib/policies.js +++ b/build/lib/policies.js
@@ -61,3 +61,3 @@ class BasePolicy { @@ -64,3 +64,3 @@ class BasePolicy {
return [ return [
- `<policy name="${this.name}" class="Both" displayName="$(string.${this.name})" explainText="$(string.${this.name}_${this.description.nlsKey.replace(/\./g, '_')})" key="Software\\Policies\\Microsoft\\${regKey}" presentation="$(presentation.${this.name})">`, - `<policy name="${this.name}" class="Both" displayName="$(string.${this.name})" explainText="$(string.${this.name}_${this.description.nlsKey.replace(/\./g, '_')})" key="Software\\Policies\\Microsoft\\${regKey}" presentation="$(presentation.${this.name})">`,
+ `<policy name="${this.name}" class="Both" displayName="$(string.${this.name})" explainText="$(string.${this.name}_${this.description.nlsKey.replace(/\./g, '_')})" key="Software\\Policies\\VSCodium\\${regKey}" presentation="$(presentation.${this.name})">`, + `<policy name="${this.name}" class="Both" displayName="$(string.${this.name})" explainText="$(string.${this.name}_${this.description.nlsKey.replace(/\./g, '_')})" key="Software\\Policies\\VSCodium\\${regKey}" presentation="$(presentation.${this.name})">`,
` <parentCategory ref="${this.category.name.nlsKey}" />`, ` <parentCategory ref="${this.category.name.nlsKey}" />`,
@@ -373,3 +373,3 @@ function renderADMX(regKey, versions, categories, policies) { @@ -376,3 +376,3 @@ function renderADMX(regKey, versions, categories, policies) {
<policyNamespaces> <policyNamespaces>
- <target prefix="${regKey}" namespace="Microsoft.Policies.${regKey}" /> - <target prefix="${regKey}" namespace="Microsoft.Policies.${regKey}" />
+ <target prefix="${regKey}" namespace="VSCodium.Policies.${regKey}" /> + <target prefix="${regKey}" namespace="VSCodium.Policies.${regKey}" />
</policyNamespaces> </policyNamespaces>
diff --git a/build/lib/policies.ts b/build/lib/policies.ts diff --git a/build/lib/policies.ts b/build/lib/policies.ts
index f602c8a..11919c9 100644 index 57941d8..50c1843 100644
--- a/build/lib/policies.ts --- a/build/lib/policies.ts
+++ b/build/lib/policies.ts +++ b/build/lib/policies.ts
@@ -80,3 +80,3 @@ abstract class BasePolicy implements Policy { @@ -80,3 +80,3 @@ abstract class BasePolicy implements Policy {
@@ -59,18 +59,18 @@ index f9f120a..db61adc 100644
+ '@vscodium/policy-watcher', + '@vscodium/policy-watcher',
'@vscode/proxy-agent', '@vscode/proxy-agent',
diff --git a/package-lock.json b/package-lock.json diff --git a/package-lock.json b/package-lock.json
index 99a6c49..0997218 100644 index 4963a5e..f297c0b 100644
--- a/package-lock.json --- a/package-lock.json
+++ b/package-lock.json +++ b/package-lock.json
@@ -18,3 +18,2 @@ @@ -18,3 +18,2 @@
"@vscode/iconv-lite-umd": "0.7.0", "@vscode/iconv-lite-umd": "0.7.0",
- "@vscode/policy-watcher": "^1.1.8", - "@vscode/policy-watcher": "^1.1.8",
"@vscode/proxy-agent": "^0.30.0", "@vscode/proxy-agent": "^0.31.0",
@@ -29,2 +28,3 @@ @@ -29,2 +28,3 @@
"@vscode/windows-registry": "^1.1.0", "@vscode/windows-registry": "^1.1.0",
+ "@vscodium/policy-watcher": "^1.1.8-2501211616", + "@vscodium/policy-watcher": "^1.1.8-2501211616",
"@xterm/addon-clipboard": "^0.2.0-beta.79", "@xterm/addon-clipboard": "^0.2.0-beta.79",
@@ -2830,22 +2830,2 @@ @@ -2831,22 +2831,2 @@
}, },
- "node_modules/@vscode/policy-watcher": { - "node_modules/@vscode/policy-watcher": {
- "version": "1.1.8", - "version": "1.1.8",
@@ -93,7 +93,7 @@ index 99a6c49..0997218 100644
- } - }
- }, - },
"node_modules/@vscode/proxy-agent": { "node_modules/@vscode/proxy-agent": {
@@ -3264,2 +3244,22 @@ @@ -3247,2 +3227,22 @@
}, },
+ "node_modules/@vscodium/policy-watcher": { + "node_modules/@vscodium/policy-watcher": {
+ "version": "1.1.8-2501211616", + "version": "1.1.8-2501211616",
@@ -117,14 +117,14 @@ index 99a6c49..0997218 100644
+ }, + },
"node_modules/@webassemblyjs/ast": { "node_modules/@webassemblyjs/ast": {
diff --git a/package.json b/package.json diff --git a/package.json b/package.json
index 2a79290..a924360 100644 index 53c9113..f92420a 100644
--- a/package.json --- a/package.json
+++ b/package.json +++ b/package.json
@@ -76,3 +76,3 @@ @@ -76,3 +76,3 @@
"@vscode/iconv-lite-umd": "0.7.0", "@vscode/iconv-lite-umd": "0.7.0",
- "@vscode/policy-watcher": "^1.1.8", - "@vscode/policy-watcher": "^1.1.8",
+ "@vscodium/policy-watcher": "^1.1.8-2501211616", + "@vscodium/policy-watcher": "^1.1.8-2501211616",
"@vscode/proxy-agent": "^0.30.0", "@vscode/proxy-agent": "^0.31.0",
diff --git a/src/vs/base/test/node/uri.perf.data.txt b/src/vs/base/test/node/uri.perf.data.txt diff --git a/src/vs/base/test/node/uri.perf.data.txt b/src/vs/base/test/node/uri.perf.data.txt
index ee0a24b..881ce36 100644 index ee0a24b..881ce36 100644
--- a/src/vs/base/test/node/uri.perf.data.txt --- a/src/vs/base/test/node/uri.perf.data.txt

View File

@@ -210,14 +210,10 @@
"treeViewMarkdownMessage" "treeViewMarkdownMessage"
], ],
"GitHub.copilot": [ "GitHub.copilot": [
"inlineCompletionsAdditions", "inlineCompletionsAdditions"
"interactive",
"terminalDataWriteEvent"
], ],
"GitHub.copilot-nightly": [ "GitHub.copilot-nightly": [
"inlineCompletionsAdditions", "inlineCompletionsAdditions"
"interactive",
"terminalDataWriteEvent"
], ],
"GitHub.copilot-chat": [ "GitHub.copilot-chat": [
"interactive", "interactive",
@@ -225,14 +221,14 @@
"terminalExecuteCommandEvent", "terminalExecuteCommandEvent",
"terminalSelection", "terminalSelection",
"terminalQuickFixProvider", "terminalQuickFixProvider",
"chatProvider",
"chatParticipantAdditions", "chatParticipantAdditions",
"defaultChatParticipant", "defaultChatParticipant",
"embeddings", "embeddings",
"chatEditing",
"chatVariableResolver", "chatVariableResolver",
"chatProvider",
"mappedEditsProvider", "mappedEditsProvider",
"aiRelatedInformation", "aiRelatedInformation",
"chatEditing",
"codeActionAI", "codeActionAI",
"findTextInFiles", "findTextInFiles",
"textSearchProvider", "textSearchProvider",
@@ -247,9 +243,9 @@
"findFiles2", "findFiles2",
"extensionsAny", "extensionsAny",
"authLearnMore", "authLearnMore",
"chatReadonlyPromptReference",
"testObserver", "testObserver",
"aiTextSearchProvider", "aiTextSearchProvider",
"chatReadonlyPromptReference",
"documentFiltersExclusive", "documentFiltersExclusive",
"chatParticipantPrivate", "chatParticipantPrivate",
"contribDebugCreateConfiguration", "contribDebugCreateConfiguration",
@@ -271,9 +267,6 @@
"textSearchProvider", "textSearchProvider",
"timeline" "timeline"
], ],
"GitHub.copilot-nes": [
"inlineEdit"
],
"ms-python.gather": [ "ms-python.gather": [
"notebookCellExecutionState" "notebookCellExecutionState"
], ],
@@ -323,6 +316,7 @@
"redhat.java": [ "redhat.java": [
"documentPaste" "documentPaste"
], ],
"vscjava.vscode-java-pack": [],
"ms-dotnettools.csdevkit": [ "ms-dotnettools.csdevkit": [
"inlineCompletionsAdditions" "inlineCompletionsAdditions"
], ],
@@ -341,6 +335,9 @@
"chatParticipantAdditions", "chatParticipantAdditions",
"languageModelSystem" "languageModelSystem"
], ],
"ms-toolsai.datawrangler": [],
"ms-vscode.vscode-commander": [],
"ms-vscode.vscode-websearchforcopilot": [],
"ms-vscode.vscode-copilot-data-analysis": [ "ms-vscode.vscode-copilot-data-analysis": [
"chatVariableResolver", "chatVariableResolver",
"chatProvider" "chatProvider"

View File

@@ -1,4 +1,4 @@
{ {
"tag": "1.96.4", "tag": "1.97.0",
"commit": "cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba" "commit": "33fc5a94a3f99ebe7087e8fe79fbe1d37a251016"
} }