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