the-wes
5703a41489
Update Server.cpp
...
clarified "cursor is locked" messages, moved the "scroll lock is on upon startup" message to NOTE level instead of DEBUG.
2014-12-30 13:33:21 -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
jerry
b85a9b628e
used a hidden drop window to get drag filename
2014-04-22 10:33:16 +00:00
Nick Bolton
0745d5884b
Task #3969 - Merge String.cpp and StringUtil.cpp
2014-03-21 08:32:36 +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
a97fa1428b
Task #3954 - Make "lock to screen" log message go to NOTE level instead of DEBUG
2014-03-17 11:14:56 +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
c44971b43d
fixed: warnings on mac os x
2014-02-25 15:03:43 +00:00
Nick Bolton
cfc1aa2569
fixed: file is dragged twice by accident.
...
fixed: exe and lnk files dragged by accident.
fixed: "dir" used instead of "filename".
2014-02-07 18:44:45 +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
3ee4f55a61
"dir" was used by mistake instead of "filename"
2014-02-07 15:54:01 +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
Nick Bolton
3d963bfbe7
possible fix for mavericks
2014-01-24 17:53:03 +00:00
jerry
10b9b2e406
added null point handling for get dragging file directory.
2013-09-26 11:34:21 +00:00
jerry
952be51c8c
fixed sending file twice when drag a file from Mac server to Windows client
2013-09-25 15:57:10 +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
6c6b40e644
removed logging info that is used only for debug.
2013-09-25 12:45:10 +00:00
jerry
e24afa5670
removed some unused include file dependencies and logging info only for debug
2013-09-25 10:50:11 +00:00
jerry
4816a30db3
Feature to drag a file from Windows (client) to Mac (server):
...
- changed the size of the window for dragging on Mac to 3 by 3 pixels.
- on server side, use a new thread to write file to the drop directory.
2013-09-24 16:29:51 +00:00
jerry
e145fef76f
moved fake esc and lmb between getDropFileURL and draggingInfoSending, otherwise it would make getDropFileURl return null or fail to fake lmb up on carbon hardware layer, then can not move mouse back from client
2013-09-24 10:33:29 +00:00
jerry
57db3da6f3
faked escape key down and up then a left mouse button up in CServer when isSwitchOkay return true.
...
removed the assertions in CScreen so server screen can fake input event as well.
2013-09-23 15:31:34 +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
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
a25587c4c5
- Removed GCM, CTR and OFB encryption modes.
...
- Every time server sends CALV message, IV will be changed as well.
2013-08-16 18:06:30 +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
607f8c9321
fixed: new iv was used before it was sent to the client, so the client could not decrypt new iv.
2013-04-11 22:30:24 +00:00
Nick Bolton
90bd08d86c
revert temp logging.
2013-04-11 05:09:17 +00:00
Nick Bolton
7dcc1151c7
more temp logging to try and understand why IEventQueue singleton is being used on build machines.
2013-04-11 04:53:59 +00:00