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