nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 2015-09-11 Daiki Ueno <ueno@gnu.org>
2  
3 * gettext 0.19.6 released.
4  
5 2015-07-10 Daiki Ueno <ueno@gnu.org>
6  
7 * gettext 0.19.5 released.
8  
9 2015-03-12 Daiki Ueno <ueno@gnu.org>
10  
11 * vasnprintf.c: Update from gnulib.
12  
13 2015-01-22 Daiki Ueno <ueno@gnu.org>
14  
15 * vasnprintf.c: Update copyright year.
16  
17 2014-12-24 Daiki Ueno <ueno@gnu.org>
18  
19 * gettext 0.19.4 released.
20  
21 2014-10-15 Daiki Ueno <ueno@gnu.org>
22  
23 * gettext 0.19.3 released.
24  
25 2014-09-30 Daiki Ueno <ueno@gnu.org>
26  
27 * vasnprintf.c: Update from Gnulib.
28  
29 2014-07-14 Daiki Ueno <ueno@gnu.org>
30  
31 * gettext 0.19.2 released.
32  
33 2014-06-10 Daiki Ueno <ueno@gnu.org>
34  
35 * gettext 0.19.1 released.
36  
37 2014-06-02 Daiki Ueno <ueno@gnu.org>
38  
39 * gettext 0.19 released.
40  
41 2013-06-10 Daiki Ueno <ueno@gnu.org>
42  
43 * Makefile.am: Use $(MKDIR_P) instead of $(mkdir_p).
44 Suggested by Stefano Lattarini in
45 <https://lists.gnu.org/archive/html/bug-gettext/2013-04/msg00044.html>.
46  
47 2013-03-07 Miguel Angel Arruga Vivas <rosen644835@gmail.com> (tiny change)
48  
49 Fix '__attribute__' definition.
50 Reported at <https://savannah.gnu.org/bugs/?35313>
51 * autosprintf.in.h (_AUTOSPRINTF_ATTRIBUTE_FORMAT): New macro
52 instead of redefine __attribute__.
53  
54 2013-03-04 Miguel Angel Arruga Vivas <rosen644835@gmail.com> (tiny change)
55  
56 Add 'autosprintf::operator='. Needed because destructor
57 is not trivial.
58 Reported at <https://savannah.gnu.org/bugs/?33102>
59 * autosprintf.in.h (autosprintf::operator=): New function.
60 Thanks to Daiki Ueno for pointing a better copy-and-swap
61 idiom use.
62 * autosprintf.cc (autosprintf::operator=): Likewise.
63  
64 2013-01-17 Daiki Ueno <ueno@gnu.org>
65  
66 Fix link errors related to C99-style extern inline.
67 Reported by Sam Thursfield <sam.thursfield@codethink.co.uk>.
68 * Makefile.am (libasprintf_la_SOURCES): Add xsize.h and xsize.c.
69 (lib_asprintf_EXTRASOURCES): Remove xsize.h.
70 * xsize.h: Remove, replacing with the one from gnulib when
71 bootstrapping.
72  
73 2012-12-25 Daiki Ueno <ueno@gnu.org>
74  
75 * gettext-0.18.2 released.
76  
77 2012-12-17 Daiki Ueno <ueno@unixuser.org>
78  
79 * configure.ac: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.
80 Suggested by Stefano Lattarini <stefano.lattarini@gmail.com>.
81  
82 2012-11-29 Paul Eggert <eggert@cs.ucla.edu>
83  
84 * vasnprintf.c (MAX_ROOM_NEEDED): Now static, not static
85 inline.
86  
87 2012-06-22 Bruno Haible <bruno@clisp.org>
88  
89 * vasnprintf.c: Write "Mac OS X" instead of "MacOS X".
90  
91 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
92  
93 maint: replace FSF snail-mail addresses with URLs
94 * vasnprintf.c, xsize.h:
95 Replace FSF snail mail addresses with URLs, as per GNU coding
96 standards. See glibc bug
97 <http://sourceware.org/bugzilla/show_bug.cgi?id=13673>.
98  
99 2012-02-05 Paul Eggert <eggert@cs.ucla.edu>
100  
101 * vasnprintf.c: Spelling fixes.
102  
103 2012-01-26 Bruno Haible <bruno@clisp.org>
104  
105 Modernize quoting.
106 * autosprintf.in.h: Quote 'like this', not `like this', as per the
107 recent change to the GNU coding standards.
108 * vasnprintf.h: Likewise.
109 * vasprintf.h: Likewise.
110 * INSTALL: Process through sed -e "s/\`\([^']*\)'/‘\1’/g"
111  
112 2012-01-04 Bruno Haible <bruno@clisp.org>
113  
114 Talk about "native Windows API", not "Win32".
115 * vasnprintf.c: Update comments to mention native Windows.
116  
117 2011-10-15 Bruno Haible <bruno@clisp.org>
118  
119 vasnprintf: Optimize bit search operation.
120 * vasnprintf.c (divide): Use optimizations from gnulib's
121 integer_length.c.
122  
123 2011-10-15 Bruno Haible <bruno@clisp.org>
124  
125 vasnprintf: Fix comments.
126 * vasnprintf.c (decode_long_double, decode_double): Fix comments.
127  
128 2011-06-06 Bruno Haible <bruno@clisp.org>
129  
130 Ensure mbstate_t gets defined in libasprintf.
131 * configure.ac: Invoke AC_TYPE_MBSTATE_T. Needed on HP-UX 11.31.
132  
133 2011-06-04 Bruno Haible <bruno@clisp.org>
134  
135 Ensure intmax_t gets defined in libasprintf.
136 * configure.ac: Invoke gl_AC_TYPE_INTMAX_T instead of gt_TYPE_INTMAX_T.
137  
138 2011-06-03 Bruno Haible <bruno@clisp.org>
139  
140 * Makefile.am (lib_asprintf_EXTRASOURCES): Add verify.h.
141  
142 2010-10-10 Paul Eggert <eggert@cs.ucla.edu>
143  
144 rewrite int foo[2*X-1] to verify(X) or to int foo[X?1:-1]
145 * vasnprintf.c: Include "verify.h".
146 (mp_limb_verify, mp_twolimb_verify, TCHAR_T_verify): Remove, replacing
147 with a verify call.
148  
149 2011-06-03 Bruno Haible <bruno@clisp.org>
150  
151 Copyright: Use LGPL 2.1 instead of LGPL 2.0.
152 * COPYING.LIB: Replace with text of LGPL 2.1.
153 * *.h, *.c, *.cc, Makefile.am: Update copyright header.
154  
155 2011-02-23 Bruno Haible <bruno@clisp.org>
156  
157 Fix misindentation of preprocessor directives.
158 * vasnprintf.c (decode_long_double): Reindent preprocessor directives.
159  
160 2011-02-04 Bruno Haible <bruno@clisp.org>
161  
162 vasnprintf: Reduce use of malloc for small format strings.
163 * printf-args.h (N_DIRECT_ALLOC_ARGUMENTS): New macro.
164 (arguments): Add room for the first 7 arguments.
165 * printf-parse.h (N_DIRECT_ALLOC_DIRECTIVES): New macro.
166 (char_directives, u8_directives, u16_directives, u32_directives): Add
167 room for the first 7 directives.
168 * printf-parse.c: Include <string.h>.
169 (PRINTF_PARSE): Change memory handling code so that it uses the first
170 7 preallocated elements in an 'arguments' or 'DIRECTIVES' struct.
171 * vasnprintf.c (VASNPRINTF): Update memory handling code.
172 Reported by Pádraig Brady <P@draigbrady.com>.
173  
174 2010-11-20 Bruno Haible <bruno@clisp.org>
175  
176 Ensure that <features.h> is included before __GLIBC__ is tested.
177 * printf-parse.h: Include <features.h>.
178 * configure.ac: Test for <features.h>.
179 Reported by Mike Frysinger <vapier@gentoo.org>.
180  
181 2010-11-20 Bruno Haible <bruno@clisp.org>
182  
183 Port to uClibc.
184 * printf-parse.h (FLAG_LOCALIZED): Treat uClibc like a non-glibc platform.
185 * printf-parse.c (PRINTF_PARSE): Likewise.
186 * vasnprintf.c (decimal_point_char): Treat uClibc like glibc.
187 (VASNPRINTF): Treat uClibc like a non-glibc platform.
188 Reported by Mike Frysinger <vapier@gentoo.org>.
189  
190 2010-11-20 Bruno Haible <bruno@clisp.org>
191  
192 Fix a comment.
193 * vasnprintf.c (VASNPRINTF): Fix comment.
194  
195 2010-11-07 Bruno Haible <bruno@clisp.org>
196  
197 vasnprintf: Support I flag on glibc systems.
198 * printf-parse.h (FLAG_LOCALIZED): New macro.
199 * printf-parse.c (PRINTF_PARSE): Handle the 'I' flag.
200 * vasnprintf.c (VASNPRINTF): Pass the 'I' flag on to the system's
201 snprintf function.
202  
203 2010-11-07 Bruno Haible <bruno@clisp.org>
204  
205 Rename autosprintf.h.in to autosprintf.in.h.
206 * autosprintf.in.h: New file, renamed from autosprintf.h.in.
207 * Makefile.am (autosprintf.h, EXTRA_DIST): Update.
208  
209 2010-10-14 Bruno Haible <bruno@clisp.org>
210  
211 vasnprintf: Don't set errno to 0.
212 * vasnprintf.c (VASNPRINTF): Save and restore errno around the block
213 that sets it to 0.
214 Reported by Gianluigi Tiesi <sherpya@netfarm.it>.
215  
216 2010-06-04 Bruno Haible <bruno@clisp.org>
217  
218 * gettext-0.18.1 released.
219  
220 2010-05-09 Bruno Haible <bruno@clisp.org>
221  
222 * gettext-0.18 released.
223  
224 2010-05-09 Bruno Haible <bruno@clisp.org>
225  
226 vasnprintf: Fix syntax errors in libintl build on mingw.
227 * vasnprintf.c (VASNPRINTF): Move a closing brace. Undefine
228 pad_ourselves and prec_ourselves after use.
229  
230 2010-04-24 Bruno Haible <bruno@clisp.org>
231  
232 vasnprintf: Correct errno value in case of out-of-memory.
233 * vasnprintf.c (VASNPRINTF): Set errno to 0 before calling SNPRINTF or
234 sprintf. Use the errno value from SNPRINTF or sprintf.
235 Reported by Ian Beckwith <ianb@erislabs.net>.
236  
237 2010-04-10 Bruno Haible <bruno@clisp.org>
238  
239 vasnprintf: Correct handling of unconvertible wide string arguments.
240 * vasnprintf.c (MAX_ROOM_NEEDED): New function, extracted from
241 VASNPRINTF.
242 (VASNPRINTF): Use it. After snprintf failed, allocate more memory only
243 if HAVE_SNPRINTF_RETVAL_C99 is false and the allocated memory is
244 smaller than the expected maximum need for the directive. Set errno to
245 EILSEQ, not EINVAL, when the directive is 'c' or 's'.
246 (local_strnlen, local_wcslen, local_wcsnlen): Update conditions.
247 Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.
248  
249 2010-04-10 Bruno Haible <bruno@clisp.org>
250  
251 vasnprintf: Fix crash in %ls directive.
252 * vasnprintf.c (VASNPRINTF): Don't abort when a unconvertible wide
253 string is passed as argument to %ls, with no precision and no width.
254 Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.
255  
256 2010-04-10 Bruno Haible <bruno@clisp.org>
257  
258 vasnprintf: Fix multiple test failures on mingw.
259 * vasnprintf.c (SNPRINTF) [mingw]: Define to snprintf, not _snprintf,
260 or snwprintf, not _snwprintf.
261  
262 2010-01-01 Bruno Haible <bruno@clisp.org>
263  
264 * vasnprintf.c (VASNPRINTF): If GNULIB_defined_mbstate_t is defined,
265 use wctomb instead of wcrtomb.
266  
267 2009-12-12 Bruno Haible <bruno@clisp.org>
268  
269 * *.h, *.c: Untabify.
270  
271 2009-11-22 Bruno Haible <bruno@clisp.org>
272  
273 * vasnprintf.c (decimal_point_char): Choose the fast path also on
274 MacOS X.
275  
276 2009-11-17 Eric Blake <ebb9@byu.net>
277  
278 * vasnprintf.c (VASNPRINTF): Avoid shadowing our own local variables.
279  
280 2009-08-20 Eric Blake <ebb9@byu.net>
281  
282 * vasnprintf.c (decimal_point_char): Avoid warning on old-style
283 declaration.
284  
285 2009-08-14 Bruno Haible <bruno@clisp.org>
286  
287 Use the gnulib module 'errno'.
288 * Makefile.am: Include Makefile.gnulib.
289 (ACLOCAL_AMFLAGS): Add -I gnulib-m4.
290 (EXTRA_DIST): Add gnulib-m4/gnulib-cache.m4.
291 (BUILT_SOURCES, noinst_LTLIBRARIES): New variables.
292 * configure.ac (AC_PREREQ): Require autoconf 2.59 or newer.
293 Invoke gl_EARLY, gl_INIT. Don't invoke gl_EOVERFLOW. Remove the alloca
294 tests.
295  
296 2009-08-10 Bruno Haible <bruno@clisp.org>
297  
298 * vasnprintf.c (DCHAR_SET): Undefine at the end.
299  
300 2009-06-06 Bruno Haible <bruno@clisp.org>
301  
302 * configure.ac (AM_INIT_AUTOMAKE): Add 'silent-rules' option.
303 * Makefile.am (libasprintf.la): Silence 'make' output if silent-rules.
304  
305 2009-06-06 Bruno Haible <bruno@clisp.org>
306  
307 * configure.ac: Pass package and version to AC_INIT instead of
308 AM_INIT_AUTOMAKE.
309  
310 2009-05-21 Bruno Haible <bruno@clisp.org>
311  
312 Assume automake >= 1.10.2.
313 * configure.ac (AC_CONFIG_FILES): Remove FIX_MAKEFILE_COMPILE,
314 FIX_MAKEFILE_INFO invocations.
315  
316 2009-04-26 Bruno Haible <bruno@clisp.org>
317  
318 * vasnprintf.c (VASNPRINTF): Update after the calling convention of
319 u*_conv_from_encoding and u*_conv_to_encoding changed.
320  
321 2009-04-08 Bruno Haible <bruno@clisp.org>
322  
323 * Makefile.am (SUFFIXES, CLEANFILES): Remove variables. Not needed any
324 more.
325  
326 2009-03-23 Jim Meyering <meyering@redhat.com>
327  
328 * vasnprintf.c (divide): Fix typo in comment.
329  
330 2009-02-26 Bruno Haible <bruno@clisp.org>
331  
332 Fix *printf behaviour regarding the %ls directive.
333 * vasnprintf.c (local_wcslen, VASNPRINTF): Handle
334 NEED_PRINTF_DIRECTIVE_LS.
335  
336 2009-02-23 Bruno Haible <bruno@clisp.org>
337  
338 Fix invalid read past end of memory block.
339 * vasnprintf.c (DCHAR_SET): Define.
340 (local_wcslen): Define only when needed.
341 (local_strnlen, local_wcsnlen): New functions.
342 (VASNPRINTF) [!USE_SNPRINTF && HAVE_WCHAR_T]: Implement the %s and %ls
343 directives that involve a conversion ourselves.
344 * configure.ac: Also check for strnlen, wcsnlen, mbrtowc, wcrtomb.
345  
346 2009-01-14 Bruno Haible <bruno@clisp.org>
347  
348 * configure.ac: More consistent m4 quoting.
349  
350 2008-09-22 Eric Blake <ebb9@byu.net>
351 Bruno Haible <bruno@clisp.org>
352  
353 vasnprintf: fix x86/glibc regression on printf("%La", 0.0L)
354 * vasnprintf.c (VASNPRINTF): Support 0.0 on platforms that supply %A
355 but mishandle pseudo-NaN.
356 Reported by Simon Josefsson.
357  
358 2008-09-18 Bruno Haible <bruno@clisp.org>
359  
360 * vasnprintf.c (VASNPRINTF): When printing ±0.0L in
361 NEED_PRINTF_INFINITE_LONG_DOUBLE case with 'e' format, always use two
362 digits for the exponent.
363  
364 2008-09-18 Jim Meyering <meyering@redhat.com>
365 Bruno Haible <bruno@clisp.org>
366  
367 * vasnprintf.c (decimal_point_char): Define also if
368 NEED_PRINTF_INFINITE_LONG_DOUBLE.
369  
370 2008-09-16 Bruno Haible <bruno@clisp.org>
371 and Eric Blake <ebb9@byu.net>
372  
373 vasnprintf: support Irix 5.3
374 * vasnprintf.c (VASNPRINTF): Also handle -0.0L on platforms that
375 mishandle long double infinity.
376 Reported by Tom G. Christensen.
377  
378 2008-09-02 Eric Blake <ebb9@byu.net>
379  
380 vasnprintf-posix: handle large precision via %.*d
381 * vasnprintf.c (VASNPRINTF): Don't pass precision to snprintf
382 when handling it ourselves.
383 Reported by Alain Guibert.
384  
385 2008-07-10 Ben Pfaff <blp@gnu.org>
386  
387 * vasnprintf.c: Update references to renamed include files.
388  
389 2008-05-21 Bruno Haible <bruno@clisp.org>
390  
391 Avoid one more warning from gcc.
392 * vasnprintf.c (IF_LINT): Update comments.
393 (VASNPRINTF): Use it also for the 'prefix' array initializer.
394  
395 2008-05-21 Jim Meyering <meyering@redhat.com>
396  
397 avoid a warning from gcc
398 * vasnprintf.c (IF_LINT): Define.
399 (scale10_round_decimal_long_double):
400 Use it to avoid a "may be used uninitialized" warning.
401 (scale10_round_decimal_double): Likewise.
402  
403 2008-05-16 Jim Meyering <meyering@redhat.com>
404 Bruno Haible <bruno@clisp.org>
405  
406 Avoid some warnings from "gcc -Wshadow".
407 * vasnprintf.c (exp, remainder): Define to different identifiers.
408  
409 2008-04-19 Bruno Haible <bruno@clisp.org>
410  
411 Work around snprintf bug on Linux libc5.
412 * vasnprintf.c (USE_SNPRINTF): Set to 0 on Linux libc5 systems.
413  
414 2008-04-19 Bruno Haible <bruno@clisp.org>
415  
416 * vasnprintf.c (floorlog10l, floorlog10): Reduce maximum error from
417 0.0058 to less than 10^-7.
418  
419 2008-04-19 Bruno Haible <bruno@clisp.org>
420  
421 Fix rounding when a precision is given.
422 * vasnprintf.c (is_borderline): New function.
423 (VASNPRINTF): For %e and %g, consider replacing the digits 10....0 with
424 9...9x.
425 Reported by John Darrington <john@darrington.wattle.id.au> via
426 Ben Pfaff <blp@cs.stanford.edu>.
427  
428 2008-03-30 Bruno Haible <bruno@clisp.org>
429  
430 Fix buffer overrun.
431 * vasnprintf.c (VASNPRINTF): If !USE_SNPRINTF && pad_ourselves:
432 Don't consider the width for tmp_length. Check count against tmp_length
433 before doing the padding. Ensure enough allocation during padding.
434  
435 2008-03-30 Bruno Haible <bruno@clisp.org>
436  
437 * vasnprintf.c (EOVERFLOW): Remove fallback.
438  
439 2008-03-30 Bruno Haible <bruno@clisp.org>
440  
441 Fix bug introduced on 2007-06-10.
442 * vasnprintf.c (VASNPRINTF): When performing zero-padding, use
443 spaces instead of 0 digits for 's' also when ENABLE_UNISTDIO.
444  
445 2008-02-28 Atsushi SAKAI <sakaia@jp.fujitsu.com>
446  
447 * xsize.h: Fix typo in comment: s/tupe/type/.
448  
449 2008-02-07 Bruno Haible <bruno@clisp.org>
450  
451 * vasnprintf.c (VASNPRINTF): Don't use %n on native Woe32 systems.
452 Avoids a crash on Windows Vista.
453 Reported by Adam Strzelecki <ono@java.pl> via
454 Simon Josefsson <simon@josefsson.org>.
455  
456 2008-02-06 Bruno Haible <bruno@clisp.org>
457  
458 Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20.
459 * vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_FLAG_LEFTADJUST.
460 Reported by Peter Fales <psfales@alcatel-lucent.com>.
461  
462 2008-02-06 Bruno Haible <bruno@clisp.org>
463  
464 Fix bug introduced on 2007-06-10.
465 * vasnprintf.c (VASNPRINTF): Perform zero-padding also if
466 !NEED_PRINTF_FLAG_ZERO.
467  
468 2008-01-29 Jim Meyering <meyering@redhat.com>
469  
470 vasnprintf.c: Avoid warning about unused label
471 * vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Guard the
472 "overflow" label definition and associated code with the
473 same cpp condition that guards the sole use of that label.
474  
475 2008-01-26 Bruno Haible <bruno@clisp.org>
476  
477 Rename isnan, applicable to 'double' only, to isnand.
478 * vasnprintf.c: Include isnand.h instead of isnan.h.
479 (is_infinite_or_zero, VASNPRINTF): Use isnand instead of isnan.
480  
481 2008-01-08 Jim Meyering <meyering@redhat.com>
482 Bruno Haible <bruno@clisp.org>
483  
484 * printf-parse.c (PRINTF_PARSE): Handle a size specifier "q" on MacOS X
485 and a size specifier "I64" on mingw. Needed for PRIdMAX.
486 Reported by Peter Fales in
487 <http://lists.gnu.org/archive/html/bug-coreutils/2007-12/msg00148.html>.
488  
489 2008-04-20 Bruno Haible <bruno@clisp.org>
490  
491 * configure.ac: Use LT_INIT instead of AC_PROG_LIBTOOL.
492  
493 2007-11-26 Bruno Haible <bruno@clisp.org>
494  
495 * vasnprintf.c (decode_long_double): Don't abort if the 'long double'
496 type has excess precision.
497 Reported by Jim Meyering in
498 <http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00120.html>.
499  
500 2007-11-10 Bruno Haible <bruno@clisp.org>
501  
502 * configure.ac: Do _snprintf check like gnulib's vasnprintf.m4 does.
503  
504 2007-11-10 Bruno Haible <bruno@clisp.org>
505  
506 * configure.ac: Invoke AC_TYPE_LONG_LONG_INT instead of
507 gl_AC_TYPE_LONG_LONG. Don't invoke gt_TYPE_LONGDOUBLE.
508 Report and patch by Kacper.
509  
510 2007-11-10 Bruno Haible <bruno@clisp.org>
511  
512 * configure.ac: Invoke gl_EOVERFLOW.
513  
514 2007-11-09 Bruno Haible <bruno@clisp.org>
515  
516 * vasnprintf.c (VASNPRINTF): Ensure that we never call snprintf with a
517 size argument < 2.
518  
519 2007-11-09 Bruno Haible <bruno@clisp.org>
520  
521 * vasnprintf.c (VASNPRINTF): Increase reallocation of snprintf buffer.
522 Fixes an inefficiency introduced on 2007-11-03.
523  
524 2007-11-07 Bruno Haible <bruno@clisp.org>
525  
526 * gettext-0.17 released.
527  
528 2007-11-05 Bruno Haible <bruno@clisp.org>
529  
530 * vasnprintf.c (VASNPRINTF): Expand the NEED_PRINTF_DIRECTIVE_A
531 code when NEED_PRINTF_LONG_DOUBLE or NEED_PRINTF_DOUBLE is set.
532 Needed on Cygwin, where !NEED_PRINTF_DIRECTIVE_A && NEED_PRINTF_DOUBLE.
533 Reported by Eric Blake.
534  
535 2007-11-04 Bruno Haible <bruno@clisp.org>
536  
537 * vasnprintf.c (DCHAR_IS_TCHAR, DCHAR_CPY): Undefine at the end.
538  
539 2007-06-11 Bruno Haible <bruno@clisp.org>
540  
541 * printf-args.c (PRINTF_FETCHARGS) [ENABLE_UNISTDIO]: Fix NULL
542 replacement string.
543 Reported by Eric Blake.
544  
545 2007-06-10 Bruno Haible <bruno@clisp.org>
546  
547 * printf-args.h (PRINTF_FETCHARGS): New macro.
548 (arg_type) [ENABLE_UNISTDIO]: Define TYPE_U8_STRING, TYPE_U16_STRING,
549 TYPE_U32_STRING.
550 (argument) [ENABLE_UNISTDIO]: Add a_u8_string, a_u16_string,
551 a_u32_string variants.
552 (PRINTF_FETCHARGS): Renamed from printf_fetchargs.
553 * printf-args.c: Don't include config.h and the specification header
554 if PRINTF_FETCHARGS is already defined.
555 (PRINTF_FETCHARGS): Renamed from printf_fetchargs.
556 (PRINTF_FETCHARGS) [ENABLE_UNISTDIO]: Add code for TYPE_U8_STRING,
557 TYPE_U16_STRING, TYPE_U32_STRING.
558  
559 2007-11-04 Bruno Haible <bruno@clisp.org>
560  
561 * vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_UNBOUNDED_PRECISION.
562  
563 2007-11-04 Bruno Haible <bruno@clisp.org>
564  
565 * vasnprintf.c (scale10_round_decimal_decoded): Fix shift loop.
566  
567 2007-11-03 Bruno Haible <bruno@clisp.org>
568  
569 * vasnprintf.c: Implement NEED_PRINTF_DOUBLE.
570 (decode_double): New function, copied from decode_long_double.
571 (scale10_round_decimal_decoded): New function, extracted from
572 scale10_round_decimal_long_double.
573 (scale10_round_decimal_long_double): Use it.
574 (scale10_round_decimal_double): New function.
575 (floorlog10): New function.
576 (VASNPRINTF): Handle NEED_PRINTF_DOUBLE case.
577  
578 2007-11-03 Bruno Haible <bruno@clisp.org>
579  
580 * vasnprintf.c (VASNPRINTF): Don't assume that snprintf's return value
581 is C99 compliant.
582 Needed for OSF/1 5.1.
583  
584 2007-11-03 Bruno Haible <bruno@clisp.org>
585  
586 Fix out-of-memory handling of vasnprintf.
587 * printf-parse.c: Include <errno.h>.
588 (PRINTF_PARSE): When failing, set errno to EINVAL or ENOMEM.
589 * vasnprintf.c (VASNPRINTF): When PRINTF_PARSE fails, assume errno is
590 already set.
591  
592 2007-10-20 Bruno Haible <bruno@clisp.org>
593  
594 * vasnprintf.c (VASNPRINTF): Don't report overflow if the available
595 length is INT_MAX and sizeof (DCHAR_T) > sizeof (TCHAR_T).
596 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
597  
598 2007-10-18 Bruno Haible <bruno@clisp.org>
599  
600 * vasnprintf.c (VASNPRINTF): Don't use %n on glibc >= 2.3 systems.
601 Reported by Jim Meyering.
602  
603 2007-07-13 Bruno Haible <bruno@clisp.org>
604  
605 * vasnprintf.c (decimal_point_char): Define also if
606 (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE)
607 && !NEED_PRINTF_DIRECTIVE_A.
608 Reported by Clemens Koller <clemens.koller@anagramm.de> via
609 Gary V. Vaughan <gary@gnu.org>.
610  
611 2007-06-10 Bruno Haible <bruno@clisp.org>
612  
613 * vasnprintf.c: Don't include config.h and the specification header if
614 VASNPRINTF is already defined.
615 (DCHAR_IS_TCHAR, DCHAR_CPY): New macros.
616 (VASNPRINTF): Use PRINTF_FETCHARGS instead of printf_fetchargs. Use
617 DCHAR_CPY. Handle the case that DCHAR_T and FCHAR_T are not the same
618 type. Handle the case that TCHAR_T and FCHAR_T are not of the same
619 size. Handle the case that DCHAR_T and TCHAR_T are not the same type,
620 add a conversion from TCHAR_T[] to DCHAR_T[], and rework the padding
621 code accordingly.
622 (VASNPRINTF) [ENABLE_UNISTDIO]: Implement the 'U' directive. Enable
623 pad_ourselves also in this case, with the 'c' and 's' directives, and
624 with a different notion of "width".
625  
626 2007-06-10 Bruno Haible <bruno@clisp.org>
627  
628 * vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Remove variable
629 'maxlen'. Ensure only length + width bytes are allocated, not
630 length + 1 + width.
631  
632 2007-06-09 Bruno Haible <bruno@clisp.org>
633  
634 * vasnprintf.c (FCHAR_T, DCHAR_T, TCHAR_T): New macros.
635 (CHAR_T): Remove macro.
636 (VASNPRINTF): Update.
637  
638 2007-06-05 Bruno Haible <bruno@clisp.org>
639  
640 * vasnprintf.c (VASNPRINTF): Do the extra handling of NaN and Inf
641 also the %a / %A. Handle the %a / %A code before this extra handling.
642  
643 2007-06-05 Bruno Haible <bruno@clisp.org>
644  
645 * vasnprintf.c [NEED_PRINTF_LONG_DOUBLE ||
646 NEED_PRINTF_INFINITE_LONG_DOUBLE]: Include fpucw.h.
647  
648 2007-10-21 Bruno Haible <bruno@clisp.org>
649  
650 * printf-parse.c: Don't assume <stdint.h> exists in IN_LIBASPRINTF
651 context.
652  
653 2007-06-10 Bruno Haible <bruno@clisp.org>
654  
655 * printf-parse.c: Don't include config.h and the specification
656 header if PRINTF_PARSE is already defined. Eliminate the set of
657 parameters for WIDE_CHAR_VERSION; the user of this file must provide
658 them now. Include c-ctype.h.
659 (PRINTF_PARSE) [ENABLE_UNISTDIO]: Add code implementing the 'U'
660 directive and CHAR_T_ONLY_ASCII.
661  
662 2007-09-04 Bruno Haible <bruno@clisp.org>
663  
664 * alloca.in.h: Renamed from alloca_.h.
665 * Makefile.am (EXTRA_DIST, alloca.h): Update.
666  
667 2007-09-01 Bruno Haible <bruno@clisp.org>
668  
669 * autosprintf.texi (Class autosprintf): Explain memory mangement
670 details.
671 Reported at <https://savannah.gnu.org/bugs/?17659>.
672  
673 2007-05-05 Bruno Haible <bruno@clisp.org>
674  
675 * autosprintf.texi (ifmakeinfo): Remove alias.
676 (makeinfo): New variable.
677 * Makefile.am (autosprintf_all.html): Don't pass option -expandinfo
678 to texi2html.
679  
680 2007-05-21 Bruno Haible <bruno@clisp.org>
681  
682 * vasnprintf.c: Update comments.
683  
684 2007-05-20 Bruno Haible <bruno@clisp.org>
685  
686 * vasnprintf.c: Use NEED_PRINTF_INFINITE_DOUBLE instead of
687 NEED_PRINTF_INFINITE.
688 (is_infinitel): New function.
689 (VASNPRINTF): Handle NEED_PRINTF_INFINITE_LONG_DOUBLE case.
690  
691 2007-05-19 Bruno Haible <bruno@clisp.org>
692  
693 * vasnprintf.c: Include math.h and isnan.h.
694 (is_infinite_or_zero): New function.
695 (VASNPRINTF): Fix also the handling of infinite or zero 'double'
696 values in the %f, %F, %e, %E, %g, %G directives.
697  
698 2007-05-19 Bruno Haible <bruno@clisp.org>
699  
700 * vasnprintf.c (convert_to_decimal): Add an extra_zeroes argument.
701 (scale10_round_decimal_long_double): Inline scale10_round_long_double.
702 Instead of multiplying with 10^k, set extra_zeroes to k.
703 (scale10_round_long_double): Remove function.
704  
705 2007-05-18 Bruno Haible <bruno@clisp.org>
706  
707 * vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_ZERO]: Fix logic bug
708 introduced on 2007-05-06.
709  
710 2007-05-18 Bruno Haible <bruno@clisp.org>
711  
712 * vasnprintf.c: Include math.h and float+.h.
713 (mp_limb_t): New type.
714 (GMP_LIMB_BITS): New macro.
715 (mp_twolimb_t): New type.
716 (GMP_TWOLIMB_BITS): New macro.
717 (mpn_t): New type.
718 (multiply, divide, convert_to_decimal, decode_long_double,
719 scale10_round_long_double, scale10_round_decimal_long_double,
720 floorlog10l): New functions.
721 (VASNPRINTF) [NEED_PRINTF_LONG_DOUBLE]: Implement 'long double' support
722 for the %f, %F, %e, %E, %g, %G directives.
723  
724 2007-05-18 Bruno Haible <bruno@clisp.org>
725  
726 * vasnprintf.c (USE_SNPRINTF): Define to 0 on BeOS.
727  
728 2007-05-18 Bruno Haible <bruno@clisp.org>
729  
730 * vasnprintf.c (VASNPRINTF) [WIN32]: Use %I64d instead of %lld for
731 printing 64-bit integers. Needed for mingw.
732  
733 2007-05-06 Bruno Haible <bruno@clisp.org>
734  
735 * vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_ZERO]: Perform the
736 padding ourselves for the floating-point directives.
737  
738 2007-05-06 Bruno Haible <bruno@clisp.org>
739  
740 * vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_GROUPING]: Don't pass
741 the ' flag character to sprintf or snprintf.
742  
743 2007-04-11 Bruno Haible <bruno@clisp.org>
744  
745 * vasnprintf.c (VASNPRINTF): Implement the %F directive using the %f
746 directive, if NEED_PRINTF_DIRECTIVE_F is defined.
747  
748 2007-04-06 Bruno Haible <bruno@clisp.org>
749  
750 * vasnprintf.c: Include <math.h>. Don't include float+.h.
751 (VASNPRINTF): Use signbit for faster determination whether to print a
752 minus sign.
753  
754 2007-03-27 Bruno Haible <bruno@clisp.org>
755  
756 * vasnprintf.c (decimal_point_char): New function.
757 (VASNPRINTF): Use it.
758  
759 2007-03-25 Bruno Haible <bruno@clisp.org>
760  
761 * vasnprintf.c: Include langinfo.h.
762 (VASNPRINTF): Prefer nl_langinfo over localeconv, since it's more
763 multithread-safe.
764  
765 2007-03-24 Bruno Haible <bruno@clisp.org>
766  
767 * vasnprintf.c: Include fpucw.h.
768 (VASNPRINTF): Invoke BEGIN/END_LONG_DOUBLE_ROUNDING around the
769 'long double' calculations.
770  
771 2007-03-24 Bruno Haible <bruno@clisp.org>
772  
773 * vasnprintf.c: Include float+.h.
774 (VASNPRINTF): When comparing against +0.0L or +0.0, compare only
775 SIZEOF_LDBL or SIZEOF_DBL bytes.
776  
777 2007-03-24 Bruno Haible <bruno@clisp.org>
778  
779 * vasnprintf.c [!HAVE_LONG_DOUBLE]: Include printf-frexp.h. Don't
780 include isnanl-nolibm.h.
781  
782 2007-03-21 Bruno Haible <bruno@clisp.org>
783  
784 * vasnprintf.c: Update after isnanl.h was renamed to isnanl-nolibm.h.
785  
786 2007-03-18 Bruno Haible <bruno@clisp.org>
787  
788 * vasnprintf.c (VASNPRINTF): Undo first part of last patch.
789  
790 2007-03-17 Bruno Haible <bruno@clisp.org>
791  
792 * vasnprintf.c (EOVERFLOW): New fallback definition.
793 (VASNPRINTF): Fail with EOVERFLOW when the given allocated size is
794 larger than INT_MAX, or when it grow to a value larger than INT_MAX.
795  
796 2007-03-17 Bruno Haible <bruno@clisp.org>
797  
798 * vasnprintf.c (VASNPRINTF): Clear out the memory used for arg_mem
799 before comparing it. Needed because on some platforms (e.g. x86) a
800 'long double' occupies less bytes than sizeof (long double).
801  
802 2007-03-11 Bruno Haible <bruno@clisp.org>
803  
804 * vasnprintf.c (sprintf): Undefine.
805  
806 2007-03-11 Bruno Haible <bruno@clisp.org>
807  
808 * vasnprintf.c (snprintf): Undefine. Avoids an endless recursion.
809  
810 2007-03-09 Bruno Haible <bruno@clisp.org>
811  
812 * vasnprintf.c (VASNPRINTF): For the 'a' and 'A' directives, use a
813 locale dependent decimal point, rather than always '.'.
814  
815 2007-03-04 Bruno Haible <bruno@clisp.org>
816  
817 * vasnprintf.c: Include isnan.h, isnanl.h, printf-frexp.h,
818 printf-frexpl.h.
819 (VASNPRINTF): Handle the 'a' and 'A' directives here, if needed.
820  
821 2007-03-30 Bruno Haible <bruno@clisp.org>
822  
823 * alloca_.h: Change prefix of double-inclusion guard macro to _GL_.
824  
825 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
826  
827 * alloca_.h (alloca) [defined alloca]: Don't define or declare.
828  
829 2007-03-08 Bruno Haible <bruno@clisp.org>
830  
831 * vasnprintf.h: Convert tabs in the middle of lines to spaces.
832  
833 2007-05-03 Bruno Haible <bruno@clisp.org>
834  
835 Add support for both "makeinfo --html" and texi2html.
836 * autosprintf.texi (ifmakeinfo): New alias.
837 (Top): Use it instead of @ifinfo.
838  
839 2007-04-06 Bruno Haible <bruno@clisp.org>
840  
841 * printf-args.h: Assume HAVE_LONG_DOUBLE to be true.
842 * printf-args.c: Likewise.
843 * printf-parse.c: Likewise.
844 * vasnprintf.c: Likewise.
845  
846 2007-03-29 Bruno Haible <bruno@clisp.org>
847  
848 * Makefile.am (DEFS): New variable.
849 * vasprintf.c: Sync with gnulib.
850 * asprintf.c: Likewise.
851  
852 2007-03-25 Bruno Haible <bruno@clisp.org>
853  
854 * printf-parse.c [!IN_LIBINTL]: Include <stdint.h>, for intmax_t.
855 (PRINTF_PARSE): Make the support for size specifier 'j' unconditional.
856  
857 2007-02-25 Bruno Haible <bruno@clisp.org>
858  
859 * vasnprintf.c (VASNPRINTF): Fix estimate of size needed for a 'a' or
860 'A' conversion.
861  
862 2007-01-29 Bruno Haible <bruno@clisp.org>
863  
864 * printf-args.h: Use '#if HAVE_*' instead of '#ifdef HAVE_*'.
865 * printf-args.c: Likewise.
866 * printf-parse.c: Likewise.
867 * vasnprintf.c: Likewise.
868  
869 2006-11-01 Bruno Haible <bruno@clisp.org>
870  
871 * printf-parse.c (PRINTF_PARSE): Cast malloc/realloc results.
872  
873 2006-10-27 Bruno Haible <bruno@clisp.org>
874  
875 Work around automake-1.10 annoyance.
876 * Makefile.am (ACLOCAL): New macro.
877  
878 2006-11-27 Bruno Haible <bruno@clisp.org>
879  
880 * gettext-0.16.1 released.
881  
882 2006-10-26 Bruno Haible <bruno@clisp.org>
883  
884 * gettext-0.16 released.
885  
886 2006-10-16 Bruno Haible <bruno@clisp.org>
887  
888 Switch to automake-1.10.
889 * Makefile.am (install-dvi, install-ps, install-pdf): Remove rules.
890 (HTMLS): New variable.
891 (html-local): Use it.
892 (install-html): Remove rule.
893  
894 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
895 Bruno Haible <bruno@clisp.org>
896  
897 * printf-args.h (arg_type, argument): Test HAVE_LONG_LONG_INT
898 instead of HAVE_LONG_LONG.
899 * printf-args.c (printf_fetchargs): Likewise.
900 * printf-parse.c (PRINTF_PARSE): Likewise.
901 * vasnprintf.c (VASNPRINTF): Likewise.
902  
903 2006-09-14 Bruno Haible <bruno@clisp.org>
904  
905 * lib-asprintf.c: Include <config.h> unconditionally.
906 * asnprintf.c: Likewise.
907 * asprintf.c: Likewise.
908 * printf-args.c: Likewise.
909 * printf-parse.c: Likewise.
910 * vasnprintf.c: Likewise.
911 * vasprintf.c: Likewise.
912  
913 2006-08-26 Bruno Haible <bruno@clisp.org>
914  
915 * vasnprintf.c (EOVERFLOW): Remove definition.
916 (VASNPRINTF): Return a string of length > INT_MAX without failing.
917 * vasprintf.c: Include errno.h, limits.h.
918 (EOVERFLOW): New fallback definition.
919 (vasprintf): Test here whether the string length is > INT_MAX.
920  
921 2006-08-28 Bruno Haible <bruno@clisp.org>
922  
923 * configure.ac: Remove bh_C_SIGNED invocation.
924  
925 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
926  
927 * autosprintf.texi: Reduce spacing after "i.e." and "e.g.".
928  
929 2006-07-25 Bruno Haible <bruno@clisp.org>
930  
931 * windows: Remove directory.
932 * Makefile.msvc: Remove file.
933 * Makefile.am (config.h.msvc, autosprintf.h.msvc-shared): Remove rules.
934 (EXTRA_DIST): Remove Makefile.msvc, config.h.msvc,
935 autosprintf.h.msvc-shared, windows/*.
936  
937 2006-07-25 Bruno Haible <bruno@clisp.org>
938  
939 * Makefile.vms: Remove file.
940 * Makefile.am (config.h_vms): Remove rule.
941 (EXTRA_DIST): Remove Makefile.vms, config.h_vms.
942  
943 2006-07-21 Bruno Haible <bruno@clisp.org>
944  
945 * gettext-0.15 released.
946  
947 2006-06-27 Bruno Haible <bruno@clisp.org>
948  
949 Assume working 'const'.
950 * configure.ac: Remove AC_C_CONST invocation.
951  
952 2006-04-14 Bruno Haible <bruno@clisp.org>
953  
954 Assume autoconf >= 2.60.
955 * Makefile.am (docdir, dvidir, psdir, pdfdir, htmldir): Remove
956 variables.
957  
958 2006-05-24 Bruno Haible <bruno@clisp.org>
959  
960 * printf-args.c (printf_fetchargs): Turn NULL pointers for
961 TYPE_STRING and TYPE_WIDE_STRING into a non-NULL replacement.
962 Reported by Thorsten Maerz <torte@netztorte.de> via
963 Aaron Stone <aaron@serendipity.cx>.
964  
965 2006-05-02 Charles Wilson <cygwin@cwilson.fastmail.fm>
966  
967 * configure.ac (LTNOUNDEF): Set to -no-undefined also on mingw and
968 Cygwin.
969  
970 2006-04-17 Bruno Haible <bruno@clisp.org>
971  
972 * Makefile.am: Use $(mkdir_p) instead of $(mkinstalldirs).
973  
974 2006-04-11 Bruno Haible <bruno@clisp.org>
975  
976 * autosprintf.texi: Change license terms to FDL | GPL.
977  
978 2006-04-01 Bruno Haible <bruno@clisp.org>
979  
980 * texi2html: Add option -expandtex. Expand @ifhtml by default, not
981 @ifinfo. Use Unicode quotation marks instead of grave and acute
982 accents. Emit charset=UTF-8 declaration. Bump version number to 1.52b.
983  
984 2006-01-22 Bruno Haible <bruno@clisp.org>
985  
986 * vasnprintf.c (VASNPRINTF): In the computation of the size of the
987 temporary buffer for sprintf, take into account the precision also
988 for 'd', 'i', 'u', 'o', 'x', 'X'.
989  
990 2005-11-23 Bruno Haible <bruno@clisp.org>
991  
992 Cygwin portability.
993 * configure.ac: Invoke gl_WOE32_DLL.
994  
995 2005-07-07 Bruno Haible <bruno@clisp.org>
996  
997 Add ability to create shared library on BeOS.
998 * configure.ac (LTNOUNDEF): New macro.
999 * Makefile.am (libasprintf_la_LDFLAGS): New variable.
1000  
1001 2005-07-05 Bruno Haible <bruno@clisp.org>
1002  
1003 * printf-args.c (printf_fetchargs): Work around broken definition of
1004 wint_t on mingw.
1005  
1006 2006-06-21 Bruno Haible <bruno@clisp.org>
1007  
1008 * gettext-0.14.6 released.
1009  
1010 2005-05-23 Bruno Haible <bruno@clisp.org>
1011  
1012 * gettext-0.14.5 released.
1013  
1014 2005-04-11 Bruno Haible <bruno@clisp.org>
1015  
1016 * gettext-0.14.4 released.
1017  
1018 2005-03-22 Bruno Haible <bruno@clisp.org>
1019  
1020 * configure.ac (AC_CONFIG_AUX_DIR): Use ../../build-aux.
1021 * Makefile.am (ACLOCAL_AMFLAGS): Replace config/m4 with m4.
1022  
1023 2005-03-14 Bruno Haible <bruno@clisp.org>
1024  
1025 * gettext-0.14.3 released.
1026  
1027 2005-02-24 Bruno Haible <bruno@clisp.org>
1028  
1029 * gettext-0.14.2 released.
1030  
1031 2005-02-13 Bruno Haible <bruno@clisp.org>
1032  
1033 * Makefile.am (libasprintf.la): New rule. Needed for BeOS.
1034  
1035 2005-02-12 Bruno Haible <bruno@clisp.org>
1036  
1037 * Makefile.msvc (install): Update for 2004-01-18 change.
1038 * Makefile.vms (install): Likewise.
1039  
1040 2005-02-12 Bruno Haible <bruno@clisp.org>
1041  
1042 * vasnprintf.c (EOVERFLOW): Define to a fallback if needed.
1043  
1044 2004-12-19 Paul Eggert <eggert@cs.ucla.edu>
1045  
1046 * alloca_.h: Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
1047  
1048 2004-09-08 Bruno Haible <bruno@clisp.org>
1049  
1050 * vasnprintf.c (VASNPRINTF): Signal EOVERFLOW if the resulting length
1051 is > INT_MAX.
1052 * vasprintf.c (vasprintf): Don't test for length > INT_MAX any more.
1053  
1054 2004-05-14 Bruno Haible <bruno@clisp.org>
1055  
1056 * vasnprintf.c (VASNPRINTF): Correctly handle the case of a precision
1057 that consists of a '.' followed by an empty digit string.
1058 Patch by Tor Lillqvist <tml@iki.fi>.
1059  
1060 2004-04-19 Bruno Haible <bruno@clisp.org>
1061  
1062 * gettext.m4: Change jm_ to gl_ in all uses of AC_DEFINE'd names.
1063  
1064 2004-03-11 Bruno Haible <bruno@clisp.org>
1065  
1066 * Makefile.am (config.h.msvc): Fix the value of SIZE_MAX.
1067  
1068 2004-02-02 Bruno Haible <bruno@clisp.org>
1069  
1070 * Makefile.am (RM): New variable.
1071  
1072 2004-01-29 Bruno Haible <bruno@clisp.org>
1073  
1074 * gettext-0.14.1 released.
1075  
1076 2004-01-28 Bruno Haible <bruno@clisp.org>
1077  
1078 * gettext-0.14 released.
1079  
1080 2004-01-18 Bruno Haible <bruno@clisp.org>
1081  
1082 * Makefile.am (autosprintf_all.html): Renamed from autosprintf.html.
1083 Works around a problem with automake-1.8: It removes autosprintf.html
1084 during "make mostlyclean".
1085  
1086 2003-10-30 Paul Eggert <eggert@twinsun.com>
1087 Bruno Haible <bruno@clisp.org>
1088  
1089 * vasprintf.c: Include <limits.h>, <stdlib.h>.
1090 (vasprintf): Fail if the resulting length doesn't fit in an 'int'.
1091  
1092 2003-12-12 Bruno Haible <bruno@clisp.org>
1093  
1094 Assume automake-1.8.
1095 * Makefile.am (clean-local): Renamed from clean-am.
1096 (html-local): Renamed from html.
1097 (ps, pdf, .texi.pdf): Remove rules.
1098 (TEXI2PDF): Remove variable.
1099  
1100 2003-12-17 Bruno Haible <bruno@clisp.org>
1101  
1102 * gettext-0.13.1 released.
1103  
1104 2003-12-09 Bruno Haible <bruno@clisp.org>
1105  
1106 * Makefile.am (MAKEINFOFLAGS): New variable.
1107  
1108 2003-11-30 Bruno Haible <bruno@clisp.org>
1109  
1110 * gettext-0.13 released.
1111  
1112 2003-11-28 Bruno Haible <bruno@clisp.org>
1113  
1114 * configure.ac: Invoke AC_C_INLINE.
1115 * Makefile.am (config.h.msvc): Define SIZE_MAX and inline.
1116  
1117 2003-11-23 Paul Eggert <eggert@twinsun.com>
1118 Bruno Haible <bruno@clisp.org>
1119  
1120 * printf-parse.h: Don't include sys/types.h.
1121 (ARG_NONE): New macro.
1122 (char_directive): Change type of *arg_index fields to size_t.
1123 * printf-parse.c: Don't include sys/types.h.
1124 (SSIZE_MAX): Remove macro.
1125 (PRINTF_PARSE): Change the type of the arg_index variables to size_t.
1126 Remove unnecessary overflow check.
1127 * vasnprintf.c (VASNPRINTF): Update for type change of *arg_index
1128 fields.
1129 * configure.ac: Don't invoke gt_TYPE_SSIZE_T.
1130  
1131 2003-11-19 Bruno Haible <bruno@clisp.org>
1132  
1133 * configure.ac: Better test for ptrdiff_t. Invoke gt_TYPE_SSIZE_T and
1134 gl_XSIZE.
1135  
1136 2003-11-17 Bruno Haible <bruno@clisp.org>
1137  
1138 * vasnprintf.c (alloca): Remove fallback definition.
1139 (freea): Remove definition.
1140 (VASNPRINTF): Use alloca only for small sizes, say <= 4000 bytes.
1141 Reported by Paul Eggert.
1142  
1143 2003-11-16 Paul Eggert <eggert@twinsun.com>
1144 Bruno Haible <bruno@clisp.org>
1145  
1146 Protect against address arithmetic overflow.
1147 * printf-args.h: Include stddef.h.
1148 (arguments): Change type of field 'count' to size_t.
1149 * printf-args.c (printf_fetchargs): Use size_t instead of
1150 'unsigned int' where appropriate.
1151 * printf-parse.h: Include sys/types.h.
1152 (char_directive): Change type of *arg_index fields to ssize_t.
1153 (char_directives): Change type of fields 'count', max_*_length to
1154 size_t.
1155 * printf-parse.c: Include sys/types.h and xsize.h.
1156 (SSIZE_MAX): Define fallback value.
1157 (PRINTF_PARSE): Use size_t instead of 'unsigned int' and ssize_t
1158 instead of 'int' where appropriate. Check a_allocated, d_allocated
1159 against overflow. Reject %m$ argument numbers > SSIZE_MAX + 1.
1160 * vasnprintf.c: Include xsize.h.
1161 (VASNPRINTF): Use size_t instead of 'unsigned int' where appropriate.
1162 Check alloca, malloc, realloc, ENSURE_ALLOCATION arguments against
1163 overflow. Avoid wraparound when converting a width or precision from
1164 decimal to binary.
1165 * xsize.h: New file, from gnulib.
1166 * Makefile.am (lib_asprintf_EXTRASOURCES): Add xsize.h.
1167  
1168 2003-11-04 Bruno Haible <bruno@clisp.org>
1169  
1170 * Makefile.am (MAKEINFO): Set LC_MESSAGES and LC_ALL to empty as well.
1171  
1172 2003-10-31 Bruno Haible <bruno@clisp.org>
1173  
1174 * configure.ac: Remove argument of FIX_MAKEFILE_COMPILE,
1175 FIX_MAKEFILE_INFO.
1176  
1177 2003-10-19 Jim Meyering <jim@meyering.net>
1178  
1179 * vasnprintf.c (VASNPRINTF): Work around losing snprintf on HPUX 10.20.
1180  
1181 2003-08-29 Bruno Haible <bruno@clisp.org>
1182  
1183 * configure.ac: Test whether _snprintf is declared, not only existent
1184 as a function.
1185 * vasnprintf.c: Test HAVE_DECL__SNPRINTF instead of HAVE__SNPRINTF.
1186 Test HAVE_DECL__SNWPRINTF instead of HAVE__SNWPRINTF.
1187 * Makefile.am (config.h.msvc): Define HAVE_DECL__SNPRINTF instead of
1188 defining snprintf as a macro.
1189  
1190 2003-08-24 Bruno Haible <bruno@clisp.org>
1191  
1192 * vasnprintf.c (local_wcslen): Protect against multiple definition.
1193 (USE_SNPRINTF): Define also if only _snprintf() is available.
1194 (SNPRINTF): Possibly define as _snprintf or _snwprintf.
1195 * configure.ac: Also check for _snprintf.
1196  
1197 2003-08-11 Bruno Haible <bruno@clisp.org>
1198  
1199 * vasnprintf.c (local_wcslen): New function, for Solaris 2.5.1.
1200 (VASNPRINTF): Use it instead of wcslen.
1201 * configure.ac: Also check for wcslen.
1202 * Makefile.am (config.h_vms): Set HAVE_WCSLEN.
1203 (config.h.msvc): Likewise.
1204  
1205 2003-06-20 Bruno Haible <bruno@clisp.org>
1206  
1207 * configure.ac: Invoke gt_PRINTF_POSIX.
1208 * lib-asprintf.h: Ignore an existing vasprintf() if it doesn't support
1209 POSIX/XSI format strings.
1210 * lib-asprintf.c: Likewise.
1211 * Makefile.am (config.h_vms): Define HAVE_POSIX_PRINTF.
1212  
1213 2003-06-19 Bruno Haible <bruno@clisp.org>
1214  
1215 * configure.ac (jm_AC_TYPE_LONG_LONG): Replaces gt_TYPE_LONGLONG.
1216 * printf-parse.c: Generalize to it can be compiled for wide strings.
1217 (PRINTF_PARSE, CHAR_T, DIRECTIVE, DIRECTIVES): New macros.
1218 * vasnprintf.c: Generalize to it can be compiled for wide strings.
1219 (VASNPRINTF, CHAR_T, DIRECTIVE, DIRECTIVES, PRINTF_PARSE, USE_SNPRINTF,
1220 SNPRINTF): New macros.
1221 Don't include <alloca.h> if the file is used inside libintl.
1222  
1223 2003-05-30 Bruno Haible <bruno@clisp.org>
1224  
1225 * autosprintf.texi: Tweak @dircategory and @direntry.
1226 Reported by Karl Berry <karl@freefriends.org>.
1227  
1228 2003-05-22 Bruno Haible <bruno@clisp.org>
1229  
1230 * gettext-0.12.1 released.
1231  
1232 2003-05-20 Bruno Haible <bruno@clisp.org>
1233  
1234 * Makefile.am (config.h_vms, config.h.msvc, autosprintf.h.msvc-shared):
1235 Don't use $< here.
1236  
1237 2003-05-19 Bruno Haible <bruno@clisp.org>
1238  
1239 * windows/asprintf.rc: Include <winver.h>.
1240 Reported by Perry Rapp.
1241  
1242 2003-05-18 Bruno Haible <bruno@clisp.org>
1243  
1244 * Makefile.msvc (DEBUGFLAGS): New variable.
1245 (asprintf.lib): Use it.
1246  
1247 2003-05-17 Bruno Haible <bruno@clisp.org>
1248  
1249 * gettext-0.12 released.
1250  
1251 2003-04-12 Bruno Haible <bruno@clisp.org>
1252  
1253 * Makefile.am (config.h_vms): Renamed from config.h.vms.
1254 * Makefile.vms: New variables ABIFLAGS, DEFS. Avoid rules with no
1255 lines. Update library creation rule. Don't use the force target.
1256 Correct wildcard syntax.
1257 Suggested by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
1258  
1259 2003-04-12 Bruno Haible <bruno@clisp.org>
1260  
1261 * Makefile.am (docdir): Use datadir instead of prefix.
1262 * Makefile.msvc (datadir): New variable.
1263 (sub_docdir): Use it instead of prefix.
1264 (install, installdirs): Update.
1265 * Makefile.vms (datadir): New variable.
1266 (sub_docdir): Use it instead of prefix.
1267  
1268 2003-03-30 Bruno Haible <bruno@clisp.org>
1269  
1270 * Makefile.vms: New file.
1271 * Makefile.am (config.h.vms): New rule.
1272 (EXTRA_DIST): Add Makefile.vms and config.h.vms.
1273  
1274 2003-03-17 Bruno Haible <bruno@clisp.org>
1275  
1276 Native Woe32/MSVC support.
1277 * autosprintf.h.in: Renamed from autosprintf.h.
1278 * Makefile.msvc: New file.
1279 * README.woe32: New file.
1280 * windows/dllexport.h: New file.
1281 * windows/asprintf.rc: New file.
1282 * Makefile.am (EXTRA_DIST): Add them and config.h.msvc and
1283 autosprintf.h.in.
1284 (autosprintf.h): New rule.
1285 (MOSTLYCLEANFILES): Add autosprintf.h.
1286 (dist-hook): Don't distribute autosprintf.h.
1287 (config.h.msvc, autosprintf.h.msvc-shared): New rules.
1288  
1289 2003-02-22 Bruno Haible <bruno@clisp.org>
1290  
1291 * autosprintf.texi: Add comment about indices.
1292 * Makefile.am (MOSTLYCLEANFILES): No need to clean the unused indices.
1293 (The automake generated rule already cleans them.)
1294  
1295 2003-02-22 Bruno Haible <bruno@clisp.org>
1296  
1297 * Makefile.am (installdirs): Remove dependency, redundant with
1298 automake >= 1.6.
1299  
1300 2003-02-18 Bruno Haible <bruno@clisp.org>
1301  
1302 * Makefile.am (clean-am): New rule. For Solaris cc.
1303  
1304 2003-02-12 Bruno Haible <bruno@clisp.org>
1305  
1306 * configure.ac: Renamed from configure.in. Invoke AC_CONFIG_AUX_DIR.
1307 Invoke AC_FUNC_ALLOCA instead of gl_FUNC_ALLOCA. Remove redundant
1308 postprocessing of Makefile.
1309 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../../config/m4.
1310 ($(libasprintf_la_OBJECTS)): Make alloca.h dependency effective.
1311  
1312 2003-01-03 Albert Chin <libtool@thewrittenword.com>
1313  
1314 * ltmain.sh: Don't pass -R flags found in a .la's dependency_libs
1315 variable directly down to the linker.
1316 Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>.
1317  
1318 2003-01-12 Bruno Haible <bruno@clisp.org>
1319  
1320 * configure.in: Invoke gl_FUNC_ALLOCA instead of AC_FUNC_ALLOCA.
1321 * alloca_.h: New file, from gnulib.
1322 * liballoca.h: Remove file.
1323 * Makefile.am: Add snippet from gnulib module alloca.
1324 (lib_asprintf_EXTRASOURCES): Remove liballoca.h.
1325 * vasnprintf.c: Include alloca.h instead of liballoca.h.
1326  
1327 2003-01-12 Bruno Haible <bruno@clisp.org>
1328  
1329 * Makefile.am: Make use of += for variables.
1330  
1331 2003-01-12 Bruno Haible <bruno@clisp.org>
1332  
1333 Portability to FreeBSD.
1334 * configure.in: Invoke gt_TYPE_WINT_T.
1335 * printf-args.h: Use HAVE_WINT_T, not HAVE_WCHAR_T, to check for
1336 availability of wint_t.
1337 * printf-argc.c: Likewise.
1338 * printf-parse.c: Likewise.
1339 * vasnprintf.c: Likewise.
1340  
1341 2002-12-07 Bruno Haible <bruno@clisp.org>
1342  
1343 Switch to autoconf-2.57 and automake-1.7.2.
1344 * configure.in: Use AC_CONFIG_FILES, because the AC_OUTPUT commands
1345 and not run any more when config.status is called to create a single
1346 file.
1347  
1348 2002-11-13 Bruno Haible <bruno@clisp.org>
1349  
1350 Assume ANSI C.
1351 * libstdarg.h: Remove file.
1352 * Makefile.am (lib_asprintf_EXTRASOURCES): Remove libstdarg.h.
1353 * asnprintf.c: Include <stdarg.h> instead of libstdarg.h.
1354 (asnprintf): Use ANSI C function declarations. Use va_start instead of
1355 VA_START.
1356 * asprintf.c: Include <stdarg.h> instead of libstdarg.h.
1357 (asnprintf): Use ANSI C function declarations. Use va_start instead of
1358 VA_START.
1359 * printf-args.h (PARAMS): Remove macro.
1360 (printf_fetchargs): Use ANSI C function declarations.
1361 * printf-args.c (printf_fetchargs): Likewise.
1362 * printf-parse.h (printf_parse): Likewise.
1363 * printf-parse.c (printf_parse): Likewise.
1364 * vasnprintf.h (PARAMS): Remove macro.
1365 (asnprintf, vasnprintf): Use ANSI C function declarations.
1366 * vasnprintf.c (vasnprintf): Likewise.
1367 * vasprintf.h (PARAMS): Remove macro.
1368 (asprintf, vasprintf): Use ANSI C function declarations.
1369 * vasprintf.c (vasprintf): Likewise.
1370  
1371 2002-10-27 Bruno Haible <bruno@clisp.org>
1372  
1373 * printf-args.h, printf-args.c: New files.
1374 * printf-parse.h, printf-parse.c: New files.
1375 * vasnprintf.h, vasnprintf.c, asnprintf.c: New files.
1376 * vasprintf.h, vasprintf.c, asprintf.c: New files.
1377 * lib-asprintf.h, lib-asprintf.c: New files.
1378 * autosprintf.h, autosprintf.cc: New files.
1379 * README, NEWS, AUTHORS, COPYING, autosprintf.texi: New files.
1380 * Makefile.am, configure.in: New files.
1381 * liballoca.h, libstdarg.h: New files, from gettext-0.11.6/lib.
1382 * COPYING.LIB, INSTALL, config.guess, config.sub, install-sh,
1383 ltmain.sh, missing, mkinstalldirs, texi2html, texinfo.tex: Standard
1384 infrastructure files, from gettext-0.11.6.