Commit Graph

44154 Commits (cec52db765329f9deba46015dcd8c186040d58c5)

Author SHA1 Message Date
Josh Goldberg 5897b877b9 Converted editor.test.ts and related to strictNullChecks (#65674)
Continues #60565 for converting tests. A few files used TypeStat to add `!`s but the following interface changes were manually inferred from implementing classes:
* `IActiveCodeEditor`'s methods can all return `null`
* `IEditor` needs to report `getControl(): IEdotorControl | null` because `BaseEditor`'s `getControl` can return `null`
2018-12-27 18:57:50 -06:00
Matt Bierner a1f5ab6e52 Revert including some test files in strict null check build
See #65672

Not all of these files only import strict null check eligible files
2018-12-27 18:55:05 -06:00
Josh Goldberg 373b44115b Converted another ~70 test files to strictNullChecks (#65672)
* Converted another ~70 test files to strictNullChecks

These are the remaining test files that didn't require any changes to non-test file types. I'll send those in separately.

Most changes were automatic and small (`!`s).
The only non-trival change is that `extHostSearch.ts` needs an interface for its test data.

Again used [TypeStat](https://github.com/JoshuaKGoldberg/TypeStat) when possible per #65581. I'm happy to split this up into smaller PRs if you'd prefer!

* Added missing `!`s to `commands.test.ts`
2018-12-27 18:52:51 -06:00
Pine Wu 6b4f5991b4 Fix API doc for Microsoft/vscode-docs#2298 2018-12-27 16:03:32 -08:00
Daniel Imms cb108f8917 Allow / in windows terminal shell path
Fixes #65183
2018-12-27 15:38:32 -08:00
Daniel Imms 87ff76a485
Merge pull request #65331 from nunottlopes/issue
Fix run active file in terminal on paths with spaces under Windows
2018-12-27 15:32:20 -08:00
Daniel Imms d82c93e17e
Merge pull request #65744 from Microsoft/62580_drop_gconf
Drop gconf dependency
2018-12-27 15:28:06 -08:00
Daniel Imms 3a24bff843 Merge remote-tracking branch 'origin/master' into pr/nunottlopes/65331 2018-12-27 15:18:29 -08:00
Daniel Imms 88f07d492d Sanitize VSCODE_PREVENT_FOREIGN_INSPECT from term env
Part of #63832
2018-12-27 11:27:39 -08:00
Daniel Imms ffe6f7950e Drop gconf dependency
Fixes #62580
2018-12-27 11:03:06 -08:00
Daniel Imms 3a5bc7a3fc vscode-xterm@3.10.0-beta9
Fixes #65436
2018-12-27 10:11:11 -08:00
Daniel Imms 2709a47f4b
Merge pull request #65711 from Microsoft/tyriar/search_multiple
Support finding multiple terms on same line in terminal
2018-12-27 09:29:34 -08:00
Johannes Rieken daebb2d810 fix issue with disposed model 2018-12-27 17:47:32 +01:00
isidor b995df24fa debug: Breaking should jump to top frame that has source
fixes #64193
2018-12-27 16:10:08 +01:00
isidor 17bf945c37 debug: do not auto focus stack frames with presentationHint deemphasize
fixes #65012
2018-12-27 15:45:25 +01:00
Isidor Nikolic 2274768d03
Merge pull request #65226 from Microsoft/rmacfarlane/debug
Simplify start debug command handler
2018-12-27 15:14:38 +01:00
isidor 959669bec6 cleanup debug commands used by process explorer 2018-12-27 15:13:10 +01:00
isidor e2cfa3ae98 fixes #64890 2018-12-27 14:33:22 +01:00
Johannes Rieken cb2e7e8f56 remove deleted file 2018-12-27 13:06:19 +01:00
Johannes Rieken ffbce2f4c8 fix command name, #65400 2018-12-27 12:55:15 +01:00
Johannes Rieken 7068d6554b cleanup 2018-12-27 12:53:42 +01:00
Johannes Rieken 5f0eae27fd remove old stats command 2018-12-27 12:53:42 +01:00
Johannes Rieken 97569f6d4d remove old perf action and some cleanup #65400 2018-12-27 12:53:42 +01:00
isidor 5dcbfad5b8 null guard
fixes #65271
2018-12-27 12:22:45 +01:00
Johannes Rieken 195fd560a5 undo unneeded change 2018-12-27 11:57:16 +01:00
Johannes Rieken 009c1c3a4b fix #65726 2018-12-27 11:48:45 +01:00
isidor 2804e0d205 fixes #65491 2018-12-27 11:47:38 +01:00
Johannes Rieken a6ded3ceb5 show loader stats in #65400 2018-12-27 11:11:37 +01:00
isidor 7a0c826121 more specific selector for repl content 2018-12-27 10:32:14 +01:00
Johannes Rieken 96d2413a4e Tweak ctor of SelectionRange, https://github.com/Microsoft/language-server-protocol/issues/613 2018-12-27 10:07:23 +01:00
Daniel Imms 1d7f5273a7 vscode-xterm@3.10.0-beta8
Fixes #65710
2018-12-26 16:19:38 -08:00
Daniel Imms 577f744a3e Fix context menu showing up when double right clicking terminal on Windows
Fixes #64812
2018-12-26 12:27:23 -08:00
Daniel Imms 7aecf20a56 vscode-xterm@3.10.0-beta7
Fixes #65702
2018-12-26 11:05:36 -08:00
Andre Weinand fc443d1571 support 'command' input variable; fixes #64362 2018-12-24 16:46:18 +01:00
Matt Bierner 450910e353 Use glob for strict null check base/browser 2018-12-23 22:38:06 -06:00
Matt Bierner 9c9788f733 Sorting strict null checks 2018-12-23 22:32:40 -06:00
Josh Goldberg d659000852 Converted about 25 *.test.ts files to --strictNullChecks (mostly automatically) (#65581)
* Manually added strict null checks in around 70 files

* Fixed tsconfig.strictNullChecks.json merge fail

* Touched up a few unnecessary type changes

* Removed files already in other PRs
2018-12-23 20:28:51 -08:00
Prateek Singh cb674e7d11 fix: strict null checking for simpleServices test (#65571) 2018-12-23 20:25:55 -08:00
Julia McGeoghan 8e79901e8b Fix common/configurationModels.test.ts null type check (#65556) 2018-12-23 20:25:29 -08:00
Kermit Xuan e8076e443d Strict null checking for node/storage browser/ui/dataTree and browser/htmlContent (#65503)
* Enable strict null checking for String test

* Enable strict null checking for node/storage test

* Enable strict null checking for browser/htmlContent test

* Enable strict null checking for browser/ui/dataTree test
2018-12-23 20:24:26 -08:00
Matt Bierner 2b2b664395 Supress null in caller, not in function 2018-12-23 22:23:42 -06:00
Matt Bierner b2ba2391ff Prefer const 2018-12-23 22:22:38 -06:00
Matt Bierner 494e5e8509 Fix bug for completing function name parameters if function name contained special snippet syntax 2018-12-23 22:22:38 -06:00
Matt Bierner 75071898dc Adding test for vscode.executeSignatureHelpProvider 2018-12-23 22:22:38 -06:00
Chris Ganga 39da581be4 enable strict null check for find controller (#65553) 2018-12-23 20:21:58 -08:00
Gaurav Gupta ff49f58599 Enable strict null checking for contextkey tests (#65474) 2018-12-23 20:20:05 -08:00
davidwu226 2e877e280a Fix invalid JSON. (#65447) 2018-12-23 20:19:29 -08:00
Chris Ganga 982ea6d4a9 enable strict null check (#65454) 2018-12-23 20:19:11 -08:00
Andre Weinand 9cae8bb804 Revert "support 'command' input variable; fixes #64362"
This reverts commit 85eb3a1fdd.
2018-12-24 00:41:40 +01:00
Andre Weinand 85eb3a1fdd support 'command' input variable; fixes #64362 2018-12-24 00:01:46 +01:00