ObjXMPP  Check-in [445d301fd6]

Overview
Comment:Fix a bunch of warnings.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 445d301fd6d4304bcd9794d4a48e710e8a3dc18f01b4ee0459a0d6cf35031011
User & Date: js on 2013-02-15 14:15:21
Other Links: manifest | tags
Context
2013-02-15
14:27
Update and fix Xcode project. check-in: 134558aa8b user: js tags: trunk
14:15
Fix a bunch of warnings. check-in: 445d301fd6 user: js tags: trunk
2013-02-14
02:11
Fix a small documentation bug. check-in: 8d2f61bd74 user: js tags: trunk
Changes

Modified src/XMPPConnection.h from [dc62e1592b] to [cd1e322dae].

356
357
358
359
360
361
362

363
364
365
366
367
368
369
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370







+







- (void)setPort: (uint16_t)port;
- (uint16_t)port;
- (void)setDataStorage: (id <XMPPStorage>)dataStorage;
- (id <XMPPStorage>)dataStorage;
- (void)setLanguage: (OFString*)language;
- (OFString*)language;
- (BOOL)supportsRosterVersioning;
- (BOOL)supportsStreamManagement;

/// \cond internal
- (void)XMPP_startStream;
- (void)XMPP_handleStream: (OFXMLElement*)element;
- (void)XMPP_handleTLS: (OFXMLElement*)element;
- (void)XMPP_handleSASL: (OFXMLElement*)element;
- (void)XMPP_handleStanza: (OFXMLElement*)element;
380
381
382
383
384
385
386



381
382
383
384
385
386
387
388
389
390







+
+
+
- (void)XMPP_sendSession;
- (void)XMPP_handleSessionForConnection: (XMPPConnection*)connection
				     IQ: (XMPPIQ*)iq;
- (OFString*)XMPP_IDNAToASCII: (OFString*)domain;
- (XMPPMulticastDelegate*)XMPP_delegates;
/// \endcond
@end

@interface OFObject (XMPPConnectionDelegate) <XMPPConnectionDelegate>
@end

Modified src/XMPPContactManager.m from [3fde85a014] to [42334ca45b].

54
55
56
57
58
59
60
61

62
63
64
65
66

67
68
69
70
71
72
73
54
55
56
57
58
59
60

61
62
63
64
65

66
67
68
69
70
71
72
73







-
+




-
+







	[_roster removeDelegate: self];
	[_delegates release];
	[_contacts release];

	[super dealloc];
}

- (void)addDelegate: (id <XMPPConnectionDelegate>)delegate
- (void)addDelegate: (id <XMPPContactManagerDelegate>)delegate
{
	[_delegates addDelegate: delegate];
}

- (void)removeDelegate: (id <XMPPConnectionDelegate>)delegate
- (void)removeDelegate: (id <XMPPContactManagerDelegate>)delegate
{
	[_delegates removeDelegate: delegate];
}

- (OFDictionary*)contacts
{
	OF_GETTER(_contacts, YES);

Modified src/XMPPRoster.h from [ed9a1820f5] to [86893cd063].

156
157
158
159
160
161
162



156
157
158
159
160
161
162
163
164
165







+
+
+
/// \cond internal
- (void)XMPP_updateRosterItem: (XMPPRosterItem*)rosterItem;
- (void)XMPP_handleInitialRosterForConnection: (XMPPConnection*)connection
					   IQ: (XMPPIQ*)iq;
- (XMPPRosterItem*)XMPP_rosterItemWithXMLElement: (OFXMLElement*)element;
/// \endcond
@end

@interface OFObject (XMPPRosterDelegate) <XMPPRosterDelegate>
@end

Modified src/XMPPStreamManagement.m from [fbee9ca5ca] to [d765d3a204].

86
87
88
89
90
91
92
93
94


95
96
97


98
99
100
101
86
87
88
89
90
91
92


93
94
95


96
97
98
99
100
101







-
-
+
+

-
-
+
+




/* TODO: Count outgoing stanzas here and cache them, send own ACK requests
- (void)connection: (XMPPConnection*)connection_
    didSendElement: (OFXMLElement*)element
{
}
*/

- (void)connection: (XMPPConnection*)connection_
     wasBoundToJID: (XMPPJID*)jid
- (void)connection: (XMPPConnection*)connection
     wasBoundToJID: (XMPPJID*)JID
{
	if ([connection_ supportsStreamManagement])
		[connection_ sendStanza:
	if ([connection supportsStreamManagement])
		[connection sendStanza:
		    [OFXMLElement elementWithName: @"enable"
					namespace: XMPP_NS_SM]];
}
@end