1 2002-03-27 Roger Sayle <roger@eyesopen.com>
3 * include/c_std/std_cmath.h: To prevent problems overloading
4 g++ builtins, use the double variants from the global namespace
5 before defining float and long double variants in std::.
7 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
9 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
11 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
13 * testsuite/24_iterators/istream_iterator.cc
16 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17 Paolo Carlini <pcarlini@unitus.it>
19 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
20 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
21 fix i_lit_base e_lit_base arrays, making them independent
22 from the endianness of the platform; tweak UCS4 to UCS-4BE.
24 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
26 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
27 allocate at least a byte.
29 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
31 * testsuite/27_io/streambuf.cc (test07): Fix.
34 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
36 * docs/doxygen/Intro.3: Date tweak.
37 * docs/doxygen/TODO: Update.
38 * docs/doxygen/doxygroups.cc: Point to tables.html.
39 * docs/doxygen/mainpage.html: Date tweak.
40 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
41 * docs/doxygen/tables.html: Fill in the blanks.
43 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
44 * include/bits/stl_algo.h: Likewise; use expanded form.
45 * include/bits/stl_alloc.h: Likewise.
46 * include/bits/stl_construct.h: Likewise.
47 * include/bits/stl_deque.h: Likewise.
48 * include/bits/stl_iterator_base_types.h: Likewise.
49 * include/bits/stl_list.h: Likewise.
50 * include/bits/stl_relops.h: Likewise.
51 * include/bits/stl_tempbuf.h: Likewise.
52 * include/bits/stl_vector.h: Likewise.
53 * include/std/std_memory.h: Likewise.
55 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
56 * include/bits/stl_list.h: Likewise.
57 * include/bits/stl_vector.h: Likewise.
59 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
61 * include/c/: Guard with _CPP_.
62 * include/c_std/: Same.
63 * include/Makefile.am: Fixup install, link routines for null
64 c_base_headers_extra scenarios.
65 * include/Makefile.in: Regerate.
67 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
68 Richard Henderson <rth@redhat.com>
70 * testsuite/22_locale/codecvt_members_unicode_char.cc
71 (test01, test02): make sure that the i_lit_base array
72 is sufficiently aligned.
74 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
76 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
79 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
81 * testsuite/22_locale/collate_byname.cc
82 (test01): compare the result of collate::compare with
83 that of collate::transform + string::compare, not with
84 that of collate::transform + collate::compare; values
85 returned by collate::compare are normalized, therefore
88 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
89 Jakub Jelinek <jakub@redhat.com>
91 * config/locale/gnu/messages_members.h: Correct conditional.
92 * config/locale/gnu/messages_members.cc: Same.
93 * config/locale/gnu/time_members.cc: Same.
95 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
96 Paolo Carlini <pcarlini@unitus.it>
98 * testsuite/22_locale/codecvt_members_unicode_char.cc
99 (test01, test02): Fix i_lit_base arrays, making them
100 independent from the endianness of the platform.
102 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
104 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
105 signbit and __signbit directly.
106 * aclocal.m4: Regenerate.
107 * configure: Regenerate.
108 * config.h.in: Regenerate.
109 * libmath/Makefile.am: Simplify.
110 * libmath/Makefile.in: Regenerate.
111 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
113 * include/Makefile.am: Clean up handling of extra "C" header files.
114 Add hooks for "C" compatibility headers.
115 * include/Makefile.in: Regenerate.
117 * include/c/*: Formatting tweaks, cleanups.
118 * include/c_std/*: Same.
120 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
122 * config/locale/gnu/messages_members.h: Add __uselocale bits.
123 * config/locale/gnu/messages_members.cc: Same.
124 * config/locale/gnu/time_members.cc: Same.
126 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
128 * src/vterminate.cc: Format, -fno-exceptions cleanup.
130 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
132 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
133 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
134 * aclocal.m4: Regenerate.
135 * configure: Likewise.
137 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
138 Ulrich Drepper <drepper@redhat.com>
140 * src/locale-inst.cc (__convert_from_v): Add an additional
141 __size parameter in the declarations.
142 * include/bits/locale_facets.tcc
143 (__convert_from_v): When available (that is,
144 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
145 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
146 being defined or not, call and use __convert_from_v in the
148 (num_put::_M_convert_int): Same here.
149 (money_put::do_put(long double)): Same here.
151 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
153 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
154 * docs/html/faq/index.txt: Regenerate.
156 2002-03-19 Steve Ellcey <sje@cup.hp.com>
158 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
159 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
160 --enable-libunwind-exceptions is set.
161 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
162 macro to check for libunwind.
163 * configure: Regenerate.
164 * src/Makefile.am (libstdc___la_LDFLAGS): Add
165 LIBUNWIND_FLAG to libstdc link line.
166 * src/Makefile.in: Regenerate.
168 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
170 * docs/html/faq/index.html: Add OS X workaround.
171 * docs/html/17_intro/TODO: Update.
173 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
175 * include/bits/locale_facets.tcc
176 (money_put::do_put(long double)): Fix dimensioning of
177 temporary buffers to avoid risk of overruns.
178 (money_put::do_put(string)): Same for the buffer used to
179 add the grouping chars.
180 * testsuite/22_locale/money_put_members_char.cc: Add test06.
181 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
183 * include/bits/locale_facets.tcc
184 (collate::do_transform): Simplify.
186 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
188 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
189 * configure.in: Add comments pointing the way for autoconf 2.5x.
190 * aclocal.m4, config.h.in, configure: Regenerate.
192 2002-03-18 Philipp Thomas <pthomas@suse.de>
194 * include/backward/hash_map.h: hash, hashtable, hash_map and
195 hash_multimap are in namespace __gnu_cxx.
196 include/backward/hash_set.h: hash, hashtable, hash_set and
197 hash_multiset are in namespace __gnu_cxx.
198 include/backward/hashtable.h: hash and hashtable are in
200 include/backward/rope.h: char_producer, sequence_buffer,
201 rope, crope and wrope are in namespace __gnu_cxx.
202 include/backward/slist.h: slist is in namespace __gnu_cxx.
203 * testsuite/backward/header_hash_map_h.cc
204 testsuite/backward/header_hash_set_h.cc
205 testsuite/backward/header_hashtable_h.cc
206 testsuite/backward/header_rope_h.cc
207 testsuite/backward/header_slist_h.cc
208 testsuite/backward/header_tempbuf_h.cc: New tests for
209 checking that we're using the correct namespace.
211 2002-03-17 Jason Merrill <jason@redhat.com>
214 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
215 (check_exception_spec): Call it. Take the thrown pointer.
216 (__cxa_call_unexpected): Pass it.
217 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
219 2002-03-15 Anthony Green <green@redhat.com>
221 * configure.in: Remove useless is_mingw32.
222 * configure: Rebuilt.
224 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
226 * testsuite/22_locale/collate_members_char.cc
227 (test01): compare the result of collate::compare with
228 that of collate::transform + string::compare, not with
229 that of collate::transform + collate::compare.
230 (test01): values returned by collate::compare are
231 normalized, therefore test against +-1.
232 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
234 2002-03-12 Loren Rittle <ljrittle@acm.org>
236 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
237 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
239 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
240 Per Liboriussen <liborius@stofanet.dk>
242 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
244 * config/os/gnu-linux/bits/ctype_inline.h: Same.
246 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
248 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
249 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
251 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
252 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
254 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
255 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
257 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
259 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
261 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
262 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
263 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
264 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
265 that memory limits are in place.
268 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
270 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
271 * aclocal.m4: Regenerate.
272 * config.h.in: Regenerate.
273 * configure: Regenerate.
274 * include/c_std/std_cwctype.h: Guard.
276 2002-03-11 Chris Demetriou <cgd@broadcom.com>
278 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
279 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
280 * aclocal.m4: Regenerate.
281 * configure: Regenerate.
283 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
285 * include/bits/stl_bvector.h: Fix warning.
287 2002-03-11 Richard Henderson <rth@redhat.com>
289 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
291 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
293 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
294 New function. Build the list of tests to run in testsuite_files.
295 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
297 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
299 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
300 platforms with no weak support.
301 * testsuite/27_io/ios_init.cc: Likewise.
303 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
305 * include/bits/locale_facets.tcc (time_put::do_put):
306 Consider sizeof(char_type) in allocating the buffer.
308 * include/bits/locale_facets.tcc (collate::do_tranform):
309 Remove redundant variable.
311 2002-03-10 Ulrich Drepper <drepper@redhat.com>
312 Paolo Carlini <pcarlini@unitus.it>
314 * config/locale/generic/collate_members.cc
315 (collate<char,wchar_t>::_M_compare_helper): normalize
316 values returned by strcoll and wcscoll.
317 * config/locale/gnu/collate_members.cc
318 (collate<char,wchar_t>::_M_compare_helper): ditto
319 for __strcoll_l and __wcscoll_l.
321 2002-03-10 Anthony Green <green@redhat.com>
323 * configure.in: Support cross builds to mingw32 target.
324 * configure: Rebuilt.
326 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
328 * include/bits/locale_facets.tcc (collate::do_transform):
329 Rewrite to fix problems with long transformed strings.
331 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
333 * c_locale_generic.cc: Move to...
334 * generic/c_locale.cc
335 * c_locale_generic.h: Move to...
337 * codecvt_specializations_generic.h: Move to...
338 * generic/codecvt_specializations.h
339 * collate_members_generic.cc: Move to...
340 * generic/collate_members.cc
341 * ctype_members_generic.cc: Move to...
342 * generic/ctype_members.cc
343 * messages_members_generic.cc: Move to...
344 * generic/messages_members.cc
345 * messages_members_generic.h: Move to...
346 * generic/messages_members.h
347 * moneypunct_members_generic.cc: Move to...
348 * generic/monetary_members.cc
349 * numpunct_members_generic.cc: Move to...
350 * generic/numeric_members.cc
351 * time_members_generic.cc: Move to...
352 * generic/time_members.cc
353 * c_locale_gnu.cc: Move to...
355 * c_locale_gnu.h: Move to...
357 * collate_members_gnu.cc: Move to...
358 * gnu/collate_members.cc
359 * ctype_members_gnu.cc: Move to...
360 * gnu/ctype_members.cc
361 * messages_members_gnu.cc: Move to...
362 * gnu/messages_members.cc
363 * messages_members_gnu.h: Move to...
364 * gnu/messages_members.h
365 * moneypunct_members_gnu.cc: Move to...
366 * gnu/monetary_members.cc
367 * numpunct_members_gnu.cc: Move to...
368 * gnu/numeric_members.cc
369 * time_members_gnu.cc: Move to...
370 * gnu/time_members.cc
371 * c_locale_ieee_1003.1-200x.cc: Move to...
372 * ieee_1003.1-2001/c_locale.cc
373 * c_locale_ieee_1003.1-200x.h: Move to...
374 * ieee_1003.1-2001/c_locale.h
375 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
376 * ieee_1003.1-2001/codecvt_specializations.h
377 * messages_members_ieee_1003.1-200x.cc: Move to...
378 * ieee_1003.1-2001/messages_members.cc
379 * messages_members_ieee_1003.1-200x.h: Move to...
380 * ieee_1003.1-2001/messages_members.h
382 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
383 * aclocal.m4: Regenerate.
384 * configure: Regenerate.
385 * src/Makefile.am (sources): Change to monetary and numeric.
386 * src/Makefile.in: Regenerate.
387 * docs/html/configopts.html: Update to ieee_1003.1-2001.
389 2002-03-08 scott snyder <snyder@fnal.gov>
392 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
393 Allow one more digit of precision.
394 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
395 write a double and read back in the same value.
397 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
399 * include/std/std_limits.h: Move static const data members out of
400 generic template, into base class __numeric_limits_base.
401 * src/limits.cc: Add definitions.
402 * config/linker-map.gnu: Add __numeric_limits_base.
403 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
405 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
407 * include/bits/stl_alloc.h: Add extern implicit allocator
409 * include/bits/basic_string.tcc: Tweak.
410 * include/bits/locale_facets.tcc: Remove default args. Add
411 has_facet, use_facet extern instantiations.
412 * src/stl-inst.cc: Add explicit instantiation.
413 * src/locale-inst.cc: Clean. Remove locale member template
416 * testsuite/22_locale/operators.cc (test02): Enable.
418 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
419 Stephen M. Webb <stephen.webb@bregmasoft.com>
421 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
422 (_S_rb_tree_black): Make enum.
424 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
425 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
426 (__stl_threshold): _M_threshold, enum.
427 * src/stl-inst.cc: Same.
428 * config/linker-map.gnu: Remove.
430 * testsuite/23_containers/vector_bool.cc: New.
432 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
434 * docs/doxygen/user.cfg.in: Also document deprecated entries.
435 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
436 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
437 referring to the collection as a whole. New section on which macros
438 can be redefined by the user.
439 * docs/html/19_diagnostics/howto.html: Update note for concepts.
440 * docs/html/20_util/howto.html: Update link to SGI.
441 * docs/html/faq/index.html: Update snapshot versions. New entry
442 on why g++ (but not gcc) must currently predefine certain macros.
443 * docs/html/faq/index.txt: Regenerated.
445 * include/bits/basic_string.h (basic_string::_S_construct): Fix
446 names in declaration.
447 (basic_string::compare): These are no longer optional.
448 * include/bits/ostream.tcc: Tweak closing brace placement.
449 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
450 * include/std/std_sstream.h: Fix typo in comment.
451 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
452 * src/locale.cc: Likewise.
454 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
457 * include/bits/stl_vector.h (vector::push_back()): Guard with
460 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
462 * include/bits/c++config: Fix misplaced leading blanks on first line.
464 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
466 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
467 * README (libmath): Make clear.
469 2002-03-05 Jakub Jelinek <jakub@redhat.com>
471 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
472 script globbing in ld.
473 * aclocal.m4: Rebuilt.
474 * configure: Rebuilt.
476 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
478 * docs/html/17_intro/RELEASE-NOTES: Update.
479 * README: Format subdirectories.
481 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
484 * include/bits/locale_facets.tcc
485 (num_get::_M_extract_float): Fix the parsing of __dec, since
486 the standard prescribes that if no grouping characters are
487 seen, no grouping check is applied.
488 * testsuite/22_locale/num_get_members_char.cc: Add test05
489 distilled from the PR.
490 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
492 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
494 * docs/html/17_intro/porting-howto.xml: Refer to
495 http://www.oasis-open.org for docbookx.dtd.
496 * docs/html/17_intro/porting-howto.html: Regenerated.
498 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
501 * include/std/std_sstream.h: Remove trailing spaces.
502 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
503 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
505 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
507 * testsuite/22_locale/num_get_members_char.cc (test04):
508 Use a named locale expecting grouping (de_DE).
509 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
511 * testsuite/27_io/ios_manip_basefield.cc (test01):
512 Extend coverage, uniform treatment of hexs and octs.
514 2002-02-28 Richard Henderson <rth@redhat.com>
516 * config/linker-map.gnu: Export operator new with unsigned long,
517 and with std::nothrow_t. Likewise operator delete.
519 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
521 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
522 Admit grouping for octals and hexadecimals too.
523 * testsuite/22_locale/num_get_members_char.cc: Add test04.
524 (test01): Tweak "." -> "," in void* test.
525 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
527 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
528 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
530 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
532 * testsuite/27_io/ios_manip_basefield.cc (test01):
533 Fix for 64 bit machines.
535 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
538 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
540 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
541 (basic_ios::_M_fill_init): New.
542 (basic_ios::fill()): Delay dealing with _M_fill.
544 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
545 (ios_base::_M_call_callbacks): Adjust.
546 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
548 2002-02-26 Loren Rittle <ljrittle@acm.org>
550 * include/Makefile.am (thread_target_headers): Unconditionally
551 stage and install gthr-posix.h.
552 (${target_builddir}/gthr-posix.h): New rule cloned off
553 ${target_builddir}/gthr-default.h.
554 (${target_builddir}/gthr-default.h): Support chained inclusion
555 of gthr support headers.
556 * include/Makefile.in: Rebuilt.
558 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
560 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
561 Group all the integral types, not only decs.
562 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
563 tests, add a few more.
565 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
567 * src/ios.cc (ios_base::~ios_base): Tweak.
568 (ios_base::_M_call_callbacks): Deal with null __p.
569 (ios_base::ios_base): Set _M_callbacks.
570 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
571 * testsuite/27_io/ios_init.cc (test02): Fix.
573 * mkcheck.in (static_fail): Failed links go to output file.
575 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
577 * docs/html/faq/index.html: Update.
578 * docs/html/faq/index.txt: Regenerate.
580 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
582 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
583 * aclocal.m4: Regenerate.
584 * docs/html/configopts.html: Document --enable-symvers.
585 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
587 2002-02-22 Philipp Thomas <pthomas@suse.de>
589 * include/backward/tempbuf.h: get_temporary_buffer and
590 return_temporary_buffer are in namespace std, not in __gnu_cxx.
592 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
594 * configure.in (target_alias): Default to yes.
595 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
596 libgcc to default case.
598 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
600 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
601 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
602 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
603 * aclocal.m4: Regenerate.
604 * configure: Regenerate.
605 * config/linker-map.dummy: New file. Contains nothing useful.
607 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
609 * testsuite/22_locale/money_put_members_char.cc: Fix.
610 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
612 * testsuite/27_io/standard_manipulators.cc: New file.
614 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
615 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
617 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
619 * config/os/mingw32/bits/ctype_noninline.h
620 (ctype<char>::ctype): Remove default args from parm list.
621 * config/os/djgpp/bits/ctype_noninline.h: Same.
623 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
625 * include/std/std_iomanip.h: Inline, tweaks.
626 * config/linker-map.gnu: Remove hacks.
628 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
629 * testsuite/27_io/ios_init.cc: Same.
630 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
631 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
633 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
635 * config/linker-map.gnu: Export global vtable, typeinfo, guard
636 variable, and thunk info as per CXXABI docs.
638 2002-02-19 Loren Rittle <ljrittle@acm.org>
640 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
641 * include/Makefile.in: Rebuilt.
643 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
645 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
646 with size3 for the string collations of str5.
648 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
651 * include/bits/locale_facets.tcc (money_put::do_put):
652 For the space field use __fill instead of ' ', uniformly.
653 * testsuite/22_locale/money_put_members_char.cc:
654 Add test05 distilled from PR.
655 (test01-02-03): Trim some '*' to ' '.
656 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
658 2002-02-18 Loren Rittle <ljrittle@acm.org>
661 * include/Makefile.am (thread_builddir): Remove (map all
662 existing uses to target_builddir).
663 (thread_headers): Rename to...
664 (thread_target_headers): ...this.
665 (stamp-thread): Remove.
666 (stamp-target): Correctly state the position as built.
667 Update all dependencies to match the new reality. Remove all
668 dependency calculations on directories.
669 * include/Makefile.in: Rebuilt.
671 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
673 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
674 * include/bits/fstream.tcc: Same.
675 * include/bits/sstream.tcc: Same.
676 * include/bits/ostream.tcc: Same.
677 * include/bits/istream.tcc: Same.
678 * include/bits/streambuf.tcc: Same.
679 * include/bits/basic_ios.tcc: Same.
680 * include/bits/basic_string.tcc: Same.
682 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
684 * include/std/std_iosfwd.h: Don't guard typedefs with
686 * include/bits/stringfwd.h: Same.
688 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
690 * src/locale.cc (moneypunct_byname): Remove definitions.
691 * include/std/std_streambuf.h (streambuf::operator=): Return.
693 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
696 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
697 explicit instantiation.
698 (string::_Rep::_S_max_size): Same.
699 * include/bits/basic_string.tcc: Add extern explicit
700 instantiations for string, wstring.
701 * include/bits/basic_ios.tcc: Add extern explicit instantiations
703 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
704 * include/bits/istream.tcc: Same, for istream, wistream.
705 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
707 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
708 istringstream, wistringstream, ostringstream, wostringstream,
709 stringstream, wstringstream.
710 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
711 wifstream, ofstream, wofstream, fstream, wfstream.
712 * src/misc-inst.cc: Correct comments.
713 Add iomanip instantiations for wide streams.
714 * include/std/std_iomanip.h: Same.
715 * include/bits/locale_facets.tcc: Same.
717 * include/std/std_streambuf.h: Correct
718 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
719 * include/std/std_sstream.h: Same.
720 * include/std/std_ostream.h: Same.
721 * include/std/std_istream.h: Same.
722 * include/std/std_fstream.h: Same.
724 * include/std/std_streambuf.h: Add definitions for private copy
725 ctor and assignment operator.
726 * include/std/std_istream.h: Remove declared but undefined copy
727 ctor and assignment operator. This is taken care of in ios_base,
728 so adding it in the derived class as well is superfluous.
729 * include/std/std_ostream.h: Same.
731 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
732 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
734 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
736 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
737 Add typeinfo bits. Smooth.
738 * aclocal.m4: Regenerate.
740 * src/Makefile.in: Same.
742 2001-02-14 Joel Sherrill <joel@OARcorp.com>
744 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
745 which do not have a CAS instruction.
747 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
749 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
750 * configure.in: Call it.
751 * config/linker-map.gnu: New file, initial incomplete revision.
752 * src/Makefile.am: Optionally pass version script to the linker.
753 * aclocal.m4: Regenerate.
754 * configure: Regenerate.
755 * src/Makefile.in: Regenerate.
757 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
759 * src/localename.cc: Remove stdexcept include.
760 * src/locale-inst.cc: Same.
761 * src/locale.cc: Same.
762 * src/functexcept.cc: Remove string includes.
763 * include/std/std_bitset.h: Remove stdexcept include.
764 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
765 * testsuite/23_containers/bitset_ctor.cc: Same.
767 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
769 * include/bits/stl_algo (__stl_threshold): Declare external.
770 (__stl_chunk_size): Same.
771 * include/bits/stl_bvector.h (__WORD_BIT): Same.
772 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
773 (_S_rb_tree_black): Same.
774 * src/stl-inst.cc (__stl_threshold): Define.
775 (__stl_chunk_size): Same.
777 (_S_rb_tree_red): Same.
778 (_S_rb_tree_black): Same.
780 * config/io/basic_file_libio.h (__basic_file): Add declarations.
781 * include/bits/basic_file.h: Remove.
782 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
783 Declare generic types, specialization.
784 * config/io/basic_file_stdio.cc: Definitions.
785 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
786 Declare generic types.
787 * include/Makefile.am (bits_headers): Remove basic_file.h.
788 (extra_target_headers): Change basic_file_model.h to basic_file.h.
789 (stamp-target): Same.
791 * include/bits/stl_alloc.h: Tweaks.
792 * include/bits/localefwd.h: Same.
794 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
796 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
797 * testsuite/22_locale/collate_members_char.cc (test03): New test.
798 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
800 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
802 * include/bits/stl_algo.h (transform (both signatures), generate_n):
803 Use __typeof__ in concept checks.
805 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
807 * include/bits/stl_algo.h (__median, for_each, find, find_if,
808 adjacent_find, count, count_if, search, search_n, swap_ranges,
809 transform, replace, replace_if, replace_copy, replace_copy_if,
810 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
811 unique, unique_copy, reverse, reverse_copy): Doxygenate.
813 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
815 * include/bits/locale_facets.h
816 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
817 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
818 (__timepunct<_CharT>::_M_put_helper): Same.
819 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
821 * include/bits/fstream.tcc (filebuf::underflow): Remove
822 __codecvt_type typedef.
823 (filebuf::_M_convert_to_external): Same.
825 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
827 * docs/doxygen/TODO: Update.
828 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
829 * docs/doxygen/mainpage.html: Add TODO list link.
830 * docs/doxygen/user.cfg.in: Add @doctodo hook.
831 * docs/doxygen/tables.html: New file, emoty structure only.
833 * include/bits/stl_iterator.h: Doxygenate just about everything.
834 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
835 * include/bits/stl_iterator_base_types.h: Add notes.
837 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
839 * include/bits/stl_map.h: Tweak doxygen markup.
840 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
841 * include/bits/stl_vector.h: Likewise.
843 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
847 * include/std/std_fstream.h (filebuf::__file_type): Change to
849 (filebuf::_M_convert_to_external): Declare.
850 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
851 codecvt bits for wide streams.
852 (filebuf::_M_really_overflow): Use it.
853 (filebuf::underflow): Use codecvt.
854 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
855 (codecvt<__enc_traits>::do_out): Deal with partial.
856 (codecvt<__enc_traits>::do_encoding): Return something useful.
857 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
859 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
860 Change expected encoding output.
862 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
865 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
866 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
868 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
869 (basic_ios::widen): Same.
871 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
873 * testsuite/22_locale/money_get_members_char.cc:
874 Add comment, tidy up.
875 (test01): more "en_HK" tests (without showbase).
876 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
878 2002-02-06 Loren Rittle <ljrittle@acm.org>
880 * config/locale/c_locale_generic.cc: Do not trust
881 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
884 2002-02-06 Loren Rittle <ljrittle@acm.org>
886 * acinclude.m4: Add C++ linkage check for strtof.
887 * aclocal.m4: Rebuilt.
888 * config.h.in: Rebuilt.
889 * configure: Rebuilt.
890 * config/locale/c_locale_generic.cc: Conditionally include
891 <ieeefp.h>. Improve handling and error checking of float
892 and long double input for non-C99 configurations.
894 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
896 * include/bits/locale_facets.tcc (money_get::do_get(string)):
897 In case money_base::symbol deal properly with multi-char sign
898 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
899 * testsuite/22_locale/money_get_members_char.cc: Add test07.
900 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
902 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
904 * include/bits/locale_facets.tcc (money_get::do_get(string)):
905 First construct a tentative returned string, then, only if the
906 parsing succeeds, copy it into the string passed by reference.
907 * testsuite/22_locale/money_get_members_char.cc: Add test06.
908 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
910 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
912 * docs/doxygen/TODO: Impl-defined behavior now documented...
913 * docs/html/17_intro/howto.html: ...here.
914 * docs/doxygen/mainpage.doxy: Remove, rename...
915 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
916 * docs/doxygen/style.css: Add small text.
917 * docs/doxygen/run_doxygen: Adjust for new mainpage.
918 * docs/doxygen/user.cfg.in: Likewise.
920 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
922 * include/bits/stl_map.h: Initial doxygen markup.
923 * include/std/std_fstream.h: Initial doxygen markup.
925 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
928 * include/bits/locale_facets.tcc (money_get::do_get(string)):
929 Deal correctly with !(__io.flags() & ios_base::showbase)
930 for case money_base::symbol.
931 * testsuite/22_locale/money_get_members_char.cc: Add test05.
932 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
934 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
936 * testsuite/22_locale/operators.cc
937 (gnu_collate::do_compare()): Add return statement to
938 suppress "no return statement" warning.
940 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
942 * testsuite/27_io/ostream_manip.cc: Enable test02.
944 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
946 * docs/html/documentation.html: Update for 3.0.96.
947 * docs/html/faq/index.html: Update for 3.0.96.
948 * docs/html/faq/index.txt: Regenerated.
949 * docs/doxygen/TODO: Update notes.
950 * docs/html/17_intro/howto.html: Initial impl-specific listing.
952 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
954 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
955 Initialize all data members in copy ctor. Make ctors explicit.
956 (__enc_traits::__enc_traits()): Default ctor does nothing.
957 (__enc_traits::_M_init): Guard against multiple iconv_opens.
958 * include/std/std_sstream.h (basic_stringbuf): Make data members
960 * include/std/std_fstream.h (basic_filebuf): Same.
961 * include/std/std_streambuf.h: Tweak.
962 * include/bits/streambuf.tcc: Same.
963 * include/bits/sstream.tcc: Same.
964 * include/bits/fstream.tcc: Same.
966 2002-01-31 Loren Rittle <ljrittle@acm.org>
968 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
969 allow NULL argument to be passed to setenv().
970 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
971 * testsuite/22_locale/collate_members_char.cc: Likewise.
972 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
973 * testsuite/22_locale/ctype_members_char.cc: Likewise.
974 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
975 * testsuite/22_locale/messages_members_char.cc: Likewise.
976 * testsuite/22_locale/money_get_members_char.cc: Likewise.
977 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
978 * testsuite/22_locale/money_put_members_char.cc: Likewise.
979 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
980 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
981 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
982 * testsuite/22_locale/num_get_members_char.cc: Likewise.
983 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
984 * testsuite/22_locale/num_put_members_char.cc: Likewise.
985 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
986 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
987 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
988 * testsuite/22_locale/time_get_members_char.cc: Likewise.
989 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
990 * testsuite/22_locale/time_put_members_char.cc: Likewise.
991 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
993 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
995 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
997 * ChangeLog-2001: Fix spelling errors...
998 * docs/html/17_intro/RELEASE-NOTES: Update.
999 * docs/html/17_intro/TODO: Update.
1000 * README (file): Update.
1002 2002-01-30 Loren Rittle <ljrittle@acm.org>
1004 * config/locale/c_locale_generic.cc: Check errno for ERANGE
1005 instead of non-zero to aid portability.
1007 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1009 * docs/html/22_locale/messages.html: Fix example code.
1011 2002-01-30 Richard Henderson <rth@redhat.com>
1013 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1014 out from test03 and templatize.
1017 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
1019 * config/locale/numpunct_members_gnu.cc
1020 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
1021 Fix initialization of _M_grouping for locales which have
1022 _M_thousands_sep == '\0'(L'\0', respectively).
1023 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
1025 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
1027 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1028 Better fix for 32/64 bit architectures, avoiding the
1029 implicit assumption that CHAR_BIT == 8.
1031 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
1033 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
1034 * Makefile.in: Regenerate.
1036 * docs/doxygen/run_doxygen: Update, mostly for man pages.
1037 * docs/doxygen/Intro.3: Update.
1038 * docs/doxygen/TODO: Update.
1039 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
1040 * docs/doxygen/mainpage.doxy: Update.
1041 * docs/doxygen/user.cfg.in: Update for header rename. Also
1042 regenerate comments and variables with 1.2.12.
1043 * docs/doxygen/maint.cfg.in: Remove file.
1045 * include/bits/stl_relops.h: Doxygenate.
1046 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
1048 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
1049 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
1050 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
1051 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
1052 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
1053 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
1054 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
1055 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
1056 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
1057 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
1058 include/ext/hash_set, include/ext/iterator, include/ext/memory,
1059 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
1060 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
1061 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
1062 include/std/std_algorithm.h, include/std/std_bitset.h,
1063 include/std/std_complex.h, include/std/std_deque.h,
1064 include/std/std_fstream.h, include/std/std_functional.h,
1065 include/std/std_iomanip.h, include/std/std_ios.h,
1066 include/std/std_iosfwd.h, include/std/std_iostream.h,
1067 include/std/std_istream.h, include/std/std_iterator.h,
1068 include/std/std_limits.h, include/std/std_list.h,
1069 include/std/std_locale.h, include/std/std_map.h,
1070 include/std/std_memory.h, include/std/std_numeric.h,
1071 include/std/std_ostream.h, include/std/std_queue.h,
1072 include/std/std_set.h, include/std/std_sstream.h,
1073 include/std/std_stack.h, include/std/std_stdexcept.h,
1074 include/std/std_streambuf.h, include/std/std_string.h,
1075 include/std/std_utility.h, include/std/std_valarray.h,
1076 include/std/std_vector.h: Add/correct @file doxygen hook.
1078 * include/ext/memory: Doxygenate most of rest of file.
1079 * libsupc++/exception: Doxygen output formatting.
1080 * libsupc++/new: Say which header it is.
1082 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
1083 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
1084 * docs/html/23_containers/howto.html: Describe O(n) list::size().
1085 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
1087 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1088 Charles Leggett <CGLeggett@lbl.gov>
1090 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
1092 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1094 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1095 Fix to deal correctly with both 32 bit and 64 bit architectures
1097 2002-01-25 Loren Rittle <ljrittle@acm.org>
1099 * testsuite/thread/pthread1.cc: Use one condition variable
1100 per predicate instead of tricky use of one condition variable.
1102 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
1104 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
1106 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
1107 * testsuite/27_io/filebuf.cc: Compile only.
1108 * testsuite/27_io/filebuf_members.cc: Move tests to here.
1109 * testsuite/27_io/filebuf_virtuals.cc: And here.
1110 Revert sungetc, sync changes for expected values.
1111 * testsuite/27_io/filebuf-*: Move to...
1112 * testsuite/27_io/filebuf_virtuals-*: ...here.
1113 * testsuite/27_io/istream.cc: Compile only, activate.
1114 * testsuite/27_io/ostream.cc: Same.
1115 * testsuite/27_io/iostream.cc: New.
1116 * testsuite/27_io/iostream_members.cc: New.
1118 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
1120 * testsuite/thread/pthread1.cc: Enable on cygwin.
1121 * testsuite/thread/pthread2.cc: Likewise.
1122 * testsuite/thread/pthread3.cc: Likewise.
1123 * testsuite/thread/pthread4.cc: Likewise.
1124 * testsuite/thread/pthread5.cc: Likewise.
1125 * testsuite/thread/pthread6.cc: Likewise.
1127 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1129 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
1131 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1133 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1135 (basic_ios::fill(char_type)): Use fill().
1136 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1137 (basic_ios::narrow): Same.
1138 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1139 if they are invalid.
1140 (basic_ios::init): Comment.
1141 * testsuite/27_io/ios_init.cc (test02): New.
1143 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
1145 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
1146 * include/bits/stl_algo.h: Include stl_tempbuf.h.
1147 * include/ext/memory: Do not include stl_tempbuf.h.
1148 (temporary_buffer): Add doxygen hook.
1149 (__get_temporary_buffer, get_temporary_buffer,
1150 return_temporary_buffer): Move back to std:: header...
1151 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
1152 * include/ext/rope: Do not include stl_tempbuf.h.
1153 * include/ext/stl_hashtable.h: Likewise.
1154 * include/std/std_algorithm.h: Likewise.
1155 * testsuite/20_util/temporary_buffer.cc: New file.
1157 2002-01-24 andrew@andypo.net
1158 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
1161 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1162 * include/bits/localefwd.h: Likewise.
1163 Also use for std::locale::id::_S_highwater.
1164 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1165 * src/locale.cc: Support new usage of _Atomic_word.
1166 (std::locale::classic): Guard entire function against reentry.
1167 * src/localename.cc: Support new usage of _Atomic_word.
1169 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1171 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1172 _GLIBCPP_HAVE_SETENV.
1173 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1174 * testsuite/22_locale/collate_members_char.cc (test02): Same.
1175 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1176 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1177 * testsuite/22_locale/messages_members_char.cc (test02): Same.
1178 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1179 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1180 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1181 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1182 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1183 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1184 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1185 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1186 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1187 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1188 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1189 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1190 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1191 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1192 * aclocal.m4: Regenerate.
1193 * configure: Regenerate.
1194 * config.h.in: Regenerate.
1196 2002-01-23 Loren Rittle <ljrittle@acm.org>
1198 * testsuite/thread/pthread1.cc: New test.
1199 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1200 * testsuite/thread/pthread3.cc: Likewise.
1201 * testsuite/thread/pthread4.cc: New test adapted from
1202 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1203 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1204 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1206 2002-01-23 Richard Henderson <rth@redhat.com>
1209 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1210 CAS on the cpu variants that support it. Add versions that use
1211 TAS and that disable interrupts.
1212 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1214 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
1216 * include/bits/locale_facets.tcc: Remove old comments.
1218 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
1220 * include/bits/locale_facets.tcc (__convert_to_v): Change template
1222 (__convert_from_v): Same.
1224 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
1226 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1228 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1229 __max_digits checks, adjust arguments.
1230 (num_get::do_get(*)): Changeup.
1232 2002-01-23 Loren Rittle <ljrittle@acm.org>
1234 * config/locale/c_locale_generic.cc: Fix typename usage.
1236 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1238 * config/locale/c_locale_generic.cc: Fix.
1240 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1242 * docs/html/22_locale/messages.html: Remove angle brackets.
1243 * docs/html/17_intro/TODO: Add.
1245 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
1247 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1248 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1249 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1250 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1252 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1254 Audit for LANG independence.
1255 * include/bits/localefwd.h: Tweaks.
1256 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1258 (time_get::do_get_year): Same.
1259 (__convert_from_v): Add.
1260 (num_put::_M_convert_float): Use.
1261 (num_put::_M_convert_int): Same.
1262 (money_put::do_put): Same.
1264 * src/locale-inst.cc: Add instantiations for __convert_from_v.
1265 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1266 * config/locale/time_members_generic.cc:
1267 * config/locale/messages_members_gnu.cc: Same.
1268 * config/locale/messages_members_gnu.h: Same.
1270 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1271 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1272 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1273 * testsuite/22_locale/collate_members_char.cc (test02): New.
1274 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1275 * testsuite/22_locale/ctype_members_char.cc (test03): New.
1276 * testsuite/22_locale/messages_members_char.cc (test02): New.
1277 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1278 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1279 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1280 * testsuite/22_locale/money_get_members_char.cc (test04): New.
1281 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1282 * testsuite/22_locale/money_put_members_char.cc (test04): New.
1283 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1284 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1285 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1286 * testsuite/22_locale/time_put_members_char.cc (test03): New.
1287 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1288 * testsuite/22_locale/time_get_members_char.cc (test07): New.
1289 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1290 * testsuite/22_locale/num_get_members_char.cc (test03): New.
1291 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1292 * testsuite/22_locale/num_put_members_char.cc (test03): New.
1294 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1296 * testsuite/22_locale/time_get_members_char.cc: Same.
1298 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1301 * include/bits/localefwd.h: Tweak comments.
1302 * include/bits/locale_facets.h (__convert_to_v): Add.
1303 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1304 (num_get::do_get(float)): Same.
1305 (num_get::do_get(long double)): Same.
1306 (num_get::do_get(bool)): Same.
1307 (num_get::do_get(long)): Same.
1308 (num_get::do_get(long long)): Same.
1309 (num_get::do_get(unsigned int)): Same.
1310 (num_get::do_get(unsigned short)): Same.
1311 (num_get::do_get(unsigned long)): Same.
1312 (num_get::do_get(unsigned long long)): Same.
1313 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1314 * config/locale/c_locale_generic.cc: Same.
1316 2002-01-22 Loren Rittle <ljrittle@acm.org>
1318 * include/Makefile.am (c_base_builddir): Remove redundant slash.
1319 (std_builddir): Likewise.
1320 (std_headers_rename): Fix cut-n-paste typo.
1321 (install-data-local): Concat path per element instead of once to
1322 first element of list.
1323 * include/Makefile.in: Rebuilt.
1325 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1327 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1328 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1329 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1331 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
1333 * include/bits/locale_facets.h (ctype<char>::classic_table):
1335 (ctype<char>::_S_ctable): Remove.
1336 * config/os/gnu-linux/bits/ctype_noninline.h
1337 (ctype<char>::_S_table): Remove definition.
1338 (ctype<char>::classic_table): Define.
1339 (ctype<char>::ctype): Replace _S_ctable with classic_table().
1340 * config/os/aix/bits/ctype_noninline.h: Same.
1341 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1342 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1343 * config/os/djgpp/bits/ctype_noninline.h: Same.
1344 * config/os/generic/bits/ctype_noninline.h: Same.
1345 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1346 * config/os/hpux/bits/ctype_noninline.h: Same.
1347 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1348 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1349 * config/os/mingw32/bits/ctype_noninline.h: Same.
1350 * config/os/newlib/bits/ctype_noninline.h: Same.
1351 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1352 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1353 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1355 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1357 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1358 of _pctype. Use to define _S_ctable. Add definition for alternate
1359 ctor. Initialise _M_ctable to _S_ctable in ctors.
1360 (do_toupper, do_tolower): Use inline code appropriate for C-locale
1361 rather than ::toupper, ::tolower.
1363 2002-01-18 Loren Rittle <ljrittle@acm.org>
1365 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1366 Add specialization for FreeBSD systems only to avoid losing test
1367 only due to extra precision unmentioned in system headers.
1369 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
1371 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1373 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1375 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
1376 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1378 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1380 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1382 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1384 * configure.target: Define OPT_LDFLAGS for AIX case.
1386 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1388 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1389 __glibcpp_double_has_quiet_NaN): Correct mispelling.
1391 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
1393 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1395 2002-01-16 David Edelsohn <dje@watson.ibm.com>
1397 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1398 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
1399 * aclocal.m4: Regenerate.
1400 * configure: Regenerate.
1402 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1404 * include/Makefile.am (c_base_headers_rename): New.
1405 (c_base_headers_extra): New.
1406 (stamp-c_base): Modify.
1407 (install-data-local): Use both.
1408 * include/Makefile.in: Regenerate.
1409 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1410 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1411 cstdio ctime cwctype]: Move to..
1412 * include/c/std_*: Here.
1413 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1414 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1415 cstdio ctime cwctype]: Move to..
1416 * include/c_std/std_*: Here.
1418 Alexandre Oliva <aoliva@redhat.com>
1419 * include/Makefile.am (.PRECIOUS): Add rule.
1420 * include/Makefile.in: Regenerate.
1422 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1423 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1425 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1426 Deuglify, should be current.
1427 (back_insert_iterator::_M_container): Deuglify, should be container.
1428 (front_insert_iterator::_M_container): Same.
1429 (insert_iterator::_M_container): Same.
1430 * testsuite/24_iterators/reverse_iterator.cc: Add check.
1431 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1432 * testsuite/24_iterators/front_insert_iterator.cc: Same.
1433 * testsuite/24_iterators/insert_iterator.cc: Same.
1435 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1437 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1439 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1440 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1441 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1442 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1443 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1444 * config/os/newlib/bits/ctype_noninline.h: Same.
1445 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1446 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1447 * config/os/hpux/bits/ctype_noninline.h: Same.
1448 * config/os/djgpp/bits/ctype_noninline.h: Same.
1449 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1450 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1451 * config/os/aix/bits/ctype_noninline.h: Same.
1453 Testcase by Dietmar Kühl via Peter Schmid
1454 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1457 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1459 * libmath/signbitl.c: Copyright years as list, not range.
1460 * libmath/Makefile.am: Same.
1461 * libmath/Makefie.in: Regenerate.
1462 * libmath/signbit.c: Same.
1463 * libmath/nan.c: Same.
1464 * libmath/copysignf.c: Same.
1465 * libmath/signbitf.c: Same.
1466 * testsuite/22_locale/money_get_members_char.cc: Same.
1467 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1468 * testsuite/22_locale/money_put_members_char.cc: Same.
1469 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1470 * testsuite/22_locale/time_get_members_char.cc: Same.
1471 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1472 * testsuite/22_locale/time_put_members_char.cc: Same.
1473 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1474 * testsuite/21_strings/nonmember.cc: Same.
1475 * testsuite/21_strings/compare.cc: Same.
1476 * testsuite/27_io/stringstream.cc: Same.
1477 * testsuite/27_io/stringbuf.cc: Same.
1478 * testsuite/27_io/filebuf.cc: Same.
1479 * testsuite/27_io/ios_manip_basefield.cc: Same.
1480 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1481 * include/bits/cpp_type_traits.h: Same.
1482 * include/bits/generic_shadow.h: Same.
1483 * include/bits/gslice_array.h: Same.
1484 * include/bits/gslice.h: Same.
1485 * include/bits/indirect_array.h: Same.
1486 * include/bits/slice_array.h: Same.
1487 * include/bits/sstream.tcc: Same.
1488 * include/bits/streambuf_iterator.h: Same.
1489 * include/bits/valarray_array.tcc: Same.
1490 * include/bits/valarray_meta.h: Same.
1491 * include/bits/valarray_array.h: Same.
1492 * config/os/mingw32/bits/ctype_noninline.h: Same.
1493 * config/os/mingw32/bits/ctype_base.h: Same.
1494 * config/os/hpux/bits/ctype_noninline.h: Same.
1495 * config/os/hpux/bits/ctype_base.h: Same.
1496 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1497 * config/os/gnu-linux/bits/ctype_base.h: Same.
1498 * config/os/generic/bits/ctype_noninline.h: Same.
1499 * config/os/generic/bits/ctype_base.h: Same.
1501 * libsupc++/tinfo.h: Tweaks.
1503 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1505 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1506 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1507 * testsuite/22_locale/ctype_members_char.cc: Tweak.
1509 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1511 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1512 (num_put::do_put(void*)): Fix.
1513 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1514 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1515 * testsuite/22_locale/num_get_members_char.cc (test02): Add
1516 long double, void, bool types.
1517 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1519 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1520 Alexandre Oliva <aoliva@redhat.com>
1522 * libmath/Makefile.am (LINK): Add --tag CC.
1523 * libmath/Makefile.in: Regenerate.
1525 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1527 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1528 of character to attribute mapping table.
1530 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
1532 * testsuite/26_numerics/c99_classification_macros_c.cc
1533 Remove dg-error and dg-excess-errors comments.
1535 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
1537 * include/bits/locale_facets.tcc (time_put::put): Correct output
1539 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1540 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1541 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1542 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1544 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
1546 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1548 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
1549 Nathan Myers <ncm@cantrip.org>
1551 * include/bits/basic_string.h
1552 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1553 temporaries (i.e., call _M_replace_safe) when possible.
1554 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1555 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1556 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1557 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1558 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1559 * include/bits/basic_string.tcc
1560 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1561 replace(__pos, __n1, __s, __n2).
1562 * testsuite/21_strings/replace.cc (test03): New testcases.
1564 * include/bits/basic_string.h (insert(__pos, __s, __n)):
1565 Adjust comparison wrt overflow.
1567 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1569 * include/Makefile.am (std_headers_rename): New variable.
1570 (install-data-local): Use it.
1571 * include/Makefile.in: Regenerate.
1573 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1575 * include/bits/locale_facets.tcc (money_put::do_put(string):
1576 Correct output iterator value.
1577 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1578 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1580 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1582 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
1585 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1587 * include/Makefile.am (std_headers): Update list with new names.
1588 (stamp-std): Link to standardized name.
1589 * include/Makefile.in: Regenerate.
1591 * include/std/algorithm, include/std/bitset, include/std/complex,
1592 include/std/deque, include/std/fstream, include/std/functional,
1593 include/std/iomanip, include/std/ios, include/std/iosfwd,
1594 include/std/iostream, include/std/istream, include/std/iterator,
1595 include/std/limits, include/std/list, include/std/locale,
1596 include/std/map, include/std/memory, include/std/numeric,
1597 include/std/ostream, include/std/queue, include/std/set,
1598 include/std/sstream, include/std/stack, include/std/stdexcept,
1599 include/std/streambuf, include/std/string, include/std/utility,
1600 include/std/valarray, include/std/vector: Rename to...
1602 * include/std/std_algorithm.h, include/std/std_bitset.h,
1603 include/std/std_complex.h, include/std/std_deque.h,
1604 include/std/std_fstream.h, include/std/std_functional.h,
1605 include/std/std_iomanip.h, include/std/std_ios.h,
1606 include/std/std_iosfwd.h, include/std/std_iostream.h,
1607 include/std/std_istream.h, include/std/std_iterator.h,
1608 include/std/std_limits.h, include/std/std_list.h,
1609 include/std/std_locale.h, include/std/std_map.h,
1610 include/std/std_memory.h, include/std/std_numeric.h,
1611 include/std/std_ostream.h, include/std/std_queue.h,
1612 include/std/std_set.h, include/std/std_sstream.h,
1613 include/std/std_stack.h, include/std/std_stdexcept.h,
1614 include/std/std_streambuf.h, include/std/std_string.h,
1615 include/std/std_utility.h, include/std/std_valarray.h,
1616 include/std/std_vector.h: ...this.
1618 2002-01-11 Loren Rittle <ljrittle@acm.org>
1620 * include/Makefile.am (extra_target_headers): New list of all
1621 target files built with ad hoc naming rules.
1622 (stamp-*): Handle LN_S failure in manner portable across make
1624 (install-data-local): Install header files from human-maintained
1625 file lists and directory components instead of non-robust find.
1626 * include/Makefile.in: Rebuilt.
1628 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
1630 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1631 Check for zero-length negative sign before adding it to output
1633 (money_get::do_get(long double)): Return beg.
1634 * testsuite/22_locale/money_get_members_char.cc (test02): Add
1636 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1638 2002-01-10 David Seymour <seymour_dj@yahoo.com>
1641 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1642 for _M_extract_float and _M_extract_int
1643 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1644 (num_get<>::_M_extract_int): Likewise, all callers changed
1645 * testsuite/22_locale/num_get_members_char.cc: Testcase
1647 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1649 * libsupc++/exception (bad_exception): Add comment.
1650 * libsupc++/new (bad_alloc): Same.
1651 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1653 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1655 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1656 that the destructors should be removed from the descriptions
1657 in the standard: writing them explicitly allows the vtable
1658 heuristic to work. For additional information see:
1659 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1660 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1661 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1662 * libsupc++/exception (bad_exception::~bad_exception()):
1663 Reintroduce declaration.
1664 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1665 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1666 (bad_typeid::~bad_typeid()): Same.
1667 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1668 Reintroduce definition.
1669 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1670 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1671 (bad_typeid::~bad_typeid()): Same.
1673 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
1675 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1676 * include/Makefile.in: Regenerate.
1678 2002-01-09 Bo Thorsen <bo@suse.co.uk>
1680 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1683 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
1687 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1688 return value of _M_file->sync().
1689 (filebuf::showmanyc): Check for is_open.
1690 * include/std/fstream (filebuf::sync): Tweak.
1691 * testsuite/27_io/filebuf.cc: Tweak.
1693 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
1694 Brad Garcia <garsh@attbi.com>
1696 * testsuite/27_io/filebuf_members.cc: Add test.
1698 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
1699 Craig Rodrigues <rodrigc@mediaone.net>
1702 * po/Makefile.am (mkinstalldirs): Add.
1703 * po/Makefile.in: Regenerate.
1705 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
1707 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1708 testsuite/lib/prune.exp: Delete lines ":In function ..." from
1710 * testsuite/23_containers/map_operators.cc: Remove
1711 dg-excess-errors comment.
1712 * testsuite/23_containers/set_operators.cc: Likewise.
1714 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
1716 * include/bits/stl_function.h: Remove two lines of comments;
1717 adjust copyright years.
1719 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
1721 * include/Makefile.am (std_headers): Remove cXXX from list.
1722 (c_base_srcdir): No bits subdirectory.
1723 (c_base_builddir): Same.
1724 (c_base_headers): Adjust names, add ciso646.
1725 (bits_headers): Remove std_xxx.h headers.
1726 * include/Makefile.in: Regenerate.
1728 * include/ext/iterator: Adjust includes.
1729 * include/ext/ropeimpl.h: Same.
1730 * include/ext/stl_hash_fun.h: Same.
1731 * include/ext/algorithm: Same.
1733 * include/backward/bvector.h: Adjust includes.
1734 * include/backward/vector.h: Same.
1735 * include/backward/strstream: Same.
1736 * include/backward/streambuf.h: Same.
1737 * include/backward/stack.h: Same.
1738 * include/backward/set.h: Same.
1739 * include/backward/queue.h: Same.
1740 * include/backward/multiset.h: Same.
1741 * include/backward/multimap.h: Same.
1742 * include/backward/map.h: Same.
1743 * include/backward/list.h: Same.
1744 * include/backward/iterator.h: Same.
1745 * include/backward/iostream.h: Same.
1746 * include/backward/iomanip.h: Same.
1747 * include/backward/fstream.h: Same.
1748 * include/backward/deque.h: Same.
1749 * include/backward/complex.h: Same.
1751 * include/bits/std_algorithm.h: Move to...
1752 * include/std/algorithm: ...here.
1753 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1754 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1755 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1756 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1757 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1758 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1759 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1762 * include/c_std/bits/std_cassert.h: Move to...
1763 * include/c_std/cassert: Here.
1764 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1765 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1766 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1767 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1768 std_cwctype.h: Same.
1769 * include/c_std/cmath: Adjust cmath.tcc include.
1770 * include/c_std/cstdlib: Adjust includes.
1771 * include/c_std/cwchar: Same.
1772 * include/c_std/ctime: Same.
1773 * include/c_std/cstring: Same.
1774 * include/c_std/cstdio: Same.
1775 * include/c_std/bits: Remove directory.
1777 * include/c/bits/std_cassert.h: Move to...
1778 * include/c/cassert: Here.
1779 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1780 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1781 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1782 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1783 std_cwctype.h: Same.
1784 * include/c/bits: Remove directory.
1786 * include/std/cwctype: Remove.
1787 * include/std/cwchar: Remove.
1788 * include/std/ctime: Remove.
1789 * include/std/cstring: Remove.
1790 * include/std/cstdlib: Remove.
1791 * include/std/cstdio: Remove.
1792 * include/std/cstddef: Remove.
1793 * include/std/cstdarg: Remove.
1794 * include/std/csignal: Remove.
1795 * include/std/csetjmp: Remove.
1796 * include/std/cmath: Remove.
1797 * include/std/clocale: Remove.
1798 * include/std/climits: Remove.
1799 * include/std/ciso646: Remove.
1800 * include/std/cfloat: Remove.
1801 * include/std/cerrno: Remove.
1802 * include/std/cctype: Remove.
1803 * include/std/cassert: Remove.
1805 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1806 files and subsituting <xxx>.
1807 * include/bits/valarray_array.h: Same.
1808 * include/bits/stl_uninitialized.h: Same.
1809 * include/bits/stl_alloc.h: Same.
1810 * include/bits/stl_algobase.h: Same.
1811 * include/bits/sstream.tcc: Same.
1812 * include/bits/pthread_allocimpl.h: Same.
1813 * include/bits/ostream.tcc: Same.
1814 * include/bits/localefwd.h: Same.
1815 * include/bits/locale_facets.tcc: Same.
1816 * include/bits/locale_facets.h: Same.
1817 * include/bits/istream.tcc: Same.
1818 * include/bits/char_traits.h: Same.
1819 * include/bits/boost_concept_check.h: Same.
1820 * include/bits/basic_file.h: Same.
1821 * include/std/bitset: Same.
1822 * include/std/complex: Same.
1823 * include/std/fstream: Same.
1824 * include/std/functional: Same.
1825 * include/std/ios: Same.
1826 * include/std/iostream: Same.
1827 * include/std/ostream: Same.
1828 * include/std/sstream: Same.
1829 * include/std/streambuf: Same.
1830 * include/std/string: Same.
1831 * include/std/iterator: Same.
1832 * include/std/valarray: Same.
1834 * src/ios.cc: Adjust includes.
1835 * src/valarray-inst.cc: Same.
1836 * src/string-inst.cc: Same.
1837 * src/stl-inst.cc: Same.
1838 * src/stdexcept.cc: Same.
1839 * src/misc-inst.cc: Same.
1840 * src/localename.cc: Same.
1841 * src/locale-inst.cc: Same.
1842 * src/locale.cc: Same.
1843 * src/limits.cc: Same.
1844 * src/concept-inst.cc: Same.
1845 * src/complex_io.cc: Same.
1846 * src/codecvt.cc: Same.
1847 * src/bitset.cc: Same.
1848 * src/cmath.cc: Same.
1850 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
1852 * include/bits/stl_tree.h (rb_tree): Move to...
1853 * include/ext/rb_tree: ...here, new file.
1854 * include/Makefile.am (ext_headers): Add new file.
1855 * include/Makefile.in: Regenerate.
1856 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1857 return_temporary_buffer, struct temporary_buffer): Move to...
1858 * include/ext/memory: ...here.
1859 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
1860 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
1861 * include/backward/tree.h: Include <ext/rb_tree), tweak.
1863 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
1865 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
1866 * include/ext/numeric: ...here, new file.
1867 * include/bits/stl_function.h (identity_element, unary_compose,
1868 binary_compose, compose1, compose2, identity, select1st,
1869 select2nd, project1st + helper, project2nd + helper,
1870 constant_void_fun + helper, constant_unary_fun + helper,
1871 costant_binary_fun + helper, constant0, constant1, constant2,
1872 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
1873 * include/ext/functional: ...here, new file.
1874 * include/Makefile.am (ext_headers): Add new files.
1875 * include/Makefile.in: Regenerate.
1876 * testsuite/ext/headers.cc: Include <ext/numeric> and
1878 * include/backward/algo.h: Include <ext/numeric>, tweak.
1879 * include/backward/function.h: Include <ext/functional>, tweak.
1880 * include/ext/ropeimpl.h: Include <ext/numeric>.
1882 2002-01-03 Jeffrey A Law <law@redhat.com>
1884 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1885 __strtoull declarations with __extension__.
1887 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
1889 * testsuite/lib/prune.exp: Correct regular expression for
1892 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1894 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1895 Change concept checks, as with lower_bound and PR 2054.
1896 * testsuite/ext/concept_checks.cc: Expand test to include those.
1898 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1900 * include/bits/boost_concept_check.h: Import some changes from
1901 upsteam (Boost) version.
1903 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
1905 * include/bits/stl_algobase.h (copy_n + helpers,
1906 lexicographical_compare_3way + helpers): Move to...
1907 * include/ext/algorithm: ...here.
1908 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
1909 helpers): Move to...
1910 * include/ext/memory: ...here, new file.
1911 * include/Makefile.am (ext_headers): Add new file.
1912 * include/Makefile.in: Regenerate.
1913 * testsuite/ext/headers.cc: Include <ext/memory>.
1914 * include/backward/algobase.h: Include <ext/memory> and
1915 <ext/algorithm>, tweak.
1916 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
1917 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
1919 2002-01-01 Roger Sayle <roger@eyesopen.com>
1921 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
1922 equivalent ___builtin__ versions.
1924 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
1925 are available in libstdc++ as the necessary stub implementations
1926 are provided by libmath/stubs.c.
1928 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
1930 * configure.in: Add support for NetBSD cross compiles.
1931 * configure: Regenerate.