mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
* Update package versions and remove hack code from RuneExtensions Updated several package versions in `Directory.Packages.props`, including `JetBrains.Annotations`, `Microsoft.Extensions.Logging.Abstractions`, `System.IO.Abstractions`, and `Wcwidth`. Refactored methods in `RuneExtensions.cs`: - Simplified `GetColumns` by removing special Unicode handling. - Renamed constants to follow naming conventions. - Improved logic and readability in `DecodeSurrogatePair`, `Encode`, and `GetEncodingLength`. - Streamlined `IsSurrogatePair` and `MakePrintable` for clarity and efficiency. * Update package version ranges for flexibility Updated the `JetBrains.Annotations` package to use a version range starting from `2025.2.2` to allow future updates. Adjusted the `Microsoft.Extensions.Logging.Abstractions` package to a version range `[9.0.0,10)` for compatibility. Changed `System.IO.Abstractions` to a range `[22.0.16,23)` and `Wcwidth` to `[3.0.0,)` to enable future updates within specified ranges.
This commit is contained in:
@@ -11,14 +11,14 @@
|
||||
<PackageVersion Include="Microsoft.Net.Compilers.Toolset" Version="4.11.0" />
|
||||
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="[8,9)" />
|
||||
<PackageVersion Include="ColorHelper" Version="[1.8.1,2)" />
|
||||
<PackageVersion Include="JetBrains.Annotations" Version="[2024.3.0,)" />
|
||||
<PackageVersion Include="JetBrains.Annotations" Version="[2025.2.2,)" />
|
||||
<PackageVersion Include="Microsoft.CodeAnalysis" Version="4.11.0" />
|
||||
<PackageVersion Include="Microsoft.CodeAnalysis.Common" Version="4.11.0" />
|
||||
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="[9.0.2,10)" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="[9.0.0,10)" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.6" />
|
||||
<PackageVersion Include="System.IO.Abstractions" Version="[22.0.11,23)" />
|
||||
<PackageVersion Include="Wcwidth" Version="[2,3)" />
|
||||
<PackageVersion Include="System.IO.Abstractions" Version="[22.0.16,23)" />
|
||||
<PackageVersion Include="Wcwidth" Version="[3.0.0,)" />
|
||||
<PackageVersion Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="[1.21.2,2)" />
|
||||
<PackageVersion Include="Serilog" Version="4.2.0" />
|
||||
<PackageVersion Include="Serilog.Extensions.Logging" Version="9.0.0" />
|
||||
|
||||
Reference in New Issue
Block a user