This repository has been archived by the owner. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a Base Repository
symless/synergy-core
brahma-dev/synergy-stable-builds
Albicorp/synergy
AwesomeDoesIt/synergy
Bakalchuk/synergy
BogdanLivadariu/synergy
BorisChiou/synergy
Charcol/synergy
Coolred/synergy
Craigk109/synergy
DALDEI/synergy
DavidST44/synergy
DiegoSousa/synergy
DonnaWuDongxia/synergy
Dracophoenix1/synergy
Flare183/synergy
HerrGrumps/synergy
HomeTheaterOperatingSystem/synergy-core
Independent-Scientist/synergy
JaapSuter/synergy
JimDu/synergy
Joiningss/synergy
JoshMcCullough/synergy
KentVu/synergy
Lesthat/synergy
LiangChen0322/synergy
MarceColl/synergy
Mebus/synergy
MikeKnieriem/synergy
Nihil7354/synergy
OrangeUtan/synergy-stable-builds
ProjectLeaf/synergy
RaccoonTeam/synergy
RafalXXL/synergy
SeniorCoder1025/synergy
Sevea/synergy-1
SheaReinke/synergy
Toasterfist/synergy
UIKit0/synergy
Werror/synergy
Wkryst/synergy
XelaRellum/synergy
ahwagner/synergy
aladagli/synergy
alancapc/synergy
alex-deng/synergy
alexzzp/synergy
amitkr/synergy
andyesi/synergy
anthraxx/synergyunfuck
artisdom/synergy
artiya4u/synergy
astamatix/synergy
austin-laney/synergy
axela74/synergy
ballifatih/synergy
barisi/synergy
beedz/synergy
blnk2007/synergy
caramis/synergy
carballude/synergy
cardonator/synergy
carlosfvp/synergy
carstenlaengerer/synergy
cchwann/synergy
changdongsheng/synergy
chaomengnan/synergy
chedlin/synergy
chengguangnan/synergy
cjliu20152/synergy
clonkymonk/synergy
cribe78/synergy
dannon/synergy
darongE/synergy
davidchanff/synergy
dcrum/synergy
debauchee/barrier
deliangyang/synergy
dguerri/synergy
dijkstraj/synergy
divegeek/synergy
dpereira/synergy
dpolivy/synergy
duboisp/synergy
eaglecomp01/synergy
edwardsp/synergy
elitvinenko/synergy
fashioncj/synergy
fatdollar/synergy
fc205/synergy
feng-ye/synergy
fenggao86/synergy
fernandodeperto/synergy
frank-emrich/synergy
frankmanzhu/synergy
fuckobama/synergy
funixfu/synergy
fuzhuo/synergy
galkinvv/synergy
ghostreiter/synergy
gitscrubz/synergy
gtorressfdc/synergy
guangyue/synergy
hanks42/synergy
hanoseok/synergy
hcxiong/synergy
heathschweitzer/synergy
helkanen/synergy
hifi-dd/synergy
hoaluvn/synergy
hyei/synergy
iamcxa/synergy
ichengde/synergy
inche-ali/synergy
itchanges/synergy
iurnah/synergy
jcoming/synergy
jpmcmu/synergy
jpwhiting/synergy
julian-amaya/synergy
kaixinsoft/synergy
karolw/synergy
kash4kev/synergy
kellyhuberty/synergy
kissfu/synergy
kmrbrierley/synergy
ko7m/synergy
liuhuimin/synergy
lookat119/synergy
lukeqsun/synergy
makaanneo/synergy-1
margaritis/synergy
mcamiano/synergy
mcanthony/synergy
md11235/synergy
meowfaceman/synergy
midnite8177/synergy
moben/synergy
moodboom/synergy
museroom/synergy
neilmayhew/synergy
neuroradiology/synergy
nmadhok/synergy
noital/synergy
nyetwurk/synergy
ommokazza/synergy
onlymee/synergy
pdecat/synergy
peteo/synergy-stable-builds
phackss/synergy
piboye/synergy
ptg001/synergy
qbektrix/synergy
rajserc/synergy
ralluri/synergy
rmagnuson/synergy
saburahu/synergy
saiksy/synergy
sami1971/synergy
sarvex/synergy
scorpblog/synergy
sebpardo/synergy
serenemoon/synergy
shanesims/synergy
sharkpp/synergy
shaunliz/synergy
shawnanastasio/synergy
sl1pm4t/synergy
smittex/synergy
solokacher/synergy
songei/synergy-core
spurin/synergy
stelonix/synergy
stipid/synergy
terry2010/synergy
the-wes/synergy
thesoftwarejedi/synergy
timmui/synergy
tpraturi/synergy
utwodownson/synergy
vaginessa/synergy
whereyougo/synergy
willleslie/synergy
wjcsharp/synergy
wolrah/synergy
xiaoping378/synergy
xiyuanHou/synergy
xuerik/synergy
yajun0601/synergy
yangchengwork/synergy
yarec/synergy
ylluminate/synergy
yucheng82/synergy
yulin0629/synergy
yupi2/synergy
yyppaag/synergy
zbrode/synergy
zdndanny/synergy
zengyijie/synergy
zhanglongqi/synergy
Nothing to show
...
Choose a Head Repository
symless/synergy-core
brahma-dev/synergy-stable-builds
Albicorp/synergy
AwesomeDoesIt/synergy
Bakalchuk/synergy
BogdanLivadariu/synergy
BorisChiou/synergy
Charcol/synergy
Coolred/synergy
Craigk109/synergy
DALDEI/synergy
DavidST44/synergy
DiegoSousa/synergy
DonnaWuDongxia/synergy
Dracophoenix1/synergy
Flare183/synergy
HerrGrumps/synergy
HomeTheaterOperatingSystem/synergy-core
Independent-Scientist/synergy
JaapSuter/synergy
JimDu/synergy
Joiningss/synergy
JoshMcCullough/synergy
KentVu/synergy
Lesthat/synergy
LiangChen0322/synergy
MarceColl/synergy
Mebus/synergy
MikeKnieriem/synergy
Nihil7354/synergy
OrangeUtan/synergy-stable-builds
ProjectLeaf/synergy
RaccoonTeam/synergy
RafalXXL/synergy
SeniorCoder1025/synergy
Sevea/synergy-1
SheaReinke/synergy
Toasterfist/synergy
UIKit0/synergy
Werror/synergy
Wkryst/synergy
XelaRellum/synergy
ahwagner/synergy
aladagli/synergy
alancapc/synergy
alex-deng/synergy
alexzzp/synergy
amitkr/synergy
andyesi/synergy
anthraxx/synergyunfuck
artisdom/synergy
artiya4u/synergy
astamatix/synergy
austin-laney/synergy
axela74/synergy
ballifatih/synergy
barisi/synergy
beedz/synergy
blnk2007/synergy
caramis/synergy
carballude/synergy
cardonator/synergy
carlosfvp/synergy
carstenlaengerer/synergy
cchwann/synergy
changdongsheng/synergy
chaomengnan/synergy
chedlin/synergy
chengguangnan/synergy
cjliu20152/synergy
clonkymonk/synergy
cribe78/synergy
dannon/synergy
darongE/synergy
davidchanff/synergy
dcrum/synergy
debauchee/barrier
deliangyang/synergy
dguerri/synergy
dijkstraj/synergy
divegeek/synergy
dpereira/synergy
dpolivy/synergy
duboisp/synergy
eaglecomp01/synergy
edwardsp/synergy
elitvinenko/synergy
fashioncj/synergy
fatdollar/synergy
fc205/synergy
feng-ye/synergy
fenggao86/synergy
fernandodeperto/synergy
frank-emrich/synergy
frankmanzhu/synergy
fuckobama/synergy
funixfu/synergy
fuzhuo/synergy
galkinvv/synergy
ghostreiter/synergy
gitscrubz/synergy
gtorressfdc/synergy
guangyue/synergy
hanks42/synergy
hanoseok/synergy
hcxiong/synergy
heathschweitzer/synergy
helkanen/synergy
hifi-dd/synergy
hoaluvn/synergy
hyei/synergy
iamcxa/synergy
ichengde/synergy
inche-ali/synergy
itchanges/synergy
iurnah/synergy
jcoming/synergy
jpmcmu/synergy
jpwhiting/synergy
julian-amaya/synergy
kaixinsoft/synergy
karolw/synergy
kash4kev/synergy
kellyhuberty/synergy
kissfu/synergy
kmrbrierley/synergy
ko7m/synergy
liuhuimin/synergy
lookat119/synergy
lukeqsun/synergy
makaanneo/synergy-1
margaritis/synergy
mcamiano/synergy
mcanthony/synergy
md11235/synergy
meowfaceman/synergy
midnite8177/synergy
moben/synergy
moodboom/synergy
museroom/synergy
neilmayhew/synergy
neuroradiology/synergy
nmadhok/synergy
noital/synergy
nyetwurk/synergy
ommokazza/synergy
onlymee/synergy
pdecat/synergy
peteo/synergy-stable-builds
phackss/synergy
piboye/synergy
ptg001/synergy
qbektrix/synergy
rajserc/synergy
ralluri/synergy
rmagnuson/synergy
saburahu/synergy
saiksy/synergy
sami1971/synergy
sarvex/synergy
scorpblog/synergy
sebpardo/synergy
serenemoon/synergy
shanesims/synergy
sharkpp/synergy
shaunliz/synergy
shawnanastasio/synergy
sl1pm4t/synergy
smittex/synergy
solokacher/synergy
songei/synergy-core
spurin/synergy
stelonix/synergy
stipid/synergy
terry2010/synergy
the-wes/synergy
thesoftwarejedi/synergy
timmui/synergy
tpraturi/synergy
utwodownson/synergy
vaginessa/synergy
whereyougo/synergy
willleslie/synergy
wjcsharp/synergy
wolrah/synergy
xiaoping378/synergy
xiyuanHou/synergy
xuerik/synergy
yajun0601/synergy
yangchengwork/synergy
yarec/synergy
ylluminate/synergy
yucheng82/synergy
yulin0629/synergy
yupi2/synergy
yyppaag/synergy
zbrode/synergy
zdndanny/synergy
zengyijie/synergy
zhanglongqi/synergy
Nothing to show
Commits on Sep 10, 2015
Update mac directions to not require a root user
I updated the directions such that a clear installation path is provided that does not require the direct use of root.
Commits on Nov 20, 2015
Commits on Oct 12, 2016
Commits on Oct 13, 2016
Commits on Oct 14, 2016
Commits on Oct 15, 2016
Commits on Oct 17, 2016
Commits on Oct 18, 2016
Commits on Oct 19, 2016
Commits on Oct 20, 2016
Commits on Oct 25, 2016
Commits on Oct 26, 2016
Commits on Oct 28, 2016
Commits on Oct 31, 2016
Commits on Nov 01, 2016
Commits on Nov 02, 2016
Commits on Nov 03, 2016
Commits on Nov 11, 2016
Commits on Nov 22, 2016
Commits on Dec 05, 2016
Commits on Dec 06, 2016
Commits on Dec 07, 2016
Commits on Dec 12, 2016
Commits on Dec 28, 2016
Commits on Jan 18, 2017
Commits on Jan 19, 2017
Commits on Jan 21, 2017
Commits on Jan 25, 2017
#4477 Only allow mouse buttons 1-10 for XTestFakeButtons call.
These are the only valid ones:
[~]>for i in `seq 0 1 11`; do echo Testing $i; xte "mouseclick $i"; done
Testing 0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  132 (XTEST)
  Minor opcode of failed request:  2 (X_XTestFakeInput)
  Value in failed request:  0x0
  Serial number of failed request:  12
  Current serial number in output stream:  15
