Commit Graph

1000 Commits

Author SHA1 Message Date
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 574cce11c2 Revert 'Terms of Use Form closes in a better way'
There exists a bug, when you decline the license the server crashs. Safe
exit is not needed anyways in the terms of use form as nothing special
happend yet.
2015-04-14 20:50:11 +02:00
MaxXor 3237a80924 Closed #60 2015-04-14 20:42:48 +02:00
MaxXor 496e60e004 Minor fixes 2015-04-14 20:36:44 +02:00
MaxXor 21cdd34546 Removed redundant type cast 2015-04-14 20:36:32 +02:00
MaxXor 4c0894dbb3 Merge pull request #61 from d3agle/master
Bugfix with Remote Desktop
2015-04-14 20:25:59 +02:00
d3agle f71b45a16c Format fix
format fix
2015-04-14 05:01:27 -05:00
MaxXor aea8a275fd Merge pull request #59 from yankejustin/master
Some improved behavior changes
2015-04-14 11:59:01 +02:00
d3agle abd31f9a94 Fixed Remote Desktop Bug
Fixed a bug where changing resolutions while Remote Desktop is running
would crash both the client + server.  This fix ensures that the Remote
Desktop features continues to run accurately after changing resolutions
on the client.
2015-04-14 04:58:48 -05:00
Justin Yanke 6af33c5d5a Merge pull request #1 from MaxXor/master
Merge with base
2015-04-13 08:35:29 -04:00
MaxXor b360e2d91f Reverted few changes
- Get selected clients after disconnectecd client is removed from the
clients list
2015-04-13 10:25:45 +02:00
MaxXor 7b040d8988 Merge pull request #58 from d3agle/master
MainForm fixes
2015-04-13 10:20:09 +02:00
d3agle 26392acb13 MainForm fixes
fixed mainform getting real selected item count on client disconnection
from server.

