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