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