Commit Graph

158 Commits

Author SHA1 Message Date
Daniel Imms
6b81670102 Handle ext host exit when debugging
Fixes #70984
2019-03-27 10:58:09 -07:00
Alex Dima
499686ca03 Send extension host exit code 2019-03-20 16:53:50 +01:00
Matt Bierner
7d0e64f5ec Strict null check VS Code
Fixes #60565
Fixes #70417
2019-03-19 10:51:31 -07:00
Johannes Rieken
c92ce4014f move extHost.protocol to common, #70319 2019-03-19 15:46:01 +01:00
Alex Ross
8f16a02e66 Move remote agent environment out of node (#70568) 2019-03-15 17:00:57 +01:00
Sandeep Somavarapu
d6058d77c0 Improve extension activation failure messages 2019-03-15 10:19:21 +01:00
Alex Dima
1b66cd7fb7 Strict null checks (#60565) 2019-03-14 12:07:43 +01:00
Matt Bierner
52556f9742 Auto converting let -> const where possible in mainthread and extHost
Const provides better type guards and can make logic clearer
2019-03-05 16:53:41 -08:00
Matt Bierner
14c4fde6d6 Strict null check extHostQuickOpen 2019-03-05 16:53:40 -08:00
Martin Aeschlimann
e96ab81392 extensionTestsLocationURI.fsPath normalizes path (for #69569) 2019-03-02 20:57:46 +01:00
Martin Aeschlimann
14f25a6102 "--extensionTestsPath" does not accept uris 2019-02-22 16:22:10 +01:00
Alex Dima
9f11bfb31f Small rename 2019-02-21 12:20:19 +01:00
Alex Dima
26d204adc9 Introduce a second barrier 2019-02-21 12:17:39 +01:00
Sandeep Somavarapu
4c7870316d fix dead lock - wait for workspace initialization while starting exthost 2019-02-21 12:00:39 +01:00
Alex Dima
3199f1fd3b Introduce and adopt IExtHostWorkspaceProvider 2019-02-20 17:11:51 +01:00
Alex Dima
43f6bf8ff7 Address some null errors (#60565) 2019-02-20 12:05:33 +01:00
Alex Dima
767715ba14 Explore resolver api 2019-02-13 11:41:29 +01:00
Benjamin Pasero
622b3d62dd paths - paths.node.ts => path.ts 2019-02-12 20:36:23 +01:00
SteVen Batten
5ebd625b40 use new path implementation (#68538)
* adopt paths.node over path

* fix strict null

* remove hacky typing inlabel.test.ts
2019-02-12 20:14:50 +01:00
Matt Bierner
9ee6077373 Strict null work in extHost 2019-02-11 09:31:13 -08:00
Sandeep Somavarapu
16a2c2e3fa Merge branch 'master' into sandy081/remoteMRWorkspace 2019-02-11 10:23:58 +01:00
Alex Dima
2ba52db77a Reroute activation for hosted extensions 2019-02-08 11:54:23 +01:00
Sandeep Somavarapu
db81580e7f Merge branch 'master' into sandy081/remoteMRWorkspace 2019-02-07 12:41:42 +01:00
Benjamin Pasero
15e77e8cf8 fix #66936 2019-01-30 17:33:43 +01:00
Alex Dima
26ed3e96dc Fixes #67326: Update trie when adding / removing extensions 2019-01-30 17:21:15 +01:00
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