Overview
Comment: | Adjust TableGenerator to recent changes. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
57cbfc014481e9f33f34510550242590 |
User & Date: | js on 2013-08-03 10:35:33 |
Other Links: | manifest | tags |
Context
2013-08-03
| ||
13:38 | exception.m: A few minor style improvements. check-in: 24aac72caa user: js tags: trunk | |
10:35 | Adjust TableGenerator to recent changes. check-in: 57cbfc0144 user: js tags: trunk | |
2013-08-01
| ||
23:07 | OFXMLParser: Improve handling of whitespaces. check-in: a69e13fa8d user: js tags: trunk | |
Changes
Modified generators/TableGenerator.m from [e55aa0b71d] to [fc355b4664].
︙ | ︙ | |||
19 20 21 22 23 24 25 | #include <string.h> #import "OFString.h" #import "OFArray.h" #import "OFApplication.h" #import "OFURL.h" #import "OFHTTPRequest.h" | | > | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #include <string.h> #import "OFString.h" #import "OFArray.h" #import "OFApplication.h" #import "OFURL.h" #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 \ |
︙ | ︙ | |||
68 69 70 71 72 73 74 | } - (void)parseUnicodeData { void *pool = objc_autoreleasePoolPush(); OFHTTPRequest *request; OFHTTPClient *client; | | | | | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | } - (void)parseUnicodeData { void *pool = objc_autoreleasePoolPush(); OFHTTPRequest *request; OFHTTPClient *client; OFHTTPResponse *response; OFString *line; [of_stdout writeString: @"Downloading and parsing UnicodeData.txt..."]; request = [OFHTTPRequest requestWithURL: [OFURL URLWithString: UNICODE_DATA_URL]]; client = [OFHTTPClient client]; response = [client performRequest: request]; while ((line = [response readLine]) != nil) { void *pool2; OFArray *split; OFString **splitObjects; of_unichar_t codep; if ([line length] == 0) continue; |
︙ | ︙ | |||
117 118 119 120 121 122 123 | } - (void)parseCaseFolding { void *pool = objc_autoreleasePoolPush(); OFHTTPRequest *request; OFHTTPClient *client; | | | | | 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | } - (void)parseCaseFolding { void *pool = objc_autoreleasePoolPush(); OFHTTPRequest *request; OFHTTPClient *client; OFHTTPResponse *response; OFString *line; [of_stdout writeString: @"Downloading and parsing CaseFolding.txt..."]; request = [OFHTTPRequest requestWithURL: [OFURL URLWithString: CASE_FOLDING_URL]]; client = [OFHTTPClient client]; response = [client performRequest: request]; while ((line = [response readLine]) != nil) { void *pool2; OFArray *split; OFString **splitObjects; of_unichar_t codep; if ([line length] == 0 || [line hasPrefix: @"#"]) continue; |
︙ | ︙ |