Simplify calling convention of u*_conv_from_encoding.
[gnulib.git] / NEWS
1 Important notes
2 ---------------
3
4 User visible incompatible changes
5 ---------------------------------
6
7 Date        Modules         Changes
8
9 2009-04-26  modules/uniconv/u8-conv-from-enc
10             modules/uniconv/u16-conv-from-enc
11             modules/uniconv/u32-conv-from-enc
12                             The calling convention of the functions
13                             u*_conv_from_encoding is changed.
14
15 2009-04-26  modules/uniconv/u8-conv-to-enc
16             modules/uniconv/u16-conv-to-enc
17             modules/uniconv/u32-conv-to-enc
18                             The calling convention of the functions
19                             u*_conv_to_encoding is changed.
20
21 2009-04-24  maintainer-makefile
22                             The maint.mk file was copied from
23                             coreutils, and the old
24                             coverage/gettext/indent rules were
25                             re-added.  If you used 'make syntax-check'
26                             this will add several new checks.  If some
27                             new check is annoying, add the name of the
28                             checks to 'local-checks-to-skip' in your
29                             cfg.mk.
30
31 2009-04-01  visibility      Renamed to lib-symbol-visibility.
32
33 2009-04-01  ld-version-script  Renamed to lib-symbol-versions.
34
35 2009-03-20  close           The substituted variable LIB_CLOSE is removed.
36
37 2009-03-05  filevercmp      Move hidden files up in ordering.
38
39 2009-01-22  c-strtod        This function no longer calls xalloc_die(). If
40             c-strtold       you want to exit the program in case of out-of-
41                             memory, the calling function needs to arrange
42                             for it, like this:
43                                 errno = 0;
44                                 val = c_strtod (...);
45                                 if (val == 0 && errno == ENOMEM)
46                                   xalloc_die ();
47
48 2009-01-17  relocatable-prog  In the Makefile.am or Makefile.in, you now also
49                             need to set RELOCATABLE_STRIP = :.
50
51 2008-12-22  getaddrinfo     When using this module, you now need to link with
52             canon-host      $(GETADDRINFO_LIB).
53
54 2008-12-21  mbiter          The header files "mbiter.h", "mbuiter.h",
55             mbuiter         "mbfile.h" can now be included without checking
56             mbfile          HAVE_MBRTOWC. The macro HAVE_MBRTOWC will no
57                             longer be defined by these modules in a year. If
58                             you want to continue to use it, you need to invoke
59                             AC_FUNC_MBRTOWC yourself.
60
61 2008-11-11  warnings        This module subsumes the file m4/warning.m4 which
62                             was removed.
63
64 2008-10-20  lstat           The include file is changed from "lstat.h" to
65                             <sys/stat.h>.
66
67 2008-10-20  getaddrinfo     The include file is changed from "getaddrinfo.h"
68                             to <netdb.h>.
69
70 2008-10-19  isnanf          The include file is changed from "isnanf.h" to
71                             <math.h>.
72             isnand          The include file is changed from "isnand.h" to
73                             <math.h>.
74             isnanl          The include file is changed from "isnanl.h" to
75                             <math.h>.
76
77 2008-10-18  lchmod          The include file is changed from "lchmod.h" to
78                             <sys/stat.h>.
79
80 2008-10-18  dirfd           The include file is changed from "dirfd.h" to
81                             <dirent.h>.
82
83 2008-10-18  euidaccess      The include file is changed from "euidaccess.h"
84                             to <unistd.h>.
85
86 2008-10-18  getdomainname   The include file is changed from "getdomainname.h"
87                             to <unistd.h>.
88
89 2008-09-28  sockets         When using this module, you now need to link with
90                             $(LIBSOCKET).
91
92 2008-09-24  sys_select      The limitation on `select', introduced 2008-09-23,
93                             was removed.  sys_select now includes a select
94                             wrapper for Winsock.  The wrapper expects socket
95                             and file descriptors to be compatible as arranged
96                             by the sys_socket on MinGW.
97
98 2008-09-23  sys_socket      Under Windows (MinGW), the module now adds
99                             wrappers around Winsock functions, so that
100                             socket descriptors are now compatible with
101                             file descriptors.  In general, this change
102                             will simply improve your code's portability
103                             between POSIX platforms and Windows.  In
104                             particular, you will be able to use ioctl and
105                             close instead of ioctlsocket and closesocket,
106                             and test errno instead of WSAGetLastError ().
107                             On the other hand, you have to audit your code to
108                             remove usage of these Winsock-specific functions.
109
110                             This change does not remove the need to call
111                             the gl_sockets_startup function from the sockets
112                             gnulib module.  Also, for now select is disabled
113                             when you include the sys_socket module; while
114                             the functionality will be restored soon, for
115                             efficiency it is suggested to use the poll system
116                             poll system call and gnulib module instead.
117
118 2008-09-13  EOVERFLOW       The module is removed. Use module errno instead.
119
120 2008-09-01  filename        The module does not define the function
121                             concatenated_filename any more. To get an
122                             equivalent function, use function
123                             xconcatenated_filename from module
124                             'xconcat-filename'.
125
126 2008-08-31  havelib         On Solaris, when searching for 64-bit mode
127                             libraries the directory $prefix/lib is now ignored.
128                             Instead the directory $prefix/lib/64 is searched.
129                             You may need to create a symbolic link for
130                             $prefix/lib/64 if you have 64-bit libraries
131                             installed in $prefix/lib.
132
133 2008-08-19  strverscmp      The include file is changed from "strverscmp.h"
134                             to <string.h>.
135
136 2008-08-14  lock            The include file is changed from "lock.h"
137                             to "glthread/lock.h".
138             tls             The include file is changed from "tls.h"
139                             to "glthread/tls.h".
140
141 2008-07-17  c-stack         The module now requires the addition of
142                             $(LIBCSTACK) or $(LTLIBCSTACK) in Makefile.am,
143                             since it may depend on linking with libsigsegv.
144
145 2008-07-07  isnanf-nolibm   The include file is changed from "isnanf.h"
146                             to "isnanf-nolibm.h".
147             isnand-nolibm   The include file is changed from "isnand.h"
148                             to "isnand-nolibm.h".
149
150 2008-06-10  execute         The execute function takes an additional termsigp
151                             argument. Passing termsigp = NULL is ok.
152             wait-process    The wait_subprocess function takes an additional
153                             termsigp argument. Passing termsigp = NULL is ok.
154
155 2008-05-10  linebreak       The module is split into several modules unilbrk/*.
156                             The include file is changed from "linebreak.h" to
157                             "unilbrk.h". Two functions are renamed:
158                             mbs_possible_linebreaks -> ulc_possible_linebreaks
159                             mbs_width_linebreaks -> ulc_width_linebreaks
160
161 2008-04-28  rpmatch         The include file is now <stdlib.h>.
162
163 2008-04-28  inet_ntop       The include file is changed from "inet_ntop.h"
164                             to <arpa/inet.h>.
165
166 2008-04-28  inet_pton       The include file is changed from "inet_pton.h"
167                             to <arpa/inet.h>.
168
169 2008-03-06  freadahead      The return value's computation has changed. It
170                             now increases by 1 after ungetc.
171
172 2008-01-26  isnan-nolibm    The module name is changed from isnan-nolibm to
173                             isnand-nolibm. The include file is changed from
174                             "isnan.h" to "isnand.h". The function that it
175                             defines is changed from isnan() to isnand().
176
177 2008-01-14  strcasestr      This module now replaces worst-case inefficient
178                             implementations; clients that use controlled
179                             needles and thus do not care about worst-case
180                             efficiency should use the new strcasestr-simple
181                             module instead for smaller code size.
182
183 2008-01-09  alloca-opt      Now defines HAVE_ALLOCA_H only when the system
184                             supplies an <alloca.h>.  Gnulib-using code is now
185                             expected to include <alloca.h> unconditionally.
186                             Non-gnulib-using code can continue to include
187                             <alloca.h> only if HAVE_ALLOCA_H is defined.
188
189 2008-01-08  memmem          This module now replaces worst-case inefficient
190                             implementations; clients that use controlled
191                             needles and thus do not care about worst-case
192                             efficiency should use the new memmem-simple
193                             module instead for smaller code size.
194
195 2007-12-24  setenv          The include file is changed from "setenv.h" to
196                             <stdlib.h>. Also, the unsetenv function is no
197                             longer declared in this module; use the 'unsetenv'
198                             module if you need it.
199
200 2007-12-03  getpagesize     The include file is changed from "getpagesize.h"
201                             to <unistd.h>.
202
203 2007-12-03  strcase         The include file is changed from <string.h> to
204                             <strings.h>.
205
206 2007-10-07  most modules    The license for most modules has changed from
207                             GPLv2+ to GPLv3+, and from LGPLv2+ to LGPLv3+.
208                             A few modules are still under LGPLv2+; see the
209                             module description for the applicable license.
210
211 2007-09-01  linebreak       "linebreak.h" no longer declares the functions
212                             locale_charset, uc_width, u{8,16,32}_width. Use
213                             "uniwidth.h" to get these functions declared.
214
215 2007-08-28  areadlink-with-size
216                             Renamed from mreadlink-with-size.
217                             Function renamed: mreadlink_with_size ->
218                             areadlink_with_size.
219
220 2007-08-22  getdelim, getline
221                             The include file is changed from "getdelim.h"
222                             and "getline.h" to the POSIX 200x <stdio.h>.
223
224 2007-08-18  idcache         Now provides prototypes in "idcache.h".
225
226 2007-08-10  xstrtol         The STRTOL_FATAL_ERROR macro is removed.
227                             Use the new xstrtol_fatal function instead.
228
229 2007-08-04  human           The function human_options no longer reports an
230                             error to standard error; that is now the
231                             caller's responsibility.  It returns an
232                             error code of type enum strtol_error
233                             instead of the integer option value, and stores
234                             the option value via a new int * argument.
235             xstrtol         The first two arguments of STRTOL_FATAL_ERROR
236                             are now an option name and option argument
237                             instead of an option argument and a type string,
238                             STRTOL_FAIL_WARN is removed.
239
240 2007-07-14  gpl, lgpl       New Texinfo versions with no sectioning commands.
241
242 2007-07-10  version-etc     Output now mentions GPLv3+, not GPLv2+.  Use
243                             gnulib-tool --local-dir to override this.
244
245 2007-07-07  wcwidth         The include file is changed from "wcwidth.h" to
246                             <wchar.h>.
247
248 2007-07-02  gpl, lgpl       Renamed to gpl-2.0 and lgpl-2.1 respectively.
249                             (There is also a new module gpl-3.0.)
250
251 2007-06-16  lchown          The include file is changed from "lchown.h" to
252                             <unistd.h>.
253
254 2007-06-09  xallocsa        Renamed to xmalloca. The include file "xallocsa.h"
255                             was remamed to "xmalloca.h". The function was
256                             renamed:
257                               xallocsa -> xmalloca
258
259 2007-06-09  allocsa         Renamed to malloca. The include file "allocsa.h"
260                             was remamed to "malloca.h". The function-like
261                             macros were renamed:
262                               allocsa -> malloca
263                               freesa -> freea
264
265 2007-05-20  utimens         Renamed futimens to gl_futimens, to avoid
266                             conflict with the glibc-2.6-introduced function
267                             that has a different signature.
268
269 2007-05-01  sigprocmask     The module now depends on signal, so replace
270                               #include "sigprocmask.h"
271                             with
272                               #include <signal.h>
273
274 2007-04-06  gettext         The macro HAVE_LONG_DOUBLE is no longer set.
275                             You can replace all its uses with 1, i.e. assume
276                             'long double' as a type exists.
277
278 2007-04-01  arcfour         Renamed to crypto/arcfour.
279             arctwo          Renamed to crypto/arctwo.
280             des             Renamed to crypto/des.
281             gc              Renamed to crypto/gc.
282             gc-arcfour      Renamed to crypto/gc-arcfour.
283             gc-arctwo       Renamed to crypto/gc-arctwo.
284             gc-des          Renamed to crypto/gc-des.
285             gc-hmac-md5     Renamed to crypto/gc-hmac-md5.
286             gc-hmac-sha1    Renamed to crypto/gc-hmac-sha1.
287             gc-md2          Renamed to crypto/gc-md2.
288             gc-md4          Renamed to crypto/gc-md4.
289             gc-md5          Renamed to crypto/gc-md5.
290             gc-pbkdf2-sha1  Renamed to crypto/gc-pbkdf2-sha1.
291             gc-random       Renamed to crypto/gc-random.
292             gc-rijndael     Renamed to crypto/gc-rijndael.
293             gc-sha1         Renamed to crypto/gc-sha1.
294             hmac-md5        Renamed to crypto/hmac-md5.
295             hmac-sha1       Renamed to crypto/hmac-sha1.
296             md2             Renamed to crypto/md2.
297             md4             Renamed to crypto/md4.
298             md5             Renamed to crypto/md5.
299             rijndael        Renamed to crypto/rijndael.
300             sha1            Renamed to crypto/sha1.
301
302 2007-03-27  vasprintf       The module now depends on stdio, so replace
303                                #include "vasprintf.h"
304                             with
305                                #include <stdio.h>
306
307 2007-03-24  tsearch         The include file is changed from "tsearch.h" to
308                             <search.h>.
309
310 2007-03-24  utf8-ucs4       The include file is changed from "utf8-ucs4.h"
311                             to "unistr.h".
312             utf8-ucs4-unsafe  The include file is changed from
313                             "utf8-ucs4-unsafe.h" to "unistr.h".
314             utf16-ucs4      The include file is changed from "utf16-ucs4.h"
315                             to "unistr.h".
316             utf16-ucs4-unsafe  The include file is changed from
317                             "utf16-ucs4-unsafe.h" to "unistr.h".
318             ucs4-utf8       The include file is changed from "ucs4-utf8.h"
319                             to "unistr.h".
320             ucs4-utf16      The include file is changed from "ucs4-utf16.h"
321                             to "unistr.h".
322
323 2007-03-19  iconvme         The module is removed. Use module striconv instead:
324                             iconv_string -> str_iconv
325                             iconv_alloc -> str_cd_iconv (with reversed
326                                            arguments)
327
328 2007-03-15  list            The functions gl_list_create_empty and
329             array-list      gl_list_create now take an extra fourth argument.
330             carray-list     You can pass NULL.
331             linked-list
332             linkedhash-list
333             avltree-list
334             rbtree-list
335             avltreehash-list
336             rbtreehash-list
337
338 2007-03-15  oset            The function gl_oset_create_empty now takes a
339             array-oset      third argument. You can pass NULL.
340             avltree-oset
341             rbtree-oset
342
343 2007-03-12  des             The types and functions in lib/des.h have been
344             gc-des          renamed:
345
346                             des_ctx -> gl_des_ctx, tripledes_ctx -> gl_3des_ctx,
347                             des_is_weak_key -> gl_des_is_weak_key,
348                             des_setkey -> gl_des_setkey,
349                             des_makekey -> gl_des_makekey,
350                             des_ecb_crypt -> gl_des_ecb_crypt,
351                             des_ecb_encrypt -> gl_des_ecb_encrypt,
352                             des_ecb_decrypt -> gl_des_ecb_decrypt,
353                             tripledes_set2keys -> gl_3des_set2keys,
354                             tripledes_set3keys -> gl_3des_set3keys,
355                             tripledes_makekey -> gl_3des_makekey,
356                             tripledes_ecb_crypt -> gl_3des_ecb_crypt.
357
358                             Also consider using the "gc-des" buffer instead of
359                             using the "des" module directly.
360
361 2007-02-28  xreadlink       The module xreadlink was renamed to
362                             xreadlink-with-size. The function was renamed:
363                             xreadlink -> xreadlink_with_size.
364
365 2007-02-18  exit            The modules now depend on stdlib, so replace
366             mkdtemp           #include "exit.h"
367             mkstemp           #include "mkdtemp.h"
368                               #include "mkstemp.h"
369                             with
370                               #include <stdlib.h>
371
372 2007-01-26  strdup          The module now depends on string, so replace
373                               #include "strdup.h"
374                             with
375                               #include <string.h>
376
377 # This is for Emacs.
378 # Local Variables:
379 # indent-tabs-mode: nil
380 # whitespace-check-buffer-indent: nil
381 # End: