aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/installation
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite auto-updateAleksey Kladov2020-03-195-514/+0
| | | | | | | | | | | | | | 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).
* Separate persistent mutable state from configAleksey Kladov2020-03-162-17/+20
| | | | | That way, we clearly see which things are not change, and we also clearly see which things are persistent.
* 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-141-3/+13
|
* vscode-postrefactor: enforcing more reentrancyVeetaha2020-03-142-4/+7
|
* vscode-postrefactor: minor config refactoringsVeetaha2020-03-141-2/+2
|
* vscode-postrefactor: add achtung commentVeetaha2020-03-141-0/+4
|
* vscode-postrefactor: remove remainders of debug loggingVeetaha2020-03-141-1/+0
|
* 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: make bailing out on custom serverPath more evidentVeetaha2020-03-141-3/+3
|
* vscode: npm run fixVeetaha2020-03-141-1/+1
|
* vscode: amend server installation logic to account for nightliesVeetaha2020-03-141-49/+48
|
* vscode: add nightly extension installation logicVeetaha2020-03-141-0/+131
|
* vscode: get release date from release infoVeetaha2020-03-142-14/+7
|
* vscode-prerefactor: merge two files into downloads.tsVeetaha2020-03-142-50/+46
|
* vscode: care about alwaysDownloadServer option before askingVeetaha2020-03-072-18/+25
| | | | | | | Also renamed BinarySource to ArtifactSource in anticipation of nightlies installation that requires downloading not a binary itself but .vsix package, thus generalized to `artifact` term
* vscode: simplify assert.eq() to assert() as per matkladVeetaha2020-02-281-4/+3
|
* vscode: add equality assertionVeetaha2020-02-281-2/+2
|
* vscode: migrate to more type-safe assert implVeetaha2020-02-282-4/+2
|
* Remove unnecessary depAleksey Kladov2020-02-261-13/+8
|
* vscode: wrap non-single-line if body with curlies as per matkladVeetaha2020-02-241-3/+5
|
* vscode: remove type assertionVeetaha2020-02-241-1/+1
|
* add error handling to fetchArtifactReleaseInfo(), throw Error when no ↵Veetaha2020-02-241-19/+37
| | | | artifact found
* CleanpAleksey Kladov2020-02-241-2/+2
|
* Quick fix circular json error when sanity-check failsVeetaha2020-02-241-2/+5
| | | Related issue: #3280
* Extract client-side loggingAleksey Kladov2020-02-224-15/+16
|
* vscode: migrate to tripple equalsVeetaha2020-02-221-1/+1
|
* enforce camel caseAleksey Kladov2020-02-211-0/+1
|
* Merge pull request #3204 from ↵Aleksey Kladov2020-02-181-1/+0
|\ | | | | | | | | Veetaha/feature/vscode-remove-updates-notification-comment vscode: remove comment about updates notification
| * vscode: remove comment about updates notificationVeetaha2020-02-171-1/+0
| |
* | Rename config value for server PathAleksey Kladov2020-02-181-1/+1
| |
* | Migrate to eslintAleksey Kladov2020-02-171-3/+3
| |
* | vscode: press ; to respect semicolonsVeetaha2020-02-171-2/+2
|/
* vscode: save binary version when downloading and download only version that ↵Veetaha2020-02-161-96/+72
| | | | matches TypeScript extension version
* vscode: extract downloadArtifact() functionVeetaha2020-02-161-0/+58
|
* vscode: add release tag option to fetchArtifactReleaseInfo()Veetaha2020-02-161-5/+11
|
* vscode: add version and storage parameters to github binary sourceVeetaha2020-02-161-0/+13
|
* vscode: renamed langServer to serverVeetaha2020-02-141-12/+12
|
* vscode: renmed ArtifactMetadata -> ArtifactReleaseInfo, languageServer -> ↵Veetaha2020-02-143-9/+9
| | | | langServer
* vscode: removed nested errors as per matkladVeetaha2020-02-131-4/+3
|
* vscode: replaced DownloadFileError with NestedError itself for simplicityVeetaha2020-02-131-6/+7
|
* vscode: switched to stream.pipeline with .on(close) workaroundVeetaha2020-02-121-19/+17
|
* vscode: added error handling to download file streamsVeetaha2020-02-112-7/+18
|
* vscode: remove chmod in favour of an option to createWriteStream()Veetaha2020-02-112-5/+8
|
* Merge #3100bors[bot]2020-02-111-3/+10
|\ | | | | | | | | | | | | | | 3100: vscode: add error handling to downloadFile() r=matklad a=Veetaha Inspired by #3094. Co-authored-by: Veetaha <[email protected]>
| * vscode: add error handling to downloadFile()Veetaha2020-02-111-3/+10
| |
* | vscode: fix ebusy error on windowsVeetaha2020-02-101-2/+1
|/