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