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