ObjFW  Check-in [ae193d8a00]

Overview
Comment:Minor TableGenerator improvement.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ae193d8a000fa75f10f7ea6dd17140f8b8a9f0b4c02286eed294909c6e255e0f
User & Date: js on 2013-08-08 22:06:37
Other Links: manifest | tags
Context
2013-08-08
22:09
Update PLATFORMS.md. check-in: 16429fcc2e user: js tags: trunk
22:06
Minor TableGenerator improvement. check-in: ae193d8a00 user: js tags: trunk
2013-08-03
13:38
exception.m: A few minor style improvements. check-in: 24aac72caa user: js tags: trunk
Changes

Modified generators/TableGenerator.m from [fc355b4664] to [f4b0745ff9].

25
26
27
28
29
30
31

32
33
34
35
36
37
38
#import "OFHTTPRequest.h"
#import "OFHTTPResponse.h"
#import "OFHTTPClient.h"
#import "OFFile.h"
#import "OFStdIOStream.h"

#import "autorelease.h"


#import "TableGenerator.h"
#import "copyright.h"

#define UNICODE_DATA_URL \
	@"http://www.unicode.org/Public/UNIDATA/UnicodeData.txt"
#define CASE_FOLDING_URL \







>







25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#import "OFHTTPRequest.h"
#import "OFHTTPResponse.h"
#import "OFHTTPClient.h"
#import "OFFile.h"
#import "OFStdIOStream.h"

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

#import "TableGenerator.h"
#import "copyright.h"

#define UNICODE_DATA_URL \
	@"http://www.unicode.org/Public/UNIDATA/UnicodeData.txt"
#define CASE_FOLDING_URL \
56
57
58
59
60
61
62
63

64

65
66
67
68
69
70
71
- (void)applicationDidFinishLaunching
{
	[self parseUnicodeData];
	[self parseCaseFolding];

	[of_stdout writeString: @"Writing files..."];

	[self writeTablesToFile: @"../src/unicode.m"];

	[self writeHeaderToFile: @"../src/unicode.h"];


	[of_stdout writeLine: @" done"];

	[OFApplication terminate];
}

- (void)parseUnicodeData







|
>
|
>







57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
- (void)applicationDidFinishLaunching
{
	[self parseUnicodeData];
	[self parseCaseFolding];

	[of_stdout writeString: @"Writing files..."];

	[self writeTablesToFile: [OFString stringWithPath:
	    OF_PATH_PARENT_DIRECTORY, @"src", @"unicode.m", nil]];
	[self writeHeaderToFile: [OFString stringWithPath:
	    OF_PATH_PARENT_DIRECTORY, @"src", @"unicode.h", nil]];

	[of_stdout writeLine: @" done"];

	[OFApplication terminate];
}

- (void)parseUnicodeData