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