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