adium 3496:4eacfe6bfd17: Warning fixes
commits at adium.im
commits at adium.im
Tue Nov 9 03:14:29 UTC 2010
details: http://hg.adium.im/adium/rev/4eacfe6bfd17
revision: 3496:4eacfe6bfd17
author: Evan Schoenberg
date: Mon Nov 08 21:03:24 2010 -0600
Warning fixes
Subject: adium 3497:ab9a06c5cc58: Patch from an anonymous source to use bytes instead of an NSString for this raw data, thereby silencing a Clang warning about null bytes in an NSString. The bytes are simply tacked onto an NSMutableData.
details: http://hg.adium.im/adium/rev/ab9a06c5cc58
revision: 3497:ab9a06c5cc58
author: Evan Schoenberg
date: Mon Nov 08 21:06:51 2010 -0600
Patch from an anonymous source to use bytes instead of an NSString for this raw data, thereby silencing a Clang warning about null bytes in an NSString. The bytes are simply tacked onto an NSMutableData.
Subject: adium 3498:0a9e33894575: Patch from an anonymous source to fix warnings from Clang about delegate protocols not being explicitly declared
details: http://hg.adium.im/adium/rev/0a9e33894575
revision: 3498:0a9e33894575
author: Evan Schoenberg
date: Mon Nov 08 21:12:33 2010 -0600
Patch from an anonymous source to fix warnings from Clang about delegate protocols not being explicitly declared
diffs (553 lines):
diff -r da267665039b -r 0a9e33894575 Frameworks/AIUtilities Framework/Source/AIToolbarTabView.h
--- a/Frameworks/AIUtilities Framework/Source/AIToolbarTabView.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Frameworks/AIUtilities Framework/Source/AIToolbarTabView.h Mon Nov 08 21:12:33 2010 -0600
@@ -14,7 +14,7 @@
* <p>This class also contains methods for auto-sizing the parent window based on the selected tab. The delegate is asked for the window size, and this tabview takes care of the animation.</p>
* @see <tt><a href="category_n_s_object(_a_i_toolbar_tab_view_delegate).html" target="_top">NSObject(AIToolbarTabViewDelegate)</a></tt>
*/
- at interface AIToolbarTabView : NSTabView {
+ at interface AIToolbarTabView : NSTabView <NSToolbarDelegate> {
NSMutableDictionary *toolbarItems;
int oldHeight;
diff -r da267665039b -r 0a9e33894575 Frameworks/Adium Framework/Source/AIAbstractListController.h
--- a/Frameworks/Adium Framework/Source/AIAbstractListController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Frameworks/Adium Framework/Source/AIAbstractListController.h Mon Nov 08 21:12:33 2010 -0600
@@ -169,7 +169,7 @@
- (BOOL)forwardKeyEventToFindPanel:(NSEvent *)theEvent;
@end
- at interface AIAbstractListController : NSObject <AISmoothTooltipTrackerDelegate> {
+ at interface AIAbstractListController : NSObject <AISmoothTooltipTrackerDelegate, NSOutlineViewDelegate, NSOutlineViewDataSource> {
AIAutoScrollView *scrollView_contactList;
AIListOutlineView *contactListView;
diff -r da267665039b -r 0a9e33894575 Frameworks/Adium Framework/Source/AIAccountMenu.h
--- a/Frameworks/Adium Framework/Source/AIAccountMenu.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Frameworks/Adium Framework/Source/AIAccountMenu.h Mon Nov 08 21:12:33 2010 -0600
@@ -27,7 +27,7 @@
AIAccountOptionsSubmenu
} AIAccountSubmenuType;
- at interface AIAccountMenu : AIAbstractListObjectMenu <AIListObjectObserver, AIStatusMenuDelegate> {
+ at interface AIAccountMenu : AIAbstractListObjectMenu <AIListObjectObserver, AIStatusMenuDelegate, NSMenuDelegate> {
id<AIAccountMenuDelegate> delegate;
BOOL delegateRespondsToDidSelectAccount;
BOOL delegateRespondsToShouldIncludeAccount;
diff -r da267665039b -r 0a9e33894575 Frameworks/Adium Framework/Source/AIAuthorizationRequestsWindowController.h
--- a/Frameworks/Adium Framework/Source/AIAuthorizationRequestsWindowController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Frameworks/Adium Framework/Source/AIAuthorizationRequestsWindowController.h Mon Nov 08 21:12:33 2010 -0600
@@ -19,7 +19,7 @@
@class AIAccount;
- at interface AIAuthorizationRequestsWindowController : AIWindowController {
+ at interface AIAuthorizationRequestsWindowController : AIWindowController <NSToolbarDelegate> {
IBOutlet NSTableView *tableView;
NSMutableArray *requests;
diff -r da267665039b -r 0a9e33894575 Frameworks/Adium Framework/Source/AIContactMenu.m
--- a/Frameworks/Adium Framework/Source/AIContactMenu.m Mon Nov 08 20:52:06 2010 -0500
+++ b/Frameworks/Adium Framework/Source/AIContactMenu.m Mon Nov 08 21:12:33 2010 -0600
@@ -7,13 +7,14 @@
//
#import <Adium/AIContactControllerProtocol.h>
+#import <Adium/AIInterfaceControllerProtocol.h>
#import <Adium/AISortController.h>
#import <Adium/AIContactMenu.h>
-#import <AIUtilities/AIMenuAdditions.h>
-#import <AIUtilities/AIParagraphStyleAdditions.h>
#import <Adium/AIListContact.h>
#import <Adium/AIListGroup.h>
#import <Adium/AIContactList.h>
+#import <AIUtilities/AIMenuAdditions.h>
+#import <AIUtilities/AIParagraphStyleAdditions.h>
#import <AIUtilities/AIStringAdditions.h>
@interface AIContactMenu ()
@@ -356,7 +357,7 @@
return inMenu.numberOfItems;
}
-- (BOOL)menu:(NSMenu *)inMenu updateItem:(NSMenuItem *)menuItem atIndex:(NSInteger)index shouldCancel:(BOOL)shouldCancel
+- (BOOL)menu:(NSMenu *)inMenu updateItem:(NSMenuItem *)menuItem atIndex:(NSInteger)anIndex shouldCancel:(BOOL)shouldCancel
{
if (shouldCancel)
return NO;
diff -r da267665039b -r 0a9e33894575 Frameworks/Adium Framework/Source/AIEditStateWindowController.h
--- a/Frameworks/Adium Framework/Source/AIEditStateWindowController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Frameworks/Adium Framework/Source/AIEditStateWindowController.h Mon Nov 08 21:12:33 2010 -0600
@@ -19,7 +19,7 @@
@class AIAccount, AITextViewWithPlaceholder, AIService, AIAutoScrollView, AISendingTextView;
- at interface AIEditStateWindowController : AIWindowController {
+ at interface AIEditStateWindowController : AIWindowController <NSTextViewDelegate> {
IBOutlet NSBox *box_title;
IBOutlet NSTextField *label_title;
IBOutlet NSTextField *textField_title;
diff -r da267665039b -r 0a9e33894575 Frameworks/Adium Framework/Source/AIWindowController.h
--- a/Frameworks/Adium Framework/Source/AIWindowController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Frameworks/Adium Framework/Source/AIWindowController.h Mon Nov 08 21:12:33 2010 -0600
@@ -18,6 +18,7 @@
}
- (IBAction)closeWindow:(id)sender;
+- (BOOL)windowShouldClose:(id)sender;
- (NSString *)adiumFrameAutosaveName;
- (NSString *)savedFrameString;
- (NSRect)savedFrameFromString:(NSString *)frameString;
diff -r da267665039b -r 0a9e33894575 Frameworks/Adium Framework/Source/AIXMLElement.m
--- a/Frameworks/Adium Framework/Source/AIXMLElement.m Mon Nov 08 20:52:06 2010 -0500
+++ b/Frameworks/Adium Framework/Source/AIXMLElement.m Mon Nov 08 21:12:33 2010 -0600
@@ -25,6 +25,8 @@
#import <AIUtilities/AIStringAdditions.h>
+#import <ESDebugAILog.h>
+
@interface AIXMLElement()
@property (readwrite, retain, nonatomic) NSMutableArray *attributeNames;
@property (readwrite, retain, nonatomic) NSMutableArray *attributeValues;
@@ -198,8 +200,8 @@
{
//Warn but don't assert if null is added. Adding nothing is a no-op, but we may want to investigate where this is happening further.
if (!obj) {
- NSLog(@"Attempted to add null to AIXMLElement %@, backtrace available in debug mode", obj);
- AILogWithBacktrace(@"Warning: Attempted to add (null) to AIXMLElement %@", obj);
+ AILog(@"Attempted to add null to AIXMLElement %@, backtrace available in debug mode", obj);
+ AILogBacktrace();
return;
}
NSAssert2(([obj isKindOfClass:[NSString class]] || [obj isKindOfClass:[AIXMLElement class]]), @"%@: addObject: %@ is of incorrect class",self,obj);
diff -r da267665039b -r 0a9e33894575 Frameworks/Adium Framework/Source/ESContactAlertsViewController.h
--- a/Frameworks/Adium Framework/Source/ESContactAlertsViewController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Frameworks/Adium Framework/Source/ESContactAlertsViewController.h Mon Nov 08 21:12:33 2010 -0600
@@ -20,7 +20,7 @@
@class AIVariableHeightFlexibleColumnsOutlineView, AIListObject, AIAutoScrollView, CSNewContactAlertWindowController;
@protocol ESContactAlertsViewControllerDelegate;
- at interface ESContactAlertsViewController : NSObject {
+ at interface ESContactAlertsViewController : NSObject <NSOutlineViewDelegate, NSOutlineViewDataSource> {
IBOutlet NSView *view;
IBOutlet AIVariableHeightFlexibleColumnsOutlineView *outlineView_summary;
diff -r da267665039b -r 0a9e33894575 Frameworks/Adium Framework/Source/SS_PrefsController.h
--- a/Frameworks/Adium Framework/Source/SS_PrefsController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Frameworks/Adium Framework/Source/SS_PrefsController.h Mon Nov 08 21:12:33 2010 -0600
@@ -1,7 +1,7 @@
/* SS_PrefsController */
- at interface SS_PrefsController : NSObject
+ at interface SS_PrefsController : NSObject <NSWindowDelegate, NSToolbarDelegate>
{
NSWindow *prefsWindow;
NSMutableDictionary *preferencePanes;
diff -r da267665039b -r 0a9e33894575 Plugins/Bonjour/AWBonjourAccount.h
--- a/Plugins/Bonjour/AWBonjourAccount.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Plugins/Bonjour/AWBonjourAccount.h Mon Nov 08 21:12:33 2010 -0600
@@ -25,7 +25,7 @@
#import <Adium/AIAccount.h>
#import "AWEzv.h"
- at interface AWBonjourAccount : AIAccount <AWEzvClientProtocol, AIAccount_Files> {
+ at interface AWBonjourAccount : AIAccount <AWEzvClientProtocol, AIAccount_Files, NSTextInputClient> {
AWEzv *libezv;
NSMutableSet *libezvContacts;
NSString *savedAwayMessage;
diff -r da267665039b -r 0a9e33894575 Plugins/Bonjour/libezv/Private Classes/AWEzvRendezvousData.m
--- a/Plugins/Bonjour/libezv/Private Classes/AWEzvRendezvousData.m Mon Nov 08 20:52:06 2010 -0500
+++ b/Plugins/Bonjour/libezv/Private Classes/AWEzvRendezvousData.m Mon Nov 08 21:12:33 2010 -0600
@@ -38,11 +38,11 @@
/* subnegotiation that appears at start of rendezvous packet */
/* Reserved version? */
-NSString *subn = @"subn\x00\x00\x00\x01";
+const char subn[] = "subn\x00\x00\x00\x01";
/* end of subnegotation. significance of value unknown */
/* Reserved unknown */
-NSString *endn = @"\x00\x00\x00\x00";
+const char endn[] = "\x00\x00\x00\x00";
/* initialization, create our dictionary */
-(AWEzvRendezvousData *) init
@@ -70,7 +70,7 @@
self = [self init];
/* check that the length is ok */
- if ([data length] < ([subn length] + 4 + [endn length])) {
+ if ([data length] < (sizeof(subn) + 4 + sizeof(endn))) {
AWEzvLog(@"Invalid rendezvous announcement: length %u", [data length]);
[self autorelease];
return nil;
@@ -100,7 +100,7 @@
fieldCount = ntohl(fieldCount);
/* read fields from data */
- for (i = [subn length] + 4 + [endn length] + 4; i < [data length];) {
+ for (i = sizeof(subn) + 4 + sizeof(endn) + 4; i < [data length];) {
int binFlag = 0;
/* read length of field name */
@@ -361,9 +361,9 @@
data = [[NSMutableData alloc] init];
[data autorelease];
/* add the subnegotiation string */
- [data appendBytes:[subn UTF8String] length:[subn length]];
+ [data appendBytes:subn length:sizeof(subn)];
[data appendBytes:&serialBE length:4];
- [data appendBytes:[endn UTF8String] length:[endn length]];
+ [data appendBytes:endn length:sizeof(subn)];
/* add a field containing the number of fields for the rest of the data */
keycount = (UInt32)[keys count] + 1; /* +1 for slumming field */
keycount = htonl(keycount);
diff -r da267665039b -r 0a9e33894575 Plugins/Dual Window Interface/AIMessageWindowController.h
--- a/Plugins/Dual Window Interface/AIMessageWindowController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Plugins/Dual Window Interface/AIMessageWindowController.h Mon Nov 08 21:12:33 2010 -0600
@@ -33,7 +33,7 @@
@class AIChat;
@protocol AIFlexibleToolbarItemDelegate;
- at interface AIMessageWindowController : AIWindowController {
+ at interface AIMessageWindowController : AIWindowController <NSToolbarDelegate, NSSplitViewDelegate> {
IBOutlet NSTabView *tabView_messages;
IBOutlet PSMTabBarControl *tabView_tabBar;
PSMAdiumTabStyle *tabView_tabStyle;
diff -r da267665039b -r 0a9e33894575 Plugins/Emoticons/AIEmoticonPreferences.h
--- a/Plugins/Emoticons/AIEmoticonPreferences.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Plugins/Emoticons/AIEmoticonPreferences.h Mon Nov 08 21:12:33 2010 -0600
@@ -20,7 +20,7 @@
@class AIEmoticonPack;
- at interface AIEmoticonPreferences : AIWindowController
+ at interface AIEmoticonPreferences : AIWindowController <NSTableViewDelegate, NSTableViewDataSource>
{
IBOutlet NSTableView *table_emoticonPacks;
NSMutableArray *emoticonPackPreviewControllers;
diff -r da267665039b -r 0a9e33894575 Plugins/Image Uploading Plugin/AIImageShackImageUploader.h
--- a/Plugins/Image Uploading Plugin/AIImageShackImageUploader.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Plugins/Image Uploading Plugin/AIImageShackImageUploader.h Mon Nov 08 21:12:33 2010 -0600
@@ -8,7 +8,7 @@
#import "AIGenericMultipartImageUploader.h"
- at interface AIImageShackImageUploader : AIGenericMultipartImageUploader {
+ at interface AIImageShackImageUploader : AIGenericMultipartImageUploader <NSXMLParserDelegate> {
NSData *resultData;
NSXMLParser *responseParser;
diff -r da267665039b -r 0a9e33894575 Plugins/Image Uploading Plugin/AIImageUploaderPlugin.h
--- a/Plugins/Image Uploading Plugin/AIImageUploaderPlugin.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Plugins/Image Uploading Plugin/AIImageUploaderPlugin.h Mon Nov 08 21:12:33 2010 -0600
@@ -17,7 +17,7 @@
@class AIImageUploaderWindowController, AIChat;
- at interface AIImageUploaderPlugin : AIPlugin {
+ at interface AIImageUploaderPlugin : AIPlugin <NSMenuDelegate> {
NSMutableArray *uploaders;
NSString *defaultService;
diff -r da267665039b -r 0a9e33894575 Plugins/Purple Service/AIPurpleAIMAccountViewController.h
--- a/Plugins/Purple Service/AIPurpleAIMAccountViewController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Plugins/Purple Service/AIPurpleAIMAccountViewController.h Mon Nov 08 21:12:33 2010 -0600
@@ -17,7 +17,7 @@
#import "AIPurpleOscarAccountViewController.h"
@interface AIPurpleAIMAccountViewController : AIPurpleOscarAccountViewController {
- IBOutlet NSTextView *textView_textProfile;
+ IBOutlet NSTextView <NSWindowDelegate> *textView_textProfile;
}
@end
diff -r da267665039b -r 0a9e33894575 Plugins/Status Menu Item/CBStatusMenuItemController.h
--- a/Plugins/Status Menu Item/CBStatusMenuItemController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Plugins/Status Menu Item/CBStatusMenuItemController.h Mon Nov 08 21:12:33 2010 -0600
@@ -29,7 +29,7 @@
*
* @brief Manages the Adium NSStatusItem
*/
- at interface CBStatusMenuItemController : NSObject <AIChatObserver, AIListObjectObserver, AIAccountMenuDelegate, AIStatusMenuDelegate, AIContactMenuDelegate>
+ at interface CBStatusMenuItemController : NSObject <AIChatObserver, AIListObjectObserver, AIAccountMenuDelegate, AIStatusMenuDelegate, AIContactMenuDelegate, NSMenuDelegate>
{
NSStatusItem *statusItem;
AIStatusItemView *statusItemView;
diff -r da267665039b -r 0a9e33894575 Plugins/Twitter Plugin/MGTwitterEngine/MGTwitterXMLParser.h
--- a/Plugins/Twitter Plugin/MGTwitterEngine/MGTwitterXMLParser.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Plugins/Twitter Plugin/MGTwitterEngine/MGTwitterXMLParser.h Mon Nov 08 21:12:33 2010 -0600
@@ -10,7 +10,7 @@
#import "MGTwitterParserDelegate.h"
- at interface MGTwitterXMLParser : NSObject {
+ at interface MGTwitterXMLParser : NSObject <NSXMLParserDelegate> {
__weak NSObject <MGTwitterParserDelegate> *delegate; // weak ref
NSString *identifier;
MGTwitterRequestType requestType;
diff -r da267665039b -r 0a9e33894575 Source/AIAppearancePreferences.h
--- a/Source/AIAppearancePreferences.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AIAppearancePreferences.h Mon Nov 08 21:12:33 2010 -0600
@@ -16,7 +16,7 @@
#import <Adium/AIPreferencePane.h>
- at interface AIAppearancePreferences : AIPreferencePane {
+ at interface AIAppearancePreferences : AIPreferencePane <NSMenuDelegate> {
IBOutlet NSPopUpButton *popUp_statusIcons;
IBOutlet NSPopUpButton *popUp_serviceIcons;
IBOutlet NSPopUpButton *popUp_menuBarIcons;
diff -r da267665039b -r 0a9e33894575 Source/AIChatLog.h
--- a/Source/AIChatLog.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AIChatLog.h Mon Nov 08 21:12:33 2010 -0600
@@ -16,7 +16,7 @@
#define ChatLog_WillDelete @"ChatLog_WillDelete"
- at interface AIChatLog : NSObject {
+ at interface AIChatLog : NSObject <NSXMLParserDelegate> {
NSString *relativePath;
NSString *from;
NSString *to;
diff -r da267665039b -r 0a9e33894575 Source/AIContactListNameButton.h
--- a/Source/AIContactListNameButton.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AIContactListNameButton.h Mon Nov 08 21:12:33 2010 -0600
@@ -7,7 +7,7 @@
#import "AIHoveringPopUpButton.h"
- at interface AIContactListNameButton : AIHoveringPopUpButton {
+ at interface AIContactListNameButton : AIHoveringPopUpButton <NSTextFieldDelegate> {
NSTextField *textField_editor;
id editTarget;
SEL editSelector;
diff -r da267665039b -r 0a9e33894575 Source/AIContactVisibilityControlPlugin.h
--- a/Source/AIContactVisibilityControlPlugin.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AIContactVisibilityControlPlugin.h Mon Nov 08 21:12:33 2010 -0600
@@ -17,7 +17,7 @@
#import <Adium/AIContactControllerProtocol.h>
#import <Adium/AIAccountMenu.h>
- at interface AIContactVisibilityControlPlugin : AIPlugin <AIAccountMenuDelegate> {
+ at interface AIContactVisibilityControlPlugin : AIPlugin <AIAccountMenuDelegate, NSMenuDelegate> {
NSMenuItem *menuItem_hideContacts;
NSMenuItem *menuItem_hideOffline;
NSMenuItem *menuItem_hideIdle;
diff -r da267665039b -r 0a9e33894575 Source/AIListWindowController.h
--- a/Source/AIListWindowController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AIListWindowController.h Mon Nov 08 21:12:33 2010 -0600
@@ -46,7 +46,7 @@
@protocol AIContactListViewController, AIInterfaceContainer;
- at interface AIListWindowController : AIWindowController <AIInterfaceContainer, AIListControllerDelegate, AIRolloverButtonDelegate> {
+ at interface AIListWindowController : AIWindowController <AIInterfaceContainer, AIListControllerDelegate, AIRolloverButtonDelegate, NSTextFieldDelegate, NSAnimationDelegate, NSWindowDelegate> {
BOOL borderless;
NSSize minWindowSize;
diff -r da267665039b -r 0a9e33894575 Source/AILogViewerWindowController.h
--- a/Source/AILogViewerWindowController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AILogViewerWindowController.h Mon Nov 08 21:12:33 2010 -0600
@@ -58,7 +58,7 @@
@class AIListContact, AISplitView, KNShelfSplitView, AIChat, AIAccount;
- at interface AILogViewerWindowController : AIWindowController {
+ at interface AILogViewerWindowController : AIWindowController <NSToolbarDelegate> {
AILoggerPlugin *plugin;
IBOutlet KNShelfSplitView *shelf_splitView;
diff -r da267665039b -r 0a9e33894575 Source/AILoginWindowController.h
--- a/Source/AILoginWindowController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AILoginWindowController.h Mon Nov 08 21:12:33 2010 -0600
@@ -18,7 +18,7 @@
@class AILoginController;
- at interface AILoginWindowController : AIWindowController {
+ at interface AILoginWindowController : AIWindowController <NSTableViewDelegate, NSTableViewDataSource> {
IBOutlet NSTableView *tableView_userList;
IBOutlet NSTableView *tableView_editableUserList;
diff -r da267665039b -r 0a9e33894575 Source/AIMenuController.h
--- a/Source/AIMenuController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AIMenuController.h Mon Nov 08 21:12:33 2010 -0600
@@ -18,7 +18,7 @@
@class AIListObject, AIChat;
- at interface AIMenuController : NSObject <AIMenuController> {
+ at interface AIMenuController : NSObject <AIMenuController, NSMenuDelegate> {
@private
IBOutlet NSObject<AIAdium> *sharedAdium;
NSInteger menuItemProcessingDelays;
diff -r da267665039b -r 0a9e33894575 Source/AIOutlineViewAnimation.m
--- a/Source/AIOutlineViewAnimation.m Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AIOutlineViewAnimation.m Mon Nov 08 21:12:33 2010 -0600
@@ -30,7 +30,7 @@
return [[[self alloc] initWithDictionary:inDict delegate:inOutlineView] autorelease];
}
-- (id)initWithDictionary:(NSDictionary *)inDict delegate:(AIAnimatingListOutlineView *)inOutlineView
+- (id)initWithDictionary:(NSDictionary *)inDict delegate:(AIAnimatingListOutlineView <NSAnimationDelegate> *)inOutlineView
{
if ((self = [super initWithDuration:LIST_OBJECT_ANIMATION_DURATION animationCurve:NSAnimationEaseInOut])) {
dict = [inDict retain];
diff -r da267665039b -r 0a9e33894575 Source/AISCLViewPlugin.h
--- a/Source/AISCLViewPlugin.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AISCLViewPlugin.h Mon Nov 08 21:12:33 2010 -0600
@@ -29,7 +29,7 @@
@protocol AIMultiContactListComponent;
- at interface AISCLViewPlugin : AIPlugin <AIMultiContactListComponent> {
+ at interface AISCLViewPlugin : AIPlugin <AIMultiContactListComponent, NSMenuDelegate> {
NSMutableArray *contactLists;
ESContactListAdvancedPreferences *advancedPreferences;
diff -r da267665039b -r 0a9e33894575 Source/AIStandardListWindowController.h
--- a/Source/AIStandardListWindowController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AIStandardListWindowController.h Mon Nov 08 21:12:33 2010 -0600
@@ -30,7 +30,7 @@
ContactListImagePickerHiddenOnRight,
} ContactListImagePickerPosition;
- at interface AIStandardListWindowController : AIListWindowController <AIStatusMenuDelegate> {
+ at interface AIStandardListWindowController : AIListWindowController <AIStatusMenuDelegate, NSToolbarDelegate> {
IBOutlet NSView *view_statusAndImage;
IBOutlet NSView *view_nameAndStatusMenu;
diff -r da267665039b -r 0a9e33894575 Source/AITemporaryIRCAccountWindowController.m
--- a/Source/AITemporaryIRCAccountWindowController.m Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AITemporaryIRCAccountWindowController.m Mon Nov 08 21:12:33 2010 -0600
@@ -9,6 +9,7 @@
#import "AIEditAccountWindowController.h"
#import <Adium/AIAccountControllerProtocol.h>
+#import <Adium/AIChatControllerProtocol.h>
#import <Adium/AIAccount.h>
#import <Adium/AIService.h>
#import "AIServiceMenu.h"
diff -r da267665039b -r 0a9e33894575 Source/AIURLShortenerPlugin.h
--- a/Source/AIURLShortenerPlugin.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AIURLShortenerPlugin.h Mon Nov 08 21:12:33 2010 -0600
@@ -24,7 +24,7 @@
AINumberOfShortenLinkServices
} AIShortenLinkService;
- at interface AIURLShortenerPlugin : AIPlugin {
+ at interface AIURLShortenerPlugin : AIPlugin <NSMenuDelegate> {
AIShortenLinkService shortener;
}
diff -r da267665039b -r 0a9e33894575 Source/AIXtrasManager.h
--- a/Source/AIXtrasManager.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AIXtrasManager.h Mon Nov 08 21:12:33 2010 -0600
@@ -27,7 +27,7 @@
#define AIXtraTypeServiceIcons @"adiumserviceicons"
#define AIXtraTypeMenuBarIcons @"adiummenubaricons"
- at interface AIXtrasManager : AIPlugin {
+ at interface AIXtrasManager : AIPlugin <NSToolbarDelegate> {
NSMutableDictionary *disabledXtras;
NSMutableArray *categories;
NSMutableArray *selectedCategory;
diff -r da267665039b -r 0a9e33894575 Source/AdiumSpeech.h
--- a/Source/AdiumSpeech.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/AdiumSpeech.h Mon Nov 08 21:12:33 2010 -0600
@@ -14,7 +14,7 @@
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
- at interface AdiumSpeech : NSObject {
+ at interface AdiumSpeech : NSObject <NSSpeechSynthesizerDelegate> {
NSMutableArray *speechArray;
NSSpeechSynthesizer *_variableVoice;
diff -r da267665039b -r 0a9e33894575 Source/BGEmoticonMenuPlugin.h
--- a/Source/BGEmoticonMenuPlugin.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/BGEmoticonMenuPlugin.h Mon Nov 08 21:12:33 2010 -0600
@@ -16,7 +16,7 @@
#import "AIEmoticonPack.h"
- at interface BGEmoticonMenuPlugin : AIPlugin
+ at interface BGEmoticonMenuPlugin : AIPlugin <NSMenuDelegate>
{
NSMenuItem *quickMenuItem;
NSMenuItem *quickContextualMenuItem;
diff -r da267665039b -r 0a9e33894575 Source/ESFileTransferProgressWindowController.h
--- a/Source/ESFileTransferProgressWindowController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/ESFileTransferProgressWindowController.h Mon Nov 08 21:12:33 2010 -0600
@@ -18,7 +18,7 @@
@class ESFileTransfer, ESFileTransferProgressRow, AIVariableHeightOutlineView;
- at interface ESFileTransferProgressWindowController : AIWindowController {
+ at interface ESFileTransferProgressWindowController : AIWindowController <NSOutlineViewDelegate, NSOutlineViewDataSource> {
NSMutableArray *progressRows;
ESFileTransferProgressRow *selectedRow;
diff -r da267665039b -r 0a9e33894575 Source/ESOTRPreferences.h
--- a/Source/ESOTRPreferences.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/ESOTRPreferences.h Mon Nov 08 21:12:33 2010 -0600
@@ -17,7 +17,7 @@
#import "AIAdvancedPreferencePane.h"
#import "AIAccountMenu.h"
- at interface ESOTRPreferences : AIAdvancedPreferencePane <AIAccountMenuDelegate> {
+ at interface ESOTRPreferences : AIAdvancedPreferencePane <AIAccountMenuDelegate, NSTableViewDelegate, NSTableViewDataSource> {
IBOutlet NSPopUpButton *popUp_accounts;
IBOutlet NSButton *button_generate;
IBOutlet NSTextField *textField_privateKey;
diff -r da267665039b -r 0a9e33894575 Source/ESPersonalPreferences.h
--- a/Source/ESPersonalPreferences.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/ESPersonalPreferences.h Mon Nov 08 21:12:33 2010 -0600
@@ -16,7 +16,7 @@
IBOutlet AIDelayedTextField *textField_alias;
IBOutlet AIDelayedTextField *textField_displayName;
- IBOutlet NSTextView *textView_profile;
+ IBOutlet NSTextView <NSWindowDelegate> *textView_profile;
IBOutlet NSTextField *label_localAlias;
IBOutlet NSTextField *label_remoteAlias;
diff -r da267665039b -r 0a9e33894575 Source/ESStatusSort.h
--- a/Source/ESStatusSort.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/ESStatusSort.h Mon Nov 08 21:12:33 2010 -0600
@@ -18,7 +18,7 @@
@class AILocalizationTextField;
- at interface ESStatusSort : AISortController {
+ at interface ESStatusSort : AISortController <NSTableViewDelegate, NSTableViewDataSource> {
IBOutlet NSButton *checkBox_groupAvailable;
IBOutlet NSButton *checkBox_groupMobileSeparately;
diff -r da267665039b -r 0a9e33894575 Source/ESUserIconHandlingPlugin.h
--- a/Source/ESUserIconHandlingPlugin.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/ESUserIconHandlingPlugin.h Mon Nov 08 21:12:33 2010 -0600
@@ -16,7 +16,7 @@
#import <Adium/AIContactControllerProtocol.h>
- at interface ESUserIconHandlingPlugin : AIPlugin {
+ at interface ESUserIconHandlingPlugin : AIPlugin <NSMenuDelegate> {
NSMutableSet *toolbarItems;
NSMutableSet *validatedItems;
}
diff -r da267665039b -r 0a9e33894575 Source/OWABSearchWindowController.h
--- a/Source/OWABSearchWindowController.h Mon Nov 08 20:52:06 2010 -0500
+++ b/Source/OWABSearchWindowController.h Mon Nov 08 21:12:33 2010 -0600
@@ -10,7 +10,7 @@
@class AILocalizationButton, ABPeoplePickerView, AIService, ABPerson, AIImageViewWithImagePicker;
- at interface OWABSearchWindowController : AIWindowController {
+ at interface OWABSearchWindowController : AIWindowController <NSWindowDelegate> {
//Search View
IBOutlet ABPeoplePickerView *peoplePicker;
More information about the commits
mailing list