Changeset 3582
- Timestamp:
- 02/18/07 16:02:02 (2 years ago)
- Files:
-
- trunk/Chat Core.exp (modified) (1 diff)
- trunk/Chat Core.xcodeproj/project.pbxproj (modified) (5 diffs)
- trunk/Chat Core/ICBPacket.h (added)
- trunk/Chat Core/ICBPacket.m (added)
- trunk/Chat Core/MVChatConnection.h (modified) (3 diffs)
- trunk/Chat Core/MVChatConnection.m (modified) (5 diffs)
- trunk/Chat Core/MVICBChatConnection.h (added)
- trunk/Chat Core/MVICBChatConnection.m (added)
- trunk/Chat Core/MVICBChatRoom.h (added)
- trunk/Chat Core/MVICBChatRoom.m (added)
- trunk/Chat Core/MVICBChatUser.h (added)
- trunk/Chat Core/MVICBChatUser.m (added)
- trunk/Controllers/JVChatController.m (modified) (2 diffs)
- trunk/Controllers/MVConnectionsController.m (modified) (8 diffs)
- trunk/Languages/Dutch.lproj/MVConnections.nib/info.nib (modified) (2 diffs)
- trunk/Languages/Dutch.lproj/MVConnections.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/English.lproj/MVConnections.nib/info.nib (modified) (2 diffs)
- trunk/Languages/English.lproj/MVConnections.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/French.lproj/MVConnections.nib/info.nib (modified) (2 diffs)
- trunk/Languages/French.lproj/MVConnections.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/German.lproj/MVConnections.nib/info.nib (modified) (1 diff)
- trunk/Languages/German.lproj/MVConnections.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/Italian.lproj/MVConnections.nib/info.nib (modified) (2 diffs)
- trunk/Languages/Italian.lproj/MVConnections.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/Spanish.lproj/MVConnections.nib/info.nib (modified) (2 diffs)
- trunk/Languages/Spanish.lproj/MVConnections.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/pt_PT.lproj/MVConnections.nib/info.nib (modified) (2 diffs)
- trunk/Languages/pt_PT.lproj/MVConnections.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/zh_TW.lproj/MVConnections.nib/info.nib (modified) (1 diff)
- trunk/Languages/zh_TW.lproj/MVConnections.nib/keyedobjects.nib (modified) (previous)
- trunk/Panels/JVChatConsolePanel.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Chat Core.exp
r3545 r3582 15 15 _MVChatConnectionErrorNotification 16 16 _MVChatConnectionGotBeepNotification 17 _MVChatConnectionGotImportantMessageNotification 18 _MVChatConnectionGotInformationalMessageNotification 17 19 _MVChatConnectionGotPrivateMessageNotification 18 20 _MVChatConnectionGotRawMessageNotification trunk/Chat Core.xcodeproj/project.pbxproj
r3574 r3582 66 66 1CF6B82E07122672008ABEFA /* MVSILCChatRoom.m in Sources */ = {isa = PBXBuildFile; fileRef = 1CF6B4970710894D008ABEFA /* MVSILCChatRoom.m */; }; 67 67 1CF6B82F07122673008ABEFA /* MVSILCChatUser.m in Sources */ = {isa = PBXBuildFile; fileRef = 1CF6B4990710894D008ABEFA /* MVSILCChatUser.m */; }; 68 322F54D10B53F6730023AE39 /* ICBPacket.h in Headers */ = {isa = PBXBuildFile; fileRef = 322F54CF0B53F6730023AE39 /* ICBPacket.h */; }; 69 322F54D20B53F6730023AE39 /* ICBPacket.m in Sources */ = {isa = PBXBuildFile; fileRef = 322F54D00B53F6730023AE39 /* ICBPacket.m */; }; 70 325F167E0B39A22C008C627B /* MVICBChatConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = 325F167C0B39A22C008C627B /* MVICBChatConnection.h */; }; 71 325F167F0B39A22C008C627B /* MVICBChatConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 325F167D0B39A22C008C627B /* MVICBChatConnection.m */; }; 72 3272C2C90B3DA84900DF650E /* MVICBChatRoom.h in Headers */ = {isa = PBXBuildFile; fileRef = 3272C2C70B3DA84900DF650E /* MVICBChatRoom.h */; }; 73 3272C2CA0B3DA84900DF650E /* MVICBChatRoom.m in Sources */ = {isa = PBXBuildFile; fileRef = 3272C2C80B3DA84900DF650E /* MVICBChatRoom.m */; }; 74 32C46E1A0B3AB37E00B96B27 /* MVICBChatUser.h in Headers */ = {isa = PBXBuildFile; fileRef = 32C46E180B3AB37E00B96B27 /* MVICBChatUser.h */; }; 75 32C46E1B0B3AB37E00B96B27 /* MVICBChatUser.m in Sources */ = {isa = PBXBuildFile; fileRef = 32C46E190B3AB37E00B96B27 /* MVICBChatUser.m */; }; 68 76 431261C3072EE37A00720AD1 /* MVSILCFileTransfer.m in Sources */ = {isa = PBXBuildFile; fileRef = 431261C1072EE37A00720AD1 /* MVSILCFileTransfer.m */; }; 69 77 /* End PBXBuildFile section */ … … 143 151 1CF6B4980710894D008ABEFA /* MVSILCChatUser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MVSILCChatUser.h; path = "Chat Core/MVSILCChatUser.h"; sourceTree = "<group>"; }; 144 152 1CF6B4990710894D008ABEFA /* MVSILCChatUser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MVSILCChatUser.m; path = "Chat Core/MVSILCChatUser.m"; sourceTree = "<group>"; }; 153 322F54CF0B53F6730023AE39 /* ICBPacket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ICBPacket.h; path = "Chat Core/ICBPacket.h"; sourceTree = "<group>"; }; 154 322F54D00B53F6730023AE39 /* ICBPacket.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ICBPacket.m; path = "Chat Core/ICBPacket.m"; sourceTree = "<group>"; }; 155 325F167C0B39A22C008C627B /* MVICBChatConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MVICBChatConnection.h; path = "Chat Core/MVICBChatConnection.h"; sourceTree = "<group>"; }; 156 325F167D0B39A22C008C627B /* MVICBChatConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MVICBChatConnection.m; path = "Chat Core/MVICBChatConnection.m"; sourceTree = "<group>"; }; 157 3272C2C70B3DA84900DF650E /* MVICBChatRoom.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MVICBChatRoom.h; path = "Chat Core/MVICBChatRoom.h"; sourceTree = "<group>"; }; 158 3272C2C80B3DA84900DF650E /* MVICBChatRoom.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MVICBChatRoom.m; path = "Chat Core/MVICBChatRoom.m"; sourceTree = "<group>"; }; 159 32C46E180B3AB37E00B96B27 /* MVICBChatUser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MVICBChatUser.h; path = "Chat Core/MVICBChatUser.h"; sourceTree = "<group>"; }; 160 32C46E190B3AB37E00B96B27 /* MVICBChatUser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MVICBChatUser.m; path = "Chat Core/MVICBChatUser.m"; sourceTree = "<group>"; }; 145 161 431261C0072EE37A00720AD1 /* MVSILCFileTransfer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = MVSILCFileTransfer.h; path = "Chat Core/MVSILCFileTransfer.h"; sourceTree = "<group>"; }; 146 162 431261C1072EE37A00720AD1 /* MVSILCFileTransfer.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = MVSILCFileTransfer.m; path = "Chat Core/MVSILCFileTransfer.m"; sourceTree = "<group>"; }; … … 261 277 sourceTree = "<group>"; 262 278 }; 279 32C46E1F0B3AB3BC00B96B27 /* ICB Support */ = { 280 isa = PBXGroup; 281 children = ( 282 322F54CF0B53F6730023AE39 /* ICBPacket.h */, 283 322F54D00B53F6730023AE39 /* ICBPacket.m */, 284 325F167C0B39A22C008C627B /* MVICBChatConnection.h */, 285 325F167D0B39A22C008C627B /* MVICBChatConnection.m */, 286 3272C2C70B3DA84900DF650E /* MVICBChatRoom.h */, 287 3272C2C80B3DA84900DF650E /* MVICBChatRoom.m */, 288 32C46E180B3AB37E00B96B27 /* MVICBChatUser.h */, 289 32C46E190B3AB37E00B96B27 /* MVICBChatUser.m */, 290 ); 291 name = "ICB Support"; 292 sourceTree = "<group>"; 293 }; 263 294 F50B0A9F0170C89301A84BDE /* Sources & Headers */ = { 264 295 isa = PBXGroup; 265 296 children = ( 297 32C46E1F0B3AB3BC00B96B27 /* ICB Support */, 266 298 1C5CBF2D06FF92C90006C5B1 /* IRC Support */, 267 299 1C5CBF3006FF93550006C5B1 /* SILC Support */, … … 364 396 1C3560060B4CCE95008A93FA /* MVUtilities.h in Headers */, 365 397 1C5A491E0B50B7C000BC8CAD /* MVDirectChatConnection.h in Headers */, 398 325F167E0B39A22C008C627B /* MVICBChatConnection.h in Headers */, 399 32C46E1A0B3AB37E00B96B27 /* MVICBChatUser.h in Headers */, 400 3272C2C90B3DA84900DF650E /* MVICBChatRoom.h in Headers */, 401 322F54D10B53F6730023AE39 /* ICBPacket.h in Headers */, 366 402 ); 367 403 runOnlyForDeploymentPostprocessing = 0; … … 490 526 1C0FE8AB0B4F647D00855B9C /* MVDirectClientConnection.m in Sources */, 491 527 1C9C133A0B50A7AC005F9F28 /* MVDirectChatConnection.m in Sources */, 528 325F167F0B39A22C008C627B /* MVICBChatConnection.m in Sources */, 529 32C46E1B0B3AB37E00B96B27 /* MVICBChatUser.m in Sources */, 530 3272C2CA0B3DA84900DF650E /* MVICBChatRoom.m in Sources */, 531 322F54D20B53F6730023AE39 /* ICBPacket.m in Sources */, 492 532 ); 493 533 runOnlyForDeploymentPostprocessing = 0; trunk/Chat Core/MVChatConnection.h
r3526 r3582 1 1 typedef enum { 2 MVChatConnectionICBType = 'icbC', 2 3 MVChatConnectionIRCType = 'ircC', 3 4 MVChatConnectionSILCType = 'silC' … … 46 47 MVChatConnectionErroneusNicknameError = -12, 47 48 MVChatConnectionBannedFromServerError = -13, 48 MVChatConnectionServerPasswordIncorrectError = -14 49 MVChatConnectionServerPasswordIncorrectError = -14, 50 MVChatConnectionProtocolError = -15 49 51 } MVChatConnectionError; 50 52 … … 66 68 67 69 extern NSString *MVChatConnectionGotBeepNotification; 70 extern NSString *MVChatConnectionGotImportantMessageNotification; 71 extern NSString *MVChatConnectionGotInformationalMessageNotification; 68 72 extern NSString *MVChatConnectionGotRawMessageNotification; 69 73 extern NSString *MVChatConnectionGotPrivateMessageNotification; trunk/Chat Core/MVChatConnection.m
r3555 r3582 4 4 #import "MVChatUser.h" 5 5 #import "MVChatUserPrivate.h" 6 #import "MVICBChatConnection.h" 6 7 #import "MVIRCChatConnection.h" 7 8 #import "MVSILCChatConnection.h" … … 28 29 29 30 NSString *MVChatConnectionGotBeepNotification = @"MVChatConnectionGotBeepNotification"; 31 NSString *MVChatConnectionGotImportantMessageNotification = @"MVChatConnectionGotInformationalMessageNotification"; 32 NSString *MVChatConnectionGotInformationalMessageNotification = @"MVChatConnectionGotInformationalMessageNotification"; 30 33 NSString *MVChatConnectionGotRawMessageNotification = @"MVChatConnectionGotRawMessageNotification"; 31 34 NSString *MVChatConnectionGotPrivateMessageNotification = @"MVChatConnectionGotPrivateMessageNotification"; … … 54 57 + (BOOL) supportsURLScheme:(NSString *) scheme { 55 58 if( ! scheme ) return NO; 56 return ( [scheme isEqualToString:@"i rc"] || [scheme isEqualToString:@"silc"] );59 return ( [scheme isEqualToString:@"icb"] || [scheme isEqualToString:@"irc"] || [scheme isEqualToString:@"silc"] ); 57 60 } 58 61 59 62 + (NSArray *) defaultServerPortsForType:(MVChatConnectionType) type { 60 if( type == MVChatConnectionIRCType ) return [MVIRCChatConnection defaultServerPorts]; 63 if( type == MVChatConnectionICBType ) return [MVICBChatConnection defaultServerPorts]; 64 else if( type == MVChatConnectionIRCType ) return [MVIRCChatConnection defaultServerPorts]; 61 65 else if( type == MVChatConnectionSILCType ) return [MVSILCChatConnection defaultServerPorts]; 62 66 return nil; … … 96 100 [self release]; 97 101 98 if( connectionType == MVChatConnectionIRCType ) { 102 if( connectionType == MVChatConnectionICBType ) { 103 self = [[MVICBChatConnection allocWithZone:nil] init]; 104 } else if( connectionType == MVChatConnectionIRCType ) { 99 105 self = [[MVIRCChatConnection allocWithZone:nil] init]; 100 106 } else if ( connectionType == MVChatConnectionSILCType ) { … … 109 115 110 116 int connectionType = 0; 111 if( [[serverURL scheme] isEqualToString:@"irc"] ) connectionType = MVChatConnectionIRCType; 117 if( [[serverURL scheme] isEqualToString:@"icb"] ) connectionType = MVChatConnectionICBType; 118 else if( [[serverURL scheme] isEqualToString:@"irc"] ) connectionType = MVChatConnectionIRCType; 112 119 else if( [[serverURL scheme] isEqualToString:@"silc"] ) connectionType = MVChatConnectionSILCType; 113 120 trunk/Controllers/JVChatController.m
r3558 r3582 638 638 - (void) _errorOccurred:(NSNotification *) notification { 639 639 NSError *error = [[notification userInfo] objectForKey:@"error"]; 640 if( [error code] == MVChatConnectionNoSuchUserError ) { 640 if( [error code] == MVChatConnectionErroneusNicknameError ) { 641 NSString *nickname = [[error userInfo] objectForKey:@"nickname"]; 642 NSAlert *alert = [[[NSAlert alloc] init] autorelease]; 643 [alert setMessageText:NSLocalizedString( @"Connection error", "connection error alert dialog title" )]; 644 [alert setInformativeText:[NSString stringWithFormat:NSLocalizedString( @"Could not connect to server because the requested nickname (%@) was unavailable or invalid.", "connection error alert dialog message" ), nickname]]; 645 [alert setAlertStyle:NSInformationalAlertStyle]; 646 [alert runModal]; 647 } else if( [error code] == MVChatConnectionNoSuchUserError ) { 641 648 MVChatUser *user = [[error userInfo] objectForKey:@"user"]; 642 649 JVDirectChatPanel *panel = [self chatViewControllerForUser:user ifExists:YES]; … … 648 655 [alert runModal]; 649 656 } 657 } else if( [error code] == MVChatConnectionProtocolError ) { 658 NSString *reason = [[error userInfo] objectForKey:@"reason"]; 659 NSAlert *alert = [[[NSAlert alloc] init] autorelease]; 660 [alert setMessageText:[NSString stringWithFormat:NSLocalizedString( @"Chat protocol error", "malformed packet alert dialog title" )]]; 661 [alert setInformativeText:[NSString stringWithFormat:NSLocalizedString( @"Client got a malformed packet: %@", "malformd packet alert dialog message" ), reason]]; 662 [alert setAlertStyle:NSInformationalAlertStyle]; 663 [alert runModal]; 650 664 } 651 665 } trunk/Controllers/MVConnectionsController.m
r3555 r3582 109 109 #pragma mark - 110 110 111 - (MVChatConnectionType) newTypeToConnectionType { 112 MVChatConnectionType type; 113 switch( [[newType selectedItem] tag] ) { 114 case 0: 115 type = MVChatConnectionICBType; 116 break; 117 case 1: 118 type = MVChatConnectionIRCType; 119 break; 120 case 2: 121 type = MVChatConnectionSILCType; 122 break; 123 default: 124 NSAssert(NO, @"Unsupported tag type\n"); 125 type = nil; 126 } 127 return type; 128 } 129 111 130 - (id) initWithWindowNibName:(NSString *) windowNibName { 112 131 if( ( self = [super initWithWindowNibName:@"MVConnections"] ) ) { … … 275 294 [newServerPassword setObjectValue:@""]; 276 295 277 MVChatConnectionType type = ( [[newType selectedItem] tag] == 1 ? MVChatConnectionIRCType : MVChatConnectionSILCType );296 MVChatConnectionType type = [self newTypeToConnectionType]; 278 297 if( [[MVChatConnection defaultServerPortsForType:type] count] ) 279 298 [newPort setObjectValue:[[MVChatConnection defaultServerPortsForType:type] objectAtIndex:0]]; … … 284 303 285 304 - (IBAction) changeNewConnectionProtocol:(id) sender { 286 MVChatConnectionType type = ( [[newType selectedItem] tag] == 1 ? MVChatConnectionIRCType : MVChatConnectionSILCType );305 MVChatConnectionType type = [self newTypeToConnectionType]; 287 306 288 307 [newPort reloadData]; … … 290 309 [newPort setObjectValue:[[MVChatConnection defaultServerPortsForType:type] objectAtIndex:0]]; 291 310 292 if( type == MVChatConnectionIRCType ) { 311 if( type == MVChatConnectionICBType ) { 312 [sslConnection setEnabled:NO]; 313 [newProxy setEnabled:NO]; 314 } else if( type == MVChatConnectionIRCType ) { 293 315 [sslConnection setEnabled:YES]; 294 316 [newProxy setEnabled:YES]; … … 397 419 [openConnection orderOut:nil]; 398 420 399 MVChatConnectionType type = ( [[newType selectedItem] tag] == 1 ? MVChatConnectionIRCType : MVChatConnectionSILCType );421 MVChatConnectionType type = [self newTypeToConnectionType]; 400 422 401 423 MVChatConnection *connection = [[[MVChatConnection alloc] initWithType:type] autorelease]; … … 1295 1317 return [[[NSUserDefaults standardUserDefaults] arrayForKey:@"JVChatServers"] count]; 1296 1318 } else if( comboBox == newPort ) { 1297 MVChatConnectionType type = ( [[newType selectedItem] tag] == 1 ? MVChatConnectionIRCType : MVChatConnectionSILCType );1319 MVChatConnectionType type = [self newTypeToConnectionType]; 1298 1320 return [[MVChatConnection defaultServerPortsForType:type] count]; 1299 1321 } … … 1306 1328 return [[[NSUserDefaults standardUserDefaults] arrayForKey:@"JVChatServers"] objectAtIndex:index]; 1307 1329 } else if( comboBox == newPort ) { 1308 MVChatConnectionType type = ( [[newType selectedItem] tag] == 1 ? MVChatConnectionIRCType : MVChatConnectionSILCType );1330 MVChatConnectionType type = [self newTypeToConnectionType]; 1309 1331 return [[MVChatConnection defaultServerPortsForType:type] objectAtIndex:index]; 1310 1332 } … … 1614 1636 1615 1637 MVChatConnection *connection = nil; 1616 MVChatConnectionType type = ( ! [(NSString *)[info objectForKey:@"type"] length] ? MVChatConnectionIRCType : ( [[info objectForKey:@"type"] isEqualToString:@"irc"] ? MVChatConnectionIRCType : ( [[info objectForKey:@"type"] isEqualToString:@"silc"] ? MVChatConnectionSILCType : MVChatConnectionIRCType ) ) ); 1638 1639 MVChatConnectionType type; 1640 if( ! [(NSString *)[info objectForKey:@"type"] length] ) 1641 type = MVChatConnectionIRCType; 1642 else { 1643 if( [[info objectForKey:@"type"] isEqualToString:@"icb"] ) 1644 type = MVChatConnectionICBType; 1645 else if( [[info objectForKey:@"type"] isEqualToString:@"irc"] ) 1646 type = MVChatConnectionIRCType; 1647 else if( [[info objectForKey:@"type"] isEqualToString:@"silc"] ) 1648 type = MVChatConnectionSILCType; 1649 else 1650 type = MVChatConnectionIRCType; 1651 } 1617 1652 1618 1653 if( [info objectForKey:@"url"] ) { trunk/Languages/Dutch.lproj/MVConnections.nib/info.nib
r2997 r3582 6 6 <string>39 73 381 300 0 0 1440 878 </string> 7 7 <key>IBFramework Version</key> 8 <string>4 39.0</string>8 <string>454.0</string> 9 9 <key>IBGroupedObjects</key> 10 10 <dict> … … 31 31 </array> 32 32 <key>IBSystem Version</key> 33 <string> 8C46</string>33 <string>9A321</string> 34 34 </dict> 35 35 </plist> trunk/Languages/English.lproj/MVConnections.nib/info.nib
r2867 r3582 6 6 <string>39 73 381 300 0 0 1440 878 </string> 7 7 <key>IBFramework Version</key> 8 <string>4 39.0</string>8 <string>454.0</string> 9 9 <key>IBGroupedObjects</key> 10 10 <dict> … … 28 28 <key>IBOpenObjects</key> 29 29 <array> 30 <integer>776</integer> 31 <integer>337</integer> 30 <integer>267</integer> 32 31 </array> 33 32 <key>IBSystem Version</key> 34 <string> 8C46</string>33 <string>9A321</string> 35 34 </dict> 36 35 </plist> trunk/Languages/French.lproj/MVConnections.nib/info.nib
r3040 r3582 6 6 <string>39 73 381 300 0 0 1440 878 </string> 7 7 <key>IBFramework Version</key> 8 <string>4 39.0</string>8 <string>454.0</string> 9 9 <key>IBGroupedObjects</key> 10 10 <dict> … … 34 34 <key>IBOpenObjects</key> 35 35 <array> 36 <integer> 776</integer>36 <integer>267</integer> 37 37 </array> 38 38 <key>IBSystem Version</key> 39 <string> 8F46</string>39 <string>9A321</string> 40 40 </dict> 41 41 </plist> trunk/Languages/German.lproj/MVConnections.nib/info.nib
r3575 r3582 6 6 <string>39 73 381 300 0 0 1440 878 </string> 7 7 <key>IBFramework Version</key> 8 <string>4 46.1</string>8 <string>454.0</string> 9 9 <key>IBLockedObjects</key> 10 10 <array> 11 11 <integer>5</integer> 12 12 </array> 13 <key>IBOpenObjects</key> 14 <array> 15 <integer>267</integer> 16 </array> 13 17 <key>IBSystem Version</key> 14 <string> 8L2127</string>18 <string>9A321</string> 15 19 </dict> 16 20 </plist> trunk/Languages/Italian.lproj/MVConnections.nib/info.nib
r3330 r3582 6 6 <string>39 73 381 300 0 0 1440 878 </string> 7 7 <key>IBFramework Version</key> 8 <string>4 46.1</string>8 <string>454.0</string> 9 9 <key>IBLockedObjects</key> 10 10 <array> … … 19 19 <array> 20 20 <integer>267</integer> 21 <integer>776</integer>22 21 </array> 23 22 <key>IBSystem Version</key> 24 <string> 8J2135a</string>23 <string>9A321</string> 25 24 </dict> 26 25 </plist> trunk/Languages/Spanish.lproj/MVConnections.nib/info.nib
r3441 r3582 6 6 <string>39 75 381 300 0 0 1440 878 </string> 7 7 <key>IBFramework Version</key> 8 <string>4 46.1</string>8 <string>454.0</string> 9 9 <key>IBGroupedObjects</key> 10 10 <dict> … … 26 26 <integer>5</integer> 27 27 </array> 28 <key>IBOpenObjects</key> 29 <array> 30 <integer>267</integer> 31 </array> 28 32 <key>IBSystem Version</key> 29 <string> 8L2127</string>33 <string>9A321</string> 30 34 </dict> 31 35 </plist> trunk/Languages/pt_PT.lproj/MVConnections.nib/info.nib
r3061 r3582 6 6 <string>39 73 381 300 0 0 1440 878 </string> 7 7 <key>IBFramework Version</key> 8 <string>4 43.0</string>8 <string>454.0</string> 9 9 <key>IBGroupedObjects</key> 10 10 <dict> … … 34 34 <key>IBOpenObjects</key> 35 35 <array> 36 <integer> 776</integer>36 <integer>267</integer> 37 37 </array> 38 38 <key>IBSystem Version</key> 39 <string> 8F46</string>39 <string>9A321</string> 40 40 </dict> 41 41 </plist> trunk/Languages/zh_TW.lproj/MVConnections.nib/info.nib
r3062 r3582 6 6 <string>39 73 381 300 0 0 1440 878 </string> 7 7 <key>IBFramework Version</key> 8 <string>4 43.0</string>8 <string>454.0</string> 9 9 <key>IBLockedObjects</key> 10 10 <array> 11 11 <integer>5</integer> 12 12 </array> 13 <key>IBOpenObjects</key> 14 <array> 15 <integer>267</integer> 16 </array> 13 17 <key>IBSystem Version</key> 14 <string> 8F46</string>18 <string>9A321</string> 15 19 </dict> 16 20 </plist> trunk/Panels/JVChatConsolePanel.m
r3573 r3582 23 23 _ignorePRIVMSG = [[NSUserDefaults standardUserDefaults] boolForKey:@"JVChatConsolePanelIgnoreUserChatMessages"]; 24 24 25 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector( _gotImportantMessage: ) name:MVChatConnectionGotImportantMessageNotification object:connection]; 26 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector( _gotInformationalMessage: ) name:MVChatConnectionGotInformationalMessageNotification object:connection]; 25 27 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector( _gotRawMessage: ) name:MVChatConnectionGotRawMessageNotification object:connection]; 26 28 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector( clearConsole: ) name:MVChatConnectionWillConnectNotification object:connection]; … … 647 649 648 650 @implementation JVChatConsolePanel (JVChatConsolePanelPrivate) 651 - (void) _gotImportantMessage:(NSNotification *) notification { 652 if( _paused ) return; 653 [self addMessageToDisplay:[[notification userInfo] objectForKey:@"message"] asOutboundMessage:NO]; 654 } 655 656 - (void) _gotInformationalMessage:(NSNotification *) notification { 657 if( _paused ) return; 658 [self addMessageToDisplay:[[notification userInfo] objectForKey:@"message"] asOutboundMessage:NO]; 659 } 660 649 661 - (void) _gotRawMessage:(NSNotification *) notification { 650 662 if( _paused ) return;
