Commit Graph

125 Commits

Author SHA1 Message Date
Joe Previte d21d5cd8d9
fix(deps): update yarn lock 2021-04-12 15:57:26 -07:00
Joe Previte 003dc0feeb
chore(release): bump version to 3.9.3 2021-04-08 11:18:56 -07:00
Joe Previte f241e38907
chore: fix typo in extensionDownloader 2021-04-06 15:46:57 -07:00
Asher 230b0dfce4
Ignore ipc.d.ts during VS Code lint
We already lint it on our side.
2021-04-02 11:12:13 -05:00
Asher 101c2a01f1
Fix tsc watch restarting when it shouldn't
It seems reaching into lib/vscode for the types caused tsc to establish
watches that caused it to restart over and over while vscode was
building.

The strategy used here is to symlink it instead which is the same thing
we do for the proxy agent.
2021-04-01 10:58:56 -05:00
Akash Satheesan 8332a6abc9
fix(lib/vscode): remove native-keymap and keytar (#2961)
native-keymap and keytar are only used in the electron process,
so we don't need them. This allows us to drop our dependencies on
libx11-dev, libxkbfile-dev, and libsecret-dev.
2021-03-25 22:20:58 +05:30
Joe Previte 090687d057
feat: add e2e test for logout 2021-03-23 10:02:03 -07:00
Joe Previte 5cec6208d0
refactor: add cookie.ts to lib/vscode 2021-03-23 10:02:03 -07:00
Joe Previte 9f790fd2f3
feat(lib/vscode): add log out to application menu
This adds a new option to the Application Menu called Log out.

It deletes the code-server cookie and logs a user out.
2021-03-23 10:02:02 -07:00
Joe Previte aae17cb749
fixup: fix comment in server.ts 2021-03-22 10:43:02 -07:00
Joe Previte 19c2f31f22
fixup: remove comment in server.ts 2021-03-22 10:37:44 -07:00
Joe Previte 36714da613
fixup: move openHelpAbout 2021-03-17 11:25:33 -07:00
Joe Previte d3df963d39
Merge branch 'main' into jsjoeio/upgrade-vscode-1.54 2021-03-16 14:42:51 -07:00
Joe Previte bcdca86539
refactor: change goHome test to helpAbout 2021-03-16 14:25:28 -07:00
Joe Previte ae02023454
fix(lib/vscode): register LogLevelChannel 2021-03-16 14:25:27 -07:00
Asher 050a1bb146
Fix localizations service import
It was moved from electron-browser to electron-sandbox.
2021-03-16 10:20:14 -07:00
Joe Previte 875dfb66a4
fix(lib/vscode): update path for logService 2021-03-16 10:20:14 -07:00
Joe Previte 8f414b5005
fix(lib/vscode): make mkdir recursive 2021-03-16 10:20:14 -07:00
Joe Previte 25dbb5b1b6
fix(lib/vscode0: localizations import in client 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
Joe Previte c42240f182
fix(lib/vscode): refactor mkdirp to fs.promises
They removed mkdirp in favor of fs.promises.

Updated in marketplace.ts
2021-03-16 10:20:13 -07:00
Joe Previte 350ddc3c27
fix(lib/vscode): update log service in server.ts
This required a bit more work.

We moved a few things around and made use of multiplexLogService.
2021-03-16 10:20:13 -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 cc8e4ee97c
fix(lib/vscode): update extensionManagementService
Looks like a few import updates and one minor update for language packs.

We had made this change ourselves, but now it's officially in the vscode
codebase. Super cool.
2021-03-16 10:20:12 -07:00
Akash Satheesan 702485139a
chore: update vulnerable dependencies (#2861)
Cherry-pick dependencies with security issues to update.

Signed-off-by: Akash Satheesan <akash@coder.com>
2021-03-12 01:46:40 +05:30
Joe Previte 8512be85a5
fix(lib/vscode): update electron-sandbox localizationService
I'm not sure if we even use this but they changed the LocalizationService.o

It looks like it using one called ISharedProcessService now.
2021-03-11 11:09:37 -07:00
Joe Previte 42ff0ec5e7
fix(lib/vscode): update dialogHandler
Looks like a minor update to the localization for the detailString
which I believe shows up when you go to Help:About.
2021-03-11 11:06:05 -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 e79ca99466
feat(lib/vscode): update src/vs/base/node/languagePacks.js
It looks like a couple functions were added here
such as a readFile and writeFile.
2021-03-11 10:47:52 -07:00
Joe Previte 548b6fb628
fix(lib/vscode): package.json and yarn.lock
No new dependencies were added in the 1.54.2 update.
2021-03-11 10:46:08 -07:00
Joe Previte 0cd3e39492
chore(vscode): update to 1.54.2 2021-03-11 10:27:10 -07:00
Asher 01c3d1f53d
Implement missing terminal method 2021-03-10 13:15:23 -06:00
Asher 5a1f62a8fb
Support permessage-deflate web socket extension (#2846) 2021-03-10 13:14:24 -06:00
Joe Previte 925073db31
Merge pull request #2773 from cdr/upgrade-vscode-1.53
feat(vscode): update to version 1.53.2
2021-03-05 14:03:10 -07:00
Asher 61b5c09770
Allow our server code to be tracked in git 2021-03-04 13:54:04 -06:00
Asher 34b1e756f9
Remove old commented out postinstall steps 2021-03-04 13:54:03 -06:00
Asher ad24edd2be
Revert remaining remote agent connection changes 2021-03-04 13:54:02 -06:00
Asher 32cbaf2ce3
Remove unused build import 2021-03-04 10:37:02 -06:00
Joe Previte 1632a19a76
chore: fix lint error in channel.ts 2021-03-03 11:52:36 -07:00
Asher 4d3d1b844d
Handle permessage-deflate on sockets
With this the extension host is working again.
2021-03-02 17:18:49 -06:00
Asher 150138e04b
Update env vars for extension host
They now are all prepended with VSCODE_. Also added the parent pid to
ensure it shuts down when the parent dies.
2021-03-02 15:59:47 -06: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 3e081ea66c
Merge pull request #2801 from cdr/disappearing-dismiss 2021-03-02 10:14:19 -06:00
Asher 058e781b3f
Await newly promisified func 2021-03-01 16:39:57 -06:00
Asher c7d59e81dd
Add tabIndex to extension help dismiss button
This makes it accessible via keyboard.
2021-03-01 13:39:34 -06:00
Asher 6dd8b63f4c
Add div for inner extension helper text
The theme callback would set innerHTML on the header which wipes out the
dismiss button. With an inner div we can replace the inner HTML without
worrying about other elements in the header.

Closes #2799.
2021-03-01 13:31:36 -06:00