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