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