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