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