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
brahma-dev/synergy-stable-builds
symless/synergy-core
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
brahma-dev/synergy-stable-builds
symless/synergy-core
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 branch
  • 7 commits
  • 6 files changed
  • 7 commit comments
  • 1 contributor
Commits on Mar 20, 2015
Create dns_sd.h
needed file pulled from

mDNSResponder-214.3.2
Update commands1.py
Josh McCullough changes to script to work also with Visual Studio 11 and 12.
Update Include.wxi
vc110 causing permissions problems
View
@@ -310,6 +310,8 @@ else() # not-unix
/DWIN32
/D_WINDOWS
/D_CRT_SECURE_NO_WARNINGS
+ /D_ALLOW_KEYWORD_MACROS
+ /D_XKEYCHECK_H
/DVERSION=\"${VERSION}\"
)
View
@@ -254,12 +254,18 @@ class InternalCommands:
gmockDir = 'gmock-1.6.0'
win32_generators = {
- 1 : Generator('Visual Studio 10'),
- 2 : Generator('Visual Studio 10 Win64'),
- 3 : Generator('Visual Studio 9 2008'),
- 4 : Generator('Visual Studio 9 2008 Win64'),
- 5 : Generator('Visual Studio 8 2005'),
- 6 : Generator('Visual Studio 8 2005 Win64')
+ 1 : Generator('Visual Studio 12'),
+ 2 : Generator('Visual Studio 12 Win64'),
+ 3 : Generator('Visual Studio 11'),
+ 4 : Generator('Visual Studio 11 Win64'),
+ 5 : Generator('Visual Studio 10'),
+ 6 : Generator('Visual Studio 10 Win64'),
+ 7 : Generator('Visual Studio 10'),
+ 8 : Generator('Visual Studio 10 Win64'),
+ 9 : Generator('Visual Studio 9 2008'),
+ 10: Generator('Visual Studio 9 2008 Win64'),
+ 11: Generator('Visual Studio 8 2005'),
+ 12: Generator('Visual Studio 8 2005 Win64')
}
unix_generators = {
@@ -463,6 +469,12 @@ def configureCore(self, target="", extraArgs=""):
if generator.cmakeName.find('Eclipse') != -1:
self.fixCmakeEclipseBug()
+
+ # only on osx 10.9 mavericks.
+ # manually change .xcodeproj to add code sign for
+ # synmacph project and specify its info.plist
+ if self.macSdk == "10.9" and generator.cmakeName.find('Xcode') != -1:
+ self.fixXcodeProject(target)
if err != 0:
raise Exception('CMake encountered error: ' + str(err))
@@ -564,6 +576,59 @@ def fixCmakeEclipseBug(self):
file.write(content)
file.truncate()
file.close()
+
+ def fixXcodeProject(self, target):
+ print "Fixing Xcode project..."
+
+ insertContent = (
+ "CODE_SIGN_IDENTITY = '%s';\n"
+ "INFOPLIST_FILE = %s/src/cmd/synmacph/Info.plist;\n") % (
+ self.macIdentity,
+ os.getcwd()
+ )
+
+ dir = self.getBuildDir(target)
+ file = open(dir + '/synergy.xcodeproj/project.pbxproj', 'r+')
+ contents = file.readlines()
+
+ buildConfigurationsFound = None
+ releaseConfigRefFound = None
+ releaseBuildSettingsFound = None
+ fixed = None
+ releaseConfigRef = "";
+
+ for line in contents:
+ if buildConfigurationsFound:
+ matchObj = re.search(r'\s*(.*)\s*\/\*\s*Release\s*\*\/,', line, re.I)
+ if matchObj:
+ releaseConfigRef = matchObj.group(1)
+ releaseConfigRefFound = True
+ break
+ elif buildConfigurationsFound == None:
+ if 'PBXNativeTarget "synmacph" */ = {' in line:
+ buildConfigurationsFound = True
+
+ if not releaseConfigRefFound:
+ raise Exception("Release config ref not found.")
+
+ for n, line in enumerate(contents):
+ if releaseBuildSettingsFound == None:
+ if releaseConfigRef + '/* Release */ = {' in line:
+ releaseBuildSettingsFound = True
+ elif fixed == None:
+ if 'buildSettings = {' in line:
+ contents[n] = line + insertContent
+ fixed = True
+
+ if not fixed:
+ raise Exception("Xcode project was not fixed.")
+
+ file.seek(0)
+ for line in contents:
+ file.write(line)
+ file.truncate()
+ file.close()
+ return
def persist_cmake(self):
# even though we're running `cmake --version`, we're only doing this for the 0 return
@@ -715,6 +780,49 @@ def makeGui(self, targets, args=""):
for target in targets:
self.macPostMake(target)
+ self.fixQtFrameworksLayout()
+
+ def symlink(self, source, target):
+ if not os.path.exists(target):
+ os.symlink(source, target)
+
+ def move(self, source, target):
+ if os.path.exists(source):
+ shutil.move(source, target)
+
+ def fixQtFrameworksLayout(self):
+ # reorganize Qt frameworks layout on Mac 10.9.5 or later
+ # http://goo.gl/BFnQ8l
+ # QtCore example:
+ # QtCore.framework/
+ # QtCore -> Versions/Current/QtCore
+ # Resources -> Versions/Current/Resources
+ # Versions/
+ # Current -> 5
+ # 5/
+ # QtCore
+ # Resources/
+ # Info.plist
+ dir = self.getGenerator().binDir
+ target = dir + "/Synergy.app/Contents/Frameworks"
+ (major, minor) = self.getMacVersion()
+ if major == 10:
+ if minor >= 9:
+ for root, dirs, files in os.walk(target):
+ for dir in dirs:
+ if dir.startswith("Qt"):
+ self.try_chdir(target + "/" + dir +"/Versions")
+ self.symlink("5", "Current")
+ self.move("../Resources", "5")
+ self.restore_chdir()
+
+ self.try_chdir(target + "/" + dir)
+ dot = dir.find('.')
+ frameworkName = dir[:dot]
+ self.symlink("Versions/Current/" + frameworkName, frameworkName)
+ self.symlink("Versions/Current/Resources", "Resources")
+ self.restore_chdir()
+
def macPostMake(self, target):
dir = self.getGenerator().binDir
@@ -729,25 +837,53 @@ def macPostMake(self, target):
shutil.copy(targetDir + "/synergys", bundleBinDir)
shutil.copy(targetDir + "/syntool", bundleBinDir)
- if self.enableMakeGui:
-
- self.loadConfig()
- if not self.macIdentity:
- raise Exception("run config with --mac-identity")
+ if self.macSdk == "10.9":
+ launchServicesDir = dir + "/Synergy.app/Contents/Library/LaunchServices/"
+ if not os.path.exists(launchServicesDir):
+ os.makedirs(launchServicesDir)
+ shutil.copy(targetDir + "/synmacph", launchServicesDir)
+ if self.enableMakeGui:
# use qt to copy libs to bundle so no dependencies are needed. do not create a
# dmg at this point, since we need to sign it first, and then create our own
# after signing (so that qt does not affect the signed app bundle).
- bin = "macdeployqt Synergy.app -verbose=2 -codesign='" + self.macIdentity + "'"
+ bin = "macdeployqt Synergy.app -verbose=2"
self.try_chdir(dir)
err = os.system(bin)
self.restore_chdir()
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"
+
+ target = dir + "/Synergy.app/Contents/Frameworks"
+
+ # copy the missing Info.plist files for the frameworks.
+ for root, dirs, files in os.walk(target):
+ for dir in dirs:
+ if dir.startswith("Qt"):
+ shutil.copy(
+ frameworkRootDir + "/" + dir + "/Contents/Info.plist",
+ target + "/" + dir + "/Resources/")
def signmac(self):
- print "signmac is now obsolete"
+ self.loadConfig()
+ if not self.macIdentity:
+ raise Exception("run config with --mac-identity")
+
+ self.try_chdir("bin")
+ err = os.system(
+ 'codesign --deep -fs "' + self.macIdentity + '" Synergy.app')
+ self.restore_chdir()
+
+ if err != 0:
+ raise Exception("codesign failed with error: " + str(err))
def signwin(self, pfx, pwdFile, dist):
generator = self.getGeneratorFromConfig().cmakeName
@@ -809,7 +945,7 @@ def cleanCore(self, targets):
if generator.startswith('Visual Studio'):
# special case for version 10, use new /target:clean
- if generator.startswith('Visual Studio 10'):
+ if generator.startswith('Visual Studio 10') or generator.startswith('Visual Studio 11') or generator.startswith('Visual Studio 12'):
for target in targets:
self.run_vcbuild(generator, target, self.sln_filepath(), '/target:clean')
@@ -1605,6 +1741,10 @@ 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 11'):
+ value,type = _winreg.QueryValueEx(key, '11.0')
+ elif generator.startswith('Visual Studio 12'):
+ value,type = _winreg.QueryValueEx(key, '12.0')
else:
raise Exception('Cannot determine vcvarsall.bat location for: ' + generator)
@@ -1647,7 +1787,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 11') or generator.startswith('Visual Studio 12'):
cmd = ('@echo off\n'
'call "%s" %s \n'
'cd "%s"\n'
Oops, something went wrong.

Showing you all comments on commits in this comparison.

@nbolton

This comment has been minimized.

Show comment Hide comment
@nbolton

nbolton Mar 20, 2015

@gitscrubz what effect did this have? @XinyuHou @speaker

@gitscrubz what effect did this have? @XinyuHou @speaker

@nbolton

This comment has been minimized.

Show comment Hide comment
@nbolton

nbolton Mar 20, 2015

@gitscrubz I think a pull request would be ideal here, I'll try to create one for your commits now 🎱 @speaker @XinyuHou

@gitscrubz I think a pull request would be ideal here, I'll try to create one for your commits now 🎱 @speaker @XinyuHou

@XinyuHou

This comment has been minimized.

Show comment Hide comment
@XinyuHou

XinyuHou Mar 20, 2015

@nbolton @gitscrubz Line 889 seems relevant to drag & drop. I will try it out when I get the latest nightly.

@nbolton @gitscrubz Line 889 seems relevant to drag & drop. I will try it out when I get the latest nightly.

@gitscrubz

This comment has been minimized.

Show comment Hide comment
@gitscrubz

gitscrubz Mar 20, 2015

Owner

Drag and drop has always been hit and miss for me. I can't drag from my client to the server, but can do from the server to my client. I know I had issues with that in the past, but didn't really look into it much.

Overall seems to be working, but I have noticed I had issues mouse clicking on my client (no response from left or right click on both clients, but server worked and cursor moved). Clicking on the server desktop seem to resolve this. No screen saver activated, but could be something to watch for.

Owner

gitscrubz commented on a64906d Mar 20, 2015

Drag and drop has always been hit and miss for me. I can't drag from my client to the server, but can do from the server to my client. I know I had issues with that in the past, but didn't really look into it much.

Overall seems to be working, but I have noticed I had issues mouse clicking on my client (no response from left or right click on both clients, but server worked and cursor moved). Clicking on the server desktop seem to resolve this. No screen saver activated, but could be something to watch for.

@gitscrubz

This comment has been minimized.

Show comment Hide comment
@gitscrubz

gitscrubz Mar 20, 2015

Owner

do I need to do anything on my end? Sorry this is totally new to me.

Owner

gitscrubz commented on c3f1557 Mar 20, 2015

do I need to do anything on my end? Sorry this is totally new to me.

@nbolton

This comment has been minimized.

Show comment Hide comment
@nbolton

nbolton Mar 23, 2015

@gitscrubz Looks like someone did this for us! :) The fix has been released in 1.6.3 -- thanks for your help in getting this issue solved. Please add me on Skype if you like (nickbolton2705).

@gitscrubz Looks like someone did this for us! :) The fix has been released in 1.6.3 -- thanks for your help in getting this issue solved. Please add me on Skype if you like (nickbolton2705).

@nbolton

This comment has been minimized.

Show comment Hide comment
@nbolton

nbolton Mar 23, 2015

@gitscrubz Ah, that's a shame. Any help stabilizing the drag/drop feature would be greatly appreciated.

@gitscrubz Ah, that's a shame. Any help stabilizing the drag/drop feature would be greatly appreciated.