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