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