Skip to content

Commit ffd9e3e

Browse files
authored
Merge pull request #441 from LogExperts/v1.20.0
V1.20.0
2 parents 3d5cff8 + 0139f11 commit ffd9e3e

7 files changed

Lines changed: 46 additions & 42 deletions

File tree

lib/3rdparty.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Released under "MIT X11 license"
88

99
DockPanel Suite:
1010
----------------
11-
http://sourceforge.net/projects/dockpanelsuite/
11+
https://github.com/dockpanelsuite/dockpanelsuite
1212
Copyright (c) 2007 Weifen Luo (email: weifenluo@yahoo.com)
1313
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:
1414
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

src/Directory.Build.props

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>8.2.0</Version>
4-
<AssemblyVersion>2.0.0.0</AssemblyVersion>
5-
<FileVersion>2.0.0.0</FileVersion>
6-
<InformationalVersion>2.0.0.0-rc1</InformationalVersion>
3+
<Version>1.20.0.0</Version>
4+
<AssemblyVersion>1.20.0.0</AssemblyVersion>
5+
<FileVersion>1.20.0.0</FileVersion>
6+
<InformationalVersion>1.20.0.0</InformationalVersion>
77
<Authors>Hirogen, zarunbal, RandallFlagg, TheNicker</Authors>
88
<Company>Log Expert</Company>
99
<ImplicitUsings>enable</ImplicitUsings>
@@ -25,8 +25,25 @@
2525
<ImportWindowsDesktopTargets>false</ImportWindowsDesktopTargets>
2626
<EnableWindowsTargeting>false</EnableWindowsTargeting>
2727

28-
<AssemblyTitle>FIX ME - AssemblyTitle!</AssemblyTitle>
29-
<Description>FIX ME - Description!</Description>
28+
<AssemblyTitle>LogExpert</AssemblyTitle>
29+
<Description>
30+
LogExpert is a Windows tail program (a GUI replacement for the Unix tail command).
31+
32+
Summary of (most) features:
33+
34+
* Tail mode
35+
* MDI-Interface with Tabs
36+
* Search function (including RegEx)
37+
* Bookmarks
38+
* A very flexible filter view and possibility to filter to tab
39+
* Highlighting lines via search criteria
40+
* Triggers (e.g. create Bookmark or execute a plugin) via search criteria
41+
* Columnizers: Plugins which split log lines into columns
42+
* Unicode support
43+
* log4j XML file support
44+
* 3rd party plugin support
45+
* Plugin API for more log file data sources
46+
</Description>
3047
</PropertyGroup>
3148

3249
<ItemGroup Label="Links">

src/LogExpert.UI/Controls/LogWindow/LogWindow.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,6 @@ void ILogWindow.WritePipeTab (IList<LineEntry> lineEntryList, string title)
578578
WritePipeTab(lineEntryList, title);
579579
}
580580

581-
582581
#region Event Handlers
583582

584583
[SupportedOSPlatform("windows")]

src/LogExpert.UI/Dialogs/AboutBox.Designer.cs

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/LogExpert.UI/Dialogs/AboutBox.cs

Lines changed: 18 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ public AboutBox ()
2424
InitializeComponent();
2525

2626
LoadResources();
27-
27+
usedComponentsDataGrid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
2828
_assembly = Assembly.GetExecutingAssembly();
2929

3030
Text = $@"About {AssemblyTitle}";
3131
labelProductName.Text = AssemblyProduct;
3232
labelVersion.Text = AssemblyVersion;
3333
labelCopyright.Text = AssemblyCopyright;
3434
var link = "https://github.com/LogExperts/LogExpert";
35-
linkLabelURL.Links.Add(new LinkLabel.Link(0, link.Length, link));
35+
_ = linkLabelURL.Links.Add(new LinkLabel.Link(0, link.Length, link));
3636
LoadUsedComponents();
3737
}
3838

@@ -44,6 +44,7 @@ private void LoadUsedComponents ()
4444
var usedComponents = JsonConvert.DeserializeObject<UsedComponents[]>(json);
4545
usedComponents = usedComponents?.OrderBy(x => x.PackageId).ToArray();
4646
usedComponentsDataGrid.DataSource = usedComponents;
47+
4748
}
4849

4950

@@ -64,7 +65,7 @@ public string AssemblyTitle
6465
if (attributes.Length > 0)
6566
{
6667
var titleAttribute = (AssemblyTitleAttribute)attributes[0];
67-
if (titleAttribute.Title != string.Empty)
68+
if (!string.IsNullOrEmpty(titleAttribute.Title))
6869
{
6970
return titleAttribute.Title;
7071
}
@@ -77,20 +78,11 @@ public string AssemblyVersion
7778
{
7879
get
7980
{
80-
AssemblyName assembly = _assembly.GetName();
81-
82-
if (assembly.Version != null)
83-
{
84-
var version = $"{assembly.Version.Major}.{assembly.Version.Minor}.{assembly.Version.Build}.{assembly.Version.Revision}";
85-
if (assembly.Version.Revision >= 9000)
86-
{
87-
version += " Testrelease";
88-
}
89-
90-
return version;
91-
}
81+
var assembly = _assembly.GetName();
9282

93-
return "0.0.0.0";
83+
return assembly.Version != null
84+
? $"{assembly.Version.Major}.{assembly.Version.Minor}.{assembly.Version.Build}.{assembly.Version.Revision}"
85+
: "0.0.0.0";
9486
}
9587

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

104-
if (attributes.Length == 0)
105-
{
106-
return string.Empty;
107-
}
108-
return ((AssemblyDescriptionAttribute)attributes[0]).Description;
96+
return attributes.Length == 0
97+
? string.Empty
98+
: ((AssemblyDescriptionAttribute)attributes[0]).Description;
10999
}
110100
}
111101

@@ -114,11 +104,9 @@ public string AssemblyProduct
114104
get
115105
{
116106
var attributes = _assembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false);
117-
if (attributes.Length == 0)
118-
{
119-
return string.Empty;
120-
}
121-
return ((AssemblyProductAttribute)attributes[0]).Product;
107+
return attributes.Length == 0
108+
? string.Empty
109+
: ((AssemblyProductAttribute)attributes[0]).Product;
122110
}
123111
}
124112

@@ -127,11 +115,9 @@ public string AssemblyCopyright
127115
get
128116
{
129117
var attributes = _assembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
130-
if (attributes.Length == 0)
131-
{
132-
return string.Empty;
133-
}
134-
return ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
118+
return attributes.Length == 0
119+
? string.Empty
120+
: ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
135121
}
136122
}
137123

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

151-
Process.Start(new ProcessStartInfo
137+
_ = Process.Start(new ProcessStartInfo
152138
{
153139
UseShellExecute = true,
154140
FileName = target,

src/LogExpert.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
2727
Solution Items\AssemblyInfo.cs = Solution Items\AssemblyInfo.cs
2828
Directory.Build.props = Directory.Build.props
2929
Directory.Packages.props = Directory.Packages.props
30+
..\GitVersion.yml = ..\GitVersion.yml
3031
Solution Items\usedComponents.json = Solution Items\usedComponents.json
3132
EndProjectSection
3233
EndProject

src/usedPackages.json

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)