aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
Commit message (Collapse)AuthorAgeFilesLines
* Style fixesKirill Bulatov2020-03-303-5/+7
|
* Send the config from the clientKirill Bulatov2020-03-302-24/+28
|
* Process configuration response draftKirill Bulatov2020-03-301-3/+3
|
* Client side draftKirill Bulatov2020-03-301-0/+6
|
* vscode: fix release tag retrievalVeetaha2020-03-271-1/+1
| | | Co-Authored-By: LaurenČ›iu Nicola <[email protected]>
* vscode: show release tag with along with the commit hash for RA version commandveetaha2020-03-261-2/+7
|
* Merge #3725bors[bot]2020-03-262-23/+21
|\ | | | | | | | | | | | | | | 3725: vscode: fix local devel and remove disposables memory leak on server restrart r=matklad a=Veetaha Co-authored-by: veetaha <[email protected]>
| * vscode: small post-refactorveetaha2020-03-261-3/+1
| |
| * vscode: fix memory leak on server restartveetaha2020-03-261-15/+13
| | | | | | | | The memory leak was because on the server restrart the array of extensionContext.substiptions was not cleared
| * vscode: fix local develveetaha2020-03-262-5/+7
| | | | | | | | The value of releaseTag is not undefined, but null in actual package.json
* | Merge #3726bors[bot]2020-03-261-20/+11
|\ \ | |/ |/| | | | | | | | | | | 3726: vscode: refactor analyzer status r=matklad a=Veetaha Co-authored-by: veetaha <[email protected]>
| * vscode: refactor analyzer statusveetaha2020-03-251-20/+11
| |
* | Use the right arch name for x86 (32 bit)Aleksey Kladov2020-03-251-1/+1
| |
* | Extension types and renderingMatt Hooper2020-03-244-4/+34
| |
* | Merge #3695bors[bot]2020-03-241-61/+45
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 3695: vscode: simplify and refactor config r=matklad a=Veetaha Removed unnecessary interfaces, changed `cfg` to be a getter to ensure the fresh values any time possible. Migrated from explicit casts to implicit. Co-authored-by: veetaha <[email protected]>
| * | vscode: simplify and refactor configveetaha2020-03-231-61/+45
| |/
* / Don't try to enable proposed API's on stableAleksey Kladov2020-03-243-21/+17
|/
* vscode: remove unnecessary codeVeetaha2020-03-201-2/+0
| | | This cancel is unnecessary since we cancel the previous inlay hints requests in `fetchHints()` method itself. This is not a hard error, we just called cancel() 2 times.
* Make from-source install use cargo installed binary by defaultAleksey Kladov2020-03-202-2/+4
|
* Simplify extension tag sniffingAleksey Kladov2020-03-192-15/+9
|
* Rewrite auto-updateAleksey Kladov2020-03-1911-690/+263
| | | | | | | | | | | | | | Everything now happens in main.ts, in the bootstrap family of functions. The current flow is: * check everything only on extension installation. * if the user is on nightly channel, try to download the nightly extension and reload. * when we install nightly extension, we persist its release id, so that we can check if the current release is different. * if server binary was not downloaded by the current version of the extension, redownload it (we persist the version of ext that downloaded the server).
* Remove outDirOverridesEmil Lauridsen2020-03-171-2/+0
|
* Remove unused config from VSCode extEmil Lauridsen2020-03-171-1/+0
|
* Change existing OUT_DIR override config to make use of new infrastructureEmil Lauridsen2020-03-171-1/+2
|
* Support loading OUT_DIR from cargo check at launchEmil Lauridsen2020-03-171-0/+3
|
* Separate persistent mutable state from configAleksey Kladov2020-03-167-65/+80
| | | | | That way, we clearly see which things are not change, and we also clearly see which things are persistent.
* Merge #3534bors[bot]2020-03-1610-144/+419
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3534: Feature: vscode impl nightlies download and installation r=Veetaha a=Veetaha I need to test things more, but the core shape of the code is quite well-formed. The main problem is that we save the release date only for nightlies and there are no means to get the release date of the stable extension (i.e. for this we would need to consult the github releases via a network request, or we would need to somehow save this info into package.json or any other file accessible from the extension code during the deployment step, but this will be very hard I guess). So there is an invariant that the users can install nightly only from our extension and they can't do it manually, because when installing the nightly `.vsix` we actually save its release date to `globalState` Closes: #3402 TODO: - [x] More manual tests and documentation cc @matklad @lnicola Co-authored-by: Veetaha <[email protected]> Co-authored-by: Veetaha <[email protected]>
| * vscode-postrefactor: migrate to arrow functionsVeetaha2020-03-161-2/+2
| |
| * vscode-postrefactor: fix syntax errorVeetaha2020-03-161-1/+1
| |
| * vscode-postrefactor: prefer arrow functionsVeetaha2020-03-161-1/+1
| |
| * vscode-postrefactor: more logging and better error handlingVeetaha2020-03-142-22/+30
| |
| * vscode-postrefactor: enforcing more reentrancyVeetaha2020-03-142-4/+7
| |
| * vscode-postrefactor: minor config refactoringsVeetaha2020-03-142-4/+5
| |
| * vscode-postrefactor: unhandled promise rejections shall not pass 2Veetaha2020-03-141-1/+1
| |
| * vscode-postrefactor: add achtung commentVeetaha2020-03-141-0/+4
| |
| * vscode-postrefactor: remove remainders of debug loggingVeetaha2020-03-141-1/+0
| |
| * vscode-postrefactor: unhandled promise rejections shall not passVeetaha2020-03-141-1/+1
| |
| * vscode-postrefactor: compare dates by value, not by referenceVeetaha2020-03-141-2/+2
| |
| * vscode-postrefactor: eliminate my-mistake floating promise @matkladVeetaha2020-03-141-1/+1
| |
| * vscode-postrefactor: global storagesVeetaha2020-03-141-20/+19
| |
| * vscode: put comma backVeetaha2020-03-141-1/+1
| |
| * vscode: make bailing out on custom serverPath more evidentVeetaha2020-03-142-10/+8
| |
| * vscode: npm run fixVeetaha2020-03-142-4/+4
| |
| * vscode: amend server installation logic to account for nightliesVeetaha2020-03-143-52/+57
| |
| * vscode: add nightly extension installation logicVeetaha2020-03-141-0/+131
| |
| * vscode: prepare config for nightliesVeetaha2020-03-141-15/+96
| |
| * vscode: get release date from release infoVeetaha2020-03-142-14/+7
| |
| * vscode-prerefactor: add some utility functionsVeetaha2020-03-141-6/+63
| |
| * vscode-prerefactor: merge two files into downloads.tsVeetaha2020-03-142-50/+46
| |
* | Merge #3540bors[bot]2020-03-162-8/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | 3540: Swtches to rust SSR query check r=matklad a=mikhail-m1 related to #3186 Co-authored-by: Mikhail Modin <[email protected]>