Commit graph

76 commits

Author SHA1 Message Date
Martin Aeschlimann 57b0c146d0
Use serverDataFolderName in check-requirements-linux.sh (#208074)
* Use serverDataFolderName in check-requirements-linux.sh

* remove the (new) file check
2024-03-23 10:10:17 +09:00
Robo 5e0394c8d1
fix: don't package detection script in legacy server (#208274)
* fix: don't package detection script in legacy server

* chore: address review feedback

* chore: rename download asset name
2024-03-21 14:11:57 +01:00
Robo c45557f69b
chore: update server detection script for legacy server (#208000)
* chore: update server detection script for legacy server

* chore: address review feedback
2024-03-18 16:09:27 +01:00
Robo cf7ddbb51d
fix: use legacy server as default with additional warnings (#204377)
* ci: switch to glibc 2.17 remote server

* chore: signal user about unsupported connection

* chore: address review comments

* chore: update nodejs build

* chore: bump distro

* chore: lower the minimum requirements

* fix: glibc version check

* chore: remove explicit connection disposal
2024-02-06 11:25:58 +01:00
Robo 1339f075b1
fix: add linux library dependency check for remote server (#202210)
* fix: add linux library dependency check for remote server

* chore: add faq link

* chore: move to separate file for reuse

* chore: add option to skip check

* fix: check

* fix: package path

* fix: don't forget to exit main script
2024-01-15 17:43:42 +09:00
João Moreno 9905225b1a
Remove win32-ia32 target (#195559)
* remove win32-ia32

* update distro
2023-10-16 13:28:09 +02:00
Benjamin Pasero 652e2d069c
voice - update build script includes 2023-08-09 20:28:46 +02:00
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 84c46b71a5.

* 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 736516624e.

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 2179e52fb9.
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