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