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