Commit Graph

3928 Commits

Author SHA1 Message Date
Martin Aeschlimann
a7def72d9e trailing commas only for setting files 2019-08-29 13:19:03 +02:00
Benjamin Pasero
58583a7b84 fix #79633 2019-08-29 08:29:23 +02:00
Matt Bierner
bffbe2ea30 Make sure modes.DocumentSymbol.tags is not undefined
Fixes #80023
2019-08-28 19:05:45 -07:00
Sandeep Somavarapu
a7c2a5a5bc Fix #79431 2019-08-28 16:44:44 +02:00
Benjamin Pasero
fa7eba4888 extensions - fully provide keytar API 2019-08-28 15:09:02 +02:00
Sandeep Somavarapu
902da828e4 Fix #79975 2019-08-28 12:53:41 +02:00
Benjamin Pasero
b264205ad2 fix #79927 2019-08-28 11:56:13 +02:00
Alex Ross
98574d61ca Move tree create to happen when the data provider is set
, not when the view is activated.

Fixes #79889
2019-08-27 14:02:31 +02:00
Benjamin Pasero
9a67092e0d editors - preserve group activation behaviour for extensions 2019-08-27 11:12:49 +02:00
Matt Bierner
78879b6a81 Log missing csp on extension host instead of main window 2019-08-26 15:42:16 -07:00
Matt Bierner
9f49056ec7 Only allow protocol links in webview on desktop VS Code
Fixes #79647
2019-08-26 13:42:41 -07:00
Matt Bierner
4b93194b76 Make sure we notify webview of view state changes in a consistent order
Send events in the following order:
- Non-visible
- Visible
- Active

This matches the old notification order for webviews
2019-08-23 22:27:51 -05:00
Rob Lourens
0be6954e88 Tweak deprecation messag #69335 2019-08-23 10:22:15 -07:00
Johannes Rieken
043a06542d add SymbolInformation.tags, render deprecated items in quick outline and workspace symbol search 2019-08-23 10:25:55 +02:00
Johannes Rieken
62c31b7154 add SymbolTag, make tag a propertiy, #23927 2019-08-23 09:03:18 +02:00
Johannes Rieken
f7fe25dcfc use ReadonlyArray for tags, #50972 2019-08-23 08:46:25 +02:00
Johannes Rieken
8b0bc473cd CompletionItemKindModifier -> CompletionItemKindTag, #23927 2019-08-23 08:12:33 +02:00
Rob Lourens
0f73473c08 Add deprecation warning for rootPath #69335 2019-08-22 17:46:41 -07:00
Daniel Imms
6f998109d8 Use void | number for onDidClose
Fixes #79643
2019-08-22 07:06:13 -07:00
Johannes Rieken
8ecc032c23 document symbols and deprecated, UX, internal API, #50972 2019-08-22 14:53:40 +02:00
Johannes Rieken
a06015b536 have only one way of enforcing proposed API 2019-08-22 14:21:59 +02:00
Benjamin Pasero
36ae347672 fix compile 2019-08-22 13:52:07 +02:00
Alex Ross
232b6a3515 Finalize multi-select support for custom tree view
Fixes #76941
2019-08-22 10:52:50 +02:00
Benjamin Pasero
719cdaa87c web - implement callback auth flow 2019-08-22 10:43:41 +02:00
Johannes Rieken
1848b16313 tweak UI for deprecated completions, update API proposal #23927 2019-08-22 10:28:55 +02:00
Johannes Rieken
ee2b890bcc kindModifier is a Set, #23927 2019-08-22 09:35:41 +02:00
Matt Bierner
2637bf2bf5 Remove extra conditional guard
strict null checks should prevent calling this function with undefined
2019-08-21 14:24:33 -07:00
Matt Bierner
6c92c45dec Remove extra conditional
This value should always be a number
2019-08-21 14:24:33 -07:00
Johannes Rieken
08c7757872 internally, add CompletionItemKindModifier, #50972 2019-08-21 18:53:22 +02:00
Johannes Rieken
43aa378a3c better extension host logging 2019-08-21 17:43:49 +02:00
Alex Dima
b58579c643 Use cookie for connection token, align fetching of remote resources 2019-08-21 16:11:35 +02:00
Johannes Rieken
f35f14ffa0 Merge branch 'master' into joh/completionsDeprecated 2019-08-21 10:13:39 +02:00
Matt Bierner
6e530127a1 Make sure we update the webview's internally tracked group for restoration 2019-08-20 16:32:23 -07:00
Matt Bierner
d241987248 Use bi-direcitonal map for mapping webviews to handles 2019-08-20 16:27:43 -07:00
Matt Bierner
b1dd95c883 Fire a single batched event internally to update all webview view states
Previously we fired one event per webview. This change switches to fire on event per update
2019-08-20 16:20:42 -07:00
Matt Bierner
4d9460470a Simplify csp for getDeserializationFailedContents
This page should never contain anything except text
2019-08-20 16:05:11 -07:00
Matt Bierner
1c05a14d3c Don't track webviews separately from inputs
The webviews should always be accessible through the inputs
2019-08-20 16:00:23 -07:00
Matt Bierner
5e57212107 Better handle cases where webview view state in api can get out sync with real view state
Fixes #79492

Simplifies view state management logic in `mainThreadWebviews` to:

* Not be stateful
* Handle cases where a webview's view state changes through a more complex means (see #79492 for an example of this)
2019-08-20 15:57:06 -07:00
Daniel Imms
0b4c4dc892 Ensure resolved cwd is passed back to window
Fixes #1109
2019-08-20 11:02:23 -07:00
Alex Ross
78d48a09cd Get recently opened 2019-08-20 17:37:29 +02:00
Alex Ross
bab821e058 Make custom tree view registration wait until extensions are registered 2019-08-20 16:24:04 +02:00
Benjamin Pasero
d5026ed3fb fix #79453 2019-08-20 11:01:07 +02:00
Matt Bierner
df0dd2edc2 Move webview into browser
Fixes #79424

This file depends on dom api so it should live in browser instead of common
2019-08-19 21:06:47 -07:00
Matt Bierner
c5dc9d16be Finalize asWebviewUri api
Fixes #79242

As discussed, renames `toWebviewResource` to `asWebviewUri` to be consistent with the `asAbsolutePath` api naming
2019-08-19 20:18:26 -07:00
Johannes Rieken
78d462bd86 sync diagnostics, fixes #47292 2019-08-19 18:28:09 +02:00
Sandeep Somavarapu
da827fefed Merge branch 'master' into sandy081/machineOverridable 2019-08-19 17:22:39 +02:00
Johannes Rieken
c8d44e24dd fix scope when falling back to original load function 2019-08-19 14:20:26 +02:00
Matt Bierner
70dc55955d Marking arrays readonly in ExtensionPointUserDelta 2019-08-16 15:12:27 -07:00
Matt Bierner
445ad7021b Use closure instead of parameters 2019-08-16 15:12:27 -07:00
Matt Bierner
ac5887deee Use dispoablestore 2019-08-16 15:12:27 -07:00