From 00f70e3d17c106cc03c5a592947881dab2d5050e Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Wed, 28 Feb 2024 14:22:13 -0700 Subject: [PATCH 01/21] Use target-typed new everywhere possible. --- Terminal.sln.DotSettings | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Terminal.sln.DotSettings b/Terminal.sln.DotSettings index 621952feb..ddeb546f2 100644 --- a/Terminal.sln.DotSettings +++ b/Terminal.sln.DotSettings @@ -6,14 +6,15 @@ 2000 SUGGESTION ERROR - SUGGESTION + WARNING HINT SUGGESTION WARNING ERROR ERROR - WARNING + WARNING + SUGGESTION WARNING WARNING WARNING @@ -49,6 +50,7 @@ True DefaultExpression EmptyRecursivePattern + TargetTyped NEXT_LINE NEXT_LINE True From f0dc09f83d7d9a147d4f317c1d1917f9ab1bce8a Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Wed, 28 Feb 2024 23:22:27 -0700 Subject: [PATCH 02/21] Add a tag and add colon to the tag regex so words don't trigger it unexpectedly --- Terminal.sln.DotSettings | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/Terminal.sln.DotSettings b/Terminal.sln.DotSettings index ddeb546f2..6aa6e6ee1 100644 --- a/Terminal.sln.DotSettings +++ b/Terminal.sln.DotSettings @@ -1,4 +1,4 @@ - + True 5000 1000 @@ -396,11 +396,18 @@ True True True + True + #FFCF9D32 + True + Suggestion + (?<=\W|^)(?<TAG>SUGGESTION:)(\W|$)(.*) + Question + (?<=\W|^)(?<TAG>BUG:)(\W|$)(.*) True #FFCF9D32 True Performance - (?<=\W|^)(?<TAG>PERF)(\W|$)(.*) + (?<=\W|^)(?<TAG>PERF:)(\W|$)(.*) Warning True True @@ -410,22 +417,26 @@ (?<=\W|^)(?<TAG>NOTE:)(\W|$)(.*) Normal True + True #FFCF9D32 True Question (?<=\W|^)(?<TAG>QUESTION:)(\W|$)(.*) Question + True + (?<=\W|^)(?<TAG>TODO:)(\W|$)(.*) True + True #FFCF9D32 True Unclear Intent - (?<=\W|^)(?<TAG>UNCLEAR|INTENT)(\W|$)(.*) + (?<=\W|^)(?<TAG>UNCLEAR:|INTENT:)(\W|$)(.*) Warning True #FFCF9D32 True Concurrency Issue - (?<=\W|^)(?<TAG>CONCURRENCY)(\W|$)(.*) + (?<=\W|^)(?<TAG>CONCURRENCY:)(\W|$)(.*) Warning True From ef8b902712d1c8d6b78d7ce53567171e3bf40095 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Wed, 28 Feb 2024 23:22:54 -0700 Subject: [PATCH 03/21] Add "BUGBUG:" to the bug tag for pre-existing comments with that tag --- Terminal.sln.DotSettings | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Terminal.sln.DotSettings b/Terminal.sln.DotSettings index 6aa6e6ee1..348be86b5 100644 --- a/Terminal.sln.DotSettings +++ b/Terminal.sln.DotSettings @@ -1,4 +1,4 @@ - + True 5000 1000 @@ -402,8 +402,9 @@ Suggestion (?<=\W|^)(?<TAG>SUGGESTION:)(\W|$)(.*) Question - (?<=\W|^)(?<TAG>BUG:)(\W|$)(.*) + (?<=\W|^)(?<TAG>BUG:|BUGBUG:)(\W|$)(.*) True + True #FFCF9D32 True Performance From 319ccb877d41a634367af569897941f9160545d2 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Wed, 28 Feb 2024 23:25:31 -0700 Subject: [PATCH 04/21] One type per file --- Terminal.Gui/Text/TextAlignment.cs | 20 +++++ Terminal.Gui/Text/TextDirection.cs | 61 ++++++++++++++ Terminal.Gui/Text/TextFormatter.cs | 98 ---------------------- Terminal.Gui/Text/VerticalTextAlignment.cs | 20 +++++ 4 files changed, 101 insertions(+), 98 deletions(-) create mode 100644 Terminal.Gui/Text/TextAlignment.cs create mode 100644 Terminal.Gui/Text/TextDirection.cs create mode 100644 Terminal.Gui/Text/VerticalTextAlignment.cs diff --git a/Terminal.Gui/Text/TextAlignment.cs b/Terminal.Gui/Text/TextAlignment.cs new file mode 100644 index 000000000..44950cfd5 --- /dev/null +++ b/Terminal.Gui/Text/TextAlignment.cs @@ -0,0 +1,20 @@ +namespace Terminal.Gui; + +/// Text alignment enumeration, controls how text is displayed. +public enum TextAlignment +{ + /// The text will be left-aligned. + Left, + + /// The text will be right-aligned. + Right, + + /// The text will be centered horizontally. + Centered, + + /// + /// The text will be justified (spaces will be added to existing spaces such that the text fills the container + /// horizontally). + /// + Justified +} \ No newline at end of file diff --git a/Terminal.Gui/Text/TextDirection.cs b/Terminal.Gui/Text/TextDirection.cs new file mode 100644 index 000000000..18e889c8b --- /dev/null +++ b/Terminal.Gui/Text/TextDirection.cs @@ -0,0 +1,61 @@ +namespace Terminal.Gui; + +/// Text direction enumeration, controls how text is displayed. +/// +/// TextDirection [H] = Horizontal [V] = Vertical +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +///
TextDirection Description
LeftRight_TopBottom [H] Normal
TopBottom_LeftRight [V] Normal
RightLeft_TopBottom [H] Invert Text
TopBottom_RightLeft [V] Invert Lines
LeftRight_BottomTop [H] Invert Lines
BottomTop_LeftRight [V] Invert Text
RightLeft_BottomTop [H] Invert Text + Invert Lines
BottomTop_RightLeft [V] Invert Text + Invert Lines
+///
+public enum TextDirection +{ + /// Normal horizontal direction. HELLO
WORLD
+ LeftRight_TopBottom, + + /// Normal vertical direction. H W
E O
L R
L L
O D
+ TopBottom_LeftRight, + + /// This is a horizontal direction.
RTL OLLEH
DLROW
+ RightLeft_TopBottom, + + /// This is a vertical direction. W H
O E
R L
L L
D O
+ TopBottom_RightLeft, + + /// This is a horizontal direction. WORLD
HELLO
+ LeftRight_BottomTop, + + /// This is a vertical direction. O D
L L
L R
E O
H W
+ BottomTop_LeftRight, + + /// This is a horizontal direction. DLROW
OLLEH
+ RightLeft_BottomTop, + + /// This is a vertical direction. D O
L L
R L
O E
W H
+ BottomTop_RightLeft +} \ No newline at end of file diff --git a/Terminal.Gui/Text/TextFormatter.cs b/Terminal.Gui/Text/TextFormatter.cs index 9c6f0dc15..6168c53f0 100644 --- a/Terminal.Gui/Text/TextFormatter.cs +++ b/Terminal.Gui/Text/TextFormatter.cs @@ -1,103 +1,5 @@ namespace Terminal.Gui; -/// Text alignment enumeration, controls how text is displayed. -public enum TextAlignment -{ - /// The text will be left-aligned. - Left, - - /// The text will be right-aligned. - Right, - - /// The text will be centered horizontally. - Centered, - - /// - /// The text will be justified (spaces will be added to existing spaces such that the text fills the container - /// horizontally). - /// - Justified -} - -/// Vertical text alignment enumeration, controls how text is displayed. -public enum VerticalTextAlignment -{ - /// The text will be top-aligned. - Top, - - /// The text will be bottom-aligned. - Bottom, - - /// The text will centered vertically. - Middle, - - /// - /// The text will be justified (spaces will be added to existing spaces such that the text fills the container - /// vertically). - /// - Justified -} - -/// Text direction enumeration, controls how text is displayed. -/// -/// TextDirection [H] = Horizontal [V] = Vertical -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -///
TextDirection Description
LeftRight_TopBottom [H] Normal
TopBottom_LeftRight [V] Normal
RightLeft_TopBottom [H] Invert Text
TopBottom_RightLeft [V] Invert Lines
LeftRight_BottomTop [H] Invert Lines
BottomTop_LeftRight [V] Invert Text
RightLeft_BottomTop [H] Invert Text + Invert Lines
BottomTop_RightLeft [V] Invert Text + Invert Lines
-///
-public enum TextDirection -{ - /// Normal horizontal direction. HELLO
WORLD
- LeftRight_TopBottom, - - /// Normal vertical direction. H W
E O
L R
L L
O D
- TopBottom_LeftRight, - - /// This is a horizontal direction.
RTL OLLEH
DLROW
- RightLeft_TopBottom, - - /// This is a vertical direction. W H
O E
R L
L L
D O
- TopBottom_RightLeft, - - /// This is a horizontal direction. WORLD
HELLO
- LeftRight_BottomTop, - - /// This is a vertical direction. O D
L L
L R
E O
H W
- BottomTop_LeftRight, - - /// This is a horizontal direction. DLROW
OLLEH
- RightLeft_BottomTop, - - /// This is a vertical direction. D O
L L
R L
O E
W H
- BottomTop_RightLeft -} - /// /// Provides text formatting. Supports s, horizontal alignment, vertical alignment, /// multiple lines, and word-based line wrap. diff --git a/Terminal.Gui/Text/VerticalTextAlignment.cs b/Terminal.Gui/Text/VerticalTextAlignment.cs new file mode 100644 index 000000000..ef7788577 --- /dev/null +++ b/Terminal.Gui/Text/VerticalTextAlignment.cs @@ -0,0 +1,20 @@ +namespace Terminal.Gui; + +/// Vertical text alignment enumeration, controls how text is displayed. +public enum VerticalTextAlignment +{ + /// The text will be top-aligned. + Top, + + /// The text will be bottom-aligned. + Bottom, + + /// The text will centered vertically. + Middle, + + /// + /// The text will be justified (spaces will be added to existing spaces such that the text fills the container + /// vertically). + /// + Justified +} \ No newline at end of file From 91f7af180ff6a7f6eb17375918b42539a2a19af1 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Tue, 27 Feb 2024 02:41:01 -0700 Subject: [PATCH 05/21] Trace should always be defined. --- Terminal.Gui/Terminal.Gui.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index 9e3fd411c..f9fa1d8ca 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -1,4 +1,4 @@ - + @@ -16,6 +16,7 @@ Terminal.Gui Terminal.Gui true + True $(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL From 55b37674fa515ef602f6bbe47653b35cb096b343 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Tue, 27 Feb 2024 02:41:22 -0700 Subject: [PATCH 06/21] Optimize release builds explicitly --- Terminal.Gui/Terminal.Gui.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index f9fa1d8ca..e7b4ee1c9 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -21,6 +21,7 @@ portable + True From 8df701fc5d418668271649af4f725a8d07ec6aec Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Tue, 27 Feb 2024 02:41:43 -0700 Subject: [PATCH 07/21] Define the DEBUG constant for Debug builds --- Terminal.Gui/Terminal.Gui.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index e7b4ee1c9..5c0799df3 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -25,7 +25,7 @@ - TRACE;DEBUG_IDISPOSABLE + True portable From b178454d9bb356c9694b1e040cdd4af677d94e31 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Tue, 27 Feb 2024 02:42:13 -0700 Subject: [PATCH 08/21] Don't clobber constants defined before here in Debug builds --- Terminal.Gui/Terminal.Gui.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index 5c0799df3..57670b645 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -1,4 +1,4 @@ - + @@ -26,6 +26,7 @@ True + $(DefineConstants);DEBUG_IDISPOSABLE portable From 785e843687cf8e6a86029e0b72a99cdc87c33f94 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 02:51:05 -0700 Subject: [PATCH 09/21] This came back again... --- Terminal.Gui/Terminal.Gui.csproj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index 57670b645..3621583fb 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -1,4 +1,4 @@ - + @@ -43,7 +43,6 @@ - From 05c9bd5dc112d3f18b8514eef04928b885903a49 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 02:51:23 -0700 Subject: [PATCH 10/21] Those belong in this group --- Terminal.Gui/Terminal.Gui.csproj | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index 3621583fb..89340e72d 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -18,6 +18,8 @@ true True $(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL + true + enable portable @@ -126,9 +128,6 @@ upstream true true - Miguel de Icaza, Tig Kindel (@tig), @BDisp - true - enable From 8aafde98bc30ae4f56529648cfbc404c06380dfb Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 02:53:46 -0700 Subject: [PATCH 11/21] Output this in a configuration-specific folder --- Terminal.Gui/Terminal.Gui.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index 89340e72d..56ae32007 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -115,7 +115,7 @@ See: https://github.com/gui-cs/Terminal.Gui/releases - bin\Release\Terminal.Gui.xml + bin\$(Configuration)\Terminal.Gui.xml true true https://github.com/gui-cs/Terminal.Gui.git From 0c490602db8cdd81547ea814134a415f489458b5 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 06:43:09 -0700 Subject: [PATCH 12/21] Remove unneeded elements --- Terminal.Gui/Terminal.Gui.csproj | 5 ----- UnitTests/UnitTests.csproj | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index 56ae32007..6b663a78e 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -57,11 +57,6 @@ - - - - - diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj index ad71c4b17..8d0e4ad11 100644 --- a/UnitTests/UnitTests.csproj +++ b/UnitTests/UnitTests.csproj @@ -1,4 +1,4 @@ - + net8.0 @@ -23,7 +23,6 @@ - From 41feacc1439d39731785d8f6285e17f66009e1d0 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 06:44:43 -0700 Subject: [PATCH 13/21] Reverse the order of these Alphabetizing --- UnitTests/UnitTests.csproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj index 8d0e4ad11..2096e715a 100644 --- a/UnitTests/UnitTests.csproj +++ b/UnitTests/UnitTests.csproj @@ -1,4 +1,4 @@ - + net8.0 @@ -14,12 +14,12 @@ 2.0 2.0 - - TRACE - TRACE;DEBUG_IDISPOSABLE + + TRACE + From 25bcb66281b2782593a803d93ca8bf40b3887fa6 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 06:46:27 -0700 Subject: [PATCH 14/21] Move that part to the top, like Terminal.Gui --- UnitTests/UnitTests.csproj | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj index 2096e715a..e964b03d1 100644 --- a/UnitTests/UnitTests.csproj +++ b/UnitTests/UnitTests.csproj @@ -1,11 +1,5 @@  - net8.0 - - - Preview - false - @@ -14,6 +8,14 @@ 2.0 2.0 + + net8.0 + + + Preview + false + + TRACE;DEBUG_IDISPOSABLE From 1818c2441e660eaad720dcd6fa2cfae0d58c69a9 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 06:47:20 -0700 Subject: [PATCH 15/21] Generic attributes were added in .net7 and c# 11. --- UnitTests/UnitTests.csproj | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj index e964b03d1..8180cbef0 100644 --- a/UnitTests/UnitTests.csproj +++ b/UnitTests/UnitTests.csproj @@ -10,9 +10,7 @@ net8.0 - - - Preview + 12 false From 8196cb1735e5ab3215f4c86f65da48a61fcc429e Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 06:48:31 -0700 Subject: [PATCH 16/21] Define that once --- UnitTests/UnitTests.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj index 8180cbef0..fa4b6318b 100644 --- a/UnitTests/UnitTests.csproj +++ b/UnitTests/UnitTests.csproj @@ -13,12 +13,12 @@ 12 false + True - TRACE;DEBUG_IDISPOSABLE + DEBUG_IDISPOSABLE - TRACE From 6320a466389dd326c4fab86f550a4db1ce561111 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 06:53:41 -0700 Subject: [PATCH 17/21] Move that section up by the package imports and annotate it --- Terminal.Gui/Terminal.Gui.csproj | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index 6b663a78e..7657b55c5 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -52,6 +52,15 @@ + + + + + + + + + @@ -86,13 +95,6 @@ Strings.Designer.cs - - - - - - - From 568eb7faeb3aade5c9fc75df5bc124dcf72349b3 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 06:56:40 -0700 Subject: [PATCH 18/21] Define that once as well --- Terminal.Gui/Terminal.Gui.csproj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index 7657b55c5..e4adb3e35 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -17,19 +17,18 @@ Terminal.Gui true True + portable $(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL true enable - portable True True $(DefineConstants);DEBUG_IDISPOSABLE - portable From b75f36ebf35acb4fec0f54edd7ccbb3cc9430316 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 06:57:00 -0700 Subject: [PATCH 19/21] Suppress unnecessary output --- Terminal.Gui/Terminal.Gui.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index e4adb3e35..b091054c7 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -21,6 +21,7 @@ $(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL true enable + True True From 738e50d9cde7bfe009f83b038d1ac04a7095ac93 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 13:47:47 -0700 Subject: [PATCH 20/21] Swap order here too --- Terminal.Gui/Terminal.Gui.csproj | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index b091054c7..b1043dd3e 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -1,4 +1,4 @@ - + @@ -15,22 +15,22 @@ 12 Terminal.Gui Terminal.Gui - true + true True portable $(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL - true enable True - - - True - + true True $(DefineConstants);DEBUG_IDISPOSABLE + + True + + @@ -127,4 +127,4 @@ true Miguel de Icaza, Tig Kindel (@tig), @BDisp - + \ No newline at end of file From 0b2df753f3b1a12b794ba0d764bbe43c10764e89 Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 29 Feb 2024 07:03:09 -0700 Subject: [PATCH 21/21] Make these parts match Terminal.Gui --- UnitTests/UnitTests.csproj | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj index fa4b6318b..a45843e53 100644 --- a/UnitTests/UnitTests.csproj +++ b/UnitTests/UnitTests.csproj @@ -13,12 +13,20 @@ 12 false + true True + portable + $(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL + enable + True + true - DEBUG_IDISPOSABLE + True + $(DefineConstants);DEBUG_IDISPOSABLE + True