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 Aug 08, 2016
Jerry (Xinyu Hou)
Jerry (Xinyu Hou)
XinyuHou and Jerry (Xinyu Hou)
Xinyu Hou (Jerry) Jerry (Xinyu Hou)
Xinyu Hou (Jerry) and Jerry (Xinyu Hou)
Andrew Nelless Jerry (Xinyu Hou)
Andrew Nelless and Jerry (Xinyu Hou)
Jerry (Xinyu Hou)
Jerry (Xinyu Hou)
Commits on Aug 09, 2016
Commits on Sep 26, 2016
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 16, 2016
Commits on Nov 17, 2016
Commits on Nov 18, 2016
Showing with 1,790 additions and 1,446 deletions.
  1. +1 −2 .github/ISSUE_TEMPLATE.md
  2. +3 −0 .gitignore
  3. +39 −4 CMakeLists.txt
  4. +17 −11 ChangeLog
  5. BIN ext/bonjour/x64/dnssd.dll
  6. BIN ext/bonjour/x64/libdnssd.a
  7. +34 −26 ext/toolchain/commands1.py
  8. +0 −15 res/dpiaware.manifest
  9. BIN res/synergy.ico
  10. +1 −33 src/CMakeLists.txt
  11. +4 −1 src/cmd/CMakeLists.txt
  12. +11 −10 src/cmd/synergyc/CMakeLists.txt
  13. +3 −12 src/cmd/synergyd/CMakeLists.txt
  14. +15 −5 src/cmd/synergyp/CMakeLists.txt
  15. +11 −10 src/cmd/synergys/CMakeLists.txt
  16. +15 −5 src/cmd/syntool/CMakeLists.txt
  17. +25 −9 src/gui/gui.pro
  18. +43 −44 src/gui/res/AboutDialogBase.ui
  19. +66 −76 src/gui/res/ActivationDialog.ui
  20. +1 −1 src/gui/res/CancelActivationDialog.ui
  21. +52 −1 src/gui/res/MainWindowBase.ui
  22. +1 −1 src/gui/res/ServerConfigDialogBase.ui
  23. BIN src/gui/res/icons/256x256/synergy.ico
  24. BIN src/gui/res/image/about.png
  25. +70 −113 src/gui/src/ActivationDialog.cpp
  26. +7 −8 src/gui/src/ActivationDialog.h
  27. +20 −1 src/gui/src/ActivationNotifier.cpp
  28. +7 −1 src/gui/src/ActivationNotifier.h
  29. +27 −28 src/gui/src/AppConfig.cpp
  30. +16 −13 src/gui/src/AppConfig.h
  31. +18 −21 src/gui/src/CoreInterface.cpp
  32. +4 −4 src/gui/src/CoreInterface.h
  33. +163 −0 src/gui/src/LicenseManager.cpp
  34. +52 −0 src/gui/src/LicenseManager.h
  35. +172 −45 src/gui/src/MainWindow.cpp
  36. +18 −7 src/gui/src/MainWindow.h
  37. +0 −17 src/gui/src/QUtility.cpp
  38. +0 −1 src/gui/src/QUtility.h
  39. +3 −3 src/gui/src/SettingsDialog.cpp
  40. +1 −1 src/gui/src/SetupWizard.cpp
  41. +0 −167 src/gui/src/SubscriptionManager.cpp
  42. +0 −47 src/gui/src/SubscriptionManager.h
  43. +8 −5 src/gui/src/main.cpp
  44. +1 −1 src/lib/CMakeLists.txt
  45. +0 −1 src/lib/arch/unix/ArchInternetUnix.cpp
  46. +19 −49 src/lib/arch/win32/ArchSystemWindows.cpp
  47. +0 −2 src/lib/common/MacOSXPrecomp.h
  48. +4 −4 src/lib/net/CMakeLists.txt
  49. +1 −8 src/lib/net/IListenSocket.h
  50. +0 −11 src/lib/net/SecureListenSocket.cpp
  51. +0 −1 src/lib/net/SecureListenSocket.h
  52. +0 −1 src/lib/net/TCPListenSocket.h
  53. +1 −1 src/lib/platform/CMakeLists.txt
  54. +2 −1 src/lib/platform/OSXClipboard.cpp
  55. +14 −14 src/lib/{synergy/SubscriptionKey.h → platform/OSXMediaKeySimulator.h}
  56. +92 −0 src/lib/platform/OSXMediaKeySimulator.m
  57. +2 −0 src/lib/platform/OSXScreen.h
  58. +19 −30 src/lib/platform/{OSXScreen.cpp → OSXScreen.mm}
  59. +2 −0 src/lib/server/CMakeLists.txt
  60. +0 −10 src/lib/server/ClientListener.cpp
  61. +0 −2 src/lib/server/ClientListener.h
  62. +32 −28 src/lib/server/Server.cpp
  63. +3 −2 src/lib/server/Server.h
  64. +32 −0 src/lib/shared/CMakeLists.txt
  65. +5 −5 src/{gui/src → lib/shared}/EditionType.h
  66. +264 −0 src/lib/shared/SerialKey.cpp
  67. +84 −0 src/lib/shared/SerialKey.h
  68. +23 −41 src/lib/synergy/ArgParser.cpp
  69. +1 −1 src/lib/synergy/ServerApp.cpp
  70. +1 −0 src/lib/synergy/ServerArgs.cpp
  71. +4 −2 src/lib/synergy/ServerArgs.h
  72. +0 −199 src/lib/synergy/SubscriptionManager.cpp
  73. +0 −55 src/lib/synergy/SubscriptionManager.h
  74. +24 −40 src/lib/synergy/ToolApp.cpp
  75. +1 −1 src/lib/synergy/ToolApp.h
  76. +1 −5 src/lib/synergy/ToolArgs.cpp
  77. +1 −5 src/lib/synergy/ToolArgs.h
  78. +4 −8 src/lib/synergy/win32/AppUtilWindows.cpp
  79. +6 −2 src/lib/synwinhk/CMakeLists.txt
  80. +11 −11 src/lib/synwinhk/synwinhk.cpp
  81. +6 −3 src/setup/win32/Include.wxi
  82. +16 −10 src/setup/win32/Product.wxs
  83. +6 −5 src/setup/win32/synergy.sln
  84. +2 −2 src/setup/win32/synergy.wixproj
  85. +28 −20 src/test/integtests/net/NetworkTests.cpp
  86. +1 −1 src/test/unittests/CMakeLists.txt
  87. +147 −0 src/test/unittests/shared/SerialKeyTests.cpp
  88. +2 −2 src/test/unittests/synergy/ServerArgsParsingTests.cpp
  89. +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 ;)
