4a9b5dcfd6aa1c882d23150fb5c7cffc97b40f21
[gnulib.git] / NEWS
1 Important notes
2 ---------------
3
4 User visible incompatible changes
5 ---------------------------------
6
7 Date        Modules         Changes
8
9 2008-04-28  rpmatch         The include file is now <stdlib.h>.
10
11 2008-03-06  freadahead      The return value's computation has changed. It
12                             now increases by 1 after ungetc.
13
14 2008-01-26  isnan-nolibm    The module name is changed from isnan-nolibm to
15                             isnand-nolibm. The include file is changed from
16                             "isnan.h" to "isnand.h". The function that it
17                             defines is changed from isnan() to isnand().
18
19 2008-01-14  strcasestr      This module now replaces worst-case inefficient
20                             implementations; clients that use controlled
21                             needles and thus do not care about worst-case
22                             efficiency should use the new strcasestr-simple
23                             module instead for smaller code size.
24
25 2008-01-09  alloca-opt      Now defines HAVE_ALLOCA_H only when the system
26                             supplies an <alloca.h>.  Gnulib-using code is now
27                             expected to include <alloca.h> unconditionally.
28                             Non-gnulib-using code can continue to include
29                             <alloca.h> only if HAVE_ALLOCA_H is defined.
30
31 2008-01-08  memmem          This module now replaces worst-case inefficient
32                             implementations; clients that use controlled
33                             needles and thus do not care about worst-case
34                             efficiency should use the new memmem-simple
35                             module instead for smaller code size.
36
37 2007-12-24  setenv          The include file is changed from "setenv.h" to
38                             <stdlib.h>. Also, the unsetenv function is no
39                             longer declared in this module; use the 'unsetenv'
40                             module if you need it.
41
42 2007-12-03  getpagesize     The include file is changed from "getpagesize.h"
43                             to <unistd.h>.
44
45 2007-12-03  strcase         The include file is changed from <string.h> to
46                             <strings.h>.
47
48 2007-10-07  most modules    The license for most modules has changed from
49                             GPLv2+ to GPLv3+, and from LGPLv2+ to LGPLv3+.
50                             A few modules are still under LGPLv2+; see the
51                             module description for the applicable license.
52
53 2007-09-01  linebreak       "linebreak.h" no longer declares the functions
54                             locale_charset, uc_width, u{8,16,32}_width. Use
55                             "uniwidth.h" to get these functions declared.
56
57 2007-08-28  areadlink-with-size
58                             Renamed from mreadlink-with-size.
59                             Function renamed: mreadlink_with_size ->
60                             areadlink_with_size.
61
62 2007-08-22  getdelim, getline
63                             The include file is changed from "getdelim.h"
64                             and "getline.h" to the POSIX 200x <stdio.h>.
65
66 2007-08-18  idcache         Now provides prototypes in "idcache.h".
67
68 2007-08-10  xstrtol         The STRTOL_FATAL_ERROR macro is removed.
69                             Use the new xstrtol_fatal function instead.
70
71 2007-08-04  human           The function human_options no longer reports an
72                             error to standard error; that is now the
73                             caller's responsibility.  It returns an
74                             error code of type enum strtol_error
75                             instead of the integer option value, and stores
76                             the option value via a new int * argument.
77             xstrtol         The first two arguments of STRTOL_FATAL_ERROR
78                             are now an option name and option argument
79                             instead of an option argument and a type string,
80                             STRTOL_FAIL_WARN is removed.
81
82 2007-07-14  gpl, lgpl       New Texinfo versions with no sectioning commands.
83
84 2007-07-10  version-etc     Output now mentions GPLv3+, not GPLv2+.  Use
85                             gnulib-tool --local-dir to override this.
86
87 2007-07-07  wcwidth         The include file is changed from "wcwidth.h" to
88                             <wchar.h>.
89
90 2007-07-02  gpl, lgpl       Renamed to gpl-2.0 and lgpl-2.1 respectively.
91                             (There is also a new module gpl-3.0.)
92
93 2007-06-16  lchown          The include file is changed from "lchown.h" to
94                             <unistd.h>.
95
96 2007-06-09  xallocsa        Renamed to xmalloca. The include file "xallocsa.h"
97                             was remamed to "xmalloca.h". The function was
98                             renamed:
99                               xallocsa -> xmalloca
100
101 2007-06-09  allocsa         Renamed to malloca. The include file "allocsa.h"
102                             was remamed to "malloca.h". The function-like
103                             macros were renamed:
104                               allocsa -> malloca
105                               freesa -> freea
106
107 2007-05-20  utimens         Renamed futimens to gl_futimens, to avoid
108                             conflict with the glibc-2.6-introduced function
109                             that has a different signature.
110
111 2007-05-01  sigprocmask     The module now depends on signal, so replace
112                               #include "sigprocmask.h"
113                             with
114                               #include <signal.h>
115
116 2007-04-06  gettext         The macro HAVE_LONG_DOUBLE is no longer set.
117                             You can replace all its uses with 1, i.e. assume
118                             'long double' as a type exists.
119
120 2007-04-01  arcfour         Renamed to crypto/arcfour.
121             arctwo          Renamed to crypto/arctwo.
122             des             Renamed to crypto/des.
123             gc              Renamed to crypto/gc.
124             gc-arcfour      Renamed to crypto/gc-arcfour.
125             gc-arctwo       Renamed to crypto/gc-arctwo.
126             gc-des          Renamed to crypto/gc-des.
127             gc-hmac-md5     Renamed to crypto/gc-hmac-md5.
128             gc-hmac-sha1    Renamed to crypto/gc-hmac-sha1.
129             gc-md2          Renamed to crypto/gc-md2.
130             gc-md4          Renamed to crypto/gc-md4.
131             gc-md5          Renamed to crypto/gc-md5.
132             gc-pbkdf2-sha1  Renamed to crypto/gc-pbkdf2-sha1.
133             gc-random       Renamed to crypto/gc-random.
134             gc-rijndael     Renamed to crypto/gc-rijndael.
135             gc-sha1         Renamed to crypto/gc-sha1.
136             hmac-md5        Renamed to crypto/hmac-md5.
137             hmac-sha1       Renamed to crypto/hmac-sha1.
138             md2             Renamed to crypto/md2.
139             md4             Renamed to crypto/md4.
140             md5             Renamed to crypto/md5.
141             rijndael        Renamed to crypto/rijndael.
142             sha1            Renamed to crypto/sha1.
143
144 2007-03-27  vasprintf       The module now depends on stdio, so replace
145                                #include "vasprintf.h"
146                             with
147                                #include <stdio.h>
148
149 2007-03-24  tsearch         The include file is changed from "tsearch.h" to
150                             <search.h>.
151
152 2007-03-24  utf8-ucs4       The include file is changed from "utf8-ucs4.h"
153                             to "unistr.h".
154             utf8-ucs4-unsafe  The include file is changed from
155                             "utf8-ucs4-unsafe.h" to "unistr.h".
156             utf16-ucs4      The include file is changed from "utf16-ucs4.h"
157                             to "unistr.h".
158             utf16-ucs4-unsafe  The include file is changed from
159                             "utf16-ucs4-unsafe.h" to "unistr.h".
160             ucs4-utf8       The include file is changed from "ucs4-utf8.h"
161                             to "unistr.h".
162             ucs4-utf16      The include file is changed from "ucs4-utf16.h"
163                             to "unistr.h".
164
165 2007-03-19  iconvme         The module is removed. Use module striconv instead:
166                             iconv_string -> str_iconv
167                             iconv_alloc -> str_cd_iconv (with reversed
168                                            arguments)
169
170 2007-03-15  list            The functions gl_list_create_empty and
171             array-list      gl_list_create now take an extra fourth argument.
172             carray-list     You can pass NULL.
173             linked-list
174             linkedhash-list
175             avltree-list
176             rbtree-list
177             avltreehash-list
178             rbtreehash-list
179
180 2007-03-15  oset            The function gl_oset_create_empty now takes a
181             array-oset      third argument. You can pass NULL.
182             avltree-oset
183             rbtree-oset
184
185 2007-03-12  des             The types and functions in lib/des.h have been
186             gc-des          renamed:
187
188                             des_ctx -> gl_des_ctx, tripledes_ctx -> gl_3des_ctx,
189                             des_is_weak_key -> gl_des_is_weak_key,
190                             des_setkey -> gl_des_setkey,
191                             des_makekey -> gl_des_makekey,
192                             des_ecb_crypt -> gl_des_ecb_crypt,
193                             des_ecb_encrypt -> gl_des_ecb_encrypt,
194                             des_ecb_decrypt -> gl_des_ecb_decrypt,
195                             tripledes_set2keys -> gl_3des_set2keys,
196                             tripledes_set3keys -> gl_3des_set3keys,
197                             tripledes_makekey -> gl_3des_makekey,
198                             tripledes_ecb_crypt -> gl_3des_ecb_crypt.
199
200                             Also consider using the "gc-des" buffer instead of
201                             using the "des" module directly.
202
203 2007-02-28  xreadlink       The module xreadlink was renamed to
204                             xreadlink-with-size. The function was renamed:
205                             xreadlink -> xreadlink_with_size.
206
207 2007-02-18  exit            The modules now depend on stdlib, so replace
208             mkdtemp           #include "exit.h"
209             mkstemp           #include "mkdtemp.h"
210                               #include "mkstemp.h"
211                             with
212                               #include <stdlib.h>
213
214 2007-01-26  strdup          The module now depends on string, so replace
215                               #include "strdup.h"
216                             with
217                               #include <string.h>
218
219 # This is for Emacs.
220 # Local Variables:
221 # indent-tabs-mode: nil
222 # whitespace-check-buffer-indent: nil
223 # End: