Commit graph

61 commits

Author SHA1 Message Date
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
Alex Dima a704a69394
Enforce that source code uses a small subset of Unicode 2021-11-03 23:34:41 +01:00
João Moreno bae654ad1d
scripts/code.sh: disable gpu on wslg 2021-06-08 15:19:04 +02:00
João Moreno 11a1f705db
fix code.sh script in wsl2+gui 2021-06-07 20:39:27 +02: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
Sandeep Somavarapu fd8411e75e Fix #89559 2020-11-02 16:27:36 +01:00
Martin Aeschlimann 59df6b40f1 code.sh: Prevent stealing of stdin (for #99815) 2020-10-16 22:45:38 +02:00
Martin Aeschlimann a8581d60f2 fix wsl selfhosting in scripts/code.sh 2020-09-16 23:55:52 +02:00
Connor Peet 262ab802d3
launch: check prerequisites in a pre-launch task
Fixes https://github.com/microsoft/vscode/issues/103708
2020-07-31 10:55:07 -07:00
Chuck Lantz 2582661266 Fix Docker WSL2 engine scenario 2020-06-22 19:24:34 -07:00
Dirk Baeumer 177b9c30ea Add –noprofile to detect WSL IP address to speed up things 2020-05-05 14:45:03 +02:00
Alex Dima a6e59815c8
Adopt vscode-oniguruma-wasm 2020-04-23 11:16:21 +02:00
Benjamin Pasero f622c438e4 electron - enable ELECTRON_ENABLE_SECURITY_WARNINGS when running out of sources 2020-04-20 08:34:51 +02:00
João Moreno 1526a0ba1e fix wsl script 2020-03-30 14:45:18 +02:00
João Moreno 793499665b use windows DISPLAY when running code.sh client within WSL 2020-03-30 14:33:49 +02:00
Joao Moreno 2e3bbc2da9
always launch code with --no-sandbox 2020-02-17 16:31:00 +01:00
Joao Moreno 5048816ebf
extract yarn electron 2019-10-16 11:15:43 +02:00
Nikolay Kondratyev 4f6e116539 Use yarn compile for start scripts 2019-10-03 18:35:56 +03:00
Rob Lourens a556ca989b Unset VSCODE_LOGS in code.sh
so it writes to the code-oss logs folder and doesn't inherit the insiders log folder
2019-09-10 11:33:14 -07:00
Benjamin Pasero a62ea90c35
build - enable ELECTRON_ENABLE_LOGGING again on Linux (#80192) 2019-09-02 09:30:31 +02:00
Martin Aeschlimann 327832422c scripts/code.sh: remove -x 2019-07-30 16:37:19 +02:00
Martin Aeschlimann c94b2703c5 code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263 2019-07-29 16:03:51 +02:00
Martin Aeschlimann ef70441e30 code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263 2019-06-07 15:48:46 +02:00
kieferrm 4237ce04c5 change publisher 2019-04-30 23:34:46 +00:00
Martin Aeschlimann 6b7b653dae code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263 2019-04-15 13:07:08 +02:00
Martin Aeschlimann b9725ba609 code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263 2019-04-15 13:04:49 +02:00
Martin Aeschlimann 251a490430 run code wsl in dev 2019-04-11 10:25:08 +02:00
Benjamin Pasero ac0ead21e6 electron 3 - trace-hydrogen is no longer supported 2018-12-17 17:27:26 +01:00
Daniel Imms 5dc414cbc9 Revert "Merge pull request #54854 from Microsoft/revert-52782-electron-2.0.x"
This reverts commit 90fc7e66e2, reversing
changes made to 3b25417fa2.
2018-07-23 07:34:16 -07:00
Sandeep Somavarapu 1dc23e548e
Revert "Update to Electron 2.0.x" 2018-07-23 10:58:49 +02:00
Benjamin Pasero 9459d2aae0 Update to Electron 2.0.x 2018-06-25 09:32:06 +02:00
Benjamin Pasero e47a9c9eef revert electron 2.0.x update 2018-06-25 09:28:34 +02:00
Benjamin Pasero e7d29e9ccc
Electron v2.0.0 (#48290)
* Update to Electron 2.0-beta.7

* back to exploration build

* fix compile errors

* workaround build issue (go back to 1.24.0)

* bump to 1.25.0

* use electron 2.0.2

* revert custom distro
2018-06-08 18:32:49 +02:00
Benjamin Pasero 6cb06b7cb5 Revert "Electron v2.0.0 (#47289)"
This reverts commit f7ec491c3e.
2018-04-20 17:22:31 +02:00
Benjamin Pasero f7ec491c3e
Electron v2.0.0 (#47289)
* Update to Electron 2.0.0-beta.7

* bump to electron 2.0.0-beta.7

* localStorage - workaround birthtime rounding issues that clear workspace storage

* fix compile error

* workaround #47569

* localStorage - add telemetry for successful migration

* increment to localStorageTimers4

* localStorage - allow to restore from backup if starting with 1.7.x again

* logLocalStorageMigrationStatus only on insider

* back to official distro

* 💄

* still use exploration distro

* remove GTK3 emoji picker which does not seem to work

* 💄
2018-04-13 08:23:12 +02:00
Benjamin Pasero 24d87a7eb0 Revert "Update to Electron v2.0.0-beta.6 (#46552)"
This reverts commit 88603b377d.
2018-04-06 09:33:18 +02:00
Daniel Imms 88603b377d Update to Electron v2.0.0-beta.6 (#46552)
* electron@2.0.0-beta-1

* Update distro

* Update electron.d.ts to 2.0.0-beta.1

* Disable asar as it causes a native crash

* Adopt Module._resolveLookupPaths ASAR patch

* electron 2.x - restore inspector URL in extension host

* electron 2.x - adopt context menu callback for onHide

* electron 2.x - remove workaround for https://github.com/electron/electron/issues/10442

* electron 2.x - update node.d.ts

* electron 2.x - update node.d.ts to 8.9.x

* electron 2.x - keep node.d.ts changes to a minimum

* electron 2.x - remove workaround for https://github.com/electron/electron/issues/10862

* electron 2.x - bump to 2.0.0-beta2

* bump to 2.0.0-beta.3

* Context menu: selecting "Rename" does not put focs into rename box (fix #45601)

* quality "exploration" for easier testing

* empty commit

* push a workaround for #45700

* Certain themes show UI artifacts over activity bar icons (fixes #45700)

* better fix for #45700

* bump to 2.0.0-beta.4

* another fix to prevent flickering for #45700

* avoid remote access in index.js

* bump distro commit

* electron 2.x - do not use --debug anymore

* bump electron to 2.0.0-beta.5

* electron 2.x - add libgtk-3-dev as build dependency for Linux 64

* electron 2.x - workaround freeze on linux on startup

* bump local storage telemetry key

* electron 2.x - do a one time backup of local storage

* enable ELECTRON_ENABLE_LOGGING on macOS at least

* 2.0.0-beta.6

* Fix ctrl+shift+e not focusing explorer on Linux

* distro - use GH electron builds for now
2018-04-03 12:39:25 +02:00
Joao Moreno 2ebd2a7dd2 builtin: manage extensions 2018-01-30 09:04:39 +01:00
Joao Moreno b338f57e76 built in extensions control file 2018-01-29 12:23:43 +01:00
Joao Moreno 1d106e5afe rename gulp tasks 2018-01-24 09:38:45 +01:00
Alex Dima 5bdb90de36 scripts/code.sh picks up marketplace built-in extensions automatically 2018-01-23 16:40:52 +01:00
Joao Moreno fdcecb53e6 remove package.json electronVersion 2017-11-16 14:43:41 +01:00
Joao Moreno 4537783742 adopt yarn in scripts 2017-11-16 10:47:02 +01:00
Joao Moreno 279a1110cd add comment back 2017-04-11 16:05:21 +02:00
William Esz dd73aababe Escape paths (related to #21010) 2017-02-21 21:22:01 +01:00
Alex Dima b795358075 Some perf tweaks 2017-02-01 06:59:32 -08:00
Joao Moreno 6796c10fe5 check electron version in code.sh: osx linux
#15553
2016-11-17 10:16:06 +01:00
Joao Moreno 06d8543173 its tough 2016-08-09 17:57:09 +02:00
Joao Moreno a5bc5e2ee6 damn it 2016-08-09 17:56:12 +02:00
Joao Moreno 838ada3612 make code launchers specific on the flavor 2016-08-09 17:13:08 +02:00