@theia/task 1.23.0-next.5 → 1.23.0-next.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/lib/browser/index.d.ts +0 -15
  2. package/lib/browser/index.d.ts.map +1 -1
  3. package/lib/browser/index.js +16 -16
  4. package/lib/browser/index.js.map +1 -1
  5. package/lib/browser/process/process-task-contribution.d.ts +0 -15
  6. package/lib/browser/process/process-task-contribution.d.ts.map +1 -1
  7. package/lib/browser/process/process-task-contribution.js +17 -17
  8. package/lib/browser/process/process-task-contribution.js.map +1 -1
  9. package/lib/browser/process/process-task-frontend-module.d.ts +0 -15
  10. package/lib/browser/process/process-task-frontend-module.d.ts.map +1 -1
  11. package/lib/browser/process/process-task-frontend-module.js +15 -15
  12. package/lib/browser/process/process-task-frontend-module.js.map +1 -1
  13. package/lib/browser/process/process-task-resolver.d.ts +0 -15
  14. package/lib/browser/process/process-task-resolver.d.ts.map +1 -1
  15. package/lib/browser/process/process-task-resolver.js +19 -19
  16. package/lib/browser/process/process-task-resolver.js.map +1 -1
  17. package/lib/browser/provided-task-configurations.d.ts +0 -15
  18. package/lib/browser/provided-task-configurations.d.ts.map +1 -1
  19. package/lib/browser/provided-task-configurations.js +18 -18
  20. package/lib/browser/provided-task-configurations.js.map +1 -1
  21. package/lib/browser/provided-task-configurations.spec.d.ts +0 -15
  22. package/lib/browser/provided-task-configurations.spec.d.ts.map +1 -1
  23. package/lib/browser/provided-task-configurations.spec.js +15 -15
  24. package/lib/browser/provided-task-configurations.spec.js.map +1 -1
  25. package/lib/browser/quick-open-task.d.ts +0 -23
  26. package/lib/browser/quick-open-task.d.ts.map +1 -1
  27. package/lib/browser/quick-open-task.js +56 -64
  28. package/lib/browser/quick-open-task.js.map +1 -1
  29. package/lib/browser/task-configuration-manager.d.ts +0 -15
  30. package/lib/browser/task-configuration-manager.d.ts.map +1 -1
  31. package/lib/browser/task-configuration-manager.js +32 -32
  32. package/lib/browser/task-configuration-manager.js.map +1 -1
  33. package/lib/browser/task-configuration-model.d.ts +0 -15
  34. package/lib/browser/task-configuration-model.d.ts.map +1 -1
  35. package/lib/browser/task-configuration-model.js +15 -15
  36. package/lib/browser/task-configuration-model.js.map +1 -1
  37. package/lib/browser/task-configurations.d.ts +0 -15
  38. package/lib/browser/task-configurations.d.ts.map +1 -1
  39. package/lib/browser/task-configurations.js +23 -23
  40. package/lib/browser/task-configurations.js.map +1 -1
  41. package/lib/browser/task-contribution.d.ts +0 -15
  42. package/lib/browser/task-contribution.d.ts.map +1 -1
  43. package/lib/browser/task-contribution.js +18 -18
  44. package/lib/browser/task-contribution.js.map +1 -1
  45. package/lib/browser/task-definition-registry.d.ts +0 -15
  46. package/lib/browser/task-definition-registry.d.ts.map +1 -1
  47. package/lib/browser/task-definition-registry.js +16 -16
  48. package/lib/browser/task-definition-registry.js.map +1 -1
  49. package/lib/browser/task-definition-registry.spec.d.ts +0 -15
  50. package/lib/browser/task-definition-registry.spec.d.ts.map +1 -1
  51. package/lib/browser/task-definition-registry.spec.js +28 -28
  52. package/lib/browser/task-definition-registry.spec.js.map +1 -1
  53. package/lib/browser/task-frontend-contribution.d.ts +0 -15
  54. package/lib/browser/task-frontend-contribution.d.ts.map +1 -1
  55. package/lib/browser/task-frontend-contribution.js +36 -36
  56. package/lib/browser/task-frontend-contribution.js.map +1 -1
  57. package/lib/browser/task-frontend-module.d.ts +0 -15
  58. package/lib/browser/task-frontend-module.d.ts.map +1 -1
  59. package/lib/browser/task-frontend-module.js +19 -19
  60. package/lib/browser/task-frontend-module.js.map +1 -1
  61. package/lib/browser/task-name-resolver.d.ts +0 -15
  62. package/lib/browser/task-name-resolver.d.ts.map +1 -1
  63. package/lib/browser/task-name-resolver.js +18 -18
  64. package/lib/browser/task-name-resolver.js.map +1 -1
  65. package/lib/browser/task-node.d.ts +0 -15
  66. package/lib/browser/task-node.d.ts.map +1 -1
  67. package/lib/browser/task-preferences.d.ts +0 -15
  68. package/lib/browser/task-preferences.d.ts.map +1 -1
  69. package/lib/browser/task-preferences.js +15 -15
  70. package/lib/browser/task-preferences.js.map +1 -1
  71. package/lib/browser/task-problem-matcher-registry.d.ts +0 -15
  72. package/lib/browser/task-problem-matcher-registry.d.ts.map +1 -1
  73. package/lib/browser/task-problem-matcher-registry.js +18 -18
  74. package/lib/browser/task-problem-matcher-registry.js.map +1 -1
  75. package/lib/browser/task-problem-pattern-registry.d.ts +0 -15
  76. package/lib/browser/task-problem-pattern-registry.d.ts.map +1 -1
  77. package/lib/browser/task-problem-pattern-registry.js +17 -17
  78. package/lib/browser/task-problem-pattern-registry.js.map +1 -1
  79. package/lib/browser/task-schema-updater.d.ts +1 -16
  80. package/lib/browser/task-schema-updater.d.ts.map +1 -1
  81. package/lib/browser/task-schema-updater.js +23 -23
  82. package/lib/browser/task-schema-updater.js.map +1 -1
  83. package/lib/browser/task-service.d.ts +0 -15
  84. package/lib/browser/task-service.d.ts.map +1 -1
  85. package/lib/browser/task-service.js +47 -47
  86. package/lib/browser/task-service.js.map +1 -1
  87. package/lib/browser/task-source-resolver.d.ts +0 -15
  88. package/lib/browser/task-source-resolver.d.ts.map +1 -1
  89. package/lib/browser/task-source-resolver.js +17 -17
  90. package/lib/browser/task-source-resolver.js.map +1 -1
  91. package/lib/browser/task-templates.d.ts +0 -15
  92. package/lib/browser/task-templates.d.ts.map +1 -1
  93. package/lib/browser/task-templates.js +16 -16
  94. package/lib/browser/task-templates.js.map +1 -1
  95. package/lib/browser/task-terminal-widget-manager.d.ts +0 -15
  96. package/lib/browser/task-terminal-widget-manager.d.ts.map +1 -1
  97. package/lib/browser/task-terminal-widget-manager.js +23 -23
  98. package/lib/browser/task-terminal-widget-manager.js.map +1 -1
  99. package/lib/browser/tasks-monaco-contribution.d.ts +0 -15
  100. package/lib/browser/tasks-monaco-contribution.d.ts.map +1 -1
  101. package/lib/browser/tasks-monaco-contribution.js +15 -15
  102. package/lib/browser/tasks-monaco-contribution.js.map +1 -1
  103. package/lib/common/index.d.ts +0 -15
  104. package/lib/common/index.d.ts.map +1 -1
  105. package/lib/common/index.js +16 -16
  106. package/lib/common/index.js.map +1 -1
  107. package/lib/common/problem-matcher-protocol.d.ts +0 -15
  108. package/lib/common/problem-matcher-protocol.d.ts.map +1 -1
  109. package/lib/common/problem-matcher-protocol.js +15 -15
  110. package/lib/common/problem-matcher-protocol.js.map +1 -1
  111. package/lib/common/process/task-protocol.d.ts +0 -15
  112. package/lib/common/process/task-protocol.d.ts.map +1 -1
  113. package/lib/common/process/task-protocol.js +15 -15
  114. package/lib/common/process/task-protocol.js.map +1 -1
  115. package/lib/common/task-common-module.d.ts +0 -15
  116. package/lib/common/task-common-module.d.ts.map +1 -1
  117. package/lib/common/task-common-module.js +15 -15
  118. package/lib/common/task-common-module.js.map +1 -1
  119. package/lib/common/task-protocol.d.ts +0 -15
  120. package/lib/common/task-protocol.d.ts.map +1 -1
  121. package/lib/common/task-protocol.js +15 -15
  122. package/lib/common/task-protocol.js.map +1 -1
  123. package/lib/common/task-watcher.d.ts +0 -15
  124. package/lib/common/task-watcher.d.ts.map +1 -1
  125. package/lib/common/task-watcher.js +16 -16
  126. package/lib/common/task-watcher.js.map +1 -1
  127. package/lib/node/custom/custom-task-runner-backend-module.d.ts +0 -15
  128. package/lib/node/custom/custom-task-runner-backend-module.d.ts.map +1 -1
  129. package/lib/node/custom/custom-task-runner-backend-module.js +15 -15
  130. package/lib/node/custom/custom-task-runner-backend-module.js.map +1 -1
  131. package/lib/node/custom/custom-task-runner-contribution.d.ts +0 -15
  132. package/lib/node/custom/custom-task-runner-contribution.d.ts.map +1 -1
  133. package/lib/node/custom/custom-task-runner-contribution.js +17 -17
  134. package/lib/node/custom/custom-task-runner-contribution.js.map +1 -1
  135. package/lib/node/custom/custom-task-runner.d.ts +0 -15
  136. package/lib/node/custom/custom-task-runner.d.ts.map +1 -1
  137. package/lib/node/custom/custom-task-runner.js +20 -20
  138. package/lib/node/custom/custom-task-runner.js.map +1 -1
  139. package/lib/node/custom/custom-task.d.ts +0 -17
  140. package/lib/node/custom/custom-task.d.ts.map +1 -1
  141. package/lib/node/custom/custom-task.js +20 -21
  142. package/lib/node/custom/custom-task.js.map +1 -1
  143. package/lib/node/index.d.ts +0 -15
  144. package/lib/node/index.d.ts.map +1 -1
  145. package/lib/node/index.js +16 -16
  146. package/lib/node/index.js.map +1 -1
  147. package/lib/node/process/process-task-runner-backend-module.d.ts +0 -15
  148. package/lib/node/process/process-task-runner-backend-module.d.ts.map +1 -1
  149. package/lib/node/process/process-task-runner-backend-module.js +15 -15
  150. package/lib/node/process/process-task-runner-backend-module.js.map +1 -1
  151. package/lib/node/process/process-task-runner-contribution.d.ts +0 -15
  152. package/lib/node/process/process-task-runner-contribution.d.ts.map +1 -1
  153. package/lib/node/process/process-task-runner-contribution.js +17 -17
  154. package/lib/node/process/process-task-runner-contribution.js.map +1 -1
  155. package/lib/node/process/process-task-runner.d.ts +0 -15
  156. package/lib/node/process/process-task-runner.d.ts.map +1 -1
  157. package/lib/node/process/process-task-runner.js +23 -23
  158. package/lib/node/process/process-task-runner.js.map +1 -1
  159. package/lib/node/process/process-task.d.ts +0 -17
  160. package/lib/node/process/process-task.d.ts.map +1 -1
  161. package/lib/node/process/process-task.js +20 -21
  162. package/lib/node/process/process-task.js.map +1 -1
  163. package/lib/node/process/process-task.spec.d.ts +0 -15
  164. package/lib/node/process/process-task.spec.d.ts.map +1 -1
  165. package/lib/node/process/process-task.spec.js +19 -19
  166. package/lib/node/process/process-task.spec.js.map +1 -1
  167. package/lib/node/task-abstract-line-matcher.d.ts +0 -15
  168. package/lib/node/task-abstract-line-matcher.d.ts.map +1 -1
  169. package/lib/node/task-abstract-line-matcher.js +15 -15
  170. package/lib/node/task-abstract-line-matcher.js.map +1 -1
  171. package/lib/node/task-backend-application-contribution.d.ts +0 -15
  172. package/lib/node/task-backend-application-contribution.d.ts.map +1 -1
  173. package/lib/node/task-backend-application-contribution.js +19 -19
  174. package/lib/node/task-backend-application-contribution.js.map +1 -1
  175. package/lib/node/task-backend-module.d.ts +0 -15
  176. package/lib/node/task-backend-module.d.ts.map +1 -1
  177. package/lib/node/task-backend-module.js +19 -19
  178. package/lib/node/task-backend-module.js.map +1 -1
  179. package/lib/node/task-line-matchers.d.ts +0 -17
  180. package/lib/node/task-line-matchers.d.ts.map +1 -1
  181. package/lib/node/task-line-matchers.js +15 -17
  182. package/lib/node/task-line-matchers.js.map +1 -1
  183. package/lib/node/task-manager.js +18 -17
  184. package/lib/node/task-manager.js.map +1 -1
  185. package/lib/node/task-problem-collector.d.ts +0 -15
  186. package/lib/node/task-problem-collector.d.ts.map +1 -1
  187. package/lib/node/task-problem-collector.js +15 -15
  188. package/lib/node/task-problem-collector.js.map +1 -1
  189. package/lib/node/task-problem-collector.spec.d.ts +0 -15
  190. package/lib/node/task-problem-collector.spec.d.ts.map +1 -1
  191. package/lib/node/task-problem-collector.spec.js +34 -34
  192. package/lib/node/task-problem-collector.spec.js.map +1 -1
  193. package/lib/node/task-runner.d.ts +0 -15
  194. package/lib/node/task-runner.d.ts.map +1 -1
  195. package/lib/node/task-runner.js +18 -18
  196. package/lib/node/task-runner.js.map +1 -1
  197. package/lib/node/task-server.d.ts +0 -15
  198. package/lib/node/task-server.d.ts.map +1 -1
  199. package/lib/node/task-server.js +20 -20
  200. package/lib/node/task-server.js.map +1 -1
  201. package/lib/node/task-server.slow-spec.d.ts +0 -15
  202. package/lib/node/task-server.slow-spec.d.ts.map +1 -1
  203. package/lib/node/task-server.slow-spec.js +33 -31
  204. package/lib/node/task-server.slow-spec.js.map +1 -1
  205. package/lib/node/task.d.ts +0 -15
  206. package/lib/node/task.d.ts.map +1 -1
  207. package/lib/node/task.js +16 -16
  208. package/lib/node/task.js.map +1 -1
  209. package/lib/node/test/task-test-container.d.ts +0 -15
  210. package/lib/node/test/task-test-container.d.ts.map +1 -1
  211. package/lib/node/test/task-test-container.js +16 -16
  212. package/lib/node/test/task-test-container.js.map +1 -1
  213. package/package.json +12 -14
  214. package/src/browser/index.ts +15 -15
  215. package/src/browser/monaco.d.ts +15 -15
  216. package/src/browser/process/process-task-contribution.ts +15 -15
  217. package/src/browser/process/process-task-frontend-module.ts +15 -15
  218. package/src/browser/process/process-task-resolver.ts +15 -15
  219. package/src/browser/provided-task-configurations.spec.ts +15 -15
  220. package/src/browser/provided-task-configurations.ts +15 -15
  221. package/src/browser/quick-open-task.ts +27 -28
  222. package/src/browser/task-configuration-manager.ts +15 -15
  223. package/src/browser/task-configuration-model.ts +15 -15
  224. package/src/browser/task-configurations.ts +15 -15
  225. package/src/browser/task-contribution.ts +15 -15
  226. package/src/browser/task-definition-registry.spec.ts +15 -15
  227. package/src/browser/task-definition-registry.ts +15 -15
  228. package/src/browser/task-frontend-contribution.ts +15 -15
  229. package/src/browser/task-frontend-module.ts +15 -15
  230. package/src/browser/task-name-resolver.ts +15 -15
  231. package/src/browser/task-node.ts +15 -15
  232. package/src/browser/task-preferences.ts +15 -15
  233. package/src/browser/task-problem-matcher-registry.ts +15 -15
  234. package/src/browser/task-problem-pattern-registry.ts +15 -15
  235. package/src/browser/task-schema-updater.ts +15 -15
  236. package/src/browser/task-service.ts +15 -15
  237. package/src/browser/task-source-resolver.ts +15 -15
  238. package/src/browser/task-templates.ts +15 -15
  239. package/src/browser/task-terminal-widget-manager.ts +15 -15
  240. package/src/browser/tasks-monaco-contribution.ts +15 -15
  241. package/src/common/index.ts +15 -15
  242. package/src/common/problem-matcher-protocol.ts +15 -15
  243. package/src/common/process/task-protocol.ts +15 -15
  244. package/src/common/task-common-module.ts +15 -15
  245. package/src/common/task-protocol.ts +15 -15
  246. package/src/common/task-watcher.ts +15 -15
  247. package/src/node/custom/custom-task-runner-backend-module.ts +15 -15
  248. package/src/node/custom/custom-task-runner-contribution.ts +15 -15
  249. package/src/node/custom/custom-task-runner.ts +15 -15
  250. package/src/node/custom/custom-task.ts +18 -18
  251. package/src/node/index.ts +15 -15
  252. package/src/node/process/process-task-runner-backend-module.ts +15 -15
  253. package/src/node/process/process-task-runner-contribution.ts +15 -15
  254. package/src/node/process/process-task-runner.ts +15 -15
  255. package/src/node/process/process-task.spec.ts +15 -15
  256. package/src/node/process/process-task.ts +18 -18
  257. package/src/node/task-abstract-line-matcher.ts +15 -15
  258. package/src/node/task-backend-application-contribution.ts +15 -15
  259. package/src/node/task-backend-module.ts +15 -15
  260. package/src/node/task-line-matchers.ts +18 -22
  261. package/src/node/task-manager.ts +15 -15
  262. package/src/node/task-problem-collector.spec.ts +15 -15
  263. package/src/node/task-problem-collector.ts +15 -15
  264. package/src/node/task-runner.ts +15 -15
  265. package/src/node/task-server.slow-spec.ts +21 -20
  266. package/src/node/task-server.ts +15 -15
  267. package/src/node/task.ts +15 -15
  268. package/src/node/test/task-test-container.ts +17 -17
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2021 ByteDance and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2021 ByteDance and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  import { injectable, inject, named } from '@theia/core/shared/inversify';
18
18
  import { ILogger, MaybePromise } from '@theia/core/lib/common/';
