Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion lib/3rdparty.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Released under "MIT X11 license"

DockPanel Suite:
----------------
http://sourceforge.net/projects/dockpanelsuite/
https://github.com/dockpanelsuite/dockpanelsuite
Copyright (c) 2007 Weifen Luo (email: weifenluo@yahoo.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Expand Down
29 changes: 23 additions & 6 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project>
<PropertyGroup>
<Version>8.2.0</Version>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<FileVersion>2.0.0.0</FileVersion>
<InformationalVersion>2.0.0.0-rc1</InformationalVersion>
<Version>1.20.0.0</Version>
<AssemblyVersion>1.20.0.0</AssemblyVersion>
<FileVersion>1.20.0.0</FileVersion>
<InformationalVersion>1.20.0.0</InformationalVersion>
<Authors>Hirogen, zarunbal, RandallFlagg, TheNicker</Authors>
<Company>Log Expert</Company>
<ImplicitUsings>enable</ImplicitUsings>
Expand All @@ -25,8 +25,25 @@
<ImportWindowsDesktopTargets>false</ImportWindowsDesktopTargets>
<EnableWindowsTargeting>false</EnableWindowsTargeting>

<AssemblyTitle>FIX ME - AssemblyTitle!</AssemblyTitle>
<Description>FIX ME - Description!</Description>
<AssemblyTitle>LogExpert</AssemblyTitle>
<Description>
Copy link

Copilot AI Jul 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The project description XML is very verbose. Consider moving detailed feature lists to external documentation and keeping the element concise for easier maintenance.

Copilot uses AI. Check for mistakes.
LogExpert is a Windows tail program (a GUI replacement for the Unix tail command).

Summary of (most) features:

* Tail mode
* MDI-Interface with Tabs
* Search function (including RegEx)
* Bookmarks
* A very flexible filter view and possibility to filter to tab
* Highlighting lines via search criteria
* Triggers (e.g. create Bookmark or execute a plugin) via search criteria
* Columnizers: Plugins which split log lines into columns
* Unicode support
* log4j XML file support
* 3rd party plugin support
* Plugin API for more log file data sources
</Description>
</PropertyGroup>

<ItemGroup Label="Links">
Expand Down
1 change: 0 additions & 1 deletion src/LogExpert.UI/Controls/LogWindow/LogWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,6 @@ void ILogWindow.WritePipeTab (IList<LineEntry> lineEntryList, string title)
WritePipeTab(lineEntryList, title);
}


#region Event Handlers

[SupportedOSPlatform("windows")]
Expand Down
5 changes: 3 additions & 2 deletions src/LogExpert.UI/Dialogs/AboutBox.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 18 additions & 32 deletions src/LogExpert.UI/Dialogs/AboutBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ public AboutBox ()
InitializeComponent();

LoadResources();

usedComponentsDataGrid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
Copy link

Copilot AI Jul 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider setting the DataGridView's AutoSizeColumnsMode in the designer rather than at runtime to keep UI configuration centralized.

Copilot uses AI. Check for mistakes.
_assembly = Assembly.GetExecutingAssembly();

Text = $@"About {AssemblyTitle}";
labelProductName.Text = AssemblyProduct;
labelVersion.Text = AssemblyVersion;
labelCopyright.Text = AssemblyCopyright;
var link = "https://github.com/LogExperts/LogExpert";
linkLabelURL.Links.Add(new LinkLabel.Link(0, link.Length, link));
_ = linkLabelURL.Links.Add(new LinkLabel.Link(0, link.Length, link));
LoadUsedComponents();
}

Expand All @@ -44,6 +44,7 @@ private void LoadUsedComponents ()
var usedComponents = JsonConvert.DeserializeObject<UsedComponents[]>(json);
usedComponents = usedComponents?.OrderBy(x => x.PackageId).ToArray();
usedComponentsDataGrid.DataSource = usedComponents;

}


Expand All @@ -64,7 +65,7 @@ public string AssemblyTitle
if (attributes.Length > 0)
{
var titleAttribute = (AssemblyTitleAttribute)attributes[0];
if (titleAttribute.Title != string.Empty)
if (!string.IsNullOrEmpty(titleAttribute.Title))
{
return titleAttribute.Title;
}
Expand All @@ -77,20 +78,11 @@ public string AssemblyVersion
{
get
{
AssemblyName assembly = _assembly.GetName();

if (assembly.Version != null)
{
var version = $"{assembly.Version.Major}.{assembly.Version.Minor}.{assembly.Version.Build}.{assembly.Version.Revision}";
if (assembly.Version.Revision >= 9000)
{
version += " Testrelease";
}

return version;
}
var assembly = _assembly.GetName();

return "0.0.0.0";
return assembly.Version != null
? $"{assembly.Version.Major}.{assembly.Version.Minor}.{assembly.Version.Build}.{assembly.Version.Revision}"
: "0.0.0.0";
}

}
Expand All @@ -101,11 +93,9 @@ public string AssemblyDescription
{
var attributes = _assembly.GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false);

if (attributes.Length == 0)
{
return string.Empty;
}
return ((AssemblyDescriptionAttribute)attributes[0]).Description;
return attributes.Length == 0
? string.Empty
: ((AssemblyDescriptionAttribute)attributes[0]).Description;
}
}

Expand All @@ -114,11 +104,9 @@ public string AssemblyProduct
get
{
var attributes = _assembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false);
if (attributes.Length == 0)
{
return string.Empty;
}
return ((AssemblyProductAttribute)attributes[0]).Product;
return attributes.Length == 0
? string.Empty
: ((AssemblyProductAttribute)attributes[0]).Product;
}
}

Expand All @@ -127,11 +115,9 @@ public string AssemblyCopyright
get
{
var attributes = _assembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
if (attributes.Length == 0)
{
return string.Empty;
}
return ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
return attributes.Length == 0
? string.Empty
: ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
}
}

Expand All @@ -148,7 +134,7 @@ private void OnLinkLabelURLClicked (object sender, LinkLabelLinkClickedEventArgs
target = e.Link.LinkData as string;
}

Process.Start(new ProcessStartInfo
_ = Process.Start(new ProcessStartInfo
{
UseShellExecute = true,
FileName = target,
Expand Down
1 change: 1 addition & 0 deletions src/LogExpert.sln
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
Solution Items\AssemblyInfo.cs = Solution Items\AssemblyInfo.cs
Directory.Build.props = Directory.Build.props
Directory.Packages.props = Directory.Packages.props
..\GitVersion.yml = ..\GitVersion.yml
Solution Items\usedComponents.json = Solution Items\usedComponents.json
EndProjectSection
EndProject
Expand Down
Binary file modified src/usedPackages.json
Binary file not shown.
Loading