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

Merge branch 'v1.8.5'

  • Loading branch information...
nlyan committed Oct 31, 2016
2 parents 1796150 + a18eba7 commit 6a7703f229f848129e474e6536ea5626d80abf09
Showing with 1,436 additions and 1,205 deletions.
  1. +3 −0 .gitignore
  2. +1 −1 CMakeLists.txt
  3. +17 −11 ChangeLog
  4. +7 −4 ext/toolchain/commands1.py
  5. BIN res/synergy.ico
  6. +3 −3 src/cmd/synergyd/CMakeLists.txt
  7. +9 −6 src/gui/gui.pro
  8. +43 −44 src/gui/res/AboutDialogBase.ui
  9. +66 −76 src/gui/res/ActivationDialog.ui
  10. +1 −1 src/gui/res/CancelActivationDialog.ui
  11. +52 −1 src/gui/res/MainWindowBase.ui
  12. +1 −1 src/gui/res/ServerConfigDialogBase.ui
  13. BIN src/gui/res/icons/256x256/synergy.ico
  14. BIN src/gui/res/image/about.png
  15. +70 −113 src/gui/src/ActivationDialog.cpp
  16. +7 −8 src/gui/src/ActivationDialog.h
  17. +20 −1 src/gui/src/ActivationNotifier.cpp
  18. +7 −1 src/gui/src/ActivationNotifier.h
  19. +25 −26 src/gui/src/AppConfig.cpp
  20. +12 −10 src/gui/src/AppConfig.h
  21. +18 −21 src/gui/src/CoreInterface.cpp
  22. +4 −4 src/gui/src/CoreInterface.h
  23. +163 −0 src/gui/src/LicenseManager.cpp
  24. +52 −0 src/gui/src/LicenseManager.h
  25. +165 −42 src/gui/src/MainWindow.cpp
  26. +18 −7 src/gui/src/MainWindow.h
  27. +0 −16 src/gui/src/QUtility.cpp
  28. +0 −1 src/gui/src/QUtility.h
  29. +1 −1 src/gui/src/SettingsDialog.cpp
  30. +1 −1 src/gui/src/SetupWizard.cpp
  31. +0 −167 src/gui/src/SubscriptionManager.cpp
  32. +0 −47 src/gui/src/SubscriptionManager.h
  33. +8 −5 src/gui/src/main.cpp
  34. +1 −1 src/lib/CMakeLists.txt
  35. +0 −1 src/lib/arch/unix/ArchInternetUnix.cpp
  36. +1 −8 src/lib/net/IListenSocket.h
  37. +0 −11 src/lib/net/SecureListenSocket.cpp
  38. +0 −1 src/lib/net/SecureListenSocket.h
  39. +0 −1 src/lib/net/TCPListenSocket.h
  40. +1 −1 src/lib/platform/CMakeLists.txt
  41. +1 −1 src/lib/platform/OSXClipboard.cpp
  42. +2 −0 src/lib/platform/OSXScreen.h
  43. +5 −4 src/lib/platform/{OSXScreen.cpp → OSXScreen.mm}
  44. +2 −0 src/lib/server/CMakeLists.txt
  45. +0 −10 src/lib/server/ClientListener.cpp
  46. +0 −2 src/lib/server/ClientListener.h
  47. +32 −28 src/lib/server/Server.cpp
  48. +3 −2 src/lib/server/Server.h
  49. +32 −0 src/lib/shared/CMakeLists.txt
  50. +5 −5 src/{gui/src → lib/shared}/EditionType.h
  51. +264 −0 src/lib/shared/SerialKey.cpp
  52. +84 −0 src/lib/shared/SerialKey.h
  53. +18 −35 src/lib/synergy/ArgParser.cpp
  54. +1 −1 src/lib/synergy/ServerApp.cpp
  55. +1 −0 src/lib/synergy/ServerArgs.cpp
  56. +4 −2 src/lib/synergy/ServerArgs.h
  57. +0 −30 src/lib/synergy/SubscriptionKey.h
  58. +0 −199 src/lib/synergy/SubscriptionManager.cpp
  59. +0 −55 src/lib/synergy/SubscriptionManager.h
  60. +24 −40 src/lib/synergy/ToolApp.cpp
  61. +1 −1 src/lib/synergy/ToolApp.h
  62. +1 −5 src/lib/synergy/ToolArgs.cpp
  63. +1 −5 src/lib/synergy/ToolArgs.h
  64. +28 −20 src/test/integtests/net/NetworkTests.cpp
  65. +1 −1 src/test/unittests/CMakeLists.txt
  66. +147 −0 src/test/unittests/shared/SerialKeyTests.cpp
  67. +2 −2 src/test/unittests/synergy/ServerArgsParsingTests.cpp
  68. +0 −114 src/test/unittests/synergy/SubscriptionTests.cpp
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 5)
set(VERSION_STAGE stable)
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}")
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
@@ -430,14 +430,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.macSdk
+
cmake_args += " -DOSX_TARGET_MAJOR=" + macSdkMatch.group(1)
cmake_args += " -DOSX_TARGET_MINOR=" + macSdkMatch.group(2)
@@ -551,6 +553,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
View
Binary file not shown.
@@ -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,7 +35,7 @@ else()
endif()
target_link_libraries(synergyd
- arch base common io ipc mt net platform synergy ${libs} ${OPENSSL_LIBS})
+ arch base common io ipc mt net platform synergy shared ${libs} ${OPENSSL_LIBS})
if (WIN32)
ADD_CUSTOM_COMMAND(
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 {
@@ -13,19 +13,25 @@
<x>0</x>
<y>0</y>
<width>450</width>
- <height>378</height>
+ <height>300</height>
</rect>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="minimumSize">
+ <size>
+ <width>450</width>
+ <height>300</height>
+ </size>
+ </property>
<property name="maximumSize">
<size>
<width>450</width>
- <height>378</height>
+ <height>300</height>
</size>
</property>
<property name="windowTitle">
@@ -35,20 +41,48 @@
<bool>true</bool>
</property>
<layout class="QGridLayout">
- <item row="0" column="1">
- <widget class="QLabel" name="label_2">
+ <item row="2" column="1" colspan="2">
+ <widget class="QLabel" name="label_3">
<property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="maximumSize">
+ <property name="text">
+ <string>&lt;p&gt;
+Keyboard and mouse sharing application. Cross platform and open source.&lt;br /&gt;&lt;br /&gt;
+Copyright © 2012-2016 Symless Ltd.&lt;br /&gt;
+Copyright © 2002-2012 Chris Schoeneman, Nick Bolton, Volker Lanz.&lt;br /&gt;&lt;br /&gt;
+Synergy is released under the GNU General Public License (GPLv2).&lt;br /&gt;&lt;br /&gt;
+Synergy is based on CosmoSynergy by Richard Lee and Adam Feder.&lt;br /&gt;
+The Synergy GUI is based on QSynergy by Volker Lanz.&lt;br /&gt;&lt;br /&gt;
+Visit our website for help and info (symless.com).
+&lt;/p&gt;</string>
+ </property>
+ <property name="margin">
+ <number>1</number>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1" colspan="2">
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Preferred</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
<size>
- <width>450</width>
- <height>16777215</height>
+ <width>20</width>
+ <height>100</height>
</size>
</property>
+ </spacer>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLabel" name="label_2">
<property name="text">
<string/>
</property>
@@ -163,41 +197,6 @@
</item>
</layout>
</item>
- <item row="2" column="1" colspan="2">
- <widget class="QLabel" name="label_3">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Keyboard and mouse sharing application. &lt;br/&gt;&lt;br/&gt;Copyright © 2012-2016 Symless Ltd.&lt;br/&gt;Copyright © 2002-2012 Chris Schoeneman, Nick Bolton, Volker Lanz.&lt;/p&gt;&lt;p&gt;Synergy is based on CosmoSynergy by Richard Lee and Adam Feder.&lt;br/&gt;The Synergy GUI is based on QSynergy by Volker Lanz. &lt;/p&gt;&lt;p&gt;Synergy is released under the GNU General Public License (GPLv2).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
- </property>
- <property name="wordWrap">
- <bool>false</bool>
- </property>
- <property name="margin">
- <number>1</number>
- </property>
- </widget>
- </item>
- <item row="3" column="1" colspan="2">
- <spacer>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Preferred</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>100</height>
- </size>
- </property>
- </spacer>
- </item>
</layout>
</widget>
<resources>
Oops, something went wrong.

0 comments on commit 6a7703f

Please sign in to comment.