Commit graph

5223 commits

Author SHA1 Message Date
Johannes Rieken 9626fb0cd2
Inline chat widget tweaks (#206954)
* make status menu configurable

https://github.com/microsoft/vscode/issues/206940

* pull inline chat zone widget into its own file

* 💄

* remove expand/crop feature

* make chat message contents scrollable
2024-03-06 12:51:50 +01:00
Robo 069f4d91f3
chore: bump electron@28.2.5 (#206822)
* chore: bump electron@28.2.5

* chore: bump distro
2024-03-04 19:56:04 +01:00
Rob Lourens 19ecb4b833
Use input.foreground for chat input (#206564)
Fix microsoft/vscode-copilot-release#958
2024-02-29 17:23:07 -08:00
Tyler James Leonhardt 4e81df7ea9
Tear down the Authentication monolith (#206495)
* Tear down the Authentication monolith

Major changes:
* Turn the usage functions into a proper service `AuthenticationUsageService`
* Pull out the access data stuff into its own service `AuthenticationAccessService`
* Pull out things that make sense as actions `ManageTrustedExtensionsForAccount` `SignOutOfAccount`
* Pull out random registry stuff into a proper authentication contribution
* Pull out everything else that is extension specific into its own class (and eventually it should be in MainThreadAuthentication)
* Have the new `AuthenticationService` return a provider instead of having specific methods for getting the `label` or `supportsMultipleAccounts`

* fix tests

* fix tests
2024-02-29 05:41:11 -08:00
Justin Chen 490b0caf30
update variables via test-documentation script (#206379)
update variables via  script
2024-02-27 21:33:37 +01:00
Matt Bierner 920a3a701e
Pick up latest TS for building VS Code (#206264) 2024-02-26 19:56:20 +01:00
Robo 974c6b3fb9
chore: update to electron 28 (#203956)
* chore: update electron@28.1.4

* ci: use latest Node.js v18 release

18.18.2 has npm version that has removed the node-gyp script
which will cause native modules fail to build that rely on
something like `install: node-gyp rebuild`

Refs c93edb55f5

* chore: update rpm dependencies

* chore: bump electron@28.2.1

* chore: bump nodejs@18.18.2

* chore: bump electron@28.2.2

* chore: bump distro
2024-02-26 12:11:47 +01:00
Raymond Zhao 7a40a10b24
chore: bump proxy-agent and ip (#205903) 2024-02-21 11:21:39 -08:00
Benjamin Christopher Simmonds 43d55cbf88
Localize Inno Updater (#205279)
* without translations

* Update messages.en.isl

* translations, hopefully correct encoding

* inno updater v0.11.0
2024-02-19 16:03:48 +01:00
Sandeep Somavarapu 378b4c969b
use vsce-sign module from npm (#205511)
* update distro

* use vsce-sign module

* update distro

* update distro
2024-02-19 09:17:54 +01:00
Benjamin Pasero fc18e59421
Allow to dictate by voice into the text editor (fix #205263) (#205264) 2024-02-15 13:05:23 +01:00
Hylke Bons 07446f6211 chat: Use alternating request/response color 2024-02-13 23:21:39 +01:00
Megan Rogge d560d78a8d
Merge pull request #205019 from microsoft/merogge/rename
AudioCue, Alert -> Signal (Sound, Notification) renaming
2024-02-12 14:40:49 -06:00
Alex Ross 69fd227084
Set settings directly from the release notes (#204832)
* Set settings directly from the release notes
Fixes #204338

* Fix build
2024-02-12 19:46:00 +01:00
meganrogge 3886cb8c43
Merge branch 'main' into merogge/rename 2024-02-12 12:11:11 -06:00
meganrogge 5ff3ac1084
first pass of renaming 2024-02-12 10:34:25 -06:00
ermin.zem c2df354c9f
chore: update vscode known variables (#204568)
Co-authored-by: ermin.zem <ermin.zem@alibaba-inc.com>
2024-02-12 16:01:52 +00:00
Robo 983a3bc0ae
chore: bump electron@27.3.2 (#204960)
* chore: bump electron@27.3.2

* chore: bump distro
2024-02-12 06:42:48 +01:00
Logan Ramos 5303197950
Update type guard (#204763) 2024-02-08 20:37:39 +01:00
Logan Ramos 2033eae5af
Allow publishing retry (#204758)
* Allow publishing retry

* Update build/azure-pipelines/common/publish.ts

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>

* Update build/azure-pipelines/common/publish.ts

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>

* Compile

---------

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2024-02-08 20:00:44 +01:00
Logan Ramos 884acabd70
When receiving an unexpected status code also add information surrounding the headers and body (#204741)
* When receiving an unexpected status code also add information surrounding the headers and body

* Add compiled file
2024-02-08 18:28:40 +01:00
Connor Peet 06eee91ac7
eng: update CLI and a fix for extension test coverage (#204662) 2024-02-08 00:37:58 +01:00
Robo 926d4e5fd1
chore: update electron@27.3.1 (#204580)
* chore: update electron@27.3.1

* chore: bump distro
2024-02-07 12:08:06 +01:00
Robo 9db1b0571e
fix: sysroot used for client (#204559) 2024-02-07 05:50:23 +01:00
Robo 8a98afa440
chore: legacy server cleanups (#204501)
* fix: revert glibc requirements for tunnel cli

* chore: address feedback on wording

* fix: only store state when user allows the prompt

* chore: update checksums for sysroot

* fix: store connection choice per distro

* update rpm deps-list

---------

Co-authored-by: Connor Peet <connor@peet.io>
2024-02-07 10:14:41 +09:00
Rob Lourens cda51f6ab4
Replace chat "command followups" with command button content (#204512)
* Delete CommandFollowups and make inline chat use its own types for command followups

* Add command button, render it properly

* Manage the lifecycle of commands from chat command buttons

* Handle stale session command in type converter

* Fix
2024-02-06 18:37:22 +01:00
Robo cf7ddbb51d
fix: use legacy server as default with additional warnings (#204377)
* ci: switch to glibc 2.17 remote server

* chore: signal user about unsupported connection

* chore: address review comments

* chore: update nodejs build

* chore: bump distro

* chore: lower the minimum requirements

* fix: glibc version check

* chore: remove explicit connection disposal
2024-02-06 11:25:58 +01:00
Hylke Bons 7513cee97b
multiDiffEditor: Card style + update colors (#203499)
* multiDiffEditor: Card style + update colors

---------

Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
2024-02-02 17:24:13 +01:00
Benjamin Pasero a54c7531d0
🆙 esbuild@0.20.0 (#203626) 2024-02-02 11:47:17 +01:00
Johannes Rieken 8ba046adbe
print heap stats instead of memory usage (#203959)
* print heap stats instead of memory usage

* ensure no hanging on to service

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2024-02-01 11:37:19 +01:00
Alex Ross 442c133fe9
Try to fix build pipeline (#203951) 2024-02-01 09:43:05 +01:00
Benjamin Christopher Simmonds 2c5286826b
Merge pull request #203681 from microsoft/benibenj/ytterbic-rooster
Added Tab Drag and Drop Indicator
2024-02-01 09:01:41 +01:00
Connor Peet 7e2981e8a6
eng: fix missing VSCODE_CHECK_ONLY in CLI publish step (#203926) 2024-01-31 21:25:26 +01:00
Connor Peet 3ad2e082c5
eng: group cli build vs publish steps (#203920)
Fixes #203871
2024-01-31 11:22:50 -08:00
Matt Bierner 0404d17da6
Fix nls build script on line such as localize2(...) ... localize(...) (#203851)
For #203842

I believe we need to apply the patches in character order. Otherwise the line ends up corrupted after the patching
2024-01-31 01:40:20 +01:00
BeniBenj a78b270441
💄 2024-01-30 12:49:32 +01:00
Raymond Zhao e284396074
chore: use newest node-gyp for SDL pipeline (#199820)
* chore: use latest upstream node-gyp

* fix: use node-gyp.js file directly

* apply PR feedback

* chore: delete patch file

* Apply PR feedback

* Update cache salt
2024-01-30 12:24:14 +09:00
Connor Peet 0f323440e5
eng: allow css nesting via postcss plugin (#203726)
* eng: allow css nesting via postcss plugin

CSS nesting has landed in most browsers at this point, but we don't want
to break users who are still stuck on old browser (mainly older iOS
devices.) This PR adds a postcss plugin to the build process that
de-nests nested CSS.

The plugin required a newer version of postcss as well, so I have
updated that and a couple other modules to their latest versions.

* update build's package.json versions too
2024-01-29 11:19:37 -08:00
Aiday Marlen Kyzy c75fdbd711
Adding colors from running scripts/test-documentation.sh (#203661)
adding colors
2024-01-29 10:59:52 +01:00
Johannes b7d1c336ee
grrrrr 2024-01-26 16:39:19 +01:00
Johannes a6f9e08a42
make language service a local var, dispose when new file contents are computed, terminate worker pool 2024-01-26 16:33:54 +01:00
Johannes 4e231448f8
those JS files... 2024-01-26 16:20:23 +01:00
Johannes 5abe782c37
log memory usage after each mangling step
https://github.com/microsoft/vscode/issues/202720#issuecomment-1912208685
2024-01-26 16:09:47 +01:00
Connor Peet fde80ce4fb
eng: fix missing rustup command in build (#203462)
Only call rustup when explicitly installing
2024-01-25 17:56:24 +01:00
Rob Lourens 0955a9d9d5
Add background color to chat agent icon so it doesn't overlap copilot icon (#203256) 2024-01-23 15:52:56 -08:00
Robo 39fe2dab67
chore: bump electron@27.2.3 (#202771)
* chore: bump electron@27.2.3

* chore: bump distro
2024-01-22 20:25:03 +01:00
Raymond Zhao 80750ef3eb
chore: bump electron/get to 2.0.3 (#203055)
chore: bump electron/get to ^2.0.0
2024-01-22 20:00:31 +01:00
Connor Peet 2a9a0a06f8
end: use a better hash for built-in cache key (#203033)
For CodeQL
2024-01-22 17:17:58 +01:00
Johannes Rieken 236d5dc072
sha256 over md5 (#202985)
* `sha256` over `md5`

* add missing JS file
2024-01-22 14:40:18 +01:00
Robo 1396f9c827
ci: fix debian packaging step failing to download sysroot (#202973) 2024-01-22 08:12:40 +01:00
Connor Peet e244acbb17
testing: avoid large hovers in test coverage, show inline counts instead (#202944)
Closes #202600

I still have a hover to make the "toggle line coverage" action visible, not sure a better place to put that...
2024-01-21 05:38:46 +00:00
Johannes 335b2d5fd4
quick voice should wrap when getting too long 2024-01-19 15:29:42 +01:00
Matt Bierner fa989a17f1
Switch to non-deprecated overload for rename (#202755) 2024-01-18 20:48:54 +01:00
Michael Lively 309915ba0c
Nb Sticky Scroll z-index & css fixes (#201837)
* no absolute positioning, scrolltop compute based on sticky lines.

* remove z-index var

* compute re-write, remove init, reduce pop-in

* dispose delayer

* remove debounce

* edge case for cell 0 header, next animation frame instead of debounce

* add delayer back, further improve pop in

* remove unused param, update testing snapshots
2024-01-18 11:05:54 -08:00
Sandeep Somavarapu c005fc38a9
fix #197345 (#202715) 2024-01-18 12:28:40 +01:00
Connor Peet 2e3df8a8b1
testing: coverage decorations in high contrast, better default behavior for position-only exts (#202676)
* testing: coverage decorations in high contrast, better default behavior for position-only exts

* update snapshot
2024-01-17 11:15:21 -08:00
João Moreno 85d3cd0eef
do not create a double semi colon when adding to path (#202583)
* do not create a double semi colon when adding to path

fixes #202268

* parens

* bad signature

* hm
2024-01-17 16:54:23 +01:00
Robo 1339f075b1
fix: add linux library dependency check for remote server (#202210)
* fix: add linux library dependency check for remote server

* chore: add faq link

* chore: move to separate file for reuse

* chore: add option to skip check

* fix: check

* fix: package path

* fix: don't forget to exit main script
2024-01-15 17:43:42 +09:00
Connor Peet 1c0c4726d3
testing: finish up coverage decorations (#202391)
* testing: finish up coverage decorations

- Adds an inline decorator for empty-range branches
- Adds hover information for inline coverage hovers
- Fixes the editor not handling decorations that get after/before
  content in `updateDecorationOptions`
- Adds an option `label` for branches
- A bunch of other misc tweaks to get coverage looking nice
- Keep decorations in sync if a user makes changes in editor

* update tests
2024-01-13 07:35:11 +01:00
Paul Köck bb866cd345
Oh, it's already 2024 (#202344)
chore: update copyright year

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2024-01-13 00:38:29 +00:00
Martin Aeschlimann 74f8c5cd89
Make the watermark editor labels themable (#202228) 2024-01-11 10:16:00 +01:00
Henning Dieterichs ad18bb00ce Fixes #199351 2024-01-09 23:40:26 +01:00
Connor Peet 801d79e284
Merge pull request #202048 from microsoft/connor4312/test-coverage-decorations-1
testing: add initial editor decorations
2024-01-09 11:20:46 -08:00
Robo fb76955440
chore: update electron@27.2.1 (#202053)
* chore: bump electron@27.2.1

* chore: enable code cache support for custom standard schemes

Refs 267cbc841e

* chore: remove --ms-enable-electron-run-as-node

Removed in favor of f842ead6bc

* chore: update distro
2024-01-09 08:33:34 +01:00
Connor Peet 0e743a2d91
testing: add initial editor decorations
This is the first pass at decorations in-editor. This PR doesn't
actually register the contribution, as it's not ready for selfhosting
yet. This PR creates decorations that look like this. The idea is that
coverage decorations in the glyph margin will always be visibile when
there's coverage, and users can get coverage in their code via hover or
shortcut, with the intention of making coverage unobtrusive and easy to
run all the time.

![](https://memes.peet.io/img/24-01-8e61f4db-f115-4732-affe-59dea879a335.png)

The notable thing is that there is now a third glyph margin row. I
reworked some of the editor code to handle this.

![](https://memes.peet.io/img/24-01-f400369f-650c-4303-be65-e65903f8ad17.png)

Some open questions:

- The glyph margin coverage wants doesn't need to be full-width, should
  we add a new 'leftmost' glyph lane instead that's thinner?
- Adding breakpoints in files with coverage is a little annoying since
  the breakpoint hint widget can expand the glyph margin on lines with
	coverage, and jump back over otherwise. Probably we should never
	decrease the number of lanes shown whenever the cursor is over the
	glyph margin.

		![](https://memes.peet.io/img/24-01-79b53dd9-6fca-41dd-87b5-a113f9c25efb.gif)
2024-01-08 16:11:42 -08:00
Alexandru Dima cea4eee18a
Use sha256 (resolves CodeQL warning) (#201978)
* Use sha256 (resolves CodeQL warning)

* check in JS file too
2024-01-08 17:03:22 +01:00
Alexandru Dima deae3ca4b1
Switch to using sha256 for checksums (fixes CodeQL warning) (#201977)
* Switch to using sha256 for checksums (fixes CodeQL warning)

* Fix unit test
2024-01-08 14:11:19 +01:00
João Moreno 6f96811659
stop uploading to legacy CDN (#201792)
* stop uploading to legacy CDN

* add missing compilation
2024-01-05 11:45:57 +01:00
João Moreno 91e69a3383
codeql exemption (#201780)
* codeql exemption

* add missing compilation
2024-01-05 11:24:24 +01:00
Robo cbbef4dc01
chore: address codeql warnings (#201776) 2024-01-05 10:03:05 +01:00
Aiday Marlen Kyzy 16894205b6
Changing from outputEditor to outputView (#201290)
changing outputEditor to outputView
2023-12-20 17:14:32 +01:00
Jithil P Ponnan 01fc3110be
chore: replace deprecated octal escape sequences with hex (#197518) 2023-12-20 16:30:32 +01:00
Connor Peet 64c8c3fe98
eng: hint if rate limit error is reached on preinstall (#200993)
* eng: hint if rate limit error is reached on preinstall

Fixes #194790

* compile
2023-12-15 18:49:51 +01:00
Aiday Marlen Kyzy d19f384e1a
Merge pull request #200251 from microsoft/aiday/outputViewStickyScroll
Setting a different color for the output view
2023-12-13 16:09:20 +01:00
Robo f87fb292c3
ci: fix missing auth token for cli build (#200714) 2023-12-13 08:27:54 +01:00
Robo e7b5076dd7
refactor: use sysroots on linux prod pipeline (#192513)
* ci: use sysroots on linux prod pipeline to build native modules

* ci: rebuild after electron update
2023-12-12 11:39:00 +01:00
Aiday Marlen Kyzy d3d984d0ca
registering two new colors for outputEditor and outputEditorStickyScroll background colors 2023-12-08 18:04:05 +01:00
Aiday Marlen Kyzy 14d593fb5f
Adding colors vscode-editorStickyScroll-border and vscode-editorStickyScroll-shadow (#200239)
* adding two more colors

* rewording text and making the border color null
2023-12-08 17:25:59 +01:00
Aiday Marlen Kyzy b5ad415b68
adding new color for sticky scroll inside of the panel 2023-12-08 15:05:20 +01:00
Aiday Marlen Kyzy 797f78fb64
wip 2023-12-07 17:30:32 +01:00
Robo 12fece34ed
chore: update to electron 27 (#197539)
* chore: update electron@27.0.2

* chore: update debian dependencies

* chore: bump electron@27.0.4

* chore: bump electron@27.1.0

* chore: bump electron@27.1.3

* chore: bump distro
2023-12-07 10:48:24 +01:00
易良 1ac14a7f70
fix: console format of fetchUrl (#198909)
* fix: console format of fetchUrl

* compile

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2023-12-05 07:43:00 +00:00
Robo ef804e738b
chore: update electron@25.9.7 (#199854)
* chore: update electron@25.9.7

* chore: bump distro
2023-12-02 08:17:36 -07:00
Aiday Marlen Kyzy b49fc606c5
definining a new color for the lightbulb ai icon 2023-11-29 16:07:41 +01:00
Daniel Imms 04a693546e
Merge pull request #196204 from microsoft/tyriar/hangul
Support for hangul alt chars
2023-11-27 12:42:30 -08:00
Daniel Imms da16e8c6e0
Make unicode file lint rule more strict 2023-11-27 11:57:32 -08:00
Robo 83ba577c3f
chore: bump electron@25.9.6 (#199179) 2023-11-27 17:45:25 +01:00
Daniel Imms 33206f240d
Merge branch 'main' into tyriar/hangul 2023-11-23 02:58:30 -08:00
Connor Peet e0ef3fcd18
testing: initial test coverage UI (#198812)
This continues on the coverage API I started a few years ago. It adds
initial integration where a "Show Test Coverage" tree item is shown in
the Test Results view, which then opens a dedicated Test Coverage view.
The Test Coverage view is a fairly basic tree view following the draft
design, with further improvements to come.

The 'bars' widget is also built in a reusable way such that it can be
integrated into the explorer, as this was a popular ask both inside and
outside the team.

For #123713.
2023-11-22 07:08:34 -08:00
João Moreno e469272e45
remove inline sourcemaps from build files (#198842) 2023-11-22 14:05:46 +01:00
João Moreno ead63533e1
Make publishing required (#198839)
make publishing required
2023-11-22 12:12:47 +01:00
João Moreno 244c48768d
Make PRSS CDN optional (#198631)
* empty commit

* mooncake creds expired

* more logs

* prevent exit

* log

* async is hard

* 💄

* temporarily ignore PRSS errors

* whitespace
2023-11-19 20:15:53 +01:00
João Moreno b1cddfafe0
tighten up blob uploading (#198553)
* tighten up blob uploading

* bad save

* bad save again
2023-11-18 09:41:37 +01:00
João Moreno fc6b857956
Workaround for AZDO artifact throttling (#198545)
* download and extract in main thread, spin off other threads for rest of IO

* remove limiters: everything runs on workers now

* add docs
2023-11-17 10:54:55 -07:00
João Moreno aa61b56229
Fix issue in counting artifacts on retries, improve parallelization (#198488)
* try to parallelize downloads

* improved logs

* allow 5 parallel downloads

* fake browser requests

* fix artifacts processed file in retries
2023-11-17 15:03:32 +01:00
João Moreno 87e7f8b5e1
replace node-fetch with native fetch (#198408)
* replace node-fetch with native fetch

* fix dep version

* handle terminated error from fetch

* more error handling
2023-11-16 17:29:35 +01:00
João Moreno 0b111a09a1
Publish to new CDN (#198154) 2023-11-16 07:19:59 +01:00
Ladislau Szomoru 9a207df841
SCM - adjust statistics badge border when item is selected/focused (#198367) 2023-11-15 15:07:09 -08:00
Ladislau Szomoru 5fcda6b8c5
SCM - improve statistics badge (#198353) 2023-11-15 13:31:00 -08:00
Henning Dieterichs f26376f1f5 Removes unneeded monaco-editor-esm-bundle 2023-11-15 19:41:53 +01:00