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