Nick Bolton
1c2576b8d7
Revert "Rephrased "crypto disabled" log, changed to error #4313 "
...
This reverts commit a6b5c872f5
.
2015-03-04 11:43:45 +00:00
Nick Bolton
a6b5c872f5
Rephrased "crypto disabled" log, changed to error #4313
2015-03-04 09:00:01 +00:00
XinyuHou
c4c0fc8a08
added enable crypto argument to synergys/c #4313
2015-02-12 15:50:08 +00:00
XinyuHou
80343c41eb
deleted old home brew crypto #4313
2015-02-11 11:12:54 +00:00
XinyuHou
622e40e5d7
managed secure socket allocation and deallocation #4313
2015-01-28 13:07:03 +00:00
XinyuHou
d80aa7c938
resolve #4337 removed IStreamFilterFactory dead code
2015-01-27 11:33:06 +00:00
XinyuHou
10cddb97a8
fixed misused read and write #4313
2015-01-26 13:23:11 +00:00
Xinyu Hou
141b778477
refactored SecureSocket to use interface #4313
2015-01-14 17:25:53 +00:00
XinyuHou
1d7eb3f5cb
updated pluging loader for Windows #4313
2015-01-09 13:46:35 +00:00
the-wes
a99bea9d3b
clarify protocol error message
2014-12-05 16:59:39 -08:00
Xinyu Hou
67377109f3
Moved Screen class into synergy namespace
2014-11-11 17:45:24 +00:00
Nick Bolton
41d6080028
changed company name in copyright notice
2014-11-11 13:52:03 +00:00
Nick Bolton
e8e156f0e2
dropped "c" prefix from class names
2014-11-11 13:51:47 +00:00
jerry
f87bd9e860
- checked filename's validation before sending drag info
...
- refactored duplicated write to drop dir code
- removed legacy member variables
- fixed code style
- fixed typo
2014-05-14 14:45:15 +00:00
jerry
9621cba99e
- redesigned drag information protocol
...
- used DragInformation to encapsulate information and helper functions.
- renamed parameters in sendDragInfo function.
2014-05-06 18:26:47 +00:00
jerry
ff42afc36c
made drag info function name more consistent
2014-05-01 13:56:07 +00:00
jerry
f773ff3d00
refactored duplicated code in dragInfoReceived
...
refactored fakeDraggigFiles interface
2014-04-30 18:54:32 +00:00
Nick Bolton
407378fbc5
Task #3951 - Clear filename stored in synwinxt on mouse up
...
- renamed some functions for file drag/drop to be more similar to existing
- improved log messages for the library loader
- removed hack that blocked .exe and .lnk files (annoying for developers)
- removed hack that always clears dragging filename (not very robust)
2014-03-17 13:10:29 +00:00
Nick Bolton
f62cac6a0a
code style - indentation
2014-03-17 11:16:52 +00:00
Nick Bolton
d5b25069be
fixed: extending std::runtime_error instead, as std::exception ctor is undefined. also fixed some mac warnings from inheriting runtime_error.
2014-03-14 20:33:18 +00:00
Nick Bolton
4675f29a4c
code style fixes:
...
- reordered includes to prevent accidental dependencies.
- moved arch specific files into their own folder (easier to include with cmake).
- renamed non-class files to reflect new code style (lower case with underscores).
- using full relative paths for includes (easier for understanding dependencies).
- using #pragma once instead of classic-style header guards.
2014-02-28 12:36:45 +00:00
Nick Bolton
8e74710dad
code style: dropped C prefix
2014-02-27 17:45:17 +00:00
Nick Bolton
f11c660efb
used glob instead of manually specifying files. cmake does not recommend this, but we always re-run cmake anyway after adding files since we use vs.
2014-02-26 17:46:02 +00:00
Nick Bolton
50a4f310c9
moved tools to ext - makes more sense, as it contains external libs, not tools
2014-02-26 16:52:54 +00:00
Nick Bolton
78ecdf4c6e
fixed: win32 warnings.
2014-02-25 15:50:06 +00:00
Nick Bolton
d03b398bc1
- improved string conversion by using ms comutil.
...
- removed dead member variable.
- extra logging to help debug file drop on windows.
2014-02-07 17:06:26 +00:00
Nick Bolton
deff54f051
fixed: accidentally nerfed drag and drop.
2014-02-07 11:30:48 +00:00
Nick Bolton
f149101d25
fixed: linux client crashes on file drop, even though drag and drop is disabled
2014-02-06 18:39:12 +00:00
jerry
6e50945bf9
created a new thread to write file to drop directory on client side
2013-09-25 14:49:04 +00:00
jerry
4e09b06cb0
fixed drag drop from Mac server to Windows client
2013-09-18 14:12:19 +00:00
jerry
340e31298e
- removed --filetransfer-src and --filetransfer-des args.
...
- on Window, temporarily use user desktop directory as drop target.
2013-09-17 18:13:58 +00:00
jerry
dbc7659776
changed the transparency of the window where drag is from on mac.
2013-09-12 11:43:34 +00:00
jerry
43e2535335
Feature to drag a file from Mac (client) to Windows (server):
...
- temporarily drop dragging file to desktop (specified by command line arg --filetransfer-des)
- on Mac side, fake an esc key while dragging off the screen does not seem to work
2013-08-30 19:49:38 +00:00
jerry
ce1b62db14
Feature to drag a file from Windows to Mac:
...
- On Mac client main thread is used for cocoa application in order to simulate drag.
- Send dragging file dir from Windows server to Mac client while dragging after switching screen.
- Dragging information sending is immature now (need to support multi files dragging in the future).
- Used Cocoa function to monitor dragg pasteboard.
- Changed Mac client to use another thread for event queue instead of the main thread.
- Change fileRecieveComplete to fileRecieveCompleted.
2013-08-30 14:38:43 +00:00
jerry
031a84ca84
- Allow dragging one file from Windows (server) to Mac (client), --filetransfer-des needs to be specified in client side's command line.
2013-08-23 15:36:23 +00:00
jerry
587c320f61
- Added data handler shell extension project (synwinxt) which will output a dll file.
...
- Removed misused comments in CServerProxy
2013-08-21 13:30:46 +00:00
jerry
dab838ed14
- renamed synrgyhk.dll to synwinhk.dll and moved lib code to separate folder.
...
- removed game device support (fallen into significant disrepair).
2013-08-02 13:21:06 +00:00
Nick Bolton
289f1ff71f
Patch by Jerry:
...
- Added fixed pause between raising each file transfer event
- Removed redundant member variables in CClient and CServer
2013-07-26 14:10:06 +00:00
Nick Bolton
811cfd146d
Patch by Jerry:
...
- Measure file transfer speed
- Increased quit timeout in NetworkTests
- Some code duplication, to be fixed in future patch
2013-07-26 12:44:14 +00:00
Nick Bolton
99a7e0db23
Patch by Jerry:
...
- Added include path for std::runtime_error
2013-07-26 10:26:20 +00:00
Nick Bolton
394ece004a
Patch by Jerry:
...
- Fixed line endings
- Integ test for file transfer
- Fixed crashed problem when log info is larger than 2048 bytes
- Fixed compile error caused by std exception (by Feng ye)
- Fixed include path on Mac and linux (by Feng ye)
2013-07-24 16:41:12 +00:00
Nick Bolton
c368013f13
Patch by Jerry for issue 46:
...
- Unit test for sending file data from server to client.
- Removed singleton pattern from CSocketMultiplexer for easier unit testing.
- Incremented protocol version from 1.4 to 1.5 (new file chunk message).
- Storing pointer to CConfig instead of copying in CServer (so we can mock it).
- Created a common event queue for testing (timeout, quit event, etc).
- Fixed code style.
2013-07-16 19:02:30 +00:00
Nick Bolton
608074c041
- made unit testing easier by (mostly) removing the event queue singleton.
...
- fixed code style in many places (mostly indentation).
2013-06-29 14:17:49 +00:00
Nick Bolton
e8ed977a8f
fixed: issue 3565 - encryption fails with heavy network traffic.
...
changed encrypt and decrypt to be asymmetrical (iv change now applies only in one direction).
2013-05-01 15:53:22 +00:00
Nick Bolton
c0dcdd52e7
fixed: crypto++ compile errors, linux compiler syntax bugs, and code style (spaces -> tabs)
2013-04-11 00:30:41 +00:00
Nick Bolton
880819fab7
Jerry's patch for password hash and custom mode (via command line).
2013-04-09 21:57:07 +00:00
Nick Bolton
7010de9cc4
sending IV to client before DKDN, DKUP and DKRP (the most sensitive messages). unit tests to support changes. made crypto stream tests a bit less spammy by using NiceMock.
2013-04-09 18:56:19 +00:00
Nick Bolton
23998fc06c
unit tests for IV change.
2013-04-08 18:35:23 +00:00
Nick Bolton
323285a931
moved temp hard coded key out of crypto class.
2013-04-08 13:04:20 +00:00
Nick Bolton
0a69c28ac5
implemented crypto stream, with some extra unit tests
2013-04-05 16:33:48 +00:00