Commit graph

217 commits

Author SHA1 Message Date
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
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
Tim Retout 3914b9bda5 Update desktop file cache in Debian package postinst 2021-10-11 23:19:31 +01:00
rjc e7d0b82c56
Fix Description field 2021-10-04 15:53:56 +01:00
Robo 4fee848f2f
fix: CXXABI requirements for older distros (#129360)
* fix: use clang and libcxx from chromium

* chore: add flags for Link-Time Optimization

libcxx builds from upstream are built with LTO, avoiding these
flags will cause miscompiles

* chore: add lto flags to compilation units
2021-08-06 08:48:45 -07:00
deepak1556 7eae810d8a chore: disable sandbox on snap package
Fixes https://github.com/microsoft/vscode/issues/127081
Refs https://github.com/microsoft/vscode/issues/127140
2021-06-25 19:26:08 +09:00
Robo 92999c339e
fix: setuid helper permission (#126798)
* ci: fix setuid helper binary permission

* ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET

* ci: fix chrome-sandbox permission with rpm

* ci: fix permissions on snap

* ci: download electron earlier for arm builds
2021-06-22 08:42:30 -07:00
Benjamin Pasero e2954beb4b
Remove --no-sandbox (#122909)
* linux - remove `--no-sandbox` flag

We should not disable sandbox on Linux.
We only added this to support running on Kernel <= 3.8 where setuid sandbox is used.

* fix ci

* add some docs
2021-05-04 11:18:19 +02:00
Daniel Imms 1988caa627
Merge pull request #119160 from alexmyczko/patch-1
Improve debian control description
2021-03-30 06:56:07 -07:00
Daniel Imms a23d2d40f3
Merge pull request #117994 from GitMensch/patch-1
rpm-spec: fix the wrong claim about working on EL7
2021-03-18 06:42:43 -07:00
Alex Myczko 2fbe092c9c
fix long description 50%
This should not be longer than 80 characters/line. The last two lines belong to /usr/share/doc/code/README.Debian

Also it should not start with "Visual Studio Code is" but rather with "This is" 
Please refer to the Debian Developer Manual.
2021-03-17 07:39:26 +01:00
XECDesign 3cca5540aa
Do no install repo on Raspberry Pi OS (#118826)
* Do no install repo on Raspberry Pi OS

* 💄

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2021-03-15 08:53:13 -07:00
Rachel Macfarlane 79e2119c5e Revert "snap: set compression to lzo, #117852 (#118116)"
This reverts commit e22c2be14d.
2021-03-09 10:55:22 -08:00
soredake e22c2be14d
snap: set compression to lzo, #117852 (#118116) 2021-03-08 16:23:35 +01:00
Simon Sobisch 08ceea18aa
rpm-spec: fix the wrong claim about working on EL7
fixes #115784
2021-03-02 21:27:12 +01:00
David Bailey 1da95321b1
RPM: Don't generate build_id links (#116105)
* Don't generate build_id links

* add comment explaining change
2021-02-08 16:07:55 +01:00
João Moreno 09bc6fc64b
Migrate to new deb repo (#114527)
* migrate to new deb repo

* improve deb migration
2021-01-18 14:43:24 +01:00
João Moreno adb037b74d
fixes #114137 2021-01-13 11:11:00 +01:00
João Moreno 61995eab4a fix linux deb repo pointer 2020-12-10 14:59:33 +01:00
João Moreno 4250e343e0 use proper repos for linux arm 2020-12-07 16:15:57 +01:00
João Moreno 3de0ea500a
Merge branch 'joao/snap-arm' 2020-11-25 11:57:38 +01:00
Pablo Sebastian Greco 00eea33b23
More cleanup for armhfp and aarch64 rpm hardcoded dependencies (#111253)
* Adjust hardcoded rpm dependecies for aarch64 to what is minimally available in CentOS7 and CentOS8

* Cleanup some hardcoded rpm dependecies for armv7hl to what is minimally available in CentOS7 and CentOS8, may need more work

Co-authored-by: Pablo Greco <pgreco@centosproject.org>
2020-11-25 09:14:38 +01:00
Pablo Sebastian Greco de85ef3a20
Fix hardcoded rpm dependencies for armv7hl and aarch64 (#111198)
Co-authored-by: Pablo Greco <pgreco@centosproject.org>
2020-11-24 09:59:00 +01:00
João Moreno edf43e529a
build snap packages for linux arm 2020-11-18 10:04:55 +01:00
Daniel Imms b0baa3a2d8
Update deps to include libgbm (#107611)
Fixes #106936
2020-10-19 11:47:07 -07:00
Benjamin Pasero 3c8ed50bdb fix lint
cc @tyriar
2020-09-15 16:36:09 +02:00
João Moreno bc38b0accb
argh 2020-09-11 13:55:29 +02:00
João Moreno bea7a2334e
fix linux build 2020-09-11 13:13:08 +02:00
João Moreno e75b1a6dcd
Merge branch 'joao/linux-arm' 2020-09-11 12:45:08 +02:00
Benjamin Pasero 37a11b4314 try to fix build (linux) 2020-09-11 09:46:20 +02:00
Daniel Imms 65b4134965
Merge pull request #95637 from luqmana/workspace-mimetype
Register mimetype for *.code-workspace
2020-09-09 05:55:27 -07:00
João Moreno 034f6fc5ba
fix rpm 2020-09-08 20:57:07 +02:00
João Moreno 653a7af4aa
Merge branch 'master' into master 2020-06-23 11:02:40 +02:00
João Moreno 38e500687d
Update resources/linux/bin/code.sh
Co-authored-by: VoidNoire <18732253+VoidNoire@users.noreply.github.com>
2020-06-21 17:12:10 +02:00
João Moreno 1e06fc4859
Update resources/linux/bin/code.sh
Co-authored-by: VoidNoire <18732253+VoidNoire@users.noreply.github.com>
2020-06-21 17:11:57 +02:00
champignoom e125e0a4d5
stage ibus-gtk3 to try to make ibus work (#100480)
try to address #96041
2020-06-21 17:05:58 +02:00
VoidNoire c7ae20b401
Make POSIX-compliant to increase portability and remove bash dependency on Linux. Fix causes of shellcheck warnings. 2020-06-14 22:40:16 +00:00
Daniel Imms 145d6bf352
Merge pull request #97527 from 9at8/fix-linux-symlinks
Add "" around $0 in Linux starting script
2020-06-11 04:46:46 -07:00
Daniel Imms d436dae4e9 Remove libnotify4 as deb dep
Fixes #99585
2020-06-08 10:48:25 -07:00
Aditya Thakral 69e491de68 Add "" around $0 in Linux starting script 2020-05-11 13:02:37 -04:00
Martin Aeschlimann c6ce623191 code-insiders.sh prompts me for WSL although I do want to start the Linux version. Fixes #96555 2020-05-07 11:55:20 +02:00
Daniel Imms 10c24b0773 Add executable bit to code.desktop
Part of #95459
2020-04-25 05:38:58 -07:00
Luqman Aden 828389d890 Register mimetype for *.code-workspace 2020-04-19 04:57:06 -07:00
Sergio Schvezov d4da28357f snap launcher: avoid exporting XDG_CACHE_HOME
Exporting XDG_CACHE_HOME affects applications launched from within
the context of code.

Rename it to GDK_CACHE_DIR and do not export it. Also test for
existence before creating to avoid shelling out to mkdir if not
needed.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
2020-02-21 17:26:57 -03:00
Sergio Schvezov a100802412 snap launcher: fix quoting in script
Avoid any potential issue with globbing or word splitting.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
2020-02-21 17:23:26 -03:00
Benjamin Pasero 23956cc5e2 update to electron 6.0.x (#81644)
* update to electron 6.0.x

* chore: bump electron@6.0.12
2019-10-10 12:26:28 -07:00
Jonas Platte c109bf77ac
linux/bin/code.sh: use command -v instead of which 2019-10-08 14:02:44 +02:00
Benjamin Pasero da76f05e7a electron - revert to Electron 4 2019-09-30 14:55:17 +02:00
Benjamin Pasero afde7913eb
build - set no-sandbox everywhere (#81096) 2019-09-18 13:55:03 +02:00