Commit Graph

470 Commits

Author SHA1 Message Date
yankejustin cb01565b15 Small documentation addition and remove check
Added some documentation for a variable and removed an unnecessary
conditional.
2015-07-28 14:52:07 -04:00
yankejustin 2d2a66b3d1 Refactoring, improvements, and more
Rafactored a reasonably large portion of the Remote Desktop. Added a few
interfaces, cleaned up some code, and multiple improvements to the
design.
Also fully implemented the new custom PictureBox control. Performance
gain is more noticable.
2015-07-28 14:36:04 -04:00
MaxXor 03bcaab524 Improved PictureBox 2015-07-28 18:44:29 +02:00
MaxXor b8e1962466 Small TabControl fix 2015-07-28 18:42:58 +02:00
yankejustin d697e32c1e Created custom PictureBox Control
Created a custom PictureBox Control for upcoming optimizations.
2015-07-28 12:03:12 -04:00
MaxXor 7e8693ba34 Improved Remote Desktop image processing #298 2015-07-28 11:48:27 +02:00
MaxXor 5dc79b91fa Some fixes to Remote Desktop #298 2015-07-27 23:42:26 +02:00
d3agle 358324c7c2 Added MouseAction enum 2015-07-27 10:36:18 -05:00
d3agle 44ac0ca0a7 Fix to small fix
Logic error *doh*
2015-07-27 09:20:55 -05:00
d3agle b06dc4d31e Small fix
If remote desktop was not started it would still send mouse input
2015-07-27 09:19:09 -05:00
d3agle 41862cbd6d Remote Desktop Mouse Input Improvements 2015-07-27 08:57:05 -05:00
MaxXor 7eabc0fe14 Fixed #296 2015-07-27 13:23:56 +02:00
MaxXor 5b396acfc3 Fixed #295 2015-07-27 13:20:39 +02:00
MaxXor c63e361136 Improved GeoLocation implementation 2015-07-26 16:44:03 +02:00
MaxXor db2c7e8adf Fixed #294 2015-07-26 15:27:38 +02:00
MaxXor cf16e57d9e Merge pull request #293 from MaxXor/pr/290
Improved UPnP reliability
2015-07-26 11:05:46 +02:00
MaxXor 3cdc525bf7 Minor fix 2015-07-26 11:02:58 +02:00
MaxXor 4e1678b633 Fixed #292 2015-07-26 10:42:53 +02:00
d3agle 81389d64a4 UPnP ensure port map 2015-07-26 00:56:44 -05:00
MaxXor a6b15afdbb Added try-catch block to invoke for closing forms 2015-07-26 00:24:38 +02:00
MaxXor cdfe49fcb7 Minor fix 2015-07-26 00:19:06 +02:00
MaxXor 59eec835dd Some refactoring and Remote Desktop improvements 2015-07-26 00:10:59 +02:00
MaxXor 0251e42cd3 Improved UPnP support #280 2015-07-25 16:58:36 +02:00
MaxXor 1b24fd8d65 Improved thread-safety of UPnP implementation 2015-07-25 12:27:07 +02:00
d3agle b5dd3e7874 UPnP Fix 2015-07-25 05:11:00 -05:00
d3agle 98bef4917a PacketHandler fix
For some reason, killing the Client process on my VM while Remote Desktop was running on my host would cause the Server to crash.  A NullReferenceException was thrown @ Line 16 in PacketHandler.cs.  Not sure if this is the best fix, but the server is trying to handle a packet after client.Value is nulled
2015-07-25 03:53:00 -05:00
d3agle 92f0563cf0 Removed unused namespace 2015-07-24 18:49:04 -05:00
d3agle 89aac0fa78 Server UPnP fix 2015-07-24 18:46:55 -05:00
MaxXor 09561c4252 Improved GUI with new TabControl 2015-07-25 00:29:19 +02:00
MaxXor 9b9842d988 Fixed Anchor of button in File Manager 2015-07-24 17:29:07 +02:00
MaxXor 59ccdc56a8 Minor fix to File Manager when refreshing directory multiple times 2015-07-24 17:13:42 +02:00
MaxXor 42b7312d33 Added refreshing directory in File Manager with F5 2015-07-24 16:56:42 +02:00
MaxXor 8a7bda84bd Added Upload File with Drag & Drop to File Manager 2015-07-24 15:46:11 +02:00
MaxXor dbac14f880 Show name of drive in File Manager 2015-07-24 10:41:21 +02:00
MaxXor 69124ded6a Fixed FM Remove option does not work on canceled transfers 2015-07-24 10:26:51 +02:00
MaxXor ceb5bc52fd Added option to remove completed file transfers
- File Manager shows more information about drives
2015-07-24 01:58:02 +02:00
MaxXor 2c48db56e4 Improved Remote Desktop
- shows now FPS (frames per second)
2015-07-23 16:55:44 +02:00
MaxXor e4757b87a2 Improved File Manager
- Added blocking send, this is important when transfering files to
prevent allocation of all blocks at once which pumps the memory with the
files contents
2015-07-23 13:31:45 +02:00
MaxXor d1b37e7d49 Improved header reading
When a new packet is at the end of the current buffer, it can happen
that the header isn't complete. Then it first reads what's there, writes
it to a temporary header and receives the rest of it in the next read
buffer.
2015-07-19 20:12:34 +02:00
MaxXor 1f30566c8a Improved Mono compatibility of the Server #279 2015-07-19 12:22:17 +02:00
MaxXor 26c6ef7bfa Improved waiting for UPnP devices 2015-07-19 10:22:04 +02:00
MaxXor 97b4da9b04 Added lib 2015-07-15 15:01:26 +02:00
MaxXor 5031a50f07 Changed UPnP library to Mono.Nat #279 2015-07-15 14:55:44 +02:00
MaxXor b46b57e602 Added enum for dirs and files in File Manager 2015-07-15 11:45:45 +02:00
MaxXor 8f88f4142a Added ShutdownAction enum 2015-07-14 23:48:24 +02:00
MaxXor 490186aef9 Improved File Manager directory code 2015-07-14 23:19:10 +02:00
MaxXor 6c6bc07b6e Added enum for UserStatus 2015-07-14 23:18:48 +02:00
MaxXor 45dccb69e0 Added consistent packet names 2015-07-14 19:00:31 +02:00
MaxXor bc3c6caac4 Changed property 2015-07-12 23:47:54 +02:00
MaxXor 887f3ab34a Added ConnectionHandler to Server 2015-07-12 19:30:34 +02:00
MaxXor cbf162825a Updated version 2015-07-12 09:47:55 +02:00
MaxXor f63e2fe65c Updated uac-shield with transparent background 2015-07-11 19:24:01 +02:00
MaxXor c148172976 Reverted background color of Builder
- changed from White to SystemColors.Control
2015-07-11 19:17:28 +02:00
MaxXor de08893260 Set Proxy to null when sending the No-Ip DNS Update request 2015-07-11 09:35:52 +02:00
MaxXor 3e72590d23 Fixed small grammar mistake 2015-07-10 20:12:00 +02:00
MaxXor d093843cfe Corrected TabIndex in Settings Form 2015-07-10 20:10:13 +02:00
MaxXor 03a19ce8aa Improved No-Ip.com Updater
- Removed getting own WANIP before sending the No-Ip update request, it
will either way take the connecting WANIP according to
https://www.noip.com/integrate/response
2015-07-10 19:50:41 +02:00
MaxXor 9092cc513a Corrected documentation 2015-07-10 16:49:11 +02:00
MaxXor ad75e9a760 Moved ConnectedTime to Client
- Added more documentation
2015-07-10 16:45:41 +02:00
MaxXor 9993ff0f89 Added ConnectedTime property to Client's UserState
- Fixed cross threading bug on form closing
2015-07-10 16:36:34 +02:00
MaxXor deaca4af40 Fixed not counting sent bytes 2015-07-10 15:58:26 +02:00
MaxXor bca273dc5e Fixed networking code
ref #275
2015-07-10 12:45:24 +02:00
MaxXor 6e280037f1 No negative file transfer IDs 2015-07-10 12:42:05 +02:00
MaxXor 44d81ed35e Reduced block size of file transfers 2015-07-10 12:41:48 +02:00
MaxXor 9a145b602b Better handling of packets with invalid header 2015-07-09 22:39:33 +02:00
MaxXor 9722744a75 Renamed MAX_PACKET_SIZE to BUFFER_SIZE 2015-07-09 22:28:07 +02:00
DragonHunter 00d9061d03 Merge remote-tracking branch 'upstream/master' 2015-07-09 22:04:23 +02:00
DragonHunter 0e6cafdc75 Reduced header to 3 bytes & Max Payload is 16MB
Reduced the Header from 4 bytes to 3
The server or client should not be able to allocate 2GB memory from the
header, max is now 16MB
2015-07-09 22:01:39 +02:00
MaxXor 82abd35282 Added more documentation to main form.
not complete yet
2015-07-09 21:16:21 +02:00
MaxXor a3f9599630 Improved GetClient methods 2015-07-08 20:32:40 +02:00
MaxXor 06b55bd302 Added method to get all connected clients
changed some method access modifiers
2015-07-08 11:14:12 +02:00
MaxXor d785fc32a8 Fixed networking code
fixes #272
fixes #273
2015-07-08 11:13:43 +02:00
MaxXor a6ecbf55c1 Improved setting of window titles of new forms 2015-06-25 22:22:45 +02:00
MaxXor e82fd5669c Improved updating of Remote Desktop Image 2015-06-20 18:50:02 +02:00
yankejustin 615c9dbcc3 Clone Bitmap on FrmRemoteDesktop
Clone the Bitmap on the "UpdateImage" method. It should be the
responsibility of "UpdateImage" anyways because it is the method
responsible for specifying how to manage the Bitmap provided. This also
serves an issue where the call to clone the Bitmap and cast it to a
Bitmap object was no longer in a try-catch block as it used to be (and
should be once more).
2015-06-19 21:20:38 -04:00
MaxXor cf0de1597f Removed redundant setting of NoDelay option 2015-06-18 16:11:33 +02:00
MaxXor 927982d493 Updated version 2015-06-14 20:56:09 +02:00
MaxXor f4835ee68b Removed whitespace 2015-06-14 14:20:50 +02:00
MaxXor b9d11c3b24 Fixed async receive in client & server using a queue 2015-06-11 10:20:11 +02:00
MaxXor ce22e66703 Only get SystemInfo when ShowToolTip option is enabled 2015-06-11 10:19:42 +02:00
MaxXor dde4336e1c Don't handle ObjectDisposedEx. as normal Exceptions 2015-06-10 19:53:03 +02:00
MaxXor 3fc03a7788 More send & receive fixes for client & server 2015-06-10 19:33:02 +02:00
MaxXor ca2f4c550b Added lock object for free buffer stack in PooledBufferManager.cs 2015-06-10 16:31:14 +02:00
MaxXor fd221f2e42 Don't show popup when when client instantly disconnects 2015-06-10 15:38:13 +02:00
MaxXor 8df408cf4b Fixed disconnection 2015-06-10 15:31:51 +02:00
MaxXor 6d75eac831 Fixed situations which could break the server 2015-06-10 15:24:18 +02:00
MaxXor 5fb9905d05 Renamer fixes (#266) 2015-06-09 20:06:04 +02:00
MaxXor 1e0a1d8b2c Fixed #266
#209
2015-06-09 08:35:49 +02:00
MaxXor 8284da5830 Small fix 2015-06-07 16:50:37 +02:00
MaxXor 83ec8c2a87 Added improvements to client 2015-06-07 16:35:30 +02:00
MaxXor 70618e91cb Improved memory management in server
- Fixed handling packets wih payload bigger than the buffersize of the
receiving socket
- Added locks to FileSplit class
2015-06-07 16:28:33 +02:00
MaxXor c5353d2d81 Added missing return 2015-06-06 09:30:18 +02:00
MaxXor 3abc4c5f82 Improved Buffer Manager 2015-06-06 09:28:43 +02:00
MaxXor b0d68c851d Improved handling of invalid clients 2015-06-06 09:28:31 +02:00
MaxXor 3e457d8a06 Improved reusing of buffers after restarting listen 2015-06-05 23:27:59 +02:00
MaxXor 9aef2df7f7 Small fix 2015-06-05 23:12:10 +02:00
MaxXor 3bdd5aa294 Implemented pooled buffer manager to socket 2015-06-05 23:07:37 +02:00
MaxXor fcf25b76a0 Fixed #265 2015-06-05 18:40:15 +02:00
MaxXor 242ff96e7f Removed redundant variable 2015-06-04 20:09:19 +02:00
MaxXor 9085cd6cb6 Merge pull request #259 from yankejustin/ClientInputSafety
Better server validation
2015-06-03 20:05:48 +02:00