xref: /netbsd-src/external/gpl2/gettext/dist/gettext-runtime/libasprintf/ChangeLog (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
12006-11-27  Bruno Haible  <bruno@clisp.org>
2
3	* gettext-0.16.1 released.
4
52006-10-26  Bruno Haible  <bruno@clisp.org>
6
7	* gettext-0.16 released.
8
92006-10-16  Bruno Haible  <bruno@clisp.org>
10
11	Switch to automake-1.10.
12	* Makefile.am (install-dvi, install-ps, install-pdf): Remove rules.
13	(HTMLS): New variable.
14	(html-local): Use it.
15	(install-html): Remove rule.
16
172006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
18            Bruno Haible  <bruno@clisp.org>
19
20	* printf-args.h (arg_type, argument): Test HAVE_LONG_LONG_INT
21	instead of HAVE_LONG_LONG.
22	* printf-args.c (printf_fetchargs): Likewise.
23	* printf-parse.c (PRINTF_PARSE): Likewise.
24	* vasnprintf.c (VASNPRINTF): Likewise.
25
262006-09-14  Bruno Haible  <bruno@clisp.org>
27
28	* lib-asprintf.c: Include <config.h> unconditionally.
29	* asnprintf.c: Likewise.
30	* asprintf.c: Likewise.
31	* printf-args.c: Likewise.
32	* printf-parse.c: Likewise.
33	* vasnprintf.c: Likewise.
34	* vasprintf.c: Likewise.
35
362006-08-26  Bruno Haible  <bruno@clisp.org>
37
38	* vasnprintf.c (EOVERFLOW): Remove definition.
39	(VASNPRINTF): Return a string of length > INT_MAX without failing.
40	* vasprintf.c: Include errno.h, limits.h.
41	(EOVERFLOW): New fallback definition.
42	(vasprintf): Test here whether the string length is > INT_MAX.
43
442006-08-28  Bruno Haible  <bruno@clisp.org>
45
46	* configure.ac: Remove bh_C_SIGNED invocation.
47
482006-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
49
50	* autosprintf.texi: Reduce spacing after "i.e." and "e.g.".
51
522006-07-25  Bruno Haible  <bruno@clisp.org>
53
54	* windows: Remove directory.
55	* Makefile.msvc: Remove file.
56	* Makefile.am (config.h.msvc, autosprintf.h.msvc-shared): Remove rules.
57	(EXTRA_DIST): Remove Makefile.msvc, config.h.msvc,
58	autosprintf.h.msvc-shared, windows/*.
59
602006-07-25  Bruno Haible  <bruno@clisp.org>
61
62	* Makefile.vms: Remove file.
63	* Makefile.am (config.h_vms): Remove rule.
64	(EXTRA_DIST): Remove Makefile.vms, config.h_vms.
65
662006-07-21  Bruno Haible  <bruno@clisp.org>
67
68	* gettext-0.15 released.
69
702006-06-27  Bruno Haible  <bruno@clisp.org>
71
72	Assume working 'const'.
73	* configure.ac: Remove AC_C_CONST invocation.
74
752006-04-14  Bruno Haible  <bruno@clisp.org>
76
77	Assume autoconf >= 2.60.
78	* Makefile.am (docdir, dvidir, psdir, pdfdir, htmldir): Remove
79	variables.
80
812006-05-24  Bruno Haible  <bruno@clisp.org>
82
83	* printf-args.c (printf_fetchargs): Turn NULL pointers for
84	TYPE_STRING and TYPE_WIDE_STRING into a non-NULL replacement.
85	Reported by Thorsten Maerz <torte@netztorte.de> via
86	Aaron Stone <aaron@serendipity.cx>.
87
882006-05-02  Charles Wilson  <cygwin@cwilson.fastmail.fm>
89
90	* configure.ac (LTNOUNDEF): Set to -no-undefined also on mingw and
91	Cygwin.
92
932006-04-17  Bruno Haible  <bruno@clisp.org>
94
95	* Makefile.am: Use $(mkdir_p) instead of $(mkinstalldirs).
96
972006-04-11  Bruno Haible  <bruno@clisp.org>
98
99	* autosprintf.texi: Change license terms to FDL | GPL.
100
1012006-04-01  Bruno Haible  <bruno@clisp.org>
102
103	* texi2html: Add option -expandtex. Expand @ifhtml by default, not
104	@ifinfo. Use Unicode quotation marks instead of grave and acute
105	accents. Emit charset=UTF-8 declaration. Bump version number to 1.52b.
106
1072006-01-22  Bruno Haible  <bruno@clisp.org>
108
109	* vasnprintf.c (VASNPRINTF): In the computation of the size of the
110	temporary buffer for sprintf, take into account the precision also
111	for 'd', 'i', 'u', 'o', 'x', 'X'.
112
1132005-11-23  Bruno Haible  <bruno@clisp.org>
114
115	Cygwin portability.
116	* configure.ac: Invoke gl_WOE32_DLL.
117
1182005-07-07  Bruno Haible  <bruno@clisp.org>
119
120	Add ability to create shared library on BeOS.
121	* configure.ac (LTNOUNDEF): New macro.
122	* Makefile.am (libasprintf_la_LDFLAGS): New variable.
123
1242005-07-05  Bruno Haible  <bruno@clisp.org>
125
126	* printf-args.c (printf_fetchargs): Work around broken definition of
127	wint_t on mingw.
128
1292006-06-21  Bruno Haible  <bruno@clisp.org>
130
131	* gettext-0.14.6 released.
132
1332005-05-23  Bruno Haible  <bruno@clisp.org>
134
135	* gettext-0.14.5 released.
136
1372005-04-11  Bruno Haible  <bruno@clisp.org>
138
139	* gettext-0.14.4 released.
140
1412005-03-22  Bruno Haible  <bruno@clisp.org>
142
143	* configure.ac (AC_CONFIG_AUX_DIR): Use ../../build-aux.
144	* Makefile.am (ACLOCAL_AMFLAGS): Replace config/m4 with m4.
145
1462005-03-14  Bruno Haible  <bruno@clisp.org>
147
148	* gettext-0.14.3 released.
149
1502005-02-24  Bruno Haible  <bruno@clisp.org>
151
152	* gettext-0.14.2 released.
153
1542005-02-13  Bruno Haible  <bruno@clisp.org>
155
156	* Makefile.am (libasprintf.la): New rule. Needed for BeOS.
157
1582005-02-12  Bruno Haible  <bruno@clisp.org>
159
160	* Makefile.msvc (install): Update for 2004-01-18 change.
161	* Makefile.vms (install): Likewise.
162
1632005-02-12  Bruno Haible  <bruno@clisp.org>
164
165	* vasnprintf.c (EOVERFLOW): Define to a fallback if needed.
166
1672004-12-19  Paul Eggert  <eggert@cs.ucla.edu>
168
169	* alloca_.h: Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
170
1712004-09-08  Bruno Haible  <bruno@clisp.org>
172
173	* vasnprintf.c (VASNPRINTF): Signal EOVERFLOW if the resulting length
174	is > INT_MAX.
175	* vasprintf.c (vasprintf): Don't test for length > INT_MAX any more.
176
1772004-05-14  Bruno Haible  <bruno@clisp.org>
178
179	* vasnprintf.c (VASNPRINTF): Correctly handle the case of a precision
180	that consists of a '.' followed by an empty digit string.
181	Patch by Tor Lillqvist <tml@iki.fi>.
182
1832004-04-19  Bruno Haible  <bruno@clisp.org>
184
185	* gettext.m4: Change jm_ to gl_ in all uses of AC_DEFINE'd names.
186
1872004-03-11  Bruno Haible  <bruno@clisp.org>
188
189	* Makefile.am (config.h.msvc): Fix the value of SIZE_MAX.
190
1912004-02-02  Bruno Haible  <bruno@clisp.org>
192
193	* Makefile.am (RM): New variable.
194
1952004-01-29  Bruno Haible  <bruno@clisp.org>
196
197	* gettext-0.14.1 released.
198
1992004-01-28  Bruno Haible  <bruno@clisp.org>
200
201	* gettext-0.14 released.
202
2032004-01-18  Bruno Haible  <bruno@clisp.org>
204
205	* Makefile.am (autosprintf_all.html): Renamed from autosprintf.html.
206	Works around a problem with automake-1.8: It removes autosprintf.html
207	during "make mostlyclean".
208
2092003-10-30  Paul Eggert  <eggert@twinsun.com>
210            Bruno Haible  <bruno@clisp.org>
211
212	* vasprintf.c: Include <limits.h>, <stdlib.h>.
213	(vasprintf): Fail if the resulting length doesn't fit in an 'int'.
214
2152003-12-12  Bruno Haible  <bruno@clisp.org>
216
217	Assume automake-1.8.
218	* Makefile.am (clean-local): Renamed from clean-am.
219	(html-local): Renamed from html.
220	(ps, pdf, .texi.pdf): Remove rules.
221	(TEXI2PDF): Remove variable.
222
2232003-12-17  Bruno Haible  <bruno@clisp.org>
224
225	* gettext-0.13.1 released.
226
2272003-12-09  Bruno Haible  <bruno@clisp.org>
228
229	* Makefile.am (MAKEINFOFLAGS): New variable.
230
2312003-11-30  Bruno Haible  <bruno@clisp.org>
232
233	* gettext-0.13 released.
234
2352003-11-28  Bruno Haible  <bruno@clisp.org>
236
237	* configure.ac: Invoke AC_C_INLINE.
238	* Makefile.am (config.h.msvc): Define SIZE_MAX and inline.
239
2402003-11-23  Paul Eggert  <eggert@twinsun.com>
241            Bruno Haible  <bruno@clisp.org>
242
243	* printf-parse.h: Don't include sys/types.h.
244	(ARG_NONE): New macro.
245	(char_directive): Change type of *arg_index fields to size_t.
246	* printf-parse.c: Don't include sys/types.h.
247	(SSIZE_MAX): Remove macro.
248	(PRINTF_PARSE): Change the type of the arg_index variables to size_t.
249	Remove unnecessary overflow check.
250	* vasnprintf.c (VASNPRINTF): Update for type change of *arg_index
251	fields.
252	* configure.ac: Don't invoke gt_TYPE_SSIZE_T.
253
2542003-11-19  Bruno Haible  <bruno@clisp.org>
255
256	* configure.ac: Better test for ptrdiff_t. Invoke gt_TYPE_SSIZE_T and
257	gl_XSIZE.
258
2592003-11-17  Bruno Haible  <bruno@clisp.org>
260
261	* vasnprintf.c (alloca): Remove fallback definition.
262	(freea): Remove definition.
263	(VASNPRINTF): Use alloca only for small sizes, say <= 4000 bytes.
264	Reported by Paul Eggert.
265
2662003-11-16  Paul Eggert  <eggert@twinsun.com>
267            Bruno Haible  <bruno@clisp.org>
268
269	Protect against address arithmetic overflow.
270	* printf-args.h: Include stddef.h.
271	(arguments): Change type of field 'count' to size_t.
272	* printf-args.c (printf_fetchargs): Use size_t instead of
273	'unsigned int' where appropriate.
274	* printf-parse.h: Include sys/types.h.
275	(char_directive): Change type of *arg_index fields to ssize_t.
276	(char_directives): Change type of fields 'count', max_*_length to
277	size_t.
278	* printf-parse.c: Include sys/types.h and xsize.h.
279	(SSIZE_MAX): Define fallback value.
280	(PRINTF_PARSE): Use size_t instead of 'unsigned int' and ssize_t
281	instead of 'int' where appropriate. Check a_allocated, d_allocated
282	against overflow. Reject %m$ argument numbers > SSIZE_MAX + 1.
283	* vasnprintf.c: Include xsize.h.
284	(VASNPRINTF): Use size_t instead of 'unsigned int' where appropriate.
285	Check alloca, malloc, realloc, ENSURE_ALLOCATION arguments against
286	overflow. Avoid wraparound when converting a width or precision from
287	decimal to binary.
288	* xsize.h: New file, from gnulib.
289	* Makefile.am (lib_asprintf_EXTRASOURCES): Add xsize.h.
290
2912003-11-04  Bruno Haible  <bruno@clisp.org>
292
293	* Makefile.am (MAKEINFO): Set LC_MESSAGES and LC_ALL to empty as well.
294
2952003-10-31  Bruno Haible  <bruno@clisp.org>
296
297	* configure.ac: Remove argument of FIX_MAKEFILE_COMPILE,
298	FIX_MAKEFILE_INFO.
299
3002003-10-19  Jim Meyering  <jim@meyering.net>
301
302	* vasnprintf.c (VASNPRINTF): Work around losing snprintf on HPUX 10.20.
303
3042003-08-29  Bruno Haible  <bruno@clisp.org>
305
306	* configure.ac: Test whether _snprintf is declared, not only existent
307	as a function.
308	* vasnprintf.c: Test HAVE_DECL__SNPRINTF instead of HAVE__SNPRINTF.
309	Test HAVE_DECL__SNWPRINTF instead of HAVE__SNWPRINTF.
310	* Makefile.am (config.h.msvc): Define HAVE_DECL__SNPRINTF instead of
311	defining snprintf as a macro.
312
3132003-08-24  Bruno Haible  <bruno@clisp.org>
314
315	* vasnprintf.c (local_wcslen): Protect against multiple definition.
316	(USE_SNPRINTF): Define also if only _snprintf() is available.
317	(SNPRINTF): Possibly define as _snprintf or _snwprintf.
318	* configure.ac: Also check for _snprintf.
319
3202003-08-11  Bruno Haible  <bruno@clisp.org>
321
322	* vasnprintf.c (local_wcslen): New function, for Solaris 2.5.1.
323	(VASNPRINTF): Use it instead of wcslen.
324	* configure.ac: Also check for wcslen.
325	* Makefile.am (config.h_vms): Set HAVE_WCSLEN.
326	(config.h.msvc): Likewise.
327
3282003-06-20  Bruno Haible  <bruno@clisp.org>
329
330	* configure.ac: Invoke gt_PRINTF_POSIX.
331	* lib-asprintf.h: Ignore an existing vasprintf() if it doesn't support
332	POSIX/XSI format strings.
333	* lib-asprintf.c: Likewise.
334	* Makefile.am (config.h_vms): Define HAVE_POSIX_PRINTF.
335
3362003-06-19  Bruno Haible  <bruno@clisp.org>
337
338	* configure.ac (jm_AC_TYPE_LONG_LONG): Replaces gt_TYPE_LONGLONG.
339	* printf-parse.c: Generalize to it can be compiled for wide strings.
340	(PRINTF_PARSE, CHAR_T, DIRECTIVE, DIRECTIVES): New macros.
341	* vasnprintf.c: Generalize to it can be compiled for wide strings.
342	(VASNPRINTF, CHAR_T, DIRECTIVE, DIRECTIVES, PRINTF_PARSE, USE_SNPRINTF,
343	SNPRINTF): New macros.
344	Don't include <alloca.h> if the file is used inside libintl.
345
3462003-05-30  Bruno Haible  <bruno@clisp.org>
347
348	* autosprintf.texi: Tweak @dircategory and @direntry.
349	Reported by Karl Berry <karl@freefriends.org>.
350
3512003-05-22  Bruno Haible  <bruno@clisp.org>
352
353	* gettext-0.12.1 released.
354
3552003-05-20  Bruno Haible  <bruno@clisp.org>
356
357	* Makefile.am (config.h_vms, config.h.msvc, autosprintf.h.msvc-shared):
358	Don't use $< here.
359
3602003-05-19  Bruno Haible  <bruno@clisp.org>
361
362	* windows/asprintf.rc: Include <winver.h>.
363	Reported by Perry Rapp.
364
3652003-05-18  Bruno Haible  <bruno@clisp.org>
366
367	* Makefile.msvc (DEBUGFLAGS): New variable.
368	(asprintf.lib): Use it.
369
3702003-05-17  Bruno Haible  <bruno@clisp.org>
371
372	* gettext-0.12 released.
373
3742003-04-12  Bruno Haible  <bruno@clisp.org>
375
376	* Makefile.am (config.h_vms): Renamed from config.h.vms.
377	* Makefile.vms: New variables ABIFLAGS, DEFS. Avoid rules with no
378	lines. Update library creation rule. Don't use the force target.
379	Correct wildcard syntax.
380	Suggested by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
381
3822003-04-12  Bruno Haible  <bruno@clisp.org>
383
384	* Makefile.am (docdir): Use datadir instead of prefix.
385	* Makefile.msvc (datadir): New variable.
386	(sub_docdir): Use it instead of prefix.
387	(install, installdirs): Update.
388	* Makefile.vms (datadir): New variable.
389	(sub_docdir): Use it instead of prefix.
390
3912003-03-30  Bruno Haible  <bruno@clisp.org>
392
393	* Makefile.vms: New file.
394	* Makefile.am (config.h.vms): New rule.
395	(EXTRA_DIST): Add Makefile.vms and config.h.vms.
396
3972003-03-17  Bruno Haible  <bruno@clisp.org>
398
399	Native Woe32/MSVC support.
400	* autosprintf.h.in: Renamed from autosprintf.h.
401	* Makefile.msvc: New file.
402	* README.woe32: New file.
403	* windows/dllexport.h: New file.
404	* windows/asprintf.rc: New file.
405	* Makefile.am (EXTRA_DIST): Add them and config.h.msvc and
406	autosprintf.h.in.
407	(autosprintf.h): New rule.
408	(MOSTLYCLEANFILES): Add autosprintf.h.
409	(dist-hook): Don't distribute autosprintf.h.
410	(config.h.msvc, autosprintf.h.msvc-shared): New rules.
411
4122003-02-22  Bruno Haible  <bruno@clisp.org>
413
414	* autosprintf.texi: Add comment about indices.
415	* Makefile.am (MOSTLYCLEANFILES): No need to clean the unused indices.
416	(The automake generated rule already cleans them.)
417
4182003-02-22  Bruno Haible  <bruno@clisp.org>
419
420	* Makefile.am (installdirs): Remove dependency, redundant with
421	automake >= 1.6.
422
4232003-02-18  Bruno Haible  <bruno@clisp.org>
424
425	* Makefile.am (clean-am): New rule. For Solaris cc.
426
4272003-02-12  Bruno Haible  <bruno@clisp.org>
428
429	* configure.ac: Renamed from configure.in. Invoke AC_CONFIG_AUX_DIR.
430	Invoke AC_FUNC_ALLOCA instead of gl_FUNC_ALLOCA. Remove redundant
431	postprocessing of Makefile.
432	* Makefile.am (ACLOCAL_AMFLAGS): Add -I ../../config/m4.
433	($(libasprintf_la_OBJECTS)): Make alloca.h dependency effective.
434
4352003-01-03  Albert Chin  <libtool@thewrittenword.com>
436
437	* ltmain.sh: Don't pass -R flags found in a .la's dependency_libs
438	variable directly down to the linker.
439	Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>.
440
4412003-01-12  Bruno Haible  <bruno@clisp.org>
442
443	* configure.in: Invoke gl_FUNC_ALLOCA instead of AC_FUNC_ALLOCA.
444	* alloca_.h: New file, from gnulib.
445	* liballoca.h: Remove file.
446	* Makefile.am: Add snippet from gnulib module alloca.
447	(lib_asprintf_EXTRASOURCES): Remove liballoca.h.
448	* vasnprintf.c: Include alloca.h instead of liballoca.h.
449
4502003-01-12  Bruno Haible  <bruno@clisp.org>
451
452	* Makefile.am: Make use of += for variables.
453
4542003-01-12  Bruno Haible  <bruno@clisp.org>
455
456	Portability to FreeBSD.
457	* configure.in: Invoke gt_TYPE_WINT_T.
458	* printf-args.h: Use HAVE_WINT_T, not HAVE_WCHAR_T, to check for
459	availability of wint_t.
460	* printf-argc.c: Likewise.
461	* printf-parse.c: Likewise.
462	* vasnprintf.c: Likewise.
463
4642002-12-07  Bruno Haible  <bruno@clisp.org>
465
466	Switch to autoconf-2.57 and automake-1.7.2.
467	* configure.in: Use AC_CONFIG_FILES, because the AC_OUTPUT commands
468	and not run any more when config.status is called to create a single
469	file.
470
4712002-11-13  Bruno Haible  <bruno@clisp.org>
472
473	Assume ANSI C.
474	* libstdarg.h: Remove file.
475	* Makefile.am (lib_asprintf_EXTRASOURCES): Remove libstdarg.h.
476	* asnprintf.c: Include <stdarg.h> instead of libstdarg.h.
477	(asnprintf): Use ANSI C function declarations. Use va_start instead of
478	VA_START.
479	* asprintf.c: Include <stdarg.h> instead of libstdarg.h.
480	(asnprintf): Use ANSI C function declarations. Use va_start instead of
481	VA_START.
482	* printf-args.h (PARAMS): Remove macro.
483	(printf_fetchargs): Use ANSI C function declarations.
484	* printf-args.c (printf_fetchargs): Likewise.
485	* printf-parse.h (printf_parse): Likewise.
486	* printf-parse.c (printf_parse): Likewise.
487	* vasnprintf.h (PARAMS): Remove macro.
488	(asnprintf, vasnprintf): Use ANSI C function declarations.
489	* vasnprintf.c (vasnprintf): Likewise.
490	* vasprintf.h (PARAMS): Remove macro.
491	(asprintf, vasprintf): Use ANSI C function declarations.
492	* vasprintf.c (vasprintf): Likewise.
493
4942002-10-27  Bruno Haible  <bruno@clisp.org>
495
496	* printf-args.h, printf-args.c: New files.
497	* printf-parse.h, printf-parse.c: New files.
498	* vasnprintf.h, vasnprintf.c, asnprintf.c: New files.
499	* vasprintf.h, vasprintf.c, asprintf.c: New files.
500	* lib-asprintf.h, lib-asprintf.c: New files.
501	* autosprintf.h, autosprintf.cc: New files.
502	* README, NEWS, AUTHORS, COPYING, autosprintf.texi: New files.
503	* Makefile.am, configure.in: New files.
504	* liballoca.h, libstdarg.h: New files, from gettext-0.11.6/lib.
505	* COPYING.LIB, INSTALL, config.guess, config.sub, install-sh,
506	ltmain.sh, missing, mkinstalldirs, texi2html, texinfo.tex: Standard
507	infrastructure files, from gettext-0.11.6.
508