Commit Graph

621 Commits

Author SHA1 Message Date
drieseng 1da035203c Added test project for WP 8.0.
Added few tests for abstraction classes.
2016-04-24 17:45:41 +02:00
drieseng 78167833a8 Added (incomplete) support for GetHostAddresses on UAP/UWP without relying on CoreFX (.NET Core). 2016-04-24 17:43:16 +02:00
drieseng 685dc9f8d8 Added null check 2016-04-24 17:42:09 +02:00
drieseng 13b4f8bcd8 Added ReadByte and SendByte convenience methods. 2016-04-24 17:41:43 +02:00
drieseng 172989554e Renamed VS 2012 solution file to Renci.SshNet.VS2012.sln. 2016-04-24 09:42:27 +02:00
drieseng 2310845728 Introduce abstraction for generating a strong random sequence, as UWP/WinRT does not come with RandomNumberGenerator.
On UWP/WinRT, we'll use CryptographicBuffer.GenerateRandom(uint).

We'll probably revisit this once CoreFX is more stable (after RC2).
2016-04-23 20:34:22 +02:00
drieseng fd36ae40b7 Fixed some warnings. 2016-04-23 20:30:22 +02:00
drieseng d2e4728512 Removed param from XML doc. 2016-04-23 20:26:17 +02:00
drieseng 1810e45284 Fixed hide warnings. 2016-04-23 20:25:33 +02:00
drieseng c3618cf771 Fixed compile warning. 2016-04-23 20:24:58 +02:00
drieseng 3203245db9 Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git 2016-04-05 18:55:36 +02:00
drieseng 2c3d72c481 Moved usage of TraceSource (and related classes) to DiagnosticAbstraction class. 2016-04-05 18:55:30 +02:00
drieseng 6ae759b692 Remove partial modifier. 2016-04-05 18:08:44 +02:00
Gert Driesen 29080fd2d1 Add FEATURE_DIAGNOSTICS_TRACESOURCE symbol. 2016-04-05 18:08:09 +02:00
drieseng 5928052150 Ignore SshConnectionException while closing channel. 2016-04-05 17:53:43 +02:00
drieseng bba2e5bad6 Added back signaling of socket read. 2016-04-05 17:52:08 +02:00
drieseng 430bf0ebf6 Added comment for reset of waithandle. 2016-04-05 17:51:43 +02:00
drieseng b1b2186cdb Removed FEATURE_SOCKET_SETSOCKETOPTION symbol. 2016-04-05 15:13:49 +02:00
drieseng cfdaa75902 Fix tests after recent changes. 2016-04-05 15:07:48 +02:00
drieseng 001646a748 Prefer EAP for sockets.
Fix compile errors in SocketAbstraction.Connect(...) for TAP and APM.
2016-04-05 09:14:35 +02:00
drieseng f80b14dc50 Inversed logic, as ConnectAsync returns true when there's I/O pending. 2016-04-04 21:31:56 +02:00
Gert Driesen 2f76f8de79 Remove usage of socket related partial methods.
Use methods in SocketAbstraction instead of partial methods.
2016-04-04 21:17:02 +02:00
Gert Driesen c553f0664b Remove usage of this qualifier. 2016-04-04 21:14:12 +02:00
Gert Driesen 6f27e5f037 Remove obsolete source files. 2016-04-04 21:12:07 +02:00
Gert Driesen 5221cf7158 Remove obsolete or duplicate source files. 2016-04-04 15:02:27 +02:00
Gert Driesen 653db3a226 Remove obsolete source files. 2016-04-04 14:51:05 +02:00
Gert Driesen 7d4dfa5ac4 Remove empty partial Extensions source file. 2016-04-04 14:40:59 +02:00
Gert Driesen b5c7066bde Reduce partial methods/classes and streamline API surface across target frameworks
* Make Extensions.DebugPrint(this IEnumerable<byte>) available on all
target frameworks.
* Moved the following extension methods from Extensions.<target
framework>.cs to Extensions.cs:
- IsNullOrWhiteSpace(this string)
- CanRead(this Socket)
- CanWrite(this Socket)
* Removed GetIPAddress(this string) from Extensions.cs, and use
DnsAbstraction.GetHostAddresses(string) instead.
* Make ForwardedPortRemote(uint boundPort, string host, uint port) and
ForwardedPortRemote(string boundHost, uint boundPort, string host, uint
port) constructors available on all target frameworks.
* Eliminated SendData(IChannelSession channel, string command) partial
method from ScpClient.cs.