Testing 1
Testing 2
Testing 3
Testing 4
Testing 5
Testing 6
Testing 7
Testing 8
Testing 9
Testing 10
Testing 11
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  132 (XTEST)
  Minor opcode of failed request:  2 (X_XTestFakeInput)
  Value in failed request:  0xb
  Serial number of failed request:  12

And there are mice out there where buttons 11+ can be pressed accidentally,
terminating the synergy client and often leaving the system in a bad state.
#3992 macOS: Dragging broken in Unity
OSXScreen was not adding mouse movement deltas to mouse events while
dragging. Some 3D applications rely on these deltas to implement
dragging. Adding the mouse deltas to the mouse event fixes dragging in
these applications. Ex: Unity3d
#5578 Virtual key table mapped for inactive IMEs
Virtual key table is mapped for all IMEs not just active IME.

And this causes the wrong modifier key to be pressed. For example, if you use Korean and Japanese IMEs, pressing the Hangul key makes alt key pressed. So when I press just 'a', client interprets that as 'alt-a'.
Commits on Jan 31, 2017
Commits on Feb 06, 2017
XRandR: fix screen size calculation
XWindowsScreen::saveShape() using XRRSizes / XRRRotations to
calculate screen dimensions when XRandR and a rotated screen
was detected. This is wrong. The screen dimensions in the
display properties already reflect rotation.

