Commits

Mazdak Rezvani  committed 8af0f0d

Added some sparkle stuff

  • Participants
  • Parent commits 0da6b7f

Comments (0)

Files changed (7)

 *.mpkg
 *.framework
 *.orig
+Keys/dsa_priv.pem
+

File English.lproj/MainMenu.xib

 <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
 	<data>
 		<int key="IBDocument.SystemTarget">1050</int>
-		<string key="IBDocument.SystemVersion">9G55</string>
+		<string key="IBDocument.SystemVersion">9J61</string>
 		<string key="IBDocument.InterfaceBuilderVersion">677</string>
-		<string key="IBDocument.AppKitVersion">949.43</string>
+		<string key="IBDocument.AppKitVersion">949.46</string>
 		<string key="IBDocument.HIToolboxVersion">353.00</string>
 		<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
 			<bool key="EncodedWithXMLCoder">YES</bool>
 									<reference key="NSOnImage" ref="664567982"/>
 									<reference key="NSMixedImage" ref="578101116"/>
 								</object>
+								<object class="NSMenuItem" id="804151711">
+									<reference key="NSMenu" ref="110575045"/>
+									<string key="NSTitle">Check for Updates...</string>
+									<string key="NSKeyEquiv"/>
+									<int key="NSMnemonicLoc">2147483647</int>
+									<reference key="NSOnImage" ref="664567982"/>
+									<reference key="NSMixedImage" ref="578101116"/>
+								</object>
 								<object class="NSMenuItem" id="304266470">
 									<reference key="NSMenu" ref="110575045"/>
 									<bool key="NSIsDisabled">YES</bool>
 				<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
 				<string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
 			</object>
+			<object class="NSCustomObject" id="240552765">
+				<string key="NSClassName">SUUpdater</string>
+			</object>
 		</object>
 		<object class="IBObjectContainer" key="IBDocument.Objects">
 			<object class="NSMutableArray" key="connectionRecords">
 					</object>
 					<int key="connectionID">517</int>
 				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBActionConnection" key="connection">
+						<string key="label">checkForUpdates:</string>
+						<reference key="source" ref="240552765"/>
+						<reference key="destination" ref="804151711"/>
+					</object>
+					<int key="connectionID">520</int>
+				</object>
 			</object>
 			<object class="IBMutableOrderedSet" key="objectRecords">
 				<object class="NSArray" key="orderedObjects">
 							<reference ref="1046388886"/>
 							<reference ref="1056857174"/>
 							<reference ref="342932134"/>
+							<reference ref="804151711"/>
 						</object>
 						<reference key="parent" ref="694149608"/>
 					</object>
 						<reference key="object" ref="122525278"/>
 						<reference key="parent" ref="651607043"/>
 					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">518</int>
+						<reference key="object" ref="240552765"/>
+						<reference key="parent" ref="1049"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">519</int>
+						<reference key="object" ref="804151711"/>
+						<reference key="parent" ref="110575045"/>
+					</object>
 				</object>
 			</object>
 			<object class="NSMutableDictionary" key="flattenedProperties">
 					<string>512.IBPluginDependency</string>
 					<string>513.IBPluginDependency</string>
 					<string>514.IBPluginDependency</string>
+					<string>518.IBPluginDependency</string>
+					<string>519.IBPluginDependency</string>
 					<string>56.IBPluginDependency</string>
 					<string>56.ImportedFromIB2</string>
 					<string>57.IBEditorWindowLastContentRect</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<reference ref="9"/>
