1 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
4 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
5 * docs/html/18_support/howto.html: Document the demangler.
6 * docs/html/17_intro/howto.html: And link to it.
8 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
9 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
11 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
13 * config/linker-map.gnu: Export __verbose_terminate_handler.
14 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
15 Make new LTCOMPILE variable, use it in new special build rules.
16 * libsupc++/Makefile.in: Rebuild.
17 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
18 runtime __cxa_demangle.
20 * docs/html/install.html: Update prereqs and instructions.
21 * docs/html/19_diagnostics/howto.html: Bring naming for
22 verbose_terminate_handler into line with reality.
24 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
27 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
28 (basic_ios::_M_streambuf_state): Move.
29 * include/bits/ios_base (ios_base): To here.
30 * include/bits/ios_base.h (ios_base::_S_local_words): To
32 (ios_base::_M_word_array): To _M_local_word.
33 (ios_base::_M_words_limit): To _M_word_size.
34 (ios_base::_M_words): To _M_word.
36 * include/bits/basic_ios.tcc: Adjust.
37 * src/ios.cc (ios_base::_M_grow_words): Tweak.
38 * testsuite/27_io/ios_base_storage.cc: Add tests.
41 Kenny Simpson <theonetruekenny@yahoo.com>
42 * include/bits/ios_base.h: Fix.
44 Richard Henderson <rth@redhat.com>
45 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
48 * include/bits/basic_string.h: Tweak formatting.
50 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
52 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
53 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
54 By definition, sizeof(char) == 1.
55 * include/bits/locale_facets.tcc (money_get::do_get,
56 money_put::do_put): Ditto.
57 * testsuite/21_strings/inserters_extractors.cc
60 2002-03-30 Richard Henderson <rth@redhat.com>
63 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
64 data out of the exception struct before calling unexpectedHandler.
66 2002-03-28 Roger Sayle <roger@eyesopen.com>
68 * include/c_std/std_cmath.h: To prevent problems overloading
69 g++ builtins, use the double variants from the global namespace
70 before defining float and long double variants in std::.
72 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
74 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
76 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
78 * testsuite/24_iterators/istream_iterator.cc
81 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
82 Paolo Carlini <pcarlini@unitus.it>
84 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
85 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
86 fix i_lit_base e_lit_base arrays, making them independent
87 from the endianness of the platform; tweak UCS4 to UCS-4BE.
89 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
91 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
92 allocate at least a byte.
94 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
96 * testsuite/27_io/streambuf.cc (test07): Fix.
99 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
101 * docs/doxygen/Intro.3: Date tweak.
102 * docs/doxygen/TODO: Update.
103 * docs/doxygen/doxygroups.cc: Point to tables.html.
104 * docs/doxygen/mainpage.html: Date tweak.
105 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
106 * docs/doxygen/tables.html: Fill in the blanks.
108 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
109 * include/bits/stl_algo.h: Likewise; use expanded form.
110 * include/bits/stl_alloc.h: Likewise.
111 * include/bits/stl_construct.h: Likewise.
112 * include/bits/stl_deque.h: Likewise.
113 * include/bits/stl_iterator_base_types.h: Likewise.
114 * include/bits/stl_list.h: Likewise.
115 * include/bits/stl_relops.h: Likewise.
116 * include/bits/stl_tempbuf.h: Likewise.
117 * include/bits/stl_vector.h: Likewise.
118 * include/std/std_memory.h: Likewise.
120 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
121 * include/bits/stl_list.h: Likewise.
122 * include/bits/stl_vector.h: Likewise.
124 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
126 * include/c/: Guard with _CPP_.
127 * include/c_std/: Same.
128 * include/Makefile.am: Fixup install, link routines for null
129 c_base_headers_extra scenarios.
130 * include/Makefile.in: Regerate.
132 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
133 Richard Henderson <rth@redhat.com>
135 * testsuite/22_locale/codecvt_members_unicode_char.cc
136 (test01, test02): make sure that the i_lit_base array
137 is sufficiently aligned.
139 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
141 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
144 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
146 * testsuite/22_locale/collate_byname.cc
147 (test01): compare the result of collate::compare with
148 that of collate::transform + string::compare, not with
149 that of collate::transform + collate::compare; values
150 returned by collate::compare are normalized, therefore
153 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
154 Jakub Jelinek <jakub@redhat.com>
156 * config/locale/gnu/messages_members.h: Correct conditional.
157 * config/locale/gnu/messages_members.cc: Same.
158 * config/locale/gnu/time_members.cc: Same.
160 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
161 Paolo Carlini <pcarlini@unitus.it>
163 * testsuite/22_locale/codecvt_members_unicode_char.cc
164 (test01, test02): Fix i_lit_base arrays, making them
165 independent from the endianness of the platform.
167 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
169 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
170 signbit and __signbit directly.
171 * aclocal.m4: Regenerate.
172 * configure: Regenerate.
173 * config.h.in: Regenerate.
174 * libmath/Makefile.am: Simplify.
175 * libmath/Makefile.in: Regenerate.
176 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
178 * include/Makefile.am: Clean up handling of extra "C" header files.
179 Add hooks for "C" compatibility headers.
180 * include/Makefile.in: Regenerate.
182 * include/c/*: Formatting tweaks, cleanups.
183 * include/c_std/*: Same.
185 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
187 * config/locale/gnu/messages_members.h: Add __uselocale bits.
188 * config/locale/gnu/messages_members.cc: Same.
189 * config/locale/gnu/time_members.cc: Same.
191 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
193 * src/vterminate.cc: Format, -fno-exceptions cleanup.
195 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
197 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
198 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
199 * aclocal.m4: Regenerate.
200 * configure: Likewise.
202 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
203 Ulrich Drepper <drepper@redhat.com>
205 * src/locale-inst.cc (__convert_from_v): Add an additional
206 __size parameter in the declarations.
207 * include/bits/locale_facets.tcc
208 (__convert_from_v): When available (that is,
209 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
210 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
211 being defined or not, call and use __convert_from_v in the
213 (num_put::_M_convert_int): Same here.
214 (money_put::do_put(long double)): Same here.
216 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
218 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
219 * docs/html/faq/index.txt: Regenerate.
221 2002-03-19 Steve Ellcey <sje@cup.hp.com>
223 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
224 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
225 --enable-libunwind-exceptions is set.
226 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
227 macro to check for libunwind.
228 * configure: Regenerate.
229 * src/Makefile.am (libstdc___la_LDFLAGS): Add
230 LIBUNWIND_FLAG to libstdc link line.
231 * src/Makefile.in: Regenerate.
233 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
235 * docs/html/faq/index.html: Add OS X workaround.
236 * docs/html/17_intro/TODO: Update.
238 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
240 * include/bits/locale_facets.tcc
241 (money_put::do_put(long double)): Fix dimensioning of
242 temporary buffers to avoid risk of overruns.
243 (money_put::do_put(string)): Same for the buffer used to
244 add the grouping chars.
245 * testsuite/22_locale/money_put_members_char.cc: Add test06.
246 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
248 * include/bits/locale_facets.tcc
249 (collate::do_transform): Simplify.
251 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
253 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
254 * configure.in: Add comments pointing the way for autoconf 2.5x.
255 * aclocal.m4, config.h.in, configure: Regenerate.
257 2002-03-18 Philipp Thomas <pthomas@suse.de>
259 * include/backward/hash_map.h: hash, hashtable, hash_map and
260 hash_multimap are in namespace __gnu_cxx.
261 include/backward/hash_set.h: hash, hashtable, hash_set and
262 hash_multiset are in namespace __gnu_cxx.
263 include/backward/hashtable.h: hash and hashtable are in
265 include/backward/rope.h: char_producer, sequence_buffer,
266 rope, crope and wrope are in namespace __gnu_cxx.
267 include/backward/slist.h: slist is in namespace __gnu_cxx.
268 * testsuite/backward/header_hash_map_h.cc
269 testsuite/backward/header_hash_set_h.cc
270 testsuite/backward/header_hashtable_h.cc
271 testsuite/backward/header_rope_h.cc
272 testsuite/backward/header_slist_h.cc
273 testsuite/backward/header_tempbuf_h.cc: New tests for
274 checking that we're using the correct namespace.
276 2002-03-17 Jason Merrill <jason@redhat.com>
279 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
280 (check_exception_spec): Call it. Take the thrown pointer.
281 (__cxa_call_unexpected): Pass it.
282 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
284 2002-03-15 Anthony Green <green@redhat.com>
286 * configure.in: Remove useless is_mingw32.
287 * configure: Rebuilt.
289 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
291 * testsuite/22_locale/collate_members_char.cc
292 (test01): compare the result of collate::compare with
293 that of collate::transform + string::compare, not with
294 that of collate::transform + collate::compare.
295 (test01): values returned by collate::compare are
296 normalized, therefore test against +-1.
297 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
299 2002-03-12 Loren Rittle <ljrittle@acm.org>
301 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
302 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
304 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
305 Per Liboriussen <liborius@stofanet.dk>
307 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
309 * config/os/gnu-linux/bits/ctype_inline.h: Same.
311 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
313 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
314 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
316 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
317 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
319 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
320 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
322 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
324 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
326 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
327 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
328 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
329 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
330 that memory limits are in place.
333 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
335 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
336 * aclocal.m4: Regenerate.
337 * config.h.in: Regenerate.
338 * configure: Regenerate.
339 * include/c_std/std_cwctype.h: Guard.
341 2002-03-11 Chris Demetriou <cgd@broadcom.com>
343 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
344 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
345 * aclocal.m4: Regenerate.
346 * configure: Regenerate.
348 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
350 * include/bits/stl_bvector.h: Fix warning.
352 2002-03-11 Richard Henderson <rth@redhat.com>
354 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
356 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
358 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
359 New function. Build the list of tests to run in testsuite_files.
360 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
362 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
364 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
365 platforms with no weak support.
366 * testsuite/27_io/ios_init.cc: Likewise.
368 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
370 * include/bits/locale_facets.tcc (time_put::do_put):
371 Consider sizeof(char_type) in allocating the buffer.
373 * include/bits/locale_facets.tcc (collate::do_tranform):
374 Remove redundant variable.
376 2002-03-10 Ulrich Drepper <drepper@redhat.com>
377 Paolo Carlini <pcarlini@unitus.it>
379 * config/locale/generic/collate_members.cc
380 (collate<char,wchar_t>::_M_compare_helper): normalize
381 values returned by strcoll and wcscoll.
382 * config/locale/gnu/collate_members.cc
383 (collate<char,wchar_t>::_M_compare_helper): ditto
384 for __strcoll_l and __wcscoll_l.
386 2002-03-10 Anthony Green <green@redhat.com>
388 * configure.in: Support cross builds to mingw32 target.
389 * configure: Rebuilt.
391 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
393 * include/bits/locale_facets.tcc (collate::do_transform):
394 Rewrite to fix problems with long transformed strings.
396 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
398 * c_locale_generic.cc: Move to...
399 * generic/c_locale.cc
400 * c_locale_generic.h: Move to...
402 * codecvt_specializations_generic.h: Move to...
403 * generic/codecvt_specializations.h
404 * collate_members_generic.cc: Move to...
405 * generic/collate_members.cc
406 * ctype_members_generic.cc: Move to...
407 * generic/ctype_members.cc
408 * messages_members_generic.cc: Move to...
409 * generic/messages_members.cc
410 * messages_members_generic.h: Move to...
411 * generic/messages_members.h
412 * moneypunct_members_generic.cc: Move to...
413 * generic/monetary_members.cc
414 * numpunct_members_generic.cc: Move to...
415 * generic/numeric_members.cc
416 * time_members_generic.cc: Move to...
417 * generic/time_members.cc
418 * c_locale_gnu.cc: Move to...
420 * c_locale_gnu.h: Move to...
422 * collate_members_gnu.cc: Move to...
423 * gnu/collate_members.cc
424 * ctype_members_gnu.cc: Move to...
425 * gnu/ctype_members.cc
426 * messages_members_gnu.cc: Move to...
427 * gnu/messages_members.cc
428 * messages_members_gnu.h: Move to...
429 * gnu/messages_members.h
430 * moneypunct_members_gnu.cc: Move to...
431 * gnu/monetary_members.cc
432 * numpunct_members_gnu.cc: Move to...
433 * gnu/numeric_members.cc
434 * time_members_gnu.cc: Move to...
435 * gnu/time_members.cc
436 * c_locale_ieee_1003.1-200x.cc: Move to...
437 * ieee_1003.1-2001/c_locale.cc
438 * c_locale_ieee_1003.1-200x.h: Move to...
439 * ieee_1003.1-2001/c_locale.h
440 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
441 * ieee_1003.1-2001/codecvt_specializations.h
442 * messages_members_ieee_1003.1-200x.cc: Move to...
443 * ieee_1003.1-2001/messages_members.cc
444 * messages_members_ieee_1003.1-200x.h: Move to...
445 * ieee_1003.1-2001/messages_members.h
447 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
448 * aclocal.m4: Regenerate.
449 * configure: Regenerate.
450 * src/Makefile.am (sources): Change to monetary and numeric.
451 * src/Makefile.in: Regenerate.
452 * docs/html/configopts.html: Update to ieee_1003.1-2001.
454 2002-03-08 scott snyder <snyder@fnal.gov>
457 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
458 Allow one more digit of precision.
459 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
460 write a double and read back in the same value.
462 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
464 * include/std/std_limits.h: Move static const data members out of
465 generic template, into base class __numeric_limits_base.
466 * src/limits.cc: Add definitions.
467 * config/linker-map.gnu: Add __numeric_limits_base.
468 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
470 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
472 * include/bits/stl_alloc.h: Add extern implicit allocator
474 * include/bits/basic_string.tcc: Tweak.
475 * include/bits/locale_facets.tcc: Remove default args. Add
476 has_facet, use_facet extern instantiations.
477 * src/stl-inst.cc: Add explicit instantiation.
478 * src/locale-inst.cc: Clean. Remove locale member template
481 * testsuite/22_locale/operators.cc (test02): Enable.
483 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
484 Stephen M. Webb <stephen.webb@bregmasoft.com>
486 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
487 (_S_rb_tree_black): Make enum.
489 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
490 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
491 (__stl_threshold): _M_threshold, enum.
492 * src/stl-inst.cc: Same.
493 * config/linker-map.gnu: Remove.
495 * testsuite/23_containers/vector_bool.cc: New.
497 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
499 * docs/doxygen/user.cfg.in: Also document deprecated entries.
500 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
501 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
502 referring to the collection as a whole. New section on which macros
503 can be redefined by the user.
504 * docs/html/19_diagnostics/howto.html: Update note for concepts.
505 * docs/html/20_util/howto.html: Update link to SGI.
506 * docs/html/faq/index.html: Update snapshot versions. New entry
507 on why g++ (but not gcc) must currently predefine certain macros.
508 * docs/html/faq/index.txt: Regenerated.
510 * include/bits/basic_string.h (basic_string::_S_construct): Fix
511 names in declaration.
512 (basic_string::compare): These are no longer optional.
513 * include/bits/ostream.tcc: Tweak closing brace placement.
514 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
515 * include/std/std_sstream.h: Fix typo in comment.
516 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
517 * src/locale.cc: Likewise.
519 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
522 * include/bits/stl_vector.h (vector::push_back()): Guard with
525 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
527 * include/bits/c++config: Fix misplaced leading blanks on first line.
529 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
531 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
532 * README (libmath): Make clear.
534 2002-03-05 Jakub Jelinek <jakub@redhat.com>
536 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
537 script globbing in ld.
538 * aclocal.m4: Rebuilt.
539 * configure: Rebuilt.
541 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
543 * docs/html/17_intro/RELEASE-NOTES: Update.
544 * README: Format subdirectories.
546 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
549 * include/bits/locale_facets.tcc
550 (num_get::_M_extract_float): Fix the parsing of __dec, since
551 the standard prescribes that if no grouping characters are
552 seen, no grouping check is applied.
553 * testsuite/22_locale/num_get_members_char.cc: Add test05
554 distilled from the PR.
555 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
557 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
559 * docs/html/17_intro/porting-howto.xml: Refer to
560 http://www.oasis-open.org for docbookx.dtd.
561 * docs/html/17_intro/porting-howto.html: Regenerated.
563 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
566 * include/std/std_sstream.h: Remove trailing spaces.
567 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
568 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
570 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
572 * testsuite/22_locale/num_get_members_char.cc (test04):
573 Use a named locale expecting grouping (de_DE).
574 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
576 * testsuite/27_io/ios_manip_basefield.cc (test01):
577 Extend coverage, uniform treatment of hexs and octs.
579 2002-02-28 Richard Henderson <rth@redhat.com>
581 * config/linker-map.gnu: Export operator new with unsigned long,
582 and with std::nothrow_t. Likewise operator delete.
584 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
586 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
587 Admit grouping for octals and hexadecimals too.
588 * testsuite/22_locale/num_get_members_char.cc: Add test04.
589 (test01): Tweak "." -> "," in void* test.
590 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
592 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
593 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
595 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
597 * testsuite/27_io/ios_manip_basefield.cc (test01):
598 Fix for 64 bit machines.
600 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
603 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
605 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
606 (basic_ios::_M_fill_init): New.
607 (basic_ios::fill()): Delay dealing with _M_fill.
609 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
610 (ios_base::_M_call_callbacks): Adjust.
611 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
613 2002-02-26 Loren Rittle <ljrittle@acm.org>
615 * include/Makefile.am (thread_target_headers): Unconditionally
616 stage and install gthr-posix.h.
617 (${target_builddir}/gthr-posix.h): New rule cloned off
618 ${target_builddir}/gthr-default.h.
619 (${target_builddir}/gthr-default.h): Support chained inclusion
620 of gthr support headers.
621 * include/Makefile.in: Rebuilt.
623 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
625 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
626 Group all the integral types, not only decs.
627 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
628 tests, add a few more.
630 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
632 * src/ios.cc (ios_base::~ios_base): Tweak.
633 (ios_base::_M_call_callbacks): Deal with null __p.
634 (ios_base::ios_base): Set _M_callbacks.
635 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
636 * testsuite/27_io/ios_init.cc (test02): Fix.
638 * mkcheck.in (static_fail): Failed links go to output file.
640 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
642 * docs/html/faq/index.html: Update.
643 * docs/html/faq/index.txt: Regenerate.
645 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
647 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
648 * aclocal.m4: Regenerate.
649 * docs/html/configopts.html: Document --enable-symvers.
650 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
652 2002-02-22 Philipp Thomas <pthomas@suse.de>
654 * include/backward/tempbuf.h: get_temporary_buffer and
655 return_temporary_buffer are in namespace std, not in __gnu_cxx.
657 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
659 * configure.in (target_alias): Default to yes.
660 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
661 libgcc to default case.
663 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
665 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
666 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
667 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
668 * aclocal.m4: Regenerate.
669 * configure: Regenerate.
670 * config/linker-map.dummy: New file. Contains nothing useful.
672 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
674 * testsuite/22_locale/money_put_members_char.cc: Fix.
675 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
677 * testsuite/27_io/standard_manipulators.cc: New file.
679 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
680 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
682 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
684 * config/os/mingw32/bits/ctype_noninline.h
685 (ctype<char>::ctype): Remove default args from parm list.
686 * config/os/djgpp/bits/ctype_noninline.h: Same.
688 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
690 * include/std/std_iomanip.h: Inline, tweaks.
691 * config/linker-map.gnu: Remove hacks.
693 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
694 * testsuite/27_io/ios_init.cc: Same.
695 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
696 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
698 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
700 * config/linker-map.gnu: Export global vtable, typeinfo, guard
701 variable, and thunk info as per CXXABI docs.
703 2002-02-19 Loren Rittle <ljrittle@acm.org>
705 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
706 * include/Makefile.in: Rebuilt.
708 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
710 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
711 with size3 for the string collations of str5.
713 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
716 * include/bits/locale_facets.tcc (money_put::do_put):
717 For the space field use __fill instead of ' ', uniformly.
718 * testsuite/22_locale/money_put_members_char.cc:
719 Add test05 distilled from PR.
720 (test01-02-03): Trim some '*' to ' '.
721 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
723 2002-02-18 Loren Rittle <ljrittle@acm.org>
726 * include/Makefile.am (thread_builddir): Remove (map all
727 existing uses to target_builddir).
728 (thread_headers): Rename to...
729 (thread_target_headers): ...this.
730 (stamp-thread): Remove.
731 (stamp-target): Correctly state the position as built.
732 Update all dependencies to match the new reality. Remove all
733 dependency calculations on directories.
734 * include/Makefile.in: Rebuilt.
736 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
738 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
739 * include/bits/fstream.tcc: Same.
740 * include/bits/sstream.tcc: Same.
741 * include/bits/ostream.tcc: Same.
742 * include/bits/istream.tcc: Same.
743 * include/bits/streambuf.tcc: Same.
744 * include/bits/basic_ios.tcc: Same.
745 * include/bits/basic_string.tcc: Same.
747 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
749 * include/std/std_iosfwd.h: Don't guard typedefs with
751 * include/bits/stringfwd.h: Same.
753 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
755 * src/locale.cc (moneypunct_byname): Remove definitions.
756 * include/std/std_streambuf.h (streambuf::operator=): Return.
758 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
761 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
762 explicit instantiation.
763 (string::_Rep::_S_max_size): Same.
764 * include/bits/basic_string.tcc: Add extern explicit
765 instantiations for string, wstring.
766 * include/bits/basic_ios.tcc: Add extern explicit instantiations
768 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
769 * include/bits/istream.tcc: Same, for istream, wistream.
770 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
772 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
773 istringstream, wistringstream, ostringstream, wostringstream,
774 stringstream, wstringstream.
775 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
776 wifstream, ofstream, wofstream, fstream, wfstream.
777 * src/misc-inst.cc: Correct comments.
778 Add iomanip instantiations for wide streams.
779 * include/std/std_iomanip.h: Same.
780 * include/bits/locale_facets.tcc: Same.
782 * include/std/std_streambuf.h: Correct
783 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
784 * include/std/std_sstream.h: Same.
785 * include/std/std_ostream.h: Same.
786 * include/std/std_istream.h: Same.
787 * include/std/std_fstream.h: Same.
789 * include/std/std_streambuf.h: Add definitions for private copy
790 ctor and assignment operator.
791 * include/std/std_istream.h: Remove declared but undefined copy
792 ctor and assignment operator. This is taken care of in ios_base,
793 so adding it in the derived class as well is superfluous.
794 * include/std/std_ostream.h: Same.
796 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
797 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
799 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
801 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
802 Add typeinfo bits. Smooth.
803 * aclocal.m4: Regenerate.
805 * src/Makefile.in: Same.
807 2001-02-14 Joel Sherrill <joel@OARcorp.com>
809 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
810 which do not have a CAS instruction.
812 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
814 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
815 * configure.in: Call it.
816 * config/linker-map.gnu: New file, initial incomplete revision.
817 * src/Makefile.am: Optionally pass version script to the linker.
818 * aclocal.m4: Regenerate.
819 * configure: Regenerate.
820 * src/Makefile.in: Regenerate.
822 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
824 * src/localename.cc: Remove stdexcept include.
825 * src/locale-inst.cc: Same.
826 * src/locale.cc: Same.
827 * src/functexcept.cc: Remove string includes.
828 * include/std/std_bitset.h: Remove stdexcept include.
829 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
830 * testsuite/23_containers/bitset_ctor.cc: Same.
832 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
834 * include/bits/stl_algo (__stl_threshold): Declare external.
835 (__stl_chunk_size): Same.
836 * include/bits/stl_bvector.h (__WORD_BIT): Same.
837 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
838 (_S_rb_tree_black): Same.
839 * src/stl-inst.cc (__stl_threshold): Define.
840 (__stl_chunk_size): Same.
842 (_S_rb_tree_red): Same.
843 (_S_rb_tree_black): Same.
845 * config/io/basic_file_libio.h (__basic_file): Add declarations.
846 * include/bits/basic_file.h: Remove.
847 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
848 Declare generic types, specialization.
849 * config/io/basic_file_stdio.cc: Definitions.
850 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
851 Declare generic types.
852 * include/Makefile.am (bits_headers): Remove basic_file.h.
853 (extra_target_headers): Change basic_file_model.h to basic_file.h.
854 (stamp-target): Same.
856 * include/bits/stl_alloc.h: Tweaks.
857 * include/bits/localefwd.h: Same.
859 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
861 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
862 * testsuite/22_locale/collate_members_char.cc (test03): New test.
863 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
865 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
867 * include/bits/stl_algo.h (transform (both signatures), generate_n):
868 Use __typeof__ in concept checks.
870 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
872 * include/bits/stl_algo.h (__median, for_each, find, find_if,
873 adjacent_find, count, count_if, search, search_n, swap_ranges,
874 transform, replace, replace_if, replace_copy, replace_copy_if,
875 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
876 unique, unique_copy, reverse, reverse_copy): Doxygenate.
878 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
880 * include/bits/locale_facets.h
881 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
882 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
883 (__timepunct<_CharT>::_M_put_helper): Same.
884 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
886 * include/bits/fstream.tcc (filebuf::underflow): Remove
887 __codecvt_type typedef.
888 (filebuf::_M_convert_to_external): Same.
890 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
892 * docs/doxygen/TODO: Update.
893 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
894 * docs/doxygen/mainpage.html: Add TODO list link.
895 * docs/doxygen/user.cfg.in: Add @doctodo hook.
896 * docs/doxygen/tables.html: New file, emoty structure only.
898 * include/bits/stl_iterator.h: Doxygenate just about everything.
899 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
900 * include/bits/stl_iterator_base_types.h: Add notes.
902 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
904 * include/bits/stl_map.h: Tweak doxygen markup.
905 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
906 * include/bits/stl_vector.h: Likewise.
908 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
912 * include/std/std_fstream.h (filebuf::__file_type): Change to
914 (filebuf::_M_convert_to_external): Declare.
915 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
916 codecvt bits for wide streams.
917 (filebuf::_M_really_overflow): Use it.
918 (filebuf::underflow): Use codecvt.
919 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
920 (codecvt<__enc_traits>::do_out): Deal with partial.
921 (codecvt<__enc_traits>::do_encoding): Return something useful.
922 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
924 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
925 Change expected encoding output.
927 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
930 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
931 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
933 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
934 (basic_ios::widen): Same.
936 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
938 * testsuite/22_locale/money_get_members_char.cc:
939 Add comment, tidy up.
940 (test01): more "en_HK" tests (without showbase).
941 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
943 2002-02-06 Loren Rittle <ljrittle@acm.org>
945 * config/locale/c_locale_generic.cc: Do not trust
946 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
949 2002-02-06 Loren Rittle <ljrittle@acm.org>
951 * acinclude.m4: Add C++ linkage check for strtof.
952 * aclocal.m4: Rebuilt.
953 * config.h.in: Rebuilt.
954 * configure: Rebuilt.
955 * config/locale/c_locale_generic.cc: Conditionally include
956 <ieeefp.h>. Improve handling and error checking of float
957 and long double input for non-C99 configurations.
959 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
961 * include/bits/locale_facets.tcc (money_get::do_get(string)):
962 In case money_base::symbol deal properly with multi-char sign
963 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
964 * testsuite/22_locale/money_get_members_char.cc: Add test07.
965 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
967 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
969 * include/bits/locale_facets.tcc (money_get::do_get(string)):
970 First construct a tentative returned string, then, only if the
971 parsing succeeds, copy it into the string passed by reference.
972 * testsuite/22_locale/money_get_members_char.cc: Add test06.
973 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
975 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
977 * docs/doxygen/TODO: Impl-defined behavior now documented...
978 * docs/html/17_intro/howto.html: ...here.
979 * docs/doxygen/mainpage.doxy: Remove, rename...
980 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
981 * docs/doxygen/style.css: Add small text.
982 * docs/doxygen/run_doxygen: Adjust for new mainpage.
983 * docs/doxygen/user.cfg.in: Likewise.
985 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
987 * include/bits/stl_map.h: Initial doxygen markup.
988 * include/std/std_fstream.h: Initial doxygen markup.
990 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
993 * include/bits/locale_facets.tcc (money_get::do_get(string)):
994 Deal correctly with !(__io.flags() & ios_base::showbase)
995 for case money_base::symbol.
996 * testsuite/22_locale/money_get_members_char.cc: Add test05.
997 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
999 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
1001 * testsuite/22_locale/operators.cc
1002 (gnu_collate::do_compare()): Add return statement to
1003 suppress "no return statement" warning.
1005 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
1007 * testsuite/27_io/ostream_manip.cc: Enable test02.
1009 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
1011 * docs/html/documentation.html: Update for 3.0.96.
1012 * docs/html/faq/index.html: Update for 3.0.96.
1013 * docs/html/faq/index.txt: Regenerated.
1014 * docs/doxygen/TODO: Update notes.
1015 * docs/html/17_intro/howto.html: Initial impl-specific listing.
1017 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
1019 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1020 Initialize all data members in copy ctor. Make ctors explicit.
1021 (__enc_traits::__enc_traits()): Default ctor does nothing.
1022 (__enc_traits::_M_init): Guard against multiple iconv_opens.
1023 * include/std/std_sstream.h (basic_stringbuf): Make data members
1025 * include/std/std_fstream.h (basic_filebuf): Same.
1026 * include/std/std_streambuf.h: Tweak.
1027 * include/bits/streambuf.tcc: Same.
1028 * include/bits/sstream.tcc: Same.
1029 * include/bits/fstream.tcc: Same.
1031 2002-01-31 Loren Rittle <ljrittle@acm.org>
1033 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
1034 allow NULL argument to be passed to setenv().
1035 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1036 * testsuite/22_locale/collate_members_char.cc: Likewise.
1037 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1038 * testsuite/22_locale/ctype_members_char.cc: Likewise.
1039 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
1040 * testsuite/22_locale/messages_members_char.cc: Likewise.
1041 * testsuite/22_locale/money_get_members_char.cc: Likewise.
1042 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1043 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1044 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1045 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
1046 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1047 * testsuite/22_locale/num_get_members_char.cc: Likewise.
1048 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1049 * testsuite/22_locale/num_put_members_char.cc: Likewise.
1050 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1051 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
1052 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1053 * testsuite/22_locale/time_get_members_char.cc: Likewise.
1054 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1055 * testsuite/22_locale/time_put_members_char.cc: Likewise.
1056 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1058 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
1060 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
1062 * ChangeLog-2001: Fix spelling errors...
1063 * docs/html/17_intro/RELEASE-NOTES: Update.
1064 * docs/html/17_intro/TODO: Update.
1065 * README (file): Update.
1067 2002-01-30 Loren Rittle <ljrittle@acm.org>
1069 * config/locale/c_locale_generic.cc: Check errno for ERANGE
1070 instead of non-zero to aid portability.
1072 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1074 * docs/html/22_locale/messages.html: Fix example code.
1076 2002-01-30 Richard Henderson <rth@redhat.com>
1078 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1079 out from test03 and templatize.
1082 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
1084 * config/locale/numpunct_members_gnu.cc
1085 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
1086 Fix initialization of _M_grouping for locales which have
1087 _M_thousands_sep == '\0'(L'\0', respectively).
1088 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
1090 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
1092 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1093 Better fix for 32/64 bit architectures, avoiding the
1094 implicit assumption that CHAR_BIT == 8.
1096 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
1098 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
1099 * Makefile.in: Regenerate.
1101 * docs/doxygen/run_doxygen: Update, mostly for man pages.
1102 * docs/doxygen/Intro.3: Update.
1103 * docs/doxygen/TODO: Update.
1104 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
1105 * docs/doxygen/mainpage.doxy: Update.
1106 * docs/doxygen/user.cfg.in: Update for header rename. Also
1107 regenerate comments and variables with 1.2.12.
1108 * docs/doxygen/maint.cfg.in: Remove file.
1110 * include/bits/stl_relops.h: Doxygenate.
1111 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
1113 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
1114 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
1115 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
1116 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
1117 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
1118 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
1119 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
1120 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
1121 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
1122 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
1123 include/ext/hash_set, include/ext/iterator, include/ext/memory,
1124 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
1125 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
1126 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
1127 include/std/std_algorithm.h, include/std/std_bitset.h,
1128 include/std/std_complex.h, include/std/std_deque.h,
1129 include/std/std_fstream.h, include/std/std_functional.h,
1130 include/std/std_iomanip.h, include/std/std_ios.h,
1131 include/std/std_iosfwd.h, include/std/std_iostream.h,
1132 include/std/std_istream.h, include/std/std_iterator.h,
1133 include/std/std_limits.h, include/std/std_list.h,
1134 include/std/std_locale.h, include/std/std_map.h,
1135 include/std/std_memory.h, include/std/std_numeric.h,
1136 include/std/std_ostream.h, include/std/std_queue.h,
1137 include/std/std_set.h, include/std/std_sstream.h,
1138 include/std/std_stack.h, include/std/std_stdexcept.h,
1139 include/std/std_streambuf.h, include/std/std_string.h,
1140 include/std/std_utility.h, include/std/std_valarray.h,
1141 include/std/std_vector.h: Add/correct @file doxygen hook.
1143 * include/ext/memory: Doxygenate most of rest of file.
1144 * libsupc++/exception: Doxygen output formatting.
1145 * libsupc++/new: Say which header it is.
1147 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
1148 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
1149 * docs/html/23_containers/howto.html: Describe O(n) list::size().
1150 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
1152 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1153 Charles Leggett <CGLeggett@lbl.gov>
1155 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
1157 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1159 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1160 Fix to deal correctly with both 32 bit and 64 bit architectures
1162 2002-01-25 Loren Rittle <ljrittle@acm.org>
1164 * testsuite/thread/pthread1.cc: Use one condition variable
1165 per predicate instead of tricky use of one condition variable.
1167 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
1169 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
1171 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
1172 * testsuite/27_io/filebuf.cc: Compile only.
1173 * testsuite/27_io/filebuf_members.cc: Move tests to here.
1174 * testsuite/27_io/filebuf_virtuals.cc: And here.
1175 Revert sungetc, sync changes for expected values.
1176 * testsuite/27_io/filebuf-*: Move to...
1177 * testsuite/27_io/filebuf_virtuals-*: ...here.
1178 * testsuite/27_io/istream.cc: Compile only, activate.
1179 * testsuite/27_io/ostream.cc: Same.
1180 * testsuite/27_io/iostream.cc: New.
1181 * testsuite/27_io/iostream_members.cc: New.
1183 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
1185 * testsuite/thread/pthread1.cc: Enable on cygwin.
1186 * testsuite/thread/pthread2.cc: Likewise.
1187 * testsuite/thread/pthread3.cc: Likewise.
1188 * testsuite/thread/pthread4.cc: Likewise.
1189 * testsuite/thread/pthread5.cc: Likewise.
1190 * testsuite/thread/pthread6.cc: Likewise.
1192 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1194 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
1196 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1198 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1200 (basic_ios::fill(char_type)): Use fill().
1201 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1202 (basic_ios::narrow): Same.
1203 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1204 if they are invalid.
1205 (basic_ios::init): Comment.
1206 * testsuite/27_io/ios_init.cc (test02): New.
1208 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
1210 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
1211 * include/bits/stl_algo.h: Include stl_tempbuf.h.
1212 * include/ext/memory: Do not include stl_tempbuf.h.
1213 (temporary_buffer): Add doxygen hook.
1214 (__get_temporary_buffer, get_temporary_buffer,
1215 return_temporary_buffer): Move back to std:: header...
1216 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
1217 * include/ext/rope: Do not include stl_tempbuf.h.
1218 * include/ext/stl_hashtable.h: Likewise.
1219 * include/std/std_algorithm.h: Likewise.
1220 * testsuite/20_util/temporary_buffer.cc: New file.
1222 2002-01-24 andrew@andypo.net
1223 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
1226 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1227 * include/bits/localefwd.h: Likewise.
1228 Also use for std::locale::id::_S_highwater.
1229 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1230 * src/locale.cc: Support new usage of _Atomic_word.
1231 (std::locale::classic): Guard entire function against reentry.
1232 * src/localename.cc: Support new usage of _Atomic_word.
1234 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1236 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1237 _GLIBCPP_HAVE_SETENV.
1238 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1239 * testsuite/22_locale/collate_members_char.cc (test02): Same.
1240 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1241 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1242 * testsuite/22_locale/messages_members_char.cc (test02): Same.
1243 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1244 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1245 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1246 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1247 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1248 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1249 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1250 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1251 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1252 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1253 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1254 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1255 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1256 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1257 * aclocal.m4: Regenerate.
1258 * configure: Regenerate.
1259 * config.h.in: Regenerate.
1261 2002-01-23 Loren Rittle <ljrittle@acm.org>
1263 * testsuite/thread/pthread1.cc: New test.
1264 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1265 * testsuite/thread/pthread3.cc: Likewise.
1266 * testsuite/thread/pthread4.cc: New test adapted from
1267 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1268 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1269 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1271 2002-01-23 Richard Henderson <rth@redhat.com>
1274 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1275 CAS on the cpu variants that support it. Add versions that use
1276 TAS and that disable interrupts.
1277 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1279 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
1281 * include/bits/locale_facets.tcc: Remove old comments.
1283 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
1285 * include/bits/locale_facets.tcc (__convert_to_v): Change template
1287 (__convert_from_v): Same.
1289 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
1291 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1293 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1294 __max_digits checks, adjust arguments.
1295 (num_get::do_get(*)): Changeup.
1297 2002-01-23 Loren Rittle <ljrittle@acm.org>
1299 * config/locale/c_locale_generic.cc: Fix typename usage.
1301 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1303 * config/locale/c_locale_generic.cc: Fix.
1305 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1307 * docs/html/22_locale/messages.html: Remove angle brackets.
1308 * docs/html/17_intro/TODO: Add.
1310 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
1312 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1313 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1314 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1315 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1317 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1319 Audit for LANG independence.
1320 * include/bits/localefwd.h: Tweaks.
1321 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1323 (time_get::do_get_year): Same.
1324 (__convert_from_v): Add.
1325 (num_put::_M_convert_float): Use.
1326 (num_put::_M_convert_int): Same.
1327 (money_put::do_put): Same.
1329 * src/locale-inst.cc: Add instantiations for __convert_from_v.
1330 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1331 * config/locale/time_members_generic.cc:
1332 * config/locale/messages_members_gnu.cc: Same.
1333 * config/locale/messages_members_gnu.h: Same.
1335 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1336 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1337 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1338 * testsuite/22_locale/collate_members_char.cc (test02): New.
1339 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1340 * testsuite/22_locale/ctype_members_char.cc (test03): New.
1341 * testsuite/22_locale/messages_members_char.cc (test02): New.
1342 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1343 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1344 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1345 * testsuite/22_locale/money_get_members_char.cc (test04): New.
1346 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1347 * testsuite/22_locale/money_put_members_char.cc (test04): New.
1348 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1349 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1350 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1351 * testsuite/22_locale/time_put_members_char.cc (test03): New.
1352 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1353 * testsuite/22_locale/time_get_members_char.cc (test07): New.
1354 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1355 * testsuite/22_locale/num_get_members_char.cc (test03): New.
1356 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1357 * testsuite/22_locale/num_put_members_char.cc (test03): New.
1359 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1361 * testsuite/22_locale/time_get_members_char.cc: Same.
1363 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1366 * include/bits/localefwd.h: Tweak comments.
1367 * include/bits/locale_facets.h (__convert_to_v): Add.
1368 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1369 (num_get::do_get(float)): Same.
1370 (num_get::do_get(long double)): Same.
1371 (num_get::do_get(bool)): Same.
1372 (num_get::do_get(long)): Same.
1373 (num_get::do_get(long long)): Same.
1374 (num_get::do_get(unsigned int)): Same.
1375 (num_get::do_get(unsigned short)): Same.
1376 (num_get::do_get(unsigned long)): Same.
1377 (num_get::do_get(unsigned long long)): Same.
1378 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1379 * config/locale/c_locale_generic.cc: Same.
1381 2002-01-22 Loren Rittle <ljrittle@acm.org>
1383 * include/Makefile.am (c_base_builddir): Remove redundant slash.
1384 (std_builddir): Likewise.
1385 (std_headers_rename): Fix cut-n-paste typo.
1386 (install-data-local): Concat path per element instead of once to
1387 first element of list.
1388 * include/Makefile.in: Rebuilt.
1390 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1392 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1393 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1394 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1396 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
1398 * include/bits/locale_facets.h (ctype<char>::classic_table):
1400 (ctype<char>::_S_ctable): Remove.
1401 * config/os/gnu-linux/bits/ctype_noninline.h
1402 (ctype<char>::_S_table): Remove definition.
1403 (ctype<char>::classic_table): Define.
1404 (ctype<char>::ctype): Replace _S_ctable with classic_table().
1405 * config/os/aix/bits/ctype_noninline.h: Same.
1406 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1407 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1408 * config/os/djgpp/bits/ctype_noninline.h: Same.
1409 * config/os/generic/bits/ctype_noninline.h: Same.
1410 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1411 * config/os/hpux/bits/ctype_noninline.h: Same.
1412 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1413 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1414 * config/os/mingw32/bits/ctype_noninline.h: Same.
1415 * config/os/newlib/bits/ctype_noninline.h: Same.
1416 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1417 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1418 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1420 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1422 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1423 of _pctype. Use to define _S_ctable. Add definition for alternate
1424 ctor. Initialise _M_ctable to _S_ctable in ctors.
1425 (do_toupper, do_tolower): Use inline code appropriate for C-locale
1426 rather than ::toupper, ::tolower.
1428 2002-01-18 Loren Rittle <ljrittle@acm.org>
1430 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1431 Add specialization for FreeBSD systems only to avoid losing test
1432 only due to extra precision unmentioned in system headers.
1434 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
1436 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1438 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1440 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
1441 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1443 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1445 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1447 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1449 * configure.target: Define OPT_LDFLAGS for AIX case.
1451 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1453 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1454 __glibcpp_double_has_quiet_NaN): Correct mispelling.
1456 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
1458 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1460 2002-01-16 David Edelsohn <dje@watson.ibm.com>
1462 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1463 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
1464 * aclocal.m4: Regenerate.
1465 * configure: Regenerate.
1467 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1469 * include/Makefile.am (c_base_headers_rename): New.
1470 (c_base_headers_extra): New.
1471 (stamp-c_base): Modify.
1472 (install-data-local): Use both.
1473 * include/Makefile.in: Regenerate.
1474 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1475 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1476 cstdio ctime cwctype]: Move to..
1477 * include/c/std_*: Here.
1478 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1479 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1480 cstdio ctime cwctype]: Move to..
1481 * include/c_std/std_*: Here.
1483 Alexandre Oliva <aoliva@redhat.com>
1484 * include/Makefile.am (.PRECIOUS): Add rule.
1485 * include/Makefile.in: Regenerate.
1487 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1488 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1490 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1491 Deuglify, should be current.
1492 (back_insert_iterator::_M_container): Deuglify, should be container.
1493 (front_insert_iterator::_M_container): Same.
1494 (insert_iterator::_M_container): Same.
1495 * testsuite/24_iterators/reverse_iterator.cc: Add check.
1496 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1497 * testsuite/24_iterators/front_insert_iterator.cc: Same.
1498 * testsuite/24_iterators/insert_iterator.cc: Same.
1500 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1502 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1504 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1505 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1506 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1507 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1508 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1509 * config/os/newlib/bits/ctype_noninline.h: Same.
1510 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1511 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1512 * config/os/hpux/bits/ctype_noninline.h: Same.
1513 * config/os/djgpp/bits/ctype_noninline.h: Same.
1514 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1515 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1516 * config/os/aix/bits/ctype_noninline.h: Same.
1518 Testcase by Dietmar Kühl via Peter Schmid
1519 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1522 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1524 * libmath/signbitl.c: Copyright years as list, not range.
1525 * libmath/Makefile.am: Same.
1526 * libmath/Makefie.in: Regenerate.
1527 * libmath/signbit.c: Same.
1528 * libmath/nan.c: Same.
1529 * libmath/copysignf.c: Same.
1530 * libmath/signbitf.c: Same.
1531 * testsuite/22_locale/money_get_members_char.cc: Same.
1532 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1533 * testsuite/22_locale/money_put_members_char.cc: Same.
1534 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1535 * testsuite/22_locale/time_get_members_char.cc: Same.
1536 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1537 * testsuite/22_locale/time_put_members_char.cc: Same.
1538 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1539 * testsuite/21_strings/nonmember.cc: Same.
1540 * testsuite/21_strings/compare.cc: Same.
1541 * testsuite/27_io/stringstream.cc: Same.
1542 * testsuite/27_io/stringbuf.cc: Same.
1543 * testsuite/27_io/filebuf.cc: Same.
1544 * testsuite/27_io/ios_manip_basefield.cc: Same.
1545 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1546 * include/bits/cpp_type_traits.h: Same.
1547 * include/bits/generic_shadow.h: Same.
1548 * include/bits/gslice_array.h: Same.
1549 * include/bits/gslice.h: Same.
1550 * include/bits/indirect_array.h: Same.
1551 * include/bits/slice_array.h: Same.
1552 * include/bits/sstream.tcc: Same.
1553 * include/bits/streambuf_iterator.h: Same.
1554 * include/bits/valarray_array.tcc: Same.
1555 * include/bits/valarray_meta.h: Same.
1556 * include/bits/valarray_array.h: Same.
1557 * config/os/mingw32/bits/ctype_noninline.h: Same.
1558 * config/os/mingw32/bits/ctype_base.h: Same.
1559 * config/os/hpux/bits/ctype_noninline.h: Same.
1560 * config/os/hpux/bits/ctype_base.h: Same.
1561 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1562 * config/os/gnu-linux/bits/ctype_base.h: Same.
1563 * config/os/generic/bits/ctype_noninline.h: Same.
1564 * config/os/generic/bits/ctype_base.h: Same.
1566 * libsupc++/tinfo.h: Tweaks.
1568 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1570 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1571 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1572 * testsuite/22_locale/ctype_members_char.cc: Tweak.
1574 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1576 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1577 (num_put::do_put(void*)): Fix.
1578 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1579 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1580 * testsuite/22_locale/num_get_members_char.cc (test02): Add
1581 long double, void, bool types.
1582 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1584 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1585 Alexandre Oliva <aoliva@redhat.com>
1587 * libmath/Makefile.am (LINK): Add --tag CC.
1588 * libmath/Makefile.in: Regenerate.
1590 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1592 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1593 of character to attribute mapping table.
1595 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
1597 * testsuite/26_numerics/c99_classification_macros_c.cc
1598 Remove dg-error and dg-excess-errors comments.
1600 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
1602 * include/bits/locale_facets.tcc (time_put::put): Correct output
1604 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1605 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1606 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1607 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1609 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
1611 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1613 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
1614 Nathan Myers <ncm@cantrip.org>
1616 * include/bits/basic_string.h
1617 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1618 temporaries (i.e., call _M_replace_safe) when possible.
1619 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1620 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1621 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1622 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1623 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1624 * include/bits/basic_string.tcc
1625 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1626 replace(__pos, __n1, __s, __n2).
1627 * testsuite/21_strings/replace.cc (test03): New testcases.
1629 * include/bits/basic_string.h (insert(__pos, __s, __n)):
1630 Adjust comparison wrt overflow.
1632 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1634 * include/Makefile.am (std_headers_rename): New variable.
1635 (install-data-local): Use it.
1636 * include/Makefile.in: Regenerate.
1638 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1640 * include/bits/locale_facets.tcc (money_put::do_put(string):
1641 Correct output iterator value.
1642 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1643 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1645 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1647 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
1650 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1652 * include/Makefile.am (std_headers): Update list with new names.
1653 (stamp-std): Link to standardized name.
1654 * include/Makefile.in: Regenerate.
1656 * include/std/algorithm, include/std/bitset, include/std/complex,
1657 include/std/deque, include/std/fstream, include/std/functional,
1658 include/std/iomanip, include/std/ios, include/std/iosfwd,
1659 include/std/iostream, include/std/istream, include/std/iterator,
1660 include/std/limits, include/std/list, include/std/locale,
1661 include/std/map, include/std/memory, include/std/numeric,
1662 include/std/ostream, include/std/queue, include/std/set,
1663 include/std/sstream, include/std/stack, include/std/stdexcept,
1664 include/std/streambuf, include/std/string, include/std/utility,
1665 include/std/valarray, include/std/vector: Rename to...
1667 * include/std/std_algorithm.h, include/std/std_bitset.h,
1668 include/std/std_complex.h, include/std/std_deque.h,
1669 include/std/std_fstream.h, include/std/std_functional.h,
1670 include/std/std_iomanip.h, include/std/std_ios.h,
1671 include/std/std_iosfwd.h, include/std/std_iostream.h,
1672 include/std/std_istream.h, include/std/std_iterator.h,
1673 include/std/std_limits.h, include/std/std_list.h,
1674 include/std/std_locale.h, include/std/std_map.h,
1675 include/std/std_memory.h, include/std/std_numeric.h,
1676 include/std/std_ostream.h, include/std/std_queue.h,
1677 include/std/std_set.h, include/std/std_sstream.h,
1678 include/std/std_stack.h, include/std/std_stdexcept.h,
1679 include/std/std_streambuf.h, include/std/std_string.h,
1680 include/std/std_utility.h, include/std/std_valarray.h,
1681 include/std/std_vector.h: ...this.
1683 2002-01-11 Loren Rittle <ljrittle@acm.org>
1685 * include/Makefile.am (extra_target_headers): New list of all
1686 target files built with ad hoc naming rules.
1687 (stamp-*): Handle LN_S failure in manner portable across make
1689 (install-data-local): Install header files from human-maintained
1690 file lists and directory components instead of non-robust find.
1691 * include/Makefile.in: Rebuilt.
1693 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
1695 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1696 Check for zero-length negative sign before adding it to output
1698 (money_get::do_get(long double)): Return beg.
1699 * testsuite/22_locale/money_get_members_char.cc (test02): Add
1701 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1703 2002-01-10 David Seymour <seymour_dj@yahoo.com>
1706 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1707 for _M_extract_float and _M_extract_int
1708 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1709 (num_get<>::_M_extract_int): Likewise, all callers changed
1710 * testsuite/22_locale/num_get_members_char.cc: Testcase
1712 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1714 * libsupc++/exception (bad_exception): Add comment.
1715 * libsupc++/new (bad_alloc): Same.
1716 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1718 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1720 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1721 that the destructors should be removed from the descriptions
1722 in the standard: writing them explicitly allows the vtable
1723 heuristic to work. For additional information see:
1724 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1725 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1726 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1727 * libsupc++/exception (bad_exception::~bad_exception()):
1728 Reintroduce declaration.
1729 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1730 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1731 (bad_typeid::~bad_typeid()): Same.
1732 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1733 Reintroduce definition.
1734 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1735 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1736 (bad_typeid::~bad_typeid()): Same.
1738 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
1740 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1741 * include/Makefile.in: Regenerate.
1743 2002-01-09 Bo Thorsen <bo@suse.co.uk>
1745 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1748 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
1752 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1753 return value of _M_file->sync().
1754 (filebuf::showmanyc): Check for is_open.
1755 * include/std/fstream (filebuf::sync): Tweak.
1756 * testsuite/27_io/filebuf.cc: Tweak.
1758 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
1759 Brad Garcia <garsh@attbi.com>
1761 * testsuite/27_io/filebuf_members.cc: Add test.
1763 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
1764 Craig Rodrigues <rodrigc@mediaone.net>
1767 * po/Makefile.am (mkinstalldirs): Add.
1768 * po/Makefile.in: Regenerate.
1770 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
1772 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1773 testsuite/lib/prune.exp: Delete lines ":In function ..." from
1775 * testsuite/23_containers/map_operators.cc: Remove
1776 dg-excess-errors comment.
1777 * testsuite/23_containers/set_operators.cc: Likewise.
1779 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
1781 * include/bits/stl_function.h: Remove two lines of comments;
1782 adjust copyright years.
1784 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
1786 * include/Makefile.am (std_headers): Remove cXXX from list.
1787 (c_base_srcdir): No bits subdirectory.
1788 (c_base_builddir): Same.
1789 (c_base_headers): Adjust names, add ciso646.
1790 (bits_headers): Remove std_xxx.h headers.
1791 * include/Makefile.in: Regenerate.
1793 * include/ext/iterator: Adjust includes.
1794 * include/ext/ropeimpl.h: Same.
1795 * include/ext/stl_hash_fun.h: Same.
1796 * include/ext/algorithm: Same.
1798 * include/backward/bvector.h: Adjust includes.
1799 * include/backward/vector.h: Same.
1800 * include/backward/strstream: Same.
1801 * include/backward/streambuf.h: Same.
1802 * include/backward/stack.h: Same.
1803 * include/backward/set.h: Same.
1804 * include/backward/queue.h: Same.
1805 * include/backward/multiset.h: Same.
1806 * include/backward/multimap.h: Same.
1807 * include/backward/map.h: Same.
1808 * include/backward/list.h: Same.
1809 * include/backward/iterator.h: Same.
1810 * include/backward/iostream.h: Same.
1811 * include/backward/iomanip.h: Same.
1812 * include/backward/fstream.h: Same.
1813 * include/backward/deque.h: Same.
1814 * include/backward/complex.h: Same.
1816 * include/bits/std_algorithm.h: Move to...
1817 * include/std/algorithm: ...here.
1818 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1819 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1820 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1821 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1822 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1823 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1824 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1827 * include/c_std/bits/std_cassert.h: Move to...
1828 * include/c_std/cassert: Here.
1829 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1830 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1831 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1832 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1833 std_cwctype.h: Same.
1834 * include/c_std/cmath: Adjust cmath.tcc include.
1835 * include/c_std/cstdlib: Adjust includes.
1836 * include/c_std/cwchar: Same.
1837 * include/c_std/ctime: Same.
1838 * include/c_std/cstring: Same.
1839 * include/c_std/cstdio: Same.
1840 * include/c_std/bits: Remove directory.
1842 * include/c/bits/std_cassert.h: Move to...
1843 * include/c/cassert: Here.
1844 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1845 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1846 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1847 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1848 std_cwctype.h: Same.
1849 * include/c/bits: Remove directory.
1851 * include/std/cwctype: Remove.
1852 * include/std/cwchar: Remove.
1853 * include/std/ctime: Remove.
1854 * include/std/cstring: Remove.
1855 * include/std/cstdlib: Remove.
1856 * include/std/cstdio: Remove.
1857 * include/std/cstddef: Remove.
1858 * include/std/cstdarg: Remove.
1859 * include/std/csignal: Remove.
1860 * include/std/csetjmp: Remove.
1861 * include/std/cmath: Remove.
1862 * include/std/clocale: Remove.
1863 * include/std/climits: Remove.
1864 * include/std/ciso646: Remove.
1865 * include/std/cfloat: Remove.
1866 * include/std/cerrno: Remove.
1867 * include/std/cctype: Remove.
1868 * include/std/cassert: Remove.
1870 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1871 files and subsituting <xxx>.
1872 * include/bits/valarray_array.h: Same.
1873 * include/bits/stl_uninitialized.h: Same.
1874 * include/bits/stl_alloc.h: Same.
1875 * include/bits/stl_algobase.h: Same.
1876 * include/bits/sstream.tcc: Same.
1877 * include/bits/pthread_allocimpl.h: Same.
1878 * include/bits/ostream.tcc: Same.
1879 * include/bits/localefwd.h: Same.
1880 * include/bits/locale_facets.tcc: Same.
1881 * include/bits/locale_facets.h: Same.
1882 * include/bits/istream.tcc: Same.
1883 * include/bits/char_traits.h: Same.
1884 * include/bits/boost_concept_check.h: Same.
1885 * include/bits/basic_file.h: Same.
1886 * include/std/bitset: Same.
1887 * include/std/complex: Same.
1888 * include/std/fstream: Same.
1889 * include/std/functional: Same.
1890 * include/std/ios: Same.
1891 * include/std/iostream: Same.
1892 * include/std/ostream: Same.
1893 * include/std/sstream: Same.
1894 * include/std/streambuf: Same.
1895 * include/std/string: Same.
1896 * include/std/iterator: Same.
1897 * include/std/valarray: Same.
1899 * src/ios.cc: Adjust includes.
1900 * src/valarray-inst.cc: Same.
1901 * src/string-inst.cc: Same.
1902 * src/stl-inst.cc: Same.
1903 * src/stdexcept.cc: Same.
1904 * src/misc-inst.cc: Same.
1905 * src/localename.cc: Same.
1906 * src/locale-inst.cc: Same.
1907 * src/locale.cc: Same.
1908 * src/limits.cc: Same.
1909 * src/concept-inst.cc: Same.
1910 * src/complex_io.cc: Same.
1911 * src/codecvt.cc: Same.
1912 * src/bitset.cc: Same.
1913 * src/cmath.cc: Same.
1915 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
1917 * include/bits/stl_tree.h (rb_tree): Move to...
1918 * include/ext/rb_tree: ...here, new file.
1919 * include/Makefile.am (ext_headers): Add new file.
1920 * include/Makefile.in: Regenerate.
1921 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1922 return_temporary_buffer, struct temporary_buffer): Move to...
1923 * include/ext/memory: ...here.
1924 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
1925 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
1926 * include/backward/tree.h: Include <ext/rb_tree), tweak.
1928 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
1930 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
1931 * include/ext/numeric: ...here, new file.
1932 * include/bits/stl_function.h (identity_element, unary_compose,
1933 binary_compose, compose1, compose2, identity, select1st,
1934 select2nd, project1st + helper, project2nd + helper,
1935 constant_void_fun + helper, constant_unary_fun + helper,
1936 costant_binary_fun + helper, constant0, constant1, constant2,
1937 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
1938 * include/ext/functional: ...here, new file.
1939 * include/Makefile.am (ext_headers): Add new files.
1940 * include/Makefile.in: Regenerate.
1941 * testsuite/ext/headers.cc: Include <ext/numeric> and
1943 * include/backward/algo.h: Include <ext/numeric>, tweak.
1944 * include/backward/function.h: Include <ext/functional>, tweak.
1945 * include/ext/ropeimpl.h: Include <ext/numeric>.
1947 2002-01-03 Jeffrey A Law <law@redhat.com>
1949 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1950 __strtoull declarations with __extension__.
1952 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
1954 * testsuite/lib/prune.exp: Correct regular expression for
1957 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1959 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1960 Change concept checks, as with lower_bound and PR 2054.
1961 * testsuite/ext/concept_checks.cc: Expand test to include those.
1963 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1965 * include/bits/boost_concept_check.h: Import some changes from
1966 upsteam (Boost) version.
1968 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
1970 * include/bits/stl_algobase.h (copy_n + helpers,
1971 lexicographical_compare_3way + helpers): Move to...
1972 * include/ext/algorithm: ...here.
1973 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
1974 helpers): Move to...
1975 * include/ext/memory: ...here, new file.
1976 * include/Makefile.am (ext_headers): Add new file.
1977 * include/Makefile.in: Regenerate.
1978 * testsuite/ext/headers.cc: Include <ext/memory>.
1979 * include/backward/algobase.h: Include <ext/memory> and
1980 <ext/algorithm>, tweak.
1981 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
1982 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
1984 2002-01-01 Roger Sayle <roger@eyesopen.com>
1986 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
1987 equivalent ___builtin__ versions.
1989 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
1990 are available in libstdc++ as the necessary stub implementations
1991 are provided by libmath/stubs.c.
1993 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
1995 * configure.in: Add support for NetBSD cross compiles.
1996 * configure: Regenerate.