Commit Graph

570 Commits

Author SHA1 Message Date
MaxXor 8a6709ba9f Improved client removal from listview 2015-05-28 11:01:29 +02:00
MaxXor 955aea9e17 Added Contributing.md 2015-05-27 23:31:28 +02:00
MaxXor e4ee6005fa Edited Readme 2015-05-27 23:30:12 +02:00
MaxXor 163c828fbc Fixed Shell cmd.exe process not correctly exited
#232
2015-05-27 23:10:40 +02:00
MaxXor d53430d790 Merge branch 'pr/232' 2015-05-27 22:50:27 +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 9bddb0ffd5 Initialize ManualResetEvents in the constructor
If something recoverable goes wrong in the shell, we must make sure that
we reset the ManualResetEvents so the chained output functions
correctly.
2015-05-27 15:44:32 -04:00
yankejustin d402d7833f Fixed client breaking on shell close
Fixed a situation where a break in the output-handler chain would not
correctly terminate, causing an exception to be thrown.
2015-05-27 15:37:07 -04:00
yankejustin 320172a126 Perfected handling of exiting
Perfected how handling an exit command is determined.
Also removed a command to execute an "exit" command on the client
because we call "this.Close()". On FormClosing(object,
FormClosingEventArgs), we send an "exit" command anyways. Two of them
should not be sent to close the client's shell...
2015-05-27 15:11:44 -04:00
yankejustin 39a717c626 Correctly colorize errors 2015-05-27 15:04:14 -04:00
yankejustin 007296e24c Changed how exiting is determined
Changed when to decide we should exit (using Linq).
2015-05-27 14:56:06 -04:00
yankejustin 5c4525eb69 Changes to Dispose(bool)
Changes to how the shell is disposed.
2015-05-27 14:50:24 -04: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
MaxXor e363dce7ce Fixed #230 2015-05-27 20:31:59 +02:00
MaxXor 6688d917ae Trim also end of Remote Shell commands (#216) 2015-05-27 20:03:27 +02:00
MaxXor bf42e9c4f1 Trim start of Remote Shell commands (#216) 2015-05-27 19:50:27 +02:00
MaxXor 8d32c58901 Removed newly added unused reference 2015-05-27 19:38:07 +02:00
MaxXor 538aa8991f Merge pull request #228 from yankejustin/RemoteDesktopFix
Remote desktop fix
2015-05-27 19:19:23 +02:00
MaxXor 9c60f35b04 Merge pull request #229 from d3agle/master
#220 fix
2015-05-27 19:13:19 +02:00
yankejustin 2e761af6f1 Fixed Remote Shell Flickering
Fixed screen flickering issue in the Remote Shell Form
2015-05-27 13:03:15 -04:00
d3agle 21b805518b #220 fix
Fixes disconnection/removal of clients when stopping listen server
2015-05-27 12:00:50 -05:00
Justin Yanke 690dcc33e1 Merge pull request #16 from MaxXor/master
Merge with recent base
2015-05-27 12:56:00 -04:00
yankejustin 16ad740862 Screen length check
Come to think of it, if there isn't a screen in the array, we shouldn't
use it! heh
2015-05-27 12:38:50 -04:00
yankejustin 0685ab44dc Improved HandleMonitors
For some strange reason, this line wasn't in the last commit!
2015-05-27 12:38:00 -04:00
yankejustin 849638fd1b Various Remote Desktop Fixes
Handle Monitors is more reliable.
Re-wrote some of HandleRemoteDesktop to produce more accurate behavior.
2015-05-27 12:36:37 -04:00
MaxXor 5f2ffe2138 Edited Readme 2015-05-27 09:32:19 +02:00
MaxXor fb2a981e8d Added #217 2015-05-27 09:26:04 +02:00
MaxXor 84fb045c55 Added disposing of NotifyIcon (#218) 2015-05-27 09:05:05 +02:00
MaxXor 896026d630 Fixed #216 2015-05-27 08:54:12 +02:00
Justin Yanke 20123997fe Merge pull request #14 from MaxXor/master
Merge with recent base
2015-05-26 20:51:21 -04:00
MaxXor bceaf04811 Added Removing of Programs from Autostart 2015-05-26 23:11:16 +02:00
MaxXor ad7fd821af Merge pull request #215 from MaxXor/pr/214
UPnP fix
2015-05-26 22:13:59 +02:00
MaxXor dbd95e4398 UPnP fix 2015-05-26 22:13:11 +02:00
MaxXor bda545c614 Fixed Add to Autostart Command 2015-05-26 22:02:56 +02:00
MaxXor b3baad6d98 Fixed #212 2015-05-26 22:02:18 +02:00
d3agle 7e13fa080e small behavior fix #213 update 2015-05-26 14:55:23 -05:00
d3agle a2fb891e97 small behavior fix
only try to remove upnp settings if the server is listening, if you have this checked, closing the form will stall for a second or two even if the server is not listening
2015-05-26 14:05:10 -05:00
MaxXor 107aedca92 Merge pull request #211 from DragonzMaster/patch-1
Startup Manger Fix
2015-05-26 20:40:30 +02:00
DragonzMaster 1faafaa814 Startup Manger Fix [Client]
Changed CurrentUser to LocalMachine
As these values located in LocalMachine NOT CurrentUser
2015-05-26 20:36:14 +02:00
MaxXor 4e7c6a701c Merge pull request #210 from d3agle/dev
Changed ReverseProxyForm StartPosition to CenterScreen
2015-05-26 20:22:22 +02:00
d3agle 94836476c9 small form edit 2015-05-26 13:18:33 -05:00
MaxXor 7752149aff Added Icon to Reverse Proxy Context Menu Item #209 2015-05-26 20:11:02 +02:00
MaxXor 3e009117af Fixed #207 2015-05-26 19:35:28 +02:00
MaxXor 36ac738e43 Minor Uninstall fix
- Add to Autostart again when already installed #205
2015-05-26 18:28:15 +02:00
MaxXor 381dad6a24 Fix #205 (Uninstall fix)
- Moved some Command-Handling methods to their correct location
2015-05-26 18:14:24 +02:00
MaxXor 5e4905fec2 Prevent Keylogger writing when Client disconnects 2015-05-26 18:11:50 +02:00
MaxXor 1f55275c2b More settings and profile fixes
ref #197
2015-05-26 16:26:04 +02:00
MaxXor 7a1e6a82ab Fixed #197 2015-05-26 16:14:03 +02:00
MaxXor de11c7e7c4 Moved methods into ContextMenu region 2015-05-26 16:01:36 +02:00