4a427bfdfb3716f30760894125380cd6f4fe63ee
[chise/libchise.git] / ChangeLog
1 2003-08-12  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
2
3         * configure.in: Update version to 0.2.0.
4
5         * Makefile.in (ABI_VERSION): New variable.
6         (libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
7
8 2003-08-12  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
9
10         * sample.c (main): Use <CHISE_Decoding_Table> instead of
11         <CHISE_Decoding_Table*> to define `dt_daikanwa'; use
12         <CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define
13         `ft_ideographic_structure' and `ft_ascii'.
14
15         * chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*>
16         instead of <CHISE_Decoding_Table**> as the type of the first
17         argument.
18         (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
19         <CHISE_Feature_Table**> as the type of the first argument.
20         (chise_ft_iterate): Modify for the structure
21         `CHISE_Feature_Table'.
22         (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
23         of <CHISE_Attribute_Table **> as the type of the first argument;
24         modify for the structure <CHISE_Feature_Table>.
25         (chise_close_attribute_table): Modify for the structure
26         <CHISE_Feature_Table>.
27         (chise_get_attribute_table): Likewise.
28         (chise_put_attribute_table): Likewise.
29
30         * chise.h (CHISE_Attribute_Table): Define as a structure.
31         (chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead
32         of <CHISE_Decoding_Table**> as the type of the first argument.
33         (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
34         <CHISE_Feature_Table**> as the type of the first argument.
35         (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
36         of <CHISE_Attribute_Table**> as the type of the first argument.
37
38 2003-08-11  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
39
40         * chise.h (chise_dt_put_char): New prototype.
41
42 2003-08-10  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
43
44         * chise.c (chise_dt_put_char): New function.
45         (chise_put_attribute_table): New function.
46
47 2003-08-10  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
48
49         * chise.c (chise_format_char_id): New function.
50         (chise_ft_get_value): Use `chise_format_char_id'.
51
52 2003-08-09  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
53
54         * chise.h: Define `_CHISE_H'.
55
56 2003-08-09  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
57
58         * sample.c (test_map_func): New function.
59         (main): Add sample of `chise_ft_iterate'.
60
61         * chise.c (chise_char_id_parse_c_string): New function.
62         (chise_dt_get_char): Use `chise_char_id_parse_c_string'.
63         (chise_ft_iterate): New function.
64
65         * chise.h (chise_ft_iterate): New function.
66
67 2003-08-06  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
68
69         * chise.c (chise_ft_get_value): Use escape forms for some special
70         characters.
71
72 2003-08-06  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
73
74         * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa".
75
76         * chise.c (chise_open_attribute_table): Encode '/' and '%' in
77         argument `feature' for file name.
78
79 2003-07-12  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
80
81         * chise.c, chise.h: Move strnlen related code from chise.h to
82         chise.c.
83
84 2003-07-08  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
85
86         * Makefile.in (CFLAGS): Refer @CFLAGS@.
87
88         * configure.in: Add check code for Fink.
89
90 2003-07-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
91
92         * Makefile.in (LIBTOOL): New variable.
93         (distclean): New target.
94
95         * configure.in: Check about libtool.
96
97 2003-07-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
98
99         * Makefile.in: Use libtool.
100
101 2003-07-07  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
102
103         * chise.c: Include "config.h" when HAVE_CONFIG_H is defined.
104
105         * chise.h (strnlen): New inline function when HAVE_STRNLEN is not
106         defined [based on Izumi MIYAZAKI <imiyazaki@bun.kyoto-u.ac.jp>'s
107         patch].
108
109         * Makefile: Deleted.
110
111         * configure: New file.
112
113         * Makefile.in, config.h.in, configure.in: New files.
114
115 2003-03-12  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
116
117         * chise.c (chise_dt_get_char): Use `chise_value_data' instead of
118         `chise_value_to_c_string'; use `strnlen' and `chise_value_size'
119         instead of `strlen'; fix problem about control characters.
120
121         * chise.h (chise_value_data): New inline function.
122
123 2003-03-10  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
124
125         * chise.c (chise_dt_get_char): Fix problem about `?\CHAR'.
126
127 2003-03-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
128
129         * sample.c: Add comments.
130
131 2003-03-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
132
133         * sample.c: Use <chise.h>.
134         (db_dir): Use "/usr/local/lib/chise/char-db".
135
136         * Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/.
137
138 2003-03-05  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
139
140         * Makefile, chise.c, chise.h, sample.c: New files.
141