(moduledir): Use ${libdir} instead of ${exec_prefix}/lib.
[m17n/m17n-lib.git] / NEWS
1 * NEWS -- What's new in the m17n library.                       -*- outline -*-
2 Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
3   National Institute of Advanced Industrial Science and Technology (AIST)
4   Registration Number H15PRO112
5 See the end for copying conditions.
6
7 \f
8 * Changes in the m17n library 1.6.2
9
10 This release is just for bug fixing.
11
12 \f
13 * Changes in the m17n library 1.6.1
14
15 ** Libtool 1.5.26 can be used to build the library from CVS source.
16
17 \f
18 * Changes in the m17n library 1.6.0
19
20 ** For handling new spec in the Unicode 5.2, these new APIs are added
21 to m17n-flt.h.
22    mflt_enable_new_feature
23    mflt_iterate_otf_feature
24    mflt_font_id
25    mflt_try_otf
26
27 \f
28 * Changes in the m17n library 1.5.5
29
30 ** Now libtool 2.2.4 or the later is required to build the library
31 from CVS source.
32
33 \f
34 * Changes in the m17n library 1.5.4
35
36 ** New coding system names "Shift_JIS" and "windows-XXXX" are
37 recognized.
38
39 \f
40 * Changes in the m17n library 1.5.3
41
42 This release is just for bug fixing.
43
44 \f
45 * Changes in the m17n library 1.5.2
46
47 This release is just for bug fixing.
48
49 \f
50 * Changes in the m17n library 1.5.1
51
52 This release is just for bug fixing.
53
54 \f
55 * Changes in the m17n library 1.5.0
56
57 ** New API layer FLT is created.
58
59 ** New environment variable MDEBUG_FLT is available to turn on
60 printing debug information for FLT, and these are now obsolete;
61 MDEBUG_FONT_FLT, MDEBUG_FONT_OTF.
62
63 ** New functions mchartable_min_char () returns the mininum character.
64 that is set some value in a char-table.  New funcion
65 mchartable_min_char () is for the maximum character.
66
67 \f
68 * Changes in the m17n library 1.4.0
69
70 ** If the environment variable "M17NDIR" is not set, the directory
71 "~/.m17n.d" is serched for database files.
72
73 ** New function mfont_list_family_names () returns a list of available
74 font family names.
75
76 ** New functions mlanguage_list (), mlanguage_code (),
77 mlanguage_name_list (), and mlanguage_text () return various
78 language-related information.
79
80 ** New functions mscript_list () and mscript_language_list () return
81 various script-related information.
82
83 ** New function msymbol_put_func (), msymbol_get_func (),
84 mplist_put_func (), mplist_get_func (), mface_put_hook (), and
85 mface_get_hook () are available to avoid unsafe casting of function
86 pointer.  New macro M17N_FUNC and new type M17NFunc are also
87 introduced.
88
89 \f
90 * Changes in the m17n library 1.3.0
91
92 ** The `configure' script accepts the argument "--without-gui" to
93 suppress building GUI libraries.
94
95 ** The environment variable MDEBUG_OUTPUT_FILE can specify a file to
96 output the debugging log messages.
97
98 ** The member `candidate_changed' of MInputContext carries more
99 information; i.e. the list itself is changed, only an index is
100 changed, etc.
101
102 ** The member `callback_list' of MInputDriver can have callback
103 functions `input-get-surrounding-text' and
104 `input-delete-surrounding-text'.
105
106 ** The minput_filter () function accepts special events
107 `input-focus-move', `input-focus-in', and `input-focus-out'.
108
109 ** Three letter codes of ISO639-2 are also accepted as language
110 symbols.
111
112 ** New functions minput_get_description (), minput_get_commands (),
113 minput_assign_command_keys (), minput_get_variables (), and
114 minput_set_variable(), minput_get_title_icon() are introduced for
115 handling input methods.
116
117 ** New fucntions mtext_insert () and and mtext_replace () for
118 modifying M-text.
119
120 ** New functions mtext_uppercase (), mtext_titlecase (),
121 mtext_lowercase () implement "3.13 Default Case Operations" of The
122 Unicode Standard 4.0.
123
124 ** New function mtext_line_break () implements the line breaking
125 algorithm of The Unicode Standard 4.0 UAX#14.  The algorithm can be
126 controlled by the variable mdraw_line_break_option.
127
128 ** New function msymbol_is_managing_key () checks if a symbol is a
129 managing key or not.
130
131 ** New function mtext_data () exports various information about
132 M-text.
133
134 ** Function mfont_get_prop () accept properties `fontfile',
135 `font-acsent', `font-descent', and `max-advance'.
136
137 ** New function mfont_check () checks if a specific font can be used
138 for a specific script and language.
139
140 ** New function mface_equal () checks if two faces are equal or not.
141
142 \f
143 * Changes in the m17n library 1.2.0
144
145 ** Two new variables MTEXT_FORMAT_UTF_16 and MTEXT_FORMAT_UTF_32.
146 They are initialized to one of MTEXT_FORMAT_UTF_16LE,
147 MTEXT_FORMAT_UTF_16BE,  MTEXT_FORMAT_UTF_LE,  MTEXT_FORMAT_UTF_32BE
148 dependending on the systems's endianess.
149
150 ** In the argument PLIST of mframe (), the key Mfont can be used to
151 specify which font-backend to use.  The value must be Mx or Mfreetype.
152
153 ** New function mfont_list () returns a list of matching fonts.
154
155 ** New function m17n_status () returns the current initialization
156 status.
157
158 ** New function minput_reset () resets the current input context.
159
160 ** Names of sample programs have prefix "m17n-" instead of single "m".
161 This is to avoid confiliction of program names included in the other
162 packages.
163
164 \f
165 * Changes in the m17n library 1.1.0
166
167 ** The "configure" script now detects Fontconfig, Xft2, and GD
168 libraries.
169
170 If Fontconfig library is found, the library find local font files
171 (that are to be handled by the Freetype library) by fontconfig, and if
172 Xft2 library is also found, draw text by Xft.
173
174 ** Mdevice (new symbol) is recoginized as a key in the argument PLIST
175 of mframe ().
176
177 The value must be Mx (new symbol), Mgd (new symbol), or Mnil.  See the
178 documentation of mframe () for more detail.
179
180 ** MDrawControl has a new member `anti_alias'.
181
182 If MDrawControl->anti_alias is nonzero, try to draw anti-aliased text
183 if local fonts are used for that text via Freetype.  If Xft2 library
184 can be used, the anti-alias processing is done by Xft2's drawing
185 routine.  Otherwise, the m17n library itself does it by assumming that
186 the background color is `background' property of a face.
187
188 ** Modification of face is now automatically refelected to the next
189 drawing.
190
191 So, for instance, an application can change the default face of a
192 frame after the frame is created.  The sample program "medit" utilize
193 it now.
194
195 ** New function mfontset_lookup () reports contents of a fontset.
196
197 ** New function mplist_deseriaze () parses an M-Text and generates a
198 plist.
199
200 ** The functions mfont_name () and mfont_from_name () are now obsolete
201 (still kept for backward compatibility).  Use mfont_parse_name () and
202 mfont_unparse_name () instead.
203
204 ** The sample program "mdump" generates PNG image file instead of PBM.
205
206 It now runs only when the m17n library is configured with the Freetype
207 library and the GD library.
208
209 \f
210 * Changes in the m17n library 1.0
211
212 ** Released.
213
214 \f
215 * Copyright information
216
217 Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
218   National Institute of Advanced Industrial Science and Technology (AIST)
219   Registration Number H15PRO112
220
221 This file is part of the m17n library.
222
223 The m17n library is free software; you can redistribute it and/or
224 modify it under the terms of the GNU Lesser General Public License
225 as published by the Free Software Foundation; either version 2.1 of
226 the License, or (at your option) any later version.
227
228 The m17n library is distributed in the hope that it will be useful,
229 but WITHOUT ANY WARRANTY; without even the implied warranty of
230 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
231 Lesser General Public License for more details.
232
233 You should have received a copy of the GNU Lesser General Public
234 License along with the m17n library; if not, write to the Free
235 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
236 Boston, MA 02110-1301, USA.
237 \f
238 Local Variables:
239 mode: outline
240 paragraph-separate: "[  \f]*$"
241 End: