Commit Graph

148 Commits

Author SHA1 Message Date
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
Alex Dima
0252ac49bc Introduce and adopt extensionLocation 2018-05-07 17:28:59 +02:00
Alex Dima
8e5a374372 Fixes #44956: Propagate extension activation errors in the activate() calls 2018-04-06 11:55:46 +02:00
Ramya Achutha Rao
89b196e08f Publisher info is now considered SystemMetaData 2018-03-28 19:39:30 -07:00
Ramya Achutha Rao
451372e82b Add old properties back until we retire them post nova 2018-03-27 14:59:43 -07:00
Ramya Achutha Rao
eb7edb6c33 Send publisherInfo as new properties for extensions from gallery. GDPR 2018-03-26 21:05:37 -07:00
Alex Dima
262134cfd8 Reduce extension host IInitData 2018-03-20 16:55:38 +01:00
Matt Bierner
e822e655b5 Move logDirectory to ExtensionContext (#45922)
* Move the logDirectory to extensionContext

Moves the proposed `logDirectory` to `ExtensionContext` and make it synchronous

* Use string for path instead of URI
2018-03-16 14:07:09 -07:00
Ramya Achutha Rao
366c8eb9c3 publisherDisplayName is PublicPersonalData 2018-03-13 19:18:09 -07:00
Alex Dima
8bfa7ffd2e Move IExtensionService up to /workbench/ (fixes #44281) 2018-02-23 17:38:24 +01:00
Johannes Rieken
3dd2035b13 another try, #41408 2018-01-24 09:55:50 +01:00
Johannes Rieken
acf50ea95a Revert "Revert "add 'configuration' (read uri/path) of workspace config file, #41408""
This reverts commit 1cacde3496.
2018-01-24 09:54:15 +01:00
Sandeep Somavarapu
c9b291978c #39574 Implement log level transmission to extension host 2018-01-23 19:31:12 +01:00
Sandeep Somavarapu
de24732aa9 Implement #39574 2018-01-23 17:28:53 +01:00
Joao Moreno
1cacde3496 Revert "add 'configuration' (read uri/path) of workspace config file, #41408"
This reverts commit 3ecef8c1dd.
2018-01-23 11:23:02 +01:00
Johannes Rieken
3ecef8c1dd add 'configuration' (read uri/path) of workspace config file, #41408 2018-01-23 10:17:51 +01:00
Johannes Rieken
54240a7bd3 also add the workspace name, #41408 2018-01-16 17:49:19 -08:00
Johannes Rieken
c677bf31e2 write meta.json file #41408 2018-01-15 15:18:13 -08:00
Matt Bierner
9d776df909 Mark a few fields in ExtensionMemento as readonly 2018-01-03 16:10:17 -08:00
Alex Dima
07ac57204a Adopt new TestRPCProtocol; renames 2017-12-18 12:23:48 +01:00
Rob Lourens
aa6e38762d Fix #40275 - check enableProposedApi flag for logger API 2017-12-15 11:01:31 -08:00
Rob Lourens
f877135846 Merge branch 'master' into roblou/extHostLogger2 2017-12-13 14:21:08 -08:00
Alex Dima
367dd10413 Rename RPCProtocol.get to RPCProtocol.getProxy (#36972) 2017-12-13 16:04:14 +01:00
Alex Dima
252d49c65b Simplify AbstractThreadService usage (#36972) 2017-12-13 15:21:33 +01:00
Rob Lourens
b3fde70cb4 Move extension logger to extension context 2017-12-12 19:23:24 -08:00
Rob Lourens
daa3a0ec2e Add ExtHostLogService with logger and lazily created log folder per extension 2017-12-12 19:07:41 -08:00
Johannes Rieken
bfe83a84d1 eng - less TPromise 2017-12-11 14:46:41 +01:00
Alex Dima
824a1b8657 #37677: Add tracing in the extension host around activating extensions 2017-12-07 15:27:03 +01:00
Joao Moreno
4ecad4714f fixes #39806 2017-12-06 17:34:11 +01:00
Joao Moreno
857ab9d59d use global log service 2017-12-04 12:08:04 +01:00
Alex Dima
fd1dc0589c GDPR: remove wildcard telemetry event 2017-12-04 10:42:00 +01:00
Alex Dima
4178699625 Merge remote-tracking branch 'origin/master' into runtime-extensions 2017-11-30 16:13:53 +01:00
Joao Moreno
4e78a42abf log ext host commands, ext hsot scm 2017-11-29 15:38:01 +01:00
Alex Dima
e0f7df5cfa Render messages 2017-11-28 17:53:18 +01:00
Alex Dima
6b8c85d916 Render activation cause on hover 2017-11-28 17:19:49 +01:00
Alex Dima
93469a7941 Have an activation reason 2017-11-28 17:05:35 +01:00