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