-					<string>{{89, 631}, {186, 183}}</string>
+					<string>{{89, 611}, {232, 203}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<reference ref="9"/>
 					<string>{{83, 653}, {186, 183}}</string>
 				</object>
 			</object>
 			<nil key="sourceID"/>
-			<int key="maxID">517</int>
+			<int key="maxID">520</int>
 		</object>
 		<object class="IBClassDescriber" key="IBDocument.Classes">
 			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
 					</object>
 				</object>
 				<object class="IBPartialClassDescription">
+					<string key="className">NSWindow</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">../MYUtilities/MYWindowUtils.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
 					<string key="className">RepoController</string>
 					<string key="superclassName">NSWindowController</string>
 					<object class="NSMutableDictionary" key="actions">
 							<bool key="EncodedWithXMLCoder">YES</bool>
 							<string>_commitMessageField</string>
 							<string>_commitSheet</string>
+							<string>_hideShowUnmodifiedToolbarItem</string>
 							<string>_infoSplitter</string>
 							<string>_infoView</string>
 							<string>_outline</string>
 							<bool key="EncodedWithXMLCoder">YES</bool>
 							<string>NSTextView</string>
 							<string>NSPanel</string>
+							<string>NSToolbarItem</string>
 							<string>NSSplitView</string>
 							<string>NSTextView</string>
 							<string>NSOutlineView</string>
 							<string>NSButton</string>
 							<string>NSTextField</string>
 							<string>NSPanel</string>
-							<string>NSTextField</string>
+							<string>NSComboBox</string>
 							<string>NSTableView</string>
 							<string>NSArrayController</string>
 							<string>NSSplitView</string>
 					</object>
 				</object>
 			</object>
+			<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.1+">
+				<bool key="EncodedWithXMLCoder">YES</bool>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBDocumentRelativeSource</string>
+						<string key="minorKey">../Sparkle.framework/Versions/A/Headers/SUAppcast.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="414039932">
+						<string key="majorKey">IBDocumentRelativeSource</string>
+						<string key="minorKey">../Sparkle.framework/Versions/A/Headers/SUUpdater.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">SUUpdater</string>
+					<string key="superclassName">NSObject</string>
+					<object class="NSMutableDictionary" key="actions">
+						<string key="NS.key.0">checkForUpdates:</string>
+						<string key="NS.object.0">id</string>
+					</object>
+					<object class="NSMutableDictionary" key="outlets">
+						<string key="NS.key.0">delegate</string>
+						<string key="NS.object.0">id</string>
+					</object>
+					<reference key="sourceIdentifier" ref="414039932"/>
+				</object>
+			</object>
 		</object>
 		<int key="IBDocument.localizationMode">0</int>
 		<string key="IBDocument.LastKnownRelativeProjectPath">../Murky.xcodeproj</string>

File Keys/dsa_pub.pem

+-----BEGIN PUBLIC KEY-----
+MIIDOzCCAi4GByqGSM44BAEwggIhAoIBAQCgTTe9ayL2zbpfCitQeDmMLyRwvML/
+wUCwTGATvCHLhfC4YpU0qEh6j/zsrPqvGepLErf8Phruzy/XQlhFWNz4PF8L5KJt
+Gyx8nev9D9StAi5kk01YSFedBGWJ8l6CaR1pKu+1SpSgXfN4YUm0gH9KzD3dE17u
+FKqKfMplcW8eAbeQMTEtEnbhtxkL+pNWOKJmjfbQsW8CMH8W/SXqHfqKS5Pq+p2p
+AVFLhWNPl2YoIpKknSmwmbphNo+DGJNgAfx0r09+L0OLlFQOMLYiNZrRkLSPfAsg
+JEDH7xmUu2lr+9cl8B6H19cVMeBmU98FUOoK42+ka8077SpHBO6Vf+31AhUA6sSA
+vXpiqEXs96gt2h+9WtXOrSkCggEBAI4lFii2UaNCWJpnsAEfwtLPIFiXWokkDX+D
+vlGifAYxu0WCdWorPRl3DhLIAVXKvn7pZ1/hGXl0R9ANk7ro5GLG24/fgxHk+D88
+bpafky9uwhfWSFUV7DfyLg6CBHnF9pm6K0bZbnRd20dpSORh6Pwm0RpJ8xptOfGs
+cIwdvb6HL3N93r3coQyMWOHBNGvdXRdy2e+xag2iNXnUbCjRw/KK12roh52KypmR
+kOr93zGqcpC3zWUMUPDOr/8u9Vsg41Y3RQKP+uvO5y5yA1POuCshW+jNN2O6LqgU
+TiXWK2L5QjCt0C5P+i3lpXZteGN0yy8PcpH26ooUF+rHc+pNj1YDggEFAAKCAQAw
+1OiNQ9/iK7jq99+xumFvVW0QajEferi7F6nsRvnjID0pxQblpRwUzld1HREqISiK
+phN5AmdomKPgkGLOYisjDrClnHqJcwY36ZI7HGVK2PB9opK6NpAPHN6FskUlbJ57
+El75XRGo4BL9pHfbKmLBj0fjtGR/Tgy4/sSxh1w9dvDXQhT2ieXlKGOTT7Y2IlY0
+J4/wkKIzkFb/fYveijePxK84sEmEl31G7appTegJ9V3iKGBxW/IsZw7lcHS4p1eE
+WrXARqDIR8CGMUUUJejOVY1Hio9PDX08ljTrZ90/m2glBHdrCWSgSqNO3O7tVAXa
+DMUiw8Xik12LVc2RsYMW
+-----END PUBLIC KEY-----

File Keys/sign_update.rb

+#!/usr/bin/ruby
+if ARGV.length < 2
+  puts "Usage: ruby sign_update.rb update_archive private_key"
+  exit
+end
+
+puts `openssl dgst -sha1 -binary < "#{ARGV[0]}" | openssl dgst -dss1 -sign "#{ARGV[1]}" | openssl enc -base64`

File Murky.xcodeproj/project.pbxproj

 		D095A50E0FBC329500512681 /* status_nottracked.png in Resources */ = {isa = PBXBuildFile; fileRef = D095A50D0FBC329500512681 /* status_nottracked.png */; };
 		D095A5120FBC363100512681 /* status_removed.png in Resources */ = {isa = PBXBuildFile; fileRef = D095A5110FBC363100512681 /* status_removed.png */; };
 		D095A5170FBC376E00512681 /* status_null.png in Resources */ = {isa = PBXBuildFile; fileRef = D095A5160FBC376E00512681 /* status_null.png */; };
+		FD291D7B0FBE63A8007638D6 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD291D7A0FBE63A8007638D6 /* Sparkle.framework */; };
+		FD291D8A0FBE6582007638D6 /* dsa_pub.pem in Resources */ = {isa = PBXBuildFile; fileRef = FD291D890FBE6582007638D6 /* dsa_pub.pem */; };
+		FD291D930FBEF49C007638D6 /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = FD291D7A0FBE63A8007638D6 /* Sparkle.framework */; };
 /* End PBXBuildFile section */
 
