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