Skip to content

Commit ae1126d

Browse files
committedSep 12, 2019
Target VS Code 1.38.1
1 parent 46d1681 commit ae1126d

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed
 

‎.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ matrix:
88
- os: linux
99
dist: trusty
1010
env:
11-
- VSCODE_VERSION="e8fc7db0d1e3f3a94b1cdcc136d146134b7a4c9a" MAJOR_VERSION="2" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER" TARGET="linux"
11+
- VSCODE_VERSION="1.38.1" MAJOR_VERSION="2" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER" TARGET="linux"
1212
- os: linux
1313
dist: trusty
1414
env:
15-
- VSCODE_VERSION="e8fc7db0d1e3f3a94b1cdcc136d146134b7a4c9a" MAJOR_VERSION="2" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER" TARGET="alpine"
15+
- VSCODE_VERSION="1.38.1" MAJOR_VERSION="2" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER" TARGET="alpine"
1616
- os: osx
1717
env:
18-
- VSCODE_VERSION="e8fc7db0d1e3f3a94b1cdcc136d146134b7a4c9a" MAJOR_VERSION="2" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER"
18+
- VSCODE_VERSION="1.38.1" MAJOR_VERSION="2" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER"
1919
before_install:
2020
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then export MINIFY="true"; fi
2121
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then export PACKAGE="true"; fi

‎scripts/vscode.patch

