Commit Graph

282 Commits (cec52db765329f9deba46015dcd8c186040d58c5)

Author SHA1 Message Date
Matt Bierner b4964bcf35 Replace some common index based for loops with `for-of` loops
Replaces many loops of the form:

```js
for (let i = 0; i < elements.length; ++i) {
    const i = elements[i];
   ...
}
```

with:

```js
for (const element of elements) {
    ...
}
```

Mix of a horrible regex based find/replace and manual touch ups
2019-01-03 19:11:18 -08:00
Rob Lourens ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Christof Marti c9cf18e109 Wait some more 2018-11-09 15:06:48 +01:00
Christof Marti f9307094ba Try fix timing issues 2018-11-09 07:49:34 +01:00
ImgBotApp d412f89baf
[ImgBot] Optimize images
*Total -- 201.93kb -> 142.81kb (29.28%)

/extensions/npm/images/npm_icon.png -- 3.21kb -> 0.51kb (84.1%)
/src/vs/workbench/parts/debug/electron-browser/media/stepout-tb.png -- 2.89kb -> 0.47kb (83.83%)
/src/vs/workbench/parts/debug/electron-browser/media/stop-tb.png -- 1.50kb -> 0.35kb (76.43%)
/src/vs/workbench/parts/debug/electron-browser/media/pause-tb.png -- 1.55kb -> 0.37kb (76.34%)
/src/vs/workbench/browser/parts/editor/media/forward-tb.png -- 1.57kb -> 0.37kb (76.25%)
/src/vs/workbench/browser/parts/editor/media/back-tb.png -- 1.52kb -> 0.37kb (75.53%)
/src/vs/workbench/parts/debug/electron-browser/media/continue-tb.png -- 1.60kb -> 0.42kb (73.48%)
/src/vs/workbench/parts/debug/electron-browser/media/stepinto-tb.png -- 1.66kb -> 0.47kb (71.51%)
/src/vs/workbench/parts/debug/electron-browser/media/restart-tb.png -- 1.91kb -> 0.59kb (68.84%)
/src/vs/workbench/parts/debug/electron-browser/media/stepover-tb.png -- 1.93kb -> 0.62kb (67.75%)
/resources/linux/code.png -- 5.76kb -> 2.66kb (53.86%)
/extensions/html-language-features/icons/html.png -- 4.40kb -> 2.28kb (48.15%)
/extensions/theme-seti/icons/seti-circular-128x128.png -- 8.73kb -> 4.70kb (46.12%)
/extensions/typescript-language-features/icon.png -- 1.60kb -> 0.97kb (39.15%)
/src/vs/platform/extensionManagement/node/media/defaultIcon.png -- 1.65kb -> 1.03kb (37.49%)
/src/vs/workbench/parts/extensions/electron-browser/media/defaultIcon.png -- 1.65kb -> 1.03kb (37.49%)
/extensions/vscode-api-tests/testWorkspace/sub/image.png -- 35.87kb -> 24.99kb (30.33%)
/extensions/vscode-api-tests/testWorkspace/image.png -- 35.87kb -> 24.99kb (30.33%)
/resources/win32/code_150x150.png -- 0.55kb -> 0.39kb (29.96%)
/extensions/css-language-features/icons/css.png -- 5.07kb -> 3.63kb (28.37%)
/extensions/json-language-features/icons/json.png -- 5.84kb -> 4.33kb (25.89%)
/extensions/markdown-language-features/icon.png -- 1.19kb -> 0.88kb (25.86%)
/src/vs/workbench/parts/extensions/electron-browser/media/theme-icon.png -- 9.90kb -> 7.42kb (25.1%)
/extensions/php-language-features/icons/logo.png -- 10.85kb -> 8.99kb (17.13%)
/extensions/gulp/images/gulp.png -- 7.36kb -> 6.20kb (15.8%)
/extensions/merge-conflict/resources/icons/merge-conflict.png -- 2.47kb -> 2.10kb (14.96%)
/extensions/jake/images/cowboy_hat.png -- 43.85kb -> 41.67kb (4.98%)
2018-11-06 20:46:03 +00:00
Christof Marti ee0815204c Fix timing issue (fixes #61748) 2018-10-29 11:30:25 +01:00
Martin Aeschlimann 0d98745507
Merge pull request #61882 from ProAdd-ons/task-v2
Task v2
2018-10-29 03:29:43 -07:00
Rob Lourens a2e96753ee Fix build fail in api-tests 2018-10-26 18:23:42 -07:00
Nguyen Long Nhat 2d30bece1d
Task 2.0.0 2018-10-26 22:16:58 +07:00
Christof Marti d66f6ffc95 Fix timing issue (#61647) 2018-10-24 08:56:45 +02:00
Christof Marti ab5bb7bf72 Revert "Disable failing tests"
This reverts commit 383d1417e6.
2018-10-24 08:56:45 +02:00
Rob Lourens 383d1417e6 Disable failing tests 2018-10-23 11:48:14 -07:00
Matt Bierner 5b03dcd69d Add pinning test for setting localResourceRoots 2018-10-08 10:09:06 -07:00
Matt Bierner d0ecfa0ba6 Adding pinning tests for vscode-resource in webviews 2018-10-08 09:56:06 -07:00
Matt Bierner ceb8f18fb8 Adding pinning test for webview scripts disabled 2018-10-05 16:25:50 -07:00
Matt Bierner 7b8e463099 Extract duplicated code 2018-10-05 16:11:32 -07:00
Matt Bierner 23fedc5a3e Add pinning test for webview html update 2018-10-05 16:08:33 -07:00
Matt Bierner 676ea4b5c5 Improve test name 2018-10-05 16:05:01 -07:00
Matt Bierner b3ff3e4375 Wait for all editors to close before continuing tests 2018-10-05 11:51:54 -07:00
Matt Bierner 0136935c52 Improving webview test reliability and add test for preserve state on column change 2018-10-05 10:53:42 -07:00
Matt Bierner 3cb9b60d32 Add missing registers 2018-10-05 10:53:42 -07:00
Matt Bierner 1f9981f55f Make webview test communication more timing stable 2018-10-05 10:32:42 -07:00
Matt Bierner 4ecf3e5388 Improve naming and use proper (optional) types 2018-10-05 10:08:25 -07:00
Matt Bierner f4f6c623c3 Make sure we dispose of webviews properly
Dispose of webviews after each test run
2018-10-05 09:38:01 -07:00
Matt Bierner 8d44ab61c6 Fix workspace test document count 2018-10-04 20:02:05 -07:00
Matt Bierner fdb46fcc66 Remove unused var 2018-10-04 19:24:18 -07:00
Matt Bierner 3da9a122f6 Add test for restore scroll pos when retainContextWhenHidden is set 2018-10-04 19:01:35 -07:00
Matt Bierner 54df095e39 Adding retainContextWhenHidden test 2018-10-04 19:01:35 -07:00
Matt Bierner 6a4e027c41 Refactor our duplicated code 2018-10-04 19:01:34 -07:00
Matt Bierner 8151b1fc50 Add test for webview state persist 2018-10-04 19:01:34 -07:00
Matt Bierner 565f971f43 Add basic test for webview communication 2018-10-04 19:01:34 -07:00
Matt Bierner 03e65ebe47 Use await/async in tests 2018-10-04 19:01:34 -07:00
Christof Marti f523fd2036 Fire onDidHide only once (fixes #57852) 2018-10-04 13:10:18 +02:00
Christof Marti 7ff8bda7e8 Accept on with selection, work around all items becoming active (#57850) 2018-10-04 10:41:51 +02:00
Christof Marti f45ac28666 Do not clear selection in single-select case (fixes #57850) 2018-10-04 10:41:51 +02:00
Matt Bierner dd3e2d94f8 Remove use strict directives in extension code
We compile with alwaysStrict so these directives are not needed
2018-10-02 16:02:44 -07:00
Matt Bierner 4c8e61c049 Remove "use strict" directives in extension tests
We compile with alwaysStrict so these are not needed
2018-10-02 15:59:42 -07:00
Matt Bierner 950a3ff867 Onboard vscode-api-tests to use shared tsconfig 2018-10-01 16:38:29 -07:00
Matt Bierner 55567633b3 Enable no unused parameters in vscode-api tests 2018-10-01 16:12:05 -07:00
Joao Moreno 707787c5b8 update yarn.lock files to use integrity 2018-09-30 16:34:43 +02:00
Rob Lourens 3da89c1937 Rename previewOptions 2018-09-24 21:08:11 -07:00
Rob Lourens 54090bc222 Fix #57459 - add default previewOptions for findTextInFiles 2018-09-24 16:41:03 -07:00
Benjamin Pasero 7b8c3383f9 💄 integration tests 2018-09-24 15:10:16 +02:00
Alex Ross 1ff175f094
Wait to signal to the extHostTerminalService that the terminal is opened until the terminal has a name. (#58983)
Also added a change listener for title. Fixes #53057
2018-09-21 14:08:38 -07:00
Johannes Rieken 9ac1af4899 add api tests for #1800 2018-09-20 17:24:33 +02:00
Martin Aeschlimann 7361bd990c Revert "Do not clear selection in single-select case (fixes #57850)"
This reverts commit a6626a8d90.
2018-09-20 12:51:07 +02:00
Matt Bierner 63c5c74852 Fix test name 2018-09-18 15:22:59 -07:00
Christof Marti f8606acf93 Fix test (#56137) 2018-09-06 15:31:51 +02:00
Christof Marti a6626a8d90 Do not clear selection in single-select case (fixes #57850) 2018-09-06 11:52:36 +02:00
Christof Marti 5f88f89be5 Remove WinJS.Promise#cancel usage (#56137) 2018-09-05 09:13:12 +02:00