Overview
| Comment: | {generators,utils/of{hash,http}}: Use generics |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
325f616d844bde9b571690c66582c7f1 |
| User & Date: | js on 2015-06-28 17:16:21 |
| Other Links: | manifest | tags |
Context
|
2015-06-28
| ||
| 18:06 | Update to Unicode 8.0 (check-in: 44f1c04c03 user: js tags: trunk) | |
| 17:16 | {generators,utils/of{hash,http}}: Use generics (check-in: 325f616d84 user: js tags: trunk) | |
| 17:09 | utils/ofzip: Recompose paths (check-in: 0d49a2e6a7 user: js tags: trunk) | |
Changes
Modified generators/TableGenerator.m from [0c58d98754] to [5a4e277bcb].
| ︙ | |||
85 86 87 88 89 90 91 | 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | - + |
request = [OFHTTPRequest requestWithURL:
[OFURL URLWithString: UNICODE_DATA_URL]];
client = [OFHTTPClient client];
response = [client performRequest: request];
while ((line = [response readLine]) != nil) {
void *pool2;
|
| ︙ | |||
134 135 136 137 138 139 140 | 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | - + |
request = [OFHTTPRequest requestWithURL:
[OFURL URLWithString: CASE_FOLDING_URL]];
client = [OFHTTPClient client];
response = [client performRequest: request];
while ((line = [response readLine]) != nil) {
void *pool2;
|
| ︙ |
Modified utils/ofhash/OFHash.m from [145a9f9ca5] to [59a725be71].
| ︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | - + |
return nil;
}
@implementation OFHash
- (void)applicationDidFinishLaunching
{
|
| ︙ |
Modified utils/ofhttp/OFHTTP.m from [4ec503b029] to [9d72e08e88].
| ︙ | |||
46 47 48 49 50 51 52 | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | - + |
#define GIBIBYTE (1024 * 1024 * 1024)
#define MEBIBYTE (1024 * 1024)
#define KIBIBYTE (1024)
@interface OFHTTP: OFObject
{
|
| ︙ | |||
543 544 545 546 547 548 549 | 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 | - + |
- (void)downloadNextURL
{
OFString *URLString = nil;
OFURL *URL;
OFMutableDictionary *clientHeaders;
OFHTTPRequest *request;
OFHTTPResponse *response;
|
| ︙ | |||
668 669 670 671 672 673 674 | 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 | + - + |
} else
lengthString = @"unknown";
[of_stdout writeFormat: @" Name: %@\n", fileName];
if (_verbose) {
void *pool = objc_autoreleasePoolPush();
OFDictionary OF_GENERIC(OFString*, OFString*) *headers =
|
| ︙ |