Commit Graph

133 Commits

Author SHA1 Message Date
Sandeep Somavarapu
aba0fcbb58 Delay extension host until workspace is completely initialized 2019-01-28 10:54:45 +01:00
Benjamin Pasero
002cd6253b move exthost into extensions service where its used from (#67131) 2019-01-25 18:28:34 +01:00
Alex Dima
c16d569a32 Add IInitData.resolvedExtensions 2019-01-22 20:01:56 +01:00
Alex Dima
ae72d6983d Handle added/removed extensions in bulk 2019-01-18 17:16:46 +01:00
Alex Dima
924b7a1fea Handle the case of removing an extension from the extension host 2019-01-15 23:04:45 +01:00
Alex Dima
471a786cf3 Activate newly installed/enabled extensions 2019-01-15 13:51:15 +01:00
Alex Dima
2fe9de8511 Initialize configuration data through ExtHostConfiguration 2019-01-14 17:28:14 +01:00
Sandeep Somavarapu
4d285a7ee1 Fix #66030 2019-01-10 10:49:54 +01:00
Benjamin Pasero
42d0a188fc extension tests: print errors to console 2019-01-09 18:15:53 +01:00
Alex Dima
46d1ac2bbc Add "Measure Extension Host Latency" action 2019-01-09 08:38:30 +01:00
Benjamin Pasero
5a892a6450 return non-zero exit code when testrun produces an error (fixes #66218) 2019-01-08 17:41:59 +01:00
Alex Dima
9cf36cdf8f Rename CanonicalExtensionIdentifier to ExtensionIdentifier 2019-01-07 12:00:54 +01:00
Matt Bierner
c109d319fe Second pass converting for index based looping to for-of loops
More manual conversion of index based for loops to for-of loops
2019-01-04 12:03:23 -08:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Alex Dima
25417553be Adopt case insensitive extension identifiers 2018-12-21 12:41:41 +01:00
Matt Bierner
d40fa4a27e Review uses of Promise.resolve(null)
Many `Promise.resolve(null)` should actually be `Promise.resolve(void 0)`. In other cases, we were missing a null return annotation.
2018-12-13 15:41:13 -08:00
Matt Bierner
68a4e01246 Use resolve(void 0) instead of resolve(null) for void promises
Fixes a common type error
2018-12-13 15:20:46 -08:00
Johannes Rieken
653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00
Alex Dima
29dd4e77de Keep track of activating extensions 2018-12-13 11:22:26 +01:00
Matt Bierner
0b1d0da7af Prefer to use .then(void 0, ..) over .then(null, ..)
ES6 promises like using undefined as their first argument instead of null. Both should behave the same behavior
2018-12-11 21:59:32 -08:00
Alex Dima
aa3ea85b0a Explorations 2018-11-30 15:54:40 +01:00
Sandeep Somavarapu
34b655147e - Remove proposed api check for collpaseAll
- Add proposed api check for treeview message and globalStorage
2018-11-30 10:48:11 +01:00
Sandeep Somavarapu
37037eac8a #23251 Expose global storage path in proposed API 2018-11-28 16:33:59 +01:00
Christof Marti
4ccfe19815 Include extension version 2018-11-15 17:40:19 +01:00
Christof Marti
abbaa68483 Telemetry for extension activation times 2018-11-09 11:14:26 +01:00
Christof Marti
c391faf35a _vscodeSystemProxy option (#60773) 2018-10-29 15:10:00 +01:00
Alex Dima
17454d4e88 Organize imports 2018-10-23 09:54:11 +02:00
Christof Marti
4e436d128c Investigate using Electron's resolveProxy API (#60773) 2018-10-22 20:00:58 +02:00
Benjamin Pasero
4a18377f15 storage - restore ExtensionStoragePath 2018-10-22 14:50:50 +02:00
Benjamin Pasero
7036953b12 storage - cleanup 2018-10-22 13:40:33 +02:00
Benjamin Pasero
c760849845 Merge branch 'master' into ben/ws-storage 2018-10-22 08:59:00 +02:00
Johannes Rieken
45f4904378 debt remove TPromise from extHost-files #53526 2018-10-19 09:49:05 +02:00
Benjamin Pasero
2d2d715496 storage - write workspace.json from renderer 2018-10-17 19:03:20 +02:00
Benjamin Pasero
c2ef06ef8a storage - introduce workspaceStorageHome to environment 2018-10-17 12:52:42 +02:00
Benjamin Pasero
2ce9665b30 Allow globalState to be synchronized across multiple windows (#61024)
* Allow globalState to be synchronized across multiple windows (fixes #55834)

* address some feedback
2018-10-16 18:52:50 +02:00
Matt Bierner
0318e90c93 Add null type annotations for the common x: T = null pattern
In these cases, the programmer has explicitly indicated that the type should be nullable
2018-10-11 14:13:20 -07:00
Matt Bierner
8087b0a8d8 Remove use strict directives in main vs code ts files (part 2)
We compile using the alwaysStrict flag so these directives are not needed

This part removes most `use strict` directives that are right after the file header
2018-10-02 16:11:05 -07:00
Johannes Rieken
2e14dce0d5 make sure to use fsPath when populating the extension index #55340 2018-09-17 12:16:59 +02:00
Rob Lourens
82a2a4762c Telemetry for #34711
Capture workspaceContainsTimeout numbers
2018-09-14 18:48:46 -07:00
Sandeep Somavarapu
546032756a Use URIs instead of strings while passing environment to Extensionhost 2018-09-05 17:29:01 +02:00
Alex Dima
34837504ba debt - More precise typings 2018-09-05 12:21:06 +02:00
Alex Dima
591e83f8a4 Reduce usage of TPromise in extHost.protocol 2018-09-04 16:04:53 +02:00
Johannes Rieken
2d452e0a7e uri - replace usages of default export with named export 2018-09-03 10:54:50 +02:00
Johannes Rieken
27c72d4ea4 remove logDirectory, #43275 2018-08-20 15:42:09 +02:00
Johannes Rieken
66205890dd Revert "Revert "remove proposed Logger-api, #43275""
This reverts commit 315cce8314.
2018-08-20 15:31:33 +02:00
Johannes Rieken
315cce8314 Revert "remove proposed Logger-api, #43275"
This reverts commit 1c72ab243c.
2018-08-17 11:04:35 +02:00
Johannes Rieken
1c72ab243c remove proposed Logger-api, #43275
we keep the LogLevel-enum and the plan is to accept the log level when
calling OutputChannel#appendLine so that
logging is supported there
2018-08-17 09:47:26 +02:00
Johannes Rieken
bbfcc67dc9 add ExtensionContext#logPath, #43275 2018-08-17 09:30:18 +02:00
Johannes Rieken
5174205b09 avoid async and winjs.promise, #53442 2018-07-02 15:04:42 +02:00
Alex Dima
2a575f1472 Fix usage of IMainContext / IExtHostContext 2018-06-12 16:40:56 +02:00