Commit Graph

1819 Commits

Author SHA1 Message Date
Matt Bierner
c14e30aeb4 Show error when webview restore fails 2018-04-05 19:18:55 -07:00
Matt Bierner
753b18ddc1 Handle exceptions in webview serialize 2018-04-05 19:04:45 -07:00
Matt Bierner
e873a42e27 Fix possible webview exception 2018-04-05 19:02:35 -07:00
Matt Bierner
ca3341f659 Move main webview contributions from html to webview 2018-04-05 18:45:09 -07:00
Matt Bierner
bae8e69220 WebviewService -> WebviewEditorService 2018-04-05 18:33:43 -07:00
Matt Bierner
52b59d5e9a Timebox webview serialization 2018-04-05 14:32:46 -07:00
Matt Bierner
d0f7d2e8da Fix compile error 2018-04-05 10:23:23 -07:00
Matt Bierner
caee7a5789 Working on progress indicator when loading webview 2018-04-05 10:16:39 -07:00
Alex Dima
e50d290378 Fixes #10047: include rangeOffset in TextDocumentContentChangeEvent 2018-04-05 12:21:10 +02:00
Benjamin Pasero
a396179e23 debt - notifications should talk about closing not disposal 2018-04-04 16:55:38 +02:00
Matt Bierner
dd21d3520a Add webview restoration api proposal (#46380)
Adds a proposed webiew serialization api that allows webviews to be restored automatically when vscode restarts
2018-04-03 18:25:22 -07:00
Sandeep Somavarapu
1f9184254c Fix #47147 2018-04-03 17:21:33 +02:00
Johannes Rieken
14a2bc0214 Merge branch 'joh/next' 2018-04-03 09:28:19 +02:00
Sandeep Somavarapu
9d58008fa1 Fix #45340 2018-03-30 11:24:02 +02:00
Johannes Rieken
aec9a5e065 fix #42602 2018-03-29 12:57:14 +02:00
Johannes Rieken
99bd3766b7 fix #43052 2018-03-29 12:42:24 +02:00
Johannes Rieken
98d0b747c2 fix #46239 2018-03-29 12:16:20 +02:00
Ramya Achutha Rao
89b196e08f Publisher info is now considered SystemMetaData 2018-03-28 19:39:30 -07:00
Alex Dima
97ff53076c Fix issue #46075: Validate range before checking if it is empty 2018-03-28 18:31:48 +02:00
Alex Dima
51436fe7b7 Merge remote-tracking branch 'origin/master' into bug46075 2018-03-28 18:29:10 +02:00
Christof Marti
90bb79d716 Multi-select picker API: use 'canPickMany' and 'picked' (fixes #46803) 2018-03-28 16:32:29 +02:00
Sandeep Somavarapu
1659e653c3 Show error message if data provider is registered for unregistered view 2018-03-28 12:20:03 +02:00
Benjamin Pasero
19001175dd Progress API percentage is ambiguous (fixes #46743) 2018-03-28 09:44:06 +02:00
Ramya Achutha Rao
451372e82b Add old properties back until we retire them post nova 2018-03-27 14:59:43 -07:00
Alex Dima
6e1f737afc Simplify FormatCommand (#44870) 2018-03-27 18:28:00 +02:00
Alex Dima
118e1445ea Fixes #46208: Recover selection from markers when the undo/redo stack lacks selection information 2018-03-27 17:57:41 +02:00
Benjamin Pasero
8f825bbcb5 Progress can go backwards (fixes #46717) 2018-03-27 17:35:24 +02:00
Benjamin Pasero
6563a31a3f progress - fix debouncer initial value 2018-03-27 17:18:38 +02:00
Benjamin Pasero
098cf01a2e Progress API: Can block renderer (fixes #46642) 2018-03-27 16:14:02 +02:00
Ramya Achutha Rao
eb7edb6c33 Send publisherInfo as new properties for extensions from gallery. GDPR 2018-03-26 21:05:37 -07:00
Martin Aeschlimann
84318e5892 There should be an API command to execute the color provider like we have for code complete and others. Fixes #45867 2018-03-26 23:30:36 +02:00
Christof Marti
ecce88d774 onDidSelectItem (#45589) 2018-03-26 22:46:03 +02:00
Christof Marti
e563e40ead API update (#45589) 2018-03-26 22:46:03 +02:00
Christof Marti
65d5eb5686 Label, description, detail (#45589) 2018-03-26 22:46:02 +02:00
Christof Marti
ea1e57b3ab Multi-select list (#45589) 2018-03-26 22:46:02 +02:00
Alex Dima
a9704b5c56 Fixes #46568: Graduate visible ranges API out of proposed 2018-03-26 17:55:17 +02:00
Dirk Baeumer
6577bde536 Task query and execution polish 2018-03-26 17:04:55 +02:00
Johannes Rieken
addd44d6b8 simplified resolve rename location proposal, #7340 2018-03-26 12:45:40 +02:00
Joao Moreno
b0bfd9538a fixes #46240 2018-03-22 10:12:32 +01:00
Benjamin Pasero
3d81ac21ca Leverage notification progress support for progress API (#45958)
* Leverage notification progress support for progress API

fixes #44090

* only allow positive total/worked values

* drop total/worked in favour of percentage

* make sure to dispose CancellationTokenSource after use

* make the cancellation button optional
2018-03-21 18:06:41 +01:00
Alex Dima
99b5cb6c9c Avoid registering api commands on the renderer 2018-03-21 12:26:00 +01:00
Johannes Rieken
5f8b697437 better timeout-error messages for format on save and onWillSave-event, #45421 2018-03-21 10:38:44 +01:00
Johannes Rieken
91b949634d Merge pull request #46177 from Microsoft/sandy081/treeViewAPI
API - Expose TreeView in API
2018-03-21 10:16:58 +01:00
AiryShift
fe395f5178 Fix #46075 2018-03-21 14:41:04 +11:00
Matt Bierner
67d8eebaf4 Rename webview.show to webview.reveal
Make it more clear that this command only reveals an existing webview

Fixes #44580
2018-03-20 16:16:05 -07:00
Matt Bierner
954c5ae24f Don't set resource on webviews
Fixes #46217
2018-03-20 15:53:22 -07:00
Matt Bierner
ea1fed9616 Use viewType instead of uri for webviews
As discussed in #45994, move from using a uri to using a viewType. The view type is shared among all webviews of a given type, such as all markdown previews

Fixes #44575
2018-03-20 14:44:10 -07:00
Matt Bierner
27a17935b8 Move webview to use onDidChangeViewState event
After discussions, we settled on making the webview private unlike `TextEditors`. This means that webview events will live on the webview object itself

Fixes #44571
2018-03-20 14:30:39 -07:00
Dirk Baeumer
2f5061ff2d Implements #45664: Add API to query and execute tasks 2018-03-20 22:19:40 +01:00
Alex Dima
9077dd978d Remove not needed userExtensionsHome 2018-03-20 17:31:47 +01:00