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