Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update copyright years #104

Merged
merged 1 commit into from
Aug 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added doc/control-model-1.drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/control-model.drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion sources/ConsoleTools/AssemblyInfo.Shared.cs
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
// associated with an assembly.
[assembly: AssemblyCompany("Dust in the Wind")]
[assembly: AssemblyProduct("Console Tools")]
[assembly: AssemblyCopyright("Copyright © 2017-2020 Dust in the Wind")]
[assembly: AssemblyCopyright("Copyright © 2017-2024 Dust in the Wind")]
[assembly: AssemblyTrademark("")]

// Version information for an assembly consists of the following four values:
2 changes: 1 addition & 1 deletion sources/ConsoleTools/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
<PropertyGroup>
<Company>Dust in the Wind</Company>
<Product>Console Tools</Product>
<Copyright>Copyright © Dust in the Wind 2017-2021</Copyright>
<Copyright>Copyright © Dust in the Wind 2017-2024</Copyright>
<Version>0.0.0.0</Version>
<NeutralLanguage>en</NeutralLanguage>
<RepositoryType>git</RepositoryType>

Unchanged files with check annotations Beta

{
if (text == null)
{
RawText = null;

Check warning on line 91 in sources/ConsoleTools/ConsoleTools.Core/Controls/MultilineText.cs

GitHub Actions / Main Build

'MultilineText.RawText' is obsolete: 'Intended for internal usage only.'
Lines = new ReadOnlyCollection<string>(Array.Empty<string>());
Size = new Size(0, 0);
}
else if (text.Length == 0)
{
RawText = string.Empty;

Check warning on line 97 in sources/ConsoleTools/ConsoleTools.Core/Controls/MultilineText.cs

GitHub Actions / Main Build

'MultilineText.RawText' is obsolete: 'Intended for internal usage only.'
Lines = new ReadOnlyCollection<string>(new[] { string.Empty });
Size = new Size(0, 1);
}
if (lineWidth > width) width = lineWidth;
}
RawText = text;

Check warning on line 146 in sources/ConsoleTools/ConsoleTools.Core/Controls/MultilineText.cs

GitHub Actions / Main Build

'MultilineText.RawText' is obsolete: 'Intended for internal usage only.'
Lines = lines.AsReadOnly();
Size = new Size(width, lines.Count);
}
List<string> linesAsList = lines.ToList();
RawText = string.Join(Environment.NewLine, linesAsList);

Check warning on line 167 in sources/ConsoleTools/ConsoleTools.Core/Controls/MultilineText.cs

GitHub Actions / Main Build

'MultilineText.RawText' is obsolete: 'Intended for internal usage only.'
Lines = linesAsList.AsReadOnly();
int width = linesAsList.Count == 0
public override bool Equals(object obj)
{
if (obj is MultilineText multilineText)
return RawText == multilineText.RawText;

Check warning on line 274 in sources/ConsoleTools/ConsoleTools.Core/Controls/MultilineText.cs

GitHub Actions / Main Build

'MultilineText.RawText' is obsolete: 'Intended for internal usage only.'

Check warning on line 274 in sources/ConsoleTools/ConsoleTools.Core/Controls/MultilineText.cs

GitHub Actions / Main Build

'MultilineText.RawText' is obsolete: 'Intended for internal usage only.'
return false;
}
/// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
public override int GetHashCode()
{
return RawText?.GetHashCode() ?? 0;

Check warning on line 285 in sources/ConsoleTools/ConsoleTools.Core/Controls/MultilineText.cs

GitHub Actions / Main Build

'MultilineText.RawText' is obsolete: 'Intended for internal usage only.'
}
IEnumerator IEnumerable.GetEnumerator()
namespace DustInTheWind.ConsoleTools.Advanced;
public class ConsoleInputMode

Check warning on line 26 in sources/ConsoleTools/ConsoleTools.Core/Advanced/ConsoleInputMode.cs

GitHub Actions / Main Build

Missing XML comment for publicly visible type or member 'ConsoleInputMode'
{
private readonly IntPtr consoleHandle;
private const int ENABLE_QUICK_EDIT_MODE = 0x0040;
private const int ENABLE_VIRTUAL_TERMINAL_INPUT = 0x0200;
public uint Value

Check warning on line 39 in sources/ConsoleTools/ConsoleTools.Core/Advanced/ConsoleInputMode.cs

GitHub Actions / Main Build

Missing XML comment for publicly visible type or member 'ConsoleInputMode.Value'
{
get
{
set => Kernel32.SetConsoleMode(consoleHandle, value);
}
public bool IsEnableProcessedInput

Check warning on line 51 in sources/ConsoleTools/ConsoleTools.Core/Advanced/ConsoleInputMode.cs

GitHub Actions / Main Build

Missing XML comment for publicly visible type or member 'ConsoleInputMode.IsEnableProcessedInput'
{
get => GetFlagValue(ENABLE_PROCESSED_INPUT);
set => SetFlagValue(ENABLE_PROCESSED_INPUT, value);