Commit Graph

12 Commits

Author SHA1 Message Date
MaxXor 3bdd5aa294 Implemented pooled buffer manager to socket 2015-06-05 23:07:37 +02:00
MaxXor 39f9618f21 Fixed cross-thread issues & added lock to Clients
ref #231
2015-05-29 23:34:57 +02:00
MaxXor 47de4f8aa0 Small corrections 2015-05-27 22:46:07 +02: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 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
yankejustin 2e761af6f1 Fixed Remote Shell Flickering
Fixed screen flickering issue in the Remote Shell Form
2015-05-27 13:03:15 -04:00
MaxXor 896026d630 Fixed #216 2015-05-27 08:54:12 +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 c30783ccae Corrected file case 2015-01-27 23:56:52 +01:00