69 Commits

Author SHA1 Message Date
Robo
9cdd289db0
chore: update node checksums (#186181)
* chore: update node checksums

* chore: bump distro
2023-06-26 18:20:59 +02:00
Benjamin Pasero
518a183762
eng - add build version of node.js to .yarnrc (#185302)
* eng - add build version of node.js to `.yarnrc`

* 🆙 distro
2023-06-16 09:10:24 +02:00
Benjamin Pasero
8afb685c9b
eng - add checksum validation support to nodejs and extensions (#184877)
* eng - add `checksum` validation support to `remote`

* eng - wire in more `checksum` support

* eng - renames for remote fetching

* eng - renames for remote fetching

* eng - disable verbose

* eng - always fetch verbose in CI

* eng - 💄

* eng - add checksums for node

* eng - report checksum matches

* eng - fix build

* eng - warn when not being able to check sum

* eng - support checksums for built in extensions

* eng - clear todo

* eng - add nodejs metadata to product.json

* 🆙 version

* 🆙 distro

* update distro

* eng - switch to checksum file

* cleanup alpine

* fix alpine

* fix bug

* eng - fetch all from remote

* eng - 💄

* eng - print checksums

* eng - fix missing import

* 🆙 distro

* undo version change
2023-06-14 16:57:06 +02:00
Benjamin Pasero
4b939d0a0e
unc - fix path traversal bypass (#185048) 2023-06-13 19:56:46 +02:00
Raymond Zhao
06ae4b61c2
Bump windows-mutex to 0.4.4 (#184366)
Also adds OS-specific .moduleignore files
2023-06-09 09:40:10 -07:00
Martin Aeschlimann
3f5def1cdc
Add logging to node download (#184070)
Add logging to node download. For #182951
2023-06-01 16:42:36 +02:00
Martin Aeschlimann
c2a9a86afa
Delete --compatibility=1.63 code from the server (#183738) 2023-05-29 15:24:14 -07:00
Daniel Imms
9d1a210778
Support fish SI automatic injection
Fixes #139400
2023-05-19 15:45:28 -07:00
Benjamin Pasero
cc1555625d
debt - stop referring to patched node (#181933) 2023-05-09 20:55:05 +02:00
Sandeep Somavarapu
d4632bb740
unc - adopt setting and handling of allow list (#181916)
* unc - adopt setting and handling of allow list (#5)

* unc - adopt setting and handling of allow list

* unc - set allow list on server too

* unc - pick our patched node.js for now

* bump electron

* unc - ignore sync is not needed with machine scope

* unc - use process set directly

* 🆙 22.5.1

* fix compile

---------

Co-authored-by: Benjamin Pasero <Benjamin.Pasero@microsoft.com>
2023-05-09 19:52:08 +02:00
Martin Aeschlimann
899cdd5ace
remove request dependency (#179149)
* remove request dependency

* replace gulp-remote-retry-src in build scripts

* fix retry delay & polish
2023-04-05 16:05:16 +02:00
Benjamin Pasero
34d69db22c
server - introduce support for nodejsRepository (#179105)
* server - introduce support for `nodejsRepository`

* fix path

* add auth

* proper download

* extract to utility function

* reuse

* fix compile
2023-04-05 14:36:25 +02:00
Johannes Rieken
7e69465303
don't use underscore for native JS things (#173282) 2023-02-03 03:47:51 -08:00
Johannes
0dac468cc0
mark package.json as external module 2022-11-21 11:26:17 +01:00
Connor Peet
18f743d534
address pr comments 2022-10-05 12:56:07 -07:00
Benjamin Pasero
9db57e76e9
Build: bundle / concat entry points (#161161)
* perf - concatenate windows main files

* Revert "Revert "Use `esbuild` to bundle some CommonJS main files (#160957)" (#161118)"

This reverts commit 84c46b71a5d292a0a9c6cae60e850088270db37d.

* build - exclude server main files

* build - make concat a task that runs like the others

* some renames

* Avoid overwriting the nodejs closure require

* Revert "build - exclude server main files"

This reverts commit 736516624ea73fd13a4e2ac5359e5b54ec851553.

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-09-21 00:38:44 -07:00
Benjamin Pasero
84c46b71a5
Revert "Use esbuild to bundle some CommonJS main files (#160957)" (#161118)
This reverts commit 2179e52fb9a29ff8b666d3e09182d947b9c199e6.
2022-09-16 09:31:44 -07:00
Benjamin Pasero
2179e52fb9
Use esbuild to bundle some CommonJS main files (#160957)
* ensure node.js `require` is captured

* optimize `main.js` and `cli.js`

* cleanup

* leave out bundled files

* drop package.json from userdata paths

* fix web task

* fix editor distro

* inline version into `product.json`

* also bundle server

* t

* actually do server too

* Keep bundling nls in editor worker

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-09-16 05:24:23 -07:00
Daniel Imms
327773c45b
Include .fish script in packaged build 2022-08-09 14:24:31 -07:00
Z. Grace Moreau
2a8196035e followup to renaming fish script
Should have been part of 90a258a.
2022-08-09 10:59:21 -06:00
Z. Grace Moreau
7432973ad7 add shell integration script for fish 2022-08-05 10:07:10 -06:00
Johannes
0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Megan Rogge
daca8e3191
support setting custom $ZDOTDIR in ~/.zshenv when shell integration is enabled (#148635) 2022-05-04 09:31:54 -07:00
Megan Rogge
ec3f8b9b0e
include other zsh scripts in server resources (#148367)
Co-authored-by: Connor Peet <connor@peet.io>
2022-04-28 14:01:57 -07:00
Martin Aeschlimann
465cac2c42
Use reallink for all server cli scripts 2022-03-24 15:56:16 +01:00
Alex Dima
bd9d4d5b51
Add support for arm64 for server builds 2022-03-14 16:22:54 +01:00
Alex Dima
6289768fc2
Force using x64 when running yarn on the remote folder on macOS 2022-02-28 18:12:04 +01:00
Daniel Imms
2687b53d77
Get zsh shell integration working again (#143963)
ZDOTDIR/.zshrc is now created manually on the pty host

Fixes #143629
2022-02-25 11:19:19 -06:00
Megan Rogge
7181933eab
get shell integration to work for zsh (#143305) 2022-02-17 19:30:05 -06:00
Daniel Imms
a0c2d35244 Add shell integration scripts to server package 2022-02-14 14:07:37 -08:00
Alex Dima
ed54b04b4f
Simplify uri transformer creation 2022-02-04 16:22:18 +01:00
Alex Dima
1b429e7432
Strip webEndpointUrlTemplate from reh-web builds 2022-02-03 19:28:09 +01:00
Martin Aeschlimann
884273e35b
code server scripts: use realpath 2022-02-01 17:38:37 +01:00
Alex Dima
87140b9f95
Move extensionHostProcess.ts to /workbench/api/ (#141003) 2022-01-31 15:58:39 +01:00
Alex Dima
139d8c795a
Remove server.sh (no need for backwards compat in reh-web) 2022-01-24 14:38:24 +01:00
Alex Dima
a212ebbbb5
Remove vs/workbench/workbech.web.api (no need for backwards compat in reh-web) 2022-01-24 14:33:37 +01:00
Alex Dima
ef8700e85e
Reuse extensionHostProcess entry point in the server case 2022-01-24 14:23:43 +01:00
Alex Dima
9908a5dd4e
Rename remoteCli to server.cli 2022-01-24 14:16:07 +01:00
Alex Dima
f52f4b2ee3
Rename remoteExtensionHostAgent to server.main 2022-01-24 14:13:41 +01:00
Benjamin Pasero
0f89762b4b
Rename workbench.web.api.* to workbench.web.main.* (#141263)
* web - rename entry file

* web - rename entry file also for server

* rename main entry in copy
2022-01-24 12:45:49 +01:00
Alex Dima
3269deea2b
Move server code to vs/server/node 2022-01-20 17:18:10 +01:00
Alex Dima
3b5afe84e8
Fixes #140997: Move server entry points to src/ 2022-01-20 09:31:00 +01:00
Benjamin Pasero
b03fe7a97c
watcher - implement and adopt universal file watcher 2022-01-14 08:03:15 +01:00
Martin Aeschlimann
0735c7537a
server distro: cleaner package.json 2022-01-11 21:25:31 +01:00
Martin Aeschlimann
f4ba7dd12b
server bin cleanup 2022-01-11 16:34:28 +01:00
Alex Dima
4a175da2a6
Add comment 2021-12-16 13:46:10 +01:00
Benjamin Pasero
16d0a319b2
watcher - remove vscode-nsfw legacy watcher 2021-12-06 10:50:15 +01:00
Jean Pierre
556ce85c82
Fixes #137568 (#137570) 2021-11-24 04:42:44 -08:00
Benjamin Pasero
eb160fb65d
watcher - enable parcel watcher by default 2021-10-28 09:59:03 +02:00
Alex Dima
eebf6387d5
Remove mixin-server task 2021-10-27 16:47:49 +02:00