Commit graph

58 commits

Author SHA1 Message Date
Benjamin Pasero ddbda4c196
tests - enable crash reporter for electron based unit tests
//cc @deepak1556
2021-11-19 11:12:53 +01: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
Robo daca95ea06
fix: disable shm usage in container builds (#111787)
* fix: disable shm usage in container builds

* ci: use EGL

* ci: use swiftshader

* ci: disable shm for unittests
2020-12-09 10:46:35 -08:00
Rakib Fiha 7670c0c79c
Changed shebang same as code.sh (#109372)
* Changed shebang same as code.sh

* Added set -e in test.sh
2020-10-30 07:54:13 +01:00
Benjamin Pasero 5393954877 tests - have a test/unit folder 2020-02-07 09:51:28 +01:00
Joao Moreno 5048816ebf
extract yarn electron 2019-10-16 11:15:43 +02: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
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
Benjamin Pasero a62ea90c35
build - enable ELECTRON_ENABLE_LOGGING again on Linux (#80192) 2019-09-02 09:30:31 +02: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 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
Daniel Imms e29c517386 Revert "replace bash shebang with '#!/usr/bin/env bash" for portability"
This reverts commit 86dace91a2.
2017-10-06 09:33:22 -07:00
Putta Khunchalee 86dace91a2 replace bash shebang with '#!/usr/bin/env bash" for portability 2017-09-17 21:19:08 +07:00
Christof Marti 3307e76f76 Relative file match (#24074) 2017-09-12 22:16:48 -07:00
Joao Moreno c2fa7f6c89 tfs: linux, remove xvfb-run support 2017-07-03 11:45:11 +02:00
Joao Moreno ccda5dce25 tfs: debug linux unix tests 2017-07-03 09:38:19 +02:00
Joao Moreno a226da41de tfs: try to get a free xvfb server number 2017-05-18 13:48:06 +02:00
Joao Moreno 1fb2d844ed remove build from test script 2017-05-17 11:48:51 +02:00
Johannes Rieken 20651fb6d6 make xvfb an arg 2017-04-13 12:44:37 +02:00
Johannes Rieken 94f2804322 Revert "revert electron tests"
This reverts commit 119d2d4ba8.
2017-04-10 10:20:56 +02:00
Joao Moreno 119d2d4ba8 revert electron tests 2017-04-06 15:56:49 +02:00
Johannes Rieken 8a73c7d0b4 renames: test -> test-mocha and test-electron -> test 2017-04-04 17:03:39 +02:00
Joao Moreno 175946ff27 fixes #20612 2017-02-15 11:16:48 +01:00
Joao Moreno 6796c10fe5 check electron version in code.sh: osx linux
#15553
2016-11-17 10:16:06 +01:00
Benjamin Pasero 6fa85223ef Electron Update 1.x (#11157)
* use electron 1.3.4

* ATOM_SHELL_INTERNAL_RUN_AS_NODE => ELECTRON_RUN_AS_NODE

* OSS input

* update electron.d.ts

* workaround for #8708

* bump oniguruma and chokidar with custom fsevents

* build with appveyor config from master

* oops, still use ELECTRON_RUN_AS_NODE

* use electron 1.3.5

* optional fsevents

* add cat.exe to workaround output issues

* use cat for tests

* remove some now obsolete ELECTRON_NO_ATTACH_CONSOLE

* also pipe output to cat for code.sh on windows

* unset ELECTRON_RUN_AS_NODE for appveyor

* fix tfs builds?

* fix build

* fix build?

* use cat only when running tests locally
2016-09-14 07:29:20 +02:00
Joao Moreno 84ccb059fa fix test launch script 2016-08-26 12:10:54 +02:00
Christof Marti 434e653295 Add VSCODE_DEV=1 2016-08-19 15:18:03 -07: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
Joao Moreno e0cddc8bc6 improve test script 2016-08-09 15:27:30 +02:00
Joao Moreno a8e9286f46 fix build 2016-08-09 15:26:47 +02:00
Benjamin Pasero 0525466708 back to ATOM_SHELL_INTERNAL_RUN_AS_NODE 2016-07-08 16:12:10 +02:00
Benjamin Pasero 5d1affed4b ATOM_SHELL_INTERNAL_RUN_AS_NODE => ELECTRON_RUN_AS_NODE 2016-07-02 08:39:01 +02:00
Johannes Rieken aba7f12b1d remove pwd debug statement 2016-05-10 17:24:02 +02:00
Johannes Rieken be5a691a36 dbk - cd to $ROOT 2016-05-10 16:42:51 +02:00
Johannes Rieken 4a782befbb dbk - add pwd to test.sh 2016-05-10 16:15:48 +02:00
Daniel Imms e8f9d90b12 Have test.sh compile code if necessary
This removes the need to run ./scripts/code.sh first

Fixes #5587
2016-04-20 17:41:11 -07:00
Joao Moreno 460783f343 split tests 2016-03-08 11:51:00 +01:00