Граф коммитов

2879 Коммитов

Автор SHA1 Сообщение Дата
David Barbet 43575e8b40 Update configs after 17.14 p1 snap 2025-01-27 17:17:57 -08:00
dotnet-maestro[bot] d9dd7b6f80 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20250124.2
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.606501 -> To Version 10.0.607402
2025-01-27 05:01:32 +00:00
Chris Sienkiewicz 4b6227bb3f
Synchronize razor compiler assembly loading (#11394)
* Simplify. Just let roslyn always load the compiler assemblies.

* Update doc

* Update roslyn version

* Fix warnings introduced when multitargeting

---------

Co-authored-by: Fred Silberberg <fred@silberberg.xyz>
Co-authored-by: Jared Parsons <jared@paranoidcoding.org>
2025-01-22 19:56:07 -08:00
dotnet-maestro[bot] 4d89d04674 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20250115.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.606004 -> To Version 10.0.606501
2025-01-20 05:02:18 +00:00
dotnet-maestro[bot] 40df8b32e1 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20250110.4
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.605601 -> To Version 10.0.606004
2025-01-13 05:02:57 +00:00
David Wengier aa8e1c5b6d Merge remote-tracking branch 'upstream/main' into CohostBreakpoints 2025-01-09 16:17:12 +11:00
David Wengier 090c51ba84 Bump Roslyn to a real version 2025-01-09 10:13:16 +11:00
David Barbet 220f150fc7 Update configs for 17.13 P3/17.14 2025-01-06 14:48:31 -08:00
dotnet-maestro[bot] 1be28eb0af Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20250106.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.563001 -> To Version 10.0.605601
2025-01-06 16:31:41 +00:00
dotnet-maestro[bot] 23359c81cb Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241230.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.562001 -> To Version 10.0.563001
2025-01-06 05:02:04 +00:00
dotnet-maestro[bot] abfc0ed0ce
Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241220.1 (#11331)
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.561001 -> To Version 10.0.562001

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-12-23 06:53:13 -08:00
David Wengier 4cc8056a6a
Port inline completion to cohosting (#11277)
Fixes https://github.com/dotnet/razor/issues/10744
Needs https://github.com/dotnet/roslyn/pull/76293 to merge and a version
bump, but you know the idea by now I'm sure.

Pretty straight forward. The test snippet file was copied directly from
Roslyns own inline completion tests. Turns out our existing inline
completion has zero tests, and was inadvertently turned off in the first
cohosting completion PR 🤦‍♂️
2024-12-17 10:32:20 +11:00
dotnet-maestro[bot] 12d92e5599 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241210.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.560201 -> To Version 10.0.561001
2024-12-16 13:42:22 +00:00
David Wengier 729096dcf3 Merge remote-tracking branch 'upstream/main' into CohostInlineCompletion 2024-12-12 11:09:53 +11:00
David Wengier 4f65601ae1 Bump dependencies 2024-12-12 11:06:53 +11:00
David Wengier ef0d973dd9 Bump Roslyn 2024-12-12 10:23:33 +11:00
Carlos Sánchez López 37fe198029
Apply suggestions from code review
Co-authored-by: David Wengier <david.wengier@microsoft.com>
2024-12-09 15:50:08 -08:00
Carlos Sánchez López 519d583b26 Only update razor dependencies coming from
maintenance-packages when source build is true. Tracking issue:
 https://github.com/dotnet/sdk/issues/45155
2024-12-09 15:35:33 -08:00
dotnet-maestro[bot] a96800b481 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241202.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.557602 -> To Version 10.0.560201
2024-12-09 13:44:15 +00:00
dotnet-maestro[bot] f21a466685 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241126.2
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24571.2 -> To Version 10.0.557602
2024-12-02 13:46:36 +00:00
David Wengier db3fecf853
Support FAR in cohosting (#11238)
Fixes https://github.com/dotnet/razor/issues/11237
Needs https://github.com/dotnet/roslyn/pull/76002 and a version bump

Very simple one, though I was a little cheeky. There is basically no
code that could be shared, except for code that removes `__o` and
`k_BackingField` from the results, but those methods operate on VS LSP
types. Given cohosting largely uses Roslyn LSP types, and will be
exclusively FUSE, and FUSE doesn't have `__o`, I just skipped that bit.
Confirmed in VS that having cohosting and FUSE on makes for nice looking
results with no generated code artifacts.

Side note: I don't think anything will ever have `k_BackingField` in the
results, but there is zero test coverage so who knows! 😁
2024-12-02 08:45:09 +11:00
David Wengier b1178a7dad Bump Roslyn and handle null location 2024-11-27 18:53:52 +11:00
dotnet-maestro[bot] 87270dc7b8 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241121.2
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24561.2 -> To Version 10.0.0-alpha.1.24571.2
2024-11-25 13:58:26 +00:00
dotnet-maestro[bot] 8b4123ff11
[main] Update dependencies from dotnet/arcade (#11246)
* Update dependencies from https://github.com/dotnet/arcade build 20241122.2

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.24562.13 -> To Version 9.0.0-beta.24572.2

* Failed to perform coherency update for one or more dependencies.

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-11-25 12:38:42 +01:00
Jan Jones 9a20f41999
Update data for snap 17.13P2 (#11242) 2024-11-24 18:02:47 +01:00
dotnet-maestro[bot] 59efa0f522 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241111.2
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24558.1 -> To Version 10.0.0-alpha.1.24561.2
2024-11-18 13:56:59 +00:00
Fred Silberberg 4d7ed74cf4
Handle skipped trivia in the C# tokenizer (#11207)
* Handle skipped trivia in the C# tokenizer

Reaction to https://github.com/dotnet/roslyn/pull/75724. Will need to update to a version of Roslyn with this change to be able to test.

* Account for included newline

* Update versions

* Report an error when encountering a `#` in skipped tokens, new tests/update baselines

* More baselines

* Add test example
2024-11-16 08:35:12 -08:00
dotnet-maestro[bot] e85c2f885e
Update dependencies from https://github.com/dotnet/arcade build 20241112.13 (#11211)
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.24516.2 -> To Version 9.0.0-beta.24562.13

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-11-15 08:52:36 +01:00
dotnet-maestro[bot] 6a35742bda Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241108.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24530.1 -> To Version 10.0.0-alpha.1.24558.1
2024-11-11 13:42:23 +00:00
David Wengier 04da68965e Merge remote-tracking branch 'upstream/main' into dev/dawengie/CodeActionsPart5 2024-11-06 14:41:19 +11:00
David Wengier 4ef1668cd0 Bump Roslyn to 4.13.0-2.24554.8 2024-11-05 16:17:17 +11:00
dotnet-maestro[bot] 42d79acb2f Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241030.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24521.1 -> To Version 10.0.0-alpha.1.24530.1
2024-11-04 13:38:29 +00:00
Alex Gavrilov 41693dec1d
Update Roslyn package references to latest available and do minor fixup (#11113)
* Update Roslyn package references to latest available and do minor fixup

* Updating Versions.Details.xml to match Versions.props

* PR suggestion

* Fixing test failures

Roslyn was requesting new IRazorMappingService and our TestRazorDocumentServiceProvider was throwing. Returning null for now per suggestion from Andrew.

* Adding TODO comment per code review
2024-10-30 06:08:43 -07:00
David Wengier 5683be72a5
[main] Update dependencies from dotnet/source-build-reference-packages (#11104)
This pull request updates the following dependencies

[marker]: <> (Begin:011df26a-fbd1-45b0-94b9-08db3601dcca)
## From https://github.com/dotnet/source-build-reference-packages
- **Subscription**: 011df26a-fbd1-45b0-94b9-08db3601dcca
- **Build**: 20241021.1
- **Date Produced**: October 21, 2024 5:34:14 PM UTC
- **Commit**: ccd0927e3823fb178c7151594f5d2eaba81bba81
- **Branch**: refs/heads/main

[DependencyUpdate]: <> (Begin)

- **Updates**:
-
**Microsoft.SourceBuild.Intermediate.source-build-reference-packages**:
[from 10.0.0-alpha.1.24515.1 to 10.0.0-alpha.1.24521.1][1]

[1]:
4660d88cf9...ccd0927e38

[DependencyUpdate]: <> (End)


[marker]: <> (End:011df26a-fbd1-45b0-94b9-08db3601dcca)
2024-10-29 10:18:42 +11:00
Ankita Khera 7bd4de7f1e
update configs for 17.13p2 snap (#11105) 2024-10-28 16:16:47 -07:00
dotnet-maestro[bot] 479db0350a Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241021.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24515.1 -> To Version 10.0.0-alpha.1.24521.1
2024-10-28 12:51:35 +00:00
akhera99 db9f93f1df update MicrosoftSourceBuildIntermediatearcadePackageVersion 2024-10-22 15:02:35 -07:00
dotnet-maestro[bot] a3c77871ff Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241015.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24511.4 -> To Version 10.0.0-alpha.1.24515.1
2024-10-21 12:44:31 +00:00
David Wengier 962df19d38
Merge branch 'main' into darc-main-cdae6d5a-7e36-461f-9b1e-b6d7ba86a287 2024-10-15 22:09:15 +11:00
dotnet-maestro[bot] cd497e45d4 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241011.4
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24507.1 -> To Version 10.0.0-alpha.1.24511.4
2024-10-14 12:40:40 +00:00
dotnet-maestro[bot] bd901052a1 Update dependencies from https://github.com/dotnet/arcade build 20241009.3
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.24466.2 -> To Version 9.0.0-beta.24509.3
2024-10-11 21:53:48 +00:00
dotnet-maestro[bot] e59271cb17 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241007.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24504.1 -> To Version 10.0.0-alpha.1.24507.1
2024-10-10 17:35:54 +00:00
dotnet-maestro[bot] 962b233f9a Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241004.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24473.1 -> To Version 10.0.0-alpha.1.24504.1
2024-10-07 12:44:07 +00:00
dotnet-maestro[bot] fc1e1828f7
Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20240923.1 (#10942)
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24467.1 -> To Version 10.0.0-alpha.1.24473.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-30 21:01:26 +00:00
Ankita Khera fb331d3c7b
Update configs for 17.13p1 snap (#10929)
draft until snap time
2024-09-26 22:34:00 -07:00
Phil Allen 8ae2804ea6 Update merge 2024-09-26 16:19:57 -07:00
Phil Allen af590ea760 Merge remote-tracking branch 'origin/release/dev17.12' into merges/release/dev17.12-to-main 2024-09-26 16:02:18 -07:00
Ankita Khera 3bf3548f44 update configs for snap 2024-09-26 13:57:02 -07:00
dotnet-maestro[bot] 01f860d9e7 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20240917.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24459.1 -> To Version 10.0.0-alpha.1.24467.1
2024-09-23 12:43:28 +00:00
David Wengier 4b3e4096e8
Cohost diagnostics support (#10882)
Fixes https://github.com/dotnet/razor/issues/10696
Fixes https://github.com/dotnet/razor/issues/10769
Fixes https://github.com/dotnet/razor/issues/10874
Needs Roslyn change: https://github.com/dotnet/roslyn/pull/75102

The actual code change was quite straight foward. The test code was a
bigger pain. Previously in cohosting tests we had two MEF composition,
one for Razor and one for Roslyn. Since Roslyn diagnostics can only run,
or at least start, in devenv, we now need three MEF compositions -
Roslyn devenv, Roslyn OOP and razor OOP - and two workspaces - Roslyn
devenv and Roslyn OOP - and our previous MEF infrastructure really
didn't handle this well, as evidenced by the fact that this PR also
fixes https://github.com/dotnet/razor/issues/10874

Now our MEF infra is simpler: We still cache catalogs etc. statically
the save time, but we create an `ExportProvider` as needed and expect
consumers to dispose of it like any other `IDisposable`, though there is
also here a test fixture to share the editor composition in the
formatting tests so we don't pay a huge penalty in terms of test run
time.

Commit-at-a-time if you want to read the story from beginning to end,
but it should be reasonably okay to just review as a whole too.
2024-09-18 14:11:37 +10:00