* Make the following methods on SftpClient available on all target
frameworks:
- SynchronizeDirectories(string, string, string)
- BeginSynchronizeDirectories(string, string, string, AsyncCallback,
object)
- EndSynchronizeDirectories(IAsyncResult)
* Make DnsAbstraction.GetHostAddresses(string) available on all target
frameworks.
* Added SocketAbstraction class.
2016-04-04 14:37:09 +02:00
Gert Driesen 7a8135fd0c Added FEATURE_SOCKET_POLL symbol. 2016-04-04 14:21:24 +02:00
drieseng 722106e26f Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git 2016-04-04 09:59:53 +02:00
drieseng 61463b9f2f Rename conditional compilation symbols. 2016-04-03 16:21:57 +02:00
drieseng 7a08df2487 Implement task async pattern and event-based async pattern. 2016-04-03 16:16:18 +02:00
drieseng 745f352e86 Clarify dynamic port forwarding. 2016-04-03 16:12:42 +02:00
drieseng 92f8077ee3 Introduce FEATURE_MEMORYSTREAM_TRYGETBUFFER symbol, and clarify doc. 2016-04-03 16:11:59 +02:00
drieseng 64e375dc2d Revert "Clearify dynamic port forwarding."
This reverts commit 6c29387d5f.
2016-04-03 16:03:29 +02:00
drieseng 6c29387d5f Clearify dynamic port forwarding. 2016-04-03 16:01:35 +02:00
drieseng e49dc1410b Complete support for EAP. 2016-04-03 16:01:02 +02:00
drieseng 064c9472d7 Introduced support for socket event-based async pattern.
Added dispose of listener and waithandle introduced for EAP.
2016-04-03 15:58:29 +02:00
Gert Driesen ec86cd8869 Remove FEATURE_STREAM_EAP 2016-04-01 21:21:52 +02:00
Gert Driesen b0e3612b95 Added FEATURE_MEMORYSTREAM_TRYGETBUFFER symbol 2016-04-01 20:36:11 +02:00
Gert Driesen 765da0cb3e Document our conditional compilation symbols. 2016-04-01 19:15:30 +02:00
drieseng badbbeb171 Remove local test project from solution. 2016-04-01 09:55:01 +02:00
drieseng f6700e05b9 Add partial support for UWP/UAP 10.0, and prepare to support .NET Core 1.0.
Still very much work-in-progress.
Moved some target framework specific code to "abstraction" classes.
2016-03-31 22:14:21 +02:00
drieseng ccdcd159ad Merge branch 'develop' of https://github.com/sshnet/SSH.NET into develop 2016-03-24 11:15:04 +01:00
drieseng 83d21d44c8 Sync with new developments.
Move HMAC and key exchange method support to separate sections.
Added hmac-sha2-512 and hmac-sha2-512-96 HMACs.
Added Universal Windows Platform 10 (UAP10) as support target framework.
Added VS 2015 Update 2 RC as requirement for building UAP10.
2016-03-24 11:14:51 +01:00
drieseng 4077222824 Ignore expanded/resolved project.json files 2016-03-24 10:38:14 +01:00
drieseng b59573506a Removed unnecessary override of Close(). 2016-03-24 10:37:17 +01:00
drieseng 2240442ead Removed obsolete source file introduced by migration from Codeplex. 2016-03-24 10:36:40 +01:00
drieseng 93a6ea503d Removed duplicate sources introduced by migration from Codeplex. 2016-03-24 10:35:42 +01:00
drieseng c9f4e9e3c3 Added XML declaration. 2016-03-24 10:34:40 +01:00