+27-27
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ index 4f93e06df0..ae63e64a7f 100644
108108
});
109109
}
110110
diff --git a/src/vs/base/common/platform.ts b/src/vs/base/common/platform.ts
111-
index a657f4a4d9..76ae76127f 100644
111+
index 07759dffe5..9148d7c1f0 100644
112112
--- a/src/vs/base/common/platform.ts
113113
+++ b/src/vs/base/common/platform.ts
114114
@@ -54,8 +54,18 @@ if (typeof navigator === 'object' && !isElectronRenderer) {
@@ -133,10 +133,10 @@ index a657f4a4d9..76ae76127f 100644
133133
_isWindows = (process.platform === 'win32');
134134
_isMacintosh = (process.platform === 'darwin');
135135
diff --git a/src/vs/code/browser/workbench/workbench.html b/src/vs/code/browser/workbench/workbench.html
136-
index 1d9a0b8308..d8204187c6 100644
136+
index 44f67f0a0b..00fc1deea8 100644
137137
--- a/src/vs/code/browser/workbench/workbench.html
138138
+++ b/src/vs/code/browser/workbench/workbench.html
139-
@@ -28,10 +28,11 @@
139+
@@ -18,10 +18,11 @@
140140

141141
<!-- Workarounds/Hacks (remote user data uri) -->
142142
<meta id="vscode-remote-user-data-uri" data-settings="{{REMOTE_USER_DATA_URI}}">
@@ -219,7 +219,7 @@ index 2f09f53e43..0f5eef1c9e 100644
219219
});
220220
})();
221221
diff --git a/src/vs/platform/environment/common/environment.ts b/src/vs/platform/environment/common/environment.ts
222-
index cfb931c013..0767c9dad8 100644
222+
index 3b45568e1b..aebe04ccfe 100644
223223
--- a/src/vs/platform/environment/common/environment.ts
224224
+++ b/src/vs/platform/environment/common/environment.ts
225225
@@ -82,6 +82,8 @@ export interface ParsedArgs {
@@ -239,10 +239,10 @@ index cfb931c013..0767c9dad8 100644
239239
+ extraBuiltinExtensionPaths: string[];
240240
}
241241
diff --git a/src/vs/platform/environment/node/environmentService.ts b/src/vs/platform/environment/node/environmentService.ts
242-
index 3eb487a5c4..14c1a2d022 100644
242+
index a07c4c8f48..028ed19657 100644
243243
--- a/src/vs/platform/environment/node/environmentService.ts
244244
+++ b/src/vs/platform/environment/node/environmentService.ts
245-
@@ -263,6 +263,15 @@ export class EnvironmentService implements IEnvironmentService {
245+
@@ -264,6 +264,15 @@ export class EnvironmentService implements IEnvironmentService {
246246

247247
get driverHandle(): string | undefined { return this._args['driver']; }
248248
get driverVerbose(): boolean { return !!this._args['driver-verbose']; }
@@ -259,7 +259,7 @@ index 3eb487a5c4..14c1a2d022 100644
259259
constructor(private _args: ParsedArgs, private _execPath: string) {
260260
if (!process.env['VSCODE_LOGS']) {
261261
diff --git a/src/vs/platform/extensionManagement/node/extensionManagementService.ts b/src/vs/platform/extensionManagement/node/extensionManagementService.ts
262-
index bab2df5a3f..5a4ebe24e7 100644
262+
index 7d0b568fc7..23ab257b42 100644
263263
--- a/src/vs/platform/extensionManagement/node/extensionManagementService.ts
264264
+++ b/src/vs/platform/extensionManagement/node/extensionManagementService.ts
265265
@@ -731,11 +731,15 @@ export class ExtensionManagementService extends Disposable implements IExtension
@@ -333,7 +333,7 @@ index bab2df5a3f..5a4ebe24e7 100644
333333
const toRemove: ILocalExtension[] = [];
334334

335335
diff --git a/src/vs/platform/localizations/electron-browser/localizationsService.ts b/src/vs/platform/localizations/electron-browser/localizationsService.ts
336-
index 57e62509c5..c2ea449c79 100644
336+
index add4dfb2fc..18fc71df51 100644
337337
--- a/src/vs/platform/localizations/electron-browser/localizationsService.ts
338338
+++ b/src/vs/platform/localizations/electron-browser/localizationsService.ts
339339
@@ -6,7 +6,7 @@
@@ -342,10 +342,10 @@ index 57e62509c5..c2ea449c79 100644
342342
import { ILocalizationsService, LanguageType } from 'vs/platform/localizations/common/localizations';
343343
-import { ISharedProcessService } from 'vs/platform/ipc/electron-browser/sharedProcessService';
344344
+import { IRemoteAgentService } from 'vs/workbench/services/remote/common/remoteAgentService';
345+
import { ServiceIdentifier } from 'vs/platform/instantiation/common/instantiation';
345346

346347
export class LocalizationsService implements ILocalizationsService {
347-
348-
@@ -14,8 +14,8 @@ export class LocalizationsService implements ILocalizationsService {
348+
@@ -15,8 +15,8 @@ export class LocalizationsService implements ILocalizationsService {
349349

350350
private channel: IChannel;
351351

@@ -357,7 +357,7 @@ index 57e62509c5..c2ea449c79 100644
357357

358358
get onDidLanguagesChange(): Event<void> { return this.channel.listen('onDidLanguagesChange'); }
359359
diff --git a/src/vs/platform/log/common/logIpc.ts b/src/vs/platform/log/common/logIpc.ts
360-
index 5f631b8b9d..d145190881 100644
360+
index 9f68b645b6..1e224cc29a 100644
361361
--- a/src/vs/platform/log/common/logIpc.ts
362362
+++ b/src/vs/platform/log/common/logIpc.ts
363363
@@ -26,6 +26,7 @@ export class LogLevelSetterChannel implements IServerChannel {
@@ -412,7 +412,7 @@ index 6b24ec0781..43dd9c12c8 100644
412412
-
413413
-
414414
diff --git a/src/vs/platform/update/electron-browser/updateService.ts b/src/vs/platform/update/electron-browser/updateService.ts
415-
index fe6e5be934..4b77f9953b 100644
415+
index bd8fa6cc18..cf6108a57b 100644
416416
--- a/src/vs/platform/update/electron-browser/updateService.ts
417417
+++ b/src/vs/platform/update/electron-browser/updateService.ts
418418
@@ -6,7 +6,7 @@
@@ -421,10 +421,10 @@ index fe6e5be934..4b77f9953b 100644
421421
import { IUpdateService, State } from 'vs/platform/update/common/update';
422422
-import { IMainProcessService } from 'vs/platform/ipc/electron-browser/mainProcessService';
423423
+import { IRemoteAgentService } from 'vs/workbench/services/remote/common/remoteAgentService';
424+
import { ServiceIdentifier } from 'vs/platform/instantiation/common/instantiation';
424425

425426
export class UpdateService implements IUpdateService {
426-
427-
@@ -20,8 +20,8 @@ export class UpdateService implements IUpdateService {
427+
@@ -21,8 +21,8 @@ export class UpdateService implements IUpdateService {
428428

429429
private channel: IChannel;
430430

@@ -436,7 +436,7 @@ index fe6e5be934..4b77f9953b 100644
436436
// always set this._state as the state changes
437437
this.onStateChange(state => this._state = state);
438438
diff --git a/src/vs/platform/update/electron-main/abstractUpdateService.ts b/src/vs/platform/update/electron-main/abstractUpdateService.ts
439-
index 7ae90deb9b..69f98f83be 100644
439+
index d789bf4e09..e25c9c9d6a 100644
440440
--- a/src/vs/platform/update/electron-main/abstractUpdateService.ts
441441
+++ b/src/vs/platform/update/electron-main/abstractUpdateService.ts
442442
@@ -6,7 +6,6 @@
@@ -527,7 +527,7 @@ index b99f800164..eb82443e74 100644
527527

528528
// Make the window active to handle the drop properly within
529529
diff --git a/src/vs/workbench/browser/layout.ts b/src/vs/workbench/browser/layout.ts
530-
index 80ae6faffc..511c05db2c 100644
530+
index 2e1e63986f..563c4b2472 100644
531531
--- a/src/vs/workbench/browser/layout.ts
532532
+++ b/src/vs/workbench/browser/layout.ts
533533
@@ -260,7 +260,7 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
@@ -557,7 +557,7 @@ index 80ae6faffc..511c05db2c 100644
557557
}
558558

559559
diff --git a/src/vs/workbench/browser/web.main.ts b/src/vs/workbench/browser/web.main.ts
560-
index 2ef453c688..212e29ec8b 100644
560+
index f5944ce974..f2094de18b 100644
561561
--- a/src/vs/workbench/browser/web.main.ts
562562
+++ b/src/vs/workbench/browser/web.main.ts
563563
@@ -45,6 +45,7 @@ import { FileLogService } from 'vs/platform/log/common/fileLogService';
@@ -585,7 +585,7 @@ index 2ef453c688..212e29ec8b 100644
585585
if (!this.configuration.userDataProvider) {
586586
const remoteUserDataUri = this.getRemoteUserDataUri();
587587
diff --git a/src/vs/workbench/browser/web.simpleservices.ts b/src/vs/workbench/browser/web.simpleservices.ts
588-
index caf44465e7..e6baaf5406 100644
588+
index 895a8a0393..6530b66cbb 100644
589589
--- a/src/vs/workbench/browser/web.simpleservices.ts
590590
+++ b/src/vs/workbench/browser/web.simpleservices.ts
591591
@@ -33,6 +33,7 @@ import { localize } from 'vs/nls';
@@ -686,10 +686,10 @@ index 0c368120df..52ece63cd0 100644
686686
// Check for dropped external files to be folders
687687
const result = await this.fileService.resolveAll(droppedResources);
688688
diff --git a/src/vs/workbench/contrib/remote/common/remote.contribution.ts b/src/vs/workbench/contrib/remote/common/remote.contribution.ts
689-
index 8ec38b3795..467c099d25 100644
689+
index 404f5a2a78..a04c825fa2 100644
690690
--- a/src/vs/workbench/contrib/remote/common/remote.contribution.ts
691691
+++ b/src/vs/workbench/contrib/remote/common/remote.contribution.ts
692-
@@ -80,7 +80,8 @@ class RemoteChannelsContribution extends Disposable implements IWorkbenchContrib
692+
@@ -79,7 +79,8 @@ class RemoteChannelsContribution extends Disposable implements IWorkbenchContrib
693693
const connection = remoteAgentService.getConnection();
694694
if (connection) {
695695
const logLevelClient = new LogLevelSetterChannelClient(connection.getChannel('loglevel'));
@@ -700,10 +700,10 @@ index 8ec38b3795..467c099d25 100644
700700
}
701701
}
702702
diff --git a/src/vs/workbench/contrib/resources/browser/resourceServiceWorker.ts b/src/vs/workbench/contrib/resources/browser/resourceServiceWorker.ts
703-
index dfad93af11..6da087895f 100644
703+
index 3534ef147d..773f711863 100644
704704
--- a/src/vs/workbench/contrib/resources/browser/resourceServiceWorker.ts
705705
+++ b/src/vs/workbench/contrib/resources/browser/resourceServiceWorker.ts
706-
@@ -85,7 +85,8 @@ self.addEventListener('activate', event => {
706+
@@ -34,7 +34,8 @@ self.addEventListener('activate', event => {
707707
//#region --- fetching/caching
708708

709709
const _cacheName = 'vscode-extension-resources';
@@ -714,10 +714,10 @@ index dfad93af11..6da087895f 100644
714714

715715
self.addEventListener('message', event => {
716716
diff --git a/src/vs/workbench/contrib/resources/browser/resourceServiceWorkerClient.ts b/src/vs/workbench/contrib/resources/browser/resourceServiceWorkerClient.ts
717-
index 935753f002..75c08ee013 100644
717+
index 326dfb49ee..adf72747bd 100644
718718
--- a/src/vs/workbench/contrib/resources/browser/resourceServiceWorkerClient.ts
719719
+++ b/src/vs/workbench/contrib/resources/browser/resourceServiceWorkerClient.ts
720-
@@ -15,7 +15,11 @@ class ResourceServiceWorker {
720+
@@ -18,7 +18,11 @@ class ResourceServiceWorker {
721721
constructor(
722722
@ILogService private readonly _logService: ILogService,
723723
) {
@@ -730,7 +730,7 @@ index 935753f002..75c08ee013 100644
730730
this._logService.trace('SW#reg', reg);
731731
return reg.update();
732732
}).then(() => {
733-
@@ -32,5 +36,3 @@ Registry.as<IWorkbenchContributionsRegistry>(Extensions.Workbench).registerWorkb
733+
@@ -45,5 +49,3 @@ Registry.as<IWorkbenchContributionsRegistry>(Extensions.Workbench).registerWorkb
734734
ResourceServiceWorker,
735735
LifecyclePhase.Ready
736736
);
@@ -1019,10 +1019,10 @@ index 8493b87f2c..b5c47ea23f 100644
10191019
telemetryFrom: 'walkThrough'
10201020
};
10211021
diff --git a/src/vs/workbench/services/environment/browser/environmentService.ts b/src/vs/workbench/services/environment/browser/environmentService.ts
1022-
index 6895dee469..762b8e0ee9 100644
1022+
index 7c3b6ae53e..18dec6effa 100644
10231023
--- a/src/vs/workbench/services/environment/browser/environmentService.ts
10241024
+++ b/src/vs/workbench/services/environment/browser/environmentService.ts
1025-
@@ -176,6 +176,8 @@ export class BrowserWorkbenchEnvironmentService implements IWorkbenchEnvironment
1025+
@@ -177,6 +177,8 @@ export class BrowserWorkbenchEnvironmentService implements IWorkbenchEnvironment
10261026
driverHandle?: string;
10271027
driverVerbose: boolean;
10281028
galleryMachineIdResource?: URI;

0 commit comments

Comments
 (0)
Please sign in to comment.