+2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
+
+ * libmath/stubs.c: New file.
+ (tanhf): Fix typo.
+
+ * libmath/Makefile.am (libmath_la_SOURCES): Add.
+ * libmath/Makefile.in. Regenerate.
+
+2001-06-21 Phil Edwards <pme@sources.redhat.com>
+
+ * include/backward/algo.h: Add "GPL plus runtime exception" comment.
+ * include/backward/algobase.h: Likewise.
+ * include/backward/alloc.h: Likewise.
+ * include/backward/bvector.h: Likewise.
+ * include/backward/defalloc.h: Likewise.
+ * include/backward/deque.h: Likewise.
+ * include/backward/function.h: Likewise.
+ * include/backward/hash_map.h: Likewise.
+ * include/backward/hash_set.h: Likewise.
+ * include/backward/hashtable.h: Likewise.
+ * include/backward/heap.h: Likewise.
+ * include/backward/iterator.h: Likewise.
+ * include/backward/list.h: Likewise.
+ * include/backward/map.h: Likewise.
+ * include/backward/multimap.h: Likewise.
+ * include/backward/multiset.h: Likewise.
+ * include/backward/pair.h: Likewise.
+ * include/backward/rope.h: Likewise.
+ * include/backward/set.h: Likewise.
+ * include/backward/slist.h: Likewise.
+ * include/backward/stack.h: Likewise.
+ * include/backward/strstream: Likewise.
+ * include/backward/tempbuf.h: Likewise.
+ * include/backward/tree.h: Likewise.
+ * include/backward/vector.h: Likewise.
+ * include/bits/pthread_allocimpl.h: Likewise.
+ * include/bits/std_algorithm.h: Likewise.
+ * include/bits/std_bitset.h: Likewise.
+ * include/bits/std_deque.h: Likewise.
+ * include/bits/std_functional.h: Likewise.
+ * include/bits/std_iterator.h: Likewise.
+ * include/bits/std_list.h: Likewise.
+ * include/bits/std_map.h: Likewise.
+ * include/bits/std_memory.h: Likewise.
+ * include/bits/std_numeric.h: Likewise.
+ * include/bits/std_queue.h: Likewise.
+ * include/bits/std_set.h: Likewise.
+ * include/bits/std_stack.h: Likewise.
+ * include/bits/std_utility.h: Likewise.
+ * include/bits/std_vector.h: Likewise.
+ * include/bits/stl_algo.h: Likewise.
+ * include/bits/stl_algobase.h: Likewise.
+ * include/bits/stl_alloc.h: Likewise.
+ * include/bits/stl_bvector.h: Likewise.
+ * include/bits/stl_construct.h: Likewise.
+ * include/bits/stl_deque.h: Likewise.
+ * include/bits/stl_function.h: Likewise.
+ * include/bits/stl_heap.h: Likewise.
+ * include/bits/stl_iterator.h: Likewise.
+ * include/bits/stl_iterator_base_funcs.h: Likewise.
+ * include/bits/stl_iterator_base_types.h: Likewise.
+ * include/bits/stl_list.h: Likewise.
+ * include/bits/stl_map.h: Likewise.
+ * include/bits/stl_multimap.h: Likewise.
+ * include/bits/stl_multiset.h: Likewise.
+ * include/bits/stl_numeric.h: Likewise.
+ * include/bits/stl_pair.h: Likewise.
+ * include/bits/stl_pthread_alloc.h: Likewise.
+ * include/bits/stl_queue.h: Likewise.
+ * include/bits/stl_raw_storage_iter.h: Likewise.
+ * include/bits/stl_relops.h: Likewise.
+ * include/bits/stl_set.h: Likewise.
+ * include/bits/stl_stack.h: Likewise.
+ * include/bits/stl_tempbuf.h: Likewise.
+ * include/bits/stl_threads.h: Likewise.
+ * include/bits/stl_tree.h: Likewise.
+ * include/bits/stl_uninitialized.h: Likewise.
+ * include/bits/stl_vector.h: Likewise.
+ * include/bits/type_traits.h: Likewise.
+ * include/ext/hash_map: Likewise.
+ * include/ext/hash_set: Likewise.
+ * include/ext/rope: Likewise.
+ * include/ext/ropeimpl.h: Likewise.
+ * include/ext/slist: Likewise.
+ * include/ext/stl_hash_fun.h: Likewise.
+ * include/ext/stl_hashtable.h: Likewise.
+ * include/ext/stl_rope.h: Likewise.
+ * libsupc++/unwind-cxx.h: Likewise.
+ * src/bitset.cc: Likewise.
+ * src/strstream.cc: Likewise.
+
+2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
+
+ * include/bits/indirect_array.h (indirect_array<>::operator=):
+ Make copy and assignment operator public. Implement. Format.
+
+ * include/bits/valarray_array.h (__valarray_copy): Add overloads
+ for copy between index arrays. Format.
+
+2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
+
+ * mknumeric_limits: Add static definitions, format.
+ * testsuite/18_support/numeric_limits.cc (test02): Add test.
+
+ * include/c_std/bits/std_cwchar.h: Include ctime.
+ * testsuite/17_intro/header_cwchar.cc : Check.
+
+ * include/c_std/bits/std_cwctype.h: Inject wctype.
+ * testsuite/17_intro/header_cwctype.cc: Update.
+
+2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
+ * testsuite/20_util/raw_storage_iterator.cc: Same.
+
+ * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
+ operator new.
+ (__mem_interface): New typedef for switching between malloc and new.
+ * testsuite/20_util/allocator_members.cc: New file.
+
+ * testsuite/20_util/comparisons.cc: New file.
+ * testsuite/20_util/pairs.cc: New file.
+
+2001-06-15 Phil Edwards <pme@sources.redhat.com>
+
+ * docs/html/documentation.html: Point to new doxygen'ed collection.
+
+2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
+
+ * configure.in (auxdir): Replace by ...
+ (toprel): ... new variable.
+ (toplevel_srcdir): Construct from $toprel.
+ * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
+ rather than .. to locate gcc source directory.
+ (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
+ * aclocal.m4, configure: Rebuilt.
+
+2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ (Approved by Mark and Benjamin. Applied by Loren.)
+
+ * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
+ _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
+ and _GLIBCPP_mutex_address.
+ * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
+ once-only runtime initialization of _M_lock mutex when
+ __GTHREAD_MUTEX_INIT_FUNCTION is defined.
+ (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
+ for __GTHREAD_MUTEX_INIT_FUNCTION case.
+
+2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
+
+ * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
+
+ * include/bits/slice_array.h (slice_array<>::operator=): Make
+ public and implement.
+ (slice_array<>::slice_array): Make copy-constructor public.
+
+ * include/bits/valarray_array.h (__valarray_copy): Add another
+ overload to copy between strided arrays.
+
+2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+ * include/bits/c++config (__GLIBCPP__): Update date.
+
+2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/fpos.h (fpos::operator-): Don't return reference,
+ return original, non-modified version.
+ (fpos::operator+): Same.
+ * testsuite/27_io/fpos.cc: Add test.
+
+2001-06-12 Loren J. Rittle <ljrittle@acm.org>
+
+ libstdc++/2071
+ * porting.texi: Add documentation about libstdc++-v3-specific
+ macros that are currently included in os_defines.h files.
+
+ * config/basic_file_stdio.h (sys_getc): New method.
+ (sys_ungetc): New method.
+ * include/bits/basic_file.h: (sys_getc): New method signature.
+ (sys_ungetc): New method signature.
+
+ * include/bits/fstream.tcc (underflow): Add conditional code
+ paths which avoid using short seeks on streams (especially
+ useful when the stream might be interactive or a pipe). At
+ the moment, this alternate path only avoids seeking when the
+ ``buffer size'' of underflow() is 1 since the C standard only
+ guarantees buffer space for one ungetc (this technique could
+ be extended since *-*-solaris* supports buffering for 4 calls
+ to ungetc and *-*-*bsd* supports buffering limited only by
+ memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
+ in a port's os_defines.h file for this alternate path to even
+ be considered. As a bonus, the idiom of using getc/ungetc
+ requires no system calls whereas fseek maps to one or two
+ system call(s) on many platforms.
+
+ * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
+ Define it.
+ * config/os/solaris/solaris2.5/bits/os_defines.h
+ (_GLIBCPP_AVOID_FSEEK): Likewise.
+ * config/os/solaris/solaris2.6/bits/os_defines.h
+ (_GLIBCPP_AVOID_FSEEK): Likewise.
+ * config/os/solaris/solaris2.7/bits/os_defines.h
+ (_GLIBCPP_AVOID_FSEEK): Likewise.
+
+2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
+ AC_TRY_COMPILE, so that the built compiler is checked, and
+ bootstraps or cross compiles with an older compile still work.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
+
+ libstdc++/3142
+ * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
+
+ libstdc++/3141
+ * include/bits/istream.tcc (getline, get): Fix as per DR 243.
+
+ libstdc++/3140
+ * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
+
+ libstdc++/3139
+ * include/bits/limits_generic.h: Fix as per DR 184.
+
+2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
+
+ libstdc++/3126
+ * include/bits/basic_string.h (string::compare): Adjust signatures
+ as per DR 5.
+ * include/bits/basic_string.tcc: And here.
+
+ libstdc++/2346
+ * config/c_io_stdio.h: Remove whitespace.
+ * testsuite/27_io/istream_seeks.cc (test03): Add regression.
+ (test02): Add regression.
+ * testsuite/27_io/istream_seeks-3.tst: New file.
+
+2001-06-11 Phil Edwards <pme@sources.redhat.com>
+
+ * README: Update to reflect reality.
+ * acinclude.m4: Update descriptions, fix typos. Comment changes only.
+ * configure.in: Make certain target_alias is set and subst'd for 2.50.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate (with 2.13).
+
+2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
+
+ libstdc++/3114
+ * include/bits/ostream.tcc (ostream::seekp): Add error checking as
+ per DR 129.
+ * include/bits/istream.tcc (istream::seekg): Same.
+ * testsuite/27_io/istream_seeks.cc: Fix.
+
+ libstdc++/3113
+ * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
+ (binder1st): Same.
+ * include/bits/std_queue.h: Add c++config.h.
+ * testsuite/20_util/binders.cc: New test.
+
+2001-06-11 Matthias Klose <doko@debian.org>
+ Phil Edwards <pme@sources.redhat.com>
+
+ * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
+ (main script): Echo more information.
+
+2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/c_std/bits/std_cwchar.h: Alphabetize.
+ * include/bits/char_traits.h: Tweak.
+ * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
+ everything used by std_cwchar.h.
+ * aclocal.m4: Regenerate.
+ * configure.in: Regenerate.
+ * config.h.in: Regenerate.
+
+2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
+ Add checking for strtof, _Exit in stdlib.h
+ * aclocal.m4: Regenerate.
+ * configure.in: Regenerate.
+ * include/c_std/bits/std_cstdio.h: Alphabetize lists.
+ (snprintf): Put C99 functions into __gnu_cxx namespace.
+ (vfscanf): Same.
+ (vscanf): Same.
+ (vsnprintf): Same.
+ (vsscanf): Same.
+ * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
+ for C99 functions within _GLIBCPP_USE_C99 guard.
+ (_Exit): Same.
+ (strtof): Same.
+ (strtold): Same.
+ * include/bits/locale_facets.tcc: Check if C99 is enabled.
+ * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
+ C99 guard.
+ * include/c_std/bits/cmath.tcc: Formatting tweak.
+ * include/c_std/bits/std_cmath.h: Same.
+
+2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
+
+2001-06-09 Alexandre Oliva <aoliva@redhat.com>
+ Stephen L Moshier <moshier@mediaone.net>
+
+ * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
+ nothing, as in autoconf 2.50.
+ * configure: Rebuilt.
+
+2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/c_std/bits/std_cwchar.h: Remove size_t injection,
+ include std_cstddef.
+ * include/c_std/bits/std_ctime.h: Same.
+ * include/c_std/bits/std_cstring.h: Same.
+ * include/c_std/bits/std_cstdlib.h: Same.
+
+ * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
+ * include/c_std/bits/std_cctype.h: Remove isblank.
+
+2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
+ fgetws.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+ * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
+ injection, guard fgetwc, fgetws.
+ * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
+ * include/c_std/bits/std_clocale.h: And here.
+ * include/c_std/bits/std_cctype.h: And here.
+ * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
+
+ * config/basic_file_stdio.h: Don't include unistd.h.
+ * config/c_io_stdio.h: Don't use compatibility headers.
+ * libsupc++/eh_terminate.cc: Qualify abort.
+ (__terminate): And here.
+ * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
+
+2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
+
+2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
+
+ libstdc++/2767
+ libstdc++/2989
+ libstdc++/2992
+ * include/std/*: Add copyright notice.
+ * include/c_std/bits/*: Use using statements instead of extern "C".
+ * include/c_std/bits/std_cmath.h: Don't overload double versions
+ of math functions with __buitin versions, use global version to
+ prevent ambiguities. Remove define hacks.
+ * include/c_std/bits/std_cwchar.h: Using declarations for "C"
+ functions that have changed signatures and std::
+ declarations. Remove define hacks.
+ * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
+ __builtins in std::. Remove define hacks.
+ * testsuite/17_intro/headers_c.cc: Add tests.
+ * testsuite/17_intro/headers_c++.cc: Add test.
+
+2001-06-07 Loren J. Rittle <ljrittle@acm.org>
+ John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ c++/3082
+ * libsupc++/eh_alloc.cc: Ensure that required macros are
+ defined before including gthr.h. Ensure that we get the
+ version of gthr.h for which we know how to provide a
+ configuration.
+ * libsupc++/eh_globals.cc: Likewise. And, bring the threading
+ code path into line with the current EH model. Use std, where
+ appropriate.
+
+2001-06-07 Loren J. Rittle <ljrittle@acm.org>
+ John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * config/threads-no.h: Remove file.
+ * config/threads-posix.h: Remove file.
+
+ * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
+ (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
+ (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
+ * config.h.in: Regenerate.
+
+ * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
+ setup and use gthr*.h files. In particular, make gthr.h files
+ namespace-clean in the staging area (they don't have to be for
+ libgcc.a).
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+ * src/Makefile.am (build_headers): Remove bits/c++threads.h
+ and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
+ * src/Makefile.in: Regenerate.
+
+ * include/bits/c++config: Cleanup threading configuration macros.
+ In particular, define __STL_GTHREADS macro which controls...
+ * include/bits/stl_threads.h: ...a brand new gthr.h-based
+ configuration here.
+
+ * config/c_io_stdio.h: Include staged gthr.h instead of local
+ thread configuration file. Always use __gthread_mutex_t
+ instead of __mutext_type (or int).
+ * include/bits/std_fstream.h: Likewise.
+
+ * docs/html/17_intro/howto.html: Remove placeholder comment in
+ case this configuration patch didn't make it. Add advice that
+ section only applies if configured with --enable-threads.
+ * docs/html/23_containers/howto.html: Reword to make clear
+ that _PTHREADS is no longer required for any port to be
+ correctly using STL with threads. Add advice that section
+ only applies if configured with --enable-threads.
+
+2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
+
+ * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
+
+2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
+
+ libstdc++/3045
+ * include/bits/basic_ios.tcc: Formatting tweaks.
+ * include/bits/ios_base.h: Formatting tweaks.
+ * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
+ (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
+ * src/globals.cc: Allocate filebufs for standard streams here.
+ (buf_cout, buf_cin, buf_cerr): Like so.
+ (buf_wcout, buf_wcin, buf_wcerr): And so.
+ * testsuite/27_io/ios_init.cc: Add.
+
+2001-06-04 Brendan Kehoe <brendan@zen.org>
+ Benjamin Kosnik <bkoz@redhat.com>
+
+ libstdc++/3017
+ * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
+ for generic ctype virtuals.
+ * src/locale.cc: Minor tweaks, naming consistency.
+ * testsuite/22_locale/ctype.cc: Add test.
+
2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
Phil Edwards <pme@sources.redhat.com>
make isn't found.
* configure: Regenerate.
-2001-05-27 scott snyder <snyder@fnal.gov>
+2001-05-31 scott snyder <snyder@fnal.gov>
libstdc++/2976
* include/bits/istream.tcc: Include std_ostream.h.