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