* NEWS: In xstrtol, remove STRTOL_FATAL_ERROR and add xstrtol_fatal.
[gnulib.git] / NEWS
1 Important notes
2 ---------------
3
4 User visible incompatible changes
5 ---------------------------------
6
7 Date        Modules         Changes
8
9 2007-08-10  xstrtol         The STRTOL_FATAL_ERROR macro is removed.
10                             Use the new xstrtol_fatal function instead.
11
12 2007-08-04  human           The function human_options no longer reports an
13                             error to standard error; that is now the
14                             caller's responsibility.  It returns an
15                             error code of type enum strtol_error
16                             instead of the integer option value, and stores
17                             the option value via a new int * argument.
18             xstrtol         The first two arguments of STRTOL_FATAL_ERROR
19                             are now an option name and option argument
20                             instead of an option argument and a type string,
21                             STRTOL_FAIL_WARN is removed.
22
23 2007-07-14  gpl, lgpl       New Texinfo versions with no sectioning commands.
24
25 2007-07-10  version-etc     Output now mentions GPLv3+, not GPLv2+.  Use
26                             gnulib-tool --local-dir to override this.
27
28 2007-07-07  wcwidth         The include file is changed from "wcwidth.h" to
29                             <wchar.h>.
30
31 2007-07-02  gpl, lgpl       Renamed to gpl-2.0 and lgpl-2.1 respectively.
32                             (There is also a new module gpl-3.0.)
33
34 2007-06-16  lchown          The include file is changed from "lchown.h" to
35                             <unistd.h>.
36
37 2007-06-09  xallocsa        Renamed to xmalloca. The include file "xallocsa.h"
38                             was remamed to "xmalloca.h". The function was
39                             renamed:
40                               xallocsa -> xmalloca
41
42 2007-06-09  allocsa         Renamed to malloca. The include file "allocsa.h"
43                             was remamed to "malloca.h". The function-like
44                             macros were renamed:
45                               allocsa -> malloca
46                               freesa -> freea
47
48 2007-05-20  utimens         Renamed futimens to gl_futimens, to avoid
49                             conflict with the glibc-2.6-introduced function
50                             that has a different signature.
51
52 2007-05-01  sigprocmask     The module now depends on signal, so replace
53                               #include "sigprocmask.h"
54                             with
55                               #include <signal.h>
56
57 2007-04-06  gettext         The macro HAVE_LONG_DOUBLE is no longer set.
58                             You can replace all its uses with 1, i.e. assume
59                             'long double' as a type exists.
60
61 2007-04-01  arcfour         Renamed to crypto/arcfour.
62             arctwo          Renamed to crypto/arctwo.
63             des             Renamed to crypto/des.
64             gc              Renamed to crypto/gc.
65             gc-arcfour      Renamed to crypto/gc-arcfour.
66             gc-arctwo       Renamed to crypto/gc-arctwo.
67             gc-des          Renamed to crypto/gc-des.
68             gc-hmac-md5     Renamed to crypto/gc-hmac-md5.
69             gc-hmac-sha1    Renamed to crypto/gc-hmac-sha1.
70             gc-md2          Renamed to crypto/gc-md2.
71             gc-md4          Renamed to crypto/gc-md4.
72             gc-md5          Renamed to crypto/gc-md5.
73             gc-pbkdf2-sha1  Renamed to crypto/gc-pbkdf2-sha1.
74             gc-random       Renamed to crypto/gc-random.
75             gc-rijndael     Renamed to crypto/gc-rijndael.
76             gc-sha1         Renamed to crypto/gc-sha1.
77             hmac-md5        Renamed to crypto/hmac-md5.
78             hmac-sha1       Renamed to crypto/hmac-sha1.
79             md2             Renamed to crypto/md2.
80             md4             Renamed to crypto/md4.
81             md5             Renamed to crypto/md5.
82             rijndael        Renamed to crypto/rijndael.
83             sha1            Renamed to crypto/sha1.
84
85 2007-03-27  vasprintf       The module now depends on stdio, so replace
86                                #include "vasprintf.h"
87                             with
88                                #include <stdio.h>
89
90 2007-03-24  tsearch         The include file is changed from "tsearch.h" to
91                             <search.h>.
92
93 2007-03-24  utf8-ucs4       The include file is changed from "utf8-ucs4.h"
94                             to "unistr.h".
95             utf8-ucs4-unsafe  The include file is changed from
96                             "utf8-ucs4-unsafe.h" to "unistr.h".
97             utf16-ucs4      The include file is changed from "utf16-ucs4.h"
98                             to "unistr.h".
99             utf16-ucs4-unsafe  The include file is changed from
100                             "utf16-ucs4-unsafe.h" to "unistr.h".
101             ucs4-utf8       The include file is changed from "ucs4-utf8.h"
102                             to "unistr.h".
103             ucs4-utf16      The include file is changed from "ucs4-utf16.h"
104                             to "unistr.h".
105
106 2007-03-19  iconvme         The module is removed. Use module striconv instead:
107                             iconv_string -> str_iconv
108                             iconv_alloc -> str_cd_iconv (with reversed
109                                            arguments)
110
111 2007-03-15  list            The functions gl_list_create_empty and
112             array-list      gl_list_create now take an extra fourth argument.
113             carray-list     You can pass NULL.
114             linked-list
115             linkedhash-list
116             avltree-list
117             rbtree-list
118             avltreehash-list
119             rbtreehash-list
120
121 2007-03-15  oset            The function gl_oset_create_empty now takes a
122             array-oset      third argument. You can pass NULL.
123             avltree-oset
124             rbtree-oset
125
126 2007-03-12  des             The types and functions in lib/des.h have been
127             gc-des          renamed:
128
129                             des_ctx -> gl_des_ctx, tripledes_ctx -> gl_3des_ctx,
130                             des_is_weak_key -> gl_des_is_weak_key,
131                             des_setkey -> gl_des_setkey,
132                             des_makekey -> gl_des_makekey,
133                             des_ecb_crypt -> gl_des_ecb_crypt,
134                             des_ecb_encrypt -> gl_des_ecb_encrypt,
135                             des_ecb_decrypt -> gl_des_ecb_decrypt,
136                             tripledes_set2keys -> gl_3des_set2keys,
137                             tripledes_set3keys -> gl_3des_set3keys,
138                             tripledes_makekey -> gl_3des_makekey,
139                             tripledes_ecb_crypt -> gl_3des_ecb_crypt.
140
141                             Also consider using the "gc-des" buffer instead of
142                             using the "des" module directly.
143
144 2007-02-28  xreadlink       The module xreadlink was renamed to
145                             xreadlink-with-size. The function was renamed:
146                             xreadlink -> xreadlink_with_size.
147
148 2007-02-18  exit            The modules now depend on stdlib, so replace
149             mkdtemp           #include "exit.h"
150             mkstemp           #include "mkdtemp.h"
151                               #include "mkstemp.h"
152                             with
153                               #include <stdlib.h>
154
155 2007-01-26  strdup          The module now depends on string, so replace
156                               #include "strdup.h"
157                             with
158                               #include <string.h>
159
160 # This is for Emacs.
161 # Local Variables:
162 # indent-tabs-mode: nil
163 # whitespace-check-buffer-indent: nil
164 # End: