Skip to content

Commit 1b69054

Browse files
authored
Merge pull request #9 from GhostwareDev/development
Bugfix proxy
2 parents af3272d + ee1ad81 commit 1b69054

File tree

7 files changed

+6
-94
lines changed

7 files changed

+6
-94
lines changed

GPS.NET/Ghostware.GPS.NET.GPSDWpfApplication/MainWindow.xaml.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.Threading.Tasks;
66
using System.Windows;
77
using Ghostware.GPS.NET.Models.ConnectionInfo;
8-
using Ghostware.GPS.NET.Models.ConnectionInfo.Credentials;
98
using Ghostware.GPS.NET.Models.Events;
109

1110
namespace Ghostware.GPS.NET.GPSDWpfApplication

GPS.NET/Ghostware.GPS.NET/Encryption/StringEncryption.cs

Lines changed: 0 additions & 57 deletions
This file was deleted.

GPS.NET/Ghostware.GPS.NET/Extensions/StringExtensions.cs

Lines changed: 0 additions & 24 deletions
This file was deleted.

GPS.NET/Ghostware.GPS.NET/GPS.NET.nuspec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>Ghostware.GPS.NET</id>
5-
<version>1.0.5</version>
5+
<version>1.0.6</version>
66
<title>Ghostware.GPS.NET</title>
77
<authors>Kevin Goos</authors>
88
<owners>Ghostware</owners>
@@ -18,6 +18,10 @@
1818
- Using the Windows location API. (Starting from windows 7)
1919
</description>
2020
<releaseNotes>
21+
v1.0.6:
22+
--------
23+
- Breaking GPSD Proxy bugfix
24+
2125
v1.0.5:
2226
--------
2327
- Added Securestring for proxy password

GPS.NET/Ghostware.GPS.NET/Ghostware.GPS.NET.csproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,17 @@
3939
<Private>True</Private>
4040
</Reference>
4141
<Reference Include="System" />
42-
<Reference Include="System.ComponentModel.Composition" />
4342
<Reference Include="System.Core" />
4443
<Reference Include="System.Device" />
4544
<Reference Include="System.Runtime.Serialization" />
4645
<Reference Include="System.Security" />
4746
<Reference Include="System.Xml.Linq" />
48-
<Reference Include="System.Data.DataSetExtensions" />
49-
<Reference Include="Microsoft.CSharp" />
5047
<Reference Include="System.Data" />
51-
<Reference Include="System.Net.Http" />
5248
<Reference Include="System.Xml" />
5349
</ItemGroup>
5450
<ItemGroup>
5551
<Compile Include="Constants\GpsdConstants.cs" />
5652
<Compile Include="Converters\CoordinateConverterUtilities.cs" />
57-
<Compile Include="Encryption\StringEncryption.cs" />
5853
<Compile Include="Enums\FileType.cs" />
5954
<Compile Include="Enums\GpsCoordinateSystem.cs" />
6055
<Compile Include="Enums\GpsStatus.cs" />
@@ -64,7 +59,6 @@
6459
<Compile Include="Exceptions\NoGpsFoundException.cs" />
6560
<Compile Include="Exceptions\NotConnectedException.cs" />
6661
<Compile Include="Exceptions\UnknownTypeException.cs" />
67-
<Compile Include="Extensions\StringExtensions.cs" />
6862
<Compile Include="Factories\GpsClientFactory.cs" />
6963
<Compile Include="Factories\GpsDataFactory.cs" />
7064
<Compile Include="GpsClients\ComPortGpsClient.cs" />

GPS.NET/Ghostware.GPS.NET/GpsClients/FileGpsClient.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
using System;
22
using System.Globalization;
33
using System.IO;
4-
using System.Linq;
54
using System.Threading;
65
using Ghostware.GPS.NET.Enums;
76
using Ghostware.GPS.NET.Exceptions;
8-
using Ghostware.GPS.NET.Extensions;
97
using Ghostware.GPS.NET.Models.ConnectionInfo;
108
using Ghostware.GPS.NET.Models.Events;
119
using Ghostware.GPS.NET.Models.GpsdModels;

GPS.NET/Ghostware.GPS.NET/GpsClients/GpsdGpsClient.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ public override bool Connect()
4848

4949
try
5050
{
51-
_client = data.ProxyCredentials != null
52-
? ProxyClientHandler.GetTcpClient(data)
53-
: new TcpClient(data.Address, data.Port);
51+
_client = data.IsProxyEnabled ? ProxyClientHandler.GetTcpClient(data) : new TcpClient(data.Address, data.Port);
5452
_streamReader = new StreamReader(_client.GetStream());
5553
_streamWriter = new StreamWriter(_client.GetStream());
5654

0 commit comments

Comments
 (0)