development/vscode: Updated for version 1.9.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andre Barboza 2017-02-05 16:52:37 +07:00 committed by Willy Sudiarto Raharjo
parent e5ebfb204d
commit 8aec2ce256
4 changed files with 21 additions and 40 deletions

View file

@ -1,36 +0,0 @@
From f9ce2e16fcfb3699af9596d8f1e28a3ee8e27171 Mon Sep 17 00:00:00 2001
From: Benjamin Pasero <benjpas@microsoft.com>
Date: Mon, 9 Jan 2017 18:13:23 +0100
Subject: [PATCH] fix compile errors
---
extensions/vscode-api-tests/src/window.test.ts | 2 +-
extensions/vscode-api-tests/src/workspace.test.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/extensions/vscode-api-tests/src/window.test.ts b/extensions/vscode-api-tests/src/window.test.ts
index 5cf72dd..9273df4 100644
--- a/extensions/vscode-api-tests/src/window.test.ts
+++ b/extensions/vscode-api-tests/src/window.test.ts
@@ -315,7 +315,7 @@ suite('window namespace tests', () => {
assert.equal(terminal.name, 'foo');
assert.throws(() => {
- terminal.name = 'bar';
+ (<any>terminal).name = 'bar';
}, 'Terminal.name should be readonly');
});
diff --git a/extensions/vscode-api-tests/src/workspace.test.ts b/extensions/vscode-api-tests/src/workspace.test.ts
index b963ab6..0b4e2c0 100644
--- a/extensions/vscode-api-tests/src/workspace.test.ts
+++ b/extensions/vscode-api-tests/src/workspace.test.ts
@@ -24,7 +24,7 @@ suite('workspace-namespace', () => {
assert.equal(config['config0'], true);
assert.equal(config['config4'], '');
- assert.throws(() => config['config4'] = 'valuevalue');
+ assert.throws(() => (<any>config)['config4'] = 'valuevalue');
assert.ok(config.has('nested.config1'));
assert.equal(config.get('nested.config1'), 42);

View file

@ -0,0 +1,17 @@
diff -ur vscode-1.9.0.old/product.json vscode-1.9.0/product.json
--- vscode-1.9.0.old/product.json 2017-02-02 07:40:40.000000000 -0200
+++ vscode-1.9.0/product.json 2017-02-05 07:09:30.829967716 -0200
@@ -13,5 +13,10 @@
"win32AppUserModelId": "Microsoft.CodeOSS",
"darwinBundleIdentifier": "com.visualstudio.code.oss",
"reportIssueUrl": "https://github.com/Microsoft/vscode/issues/new",
- "urlProtocol": "code-oss"
-}
\ No newline at end of file
+ "urlProtocol": "code-oss",
+ "extensionsGallery": {
+ "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
+ "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
+ "itemUrl": "https://marketplace.visualstudio.com/items"
+ }
+}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vscode
VERSION=${VERSION:-1.8.1}
VERSION=${VERSION:-1.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

View file

@ -1,8 +1,8 @@
PRGNAM="vscode"
VERSION="1.8.1"
VERSION="1.9.0"
HOMEPAGE="https://code.visualstudio.com/"
DOWNLOAD="https://github.com/Microsoft/vscode/archive/1.8.1/vscode-1.8.1.tar.gz"
MD5SUM="384a0da09d1df4c1a85d9513447fc627"
DOWNLOAD="https://github.com/Microsoft/vscode/archive/1.9.0/vscode-1.9.0.tar.gz"
MD5SUM="4828d28827dca7c05e65b883eb631a70"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nodejs"