Commit graph

457 commits

Author SHA1 Message Date
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
Sixia "Leask" Huang 216a8e66d3
fix: tweak check-requirements for calling ldconfig (#202645)
* tweak check-requirements for calling ldconfig

* apply patch
2024-01-19 05:05:56 +09:00
Robo fe7233fdfb
fix: avoid using libc as an executable test (#202680) 2024-01-17 20:26:54 +01:00
Robo 7fd2edcf46
fix: ensure requirements check works for libc development versions (#202660) 2024-01-17 12:18:31 +01:00
Kim Reenberg aed5f4d65d
fix: fallback to strings for non-executable libc.so.6 (#202581)
* fix: fallback to strings for non-executable libc.so.6

* chore: use cat over strings

---------

Co-authored-by: khreenberg <unknown>
Co-authored-by: Robo <hop2deep@gmail.com>
2024-01-17 06:29:01 +00: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
Robo fb76955440
chore: update electron@27.2.1 (#202053)
* chore: bump electron@27.2.1

* chore: enable code cache support for custom standard schemes

Refs 267cbc841e

* chore: remove --ms-enable-electron-run-as-node

Removed in favor of f842ead6bc

* chore: update distro
2024-01-09 08:33:34 +01:00
samhanic 70dda3c792 Merge branch 'main' into cli-extension-update 2024-01-07 21:24:26 +01:00
Connor Peet 9bbc169b62
cli: a running code tunnel/serve-web subcommands as root (#200207)
Fixes #193932
2023-12-07 03:32:36 +01:00
samhanic c210448601 CLI update extension review fixes 2023-12-06 13:54:02 +01:00
samhanic 74c419b5bd add cli update-extensions prototype 2023-12-03 14:25:40 +01:00
Raymond Zhao 00a6c60eeb
feat: add translations for renamed desktop action (#199241) 2023-11-28 00:34:36 +01:00
Jack Nolddor 3e7b108f16
fix: missing translation for new-empty-windows desktop action (#199129) 2023-11-27 22:08:13 +00:00
Raymond Zhao 4aaab19f69
Add update-desktop-database calls (#194645)
* Add update-desktop-database calls

* Fix symbol
2023-10-05 17:52:25 +09:00
João Moreno a19614e8e2
fix build (#186470) 2023-06-28 09:29:16 +02:00
Robo 42457bdb9f
fix: snap env variables leaking into terminal env (#185834)
* fix: snap env variables leaking into terminal env

* chore: add spec
2023-06-22 21:52:08 +09:00
Martin Aeschlimann c2a9a86afa
Delete --compatibility=1.63 code from the server (#183738) 2023-05-29 15:24:14 -07:00
Robo 9c8c21872a
chore: disable portals for snap (#180238) 2023-04-18 18:52:06 +02:00
Benjamin Pasero 6d5b85427d
debt - remove unsupported max_old_space_size option (#180183) 2023-04-17 22:32:23 -07:00
Robo e7155a90da
fix: glib schema generation for snaps (#179089) 2023-04-04 18:27:03 +09:00
Robo b2a1932329
fix: gtk module search paths for snap (#177976) 2023-03-22 08:58:15 +01:00
Robo 502ac5b213
ci: switch to core20 for snap (#127320)
* ci: switch to core20 for snap

* chore: update rpath of crashpad handler

* chore: remove unused exports
2023-03-08 18:14:55 -08:00
Raymond Zhao 7eb6452066
Add appdata.xml to rpm template (#172976)
Fixes #141092
2023-02-02 01:54:43 -08:00
SteVen Batten f68ccb983b
pwa-wco (#164067)
* pwa-wco

* increase titlebar height with WCO as well

* remove unused import

* move to browser and fix compact menu case
2022-10-21 08:04:16 -07:00
Frank Dana 357d14621c
RPM packaging: Use standard macros (#153247)
* RPM spec: Use standard macros for paths/name

- Once `@@NAME@@` is replaced into the spec file as the `Name:`,
  it can be referenced with the RPM macro `%{name}`
- The installation directories corresponding to `/usr/bin/` and
  `/usr/share/` are defined in the RPM macros `%{_bindir}` and
  `%{_datadir}`

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
Co-authored-by: Robo <hop2deep@gmail.com>
2022-08-03 16:16:33 -07:00
Evpok dbae720630
Enable Wayland build for snaps (#156551)
Enable Wayland build
2022-07-30 03:59:55 +02:00
Raymond Zhao 8feb40b928
Generate dependencies per package build for Debian (#147335)
Fixes #13089
2022-07-19 10:43:05 -07:00