Commit Graph

22 Commits

Author SHA1 Message Date
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
Akash Satheesan
093743e365 fix(.../platform/terminal): fix compile, add notes 2021-04-14 18:58:17 +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
f3b1076f1d fix(lib/vscode): get vscode to compile 2021-04-09 17:50:11 +05:30
Akash Satheesan
448ba0ccf2 fix(lib/vscode): fix conflicts in environmentService.ts 2021-04-09 12:50:53 +05:30
Akash Satheesan
15a5d20edf fix(lib/vscode): fix conflicts in extensionsScanner.ts 2021-04-09 12:39:27 +05:30
Akash Satheesan
8fb96b9967 chore(vscode): update to 1.55.2 2021-04-09 11:32:27 +05:30
Joe Previte
f241e38907 chore: fix typo in extensionDownloader 2021-04-06 15:46:57 -07:00
Joe Previte
eaf63deb56 fix(lib/vscode): fix return type shutdown in ptyService
In the squash/merge update, we forgot to update the return type.

Add Promise<void> instead of void for shutdown method.
2021-03-16 10:20:12 -07:00
Joe Previte
d1ad3fad5e fix(lib/vscode): update storageService getStorage methods
This change refactors a lot of the get methods in the storageService.

I think it simplies a lot. It removes a bunch of methods.
2021-03-11 11:02:32 -07:00
Joe Previte
325f21f73d fix(lib/vscode): change doStore > doInitialize AbstractStorageService
Looks like they changed the doStore method to doInitialize in the
AbstractStorageService class.

It no longer accepts any parameters.
2021-03-11 10:58:48 -07:00
Joe Previte
dc5c271a0c fix(lib/vscode): replace doStore with getSotrage
Inside the class BrowserStorageService, it looks like they replaced doStore with
getStorage.

However, at the time of writing this message, I am getting a TypeScript error
saying:
> Non-abstract class 'BrowserStorageService' does not implement inherited
> abstract member 'doStore' from class 'AbstractStorageService'.

Hopefully that will be disappear after I fix other errors.
2021-03-11 10:56:16 -07:00
Joe Previte
0cd3e39492 chore(vscode): update to 1.54.2 2021-03-11 10:27:10 -07:00
Asher
ad24edd2be Revert remaining remote agent connection changes 2021-03-04 13:54:02 -06:00
Joe Previte
502323a9c8 fix: conflicts with remoteAgentConnection
As Asher pointed out, looks like it makes #2381 obsolete.

Hope this all works.
2021-02-25 12:19:21 -07:00
Joe Previte
b952616725 fix: resolve conflict browserSocketFactory 2021-02-25 11:47:02 -07:00
Joe Previte
eae5d8c807 chore(vscode): update to 1.53.2
These conflicts will be resolved in the following commits. We do it this way so
that PR review is possible.
2021-02-25 11:27:27 -07:00
Asher
89c38d3554 Update storage promise
A new doStore was added.
2021-02-09 10:36:39 -06:00
Asher
859de79d97 Update to VS Code 1.52.1 2021-02-09 16:08:37 +00:00
Joe Previte
51a2a2ad2d feat: apply patch after setting up subtree 2020-12-15 15:53:52 -07:00
Joe Previte
41bee49d07 Merge commit 'be3e8236086165e5e45a5a10783823874b3f3ebd' as 'lib/vscode' 2020-12-15 15:52:33 -07:00