1 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
3 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
4 alternatives for CXX_libstdcxx, now that it is useless.
5 * aclocal.m4, configure: Rebuilt.
7 2000-11-04 Mark Mitchell <mark@codesourcery.com>
9 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
10 * aclocal.m4: Regenerated.
11 * configure: Likewise.
13 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
15 * aclocal.m4: Regenerated.
16 * configure: Likewise.
18 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
20 * acinclude.m4 (CXX): Prevent it from being cached.
21 * aclocal.m4, configure, */Makefile.in: Rebuilt.
23 2000-11-03 David Edelsohn <dje@watson.ibm.com>
25 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
26 flag based on multilib definition of $CXX.
27 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
28 based on multilib definition of $CXX.
29 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
31 2000-11-03 Phil Edwards <pme@sources.redhat.com>
33 * acinclude.m4: Cleanups.
34 * aclocal.m4: Regenerated.
37 * libio/Makefile.in: Ditto.
38 * libmath/Makefile.in: Ditto.
39 * libsupc++/Makefile.in: Ditto.
40 * src/Makefile.in: Ditto.
42 * docs/install.html: Removal of EGCS.
43 * docs/23_containers/wrappers_h.txt: Likewise.
44 * docs/faq/index.html: Likewise.
45 * docs/faq/index.txt: Regenerated.
46 * docs/thanks.html: More people.
48 2000-11-03 David Edelsohn <edelsohn@gnu.org>
50 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
51 with function name defined in this file.
53 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
55 * include/c/bits/std_cctype.h: Undefine macros that conflict
56 with function names defined in this file.
57 * include/c/bits/std_cstdio.h: Likewise.
59 2000-11-02 Mark Mitchell <mark@codesourcery.com>
61 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
63 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
65 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
66 * aclocal.m4: Regenerated.
67 * Makefile.in: Regenerated.
68 * libio/Makefile.in: Likewise.
69 * libmath/Makefile.in: Likewise.
70 * libsupc++/Makefile.in: Likewise.
71 * src/Makefile.in: Likewise.
72 * configure: Likewise.
73 * config/os/irix/bits/ctype_base.h: Revise.
74 * config/os/irix/bits/ctype_inline.h: Likewise.
75 * config/os/irix/bits/ctype_noninline.h: Likewise.
77 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
78 if not _GLIBCPP_USE_WCHAR_T.
79 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
80 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
81 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
83 * mkcheck.in: Fix echoing of -rpath option.
85 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
87 (__exchange_aand_add): Adjust accordingly.
88 (__atomic_add): Likewise.
90 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
92 * src/locale.cc: Match orderings for static members.
93 * include/bits/fstream.tcc: Fixes for cin.
95 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
97 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
98 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
99 (cos, cosh, sin, sinh): Define primary templates.
101 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
104 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
106 * bits/basic_file.h (_M_open_mode): Change signature, move
108 * config/c_io_libio.cc: ...here.
109 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
110 * aclocal.m4: Regenerate.
111 * configure: Regenerate.
112 * config/c_io_stdio.h: New file.
113 * config/c_io_stdio.cc: New file.
114 * docs/configopts.html: Modify documentation.
116 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
118 * include/c/bits/std_cwctype.h: Add more undefs.
120 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
122 * include/bits/std_complex.h (norm): Forward declare.
123 (complex<>): Comment out friend declaration of conj<>.
124 (conj<>): Comment out specialization.
125 (exp, log, log10): Define primary templates.
127 * src/complex.cc (exp<>, log<>, log10<>): Comment out
130 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
132 * include/bits/std_complex.h: Remove duplicate definition of conj.
133 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
135 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
137 * src/complex.cc (arg, polar): Comment out specializations.
139 * include/bits/std_complex.h (complex<>): Remove arg<> friend
141 (arg): Define primary template.
145 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
147 * include/c/bits/std_cwctype.h: #undef possible function-like
148 macro definitions of iswxxx functions, which might be brought in
149 by <wctype.h>. Those macro definitions prevent build on some
152 * include/bits/std_complex.h (complex<>): Comment out friend
153 declarations of abs<> specializations.
154 (abs): Define primary template.
156 * src/complex.cc (abs): Comment out specialization definition.
158 2000-10-30 Phil Edwards <pme@sources.redhat.com>
160 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
161 the default of 2 to 3.
162 * configure.in: Fix minor typos. SUBST the values of enable_shared
163 and enable_static so that mkcheck will be aware of them. Put the
164 test for gconv.h in with all the other header tests.
165 * aclocal.m4: Regenerate.
167 * Makefile.in: Ditto.
168 * libio/Makefile.in: Ditto.
169 * libmath/Makefile.in: Ditto.
170 * libsupc++/Makefile.in: Ditto.
171 * src/Makefile.in: Ditto.
173 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
174 _G_USING_THUNKS to 0.
176 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
178 * src/complex_io.cc : Remove ancient defines.
179 * config/os/gnu-linux/bits/os_defines.h: Add defines.
180 * libsupc++/tinfo2.cc: Change to cstddef.
182 * include/bits/codecvt.h: Add include of c++config.h, so that
183 __USE_GNU gets defined. (Important for alpha.)
185 * include/c/bits/std_cwctype.h: Same.
186 * include/c/bits/std_ctime.h: And here.
187 * include/c/bits/std_cstdarg.h: Same.
188 * include/c/bits/std_csignal.h: Same.
189 * include/c/bits/std_csetjmp.h: Same.
190 * include/c/bits/std_clocale.h: Same.
191 * include/c/bits/std_climits.h: Touch.
192 * include/c/bits/std_cfloat.h: Same.
193 * include/c/bits/std_cerrno.h: Same.
194 * include/c/bits/std_cwchar.h: Same.
195 * include/c/bits/std_cassert.h: Same.
196 * include/c/bits/std_cctype.h: Same.
197 * include/c/bits/std_cstddef.h: And here.
198 * include/c/bits/std_cstdlib.h: And here.
199 * include/c/bits/std_cstdio.h: Same.
200 * include/c/bits/std_cstring.h: Add names to namespace std::.
202 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
204 (_ISOC99_SOURCE): And this one....
205 * config/os/gnu-linux/bits/os_defines.h: ...to here.
207 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
208 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
210 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
211 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
213 2000-10-30 Steven King <sxking@uswest.net>
215 * include/bits/codecvt.h: Add cast.
216 * include/c_std/stdio.h: Re-add printf using declaration.
217 * include/c_std/bits/std_cstdio.h: Same
218 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
219 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
220 * testsuite/22_locale/facet.cc: Same.
221 * testsuite/22_locale/global_templates.cc: Same.
222 * testsuite/22_locale/operators.cc: Same.
223 * testsuite/22_locale/static_members.cc: Same.
224 * testsuite/26_numerics/c_math.cc: Same.
225 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
226 * testsuite/27_io/fpos.cc: Same.
227 * testsuite/27_io/istream_extractor_arith.cc: Same.
228 * testsuite/27_io/istream_unformatted.cc: Same.
229 * testsuite/27_io/ostream_inserter_arith.cc: Same.
230 * testsuite/27_io/streambuf.cc: Same.
232 2000-10-30 Mark Mitchell <mark@codesourcery.com>
234 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
235 for cabs, cabsf, and cabsl, too.
236 * aclocal.m4: Regenerated.
237 * config.h.in: Likewise.
238 * configure: Likewise.
239 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
241 * libmath/Makefile.in: Regenerated.
242 * libmath/complex-stub.h (cabs): Don't declare if the system
243 already provides this function.
246 * src/complex.cc (abs): Directly use `hypot' since we can't call
249 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
251 * acinclude.m4: Update URL on egcs.cygnus.com to point to
253 * aclocal.m4, configure: Regenerate.
254 * src/gen-num-limits.cc, include/bits/c++config,
255 include/bits/stl_config.h: Remove EGCS references.
257 2000-10-29 Mark Mitchell <mark@codesourcery.com>
259 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
260 building shared executables.
262 2000-10-29 Mark Harig <mharig@landmark.com>
264 * src/Makefile.am: Change logic for include dir options.
265 * src/Makefile.in: Regenerate.
266 * libsupc++/Makefile.am: Ditto.
267 * libsupc++/Makefile.in: Regenerate.
269 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
271 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
272 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
273 with libgcj build issues and improve consistency with the source
274 directory's include directory setup.
275 * configure: Regenerate.
276 * acinclude.m4: Same here.
277 * aclocal.m4: Regenerate.
278 * mknumeric_limits (OUT_H): Also change paths here.
279 * mkcheck.in (C_DIR): And here.
280 * mkc++config (OUT_H): And here.
281 * libmath/Makefile.am (INCLUDES): And here.
282 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
283 * libio/Makefile.am: Ditto.
284 * libsupc++/Makefile.am (INCLUDES): Ditto.
286 2000-10-29 Mark Mitchell <mark@codesourcery.com>
288 * config/c_io_libio.cc (basic_file<char>::__basic_file):
289 Don't pass a NULL _IO_wide_data to _IO_no_init when
290 _GLIBCPP_USE_WCHAR_T is not defined.
291 * config/c_io_libio.h (_IO_codecvt): Don't declare when
292 _GLIBCPP_USE_WCHAR_T is not defined.
293 * config/c_io_libio_codecvt.c: Don't compile it
294 when _GLIBCPP_USE_WCHAR_T is not defined.
295 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
296 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
298 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
299 include it when _GLIBCPP_USE_WCHAR_T is not defined.
300 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
301 when _GLIBCPP_USE_WCHAR_T is not defined.
302 * src/localename.cc (locale::_Impl::_M_construct_collate):
303 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
305 (locale::_Impl::_M_construct_ctype): Likewise.
306 (locale::_Impl::_M_construct_monetary): Likewise.
307 (locale::_Impl::_M_construct_numeric): Likewise.
308 (locale::_Impl::_M_construct_time): Likewise.
309 (locale::_Impl::_M_construct_messages): Likewise.
311 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
312 * aclocal.m4: Regenerated.
313 * configure: Likewise.
314 * config/os/irix/bits/atomicity.h: New file.
315 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
317 (__off64_t): Likewise.
318 (__ssize_t): Likewise.
319 (_G_USING_THUNKS): Define to zero.
321 2000-10-28 Mark Mitchell <mark@codesourcery.com>
323 * src/string-inst.cc (basic_string<C>::npos): Explicitly
326 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
328 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
330 Clean up naming, consistency in "C" library autoconf testing.
331 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
332 GLIBCPP_CHECK_CTYPE_SUPPORT.
333 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
334 * aclocal.m4: Regenerate.
335 * configure.in: And here.
336 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
337 * configure: Regenerate.
339 2000-10-26 David Edelsohn <edelsohn@gnu.org>
341 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
342 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
344 2000-10-26 Phil Edwards <pme@sources.redhat.com>
345 David Edelsohn <dje@watson.ibm.com>
347 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
348 --gc-sections stuff entirely to avoid misleading people.
349 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
350 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
352 * libio/libio.h: Simplify, make fewer assumptions. Define those
353 macros which must be defined.
354 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
357 2000-10-26 Mark Mitchell <mark@codesourcery.com>
359 * include/backward/streambuf.h: New file.
361 2000-10-26 David Edelsohn <dje@watson.ibm.com>
363 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
364 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
365 * config/os/aix/bits/os_defines.h: Add AIX defines.
367 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
369 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
370 * aclocal.m4: Regenerate.
371 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
372 * configure: Regenerate.
373 * docs/configopts.html: Remove.
374 * src/complexl.cc: Revert.
375 * config.h.in: Remove.
376 * include/c_std/bits/std_cmath.h: Remove guards based on
377 _GLIBCPP_USE_LONG_DOUBLE.
378 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
379 with respect to long double signatures.
381 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
383 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
384 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
385 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
386 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
387 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
389 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
391 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
392 Use __valarray_copy_construct only where appropriate.
394 2000-10-25 Mark Mitchell <mark@codesourcery.com>
396 * Makefile.in (check): Don't make mkcheck executable.
397 (check-install): Likewise.
398 * configure.in (AC_OUTPUT): Make mkcheck executable.
399 * mkcheck.in (top_srcdir): New variable.
400 (INC_PATH): Set the path to the backward and ext directories
403 2000-10-25 Phil Edwards <pme@sources.redhat.com>
405 * configure.in: Check for gconv.h.
406 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
408 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
409 * libio/_G_config.h: And here.
410 * libio/iofwide.c: And here.
411 * libio/libio.h: And here.
413 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
414 exception specification to match declaration.
415 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
417 2000-10-24 Mark Harig <mharig@landmark.com>
419 * docs/configopts.html: Added documentation for the
420 "--enable-version-specific-runtime-libs" and
421 "--with-gxx-include-dir" configuration switches.
423 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
425 * include/bits/stl_pair.h (make_pair): Add LWG solution.
427 * testsuite/21_strings/compare.cc (test01): Inject namespace std
430 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
433 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
435 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
437 2000-10-24 Phil Edwards <pme@sources.redhat.com>
439 * acconfig.h: List _GLIBCPP_USE_THREADS.
440 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
441 correction, etc. Add comments about following *real* changes
443 (GLIBCPP_ENABLE_C_MBCHAR): New test...
444 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
445 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
447 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
448 macro _GLIBCPP_USE_THREADS in c++config.h.
449 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
450 this is used in both makefiles and shell scripts (mkcheck).
451 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
453 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
454 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
455 something harmless, like int.
457 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
458 add comment/instructions.
459 * config/os/bsd/bits/os_defines.h: Ditto.
460 * config/os/generic/bits/os_defines.h: Ditto.
461 * config/os/gnu-linux/bits/os_defines.h: Ditto.
462 * config/os/irix/bits/os_defines.h: Ditto.
463 * config/os/newlib/bits/os_defines.h: Ditto.
464 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
465 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
467 * mkcheck.in: Limit the available heap size for testsuite
468 binaries, initially at 2MB.
470 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
472 * testsuite/21_strings/compare.cc (test01): Add using declarations.
474 * include/c_std/bits/std_cerrno.h: And here.
475 * include/c_std/bits/std_cassert.h: Tweaks.
477 * mkcheck.in: Simplify.
479 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
480 (GLIBCPP_ENABLE_LONG_LONG): Same.
481 * aclocal.m4: Regenerate.
483 * src/Makefile.am (c_shadow_headers): Add features.h,
484 bits/wrap_features.h.
485 * src/Makefile.in: Regenerate.
486 * include/c_std/features.h: New file.
487 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
488 file. Need to have c++config.h included before this file so
489 _ISOC99_SOURCE around.
491 * include/c_std/sys/cdefs.h: Hack.
492 * include/c_std/stdlib.h: Same, use c++config.h.
493 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
495 * include/c_std/bits/std_cassert.h: Fix.
496 * include/c_std/bits/std_cerrno.h: Make consistent.
498 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
499 declaration from ::_C_legacy to _C_legacy.
501 * include/c_std/bits/std_cstdio.h: same with printf.
502 * include/c_std/stdio.h: And here.
504 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
505 * include/c_std/stdlib.h: Same here.
507 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
509 * testsuite/21_strings/compare.cc (test01): Add using declarations.
511 * include/c_std/bits/std_cerrno.h: And here.
512 * include/c_std/bits/std_cassert.h: Tweaks.
514 * mkcheck.in: Simplify.
516 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
517 (GLIBCPP_ENABLE_LONG_LONG): Same.
518 * aclocal.m4: Regenerate.
520 * src/Makefile.am (c_shadow_headers): Add features.h,
521 bits/wrap_features.h.
522 * src/Makefile.in: Regenerate.
523 * include/c_std/features.h: New file.
524 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
525 file. Need to have c++config.h included before this file so
526 _ISOC99_SOURCE around.
528 * include/c_std/sys/cdefs.h: Hack.
529 * include/c_std/stdlib.h: Same, use c++config.h.
530 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
532 * include/c_std/bits/std_cassert.h: Fix.
533 * include/c_std/bits/std_cerrno.h: Make consistent.
535 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
536 declaration from ::_C_legacy to _C_legacy.
538 * include/c_std/bits/std_cstdio.h: same with printf.
539 * include/c_std/stdio.h: And here.
541 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
542 * include/c_std/stdlib.h: Same here.
544 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
546 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
547 * aclocal.m4: Regenerate.
548 * configure.in: Use it.
549 * configure: Regenerate.
550 * src/complexl.cc: Fixup.
551 * include/c_std/bits/std_cmath.h: Fixup.
552 * include/c/bits/std_cmath.h: Fixup.
553 * docs/configopts.html: Add docs.
555 * docs/links.html: Add links to defects list, standards FAQ.
557 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
558 with string creation that allocate huge ammounts of memory.
560 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
563 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
565 * libsupc++/exception.cc: Use namespace std.
566 * libsupc++/new: DITTO.
567 * libsupc++/new_op.cc: DITTO.
568 * libsupc++/new_opnt.cc: DITTO.
569 * libsupc++/new_opv.cc: DITTO.
570 * libsupc++/new_opvnt.cc: DITTO.
571 * libsupc++/tinfo.cc: DITTO.
572 * libsupc++/tinfo.h: DITTO.
573 * libsupc++/vec.cc: DITTO.
574 * libsupc++/Makefile.am: Blank lines removal.
576 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
578 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
579 docs/17_intro/howto.html, docs/18_support/howto.html,
580 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
581 docs/21_strings/howto.html, docs/22_locale/howto.html,
582 docs/23_containers/howto.html, docs/24_iterators/howto.html,
583 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
584 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
585 Remove many EGCS references; use current absolute URLs on
586 gcc.gnu.org or sources.redhat.com for messages in list archives.
587 * docs/faq/index.txt: Regenerate.
589 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
591 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
592 creation of state_type for unicode_codecvt to take into account
593 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
594 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
595 * include/bits/codecvt.h (__enc_traits): Add support for encodings
596 that need a byte order marker. Needed for correct unicode support.
598 * src/locale.cc: Remove explicit qualification std::.
599 (locale::locale(const char* __name)): Revert, as named locale
600 support not finished.
601 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
602 size_t __refs, bool __has_name = false, string __name): Move
604 * include/bits/localefwd.h: Here.
606 2000-10-18 Chip Salzenberg <chip@valinux.com>
608 * libio/libio.h (_IO_USER_LOCK): Define.
610 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
612 * libsupc++/Makefile.am (exception): Change exception.cc to
613 exception_support.cc.
614 (CXXLINK): Remove bogus --tag CC.
615 * libsupc++/Makefile.in: Regenerate.
616 * libsupc++/exception.cc: Move to...
617 * libsupc++/exception_support.cc: ...here.
619 * src/Makefile.am: Remove bogus --tag CC.
620 * src/Makefile.in: Regenerate.
622 * include/bits/locale_facets.tcc (use_facet): Simplify.
623 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
624 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
625 (use_facet<ctype<wchar_t> >): Same.
626 * src/locale-inst.cc: Remove explicit instantiation.
627 * src/locale.cc: Correct signature here too.
628 (_Bad_use_facet::what()): Correct error string.
629 * include/bits/localefwd.h: Correct comment.
631 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
633 2000-10-17 Martin Buchholz <martin@xemacs.org>
635 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
636 * testsuite/27_io/ostream_seeks.cc: Similarly.
638 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
640 via Alexandre Oliva <aoliva@redhat.com>
641 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
642 * libsupc++/Makefile.in: Regenerate.
643 * src/Makefile.am: Duplicate code.
644 * src/Makefile.in: Regenerate.
646 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
647 * aclocal.m4: Regenerate.
648 * configure.in: And here.
649 * configure: Regenerate.
651 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
652 test for SECTION_LDFLAGS.
654 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
656 Shadow headers would work if libsupc++ was strict about namespaces.
657 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
658 * include/c_std/assert.h: Add guards.
659 * include/c_std/bits/std_climits.h: Correct typo.
660 * include/c_std/ctype.h: Remove #error.
662 * libio/libioP.h: Break up extern "C" bits around includes.
663 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
665 * libio/libioP.h: Same here.
667 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
669 * include/c_std/unistd.h: Define some types only when defined in
670 the original unistd.h.
671 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
672 definition of size_t, ptrdiff_t and NULL.
673 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
675 2000-10-15 Phil Edwards <pme@sources.redhat.com>
677 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
679 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
680 Mark Harig <markh@landmark.com>
682 * src/Makefile.am (toolexeclibdir): Add support fo
683 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
684 * src/Makefile.in: Regenerate.
685 * libsupc++/Makefile.am: Same.
686 (glibcppinstalldir): Adjust.
687 * libsupc++/Makefile.in: Regenerate.
688 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
689 * Makefile.in: Regenerate.
690 * docs/configopts.html: Add descriptions of flags.
692 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
694 * libsupc++/Makefile.am: Use it.
695 * libio/Makefile.am: Use it.
696 * libmath/Makefile.am: Use it.
697 * src/Makefile.am: Use it.
698 * Makefile.am (AM_MAKEFLAGS): Remove includes.
700 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
701 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
702 * configure.in: Use it.
704 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
706 * src/Makefile.am (CXXCOMPILE): Remove.
707 * src/Makefile.in: Regenerate.
708 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
709 * libsupc++/Makefile.in: Regenerate.
711 * include/c_std/*: Merge with shadow.
712 * include/c_std/bits/*: Same.
714 * shadow: Remove directory.
715 * shadow/*: De-populate.
717 2000-10-11 Phil Edwards <pme@sources.redhat.com>
719 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
720 exception-throwing code for linker test.
721 * aclocal.m4: Regenerate.
722 * configure: Regenerate.
724 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
726 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
727 * libsupc++/include: Remove
728 * libsupc++/include/*: Move to ...
730 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
731 (glibcppinstalldir): New.
733 * src/Makefile.am (c_base_headers): New.
734 (c_shadow_headers): New
736 (myinstallheaders): Correct install issues.
737 * src/Makefile.in: Regenerate.
739 * Makefile.am (CSHADOW_INCLUDES): Simplify.
740 * Makefile.in: Regenerate.
741 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
742 * aclocal.m4: Regenerate.
743 * mkcheck.in (SRC_DIR): Use it.
745 * include/bits/std_stdexcept.h: And here.
746 * include/bits/std_ios.h: Change std_exception.h to exception.
747 * src/locale.cc: And here.
748 * src/locale-inst.cc: And here.
750 * include/bits/valarray_array.h: And here.
751 * include/bits/stl_alloc.h: And here.
752 * include/bits/stl_algobase.h: And here.
753 * include/bits/pthread_allocimpl.h: And here.
754 * include/bits/stl_construct.h: Change to std_new.h to new.
756 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
758 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
759 (headers): Remove duplicated headers.
760 (std_headers): And here.
761 * src/Makefile.in: Regenerate.
762 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
763 * libsupc++/Makefile.in: Regenerate.
764 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
765 (AM_MAKEFLAGS): And here.
766 * Makefile.in: Regenerate.
767 * include/bits/std_typeinfo.h: Remove.
768 * include/bits/std_new.h: Remove
769 * include/bits/std_exception.h: Remove.
771 * std/typeinfo: Remove.
772 * std/exception: Remove.
774 * libio/_G_config.h (__need_ptrdiff_t): Add.
776 * libsupc++/include/new: Change stddef.h to cstddef.
777 * libsupc++/tinfo.h: Change limits.h to climits.
778 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
779 renders the file uncompilable. Add copyright.
781 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
782 namespace, as it is a fundamental type.
784 2000-10-09 Richard Henderson <rth@cygnus.com>
786 * libsupc++/pure.cc: New file.
787 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
788 (sources): Add pure.cc.
789 * libsupc++/Makefile.in: Regenerate.
791 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
793 * docs/configopts.html: Edit.
795 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
796 * libio/Makefile.in: Regenerate.
797 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
798 * libmath/Makefile.in: Regenerate.
799 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
800 * libsupc++/Makefile.in: Regenerate.
802 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
803 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
804 CSHADOW_INCLUDES up here.
805 * Makefile.in: Regenerate.
806 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
808 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
809 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
810 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
811 * src/Makefile.in: Regenerate.
813 * include/c: New directory.
814 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
815 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
816 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
817 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
818 std_cwchar.h, std_cwctype.h): Add, moving from...
819 * include/bits: ...here.
820 * include/c_std: New directory.
821 * include/c_std/bits/*: Populate from...
822 * shadow: ...here. Remove directory.
824 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
826 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
827 (INCLUDES): Add glibcpp_includedir.
828 * libsupc++/Makefile.in: Regenerate.
830 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
831 * aclocal.m4: Regenerate.
832 * config/os/*/bits/os_defintes: Adjust copyright dates.
834 2000-10-08 Phil Edwards <pme@sources.redhat.com>
836 * include/bits/c++config: Include <bits/os_defines.h>
837 * config/os/aix/bits/os_defines.h: New file.
838 * config/os/bsd/bits/os_defines.h: Ditto.
839 * config/os/generic/bits/os_defines.h: Ditto.
840 * config/os/gnu-linux/bits/os_defines.h: Ditto.
841 * config/os/irix/bits/os_defines.h: Ditto.
842 * config/os/newlib/bits/os_defines.h: Ditto.
843 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
844 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
845 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
847 2000-10-07 David Edelsohn <dje@watson.ibm.com>
849 * config/os/aix/bits/atomicity.h: New file.
851 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
853 * acinclude.m4: Remove CPU_FLAGS
854 * libio/Makefile.am: Here too.
855 * Makefile.am: Here too.
857 * src/Makefile.am (CONFIG_INCLUDES): Remove.
858 (INCLUDES): Remove CONFIG_INCLUDES.
859 (cpu_headers): Remove.
860 (myinstallheaders): Remove cpu_headers.
861 (generated_headers): Rename to build_headers.
862 (build_headers): Add atomicity.h, ctype_base.h,
863 ctype_specializations.h.
865 * config/os: New directory.
866 * config/aix: Move to...
867 * config/bsd: Move to...
868 * config/generic: Move to...
869 * config/gnu-linux: Move to...
870 * config/irix: Move to...
871 * config/newlib: Move to...
872 * config/solaris: Move to...
875 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
877 * acinclude.m4: Remove CPU_FLAGS
878 * libio/Makefile.am: Here too.
879 * Makefile.am: Here too.
881 * src/Makefile.am (CONFIG_INCLUDES): Remove.
882 (INCLUDES): Remove CONFIG_INCLUDES.
883 (cpu_headers): Remove.
884 (myinstallheaders): Remove cpu_headers.
885 (generated_headers): Rename to build_headers.
886 (build_headers): Add atomicity.h, ctype_base.h,
887 ctype_specializations.h.
889 * config/os: New directory.
890 * config/aix: Move to...
891 * config/bsd: Move to...
892 * config/generic: Move to...
893 * config/gnu-linux: Move to...
894 * config/irix: Move to...
895 * config/newlib: Move to...
896 * config/solaris: Move to...
899 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
901 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
902 CONFIG_CXXFLAGS from here, and move to...
903 * src/Makefile.in: Regenerate.
904 * Makefile.am: ... here. Clean.
905 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
906 (WARN_CXXFLAGS): Same.
907 (CONFIG_CXXFLAGS): Same.
908 * Makefile.in: Regenerate.
909 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
910 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
911 * libsupc++/Makefile.in: Regenerate.
913 Change math to libmath.
914 * math: Move to libmath, delete.
915 * libmath: New directory.
916 * libmath/*: Populate.
917 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
918 (libstdc___la_LIBADD): Same.
919 * src/Makefile.in: Regenerate.
920 * configure.in: Add AC_OUTPUT for libmath/Makefile.
921 * configure: Regenerate.
922 * Makefile.am (SUBDIRS): Add libmath.
923 * Makefile.in: Regenerate.
924 * README (file): Change name.
926 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
927 Richard Henderson <rth@cygnus.com>
928 Alexandre Oliva <aoliva@redhat.com>
930 * libsupc++: New directory.
931 * libsupc++/*: Populate.
932 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
933 eh-common.h, gansidecl.h.
934 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
935 * configure: Regenerate.
936 * Makefile.am (SUBDIRS): Add libsupc++.
937 * Makefile.in: Regenerate.
938 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
939 * src/Makefile.in: Regenerate.
940 * libio/Makefile.am: Remove extraneous, confusing bits.
941 * libio/Makefile.in: Regenerate.
943 2000-10-05 Brent Verner <brent@rcfile.org>
945 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
946 test for _M_gcount < in_avail(), as in_avail() only reports info
947 for current buffer, causing method to return at end of buffer.
948 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
949 * testsuite/27_io/istream_unformatted-3.txt: New file.
950 * testsuite/27_io/istream_unformatted-3.tst: New file.
952 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
954 * README (file): Adjust directory structures.
955 * mkcheck.in (INC_PATH): Adjust for header changes.
957 2000-10-05 Phil Edwards <pme@sources.redhat.com>
959 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
960 for public relations purposes.
961 * aclocal.m4: Regenerated.
962 * configure: Regenerated.
964 * docs/ext/howto.html: Additional explanation about hashing.
966 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
968 * include: New directory.
969 * include/backward: New directory.
970 * include/bits: New directory.
971 * include/ext: New directory.
972 * include/std: New directory.
973 * include/*/*: Populate.
975 * backwards: Move to include/backwards, delete.
976 * bits: Move to include/bits, delete.
977 * ext: Move to include/ext, delete.
978 * std: Move to include/std, delete.
980 * src/complex.cc: Adjust include of mathconf.
982 * mkc++config (BASE_H): Add include.
984 * src/Makefile.am: Support for topleve sources include directory.
985 (INCLUDES): Add LIBMATH_INCLUDE.
986 * src/Makefile.in: Regenerate.
987 * math/Makefile.am (INCLUDES): Append /include.
988 * math/Makefile.in: Regenerate.
989 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
990 * libio/Makefile.in: Regenerate.
992 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
994 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
996 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
998 * docs/22_locale/howto.html: Add link to proto-documentation on
1000 * docs/documentation.html: Rename links for clarity.
1002 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1003 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1004 * src/Makefile.in: Regenerate.
1006 2000-10-02 Steven King <sxking@uswest.net>
1008 * mkcshadow: Fixed script to output proper include guard.
1009 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1010 * libio/_G_config.h: Hacked to make work with shadow heraders.
1011 * shadow/*: Hacked to make shadow headers work.
1013 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1015 Self-compile with shadow headers.
1016 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1017 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1018 it becomes the default way the library is built.
1019 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1020 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1021 * config/gnu-linux/ctype.cc (ctype): Use it.
1023 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1025 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1026 memset. This should not be necessary, but an ambiguous overload
1029 * shadow/bits/std_cwchar.h: Fix.
1030 * shadow/wchar.h: Fix.
1032 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1033 enums into namespace std:: for ctype_base enum. Other OS types
1034 will have to do this as well.
1035 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1036 namespace std, in particular __ctype_toupper, __ctype_tolower,
1039 * shadow/iolibio.h: New file.
1040 * shadow/bits/wrap_iolibio.h: New file.
1041 * shadow/libioP.h: New file.
1042 * shadow/bits/wrap_libioP.h: New file.
1043 * shadow/bits/wrap_fcntl.h: New file.
1044 * shadow/fcntl.h: New file.
1045 * shadow/iconv.h: New file. Inject iconv names into the global
1046 namespace, unmangled for the moment.
1047 * shadow/bits/wrap_iconv.h: New file.
1048 * shadow/unistd.h: Remove. Useless.
1049 * shadow/bits/wrap_unistd.h: Remove.
1051 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1052 * src/Makefile.in: Regenerate.
1054 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1056 * shadow/libio.h: Fix.
1057 * shadow/bits/wrap_libio.h: Fix.
1059 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1060 which will not compile.
1061 * shadow/bits/std_ctime.h: Same.
1063 * shadow/pthread.h: New file. Put pthreads types and functions
1064 into global scope, which is probably not the correct long-term
1065 solution but has to be done at the moment before libio wrappers
1066 can even be started.
1067 * shadow/bits/wrap_pthread.h: New file.
1069 * bits/std_ios.h: Formatting tweak.
1070 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1072 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1073 tests for compiler features.
1074 * aclocal.m4: Regenerate.
1075 * configure: Regenerate.
1077 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1079 * libio/libioP.h: Comment out fcntl.h include.
1081 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1083 * bits/c++config: Define _ISOC99_SOURCE.
1085 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1086 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1087 * aclocal.m4: Regenerate.
1088 * configure: Regenerate.
1089 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1090 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1091 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1092 std or shadow directories.
1093 (LTCXXCOMPILE): Same.
1094 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1095 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1096 * src/Makefile.in: Regenerate.
1098 * src/complex.cc (FCT): Change ::name to name.
1099 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1100 * src/complexf.cc (FCT): Same.
1102 * src/complexf.cc: Remove FCT define, as things are properly
1103 overloaded in the std namespace with the shadow headers.
1104 * src/complexl.cc: Same.
1105 * src/complex.cc: Same.
1107 2000-09-25 Phil Edwards <pme@sources.redhat.com>
1109 * docs/documentation.html: Add link to...
1110 * docs/ext/howto.html: ...this. New dir/file, describing library
1111 extensions (both ours and SGI's).
1112 * docs/faq/index.html: Small updates.
1113 * docs/faq/index.txt: Regenerate.
1115 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1117 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1119 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1121 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1123 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1125 * src/localename.cc (locale::_Imp) : Remove typedefs.
1126 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
1127 __f): Consistency check, call _Imp ctor with reference argument
1129 * bits/localefwd.h: Change _S_num_categories to
1130 _S_categories_num. Add new data member, _S_facets_num, which is
1131 the number of standard facets.
1133 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1135 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1137 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1139 * docs/thanks.html: More thanks.
1140 * docs/18_support/howto.html: Fix thinko.
1141 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1142 Redo the string transformation notes and link to...
1143 * docs/22_locale/howto.html: ...here.
1145 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1147 * src/locale-inst.cc: Add time_put_byname and
1148 time_get_byname instantiations.
1149 * bits/locale_facets.h: Correct default, private derivation to
1150 public derivation in _byname declarations.
1151 * src/locale.cc (locale::classic()): Simplify.
1152 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1153 const string& __name, category __cat, size_t __refs): Re-work for
1155 (_M_normalize_category_names): Remove.
1157 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1158 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1160 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1162 * bits/std_bitset.h (operator>>): Change to char_type.
1164 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1166 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1167 name setting. Add checks for NULL __name pointers. Remove calls to
1168 _S_initialize() as initial locale initialization can either be
1169 assumed, or needs to be made consistent throughout locale
1171 (locale::locale(const locale& __other, const char* __name,
1172 category __cat): Add checks for NULL name. Add checks for
1174 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1175 const string& __name, category __cat, size_t __refs)): Set correct
1176 name, has_name values.
1177 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1178 * docs/22_locale/locale.html: New file, more unfinished docs...
1180 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1182 * src/locale.cc (locale::name()): Implement.
1183 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1184 string __name = "*")): Change signature.
1185 (locale::classic): Initialize the "C" locale as a named locale.
1186 * bits/localefwd.h (locale): Change _M_num_references to
1187 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1189 * bits/localefwd.h: Tweaks.
1190 * src/localename.cc: Tweaks.
1191 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1194 * bits/basic_string.h: Consistency check, change _M_state ->
1197 2000-09-14 Brendan Kehoe <brendan@zen.org>
1199 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1202 * src/Makefile.an (headers): Also install backward/fstream.h.
1203 * src/Makefile.in: Regenerate.
1205 * bits/char_traits.h (char_traits<_CharT>::get_state,
1206 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1207 argument in by reference, not by value. Uglify to _S_get_state.
1208 (char_traits<*>::__eos): Uglify to _S_eos.
1209 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1210 Change __eos to _S_eos.
1212 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1214 * testsuite/22_locale/static_members.cc: New file.
1215 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1216 * src/locale.cc: Minor formatting tweaks.
1218 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1220 * testsuite/22_locale/global_templates.cc (test01): Add negative
1221 tests for use_facet.
1223 * bits/localefwd.h (locale::operator()): Minor tweaks.
1224 * bits/locale_facets.tcc (locale::operator()): Same.
1225 * testsuite/22_locale/operators.cc: New file.
1227 * testsuite/22_locale/facet.cc (output_iterator): Remove
1228 gnu_input_iterator, gnu_output_iterator.
1230 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1232 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1233 * aclocal.m4: Regenerate.
1234 * configure: Regenerate.
1236 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
1237 snapshot release soon.
1238 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
1239 is pretty much assumed.
1241 * testsuite/22_locale/global_templates.cc: New file. Add tests for
1242 use_facet and has_facet.
1244 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
1245 Modify/correct iconv signatures for glibc2.2.
1247 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
1249 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
1252 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1254 * bits/localefwd.h (locale::_Impl): Scope out types to public.
1255 (locale): Make _Impl declaration public.
1257 2000-09-08 Felix Natter <fnatter@gmx.net>
1259 * docs/17_intro/porting-howto.html: New version.
1261 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1263 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
1265 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
1266 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
1268 2000-09-07 Phil Edwards <pme@sources.redhat.com>
1270 Add bits for --enable-maintainer-mode:
1271 - turns on enable_debug
1272 (doing "--enable-maint --disable-debug" will DTRT)
1273 - turns on -Werror, now off by default
1274 * acinclude.m4: Add bits.
1275 * aclocal.m4: Regenerate.
1276 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
1277 * configure: Regenerate.
1279 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
1281 * bits/std_cwctype.h: Remove yesterday's hacks.
1283 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
1285 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
1286 * testsuite/23_containers/set_operators.cc: New file. Should not
1288 * testsuite/23_containers/map_operators.cc: New file. Ditto.
1290 2000-09-06 Richard Henderson <rth@cygnus.com>
1291 Benjamin Kosnik <bkoz@cygnus.com>
1293 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
1294 * aclocal.m4: Regenerate.
1295 * configure: Regenerate.
1296 * config/cpu/ia64: New directory.
1297 * config/cpu/ia64/bits: New directory.
1298 * config/cpu/ia64/bits/atomicity.h: New file.
1300 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1302 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
1303 to no, so that libstdc++-v3's libio will be built on glibc-2.2
1305 * aclocal.m4: Regenerate.
1306 * configure: Regenerate.
1307 * */Makefile.in: Regenerate.
1309 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
1310 glibc 2.1.x unsigned errors. Or disable -Werror by default...
1312 * testsuite/23_containers/vector_element_access.cc: New file.
1313 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
1315 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
1317 * bits/string.tcc: Fix up more parameter names.
1319 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1321 * configure: Rebuilt with new libtool.m4.
1323 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
1325 * src/locale-inst.cc: Remove pre-instantiation of unicode
1326 codecvt types. Now unnecessary, as locale header now correct.
1328 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
1330 * bits/locale_facets.tcc (_S_build_float_format): Move ...
1331 * src/locale.cc: Here.
1332 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
1333 definition. Move specialization to ...
1334 * src/locale.cc: Here.
1335 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
1336 * src/locale.cc: Here.
1337 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
1338 * src/locale.cc: Here.
1340 * bits/std_locale.h: Note that locale_facets.tcc should be
1341 included here, for standards conformance. It may increase
1342 compile times though. For the time being, enable.
1343 * testsuite/22_locale/facet.cc: New file, some parts commented out
1346 * mkcheck.in: Append total time to test summary file.
1348 * bits/sbuf_iter.h : Formatting tweaks.
1350 Clean up static const data member definitions.
1351 * src/locale.cc: Add definitions for all missing locale,
1352 locale::_Imp, and locale::id static data members.
1353 (ctype<char>): Add table_size define.
1354 (money_base): Add _S_default_pattern, uglify.
1355 * bits/localefwd.h: Add definitions for static members of _Count_ones.
1356 * bits/locale_facets.h: Tweaks.
1357 * bits/locale_facets.tcc: Tweaks.
1358 * bits/string.tcc: Add definition for npos.
1359 * bits/ios_base.h: Tweaks.
1360 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
1362 * src/ios.cc: And here. Add _S_local_words definition.
1363 Add definitions for __ios_flags const static data.
1364 * src/codecvt.cc: Same for __enc_traits.
1365 * src/locale-inst.cc: Remove money_base data member definition
1368 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
1370 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
1372 * docs/22_locale/codecvt.html: Re-number.
1373 * docs/22_locale/howto.html: Add entry for ctype
1374 documentation. Add entry for Nathan's introduction to locales
1376 * docs/22_locale/ctype.html: New file. In progress...
1378 * docs/22_locale/codecvt.html: Formatting cleanups.
1379 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
1381 2000-08-30 Phil Edwards <pme@sources.redhat.com>
1383 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
1384 tweaks for certain browsers.
1386 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
1388 * bits/locale_facets.h (ctype<char>): Remove __table_type.
1389 Add include for bits/std_cwctype.h, for wctype_t.
1390 * src/locale.cc (ctype<wchar_t>): Implement.
1391 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
1392 typedef, instead name enum.
1393 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
1394 * config/gnu-linux/ctype.cc: Tweak.
1395 * testsuite/22_locale/ctype.cc: Tweak.
1397 * bits/codecvt.h (__enc_traits): Uglify names.
1399 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1401 * docs/22_locale/codecvt.html: Add more bits, format.
1402 * bits/codecvt.h: Add copy ctor, rename types.
1403 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
1405 * libio/iofwide.c: Tweak.
1407 2000-08-28 Phil Edwards <pme@sources.redhat.com>
1409 * docs/configopts.html: Mention new options.
1410 * docs/install.html: Formatting changes for platform-specific
1411 pre-reqs, previously only Cygwin.
1412 * docs/mail.html: Fix new link.
1413 * docs/thanks.html: A couple more people.
1414 * docs/26_numerics/howto.html: Fix typo.
1416 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1418 * docs/22_locale/howto.html: Add notes on codecvt implementation.
1419 * docs/22_locale/codecvt.html: New file. In progress.
1421 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1423 * acconfig.h: Revert.
1424 * acinclude.m4: Revert.
1425 * libio/_G_config.h: Revert.
1426 * libio/libio.h: Revert.
1428 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1430 * bits/codecvt.h: Tweaks.
1431 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
1432 initial string literals for UCS4.
1434 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
1436 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
1437 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
1438 definition as well, and some minor spelling/spacing fixes. If
1439 building libio, check for certain typedefs.
1440 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
1441 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
1442 will never be there.
1443 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
1444 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
1446 * configure.in: Update the cache a bit more often.
1448 * mkcheck.in: For check-install, also need to -I the testsuite dir.
1450 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1452 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
1453 __enc_traits> instantiations for has_facet and use_facet.
1454 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
1455 testing two-byte unicode encodings converted to four-byte UCS4
1458 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
1459 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
1460 correct state/encoding information.
1462 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
1463 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
1465 Add checks for langinfo.h, nl_langinfo function call.
1466 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
1468 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
1470 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
1471 ((unused)) to __attribute__ ((__unused__)).
1472 * config/cpu/arm/bits/atomicity.h: Same.
1473 * config/cpu/generic/bits/atomicity.h: Same.
1474 * config/cpu/i386/bits/atomicity.h: Same.
1475 * config/cpu/i486/bits/atomicity.h: Same.
1476 * config/cpu/powerpc/bits/atomicity.h: Same.
1477 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
1478 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
1480 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
1482 * bits/basic_string.h: Fix up parameter names.
1484 2000-08-22 Brent Verner <brent@rcfile.org>
1486 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
1488 * src/Makefile.in: Regenerate.
1490 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1492 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
1493 up __enc_traits template so as to be marginally useful.
1494 * src/codecvt.cc: And here.
1495 * bits/char_traits: Tweak.
1496 * bits/locale_facets.h: Tweak.
1497 * bits/locale_facets.tcc: Tweak.
1498 * bits/localefwd.h: Tweak.
1499 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
1500 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
1501 * testsuite/22_locale/codecvt_char_char.cc: New file.
1502 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
1504 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1506 * bits/std_cmath.h (std::abs): Overload for int and long.
1508 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
1510 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
1512 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
1514 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
1515 thinko. Diagnostic messages really need to be improved for
1516 template argument deduction.
1518 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
1520 * bits/valarray_meta.h: Fix typos...
1522 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1524 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
1525 _Expr<>::apply): Implement.
1527 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1529 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
1531 * bits/valarray_array.h (__valarray_min, __valarray_max): New
1534 2000-08-17 Mark Mitchell <mark@codesourcery.com>
1536 * bits/localefwd.h (std::locale): Use explicit `class' specified
1537 when declaring friends.
1538 * bits/std_fstream.h (std::basic_filebuf): Likewise.
1540 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
1542 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
1543 * src/Makefile.in: Regenerate.
1545 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1547 * bits/codecvt.h: New file.
1548 * src/codecvt.cc: New file.
1549 * bits/std_locale.h: Add include here.
1550 * src/Makefile.am (headers): Add codecvt.h
1551 (sources): Add codecvt.cc.
1552 * src/Makefile.in: Regenerate.
1553 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
1554 __codecvt_abstract_base in an attempt to point some light this way...
1555 Move __enc_traits and codecvt bits to codecvt.h.
1556 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
1557 explicit instantiation. Separate out codecvt instantations, simplify.
1558 * src/locale.cc: Move codecvt bits to codecvt.cc
1560 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
1562 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
1563 * src/Makefile.in: Regenerate.
1565 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1567 C/C++ io merge/sync.
1578 * config/c_io_libio.cc (__basic_file): Add hacky casts to
1579 ((struct _IO_FILE_plus *) in ctors.
1580 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
1581 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
1582 * libio/cleanup.c: Remove.
1583 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
1584 _IO_cleanup_registration_needed, even if not libc.
1586 * testsuite/27_io/stringstream.cc (test02): Fix.
1588 2000-08-14 Brent Verner <brent@rcfile.org>
1590 * testsuite/debug_assert.h: new file
1591 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
1592 changed conditional #include <c?assert.?h?> to
1593 unconditional #include <debug_assert.h>
1594 * mkcheck.in: added $SRC_DIR/testsuite to include search path
1595 for testsuite compile command.
1597 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
1599 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
1600 wofstream, filebuf, wfilebuf, fstream, wfstream.
1601 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
1602 * bits/std_sstream.h: Same for stringstream and wstringstream.
1603 Same for stringbuf, wstringbuf, istringstream, wistringstream,
1604 ostringstream, wostringstream.
1606 * testsuite/26_numerics/valarray.cc: Add test.
1608 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1610 * configure: Regenerate after change to ../libtool.m4.
1612 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1614 * bits/locale_facets.tcc: Formatting tweaks.
1615 * bits/locale_facets.h (__enc_traits): Start integrating this
1616 into codecvt, ctype. Formatting tweaks.
1618 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1620 Preliminary wchar_t implementation, with trivial encodings.
1621 * docs/configopts.html: Add bits about canonical configure option
1624 * testsuite/27_io/iostream_objects.cc: Replace this file (which
1625 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
1626 * testsuite/27_io/narrow_stream_objects.cc: New file.
1627 * testsuite/27_io/wide_stream_objects.cc: New file.
1629 * bits/fstream.tcc (underflow): Temporarily hack a solution
1630 together that writes from the external file to the internal
1631 buffers. This removes codecvt from the loop, and is incorrect.
1632 (_M_really_overflow): Same here.
1634 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
1636 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
1637 Ulrich Drepper <drepper@cygnus.com>
1639 * config/c_io_libio.h: Tweak.
1640 * config/c_io_libio_codecvt.c: New file.
1641 * libio/Makefile.am: Add c_codecvt.c.
1642 * libio/Makefile.in: Regenerate.
1643 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
1644 stream is not orientated.
1646 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
1647 encoding gets fleshed out.
1649 * bits/basic_file.h: Add specialization declarations.
1650 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
1652 * config/c_io_libio.h: Add __c_wfile_type.
1653 * bits/basic_file.h: Add _M_wfile.
1655 * config/c_io_libio.cc (__basic_file<char>): Initialize the
1656 streams without setting the orientation of the underlying FILE to
1657 either wide or narrow.
1658 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
1660 2000-08-07 Felix Natter <fnatter@gmx.net>
1662 * docs/17_intro/porting-howto.html: New version.
1664 2000-08-03 Mark Mitchell <mark@codesourcery.com>
1666 * bits/locale_facets.h (ctype::ctype): Don't name unused
1669 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1671 * docs/install.html: Edit bits about requiring a special version
1674 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
1676 * libio/fileops.cc: Update to current glibc sources.
1677 * libio/genops.c: Same.
1678 * libio/iofwide.c: Same.
1679 * libio/libio.h: Same.
1680 * libio/libioP.h: Same.
1681 * libio/wfiledoalloc.c: Same.
1682 * libio/wgenops.c: Same.
1684 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
1686 * acinclude.m4: Include ../libtool.m4.
1687 * aclocal.m4, configure: Rebuilt.
1689 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
1691 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
1692 before trying to use any of its options.
1693 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
1694 * aclocal.m4: Regenerate.
1695 * configure.in: Having found GNU make, name it.
1696 * configure: Regenerate.
1697 * docs/install.html: Mention possible problems with caching.
1698 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
1699 * src/Makefile.in: Regenerate.
1700 * libio/Makefile.in: Regenerate.
1701 * math/Makefile.in: Regenerate.
1702 * Makefile.in: Regenerate.
1704 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1706 * src/misc-inst.cc (std): Remove instantiations.
1708 * acinclude.m4: Add forward-looking bits for autoconf.
1709 * aclocal.m4: Regenerate.
1711 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
1713 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
1715 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
1716 it back for current versions of maintainer-tools...
1717 * acinclude.m4: Some cleanups...
1718 * aclocal: Regenerated.
1719 * configure: Regenerated.
1721 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
1722 optimizing/adapting the hash table using GNU ld.
1723 * src/Makefile.in: Regenerate.
1725 2000-07-24 H.J. Lu <hjl@gnu.org>
1727 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
1728 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
1729 files don't include private libio header files needed by
1731 * src/Makefile.in: Rebuild.
1733 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1735 * bits/std_fstream.h: Parameterize __basic_file.
1736 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
1737 * bits/basic_file.h: Same here.
1739 * bits/istream.tcc (getline): Tweaks.
1741 * bits/fstream.tcc: Shorten __retval to __ret.
1742 * bits/ostream.tcc: Same.
1743 * bits/sbuf_iter.h: Same.
1744 * bits/sstream.tcc: Same.
1745 * bits/streambuf.tcc: Same.
1746 * bits/std_fstream.h: Same.
1747 * src/string-inst.cc: Same.
1749 * config/c_io_libio.cc: Same.
1750 * bits/string.tcc: Same.
1751 * bits/std_streambuf.h: Same.
1753 2000-07-23 Brent Verner <brent@rcfile.org>
1755 * bits/istream.tcc: istream::getline(char_type*, streamsize,
1756 char_type) make compliant
1757 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
1759 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1761 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
1762 and srcdir used to define CSHADOW_INCLUDES..
1764 * configure.in: For consistency, change .sanity_warned to
1765 stamp-sanity-warned.
1767 * acinclude.m4: Tweak formatting.
1768 * Makefile.am (check): Call mkcheck with full pathname for build
1770 (check-install): And here.
1771 * Makefile.in: Regenerate.
1773 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
1775 Line up with libstdc++-v2 version of valarray.
1776 * bits/valarray_array.h (__valarray_product): Make inline.
1777 * src/valarray-inst.cc (__valarray_product): Remove explicit
1780 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1782 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
1785 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
1786 Change return type to void.
1787 * testsuite/25_algorithms/lower_bound.cc: Add return values.
1788 * testsuite/17_intro/header_ciso646.cc: Modify.
1789 * bits/locale_facets.h: Add return values for the generic cases.
1791 2000-07-21 H.J. Lu (hjl@gnu.org)
1793 * acinclude.m4: Include <features.h> for glibc testing.
1794 * aclocal.m4: Likewise.
1796 * configure: Rebuild.
1798 2000-07-20 H.J. Lu (hjl@gnu.org)
1800 * acinclude.m4: Change "#pragma system_header" to
1801 "#pragma GCC system_header".
1802 * aclocal.m4: Likewise.
1803 * bits/std_cmath.h: Likewise.
1804 * bits/std_cassert.h: Likewise.
1805 * bits/std_cctype.h: Likewise.
1806 * bits/std_cerrno.h: Likewise.
1807 * bits/std_cfloat.h: Likewise.
1808 * bits/std_climits.h: Likewise.
1809 * bits/std_clocale.h: Likewise.
1810 * bits/std_cwchar.h: Likewise.
1811 * bits/std_csetjmp.h: Likewise.
1812 * bits/std_csignal.h: Likewise.
1813 * bits/std_cstdarg.h: Likewise.
1814 * bits/std_cstddef.h: Likewise.
1815 * bits/std_cstdio.h: Likewise.
1816 * bits/std_cstdlib.h: Likewise.
1817 * bits/std_cstring.h: Likewise.
1818 * bits/std_ctime.h: Likewise.
1819 * bits/std_cwctype.h: Likewise.
1820 * bits/std_exception.h: Likewise.
1821 * bits/std_new.h: Likewise.
1822 * bits/std_typeinfo.h: Likewise.
1823 * shadow/bits/std_cassert.h: Likewise.
1824 * shadow/bits/std_cctype.h: Likewise.
1825 * shadow/bits/std_cerrno.h: Likewise.
1826 * shadow/bits/std_cfloat.h: Likewise.
1827 * shadow/bits/std_climits.h: Likewise.
1828 * shadow/bits/std_clocale.h: Likewise.
1829 * shadow/bits/std_cmath.h: Likewise.
1830 * shadow/bits/std_csetjmp.h: Likewise.
1831 * shadow/bits/std_csignal.h: Likewise.
1832 * shadow/bits/std_cstdarg.h: Likewise.
1833 * shadow/bits/std_cstddef.h: Likewise.
1834 * shadow/bits/std_cstdio.h: Likewise.
1835 * shadow/bits/std_cstdlib.h: Likewise.
1836 * shadow/bits/std_cstring.h: Likewise.
1837 * shadow/bits/std_ctime.h: Likewise.
1838 * shadow/bits/std_cwchar.h: Likewise.
1839 * shadow/bits/std_cwctype.h: Likewise.
1840 * shadow/bits/wrap_libio.h: Likewise.
1841 * shadow/bits/wrap_unistd.h: Likewise.
1842 * shadow/sys/cdefs.h: Likewise.
1844 * configure: Rebuild.
1846 2000-07-20 Jakub Jelinek <jakub@redhat.com>
1848 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
1849 Use extended word instructions to match 64bit _Atomic_word.
1850 (__atomic_add): Likewise.
1851 * math/clog10l.c (clog10l): Use M_PIl if defined.
1852 * math/c_logl.c (c_logl): Likewise.
1853 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
1854 * math/mathconf.h (ieee_quad_double_shape_type): New type.
1855 (GET_LDOUBLE_MSW64): New define.
1857 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
1859 * bits/std_streambuf.h: Add bits for pback buffers here, so that
1860 in_avail, etc can use them.
1861 * bits/std_fstream.h: Ditto.
1862 * bits/fstream.tcc: Ditto.
1863 * testsuite/27_io/filebuf.cc: Tweaks.
1864 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
1866 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
1868 * src/localename.cc: Same.
1869 * src/locale.cc: Same.
1870 * bits/localefwd.h: _M_init_facet to _M_facet_init.
1872 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
1874 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
1876 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
1877 * bits/std_fstream.h: Same.
1879 * bits/basic_string.h: Tweaks.
1881 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
1883 * docs/18_support/howto.html: Update.
1885 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
1887 Internal consistency checks.....
1888 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
1891 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
1892 * bits/basic_ios.tcc: Same.
1894 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
1895 Change _M_fctype_buf to _M_buf_fctype.
1896 * bits/fstream.tcc: Same.
1898 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
1899 Change _M_locale_set to _M_buf_locale_init.
1900 * bits/streambuf.tcc: Same.
1901 * bits/sstream.tcc: Same.
1902 * bits/fstream.tcc: Same.
1904 * bits/std_streambuf.h: Make typedefs consistent.
1905 (_M_buf_bump): Be more careful with input sequence.
1907 * bits/std_sstream.h: Same.
1908 * bits/std_fstream.h: Same.
1910 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1912 * acinclude.m4: Tweaks.
1913 * config/c_io_libio.cc: Tweaks.
1914 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
1915 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
1916 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
1917 * libio/iofclose.c iofopen.c, stdio.c: New files.
1918 * libio/Makefile.am: Add files, add flags, etc.
1919 * src/Makefile.am (sources): Add filebuf.cc.
1920 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
1921 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
1923 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
1925 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
1926 * configure.in: Use it. Also print reminders one time.
1927 * aclocal.m4: Regenerate.
1928 * configure: Regenerate.
1930 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
1932 * bits/valarray_array.h (__valarray_get_storage): New function.
1933 (_Array<>::Array): Use it.
1934 * bits/std_valarray.h (valarray<>::valarray): Likewise.
1935 (valarray<>::resize): Likewise. Tweak.
1936 * src/valarray-inst.cc (__valarray_product): Tweak.
1938 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
1940 * docs: Update sourceware->sources in every HTML file. Minor updates.
1942 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
1944 Clean up configure/build longstanding issues.
1945 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
1946 (CXXLINK): Add here, instead.
1948 * Makefile.am (check-install): Make sure mkcheck has execute privs.
1950 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
1952 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
1953 c_io_libio.cc instead of copying.
1954 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
1956 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
1957 c++threads.h instead of copying.
1958 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
1961 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
1962 * bits/basic_file.h: Declare.
1964 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
1966 2000-07-07 brent verner <brent@rcfile.org>
1968 * testsuite/27_io/istream_unformatted.cc (test05): New test.
1970 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
1972 * bits/istream.tcc (istream::getline): Minor tweaks.
1974 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
1976 * docs/download.html: Mention gcc_update.
1977 * docs/configopts.html: Minor updates.
1978 * docs/gccrebuild.html: Ditto.
1979 * docs/18_support/howto.html: More tips, explanations, and reminders.
1980 * docs/19_diagnostics/howto.html: Ditto.
1981 * docs/21_strings/howto.html: Ditto.
1982 * docs/24_iterators/howto.html: Ditto.
1983 * docs/25_algorithms/howto.html: Ditto.
1984 * docs/26_numerics/howto.html: Ditto.
1986 2000-07-05 brent verner <brent@rcfile.org>
1988 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
1989 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
1990 * config/c_io_libio.cc (__basic_file::open): Unset
1991 ~_IO_DELETE_DONT_CLOSE.
1993 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
1995 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
1996 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
1997 Do not paste anything after 'operator' keyword.
1999 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2001 * bits/std_memory.h: Revert.
2003 2000-07-03 Brendan Kehoe <brendan@zen.org>
2005 * bits/std_complex.h: Fix parens. Format.
2007 2000-07-03 scott snyder <snyder@fnal.gov>
2009 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2010 from the input if base == 0.
2011 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2012 number with a leading `0' in hex mode.
2014 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2016 * mkinclosure: Change `==' to `=' in test.
2018 2000-07-03 Chip Salzenberg <chip@valinux.com>
2020 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2022 * src/Makefile.in: Regenerate.
2024 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2025 Ulrich Drepper <drepper@purist.soma.redhat.com>
2027 Sync libio to glibc-2.2 current CVS.
2028 * libio/_G_config.h: New file.
2029 * libio/wfileops.c: New file.
2030 * libio/wfiledoalloc.c: New file.
2031 * libio/wgenops.c: New file.
2032 * libio/iofwide.c: New file.
2033 * libio/Makefile.am: Tweaks.
2034 * libio/Makefile.in: Regenerate.
2035 * libio/gen-params: Remove. Generic replacement for this yet undone.
2036 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2037 libioP.h, stdfiles.c]: Update.
2038 * config/c_io_libio.cc: Tweaks.
2039 * acinclude.m4: Complete hacks to test wide io.
2040 * aclocal.m4: Regenerate.
2041 * configure: Regenerate.
2042 * src/Makefile.am: Update.
2043 * src/Makefile.in: Regenerate.
2045 * math/cargl.c: Remove underscores.
2047 * bits/locale_facets.h: Tweaks. Start adding iconv details
2049 * bits/locale_facets.tcc: Tweaks.
2050 * bits/std_cwchar.h: Tweaks.
2052 2000-06-29 scott snyder <snyder@fnal.gov>
2054 * bits/concept_checks.h
2055 (__less_then_comparable_requirement_violation): Only check for <.
2056 * testsuite/25_algorithms/lower_bound.cc: New file.
2058 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2060 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2061 * bits/ostream.tcc: Tweak.
2062 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2063 _M_buf_size_opt too.
2064 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2065 out _M_buf_size_opt.
2066 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
2067 _M_buf_size_opt out here.
2068 * bits/char_traits.h (char_traits::eos): Non standard member
2069 function, uglify to __eos. Return char_type().
2070 * bits/std_ostream.h: Change.
2072 * testsuite/27_io/ostream_seeks.cc: New file.
2073 * testsuite/27_io/ostream_seeks-1.tst: New file.
2074 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2076 * testsuite/27_io/istream_seeks.cc: New file.
2078 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
2080 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2081 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2082 (auto_ptr): _M_ptr changed to void*.
2083 (suto_ptr::get): Cast _M_ptr to element type.
2084 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2085 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2086 (auto_ptr::operator*): Likewise.
2087 (auto_ptr::operator->): Likewise.
2088 (auto_ptr::release): Likewise.
2089 (auto_ptr::reset): Likewise.
2090 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2091 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2092 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2093 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2095 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2097 * testsuite/27_io/filebuf.cc: Tweak.
2098 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2099 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2101 (__basic_file::basic_file): Clean, add calls similar to
2103 (__basic_file::open): Clean.
2104 (__basic_file::sys_open): Clean.
2106 * bits/std_fstream.h: Revert.
2107 * bits/fstream.tcc (filebuf::close()): Revert.
2108 (filebuf::basic_filebuf()): Revert.
2110 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2112 Update to SGI STL 3.3
2113 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2114 ext/stl_rope.h, ext/ropeimpl.h: Update.
2115 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2116 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2117 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2118 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2119 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2120 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2121 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2122 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2123 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
2125 * src/Makefile.am (headers): Add new files.
2126 * src/Makefile.in: Regenerate.
2127 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
2128 * bits/concept_checks.h: New file.
2129 * bits/container_concepts.h: New file.
2130 * bits/sequence_concepts.h: New file.
2132 2000-06-27 H.J. Lu <hjl@gnu.org>
2133 Loren J. Rittle <ljrittle@acm.org>
2135 * mkcheck.in: Add support to print standard flags needed to
2136 test g++ in build tree. Enhance command line error checking.
2138 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2140 * docs/install.html: Fix minor typo as reported.
2142 2000-06-26 Brent Verner <brent@rcfile.org>
2144 * bits/string.tcc (string::rfind): Fix.
2145 * testsuite/21_strings/rfind.cc: New file.
2147 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2149 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2151 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
2153 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2155 * mkcheck.in: Make the *.txt and *.tst files writable after
2156 copying them to $TEST_DIR.
2158 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
2159 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2160 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
2162 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2164 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2165 (basic_filebuf::close): Use it.
2166 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2168 (basic_filebuf): Add _M_fileno_based data member.
2169 As reported by brent verner <brent@rcfile.org>
2170 * testsuite/27_io/filebuf_members.cc: New file.
2171 * testsuite/27_io/filebuf_members-1.tst: New file.
2173 * bits/std_fstream.h: Formatting tweaks.
2174 * testsuite/27_io/ofstream_members.cc: New file.
2175 * testsuite/27_io/ofstream_members-1.tst: New file.
2176 * testsuite/27_io/ifstream_members.cc: New file.
2177 * testsuite/27_io/ifstream_members-1.tst: New file.
2179 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2180 Ulrich Drepper <drepper@cygnus.com>
2182 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2183 that all the freaky stuff like sincos will be around...
2185 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2187 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2189 2000-06-22 Steven King <sxking@uswest.net>
2191 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2193 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2195 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2196 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2197 link against libm and don't use -fno-builtins...
2198 * math/mathconf.h: Change up builtin macros to new schema.
2199 * bits/std_cmath.h: And here. Wheee!
2200 * shadow/bits/std_cmath.h: And here.
2201 * acconfig.h: Change up builtin macros here.
2202 * math/cosf.c: Remove.
2203 * math/fabsf.c: Likewise.
2204 * math/sinf.c: Likewise.
2205 * math/sqrtf.c: Likewise.
2206 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2207 * math/Makefile.in: Regenerate.
2209 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2211 * testsuite/21_strings/find.cc: Patch.
2213 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2215 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2216 an easy way to get at g++ without having to link in libstdc++.
2218 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2220 Fix alpha, powerpc build failures.
2221 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2222 re-write. Need to check for both proper declaration when using a
2223 c++ compiler, and "C" linkage when linking. Do both, and if both
2224 exist, then define the HAVE_* bits in config.h.
2225 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2226 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2229 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2231 * bits/string.tcc: Fix find.
2232 * testsuite/21_strings/find.cc: Patch.
2234 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2236 * docs/install.html: Update where to get automake, where to get
2238 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
2241 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2243 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
2244 Add -Werror-implicit-function-declaration instead.
2246 Regenerate with fixed maintainer-tools.
2247 * aclocal.m4: Regenerate.
2248 * configure: Regenerate.
2249 * libio/Makefile.in: Regenerate.
2250 * src/Makefile.in: Regenerate.
2252 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2254 * testsuite/27_io/istream_extractor_arith.cc: Patch.
2255 * bits/locale_factets.tcc: Tweak.
2257 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
2259 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
2260 be overridden on the command line for individual files.
2262 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2264 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
2265 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
2266 building. Use -x c++ instead, which does not attempt to link
2269 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
2270 not coring when we hit a try/throw block, which was the problem
2271 with the linker support...
2273 * docs/17_intro/contribute.html: Add bits about getting to the LWG
2275 * docs/documentation.html: Rename link to make more accurate and scary.
2276 * docs/gccrebuild.html: Edit for clarity as these are no longer
2278 * docs/install.html: Add bits about binutils for
2279 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
2281 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2282 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
2283 USE_COMPLEX_LONG_DOUBLE.
2284 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
2285 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2286 Works around irregularies in powerpc "C" compiler, but a good idea
2289 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
2290 New. Merge both old compiler bug checks for complex into this.
2292 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
2294 * testsuite/21_strings/find.cc: Empty strings can be found at all
2295 positions. Modified.
2297 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
2299 * testsuite/20_utilities: New directory.
2300 * testsuite/20_utilities/auto_ptr.cc: New file.
2302 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2304 * src/Makefile.am (string_sources): Simplify, assuming that with
2305 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
2306 hacking is not necessary.
2307 (wstring_sources): Same.
2308 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
2310 * src/string-inst.cc: Remove macro blocks.
2311 * mkcheck.in (CXX_FLAG): Add bits here.
2313 * src/string-inst.cc: Remove iostream-related string instantiations.
2314 * src/misc-inst.cc: Add here.
2316 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
2318 * aclocal.m4: Regenerate.
2319 * configure.in: Change up.
2320 * configure: Regenerate.
2322 2000-06-13 Steven King <sxking@uswest.net>
2324 * acinclude.m4: Fixup some of the builtin math tests and add tests for
2325 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
2326 * acconfig.h: Add entries for fmod*.
2328 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
2330 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
2331 Test *_MODFF not *_MODF for modf(float, float*).
2332 (modf(float, float*)): Remove reference to _C_legacy.
2334 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
2336 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
2337 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
2338 superset, and already defined at top level.
2339 * aclocal.m4: Regenerate.
2340 * configure: Regenerate.
2342 * docs/17_intro/contribute.html: Plead with people to use -cp.
2344 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
2346 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
2348 * testsuite/27_io/filebuf.cc: Changed calls to
2349 fpos<>._M_position() to implicit calls to operator streamoff().
2350 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
2351 as not needed. Revert, as part of standard.
2352 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
2353 call to numpunct<>._M_init() with overrides of the appropriate
2356 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
2357 pointers from test01, so no need to call base(), which isn't
2358 guaranteed to be implemented as iterators may themselves be pointers
2359 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
2360 _M_position() - use implicit conversion to streamoff instead
2362 2000-06-13 Thomas Holenstein <thomas@hex.ch>
2364 * bits/stl_iterator.h: Added inline to operators == to >=.
2366 2000-06-13 Brent Verner <brent@rcfile.org>
2368 * bits/streambuf.tcc: repaired _S_copy_streambufs()
2369 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
2371 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2373 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
2375 * src/locale.cc: Add cwchar include here. Remove incorrect
2376 definitions, and stub them out.
2377 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
2378 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
2379 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
2380 * config/newlib/ctype.cc: Same.
2381 * config/gnu-linux/ctype.cc: Same.
2382 * config/bsd/ctype.cc: Same.
2383 * config/aix/ctype.cc: Same.
2385 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
2387 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
2388 towupper and towlower to convert wide characters.
2390 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2392 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
2394 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
2396 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
2397 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
2398 * aclocal.m4: Regenerate.
2399 * configure: Regenerate.
2400 * math/cosf.c: New file.
2401 * math/fabsf.c: Likewise.
2402 * math/sinf.c: Likewise.
2403 * math/sqrtf.c: Likewise.
2404 * math/Makefile.am (EXTRA_DIST): Add those four files.
2405 * math/Makefile.in: Regenerate.
2407 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
2409 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
2411 2000-06-06 Steven King <sxking@uswest.net>
2413 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
2414 double and long double. Added defines for HAVE libm math functs for
2415 float and long double.
2416 * aclocal.m4: Added configure checks for builtin math funcs and libm
2417 support for float and long double versions of the math functions.
2418 * config.h.in: Added undefs for math functs.
2419 * configure: Regenerate.
2420 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
2421 _GLIBCPP_HAVE_BUILTIN_*.
2422 * bits/std_cmath.h: Added long double support. Use builtins for
2423 float, double and long if available, otherwise, use libm versions if
2424 availible, otherwise, punt.
2425 * shadow/bits/std_cmath.h: ditto
2427 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2429 * bits/locale_facets.h: Tweak.
2430 * src/locale.cc (codecvt<wchar_t>): Tweak.
2432 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
2433 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
2435 * bits/basic_string.h: Move data member up.
2436 * src/string-inst.cc: Fix instantiations.
2437 * bits/string.tcc: Fix types.
2439 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
2441 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
2443 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
2445 * bits/std_cwctype.h: Clean.
2446 * bits/std_cwchar.h: Clean, remove cruft.
2448 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
2449 for beginning iconv support.
2450 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
2452 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
2453 * bits/limits_generic.h: Remove.
2454 * src/gen-num-limits.cc: Same.
2456 * src/locale.cc: Tweaks.
2458 * bits/char_traits.h: Tweaks.
2460 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2462 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
2463 exponent, scientific formatting issues.
2464 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
2466 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
2468 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
2469 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
2471 2000-05-31 Nathan Myers <ncm@cantrip.org>
2473 * docs/thanks.html: edit own credits
2475 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2477 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
2479 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
2481 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
2483 2000-05-31 Steven King <sxking@uswest.net>
2485 * shadow/time.h: fix typo
2486 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
2487 * shadow/bits/std_cwchar.h: ditto
2488 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
2491 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
2493 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
2494 available, force --disable. Need to flesh this out; make smarter.
2495 * aclocal.m4: Regenerate.
2496 * configure: Regenerate.
2498 * mkcheck.in: Minor tweaks.
2499 * docs/download.html: Fix typo.
2501 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2503 * inclosure: Change to...
2504 * mkinclosure: This.
2506 * mkcshadow: Fix paths to bash.
2508 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
2509 * src/Makefile.in: Regnerate.
2510 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
2511 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
2512 * aclocal.m4: Regenerate.
2513 * mkcheck.in (INC_PATH): Tweak.
2515 * configure.in: Enable long long by default.
2516 * configure: Regenerate.
2518 * mkcheck.in (LIB_PATH): Revert.
2520 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
2522 * config/cpu/i486: New directory.
2523 * config/cpu/i486/bits: New directory.
2524 * config/cpu/i486/bits/atomicity.h: New file.
2525 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
2527 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
2529 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
2531 * backward/alloc.h (__default_alloc_template): Only expose
2532 implementation-specific symbol, if it exists in the
2534 * backward/iostream.h (ends): Expose symbol.
2535 * backward/strstream.h: New file.
2536 * backward/stream.h: New file.
2537 * backward/ostream.h: New file.
2538 * backward/istream.h: New file.
2539 * backward/fstream.h: New file.
2540 * backward/complex.h: New file.
2541 * backward/iomanip.h: New file.
2543 * mkcheck.in (LIB_PATH): Add -R bits.
2545 * math/carg.c (carg): Replace __atan2 with atan2.
2547 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2549 * Makefile.am (TAGS): Construct.
2550 * Makefile.in: Rengerate.
2551 * src/Makefile.am: Tweak.
2552 * src/Makefile.in: Tweak.
2553 * configure.in: Tweak.
2555 * bits/c++config.h: Rename to ...
2556 * bits/c++config: This.
2557 * mkc++config: Adjust.
2560 * m4/lc_message.m4: Merge into acinclude.m4.
2561 * m4/mathfcts.m4: Same.
2562 * m4/stringfcts.m4: Same.
2563 * acinclude.m4: Add here.
2564 * configure: Regnerate.
2566 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
2567 OPTLEVEL. Add FMTFLAGS.
2568 * aclocal.m4: Regenerate.
2569 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
2570 been disabled due to higher-level Makefiles running amuck over
2571 this bit, and add in FMTFLAGS so that formatting is clear.
2572 * src/Makefile.in: Regenerate.
2573 * configure: Regenerate.
2575 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
2578 * docs/download.html: Remove references to Cygwin-specific bits,
2579 as this can now be built natively.
2580 Update with current information.
2582 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
2584 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
2585 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
2586 enclose other tests in this macro, including future ones.
2587 * aclocal.m4: Regenerate.
2588 * configure: Regenerate.
2590 * docs/faq/index.html: Update location of libg++ FAQ.
2591 * docs/faq/index.txt: Regenerate.
2593 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2595 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
2597 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2599 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
2601 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2603 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
2604 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
2605 * aclocal.m4: Regenerate.
2606 * configure: Regenerate.
2608 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
2610 * bits/generic_shadow.h: s/swamp/legacy/
2612 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
2614 * acinclude.m4: Clean up comments on newer checks.
2615 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
2616 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
2617 * aclocal.m4: Regenerate.
2618 * configure: Regenerate.
2619 * Makefile.in: Regenerate.
2620 * libio/Makefile.in: Regenerate.
2621 * math/Makefile.in: Regenerate.
2622 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
2623 * src/Makefile.in: Regenerate.
2624 * docs/configopts.html: Document changes to --enable names.
2626 2000-05-18 Chip Salzenberg <chip@valinux.com>
2628 * bits/ostream.tcc (_S_pad_char): Function template should not be
2630 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
2631 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
2633 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
2635 * mkcshadow: Change C_Swamp to C_legacy.
2637 * shadow/bits/*: Same.
2638 s/C_Swamp/C_legacy/g
2642 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
2644 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
2646 * src/string-inst.cc (string::_S_find): Same.
2648 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
2650 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
2651 --enable-cshadow-headers. Add output messages.
2652 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
2653 underscores (like the rest of the enable options.) Add output messages.
2654 * aclocal.m4: Regenerate.
2655 * configure: Regenerate.
2656 * configure.in: Touch.
2658 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
2660 * mkcheck.in: Enable shared library testing.
2662 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
2664 * bits/std_cmath.h: fix sqrt(float)
2666 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
2668 * bits/std_cassert.h: Use system_header pragma.
2669 * bits/std_cctype.h: Likewise.
2670 * bits/std_cerrno.h: Likewise.
2671 * bits/std_cfloat.h: Likewise.
2672 * bits/std_climits.h: Likewise.
2673 * bits/std_clocale.h: Likewise.
2674 * bits/std_cmath.h: Likewise.
2675 * bits/std_csetjmp.h: Likewise.
2676 * bits/std_csignal.h: Likewise.
2677 * bits/std_cstdarg.h: Likewise.
2678 * bits/std_cstddef.h: Likewise.
2679 * bits/std_cstdio.h: Likewise.
2680 * bits/std_cstdlib.h: Likewise.
2681 * bits/std_cstring.h: Likewise.
2682 * bits/std_ctime.h: Likewise.
2683 * bits/std_cwchar.h: Likewise.
2684 * bits/std_cwctype.h: Likewise.
2685 * bits/std_exception.h: Likewise.
2686 * bits/std_new.h: Likewise.
2687 * bits/std_typeinfo.h: Likewise.
2688 * shadow/bits/std_cassert.h: Likewise.
2689 * shadow/bits/std_cctype.h: Likewise.
2690 * shadow/bits/std_cerrno.h: Likewise.
2691 * shadow/bits/std_cfloat.h: Likewise.
2692 * shadow/bits/std_climits.h: Likewise.
2693 * shadow/bits/std_clocale.h: Likewise.
2694 * shadow/bits/std_cmath.h: Likewise.
2695 * shadow/bits/std_csetjmp.h: Likewise.
2696 * shadow/bits/std_csignal.h: Likewise.
2697 * shadow/bits/std_cstdarg.h: Likewise.
2698 * shadow/bits/std_cstddef.h: Likewise.
2699 * shadow/bits/std_cstdio.h: Likewise.
2700 * shadow/bits/std_cstdlib.h: Likewise.
2701 * shadow/bits/std_cstring.h: Likewise.
2702 * shadow/bits/std_ctime.h: Likewise.
2703 * shadow/bits/std_cwchar.h: Likewise.
2704 * shadow/bits/std_cwctype.h: Likewise.
2705 * shadow/bits/wrap_libio.h: Likewise.
2706 * shadow/bits/wrap_unistd.h: Likewise.
2707 * shadow/sys/cdefs.h: Likewise.
2709 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2711 It appears that gcc-2.96 supports the keyword "and" now.
2712 * bits/std_ciso646.h: remove.
2714 * testsuite/17_intro/header_ciso646.c: enable testing.
2715 * src/Makefile.am, src/Makefile.in: remove mention of
2718 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2720 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
2722 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2724 * acinclude.m4: Fix typo, switch to decaf...
2725 * aclocal.m4: Regenerate.
2726 * configure: Regenerate.
2728 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2730 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
2731 * aclocal.m4: Regenerate.
2732 * configure.in: Call.
2733 * configure: Regenerate.
2734 * docs/configopts.html: Stub documentation.
2736 2000-05-14 Nathan Myers <ncm@cantrip.org>
2738 * mkcshadow: build in more-correct directory, create cshadow/
2739 directory if needed, report progress.
2741 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
2743 * src/Makefile.am: Fix tr commands.
2744 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
2745 * src/string-inst.cc: Remove extra instantiation of
2746 S::basic_string(S::size_type, C, S::allocator_type const&);
2747 * src/string-inst.cc: Remove extra template keyword.
2749 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
2751 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
2752 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
2753 * aclocal.m4: Regenerate.
2754 * configure: Regenerate.
2755 * */Makefile.in: Regenerate.
2757 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
2759 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
2760 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
2761 * aclocal.m4: Regenerate.
2762 * configure.in: Non-blank arguments break fewer Linuxes.
2763 * configure: Regenerate.
2764 * src/Makefile.am: Re-order AC_CXXFLAGS components.
2765 * src/Makefile.in: Regenerate.
2767 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
2769 * bits/std_cmath.h: Tweaks.
2770 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
2771 (sqrtf): Define away iff !builtin and !in <math.h>.
2775 At some point this directory should be converted to c++, the
2776 autoconf tests should be run by the c++ compiler (not c), and
2777 <cmath> should be used instead of math.h.
2778 Move declaration of nan() here.
2779 * math/complex-stub.h (cabsl): Remove nan() declaration.
2781 Finish up FreeBSD4.0 support.
2782 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
2783 * config/generic/ctype.cc: And here.
2784 * testsuite/21_strings/char_traits.cc (test02): Guard with
2785 _GLIBCPP_USE_WCHAR_T.
2787 via Phil Edwards <pme@sourceware.cygnus.com>
2788 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
2789 * acconfig.h: And here.
2790 * acinclude.m4: Same.
2791 * testsuite/27_io/istream.cc: And here.
2792 * testsuite/27_io/ostream.cc: And here.
2794 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
2796 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
2798 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
2800 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
2803 * config/bsd: New directory.
2804 * config/bsd/ctype.cc: New.
2805 * config/bsd/bits/ctype_base.h (ctype_base): New.
2806 * config/bsd/bits/ctype_specializations.h: New.
2807 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
2809 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
2811 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
2812 * configure.in: Call.
2813 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
2814 * aclocal.m4: Regenerate.
2816 * src/Makefile.in: Ditto.
2817 * docs/configopts.html: Document.
2818 * docs/download.html: Fix typo (close quote).
2819 * docs/footer.html: Update.
2821 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
2823 * backward/iostream.h: Expose endl. Guard wide types.
2824 * src/Makefile.am (headers): Update list to match files.
2825 * src/Makefile.in: Regenerate.
2827 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
2828 Benjamin Kosnik <bkoz@gnu.org>
2829 Nathan Myers <ncm@cantrip.org>
2830 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
2832 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
2833 (basic_streambuf::xsputn): Make consistent.
2834 * testsuite/27_io/filebuf.cc: Add tests.
2836 2000-05-08 Steven King <sxking@uswest.net>
2838 * bits/char_traits.h: Use wchar_t utility functions for
2839 char_traits<wchar_t> methods.
2840 * testsuite/21_string/char_traits.cc: New (test02): test
2841 char_traits<wchar_t>
2843 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
2845 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
2847 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
2848 _M_buf_size based on macro, instead use _M_buf_size_opt.
2849 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
2850 (basic_streambuf()): Set _M_buf_size_opt.
2851 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
2852 instead of _M_buf_size.
2854 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
2856 * src/complex_io.cc: Don't instantiate inserters and extractors
2857 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
2859 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
2860 Felix Natter <fnatter@gmx.net>
2862 * docs/footer.html: Update to see if it takes effect.
2863 * docs/thanks.html: More people.
2864 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
2865 be seen from the web pages. Rename for browser-friendliness...
2866 * docs/17_intro/howto.html: ...and update here.
2867 * docs/17_intro/porting-howto.html: Changes from Felix.
2868 * docs/gccrebuild.html: Mention v3->egcs move.
2869 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
2870 * docs/faq/index.txt: Regenerate.
2872 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
2874 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
2877 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
2879 * bits/char_traits.h: Fix parameter types.
2880 * bits/string.tcc: Avoid traits_type::move.
2882 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
2884 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
2885 * src/Makefile.in: Regenerate.
2886 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
2888 2000-04-30 Steven King <sxking@uswest.net>
2890 * bits/locale_facets.h: Fix syntax error.
2891 * bits/std_fstream.h: ditto
2893 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
2895 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
2897 * mknumeric_limits (trait_name): Fix copyright notice.
2898 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
2899 round_error data members of struct value. This works around
2900 weak-linking issues on AIX, HPUX.
2902 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
2904 * docs/download.html: Add link to list of mirror sites.
2906 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
2908 * mkcheck.in: Rely on exit status instead of the presence of a
2909 core file. Added comments on how/where to save core and exe
2910 files. Move shell wildcards outside quotes and fix core path.
2912 2000-04-27 scott snyder <snyder@fnal.gov>
2914 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
2917 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
2919 * bits/basic_string.h: include <bits/atomicity.h> instead
2920 of <atomicity.h>, and use the uglified names.
2921 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
2922 uglify names, eliminate dependence on <inttypes.h>.
2923 * src/Makefile.in, src/Makefile.am: refer to correct place
2924 for atomicity.h header.
2926 2000-04-25 Steven King <sxking@uswest.net>
2928 * bits/basic_string.h: Fix syntax error.
2930 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
2932 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
2934 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
2935 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
2936 versions to this as copysignl is needed anyway for these targets.
2937 * math/Makefile.in: Regenerate.
2939 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
2940 * bits/fstream.tcc (underflow): Cast to libio types.
2941 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
2942 * config/c_io_libio.cc (seekoff): And here.
2944 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
2946 * mkcheck.in: Report compiler version used for test. Find
2947 the built _G_config.h instead of any old installed version.
2949 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
2951 * config/generic/ctype.cc (do_toupper): Remove dependence on
2952 non-portable/non-existent lookup table.
2955 2000-04-24 Nathan Myers <ncm@cantrip.org>
2957 * src/string-inst.cc: More fixing.
2959 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
2961 * bits/stl_iterator.h: Pedantic fixing.
2962 * bits/std_sstream.h: And here.
2963 * bits/string.tcc: And here.
2965 2000-04-24 Felix Natter <fnatter@gmx.net>
2967 * docs/17_intro/howto.html: Add bits.
2968 * docs/17_intro/porting-howto.html: New file.
2970 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
2972 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
2973 @libinst_wstring_la@ to libinst-wstring.la when specializing for
2974 wchar_t, to empty string otherwise.
2975 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
2976 (sources): Remove $(string_sources) and $(wstring_sources).
2977 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
2978 (libstdc___la_DEPENDENCIES): New.
2979 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
2981 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
2983 * bits/std_sstream.h: Tweak formatting.
2984 * bits/std_fstream.h: Make types public.
2986 * testsuite/27_io/streambuf.cc: Fix for alpha.
2988 Brad Garcia <bgarcia@laurelnetworks.com>
2989 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
2991 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
2994 2000-04-19 Nathan Myers <ncm@cantrip.org>
2996 * src/string-inst: consolidate _S_create,
2997 destroy, leak, clone members into stringMAIN and stringMUTATE
2999 * src/Makefile.am: Above, and eliminate dependence on
3001 * src/wstring-inst.cc: Remove.
3003 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3005 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3006 Add flags for specialized rules dealing with instantiations.
3008 * src/string-inst.cc: Add instantiations missing from shared
3009 libraries--see stringEQ, stringCONSC.
3010 * src/Makefile.am (wstring_sources): Add.
3011 (string_sources): Same.
3012 * src/Makefile.in: Regenerate.
3014 * stl/*: Integrate contents of this directory into top-level
3016 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3017 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3018 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3019 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3020 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3021 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3022 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3023 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3024 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3025 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3026 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3027 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3028 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3029 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3030 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3031 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3032 stack.h tempbuf.h tree.h vector.h: Add.
3033 * README (file): Update.
3034 * docs/documentation.html: README not being found.
3035 * src/Makefile.am (sources): Take out stl directory.
3036 * mkcheck.in (SRC_DIR): And here.
3037 * src/Makefile.in: Regenerate.
3039 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3041 * stl/bits/stl_function.h: Add bits so that const and non-const
3044 2000-04-18 scott snyder <snyder@fnal.gov>
3046 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3047 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3048 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3049 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3050 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3052 2000-04-18 scott snyder <snyder@fnal.gov>
3054 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3057 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3058 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3059 * stl/ext/hash_set (class hash_set, class hash_multiset):
3061 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3062 constant_binary_fun): Likewise.
3063 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3064 * stl/bits/stl_stack.h (class stack): Likewise.
3065 * stl/bits/stl_set.h (class set): Likewise.
3066 * stl/bits/stl_multiset.h (class multiset): Likewise.
3068 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3069 class reverse_iterator): Get rid of use of
3070 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3072 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3075 * stl/bits/stl_deque.h (class deque): Get rid of use of
3076 __STL_DEFAULT_ALLOCATOR macro.
3077 * stl/bits/stl_list.h (class list): Likewise.
3078 * stl/bits/stl_multiset.h (class multiset): Likewise.
3079 * stl/bits/stl_set.h (class set): Likewise.
3080 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3081 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3082 * stl/bits/stl_vector.h (class vector): Likewise.
3083 * stl/ext/ropeimpl.h (rotate): Likewise.
3084 * stl/ext/hash_map (class hash_map, class hash_multimap):
3086 * stl/ext/hash_set (class hash_set, class hash_multiset):
3088 * stl/ext/slist (class slist): Likewise.
3089 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3090 * stl/ext/stl_rope.h (class rope): Likewise.
3091 * src/locale.cc (_Impl): Likewise.
3092 * src/localename.cc (_Impl): Likewise.
3093 * bits/localefwd.h (_Impl): Likewise.
3095 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3097 * docs/install.html: Cleanup, minor changes.
3098 * docs/17_intro/howto.html: Ditto.
3100 2000-04-18 Nathan Myers <ncm@cantrip.org>
3102 * bits/basic_string.h: Remove "inline" from member _S_find.
3104 * src/string-inst.cc: Rewrite to reflect non-inline template
3105 instantiations in string.tcc.
3107 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3108 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3109 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3110 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3111 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3112 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3113 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3114 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3115 stringNESS.cc, stringSCOPY.cc: Remove.
3116 * src/wstringADDCS.cc, etc: Remove.
3118 Benjamin Kosnik <bkoz@haight.constant.com>
3119 * src/Makefile.am: Modify to reflect above.
3120 * src/Makefile.in: Regenerate.
3122 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3124 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3126 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3128 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3129 io interface here instead of the libio particulars.
3131 * config/threads-posix.h: Consistency with stl_config.h.
3133 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3135 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
3137 * mknumeric_limits: Rename generic type template parameter name
3139 * stl/bits/type_traits.h: Ditto.
3141 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3143 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3144 it is more useful for --enable-libstdcxx-v3. Use the built
3145 compilers with v3, instead of compilers in PATH, and don't
3146 re-include include directories for checking the install.
3148 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3150 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3151 by default when using --enable-libstdcxx-v3.
3152 * src/Makefile.in: Regenerate.
3153 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3154 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3155 * configure: Regenerate.
3156 * mkcheck.in: Deal with NAMESPACES.
3158 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
3160 * src/cmath.cc: New file...
3161 (pow(*, int)): Define functions...
3162 * src/Makefile.am (sources): ...register file.
3163 * src/Makefile.in: Regenerate.
3164 * bits/std_cmath.h (pow): ...declare functions here, and remove
3167 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3169 * acinclude.m4 (GCC_OBJDIR): Tweaks
3171 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3173 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3174 * config/cpu/arm: New directory.
3176 Jesper Skov <jskov@redhat.com>
3177 * config/cpu/arm/atomicity.h: New file.
3179 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3181 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3182 Remove unused bits. Clean.
3184 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3186 * testsuite/25_algorithms: New directory.
3187 * testsuite/25_algorithms/min_max.cc: New file.
3189 2000-03-29 scott snyder <snyder@fnal.gov>
3191 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3192 precision beyond that which we get from numeric_limits::digits10.
3194 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3197 * testsuite/23_containers/bitset_shift.cc: Fix.
3199 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3200 temporary to imbue().
3202 * bits/std_fstream.h (sync): Resync libio's idea of the current
3203 file position with the external file.
3205 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3207 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3210 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3211 attempting calls to it.
3212 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3213 ctors. Instead, call _M_init_filebuf ...
3214 (open): Here, as suggested by 27.8.1.3.
3215 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3216 properly when initializing cout/cin/cerr.
3218 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3220 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3221 * testsuite/22_locale/ctype_char_members.cc: And here.
3222 * testsuite/27_io/streambuf.cc (streambuf): And here.
3223 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3224 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3225 * testsuite/27_io/istream_extractor_arith.cc: And here.
3226 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3227 * testsuite/27_io/ios_base_members_static.cc: And here.
3228 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3230 2000-03-27 Chris Faylor <cgf@cygnus.com>
3232 * configure.in: Remove setting of CXX if canadian cross.
3233 * configure: Regenerate.
3235 2000-03-27 Nathan Myers <ncm@zembu.com>
3237 * bits/sstream.tcc: Optimize.
3238 * bits/basic_string.h(string::append): Don't inline.
3239 * bits/string.tcc: Move out-of-line.
3241 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
3243 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
3244 define WERRORSUPPRESS so that the inlining warnings won't kill us.
3245 * aclocal.m4: Regenerate.
3246 * configure: Regenerate.
3247 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
3248 * src/Makefile.in: Regenerate.
3250 * docs/install.html: Almost complete rewrite.
3252 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
3254 * docs/install.html: Explain -Werror problem at "#Werror" mark.
3255 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
3257 * docs/faq/index.txt: Regenerate.
3259 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3261 * src/Makefile.am (libio_headers_install): Fix.
3262 * src/Makefile.in: Regenerate.
3264 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
3266 * docs/17_intro/RELEASE-NOTES: Fix typos.
3267 * docs/index.html: Update.
3268 * docs/17_intro/BUGS: Update.
3269 * docs/status.html: Update for 2.90.8 release.
3271 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
3273 * Makefile.am: Better error message when missing libgcc2.ready.
3274 * Makefile.in: Regenerate.
3275 * acinclude.m4: Fastidious nitpicking reformatting.
3276 * aclocal.m4: Regenerate.
3277 * configure: Regenerate.
3278 * mkcheck.in: Must use same namespace settings as the library being
3279 tested. Also log ST_FLAG, since it's being passed.
3280 * docs/install.html: Add brief chunk on configuration.
3281 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
3282 * docs/23_containers/howto.html: Mention MT-safe string.
3283 * docs/faq/index.html: Minor updates.
3284 * docs/faq/index.txt: Regerarate.
3286 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
3288 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
3290 * bits/fstream.tcc (seekoff): Sync.
3292 * testsuite/27_io/ostream_unformatted.cc: New file.
3293 * testsuite/27_io/stringbuf.cc: Fix.
3294 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
3296 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
3297 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
3299 * src/complex_io.cc (operator>>complex): Tweak.
3301 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
3302 <inttypes.h> does not exist.
3303 * config/cpu/sparc/sparc64/atomicity.h: Same.
3304 * config/cpu/sparc/sparc32/atomicity.h: Same.
3305 * config/cpu/powerpc/atomicity.h: Same.
3306 * config/cpu/i386/atomicity.h: Same.
3307 * config/cpu/generic/atomicity.h: Same.
3308 * configure.in: Check for inttypes.h.
3309 * configure: Regnerate.
3311 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
3313 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
3315 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
3317 * docs/17_intro/RELEASE-NOTES (New): Add bits.
3319 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
3320 are compiling natively.
3322 * libio/*: Update to CVS libio from egcs.
3324 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
3326 * docs/download.html: Document use of -z9 for CVS.
3327 * docs/index.html: Add target date (no link) for future snapshot.
3329 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3331 * bits/slice_array.h: Rename generic type template parameter name
3333 * bits/mask_array.h: Ditto
3335 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
3337 * *: Change copyright holder from "Cygnus Solutions" to "Free
3338 Software Foundation, Inc."
3340 * docs/configopts.html: Explain what "hella versions" means.
3341 * docs/install.html: Some tweaks--nice job on this Phil.
3342 * docs/documentation.html: Add a direct link to configuration options.
3344 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
3345 * docs/17_intro/RELEASE-NOTES (New): Add.
3346 * bits/c++config.h (__GLIBCPP__): Bump version.
3348 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
3349 type to match prototype.
3351 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
3353 * docs/install.html: Update for new funky build procedure. Move
3354 description of 'configure' options to...
3355 * docs/configopts.html: ...here. New file.
3356 * docs/17_intro/howto.html: Updates for new snapshot.
3357 * docs/20_util/howto.html: Ditto.
3358 * docs/21_strings/howto.html: Ditto.
3359 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
3360 * docs/22_locale/howto.html: Ditto.
3361 * docs/23_containers/howto.html: Ditto.
3362 * docs/faq/index.html: Ditto.
3364 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
3365 Benjamin Kosnik <bkoz@gnu.org>
3367 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
3369 * aclocal.m4: Regenerate.
3370 * configure: Regenerate.
3372 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3373 scott snyder <sss@karma.fnal.gov>
3375 * config/c_io_libio.h: Add __c_lock.
3376 * config/threads-no.h: Same here.
3377 * config/threads-posix.h: Add __mutext_type typedef.
3378 * config/c_io_libio.cc: basic_file ctor takes lock arg.
3379 * bits/basic_file.h: Ctor takes lock arg.
3380 * bits/std_fstream.h: Add _M_lock.
3381 * bits/fstream.tcc: Supply it to basic_file ctor.
3383 * mkcheck.in (resultstext): Change [[ to [.
3385 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
3387 * bits/locale_facets.h: Tweak.
3389 * stl/bits/stl_config.h: Fix defines.
3391 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3393 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
3395 * configure: Regenerate.
3396 * aclocal.m4: Regnerate.
3398 2000-03-16 Nathan Myers <ncm@zembu.com>
3400 * bits/string.tcc: Add MT support.
3401 * bits/basic_string.h: Same.
3403 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3405 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
3407 * configure: Regenerate.
3409 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
3411 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3413 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
3414 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
3415 any defaults passed in.
3416 * aclocal.m4: Regenerate.
3418 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3420 * mkcheck.in: Report total successes and failures.
3422 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
3424 * config/cpu: New directory, intended to be used to provide
3425 cpu-specific configuration files. In particular, assembly language
3426 primitives for thread safety.
3427 * config/cpu/alpha: Populate.
3428 * config/cpu/alpha/atomicity.h: New file.
3429 * config/cpu/arm: Populate.
3430 * config/cpu/generic: Populate.
3431 * config/cpu/generic/atomicity.h: New file.
3432 * config/cpu/hppa: Populate.
3433 * config/cpu/i386: Populate.
3434 * config/cpu/i386/atomicity.h: New file, take from i486.
3435 * config/cpu/m68k: Populate.
3436 * config/cpu/mips: Populate.
3437 * config/cpu/powerpc: Populate.
3438 * config/cpu/powerpc/atomicity.h: New file.
3439 * config/cpu/sparc: Populate.
3440 * config/cpu/sparc/sparc32: Populate.
3441 * config/cpu/sparc/sparc64: Populate.
3442 * config/cpu/sparc/sparc32/atomicity.h: New file.
3443 * config/cpu/sparc/sparc64/atomicity.h: New file.
3445 * src/Makefile.am (myinstallheaders): Add install routines.
3446 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
3448 * configure.in: Add.
3450 * config/default: Adopt glibc naming conventions, and so move to
3451 * config/generic: Here.
3452 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
3454 2000-03-15 Bill Thompson <billt@toast.net>
3456 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
3458 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
3460 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
3462 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
3463 * aclocal.m4: Regenerate.
3464 * configure: Regenerate.
3466 2000-03-13 scott snyder <snyder@fnal.gov>
3467 Jason Merrill <jason@cygnus.com>
3469 * bits/locale_facets.h (class ctype, class ctype<char>, class
3470 ctype<wchar_t>): More mask fixes.
3471 * testsuite/22_locale/ctype.cc: Test for the problem.
3473 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
3475 * acconfig.h: Add bits.
3476 * configure.in: Move AM_PROG_LIBTOOL up in file.
3477 Tweak cross compiling info.
3478 * configure: Regenerate.
3480 * mknumeric_limits (XCOMPILE): Echo compilation line for
3483 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
3484 * aclocal.m4: Regenerate.
3485 * configure: Regenerate.
3486 * config/aix/ctype.cc (ctype): Tweak.
3487 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
3488 * config/aix/bits/ctype_specializations.h: New file.
3490 2000-03-10 scott snyder <snyder@fnal.gov>
3492 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
3494 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
3495 regression test for the problem.
3497 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
3499 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
3500 * bits/fpos.h: And here.
3501 * bits/std_ostream.h: Same here.
3502 * bits/std_istream.h: Same here.
3503 * bits/basic_ios.h: Same here.
3504 * bits/std_fstream.h: Same here.
3505 * bits/sbuf_iter.h (std): Here too.
3506 * bits/std_sstream.h: Make types public.
3508 * src/misc-inst.cc: Use size_t instead of unsigned int.
3509 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
3510 suppose this should be ctype::narrow... all the ctype<wchar_t>
3511 stuff needs to be cleaned up.
3513 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3515 * docs/gentop: Remove entire directory, finally.
3517 2000-03-09 scott snyder <snyder@fnal.gov>
3519 * bits/std_cmath.h (modf): Fix pointer overrun.
3520 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
3521 test for the problem.
3523 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3525 Looks like changes to the #include'd files must be followed by a
3526 change to the #include'ing files to take effect. Caveat emptor.
3527 * docs/header.html: New file, for server-side include.
3528 * docs/footer.html: New file, for server-side include.
3529 * docs/documentation.html: Change to use SSI.
3530 * docs/download.html: Ditto.
3531 * docs/index.html: Ditto.
3532 * docs/mail.html: Ditto.
3533 * docs/status.html: Ditto.
3534 * docs/thanks.html: Ditto, plus minor updates.
3535 * docs/how.html: Remove.
3537 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
3539 Preliminary alpha-linux support.
3540 * src/locale.cc (ctype<wchar_t>): Use correct types...
3541 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
3542 (ctype<wchar_t>): Same.
3543 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
3544 types match for table_size (size_t).
3546 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
3547 as per char specialization.
3548 * config/*/ctype.cc: Same.
3550 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3552 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
3553 _Ctype_nois<>. Template base classes are never examinated in
3554 first-phase name-lookup.
3556 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
3558 Add Solaris 2.5.1 support.
3559 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
3560 * config/solaris/solaris2.5/ctype.cc: Fixup.
3561 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
3562 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
3563 * aclocal.m4: Regenerate.
3564 * configure: Regenerate.
3566 * config/default/ctype.cc (ctype): Fixup.
3568 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
3570 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
3571 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
3574 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3576 * bits/cpp_type_traits.h: Expand on this file purpose.
3578 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
3580 * bits/locale_facets.h (ctype<char>): Remove static members, and
3581 re-work initialization code.
3582 (ctype<wchar_t>): Same.
3583 Move _S_touppper to _M_toupper and initialize in ctor.
3584 Move _S_tolower to _M_tolower and initialize in ctor.
3585 Move _S_table to _M_ctable and intialize in ctor.
3586 * bits/locale_facets.h (std): And here.
3587 * src/locale.cc (std): Tweak.
3588 * config/gnu-linux/ctype.cc: Change initialization here.
3589 * config/newlib/ctype.cc: And here.
3590 * config/solaris/solaris2.7/ctype.cc: And here.
3591 * config/solaris/solaris2.6/ctype.cc: And here.
3593 * bits/localefwd.h: Tweak.
3594 * bits/std_streambuf.h: Tweak formatting.
3596 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
3598 2000-03-05 Chip Salzenberg <chip@valinux.com>
3600 * src/misc-inst.cc (basic_iostream<>): Instantiate.
3602 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
3603 Kevin Atkinson <kevinatk@home.com>
3605 Initial grab of SGI's strstream implementation with minor
3607 * src/strstream.cc: New file.
3608 * std/strstream: New file.
3609 * stl/bits/std_strstream.h: New file.
3610 * bits/std_streambuf.h: Add public access.
3611 * src/Makefile.am: Add strstream sources to list of dependancies.
3612 * src/Makefile.in: Regenerate.
3614 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3616 * bits/valarray_meta.h: Fix typo.
3618 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3619 Chip Salzenberg <chip@valinux.com>
3620 Petter Urkedal <petter@matfys.lth.se>
3622 * src/Makefile.am (myinstallheaders): Hack to avoid
3624 * src/Makefile.in: Regenerate.
3626 2000-03-02 Chip Salzenberg <chip@valinux.com>
3628 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
3629 (LINK): Put quotes around "$(CC)" for libtool link mode,
3630 so libtool will use "-B" options during GCC bootstrap.
3631 * */Makefile.in: Regenerate.
3633 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
3635 * config/c_io_libio.h: Enclose it all in ::std.
3636 * bits/basic_string.h (basic_string<>): Make types and
3638 * mkc++config: Truncate output file before writing.
3640 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
3642 * math/cabsf.c (__mycabsf): Rename to cabsf.
3643 * math/cabs.c (__mycabs): Rename to cabs.
3645 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
3647 * bits/basic_string.h: Move declarations of __out_of_range(),
3648 __length_error() and accompanying macros ...
3649 * bits/exception_support.h: here. (Newly created file).
3650 * bits/basic_string.h: #include <bits/exception_support.h>
3651 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
3652 * src/Makefile.am (headers): Add.
3653 * src/Makefile.in: Regenerate.
3655 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
3657 * bits/cpp_type_traits.h: Rename structs so they don't clash with
3659 * bits/valarray_array.h: Synch. Fix typos.
3661 * libio/Makefile.am: Change to only compile source files that
3662 config/c_io_libio.cc actually needs.
3663 * libio/Makefile.in: Regnerate.
3664 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
3665 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
3666 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
3667 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
3668 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
3669 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
3670 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
3671 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
3672 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
3673 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
3674 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
3675 strops.c strstream.h: Delete.
3677 * bits/basic_file.h: Stub out or delete unused bits in this
3679 (filepos_beg): Remove.
3680 (filepos_cur): Remove.
3681 (filepos_valid): Remove.
3682 * config/c_io_libio.cc: Resynch with the changes to basic_file.
3684 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3686 * bits/cpp_type_traits.h: Correct typo.
3688 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3690 * bits/cpp_type_traits.h: New file.
3692 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
3693 Improve array construction.
3694 (_Array_default_ctor): New dispatcher class.
3695 (__valarray_default_construct): New function.
3696 (_Array_copy_ctor): New dispatcher class.
3697 (__valarray_copy_construct): New function.
3698 (_Array<>::free_data): Remove.
3700 * src/Makefile.am (headers): Add cpp_type_traits.h
3701 * src/Makefile.in: Regenerate.
3703 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
3705 Prune libio directory to match files in libio/Makefile.
3706 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
3707 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
3708 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
3709 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
3710 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
3711 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
3712 stdstreams.cc: Remove.
3713 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
3714 * libio/iofflush_u.c: Remove.
3716 * libio/dbz: Remove.
3717 * libio/include: Remove.
3718 * libio/stdio: Remove.
3719 * libio/tests: Remove.
3720 * libio/testsuite: Remove.
3722 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
3724 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
3725 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
3726 * configure: Regenerate.
3728 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
3730 Abstract out the underlying "C" io bits.
3731 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
3732 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
3733 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
3735 * stl/bits/stl_config.h: Don't include _G_config.h.
3737 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
3738 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
3739 * config/c_io_libio.cc: Tweak.
3741 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
3742 * src/Makefile.in: Regenerate.
3743 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
3744 prefix/include files will be picked up.
3745 * Makefile.in: Regenerate.
3746 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
3747 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
3749 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
3750 * bits/fpos.h: And here.
3751 * bits/basic_file.h (get_fileno): Move definition from ...
3752 * src/basic_file.cc (std): To here.
3753 * bits/fpos.h: Move types for streamoff, streampos to..
3754 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
3755 * config/c_io_libio.h: ...here.
3756 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
3757 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
3758 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
3759 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
3760 abstract out bits in ios_base.
3761 * bits/ios_base.h: Re-macrofy.
3762 * src/basic_file.cc : Rename, move to
3763 * config/c_io_libio.cc: Here.
3764 * config/c_io_libio.h: New file. Include libio.
3765 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
3766 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
3767 * configure: Regenerate.
3768 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
3769 (generated_headers): Add c++io.h
3770 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
3771 underlying "C" io library.
3772 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
3773 GLIBCPP_ENABLE_CSTDIO.
3775 * configure.in: Add configure bits for cross compiling non-newlib
3777 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
3778 target, as we assume g++ support is not the limiting factor.
3779 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
3780 * configure: Regenerate.
3782 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
3784 * Makefile.am (INTERFACE): Define.
3785 * Makefile.in: Regenerate.
3786 * libio/ChangeLog: Add entry.
3788 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
3790 * docs/install.html: Update install directions.
3792 * docs/status.html: Fix sidebar to be consistent.
3793 * docs/thanks.html: Same.
3794 * docs/links.html: Same.
3795 * docs/mail.html: Same.
3796 * docs/download.html: Same.
3798 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
3799 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
3800 however, in the ctype_char_members.cc fail (for instance.)
3801 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
3802 that do not have wchar_t enabled.
3803 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
3805 * testsuite/27_io/iostream_objects.cc: And here.
3807 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
3810 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
3811 Tom Tromey <tromey@cygnus.com>
3813 * configure.in: Manually add MULTISUBDIR.
3814 * configure: Regenerate.
3815 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
3816 "Eww" hacks to get multilib installs working correctly.
3817 ($(headers): Test for MULTISUBDIR before installing.
3818 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
3819 have configure hack it in.
3820 * Makefile.in: Regenerate.
3821 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
3822 Add enabling bits for native Cygwin ctypes, and other newlib-based
3825 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3827 * mkc++config (OUT_H): Remove EOF in cygwin.
3828 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
3830 Tom Tromey <tromey@cygnus.com>
3831 * src/Makefile.am: Tweaks for installing multilibs.
3833 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
3836 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
3837 Add USE_LIBDIR bits here, not...
3838 * src/Makefile.in: Regenerate.
3839 * Makefile.am: ...here.
3840 * Makefile.in: Regenerate.
3842 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
3844 * acinclude.m4 (LIBS): Fix typos.
3845 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
3846 _GLIBCPP_BUGGY_COMPLEX for crosses.
3847 * src/Makefile.am (std_headers): Add libio.h as install include,
3849 * src/Makefile.in: Regenerate.
3851 * mkcheck.in: Add bits to set CXX to cross compiler.
3853 * src/complex_io.cc: Tweak.
3854 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
3855 * configure: Regenerate.
3857 * config/newlib/ctype.cc: Tweaks.
3858 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
3860 * src/complex_io.cc (operator>>(istream, complex): Define out if
3863 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
3865 * config/newlib/bits/ctype_base.h: Correct _S_table.
3867 Reconfigure ctype support for "C" libraries that don't use arrays.
3868 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
3869 basic ctype<char> functionality.
3870 * src/locale.cc: Move host-specific ctype functions that are not
3871 inlines to config/*/ctype.cc files.
3872 (ctype<char>::do_tolower): For instance.
3873 (ctype<char>::do_toupper): For instance.
3874 (ctype<wchar_t>::do_tolower): For instance.
3875 (ctype<wchar_t>::do_toupper): For instance.
3876 * config/gnu-linux/ctype.cc: Modify.
3877 * config/default/ctype.cc: Modify.
3878 * config/newlib/ctype.cc: Modify.
3879 * config/solaris/solaris2.6/ctype.cc: Modify.
3880 * config/solaris/solaris2.7/ctype.cc: Modify.
3882 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
3884 (ctype<char>::scan_is): Here too.
3885 (ctype<char>::scan_not): Here too.
3886 Move out of line defs to config/*/bits/ctype_specializations.h.
3887 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
3888 * config/default/bits/ctype_specializations.h: ...here. New file.
3889 * config/newlib/bits/ctype_specializations.h: ...here. New file.
3890 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
3891 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
3892 * src/Makefile.am (headers): Add ctype_specializations.h.
3893 * src/Makefile.in: Regenerate.
3895 Aaron Weiss <weiss@clearway.com>
3896 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
3897 CONFIG_NM for Solaris builds.
3898 * Makefile.in: Regenerate.
3900 * src/locale.cc: Tweak formatting.
3902 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
3904 Jim Parsons <parsons@clearway.com>
3905 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
3906 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
3910 Michel Decima <michel.decima@cnet.francetelecom.fr>
3911 * testsuite/27_io/streambuf.cc: Add test.
3912 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
3915 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
3916 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
3917 will work correctly, for instance.
3918 * src/Makefile.in: Regenerate.
3920 * bits/locale_facets.h: Fix merge error.
3921 (num_put::put(unsigned long long): And here.
3922 * mknumeric_limits (trait_name): Same.
3924 2000-02-15 Chip Salzenberg <chip@valinux.com>
3926 Support 'configure --enable-long-long'.
3927 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
3928 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
3929 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
3930 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
3931 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
3933 * aclocal.m4: Regenerate.
3934 * config.h.in: Regenerate.
3935 * configure: Regenerate.
3937 2000-02-15 Chip Salzenberg <chip@valinux.com>
3939 Improve (complete?) 'long long' support.
3940 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
3941 for {,unsigned} long long if the limits header declares them.
3942 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
3943 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
3944 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
3945 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
3946 (num_put<>::put(..., long long)): Likewise.
3947 (num_put<>::put(..., unsigned long long)): Likewise.
3948 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
3949 Templatize last parameter to support 'long long'.
3950 (num_put<>::put(...)): Call _S_format with new name.
3951 (num_put<>::put(..., long long)): Define.
3952 (num_put<>::put(..., unsigned long long)): Likewise.
3953 * src/locale-inst.cc (_S_format): Instantiate under new name.
3955 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
3957 * src/complex.cc (operator<<, operator>>): Moved from here...
3958 * src/complex_io.cc: ...to new file.
3959 (operator>>): Stub replaced by the real thing.
3960 * src/Makefile.am (sources): Inserted complex_io.cc.
3961 * src/Makefile.in: Regenerate.
3962 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
3964 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
3966 Add in ctype information for newlib "C" libraries.
3967 * config/newlib: New directory
3968 * config/newlib/bits/ctype_base.h: New file.
3969 * config/newlib/ctype.cc: New file.
3971 * ctype/config/linux/*: Rename, move to...
3972 * ctype/config/gnu-linux/*: Here.
3974 Finish off multilib work.
3975 * configure.in: Don't set CXX if not Canadian cross.
3976 * configure: Regenerate.
3977 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
3978 * aclocal.m4: Regenerate.
3979 * config.h.in: Regenerate.
3981 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
3982 the top-level gcc directory now.
3983 * mkinstalldirs: Remove.
3986 * ltmain.sh: Remove.
3987 * config.guess: Remove.
3988 * config.sub: Remove.
3990 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
3992 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
3993 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
3994 * Makefile.in: Regenerate.
3995 * src/Makefile.am: Add multilib bits.
3996 * src/Makefile.in: Regenerate.
3998 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4000 * configure.in: Clean, add some multilib support.
4001 * configure: Regenerate.
4002 * configure.host: New file.
4004 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4005 roll a new function, checks for presence of libio.
4006 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4007 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4008 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4009 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4010 GLIBCPP_CHECK_LIBIO: Same.
4011 GLIBCPP_CHECK_CTYPE: Same.
4012 * aclocal.m4: Regenerate.
4013 * config.h.in: Regenerate.
4015 * Makefile.am: Tweaks.
4016 * Makefile.in: Regenerate.
4018 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4020 * configure.in: Make outputing the libio/Makefile
4021 conditional. Haha, yeah right. Anyway, we instead do this thing
4022 where if libio is found, then we build a null library, as there is
4023 no point in duplicating the found libio.
4024 * Makefile.am: Tweak.
4025 * Makefile: Regenerate.
4026 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4027 are happy happy happy.
4028 * libio/Makefile.am: Regenerate.
4029 * libio/gen-params: New file.
4030 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4031 null library if it's not needed. At least we are being consistent,
4032 if not as elegant as we could be.
4033 * src/Makefile: Regenerate.
4035 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4037 * Makefile.am (SUBDIRS): Add libio again.
4038 * Makefile.in: Regenerate.
4039 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4040 (AC_OUTPUT): Generate libio/Makefile again.
4041 * configure: Regnerate.
4042 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4043 libio.la is referring back to the libio subdir again.
4044 (LIBIO_INCLUDES): And here.
4045 * src/Makefile.in: Regenerate.
4047 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4049 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4051 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4053 * bits/valarray_array.h (<bits/std_new.h>): #include.
4054 (__valarray_get_memory): New function.
4055 (__valarray_release_memory): Likewise.
4056 (__valarray_default_construct): New functions.
4057 (__valarray_fill_construct): New function.
4058 (__valarray_copy_construct): New funstions.
4059 (__valarray_destroy_elements): New function.
4061 * bits/valarray_array.tcc (__valarray_copy_construct): New
4064 * bits/std_valarray.h (valarray<>::valarray): Use
4065 __valarray_get_memory and __valarray_fill_construct,
4066 __valarray_copy_construct, __valarray_default_construct to
4067 properly construct valarrays.
4068 (valarray<>::~valarray): Use __valarray_destroy_elements to
4069 destroy elements and __valarray_release_memory to return memory.
4070 (valarray<>::shift): Tweak.
4071 (valarray<>::cshift): Likewise.
4072 (valarray<>::resize): Robustify.
4074 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4076 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4077 * bits/limits_generic.h: New file, defaults.
4078 * src/limits_generic.cc: New file, defaults.
4079 * configure.in (LIBS): Run mknumeric_limits at configure time.
4080 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4081 HAVE_LC_MESSAGES, tidy, clean, etc.
4082 * src/Makefile.am (geberated_sources): Remove.
4084 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4085 (_IO_off_t, _IO_ssize_t)
4087 * src/complex.cc: Use glibc's <complex.h> if
4088 possible. . . apparently this was not being done before. Include
4090 (abs): Enable cabs if it's around, instead of mycabs.
4091 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4092 * src/complexl.cc (FCT): Same.
4093 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4094 (libmath_la_SOURCES): And here.
4095 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4096 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4097 * math/complex-stub.h: Move c_log declarations into. . .
4098 * math/mathconf.h: Here. This is because glibc's <complex.h>
4099 declares cclog, not c_log. The case of the dueling standards. . .
4100 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4101 * math/Makefile.am: Change.
4102 * math/nan.c (nan): Change signature.
4103 * math/mathconf.h (NAN): Same.
4104 * math/complex-stub.h (nan): And here.
4106 * Makefile.am (rebuild-stamp): Remove libio and libio
4107 dependancies. Plan to take out libio subdir and just merge with
4108 libio in top level gcc directory. Of course, this assumes there is
4109 a libio in the top level directory (ie ../src_dir). This will
4110 probably change the way this library is configured by default.
4113 2000-02-09 Chip Salzenberg <chip@valinux.com>
4115 * localefwd.h (locale): Make public: facet, id, category.
4117 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4119 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4121 * acinclude.m4: Patch only once!
4123 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4125 * testsuite/26_numerics/buggy_complex.cc: New file.
4127 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
4129 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4130 on the 1999-11-21 entries by Mumit Khan.
4131 * configure.in: Use.
4132 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4133 * bits/std_complex.h: Use.
4135 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4137 * stl/bits/stl_algobase.h: Add traits based dispatch for
4138 __normal_iterator in the copy_backward()algorithm
4139 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4142 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4144 * src/gen-num-limits.cc (signal_handler): Work around signal
4145 handling problem on Cygwin.
4146 Thanks to Chris Faylor <cgf@cygnus.com>.
4148 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4150 * configure.in: Add (preliminary) support for cross compiles and
4152 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4153 compilation freaks on this.
4154 * configure: Regenerate.
4155 * src/Makefile.am: Add support for cross compiles.
4156 * src/Makefile: Regenerate.
4157 * Makefile.am: Add support for cross compiles.
4158 * Makefile.in: Regenerate.
4160 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4162 * configure.in (LIBS): Remove unused subdirs.
4163 * configure: Regenerate.
4164 * Makefile.am (SUBDIRS): And here.
4165 * Makefile.in: Regenerate.
4166 * src/Makefile.am (sources): And here.
4167 * src/Makefile.in: Regenerate.
4170 * generic/*: Remove.
4172 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4174 * libtool: Update to libtool-1.3.4.
4178 * config.guess: Same.
4180 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4181 Alexandre Petit-Bianco <apbianco@cygnus.com>
4183 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4184 namespace instead of polluting global namespace with duplicate
4186 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4188 (AC_OUTPUT_COMMANDS): Make it here.
4189 * configure: Regenerate.
4190 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4191 endif, as now we will add it manually.
4192 Move to this file. . .
4193 * bits/c++config.h: New file. Same as old c++config.h.in except
4194 the ending macro guard is now appended manually.
4196 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4197 * bits/std_cmath.h: Same here.
4198 * bits/std_cwchar.h: And here.
4199 * src/locale.cc: And here.
4200 * src/complexl.cc: And here.
4201 * math/mathconf.h: Change to include "config.h" instead of
4204 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4206 * configure.in: Add support for threads. Try a model closer to
4207 libjava, as hopefully if the thread bits are added carefully
4208 enough, the source code will not have gross hacks. Besides, the
4209 libstdc++-v2 model could be easily emulated without the necessity
4210 of linking files in (as currently done)--all that needs to be done
4211 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4212 new. . . and see if we arrive at a more elegant solution.
4213 * configure: Regenerated.
4214 * config/threads-no.h: New file.
4215 * config/threads-posix.h: New file.
4216 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4217 * src/Makefile.in: Regenerated.
4219 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4221 META-QUESTION: Can we just make a "header.html" file and a
4222 "footer.html" and just include them in all the doc sub-pages. The
4223 duplication of the header info is kind of gross, and weak
4224 considering that if you change order or layout then all this stuff
4225 has to be changed in all the sub-files.
4227 * docs/17_intro/contribute.html: Take out duplicate file info.
4228 * README: Should just contain a link to the docs/index.html
4229 page. Duplicate information removed.
4230 * docs/faq/index.html: Remove indexes into HOWTOS.
4231 * docs/17_intro/howto.html: Make intro and docs part more
4232 centralized. Move intro stuff to documentation.html.
4233 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4234 * docs/README.html: Move documentation files to
4235 documentation.html. Should this file be renamed
4236 "config_and_install.html" as that is what is apparently covered
4238 * docs/install.html: Yes. New file, moved and renamed README.html.
4239 * docs/documentation.html: New file. This is the index file for
4241 * docs/index.html: Edit sidebar order. Insert new link to new
4242 documentation spine, documentation.html.
4244 2000-01-31 Scott Snyder <snyder@fnal.gov>
4246 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
4247 we don't extract any characters.
4248 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
4250 2000-01-31 Anders Widell <awl@hem.passagen.se>
4252 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
4253 step is a multiple of the word size.
4254 (_M_do_right_shift): Same.
4255 * testsuite/23_containers/bitset_shift.cc: New file.
4257 2000-01-31 Nathan Myers <ncm@zembu.com>
4259 * README (Documentation): Add path info, fix typos.
4261 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
4263 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
4264 crazy group checking for numpunct, for real this time. At some
4265 point, the local variable __grp should probably get replaced a
4266 char array, or something a bit more lightweight.
4267 (num_get::do_get(bool)): Simplify. Don't set bool reference to
4268 parsed value unless err isn't failbit.
4269 (num_get::do_get(*)): Same, make consistent.
4271 Nathan Myers <ncm@zembu.com>
4272 Jim Parsons <parsons@clearway.com>
4273 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
4274 more grouping tests, tweak, scold, wine.
4276 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
4278 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
4280 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
4281 grouping bugs. Only allow thousands_sep if _M_use_groupings is
4284 via <llewelly@198.dsl.xmission.com>
4285 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
4286 out_of_range instead of range_error.
4288 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4290 * bits/std_iomanip.h (setw): Fix typo.
4292 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
4294 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4295 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
4296 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
4298 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4300 * docs/README.html: Reformat, more installation instructions.
4301 * docs/gccrebuild.html: New file.
4302 * docs/faq/index.html: Update for new testsuite output filenames.
4303 * docs/faq/index.txt: Regenerate.
4305 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4307 * Makefile.am (rebuild-stamp, all-local): New targets.
4308 * Makefile.in: Regenerated.
4309 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
4310 * aclocal.m4: Regenerated.
4311 * configure.in: Call new macro. Also do some sanity checks
4312 for combinations of --enable's that may not make sense.
4313 * configure: Regenerated.
4315 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
4317 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
4318 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
4319 correctly for hex-formatted input.
4321 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
4322 eofbit instead of eofbit | failbit.
4323 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
4324 ifstreams now are opened or'd with ios_base::in (as is correct).
4325 * bits/fstream.tcc (filebuf::seekoff): Simplify.
4326 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
4328 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
4330 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
4331 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
4333 (__basic_file::filepos_valid): Same.
4334 (__basic_file::filepos_beg): Same.
4335 (__baseic_file::get_fileno): New function.
4336 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
4337 feedback from LWG 49.
4338 * src/ios.cc: Move definition here.
4339 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
4341 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
4342 output part of internal buffer based on string size, so that
4343 _M_out_end is set consistently with filebufs. Correct comments.
4344 * bits/sstream.tcc (stringbuf::overflow): Update here too.
4345 * testsuite/27_io/stringbuf.cc: Changes.
4347 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
4349 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
4351 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
4353 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
4354 (ofstream::open): Add ios_base::out to openmode.
4356 * bits/locale_facets.tcc (_M_extract): Have consistency between
4357 istream::sentry and extractors, where failbit | eofbit is
4358 set. Don't change this, but instead change. . (do some formatting
4360 * bits/istream.tcc (istream::sentry): Only set eofbit.
4362 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
4364 * testsuite/27_io/istringstream_members.cc: New file.
4366 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
4368 * bits/istream.tcc (istream::sentry): Flush.
4370 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
4371 * configure: Regenerate.
4372 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
4373 that make clean will not delete it.
4374 * src/Makefile: Regenerate.
4376 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
4378 * mkcheck.in: Use host-specific invocation of size(1);
4379 GNU binutils isn't necessarily there (more's the pity).
4381 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
4383 * configure.in (LIBS): Better tests for solaris2.6.
4384 * configure: Regenerate.
4386 <vakatov@ncbi.nlm.nih.gov>
4387 * bits/std_sstream.h: As per libstdc++20.
4389 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
4391 Break out configuration on solaris.
4392 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
4393 * config/solaris/ctype.cc: Delete and move to proper version.
4394 * config/solaris/bits: Same.
4395 * config/solaris/solaris2.5: Add this directory, with subdir bits
4396 and file ctype.cc. Probably doesn't work.
4397 * config/solaris/solaris2.6: Same.
4398 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
4400 * Makefile.am: Change paths to mkcheck.
4401 * Makefile: Regenerate.
4402 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
4403 * configure: Regenerate.
4404 * src/Makefile.am (generated_headers): Add bits/c++config.h.
4406 * mkcheck: Now autogenerated by configure and renamed. . .
4407 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
4408 Have longer-style dates.
4409 Raja R Harinath <harinath@cs.umn.edu>
4410 * mkcheck: Change path to #!/usr/clocal/bin/bash.
4412 * docs/README.html: Correct links, maybe. FAQ, install notes, and
4413 general documentation need to be organized around each other, not
4414 fight against each other. . .
4416 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
4417 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
4419 * README: Add a note referring to README.html.
4420 * docs/README.html: New file from Nicolai.
4421 * docs/faq/index.html: Move "how to get a copy" to here.
4422 * docs/gentop/footchunk.html: Update.
4423 * docs/gentop/headchunk.html: New links according to
4424 bkoz's idea for "How to..." stuff.
4425 * docs/gentop/thanks: Actually put people here.
4426 * docs/download.html: Regenerated.
4427 * docs/index.html, docs/links.html, docs/mail.html,
4428 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
4429 * docs/how.html: Ditto. (This file should go away soon.)
4431 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4433 * docs/gentop/status: Add snapshot version column, update
4435 * docs/status.html: Regenerated.
4437 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4439 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
4440 from installation FAQ, and specify location of text files.
4441 * docs/faq/index.txt: Regenerated.
4443 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
4445 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
4446 * docs/download.html: Regenerated.
4448 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
4450 * docs/faq/index.html: Update 'what works' for .7 snapshot,
4451 clean up various links.
4452 * docs/faq/index.txt: Regenerated.
4453 * docs/gentop/gentop: Smarter regeneration script.
4454 * docs/gentop/{head,foot}chunk.html: Updated with new
4455 contributors link and mod date.
4456 * docs/gentop/index: Snapshot relase date.
4457 * docs/gentop/thanks: New contributors page added.
4458 * docs/{download,how,index,links,mail,status,thanks}.html:
4459 Regenerated from gentop; thanks.html created.
4461 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4463 * bits/c++config.h.in (__GLIBCPP__): 19991221.
4464 * docs/index.html: Add correct information.
4466 * config/irix: New directory.
4467 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
4468 * config/irix/bits/ctype_base.h: And here.
4470 * config/aix: New directory.
4471 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
4472 * config/aix/bits/ctype_base.h: And here.
4474 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
4476 * bits/basic_string.h: Add special case handling for integral
4478 * bits/std_string.h: include type_traits.h
4479 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
4481 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4483 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
4485 * bits/std_fstream.h (sync): And here.
4486 * testsuite/27_io/filebuf.cc: Revisions.
4487 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
4488 at the end of the file.
4489 * testsuite/27_io/filebuf-3.tst: Correct.
4491 1999-12-21 Phil Edwards <pedwards@jaj.com>
4493 * docs/gentop/index: Hold off on .7 announcement date.
4494 * docs/index.html: Regenerate.
4496 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
4498 * bits/std_fstream.h (sync): Move _M_file->sync() to
4499 _M_really_overflow().
4500 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
4501 as to get the _M_file->sync action, which forces the external
4502 buffer to update itself.
4503 (underflow): Same here.
4505 1999-12-21 Phil Edwards <pedwards@jaj.com>
4507 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
4508 * acconfig.h: ...to here.
4509 * config.h.in: Regenerate from aclocal.
4510 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
4511 * aclocal.m4: Regenerate from acinclude.
4512 * configure.in: Use ENABLE macros here.
4513 * configure: Regenerate.
4514 * src/Makefile.am: Use results from ENABLE macros.
4515 * src/Makefile.in: Regenerate.
4517 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4519 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
4520 check" and not "make check-install." Temporarily hack in linux
4523 * bits/std_streambuf.h: Tweaks.
4524 * bits/streambuf.tcc (xsgetn): Tweaks.
4525 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
4526 * bits/fstream.tcc (filebuf::underflow): Simplify.
4527 * bits/std_sstream.h (streambuf::underflow): Minor change to make
4528 checks for read position precisely implement the standard.
4529 * bits/basic_file.h (filepos_cur): Base this on _offset.
4530 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
4531 * testsuite/27_io/filebuf.cc: Tweak.
4533 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4535 * docs/17_intro/RELEASE-NOTES: Fix typos.
4537 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
4538 out platform-specific bits.
4539 * config/default/ctype.cc: And here.
4540 * config/defaults/bits/ctype_base.h: And here.
4541 * config/linux/ctype.cc: And here.
4542 * config/linux/bits/ctype_base.h (ctype_base): And here.
4543 * config/solaris/bits/ctype_base.h (ctype_base): Add
4544 __to_type. Comment, as it looks like this is for solaris2.6 and
4545 above: solaris2.5.1 doesn't seem to have the same definitions.
4546 * config/solaris/ctype.cc: And here.
4548 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4549 Ulrich Drepper <drepper@cygnus.com>
4551 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
4553 * src/locale.cc: Take out platform-specific hacks.
4554 * config/linux/ctype.cc: Put here.
4555 * config/solaris/ctype.cc: Put here.
4556 * config/default/ctype.cc: Put here.
4558 * bits/locale_facets.h: Take out platform-specific hacks.
4559 * config/linux/bits/ctype_base.h: Put here.
4560 * config/solaris/bits/ctype_base.h: Put here.
4561 * config/default/bits/ctype_base.h: Put here.
4563 * configure.in: Bump version.
4564 Add tests for top-level config directory.
4565 * configure: Regenerated.
4566 * src/Makefile.am (INCLUDES): Add platform-specific dir.
4567 * src/Makefile: Regenerate.
4569 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4570 Ulrich Drepper <drepper@cygnus.com>
4572 * bits/locale_facets.h: Hack in solaris support.
4573 * src/locale.cc: Here too.
4575 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4577 * docs/17_intro/TODO: Update
4578 * docs/17_intro/RELEASE-NOTES (New): Update.
4580 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4582 * bits/c++config.h.in (__GLIBCPP__): Bump.
4583 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
4584 * docs/17_intro/TODO: Update.
4586 * bits/locale_facets.h: Touch this too.
4587 * bits/localefwd.h: Add typedefs for loooooong vector names.
4588 * bits/locale_facets.tcc (locale::operator()): Need parens.
4589 (has_facet): Simplify.
4590 * src/locale-inst.cc: Add instantiations.
4591 * src/locale.cc: Tweaks.
4593 * bits/std_streambuf.h: Move indeterminates into. .
4594 * bits/std_fstream.h: Here.
4595 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
4597 * bits/sstream.tcc: Very minor formatting tweaks.
4598 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
4599 input buffer, set _M_buf to offset.
4600 * bits/istream.tcc (std): Tweaks.
4601 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
4603 * testsuite/27_io/filebuf.cc: Tweaks.
4605 1999-12-17 Phil Edwards <pedwards@jaj.com>
4607 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
4608 * configure: Regenerate.
4609 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
4610 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
4611 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
4613 1999-12-17 Phil Edwards <pedwards@jaj.com>
4615 * docs/21_strings/stringtok_std_h.txt: New algorithm
4616 suggested by Chris King.
4617 * docs/21_strings/howto.html: Link to new version.
4619 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4621 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
4623 * docs/17_intro/TODO: Update.
4625 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
4627 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
4628 * docs/gentop/gentop: Ditto.
4629 * docs/gentop/headchunk.html: Ditto.
4630 * docs/*.html: Regenerated from gentop.
4631 * docs/*/howto.html: Updated as test.
4632 * docs/faq/index.html: Updated, fixed CRLFs.
4633 * docs/faq/index.txt: Regenerated.
4635 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4637 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
4639 * bits/std_complex.h
4640 (complex<float>::complex(const complex<double>&),
4641 complex<float>::complex(const complex<long double>&)): Define.
4643 * docs/17_intro/TODO: Update.
4645 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
4647 * bits/istream.tcc (seekg): Don't set _M_gcount.
4649 * bits/fstream.tcc (filebuf::underflow): Re-sync
4650 external byte sequence's input buffer only. . .
4651 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
4652 tellg, seekg and filebufs.
4653 (test05): Same for stringbufs.
4654 * testsuite/27_io/istream_unformatted-2.tst: New file.
4655 * testsuite/27_io/istream_unformatted-1.tst: New file.
4656 * testsuite/27_io/istream_unformatted-1.txt: New file.
4657 * testsuite/21_strings/inserters_extractors.cc (test05): Change
4660 1999-12-13 Phil Edwards <pedwards@jaj.com>
4662 * docs/gentop/*: New directory, containing bits for the homepages.
4663 * docs/*.html: Regenerated from gentop.
4664 * docs/*/*.html: Entries added and regenerated.
4666 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
4668 Efforts to get -O2 to work with -Winline -Werrors.
4669 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
4670 _Tp&): Remove inline declaration, as cannot be inlined and
4671 -Winline -Werror complains. An interesting question is why this
4672 cannot be inlined, as I can see no real reason to disqualify it.
4673 (__valarray_product(const _Tp*, const _Tp*)): Same here.
4674 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
4676 * docs/17_intro/TODO: Update.
4678 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
4680 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
4682 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
4683 the resultant position.
4684 * bits/fstream.tcc (seekoff): Explicitly set return value to
4685 resultant external byte sequence position, not value returned from
4686 _M_file->seekoff. Need to make
4687 (seekpos): New definition.
4689 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
4690 just istream. Necessary, or else tellg will give an invalid stream
4691 position, but seekg will return a valid stream position, which is
4692 not groovy: see testcase addition.
4693 * bits/ostream.tcc (seekp): Same.
4695 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
4696 * bits/sstream.tcc: Tweaks.
4697 * bits/locale_facets.tcc: Tweaks.
4698 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
4699 Re-write in a way that is easier for the inliner to work with.
4700 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
4702 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
4704 * bits/locale_facets.tcc: Tweaks.
4705 * bits/locale_facets.h (use_facet): Can't inline, remove inline
4707 * bits/localefwd.h: And here.
4708 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
4709 * bits/ostream.tcc: Put here.
4711 Frank Ch. Eigler <fche@cygnus.com>
4712 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
4714 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4716 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
4717 in and out buffers update independantly.
4719 * bits/basic_ios.h: Minor formatting.
4720 * bits/fstream.tcc (std): Fix indentation.
4722 1999-12-08 Chip Salzenberg <chip@valinux.com>
4724 * bits/char_traits.h (char_traits<>): Move not_eof() functions
4725 after corresponding eof() functions, so they're easier for the
4727 * bits/locale_facets.h (money_base::__default_pattern): Move
4728 static variable out of inline functions.
4729 (_Moneypunct<>::do_{pos,neg}_format): Use it.
4730 * src/locale-inst.cc (money_base::__default_pattern): Define it.
4732 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4734 * bits/std_fstream.h (filebuf::open): Tweak.
4735 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
4736 * bits/std_ios.h: Minor tweaks for headers.
4738 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
4740 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
4741 * src/string-inst.cc: Add guards . . .
4742 * src/misc-inst.cc: And here.
4743 * bits/std_sstream.h: And here.
4744 * bits/std_fstream.h: And here.
4745 * bits/std_streambuf.h: And here.
4746 * bits/std_istream.h: And here.
4747 * bits/std_ostream.h: And here.
4749 1999-12-06 Scott Snyder <snyder@fnal.gov>
4751 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
4753 (basic_istream::readsome): And here as well.
4754 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
4757 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
4759 * bits/istream.tcc (basic_istream::ignore): streamsize is not
4760 necessarily an `int'.
4762 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4764 * mknumeric_limits: Don't use $CXXFLAGS when building
4765 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
4766 generally instructs the compiler not to emit template
4767 instantiations and we end up with undefined symbols. Sigh.
4769 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
4771 * bits/locale_facets.tcc: Tweak.
4772 (_S_format_long): Adjust showpos formatting for hex and oct.
4773 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
4774 and oct by formatting as unsigned.
4775 (operator<<(int)): Same here.
4776 * bits/ostream.tcc (operator<<(long)): Same.
4777 (operator<<(long long)): Same.
4778 (_S_pad_char): Actually treat ios_base::internal as something
4779 worth doing correctly. Remove const designation on ios argument.
4780 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
4781 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
4783 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
4785 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
4787 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
4789 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4791 * bits/sstream.tcc (streambuf::seekoff): Add parens.
4792 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
4793 (operator>>(istream, _CharT*)): Change streamsize to int_type.
4794 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
4795 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
4797 (ostream::operator<<(_CharT)): Fix.
4799 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
4800 see if this will increase compile speed.
4801 * bits/std_ostream.h: Likewise. . .
4802 * bits/std_istream.h: And here.
4803 * bits/std_fstream.h: And here.
4804 * src/misc-inst.cc: Add relevant header file includes for
4805 instantiation purposes.
4806 * src/string-inst.cc: And here.
4807 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
4809 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
4811 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4812 * bits/istream.tcc (get(streambuf)): More fixes.
4813 (istream::ignore): Get specific about numeric_limits<int>::max()
4816 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
4817 (filebuf::close): Same.
4818 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
4820 1999-12-01 Phil Edwards <pedwards@jaj.com>
4822 * mkcheck: Support for compilation/execution timing.
4823 * testsuite/printnow.c: New file.
4825 1999-12-01 Phil Edwards <pedwards@jaj.com>
4827 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
4828 * configure.in: Test for presence of wchar.h before testing
4829 for any of its features.
4830 * configure: Regenerate.
4832 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
4834 Preliminary istream validations complete.
4835 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
4836 formatting more consistent. Removal of if-statements inside of for
4841 * bits/std_istream.h: Same.
4842 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
4843 * testsuite/27_io/stringbuf.cc: Tweak.
4844 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
4846 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
4847 failbit on failure, as per 27.6.2.5.2.
4849 * stl/bits/std_vector.h: Allow bool specializations. Should move
4850 ext/std_bvector to bits, not ext, maybe.
4852 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
4854 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
4855 * configure: Regenerate.
4857 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
4859 * bits/istream.tcc (get(streambuf, char)): Fix.
4860 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4862 1999-11-29 Scott Snyder <snyder@fnal.gov>
4864 * bits/basic_string.h (append(const _Char*, size_type)): The
4865 length of the appended string is given exactly by the second arg,
4866 regardless of the data in the character array.
4867 * bits/string.tcc (basic_string(const _CharT*, size_type, const
4868 _Alloc&)): Likewise.
4869 * testsuite/21_strings/append.cc (test01): Remove erroneous test
4870 of basic_string::append.
4872 1999-11-29 Chip Salzenberg <chip@valinux.com>
4874 * Makefile.in: Tweaks for CXXFLAGS.
4875 * */Makefile.in: Same.
4877 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4879 * conficd bgure.in: Check for wide character support.
4880 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
4881 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
4882 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
4884 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4886 * acinclude.m4: Fix typo.
4887 * src/complex.cc: Fix macro line continuation.
4889 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
4891 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
4892 string literals in format, as used in locale-facets.tcc.
4894 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
4896 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4897 * bits/istream.tcc (istream::get): Extract to argument minus one.
4898 Various tweaks and fixes.
4900 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
4902 * bits/locale_facets.tcc: Workaround for compiler crash on
4905 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
4907 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
4908 * configure.in: Use.
4909 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
4910 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
4911 * bits/std_complex.h: Use.
4912 * src/complex.cc: Use.
4914 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
4916 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
4917 * testsuite/21_strings/inserters_extractors.cc: Likewise.
4918 * testsuite/22_locale/ctype.cc: Likewise.
4919 * testsuite/23_containers/multiset.cc: Likewise.
4920 * testsuite/23_containers/vector_ctor.cc: Likewise.
4921 * testsuite/26_numerics/binary_closure.cc: Likewise.
4922 * testsuite/27_io/fpos.cc: Likewise.
4923 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
4924 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
4925 * testsuite/27_io/istream_extractor_char.cc: Likewise.
4926 * testsuite/27_io/istream_extractor_other.cc: Likewise.
4927 * testsuite/27_io/istream_sentry.cc: Likewise.
4928 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
4929 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
4930 * testsuite/27_io/streambuf.cc: Likewise.
4931 * testsuite/27_io/stringstream.cc: Likewise.
4933 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4935 * bits/valarray_meta.h: Don't forget to define tanh
4937 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
4939 * src/stl-inst.cc: Use typedef to refer to iterator
4940 * stl/bits/stl_algobase.h: Add traits based dispatch for
4941 __normal_iterator in the copy()algorithm
4942 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
4944 1999-11-18 Kevin Ediger <kediger@licor.com>
4946 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
4947 constructors for locale::_Impl exception safe.
4949 1999-11-18 Scott Snyder <snyder@fnal.gov>
4951 * stl/bits/stl_queue.h: The C++ standard gives the default for the
4952 _Sequence template argument of priority_queue<> as vector<>, not
4955 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
4957 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
4959 * bits/sstream.tcc: Adjust here too.
4961 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
4963 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
4964 * bits/istream.tcc (operator>>): Replace iostate(0) with
4965 iostate(ios_base::goodbit), which is the same thing, but hopefully
4967 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
4968 libraries issue list 17.
4969 (do_gets): Don't set goodbit explicitly, instead only set on
4970 failures as good bit is the default setting.
4971 * bits/ios_base.h (setf): Set correctly.
4972 * bits/fstream.tcc: Tweak.
4973 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
4974 in|out bufs that are empty. . .
4975 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
4977 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
4979 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
4980 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
4981 Add comments "all about _M_buf."
4982 (setg): Set _M_mode.
4984 1999-11-16 Kevin Ediger <kediger@licor.com>
4986 * bits/locale_facets.tcc (_S_build_float_format): New function.
4987 (_S_output_float): New function.
4988 (num_put::do_put(double)): Use 'em.
4989 (num_put::do_put(long double)): Use 'em.
4990 * testsuite/27_io/ostream_inserter_arith.cc: New file.
4992 1999-11-15 Scott Snyder <snyder@fnal.gov>
4994 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
4995 match how libio is calling us.
4996 * src/basic_file.cc (sys_seek): Likewise.
4997 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
4999 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5001 * docs/17_intro/contribute.html: Add link to assignment form.
5002 * docs/17_intro/libstdc++-assign.txt: New file.
5004 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5007 * bits/std_streambuf.h (_M_buf_bump): New function.
5008 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5009 (xsputn): Here. Also add checks for output valid.
5010 (xsgetn): Add checks for input valid.
5012 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5013 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5014 Set _M_out_end to variable-length-end.
5015 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5018 * bits/fstream.tcc (std): Tweak formatting.
5019 (filebuf::overflow): Simplify.
5020 (filebuf::showmanyc): Same.
5021 (filebuf::underflow): Same.
5022 * testsuite/27_io/filebuf.cc: Fix.
5023 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5024 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5025 * testsuite/27_io/stringbuf.cc: Tweak.
5026 * testsuite/27_io/streambuf.cc: Tweak.
5027 * testsuite/27_io/istream_extractor_other.cc: Fix.
5029 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5031 * stl_deque.h: Use static_casts<size_type>(signed_type).
5033 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5035 Cleanups for callbacks, more regression hunting. Remaining
5036 failures (1) due to last unresolved stringstream issues, not
5038 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5039 killing 27_io/filebuf.cc tests. . . need another solution.
5041 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5042 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5044 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5045 foils all attempts at a graceful, minimal implementation.
5046 * bits/basic_ios.tcc: Tweaks.
5047 * bits/istream.tcc: Fix.
5048 * bits/ostream.tcc: Fix.
5049 * bits/std_istream.h: Fix.
5050 * bits/std_ostream.h: Fix.
5051 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5053 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5054 (_S_pad_numeric): Make comprehensible.
5056 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5058 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5059 (_S_ostream_fcache): New function.
5060 Move functions out-of-line.
5061 * bits/ostream.tcc: Put here.
5063 * bits/std_istream.h: Add callbacks for _M_fnumget.
5064 (_S_istream_fcache): New function.
5065 Move functions out-of-line.
5066 * bits/istream.tcc: Put here.
5068 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5069 _M_call_callbacks(), as ios_base::imbue does this already.
5070 * src/ios.cc (register_callback): Clean.
5071 (_M_call_callbacks): Same.
5072 * bits/ios_base.h: Callback work.
5073 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5075 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5076 Matthias Klose <doko@cs.tu-berlin.de>
5078 * stl/ext/stl_rope.h: Fix initialization order.
5080 1999-11-09 Scott Snyder <snyder@fnal.gov>
5082 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5083 _M_file->sync() so that redirection works correctly.
5085 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5087 * bits/istream.tcc: Re-order.
5088 * bits/std_istream.h: Fix getline problems.
5089 * testsuite/27_io/istream_unformatted.cc: New tests.
5091 Clean up regressions.
5092 * bits/std_sstream.h: Set initial stringbufs correctly.
5094 1999-11-09 Scott Snyder <snyder@fnal.gov>
5096 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5098 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5101 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5103 * src/Makefile.am (CXXFLAGS): Add -Winline.
5104 * src/Makefile.in: Regenerate.
5106 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5108 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5109 building meta-expressions don't forget to take the contained
5112 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5114 * configure: Regenerate.
5116 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5118 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5120 * bits/valarray_meta.h (min): Likewise.
5121 * bits/valarray_meta.h (max): Likewise.
5123 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5125 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5126 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5127 * bits/streambuf.tcc: Define.
5128 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5129 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5130 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5131 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5133 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5134 reported by Richard Atterer.
5135 * bits/char_traits.h: For consistency's sake, here too.
5137 * configure.in: Bump version to 2.90.7.
5139 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5141 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5142 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5143 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5145 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5146 writing into buffer.
5149 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5151 * bits/valarray_array.h (__valarray_sum): New function.
5152 * bits/valarray_array.h (__valarray_product): Same.
5154 * bits/std_valarray.h (valarray<T>::product): Comment out.
5155 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5156 instead of accumulate.
5158 * src/valarray-inst.cc: Remove explicit intantiation of
5159 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5160 * src/valarray-inst.cc (__valarray_product): Instantiate
5162 * src/valarray-inst.cc (__valarray_product(const
5163 valarray<size_t>&)): New function.
5164 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5165 valarray<size_t>::product. Use __valarray_product instead.
5168 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5170 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5171 (_S_pad_char): New function. Not done: ios_base::internal.
5172 * bits/ostream.tcc: Clean for above.
5173 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5174 specialization that was commented out, as ostreams now have to
5175 correctly deal with padding.
5176 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5178 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5179 from mailing list. This is a bug, and should be fixed.
5180 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5182 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5184 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5185 to avoid conflict with gcc name mangling.
5186 * stl/bits/stl_algo.h (__transform): Same.
5188 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5190 * bits/ios_base.h: Change argument names.
5191 * docs/17_intro/BADNAMES: Add __opr.
5193 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5195 Work on compilation slowdowns from 10-5 to 10-12, which are
5196 related to the _Callback_list inlining/merge-ifcation, which is
5197 still a pending issue, but this stuff is necessary cleanup anyway.
5199 * src/ios.cc: Re-arrange.
5200 * bits/ios_base.h: Tweak.
5201 * bits/basic_ios.tcc: Move out of line definitions here, move
5202 small out-of-line definitions inline.
5203 * bits/basic_ios.h: From here.
5205 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5206 * bits/std_streambuf.h: From here.
5208 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5210 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5211 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5212 * bits/istream.tcc (operator>>(istream&, string&): Remove
5213 vestigial issspace hacks and use ctype::is instead.
5214 (getline): Remove unnecessary loops, fortify and pasteurize.
5217 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5219 * bits/istream.tcc (operator>>): Tweak.
5220 * bits/std_istream.h: Fix according to library issues list 68.
5223 * bits/locale_facets.h: Fix table_size to be non-zero.
5225 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5227 * src/basic_file.cc: ifdef instead of comment for binary mode
5229 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5231 * bits/std_sstream.h: Stringbuf initialization based on actual,
5232 not allocated, size.
5233 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5236 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
5238 * testsuite/26_numerics/c_math.cc (test03): Tweak.
5239 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
5241 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
5243 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
5245 * bits/std_istream.h: Tweaks.
5246 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
5247 as per issues list addition--set failbit, eof on empty buffers.
5248 * testsuite/27_io/istream_sentry.cc: New file.
5250 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
5252 * bits/std_cstdio.h: Remove Solaris hacks.
5254 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
5256 * docs/index.html: Fix minor typos and tweaks.
5257 * docs/17_intro/contribute.html: Ditto.
5258 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
5259 thread safety and binary I/O, links to external sites.
5260 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
5263 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
5265 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
5266 ::fabs(double) rather than ::abs(int).
5268 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
5270 * bits/std_streambuf.h: Fix minor blip--should explicitly return
5271 *gptr(), not the result of underflow.
5272 (pbackfail): Conform to default behavior.
5274 * bits/streambuf.tcc: Add out-of-line streambuf members.
5277 * testsuite/27_io/streambuf.cc: New file.
5278 * testsuite/27_io/filebuf.cc: Correct test.
5280 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
5282 * bits/std_cmath.h: Correctly cast int to double.
5283 * testsuite/26_numerics/c_math.cc: Add test.
5285 * mknumeric_limits (OUT_C): Tweaks.
5286 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
5287 trying to instantiate type_traits<wchar_t>.
5288 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
5289 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
5290 * configure: Regenerate.
5292 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
5294 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
5295 (streambuf::xsputn): Put in break.
5296 Aiming for parity between these two (mostly) similar functions.
5297 Need to re-write tests.
5299 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
5300 Make data members protected, not private.
5301 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
5302 ios_base.h. As called only once, collapse into . . .
5303 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
5304 (basic_ios::clear): Throw ios_base::failure on occasion.
5305 (basic_ios::exceptions): Fix.
5306 * testsuite/27_io/ios_members.cc (test02): Add tests.
5308 * bits/fpos.h: Default initialize.
5309 * testsuite/27_io/fpos.cc (test03): Add test.
5311 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
5313 * src/basic_file.cc: Fix open modes.
5315 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5317 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
5319 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
5321 * bits/streambuf.tcc: Yea. Fix this for real.
5322 * testsuite/27_io/ostream_inserter_other.cc: Add file.
5323 * src/Makefile.*: Regenerate.
5325 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
5327 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
5328 files so that stdtof and strtold will be declared. Some hacks
5329 already exits in bits/std_cctype.h -- these should all be removed
5331 * bits/locale_facets.tcc: Add cstring.h include.
5332 _S_format_long: Use long, not int.
5333 Add std_limits.h include, for numeric_limits.
5334 * testsuite/27_io/istream.cc: Make instantiations work when using
5336 * testsuite/27_io/ostream.cc: Same.
5338 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
5340 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
5341 a reference. Same for operators == and !=.
5342 * testsuite/27_io/fpos.cc: Add tests.
5344 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5346 * bits/valarray_array.h: Fix typo.
5348 * mknumeric_limits: Make sure we are regenerating things from
5349 scratch. Otherwise things get redefined. Not good.
5351 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
5353 * bits/std_ostream.h: Fix typo.
5354 * bits/std_istream.h: Same.
5355 * bits/std_iomanip.h: Same.
5357 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
5358 ostream, as happens with underflow anyway.
5359 * testsuite/27_io/istream.cc (main): New file.
5360 * testsuite/27_io/ostream.cc (main): New file.
5361 * testsuite/27_io/istream_unformatted.cc: Add tests.
5363 * src/Makefile.am (headers): Add new file.
5364 * src/Makefile.in (headers): Regenerated.
5366 * bits/basic_ios.h: Remove local-related files.
5367 * bits/basic_ios.tcc: New file, add locale-related items.
5368 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
5369 * testsuite/27_io/ios_members_static.cc: Change to
5370 * testsuite/27_io/ios_base_members_static.cc: This.
5371 * testsuite/27_io/ios_members.cc: New file.
5372 * testsuite/27_io/stdios_basefield_manip: Change to
5373 * testsuite/27_io/ios_manip_basefield.cc: This.
5374 * testsuite/27_io/stdios_fmtflags_manip: Change to
5375 * testsuite/27_io/ios_manip_fmtflags.cc: This.
5377 * bits/fpos.h: Fix discarding qualifiers on this when
5378 using _M_position with a const fpos.
5379 * bits/std_iosfwd.h: Tweak.
5380 * testsuite/27_io/fpos.cc: New file.
5382 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5384 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
5385 * bits/ostream.tcc: Tweak.
5386 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
5387 Add new regressions.
5389 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
5391 * bits/basic_ios.h: Inline, tweak.
5392 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
5393 pass back accurate return value to basic_filebuf::overflow.
5394 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
5395 This fixes sstream problems reported in libstdc++/9, but screws up
5396 filebufs. That solution is pending.
5398 1999-09-15 Vadim Egorov <egorovv@1c.ru>
5400 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
5402 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
5404 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
5406 * bits/c++config.h.in: Add emacs hints.
5408 * stl/bits/stl_range_errors.h: Don't define here, for now define
5409 in stdexcept.cc along with string inlines __length_error, etc.
5410 * src/stdexcept.cc: Define here.
5411 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
5412 at(size_t) will be declared/defined.
5413 (__STL_THREADS): Fix mess surrounding use of this, enable.
5415 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
5417 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5418 * src/localename.cc: Tweak formatting, fix assignment to
5419 const compiler errors.
5421 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
5423 * acconfig.h: Add absf, cosf.
5424 * configure.in (use_builtin_sinf): Same.
5425 * configure: Regenerate.
5426 * bits/std_cmath.h: Add mess of defines.
5427 * testsuite/26_numerics/modf_float.cc: Change to
5428 * testsuite/26_numerics/c_math.cc: This.
5430 * src/locale.cc: Change.
5431 * bits/locale_facets.h: Fix.
5432 * testsuite/22_locale/ctype.cc: Add temporary tests.
5434 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
5436 * bits/fpos.h: Test.
5438 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
5439 Fix database name for "libstdc++".
5441 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
5443 * mknumeric_limits (numeric_limits): Add default definitions to
5445 * testsuite/18_support/numeric_limits.cc: New file.
5447 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
5449 * bits/std_istream.h: Correct initialization.
5450 * bits/std_ostream.h: Likewise.
5451 * bits/std_sstream.h: Likewise.
5452 * bits/std_fstream.h: Likewise.
5453 * testsuite/27_io/stringstream.cc: Add test case.
5455 * bits/std_sstream.h: Replace ____string_type with __string_type.
5456 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
5457 * bits/std_ostream.h: Tweak dtor.
5459 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5461 * src/Makefile.am (CXXFLAGS): Add -O2.
5462 * src/Makefile.in: Likewise.
5464 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
5466 * mknumeric_limits (numeric_limits): Uglify.
5468 * bits/std_istream.h: Fix warnings.
5469 * bits/locale_facets.tcc: Collateral damage from
5470 char_traits<char>::int_type change.
5472 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
5474 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5476 * docs/index.html: Add mailing list form.
5477 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
5479 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
5481 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
5482 if overflow successfully allocates more space.
5483 * bits/std_sstream.h: Adjust comments.
5484 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
5485 before overflow forces a resize.
5486 * testsuite/27_io/ostream_inserter_char.cc: New file.
5488 * bits/std_fstream.h: Remove declaration.
5489 * bits/fstream.tcc: Move uflow.
5490 * bits/std_streambuf.h: To here.
5491 * bits/streambuf.tcc: Make consistent.
5493 * src/Makefile.am (WERROR): Enable.
5494 * src/Makefile.in: Regenerate.
5495 * bits/sbuf_iter.h: Tweak.
5496 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
5497 Use unsigned int as char_traits<char>::int_type.
5499 * bits/ostream.tcc (ostream::putc(char)): Tweak.
5500 * testsuite/27_io/iostream_objects.cc: Terminate string.
5501 Move cin::operator>>(char*) test to extractor_char.cc.
5502 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
5503 * bits/std_istream.h (basic_iostream): Make explicit definition
5505 * bits/std_sstream.h: Fix typos.
5506 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
5507 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
5508 initialized in a consistent manner, no matter if the underlying
5509 FILE/bit bucket is a tty or a text file or some other imaginary
5510 construct. This and setting _M_buf_size to 1 for cin allows
5511 istream::get(char) to work in a manner consistent with what others
5514 * docs/index.html: Link Stroustrup's C++ page.
5516 1999-08-12 Michael Cook <cook@sightpath.com>
5518 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
5519 * bits/istream.tcc: ditto.
5520 * bits/sbuf_iter.h: ditto.
5521 * bits/std_istream.h: ditto.
5522 * src/Makefile.am: Add -Wall to CXXFLAGS.
5523 * src/Makefile.in: ditto.
5525 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5526 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5528 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
5529 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
5531 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5533 * testsuite/27_io/istream_unformatted.cc: New file.
5535 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
5536 elaborate tests for int types with noskipws.
5538 * testsuite/27_io/istream_extractor_other-1.txt: New file.
5539 * testsuite/27_io/istream_extractor_other-1.tst: New file.
5540 * testsuite/27_io/istream_extractor_other-2.tst: New file.
5541 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5542 * bits/istream.tcc: Fix operator>>(streambuf*).
5544 * testsuite/23_containers/vector_ctor.cc (test01): Add.
5546 * docs/index.html: Remove references to egcs.
5547 * docs/17_intro/DESIGN: Same.
5548 * docs/17_intro/contribute.html: Same.
5549 * docs/17_intro/RELEASE-NOTES: Ditto.
5550 * docs/17_intro/howto.html: Same here.
5552 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5553 * stl/bits/stl_vector.h (_M_insert_aux):
5554 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
5555 decimal/floating point support.
5556 * bits/locale_facets.h: Change _M_extract prototype.
5557 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
5558 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
5560 1999-08-10 Michael Cook <cook@sightpath.com>
5562 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
5563 * bits/ios_base.h: ditto.
5564 * bits/istream.tcc: ditto.
5565 * bits/locale_facets.h: ditto.
5566 * bits/locale_facets.tcc: ditto.
5567 * bits/std_streambuf.h: ditto.
5568 * src/basic_file.cc: ditto.
5569 * src/locale.cc: ditto.
5570 * src/localename.cc: ditto.
5572 1999-08-10 Kirat Singh <singhki@jany.gs.com>
5574 * bits/std_iomanip.h: Inline.
5576 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
5578 * bits/std_streambuf.h: Correct member initialization order.
5579 * src/ios.cc: Add definitions for ios_base data members.
5581 1999-08-06 Phil Edwards <pedwards@ball.com>
5583 * docs/index.html: Seventh snapshot updates. Minor tweaks.
5584 * docs/faq/index.html: Ditto. Removed bugs sections that have
5585 been fixed for a long time... Lots of "egcs" references still
5587 * docs/faq/index.txt: Regenerated.
5589 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5590 Andreas Amann <amann@physik.tu-berlin.de>
5592 * testsuite/26_numerics/binary_closure.cc (main): new test.
5594 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
5596 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
5599 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5601 * docs/index.html (host): Put in testing status.
5603 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5605 * docs/index.html: Update for libstdc++-2.90.6 release.
5606 * docs/17_intro/RELEASE-NOTES (New): Update.
5607 * docs/17_intro/BUGS: Update.
5608 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
5609 * README (file): Update.
5611 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5613 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
5615 ($(generated_headers)): Same.
5616 * src/gen-c++config.cc: Remove, rename to
5617 * bits/c++config.h.in: New file. Bump version number.
5618 * configure.in: Generate bits/c++config.h at configure time.
5619 * math/mathconf.h: include bits/c++config.h, not config.h.
5621 * bits/std_cmath.h: Fix remaining link error for solaris shared
5622 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
5623 being, as on Solaris this silently calls sinf, which does not
5626 * src/complex.cc: More tweaks.
5628 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5630 * src/complex.cc: Same.
5631 * math/complex-stub.h: Change.
5632 * math/c_log10*.c: Change back to clog10*.c.
5634 * configure.in (NEED_C_LOG10): Delete.
5635 * configure: Regenerate.
5636 * math/Makefile.am: Change.
5638 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
5640 * math/Makefile.am: Fix, for real.
5641 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
5642 * math/clog.c: Move to c_log.c.
5643 * math/clog*: Ditto.
5644 * math/c_log10l.c (c_log10l): Change function name.
5645 * math/c_log10f.c (c_log10f): Change function name.
5646 * math/c_log10.c (c_log10): Change function name.
5648 * math/complex-stub.h: Change to c_log* variants.
5649 * src/complex.cc: And here.
5651 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5653 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
5654 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
5655 sequence, just the output sequence.
5656 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
5657 the original string, all others use complicated heuristic.
5659 * src/complex.cc: Assume c_log10.
5660 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
5661 symbols in shared libraries by making c_log/c_log10 part of the
5662 "must cmpile" sources. This may not work on solaris, must check.
5664 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5666 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
5667 * bits/std_istream.h: Fix char extractors.
5668 * testsuite/27_io/istream_extractor_char.cc: Change.
5669 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5671 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
5673 * bits/std_cctype.h: Fix for solaris2.6 builds.
5675 * bits/istream.tcc: Fix, thanks Alfred.
5676 * bits/std_istream.h: Formatting changes.
5678 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
5679 _IO_cleanup will not be undefined.
5680 * libio/*: Regenerate.
5682 * bits/basic_string.h: More namespace-safety stuff.
5683 * testsuite/27_io/istream_extractor_char.cc: Fix.
5684 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5685 * testsuite/27_io/iostream_objects.cc: Fix.
5686 * testsuite/27_io/ios_ctor.cc: Fix.
5687 * testsuite/27_io/istream_manip.cc: Make namespace safe.
5688 * testsuite/27_io/istream_extractor_other.cc: New file.
5690 * mkcheck (TESTS_FILE): Tweaks.
5692 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
5694 * src/gen-c++config.cc: Note here, change version.
5695 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
5696 * src/locale.cc: Used here.
5697 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
5699 * aclocal.m4: Regenerate by running `aclocal -I m4.`
5701 * bits/istream.tcc: Fix.
5702 * bits/std_istream.h: More changes to extractors.
5704 * testsuite/27_io/istream_extractor_char.cc: More.
5705 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
5706 error in testsuite construction.
5708 * bits/std_istream.h: Partially revert.
5709 * bits/std_ostream.h: Same.
5710 * bits/std_sstream.h: Revert.
5712 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
5714 * bits/std_sstream.h: Change initialization.
5715 * bits/std_ostream.h: Make default ctor/assign/operator= private.
5716 * bits/std_istream.h: Same, also correct sentry args.
5717 * bits/istream.tcc: Add correct sentry args.
5719 * testsuite/27_io/istream_extractor_char.cc: New file.
5720 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
5721 name changes making me dizzy.
5723 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
5724 Benjamin Kosnik <bkoz@cygnus.com>
5726 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
5729 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5731 * bits/std_complex.h: Tweak. Make the primary template class
5732 complex work with user-defined numerical types. Provide member
5733 definitions. Restructure.
5734 (class complex<float>): Uglify. Remove __value(). Rename __val
5735 to _M_value. Rename __complex_value_type to _ComplexT. Make it
5736 private. Remove dependency on __value(). Fix various explicit
5737 specialization syntax. Declare a some functions friend. Now the
5738 implementation is nearly comforming.
5739 (class complex<double>): Likewise.
5740 (class complex<long double>): Likewise.
5742 * src/complex.cc: Tweak. Remove dependency on complex::__value().
5743 (sin, sinh, tan, than): Fix call to corresponding C9x function
5746 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5748 * bits/istream.tcc (ws): Fix error with failbit being set.
5750 Disabled due to egcs/gcc-2_95 internal compiler errors.
5751 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
5752 -fnew-exceptions. Compiling with namespaces enabled will now be
5754 * mkcheck (CXX_FLAG): Same.
5755 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
5756 * bits/std_cctype.h: Not enough to just define in namespace std if
5757 ctype-isms are macros. Need to also define in namespace std:: if
5758 the C functions are just plain functions.
5760 * src/gen-num-limits.cc: Fix spelling inconsistencies.
5762 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5764 * docs/18_support/howto.html: Start documentation. Need to keep
5765 track of the ongoing discussion in th LWG reflector.
5767 * src/gen-num-limits.cc: Tweak.
5768 (class predicate): New class.
5769 (class value): Likewise.
5770 Make the whole machinery more flexible. Add comments.
5772 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5774 * bits/ios_base.h: Move state/exception functions into basic_ios.
5775 * bits/basic_ios.h: Same.
5776 * src/ios.cc: And here. Callbacks don't attempt to reset
5779 * bits/std_streambuf.h: Separate ios and streambuf locale data
5780 members and cached facets. Using this convention: _M_locale_buf for
5781 the streambuf-related classes, and _M_locale_ios for the ios
5783 * bits/fstream.tcc: And here.
5784 * bits/basic_ios.h: And here. Also, add cached ctype.
5785 * src/ios.cc: Ditto.
5786 * bits/ios_base.h: Ditto.
5787 * bits/std_istream.h: Use cached ctype facet.
5788 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
5791 * testsuite/27_io/ios_ctor.cc: New file.
5792 * src/ios.cc: Move _M_state init to basic_ios::init().
5793 * bits/basic_ios.h: To here.
5795 Attempt for some consistency in naming for testsuite/27_io/*.cc.
5796 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
5797 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
5798 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
5799 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
5801 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5803 * src/ios.cc: Tweak initializations of standard iostream
5804 objects to closely match the standard. Tie cin/wcin, set flags on
5806 * bits/char_traits.h: Change from size_t to int_type, as per
5807 standard. As per wide streams.
5808 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
5809 for caching a bunch of ctype info. For instance, ctype_base::space
5810 info needs to be stored somewhere, somehow.
5811 * bits/std_istream.h: Also here.
5812 * bits/std_ostream.h: Ditto.
5813 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
5814 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
5817 * bits/istream.tcc (ws): Fix.
5818 * testsuite/27_io/istream_manip.cc: New file, test ws.
5819 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
5821 * bits/basic_string.h: Provide a specialized member function for
5822 _S_find<char> using strchr.
5823 * src/string-inst.cc: Put specializations here.
5824 * bits/string.tcc: Small fix for find, remove typo.
5825 * testsuite/21_strings/find.cc (test01): Add tests to catch this
5828 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5830 * bits/basic_ios.h: Put into basic_ios namespace.
5833 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5835 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
5836 adjust _M_*_cur pointers inside the function, so callee doesn't
5838 * bits/sstream.tcc (stringbuf::overflow): Tweak.
5840 * mkcheck: Tweak. Add execution time field, even though it is not
5841 implemented yet. Simplify pass/fail status notation.
5843 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
5845 * configure.in: Check for float.h and underscored version of
5847 * acconfig.h: Add @BOTTOM@ section for handling underscored
5849 * configure: Regenerate.
5850 * config.h.in: Regenerate.
5851 * math/mathconf.h (float.h): Include conditionally.
5852 (M_PI): Define conditionally.
5853 (INFINITE_P): Define for Mingw.
5854 * bits/locale_facets.tcc: Workaround for compiler crash on
5856 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
5857 * src/locale.cc (bits/std_istream.h): Include.
5858 (bits/std_ostream.h): Likewise.
5860 1999-07-18 Phil Edwards <pedwards@ball.com>
5862 * docs/faq/index.html: Updated __black_count notes, fixed typos.
5863 * docs/faq/index.txt: Regenerated.
5865 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5867 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
5869 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
5870 newly-allocated buffer.
5871 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
5872 overflow condition bits.
5874 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
5876 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
5877 _M_buf_size to initial _M_string.size(), even though for
5878 ostringstreams it is pretty pointless. It's necessary for
5880 (stringbuf::str()): Adjust.
5881 (stringbuf::str()): Adjust, call _M_init_stringbuf.
5882 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
5883 overflow's possible success.
5884 (streambuf::xsputn): Adjust.
5886 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
5888 * testsuite/27_io/stringbuf.cc: Tweak.
5889 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
5891 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
5892 with other constructor tests to. . .
5893 * testsuite/23_containers/vector_ctor.cc: New file.
5895 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
5897 * testsuite/*: Changes to make the testsuit compilable with
5898 -fhonor-std. Contains direct qualification of library names with
5901 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5903 * bits/streambuf.tcc: Tweaks.
5904 (streambuf::xsputn): Optimize, fix for sstreams.
5905 (streambuf::xsgetn): Same.
5906 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
5907 correctly, handle overflow/reallocate conditions correctly.
5908 * bits/std_sstream.h: Fix typo.
5909 _M_init_stringbuf(): Fix _M_buf_size initialization.
5910 (stringbuf::str()): Construct return string if output has occurred.
5912 * bits/basic_string.h: Fix typo from yesterday's patch.
5914 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5916 * bits/string.tcc: _M_mutate - clear _M_state again.
5917 * bits/basic_string.h: In the three functions that return
5918 an iterator set _M_state to -1 before return.
5919 Also optimized two cases of operator+.
5921 1999-07-12 Phil Edwards <pedwards@ball.com>
5923 * docs/index.html: Expand egcs-1.1.2 notes/links.
5924 * docs/faq/index.html: And here. Add links to LWG issues-list.
5925 * docs/faq/index.txt: Regenerate. (lynx rocks)
5926 * docs/21_strings/howto.html: Fix notes on case conversion.
5927 * docs/21_strings/stringtok_h.txt: Goodly spelling...
5928 * docs/23_containers/howto.html: Stub for bitmasks.
5929 * docs/27_io/howto.html: Add section on buffering, stub binary.
5931 1999-07-12 Nathan Myers <ncm@cantrip.org>
5933 * stl/bits/stl_tree.h (__black_count): Optimize.
5935 1999-07-09 Vadim Egorov <egorovv@1c.ru>
5937 * src/basic_file.cc: Cleanup in __basic_file destructor.
5939 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
5941 * bits/std_streambuf.h: Changes. . .
5942 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
5943 basic_streambuf, to be used for both filebufs and streambufs.
5944 * bits/std_fstream.h (_M_init_filebuf): New function.
5945 Take out specialized xsputn, put into basic_streambuf.
5946 * bits/fstream.tcc: Define, call from both ctors.
5947 * bits/std_sstream.h (_M_init_stringbuf): New function.
5948 * bits/sstream.tcc: Tweak.
5950 * docs/27_io/iostreams_heirarchy.pdf: New file.
5952 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
5953 acceptance. Wooo-hoo!
5955 * bits/char_traits.h: Change int_type for char_traits general
5956 template, so that 21_strings/capacity.cc will compile.
5957 * testsuite/21_strings/capacity.cc: Add operators.
5959 * bits/string.tcc (string::compare): Clean up, re-implement.
5960 * testsuite/21_strings/compare.cc: Tweak.
5962 * bits/string.tcc (string:_M_mutate): Keep leaked value in
5963 _M_state, which means that whenever begin() or end() has been
5964 called, the string is unshareable, period. By doing this, insert
5965 and erase member functions that return iterators can remain
5966 footloose and fancy free.
5967 * testsuite/21_strings/invariants.cc: Update.
5969 * bits/basic_string.h (string::append): Fix self-referential
5970 problems, ie when "this" is also an argument to a member function.
5971 * bits/string.tcc: Tweak, same.
5972 * testsuite/21_strings/append.cc: New file.
5974 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
5976 * bits/char_traits.h: Tweaks.
5977 * bits/basic_string.h: Tweak.
5978 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
5980 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
5982 * bits/std_streambuf.h: Absorb/acquire data members previously
5983 working in basic_filebuf.
5984 * bits/streambuf.tcc: Tweaks.
5985 * bits/fstream.tcc: Adjust.
5986 * bits/std_fstream.h: Move and rename the following functions:
5987 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
5988 now declared and defined in the base class, basic_streambuf. Oh
5989 fuck it, move data members _M_buf, and _M_buf_size into
5990 basic_streambuf as well.
5992 * bits/ostream.tcc: Tweak.
5993 * bits/locale_facets.tcc: Fix typo in comments.
5995 * testsuite/21_strings/inserters_extractors.cc (test01): Change
5996 state from good to not good, as eof() is set.
5998 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6000 * bits/char_traits.h (char_traits::compare). Fix.
6002 * config.guess, config.sub: Update.
6004 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6006 * bits/string.tcc: Check the __res_arg for a length error.
6008 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6010 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6011 and related functions into basic_streambuf, from basic_filebuf to
6012 take care of ostringstreams and empty strings. So that's groovy,
6014 * bits/std_istream.h: Tweaks.
6015 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6016 * bits/std_ostream.h: And here.
6017 * bits/ostream.tcc: Same.
6018 * src/misc-inst.cc: Add instantiations for ws.
6020 * src/string-inst.cc: Add instantiations for inserters and
6021 extractors (operators << and >>, getline).
6023 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6024 a testcase for getline and operators << and >>. Ostream tests are
6025 failing right now, but istream tests should work. . .
6027 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6028 * bits/std_sstream.h: Revert.
6030 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6031 istream, ostream, streambuf, fstream, sstream].cc: New files.
6033 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6035 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6038 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6039 specializations for _CharT*, iterator and const_iterator.
6040 * src/string-inst.cc: Remove explicit instantiation, as
6041 now explicitly specialized.
6043 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6044 a default value set to 0.
6045 * bits/string.tcc: In _M_clone by the call of _S_create add the
6046 value of the new parameter to _M_length. In reserve check
6047 _M_state and use _M_clone instead of _M_mutate.
6049 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6051 * bits/basic_string.h: Fix _S_max_size.
6052 * bits/string.tcc: Add def here.
6053 * testsuite/21_strings/insert.cc: Fix.
6055 * bits/sbuf_iter.h: Remove detritus.
6056 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6058 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6059 to resolve alpha-osf4 build problems.
6061 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6063 * bits/string.tcc: Fix signed/unsigned issues in compares.
6064 * stl/bits/stl_deque.h: And here.
6065 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6067 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6069 * bits/string.tcc: New implementation and interface of _M_mutate.
6070 Adapt the change in all functions that call _M_mutate.
6071 * bits/basic_string.h: And here.
6073 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6075 * testsuite/21_strings/capacity.cc (test01): Fix.
6077 1999-06-29 Phil Edwards <pedwards@ball.com>
6079 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6081 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6083 * stl/bits/stl_vector.h: Fix.
6084 * testsuite/23_containers/vector_cons.cc: Add.
6086 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6088 * mknumeric_limits (LDFLAGS): fix.
6090 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6092 * mknumeric_limits (LDFLAGS): set it according to the system.
6094 * math/mathconf.h (NAN): Check whether host is running under
6095 Cygwin and make the appropriate definition.
6096 * math/complex-stub.h (nan): protect declaration.
6098 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6100 * bits/sbuf_iter.h: Rename internal data structure to prevent
6101 confusion between basic_ios and istreambuf_iterators internal
6102 basic_streambuf data member.
6103 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6105 * bits/basic_string.h: Remove conditionals, add input_iterator
6106 version of S_construct again.
6107 * bits/string.tcc: Same.
6108 * src/string-inst.cc: And add explicit instantiation here.
6110 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6111 and __USE_GNU macro defines, as single __USE_GNU use leading to
6112 confusion on glibc2.1 systems (ie, RedHat 6.0).
6114 * src/Makefile.am (headers): Add std_utility to installed headers.
6116 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
6118 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6120 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6122 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6124 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6126 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6127 macros to include _GLIBCPP as a distinct namespace.
6131 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6132 * bits/basic_string.h: Remove __get_c_string.
6133 * src/stdexcept.cc: Define ctor here.
6134 * bits/ios_base.h: And fix ios_base::failure as well.
6135 * src/ios.cc: Define here.
6137 * bits/std_streambuf.h: Add a private copy ctor and assignment
6138 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6139 * bits/ios_base.h: And here too.
6141 * bits/basic_string.h: Tweak.
6142 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6144 * src/valarray.cc: Rename to. . .
6145 * src/valarray-inst.cc: This.
6146 * src/Makefile.am (sources): Change here.
6147 * src/Makefile.in: Regenerated.
6149 1999-06-24 Vadim Egorov <egorovv@1c.ru>
6151 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6154 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6155 Tom Tromey <tromey@cygnus.com>
6157 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6158 Use AM_CONDITIONAL to get us out of this jam. .
6159 * libio/Makefile.am: Same.
6160 * */Makefile: Regenerated.
6162 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6163 John Potter <jpotter@eagle.lhup.edu>
6165 * stl/bits/stl_tree.h (insert_equal): Fix.
6166 * testsuite/23_containers/multiset.cc: New file.
6168 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6170 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6171 this works correctly on glibc-2 systems. This should allow
6172 simplified linking on these systems, and successful linking on Red
6174 * configure, Makefile: Regenerate.
6176 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6178 * testsuite/ext: New directory.
6179 * testsuite/ext/headers.cc: New file.
6181 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6183 * stl/ext/hash_set: include missing headers
6184 * stl/ext/hash_map: Same
6185 * stl/ext/slist: Same
6187 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6189 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6191 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6193 * src/Makefile.am (sources): Regenerate.
6194 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6197 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6199 * src/string-inst.cc: Change _S_construct signature, to
6200 track requested allocation size versus valid input iterator range.
6201 * bits/basic_string.h: Here too.
6202 * bits/string.tcc: And here.
6204 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6206 * mkcheck (LOG_FILE): Correctly append errors.
6208 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6210 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6211 to clarify differences between basic_string::_M_data() calls and
6212 _Rep::_M_data() calls.
6213 * bits/std_string.h: Fix.
6214 Put in check for out_of_range in substr.
6215 * bits/string.tcc: Fix for _S_find.
6217 * testsuite/21_strings/compare.cc: Add tests.
6218 * testsuite/21_strings/find.cc: New file.
6219 * testsuite/21_strings/substr: New file.
6220 * testsuite/21_strings/replace.cc: New file.
6222 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6224 * bits/valarray_array.h: __restrict__ify pointers.
6226 * bits/std_valarray.h: Tweak.
6227 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6229 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6231 * bits/gslice.h: Tweak.
6232 (class gslice::_Indexer): new class.
6233 (gslice::gslice(const gslice&)): implement copy-ctor to support
6235 (gslice::operator=(const gslice&)): support ref-counted index.
6236 (gslice::_M_convert_to_index): delete.
6238 * src/valarray.cc: New file.
6239 (__gslice_to_index): turn a gslice into a valarray<size_t>
6240 (ctor gslice::_Indexer::_Indexer): implement.
6242 * src/Makefile.am (sources): add valarray.cc
6243 * src/Makefile.in: regenerate.
6245 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
6247 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
6248 ctor): Put in a const_cast.
6250 * testsuite/21_strings/invariants.cc: New file.
6252 * testsuite/21_strings/insert.cc: Add exception handling bits.
6253 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
6255 * src/wstring-inst.cc: Add c++config.h include.
6257 * bits/basic_string.h: Fix const operator[] for size == pos.
6258 Add _M_leak for rbegin, non-const.
6259 Add _M_leak for rend, non-const.
6260 Make member function at standards conformant.
6261 Add _S_terminal to _Rep for operator[] const, add this into
6263 * bits/string.tcc: Add static member definition here,
6266 * testsuite/21_strings/element_access.cc: Add tests.
6268 1999-06-08 Vadim Egorov <egorovv@1c.ru>
6270 * bits/fstream.tcc (_M_really_overflow): Fixed size of
6273 1999-06-08 Phil Edwards <pedwards@ball.com>
6275 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
6276 caused when __testinit is true.
6277 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
6278 using rdbuf()->sputn rather than _M_fnumput->put.
6280 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6282 * testsuite/23_containers/bitset_ctor.cc: New file.
6283 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
6285 1999-06-08 Phil Edwards <pedwards@ball.com>
6287 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
6289 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6291 * testsuite/21_strings/element_access.cc: Finish off these tests.
6292 * testsuite/21_strings/insert.cc (test01): Uncomment.
6293 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
6294 * bits/basic_string.h: Tweak, okay, fix for real this time.
6295 * bits/string.tcc: Same.
6296 * bits/char_traits.h: Tweak.
6298 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6300 * bits/std_cmath.h: Example of how to use the generated macro.
6301 * acconfig.h: Add macro for sinf here.
6302 * configure.in (LIBS): Add test for builtin math function sinf.
6303 * configure: Regenerated.
6305 * bits/basic_string.h: Fix _S_max_size.
6307 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6309 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
6310 Remove _S_construct signature for forward_iterator_tag and
6313 * src/string-inst.cc: Same, tweaks.
6314 * bits/string.tcc: Same, tweaks.
6316 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
6317 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
6318 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
6321 * src/locale.cc: Final separation for char/wchar_t bits.
6323 1999-06-05 Phil Edwards <pedwards@ball.com>
6325 * docs/index.html: Added link to book upon request'n'agreement.
6326 * docs/23_containers/wrappers_h.txt: Added.
6327 * docs/{23_containers,27_io}/howto.html: Added sections.
6329 * bits/std_fstream.h: Tweak.
6331 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6333 * src/ios.cc: Same here.
6334 * bits/std_iosfwd.h: More wchar_t defines.
6336 * bits/basic_string.h: Tweaks.
6337 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
6338 when doing error checking, as per LWG defect #83.
6340 * src/gen-c++config.cc: Fix comment.
6342 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
6344 * testsuite/21_strings/element_access.cc: New file, checks for
6345 operator[], at(...).
6346 * testsuite/21_strings/insert.cc: New file, tests string::insert.
6347 * testsuite/21_strings/char_traits.cc: New file, tests
6348 for char_traits<char>.
6350 * bits/utility.h: Remove, again.
6351 * src/Makefile.am (std_headers): Remove utility.h.
6352 * src/Makefile.in (std_headers): Regenerate.
6354 Alfred Minarik <a8601248@unet.univie.ac.at>
6355 * bits/basic_string.h: Move __out_of_range and __length_error into
6358 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6360 * testsuite/26_numerics/modf_float.cc: New file.
6362 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
6363 typo: use ::modff, not ::modf.
6365 1999-06-03 Vadim Egorov <egorovv@1c.ru>
6367 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
6369 * testsuite/21_strings/capacity.cc (test01): Test.
6371 1999-06-03 Phil Edwards <pedwards@ball.com>
6373 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
6374 unused variables to within #if 0 blocks to do the same.
6375 * bits/std_fstream.h: Fix typos (one prevents compilation).
6377 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
6379 * src/wstring-inst.cc: Fix.
6381 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
6383 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
6384 * stl/bits/stl_string_fwd.h: Same.
6385 * bits/locale_facets.h: Same.
6386 * bits/locale_facets.tcc: Same.
6387 * src/wstring-inst.cc: And here.
6389 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
6390 problems on HPUX 10.20.
6391 * your-build-directory-here/bits/c++config.h: Just kidding, do it
6392 here as a temporary hack till the compiler/host problems get
6395 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
6396 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
6397 converting "long double" to struct long_double. Probably should be
6398 done with one macro (HAVE_STRTOLD) at configure time.
6400 * bits/std_cmath.h: Comment out pow(double, int) defintion as
6401 gives re-declaration under hpux10.20. Revert previous change, as
6402 kills linux/x86, solaris 2.7, hpux builds. These should be done
6403 using autoconf, see std_cctype.h and the solutions started in
6404 configure.in (see config.h for the generated file.)
6406 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
6407 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
6410 * docs/index.html: Add some useful links.
6411 * docs/17_intro/contribute.html: Fix broken links.
6413 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6415 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
6416 paths. The rest of the world should be able to run this script
6419 * src/Makefile.am ($(generated_headers)): Remove comment.
6420 * Makefile*: Regenerate.
6422 * bits/std_locale.h: Remove detritus.
6423 * bits/localefwd.h: Add <cctype> include to undefine the isspace
6426 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6428 * src/gen-c++config.cc: New file. Making c++config.h at configure
6429 time by catting this file (nee bits/config.h) with the build
6430 directories config.h. This is not a complete or perfect solution
6431 but is better than what was in place previously.
6432 * bits/c++config.h: Rename/move to above.
6433 * src/Makefile.am (headers): Remove c++config.h.
6434 (myinstallheaders). Add.
6435 * Makefile*: Regenerated.
6437 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
6438 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
6439 declared only if not present in the host's wchar.h.
6441 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
6443 * bits/std_cmath.h: Define out, for the moment. Linux has no
6444 __buitin_fsqrtl? Probably need some kind of configure trickery
6447 * src/Makefile.*: Regenerate.
6448 * bits/c++config.h: Add config.h include.
6450 * bits/std_cwchar.h: Remove remaining #error guard.
6452 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
6454 * configure.in (LIBS): Replace previous effort for mbstate_t and
6455 strtold/strtof with this implementation.
6457 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6459 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
6462 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
6464 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
6465 for determining mbstate_t differences across various hosts not
6468 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
6470 * bits/locale_facets.tcc: Change to ifdef.
6472 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
6473 * bits/std_fstream.h (filebuf::setbuf): Same.
6475 * bits/std_istream.h: Add ws declaration.
6476 * bits/istream.tcc: Stub out definition.
6478 * docs/index.html: Fix broken link for design.txt.
6480 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
6481 then set _G_NEED_MBSTATE_T.
6482 * configure: Regenerate.
6483 * bits/c++config.h: Move mbstate_t define.
6484 * bits/std_cwchar.h: To here.
6486 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6488 * bits/std_sstream.h:
6489 basic_stringbuf<>::basic_stringbuf: fix.
6490 basic_stringbuf<>::setbuf:
6491 remove the temporary __string_type object,
6492 remove the unnecessary dynymic_cast in the return value,
6493 change the type of the returned value from __streambuf_type*
6494 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
6496 1999-05-25 Phil Edwards <pedwards@ball.com>
6498 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
6500 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6502 * bits/std_cmath.h: Tweak. Add float versions of the math functions
6503 in <math.h>. <cmath> still incomplete and incorrekt.
6505 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6507 * mknumeric_limits (LDFLAGS): set appropriate link flags.
6509 1999-05-23 Phil Edwards <pedwards@ball.com>
6511 * docs/17_intro/howto.html: Added links to text docs,
6513 * docs/21_strings/howto.html: Updated sections and links.
6514 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
6515 * docs/faq/index.html: Updated what-works for sixth
6516 snapshot. Also a number of "internal" links have been
6517 fixed, now that the web pages are the docs directory...
6518 * docs/faq/index.txt: Regenerated.
6520 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6522 * bits/basic_string.h: Add Nathan's documentation on the string class.
6524 * testsuite/27_io/ios_members_static.cc: New file, for testing
6525 ios_base::sync_with_stdio.
6527 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6529 * bits/std_locale.h: Simplify includes.
6530 * bits/loccore.h: Delete.
6531 * bits/localefwd.h: Renamed, trimmed.
6532 * bits/locfacets.h: Delete.
6533 * bits/locale_facets.h: Rename, expanded.
6534 * bits/loccore.tcc: Deleted.
6535 * bits/locfacets.tcc: Deleted.
6536 * bits/locale_facets.tcc: Resultant merge.
6537 * bits/std_fstream.h: Modify include.
6538 * bits/ostream.tcc: Same.
6539 * bits/istream.tcc: Same.
6541 * src/locale-inst.cc: And here.
6542 * src/locale.cc: Ditto.
6543 * src/Makefile.am: Updated.
6544 * src/Makefile.in: Rengenerated.
6546 * bits/std_istream.h: Move istream::sentry ctor definition.
6547 * bits/istream.tcc: Move istream::sentry ctor here.
6548 Add more detailed locale include here for ctype member functions.
6549 * bits/ostream.tcc (std): And here.
6551 * bits/sbuf_iter.h: Include std_streambuf.h
6553 * bits/locfacets.h: Start separating this into a localeimp.h file.
6554 * bits/loccore.h: Start separating this into a localefwd.h file.
6555 Add std_climits for CHAR_BIT.
6557 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
6559 * bits/char_traits.h: Tweak.
6561 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
6563 * bits/std_ostream.h: Remove c++config.h include.
6564 * bits/std_istream.h: Same.
6565 * bits/std_streambuf.h: Same.
6566 * bits/std_fstream.h: Same.
6567 * bits/std_sstream.h: And here.
6569 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
6570 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
6571 * bits/fpos.h: Tweak, format.
6573 * std/ciso646: New file.
6574 * bits/std_ciso646.h: New file.
6575 * src/Makefile.am (std_headers): Add ciso646.
6576 (headers): Add bits/std_ciso646.h.
6577 * src/Makefile.in: Regenerate.
6578 * testsuite/17_intro/header_ciso646.cc: New file, disable
6581 * bits/fpos.h: Remove libio.h include.
6582 * bits/basic_file.h: And here.
6583 * bits/std_ios.h: Put here.
6585 * src/ios.cc: Simplify includes, tweak.
6586 * bits/std_ios.h: Simplify include order.
6587 * bits/ios_base.h: Modify ios_base::failure.
6589 * stl/bits/std_numeric.h: Change include from stl_iterator to
6592 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6594 * std/iostream: Remove static member __ioint.
6595 * bits/std_iostream.h: Put here.
6597 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
6598 * stl/bits/stl_algobase.h: Same.
6599 * testsuite/27_io/iostream_objects.cc: Regression tests.
6600 * testsuite/27_io/hello.cc: Remove, subset of above.
6602 1999-05-19 Phil Edwards <pedwards@ball.com>
6604 * docs/index.html: Tweak, update.
6606 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6608 * docs/17_intro/RELEASE-NOTES: remove outdated
6609 documentation about numeric_limits. Correct CXXINCLUDE setting
6612 1999-05-18 Phil Edwards <pedwards@ball.com>
6614 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6615 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6616 27_io}/howto.html: Created, with some initial entries.
6617 * docs/faq/index.html: Fixed some links.
6618 * docs/faq/index.txt: Regenerated.
6620 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6622 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
6624 * docs/17_intro/RELEASE-NOTES: Update.
6625 * docs/index.html: Correct link to mailing list help page, update News.
6626 * docs/faq/index.html: Change fifth to sixth for snapshot.
6628 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
6629 install $(top_builddir)/bits/std_limits.h into
6630 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
6631 Makefile.am changes.
6632 * *Makefile*: Regenerate using automake.
6634 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
6635 * testsuite/27_io/filebuf.cc: Same.
6637 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6639 * docs/17_intro/CHECKLIST: update.
6640 * docs/17_intro/TODO: update.
6642 1999-05-17 Phil Edwards <pedwards@ball.com>
6644 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6645 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6646 27_io}/howto.html: Created, with some initial entries.
6647 * docs/faq/index.html: Fixed some links.
6648 * docs/faq/index.txt: Regenerated.
6650 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
6652 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
6653 * Makefile.in*: Regenerate.
6655 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6657 * bits/std_streambuf.h: Same.
6659 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
6660 * bits/locfacets.h (std): Same.
6661 * bits/sstream.tcc: Same.
6662 * testsuite/27_io/stringstream.cc: Tweak.
6664 * testsuite/27_io/filebuf.cc: Adjust.
6665 * testsuite/21_strings/capacity.cc (test01): Add more
6666 string::reserve tests.
6668 * bits/c++config.h: Remove broken CCTYPE.
6669 * bits/std_cctype.h: Tweak, remove de-macroization, enable
6670 sequestered topper implementation.
6671 * bits/std_cwctype.h: Same.
6673 * bits/missing.h: Remove.
6674 * bits/std_locale.h: Remove missing.h include.
6676 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
6678 * src/Makefile.am (headers): Add bits/std_cwctype.h.
6679 INCLUDES: Add top_builddir.
6680 * src/Makefile.in: Regenerate.
6682 * Makefile.am: Add check and check-install as new targets.
6683 * testsuite/make_check_libfree++: Move to. . .
6685 * configure.in: Tweak versions.
6686 * mknumeric_limits: Set paths correctly.
6688 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6690 * src/Makefile.in (myinstallheaders): add rule to install
6693 * bits/slice.h (class slice): don't const-qualify data members
6694 since the copy and assignment operator is implicitly used. The
6695 valarray specification is definitively a bad one.
6697 * Makefile.in (generate-limits-sources): fix typo.
6699 * docs/text/TODO: update.
6700 * docs/text/CHECKLIST: update.
6702 * bits/gslice.h (gslice): fix bugglet.
6703 (gslice::gslice): set _M_index_size to 0 whenever given lengths
6706 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
6707 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
6708 [Note: **/Makefile.in should be generated from the corresponding
6709 Makefile.am. The current situation is a litte chaotic. ]
6711 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6713 * mknumeric_limits: tweak.
6715 * Makefile.in (all): add target generate-limits-sources.
6716 (generate-limits-sources): make a directory bits/ in top_builddir
6717 where the generated std_limits.h is put; generate limitsMEMBERs.cc
6718 directly under $(top_builddir)/src. Remains to put the appropriate
6719 rule for installing std_limits.h.
6721 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
6722 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
6723 now generated at build-time in the build directory
6724 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
6725 * src/Makefile.am: reflect changes in src/Makefile.in
6727 1999-05-12 Phil Edwards <pedwards@ball.com>
6729 * docs/faq/index.html: Add more entries (5.4,5.5), finish
6730 all but one empty entry. Add links for HOWTOs, but no files yet.
6731 (Corrected HOWTO links are for bkoz's new scheme.)
6732 * docs/faq/index.txt: Regenerated.
6734 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
6736 * testsuite/17_intro/headers.cc: New file.
6737 * stl/bits/std_queue.h: Change stl_bvector.h include path.
6738 * bits/std_cwctype.h: New file.
6740 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
6742 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
6744 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
6745 Check __USE_MALLOC before defining specializations containing
6746 __default_alloc_template.
6747 * src/stl-inst.cc: Here too.
6749 * bits/basic_string.h: Change.
6751 * testsuite/make_check_libfree++: More tweaks.
6752 * testsuite/21/capacity.cc: New file.
6754 * src/string.cc: Rename to be consistent with other inst files.
6755 Rename to string-inst.cc.
6756 * src/string*.cc: Change include.
6757 * src/wstring.cc: Rename to wstring-inst.cc.
6758 * src/wstring*.cc: Ditto.
6759 * src/Makefile.in: Also here.
6760 * src/Makefile.am: Ditto.
6762 * src/traits.cc: Remove.
6763 * src/wtraits.cc: Same.
6765 Try a new way of organizing documentation, one with synchronicity
6766 between testsuites and docs subdirectories, and see who yelps.
6767 * docs/html: Remove, use chapter and subject specific directories
6768 instead of forcing things immediately into format of
6772 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
6773 directory and sort by filename and extension.
6774 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
6775 22_locale, 23_containers, 24_iterators, 25_algorithms,
6776 26_numerics, 27_io: Add.
6777 * docs/17_intro/*: Populate with all the text files. . .
6778 * docs/index.html: Construct.
6780 * testsuite/*: Update with same names as the docs subdir.
6781 * testsuite/results: Where to stash conformance results for the
6782 different snapshots, so that progress/size/speed issues can be
6785 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
6787 * src/string.cc: Add _S_copy_chars instantiation, as well as
6788 string::binary operators !=, ==, etc.
6790 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
6791 * src/Makefile.in (CXXFLAGS): Same here.
6792 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
6794 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6796 * src/string.cc: Add missing member functions to instantiation list.
6798 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6800 * src/misc-inst.cc: Remove unused string instantiations.
6802 * bits/string.tcc: Tweak, fix.
6803 * bits/basic_string.h: Format. Fix reported error with c_str().
6805 * testsuite/make_check_libfree++: Tweak for shared builds.
6806 * testsuite/21/operations.cc: New file for testing c_str() etc.
6808 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
6809 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6811 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
6812 an iterator class. Delineate pointer versus iterator differences
6814 * 23/vector_capacity.cc: New file, tests for above.
6816 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6818 * mknumeric_limits: Fix typo. 'unsigned lont' should read
6820 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
6821 generated by mknumeric_limits to the list. Now std_limits.h is
6823 * src/Makefile.in (generate-numeric-limits): new target to handle
6824 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
6825 (all): add target generate-numeric-limits.
6826 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
6827 (libstdc___la_SOURCES): add limitsMEMBERS.cc
6829 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6832 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
6833 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
6834 * bits/locfacts.h: Here.
6836 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6837 Ulrich Drepper <drepper@cygnus.com>
6839 Solaris build issues.
6840 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
6843 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
6844 float overloads to use the above macros. Account for the lack of
6845 strtold on some systems, and revert back to using sscanf.
6847 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6849 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
6850 Use strtoul/strtoull for unsigned types. Check the ranges for
6851 short/unsigned short and if necessary for int/unsigned int.
6853 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
6855 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
6856 to generate bits/std_limits.h now, as the SGI std_limits.h is
6857 being depricated. Not done, but should be done immediately: need
6858 to make sure this script is run as part of the configuration
6859 process, because without it "make" in a configured build directory
6860 will fail. Also tweaked: added a space for float_round_style, and
6861 used static_cast of zero to default-initialize, which should be ok
6862 according to the standard. (see 8.5 p5 and 20.1.3).
6863 * mknumeric_limits (OUT_C): Need this for x86 long
6866 * bits/basic_file.h: Include libio.h, not libioP.h.
6867 * src/basic_file.cc: And add libioP.h include here, so that
6868 _IO_init, et. al are well-declared.
6870 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
6871 headers, not source directory headers.
6873 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
6874 for ext/*. Also add basic_file.h.
6875 * src/Makefile.in (headers): Same.
6877 * bits/std_string.h: Reduce dependencies for faster
6878 pre-processing. Move istream and ostream specific defines into
6879 istream.tcc and ostream.tcc respectively.
6880 * bits/string.tcc: And here.
6881 * bits/basic_string.h: Move getline inline out-of-line, and to
6883 * bits/istream.tcc: Move string::getline and operator>> here.
6884 * bits/ostream.tcc: And here too.
6886 * bits/utility.h: Remove, as clashes with a standard header. Put
6887 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
6888 being, until this can be combined with SGI's approach.
6889 * bits/string.tcc: Add macros, as above.
6890 * bits/loccore.h: Add _Count_ones defines.
6891 * bits/std_string.h: And here too.
6892 * bits/std_locale.h: And here.
6893 * bits/std_ios.h: Take out include here.
6894 * src/Makefile.am (headers): Remove utility.h
6895 * src/Makefile.in (headers): Remove utility.h
6897 * stl/bits/*: Update to SGI STL 3.20.
6898 * stl/ext/pthread_alloc: Delete this file.
6900 1999-05-04 Phil Edwards <pedwards@ball.com>
6902 * docs/faq/html/index.html: Add more entries
6903 * docs/faq/html/index.txt: regenerated.
6905 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6907 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
6909 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
6911 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
6912 from Ulrich and Nathan. Remove extraneous string class usage,
6913 tweak, clean, simplify and consolidate with a eye towards removing
6914 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
6915 Not done: dealing with leading zeros, wchar_t work.
6916 * bits/locfacets.h: And here too.
6920 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6923 * docs/faq/: New directory.
6924 * docs/faq/html/: Likewise.
6925 * docs/faq/text/: Likewise.
6926 * docs/faq/html/index.html: New file.
6927 * docs/faq/html/index.txt: Likewise. Generated from
6928 docs/faq/html/index.html by lynx.
6930 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
6931 Ryszard Kabatek and Branko Cibej
6933 * bits/locfacets.tcc: Modify.
6935 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
6937 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
6938 conformant to 14882, wrap non-standard extensions with
6939 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
6940 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
6942 * testsuite/27/istringstream_formatted.cc: Add tests.
6944 * bits/locfacets.h: Remove cruft from _Format_cache, continue
6945 commenting, simplify.
6946 * bits/locfacets.tcc: Same.
6948 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6949 * bits/locfacets.tcc (num_get::do_get):
6950 Fix the sscanf format parameter
6951 for long long 'll' (as in C9X) instead of 'l'.
6952 Fix the order of sscanf format parameters: "%dl" --> "%ld".
6953 Change the type of the local variable '__conv' from 'string'
6954 to 'const char*' and adapt the change.
6956 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
6958 * bits/locfacets.h: Document _Format_cache, and name data members
6959 after the corresponding functions in numpunct. For instance:
6960 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
6961 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
6962 * bits/locfacets.tcc: Same.
6964 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
6965 stop parsing--store for later analysis.
6966 * testsuite/27/istringstream_formatted.cc: Add cases.
6968 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6970 * bits/valarray_meta.h: tweak.
6971 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
6972 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
6973 happy -- boggus warning.
6974 * bits/std_valarray.h: Fix.
6975 (valarray<T>::shift): Fix. Update comment.
6976 (valarray<T>::cshift): Fix.
6978 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
6980 * testsuite/27filebuf-2.txt: Delete.
6981 * testsuite/27/filebuf.cc: Put output files directly into the
6982 correct subdirectory (27).
6984 Alexandre Petit-Bianco <apbianco@cygnus.com>
6985 * testsuite/make_check_libfree++: Check generated (*.txt) file
6986 against stored results file (*.tst).
6988 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
6990 * bits/locfacets.tcc: Fix.
6992 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
6993 (filebuf::overflow): Simplify.
6994 (filebuf::xsputn): Correctly handle indeterminate state.
6996 * testsuite/27/istringstream_formatted.cc: Tweak.
6997 * testsuite/27/filebuf.cc: Tweak.
6998 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
6999 results file, please use this in the future to guarantee filebuf
7000 positioning accuracy.
7001 * testsuite/27/filebuf-2.tst: Same.
7003 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7005 * bits/fstream.tcc (filebuf::xsputn): Add.
7006 * bits/std_fstream.h: Declare.
7008 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7009 calls using ios_base::trunc.
7011 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7013 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7014 * testsuite/27/27stringstream.cc: Same.
7015 * testsuite/27/27stringbuf.cc: More tweaks.
7016 * testsuite/27/27filebuf-2.txt: Remove.
7018 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7019 BUFSIZE so that overflows/underflow can be tested with default
7021 * testsuite/27/27filebuf-1.tst: Add.
7023 * testsuite/*/*: Remove pre-pended chapter names, as they
7024 duplicate the chapter info contained in the enclosing directory
7027 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7029 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7030 to sputc conditions.
7032 * bits/ios_base.h: Define here.
7033 * src/ios.cc (ios_base::_M_clear): Remove hack.
7034 * bits/basic_ios.h: Fix rdstate().
7036 * bits/sstream.tcc (streambuf::seekoff): Fix.
7037 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7039 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7040 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7041 * testsuite/27/27stringstream.cc: Same.
7042 * testsuite/27/27stringbuf.cc: Same.
7043 * testsuite/27/27istringstream_formatted.cc: Same.
7044 * testsuite/27/27filebuf.cc: Same.
7046 * bits/locfacets.h: Remove specializations for messages<char> and
7047 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7048 * src/locale.cc: Remove definitions for above.
7049 * src/misc-inst.cc: Revert, take out iomanip.h include.
7050 * bits/std_iomanip.h: Tweak, format.
7052 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7054 * bits/loccore.h: Format, move inline.
7055 * bits/locfacets.tcc: Same.
7056 * bits/locfacets.h: Same.
7058 Ulrich Drepper <drepper@cygnus.com>
7059 * aclocal.m4: Re-generate.
7060 * configure, configure.in: Same.
7061 * m4/lc_messages.m4: New file.
7063 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7065 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7066 * bits/sstream.tcc: Tweak.
7068 * std/iostream: Put __ioinit inside macro guards.
7070 * src/stlinst.cc: Delete and move to . . .
7071 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7072 * src/Makefile.in: Change.
7073 * src/Makefile.am: Same.
7074 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7076 * testsuite/make_check_libfree++: Efficiently format for minimal
7077 space. Enforce stricter execution tests by enabling
7080 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7082 * docs/text/RELEASE-NOTES: Fix include typo.
7084 * src/Makefile.am (headers): Add istream.tcc.
7085 * src/Makefile.in (headers): Add istream.tcc.
7087 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7089 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7091 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7092 * bits/locfacets.h (num_get::_M_extract): New functin:
7093 consolidate logic for do_get(...) members.
7095 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7096 * testsuite/27/27istringstream_formatted.cc: Add.
7098 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7100 * src/basic_file.cc (__basic_file::open): Fix thinko in
7101 _G_HAVE_IO_FILE_OPEN bits.
7102 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7103 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7104 * src/complex.cc (FCT): Qualify all functions with global namespace.
7105 * src/locale.cc: Don't qualify memcpy and setlocale.
7106 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7107 (__length_error): Likewise, for length_error.
7108 * src/stlinst.cc: Qualify instantiations with std::.
7110 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7112 * C++STYLE: Add ChangeLog guidelines for member functions.
7115 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7116 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7117 docs/text and made less strident.
7119 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7120 * bits/std_fstream.h: Same.
7123 * bits/locfacets.h: Touch.
7125 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7127 * math/cexp.c (cexp): Use NAN instead of nan("").
7128 Reported by joel reed <joelreed@yahoo.com>.
7130 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7131 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7132 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7133 instead of #if cascades.
7134 * libio/genops.c: Likewise.
7135 * libio/ioseekoff.c: Likewise.
7136 * libio/ioseekpos.c: Likewise.
7137 * libio/strops.c: Likewise.
7138 Patch by Chip Salzenberg <chip@perlsupport.com>.
7140 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7142 * docs: New directory.
7143 * docs/html: Likewise.
7144 * docs/text: Likewise.
7145 * docs/image: Likewise.
7147 * bits/std_cmath.h: Add new functions.
7148 (abs): overload for long and double.
7149 (div): overload for long.
7151 * bits/valarray_array.h: Fix.
7152 * bits/gslice.h: Adjust friend.
7153 * bits/slice_array.h: likewise.
7154 * bits/valarray_meta.h: likewise.
7156 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7158 * bits/locfacets.h: More changes, for num_get for insertion
7159 operators for integral types. Comment fields in _Format_cache.
7160 * bits/locfacets.tcc: And here too: add preliminary long version.
7161 * testsuite/27/27istringstream_formatted.cc: Add cases.
7163 1999-04-13 Mark Elbrecht <snowball3@usa.net>
7165 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7166 AC_LC_MESSAGES macro.
7167 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7168 supports LC_MESSAGES.
7169 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7170 * src/locale.cc (locale::_S_normalize_category): Use the
7171 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7172 _G_NO_CLOCALE_HAS_MESSAGES.
7173 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7174 '?:' from '?:\\' so any path beginning with a drive name matches.
7176 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7178 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7180 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7182 * bits/locfacets.h: Tweak.
7183 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7185 * testsuite/21/21nonmember.cc: Same.
7186 * testsuite/21/21compare.cc: Fix license.
7187 * testsuite/27/27istringstream_formatted.cc: New file.
7189 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7191 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7192 _BinBase2: new template classes; put in there to work around a
7193 compiler limitation. The whole valarray architecture is now
7196 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7198 * bits/locfacets.tcc: Fix, format.
7199 * bits/locfacets.h: Fix.
7200 * src/locale.cc: Same, plus format.
7202 * bits/basic_string.h: Re-add definition here.
7203 * src/string.cc: Take out.
7205 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7207 * bits/std_valarray.h: tweak.
7208 * bits/valarray_array.h tweak. use _Expr.
7209 * bits/slice_array.h: likewise.
7210 * bits/gslice_array.h: likewise.
7211 * bits/mask_array.h: likewise.
7212 * bits/indirect_array.h: likewise.
7213 * bits/valarray_meta.h: tweak.
7214 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7215 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7216 _IClos: new template classes.
7217 _Meta: renamed to _Expr. Made template with args.
7218 _Constant: made template with two args.
7220 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7222 * bits/valarray_array.h: tweak.
7224 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7226 * bits/basic_string.h: Whoops--fix blip.
7228 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7230 Update to SGI STL 3.13
7231 * bits/basic_string.h: Add __get_c_string definition.
7232 * stl/bits/stl_range_errors.h: New file.
7233 * stl/bits/std_bvector.h: Same.
7234 * stl/bits/*: Update.
7236 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7238 * bits/slice_array.h: tweak.
7239 * bits/gslice_array.h: tweak.
7240 * bits/mask_array.h: tweak.
7241 * bits/indirect_array.h: tweak.
7242 * bits/valarray_array.h: tweak.
7243 (__valarray_copy): replace copy with memcpy.
7244 * bits/std_valarray.h: use __valarray_copy whenever possible.
7245 use __valarray_fill instead of fill.
7247 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7249 * src/gen-num-limits.cc: new file
7250 * mknumeric_limits: Ditto.
7252 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7254 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
7256 * bits/locfacets.h: Add num_get::get methods overloaded for int
7257 and short, to resolve ambiguous overloads in istream insertion
7260 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7262 * bits/std_istream.h: Fix.
7263 * bits/istream.tcc: Fix.
7265 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
7267 * testsuite/24/24iterator.cc: fix ++/-- tests
7269 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
7271 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
7272 * bits/ostream.tcc: Same.
7274 * bits/std_istream.h: Bring over ostream changes, implement member
7275 functions. Baseline.
7276 * bits/istream.tcc: New file.
7278 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7280 * bits/gslice.h (class gslice): fix friends template.
7282 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
7284 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
7286 * bits/ostream.tcc: Same.
7288 * bits/std_istream.h: Minor tweaks.
7290 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7292 * src/locale-inst.cc: Remove duplicate instantiations.
7293 * bits/locfacets.tcc: Tweak definitions of static member.
7295 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7297 * bits/std_fstream.h: Format: prepend "__" in front of
7298 non-standard typedefs.
7299 * bits/fstream.tcc: Match.
7300 * bits/std_streambuf.h: Format: prepend "__" in front of
7301 non-standard typedefs.
7303 * bits/sstream.tcc: Match.
7304 * bits/std_istream.h: Format.
7305 * src/locale-inst.cc: Add num_get instantiations.
7307 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
7308 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
7309 _M_streambuf instead. Make initializations sane. Fix
7310 allocation/deallocation of _M_streambuf.
7311 * bits/std_ostream.h: Fix initialization code.
7312 (ctor): Eliminate redundant this->init(), let base class initialize.
7313 (default ctor): New. Assume base classes already initialzed.
7314 * bits/std_istream.h: Parallel work to ostream.
7315 (ctor): Eliminate redundant this->init(), let base class initialize.
7316 (default ctor): New. Assume base classes already initialzed.
7317 Fix initialization of basic_iostream.
7319 * bits/std_fstream.h: While we're at it, make initializations sane
7320 here too. Now matches sstream.h.
7322 * bits/string.tcc: Fix crash in basic_string::compare.
7323 * bits/basic_string.h: And here.
7324 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
7326 * testsuite/make_check_libfree++: Check shared as well.
7327 * testsuite/27/27stringstream.cc: Add bits.
7328 * testsuite/27/27boolfmt.cc: Add bits.
7329 * testsuite/27/27octfmt.cc: Add bits.
7331 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7333 * configure.in (USE_LONG_DOUBLE): signbitl link error.
7335 * bits/locfacets.h: Fix errors that cause build problems
7336 with current egcs (template parameters have class scope).
7337 * bits/locfacets.tcc: Same.
7338 * src/locale-inst.cc: Same, clean.
7339 * src/misc-inst.cc: Same, clean.
7341 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7343 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7344 standard. Re-apply this previous patch.
7346 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
7348 * bits/basic_string.h: Use __normal_iterator<> for iterators.
7349 * bits/std_sstream.h: Support __normal_iterator<> iterators.
7350 * bits/string.tcc: Ditto.
7351 * src/misc-inst.cc: Ditto.
7352 * src/locale-inst.cc: Ditto.
7353 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
7354 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
7355 * testsuite/24/24iterator.cc: Add test cases for basic_string and
7358 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
7360 * bits/locfacets.tcc: Remove macro hack.
7361 * bits/locfacets.h: Tweaks.
7362 * src/misc-inst.cc: Weed out locale-related instantiations.
7363 * src/locale-inst.cc: Same.
7365 * RELEASE-NOTES: Make more changes.
7366 * bits/c++config.h: Bump version number.
7368 * testsuite/make_check_libfree++: Collect diagnostics.
7370 * bits/std_ostream.h: Fix ostream initialization/destruction
7371 problem, related to dtor cleanup and new cached facets, agggggggh.
7372 * bits/ostream.tcc: Tweak.
7373 * bits/locfacets.h: Remove all friends of iostream classes.
7374 * bits/ios_base.h: Same.
7375 * bits/streambuf.tcc: Tweak.
7376 * bits/std_streambuf.h: Tweak.
7377 * bits/std_fstream.h: Tweak.
7378 * bits/fstream.tcc: Tweak.
7379 * src/stdstreams.cc: Tweak.
7380 * src/ios.cc: Close streams.
7382 * math/Makefile.in: Add missing files for shared link errors.
7383 * math/Makefile.am: Same.
7385 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7387 * src/locale-inst.cc: More wchar_t instantiations.
7388 * src/misc-inst.cc: Missed a few bits.
7389 * testsuite/make_check_libfree++: Add static and shared runs.
7390 * src/ios.cc: Add clarity to ios_base::Init::~Init().
7392 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7394 * bits/std_ostream.h: Format, expunge, simplify. Add cached
7395 facets. Resolve link errors.
7396 * bits/ostream.tcc: Same.
7397 * src/misc-inst.cc: Add ostream, wostream instantiations.
7398 * src/Makefile.am: Add missing bits for stdstreams.cc.
7399 * src/Makefile.in: Same.
7400 * bits/std_iosfwd.h: Format.
7401 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
7402 num_put so that cached _M_fnumput pointer can be deleted in
7403 basic_ostream's dtor. Now everybody plays nice.
7405 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7407 * bits/gslice.h (class gslice): Make friends valarray,
7408 gslice_array and _GliceExpression.
7410 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
7412 * RELEASE-NOTES: Update.
7413 * src/ios.cc: Use do proper init.
7414 * bits/std_streambuf.h: Tweak.
7415 * bits/std_iostream.h: Take out static member.
7416 * std/iostream: Put here.
7417 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
7418 * bits/std_istream.h: Ditto.
7419 * bits/basic_ios.h: Format.
7420 * bits/ostream.tcc(write): Fix.
7421 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
7422 initialization of the fstream class.
7423 * src/stdstreams.cc: I'm baaaaaaaack.
7425 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7427 * bits/ios_base.h: Correct comments. Add ios_base::init()
7428 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
7429 * src/misc-inst.cc: Add instantiations here.
7430 * src/ios.cc: Clean.
7431 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
7432 * src/stdstreams.cc: Delete this file, as now unnecessary.
7433 * bits/fstream.tcc: Add missing initialization bits for ctor.
7434 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
7435 * src/Makefile.in (libstdc___la_OBJECTS): And here.
7437 * bits/streambuf.tcc: Tweak.
7438 * bits/sstream.tcc: Here too.
7440 * bits/fstream.tcc: And change definition as well.
7441 * bits/std_fstream.h: Change ctor.
7442 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
7443 * bits/basic_file.h: Add declarations.
7445 * testsuite/27/27hello.cc: New file.
7447 * bits/std_ostream.h: Move flush() inline.
7448 * bits/ostream.tcc: From here.
7450 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
7451 * bits/std_ios.h: Change include libio to only when necessary.
7452 * bits/fpos.h: Like here.
7453 * ios_base.h: And here.
7455 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
7456 * bits/locfacets.tcc: Same.
7457 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
7458 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
7460 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7462 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
7464 * bits/std_streambuf.h: Clean, tweak.
7465 * bits/std_fstream.h: Same.
7466 * bits/std_sstream.h: Same.
7467 * bits/streambuf.tcc: Move most member functions out-of-line.
7468 * bits/fstream.tcc: Same.
7469 * bits/streambuf.tcc: Same.
7471 * bits/basic_file.h(filepos_cur): Set correctly.
7472 (filepos_beg): Same.
7473 (seekpos): Change to __c_streampos.
7474 * src/basic_file.cc (std): Change to __c_streampos.
7476 * testsuite/27/27filebuf.cc: Round one is finished.
7477 * testsuite/27/27filebuf-2.tst: New file, final output should match.
7478 * testsuite/27/27filebuf-3.tst: Same.
7480 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7482 * bits/basic_file.h: Fix typo, add comments about what to expect
7483 from the various member functions in __basic_file.
7485 * bits/std_fstream.h: Re-do sync/underflow to work
7486 together. Change from sys_read to xsgetn and from sys_write to
7487 xsputn. As it should have been from the beginning. . .
7489 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
7491 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
7493 * bits/basic_file.h(file_beg): New function.
7496 * testsuite/27/27filebuf.cc: Test in, out, in | out.
7497 * bits/std_fstream.h: More _M_mode refinements.
7498 (synch): Add bits for out mode only.
7499 * bits/std_streambuf.h(xsputn): Correct for filebufs.
7500 * bits/std_sstream.h: Ditto.
7502 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
7504 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
7505 * testsuite/27/27filebuf.cc: Modify.
7506 * bits/c++config.h: Fix.
7508 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7510 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
7511 code in place that diverges from the final standard, but has been
7512 brought up on the library mailing list.
7514 * bits/std_fstream.h(underflow): Position all three internal
7515 buffer pointers at the same initial position. Re-implement with
7516 basic_filebuf abstraction.
7520 * bits/std_sstream.h: Move _M_mode down into base class
7522 * bits/sstream.tcc: Ditto.
7523 * bits/std_streambuf.h: Ditto.
7525 * testsuite/27/27filebuf.cc: Tweak.
7527 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
7529 * bits/std_sstream.h: Ditto.
7530 * bits/std_fstream.h: Fix blip.
7532 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7534 * C++STYLE: Add cases.
7535 * bits/std_fstream.h: Format.
7536 * bits/std_streambuf.h: Ditto.
7537 * bits/std_sstream.h: Ditto.
7539 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
7540 return type for _IO_file_seek and __basic_file::seek the same size.
7541 * bits/basic_file.h: Ditto.
7543 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7545 * bits/fstream.tcc: Add include guards.
7546 * src/misc-inst.cc: Add instantiations for shared libes.
7547 * src/locale-inst.cc: Add instantiaions for use_facet.
7548 * bits/loccore.h: Remove specialization foward decls for
7549 use_facet<ctype>: perhaps add the whole lot of them later on.
7550 * bits/std_fstream.h: Fix.
7551 * bits/locfacets.h: Ditto.
7552 * src/stdstreams.cc: Disable wide streams for now.
7554 * src/Makefile.am (CXXFLAGS): Change up.
7555 * src/Makefile.in (CXXFLAGS): Ditto.
7557 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
7559 * src/basic_file.cc: Change to ios_base::seekdir from int.
7560 * bits/basic_file.h: Ditto.
7561 * bits/locfacets.h : Fix blip with new guard macros.
7563 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
7565 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
7566 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
7568 * amm1/locale: Remove unused defines.
7569 * generic/locale: Ditto.
7570 * src/ios.cc: Ditto.
7571 * src/locale.cc: Ditto.
7572 * src/locale-inst.cc: Ditto.
7573 * src/localename.cc: Ditto.
7574 * src/stdstreams.cc: And here.
7576 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
7577 * bits/loccore.h: Simplify, clean, add wchar_t guards.
7578 * bits/loccore.tcc: Ditto.
7579 * bits/locfacets.h: Ditto.
7580 * src/locale-inst.cc: Ditto.
7581 * bits/locfacets.tcc: Add do_put long long here.
7583 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
7585 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
7586 * bits/basic_ios.h: Clean. Replace _M_strbuf with
7587 _M_streambuf. Use cached _M_cvt in basic_streambuf.
7588 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
7589 * bits/std_fstream.h: Tweak.
7591 * bits/char_traits.h: Remove fpos definitions from here. . .
7592 * bits/fpos.h: New file, put them here. Eventually, this may allow
7593 the severing of char_traits and fpos dependancies.
7594 * src/Makefile.in: Add fpos.h.
7595 * src/Makefile.am: Ditto.
7596 * bits/std_string.h: Add fpos.h include here.
7597 * bits/std_ios.h: And here.
7599 * bits/std_streambuf.h: Change _M_init to _M_initialized.
7600 * bits/ios_base.h: Remove cstdio include.
7601 * bits/std_ios.h: ... Place here.
7603 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
7605 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
7606 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
7608 * bits/basic_file.h: Comment, adjust arguments.
7609 * src/basic_file.cc: Ditto.
7611 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
7612 type: check and convert accordingly. Re-interpet "resultant stream
7613 position" to indicate external byte sequence location, not internal
7616 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
7618 * mkcshadow: And change copyright here.
7619 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
7620 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
7621 stl_thread.h, and stl_iterator_base.h.
7622 * src/Makefile.in (CXXFLAGS): Ditto.
7623 * stl/backward/pthread_alloc.h: Remove.
7625 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
7627 * bits/std_streambuf.h (sungetc): Use standard defs for putback
7629 * bits/std_fstream.h (pbackfail): Correct.
7631 (seekoff): Implement.
7633 * testsuite/27/27filebuf.cc: Add test cases.
7635 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
7637 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
7638 with the external buffers, and stop mucking around with setting
7639 and re-setting the external buf's pointers. Aka, clarity and
7640 simplicity rule the day.
7641 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
7642 Remove partial result and support code.
7644 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
7646 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
7647 list of function which have to be replaced.
7648 Remove expf from list of functions to test for.
7649 Define USE_LONG_DOUBLE in case the libm has partial support for long
7651 * Makefile.in: Regenerated.
7652 * config.h.in: Likewise.
7653 * configure: Likewise.
7654 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
7655 * libio/Makefile.in: Regenerated.
7656 * src/Makefile.in: Regenerated.
7657 * string/Makefile.in: Regenerated.
7658 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
7659 atan2f.c, expf.c, and $(EXTRA_yes).
7660 (EXTRA_yes): Add signbitl.c mycabsl.c.
7661 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
7662 (libmath_la_SOURCES): remove long double versions.
7663 * math/Makefile.in: Regnerated.
7664 * math/atan2f.c: New file.
7665 * math/copysignf.c: New file.
7666 * math/expf.c: New file.
7667 * math/hypot.c: New file.
7668 * math/hypotf.c: New file.
7669 * math/hypotl.c: New file.
7670 * math/cargf.c: Use correct function and macro names.
7671 * math/ccos.c: Likewise.
7672 * math/ccosh.c: Likewise.
7673 * math/ccoshf.c: Likewise.
7674 * math/ccoshl.c: Likewise.
7675 * math/cexp.c: Likewise.
7676 * math/cexpf.c: Likewise.
7677 * math/cexpl.c: Likewise.
7678 * math/clog.c: Likewise.
7679 * math/clog10.c: Likewise.
7680 * math/clog10f.c: Likewise.
7681 * math/clog10l.c: Likewise.
7682 * math/clogf.c: Likewise.
7683 * math/clogl.c: Likewise.
7684 * math/copysignf.c: Likewise.
7685 * math/csin.c: Likewise.
7686 * math/csinf.c: Likewise.
7687 * math/csinh.c: Likewise.
7688 * math/csinhf.c: Likewise.
7689 * math/csinhl.c: Likewise.
7690 * math/csinl.c: Likewise.
7691 * math/csqrt.c: Likewise.
7692 * math/csqrtf.c: Likewise.
7693 * math/csqrtl.c: Likewise.
7694 * math/ctan.c: Likewise.
7695 * math/ctanf.c: Likewise.
7696 * math/ctanh.c: Likewise.
7697 * math/ctanhf.c: Likewise.
7698 * math/ctanhl.c: Likewise.
7699 * math/ctanl.c: Likewise.
7701 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
7703 * testsuite/27/27filebuf.cc: Add cases.
7704 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
7705 * bits/std_streambuf.h: Simplify, always have one return statement.
7706 * bits/std_fstream.h: Tweak comments in underflow.
7708 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
7710 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
7711 * ltconfig: Likewise.
7713 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
7715 * src/locale.cc: Fix assert.
7717 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
7719 FIXME: Still need some kind of solution for undefined math symbols.
7720 * src/Makefile.in (locale-inst.lo): Compile with
7721 -fimplicit-templates to fix Solaris link problem.
7722 * src/Makefile.am: Ditto.
7723 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
7724 * libio/Makefile.am: Ditto.
7725 * src/locale.cc: Provide some kind of def for _S_tolower.
7726 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
7727 match ctype<char> for _S_tolower, _S_toupper, _S_table.
7729 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7731 * bits/loccore.tcc: Move member-template ctor inline...
7732 * bits/loccore.h: ...here.
7733 * src/locale-inst.cc: Add instantiation here.
7735 * testsuite/27/27stringstream.cc: Tweak.
7737 * bits/ostream.tcc: Include sbuf_iter.h.
7739 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
7740 passing to num_put, as num_put's first argument is an interator,
7743 * testsuite/make_check_libfree++: New file, runs through the
7744 existing test files in the testsuite directory and makes sure
7747 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
7749 * testsuite/21/21compare.cc: Fix typo.
7750 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
7751 Don't try to provide non-linux versions, since it's impossible to
7752 initialize their const references with the integer 0, no matter
7753 how we try to cast it.
7755 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7757 * bits/std_locale.h: Move std_vector.h dependency.
7758 * bits/std_ios.h: ...from here.
7759 * bits/std_string.h: ...and here.
7760 * src/locale.cc: ..to here.
7761 * bits/loccore.h: Ditto, add vector forward declaration,
7762 make locale::_Impl data members pointers not containers.
7763 * bits/loccore.tcc: Move out-of-line for now.
7764 * bits/locfacets.h: Move vector dependency from here...
7765 * bits/locfacets.tcc: ...to here.
7766 * src/localename.cc: ..and here.
7767 * src/locale-inst.cc: Add include of locfacets.tcc here.
7769 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
7770 * bits/basic_string.h: Can't use sizeof on an incomplete type.
7771 * bits/string.tcc: Tweak.
7772 * src/string.cc: And add __get_c_string def here.
7774 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
7776 * src/stlinst.cc: Add include of stl_config.h.
7778 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
7780 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
7781 * stl/bits/stl_config.h: Tweak, update.
7782 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
7784 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
7785 * stl/bits/std_functional.h: Ditto.
7787 * stl/bits/stl_string.h: New file, SGI's string
7788 implementation. For reference only, corresponding to string in
7790 * stl/bits/stl_char_traits.h: As above.
7792 * stl/bits/pthread_allocimpl.h: New file corresponding to
7794 * stl/bits/stl_pthread_alloc.h: New file corresponding to
7796 * stl/bits/stl_threads.h: New file.
7798 Note that SGI STL 3.12's file iterator.h is not used.
7799 * stl/bits/std_iterator.h: Ditto.
7800 * stl/bits/stl_iterator.h: Drop in replace.
7801 * stl/bits/stl_iterator_base.h: New file, drop in replace.
7803 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
7804 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
7805 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
7806 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
7807 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
7808 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
7809 preprocessor guards, but fixup include paths and names according
7810 to new directory layout).
7812 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
7814 * bits/std_fstream.h: Remove _M_open data member.
7815 * bits/fstream.tcc: Ditto.
7817 * src/locale.cc: Tweak.
7819 * bits/std_sstream.h: Simplify.
7821 * bits/std_streambuf.h: Simplify.
7822 (sputc): Use correct definition of "write area."
7824 * bits/std_fstream.h: Fix uflow.
7825 * src/basic_file.cc: Tweak.
7826 * testsuite/27/27filebuf.cc: Add tests.
7827 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
7829 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7831 * bits/ios_base.h: Make protected.
7833 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7835 * bits/ios_base.h: Changes in the class ios_base:
7836 Rename _M_exceptions member to _M_exceptions_data.
7837 Make the member functions rdstate(), clear(), exceptions()
7838 and exceptions(iostate) protected and add the "_M_" prefix.
7839 * src/ios.cc: Ditto.
7840 * bits/basic_ios.h: Adapt the changes from ios_base.
7842 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
7844 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
7845 * bits/fstream.tcc: Ditto.
7847 * bits/std_fstream.h (underflow): Resize deallocates memory and
7848 resets pointers in the internal cache according to new _M_buf. . dooh!
7849 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
7851 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7853 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7856 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
7858 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
7859 into account partial returns.
7860 (codecvt::do_out): Likewise.
7862 * bits/char_traits.h: Change streamsize to be a signed type, as
7863 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
7864 * bits/std_streambuf.h: Make
7865 in_avail() and showmanyc() have streamsize as return types, so
7866 that showmanyc()'s return of eof won't underflow in_avail's return
7867 value and give a bogus result.
7868 * src/misc-inst.cc: And more changes. . .
7870 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
7871 track of joint in/out pointers into the internal buffer.
7872 (sbumpc): Add check for _M_buf_unified.
7876 * testsuite/27/27filebuf.cc: Add cases.
7877 * testsuite/27/27stringbuf.cc: Add showmanyc case.
7879 * bits/std_fstream.h (close): Fix logic error.
7880 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
7881 (showmanyc): Add underflow component, to match the standard.
7883 * bits/fstream.tcc: Ditto.
7885 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7887 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
7888 * src/basic_file.cc: Ditto.
7889 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
7890 format for dealing with _IO_file in libio.
7892 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
7894 * src/basic_file.cc: Include fcntl.h.
7896 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7898 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
7900 * bits/std_streambuf.h: Redefine read posion.
7902 * bits/std_fstream.h: Temporary hack to get vtables working again.
7903 * bits/basic_file.h: Revert.
7904 * src/basic_file.cc: Ditto.
7905 * testsuite/27/27filebuf.cc: Tweak.
7907 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
7909 * bits/basic_file.h: Add showmanyc, underflow. .
7910 * src/basic_file.cc: Ditto.
7912 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
7915 * testsuite/27/27filebuf.cc: Add testcases.
7916 * src/basic_file.cc: Add O_CREAT to open calls with
7917 ios_base::trunc as part of the open mode.
7919 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7921 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
7923 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
7925 * src/ios.cc (clear): Correct typo.
7926 * bits/ios_base.h: Tweak spacing.
7928 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7930 * bits/basic_ios.h: fix basic_ios::fail()
7932 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
7934 * bits/basic_file.h: Include libioP.h from libio instead of here.
7935 * bits/iolibio.h: Remove.
7936 * bits/libio.h: Remove.
7938 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
7940 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
7942 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
7944 * Makefile.am (SUBDIRS): Add libio.
7945 * configure.in: Add rule to test for glibc2.
7947 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
7948 (libstdc___la_LIBADD): Add libio.la.
7950 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
7952 * bits/basic_file.h: Make new abstraction for underlying C library
7953 FILE, named __basic_file.
7954 * src/basic_file.cc: New file.
7955 * bits/os_raw.h: Delete.
7956 * src/os_raw.cc: Delete.
7957 * src/Makefile.in: Tweak.
7958 * src/Makefile.am: Tweak.
7959 * bits/iolibio.h: Add this here, for the time being.
7960 * bits/libioP.h: Ditto.
7962 * bits/ios_base.h: Delete unused defines.
7963 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
7964 strcpy to copy between the two buffers.
7966 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
7967 * testsuite/27/27filebuf.cc: New file.
7968 * testsuite/27/27filebuf-1.txt: Data file for above test.
7969 * testsuite/27/27filebuf-2.txt: Ditto.
7971 * bits/std_streambuf.h (uflow): Re-implement default.
7972 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
7973 Re-implement virtual functions.
7974 * bits/fstream.tcc: Delete unused mf's.
7976 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
7978 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
7979 * bits/std_fstream.h: Ditto.
7980 * src/stdstreams.cc: Ditto.
7982 * math/cpowl.c: Fix header typo with last change.
7984 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
7986 * COPYING: New file (GPL v 2).
7987 * LICENSE.STD: Remove.
7988 * ./*: Change license.
7990 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
7992 * bits/std_streambuf.h (std): Remove static on _M_init.
7993 * bits/streambuf.tcc (std): Ditto.
7995 * bits/std_fstream.h: Add changes as discussed with Nathan, including
7996 state_type and codecvt_type members, the allocation of an internal
7997 buffer, the streamlined codecvt calls, etc.
7999 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8001 * bits/std_sstream.h: Tweak.
8002 * bits/fstream.tcc: Remove unused stubs.
8003 * bits/std_fstream.h: Tweak.
8005 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8007 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8008 Remove unused _IO_* members, possibly put into filebuf, which may
8010 * bits/std_fstream.h: Add _M_flag.
8011 * bits/sbuf_iter.h: Tweak.
8013 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8014 * bits/ios_base.h: Use.
8016 * src/stdstreams.cc: Modify to reflect standard ctors for
8018 * src/misc-inst.cc: Ditto.
8020 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8021 underlying C library calls instead of the underlying unix
8023 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8024 string as per p.659.
8025 (_S_os_close): Model on fopen.
8026 (_S_os_read): Model on fread.
8027 (_S_os_write): Model on fwrite.
8028 (_S_os_seek): Model on fseek.
8030 * bits/ios_base.h: Tweak.
8031 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8032 * bits/std_sstream.h: Tweak.
8033 * bits/sstream.tcc: Remove old, uncalled code.
8034 * bits/std_fstream.h: Major reconstruction.
8035 * bits/fstream.tcc: Disable for the time being.
8037 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8039 * bits/basic_string.h: Fix insert method.
8040 * stl/bits/stl_iterator.h: Remove previous hack.
8041 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8042 * bits/std_sstream.h: Fix more regressions.
8043 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8045 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8047 * bits/basic_string.h: Tweak.
8049 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8050 that string::append can be instantiated. HACK--checkin
8051 basic_string::iterator class.
8053 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8055 * bits/std_sstream.h: Tweak.
8056 * bits/sstream.tcc: Tweak ctors.
8058 FIXME invalid friend defs. . WHERE ARE THEY??
8060 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8061 names for basic_streambuf data members.
8063 * bits/std_streambuf.h: Add getloc() initialization bits.
8064 basic_streambuf(): Initialize with global locale data.
8065 imbue(): Set _M_init.
8067 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8068 stream pos == pos_type(off_type(-1)).
8069 in_avail(): Complete default implementation.
8070 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8071 underflow, uflow, xsgetn, showmany, sync: Ditto.
8073 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8075 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8076 re-populate with in-line member functions that are too big. Add
8077 initialization for _M_init.
8079 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8081 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8082 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8085 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8087 * bits/c++config.h (_G_DEPRICATED): Add.
8088 (_G_USE_WCHAR_T): Add.
8089 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8090 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8091 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8092 * bits/std_fstream.h: Add comment for implementation.
8093 * src/streambuf.cc: Remove.
8094 * src/Makefile.in: Remove streambuf.lo.
8095 * src/misc-inst.cc: Tweak.
8097 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8099 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8100 * testsuite/27stringstream.C: Modify.
8102 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8104 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8105 (libstdc___la_SOURCES): Ditto.
8107 * bits/streambuf.tcc: Tweak.
8109 * src/streambuf.cc: New file, add out-of-line definitions for
8112 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8113 Comment out wchar_t versions of the buffer instantiations, for now.
8115 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8116 Remove template wrapper around _Streambuf_base.
8117 Move IO_* data members into _Streambuf_base.
8118 Move _Streambuf_base members into streambuf.tcc.
8120 * bits/c++config.h (_G_USE_LIBIO): Enable.
8122 1998-11-02 Nathan Myers <ncm@cantrip.org>
8124 * CHECKLIST: downgrade iterator implementations
8125 * DESIGN: fill out notes about unimplemented features
8127 1998-10-31 Nathan Myers <ncm@cantrip.org>
8129 * CHECKLIST: itemized list of all interfaces, and status of each.
8131 1998-10-30 Nathan Myers <ncm@cantrip.org>
8133 * RELEASE-NOTES: add notes about optional includes, linking, running
8134 * src/Makefile.am: handle header installs properly
8135 * src/Makefile.in: regenerate from new src/Makefile.am
8137 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8139 * bits/basic_string.h: Revert npos pending ciso646.
8140 * src/Makefile.am: Revert CXX flags for now.
8141 * src/Makefile.in: Ditto.
8143 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
8145 * bits/std_sstream.h: Re-order ctors to put base before member
8148 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8150 * stl/bits/std_memory.h: Fix typo.
8152 1998-10-30 Nathan Myers <ncm@cantrip.org>
8154 * src/string[A-Z]+.cc: change back to include "string.cc".
8155 * src/Makefile.am: revert filename changes. We need a different
8156 way to keep filenames in std/ from confusing Make.
8157 * bits/basic_string.h: define _S_max_size right, return it from
8158 string::max_size(); churn definition of npos again.
8159 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8160 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8161 * BUGS: clear cruft.
8162 * C++STYLE: Touchup for release.
8163 * CHECKLIST: Touchup for release.
8165 * LICENSE.STD: Add requirement to retain copyrights and to provide
8166 the license with any copies.
8167 * README: Update for release.
8168 * TODO: Minor touchup for release.
8169 * RELEASE-NOTES: prepare for release
8171 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8173 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8175 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8177 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8178 CXX to generate the shared object.
8180 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8182 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8184 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8185 2, from npos, solving infinite loop problems.
8187 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8189 * src/Makefile.am: Add rules to install headers.
8191 1998-10-29 Nathan Myers <ncm@cantrip.org>
8193 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8194 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8197 * shadow/bits/wrap_libio.h:
8198 * shadow/bits/wrap_unistd.h: New files.
8200 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8202 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8203 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8205 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8207 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8208 is not compiled with -fno-implicit-templates in effect.
8210 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8211 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8212 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8214 * src/stringADDPS.cc: Likewise.
8215 * src/stringADDSC.cc: Likewise.
8216 * src/stringADDSP.cc: Likewise.
8217 * src/stringADDSS.cc: Likewise.
8218 * src/stringBIST.cc: Likewise.
8219 * src/stringBOST.cc: Likewise.
8220 * src/stringCHTR.cc: Likewise.
8221 * src/stringEQPS.cc: Likewise.
8222 * src/stringEQSP.cc: Likewise.
8223 * src/stringEQSS.cc: Likewise.
8224 * src/stringEXTRA.cc: Likewise.
8225 * src/stringGEPS.cc: Likewise.
8226 * src/stringGESP.cc: Likewise.
8227 * src/stringGESS.cc: Likewise.
8228 * src/stringGETLI.cc: Likewise.
8229 * src/stringGTPS.cc: Likewise.
8230 * src/stringGTSP.cc: Likewise.
8231 * src/stringGTSS.cc: Likewise.
8232 * src/stringINSER.cc: Likewise.
8233 * src/stringLEPS.cc: Likewise.
8234 * src/stringLESP.cc: Likewise.
8235 * src/stringLESS.cc: Likewise.
8236 * src/stringLTPS.cc: Likewise.
8237 * src/stringLTSP.cc: Likewise.
8238 * src/stringLTSS.cc: Likewise.
8239 * src/stringMAIN.cc: Likewise.
8240 * src/stringNEPS.cc: Likewise.
8241 * src/stringNESP.cc: Likewise.
8242 * src/stringNESS.cc: Likewise.
8243 * src/stringSCOPY.cc: Likewise.
8244 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
8246 * src/wstringADDPS.cc: Likewise.
8247 * src/wstringADDSC.cc: Likewise.
8248 * src/wstringADDSP.cc: Likewise.
8249 * src/wstringADDSS.cc: Likewise.
8250 * src/wstringBIST.cc: Likewise.
8251 * src/wstringBOST.cc: Likewise.
8252 * src/wstringCHTR.cc: Likewise.
8253 * src/wstringEQPS.cc: Likewise.
8254 * src/wstringEQSP.cc: Likewise.
8255 * src/wstringEQSS.cc: Likewise.
8256 * src/wstringEXTRA.cc: Likewise.
8257 * src/wstringGEPS.cc: Likewise.
8258 * src/wstringGESP.cc: Likewise.
8259 * src/wstringGESS.cc: Likewise.
8260 * src/wstringGETLI.cc: Likewise.
8261 * src/wstringGTPS.cc: Likewise.
8262 * src/wstringGTSP.cc: Likewise.
8263 * src/wstringGTSS.cc: Likewise.
8264 * src/wstringINSER.cc: Likewise.
8265 * src/wstringLEPS.cc: Likewise.
8266 * src/wstringLESP.cc: Likewise.
8267 * src/wstringLESS.cc: Likewise.
8268 * src/wstringLTPS.cc: Likewise.
8269 * src/wstringLTSP.cc: Likewise.
8270 * src/wstringLTSS.cc: Likewise.
8271 * src/wstringMAIN.cc: Likewise.
8272 * src/wstringNEPS.cc: Likewise.
8273 * src/wstringNESP.cc: Likewise.
8274 * src/wstringNESS.cc: Likewise.
8275 * src/wstringSCOPY.cc: Likewise.
8276 * src/string.cc: Remove now unneeded #defines now.
8278 1998-10-29 Nathan Myers <ncm@cantrip.org>
8280 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
8282 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
8283 add definitions for double, long double, const void*.
8284 * bits/std_ostream.h: Move op<<'s back into class ostream,
8285 define some in-line.
8286 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
8287 string construction from input iterators that Brendan reported.
8290 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
8292 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
8294 * bits/valarray_meta.h (class _Constant): Move declaration to the
8295 top, so the rest of the file can grok it.
8296 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
8298 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
8300 (basic_stringstream::str, both instances): Likewise.
8302 1998-10-28 Nathan Myers <ncm@cantrip.org>
8304 * bits/locfacets.h: fix num_put<>::falsename()
8305 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
8306 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
8307 * bits/locfacets.tcc: touch up _S_group_digits.
8308 * src/misc-inst.cc: adjust _S_group_digits insts to match.
8310 1998-10-27 Nathan Myers <ncm@cantrip.org>
8312 * stl/bits/stl_config.h: Turn off long long support, for now.
8313 * src/locale-inst.cc: Instantiate num_put<> only for
8314 ostreambuf_iterator, num_get only for istreambuf_iterator.
8315 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
8316 add lots of new instantiations for num_put support function templates;
8317 remove junk about __match_parallel for ostreambuf_iterator.
8319 1998-10-27 Nathan Myers <ncm@cantrip.org>
8321 * bits/locfacets.tcc: Make num_put's digit grouping work.
8322 * bits/string.tcc: More uglification.
8323 * src/ios.cc: initialize format cache right
8325 1998-10-26 Nathan Myers <ncm@cantrip.org>
8327 * bits/basic_string.h: Uglify more names.
8328 * bits/fstream.tcc: Rewrite some filebut output handling.
8329 * bits/ios_base.h: Cosmetic.
8330 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
8331 Also, specialize its default ctor for optimal default case.
8332 #ifdef out "long long" prototypes for now.
8333 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
8334 implementation for integer types. (Still needs optimized
8335 std::copy() applied to ostreambuf_iterator to be optimal.)
8336 * bits/ostream.tcc: Write operator<< for long, bool types.
8337 Make other operators<< non-members, per spec. (Many still
8338 not implemented.) Identify those that fail to create a sentry.
8339 * bits/sbuf_iter: Cosmetic.
8340 * bits/std_fstream.h: Add some filebuf members.
8341 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
8342 * bits/std_ostream.h: Make member operators<< global, per spec.
8343 (Should do the same in std_istream.h.)
8344 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
8345 * bits/string.tcc: Uglify names
8346 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
8347 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
8348 for optimal default behavior.
8350 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
8352 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
8354 1998-10-21 Nathan Myers <ncm@cantrip.org>
8356 * src/locale.cc: make ctype operations actually work for glibc
8357 * CHECKLIST: add a comprehensive (i.e. huge) implementation
8358 checklist of stdlib facilities. Not filled in yet.
8360 1998-10-20 Nathan Myers <ncm@cantrip.org>
8362 * bits/string.tcc: fix patching NULs on string ends.
8364 1998-10-19 Nathan Myers <ncm@cantrip.org>
8366 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
8367 iterator forward declarations
8368 * bits/sbuf_iter.h: eliminate default template argument definitions
8369 on streambuf iterators (rely on <iosfwd> decls).
8370 * TODO: add note about lazy facet construction
8371 * bits/basic_ios.h: hit operator void* again. This should be the
8372 last time we need to touch it.
8373 * bits/basic_ios.h: copyfmt now returns *this.
8374 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
8375 * bits/basic_string.h: put back overloaded constructors; adjust
8376 behavior for default allocator on copy constructor.
8377 * bits/char_traits.h: make not_eof return correct type.
8378 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
8379 cannot be in non-standard headers or we get include loops (bad)
8380 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
8381 * bits/loccore.h: add apparatus to support lazy construction of
8383 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
8384 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
8385 locale use_facet<> failure.
8386 * bits/std_locale.h: same.
8387 * bits/std_string.h: same.
8388 * bits/std_stdexcept.h: change exception member __msg from a
8389 reference to a regular object.
8390 * bits/string.tcc: add pasting a NUL on the end of strings after
8391 each operation. We had already left room for it, but previously
8392 plugged it only on a call to c_str(), but the WG changed the
8393 requirement when I wasn't looking. (Can't leave them alone for
8394 a second without they break something else.)
8395 * bits/valarray_meta.h: add Gaby's changes from 981018.
8396 * src/locale.cc: add new type _Bad_use_facet to be thrown on
8397 failure of use_facet<>().
8398 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
8399 comment out leftover member definitions
8401 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
8403 * string/Makefile.am: Revert last change.
8404 * math/Makefile.am: Likewise.
8406 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8408 * bits/std_sstream.h: Fix typo.
8410 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8412 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
8414 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
8415 * bits/std_stdexcept.h: Remove.
8417 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8419 * src/misc-inst.cc: Tweak again.
8421 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
8422 * bits/sstream.tcc: New file.
8424 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8426 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
8427 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
8430 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
8432 (INFINITE_P): Use IS_INF macro if available.
8434 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8436 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
8438 * string/Makefile.am: Likewise.
8440 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8442 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
8444 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
8445 endianess is available run AC_C_BIGENDIAN.
8447 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
8448 fixincludes is fixed.
8449 * math/clogl.c: Likewise.
8450 * math/csqrtl.c: Likewise.
8451 * math/mycabsl.c: Likewise.
8453 * math/mathconf.h: Include machine/endian.h if possible. If no
8454 header describing endianess is available rely on WORDS_BIGENDIAN
8456 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
8457 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
8460 * src/complex.cc (polar): Don't use sincos on OSF machines.
8462 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8464 * src/locale-inst.cc: Don't instantiate time_get for
8465 ostreambuf_iterators as time_get::do_get_weekday and
8466 time_get::do_get_monthname use __match_parallel, which is illegal
8467 for ostreambuf_iterators to use, as they don't have operator== or
8469 * bits/std_stdexcept.h: Add dtor definitions.
8470 Use stl/bits/std_stdexcept.h instead of this file?
8471 * bits/sbuf_iter.h : Tweak.
8472 * src/misc-inst.cc: Tweak.
8474 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
8476 * bits/std_stdexcept.h: New file.
8477 * src/stdexcept.cc: Define the following:
8479 runtime_error::what()
8481 * src/misc-inst.cc: New file.
8482 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
8483 (libstdc___la_OBJECTS): Add misc-inst.lo.
8485 * bits/basic_string.h: Disable non-standard ctor declarations.
8486 * bits/string.tcc: Disable definitions as well.
8487 * src/string.cc: Disable <ios> dependancies.
8488 * bits/sbuf_iter.h (std): Add default to template parameter for
8489 ostreambuf_iterator and istreambuf_iterator.
8490 * bits/std_iosfwd.h: Change istreambuf_iterator to
8491 basic_istreambuf_iterator. Likewise for ostreambuf.
8492 * bits/locfacets.tcc (__match_parallel): Fix typo.
8493 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
8495 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
8496 * bits/std_istream.h: Define the following:
8497 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
8498 get (char_type* __s, streamsize __n, char_type __delim);
8499 getline (char_type* __s, streamsize __n, char_type __delim)
8500 * bits/loccore.h : FIXME friend template code for use_facet.
8501 Add std_stdexcept.h include so that range_error will be defined.
8502 Add explicit conversion to string for range_error throws. (HACK?)
8504 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
8506 * configure.in: Check for sincos, sincosf, and sincosl.
8507 * src/complex.cc (polar): Use sincos if available.
8509 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
8510 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
8512 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
8514 * math/cpow.c: Use c_log, not clog.
8515 * math/cpowf.c: Likewise.
8516 * math/cpowl.c: Likewise.
8518 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
8521 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
8522 isfinite macro if it is available.
8523 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
8525 * math/ccosf.c: Use appropriate test macros for this type.
8526 * math/ccoshf.c: Likewise.
8527 * math/ccoshl.c: Likewise.
8528 * math/ccosl.c: Likewise.
8529 * math/cexpf.c: Likewise.
8530 * math/cexpl.c: Likewise.
8531 * math/clog10f.c: Likewise.
8532 * math/clog10l.c: Likewise.
8533 * math/clogf.c: Likewise.
8534 * math/clogl.c: Likewise.
8535 * math/csinf.c: Likewise.
8536 * math/csinhf.c: Likewise.
8537 * math/csinhl.c: Likewise.
8538 * math/csinl.c: Likewise.
8539 * math/csqrtf.c: Likewise.
8540 * math/csqrtl.c: Likewise.
8541 * math/ctanf.c: Likewise.
8542 * math/ctanhf.c: Likewise.
8543 * math/ctanhl.c: Likewise.
8544 * math/ctanl.c: Likewise.
8546 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8548 * bits/basic_ios.h: Fix previous change.
8550 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8552 * bits/basic_ios.h: Add const_cast<basic_ios&>
8553 (operator void*): As per 5.2.9 p 2, make sure static_cast is
8555 * bits/char_traits.h: No _CharT for specialization, change to 0.
8556 * bits/basic_string.h: As per 9.4.2 p4, initialize with
8557 constant-initializer.
8558 * bits/locfacets.tcc: Add template parameter to initialization list.
8560 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
8562 * bits/basic_string.h: Should just be <, not <=.
8564 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
8566 * bits/string.tcc (compare): Fix for strings that are similar, but
8567 not the same length.
8569 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
8571 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
8572 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
8573 We can't check for __GLIBC__ here, since this header can be read
8574 before any system one (that would lead to features.h) being used.
8576 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
8578 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
8579 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
8581 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
8582 LONGLONG_{MIN,MAX} which I can't find the origin of.
8584 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
8586 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
8587 should this come from, if not iostream.h?
8588 (class istream_iterator): Make the new operator!= a friend also.
8590 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
8591 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
8592 _G_config.h like the egcs one does.
8594 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
8596 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
8598 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
8599 _Expr1 (or _Expr_def if it's taken), and change definitions.
8600 Avoids redecl of the template parm.
8602 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
8603 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
8605 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
8608 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
8609 be a better way to do this.
8611 * src/stlinst.cc: New file.
8613 * BUGS: New file, with various discovered bugs that need to be
8616 * Makefile.in, math/Makefile.in, string/Makefile.in,
8617 src/Makefile.in: Reran automake.
8619 Workarounds, these may not all be the final fixes:
8621 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
8622 not private, for basic_istream::get() in std_istream.h to be able
8624 (basic_ios::operator void*): Don't use static_cast for the false
8626 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
8627 This appears to have been in sep94, but didn't get corrected
8630 * bits/basic_string.h (npos): Don't init here.
8631 * bits/string.tcc: Instead, do initialization here, to -1 instead
8632 of the size_type destructor.
8634 * src/traits.cc, src/wtraits.cc: New files.
8635 * bits/char_traits.h: For char_traits<char> and
8636 char_traits<wchar_t>, declare static, but define over in the src
8639 * bits/gslice.h: Comment out forward decls of _Array, valarray,
8640 gslice_array, and _GsliceExpression.
8642 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
8643 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
8644 stdout, and stderr. Note we do get unresolved refs to stdin, but
8645 that'll get fixed by the "true" solution.
8647 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
8648 definition of basic_streambuf.h, which is used in basic_ios.h to
8651 * bits/std_streambuf.h: Don't include libio.h for now.
8652 (class basic_streambuf): Define missing methods pubimbue and
8655 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
8656 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
8657 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
8659 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
8661 * src/locale.cc: Come up with munged versions of _S_toupper,
8662 _S_tolower, and _S_table instead of the glibc-specific ones, so
8663 they're at least defined, if not necessarily usable. The glibc
8664 ones on any other system will yield unresolved refs to
8665 __ctype_{b,toupper,tolower}.
8667 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
8668 basic_ios, basic_istream, basic_ostream. Don't do char_traits
8669 anymore cuz of the explicit specialization in char_traits.h.
8670 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
8671 file for the details.
8673 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
8674 * stl/bits/stl_iterator.h (__distance): Likewise.
8676 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
8677 op>, op<=, and op>= for reverse_iterator. Also add op!= for
8680 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
8682 * bits/string.tcc (basic_string::compare (const char*)): Fix to
8685 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
8687 This should really be fixed with __asm__ directives renaming the
8688 symbol, but keeping the function.
8689 * math/clogf.c (c_logf): Renamed from `clogf'.
8690 * math/clogl.c (c_logl): Renamed from `clogl'.
8691 * math/complex-stub.h (c_logf, c_logl): Change decls.
8693 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
8694 _CharT and _InIter parms, since they duplicate the enclosing ones.
8696 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
8698 Deal with conflict of the iostreams `clog' and our internal
8699 complex number `clog'.
8700 * src/complex.cc: Call `c_log' instead of `clog'.
8701 * math/clog.c (c_log):: Renamed from clog.
8702 * math/complex-stub.h (c_log): Renamed from clog decl.
8704 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
8706 (num_put::put): #if 0 long long version, since we don't declare or
8707 define the long long version of do_put.
8709 1998-08-18 Nathan Myers <ncm@cantrip.org>
8711 * bits/basic_string.h: add basic_string<>::push_back(), fix return
8712 type of get_allocator (thanks to Ryszard Kabatek).
8713 * bits/char_traits.h: make init order of fpos<> members
8715 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
8716 flags _S_fd_in etc. for special filebuf ctor.
8717 * bits/locfacets.h: make _Numeric_get and _Format_cache public
8718 to work around problems in friend declarations.
8719 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
8720 fix random type errors & typos
8721 * bits/std_fstream.h: major refitting to bypass libio (for now),
8722 instrument to use bits/fstream.tcc template definitions
8723 * bits/std_iosfwd.h: mess with wrappers
8724 * bits/std_istream.h: remove meaningless comment
8725 * bits/std_ostream.h: instrument to work with ostream.tcc.
8726 * bits/std_streambuf.h: instrument to work with streambuf.tcc
8727 * bits/fstream.tcc: template defs for <fstream>
8728 * bits/ostream.tcc: template defs for <ostream>
8729 * bits/streambuf.tcc: template defs for <streambuf>
8730 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
8731 * Delete .cc files, replace with bits/*.tcc
8737 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
8738 src/stdstreams.cc: cout, cin, etc. definitions
8739 (these still need work: must be init'd before user statics.)
8742 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
8744 Sent to SGI before checkin:
8745 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
8746 operator>=): Define.
8747 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
8748 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
8749 operator>=): Define.
8750 (operator==, operator<): Add inline.
8751 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
8752 operator>=): Define.
8753 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
8754 operator>=): Define.
8755 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
8756 operator>=): Define.
8757 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
8758 operator>=): Define.
8759 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
8760 operator>=): Define.
8762 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
8765 1998-08-15 Nathan Myers <ncm@cantrip.org>
8767 * bits/ios_base.h: change nominal bitmask and enum types to real enums
8768 * bits/locfacets.h: make _Format_cache bool names usable by num_get
8769 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
8770 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
8771 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
8772 * bits/std_sstream.h: formatting cleanups
8774 1998-08-14 Nathan Myers <ncm@cantrip.org>
8776 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
8777 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
8778 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
8779 * bits/locfacets.h: fix missing argument in do_get_monthname
8780 (this is a bug in the standard, ref. 36 in my list.)
8781 * bits/locfacets.h: make month and day name caches mutable
8782 * bits/locfacets.tcc: various typos in get() functions
8783 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
8784 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
8786 1998-08-12 Nathan Myers <ncm@cantrip.org>
8787 * move streambuf iterators to bits/sbuf_iter.h
8788 * optimize streambuf iterators
8789 * begin generalizing streambuf
8790 * begin implementing num_get<>::get (starting with bool)
8791 * patch stl/bits/stl_config.h so that relops operators are
8792 contained properly, out of the way.
8794 1998-07-24 Nathan Myers <ncm@cantrip.org>
8795 * Fold in SGI 3.11 changes (uglified names, some algorithm
8796 improvements, very minor bug fixes.)
8797 * Uglify names elsewhere to match (s/_T/_Tp/).
8798 * Begin work on optimized streambuf
8799 * Put complex.cc in namespace std:: (thanks Martin)
8801 1998-07-17 Nathan Myers <ncm@cantrip.org>
8803 * bits/char_traits.h: add _Char_traits_match template.
8804 * bits/string.tcc: fix bugs in various find_last* members.
8805 * bits/basic_string.h: redeclare member _S_find.
8806 * stl/bits/stl_iterator.h: change member names in nonstandard
8807 templates bidirectional_reverse_iterator and
8808 random_access_reverse_iterator to match expected changes
8810 * src/string.cc: fix definitions of stream operators.
8812 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
8814 * Makefile.am (SUBDIRS): Add string.
8816 * configure.in: Test for long double functions separately. Test for
8817 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
8818 Generate string/Makefile.
8820 * bits/c++config.h: Define mbstate_t for Solaris.
8822 * bits/char_traits.h: Remove unused #if.
8824 * bits/std_cwchar.h: Declare wide char string functions.
8826 * m4/stringfcts.m4: New file.
8828 * math/complex-stub.h: Declare nan.
8829 * math/nan.c: New file.
8831 * math/mathconf.h: Hack around missing endian.h file.
8832 Handle missing NAN definition.
8833 Handle missing float math functions.
8835 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
8836 (libstdc___la_LDFLAGS): Set version information.
8838 * src/complexl.cc: Don't compile any code if no long double functions
8841 * string/Makefile.am: New file.
8842 * string/dummy.c: New file.
8843 * string/wmemchr.c: New file.
8844 * string/wmemcmp.c: New file.
8845 * string/wmemcpy.c: New file.
8846 * string/wmemmove.c: New file.
8847 * string/wmemset.c: New file.
8849 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
8851 * configure.in: Make it work.
8852 * install-sh: New file.
8853 * missing: New file.
8854 * mkinstalldirs: New file.
8855 * m4/mathfcts.m4: New file.
8856 * math/Makefile.am: New file.
8858 * bits/std_complex.h (conj): Mark specializations as inline.
8860 * math/carg.c: New file.
8861 * math/cargf.c: New file.
8862 * math/cargl.c: New file.
8863 * math/mycabs.c: New file.
8864 * math/mycabsf.c: New file.
8865 * math/mycabsl.c: New file.
8866 * math/signbit.c: New file.
8867 * math/signbitf.c: New file.
8868 * math/signbitl.c: New file.
8870 * math/ccos.c: Avoid ISO C 9x functionality.
8871 * math/ccosf.c: Likewise.
8872 * math/ccosh.c: Likewise.
8873 * math/ccoshf.c: Likewise.
8874 * math/ccoshl.c: Likewise.
8875 * math/ccosl.c: Likewise.
8876 * math/cexp.c: Likewise.
8877 * math/cexpf.c: Likewise.
8878 * math/cexpl.c: Likewise.
8879 * math/clog.c: Likewise.
8880 * math/clog10.c: Likewise.
8881 * math/clog10f.c: Likewise.
8882 * math/clog10l.c: Likewise.
8883 * math/clogf.c: Likewise.
8884 * math/clogl.c: Likewise.
8885 * math/cpow.c: Likewise.
8886 * math/cpowf.c: Likewise.
8887 * math/cpowl.c: Likewise.
8888 * math/csin.c: Likewise.
8889 * math/csinf.c: Likewise.
8890 * math/csinh.c: Likewise.
8891 * math/csinhf.c: Likewise.
8892 * math/csinhl.c: Likewise.
8893 * math/csinl.c: Likewise.
8894 * math/csqrt.c: Likewise.
8895 * math/csqrtf.c: Likewise.
8896 * math/csqrtl.c: Likewise.
8897 * math/ctan.c: Likewise.
8898 * math/ctanf.c: Likewise.
8899 * math/ctanh.c: Likewise.
8900 * math/ctanhf.c: Likewise.
8901 * math/ctanhl.c: Likewise.
8902 * math/ctanl.c: Likewise.
8904 * math/complex-stub.h: New file.
8906 * math/mathconf.h: New file.
8908 * src/Makefile.am: New file.
8910 * src/complex.cc: Use mathconf.h instead of complex.h.
8911 Don't use cabs, always use __mycabs.
8913 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
8915 * iterator (class reverse_iterator): Do some tweaks to be in sync