OSDN Git Service

2006-10-16 Douglas Gregor <doug.gregor@gmail.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index f9123f1..0bac304 100644 (file)
@@ -1,3 +1,186 @@
+2006-10-16  Douglas Gregor  <doug.gregor@gmail.com>
+
+       * include/Makefile.am (tr1_headers): Add new tuple_defs.h.
+       * include/Makefile.in (tr1_headers): Regenerate.
+       * include/tr1/tuple (tuple): Move declaration to tuple_defs.h.
+       (get): Ditto.
+       (operator==): Ditto.
+       (operator<): Ditto.
+       (operator!=): Ditto.
+       (operator>): Ditto.
+       (operator<=): Ditto.
+       (operator>=): Ditto.
+       (__stripped_tuple_type): Ditto.
+       Include tuple.defs.h
+       * include/tr1/tuple_iterate.h (tuple): Use
+       _GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS_UNNAMED macro instead of 10
+       "typename"s.
+       (tuple_element): Use _GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS and
+       _GLIBCXX_TYPLE_ALL_TEMPLATE_ARGS instead of 10
+       parameters/arguments.
+       * include/tr1/tuple_defs.h: New header, contains declarations and
+       definitions for the tuple template with all arguments.
+       * include/tr1/repeat.h (_GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS): New.
+       (_GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS_UNNAMED): New.
+       (_GLIBCXX_TUPLE_ALL_TEMPLATE_ARGS): New.
+       (_GLIBCXX_TEMPLATE_PARAMS_NULL_CLASS): New.
+       (_GLIBCXX_TEMPLATE_ARGS_STRIPPED): New.
+       * scripts/gen_includers.pl: Update.
+       * scripts/gen_includers2.pl: New.       
+
+2006-10-16  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/29095 continued
+       * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Additions
+       so that testing not in the build directory works for the "C"
+       target language.
+
+2006-10-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * include/bits/basic_string.tcc (_Rep::_S_create): Call
+       _M_set_sharable() for backwards compatibility.
+
+2006-10-15  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/istream.tcc (getline(basic_istream<>&,
+       basic_string<>&)): Move...
+       * include/bits/basic_string.h: ... here.
+       (operator<<(basic_ostream<>&, const basic_string<>&)): Mark inline.
+
+2006-10-15  Geoffrey Keating  <geoffk@apple.com>
+
+       * scripts/make_exports.pl: Use -_ rather than --strip-underscores
+       or --strip-underscore.
+
+2006-10-14  Geoffrey Keating  <geoffk@apple.com>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate with released autoconf-2.59.
+
+2006-10-14  Paolo Carlini  <pcarlini@suse.de>
+
+       * docs/html/faq/index.html: Update.
+       * docs/html/faq/index.txt: Regenerate.
+
+2006-10-14  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/ostream.tcc (operator<<(basic_ostream<>&,
+       const char*)): Further fix for throwing widen.
+
+2006-10-14  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/ostream.tcc (operator<<(basic_ostream<>&,
+       const char*)): Fix thinko in change for libstdc++/28277,
+       avoid memory leaks.
+
+2006-10-13  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/istream.tcc (operator>>(__istream_type&
+       (*)(__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
+       operator>>(ios_base& (*)(ios_base&))): Move...
+       * include/std/std_istream.h: ... here.
+       (operator>>(basic_istream<char,>&, unsigned char&),
+       operator>>(basic_istream<char,>&, signed char&),
+       operator>>(basic_istream<char,>&, unsigned char*),
+       operator>>(basic_istream<char,>&, signed char*)): Mark inline.
+       * include/bits/ostream.tcc (operator<<(__ostream_type&
+       (*)(__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
+       operator<<(ios_base& (*)(ios_base&))): Move...
+       * include/std/std_ostream.h: ... here.
+       (operator<<(basic_ostream<>&, _CharT),
+       operator<<(basic_ostream<>&, char),
+       operator<<(basic_ostream<char,>&, char),
+       operator<<(basic_ostream<char,>&, signed char),
+       operator<<(basic_ostream<char,>&, unsigned char),
+       operator<<(basic_ostream<>&, const _CharT*),
+       operator<<(basic_ostream<char,>&, const char*),
+       operator<<(basic_ostream<char,>&, const signed char*),
+       operator<<(basic_ostream<char,>&, const unsigned char*),
+       endl(basic_ostream<>&), ends(basic_ostream<>&),
+       flush(basic_ostream<>&)): Mark inline.
+
+2006-10-13  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/28277 (partial: ostream bits 2)
+       * include/std/std_ostream.h (basic_ostream<>::_M_insert(const
+       char_type*, streamsize)): New.
+       (basic_ostream<>::_M_write(char_type, streamsize)): Likewise.
+       (operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
+       char), operator<<(basic_ostream<>&, const _CharT*),
+       operator<<(basic_ostream<>&, const char*)): Use the latter.
+       * include/bits/ostream.tcc (basic_ostream<>::_M_insert(const
+       char_type*, streamsize)): Define.
+       (operator<<(basic_ostream<>&, const char*)): Use the latter.
+       (operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
+       char), operator<<(basic_ostream<>&, const _CharT*),
+       operator<<(basic_ostream<>&, const char*),
+       operator<<(basic_ostream<>&, const basic_string<>&)): Remove.
+       * include/bits/basic_string.h (operator<<(basic_ostream<>&,
+       const basic_string<>&)): Use the latter, implement DR 586.
+       * config/abi/pre/gnu.ver: Adjust, export the new _M_insert.
+       * docs/html/ext/howto.html: Add an entry for DR 586.
+       * testsuite/21_strings/basic_string/inserters_extractors/char/
+       28277.cc: New.
+       * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/
+       28277.cc: Likewise.
+       * testsuite/27_io/basic_ostream/inserters_character/char/
+       28277-3.cc: Likewise.
+       * testsuite/27_io/basic_ostream/inserters_character/char/
+       28277-4.cc: Likewise.
+       * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
+       28277-2.cc: Likewise.
+       * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
+       28277-3.cc: Likewise.
+       * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
+       28277-4.cc: Likewise.
+
+2006-10-11  Paolo Carlini  <pcarlini@suse.de>
+
+       * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 44.
+
+2006-10-11  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/29426
+       * libsupc++/guard.cc (get_static_mutex): New. 
+       (mutex_wrapper::mutex_wrapper): Use it to get properly initialized
+       recursive mutex without ordering issues.
+
+       * src/locale_init.cc (__get_locale_mutex): No need to
+       uglify. Change to get_locale_mutex.
+       
+2006-10-11  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/22_locale/num_put/put/char/11.cc: New.
+       * testsuite/22_locale/num_put/put/wchar_t/11.cc: Likewise.
+
+2006-10-10  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/lib/libstdc++.exp (v3-build_support): Link
+       libtestc++.a, not a bunch of object files.
+
+2006-10-09  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/29118
+       * src/locale_init.cc (__get_locale_mutex): New. 
+       (locale::locale): Use it.
+       (locale::global): Use it.       
+
+2006-10-09  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/29095
+       * libsupc++/cxxabi.h (__cxa_cdtor_type): Explicit "C" linkage.
+       * config/cpu/arm/cxxabi_tweaks.h: Same.
+       * config/cpu/generic/cxxabi_tweaks.h: Same.
+       * testsuite/abi: Add.
+       * testsuite/abi/header_cxxabi.cc: New.
+       * testsuite/demangle: Move...
+       * testsuite/abi/demangle: ...here.
+       * testsuite/libstdc++-dg/conformance.exp: Adjust testsuite file
+       calculation.
+       * scripts/create_testsuite_files: Same.
+       * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): New.
+       (libstdc++-dg-test): Use it.
+       
 2006-10-09  Paolo Carlini  <pcarlini@suse.de>
 
        PR libstdc++/28277 (partial: __add_grouping)