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