Commit Graph

22 Commits

Author SHA1 Message Date
Akash Satheesan
70bf7ed90b fix(lib/vscode): fix terminal channel 2021-05-05 22:21:30 +05:30
Akash Satheesan
578b2de131 chore(lib/vscode): clean up comments 2021-04-16 00:39:02 +05:30
Akash Satheesan
9f256cd87a fix(lib/vscode): fix lint errors 2021-04-14 18:58:41 +05:30
Asher
5ebb096db5 Get terminals working
- Instead of a single listener per terminal that handles all events VS
  Code now has a single listener per event that handles that event for
  all terminals.
- Refactor Terminal to extend TerminalProcess to avoid duplicating
  methods. This required some modifications to TerminalProcess to access
  the pid and title and to set the ID.
- Remove our async change to shutdown. This was necessary to avoid
  disposing too early but shutdown already calls dispose so it turns out
  we didn't need to call it ourselves.
- Rename methods to match the command strings.
- Fix getting system shell (uses process.env).
- Use a single bufferer. Since it already supports buffering for
  multiple terminals there's no need to have one per terminal.
- Remove replay/reconnect logic. It's broken and unused so there doesn't
  seem much point in trying to refactor it to fit the changes right now.

While terminals work now there are still a lot of todos.
2021-04-13 16:35:13 -05:00
Akash Satheesan
b1fb9f780b fix(lib/vscode): add listProcesses to terminal channel 2021-04-09 20:20:49 +05:30
Akash Satheesan
feb7013b3a fix(lib/vscode): rename terminal events 2021-04-09 19:16:00 +05:30
Akash Satheesan
f3b1076f1d fix(lib/vscode): get vscode to compile 2021-04-09 17:50:11 +05:30
Joe Previte
36714da613 fixup: move openHelpAbout 2021-03-17 11:25:33 -07:00
Joe Previte
ae02023454 fix(lib/vscode): register LogLevelChannel 2021-03-16 14:25:27 -07:00
Joe Previte
875dfb66a4 fix(lib/vscode): update path for logService 2021-03-16 10:20:14 -07:00
Joe Previte
34189e4d49 fix(lib/vscode): add getAppRoot to VariableResolverService
Not sure if it's used because it can return undefined, but it's
there now!
2021-03-16 10:20:13 -07:00
Joe Previte
dc08bc68c6 fix(lib/vscode): fix terminalLayoutInfoArgs
It looks like before, the ISetTerminalLAyoutInfoArgs and
IGetTerminalLayoutInfoArgs were part of the terminal interface, but now they're
just interfaces so this commit fixes the imports to get them from
vs/platform/terminal/common/terminalProcess.
2021-03-16 10:20:13 -07:00
Joe Previte
e5b7438695 fix(lib/vscode): update imports in channel.ts for terminal
It looks like they moved a bunch of terminal-related files around.

This only fixes the imports.
2021-03-16 10:20:13 -07:00
Asher
01c3d1f53d Implement missing terminal method 2021-03-10 13:15:23 -06:00
Joe Previte
1632a19a76 chore: fix lint error in channel.ts 2021-03-03 11:52:36 -07:00
Asher
ba4448e72d Implement terminal layouts
It doesn't mean much until we persist terminals though, I think.
2021-03-02 14:16:12 -06:00
Asher
058e781b3f Await newly promisified func 2021-03-01 16:39:57 -06:00
Joe Previte
0f18d1fddc fix: update import in channel.ts getSystemShell 2021-02-25 16:44:08 -07:00
Joe Previte
c6e6f8e2b3 chore: add missing semicolon in channel.ts 2021-02-25 12:41:01 -07:00
Adrian Soucup
271c260a36 Fix terminal process leak when closing the window. (#2723) 2021-02-22 13:32:50 -06:00
Asher
068e399bf2 Remove Node browser shim
We used this to run vscodevim in the browser but it now has a version
that is able to run as a VS Code web extension. This does require an
update to our marketplace, however.
2021-02-09 10:40:14 -06:00
Joe Previte
51a2a2ad2d feat: apply patch after setting up subtree 2020-12-15 15:53:52 -07:00