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