Commit Graph

71 Commits

Author SHA1 Message Date
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Alex Dima
25417553be Adopt case insensitive extension identifiers 2018-12-21 12:41:41 +01:00
Johannes Rieken
c6c7edaa9f debt - asThenable -> asPromise because it returns a promise 2018-12-13 11:45:48 +01:00
Johannes Rieken
653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00
Matt Bierner
0b1d0da7af Prefer to use .then(void 0, ..) over .then(null, ..)
ES6 promises like using undefined as their first argument instead of null. Both should behave the same behavior
2018-12-11 21:59:32 -08:00
Christof Marti
ee0815204c Fix timing issue (fixes #61748) 2018-10-29 11:30:25 +01:00
Christof Marti
0ae913a683 Move alwaysShow to stable API (fixes #59232) 2018-10-24 09:18:38 +02:00
Johannes Rieken
45f4904378 debt remove TPromise from extHost-files #53526 2018-10-19 09:49:05 +02:00
Johannes Rieken
06fe5c4f8b debt - remove TPromise.any and use Promise.race instead 2018-10-17 11:25:08 +02:00
Christof Marti
f523fd2036 Fire onDidHide only once (fixes #57852) 2018-10-04 13:10:18 +02:00
Matt Bierner
f7456ebf90 Switch to use standard @types/node types instead of our customized version
Using a custom version of the node typings is causing a lot of pain while trying to upgrade our build to use `@types` instead of the `d.ts` files we have to maintain. I believe we primarily maintain our own version for two reason:

- Custom require function
- setTimeout and other timer functions return NodeJs.timer instead of a number

These can both be delt with, the first by using interface augmentation and the second by switching to use any types for timer. I believe that the pain of maintaining our own node `d.ts` outweighs the benefits here

This change switches us to use the standard @types/node package for our node typings
2018-10-03 14:18:36 -07:00
Matt Bierner
8087b0a8d8 Remove use strict directives in main vs code ts files (part 2)
We compile using the alwaysStrict flag so these directives are not needed

This part removes most `use strict` directives that are right after the file header
2018-10-02 16:11:05 -07:00
Christof Marti
54c51f2f23 QuickPickItem.alwaysShow (#59232) 2018-10-01 16:39:00 +02:00
Johannes Rieken
9e81c8f25f Revert "debt - remove declaration for WinJS.Promise#any"
This reverts commit 61a2faf7e4.
2018-10-01 12:28:52 +02:00
Johannes Rieken
61a2faf7e4 debt - remove declaration for WinJS.Promise#any 2018-10-01 12:09:00 +02:00
Christof Marti
eaddbde222 Revisit QuickPickItem.shouldAlwaysShow (#59232) 2018-09-24 16:41:16 +02:00
Sardorbek Pulatov
2381d8f627 always show create a branch button 2018-09-13 21:53:07 +02:00
Christof Marti
554c9b1460 Remove WinJS.Promise#cancel usage (#56137) 2018-09-06 14:56:22 +02:00
Johannes Rieken
273b697419 debt - remove TPromise from ExtHostQuickOpenShape#$validateInput 2018-09-06 12:54:02 +02:00
Christof Marti
5f88f89be5 Remove WinJS.Promise#cancel usage (#56137) 2018-09-05 09:13:12 +02:00
Johannes Rieken
2d452e0a7e uri - replace usages of default export with named export 2018-09-03 10:54:50 +02:00
Christof Marti
1b675ac9ab Use class with static fields (fixes #55494) 2018-08-03 10:53:43 +02:00
Christof Marti
f315912831 Fix hiding (#49340) 2018-06-22 11:43:47 +02:00
Christof Marti
aae335792b T extends QuickPickItem (#49340) 2018-06-21 12:08:01 +02:00
Christof Marti
ede8a0f336 Copy extension-provided arrays (#49340) 2018-06-21 11:42:51 +02:00
Christof Marti
6cba561685 Writeable active and selected items (#49340, fixes vscode-azure-account#67) 2018-06-20 10:27:37 +02:00
Christof Marti
c361c4a31c Back button constant (#49340) 2018-06-19 12:00:48 +02:00
Christof Marti
5f93604467 Tooltip typo (#49340) 2018-06-15 16:43:55 +02:00
Christof Marti
3b4fb7d2fb Title and steps (#49340) 2018-06-15 16:43:55 +02:00
Christof Marti
47fc17712d Streamline QuickInput API (#49340) 2018-06-14 18:51:33 +02:00
Christof Marti
f4b89e0b40 Action bar (#49340) 2018-06-13 16:57:55 +02:00
Christof Marti
965c1862b5 QuickInput Proposed API (#49340) 2018-06-12 18:23:25 +02:00
Christof Marti
0662a71dfb Remove first cut of QuickInput API (#49340) 2018-05-28 09:30:39 +02:00
Christof Marti
e142962e1b Multi-step input API (#49340) 2018-05-14 12:53:38 +02:00
Christof Marti
a348936683 Better compile (#49340) 2018-05-09 12:17:14 +02:00
Christof Marti
841f14000a Naming: Select -> Pick (#49340) 2018-05-07 09:36:58 +02:00
Christof Marti
90bb79d716 Multi-select picker API: use 'canPickMany' and 'picked' (fixes #46803) 2018-03-28 16:32:29 +02:00
Christof Marti
e563e40ead API update (#45589) 2018-03-26 22:46:03 +02:00
Christof Marti
ea1e57b3ab Multi-select list (#45589) 2018-03-26 22:46:02 +02:00
Alex Dima
367dd10413 Rename RPCProtocol.get to RPCProtocol.getProxy (#36972) 2017-12-13 16:04:14 +01:00
Don Jayamanne
509630ffe3 fix https://github.com/Microsoft/vscode/issues/36854 (#36855) 2017-10-25 06:53:24 +02:00
Johannes Rieken
1f975f05c9 allow InputBoxOptions#validateInput to return a thenable, #34532 2017-10-03 09:18:28 +02:00
Benjamin Pasero
492ae2a023 Workspace folder picker command (for #32936) (#34648)
* Workspace folder picker command (for #32936)

* fix test

* make this proper API
2017-09-20 15:06:30 +02:00
Alex Dima
2b3298af79 Use native proxies for renderer <-> ext host RPC communication 2017-08-16 10:26:25 +02:00
Alex Dima
20a45eef3a Add a mechanism to be a customer of the extension host (share lifecycle) and begin reducing usage of IThreadService 2017-08-15 18:26:51 +02:00
Johannes Rieken
6fdfe2f055 fix ts 2.4.1 compile errors in workbench/api 2017-06-15 11:59:41 +02:00
Matt Bierner
483bd48332 Continue fixing TS 2.3.1 Compiler Errors in VSCode Codebase (#25315)
From: https://github.com/Microsoft/TypeScript/issues/15352

TS 2.3.1 introduced a breaking change by [switching to covariant types for callbacks](https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#covariance-in-callback-parameters). This change tries to fix these compiler errors in the workbench codebase
2017-04-25 12:52:41 -07:00
Johannes Rieken
b86a54e757 fix #22453 2017-03-13 13:49:22 +01:00
Matt Bierner
c342eaa22e Adding more explicit returns 2017-02-01 17:29:57 -08:00
Johannes Rieken
6681a2a7d6 tsfmt - src 2016-10-08 09:53:13 +02:00