Commit Graph

905 Commits

Author SHA1 Message Date
Patrik Svensson
304264028c Add Spectre.Console.Ansi Project
The Spectre.Console.Ansi project contains core functionality to write
ANSI escape sequences to the terminal without taking a full dependency
on Spectre.Console. Spectre.Console in turn now depends on this library
to write ANSI escape sequences.
2026-01-25 12:06:49 +01:00
Patrik Svensson
0a692bc743 Add benchmarks for rendering 2026-01-20 18:47:18 +01:00
Patrik Svensson
86abe0cc12 Modernize and clean up the code base a bit
* Move extension methods closer to implementations
* Fix namespaces
* Make structs read-only where applicable
* Use ArgumentNullException.ThrowIfNull
* Use collection expressions
2026-01-11 20:07:56 +01:00
Patrik Svensson
fa071a9368 Add half-block support to Canvas 2026-01-10 17:03:08 +01:00
Patrik Svensson
0608bac360 Update dependencies 2026-01-08 21:20:21 +01:00
Patrik Svensson
090214df21 Remove accidentally committed files 2026-01-08 21:20:00 +01:00
Patrik Svensson
9ac41ec876 Revert commits related to modernization of code
* Revert f6e1368: "Fixes problems with extension blocks and params keyword"
* Revert 7965168: "Add modernization commit to .git-blame-ignore-revs"
* Revert 3f57df5: "Modernization of the code base"
2026-01-08 14:40:23 +01:00
Phil Scott
4de45cc131 Add source generation for colors, emojis and spinners 2026-01-06 23:57:49 +01:00
Patrik Svensson
da30e26f20 Try setting allow-no-subscriptions: true in Azure login 2026-01-06 23:01:48 +01:00
Patrik Svensson
f6e1368cd4 Fixes problems with extension blocks and params keyword
There is currently a bug in the .NET SDK that will emit false CS8620
warnings for extension block members using the `params` keyword.

This commit fixes the warning by converting these methods to
old-fashioned extension methods.

