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