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