Commit graph

70 commits

Author SHA1 Message Date
Ben Jackson
f9d20b9537 Upgrade gadgets when they change
This adds a --upgrade option to install_gadget.py and makes
VimspectorUpdate only update things which have changed.

To do this, we record the gadget spec in a manfiest file and compare it
with the current spec when in upgrade mode.

'Changed' in this case means that the gadget spec has changed from the
last time the installer was run. It does _not_ actually check the
presence of the gadget.
2020-07-24 17:12:07 +01:00
Ben Jackson
e603520860 FixUp: Flake8 2020-07-22 15:14:59 +01:00
Ben Jackson
000f7a9232 Prettify the output with some syntax and quiet option 2020-07-22 14:40:23 +01:00
Ben Jackson
23e5f6bbf4 Switch to running the actual install_gadget.py
This re-uses the OutputView code to run the installer script. Refactor
to remove connection from the base OutputView (and other places, it
wasn't used - only used after ConnectionUp).

This also consolidates the stdout and stderr buffers for running jobs.
The distinction was always arbitrary and probably an error, based on the
fact that they were separate in the APIs not based on usability.
2020-07-22 10:52:48 +01:00
Ben Jackson
f945dbcfdd Move gadget config file writing too 2020-07-22 10:48:12 +01:00
Ben Jackson
d3fd0a38f0 Refactor installer fully into installer module 2020-07-22 10:48:12 +01:00
Wayne Bowie
99518e7eba Added Windows support for C# debugging 2020-07-14 09:22:55 -05:00
Ben Jackson
a647b65983 Use an unused local port for CodeLLDB 2020-07-09 13:36:52 +01:00
Ben Jackson
402071065f Update tclpro; add a test 2020-07-08 13:19:14 +01:00
Ben Jackson
0e56146726 Add installer support for CodeLLDB 2020-07-06 11:24:54 +01:00
Ben Jackson
ec009a1332 UPdate debugpy 2020-07-04 10:33:15 +01:00
Ben Jackson
6f3884253c Windows support for cpptools 2020-06-27 17:28:05 +01:00
Ben Jackson
7f625fee9f Upgrade debugpy 2020-06-08 19:58:52 +01:00
Ben Jackson
2437aace41 Disable subprocess debugging by default in debugpy 2020-05-19 21:53:20 +01:00
Ben Jackson
90bbbe90f5 Default some cpptools args: 2020-05-17 14:07:56 +01:00
Ben Jackson
c6d6c7f876 Support "multi-session" mode properly
Document remote debugging and add a test
2020-05-17 14:07:56 +01:00
Ben Jackson
36253e58ce Optionally Update gadget config rather than repolace 2020-05-16 22:55:01 +01:00
Ben Jackson
0452329203 Update java debugger plugin 2020-05-13 17:18:57 +01:00
Ben Jackson
5837135fee Allow moving the gadget/configuration dirs to arbitrary location 2020-05-12 19:39:32 +01:00
Ben Jackson
ccf427a7c8 Update java instructions now YCM has nice API for it 2020-05-07 22:28:31 +01:00
Ben Jackson
56c0c721db Update debugpy to v1.0.0b8 2020-04-28 22:55:42 +01:00
Ben Jackson
aed4144fe5 Update bashdb checkusm 2020-04-15 16:13:19 +01:00
Ben Jackson
f0ee397f5d Update bashdb 2020-04-15 13:15:33 +01:00
Ben Jackson
a5a2966ba7 Update debugpy 2020-04-05 15:03:35 +01:00
Neil Johari
db6d9efb75
Bump version of vscode-cpptools from 0.26.3 to 0.27.0 2020-04-02 14:28:32 -04:00
Ben Jackson
d42fd51f35 Support c-style comments in JSON
Debate rages about whether JSON should have comments. The specification
says it shouldn't but the author of JSON suggested that if you want to
use JSON for configuration, then pipe it through jsmin before parsing.

So that's what we do, using a tiny JSON minifier from
https://github.com/getify/JSON.minify/tree/python

Closes #135
2020-03-21 15:16:07 +00:00
Ben Jackson
9393c1d80e Don't run under sudo 2020-03-21 14:04:48 +00:00
Ben Jackson
3366e1c784 Use the python used to run the installer to run debugpy 2020-02-16 20:15:41 +00:00
Ben Jackson
e37ef18c28 Move installation routines into proper library 2020-02-16 17:31:00 +00:00
Ben Jackson
be32a0a1a8 Add --enable-custom to load custom gadget meta 2020-02-16 17:23:49 +00:00
Ben Jackson
6b735ce4d0 Drop python 2 support in installer 2020-02-15 11:30:42 +00:00
Ben Jackson
8052484cc7 Use YCM python style 2020-02-08 21:15:27 +00:00
Ben Jackson
a56bee7b0a Switch to debugpy over vscode-python
This is just better in every way, and the vscode-python typescript
adapter is being phased out.
2020-02-08 21:15:27 +00:00
Alexander Tuzhikov
7f3d7a46e4 Address cl requests in pr-103; 2020-01-31 08:50:06 -08:00
Alexander Tuzhikov
bd794526b7 Add a --no-ssl flag that switches off certificate verification 2020-01-28 16:11:21 -08:00
Ben Jackson
ea1a56ed0d Update checksums in install_gadget.py 2020-01-27 21:36:21 +00:00
panders23
c6e192d5f5 add felixfbecker/vscode-php-debug 2020-01-27 20:22:39 +01:00
Ben Jackson
bd820b2a8b upgrade cpptools to 0.26.3
This sort-of fixes macOS issues when used with my lldb-mi.
2020-01-26 21:32:55 +00:00
Ben Jackson
287286cadb Add way to install a different java debugger, though it doens't work well 2020-01-21 22:25:11 +00:00
Ben Jackson
df759ec9dc Upgrade bashdb and add more useful defaults 2020-01-17 15:28:44 +00:00
Ben Jackson
d950352545 Install vscode java debugger somewhere 2020-01-10 09:28:01 +00:00
Ben Jackson
05d377217d Run git commands in the right repo 2020-01-09 17:19:35 +00:00
Ben Jackson
e2738de64e Update vscode-python 2019-12-30 20:33:37 +00:00
Ben Jackson
6944cb7c1f Fix tracebnack when no source in stack frame 2019-12-22 21:33:16 +00:00
Ben Jackson
94b8f0a81d Update cpptools 2019-12-15 09:16:04 +00:00
Ben Jackson
3c8edd4f0f Cache the gadgets to make CI maybe work
And stop installing experimental gadgets for now. The downloads get
rejected and it makes the vimspector bundle bigger than needed.
2019-10-26 14:28:01 +01:00
Ben Jackson
1a77b32e01 Flaky CI seems to fail to download sometimes 2019-10-23 00:25:02 +01:00
Ben Jackson
d29b0ebcfd Fix installation issues 2019-10-23 00:25:02 +01:00
Ben Jackson
28833648e6 Allow installing literally _all_ the completer 2019-10-13 18:40:56 +01:00
Ben Jackson
a04dfcb4db Update vscode-python and document the startup sequence, which is clearly broken in vscode-python 2019-10-13 18:40:31 +01:00