Commit Graph

29 Commits

Author SHA1 Message Date
MaxXor 92eb35647b Removed unused method 2015-05-21 20:54:32 +02:00
MaxXor 4fe601a87b Small changes to code 2015-05-21 20:35:57 +02:00
yankejustin 792a9fc83f Don't dispose bmpRes
It is not GetDiffDesktop's responsibility to dispose of bmpRes. Just
call UnlockBits, then return the Bitmap.
2015-05-21 12:29:15 -04:00
yankejustin de3db663e9 Significant memory leak reduction
Remote Desktop now leaks significantly less memory on the Client.
GetDiffDesktop was unlocking bits only if an exception was thrown!
2015-05-21 12:27:43 -04:00
yankejustin d100c47091 More meaningful exception for Client Helper
More meaningful exception is thrown for the Client's Helper class'
GetDiffDesktop method.
2015-05-21 12:16:18 -04:00
yankejustin 8b20dee5e1 More meaningful exceptions
FileSplit provides more meaningful exceptions.
2015-05-21 12:12:02 -04:00
MaxXor 8866103318 Reformatted UnsafeStreamCodec 2015-05-18 18:07:22 +02: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 e50ea69d43 Fixed crash when downloading files over 2MB (#75) 2015-05-05 09:19:08 +02:00
MaxXor b1f6ba7ffd Correctly read and append blocks 2015-04-29 22:00:02 +02:00
MaxXor df5ce2f893 Fixed code formatting
Replaced all tabs in code with 4 spaces and did some general renaming.
2015-04-21 20:27:52 +02:00
MaxXor 3237a80924 Closed #60 2015-04-14 20:42:48 +02:00
MaxXor 27cda8f80b Fixed Remote Desktop crash
- Fixed Remote Desktop crash when using multiple monitors with different
resolution
2015-04-13 09:16:44 +02:00
yankejustin 295daca123 Some code consistency improvements
Made some code more consistent to the code in the solution.
2015-04-07 12:46:14 -04:00
MaxXor 5d20aad9d6 Fixed File Download in File Manager (#36) 2015-04-04 17:22:20 +02:00
MaxXor d140ca438e Improved Remote Desktop
- Added ability to change quality of remote desktop
- Fixed another cross threading crash
2015-04-02 10:26:57 +02:00
MaxXor 2a157a4df0 Cleanup 2015-03-31 22:37:38 +02:00
DragonHunter 5e3e2704f6 Probably fixed Remote Desktop Memory Leak
Probably fixed Remote Desktop Memory Leak, needs more testing but
overall stays between 50-100MB
Added UnsafeStreamCodec
2015-03-31 20:38:16 +02:00
MaxXor 763de6a86c Faster creation of random file names 2015-03-21 19:14:00 +01:00
MaxXor 998f9c77e4 Get correct LAN IP address and MAC address
- exclude not connected network interfaces and virtual network
interfaces
2015-02-24 21:58:20 +01:00
MaxXor ace4449c02 More code cleanup 2015-01-14 13:15:31 +01:00
MaxXor 2544f3a230 Refactored class access modifiers 2015-01-13 19:43:55 +01:00
MaxXor e3ad2f0716 Refactored namespace 2015-01-13 19:29:11 +01:00
MaxXor 177b232d7f Fixed changelog 2014-07-27 18:38:29 +02:00
MaxXor bc814904c4 Added Antivirus & Firewall detection 2014-07-18 18:23:04 +02:00
MaxXor 034b6242f4 Initial commit with everything else 2014-07-08 14:58:53 +02:00