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