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