Commit graph

5261 commits

Author SHA1 Message Date
João Moreno 67464f3239
update inno-updater (#210762) 2024-04-19 09:37:00 -07:00
Tyler James Leonhardt 2cc4b3d115
Use graceful-fs to buffer fs calls (#210696)
Fixes `EMFILE: too many open files` thrown in the localization pipeline

Co-authored-by: Tyler Leonhardt <tyleonha@microsoft.com>
2024-04-18 22:11:48 +02:00
Connor Peet 26cf440912
preserve old codicon rule (#210489)
* Revert "Revert "Revert #210416 (#210425)" (#210442)"

This reverts commit 31fba19dcf.

* preserve old codicon rule
2024-04-16 19:17:54 +02:00
Sandeep Somavarapu 31fba19dcf
Revert "Revert #210416 (#210425)" (#210442)
This reverts commit 714ce79ed9.
2024-04-16 09:49:08 +02:00
Connor Peet 714ce79ed9
Revert #210416 (#210425)
Keeps only the problematic line out
2024-04-16 00:31:14 +02:00
Sandeep Somavarapu 455584024c
Revert "theme: fix unthemable icons in several areas (#209131)" (#210416)
This reverts commit 6b391eba24.
2024-04-15 14:07:33 -07:00
dependabot[bot] 3692dc8729
Bump tar from 6.1.15 to 6.2.1 in /build/npm/gyp (#210142)
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.15 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.15...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-12 15:29:53 -07:00
Connor Peet 6b391eba24
theme: fix unthemable icons in several areas (#209131)
* theme: fix unthemable icons in several areas

We manually used icon characters in several areas. These are/were entire unthemable. Fixing this required people to manually listen to the theme service and apply rules to their elements when icons change. This PRs adds theme variables that people can use instead.

Fixes #208343

* implement review comments

* fix font-family variable

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2024-04-11 17:30:49 +02:00
Benjamin Christopher Simmonds 2fa8d0c118
Merge pull request #209604 from microsoft/benibenj/governing-caterpillar
Add customizable colors for tree sticky scroll
2024-04-05 10:44:57 +02:00
BeniBenj ab4e8b5398
Add tree sticky scroll colors based on view location fixes #205441 2024-04-05 09:33:37 +02:00
Connor Peet 6813d7ccbc
chore: update to rust 1.77 (#209563)
* chore: update to rust 1.77

* fix tests
2024-04-04 20:34:01 +02:00
Benjamin Christopher Simmonds 8012a40059
Add color item for sidebar title background (#209528)
fixes #209164
2024-04-04 12:28:52 +02:00
Raymond Zhao 951c1b7d76
chore: increase compile job timeout (#209497) 2024-04-03 16:38:22 -07:00
Raymond Zhao 31c538e41f
chore: add new colours (#209457) 2024-04-03 18:23:54 +02:00
Ladislau Szomoru e773c56fe7
Engineering - update suppression file (#209419) 2024-04-03 11:07:01 +02:00
Raymond Zhao a86f13b8f2
chore: increase timeout of Linux x64 job (#209387) 2024-04-03 00:06:09 +02:00
Raymond Zhao 325e4c747b
docs: categorize chat-list-background as other (#209303) 2024-04-02 17:07:42 +02:00
Connor Peet 87780c04c8
eng: fix CSS tooling crashes watch task (#209278)
Get rid of the gulp-postcss plugin and just implement our own, I couldn't get it to work.

Fixes #207827
2024-04-01 20:15:25 +02:00
Connor Peet e169401ec2
testing: fix testing-coverage-lineHeight being marked as a color (#209273) 2024-04-01 19:22:09 +02:00
Connor Peet d42fad27b2
eng: move selfhost test provider as a workspace extension (#208699)
Testing #208184, closes #207756
2024-03-28 09:08:23 -07:00
Robo 6f287b276e
chore: bump electron@28.2.8 (#208868)
* chore: bump electron@28.2.8

* chore: bump distro
2024-03-27 08:47:13 +01:00
Martin Aeschlimann 57b0c146d0
Use serverDataFolderName in check-requirements-linux.sh (#208074)
* Use serverDataFolderName in check-requirements-linux.sh

* remove the (new) file check
2024-03-23 10:10:17 +09:00
João Moreno b40321263d
fix legacy builds (#208314)
* fix legacy builds

* update regex

* extra ?

* argh
2024-03-21 17:25:26 +01:00
Connor Peet 9202044397
testing: better testing side bar retried color (#207949)
* Add missing css variable in vscode-known-variables.json

* Better highlight color for test explorer retired icon

* Add testingRetiredCorlor for different icon state

* Use derived value from non-retired color variable instead of string literals
2024-03-21 09:22:14 -07:00
João Moreno e5515ac702
Adopt 1ES PT (#207844)
* extend 1es pipeline template

* oops

* fix template references

* argh

* hmm

* hm

* hm

* use outputs for compilation artifact

* this

* use 1ES.PublishPipelineArtifact@1 instead of publish

* more 1ES.PublishPipelineArtifact@1 adoption

* provide windows pool for sdl sources

* sdl

* fix pools

* fix macos

* disable sbom for intermediate artifacts

* use mariner linux

* try inline tsa options

* fix credscan

* hm

* sudo it

* more suppressions

* be explicit with SBOM build drop paths

* fix indentation

* fix file extensions

* fix cli sbom build drop paths

* fix more build

* fix unzip cli

* careful with _manifest in artifacts

* do not close file

* add logging

* debug

* use snapcraft container

* remove size check

* fix macos cli step

* fix snap permissions

* fix macos

* better logs

* fix snap

* more cred scan suppressions

* even more supressiong

* alpine-arm64: try using x64

* Revert "alpine-arm64: try using x64"

This reverts commit bf2003bf60.

* test docker

* I wonder

* logs

* hm

* fix indentation

* hm

* hm

* fix snap finds

* remove auth

* use hostArchitecture

* snap: limit find

* hm

* sudo

* Add validateToolOutput: None to the build pipeline

* bring back sdl-scan

* try all tools: true

* use release

* Update Azure Pipelines YAML file for Linux product build and test

* hm

* hm

* same for win32

* hm

* hm

* Revert "hm"

This reverts commit 1b9dcae85b.

* use branch

* fix template file

* fix template paths
2024-03-21 14:16:32 +01:00
Robo 5e0394c8d1
fix: don't package detection script in legacy server (#208274)
* fix: don't package detection script in legacy server

* chore: address review feedback

* chore: rename download asset name
2024-03-21 14:11:57 +01:00
Robo 92e85248d7
fix: use different package name for legacy servers (#208088) 2024-03-19 13:16:17 +01:00
Robo c45557f69b
chore: update server detection script for legacy server (#208000)
* chore: update server detection script for legacy server

* chore: address review feedback
2024-03-18 16:09:27 +01:00
Robo 7c21685343
fix: legacy server stage dependency for CI builds (#207994) 2024-03-18 12:12:23 +01:00
Robo 1413fc87a7
feat: create and upload legacy remote server (#204139) 2024-03-18 11:09:55 +01:00
BABA 0d7f35cf5b Add missing css variable in vscode-known-variables.json 2024-03-17 22:42:41 +08:00
Sandeep Somavarapu 337f8e4ee2
adopt building extensions (#207731)
* adopt building extensions
- remove the dependency on extensions folder

* fix build

* rename

* minimise changes

* clean up

* use regex
2024-03-15 15:06:28 +01:00
Benjamin Christopher Simmonds 7c49f4f7a8
Added Activity Bar Top Active Background Color (#207808)
Added color activity bar top active background #203036
2024-03-15 09:19:54 +01:00
BeniBenj 5527e6ae64
Rename to scroll locking 2024-03-14 16:33:28 +01:00
Matt Bierner c236fc1a87
Remove old built file (#207509) 2024-03-12 15:32:58 -07:00
Robo 6c1e897687
chore: update electron@28.2.6 (#207388)
* chore: update electron@28.2.6

* chore: update distro
2024-03-12 08:42:05 +01:00
Benjamin Christopher Simmonds 43558b2a2d
Activity bar top theme colors (#207172) 2024-03-08 17:13:15 +01:00
Matt Bierner 6403b4367b
Pick up latest TS for building VS Code (#207096) 2024-03-07 12:59:59 -08:00
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