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

2747 Коммитов

Автор SHA1 Сообщение Дата
Jared Parsons d7dd436243
Revert "Move to Central Package Management (#10215)" (#10227)
This reverts commit c68a6bdbc7.
2024-04-05 09:50:12 -07:00
Jared Parsons c68a6bdbc7
Move to Central Package Management (#10215)
This change moves us to central package management.
2024-04-04 13:43:31 -07:00
Jan Jones 0881c0a948
[main] Update dependencies from dotnet/arcade (#10156)
This pull request updates the following dependencies

[marker]: <> (Begin:2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d)
## From https://github.com/dotnet/arcade
- **Subscription**: 2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d
- **Build**: 20240329.4
- **Date Produced**: March 29, 2024 8:33:35 PM UTC
- **Commit**: fc2b7849b25c4a21457feb6da5fc7c9806a80976
- **Branch**: refs/heads/release/8.0

[DependencyUpdate]: <> (Begin)

- **Updates**:
- **Microsoft.SourceBuild.Intermediate.arcade**: [from
8.0.0-beta.24170.6 to 8.0.0-beta.24179.4][7]
- **Microsoft.DotNet.Arcade.Sdk**: [from 8.0.0-beta.24170.6 to
8.0.0-beta.24179.4][7]

[7]: 8e3e00a76f...fc2b7849b2

[DependencyUpdate]: <> (End)


[marker]: <> (End:2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d)
2024-04-02 12:14:39 +02:00
dotnet-maestro[bot] 5143498af3 Update dependencies from https://github.com/dotnet/arcade build 20240329.4
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24170.6 -> To Version 8.0.0-beta.24179.4
2024-03-30 13:03:34 +00:00
dotnet-maestro[bot] c67e86cdaa Update dependencies from https://github.com/dotnet/arcade build 20240327.1
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24170.6 -> To Version 8.0.0-beta.24177.1
2024-03-28 13:08:39 +00:00
dotnet-maestro[bot] 42c112df82 Update dependencies from https://github.com/dotnet/arcade build 20240326.8
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24170.6 -> To Version 8.0.0-beta.24176.8
2024-03-27 13:15:51 +00:00
David Barbet e832b1d125
Switch Razor to using clasp as a source package (#10139)
### Summary of the changes
Now that https://github.com/dotnet/roslyn/pull/72237 has merged on the
Roslyn side, we need to update Razor to consume the source package
version. This will allow us to delete the nuget package version

-

Fixes:
2024-03-26 14:02:01 -07:00
Dustin Campbell 3cd3804b32
Replace `BatchingWorkQueue` with `AsyncBatchingWorkQueue` from Roslyn (#10140)
Fixes #10158

I recommend reviewing commit-by-commit.

Razor has had a `BatchingWorkQueue` for a long while that has dubious
semantics. It is used by three features:

- `OpenDocumentGenerator` - Listens for document updates, computes
generated output for each, and notifies listeners when a document has
been processed.
- `WorkspaceSemanticTokensRefreshPublisher` - Called in the server to
send the client `semanticTokens/refresh` notifications. This really sort
of abuses `BatchingWorkQueue` just for debouncing and only send
notifications every 250 milliseconds.
- `WorkspaceProjectStateChangeDetector` - Listens for Roslyn workspace
and Razor project manager changes and calls into
`IProjectWorkspaceStateGenerator.Update(...)` when a change occurs.

This change fully replaces `BatchingWorkQueue` with a copy of Roslyn's
`AsyncBatchingWorkQueue`, which has consistent semantics and has been
battle-hardened for years. I've updated `OpenDocumentGenerator` and
`WorkspaceProjectStateChangeDetector` above to use
`AsyncBatchingWorkQueue`. For `WorkspaceSemanticTokensRefreshPublisher`
(now `WorkspaceSemanticTokensRefreshNotifier`), I've removed the
`BatchingWorkQueue` altogether and replaced it with simpler logic that
debounces and calls `Task.Delay(...)`.

Many thanks to @CyrusNajmabadi for his help with
`AsyncBatchingWorkQueue`.

@dotnet/razor-compiler: The only relevant compiler changes are in shared
code.
2024-03-26 09:20:46 -07:00
Rikki Gibson 4226112350
Update config for 17.10 P3 snap (#10162) 2024-03-25 18:09:08 -07:00
dotnet-maestro[bot] a878a44e01 Update dependencies from https://github.com/dotnet/arcade build
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24170.6 -> To Version 8.0.0-beta.24172.5
2024-03-25 12:45:51 +00:00
Jan Jones 0294056d5b
[main] Update dependencies from dotnet/arcade (#10147)
This pull request updates the following dependencies

[marker]: <> (Begin:2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d)
## From https://github.com/dotnet/arcade
- **Subscription**: 2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d
- **Build**: 
- **Date Produced**: March 20, 2024 7:43:32 PM UTC
- **Commit**: 8e3e00a76f467cc262dc14f6466ab884b2c4eb96
- **Branch**: refs/heads/release/8.0

[DependencyUpdate]: <> (Begin)

- **Updates**:
- **Microsoft.SourceBuild.Intermediate.arcade**: [from
8.0.0-beta.24165.4 to 8.0.0-beta.24170.6][3]
- **Microsoft.DotNet.Arcade.Sdk**: [from 8.0.0-beta.24165.4 to
8.0.0-beta.24170.6][3]

[3]: f311667e05...8e3e00a76f

[DependencyUpdate]: <> (End)


[marker]: <> (End:2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d)
2024-03-25 09:53:52 +01:00
Dustin Campbell 530fd6d13d Copy AsyncBatchingWorkQueue from Roslyn
Roslyn's `AsyncBatchingWorkQueue` is a battle-hardened utility that provides a robust mechanism to do work in batches without blocking.
2024-03-22 09:33:34 -07:00
Dustin Campbell d4a6aaafa0
Use PooledArrayBuilder<SyntaxToken> throughout parsers and tokenizer (#10095)
@ToddGrun shared a couple PerfView stacks with me where the Razor
compiler was allocating `List<SyntaxToken>` instances in the tokenizer.
To remove those allocation, this change replaces `List<SyntaxToken>s`
throughout the parsers and tokenizer, and uses
`PooledArrayBuilder<SyntaxToken>` instead. In addition, I removed a
couple of `Concat` calls and replaced them with pooled `StringBuilders`.
2024-03-22 08:53:34 -07:00
dotnet-maestro[bot] 539ece931f Update dependencies from https://github.com/dotnet/arcade build
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24165.4 -> To Version 8.0.0-beta.24170.6
2024-03-22 12:57:05 +00:00
David Barbet f042b6fa24 Add clasp source package 2024-03-21 14:31:20 -07:00
Dustin Campbell 5bed9c6638 Update Roslyn.Diagnostic.Analyzers and update a couple more parameters to ref readonly 2024-03-21 12:44:49 -07:00
David Wengier 2e9eaa0fb5 Bump Roslyn to a real version 2024-03-21 07:42:58 +11:00
David Wengier e57c20cea1 Merge remote-tracking branch 'upstream/main' into CohostSemanticTokensOOP 2024-03-21 07:41:19 +11:00
dotnet-maestro[bot] a0c40a0607 Update dependencies from https://github.com/dotnet/source-build-reference-packages build
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 9.0.0-alpha.1.24155.1 -> To Version 9.0.0-alpha.1.24162.2
2024-03-18 12:42:07 +00:00
dotnet-maestro[bot] c530dfb92d Update dependencies from https://github.com/dotnet/arcade build
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24161.7 -> To Version 8.0.0-beta.24165.4
2024-03-16 12:27:40 +00:00
David Wengier 6fb22976c1 Bump Roslyn version, and dependencies 2024-03-15 11:42:10 +11:00
dotnet-maestro[bot] 28178217a1
Update dependencies from https://github.com/dotnet/arcade build (#10083)
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24161.1 -> To Version 8.0.0-beta.24161.7

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-03-13 16:18:04 +01:00
David Wengier 2b728861ff Re-order version.props to reduce conflicts 2024-03-13 10:59:05 +11:00
dotnet-maestro[bot] 7995043766
Update dependencies from https://github.com/dotnet/arcade build 20240311.1 (#10071)
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24158.4 -> To Version 8.0.0-beta.24161.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-03-12 15:29:30 +01:00
dotnet-maestro[bot] bb83584258 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20240305.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 9.0.0-alpha.1.24127.3 -> To Version 9.0.0-alpha.1.24155.1
2024-03-11 13:00:56 +00:00
dotnet-maestro[bot] 6b221f72b0 Update dependencies from https://github.com/dotnet/arcade build 20240308.4
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24158.1 -> To Version 8.0.0-beta.24158.4
2024-03-10 12:47:49 +00:00
dotnet-maestro[bot] e808384fc5 Update dependencies from https://github.com/dotnet/arcade build 20240308.1
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24156.1 -> To Version 8.0.0-beta.24158.1
2024-03-09 13:53:36 +00:00
dotnet-maestro[bot] 5744642b19 Update dependencies from https://github.com/dotnet/arcade build 20240306.1
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24155.2 -> To Version 8.0.0-beta.24156.1
2024-03-08 13:50:56 +00:00
dotnet-maestro[bot] 4801b8fd8a Update dependencies from https://github.com/dotnet/arcade build 20240305.2
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24151.4 -> To Version 8.0.0-beta.24155.2
2024-03-07 13:58:41 +00:00
Fredric Silberberg 308a081ae1 Upgrade Roslyn.Diagnostics.Analyzers versions and fix new warnings. 2024-03-06 11:34:42 -08:00
David Wengier c126dfc208
[main] Update dependencies from dotnet/arcade (#10019)
This pull request updates the following dependencies

[marker]: <> (Begin:2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d)
## From https://github.com/dotnet/arcade
- **Subscription**: 2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d
- **Build**: 20240301.4
- **Date Produced**: March 1, 2024 9:01:07 PM UTC
- **Commit**: cbb61c3a9a42e7c3cce17ee453ff5ecdc7f69282
- **Branch**: refs/heads/release/8.0

[DependencyUpdate]: <> (Begin)

- **Updates**:
- **Microsoft.SourceBuild.Intermediate.arcade**: [from
8.0.0-beta.24123.1 to 8.0.0-beta.24151.4][3]
- **Microsoft.DotNet.Arcade.Sdk**: [from 8.0.0-beta.24123.1 to
8.0.0-beta.24151.4][3]

[3]: 042763a811...cbb61c3a9a

[DependencyUpdate]: <> (End)


[marker]: <> (End:2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d)
2024-03-05 16:05:01 +11:00
dotnet-maestro[bot] 6a819e035d Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20240227.3
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 9.0.0-alpha.1.24123.3 -> To Version 9.0.0-alpha.1.24127.3
2024-03-04 14:03:00 +00:00
dotnet-maestro[bot] ecc273b583 Update dependencies from https://github.com/dotnet/arcade build 20240301.4
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24123.1 -> To Version 8.0.0-beta.24151.4
2024-03-02 13:59:02 +00:00
Viktor Hofer dd6010b970
Remove UsingToolNetFrameworkReferenceAssemblies (#10005)
UsingToolNetFrameworkReferenceAssemblies got removed from Arcade a while ago as the SDK supports that natively.
2024-02-28 19:33:33 +01:00
Jan Jones 3fc5548e17
Bump roslyn-sdk (#9996) 2024-02-28 10:43:40 +01:00
dotnet-maestro[bot] 123d606bc9 Update dependencies from https://github.com/dotnet/arcade build 20240223.1
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24113.2 -> To Version 8.0.0-beta.24123.1
2024-02-27 13:50:44 +00:00
dotnet-maestro[bot] b3ad9608a3
[main] Update dependencies from dotnet/source-build-reference-packages (#9988)
* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20240223.3

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 9.0.0-alpha.1.24113.1 -> To Version 9.0.0-alpha.1.24123.3

* Update Microsoft.Build.NoTargets

Per https://github.com/dotnet/source-build-reference-packages/pull/899#issuecomment-1961402227.

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Jan Jones <janjones@microsoft.com>
2024-02-27 11:36:15 +01:00
Jan Jones f7edee2d6a
Update data for 17.10P2 snap (#9995) 2024-02-27 01:39:43 -08:00
dotnet-maestro[bot] ad09d08774 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20240213.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 9.0.0-alpha.1.24109.1 -> To Version 9.0.0-alpha.1.24113.1
2024-02-19 13:49:39 +00:00
David Wengier 157216f748
[main] Update dependencies from dotnet/arcade (#9936) 2024-02-15 16:17:20 +11:00
Andrew Hall 4e4a8df527
Remove custom CodeMapper types (#9910)
Now that the protocol packages have mapper types, this moves to use those instead of having our own definition. Follow up needed for new obsolete APIs introduced by package upgrade
2024-02-14 15:47:42 -08:00
dotnet-maestro[bot] 927ba8fbdc Update dependencies from https://github.com/dotnet/arcade build 20240213.2
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24081.5 -> To Version 8.0.0-beta.24113.2
2024-02-14 19:32:12 +00:00
Dustin Campbell 9c9c940d8b
Bump immutable collections and objectpool packages to 8.0.0 (#9923)
It turns out that our System.Immutable.Collections package version was
already bumped to 8.0.0 with the Roslyn update. This PR bumps our pinned
version of System.Immutable.Collections to match, and also bumps
Microsoft.Extensions.ObjectPool.
2024-02-14 08:53:41 -08:00
dotnet-maestro[bot] 622d0ce9b4 Update dependencies from https://github.com/dotnet/arcade build 20240209.2
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24081.5 -> To Version 8.0.0-beta.24109.2
2024-02-14 13:50:33 +00:00
David Wengier 78940e67c0 Merge remote-tracking branch 'upstream/main' into CohostBreakingChanges
# Conflicts:
#	eng/Versions.props
2024-02-13 12:46:29 +11:00
David Wengier d751f27110 Bump Roslyn to 4.10.0-2.24112.8 2024-02-13 12:44:19 +11:00
dotnet-maestro[bot] 37212c8c33 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20240209.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 9.0.0-alpha.1.24101.2 -> To Version 9.0.0-alpha.1.24109.1
2024-02-12 13:44:54 +00:00
Dustin Campbell 7897539b3b Bump immutable collections and objectpool packages to 8.0.0 2024-02-09 12:02:57 -08:00
Dustin Campbell 0ccb31a387 Break final dependency on ITextBufferProjectService and remove
This change removes the final dependency on ITextBufferProjectService,
which was the ProjectPathProvider. Now that the dependencies have all
been removed, the service is deleted as well.
2024-02-07 15:32:31 -08:00
dotnet-maestro[bot] 115addecc7 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20240201.2
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 9.0.0-alpha.1.24075.1 -> To Version 9.0.0-alpha.1.24101.2
2024-02-05 13:55:43 +00:00