Benjamin Pasero
3d58b4623b
Allow to configure shell resolution time ( #169237 )
...
* Allow to configure shell resolution time
* use `clamp`
2022-12-15 06:14:54 -08:00
Sandeep Somavarapu
dd93163b73
Fix #168560 ( #168996 )
2022-12-13 16:08:23 +01:00
Connor Peet
7e49103c7c
remote: allow _ in ext host resolvedauthority ( #168649 )
...
Fixes https://github.com/microsoft/vscode-remote-release/issues/7661
This character was allowed in https://github.com/microsoft/vscode/pull/167635 ,
but the extension host side did a separate check that I didn't update.
2022-12-09 20:12:04 +01:00
Connor Peet
2348f22d01
server: allow underscores in connection token ( #167635 )
...
Underscores are URL and path safe. Allowing them lets connection tokens
be generated by standard base64 URL encoding without additional escaping
or replacements.
Fixes #167631
2022-11-29 22:09:06 +00:00
Sandeep Somavarapu
d0e44be432
fix #167128 ( #167197 )
2022-11-24 14:22:10 -08:00
Johannes
2d6ad4be88
* add global for node_modules access
...
* remove most usages of require.__$__nodeRequire
* stop using require.nodeRequire
2022-11-18 09:41:43 +01:00
Sandeep Somavarapu
23b25e9d4d
Fix #166147 ( #166648 )
...
- store default extensions manifest in extensions dir
- command to install an extension from location
- remember and init default profile extensions in cached scanner
2022-11-17 15:26:56 -08:00
Raymond Zhao
9feaed8f51
Revert "joh/representative canidae" ( #166641 )
2022-11-17 13:53:17 -08:00
Johannes
0824db3bad
* add global for node_modules access
...
* remove most usages of require.__$__nodeRequire
* stop using require.nodeRequire
2022-11-17 12:09:14 +01:00
Alex Dima
192c67db71
Always use app root for resource URIs (avoid usage of require)
2022-11-08 17:24:24 +01:00
Sandeep Somavarapu
d0bf29c2e7
do not set appication extensions location for default profile ( #165496 )
2022-11-04 05:41:11 -07:00
Sandeep Somavarapu
e9db45a0de
Fix #164690 #164730 ( #165331 )
...
* Revert "Revert "Fix #164690 #164730 (#165279 )" (#165302 )"
This reverts commit d9ed6d1ef4 .
* store migration completion marker in profile
2022-11-03 12:02:53 +01:00
Megan Rogge
d9ed6d1ef4
Revert "Fix #164690 #164730 ( #165279 )" ( #165302 )
2022-11-02 17:48:32 -07:00
Sandeep Somavarapu
9c0c68c8cf
Fix #164690 #164730 ( #165279 )
...
- Maintain default installed extensions manifest always
- Adopt to default installed extensions manifest
- Add externally installed extension to default extensions manifest
2022-11-02 22:48:15 +01:00
Sandeep Somavarapu
fe882ab334
api feedback ( #164470 )
...
* api feedback
- remove critical log level
- move log level off to be 0
* handle off log level
* fix disabling log level in tests
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
2022-11-01 10:41:19 -04:00
Alexandru Dima
98edc01208
Only export symbols that are needed ( #165052 )
...
* Fixes #164934 : Only export symbols that are needed
* `KeyMod` is referenced by `monaco.d.ts`
2022-10-31 07:28:10 -07:00
Joe Previte
30c0860d6e
fix: preserve process.execArgv ( #161853 )
...
This ensures flags like `--prof` are passed down to the vs code process so
we can profile everything.
To test this:
1. run `./lib/node --prof .`
2. in another terminal, run `ps -ejww`
You should see `--prof` next to every vs code process.
2022-10-24 16:51:22 +02:00
Sandeep Somavarapu
845f524e35
Merge pull request #162285 from dtivel/dtivel/verify-packages
...
Add extension signature verification service
2022-10-18 14:14:05 +02:00
Sandeep Somavarapu
2b50ab06b1
support passing extension log level from cli ( #163566 )
2022-10-13 18:21:47 +02:00
Martin Aeschlimann
17c7a08962
Add cli & command to run the code server on the desktop ( #163546 )
...
Add cli & command to run the code server on the desktop
2022-10-13 15:02:42 +02:00
Sandeep Somavarapu
894aa9a7a7
Log improvements ( #163532 )
...
* - expose log level in the proposed api
- ability to set log level per logger
* fix tests
2022-10-13 03:48:52 -07:00
Sandeep Somavarapu
083edcc8a7
Merge branch 'main' into pr/dtivel/162285
2022-10-11 17:04:44 +02:00
Matt Bierner
99e126b0b2
Pick up latest TS version for building VS Code ( #162786 )
...
Pick up latest TS for building VS Code
2022-10-06 12:08:45 -07:00
Megan Rogge
19f4680c26
simplify process kill ( #162833 )
...
fix #162344
2022-10-06 07:01:23 -07:00
Damon Tivel
387563c02b
Add extension signature verification service
2022-10-03 08:20:27 -07:00
Joe Previte
ff9e92cce2
fix: propagate log level to client
2022-09-26 11:28:15 -07:00
Megan Rogge
de450f991c
add basic contextual commands ( #160952 )
2022-09-22 15:30:47 -07:00
Martin Aeschlimann
519b06e4cb
Clean up server-main.js ( #160094 )
...
Errors in server-main.js. Fixes #160015
2022-09-15 12:58:11 +02:00
Benjamin Pasero
099445be72
debt - avoid statSync when computing workspace identifier
2022-09-11 10:04:33 +02:00
Sandeep Somavarapu
39f3ab5b53
Fix #159447 ( #160310 )
2022-09-07 07:43:07 -07:00
Daniel Imms
394bc80513
Fix remote fish shell integration path
...
Fixes #159890
2022-09-02 05:27:30 -07:00
Megan Rogge
212af8702d
get task reconnection to work in remote envs ( #159316 )
...
* fix #159215
* remove unneeded change
2022-08-29 14:59:20 -07:00
Daniel Imms
677b083284
Ensure remote backend command requests are only executed once
...
Fixes #121926
2022-08-19 14:51:17 -07:00
Z. Grace Moreau
95ef9dd07e
add --locate-shell-integration-path CLI support
2022-08-05 11:06:36 -06:00
Benjamin Pasero
f8ae10c8d0
Piping into Code fails if data writes delayed ( fix #155341 ) ( #156973 )
2022-08-03 09:41:12 +02:00
Logan Ramos
cc098faebd
Allow msftInternal to be setting toggled ( #156198 )
2022-07-25 21:01:27 -04:00
Daniel Imms
ac4d678fb9
Support --locate-shell-integration-path in server CLI ( #155870 )
...
* Fix shell-integration remote cli
* Don't silently fail based on TERM_PROGRAM
We want this to work even in terminals where TERM_PROGRAM may not exist, such
as in a regular ssh session. The manual install recommends using an if before
sourcing anyway.
* Handle shell integration option on server cli
* Move shell integration option handling higher
2022-07-25 08:39:27 -07:00
Daniel Imms
ee636283a9
shell-integration -> locate-shell-integration-path
...
Part of #153921
2022-07-19 06:18:59 -07:00
Daniel Imms
053da9df55
Add shell-integration to isSupportedForCmd
...
Fixes #153921
2022-07-18 10:10:00 -07:00
Rob Lourens
5acd9508c9
Support "not in" context key expression ( #155261 )
...
* Support "not in" context key expression
Fixes #154582
* Tweak var name
2022-07-18 10:06:59 -07:00
Benjamin Pasero
a567b593d5
introduce --merge to bring up merge editor (for #5770 ) ( #155039 )
...
* introduce `--merge` to bring up merge editor (for #5770 )
* wait on proper editor when merging
* sqlite slowness
* disable flush on write in tests unless disk tests
* more runWithFakedTimers
* disable flush also in pfs
* introduce `IResourceMergeEditorInput`
* cleanup
* align with merge editor names
* stronger check
* adopt `ResourceSet`
* no need to coalesce
* improve `matches` method
2022-07-18 12:44:07 -04:00
Daniel Imms
2ced901458
Support --shell-integration in server cli
2022-07-13 07:04:23 -07:00
Sandeep Somavarapu
2a4e52e3c0
Enable profiles in web
2022-07-09 00:23:14 +02:00
Sandeep Somavarapu
6037448e13
filter application extensions from non default profile
2022-07-07 14:18:48 +02:00
Logan Ramos
d6114a70be
Remove app insights ( #154296 )
...
* Remove app insights
* Update product service to remove asimovKey
2022-07-06 22:23:30 -04:00
Daniel Imms
575c29b9de
Merge branch 'main' into term
2022-07-06 05:10:58 -07:00
Sandeep Somavarapu
94459e758e
Improve extensions management in profiles
...
- Make version property mandatory in extension profiles (like in web)
- Extend extensions clean up to profiles
- Add necessay changes in other services to support extension cleanup:
- Introduce INativeServerExtensionManagementService
- Extend profile change event to provide added and removed profiles
2022-06-26 00:06:27 +02:00
Tyler James Leonhardt
f8663bce69
fallback in else of loader & remove csp addition ( #153148 )
...
fallback in else of loader
2022-06-24 14:37:17 -07:00
Sandeep Somavarapu
1e5e1a02e8
support application scoped extensions ( #152975 )
...
* support application scoped extensions
* fix tests
2022-06-23 17:04:34 -04:00
Alex Dima
938124008c
Share console wrapping code
2022-06-23 21:47:39 +02:00