Revision: 7704
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7704&view=rev
Author:   hofman
Date:     2012-08-27 10:27:11 +0000 (Mon, 27 Aug 2012)
Log Message:
-----------
some compatibility fixes for xcode 4.x to avoid warnings

Modified Paths:
--------------
    trunk/vendorsrc/andymatuschak/Sparkle/SUAppcast.h
    trunk/vendorsrc/andymatuschak/Sparkle/SUBasicUpdateDriver.h
    trunk/vendorsrc/andymatuschak/Sparkle/SUHost.m
    trunk/vendorsrc/andymatuschak/Sparkle/SUUIBasedUpdateDriver.m
    trunk/vendorsrc/andymatuschak/Sparkle/Sparkle.pch

Modified: trunk/vendorsrc/andymatuschak/Sparkle/SUAppcast.h
===================================================================
--- trunk/vendorsrc/andymatuschak/Sparkle/SUAppcast.h   2012-07-14 00:21:52 UTC 
(rev 7703)
+++ trunk/vendorsrc/andymatuschak/Sparkle/SUAppcast.h   2012-08-27 10:27:11 UTC 
(rev 7704)
@@ -10,7 +10,7 @@
 #define SUAPPCAST_H
 
 @class SUAppcastItem;
-@interface SUAppcast : NSObject {
+@interface SUAppcast : NSObject <NSURLDownloadDelegate> {
        NSArray *items;
        NSString *userAgentString;
        id delegate;

Modified: trunk/vendorsrc/andymatuschak/Sparkle/SUBasicUpdateDriver.h
===================================================================
--- trunk/vendorsrc/andymatuschak/Sparkle/SUBasicUpdateDriver.h 2012-07-14 
00:21:52 UTC (rev 7703)
+++ trunk/vendorsrc/andymatuschak/Sparkle/SUBasicUpdateDriver.h 2012-08-27 
10:27:11 UTC (rev 7704)
@@ -13,7 +13,7 @@
 #import "SUUpdateDriver.h"
 
 @class SUAppcastItem, SUUnarchiver, SUAppcast, SUUnarchiver, SUHost;
-@interface SUBasicUpdateDriver : SUUpdateDriver {
+@interface SUBasicUpdateDriver : SUUpdateDriver <NSURLDownloadDelegate> {
        SUAppcastItem *updateItem;
        
        NSURLDownload *download;

Modified: trunk/vendorsrc/andymatuschak/Sparkle/SUHost.m
===================================================================
--- trunk/vendorsrc/andymatuschak/Sparkle/SUHost.m      2012-07-14 00:21:52 UTC 
(rev 7703)
+++ trunk/vendorsrc/andymatuschak/Sparkle/SUHost.m      2012-08-27 10:27:11 UTC 
(rev 7704)
@@ -215,7 +215,7 @@
        OSErr err3 = Gestalt(gestaltSystemVersionBugFix, &bugfix);
        if (!err1 && !err2 && !err3)
        {
-               verStr = [NSString stringWithFormat:@"%d.%d.%d", major, minor, 
bugfix];
+               verStr = [NSString stringWithFormat:@"%d.%d.%d", (int)major, 
(int)minor, (int)bugfix];
        }
        else
 #endif

Modified: trunk/vendorsrc/andymatuschak/Sparkle/SUUIBasedUpdateDriver.m
===================================================================
--- trunk/vendorsrc/andymatuschak/Sparkle/SUUIBasedUpdateDriver.m       
2012-07-14 00:21:52 UTC (rev 7703)
+++ trunk/vendorsrc/andymatuschak/Sparkle/SUUIBasedUpdateDriver.m       
2012-08-27 10:27:11 UTC (rev 7704)
@@ -150,7 +150,7 @@
 
 - (void)abortUpdateWithError:(NSError *)error
 {
-       NSAlert *alert = [NSAlert 
alertWithMessageText:SULocalizedString(@"Update Error!", nil) 
defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil 
otherButton:nil informativeTextWithFormat:[error localizedDescription]];
+       NSAlert *alert = [NSAlert 
alertWithMessageText:SULocalizedString(@"Update Error!", nil) 
defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil 
otherButton:nil informativeTextWithFormat:@"%@", [error localizedDescription]];
        [self showModalAlert:alert];
        [super abortUpdateWithError:error];
 }

Modified: trunk/vendorsrc/andymatuschak/Sparkle/Sparkle.pch
===================================================================
--- trunk/vendorsrc/andymatuschak/Sparkle/Sparkle.pch   2012-07-14 00:21:52 UTC 
(rev 7703)
+++ trunk/vendorsrc/andymatuschak/Sparkle/Sparkle.pch   2012-08-27 10:27:11 UTC 
(rev 7704)
@@ -13,4 +13,8 @@
 #ifdef __OBJC__
 #import <Cocoa/Cocoa.h>
 #import "SUConstants.h"
+#ifndef MAC_OS_X_VERSION_10_7
+@protocol NSURLDownloadDelegate <NSObject>
+@end
 #endif
+#endif

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to