View
@@ -1,7 +1,10 @@
config.h
+.DS_Store
*.pyc
+*.o
*~
\.*.swp
+*build-gui-Desktop_Qt*
/bin
/lib
/build
View
@@ -16,9 +16,9 @@
# Version number for Synergy
set(VERSION_MAJOR 1)
-set(VERSION_MINOR 8)
-set(VERSION_REV 4)
-set(VERSION_STAGE stable)
+set(VERSION_MINOR 9)
+set(VERSION_REV 0)
+set(VERSION_STAGE beta)
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}")
cmake_minimum_required(VERSION 2.6)
@@ -296,7 +296,7 @@ if (UNIX)
set(HAVE_SOCKLEN_T 1)
# For config.h, save the results based on a template (config.h.in).
- configure_file(res/config.h.in ${root_dir}/config.h)
+ configure_file(res/config.h.in ${root_dir}/synergy/config.h)
add_definitions(-DSYSAPI_UNIX=1 -DHAVE_CONFIG_H)
@@ -315,6 +315,7 @@ else() # not-unix
/D_WINDOWS
/D_CRT_SECURE_NO_WARNINGS
/DVERSION=\"${VERSION}\"
+ /D_XKEYCHECK_H
)
if (MSVC_VERSION EQUAL 1600)
@@ -326,6 +327,38 @@ else() # not-unix
endif()
+if (WIN32)
+ if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(OPENSSL_PLAT_DIR openssl-win64)
+ else()
+ set(OPENSSL_PLAT_DIR openssl-win32)
+ endif()
+ set(OPENSSL_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/inc32)
+endif()
+
+if (APPLE)
+ set(OPENSSL_PLAT_DIR openssl-osx)
+ set(OPENSSL_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/include)
+endif()
+
+if (WIN32)
+ set(OPENSSL_LIBS
+ ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/out32dll/libeay32.lib
+ ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/out32dll/ssleay32.lib
+ )
+endif()
+
+if (UNIX)
+ if (APPLE)
+ set(OPENSSL_LIBS
+ ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/libssl.a
+ ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/libcrypto.a
+ )
+ else()
+ set(OPENSSL_LIBS ssl crypto)
+ endif()
+endif()
+
add_subdirectory(src)
if (WIN32)
@@ -363,3 +396,5 @@ if (CONF_DOXYGEN)
configure_file(${cmake_dir}/doxygen.cfg.in ${doc_dir}/doxygen.cfg)
endif()
+
+option(BUILD_SERVICE "Build synergyd" ON)
View
@@ -1,16 +1,22 @@
-v1.8.4-stable
+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
Binary file not shown.
View
Binary file not shown.
View
@@ -34,7 +34,7 @@ class Toolchain:
# options used by all commands
globalOptions = 'v'
- globalOptionsLong = ['no-prompts', 'verbose', 'skip-gui', 'skip-core']
+ globalOptionsLong = ['no-prompts', 'verbose', 'skip-gui', 'skip-core', 'skip-tests']
# list of valid commands as keys. the values are optarg strings, but most
# are None for now (this is mainly for extensibility)
@@ -208,8 +208,8 @@ class InternalCommands:
qmake_cmd = 'qmake'
make_cmd = 'make'
xcodebuild_cmd = 'xcodebuild'
- w32_make_cmd = 'mingw32-make'
- w32_qt_version = '4.6.2'
+ w32_make_cmd = 'nmake'
+ w32_qt_version = '5.6.1'
defaultTarget = 'release'
cmake_dir = 'res'
@@ -240,6 +240,9 @@ class InternalCommands:
# by default, compile the gui
enableMakeGui = True
+
+ # by default, compile the tests
+ enableMakeTests = True
# by default, unknown
macSdk = None
@@ -254,13 +257,15 @@ class InternalCommands:
gmockDir = 'gmock-1.6.0'
win32_generators = {
- 1 : VisualStudioGenerator('10'),
- 2 : VisualStudioGenerator('10 Win64'),
- 3 : VisualStudioGenerator('9 2008'),
- 4 : VisualStudioGenerator('9 2008 Win64'),
- 5 : VisualStudioGenerator('8 2005'),
- 6 : VisualStudioGenerator('8 2005 Win64')
- }
+ 1 : VisualStudioGenerator('14'),
+ 2 : VisualStudioGenerator('14 Win64'),
+ 3 : VisualStudioGenerator('10'),
+ 4 : VisualStudioGenerator('10 Win64'),
+ 5 : VisualStudioGenerator('9 2008'),
+ 6 : VisualStudioGenerator('9 2008 Win64'),
+ 7 : VisualStudioGenerator('8 2005'),
+ 8 : VisualStudioGenerator('8 2005 Win64'),
+ }
unix_generators = {
1 : MakefilesGenerator(),
@@ -430,16 +435,20 @@ 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.macSdk
+
cmake_args += " -DOSX_TARGET_MAJOR=" + macSdkMatch.group(1)
cmake_args += " -DOSX_TARGET_MINOR=" + macSdkMatch.group(2)
+
+ cmake_args += " -DDISABLE_TESTS=" + str(int(not self.enableMakeTests))
# if not visual studio, use parent dir
sourceDir = generator.getSourceDir()
@@ -551,6 +560,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
@@ -600,13 +610,12 @@ def persist_qmake(self):
print (
'Suggestions:\n'
'1. Ensure that qmake.exe exists in your system path.\n'
- '2. Try to download Qt (check our dev FAQ for links):\n'
- ' qt-sdk-win-opensource-2010.02.exe')
+ '2. Try to download Qt 5.6\n')
raise Exception('Cannot continue without qmake.')
stdout, stderr = p.communicate()
if p.returncode != 0:
- raise Exception('Could not test for cmake: %s' % stderr)
+ raise Exception('Could not test for qmake: %s' % stderr)
else:
m = re.search('.*Using Qt version (\d+\.\d+\.\d+).*', stdout)
if m:
@@ -757,12 +766,7 @@ def macPostGuiMake(self, target):
if err != 0:
raise Exception(bin + " failed with error: " + str(err))
- (qMajor, qMinor, qRev) = self.getQmakeVersion()
- if qMajor <= 4:
- frameworkRootDir = "/Library/Frameworks"
- else:
- # TODO: auto-detect, qt can now be installed anywhere.
- frameworkRootDir = "/Developer/Qt5.2.1/5.2.1/clang_64/lib"
+ frameworkRootDir = commands.getoutput("qmake -query QT_INSTALL_LIBS")
target = bundleTargetDir + "/Contents/Frameworks"
@@ -889,8 +893,8 @@ def cleanCore(self, targets):
generator = self.getGeneratorFromConfig().cmakeName
if generator.startswith('Visual Studio'):
- # special case for version 10, use new /target:clean
- if generator.startswith('Visual Studio 10'):
+ # special case for version 10 and above, use new /target:clean
+ if generator.startswith('Visual Studio 10') or generator.startswith('Visual Studio 14'):
for target in targets:
self.run_vcbuild(generator, target, self.sln_filepath(), '/target:clean')
@@ -1720,6 +1724,8 @@ def get_vcvarsall(self, generator):
value,type = _winreg.QueryValueEx(key, '9.0')
elif generator.startswith('Visual Studio 10'):
value,type = _winreg.QueryValueEx(key, '10.0')
+ elif generator.startswith('Visual Studio 14'):
+ value,type = _winreg.QueryValueEx(key, '14.0')
else:
raise Exception('Cannot determine vcvarsall.bat location for: ' + generator)
@@ -1762,7 +1768,7 @@ def run_vcbuild(self, generator, mode, solution, args='', dir='', config32='Win3
else:
config = 'Debug'
- if generator.startswith('Visual Studio 10'):
+ if generator.startswith('Visual Studio 10') or generator.startswith('Visual Studio 14'):
cmd = ('@echo off\n'
'call "%s" %s \n'
'cd "%s"\n'
@@ -1885,6 +1891,8 @@ def __init__(self, argv, opts, args, verbose):
self.ic.enableMakeGui = False
elif o == '--skip-core':
self.ic.enableMakeCore = False
+ elif o == '--skip-tests':
+ self.ic.enableMakeTests = False
elif o in ('-d', '--debug'):
self.build_targets += ['debug',]
elif o in ('-r', '--release'):
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.
View
@@ -14,42 +14,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if (WIN32)
- if(CMAKE_SIZEOF_VOID_P EQUAL 8)
- set(OPENSSL_PLAT_DIR openssl-win64)
- else()
- set(OPENSSL_PLAT_DIR openssl-win32)
- endif()
- set(OPENSSL_INCLUDE ${CMAKE_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/inc32)
-endif()
-
-if (APPLE)
- set(OPENSSL_PLAT_DIR openssl-osx)
- set(OPENSSL_INCLUDE ${CMAKE_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/include)
-endif()
-
-if (WIN32)
- set(OPENSSL_LIBS
- ${CMAKE_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/out32dll/libeay32.lib
- ${CMAKE_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/out32dll/ssleay32.lib
- )
-endif()
-
-if (UNIX)
- if (APPLE)
- set(OPENSSL_LIBS
- ${CMAKE_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/libssl.a
- ${CMAKE_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/libcrypto.a
- )
- else()
- set(OPENSSL_LIBS ssl crypto)
- endif()
-endif()
-
add_subdirectory(lib)
add_subdirectory(cmd)
add_subdirectory(micro)
-if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "IRIX")
+if ((NOT ${CMAKE_SYSTEM_NAME} MATCHES "IRIX") AND (NOT ${DISABLE_TESTS}))
add_subdirectory(test)
endif()
View
@@ -16,10 +16,13 @@
add_subdirectory(synergyc)
add_subdirectory(synergys)
-add_subdirectory(synergyd)
add_subdirectory(usynergy)
add_subdirectory(syntool)
+if (BUILD_SERVICE)
+ add_subdirectory(synergyd)
+endif (BUILD_SERVICE)
+
if (WIN32)
add_subdirectory(synergyp)
endif()
@@ -61,17 +61,18 @@ target_link_libraries(synergyc
arch base client common io mt net ipc platform server synergy ${libs} ${OPENSSL_LIBS})
if (WIN32)
- ADD_CUSTOM_COMMAND(
+ 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..."
+ COMMAND xcopy /Y /Q
+ ..\\..\\..\\..\\..\\synergy\\bin\\${CMAKE_CFG_INTDIR}\\synergyc.*
+ ..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
)
-endif()
-
-if (CONF_CPACK)
- install(TARGETS
- synergyc
- COMPONENT core
- DESTINATION bin)
+else ()
+ if (CONF_CPACK)
+ install(TARGETS
+ synergyc
+ COMPONENT core
+ DESTINATION bin)
+ endif()
endif()
Oops, something went wrong.

No commit comments for this range