2005-01-16 10:59:06 +01:00
|
|
|
2005-01-16 Lorenz Minder <lminder@gmx.net>
|
|
|
|
Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/19322
|
|
|
|
* include/c_std/std_cmath.h: Define the C99 classification facilities
|
|
|
|
directly inside namespace std:.
|
|
|
|
* testsuite/26_numerics/cmath/19322.cc: New.
|
|
|
|
|
2005-01-15 18:38:04 +01:00
|
|
|
2005-01-15 David Edelsohn <edelsohn@gnu.org>
|
|
|
|
|
|
|
|
* config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
|
|
|
|
|
2005-01-14 22:09:38 +01:00
|
|
|
2005-01-14 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/19422
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
|
|
|
|
_Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
|
|
|
|
respectively) with hint (end()).
|
|
|
|
* testsuite/performance/23_containers/set_create_from_sorted.cc: New.
|
|
|
|
|
2005-01-13 23:48:14 +01:00
|
|
|
2005-01-13 Geoffrey Keating <geoffk@apple.com>
|
|
|
|
|
|
|
|
* configure.host (darwin): On darwin8 or later, no need to build
|
|
|
|
libstdc++ with -flat_namespace.
|
|
|
|
|
2005-01-13 22:10:00 +01:00
|
|
|
2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
|
|
|
|
|
|
|
|
* docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
|
|
|
|
|
2005-01-13 20:33:40 +01:00
|
|
|
2005-01-13 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
|
|
|
|
Re-enable commented-out test for double type.
|
|
|
|
|
istream.cc (basic_istream<char>::ignore(streamsize), [...]): In case more than numeric_limits<streamsize>::max() chars are skipped...
2005-01-11 Paolo Carlini <pcarlini@suse.de>
Benjamin Kosnik <bkoz@redhat.com>
* src/istream.cc (basic_istream<char>::ignore(streamsize),
basic_istream<char>::ignore(streamsize, int_type),
basic_istream<wchar_t>::ignore(streamsize),
basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
more than numeric_limits<streamsize>::max() chars are skipped,
set _M_gcount = max().
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
int_type)): Likewise; keep simple, don't forward.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r93208
2005-01-12 00:35:43 +01:00
|
|
|
2005-01-11 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
|
|
|
basic_istream<char>::ignore(streamsize, int_type),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
|
|
|
|
more than numeric_limits<streamsize>::max() chars are skipped,
|
|
|
|
set _M_gcount = max().
|
|
|
|
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
|
|
|
|
int_type)): Likewise; keep simple, don't forward.
|
|
|
|
|
istream.cc (basic_istream<char>::ignore(streamsize), [...]): Revert 2005-01-05 change...
2005-01-11 Paolo Carlini <pcarlini@suse.de>
* src/istream.cc (basic_istream<char>::ignore(streamsize),
basic_istream<char>::ignore(streamsize, int_type),
basic_istream<wchar_t>::ignore(streamsize),
basic_istream<wchar_t>::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.
From-SVN: r93189
2005-01-11 17:48:14 +01:00
|
|
|
2005-01-11 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
|
|
|
basic_istream<char>::ignore(streamsize, int_type),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize),
|
|
|
|
basic_istream<wchar_t>::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 13:29:31 +01:00
|
|
|
2005-01-11 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* 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 18:07:50 +01:00
|
|
|
2005-01-10 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* 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 <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/bits/stl_algobase.h (lexicographical_compare):
|
|
|
|
Fix concept check.
|
|
|
|
|
2005-01-07 20:34:46 +01:00
|
|
|
2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* 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 21:40:25 +01:00
|
|
|
2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* 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-06 08:08:48 +01:00
|
|
|
2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* 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 17:13:46 +01:00
|
|
|
2005-01-05 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
* testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
|
|
|
|
process.
|
|
|
|
|
istream.cc (basic_istream<char>::ignore(streamsize), [...]): At the end, first check _M_gcount vs __n.
2005-01-05 Paolo Carlini <pcarlini@suse.de>
* src/istream.cc (basic_istream<char>::ignore(streamsize),
basic_istream<char>::ignore(streamsize, int_type),
basic_istream<wchar_t>::ignore(streamsize),
basic_istream<wchar_t>::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.
From-SVN: r92947
2005-01-05 12:11:48 +01:00
|
|
|
2005-01-05 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
|
|
|
basic_istream<char>::ignore(streamsize, int_type),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize),
|
|
|
|
basic_istream<wchar_t>::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 22:31:39 +01:00
|
|
|
2005-01-03 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
2005-01-04 02:45:48 +01:00
|
|
|
* testsuite/testsuite_hooks.cc: Use __throw_exception_again
|
|
|
|
instead of just throw.
|
|
|
|
|
2005-01-04 01:17:16 +01:00
|
|
|
* 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.
|
|
|
|
|
2005-01-03 22:31:39 +01:00
|
|
|
* 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.
|
2005-01-04 01:08:57 +01:00
|
|
|
* testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
|
2005-01-03 22:31:39 +01:00
|
|
|
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.
|
2005-01-04 01:08:57 +01:00
|
|
|
* testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
|
2005-01-03 22:31:39 +01:00
|
|
|
|
2005-01-03 15:07:26 +01:00
|
|
|
2005-01-03 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
|
|
|
|
int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
|
|
|
|
|
2005-01-03 01:02:47 +01:00
|
|
|
2005-01-02 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
|
|
|
basic_istream<char>::ignore(streamsize, int_type),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize),
|
|
|
|
basic_istream<wchar_t>::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 18:49:51 +01:00
|
|
|
2005-01-02 Chris Jefferson <chris@bubblescope.net>
|
|
|
|
|
|
|
|
* include/bits/stl_algobase.h (mismatch): Correct concept check.
|
|
|
|
|
2005-01-02 00:14:53 +01:00
|
|
|
2005-01-01 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* 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 22:03:33 +01:00
|
|
|
2005-01-01 Paolo Carlini <pcarlini@suse.de>
|
2004-12-31 19:15:22 +01:00
|
|
|
|
2005-01-01 22:03:33 +01:00
|
|
|
* 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:
|
2004-01-04 19:34:27 +01:00
|
|
|
Likewise.
|