renovate[bot]
8da05bcc17
chore: Update dependency Roslynator.Analyzers to v4.11.0
2024-02-19 18:31:54 +01:00
renovate[bot]
badcd642ec
chore: Update dependency dotnet-example to v3.1.0
2024-02-18 21:20:34 +01:00
Patrik Svensson
fde9ee04cf
Automatically register command settings
...
Closes #428
2024-02-15 21:33:51 +01:00
renovate[bot]
b6e0b2389a
chore: Update dependency Verify.Xunit to v23.2.0
2024-02-15 07:45:54 +01:00
renovate[bot]
3f5e8aabf5
chore: Update dependency dotnet-sdk to v8.0.200
2024-02-14 10:54:08 +01:00
renovate[bot]
ead874e6b2
chore: Update dependency dotnet-example to v3
2024-02-13 10:07:55 +01:00
Patrik Svensson
e13410861d
Update dependencies to latest version
2024-02-13 09:34:00 +01:00
Daniel Weber
bf3b91a535
Don't erase the prompt text when backspacing on a secret prompt with a null mask.
2024-02-13 09:01:24 +01:00
Daniel Weber
72704529c5
Delete [UsesVerify] which has become obsolete through the latest update.
2024-02-13 08:53:16 +01: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
Jonathan Sheely
703d653ec5
Adds ValueFormatter to ProgressBar
2024-01-31 17:37:05 +01:00
Caelan Sayler
71631b248a
Fix potential deadlock when cancelling prompts ( #1439 )
2024-01-31 12:02:01 +01:00
Tony Knight
63c22575ea
Direct contributors to the current CONTRIBUTING.md ( #1435 )
2024-01-22 23:15:04 +01:00
Frank Ray
9cc888e5ad
Make HelpProvider colors configurable ( #1408 )
2024-01-18 15:31:28 +01:00
Frank Ray
d5b4621233
Fully addresses review comments
2024-01-15 19:22:34 +01:00
Frank Ray
cee97821d6
Fix stylecop warning
2024-01-15 19:22:34 +01:00
Frank Ray
55c763a5c2
Completed
2024-01-15 19:22:34 +01:00
Frank Ray
d03c10623c
Unit test to reproduce the -v/--version bug
2024-01-15 19:22:34 +01:00
Donovan Brown
5a52c1f277
Updated typo in commandApp.md
...
There was a sentence where the word `commits` should have been `commands`.
2024-01-13 18:58:32 +01:00
Nils Andresen
544e6a92df
Added the ITypeResolver to the ExceptionHandler ( #1411 )
2024-01-06 23:34:02 +00:00
Nils Andresen
a94bc15746
Add the possibility to register multiple interceptors ( #1412 )
...
Having the interceptors registered with the ITypeRegistrar also enables the usage of ITypeResolver in interceptors.
2024-01-06 22:28:20 +00:00
Chet Husk
e7ce6a69b7
Allow specifying a property to ignore the use of build-time packages for versioning and analysis
2024-01-03 21:45:16 +01:00
Patrik Svensson
7cf7e84dd8
Remove mandelbrot example due to conflicting license
...
Closes #1423
Closes #1424
2024-01-03 21:31:16 +01:00
Nils Andresen
6f1f29967d
( #1363 ) fix rendering of ListPrompt for odd pageSizes
2024-01-01 10:19:09 +01:00
Nils Andresen
006da0f9ea
( #971 ) added spectre.console.cli to quick-start.
2024-01-01 10:17:59 +01:00
Nils Andresen
c62f79eded
Bump CodeAnalyses references
...
So we can benefit from roslyn issue 69309
and have consistent EOL sequences, even on
auto-generated using statements.
2023-11-28 00:14:54 +01:00
Nils Andresen
1d19079913
add last commit to .git-blame-ignore-revs
2023-11-28 00:14:54 +01:00
Nils Andresen
44300c871f
fixed line-endings
2023-11-28 00:14:54 +01:00
Nils Andresen
989c0b9904
added a .gitattributes file
...
to force lf checkouts on windows
2023-11-28 00:14:54 +01:00
Patrik Svensson
cb52eb63ce
Add blog post for 0.48
2023-11-22 22:13:48 +01:00
Patrik Svensson
7397169a27
Update Cake to 4.0.0
2023-11-20 13:14:40 +01:00
Patrik Svensson
ffdb47d77f
Build generator as part of build
2023-11-20 13:14:40 +01:00
Patrik Svensson
383bee0e3e
Do not push packages to GitHub
2023-11-19 12:18:22 +01:00
Patrik Svensson
4d6541dd14
Add back net7.0 TFM for tests
2023-11-19 12:18:22 +01:00
Patrik Svensson
b1e0896a0d
Add net8.0 support
2023-11-14 22:24:53 +01:00
Will Baldoumas
e07ccd9f66
Allow Confirmation Prompt Styling ( #1210 )
...
* Allow Confirmation Prompt Styling
* Remove style null check
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com>
* Remove style null coalesce
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com>
* Update comment
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com>
* Remove style null check
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com>
* Update comment
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com>
* Remove style null coalesce
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com>
---------
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com>
2023-11-13 18:23:09 +01:00
Frank Ray
250b1f4c9c
Add localization support to help provider ( #1349 )
...
Closes #1349
2023-11-11 00:22:52 +01:00
Nils Andresen
023c77ff09
fixed the build-errors
...
All of which I introduced earlier.
2023-11-11 00:09:08 +01:00
Nils Andresen
dc402220f2
( #1313 ) fixed errors in FakeTypeRegistrar and FakeTypeResolver
...
to make the unit tests pass.
2023-11-11 00:09:08 +01:00
Nils Andresen
c448d0d5f6
( #1313 ) Add TypeRegistrarBaseTests for the FakeTypeRegistrar
...
So it also works according to our assumptions.
2023-11-11 00:09:08 +01:00
Nils Andresen
3da367f29f
( #1313 ) fix mixing of Registrations
...
i.e. combining Register, RegisterInstance and RegisterLazy
2023-11-11 00:09:08 +01:00
Nils Andresen
ead7115cbe
( #1313 ) Add new test to TypeRegistrarBaseTests
...
to assert the assumptions we're making in the code.
2023-11-11 00:09:08 +01:00
Nils Andresen
1fd028942f
( #1313 ) removed the default registration of the IHelpProvider
2023-11-11 00:09:08 +01:00
Cédric Luthi
4219bbbf61
Allow passing a nullable style in DefaultValueStyle() and ChoicesStyle()
...
This will allow to slightly simplify the implementation of #1210
See also related discussion on https://github.com/spectreconsole/spectre.console/pull/1349#discussion_r1388385384
2023-11-10 08:01:18 +01:00
Cédric Luthi
29a43686d4
Fix AnsiConsoleOutput safe height
...
The safe height (introduced in 3e2eea730bf0f6fe4a5e336faa312b526d351079) would be 80 (the value of the safe width) instead of 24.
Removing the explicit `defaultValue` parameter ensures that the correct constants are used, i.e. Constants.DefaultTerminalWidth and Constants.DefaultTerminalHeight.
2023-11-09 12:11:56 +01:00
Patrik Svensson
63b940cf0e
Merge pull request #1338 from nils-a/feature/GH-1188
2023-10-19 11:12:09 +02:00
Nils Andresen
bbf58ee814
( #1188 ) Rows measure greedy
2023-10-19 07:46:12 +02:00
Patrik Svensson
e2a674815d
Merge pull request #1318 from nils-a/feature/GH-1317
2023-09-27 08:57:52 +02:00
Nils Andresen
343b98944d
added a minimal PR template
2023-09-27 08:28:08 +02:00
Andrew Rathbun
2bbb7c1ab6
Update Showcase.csproj - minor typo ( #1315 )
2023-09-23 15:55:56 +02:00