Commit Graph

420 Commits

Author SHA1 Message Date
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
Frank Dana
9c3b0bb9b4 RPM: Make /usr/bin/code owned by package (#142907)
Create the `/usr/bin/code` symlink during %install
so that the package owns and manages it.
Also, make it relative (for better relocatability).

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2022-07-06 00:13:06 +00:00
Raymond Zhao
b1f1f98370 Add provides exclude for library files (#151043)
Fixes #150934
2022-06-14 11:23:53 -07:00
Martin Aeschlimann
07655f3a23 use remote cli when in remote terminal (#150372) 2022-05-25 16:21:16 +02:00
João Moreno
5854ef865c Generate policies again (#149322)
* Generate ADMX/ADML policy declaration files from static analysis

Fixes: #148941

* fix build

* move to optional dependencies
2022-05-12 09:16:03 +02:00
Joyce Er
ba8ced85c5 Revert "Generate ADMX/ADML policy declaration files from static analysis" (#149194)
This reverts commit dcfe6b3b84.
2022-05-10 16:30:34 -07:00
João Moreno
dcfe6b3b84 Generate ADMX/ADML policy declaration files from static analysis
Fixes: #148941
2022-05-10 13:17:05 +02:00
Martin Aeschlimann
fda5b84d5d commit in route 2022-05-02 16:12:28 +02:00
Martin Aeschlimann
0c598d076b darwin server scripts: apply shellcheck 2022-04-25 14:57:47 +02:00
Joao Moreno
882fdd77b2 include policies in win32 2022-04-20 16:34:41 +02:00
Joao Moreno
154ce41f43 rename 2022-04-20 16:23:33 +02:00
Joao Moreno
8627bd2569 add policy admx/adml files 2022-04-20 16:19:38 +02:00
Martin Aeschlimann
7239b78e14 server cli scripts: node not found 2022-03-31 12:22:04 +02:00
Martin Aeschlimann
465cac2c42 Use reallink for all server cli scripts 2022-03-24 15:56:16 +01:00
Raymond Zhao
d572d6e9d1 Generate rpm dependencies (#143415)
* Commit non-py files

* Finish porting calculate and merge scripts for rpm

* Switch back to ts, add binaryDir

* Pass in app path

* Trim string before splitting

* Move files, apply PR feedback

* Add deps to exclude and crashpad handler dep

* polish
2022-03-18 13:57:25 +09:00
Martin Aeschlimann
1d05818236 code -server scrip: apply shellcheck 2022-03-16 14:52:27 +01:00
Martin Aeschlimann
5aee6939e2 darwin server script: do not use python. Fixes microsoft/vscode-remote-release#6442 2022-03-16 10:50:35 +01:00
divinity76
84ecd33bbc Fix error log when launching as root on linux (#137125)
Fix error log when launching as root on linux.
2022-02-10 08:55:47 -08:00
Martin Aeschlimann
884273e35b code server scripts: use realpath 2022-02-01 17:38:37 +01:00
Robo
fc8a61280b fix: remove python usage in macos cli wrapper (#138582)
Fixes https://github.com/microsoft/vscode/issues/134635
Fixes https://github.com/microsoft/vscode/issues/137954
2022-02-01 07:58:28 -08:00
Martin Aeschlimann
d9f91002d4 wsl code: pass SERVERDATAFOLDER 2022-01-24 14:43:43 +01:00
Martin Aeschlimann
3640c1a425 move remote and web tests to scripts folder 2022-01-21 14:33:34 +01:00
Martin Aeschlimann
f9cac7c28a adopt --server-data-dir 2022-01-21 12:11:47 +01:00
Martin Aeschlimann
dd0f0bda08 code-server dev script: fix open with connection token 2022-01-20 18:10:31 +01:00
Alex Dima
43d18c529c Merge remote-tracking branch 'origin/main' into alex/issue-140997 2022-01-20 14:46:08 +01:00
Benjamin Pasero
13461f8c61 Web: change yarn web to run with our server instead of playground (#139725)
* web - first cut `yarn web` via our server

* properly pipe output

* web - remove traces of web playground

* web - remember last opened workspace for convinience

* use vscode-test-web for server less, clean up web commands

* fix comment

* fix `yarn web`

* rename to code-server

* open system browser

* code-server script: use minimist

* test resolver: use ./scripts/code-server

* integartion tests: fix code-server command name

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-01-20 13:48:08 +01:00
Alexandru Dima
e5167eb8f2 Fix paths on Windows 2022-01-20 13:36:46 +01:00
Alex Dima
3b5afe84e8 Fixes #140997: Move server entry points to src/ 2022-01-20 09:31:00 +01:00
Daniel Imms
27e5924ff8 Remove from Utility catagory
This was from advice from the Raspberry Pi team as it causes the application to show
up in multiple menus on some desktop managers.
2022-01-13 06:44:24 -08:00
Martin Aeschlimann
f4ba7dd12b server bin cleanup 2022-01-11 16:34:28 +01:00
Alex Dima
b2e9a3e2e2 Remove deprecated ways of configuring the web worker extension host iframe src 2021-12-07 14:09:35 +01:00
Benjamin Pasero
7be48d527a 🆙 web playground 2021-11-22 12:17:22 +01:00
Filip Troníček
2e50cac1d4 Merge branch 'main' into ft/fix-136619 2021-11-15 17:44:50 +01:00
Benjamin Pasero
bef4dba21f Parcel update and CI improvements (#136830)
* 🆙 product

* 🆙 parcel/watcher

* 🆙 parcel/watcher

* tests - separate remote logs from others

* store server logs too

* more tweaks

* fix name

* error when 10s passed
2021-11-10 08:13:56 +01:00
Alexandru Dima
e08e4d3fe1 Move --ms-enable-electron-run-as-node to a later location (#136786)
* Move `--ms-enable-electron-run-as-node` to a later location, which is not fatal in Electron builds that don't know it

* undo bad change
2021-11-09 15:11:12 -08:00
deepak1556
ac29daaf3b Fixes #136771: update to Electron v13.5.2 and pass --ms-enable-run-as-node together with ELECTRON_RUN_AS_NODE 2021-11-09 19:09:26 +01:00
Filip Troníček
8535fa1836 rename connectionToken to connection-token 2021-11-07 15:16:56 +00:00
Issam Maghni
0f7982a344 Fix mkdir arguments order (#135182)
When lauching with `env POSIXLY_CORRECT=y code [...]`, VSCode creates two directories named `-m` and `700`. This is because the order of arguments, in a POSIX strict environment, matters.
2021-10-25 14:40:32 +02:00