James McMullan
1bbd086a17
MacOSX Double / Triple Click Fix
...
This patch corrects issues with double click and adds triple click to
MacOSX. Double click was functioning but double clicking and then
dragging would not work.
2015-03-21 13:41:00 +00:00
Nick Bolton
ecd51d231b
Revert "Revert "Revert "Merge branch 'bug3784-MacOSXDoubleTripleClickFix' of https://github.com/jpmcmu/synergy into jpmcmu-tripple-click-fix"""
...
This reverts commit 7f721ee7b1
.
2015-03-21 13:38:20 +00:00
Nick Bolton
7f721ee7b1
Revert "Revert "Merge branch 'bug3784-MacOSXDoubleTripleClickFix' of https://github.com/jpmcmu/synergy into jpmcmu-tripple-click-fix""
...
This reverts commit 32323bc0d1
.
2015-03-21 11:42:37 +00:00
Nick Bolton
32323bc0d1
Revert "Merge branch 'bug3784-MacOSXDoubleTripleClickFix' of https://github.com/jpmcmu/synergy into jpmcmu-tripple-click-fix"
...
This reverts commit b5effc0591
, reversing
changes made to 297100c88a
.
2015-03-21 11:36:38 +00:00
Nick Bolton
b5effc0591
Merge branch 'bug3784-MacOSXDoubleTripleClickFix' of https://github.com/jpmcmu/synergy into jpmcmu-tripple-click-fix
2015-03-21 11:08:53 +00:00
legonigel
447169df32
Fix #4349
...
Fixes issue #4349 in MSWindowsDesks.cpp by using HWND_TOP instead of HWND_TOPMOST. All credit for this fix goes to @gitscrubz and @dubuaych.
2015-03-20 03:12:50 -04:00
Josh McCullough
4ac8f61a54
Fixed #4389 - removed unused include from platform/MSWindowsScreen.
2015-03-06 18:10:39 -05:00
James McMullan
56b54da915
MacOSX Double / Triple Click Fix
...
This patch corrects issues with double click and adds triple click to
MacOSX. Double click was functioning but double clicking and then
dragging would not work.
2014-12-04 15:15:38 -05:00
Xinyu Hou
db9f7974ed
Fixed #4249 by add retain count for extension string
2014-12-02 12:36:01 +00:00
Xinyu Hou
e71e7e1cd3
Catched exception while getting active desktop name
2014-11-27 10:51:58 +00:00
Xinyu Hou
9fd11da578
Drop C prefix on Windows
2014-11-12 11:44:29 +00:00
Xinyu Hou
e5e0a3b653
Drop C prefix on Linux
2014-11-12 11:28:41 +00:00
Xinyu Hou
67377109f3
Moved Screen class into synergy namespace
2014-11-11 17:45:24 +00:00
Xinyu Hou
1aaa55163c
Fixed "c" prefix compile error on Windows
2014-11-11 14:50:09 +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
Xinyu Hou
d347cbd45f
Merge branch 'pdecat-master'
2014-11-05 10:25:31 +00:00
Xinyu Hou
d2191b6b93
Auto elevate for Windows UAC and screen lock #4130
2014-10-27 16:39:18 +00:00
Xinyu Hou
4d3fd14ada
Merge branch 'caramis-master'
2014-10-27 14:46:54 +00:00
Xinyu Hou
6756296d85
Made daemon take full responsibility for logging #4128
2014-10-27 14:11:43 +00:00
Xinyu Hou
df29bf8e54
Merge branch 'helkanen-master'
2014-10-24 15:10:44 +01:00
Xinyu Hou
bc772f98a6
Unable to start synergy server with "Cannot create a file when that file already exists" message #3752
...
Go to next iteration as soon as it fails.
2014-10-22 12:53:14 +01:00
Nick Bolton
c2b3f1414b
Merge branch 'master' of https://github.com/pdecat/synergy into pdecat-master
2014-10-22 12:49:16 +01:00
Jean-Philippe Andre
9e358233c3
Fix copy&paste for EFL applications
...
Fixes issue 4021.
2014-10-22 20:32:16 +09:00
Nick Bolton
4a24a2117a
Merge branch 'master' of https://github.com/caramis/synergy into caramis-master
2014-10-22 11:59:14 +01:00
Xinyu Hou
4aa43d6995
Merge branch '64bit' of https://github.com/petroules/synergy into petroules-64bit
2014-10-22 11:40:00 +01:00
Xinyu Hou
504e41966e
Carbon loop not ready within 5 sec #4002
...
Port fix from enterprise.
2014-10-21 15:48:04 +01:00
SeokYeon Hwang
3a663092cf
Do not throw exception if ProcessIdToSessionId() is failed.
...
Many security solutions forbid other program from accessing their own process. So if ProcessIdToSessionId() is failed, simply ignore it.
Signed-off-by: SeokYeon Hwang <caramis@gmail.com>
2014-10-21 19:51:28 +09:00
Jake Petroules
7dd2db25ec
Add support for building with 64-bit architectures on OS X.
...
This patch brings full 64-bit compatibility to Synergy on OS X by
replacing all obsolete 32-bit only Carbon functions with modern
equivalents. All functions introduced have been available since 10.4 so
this won't affect the minimum deployment target. Specifically:
Creating an empty CGEvent and getting its location is behaviourally
identical to GetGlobalMouse, and yes, both are in flipped coordinates.
This was tested with a multi-monitor configuration as well.
TrackMouseLocationWithOptions is behaviourally identical to
GetGlobalMouse in these cases because the timeout was 0 and none of the
other out params were used, except for the MouseTrackingResult in one
call was checked against kMouseTrackingTimedOut. Since the timeout was 0
and not kEventDurationForever, that value never could have been returned
anyway.
Instead of attempting to define SIntXX and UIntXX manually, MacTypes.h
is included on OS X. These types were wrong in 64-bit mode because of
this, causing type redefinition errors.
2014-10-15 19:29:49 -07:00
Patrick Decat
aeab72f724
Apply patch from https://github.com/synergy/synergy/issues/3749
2014-10-15 14:51:44 +02:00
jerry
7e562273d5
[no-issue]
...
revert to r2421
2014-09-15 15:17:07 +00:00
jerry
1805dd7900
issue #575 - Cannot build x86_64 or ppc64 on Mac OS X
...
applied patch by Jake Petroules
2014-09-15 13:04:43 +00:00
jerry
c4dd6eb61c
sticky keys fix doesn't work, may make things worse - backed out [no-issue]
2014-08-01 10:35:16 +00:00
jerry
995730a646
issue #18 - Sticky modifier/meta keys
...
- improved on Mac.
2014-07-02 13:25:49 +00:00
jerry
507abdcbfb
issue #4072 Carbon loop not ready within 5 sec
...
added lock to all condVar
2014-06-02 16:07:58 +00:00
jerry
9feaa959f1
issue #4072 - Carboon loop not ready within 5 sec
...
issue solved
2014-06-02 11:04:09 +00:00
jerry
1dfe867c54
issue #4060 - Key stuck down on Windows server
...
finished solving issue.
2014-05-23 15:01:29 +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
935ca0b2f2
Added support for copying images (BMP) and HTML to/from the OS X clipboard - patch by Ryan Chapman
2014-05-13 12:31:05 +00:00
Nick Bolton
d9f90e319e
changed synergy-foss.org to synergy-project.org
2014-05-08 07:33:35 +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
fd68b70878
patch by Marc:
...
- fixed switchNeedsAlt not working
- improved logging
2014-04-30 11:17:54 +00:00
jerry
b876c0daf3
fixed compile error on 10.6 and 10.5
2014-04-22 16:43:04 +00:00
jerry
5657348453
removed synwinxt
2014-04-22 11:38:09 +00:00
jerry
506cae9a63
made drag window frontmost when drag starts
2014-04-22 10:48:12 +00:00
jerry
b85a9b628e
used a hidden drop window to get drag filename
2014-04-22 10:33:16 +00:00
jerry
7b8cdb6b38
used really drag file extension
2014-04-17 17:25:41 +00:00
jerry
de65f71312
removed left control key hack for faking drag on mac
2014-04-17 17:10:36 +00:00
jerry
8cdeafe995
fixed: compile error on mac 10.8 with makefile
2014-04-17 17:01:58 +00:00
jerry
45c1cde698
fixed: events were added before event queue was ready, caused debug build assert failure.
...
removed sleep hack in favour of cond var wait.
2014-04-17 10:56:25 +00:00
Nick Bolton
b081fc0331
fixed: code style in OSXKeyState, released ref var
2014-03-31 16:04:17 +00:00
Nick Bolton
68557afff2
fixed: modifier keys are repeated on windows server.
2014-03-31 15:54:57 +00:00
Nick Bolton
6649887ca6
reverted r2025
2014-03-31 14:57:53 +00:00
jerry
bc160fab01
fixed broken drag and drop in 1.4.17
2014-03-25 15:08:00 +00:00
Nick Bolton
0745d5884b
Task #3969 - Merge String.cpp and StringUtil.cpp
2014-03-21 08:32:36 +00:00
Nick Bolton
564b5c6e51
annotated hex values in logging
2014-03-17 19:27:29 +00:00
Nick Bolton
0563eeb467
extra logging, polling keys after modifier key fake
2014-03-17 19:02:13 +00:00
Nick Bolton
729bbeab01
cleaned up osx keystate code that handles modifiers (really weird code).
2014-03-17 18:39:27 +00:00
Nick Bolton
826cd7e60b
reintroduced AXIsProcessTrusted call, shouldn't break ax stuff
2014-03-17 17:25:18 +00:00
Nick Bolton
3ddb7ef9e3
Task #3961 - Remove Windows 95 support
2014-03-17 16:30:27 +00:00
Nick Bolton
1b5cdecc60
Task #3960 - Split CMSWindowsHookLibraryLoader into hook and shellex loaders
...
- reordered include order for winsock2.h (more robust)
- removed Windows.h include from synwinxt.h (not needed)
2014-03-17 14:34:13 +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
abe108195d
Task #3953 - Inherit XArch and XBase from std::exception
2014-03-14 18:30:21 +00:00
Nick Bolton
9b9a489efc
fixed: tests not compiling on linux
2014-02-28 15:36:51 +00:00
Nick Bolton
19bcb9dfae
fixed: osx compile errors from last commit
2014-02-28 13:06:25 +00:00
Nick Bolton
f3d542b2c3
fixed: linux compile errors from last checkin
2014-02-28 12:55:14 +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
8d6a44d1b7
fixed: osx106 warnings
2014-02-26 15:53:28 +00:00
Nick Bolton
228befdc2c
fixed: code was not gnuc 4.2 compatible
2014-02-25 19:10:54 +00:00
Nick Bolton
c44971b43d
fixed: warnings on mac os x
2014-02-25 15:03:43 +00:00
Nick Bolton
75d2c5abf1
fixed: nothing happens on osx 10.6
2014-02-17 19:38:26 +00:00
Nick Bolton
98f8a12425
fixed: watchdog keeps showing backoff message even if no command to run.
2014-02-07 18:04:25 +00:00
Nick Bolton
af51454e98
fixed: garbage drop target on windows when elevated.
2014-02-07 18:03:56 +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
39a2ecbd8f
fixed: drag and drop error on mavericks - never create your own instance of NSApplication\!
2014-02-07 14:53:17 +00:00
Nick Bolton
88a84b6f04
fixed: drag and drop crashes windows - reintroduced empty function to stop not impl exception.
2014-02-07 14:23:17 +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
a573a44842
make sure synwinxt.dll can only be loaded on vista and above
2014-01-28 16:44:01 +00:00
Nick Bolton
3d963bfbe7
possible fix for mavericks
2014-01-24 17:53:03 +00:00
jerry
a610012fb4
patch by Jack Zhou and Henry Tung to fix alt tab not working on windows 8 (Issue# 3338).
2013-10-30 13:49:40 +00:00
Nick Bolton
64c7a01ebb
fixed: synergys crashes on exit.
2013-10-16 15:38:36 +00:00
Nick Bolton
2520bf4773
fixed: gui "start" button visible even though server/client is running.
2013-10-16 15:30:42 +00:00
Nick Bolton
658a3e3e8f
- made windows gui service only (removed desktop mode).
...
- changed watchdog to only launch if it has a command.
2013-10-15 15:46:02 +00:00
Nick Bolton
d09ee887d8
renamed CMSWindowsRelauncher to CMSWindowsWatchdog
2013-10-14 17:15:03 +00:00
Nick Bolton
499cd47e63
- fixed: process should shut down when command is empty.
...
- fixed: when command was empty quotes ("") daemon crashed.
2013-10-14 17:10:51 +00:00
Nick Bolton
79ab428454
refactored windows service "relauncher" (process watchdog), so that it's easier to understand.
2013-10-14 16:29:02 +00:00
jerry
b9016bc1ae
- encapsulated Windows session
...
- fixed code style
2013-10-10 16:06:13 +00:00
jerry
10b9b2e406
added null point handling for get dragging file directory.
2013-09-26 11:34:21 +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
8301d50ab7
fixed drop target dir out of date
2013-09-25 13:11:19 +00:00
jerry
fd0f5e1db2
disabled drag and drop feature if there is no --enable-drag-drop cmd arg
2013-09-25 12:37:27 +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
95ece5ac2c
fixed Mac server keeps crashing during launch
2013-09-25 10:44:09 +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