+/* Begin PBXCopyFilesBuildPhase section */
+		FD291D880FBE63FF007638D6 /* CopyFiles */ = {
+			isa = PBXCopyFilesBuildPhase;
+			buildActionMask = 2147483647;
+			dstPath = "";
+			dstSubfolderSpec = 10;
+			files = (
+				FD291D930FBEF49C007638D6 /* Sparkle.framework in CopyFiles */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXCopyFilesBuildPhase section */
+
 /* Begin PBXFileReference section */
 		1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
 		27075E690D66B9A900A8F759 /* mercurial-logo-official.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = "mercurial-logo-official.icns"; sourceTree = "<group>"; };
 		D095A50D0FBC329500512681 /* status_nottracked.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = status_nottracked.png; path = Resources/Icons/status_nottracked.png; sourceTree = SOURCE_ROOT; };
 		D095A5110FBC363100512681 /* status_removed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = status_removed.png; path = Resources/Icons/status_removed.png; sourceTree = SOURCE_ROOT; };
 		D095A5160FBC376E00512681 /* status_null.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = status_null.png; path = Resources/Icons/status_null.png; sourceTree = SOURCE_ROOT; };
+		FD291D7A0FBE63A8007638D6 /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Sparkle.framework; sourceTree = "<group>"; };
+		FD291D890FBE6582007638D6 /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = dsa_pub.pem; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 
 /* Begin PBXFrameworksBuildPhase section */
 			files = (
 				8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
 				277D16B90C989715001D8600 /* libicucore.dylib in Frameworks */,
+				FD291D7B0FBE63A8007638D6 /* Sparkle.framework in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
 		1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = {
 			isa = PBXGroup;
 			children = (
+				FD291D7A0FBE63A8007638D6 /* Sparkle.framework */,
 				1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */,
 			);
 			name = "Linked Frameworks";
 		29B97317FDCFA39411CA2CEA /* Resources */ = {
 			isa = PBXGroup;
 			children = (
+				FD291D890FBE6582007638D6 /* dsa_pub.pem */,
 				8D1107310486CEB800E47090 /* Info.plist */,
 				27FEB4840FBB209D00290049 /* InfoPlist.strings */,
 				27FEB4630FBB200600290049 /* Icons */,
 			buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "Murky" */;
 			buildPhases = (
 				8D1107290486CEB800E47090 /* Resources */,
+				FD291D880FBE63FF007638D6 /* CopyFiles */,
 				8D11072C0486CEB800E47090 /* Sources */,
 				8D11072E0486CEB800E47090 /* Frameworks */,
 			);
 				D095A50E0FBC329500512681 /* status_nottracked.png in Resources */,
 				D095A5120FBC363100512681 /* status_removed.png in Resources */,
 				D095A5170FBC376E00512681 /* status_null.png in Resources */,
+				FD291D8A0FBE6582007638D6 /* dsa_pub.pem in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				COPY_PHASE_STRIP = NO;
+				FRAMEWORK_SEARCH_PATHS = (
+					"$(inherited)",
+					"\"$(SRCROOT)\"",
+				);
 				INFOPLIST_FILE = Resources/Info.plist;
 				INSTALL_PATH = "$(HOME)/Applications";
 				PRODUCT_NAME = Murky;
 		C01FCF4C08A954540054247B /* Release */ = {
 			isa = XCBuildConfiguration;
 			buildSettings = {
+				FRAMEWORK_SEARCH_PATHS = (
+					"$(inherited)",
+					"\"$(SRCROOT)\"",
+				);
 				INFOPLIST_FILE = Resources/Info.plist;
 				INSTALL_PATH = "$(HOME)/Applications";
 				PRODUCT_NAME = Murky;

File Resources/Info.plist

 	<string>mercurial-logo-official</string>
 	<key>CFBundleIdentifier</key>
 	<string>com.mooseyard.Murky</string>
+	<key>SUPublicDSAKeyFile</key>
+	<string>dsa_pub.pem</string>
+	<key>SUFeedURL</key>
+	<string>http://hg.internal.hotornot.com/murky.xml</string>
 	<key>CFBundleInfoDictionaryVersion</key>
 	<string>6.0</string>
 	<key>CFBundleName</key>

File Resources/dsa_pub.pem

+-----BEGIN PUBLIC KEY-----
+MIIDOzCCAi4GByqGSM44BAEwggIhAoIBAQCgTTe9ayL2zbpfCitQeDmMLyRwvML/
+wUCwTGATvCHLhfC4YpU0qEh6j/zsrPqvGepLErf8Phruzy/XQlhFWNz4PF8L5KJt
+Gyx8nev9D9StAi5kk01YSFedBGWJ8l6CaR1pKu+1SpSgXfN4YUm0gH9KzD3dE17u
+FKqKfMplcW8eAbeQMTEtEnbhtxkL+pNWOKJmjfbQsW8CMH8W/SXqHfqKS5Pq+p2p
+AVFLhWNPl2YoIpKknSmwmbphNo+DGJNgAfx0r09+L0OLlFQOMLYiNZrRkLSPfAsg
+JEDH7xmUu2lr+9cl8B6H19cVMeBmU98FUOoK42+ka8077SpHBO6Vf+31AhUA6sSA
+vXpiqEXs96gt2h+9WtXOrSkCggEBAI4lFii2UaNCWJpnsAEfwtLPIFiXWokkDX+D
+vlGifAYxu0WCdWorPRl3DhLIAVXKvn7pZ1/hGXl0R9ANk7ro5GLG24/fgxHk+D88
+bpafky9uwhfWSFUV7DfyLg6CBHnF9pm6K0bZbnRd20dpSORh6Pwm0RpJ8xptOfGs
+cIwdvb6HL3N93r3coQyMWOHBNGvdXRdy2e+xag2iNXnUbCjRw/KK12roh52KypmR
+kOr93zGqcpC3zWUMUPDOr/8u9Vsg41Y3RQKP+uvO5y5yA1POuCshW+jNN2O6LqgU
+TiXWK2L5QjCt0C5P+i3lpXZteGN0yy8PcpH26ooUF+rHc+pNj1YDggEFAAKCAQAw
+1OiNQ9/iK7jq99+xumFvVW0QajEferi7F6nsRvnjID0pxQblpRwUzld1HREqISiK
+phN5AmdomKPgkGLOYisjDrClnHqJcwY36ZI7HGVK2PB9opK6NpAPHN6FskUlbJ57
+El75XRGo4BL9pHfbKmLBj0fjtGR/Tgy4/sSxh1w9dvDXQhT2ieXlKGOTT7Y2IlY0
+J4/wkKIzkFb/fYveijePxK84sEmEl31G7appTegJ9V3iKGBxW/IsZw7lcHS4p1eE
+WrXARqDIR8CGMUUUJejOVY1Hio9PDX08ljTrZ90/m2glBHdrCWSgSqNO3O7tVAXa
+DMUiw8Xik12LVc2RsYMW
+-----END PUBLIC KEY-----