1 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
4 New function. Build the list of tests to run in testsuite_files.
5 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
7 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
9 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
10 platforms with no weak support.
11 * testsuite/27_io/ios_init.cc: Likewise.
13 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
15 * include/bits/locale_facets.tcc (time_put::do_put):
16 Consider sizeof(char_type) in allocating the buffer.
18 * include/bits/locale_facets.tcc (collate::do_tranform):
19 Remove redundant variable.
21 2002-03-10 Ulrich Drepper <drepper@redhat.com>
22 Paolo Carlini <pcarlini@unitus.it>
24 * config/locale/generic/collate_members.cc
25 (collate<char,wchar_t>::_M_compare_helper): normalize
26 values returned by strcoll and wcscoll.
27 * config/locale/gnu/collate_members.cc
28 (collate<char,wchar_t>::_M_compare_helper): ditto
29 for __strcoll_l and __wcscoll_l.
31 2002-03-10 Anthony Green <green@redhat.com>
33 * configure.in: Support cross builds to mingw32 target.
36 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
38 * include/bits/locale_facets.tcc (collate::do_transform):
39 Rewrite to fix problems with long transformed strings.
41 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
43 * c_locale_generic.cc: Move to...
45 * c_locale_generic.h: Move to...
47 * codecvt_specializations_generic.h: Move to...
48 * generic/codecvt_specializations.h
49 * collate_members_generic.cc: Move to...
50 * generic/collate_members.cc
51 * ctype_members_generic.cc: Move to...
52 * generic/ctype_members.cc
53 * messages_members_generic.cc: Move to...
54 * generic/messages_members.cc
55 * messages_members_generic.h: Move to...
56 * generic/messages_members.h
57 * moneypunct_members_generic.cc: Move to...
58 * generic/monetary_members.cc
59 * numpunct_members_generic.cc: Move to...
60 * generic/numeric_members.cc
61 * time_members_generic.cc: Move to...
62 * generic/time_members.cc
63 * c_locale_gnu.cc: Move to...
65 * c_locale_gnu.h: Move to...
67 * collate_members_gnu.cc: Move to...
68 * gnu/collate_members.cc
69 * ctype_members_gnu.cc: Move to...
70 * gnu/ctype_members.cc
71 * messages_members_gnu.cc: Move to...
72 * gnu/messages_members.cc
73 * messages_members_gnu.h: Move to...
74 * gnu/messages_members.h
75 * moneypunct_members_gnu.cc: Move to...
76 * gnu/monetary_members.cc
77 * numpunct_members_gnu.cc: Move to...
78 * gnu/numeric_members.cc
79 * time_members_gnu.cc: Move to...
81 * c_locale_ieee_1003.1-200x.cc: Move to...
82 * ieee_1003.1-2001/c_locale.cc
83 * c_locale_ieee_1003.1-200x.h: Move to...
84 * ieee_1003.1-2001/c_locale.h
85 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
86 * ieee_1003.1-2001/codecvt_specializations.h
87 * messages_members_ieee_1003.1-200x.cc: Move to...
88 * ieee_1003.1-2001/messages_members.cc
89 * messages_members_ieee_1003.1-200x.h: Move to...
90 * ieee_1003.1-2001/messages_members.h
92 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
93 * aclocal.m4: Regenerate.
94 * configure: Regenerate.
95 * src/Makefile.am (sources): Change to monetary and numeric.
96 * src/Makefile.in: Regenerate.
97 * docs/html/configopts.html: Update to ieee_1003.1-2001.
99 2002-03-08 scott snyder <snyder@fnal.gov>
102 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
103 Allow one more digit of precision.
104 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
105 write a double and read back in the same value.
107 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
109 * include/std/std_limits.h: Move static const data members out of
110 generic template, into base class __numeric_limits_base.
111 * src/limits.cc: Add definitions.
112 * config/linker-map.gnu: Add __numeric_limits_base.
113 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
115 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
117 * include/bits/stl_alloc.h: Add extern implicit allocator
119 * include/bits/basic_string.tcc: Tweak.
120 * include/bits/locale_facets.tcc: Remove default args. Add
121 has_facet, use_facet extern instantiations.
122 * src/stl-inst.cc: Add explicit instantiation.
123 * src/locale-inst.cc: Clean. Remove locale member template
126 * testsuite/22_locale/operators.cc (test02): Enable.
128 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
129 Stephen M. Webb <stephen.webb@bregmasoft.com>
131 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
132 (_S_rb_tree_black): Make enum.
134 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
135 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
136 (__stl_threshold): _M_threshold, enum.
137 * src/stl-inst.cc: Same.
138 * config/linker-map.gnu: Remove.
140 * testsuite/23_containers/vector_bool.cc: New.
142 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
144 * docs/doxygen/user.cfg.in: Also document deprecated entries.
145 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
146 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
147 referring to the collection as a whole. New section on which macros
148 can be redefined by the user.
149 * docs/html/19_diagnostics/howto.html: Update note for concepts.
150 * docs/html/20_util/howto.html: Update link to SGI.
151 * docs/html/faq/index.html: Update snapshot versions. New entry
152 on why g++ (but not gcc) must currently predefine certain macros.
153 * docs/html/faq/index.txt: Regenerated.
155 * include/bits/basic_string.h (basic_string::_S_construct): Fix
156 names in declaration.
157 (basic_string::compare): These are no longer optional.
158 * include/bits/ostream.tcc: Tweak closing brace placement.
159 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
160 * include/std/std_sstream.h: Fix typo in comment.
161 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
162 * src/locale.cc: Likewise.
164 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
167 * include/bits/stl_vector.h (vector::push_back()): Guard with
170 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
172 * include/bits/c++config: Fix misplaced leading blanks on first line.
174 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
176 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
177 * README (libmath): Make clear.
179 2002-03-05 Jakub Jelinek <jakub@redhat.com>
181 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
182 script globbing in ld.
183 * aclocal.m4: Rebuilt.
184 * configure: Rebuilt.
186 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
188 * docs/html/17_intro/RELEASE-NOTES: Update.
189 * README: Format subdirectories.
191 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
194 * include/bits/locale_facets.tcc
195 (num_get::_M_extract_float): Fix the parsing of __dec, since
196 the standard prescribes that if no grouping characters are
197 seen, no grouping check is applied.
198 * testsuite/22_locale/num_get_members_char.cc: Add test05
199 distilled from the PR.
200 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
202 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
204 * docs/html/17_intro/porting-howto.xml: Refer to
205 http://www.oasis-open.org for docbookx.dtd.
206 * docs/html/17_intro/porting-howto.html: Regenerated.
208 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
211 * include/std/std_sstream.h: Remove trailing spaces.
212 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
213 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
215 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
217 * testsuite/22_locale/num_get_members_char.cc (test04):
218 Use a named locale expecting grouping (de_DE).
219 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
221 * testsuite/27_io/ios_manip_basefield.cc (test01):
222 Extend coverage, uniform treatment of hexs and octs.
224 2002-02-28 Richard Henderson <rth@redhat.com>
226 * config/linker-map.gnu: Export operator new with unsigned long,
227 and with std::nothrow_t. Likewise operator delete.
229 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
231 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
232 Admit grouping for octals and hexadecimals too.
233 * testsuite/22_locale/num_get_members_char.cc: Add test04.
234 (test01): Tweak "." -> "," in void* test.
235 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
237 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
238 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
240 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
242 * testsuite/27_io/ios_manip_basefield.cc (test01):
243 Fix for 64 bit machines.
245 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
248 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
250 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
251 (basic_ios::_M_fill_init): New.
252 (basic_ios::fill()): Delay dealing with _M_fill.
254 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
255 (ios_base::_M_call_callbacks): Adjust.
256 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
258 2002-02-26 Loren Rittle <ljrittle@acm.org>
260 * include/Makefile.am (thread_target_headers): Unconditionally
261 stage and install gthr-posix.h.
262 (${target_builddir}/gthr-posix.h): New rule cloned off
263 ${target_builddir}/gthr-default.h.
264 (${target_builddir}/gthr-default.h): Support chained inclusion
265 of gthr support headers.
266 * include/Makefile.in: Rebuilt.
268 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
270 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
271 Group all the integral types, not only decs.
272 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
273 tests, add a few more.
275 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
277 * src/ios.cc (ios_base::~ios_base): Tweak.
278 (ios_base::_M_call_callbacks): Deal with null __p.
279 (ios_base::ios_base): Set _M_callbacks.
280 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
281 * testsuite/27_io/ios_init.cc (test02): Fix.
283 * mkcheck.in (static_fail): Failed links go to output file.
285 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
287 * docs/html/faq/index.html: Update.
288 * docs/html/faq/index.txt: Regenerate.
290 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
292 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
293 * aclocal.m4: Regenerate.
294 * docs/html/configopts.html: Document --enable-symvers.
295 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
297 2002-02-22 Philipp Thomas <pthomas@suse.de>
299 * include/backward/tempbuf.h: get_temporary_buffer and
300 return_temporary_buffer are in namespace std, not in __gnu_cxx.
302 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
304 * configure.in (target_alias): Default to yes.
305 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
306 libgcc to default case.
308 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
310 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
311 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
312 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
313 * aclocal.m4: Regenerate.
314 * configure: Regenerate.
315 * config/linker-map.dummy: New file. Contains nothing useful.
317 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
319 * testsuite/22_locale/money_put_members_char.cc: Fix.
320 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
322 * testsuite/27_io/standard_manipulators.cc: New file.
324 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
325 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
327 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
329 * config/os/mingw32/bits/ctype_noninline.h
330 (ctype<char>::ctype): Remove default args from parm list.
331 * config/os/djgpp/bits/ctype_noninline.h: Same.
333 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
335 * include/std/std_iomanip.h: Inline, tweaks.
336 * config/linker-map.gnu: Remove hacks.
338 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
339 * testsuite/27_io/ios_init.cc: Same.
340 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
341 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
343 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
345 * config/linker-map.gnu: Export global vtable, typeinfo, guard
346 variable, and thunk info as per CXXABI docs.
348 2002-02-19 Loren Rittle <ljrittle@acm.org>
350 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
351 * include/Makefile.in: Rebuilt.
353 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
355 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
356 with size3 for the string collations of str5.
358 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
361 * include/bits/locale_facets.tcc (money_put::do_put):
362 For the space field use __fill instead of ' ', uniformly.
363 * testsuite/22_locale/money_put_members_char.cc:
364 Add test05 distilled from PR.
365 (test01-02-03): Trim some '*' to ' '.
366 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
368 2002-02-18 Loren Rittle <ljrittle@acm.org>
371 * include/Makefile.am (thread_builddir): Remove (map all
372 existing uses to target_builddir).
373 (thread_headers): Rename to...
374 (thread_target_headers): ...this.
375 (stamp-thread): Remove.
376 (stamp-target): Correctly state the position as built.
377 Update all dependencies to match the new reality. Remove all
378 dependency calculations on directories.
379 * include/Makefile.in: Rebuilt.
381 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
383 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
384 * include/bits/fstream.tcc: Same.
385 * include/bits/sstream.tcc: Same.
386 * include/bits/ostream.tcc: Same.
387 * include/bits/istream.tcc: Same.
388 * include/bits/streambuf.tcc: Same.
389 * include/bits/basic_ios.tcc: Same.
390 * include/bits/basic_string.tcc: Same.
392 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
394 * include/std/std_iosfwd.h: Don't guard typedefs with
396 * include/bits/stringfwd.h: Same.
398 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
400 * src/locale.cc (moneypunct_byname): Remove definitions.
401 * include/std/std_streambuf.h (streambuf::operator=): Return.
403 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
406 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
407 explicit instantiation.
408 (string::_Rep::_S_max_size): Same.
409 * include/bits/basic_string.tcc: Add extern explicit
410 instantiations for string, wstring.
411 * include/bits/basic_ios.tcc: Add extern explicit instantiations
413 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
414 * include/bits/istream.tcc: Same, for istream, wistream.
415 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
417 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
418 istringstream, wistringstream, ostringstream, wostringstream,
419 stringstream, wstringstream.
420 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
421 wifstream, ofstream, wofstream, fstream, wfstream.
422 * src/misc-inst.cc: Correct comments.
423 Add iomanip instantiations for wide streams.
424 * include/std/std_iomanip.h: Same.
425 * include/bits/locale_facets.tcc: Same.
427 * include/std/std_streambuf.h: Correct
428 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
429 * include/std/std_sstream.h: Same.
430 * include/std/std_ostream.h: Same.
431 * include/std/std_istream.h: Same.
432 * include/std/std_fstream.h: Same.
434 * include/std/std_streambuf.h: Add definitions for private copy
435 ctor and assignment operator.
436 * include/std/std_istream.h: Remove declared but undefined copy
437 ctor and assignment operator. This is taken care of in ios_base,
438 so adding it in the derived class as well is superfluous.
439 * include/std/std_ostream.h: Same.
441 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
442 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
444 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
446 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
447 Add typeinfo bits. Smooth.
448 * aclocal.m4: Regenerate.
450 * src/Makefile.in: Same.
452 2001-02-14 Joel Sherrill <joel@OARcorp.com>
454 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
455 which do not have a CAS instruction.
457 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
459 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
460 * configure.in: Call it.
461 * config/linker-map.gnu: New file, initial incomplete revision.
462 * src/Makefile.am: Optionally pass version script to the linker.
463 * aclocal.m4: Regenerate.
464 * configure: Regenerate.
465 * src/Makefile.in: Regenerate.
467 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
469 * src/localename.cc: Remove stdexcept include.
470 * src/locale-inst.cc: Same.
471 * src/locale.cc: Same.
472 * src/functexcept.cc: Remove string includes.
473 * include/std/std_bitset.h: Remove stdexcept include.
474 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
475 * testsuite/23_containers/bitset_ctor.cc: Same.
477 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
479 * include/bits/stl_algo (__stl_threshold): Declare external.
480 (__stl_chunk_size): Same.
481 * include/bits/stl_bvector.h (__WORD_BIT): Same.
482 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
483 (_S_rb_tree_black): Same.
484 * src/stl-inst.cc (__stl_threshold): Define.
485 (__stl_chunk_size): Same.
487 (_S_rb_tree_red): Same.
488 (_S_rb_tree_black): Same.
490 * config/io/basic_file_libio.h (__basic_file): Add declarations.
491 * include/bits/basic_file.h: Remove.
492 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
493 Declare generic types, specialization.
494 * config/io/basic_file_stdio.cc: Definitions.
495 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
496 Declare generic types.
497 * include/Makefile.am (bits_headers): Remove basic_file.h.
498 (extra_target_headers): Change basic_file_model.h to basic_file.h.
499 (stamp-target): Same.
501 * include/bits/stl_alloc.h: Tweaks.
502 * include/bits/localefwd.h: Same.
504 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
506 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
507 * testsuite/22_locale/collate_members_char.cc (test03): New test.
508 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
510 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
512 * include/bits/stl_algo.h (transform (both signatures), generate_n):
513 Use __typeof__ in concept checks.
515 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
517 * include/bits/stl_algo.h (__median, for_each, find, find_if,
518 adjacent_find, count, count_if, search, search_n, swap_ranges,
519 transform, replace, replace_if, replace_copy, replace_copy_if,
520 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
521 unique, unique_copy, reverse, reverse_copy): Doxygenate.
523 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
525 * include/bits/locale_facets.h
526 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
527 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
528 (__timepunct<_CharT>::_M_put_helper): Same.
529 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
531 * include/bits/fstream.tcc (filebuf::underflow): Remove
532 __codecvt_type typedef.
533 (filebuf::_M_convert_to_external): Same.
535 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
537 * docs/doxygen/TODO: Update.
538 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
539 * docs/doxygen/mainpage.html: Add TODO list link.
540 * docs/doxygen/user.cfg.in: Add @doctodo hook.
541 * docs/doxygen/tables.html: New file, emoty structure only.
543 * include/bits/stl_iterator.h: Doxygenate just about everything.
544 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
545 * include/bits/stl_iterator_base_types.h: Add notes.
547 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
549 * include/bits/stl_map.h: Tweak doxygen markup.
550 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
551 * include/bits/stl_vector.h: Likewise.
553 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
557 * include/std/std_fstream.h (filebuf::__file_type): Change to
559 (filebuf::_M_convert_to_external): Declare.
560 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
561 codecvt bits for wide streams.
562 (filebuf::_M_really_overflow): Use it.
563 (filebuf::underflow): Use codecvt.
564 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
565 (codecvt<__enc_traits>::do_out): Deal with partial.
566 (codecvt<__enc_traits>::do_encoding): Return something useful.
567 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
569 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
570 Change expected encoding output.
572 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
575 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
576 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
578 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
579 (basic_ios::widen): Same.
581 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
583 * testsuite/22_locale/money_get_members_char.cc:
584 Add comment, tidy up.
585 (test01): more "en_HK" tests (without showbase).
586 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
588 2002-02-06 Loren Rittle <ljrittle@acm.org>
590 * config/locale/c_locale_generic.cc: Do not trust
591 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
594 2002-02-06 Loren Rittle <ljrittle@acm.org>
596 * acinclude.m4: Add C++ linkage check for strtof.
597 * aclocal.m4: Rebuilt.
598 * config.h.in: Rebuilt.
599 * configure: Rebuilt.
600 * config/locale/c_locale_generic.cc: Conditionally include
601 <ieeefp.h>. Improve handling and error checking of float
602 and long double input for non-C99 configurations.
604 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
606 * include/bits/locale_facets.tcc (money_get::do_get(string)):
607 In case money_base::symbol deal properly with multi-char sign
608 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
609 * testsuite/22_locale/money_get_members_char.cc: Add test07.
610 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
612 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
614 * include/bits/locale_facets.tcc (money_get::do_get(string)):
615 First construct a tentative returned string, then, only if the
616 parsing succeeds, copy it into the string passed by reference.
617 * testsuite/22_locale/money_get_members_char.cc: Add test06.
618 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
620 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
622 * docs/doxygen/TODO: Impl-defined behavior now documented...
623 * docs/html/17_intro/howto.html: ...here.
624 * docs/doxygen/mainpage.doxy: Remove, rename...
625 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
626 * docs/doxygen/style.css: Add small text.
627 * docs/doxygen/run_doxygen: Adjust for new mainpage.
628 * docs/doxygen/user.cfg.in: Likewise.
630 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
632 * include/bits/stl_map.h: Initial doxygen markup.
633 * include/std/std_fstream.h: Initial doxygen markup.
635 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
638 * include/bits/locale_facets.tcc (money_get::do_get(string)):
639 Deal correctly with !(__io.flags() & ios_base::showbase)
640 for case money_base::symbol.
641 * testsuite/22_locale/money_get_members_char.cc: Add test05.
642 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
644 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
646 * testsuite/22_locale/operators.cc
647 (gnu_collate::do_compare()): Add return statement to
648 suppress "no return statement" warning.
650 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
652 * testsuite/27_io/ostream_manip.cc: Enable test02.
654 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
656 * docs/html/documentation.html: Update for 3.0.96.
657 * docs/html/faq/index.html: Update for 3.0.96.
658 * docs/html/faq/index.txt: Regenerated.
659 * docs/doxygen/TODO: Update notes.
660 * docs/html/17_intro/howto.html: Initial impl-specific listing.
662 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
664 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
665 Initialize all data members in copy ctor. Make ctors explicit.
666 (__enc_traits::__enc_traits()): Default ctor does nothing.
667 (__enc_traits::_M_init): Guard against multiple iconv_opens.
668 * include/std/std_sstream.h (basic_stringbuf): Make data members
670 * include/std/std_fstream.h (basic_filebuf): Same.
671 * include/std/std_streambuf.h: Tweak.
672 * include/bits/streambuf.tcc: Same.
673 * include/bits/sstream.tcc: Same.
674 * include/bits/fstream.tcc: Same.
676 2002-01-31 Loren Rittle <ljrittle@acm.org>
678 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
679 allow NULL argument to be passed to setenv().
680 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
681 * testsuite/22_locale/collate_members_char.cc: Likewise.
682 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
683 * testsuite/22_locale/ctype_members_char.cc: Likewise.
684 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
685 * testsuite/22_locale/messages_members_char.cc: Likewise.
686 * testsuite/22_locale/money_get_members_char.cc: Likewise.
687 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
688 * testsuite/22_locale/money_put_members_char.cc: Likewise.
689 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
690 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
691 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
692 * testsuite/22_locale/num_get_members_char.cc: Likewise.
693 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
694 * testsuite/22_locale/num_put_members_char.cc: Likewise.
695 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
696 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
697 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
698 * testsuite/22_locale/time_get_members_char.cc: Likewise.
699 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
700 * testsuite/22_locale/time_put_members_char.cc: Likewise.
701 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
703 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
705 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
707 * ChangeLog-2001: Fix spelling errors...
708 * docs/html/17_intro/RELEASE-NOTES: Update.
709 * docs/html/17_intro/TODO: Update.
710 * README (file): Update.
712 2002-01-30 Loren Rittle <ljrittle@acm.org>
714 * config/locale/c_locale_generic.cc: Check errno for ERANGE
715 instead of non-zero to aid portability.
717 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
719 * docs/html/22_locale/messages.html: Fix example code.
721 2002-01-30 Richard Henderson <rth@redhat.com>
723 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
724 out from test03 and templatize.
727 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
729 * config/locale/numpunct_members_gnu.cc
730 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
731 Fix initialization of _M_grouping for locales which have
732 _M_thousands_sep == '\0'(L'\0', respectively).
733 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
735 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
737 * testsuite/27_io/ostream_inserter_arith.cc (test03):
738 Better fix for 32/64 bit architectures, avoiding the
739 implicit assumption that CHAR_BIT == 8.
741 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
743 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
744 * Makefile.in: Regenerate.
746 * docs/doxygen/run_doxygen: Update, mostly for man pages.
747 * docs/doxygen/Intro.3: Update.
748 * docs/doxygen/TODO: Update.
749 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
750 * docs/doxygen/mainpage.doxy: Update.
751 * docs/doxygen/user.cfg.in: Update for header rename. Also
752 regenerate comments and variables with 1.2.12.
753 * docs/doxygen/maint.cfg.in: Remove file.
755 * include/bits/stl_relops.h: Doxygenate.
756 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
758 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
759 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
760 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
761 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
762 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
763 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
764 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
765 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
766 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
767 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
768 include/ext/hash_set, include/ext/iterator, include/ext/memory,
769 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
770 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
771 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
772 include/std/std_algorithm.h, include/std/std_bitset.h,
773 include/std/std_complex.h, include/std/std_deque.h,
774 include/std/std_fstream.h, include/std/std_functional.h,
775 include/std/std_iomanip.h, include/std/std_ios.h,
776 include/std/std_iosfwd.h, include/std/std_iostream.h,
777 include/std/std_istream.h, include/std/std_iterator.h,
778 include/std/std_limits.h, include/std/std_list.h,
779 include/std/std_locale.h, include/std/std_map.h,
780 include/std/std_memory.h, include/std/std_numeric.h,
781 include/std/std_ostream.h, include/std/std_queue.h,
782 include/std/std_set.h, include/std/std_sstream.h,
783 include/std/std_stack.h, include/std/std_stdexcept.h,
784 include/std/std_streambuf.h, include/std/std_string.h,
785 include/std/std_utility.h, include/std/std_valarray.h,
786 include/std/std_vector.h: Add/correct @file doxygen hook.
788 * include/ext/memory: Doxygenate most of rest of file.
789 * libsupc++/exception: Doxygen output formatting.
790 * libsupc++/new: Say which header it is.
792 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
793 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
794 * docs/html/23_containers/howto.html: Describe O(n) list::size().
795 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
797 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
798 Charles Leggett <CGLeggett@lbl.gov>
800 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
802 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
804 * testsuite/27_io/ostream_inserter_arith.cc (test03):
805 Fix to deal correctly with both 32 bit and 64 bit architectures
807 2002-01-25 Loren Rittle <ljrittle@acm.org>
809 * testsuite/thread/pthread1.cc: Use one condition variable
810 per predicate instead of tricky use of one condition variable.
812 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
814 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
816 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
817 * testsuite/27_io/filebuf.cc: Compile only.
818 * testsuite/27_io/filebuf_members.cc: Move tests to here.
819 * testsuite/27_io/filebuf_virtuals.cc: And here.
820 Revert sungetc, sync changes for expected values.
821 * testsuite/27_io/filebuf-*: Move to...
822 * testsuite/27_io/filebuf_virtuals-*: ...here.
823 * testsuite/27_io/istream.cc: Compile only, activate.
824 * testsuite/27_io/ostream.cc: Same.
825 * testsuite/27_io/iostream.cc: New.
826 * testsuite/27_io/iostream_members.cc: New.
828 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
830 * testsuite/thread/pthread1.cc: Enable on cygwin.
831 * testsuite/thread/pthread2.cc: Likewise.
832 * testsuite/thread/pthread3.cc: Likewise.
833 * testsuite/thread/pthread4.cc: Likewise.
834 * testsuite/thread/pthread5.cc: Likewise.
835 * testsuite/thread/pthread6.cc: Likewise.
837 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
839 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
841 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
843 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
845 (basic_ios::fill(char_type)): Use fill().
846 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
847 (basic_ios::narrow): Same.
848 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
850 (basic_ios::init): Comment.
851 * testsuite/27_io/ios_init.cc (test02): New.
853 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
855 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
856 * include/bits/stl_algo.h: Include stl_tempbuf.h.
857 * include/ext/memory: Do not include stl_tempbuf.h.
858 (temporary_buffer): Add doxygen hook.
859 (__get_temporary_buffer, get_temporary_buffer,
860 return_temporary_buffer): Move back to std:: header...
861 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
862 * include/ext/rope: Do not include stl_tempbuf.h.
863 * include/ext/stl_hashtable.h: Likewise.
864 * include/std/std_algorithm.h: Likewise.
865 * testsuite/20_util/temporary_buffer.cc: New file.
867 2002-01-24 andrew@andypo.net
868 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
871 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
872 * include/bits/localefwd.h: Likewise.
873 Also use for std::locale::id::_S_highwater.
874 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
875 * src/locale.cc: Support new usage of _Atomic_word.
876 (std::locale::classic): Guard entire function against reentry.
877 * src/localename.cc: Support new usage of _Atomic_word.
879 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
881 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
882 _GLIBCPP_HAVE_SETENV.
883 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
884 * testsuite/22_locale/collate_members_char.cc (test02): Same.
885 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
886 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
887 * testsuite/22_locale/messages_members_char.cc (test02): Same.
888 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
889 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
890 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
891 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
892 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
893 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
894 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
895 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
896 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
897 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
898 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
899 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
900 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
901 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
902 * aclocal.m4: Regenerate.
903 * configure: Regenerate.
904 * config.h.in: Regenerate.
906 2002-01-23 Loren Rittle <ljrittle@acm.org>
908 * testsuite/thread/pthread1.cc: New test.
909 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
910 * testsuite/thread/pthread3.cc: Likewise.
911 * testsuite/thread/pthread4.cc: New test adapted from
912 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
913 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
914 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
916 2002-01-23 Richard Henderson <rth@redhat.com>
919 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
920 CAS on the cpu variants that support it. Add versions that use
921 TAS and that disable interrupts.
922 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
924 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
926 * include/bits/locale_facets.tcc: Remove old comments.
928 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
930 * include/bits/locale_facets.tcc (__convert_to_v): Change template
932 (__convert_from_v): Same.
934 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
936 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
938 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
939 __max_digits checks, adjust arguments.
940 (num_get::do_get(*)): Changeup.
942 2002-01-23 Loren Rittle <ljrittle@acm.org>
944 * config/locale/c_locale_generic.cc: Fix typename usage.
946 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
948 * config/locale/c_locale_generic.cc: Fix.
950 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
952 * docs/html/22_locale/messages.html: Remove angle brackets.
953 * docs/html/17_intro/TODO: Add.
955 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
957 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
958 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
959 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
960 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
962 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
964 Audit for LANG independence.
965 * include/bits/localefwd.h: Tweaks.
966 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
968 (time_get::do_get_year): Same.
969 (__convert_from_v): Add.
970 (num_put::_M_convert_float): Use.
971 (num_put::_M_convert_int): Same.
972 (money_put::do_put): Same.
974 * src/locale-inst.cc: Add instantiations for __convert_from_v.
975 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
976 * config/locale/time_members_generic.cc:
977 * config/locale/messages_members_gnu.cc: Same.
978 * config/locale/messages_members_gnu.h: Same.
980 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
981 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
982 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
983 * testsuite/22_locale/collate_members_char.cc (test02): New.
984 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
985 * testsuite/22_locale/ctype_members_char.cc (test03): New.
986 * testsuite/22_locale/messages_members_char.cc (test02): New.
987 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
988 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
989 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
990 * testsuite/22_locale/money_get_members_char.cc (test04): New.
991 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
992 * testsuite/22_locale/money_put_members_char.cc (test04): New.
993 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
994 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
995 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
996 * testsuite/22_locale/time_put_members_char.cc (test03): New.
997 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
998 * testsuite/22_locale/time_get_members_char.cc (test07): New.
999 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1000 * testsuite/22_locale/num_get_members_char.cc (test03): New.
1001 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1002 * testsuite/22_locale/num_put_members_char.cc (test03): New.
1004 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1006 * testsuite/22_locale/time_get_members_char.cc: Same.
1008 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1011 * include/bits/localefwd.h: Tweak comments.
1012 * include/bits/locale_facets.h (__convert_to_v): Add.
1013 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1014 (num_get::do_get(float)): Same.
1015 (num_get::do_get(long double)): Same.
1016 (num_get::do_get(bool)): Same.
1017 (num_get::do_get(long)): Same.
1018 (num_get::do_get(long long)): Same.
1019 (num_get::do_get(unsigned int)): Same.
1020 (num_get::do_get(unsigned short)): Same.
1021 (num_get::do_get(unsigned long)): Same.
1022 (num_get::do_get(unsigned long long)): Same.
1023 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1024 * config/locale/c_locale_generic.cc: Same.
1026 2002-01-22 Loren Rittle <ljrittle@acm.org>
1028 * include/Makefile.am (c_base_builddir): Remove redundant slash.
1029 (std_builddir): Likewise.
1030 (std_headers_rename): Fix cut-n-paste typo.
1031 (install-data-local): Concat path per element instead of once to
1032 first element of list.
1033 * include/Makefile.in: Rebuilt.
1035 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1037 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1038 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1039 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1041 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
1043 * include/bits/locale_facets.h (ctype<char>::classic_table):
1045 (ctype<char>::_S_ctable): Remove.
1046 * config/os/gnu-linux/bits/ctype_noninline.h
1047 (ctype<char>::_S_table): Remove definition.
1048 (ctype<char>::classic_table): Define.
1049 (ctype<char>::ctype): Replace _S_ctable with classic_table().
1050 * config/os/aix/bits/ctype_noninline.h: Same.
1051 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1052 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1053 * config/os/djgpp/bits/ctype_noninline.h: Same.
1054 * config/os/generic/bits/ctype_noninline.h: Same.
1055 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1056 * config/os/hpux/bits/ctype_noninline.h: Same.
1057 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1058 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1059 * config/os/mingw32/bits/ctype_noninline.h: Same.
1060 * config/os/newlib/bits/ctype_noninline.h: Same.
1061 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1062 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1063 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1065 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1067 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1068 of _pctype. Use to define _S_ctable. Add definition for alternate
1069 ctor. Initialise _M_ctable to _S_ctable in ctors.
1070 (do_toupper, do_tolower): Use inline code appropriate for C-locale
1071 rather than ::toupper, ::tolower.
1073 2002-01-18 Loren Rittle <ljrittle@acm.org>
1075 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1076 Add specialization for FreeBSD systems only to avoid losing test
1077 only due to extra precision unmentioned in system headers.
1079 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
1081 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1083 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1085 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
1086 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1088 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1090 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1092 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1094 * configure.target: Define OPT_LDFLAGS for AIX case.
1096 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1098 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1099 __glibcpp_double_has_quiet_NaN): Correct mispelling.
1101 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
1103 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1105 2002-01-16 David Edelsohn <dje@watson.ibm.com>
1107 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1108 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
1109 * aclocal.m4: Regenerate.
1110 * configure: Regenerate.
1112 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1114 * include/Makefile.am (c_base_headers_rename): New.
1115 (c_base_headers_extra): New.
1116 (stamp-c_base): Modify.
1117 (install-data-local): Use both.
1118 * include/Makefile.in: Regenerate.
1119 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1120 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1121 cstdio ctime cwctype]: Move to..
1122 * include/c/std_*: Here.
1123 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1124 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1125 cstdio ctime cwctype]: Move to..
1126 * include/c_std/std_*: Here.
1128 Alexandre Oliva <aoliva@redhat.com>
1129 * include/Makefile.am (.PRECIOUS): Add rule.
1130 * include/Makefile.in: Regenerate.
1132 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1133 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1135 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1136 Deuglify, should be current.
1137 (back_insert_iterator::_M_container): Deuglify, should be container.
1138 (front_insert_iterator::_M_container): Same.
1139 (insert_iterator::_M_container): Same.
1140 * testsuite/24_iterators/reverse_iterator.cc: Add check.
1141 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1142 * testsuite/24_iterators/front_insert_iterator.cc: Same.
1143 * testsuite/24_iterators/insert_iterator.cc: Same.
1145 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1147 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1149 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1150 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1151 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1152 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1153 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1154 * config/os/newlib/bits/ctype_noninline.h: Same.
1155 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1156 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1157 * config/os/hpux/bits/ctype_noninline.h: Same.
1158 * config/os/djgpp/bits/ctype_noninline.h: Same.
1159 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1160 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1161 * config/os/aix/bits/ctype_noninline.h: Same.
1163 Testcase by Dietmar Kühl via Peter Schmid
1164 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1167 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1169 * libmath/signbitl.c: Copyright years as list, not range.
1170 * libmath/Makefile.am: Same.
1171 * libmath/Makefie.in: Regenerate.
1172 * libmath/signbit.c: Same.
1173 * libmath/nan.c: Same.
1174 * libmath/copysignf.c: Same.
1175 * libmath/signbitf.c: Same.
1176 * testsuite/22_locale/money_get_members_char.cc: Same.
1177 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1178 * testsuite/22_locale/money_put_members_char.cc: Same.
1179 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1180 * testsuite/22_locale/time_get_members_char.cc: Same.
1181 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1182 * testsuite/22_locale/time_put_members_char.cc: Same.
1183 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1184 * testsuite/21_strings/nonmember.cc: Same.
1185 * testsuite/21_strings/compare.cc: Same.
1186 * testsuite/27_io/stringstream.cc: Same.
1187 * testsuite/27_io/stringbuf.cc: Same.
1188 * testsuite/27_io/filebuf.cc: Same.
1189 * testsuite/27_io/ios_manip_basefield.cc: Same.
1190 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1191 * include/bits/cpp_type_traits.h: Same.
1192 * include/bits/generic_shadow.h: Same.
1193 * include/bits/gslice_array.h: Same.
1194 * include/bits/gslice.h: Same.
1195 * include/bits/indirect_array.h: Same.
1196 * include/bits/slice_array.h: Same.
1197 * include/bits/sstream.tcc: Same.
1198 * include/bits/streambuf_iterator.h: Same.
1199 * include/bits/valarray_array.tcc: Same.
1200 * include/bits/valarray_meta.h: Same.
1201 * include/bits/valarray_array.h: Same.
1202 * config/os/mingw32/bits/ctype_noninline.h: Same.
1203 * config/os/mingw32/bits/ctype_base.h: Same.
1204 * config/os/hpux/bits/ctype_noninline.h: Same.
1205 * config/os/hpux/bits/ctype_base.h: Same.
1206 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1207 * config/os/gnu-linux/bits/ctype_base.h: Same.
1208 * config/os/generic/bits/ctype_noninline.h: Same.
1209 * config/os/generic/bits/ctype_base.h: Same.
1211 * libsupc++/tinfo.h: Tweaks.
1213 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1215 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1216 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1217 * testsuite/22_locale/ctype_members_char.cc: Tweak.
1219 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1221 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1222 (num_put::do_put(void*)): Fix.
1223 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1224 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1225 * testsuite/22_locale/num_get_members_char.cc (test02): Add
1226 long double, void, bool types.
1227 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1229 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1230 Alexandre Oliva <aoliva@redhat.com>
1232 * libmath/Makefile.am (LINK): Add --tag CC.
1233 * libmath/Makefile.in: Regenerate.
1235 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1237 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1238 of character to attribute mapping table.
1240 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
1242 * testsuite/26_numerics/c99_classification_macros_c.cc
1243 Remove dg-error and dg-excess-errors comments.
1245 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
1247 * include/bits/locale_facets.tcc (time_put::put): Correct output
1249 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1250 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1251 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1252 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1254 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
1256 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1258 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
1259 Nathan Myers <ncm@cantrip.org>
1261 * include/bits/basic_string.h
1262 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1263 temporaries (i.e., call _M_replace_safe) when possible.
1264 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1265 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1266 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1267 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1268 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1269 * include/bits/basic_string.tcc
1270 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1271 replace(__pos, __n1, __s, __n2).
1272 * testsuite/21_strings/replace.cc (test03): New testcases.
1274 * include/bits/basic_string.h (insert(__pos, __s, __n)):
1275 Adjust comparison wrt overflow.
1277 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1279 * include/Makefile.am (std_headers_rename): New variable.
1280 (install-data-local): Use it.
1281 * include/Makefile.in: Regenerate.
1283 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1285 * include/bits/locale_facets.tcc (money_put::do_put(string):
1286 Correct output iterator value.
1287 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1288 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1290 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1292 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
1295 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1297 * include/Makefile.am (std_headers): Update list with new names.
1298 (stamp-std): Link to standardized name.
1299 * include/Makefile.in: Regenerate.
1301 * include/std/algorithm, include/std/bitset, include/std/complex,
1302 include/std/deque, include/std/fstream, include/std/functional,
1303 include/std/iomanip, include/std/ios, include/std/iosfwd,
1304 include/std/iostream, include/std/istream, include/std/iterator,
1305 include/std/limits, include/std/list, include/std/locale,
1306 include/std/map, include/std/memory, include/std/numeric,
1307 include/std/ostream, include/std/queue, include/std/set,
1308 include/std/sstream, include/std/stack, include/std/stdexcept,
1309 include/std/streambuf, include/std/string, include/std/utility,
1310 include/std/valarray, include/std/vector: Rename to...
1312 * include/std/std_algorithm.h, include/std/std_bitset.h,
1313 include/std/std_complex.h, include/std/std_deque.h,
1314 include/std/std_fstream.h, include/std/std_functional.h,
1315 include/std/std_iomanip.h, include/std/std_ios.h,
1316 include/std/std_iosfwd.h, include/std/std_iostream.h,
1317 include/std/std_istream.h, include/std/std_iterator.h,
1318 include/std/std_limits.h, include/std/std_list.h,
1319 include/std/std_locale.h, include/std/std_map.h,
1320 include/std/std_memory.h, include/std/std_numeric.h,
1321 include/std/std_ostream.h, include/std/std_queue.h,
1322 include/std/std_set.h, include/std/std_sstream.h,
1323 include/std/std_stack.h, include/std/std_stdexcept.h,
1324 include/std/std_streambuf.h, include/std/std_string.h,
1325 include/std/std_utility.h, include/std/std_valarray.h,
1326 include/std/std_vector.h: ...this.
1328 2002-01-11 Loren Rittle <ljrittle@acm.org>
1330 * include/Makefile.am (extra_target_headers): New list of all
1331 target files built with ad hoc naming rules.
1332 (stamp-*): Handle LN_S failure in manner portable across make
1334 (install-data-local): Install header files from human-maintained
1335 file lists and directory components instead of non-robust find.
1336 * include/Makefile.in: Rebuilt.
1338 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
1340 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1341 Check for zero-length negative sign before adding it to output
1343 (money_get::do_get(long double)): Return beg.
1344 * testsuite/22_locale/money_get_members_char.cc (test02): Add
1346 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1348 2002-01-10 David Seymour <seymour_dj@yahoo.com>
1351 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1352 for _M_extract_float and _M_extract_int
1353 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1354 (num_get<>::_M_extract_int): Likewise, all callers changed
1355 * testsuite/22_locale/num_get_members_char.cc: Testcase
1357 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1359 * libsupc++/exception (bad_exception): Add comment.
1360 * libsupc++/new (bad_alloc): Same.
1361 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1363 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1365 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1366 that the destructors should be removed from the descriptions
1367 in the standard: writing them explicitly allows the vtable
1368 heuristic to work. For additional information see:
1369 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1370 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1371 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1372 * libsupc++/exception (bad_exception::~bad_exception()):
1373 Reintroduce declaration.
1374 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1375 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1376 (bad_typeid::~bad_typeid()): Same.
1377 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1378 Reintroduce definition.
1379 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1380 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1381 (bad_typeid::~bad_typeid()): Same.
1383 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
1385 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1386 * include/Makefile.in: Regenerate.
1388 2002-01-09 Bo Thorsen <bo@suse.co.uk>
1390 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1393 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
1397 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1398 return value of _M_file->sync().
1399 (filebuf::showmanyc): Check for is_open.
1400 * include/std/fstream (filebuf::sync): Tweak.
1401 * testsuite/27_io/filebuf.cc: Tweak.
1403 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
1404 Brad Garcia <garsh@attbi.com>
1406 * testsuite/27_io/filebuf_members.cc: Add test.
1408 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
1409 Craig Rodrigues <rodrigc@mediaone.net>
1412 * po/Makefile.am (mkinstalldirs): Add.
1413 * po/Makefile.in: Regenerate.
1415 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
1417 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1418 testsuite/lib/prune.exp: Delete lines ":In function ..." from
1420 * testsuite/23_containers/map_operators.cc: Remove
1421 dg-excess-errors comment.
1422 * testsuite/23_containers/set_operators.cc: Likewise.
1424 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
1426 * include/bits/stl_function.h: Remove two lines of comments;
1427 adjust copyright years.
1429 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
1431 * include/Makefile.am (std_headers): Remove cXXX from list.
1432 (c_base_srcdir): No bits subdirectory.
1433 (c_base_builddir): Same.
1434 (c_base_headers): Adjust names, add ciso646.
1435 (bits_headers): Remove std_xxx.h headers.
1436 * include/Makefile.in: Regenerate.
1438 * include/ext/iterator: Adjust includes.
1439 * include/ext/ropeimpl.h: Same.
1440 * include/ext/stl_hash_fun.h: Same.
1441 * include/ext/algorithm: Same.
1443 * include/backward/bvector.h: Adjust includes.
1444 * include/backward/vector.h: Same.
1445 * include/backward/strstream: Same.
1446 * include/backward/streambuf.h: Same.
1447 * include/backward/stack.h: Same.
1448 * include/backward/set.h: Same.
1449 * include/backward/queue.h: Same.
1450 * include/backward/multiset.h: Same.
1451 * include/backward/multimap.h: Same.
1452 * include/backward/map.h: Same.
1453 * include/backward/list.h: Same.
1454 * include/backward/iterator.h: Same.
1455 * include/backward/iostream.h: Same.
1456 * include/backward/iomanip.h: Same.
1457 * include/backward/fstream.h: Same.
1458 * include/backward/deque.h: Same.
1459 * include/backward/complex.h: Same.
1461 * include/bits/std_algorithm.h: Move to...
1462 * include/std/algorithm: ...here.
1463 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1464 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1465 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1466 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1467 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1468 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1469 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1472 * include/c_std/bits/std_cassert.h: Move to...
1473 * include/c_std/cassert: Here.
1474 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1475 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1476 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1477 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1478 std_cwctype.h: Same.
1479 * include/c_std/cmath: Adjust cmath.tcc include.
1480 * include/c_std/cstdlib: Adjust includes.
1481 * include/c_std/cwchar: Same.
1482 * include/c_std/ctime: Same.
1483 * include/c_std/cstring: Same.
1484 * include/c_std/cstdio: Same.
1485 * include/c_std/bits: Remove directory.
1487 * include/c/bits/std_cassert.h: Move to...
1488 * include/c/cassert: Here.
1489 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1490 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1491 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1492 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1493 std_cwctype.h: Same.
1494 * include/c/bits: Remove directory.
1496 * include/std/cwctype: Remove.
1497 * include/std/cwchar: Remove.
1498 * include/std/ctime: Remove.
1499 * include/std/cstring: Remove.
1500 * include/std/cstdlib: Remove.
1501 * include/std/cstdio: Remove.
1502 * include/std/cstddef: Remove.
1503 * include/std/cstdarg: Remove.
1504 * include/std/csignal: Remove.
1505 * include/std/csetjmp: Remove.
1506 * include/std/cmath: Remove.
1507 * include/std/clocale: Remove.
1508 * include/std/climits: Remove.
1509 * include/std/ciso646: Remove.
1510 * include/std/cfloat: Remove.
1511 * include/std/cerrno: Remove.
1512 * include/std/cctype: Remove.
1513 * include/std/cassert: Remove.
1515 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1516 files and subsituting <xxx>.
1517 * include/bits/valarray_array.h: Same.
1518 * include/bits/stl_uninitialized.h: Same.
1519 * include/bits/stl_alloc.h: Same.
1520 * include/bits/stl_algobase.h: Same.
1521 * include/bits/sstream.tcc: Same.
1522 * include/bits/pthread_allocimpl.h: Same.
1523 * include/bits/ostream.tcc: Same.
1524 * include/bits/localefwd.h: Same.
1525 * include/bits/locale_facets.tcc: Same.
1526 * include/bits/locale_facets.h: Same.
1527 * include/bits/istream.tcc: Same.
1528 * include/bits/char_traits.h: Same.
1529 * include/bits/boost_concept_check.h: Same.
1530 * include/bits/basic_file.h: Same.
1531 * include/std/bitset: Same.
1532 * include/std/complex: Same.
1533 * include/std/fstream: Same.
1534 * include/std/functional: Same.
1535 * include/std/ios: Same.
1536 * include/std/iostream: Same.
1537 * include/std/ostream: Same.
1538 * include/std/sstream: Same.
1539 * include/std/streambuf: Same.
1540 * include/std/string: Same.
1541 * include/std/iterator: Same.
1542 * include/std/valarray: Same.
1544 * src/ios.cc: Adjust includes.
1545 * src/valarray-inst.cc: Same.
1546 * src/string-inst.cc: Same.
1547 * src/stl-inst.cc: Same.
1548 * src/stdexcept.cc: Same.
1549 * src/misc-inst.cc: Same.
1550 * src/localename.cc: Same.
1551 * src/locale-inst.cc: Same.
1552 * src/locale.cc: Same.
1553 * src/limits.cc: Same.
1554 * src/concept-inst.cc: Same.
1555 * src/complex_io.cc: Same.
1556 * src/codecvt.cc: Same.
1557 * src/bitset.cc: Same.
1558 * src/cmath.cc: Same.
1560 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
1562 * include/bits/stl_tree.h (rb_tree): Move to...
1563 * include/ext/rb_tree: ...here, new file.
1564 * include/Makefile.am (ext_headers): Add new file.
1565 * include/Makefile.in: Regenerate.
1566 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1567 return_temporary_buffer, struct temporary_buffer): Move to...
1568 * include/ext/memory: ...here.
1569 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
1570 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
1571 * include/backward/tree.h: Include <ext/rb_tree), tweak.
1573 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
1575 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
1576 * include/ext/numeric: ...here, new file.
1577 * include/bits/stl_function.h (identity_element, unary_compose,
1578 binary_compose, compose1, compose2, identity, select1st,
1579 select2nd, project1st + helper, project2nd + helper,
1580 constant_void_fun + helper, constant_unary_fun + helper,
1581 costant_binary_fun + helper, constant0, constant1, constant2,
1582 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
1583 * include/ext/functional: ...here, new file.
1584 * include/Makefile.am (ext_headers): Add new files.
1585 * include/Makefile.in: Regenerate.
1586 * testsuite/ext/headers.cc: Include <ext/numeric> and
1588 * include/backward/algo.h: Include <ext/numeric>, tweak.
1589 * include/backward/function.h: Include <ext/functional>, tweak.
1590 * include/ext/ropeimpl.h: Include <ext/numeric>.
1592 2002-01-03 Jeffrey A Law <law@redhat.com>
1594 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1595 __strtoull declarations with __extension__.
1597 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
1599 * testsuite/lib/prune.exp: Correct regular expression for
1602 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1604 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1605 Change concept checks, as with lower_bound and PR 2054.
1606 * testsuite/ext/concept_checks.cc: Expand test to include those.
1608 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1610 * include/bits/boost_concept_check.h: Import some changes from
1611 upsteam (Boost) version.
1613 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
1615 * include/bits/stl_algobase.h (copy_n + helpers,
1616 lexicographical_compare_3way + helpers): Move to...
1617 * include/ext/algorithm: ...here.
1618 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
1619 helpers): Move to...
1620 * include/ext/memory: ...here, new file.
1621 * include/Makefile.am (ext_headers): Add new file.
1622 * include/Makefile.in: Regenerate.
1623 * testsuite/ext/headers.cc: Include <ext/memory>.
1624 * include/backward/algobase.h: Include <ext/memory> and
1625 <ext/algorithm>, tweak.
1626 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
1627 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
1629 2002-01-01 Roger Sayle <roger@eyesopen.com>
1631 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
1632 equivalent ___builtin__ versions.
1634 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
1635 are available in libstdc++ as the necessary stub implementations
1636 are provided by libmath/stubs.c.
1638 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
1640 * configure.in: Add support for NetBSD cross compiles.
1641 * configure: Regenerate.