From 0f836f318afbd7e86d454e5b316bca188ed7ea65 Mon Sep 17 00:00:00 2001 From: Alex Lohr Date: Sun, 10 Oct 2021 21:14:47 +0200 Subject: [PATCH] vscode: update to 1.61.0 --- srcpkgs/vscode/patches/disable-crash-reporter.patch | 12 ++++++------ srcpkgs/vscode/patches/product.patch | 4 ++-- srcpkgs/vscode/template | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/srcpkgs/vscode/patches/disable-crash-reporter.patch b/srcpkgs/vscode/patches/disable-crash-reporter.patch index 59553fabf753..17c0b0db545c 100644 --- a/srcpkgs/vscode/patches/disable-crash-reporter.patch +++ b/srcpkgs/vscode/patches/disable-crash-reporter.patch @@ -14,7 +14,7 @@ So, disable it entirely. No cookies for you, Visual Studio Code team. 3 files changed, 1 insertion(+), 20 deletions(-) diff --git a/src/bootstrap-fork.js b/src/bootstrap-fork.js -index 55303d9a556..ead5d08663f 100644 +index f7b07e49255..576c82f23e8 100644 --- a/src/bootstrap-fork.js +++ b/src/bootstrap-fork.js @@ -37,9 +37,6 @@ if (process.env['VSCODE_PARENT_PID']) { @@ -28,7 +28,7 @@ index 55303d9a556..ead5d08663f 100644 require('./bootstrap-amd').load(process.env['VSCODE_AMD_ENTRYPOINT']); diff --git a/src/main.js b/src/main.js -index 9cf737e0649..1d779632498 100644 +index ad838aa245e..e6319e100b9 100644 --- a/src/main.js +++ b/src/main.js @@ -46,22 +46,6 @@ const codeCachePath = getCodeCachePath(); @@ -55,13 +55,13 @@ index 9cf737e0649..1d779632498 100644 // to ensure that no 'logs' folder is created on disk at a // location outside of the portable directory diff --git a/src/vs/code/electron-main/app.ts b/src/vs/code/electron-main/app.ts -index 135f444bdbf..9d207a91bcf 100644 +index 1d71361b942..6452f501e34 100644 --- a/src/vs/code/electron-main/app.ts +++ b/src/vs/code/electron-main/app.ts -@@ -982,7 +982,7 @@ export class CodeApplication extends Disposable { - const argvJSON = JSON.parse(stripComments(argvString)); +@@ -992,7 +992,7 @@ export class CodeApplication extends Disposable { if (argvJSON['enable-crash-reporter'] === undefined) { - const enableCrashReporterSetting = this.configurationService.getValue('telemetry.enableCrashReporter'); + const telemetryConfig = getTelemetryLevel(this.configurationService); + const enableCrashReporterSetting = telemetryConfig >= TelemetryLevel.ERROR; - const enableCrashReporter = typeof enableCrashReporterSetting === 'boolean' ? enableCrashReporterSetting : true; + const enableCrashReporter = typeof enableCrashReporterSetting === 'boolean' ? enableCrashReporterSetting : false; const additionalArgvContent = [ diff --git a/srcpkgs/vscode/patches/product.patch b/srcpkgs/vscode/patches/product.patch index 47440585d5de..827b90297879 100644 --- a/srcpkgs/vscode/patches/product.patch +++ b/srcpkgs/vscode/patches/product.patch @@ -1,5 +1,5 @@ diff --git a/product.json b/product.json -index 9010521ca351..3abefe7bd69a 100644 +index 7b60eac641d..c9aeeeecfe6 100644 --- a/product.json +++ b/product.json @@ -22,6 +22,9 @@ @@ -23,4 +23,4 @@ index 9010521ca351..3abefe7bd69a 100644 + }, "builtInExtensions": [ { - "name": "ms-vscode.node-debug", + "name": "ms-vscode.references-view", diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template index 3244acb30a9a..2c7ec4950880 100644 --- a/srcpkgs/vscode/template +++ b/srcpkgs/vscode/template @@ -1,6 +1,6 @@ # Template file for 'vscode' pkgname=vscode -version=1.60.2 +version=1.61.0 revision=1 _electronver=13.3.0 hostmakedepends="pkg-config python nodejs yarn tar git" @@ -11,7 +11,7 @@ maintainer="shizonic " license="MIT" homepage="https://code.visualstudio.com/" distfiles="https://github.com/Microsoft/vscode/archive/${version}.tar.gz" -checksum=34c6a974f95735c4f934c16837ec553613ba9a7f098876871471edcddbbd65a2 +checksum=68bff7284804054cdd38ae3984ecb2a23af86668e23ec2335440dc56a2d1e82a if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then broken="FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory"