mirror of
https://github.com/VSCodium/vscodium
synced 2024-08-27 13:01:38 +00:00
Merge branch 'master' into insider
This commit is contained in:
commit
b9cf9669ec
11
README.md
11
README.md
|
@ -117,13 +117,12 @@ This repo exists so that you don't have to download+build from source. The build
|
||||||
|
|
||||||
If you want to build from source yourself, head over to [Microsoft's vscode repo](https://github.com/Microsoft/vscode) and follow their [instructions](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#build-and-run). This repo exists to make it easier to get the latest version of MIT-licensed VS Code.
|
If you want to build from source yourself, head over to [Microsoft's vscode repo](https://github.com/Microsoft/vscode) and follow their [instructions](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#build-and-run). This repo exists to make it easier to get the latest version of MIT-licensed VS Code.
|
||||||
|
|
||||||
Microsoft's build process (which we are running to build the binaries) does download additional files. This was brought up in [Microsoft/vscode#141340](https://github.com/Microsoft/vscode/issues/141340) and [Microsoft/vscode#45978](https://github.com/Microsoft/vscode/issues/45978). These are the packages downloaded during build:
|
Microsoft's build process (which we are running to build the binaries) does download additional files. Those packages downloaded during build are:
|
||||||
|
|
||||||
- Extensions from the Microsoft Marketplace:
|
- Pre-built extensions from the GitHub:
|
||||||
- [ms-vscode.references-view](https://marketplace.visualstudio.com/items?itemName=ms-vscode.references-view)
|
- [ms-vscode.js-debug-companion](https://github.com/microsoft/vscode-js-debug-companion)
|
||||||
- [ms-vscode.js-debug-companion](https://marketplace.visualstudio.com/items?itemName=ms-vscode.js-debug-companion)
|
- [ms-vscode.js-debug](https://github.com/microsoft/vscode-js-debug)
|
||||||
- [ms-vscode.js-debug](https://marketplace.visualstudio.com/items?itemName=ms-vscode.js-debug)
|
- [ms-vscode.vscode-js-profile-table](https://github.com/microsoft/vscode-js-profile-visualizer)
|
||||||
- [ms-vscode.vscode-js-profile-table](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-js-profile-table)
|
|
||||||
- From [Electron releases](https://github.com/electron/electron/releases) (using [gulp-atom-electron](https://github.com/joaomoreno/gulp-atom-electron))
|
- From [Electron releases](https://github.com/electron/electron/releases) (using [gulp-atom-electron](https://github.com/joaomoreno/gulp-atom-electron))
|
||||||
- electron
|
- electron
|
||||||
- ffmpeg
|
- ffmpeg
|
||||||
|
|
3
patch.sh
3
patch.sh
|
@ -13,7 +13,8 @@ fi
|
||||||
|
|
||||||
read -p "Press any key when the conflict have been resolved..." -n1 -s
|
read -p "Press any key when the conflict have been resolved..." -n1 -s
|
||||||
|
|
||||||
git diff -U1 > "${FILE}"
|
git add .
|
||||||
|
git diff --staged -U1 > "${FILE}"
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
diff --git a/.vscode/settings.json b/.vscode/settings.json
|
diff --git a/.vscode/settings.json b/.vscode/settings.json
|
||||||
index 184042b..a067194 100644
|
index 3907bc7..1772769 100644
|
||||||
--- a/.vscode/settings.json
|
--- a/.vscode/settings.json
|
||||||
+++ b/.vscode/settings.json
|
+++ b/.vscode/settings.json
|
||||||
@@ -87,3 +87,3 @@
|
@@ -88,3 +88,3 @@
|
||||||
"editor.defaultFormatter": "vscode.typescript-language-features",
|
"editor.defaultFormatter": "vscode.typescript-language-features",
|
||||||
- "editor.formatOnSave": true
|
- "editor.formatOnSave": true
|
||||||
+ // "editor.formatOnSave": true
|
+ // "editor.formatOnSave": true
|
||||||
|
@ -120,16 +120,43 @@ index bceda01..4fe44e2 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 ec4ff95..36e882f 100644
|
index ec4ff95..2ed2c03 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
|
||||||
@@ -146,4 +146,5 @@ export class BrowserDialogHandler implements IDialogHandler {
|
@@ -22,2 +22,3 @@ import { IInstantiationService } from 'vs/platform/instantiation/common/instanti
|
||||||
|
import { MarkdownRenderer } from 'vs/editor/contrib/markdownRenderer/browser/markdownRenderer';
|
||||||
|
+import { getReleaseString } from 'vs/workbench/common/release';
|
||||||
|
|
||||||
|
@@ -145,2 +146,4 @@ export class BrowserDialogHandler implements IDialogHandler {
|
||||||
|
const detailString = (useAgo: boolean): string => {
|
||||||
|
+ const releaseString = getReleaseString();
|
||||||
|
+
|
||||||
return localize('aboutDetail',
|
return localize('aboutDetail',
|
||||||
- "Version: {0}\nCommit: {1}\nDate: {2}\nBrowser: {3}",
|
@@ -151,3 +154,3 @@ export class BrowserDialogHandler implements IDialogHandler {
|
||||||
+ "Version: {0}\nRelease: {1}\nCommit: {2}\nDate: {3}\nBrowser: {4}",
|
navigator.userAgent
|
||||||
this.productService.version || 'Unknown',
|
- );
|
||||||
+ this.productService.release || 'Unknown',
|
+ ).replace('\n', `\n${releaseString} ${this.productService.release || 'Unknown'}\n`);
|
||||||
this.productService.commit || 'Unknown',
|
};
|
||||||
|
diff --git a/src/vs/workbench/common/release.ts b/src/vs/workbench/common/release.ts
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..2a8ea57
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/src/vs/workbench/common/release.ts
|
||||||
|
@@ -0,0 +1,14 @@
|
||||||
|
+import { language } from 'vs/base/common/platform';
|
||||||
|
+
|
||||||
|
+const DEFAULT_LABEL = 'Release:';
|
||||||
|
+const LABELS: { [key: string]: string } = {
|
||||||
|
+ 'en': DEFAULT_LABEL,
|
||||||
|
+ 'fr': 'Révision :',
|
||||||
|
+ 'ru': 'Релиз:',
|
||||||
|
+ 'zh-hans': '发布版本:',
|
||||||
|
+ 'zh-hant': '發布版本:',
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+export function getReleaseString(): string {
|
||||||
|
+ return LABELS[language] ?? DEFAULT_LABEL;
|
||||||
|
+}
|
||||||
diff --git a/src/vs/workbench/contrib/issue/browser/issueService.ts b/src/vs/workbench/contrib/issue/browser/issueService.ts
|
diff --git a/src/vs/workbench/contrib/issue/browser/issueService.ts b/src/vs/workbench/contrib/issue/browser/issueService.ts
|
||||||
index dc7430b..23def01 100644
|
index dc7430b..23def01 100644
|
||||||
--- a/src/vs/workbench/contrib/issue/browser/issueService.ts
|
--- a/src/vs/workbench/contrib/issue/browser/issueService.ts
|
||||||
|
@ -139,13 +166,19 @@ index dc7430b..23def01 100644
|
||||||
+Release: ${this.productService.release ?? 'unknown'}
|
+Release: ${this.productService.release ?? 'unknown'}
|
||||||
Commit: ${this.productService.commit ?? 'unknown'}
|
Commit: ${this.productService.commit ?? 'unknown'}
|
||||||
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 f63b75f..8e24c02 100644
|
index f63b75f..2b77c1b 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
|
||||||
@@ -169,4 +169,5 @@ export class NativeDialogHandler implements IDialogHandler {
|
@@ -17,2 +17,3 @@ import { IProductService } from 'vs/platform/product/common/productService';
|
||||||
return localize({ key: 'aboutDetail', comment: ['Electron, Chromium, Node.js and V8 are product names that need no translation'] },
|
import { process } from 'vs/base/parts/sandbox/electron-sandbox/globals';
|
||||||
- "Version: {0}\nCommit: {1}\nDate: {2}\nElectron: {3}\nChromium: {4}\nNode.js: {5}\nV8: {6}\nOS: {7}\nSandboxed: {8}",
|
+import { getReleaseString } from 'vs/workbench/common/release';
|
||||||
+ "Version: {0}\nRelease: {1}\nCommit: {2}\nDate: {3}\nElectron: {4}\nChromium: {5}\nNode.js: {6}\nV8: {7}\nOS: {8}\nSandboxed: {9}",
|
|
||||||
version,
|
@@ -166,2 +167,3 @@ export class NativeDialogHandler implements IDialogHandler {
|
||||||
+ this.productService.release || 'Unknown',
|
const osProps = await this.nativeHostService.getOSProperties();
|
||||||
this.productService.commit || 'Unknown',
|
+ const releaseString = getReleaseString();
|
||||||
|
|
||||||
|
@@ -179,3 +181,3 @@ export class NativeDialogHandler implements IDialogHandler {
|
||||||
|
process.sandboxed ? 'Yes' : 'No' // TODO@bpasero remove me once sandbox is final
|
||||||
|
- );
|
||||||
|
+ ).replace('\n', `\n${releaseString} ${this.productService.release || 'Unknown'}\n`);
|
||||||
|
};
|
||||||
|
|
|
@ -8,7 +8,7 @@ npm install -g checksum
|
||||||
|
|
||||||
sum_file() {
|
sum_file() {
|
||||||
if [[ -f "${1}" ]]; then
|
if [[ -f "${1}" ]]; then
|
||||||
echo "Calcuating checksum for ${1}"
|
echo "Calculating checksum for ${1}"
|
||||||
checksum -a sha256 "${1}" > "${1}".sha256
|
checksum -a sha256 "${1}" > "${1}".sha256
|
||||||
checksum "${1}" > "${1}".sha1
|
checksum "${1}" > "${1}".sha1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue