ObjFW  Check-in [cb29882d9b]

Overview
Comment:Fix Unicode table generator
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: cb29882d9bfb2b6f0e57fa0f56576da49b8469dc21b717336ff0e60bbfc21b18
User & Date: js on 2018-01-03 21:20:45
Other Links: manifest | tags
Context
2018-01-03
22:30
ofhash: Allow user database reading check-in: 29ed8e6081 user: js tags: trunk
21:20
Fix Unicode table generator check-in: cb29882d9b user: js tags: trunk
20:02
OFData: Fix stream being uninitialized check-in: 87b416fb5a user: js tags: trunk
Changes

Modified generators/TableGenerator.h from [20377cdab5] to [30511b06c1].

16
17
18
19
20
21
22
23

24
25
26
27
28
29
30
 */

#import "OFObject.h"
#import "OFHTTPClient.h"

@class OFString;

@interface TableGenerator: OFObject <OFHTTPClientDelegate>

{
	OFHTTPClient *_HTTPClient;
	of_unichar_t _uppercaseTable[0x110000];
	of_unichar_t _lowercaseTable[0x110000];
	of_unichar_t _titlecaseTable[0x110000];
	of_unichar_t _casefoldingTable[0x110000];
	OFString *_decompositionTable[0x110000];







|
>







16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 */

#import "OFObject.h"
#import "OFHTTPClient.h"

@class OFString;

@interface TableGenerator: OFObject <OFApplicationDelegate,
    OFHTTPClientDelegate>
{
	OFHTTPClient *_HTTPClient;
	of_unichar_t _uppercaseTable[0x110000];
	of_unichar_t _lowercaseTable[0x110000];
	of_unichar_t _titlecaseTable[0x110000];
	of_unichar_t _casefoldingTable[0x110000];
	OFString *_decompositionTable[0x110000];

Modified generators/TableGenerator.m from [b9c97729bd] to [06dcc8ec8a].

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
	@"http://www.unicode.org/Public/UNIDATA/UnicodeData.txt"
#define CASE_FOLDING_URL \
	@"http://www.unicode.org/Public/UNIDATA/CaseFolding.txt"

OF_APPLICATION_DELEGATE(TableGenerator)

@implementation TableGenerator
- init
{
	self = [super init];

	@try {
		_HTTPClient = [[OFHTTPClient alloc] init];
		[_HTTPClient setDelegate: self];








|







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
	@"http://www.unicode.org/Public/UNIDATA/UnicodeData.txt"
#define CASE_FOLDING_URL \
	@"http://www.unicode.org/Public/UNIDATA/CaseFolding.txt"

OF_APPLICATION_DELEGATE(TableGenerator)

@implementation TableGenerator
- (instancetype)init
{
	self = [super init];

	@try {
		_HTTPClient = [[OFHTTPClient alloc] init];
		[_HTTPClient setDelegate: self];

Modified generators/copyright.h from [bc53f5c05f] to [f5476ed374].

17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

#import "OFString.h"

#define COPYRIGHT \
    @"/*\n"								       \
    @" * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, " \
    @"2017,\n"								       \
    @" *               2018,\n"						       \
    @" *   Jonathan Schleifer <js@heap.zone>\n"				       \
    @" *\n"								       \
    @" * All rights reserved.\n"					       \
    @" *\n"								       \
    @" * This file is part of ObjFW. It may be distributed under the terms "   \
    @"of the\n"								       \
    @" * Q Public License 1.0, which can be found in the file LICENSE.QPL "    \







|







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

#import "OFString.h"

#define COPYRIGHT \
    @"/*\n"								       \
    @" * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, " \
    @"2017,\n"								       \
    @" *               2018\n"						       \
    @" *   Jonathan Schleifer <js@heap.zone>\n"				       \
    @" *\n"								       \
    @" * All rights reserved.\n"					       \
    @" *\n"								       \
    @" * This file is part of ObjFW. It may be distributed under the terms "   \
    @"of the\n"								       \
    @" * Q Public License 1.0, which can be found in the file LICENSE.QPL "    \