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