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