Commit Graph

124157 Commits

Author SHA1 Message Date
dependabot[bot] f0e1640e0a Bump openssl from 0.10.64 to 0.10.66 in /cli (#223104)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.64 to 0.10.66.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.66)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-24 10:49:42 -07:00
Josh Spicer 6ef1071be5 add joshspicer to my-endgame exclusion list (#223527) 2024-07-24 10:48:46 -07:00
Connor Peet f01705ca17 debug: bump js-debug to 1.92 2024-07-24 10:45:57 -07:00
Connor Peet b6d022bc08 fix: --connection-token-file not functional in "code serve-web" (#223524)
Fixes #215537
2024-07-24 10:36:49 -07:00
Tyler James Leonhardt 3873c58c47 If the setting value is the same, do nothing (#223518)
It seems like this event fires in Codespaces... my _guess_ is that Codespaces basically overwrites all the settings from settings sync which causes this event to fire.

It's surprising to me that this event fires even though the value hasn't changed.

I can't repro this with the test resolver, and I also cant have Codespaces use Code - OSS, so we'll just have to see how this goes.

This _should_ do the trick though.

Fixes https://github.com/microsoft/vscode/issues/223508
2024-07-24 10:11:27 -07:00
Megan Rogge afe1dc68da remove acronym which caused screen reader to announce incorrectly, fix typo (#223521)
* fixes #223350

* fix #223379
2024-07-24 10:07:58 -07:00
Megan Rogge b78e55a074 terminate sentence in help dialog (#223522)
fixes #223330
2024-07-24 10:04:36 -07:00
Megan Rogge 21d8e4a7d9 improve description of command (#223519)
fix #223369
2024-07-24 10:01:27 -07:00
Daniel Imms bfc669b276 Inherit font from terminal for suggest
Fixes #210597
2024-07-24 08:41:23 -07:00
Daniel Imms 12f9169c93 Merge pull request #223502 from microsoft/tyriar/223402
Format keys with backticks
2024-07-24 08:12:21 -07:00
Daniel Imms 0946dce398 Format keys with backticks
Fixes #223402
2024-07-24 07:55:46 -07:00
Alex Ross 9b6643ae42 Settings URL handling - "Open Current File as Release Notes" command not working (#223499)
Fixes #223291
2024-07-24 07:52:50 -07:00
Henning Dieterichs 9dc000f7d7 Fixes #223410. Re-layouts the diff editor when decorationsLeft changes. 2024-07-24 16:43:17 +02:00
Ladislau Szomoru 78d09a85c7 SCM - improve history graph filtering (#223497) 2024-07-24 16:39:57 +02:00
Daniel Imms 2da39bdbfb Merge pull request #223496 from microsoft/tyriar/222323
Workaround exception thrown on pty host
2024-07-24 07:25:15 -07:00
Alex Ross f22fd8e869 Settings URL - case sensitivity (#223486)
Fixes #223288
2024-07-24 07:06:13 -07:00
Daniel Imms b4eb7c9449 Workaround exception thrown on pty host
Fixes #222323
2024-07-24 06:50:42 -07:00
Robo 56bfd21a7c Revert "chore: bump electron@30.2.0 (#222756)" (#223494)
* Revert "chore: bump electron@30.2.0 (#222756)"

This reverts commit 6c199b09f8.

* chore: bump distro
2024-07-24 06:49:38 -07:00
Ladislau Szomoru 03f4cbc915 Git - fix condition for setting the base branch (#223493) 2024-07-24 06:23:37 -07:00
Ladislau Szomoru d132d61eac SCM - fix incoming/outgoing actions rendering issue (#223488) 2024-07-24 05:22:59 -07:00
Ladislau Szomoru 2293c3d73c SCM - Move "View Changes" action into core (#223485)
* Move "View Changes" action into core

* Verify that the first/last history item group are on the same branch
2024-07-24 03:59:27 -07:00
Henning Dieterichs 38a7fcd0b2 Fixes https://github.com/microsoft/vscode-copilot/issues/6871 2024-07-24 10:54:19 +02:00
Ladislau Szomoru 9219bf5f1f Git - use first commit as common ancestor if the repository has not been published to a remote (#223476) 2024-07-24 01:38:31 -07:00
Sandeep Somavarapu 1b9da618b4 fix #220025 (#223469) 2024-07-24 00:49:55 -07:00
Alex Ross 7ed4cdc56d Revert "Add telemtry for how long it takes to parse files with tree-sitter" (#223317)
Revert "Add telemtry for how long it takes to parse files with tree-sitter (#…"

This reverts commit 6c15586994.
2024-07-24 08:47:51 +02:00
Sandeep Somavarapu 2b76b3f44a fix #223382 (#223459) 2024-07-23 22:28:27 -07:00
Sandeep Somavarapu b313a171b4 fix #223304 (#223458) 2024-07-23 22:12:57 -07:00
Sandeep Somavarapu 77323c87d8 fix #223298 (#223457) 2024-07-23 22:03:26 -07:00
Sandeep Somavarapu 2f28a09cd4 fix #223318 (#223456) 2024-07-23 21:49:23 -07:00
Sandeep Somavarapu 7e52589530 fix #223388 (#223454) 2024-07-23 21:40:07 -07:00
Sandeep Somavarapu 5b310b51a8 fix #223380 (#223453) 2024-07-23 21:39:03 -07:00
Sandeep Somavarapu 3cbdd820c5 fix #223293 (#223448) 2024-07-23 20:31:15 -07:00
Sandeep Somavarapu 4523f4b593 fix #223320 (#223446) 2024-07-23 20:29:29 -07:00
Sandeep Somavarapu 304e34092f fix #223299 (#223447) 2024-07-23 20:27:58 -07:00
Sandeep Somavarapu 4fee12eaa4 fix #223314 (#223445) 2024-07-23 20:25:28 -07:00
Matt Bierner d4968e8dc6 Fix potential leak of chat editors (#223438)
Fixes #213209

I believe that chat editors are potentially being leaked when progressive rendering ends due to `contentParts` being set without also being disposed of

Also fixes the wrong selection potentially being used

Fixes #217835
2024-07-23 17:49:43 -07:00
Rob Lourens 6b1b06ddc3 Fix having multiple chat citation editors (#223436) 2024-07-23 17:14:16 -07:00
Raymond Zhao d05710b392 fix: dismiss stuck if field polluted (#223423) 2024-07-23 16:19:31 -07:00
Tyler James Leonhardt 26bdc0aaee Don't handle events when quick pick is not visible (#223419)
Fixes https://github.com/microsoft/vscode/issues/223363
2024-07-23 16:10:53 -07:00
Megan Rogge ca3d23f6ba use correct command name (#223399)
fix #223280
2024-07-23 15:58:38 -07:00
Anton Matosov 097ad3ab4e Merge branch 'main' into fix-path-prefix-in-shell-integrations 2024-07-23 15:57:31 -07:00
Anton Matosov 4cbdf3f92a A followup to #171066 fixing zsh and fish shells implementations
#171066 introduced a fix for applying PATH prefix on macOS login shells that resolved #99878. However it had little issues for each shell implementation.
This PR contains the following fixes:

`bash` fix:
 - Add missing `:` separator in the path setter to avoid path corruption
 - Add missing quotes to avoid path interpretation

`zsh` fix:
 - Add missing `:` separator in the path setter to avoid path corruption
 - Add missing quotes to avoid path interpretation
 - Move patching outside of `.zprofile` check as clean macOS install doesn't include this file, nevertheless PATH patching should still happen

 `fish` fix:
 - use `set -gx PATH` instead of `fish_add_path` as the latter has no effect on updating the path if entries already exist in it. Which is the case for some extensions, like [`vscode-micromamba`](https://github.com/mamba-org/vscode-micromamba) which modify process environment and after login shell rc processing path entries end up in the end.
2024-07-23 15:55:39 -07:00
Joyce Er ead2adc1c3 fix: enable Attach Selection to Chat for untitled files (#223413) 2024-07-23 15:42:22 -07:00
Matt Bierner ea0d7033cf Properly gate type acquisition on web (#223403)
For #221299

Make sure we don't register the file system at all in these cases
2024-07-23 15:12:34 -07:00
Matt Bierner d4bb523d43 Fix a few more type assertions (#223138)
For #211878
2024-07-23 12:19:43 -07:00
Caleb Brose d4d2ee31db Add customizations.codespaces.disableAutomaticConfiguration to the devcontainer schema (#223083) 2024-07-23 17:02:53 +02:00
Alex Ross 6c15586994 Add telemtry for how long it takes to parse files with tree-sitter (#213565)
* Make space for tree sitter

* Add the tree sitter wasm file

* Very naive tree-sitter syntax highlighting for html, with a layer breaker

* Update tree when content changes

* WIP for making abstract tokens class

* Handle theme changes

* Replace entire text model value with parse callback

* Perf improvements

* Add tree-sitter-typescript

* Add typescript + better initial parsing

* Refactor into tree parsing service and fix flaw in parse callback

* Remove things that aren't the parser service

* Add yielding

* Remove changes that aren't required for PR

* Remove more file changes

* Reduce yield to 50 ms

* Fix incremental parsing

* Try update node-abi

* Revert "Try update node-abi"

This reverts commit df28801e31.

* Update text buffer chunk api

* fix build

* Remove tree-sitter dependency

* Adopt new, as yet unpublished, `@vscode/tree-sitter-wasm` package

* Use published `@vscode/tree-sitter-wasm` package

* Break `TreeSitterTree` and `TreeSitterParserService` into better pieces
and:
- document the order of editor changes
- use service injection where `TextModel` is constructed

* Fix tests

* Remove unneeded import

* Fix missing tree-sitter-wasm in web and remote

* Make package.jsons match

* Add @vscode/tree-sitter-wasm to web loader config

* Try using importAMDNodeModule

* PR feedback

* Add race condition test for changing language while loading language

* Use same timeout

* Queue content changes

* Remove override dispose

* Move queue into TreeSitterTree

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2024-07-23 14:59:04 +02:00
Rob Lourens 22e3447b4b Add code citation message to string representation (#223160)
For accessibility
2024-07-22 18:50:11 -07:00
Andrea Mah 3931440c47 connections for findTextInFilesNew and FindFiles2New to function (#223151)
* connections for findTextInFilesNew and FindFiles2New to function

* remove log and fix typos
2024-07-22 18:03:32 -07:00
Rob Lourens 4c0302611f Change code citation message, add telemetry (#223159) 2024-07-22 17:56:27 -07:00