Commit Graph

5257 Commits

Author SHA1 Message Date
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