Shati Patel
4c7c1cb0e6
v1.8.1 ( #2216 )
2023-03-23 11:00:29 +00:00
Robert
a3c4c8fb61
Merge pull request #2212 from github/robertbrignull/app_executeCommand
...
Replace app.executeCommand with app.commands.execute
2023-03-23 10:28:36 +00:00
Koen Vlaswinkel
73b0a0565f
Merge pull request #2214 from github/koesie10/remove-command-runner-with-progress
...
Remove `commandRunnerWithProgress`
2023-03-23 11:26:20 +01:00
Robert
8fbde9fba1
Limit setContext keys
2023-03-23 10:12:20 +00:00
Koen Vlaswinkel
aca0489fdc
Remove `commandRunnerWithProgress`
...
The `commandRunnerWithProgress` is unused because all commands have been
converted to using `commandRunner` in combination with `withProgress`.
2023-03-23 11:09:32 +01:00
Koen Vlaswinkel
dae472ca05
Merge pull request #2213 from github/koesie10/check-for-updates-typed-command
...
Add `codeQL.checkForUpdatesToCLI` type for command
2023-03-23 10:49:18 +01:00
Koen Vlaswinkel
20f85f2b81
Merge pull request #2210 from github/koesie10/base-typed-commands
...
Convert some base commands to typed commands
2023-03-23 10:03:53 +01:00
Koen Vlaswinkel
81cce9fa8b
Add `codeQL.checkForUpdatesToCLI` type for command
...
The `codeQL.checkForUpdatesToCLI` command is registered pre-activation,
and we don't really want to create the command manager before
activation, so this will just add the correct type without registering
it using the command manager.
2023-03-23 09:58:27 +01:00
Koen Vlaswinkel
a27ca2e177
Merge remote-tracking branch 'origin/main' into koesie10/base-typed-commands
2023-03-23 09:51:24 +01:00
Robert
3e9c2c85d3
Remove app.executeCommand
2023-03-22 17:13:12 +00:00
Robert
297fa2ebd3
Merge pull request #2207 from github/robertbrignull/extension_commands
...
Start using app.commands.execute for all commands called from extension.ts
2023-03-22 16:59:53 +00:00
Shati Patel
844e58a1b1
Tidy up recent changelog entries ( #2211 )
2023-03-22 16:54:17 +00:00
Robert
9948b93b76
Merge branch 'main' into robertbrignull/extension_commands
2023-03-22 16:35:56 +00:00
Koen Vlaswinkel
e1d5a4ddaa
Merge remote-tracking branch 'origin/main' into koesie10/base-typed-commands
2023-03-22 17:22:26 +01:00
Koen Vlaswinkel
7059f46141
Merge pull request #2209 from github/koesie10/query-editor-typed-commands
...
Convert query editing commands to typed commands
2023-03-22 17:21:31 +01:00
Koen Vlaswinkel
fe6ff6801a
Convert some base commands to typed commands
2023-03-22 17:02:16 +01:00
Koen Vlaswinkel
be3459c1aa
Convert query editing commands to typed commands
2023-03-22 16:52:59 +01:00
Koen Vlaswinkel
5ac5de8a5b
Move query editing commands to separate file
2023-03-22 16:50:44 +01:00
Koen Vlaswinkel
322c1a8835
Merge pull request #2206 from github/koesie10/test-ui-typed-commands
...
Convert test UI commands to typed commands
2023-03-22 16:42:18 +01:00
Robert
5d6a2e6d7f
rename types
2023-03-22 15:37:39 +00:00
Robert
0e79b92829
Merge branch 'main' into robertbrignull/extension_commands
2023-03-22 15:36:31 +00:00
Koen Vlaswinkel
59378daff3
Merge remote-tracking branch 'origin/main' into koesie10/test-ui-typed-commands
2023-03-22 16:29:36 +01:00
Koen Vlaswinkel
125af1139b
Merge pull request #2208 from github/koesie10/mock-server-typed-commands
...
Convert mock API server commands to typed commands
2023-03-22 16:28:28 +01:00
Robert
6afdf6357b
Merge pull request #2202 from github/robertbrignull/extract_progress
...
Move withProgress and associated code to a separate file
2023-03-22 15:19:50 +00:00
Koen Vlaswinkel
fd7013f754
Convert mock API server commands to typed commands
2023-03-22 16:04:49 +01:00
Robert
408c042b3b
Fix remaining imports
2023-03-22 14:49:04 +00:00
Koen Vlaswinkel
b2fceb9b2d
Merge pull request #2205 from github/koesie10/results-view-typed-commands
...
Convert results view commands to typed commands
2023-03-22 15:46:08 +01:00
Robert
819e596b9b
Merge branch 'main' into robertbrignull/extract_progress
2023-03-22 14:31:55 +00:00
Robert
31af28e73b
Add link to docs
2023-03-22 14:28:10 +00:00
Koen Vlaswinkel
c6d8a09f19
Add support for `Partial` in the command manager
...
The command manager types didn't fully support commands defined with
`Partial` because it deduced that the command function was `undefined`
when the function was not defined. However, if the command is not
present, the command registration will not be called. This fixes the
types by specifying that the command definition will never be
`undefined`.
2023-03-22 15:27:18 +01:00
Robert
39d4675b44
Start using app.commands.execute for all commands called from extension.ts
2023-03-22 14:16:55 +00:00
Koen Vlaswinkel
e74a2e4a15
Remove `UIService`
...
This class seems to have been introduced at some point to reduce the
dependency on VS Code from the test UI service. However, none of its
methods are being used anymore, and by using typed commands we have
already reduced the dependency on VS Code. Therefore, we can simply
remove this class.
2023-03-22 15:14:22 +01:00
Koen Vlaswinkel
9f85f56055
Convert test UI commands to typed commands
2023-03-22 15:13:05 +01:00
Koen Vlaswinkel
ac57f5005d
Convert results view commands to typed commands
2023-03-22 15:06:15 +01:00
Koen Vlaswinkel
88a9ecbeab
Merge pull request #2204 from github/koesie10/summary-language-support-typed-commands
...
Convert summary language commands to typed commands
2023-03-22 14:52:45 +01:00
Koen Vlaswinkel
9f7c7b2ed8
Merge pull request #2203 from github/koesie10/ast-viewer-typed-commands
...
Convert AST viewer commands to typed commands
2023-03-22 14:44:04 +01:00
Koen Vlaswinkel
1f8070c8b5
Convert summary language commands to typed commands
2023-03-22 14:26:06 +01:00
Koen Vlaswinkel
bc29231fec
Convert AST viewer commands to typed commands
2023-03-22 14:11:43 +01:00
Koen Vlaswinkel
e724577d82
Merge pull request #2196 from github/koesie10/ast-cfg-typed-commands
...
Convert AST and CFG commands to typed commands
2023-03-22 13:32:34 +01:00
Robert
b914b97be7
Pull progress to separate file
2023-03-22 12:07:16 +00:00
Koen Vlaswinkel
9d4b19f91f
Merge remote-tracking branch 'origin/main' into koesie10/ast-cfg-typed-commands
2023-03-22 13:03:21 +01:00
Koen Vlaswinkel
8a66bb4017
Merge pull request #2198 from github/koesie10/packaging-typed-commands
...
Convert packaging to typed commands
2023-03-22 13:02:21 +01:00
Robert
e55fb8c7a7
Merge pull request #2191 from github/robertbrignull/variant_analysis_commands
...
Convert all variant analysis commands to typed commands
2023-03-22 11:56:31 +00:00
Robert
a6fefdbabb
Merge branch 'main' into robertbrignull/variant_analysis_commands
2023-03-22 11:44:25 +00:00
Robert
2334e4e7b2
Merge pull request #2192 from github/robertbrignull/export_selected_results_command
...
Move codeQL.exportSelectedVariantAnalysisResults to query history manager
2023-03-22 11:41:13 +00:00
Koen Vlaswinkel
5c06bcc6bd
Merge remote-tracking branch 'origin/main' into koesie10/packaging-typed-commands
2023-03-22 12:39:36 +01:00
Koen Vlaswinkel
3240809d11
Merge pull request #2200 from github/koesie10/restart-typed-command
...
Convert codeQL.restartQueryServer to a typed command
2023-03-22 12:37:20 +01:00
Koen Vlaswinkel
3e66e7aaf3
Merge remote-tracking branch 'origin/main' into koesie10/restart-typed-command
2023-03-22 12:10:54 +01:00
Koen Vlaswinkel
71831fe460
Merge pull request #2201 from github/koesie10/eval-log-viewer-typed-command
...
Convert codeQLEvalLogViewer.clear to a typed command
2023-03-22 12:07:34 +01:00
Robert
0983733a67
fix typo
2023-03-22 10:51:03 +00:00