Skip to content

Commit 443039a

Browse files
committed
Release v1.10.1
2 parents 2cb628c + 1096007 commit 443039a

File tree

10 files changed

+38
-534
lines changed

10 files changed

+38
-534
lines changed

Example/Example.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
55
<!-- Version numbers are automatically updated by gitversion when a release is released -->
66
<!-- In the source tree the version will always be 1.0 for all projects. -->
77
<!-- Do not modify these. -->

README.md

+5-8
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@
77
[![License](https://img.shields.io/github/license/gui-cs/gui.cs.svg)](LICENSE)
88
![Bugs](https://img.shields.io/github/issues/gui-cs/gui.cs/bug)
99

10-
***The current release of Tmerinal.Gui [(v1.10)](https://www.nuget.org/packages/Terminal.Gui) is stable, rich, and broadly used. The team is now focused on designing and building a significant upgrade we're referring to as `v2`. Therefore, `v1` is now in maintenance mode.***
10+
***The current, stable, release of Terminal.Gui is [v1.x](https://www.nuget.org/packages/Terminal.Gui). It is stable, rich, and broadly used. The team is now focused on designing and building a significant upgrade we're referring to as `v2`. Therefore:***
11+
* *`v1` is now in maintenance mode, meaning we will accept PRs for v1.x (the `develop` branch) only for issues impacting existing functionality.*
12+
* *All new development happens on the `v2_develop` branch. See the V2 discussion [here](https://github.com/gui-cs/Terminal.Gui/discussions/1940).*
13+
* *Developers are encouraged to continue building on [v1.x](https://www.nuget.org/packages/Terminal.Gui) until we announce `v2` is stable.*
1114

12-
***This means we will accept PRs for v1.x (the `develop` branch) only for issues impacting existing functionality. All new development will happen on the `v2_develop` branch. See the V2 discussion [here](https://github.com/gui-cs/Terminal.Gui/discussions/1940).***
13-
14-
***Developers are encouraged to continue building on `v1` until we announce `v2` is stable.***
15-
16-
# Terminal.Gui - Cross Platform Terminal UI toolkit for .NET
17-
18-
A toolkit for building rich console apps for .NET, .NET Core, and Mono that works on Windows, the Mac, and Linux/Unix.
15+
**Terminal.Gui**: A toolkit for building rich console apps for .NET, .NET Core, and Mono that works on Windows, the Mac, and Linux/Unix.
1916

2017
![Sample app](docfx/images/sample.gif)
2118

ReactiveExample/ReactiveExample.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
55
<!-- Version numbers are automatically updated by gitversion when a release is released -->
66
<!-- In the source tree the version will always be 2.0 for all projects. -->
77
<!-- Do not modify these. -->

Terminal.Gui/ConsoleDrivers/CursesDriver/binding.cs

+2
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ static public int IsAlt (int key)
331331
#pragma warning disable RCS1102 // Make class static.
332332
internal class Delegates {
333333
#pragma warning restore RCS1102 // Make class static.
334+
#pragma warning disable CS8981 // The type name only contains lower-cased ascii characters. Such names may become reserved for the language.
334335
public delegate IntPtr initscr ();
335336
public delegate int endwin ();
336337
public delegate bool isendwin ();
@@ -555,4 +556,5 @@ public NativeMethods (UnmanagedLibrary lib)
555556
}
556557
}
557558
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
559+
#pragma warning restore CS8981 // The type name only contains lower-cased ascii characters. Such names may become reserved for the language.
558560
}

Terminal.Gui/README.md

+12-7
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ Doing so will update the `.csproj` files in your branch with version info, which
4949

5050
## Publishing a Release of Terminal.Gui
5151

52+
First, use the [Semantic Versioning](https://semver.org/) rules.to determine the new verison number.
53+
54+
Given a version number MAJOR.MINOR.PATCH, increment the:
55+
56+
* MAJOR version when you make incompatible API changes
57+
* MINOR version when you add functionality in a backwards compatible manner
58+
* PATCH version when you make backwards compatible bug fixes
59+
60+
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
61+
5262
To release a new version (e.g. with a higher `major`, `minor`, or `patch` value) tag a commit using `git tag` and then push that tag directly to the `main` branch on `github.com/gui-cs/Terminal.Gui` (`upstream`).
5363

5464
The `tag` must be of the form `v<major>.<minor>.<patch>`, e.g. `v2.3.4`.
@@ -67,7 +77,7 @@ The PR title should be of the form "Release v2.3.4"
6777
```powershell
6878
git checkout develop
6979
git pull upstream develop
70-
git checkout -b v_2_3_4
80+
git checkout -b v2_3_4
7181
git add .
7282
git commit -m "Release v2.3.4"
7383
git push
@@ -117,13 +127,8 @@ https://www.nuget.org/packages/Terminal.Gui
117127

118128
### 10) Add a new Release in Github: https://github.com/gui-cs/Terminal.Gui/releases
119129

120-
Generate release notes with the list of PRs since the last release
130+
Generate release notes with the list of PRs since the last release.
121131

122-
Use `gh` to get a list with just titles to make it easy to paste into release notes:
123-
124-
```powershell
125-
gh pr list --limit 500 --search "is:pr is:closed is:merged closed:>=2021-05-18"
126-
```
127132
### 11) Update the `develop` branch with the new version
128133

129134
```powershell

Terminal.Gui/Views/TextView.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ internal static int CalculateLeftColumn (List<Rune> t, int start, int end, int w
387387
pos = new Point (col, i);
388388
col += (textToReplace.Length - matchText.Length);
389389
}
390-
if (col + 1 > txt.Length) {
390+
if (col < 0 || col + 1 > txt.Length) {
391391
break;
392392
}
393393
col = txt.IndexOf (matchText, col + 1);

Terminal.Gui/Windows/FileDialog.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ public SaveDialog () : this (title: string.Empty, message: string.Empty) { }
914914
/// <param name="message">The message.</param>
915915
/// <param name="allowedTypes">The allowed types.</param>
916916
public SaveDialog (ustring title, ustring message, List<string> allowedTypes = null)
917-
: base (title, prompt: Strings.fdSave, nameFieldLabel: $"{Strings.fdSaveAs}:", message: message, allowedTypes) { }
917+
: base (title, prompt: Strings.fdSave, nameFieldLabel: $"{Strings.fdSaveAs}", message: message, allowedTypes) { }
918918

919919
/// <summary>
920920
/// Gets the name of the file the user selected for saving, or null

0 commit comments

Comments
 (0)