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