Skip to content
Browse files

Adding warning for accidental non-arc compilation.

  • Loading branch information...
1 parent 09b594a commit 4c2cdfa40f5913b1cd4b1f163910d279b0a35524 @robbiehanson committed Nov 22, 2011
Showing with 339 additions and 125 deletions.
  1. +4 −0 Categories/NSData+XMPP.m
  2. +4 −0 Categories/NSNumber+XMPP.m
  3. +4 −0 Core/XMPPIQ.m
  4. +5 −0 Core/XMPPJID.m
  5. +4 −0 Core/XMPPMessage.m
  6. +4 −0 Core/XMPPModule.m
  7. +4 −0 Core/XMPPParser.m
  8. +4 −0 Core/XMPPPresence.m
  9. +4 −0 Core/XMPPStream.m
  10. +4 −0 Extensions/CoreDataStorage/XMPPCoreDataStorage.m
  11. +3 −0 Extensions/Reconnect/XMPPReconnect.m
  12. +4 −0 Extensions/Roster/CoreDataStorage/XMPPGroupCoreDataStorageObject.m
  13. +4 −0 Extensions/Roster/CoreDataStorage/XMPPResourceCoreDataStorageObject.m
  14. +4 −0 Extensions/Roster/CoreDataStorage/XMPPRosterCoreDataStorage.m
  15. +5 −0 Extensions/Roster/CoreDataStorage/XMPPUserCoreDataStorageObject.m
  16. +5 −1 Extensions/Roster/MemoryStorage/XMPPResourceMemoryStorage.m
  17. +4 −0 Extensions/Roster/MemoryStorage/XMPPRosterMemoryStorage.m
  18. +3 −0 Extensions/Roster/MemoryStorage/XMPPUserMemoryStorage.m
  19. +4 −0 Extensions/Roster/XMPPRoster.m
  20. +8 −4 Extensions/XEP-0009/XMPPIQ+JabberRPC.m
  21. +5 −4 Extensions/XEP-0009/XMPPIQ+JabberRPCResonse.m
  22. +12 −22 Extensions/XEP-0009/XMPPJabberRPCModule.m
  23. +12 −10 Extensions/XEP-0045/XMPPRoom.h
  24. +32 −64 Extensions/XEP-0045/XMPPRoom.m
  25. +3 −3 Extensions/XEP-0045/XMPPRoomOccupant.h
  26. +6 −8 Extensions/XEP-0045/XMPPRoomOccupant.m
  27. +4 −0 Extensions/XEP-0054/CoreDataStorage/XMPPvCardCoreDataStorage.m
  28. +4 −0 Extensions/XEP-0054/CoreDataStorage/XMPPvCardCoreDataStorageObject.m
  29. +6 −3 Extensions/XEP-0054/XMPPvCardTemp.m
  30. +4 −0 Extensions/XEP-0054/XMPPvCardTempAdr.m
  31. +4 −0 Extensions/XEP-0054/XMPPvCardTempAdrTypes.m
  32. +3 −1 Extensions/XEP-0054/XMPPvCardTempBase.m
  33. +4 −0 Extensions/XEP-0054/XMPPvCardTempEmail.m
  34. +4 −0 Extensions/XEP-0054/XMPPvCardTempLabel.m
  35. +8 −1 Extensions/XEP-0054/XMPPvCardTempModule.m
  36. +4 −0 Extensions/XEP-0054/XMPPvCardTempTel.m
  37. +4 −0 Extensions/XEP-0060/XMPPPubSub.m
  38. +4 −0 Extensions/XEP-0065/TURNSocket.m
  39. +4 −3 Extensions/XEP-0082/NSDate+XMPPDateTimeProfiles.m
  40. +3 −0 Extensions/XEP-0082/XMPPDateTimeProfiles.m
  41. +4 −0 Extensions/XEP-0100/XMPPTransports.m
  42. +4 −0 Extensions/XEP-0115/CoreDataStorage/XMPPCapabilitiesCoreDataStorage.m
  43. +4 −0 Extensions/XEP-0115/CoreDataStorage/XMPPCapsCoreDataStorageObject.m
  44. +4 −0 Extensions/XEP-0115/CoreDataStorage/XMPPCapsResourceCoreDataStorageObject.m
  45. +4 −0 Extensions/XEP-0115/XMPPCapabilities.m
  46. +3 −0 Extensions/XEP-0153/XMPPvCardAvatarModule.m
  47. +4 −0 Extensions/XEP-0199/XMPPAutoPing.m
  48. +4 −0 Extensions/XEP-0199/XMPPPing.m
  49. +4 −0 Extensions/XEP-0202/XMPPAutoTime.m
  50. +4 −0 Extensions/XEP-0202/XMPPTime.m
  51. +4 −0 Extensions/XEP-0203/XMPPElement+Delay.m
  52. +4 −0 Utilities/DDList.m
  53. +4 −0 Utilities/GCDMulticastDelegate.m
  54. +5 −0 Utilities/XMPPDigestAuthentication.m
  55. +4 −0 Utilities/XMPPIDTracker.m
  56. +4 −0 Utilities/XMPPSRVResolver.m
  57. +5 −0 Utilities/XMPPXFacebookPlatformAuthentication.m
  58. +55 −1 Xcode/DesktopXMPP/XMPPStream.xcodeproj/project.pbxproj
