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