ObjXMPP  Check-in [ecd03f5b47]

Overview
Comment:Use int8_t instead of char
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ecd03f5b476c6721145ff1c2b43d8001dcba61c56c724e4728a72739399f740b
User & Date: florob@babelmonkeys.de on 2011-02-10 21:11:34
Other Links: manifest | tags
Context
2011-02-10
22:30
Add/use init functions in the XMPPStanza classes check-in: 56c7baa520 user: florob@babelmonkeys.de tags: trunk
21:11
Use int8_t instead of char check-in: ecd03f5b47 user: florob@babelmonkeys.de tags: trunk
15:36
Handle resource binding check-in: 28b1848edc user: florob@babelmonkeys.de tags: trunk
Changes

Modified XMPPConnection.m from [81e5ef57ad] to [e6924adf47].

51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
			   @"version='1.0'>", server];
}

- (void)connect
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];

	[sock connectToService: [OFString stringWithFormat: @"%u", port]
			onNode: server];
	[self _startStream];

	[pool release];
}

- (void)handleConnection
{







|
<







51
52
53
54
55
56
57
58

59
60
61
62
63
64
65
			   @"version='1.0'>", server];
}

- (void)connect
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];

	[sock connectToHost: server onPort: port];

	[self _startStream];

	[pool release];
}

- (void)handleConnection
{

Modified XMPPStanza.h from [ea5e90b255] to [a240967e72].

49
50
51
52
53
54
55
56
57
+ presenceWithID: (OFString*)ID_;
+ presenceWithType: (OFString*)type_;
+ presenceWithType: (OFString*)type_
		ID: (OFString*)ID_;

- (void)addShow: (OFString*)show;
- (void)addStatus: (OFString*)status;
- (void)addPriority: (char)priority;
@end







|

49
50
51
52
53
54
55
56
57
+ presenceWithID: (OFString*)ID_;
+ presenceWithType: (OFString*)type_;
+ presenceWithType: (OFString*)type_
		ID: (OFString*)ID_;

- (void)addShow: (OFString*)show;
- (void)addStatus: (OFString*)status;
- (void)addPriority: (int8_t)priority;
@end

Modified XMPPStanza.m from [aa9b33c527] to [c44699b3d2].

200
201
202
203
204
205
206
207
208
209
210
211
212
213

- (void)addStatus: (OFString*)status
{
	[self addChild: [OFXMLElement elementWithName: @"status"
					  stringValue: status]];
}

- (void)addPriority: (char)priority
{
	OFString* prio = [OFString stringWithFormat: @"%d", priority];
	[self addChild: [OFXMLElement elementWithName: @"priority"
					  stringValue: prio]];
}
@end







|

|




200
201
202
203
204
205
206
207
208
209
210
211
212
213

- (void)addStatus: (OFString*)status
{
	[self addChild: [OFXMLElement elementWithName: @"status"
					  stringValue: status]];
}

- (void)addPriority: (int8_t)priority
{
	OFString* prio = [OFString stringWithFormat: @"%" @PRId8, priority];
	[self addChild: [OFXMLElement elementWithName: @"priority"
					  stringValue: prio]];
}
@end

Modified XMPPStanza.o from [00d9730d3b] to [2f777ddd9d].

cannot compute difference between binary files