ObjFW  Check-in [24622e8913]

Overview
Comment:Loop forever after applicationDidFinishLaunching.

This is in preparation for adding an event loop, so that applications
which do not require a run loop will already adopt to calling
[OFApplication terminate] at the end of
-[applicationDidFinishLaunching].

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 24622e89131230a105b23e970c4f96857f8e1bd4b93f02900544606f13dab2ee
User & Date: js on 2012-09-09 12:31:52
Other Links: manifest | tags
Context
2012-09-09
14:14
Fix -[OFNumber isEqual:]. check-in: b791e6fcc4 user: js tags: trunk
12:31
Loop forever after applicationDidFinishLaunching. check-in: 24622e8913 user: js tags: trunk
2012-09-06
19:13
Add README-WINDOWS.md. check-in: 5a15080143 user: js tags: trunk
Changes

Modified README-WINDOWS.md from [f7aef6c38c] to [c9e1277911].

30
31
32
33
34
35
36
37

38
39
40
41
42
43
44
30
31
32
33
34
35
36

37
38
39
40
41
42
43
44







-
+







`MinGW/TDM` installation or a `MinGW-w64/TDM64 Experimental` installation. It
is very important to choose the `MinGW/TDM` installation, as `MinGW-w64/TDM64`
does *not* include GCC versions that output DWARF-2 exceptions! When asked for
an installation path, it is recommended to keep the default of `C:\MinGW32`;
the selected mirror does not really matter. After that, the components to be
installed have to be selected. Select `TDM-GCC Recommended, C/C++` as
installation type, then expand `Components` → `gcc` → `Version` and select the
TDM-GCC version ending in -dw2 and enable the `objc` checkbox. Click next and
TDM-GCC version ending in -dw2 and enable the `objc` checkbox. In the next step
the installer will start downloading and installing the selected components.


MSys
----

Next, we're going to install MSys. To do so, we're going to use the official

Modified src/OFApplication.m from [93776e4552] to [a06fbcf0e7].

24
25
26
27
28
29
30

31
32
33
34
35
36
37
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38







+








#include <signal.h>

#import "OFApplication.h"
#import "OFString.h"
#import "OFArray.h"
#import "OFDictionary.h"
#import "OFThread.h"

#import "OFNotImplementedException.h"

#import "autorelease.h"

#if defined(__MACH__) && !defined(OF_IOS)
# include <crt_externs.h>
291
292
293
294
295
296
297



298
299
300
301
302
303
304
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308







+
+
+







#endif
#undef REGISTER_SIGNAL
}

- (void)run
{
	[delegate applicationDidFinishLaunching];

	for (;;)
		[OFThread sleepForTimeInterval: 86400];
}

- (void)terminate
{
	exit(0);
}

Modified tests/TestsAppDelegate.m from [969c91a20e] to [e7f245ce3b].

145
146
147
148
149
150
151
152
153

154
155
145
146
147
148
149
150
151


152
153
154







-
-
+


	[self pluginTests];
#endif
	[self forwardingTests];
#ifdef OF_HAVE_PROPERTIES
	[self propertiesTests];
#endif

	if (fails > 0)
		[OFApplication terminateWithStatus: fails];
	[OFApplication terminateWithStatus: fails];
}
@end