1 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
4 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
5 (basic_ios::_M_streambuf_state): Move.
6 * include/bits/ios_base (ios_base): To here.
7 * include/bits/ios_base.h (ios_base::_S_local_words): To
9 (ios_base::_M_word_array): To _M_local_word.
10 (ios_base::_M_words_limit): To _M_word_size.
11 (ios_base::_M_words): To _M_word.
13 * include/bits/basic_ios.tcc: Adjust.
14 * src/ios.cc (ios_base::_M_grow_words): Tweak.
15 * testsuite/27_io/ios_base_storage.cc: Add tests.
18 Kenny Simpson <theonetruekenny@yahoo.com>
19 * include/bits/ios_base.h: Fix.
21 Richard Henderson <rth@redhat.com>
22 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
25 * include/bits/basic_string.h: Tweak formatting.
27 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
29 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
30 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
31 By definition, sizeof(char) == 1.
32 * include/bits/locale_facets.tcc (money_get::do_get,
33 money_put::do_put): Ditto.
34 * testsuite/21_strings/inserters_extractors.cc
37 2002-03-30 Richard Henderson <rth@redhat.com>
40 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
41 data out of the exception struct before calling unexpectedHandler.
43 2002-03-28 Roger Sayle <roger@eyesopen.com>
45 * include/c_std/std_cmath.h: To prevent problems overloading
46 g++ builtins, use the double variants from the global namespace
47 before defining float and long double variants in std::.
49 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
51 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
53 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
55 * testsuite/24_iterators/istream_iterator.cc
58 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59 Paolo Carlini <pcarlini@unitus.it>
61 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
62 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
63 fix i_lit_base e_lit_base arrays, making them independent
64 from the endianness of the platform; tweak UCS4 to UCS-4BE.
66 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
68 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
69 allocate at least a byte.
71 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
73 * testsuite/27_io/streambuf.cc (test07): Fix.
76 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
78 * docs/doxygen/Intro.3: Date tweak.
79 * docs/doxygen/TODO: Update.
80 * docs/doxygen/doxygroups.cc: Point to tables.html.
81 * docs/doxygen/mainpage.html: Date tweak.
82 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
83 * docs/doxygen/tables.html: Fill in the blanks.
85 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
86 * include/bits/stl_algo.h: Likewise; use expanded form.
87 * include/bits/stl_alloc.h: Likewise.
88 * include/bits/stl_construct.h: Likewise.
89 * include/bits/stl_deque.h: Likewise.
90 * include/bits/stl_iterator_base_types.h: Likewise.
91 * include/bits/stl_list.h: Likewise.
92 * include/bits/stl_relops.h: Likewise.
93 * include/bits/stl_tempbuf.h: Likewise.
94 * include/bits/stl_vector.h: Likewise.
95 * include/std/std_memory.h: Likewise.
97 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
98 * include/bits/stl_list.h: Likewise.
99 * include/bits/stl_vector.h: Likewise.
101 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
103 * include/c/: Guard with _CPP_.
104 * include/c_std/: Same.
105 * include/Makefile.am: Fixup install, link routines for null
106 c_base_headers_extra scenarios.
107 * include/Makefile.in: Regerate.
109 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
110 Richard Henderson <rth@redhat.com>
112 * testsuite/22_locale/codecvt_members_unicode_char.cc
113 (test01, test02): make sure that the i_lit_base array
114 is sufficiently aligned.
116 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
118 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
121 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
123 * testsuite/22_locale/collate_byname.cc
124 (test01): compare the result of collate::compare with
125 that of collate::transform + string::compare, not with
126 that of collate::transform + collate::compare; values
127 returned by collate::compare are normalized, therefore
130 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
131 Jakub Jelinek <jakub@redhat.com>
133 * config/locale/gnu/messages_members.h: Correct conditional.
134 * config/locale/gnu/messages_members.cc: Same.
135 * config/locale/gnu/time_members.cc: Same.
137 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
138 Paolo Carlini <pcarlini@unitus.it>
140 * testsuite/22_locale/codecvt_members_unicode_char.cc
141 (test01, test02): Fix i_lit_base arrays, making them
142 independent from the endianness of the platform.
144 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
146 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
147 signbit and __signbit directly.
148 * aclocal.m4: Regenerate.
149 * configure: Regenerate.
150 * config.h.in: Regenerate.
151 * libmath/Makefile.am: Simplify.
152 * libmath/Makefile.in: Regenerate.
153 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
155 * include/Makefile.am: Clean up handling of extra "C" header files.
156 Add hooks for "C" compatibility headers.
157 * include/Makefile.in: Regenerate.
159 * include/c/*: Formatting tweaks, cleanups.
160 * include/c_std/*: Same.
162 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
164 * config/locale/gnu/messages_members.h: Add __uselocale bits.
165 * config/locale/gnu/messages_members.cc: Same.
166 * config/locale/gnu/time_members.cc: Same.
168 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
170 * src/vterminate.cc: Format, -fno-exceptions cleanup.
172 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
174 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
175 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
176 * aclocal.m4: Regenerate.
177 * configure: Likewise.
179 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
180 Ulrich Drepper <drepper@redhat.com>
182 * src/locale-inst.cc (__convert_from_v): Add an additional
183 __size parameter in the declarations.
184 * include/bits/locale_facets.tcc
185 (__convert_from_v): When available (that is,
186 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
187 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
188 being defined or not, call and use __convert_from_v in the
190 (num_put::_M_convert_int): Same here.
191 (money_put::do_put(long double)): Same here.
193 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
195 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
196 * docs/html/faq/index.txt: Regenerate.
198 2002-03-19 Steve Ellcey <sje@cup.hp.com>
200 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
201 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
202 --enable-libunwind-exceptions is set.
203 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
204 macro to check for libunwind.
205 * configure: Regenerate.
206 * src/Makefile.am (libstdc___la_LDFLAGS): Add
207 LIBUNWIND_FLAG to libstdc link line.
208 * src/Makefile.in: Regenerate.
210 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
212 * docs/html/faq/index.html: Add OS X workaround.
213 * docs/html/17_intro/TODO: Update.
215 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
217 * include/bits/locale_facets.tcc
218 (money_put::do_put(long double)): Fix dimensioning of
219 temporary buffers to avoid risk of overruns.
220 (money_put::do_put(string)): Same for the buffer used to
221 add the grouping chars.
222 * testsuite/22_locale/money_put_members_char.cc: Add test06.
223 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
225 * include/bits/locale_facets.tcc
226 (collate::do_transform): Simplify.
228 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
230 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
231 * configure.in: Add comments pointing the way for autoconf 2.5x.
232 * aclocal.m4, config.h.in, configure: Regenerate.
234 2002-03-18 Philipp Thomas <pthomas@suse.de>
236 * include/backward/hash_map.h: hash, hashtable, hash_map and
237 hash_multimap are in namespace __gnu_cxx.
238 include/backward/hash_set.h: hash, hashtable, hash_set and
239 hash_multiset are in namespace __gnu_cxx.
240 include/backward/hashtable.h: hash and hashtable are in
242 include/backward/rope.h: char_producer, sequence_buffer,
243 rope, crope and wrope are in namespace __gnu_cxx.
244 include/backward/slist.h: slist is in namespace __gnu_cxx.
245 * testsuite/backward/header_hash_map_h.cc
246 testsuite/backward/header_hash_set_h.cc
247 testsuite/backward/header_hashtable_h.cc
248 testsuite/backward/header_rope_h.cc
249 testsuite/backward/header_slist_h.cc
250 testsuite/backward/header_tempbuf_h.cc: New tests for
251 checking that we're using the correct namespace.
253 2002-03-17 Jason Merrill <jason@redhat.com>
256 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
257 (check_exception_spec): Call it. Take the thrown pointer.
258 (__cxa_call_unexpected): Pass it.
259 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
261 2002-03-15 Anthony Green <green@redhat.com>
263 * configure.in: Remove useless is_mingw32.
264 * configure: Rebuilt.
266 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
268 * testsuite/22_locale/collate_members_char.cc
269 (test01): compare the result of collate::compare with
270 that of collate::transform + string::compare, not with
271 that of collate::transform + collate::compare.
272 (test01): values returned by collate::compare are
273 normalized, therefore test against +-1.
274 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
276 2002-03-12 Loren Rittle <ljrittle@acm.org>
278 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
279 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
281 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
282 Per Liboriussen <liborius@stofanet.dk>
284 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
286 * config/os/gnu-linux/bits/ctype_inline.h: Same.
288 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
290 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
291 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
293 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
294 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
296 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
297 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
299 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
301 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
303 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
304 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
305 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
306 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
307 that memory limits are in place.
310 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
312 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
313 * aclocal.m4: Regenerate.
314 * config.h.in: Regenerate.
315 * configure: Regenerate.
316 * include/c_std/std_cwctype.h: Guard.
318 2002-03-11 Chris Demetriou <cgd@broadcom.com>
320 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
321 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
322 * aclocal.m4: Regenerate.
323 * configure: Regenerate.
325 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
327 * include/bits/stl_bvector.h: Fix warning.
329 2002-03-11 Richard Henderson <rth@redhat.com>
331 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
333 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
335 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
336 New function. Build the list of tests to run in testsuite_files.
337 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
339 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
341 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
342 platforms with no weak support.
343 * testsuite/27_io/ios_init.cc: Likewise.
345 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
347 * include/bits/locale_facets.tcc (time_put::do_put):
348 Consider sizeof(char_type) in allocating the buffer.
350 * include/bits/locale_facets.tcc (collate::do_tranform):
351 Remove redundant variable.
353 2002-03-10 Ulrich Drepper <drepper@redhat.com>
354 Paolo Carlini <pcarlini@unitus.it>
356 * config/locale/generic/collate_members.cc
357 (collate<char,wchar_t>::_M_compare_helper): normalize
358 values returned by strcoll and wcscoll.
359 * config/locale/gnu/collate_members.cc
360 (collate<char,wchar_t>::_M_compare_helper): ditto
361 for __strcoll_l and __wcscoll_l.
363 2002-03-10 Anthony Green <green@redhat.com>
365 * configure.in: Support cross builds to mingw32 target.
366 * configure: Rebuilt.
368 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
370 * include/bits/locale_facets.tcc (collate::do_transform):
371 Rewrite to fix problems with long transformed strings.
373 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
375 * c_locale_generic.cc: Move to...
376 * generic/c_locale.cc
377 * c_locale_generic.h: Move to...
379 * codecvt_specializations_generic.h: Move to...
380 * generic/codecvt_specializations.h
381 * collate_members_generic.cc: Move to...
382 * generic/collate_members.cc
383 * ctype_members_generic.cc: Move to...
384 * generic/ctype_members.cc
385 * messages_members_generic.cc: Move to...
386 * generic/messages_members.cc
387 * messages_members_generic.h: Move to...
388 * generic/messages_members.h
389 * moneypunct_members_generic.cc: Move to...
390 * generic/monetary_members.cc
391 * numpunct_members_generic.cc: Move to...
392 * generic/numeric_members.cc
393 * time_members_generic.cc: Move to...
394 * generic/time_members.cc
395 * c_locale_gnu.cc: Move to...
397 * c_locale_gnu.h: Move to...
399 * collate_members_gnu.cc: Move to...
400 * gnu/collate_members.cc
401 * ctype_members_gnu.cc: Move to...
402 * gnu/ctype_members.cc
403 * messages_members_gnu.cc: Move to...
404 * gnu/messages_members.cc
405 * messages_members_gnu.h: Move to...
406 * gnu/messages_members.h
407 * moneypunct_members_gnu.cc: Move to...
408 * gnu/monetary_members.cc
409 * numpunct_members_gnu.cc: Move to...
410 * gnu/numeric_members.cc
411 * time_members_gnu.cc: Move to...
412 * gnu/time_members.cc
413 * c_locale_ieee_1003.1-200x.cc: Move to...
414 * ieee_1003.1-2001/c_locale.cc
415 * c_locale_ieee_1003.1-200x.h: Move to...
416 * ieee_1003.1-2001/c_locale.h
417 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
418 * ieee_1003.1-2001/codecvt_specializations.h
419 * messages_members_ieee_1003.1-200x.cc: Move to...
420 * ieee_1003.1-2001/messages_members.cc
421 * messages_members_ieee_1003.1-200x.h: Move to...
422 * ieee_1003.1-2001/messages_members.h
424 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
425 * aclocal.m4: Regenerate.
426 * configure: Regenerate.
427 * src/Makefile.am (sources): Change to monetary and numeric.
428 * src/Makefile.in: Regenerate.
429 * docs/html/configopts.html: Update to ieee_1003.1-2001.
431 2002-03-08 scott snyder <snyder@fnal.gov>
434 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
435 Allow one more digit of precision.
436 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
437 write a double and read back in the same value.
439 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
441 * include/std/std_limits.h: Move static const data members out of
442 generic template, into base class __numeric_limits_base.
443 * src/limits.cc: Add definitions.
444 * config/linker-map.gnu: Add __numeric_limits_base.
445 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
447 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
449 * include/bits/stl_alloc.h: Add extern implicit allocator
451 * include/bits/basic_string.tcc: Tweak.
452 * include/bits/locale_facets.tcc: Remove default args. Add
453 has_facet, use_facet extern instantiations.
454 * src/stl-inst.cc: Add explicit instantiation.
455 * src/locale-inst.cc: Clean. Remove locale member template
458 * testsuite/22_locale/operators.cc (test02): Enable.
460 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
461 Stephen M. Webb <stephen.webb@bregmasoft.com>
463 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
464 (_S_rb_tree_black): Make enum.
466 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
467 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
468 (__stl_threshold): _M_threshold, enum.
469 * src/stl-inst.cc: Same.
470 * config/linker-map.gnu: Remove.
472 * testsuite/23_containers/vector_bool.cc: New.
474 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
476 * docs/doxygen/user.cfg.in: Also document deprecated entries.
477 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
478 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
479 referring to the collection as a whole. New section on which macros
480 can be redefined by the user.
481 * docs/html/19_diagnostics/howto.html: Update note for concepts.
482 * docs/html/20_util/howto.html: Update link to SGI.
483 * docs/html/faq/index.html: Update snapshot versions. New entry
484 on why g++ (but not gcc) must currently predefine certain macros.
485 * docs/html/faq/index.txt: Regenerated.
487 * include/bits/basic_string.h (basic_string::_S_construct): Fix
488 names in declaration.
489 (basic_string::compare): These are no longer optional.
490 * include/bits/ostream.tcc: Tweak closing brace placement.
491 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
492 * include/std/std_sstream.h: Fix typo in comment.
493 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
494 * src/locale.cc: Likewise.
496 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
499 * include/bits/stl_vector.h (vector::push_back()): Guard with
502 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
504 * include/bits/c++config: Fix misplaced leading blanks on first line.
506 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
508 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
509 * README (libmath): Make clear.
511 2002-03-05 Jakub Jelinek <jakub@redhat.com>
513 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
514 script globbing in ld.
515 * aclocal.m4: Rebuilt.
516 * configure: Rebuilt.
518 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
520 * docs/html/17_intro/RELEASE-NOTES: Update.
521 * README: Format subdirectories.
523 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
526 * include/bits/locale_facets.tcc
527 (num_get::_M_extract_float): Fix the parsing of __dec, since
528 the standard prescribes that if no grouping characters are
529 seen, no grouping check is applied.
530 * testsuite/22_locale/num_get_members_char.cc: Add test05
531 distilled from the PR.
532 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
534 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
536 * docs/html/17_intro/porting-howto.xml: Refer to
537 http://www.oasis-open.org for docbookx.dtd.
538 * docs/html/17_intro/porting-howto.html: Regenerated.
540 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
543 * include/std/std_sstream.h: Remove trailing spaces.
544 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
545 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
547 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
549 * testsuite/22_locale/num_get_members_char.cc (test04):
550 Use a named locale expecting grouping (de_DE).
551 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
553 * testsuite/27_io/ios_manip_basefield.cc (test01):
554 Extend coverage, uniform treatment of hexs and octs.
556 2002-02-28 Richard Henderson <rth@redhat.com>
558 * config/linker-map.gnu: Export operator new with unsigned long,
559 and with std::nothrow_t. Likewise operator delete.
561 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
563 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
564 Admit grouping for octals and hexadecimals too.
565 * testsuite/22_locale/num_get_members_char.cc: Add test04.
566 (test01): Tweak "." -> "," in void* test.
567 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
569 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
570 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
572 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
574 * testsuite/27_io/ios_manip_basefield.cc (test01):
575 Fix for 64 bit machines.
577 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
580 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
582 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
583 (basic_ios::_M_fill_init): New.
584 (basic_ios::fill()): Delay dealing with _M_fill.
586 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
587 (ios_base::_M_call_callbacks): Adjust.
588 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
590 2002-02-26 Loren Rittle <ljrittle@acm.org>
592 * include/Makefile.am (thread_target_headers): Unconditionally
593 stage and install gthr-posix.h.
594 (${target_builddir}/gthr-posix.h): New rule cloned off
595 ${target_builddir}/gthr-default.h.
596 (${target_builddir}/gthr-default.h): Support chained inclusion
597 of gthr support headers.
598 * include/Makefile.in: Rebuilt.
600 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
602 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
603 Group all the integral types, not only decs.
604 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
605 tests, add a few more.
607 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
609 * src/ios.cc (ios_base::~ios_base): Tweak.
610 (ios_base::_M_call_callbacks): Deal with null __p.
611 (ios_base::ios_base): Set _M_callbacks.
612 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
613 * testsuite/27_io/ios_init.cc (test02): Fix.
615 * mkcheck.in (static_fail): Failed links go to output file.
617 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
619 * docs/html/faq/index.html: Update.
620 * docs/html/faq/index.txt: Regenerate.
622 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
624 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
625 * aclocal.m4: Regenerate.
626 * docs/html/configopts.html: Document --enable-symvers.
627 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
629 2002-02-22 Philipp Thomas <pthomas@suse.de>
631 * include/backward/tempbuf.h: get_temporary_buffer and
632 return_temporary_buffer are in namespace std, not in __gnu_cxx.
634 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
636 * configure.in (target_alias): Default to yes.
637 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
638 libgcc to default case.
640 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
642 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
643 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
644 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
645 * aclocal.m4: Regenerate.
646 * configure: Regenerate.
647 * config/linker-map.dummy: New file. Contains nothing useful.
649 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
651 * testsuite/22_locale/money_put_members_char.cc: Fix.
652 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
654 * testsuite/27_io/standard_manipulators.cc: New file.
656 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
657 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
659 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
661 * config/os/mingw32/bits/ctype_noninline.h
662 (ctype<char>::ctype): Remove default args from parm list.
663 * config/os/djgpp/bits/ctype_noninline.h: Same.
665 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
667 * include/std/std_iomanip.h: Inline, tweaks.
668 * config/linker-map.gnu: Remove hacks.
670 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
671 * testsuite/27_io/ios_init.cc: Same.
672 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
673 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
675 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
677 * config/linker-map.gnu: Export global vtable, typeinfo, guard
678 variable, and thunk info as per CXXABI docs.
680 2002-02-19 Loren Rittle <ljrittle@acm.org>
682 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
683 * include/Makefile.in: Rebuilt.
685 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
687 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
688 with size3 for the string collations of str5.
690 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
693 * include/bits/locale_facets.tcc (money_put::do_put):
694 For the space field use __fill instead of ' ', uniformly.
695 * testsuite/22_locale/money_put_members_char.cc:
696 Add test05 distilled from PR.
697 (test01-02-03): Trim some '*' to ' '.
698 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
700 2002-02-18 Loren Rittle <ljrittle@acm.org>
703 * include/Makefile.am (thread_builddir): Remove (map all
704 existing uses to target_builddir).
705 (thread_headers): Rename to...
706 (thread_target_headers): ...this.
707 (stamp-thread): Remove.
708 (stamp-target): Correctly state the position as built.
709 Update all dependencies to match the new reality. Remove all
710 dependency calculations on directories.
711 * include/Makefile.in: Rebuilt.
713 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
715 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
716 * include/bits/fstream.tcc: Same.
717 * include/bits/sstream.tcc: Same.
718 * include/bits/ostream.tcc: Same.
719 * include/bits/istream.tcc: Same.
720 * include/bits/streambuf.tcc: Same.
721 * include/bits/basic_ios.tcc: Same.
722 * include/bits/basic_string.tcc: Same.
724 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
726 * include/std/std_iosfwd.h: Don't guard typedefs with
728 * include/bits/stringfwd.h: Same.
730 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
732 * src/locale.cc (moneypunct_byname): Remove definitions.
733 * include/std/std_streambuf.h (streambuf::operator=): Return.
735 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
738 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
739 explicit instantiation.
740 (string::_Rep::_S_max_size): Same.
741 * include/bits/basic_string.tcc: Add extern explicit
742 instantiations for string, wstring.
743 * include/bits/basic_ios.tcc: Add extern explicit instantiations
745 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
746 * include/bits/istream.tcc: Same, for istream, wistream.
747 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
749 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
750 istringstream, wistringstream, ostringstream, wostringstream,
751 stringstream, wstringstream.
752 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
753 wifstream, ofstream, wofstream, fstream, wfstream.
754 * src/misc-inst.cc: Correct comments.
755 Add iomanip instantiations for wide streams.
756 * include/std/std_iomanip.h: Same.
757 * include/bits/locale_facets.tcc: Same.
759 * include/std/std_streambuf.h: Correct
760 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
761 * include/std/std_sstream.h: Same.
762 * include/std/std_ostream.h: Same.
763 * include/std/std_istream.h: Same.
764 * include/std/std_fstream.h: Same.
766 * include/std/std_streambuf.h: Add definitions for private copy
767 ctor and assignment operator.
768 * include/std/std_istream.h: Remove declared but undefined copy
769 ctor and assignment operator. This is taken care of in ios_base,
770 so adding it in the derived class as well is superfluous.
771 * include/std/std_ostream.h: Same.
773 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
774 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
776 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
778 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
779 Add typeinfo bits. Smooth.
780 * aclocal.m4: Regenerate.
782 * src/Makefile.in: Same.
784 2001-02-14 Joel Sherrill <joel@OARcorp.com>
786 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
787 which do not have a CAS instruction.
789 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
791 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
792 * configure.in: Call it.
793 * config/linker-map.gnu: New file, initial incomplete revision.
794 * src/Makefile.am: Optionally pass version script to the linker.
795 * aclocal.m4: Regenerate.
796 * configure: Regenerate.
797 * src/Makefile.in: Regenerate.
799 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
801 * src/localename.cc: Remove stdexcept include.
802 * src/locale-inst.cc: Same.
803 * src/locale.cc: Same.
804 * src/functexcept.cc: Remove string includes.
805 * include/std/std_bitset.h: Remove stdexcept include.
806 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
807 * testsuite/23_containers/bitset_ctor.cc: Same.
809 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
811 * include/bits/stl_algo (__stl_threshold): Declare external.
812 (__stl_chunk_size): Same.
813 * include/bits/stl_bvector.h (__WORD_BIT): Same.
814 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
815 (_S_rb_tree_black): Same.
816 * src/stl-inst.cc (__stl_threshold): Define.
817 (__stl_chunk_size): Same.
819 (_S_rb_tree_red): Same.
820 (_S_rb_tree_black): Same.
822 * config/io/basic_file_libio.h (__basic_file): Add declarations.
823 * include/bits/basic_file.h: Remove.
824 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
825 Declare generic types, specialization.
826 * config/io/basic_file_stdio.cc: Definitions.
827 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
828 Declare generic types.
829 * include/Makefile.am (bits_headers): Remove basic_file.h.
830 (extra_target_headers): Change basic_file_model.h to basic_file.h.
831 (stamp-target): Same.
833 * include/bits/stl_alloc.h: Tweaks.
834 * include/bits/localefwd.h: Same.
836 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
838 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
839 * testsuite/22_locale/collate_members_char.cc (test03): New test.
840 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
842 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
844 * include/bits/stl_algo.h (transform (both signatures), generate_n):
845 Use __typeof__ in concept checks.
847 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
849 * include/bits/stl_algo.h (__median, for_each, find, find_if,
850 adjacent_find, count, count_if, search, search_n, swap_ranges,
851 transform, replace, replace_if, replace_copy, replace_copy_if,
852 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
853 unique, unique_copy, reverse, reverse_copy): Doxygenate.
855 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
857 * include/bits/locale_facets.h
858 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
859 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
860 (__timepunct<_CharT>::_M_put_helper): Same.
861 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
863 * include/bits/fstream.tcc (filebuf::underflow): Remove
864 __codecvt_type typedef.
865 (filebuf::_M_convert_to_external): Same.
867 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
869 * docs/doxygen/TODO: Update.
870 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
871 * docs/doxygen/mainpage.html: Add TODO list link.
872 * docs/doxygen/user.cfg.in: Add @doctodo hook.
873 * docs/doxygen/tables.html: New file, emoty structure only.
875 * include/bits/stl_iterator.h: Doxygenate just about everything.
876 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
877 * include/bits/stl_iterator_base_types.h: Add notes.
879 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
881 * include/bits/stl_map.h: Tweak doxygen markup.
882 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
883 * include/bits/stl_vector.h: Likewise.
885 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
889 * include/std/std_fstream.h (filebuf::__file_type): Change to
891 (filebuf::_M_convert_to_external): Declare.
892 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
893 codecvt bits for wide streams.
894 (filebuf::_M_really_overflow): Use it.
895 (filebuf::underflow): Use codecvt.
896 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
897 (codecvt<__enc_traits>::do_out): Deal with partial.
898 (codecvt<__enc_traits>::do_encoding): Return something useful.
899 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
901 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
902 Change expected encoding output.
904 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
907 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
908 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
910 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
911 (basic_ios::widen): Same.
913 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
915 * testsuite/22_locale/money_get_members_char.cc:
916 Add comment, tidy up.
917 (test01): more "en_HK" tests (without showbase).
918 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
920 2002-02-06 Loren Rittle <ljrittle@acm.org>
922 * config/locale/c_locale_generic.cc: Do not trust
923 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
926 2002-02-06 Loren Rittle <ljrittle@acm.org>
928 * acinclude.m4: Add C++ linkage check for strtof.
929 * aclocal.m4: Rebuilt.
930 * config.h.in: Rebuilt.
931 * configure: Rebuilt.
932 * config/locale/c_locale_generic.cc: Conditionally include
933 <ieeefp.h>. Improve handling and error checking of float
934 and long double input for non-C99 configurations.
936 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
938 * include/bits/locale_facets.tcc (money_get::do_get(string)):
939 In case money_base::symbol deal properly with multi-char sign
940 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
941 * testsuite/22_locale/money_get_members_char.cc: Add test07.
942 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
944 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
946 * include/bits/locale_facets.tcc (money_get::do_get(string)):
947 First construct a tentative returned string, then, only if the
948 parsing succeeds, copy it into the string passed by reference.
949 * testsuite/22_locale/money_get_members_char.cc: Add test06.
950 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
952 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
954 * docs/doxygen/TODO: Impl-defined behavior now documented...
955 * docs/html/17_intro/howto.html: ...here.
956 * docs/doxygen/mainpage.doxy: Remove, rename...
957 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
958 * docs/doxygen/style.css: Add small text.
959 * docs/doxygen/run_doxygen: Adjust for new mainpage.
960 * docs/doxygen/user.cfg.in: Likewise.
962 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
964 * include/bits/stl_map.h: Initial doxygen markup.
965 * include/std/std_fstream.h: Initial doxygen markup.
967 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
970 * include/bits/locale_facets.tcc (money_get::do_get(string)):
971 Deal correctly with !(__io.flags() & ios_base::showbase)
972 for case money_base::symbol.
973 * testsuite/22_locale/money_get_members_char.cc: Add test05.
974 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
976 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
978 * testsuite/22_locale/operators.cc
979 (gnu_collate::do_compare()): Add return statement to
980 suppress "no return statement" warning.
982 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
984 * testsuite/27_io/ostream_manip.cc: Enable test02.
986 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
988 * docs/html/documentation.html: Update for 3.0.96.
989 * docs/html/faq/index.html: Update for 3.0.96.
990 * docs/html/faq/index.txt: Regenerated.
991 * docs/doxygen/TODO: Update notes.
992 * docs/html/17_intro/howto.html: Initial impl-specific listing.
994 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
996 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
997 Initialize all data members in copy ctor. Make ctors explicit.
998 (__enc_traits::__enc_traits()): Default ctor does nothing.
999 (__enc_traits::_M_init): Guard against multiple iconv_opens.
1000 * include/std/std_sstream.h (basic_stringbuf): Make data members
1002 * include/std/std_fstream.h (basic_filebuf): Same.
1003 * include/std/std_streambuf.h: Tweak.
1004 * include/bits/streambuf.tcc: Same.
1005 * include/bits/sstream.tcc: Same.
1006 * include/bits/fstream.tcc: Same.
1008 2002-01-31 Loren Rittle <ljrittle@acm.org>
1010 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
1011 allow NULL argument to be passed to setenv().
1012 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1013 * testsuite/22_locale/collate_members_char.cc: Likewise.
1014 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1015 * testsuite/22_locale/ctype_members_char.cc: Likewise.
1016 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
1017 * testsuite/22_locale/messages_members_char.cc: Likewise.
1018 * testsuite/22_locale/money_get_members_char.cc: Likewise.
1019 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1020 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1021 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1022 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
1023 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1024 * testsuite/22_locale/num_get_members_char.cc: Likewise.
1025 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1026 * testsuite/22_locale/num_put_members_char.cc: Likewise.
1027 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1028 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
1029 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1030 * testsuite/22_locale/time_get_members_char.cc: Likewise.
1031 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1032 * testsuite/22_locale/time_put_members_char.cc: Likewise.
1033 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1035 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
1037 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
1039 * ChangeLog-2001: Fix spelling errors...
1040 * docs/html/17_intro/RELEASE-NOTES: Update.
1041 * docs/html/17_intro/TODO: Update.
1042 * README (file): Update.
1044 2002-01-30 Loren Rittle <ljrittle@acm.org>
1046 * config/locale/c_locale_generic.cc: Check errno for ERANGE
1047 instead of non-zero to aid portability.
1049 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1051 * docs/html/22_locale/messages.html: Fix example code.
1053 2002-01-30 Richard Henderson <rth@redhat.com>
1055 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1056 out from test03 and templatize.
1059 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
1061 * config/locale/numpunct_members_gnu.cc
1062 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
1063 Fix initialization of _M_grouping for locales which have
1064 _M_thousands_sep == '\0'(L'\0', respectively).
1065 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
1067 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
1069 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1070 Better fix for 32/64 bit architectures, avoiding the
1071 implicit assumption that CHAR_BIT == 8.
1073 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
1075 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
1076 * Makefile.in: Regenerate.
1078 * docs/doxygen/run_doxygen: Update, mostly for man pages.
1079 * docs/doxygen/Intro.3: Update.
1080 * docs/doxygen/TODO: Update.
1081 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
1082 * docs/doxygen/mainpage.doxy: Update.
1083 * docs/doxygen/user.cfg.in: Update for header rename. Also
1084 regenerate comments and variables with 1.2.12.
1085 * docs/doxygen/maint.cfg.in: Remove file.
1087 * include/bits/stl_relops.h: Doxygenate.
1088 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
1090 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
1091 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
1092 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
1093 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
1094 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
1095 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
1096 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
1097 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
1098 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
1099 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
1100 include/ext/hash_set, include/ext/iterator, include/ext/memory,
1101 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
1102 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
1103 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
1104 include/std/std_algorithm.h, include/std/std_bitset.h,
1105 include/std/std_complex.h, include/std/std_deque.h,
1106 include/std/std_fstream.h, include/std/std_functional.h,
1107 include/std/std_iomanip.h, include/std/std_ios.h,
1108 include/std/std_iosfwd.h, include/std/std_iostream.h,
1109 include/std/std_istream.h, include/std/std_iterator.h,
1110 include/std/std_limits.h, include/std/std_list.h,
1111 include/std/std_locale.h, include/std/std_map.h,
1112 include/std/std_memory.h, include/std/std_numeric.h,
1113 include/std/std_ostream.h, include/std/std_queue.h,
1114 include/std/std_set.h, include/std/std_sstream.h,
1115 include/std/std_stack.h, include/std/std_stdexcept.h,
1116 include/std/std_streambuf.h, include/std/std_string.h,
1117 include/std/std_utility.h, include/std/std_valarray.h,
1118 include/std/std_vector.h: Add/correct @file doxygen hook.
1120 * include/ext/memory: Doxygenate most of rest of file.
1121 * libsupc++/exception: Doxygen output formatting.
1122 * libsupc++/new: Say which header it is.
1124 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
1125 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
1126 * docs/html/23_containers/howto.html: Describe O(n) list::size().
1127 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
1129 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1130 Charles Leggett <CGLeggett@lbl.gov>
1132 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
1134 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1136 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1137 Fix to deal correctly with both 32 bit and 64 bit architectures
1139 2002-01-25 Loren Rittle <ljrittle@acm.org>
1141 * testsuite/thread/pthread1.cc: Use one condition variable
1142 per predicate instead of tricky use of one condition variable.
1144 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
1146 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
1148 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
1149 * testsuite/27_io/filebuf.cc: Compile only.
1150 * testsuite/27_io/filebuf_members.cc: Move tests to here.
1151 * testsuite/27_io/filebuf_virtuals.cc: And here.
1152 Revert sungetc, sync changes for expected values.
1153 * testsuite/27_io/filebuf-*: Move to...
1154 * testsuite/27_io/filebuf_virtuals-*: ...here.
1155 * testsuite/27_io/istream.cc: Compile only, activate.
1156 * testsuite/27_io/ostream.cc: Same.
1157 * testsuite/27_io/iostream.cc: New.
1158 * testsuite/27_io/iostream_members.cc: New.
1160 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
1162 * testsuite/thread/pthread1.cc: Enable on cygwin.
1163 * testsuite/thread/pthread2.cc: Likewise.
1164 * testsuite/thread/pthread3.cc: Likewise.
1165 * testsuite/thread/pthread4.cc: Likewise.
1166 * testsuite/thread/pthread5.cc: Likewise.
1167 * testsuite/thread/pthread6.cc: Likewise.
1169 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1171 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
1173 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1175 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1177 (basic_ios::fill(char_type)): Use fill().
1178 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1179 (basic_ios::narrow): Same.
1180 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1181 if they are invalid.
1182 (basic_ios::init): Comment.
1183 * testsuite/27_io/ios_init.cc (test02): New.
1185 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
1187 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
1188 * include/bits/stl_algo.h: Include stl_tempbuf.h.
1189 * include/ext/memory: Do not include stl_tempbuf.h.
1190 (temporary_buffer): Add doxygen hook.
1191 (__get_temporary_buffer, get_temporary_buffer,
1192 return_temporary_buffer): Move back to std:: header...
1193 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
1194 * include/ext/rope: Do not include stl_tempbuf.h.
1195 * include/ext/stl_hashtable.h: Likewise.
1196 * include/std/std_algorithm.h: Likewise.
1197 * testsuite/20_util/temporary_buffer.cc: New file.
1199 2002-01-24 andrew@andypo.net
1200 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
1203 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1204 * include/bits/localefwd.h: Likewise.
1205 Also use for std::locale::id::_S_highwater.
1206 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1207 * src/locale.cc: Support new usage of _Atomic_word.
1208 (std::locale::classic): Guard entire function against reentry.
1209 * src/localename.cc: Support new usage of _Atomic_word.
1211 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1213 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1214 _GLIBCPP_HAVE_SETENV.
1215 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1216 * testsuite/22_locale/collate_members_char.cc (test02): Same.
1217 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1218 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1219 * testsuite/22_locale/messages_members_char.cc (test02): Same.
1220 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1221 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1222 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1223 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1224 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1225 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1226 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1227 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1228 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1229 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1230 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1231 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1232 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1233 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1234 * aclocal.m4: Regenerate.
1235 * configure: Regenerate.
1236 * config.h.in: Regenerate.
1238 2002-01-23 Loren Rittle <ljrittle@acm.org>
1240 * testsuite/thread/pthread1.cc: New test.
1241 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1242 * testsuite/thread/pthread3.cc: Likewise.
1243 * testsuite/thread/pthread4.cc: New test adapted from
1244 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1245 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1246 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1248 2002-01-23 Richard Henderson <rth@redhat.com>
1251 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1252 CAS on the cpu variants that support it. Add versions that use
1253 TAS and that disable interrupts.
1254 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1256 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
1258 * include/bits/locale_facets.tcc: Remove old comments.
1260 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
1262 * include/bits/locale_facets.tcc (__convert_to_v): Change template
1264 (__convert_from_v): Same.
1266 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
1268 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1270 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1271 __max_digits checks, adjust arguments.
1272 (num_get::do_get(*)): Changeup.
1274 2002-01-23 Loren Rittle <ljrittle@acm.org>
1276 * config/locale/c_locale_generic.cc: Fix typename usage.
1278 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1280 * config/locale/c_locale_generic.cc: Fix.
1282 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1284 * docs/html/22_locale/messages.html: Remove angle brackets.
1285 * docs/html/17_intro/TODO: Add.
1287 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
1289 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1290 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1291 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1292 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1294 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1296 Audit for LANG independence.
1297 * include/bits/localefwd.h: Tweaks.
1298 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1300 (time_get::do_get_year): Same.
1301 (__convert_from_v): Add.
1302 (num_put::_M_convert_float): Use.
1303 (num_put::_M_convert_int): Same.
1304 (money_put::do_put): Same.
1306 * src/locale-inst.cc: Add instantiations for __convert_from_v.
1307 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1308 * config/locale/time_members_generic.cc:
1309 * config/locale/messages_members_gnu.cc: Same.
1310 * config/locale/messages_members_gnu.h: Same.
1312 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1313 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1314 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1315 * testsuite/22_locale/collate_members_char.cc (test02): New.
1316 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1317 * testsuite/22_locale/ctype_members_char.cc (test03): New.
1318 * testsuite/22_locale/messages_members_char.cc (test02): New.
1319 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1320 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1321 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1322 * testsuite/22_locale/money_get_members_char.cc (test04): New.
1323 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1324 * testsuite/22_locale/money_put_members_char.cc (test04): New.
1325 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1326 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1327 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1328 * testsuite/22_locale/time_put_members_char.cc (test03): New.
1329 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1330 * testsuite/22_locale/time_get_members_char.cc (test07): New.
1331 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1332 * testsuite/22_locale/num_get_members_char.cc (test03): New.
1333 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1334 * testsuite/22_locale/num_put_members_char.cc (test03): New.
1336 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1338 * testsuite/22_locale/time_get_members_char.cc: Same.
1340 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1343 * include/bits/localefwd.h: Tweak comments.
1344 * include/bits/locale_facets.h (__convert_to_v): Add.
1345 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1346 (num_get::do_get(float)): Same.
1347 (num_get::do_get(long double)): Same.
1348 (num_get::do_get(bool)): Same.
1349 (num_get::do_get(long)): Same.
1350 (num_get::do_get(long long)): Same.
1351 (num_get::do_get(unsigned int)): Same.
1352 (num_get::do_get(unsigned short)): Same.
1353 (num_get::do_get(unsigned long)): Same.
1354 (num_get::do_get(unsigned long long)): Same.
1355 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1356 * config/locale/c_locale_generic.cc: Same.
1358 2002-01-22 Loren Rittle <ljrittle@acm.org>
1360 * include/Makefile.am (c_base_builddir): Remove redundant slash.
1361 (std_builddir): Likewise.
1362 (std_headers_rename): Fix cut-n-paste typo.
1363 (install-data-local): Concat path per element instead of once to
1364 first element of list.
1365 * include/Makefile.in: Rebuilt.
1367 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1369 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1370 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1371 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1373 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
1375 * include/bits/locale_facets.h (ctype<char>::classic_table):
1377 (ctype<char>::_S_ctable): Remove.
1378 * config/os/gnu-linux/bits/ctype_noninline.h
1379 (ctype<char>::_S_table): Remove definition.
1380 (ctype<char>::classic_table): Define.
1381 (ctype<char>::ctype): Replace _S_ctable with classic_table().
1382 * config/os/aix/bits/ctype_noninline.h: Same.
1383 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1384 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1385 * config/os/djgpp/bits/ctype_noninline.h: Same.
1386 * config/os/generic/bits/ctype_noninline.h: Same.
1387 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1388 * config/os/hpux/bits/ctype_noninline.h: Same.
1389 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1390 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1391 * config/os/mingw32/bits/ctype_noninline.h: Same.
1392 * config/os/newlib/bits/ctype_noninline.h: Same.
1393 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1394 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1395 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1397 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1399 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1400 of _pctype. Use to define _S_ctable. Add definition for alternate
1401 ctor. Initialise _M_ctable to _S_ctable in ctors.
1402 (do_toupper, do_tolower): Use inline code appropriate for C-locale
1403 rather than ::toupper, ::tolower.
1405 2002-01-18 Loren Rittle <ljrittle@acm.org>
1407 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1408 Add specialization for FreeBSD systems only to avoid losing test
1409 only due to extra precision unmentioned in system headers.
1411 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
1413 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1415 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1417 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
1418 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1420 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1422 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1424 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1426 * configure.target: Define OPT_LDFLAGS for AIX case.
1428 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1430 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1431 __glibcpp_double_has_quiet_NaN): Correct mispelling.
1433 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
1435 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1437 2002-01-16 David Edelsohn <dje@watson.ibm.com>
1439 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1440 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
1441 * aclocal.m4: Regenerate.
1442 * configure: Regenerate.
1444 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1446 * include/Makefile.am (c_base_headers_rename): New.
1447 (c_base_headers_extra): New.
1448 (stamp-c_base): Modify.
1449 (install-data-local): Use both.
1450 * include/Makefile.in: Regenerate.
1451 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1452 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1453 cstdio ctime cwctype]: Move to..
1454 * include/c/std_*: Here.
1455 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1456 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1457 cstdio ctime cwctype]: Move to..
1458 * include/c_std/std_*: Here.
1460 Alexandre Oliva <aoliva@redhat.com>
1461 * include/Makefile.am (.PRECIOUS): Add rule.
1462 * include/Makefile.in: Regenerate.
1464 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1465 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1467 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1468 Deuglify, should be current.
1469 (back_insert_iterator::_M_container): Deuglify, should be container.
1470 (front_insert_iterator::_M_container): Same.
1471 (insert_iterator::_M_container): Same.
1472 * testsuite/24_iterators/reverse_iterator.cc: Add check.
1473 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1474 * testsuite/24_iterators/front_insert_iterator.cc: Same.
1475 * testsuite/24_iterators/insert_iterator.cc: Same.
1477 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1479 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1481 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1482 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1483 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1484 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1485 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1486 * config/os/newlib/bits/ctype_noninline.h: Same.
1487 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1488 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1489 * config/os/hpux/bits/ctype_noninline.h: Same.
1490 * config/os/djgpp/bits/ctype_noninline.h: Same.
1491 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1492 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1493 * config/os/aix/bits/ctype_noninline.h: Same.
1495 Testcase by Dietmar Kühl via Peter Schmid
1496 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1499 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1501 * libmath/signbitl.c: Copyright years as list, not range.
1502 * libmath/Makefile.am: Same.
1503 * libmath/Makefie.in: Regenerate.
1504 * libmath/signbit.c: Same.
1505 * libmath/nan.c: Same.
1506 * libmath/copysignf.c: Same.
1507 * libmath/signbitf.c: Same.
1508 * testsuite/22_locale/money_get_members_char.cc: Same.
1509 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1510 * testsuite/22_locale/money_put_members_char.cc: Same.
1511 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1512 * testsuite/22_locale/time_get_members_char.cc: Same.
1513 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1514 * testsuite/22_locale/time_put_members_char.cc: Same.
1515 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1516 * testsuite/21_strings/nonmember.cc: Same.
1517 * testsuite/21_strings/compare.cc: Same.
1518 * testsuite/27_io/stringstream.cc: Same.
1519 * testsuite/27_io/stringbuf.cc: Same.
1520 * testsuite/27_io/filebuf.cc: Same.
1521 * testsuite/27_io/ios_manip_basefield.cc: Same.
1522 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1523 * include/bits/cpp_type_traits.h: Same.
1524 * include/bits/generic_shadow.h: Same.
1525 * include/bits/gslice_array.h: Same.
1526 * include/bits/gslice.h: Same.
1527 * include/bits/indirect_array.h: Same.
1528 * include/bits/slice_array.h: Same.
1529 * include/bits/sstream.tcc: Same.
1530 * include/bits/streambuf_iterator.h: Same.
1531 * include/bits/valarray_array.tcc: Same.
1532 * include/bits/valarray_meta.h: Same.
1533 * include/bits/valarray_array.h: Same.
1534 * config/os/mingw32/bits/ctype_noninline.h: Same.
1535 * config/os/mingw32/bits/ctype_base.h: Same.
1536 * config/os/hpux/bits/ctype_noninline.h: Same.
1537 * config/os/hpux/bits/ctype_base.h: Same.
1538 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1539 * config/os/gnu-linux/bits/ctype_base.h: Same.
1540 * config/os/generic/bits/ctype_noninline.h: Same.
1541 * config/os/generic/bits/ctype_base.h: Same.
1543 * libsupc++/tinfo.h: Tweaks.
1545 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1547 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1548 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1549 * testsuite/22_locale/ctype_members_char.cc: Tweak.
1551 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1553 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1554 (num_put::do_put(void*)): Fix.
1555 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1556 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1557 * testsuite/22_locale/num_get_members_char.cc (test02): Add
1558 long double, void, bool types.
1559 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1561 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1562 Alexandre Oliva <aoliva@redhat.com>
1564 * libmath/Makefile.am (LINK): Add --tag CC.
1565 * libmath/Makefile.in: Regenerate.
1567 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1569 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1570 of character to attribute mapping table.
1572 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
1574 * testsuite/26_numerics/c99_classification_macros_c.cc
1575 Remove dg-error and dg-excess-errors comments.
1577 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
1579 * include/bits/locale_facets.tcc (time_put::put): Correct output
1581 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1582 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1583 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1584 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1586 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
1588 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1590 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
1591 Nathan Myers <ncm@cantrip.org>
1593 * include/bits/basic_string.h
1594 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1595 temporaries (i.e., call _M_replace_safe) when possible.
1596 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1597 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1598 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1599 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1600 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1601 * include/bits/basic_string.tcc
1602 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1603 replace(__pos, __n1, __s, __n2).
1604 * testsuite/21_strings/replace.cc (test03): New testcases.
1606 * include/bits/basic_string.h (insert(__pos, __s, __n)):
1607 Adjust comparison wrt overflow.
1609 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1611 * include/Makefile.am (std_headers_rename): New variable.
1612 (install-data-local): Use it.
1613 * include/Makefile.in: Regenerate.
1615 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1617 * include/bits/locale_facets.tcc (money_put::do_put(string):
1618 Correct output iterator value.
1619 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1620 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1622 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1624 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
1627 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1629 * include/Makefile.am (std_headers): Update list with new names.
1630 (stamp-std): Link to standardized name.
1631 * include/Makefile.in: Regenerate.
1633 * include/std/algorithm, include/std/bitset, include/std/complex,
1634 include/std/deque, include/std/fstream, include/std/functional,
1635 include/std/iomanip, include/std/ios, include/std/iosfwd,
1636 include/std/iostream, include/std/istream, include/std/iterator,
1637 include/std/limits, include/std/list, include/std/locale,
1638 include/std/map, include/std/memory, include/std/numeric,
1639 include/std/ostream, include/std/queue, include/std/set,
1640 include/std/sstream, include/std/stack, include/std/stdexcept,
1641 include/std/streambuf, include/std/string, include/std/utility,
1642 include/std/valarray, include/std/vector: Rename to...
1644 * include/std/std_algorithm.h, include/std/std_bitset.h,
1645 include/std/std_complex.h, include/std/std_deque.h,
1646 include/std/std_fstream.h, include/std/std_functional.h,
1647 include/std/std_iomanip.h, include/std/std_ios.h,
1648 include/std/std_iosfwd.h, include/std/std_iostream.h,
1649 include/std/std_istream.h, include/std/std_iterator.h,
1650 include/std/std_limits.h, include/std/std_list.h,
1651 include/std/std_locale.h, include/std/std_map.h,
1652 include/std/std_memory.h, include/std/std_numeric.h,
1653 include/std/std_ostream.h, include/std/std_queue.h,
1654 include/std/std_set.h, include/std/std_sstream.h,
1655 include/std/std_stack.h, include/std/std_stdexcept.h,
1656 include/std/std_streambuf.h, include/std/std_string.h,
1657 include/std/std_utility.h, include/std/std_valarray.h,
1658 include/std/std_vector.h: ...this.
1660 2002-01-11 Loren Rittle <ljrittle@acm.org>
1662 * include/Makefile.am (extra_target_headers): New list of all
1663 target files built with ad hoc naming rules.
1664 (stamp-*): Handle LN_S failure in manner portable across make
1666 (install-data-local): Install header files from human-maintained
1667 file lists and directory components instead of non-robust find.
1668 * include/Makefile.in: Rebuilt.
1670 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
1672 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1673 Check for zero-length negative sign before adding it to output
1675 (money_get::do_get(long double)): Return beg.
1676 * testsuite/22_locale/money_get_members_char.cc (test02): Add
1678 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1680 2002-01-10 David Seymour <seymour_dj@yahoo.com>
1683 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1684 for _M_extract_float and _M_extract_int
1685 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1686 (num_get<>::_M_extract_int): Likewise, all callers changed
1687 * testsuite/22_locale/num_get_members_char.cc: Testcase
1689 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1691 * libsupc++/exception (bad_exception): Add comment.
1692 * libsupc++/new (bad_alloc): Same.
1693 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1695 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1697 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1698 that the destructors should be removed from the descriptions
1699 in the standard: writing them explicitly allows the vtable
1700 heuristic to work. For additional information see:
1701 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1702 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1703 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1704 * libsupc++/exception (bad_exception::~bad_exception()):
1705 Reintroduce declaration.
1706 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1707 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1708 (bad_typeid::~bad_typeid()): Same.
1709 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1710 Reintroduce definition.
1711 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1712 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1713 (bad_typeid::~bad_typeid()): Same.
1715 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
1717 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1718 * include/Makefile.in: Regenerate.
1720 2002-01-09 Bo Thorsen <bo@suse.co.uk>
1722 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1725 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
1729 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1730 return value of _M_file->sync().
1731 (filebuf::showmanyc): Check for is_open.
1732 * include/std/fstream (filebuf::sync): Tweak.
1733 * testsuite/27_io/filebuf.cc: Tweak.
1735 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
1736 Brad Garcia <garsh@attbi.com>
1738 * testsuite/27_io/filebuf_members.cc: Add test.
1740 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
1741 Craig Rodrigues <rodrigc@mediaone.net>
1744 * po/Makefile.am (mkinstalldirs): Add.
1745 * po/Makefile.in: Regenerate.
1747 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
1749 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1750 testsuite/lib/prune.exp: Delete lines ":In function ..." from
1752 * testsuite/23_containers/map_operators.cc: Remove
1753 dg-excess-errors comment.
1754 * testsuite/23_containers/set_operators.cc: Likewise.
1756 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
1758 * include/bits/stl_function.h: Remove two lines of comments;
1759 adjust copyright years.
1761 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
1763 * include/Makefile.am (std_headers): Remove cXXX from list.
1764 (c_base_srcdir): No bits subdirectory.
1765 (c_base_builddir): Same.
1766 (c_base_headers): Adjust names, add ciso646.
1767 (bits_headers): Remove std_xxx.h headers.
1768 * include/Makefile.in: Regenerate.
1770 * include/ext/iterator: Adjust includes.
1771 * include/ext/ropeimpl.h: Same.
1772 * include/ext/stl_hash_fun.h: Same.
1773 * include/ext/algorithm: Same.
1775 * include/backward/bvector.h: Adjust includes.
1776 * include/backward/vector.h: Same.
1777 * include/backward/strstream: Same.
1778 * include/backward/streambuf.h: Same.
1779 * include/backward/stack.h: Same.
1780 * include/backward/set.h: Same.
1781 * include/backward/queue.h: Same.
1782 * include/backward/multiset.h: Same.
1783 * include/backward/multimap.h: Same.
1784 * include/backward/map.h: Same.
1785 * include/backward/list.h: Same.
1786 * include/backward/iterator.h: Same.
1787 * include/backward/iostream.h: Same.
1788 * include/backward/iomanip.h: Same.
1789 * include/backward/fstream.h: Same.
1790 * include/backward/deque.h: Same.
1791 * include/backward/complex.h: Same.
1793 * include/bits/std_algorithm.h: Move to...
1794 * include/std/algorithm: ...here.
1795 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1796 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1797 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1798 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1799 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1800 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1801 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1804 * include/c_std/bits/std_cassert.h: Move to...
1805 * include/c_std/cassert: Here.
1806 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1807 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1808 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1809 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1810 std_cwctype.h: Same.
1811 * include/c_std/cmath: Adjust cmath.tcc include.
1812 * include/c_std/cstdlib: Adjust includes.
1813 * include/c_std/cwchar: Same.
1814 * include/c_std/ctime: Same.
1815 * include/c_std/cstring: Same.
1816 * include/c_std/cstdio: Same.
1817 * include/c_std/bits: Remove directory.
1819 * include/c/bits/std_cassert.h: Move to...
1820 * include/c/cassert: Here.
1821 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1822 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1823 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1824 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1825 std_cwctype.h: Same.
1826 * include/c/bits: Remove directory.
1828 * include/std/cwctype: Remove.
1829 * include/std/cwchar: Remove.
1830 * include/std/ctime: Remove.
1831 * include/std/cstring: Remove.
1832 * include/std/cstdlib: Remove.
1833 * include/std/cstdio: Remove.
1834 * include/std/cstddef: Remove.
1835 * include/std/cstdarg: Remove.
1836 * include/std/csignal: Remove.
1837 * include/std/csetjmp: Remove.
1838 * include/std/cmath: Remove.
1839 * include/std/clocale: Remove.
1840 * include/std/climits: Remove.
1841 * include/std/ciso646: Remove.
1842 * include/std/cfloat: Remove.
1843 * include/std/cerrno: Remove.
1844 * include/std/cctype: Remove.
1845 * include/std/cassert: Remove.
1847 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1848 files and subsituting <xxx>.
1849 * include/bits/valarray_array.h: Same.
1850 * include/bits/stl_uninitialized.h: Same.
1851 * include/bits/stl_alloc.h: Same.
1852 * include/bits/stl_algobase.h: Same.
1853 * include/bits/sstream.tcc: Same.
1854 * include/bits/pthread_allocimpl.h: Same.
1855 * include/bits/ostream.tcc: Same.
1856 * include/bits/localefwd.h: Same.
1857 * include/bits/locale_facets.tcc: Same.
1858 * include/bits/locale_facets.h: Same.
1859 * include/bits/istream.tcc: Same.
1860 * include/bits/char_traits.h: Same.
1861 * include/bits/boost_concept_check.h: Same.
1862 * include/bits/basic_file.h: Same.
1863 * include/std/bitset: Same.
1864 * include/std/complex: Same.
1865 * include/std/fstream: Same.
1866 * include/std/functional: Same.
1867 * include/std/ios: Same.
1868 * include/std/iostream: Same.
1869 * include/std/ostream: Same.
1870 * include/std/sstream: Same.
1871 * include/std/streambuf: Same.
1872 * include/std/string: Same.
1873 * include/std/iterator: Same.
1874 * include/std/valarray: Same.
1876 * src/ios.cc: Adjust includes.
1877 * src/valarray-inst.cc: Same.
1878 * src/string-inst.cc: Same.
1879 * src/stl-inst.cc: Same.
1880 * src/stdexcept.cc: Same.
1881 * src/misc-inst.cc: Same.
1882 * src/localename.cc: Same.
1883 * src/locale-inst.cc: Same.
1884 * src/locale.cc: Same.
1885 * src/limits.cc: Same.
1886 * src/concept-inst.cc: Same.
1887 * src/complex_io.cc: Same.
1888 * src/codecvt.cc: Same.
1889 * src/bitset.cc: Same.
1890 * src/cmath.cc: Same.
1892 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
1894 * include/bits/stl_tree.h (rb_tree): Move to...
1895 * include/ext/rb_tree: ...here, new file.
1896 * include/Makefile.am (ext_headers): Add new file.
1897 * include/Makefile.in: Regenerate.
1898 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1899 return_temporary_buffer, struct temporary_buffer): Move to...
1900 * include/ext/memory: ...here.
1901 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
1902 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
1903 * include/backward/tree.h: Include <ext/rb_tree), tweak.
1905 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
1907 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
1908 * include/ext/numeric: ...here, new file.
1909 * include/bits/stl_function.h (identity_element, unary_compose,
1910 binary_compose, compose1, compose2, identity, select1st,
1911 select2nd, project1st + helper, project2nd + helper,
1912 constant_void_fun + helper, constant_unary_fun + helper,
1913 costant_binary_fun + helper, constant0, constant1, constant2,
1914 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
1915 * include/ext/functional: ...here, new file.
1916 * include/Makefile.am (ext_headers): Add new files.
1917 * include/Makefile.in: Regenerate.
1918 * testsuite/ext/headers.cc: Include <ext/numeric> and
1920 * include/backward/algo.h: Include <ext/numeric>, tweak.
1921 * include/backward/function.h: Include <ext/functional>, tweak.
1922 * include/ext/ropeimpl.h: Include <ext/numeric>.
1924 2002-01-03 Jeffrey A Law <law@redhat.com>
1926 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1927 __strtoull declarations with __extension__.
1929 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
1931 * testsuite/lib/prune.exp: Correct regular expression for
1934 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1936 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1937 Change concept checks, as with lower_bound and PR 2054.
1938 * testsuite/ext/concept_checks.cc: Expand test to include those.
1940 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1942 * include/bits/boost_concept_check.h: Import some changes from
1943 upsteam (Boost) version.
1945 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
1947 * include/bits/stl_algobase.h (copy_n + helpers,
1948 lexicographical_compare_3way + helpers): Move to...
1949 * include/ext/algorithm: ...here.
1950 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
1951 helpers): Move to...
1952 * include/ext/memory: ...here, new file.
1953 * include/Makefile.am (ext_headers): Add new file.
1954 * include/Makefile.in: Regenerate.
1955 * testsuite/ext/headers.cc: Include <ext/memory>.
1956 * include/backward/algobase.h: Include <ext/memory> and
1957 <ext/algorithm>, tweak.
1958 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
1959 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
1961 2002-01-01 Roger Sayle <roger@eyesopen.com>
1963 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
1964 equivalent ___builtin__ versions.
1966 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
1967 are available in libstdc++ as the necessary stub implementations
1968 are provided by libmath/stubs.c.
1970 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
1972 * configure.in: Add support for NetBSD cross compiles.
1973 * configure: Regenerate.