ObjFW  Check-in [5a19a8a2a5]

Overview
Comment:Fix missing imports.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5a19a8a2a557262d10c66a348103ad26690013928194be3f10726a81318caefd
User & Date: js on 2012-09-16 11:45:49
Other Links: manifest | tags
Context
2012-09-16
11:52
Update Xcode project. check-in: b42e3ea732 user: js tags: trunk
11:45
Fix missing imports. check-in: 5a19a8a2a5 user: js tags: trunk
10:19
Add -[OFTCPSocket asyncAcceptWithBlock:]. check-in: 5d8349a8f6 user: js tags: trunk
Changes

Modified src/OFRunLoop.m from [35be43bbba] to [646227ddee].

21
22
23
24
25
26
27

28
29
30
31
32
33
34
#import "OFRunLoop.h"
#import "OFDictionary.h"
#import "OFThread.h"
#import "OFSortedList.h"
#import "OFTimer.h"
#import "OFDate.h"


#import "macros.h"

static OFTLSKey *currentRunLoopKey;
static OFRunLoop *mainRunLoop;

#ifdef OF_HAVE_BLOCKS
@interface OFRunLoop_ReadQueueItem: OFObject







>







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#import "OFRunLoop.h"
#import "OFDictionary.h"
#import "OFThread.h"
#import "OFSortedList.h"
#import "OFTimer.h"
#import "OFDate.h"

#import "autorelease.h"
#import "macros.h"

static OFTLSKey *currentRunLoopKey;
static OFRunLoop *mainRunLoop;

#ifdef OF_HAVE_BLOCKS
@interface OFRunLoop_ReadQueueItem: OFObject

Modified src/OFTCPSocket.m from [23c0b57231] to [4e402532d5].

46
47
48
49
50
51
52

53
54
55
56
57
58
59
#import "OFConnectionFailedException.h"
#import "OFInvalidArgumentException.h"
#import "OFListenFailedException.h"
#import "OFNotConnectedException.h"
#import "OFNotImplementedException.h"
#import "OFSetOptionFailedException.h"


#import "macros.h"

#ifndef INVALID_SOCKET
# define INVALID_SOCKET -1
#endif

#if defined(OF_THREADS) && !defined(HAVE_THREADSAFE_GETADDRINFO)







>







46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#import "OFConnectionFailedException.h"
#import "OFInvalidArgumentException.h"
#import "OFListenFailedException.h"
#import "OFNotConnectedException.h"
#import "OFNotImplementedException.h"
#import "OFSetOptionFailedException.h"

#import "autorelease.h"
#import "macros.h"

#ifndef INVALID_SOCKET
# define INVALID_SOCKET -1
#endif

#if defined(OF_THREADS) && !defined(HAVE_THREADSAFE_GETADDRINFO)
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
		      port: (uint16_t)port
		     block: (of_tcpsocket_async_connect_block_t)block
{
	void *pool = objc_autoreleasePoolPush();
	OFRunLoop *runLoop = [OFRunLoop currentRunLoop];

	[[OFThread threadWithObject: self
			      block: ^ (id s) {
		void *pool2 = objc_autoreleasePoolPush();
		OFThread *connectThread = [OFThread currentThread];
		OFTimer *timer;

		[s connectToHost: host
			    port: port];








|







295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
		      port: (uint16_t)port
		     block: (of_tcpsocket_async_connect_block_t)block
{
	void *pool = objc_autoreleasePoolPush();
	OFRunLoop *runLoop = [OFRunLoop currentRunLoop];

	[[OFThread threadWithObject: self
			      block: ^ id (id s) {
		void *pool2 = objc_autoreleasePoolPush();
		OFThread *connectThread = [OFThread currentThread];
		OFTimer *timer;

		[s connectToHost: host
			    port: port];