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