Moreover, on servers supporting XRandR >= 1.2, the XRRSizes()
and XRRRotations calls from XRandR 1.1 will return the
properties of the "primary output" in XRandR 1.2 terms rather than
the properties of the entire screen.
Commits on Feb 12, 2017
Commits on Mar 03, 2017
Showing with 1,833 additions and 1,706 deletions.
  1. +3 −2 .github/ISSUE_TEMPLATE.md
  2. +3 −0 .gitignore
  3. +1 −6 CMakeLists.txt
  4. +45 −11 ChangeLog
  5. +3 −3 doc/MacReadme.txt
  6. +33 −11 ext/toolchain/commands1.py
  7. +0 −15 res/dpiaware.manifest
  8. BIN res/synergy.ico
  9. +0 −9 src/cmd/synergyc/CMakeLists.txt
  10. +3 −12 src/cmd/synergyd/CMakeLists.txt
  11. +0 −9 src/cmd/synergys/CMakeLists.txt
  12. +9 −6 src/gui/gui.pro
  13. +43 −44 src/gui/res/AboutDialogBase.ui
  14. +66 −76 src/gui/res/ActivationDialog.ui
  15. +1 −1 src/gui/res/CancelActivationDialog.ui
  16. +52 −1 src/gui/res/MainWindowBase.ui
  17. +1 −1 src/gui/res/ServerConfigDialogBase.ui
  18. +3 −1 src/gui/res/SettingsDialogBase.ui
  19. BIN src/gui/res/icons/256x256/synergy.ico
  20. BIN src/gui/res/image/about.png
  21. +2 −2 src/gui/res/lang/Languages.xml
  22. +26 −18 src/gui/res/mac/Info.plist
  23. +71 −113 src/gui/src/ActivationDialog.cpp
  24. +7 −8 src/gui/src/ActivationDialog.h
  25. +20 −1 src/gui/src/ActivationNotifier.cpp
  26. +7 −1 src/gui/src/ActivationNotifier.h
  27. +26 −27 src/gui/src/AppConfig.cpp
  28. +12 −10 src/gui/src/AppConfig.h
  29. +18 −21 src/gui/src/CoreInterface.cpp
  30. +4 −4 src/gui/src/CoreInterface.h
  31. +169 −0 src/gui/src/LicenseManager.cpp
  32. +53 −0 src/gui/src/LicenseManager.h
  33. +165 −61 src/gui/src/MainWindow.cpp
  34. +18 −7 src/gui/src/MainWindow.h
  35. +0 −16 src/gui/src/QUtility.cpp
  36. +0 −1 src/gui/src/QUtility.h
  37. +1 −1 src/gui/src/SettingsDialog.cpp
  38. +1 −1 src/gui/src/SetupWizard.cpp
  39. +0 −167 src/gui/src/SubscriptionManager.cpp
  40. +0 −47 src/gui/src/SubscriptionManager.h
  41. +12 −8 src/gui/src/main.cpp
  42. +1 −1 src/lib/CMakeLists.txt
  43. +3 −1 src/lib/arch/unix/ArchDaemonUnix.cpp
  44. +0 −1 src/lib/arch/unix/ArchInternetUnix.cpp
  45. +1 −1 src/lib/arch/unix/ArchSystemUnix.cpp
  46. +1 −1 src/lib/ipc/IpcClientProxy.cpp
  47. +1 −1 src/lib/ipc/IpcServerProxy.cpp
  48. +1 −8 src/lib/net/IListenSocket.h
  49. +0 −11 src/lib/net/SecureListenSocket.cpp
  50. +0 −1 src/lib/net/SecureListenSocket.h
  51. +0 −1 src/lib/net/TCPListenSocket.h
  52. +1 −1 src/lib/platform/CMakeLists.txt
  53. +24 −12 src/lib/platform/MSWindowsKeyState.cpp
  54. +1 −1 src/lib/platform/MSWindowsKeyState.h
  55. +16 −64 src/lib/platform/MSWindowsScreen.cpp
  56. +0 −7 src/lib/platform/MSWindowsScreen.h
  57. +1 −1 src/lib/platform/OSXClipboard.cpp
  58. +103 −65 src/lib/platform/OSXKeyState.cpp
  59. +6 −0 src/lib/platform/OSXKeyState.h
  60. +2 −0 src/lib/platform/OSXScreen.h
  61. +22 −5 src/lib/platform/{OSXScreen.cpp → OSXScreen.mm}
  62. +5 −24 src/lib/platform/XWindowsScreen.cpp
  63. +2 −0 src/lib/server/CMakeLists.txt
  64. +0 −10 src/lib/server/ClientListener.cpp
  65. +0 −2 src/lib/server/ClientListener.h
  66. +2 −2 src/lib/server/Config.cpp
  67. +75 −66 src/lib/server/Server.cpp
  68. +3 −2 src/lib/server/Server.h
  69. +32 −0 src/lib/shared/CMakeLists.txt
  70. +5 −5 src/{gui/src → lib/shared}/EditionType.h
  71. +264 −0 src/lib/shared/SerialKey.cpp
  72. +84 −0 src/lib/shared/SerialKey.h
  73. +37 −47 src/lib/synergy/ArgParser.cpp
  74. +1 −1 src/lib/synergy/ClipboardChunk.cpp
  75. +0 −53 src/lib/synergy/DpiHelper.cpp
  76. +0 −38 src/lib/synergy/DpiHelper.h
  77. +1 −1 src/lib/synergy/ServerApp.cpp
  78. +1 −0 src/lib/synergy/ServerArgs.cpp
  79. +4 −2 src/lib/synergy/ServerArgs.h
  80. +0 −30 src/lib/synergy/SubscriptionKey.h
  81. +0 −199 src/lib/synergy/SubscriptionManager.cpp
  82. +0 −55 src/lib/synergy/SubscriptionManager.h
  83. +24 −40 src/lib/synergy/ToolApp.cpp
  84. +1 −1 src/lib/synergy/ToolApp.h
  85. +1 −5 src/lib/synergy/ToolArgs.cpp
  86. +1 −5 src/lib/synergy/ToolArgs.h
  87. +4 −2 src/lib/synergy/key_types.h
  88. +1 −1 src/micro/uSynergy.h
  89. +15 −0 src/setup/win32/Product.wxs
  90. +28 −20 src/test/integtests/net/NetworkTests.cpp
  91. +21 −0 src/test/integtests/platform/MSWindowsKeyStateTests.cpp
  92. +1 −1 src/test/unittests/CMakeLists.txt
  93. +147 −0 src/test/unittests/shared/SerialKeyTests.cpp
  94. +9 −3 src/test/unittests/synergy/ClipboardChunkTests.cpp
  95. +0 −70 src/test/unittests/synergy/DpiHelperTests.cpp
  96. +2 −2 src/test/unittests/synergy/ServerArgsParsingTests.cpp
  97. +0 −114 src/test/unittests/synergy/SubscriptionTests.cpp
