Patrik Svensson
375a708c43
Add net9.0
support, remove legacy TFM:s ( #1682 )
...
* Update .NET SDK to 9.0.100
* Remove net6.0
* Remove net7.0
* Update dependencies
* Install correct .NET SDK:s in GitHub Actions
2024-11-13 14:54:01 +01:00
Daniel Cazzulino
8e44a83737
Simplify InternalsVisibleTo
...
If the $(PublicKey) property is used, the SDK targets will automatically use it for the assembly attributes.
See https://github.com/dotnet/sdk/pull/3439
Simplifies https://github.com/spectreconsole/spectre.console/pull/1623
2024-09-06 20:31:18 +02:00
Kirill Osenkov
6116af3844
Strong name the assemblies
2024-08-29 16:52:55 -07:00
Patrik Svensson
42fd801876
Preparations for the 1.0 release
...
* Less cluttered solution layout.
* Move examples to a repository of its own.
* Move Roslyn analyzer to a repository of its own.
* Enable central package management.
* Clean up csproj files.
* Add README file to NuGet packages.
2024-08-06 15:38:28 +02:00
Patrik Svensson
b21e07ea94
Update dependencies
...
* Add support for C# 12
* Run all tests on all major .NET SDKs
* Only build on Ubuntu
* Do not build docs for pull requests
* Add Cédric Luthi, and Frank Ray to authors
* Drop netstandard2.0 for ImageSharp plugin
2024-01-31 20:51:49 +01:00
Patrik Svensson
b1e0896a0d
Add net8.0 support
2023-11-14 22:24:53 +01:00
Patrik Svensson
c82d8c4523
Add option to show separator between table rows ( #1304 )
...
* Add option to show separator between table rows
* Panels should show header if borders are not shown
Closes #835
2023-09-16 18:49:12 +02:00
Patrik Svensson
54be64ec84
Add JSON text renderer ( #1086 )
...
* Add JsonText widget to render highlighted JSON
Closes #1051
2022-12-31 18:17:15 +00:00
Patrik Svensson
a70cc90797
Fix issues with nullability and netstandard2.0
2022-11-10 12:01:13 +01:00
Patrik Svensson
7dce4af552
Add support for .NET 7.0
2022-11-10 12:01:13 +01:00
renovate[bot]
73ab977f26
chore: Update dependency Wcwidth.Sources to v1
2022-09-17 13:52:22 +02:00
Cédric Luthi
e96a821ead
Set the DevelopmentDependency flag on the Spectre.Console.Analyzer project
...
It was applied by mistake on Spectre.Console in #938 .
2022-09-06 19:03:22 +02:00
lonix1
506253bc34
build: set nuget package as dev dependency
...
Docs: https://github.com/NuGet/Home/wiki/DevelopmentDependency-support-for-PackageReference
2022-08-29 10:20:32 +02:00
Nils Andresen
d94dc2fcb2
fixed build error
...
error NU1504: Duplicate 'PackageReference' items
found. Remove the duplicate items or use the Update
functionality to ensure a consistent restore behavior. The duplicate
'PackageReference' items are: System.Memory 4.5.5, System.Memory 4.5.5.
2022-08-17 16:03:44 +02:00
Patrik Svensson
dc93edef15
Remove the 'net50' TFM
...
Also updates all dependencies to the latest version.
Closes #829
2022-07-02 11:18:34 +02:00
Patrik Svensson
36ca22ffac
Move Spectre.Console.Cli to it's own package
2022-05-15 00:09:52 +02:00
Nils Andresen
48df9cf68b
( #555 ) added TypeRegistrarBaseTests
...
as a very simple test harness to test implementations of
ITypeRegistrar / ITypeResolver
2021-11-14 01:19:27 +01:00
Patrik Svensson
d02c9e552e
Add net6.0 TFM ( #603 )
...
Closes #602
2021-10-29 21:05:17 +02:00
Patrik Svensson
35d2750b68
Internalizes the WcWidth package
...
This way, there is no need to download the WcWidth package,
and it also becomes easier to debug issues related to
Unicode cell widths.
2021-10-18 15:09:54 -04:00
Patrik Svensson
1dd1945297
Add parameter value provider support
...
Adds support for parameter value providers which makes it
possible to set custom values for parameters.
2021-05-09 08:26:08 -05:00
Phil Scott
254880e93a
Replaces emoji regex with ReadOnlySpan implementation
...
The RegEx runtime perf was never anything noticeable - it was the startup time that was eating over a third of time during initialization.
This shaves 200ms off the startup time.
2021-04-04 04:10:25 +02:00
Patrik Svensson
0ae419326d
Add Spectre.Cli to Spectre.Console
...
* Renames Spectre.Cli to Spectre.Console.Cli.
* Now uses Verify with Spectre.Console.Cli tests.
* Removes some duplicate definitions.
Closes #168
2020-12-28 17:28:03 +01:00
Patrik Svensson
1cf30f62fc
Add autocomplete for text prompt
...
Closes #166
2020-12-22 11:31:22 +01:00
Patrik Svensson
a59e0dcb21
Add FIGlet text support
...
Closes #97
2020-11-22 03:09:42 +01:00
Patrik Svensson
0d209d8f18
Add text prompt support
2020-11-19 12:24:04 +01:00
Patrik Svensson
380c6aca45
Add net5.0 target framework
2020-11-11 15:28:32 +01:00
Patrik Svensson
93ec7401c8
Add support for markdown tables
...
Closes #85
* Split Border into BoxBorder and TableBorder
* Change how different table parts are composed
* Add markdown table border
2020-10-01 14:43:08 +02:00
Patrik Svensson
090b30f731
Use Wcwidth library
2020-09-18 15:31:12 +02:00
Patrik Svensson
7d6104ace4
Add padder widget
...
This commit adds a padder can be use to pad other IRenderable
objects such as tables, panels, grids, text, etc.
2020-09-17 10:58:50 +02:00
Kristian Hellang
fea8a36e8a
Add generated Emoji class with corresponding non-generated file
2020-09-17 10:35:15 +02:00
Patrik Svensson
504746c5dc
Add link support for supported terminals
...
Also refactors the code quite a bit, to make it a bit more
easier to add features like this in the future.
Closes #75
2020-09-11 17:44:56 +02:00
Patrik Svensson
b46d0fa4f6
Group IAnsiConsole extensions in csproj
2020-09-09 08:47:55 +02:00
Patrik Svensson
4f06687104
Restructure solution a bit
2020-09-09 08:43:48 +02:00
Patrik Svensson
1b2f2dab82
Do not depend on System.Memory
2020-08-27 19:31:12 +02:00
Patrik Svensson
c111c7d463
Restructure and update example image
2020-08-25 11:19:58 +02:00
Patrik Svensson
5d132220ba
Enable nullable reference types
...
Closes #36
2020-08-11 17:24:34 +02:00
Patrik Svensson
9637066927
Add better algorithm for calculating column widths
...
Closes #14
2020-08-07 12:55:33 +02:00
Patrik Svensson
a0bd481255
Add package icon
...
Closes #20
2020-08-05 15:49:43 +02:00
Patrik Svensson
e5bf2bd498
Autogenerate known colors and palettes
...
This will make it a bit easier to make changes
2020-08-03 15:22:39 +02:00
Patrik Svensson
6a7733cabf
Add convenience methods for writing values to the Console ( #1 )
...
* Remove IAnsiConsole.WriteLine
* Add WriteLine extensions for IAnsiConsole
* Add Write extensions for IAnsiConsole
* Add Write and WriteLine method for AnsiConsole
2020-07-23 13:24:03 +02:00
Patrik Svensson
334dcddc1a
Initial commit
2020-07-21 12:03:41 +02:00