2005-01-13 Geoffrey Keating * configure.host (darwin): On darwin8 or later, no need to build libstdc++ with -flat_namespace. 2005-01-13 Jonathan Wakely * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES. 2005-01-13 Paolo Carlini * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: Re-enable commented-out test for double type. 2005-01-11 Paolo Carlini Benjamin Kosnik * src/istream.cc (basic_istream::ignore(streamsize), basic_istream::ignore(streamsize, int_type), basic_istream::ignore(streamsize), basic_istream::ignore(streamsize, int_type)): In case more than numeric_limits::max() chars are skipped, set _M_gcount = max(). * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, int_type)): Likewise; keep simple, don't forward. 2005-01-11 Paolo Carlini * src/istream.cc (basic_istream::ignore(streamsize), basic_istream::ignore(streamsize, int_type), basic_istream::ignore(streamsize), basic_istream::ignore(streamsize, int_type)): Revert 2005-01-05 change: actually, the previous behavior is conforming and consistent with that of get(char_type*, streamsize, char_type), albeit slightly different from that of 3.3/3.4 in a corner case due to the use of snextc. * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, int_type)): Likewise. * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove. * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise. 2005-01-11 Paolo Carlini * include/tr1/type_traits: Implement alignment_of and aligned_storage. * testsuite/tr1/4_metaprogramming/other_transformations/ aligned_storage/aligned_storage.cc: New. * testsuite/tr1/4_metaprogramming/other_transformations/ aligned_storage/typedefs.cc: Likewise. * testsuite/tr1/4_metaprogramming/type_properties/ alignment_of/alignment_of.cc: Likewise. * testsuite/tr1/4_metaprogramming/type_properties/ alignment_of/typedefs.cc: Likewise. 2005-01-10 Paolo Carlini * Makefile.in: Regenerate. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * po/Makefile.in: Likewise. * src/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. 2005-01-10 Paolo Carlini * include/bits/stl_algobase.h (lexicographical_compare): Fix concept check. 2005-01-07 Benjamin Kosnik * acinclude.m4: Remove CCODECVT_H. * configure: Regenerate. * include/Makefile.am (host_headers_extra): Move to... (ext_headers): ...here. * include/Makefile.in: Regenerate. * include/ext/enc_filebuf: Remove enc_filebuf, consolidate enc_traits to... * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move... * include/ext/codecvt_specializations.h: ...here. Remove _GLIBCXX_USE___ENC_TRAITS. (__enc_traits): To __encoding_state, put in __gnu_cxx namespace. (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx namespace. * config/locale/generic/codecvt_specializations.h: Remove. * include/bits/codecvt.h: Remove codecvt_specializations.h include. * src/codecvt.cc: Remove __enc_traits::_S_max_size. 2005-01-06 Benjamin Kosnik * include/bits/fstream.tcc: Remove unnecessary qualifications for uglified data members of basic_filebuf, including _M_buf, _M_buf_size, _M_mode, _M_pback_init. * include/std/std_fstream.h: Same. 2005-01-05 Benjamin Kosnik * testsuite/testsuite_hooks.h: (copy_constructor::mark_call): Use __throw_runtime_error. (assignment_operator::mark_call): Same. * testsuite/testsuite_hooks.cc (verify_demangle): Same. (locale_data): Remove, just use runtime_error directly. (environment_variable): Same. (not_found): Same. (run_tests_wrapped_locale): Use __throw_runtime_error. (run_tests_wrapped_env): Same. (semaphore::semaphore): Same. (semaphore::signal): Same. (semaphore::wait): Same. * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error. * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error. (create_symbols): Use __throw_runtime_error. * src/bitmap_allocator.cc: Use __throw_bad_alloc. 2005-01-05 Mark Mitchell * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child process. 2005-01-05 Paolo Carlini * src/istream.cc (basic_istream::ignore(streamsize), basic_istream::ignore(streamsize, int_type), basic_istream::ignore(streamsize), basic_istream::ignore(streamsize, int_type)): At the end, first check _M_gcount vs __n. * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, int_type)): Likewise. * testsuite/27_io/basic_istream/ignore/char/4.cc: New. * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise. 2005-01-03 Mark Mitchell * testsuite/testsuite_hooks.cc: Use __throw_exception_again instead of just throw. * testsuite/testsuite_hooks.cc: Update coypright and follow style guidelines. * testsuite/testsuite_hooks.h: Likewise. * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use semaphores, not sleep. * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. * testsuite/27_io/objects/char/7.cc: Likewise. * testsuite/27_io/objects/char/9661-1.cc: Likewise. * testsuite/27_io/objects/wchar_t/7.cc: Likewise. * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. * configure.ac: Check for sys/ipc.h and sys/sem.h. * config.h.in: Regenerated. * configure: Likewise. * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally define. (sys/types.h): Include. (sys/ipc.h): Likewise. (sys/sem.h): Likewise. (__gnu_test::semun): New type. (__gnu_test::semaphore::sempaphore): New function. (__gnu_test::semaphore::~semaphore): Likewise. (__gnu_test::semaphore::wait): Likewise. (__gnu_test::semaphore::signal): Likewise. * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class. * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use semaphores, not sleep. * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. * testsuite/27_io/objects/char/7.cc: Likewise. * testsuite/27_io/objects/char/9661-1.cc: Likewise. * testsuite/27_io/objects/wchar_t/7.cc: Likewise. * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. 2005-01-03 Paolo Carlini * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, int_type)): Reset _M_gcount to numeric_limits::min(). * src/istream.cc (basic_istream::ignore(streamsize, int_type), basic_istream::ignore(streamsize, int_type)): Likewise. * src/istream.cc (basic_istream::ignore(streamsize), basic_istream::ignore(streamsize)): Likewise; fix a typo. 2005-01-02 Paolo Carlini * src/istream.cc (basic_istream::ignore(streamsize), basic_istream::ignore(streamsize, int_type), basic_istream::ignore(streamsize), basic_istream::ignore(streamsize, int_type)): Avoid _M_gcount overflows. * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, int_type)): Likewise; use snextc in the main loop, consistently with the specializations above. 2005-01-02 Chris Jefferson * include/bits/stl_algobase.h (mismatch): Correct concept check. 2005-01-01 Paolo Carlini * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include testsuite_hooks.h, to know whether including ext/enc_filebuf.h. * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise. 2005-01-01 Paolo Carlini * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix, null-terminate array1 at the outset. * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: Likewise.