Commit Graph

71 Commits

Author SHA1 Message Date
Daniel Imms
2b353aac93 Remove terminal link handlers
Fixes #91606
2020-08-10 14:19:55 -07:00
Daniel Imms
1228a1a116 Support cancellationToken in provideTerminalLinks
Fixes #101451
2020-07-29 06:59:40 -07:00
Daniel Imms
4c145dbb40 Expose Terminal.hideFromUser on all ext hosts
Fixes #103288
2020-07-27 12:11:10 -07:00
Daniel Imms
fe39b1c6de Revert "Convert TerminalLink.length to endIndex"
This reverts commit 48ce8ecce7.

Fixes #101455
2020-07-14 21:25:13 -07:00
Johannes Rieken
2d27d4d079 use NotSupportedError for symbols that require the ability to launch processes, https://github.com/microsoft/vscode/issues/101857 2020-07-14 11:32:28 +02:00
Daniel Imms
108d4dfbf4 Return '' from env.shell, remove env var collection overrides
Part of #101857
2020-07-13 06:37:04 -07:00
Daniel Imms
b8b7e72473 Move env var collection impl into common
Part of #101857
2020-07-13 06:26:35 -07:00
Johannes Rieken
cbbd1d55a8 re-use default NotImplementedError, fyi @Tyriar, https://github.com/microsoft/vscode/issues/101857 2020-07-13 12:20:24 +02:00
Daniel Imms
48ce8ecce7 Convert TerminalLink.length to endIndex
Aligns more with other APIs

Part of #91290
2020-06-24 06:10:39 -07:00
Daniel Imms
4c51b89d2c Remove TerminalLink.target
Part of #91290
2020-06-24 06:10:38 -07:00
Daniel Imms
a560acd1bd Remove test link provider 2020-06-21 18:01:33 -07:00
Daniel Imms
cb5ddcf44f Resolve todos, move process creation after xterm
Having _processManager.createProcess called before _createXterm was causing
some event listeners like onProcessReady to fire before they were registered
within _createXterm.
2020-06-21 08:12:13 -07:00
Daniel Imms
ef93f6eb65 Update 2020-06-18 05:53:38 -07:00
Daniel Imms
a0558707ec Handle link on exthost 2020-06-18 05:15:04 -07:00
Daniel Imms
2dbf1703b8 Get link providers passing all the way through to the renderer 2020-06-17 12:10:03 -07:00
Daniel Imms
16466627c1 Scaffold out link provider proposed API
Part of #91290
2020-06-16 11:47:48 -07:00
Daniel Imms
1dd4c04384 Fix launching in ext host/pty terminals 2020-06-12 11:05:45 -07:00
Daniel Imms
e6c745ebef Refactor terminal launch logic to improve error
Fixes #99905
Part of #99996
2020-06-12 07:02:27 -07:00
Matt Bierner
cadabab73f Mark _serviceBrand properties using declare (#99312)
_serviceBrand is only used for typing and should not result in emit

Also adds readonly
2020-06-05 11:04:15 -07:00
Daniel Imms
7f5bada046 Move EnvironmentVariableCollection API into ExtensionContext (#96061)
* Move env var collection to ext context

* Remove dispose, fix persistent passing

* Fire collection change on persistence change

* Fix tests by forcing activation and getting ctx

* chore: bump js-debug

Co-authored-by: Connor Peet <connor@peet.io>
2020-04-24 16:45:30 -07:00
Daniel Imms
8279cc70d9 Respect thisArg in EnvironmentVariableCollection.forEach
Fixes #94077
2020-04-09 06:05:34 -07:00
Daniel Imms
fe36108236 Add dispose checks to env var collections
Fixes #94066
2020-04-04 21:15:43 -07:00
Daniel Imms
000f8392b3 Only persist collections marked to do so 2020-03-27 09:03:53 -07:00
Daniel Imms
058bd5dbf7 Don't trigger renderer sync when no change happened 2020-03-27 07:51:51 -07:00
Daniel Imms
d91532afa8 Load in persisted collections from past sessions on ext host 2020-03-27 07:44:56 -07:00
Daniel Imms
1235bd0a60 Support diffs of collections, extracting additions 2020-03-26 16:51:04 -07:00
Daniel Imms
edc7100114 Apply multiple extension mutators, share code with ext host 2020-03-26 15:40:03 -07:00
Daniel Imms
ed9e7241b7 Move single ext collection updates across 2020-03-25 11:57:12 -07:00
Daniel Imms
b2a9d4dd61 Serialize collections on ext host 2020-03-25 07:35:19 -07:00
Daniel Imms
97eaa84d46 Pass terminal method through to ext host terminal service 2020-03-24 08:02:11 -07:00
Daniel Imms
9425f1224d Move prop to top of class 2020-03-13 07:07:51 -07:00
Daniel Imms
b66d56602f Implement terminal link handler API
Part of #91606
2020-03-12 18:17:18 -07:00
Daniel Imms
cd17694974 Fix possible race condition
Fixes #90883
2020-02-18 07:35:59 -08:00
Benjamin Pasero
54d57f552f Integration tests: terminal throws exceptions (fix #90046) 2020-02-13 11:31:52 +01:00
Daniel Imms
5fad95f544 Change getDefaultShellAndArgs to use promises
Part of #75793
2020-02-05 12:03:45 -08:00
Daniel Imms
1aefcce704 Change requestAvailableShells to use promises
Part of #75793
2020-02-05 11:55:14 -08:00
Daniel Imms
ba8caea056 Merge branch 'master' into pty-links 2020-02-04 10:31:35 -08:00
Daniel Imms
a62805844e Expose IExtHostTerminalService.getDefaultShellArgs internally
Fixes #88280
2020-01-13 07:45:08 -08:00
Konstantin Solomatov
fbec956fc4 Fix link handing in extension pseudoterminals 2020-01-10 15:15:34 -08:00
Matt Bierner
1b70625f8c Use import type when importing vscode under src
When the core references `vscode`, we only want to import the types and never generate a real import (which will fail to load). Use `import type` to better enforce this
2020-01-10 14:25:21 -08:00
Daniel Imms
027d7caec5 Flush all buffered data events on terminal close
Fixes #85257
2020-01-02 08:41:08 -08:00
Daniel Imms
d630afbbb0 Fix strictFunctionTypes in extHostTerminalService
Part of #81574
2019-11-19 11:13:59 -08:00
Daniel Imms
649ef05dfb Fix ws 2019-11-17 12:55:10 -08:00
Daniel Imms
f329ef3753 Merge dimensions into awaiting object 2019-11-17 12:54:38 -08:00
Daniel Imms
6d7f763548 Only set _extensionTerminalAwaitingStart when deferred start is needed 2019-11-17 12:52:17 -08:00
Daniel Imms
1004d51605 Merge branch 'master' into pty_bug 2019-11-17 12:35:57 -08:00
Konstantin Solomatov
b07e52a4ed 200 -> 2 * EXT_HOST_CREATION_DELAY * 2
remove dead code
2019-11-09 20:29:27 -08:00
Konstantin Solomatov
b145048e2c Remove pointless code 2019-11-09 20:15:40 -08:00
Konstantin Solomatov
794ed4ff1c Fixed test 2019-11-08 11:55:23 -08:00
Konstantin Solomatov
ed52435fe5 Fixing tests 2019-11-08 11:29:09 -08:00