Commit Graph

175 Commits

Author SHA1 Message Date
MaxXor 42113fb1d8 Small change 2015-05-31 21:24:17 +02:00
MaxXor 0b55140bcf Fixed bug when server stops listening 2015-05-31 21:12:00 +02:00
MaxXor 51979463f5 Fixed Listview Column order (#248) 2015-05-31 20:36:40 +02:00
MaxXor f30ebef324 Fixed memory leak (#209) 2015-05-31 20:21:25 +02:00
MaxXor 3ff0b38585 Added #245
Improved client & server
closes #245
2015-05-31 19:22:00 +02:00
MaxXor 6a4125cf18 Added more documentation to Client 2015-05-30 09:23:35 +02:00
MaxXor f195e9fb51 Documentation fix 2015-05-30 08:47:27 +02:00
yankejustin a254164424 Documented OnClientState for Server's client
Added documentation for the Server's client's OnClientState.
2015-05-29 20:06:25 -04:00
yankejustin 978b64b564 Final tweaks to the server documentation 2015-05-29 20:02:06 -04:00
yankejustin 0f281d4af3 Added and fixed some server documentation
Changed a few lines of documentation and added some more documentation
on another part.
2015-05-29 19:59:54 -04:00
yankejustin 8edeb8b968 Added more documentation for the server
Added some more documentation for the Server's server object.
2015-05-29 19:55:13 -04:00
yankejustin 4be0073f83 Added documentation for the server
Added some documentation for the Server's server object.
2015-05-29 19:03:24 -04:00
yankejustin 5450421900 Added documentation for server's client
Added some documentation for the server's client object.
2015-05-29 18:39:18 -04:00
MaxXor 971708f17b Fixed small typo 2015-05-29 23:39:22 +02:00
MaxXor 5c6f6d89d7 Added missing file 2015-05-29 23:35:11 +02:00
MaxXor 39f9618f21 Fixed cross-thread issues & added lock to Clients
ref #231
2015-05-29 23:34:57 +02:00
MaxXor 556c2c46f9 Added static modifier 2015-05-29 10:27:18 +02:00
MaxXor 24673509c5 Partial fix #231 2015-05-29 00:25:40 +02:00
MaxXor 9d29ed9803 Merged changes from master 2015-05-27 22:49:00 +02:00
MaxXor 47de4f8aa0 Small corrections 2015-05-27 22:46:07 +02:00
yankejustin be78162f63 Changes to output handling of commands
Added an "IsError" property to the ShellCommandResponse to denote if the
response should be handled a certain way (if it is a response to a
ShellCommand error, then print it differently).
Also correctly queues up two different threads on shell initialization.
These ManualResetEvents now will signal the Shell's redirected output to
handle either the output, or the error output. Not at the same time
(will cause deadlocking).
We now append the text instead of concatenating. Not sure how much more
efficient this is, but it is certainly more readable.
2015-05-27 14:46:10 -04:00
d3agle 21b805518b #220 fix
Fixes disconnection/removal of clients when stopping listen server
2015-05-27 12:00:50 -05:00
MaxXor bceaf04811 Added Removing of Programs from Autostart 2015-05-26 23:11:16 +02:00
MaxXor dbd95e4398 UPnP fix 2015-05-26 22:13:11 +02:00
d3agle 7e13fa080e small behavior fix #213 update 2015-05-26 14:55:23 -05:00
MaxXor 3e009117af Fixed #207 2015-05-26 19:35:28 +02:00
MaxXor c9facfc295 Added #121 (Update from File)
closes #121
2015-05-26 15:55:52 +02:00
MaxXor 6a6b253c0e Added extension methods 2015-05-22 22:12:30 +02:00
MaxXor a18e799f9a Merge pull request #162 from MaxXor/pr/161
Code Improvements
2015-05-21 20:55:15 +02:00
MaxXor 4fe601a87b Small changes to code 2015-05-21 20:35:57 +02:00
yankejustin 9e175378fc Must use static readonly instead of const
Instead of using const, we must use static readonly...
2015-05-21 12:23:54 -04:00
yankejustin 8cbab66bf8 Forgot to initialize const string array 2015-05-21 12:20:45 -04:00
yankejustin 21261270d8 Moved string array to class-level
Moved string array for file size units to a class-level const string
array for performance.
2015-05-21 12:14:41 -04:00
yankejustin 8b20dee5e1 More meaningful exceptions
FileSplit provides more meaningful exceptions.
2015-05-21 12:12:02 -04:00
UbbeLoL 6f316655dd Add support for mouse input for multiple monitors 2015-05-21 10:32:24 +02:00
yankejustin d022e55cc7 Slight performance boost
Break out of the loop when a subtype's derived type is found to match.
2015-05-20 09:52:26 -04:00
MaxXor 3a80b3459c Improved code readability in Renamer 2015-05-20 09:27:11 +02:00
d3agle 4e390742a5 IDisposable TypeloadException fix
Ignore renaming types that implement interfaces.

I hope this is the correct way to do this, I couldn't find a way to find
a specific interface to exclude from obfuscation
2015-05-19 18:06:10 -05:00
DragonzMaster 88f67c717a Small Change to Reverse Proxy
Changing the way was used to calculate send/received data by reverse
proxy
-This change will view the value with decimal point (2 num) to make the
values more accurate
-Changing the func name used from "GetFileSize" to "GetDataSize" ( Found
in xServer.Core.Helper )
2015-05-19 22:17:03 +02:00
yankejustin 983068e0ec Fixed redundant type specification
Fixed redundant type specification for the rest of the packets.
2015-05-18 21:53:25 -04:00
yankejustin 3990494d47 Fixed redundant type specification
Fixed redundant type specification for the server's packets.
2015-05-18 21:01:38 -04:00
yankejustin 6c12e0b7ec Respect the packet's type
One of the overloaded Send methods for the client and the server now
accepts the generic parameter.
2015-05-18 20:43:15 -04:00
MaxXor 8866103318 Reformatted UnsafeStreamCodec 2015-05-18 18:07:22 +02:00
yankejustin af20dd54e3 Disposing IDisposable Resources
Dispose of unmanaged resources used by the server's UnsafeStreamCodec
and JpgCompression (because it is pretty related to the
UnsafeStreamCodec). Made sure that the UnsafeStreamCodec was being
disposed of before being re-assigned.
Note: I did not reflect these changes to the client's UnsafeStreamCodec
because the implementation of the client's codec is a bit different in
the CommandHandler. This different implementation caused instability in
the client. In the server, I noticed decreased memory consumption and
decreased fluctuation in the memory used.
2015-05-18 01:10:25 -04:00
yankejustin af591e1d3a Formatted code of UnsafeStreamCodec
Formatted the code for UnsafeStreamCodec for readability and consistency
with the rest of the code in the program.
2015-05-18 00:37:12 -04:00
yankejustin d1e04a98a8 Removed clearing of local lists + setting to null
Setting objects to null would be optimized out. Clearing lists probably
would not be optimized out. There is no need to explicitly clear a list
of items or setting objects to null in C#. We must let the Garbage
Collector have its way.
2015-05-17 23:58:08 -04:00
yankejustin 95a271554b Removed unnecessary comment
Removed commented-out (archived) code.
2015-05-17 23:54:40 -04:00
yankejustin ab19a9fbef Make the lock readonly
Made the lock for the codec readonly. This makes it impossible for a
spot (excluding constructors) from touching the lock. Tampering with the
lock means that, if something acquires the lock and enters critical
code, the lock can be changed and the critical code's thread safety can
be violated.
2015-05-17 23:24:13 -04:00
MaxXor 4fcdf3b4d4 Merge pull request #141 from AnguisCaptor/master
Reverse Proxy Updates & Load Balancer
2015-05-16 21:22:09 +02:00
DragonHunter 42d7382fff Reverse Proxy Updates & Load Balancer
Added a Load Balancer, this will try balancing all the proxy connections
over multiple clients (keep refreshing ipchicken.com to see the cool
effect)
Resolve the DNS Hostname of the Target server at the Remote Client to
reduce DNS Leaks
2015-05-16 20:39:35 +02:00