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