Commit Graph

717 Commits

Author SHA1 Message Date
drieseng 62100a08e2 Change modifier order. 2016-06-05 09:27:59 +02:00
drieseng 7411f16dca Added slashdocs. 2016-06-05 09:23:09 +02:00
drieseng 21e86a5528 Upgrade to SshNet.Security.Cryptography 1.0.0. 2016-06-04 18:10:31 +02:00
drieseng fc777ccb11 Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git 2016-06-04 18:09:48 +02:00
drieseng df992c39b1 Update to SshNet.Security.Cryptography 1.0.0. 2016-06-04 18:09:40 +02:00
drieseng df765ff068 Remove unused class. 2016-06-04 17:42:15 +02:00
drieseng be9471b8d5 Fixed (resharper) warnings. 2016-06-04 17:41:57 +02:00
drieseng b2eae63e57 Added slashdocs. 2016-06-04 17:38:11 +02:00
drieseng 037e58270f Added slashdocs. 2016-06-04 17:36:13 +02:00
drieseng 887926f172 Return empty byte array when EOF status response is received. 2016-05-25 21:36:46 +02:00
drieseng 3d78d65ee7 Remove unused imports. 2016-05-23 19:58:38 +02:00
drieseng 25604c74aa Change modifier order (cosmetic). 2016-05-23 19:57:40 +02:00
drieseng 78adac1241 Restore HandleSocks5 as before bug triaging. 2016-05-22 10:30:12 +02:00
drieseng 5ba43c72f0 Fix indentation of regions. 2016-05-22 10:21:49 +02:00
drieseng f1063bae78 Revert "Revert "Remove unused import.""
This reverts commit 5d60476400.
2016-05-21 20:29:15 +02:00
drieseng 5d60476400 Revert "Remove unused import."
This reverts commit c50e2a2f41.
2016-05-21 20:28:16 +02:00
drieseng c50e2a2f41 Remove unused import. 2016-05-21 20:27:10 +02:00
drieseng 02bf043223 For now, move Extensions to Renci.SshNet namespace. 2016-05-21 20:26:55 +02:00
drieseng e8cf0a4455 Fix build on UWP/UAT10. 2016-05-21 20:26:14 +02:00
drieseng 3aab98360c Added test for Decrypt. 2016-05-21 18:56:58 +02:00
drieseng 73d343f630 Use Array.Resize instead of creating new array and using Array.Copy to copy data over. 2016-05-21 18:55:32 +02:00
drieseng 9c9d9f3faa Remove commented code. 2016-05-21 18:54:20 +02:00
drieseng cd91adddba BCL for WP8 does not contain ASCIIEncoding. 2016-05-21 18:23:43 +02:00
drieseng 1dcf4412b9 Extensions namespace fix. 2016-05-21 18:23:03 +02:00
drieseng 9c27c4f083 Fixed namespace and accessibility. 2016-05-21 18:22:14 +02:00
Gert Driesen 81f904ecb8 Fix .NET 3.5 test build. 2016-05-16 21:01:57 +02:00
Gert Driesen bc0ccc8546 Added Extensions tests to .NET 3.5 test project. 2016-05-16 21:01:34 +02:00
Gert Driesen 21c4841256 Added Array.cs to SL4 project file. 2016-05-16 21:00:58 +02:00
Gert Driesen d11eeb4185 Moved both parts of Extensions partial class to Common namespace. 2016-05-16 20:30:31 +02:00
Gert Driesen df1211a0b1 Added Array.cs to WP project 2016-05-16 20:29:33 +02:00
Gert Driesen 0c5778d449 ASCIIEncoding does not exist for WP8 2016-05-16 20:29:22 +02:00
drieseng 49efc18690 Added doc for Take.
Added null checks to IsEqualTo.
2016-05-16 19:18:39 +02:00
drieseng 3ab6ee413f Avoid using Linq where a more performant alternative is readily available. 2016-05-16 17:22:12 +02:00
drieseng 74088c38a5 Avoid initializing data. 2016-05-16 17:19:56 +02:00
drieseng 21e81d0c78 Added ReadContinuous method. 2016-05-16 17:19:19 +02:00
drieseng 05d8ccbd7b Avoid using less optimal Linq, and use optimized extension methods instead. 2016-05-16 17:03:38 +02:00
drieseng b359dfa1e5 Added Array class which allows an empty array<T> to be reused.
Use BCL ASCIIEncoding class where available.
2016-05-16 16:45:22 +02:00
drieseng 5b3dd35b6f IsSingleByte cannot be overridden on SL/WP. 2016-05-16 16:22:06 +02:00
drieseng c7e3268569 Removed IsEqualTo<T>(this IEnumerable ...) overloads.
Renamed TrimLeadingZero to TrimLeadingZeros.
Added optimizations for Take(this byte[], int, int).
Added Take(this byte[], int) overload.
Added optimized IsEqualTo(this byte[], byte[]).
Added Concat(this byte[], byte[]).
2016-05-16 16:21:17 +02:00
drieseng 203d228a9b Eliminate unused bufferSize. 2016-05-16 16:08:05 +02:00
drieseng c4b09f7c48 Test cleanup. 2016-05-16 13:50:46 +02:00
drieseng 38b6bcdc0c Added tests for BigInteger. In huge parts based on the unit tests in Mono.
Update to latest version of BigInteger in Mono before the integration of the MS reference source.
Added slashdoc based on MSDN.
2016-05-16 13:49:56 +02:00
drieseng b64475d623 Improve compatibility with BCL ASCIIEncoding:
Fixed GetMaxByteCount and GetMaxCharCount.
Override IsSingleByte to always return true.
Added tests.
2016-05-15 12:07:42 +02:00
drieseng 7962f835cf Fixed typo. 2016-05-14 08:57:15 +02:00
drieseng a7a6e0552e SocketRead:
* Do not pass buffer by reference.
* Use infinite timeout when reading from socket.
2016-05-06 19:20:10 +02:00
drieseng a567151417 Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git 2016-05-06 09:56:56 +02:00
drieseng 14e26081af Added more information for the terminalName argument of CreateShellStream.
Fixes issue #10.
Removed bufferSize from the ShellStream ctor.
2016-05-06 09:56:48 +02:00
Gert Driesen 4dfa6f4d6e Tuning is always active now 2016-05-05 18:37:52 +02:00
drieseng a924a3ba03 Always use "tuning" code.
Avoid some NRE in Dispose.
2016-05-05 18:07:37 +02:00
drieseng 17f30f1135 Have Read(...) and ReadPartial(...) respect specified timeout in synchronous mode.
Make IsErrorResumable public.
2016-05-05 18:02:28 +02:00