-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge main to tokenizer branch #10872
Merge main to tokenizer branch #10872
Commits on Aug 12, 2024
-
Update dependencies from https://github.com/dotnet/source-build-refer…
…ence-packages build 20240805.2 Microsoft.SourceBuild.Intermediate.source-build-reference-packages From Version 9.0.0-alpha.1.24374.1 -> To Version 9.0.0-alpha.1.24405.2
Configuration menu - View commit details
-
Copy full SHA for 204efc4 - Browse repository at this point
Copy the full SHA 204efc4View commit details
Commits on Aug 14, 2024
-
Update dependencies from https://github.com/dotnet/arcade build 20240…
…812.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24376.1 -> To Version 8.0.0-beta.24412.1
Configuration menu - View commit details
-
Copy full SHA for 718cea3 - Browse repository at this point
Copy the full SHA 718cea3View commit details
Commits on Aug 15, 2024
-
Update dependencies from https://github.com/dotnet/arcade build 20240…
…814.3 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 9.0.0-beta.24408.2 -> To Version 9.0.0-beta.24414.3
Configuration menu - View commit details
-
Copy full SHA for 9e63e09 - Browse repository at this point
Copy the full SHA 9e63e09View commit details -
Update dependencies from https://github.com/dotnet/arcade build 20240…
…813.2 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24412.1 -> To Version 8.0.0-beta.24413.2
Configuration menu - View commit details
-
Copy full SHA for f38b165 - Browse repository at this point
Copy the full SHA f38b165View commit details
Commits on Aug 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c2894e2 - Browse repository at this point
Copy the full SHA c2894e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 546a349 - Browse repository at this point
Copy the full SHA 546a349View commit details -
Configuration menu - View commit details
-
Copy full SHA for 032f7ca - Browse repository at this point
Copy the full SHA 032f7caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97be219 - Browse repository at this point
Copy the full SHA 97be219View commit details -
Configuration menu - View commit details
-
Copy full SHA for 162c7d5 - Browse repository at this point
Copy the full SHA 162c7d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 186a134 - Browse repository at this point
Copy the full SHA 186a134View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fe2eff - Browse repository at this point
Copy the full SHA 4fe2effView commit details -
Configuration menu - View commit details
-
Copy full SHA for 061347e - Browse repository at this point
Copy the full SHA 061347eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a166de - Browse repository at this point
Copy the full SHA 6a166deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 374e85c - Browse repository at this point
Copy the full SHA 374e85cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b05dd12 - Browse repository at this point
Copy the full SHA b05dd12View commit details
Commits on Aug 17, 2024
-
Update dependencies from https://github.com/dotnet/arcade build 20240…
…816.2 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 9.0.0-beta.24414.3 -> To Version 9.0.0-beta.24416.2
Configuration menu - View commit details
-
Copy full SHA for b81f3eb - Browse repository at this point
Copy the full SHA b81f3ebView commit details
Commits on Aug 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e5cff02 - Browse repository at this point
Copy the full SHA e5cff02View commit details
Commits on Aug 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for af13ebd - Browse repository at this point
Copy the full SHA af13ebdView commit details -
Update dependencies from https://github.com/dotnet/source-build-refer…
…ence-packages build 20240815.3 Microsoft.SourceBuild.Intermediate.source-build-reference-packages From Version 9.0.0-alpha.1.24405.2 -> To Version 10.0.0-alpha.1.24415.3
Configuration menu - View commit details
-
Copy full SHA for 3bffce3 - Browse repository at this point
Copy the full SHA 3bffce3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80d1ed3 - Browse repository at this point
Copy the full SHA 80d1ed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e1774a - Browse repository at this point
Copy the full SHA 0e1774aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86e05ee - Browse repository at this point
Copy the full SHA 86e05eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 635695f - Browse repository at this point
Copy the full SHA 635695fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ba4179 - Browse repository at this point
Copy the full SHA 7ba4179View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25acc07 - Browse repository at this point
Copy the full SHA 25acc07View commit details -
Configuration menu - View commit details
-
Copy full SHA for d00b1ff - Browse repository at this point
Copy the full SHA d00b1ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89204d4 - Browse repository at this point
Copy the full SHA 89204d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c755804 - Browse repository at this point
Copy the full SHA c755804View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff63a4e - Browse repository at this point
Copy the full SHA ff63a4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90f90ef - Browse repository at this point
Copy the full SHA 90f90efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5072db4 - Browse repository at this point
Copy the full SHA 5072db4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34507da - Browse repository at this point
Copy the full SHA 34507daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ac711b - Browse repository at this point
Copy the full SHA 7ac711bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03e2d07 - Browse repository at this point
Copy the full SHA 03e2d07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 972691b - Browse repository at this point
Copy the full SHA 972691bView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd11c5e - Browse repository at this point
Copy the full SHA dd11c5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96adc42 - Browse repository at this point
Copy the full SHA 96adc42View commit details -
Use SuppressUniqueIds exclusively from RazorCodeGenerationOptions
This change stops pushing the SuppressUniqueIds value into RazorCodeDocument.Items.
Configuration menu - View commit details
-
Copy full SHA for 28bfd61 - Browse repository at this point
Copy the full SHA 28bfd61View commit details -
Push NewLine setting into RazorCodeGenerationOptions
This change stops pushing the NewLine value into RazorCodeDocument.Items.
Configuration menu - View commit details
-
Copy full SHA for 1eb601c - Browse repository at this point
Copy the full SHA 1eb601cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a9f32e - Browse repository at this point
Copy the full SHA 7a9f32eView commit details
Commits on Aug 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6593264 - Browse repository at this point
Copy the full SHA 6593264View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80ae134 - Browse repository at this point
Copy the full SHA 80ae134View commit details -
Merge remote-tracking branch 'upstream/main' into dev/dawengie/SelfVe…
…rsionedDocumentSnapshots
Configuration menu - View commit details
-
Copy full SHA for 0c2504b - Browse repository at this point
Copy the full SHA 0c2504bView commit details -
Configuration menu - View commit details
-
Copy full SHA for caac599 - Browse repository at this point
Copy the full SHA caac599View commit details -
Configuration menu - View commit details
-
Copy full SHA for b58f180 - Browse repository at this point
Copy the full SHA b58f180View commit details -
Configuration menu - View commit details
-
Copy full SHA for 934fea8 - Browse repository at this point
Copy the full SHA 934fea8View commit details
Commits on Aug 21, 2024
-
Move add usings helper code down to the workspaces layer
This commit is just moves, no functionality changes. Minor tweaks to method visibility, and one rename of a static field :)
Configuration menu - View commit details
-
Copy full SHA for 97ac536 - Browse repository at this point
Copy the full SHA 97ac536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8984db9 - Browse repository at this point
Copy the full SHA 8984db9View commit details -
Configuration menu - View commit details
-
Copy full SHA for fba3f1e - Browse repository at this point
Copy the full SHA fba3f1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c39c20 - Browse repository at this point
Copy the full SHA 2c39c20View commit details -
Configuration menu - View commit details
-
Copy full SHA for e45f094 - Browse repository at this point
Copy the full SHA e45f094View commit details -
Be SUPER specific about our APIs, what they accept, and what they return
This probably looks like overkill, but hopefully the next commit will help explain a little about what is going on.
Configuration menu - View commit details
-
Copy full SHA for a702716 - Browse repository at this point
Copy the full SHA a702716View commit details -
Merge remote-tracking branch 'upstream/main' into dev/dawengie/SelfVe…
…rsionedDocumentSnapshots # Conflicts: # src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/ProjectSystem/DocumentContextExtensions.cs
Configuration menu - View commit details
-
Copy full SHA for b477b4a - Browse repository at this point
Copy the full SHA b477b4aView commit details -
Pass Html edits into the formatting service, so that the service does…
…n't need LSP client dependencies
Configuration menu - View commit details
-
Copy full SHA for e56b85e - Browse repository at this point
Copy the full SHA e56b85eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f57810 - Browse repository at this point
Copy the full SHA 3f57810View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38868db - Browse repository at this point
Copy the full SHA 38868dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca142be - Browse repository at this point
Copy the full SHA ca142beView commit details -
Update dependencies from https://github.com/dotnet/arcade build 20240…
…820.6 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 9.0.0-beta.24416.2 -> To Version 9.0.0-beta.24420.6
Configuration menu - View commit details
-
Copy full SHA for a9eaef6 - Browse repository at this point
Copy the full SHA a9eaef6View commit details -
Update dependencies from https://github.com/dotnet/source-build-refer…
…ence-packages build 20240819.1 Microsoft.SourceBuild.Intermediate.source-build-reference-packages From Version 10.0.0-alpha.1.24415.3 -> To Version 10.0.0-alpha.1.24419.1
Configuration menu - View commit details
-
Copy full SHA for 3458aba - Browse repository at this point
Copy the full SHA 3458abaView commit details -
Update dependencies from https://github.com/dotnet/arcade build 20240…
…821.2 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 9.0.0-beta.24420.6 -> To Version 9.0.0-beta.24421.2
Configuration menu - View commit details
-
Copy full SHA for ceb0613 - Browse repository at this point
Copy the full SHA ceb0613View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1143900 - Browse repository at this point
Copy the full SHA 1143900View commit details
Commits on Aug 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2165fcb - Browse repository at this point
Copy the full SHA 2165fcbView commit details -
Be explicit about formatting passes
Always felt like a huge potential bug farm. eg, if Html ended up not being first we'd have bugs, working out the Order property (which was weirdly backwards?) was a pain, and the entire formatting engine produces horrible results if the ordering changes anyway.
Configuration menu - View commit details
-
Copy full SHA for d635754 - Browse repository at this point
Copy the full SHA d635754View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e12117 - Browse repository at this point
Copy the full SHA 4e12117View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f1c6ef - Browse repository at this point
Copy the full SHA 6f1c6efView commit details -
Configuration menu - View commit details
-
Copy full SHA for f74150d - Browse repository at this point
Copy the full SHA f74150dView commit details -
Separate out the files in the Html formatter passes.
Doing this separately, and purely mechanically, so make review easier
Configuration menu - View commit details
-
Copy full SHA for ef44f4f - Browse repository at this point
Copy the full SHA ef44f4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45b8495 - Browse repository at this point
Copy the full SHA 45b8495View commit details -
Remove Kind property from FormattingResult
This was only used for validation as edits pass through the pipeline, but since we now tightly control the pipeline its unnecessary
Configuration menu - View commit details
-
Copy full SHA for 5caa48f - Browse repository at this point
Copy the full SHA 5caa48fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa4e8ef - Browse repository at this point
Copy the full SHA fa4e8efView commit details -
We can't tell the client which version we're applying edits for, beca…
…use only we understand our version numbers
Configuration menu - View commit details
-
Copy full SHA for 3b2ba30 - Browse repository at this point
Copy the full SHA 3b2ba30View commit details -
Update dependencies from https://github.com/dotnet/arcade build 20240…
…821.7 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 9.0.0-beta.24421.2 -> To Version 9.0.0-beta.24421.7
Configuration menu - View commit details
-
Copy full SHA for ec191f8 - Browse repository at this point
Copy the full SHA ec191f8View commit details -
Update dependencies from https://github.com/dotnet/arcade build 20240…
…821.4 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24413.2 -> To Version 8.0.0-beta.24421.4
Configuration menu - View commit details
-
Copy full SHA for 6970dee - Browse repository at this point
Copy the full SHA 6970deeView commit details -
Remove ItemCollection from CodeRenderingContext (dotnet#10764)
Because of a dare from @333fred, I'm currently on a crusade to remove `ItemCollection` from the Razor Compiler completely. Previously, I removed `ItemCollection` from `TagHelperDescriptorProviderContext` (dotnet#10720). This time, I'm removing it from `CodeRenderingContext`. It turns out that every `CodeRenderingContext` greedily creates an `ItemCollection`, though there are only ever two things stored there: 1. A string to use for new lines in `CodeWriter`. 2. A string representing "suppress IDs", which is already specified in `RazorCodeGenerationOptions`. These two items were really present as a hook that compiler tests could set. However, it's much easier and less wasteful to elevate both items to `RazorCodeGenerationOptions` and make tests set the options directly. I made a few other refactorings as part of this change: - I merged several abstract base classes with their single default concrete type: - `CodeRenderingContext` and `DefaultCodeRenderingContext` - `RazorCSharpDocument` and `DefaultRazorCSharpDocument`, - `RazorCodeGenerationOptions` and `DefaultRazorCodeGenerationOptions` - `RazorCodeGenerationOptionsBuilder` and `DefaultRazorCodeGenerationOptionsBuilder`. - Reworked `RazorCodeGenerationOptions` and introduced `RazorCodeGenerationOptionsFlags` to track its boolean fields. - Cleaned up `RazorCSharpDocument` and unified its collections on `ImmutableArray<>` rather than `IReadOnlyList<>`. - Enabled nullability annotations for several types. - Used more pooled collections in `CodeRenderingContext`. Note: I was careful with my commit history, and it should be clean enough to review commit-by-commit if that's your preference.
Configuration menu - View commit details
-
Copy full SHA for 3423142 - Browse repository at this point
Copy the full SHA 3423142View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4124ce4 - Browse repository at this point
Copy the full SHA 4124ce4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d031cc6 - Browse repository at this point
Copy the full SHA d031cc6View commit details
Commits on Aug 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 587e72a - Browse repository at this point
Copy the full SHA 587e72aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6622a0f - Browse repository at this point
Copy the full SHA 6622a0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b79428 - Browse repository at this point
Copy the full SHA 3b79428View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2157169 - Browse repository at this point
Copy the full SHA 2157169View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79d0c3c - Browse repository at this point
Copy the full SHA 79d0c3cView commit details -
[release/dev17.11] Update dependencies from dotnet/arcade (dotnet#10552)
This pull request updates the following dependencies [marker]: <> (Begin:aa7f5ce7-ed24-46a1-195c-08dc952fc8a2) ## From https://github.com/dotnet/arcade - **Subscription**: aa7f5ce7-ed24-46a1-195c-08dc952fc8a2 - **Build**: 20240821.4 - **Date Produced**: August 21, 2024 6:41:26 PM UTC - **Commit**: 4460b755f3c7c89e9660d9580ff79afc4218dd85 - **Branch**: refs/heads/release/8.0 [DependencyUpdate]: <> (Begin) - **Updates**: - **Microsoft.SourceBuild.Intermediate.arcade**: [from 8.0.0-beta.24413.2 to 8.0.0-beta.24421.4][44] - **Microsoft.DotNet.Arcade.Sdk**: [from 8.0.0-beta.24413.2 to 8.0.0-beta.24421.4][44] [44]: dotnet/arcade@51321b7...4460b75 [DependencyUpdate]: <> (End) [marker]: <> (End:aa7f5ce7-ed24-46a1-195c-08dc952fc8a2)
Configuration menu - View commit details
-
Copy full SHA for b5e50df - Browse repository at this point
Copy the full SHA b5e50dfView commit details
Commits on Aug 24, 2024
-
Update dependencies from https://github.com/dotnet/arcade build 20240…
…823.2 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 9.0.0-beta.24421.7 -> To Version 9.0.0-beta.24423.2
Configuration menu - View commit details
-
Copy full SHA for e841c0e - Browse repository at this point
Copy the full SHA e841c0eView commit details
Commits on Aug 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 286b3e1 - Browse repository at this point
Copy the full SHA 286b3e1View commit details
Commits on Aug 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for aeca1e4 - Browse repository at this point
Copy the full SHA aeca1e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdcef8e - Browse repository at this point
Copy the full SHA cdcef8eView commit details -
Update dependencies from https://github.com/dotnet/source-build-refer…
…ence-packages build 20240821.1 Microsoft.SourceBuild.Intermediate.source-build-reference-packages From Version 10.0.0-alpha.1.24419.1 -> To Version 10.0.0-alpha.1.24421.1
Configuration menu - View commit details
-
Copy full SHA for 5ca9964 - Browse repository at this point
Copy the full SHA 5ca9964View commit details -
[FUSE] Provide intellisense for @Inject directives (dotnet#10771)
* When @Inject is missing the member name, generate a syntactically valid c# identifier so we get intellisense * Emit an empty section when there is no typename * Add tests and update baselines
Configuration menu - View commit details
-
Copy full SHA for aa024eb - Browse repository at this point
Copy the full SHA aa024ebView commit details -
Localized file check-in by OneLocBuild Task: Build definition ID 262:…
… Build ID 2524412
Configuration menu - View commit details
-
Copy full SHA for 038f7fc - Browse repository at this point
Copy the full SHA 038f7fcView commit details -
Localized file check-in by OneLocBuild Task: Build definition ID 262:…
… Build ID 2524412
Configuration menu - View commit details
-
Copy full SHA for fff39dc - Browse repository at this point
Copy the full SHA fff39dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7db6bc - Browse repository at this point
Copy the full SHA e7db6bcView commit details -
Fix Formatting and On Enter integration tests (dotnet#10788)
Since the end of last week, these tests have been failing. Seems like something changed on the platform side, perhaps a default value of a setting. Have started a thread with the editor team to see if we need to do more.
Configuration menu - View commit details
-
Copy full SHA for 156f016 - Browse repository at this point
Copy the full SHA 156f016View commit details
Commits on Aug 27, 2024
-
Update configs for 17.12p3 snap (dotnet#10792)
Draft until snap time.
Configuration menu - View commit details
-
Copy full SHA for 8ff61a0 - Browse repository at this point
Copy the full SHA 8ff61a0View commit details -
Snap for 17.12 P2 (dotnet#10793)
merge main into release/dev17.12 to update for 17.12 P2. Main is 17.12 P3.
Configuration menu - View commit details
-
Copy full SHA for fe31c90 - Browse repository at this point
Copy the full SHA fe31c90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cebb29 - Browse repository at this point
Copy the full SHA 8cebb29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19134c2 - Browse repository at this point
Copy the full SHA 19134c2View commit details -
Merge release/dev17.12 to main (dotnet#10794)
This is an automatically generated pull request from release/dev17.12 into main. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯 ## Troubleshooting conflicts ### Identify authors of changes which introduced merge conflicts Scroll to the bottom, then for each file containing conflicts copy its path into the following searches: - https://github.com/dotnet/razor/find/release/dev17.12 - https://github.com/dotnet/razor/find/main Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts. ### Resolve merge conflicts using your local repo Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub. ``` bash git fetch --all git checkout -t upstream/merges/release/dev17.12-to-main git reset --hard upstream/main git merge upstream/release/dev17.12 # Fix merge conflicts git commit git push upstream merges/release/dev17.12-to-main --force ```
Configuration menu - View commit details
-
Copy full SHA for 75dcf45 - Browse repository at this point
Copy the full SHA 75dcf45View commit details -
Localized file check-in by OneLocBuild Task: Build definition ID 262:…
… Build ID 2524803 (dotnet#10790) This is the pull request automatically created by the OneLocBuild task in the build process to check-in localized files generated based upon translation source files (.lcl files) handed-back from the downstream localization pipeline. If there are issues in translations, visit https://aka.ms/icxLocBug and log bugs for fixes. The OneLocBuild wiki is https://aka.ms/onelocbuild and the localization process in general is documented at https://aka.ms/AllAboutLoc.
Configuration menu - View commit details
-
Copy full SHA for 0499664 - Browse repository at this point
Copy the full SHA 0499664View commit details -
Self-versioned documents (dotnet#10747)
A few integration tests to investigate, but the guts are here. I'm _slightly_ worried this might cause us to recompile files more often, but there is also the chance this fixes a bunch of bugs by recompiling files more often :) Commit-at-a-time review is highly recommended, as there are lots of flow on effects of API changes
Configuration menu - View commit details
-
Copy full SHA for 1ea1552 - Browse repository at this point
Copy the full SHA 1ea1552View commit details -
Update dependencies from https://github.com/dotnet/arcade build 20240…
…826.3 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 9.0.0-beta.24423.2 -> To Version 9.0.0-beta.24426.3
Configuration menu - View commit details
-
Copy full SHA for d7b76ad - Browse repository at this point
Copy the full SHA d7b76adView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6eb03f - Browse repository at this point
Copy the full SHA b6eb03fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7e5bf9 - Browse repository at this point
Copy the full SHA a7e5bf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 965d3e8 - Browse repository at this point
Copy the full SHA 965d3e8View commit details -
Suppress unique ids (dotnet#10791)
* Use more obvious SuppressUniqueIds value * Update baselines
Configuration menu - View commit details
-
Copy full SHA for 6045ef2 - Browse repository at this point
Copy the full SHA 6045ef2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2476b63 - Browse repository at this point
Copy the full SHA 2476b63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cba235 - Browse repository at this point
Copy the full SHA 8cba235View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33ad4fb - Browse repository at this point
Copy the full SHA 33ad4fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e98f5e8 - Browse repository at this point
Copy the full SHA e98f5e8View commit details -
- Use pooled `ImmutableArray<RazorDiagnostic>.Builder` internally - Don't request pooled builder until first error is added - Make ErrorSink disposable to return builder to pool - Add GetErrorsAndClear() method to returns an `ImmutableArray<RazorDiagnostic>` and clears out the sink. - Add 'ParserContext.PushNewErrorScope(...)` to handle the temporary ErrorSinks used by CSharpCodeParser
Configuration menu - View commit details
-
Copy full SHA for 0df9f25 - Browse repository at this point
Copy the full SHA 0df9f25View commit details -
Clean up ParserContext and use pooled collections
This change cleans up ParserContext a bit and uses pooled collections within it.
Configuration menu - View commit details
-
Copy full SHA for aa0d7a7 - Browse repository at this point
Copy the full SHA aa0d7a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69d4b10 - Browse repository at this point
Copy the full SHA 69d4b10View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcf0de8 - Browse repository at this point
Copy the full SHA fcf0de8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac1ea08 - Browse repository at this point
Copy the full SHA ac1ea08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73fb2df - Browse repository at this point
Copy the full SHA 73fb2dfView commit details -
[main] Update dependencies from dotnet/arcade (dotnet#10605)
Coherency update: Failed to perform coherency update for one or more dependencies. Please review the GitHub checks or run `darc update-dependencies --coherency-only` locally against darc-main-a20bf2b8-a79a-4f26-a141-1afa2bfa58d0 for more information. [marker]: <> (Begin:2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d) ## From https://github.com/dotnet/arcade - **Subscription**: 2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d - **Build**: 20240826.3 - **Date Produced**: August 26, 2024 5:01:25 PM UTC - **Commit**: e3bdd9a0f2a65fe037ba1adb2261eea48a840fa4 - **Branch**: refs/heads/main [DependencyUpdate]: <> (Begin) - **Updates**: - **Microsoft.SourceBuild.Intermediate.arcade**: [from 9.0.0-beta.24423.2 to 9.0.0-beta.24426.3][1] - **Microsoft.DotNet.Arcade.Sdk**: [from 9.0.0-beta.24423.2 to 9.0.0-beta.24426.3][1] [1]: dotnet/arcade@9159926...e3bdd9a [DependencyUpdate]: <> (End) [marker]: <> (End:2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d)
Configuration menu - View commit details
-
Copy full SHA for 7ed43a1 - Browse repository at this point
Copy the full SHA 7ed43a1View commit details -
Update dependencies from https://github.com/dotnet/arcade build 20240…
…826.3 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 9.0.0-beta.24352.2 -> To Version 9.0.0-beta.24426.3
Configuration menu - View commit details
-
Copy full SHA for 5a4e0a7 - Browse repository at this point
Copy the full SHA 5a4e0a7View commit details -
[release/dev17.12] Update dependencies from dotnet/arcade (dotnet#10799)
This pull request updates the following dependencies [marker]: <> (Begin:761d0bec-2526-451d-fdf9-08dcc6cdae74) ## From https://github.com/dotnet/arcade - **Subscription**: 761d0bec-2526-451d-fdf9-08dcc6cdae74 - **Build**: 20240826.3 - **Date Produced**: August 26, 2024 5:01:25 PM UTC - **Commit**: e3bdd9a0f2a65fe037ba1adb2261eea48a840fa4 - **Branch**: refs/heads/main [DependencyUpdate]: <> (Begin) - **Updates**: - **Microsoft.SourceBuild.Intermediate.arcade**: [from 9.0.0-beta.24352.2 to 9.0.0-beta.24426.3][1] - **Microsoft.DotNet.Arcade.Sdk**: [from 9.0.0-beta.24352.2 to 9.0.0-beta.24426.3][1] [1]: dotnet/arcade@4a7d983...e3bdd9a [DependencyUpdate]: <> (End) - **Updates to .NET SDKs:** - Updates sdk.version to 9.0.100-preview.7.24407.12 - Updates tools.dotnet to 9.0.100-preview.7.24407.12 [marker]: <> (End:761d0bec-2526-451d-fdf9-08dcc6cdae74)
Configuration menu - View commit details
-
Copy full SHA for 0dc0f6e - Browse repository at this point
Copy the full SHA 0dc0f6eView commit details -
Merge remote-tracking branch 'upstream/release/dev17.11' into merges/…
…release/dev17.11-to-release/dev17.12
Configuration menu - View commit details
-
Copy full SHA for 79c46c0 - Browse repository at this point
Copy the full SHA 79c46c0View commit details -
Merge release/dev17.12 to main (dotnet#10801)
This is an automatically generated pull request from release/dev17.12 into main. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯 ## Troubleshooting conflicts ### Identify authors of changes which introduced merge conflicts Scroll to the bottom, then for each file containing conflicts copy its path into the following searches: - https://github.com/dotnet/razor/find/release/dev17.12 - https://github.com/dotnet/razor/find/main Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts. ### Resolve merge conflicts using your local repo Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub. ``` bash git fetch --all git checkout -t upstream/merges/release/dev17.12-to-main git reset --hard upstream/main git merge upstream/release/dev17.12 # Fix merge conflicts git commit git push upstream merges/release/dev17.12-to-main --force ```
Configuration menu - View commit details
-
Copy full SHA for d0be044 - Browse repository at this point
Copy the full SHA d0be044View commit details -
Merge release/dev17.11 to release/dev17.12 (dotnet#10785)
This is an automatically generated pull request from release/dev17.11 into release/dev17.12. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯 ## Troubleshooting conflicts ### Identify authors of changes which introduced merge conflicts Scroll to the bottom, then for each file containing conflicts copy its path into the following searches: - https://github.com/dotnet/razor/find/release/dev17.11 - https://github.com/dotnet/razor/find/release/dev17.12 Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts. ### Resolve merge conflicts using your local repo Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub. ``` bash git fetch --all git checkout -t upstream/merges/release/dev17.11-to-release/dev17.12 git reset --hard upstream/release/dev17.12 git merge upstream/release/dev17.11 # Fix merge conflicts git commit git push upstream merges/release/dev17.11-to-release/dev17.12 --force ```
Configuration menu - View commit details
-
Copy full SHA for da86194 - Browse repository at this point
Copy the full SHA da86194View commit details
Commits on Aug 28, 2024
-
Merge release/dev17.12 to main (dotnet#10803)
This is an automatically generated pull request from release/dev17.12 into main. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯 ## Troubleshooting conflicts ### Identify authors of changes which introduced merge conflicts Scroll to the bottom, then for each file containing conflicts copy its path into the following searches: - https://github.com/dotnet/razor/find/release/dev17.12 - https://github.com/dotnet/razor/find/main Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts. ### Resolve merge conflicts using your local repo Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub. ``` bash git fetch --all git checkout -t upstream/merges/release/dev17.12-to-main git reset --hard upstream/main git merge upstream/release/dev17.12 # Fix merge conflicts git commit git push upstream merges/release/dev17.12-to-main --force ```
Configuration menu - View commit details
-
Copy full SHA for a530667 - Browse repository at this point
Copy the full SHA a530667View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b69790 - Browse repository at this point
Copy the full SHA 4b69790View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bc3489 - Browse repository at this point
Copy the full SHA 5bc3489View commit details -
Configuration menu - View commit details
-
Copy full SHA for e516052 - Browse repository at this point
Copy the full SHA e516052View commit details -
Configuration menu - View commit details
-
Copy full SHA for eba6a6a - Browse repository at this point
Copy the full SHA eba6a6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for acb9a8e - Browse repository at this point
Copy the full SHA acb9a8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cc8ce5 - Browse repository at this point
Copy the full SHA 6cc8ce5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1de43a0 - Browse repository at this point
Copy the full SHA 1de43a0View commit details -
When undoing provisional completion, don't accidentally delete a huge…
… large chunk of the generated file
Configuration menu - View commit details
-
Copy full SHA for 39942a2 - Browse repository at this point
Copy the full SHA 39942a2View commit details -
Simplify integration test to increase reliability because our formatt…
…ing engine has known issues
Configuration menu - View commit details
-
Copy full SHA for 54533a5 - Browse repository at this point
Copy the full SHA 54533a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec671db - Browse repository at this point
Copy the full SHA ec671dbView commit details -
Fix provisional completion corrupting generated C# documents (dotnet#…
…10806) Fixes dotnet#10759 Initially when investigating this I was digging into buffer versions and race conditions, but now that the editor fix is in, and we are self versioned, the bug stood out much more obviously: A character offset was being passed in to a parameter that expected a length 🤦♂️ Sadly none of the `RazorCustomMessageTarget` code is testable. Cohosting will make this trivial though, as we would simply create a new `Document` with the provisional change, and drop it on the floor when we're finished.
Configuration menu - View commit details
-
Copy full SHA for 8e11180 - Browse repository at this point
Copy the full SHA 8e11180View commit details -
Change UseConsolidatedMvcViews to default to true (dotnet#10795)
* Change UseConsolidatedMvcViews to default to true * Update baselines * Update LSP test
Configuration menu - View commit details
-
Copy full SHA for f35b6c6 - Browse repository at this point
Copy the full SHA f35b6c6View commit details -
Fix find all references calls to Roslyn (dotnet#10807)
Fixes integration test failures in Find All References. Roslyns LSP types got much more spec compliant in dotnet/roslyn#73911 and we were never sending the `Context` property in our request, so deserialization failed on their end.
Configuration menu - View commit details
-
Copy full SHA for 5eb9d0c - Browse repository at this point
Copy the full SHA 5eb9d0cView commit details -
Global namespace component bind (dotnet#10798)
* Don't create a taghelper with no matching rules * Add test --------- Co-authored-by: Jan Jones <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27a338b - Browse repository at this point
Copy the full SHA 27a338bView commit details -
Merge release/dev17.12 to main (dotnet#10809)
This is an automatically generated pull request from release/dev17.12 into main. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯 ## Troubleshooting conflicts ### Identify authors of changes which introduced merge conflicts Scroll to the bottom, then for each file containing conflicts copy its path into the following searches: - https://github.com/dotnet/razor/find/release/dev17.12 - https://github.com/dotnet/razor/find/main Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts. ### Resolve merge conflicts using your local repo Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub. ``` bash git fetch --all git checkout -t upstream/merges/release/dev17.12-to-main git reset --hard upstream/main git merge upstream/release/dev17.12 # Fix merge conflicts git commit git push upstream merges/release/dev17.12-to-main --force ```
Configuration menu - View commit details
-
Copy full SHA for 562be1a - Browse repository at this point
Copy the full SHA 562be1aView commit details
Commits on Aug 29, 2024
-
Cleanup and rename files to bring them to modern standards
Purely mechanical changes here - using primary constructors, interfaces over abstract classes, etc.
Configuration menu - View commit details
-
Copy full SHA for b650cee - Browse repository at this point
Copy the full SHA b650ceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a05f9e6 - Browse repository at this point
Copy the full SHA a05f9e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 744e9e3 - Browse repository at this point
Copy the full SHA 744e9e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebe3878 - Browse repository at this point
Copy the full SHA ebe3878View commit details -
Write out JS comments when there would be 4 or more consecutive tilde…
…s in generated Html (dotnet#10805) Fixes https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2222322 Our use of tildes as replacement characters for C# in Html documents has never been great, and has caused issues with JS/TS and Html tooling in the past, but it seems there are scenarios where large/complicated/specifically formed Razor documents can actually crash the JS compiler. Seems it has a perf issue where lots of unary negation (ie, `~`) causes stack size issues. This PR mitigates the issue by encoding any stretch of C# characters that are 4 characters or longer as a JS comment (`/*~~~*/`) so that the compiler will ignore some of the more problematic chunks of Razor files. There is one case where we couldn't do that, but any pressure relief should help even if it's not 100%.
Configuration menu - View commit details
-
Copy full SHA for 1f45c70 - Browse repository at this point
Copy the full SHA 1f45c70View commit details -
Cohosting OnAutoInsert endpoint (dotnet#10776)
* Factoring out AutoInsertService * Switch non-cohost endpoint to use new AutoInsertService * Adding Remote and OOB AutoInsertService classes and OnAutoInsertProviders * Add common code for capabilities * Add cohost OnAutoInsert endpoint * Parameter rename * Update src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/AutoInsert/AutoClosingTagOnAutoInsertProvider.cs Co-authored-by: David Wengier <[email protected]> * Update src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/AutoInsert/IAutoInsertService.cs Co-authored-by: David Wengier <[email protected]> * Update src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/AutoInsert/InsertTextEdit.cs Co-authored-by: David Wengier <[email protected]> * Fixup after rebase * More post-build cleanup * Move common HTML and C# auto-insert trigger chars per CR suggestion * More cleanup after rebase * Add IOnAutoInsertTiggerCharacterProvider per CR suggestion * Removing trigger characters property from RemoteAutoInsertService per CR suggestion * Switch to using RemoteResponse * Fixup bad resolve after rebase, and extra whitespace in RazorLangaugeServer * Complete capabilities check in CohostingOnAutoInsertEndpoing registration * Change input position type to serializable :LinePosition * Fixing RemoteInsertTextEdit to use properly annotated (for serialization) types only * Support for delegating auto-insert to C# * Fixup after rebase * Fixup AutoClosingTagOnAutoInsertProviderTest tests * Fixinfg up CloseTextTagOnAutoInsertProviderTest tests * Fixing up OnAutoInsertEndpointTest (which also tests the new AutoInsertService) * Fixing duplicate OnAutoInsert handler registration (bad merge after rebate) * Fixes to MEF composition issue and capabilities check - IDocumentMappingService was not needed (and not available via MEF), so removed that - TextDocument does not implmement VSInternalTextDocumentClientCapabilities * Fixing incorrect export type * Minor cleanup per CR suggestions * Switching parameters to RazorCodeDocument and removing async in a lot of places per CR suggestion * Fixing build - removing unneeded using * Fix RemoteAutoInsertService logic to follow existing code (always prefer our own AutoInsertService first) * Check allowed trigger characters before delegating to other languages/servers * Plumbing through actual option values we need and using them * Fixup After Rebase * Consuming RazorFormattingService in remote OnAutoInsert service * Fixing exception in RemoteProjectSnapshot.Configuration Moving GetFormatterCodeDocumentAsync() into IDocumentSnapshot (and implementations of that) to allow eaiser differentiation of behavior in remote (cohosting) case where we don't need to check the flag on Project.Configuration. Also AddUsingStatementsIfNeeded *always* gets called, even in cases when they are not actually needed, so we can't Debug.Fail there. * Switch to PreferHtmlInAttributeValuesDocumentPositionInfoStrategy as the original code does That allows the code insert double-quotes by delegating to HTML language server after attribute name and equals. * Cleanup usings * More usings cleanup * PR feedback - minor cleanup and removal of InsertTextEdit type in favor of VSInternalDocumentOnAutoInsertResponseItem * PR feedback - removing MEF usage from RemoteAdhocWorkspaceFactory, minor cleanup * PR feedback * Type and method renames, minor cleanup per PR feedback * Renaming interface methods, removing unnecessary usage of FrozenSet * Use ImmutableArray to store providers * Switching to bool and out on IAutoInsertService and implementation * Cleaned up document position info calculation per PR feedback * Minor cleanup in RemoteAutoInsertService * Cleanup trigger character calculation in CohostOnAutoInsertEndpoint * Formatting changes, VsLspFactory usage * Revert to MEF DI in RemoteAdhocWorkspaceFactory/RemoteRazorFormattingService * Removing Rolsyn to VS LSP extension methods * Switch to raw strings in tests and minor whitespace cleanup * Rename per PR feedback suggestion to better indicate the purpose * Cleanup formatting code document acquisition per PR feedback Creating IFormattingCodeDocumentProvider service with seprate LSP and Remote implementations to provide code document appropriate for formatting. * Removing redundant assert as compiler is already doing the check * Unnecessary assignment cleanup * Misc PR feedback cleanup * Made GetGeneratedOutputAsync an extension method per PR feedback * Remaining MEF parameter attrivute formatting changes * Last of the PR feedback. * Fixing most unit test failures. Extension methods can't be used for Mock setups, so since I made GetGeneratedOutputAsync() with no parameter an extension method, I had to switch unit tests to use GeGeneratedOutputAsync(It.Any<bool>()) * Fixing last 4 unit test failures We still had non-parameter GetGeneratedOutputAsycnc in DocumentSnapshot (even though it wasn't in IDocumentSnapshot) which was getting called internally. That was both messy (since there is now no-parameter extension method on IDocumentSnapshot) and was causing issues in tests --------- Co-authored-by: David Wengier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12f5194 - Browse repository at this point
Copy the full SHA 12f5194View commit details -
Fix setting breakpoints with self versioned documents (dotnet#10811)
Fixes an issue found in app building. Thanks @phil-allen-msft! Also fixes dotnet#9161 To make reviewing easier: * First commit is entirely mechanical cleanup, renames, etc. and can be skipped. * Second commit is the fix. * Third commit is tests. * Fourth commit is updating more tests because these days when you ask VS to build things it doesn't build all of it and I need to get into the habit of doing a command line build before pushing Because of the type and file renames, looking at the PR as a whole is inadvised.
Configuration menu - View commit details
-
Copy full SHA for e1f6fba - Browse repository at this point
Copy the full SHA e1f6fbaView commit details -
Merge remote-tracking branch 'upstream/main' into FormattingLayering
# Conflicts: # src/Razor/benchmarks/Microsoft.AspNetCore.Razor.Microbenchmarks/LanguageServer/RazorCSharpFormattingBenchmark.cs # src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/AutoInsert/OnAutoInsertEndpoint.cs # src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Formatting/HtmlFormatter.cs # src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/InlineCompletion/InlineCompletionEndPoint.cs # src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/FormattingContext.cs # src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/IRazorFormattingService.cs # src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/Passes/CSharpFormattingPass.cs # src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/Passes/FormattingContentValidationPass.cs # src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/Passes/FormattingDiagnosticValidationPass.cs # src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/Passes/HtmlFormattingPassBase.cs # src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/RazorFormattingService.cs # src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/Formatting/RemoteCSharpOnTypeFormattingPass.cs # src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/Formatting/RemoteRazorFormattingPass.cs # src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/AutoInsert/RazorOnAutoInsertProviderTestBase.cs # src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Completion/Delegation/DelegatedCompletionItemResolverTest.NetFx.cs # src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Formatting_NetFx/FormattingLanguageServerTestBase.cs # src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Formatting_NetFx/FormattingTestBase.cs # src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Formatting_NetFx/TestRazorFormattingService.cs
Configuration menu - View commit details
-
Copy full SHA for d0e2a57 - Browse repository at this point
Copy the full SHA d0e2a57View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee83a6b - Browse repository at this point
Copy the full SHA ee83a6bView commit details
Commits on Aug 30, 2024
-
Re-architect formatting to prepare for cohosting (and for fun!) (dotn…
…et#10778) I nerd sniped myself thinking about how to get formatting into cohosting, given the limitations Alex ran into doing the relayering for auto insert, and this is the result. I was going to go further and port the actual formatting endpoint to cohosting, but that would have ran into the same issue that Alex did with auto insert, so I figured I'd wait for that to merge, and put this up in the meantime. This unblocks the formatting, code action and completion end points from being ported. Part of dotnet#10743 Part of dotnet#9519 I **strongly** recommend reviewing commit-at-a-time, as I did this deliberately in an order, and in order to (hopefully) make reviewing easier. Though granted, there are a lot of commits.
Configuration menu - View commit details
-
Copy full SHA for 21c7674 - Browse repository at this point
Copy the full SHA 21c7674View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dc0e5a - Browse repository at this point
Copy the full SHA 8dc0e5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a657d5c - Browse repository at this point
Copy the full SHA a657d5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d4e9ab - Browse repository at this point
Copy the full SHA 4d4e9abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ca4497 - Browse repository at this point
Copy the full SHA 3ca4497View commit details -
Update PublishData after VS snap (dotnet#10817)
### Summary of the changes - Fixes:
Configuration menu - View commit details
-
Copy full SHA for f01a5a8 - Browse repository at this point
Copy the full SHA f01a5a8View commit details
Commits on Sep 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 18c3107 - Browse repository at this point
Copy the full SHA 18c3107View commit details
Commits on Sep 2, 2024
-
Move trigger characters and logic to the formatting service
So it can be shared
Configuration menu - View commit details
-
Copy full SHA for cb0ae13 - Browse repository at this point
Copy the full SHA cb0ae13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3da875b - Browse repository at this point
Copy the full SHA 3da875bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a26624 - Browse repository at this point
Copy the full SHA 2a26624View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90c7b47 - Browse repository at this point
Copy the full SHA 90c7b47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cbbdf5 - Browse repository at this point
Copy the full SHA 2cbbdf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c3b12b - Browse repository at this point
Copy the full SHA 6c3b12bView commit details -
These don't test the full capabilities of the formatting engine, just that it runs in cohosting
Configuration menu - View commit details
-
Copy full SHA for a336b7f - Browse repository at this point
Copy the full SHA a336b7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55c51a3 - Browse repository at this point
Copy the full SHA 55c51a3View commit details -
Update dependencies from https://github.com/dotnet/source-build-refer…
…ence-packages build 20240828.1 Microsoft.SourceBuild.Intermediate.source-build-reference-packages From Version 10.0.0-alpha.1.24421.1 -> To Version 10.0.0-alpha.1.24428.1
Configuration menu - View commit details
-
Copy full SHA for 4a96692 - Browse repository at this point
Copy the full SHA 4a96692View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bddfe9 - Browse repository at this point
Copy the full SHA 8bddfe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56128c3 - Browse repository at this point
Copy the full SHA 56128c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a44a99 - Browse repository at this point
Copy the full SHA 4a44a99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 391f322 - Browse repository at this point
Copy the full SHA 391f322View commit details
Commits on Sep 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a7cd940 - Browse repository at this point
Copy the full SHA a7cd940View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e82de7 - Browse repository at this point
Copy the full SHA 1e82de7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f867a03 - Browse repository at this point
Copy the full SHA f867a03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 277c780 - Browse repository at this point
Copy the full SHA 277c780View commit details -
Configuration menu - View commit details
-
Copy full SHA for abc48b3 - Browse repository at this point
Copy the full SHA abc48b3View commit details -
Ensure PooledArrayBuilder<T> resets capacity of builder after drain
It is perfectly legal for a PooledArrayBuilder<T> to be drained via one of the DrainToImmutable* methods and then continue adding items to the builder. However, if the inner ImmutableArray<T>.Builder's capacity was set to 0 during the drain, its capacity will not be reset to any specified value when adding new items. This change fixes that.
Configuration menu - View commit details
-
Copy full SHA for 5c0677a - Browse repository at this point
Copy the full SHA 5c0677aView commit details -
Clarify [EventHandler] tag helper discovery logic and avoid exception (…
…dotnet#10828) This fixes an issue that @tmat pointed out to me over email. In a recent change (dotnet#10720), I added a call to `Assumed.Unreachable()` when `[EventHandler]` tag helper discovery encounters an attribute with invalid constructor attributes. However, throwing an exception during tag helper discovery is usually the wrong approach. Normally, if Roslyn symbols aren't in the proper shape during tag helper discovery, Razor will simply not produce a tag helper. (We _do_ support diagnostics for tag helpers, but those are usually reserved for warnings and errors that are related to a tag helper's data that would make it unusable, such as a name containing whitespace.) It turns out that the "unreachable" condition wasn't actually all that unreachable and @tmat was hitting it while working on hot reload tests. So, I've changed the code to make the success conditions clearer, i.e., the attribute data must match one of the two constructor calls. And, I changed the logic to simply skip `[EventHandler]` attributes that don't meet the success conditions.
Configuration menu - View commit details
-
Copy full SHA for 277663c - Browse repository at this point
Copy the full SHA 277663cView commit details
Commits on Sep 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 467ff24 - Browse repository at this point
Copy the full SHA 467ff24View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9e380b - Browse repository at this point
Copy the full SHA d9e380bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84c2983 - Browse repository at this point
Copy the full SHA 84c2983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 915c4c3 - Browse repository at this point
Copy the full SHA 915c4c3View commit details -
Was only used in one place, and that place could never have any result except false due to a FileKind check above
Configuration menu - View commit details
-
Copy full SHA for 074043b - Browse repository at this point
Copy the full SHA 074043bView commit details -
Remove GetRelatedDocuments from IProjectSnapshot
This is only called from the LSP server, and shouldn't be called from cohosting, so now it can't be!
Configuration menu - View commit details
-
Copy full SHA for 7107165 - Browse repository at this point
Copy the full SHA 7107165View commit details -
[main] Update dependencies from dotnet/arcade (dotnet#10816)
* Update dependencies from https://github.com/dotnet/arcade build 20240829.3 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 9.0.0-beta.24426.3 -> To Version 9.0.0-beta.24429.3 * Update dependencies from https://github.com/dotnet/arcade build 20240829.5 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 9.0.0-beta.24429.3 -> To Version 9.0.0-beta.24429.5 * Failed to perform coherency update for one or more dependencies. --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4ec65fb - Browse repository at this point
Copy the full SHA 4ec65fbView commit details -
Update dependencies from https://github.com/dotnet/arcade build 20240…
…826.2 (dotnet#10808) Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24421.4 -> To Version 8.0.0-beta.24426.2 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 41acbde - Browse repository at this point
Copy the full SHA 41acbdeView commit details -
[release/dev17.10] Update dependencies from dotnet/arcade (dotnet#10529)
* Update dependencies from https://github.com/dotnet/arcade build 20240624.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.1 * Update dependencies from https://github.com/dotnet/arcade build 20240624.7 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.7 * Update dependencies from https://github.com/dotnet/arcade build 20240624.7 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.7 * Update dependencies from https://github.com/dotnet/arcade build 20240624.7 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.7 * Update dependencies from https://github.com/dotnet/arcade build 20240624.7 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.7 * Update dependencies from https://github.com/dotnet/arcade build 20240626.4 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24326.4 * Update dependencies from https://github.com/dotnet/arcade build 20240626.4 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24326.4 * Update dependencies from https://github.com/dotnet/arcade build 20240628.2 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24328.2 * Update dependencies from https://github.com/dotnet/arcade build 20240628.2 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24328.2 * Update dependencies from https://github.com/dotnet/arcade build 20240702.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1 * Update dependencies from https://github.com/dotnet/arcade build 20240702.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1 * Update dependencies from https://github.com/dotnet/arcade build 20240702.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1 * Update dependencies from https://github.com/dotnet/arcade build 20240702.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1 * Update dependencies from https://github.com/dotnet/arcade build 20240702.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1 * Update dependencies from https://github.com/dotnet/arcade build 20240702.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1 * Update dependencies from https://github.com/dotnet/arcade build 20240702.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1 * Update dependencies from https://github.com/dotnet/arcade build 20240709.3 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24359.3 * Update dependencies from https://github.com/dotnet/arcade build 20240710.5 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5 * Update dependencies from https://github.com/dotnet/arcade build 20240710.5 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5 * Update dependencies from https://github.com/dotnet/arcade build 20240710.5 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5 * Update dependencies from https://github.com/dotnet/arcade build 20240710.5 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5 * Update dependencies from https://github.com/dotnet/arcade build 20240710.5 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5 * Update dependencies from https://github.com/dotnet/arcade build 20240710.5 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5 * Update dependencies from https://github.com/dotnet/arcade build 20240710.5 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5 * Update dependencies from https://github.com/dotnet/arcade build 20240716.7 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24366.7 * Update dependencies from https://github.com/dotnet/arcade build 20240717.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1 * Update dependencies from https://github.com/dotnet/arcade build 20240717.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1 * Update dependencies from https://github.com/dotnet/arcade build 20240717.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1 * Update dependencies from https://github.com/dotnet/arcade build 20240717.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1 * Update dependencies from https://github.com/dotnet/arcade build 20240717.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1 * Update dependencies from https://github.com/dotnet/arcade build 20240722.3 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24372.3 * Update dependencies from https://github.com/dotnet/arcade build 20240722.3 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24372.3 * Update dependencies from https://github.com/dotnet/arcade build 20240722.3 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24372.3 * Update dependencies from https://github.com/dotnet/arcade build 20240726.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1 * Update dependencies from https://github.com/dotnet/arcade build 20240726.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1 * Update dependencies from https://github.com/dotnet/arcade build 20240726.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1 * Update dependencies from https://github.com/dotnet/arcade build 20240726.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1 * Update dependencies from https://github.com/dotnet/arcade build 20240726.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1 * Update dependencies from https://github.com/dotnet/arcade build 20240726.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1 * Update dependencies from https://github.com/dotnet/arcade build 20240726.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1 * Update dependencies from https://github.com/dotnet/arcade build 20240726.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1 * Update dependencies from https://github.com/dotnet/arcade build 20240726.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1 * Update dependencies from https://github.com/dotnet/arcade build 20240726.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1 * Update dependencies from https://github.com/dotnet/arcade build 20240726.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1 * Update dependencies from https://github.com/dotnet/arcade build 20240812.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24376.1 -> To Version 8.0.0-beta.24412.1 * Update dependencies from https://github.com/dotnet/arcade build 20240813.2 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24412.1 -> To Version 8.0.0-beta.24413.2 * Update dependencies from https://github.com/dotnet/arcade build 20240821.4 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24413.2 -> To Version 8.0.0-beta.24421.4 * Update dependencies from https://github.com/dotnet/arcade build 20240826.2 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 8.0.0-beta.24421.4 -> To Version 8.0.0-beta.24426.2 --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 187962c - Browse repository at this point
Copy the full SHA 187962cView commit details -
Change RazorSyntaxTree.Diagnostics from an IReadOnlyList<RazorDiagnos…
…tic> to an ImmutableArray<RazorDiagnostic> (dotnet#10797) This pull request represents several changes with the ultimate goal of exposing `RazorSyntaxTree.Diagnostics` as an `ImmutableArray<RazorDiagnostic>` rather than an `IReadOnlyList<RazorDiagnostic>`: - Clean up `RazorSyntaxTree` and get rid of `DefaultRazorSyntaxTree`. - Add `(Drain)ToImmutableOrdered*` methods to `PooledArrayBuilder<T>`. Note that this change also includes a refactoring to the various unit tests for ordering to share test data that I've isolated to a single commit. - Clean up and improve `ErrorSink` to no longer greedily create a new `List<T>` before any errors are encountered. - Clean up `ParserContext` and make it used pooled collections. - Use pooled collections when computing and caching the result of `RazorSyntaxTree.Diagnostics`.
Configuration menu - View commit details
-
Copy full SHA for 90b1855 - Browse repository at this point
Copy the full SHA 90b1855View commit details -
Update dependencies from https://github.com/dotnet/arcade build 20240…
…903.1 (dotnet#10835) Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk From Version 9.0.0-beta.24429.5 -> To Version 9.0.0-beta.24453.1 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for de7eddc - Browse repository at this point
Copy the full SHA de7eddcView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb2fd72 - Browse repository at this point
Copy the full SHA cb2fd72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 976f723 - Browse repository at this point
Copy the full SHA 976f723View commit details -
Configuration menu - View commit details
-
Copy full SHA for 460ae5b - Browse repository at this point
Copy the full SHA 460ae5bView commit details -
Merge release/dev17.11 to release/dev17.12 (dotnet#10832)
This is an automatically generated pull request from release/dev17.11 into release/dev17.12. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯 ## Troubleshooting conflicts ### Identify authors of changes which introduced merge conflicts Scroll to the bottom, then for each file containing conflicts copy its path into the following searches: - https://github.com/dotnet/razor/find/release/dev17.11 - https://github.com/dotnet/razor/find/release/dev17.12 Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts. ### Resolve merge conflicts using your local repo Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub. ``` bash git fetch --all git checkout -t upstream/merges/release/dev17.11-to-release/dev17.12 git reset --hard upstream/release/dev17.12 git merge upstream/release/dev17.11 # Fix merge conflicts git commit git push upstream merges/release/dev17.11-to-release/dev17.12 --force ```
Configuration menu - View commit details
-
Copy full SHA for 1d04db3 - Browse repository at this point
Copy the full SHA 1d04db3View commit details -
Fix LF line-ending auto format bug (dotnet#10802)
* Implemented a line normalization function that prevents the language server from sending /r to LF line ending docs * check if indentation location has been processed * added LF line ending document to all previous razor formatting test cases * skipping some LF line ending formatting tests. Created an issue to track the progress
Configuration menu - View commit details
-
Copy full SHA for 148d71a - Browse repository at this point
Copy the full SHA 148d71aView commit details -
[main] Update dependencies from dotnet/source-build-reference-packages (
dotnet#10562) 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**: 20240828.1 - **Date Produced**: August 28, 2024 4:47:08 PM UTC - **Commit**: 6bcf90f99d13da86c5e9753a6f34b6484673d0a0 - **Branch**: refs/heads/main [DependencyUpdate]: <> (Begin) - **Updates**: - **Microsoft.SourceBuild.Intermediate.source-build-reference-packages**: [from 10.0.0-alpha.1.24421.1 to 10.0.0-alpha.1.24428.1][10] [10]: dotnet/source-build-reference-packages@bdd6987...6bcf90f [DependencyUpdate]: <> (End) [marker]: <> (End:011df26a-fbd1-45b0-94b9-08db3601dcca)
Configuration menu - View commit details
-
Copy full SHA for 6718dbc - Browse repository at this point
Copy the full SHA 6718dbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42cc39e - Browse repository at this point
Copy the full SHA 42cc39eView commit details -
Merge release/dev17.10 to release/dev17.11 (dotnet#10833)
This is an automatically generated pull request from release/dev17.10 into release/dev17.11. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯 ## Troubleshooting conflicts ### Identify authors of changes which introduced merge conflicts Scroll to the bottom, then for each file containing conflicts copy its path into the following searches: - https://github.com/dotnet/razor/find/release/dev17.10 - https://github.com/dotnet/razor/find/release/dev17.11 Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts. ### Resolve merge conflicts using your local repo Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub. ``` bash git fetch --all git checkout -t upstream/merges/release/dev17.10-to-release/dev17.11 git reset --hard upstream/release/dev17.11 git merge upstream/release/dev17.10 # Fix merge conflicts git commit git push upstream merges/release/dev17.10-to-release/dev17.11 --force ```
Configuration menu - View commit details
-
Copy full SHA for d6f6a52 - Browse repository at this point
Copy the full SHA d6f6a52View commit details
Commits on Sep 5, 2024
-
Remove some things from
IProjectSnapshot
for cohostings benefit (do……tnet#10831) Chris found these to be problematic in his branch where he enabled the source generator, but fortunately they're simply unnecessary in cohosting.
Configuration menu - View commit details
-
Copy full SHA for fbf8c8e - Browse repository at this point
Copy the full SHA fbf8c8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d8be8e - Browse repository at this point
Copy the full SHA 7d8be8eView commit details -
Merge remote-tracking branch 'upstream/main' into CohostFormatting
# Conflicts: # src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/RazorFormattingService.cs
Configuration menu - View commit details
-
Copy full SHA for a795f32 - Browse repository at this point
Copy the full SHA a795f32View commit details -
Configuration menu - View commit details
-
Copy full SHA for d87ad01 - Browse repository at this point
Copy the full SHA d87ad01View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7cd05e - Browse repository at this point
Copy the full SHA b7cd05eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dcc2c4 - Browse repository at this point
Copy the full SHA 4dcc2c4View commit details -
Merge release/dev17.11 to release/dev17.12 (dotnet#10840)
This is an automatically generated pull request from release/dev17.11 into release/dev17.12. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯 ## Troubleshooting conflicts ### Identify authors of changes which introduced merge conflicts Scroll to the bottom, then for each file containing conflicts copy its path into the following searches: - https://github.com/dotnet/razor/find/release/dev17.11 - https://github.com/dotnet/razor/find/release/dev17.12 Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts. ### Resolve merge conflicts using your local repo Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub. ``` bash git fetch --all git checkout -t upstream/merges/release/dev17.11-to-release/dev17.12 git reset --hard upstream/release/dev17.12 git merge upstream/release/dev17.11 # Fix merge conflicts git commit git push upstream merges/release/dev17.11-to-release/dev17.12 --force ```
Configuration menu - View commit details
-
Copy full SHA for c5b9ab8 - Browse repository at this point
Copy the full SHA c5b9ab8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0b2935 - Browse repository at this point
Copy the full SHA e0b2935View commit details -
Cohost formatting (dotnet#10822)
Fixes dotnet#10743 Part of dotnet#9519 Brings formatting to cohosting. Relatively simple because of previous PRs. Have left sharing full test coverage of the formatting engine for later
Configuration menu - View commit details
-
Copy full SHA for 9b339ba - Browse repository at this point
Copy the full SHA 9b339baView commit details -
Ensure type arguments are
global::
qualified (dotnet#10834)* Add a test * Use fully globally qualified type name * Update baselines * Fix delegates and child content * Update baselines * Fix other child content scenarios * Update baselines * Encapsulate shared code
Configuration menu - View commit details
-
Copy full SHA for dde7fe8 - Browse repository at this point
Copy the full SHA dde7fe8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdda4bb - Browse repository at this point
Copy the full SHA fdda4bbView commit details
Commits on Sep 6, 2024
-
Merge release/dev17.12 to main (dotnet#10841)
This is an automatically generated pull request from release/dev17.12 into main. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯 ## Troubleshooting conflicts ### Identify authors of changes which introduced merge conflicts Scroll to the bottom, then for each file containing conflicts copy its path into the following searches: - https://github.com/dotnet/razor/find/release/dev17.12 - https://github.com/dotnet/razor/find/main Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts. ### Resolve merge conflicts using your local repo Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub. ``` bash git fetch --all git checkout -t upstream/merges/release/dev17.12-to-main git reset --hard upstream/main git merge upstream/release/dev17.12 # Fix merge conflicts git commit git push upstream merges/release/dev17.12-to-main --force ```
Configuration menu - View commit details
-
Copy full SHA for 459e9d6 - Browse repository at this point
Copy the full SHA 459e9d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d37da8b - Browse repository at this point
Copy the full SHA d37da8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b69b08c - Browse repository at this point
Copy the full SHA b69b08cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e12161 - Browse repository at this point
Copy the full SHA 6e12161View commit details -
Merge remote-tracking branch 'upstream/main' into CohostGoToImplement…
…ation # Conflicts: # eng/targets/Services.props
Configuration menu - View commit details
-
Copy full SHA for 054f9ee - Browse repository at this point
Copy the full SHA 054f9eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7681c2 - Browse repository at this point
Copy the full SHA f7681c2View commit details -
This should have been fixed with dotnet#10807 but without the Roslyn bump I guess I didn't realise. Oops!
Configuration menu - View commit details
-
Copy full SHA for 70f110d - Browse repository at this point
Copy the full SHA 70f110dView commit details -
Cohost Go To Implementation (dotnet#10824)
Needs dotnet/roslyn#74978 Fixes dotnet#10695 Part of dotnet#9519 Pretty straightforward. A tiny bit of code moved to be shared with Go To Def, but that's it.
Configuration menu - View commit details
-
Copy full SHA for 49e727b - Browse repository at this point
Copy the full SHA 49e727bView commit details -
Merge remote-tracking branch 'upstream/main' into CohostSpellCheck
# Conflicts: # eng/targets/Services.props # src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Remote/RazorServices.cs
Configuration menu - View commit details
-
Copy full SHA for a3ee54d - Browse repository at this point
Copy the full SHA a3ee54dView commit details -
Merge release/dev17.12 to main (dotnet#10847)
This is an automatically generated pull request from release/dev17.12 into main. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯 ## Troubleshooting conflicts ### Identify authors of changes which introduced merge conflicts Scroll to the bottom, then for each file containing conflicts copy its path into the following searches: - https://github.com/dotnet/razor/find/release/dev17.12 - https://github.com/dotnet/razor/find/main Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts. ### Resolve merge conflicts using your local repo Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub. ``` bash git fetch --all git checkout -t upstream/merges/release/dev17.12-to-main git reset --hard upstream/main git merge upstream/release/dev17.12 # Fix merge conflicts git commit git push upstream merges/release/dev17.12-to-main --force ```
Configuration menu - View commit details
-
Copy full SHA for 9678b91 - Browse repository at this point
Copy the full SHA 9678b91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3442176 - Browse repository at this point
Copy the full SHA 3442176View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0d5d3e - Browse repository at this point
Copy the full SHA b0d5d3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for daa1f01 - Browse repository at this point
Copy the full SHA daa1f01View commit details -
Cohost Spell Check (dotnet#10825)
Needs dotnet/roslyn#74978 Fixes dotnet#10746 Part of dotnet#9519
Configuration menu - View commit details
-
Copy full SHA for 07e1382 - Browse repository at this point
Copy the full SHA 07e1382View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9386c8c - Browse repository at this point
Copy the full SHA 9386c8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc5b5a5 - Browse repository at this point
Copy the full SHA cc5b5a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8eede8 - Browse repository at this point
Copy the full SHA e8eede8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f575ad0 - Browse repository at this point
Copy the full SHA f575ad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae81c66 - Browse repository at this point
Copy the full SHA ae81c66View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed8e62b - Browse repository at this point
Copy the full SHA ed8e62bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5105d1b - Browse repository at this point
Copy the full SHA 5105d1bView commit details -
OnAutoInsert Cohosting Tests (dotnet#10829)
* OnAutoInsert Cohosting Tests * Fixing C# case (and correcting others) All text should already be in the document/buffer when OnAutoInsert is being executed. Tigger character is not being added to the buffer, it should already be in the buffer. * PR feedback Switching to applying edit instead of verifying edit contents and range. Switching from Theories to separate Facts where input was complex. Other misc cleanup. * Fixing options source and adding options tests * Tests for all options * Switching to use TestCode class * Create options object for cohost OnAutoInsert to combined individual options passed to the remove service. * More PR feedback * Switching to nested RazorFormattingOptions
Configuration menu - View commit details
-
Copy full SHA for e9cd0b2 - Browse repository at this point
Copy the full SHA e9cd0b2View commit details
Commits on Sep 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6186646 - Browse repository at this point
Copy the full SHA 6186646View commit details
Commits on Sep 9, 2024
-
Remove flaky test (dotnet#10854)
This keeps failing, and formatting it doesn't add any value to our integration tests IMO
Configuration menu - View commit details
-
Copy full SHA for b0cd007 - Browse repository at this point
Copy the full SHA b0cd007View commit details -
Convert TextEdit to TextChange
This commit wasn't purely mechanical, but it was close. Just making things mostly compile, no optimizations or anything yet, and probably still a bunch more renames to come.
Configuration menu - View commit details
-
Copy full SHA for f6da71d - Browse repository at this point
Copy the full SHA f6da71dView commit details -
Get all consuming code compiling again
Haven't run the tests yet :)
Configuration menu - View commit details
-
Copy full SHA for add718d - Browse repository at this point
Copy the full SHA add718dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb2a2bd - Browse repository at this point
Copy the full SHA fb2a2bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b275b91 - Browse repository at this point
Copy the full SHA b275b91View commit details -
Configuration menu - View commit details
-
Copy full SHA for caa7ca0 - Browse repository at this point
Copy the full SHA caa7ca0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f89e7f6 - Browse repository at this point
Copy the full SHA f89e7f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e9bf4d - Browse repository at this point
Copy the full SHA 4e9bf4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for aec9af4 - Browse repository at this point
Copy the full SHA aec9af4View commit details -
Most places already passed an ImmutableArray here. I left the method itself being an iterator, as 50% of callers need an ImmutableArray result, but the other 50% need an array, so no clear winner.
Configuration menu - View commit details
-
Copy full SHA for b268c61 - Browse repository at this point
Copy the full SHA b268c61View commit details -
Convert HtmlFormatter to ImmutableArray<TextChange>
All callers did the conversion anyway
Configuration menu - View commit details
-
Copy full SHA for 4aeb519 - Browse repository at this point
Copy the full SHA 4aeb519View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04f2ca6 - Browse repository at this point
Copy the full SHA 04f2ca6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6478625 - Browse repository at this point
Copy the full SHA 6478625View commit details -
Configuration menu - View commit details
-
Copy full SHA for d185785 - Browse repository at this point
Copy the full SHA d185785View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98421fa - Browse repository at this point
Copy the full SHA 98421faView commit details -
Remove unused private members (dotnet#10848)
A clean error list is a good error list.
Configuration menu - View commit details
-
Copy full SHA for 308833d - Browse repository at this point
Copy the full SHA 308833dView commit details -
Update dependencies from https://github.com/dotnet/source-build-refer…
…ence-packages build 20240905.1 Microsoft.SourceBuild.Intermediate.source-build-reference-packages From Version 10.0.0-alpha.1.24428.1 -> To Version 10.0.0-alpha.1.24455.1
Configuration menu - View commit details
-
Copy full SHA for baabd8d - Browse repository at this point
Copy the full SHA baabd8dView commit details -
Remove IDocumentMappingService.GetLanguageKind(...) and make it an ex…
…tension method on RazorCodeDocument (dotnet#10851) For a long while, the `GetLanguageKind(...)` method that determines whether an index into a document falls within Razor, C# or HTML has been a bit of a wart on the `IDocumentMappingService`. It really isn't part of document mapping, and its implementation is completely distinct. In fact, making the actual change is quite simple, so why hadn't it been done yet? The answer is mocking. There are several tests that mock `IDocumentMappingService.GetLanguageKind(...)` to lie about test inputs. In my not-so-humble opinion, this represents an abuse of mocking. Instead of setting up tests to have the necessary inputs that ensure `GetLanguageKind(...)` would return a real and correct result, the inputs would often be garbage and an `IDocumentMappingService` mock would lie about the `GetLanguageKind(...)` result at a particular location. This makes moving `GetLanguageKind(...)` off of `IDocumentMappingService` a much larger change than it needs to be. This is why there are substantial test changes in this PR. Don't misunderstand me as a mocking hater! Mocking libraries are definitely useful! In fact, there are new mocks used in this very PR! However, mocks should be used judiciously and thoughtfully, and in this case, a mock was used to write lazy tests. Fixes dotnet#8774
Configuration menu - View commit details
-
Copy full SHA for 29c7302 - Browse repository at this point
Copy the full SHA 29c7302View commit details
Commits on Sep 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4f1a297 - Browse repository at this point
Copy the full SHA 4f1a297View commit details -
[main] Update dependencies from dotnet/source-build-reference-packages (
dotnet#10858) 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**: 20240905.1 - **Date Produced**: September 5, 2024 10:13:43 PM UTC - **Commit**: ad3c9aa85596f42c6a483233c50fab8cee8c412a - **Branch**: refs/heads/main [DependencyUpdate]: <> (Begin) - **Updates**: - **Microsoft.SourceBuild.Intermediate.source-build-reference-packages**: [from 10.0.0-alpha.1.24428.1 to 10.0.0-alpha.1.24455.1][1] [1]: dotnet/source-build-reference-packages@6bcf90f...ad3c9aa [DependencyUpdate]: <> (End) [marker]: <> (End:011df26a-fbd1-45b0-94b9-08db3601dcca)
Configuration menu - View commit details
-
Copy full SHA for f9e09f5 - Browse repository at this point
Copy the full SHA f9e09f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef0054c - Browse repository at this point
Copy the full SHA ef0054cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05e317f - Browse repository at this point
Copy the full SHA 05e317fView commit details -
Switch formatting engine over to using
TextChange
instead of `TextE……dit` (dotnet#10855) Fixes dotnet#10842 The formatting self-nerd-sniping continues. The formatting engine was written to use the LSP `TextEdit` class, which makes some sense, but also uses Roslyn APIs like `SourceText` a lot, which uses the `TextChange` struct instead. This meant lots of code to convert to and from the two types. Changing the whole formatting engine over to `TextChange`, and using more `TextSpan`, `LinePositionSpan` etc. removes a lot of this code. It also makes a lot more sense in cohosting, to boot. I wouldn't claim that I've gone through and improved the perf of the formatting engine, but rather I've use the changes to lead me to things that need fixing. ie, I started out moving from `TextEdit[]` to `ImmutableArray<TextChange>`, and this let me to places where pooled array builders could be used, and places where `Range` and `Position` were used which didn't make much sense, and then the constructor for `LinePosition` threw at one point because it turns out we were only using the `Line` property from the `Position` that used to be used, and so never validated the characters, so that API moved to `int`, etc. TL;DR the commits tell the story, and there could well be something I missed, if it never came across my plate for another reason.
Configuration menu - View commit details
-
Copy full SHA for 2511efe - Browse repository at this point
Copy the full SHA 2511efeView commit details -
Merge remote-tracking branch 'upstream/main' into features/roslyn-tok…
…enizer * upstream/main: (270 commits) Fix after merge PR Feedback Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20240905.1 Fix auto insert service after merge from main PR Feedback Use ImmutableArray in SourceTextDiffer too Create a helper method and revert change to shared code, just in case Convert HtmlFormatter to ImmutableArray<TextChange> IEnumarable to ImmutableArray Remove some more usage of LSP types, and simplify ranges to line numbers Use pooled collections in a few more spots Extract common code to helper method Rename some methods to Try... pattern Rename some variables etc. Fix broken tests Get all consuming code compiling again Convert TextEdit to TextChange Remove flaky test OnAutoInsert Cohosting Tests (dotnet#10829) Update GetLanguageKind(...) tests and move to Workspaces.Test ...
Configuration menu - View commit details
-
Copy full SHA for d7d4932 - Browse repository at this point
Copy the full SHA d7d4932View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ea44ba - Browse repository at this point
Copy the full SHA 0ea44baView commit details