Remove breaks after returns in switch statements.
--- a/Frameworks/AIUtilities Framework/Source/AISystemNetworkDefaults.m Fri May 24 00:13:49 2013 +0200
+++ b/Frameworks/AIUtilities Framework/Source/AISystemNetworkDefaults.m Sun Jun 02 11:34:28 2013 -0400
@@ -76,7 +76,6 @@
--- a/Frameworks/Adium Framework/Source/AIStatusIcons.m Fri May 24 00:13:49 2013 +0200
+++ b/Frameworks/Adium Framework/Source/AIStatusIcons.m Sun Jun 02 11:34:28 2013 -0400
@@ -80,19 +80,14 @@
case AIAvailableStatusType:
return STATUS_NAME_AVAILABLE;
case AIInvisibleStatusType:
return STATUS_NAME_INVISIBLE;
case AIOfflineStatusType:
return STATUS_NAME_OFFLINE;
return STATUS_NAME_OFFLINE;
--- a/Plugins/Purple Service/CBPurpleOscarAccount.m Fri May 24 00:13:49 2013 +0200
+++ b/Plugins/Purple Service/CBPurpleOscarAccount.m Sun Jun 02 11:34:28 2013 -0400
@@ -194,22 +194,16 @@
return AILocalizedString(@"Connecting",nil);
return AILocalizedString(@"Screen name sent",nil);
return AILocalizedString(@"Password sent",nil);
return AILocalizedString(@"Received authorization",nil);
return AILocalizedString(@"Connection established",nil);
return AILocalizedString(@"Finalizing connection",nil);
--- a/Plugins/Purple Service/ESIRCAccount.m Fri May 24 00:13:49 2013 +0200
+++ b/Plugins/Purple Service/ESIRCAccount.m Sun Jun 02 11:34:28 2013 -0400
@@ -562,19 +562,15 @@
return (anySelected && ((flags & AIGroupChatOp) == AIGroupChatOp || (flags & AIGroupChatHalfOp) == AIGroupChatHalfOp));
return (anySelected && ((flags & AIGroupChatOp) == AIGroupChatOp));
--- a/Plugins/Purple Service/ESPurpleGaduGaduAccount.m Fri May 24 00:13:49 2013 +0200
+++ b/Plugins/Purple Service/ESPurpleGaduGaduAccount.m Sun Jun 02 11:34:28 2013 -0400
@@ -35,22 +35,16 @@
return AILocalizedString(@"Connecting",nil);
return AILocalizedString(@"Looking up server",nil);
return AILocalizedString(@"Reading data","Connection step");
return AILocalizedString(@"Balancer handshake","Connection step");
return AILocalizedString(@"Reading server key","Connection step");
return AILocalizedString(@"Exchanging key hash","Connection step");
--- a/Plugins/Purple Service/ESPurpleJabberAccount.m Fri May 24 00:13:49 2013 +0200
+++ b/Plugins/Purple Service/ESPurpleJabberAccount.m Sun Jun 02 11:34:28 2013 -0400
@@ -427,22 +427,16 @@
return AILocalizedString(@"Connecting",nil);
return AILocalizedString(@"Initializing Stream",nil);
return AILocalizedString(@"Reading data",nil);
return AILocalizedString(@"Authenticating",nil);
return AILocalizedString(@"Initializing Stream",nil);
return AILocalizedString(@"Authenticating",nil);
--- a/Plugins/Purple Service/ESPurpleMSNAccount.m Fri May 24 00:13:49 2013 +0200
+++ b/Plugins/Purple Service/ESPurpleMSNAccount.m Sun Jun 02 11:34:28 2013 -0400
@@ -146,31 +146,22 @@
return AILocalizedString(@"Connecting",nil);
return AILocalizedString(@"Handshaking",nil);
return AILocalizedString(@"Transferring",nil);
return AILocalizedString(@"Handshaking",nil);
return AILocalizedString(@"Starting authentication",nil);
return AILocalizedString(@"Getting Cookie",nil);
return AILocalizedString(@"Authenticating",nil);
return AILocalizedString(@"Sending Cookie",nil);
return AILocalizedString(@"Retrieving buddy list",nil);
--- a/Plugins/Purple Service/ESPurpleMeanwhileAccount.m Fri May 24 00:13:49 2013 +0200
+++ b/Plugins/Purple Service/ESPurpleMeanwhileAccount.m Sun Jun 02 11:34:28 2013 -0400
@@ -102,34 +102,24 @@
return AILocalizedString(@"Connecting",nil);
return AILocalizedString(@"Sending Handshake",nil);
return AILocalizedString(@"Waiting for Handshake Acknowledgement",nil);
return AILocalizedString(@"Handshake Acknowledged; Sending Login",nil);
return AILocalizedString(@"Waiting for Login Acknowledgement",nil);
return AILocalizedString(@"Login Redirected",nil);
return AILocalizedString(@"Forcing Login",nil);
return AILocalizedString(@"Login Acknowledged",nil);
return AILocalizedString(@"Starting Services",nil);
return AILocalizedString(@"Connected",nil);
--- a/Plugins/Purple Service/ESPurpleNovellAccount.m Fri May 24 00:13:49 2013 +0200
+++ b/Plugins/Purple Service/ESPurpleNovellAccount.m Sun Jun 02 11:34:28 2013 -0400
@@ -34,13 +34,10 @@
return AILocalizedString(@"Connecting",nil);
return AILocalizedString(@"Authenticating",nil);
return AILocalizedString(@"Waiting for Response",nil);
--- a/Plugins/Purple Service/ESPurpleYahooAccount.m Fri May 24 00:13:49 2013 +0200
+++ b/Plugins/Purple Service/ESPurpleYahooAccount.m Sun Jun 02 11:34:28 2013 -0400
@@ -112,7 +112,6 @@
return AILocalizedString(@"Connecting",nil);
--- a/Plugins/Purple Service/PurpleMySpaceAccount.m Fri May 24 00:13:49 2013 +0200
+++ b/Plugins/Purple Service/PurpleMySpaceAccount.m Sun Jun 02 11:34:28 2013 -0400
@@ -29,16 +29,12 @@
return AILocalizedString(@"Connecting",nil);
return AILocalizedString(@"Reading challenge", "Description of a step in the connection process for MySpace. This could be translated as something like 'Reading from server'.");
return AILocalizedString(@"Logging in","Connection step");
return AILocalizedString(@"Connected","Connection step");
--- a/Plugins/Purple Service/SLPurpleCocoaAdapter.m Fri May 24 00:13:49 2013 +0200
+++ b/Plugins/Purple Service/SLPurpleCocoaAdapter.m Sun Jun 02 11:34:28 2013 -0400
@@ -418,13 +418,10 @@
switch(purple_conversation_get_type(conv)) {
case PURPLE_CONV_TYPE_CHAT:
return groupChatLookupFromConv(conv);
case PURPLE_CONV_TYPE_IM:
return imChatLookupFromConv(conv);
return existingChatLookupFromConv(conv);
--- a/Plugins/Secure Messaging/ESSecureMessagingPlugin.m Fri May 24 00:13:49 2013 +0200
+++ b/Plugins/Secure Messaging/ESSecureMessagingPlugin.m Sun Jun 02 11:34:28 2013 -0400
@@ -366,7 +366,6 @@
group:GROUP_ENCRYPTION])];
case EncryptedChat_Never:
case EncryptedChat_Manually:
@@ -378,7 +377,6 @@
[menuItem setState:(tag == userPreference)];
@@ -388,7 +386,6 @@
case AISecureMessagingMenu_Root:
return [chat supportsSecureMessagingToggling];
case AISecureMessagingMenu_Toggle:
// The menu item should indicate what will happen if it is selected.. the opposite of our secure state
@@ -408,22 +405,18 @@
case AISecureMessagingMenu_ShowDetails:
case AISecureMessagingMenu_Verify:
//Only enable show details if the chat is secure
case AISecureMessagingMenu_Options:
//Only enable options if the chat is with a single person
return ([chat supportsSecureMessagingToggling] && chat.listObject && !chat.isGroupChat);
case AISecureMessagingMenu_ShowAbout:
return [chat supportsSecureMessagingToggling];
--- a/Plugins/Twitter Plugin/AITwitterAccount.m Fri May 24 00:13:49 2013 +0200
+++ b/Plugins/Twitter Plugin/AITwitterAccount.m Sun Jun 02 11:34:28 2013 -0400
@@ -1270,44 +1270,36 @@
// Bad Request: your request is invalid, and we'll return an error message that tells you why.
return AILocalizedString(@"The request is invalid.", nil);
// Not Authorized: either you need to provide authentication credentials, or the credentials provided aren't valid.
return AILocalizedString(@"Your credentials do not allow you access.", nil);
// Forbidden: we understand your request, but are refusing to fulfill it. An accompanying error message should explain why.
return AILocalizedString(@"Request refused by the server.", nil);
// Not Found: either you're requesting an invalid URI or the resource in question doesn't exist (ex: no such user).
return AILocalizedString(@"Requested resource not found.", nil);
// This is the status code returned if you've exceeded the rate limit.
return AILocalizedString(@"You've exceeded the rate limit.", nil);
// Internal Server Error: we did something wrong. Please post to the group about it and the Twitter team will investigate.
return AILocalizedString(@"The server reported an internal error.", nil);
// Bad Gateway: returned if Twitter is down or being upgraded.
return AILocalizedString(@"The server is currently down.", nil);
// Service Unavailable: the Twitter servers are up, but are overloaded with requests. Try again later.
return AILocalizedString(@"The server is overloaded with requests.", nil);
--- a/Source/AIStatusController.m Fri May 24 00:13:49 2013 +0200
+++ b/Source/AIStatusController.m Sun Jun 02 11:34:28 2013 -0400
@@ -441,16 +441,12 @@
case AIAvailableStatusType:
return STATUS_NAME_AVAILABLE;
case AIInvisibleStatusType:
return STATUS_NAME_INVISIBLE;
case AIOfflineStatusType:
return STATUS_NAME_OFFLINE;
--- a/Source/ESStatusSort.m Fri May 24 00:13:49 2013 +0200
+++ b/Source/ESStatusSort.m Sun Jun 02 11:34:28 2013 -0400
@@ -405,19 +405,15 @@
switch (sortOrder[rowIndex]) {
//Unavailable is always the same sort, but to the user it can be either "Unavailable" or "Other Unavailable"
@@ -425,15 +421,12 @@
return ((!sortIdleTime && (groupUnavailable || !(groupAway || groupIdle || groupIdleAndAway))) ?
--- a/Source/XtrasInstaller.m Fri May 24 00:13:49 2013 +0200
+++ b/Source/XtrasInstaller.m Sun Jun 02 11:34:28 2013 -0400
@@ -116,7 +116,7 @@
self.xtraName = [[response allHeaderFields] objectForKey:@"X-Xtraname"];
downloadSize = [response expectedContentLength];
- [progressBar setMaxValue:(long long)downloadSize];
+ [progressBar setMaxValue:downloadSize]; [progressBar setDoubleValue:0.0];
AILogWithSignature(@"Beginning download of %@, which has size %lld", [response allHeaderFields], downloadSize);