Overview
Comment: | Improve Unicode table generator. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
39a089fdbfbd321fcd79eaecba8f60bf |
User & Date: | js on 2011-02-07 14:01:37 |
Other Links: | manifest | tags |
Context
2011-02-07
| ||
19:22 | Add -[containsObject(IdenticalTo):] to OFCollection. check-in: 0a6e073938 user: js tags: trunk | |
14:01 | Improve Unicode table generator. check-in: 39a089fdbf user: js tags: trunk | |
2011-02-06
| ||
15:11 | Add missing include. check-in: 578e7598a8 user: js tags: trunk | |
Changes
Modified PLATFORMS from [ee48ec9455] to [e8b9ac715d].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ObjFW is known to work on the following platforms, but should run on many others as well: +--------------------------+--------------+----------------------+---------+ | OS | Architecture | Compiler | Runtime | +--------------------------+--------------+----------------------+---------+ | FreeBSD 8.0 | x86 | | old GNU | +--------------------------+--------------+----------------------+---------+ | Linux 2.6.* | x86 | GCC 4.4.1 | old GNU | | Linux 2.6.* | x86 | GCC 4.6 | GNU | | Linux 2.6.* | x86 | LLVM/Clang r83252 | old GNU | | Linux 2.6.* | x86_64 | GCC 4.4.1 | old GNU | +--------------------------+--------------+----------------------+---------+ | iPhone OS 2.2.1 - 4.2 | arm | GCC 4.2 | Apple | | Mac OS X 10.5 | ppc | GCC 4.0 + 4.2 | Apple | | Mac OS X 10.5 | ppc64 | GCC 4.0 + 4.2 | Apple | | Mac OS X 10.5 - 10.6 | x86 | GCC 4.0 + 4.2 | Apple | | Mac OS X 10.5 - 10.6 | x86_64 | GCC 4.0 + 4.2 | Apple | +--------------------------+--------------+----------------------+---------+ | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ObjFW is known to work on the following platforms, but should run on many others as well: +--------------------------+--------------+----------------------+---------+ | OS | Architecture | Compiler | Runtime | +--------------------------+--------------+----------------------+---------+ | FreeBSD 8.0 | x86 | | old GNU | +--------------------------+--------------+----------------------+---------+ | Linux 2.6.* | x86 | GCC 4.4.1 | old GNU | | Linux 2.6.* | x86 | GCC 4.6 | GNU | | Linux 2.6.* | x86 | LLVM/Clang r83252 | old GNU | | Linux 2.6.* | x86_64 | GCC 4.4.1 | old GNU | | Maemo 5 | arm | GCC 4.5.1 | old GNU | +--------------------------+--------------+----------------------+---------+ | iPhone OS 2.2.1 - 4.2 | arm | GCC 4.2 | Apple | | Mac OS X 10.5 | ppc | GCC 4.0 + 4.2 | Apple | | Mac OS X 10.5 | ppc64 | GCC 4.0 + 4.2 | Apple | | Mac OS X 10.5 - 10.6 | x86 | GCC 4.0 + 4.2 | Apple | | Mac OS X 10.5 - 10.6 | x86_64 | GCC 4.0 + 4.2 | Apple | +--------------------------+--------------+----------------------+---------+ |
︙ | ︙ |
Modified generators/TableGenerator.m from [da9654e58e] to [e8e2bf8e68].
︙ | ︙ | |||
339 340 341 342 343 344 345 346 347 348 349 350 351 | [f writeString: [OFString stringWithFormat: @"#define OF_UNICODE_UPPER_TABLE_SIZE 0x%X\n" @"#define OF_UNICODE_LOWER_TABLE_SIZE 0x%X\n" @"#define OF_UNICODE_CASEFOLDING_TABLE_SIZE 0x%X\n\n", upperTableSize, lowerTableSize, casefoldingTableSize]]; [f writeString: @"extern const of_unichar_t* const\n" @" of_unicode_upper_table[OF_UNICODE_UPPER_TABLE_SIZE];\n" @"extern const of_unichar_t* const\n" @" of_unicode_lower_table[OF_UNICODE_LOWER_TABLE_SIZE];\n" @"extern const of_unichar_t* const\n" @" of_unicode_casefolding_table[" | > > > | > > > | 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 | [f writeString: [OFString stringWithFormat: @"#define OF_UNICODE_UPPER_TABLE_SIZE 0x%X\n" @"#define OF_UNICODE_LOWER_TABLE_SIZE 0x%X\n" @"#define OF_UNICODE_CASEFOLDING_TABLE_SIZE 0x%X\n\n", upperTableSize, lowerTableSize, casefoldingTableSize]]; [f writeString: @"#ifdef __cplusplus\n" @"extern \"C\" {\n" @"#endif\n" @"extern const of_unichar_t* const\n" @" of_unicode_upper_table[OF_UNICODE_UPPER_TABLE_SIZE];\n" @"extern const of_unichar_t* const\n" @" of_unicode_lower_table[OF_UNICODE_LOWER_TABLE_SIZE];\n" @"extern const of_unichar_t* const\n" @" of_unicode_casefolding_table[" @"OF_UNICODE_CASEFOLDING_TABLE_SIZE];\n" @"#ifdef __cplusplus\n" @"}\n" @"#endif\n"]; [pool release]; } @end |