1 2002-03-17 Jason Merrill <jason@redhat.com>
4 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
5 (check_exception_spec): Call it. Take the thrown pointer.
6 (__cxa_call_unexpected): Pass it.
7 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
9 Fri Mar 15 09:55:49 2002 Anthony Green <green@redhat.com>
11 * configure.in: Remove useless is_mingw32.
14 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
16 * testsuite/22_locale/collate_members_char.cc
17 (test01): compare the result of collate::compare with
18 that of collate::transform + string::compare, not with
19 that of collate::transform + collate::compare.
20 (test01): values returned by collate::compare are
21 normalized, therefore test against +-1.
22 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
24 2002-03-12 Loren Rittle <ljrittle@acm.org>
26 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
27 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
29 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
30 Per Liboriussen <liborius@stofanet.dk>
32 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
34 * config/os/gnu-linux/bits/ctype_inline.h: Same.
36 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
38 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
39 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
41 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
42 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
44 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
45 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
47 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
49 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
51 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
52 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
53 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
54 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
55 that memory limits are in place.
58 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
60 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
61 * aclocal.m4: Regenerate.
62 * config.h.in: Regenerate.
63 * configure: Regenerate.
64 * include/c_std/std_cwctype.h: Guard.
66 2002-03-11 Chris Demetriou <cgd@broadcom.com>
68 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
69 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
70 * aclocal.m4: Regenerate.
71 * configure: Regenerate.
73 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
75 * include/bits/stl_bvector.h: Fix warning.
77 2002-03-11 Richard Henderson <rth@redhat.com>
79 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
81 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
83 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
84 New function. Build the list of tests to run in testsuite_files.
85 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
87 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
89 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
90 platforms with no weak support.
91 * testsuite/27_io/ios_init.cc: Likewise.
93 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
95 * include/bits/locale_facets.tcc (time_put::do_put):
96 Consider sizeof(char_type) in allocating the buffer.
98 * include/bits/locale_facets.tcc (collate::do_tranform):
99 Remove redundant variable.
101 2002-03-10 Ulrich Drepper <drepper@redhat.com>
102 Paolo Carlini <pcarlini@unitus.it>
104 * config/locale/generic/collate_members.cc
105 (collate<char,wchar_t>::_M_compare_helper): normalize
106 values returned by strcoll and wcscoll.
107 * config/locale/gnu/collate_members.cc
108 (collate<char,wchar_t>::_M_compare_helper): ditto
109 for __strcoll_l and __wcscoll_l.
111 2002-03-10 Anthony Green <green@redhat.com>
113 * configure.in: Support cross builds to mingw32 target.
114 * configure: Rebuilt.
116 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
118 * include/bits/locale_facets.tcc (collate::do_transform):
119 Rewrite to fix problems with long transformed strings.
121 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
123 * c_locale_generic.cc: Move to...
124 * generic/c_locale.cc
125 * c_locale_generic.h: Move to...
127 * codecvt_specializations_generic.h: Move to...
128 * generic/codecvt_specializations.h
129 * collate_members_generic.cc: Move to...
130 * generic/collate_members.cc
131 * ctype_members_generic.cc: Move to...
132 * generic/ctype_members.cc
133 * messages_members_generic.cc: Move to...
134 * generic/messages_members.cc
135 * messages_members_generic.h: Move to...
136 * generic/messages_members.h
137 * moneypunct_members_generic.cc: Move to...
138 * generic/monetary_members.cc
139 * numpunct_members_generic.cc: Move to...
140 * generic/numeric_members.cc
141 * time_members_generic.cc: Move to...
142 * generic/time_members.cc
143 * c_locale_gnu.cc: Move to...
145 * c_locale_gnu.h: Move to...
147 * collate_members_gnu.cc: Move to...
148 * gnu/collate_members.cc
149 * ctype_members_gnu.cc: Move to...
150 * gnu/ctype_members.cc
151 * messages_members_gnu.cc: Move to...
152 * gnu/messages_members.cc
153 * messages_members_gnu.h: Move to...
154 * gnu/messages_members.h
155 * moneypunct_members_gnu.cc: Move to...
156 * gnu/monetary_members.cc
157 * numpunct_members_gnu.cc: Move to...
158 * gnu/numeric_members.cc
159 * time_members_gnu.cc: Move to...
160 * gnu/time_members.cc
161 * c_locale_ieee_1003.1-200x.cc: Move to...
162 * ieee_1003.1-2001/c_locale.cc
163 * c_locale_ieee_1003.1-200x.h: Move to...
164 * ieee_1003.1-2001/c_locale.h
165 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
166 * ieee_1003.1-2001/codecvt_specializations.h
167 * messages_members_ieee_1003.1-200x.cc: Move to...
168 * ieee_1003.1-2001/messages_members.cc
169 * messages_members_ieee_1003.1-200x.h: Move to...
170 * ieee_1003.1-2001/messages_members.h
172 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
173 * aclocal.m4: Regenerate.
174 * configure: Regenerate.
175 * src/Makefile.am (sources): Change to monetary and numeric.
176 * src/Makefile.in: Regenerate.
177 * docs/html/configopts.html: Update to ieee_1003.1-2001.
179 2002-03-08 scott snyder <snyder@fnal.gov>
182 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
183 Allow one more digit of precision.
184 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
185 write a double and read back in the same value.
187 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
189 * include/std/std_limits.h: Move static const data members out of
190 generic template, into base class __numeric_limits_base.
191 * src/limits.cc: Add definitions.
192 * config/linker-map.gnu: Add __numeric_limits_base.
193 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
195 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
197 * include/bits/stl_alloc.h: Add extern implicit allocator
199 * include/bits/basic_string.tcc: Tweak.
200 * include/bits/locale_facets.tcc: Remove default args. Add
201 has_facet, use_facet extern instantiations.
202 * src/stl-inst.cc: Add explicit instantiation.
203 * src/locale-inst.cc: Clean. Remove locale member template
206 * testsuite/22_locale/operators.cc (test02): Enable.
208 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
209 Stephen M. Webb <stephen.webb@bregmasoft.com>
211 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
212 (_S_rb_tree_black): Make enum.
214 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
215 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
216 (__stl_threshold): _M_threshold, enum.
217 * src/stl-inst.cc: Same.
218 * config/linker-map.gnu: Remove.
220 * testsuite/23_containers/vector_bool.cc: New.
222 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
224 * docs/doxygen/user.cfg.in: Also document deprecated entries.
225 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
226 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
227 referring to the collection as a whole. New section on which macros
228 can be redefined by the user.
229 * docs/html/19_diagnostics/howto.html: Update note for concepts.
230 * docs/html/20_util/howto.html: Update link to SGI.
231 * docs/html/faq/index.html: Update snapshot versions. New entry
232 on why g++ (but not gcc) must currently predefine certain macros.
233 * docs/html/faq/index.txt: Regenerated.
235 * include/bits/basic_string.h (basic_string::_S_construct): Fix
236 names in declaration.
237 (basic_string::compare): These are no longer optional.
238 * include/bits/ostream.tcc: Tweak closing brace placement.
239 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
240 * include/std/std_sstream.h: Fix typo in comment.
241 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
242 * src/locale.cc: Likewise.
244 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
247 * include/bits/stl_vector.h (vector::push_back()): Guard with
250 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
252 * include/bits/c++config: Fix misplaced leading blanks on first line.
254 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
256 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
257 * README (libmath): Make clear.
259 2002-03-05 Jakub Jelinek <jakub@redhat.com>
261 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
262 script globbing in ld.
263 * aclocal.m4: Rebuilt.
264 * configure: Rebuilt.
266 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
268 * docs/html/17_intro/RELEASE-NOTES: Update.
269 * README: Format subdirectories.
271 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
274 * include/bits/locale_facets.tcc
275 (num_get::_M_extract_float): Fix the parsing of __dec, since
276 the standard prescribes that if no grouping characters are
277 seen, no grouping check is applied.
278 * testsuite/22_locale/num_get_members_char.cc: Add test05
279 distilled from the PR.
280 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
282 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
284 * docs/html/17_intro/porting-howto.xml: Refer to
285 http://www.oasis-open.org for docbookx.dtd.
286 * docs/html/17_intro/porting-howto.html: Regenerated.
288 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
291 * include/std/std_sstream.h: Remove trailing spaces.
292 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
293 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
295 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
297 * testsuite/22_locale/num_get_members_char.cc (test04):
298 Use a named locale expecting grouping (de_DE).
299 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
301 * testsuite/27_io/ios_manip_basefield.cc (test01):
302 Extend coverage, uniform treatment of hexs and octs.
304 2002-02-28 Richard Henderson <rth@redhat.com>
306 * config/linker-map.gnu: Export operator new with unsigned long,
307 and with std::nothrow_t. Likewise operator delete.
309 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
311 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
312 Admit grouping for octals and hexadecimals too.
313 * testsuite/22_locale/num_get_members_char.cc: Add test04.
314 (test01): Tweak "." -> "," in void* test.
315 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
317 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
318 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
320 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
322 * testsuite/27_io/ios_manip_basefield.cc (test01):
323 Fix for 64 bit machines.
325 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
328 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
330 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
331 (basic_ios::_M_fill_init): New.
332 (basic_ios::fill()): Delay dealing with _M_fill.
334 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
335 (ios_base::_M_call_callbacks): Adjust.
336 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
338 2002-02-26 Loren Rittle <ljrittle@acm.org>
340 * include/Makefile.am (thread_target_headers): Unconditionally
341 stage and install gthr-posix.h.
342 (${target_builddir}/gthr-posix.h): New rule cloned off
343 ${target_builddir}/gthr-default.h.
344 (${target_builddir}/gthr-default.h): Support chained inclusion
345 of gthr support headers.
346 * include/Makefile.in: Rebuilt.
348 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
350 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
351 Group all the integral types, not only decs.
352 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
353 tests, add a few more.
355 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
357 * src/ios.cc (ios_base::~ios_base): Tweak.
358 (ios_base::_M_call_callbacks): Deal with null __p.
359 (ios_base::ios_base): Set _M_callbacks.
360 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
361 * testsuite/27_io/ios_init.cc (test02): Fix.
363 * mkcheck.in (static_fail): Failed links go to output file.
365 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
367 * docs/html/faq/index.html: Update.
368 * docs/html/faq/index.txt: Regenerate.
370 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
372 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
373 * aclocal.m4: Regenerate.
374 * docs/html/configopts.html: Document --enable-symvers.
375 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
377 2002-02-22 Philipp Thomas <pthomas@suse.de>
379 * include/backward/tempbuf.h: get_temporary_buffer and
380 return_temporary_buffer are in namespace std, not in __gnu_cxx.
382 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
384 * configure.in (target_alias): Default to yes.
385 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
386 libgcc to default case.
388 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
390 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
391 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
392 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
393 * aclocal.m4: Regenerate.
394 * configure: Regenerate.
395 * config/linker-map.dummy: New file. Contains nothing useful.
397 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
399 * testsuite/22_locale/money_put_members_char.cc: Fix.
400 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
402 * testsuite/27_io/standard_manipulators.cc: New file.
404 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
405 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
407 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
409 * config/os/mingw32/bits/ctype_noninline.h
410 (ctype<char>::ctype): Remove default args from parm list.
411 * config/os/djgpp/bits/ctype_noninline.h: Same.
413 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
415 * include/std/std_iomanip.h: Inline, tweaks.
416 * config/linker-map.gnu: Remove hacks.
418 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
419 * testsuite/27_io/ios_init.cc: Same.
420 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
421 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
423 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
425 * config/linker-map.gnu: Export global vtable, typeinfo, guard
426 variable, and thunk info as per CXXABI docs.
428 2002-02-19 Loren Rittle <ljrittle@acm.org>
430 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
431 * include/Makefile.in: Rebuilt.
433 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
435 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
436 with size3 for the string collations of str5.
438 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
441 * include/bits/locale_facets.tcc (money_put::do_put):
442 For the space field use __fill instead of ' ', uniformly.
443 * testsuite/22_locale/money_put_members_char.cc:
444 Add test05 distilled from PR.
445 (test01-02-03): Trim some '*' to ' '.
446 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
448 2002-02-18 Loren Rittle <ljrittle@acm.org>
451 * include/Makefile.am (thread_builddir): Remove (map all
452 existing uses to target_builddir).
453 (thread_headers): Rename to...
454 (thread_target_headers): ...this.
455 (stamp-thread): Remove.
456 (stamp-target): Correctly state the position as built.
457 Update all dependencies to match the new reality. Remove all
458 dependency calculations on directories.
459 * include/Makefile.in: Rebuilt.
461 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
463 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
464 * include/bits/fstream.tcc: Same.
465 * include/bits/sstream.tcc: Same.
466 * include/bits/ostream.tcc: Same.
467 * include/bits/istream.tcc: Same.
468 * include/bits/streambuf.tcc: Same.
469 * include/bits/basic_ios.tcc: Same.
470 * include/bits/basic_string.tcc: Same.
472 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
474 * include/std/std_iosfwd.h: Don't guard typedefs with
476 * include/bits/stringfwd.h: Same.
478 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
480 * src/locale.cc (moneypunct_byname): Remove definitions.
481 * include/std/std_streambuf.h (streambuf::operator=): Return.
483 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
486 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
487 explicit instantiation.
488 (string::_Rep::_S_max_size): Same.
489 * include/bits/basic_string.tcc: Add extern explicit
490 instantiations for string, wstring.
491 * include/bits/basic_ios.tcc: Add extern explicit instantiations
493 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
494 * include/bits/istream.tcc: Same, for istream, wistream.
495 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
497 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
498 istringstream, wistringstream, ostringstream, wostringstream,
499 stringstream, wstringstream.
500 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
501 wifstream, ofstream, wofstream, fstream, wfstream.
502 * src/misc-inst.cc: Correct comments.
503 Add iomanip instantiations for wide streams.
504 * include/std/std_iomanip.h: Same.
505 * include/bits/locale_facets.tcc: Same.
507 * include/std/std_streambuf.h: Correct
508 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
509 * include/std/std_sstream.h: Same.
510 * include/std/std_ostream.h: Same.
511 * include/std/std_istream.h: Same.
512 * include/std/std_fstream.h: Same.
514 * include/std/std_streambuf.h: Add definitions for private copy
515 ctor and assignment operator.
516 * include/std/std_istream.h: Remove declared but undefined copy
517 ctor and assignment operator. This is taken care of in ios_base,
518 so adding it in the derived class as well is superfluous.
519 * include/std/std_ostream.h: Same.
521 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
522 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
524 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
526 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
527 Add typeinfo bits. Smooth.
528 * aclocal.m4: Regenerate.
530 * src/Makefile.in: Same.
532 2001-02-14 Joel Sherrill <joel@OARcorp.com>
534 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
535 which do not have a CAS instruction.
537 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
539 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
540 * configure.in: Call it.
541 * config/linker-map.gnu: New file, initial incomplete revision.
542 * src/Makefile.am: Optionally pass version script to the linker.
543 * aclocal.m4: Regenerate.
544 * configure: Regenerate.
545 * src/Makefile.in: Regenerate.
547 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
549 * src/localename.cc: Remove stdexcept include.
550 * src/locale-inst.cc: Same.
551 * src/locale.cc: Same.
552 * src/functexcept.cc: Remove string includes.
553 * include/std/std_bitset.h: Remove stdexcept include.
554 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
555 * testsuite/23_containers/bitset_ctor.cc: Same.
557 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
559 * include/bits/stl_algo (__stl_threshold): Declare external.
560 (__stl_chunk_size): Same.
561 * include/bits/stl_bvector.h (__WORD_BIT): Same.
562 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
563 (_S_rb_tree_black): Same.
564 * src/stl-inst.cc (__stl_threshold): Define.
565 (__stl_chunk_size): Same.
567 (_S_rb_tree_red): Same.
568 (_S_rb_tree_black): Same.
570 * config/io/basic_file_libio.h (__basic_file): Add declarations.
571 * include/bits/basic_file.h: Remove.
572 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
573 Declare generic types, specialization.
574 * config/io/basic_file_stdio.cc: Definitions.
575 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
576 Declare generic types.
577 * include/Makefile.am (bits_headers): Remove basic_file.h.
578 (extra_target_headers): Change basic_file_model.h to basic_file.h.
579 (stamp-target): Same.
581 * include/bits/stl_alloc.h: Tweaks.
582 * include/bits/localefwd.h: Same.
584 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
586 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
587 * testsuite/22_locale/collate_members_char.cc (test03): New test.
588 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
590 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
592 * include/bits/stl_algo.h (transform (both signatures), generate_n):
593 Use __typeof__ in concept checks.
595 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
597 * include/bits/stl_algo.h (__median, for_each, find, find_if,
598 adjacent_find, count, count_if, search, search_n, swap_ranges,
599 transform, replace, replace_if, replace_copy, replace_copy_if,
600 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
601 unique, unique_copy, reverse, reverse_copy): Doxygenate.
603 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
605 * include/bits/locale_facets.h
606 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
607 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
608 (__timepunct<_CharT>::_M_put_helper): Same.
609 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
611 * include/bits/fstream.tcc (filebuf::underflow): Remove
612 __codecvt_type typedef.
613 (filebuf::_M_convert_to_external): Same.
615 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
617 * docs/doxygen/TODO: Update.
618 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
619 * docs/doxygen/mainpage.html: Add TODO list link.
620 * docs/doxygen/user.cfg.in: Add @doctodo hook.
621 * docs/doxygen/tables.html: New file, emoty structure only.
623 * include/bits/stl_iterator.h: Doxygenate just about everything.
624 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
625 * include/bits/stl_iterator_base_types.h: Add notes.
627 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
629 * include/bits/stl_map.h: Tweak doxygen markup.
630 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
631 * include/bits/stl_vector.h: Likewise.
633 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
637 * include/std/std_fstream.h (filebuf::__file_type): Change to
639 (filebuf::_M_convert_to_external): Declare.
640 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
641 codecvt bits for wide streams.
642 (filebuf::_M_really_overflow): Use it.
643 (filebuf::underflow): Use codecvt.
644 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
645 (codecvt<__enc_traits>::do_out): Deal with partial.
646 (codecvt<__enc_traits>::do_encoding): Return something useful.
647 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
649 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
650 Change expected encoding output.
652 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
655 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
656 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
658 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
659 (basic_ios::widen): Same.
661 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
663 * testsuite/22_locale/money_get_members_char.cc:
664 Add comment, tidy up.
665 (test01): more "en_HK" tests (without showbase).
666 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
668 2002-02-06 Loren Rittle <ljrittle@acm.org>
670 * config/locale/c_locale_generic.cc: Do not trust
671 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
674 2002-02-06 Loren Rittle <ljrittle@acm.org>
676 * acinclude.m4: Add C++ linkage check for strtof.
677 * aclocal.m4: Rebuilt.
678 * config.h.in: Rebuilt.
679 * configure: Rebuilt.
680 * config/locale/c_locale_generic.cc: Conditionally include
681 <ieeefp.h>. Improve handling and error checking of float
682 and long double input for non-C99 configurations.
684 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
686 * include/bits/locale_facets.tcc (money_get::do_get(string)):
687 In case money_base::symbol deal properly with multi-char sign
688 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
689 * testsuite/22_locale/money_get_members_char.cc: Add test07.
690 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
692 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
694 * include/bits/locale_facets.tcc (money_get::do_get(string)):
695 First construct a tentative returned string, then, only if the
696 parsing succeeds, copy it into the string passed by reference.
697 * testsuite/22_locale/money_get_members_char.cc: Add test06.
698 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
700 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
702 * docs/doxygen/TODO: Impl-defined behavior now documented...
703 * docs/html/17_intro/howto.html: ...here.
704 * docs/doxygen/mainpage.doxy: Remove, rename...
705 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
706 * docs/doxygen/style.css: Add small text.
707 * docs/doxygen/run_doxygen: Adjust for new mainpage.
708 * docs/doxygen/user.cfg.in: Likewise.
710 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
712 * include/bits/stl_map.h: Initial doxygen markup.
713 * include/std/std_fstream.h: Initial doxygen markup.
715 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
718 * include/bits/locale_facets.tcc (money_get::do_get(string)):
719 Deal correctly with !(__io.flags() & ios_base::showbase)
720 for case money_base::symbol.
721 * testsuite/22_locale/money_get_members_char.cc: Add test05.
722 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
724 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
726 * testsuite/22_locale/operators.cc
727 (gnu_collate::do_compare()): Add return statement to
728 suppress "no return statement" warning.
730 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
732 * testsuite/27_io/ostream_manip.cc: Enable test02.
734 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
736 * docs/html/documentation.html: Update for 3.0.96.
737 * docs/html/faq/index.html: Update for 3.0.96.
738 * docs/html/faq/index.txt: Regenerated.
739 * docs/doxygen/TODO: Update notes.
740 * docs/html/17_intro/howto.html: Initial impl-specific listing.
742 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
744 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
745 Initialize all data members in copy ctor. Make ctors explicit.
746 (__enc_traits::__enc_traits()): Default ctor does nothing.
747 (__enc_traits::_M_init): Guard against multiple iconv_opens.
748 * include/std/std_sstream.h (basic_stringbuf): Make data members
750 * include/std/std_fstream.h (basic_filebuf): Same.
751 * include/std/std_streambuf.h: Tweak.
752 * include/bits/streambuf.tcc: Same.
753 * include/bits/sstream.tcc: Same.
754 * include/bits/fstream.tcc: Same.
756 2002-01-31 Loren Rittle <ljrittle@acm.org>
758 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
759 allow NULL argument to be passed to setenv().
760 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
761 * testsuite/22_locale/collate_members_char.cc: Likewise.
762 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
763 * testsuite/22_locale/ctype_members_char.cc: Likewise.
764 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
765 * testsuite/22_locale/messages_members_char.cc: Likewise.
766 * testsuite/22_locale/money_get_members_char.cc: Likewise.
767 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
768 * testsuite/22_locale/money_put_members_char.cc: Likewise.
769 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
770 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
771 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
772 * testsuite/22_locale/num_get_members_char.cc: Likewise.
773 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
774 * testsuite/22_locale/num_put_members_char.cc: Likewise.
775 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
776 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
777 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
778 * testsuite/22_locale/time_get_members_char.cc: Likewise.
779 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
780 * testsuite/22_locale/time_put_members_char.cc: Likewise.
781 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
783 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
785 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
787 * ChangeLog-2001: Fix spelling errors...
788 * docs/html/17_intro/RELEASE-NOTES: Update.
789 * docs/html/17_intro/TODO: Update.
790 * README (file): Update.
792 2002-01-30 Loren Rittle <ljrittle@acm.org>
794 * config/locale/c_locale_generic.cc: Check errno for ERANGE
795 instead of non-zero to aid portability.
797 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
799 * docs/html/22_locale/messages.html: Fix example code.
801 2002-01-30 Richard Henderson <rth@redhat.com>
803 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
804 out from test03 and templatize.
807 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
809 * config/locale/numpunct_members_gnu.cc
810 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
811 Fix initialization of _M_grouping for locales which have
812 _M_thousands_sep == '\0'(L'\0', respectively).
813 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
815 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
817 * testsuite/27_io/ostream_inserter_arith.cc (test03):
818 Better fix for 32/64 bit architectures, avoiding the
819 implicit assumption that CHAR_BIT == 8.
821 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
823 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
824 * Makefile.in: Regenerate.
826 * docs/doxygen/run_doxygen: Update, mostly for man pages.
827 * docs/doxygen/Intro.3: Update.
828 * docs/doxygen/TODO: Update.
829 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
830 * docs/doxygen/mainpage.doxy: Update.
831 * docs/doxygen/user.cfg.in: Update for header rename. Also
832 regenerate comments and variables with 1.2.12.
833 * docs/doxygen/maint.cfg.in: Remove file.
835 * include/bits/stl_relops.h: Doxygenate.
836 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
838 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
839 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
840 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
841 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
842 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
843 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
844 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
845 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
846 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
847 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
848 include/ext/hash_set, include/ext/iterator, include/ext/memory,
849 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
850 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
851 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
852 include/std/std_algorithm.h, include/std/std_bitset.h,
853 include/std/std_complex.h, include/std/std_deque.h,
854 include/std/std_fstream.h, include/std/std_functional.h,
855 include/std/std_iomanip.h, include/std/std_ios.h,
856 include/std/std_iosfwd.h, include/std/std_iostream.h,
857 include/std/std_istream.h, include/std/std_iterator.h,
858 include/std/std_limits.h, include/std/std_list.h,
859 include/std/std_locale.h, include/std/std_map.h,
860 include/std/std_memory.h, include/std/std_numeric.h,
861 include/std/std_ostream.h, include/std/std_queue.h,
862 include/std/std_set.h, include/std/std_sstream.h,
863 include/std/std_stack.h, include/std/std_stdexcept.h,
864 include/std/std_streambuf.h, include/std/std_string.h,
865 include/std/std_utility.h, include/std/std_valarray.h,
866 include/std/std_vector.h: Add/correct @file doxygen hook.
868 * include/ext/memory: Doxygenate most of rest of file.
869 * libsupc++/exception: Doxygen output formatting.
870 * libsupc++/new: Say which header it is.
872 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
873 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
874 * docs/html/23_containers/howto.html: Describe O(n) list::size().
875 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
877 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
878 Charles Leggett <CGLeggett@lbl.gov>
880 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
882 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
884 * testsuite/27_io/ostream_inserter_arith.cc (test03):
885 Fix to deal correctly with both 32 bit and 64 bit architectures
887 2002-01-25 Loren Rittle <ljrittle@acm.org>
889 * testsuite/thread/pthread1.cc: Use one condition variable
890 per predicate instead of tricky use of one condition variable.
892 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
894 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
896 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
897 * testsuite/27_io/filebuf.cc: Compile only.
898 * testsuite/27_io/filebuf_members.cc: Move tests to here.
899 * testsuite/27_io/filebuf_virtuals.cc: And here.
900 Revert sungetc, sync changes for expected values.
901 * testsuite/27_io/filebuf-*: Move to...
902 * testsuite/27_io/filebuf_virtuals-*: ...here.
903 * testsuite/27_io/istream.cc: Compile only, activate.
904 * testsuite/27_io/ostream.cc: Same.
905 * testsuite/27_io/iostream.cc: New.
906 * testsuite/27_io/iostream_members.cc: New.
908 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
910 * testsuite/thread/pthread1.cc: Enable on cygwin.
911 * testsuite/thread/pthread2.cc: Likewise.
912 * testsuite/thread/pthread3.cc: Likewise.
913 * testsuite/thread/pthread4.cc: Likewise.
914 * testsuite/thread/pthread5.cc: Likewise.
915 * testsuite/thread/pthread6.cc: Likewise.
917 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
919 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
921 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
923 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
925 (basic_ios::fill(char_type)): Use fill().
926 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
927 (basic_ios::narrow): Same.
928 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
930 (basic_ios::init): Comment.
931 * testsuite/27_io/ios_init.cc (test02): New.
933 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
935 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
936 * include/bits/stl_algo.h: Include stl_tempbuf.h.
937 * include/ext/memory: Do not include stl_tempbuf.h.
938 (temporary_buffer): Add doxygen hook.
939 (__get_temporary_buffer, get_temporary_buffer,
940 return_temporary_buffer): Move back to std:: header...
941 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
942 * include/ext/rope: Do not include stl_tempbuf.h.
943 * include/ext/stl_hashtable.h: Likewise.
944 * include/std/std_algorithm.h: Likewise.
945 * testsuite/20_util/temporary_buffer.cc: New file.
947 2002-01-24 andrew@andypo.net
948 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
951 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
952 * include/bits/localefwd.h: Likewise.
953 Also use for std::locale::id::_S_highwater.
954 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
955 * src/locale.cc: Support new usage of _Atomic_word.
956 (std::locale::classic): Guard entire function against reentry.
957 * src/localename.cc: Support new usage of _Atomic_word.
959 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
961 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
962 _GLIBCPP_HAVE_SETENV.
963 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
964 * testsuite/22_locale/collate_members_char.cc (test02): Same.
965 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
966 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
967 * testsuite/22_locale/messages_members_char.cc (test02): Same.
968 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
969 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
970 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
971 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
972 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
973 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
974 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
975 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
976 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
977 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
978 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
979 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
980 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
981 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
982 * aclocal.m4: Regenerate.
983 * configure: Regenerate.
984 * config.h.in: Regenerate.
986 2002-01-23 Loren Rittle <ljrittle@acm.org>
988 * testsuite/thread/pthread1.cc: New test.
989 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
990 * testsuite/thread/pthread3.cc: Likewise.
991 * testsuite/thread/pthread4.cc: New test adapted from
992 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
993 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
994 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
996 2002-01-23 Richard Henderson <rth@redhat.com>
999 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1000 CAS on the cpu variants that support it. Add versions that use
1001 TAS and that disable interrupts.
1002 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1004 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
1006 * include/bits/locale_facets.tcc: Remove old comments.
1008 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
1010 * include/bits/locale_facets.tcc (__convert_to_v): Change template
1012 (__convert_from_v): Same.
1014 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
1016 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1018 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1019 __max_digits checks, adjust arguments.
1020 (num_get::do_get(*)): Changeup.
1022 2002-01-23 Loren Rittle <ljrittle@acm.org>
1024 * config/locale/c_locale_generic.cc: Fix typename usage.
1026 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1028 * config/locale/c_locale_generic.cc: Fix.
1030 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1032 * docs/html/22_locale/messages.html: Remove angle brackets.
1033 * docs/html/17_intro/TODO: Add.
1035 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
1037 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1038 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1039 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1040 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1042 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1044 Audit for LANG independence.
1045 * include/bits/localefwd.h: Tweaks.
1046 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1048 (time_get::do_get_year): Same.
1049 (__convert_from_v): Add.
1050 (num_put::_M_convert_float): Use.
1051 (num_put::_M_convert_int): Same.
1052 (money_put::do_put): Same.
1054 * src/locale-inst.cc: Add instantiations for __convert_from_v.
1055 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1056 * config/locale/time_members_generic.cc:
1057 * config/locale/messages_members_gnu.cc: Same.
1058 * config/locale/messages_members_gnu.h: Same.
1060 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1061 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1062 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1063 * testsuite/22_locale/collate_members_char.cc (test02): New.
1064 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1065 * testsuite/22_locale/ctype_members_char.cc (test03): New.
1066 * testsuite/22_locale/messages_members_char.cc (test02): New.
1067 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1068 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1069 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1070 * testsuite/22_locale/money_get_members_char.cc (test04): New.
1071 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1072 * testsuite/22_locale/money_put_members_char.cc (test04): New.
1073 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1074 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1075 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1076 * testsuite/22_locale/time_put_members_char.cc (test03): New.
1077 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1078 * testsuite/22_locale/time_get_members_char.cc (test07): New.
1079 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1080 * testsuite/22_locale/num_get_members_char.cc (test03): New.
1081 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1082 * testsuite/22_locale/num_put_members_char.cc (test03): New.
1084 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1086 * testsuite/22_locale/time_get_members_char.cc: Same.
1088 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1091 * include/bits/localefwd.h: Tweak comments.
1092 * include/bits/locale_facets.h (__convert_to_v): Add.
1093 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1094 (num_get::do_get(float)): Same.
1095 (num_get::do_get(long double)): Same.
1096 (num_get::do_get(bool)): Same.
1097 (num_get::do_get(long)): Same.
1098 (num_get::do_get(long long)): Same.
1099 (num_get::do_get(unsigned int)): Same.
1100 (num_get::do_get(unsigned short)): Same.
1101 (num_get::do_get(unsigned long)): Same.
1102 (num_get::do_get(unsigned long long)): Same.
1103 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1104 * config/locale/c_locale_generic.cc: Same.
1106 2002-01-22 Loren Rittle <ljrittle@acm.org>
1108 * include/Makefile.am (c_base_builddir): Remove redundant slash.
1109 (std_builddir): Likewise.
1110 (std_headers_rename): Fix cut-n-paste typo.
1111 (install-data-local): Concat path per element instead of once to
1112 first element of list.
1113 * include/Makefile.in: Rebuilt.
1115 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1117 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1118 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1119 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1121 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
1123 * include/bits/locale_facets.h (ctype<char>::classic_table):
1125 (ctype<char>::_S_ctable): Remove.
1126 * config/os/gnu-linux/bits/ctype_noninline.h
1127 (ctype<char>::_S_table): Remove definition.
1128 (ctype<char>::classic_table): Define.
1129 (ctype<char>::ctype): Replace _S_ctable with classic_table().
1130 * config/os/aix/bits/ctype_noninline.h: Same.
1131 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1132 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1133 * config/os/djgpp/bits/ctype_noninline.h: Same.
1134 * config/os/generic/bits/ctype_noninline.h: Same.
1135 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1136 * config/os/hpux/bits/ctype_noninline.h: Same.
1137 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1138 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1139 * config/os/mingw32/bits/ctype_noninline.h: Same.
1140 * config/os/newlib/bits/ctype_noninline.h: Same.
1141 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1142 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1143 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1145 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1147 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1148 of _pctype. Use to define _S_ctable. Add definition for alternate
1149 ctor. Initialise _M_ctable to _S_ctable in ctors.
1150 (do_toupper, do_tolower): Use inline code appropriate for C-locale
1151 rather than ::toupper, ::tolower.
1153 2002-01-18 Loren Rittle <ljrittle@acm.org>
1155 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1156 Add specialization for FreeBSD systems only to avoid losing test
1157 only due to extra precision unmentioned in system headers.
1159 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
1161 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1163 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1165 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
1166 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1168 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1170 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1172 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1174 * configure.target: Define OPT_LDFLAGS for AIX case.
1176 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1178 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1179 __glibcpp_double_has_quiet_NaN): Correct mispelling.
1181 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
1183 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1185 2002-01-16 David Edelsohn <dje@watson.ibm.com>
1187 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1188 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
1189 * aclocal.m4: Regenerate.
1190 * configure: Regenerate.
1192 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1194 * include/Makefile.am (c_base_headers_rename): New.
1195 (c_base_headers_extra): New.
1196 (stamp-c_base): Modify.
1197 (install-data-local): Use both.
1198 * include/Makefile.in: Regenerate.
1199 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1200 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1201 cstdio ctime cwctype]: Move to..
1202 * include/c/std_*: Here.
1203 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1204 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1205 cstdio ctime cwctype]: Move to..
1206 * include/c_std/std_*: Here.
1208 Alexandre Oliva <aoliva@redhat.com>
1209 * include/Makefile.am (.PRECIOUS): Add rule.
1210 * include/Makefile.in: Regenerate.
1212 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1213 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1215 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1216 Deuglify, should be current.
1217 (back_insert_iterator::_M_container): Deuglify, should be container.
1218 (front_insert_iterator::_M_container): Same.
1219 (insert_iterator::_M_container): Same.
1220 * testsuite/24_iterators/reverse_iterator.cc: Add check.
1221 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1222 * testsuite/24_iterators/front_insert_iterator.cc: Same.
1223 * testsuite/24_iterators/insert_iterator.cc: Same.
1225 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1227 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1229 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1230 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1231 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1232 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1233 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1234 * config/os/newlib/bits/ctype_noninline.h: Same.
1235 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1236 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1237 * config/os/hpux/bits/ctype_noninline.h: Same.
1238 * config/os/djgpp/bits/ctype_noninline.h: Same.
1239 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1240 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1241 * config/os/aix/bits/ctype_noninline.h: Same.
1243 Testcase by Dietmar Kühl via Peter Schmid
1244 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1247 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1249 * libmath/signbitl.c: Copyright years as list, not range.
1250 * libmath/Makefile.am: Same.
1251 * libmath/Makefie.in: Regenerate.
1252 * libmath/signbit.c: Same.
1253 * libmath/nan.c: Same.
1254 * libmath/copysignf.c: Same.
1255 * libmath/signbitf.c: Same.
1256 * testsuite/22_locale/money_get_members_char.cc: Same.
1257 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1258 * testsuite/22_locale/money_put_members_char.cc: Same.
1259 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1260 * testsuite/22_locale/time_get_members_char.cc: Same.
1261 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1262 * testsuite/22_locale/time_put_members_char.cc: Same.
1263 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1264 * testsuite/21_strings/nonmember.cc: Same.
1265 * testsuite/21_strings/compare.cc: Same.
1266 * testsuite/27_io/stringstream.cc: Same.
1267 * testsuite/27_io/stringbuf.cc: Same.
1268 * testsuite/27_io/filebuf.cc: Same.
1269 * testsuite/27_io/ios_manip_basefield.cc: Same.
1270 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1271 * include/bits/cpp_type_traits.h: Same.
1272 * include/bits/generic_shadow.h: Same.
1273 * include/bits/gslice_array.h: Same.
1274 * include/bits/gslice.h: Same.
1275 * include/bits/indirect_array.h: Same.
1276 * include/bits/slice_array.h: Same.
1277 * include/bits/sstream.tcc: Same.
1278 * include/bits/streambuf_iterator.h: Same.
1279 * include/bits/valarray_array.tcc: Same.
1280 * include/bits/valarray_meta.h: Same.
1281 * include/bits/valarray_array.h: Same.
1282 * config/os/mingw32/bits/ctype_noninline.h: Same.
1283 * config/os/mingw32/bits/ctype_base.h: Same.
1284 * config/os/hpux/bits/ctype_noninline.h: Same.
1285 * config/os/hpux/bits/ctype_base.h: Same.
1286 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1287 * config/os/gnu-linux/bits/ctype_base.h: Same.
1288 * config/os/generic/bits/ctype_noninline.h: Same.
1289 * config/os/generic/bits/ctype_base.h: Same.
1291 * libsupc++/tinfo.h: Tweaks.
1293 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1295 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1296 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1297 * testsuite/22_locale/ctype_members_char.cc: Tweak.
1299 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1301 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1302 (num_put::do_put(void*)): Fix.
1303 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1304 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1305 * testsuite/22_locale/num_get_members_char.cc (test02): Add
1306 long double, void, bool types.
1307 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1309 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1310 Alexandre Oliva <aoliva@redhat.com>
1312 * libmath/Makefile.am (LINK): Add --tag CC.
1313 * libmath/Makefile.in: Regenerate.
1315 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1317 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1318 of character to attribute mapping table.
1320 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
1322 * testsuite/26_numerics/c99_classification_macros_c.cc
1323 Remove dg-error and dg-excess-errors comments.
1325 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
1327 * include/bits/locale_facets.tcc (time_put::put): Correct output
1329 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1330 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1331 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1332 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1334 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
1336 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1338 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
1339 Nathan Myers <ncm@cantrip.org>
1341 * include/bits/basic_string.h
1342 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1343 temporaries (i.e., call _M_replace_safe) when possible.
1344 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1345 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1346 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1347 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1348 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1349 * include/bits/basic_string.tcc
1350 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1351 replace(__pos, __n1, __s, __n2).
1352 * testsuite/21_strings/replace.cc (test03): New testcases.
1354 * include/bits/basic_string.h (insert(__pos, __s, __n)):
1355 Adjust comparison wrt overflow.
1357 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1359 * include/Makefile.am (std_headers_rename): New variable.
1360 (install-data-local): Use it.
1361 * include/Makefile.in: Regenerate.
1363 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1365 * include/bits/locale_facets.tcc (money_put::do_put(string):
1366 Correct output iterator value.
1367 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1368 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1370 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1372 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
1375 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1377 * include/Makefile.am (std_headers): Update list with new names.
1378 (stamp-std): Link to standardized name.
1379 * include/Makefile.in: Regenerate.
1381 * include/std/algorithm, include/std/bitset, include/std/complex,
1382 include/std/deque, include/std/fstream, include/std/functional,
1383 include/std/iomanip, include/std/ios, include/std/iosfwd,
1384 include/std/iostream, include/std/istream, include/std/iterator,
1385 include/std/limits, include/std/list, include/std/locale,
1386 include/std/map, include/std/memory, include/std/numeric,
1387 include/std/ostream, include/std/queue, include/std/set,
1388 include/std/sstream, include/std/stack, include/std/stdexcept,
1389 include/std/streambuf, include/std/string, include/std/utility,
1390 include/std/valarray, include/std/vector: Rename to...
1392 * include/std/std_algorithm.h, include/std/std_bitset.h,
1393 include/std/std_complex.h, include/std/std_deque.h,
1394 include/std/std_fstream.h, include/std/std_functional.h,
1395 include/std/std_iomanip.h, include/std/std_ios.h,
1396 include/std/std_iosfwd.h, include/std/std_iostream.h,
1397 include/std/std_istream.h, include/std/std_iterator.h,
1398 include/std/std_limits.h, include/std/std_list.h,
1399 include/std/std_locale.h, include/std/std_map.h,
1400 include/std/std_memory.h, include/std/std_numeric.h,
1401 include/std/std_ostream.h, include/std/std_queue.h,
1402 include/std/std_set.h, include/std/std_sstream.h,
1403 include/std/std_stack.h, include/std/std_stdexcept.h,
1404 include/std/std_streambuf.h, include/std/std_string.h,
1405 include/std/std_utility.h, include/std/std_valarray.h,
1406 include/std/std_vector.h: ...this.
1408 2002-01-11 Loren Rittle <ljrittle@acm.org>
1410 * include/Makefile.am (extra_target_headers): New list of all
1411 target files built with ad hoc naming rules.
1412 (stamp-*): Handle LN_S failure in manner portable across make
1414 (install-data-local): Install header files from human-maintained
1415 file lists and directory components instead of non-robust find.
1416 * include/Makefile.in: Rebuilt.
1418 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
1420 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1421 Check for zero-length negative sign before adding it to output
1423 (money_get::do_get(long double)): Return beg.
1424 * testsuite/22_locale/money_get_members_char.cc (test02): Add
1426 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1428 2002-01-10 David Seymour <seymour_dj@yahoo.com>
1431 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1432 for _M_extract_float and _M_extract_int
1433 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1434 (num_get<>::_M_extract_int): Likewise, all callers changed
1435 * testsuite/22_locale/num_get_members_char.cc: Testcase
1437 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1439 * libsupc++/exception (bad_exception): Add comment.
1440 * libsupc++/new (bad_alloc): Same.
1441 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1443 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1445 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1446 that the destructors should be removed from the descriptions
1447 in the standard: writing them explicitly allows the vtable
1448 heuristic to work. For additional information see:
1449 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1450 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1451 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1452 * libsupc++/exception (bad_exception::~bad_exception()):
1453 Reintroduce declaration.
1454 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1455 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1456 (bad_typeid::~bad_typeid()): Same.
1457 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1458 Reintroduce definition.
1459 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1460 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1461 (bad_typeid::~bad_typeid()): Same.
1463 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
1465 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1466 * include/Makefile.in: Regenerate.
1468 2002-01-09 Bo Thorsen <bo@suse.co.uk>
1470 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1473 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
1477 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1478 return value of _M_file->sync().
1479 (filebuf::showmanyc): Check for is_open.
1480 * include/std/fstream (filebuf::sync): Tweak.
1481 * testsuite/27_io/filebuf.cc: Tweak.
1483 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
1484 Brad Garcia <garsh@attbi.com>
1486 * testsuite/27_io/filebuf_members.cc: Add test.
1488 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
1489 Craig Rodrigues <rodrigc@mediaone.net>
1492 * po/Makefile.am (mkinstalldirs): Add.
1493 * po/Makefile.in: Regenerate.
1495 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
1497 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1498 testsuite/lib/prune.exp: Delete lines ":In function ..." from
1500 * testsuite/23_containers/map_operators.cc: Remove
1501 dg-excess-errors comment.
1502 * testsuite/23_containers/set_operators.cc: Likewise.
1504 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
1506 * include/bits/stl_function.h: Remove two lines of comments;
1507 adjust copyright years.
1509 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
1511 * include/Makefile.am (std_headers): Remove cXXX from list.
1512 (c_base_srcdir): No bits subdirectory.
1513 (c_base_builddir): Same.
1514 (c_base_headers): Adjust names, add ciso646.
1515 (bits_headers): Remove std_xxx.h headers.
1516 * include/Makefile.in: Regenerate.
1518 * include/ext/iterator: Adjust includes.
1519 * include/ext/ropeimpl.h: Same.
1520 * include/ext/stl_hash_fun.h: Same.
1521 * include/ext/algorithm: Same.
1523 * include/backward/bvector.h: Adjust includes.
1524 * include/backward/vector.h: Same.
1525 * include/backward/strstream: Same.
1526 * include/backward/streambuf.h: Same.
1527 * include/backward/stack.h: Same.
1528 * include/backward/set.h: Same.
1529 * include/backward/queue.h: Same.
1530 * include/backward/multiset.h: Same.
1531 * include/backward/multimap.h: Same.
1532 * include/backward/map.h: Same.
1533 * include/backward/list.h: Same.
1534 * include/backward/iterator.h: Same.
1535 * include/backward/iostream.h: Same.
1536 * include/backward/iomanip.h: Same.
1537 * include/backward/fstream.h: Same.
1538 * include/backward/deque.h: Same.
1539 * include/backward/complex.h: Same.
1541 * include/bits/std_algorithm.h: Move to...
1542 * include/std/algorithm: ...here.
1543 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1544 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1545 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1546 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1547 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1548 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1549 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1552 * include/c_std/bits/std_cassert.h: Move to...
1553 * include/c_std/cassert: Here.
1554 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1555 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1556 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1557 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1558 std_cwctype.h: Same.
1559 * include/c_std/cmath: Adjust cmath.tcc include.
1560 * include/c_std/cstdlib: Adjust includes.
1561 * include/c_std/cwchar: Same.
1562 * include/c_std/ctime: Same.
1563 * include/c_std/cstring: Same.
1564 * include/c_std/cstdio: Same.
1565 * include/c_std/bits: Remove directory.
1567 * include/c/bits/std_cassert.h: Move to...
1568 * include/c/cassert: Here.
1569 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1570 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1571 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1572 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1573 std_cwctype.h: Same.
1574 * include/c/bits: Remove directory.
1576 * include/std/cwctype: Remove.
1577 * include/std/cwchar: Remove.
1578 * include/std/ctime: Remove.
1579 * include/std/cstring: Remove.
1580 * include/std/cstdlib: Remove.
1581 * include/std/cstdio: Remove.
1582 * include/std/cstddef: Remove.
1583 * include/std/cstdarg: Remove.
1584 * include/std/csignal: Remove.
1585 * include/std/csetjmp: Remove.
1586 * include/std/cmath: Remove.
1587 * include/std/clocale: Remove.
1588 * include/std/climits: Remove.
1589 * include/std/ciso646: Remove.
1590 * include/std/cfloat: Remove.
1591 * include/std/cerrno: Remove.
1592 * include/std/cctype: Remove.
1593 * include/std/cassert: Remove.
1595 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1596 files and subsituting <xxx>.
1597 * include/bits/valarray_array.h: Same.
1598 * include/bits/stl_uninitialized.h: Same.
1599 * include/bits/stl_alloc.h: Same.
1600 * include/bits/stl_algobase.h: Same.
1601 * include/bits/sstream.tcc: Same.
1602 * include/bits/pthread_allocimpl.h: Same.
1603 * include/bits/ostream.tcc: Same.
1604 * include/bits/localefwd.h: Same.
1605 * include/bits/locale_facets.tcc: Same.
1606 * include/bits/locale_facets.h: Same.
1607 * include/bits/istream.tcc: Same.
1608 * include/bits/char_traits.h: Same.
1609 * include/bits/boost_concept_check.h: Same.
1610 * include/bits/basic_file.h: Same.
1611 * include/std/bitset: Same.
1612 * include/std/complex: Same.
1613 * include/std/fstream: Same.
1614 * include/std/functional: Same.
1615 * include/std/ios: Same.
1616 * include/std/iostream: Same.
1617 * include/std/ostream: Same.
1618 * include/std/sstream: Same.
1619 * include/std/streambuf: Same.
1620 * include/std/string: Same.
1621 * include/std/iterator: Same.
1622 * include/std/valarray: Same.
1624 * src/ios.cc: Adjust includes.
1625 * src/valarray-inst.cc: Same.
1626 * src/string-inst.cc: Same.
1627 * src/stl-inst.cc: Same.
1628 * src/stdexcept.cc: Same.
1629 * src/misc-inst.cc: Same.
1630 * src/localename.cc: Same.
1631 * src/locale-inst.cc: Same.
1632 * src/locale.cc: Same.
1633 * src/limits.cc: Same.
1634 * src/concept-inst.cc: Same.
1635 * src/complex_io.cc: Same.
1636 * src/codecvt.cc: Same.
1637 * src/bitset.cc: Same.
1638 * src/cmath.cc: Same.
1640 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
1642 * include/bits/stl_tree.h (rb_tree): Move to...
1643 * include/ext/rb_tree: ...here, new file.
1644 * include/Makefile.am (ext_headers): Add new file.
1645 * include/Makefile.in: Regenerate.
1646 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1647 return_temporary_buffer, struct temporary_buffer): Move to...
1648 * include/ext/memory: ...here.
1649 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
1650 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
1651 * include/backward/tree.h: Include <ext/rb_tree), tweak.
1653 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
1655 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
1656 * include/ext/numeric: ...here, new file.
1657 * include/bits/stl_function.h (identity_element, unary_compose,
1658 binary_compose, compose1, compose2, identity, select1st,
1659 select2nd, project1st + helper, project2nd + helper,
1660 constant_void_fun + helper, constant_unary_fun + helper,
1661 costant_binary_fun + helper, constant0, constant1, constant2,
1662 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
1663 * include/ext/functional: ...here, new file.
1664 * include/Makefile.am (ext_headers): Add new files.
1665 * include/Makefile.in: Regenerate.
1666 * testsuite/ext/headers.cc: Include <ext/numeric> and
1668 * include/backward/algo.h: Include <ext/numeric>, tweak.
1669 * include/backward/function.h: Include <ext/functional>, tweak.
1670 * include/ext/ropeimpl.h: Include <ext/numeric>.
1672 2002-01-03 Jeffrey A Law <law@redhat.com>
1674 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1675 __strtoull declarations with __extension__.
1677 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
1679 * testsuite/lib/prune.exp: Correct regular expression for
1682 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1684 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1685 Change concept checks, as with lower_bound and PR 2054.
1686 * testsuite/ext/concept_checks.cc: Expand test to include those.
1688 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1690 * include/bits/boost_concept_check.h: Import some changes from
1691 upsteam (Boost) version.
1693 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
1695 * include/bits/stl_algobase.h (copy_n + helpers,
1696 lexicographical_compare_3way + helpers): Move to...
1697 * include/ext/algorithm: ...here.
1698 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
1699 helpers): Move to...
1700 * include/ext/memory: ...here, new file.
1701 * include/Makefile.am (ext_headers): Add new file.
1702 * include/Makefile.in: Regenerate.
1703 * testsuite/ext/headers.cc: Include <ext/memory>.
1704 * include/backward/algobase.h: Include <ext/memory> and
1705 <ext/algorithm>, tweak.
1706 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
1707 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
1709 2002-01-01 Roger Sayle <roger@eyesopen.com>
1711 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
1712 equivalent ___builtin__ versions.
1714 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
1715 are available in libstdc++ as the necessary stub implementations
1716 are provided by libmath/stubs.c.
1718 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
1720 * configure.in: Add support for NetBSD cross compiles.
1721 * configure: Regenerate.