1 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
2 Mark Mitchell <mark@codesourcery.com>
5 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
7 (__class_type_info): And here.
9 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
13 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
14 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
15 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
16 (__vmi_class_type_info::__base_info): Don't make const, of type
17 __base_class_type_info, as per 2.9.5p6c
18 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
20 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
22 (__pointer_to_member_type_info::__context_class): Change member to
23 __context, as per 2.9.5p9.
24 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
26 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
28 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
30 * libsupc++/tinfo.cc (__do_dyncast): Same.
31 * libsupc++/tinfo.cc (__do_upcast): Same.
33 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
35 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
37 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
39 * docs/html/22_locale/howto.html: Fix.
41 2002-07-31 Alex Kompel <shurik@sequoiap.com>
44 * src/locale.cc (locale::classic): Move locks inside !_S_classic
47 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
49 * docs/html/abi.txt: Update.
51 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
52 Gabriel Dos Reis <gdr@nerim.net>
54 * include/bits/char_traits.h: Remove generic definitions.
55 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
57 * include/bits/istream.tcc (istream::readsome): Don't check
58 against eof, instead use constants.
59 (istream::sync): Same.
60 (istream::sentry::sentry): Use eq_int_type.
62 * include/bits/ostream.tcc: Change __pad to
63 __pad<_CharT, _Traits>::_S_pad.
64 * include/bits/locale_facets.h: Add __pad_traits generic and
65 ostreambuf_iterator specialization.
66 * include/bits/locale_facets.tcc: Change __pad into struct __pad
67 with a _CharT and _Traits template parameter and _S_pad static
69 * src/locale-inst.cc: Update __pad instantiations.
71 * include/std/std_fstream.h: Declare _M_underflow_common
73 * src/fstream.cc: New. Add _M_underflow_common specializations.
74 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
75 (filebuf::_M_underflow_common(bool)): Remove generic version, as
76 sys_ungetc and custom int_types don't get along.
77 * include/std/std_streambuf.h: Add _M_pos.
78 * src/Makefile.am (sources): Add fstream.cc.
79 * src/Makefile.in: Regenerate.
81 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
82 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
83 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
84 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
85 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
86 * testsuite/27_io/filebuf.cc: ...here.
87 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
88 specialization for both.
89 * testsuite/27_io/streambuf.cc: Add instantiation test,
90 testsuite_hooks include.
91 * testsuite/27_io/istream.cc: Same.
92 * testsuite/27_io/ostream.cc: Same.
93 * testsuite/27_io/fstream.cc: Same.
94 * testsuite/27_io/stringstream.cc: Same.
95 * testsuite/27_io/filebuf.cc: Same.
96 * testsuite/27_io/stringbuf.cc: Same.
98 2002-07-29 Alan Modra <amodra@bigpond.net.au>
100 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
101 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
102 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
103 (__test_and_set): Remove.
104 (_STWCX): Define and use.
106 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
108 * libsupc++/new (placement delete): Remove unused paramater names.
110 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
113 * include/std/std_istream.h (basic_iostream): Add typedefs for
114 char_type, int_type, pos_type, off_type, and traits_type.
115 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
116 * testsuite/27_io/istream.cc: Same.
117 * testsuite/27_io/ostream.cc: Same.
118 * testsuite/27_io/filebuf.cc: Same.
119 * testsuite/27_io/stringbuf.cc: Replace content, move to...
120 * testsuite/27_io/stringbuf_members.cc: ...here.
121 * testsuite/27_io/streambuf.cc: Replace content, move to...
122 * testsuite/27_io/streambuf_members.cc: ...here.
123 * testsuite/27_io/stringstream.cc: Replace content, move to...
124 * testsuite/27_io/stringstream_members.cc: ...here.
125 * testsuite/27_io/ios.cc: New file.
126 * testsuite/27_io/fstream.cc: New file.
127 * testsuite/27_io/ifstream.cc: New file.
128 * testsuite/27_io/ofstream.cc: New file.
129 * testsuite/27_io/istringstream.cc: New file.
130 * testsuite/27_io/ostringstream.cc: New file.
132 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
135 * include/bits/istream.tcc (istream::ignore): Don't extract on
137 * testsuite/27_io/istream_unformatted.cc (test10): Add.
139 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
141 * testsuite/27_io/ios_base_type.cc: Move to...
142 * testsuite/27_io/ios_base_types.cc: ...here.
144 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
147 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
148 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
150 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
153 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
154 * include/Makefile.am (backward_headers): Use strstream, not
156 * include/Makefile.in: Regenerate.
157 * include/backward/strstream: Revert.
158 * include/backward/strstream.h: Remove.
159 * src/strstream.cc: Revert.
160 * testsuite/backward/strstream_members.cc: Change include.
162 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
165 * include/bits/ios_base.h (ios_base::streampos): Add.
166 (ios_base::streamoff): Add.
167 * testsuite/27_io/ios_base_type.cc: New.
169 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
172 * libsupc++/new: Add placement delete.
173 * testsuite/18_support/new_delete_placement.cc: New.
175 * docs/html/abi.txt: Fix typos.
177 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
179 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
180 confusing usage of "latest."
181 De-tangle contributor information from introductory notes.
182 Move abi.txt link placement, activate.
184 Move chapter info into old FAQ format.
185 * docs/html/organization.html: Removed, obsoleted by doxygen work.
186 * docs/html/abi.txt: Add notes on testing ABI changes.
188 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
190 * docs/html/abi.txt: New file.
191 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
192 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
193 Import from upstream, R22.
195 * include/bits/char_traits.h, include/bits/stl_iterator.h,
196 include/bits/stl_iterator_base_types.h, libsupc++/exception,
197 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
199 * include/bits/deque.tcc, include/bits/stl_alloc.h,
200 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
201 of deprecated functions until 3.4. (Same timeframe, different text.)
202 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
203 the other sequence classes received.
205 2002-07-18 Brendan Kehoe <brendan@zen.org>
207 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
210 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
213 * include/bits/slice_array.h
214 (slice_array<T>::operator=(const T&)): Constify.
215 * include/bits/gslice_array.h
216 (gslice_array<T>::operator=(const T&)): Likewise.
217 * include/bits/mask_array.h
218 (mask_array<T>::operator=(const T&)): Likewise.
219 * include/bits/indirect_array.h
220 (indirect_array<T>::operator=(const T&): Likewise.
222 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
224 * docs/doxygen/run_doxygen: Remove template parameter names from
225 "Compound List" summary page. Reformat.
226 * docs/html/documentation.html: XHTML fixes.
228 2002-07-16 Andreas Schwab <schwab@suse.de>
230 * libsupc++/new (set_new_handler): Declare to not throw any
232 * libsupc++/new_handler.cc (set_new_handler): Likewise.
234 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
236 * include/Makefile.am (bits_headers): Remove slice.h
237 * include/Makefile.in: Regenerate.
238 * include/bits/slice.h (slice): move to include/bits/slice_array.h
239 * include/bits/slice.h Remove.
240 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
241 * include/bits/slice_array.h: Comply to official coding styles.
242 * testsuite/26_numerics/slice.cc: New test.
244 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
246 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
247 print to match vendor <ctype.h>.
249 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
251 * docs/html/faq/index.html: Fix download links.
252 * docs/html/faq/index.txt: Regenerate.
253 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
255 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
257 * configure.target (target_os switch): Allow for irix6*o32
260 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
262 * include/bits/valarray_meta.h (_UnFunBase): Take a second
263 template parameter. Remove _M_func data member.
264 (_UnFunClos): Take a third template parameter.
265 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
266 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
267 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
269 2002-07-08 Eric Christopher <echristo@redhat.com>
271 * configure.target: Fix comment for mips atomicity. Add
272 mips*-*-linux* target, enable atomic operations there.
273 * config/cpu/mips/atomicity.h: Fix comments, remove
274 #ifndef/#endif. Add push/pop mips2.
276 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
278 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
279 member declarations to avoid compiler warnings and restore 3.1 ABI.
281 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
283 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
286 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
289 * include/bits/stl_deque.h (_Deque_iterator::operator-):
290 Make non-member, as already happens for the comparison
291 operators in accord with DR179 (Ready).
292 * testsuite/23_containers/deque_operators.cc: Add test02.
294 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
295 Jack Reeves <jackw_reeves@hotmail.com>
297 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
298 size_t, from int_type.
299 (basic_streambuf::_M_buf_size_opt): Same.
300 (basic_streambuf::_S_pback_sizex): Same.
301 * include/bits/streambuf.tcc: Same.
302 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
304 (basic_streambuf::uflow): Same.
305 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
307 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
308 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
310 (basic_streambuf::xsputn): Same.
311 (__copy_streambufs): Same.
313 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
315 * include/std/std_memory.h: Fix formatting.
316 * testsuite/20_util/auto_ptr_neg.cc: New.
317 * testsuite/20_util/auto_ptr.cc: Tweaks.
318 * testsuite/23_containers/map_operators.cc (test01): Split into..
319 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
320 * testsuite/23_containers/set_operators.cc: Move to...
321 * testsuite/23_containers/set_operators_neg.cc: ...here.
322 * testsuite/README: Add some more naming rules.
324 2002-07-03 Steev Wilcox <steev@paradigmds.com>
327 * include/ext/stl_hashtable.h: Fix.
328 * testsuite/ext/hash_map.cc: New.
330 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
331 Kenny Simpson <theonetruekenny@yahoo.com>
332 Phil Edwards <pme@gcc.gnu.org>
335 * testsuite/20_util/auto_ptr.cc (test08): New test.
336 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
337 (auto_ptr::operator auto_ptr_ref): Fix typo.
338 General reformatting and doxygenating of the whole file.
340 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
343 * include/c/std_cwchar.h: Fix.
345 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
348 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
349 char* name parameter.
350 * config/locale/gnu/monetary_members.cc: Use it.
351 * config/locale/generic/monetary_members.cc: Same.
352 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
354 * include/backward/strstream.h: Update date.
356 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
359 * include/bits/stl_iterator.h
360 (__normal_iterator::operator-(const __normal_iterator&)):
361 Make non-member, as already happens for the comparison
362 operators in accord with DR179 (Ready).
363 * testsuite/24_iterators/iterator.cc: Add test from the PR.
365 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
368 * acinclude.m4: Simplify determination of gcc_version, and move
369 up to GLIBCPP_CONFIGURE.
370 * configure.in (release_VERSION): Really remove.
371 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
372 * aclocal.m4, configure: Regenerate.
374 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
376 * docs/html/configopts.html, docs/html/install.html: Tweaks.
377 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
378 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
379 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
381 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
383 * include/backward/strstream: Remove namespace std. Transfer to...
384 * include/backward/strstream.h: ...here. Qualify std names.
385 * src/strstream.cc: Remove namespace std.
386 * include/Makefile.am (backward_headers): Remove strstream.h.
387 * include/Makefile.in: Regenerate.
388 * config/linker-map.gnu: Export strstream bits.
390 * src/fstream-inst.cc: Tweak.
391 * src/io-inst.cc: Same.
392 * src/istream-inst.cc: Same.
393 * src/misc-inst.cc: Same.
394 * src/ostream-inst.cc: Same.
395 * src/sstream-inst.cc: Same.
396 * src/valarray-inst.cc: Same.
397 * src/misc-inst.cc: Remove unused instantiations.
399 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
401 * configure.in (libtool_VERSION): Bump to 5:0:0.
402 * configure: Regenerate.
404 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
406 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
407 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
408 * include/std/std_stack.h: Include deque.tcc.
409 * testsuite/23_containers/adaptors.cc: New file.
411 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
413 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
414 * docs/html/ext/howto.html: Update allocator notes.
416 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
418 * configure.in (INTERFACE): Remove.
419 (release_VERSION): Remove.
420 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
421 (libstdcxx_interface): Change. Use gcc methods to determine version.
422 * configure: Regenerate.
423 * aclocal.m4: Regenerate.
425 2002-06-25 DJ Delorie <dj@redhat.com>
427 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
428 GLIBCPP_TOPREL_CONFIGURE.
429 * aclocal.m4: Likewise.
430 * configure.in: Call it before AC_CANONICAL_SYSTEM.
431 * configure: Regenerate.
433 2002-06-25 Jessica Han <jessica@cup.hp.com>
435 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
436 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
437 _GLIBCPP_VTABLE_PADDING is defined.
439 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
441 * include/bits/stl_alloc.h: Additional formatting.
443 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
445 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
447 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
449 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
450 * config/os/*/bits/*: Likewise.
451 * configure.in: Update.
452 * configure: Regenerate.
453 * configure.target: Update.
454 * docs/html/17_intro/porting.texi: Update.
456 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
458 * include/bits/stl_map.h, include/bits/stl_multimap.h,
459 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
460 complete doxygenation.
461 * include/bits/boost_concept_check.h: Minor comment.
463 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
465 * include/c_compatibility: New.
466 * include/c_compatibility/assert.h: New.
467 * include/c_compatibility/ctype.h: New.
468 * include/c_compatibility/errno.h: New.
469 * include/c_compatibility/float.h: New.
470 * include/c_compatibility/iso646.h: New.
471 * include/c_compatibility/limits.h: New.
472 * include/c_compatibility/locale.h: New.
473 * include/c_compatibility/math.h: New.
474 * include/c_compatibility/setjmp.h: New.
475 * include/c_compatibility/signal.h: New.
476 * include/c_compatibility/stdarg.h: New.
477 * include/c_compatibility/stddef.h: New.
478 * include/c_compatibility/stdio.h: New.
479 * include/c_compatibility/stdlib.h: New.
480 * include/c_compatibility/string.h: New.
481 * include/c_compatibility/time.h: New.
482 * include/c_compatibility/wchar.h: New.
483 * include/c_compatibility/wctype.h: New.
485 * include/c/std_cerrno.h: Get out of the way... define errno.
486 * include/c/std_cmath.h: Add abs, modf overloads.
487 Undefine C99 isms. Still not sure how to deal with this sanely.
488 * include/c/std_csetjmp.h: Tweak.
489 * include/c/std_cwchar.h: Include cstddef for size_t.
491 * include/c_std/std_cmath.h: Remove extra function.
493 Pendantic std usage in testsuites.
494 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
496 * testsuite/17_intro/header_cwchar.cc: Tweak.
497 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
499 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
500 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
501 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
502 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
503 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
504 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
505 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
506 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
507 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
508 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
509 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
510 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
511 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
512 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
513 * testsuite/22_locale/num_get_members_char.cc: Same.
514 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
515 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
516 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
517 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
518 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
519 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
520 * testsuite/22_locale/messages_members_char.cc (test03): Same.
521 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
522 * testsuite/22_locale/collate_members_char.cc (test04): Same.
523 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
524 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
525 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
527 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
529 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
532 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
534 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
535 Use size_type instead of unsigned long.
537 2002-06-20 Steve Ellcey <sje@cup.hp.com>
539 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
543 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
545 * include/Makefile.am: Add rules.
546 * include/Makefile.in: Regenerate.
548 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
549 * aclocal.m4: Regenerate.
550 * configure: Regenerate.
551 * configure.target (c_model, c_compatibility): Add.
553 * libsupc++/Makefile.am (c_sources): New.
554 (libsupc___la_SOURCES): Add c_sources.
555 (LTCOMPILE): Remove INCLUDES.
557 (C_COMPILE): New, like COMPILE but without INCLUDES.
558 (cxa_demangle.o): Use C_COMPILE.
559 (dyn-string.o): Use C_COMPILE.
561 * include/c/std_cstdarg.h: Define __need___va_list.
562 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
563 need_NULL, need_offsetof.
565 2002-06-19 Steve Ellcey <sje@cup.hp.com>
567 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
568 definitions in hpux11 cross-build because these functions do
569 not exist on hpux11 (but some exist on hpux10); move defaults out
570 into existing sections.
571 * configure: Regenerate.
573 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
575 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
576 * include/c/std_cwctype.h: Guard.
578 * libsupc++/eh_alloc.cc: Tweak include order.
579 * libsupc++/pure.cc: Use cstdio.
580 * libsupc++/new_op.cc: Remove malloc forward declaration, as
581 cstdlib brings it in. Use std::malloc.
583 * src/Makefile.am (sources): Remove cmath.cc.
584 * src/Makefile.in: Regenerate.
585 * src/cmath.cc: Remove.
587 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
589 * configure.target: Force mips to use the generic cpu routines.
591 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
593 * configure.host: Delete file.
594 * configure.target: More documentation. Factor out common parts of
595 script into "intelligent" settings about defaults. Remove redundancy.
597 * acinclude.m4: Update comments. Do not call configure.host.
598 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
600 * configure.in: Slight reformatting, more comments. Factor out
601 "config/" from all the directories.
602 * docs/html/17_intro/porting.texi: Update and expand.
603 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
606 * aclocal.m4, configure, docs/html/17_intro/porting.html,
607 testsuite/Makefile.in: Regenerate.
609 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
611 * docs/doxygen/TODO: Update.
612 * docs/doxygen/tables.html: Uncomment magical middle column.
613 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
614 * include/bits/stl_queue.h: Doxygenate and reformat.
615 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
616 for deprecated names required by the standard.
618 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
620 * configure.in (target_alias): Fix.
621 * configure: Regenerate.
622 * aclocal.m4: Regenerate.
624 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
626 * include/Makefile.am: Add new files.
627 * include/Makefile.in: Regenerate.
629 * include/bits/stl_deque.h, include/bits/stl_list.h,
630 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
631 * include/bits/deque.tcc, include/bits/list.tcc,
632 include/bits/vector.tcc: ...to here. New files.
634 * include/ext/stl_hashtable.h: Inclide correct full headers.
635 * include/std/std_deque.h: Include .tcc files for now.
636 * include/std/std_list.h: Likewise.
637 * include/std/std_vector.h: Likewise.
639 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
641 * Makefile.am: Add FLAGS_TO_PASS.
642 * Makefile.in: Regenerated.
644 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
645 Benjamin Kosnik <bkoz@redhat.com>
647 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
649 * configure.in: Add support for *-qnx6.[12]*.
650 * configure: Regenerate.
652 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
654 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
655 ctype_noninline.h, os_defines.h: New files.
657 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
659 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
660 include all required headers for test against older POSIX standard.
661 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
662 (ac_setrlimit): Likewise.
663 * aclocal.m4: Regenerate.
664 * configure: Regenerate.
665 * testsuite/testsuite_hooks.cc: Reorder and include all
666 required headers for use against older POSIX standard.
668 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
670 * testsuite/backwards/strstream_members.cc: New.
672 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
674 * include/backwards/strstream: Format.
675 * src/strstream.cc: Format.
677 2002-06-08 Andreas Schwab <schwab@suse.de>
679 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
680 _M_buf_size and _M_buf_size_opt to the new buffer and size.
682 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
684 * config/os/generic/bits/ctype_noninline.h: Tweak format.
686 2002-06-07 Steve Ellcey <sje@cup.hp.com>
688 * src/locale-inst.cc (__codecvt_abstract_base):
689 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
690 * include/bits/istream.tcc (basic_istream): Ditto.
693 * include/bits/ostream.tcc (basic_ostream): Ditto.
699 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
701 * mkcheck.in: Link against local testsuite library.
702 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
703 implementation out...
704 * testsuite/testsuite_hooks.cc: ...to here.
706 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
708 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
709 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
710 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
711 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
712 * testsuite/Makefile.in: Likewise.
714 2002-06-05 David Edelsohn <edelsohn@gnu.org>
716 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
717 Call external symbol.
719 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
721 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
722 Search correct multilib testsuite dir for libv3test.
724 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
725 Gaby Dos Reis <gdr@codesourcery.com>
727 * include/bits/basic_string.tcc
728 (basic_string::_S_construct(forward_iterator_tag):
729 Fix typo in null pointer check.
730 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
732 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
734 * testsuite/22_locale/money_get_members_char.cc
735 (test02): Add decimal point to long double constants.
736 * testsuite/22_locale/money_get_members_wchar_t.cc
738 * testsuite/22_locale/money_put_members_char.cc
739 (test02, test03, test06): Likewise.
740 * testsuite/22_locale/money_put_members_wchar_t.cc:
741 (test02, test03, test06): Likewise.
742 * testsuite/22_locale/num_get_members_char.cc:
743 (test02, test01): Likewise; suffix long long constants with LL.
744 * testsuite/22_locale/num_get_members_wchar_t.cc:
745 (test02, test01): Likewise.
746 * testsuite/22_locale/num_put_members_char.cc:
747 (test02, test01): Likewise.
748 * testsuite/22_locale/num_put_members_wchar_t.cc:
749 (test02, test01): Likewise.
751 2002-06-03 Marc Espie <espie@openbsd.org>
753 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
754 assembly for old assemblers.
756 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
758 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
760 (vector<bool>::swap(reference,reference)): ...to this.
762 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
764 * docs/doxygen/TODO: Update.
765 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
766 some class members are in 14882 order.
767 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
769 * include/std/std_bitset.h: Update comment.
770 * src/bitset.cc: Update comments, clean up spacing.
772 * src/Makefile.am (sources): Alphabetize for convenience.
773 * src/Makefile.in: Regenerate.
775 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
777 * include/bits/stl_deque.h, include/bits/stl_list.h,
778 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
779 Reorder to match 14882. Doxygen blocks for all public members.
781 2002-05-31 Marcus Meissner <meissner@suse.de>
784 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
785 * testsuite/23_containers/vector_bool.cc (test02): New test.
787 2002-05-30 Marc Espie <espie@openbsd.org>
789 * configure.in: Always check for sys/types.h
790 * configure: Regenerate.
792 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
794 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
795 Rebuild the wrapper file every time this proc is called.
797 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
799 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
801 * testsuite/Makefile.in: Regenerate.
802 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
803 list_modifiers.cc and rename from 'T'. Move code bodies...
804 * testsuite/testsuite_hooks.cc: ...to here. New file.
805 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
806 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
807 Add libv3test.a to link options.
809 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
811 * src/misc-inst.cc: Define unnecessary algorithm
812 instantiations. Break apart instantiations into groupings below.
813 * src/fstream-inst.cc: New.
814 * src/io-inst.cc: New.
815 * src/istream-inst.cc: New.
816 * src/ostream-inst.cc: New.
817 * src/streambuf-inst.cc: New.
818 * src/sstream-inst.cc: New.
819 * src/Makefile.am (sources): Add files.
820 * src/Makefile.in: Regenerate.
822 * acinclude.m4: Work around automake 1.4-p5 bug, change
823 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
825 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
828 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
829 (classic_table): Fix.
830 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
832 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
834 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
835 _GLIBCPP_USE_WCHAR_T.
836 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
837 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
838 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
840 2002-05-26 Carlo Wood <carlo@alinoe.com>
841 Paolo Carlini <pcarlini@unitus.it>
844 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
845 (__enc_traits::operator=): add missing return statement.
847 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
850 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
851 (operator>>): If nothing was extracted, don't fail in the
853 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
855 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
858 * testsuite/22_locale/ctype_narrow_char.cc: New.
859 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
860 * testsuite/22_locale/ctype_widen_char.cc: New.
861 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
862 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
863 * testsuite/22_locale/ctype_is_char.cc: ...this.
864 * testsuite/22_locale/ctype_to_char.cc: ...and this.
865 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
866 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
867 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
869 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
871 2002-05-24 Dale Peakall <dale@peakall.net>
874 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
875 * config/locale/generic/ctype_members.cc: Same.
877 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
880 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
881 for empty string literal.
882 (ostream::operator<<(const _CharT*)): Same.
883 (ostream<char>::operator<<(const char*)): Same.
884 (ostream<char>::operator<<(streambuf*)): Same.
885 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
886 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
888 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
890 * configure.in (release_VERSION): Update to 3.1.1.
891 (libtool_VERSION): Update to 4:1:0.
892 * configure: Regenerate.
894 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
896 * include/bits/stl_pair.h: Tweak comment markup.
898 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
900 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
902 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
904 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
906 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
908 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
909 Doxygenate all public members. Reorder to follow 14882.
910 (vector::push_back(void)): Remove previously-deprecated fn.
911 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
912 Deprecate for removal in 3.3.
914 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
916 * docs/html/faq/index.html (5.4): Recommend against -I options for
917 finding the ext headers.
918 * docs/html/faq/index.txt: Regenerate.
920 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
922 * testsuite/23_containers/deque_operators.cc (test01):
923 Fix minor typo in last commit.
925 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
928 * include/bits/stl_deque.h (_Deque_iterator::operator==,
929 operator!=, operator<, operator>, operator>=, operator<=):
930 Make non-member functions, to allow comparing const and
931 non-const iterators in any order.
932 * testsuite/23_containers/deque_operators.cc: New testfile.
934 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
936 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
937 * docs/html/faq/index.txt: Regenerate.
939 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
941 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
942 * acinclude.m4: Likewise.
943 * docs/html/Makefile: Likewise.
944 * aclocal.m4: Regenerate.
945 * configure: Regenerate.
946 * Makefile.in: Regenerate.
948 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
951 * include/bits/c++config (__USE_MALLOC): Report case where
952 the user improperly defined it on the command line.
954 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
956 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
957 Retrieve current limits before setting.
959 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
962 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
964 (ostream::operator<<(const _CharT*)): Same.
965 (ostream<char>::operator<<(const char*)): Same.
966 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
968 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
971 * src/strstream.cc (strstreambuf): Fix leak.
973 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
976 * include/bits/istream.tcc (istream::getline, ignore):
977 Upon __idelim (__delim) call sbumpc() not snextc().
978 * testsuite/27_io/narrow_stream_objects.cc:
979 Add test08 and test09.
981 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
983 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
984 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
986 * docs/html/install.html: Fix.
988 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
990 * include/bits/fstream.tcc
991 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
993 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
995 * docs/html/install.html: Tweak, add bits about required locales
996 for the 22_locale tests when using the gnu model.
998 * testsuite/27_io/istream_sentry.cc: Tweak.
1000 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1002 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1003 Fix typo, use this->is() rather than manually (and perhaps
1004 incorrectly) inlining it.
1005 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1007 * testsuite/22_locale/ctype_scan_char.cc: New file.
1009 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1010 Jakub Jelinek <jakub@redhat.com>
1012 * testsuite/22_locale/money_get_members_char.cc
1013 (test01, test02, test04): Use the de_DE@euro named locale
1014 instead of de_DE to allow for an uniform behaviour with
1015 both old and Euro-era localedata; tweak some tests.
1016 * testsuite/22_locale/money_get_members_wchar_t.cc
1017 (test01, test02, test04): Likewise.
1018 * testsuite/22_locale/money_put_members_char.cc
1019 (test01, test02, test04): Likewise.
1020 * testsuite/22_locale/money_put_members_wchar_t.cc
1021 (test01, test02, test04): Likewise.
1023 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1025 * testsuite/22_locale/codecvt_members_char_char.cc
1026 (test03): Robustify wrt localedata.
1027 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1028 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1029 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1030 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1031 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1032 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1033 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1034 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1035 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1036 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1037 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1038 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1039 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1040 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1041 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1042 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1043 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1044 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1045 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1046 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1047 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1048 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1050 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1052 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1055 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1057 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1058 to 64 for hppa 64-bit port.
1059 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1061 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1063 * acinclude.m4 (enable_symvers): Quote $LD.
1064 * aclocal.m4: Regenerate.
1065 * configure: Likewise.
1067 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1069 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1070 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1073 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1075 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1076 script entry, and set LD to it when configuring multilibs.
1077 * configure: Rebuilt.
1079 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1081 * configure.in: Add support for WindISS.
1082 * configure: Regenerated.
1083 * configure.target: Add support for WindISS.
1084 * config/os/windiss/bits/ctype_base.h: New file.
1085 * config/os/windiss/bits/ctype_inline.h: Likewise.
1086 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1087 * config/os/windiss/bits/os_defines.h: Likewise.
1089 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1091 Test all the facets for the temporary "C" locale switch issue.
1092 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1093 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1094 * testsuite/22_locale/collate_members_char.cc: Add test04.
1095 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1096 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1097 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1098 * testsuite/22_locale/messages_members_char.cc: Add test03.
1099 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1100 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1101 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1102 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1103 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1104 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1105 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1106 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1107 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1108 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1109 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1110 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1111 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1112 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1114 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1115 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1117 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1119 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1120 __EXTENSIONS__): Ensure they are always defined.
1122 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1124 * docs/html/documentation.html: Fix broken link.
1126 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1127 Paolo Carlini <pcarlini@unitus.it>
1129 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1130 testing for the locale_facets.tcc entry of the previous commit.
1131 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1133 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1135 * config/locale/generic/c_locale.cc
1136 (__convert_to_v(float, double, long double)):
1137 Fix the temporary switch to the "C" locale, saving and
1138 restoring in the proper way the current locale.
1139 * config/locale/generic/time_members.cc
1140 (__timepunct<char, wchar_t>::_M_put): Likewise.
1141 * config/locale/gnu/messages_members.cc
1142 (messages<char>::do_get): Likewise.
1143 * config/locale/gnu/messages_members.h
1144 (messages<_CharT>::do_get): Likewise.
1145 * config/locale/gnu/time_members.cc
1146 (__timepunct<char, wchar_t>::_M_put): Likewise.
1147 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1149 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1151 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1152 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1154 * Makefile.in, config.h.in, configure: Regenerate.
1156 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1159 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1160 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1162 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1164 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1166 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1168 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1170 * configure.in: Update local install.html, configopts.html paths.
1171 * configure: Regenerate.
1173 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1175 * config/os/irix/irix5.2/bits/os_defines.h
1176 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1178 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1181 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1183 * docs/html/faq/index.html: Update list in #4.1.
1184 * docs/html/faq/index.txt: Regenerated.
1186 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1188 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1190 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1192 * include/std/std_bitset.h: Fix doxygen comments.
1193 * docs/html/documentation.html: Minor tweaks for 3.1.
1194 * docs/html/27_io/howto.html: Likewise.
1195 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1196 * docs/html/faq/index.html: Likewise.
1197 * docs/html/faq/index.txt: Regenerated.
1199 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1202 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1203 (istreambuf_iterator::equal): Use it.
1204 (istreambuf_iterator::operator*): Use it.
1206 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1209 * include/bits/stl_uninitialized.h
1210 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1211 Fix typo in 2001-07-17 commit: typedef _ValueType to
1212 iterator_traits<_ForwardIter> not <_InputIter>.
1213 * testsuite/23_containers/vector_ctor.cc: Add test04.
1215 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1218 * include/c_std/std_cctype.h: Include bits/c++config.h.
1219 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1221 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1223 * include/ext/stdio_filebuf.h: New file.
1224 * include/ext/enc_filebuf.h: New file.
1225 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1226 * config/io/basic_file_stdio.cc: Same.
1227 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1228 Remove _M_unbuf hacks.
1229 (filebuf::_M_destroy_internal_buffer): Same.
1230 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1231 (filebuf::fd): Remove.
1232 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1233 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1234 (filebuf::fd): Remove.
1235 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1237 (ios_base::_S_ios_destroy): Same.
1238 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1239 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1240 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1242 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1245 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1247 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1250 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1252 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1253 (istreambuf_iterator::operator++): Invalidate on eof.
1254 (istreambuf_iterator::operator++(int)): Same.
1255 (istreambuf_iterator::operator*): Same.
1257 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1259 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1260 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1263 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1266 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1267 (__basic_file::sys_ungetc): Take int.
1268 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1269 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1270 Use sys_getc for unbuffered input.
1271 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1273 * src/ios.cc (_M_grow_words): Adjust error checking.
1274 * testsuite/27_io/ios_base_storage.cc: Same.
1276 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1278 * include/ext/stl_hashtable.h: Import __iterator_category
1280 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1281 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1283 * testsuite/ext/hash_set.cc: New testfile.
1285 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1287 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1289 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1290 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1292 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1294 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1295 Fix and tighten __throw_length_error check.
1296 * testsuite/21_strings/replace.cc (test05): New.
1297 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1299 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
1301 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1302 unconditional flush on lower-layer handle to here...
1303 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1304 ...from here. Optimize remaining _M_file.sync() call pattern.
1305 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1308 2002-04-23 Jason Merrill <jason@redhat.com>
1310 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1311 output-only filebufs.
1312 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1314 (basic_filebuf::_M_set_determinate): Likewise.
1317 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1318 value properly in the trivial case.
1319 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1320 tellg() returns the right value after a read.
1322 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
1324 * config/cpu/mmix/bits/cpu_limits.h: New file.
1325 * configure.target (CPULIMITSH): Use it.
1327 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
1329 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1330 * docs/html/17_intro/porting.html: Rebuilt.
1332 2002-04-20 Jason Merrill <jason@redhat.com>
1335 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1337 (basic_streambuf::_M_set_determinate): Likewise.
1338 (basic_streambuf::_M_is_indeterminate): Likewise.
1339 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1340 non-static data member.
1341 (basic_filebuf::_M_underflow_common): New non-static member function.
1342 (basic_filebuf::_M_underflow, _M_uflow): Call it.
1343 (basic_filebuf::sync): Avoid useless seeking.
1344 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1346 (basic_filebuf::_M_set_determinate): Likewise.
1347 (basic_filebuf::_M_is_indeterminate): Likewise.
1348 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1349 back to _M_out_beg if necessary.
1350 (basic_filebuf::seekoff): Likewise.
1351 (basic_filebuf::_M_underflow_common): Generalization of old
1352 underflow(). Don't seek back to _M_in_beg.
1353 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1354 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1355 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1356 * config/os/mingw32/bits/os_defines.h: Likewise.
1357 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1360 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
1362 * include/bits/istream.tcc (istream::read): Fix.
1363 * testsuite/27_io/istream_unformatted.cc (main): Add.
1365 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
1368 * include/bits/istream.tcc (istream::ignore): Streamline, use
1370 * include/bits/streambuf.tcc: Use this->gptr.
1371 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1373 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
1375 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1376 as type safety is important, especially on solaris.
1377 * include/bits/istream.tcc (istream::read): Clean.
1378 (istream::readsome): Same.
1379 * locale.cc: Wrap lines.
1381 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1382 * testsuite/27_io/instantiations.cc (test): Add bool variable...
1383 * testsuite/21_strings/capacity.cc: Clean.
1385 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1387 * docs/doxygen/doxygroups.cc: New group on binary searching.
1388 * include/bits/stl_algo.h: Document binary searches and merges.
1389 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
1391 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1393 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
1394 * docs/doxygen/run_doxygen: Bump required version.
1395 * docs/doxygen/user.cfg.in: Revert accidental change.
1396 * docs/html/faq/index.html: Reindent a block of links.
1397 (4.4): New note on using dlsym.
1398 * docs/html/faq/index.txt: Regenerated.
1400 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1402 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
1404 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1406 * config/linker-map.gnu (__malloc_alloc_template): Add.
1407 (__default_alloc_template): Same.
1408 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1410 (__default_alloc_template): Same.
1412 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1414 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1416 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
1418 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1419 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1420 (__malloc_alloc_template): Conditionalize.
1422 * include/bits/istream.tcc: Remove sputbackc calls.
1424 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1426 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
1428 * testsuite/24_iterators/rel_ops.cc: New test.
1430 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1432 * include/bits/type_traits.h (__normal_iterator): Declare in
1433 __gnu_cxx. Adjust use at global namespace.
1434 * include/bits/stl_iterator.h (__normal_iterator): Move definition
1435 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
1436 * include/bits/basic_string.h (basic_string): Adjust use of
1438 * include/bits/stl_vector.h (_Alloc>): Likewise.
1439 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1440 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1442 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
1446 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1448 (__basic_file::close): Call fflush. Correct return if fclose ok.
1449 (__basic_file::is_open): Make const.
1450 Change __c_file_type to __c_file.
1451 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1452 (__basic_file::is_open): Make const.
1453 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1454 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1455 (filebuf::_M_unbuf): Add.
1456 (filebuf::_M_file): Change to non-pointer.
1457 (filebuf::_M_allocate_pback_buffer): Remove.
1458 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1459 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1460 Change initialization list for _M_file change.
1461 (filebuf::_M_allocate_pback_buffer): Remove.
1462 Change _M_file usage to reflect non-pointer data member.
1464 * config/locale/generic/c_locale.cc
1465 (locale::facet::_S_create_c_locale): Add parameter.
1466 * config/locale/generic/collate_members.cc: Change
1467 _M_compare_helper to _M_compare.
1468 Change _M_transform_helper to _M_transform.
1469 * config/locale/generic/monetary_members.cc: Changeup data types.
1471 * config/locale/generic/numeric_members.cc: Add dtors.
1472 * config/locale/generic/time_members.cc: Add dtors.
1473 * config/locale/gnu/c_locale.cc: Add parameter.
1474 * config/locale/gnu/collate_members.cc:Change
1475 _M_compare_helper to _M_compare.
1476 Change _M_transform_helper to _M_transform.
1477 * config/locale/gnu/ctype_members.cc: Better error checking.
1478 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1479 * config/locale/gnu/messages_members.cc: Tweak comment.
1480 * config/locale/gnu/monetary_members.cc: Change data types.
1482 * config/locale/gnu/numeric_members.cc: Add dtors, better error
1484 * config/locale/gnu/time_members.cc: Same.
1485 * config/locale/ieee_1003.1-2001/c_locale.cc
1486 (locale::facet::_S_create_c_locale): Add parameter.
1487 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1488 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1491 * include/bits/locale_facets.h (moneypunct): Use string literals.
1494 (__timepunct): Same.
1495 (locale::_Impl::_M_facets): Change from vector to array.
1496 (locale::_Impl::_M_names): Change from array of strings to array
1498 (locale::facet::_S_create_c_locale): Add parameter.
1499 (locale::locale::_S_num_facets): Move to...
1500 (locale::_Impl::_M_facets_size): Here.
1501 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1503 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1504 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1505 (locale::_Impl::_Impl(string, size_t)): Change to
1506 (locale::_Impl::_Impl(const char*, size_t)): This.
1508 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1509 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1510 (streambuf::_S_pback_size): This.
1512 * src/globals.cc: Add pre-allocations for "C" facets.
1513 * src/locale-inst.cc: Remove vector instantiations.
1514 * src/locale.cc: Remove vector include. Fixups for _M_names,
1516 * src/localename.cc: Same.
1518 * include/bits/stl_vector.h: Fix odd formatting.
1520 * include/bits/basic_string.tcc: Tweak comment.
1522 * libsupc++/new: Make sure parameters are uglified.
1523 * libsupc++/typeinfo: Same.
1525 * testsuite/22_locale/num_get_members_char.cc: Fixup.
1526 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1527 * testsuite/27_io/filebuf_members.cc: Same.
1529 2002-04-12 Steve Ellcey <sje@cup.hp.com>
1531 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1532 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1533 does not define strtoll or strtoull, but does define strtol
1534 and strtoul which are the same since in 64 bit mode
1535 sizeof(long) == sizeof(long long).
1537 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
1539 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
1540 trailing spaces, indentation, and macro names. Make exception
1541 messages more informative.
1543 2002-04-11 Richard Henderson <rth@redhat.com>
1545 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1546 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1547 (basic_ostream<>::operator<<(long long)): Same.
1549 2002-04-11 Richard Henderson <rth@redhat.com>
1551 * config/linker-map.gnu: Add __gxx_personality_sj0.
1553 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1556 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1558 Remove forward declaration of vector.
1560 * include/bits/locale_facets.tcc: Remove vector include.
1561 (use_locale): Adjust.
1562 (has_locale): Adjust.
1563 * src/locale.cc: Adjust.
1564 * src/localename.cc: Same.
1566 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1567 Richard Henderson <rth@redhat.com>
1569 * include/bits/sstream.tcc: Clean up bit ops.
1570 * include/bits/fstream.tcc: Same.
1572 2002-04-09 Jakub Jelinek <jakub@redhat.com>
1574 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1575 (__num_base::_S_scale_oct): Remove.
1576 * src/locale.cc (__num_base::_S_scale_hex): Remove.
1577 (__num_base::_S_scale_oct): Remove.
1579 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1582 * testsuite/23_containers/bitset_members.cc: New test.
1583 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1584 (_S_bit_count): Here.
1585 (_First_one::_S_first_one): Move...
1586 (_S_first_one): Here.
1588 * src/bitset.cc: Adjust.
1589 * config/linker-map.gnu: Export.
1591 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
1594 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1595 * include/std/std_fstream.h: Clean.
1596 * include/bits/ostream.tcc: Remove extraneous variables.
1597 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1598 open modes and which modes.
1599 (stringbuf::seekpos): Same.
1600 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1602 2002-04-05 Jonathan Wakely <jw@kayari.org>
1604 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1605 random_shuffle, partition, stable_partition, sort, stable_sort,
1606 partial_sort, partial_sort_copy, nth_element): Doxygenate.
1608 2002-04-05 David S. Miller <davem@redhat.com>
1610 * config/os/gnu-linux/bits/os_defines.h
1611 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1613 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
1616 via gawrilow@math.tu-berlin.de
1617 * acinclude.m4 (version_specific_libs): Fix combo usage with
1618 --with-gxx-include-dir.
1619 * aclocal.m4: Regenerate.
1622 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
1624 As per DR 184, libstdc++/3139
1625 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1626 (numeric_limits<bool>::is_iec559): False.
1627 (numeric_limits<bool>::is_modulo): False.
1629 * testsuite/27_io/ios_init.cc: Add instantiations.
1631 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
1634 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1635 * testsuite/27_io/ios_init.cc (tests04): Add test.
1638 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1639 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1640 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1641 * include/bits/istream.tcc: Use _M_fctype, make consistent with
1643 * testsuite/27_io/ios_init.cc (tests03): Add test.
1645 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
1647 * include/Makefile.am (install-data-local): Use mkinstalldirs.
1648 * include/Makefile.in: Regenerate.
1650 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
1651 Nathan Myers <ncm@cantrip.org>
1652 Philip Martin <philip@codematters.co.uk>
1654 * include/bits/basic_string.h
1655 (replace(i1, i2, _CharT* k1, _CharT* k2),
1656 replace(i2, i2, const _CharT* k1, const _CharT* k2),
1657 replace(i1, i2, iterator k1, iterator k2,
1658 replace(i1, i2, const_iterator k1, const_iterator k2):
1659 New specializations to optimize for the common cases of
1660 pointers and iterators.
1661 (replace(pos, n1, s, n2)): Tweak.
1662 * include/bits/basic_string.tcc: Tweak comments.
1663 * testsuite/21_strings/replace.cc (test04): New tests.
1665 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1668 * acinclude: More extensive checks for msgfmt, --enable-nls.
1669 * aclocal.m4: Regenerate.
1670 * configure: Regenerate.
1672 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1674 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
1675 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
1676 * docs/html/18_support/howto.html: Document the demangler.
1677 * docs/html/17_intro/howto.html: And link to it.
1679 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
1680 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
1682 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1684 * config/linker-map.gnu: Export __verbose_terminate_handler.
1685 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
1686 Make new LTCOMPILE variable, use it in new special build rules.
1687 * libsupc++/Makefile.in: Rebuild.
1688 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
1689 runtime __cxa_demangle.
1691 * docs/html/install.html: Update prereqs and instructions.
1692 * docs/html/19_diagnostics/howto.html: Bring naming for
1693 verbose_terminate_handler into line with reality.
1695 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1698 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1699 (basic_ios::_M_streambuf_state): Move.
1700 * include/bits/ios_base (ios_base): To here.
1701 * include/bits/ios_base.h (ios_base::_S_local_words): To
1703 (ios_base::_M_word_array): To _M_local_word.
1704 (ios_base::_M_words_limit): To _M_word_size.
1705 (ios_base::_M_words): To _M_word.
1707 * include/bits/basic_ios.tcc: Adjust.
1708 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1709 * testsuite/27_io/ios_base_storage.cc: Add tests.
1712 Kenny Simpson <theonetruekenny@yahoo.com>
1713 * include/bits/ios_base.h: Fix.
1715 Richard Henderson <rth@redhat.com>
1716 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1719 * include/bits/basic_string.h: Tweak formatting.
1721 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1723 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1724 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1725 By definition, sizeof(char) == 1.
1726 * include/bits/locale_facets.tcc (money_get::do_get,
1727 money_put::do_put): Ditto.
1728 * testsuite/21_strings/inserters_extractors.cc
1731 2002-03-30 Richard Henderson <rth@redhat.com>
1734 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1735 data out of the exception struct before calling unexpectedHandler.
1737 2002-03-28 Roger Sayle <roger@eyesopen.com>
1739 * include/c_std/std_cmath.h: To prevent problems overloading
1740 g++ builtins, use the double variants from the global namespace
1741 before defining float and long double variants in std::.
1743 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1745 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1747 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1749 * testsuite/24_iterators/istream_iterator.cc
1750 (test02): New tests.
1752 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1753 Paolo Carlini <pcarlini@unitus.it>
1755 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1756 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1757 fix i_lit_base e_lit_base arrays, making them independent
1758 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1760 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1762 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1763 allocate at least a byte.
1765 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1767 * testsuite/27_io/streambuf.cc (test07): Fix.
1770 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1772 * docs/doxygen/Intro.3: Date tweak.
1773 * docs/doxygen/TODO: Update.
1774 * docs/doxygen/doxygroups.cc: Point to tables.html.
1775 * docs/doxygen/mainpage.html: Date tweak.
1776 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1777 * docs/doxygen/tables.html: Fill in the blanks.
1779 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1780 * include/bits/stl_algo.h: Likewise; use expanded form.
1781 * include/bits/stl_alloc.h: Likewise.
1782 * include/bits/stl_construct.h: Likewise.
1783 * include/bits/stl_deque.h: Likewise.
1784 * include/bits/stl_iterator_base_types.h: Likewise.
1785 * include/bits/stl_list.h: Likewise.
1786 * include/bits/stl_relops.h: Likewise.
1787 * include/bits/stl_tempbuf.h: Likewise.
1788 * include/bits/stl_vector.h: Likewise.
1789 * include/std/std_memory.h: Likewise.
1791 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1792 * include/bits/stl_list.h: Likewise.
1793 * include/bits/stl_vector.h: Likewise.
1795 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1797 * include/c/: Guard with _CPP_.
1798 * include/c_std/: Same.
1799 * include/Makefile.am: Fixup install, link routines for null
1800 c_base_headers_extra scenarios.
1801 * include/Makefile.in: Regerate.
1803 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1804 Richard Henderson <rth@redhat.com>
1806 * testsuite/22_locale/codecvt_members_unicode_char.cc
1807 (test01, test02): make sure that the i_lit_base array
1808 is sufficiently aligned.
1810 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1812 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1815 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1817 * testsuite/22_locale/collate_byname.cc
1818 (test01): compare the result of collate::compare with
1819 that of collate::transform + string::compare, not with
1820 that of collate::transform + collate::compare; values
1821 returned by collate::compare are normalized, therefore
1824 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1825 Jakub Jelinek <jakub@redhat.com>
1827 * config/locale/gnu/messages_members.h: Correct conditional.
1828 * config/locale/gnu/messages_members.cc: Same.
1829 * config/locale/gnu/time_members.cc: Same.
1831 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1832 Paolo Carlini <pcarlini@unitus.it>
1834 * testsuite/22_locale/codecvt_members_unicode_char.cc
1835 (test01, test02): Fix i_lit_base arrays, making them
1836 independent from the endianness of the platform.
1838 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1840 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1841 signbit and __signbit directly.
1842 * aclocal.m4: Regenerate.
1843 * configure: Regenerate.
1844 * config.h.in: Regenerate.
1845 * libmath/Makefile.am: Simplify.
1846 * libmath/Makefile.in: Regenerate.
1847 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1849 * include/Makefile.am: Clean up handling of extra "C" header files.
1850 Add hooks for "C" compatibility headers.
1851 * include/Makefile.in: Regenerate.
1853 * include/c/*: Formatting tweaks, cleanups.
1854 * include/c_std/*: Same.
1856 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1858 * config/locale/gnu/messages_members.h: Add __uselocale bits.
1859 * config/locale/gnu/messages_members.cc: Same.
1860 * config/locale/gnu/time_members.cc: Same.
1862 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1864 * src/vterminate.cc: Format, -fno-exceptions cleanup.
1866 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1868 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1869 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1870 * aclocal.m4: Regenerate.
1871 * configure: Likewise.
1873 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
1874 Ulrich Drepper <drepper@redhat.com>
1876 * src/locale-inst.cc (__convert_from_v): Add an additional
1877 __size parameter in the declarations.
1878 * include/bits/locale_facets.tcc
1879 (__convert_from_v): When available (that is,
1880 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1881 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1882 being defined or not, call and use __convert_from_v in the
1884 (num_put::_M_convert_int): Same here.
1885 (money_put::do_put(long double)): Same here.
1887 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
1889 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
1890 * docs/html/faq/index.txt: Regenerate.
1892 2002-03-19 Steve Ellcey <sje@cup.hp.com>
1894 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1895 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1896 --enable-libunwind-exceptions is set.
1897 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1898 macro to check for libunwind.
1899 * configure: Regenerate.
1900 * src/Makefile.am (libstdc___la_LDFLAGS): Add
1901 LIBUNWIND_FLAG to libstdc link line.
1902 * src/Makefile.in: Regenerate.
1904 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
1906 * docs/html/faq/index.html: Add OS X workaround.
1907 * docs/html/17_intro/TODO: Update.
1909 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
1911 * include/bits/locale_facets.tcc
1912 (money_put::do_put(long double)): Fix dimensioning of
1913 temporary buffers to avoid risk of overruns.
1914 (money_put::do_put(string)): Same for the buffer used to
1915 add the grouping chars.
1916 * testsuite/22_locale/money_put_members_char.cc: Add test06.
1917 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1919 * include/bits/locale_facets.tcc
1920 (collate::do_transform): Simplify.
1922 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
1924 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
1925 * configure.in: Add comments pointing the way for autoconf 2.5x.
1926 * aclocal.m4, config.h.in, configure: Regenerate.
1928 2002-03-18 Philipp Thomas <pthomas@suse.de>
1930 * include/backward/hash_map.h: hash, hashtable, hash_map and
1931 hash_multimap are in namespace __gnu_cxx.
1932 include/backward/hash_set.h: hash, hashtable, hash_set and
1933 hash_multiset are in namespace __gnu_cxx.
1934 include/backward/hashtable.h: hash and hashtable are in
1935 namespace __gnu_cxx.
1936 include/backward/rope.h: char_producer, sequence_buffer,
1937 rope, crope and wrope are in namespace __gnu_cxx.
1938 include/backward/slist.h: slist is in namespace __gnu_cxx.
1939 * testsuite/backward/header_hash_map_h.cc
1940 testsuite/backward/header_hash_set_h.cc
1941 testsuite/backward/header_hashtable_h.cc
1942 testsuite/backward/header_rope_h.cc
1943 testsuite/backward/header_slist_h.cc
1944 testsuite/backward/header_tempbuf_h.cc: New tests for
1945 checking that we're using the correct namespace.
1947 2002-03-17 Jason Merrill <jason@redhat.com>
1950 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1951 (check_exception_spec): Call it. Take the thrown pointer.
1952 (__cxa_call_unexpected): Pass it.
1953 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
1955 2002-03-15 Anthony Green <green@redhat.com>
1957 * configure.in: Remove useless is_mingw32.
1958 * configure: Rebuilt.
1960 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
1962 * testsuite/22_locale/collate_members_char.cc
1963 (test01): compare the result of collate::compare with
1964 that of collate::transform + string::compare, not with
1965 that of collate::transform + collate::compare.
1966 (test01): values returned by collate::compare are
1967 normalized, therefore test against +-1.
1968 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1970 2002-03-12 Loren Rittle <ljrittle@acm.org>
1972 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1973 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
1975 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1976 Per Liboriussen <liborius@stofanet.dk>
1978 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
1980 * config/os/gnu-linux/bits/ctype_inline.h: Same.
1982 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
1984 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
1985 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1987 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
1988 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1990 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
1991 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1993 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
1995 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1997 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
1998 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
1999 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2000 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2001 that memory limits are in place.
2002 (test03): Add tests.
2004 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2006 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2007 * aclocal.m4: Regenerate.
2008 * config.h.in: Regenerate.
2009 * configure: Regenerate.
2010 * include/c_std/std_cwctype.h: Guard.
2012 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2014 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2015 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2016 * aclocal.m4: Regenerate.
2017 * configure: Regenerate.
2019 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2021 * include/bits/stl_bvector.h: Fix warning.
2023 2002-03-11 Richard Henderson <rth@redhat.com>
2025 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2027 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2029 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2030 New function. Build the list of tests to run in testsuite_files.
2031 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2033 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2035 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2036 platforms with no weak support.
2037 * testsuite/27_io/ios_init.cc: Likewise.
2039 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2041 * include/bits/locale_facets.tcc (time_put::do_put):
2042 Consider sizeof(char_type) in allocating the buffer.
2044 * include/bits/locale_facets.tcc (collate::do_tranform):
2045 Remove redundant variable.
2047 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2048 Paolo Carlini <pcarlini@unitus.it>
2050 * config/locale/generic/collate_members.cc
2051 (collate<char,wchar_t>::_M_compare_helper): normalize
2052 values returned by strcoll and wcscoll.
2053 * config/locale/gnu/collate_members.cc
2054 (collate<char,wchar_t>::_M_compare_helper): ditto
2055 for __strcoll_l and __wcscoll_l.
2057 2002-03-10 Anthony Green <green@redhat.com>
2059 * configure.in: Support cross builds to mingw32 target.
2060 * configure: Rebuilt.
2062 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2064 * include/bits/locale_facets.tcc (collate::do_transform):
2065 Rewrite to fix problems with long transformed strings.
2067 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2069 * c_locale_generic.cc: Move to...
2070 * generic/c_locale.cc
2071 * c_locale_generic.h: Move to...
2072 * generic/c_locale.h
2073 * codecvt_specializations_generic.h: Move to...
2074 * generic/codecvt_specializations.h
2075 * collate_members_generic.cc: Move to...
2076 * generic/collate_members.cc
2077 * ctype_members_generic.cc: Move to...
2078 * generic/ctype_members.cc
2079 * messages_members_generic.cc: Move to...
2080 * generic/messages_members.cc
2081 * messages_members_generic.h: Move to...
2082 * generic/messages_members.h
2083 * moneypunct_members_generic.cc: Move to...
2084 * generic/monetary_members.cc
2085 * numpunct_members_generic.cc: Move to...
2086 * generic/numeric_members.cc
2087 * time_members_generic.cc: Move to...
2088 * generic/time_members.cc
2089 * c_locale_gnu.cc: Move to...
2091 * c_locale_gnu.h: Move to...
2093 * collate_members_gnu.cc: Move to...
2094 * gnu/collate_members.cc
2095 * ctype_members_gnu.cc: Move to...
2096 * gnu/ctype_members.cc
2097 * messages_members_gnu.cc: Move to...
2098 * gnu/messages_members.cc
2099 * messages_members_gnu.h: Move to...
2100 * gnu/messages_members.h
2101 * moneypunct_members_gnu.cc: Move to...
2102 * gnu/monetary_members.cc
2103 * numpunct_members_gnu.cc: Move to...
2104 * gnu/numeric_members.cc
2105 * time_members_gnu.cc: Move to...
2106 * gnu/time_members.cc
2107 * c_locale_ieee_1003.1-200x.cc: Move to...
2108 * ieee_1003.1-2001/c_locale.cc
2109 * c_locale_ieee_1003.1-200x.h: Move to...
2110 * ieee_1003.1-2001/c_locale.h
2111 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2112 * ieee_1003.1-2001/codecvt_specializations.h
2113 * messages_members_ieee_1003.1-200x.cc: Move to...
2114 * ieee_1003.1-2001/messages_members.cc
2115 * messages_members_ieee_1003.1-200x.h: Move to...
2116 * ieee_1003.1-2001/messages_members.h
2118 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2119 * aclocal.m4: Regenerate.
2120 * configure: Regenerate.
2121 * src/Makefile.am (sources): Change to monetary and numeric.
2122 * src/Makefile.in: Regenerate.
2123 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2125 2002-03-08 scott snyder <snyder@fnal.gov>
2128 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2129 Allow one more digit of precision.
2130 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2131 write a double and read back in the same value.
2133 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2135 * include/std/std_limits.h: Move static const data members out of
2136 generic template, into base class __numeric_limits_base.
2137 * src/limits.cc: Add definitions.
2138 * config/linker-map.gnu: Add __numeric_limits_base.
2139 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2141 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2143 * include/bits/stl_alloc.h: Add extern implicit allocator
2145 * include/bits/basic_string.tcc: Tweak.
2146 * include/bits/locale_facets.tcc: Remove default args. Add
2147 has_facet, use_facet extern instantiations.
2148 * src/stl-inst.cc: Add explicit instantiation.
2149 * src/locale-inst.cc: Clean. Remove locale member template
2152 * testsuite/22_locale/operators.cc (test02): Enable.
2154 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2155 Stephen M. Webb <stephen.webb@bregmasoft.com>
2157 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2158 (_S_rb_tree_black): Make enum.
2160 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2161 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2162 (__stl_threshold): _M_threshold, enum.
2163 * src/stl-inst.cc: Same.
2164 * config/linker-map.gnu: Remove.
2166 * testsuite/23_containers/vector_bool.cc: New.
2168 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2170 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2171 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2172 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2173 referring to the collection as a whole. New section on which macros
2174 can be redefined by the user.
2175 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2176 * docs/html/20_util/howto.html: Update link to SGI.
2177 * docs/html/faq/index.html: Update snapshot versions. New entry
2178 on why g++ (but not gcc) must currently predefine certain macros.
2179 * docs/html/faq/index.txt: Regenerated.
2181 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2182 names in declaration.
2183 (basic_string::compare): These are no longer optional.
2184 * include/bits/ostream.tcc: Tweak closing brace placement.
2185 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2186 * include/std/std_sstream.h: Fix typo in comment.
2187 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2188 * src/locale.cc: Likewise.
2190 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2193 * include/bits/stl_vector.h (vector::push_back()): Guard with
2194 _GLIBCPP_DEPRECATED.
2196 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2198 * include/bits/c++config: Fix misplaced leading blanks on first line.
2200 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2202 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2203 * README (libmath): Make clear.
2205 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2207 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2208 script globbing in ld.
2209 * aclocal.m4: Rebuilt.
2210 * configure: Rebuilt.
2212 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2214 * docs/html/17_intro/RELEASE-NOTES: Update.
2215 * README: Format subdirectories.
2217 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2220 * include/bits/locale_facets.tcc
2221 (num_get::_M_extract_float): Fix the parsing of __dec, since
2222 the standard prescribes that if no grouping characters are
2223 seen, no grouping check is applied.
2224 * testsuite/22_locale/num_get_members_char.cc: Add test05
2225 distilled from the PR.
2226 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2228 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2230 * docs/html/17_intro/porting-howto.xml: Refer to
2231 http://www.oasis-open.org for docbookx.dtd.
2232 * docs/html/17_intro/porting-howto.html: Regenerated.
2234 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2237 * include/std/std_sstream.h: Remove trailing spaces.
2238 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2239 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2241 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2243 * testsuite/22_locale/num_get_members_char.cc (test04):
2244 Use a named locale expecting grouping (de_DE).
2245 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2247 * testsuite/27_io/ios_manip_basefield.cc (test01):
2248 Extend coverage, uniform treatment of hexs and octs.
2250 2002-02-28 Richard Henderson <rth@redhat.com>
2252 * config/linker-map.gnu: Export operator new with unsigned long,
2253 and with std::nothrow_t. Likewise operator delete.
2255 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2257 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2258 Admit grouping for octals and hexadecimals too.
2259 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2260 (test01): Tweak "." -> "," in void* test.
2261 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2263 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2264 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2266 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2268 * testsuite/27_io/ios_manip_basefield.cc (test01):
2269 Fix for 64 bit machines.
2271 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2274 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2276 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2277 (basic_ios::_M_fill_init): New.
2278 (basic_ios::fill()): Delay dealing with _M_fill.
2280 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2281 (ios_base::_M_call_callbacks): Adjust.
2282 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2284 2002-02-26 Loren Rittle <ljrittle@acm.org>
2286 * include/Makefile.am (thread_target_headers): Unconditionally
2287 stage and install gthr-posix.h.
2288 (${target_builddir}/gthr-posix.h): New rule cloned off
2289 ${target_builddir}/gthr-default.h.
2290 (${target_builddir}/gthr-default.h): Support chained inclusion
2291 of gthr support headers.
2292 * include/Makefile.in: Rebuilt.
2294 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2296 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2297 Group all the integral types, not only decs.
2298 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2299 tests, add a few more.
2301 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
2303 * src/ios.cc (ios_base::~ios_base): Tweak.
2304 (ios_base::_M_call_callbacks): Deal with null __p.
2305 (ios_base::ios_base): Set _M_callbacks.
2306 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2307 * testsuite/27_io/ios_init.cc (test02): Fix.
2309 * mkcheck.in (static_fail): Failed links go to output file.
2311 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
2313 * docs/html/faq/index.html: Update.
2314 * docs/html/faq/index.txt: Regenerate.
2316 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
2318 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
2319 * aclocal.m4: Regenerate.
2320 * docs/html/configopts.html: Document --enable-symvers.
2321 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
2323 2002-02-22 Philipp Thomas <pthomas@suse.de>
2325 * include/backward/tempbuf.h: get_temporary_buffer and
2326 return_temporary_buffer are in namespace std, not in __gnu_cxx.
2328 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
2330 * configure.in (target_alias): Default to yes.
2331 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2332 libgcc to default case.
2334 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
2336 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
2337 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
2338 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
2339 * aclocal.m4: Regenerate.
2340 * configure: Regenerate.
2341 * config/linker-map.dummy: New file. Contains nothing useful.
2343 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
2345 * testsuite/22_locale/money_put_members_char.cc: Fix.
2346 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2348 * testsuite/27_io/standard_manipulators.cc: New file.
2350 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2351 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2353 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
2355 * config/os/mingw32/bits/ctype_noninline.h
2356 (ctype<char>::ctype): Remove default args from parm list.
2357 * config/os/djgpp/bits/ctype_noninline.h: Same.
2359 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2361 * include/std/std_iomanip.h: Inline, tweaks.
2362 * config/linker-map.gnu: Remove hacks.
2364 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2365 * testsuite/27_io/ios_init.cc: Same.
2366 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2367 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2369 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2371 * config/linker-map.gnu: Export global vtable, typeinfo, guard
2372 variable, and thunk info as per CXXABI docs.
2374 2002-02-19 Loren Rittle <ljrittle@acm.org>
2376 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2377 * include/Makefile.in: Rebuilt.
2379 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2381 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2382 with size3 for the string collations of str5.
2384 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
2387 * include/bits/locale_facets.tcc (money_put::do_put):
2388 For the space field use __fill instead of ' ', uniformly.
2389 * testsuite/22_locale/money_put_members_char.cc:
2390 Add test05 distilled from PR.
2391 (test01-02-03): Trim some '*' to ' '.
2392 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2394 2002-02-18 Loren Rittle <ljrittle@acm.org>
2397 * include/Makefile.am (thread_builddir): Remove (map all
2398 existing uses to target_builddir).
2399 (thread_headers): Rename to...
2400 (thread_target_headers): ...this.
2401 (stamp-thread): Remove.
2402 (stamp-target): Correctly state the position as built.
2403 Update all dependencies to match the new reality. Remove all
2404 dependency calculations on directories.
2405 * include/Makefile.in: Rebuilt.
2407 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
2409 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2410 * include/bits/fstream.tcc: Same.
2411 * include/bits/sstream.tcc: Same.
2412 * include/bits/ostream.tcc: Same.
2413 * include/bits/istream.tcc: Same.
2414 * include/bits/streambuf.tcc: Same.
2415 * include/bits/basic_ios.tcc: Same.
2416 * include/bits/basic_string.tcc: Same.
2418 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2420 * include/std/std_iosfwd.h: Don't guard typedefs with
2421 _GLIBCPP_USE_WCHAR_T
2422 * include/bits/stringfwd.h: Same.
2424 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2426 * src/locale.cc (moneypunct_byname): Remove definitions.
2427 * include/std/std_streambuf.h (streambuf::operator=): Return.
2429 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2432 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2433 explicit instantiation.
2434 (string::_Rep::_S_max_size): Same.
2435 * include/bits/basic_string.tcc: Add extern explicit
2436 instantiations for string, wstring.
2437 * include/bits/basic_ios.tcc: Add extern explicit instantiations
2439 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2440 * include/bits/istream.tcc: Same, for istream, wistream.
2441 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2443 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2444 istringstream, wistringstream, ostringstream, wostringstream,
2445 stringstream, wstringstream.
2446 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2447 wifstream, ofstream, wofstream, fstream, wfstream.
2448 * src/misc-inst.cc: Correct comments.
2449 Add iomanip instantiations for wide streams.
2450 * include/std/std_iomanip.h: Same.
2451 * include/bits/locale_facets.tcc: Same.
2453 * include/std/std_streambuf.h: Correct
2454 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2455 * include/std/std_sstream.h: Same.
2456 * include/std/std_ostream.h: Same.
2457 * include/std/std_istream.h: Same.
2458 * include/std/std_fstream.h: Same.
2460 * include/std/std_streambuf.h: Add definitions for private copy
2461 ctor and assignment operator.
2462 * include/std/std_istream.h: Remove declared but undefined copy
2463 ctor and assignment operator. This is taken care of in ios_base,
2464 so adding it in the derived class as well is superfluous.
2465 * include/std/std_ostream.h: Same.
2467 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2468 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2470 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2472 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2473 Add typeinfo bits. Smooth.
2474 * aclocal.m4: Regenerate.
2476 * src/Makefile.in: Same.
2478 2001-02-14 Joel Sherrill <joel@OARcorp.com>
2480 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2481 which do not have a CAS instruction.
2483 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2485 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2486 * configure.in: Call it.
2487 * config/linker-map.gnu: New file, initial incomplete revision.
2488 * src/Makefile.am: Optionally pass version script to the linker.
2489 * aclocal.m4: Regenerate.
2490 * configure: Regenerate.
2491 * src/Makefile.in: Regenerate.
2493 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
2495 * src/localename.cc: Remove stdexcept include.
2496 * src/locale-inst.cc: Same.
2497 * src/locale.cc: Same.
2498 * src/functexcept.cc: Remove string includes.
2499 * include/std/std_bitset.h: Remove stdexcept include.
2500 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2501 * testsuite/23_containers/bitset_ctor.cc: Same.
2503 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
2505 * include/bits/stl_algo (__stl_threshold): Declare external.
2506 (__stl_chunk_size): Same.
2507 * include/bits/stl_bvector.h (__WORD_BIT): Same.
2508 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2509 (_S_rb_tree_black): Same.
2510 * src/stl-inst.cc (__stl_threshold): Define.
2511 (__stl_chunk_size): Same.
2513 (_S_rb_tree_red): Same.
2514 (_S_rb_tree_black): Same.
2516 * config/io/basic_file_libio.h (__basic_file): Add declarations.
2517 * include/bits/basic_file.h: Remove.
2518 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2519 Declare generic types, specialization.
2520 * config/io/basic_file_stdio.cc: Definitions.
2521 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2522 Declare generic types.
2523 * include/Makefile.am (bits_headers): Remove basic_file.h.
2524 (extra_target_headers): Change basic_file_model.h to basic_file.h.
2525 (stamp-target): Same.
2527 * include/bits/stl_alloc.h: Tweaks.
2528 * include/bits/localefwd.h: Same.
2530 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
2532 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2533 * testsuite/22_locale/collate_members_char.cc (test03): New test.
2534 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2536 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
2538 * include/bits/stl_algo.h (transform (both signatures), generate_n):
2539 Use __typeof__ in concept checks.
2541 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
2543 * include/bits/stl_algo.h (__median, for_each, find, find_if,
2544 adjacent_find, count, count_if, search, search_n, swap_ranges,
2545 transform, replace, replace_if, replace_copy, replace_copy_if,
2546 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2547 unique, unique_copy, reverse, reverse_copy): Doxygenate.
2549 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
2551 * include/bits/locale_facets.h
2552 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2553 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2554 (__timepunct<_CharT>::_M_put_helper): Same.
2555 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2557 * include/bits/fstream.tcc (filebuf::underflow): Remove
2558 __codecvt_type typedef.
2559 (filebuf::_M_convert_to_external): Same.
2561 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
2563 * docs/doxygen/TODO: Update.
2564 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
2565 * docs/doxygen/mainpage.html: Add TODO list link.
2566 * docs/doxygen/user.cfg.in: Add @doctodo hook.
2567 * docs/doxygen/tables.html: New file, emoty structure only.
2569 * include/bits/stl_iterator.h: Doxygenate just about everything.
2570 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
2571 * include/bits/stl_iterator_base_types.h: Add notes.
2573 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
2575 * include/bits/stl_map.h: Tweak doxygen markup.
2576 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
2577 * include/bits/stl_vector.h: Likewise.
2579 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2583 * include/std/std_fstream.h (filebuf::__file_type): Change to
2585 (filebuf::_M_convert_to_external): Declare.
2586 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2587 codecvt bits for wide streams.
2588 (filebuf::_M_really_overflow): Use it.
2589 (filebuf::underflow): Use codecvt.
2590 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2591 (codecvt<__enc_traits>::do_out): Deal with partial.
2592 (codecvt<__enc_traits>::do_encoding): Return something useful.
2593 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2595 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2596 Change expected encoding output.
2598 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2601 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2602 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
2604 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2605 (basic_ios::widen): Same.
2607 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
2609 * testsuite/22_locale/money_get_members_char.cc:
2610 Add comment, tidy up.
2611 (test01): more "en_HK" tests (without showbase).
2612 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2614 2002-02-06 Loren Rittle <ljrittle@acm.org>
2616 * config/locale/c_locale_generic.cc: Do not trust
2617 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2620 2002-02-06 Loren Rittle <ljrittle@acm.org>
2622 * acinclude.m4: Add C++ linkage check for strtof.
2623 * aclocal.m4: Rebuilt.
2624 * config.h.in: Rebuilt.
2625 * configure: Rebuilt.
2626 * config/locale/c_locale_generic.cc: Conditionally include
2627 <ieeefp.h>. Improve handling and error checking of float
2628 and long double input for non-C99 configurations.
2630 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
2632 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2633 In case money_base::symbol deal properly with multi-char sign
2634 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2635 * testsuite/22_locale/money_get_members_char.cc: Add test07.
2636 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2638 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
2640 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2641 First construct a tentative returned string, then, only if the
2642 parsing succeeds, copy it into the string passed by reference.
2643 * testsuite/22_locale/money_get_members_char.cc: Add test06.
2644 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2646 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
2648 * docs/doxygen/TODO: Impl-defined behavior now documented...
2649 * docs/html/17_intro/howto.html: ...here.
2650 * docs/doxygen/mainpage.doxy: Remove, rename...
2651 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
2652 * docs/doxygen/style.css: Add small text.
2653 * docs/doxygen/run_doxygen: Adjust for new mainpage.
2654 * docs/doxygen/user.cfg.in: Likewise.
2656 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
2658 * include/bits/stl_map.h: Initial doxygen markup.
2659 * include/std/std_fstream.h: Initial doxygen markup.
2661 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
2664 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2665 Deal correctly with !(__io.flags() & ios_base::showbase)
2666 for case money_base::symbol.
2667 * testsuite/22_locale/money_get_members_char.cc: Add test05.
2668 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2670 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
2672 * testsuite/22_locale/operators.cc
2673 (gnu_collate::do_compare()): Add return statement to
2674 suppress "no return statement" warning.
2676 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
2678 * testsuite/27_io/ostream_manip.cc: Enable test02.
2680 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
2682 * docs/html/documentation.html: Update for 3.0.96.
2683 * docs/html/faq/index.html: Update for 3.0.96.
2684 * docs/html/faq/index.txt: Regenerated.
2685 * docs/doxygen/TODO: Update notes.
2686 * docs/html/17_intro/howto.html: Initial impl-specific listing.
2688 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
2690 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2691 Initialize all data members in copy ctor. Make ctors explicit.
2692 (__enc_traits::__enc_traits()): Default ctor does nothing.
2693 (__enc_traits::_M_init): Guard against multiple iconv_opens.
2694 * include/std/std_sstream.h (basic_stringbuf): Make data members
2696 * include/std/std_fstream.h (basic_filebuf): Same.
2697 * include/std/std_streambuf.h: Tweak.
2698 * include/bits/streambuf.tcc: Same.
2699 * include/bits/sstream.tcc: Same.
2700 * include/bits/fstream.tcc: Same.
2702 2002-01-31 Loren Rittle <ljrittle@acm.org>
2704 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2705 allow NULL argument to be passed to setenv().
2706 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2707 * testsuite/22_locale/collate_members_char.cc: Likewise.
2708 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2709 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2710 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2711 * testsuite/22_locale/messages_members_char.cc: Likewise.
2712 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2713 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2714 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2715 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2716 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2717 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2718 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2719 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2720 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2721 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2722 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2723 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2724 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2725 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2726 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2727 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2729 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2731 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2733 * ChangeLog-2001: Fix spelling errors...
2734 * docs/html/17_intro/RELEASE-NOTES: Update.
2735 * docs/html/17_intro/TODO: Update.
2736 * README (file): Update.
2738 2002-01-30 Loren Rittle <ljrittle@acm.org>
2740 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2741 instead of non-zero to aid portability.
2743 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2745 * docs/html/22_locale/messages.html: Fix example code.
2747 2002-01-30 Richard Henderson <rth@redhat.com>
2749 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2750 out from test03 and templatize.
2753 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2755 * config/locale/numpunct_members_gnu.cc
2756 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2757 Fix initialization of _M_grouping for locales which have
2758 _M_thousands_sep == '\0'(L'\0', respectively).
2759 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2761 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2763 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2764 Better fix for 32/64 bit architectures, avoiding the
2765 implicit assumption that CHAR_BIT == 8.
2767 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2769 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2770 * Makefile.in: Regenerate.
2772 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2773 * docs/doxygen/Intro.3: Update.
2774 * docs/doxygen/TODO: Update.
2775 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2776 * docs/doxygen/mainpage.doxy: Update.
2777 * docs/doxygen/user.cfg.in: Update for header rename. Also
2778 regenerate comments and variables with 1.2.12.
2779 * docs/doxygen/maint.cfg.in: Remove file.
2781 * include/bits/stl_relops.h: Doxygenate.
2782 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2784 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2785 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2786 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2787 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2788 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2789 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2790 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2791 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2792 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2793 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2794 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2795 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2796 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2797 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2798 include/std/std_algorithm.h, include/std/std_bitset.h,
2799 include/std/std_complex.h, include/std/std_deque.h,
2800 include/std/std_fstream.h, include/std/std_functional.h,
2801 include/std/std_iomanip.h, include/std/std_ios.h,
2802 include/std/std_iosfwd.h, include/std/std_iostream.h,
2803 include/std/std_istream.h, include/std/std_iterator.h,
2804 include/std/std_limits.h, include/std/std_list.h,
2805 include/std/std_locale.h, include/std/std_map.h,
2806 include/std/std_memory.h, include/std/std_numeric.h,
2807 include/std/std_ostream.h, include/std/std_queue.h,
2808 include/std/std_set.h, include/std/std_sstream.h,
2809 include/std/std_stack.h, include/std/std_stdexcept.h,
2810 include/std/std_streambuf.h, include/std/std_string.h,
2811 include/std/std_utility.h, include/std/std_valarray.h,
2812 include/std/std_vector.h: Add/correct @file doxygen hook.
2814 * include/ext/memory: Doxygenate most of rest of file.
2815 * libsupc++/exception: Doxygen output formatting.
2816 * libsupc++/new: Say which header it is.
2818 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
2819 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
2820 * docs/html/23_containers/howto.html: Describe O(n) list::size().
2821 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
2823 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2824 Charles Leggett <CGLeggett@lbl.gov>
2826 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2828 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2830 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2831 Fix to deal correctly with both 32 bit and 64 bit architectures
2833 2002-01-25 Loren Rittle <ljrittle@acm.org>
2835 * testsuite/thread/pthread1.cc: Use one condition variable
2836 per predicate instead of tricky use of one condition variable.
2838 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
2840 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2842 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2843 * testsuite/27_io/filebuf.cc: Compile only.
2844 * testsuite/27_io/filebuf_members.cc: Move tests to here.
2845 * testsuite/27_io/filebuf_virtuals.cc: And here.
2846 Revert sungetc, sync changes for expected values.
2847 * testsuite/27_io/filebuf-*: Move to...
2848 * testsuite/27_io/filebuf_virtuals-*: ...here.
2849 * testsuite/27_io/istream.cc: Compile only, activate.
2850 * testsuite/27_io/ostream.cc: Same.
2851 * testsuite/27_io/iostream.cc: New.
2852 * testsuite/27_io/iostream_members.cc: New.
2854 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
2856 * testsuite/thread/pthread1.cc: Enable on cygwin.
2857 * testsuite/thread/pthread2.cc: Likewise.
2858 * testsuite/thread/pthread3.cc: Likewise.
2859 * testsuite/thread/pthread4.cc: Likewise.
2860 * testsuite/thread/pthread5.cc: Likewise.
2861 * testsuite/thread/pthread6.cc: Likewise.
2863 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2865 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2867 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2869 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2871 (basic_ios::fill(char_type)): Use fill().
2872 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2873 (basic_ios::narrow): Same.
2874 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2875 if they are invalid.
2876 (basic_ios::init): Comment.
2877 * testsuite/27_io/ios_init.cc (test02): New.
2879 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
2881 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2882 * include/bits/stl_algo.h: Include stl_tempbuf.h.
2883 * include/ext/memory: Do not include stl_tempbuf.h.
2884 (temporary_buffer): Add doxygen hook.
2885 (__get_temporary_buffer, get_temporary_buffer,
2886 return_temporary_buffer): Move back to std:: header...
2887 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
2888 * include/ext/rope: Do not include stl_tempbuf.h.
2889 * include/ext/stl_hashtable.h: Likewise.
2890 * include/std/std_algorithm.h: Likewise.
2891 * testsuite/20_util/temporary_buffer.cc: New file.
2893 2002-01-24 andrew@andypo.net
2894 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
2897 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2898 * include/bits/localefwd.h: Likewise.
2899 Also use for std::locale::id::_S_highwater.
2900 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2901 * src/locale.cc: Support new usage of _Atomic_word.
2902 (std::locale::classic): Guard entire function against reentry.
2903 * src/localename.cc: Support new usage of _Atomic_word.
2905 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2907 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2908 _GLIBCPP_HAVE_SETENV.
2909 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2910 * testsuite/22_locale/collate_members_char.cc (test02): Same.
2911 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2912 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2913 * testsuite/22_locale/messages_members_char.cc (test02): Same.
2914 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2915 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2916 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2917 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2918 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2919 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2920 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2921 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2922 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2923 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2924 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2925 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2926 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2927 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2928 * aclocal.m4: Regenerate.
2929 * configure: Regenerate.
2930 * config.h.in: Regenerate.
2932 2002-01-23 Loren Rittle <ljrittle@acm.org>
2934 * testsuite/thread/pthread1.cc: New test.
2935 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2936 * testsuite/thread/pthread3.cc: Likewise.
2937 * testsuite/thread/pthread4.cc: New test adapted from
2938 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2939 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2940 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2942 2002-01-23 Richard Henderson <rth@redhat.com>
2945 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2946 CAS on the cpu variants that support it. Add versions that use
2947 TAS and that disable interrupts.
2948 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2950 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
2952 * include/bits/locale_facets.tcc: Remove old comments.
2954 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
2956 * include/bits/locale_facets.tcc (__convert_to_v): Change template
2958 (__convert_from_v): Same.
2960 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
2962 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2964 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2965 __max_digits checks, adjust arguments.
2966 (num_get::do_get(*)): Changeup.
2968 2002-01-23 Loren Rittle <ljrittle@acm.org>
2970 * config/locale/c_locale_generic.cc: Fix typename usage.
2972 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2974 * config/locale/c_locale_generic.cc: Fix.
2976 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2978 * docs/html/22_locale/messages.html: Remove angle brackets.
2979 * docs/html/17_intro/TODO: Add.
2981 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
2983 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
2984 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
2985 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
2986 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
2988 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2990 Audit for LANG independence.
2991 * include/bits/localefwd.h: Tweaks.
2992 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
2994 (time_get::do_get_year): Same.
2995 (__convert_from_v): Add.
2996 (num_put::_M_convert_float): Use.
2997 (num_put::_M_convert_int): Same.
2998 (money_put::do_put): Same.
3000 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3001 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3002 * config/locale/time_members_generic.cc:
3003 * config/locale/messages_members_gnu.cc: Same.
3004 * config/locale/messages_members_gnu.h: Same.
3006 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3007 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3008 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3009 * testsuite/22_locale/collate_members_char.cc (test02): New.
3010 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3011 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3012 * testsuite/22_locale/messages_members_char.cc (test02): New.
3013 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3014 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3015 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3016 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3017 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3018 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3019 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3020 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3021 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3022 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3023 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3024 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3025 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3026 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3027 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3028 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3030 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3032 * testsuite/22_locale/time_get_members_char.cc: Same.
3034 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3037 * include/bits/localefwd.h: Tweak comments.
3038 * include/bits/locale_facets.h (__convert_to_v): Add.
3039 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3040 (num_get::do_get(float)): Same.
3041 (num_get::do_get(long double)): Same.
3042 (num_get::do_get(bool)): Same.
3043 (num_get::do_get(long)): Same.
3044 (num_get::do_get(long long)): Same.
3045 (num_get::do_get(unsigned int)): Same.
3046 (num_get::do_get(unsigned short)): Same.
3047 (num_get::do_get(unsigned long)): Same.
3048 (num_get::do_get(unsigned long long)): Same.
3049 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3050 * config/locale/c_locale_generic.cc: Same.
3052 2002-01-22 Loren Rittle <ljrittle@acm.org>
3054 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3055 (std_builddir): Likewise.
3056 (std_headers_rename): Fix cut-n-paste typo.
3057 (install-data-local): Concat path per element instead of once to
3058 first element of list.
3059 * include/Makefile.in: Rebuilt.
3061 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3063 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3064 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3065 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3067 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3069 * include/bits/locale_facets.h (ctype<char>::classic_table):
3071 (ctype<char>::_S_ctable): Remove.
3072 * config/os/gnu-linux/bits/ctype_noninline.h
3073 (ctype<char>::_S_table): Remove definition.
3074 (ctype<char>::classic_table): Define.
3075 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3076 * config/os/aix/bits/ctype_noninline.h: Same.
3077 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3078 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3079 * config/os/djgpp/bits/ctype_noninline.h: Same.
3080 * config/os/generic/bits/ctype_noninline.h: Same.
3081 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3082 * config/os/hpux/bits/ctype_noninline.h: Same.
3083 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3084 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3085 * config/os/mingw32/bits/ctype_noninline.h: Same.
3086 * config/os/newlib/bits/ctype_noninline.h: Same.
3087 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3088 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3089 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3091 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3093 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3094 of _pctype. Use to define _S_ctable. Add definition for alternate
3095 ctor. Initialise _M_ctable to _S_ctable in ctors.
3096 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3097 rather than ::toupper, ::tolower.
3099 2002-01-18 Loren Rittle <ljrittle@acm.org>
3101 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3102 Add specialization for FreeBSD systems only to avoid losing test
3103 only due to extra precision unmentioned in system headers.
3105 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3107 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3109 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3111 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3112 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3114 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3116 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3118 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3120 * configure.target: Define OPT_LDFLAGS for AIX case.
3122 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3124 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3125 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3127 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3129 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3131 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3133 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3134 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3135 * aclocal.m4: Regenerate.
3136 * configure: Regenerate.
3138 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3140 * include/Makefile.am (c_base_headers_rename): New.
3141 (c_base_headers_extra): New.
3142 (stamp-c_base): Modify.
3143 (install-data-local): Use both.
3144 * include/Makefile.in: Regenerate.
3145 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3146 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3147 cstdio ctime cwctype]: Move to..
3148 * include/c/std_*: Here.
3149 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3150 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3151 cstdio ctime cwctype]: Move to..
3152 * include/c_std/std_*: Here.
3154 Alexandre Oliva <aoliva@redhat.com>
3155 * include/Makefile.am (.PRECIOUS): Add rule.
3156 * include/Makefile.in: Regenerate.
3158 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3159 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3161 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3162 Deuglify, should be current.
3163 (back_insert_iterator::_M_container): Deuglify, should be container.
3164 (front_insert_iterator::_M_container): Same.
3165 (insert_iterator::_M_container): Same.
3166 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3167 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3168 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3169 * testsuite/24_iterators/insert_iterator.cc: Same.
3171 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3173 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3175 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3176 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3177 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3178 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3179 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3180 * config/os/newlib/bits/ctype_noninline.h: Same.
3181 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3182 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3183 * config/os/hpux/bits/ctype_noninline.h: Same.
3184 * config/os/djgpp/bits/ctype_noninline.h: Same.
3185 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3186 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3187 * config/os/aix/bits/ctype_noninline.h: Same.
3189 Testcase by Dietmar Kühl via Peter Schmid
3190 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3193 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3195 * libmath/signbitl.c: Copyright years as list, not range.
3196 * libmath/Makefile.am: Same.
3197 * libmath/Makefie.in: Regenerate.
3198 * libmath/signbit.c: Same.
3199 * libmath/nan.c: Same.
3200 * libmath/copysignf.c: Same.
3201 * libmath/signbitf.c: Same.
3202 * testsuite/22_locale/money_get_members_char.cc: Same.
3203 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3204 * testsuite/22_locale/money_put_members_char.cc: Same.
3205 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3206 * testsuite/22_locale/time_get_members_char.cc: Same.
3207 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3208 * testsuite/22_locale/time_put_members_char.cc: Same.
3209 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3210 * testsuite/21_strings/nonmember.cc: Same.
3211 * testsuite/21_strings/compare.cc: Same.
3212 * testsuite/27_io/stringstream.cc: Same.
3213 * testsuite/27_io/stringbuf.cc: Same.
3214 * testsuite/27_io/filebuf.cc: Same.
3215 * testsuite/27_io/ios_manip_basefield.cc: Same.
3216 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3217 * include/bits/cpp_type_traits.h: Same.
3218 * include/bits/generic_shadow.h: Same.
3219 * include/bits/gslice_array.h: Same.
3220 * include/bits/gslice.h: Same.
3221 * include/bits/indirect_array.h: Same.
3222 * include/bits/slice_array.h: Same.
3223 * include/bits/sstream.tcc: Same.
3224 * include/bits/streambuf_iterator.h: Same.
3225 * include/bits/valarray_array.tcc: Same.
3226 * include/bits/valarray_meta.h: Same.
3227 * include/bits/valarray_array.h: Same.
3228 * config/os/mingw32/bits/ctype_noninline.h: Same.
3229 * config/os/mingw32/bits/ctype_base.h: Same.
3230 * config/os/hpux/bits/ctype_noninline.h: Same.
3231 * config/os/hpux/bits/ctype_base.h: Same.
3232 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3233 * config/os/gnu-linux/bits/ctype_base.h: Same.
3234 * config/os/generic/bits/ctype_noninline.h: Same.
3235 * config/os/generic/bits/ctype_base.h: Same.
3237 * libsupc++/tinfo.h: Tweaks.
3239 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3241 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3242 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3243 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3245 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3247 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3248 (num_put::do_put(void*)): Fix.
3249 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3250 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3251 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3252 long double, void, bool types.
3253 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3255 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3256 Alexandre Oliva <aoliva@redhat.com>
3258 * libmath/Makefile.am (LINK): Add --tag CC.
3259 * libmath/Makefile.in: Regenerate.
3261 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3263 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3264 of character to attribute mapping table.
3266 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3268 * testsuite/26_numerics/c99_classification_macros_c.cc
3269 Remove dg-error and dg-excess-errors comments.
3271 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3273 * include/bits/locale_facets.tcc (time_put::put): Correct output
3275 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3276 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3277 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3278 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3280 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3282 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3284 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3285 Nathan Myers <ncm@cantrip.org>
3287 * include/bits/basic_string.h
3288 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3289 temporaries (i.e., call _M_replace_safe) when possible.
3290 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3291 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3292 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3293 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3294 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3295 * include/bits/basic_string.tcc
3296 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3297 replace(__pos, __n1, __s, __n2).
3298 * testsuite/21_strings/replace.cc (test03): New testcases.
3300 * include/bits/basic_string.h (insert(__pos, __s, __n)):
3301 Adjust comparison wrt overflow.
3303 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3305 * include/Makefile.am (std_headers_rename): New variable.
3306 (install-data-local): Use it.
3307 * include/Makefile.in: Regenerate.
3309 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3311 * include/bits/locale_facets.tcc (money_put::do_put(string):
3312 Correct output iterator value.
3313 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3314 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3316 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3318 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
3321 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3323 * include/Makefile.am (std_headers): Update list with new names.
3324 (stamp-std): Link to standardized name.
3325 * include/Makefile.in: Regenerate.
3327 * include/std/algorithm, include/std/bitset, include/std/complex,
3328 include/std/deque, include/std/fstream, include/std/functional,
3329 include/std/iomanip, include/std/ios, include/std/iosfwd,
3330 include/std/iostream, include/std/istream, include/std/iterator,
3331 include/std/limits, include/std/list, include/std/locale,
3332 include/std/map, include/std/memory, include/std/numeric,
3333 include/std/ostream, include/std/queue, include/std/set,
3334 include/std/sstream, include/std/stack, include/std/stdexcept,
3335 include/std/streambuf, include/std/string, include/std/utility,
3336 include/std/valarray, include/std/vector: Rename to...
3338 * include/std/std_algorithm.h, include/std/std_bitset.h,
3339 include/std/std_complex.h, include/std/std_deque.h,
3340 include/std/std_fstream.h, include/std/std_functional.h,
3341 include/std/std_iomanip.h, include/std/std_ios.h,
3342 include/std/std_iosfwd.h, include/std/std_iostream.h,
3343 include/std/std_istream.h, include/std/std_iterator.h,
3344 include/std/std_limits.h, include/std/std_list.h,
3345 include/std/std_locale.h, include/std/std_map.h,
3346 include/std/std_memory.h, include/std/std_numeric.h,
3347 include/std/std_ostream.h, include/std/std_queue.h,
3348 include/std/std_set.h, include/std/std_sstream.h,
3349 include/std/std_stack.h, include/std/std_stdexcept.h,
3350 include/std/std_streambuf.h, include/std/std_string.h,
3351 include/std/std_utility.h, include/std/std_valarray.h,
3352 include/std/std_vector.h: ...this.
3354 2002-01-11 Loren Rittle <ljrittle@acm.org>
3356 * include/Makefile.am (extra_target_headers): New list of all
3357 target files built with ad hoc naming rules.
3358 (stamp-*): Handle LN_S failure in manner portable across make
3360 (install-data-local): Install header files from human-maintained
3361 file lists and directory components instead of non-robust find.
3362 * include/Makefile.in: Rebuilt.
3364 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
3366 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3367 Check for zero-length negative sign before adding it to output
3369 (money_get::do_get(long double)): Return beg.
3370 * testsuite/22_locale/money_get_members_char.cc (test02): Add
3372 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3374 2002-01-10 David Seymour <seymour_dj@yahoo.com>
3377 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3378 for _M_extract_float and _M_extract_int
3379 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3380 (num_get<>::_M_extract_int): Likewise, all callers changed
3381 * testsuite/22_locale/num_get_members_char.cc: Testcase
3383 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3385 * libsupc++/exception (bad_exception): Add comment.
3386 * libsupc++/new (bad_alloc): Same.
3387 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3389 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3391 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3392 that the destructors should be removed from the descriptions
3393 in the standard: writing them explicitly allows the vtable
3394 heuristic to work. For additional information see:
3395 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3396 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3397 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3398 * libsupc++/exception (bad_exception::~bad_exception()):
3399 Reintroduce declaration.
3400 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3401 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3402 (bad_typeid::~bad_typeid()): Same.
3403 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3404 Reintroduce definition.
3405 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3406 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3407 (bad_typeid::~bad_typeid()): Same.
3409 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
3411 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3412 * include/Makefile.in: Regenerate.
3414 2002-01-09 Bo Thorsen <bo@suse.co.uk>
3416 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3419 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
3423 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3424 return value of _M_file->sync().
3425 (filebuf::showmanyc): Check for is_open.
3426 * include/std/fstream (filebuf::sync): Tweak.
3427 * testsuite/27_io/filebuf.cc: Tweak.
3429 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
3430 Brad Garcia <garsh@attbi.com>
3432 * testsuite/27_io/filebuf_members.cc: Add test.
3434 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
3435 Craig Rodrigues <rodrigc@mediaone.net>
3438 * po/Makefile.am (mkinstalldirs): Add.
3439 * po/Makefile.in: Regenerate.
3441 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
3443 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3444 testsuite/lib/prune.exp: Delete lines ":In function ..." from
3446 * testsuite/23_containers/map_operators.cc: Remove
3447 dg-excess-errors comment.
3448 * testsuite/23_containers/set_operators.cc: Likewise.
3450 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
3452 * include/bits/stl_function.h: Remove two lines of comments;
3453 adjust copyright years.
3455 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3457 * include/Makefile.am (std_headers): Remove cXXX from list.
3458 (c_base_srcdir): No bits subdirectory.
3459 (c_base_builddir): Same.
3460 (c_base_headers): Adjust names, add ciso646.
3461 (bits_headers): Remove std_xxx.h headers.
3462 * include/Makefile.in: Regenerate.
3464 * include/ext/iterator: Adjust includes.
3465 * include/ext/ropeimpl.h: Same.
3466 * include/ext/stl_hash_fun.h: Same.
3467 * include/ext/algorithm: Same.
3469 * include/backward/bvector.h: Adjust includes.
3470 * include/backward/vector.h: Same.
3471 * include/backward/strstream: Same.
3472 * include/backward/streambuf.h: Same.
3473 * include/backward/stack.h: Same.
3474 * include/backward/set.h: Same.
3475 * include/backward/queue.h: Same.
3476 * include/backward/multiset.h: Same.
3477 * include/backward/multimap.h: Same.
3478 * include/backward/map.h: Same.
3479 * include/backward/list.h: Same.
3480 * include/backward/iterator.h: Same.
3481 * include/backward/iostream.h: Same.
3482 * include/backward/iomanip.h: Same.
3483 * include/backward/fstream.h: Same.
3484 * include/backward/deque.h: Same.
3485 * include/backward/complex.h: Same.
3487 * include/bits/std_algorithm.h: Move to...
3488 * include/std/algorithm: ...here.
3489 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3490 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3491 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3492 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3493 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3494 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3495 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3498 * include/c_std/bits/std_cassert.h: Move to...
3499 * include/c_std/cassert: Here.
3500 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3501 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3502 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3503 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3504 std_cwctype.h: Same.
3505 * include/c_std/cmath: Adjust cmath.tcc include.
3506 * include/c_std/cstdlib: Adjust includes.
3507 * include/c_std/cwchar: Same.
3508 * include/c_std/ctime: Same.
3509 * include/c_std/cstring: Same.
3510 * include/c_std/cstdio: Same.
3511 * include/c_std/bits: Remove directory.
3513 * include/c/bits/std_cassert.h: Move to...
3514 * include/c/cassert: Here.
3515 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3516 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3517 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3518 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3519 std_cwctype.h: Same.
3520 * include/c/bits: Remove directory.
3522 * include/std/cwctype: Remove.
3523 * include/std/cwchar: Remove.
3524 * include/std/ctime: Remove.
3525 * include/std/cstring: Remove.
3526 * include/std/cstdlib: Remove.
3527 * include/std/cstdio: Remove.
3528 * include/std/cstddef: Remove.
3529 * include/std/cstdarg: Remove.
3530 * include/std/csignal: Remove.
3531 * include/std/csetjmp: Remove.
3532 * include/std/cmath: Remove.
3533 * include/std/clocale: Remove.
3534 * include/std/climits: Remove.
3535 * include/std/ciso646: Remove.
3536 * include/std/cfloat: Remove.
3537 * include/std/cerrno: Remove.
3538 * include/std/cctype: Remove.
3539 * include/std/cassert: Remove.
3541 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3542 files and subsituting <xxx>.
3543 * include/bits/valarray_array.h: Same.
3544 * include/bits/stl_uninitialized.h: Same.
3545 * include/bits/stl_alloc.h: Same.
3546 * include/bits/stl_algobase.h: Same.
3547 * include/bits/sstream.tcc: Same.
3548 * include/bits/pthread_allocimpl.h: Same.
3549 * include/bits/ostream.tcc: Same.
3550 * include/bits/localefwd.h: Same.
3551 * include/bits/locale_facets.tcc: Same.
3552 * include/bits/locale_facets.h: Same.
3553 * include/bits/istream.tcc: Same.
3554 * include/bits/char_traits.h: Same.
3555 * include/bits/boost_concept_check.h: Same.
3556 * include/bits/basic_file.h: Same.
3557 * include/std/bitset: Same.
3558 * include/std/complex: Same.
3559 * include/std/fstream: Same.
3560 * include/std/functional: Same.
3561 * include/std/ios: Same.
3562 * include/std/iostream: Same.
3563 * include/std/ostream: Same.
3564 * include/std/sstream: Same.
3565 * include/std/streambuf: Same.
3566 * include/std/string: Same.
3567 * include/std/iterator: Same.
3568 * include/std/valarray: Same.
3570 * src/ios.cc: Adjust includes.
3571 * src/valarray-inst.cc: Same.
3572 * src/string-inst.cc: Same.
3573 * src/stl-inst.cc: Same.
3574 * src/stdexcept.cc: Same.
3575 * src/misc-inst.cc: Same.
3576 * src/localename.cc: Same.
3577 * src/locale-inst.cc: Same.
3578 * src/locale.cc: Same.
3579 * src/limits.cc: Same.
3580 * src/concept-inst.cc: Same.
3581 * src/complex_io.cc: Same.
3582 * src/codecvt.cc: Same.
3583 * src/bitset.cc: Same.
3584 * src/cmath.cc: Same.
3586 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3588 * include/bits/stl_tree.h (rb_tree): Move to...
3589 * include/ext/rb_tree: ...here, new file.
3590 * include/Makefile.am (ext_headers): Add new file.
3591 * include/Makefile.in: Regenerate.
3592 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3593 return_temporary_buffer, struct temporary_buffer): Move to...
3594 * include/ext/memory: ...here.
3595 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
3596 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
3597 * include/backward/tree.h: Include <ext/rb_tree), tweak.
3599 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
3601 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
3602 * include/ext/numeric: ...here, new file.
3603 * include/bits/stl_function.h (identity_element, unary_compose,
3604 binary_compose, compose1, compose2, identity, select1st,
3605 select2nd, project1st + helper, project2nd + helper,
3606 constant_void_fun + helper, constant_unary_fun + helper,
3607 costant_binary_fun + helper, constant0, constant1, constant2,
3608 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
3609 * include/ext/functional: ...here, new file.
3610 * include/Makefile.am (ext_headers): Add new files.
3611 * include/Makefile.in: Regenerate.
3612 * testsuite/ext/headers.cc: Include <ext/numeric> and
3614 * include/backward/algo.h: Include <ext/numeric>, tweak.
3615 * include/backward/function.h: Include <ext/functional>, tweak.
3616 * include/ext/ropeimpl.h: Include <ext/numeric>.
3618 2002-01-03 Jeffrey A Law <law@redhat.com>
3620 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3621 __strtoull declarations with __extension__.
3623 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
3625 * testsuite/lib/prune.exp: Correct regular expression for
3628 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3630 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3631 Change concept checks, as with lower_bound and PR 2054.
3632 * testsuite/ext/concept_checks.cc: Expand test to include those.
3634 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3636 * include/bits/boost_concept_check.h: Import some changes from
3637 upsteam (Boost) version.
3639 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
3641 * include/bits/stl_algobase.h (copy_n + helpers,
3642 lexicographical_compare_3way + helpers): Move to...
3643 * include/ext/algorithm: ...here.
3644 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3645 helpers): Move to...
3646 * include/ext/memory: ...here, new file.
3647 * include/Makefile.am (ext_headers): Add new file.
3648 * include/Makefile.in: Regenerate.
3649 * testsuite/ext/headers.cc: Include <ext/memory>.
3650 * include/backward/algobase.h: Include <ext/memory> and
3651 <ext/algorithm>, tweak.
3652 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
3653 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
3655 2002-01-01 Roger Sayle <roger@eyesopen.com>
3657 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3658 equivalent ___builtin__ versions.
3660 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3661 are available in libstdc++ as the necessary stub implementations
3662 are provided by libmath/stubs.c.
3664 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
3666 * configure.in: Add support for NetBSD cross compiles.
3667 * configure: Regenerate.