@@ -34,9 +34,9 @@ export type TaskFactory = (options: TaskCustomOptions) => CustomTask;
34
34
  export class CustomTask extends Task {
35
35
 
36
36
  constructor(
37
- @inject(TaskManager) protected readonly taskManager: TaskManager,
38
- @inject(ILogger) @named('task') protected readonly logger: ILogger,
39
- @inject(TaskCustomOptions) protected readonly options: TaskCustomOptions
37
+ @inject(TaskManager) taskManager: TaskManager,
38
+ @inject(ILogger) @named('task') logger: ILogger,
39
+ @inject(TaskCustomOptions) protected override readonly options: TaskCustomOptions
40
40
  ) {
41
41
  super(taskManager, logger, options);
42
42
  this.logger.info(`Created new custom task, id: ${this.id}, context: ${this.context}`);
package/src/node/index.ts CHANGED
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2018 Red Hat, Inc. and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2018 Red Hat, Inc. and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  export * from './task';
18
18
  export * from './task-runner';
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2018 Red Hat, Inc. and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2018 Red Hat, Inc. and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  import { interfaces, Container } from '@theia/core/shared/inversify';
18
18
  import { ProcessTask, TaskFactory, TaskProcessOptions } from './process-task';
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2018 Red Hat, Inc. and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2018 Red Hat, Inc. and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  import { injectable, inject } from '@theia/core/shared/inversify';
18
18
  import { ProcessTaskRunner } from './process-task-runner';
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2017-2019 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2017-2019 Ericsson and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  /*---------------------------------------------------------------------------------------------
18
18
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2019 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2019 Ericsson and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  import { expect } from 'chai';
18
18
  import { removeAnsiEscapeCodes } from './process-task';
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2017 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2017 Ericsson and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  /*---------------------------------------------------------------------------------------------
18
18
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -61,9 +61,9 @@ export class ProcessTask extends Task {
61
61
  protected command: string | undefined;
62
62
 
63
63
  constructor(
64
- @inject(TaskManager) protected readonly taskManager: TaskManager,
65
- @inject(ILogger) @named('task') protected readonly logger: ILogger,
66
- @inject(TaskProcessOptions) protected readonly options: TaskProcessOptions
64
+ @inject(TaskManager) taskManager: TaskManager,
65
+ @inject(ILogger) @named('task') logger: ILogger,
66
+ @inject(TaskProcessOptions) protected override readonly options: TaskProcessOptions
67
67
  ) {
68
68
  super(taskManager, logger, options);
69
69
 
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2019 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2019 Ericsson and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  /*---------------------------------------------------------------------------------------------
18
18
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2018 Red Hat, Inc. and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2018 Red Hat, Inc. and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  import { injectable, inject, named } from '@theia/core/shared/inversify';
18
18
  import { ContributionProvider } from '@theia/core';
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2017 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2017 Ericsson and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  import { ContainerModule } from '@theia/core/shared/inversify';
18
18
  import { bindContributionProvider } from '@theia/core';
@@ -1,27 +1,25 @@
1
- /********************************************************************************
2
- * Copyright (C) 2019 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2019 Ericsson and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  import { AbstractLineMatcher } from './task-abstract-line-matcher';
18
18
  import { ProblemMatcher, ProblemMatch, WatchingPattern } from '../common/problem-matcher-protocol';
19
19
 
20
20
  export class StartStopLineMatcher extends AbstractLineMatcher {
21
21
 
22
- constructor(
23
- protected matcher: ProblemMatcher
24
- ) {
22
+ constructor(matcher: ProblemMatcher) {
25
23
  super(matcher);
26
24
  }
27
25
 
@@ -69,9 +67,7 @@ export class WatchModeLineMatcher extends StartStopLineMatcher {
69
67
  private endsPattern: WatchingPattern;
70
68
  activeOnStart: boolean = false;
71
69
 
72
- constructor(
73
- protected matcher: ProblemMatcher
74
- ) {
70
+ constructor(matcher: ProblemMatcher) {
75
71
  super(matcher);
76
72
  this.beginsPattern = matcher.watching!.beginsPattern;
77
73
  this.endsPattern = matcher.watching!.endsPattern;
@@ -85,7 +81,7 @@ export class WatchModeLineMatcher extends StartStopLineMatcher {
85
81
  * @param line the line of text to find the problem from
86
82
  * @return the identified problem. If the problem is not found, `undefined` is returned.
87
83
  */
88
- match(line: string): ProblemMatch | undefined {
84
+ override match(line: string): ProblemMatch | undefined {
89
85
  if (this.activeOnStart) {
90
86
  this.activeOnStart = false;
91
87
  this.resetActivePatternIndex(0);
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2017 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2017 Ericsson and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
  import { inject, injectable, named } from '@theia/core/shared/inversify';
17
17
  import { Emitter, Event, ILogger } from '@theia/core/lib/common';
18
18
  import { BackendApplicationContribution } from '@theia/core/lib/node';
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2019 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2019 Ericsson and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  import { expect } from 'chai';
18
18
  import { DiagnosticSeverity } from '@theia/core/shared/vscode-languageserver-protocol';
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2019 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2019 Ericsson and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  import { AbstractLineMatcher } from './task-abstract-line-matcher';
18
18
  import { ProblemMatcher, ProblemMatch } from '../common/problem-matcher-protocol';
@@ -1,18 +1,18 @@
1
- /********************************************************************************
2
- * Copyright (C) 2018 Red Hat, Inc. and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
1
+ // *****************************************************************************
2
+ // Copyright (C) 2018 Red Hat, Inc. and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
16
 
17
17
  import { injectable, inject, postConstruct } from '@theia/core/shared/inversify';
18
18
  import { Disposable } from '@theia/core/lib/common/disposable';