Skip to content

Commit

Permalink
Update via Sparkle and methylblue.pem
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jul 9, 2009
1 parent d2353b9 commit da55dfa
Show file tree
Hide file tree
Showing 103 changed files with 2,492 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Audioscrobbler.xcodeproj/project.pbxproj
Expand Up @@ -8,6 +8,8 @@

/* Begin PBXBuildFile section */
1DDD58160DA1D0A300B32029 /* main.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD58140DA1D0A300B32029 /* main.xib */; };
6301E62410061AB900E87198 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6301E62310061AB900E87198 /* Sparkle.framework */; };
6301E62A10061ABE00E87198 /* Sparkle.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 6301E62310061AB900E87198 /* Sparkle.framework */; };
63024AEC0F9640A8001B8E9B /* Mediator.m in Sources */ = {isa = PBXBuildFile; fileRef = 63024AEB0F9640A8001B8E9B /* Mediator.m */; };
630EF82F1004ACC200EB28C2 /* AutoDash.m in Sources */ = {isa = PBXBuildFile; fileRef = 630EF82E1004ACC200EB28C2 /* AutoDash.m */; };
630EF8391004B61300EB28C2 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 630EF8381004B61300EB28C2 /* IOKit.framework */; };
Expand Down Expand Up @@ -40,6 +42,7 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
6301E62A10061ABE00E87198 /* Sparkle.framework in Copy Frameworks */,
63D1D0C40F97FF9B004FBC05 /* Growl.framework in Copy Frameworks */,
);
name = "Copy Frameworks";
Expand All @@ -55,6 +58,7 @@
29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
32CA4F630368D1EE00C91783 /* pc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pc.h; sourceTree = "<group>"; };
6301E62310061AB900E87198 /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Sparkle.framework; sourceTree = "<group>"; };
63024AE90F964063001B8E9B /* Mediator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Mediator.h; sourceTree = "<group>"; };
63024AEB0F9640A8001B8E9B /* Mediator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Mediator.m; sourceTree = "<group>"; };
630EF82D1004ACC200EB28C2 /* AutoDash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AutoDash.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -97,6 +101,7 @@
63D1D2990F9A0CB1004FBC05 /* Carbon.framework in Frameworks */,
637F074E0FAF20AD006EE129 /* ScriptingBridge.framework in Frameworks */,
630EF8391004B61300EB28C2 /* IOKit.framework in Frameworks */,
6301E62410061AB900E87198 /* Sparkle.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -123,6 +128,7 @@
1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = {
isa = PBXGroup;
children = (
6301E62310061AB900E87198 /* Sparkle.framework */,
630EF8381004B61300EB28C2 /* IOKit.framework */,
637F074D0FAF20AD006EE129 /* ScriptingBridge.framework */,
63D1D2980F9A0CB1004FBC05 /* Carbon.framework */,
Expand Down
88 changes: 85 additions & 3 deletions English.lproj/main.xib
Expand Up @@ -8,7 +8,7 @@
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="497"/>
<integer value="503"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand Down Expand Up @@ -186,6 +186,24 @@
<reference key="NSOnImage" ref="794915978"/>
<reference key="NSMixedImage" ref="273203663"/>
</object>
<object class="NSMenuItem" id="700961517">
<reference key="NSMenu" ref="75340798"/>
<bool key="NSIsDisabled">YES</bool>
<bool key="NSIsSeparator">YES</bool>
<string key="NSTitle"/>
<string key="NSKeyEquiv"/>
<int key="NSMnemonicLoc">2147483647</int>
<reference key="NSOnImage" ref="794915978"/>
<reference key="NSMixedImage" ref="273203663"/>
</object>
<object class="NSMenuItem" id="451006525">
<reference key="NSMenu" ref="75340798"/>
<string type="base64-UTF8" key="NSTitle">Q2hlY2sgRm9yIFVwZGF0ZXPigKY</string>
<string key="NSKeyEquiv"/>
<int key="NSMnemonicLoc">2147483647</int>
<reference key="NSOnImage" ref="794915978"/>
<reference key="NSMixedImage" ref="273203663"/>
</object>
</object>
</object>
</object>
Expand Down Expand Up @@ -222,6 +240,9 @@
<object class="NSUserDefaultsController" id="518255893">
<bool key="NSSharedInstance">YES</bool>
</object>
<object class="NSCustomObject" id="723449573">
<string key="NSClassName">SUUpdater</string>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
Expand Down Expand Up @@ -338,6 +359,14 @@
</object>
<int key="connectionID">500</int>
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">checkForUpdates:</string>
<reference key="source" ref="723449573"/>
<reference key="destination" ref="451006525"/>
</object>
<int key="connectionID">504</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
Expand Down Expand Up @@ -499,6 +528,8 @@
<reference ref="325290597"/>
<reference ref="254191638"/>
<reference ref="1026732470"/>
<reference ref="700961517"/>
<reference ref="451006525"/>
</object>
<reference key="parent" ref="450328247"/>
</object>
Expand Down Expand Up @@ -527,6 +558,21 @@
<reference key="object" ref="518255893"/>
<reference key="parent" ref="1049"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">501</int>
<reference key="object" ref="723449573"/>
<reference key="parent" ref="1049"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">502</int>
<reference key="object" ref="700961517"/>
<reference key="parent" ref="75340798"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">503</int>
<reference key="object" ref="451006525"/>
<reference key="parent" ref="75340798"/>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
Expand Down Expand Up @@ -562,6 +608,9 @@
<string>494.IBPluginDependency</string>
<string>495.IBPluginDependency</string>
<string>497.IBPluginDependency</string>
<string>501.IBPluginDependency</string>
<string>502.IBPluginDependency</string>
<string>503.IBPluginDependency</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand All @@ -588,7 +637,10 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{364, 963}, {411, 73}}</string>
<string>{{364, 933}, {411, 103}}</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>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
Expand Down Expand Up @@ -616,7 +668,7 @@
</object>
</object>
<nil key="sourceID"/>
<int key="maxID">500</int>
<int key="maxID">504</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
Expand Down Expand Up @@ -692,6 +744,36 @@
</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="924839913">
<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="924839913"/>
</object>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.LastKnownRelativeProjectPath">../Audioscrobbler.xcodeproj</string>
Expand Down
14 changes: 13 additions & 1 deletion Info.plist
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<string>0.9.1</string>
<key>NSAppleScriptEnabled</key>
<true/>
<key>NSMainNibFile</key>
Expand All @@ -28,5 +28,17 @@
<string>NSApplication</string>
<key>LSUIElement</key>
<true/>
<key>SUEnableAutomaticChecks</key>
<true/>
<key>SUAllowsAutomaticUpdates</key>
<true/>
<key>SUCheckAtStartup</key>
<true/>
<key>SUFeedURL</key>
<string>http://www.methylblue.com/audioscrobbler/appcast.xml</string>
<key>SUScheduledCheckInterval</key>
<string>259200</string>
<key>SUPublicDSAKeyFile</key>
<string>methylblue.pem</string>
</dict>
</plist>
1 change: 1 addition & 0 deletions Sparkle.framework/Headers
1 change: 1 addition & 0 deletions Sparkle.framework/Resources
1 change: 1 addition & 0 deletions Sparkle.framework/Sparkle
33 changes: 33 additions & 0 deletions Sparkle.framework/Versions/A/Headers/SUAppcast.h
@@ -0,0 +1,33 @@
//
// SUAppcast.h
// Sparkle
//
// Created by Andy Matuschak on 3/12/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//

