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

9961 Коммитов

Автор SHA1 Сообщение Дата
David Barbet 23d8c923a2 Implement new logger interface method without dependency upgrade 2022-12-12 17:42:37 -08:00
Chris Sienkiewicz 11edc15efe
Benchmark updates (#8001)
* Factor out the razor benchmarks into mostly manually listed ones
* Add ETW and memory diagnostics when available
* Rename benchmarks
* Add unit tests for the benchmarks
* Return generatordriver from benchmarks
* Simplify benchmark construction
* Add more benchmark tests
2022-12-12 20:33:28 +00:00
David Wengier 00f7758977
Merge pull request #8012 from sandyarmstrong/patch-1 2022-12-13 03:05:56 +11:00
Sandy Armstrong 53004d82b1
Truly exclude Microsoft.Extensions.ObjectPool.dll from mpack
Follow-up to https://github.com/dotnet/razor/pull/8009.

If Razor's LSP server was a separate process like WebTools,
we would leave the duplicate files in there and resolve this
issue using symlinks. But that's not the case here.
2022-12-12 06:50:33 -08:00
Jan Jones ba4f6dcb1e
Handle empty `AdditionalFiles.TargetPath` (#7997)
* Handle empty `AdditionalFiles.TargetPath`

* Handle also white space
2022-12-12 10:47:41 +00:00
David Wengier b22e62c1c4
Merge pull request #8009 from davidwengier/DontShipObjectPoolOnMac 2022-12-12 10:06:29 +11:00
David Wengier dee55ada1e Don't include Microsoft.Extensions.ObjectPool.dll in our mpack 2022-12-12 09:10:32 +11:00
David Wengier 1f527d7e63
Merge pull request #7998 from dotnet/dependabot/npm_and_yarn/src/Razor/test/Microsoft.AspNetCore.Razor.VSCode.Grammar.Test/qs-6.5.3 2022-12-07 14:47:12 +11:00
Allison Chou f064c14878
Fix publishDataUri (#8000) 2022-12-07 00:44:26 +00:00
Fred Silberberg 6575f1443e
Use ConcurrentDictionary to back ItemCollection (#7995)
There are dictionary corruption issues in the wild, so switch to ConcurrentDictionary to solve this.
2022-12-06 15:07:47 -08:00
dependabot[bot] 31da4db921
Bump qs
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 22:36:33 +00:00
Chris Sienkiewicz 13ad9d5c10
Add benchmarks (#7963)
* Add benchmarks:
- Add new benchmark project
- Add sample app that can be benchmarked
- Check ratio and report failures with exit code.
2022-12-06 22:35:55 +00:00
Thays Grazia b412228ed6
Blazor WebAssembly Debug extension is not working with .net7 (#7929)
* We cannot use the BrowserDebugProxy from the extension folder, that one only works with .net6 app, and it should work with .net6 and .net7, so we should use the inspectURI which will start the correct browserDebugProxy version.

* try to get the inspectUri from the launchSettings.json file, if it cannot be found then use the default one, this will make possible debug the new browserwasm template

* avoiding exception if profiles doesn't exist
2022-12-05 13:35:42 -08:00
Allison Chou bdedec86b9
[Infra] Update PublishData.json for 17.5 P3 (#7984) 2022-12-02 11:53:55 -08:00
Jan Jones 4e9a5b2354
Ensure generic constraints are emitted in correct order (#7965)
* Ensure `struct`/`class` generic constraints are emitted first

* Add separating blank lines
2022-12-02 10:12:10 +01:00
Allison Chou 9b6c540738
Have a separate feature flag for single server diagnostics, that defaults to off (#7987) 2022-12-01 21:54:52 -08:00
David Wengier 1b06147708
Merge pull request #7986 from davidwengier/FixDiagnostics 2022-12-02 14:38:57 +11:00
David Wengier 9f6a54c1fd Have a separate feature flag for single server diagnostics, that defaults to off 2022-12-02 13:22:43 +11:00
dependabot[bot] 17a44b008a
Bump decode-uri-component (#7981)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 15:55:17 -08:00
Dustin Campbell 942d44e61e
Merge pull request #7960 from DustinCampbell/object-pools
Add object pooling infrastructure
2022-12-01 15:43:42 -08:00
Dustin Campbell 19db03aa11
Merge pull request #7977 from DustinCampbell/remove-core-components
Exclude Razor.CoreComponents.* files from VSIX
2022-12-01 14:43:34 -08:00
Dustin Campbell 3c35928f66 Add Microsoft.Extensions.ObjectPool.dll to various spots in VSIX 2022-12-01 14:41:36 -08:00
Allison Chou b83534429c
Revert "Merge pull request #7936 from ryanbrandenburg/OmniSharpDecouple" (#7980)
This reverts commit 4e6fc5ac79, reversing
changes made to cad3ad5cb0.
2022-12-01 20:27:45 +00:00
Dustin Campbell 38e662b11a Exclude Razor.CoreComponents.* files from VSIX 2022-12-01 08:53:25 -08:00
Dustin Campbell 8aa7973bd2 Additional clean up for code using object pools 2022-11-30 15:50:12 -08:00
Dustin Campbell 6d7ff1e675 Use Microsoft.Extensions.ObjectPool package 2022-11-30 15:30:06 -08:00
Dustin Campbell 1c085fcbc3 Add improved API for object pools 2022-11-30 13:44:03 -08:00
Dustin Campbell fe4bd081b7 Use StringBuilderPool where appropriate 2022-11-30 13:44:03 -08:00
Dustin Campbell 222a29230e Refactor and flesh out object pool infrastructure 2022-11-30 13:44:03 -08:00
Dustin Campbell 71a4c71d94 Add a few tests for object pooling 2022-11-30 13:44:02 -08:00
Dustin Campbell df4c0bc754 Add object pooling infrastructure
This change adds types for pooling objects, which can be used to reduce
allocations of temporary, short-lived objects, such as lists and
string builders.
2022-11-30 13:44:02 -08:00
Allison Chou bf4e7aa069
Update compiler toolset version (#7970) 2022-11-30 02:55:16 +00:00
James Newton-King f437532b1d
Merge pull request #7937 from dotnet/jamesnk/route-component-option 2022-11-30 08:58:19 +08:00
Chris Sienkiewicz b6875a81a9
Enable source build (#7949)
* Enable source build
2022-11-29 16:20:27 -08:00
Matt Mitchell 7654d6c957
Remove pre-release version iteration (#7927)
The packages are only for transport and the "5" can be confusing when looking at the SDK input version numbers.
2022-11-29 15:09:14 -08:00
Allison Chou e887ba525d
Revert "Merge pull request #7925 from ryanbrandenburg/OSharpNoShip" (#7969)
This reverts commit b647abee9c, reversing
changes made to f7197e167e.
2022-11-29 19:47:43 +00:00
David Wengier a63dcc15fb
Merge pull request #7967 from dotnet/locfiles/f83cddae-713c-4eef-96b9-e01ed2d63ec2 2022-11-29 21:16:17 +11:00
dotnet bot 6f66166033 Localized file check-in by OneLocBuild Task: Build definition ID 262: Build ID 2055260 2022-11-29 01:19:44 -08:00
James Newton-King 55b64ac84d
Revert encoding change 2022-11-29 08:53:08 +08:00
dotnet bot c05cefac3d
Localized file check-in by OneLocBuild Task: Build definition ID 262: Build ID 2052239 (#7961) 2022-11-24 06:57:43 +00:00
David Wengier d547766c61
Merge pull request #7958 from davidwengier/CodeCleanup 2022-11-24 11:39:31 +11:00
David Wengier 71a5e17b16
Merge pull request #7952 from davidwengier/TextMate
Fixes https://github.com/dotnet/razor/issues/4581
2022-11-24 10:50:21 +11:00
David Wengier ca3468ee36 Clean up experimental formatting rules, and fix warnings 2022-11-24 10:44:12 +11:00
Dustin Campbell 4bc2531b1f
Merge pull request #7955 from DustinCampbell/common-root-namespace
Change root namespace of MS.AspNetCore.Razor.Common
2022-11-23 15:39:33 -08:00
Dustin Campbell 78dd9383cb
Merge pull request #7954 from DustinCampbell/cleanup-resources
Cleanup string resources and make accessing them consistent
2022-11-23 15:33:56 -08:00
David Wengier 1d21f9bae4
Merge pull request #7950 from ryanbrandenburg/Cleanup 2022-11-24 08:12:54 +11:00
Allison Chou d7378db9cf
[Infra] Create validation PRs as draft PRs (#7953) 2022-11-23 11:49:59 -08:00
Dustin Campbell 144e257b93 Change root namespace of MS.AspNetCore.Razor.Common 2022-11-23 10:44:15 -08:00
Dustin Campbell 62d7549a67 Make MS.AspNetCore.Razor.Common consistent for string resources 2022-11-23 10:18:20 -08:00
Dustin Campbell 586783476e Clean up string resources in MS.VS.Mac.LanguageServices.Razor 2022-11-23 10:15:36 -08:00