Skip to content

Commit b766e7d

Browse files
committed
Officially rename to ConsoleGuiTools
Retiring the name of the deprecated module `GraphicalTools`.
1 parent e90b65b commit b766e7d

File tree

11 files changed

+30
-136
lines changed

11 files changed

+30
-136
lines changed

.config/tsaoptions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"projectName": "One",
44
"areaPath": "One\\MGMT\\Compute\\Powershell\\Powershell",
55
"notificationAliases": [ "[email protected]", "[email protected]" ],
6-
"codebaseName": "PowerShell_GraphicalTools_20240404",
6+
"codebaseName": "PowerShell_ConsoleGuiTools_20240404",
77
"tools": [ "CredScan", "PoliCheck", "BinSkim" ]
88
}

.pipelines/GraphicalTools-Official.yml renamed to .pipelines/ConsoleGuiTools-Official.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ extends:
110110
rootFolderOrFile: $(drop)
111111
includeRootFolder: false
112112
archiveType: zip
113-
archiveFile: out/GraphicalTools.zip
113+
archiveFile: out/ConsoleGuiTools.zip
114114
- task: GitHubRelease@1
115115
displayName: Create GitHub release
116116
inputs:
117117
gitHubConnection: GitHub
118-
repositoryName: PowerShell/GraphicalTools
119-
assets: out/GraphicalTools.zip
118+
repositoryName: PowerShell/ConsoleGuiTools
119+
assets: out/ConsoleGuiTools.zip
120120
tagSource: userSpecifiedTag
121121
tag: v$(version)
122122
isDraft: true

ConsoleGuiTools.Common.props

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<Company>Microsoft</Company>
4+
<Copyright>© Microsoft Corporation.</Copyright>
5+
<LangVersion>latest</LangVersion>
6+
<PackageLicenseUrl>https://github.com/PowerShell/ConsoleGuiTools/blob/main/LICENSE.txt</PackageLicenseUrl>
7+
<RepositoryType>git</RepositoryType>
8+
<RepositoryUrl>https://github.com/PowerShell/ConsoleGuiTools</RepositoryUrl>
9+
</PropertyGroup>
10+
</Project>
File renamed without changes.

GraphicalTools.Common.props

-11
This file was deleted.

LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 PowerShell Team
3+
Copyright (c) 2024 PowerShell Team
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This repo contains the `Out-ConsoleGridView`
44
PowerShell Cmdlet providing console-based GUI experiences based on
55
[Terminal.Gui (gui.cs)](https://github.com/gui-cs/Terminal.Gui).
66

7-
_Note:_ A module named `Microsoft.PowerShell.GraphicalTools` used to be built and published out of this repo, but per [#101](https://github.com/PowerShell/GraphicalTools/issues/101) it is deprecated and unmaintained until such time that it can be rewritten on top of [.NET MAUI](https://devblogs.microsoft.com/dotnet/introducing-net-multi-platform-app-ui/).
7+
_Note:_ A module named `Microsoft.PowerShell.GraphicalTools` used to be built and published out of this repo, but per [#101](https://github.com/PowerShell/ConsoleGuiTools/issues/101) it is deprecated and unmaintained until such time that it can be rewritten on top of [.NET MAUI](https://devblogs.microsoft.com/dotnet/introducing-net-multi-platform-app-ui/).
88

99
## Installation
1010

@@ -149,7 +149,7 @@ Install PowerShell 7.2+ with [these instructions](https://github.com/PowerShell/
149149
### 2. Clone the GitHub repository
150150

151151
```powershell
152-
git clone https://github.com/PowerShell/GraphicalTools.git
152+
git clone https://github.com/PowerShell/ConsoleGuiTools.git
153153
```
154154

155155
### 3. Install [Invoke-Build](https://github.com/nightroman/Invoke-Build)
@@ -163,7 +163,7 @@ Now you're ready to build the code. You can do so in one of two ways:
163163
### 4. Building the code from PowerShell
164164

165165
```powershell
166-
pushd ./GraphicalTools
166+
pushd ./ConsoleGuiTools
167167
Invoke-Build Build -ModuleName Microsoft.PowerShell.ConsoleGuiTools
168168
popd
169169
```
@@ -188,7 +188,7 @@ exit
188188
### 5. Debugging in Visual Studio Code
189189

190190
```powershell
191-
code ./GraphicalTools
191+
code ./ConsoleGuiTools
192192
```
193193

194194
Build by hitting `Ctrl-Shift-B` in VS Code.
@@ -207,7 +207,7 @@ Your breakpoint should be hit.
207207

208208
We would love to incorporate community contributions into this project. If
209209
you would like to contribute code, documentation, tests, or bug reports,
210-
please read the [development section above](https://github.com/PowerShell/GraphicalTools#development)
210+
please read the [development section above](https://github.com/PowerShell/ConsoleGuiTools#development)
211211
to learn more.
212212

213213
## Microsoft.PowerShell.ConsoleGuiTools Architecture
@@ -237,4 +237,4 @@ For more information see the [Code of Conduct FAQ][conduct-FAQ] or contact [open
237237
[conduct-code]: https://opensource.microsoft.com/codeofconduct/
238238
[conduct-FAQ]: https://opensource.microsoft.com/codeofconduct/faq/
239239
[conduct-email]: mailto:[email protected]
240-
[conduct-md]: https://github.com/PowerShell/GraphicalTools/tree/master/CODE_OF_CONDUCT.md
240+
[conduct-md]: https://github.com/PowerShell/ConsoleGuiTools/tree/master/CODE_OF_CONDUCT.md

docs/Microsoft.PowerShell.GraphicalTools/Out-GridView.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
external help file: GraphicalToolsModule.dll-Help.xml
2+
external help file: ConsoleGuiToolsModule.dll-Help.xml
33
keywords: powershell,cmdlet
44
locale: en-us
5-
Module Name: GraphicalTools
5+
Module Name: ConsoleGuiTools
66
ms.date: 08/09/2019
77
schema: 2.0.0
88
title: Out-GridView

src/Microsoft.PowerShell.ConsoleGuiTools/Microsoft.PowerShell.ConsoleGuiTools.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<Import Project="..\..\GraphicalTools.Common.props" />
2+
<Import Project="..\..\ConsoleGuiTools.Common.props" />
33
<PropertyGroup>
44
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>

src/Microsoft.PowerShell.ConsoleGuiTools/Microsoft.PowerShell.ConsoleGuiTools.psd1

+5-110
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
RootModule = 'Microsoft.PowerShell.ConsoleGuiTools.dll'
1010

1111
# Version number of this module.
12-
# NOTE: This will get updated by build.ps1; the build number will be incremented for each build.
13-
ModuleVersion = '0.7.6.1'
12+
ModuleVersion = '0.7.6'
1413

1514
# Supported PSEditions
1615
CompatiblePSEditions = @( 'Core' )
@@ -28,7 +27,7 @@ CompanyName = 'Microsoft'
2827
Copyright = '(c) Microsoft Corporation.'
2928

3029
# Description of the functionality provided by this module
31-
Description = 'Cross-platform Console Gui Tools for PowerShell'
30+
Description = 'Cross-platform Console GUI Tools for PowerShell'
3231

3332
# Minimum version of the PowerShell engine required by this module
3433
PowerShellVersion = '7.2'
@@ -96,120 +95,16 @@ PrivateData = @{
9695
Tags = @('Console', 'Gui', 'Out-GridView', 'Out-ConsoleGridView', 'Show-ObjectTree', 'Terminal.Gui', 'gui.cs', 'MacOS', 'Windows', 'Linux', 'PSEdition_Core')
9796

9897
# A URL to the license for this module.
99-
LicenseUri = 'https://github.com/PowerShell/GraphicalTools/blob/master/LICENSE.txt'
98+
LicenseUri = 'https://github.com/PowerShell/ConsoleGuiTools/blob/master/LICENSE.txt'
10099

101100
# A URL to the main website for this project.
102-
ProjectUri = 'https://github.com/PowerShell/GraphicalTools/'
101+
ProjectUri = 'https://github.com/PowerShell/ConsoleGuiTools/'
103102

104103
# A URL to an icon representing this module.
105104
# IconUri = ''
106105

107106
# ReleaseNotes of this module
108-
ReleaseNotes = '# Release Notes
109-
## v0.7.6
110-
111-
* Fix child expand #223
112-
113-
## v0.7.5
114-
115-
* Adds Show-ObjectTree cmdlet #179
116-
* Fix clear last line on Windows Terminal Issue again #207
117-
* Adds support for -Diagnostic switch to Out-ConsoleGridView #208
118-
* Adds support for -UseNetDriver switch to Out-ConsoleGridView #208
119-
120-
## v0.7.4
121-
122-
* Fixes last line not cleared on exit in WT by updating to Terminal.Gui v1.13.5 #205
123-
124-
## v0.7.3
125-
126-
* Build updates and compliant release pipeline #168
127-
* Updates ConsoleGuiTools to Terminal.Gui v1.10 #184
128-
* Fixes #175. Column headers misaligned #185
129-
* Fixes# 148. Move to next row on select #187
130-
* Fixes #174. Changing Filter does not undo previously marked items #186
131-
* Marked are now at top; simplified code; fixed margin #188
132-
* Fixes #189 - Fixed typo in exception text. Added -verbose to launch.json #190
133-
* Fixes #195 - Incompatible with OpenSUS #196
134-
* Bump Newtonsoft.Json from 13.0.1 to 13.0.3 #198
135-
* Bump Newtonsoft.Json from 13.0.1 to 13.0.3 #200
136-
* Bump Microsoft.PowerShell.SDK from 7.2.6 to 7.2.13 #199
137-
* Bump Terminal.Gui from 1.13 to 1.13.4 #197
138-
* Remove PDB files from module #201
139-
140-
## v0.7.2
141-
142-
* Update Terminal.Gui to v1.7.1 #161
143-
* Filter edit chops off first char of filter string passed on command line #151
144-
* Color changes and terminal becomes unreadable #150
145-
If items are selected, then a filter is applied, items now hidden stay selected #121
146-
* Add UI for select-all/select-none #120
147-
* Add ability to minimize UI #116
148-
* Initial focus should be on the results (ListView) #87
149-
* Import-Module causes warning on PowerShell 7 RC3 #44
150-
* Runaway process on Ubuntu 20.4 displaying random characters upon exit. #139
151-
* PSAnsiRenderingFileInfo causes display issues with Out-ConsoleGridView #159
152-
* Removes building and distribution of Out-GridView and the other Avalonia-based components
153-
* Remove ANSI escape sequences from property values #158
154-
155-
## v0.7.0
156-
157-
Upgraded to PowerShell 7.2 and .NET target framework `net60`
158-
159-
Updated Terminal.Gui to 1.7
160-
161-
Fixed #131 - Strip ANSI
162-
163-
## v0.6.3
164-
165-
Unreleased!
166-
167-
## v0.6.2
168-
169-
Update Terminal.Gui to 1.0.
170-
171-
Disable mouse mode to fix bug with mouse movement being printed to console.
172-
173-
Gracefully fail when running in remote sessions.
174-
175-
## v0.6.1
176-
177-
Fix off-by-one error with ellipsis so columns should be better aligned.
178-
179-
## v0.6.0
180-
181-
Now supports `-Filter` parameter.
182-
183-
Updated to use the final release of `Terminal.Gui` v0.90 (which is feature complete for 1.0).
184-
185-
## v0.5.0
186-
187-
`Out-ConsoleGridView` has been totally refactored!
188-
189-
First off, no more silly F9 menu to accept!
190-
All you have to do is hit `ENTER` to accept your selection or `ESC` to cancel.
191-
192-
Also, `-OutputMode` works as expected now. `Single` lets you only select one item. `Multiple` is the default.
193-
194-
## v0.4.1
195-
196-
* Fix filter indexing to return correct selected objects
197-
198-
## v0.4.0
199-
200-
* Regex filter
201-
* Newlines rendering fix (Thanks @tig!)
202-
203-
## v0.3.0
204-
205-
* Windows OS support (PS 6.2+)
206-
* dynamic column widths
207-
* Fix arrow key issue on non-Windows
208-
209-
## v0.2.0
210-
211-
Initial Release
212-
'
107+
ReleaseNotes = 'Please see release notes at: https://github.com/PowerShell/ConsoleGuiTools/releases'
213108

214109
# Prerelease string of this module
215110
# Prerelease = ''

src/Microsoft.PowerShell.OutGridView.Models/Microsoft.PowerShell.OutGridView.Models.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<Import Project="..\..\GraphicalTools.Common.props" />
2+
<Import Project="..\..\ConsoleGuiTools.Common.props" />
33
<PropertyGroup>
44
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>

0 commit comments

Comments
 (0)