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