Commit Graph

483 Commits

Author SHA1 Message Date
Raymond Zhao
d499211732 fix: switch everyone to DEB822 (#260171)
Fixes #259302
2025-08-06 11:52:08 -07:00
Raymond Zhao
70639634f3 fix: customize postinst by architecture (#259280)
Fixes #258886
2025-08-04 17:03:54 +00:00
Robo
f5e06c148d feat: support device permissions via package identity (#257741)
* feat: support device permissions via package identity

* chore: update explorer dll checksums

* chore: cleanup appx preparation

* chore: avoid cross-device link error

* chore: remove appx installation gate

* chore: rm duplicate appx installation checks

* chore: extract package full name from Get-AppxPackage

* chore: fix remove-appxpackage command
2025-07-25 12:57:36 -07:00
Raymond Zhao
443a62813e fix: onboard Debian package onto new key (#256544) 2025-07-17 16:17:07 -07:00
Robo
6947b69d47 fix: revert remote libcxx requirement to 3.4.25 (#248976)
* fix: revert libcxx requirement to 3.4.25

* ci: temp debugging

* fix: use gcc 8.5.0 for remote

* ci: update cache

* ci: fix sysroot directory

* ci: fix objdump directory
2025-05-14 20:10:32 -07:00
Robo
12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs 71f3ff6bf2

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Raymond Zhao
02f077ed29 Tidy up postinst script (#248334) 2025-05-07 14:41:37 -07:00
bhack
76c064bd87 Add to new source format and the mandatory signed-by (#239390)
fixes #238697
2025-05-06 23:33:19 +00:00
João Moreno
a82ba894c6 Snap: Remove SUID from sandbox binary (#246307)
* debug

* remove SUID

* damn it

* remove unnecessary logs
2025-04-11 15:44:37 +02:00
Pavel Prchal
eecb98b9a2 Added localization to right-click on icon (#243679) 2025-03-17 18:11:00 +00:00
Robo
31ec1c528f build: remove legacy server support (#235232)
* build: remove legacy server support

* chore: update rpm dependencies

* chore: fix publishing

* cli: provide option for unsupported glibc sysroot

* chore: add unsupported mode to prereq check

* chore: add logging

* chore: add comment about patchelf execution order
2025-03-10 17:54:23 +01:00
Robo
79d2a4c826 fix: corrupted vsce dotnet binaries in rpm package (#238636) 2025-01-24 08:27:05 +01:00
Martin Aeschlimann
f43f3cc8f9 server.cli.ts does not await Promises (#235738) 2024-12-10 17:26:34 +01:00
Sandeep Somavarapu
653fd419de #232043 revert cli command and support downloading VSIX in UI (#233843)
* Revert "fix #232043 (#233596)"

This reverts commit e9d6c6afc0.

* #232043 revert cli command and support downloading VSIX in UI
2024-11-14 15:41:28 +01:00
Sandeep Somavarapu
e9d6c6afc0 fix #232043 (#233596)
* fix #232043

* fix compilation error

* fix compilation

* fix compilation

* fix compilation

* fix compilation

* fix compilation
2024-11-12 14:09:05 +01:00
Raymond Zhao
49bf27ee9a fix: interactive postinst script breaks install for non-interactive environments (#227837) 2024-10-31 07:50:41 -07:00
Robo
b62b4161a0 fix: font config detection for snap (#232713) 2024-10-31 19:27:30 +09:00
Robo
4e7b53c5a0 chore: disable mime db creation in snap (#232129) 2024-10-24 03:39:28 -07:00
Robo
2d28c0a79c fix: use the mime package from snap to generate db (#231119) 2024-10-11 16:56:43 +02:00
henricryden
04846aa8da additional search path for libc.so.6 in check-requirements-linux.sh (#227713)
extra path for libc.so.6 in check-requirements-linux.sh
2024-09-10 12:50:30 +00:00
Robo
adac839773 ci: use sysroots for stripping binaries in rpmbuild (#227397) 2024-09-03 06:01:02 +02:00
Raymond Zhao
28ba9f5e58 fix: add postinst template conditions (#225097) 2024-08-07 17:00:39 -07:00
Matthias B.
cd340e6aa4 Fix: only add apt sources for users that want them (#22145) (#221285)
Signed-off-by: Matthias Breithaupt <m.breithaupt@vogl-electronic.com>
2024-08-06 14:54:05 -07:00
Robo
cab98a1ca8 fix: bump minimum glibcxx version for armhf remote server (#221259) 2024-07-10 08:04:46 +09:00
Robo
4b19907cc8 fix[x11]: crash in gpu process with software compositor (#216661)
* fix[x11]: crash in gpu process with software compositor

* chore: bump distro
2024-06-20 07:02:04 +02:00
Robo
3b80131054 chore: add missing gl libraries for snap (#215493)
* chore: add missing gl libraries for angle

* chore: add wayland egl library
2024-06-14 01:36:01 +02:00
Robo
6facfe23b3 fix: snap packaging for argument parsing (#214560) 2024-06-07 09:45:12 +02:00
Robo
6e6d38007e fix: force software gl backend for snap (#214548)
Refs https://github.com/microsoft/vscode/issues/212494

When using the default ANGLE gl/gles backend, v1.90 attempts
to get display refresh rate for vsync from an internal implementation
instead of using the gl extension EGL_CHROMIUM_sync_control,
this eventually ends up loading display info from XRandr and chromium
attempts to set a label for the data from the shipped resource pak
file that is not accessible to the gpu process triggering a SIGTRAP
in ui::ResourceBundle::GetSharedInstance.
2024-06-07 06:16:32 +02:00
Robo
56db61ec8a chore: update remote node.js (#213439)
* chore: update remote node.js to v20.11.1

* chore: remove io_uring workaround

* chore: update checksums

* temp: update distro

* ci: rebuild cache

* chore: bump distro
2024-05-26 07:12:14 +02:00
Robo
28ebd9176f chore: bump electron@29.4.0 (#213050)
* chore: bump electron@29.4.0

* chore: remove io_uring workaround

* chore: bump distro

* chore: update dialog result for canceled save dialogs

Refs fe01ed750a

* chore: add back io_uring workaround for remote oss tests

* chore: update nodejs v20.9.0 build

* chore: add back io_uring workaround for remote tests
2024-05-20 08:31:44 -07:00
Martin Aeschlimann
243494c178 set UV_USE_IO_URING in code server for linux (#212791) 2024-05-15 11:38:47 +02:00
Martin Aeschlimann
0d57e42f23 Incorrect URL percent decoding (%3 is stripped) when browser is opened remotely (#211930) 2024-05-03 14:43:38 +02:00
Tony Ivanov
f1c007109d Fixed #114425 prevent mime pollution on install (#209510)
This software is not a plain text editor, and it's definitely not a file manager.
Advertising compatibility with such overrides default OS handlers on many distributions, unnecessarily.
2024-04-17 20:42:51 +00:00
Benjamin Pasero
979145f8b1 web - set standalone as fallback still (#209854) 2024-04-08 17:48:52 +02:00
Raymond Zhao
0da22a2260 fix: deprecate unity-launch flag (#209471) 2024-04-04 15:18:19 -07:00
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
Connor Peet
d8880a78e9 cli: propagate exit code from cli.js (#207343)
Fixes #204067
2024-03-11 17:55:28 +01:00
Robo
cfb7370855 fix: inheriting NODE_OPTIONS on macOS with integrated terminal (#204682) 2024-02-09 03:02:19 +09:00
Yifei Yang
a12d9f44fc Fix: GLIBCXX version detection bug in check-requirements-linux.sh (issue #204186) (#204635)
* Fix: Fixed glibc version detection bug in check-requirements-linux.sh

- Existing detection scripts simply use the `awk` command to record the version number in the `libstdc++.so` filename,
- but in some specific versions of glibc++, the detailed version number is not indicated in the filename, 
- so we need to use a script to read the current version of GLIBCXX in the environment to see if it meets the expectations.

Co-authored-by:  chengy-sysu <939416532@qq.com>

* Update check-requirements-linux.sh

fix Indent

* fix: Using grep and sed to replace strings command

Since some Linux distributions do not come with GNU binutils pre-installed, 
the `strings` command does not fit on all platforms, 
so we use `grep` and `sed` instead of `strings`.

Co-authored-by: chengy-sysu <939416532@qq.com>

* fix: boundary case of check-requirements-linux.sh

Co-authored-by: chengy-sysu <939416532@qq.com>

* fix: Using grep and sed to replace strings command 

Since some Linux distributions do not come with GNU binutils pre-installed, 
the `strings` command does not fit on all platforms, 
so we use `grep` and `sed` instead of `strings`.

Co-authored-by: chengy-sysu <939416532@qq.com>

* fix: skip glibcxx check on alpine

---------

Co-authored-by: chengy-sysu <939416532@qq.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2024-02-08 20:43:01 +09:00
Dennis
f6a5654dbf Pass the check if any one of the library (of the arch) satisfies the requirement. (#204221)
* Update check-requirements-linux.sh

Pass the check if one of the library (of the arch) satisfies the requirement.

* Update resources/server/bin/helpers/check-requirements-linux.sh

Co-authored-by: Robo <hop2deep@gmail.com>

* Update resources/server/bin/helpers/check-requirements-linux.sh

Co-authored-by: Robo <hop2deep@gmail.com>

* Update resources/server/bin/helpers/check-requirements-linux.sh

Co-authored-by: Robo <hop2deep@gmail.com>

* Update resources/server/bin/helpers/check-requirements-linux.sh

Co-authored-by: Robo <hop2deep@gmail.com>

* Update resources/server/bin/helpers/check-requirements-linux.sh

Co-authored-by: Robo <hop2deep@gmail.com>

* Update resources/server/bin/helpers/check-requirements-linux.sh

Co-authored-by: Robo <hop2deep@gmail.com>

---------

Co-authored-by: Robo <hop2deep@gmail.com>
2024-02-08 00:11:14 +00:00
Robo
fdbf304519 fix: requirements detection for alpine (#204660) 2024-02-07 15:19:53 -08: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
Mahmood Ali
929edab639 vscode server: cope with multiple libc/libc++ installations (#204032)
cope with multiple libc/libc++ installations
2024-02-02 13:57:59 +00:00
Francois Marier
3d15752604 Use HTTPS for the apt repository (#203833) 2024-01-31 10:46:26 -08:00
Robo
e2ce367fc8 fix: update server requirements check for alpine distro (#203790) 2024-01-30 14:22:03 +01:00
Robo
74ef67b4ab fix: update rpm release tag to el8 (#203770) 2024-01-30 07:09:47 +01:00
Robo
fc9dcad098 fix: skip server requirements check based on file presence (#203729) 2024-01-29 19:55:17 +01:00
Robo
8baf105cbd fix: skip glibc requirements check on nixos (#202982) 2024-01-22 09:51:44 +01:00