#ifndef SUAPPCAST_H
#define SUAPPCAST_H

@class SUAppcastItem;
@interface SUAppcast : NSObject {
NSArray *items;
NSString *userAgentString;
id delegate;
NSMutableData *incrementalData;
}

- (void)fetchAppcastFromURL:(NSURL *)url;
- (void)setDelegate:delegate;
- (void)setUserAgentString:(NSString *)userAgentString;

- (NSArray *)items;

@end

@interface NSObject (SUAppcastDelegate)
- (void)appcastDidFinishLoading:(SUAppcast *)appcast;
- (void)appcast:(SUAppcast *)appcast failedToLoadWithError:(NSError *)error;
@end

#endif
47 changes: 47 additions & 0 deletions Sparkle.framework/Versions/A/Headers/SUAppcastItem.h
@@ -0,0 +1,47 @@
//
// SUAppcastItem.h
// Sparkle
//
// Created by Andy Matuschak on 3/12/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//

#ifndef SUAPPCASTITEM_H
#define SUAPPCASTITEM_H

@interface SUAppcastItem : NSObject {
NSString *title;
NSDate *date;
NSString *itemDescription;

NSURL *releaseNotesURL;

NSString *DSASignature;
NSString *minimumSystemVersion;

NSURL *fileURL;
NSString *versionString;
NSString *displayVersionString;

NSDictionary *propertiesDictionary;
}

// Initializes with data from a dictionary provided by the RSS class.
- initWithDictionary:(NSDictionary *)dict;

- (NSString *)title;
- (NSString *)versionString;
- (NSString *)displayVersionString;
- (NSDate *)date;
- (NSString *)itemDescription;
- (NSURL *)releaseNotesURL;
- (NSURL *)fileURL;
- (NSString *)DSASignature;
- (NSString *)minimumSystemVersion;

// Returns the dictionary provided in initWithDictionary; this might be useful later for extensions.
- (NSDictionary *)propertiesDictionary;

@end

#endif

0 comments on commit da55dfa

Please sign in to comment.