Commit Graph

711 Commits

Author SHA1 Message Date
Johannes Rieken
2de06d768b add INotebookSerializer interfaces and wire up IPC calls 2021-03-16 13:19:33 +01:00
Alex Dima
ae4ffb1b81 Handle extension test execution on the UI 2021-03-11 20:19:28 +01:00
Logan Ramos
c72d7612b4 Add an untitled document data property (#115790)
* Add an untitled document data property

* Dispose of the model passed back

* Fix layer problem

* Add untitledDocumentData to untitled notebooks

* Fix compilation errors

* Switch to using VS Buffer

* Fix threading the untitled document data back through

* Prevent save dialog on untitled reopen with

* Change ignore save setting

* Change setting name and abide by preserve focus

* Add unit test

* Switch to js doc comments

* Consolidate calculating the untitled value, and added test
2021-03-10 19:54:18 +00:00
Johannes Rieken
a6d7d86e85 remove viewType from openNotebookDocument call 2021-03-10 14:30:40 +01:00
Johannes Rieken
0f64ef1b65 remove NotebookDocument#contentOptions 2021-03-09 17:44:22 +01:00
Johannes Rieken
9cc276648e remove onDidChangeCellLanguage-event in favor of the existing document closed/opened event sequence 2021-03-09 15:14:30 +01:00
Johannes Rieken
98a22a957a declare cancellation support for openNotebook and wire it up, exempt notebook content provider from provider naming rules 2021-03-09 12:40:37 +01:00
Alex Ross
06044789bf API proposal for PortAttributesProvider (#118446)
Part of #115616
2021-03-08 15:45:32 +01:00
Matt Bierner
ea5f05a435 Trying to clairify how webview options are used and passed around
- Move protocol types into protocol
- Hold off on combining the options objects until serialization
- Add explicit converstions instead of using `...`
- Make a few methods take property bags to help avoid passing arguments in wrong order
2021-03-05 18:49:17 -08:00
Johannes Rieken
230e0fdc9a clean up, some ground work to support viewColumn, $acceptEditorPropertiesChanged must update all state before sending events, remove active notion from notebook editor 2021-03-05 17:22:06 +01:00
Johannes Rieken
68a6f1c30e look up editor by id, slimmer dtos 2021-03-05 17:22:05 +01:00
Sandeep Somavarapu
bc62648b05 Revert "Remove authentication provider package.json declaration"
This reverts commit 811dc8d45a.
2021-03-05 14:02:57 +01:00
Andre Weinand
128e9b502d add frameId to InlineValueContext 2021-03-04 17:58:55 +01:00
Daniel Imms
a5c28d0ca0 Merge remote-tracking branch 'origin/main' into tyriar/remove_flow_control 2021-03-04 08:02:36 -08:00
meganrogge
ba117e60c2 fix #118043 2021-03-03 16:49:38 -08:00
Ladislau Szomoru
14fd07d57a Workspace trust api feedback 2021-03-03 12:41:22 +01:00
Megan Rogge
cf3faa4046 Don't relaunch extension owned terminals (#117987)
Co-authored-by: Daniel Imms <daimms@microsoft.com>
2021-03-02 13:55:38 -08:00
SteVen Batten
ff225b9fcc add telemetry enablement api (#117944) 2021-03-02 07:59:50 -08:00
Rachel Macfarlane
811dc8d45a Remove authentication provider package.json declaration 2021-03-01 14:11:26 -08:00
Johannes Rieken
6dc076b5c4 debt - tackle an old todo 2021-03-01 11:23:38 +01:00
Daniel Imms
a418778243 Merge remote-tracking branch 'origin/main' into tyriar/remove_flow_control 2021-02-26 13:08:09 -08:00
Daniel Imms
91a246998c Remove flow control setting
Flow control is enabled for all non-extension terminals

Fixes #117418
2021-02-26 05:59:58 -08:00
Daniel Imms
df5d7c257d Remove exthost terminal processes
Fixes #116864
2021-02-26 04:35:03 -08:00
Peng Lyu
08eac1a22d Merge pull request #117204 from microsoft/rebornix/nb-selections
Notebook selections/CellRange
2021-02-22 16:25:10 -07:00
rebornix
ed08a14111 selections[0] is primary. 2021-02-22 10:16:57 -08:00
Ladislau Szomoru
05ea4c5e4e Removed optional message, and added modal parameter (#117241) 2021-02-22 14:10:01 +00:00
rebornix
c38aa5a341 file cleaning. 2021-02-21 23:13:03 -08:00
rebornix
dea95d3e4f map handles to cellrange in UI. 2021-02-21 22:24:20 -08:00
rebornix
de956ce8bd differenciate selection and focus. 2021-02-21 19:35:26 -08:00
Daniel Imms
88c471ed62 Merge remote-tracking branch 'origin/main' into tyriar_megan_reconnect 2021-02-19 09:10:28 -08:00
Johannes Rieken
4a74fa81c1 💄 2021-02-19 15:04:17 +01:00
Johannes Rieken
57cd5d4936 🪓 remove unused $acceptDisplayOrder-RPC and everything around it 2021-02-19 15:02:43 +01:00
Johannes Rieken
93ec7113e1 don't bind notebook document to a provider/extension, do then when calling backup, fixes https://github.com/microsoft/vscode/issues/117035 2021-02-19 14:54:32 +01:00
Johannes Rieken
7e7a71d733 💄 more supportsBackup removal 2021-02-19 14:54:32 +01:00
Connor Peet
5a0bf3751a testing: add method to publish extension-provided results 2021-02-18 17:33:24 -08:00
Rachel Macfarlane
d131331195 Remove extra info from onDidChangeSessions event 2021-02-18 15:36:28 -08:00
rebornix
9c77f4d86a add NotebookDocument.save(). 2021-02-18 11:57:49 -08:00
rebornix
e8836805dc remove attachedEditors. 2021-02-18 11:56:18 -08:00
Megan Rogge
7130344e98 Merge branch 'main' into tyriar_megan_reconnect 2021-02-18 11:22:23 -08:00
Daniel Imms
666351b321 Merge remote-tracking branch 'origin/main' into tyriar/megan 2021-02-18 04:35:54 -08:00
Connor Peet
b09a71dce7 testing: update test results api to spec
Refs https://github.com/microsoft/vscode/issues/107467#issuecomment-780776814
2021-02-17 16:34:01 -08:00
Alex Ross
44dbd18255 Wait for tree to be registered before disposing
This fixes the tree view rpc test
Fixes #116776
2021-02-17 11:48:20 +01:00
Alex Ross
7a0caf4d86 Let Remote extensions set port source (#116838) 2021-02-17 10:33:46 +01:00
Daniel Imms
3859ba936d Merge remote-tracking branch 'origin/main' into tyriar/megan 2021-02-16 07:52:25 -08:00
Andre Weinand
e537fd9e31 first cut of proposed "inline values provider" API 2021-02-16 16:31:33 +01:00
Johannes Rieken
974b214334 rename: resolveNotebook is openNotebook 2021-02-16 14:50:57 +01:00
Daniel Imms
982b28f42d Merge remote-tracking branch 'origin/main' into tyriar/megan 2021-02-16 02:44:34 -08:00
Johannes Rieken
18c04a5716 make vscode.NotebookCellRange a class 2021-02-15 16:06:48 +01:00
Johannes Rieken
196bf678a1 reset dirty state when reverting a notebook, update extension host when dirty state of a notebook (working copy) changes 2021-02-15 11:44:51 +01:00
Rachel Macfarlane
14669c2e45 Make scopes parameter optional to getSessions and remove getAllSessions 2021-02-12 09:13:11 -08:00