aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/net.ts
Commit message (Collapse)AuthorAgeFilesLines
* Workaround rollup messing up default importsVeetaha2020-07-081-1/+4
|
* Gzip artifactsVeetaha2020-07-071-8/+8
| | | | | | | | | | Co-authored-by: bjorn3 <[email protected]> Override miniz_oxide to build it with optimizations Building this crate with optimizations decreases the gzipping part of `cargo xtask dist` from `30-40s` down to `3s`, the overhead for `rustc` to apply optimizations is miserable on this background
* Append 10 random hex chars to temp artifact filesVeetaha2020-06-241-1/+5
|
* Don't mess with messy temp dir and just download into extension dirVeetaha2020-06-241-57/+23
| | | | | | | | Temp dirs are messy. Dealing with them requires handling quite a bunch of edge cases. As proposed by lnicola this seems better to just put the temp files in the extension dir and not care much about suddenly leaving garbage. Instead we get shorter and less platform-caveat-y code. We will also assume users don't try to issue a download in different vscode windows simultaneously
* Decouple http file stream logic from temp dir logicVeetaha2020-06-221-42/+46
|
* Hotfix skipping the first chunks of the artifactsVeetaha2020-06-221-6/+7
|
* Download artifacts into tmp dirVeetaha2020-06-201-10/+45
|
* Update workaround commentVeetaha2020-06-191-3/+2
|
* Rewrite auto-updateAleksey Kladov2020-03-191-0/+131
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).