Overview
Comment: | Automatically download UnicodeData.txt if it's missing. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c5d489cefdc71e9a488ad2d221d24bec |
User & Date: | js on 2009-10-19 22:09:09 |
Other Links: | manifest | tags |
Context
2009-10-29
| ||
14:16 | Split Unicode table generator and download CaseFolding.txt. check-in: c51761c6e9 user: js tags: trunk | |
2009-10-19
| ||
22:09 | Automatically download UnicodeData.txt if it's missing. check-in: c5d489cefd user: js tags: trunk | |
08:31 | Add plugin support for Win32. check-in: 3194cede14 user: js tags: trunk | |
Changes
Modified generators/Makefile from [20ac2c40c4] to [3e90090f60].
1 2 3 4 | PROG_NOINST = gen_tables${PROG_SUFFIX} SRCS = gen_tables.m .PHONY: run | | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | PROG_NOINST = gen_tables${PROG_SUFFIX} SRCS = gen_tables.m .PHONY: run run: all UnicodeData.txt rm -f libobjfw.so.0 libobjfw.so.0.1 libobjfw.dll libobjfw.dylib if test -f ../src/libobjfw.so; then \ ln -s ../src/libobjfw.so libobjfw.so.0; \ ln -s ../src/libobjfw.so libobjfw.so.0.1; \ elif test -f ../src/libobjfw.so.0.1; then \ ln -s ../src/libobjfw.so.0.1 libobjfw.so.0.1; \ fi if test -f ../src/libobjfw.dll; then \ ln ../src/libobjfw.dll libobjfw.dll; \ fi if test -f ../src/libobjfw.dylib; then \ ln -s ../src/libobjfw.dylib libobjfw.dylib; \ fi echo "Generating tables..." LD_LIBRARY_PATH=.$${LD_LIBRARY_PATH+:}$$LD_LIBRARY_PATH \ DYLD_LIBRARY_PATH=.$${DYLD_LIBRARY_PATH+:}$$DYLD_LIBRARY_PATH \ ${TEST_LAUNCHER} ./${PROG_NOINST}; EXIT=$$?; \ rm -f libobjfw.so.0 libobjfw.so.0.1 libobjfw.dll libobjfw.dylib; \ exit $$EXIT UnicodeData.txt: wget http://unicode.org/Public/UNIDATA/UnicodeData.txt include ../buildsys.mk CPPFLAGS += -I../src -I.. LIBS := -L../src -lobjfw ${LIBS} |
Modified generators/gen_tables.m from [ddead50c5d] to [8540a1b692].
︙ | ︙ | |||
197 198 199 200 201 202 203 | @"#define OF_UNICODE_LOWER_TABLE_SIZE 0x%X\n\n", upper_size, lower_size]]; [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" | | | 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | @"#define OF_UNICODE_LOWER_TABLE_SIZE 0x%X\n\n", upper_size, lower_size]]; [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"]; [pool release]; } @end int main() |
︙ | ︙ |
Modified src/unicode.h from [68a14abec4] to [0fd427c568].
︙ | ︙ |