Commit Graph

475 Commits

Author SHA1 Message Date
Johannes Rieken
bae64052f4 unit test for document remove 2020-08-12 09:05:18 +02:00
Daniel Imms
2b353aac93 Remove terminal link handlers
Fixes #91606
2020-08-10 14:19:55 -07:00
João Moreno
c466365768 Merge branch 'master' into pr/90952 2020-08-09 11:04:43 +02:00
João Moreno
6c7ff2bb3a scm: throttle resource group creation 2020-08-05 18:10:35 +02:00
mjcrouch
43d5d68fdd Merge remote-tracking branch 'upstream/master' into scm-resource-context 2020-08-04 17:29:01 +01:00
rebornix
2d3d5208de re #102503. send out save event after notebook content provider handles saving. 2020-08-03 15:12:25 -07:00
Rob Lourens
057c1f141e Fix cell cancellation with kernel in provider 2020-07-30 18:02:38 -07:00
Rachel Macfarlane
c5ae1f3f45 Fix auth provider extension activation on getSession 2020-07-28 19:10:51 -07:00
Daniel Imms
4c145dbb40 Expose Terminal.hideFromUser on all ext hosts
Fixes #103288
2020-07-27 12:11:10 -07:00
Alex Ross
76b7d04718 Change how supported task executions are set
Fixes #103039
2020-07-23 11:19:37 +02:00
Alex Dima
a5d3d4fae6 Fixes #102062: Wait for the renderer socket to drain before exiting the extension host process when running tests 2020-07-22 22:52:39 +02:00
Andre Weinand
b572b43606 remove not used proposed API; see #101883 2020-07-22 09:44:03 +02:00
rebornix
d586f701ec kernel provider settings. 2020-07-20 17:17:50 -07:00
Rob Lourens
90363c2f9d Change cell execution/cancel API
Fix #99203
2020-07-20 14:43:20 -07:00
Rachel Macfarlane
357fe6956c Ensure account preference set after login flow completes 2020-07-20 14:23:14 -07:00
rebornix
f475511726 kernel change event. 2020-07-17 12:02:08 -07:00
rebornix
05144a3d4e new kernel provider works side by side 2020-07-15 17:01:48 -07:00
rebornix
4fc84b3a11 sketch for notebook kernel 2020-07-15 16:18:17 -07:00
Alex Ross
aed6bd7e2a Move findExecutable to extension host
Part of #101073
2020-07-13 14:25:59 +02:00
Rachel Macfarlane
40324ee577 Auth provider tweaks, change types of change events 2020-07-10 10:49:10 -07:00
Johannes Rieken
a8a4e3760b add workspaceStorageHome and use that in extHostStoragePaths, remove appSettingsHome, https://github.com/microsoft/vscode/issues/101857 2020-07-09 12:48:02 +02:00
Andre Weinand
673e35d278 new proposed API stopDebugging; see #101883 2020-07-09 10:49:22 +02:00
Andre Weinand
e308dd3b36 add DebugSession.terminate; see #101883 2020-07-08 18:29:01 +02:00
Alex Ross
fda4c35b27 Make open and save dialog options optional
Fixes #101426
2020-07-08 13:46:10 +02:00
Alex Ross
00ebd1d85f Ensure tasks are resolved when run from extension host
Related to #101884
2020-07-08 10:17:13 +02:00
Johannes Rieken
f08ce02836 debt - remove unused userHome from extHost env, also some todos 2020-07-07 16:01:50 +02:00
Alex Dima
d432126ecf Extract workspaceContains related logic to a separate file (#75284) 2020-07-06 23:15:52 +02:00
Rachel Macfarlane
ab7a5ec3ad Address part of feedback for #100993 2020-07-06 08:51:24 -07:00
isidor
a301dc553b change noCompress -> compress and make default to not compress sessions in call stack
#101429
2020-07-02 11:37:35 +02:00
João Moreno
4b9c19ab03 fixes #101277 2020-06-29 15:46:35 +02:00
isidor
8e40c436dd introduce noCompact flag to DebugSessionOptions
#100852
2020-06-25 10:03:16 +02:00
Alex Ross
39a406daa3 Add resolveTreeItem to custom tree
Part of #100741
2020-06-24 16:29:01 +02:00
Pascal Fong Kye
e3033faeee File operation events support multiple resources (#98988)
* refactor: use array of resources

* refactor: use an array of uricomponentspair

* feat: move many resources

* refactor: rename data to files

* feat: use array of files for copy

* refactor: use move with multiple resources

* refactor: use move method with array of files

* refactor: rename data to files

* feat: moveOrCopy array of resources on paste

* refactor: use concise loop syntax

* test: assert number of events

* refactor: rename uricomponentspair

* support multiple files on WorkingCopyFileEvent

* feat: support multiple resources
onWillRunWorkingCopyFIleOperation onDidRunWorkingCopyFileOperation

* refactor: make source optional for consistency

* refactor: support resources for delete

* test: isolate tests

* fix: iterate over resources

* feat: support operations on delete

* feat: adopt deleting multiple resources

* fix: typing and sequential flow of copyservice

* fix: typing and naming

* fix: typing and naming

* fix: use different message for multiple overwrites

* refactor: naming consistency

* fix: use array resources

* fix: message for multiple overwrites

* fix format

* clean up working copy file service

* refactor multiple overwrites message helper

* use openeditors to bulk open

* split drop copy and move

* add returns

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-06-24 10:32:55 +02:00
Johannes Rieken
3fd09e62b5 send requests per provider so that a hanging provider doesn't block other providers, https://github.com/microsoft/vscode/issues/100524 2020-06-23 11:23:11 +02:00
Connor Peet
a57cb45be8 notebooks: pipe renderer API postmessages to the renderer itself (#100414)
* notebooks: pipe renderer API postmessages to the renderer itself

Previously the postMessage on acquireNotebookRenderer API was just
a proxy to the global vscode postmessage. Now, it's linked to the
renderer and will cause an optional `onDidReceiveMessage` method on
the renderer to be called.

The message still _also_ goes to the global webview message handling
for advanced use cases, but this change allows the webview<->renderer
communication to be more nicely contained
and separate for most use cases.

* wip

* fixup! pr comments
2020-06-22 09:35:16 -07:00
Daniel Imms
395b228387 Merge remote-tracking branch 'origin/master' into tyriar/link_providers 2020-06-19 05:26:26 -07:00
Daniel Imms
a0558707ec Handle link on exthost 2020-06-18 05:15:04 -07:00
Alex Dima
39e3340d04 Push not-null assertion further down to usage 2020-06-18 13:18:47 +02:00
rebornix
6c68514534 Fix #100329. Content providers can contribute to undo/redo stack of a notebook document. 2020-06-17 17:08:09 -07:00
Daniel Imms
2dbf1703b8 Get link providers passing all the way through to the renderer 2020-06-17 12:10:03 -07:00
Alex Ross
1abf21d3d8 Explicitly set task execution way before running task
Part of #100361
2020-06-17 13:39:02 +02:00
rebornix
ca7f2683fd resolve notebook editor with comm object. 2020-06-16 17:21:11 -07:00
rebornix
8ad77ef2b6 mimetype and remove revert. 2020-06-16 14:55:20 -07:00
Daniel Imms
54b6e8fa41 Merge pull request #100011 from microsoft/tyriar/term_errors
Refactor terminal launch, improve error handling and add troubleshoot link to notification
2020-06-15 09:33:41 -07:00
Connor Peet
45dbf43a87 Merge branch 'connor4312/identify-cell-outputs' 2020-06-15 09:14:23 -07:00
Daniel Imms
5053f27c39 Merge branch 'master' into tyriar/term_errors 2020-06-14 06:56:51 -07:00
rebornix
98c3065160 Fix #96840. Support backup/revert from notebook content provider. 2020-06-12 18:00:15 -07:00
Daniel Imms
3581908cce Merge branch 'master' into tyriar/term_errors 2020-06-12 12:49:56 -07:00
Connor Peet
1d1b452f2f notebooks: add ID for rich outputs, expose to renderer and webview
Some API changes:

 - I changed the second param of NotebookOutputRenderer.render to a
   `NotebookRenderRequest` since we were up to four parameters already.
 - The request contains a unique `outputId`, which is generated when
   output is first created or restored (the ID is not stable if a
	 notebook is closed and reopened)
 - I changed the renderer events to `onDidCreateOutput` and
   `onWillDestroyOutput` since they're for outputs, not cells.
 - Additionally, they're called with objects that contain the output
   ID to render.
2020-06-12 12:29:30 -07:00
Daniel Imms
1dd4c04384 Fix launching in ext host/pty terminals 2020-06-12 11:05:45 -07:00