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