Commit graph

265 commits

Author SHA1 Message Date
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
Martin Aeschlimann
826ea06355 test-integration fix for windows 2018-03-21 17:20:53 +01:00
Martin Aeschlimann
4c81ed502a include json/css in integration tests 2018-03-20 15:29:49 +01:00
Martin Aeschlimann
086a751a06 [html] split extension (for #45900) 2018-03-17 16:32:55 +01:00
Steve Desmond
5fb6ad6edd Properly set electron version in env scripts 2018-03-13 16:08:05 -04:00
Joao Moreno
0dfe0c4c3e Merge branch 'master' into gitattributes 2018-03-07 08:56:26 +01:00
Ramya Achutha Rao
dd846a08d5 Avoid Ememt test failures in updating workspace config 2018-03-06 17:09:20 -08:00
Christof Marti
5fb74d7f63 Fix side-effect of fixing #45121 2018-03-06 11:58:31 +01:00
Joao Moreno
12ab70d329 fix line endings 2018-03-05 12:47:11 +01: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
Benjamin Pasero
627497eb04 fix tests on linux 2018-01-27 11:49:18 +01:00
Benjamin Pasero
86244d39a7 add API tests that run on a workspace 2018-01-26 16:16:41 +01:00
Joao Moreno
1d106e5afe rename gulp tasks 2018-01-24 09:38:45 +01:00
Rob Lourens
8eae654dd4 Fix code.bat builtInExtensions fallback 2018-01-23 20:41:05 -08:00
Rob Lourens
c749624976 Install builtInExtensions on windows too 2018-01-23 16:51:31 -08:00
Alex Dima
5bdb90de36 scripts/code.sh picks up marketplace built-in extensions automatically 2018-01-23 16:40:52 +01:00
Rob Lourens
40c8d176e5 test-integration.bat must check the errorlevel after each 'call' 2017-12-12 16:58:43 -08:00
Joao Moreno
fdcecb53e6 remove package.json electronVersion 2017-11-16 14:43:41 +01:00
João Moreno
67cd9258fd
Merge pull request #38481 from Microsoft/joao/yarn
Use Yarn to manage dependencies
2017-11-16 11:23:37 +01:00
Joao Moreno
4537783742 adopt yarn in scripts 2017-11-16 10:47:02 +01:00
Alex Dima
ac65758211 Improve test-integration.bat 2017-11-15 12:11:31 +01:00
Martin Aeschlimann
d5d1e76155 fix test-integration 2017-11-15 11:48:52 +01:00
Martin Aeschlimann
68c6182b83 clean up test scripts, bring back html server tests 2017-11-15 11:15:57 +01:00
Alex Dima
73dea41439 Remove old/unused scripts 2017-11-14 17:38:30 +01:00
Suhas
bafe2ddcb8
Update monaco-editor-setup.js
add missing semi-colons
2017-11-11 12:29:42 -08: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
Joao Moreno
85f7b35dec use --skip-getting-started in integration test 2017-10-02 14:27:10 +02:00
kieferrm
b9488b7278 remove unused files 2017-09-25 18:36:43 -07:00
kieferrm
e0089551a6 parse source comments 2017-09-25 18:36:43 -07:00
kieferrm
32772fa808 gdpr tooling 2017-09-25 18:36:43 -07:00
Putta Khunchalee
86dace91a2 replace bash shebang with '#!/usr/bin/env bash" for portability 2017-09-17 21:19:08 +07:00
Ramya Achutha Rao
70a14d8a54 Use dp0 instead of ROOT in test-integration.bat 2017-09-13 11:08:42 -07:00
Christof Marti
3307e76f76 Relative file match (#24074) 2017-09-12 22:16:48 -07:00
Rob Lourens
48ed021dc5 Merge branch 'master' into electron/1.7.4 2017-08-08 07:21:28 -07:00
Daniel Imms
1bf7d177d9 Clean up 2017-07-25 19:40:26 -07:00
Ramya Achutha Rao
b3d37bfa16 Add emmet tests to test-integration.bat 2017-07-25 17:18:19 -07:00
Daniel Imms
e65426f473 Remove loader snapshot 2017-07-25 17:16:07 -07:00
Daniel Imms
7bed98ea39 Set errorlevel to 0 if it's 255 2017-07-25 14:40:35 -07:00
Ramya Achutha Rao
01e3164faf Fixing broken integration tests 2017-07-24 14:11:41 -07:00
Ramya Achutha Rao
5d33b200bd Commenting emmet integration tests 2017-07-24 14:03:55 -07:00
Ramya Achutha Rao
e1f7580199 First set of tests for Emmet commands #8454 2017-07-21 11:38:46 -07:00
Rob Lourens
f7d1155ebb Reenable test-int-mocha.sh 2017-07-17 13:19:43 -07:00
Rob Lourens
150b00a625 Comment out test-int-mocha to unstick builds 2017-07-17 10:16:05 -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
3462fd14be tfs: windows build 2017-06-16 11:22:32 +02:00
Joao Moreno
1cc1b75d78 tfs: fix concurrent windows builds 2017-06-16 11:04:22 +02:00
Joao Moreno
b244b1483c develop in win-x64 2017-05-18 14:55:12 +02:00
Joao Moreno
a226da41de tfs: try to get a free xvfb server number 2017-05-18 13:48:06 +02:00
Joao Moreno
17a6e12e02 tfs: create env.ps1 2017-05-18 07:59:38 +02:00
Joao Moreno
15a6f0b4e9 fix 2017-05-17 16:44:14 +02:00
Joao Moreno
c0fd0eba1b tfs: fix npm distro install 2017-05-17 16:37:26 +02:00
Joao Moreno
1fb2d844ed remove build from test script 2017-05-17 11:48:51 +02:00
Benjamin Pasero
5057c95e6b some electron deprecation fixes 2017-05-11 07:54:36 +02:00
Joao Moreno
063396d1cc improve win32 tfs scripts 2017-05-10 12:11:50 +02:00
Joao Moreno
11f42a781c build 2017-04-26 10:18:08 +02:00
Johannes Rieken
e6d0de3cb1 set CWD when running tests 2017-04-25 08:51:03 +02:00
Johannes Rieken
20651fb6d6 make xvfb an arg 2017-04-13 12:44:37 +02:00
Johannes Rieken
7ac05a0a88 pass on args 2017-04-13 12:09:40 +02:00
Johannes Rieken
f1551be59e add xvfb test script 2017-04-13 12:08:10 +02:00
Joao Moreno
279a1110cd add comment back 2017-04-11 16:05:21 +02:00
João Moreno
e359d83c06 Merge pull request #21016 from flagello/escape_paths_code_bash_script
Escape paths in code.sh
2017-04-11 16:05:01 +02:00
Joao Moreno
c2d377c83b Merge branch 'escape_paths_install_bash_script' of https://github.com/flagello/vscode-essence into flagello-escape_paths_install_bash_script 2017-04-11 15:34:03 +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
Alex Dima
c0b52655ba Fixes #23183: Cannot use mocha --run anymore 2017-03-24 22:27:14 +01:00
Rob Lourens
d55d499946 Reinstate textsearch perf test as integration test -
- fix its flakiness
- add test-int-mocha so .integrationTest.js files can be run separately from code.sh integration tests.
- make all.js support globs with --run
- Fix #22512
2017-03-22 14:48:49 -07:00
Benjamin Pasero
bb508d8eb1 USERDATADIR => VSCODEUSERDATADIR 2017-03-17 18:19:31 +01:00
Martin Aeschlimann
006c46e5ef Run integration tests on a new user data directory 2017-03-17 17:08:48 +01:00
Johannes Rieken
334fcb8e08 Merge branch 'master' into joh/electron4tests 2017-03-09 12:34:03 +01:00
Johannes Rieken
fc8dc29030 disableExtension during API tests 2017-03-07 17:29:22 +01:00
Rob Lourens
a3349f9cc4 Fix #20648 - run search tests as integration tests 2017-03-01 12:00:50 -08:00
Joao Moreno
58ec3f08c0 fixes #21576 2017-03-01 10:46:51 +01:00
William Esz
dd73aababe Escape paths (related to #21010) 2017-02-21 21:22:01 +01:00
William Esz
7e4b90e762 Escape paths to fix Microsoft/vscode#20907 2017-02-21 19:45:32 +01:00
Johannes Rieken
c3c6520f83 Merge branch 'master' into joh/electron4tests 2017-02-20 09:54:31 +01:00
Alex Dima
bccd4045eb Merge remote-tracking branch 'origin/master' into alex/minimap 2017-02-16 23:26:51 +01:00
Johannes Rieken
11d936d9e0 try unsetting env var 2017-02-16 17:03:47 +01:00
Johannes Rieken
8abe1dcdb7 add test script (win) 2017-02-16 15:26:48 +01:00
Johannes Rieken
bf8cc8aa76 add test script 2017-02-16 15:11:16 +01:00
Joao Moreno
175946ff27 fixes #20612 2017-02-15 11:16:48 +01:00
Alex Dima
9c856228a9 Faster minimap character rendering 2017-02-13 17:51:53 +01:00
Alex Dima
b795358075 Some perf tweaks 2017-02-01 06:59:32 -08:00
João Moreno
7de005132b fix windows cli output when exiting
fixes #17343
2017-01-25 16:33:15 +01:00
Mike Treit
4d6bccb661 Fix missing 'set' command that was causing a useless error. 2016-11-23 13:56:48 -08:00
Joao Moreno
9624568986 check electron version at dev time
fixes #15553
2016-11-17 11:15:08 +01:00
Joao Moreno
6796c10fe5 check electron version in code.sh: osx linux
#15553
2016-11-17 10:16:06 +01:00
Benjamin Pasero
97bef4bdc6 Update to electron 1.4.x (#15298)
* electron 1.4.6

* fix broken DND image feedback

* OSS input

* remove cat.exe as it is no longer needed

* update electron.d.ts

* set new ELECTRON_NO_ASAR environment for forked processes

* Automatically enable high contrast theme when enabled in Windows (fixes #15360)
2016-11-14 14:27:53 +01:00
Joao Moreno
c57061115c allow debugging cli process 2016-10-24 10:00:30 +02:00
Alex Dima
b00c572927 Fix missing copyright header 2016-10-21 09:38:14 +02:00
Alex Dima
fcbe48844e Add monaco-editor-setup script 2016-10-21 09:16:06 +02:00
Benjamin Pasero
8531bff95a Revert "Add monaco-editor-setup script"
This reverts commit 9e1b35badb.
2016-10-20 06:29:12 +02:00
Alex Dima
9e1b35badb Add monaco-editor-setup script 2016-10-19 18:56:31 +02:00
Alex Dima
5a54dad1ca I can't see the test output due to bad ANSI code handling 2016-09-21 11:52:47 +03:00
Benjamin Pasero
dff1153946 windows: dot reporter is better given our cat.exe workaround 2016-09-16 11:09:00 +02:00
Benjamin Pasero
605857e345 force colors when running mocha tests on windows 2016-09-16 08:33:02 +02: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
Benjamin Pasero
6a720e153e try to get output for tests on appveyor 2016-09-02 07:43:02 +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
João Moreno
b7a19b4224 adapt to code.exe 2016-08-09 17:11:07 +02:00
Joao Moreno
42832a3a68 fix code-cli 2016-08-09 16:25:29 +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
João Moreno
312a53ef2c win32: customize plain electron for dev 2016-08-09 11:11:28 +02:00
Joao Moreno
3eafa6db3b linux: customize plain electron for dev 2016-08-09 10:30:51 +02:00
Joao Moreno
ebf9722e2e darwin: customize plain electron for dev 2016-08-09 10:14:00 +02:00
Joao Moreno
18beedd450 improve consistency in env sent to renderer procs
fixes #10194
2016-08-08 16:12:37 +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
Daniel Imms
23c927e387 Remove echo left in from last commit 2016-05-20 15:44:50 -07:00
Daniel Imms
b6095e9d85 Fix opening files with spaces via CLI on Linux
Fixes #6525
2016-05-20 15:42:44 -07: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
Joao Moreno
cb9b185237 faster code.bat 2016-05-04 11:26:38 +02:00
Joao Moreno
1d5fdb1a03 earlier .build/electron test 2016-05-04 09:33:58 +02:00
Benjamin Pasero
8334c89462 set npm_config_runtime 2016-05-03 16:18:59 +02:00
Benjamin Pasero
da7d451328 specify runtime for npm install 2016-05-03 15:43:36 +02:00
Benjamin Pasero
c315e818c0 fix comment 2016-04-29 10:36:45 +02:00
Benjamin Pasero
1c5de53015 only set integration tests variables on appveyor? 2016-04-29 10:35:31 +02:00
Benjamin Pasero
ffc125aa51 unset "run as node" 2016-04-29 09:59:23 +02:00
Benjamin Pasero
0e9c89080c set ELECTRON_NO_ATTACH_CONSOLE=1 2016-04-29 09:44:54 +02:00
Alexandru Dima
a05cb186d7 Add test-integration.bat 2016-04-28 16:15:39 +02:00
Joao Moreno
9e6c1612c4 add code-cli.sh 2016-04-22 11:08:16 +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
Martin Aeschlimann
24dfa08f6f Theme tests as extension test 2016-04-08 23:26:12 +02:00
Joao Moreno
460783f343 split tests 2016-03-08 11:51:00 +01:00
Phillip Johnsen
a3e4855bcc Use local version of gulp in ./scripts/code.sh.
As with #3649 it removes the need for global installation of gulp.
This was already the case for the windows, in ./scripts/code.bat.
2016-03-03 20:50:12 +01:00
João Moreno
505e954a4f only disable console attachment when in TFS 2016-03-03 17:20:48 +01:00
Joao Moreno
2139bfece6 refactor 2016-03-03 11:26:05 +01:00
Joao Moreno
3249f6960e make batch file return non zero on test fail 2016-03-03 11:17:48 +01:00
Joao Moreno
d4083f3dac use ELECTRON_NO_ATTACH_CONSOLE 2016-03-03 11:00:56 +01:00
Joao Moreno
8c34045f0f use start 2016-03-03 10:50:52 +01:00
Joao Moreno
5705c820bb remove echo off from tests 2016-03-03 10:33:05 +01:00
João Moreno
5bf2ca9681 Merge pull request #3103 from jamesqo/patch-1
Forward arguments in the shell script correctly: use "$@" instead of $*
2016-02-18 17:12:46 +01:00
Alex Dima
3e78859e24 Don't leak env variables from batch files 2016-02-18 16:50:53 +01:00
James Ko
9a40a06a46 Forward arguments correctly: use "$@" instead of $*
Also added an exec to improve performance (which replaces the current process instead of spawning a subshell),
and changed the shebang to #!/usr/bin/env as this is best practice.
2016-02-18 00:47:09 -05:00
Joao Moreno
d46c0646f2 move back to ATOM_SHELL_INTERNAL_RUN_AS_NODE 2016-02-15 11:07:22 +01:00
Joao Moreno
4821ad5f43 use ELECTRON_RUN_AS_NODE 2016-02-12 12:43:24 +01:00
xzper
8a850be7fc replace powershell with findstr 2016-01-20 13:27:52 +08:00
João Moreno
2db3302987 do not rename electron.exe 2016-01-13 11:15:03 +01:00