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