OSDN Git Service

2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index a80bdc7..fbdd081 100644 (file)
@@ -1,3 +1,176 @@
+2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
+
+       other/2931
+       * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
+       * aclocal.m4: Regenerate.
+       * configure: Same.
+       
+2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+            Phil Edwards  <pme@sources.redhat.com>
+           Alexandre Oliva  <aoliva@redhat.com>
+
+        * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
+        in an amd-safe manner. Revert glibcpp_prefixdir.
+
+2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
+
+       * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
+       fabs, sin, sqrt.  They are now implemented in terms of __builtin_
+       variants. 
+
+2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
+
+       libstdc++/2830
+       * testsuite/21_strings/inserters_extractors.cc (test09): New test.
+       * include/bits/ostream.tcc: Format to match istream.tcc.
+       (operator<<(basic_ostream __out, const basic_string __s)): Fix.
+       
+2001-05-24  Phil Edwards  <pme@sources.redhat.com>
+
+       * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
+       malloc with std:: .
+       (__cxa_free_exception):  Likewise with free.
+
+2001-05-24  Mark Mitchell  <mark@codesourcery.com>
+
+       * include/c_std/bin/std_cstring.h: #define away all global
+       functions we will redeclare in namespace `std'.
+       * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
+       std::memset, instead of memset.
+       * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
+       not plain `strcmp'.
+       * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
+       plain `strcpy'.
+       
+2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
+
+       libstdc++/2832
+       * include/bits/basic_ios.tcc: Small tweak.
+       * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
+       ctors and dtors, and rdbuf settings.
+       (ofstream): Same.
+       (fstream): Same.
+       * include/bits/std_sstream.h: Same, but for stringstream classes.
+       * testsuite/27_io/ostringstream_members.cc: New.
+       * testsuite/27_io/stringstream_members.cc: New. 
+       * testsuite/27_io/fstream_members.cc: New.              
+       * testsuite/27_io/ifstream_members.cc: Add test.
+       * testsuite/27_io/istringstream_members.cc: Add test.
+       * testsuite/27_io/ofstream_members.cc: Add test.
+
+2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
+
+       * include/bits/c++config(__NO_MATH_INLINES): Move to...
+       * config/os/gnu-linux/bits/os_defines.h: ...here.
+
+2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
+
+       * include/bits/c++config (__NO_MATH_INLINES): New macro.
+       * testsuite/26_numerics/fabs_inline.cc (main): New test.
+
+2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
+
+       libstdc++/2841
+       * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
+       ld_library_path.  
+       (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
+       (libstdc++-v3-finish): Remove.
+       (libstdc++-v3_exit): Remove.
+
+2001-05-22  Phil Edwards  <pme@sources.redhat.com>
+
+       * docs/html/documentation.html:  Point to doxygen output.
+
+2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
+
+       * include/bits/std_sstream.h (stringbuf::setbuf): Require both
+       arguments to be non-null.
+       * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
+       try allocations if allocated size is greater than zero.
+       (filebuf::_M_filebuf_init): Change to
+       (filebuf::_M_allocate_file): Which is what it does now. 
+       (filebuf::_M_allocate_bufers): Change to
+       (filebuf::_M_allocate_internal_buffer): This, and create
+       (filebuf::_M_allocate_pback_buffer): New.
+       (filebuf::_M_destroy_internal_buffer): New.
+       (filebuf::_M_buf_allocated): New data member.
+       (filebuf::setbuf): Use new logic, allow use of external buffer.
+       * testsuite/27_io/stringbuf_virtuals.cc: New file.
+       * testsuite/27_io/filebuf_virtuals.cc: New file.
+
+2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
+
+       * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
+       __glibcpp_memchr.
+       (strchr): Same, but to __glibcpp_strchr.
+       (strpbrk): Same.
+       (strrchr): Same.
+       (strstr): Same.  
+       * include/c_std/bits/std_cwchar.h (wcschr): Same.
+       (wcsbrk): Same.
+       (wcsrchr): Same.
+       (wcsstr): Same.
+       (wmemchr): Same.
+
+2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/21_strings/c_strings.cc (main): Fix.
+
+2001-05-19  Phil Edwards  <pme@sources.redhat.com>
+
+       * acinclude.m4:  Fix --help spacing, correct comments.
+       * aclocal.m4:  Regenerate.
+       * configure:  Regenerate.
+       * mkcheck.in:  Add usage comments.
+       * docs/html/documentation.html:  Point to doxygen'd tarball.
+
+2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/README: Add notes.
+
+       * src/Makefile.am (libstdc++.INC): Remove.
+       * src/Makefile.in: Regenerate.
+
+       Phil Edwards <pedwards@disaster.jaj.com>
+       * mkcheck.in: Add missing '#'.
+
+2001-05-18  Angela Marie Thomas <angela@cygnus.com>
+
+        * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
+        appropriately for remote testing and testing installed files without
+        a build dir.
+
+2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
+       amd glibcpp_prefixdir with absolute paths.
+
+       * include/bits/c++config (__GLIBCPP__): Bump.
+       * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
+
+2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
+
+        * include/bits/std_valarray.h (valarray<>::operator[] const):
+        Return a const reference. 
+        * testsuite/26_numerics/valarray_const_bracket.cc: New test.
+
+2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       * configure.target (ATOMICITYH): Actually use AIX-specific code on
+       earlier versions of AIX 4.*.
+
+2001-05-18  Angela Marie Thomas <angela@cygnus.com>
+
+        * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
+        output_file based on the name of the testcase.
+
+2001-05-18  Angela Marie Thomas <angela@cygnus.com>
+
+        * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
+        gluefile and use it if needs_status_wrapper is set.
+
 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
 
        * configure.target (ATOMICITYH): Use cpu/generic code on earlier