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