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