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