From 8377235fffb5fc975dc1ef5039647737b49f1c92 Mon Sep 17 00:00:00 2001 From: BornToBeRoot Date: Tue, 23 Oct 2018 22:26:50 +0200 Subject: [PATCH 1/8] Debug info removed, close #143 --- .../OperationalStatusToStringConverter.cs | 3 --- .../Localization/Strings.Designer.cs | 27 ++++++++++++------- .../Resources/Localization/Strings.resx | 9 ++++--- .../Views/IPScannerSettingsView.xaml | 2 +- 4 files changed, 25 insertions(+), 16 deletions(-) diff --git a/Source/NETworkManager/Converters/OperationalStatusToStringConverter.cs b/Source/NETworkManager/Converters/OperationalStatusToStringConverter.cs index dedf349217..10dbbe50d5 100644 --- a/Source/NETworkManager/Converters/OperationalStatusToStringConverter.cs +++ b/Source/NETworkManager/Converters/OperationalStatusToStringConverter.cs @@ -1,5 +1,4 @@ using System; -using System.Diagnostics; using System.Globalization; using System.Net.NetworkInformation; using System.Windows.Data; @@ -10,8 +9,6 @@ public sealed class OperationalStatusToStringConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { - Debug.WriteLine("Converter runs..."); - if (!(value is OperationalStatus operationalStatus)) return "-/-"; diff --git a/Source/NETworkManager/Resources/Localization/Strings.Designer.cs b/Source/NETworkManager/Resources/Localization/Strings.Designer.cs index 4adea0370d..b10eaf3ef6 100644 --- a/Source/NETworkManager/Resources/Localization/Strings.Designer.cs +++ b/Source/NETworkManager/Resources/Localization/Strings.Designer.cs @@ -3716,15 +3716,6 @@ public static string RAW { } } - /// - /// Looks up a localized string similar to Read the MAC address from the ARP cache. - /// - public static string ReadTheMACAddressFromTheArpCache { - get { - return ResourceManager.GetString("ReadTheMACAddressFromTheArpCache", resourceCulture); - } - } - /// /// Looks up a localized string similar to Received / Lost. /// @@ -4346,6 +4337,15 @@ public static string ResolveHostname { } } + /// + /// Looks up a localized string similar to Resolve MAC address and vendor. + /// + public static string ResolveMACAddressAndVendor { + get { + return ResourceManager.GetString("ResolveMACAddressAndVendor", resourceCulture); + } + } + /// /// Looks up a localized string similar to Resolve PTR. /// @@ -4940,6 +4940,15 @@ public static string Steel { } } + /// + /// Looks up a localized string similar to . + /// + public static string String1 { + get { + return ResourceManager.GetString("String1", resourceCulture); + } + } + /// /// Looks up a localized string similar to Subnet. /// diff --git a/Source/NETworkManager/Resources/Localization/Strings.resx b/Source/NETworkManager/Resources/Localization/Strings.resx index 69404c8485..cae8869085 100644 --- a/Source/NETworkManager/Resources/Localization/Strings.resx +++ b/Source/NETworkManager/Resources/Localization/Strings.resx @@ -561,9 +561,6 @@ Primary DNS server - - Read the MAC address from the ARP cache - Received / Lost @@ -2030,4 +2027,10 @@ If you click "Move & Restart", the remaining files will be copied and the ap Connecting... + + Resolve MAC address and vendor + + + + \ No newline at end of file diff --git a/Source/NETworkManager/Views/IPScannerSettingsView.xaml b/Source/NETworkManager/Views/IPScannerSettingsView.xaml index 9f057ea468..7b4fd2482b 100644 --- a/Source/NETworkManager/Views/IPScannerSettingsView.xaml +++ b/Source/NETworkManager/Views/IPScannerSettingsView.xaml @@ -55,7 +55,7 @@ - + From 8d5bffcf8095da8107a05034ec771b72b8d5e381 Mon Sep 17 00:00:00 2001 From: BornToBeRoot Date: Tue, 23 Oct 2018 22:54:12 +0200 Subject: [PATCH 2/8] Close #152 --- Source/NETworkManager/Controls/PuTTYControl.xaml.cs | 4 ++-- Source/NETworkManager/Controls/TightVNCControl.xaml.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/NETworkManager/Controls/PuTTYControl.xaml.cs b/Source/NETworkManager/Controls/PuTTYControl.xaml.cs index ff7058e85e..3e0df3e9f5 100644 --- a/Source/NETworkManager/Controls/PuTTYControl.xaml.cs +++ b/Source/NETworkManager/Controls/PuTTYControl.xaml.cs @@ -168,10 +168,10 @@ private async void Connect() style &= ~(NativeMethods.WS_CAPTION | NativeMethods.WS_POPUP | NativeMethods.WS_THICKFRAME); NativeMethods.SetWindowLongPtr(_appWin, NativeMethods.GWL_STYLE, new IntPtr(style)); + IsConnected = true; + // Resize embedded application & refresh ResizeEmbeddedPutty(); - - IsConnected = true; } } else diff --git a/Source/NETworkManager/Controls/TightVNCControl.xaml.cs b/Source/NETworkManager/Controls/TightVNCControl.xaml.cs index 2d17328d82..1d12d41821 100644 --- a/Source/NETworkManager/Controls/TightVNCControl.xaml.cs +++ b/Source/NETworkManager/Controls/TightVNCControl.xaml.cs @@ -167,11 +167,11 @@ private async void Connect() long style = (int)NativeMethods.GetWindowLong(_appWin, NativeMethods.GWL_STYLE); style &= ~(NativeMethods.WS_CAPTION | NativeMethods.WS_POPUP | NativeMethods.WS_THICKFRAME); NativeMethods.SetWindowLongPtr(_appWin, NativeMethods.GWL_STYLE, new IntPtr(style)); + + IsConnected = true; // Resize embedded application & refresh ResizeEmbeddedTightVNC(); - - IsConnected = true; } } else From bba03e0ae7278ae346b7a644c65cdf35afbf922c Mon Sep 17 00:00:00 2001 From: BornToBeRoot Date: Tue, 23 Oct 2018 22:58:39 +0200 Subject: [PATCH 3/8] Update to 1.8.1.0 --- Source/NETworkManager/Controls/PuTTYControl.xaml.cs | 8 ++++---- Source/NETworkManager/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/NETworkManager/Controls/PuTTYControl.xaml.cs b/Source/NETworkManager/Controls/PuTTYControl.xaml.cs index 3e0df3e9f5..f388603226 100644 --- a/Source/NETworkManager/Controls/PuTTYControl.xaml.cs +++ b/Source/NETworkManager/Controls/PuTTYControl.xaml.cs @@ -171,7 +171,7 @@ private async void Connect() IsConnected = true; // Resize embedded application & refresh - ResizeEmbeddedPutty(); + ResizeEmbeddedPuTTY(); } } else @@ -204,7 +204,7 @@ private void PuTTYProcess_Exited(object sender, EventArgs e) IsConnected = false; } - private void ResizeEmbeddedPutty() + private void ResizeEmbeddedPuTTY() { if (IsConnected) NativeMethods.SetWindowPos(_puttyProcess.MainWindowHandle, IntPtr.Zero, 0, 0, PuTTYHost.ClientSize.Width, PuTTYHost.ClientSize.Height, NativeMethods.SWP_NOZORDER | NativeMethods.SWP_NOACTIVATE); @@ -234,14 +234,14 @@ public void CloseTab() private void PuTTYGrid_SizeChanged(object sender, SizeChangedEventArgs e) { if (_puttyProcess != null) - ResizeEmbeddedPutty(); + ResizeEmbeddedPuTTY(); } private void ResizeTimer_Tick(object sender, EventArgs e) { _resizeTimer.Stop(); - ResizeEmbeddedPutty(); + ResizeEmbeddedPuTTY(); } #endregion } diff --git a/Source/NETworkManager/Properties/AssemblyInfo.cs b/Source/NETworkManager/Properties/AssemblyInfo.cs index d10f08c60a..fcd38ffe63 100644 --- a/Source/NETworkManager/Properties/AssemblyInfo.cs +++ b/Source/NETworkManager/Properties/AssemblyInfo.cs @@ -49,6 +49,6 @@ // Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern // übernehmen, indem Sie "*" eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.8.0.0")] -[assembly: AssemblyFileVersion("1.8.0.0")] +[assembly: AssemblyVersion("1.8.1.0")] +[assembly: AssemblyFileVersion("1.8.1.0")] From bb801865640eb77d3aac73647705133a7be3cd83 Mon Sep 17 00:00:00 2001 From: BornToBeRoot Date: Tue, 23 Oct 2018 23:07:14 +0200 Subject: [PATCH 4/8] Debug info removed --- Source/NETworkManager/App.xaml.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/NETworkManager/App.xaml.cs b/Source/NETworkManager/App.xaml.cs index 2c7880b604..03f0494496 100644 --- a/Source/NETworkManager/App.xaml.cs +++ b/Source/NETworkManager/App.xaml.cs @@ -52,7 +52,6 @@ private void Application_Startup(object sender, StartupEventArgs e) // Update integrated settings %LocalAppData%\NETworkManager\NETworkManager_GUID (custom settings path) if (Settings.Default.UpgradeRequired) { - Debug.Write("Upgrade settings..."); Settings.Default.Upgrade(); Settings.Default.UpgradeRequired = false; } From 87cad9c2579bf3900f94116b4e1b0615886ececc Mon Sep 17 00:00:00 2001 From: BornToBeRoot Date: Thu, 25 Oct 2018 20:13:20 +0200 Subject: [PATCH 5/8] TextBox style changed --- Source/NETworkManager/Controls/PuTTYControl.xaml | 2 +- Source/NETworkManager/Controls/RemoteDesktopControl.xaml | 2 +- Source/NETworkManager/Controls/TightVNCControl.xaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/NETworkManager/Controls/PuTTYControl.xaml b/Source/NETworkManager/Controls/PuTTYControl.xaml index 92a42281f8..3bd0e069ad 100644 --- a/Source/NETworkManager/Controls/PuTTYControl.xaml +++ b/Source/NETworkManager/Controls/PuTTYControl.xaml @@ -31,7 +31,7 @@