1 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
6 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
8 * testsuite/22_locale/collate_byname.cc
9 (test01): compare the result of collate::compare with
10 that of collate::transform + string::compare, not with
11 that of collate::transform + collate::compare; values
12 returned by collate::compare are normalized, therefore
15 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
16 Jakub Jelinek <jakub@redhat.com>
18 * config/locale/gnu/messages_members.h: Correct conditional.
19 * config/locale/gnu/messages_members.cc: Same.
20 * config/locale/gnu/time_members.cc: Same.
22 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23 Paolo Carlini <pcarlini@unitus.it>
25 * testsuite/22_locale/codecvt_members_unicode_char.cc
26 (test01, test02): Fix i_lit_base arrays, making them
27 independent from the endianness of the platform.
29 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
31 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
32 signbit and __signbit directly.
33 * aclocal.m4: Regenerate.
34 * configure: Regenerate.
35 * config.h.in: Regenerate.
36 * libmath/Makefile.am: Simplify.
37 * libmath/Makefile.in: Regenerate.
38 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
40 * include/Makefile.am: Clean up handling of extra "C" header files.
41 Add hooks for "C" compatibility headers.
42 * include/Makefile.in: Regenerate.
44 * include/c/*: Formatting tweaks, cleanups.
45 * include/c_std/*: Same.
47 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
49 * config/locale/gnu/messages_members.h: Add __uselocale bits.
50 * config/locale/gnu/messages_members.cc: Same.
51 * config/locale/gnu/time_members.cc: Same.
53 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
55 * src/vterminate.cc: Format, -fno-exceptions cleanup.
57 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
59 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
60 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
61 * aclocal.m4: Regenerate.
62 * configure: Likewise.
64 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
65 Ulrich Drepper <drepper@redhat.com>
67 * src/locale-inst.cc (__convert_from_v): Add an additional
68 __size parameter in the declarations.
69 * include/bits/locale_facets.tcc
70 (__convert_from_v): When available (that is,
71 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
72 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
73 being defined or not, call and use __convert_from_v in the
75 (num_put::_M_convert_int): Same here.
76 (money_put::do_put(long double)): Same here.
78 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
80 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
81 * docs/html/faq/index.txt: Regenerate.
83 2002-03-19 Steve Ellcey <sje@cup.hp.com>
85 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
86 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
87 --enable-libunwind-exceptions is set.
88 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
89 macro to check for libunwind.
90 * configure: Regenerate.
91 * src/Makefile.am (libstdc___la_LDFLAGS): Add
92 LIBUNWIND_FLAG to libstdc link line.
93 * src/Makefile.in: Regenerate.
95 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
97 * docs/html/faq/index.html: Add OS X workaround.
98 * docs/html/17_intro/TODO: Update.
100 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
102 * include/bits/locale_facets.tcc
103 (money_put::do_put(long double)): Fix dimensioning of
104 temporary buffers to avoid risk of overruns.
105 (money_put::do_put(string)): Same for the buffer used to
106 add the grouping chars.
107 * testsuite/22_locale/money_put_members_char.cc: Add test06.
108 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
110 * include/bits/locale_facets.tcc
111 (collate::do_transform): Simplify.
113 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
115 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
116 * configure.in: Add comments pointing the way for autoconf 2.5x.
117 * aclocal.m4, config.h.in, configure: Regenerate.
119 2002-03-18 Philipp Thomas <pthomas@suse.de>
121 * include/backward/hash_map.h: hash, hashtable, hash_map and
122 hash_multimap are in namespace __gnu_cxx.
123 include/backward/hash_set.h: hash, hashtable, hash_set and
124 hash_multiset are in namespace __gnu_cxx.
125 include/backward/hashtable.h: hash and hashtable are in
127 include/backward/rope.h: char_producer, sequence_buffer,
128 rope, crope and wrope are in namespace __gnu_cxx.
129 include/backward/slist.h: slist is in namespace __gnu_cxx.
130 * testsuite/backward/header_hash_map_h.cc
131 testsuite/backward/header_hash_set_h.cc
132 testsuite/backward/header_hashtable_h.cc
133 testsuite/backward/header_rope_h.cc
134 testsuite/backward/header_slist_h.cc
135 testsuite/backward/header_tempbuf_h.cc: New tests for
136 checking that we're using the correct namespace.
138 2002-03-17 Jason Merrill <jason@redhat.com>
141 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
142 (check_exception_spec): Call it. Take the thrown pointer.
143 (__cxa_call_unexpected): Pass it.
144 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
146 2002-03-15 Anthony Green <green@redhat.com>
148 * configure.in: Remove useless is_mingw32.
149 * configure: Rebuilt.
151 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
153 * testsuite/22_locale/collate_members_char.cc
154 (test01): compare the result of collate::compare with
155 that of collate::transform + string::compare, not with
156 that of collate::transform + collate::compare.
157 (test01): values returned by collate::compare are
158 normalized, therefore test against +-1.
159 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
161 2002-03-12 Loren Rittle <ljrittle@acm.org>
163 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
164 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
166 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
167 Per Liboriussen <liborius@stofanet.dk>
169 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
171 * config/os/gnu-linux/bits/ctype_inline.h: Same.
173 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
175 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
176 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
178 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
179 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
181 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
182 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
184 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
186 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
188 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
189 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
190 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
191 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
192 that memory limits are in place.
195 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
197 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
198 * aclocal.m4: Regenerate.
199 * config.h.in: Regenerate.
200 * configure: Regenerate.
201 * include/c_std/std_cwctype.h: Guard.
203 2002-03-11 Chris Demetriou <cgd@broadcom.com>
205 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
206 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
207 * aclocal.m4: Regenerate.
208 * configure: Regenerate.
210 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
212 * include/bits/stl_bvector.h: Fix warning.
214 2002-03-11 Richard Henderson <rth@redhat.com>
216 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
218 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
220 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
221 New function. Build the list of tests to run in testsuite_files.
222 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
224 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
226 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
227 platforms with no weak support.
228 * testsuite/27_io/ios_init.cc: Likewise.
230 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
232 * include/bits/locale_facets.tcc (time_put::do_put):
233 Consider sizeof(char_type) in allocating the buffer.
235 * include/bits/locale_facets.tcc (collate::do_tranform):
236 Remove redundant variable.
238 2002-03-10 Ulrich Drepper <drepper@redhat.com>
239 Paolo Carlini <pcarlini@unitus.it>
241 * config/locale/generic/collate_members.cc
242 (collate<char,wchar_t>::_M_compare_helper): normalize
243 values returned by strcoll and wcscoll.
244 * config/locale/gnu/collate_members.cc
245 (collate<char,wchar_t>::_M_compare_helper): ditto
246 for __strcoll_l and __wcscoll_l.
248 2002-03-10 Anthony Green <green@redhat.com>
250 * configure.in: Support cross builds to mingw32 target.
251 * configure: Rebuilt.
253 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
255 * include/bits/locale_facets.tcc (collate::do_transform):
256 Rewrite to fix problems with long transformed strings.
258 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
260 * c_locale_generic.cc: Move to...
261 * generic/c_locale.cc
262 * c_locale_generic.h: Move to...
264 * codecvt_specializations_generic.h: Move to...
265 * generic/codecvt_specializations.h
266 * collate_members_generic.cc: Move to...
267 * generic/collate_members.cc
268 * ctype_members_generic.cc: Move to...
269 * generic/ctype_members.cc
270 * messages_members_generic.cc: Move to...
271 * generic/messages_members.cc
272 * messages_members_generic.h: Move to...
273 * generic/messages_members.h
274 * moneypunct_members_generic.cc: Move to...
275 * generic/monetary_members.cc
276 * numpunct_members_generic.cc: Move to...
277 * generic/numeric_members.cc
278 * time_members_generic.cc: Move to...
279 * generic/time_members.cc
280 * c_locale_gnu.cc: Move to...
282 * c_locale_gnu.h: Move to...
284 * collate_members_gnu.cc: Move to...
285 * gnu/collate_members.cc
286 * ctype_members_gnu.cc: Move to...
287 * gnu/ctype_members.cc
288 * messages_members_gnu.cc: Move to...
289 * gnu/messages_members.cc
290 * messages_members_gnu.h: Move to...
291 * gnu/messages_members.h
292 * moneypunct_members_gnu.cc: Move to...
293 * gnu/monetary_members.cc
294 * numpunct_members_gnu.cc: Move to...
295 * gnu/numeric_members.cc
296 * time_members_gnu.cc: Move to...
297 * gnu/time_members.cc
298 * c_locale_ieee_1003.1-200x.cc: Move to...
299 * ieee_1003.1-2001/c_locale.cc
300 * c_locale_ieee_1003.1-200x.h: Move to...
301 * ieee_1003.1-2001/c_locale.h
302 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
303 * ieee_1003.1-2001/codecvt_specializations.h
304 * messages_members_ieee_1003.1-200x.cc: Move to...
305 * ieee_1003.1-2001/messages_members.cc
306 * messages_members_ieee_1003.1-200x.h: Move to...
307 * ieee_1003.1-2001/messages_members.h
309 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
310 * aclocal.m4: Regenerate.
311 * configure: Regenerate.
312 * src/Makefile.am (sources): Change to monetary and numeric.
313 * src/Makefile.in: Regenerate.
314 * docs/html/configopts.html: Update to ieee_1003.1-2001.
316 2002-03-08 scott snyder <snyder@fnal.gov>
319 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
320 Allow one more digit of precision.
321 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
322 write a double and read back in the same value.
324 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
326 * include/std/std_limits.h: Move static const data members out of
327 generic template, into base class __numeric_limits_base.
328 * src/limits.cc: Add definitions.
329 * config/linker-map.gnu: Add __numeric_limits_base.
330 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
332 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
334 * include/bits/stl_alloc.h: Add extern implicit allocator
336 * include/bits/basic_string.tcc: Tweak.
337 * include/bits/locale_facets.tcc: Remove default args. Add
338 has_facet, use_facet extern instantiations.
339 * src/stl-inst.cc: Add explicit instantiation.
340 * src/locale-inst.cc: Clean. Remove locale member template
343 * testsuite/22_locale/operators.cc (test02): Enable.
345 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
346 Stephen M. Webb <stephen.webb@bregmasoft.com>
348 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
349 (_S_rb_tree_black): Make enum.
351 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
352 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
353 (__stl_threshold): _M_threshold, enum.
354 * src/stl-inst.cc: Same.
355 * config/linker-map.gnu: Remove.
357 * testsuite/23_containers/vector_bool.cc: New.
359 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
361 * docs/doxygen/user.cfg.in: Also document deprecated entries.
362 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
363 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
364 referring to the collection as a whole. New section on which macros
365 can be redefined by the user.
366 * docs/html/19_diagnostics/howto.html: Update note for concepts.
367 * docs/html/20_util/howto.html: Update link to SGI.
368 * docs/html/faq/index.html: Update snapshot versions. New entry
369 on why g++ (but not gcc) must currently predefine certain macros.
370 * docs/html/faq/index.txt: Regenerated.
372 * include/bits/basic_string.h (basic_string::_S_construct): Fix
373 names in declaration.
374 (basic_string::compare): These are no longer optional.
375 * include/bits/ostream.tcc: Tweak closing brace placement.
376 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
377 * include/std/std_sstream.h: Fix typo in comment.
378 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
379 * src/locale.cc: Likewise.
381 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
384 * include/bits/stl_vector.h (vector::push_back()): Guard with
387 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
389 * include/bits/c++config: Fix misplaced leading blanks on first line.
391 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
393 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
394 * README (libmath): Make clear.
396 2002-03-05 Jakub Jelinek <jakub@redhat.com>
398 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
399 script globbing in ld.
400 * aclocal.m4: Rebuilt.
401 * configure: Rebuilt.
403 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
405 * docs/html/17_intro/RELEASE-NOTES: Update.
406 * README: Format subdirectories.
408 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
411 * include/bits/locale_facets.tcc
412 (num_get::_M_extract_float): Fix the parsing of __dec, since
413 the standard prescribes that if no grouping characters are
414 seen, no grouping check is applied.
415 * testsuite/22_locale/num_get_members_char.cc: Add test05
416 distilled from the PR.
417 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
419 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
421 * docs/html/17_intro/porting-howto.xml: Refer to
422 http://www.oasis-open.org for docbookx.dtd.
423 * docs/html/17_intro/porting-howto.html: Regenerated.
425 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
428 * include/std/std_sstream.h: Remove trailing spaces.
429 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
430 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
432 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
434 * testsuite/22_locale/num_get_members_char.cc (test04):
435 Use a named locale expecting grouping (de_DE).
436 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
438 * testsuite/27_io/ios_manip_basefield.cc (test01):
439 Extend coverage, uniform treatment of hexs and octs.
441 2002-02-28 Richard Henderson <rth@redhat.com>
443 * config/linker-map.gnu: Export operator new with unsigned long,
444 and with std::nothrow_t. Likewise operator delete.
446 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
448 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
449 Admit grouping for octals and hexadecimals too.
450 * testsuite/22_locale/num_get_members_char.cc: Add test04.
451 (test01): Tweak "." -> "," in void* test.
452 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
454 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
455 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
457 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
459 * testsuite/27_io/ios_manip_basefield.cc (test01):
460 Fix for 64 bit machines.
462 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
465 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
467 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
468 (basic_ios::_M_fill_init): New.
469 (basic_ios::fill()): Delay dealing with _M_fill.
471 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
472 (ios_base::_M_call_callbacks): Adjust.
473 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
475 2002-02-26 Loren Rittle <ljrittle@acm.org>
477 * include/Makefile.am (thread_target_headers): Unconditionally
478 stage and install gthr-posix.h.
479 (${target_builddir}/gthr-posix.h): New rule cloned off
480 ${target_builddir}/gthr-default.h.
481 (${target_builddir}/gthr-default.h): Support chained inclusion
482 of gthr support headers.
483 * include/Makefile.in: Rebuilt.
485 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
487 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
488 Group all the integral types, not only decs.
489 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
490 tests, add a few more.
492 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
494 * src/ios.cc (ios_base::~ios_base): Tweak.
495 (ios_base::_M_call_callbacks): Deal with null __p.
496 (ios_base::ios_base): Set _M_callbacks.
497 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
498 * testsuite/27_io/ios_init.cc (test02): Fix.
500 * mkcheck.in (static_fail): Failed links go to output file.
502 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
504 * docs/html/faq/index.html: Update.
505 * docs/html/faq/index.txt: Regenerate.
507 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
509 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
510 * aclocal.m4: Regenerate.
511 * docs/html/configopts.html: Document --enable-symvers.
512 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
514 2002-02-22 Philipp Thomas <pthomas@suse.de>
516 * include/backward/tempbuf.h: get_temporary_buffer and
517 return_temporary_buffer are in namespace std, not in __gnu_cxx.
519 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
521 * configure.in (target_alias): Default to yes.
522 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
523 libgcc to default case.
525 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
527 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
528 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
529 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
530 * aclocal.m4: Regenerate.
531 * configure: Regenerate.
532 * config/linker-map.dummy: New file. Contains nothing useful.
534 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
536 * testsuite/22_locale/money_put_members_char.cc: Fix.
537 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
539 * testsuite/27_io/standard_manipulators.cc: New file.
541 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
542 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
544 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
546 * config/os/mingw32/bits/ctype_noninline.h
547 (ctype<char>::ctype): Remove default args from parm list.
548 * config/os/djgpp/bits/ctype_noninline.h: Same.
550 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
552 * include/std/std_iomanip.h: Inline, tweaks.
553 * config/linker-map.gnu: Remove hacks.
555 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
556 * testsuite/27_io/ios_init.cc: Same.
557 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
558 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
560 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
562 * config/linker-map.gnu: Export global vtable, typeinfo, guard
563 variable, and thunk info as per CXXABI docs.
565 2002-02-19 Loren Rittle <ljrittle@acm.org>
567 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
568 * include/Makefile.in: Rebuilt.
570 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
572 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
573 with size3 for the string collations of str5.
575 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
578 * include/bits/locale_facets.tcc (money_put::do_put):
579 For the space field use __fill instead of ' ', uniformly.
580 * testsuite/22_locale/money_put_members_char.cc:
581 Add test05 distilled from PR.
582 (test01-02-03): Trim some '*' to ' '.
583 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
585 2002-02-18 Loren Rittle <ljrittle@acm.org>
588 * include/Makefile.am (thread_builddir): Remove (map all
589 existing uses to target_builddir).
590 (thread_headers): Rename to...
591 (thread_target_headers): ...this.
592 (stamp-thread): Remove.
593 (stamp-target): Correctly state the position as built.
594 Update all dependencies to match the new reality. Remove all
595 dependency calculations on directories.
596 * include/Makefile.in: Rebuilt.
598 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
600 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
601 * include/bits/fstream.tcc: Same.
602 * include/bits/sstream.tcc: Same.
603 * include/bits/ostream.tcc: Same.
604 * include/bits/istream.tcc: Same.
605 * include/bits/streambuf.tcc: Same.
606 * include/bits/basic_ios.tcc: Same.
607 * include/bits/basic_string.tcc: Same.
609 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
611 * include/std/std_iosfwd.h: Don't guard typedefs with
613 * include/bits/stringfwd.h: Same.
615 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
617 * src/locale.cc (moneypunct_byname): Remove definitions.
618 * include/std/std_streambuf.h (streambuf::operator=): Return.
620 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
623 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
624 explicit instantiation.
625 (string::_Rep::_S_max_size): Same.
626 * include/bits/basic_string.tcc: Add extern explicit
627 instantiations for string, wstring.
628 * include/bits/basic_ios.tcc: Add extern explicit instantiations
630 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
631 * include/bits/istream.tcc: Same, for istream, wistream.
632 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
634 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
635 istringstream, wistringstream, ostringstream, wostringstream,
636 stringstream, wstringstream.
637 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
638 wifstream, ofstream, wofstream, fstream, wfstream.
639 * src/misc-inst.cc: Correct comments.
640 Add iomanip instantiations for wide streams.
641 * include/std/std_iomanip.h: Same.
642 * include/bits/locale_facets.tcc: Same.
644 * include/std/std_streambuf.h: Correct
645 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
646 * include/std/std_sstream.h: Same.
647 * include/std/std_ostream.h: Same.
648 * include/std/std_istream.h: Same.
649 * include/std/std_fstream.h: Same.
651 * include/std/std_streambuf.h: Add definitions for private copy
652 ctor and assignment operator.
653 * include/std/std_istream.h: Remove declared but undefined copy
654 ctor and assignment operator. This is taken care of in ios_base,
655 so adding it in the derived class as well is superfluous.
656 * include/std/std_ostream.h: Same.
658 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
659 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
661 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
663 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
664 Add typeinfo bits. Smooth.
665 * aclocal.m4: Regenerate.
667 * src/Makefile.in: Same.
669 2001-02-14 Joel Sherrill <joel@OARcorp.com>
671 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
672 which do not have a CAS instruction.
674 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
676 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
677 * configure.in: Call it.
678 * config/linker-map.gnu: New file, initial incomplete revision.
679 * src/Makefile.am: Optionally pass version script to the linker.
680 * aclocal.m4: Regenerate.
681 * configure: Regenerate.
682 * src/Makefile.in: Regenerate.
684 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
686 * src/localename.cc: Remove stdexcept include.
687 * src/locale-inst.cc: Same.
688 * src/locale.cc: Same.
689 * src/functexcept.cc: Remove string includes.
690 * include/std/std_bitset.h: Remove stdexcept include.
691 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
692 * testsuite/23_containers/bitset_ctor.cc: Same.
694 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
696 * include/bits/stl_algo (__stl_threshold): Declare external.
697 (__stl_chunk_size): Same.
698 * include/bits/stl_bvector.h (__WORD_BIT): Same.
699 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
700 (_S_rb_tree_black): Same.
701 * src/stl-inst.cc (__stl_threshold): Define.
702 (__stl_chunk_size): Same.
704 (_S_rb_tree_red): Same.
705 (_S_rb_tree_black): Same.
707 * config/io/basic_file_libio.h (__basic_file): Add declarations.
708 * include/bits/basic_file.h: Remove.
709 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
710 Declare generic types, specialization.
711 * config/io/basic_file_stdio.cc: Definitions.
712 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
713 Declare generic types.
714 * include/Makefile.am (bits_headers): Remove basic_file.h.
715 (extra_target_headers): Change basic_file_model.h to basic_file.h.
716 (stamp-target): Same.
718 * include/bits/stl_alloc.h: Tweaks.
719 * include/bits/localefwd.h: Same.
721 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
723 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
724 * testsuite/22_locale/collate_members_char.cc (test03): New test.
725 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
727 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
729 * include/bits/stl_algo.h (transform (both signatures), generate_n):
730 Use __typeof__ in concept checks.
732 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
734 * include/bits/stl_algo.h (__median, for_each, find, find_if,
735 adjacent_find, count, count_if, search, search_n, swap_ranges,
736 transform, replace, replace_if, replace_copy, replace_copy_if,
737 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
738 unique, unique_copy, reverse, reverse_copy): Doxygenate.
740 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
742 * include/bits/locale_facets.h
743 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
744 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
745 (__timepunct<_CharT>::_M_put_helper): Same.
746 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
748 * include/bits/fstream.tcc (filebuf::underflow): Remove
749 __codecvt_type typedef.
750 (filebuf::_M_convert_to_external): Same.
752 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
754 * docs/doxygen/TODO: Update.
755 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
756 * docs/doxygen/mainpage.html: Add TODO list link.
757 * docs/doxygen/user.cfg.in: Add @doctodo hook.
758 * docs/doxygen/tables.html: New file, emoty structure only.
760 * include/bits/stl_iterator.h: Doxygenate just about everything.
761 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
762 * include/bits/stl_iterator_base_types.h: Add notes.
764 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
766 * include/bits/stl_map.h: Tweak doxygen markup.
767 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
768 * include/bits/stl_vector.h: Likewise.
770 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
774 * include/std/std_fstream.h (filebuf::__file_type): Change to
776 (filebuf::_M_convert_to_external): Declare.
777 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
778 codecvt bits for wide streams.
779 (filebuf::_M_really_overflow): Use it.
780 (filebuf::underflow): Use codecvt.
781 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
782 (codecvt<__enc_traits>::do_out): Deal with partial.
783 (codecvt<__enc_traits>::do_encoding): Return something useful.
784 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
786 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
787 Change expected encoding output.
789 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
792 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
793 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
795 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
796 (basic_ios::widen): Same.
798 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
800 * testsuite/22_locale/money_get_members_char.cc:
801 Add comment, tidy up.
802 (test01): more "en_HK" tests (without showbase).
803 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
805 2002-02-06 Loren Rittle <ljrittle@acm.org>
807 * config/locale/c_locale_generic.cc: Do not trust
808 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
811 2002-02-06 Loren Rittle <ljrittle@acm.org>
813 * acinclude.m4: Add C++ linkage check for strtof.
814 * aclocal.m4: Rebuilt.
815 * config.h.in: Rebuilt.
816 * configure: Rebuilt.
817 * config/locale/c_locale_generic.cc: Conditionally include
818 <ieeefp.h>. Improve handling and error checking of float
819 and long double input for non-C99 configurations.
821 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
823 * include/bits/locale_facets.tcc (money_get::do_get(string)):
824 In case money_base::symbol deal properly with multi-char sign
825 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
826 * testsuite/22_locale/money_get_members_char.cc: Add test07.
827 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
829 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
831 * include/bits/locale_facets.tcc (money_get::do_get(string)):
832 First construct a tentative returned string, then, only if the
833 parsing succeeds, copy it into the string passed by reference.
834 * testsuite/22_locale/money_get_members_char.cc: Add test06.
835 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
837 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
839 * docs/doxygen/TODO: Impl-defined behavior now documented...
840 * docs/html/17_intro/howto.html: ...here.
841 * docs/doxygen/mainpage.doxy: Remove, rename...
842 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
843 * docs/doxygen/style.css: Add small text.
844 * docs/doxygen/run_doxygen: Adjust for new mainpage.
845 * docs/doxygen/user.cfg.in: Likewise.
847 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
849 * include/bits/stl_map.h: Initial doxygen markup.
850 * include/std/std_fstream.h: Initial doxygen markup.
852 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
855 * include/bits/locale_facets.tcc (money_get::do_get(string)):
856 Deal correctly with !(__io.flags() & ios_base::showbase)
857 for case money_base::symbol.
858 * testsuite/22_locale/money_get_members_char.cc: Add test05.
859 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
861 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
863 * testsuite/22_locale/operators.cc
864 (gnu_collate::do_compare()): Add return statement to
865 suppress "no return statement" warning.
867 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
869 * testsuite/27_io/ostream_manip.cc: Enable test02.
871 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
873 * docs/html/documentation.html: Update for 3.0.96.
874 * docs/html/faq/index.html: Update for 3.0.96.
875 * docs/html/faq/index.txt: Regenerated.
876 * docs/doxygen/TODO: Update notes.
877 * docs/html/17_intro/howto.html: Initial impl-specific listing.
879 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
881 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
882 Initialize all data members in copy ctor. Make ctors explicit.
883 (__enc_traits::__enc_traits()): Default ctor does nothing.
884 (__enc_traits::_M_init): Guard against multiple iconv_opens.
885 * include/std/std_sstream.h (basic_stringbuf): Make data members
887 * include/std/std_fstream.h (basic_filebuf): Same.
888 * include/std/std_streambuf.h: Tweak.
889 * include/bits/streambuf.tcc: Same.
890 * include/bits/sstream.tcc: Same.
891 * include/bits/fstream.tcc: Same.
893 2002-01-31 Loren Rittle <ljrittle@acm.org>
895 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
896 allow NULL argument to be passed to setenv().
897 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
898 * testsuite/22_locale/collate_members_char.cc: Likewise.
899 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
900 * testsuite/22_locale/ctype_members_char.cc: Likewise.
901 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
902 * testsuite/22_locale/messages_members_char.cc: Likewise.
903 * testsuite/22_locale/money_get_members_char.cc: Likewise.
904 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
905 * testsuite/22_locale/money_put_members_char.cc: Likewise.
906 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
907 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
908 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
909 * testsuite/22_locale/num_get_members_char.cc: Likewise.
910 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
911 * testsuite/22_locale/num_put_members_char.cc: Likewise.
912 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
913 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
914 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
915 * testsuite/22_locale/time_get_members_char.cc: Likewise.
916 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
917 * testsuite/22_locale/time_put_members_char.cc: Likewise.
918 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
920 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
922 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
924 * ChangeLog-2001: Fix spelling errors...
925 * docs/html/17_intro/RELEASE-NOTES: Update.
926 * docs/html/17_intro/TODO: Update.
927 * README (file): Update.
929 2002-01-30 Loren Rittle <ljrittle@acm.org>
931 * config/locale/c_locale_generic.cc: Check errno for ERANGE
932 instead of non-zero to aid portability.
934 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
936 * docs/html/22_locale/messages.html: Fix example code.
938 2002-01-30 Richard Henderson <rth@redhat.com>
940 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
941 out from test03 and templatize.
944 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
946 * config/locale/numpunct_members_gnu.cc
947 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
948 Fix initialization of _M_grouping for locales which have
949 _M_thousands_sep == '\0'(L'\0', respectively).
950 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
952 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
954 * testsuite/27_io/ostream_inserter_arith.cc (test03):
955 Better fix for 32/64 bit architectures, avoiding the
956 implicit assumption that CHAR_BIT == 8.
958 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
960 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
961 * Makefile.in: Regenerate.
963 * docs/doxygen/run_doxygen: Update, mostly for man pages.
964 * docs/doxygen/Intro.3: Update.
965 * docs/doxygen/TODO: Update.
966 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
967 * docs/doxygen/mainpage.doxy: Update.
968 * docs/doxygen/user.cfg.in: Update for header rename. Also
969 regenerate comments and variables with 1.2.12.
970 * docs/doxygen/maint.cfg.in: Remove file.
972 * include/bits/stl_relops.h: Doxygenate.
973 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
975 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
976 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
977 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
978 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
979 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
980 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
981 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
982 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
983 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
984 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
985 include/ext/hash_set, include/ext/iterator, include/ext/memory,
986 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
987 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
988 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
989 include/std/std_algorithm.h, include/std/std_bitset.h,
990 include/std/std_complex.h, include/std/std_deque.h,
991 include/std/std_fstream.h, include/std/std_functional.h,
992 include/std/std_iomanip.h, include/std/std_ios.h,
993 include/std/std_iosfwd.h, include/std/std_iostream.h,
994 include/std/std_istream.h, include/std/std_iterator.h,
995 include/std/std_limits.h, include/std/std_list.h,
996 include/std/std_locale.h, include/std/std_map.h,
997 include/std/std_memory.h, include/std/std_numeric.h,
998 include/std/std_ostream.h, include/std/std_queue.h,
999 include/std/std_set.h, include/std/std_sstream.h,
1000 include/std/std_stack.h, include/std/std_stdexcept.h,
1001 include/std/std_streambuf.h, include/std/std_string.h,
1002 include/std/std_utility.h, include/std/std_valarray.h,
1003 include/std/std_vector.h: Add/correct @file doxygen hook.
1005 * include/ext/memory: Doxygenate most of rest of file.
1006 * libsupc++/exception: Doxygen output formatting.
1007 * libsupc++/new: Say which header it is.
1009 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
1010 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
1011 * docs/html/23_containers/howto.html: Describe O(n) list::size().
1012 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
1014 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1015 Charles Leggett <CGLeggett@lbl.gov>
1017 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
1019 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1021 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1022 Fix to deal correctly with both 32 bit and 64 bit architectures
1024 2002-01-25 Loren Rittle <ljrittle@acm.org>
1026 * testsuite/thread/pthread1.cc: Use one condition variable
1027 per predicate instead of tricky use of one condition variable.
1029 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
1031 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
1033 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
1034 * testsuite/27_io/filebuf.cc: Compile only.
1035 * testsuite/27_io/filebuf_members.cc: Move tests to here.
1036 * testsuite/27_io/filebuf_virtuals.cc: And here.
1037 Revert sungetc, sync changes for expected values.
1038 * testsuite/27_io/filebuf-*: Move to...
1039 * testsuite/27_io/filebuf_virtuals-*: ...here.
1040 * testsuite/27_io/istream.cc: Compile only, activate.
1041 * testsuite/27_io/ostream.cc: Same.
1042 * testsuite/27_io/iostream.cc: New.
1043 * testsuite/27_io/iostream_members.cc: New.
1045 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
1047 * testsuite/thread/pthread1.cc: Enable on cygwin.
1048 * testsuite/thread/pthread2.cc: Likewise.
1049 * testsuite/thread/pthread3.cc: Likewise.
1050 * testsuite/thread/pthread4.cc: Likewise.
1051 * testsuite/thread/pthread5.cc: Likewise.
1052 * testsuite/thread/pthread6.cc: Likewise.
1054 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1056 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
1058 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1060 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1062 (basic_ios::fill(char_type)): Use fill().
1063 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1064 (basic_ios::narrow): Same.
1065 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1066 if they are invalid.
1067 (basic_ios::init): Comment.
1068 * testsuite/27_io/ios_init.cc (test02): New.
1070 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
1072 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
1073 * include/bits/stl_algo.h: Include stl_tempbuf.h.
1074 * include/ext/memory: Do not include stl_tempbuf.h.
1075 (temporary_buffer): Add doxygen hook.
1076 (__get_temporary_buffer, get_temporary_buffer,
1077 return_temporary_buffer): Move back to std:: header...
1078 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
1079 * include/ext/rope: Do not include stl_tempbuf.h.
1080 * include/ext/stl_hashtable.h: Likewise.
1081 * include/std/std_algorithm.h: Likewise.
1082 * testsuite/20_util/temporary_buffer.cc: New file.
1084 2002-01-24 andrew@andypo.net
1085 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
1088 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1089 * include/bits/localefwd.h: Likewise.
1090 Also use for std::locale::id::_S_highwater.
1091 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1092 * src/locale.cc: Support new usage of _Atomic_word.
1093 (std::locale::classic): Guard entire function against reentry.
1094 * src/localename.cc: Support new usage of _Atomic_word.
1096 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1098 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1099 _GLIBCPP_HAVE_SETENV.
1100 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1101 * testsuite/22_locale/collate_members_char.cc (test02): Same.
1102 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1103 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1104 * testsuite/22_locale/messages_members_char.cc (test02): Same.
1105 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1106 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1107 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1108 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1109 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1110 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1111 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1112 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1113 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1114 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1115 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1116 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1117 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1118 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1119 * aclocal.m4: Regenerate.
1120 * configure: Regenerate.
1121 * config.h.in: Regenerate.
1123 2002-01-23 Loren Rittle <ljrittle@acm.org>
1125 * testsuite/thread/pthread1.cc: New test.
1126 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1127 * testsuite/thread/pthread3.cc: Likewise.
1128 * testsuite/thread/pthread4.cc: New test adapted from
1129 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1130 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1131 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1133 2002-01-23 Richard Henderson <rth@redhat.com>
1136 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1137 CAS on the cpu variants that support it. Add versions that use
1138 TAS and that disable interrupts.
1139 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1141 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
1143 * include/bits/locale_facets.tcc: Remove old comments.
1145 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
1147 * include/bits/locale_facets.tcc (__convert_to_v): Change template
1149 (__convert_from_v): Same.
1151 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
1153 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1155 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1156 __max_digits checks, adjust arguments.
1157 (num_get::do_get(*)): Changeup.
1159 2002-01-23 Loren Rittle <ljrittle@acm.org>
1161 * config/locale/c_locale_generic.cc: Fix typename usage.
1163 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1165 * config/locale/c_locale_generic.cc: Fix.
1167 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1169 * docs/html/22_locale/messages.html: Remove angle brackets.
1170 * docs/html/17_intro/TODO: Add.
1172 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
1174 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1175 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1176 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1177 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1179 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1181 Audit for LANG independence.
1182 * include/bits/localefwd.h: Tweaks.
1183 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1185 (time_get::do_get_year): Same.
1186 (__convert_from_v): Add.
1187 (num_put::_M_convert_float): Use.
1188 (num_put::_M_convert_int): Same.
1189 (money_put::do_put): Same.
1191 * src/locale-inst.cc: Add instantiations for __convert_from_v.
1192 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1193 * config/locale/time_members_generic.cc:
1194 * config/locale/messages_members_gnu.cc: Same.
1195 * config/locale/messages_members_gnu.h: Same.
1197 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1198 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1199 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1200 * testsuite/22_locale/collate_members_char.cc (test02): New.
1201 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1202 * testsuite/22_locale/ctype_members_char.cc (test03): New.
1203 * testsuite/22_locale/messages_members_char.cc (test02): New.
1204 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1205 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1206 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1207 * testsuite/22_locale/money_get_members_char.cc (test04): New.
1208 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1209 * testsuite/22_locale/money_put_members_char.cc (test04): New.
1210 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1211 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1212 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1213 * testsuite/22_locale/time_put_members_char.cc (test03): New.
1214 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1215 * testsuite/22_locale/time_get_members_char.cc (test07): New.
1216 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1217 * testsuite/22_locale/num_get_members_char.cc (test03): New.
1218 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1219 * testsuite/22_locale/num_put_members_char.cc (test03): New.
1221 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1223 * testsuite/22_locale/time_get_members_char.cc: Same.
1225 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1228 * include/bits/localefwd.h: Tweak comments.
1229 * include/bits/locale_facets.h (__convert_to_v): Add.
1230 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1231 (num_get::do_get(float)): Same.
1232 (num_get::do_get(long double)): Same.
1233 (num_get::do_get(bool)): Same.
1234 (num_get::do_get(long)): Same.
1235 (num_get::do_get(long long)): Same.
1236 (num_get::do_get(unsigned int)): Same.
1237 (num_get::do_get(unsigned short)): Same.
1238 (num_get::do_get(unsigned long)): Same.
1239 (num_get::do_get(unsigned long long)): Same.
1240 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1241 * config/locale/c_locale_generic.cc: Same.
1243 2002-01-22 Loren Rittle <ljrittle@acm.org>
1245 * include/Makefile.am (c_base_builddir): Remove redundant slash.
1246 (std_builddir): Likewise.
1247 (std_headers_rename): Fix cut-n-paste typo.
1248 (install-data-local): Concat path per element instead of once to
1249 first element of list.
1250 * include/Makefile.in: Rebuilt.
1252 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1254 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1255 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1256 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1258 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
1260 * include/bits/locale_facets.h (ctype<char>::classic_table):
1262 (ctype<char>::_S_ctable): Remove.
1263 * config/os/gnu-linux/bits/ctype_noninline.h
1264 (ctype<char>::_S_table): Remove definition.
1265 (ctype<char>::classic_table): Define.
1266 (ctype<char>::ctype): Replace _S_ctable with classic_table().
1267 * config/os/aix/bits/ctype_noninline.h: Same.
1268 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1269 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1270 * config/os/djgpp/bits/ctype_noninline.h: Same.
1271 * config/os/generic/bits/ctype_noninline.h: Same.
1272 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1273 * config/os/hpux/bits/ctype_noninline.h: Same.
1274 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1275 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1276 * config/os/mingw32/bits/ctype_noninline.h: Same.
1277 * config/os/newlib/bits/ctype_noninline.h: Same.
1278 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1279 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1280 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1282 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1284 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1285 of _pctype. Use to define _S_ctable. Add definition for alternate
1286 ctor. Initialise _M_ctable to _S_ctable in ctors.
1287 (do_toupper, do_tolower): Use inline code appropriate for C-locale
1288 rather than ::toupper, ::tolower.
1290 2002-01-18 Loren Rittle <ljrittle@acm.org>
1292 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1293 Add specialization for FreeBSD systems only to avoid losing test
1294 only due to extra precision unmentioned in system headers.
1296 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
1298 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1300 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1302 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
1303 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1305 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1307 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1309 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1311 * configure.target: Define OPT_LDFLAGS for AIX case.
1313 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1315 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1316 __glibcpp_double_has_quiet_NaN): Correct mispelling.
1318 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
1320 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1322 2002-01-16 David Edelsohn <dje@watson.ibm.com>
1324 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1325 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
1326 * aclocal.m4: Regenerate.
1327 * configure: Regenerate.
1329 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1331 * include/Makefile.am (c_base_headers_rename): New.
1332 (c_base_headers_extra): New.
1333 (stamp-c_base): Modify.
1334 (install-data-local): Use both.
1335 * include/Makefile.in: Regenerate.
1336 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1337 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1338 cstdio ctime cwctype]: Move to..
1339 * include/c/std_*: Here.
1340 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1341 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1342 cstdio ctime cwctype]: Move to..
1343 * include/c_std/std_*: Here.
1345 Alexandre Oliva <aoliva@redhat.com>
1346 * include/Makefile.am (.PRECIOUS): Add rule.
1347 * include/Makefile.in: Regenerate.
1349 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1350 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1352 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1353 Deuglify, should be current.
1354 (back_insert_iterator::_M_container): Deuglify, should be container.
1355 (front_insert_iterator::_M_container): Same.
1356 (insert_iterator::_M_container): Same.
1357 * testsuite/24_iterators/reverse_iterator.cc: Add check.
1358 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1359 * testsuite/24_iterators/front_insert_iterator.cc: Same.
1360 * testsuite/24_iterators/insert_iterator.cc: Same.
1362 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1364 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1366 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1367 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1368 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1369 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1370 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1371 * config/os/newlib/bits/ctype_noninline.h: Same.
1372 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1373 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1374 * config/os/hpux/bits/ctype_noninline.h: Same.
1375 * config/os/djgpp/bits/ctype_noninline.h: Same.
1376 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1377 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1378 * config/os/aix/bits/ctype_noninline.h: Same.
1380 Testcase by Dietmar Kühl via Peter Schmid
1381 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1384 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1386 * libmath/signbitl.c: Copyright years as list, not range.
1387 * libmath/Makefile.am: Same.
1388 * libmath/Makefie.in: Regenerate.
1389 * libmath/signbit.c: Same.
1390 * libmath/nan.c: Same.
1391 * libmath/copysignf.c: Same.
1392 * libmath/signbitf.c: Same.
1393 * testsuite/22_locale/money_get_members_char.cc: Same.
1394 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1395 * testsuite/22_locale/money_put_members_char.cc: Same.
1396 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1397 * testsuite/22_locale/time_get_members_char.cc: Same.
1398 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1399 * testsuite/22_locale/time_put_members_char.cc: Same.
1400 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1401 * testsuite/21_strings/nonmember.cc: Same.
1402 * testsuite/21_strings/compare.cc: Same.
1403 * testsuite/27_io/stringstream.cc: Same.
1404 * testsuite/27_io/stringbuf.cc: Same.
1405 * testsuite/27_io/filebuf.cc: Same.
1406 * testsuite/27_io/ios_manip_basefield.cc: Same.
1407 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1408 * include/bits/cpp_type_traits.h: Same.
1409 * include/bits/generic_shadow.h: Same.
1410 * include/bits/gslice_array.h: Same.
1411 * include/bits/gslice.h: Same.
1412 * include/bits/indirect_array.h: Same.
1413 * include/bits/slice_array.h: Same.
1414 * include/bits/sstream.tcc: Same.
1415 * include/bits/streambuf_iterator.h: Same.
1416 * include/bits/valarray_array.tcc: Same.
1417 * include/bits/valarray_meta.h: Same.
1418 * include/bits/valarray_array.h: Same.
1419 * config/os/mingw32/bits/ctype_noninline.h: Same.
1420 * config/os/mingw32/bits/ctype_base.h: Same.
1421 * config/os/hpux/bits/ctype_noninline.h: Same.
1422 * config/os/hpux/bits/ctype_base.h: Same.
1423 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1424 * config/os/gnu-linux/bits/ctype_base.h: Same.
1425 * config/os/generic/bits/ctype_noninline.h: Same.
1426 * config/os/generic/bits/ctype_base.h: Same.
1428 * libsupc++/tinfo.h: Tweaks.
1430 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1432 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1433 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1434 * testsuite/22_locale/ctype_members_char.cc: Tweak.
1436 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1438 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1439 (num_put::do_put(void*)): Fix.
1440 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1441 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1442 * testsuite/22_locale/num_get_members_char.cc (test02): Add
1443 long double, void, bool types.
1444 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1446 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1447 Alexandre Oliva <aoliva@redhat.com>
1449 * libmath/Makefile.am (LINK): Add --tag CC.
1450 * libmath/Makefile.in: Regenerate.
1452 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1454 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1455 of character to attribute mapping table.
1457 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
1459 * testsuite/26_numerics/c99_classification_macros_c.cc
1460 Remove dg-error and dg-excess-errors comments.
1462 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
1464 * include/bits/locale_facets.tcc (time_put::put): Correct output
1466 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1467 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1468 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1469 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1471 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
1473 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1475 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
1476 Nathan Myers <ncm@cantrip.org>
1478 * include/bits/basic_string.h
1479 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1480 temporaries (i.e., call _M_replace_safe) when possible.
1481 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1482 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1483 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1484 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1485 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1486 * include/bits/basic_string.tcc
1487 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1488 replace(__pos, __n1, __s, __n2).
1489 * testsuite/21_strings/replace.cc (test03): New testcases.
1491 * include/bits/basic_string.h (insert(__pos, __s, __n)):
1492 Adjust comparison wrt overflow.
1494 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1496 * include/Makefile.am (std_headers_rename): New variable.
1497 (install-data-local): Use it.
1498 * include/Makefile.in: Regenerate.
1500 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1502 * include/bits/locale_facets.tcc (money_put::do_put(string):
1503 Correct output iterator value.
1504 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1505 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1507 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1509 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
1512 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1514 * include/Makefile.am (std_headers): Update list with new names.
1515 (stamp-std): Link to standardized name.
1516 * include/Makefile.in: Regenerate.
1518 * include/std/algorithm, include/std/bitset, include/std/complex,
1519 include/std/deque, include/std/fstream, include/std/functional,
1520 include/std/iomanip, include/std/ios, include/std/iosfwd,
1521 include/std/iostream, include/std/istream, include/std/iterator,
1522 include/std/limits, include/std/list, include/std/locale,
1523 include/std/map, include/std/memory, include/std/numeric,
1524 include/std/ostream, include/std/queue, include/std/set,
1525 include/std/sstream, include/std/stack, include/std/stdexcept,
1526 include/std/streambuf, include/std/string, include/std/utility,
1527 include/std/valarray, include/std/vector: Rename to...
1529 * include/std/std_algorithm.h, include/std/std_bitset.h,
1530 include/std/std_complex.h, include/std/std_deque.h,
1531 include/std/std_fstream.h, include/std/std_functional.h,
1532 include/std/std_iomanip.h, include/std/std_ios.h,
1533 include/std/std_iosfwd.h, include/std/std_iostream.h,
1534 include/std/std_istream.h, include/std/std_iterator.h,
1535 include/std/std_limits.h, include/std/std_list.h,
1536 include/std/std_locale.h, include/std/std_map.h,
1537 include/std/std_memory.h, include/std/std_numeric.h,
1538 include/std/std_ostream.h, include/std/std_queue.h,
1539 include/std/std_set.h, include/std/std_sstream.h,
1540 include/std/std_stack.h, include/std/std_stdexcept.h,
1541 include/std/std_streambuf.h, include/std/std_string.h,
1542 include/std/std_utility.h, include/std/std_valarray.h,
1543 include/std/std_vector.h: ...this.
1545 2002-01-11 Loren Rittle <ljrittle@acm.org>
1547 * include/Makefile.am (extra_target_headers): New list of all
1548 target files built with ad hoc naming rules.
1549 (stamp-*): Handle LN_S failure in manner portable across make
1551 (install-data-local): Install header files from human-maintained
1552 file lists and directory components instead of non-robust find.
1553 * include/Makefile.in: Rebuilt.
1555 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
1557 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1558 Check for zero-length negative sign before adding it to output
1560 (money_get::do_get(long double)): Return beg.
1561 * testsuite/22_locale/money_get_members_char.cc (test02): Add
1563 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1565 2002-01-10 David Seymour <seymour_dj@yahoo.com>
1568 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1569 for _M_extract_float and _M_extract_int
1570 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1571 (num_get<>::_M_extract_int): Likewise, all callers changed
1572 * testsuite/22_locale/num_get_members_char.cc: Testcase
1574 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1576 * libsupc++/exception (bad_exception): Add comment.
1577 * libsupc++/new (bad_alloc): Same.
1578 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1580 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1582 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1583 that the destructors should be removed from the descriptions
1584 in the standard: writing them explicitly allows the vtable
1585 heuristic to work. For additional information see:
1586 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1587 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1588 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1589 * libsupc++/exception (bad_exception::~bad_exception()):
1590 Reintroduce declaration.
1591 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1592 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1593 (bad_typeid::~bad_typeid()): Same.
1594 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1595 Reintroduce definition.
1596 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1597 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1598 (bad_typeid::~bad_typeid()): Same.
1600 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
1602 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1603 * include/Makefile.in: Regenerate.
1605 2002-01-09 Bo Thorsen <bo@suse.co.uk>
1607 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1610 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
1614 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1615 return value of _M_file->sync().
1616 (filebuf::showmanyc): Check for is_open.
1617 * include/std/fstream (filebuf::sync): Tweak.
1618 * testsuite/27_io/filebuf.cc: Tweak.
1620 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
1621 Brad Garcia <garsh@attbi.com>
1623 * testsuite/27_io/filebuf_members.cc: Add test.
1625 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
1626 Craig Rodrigues <rodrigc@mediaone.net>
1629 * po/Makefile.am (mkinstalldirs): Add.
1630 * po/Makefile.in: Regenerate.
1632 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
1634 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1635 testsuite/lib/prune.exp: Delete lines ":In function ..." from
1637 * testsuite/23_containers/map_operators.cc: Remove
1638 dg-excess-errors comment.
1639 * testsuite/23_containers/set_operators.cc: Likewise.
1641 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
1643 * include/bits/stl_function.h: Remove two lines of comments;
1644 adjust copyright years.
1646 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
1648 * include/Makefile.am (std_headers): Remove cXXX from list.
1649 (c_base_srcdir): No bits subdirectory.
1650 (c_base_builddir): Same.
1651 (c_base_headers): Adjust names, add ciso646.
1652 (bits_headers): Remove std_xxx.h headers.
1653 * include/Makefile.in: Regenerate.
1655 * include/ext/iterator: Adjust includes.
1656 * include/ext/ropeimpl.h: Same.
1657 * include/ext/stl_hash_fun.h: Same.
1658 * include/ext/algorithm: Same.
1660 * include/backward/bvector.h: Adjust includes.
1661 * include/backward/vector.h: Same.
1662 * include/backward/strstream: Same.
1663 * include/backward/streambuf.h: Same.
1664 * include/backward/stack.h: Same.
1665 * include/backward/set.h: Same.
1666 * include/backward/queue.h: Same.
1667 * include/backward/multiset.h: Same.
1668 * include/backward/multimap.h: Same.
1669 * include/backward/map.h: Same.
1670 * include/backward/list.h: Same.
1671 * include/backward/iterator.h: Same.
1672 * include/backward/iostream.h: Same.
1673 * include/backward/iomanip.h: Same.
1674 * include/backward/fstream.h: Same.
1675 * include/backward/deque.h: Same.
1676 * include/backward/complex.h: Same.
1678 * include/bits/std_algorithm.h: Move to...
1679 * include/std/algorithm: ...here.
1680 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1681 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1682 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1683 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1684 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1685 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1686 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1689 * include/c_std/bits/std_cassert.h: Move to...
1690 * include/c_std/cassert: Here.
1691 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1692 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1693 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1694 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1695 std_cwctype.h: Same.
1696 * include/c_std/cmath: Adjust cmath.tcc include.
1697 * include/c_std/cstdlib: Adjust includes.
1698 * include/c_std/cwchar: Same.
1699 * include/c_std/ctime: Same.
1700 * include/c_std/cstring: Same.
1701 * include/c_std/cstdio: Same.
1702 * include/c_std/bits: Remove directory.
1704 * include/c/bits/std_cassert.h: Move to...
1705 * include/c/cassert: Here.
1706 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1707 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1708 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1709 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1710 std_cwctype.h: Same.
1711 * include/c/bits: Remove directory.
1713 * include/std/cwctype: Remove.
1714 * include/std/cwchar: Remove.
1715 * include/std/ctime: Remove.
1716 * include/std/cstring: Remove.
1717 * include/std/cstdlib: Remove.
1718 * include/std/cstdio: Remove.
1719 * include/std/cstddef: Remove.
1720 * include/std/cstdarg: Remove.
1721 * include/std/csignal: Remove.
1722 * include/std/csetjmp: Remove.
1723 * include/std/cmath: Remove.
1724 * include/std/clocale: Remove.
1725 * include/std/climits: Remove.
1726 * include/std/ciso646: Remove.
1727 * include/std/cfloat: Remove.
1728 * include/std/cerrno: Remove.
1729 * include/std/cctype: Remove.
1730 * include/std/cassert: Remove.
1732 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1733 files and subsituting <xxx>.
1734 * include/bits/valarray_array.h: Same.
1735 * include/bits/stl_uninitialized.h: Same.
1736 * include/bits/stl_alloc.h: Same.
1737 * include/bits/stl_algobase.h: Same.
1738 * include/bits/sstream.tcc: Same.
1739 * include/bits/pthread_allocimpl.h: Same.
1740 * include/bits/ostream.tcc: Same.
1741 * include/bits/localefwd.h: Same.
1742 * include/bits/locale_facets.tcc: Same.
1743 * include/bits/locale_facets.h: Same.
1744 * include/bits/istream.tcc: Same.
1745 * include/bits/char_traits.h: Same.
1746 * include/bits/boost_concept_check.h: Same.
1747 * include/bits/basic_file.h: Same.
1748 * include/std/bitset: Same.
1749 * include/std/complex: Same.
1750 * include/std/fstream: Same.
1751 * include/std/functional: Same.
1752 * include/std/ios: Same.
1753 * include/std/iostream: Same.
1754 * include/std/ostream: Same.
1755 * include/std/sstream: Same.
1756 * include/std/streambuf: Same.
1757 * include/std/string: Same.
1758 * include/std/iterator: Same.
1759 * include/std/valarray: Same.
1761 * src/ios.cc: Adjust includes.
1762 * src/valarray-inst.cc: Same.
1763 * src/string-inst.cc: Same.
1764 * src/stl-inst.cc: Same.
1765 * src/stdexcept.cc: Same.
1766 * src/misc-inst.cc: Same.
1767 * src/localename.cc: Same.
1768 * src/locale-inst.cc: Same.
1769 * src/locale.cc: Same.
1770 * src/limits.cc: Same.
1771 * src/concept-inst.cc: Same.
1772 * src/complex_io.cc: Same.
1773 * src/codecvt.cc: Same.
1774 * src/bitset.cc: Same.
1775 * src/cmath.cc: Same.
1777 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
1779 * include/bits/stl_tree.h (rb_tree): Move to...
1780 * include/ext/rb_tree: ...here, new file.
1781 * include/Makefile.am (ext_headers): Add new file.
1782 * include/Makefile.in: Regenerate.
1783 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1784 return_temporary_buffer, struct temporary_buffer): Move to...
1785 * include/ext/memory: ...here.
1786 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
1787 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
1788 * include/backward/tree.h: Include <ext/rb_tree), tweak.
1790 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
1792 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
1793 * include/ext/numeric: ...here, new file.
1794 * include/bits/stl_function.h (identity_element, unary_compose,
1795 binary_compose, compose1, compose2, identity, select1st,
1796 select2nd, project1st + helper, project2nd + helper,
1797 constant_void_fun + helper, constant_unary_fun + helper,
1798 costant_binary_fun + helper, constant0, constant1, constant2,
1799 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
1800 * include/ext/functional: ...here, new file.
1801 * include/Makefile.am (ext_headers): Add new files.
1802 * include/Makefile.in: Regenerate.
1803 * testsuite/ext/headers.cc: Include <ext/numeric> and
1805 * include/backward/algo.h: Include <ext/numeric>, tweak.
1806 * include/backward/function.h: Include <ext/functional>, tweak.
1807 * include/ext/ropeimpl.h: Include <ext/numeric>.
1809 2002-01-03 Jeffrey A Law <law@redhat.com>
1811 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1812 __strtoull declarations with __extension__.
1814 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
1816 * testsuite/lib/prune.exp: Correct regular expression for
1819 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1821 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1822 Change concept checks, as with lower_bound and PR 2054.
1823 * testsuite/ext/concept_checks.cc: Expand test to include those.
1825 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1827 * include/bits/boost_concept_check.h: Import some changes from
1828 upsteam (Boost) version.
1830 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
1832 * include/bits/stl_algobase.h (copy_n + helpers,
1833 lexicographical_compare_3way + helpers): Move to...
1834 * include/ext/algorithm: ...here.
1835 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
1836 helpers): Move to...
1837 * include/ext/memory: ...here, new file.
1838 * include/Makefile.am (ext_headers): Add new file.
1839 * include/Makefile.in: Regenerate.
1840 * testsuite/ext/headers.cc: Include <ext/memory>.
1841 * include/backward/algobase.h: Include <ext/memory> and
1842 <ext/algorithm>, tweak.
1843 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
1844 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
1846 2002-01-01 Roger Sayle <roger@eyesopen.com>
1848 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
1849 equivalent ___builtin__ versions.
1851 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
1852 are available in libstdc++ as the necessary stub implementations
1853 are provided by libmath/stubs.c.
1855 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
1857 * configure.in: Add support for NetBSD cross compiles.
1858 * configure: Regenerate.