adium 4568:87a0f0ebd59a: Fixed a bunch of warnings.
commits at adium.im
commits at adium.im
Thu Jan 26 15:23:56 UTC 2012
details: http://hg.adium.im/adium/rev/87a0f0ebd59a
revision: 4568:87a0f0ebd59a
branch: (none)
author: Adrian Godoroja <robotive at me.com>
date: Thu Jan 26 17:23:27 2012 +0200
Fixed a bunch of warnings.
diffs (280 lines):
diff -r f1639fcfbc1e -r 87a0f0ebd59a Frameworks/Adium Framework/Source/AIStatusMenu.m
--- a/Frameworks/Adium Framework/Source/AIStatusMenu.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Frameworks/Adium Framework/Source/AIStatusMenu.m Thu Jan 26 17:23:27 2012 +0200
@@ -37,7 +37,7 @@
- (void)stateArrayChanged:(NSNotification *)notification;
- (void)activeStatusStateChanged:(NSNotification *)notification;
- (void)statusIconSetChanged:(NSNotification *)notification;
-- (void)selectCustomState:(id)sender;
+- (IBAction)selectCustomState:(id)sender;
- (void)selectState:(id)sender;
+ (void)dummyAction:(id)sender;
@end
diff -r f1639fcfbc1e -r 87a0f0ebd59a Plugins/Invite to Chat Plugin/DCInviteToChatPlugin.m
--- a/Plugins/Invite to Chat Plugin/DCInviteToChatPlugin.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Plugins/Invite to Chat Plugin/DCInviteToChatPlugin.m Thu Jan 26 17:23:27 2012 +0200
@@ -33,7 +33,7 @@
@interface DCInviteToChatPlugin ()
- (NSMenu *)groupChatMenuForContact:(AIListContact *)contact;
-- (void)dummyTarget:(id)sender;
+- (IBAction)dummyTarget:(id)sender;
@end
@implementation DCInviteToChatPlugin
diff -r f1639fcfbc1e -r 87a0f0ebd59a Plugins/Link Management/SHLinkManagementPlugin.m
--- a/Plugins/Link Management/SHLinkManagementPlugin.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Plugins/Link Management/SHLinkManagementPlugin.m Thu Jan 26 17:23:27 2012 +0200
@@ -32,8 +32,8 @@
@interface SHLinkManagementPlugin ()
- (BOOL)textViewSelectionIsLink:(NSTextView *)textView;
- (void)registerToolbarItem;
-- (void)editFormattedLink:(id)sender;
-- (void)removeFormattedLink:(id)sender;
+- (IBAction)editFormattedLink:(id)sender;
+- (IBAction)removeFormattedLink:(id)sender;
@end
@implementation SHLinkManagementPlugin
diff -r f1639fcfbc1e -r 87a0f0ebd59a Plugins/Nudge and Buzz Handler/AINudgeBuzzHandlerPlugin.m
--- a/Plugins/Nudge and Buzz Handler/AINudgeBuzzHandlerPlugin.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Plugins/Nudge and Buzz Handler/AINudgeBuzzHandlerPlugin.m Thu Jan 26 17:23:27 2012 +0200
@@ -44,7 +44,7 @@
// AIListObject interaction
- (void)sendNotification:(AIListObject *)object;
-- (void)notifyContact:(id)sender;
+- (IBAction)notifyContact:(id)sender;
// Notifications.
- (void)nudgeBuzzDidOccur:(NSNotification *)notification;
diff -r f1639fcfbc1e -r 87a0f0ebd59a Plugins/Secure Messaging/ESSecureMessagingPlugin.m
--- a/Plugins/Secure Messaging/ESSecureMessagingPlugin.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Plugins/Secure Messaging/ESSecureMessagingPlugin.m Thu Jan 26 17:23:27 2012 +0200
@@ -54,7 +54,7 @@
- (void)_updateToolbarItem:(NSToolbarItem *)item forChat:(AIChat *)chat;
- (void) toolbarDidAddItem:(NSToolbarItem *)item;
-- (void)toggleSecureMessaging:(id)sender;
+- (IBAction)toggleSecureMessaging:(id)sender;
- (void)chatDidBecomeVisible:(NSNotification *)notification;
- (void)dummyAction:(id)sender;
@end
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/AIContactController.m
--- a/Source/AIContactController.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/AIContactController.m Thu Jan 26 17:23:27 2012 +0200
@@ -100,7 +100,7 @@
- (void)prepareShowHideGroups;
- (void)_performChangeOfUseContactListGroups;
- (void)didSendContent:(NSNotification *)notification;
-- (void)toggleShowGroups:(id)sender;
+- (IBAction)toggleShowGroups:(id)sender;
//MetaContacts
- (BOOL)_restoreContactsToMetaContact:(AIMetaContact *)metaContact;
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/AIContactListEditorPlugin.m
--- a/Source/AIContactListEditorPlugin.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/AIContactListEditorPlugin.m Thu Jan 26 17:23:27 2012 +0200
@@ -60,10 +60,10 @@
- (void)deleteFromArray:(NSArray *)array;
- (void)promptForNewContactOnWindow:(NSWindow *)inWindow selectedListObject:(AIListObject *)inListObject;
-- (void)addContactFromTab:(id)sender;
+- (IBAction)addContactFromTab:(id)sender;
- (void)addContactRequest:(NSNotification *)notification;
-- (void)deleteSelection:(id)sender;
-- (void)deleteSelectionFromTab:(id)sender;
+- (IBAction)deleteSelection:(id)sender;
+- (IBAction)deleteSelectionFromTab:(id)sender;
@end
/*!
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/AIContactVisibilityControlPlugin.m
--- a/Source/AIContactVisibilityControlPlugin.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/AIContactVisibilityControlPlugin.m Thu Jan 26 17:23:27 2012 +0200
@@ -39,7 +39,7 @@
@interface AIContactVisibilityControlPlugin()
- (void)updateAccountMenu;
-- (void)toggleHide:(id)sender;
+- (IBAction)toggleHide:(id)sender;
@end
/*!
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/AIGuestAccountWindowController.m
--- a/Source/AIGuestAccountWindowController.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/AIGuestAccountWindowController.m Thu Jan 26 17:23:27 2012 +0200
@@ -24,7 +24,7 @@
#import <AIUtilities/AIStringFormatter.h>
@interface AIGuestAccountWindowController ()
-- (void)selectServiceType:(id)sender;
+- (IBAction)selectServiceType:(id)sender;
@end
static AIGuestAccountWindowController *sharedGuestAccountWindowController = nil;
@@ -113,7 +113,7 @@
return account;
}
-- (void)selectServiceType:(id)sender
+- (IBAction)selectServiceType:(id)sender
{
AIService *service = self.service;
[label_name setStringValue:[[service userNameLabel] stringByAppendingString:AILocalizedString(@":", "Colon which will be appended after a label such as 'User Name', before an input field")]];
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/AIInterfaceController.m
--- a/Source/AIInterfaceController.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/AIInterfaceController.m Thu Jan 26 17:23:27 2012 +0200
@@ -80,7 +80,7 @@
- (void)toggleUserlist:(id)sender;
- (void)toggleUserlistSide:(id)sender;
- (void)clearDisplay:(id)sender;
-- (void)closeContextualChat:(id)sender;
+- (IBAction)closeContextualChat:(id)sender;
- (void)openAuthorizationWindow:(id)sender;
- (void)didReceiveContent:(NSNotification *)notification;
- (void)adiumDidFinishLoading:(NSNotification *)inNotification;
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/AINewContactWindowController.m
--- a/Source/AINewContactWindowController.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/AINewContactWindowController.m Thu Jan 26 17:23:27 2012 +0200
@@ -46,7 +46,7 @@
- (void)ensureValidContactTypeSelection;
- (void)updateAccountList;
- (void)_setServiceType:(AIService *)inService;
-- (void)selectServiceType:(id)sender;
+- (IBAction)selectServiceType:(id)sender;
- (void)selectGroup:(id)sender;
- (void)newGroup:(id)sender;
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/AIServiceMenu.h
--- a/Source/AIServiceMenu.h Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/AIServiceMenu.h Thu Jan 26 17:23:27 2012 +0200
@@ -28,5 +28,5 @@
@interface NSObject (AIServiceMenuTarget)
- (BOOL)serviceMenuShouldIncludeService:(AIService *)service;
-- (void)selectServiceType:(id)sender;
+- (IBAction)selectServiceType:(id)sender;
@end
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/AIStandardToolbarItemsPlugin.m
--- a/Source/AIStandardToolbarItemsPlugin.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/AIStandardToolbarItemsPlugin.m Thu Jan 26 17:23:27 2012 +0200
@@ -27,7 +27,7 @@
#define MESSAGE AILocalizedString(@"Message", nil)
@interface AIStandardToolbarItemsPlugin ()
-- (void)showSourceDestinationPicker:(NSToolbarItem *)toolbarItem;
+- (IBAction)showSourceDestinationPicker:(NSToolbarItem *)toolbarItem;
@end
/*!
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/AdiumSetupWizard.m
--- a/Source/AdiumSetupWizard.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/AdiumSetupWizard.m Thu Jan 26 17:23:27 2012 +0200
@@ -328,7 +328,7 @@
/*!
* @brief The selected service in the account configuration tab view item was changed
*/
-- (void)selectServiceType:(id)sender
+- (IBAction)selectServiceType:(id)sender
{
[self configureAccountSetupForService:[[popUp_services selectedItem] representedObject]];
}
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/BGEmoticonMenuPlugin.m
--- a/Source/BGEmoticonMenuPlugin.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/BGEmoticonMenuPlugin.m Thu Jan 26 17:23:27 2012 +0200
@@ -27,7 +27,7 @@
@interface BGEmoticonMenuPlugin()
- (void)registerToolbarItem;
-- (void)dummyTarget:(id)sender;
+- (IBAction)dummyTarget:(id)sender;
- (void)insertEmoticon:(id)sender;
@end
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/ESEventSoundAlertDetailPane.m
--- a/Source/ESEventSoundAlertDetailPane.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/ESEventSoundAlertDetailPane.m Thu Jan 26 17:23:27 2012 +0200
@@ -29,7 +29,7 @@
@interface ESEventSoundAlertDetailPane ()
- (NSMenu *)soundListMenu;
- (void)addSound:(NSString *)soundPath toMenu:(NSMenu *)soundMenu;
-- (void)selectSound:(id)sender;
+- (IBAction)selectSound:(id)sender;
@end
/*!
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/ESFileTransferController.m
--- a/Source/ESFileTransferController.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/ESFileTransferController.m Thu Jan 26 17:23:27 2012 +0200
@@ -59,8 +59,8 @@
- (void)showProgressWindowIfNotOpen:(id)sender;
- (void)_finishReceiveRequestForFileTransfer:(ESFileTransfer *)fileTransfer localFilename:(NSString *)localFilename;
- (BOOL)shouldOpenCompleteFileTransfer:(ESFileTransfer *)fileTransfer;
-- (void)contextualMenuSendFile:(id)sender;
-- (void)sendFileToSelectedContact:(id)sender;
+- (IBAction)contextualMenuSendFile:(id)sender;
+- (IBAction)sendFileToSelectedContact:(id)sender;
@end
@implementation ESFileTransferController
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/ESSafariLinkToolbarItemPlugin.m
--- a/Source/ESSafariLinkToolbarItemPlugin.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/ESSafariLinkToolbarItemPlugin.m Thu Jan 26 17:23:27 2012 +0200
@@ -27,7 +27,7 @@
#define SAFARI_LINK_SCRIPT_PATH [[NSBundle bundleForClass:[self class]] pathForResource:@"Safari.scpt" ofType:nil]
@interface ESSafariLinkToolbarItemPlugin ()
-- (void)insertSafariLink:(id)sender;
+- (IBAction)insertSafariLink:(id)sender;
- (void)applescriptDidRun:(id)userInfo resultString:(NSString *)resultString;
@end
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/ESUserIconHandlingPlugin.m
--- a/Source/ESUserIconHandlingPlugin.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/ESUserIconHandlingPlugin.m Thu Jan 26 17:23:27 2012 +0200
@@ -44,7 +44,7 @@
- (void)chatDidBecomeVisible:(NSNotification *)notification;
- (void)listObjectAttributesChanged:(NSNotification *)notification;
-- (void)dummyAction:(id)sender;
+- (IBAction)dummyAction:(id)sender;
@end
/*!
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/GBApplescriptFiltersPlugin.m
--- a/Source/GBApplescriptFiltersPlugin.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/GBApplescriptFiltersPlugin.m Thu Jan 26 17:23:27 2012 +0200
@@ -43,9 +43,9 @@
- (void)_appendScripts:(NSArray *)scripts toMenu:(NSMenu *)menu;
- (void)registerToolbarItem;
- (void)xtrasChanged:(NSNotification *)notification;
-- (void)selectScript:(id)sender;
+- (IBAction)selectScript:(id)sender;
- (void)applescriptDidRun:(id)userInfo resultString:(NSString *)resultString;
-- (void)dummyTarget:(id)sender;
+- (IBAction)dummyTarget:(id)sender;
- (void)_replaceKeyword:(NSString *)keyword
withScript:(NSMutableDictionary *)infoDict
diff -r f1639fcfbc1e -r 87a0f0ebd59a Source/OWABSearchWindowController.m
--- a/Source/OWABSearchWindowController.m Thu Jan 26 00:21:51 2012 +0200
+++ b/Source/OWABSearchWindowController.m Thu Jan 26 17:23:27 2012 +0200
@@ -42,7 +42,7 @@
- (void)buildContactTypeMenu;
- (void)ensureValidContactTypeSelection;
- (void)configureForCurrentServiceType;
-- (void)selectServiceType:(id)sender;
+- (IBAction)selectServiceType:(id)sender;
- (void)_setService:(AIService *)inService;
- (void)_setPerson:(ABPerson *)inPerson;
- (void)_setScreenName:(NSString *)inName;
@@ -516,7 +516,7 @@
/*!
* @brief User selected a new service type
*/
-- (void)selectServiceType:(id)sender
+- (IBAction)selectServiceType:(id)sender
{
[self _setService:[[popUp_contactType selectedItem] representedObject]];
[self configureForCurrentServiceType];
More information about the commits
mailing list