View
4 Categories/NSData+XMPP.m
@@ -1,6 +1,10 @@
#import "NSData+XMPP.h"
#import <CommonCrypto/CommonDigest.h>
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
@implementation NSData (XMPP)
View
4 Categories/NSNumber+XMPP.m
@@ -1,5 +1,9 @@
#import "NSNumber+XMPP.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
@implementation NSNumber (XMPP)
View
4 Core/XMPPIQ.m
@@ -4,6 +4,10 @@
#import <objc/runtime.h>
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
@implementation XMPPIQ
View
5 Core/XMPPJID.m
@@ -1,6 +1,11 @@
#import "XMPPJID.h"
#import "LibIDN.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
+
@implementation XMPPJID
+ (BOOL)validateDomain:(NSString *)domain
View
4 Core/XMPPMessage.m
@@ -4,6 +4,10 @@
#import <objc/runtime.h>
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
@implementation XMPPMessage
View
4 Core/XMPPModule.m
@@ -2,6 +2,10 @@
#import "XMPPStream.h"
#import "XMPPLogging.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
View
4 Core/XMPPParser.m
@@ -6,6 +6,10 @@
#import "DDXMLPrivate.h"
#endif
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_VERBOSE;
View
4 Core/XMPPPresence.m
@@ -4,6 +4,10 @@
#import <objc/runtime.h>
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
@implementation XMPPPresence
View
4 Core/XMPPStream.m
@@ -21,6 +21,10 @@
#import <CFNetwork/CFNetwork.h>
#endif
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
#if TARGET_OS_IPHONE
#define SOCKET_BUFFER_SIZE 512 // bytes
#else
View
4 Extensions/CoreDataStorage/XMPPCoreDataStorage.m
@@ -8,6 +8,10 @@
#import <objc/runtime.h>
#import <libkern/OSAtomic.h>
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_VERBOSE;
View
3 Extensions/Reconnect/XMPPReconnect.m
@@ -3,6 +3,9 @@
#import "XMPPLogging.h"
#import "NSXMLElement+XMPP.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
#define IMPOSSIBLE_REACHABILITY_FLAGS 0xFFFFFFFF
View
4 Extensions/Roster/CoreDataStorage/XMPPGroupCoreDataStorageObject.m
@@ -5,6 +5,10 @@
// Copyright (c) 2011 RF.com. All rights reserved.
//
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
#import "XMPPGroupCoreDataStorageObject.h"
#import "XMPPUserCoreDataStorageObject.h"
View
4 Extensions/Roster/CoreDataStorage/XMPPResourceCoreDataStorageObject.m
@@ -4,6 +4,10 @@
#import "XMPPUserCoreDataStorageObject.h"
#import "XMPPResourceCoreDataStorageObject.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
View
4 Extensions/Roster/CoreDataStorage/XMPPRosterCoreDataStorage.m
@@ -8,6 +8,10 @@
#import "XMPPLogging.h"
#import "NSNumber+XMPP.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_INFO | XMPP_LOG_FLAG_TRACE;
View
5 Extensions/Roster/CoreDataStorage/XMPPUserCoreDataStorageObject.m
@@ -5,6 +5,11 @@
#import "XMPPGroupCoreDataStorageObject.h"
#import "NSNumber+XMPP.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
+
@interface XMPPUserCoreDataStorageObject ()
@property(nonatomic,strong) XMPPJID *primitiveJid;
View
6 Extensions/Roster/MemoryStorage/XMPPResourceMemoryStorage.m
@@ -2,6 +2,11 @@
#import "XMPPElement+Delay.h"
#import "XMPPRosterMemoryStoragePrivate.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
+
@implementation XMPPResourceMemoryStorage
- (id)initWithPresence:(XMPPPresence *)aPresence
@@ -20,7 +25,6 @@ - (id)initWithPresence:(XMPPPresence *)aPresence
return self;
}
-
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#pragma mark Copying
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
View
4 Extensions/Roster/MemoryStorage/XMPPRosterMemoryStorage.m
@@ -4,6 +4,10 @@
#import "XMPPRosterMemoryStoragePrivate.h"
#import "XMPPLogging.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN; // | XMPP_LOG_FLAG_TRACE;
View
3 Extensions/Roster/MemoryStorage/XMPPUserMemoryStorage.m
@@ -1,6 +1,9 @@
#import "XMPP.h"
#import "XMPPRosterMemoryStoragePrivate.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
@interface XMPPUserMemoryStorage (PrivateAPI)
- (void)recalculatePrimaryResource;
View
4 Extensions/Roster/XMPPRoster.m
@@ -3,6 +3,10 @@
#import "XMPPLogging.h"
#import "XMPPFramework.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
View
12 Extensions/XEP-0009/XMPPIQ+JabberRPC.m
@@ -5,10 +5,14 @@
// Created by Eric Chamberlain on 5/16/10.
//
-#import "XMPPIQ+JabberRPC.h"
-#import "NSData+XMPP.h"
+#import "XMPPIQ+JabberRPC.h"
#import "XMPP.h"
+#import "NSData+XMPP.h"
+
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
@implementation XMPPIQ(JabberRPC)
@@ -102,8 +106,8 @@ +(NSXMLElement *)valueElementFromObject:(id)object {
return [self valueElementFromArray: object];
} else if ([object isKindOfClass: [NSDictionary class]]) {
return [self valueElementFromDictionary: object];
- } else if (((CFBooleanRef)object == kCFBooleanTrue) || ((CFBooleanRef)object == kCFBooleanFalse)) {
- return [self valueElementFromBoolean: (CFBooleanRef)object];
+ } else if (((__bridge CFBooleanRef)object == kCFBooleanTrue) || ((__bridge CFBooleanRef)object == kCFBooleanFalse)) {
+ return [self valueElementFromBoolean: (__bridge CFBooleanRef)object];
} else if ([object isKindOfClass: [NSNumber class]]) {
return [self valueElementFromNumber: object];
} else if ([object isKindOfClass: [NSString class]]) {
View
9 Extensions/XEP-0009/XMPPIQ+JabberRPCResonse.m
@@ -6,12 +6,14 @@
//
#import "XMPPIQ+JabberRPCResonse.h"
-
+#import "XMPPJabberRPCModule.h"
+#import "XMPPLogging.h"
#import "NSData+XMPP.h"
#import "NSXMLElement+XMPP.h"
-#import "XMPPJabberRPCModule.h"
-#import "XMPPLogging.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
// Log levels: off, error, warn, info, verbose
#if DEBUG
@@ -240,7 +242,6 @@ - (NSDate *)parseDateString: (NSString *)dateString withFormat: (NSString *)form
result = [dateFormatter dateFromString: dateString];
- [dateFormatter release];
return result;
}
View
34 Extensions/XEP-0009/XMPPJabberRPCModule.m
@@ -10,6 +10,11 @@
#import "XMPPIQ+JabberRPC.h"
#import "XMPPIQ+JabberRPCResonse.h"
#import "XMPPLogging.h"
+#import "XMPPFramework.h"
+
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
// Log levels: off, error, warn, info, verbose
// Log flags: trace
@@ -19,13 +24,6 @@
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
#endif
-// can turn off if not acting as a Jabber-RPC server
-#define INTEGRATE_WITH_CAPABILITIES 1
-
-#if INTEGRATE_WITH_CAPABILITIES
-#import "XMPPCapabilities.h"
-#endif
-
NSString *const XMPPJabberRPCErrorDomain = @"XMPPJabberRPCErrorDomain";
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -87,9 +85,7 @@ - (void)cancelTimer
- (void)dealloc
{
[self cancelTimer];
- [rpcID release];
- [super dealloc];
}
@end
@@ -158,7 +154,7 @@ - (BOOL)activate:(XMPPStream *)aXmppStream
if ([super activate:aXmppStream])
{
- #if INTEGRATE_WITH_CAPABILITIES
+ #ifdef _XMPP_CAPABILITIES_H
[xmppStream autoAddDelegate:self delegateQueue:moduleQueue toModulesOfClass:[XMPPCapabilities class]];
#endif
@@ -172,7 +168,7 @@ - (void)deactivate
{
XMPPLogTrace();
-#if INTEGRATE_WITH_CAPABILITIES
+#ifdef _XMPP_CAPABILITIES_H
[xmppStream removeAutoDelegate:self delegateQueue:moduleQueue fromModulesOfClass:[XMPPCapabilities class]];
#endif
@@ -183,8 +179,6 @@ - (void)dealloc
{
XMPPLogTrace();
- [rpcIDs release];
- [super dealloc];
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -204,13 +198,10 @@ - (NSString *)sendRpcIQ:(XMPPIQ *)iq withTimeout:(NSTimeInterval)timeout
dispatch_source_t timer = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0, moduleQueue);
- dispatch_source_set_event_handler(timer, ^{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
-
- [self timeoutRemoveRpcID:elementID];
+ dispatch_source_set_event_handler(timer, ^{ @autoreleasepool {
- [pool drain];
- });
+ [self timeoutRemoveRpcID:elementID];
+ }});
dispatch_time_t tt = dispatch_time(DISPATCH_TIME_NOW, (timeout * NSEC_PER_SEC));
@@ -220,7 +211,6 @@ - (NSString *)sendRpcIQ:(XMPPIQ *)iq withTimeout:(NSTimeInterval)timeout
RPCID *rpcID = [[RPCID alloc] initWithRpcID:elementID timer:timer];
[rpcIDs setObject:rpcID forKey:elementID];
- [rpcID release];
[xmppStream sendElement:iq];
@@ -310,7 +300,7 @@ - (BOOL)xmppStream:(XMPPStream *)sender didReceiveIQ:(XMPPIQ *)iq
[rpcID cancelTimer];
[rpcIDs removeObjectForKey:elementID];
-#if INTEGRATE_WITH_CAPABILITIES
+#ifdef _XMPP_CAPABILITIES_H
} else if ([iq isSetIQ]) {
// we would receive set when implementing Jabber-RPC server
@@ -327,7 +317,7 @@ - (BOOL)xmppStream:(XMPPStream *)sender didReceiveIQ:(XMPPIQ *)iq
#pragma mark XMPPCapabilities delegate
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-#if INTEGRATE_WITH_CAPABILITIES
+#ifdef _XMPP_CAPABILITIES_H
/**
* If an XMPPCapabilites instance is used we want to advertise our support for JabberRPC.
**/
View
22 Extensions/XEP-0045/XMPPRoom.h
@@ -10,24 +10,26 @@
@interface XMPPRoom : XMPPModule
{
- NSString *roomName;
- NSString *nickName;
- NSString *subject;
- NSString *invitedUser;
+ __strong NSString *roomName;
+ __strong NSString *nickName;
+ __strong NSString *subject;
+ __strong NSString *invitedUser;
+
BOOL _isJoined;
- NSMutableDictionary *occupants;
+
+ __strong NSMutableDictionary *occupants;
}
- (id)initWithRoomName:(NSString *)roomName nickName:(NSString *)nickName;
- (id)initWithRoomName:(NSString *)roomName nickName:(NSString *)nickName dispatchQueue:(dispatch_queue_t)queue;
-@property (readonly) NSString *roomName;
-@property (readonly) NSString *nickName;
-@property (readonly) NSString *subject;
+@property (weak, readonly) NSString *roomName;
+@property (weak, readonly) NSString *nickName;
+@property (weak, readonly) NSString *subject;
-@property (readonly, assign) BOOL isJoined;
+@property (readonly) BOOL isJoined;
-@property (readonly) NSDictionary *occupants;
+@property (weak, readonly) NSDictionary *occupants;
@property (readwrite, copy) NSString *invitedUser;
View
96 Extensions/XEP-0045/XMPPRoom.m
@@ -2,6 +2,9 @@
#import "XMPPMessage+XEP0045.h"
#import "XMPPLogging.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
// Log levels: off, error, warn, info, verbose
// Log flags: trace
@@ -94,15 +97,6 @@ - (void)deactivate
[super deactivate];
}
-- (void)dealloc
-{
- [roomName release];
- [nickName release];
- [subject release];
- [invitedUser release];
- [occupants release];
- [super dealloc];
-}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#pragma mark Properties
@@ -118,7 +112,7 @@ - (NSString *)roomName
{
// This variable is readonly - set in init method and never changed.
- return [[roomName retain] autorelease];
+ return roomName;
}
}
@@ -132,7 +126,7 @@ - (NSString *)nickName
{
// This variable is readonly - set in init method and never changed.
- return [[nickName retain] autorelease];
+ return nickName;
}
}
@@ -147,10 +141,10 @@ - (NSString *)subject
__block NSString *result;
dispatch_sync(moduleQueue, ^{
- result = [subject retain];
+ result = subject;
});
- return [result autorelease];
+ return result;
}
}
@@ -201,7 +195,7 @@ - (NSDictionary *)occupants
result = [occupants copy];
});
- return [result autorelease];
+ return result;
}
}
@@ -216,10 +210,10 @@ - (NSString *)invitedUser
__block NSString *result;
dispatch_sync(moduleQueue, ^{
- result = [invitedUser retain];
+ result = invitedUser;
});
- return [result autorelease];
+ return result;
}
}
@@ -229,8 +223,7 @@ - (void)setInvitedUser:(NSString *)newInvitedUser
{
if (![invitedUser isEqual:newInvitedUser])
{
- [invitedUser release];
- invitedUser = [newInvitedUser retain];
+ invitedUser = newInvitedUser;
}
}
else
@@ -241,12 +234,10 @@ - (void)setInvitedUser:(NSString *)newInvitedUser
if (![invitedUser isEqual:newInvitedUserCopy])
{
- [invitedUser release];
- invitedUser = [newInvitedUserCopy retain];
+ invitedUser = newInvitedUserCopy;
}
});
- [newInvitedUserCopy release];
}
}
@@ -256,8 +247,7 @@ - (void)setInvitedUser:(NSString *)newInvitedUser
- (void)createOrJoinRoom
{
- dispatch_block_t block = ^{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ dispatch_block_t block = ^{ @autoreleasepool {
XMPPLogTrace();
@@ -274,9 +264,7 @@ - (void)createOrJoinRoom
[presence addChild:x];
[xmppStream sendElement:presence];
-
- [pool drain];
- };
+ }};
if (dispatch_get_current_queue() == moduleQueue)
block();
@@ -286,8 +274,7 @@ - (void)createOrJoinRoom
- (void)sendInstantRoomConfig
{
- dispatch_block_t block = ^{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ dispatch_block_t block = ^{ @autoreleasepool {
XMPPLogTrace();
@@ -313,9 +300,7 @@ - (void)sendInstantRoomConfig
[iq addChild:query];
[xmppStream sendElement:iq];
-
- [pool drain];
- };
+ }};
if (dispatch_get_current_queue() == moduleQueue)
block();
@@ -325,8 +310,7 @@ - (void)sendInstantRoomConfig
- (void)joinRoom
{
- dispatch_block_t block = ^{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ dispatch_block_t block = ^{ @autoreleasepool {
XMPPLogTrace();
@@ -339,8 +323,7 @@ - (void)joinRoom
[xmppStream sendElement:presence];
- [pool drain];
- };
+ }};
if (dispatch_get_current_queue() == moduleQueue)
block();
@@ -350,8 +333,7 @@ - (void)joinRoom
- (void)leaveRoom
{
- dispatch_block_t block = ^{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ dispatch_block_t block = ^{ @autoreleasepool {
XMPPLogTrace();
@@ -366,8 +348,7 @@ - (void)leaveRoom
[xmppStream sendElement:presence];
self.isJoined = NO;
- [pool drain];
- };
+ }};
if (dispatch_get_current_queue() == moduleQueue)
block();
@@ -382,28 +363,23 @@ - (void)chageNickForRoom:(NSString *)newNickName
{
NSString *newNickNameCopy = [newNickName copy];
- dispatch_block_t block = ^{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ dispatch_block_t block = ^{ @autoreleasepool {
XMPPLogTrace();
if (![nickName isEqual:newNickNameCopy])
{
- [nickName release];
- nickName = [newNickNameCopy retain];
+ nickName = newNickNameCopy;
[self joinRoom];
}
-
- [pool drain];
- };
+ }};
if (dispatch_get_current_queue() == moduleQueue)
block();
else
dispatch_async(moduleQueue, block);
- [newNickNameCopy release];
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -412,8 +388,7 @@ - (void)chageNickForRoom:(NSString *)newNickName
- (void)inviteUser:(XMPPJID *)jid withMessage:(NSString *)inviteMessageStr
{
- dispatch_block_t block = ^{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ dispatch_block_t block = ^{ @autoreleasepool {
XMPPLogTrace();
@@ -442,8 +417,7 @@ - (void)inviteUser:(XMPPJID *)jid withMessage:(NSString *)inviteMessageStr
[xmppStream sendElement:message];
- [pool drain];
- };
+ }};
if (dispatch_get_current_queue() == moduleQueue)
block();
@@ -453,16 +427,14 @@ - (void)inviteUser:(XMPPJID *)jid withMessage:(NSString *)inviteMessageStr
- (void)acceptInvitation
{
- dispatch_block_t block = ^{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ dispatch_block_t block = ^{ @autoreleasepool {
XMPPLogTrace();
// Just need to send presence to room to accept it. We are done.
[self joinRoom];
- [pool drain];
- };
+ }};
if (dispatch_get_current_queue() == moduleQueue)
block();
@@ -477,8 +449,7 @@ - (void)rejectInvitation
- (void)rejectInvitationWithMessage:(NSString *)rejectMessageStr
{
- dispatch_block_t block = ^{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ dispatch_block_t block = ^{ @autoreleasepool {
XMPPLogTrace();
@@ -514,8 +485,7 @@ - (void)rejectInvitationWithMessage:(NSString *)rejectMessageStr
[xmppStream sendElement:message];
- [pool drain];
- };
+ }};
if (dispatch_get_current_queue() == moduleQueue)
block();
@@ -531,8 +501,7 @@ - (void)sendMessage:(NSString *)msg
{
if ([msg length] == 0) return;
- dispatch_block_t block = ^{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ dispatch_block_t block = ^{ @autoreleasepool {
XMPPLogTrace();
@@ -549,8 +518,7 @@ - (void)sendMessage:(NSString *)msg
[xmppStream sendElement:message];
- [pool drain];
- };
+ }};
if (dispatch_get_current_queue() == moduleQueue)
block();
@@ -573,7 +541,7 @@ - (void)onDidChangeOccupants
// So we create an immutable copy of the dictionary to send to the delegates.
// And we don't have to worry about the XMPPRoomOccupant objects changing as they are immutable.
- NSDictionary *occupantsCopy = [[occupants copy] autorelease];
+ NSDictionary *occupantsCopy = [occupants copy];
[multicastDelegate xmppRoom:self didChangeOccupants:occupantsCopy];
}
View
6 Extensions/XEP-0045/XMPPRoomOccupant.h
@@ -18,8 +18,8 @@
- (id)initWithJID:(XMPPJID *)aJid nick:(NSString *)aNick role:(NSString *)aRole;
-@property (readonly) XMPPJID *jid;
-@property (readonly) NSString *nick;
-@property (readonly) NSString *role;
+@property (weak, readonly) XMPPJID *jid;
+@property (weak, readonly) NSString *nick;
+@property (weak, readonly) NSString *role;
@end
View
14 Extensions/XEP-0045/XMPPRoomOccupant.m
@@ -4,13 +4,18 @@
//
#import "XMPPRoomOccupant.h"
+#import "XMPPJID.h"
+
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
@implementation XMPPRoomOccupant
+ (XMPPRoomOccupant *)occupantWithJID:(XMPPJID *)aJid nick:(NSString *)aNick role:(NSString *)aRole
{
- return [[[XMPPRoomOccupant alloc] initWithJID:aJid nick:aNick role:aRole] autorelease];
+ return [[XMPPRoomOccupant alloc] initWithJID:aJid nick:aNick role:aRole];
}
@dynamic jid;
@@ -28,13 +33,6 @@ - (id)initWithJID:(XMPPJID *)aJid nick:(NSString *)aNick role:(NSString *)aRole
return self;
}
-- (void)dealloc
-{
- [jid release];
- [nick release];
- [role release];
- [super dealloc];
-}
// Why are these here?
// Why not just let @synthesize do it for us?
View
4 Extensions/XEP-0054/CoreDataStorage/XMPPvCardCoreDataStorage.m
@@ -13,6 +13,10 @@
#import "XMPPCoreDataStorageProtected.h"
#import "XMPPLogging.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN; // | XMPP_LOG_FLAG_TRACE;
View
4 Extensions/XEP-0054/CoreDataStorage/XMPPvCardCoreDataStorageObject.m
@@ -14,6 +14,10 @@
#import "NSNumber+XMPP.h"
#import "NSData+XMPP.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
@implementation XMPPvCardCoreDataStorageObject
View
9 Extensions/XEP-0054/XMPPvCardTemp.m
@@ -9,12 +9,15 @@
#import "XMPPvCardTemp.h"
+#import "XMPPLogging.h"
+#import "XMPPDateTimeProfiles.h"
+#import "NSData+XMPP.h"
#import <objc/runtime.h>
-#import "XMPPLogging.h"
-#import "NSData+XMPP.h"
-#import "XMPPDateTimeProfiles.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_ERROR;
View
4 Extensions/XEP-0054/XMPPvCardTempAdr.m
@@ -13,6 +13,10 @@
#import <objc/runtime.h>
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_ERROR;
#else
View
4 Extensions/XEP-0054/XMPPvCardTempAdrTypes.m
@@ -10,6 +10,10 @@
#import "XMPPvCardTempAdrTypes.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
@implementation XMPPvCardTempAdrTypes
View
4 Extensions/XEP-0054/XMPPvCardTempBase.m
@@ -7,11 +7,13 @@
// Copyright 2010 Martin Morrison. All rights reserved.
//
-
#import "XMPPvCardTempBase.h"
#import <objc/runtime.h>
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
@implementation XMPPvCardTempBase
View
4 Extensions/XEP-0054/XMPPvCardTempEmail.m
@@ -13,6 +13,10 @@
#import <objc/runtime.h>
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_ERROR;
#else
View
4 Extensions/XEP-0054/XMPPvCardTempLabel.m
@@ -13,6 +13,10 @@
#import <objc/runtime.h>
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_ERROR;
#else
View
9 Extensions/XEP-0054/XMPPvCardTempModule.m
@@ -10,6 +10,10 @@
#import "XMPPLogging.h"
#import "XMPPvCardTempModule.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
@@ -24,6 +28,10 @@ - (void)_updatevCardTemp:(XMPPvCardTemp *)vCardTemp forJID:(XMPPJID *)jid;
@end
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+#pragma mark -
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+
@implementation XMPPvCardTempModule
@synthesize moduleStorage = _moduleStorage;
@@ -89,7 +97,6 @@ - (void)deactivate
- (void)dealloc
{
_moduleStorage = nil;
-
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
View
4 Extensions/XEP-0054/XMPPvCardTempTel.m
@@ -13,6 +13,10 @@
#import <objc/runtime.h>
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_ERROR;
#else
View
4 Extensions/XEP-0060/XMPPPubSub.m
@@ -7,6 +7,10 @@
#import "XMPPPubSub.h"
#import "XMPPFramework.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
#define NS_PUBSUB @"http://jabber.org/protocol/pubsub"
#define NS_PUBSUB_EVENT @"http://jabber.org/protocol/pubsub#event"
#define NS_PUBSUB_CONFIG @"http://jabber.org/protocol/pubsub#node_config"
View
4 Extensions/XEP-0065/TURNSocket.m
@@ -5,6 +5,10 @@
#import "NSData+XMPP.h"
#import "NSNumber+XMPP.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN; // | XMPP_LOG_FLAG_TRACE;
View
7 Extensions/XEP-0082/NSDate+XMPPDateTimeProfiles.m
@@ -11,16 +11,19 @@
#import "NSDate+XMPPDateTimeProfiles.h"
#import "XMPPDateTimeProfiles.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
@interface NSDate(XMPPDateTimeProfilesPrivate)
- (NSString *)xmppStringWithDateFormat:(NSString *)dateFormat;
@end
+#pragma mark -
@implementation NSDate(XMPPDateTimeProfiles)
-#pragma mark -
#pragma mark Convert from XMPP string to NSDate
@@ -39,7 +42,6 @@ + (NSDate *)dateWithXmppDateTimeString:(NSString *)str {
}
-#pragma mark -
#pragma mark Convert from NSDate to XMPP string
@@ -58,7 +60,6 @@ - (NSString *)xmppDateTimeString {
}
-#pragma mark -
#pragma mark XMPPDateTimeProfilesPrivate methods
View
3 Extensions/XEP-0082/XMPPDateTimeProfiles.m
@@ -1,6 +1,9 @@
#import "XMPPDateTimeProfiles.h"
#import "NSNumber+XMPP.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
@interface XMPPDateTimeProfiles (PrivateAPI)
+ (NSDate *)parseDateTime:(NSString *)dateTimeStr withMandatoryTimeZone:(BOOL)mandatoryTZ;
View
4 Extensions/XEP-0100/XMPPTransports.m
@@ -1,6 +1,10 @@
#import "XMPPTransports.h"
#import "XMPP.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
@implementation XMPPTransports
View
4 Extensions/XEP-0115/CoreDataStorage/XMPPCapabilitiesCoreDataStorage.m
@@ -5,6 +5,10 @@
#import "XMPPCoreDataStorageProtected.h"
#import "XMPPLogging.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN; // | XMPP_LOG_FLAG_TRACE;
View
4 Extensions/XEP-0115/CoreDataStorage/XMPPCapsCoreDataStorageObject.m
@@ -2,6 +2,10 @@
#import "XMPPCapsResourceCoreDataStorageObject.h"
#import "XMPP.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
@implementation XMPPCapsCoreDataStorageObject
View
4 Extensions/XEP-0115/CoreDataStorage/XMPPCapsResourceCoreDataStorageObject.m
@@ -1,6 +1,10 @@
#import "XMPPCapsResourceCoreDataStorageObject.h"
#import "XMPPCapsCoreDataStorageObject.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
@implementation XMPPCapsResourceCoreDataStorageObject
View
4 Extensions/XEP-0115/XMPPCapabilities.m
@@ -3,6 +3,10 @@
#import "XMPPCapabilities.h"
#import "NSData+XMPP.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
View
3 Extensions/XEP-0153/XMPPvCardAvatarModule.m
@@ -23,6 +23,9 @@
#import "XMPPStream.h"
#import "XMPPvCardTempModule.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
// Log levels: off, error, warn, info, verbose
// Log flags: trace
View
4 Extensions/XEP-0199/XMPPAutoPing.m
@@ -3,6 +3,10 @@
#import "XMPP.h"
#import "XMPPLogging.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
View
4 Extensions/XEP-0199/XMPPPing.m
@@ -2,6 +2,10 @@
#import "XMPPIDTracker.h"
#import "XMPPFramework.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
#define DEFAULT_TIMEOUT 30.0 // seconds
View
4 Extensions/XEP-0202/XMPPAutoTime.m
@@ -2,6 +2,10 @@
#import "XMPP.h"
#import "XMPPLogging.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
View
4 Extensions/XEP-0202/XMPPTime.m
@@ -3,6 +3,10 @@
#import "XMPPDateTimeProfiles.h"
#import "XMPPFramework.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
#define DEFAULT_TIMEOUT 30.0 // seconds
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
View
4 Extensions/XEP-0203/XMPPElement+Delay.m
@@ -2,6 +2,10 @@
#import "XMPPDateTimeProfiles.h"
#import "NSXMLElement+XMPP.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
@implementation XMPPElement (XEP0203)
View
4 Utilities/DDList.m
@@ -1,5 +1,9 @@
#import "DDList.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
@interface DDListEnumerator (PrivateAPI)
View
4 Utilities/GCDMulticastDelegate.m
@@ -1,6 +1,10 @@
#import "GCDMulticastDelegate.h"
#import <libkern/OSAtomic.h>
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
/**
* How does this class work?
*
View
5 Utilities/XMPPDigestAuthentication.m
@@ -4,13 +4,18 @@
#import "XMPPLogging.h"
#import "XMPPStream.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_INFO | XMPP_LOG_FLAG_SEND_RECV; // | XMPP_LOG_FLAG_TRACE;
#else
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
#endif
+
@implementation XMPPDigestAuthentication
- (id)initWithChallenge:(NSXMLElement *)challenge
View
4 Utilities/XMPPIDTracker.m
@@ -1,5 +1,9 @@
#import "XMPPIDTracker.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
#define AssertProperQueue() NSAssert(dispatch_get_current_queue() == queue, @"Invoked on incorrect queue")
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
View
4 Utilities/XMPPSRVResolver.m
@@ -11,6 +11,10 @@
#include <dns_util.h>
#include <stdlib.h>
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
NSString *const XMPPSRVResolverErrorDomain = @"XMPPSRVResolverErrorDomain";
// Log levels: off, error, warn, info, verbose
View
5 Utilities/XMPPXFacebookPlatformAuthentication.m
@@ -12,13 +12,18 @@
#import "XMPPLogging.h"
#import "XMPPStream.h"
+#if ! __has_feature(objc_arc)
+#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
+#endif
+
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_INFO | XMPP_LOG_FLAG_SEND_RECV; // | XMPP_LOG_FLAG_TRACE;
#else
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
#endif
+
@implementation XMPPXFacebookPlatformAuthentication
- (id)initWithChallenge:(NSXMLElement *)challenge appId:(NSString *)aAppId accessToken:(NSString *)aAccessToken
View
56 Xcode/DesktopXMPP/XMPPStream.xcodeproj/project.pbxproj
@@ -39,6 +39,12 @@
DC53BAC712C3C68600C8DEEE /* GCDAsyncSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = DC53BAC612C3C68600C8DEEE /* GCDAsyncSocket.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
DC55892A10DFD9040004696B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC55892910DFD9040004696B /* SystemConfiguration.framework */; };
DC6E98ED1098A4C700070ADE /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DC6E98EA1098A4C700070ADE /* AppDelegate.m */; };
+ DC70A7A2147C623B00BC8FC7 /* XMPPIQ+JabberRPC.m in Sources */ = {isa = PBXBuildFile; fileRef = DC70A79D147C623B00BC8FC7 /* XMPPIQ+JabberRPC.m */; };
+ DC70A7A3147C623B00BC8FC7 /* XMPPIQ+JabberRPCResonse.m in Sources */ = {isa = PBXBuildFile; fileRef = DC70A79F147C623B00BC8FC7 /* XMPPIQ+JabberRPCResonse.m */; };
+ DC70A7A4147C623B00BC8FC7 /* XMPPJabberRPCModule.m in Sources */ = {isa = PBXBuildFile; fileRef = DC70A7A1147C623B00BC8FC7 /* XMPPJabberRPCModule.m */; };
+ DC70A7AD147C626600BC8FC7 /* XMPPMessage+XEP0045.m in Sources */ = {isa = PBXBuildFile; fileRef = DC70A7A8147C626600BC8FC7 /* XMPPMessage+XEP0045.m */; };
+ DC70A7AE147C626600BC8FC7 /* XMPPRoom.m in Sources */ = {isa = PBXBuildFile; fileRef = DC70A7AA147C626600BC8FC7 /* XMPPRoom.m */; };
+ DC70A7AF147C626600BC8FC7 /* XMPPRoomOccupant.m in Sources */ = {isa = PBXBuildFile; fileRef = DC70A7AC147C626600BC8FC7 /* XMPPRoomOccupant.m */; };
DC73028512F37F8A00549AC7 /* DDList.m in Sources */ = {isa = PBXBuildFile; fileRef = DC73028212F37F8A00549AC7 /* DDList.m */; };
DC7302D112F3D26700549AC7 /* XMPPCapabilities.xcdatamodel in Sources */ = {isa = PBXBuildFile; fileRef = DC7302CA12F3D26700549AC7 /* XMPPCapabilities.xcdatamodel */; };
DC7302D212F3D26700549AC7 /* XMPPCapabilitiesCoreDataStorage.m in Sources */ = {isa = PBXBuildFile; fileRef = DC7302CC12F3D26700549AC7 /* XMPPCapabilitiesCoreDataStorage.m */; };
@@ -162,6 +168,18 @@
DC55892910DFD9040004696B /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
DC6E98E91098A4C700070ADE /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
DC6E98EA1098A4C700070ADE /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ DC70A79C147C623B00BC8FC7 /* XMPPIQ+JabberRPC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "XMPPIQ+JabberRPC.h"; sourceTree = "<group>"; };
+ DC70A79D147C623B00BC8FC7 /* XMPPIQ+JabberRPC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "XMPPIQ+JabberRPC.m"; sourceTree = "<group>"; };
+ DC70A79E147C623B00BC8FC7 /* XMPPIQ+JabberRPCResonse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "XMPPIQ+JabberRPCResonse.h"; sourceTree = "<group>"; };
+ DC70A79F147C623B00BC8FC7 /* XMPPIQ+JabberRPCResonse.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "XMPPIQ+JabberRPCResonse.m"; sourceTree = "<group>"; };
+ DC70A7A0147C623B00BC8FC7 /* XMPPJabberRPCModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMPPJabberRPCModule.h; sourceTree = "<group>"; };
+ DC70A7A1147C623B00BC8FC7 /* XMPPJabberRPCModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMPPJabberRPCModule.m; sourceTree = "<group>"; };
+ DC70A7A7147C626600BC8FC7 /* XMPPMessage+XEP0045.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "XMPPMessage+XEP0045.h"; sourceTree = "<group>"; };
+ DC70A7A8147C626600BC8FC7 /* XMPPMessage+XEP0045.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "XMPPMessage+XEP0045.m"; sourceTree = "<group>"; };
+ DC70A7A9147C626600BC8FC7 /* XMPPRoom.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMPPRoom.h; sourceTree = "<group>"; };
+ DC70A7AA147C626600BC8FC7 /* XMPPRoom.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMPPRoom.m; sourceTree = "<group>"; };
+ DC70A7AB147C626600BC8FC7 /* XMPPRoomOccupant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMPPRoomOccupant.h; sourceTree = "<group>"; };
+ DC70A7AC147C626600BC8FC7 /* XMPPRoomOccupant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMPPRoomOccupant.m; sourceTree = "<group>"; };
DC73028012F37F7200549AC7 /* XMPPLogging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = XMPPLogging.h; path = ../../Core/XMPPLogging.h; sourceTree = SOURCE_ROOT; };
DC73028112F37F8A00549AC7 /* DDList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DDList.h; path = ../../Utilities/DDList.h; sourceTree = SOURCE_ROOT; };
DC73028212F37F8A00549AC7 /* DDList.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DDList.m; path = ../../Utilities/DDList.m; sourceTree = SOURCE_ROOT; };
@@ -498,10 +516,12 @@
DC37306B139E9ECE00A8407D /* Reconnect */,
DC488400134975E3000F79C5 /* CoreDataStorage */,
DC373070139E9EE500A8407D /* Roster */,
+ DC70A79B147C623700BC8FC7 /* XEP-0009 */,
+ DC70A7A6147C626200BC8FC7 /* XEP-0045 */,
DCE025611340087A007448E1 /* XEP-0054 */,
- DCA614EC1250032B00C75522 /* XEP-0082 */,
DC5ED521123A9F3000D647C0 /* XEP-0060 */,
DC6E92F61090E2F200070ADE /* XEP-0065 */,
+ DCA614EC1250032B00C75522 /* XEP-0082 */,
DCAD3FB91156DC0700FC568A /* XEP-0100 */,
DCAD3FBA1156DC1D00FC568A /* XEP-0115 */,
DC4883FB13496EDB000F79C5 /* XEP-0153 */,
@@ -521,6 +541,34 @@
name = "XEP-0065";
sourceTree = "<group>";
};
+ DC70A79B147C623700BC8FC7 /* XEP-0009 */ = {
+ isa = PBXGroup;
+ children = (
+ DC70A79C147C623B00BC8FC7 /* XMPPIQ+JabberRPC.h */,
+ DC70A79D147C623B00BC8FC7 /* XMPPIQ+JabberRPC.m */,
+ DC70A79E147C623B00BC8FC7 /* XMPPIQ+JabberRPCResonse.h */,
+ DC70A79F147C623B00BC8FC7 /* XMPPIQ+JabberRPCResonse.m */,
+ DC70A7A0147C623B00BC8FC7 /* XMPPJabberRPCModule.h */,
+ DC70A7A1147C623B00BC8FC7 /* XMPPJabberRPCModule.m */,
+ );
+ name = "XEP-0009";
+ path = "../../Extensions/XEP-0009";
+ sourceTree = "<group>";
+ };
+ DC70A7A6147C626200BC8FC7 /* XEP-0045 */ = {
+ isa = PBXGroup;
+ children = (
+ DC70A7A7147C626600BC8FC7 /* XMPPMessage+XEP0045.h */,
+ DC70A7A8147C626600BC8FC7 /* XMPPMessage+XEP0045.m */,
+ DC70A7A9147C626600BC8FC7 /* XMPPRoom.h */,
+ DC70A7AA147C626600BC8FC7 /* XMPPRoom.m */,
+ DC70A7AB147C626600BC8FC7 /* XMPPRoomOccupant.h */,
+ DC70A7AC147C626600BC8FC7 /* XMPPRoomOccupant.m */,
+ );
+ name = "XEP-0045";
+ path = "../../Extensions/XEP-0045";
+ sourceTree = "<group>";
+ };
DC84BAD5124407350055A459 /* IDN */ = {
isa = PBXGroup;
children = (
@@ -923,6 +971,12 @@
DC90AC3B147B31B60022DF52 /* DDTTYLogger.m in Sources */,
DC90AC3C147B31B60022DF52 /* ContextFilterLogFormatter.m in Sources */,
DC90AC3D147B31B60022DF52 /* DispatchQueueLogFormatter.m in Sources */,
+ DC70A7A2147C623B00BC8FC7 /* XMPPIQ+JabberRPC.m in Sources */,
+ DC70A7A3147C623B00BC8FC7 /* XMPPIQ+JabberRPCResonse.m in Sources */,
+ DC70A7A4147C623B00BC8FC7 /* XMPPJabberRPCModule.m in Sources */,
+ DC70A7AD147C626600BC8FC7 /* XMPPMessage+XEP0045.m in Sources */,
+ DC70A7AE147C626600BC8FC7 /* XMPPRoom.m in Sources */,
+ DC70A7AF147C626600BC8FC7 /* XMPPRoomOccupant.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};

0 comments on commit 4c2cdfa

Please sign in to comment.
Something went wrong with that request. Please try again.