1 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
3 * include/Makefile.am (install-data-local): Use mkinstalldirs.
4 * include/Makefile.in: Regenerate.
6 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
7 Nathan Myers <ncm@cantrip.org>
8 Philip Martin <philip@codematters.co.uk>
10 * include/bits/basic_string.h
11 (replace(i1, i2, _CharT* k1, _CharT* k2),
12 replace(i2, i2, const _CharT* k1, const _CharT* k2),
13 replace(i1, i2, iterator k1, iterator k2,
14 replace(i1, i2, const_iterator k1, const_iterator k2):
15 New specializations to optimize for the common cases of
16 pointers and iterators.
17 (replace(pos, n1, s, n2)): Tweak.
18 * include/bits/basic_string.tcc: Tweak comments.
19 * testsuite/21_strings/replace.cc (test04): New tests.
21 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
24 * acinclude: More extensive checks for msgfmt, --enable-nls.
25 * aclocal.m4: Regenerate.
26 * configure: Regenerate.
28 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
30 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
31 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
32 * docs/html/18_support/howto.html: Document the demangler.
33 * docs/html/17_intro/howto.html: And link to it.
35 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
36 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
38 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
40 * config/linker-map.gnu: Export __verbose_terminate_handler.
41 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
42 Make new LTCOMPILE variable, use it in new special build rules.
43 * libsupc++/Makefile.in: Rebuild.
44 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
45 runtime __cxa_demangle.
47 * docs/html/install.html: Update prereqs and instructions.
48 * docs/html/19_diagnostics/howto.html: Bring naming for
49 verbose_terminate_handler into line with reality.
51 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
54 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
55 (basic_ios::_M_streambuf_state): Move.
56 * include/bits/ios_base (ios_base): To here.
57 * include/bits/ios_base.h (ios_base::_S_local_words): To
59 (ios_base::_M_word_array): To _M_local_word.
60 (ios_base::_M_words_limit): To _M_word_size.
61 (ios_base::_M_words): To _M_word.
63 * include/bits/basic_ios.tcc: Adjust.
64 * src/ios.cc (ios_base::_M_grow_words): Tweak.
65 * testsuite/27_io/ios_base_storage.cc: Add tests.
68 Kenny Simpson <theonetruekenny@yahoo.com>
69 * include/bits/ios_base.h: Fix.
71 Richard Henderson <rth@redhat.com>
72 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
75 * include/bits/basic_string.h: Tweak formatting.
77 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
79 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
80 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
81 By definition, sizeof(char) == 1.
82 * include/bits/locale_facets.tcc (money_get::do_get,
83 money_put::do_put): Ditto.
84 * testsuite/21_strings/inserters_extractors.cc
87 2002-03-30 Richard Henderson <rth@redhat.com>
90 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
91 data out of the exception struct before calling unexpectedHandler.
93 2002-03-28 Roger Sayle <roger@eyesopen.com>
95 * include/c_std/std_cmath.h: To prevent problems overloading
96 g++ builtins, use the double variants from the global namespace
97 before defining float and long double variants in std::.
99 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
101 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
103 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
105 * testsuite/24_iterators/istream_iterator.cc
108 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
109 Paolo Carlini <pcarlini@unitus.it>
111 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
112 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
113 fix i_lit_base e_lit_base arrays, making them independent
114 from the endianness of the platform; tweak UCS4 to UCS-4BE.
116 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
118 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
119 allocate at least a byte.
121 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
123 * testsuite/27_io/streambuf.cc (test07): Fix.
126 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
128 * docs/doxygen/Intro.3: Date tweak.
129 * docs/doxygen/TODO: Update.
130 * docs/doxygen/doxygroups.cc: Point to tables.html.
131 * docs/doxygen/mainpage.html: Date tweak.
132 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
133 * docs/doxygen/tables.html: Fill in the blanks.
135 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
136 * include/bits/stl_algo.h: Likewise; use expanded form.
137 * include/bits/stl_alloc.h: Likewise.
138 * include/bits/stl_construct.h: Likewise.
139 * include/bits/stl_deque.h: Likewise.
140 * include/bits/stl_iterator_base_types.h: Likewise.
141 * include/bits/stl_list.h: Likewise.
142 * include/bits/stl_relops.h: Likewise.
143 * include/bits/stl_tempbuf.h: Likewise.
144 * include/bits/stl_vector.h: Likewise.
145 * include/std/std_memory.h: Likewise.
147 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
148 * include/bits/stl_list.h: Likewise.
149 * include/bits/stl_vector.h: Likewise.
151 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
153 * include/c/: Guard with _CPP_.
154 * include/c_std/: Same.
155 * include/Makefile.am: Fixup install, link routines for null
156 c_base_headers_extra scenarios.
157 * include/Makefile.in: Regerate.
159 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
160 Richard Henderson <rth@redhat.com>
162 * testsuite/22_locale/codecvt_members_unicode_char.cc
163 (test01, test02): make sure that the i_lit_base array
164 is sufficiently aligned.
166 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
168 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
171 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
173 * testsuite/22_locale/collate_byname.cc
174 (test01): compare the result of collate::compare with
175 that of collate::transform + string::compare, not with
176 that of collate::transform + collate::compare; values
177 returned by collate::compare are normalized, therefore
180 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
181 Jakub Jelinek <jakub@redhat.com>
183 * config/locale/gnu/messages_members.h: Correct conditional.
184 * config/locale/gnu/messages_members.cc: Same.
185 * config/locale/gnu/time_members.cc: Same.
187 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
188 Paolo Carlini <pcarlini@unitus.it>
190 * testsuite/22_locale/codecvt_members_unicode_char.cc
191 (test01, test02): Fix i_lit_base arrays, making them
192 independent from the endianness of the platform.
194 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
196 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
197 signbit and __signbit directly.
198 * aclocal.m4: Regenerate.
199 * configure: Regenerate.
200 * config.h.in: Regenerate.
201 * libmath/Makefile.am: Simplify.
202 * libmath/Makefile.in: Regenerate.
203 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
205 * include/Makefile.am: Clean up handling of extra "C" header files.
206 Add hooks for "C" compatibility headers.
207 * include/Makefile.in: Regenerate.
209 * include/c/*: Formatting tweaks, cleanups.
210 * include/c_std/*: Same.
212 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
214 * config/locale/gnu/messages_members.h: Add __uselocale bits.
215 * config/locale/gnu/messages_members.cc: Same.
216 * config/locale/gnu/time_members.cc: Same.
218 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
220 * src/vterminate.cc: Format, -fno-exceptions cleanup.
222 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
224 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
225 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
226 * aclocal.m4: Regenerate.
227 * configure: Likewise.
229 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
230 Ulrich Drepper <drepper@redhat.com>
232 * src/locale-inst.cc (__convert_from_v): Add an additional
233 __size parameter in the declarations.
234 * include/bits/locale_facets.tcc
235 (__convert_from_v): When available (that is,
236 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
237 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
238 being defined or not, call and use __convert_from_v in the
240 (num_put::_M_convert_int): Same here.
241 (money_put::do_put(long double)): Same here.
243 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
245 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
246 * docs/html/faq/index.txt: Regenerate.
248 2002-03-19 Steve Ellcey <sje@cup.hp.com>
250 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
251 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
252 --enable-libunwind-exceptions is set.
253 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
254 macro to check for libunwind.
255 * configure: Regenerate.
256 * src/Makefile.am (libstdc___la_LDFLAGS): Add
257 LIBUNWIND_FLAG to libstdc link line.
258 * src/Makefile.in: Regenerate.
260 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
262 * docs/html/faq/index.html: Add OS X workaround.
263 * docs/html/17_intro/TODO: Update.
265 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
267 * include/bits/locale_facets.tcc
268 (money_put::do_put(long double)): Fix dimensioning of
269 temporary buffers to avoid risk of overruns.
270 (money_put::do_put(string)): Same for the buffer used to
271 add the grouping chars.
272 * testsuite/22_locale/money_put_members_char.cc: Add test06.
273 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
275 * include/bits/locale_facets.tcc
276 (collate::do_transform): Simplify.
278 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
280 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
281 * configure.in: Add comments pointing the way for autoconf 2.5x.
282 * aclocal.m4, config.h.in, configure: Regenerate.
284 2002-03-18 Philipp Thomas <pthomas@suse.de>
286 * include/backward/hash_map.h: hash, hashtable, hash_map and
287 hash_multimap are in namespace __gnu_cxx.
288 include/backward/hash_set.h: hash, hashtable, hash_set and
289 hash_multiset are in namespace __gnu_cxx.
290 include/backward/hashtable.h: hash and hashtable are in
292 include/backward/rope.h: char_producer, sequence_buffer,
293 rope, crope and wrope are in namespace __gnu_cxx.
294 include/backward/slist.h: slist is in namespace __gnu_cxx.
295 * testsuite/backward/header_hash_map_h.cc
296 testsuite/backward/header_hash_set_h.cc
297 testsuite/backward/header_hashtable_h.cc
298 testsuite/backward/header_rope_h.cc
299 testsuite/backward/header_slist_h.cc
300 testsuite/backward/header_tempbuf_h.cc: New tests for
301 checking that we're using the correct namespace.
303 2002-03-17 Jason Merrill <jason@redhat.com>
306 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
307 (check_exception_spec): Call it. Take the thrown pointer.
308 (__cxa_call_unexpected): Pass it.
309 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
311 2002-03-15 Anthony Green <green@redhat.com>
313 * configure.in: Remove useless is_mingw32.
314 * configure: Rebuilt.
316 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
318 * testsuite/22_locale/collate_members_char.cc
319 (test01): compare the result of collate::compare with
320 that of collate::transform + string::compare, not with
321 that of collate::transform + collate::compare.
322 (test01): values returned by collate::compare are
323 normalized, therefore test against +-1.
324 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
326 2002-03-12 Loren Rittle <ljrittle@acm.org>
328 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
329 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
331 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
332 Per Liboriussen <liborius@stofanet.dk>
334 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
336 * config/os/gnu-linux/bits/ctype_inline.h: Same.
338 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
340 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
341 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
343 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
344 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
346 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
347 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
349 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
351 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
353 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
354 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
355 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
356 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
357 that memory limits are in place.
360 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
362 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
363 * aclocal.m4: Regenerate.
364 * config.h.in: Regenerate.
365 * configure: Regenerate.
366 * include/c_std/std_cwctype.h: Guard.
368 2002-03-11 Chris Demetriou <cgd@broadcom.com>
370 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
371 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
372 * aclocal.m4: Regenerate.
373 * configure: Regenerate.
375 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
377 * include/bits/stl_bvector.h: Fix warning.
379 2002-03-11 Richard Henderson <rth@redhat.com>
381 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
383 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
385 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
386 New function. Build the list of tests to run in testsuite_files.
387 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
389 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
391 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
392 platforms with no weak support.
393 * testsuite/27_io/ios_init.cc: Likewise.
395 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
397 * include/bits/locale_facets.tcc (time_put::do_put):
398 Consider sizeof(char_type) in allocating the buffer.
400 * include/bits/locale_facets.tcc (collate::do_tranform):
401 Remove redundant variable.
403 2002-03-10 Ulrich Drepper <drepper@redhat.com>
404 Paolo Carlini <pcarlini@unitus.it>
406 * config/locale/generic/collate_members.cc
407 (collate<char,wchar_t>::_M_compare_helper): normalize
408 values returned by strcoll and wcscoll.
409 * config/locale/gnu/collate_members.cc
410 (collate<char,wchar_t>::_M_compare_helper): ditto
411 for __strcoll_l and __wcscoll_l.
413 2002-03-10 Anthony Green <green@redhat.com>
415 * configure.in: Support cross builds to mingw32 target.
416 * configure: Rebuilt.
418 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
420 * include/bits/locale_facets.tcc (collate::do_transform):
421 Rewrite to fix problems with long transformed strings.
423 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
425 * c_locale_generic.cc: Move to...
426 * generic/c_locale.cc
427 * c_locale_generic.h: Move to...
429 * codecvt_specializations_generic.h: Move to...
430 * generic/codecvt_specializations.h
431 * collate_members_generic.cc: Move to...
432 * generic/collate_members.cc
433 * ctype_members_generic.cc: Move to...
434 * generic/ctype_members.cc
435 * messages_members_generic.cc: Move to...
436 * generic/messages_members.cc
437 * messages_members_generic.h: Move to...
438 * generic/messages_members.h
439 * moneypunct_members_generic.cc: Move to...
440 * generic/monetary_members.cc
441 * numpunct_members_generic.cc: Move to...
442 * generic/numeric_members.cc
443 * time_members_generic.cc: Move to...
444 * generic/time_members.cc
445 * c_locale_gnu.cc: Move to...
447 * c_locale_gnu.h: Move to...
449 * collate_members_gnu.cc: Move to...
450 * gnu/collate_members.cc
451 * ctype_members_gnu.cc: Move to...
452 * gnu/ctype_members.cc
453 * messages_members_gnu.cc: Move to...
454 * gnu/messages_members.cc
455 * messages_members_gnu.h: Move to...
456 * gnu/messages_members.h
457 * moneypunct_members_gnu.cc: Move to...
458 * gnu/monetary_members.cc
459 * numpunct_members_gnu.cc: Move to...
460 * gnu/numeric_members.cc
461 * time_members_gnu.cc: Move to...
462 * gnu/time_members.cc
463 * c_locale_ieee_1003.1-200x.cc: Move to...
464 * ieee_1003.1-2001/c_locale.cc
465 * c_locale_ieee_1003.1-200x.h: Move to...
466 * ieee_1003.1-2001/c_locale.h
467 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
468 * ieee_1003.1-2001/codecvt_specializations.h
469 * messages_members_ieee_1003.1-200x.cc: Move to...
470 * ieee_1003.1-2001/messages_members.cc
471 * messages_members_ieee_1003.1-200x.h: Move to...
472 * ieee_1003.1-2001/messages_members.h
474 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
475 * aclocal.m4: Regenerate.
476 * configure: Regenerate.
477 * src/Makefile.am (sources): Change to monetary and numeric.
478 * src/Makefile.in: Regenerate.
479 * docs/html/configopts.html: Update to ieee_1003.1-2001.
481 2002-03-08 scott snyder <snyder@fnal.gov>
484 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
485 Allow one more digit of precision.
486 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
487 write a double and read back in the same value.
489 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
491 * include/std/std_limits.h: Move static const data members out of
492 generic template, into base class __numeric_limits_base.
493 * src/limits.cc: Add definitions.
494 * config/linker-map.gnu: Add __numeric_limits_base.
495 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
497 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
499 * include/bits/stl_alloc.h: Add extern implicit allocator
501 * include/bits/basic_string.tcc: Tweak.
502 * include/bits/locale_facets.tcc: Remove default args. Add
503 has_facet, use_facet extern instantiations.
504 * src/stl-inst.cc: Add explicit instantiation.
505 * src/locale-inst.cc: Clean. Remove locale member template
508 * testsuite/22_locale/operators.cc (test02): Enable.
510 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
511 Stephen M. Webb <stephen.webb@bregmasoft.com>
513 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
514 (_S_rb_tree_black): Make enum.
516 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
517 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
518 (__stl_threshold): _M_threshold, enum.
519 * src/stl-inst.cc: Same.
520 * config/linker-map.gnu: Remove.
522 * testsuite/23_containers/vector_bool.cc: New.
524 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
526 * docs/doxygen/user.cfg.in: Also document deprecated entries.
527 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
528 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
529 referring to the collection as a whole. New section on which macros
530 can be redefined by the user.
531 * docs/html/19_diagnostics/howto.html: Update note for concepts.
532 * docs/html/20_util/howto.html: Update link to SGI.
533 * docs/html/faq/index.html: Update snapshot versions. New entry
534 on why g++ (but not gcc) must currently predefine certain macros.
535 * docs/html/faq/index.txt: Regenerated.
537 * include/bits/basic_string.h (basic_string::_S_construct): Fix
538 names in declaration.
539 (basic_string::compare): These are no longer optional.
540 * include/bits/ostream.tcc: Tweak closing brace placement.
541 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
542 * include/std/std_sstream.h: Fix typo in comment.
543 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
544 * src/locale.cc: Likewise.
546 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
549 * include/bits/stl_vector.h (vector::push_back()): Guard with
552 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
554 * include/bits/c++config: Fix misplaced leading blanks on first line.
556 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
558 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
559 * README (libmath): Make clear.
561 2002-03-05 Jakub Jelinek <jakub@redhat.com>
563 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
564 script globbing in ld.
565 * aclocal.m4: Rebuilt.
566 * configure: Rebuilt.
568 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
570 * docs/html/17_intro/RELEASE-NOTES: Update.
571 * README: Format subdirectories.
573 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
576 * include/bits/locale_facets.tcc
577 (num_get::_M_extract_float): Fix the parsing of __dec, since
578 the standard prescribes that if no grouping characters are
579 seen, no grouping check is applied.
580 * testsuite/22_locale/num_get_members_char.cc: Add test05
581 distilled from the PR.
582 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
584 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
586 * docs/html/17_intro/porting-howto.xml: Refer to
587 http://www.oasis-open.org for docbookx.dtd.
588 * docs/html/17_intro/porting-howto.html: Regenerated.
590 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
593 * include/std/std_sstream.h: Remove trailing spaces.
594 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
595 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
597 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
599 * testsuite/22_locale/num_get_members_char.cc (test04):
600 Use a named locale expecting grouping (de_DE).
601 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
603 * testsuite/27_io/ios_manip_basefield.cc (test01):
604 Extend coverage, uniform treatment of hexs and octs.
606 2002-02-28 Richard Henderson <rth@redhat.com>
608 * config/linker-map.gnu: Export operator new with unsigned long,
609 and with std::nothrow_t. Likewise operator delete.
611 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
613 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
614 Admit grouping for octals and hexadecimals too.
615 * testsuite/22_locale/num_get_members_char.cc: Add test04.
616 (test01): Tweak "." -> "," in void* test.
617 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
619 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
620 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
622 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
624 * testsuite/27_io/ios_manip_basefield.cc (test01):
625 Fix for 64 bit machines.
627 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
630 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
632 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
633 (basic_ios::_M_fill_init): New.
634 (basic_ios::fill()): Delay dealing with _M_fill.
636 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
637 (ios_base::_M_call_callbacks): Adjust.
638 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
640 2002-02-26 Loren Rittle <ljrittle@acm.org>
642 * include/Makefile.am (thread_target_headers): Unconditionally
643 stage and install gthr-posix.h.
644 (${target_builddir}/gthr-posix.h): New rule cloned off
645 ${target_builddir}/gthr-default.h.
646 (${target_builddir}/gthr-default.h): Support chained inclusion
647 of gthr support headers.
648 * include/Makefile.in: Rebuilt.
650 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
652 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
653 Group all the integral types, not only decs.
654 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
655 tests, add a few more.
657 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
659 * src/ios.cc (ios_base::~ios_base): Tweak.
660 (ios_base::_M_call_callbacks): Deal with null __p.
661 (ios_base::ios_base): Set _M_callbacks.
662 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
663 * testsuite/27_io/ios_init.cc (test02): Fix.
665 * mkcheck.in (static_fail): Failed links go to output file.
667 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
669 * docs/html/faq/index.html: Update.
670 * docs/html/faq/index.txt: Regenerate.
672 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
674 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
675 * aclocal.m4: Regenerate.
676 * docs/html/configopts.html: Document --enable-symvers.
677 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
679 2002-02-22 Philipp Thomas <pthomas@suse.de>
681 * include/backward/tempbuf.h: get_temporary_buffer and
682 return_temporary_buffer are in namespace std, not in __gnu_cxx.
684 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
686 * configure.in (target_alias): Default to yes.
687 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
688 libgcc to default case.
690 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
692 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
693 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
694 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
695 * aclocal.m4: Regenerate.
696 * configure: Regenerate.
697 * config/linker-map.dummy: New file. Contains nothing useful.
699 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
701 * testsuite/22_locale/money_put_members_char.cc: Fix.
702 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
704 * testsuite/27_io/standard_manipulators.cc: New file.
706 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
707 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
709 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
711 * config/os/mingw32/bits/ctype_noninline.h
712 (ctype<char>::ctype): Remove default args from parm list.
713 * config/os/djgpp/bits/ctype_noninline.h: Same.
715 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
717 * include/std/std_iomanip.h: Inline, tweaks.
718 * config/linker-map.gnu: Remove hacks.
720 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
721 * testsuite/27_io/ios_init.cc: Same.
722 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
723 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
725 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
727 * config/linker-map.gnu: Export global vtable, typeinfo, guard
728 variable, and thunk info as per CXXABI docs.
730 2002-02-19 Loren Rittle <ljrittle@acm.org>
732 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
733 * include/Makefile.in: Rebuilt.
735 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
737 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
738 with size3 for the string collations of str5.
740 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
743 * include/bits/locale_facets.tcc (money_put::do_put):
744 For the space field use __fill instead of ' ', uniformly.
745 * testsuite/22_locale/money_put_members_char.cc:
746 Add test05 distilled from PR.
747 (test01-02-03): Trim some '*' to ' '.
748 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
750 2002-02-18 Loren Rittle <ljrittle@acm.org>
753 * include/Makefile.am (thread_builddir): Remove (map all
754 existing uses to target_builddir).
755 (thread_headers): Rename to...
756 (thread_target_headers): ...this.
757 (stamp-thread): Remove.
758 (stamp-target): Correctly state the position as built.
759 Update all dependencies to match the new reality. Remove all
760 dependency calculations on directories.
761 * include/Makefile.in: Rebuilt.
763 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
765 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
766 * include/bits/fstream.tcc: Same.
767 * include/bits/sstream.tcc: Same.
768 * include/bits/ostream.tcc: Same.
769 * include/bits/istream.tcc: Same.
770 * include/bits/streambuf.tcc: Same.
771 * include/bits/basic_ios.tcc: Same.
772 * include/bits/basic_string.tcc: Same.
774 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
776 * include/std/std_iosfwd.h: Don't guard typedefs with
778 * include/bits/stringfwd.h: Same.
780 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
782 * src/locale.cc (moneypunct_byname): Remove definitions.
783 * include/std/std_streambuf.h (streambuf::operator=): Return.
785 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
788 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
789 explicit instantiation.
790 (string::_Rep::_S_max_size): Same.
791 * include/bits/basic_string.tcc: Add extern explicit
792 instantiations for string, wstring.
793 * include/bits/basic_ios.tcc: Add extern explicit instantiations
795 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
796 * include/bits/istream.tcc: Same, for istream, wistream.
797 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
799 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
800 istringstream, wistringstream, ostringstream, wostringstream,
801 stringstream, wstringstream.
802 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
803 wifstream, ofstream, wofstream, fstream, wfstream.
804 * src/misc-inst.cc: Correct comments.
805 Add iomanip instantiations for wide streams.
806 * include/std/std_iomanip.h: Same.
807 * include/bits/locale_facets.tcc: Same.
809 * include/std/std_streambuf.h: Correct
810 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
811 * include/std/std_sstream.h: Same.
812 * include/std/std_ostream.h: Same.
813 * include/std/std_istream.h: Same.
814 * include/std/std_fstream.h: Same.
816 * include/std/std_streambuf.h: Add definitions for private copy
817 ctor and assignment operator.
818 * include/std/std_istream.h: Remove declared but undefined copy
819 ctor and assignment operator. This is taken care of in ios_base,
820 so adding it in the derived class as well is superfluous.
821 * include/std/std_ostream.h: Same.
823 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
824 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
826 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
828 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
829 Add typeinfo bits. Smooth.
830 * aclocal.m4: Regenerate.
832 * src/Makefile.in: Same.
834 2001-02-14 Joel Sherrill <joel@OARcorp.com>
836 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
837 which do not have a CAS instruction.
839 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
841 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
842 * configure.in: Call it.
843 * config/linker-map.gnu: New file, initial incomplete revision.
844 * src/Makefile.am: Optionally pass version script to the linker.
845 * aclocal.m4: Regenerate.
846 * configure: Regenerate.
847 * src/Makefile.in: Regenerate.
849 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
851 * src/localename.cc: Remove stdexcept include.
852 * src/locale-inst.cc: Same.
853 * src/locale.cc: Same.
854 * src/functexcept.cc: Remove string includes.
855 * include/std/std_bitset.h: Remove stdexcept include.
856 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
857 * testsuite/23_containers/bitset_ctor.cc: Same.
859 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
861 * include/bits/stl_algo (__stl_threshold): Declare external.
862 (__stl_chunk_size): Same.
863 * include/bits/stl_bvector.h (__WORD_BIT): Same.
864 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
865 (_S_rb_tree_black): Same.
866 * src/stl-inst.cc (__stl_threshold): Define.
867 (__stl_chunk_size): Same.
869 (_S_rb_tree_red): Same.
870 (_S_rb_tree_black): Same.
872 * config/io/basic_file_libio.h (__basic_file): Add declarations.
873 * include/bits/basic_file.h: Remove.
874 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
875 Declare generic types, specialization.
876 * config/io/basic_file_stdio.cc: Definitions.
877 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
878 Declare generic types.
879 * include/Makefile.am (bits_headers): Remove basic_file.h.
880 (extra_target_headers): Change basic_file_model.h to basic_file.h.
881 (stamp-target): Same.
883 * include/bits/stl_alloc.h: Tweaks.
884 * include/bits/localefwd.h: Same.
886 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
888 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
889 * testsuite/22_locale/collate_members_char.cc (test03): New test.
890 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
892 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
894 * include/bits/stl_algo.h (transform (both signatures), generate_n):
895 Use __typeof__ in concept checks.
897 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
899 * include/bits/stl_algo.h (__median, for_each, find, find_if,
900 adjacent_find, count, count_if, search, search_n, swap_ranges,
901 transform, replace, replace_if, replace_copy, replace_copy_if,
902 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
903 unique, unique_copy, reverse, reverse_copy): Doxygenate.
905 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
907 * include/bits/locale_facets.h
908 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
909 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
910 (__timepunct<_CharT>::_M_put_helper): Same.
911 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
913 * include/bits/fstream.tcc (filebuf::underflow): Remove
914 __codecvt_type typedef.
915 (filebuf::_M_convert_to_external): Same.
917 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
919 * docs/doxygen/TODO: Update.
920 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
921 * docs/doxygen/mainpage.html: Add TODO list link.
922 * docs/doxygen/user.cfg.in: Add @doctodo hook.
923 * docs/doxygen/tables.html: New file, emoty structure only.
925 * include/bits/stl_iterator.h: Doxygenate just about everything.
926 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
927 * include/bits/stl_iterator_base_types.h: Add notes.
929 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
931 * include/bits/stl_map.h: Tweak doxygen markup.
932 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
933 * include/bits/stl_vector.h: Likewise.
935 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
939 * include/std/std_fstream.h (filebuf::__file_type): Change to
941 (filebuf::_M_convert_to_external): Declare.
942 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
943 codecvt bits for wide streams.
944 (filebuf::_M_really_overflow): Use it.
945 (filebuf::underflow): Use codecvt.
946 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
947 (codecvt<__enc_traits>::do_out): Deal with partial.
948 (codecvt<__enc_traits>::do_encoding): Return something useful.
949 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
951 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
952 Change expected encoding output.
954 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
957 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
958 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
960 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
961 (basic_ios::widen): Same.
963 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
965 * testsuite/22_locale/money_get_members_char.cc:
966 Add comment, tidy up.
967 (test01): more "en_HK" tests (without showbase).
968 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
970 2002-02-06 Loren Rittle <ljrittle@acm.org>
972 * config/locale/c_locale_generic.cc: Do not trust
973 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
976 2002-02-06 Loren Rittle <ljrittle@acm.org>
978 * acinclude.m4: Add C++ linkage check for strtof.
979 * aclocal.m4: Rebuilt.
980 * config.h.in: Rebuilt.
981 * configure: Rebuilt.
982 * config/locale/c_locale_generic.cc: Conditionally include
983 <ieeefp.h>. Improve handling and error checking of float
984 and long double input for non-C99 configurations.
986 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
988 * include/bits/locale_facets.tcc (money_get::do_get(string)):
989 In case money_base::symbol deal properly with multi-char sign
990 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
991 * testsuite/22_locale/money_get_members_char.cc: Add test07.
992 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
994 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
996 * include/bits/locale_facets.tcc (money_get::do_get(string)):
997 First construct a tentative returned string, then, only if the
998 parsing succeeds, copy it into the string passed by reference.
999 * testsuite/22_locale/money_get_members_char.cc: Add test06.
1000 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
1002 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
1004 * docs/doxygen/TODO: Impl-defined behavior now documented...
1005 * docs/html/17_intro/howto.html: ...here.
1006 * docs/doxygen/mainpage.doxy: Remove, rename...
1007 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
1008 * docs/doxygen/style.css: Add small text.
1009 * docs/doxygen/run_doxygen: Adjust for new mainpage.
1010 * docs/doxygen/user.cfg.in: Likewise.
1012 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
1014 * include/bits/stl_map.h: Initial doxygen markup.
1015 * include/std/std_fstream.h: Initial doxygen markup.
1017 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
1020 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1021 Deal correctly with !(__io.flags() & ios_base::showbase)
1022 for case money_base::symbol.
1023 * testsuite/22_locale/money_get_members_char.cc: Add test05.
1024 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
1026 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
1028 * testsuite/22_locale/operators.cc
1029 (gnu_collate::do_compare()): Add return statement to
1030 suppress "no return statement" warning.
1032 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
1034 * testsuite/27_io/ostream_manip.cc: Enable test02.
1036 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
1038 * docs/html/documentation.html: Update for 3.0.96.
1039 * docs/html/faq/index.html: Update for 3.0.96.
1040 * docs/html/faq/index.txt: Regenerated.
1041 * docs/doxygen/TODO: Update notes.
1042 * docs/html/17_intro/howto.html: Initial impl-specific listing.
1044 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
1046 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1047 Initialize all data members in copy ctor. Make ctors explicit.
1048 (__enc_traits::__enc_traits()): Default ctor does nothing.
1049 (__enc_traits::_M_init): Guard against multiple iconv_opens.
1050 * include/std/std_sstream.h (basic_stringbuf): Make data members
1052 * include/std/std_fstream.h (basic_filebuf): Same.
1053 * include/std/std_streambuf.h: Tweak.
1054 * include/bits/streambuf.tcc: Same.
1055 * include/bits/sstream.tcc: Same.
1056 * include/bits/fstream.tcc: Same.
1058 2002-01-31 Loren Rittle <ljrittle@acm.org>
1060 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
1061 allow NULL argument to be passed to setenv().
1062 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1063 * testsuite/22_locale/collate_members_char.cc: Likewise.
1064 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1065 * testsuite/22_locale/ctype_members_char.cc: Likewise.
1066 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
1067 * testsuite/22_locale/messages_members_char.cc: Likewise.
1068 * testsuite/22_locale/money_get_members_char.cc: Likewise.
1069 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1070 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1071 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1072 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
1073 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1074 * testsuite/22_locale/num_get_members_char.cc: Likewise.
1075 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1076 * testsuite/22_locale/num_put_members_char.cc: Likewise.
1077 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1078 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
1079 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1080 * testsuite/22_locale/time_get_members_char.cc: Likewise.
1081 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1082 * testsuite/22_locale/time_put_members_char.cc: Likewise.
1083 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1085 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
1087 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
1089 * ChangeLog-2001: Fix spelling errors...
1090 * docs/html/17_intro/RELEASE-NOTES: Update.
1091 * docs/html/17_intro/TODO: Update.
1092 * README (file): Update.
1094 2002-01-30 Loren Rittle <ljrittle@acm.org>
1096 * config/locale/c_locale_generic.cc: Check errno for ERANGE
1097 instead of non-zero to aid portability.
1099 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1101 * docs/html/22_locale/messages.html: Fix example code.
1103 2002-01-30 Richard Henderson <rth@redhat.com>
1105 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1106 out from test03 and templatize.
1109 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
1111 * config/locale/numpunct_members_gnu.cc
1112 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
1113 Fix initialization of _M_grouping for locales which have
1114 _M_thousands_sep == '\0'(L'\0', respectively).
1115 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
1117 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
1119 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1120 Better fix for 32/64 bit architectures, avoiding the
1121 implicit assumption that CHAR_BIT == 8.
1123 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
1125 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
1126 * Makefile.in: Regenerate.
1128 * docs/doxygen/run_doxygen: Update, mostly for man pages.
1129 * docs/doxygen/Intro.3: Update.
1130 * docs/doxygen/TODO: Update.
1131 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
1132 * docs/doxygen/mainpage.doxy: Update.
1133 * docs/doxygen/user.cfg.in: Update for header rename. Also
1134 regenerate comments and variables with 1.2.12.
1135 * docs/doxygen/maint.cfg.in: Remove file.
1137 * include/bits/stl_relops.h: Doxygenate.
1138 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
1140 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
1141 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
1142 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
1143 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
1144 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
1145 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
1146 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
1147 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
1148 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
1149 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
1150 include/ext/hash_set, include/ext/iterator, include/ext/memory,
1151 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
1152 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
1153 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
1154 include/std/std_algorithm.h, include/std/std_bitset.h,
1155 include/std/std_complex.h, include/std/std_deque.h,
1156 include/std/std_fstream.h, include/std/std_functional.h,
1157 include/std/std_iomanip.h, include/std/std_ios.h,
1158 include/std/std_iosfwd.h, include/std/std_iostream.h,
1159 include/std/std_istream.h, include/std/std_iterator.h,
1160 include/std/std_limits.h, include/std/std_list.h,
1161 include/std/std_locale.h, include/std/std_map.h,
1162 include/std/std_memory.h, include/std/std_numeric.h,
1163 include/std/std_ostream.h, include/std/std_queue.h,
1164 include/std/std_set.h, include/std/std_sstream.h,
1165 include/std/std_stack.h, include/std/std_stdexcept.h,
1166 include/std/std_streambuf.h, include/std/std_string.h,
1167 include/std/std_utility.h, include/std/std_valarray.h,
1168 include/std/std_vector.h: Add/correct @file doxygen hook.
1170 * include/ext/memory: Doxygenate most of rest of file.
1171 * libsupc++/exception: Doxygen output formatting.
1172 * libsupc++/new: Say which header it is.
1174 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
1175 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
1176 * docs/html/23_containers/howto.html: Describe O(n) list::size().
1177 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
1179 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1180 Charles Leggett <CGLeggett@lbl.gov>
1182 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
1184 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1186 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1187 Fix to deal correctly with both 32 bit and 64 bit architectures
1189 2002-01-25 Loren Rittle <ljrittle@acm.org>
1191 * testsuite/thread/pthread1.cc: Use one condition variable
1192 per predicate instead of tricky use of one condition variable.
1194 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
1196 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
1198 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
1199 * testsuite/27_io/filebuf.cc: Compile only.
1200 * testsuite/27_io/filebuf_members.cc: Move tests to here.
1201 * testsuite/27_io/filebuf_virtuals.cc: And here.
1202 Revert sungetc, sync changes for expected values.
1203 * testsuite/27_io/filebuf-*: Move to...
1204 * testsuite/27_io/filebuf_virtuals-*: ...here.
1205 * testsuite/27_io/istream.cc: Compile only, activate.
1206 * testsuite/27_io/ostream.cc: Same.
1207 * testsuite/27_io/iostream.cc: New.
1208 * testsuite/27_io/iostream_members.cc: New.
1210 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
1212 * testsuite/thread/pthread1.cc: Enable on cygwin.
1213 * testsuite/thread/pthread2.cc: Likewise.
1214 * testsuite/thread/pthread3.cc: Likewise.
1215 * testsuite/thread/pthread4.cc: Likewise.
1216 * testsuite/thread/pthread5.cc: Likewise.
1217 * testsuite/thread/pthread6.cc: Likewise.
1219 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1221 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
1223 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1225 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1227 (basic_ios::fill(char_type)): Use fill().
1228 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1229 (basic_ios::narrow): Same.
1230 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1231 if they are invalid.
1232 (basic_ios::init): Comment.
1233 * testsuite/27_io/ios_init.cc (test02): New.
1235 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
1237 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
1238 * include/bits/stl_algo.h: Include stl_tempbuf.h.
1239 * include/ext/memory: Do not include stl_tempbuf.h.
1240 (temporary_buffer): Add doxygen hook.
1241 (__get_temporary_buffer, get_temporary_buffer,
1242 return_temporary_buffer): Move back to std:: header...
1243 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
1244 * include/ext/rope: Do not include stl_tempbuf.h.
1245 * include/ext/stl_hashtable.h: Likewise.
1246 * include/std/std_algorithm.h: Likewise.
1247 * testsuite/20_util/temporary_buffer.cc: New file.
1249 2002-01-24 andrew@andypo.net
1250 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
1253 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1254 * include/bits/localefwd.h: Likewise.
1255 Also use for std::locale::id::_S_highwater.
1256 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1257 * src/locale.cc: Support new usage of _Atomic_word.
1258 (std::locale::classic): Guard entire function against reentry.
1259 * src/localename.cc: Support new usage of _Atomic_word.
1261 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1263 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1264 _GLIBCPP_HAVE_SETENV.
1265 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1266 * testsuite/22_locale/collate_members_char.cc (test02): Same.
1267 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1268 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1269 * testsuite/22_locale/messages_members_char.cc (test02): Same.
1270 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1271 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1272 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1273 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1274 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1275 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1276 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1277 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1278 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1279 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1280 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1281 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1282 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1283 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1284 * aclocal.m4: Regenerate.
1285 * configure: Regenerate.
1286 * config.h.in: Regenerate.
1288 2002-01-23 Loren Rittle <ljrittle@acm.org>
1290 * testsuite/thread/pthread1.cc: New test.
1291 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1292 * testsuite/thread/pthread3.cc: Likewise.
1293 * testsuite/thread/pthread4.cc: New test adapted from
1294 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1295 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1296 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1298 2002-01-23 Richard Henderson <rth@redhat.com>
1301 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1302 CAS on the cpu variants that support it. Add versions that use
1303 TAS and that disable interrupts.
1304 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1306 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
1308 * include/bits/locale_facets.tcc: Remove old comments.
1310 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
1312 * include/bits/locale_facets.tcc (__convert_to_v): Change template
1314 (__convert_from_v): Same.
1316 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
1318 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1320 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1321 __max_digits checks, adjust arguments.
1322 (num_get::do_get(*)): Changeup.
1324 2002-01-23 Loren Rittle <ljrittle@acm.org>
1326 * config/locale/c_locale_generic.cc: Fix typename usage.
1328 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1330 * config/locale/c_locale_generic.cc: Fix.
1332 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1334 * docs/html/22_locale/messages.html: Remove angle brackets.
1335 * docs/html/17_intro/TODO: Add.
1337 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
1339 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1340 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1341 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1342 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1344 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1346 Audit for LANG independence.
1347 * include/bits/localefwd.h: Tweaks.
1348 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1350 (time_get::do_get_year): Same.
1351 (__convert_from_v): Add.
1352 (num_put::_M_convert_float): Use.
1353 (num_put::_M_convert_int): Same.
1354 (money_put::do_put): Same.
1356 * src/locale-inst.cc: Add instantiations for __convert_from_v.
1357 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1358 * config/locale/time_members_generic.cc:
1359 * config/locale/messages_members_gnu.cc: Same.
1360 * config/locale/messages_members_gnu.h: Same.
1362 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1363 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1364 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1365 * testsuite/22_locale/collate_members_char.cc (test02): New.
1366 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1367 * testsuite/22_locale/ctype_members_char.cc (test03): New.
1368 * testsuite/22_locale/messages_members_char.cc (test02): New.
1369 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1370 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1371 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1372 * testsuite/22_locale/money_get_members_char.cc (test04): New.
1373 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1374 * testsuite/22_locale/money_put_members_char.cc (test04): New.
1375 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1376 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1377 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1378 * testsuite/22_locale/time_put_members_char.cc (test03): New.
1379 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1380 * testsuite/22_locale/time_get_members_char.cc (test07): New.
1381 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1382 * testsuite/22_locale/num_get_members_char.cc (test03): New.
1383 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1384 * testsuite/22_locale/num_put_members_char.cc (test03): New.
1386 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1388 * testsuite/22_locale/time_get_members_char.cc: Same.
1390 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1393 * include/bits/localefwd.h: Tweak comments.
1394 * include/bits/locale_facets.h (__convert_to_v): Add.
1395 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1396 (num_get::do_get(float)): Same.
1397 (num_get::do_get(long double)): Same.
1398 (num_get::do_get(bool)): Same.
1399 (num_get::do_get(long)): Same.
1400 (num_get::do_get(long long)): Same.
1401 (num_get::do_get(unsigned int)): Same.
1402 (num_get::do_get(unsigned short)): Same.
1403 (num_get::do_get(unsigned long)): Same.
1404 (num_get::do_get(unsigned long long)): Same.
1405 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1406 * config/locale/c_locale_generic.cc: Same.
1408 2002-01-22 Loren Rittle <ljrittle@acm.org>
1410 * include/Makefile.am (c_base_builddir): Remove redundant slash.
1411 (std_builddir): Likewise.
1412 (std_headers_rename): Fix cut-n-paste typo.
1413 (install-data-local): Concat path per element instead of once to
1414 first element of list.
1415 * include/Makefile.in: Rebuilt.
1417 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1419 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1420 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1421 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1423 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
1425 * include/bits/locale_facets.h (ctype<char>::classic_table):
1427 (ctype<char>::_S_ctable): Remove.
1428 * config/os/gnu-linux/bits/ctype_noninline.h
1429 (ctype<char>::_S_table): Remove definition.
1430 (ctype<char>::classic_table): Define.
1431 (ctype<char>::ctype): Replace _S_ctable with classic_table().
1432 * config/os/aix/bits/ctype_noninline.h: Same.
1433 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1434 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1435 * config/os/djgpp/bits/ctype_noninline.h: Same.
1436 * config/os/generic/bits/ctype_noninline.h: Same.
1437 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1438 * config/os/hpux/bits/ctype_noninline.h: Same.
1439 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1440 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1441 * config/os/mingw32/bits/ctype_noninline.h: Same.
1442 * config/os/newlib/bits/ctype_noninline.h: Same.
1443 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1444 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1445 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1447 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1449 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1450 of _pctype. Use to define _S_ctable. Add definition for alternate
1451 ctor. Initialise _M_ctable to _S_ctable in ctors.
1452 (do_toupper, do_tolower): Use inline code appropriate for C-locale
1453 rather than ::toupper, ::tolower.
1455 2002-01-18 Loren Rittle <ljrittle@acm.org>
1457 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1458 Add specialization for FreeBSD systems only to avoid losing test
1459 only due to extra precision unmentioned in system headers.
1461 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
1463 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1465 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1467 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
1468 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1470 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1472 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1474 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1476 * configure.target: Define OPT_LDFLAGS for AIX case.
1478 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1480 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1481 __glibcpp_double_has_quiet_NaN): Correct mispelling.
1483 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
1485 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1487 2002-01-16 David Edelsohn <dje@watson.ibm.com>
1489 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1490 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
1491 * aclocal.m4: Regenerate.
1492 * configure: Regenerate.
1494 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1496 * include/Makefile.am (c_base_headers_rename): New.
1497 (c_base_headers_extra): New.
1498 (stamp-c_base): Modify.
1499 (install-data-local): Use both.
1500 * include/Makefile.in: Regenerate.
1501 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1502 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1503 cstdio ctime cwctype]: Move to..
1504 * include/c/std_*: Here.
1505 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1506 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1507 cstdio ctime cwctype]: Move to..
1508 * include/c_std/std_*: Here.
1510 Alexandre Oliva <aoliva@redhat.com>
1511 * include/Makefile.am (.PRECIOUS): Add rule.
1512 * include/Makefile.in: Regenerate.
1514 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1515 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1517 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1518 Deuglify, should be current.
1519 (back_insert_iterator::_M_container): Deuglify, should be container.
1520 (front_insert_iterator::_M_container): Same.
1521 (insert_iterator::_M_container): Same.
1522 * testsuite/24_iterators/reverse_iterator.cc: Add check.
1523 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1524 * testsuite/24_iterators/front_insert_iterator.cc: Same.
1525 * testsuite/24_iterators/insert_iterator.cc: Same.
1527 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1529 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1531 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1532 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1533 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1534 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1535 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1536 * config/os/newlib/bits/ctype_noninline.h: Same.
1537 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1538 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1539 * config/os/hpux/bits/ctype_noninline.h: Same.
1540 * config/os/djgpp/bits/ctype_noninline.h: Same.
1541 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1542 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1543 * config/os/aix/bits/ctype_noninline.h: Same.
1545 Testcase by Dietmar Kühl via Peter Schmid
1546 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1549 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1551 * libmath/signbitl.c: Copyright years as list, not range.
1552 * libmath/Makefile.am: Same.
1553 * libmath/Makefie.in: Regenerate.
1554 * libmath/signbit.c: Same.
1555 * libmath/nan.c: Same.
1556 * libmath/copysignf.c: Same.
1557 * libmath/signbitf.c: Same.
1558 * testsuite/22_locale/money_get_members_char.cc: Same.
1559 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1560 * testsuite/22_locale/money_put_members_char.cc: Same.
1561 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1562 * testsuite/22_locale/time_get_members_char.cc: Same.
1563 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1564 * testsuite/22_locale/time_put_members_char.cc: Same.
1565 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1566 * testsuite/21_strings/nonmember.cc: Same.
1567 * testsuite/21_strings/compare.cc: Same.
1568 * testsuite/27_io/stringstream.cc: Same.
1569 * testsuite/27_io/stringbuf.cc: Same.
1570 * testsuite/27_io/filebuf.cc: Same.
1571 * testsuite/27_io/ios_manip_basefield.cc: Same.
1572 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1573 * include/bits/cpp_type_traits.h: Same.
1574 * include/bits/generic_shadow.h: Same.
1575 * include/bits/gslice_array.h: Same.
1576 * include/bits/gslice.h: Same.
1577 * include/bits/indirect_array.h: Same.
1578 * include/bits/slice_array.h: Same.
1579 * include/bits/sstream.tcc: Same.
1580 * include/bits/streambuf_iterator.h: Same.
1581 * include/bits/valarray_array.tcc: Same.
1582 * include/bits/valarray_meta.h: Same.
1583 * include/bits/valarray_array.h: Same.
1584 * config/os/mingw32/bits/ctype_noninline.h: Same.
1585 * config/os/mingw32/bits/ctype_base.h: Same.
1586 * config/os/hpux/bits/ctype_noninline.h: Same.
1587 * config/os/hpux/bits/ctype_base.h: Same.
1588 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1589 * config/os/gnu-linux/bits/ctype_base.h: Same.
1590 * config/os/generic/bits/ctype_noninline.h: Same.
1591 * config/os/generic/bits/ctype_base.h: Same.
1593 * libsupc++/tinfo.h: Tweaks.
1595 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1597 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1598 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1599 * testsuite/22_locale/ctype_members_char.cc: Tweak.
1601 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1603 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1604 (num_put::do_put(void*)): Fix.
1605 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1606 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1607 * testsuite/22_locale/num_get_members_char.cc (test02): Add
1608 long double, void, bool types.
1609 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1611 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1612 Alexandre Oliva <aoliva@redhat.com>
1614 * libmath/Makefile.am (LINK): Add --tag CC.
1615 * libmath/Makefile.in: Regenerate.
1617 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1619 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1620 of character to attribute mapping table.
1622 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
1624 * testsuite/26_numerics/c99_classification_macros_c.cc
1625 Remove dg-error and dg-excess-errors comments.
1627 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
1629 * include/bits/locale_facets.tcc (time_put::put): Correct output
1631 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1632 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1633 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1634 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1636 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
1638 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1640 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
1641 Nathan Myers <ncm@cantrip.org>
1643 * include/bits/basic_string.h
1644 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1645 temporaries (i.e., call _M_replace_safe) when possible.
1646 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1647 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1648 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1649 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1650 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1651 * include/bits/basic_string.tcc
1652 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1653 replace(__pos, __n1, __s, __n2).
1654 * testsuite/21_strings/replace.cc (test03): New testcases.
1656 * include/bits/basic_string.h (insert(__pos, __s, __n)):
1657 Adjust comparison wrt overflow.
1659 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1661 * include/Makefile.am (std_headers_rename): New variable.
1662 (install-data-local): Use it.
1663 * include/Makefile.in: Regenerate.
1665 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1667 * include/bits/locale_facets.tcc (money_put::do_put(string):
1668 Correct output iterator value.
1669 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1670 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1672 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1674 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
1677 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1679 * include/Makefile.am (std_headers): Update list with new names.
1680 (stamp-std): Link to standardized name.
1681 * include/Makefile.in: Regenerate.
1683 * include/std/algorithm, include/std/bitset, include/std/complex,
1684 include/std/deque, include/std/fstream, include/std/functional,
1685 include/std/iomanip, include/std/ios, include/std/iosfwd,
1686 include/std/iostream, include/std/istream, include/std/iterator,
1687 include/std/limits, include/std/list, include/std/locale,
1688 include/std/map, include/std/memory, include/std/numeric,
1689 include/std/ostream, include/std/queue, include/std/set,
1690 include/std/sstream, include/std/stack, include/std/stdexcept,
1691 include/std/streambuf, include/std/string, include/std/utility,
1692 include/std/valarray, include/std/vector: Rename to...
1694 * include/std/std_algorithm.h, include/std/std_bitset.h,
1695 include/std/std_complex.h, include/std/std_deque.h,
1696 include/std/std_fstream.h, include/std/std_functional.h,
1697 include/std/std_iomanip.h, include/std/std_ios.h,
1698 include/std/std_iosfwd.h, include/std/std_iostream.h,
1699 include/std/std_istream.h, include/std/std_iterator.h,
1700 include/std/std_limits.h, include/std/std_list.h,
1701 include/std/std_locale.h, include/std/std_map.h,
1702 include/std/std_memory.h, include/std/std_numeric.h,
1703 include/std/std_ostream.h, include/std/std_queue.h,
1704 include/std/std_set.h, include/std/std_sstream.h,
1705 include/std/std_stack.h, include/std/std_stdexcept.h,
1706 include/std/std_streambuf.h, include/std/std_string.h,
1707 include/std/std_utility.h, include/std/std_valarray.h,
1708 include/std/std_vector.h: ...this.
1710 2002-01-11 Loren Rittle <ljrittle@acm.org>
1712 * include/Makefile.am (extra_target_headers): New list of all
1713 target files built with ad hoc naming rules.
1714 (stamp-*): Handle LN_S failure in manner portable across make
1716 (install-data-local): Install header files from human-maintained
1717 file lists and directory components instead of non-robust find.
1718 * include/Makefile.in: Rebuilt.
1720 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
1722 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1723 Check for zero-length negative sign before adding it to output
1725 (money_get::do_get(long double)): Return beg.
1726 * testsuite/22_locale/money_get_members_char.cc (test02): Add
1728 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1730 2002-01-10 David Seymour <seymour_dj@yahoo.com>
1733 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1734 for _M_extract_float and _M_extract_int
1735 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1736 (num_get<>::_M_extract_int): Likewise, all callers changed
1737 * testsuite/22_locale/num_get_members_char.cc: Testcase
1739 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1741 * libsupc++/exception (bad_exception): Add comment.
1742 * libsupc++/new (bad_alloc): Same.
1743 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1745 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1747 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1748 that the destructors should be removed from the descriptions
1749 in the standard: writing them explicitly allows the vtable
1750 heuristic to work. For additional information see:
1751 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1752 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1753 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1754 * libsupc++/exception (bad_exception::~bad_exception()):
1755 Reintroduce declaration.
1756 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1757 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1758 (bad_typeid::~bad_typeid()): Same.
1759 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1760 Reintroduce definition.
1761 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1762 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1763 (bad_typeid::~bad_typeid()): Same.
1765 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
1767 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1768 * include/Makefile.in: Regenerate.
1770 2002-01-09 Bo Thorsen <bo@suse.co.uk>
1772 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1775 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
1779 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1780 return value of _M_file->sync().
1781 (filebuf::showmanyc): Check for is_open.
1782 * include/std/fstream (filebuf::sync): Tweak.
1783 * testsuite/27_io/filebuf.cc: Tweak.
1785 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
1786 Brad Garcia <garsh@attbi.com>
1788 * testsuite/27_io/filebuf_members.cc: Add test.
1790 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
1791 Craig Rodrigues <rodrigc@mediaone.net>
1794 * po/Makefile.am (mkinstalldirs): Add.
1795 * po/Makefile.in: Regenerate.
1797 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
1799 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1800 testsuite/lib/prune.exp: Delete lines ":In function ..." from
1802 * testsuite/23_containers/map_operators.cc: Remove
1803 dg-excess-errors comment.
1804 * testsuite/23_containers/set_operators.cc: Likewise.
1806 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
1808 * include/bits/stl_function.h: Remove two lines of comments;
1809 adjust copyright years.
1811 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
1813 * include/Makefile.am (std_headers): Remove cXXX from list.
1814 (c_base_srcdir): No bits subdirectory.
1815 (c_base_builddir): Same.
1816 (c_base_headers): Adjust names, add ciso646.
1817 (bits_headers): Remove std_xxx.h headers.
1818 * include/Makefile.in: Regenerate.
1820 * include/ext/iterator: Adjust includes.
1821 * include/ext/ropeimpl.h: Same.
1822 * include/ext/stl_hash_fun.h: Same.
1823 * include/ext/algorithm: Same.
1825 * include/backward/bvector.h: Adjust includes.
1826 * include/backward/vector.h: Same.
1827 * include/backward/strstream: Same.
1828 * include/backward/streambuf.h: Same.
1829 * include/backward/stack.h: Same.
1830 * include/backward/set.h: Same.
1831 * include/backward/queue.h: Same.
1832 * include/backward/multiset.h: Same.
1833 * include/backward/multimap.h: Same.
1834 * include/backward/map.h: Same.
1835 * include/backward/list.h: Same.
1836 * include/backward/iterator.h: Same.
1837 * include/backward/iostream.h: Same.
1838 * include/backward/iomanip.h: Same.
1839 * include/backward/fstream.h: Same.
1840 * include/backward/deque.h: Same.
1841 * include/backward/complex.h: Same.
1843 * include/bits/std_algorithm.h: Move to...
1844 * include/std/algorithm: ...here.
1845 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1846 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1847 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1848 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1849 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1850 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1851 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1854 * include/c_std/bits/std_cassert.h: Move to...
1855 * include/c_std/cassert: Here.
1856 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1857 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1858 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1859 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1860 std_cwctype.h: Same.
1861 * include/c_std/cmath: Adjust cmath.tcc include.
1862 * include/c_std/cstdlib: Adjust includes.
1863 * include/c_std/cwchar: Same.
1864 * include/c_std/ctime: Same.
1865 * include/c_std/cstring: Same.
1866 * include/c_std/cstdio: Same.
1867 * include/c_std/bits: Remove directory.
1869 * include/c/bits/std_cassert.h: Move to...
1870 * include/c/cassert: Here.
1871 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1872 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1873 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1874 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1875 std_cwctype.h: Same.
1876 * include/c/bits: Remove directory.
1878 * include/std/cwctype: Remove.
1879 * include/std/cwchar: Remove.
1880 * include/std/ctime: Remove.
1881 * include/std/cstring: Remove.
1882 * include/std/cstdlib: Remove.
1883 * include/std/cstdio: Remove.
1884 * include/std/cstddef: Remove.
1885 * include/std/cstdarg: Remove.
1886 * include/std/csignal: Remove.
1887 * include/std/csetjmp: Remove.
1888 * include/std/cmath: Remove.
1889 * include/std/clocale: Remove.
1890 * include/std/climits: Remove.
1891 * include/std/ciso646: Remove.
1892 * include/std/cfloat: Remove.
1893 * include/std/cerrno: Remove.
1894 * include/std/cctype: Remove.
1895 * include/std/cassert: Remove.
1897 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1898 files and subsituting <xxx>.
1899 * include/bits/valarray_array.h: Same.
1900 * include/bits/stl_uninitialized.h: Same.
1901 * include/bits/stl_alloc.h: Same.
1902 * include/bits/stl_algobase.h: Same.
1903 * include/bits/sstream.tcc: Same.
1904 * include/bits/pthread_allocimpl.h: Same.
1905 * include/bits/ostream.tcc: Same.
1906 * include/bits/localefwd.h: Same.
1907 * include/bits/locale_facets.tcc: Same.
1908 * include/bits/locale_facets.h: Same.
1909 * include/bits/istream.tcc: Same.
1910 * include/bits/char_traits.h: Same.
1911 * include/bits/boost_concept_check.h: Same.
1912 * include/bits/basic_file.h: Same.
1913 * include/std/bitset: Same.
1914 * include/std/complex: Same.
1915 * include/std/fstream: Same.
1916 * include/std/functional: Same.
1917 * include/std/ios: Same.
1918 * include/std/iostream: Same.
1919 * include/std/ostream: Same.
1920 * include/std/sstream: Same.
1921 * include/std/streambuf: Same.
1922 * include/std/string: Same.
1923 * include/std/iterator: Same.
1924 * include/std/valarray: Same.
1926 * src/ios.cc: Adjust includes.
1927 * src/valarray-inst.cc: Same.
1928 * src/string-inst.cc: Same.
1929 * src/stl-inst.cc: Same.
1930 * src/stdexcept.cc: Same.
1931 * src/misc-inst.cc: Same.
1932 * src/localename.cc: Same.
1933 * src/locale-inst.cc: Same.
1934 * src/locale.cc: Same.
1935 * src/limits.cc: Same.
1936 * src/concept-inst.cc: Same.
1937 * src/complex_io.cc: Same.
1938 * src/codecvt.cc: Same.
1939 * src/bitset.cc: Same.
1940 * src/cmath.cc: Same.
1942 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
1944 * include/bits/stl_tree.h (rb_tree): Move to...
1945 * include/ext/rb_tree: ...here, new file.
1946 * include/Makefile.am (ext_headers): Add new file.
1947 * include/Makefile.in: Regenerate.
1948 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1949 return_temporary_buffer, struct temporary_buffer): Move to...
1950 * include/ext/memory: ...here.
1951 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
1952 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
1953 * include/backward/tree.h: Include <ext/rb_tree), tweak.
1955 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
1957 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
1958 * include/ext/numeric: ...here, new file.
1959 * include/bits/stl_function.h (identity_element, unary_compose,
1960 binary_compose, compose1, compose2, identity, select1st,
1961 select2nd, project1st + helper, project2nd + helper,
1962 constant_void_fun + helper, constant_unary_fun + helper,
1963 costant_binary_fun + helper, constant0, constant1, constant2,
1964 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
1965 * include/ext/functional: ...here, new file.
1966 * include/Makefile.am (ext_headers): Add new files.
1967 * include/Makefile.in: Regenerate.
1968 * testsuite/ext/headers.cc: Include <ext/numeric> and
1970 * include/backward/algo.h: Include <ext/numeric>, tweak.
1971 * include/backward/function.h: Include <ext/functional>, tweak.
1972 * include/ext/ropeimpl.h: Include <ext/numeric>.
1974 2002-01-03 Jeffrey A Law <law@redhat.com>
1976 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1977 __strtoull declarations with __extension__.
1979 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
1981 * testsuite/lib/prune.exp: Correct regular expression for
1984 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1986 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1987 Change concept checks, as with lower_bound and PR 2054.
1988 * testsuite/ext/concept_checks.cc: Expand test to include those.
1990 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1992 * include/bits/boost_concept_check.h: Import some changes from
1993 upsteam (Boost) version.
1995 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
1997 * include/bits/stl_algobase.h (copy_n + helpers,
1998 lexicographical_compare_3way + helpers): Move to...
1999 * include/ext/algorithm: ...here.
2000 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
2001 helpers): Move to...
2002 * include/ext/memory: ...here, new file.
2003 * include/Makefile.am (ext_headers): Add new file.
2004 * include/Makefile.in: Regenerate.
2005 * testsuite/ext/headers.cc: Include <ext/memory>.
2006 * include/backward/algobase.h: Include <ext/memory> and
2007 <ext/algorithm>, tweak.
2008 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
2009 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
2011 2002-01-01 Roger Sayle <roger@eyesopen.com>
2013 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
2014 equivalent ___builtin__ versions.
2016 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
2017 are available in libstdc++ as the necessary stub implementations
2018 are provided by libmath/stubs.c.
2020 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
2022 * configure.in: Add support for NetBSD cross compiles.
2023 * configure: Regenerate.