For more information see: https://github.com/dotnet/roslyn/issues/80024
2026-01-06 22:58:07 +01:00
Patrik Svensson
cf13ced8f6 Disable Production environment for CI job 2026-01-06 20:11:37 +01:00
Patrik Svensson
113fe3e10e Enable signing of artifacts 2026-01-06 20:06:46 +01:00
Patrik Svensson
aede2dd9c6 Update MinVer to version 7.0 2026-01-05 10:15:40 +01:00
Patrik Svensson
15dbbc41e9 Update dependencies 2026-01-05 10:09:48 +01:00
Patrik Svensson
7965168a1d Add modernization commit to .git-blame-ignore-revs 2026-01-05 00:35:41 +01:00
Patrik Svensson
3f57df5af6 Modernization of the code base (#1993)
* Update packages
* Convert extension methods to extension blocks
* Move extension methods closer to what they are extending
* Use ArgumentNullException.ThrowIfNull
* Move WriteAnsi and ToAnsi methods to Spectre.Console namespace
* Make shared global state obsolete
* Make AnsiConsole.Clear an extension method
* Linting should not fail build
2026-01-05 00:32:54 +01:00
Patrik Svensson
129fd710c1 Remove signing (again) 2026-01-04 11:51:47 +01:00
unknown
d394d79be1 Use GH environment for secrets 2025-12-31 22:39:24 +01:00
unknown
2128d26e49 Try giving GH actions more permissions to fix az login 2025-12-31 22:26:53 +01:00
Patrik Svensson
f7db113d14 Fix example image link 2025-12-24 20:21:32 +01:00
Patrik Svensson
e6796b7797 Remove documentation (for real this time) 2025-12-24 20:20:20 +01:00
Patrik Svensson
fed1b8db89 Remove documentation 2025-12-24 20:17:42 +01:00
Patrik Svensson
1002fe9feb Re-enable code signing (hopefully it works this time) 2025-12-09 02:55:27 +01:00
Patrik Svensson
df68d50f50 Disable code signing for now 2025-12-08 00:46:28 +01:00
Patrik Svensson
b8dd2c7d54 Add write permission for id-token 2025-12-08 00:40:11 +01:00
Patrik Svensson
27f40e5da0 Add code signing 2025-12-08 00:38:03 +01:00
Patrik Svensson
6a7457dc9f Remove GitHub Actions that move issues to project 2025-11-22 14:16:53 +01:00
Patrik Svensson
719bf12b61 Update dependencies 2025-11-14 00:33:35 +01:00
Patrik Svensson
8fa0536a53 Remove Spectre.Console.Cli badge from README 2025-11-14 00:03:23 +01:00
Patrik Svensson
a4721e7a72 Add Polyfill package 2025-11-14 00:03:23 +01:00
Patrik Svensson
f1200d6702 Update social media image for blog post 2025-11-13 00:56:09 +01:00
Patrik Svensson
f020c51e1a Add release notes blog post for 0.54.0 2025-11-13 00:40:07 +01:00
Patrik Svensson
a234475520 Update docs related to CLI unit testing 2025-11-13 00:39:39 +01:00
Patrik Svensson
e097281ca8 Add Discord link in docs 0.54.0 2025-11-12 23:48:32 +01:00
Patrik Svensson
6288d90bc5 Update to Cake.Sdk@6.0.0 2025-11-12 23:30:52 +01:00
Patrik Svensson
03d34371b8 Add (long overdue) blog post about the 0.53 release 2025-11-12 23:10:25 +01:00
Patrik Svensson
ace1b31383 Only do style linting 2025-11-12 22:15:29 +01:00
Patrik Svensson
8ac0e518a5 Update exception rendering tests 2025-11-12 22:15:13 +01:00
Patrik Svensson
1640f23b28 Update dependencies 2025-11-12 21:44:02 +01:00
Patrik Svensson
b2f961a197 Add support for using C# 14 in solution 2025-11-12 21:43:53 +01:00
Patrik Svensson
c8c72b9d72 Fix build script warning 2025-11-12 21:39:37 +01:00
Patrik Svensson
c6e9501f49 Add net10.0 tfm, and update to non-rc SDK 2025-11-12 21:39:25 +01:00
Patrik Svensson
0da5113b82 Fix docs generation bug 2025-11-12 21:20:13 +01:00
Patrik Svensson
45799107a3 Remove Spectre.Console.Cli from repository
* Move Spectre.Console.Cli to its own repository
* Update build script to use Cake.Sdk and .NET Make
* Remove StyleCop (unmaintained)
* Add linting using dotnet format
* Fix generator which was broken
* Update dependencies
2025-11-12 20:56:48 +01:00
Phil Scott
1ec7b8ae8f Fixes issue with Panel not applying overflow to children
Add tests for widget content overflow scenarios in Panel, Table, and Grid widgets.
2025-10-31 21:42:02 +01:00
Phil Scott
010beffae0 Normalizes paths when writing exceptions to the console for tests.
The verified output for Should_Write_GenericException was outputting ProjectDirectory}Data\Exceptions.cs on my Windows machine, but the Verified version wasProjectDirectory}Data/Exceptions.cs

Wasn't causing a build issue because we run those on Ubuntu, but locally it was giving me an error.
2025-10-31 16:48:50 +01:00
Patrik Svensson
5af8e09111 Update .NET SDK version 0.53.0 2025-10-26 17:50:35 +01:00
Patrik Svensson
5dcf72cb8f Update generator dependencies 2025-10-26 17:50:26 +01:00
Patrik Svensson
64c31f5b76 Update GitHub Actions dependencies 2025-10-26 17:50:15 +01:00
Patrik Svensson
4562f014ac Update dependencies 2025-10-26 17:45:07 +01:00