added threading to upload and execute form dialogresult ok
2015-04-13 03:16:45 -05:00
MaxXor 10a730f501 Merge pull request #56 from MaxXor/remote-desktop-fix
Fixed Remote Desktop crash
2015-04-13 09:46:51 +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 40b2b8db5b Rewrote a method and improved behavior
Rewrote the File Manager Form's 'lstDirectory_DoubleClick' method so it
is more clear, to prevent unnecessary strings being recreated, and
because it was making the same decision twice when it didn't need to.
Also placed the Setting Form's 'btnListen_Click' method in a try-finally
block so if anything goes wrong in the method, the state of it won't be
frozen (before, you would have to click out of the Form, discard
changes, then re-open. Perhaps it would be advisable to notify the user
of an issue with the listening if it failed...
2015-04-12 22:19:08 -04:00
yankejustin 0624500555 Terms of Use Form closes in a better way
Instead of killing the process (which will cause finally-blocks and even
finalizers to not be executed!), we close the application correctly.
2015-04-12 21:46:36 -04:00
MaxXor 95e18abf25 Fixed #54 2015-04-10 21:27:33 +02:00
MaxXor bc12b91f15 Fixed #52 2015-04-09 19:24:56 +02:00
MaxXor 42803078be Fixed blocking MessageBox 2015-04-09 19:13:05 +02:00
MaxXor 0b2b91c376 Merge pull request #51 from yankejustin/master
Unnecessary code removal and Cross-Thread issue fix
2015-04-09 19:06:05 +02:00
Justin Yanke d495eddac5 Fixed a possible CrossThreadException
Fixed a potential CrossThreadException. Would have gotten an error if this method was called by a different Thread because FrmSi's 'lstSystem' would be accessed by the wrong Thread.
2015-04-09 12:46:12 -04:00
Justin Yanke 98cfd7d484 Removed unnecessary Stream
We already retrieved the response from the site. It is unnecessary to create another Stream afterwards.
2015-04-09 12:38:02 -04:00
Justin Yanke 7acde73f3d Removed unnecessary null check
Removed unnecessary null check for FrmSi (already checked in the method).
2015-04-09 12:23:56 -04:00
MaxXor c623880cf1 Merge pull request #48 from yankejustin/master
Code Consistency and Clarity, Performance, and a Small Fix
2015-04-08 18:41:09 +02:00
yankejustin e720d20811 Compacted Builder method
Compacted the validation on frmBuilder's btnBuild_Click(object,
EventArgs) method. This is a slight optimization, but it does help
remove the repetitive else statements.
2015-04-07 14:07:42 -04:00
yankejustin d5cb5b9c92 Performance and clean-up for both SafeQuickLZ
Slightly improved performance for the SafeQuickLZ on the server and
client, code clean-up, and consistency improvements.
2015-04-07 13:23:09 -04: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
yankejustin 8ecd568acf Fixed the loop that attempts to forward a port
If the endpoint was null, the loop would break anyways, not allowing up
to 5 retries (only got 1 try).
2015-04-07 12:38:34 -04:00
yankejustin b927aae0f8 Make sure to dispose of old Socket
Made sure the server disposed of the Socket when Server.Listen(ushort)
is called if the Socket was created before (called Server.Listen(ushort)
previously but stopped listening).
2015-04-07 12:27:56 -04:00
MaxXor 539a9b3d5b Changed KeepAlive Interval 2015-04-06 20:49:34 +02:00
MaxXor 18e84dc061 Reverted Settings.cs 2015-04-06 20:33:43 +02:00
MaxXor 12a0da6288 Improved KeepAlive and Extension Methods 2015-04-06 20:33:34 +02:00
MaxXor 29a5a258ea Fixed another cross threading bug 2015-04-06 20:33:00 +02:00
MaxXor aacd1e0f33 Merge pull request #46 from Abdullah2993/master
Added new KeepAlive method
2015-04-06 19:58:09 +02:00
Abdullah Saleem 957ae2c0ef New KeepAlive Added
Previous method of keep alive removed.
2015-04-06 22:40:54 +05:00
MaxXor a2091564fd Fixed tabs 2015-04-06 19:35:48 +02:00
MaxXor f9b52c804d Merge pull request #45 from d3agle/master
Bugfix with Remote Desktop
2015-04-06 19:28:41 +02:00
d3agle f624028755 Small fix for RDP
moved static field to property so command handler gets the initial -1
check starting rdp
2015-04-06 12:20:00 -05:00
Abdullah Saleem 46bd17c4fa Cross-Thread exception handled
Cross-Thread exception  on Uninstall
2015-04-06 22:12:56 +05:00
MaxXor ee19378725 Use object initializer 2015-04-06 10:46:10 +02:00
MaxXor c61de89cea Merge pull request #43 from d3agle/master
Fixed Server crash when closing the Remote Desktop form while it's still running
2015-04-06 10:38:20 +02:00
MaxXor 1991e5afd5 Merge pull request #42 from d3agle/master
Fixed Remote Desktop not working after reconnect
2015-04-06 10:36:32 +02:00
MaxXor 2ba4ed82ff Merge pull request #41 from d3agle/master
Form disposal on client disconnection
2015-04-06 10:35:26 +02:00
MaxXor bec3e7daab Fixed File Upload & Execute (#39) 2015-04-06 10:06:33 +02:00
Abdullah Saleem 860b59ac7d Configurable KeepAlive added 2015-04-05 15:41:26 +05:00
d3agle d2530396e4 Bugfix #2 with Remote Desktop
added try catch blocks due to server application crashing while closing
the remote desktop form.  If timed right, while closing the remote
desktop form, the command handler would be in the midst of accessing an
already disposed form causing server to hang.
2015-04-04 21:10:42 -05:00
d3agle 9dbbf18bd3 Bugfix with Remote Desktop
Fixed a bug where after using Remote Desktop and client
disconnection/reconnection, the server wasn't able to run Remote Desktop
again.  I believe there is an issue with the buffer/flow in the
UnsafeStreamCodec class however I wasn't able to pinpoint it.  Setting
this object to null allows a new object to be created when running
Remote Desktop with a fresh buffer.
2015-04-04 20:14:37 -05:00
d3agle 9058ec53cc Form disposal on client disconnection
Added disposal method to dispose of all userstate forms for client upon
disconnection of the client from the server
2015-04-04 16:48:52 -05:00
MaxXor 5d20aad9d6 Fixed File Download in File Manager (#36) 2015-04-04 17:22:20 +02:00