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