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