1 2005-04-11 Bruno Haible <bruno@clisp.org>
3 * gettext-0.14.4 released.
5 2005-03-22 Bruno Haible <bruno@clisp.org>
7 * configure.ac (AC_CONFIG_AUX_DIR): Use ../../build-aux.
8 * Makefile.am (ACLOCAL_AMFLAGS): Replace config/m4 with m4.
10 2005-03-14 Bruno Haible <bruno@clisp.org>
12 * gettext-0.14.3 released.
14 2005-02-24 Bruno Haible <bruno@clisp.org>
16 * gettext-0.14.2 released.
18 2005-02-13 Bruno Haible <bruno@clisp.org>
20 * Makefile.am (libasprintf.la): New rule. Needed for BeOS.
22 2005-02-12 Bruno Haible <bruno@clisp.org>
24 * Makefile.msvc (install): Update for 2004-01-18 change.
25 * Makefile.vms (install): Likewise.
27 2005-02-12 Bruno Haible <bruno@clisp.org>
29 * vasnprintf.c (EOVERFLOW): Define to a fallback if needed.
31 2004-12-19 Paul Eggert <eggert@cs.ucla.edu>
33 * alloca_.h: Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
35 2004-09-08 Bruno Haible <bruno@clisp.org>
37 * vasnprintf.c (VASNPRINTF): Signal EOVERFLOW if the resulting length
39 * vasprintf.c (vasprintf): Don't test for length > INT_MAX any more.
41 2004-05-14 Bruno Haible <bruno@clisp.org>
43 * vasnprintf.c (VASNPRINTF): Correctly handle the case of a precision
44 that consists of a '.' followed by an empty digit string.
45 Patch by Tor Lillqvist <tml@iki.fi>.
47 2004-04-19 Bruno Haible <bruno@clisp.org>
49 * gettext.m4: Change jm_ to gl_ in all uses of AC_DEFINE'd names.
51 2004-03-11 Bruno Haible <bruno@clisp.org>
53 * Makefile.am (config.h.msvc): Fix the value of SIZE_MAX.
55 2004-02-02 Bruno Haible <bruno@clisp.org>
57 * Makefile.am (RM): New variable.
59 2004-01-29 Bruno Haible <bruno@clisp.org>
61 * gettext-0.14.1 released.
63 2004-01-28 Bruno Haible <bruno@clisp.org>
65 * gettext-0.14 released.
67 2004-01-18 Bruno Haible <bruno@clisp.org>
69 * Makefile.am (autosprintf_all.html): Renamed from autosprintf.html.
70 Works around a problem with automake-1.8: It removes autosprintf.html
71 during "make mostlyclean".
73 2003-10-30 Paul Eggert <eggert@twinsun.com>
74 Bruno Haible <bruno@clisp.org>
76 * vasprintf.c: Include <limits.h>, <stdlib.h>.
77 (vasprintf): Fail if the resulting length doesn't fit in an 'int'.
79 2003-12-12 Bruno Haible <bruno@clisp.org>
82 * Makefile.am (clean-local): Renamed from clean-am.
83 (html-local): Renamed from html.
84 (ps, pdf, .texi.pdf): Remove rules.
85 (TEXI2PDF): Remove variable.
87 2003-12-17 Bruno Haible <bruno@clisp.org>
89 * gettext-0.13.1 released.
91 2003-12-09 Bruno Haible <bruno@clisp.org>
93 * Makefile.am (MAKEINFOFLAGS): New variable.
95 2003-11-30 Bruno Haible <bruno@clisp.org>
97 * gettext-0.13 released.
99 2003-11-28 Bruno Haible <bruno@clisp.org>
101 * configure.ac: Invoke AC_C_INLINE.
102 * Makefile.am (config.h.msvc): Define SIZE_MAX and inline.
104 2003-11-23 Paul Eggert <eggert@twinsun.com>
105 Bruno Haible <bruno@clisp.org>
107 * printf-parse.h: Don't include sys/types.h.
108 (ARG_NONE): New macro.
109 (char_directive): Change type of *arg_index fields to size_t.
110 * printf-parse.c: Don't include sys/types.h.
111 (SSIZE_MAX): Remove macro.
112 (PRINTF_PARSE): Change the type of the arg_index variables to size_t.
113 Remove unnecessary overflow check.
114 * vasnprintf.c (VASNPRINTF): Update for type change of *arg_index
116 * configure.ac: Don't invoke gt_TYPE_SSIZE_T.
118 2003-11-19 Bruno Haible <bruno@clisp.org>
120 * configure.ac: Better test for ptrdiff_t. Invoke gt_TYPE_SSIZE_T and
123 2003-11-17 Bruno Haible <bruno@clisp.org>
125 * vasnprintf.c (alloca): Remove fallback definition.
126 (freea): Remove definition.
127 (VASNPRINTF): Use alloca only for small sizes, say <= 4000 bytes.
128 Reported by Paul Eggert.
130 2003-11-16 Paul Eggert <eggert@twinsun.com>
131 Bruno Haible <bruno@clisp.org>
133 Protect against address arithmetic overflow.
134 * printf-args.h: Include stddef.h.
135 (arguments): Change type of field 'count' to size_t.
136 * printf-args.c (printf_fetchargs): Use size_t instead of
137 'unsigned int' where appropriate.
138 * printf-parse.h: Include sys/types.h.
139 (char_directive): Change type of *arg_index fields to ssize_t.
140 (char_directives): Change type of fields 'count', max_*_length to
142 * printf-parse.c: Include sys/types.h and xsize.h.
143 (SSIZE_MAX): Define fallback value.
144 (PRINTF_PARSE): Use size_t instead of 'unsigned int' and ssize_t
145 instead of 'int' where appropriate. Check a_allocated, d_allocated
146 against overflow. Reject %m$ argument numbers > SSIZE_MAX + 1.
147 * vasnprintf.c: Include xsize.h.
148 (VASNPRINTF): Use size_t instead of 'unsigned int' where appropriate.
149 Check alloca, malloc, realloc, ENSURE_ALLOCATION arguments against
150 overflow. Avoid wraparound when converting a width or precision from
152 * xsize.h: New file, from gnulib.
153 * Makefile.am (lib_asprintf_EXTRASOURCES): Add xsize.h.
155 2003-11-04 Bruno Haible <bruno@clisp.org>
157 * Makefile.am (MAKEINFO): Set LC_MESSAGES and LC_ALL to empty as well.
159 2003-10-31 Bruno Haible <bruno@clisp.org>
161 * configure.ac: Remove argument of FIX_MAKEFILE_COMPILE,
164 2003-10-19 Jim Meyering <jim@meyering.net>
166 * vasnprintf.c (VASNPRINTF): Work around losing snprintf on HPUX 10.20.
168 2003-08-29 Bruno Haible <bruno@clisp.org>
170 * configure.ac: Test whether _snprintf is declared, not only existent
172 * vasnprintf.c: Test HAVE_DECL__SNPRINTF instead of HAVE__SNPRINTF.
173 Test HAVE_DECL__SNWPRINTF instead of HAVE__SNWPRINTF.
174 * Makefile.am (config.h.msvc): Define HAVE_DECL__SNPRINTF instead of
175 defining snprintf as a macro.
177 2003-08-24 Bruno Haible <bruno@clisp.org>
179 * vasnprintf.c (local_wcslen): Protect against multiple definition.
180 (USE_SNPRINTF): Define also if only _snprintf() is available.
181 (SNPRINTF): Possibly define as _snprintf or _snwprintf.
182 * configure.ac: Also check for _snprintf.
184 2003-08-11 Bruno Haible <bruno@clisp.org>
186 * vasnprintf.c (local_wcslen): New function, for Solaris 2.5.1.
187 (VASNPRINTF): Use it instead of wcslen.
188 * configure.ac: Also check for wcslen.
189 * Makefile.am (config.h_vms): Set HAVE_WCSLEN.
190 (config.h.msvc): Likewise.
192 2003-06-20 Bruno Haible <bruno@clisp.org>
194 * configure.ac: Invoke gt_PRINTF_POSIX.
195 * lib-asprintf.h: Ignore an existing vasprintf() if it doesn't support
196 POSIX/XSI format strings.
197 * lib-asprintf.c: Likewise.
198 * Makefile.am (config.h_vms): Define HAVE_POSIX_PRINTF.
200 2003-06-19 Bruno Haible <bruno@clisp.org>
202 * configure.ac (jm_AC_TYPE_LONG_LONG): Replaces gt_TYPE_LONGLONG.
203 * printf-parse.c: Generalize to it can be compiled for wide strings.
204 (PRINTF_PARSE, CHAR_T, DIRECTIVE, DIRECTIVES): New macros.
205 * vasnprintf.c: Generalize to it can be compiled for wide strings.
206 (VASNPRINTF, CHAR_T, DIRECTIVE, DIRECTIVES, PRINTF_PARSE, USE_SNPRINTF,
207 SNPRINTF): New macros.
208 Don't include <alloca.h> if the file is used inside libintl.
210 2003-05-30 Bruno Haible <bruno@clisp.org>
212 * autosprintf.texi: Tweak @dircategory and @direntry.
213 Reported by Karl Berry <karl@freefriends.org>.
215 2003-05-22 Bruno Haible <bruno@clisp.org>
217 * gettext-0.12.1 released.
219 2003-05-20 Bruno Haible <bruno@clisp.org>
221 * Makefile.am (config.h_vms, config.h.msvc, autosprintf.h.msvc-shared):
224 2003-05-19 Bruno Haible <bruno@clisp.org>
226 * windows/asprintf.rc: Include <winver.h>.
227 Reported by Perry Rapp.
229 2003-05-18 Bruno Haible <bruno@clisp.org>
231 * Makefile.msvc (DEBUGFLAGS): New variable.
232 (asprintf.lib): Use it.
234 2003-05-17 Bruno Haible <bruno@clisp.org>
236 * gettext-0.12 released.
238 2003-04-12 Bruno Haible <bruno@clisp.org>
240 * Makefile.am (config.h_vms): Renamed from config.h.vms.
241 * Makefile.vms: New variables ABIFLAGS, DEFS. Avoid rules with no
242 lines. Update library creation rule. Don't use the force target.
243 Correct wildcard syntax.
244 Suggested by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
246 2003-04-12 Bruno Haible <bruno@clisp.org>
248 * Makefile.am (docdir): Use datadir instead of prefix.
249 * Makefile.msvc (datadir): New variable.
250 (sub_docdir): Use it instead of prefix.
251 (install, installdirs): Update.
252 * Makefile.vms (datadir): New variable.
253 (sub_docdir): Use it instead of prefix.
255 2003-03-30 Bruno Haible <bruno@clisp.org>
257 * Makefile.vms: New file.
258 * Makefile.am (config.h.vms): New rule.
259 (EXTRA_DIST): Add Makefile.vms and config.h.vms.
261 2003-03-17 Bruno Haible <bruno@clisp.org>
263 Native Woe32/MSVC support.
264 * autosprintf.h.in: Renamed from autosprintf.h.
265 * Makefile.msvc: New file.
266 * README.woe32: New file.
267 * windows/dllexport.h: New file.
268 * windows/asprintf.rc: New file.
269 * Makefile.am (EXTRA_DIST): Add them and config.h.msvc and
271 (autosprintf.h): New rule.
272 (MOSTLYCLEANFILES): Add autosprintf.h.
273 (dist-hook): Don't distribute autosprintf.h.
274 (config.h.msvc, autosprintf.h.msvc-shared): New rules.
276 2003-02-22 Bruno Haible <bruno@clisp.org>
278 * autosprintf.texi: Add comment about indices.
279 * Makefile.am (MOSTLYCLEANFILES): No need to clean the unused indices.
280 (The automake generated rule already cleans them.)
282 2003-02-22 Bruno Haible <bruno@clisp.org>
284 * Makefile.am (installdirs): Remove dependency, redundant with
287 2003-02-18 Bruno Haible <bruno@clisp.org>
289 * Makefile.am (clean-am): New rule. For Solaris cc.
291 2003-02-12 Bruno Haible <bruno@clisp.org>
293 * configure.ac: Renamed from configure.in. Invoke AC_CONFIG_AUX_DIR.
294 Invoke AC_FUNC_ALLOCA instead of gl_FUNC_ALLOCA. Remove redundant
295 postprocessing of Makefile.
296 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../../config/m4.
297 ($(libasprintf_la_OBJECTS)): Make alloca.h dependency effective.
299 2003-01-03 Albert Chin <libtool@thewrittenword.com>
301 * ltmain.sh: Don't pass -R flags found in a .la's dependency_libs
302 variable directly down to the linker.
303 Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>.
305 2003-01-12 Bruno Haible <bruno@clisp.org>
307 * configure.in: Invoke gl_FUNC_ALLOCA instead of AC_FUNC_ALLOCA.
308 * alloca_.h: New file, from gnulib.
309 * liballoca.h: Remove file.
310 * Makefile.am: Add snippet from gnulib module alloca.
311 (lib_asprintf_EXTRASOURCES): Remove liballoca.h.
312 * vasnprintf.c: Include alloca.h instead of liballoca.h.
314 2003-01-12 Bruno Haible <bruno@clisp.org>
316 * Makefile.am: Make use of += for variables.
318 2003-01-12 Bruno Haible <bruno@clisp.org>
320 Portability to FreeBSD.
321 * configure.in: Invoke gt_TYPE_WINT_T.
322 * printf-args.h: Use HAVE_WINT_T, not HAVE_WCHAR_T, to check for
323 availability of wint_t.
324 * printf-argc.c: Likewise.
325 * printf-parse.c: Likewise.
326 * vasnprintf.c: Likewise.
328 2002-12-07 Bruno Haible <bruno@clisp.org>
330 Switch to autoconf-2.57 and automake-1.7.2.
331 * configure.in: Use AC_CONFIG_FILES, because the AC_OUTPUT commands
332 and not run any more when config.status is called to create a single
335 2002-11-13 Bruno Haible <bruno@clisp.org>
338 * libstdarg.h: Remove file.
339 * Makefile.am (lib_asprintf_EXTRASOURCES): Remove libstdarg.h.
340 * asnprintf.c: Include <stdarg.h> instead of libstdarg.h.
341 (asnprintf): Use ANSI C function declarations. Use va_start instead of
343 * asprintf.c: Include <stdarg.h> instead of libstdarg.h.
344 (asnprintf): Use ANSI C function declarations. Use va_start instead of
346 * printf-args.h (PARAMS): Remove macro.
347 (printf_fetchargs): Use ANSI C function declarations.
348 * printf-args.c (printf_fetchargs): Likewise.
349 * printf-parse.h (printf_parse): Likewise.
350 * printf-parse.c (printf_parse): Likewise.
351 * vasnprintf.h (PARAMS): Remove macro.
352 (asnprintf, vasnprintf): Use ANSI C function declarations.
353 * vasnprintf.c (vasnprintf): Likewise.
354 * vasprintf.h (PARAMS): Remove macro.
355 (asprintf, vasprintf): Use ANSI C function declarations.
356 * vasprintf.c (vasprintf): Likewise.
358 2002-10-27 Bruno Haible <bruno@clisp.org>
360 * printf-args.h, printf-args.c: New files.
361 * printf-parse.h, printf-parse.c: New files.
362 * vasnprintf.h, vasnprintf.c, asnprintf.c: New files.
363 * vasprintf.h, vasprintf.c, asprintf.c: New files.
364 * lib-asprintf.h, lib-asprintf.c: New files.
365 * autosprintf.h, autosprintf.cc: New files.
366 * README, NEWS, AUTHORS, COPYING, autosprintf.texi: New files.
367 * Makefile.am, configure.in: New files.
368 * liballoca.h, libstdarg.h: New files, from gettext-0.11.6/lib.
369 * COPYING.LIB, INSTALL, config.guess, config.sub, install-sh,
370 ltmain.sh, missing, mkinstalldirs, texi2html, texinfo.tex: Standard
371 infrastructure files, from gettext-0.11.6.