@@ -1,8 +1,7 @@
### Operating Systems ###
-Client: Applesoft Windy OS 10
-
Server: microOS Tiara
+Client: Applesoft Windy OS 10
**READ ME, DELETE ME**: On Windows, hold the Windows key and press 'r', type 'winver' and hit return to get your OS version. On Mac, hit the Apple menu (top left of the screen) and check 'About this Mac'. Linux users... you know what you're using ;)
@@ -28,4 +27,6 @@ Server: microOS Tiara
* Is there a way to work around it? No/Yes, you can...
* Does this bug prevent you from using Synergy entirely? Yes/No
+Please follow the link below to send us logs from both your server and client sides if it's appropriate. https://github.com/symless/synergy/wiki/Sending-logs
+
Put anything else you can think of here.
View
@@ -1,7 +1,10 @@
config.h
+.DS_Store
*.pyc
+*.o
*~
\.*.swp
+*build-gui-Desktop_Qt*
/bin
/lib
/build
View
@@ -17,7 +17,7 @@
# Version number for Synergy
set(VERSION_MAJOR 1)
set(VERSION_MINOR 8)
-set(VERSION_REV 4)
+set(VERSION_REV 8)
set(VERSION_STAGE stable)
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}")
@@ -74,11 +74,6 @@ endif()
# Depending on the platform, pass in the required defines.
if (UNIX)
-
- # warnings as errors:
- # we have a problem with people checking in code with warnings.
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wno-unused-local-typedef")
-
if (NOT APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
endif()
View
@@ -1,16 +1,50 @@
-v1.8.4-stable
+v1.8.8
+==========
+Bug #5196 - Some keys on Korean and Japanese keyboards have the same keycode
+Bug #5578 - Pressing Hangul key results in alt+'a'
+Bug #5785 - Can't switch screens when cursor is in a corner
+Bug #3992 - macOS: Dragging is broken in Unity 3D
+Bug #5075 - macOS: Build fails on macOS 10.9 due to unknown compiler flag
+Bug #5809 - macOS: No version number is shown in the App Info dialog
+Bug #3197 - Linux: switchDoubleTap option is not working
+Bug #4477 - Linux: Mouse buttons higher than id 10 result in crash
+Bug #5832 - Linux: Screen size misdetected on multi-monitor display
+Enhancement #4504 - Improved Korean language description
+Enhancement #5525 - Added support for precise screen positioning in config file
+Enhancement #4290 - Windows: Removed annoying alt+print screen functionality
+
+v1.8.7-stable
+=============
+Bug #5784 - Edition changes when reopening GUI
+
+v1.8.6-stable
=============
+Bug #5592 - Some keys don't work for macOS Sierra clients
+Bug #5186 - Cursor stuck on client when using multi-DPI server
+Bug #5722 - Malformed serial key in registry will crash GUI on startup
+Bug #5752 - Tab order is incorrect on Settings dialog
+Enhancement #5699 - Unified installers on macOS
+Feature #4836 - macOS Sierra build
+
+v1.8.5-stable
+=============
+Bug #5680 - Server crashes when disconnecting SSL clients
+Bug #5626 - Build fails using Xcode 8 and macOS SDK 10.12
+Feature #5657 - Trial version support
+Feature #5707 - User upgrade statistics
-Bug #4041 UHD/4K DPI scaling broken on Windows servers
-Bug #4420 When XRandR adds a screen, it is inaccessible
-Bug #5603 Activation notification depends on existence of /etc/os-release
-Bug #5624 Update notification sometimes requests a downgrade
-Bug #5329 Current date is shown for build date in the about dialog
-Bug #5640 Synergy branding is inconsistent across platforms
-Enhancement #5617 Remove redundant plugin infrastructure
-Enhancement #5627 Move SSL certificate generation to main window
-Enhancement #5628 Move SSL implementation into core binary
-Enhancement #5629 Move activation from wizard into new dialog window
+v1.8.4-stable
+=============
+Bug #5183 - Slowly moving the cursor has no effect on high DPI clients
+Bug #4041 - UHD/4K DPI scaling broken on Windows servers
+Bug #4420 - When XRandR adds a screen, it is inaccessible
+Bug #5603 - Activation notification depends on existence of /etc/os-release
+Bug #5624 - Update notification sometimes requests a downgrade
+Bug #5329 - Current date is shown for build date in the about dialog
+Enhancement #5617 - Remove redundant plugin infrastructure
+Enhancement #5627 - Move SSL certificate generation to main window
+Enhancement #5628 - Move SSL implementation into core binary
+Enhancement #5629 - Move activation from wizard into new dialog window
v1.8.3-stable
=============
View
@@ -5,10 +5,10 @@ To install on Mac OS X with the .zip distribution (first seen in 1.3.6) you must
1. Extract the zip file to any location (usually double click will do this)
2. Open Terminal, and cd to the extracted directory (e.g. /Users/my-name/Downloads/extracted-dir/)
- 3. Change to super user (use the su command)
- 4. Copy the binaries to /usr/bin using: cp synergy* /usr/bin
+ 3. Copy the binaries to /usr/bin using: sudo cp synergy* /usr/bin
+ 4. Correct the permissions and ownership: sudo chown root:wheel /usr/bin/synergy*; sudo chmod 555 /usr/bin/synergy*
-How to enable the root user in Mac OS X:
+Alternatively, you can copy the binaries as root. How to enable the root user in Mac OS X:
http://support.apple.com/en-us/ht1528
Once the binaries have been copied to /usr/bin, you should follow the configuration guide:
View
@@ -41,7 +41,7 @@ class Toolchain:
cmd_opt_dict = {
'about' : ['', []],
'setup' : ['g:', ['generator=']],
- 'configure' : ['g:dr', ['generator=', 'debug', 'release', 'mac-sdk=', 'mac-identity=']],
+ 'configure' : ['g:dr', ['generator=', 'debug', 'release', 'mac-sdk=', 'mac-deploy=', 'mac-identity=']],
'build' : ['dr', ['debug', 'release']],
'clean' : ['dr', ['debug', 'release']],
'update' : ['', []],
@@ -244,6 +244,9 @@ class InternalCommands:
# by default, unknown
macSdk = None
+ # by default, unknown
+ macDeploy = None
+
# by default, unknown
macIdentity = None
@@ -306,7 +309,7 @@ def usage(self):
' genlist Shows the list of available platform generators\n'
' usage Shows the help screen\n'
'\n'
- 'Example: %s build -g 3'
+ 'Example: %s conf -g 3'
) % (app, app)
def configureAll(self, targets, extraArgs=''):
@@ -365,7 +368,7 @@ def configure(self, target='', extraArgs=''):
# ensure latest setup and do not ask config for generator (only fall
# back to prompt if not specified as arg)
self.ensure_setup_latest()
-
+
if sys.platform == "darwin":
config = self.getConfig()
@@ -374,6 +377,11 @@ def configure(self, target='', extraArgs=''):
elif config.has_option("hm", "macSdk"):
self.macSdk = config.get('hm', 'macSdk')
+ if self.macDeploy:
+ config.set('hm', 'macDeploy', self.macDeploy)
+ elif config.has_option("hm", "macDeploy"):
+ self.macSdk = config.get('hm', 'macDeploy')
+
if self.macIdentity:
config.set('hm', 'macIdentity', self.macIdentity)
elif config.has_option("hm", "macIdentity"):
@@ -383,7 +391,10 @@ def configure(self, target='', extraArgs=''):
if not self.macSdk:
raise Exception("Arg missing: --mac-sdk <version>");
-
+
+ if not self.macDeploy:
+ self.macDeploy = self.macSdk
+
if not self.macIdentity:
raise Exception("Arg missing: --mac-identity <name>");
@@ -430,14 +441,16 @@ def configureCore(self, target="", extraArgs=""):
if generator.cmakeName.find('Unix Makefiles') != -1:
cmake_args += ' -DCMAKE_BUILD_TYPE=' + target.capitalize()
- elif sys.platform == "darwin":
+ if sys.platform == "darwin":
macSdkMatch = re.match("(\d+)\.(\d+)", self.macSdk)
if not macSdkMatch:
raise Exception("unknown osx version: " + self.macSdk)
- sdkDir = self.getMacSdkDir()
- cmake_args += " -DCMAKE_OSX_SYSROOT=" + sdkDir
- cmake_args += " -DCMAKE_OSX_DEPLOYMENT_TARGET=" + self.macSdk
+ if generator.cmakeName.find('Unix Makefiles') == -1:
+ sdkDir = self.getMacSdkDir()
+ cmake_args += " -DCMAKE_OSX_SYSROOT=" + sdkDir
+ cmake_args += " -DCMAKE_OSX_DEPLOYMENT_TARGET=" + self.macDeploy
+
cmake_args += " -DOSX_TARGET_MAJOR=" + macSdkMatch.group(1)
cmake_args += " -DOSX_TARGET_MINOR=" + macSdkMatch.group(2)
@@ -496,8 +509,8 @@ def configureGui(self, target="", extraArgs=""):
sdkDir = self.getMacSdkDir()
shortForm = "macosx" + self.macSdk
version = str(major) + "." + str(minor)
-
- qmake_cmd_string += " QMAKE_MACOSX_DEPLOYMENT_TARGET=" + version
+
+ qmake_cmd_string += " QMAKE_MACOSX_DEPLOYMENT_TARGET=" + self.macDeploy
(qMajor, qMinor, qRev) = self.getQmakeVersion()
if qMajor <= 4:
@@ -551,6 +564,7 @@ def getMacSdkDir(self):
if os.path.exists(sdkPath):
return sdkPath
+ # return os.popen('xcodebuild -version -sdk macosx' + self.macSdk + ' Path').read().strip()
return "/Developer/SDKs/" + sdkDirName + ".sdk"
# http://tinyurl.com/cs2rxxb
@@ -653,6 +667,9 @@ def loadConfig(self):
if config.has_option("hm", "macSdk"):
self.macSdk = config.get("hm", "macSdk")
+
+ if config.has_option("hm", "macDeploy"):
+ self.macDeploy = config.get("hm", "macDeploy")
if config.has_option("hm", "macIdentity"):
self.macIdentity = config.get("hm", "macIdentity")
@@ -1840,7 +1857,10 @@ def getMacPackageName(self):
# version is major and minor with no dots (e.g. 106)
version = str(major) + str(minor)
- return "MacOSX%s-%s" % (version, arch)
+ if (self.macDeploy == self.macSdk):
+ return "MacOSX%s-%s" % (version, arch)
+ else:
+ return "MacOSX-%s" % arch
def reset(self):
if os.path.exists('build'):
@@ -1895,6 +1915,8 @@ def __init__(self, argv, opts, args, verbose):
self.qtDir = a
elif o == '--mac-sdk':
self.ic.macSdk = a
+ elif o == '--mac-deploy':
+ self.ic.macDeploy = a
elif o == '--mac-identity':
self.ic.macIdentity = a
View
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" manifestVersion="1.0">
- <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
- <application>
- <!-- Windows 7 -->
- <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
- </application>
- </compatibility>
- <asmv3:application>
- <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
- <dpiAware>true</dpiAware>
- </asmv3:windowsSettings>
- </asmv3:application>
-</assembly>
-
View
Binary file not shown.
@@ -60,15 +60,6 @@ add_executable(synergyc ${sources})
target_link_libraries(synergyc
arch base client common io mt net ipc platform server synergy ${libs} ${OPENSSL_LIBS})
-if (WIN32)
- ADD_CUSTOM_COMMAND(
- TARGET synergyc
- POST_BUILD
- COMMAND "mt.exe" -manifest \"${CMAKE_SOURCE_DIR}\\res\\dpiaware.manifest\" -inputresource:\"$<TARGET_FILE:synergyc>\"\;\#1 -outputresource:\"$<TARGET_FILE:synergyc>\"\;\#1
- COMMENT "Adding display aware manifest..."
- )
-endif()
-
if (CONF_CPACK)
install(TARGETS
synergyc
@@ -1,11 +1,11 @@
# synergy -- mouse and keyboard sharing utility
# Copyright (C) 2012-2016 Symless Ltd.
# Copyright (C) 2012 Nick Bolton
-#
+#
# This package is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# found in the file LICENSE that should have accompanied this file.
-#
+#
# This package is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -35,16 +35,7 @@ else()
endif()
target_link_libraries(synergyd
- arch base common io ipc mt net platform synergy ${libs} ${OPENSSL_LIBS})
-
-if (WIN32)
- ADD_CUSTOM_COMMAND(
- TARGET synergyd
- POST_BUILD
- COMMAND "mt.exe" -manifest \"${CMAKE_SOURCE_DIR}\\res\\dpiaware.manifest\" -inputresource:\"$<TARGET_FILE:synergyd>\"\;\#1 -outputresource:\"$<TARGET_FILE:synergyd>\"\;\#1
- COMMENT "Adding display aware manifest..."
- )
-endif()
+ arch base common io ipc mt net platform synergy shared ${libs} ${OPENSSL_LIBS})
if (CONF_CPACK)
install(TARGETS
@@ -60,15 +60,6 @@ add_executable(synergys ${sources})
target_link_libraries(synergys
arch base client common io mt net ipc platform server synergy ${libs} ${OPENSSL_LIBS})
-if (WIN32)
- ADD_CUSTOM_COMMAND(
- TARGET synergys
- POST_BUILD
- COMMAND "mt.exe" -manifest \"${CMAKE_SOURCE_DIR}\\res\\dpiaware.manifest\" -inputresource:\"$<TARGET_FILE:synergys>\"\;\#1 -outputresource:\"$<TARGET_FILE:synergys>\"\;\#1
- COMMENT "Adding display aware manifest..."
- )
-endif()
-
if (CONF_CPACK)
install(TARGETS
synergys
View
@@ -7,7 +7,8 @@ DEFINES += VERSION_REVISION=\\\"$$QMAKE_VERSION_REVISION\\\"
DEPENDPATH += . \
res
INCLUDEPATH += . \
- src
+ src \
+ ../lib/shared/
FORMS += res/MainWindowBase.ui \
res/AboutDialogBase.ui \
res/ServerConfigDialogBase.ui \
@@ -60,11 +61,12 @@ SOURCES += src/main.cpp \
src/Fingerprint.cpp \
src/SslCertificate.cpp \
src/WebClient.cpp \
- src/SubscriptionManager.cpp \
src/ActivationNotifier.cpp \
src/ActivationDialog.cpp \
src/CancelActivationDialog.cpp \
- src/FailedLoginDialog.cpp
+ src/FailedLoginDialog.cpp \
+ ../lib/shared/SerialKey.cpp \
+ src/LicenseManager.cpp
HEADERS += src/MainWindow.h \
src/AboutDialog.h \
src/ServerConfig.h \
@@ -101,18 +103,19 @@ HEADERS += src/MainWindow.h \
src/DataDownloader.h \
src/AddClientDialog.h \
src/CommandProcess.h \
- src/EditionType.h \
src/ProcessorArch.h \
src/CoreInterface.h \
src/Fingerprint.h \
src/SslCertificate.h \
src/WebClient.h \
- src/SubscriptionManager.h \
src/ActivationNotifier.h \
src/ElevateMode.h \
src/ActivationDialog.h \
src/CancelActivationDialog.h \
- src/FailedLoginDialog.h
+ src/FailedLoginDialog.h \
+ ../lib/shared/EditionType.h \
+ ../lib/shared/SerialKey.h \
+ src/LicenseManager.h
RESOURCES += res/Synergy.qrc
RC_FILE = res/win/Synergy.rc
macx {
Oops, something went wrong.

No commit comments for this range