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