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