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