Commit Graph

175 Commits

Author SHA1 Message Date
MaxXor b4100ecab0 Small fixes 2015-03-20 14:16:29 +01:00
MaxXor d5047b6813 Merge pull request #28 from yankejustin/master
Fixed missing invoke in Remote Desktop
2015-03-19 18:17:24 +01:00
yankejustin d5ad3c69b3 Removed unnecessary brackets
Removed unnecessary brackets to increase code readability in the other
ProtoBuf\Meta\ValueMember.cs so they are identical.
2015-03-19 12:12:18 -04:00
yankejustin 7f842d44fb Removed unnecessary brackets
Cleanup - Removed unnecessary brackets to increase readability.
2015-03-19 12:10:54 -04:00
yankejustin 89d661601f Fixed issue with the Remote Desktop
Fixed an issue where Remote Desktop would not work (threw infinite
InvalidOperationExceptions) because cbMonitors.SelectedIndex was trying
to be accessed on a different thread.
Moved code that gets the SelectedIndex inside the MethodInvoker.
2015-03-19 11:47:00 -04:00
MaxXor 5855fc9adf Removed unnecessary ThreadStart 2015-03-18 18:58:17 +01:00
MaxXor 90a4d4a89f Added bitmap to cleanup 2015-03-18 18:57:51 +01:00
MaxXor 7fcbbf58d3 Merge pull request #25 from MaxXor/pr/24
Merged branch with more fixes
2015-03-18 18:14:17 +01:00
MaxXor fa038ad22c Minor fix 2015-03-18 18:12:56 +01:00
MaxXor 76ca01a420 Minor null reference fix 2015-03-18 18:12:45 +01:00
MaxXor 1a13442c12 Fixed tabs in code 2015-03-18 18:12:09 +01:00
yankejustin b95f7f9268 Disposed of process on the shell closing
Disposed of any additional resources that weren't being disposed after
closing the shell session.
Also told the garbage collector to suppress finalization if we have
already told the session to close. No reason to clean the object twice!
:)
2015-03-17 18:54:03 -04:00
yankejustin c6b57f8110 Dispose of the memory stream in Helper class
Disposes of the memory stream created in the server's helper class that
converts an image.
2015-03-17 18:35:53 -04:00
yankejustin 79f9ca0cba Made sure the TcpClient will always kill itself
Placed TcpClient in a try-finally to make sure it will never linger if
it (likely) cannot connect successfully.
2015-03-17 18:30:12 -04:00
yankejustin 7fd83c87be Removed label to increase readability
Removed a label and implemented a more-common do-while loop for retry
functionality.
2015-03-17 18:22:09 -04:00
yankejustin 6243e470b4 CommandHandler Bitmap Disposal
Correctly disposes of the Bitmaps used in both of the CommandHandlers.
2015-03-17 18:07:16 -04:00
yankejustin 4856568bff Merge pull request #3 from MaxXor/master
Merge with master branch
2015-03-17 17:52:07 -04:00
MaxXor b7fced1753 Removed unused variable 2015-03-17 22:31:11 +01:00
MaxXor 6bc4e9102d Multi-Threaded SendQueue 2015-03-17 22:28:51 +01:00
MaxXor d232ac8b86 Minor fix 2015-03-17 22:28:13 +01:00
MaxXor 84b7fc901e Fixed ProtoWriter Dispose
this broke protobuf
2015-03-17 22:28:03 +01:00
MaxXor b45ebd33ae Merge pull request #23 from MaxXor/pr/22
Merged branch with fixes for memory leaks
2015-03-17 22:06:23 +01:00
MaxXor 1b00c9d9ec Corrected small differences 2015-03-17 22:05:04 +01:00
yankejustin 1bed14532c Reflected changes to ProtoBuf classes
Reflected the changes made to the ProtoBuf classes to both sides.
2015-03-17 14:08:22 -04:00
yankejustin 245fb58ad4 Merge pull request #2 from MaxXor/master
Merged request from newest branch
2015-03-17 14:04:32 -04:00
yankejustin 8605b37f61 Minor change 2015-03-17 14:01:23 -04:00
MaxXor c598beb66b Removed unnecessary CloseShell call 2015-03-17 18:47:48 +01:00
yankejustin ba2f2a0b2a Correctly implemented IDisposable
Correctly implemented IDisposable on the client's and server's
ProtoWriter.
2015-03-17 13:28:23 -04:00
yankejustin 9a10e2f992 Correctly implemented IDisposable
Correctly implemented IDisposable on the client's ProtoWriter.
2015-03-17 12:49:22 -04:00
yankejustin be233599db Dispose of MemoryStream
IExtension.EndAppend is responsible for cleaning up stream (as it
stated). However, this method created a new memory stream from the
stream sent to the method that was not cleaned up.
2015-03-17 12:30:59 -04:00
MaxXor 4184bbb1e4 Minor change 2015-03-17 17:22:42 +01:00
yankejustin 2fd2001057 Merge pull request #1 from MaxXor/master
Merge most current version with fork
2015-03-17 11:58:42 -04:00
MaxXor 108e61f4eb Removed unnecessary comments due to changes to ProtoBuf 2015-03-17 10:34:31 +01:00
MaxXor ea618d9740 Fixed tabs in code 2015-03-17 10:30:28 +01:00
MaxXor 16be5340f4 Minor fix 2015-03-17 10:28:46 +01:00
MaxXor fb0c9588fe Dispose of the stream 2015-03-17 10:28:35 +01:00
MaxXor 78799511c7 Merge pull request #19 from yankejustin/master
Behavior Consistency and Memory Leaks
2015-03-17 10:18:15 +01:00
MaxXor d9070d0d34 Improved Remote Execution 2015-03-17 10:11:26 +01:00
MaxXor a1a4cfb53e Fixed disposing of GDI objects in Statistics Form 2015-03-17 10:10:19 +01:00
yankejustin 79588d4ea8 Dispose of the stream
Disposed of the stream correctly. Setting to null will NOT call dispose.
2015-03-16 13:24:53 -04:00
yankejustin 0f0cf6ed4c Memory Leak fixes
Added using blocks to fix a few memory leaks or prevent cases where an
exception in a method would not be able to reach the call to dispose
below it.
2015-03-16 13:12:19 -04:00
yankejustin c6c1cb2022 Improved Behavior
Improved the behavior consistency in the code by implementing try-catch
blocks.
2015-03-16 12:10:34 -04:00
MaxXor efc6b3067c Merge pull request #18 from d3agle/master
Bugfix with listen server
2015-03-14 17:54:54 +01:00
d3agle e64819673d Bugfix with listen server
Added null check for keepalive timer callback to prevent server
application from crashing when stopping the listen server when client(s)
connect and initiate the keepalive timer
2015-03-14 09:10:45 -05:00
MaxXor 057ae503c0 Updated README.md 2015-03-12 11:03:33 +01:00
MaxXor 894a6960bd Cleanup 2015-03-12 10:44:53 +01:00
MaxXor 1aa0ab511b Minor bugfix 2015-03-12 10:44:37 +01:00
MaxXor 21dc5b766f Removed unused using references 2015-03-08 18:16:52 +01:00
MaxXor 0d106a4f8b Added option to add files to autostart 2015-03-08 18:13:13 +01:00
MaxXor 8851f5806a Fixed a missing disposing of modal dialog box 2015-03-08 18:11:31 +01:00