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