1 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
3 * include/bits/valarray_meta.h (__unary_plus, __negate,
4 __bitwise_not, __plus, __minus, __multiplies, __divides,
5 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
6 __shift_left, __shift_right, __logical_and, __logical_or,
7 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
8 __greater_equal, __greater, __atan2, __pow): New function object
10 (__fun<>): New function traits class.
12 2002-08-01 Rick Danos <rdanos@hotmail.com>
15 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
16 * config/os/newlib/ctype_inline.h (is): Use static_cast.
18 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
20 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
21 * libsupc++/Makefile.in: Regenerate.
23 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
24 Jakub Jelinek <jakub@redhat.com>
26 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
27 GLIBCPP_3.1 to GLIBCPP_3.2.
29 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
30 Mark Mitchell <mark@codesourcery.com>
33 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
35 (__class_type_info): And here.
37 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
41 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
42 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
43 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
44 (__vmi_class_type_info::__base_info): Don't make const, of type
45 __base_class_type_info, as per 2.9.5p6c
46 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
48 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
50 (__pointer_to_member_type_info::__context_class): Change member to
51 __context, as per 2.9.5p9.
52 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
54 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
56 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
58 * libsupc++/tinfo.cc (__do_dyncast): Same.
59 * libsupc++/tinfo.cc (__do_upcast): Same.
61 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
63 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
65 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
67 * docs/html/22_locale/howto.html: Fix.
69 2002-07-31 Alex Kompel <shurik@sequoiap.com>
72 * src/locale.cc (locale::classic): Move locks inside !_S_classic
75 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
77 * docs/html/abi.txt: Update.
79 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
80 Gabriel Dos Reis <gdr@nerim.net>
82 * include/bits/char_traits.h: Remove generic definitions.
83 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
85 * include/bits/istream.tcc (istream::readsome): Don't check
86 against eof, instead use constants.
87 (istream::sync): Same.
88 (istream::sentry::sentry): Use eq_int_type.
90 * include/bits/ostream.tcc: Change __pad to
91 __pad<_CharT, _Traits>::_S_pad.
92 * include/bits/locale_facets.h: Add __pad_traits generic and
93 ostreambuf_iterator specialization.
94 * include/bits/locale_facets.tcc: Change __pad into struct __pad
95 with a _CharT and _Traits template parameter and _S_pad static
97 * src/locale-inst.cc: Update __pad instantiations.
99 * include/std/std_fstream.h: Declare _M_underflow_common
101 * src/fstream.cc: New. Add _M_underflow_common specializations.
102 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
103 (filebuf::_M_underflow_common(bool)): Remove generic version, as
104 sys_ungetc and custom int_types don't get along.
105 * include/std/std_streambuf.h: Add _M_pos.
106 * src/Makefile.am (sources): Add fstream.cc.
107 * src/Makefile.in: Regenerate.
109 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
110 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
111 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
112 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
113 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
114 * testsuite/27_io/filebuf.cc: ...here.
115 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
116 specialization for both.
117 * testsuite/27_io/streambuf.cc: Add instantiation test,
118 testsuite_hooks include.
119 * testsuite/27_io/istream.cc: Same.
120 * testsuite/27_io/ostream.cc: Same.
121 * testsuite/27_io/fstream.cc: Same.
122 * testsuite/27_io/stringstream.cc: Same.
123 * testsuite/27_io/filebuf.cc: Same.
124 * testsuite/27_io/stringbuf.cc: Same.
126 2002-07-29 Alan Modra <amodra@bigpond.net.au>
128 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
129 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
130 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
131 (__test_and_set): Remove.
132 (_STWCX): Define and use.
134 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
136 * libsupc++/new (placement delete): Remove unused parameter names.
138 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
141 * include/std/std_istream.h (basic_iostream): Add typedefs for
142 char_type, int_type, pos_type, off_type, and traits_type.
143 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
144 * testsuite/27_io/istream.cc: Same.
145 * testsuite/27_io/ostream.cc: Same.
146 * testsuite/27_io/filebuf.cc: Same.
147 * testsuite/27_io/stringbuf.cc: Replace content, move to...
148 * testsuite/27_io/stringbuf_members.cc: ...here.
149 * testsuite/27_io/streambuf.cc: Replace content, move to...
150 * testsuite/27_io/streambuf_members.cc: ...here.
151 * testsuite/27_io/stringstream.cc: Replace content, move to...
152 * testsuite/27_io/stringstream_members.cc: ...here.
153 * testsuite/27_io/ios.cc: New file.
154 * testsuite/27_io/fstream.cc: New file.
155 * testsuite/27_io/ifstream.cc: New file.
156 * testsuite/27_io/ofstream.cc: New file.
157 * testsuite/27_io/istringstream.cc: New file.
158 * testsuite/27_io/ostringstream.cc: New file.
160 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
163 * include/bits/istream.tcc (istream::ignore): Don't extract on
165 * testsuite/27_io/istream_unformatted.cc (test10): Add.
167 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
169 * testsuite/27_io/ios_base_type.cc: Move to...
170 * testsuite/27_io/ios_base_types.cc: ...here.
172 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
175 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
176 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
178 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
181 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
182 * include/Makefile.am (backward_headers): Use strstream, not
184 * include/Makefile.in: Regenerate.
185 * include/backward/strstream: Revert.
186 * include/backward/strstream.h: Remove.
187 * src/strstream.cc: Revert.
188 * testsuite/backward/strstream_members.cc: Change include.
190 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
193 * include/bits/ios_base.h (ios_base::streampos): Add.
194 (ios_base::streamoff): Add.
195 * testsuite/27_io/ios_base_type.cc: New.
197 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
200 * libsupc++/new: Add placement delete.
201 * testsuite/18_support/new_delete_placement.cc: New.
203 * docs/html/abi.txt: Fix typos.
205 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
207 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
208 confusing usage of "latest."
209 De-tangle contributor information from introductory notes.
210 Move abi.txt link placement, activate.
212 Move chapter info into old FAQ format.
213 * docs/html/organization.html: Removed, obsoleted by doxygen work.
214 * docs/html/abi.txt: Add notes on testing ABI changes.
216 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
218 * docs/html/abi.txt: New file.
219 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
220 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
221 Import from upstream, R22.
223 * include/bits/char_traits.h, include/bits/stl_iterator.h,
224 include/bits/stl_iterator_base_types.h, libsupc++/exception,
225 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
227 * include/bits/deque.tcc, include/bits/stl_alloc.h,
228 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
229 of deprecated functions until 3.4. (Same timeframe, different text.)
230 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
231 the other sequence classes received.
233 2002-07-18 Brendan Kehoe <brendan@zen.org>
235 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
238 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
241 * include/bits/slice_array.h
242 (slice_array<T>::operator=(const T&)): Constify.
243 * include/bits/gslice_array.h
244 (gslice_array<T>::operator=(const T&)): Likewise.
245 * include/bits/mask_array.h
246 (mask_array<T>::operator=(const T&)): Likewise.
247 * include/bits/indirect_array.h
248 (indirect_array<T>::operator=(const T&): Likewise.
250 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
252 * docs/doxygen/run_doxygen: Remove template parameter names from
253 "Compound List" summary page. Reformat.
254 * docs/html/documentation.html: XHTML fixes.
256 2002-07-16 Andreas Schwab <schwab@suse.de>
258 * libsupc++/new (set_new_handler): Declare to not throw any
260 * libsupc++/new_handler.cc (set_new_handler): Likewise.
262 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
264 * include/Makefile.am (bits_headers): Remove slice.h
265 * include/Makefile.in: Regenerate.
266 * include/bits/slice.h (slice): move to include/bits/slice_array.h
267 * include/bits/slice.h Remove.
268 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
269 * include/bits/slice_array.h: Comply to official coding styles.
270 * testsuite/26_numerics/slice.cc: New test.
272 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
274 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
275 print to match vendor <ctype.h>.
277 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
279 * docs/html/faq/index.html: Fix download links.
280 * docs/html/faq/index.txt: Regenerate.
281 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
283 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
285 * configure.target (target_os switch): Allow for irix6*o32
288 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
290 * include/bits/valarray_meta.h (_UnFunBase): Take a second
291 template parameter. Remove _M_func data member.
292 (_UnFunClos): Take a third template parameter.
293 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
294 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
295 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
297 2002-07-08 Eric Christopher <echristo@redhat.com>
299 * configure.target: Fix comment for mips atomicity. Add
300 mips*-*-linux* target, enable atomic operations there.
301 * config/cpu/mips/atomicity.h: Fix comments, remove
302 #ifndef/#endif. Add push/pop mips2.
304 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
306 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
307 member declarations to avoid compiler warnings and restore 3.1 ABI.
309 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
311 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
314 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
317 * include/bits/stl_deque.h (_Deque_iterator::operator-):
318 Make non-member, as already happens for the comparison
319 operators in accord with DR179 (Ready).
320 * testsuite/23_containers/deque_operators.cc: Add test02.
322 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
323 Jack Reeves <jackw_reeves@hotmail.com>
325 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
326 size_t, from int_type.
327 (basic_streambuf::_M_buf_size_opt): Same.
328 (basic_streambuf::_S_pback_sizex): Same.
329 * include/bits/streambuf.tcc: Same.
330 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
332 (basic_streambuf::uflow): Same.
333 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
335 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
336 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
338 (basic_streambuf::xsputn): Same.
339 (__copy_streambufs): Same.
341 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
343 * include/std/std_memory.h: Fix formatting.
344 * testsuite/20_util/auto_ptr_neg.cc: New.
345 * testsuite/20_util/auto_ptr.cc: Tweaks.
346 * testsuite/23_containers/map_operators.cc (test01): Split into..
347 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
348 * testsuite/23_containers/set_operators.cc: Move to...
349 * testsuite/23_containers/set_operators_neg.cc: ...here.
350 * testsuite/README: Add some more naming rules.
352 2002-07-03 Steev Wilcox <steev@paradigmds.com>
355 * include/ext/stl_hashtable.h: Fix.
356 * testsuite/ext/hash_map.cc: New.
358 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
359 Kenny Simpson <theonetruekenny@yahoo.com>
360 Phil Edwards <pme@gcc.gnu.org>
363 * testsuite/20_util/auto_ptr.cc (test08): New test.
364 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
365 (auto_ptr::operator auto_ptr_ref): Fix typo.
366 General reformatting and doxygenating of the whole file.
368 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
371 * include/c/std_cwchar.h: Fix.
373 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
376 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
377 char* name parameter.
378 * config/locale/gnu/monetary_members.cc: Use it.
379 * config/locale/generic/monetary_members.cc: Same.
380 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
382 * include/backward/strstream.h: Update date.
384 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
387 * include/bits/stl_iterator.h
388 (__normal_iterator::operator-(const __normal_iterator&)):
389 Make non-member, as already happens for the comparison
390 operators in accord with DR179 (Ready).
391 * testsuite/24_iterators/iterator.cc: Add test from the PR.
393 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
396 * acinclude.m4: Simplify determination of gcc_version, and move
397 up to GLIBCPP_CONFIGURE.
398 * configure.in (release_VERSION): Really remove.
399 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
400 * aclocal.m4, configure: Regenerate.
402 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
404 * docs/html/configopts.html, docs/html/install.html: Tweaks.
405 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
406 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
407 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
409 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
411 * include/backward/strstream: Remove namespace std. Transfer to...
412 * include/backward/strstream.h: ...here. Qualify std names.
413 * src/strstream.cc: Remove namespace std.
414 * include/Makefile.am (backward_headers): Remove strstream.h.
415 * include/Makefile.in: Regenerate.
416 * config/linker-map.gnu: Export strstream bits.
418 * src/fstream-inst.cc: Tweak.
419 * src/io-inst.cc: Same.
420 * src/istream-inst.cc: Same.
421 * src/misc-inst.cc: Same.
422 * src/ostream-inst.cc: Same.
423 * src/sstream-inst.cc: Same.
424 * src/valarray-inst.cc: Same.
425 * src/misc-inst.cc: Remove unused instantiations.
427 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
429 * configure.in (libtool_VERSION): Bump to 5:0:0.
430 * configure: Regenerate.
432 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
434 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
435 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
436 * include/std/std_stack.h: Include deque.tcc.
437 * testsuite/23_containers/adaptors.cc: New file.
439 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
441 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
442 * docs/html/ext/howto.html: Update allocator notes.
444 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
446 * configure.in (INTERFACE): Remove.
447 (release_VERSION): Remove.
448 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
449 (libstdcxx_interface): Change. Use gcc methods to determine version.
450 * configure: Regenerate.
451 * aclocal.m4: Regenerate.
453 2002-06-25 DJ Delorie <dj@redhat.com>
455 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
456 GLIBCPP_TOPREL_CONFIGURE.
457 * aclocal.m4: Likewise.
458 * configure.in: Call it before AC_CANONICAL_SYSTEM.
459 * configure: Regenerate.
461 2002-06-25 Jessica Han <jessica@cup.hp.com>
463 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
464 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
465 _GLIBCPP_VTABLE_PADDING is defined.
467 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
469 * include/bits/stl_alloc.h: Additional formatting.
471 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
473 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
475 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
477 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
478 * config/os/*/bits/*: Likewise.
479 * configure.in: Update.
480 * configure: Regenerate.
481 * configure.target: Update.
482 * docs/html/17_intro/porting.texi: Update.
484 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
486 * include/bits/stl_map.h, include/bits/stl_multimap.h,
487 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
488 complete doxygenation.
489 * include/bits/boost_concept_check.h: Minor comment.
491 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
493 * include/c_compatibility: New.
494 * include/c_compatibility/assert.h: New.
495 * include/c_compatibility/ctype.h: New.
496 * include/c_compatibility/errno.h: New.
497 * include/c_compatibility/float.h: New.
498 * include/c_compatibility/iso646.h: New.
499 * include/c_compatibility/limits.h: New.
500 * include/c_compatibility/locale.h: New.
501 * include/c_compatibility/math.h: New.
502 * include/c_compatibility/setjmp.h: New.
503 * include/c_compatibility/signal.h: New.
504 * include/c_compatibility/stdarg.h: New.
505 * include/c_compatibility/stddef.h: New.
506 * include/c_compatibility/stdio.h: New.
507 * include/c_compatibility/stdlib.h: New.
508 * include/c_compatibility/string.h: New.
509 * include/c_compatibility/time.h: New.
510 * include/c_compatibility/wchar.h: New.
511 * include/c_compatibility/wctype.h: New.
513 * include/c/std_cerrno.h: Get out of the way... define errno.
514 * include/c/std_cmath.h: Add abs, modf overloads.
515 Undefine C99 isms. Still not sure how to deal with this sanely.
516 * include/c/std_csetjmp.h: Tweak.
517 * include/c/std_cwchar.h: Include cstddef for size_t.
519 * include/c_std/std_cmath.h: Remove extra function.
521 Pendantic std usage in testsuites.
522 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
524 * testsuite/17_intro/header_cwchar.cc: Tweak.
525 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
527 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
528 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
529 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
530 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
531 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
532 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
533 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
534 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
535 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
536 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
537 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
538 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
539 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
540 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
541 * testsuite/22_locale/num_get_members_char.cc: Same.
542 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
543 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
544 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
545 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
546 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
547 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
548 * testsuite/22_locale/messages_members_char.cc (test03): Same.
549 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
550 * testsuite/22_locale/collate_members_char.cc (test04): Same.
551 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
552 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
553 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
555 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
557 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
560 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
562 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
563 Use size_type instead of unsigned long.
565 2002-06-20 Steve Ellcey <sje@cup.hp.com>
567 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
571 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
573 * include/Makefile.am: Add rules.
574 * include/Makefile.in: Regenerate.
576 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
577 * aclocal.m4: Regenerate.
578 * configure: Regenerate.
579 * configure.target (c_model, c_compatibility): Add.
581 * libsupc++/Makefile.am (c_sources): New.
582 (libsupc___la_SOURCES): Add c_sources.
583 (LTCOMPILE): Remove INCLUDES.
585 (C_COMPILE): New, like COMPILE but without INCLUDES.
586 (cxa_demangle.o): Use C_COMPILE.
587 (dyn-string.o): Use C_COMPILE.
589 * include/c/std_cstdarg.h: Define __need___va_list.
590 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
591 need_NULL, need_offsetof.
593 2002-06-19 Steve Ellcey <sje@cup.hp.com>
595 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
596 definitions in hpux11 cross-build because these functions do
597 not exist on hpux11 (but some exist on hpux10); move defaults out
598 into existing sections.
599 * configure: Regenerate.
601 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
603 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
604 * include/c/std_cwctype.h: Guard.
606 * libsupc++/eh_alloc.cc: Tweak include order.
607 * libsupc++/pure.cc: Use cstdio.
608 * libsupc++/new_op.cc: Remove malloc forward declaration, as
609 cstdlib brings it in. Use std::malloc.
611 * src/Makefile.am (sources): Remove cmath.cc.
612 * src/Makefile.in: Regenerate.
613 * src/cmath.cc: Remove.
615 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
617 * configure.target: Force mips to use the generic cpu routines.
619 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
621 * configure.host: Delete file.
622 * configure.target: More documentation. Factor out common parts of
623 script into "intelligent" settings about defaults. Remove redundancy.
625 * acinclude.m4: Update comments. Do not call configure.host.
626 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
628 * configure.in: Slight reformatting, more comments. Factor out
629 "config/" from all the directories.
630 * docs/html/17_intro/porting.texi: Update and expand.
631 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
634 * aclocal.m4, configure, docs/html/17_intro/porting.html,
635 testsuite/Makefile.in: Regenerate.
637 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
639 * docs/doxygen/TODO: Update.
640 * docs/doxygen/tables.html: Uncomment magical middle column.
641 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
642 * include/bits/stl_queue.h: Doxygenate and reformat.
643 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
644 for deprecated names required by the standard.
646 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
648 * configure.in (target_alias): Fix.
649 * configure: Regenerate.
650 * aclocal.m4: Regenerate.
652 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
654 * include/Makefile.am: Add new files.
655 * include/Makefile.in: Regenerate.
657 * include/bits/stl_deque.h, include/bits/stl_list.h,
658 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
659 * include/bits/deque.tcc, include/bits/list.tcc,
660 include/bits/vector.tcc: ...to here. New files.
662 * include/ext/stl_hashtable.h: Inclide correct full headers.
663 * include/std/std_deque.h: Include .tcc files for now.
664 * include/std/std_list.h: Likewise.
665 * include/std/std_vector.h: Likewise.
667 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
669 * Makefile.am: Add FLAGS_TO_PASS.
670 * Makefile.in: Regenerated.
672 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
673 Benjamin Kosnik <bkoz@redhat.com>
675 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
677 * configure.in: Add support for *-qnx6.[12]*.
678 * configure: Regenerate.
680 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
682 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
683 ctype_noninline.h, os_defines.h: New files.
685 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
687 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
688 include all required headers for test against older POSIX standard.
689 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
690 (ac_setrlimit): Likewise.
691 * aclocal.m4: Regenerate.
692 * configure: Regenerate.
693 * testsuite/testsuite_hooks.cc: Reorder and include all
694 required headers for use against older POSIX standard.
696 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
698 * testsuite/backwards/strstream_members.cc: New.
700 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
702 * include/backwards/strstream: Format.
703 * src/strstream.cc: Format.
705 2002-06-08 Andreas Schwab <schwab@suse.de>
707 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
708 _M_buf_size and _M_buf_size_opt to the new buffer and size.
710 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
712 * config/os/generic/bits/ctype_noninline.h: Tweak format.
714 2002-06-07 Steve Ellcey <sje@cup.hp.com>
716 * src/locale-inst.cc (__codecvt_abstract_base):
717 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
718 * include/bits/istream.tcc (basic_istream): Ditto.
721 * include/bits/ostream.tcc (basic_ostream): Ditto.
727 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
729 * mkcheck.in: Link against local testsuite library.
730 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
731 implementation out...
732 * testsuite/testsuite_hooks.cc: ...to here.
734 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
736 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
737 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
738 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
739 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
740 * testsuite/Makefile.in: Likewise.
742 2002-06-05 David Edelsohn <edelsohn@gnu.org>
744 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
745 Call external symbol.
747 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
749 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
750 Search correct multilib testsuite dir for libv3test.
752 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
753 Gaby Dos Reis <gdr@codesourcery.com>
755 * include/bits/basic_string.tcc
756 (basic_string::_S_construct(forward_iterator_tag):
757 Fix typo in null pointer check.
758 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
760 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
762 * testsuite/22_locale/money_get_members_char.cc
763 (test02): Add decimal point to long double constants.
764 * testsuite/22_locale/money_get_members_wchar_t.cc
766 * testsuite/22_locale/money_put_members_char.cc
767 (test02, test03, test06): Likewise.
768 * testsuite/22_locale/money_put_members_wchar_t.cc:
769 (test02, test03, test06): Likewise.
770 * testsuite/22_locale/num_get_members_char.cc:
771 (test02, test01): Likewise; suffix long long constants with LL.
772 * testsuite/22_locale/num_get_members_wchar_t.cc:
773 (test02, test01): Likewise.
774 * testsuite/22_locale/num_put_members_char.cc:
775 (test02, test01): Likewise.
776 * testsuite/22_locale/num_put_members_wchar_t.cc:
777 (test02, test01): Likewise.
779 2002-06-03 Marc Espie <espie@openbsd.org>
781 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
782 assembly for old assemblers.
784 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
786 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
788 (vector<bool>::swap(reference,reference)): ...to this.
790 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
792 * docs/doxygen/TODO: Update.
793 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
794 some class members are in 14882 order.
795 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
797 * include/std/std_bitset.h: Update comment.
798 * src/bitset.cc: Update comments, clean up spacing.
800 * src/Makefile.am (sources): Alphabetize for convenience.
801 * src/Makefile.in: Regenerate.
803 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
805 * include/bits/stl_deque.h, include/bits/stl_list.h,
806 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
807 Reorder to match 14882. Doxygen blocks for all public members.
809 2002-05-31 Marcus Meissner <meissner@suse.de>
812 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
813 * testsuite/23_containers/vector_bool.cc (test02): New test.
815 2002-05-30 Marc Espie <espie@openbsd.org>
817 * configure.in: Always check for sys/types.h
818 * configure: Regenerate.
820 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
822 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
823 Rebuild the wrapper file every time this proc is called.
825 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
827 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
829 * testsuite/Makefile.in: Regenerate.
830 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
831 list_modifiers.cc and rename from 'T'. Move code bodies...
832 * testsuite/testsuite_hooks.cc: ...to here. New file.
833 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
834 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
835 Add libv3test.a to link options.
837 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
839 * src/misc-inst.cc: Define unnecessary algorithm
840 instantiations. Break apart instantiations into groupings below.
841 * src/fstream-inst.cc: New.
842 * src/io-inst.cc: New.
843 * src/istream-inst.cc: New.
844 * src/ostream-inst.cc: New.
845 * src/streambuf-inst.cc: New.
846 * src/sstream-inst.cc: New.
847 * src/Makefile.am (sources): Add files.
848 * src/Makefile.in: Regenerate.
850 * acinclude.m4: Work around automake 1.4-p5 bug, change
851 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
853 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
856 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
857 (classic_table): Fix.
858 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
860 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
862 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
863 _GLIBCPP_USE_WCHAR_T.
864 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
865 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
866 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
868 2002-05-26 Carlo Wood <carlo@alinoe.com>
869 Paolo Carlini <pcarlini@unitus.it>
872 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
873 (__enc_traits::operator=): add missing return statement.
875 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
878 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
879 (operator>>): If nothing was extracted, don't fail in the
881 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
883 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
886 * testsuite/22_locale/ctype_narrow_char.cc: New.
887 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
888 * testsuite/22_locale/ctype_widen_char.cc: New.
889 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
890 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
891 * testsuite/22_locale/ctype_is_char.cc: ...this.
892 * testsuite/22_locale/ctype_to_char.cc: ...and this.
893 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
894 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
895 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
897 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
899 2002-05-24 Dale Peakall <dale@peakall.net>
902 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
903 * config/locale/generic/ctype_members.cc: Same.
905 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
908 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
909 for empty string literal.
910 (ostream::operator<<(const _CharT*)): Same.
911 (ostream<char>::operator<<(const char*)): Same.
912 (ostream<char>::operator<<(streambuf*)): Same.
913 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
914 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
916 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
918 * configure.in (release_VERSION): Update to 3.1.1.
919 (libtool_VERSION): Update to 4:1:0.
920 * configure: Regenerate.
922 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
924 * include/bits/stl_pair.h: Tweak comment markup.
926 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
928 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
930 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
932 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
934 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
936 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
937 Doxygenate all public members. Reorder to follow 14882.
938 (vector::push_back(void)): Remove previously-deprecated fn.
939 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
940 Deprecate for removal in 3.3.
942 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
944 * docs/html/faq/index.html (5.4): Recommend against -I options for
945 finding the ext headers.
946 * docs/html/faq/index.txt: Regenerate.
948 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
950 * testsuite/23_containers/deque_operators.cc (test01):
951 Fix minor typo in last commit.
953 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
956 * include/bits/stl_deque.h (_Deque_iterator::operator==,
957 operator!=, operator<, operator>, operator>=, operator<=):
958 Make non-member functions, to allow comparing const and
959 non-const iterators in any order.
960 * testsuite/23_containers/deque_operators.cc: New testfile.
962 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
964 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
965 * docs/html/faq/index.txt: Regenerate.
967 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
969 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
970 * acinclude.m4: Likewise.
971 * docs/html/Makefile: Likewise.
972 * aclocal.m4: Regenerate.
973 * configure: Regenerate.
974 * Makefile.in: Regenerate.
976 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
979 * include/bits/c++config (__USE_MALLOC): Report case where
980 the user improperly defined it on the command line.
982 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
984 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
985 Retrieve current limits before setting.
987 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
990 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
992 (ostream::operator<<(const _CharT*)): Same.
993 (ostream<char>::operator<<(const char*)): Same.
994 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
996 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
999 * src/strstream.cc (strstreambuf): Fix leak.
1001 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1004 * include/bits/istream.tcc (istream::getline, ignore):
1005 Upon __idelim (__delim) call sbumpc() not snextc().
1006 * testsuite/27_io/narrow_stream_objects.cc:
1007 Add test08 and test09.
1009 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1011 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1012 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1014 * docs/html/install.html: Fix.
1016 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1018 * include/bits/fstream.tcc
1019 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1021 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1023 * docs/html/install.html: Tweak, add bits about required locales
1024 for the 22_locale tests when using the gnu model.
1026 * testsuite/27_io/istream_sentry.cc: Tweak.
1028 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1030 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1031 Fix typo, use this->is() rather than manually (and perhaps
1032 incorrectly) inlining it.
1033 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1035 * testsuite/22_locale/ctype_scan_char.cc: New file.
1037 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1038 Jakub Jelinek <jakub@redhat.com>
1040 * testsuite/22_locale/money_get_members_char.cc
1041 (test01, test02, test04): Use the de_DE@euro named locale
1042 instead of de_DE to allow for an uniform behaviour with
1043 both old and Euro-era localedata; tweak some tests.
1044 * testsuite/22_locale/money_get_members_wchar_t.cc
1045 (test01, test02, test04): Likewise.
1046 * testsuite/22_locale/money_put_members_char.cc
1047 (test01, test02, test04): Likewise.
1048 * testsuite/22_locale/money_put_members_wchar_t.cc
1049 (test01, test02, test04): Likewise.
1051 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1053 * testsuite/22_locale/codecvt_members_char_char.cc
1054 (test03): Robustify wrt localedata.
1055 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1056 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1057 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1058 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1059 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1060 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1061 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1062 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1063 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1064 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1065 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1066 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1067 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1068 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1069 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1070 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1071 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1072 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1073 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1074 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1075 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1076 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1078 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1080 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1083 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1085 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1086 to 64 for hppa 64-bit port.
1087 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1089 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1091 * acinclude.m4 (enable_symvers): Quote $LD.
1092 * aclocal.m4: Regenerate.
1093 * configure: Likewise.
1095 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1097 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1098 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1101 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1103 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1104 script entry, and set LD to it when configuring multilibs.
1105 * configure: Rebuilt.
1107 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1109 * configure.in: Add support for WindISS.
1110 * configure: Regenerated.
1111 * configure.target: Add support for WindISS.
1112 * config/os/windiss/bits/ctype_base.h: New file.
1113 * config/os/windiss/bits/ctype_inline.h: Likewise.
1114 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1115 * config/os/windiss/bits/os_defines.h: Likewise.
1117 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1119 Test all the facets for the temporary "C" locale switch issue.
1120 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1121 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1122 * testsuite/22_locale/collate_members_char.cc: Add test04.
1123 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1124 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1125 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1126 * testsuite/22_locale/messages_members_char.cc: Add test03.
1127 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1128 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1129 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1130 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1131 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1132 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1133 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1134 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1135 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1136 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1137 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1138 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1139 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1140 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1142 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1143 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1145 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1147 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1148 __EXTENSIONS__): Ensure they are always defined.
1150 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1152 * docs/html/documentation.html: Fix broken link.
1154 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1155 Paolo Carlini <pcarlini@unitus.it>
1157 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1158 testing for the locale_facets.tcc entry of the previous commit.
1159 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1161 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1163 * config/locale/generic/c_locale.cc
1164 (__convert_to_v(float, double, long double)):
1165 Fix the temporary switch to the "C" locale, saving and
1166 restoring in the proper way the current locale.
1167 * config/locale/generic/time_members.cc
1168 (__timepunct<char, wchar_t>::_M_put): Likewise.
1169 * config/locale/gnu/messages_members.cc
1170 (messages<char>::do_get): Likewise.
1171 * config/locale/gnu/messages_members.h
1172 (messages<_CharT>::do_get): Likewise.
1173 * config/locale/gnu/time_members.cc
1174 (__timepunct<char, wchar_t>::_M_put): Likewise.
1175 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1177 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1179 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1180 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1182 * Makefile.in, config.h.in, configure: Regenerate.
1184 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1187 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1188 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1190 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1192 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1194 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1196 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1198 * configure.in: Update local install.html, configopts.html paths.
1199 * configure: Regenerate.
1201 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1203 * config/os/irix/irix5.2/bits/os_defines.h
1204 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1206 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1209 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1211 * docs/html/faq/index.html: Update list in #4.1.
1212 * docs/html/faq/index.txt: Regenerated.
1214 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1216 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1218 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1220 * include/std/std_bitset.h: Fix doxygen comments.
1221 * docs/html/documentation.html: Minor tweaks for 3.1.
1222 * docs/html/27_io/howto.html: Likewise.
1223 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1224 * docs/html/faq/index.html: Likewise.
1225 * docs/html/faq/index.txt: Regenerated.
1227 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1230 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1231 (istreambuf_iterator::equal): Use it.
1232 (istreambuf_iterator::operator*): Use it.
1234 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1237 * include/bits/stl_uninitialized.h
1238 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1239 Fix typo in 2001-07-17 commit: typedef _ValueType to
1240 iterator_traits<_ForwardIter> not <_InputIter>.
1241 * testsuite/23_containers/vector_ctor.cc: Add test04.
1243 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1246 * include/c_std/std_cctype.h: Include bits/c++config.h.
1247 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1249 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1251 * include/ext/stdio_filebuf.h: New file.
1252 * include/ext/enc_filebuf.h: New file.
1253 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1254 * config/io/basic_file_stdio.cc: Same.
1255 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1256 Remove _M_unbuf hacks.
1257 (filebuf::_M_destroy_internal_buffer): Same.
1258 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1259 (filebuf::fd): Remove.
1260 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1261 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1262 (filebuf::fd): Remove.
1263 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1265 (ios_base::_S_ios_destroy): Same.
1266 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1267 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1268 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1270 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1273 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1275 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1278 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1280 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1281 (istreambuf_iterator::operator++): Invalidate on eof.
1282 (istreambuf_iterator::operator++(int)): Same.
1283 (istreambuf_iterator::operator*): Same.
1285 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1287 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1288 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1291 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1294 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1295 (__basic_file::sys_ungetc): Take int.
1296 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1297 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1298 Use sys_getc for unbuffered input.
1299 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1301 * src/ios.cc (_M_grow_words): Adjust error checking.
1302 * testsuite/27_io/ios_base_storage.cc: Same.
1304 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1306 * include/ext/stl_hashtable.h: Import __iterator_category
1308 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1309 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1311 * testsuite/ext/hash_set.cc: New testfile.
1313 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1315 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1317 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1318 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1320 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1322 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1323 Fix and tighten __throw_length_error check.
1324 * testsuite/21_strings/replace.cc (test05): New.
1325 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1327 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
1329 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1330 unconditional flush on lower-layer handle to here...
1331 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1332 ...from here. Optimize remaining _M_file.sync() call pattern.
1333 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1336 2002-04-23 Jason Merrill <jason@redhat.com>
1338 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1339 output-only filebufs.
1340 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1342 (basic_filebuf::_M_set_determinate): Likewise.
1345 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1346 value properly in the trivial case.
1347 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1348 tellg() returns the right value after a read.
1350 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
1352 * config/cpu/mmix/bits/cpu_limits.h: New file.
1353 * configure.target (CPULIMITSH): Use it.
1355 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
1357 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1358 * docs/html/17_intro/porting.html: Rebuilt.
1360 2002-04-20 Jason Merrill <jason@redhat.com>
1363 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1365 (basic_streambuf::_M_set_determinate): Likewise.
1366 (basic_streambuf::_M_is_indeterminate): Likewise.
1367 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1368 non-static data member.
1369 (basic_filebuf::_M_underflow_common): New non-static member function.
1370 (basic_filebuf::_M_underflow, _M_uflow): Call it.
1371 (basic_filebuf::sync): Avoid useless seeking.
1372 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1374 (basic_filebuf::_M_set_determinate): Likewise.
1375 (basic_filebuf::_M_is_indeterminate): Likewise.
1376 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1377 back to _M_out_beg if necessary.
1378 (basic_filebuf::seekoff): Likewise.
1379 (basic_filebuf::_M_underflow_common): Generalization of old
1380 underflow(). Don't seek back to _M_in_beg.
1381 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1382 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1383 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1384 * config/os/mingw32/bits/os_defines.h: Likewise.
1385 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1388 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
1390 * include/bits/istream.tcc (istream::read): Fix.
1391 * testsuite/27_io/istream_unformatted.cc (main): Add.
1393 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
1396 * include/bits/istream.tcc (istream::ignore): Streamline, use
1398 * include/bits/streambuf.tcc: Use this->gptr.
1399 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1401 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
1403 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1404 as type safety is important, especially on solaris.
1405 * include/bits/istream.tcc (istream::read): Clean.
1406 (istream::readsome): Same.
1407 * locale.cc: Wrap lines.
1409 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1410 * testsuite/27_io/instantiations.cc (test): Add bool variable...
1411 * testsuite/21_strings/capacity.cc: Clean.
1413 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1415 * docs/doxygen/doxygroups.cc: New group on binary searching.
1416 * include/bits/stl_algo.h: Document binary searches and merges.
1417 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
1419 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1421 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
1422 * docs/doxygen/run_doxygen: Bump required version.
1423 * docs/doxygen/user.cfg.in: Revert accidental change.
1424 * docs/html/faq/index.html: Reindent a block of links.
1425 (4.4): New note on using dlsym.
1426 * docs/html/faq/index.txt: Regenerated.
1428 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1430 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
1432 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1434 * config/linker-map.gnu (__malloc_alloc_template): Add.
1435 (__default_alloc_template): Same.
1436 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1438 (__default_alloc_template): Same.
1440 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1442 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1444 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
1446 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1447 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1448 (__malloc_alloc_template): Conditionalize.
1450 * include/bits/istream.tcc: Remove sputbackc calls.
1452 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1454 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
1456 * testsuite/24_iterators/rel_ops.cc: New test.
1458 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1460 * include/bits/type_traits.h (__normal_iterator): Declare in
1461 __gnu_cxx. Adjust use at global namespace.
1462 * include/bits/stl_iterator.h (__normal_iterator): Move definition
1463 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
1464 * include/bits/basic_string.h (basic_string): Adjust use of
1466 * include/bits/stl_vector.h (_Alloc>): Likewise.
1467 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1468 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1470 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
1474 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1476 (__basic_file::close): Call fflush. Correct return if fclose ok.
1477 (__basic_file::is_open): Make const.
1478 Change __c_file_type to __c_file.
1479 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1480 (__basic_file::is_open): Make const.
1481 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1482 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1483 (filebuf::_M_unbuf): Add.
1484 (filebuf::_M_file): Change to non-pointer.
1485 (filebuf::_M_allocate_pback_buffer): Remove.
1486 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1487 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1488 Change initialization list for _M_file change.
1489 (filebuf::_M_allocate_pback_buffer): Remove.
1490 Change _M_file usage to reflect non-pointer data member.
1492 * config/locale/generic/c_locale.cc
1493 (locale::facet::_S_create_c_locale): Add parameter.
1494 * config/locale/generic/collate_members.cc: Change
1495 _M_compare_helper to _M_compare.
1496 Change _M_transform_helper to _M_transform.
1497 * config/locale/generic/monetary_members.cc: Changeup data types.
1499 * config/locale/generic/numeric_members.cc: Add dtors.
1500 * config/locale/generic/time_members.cc: Add dtors.
1501 * config/locale/gnu/c_locale.cc: Add parameter.
1502 * config/locale/gnu/collate_members.cc:Change
1503 _M_compare_helper to _M_compare.
1504 Change _M_transform_helper to _M_transform.
1505 * config/locale/gnu/ctype_members.cc: Better error checking.
1506 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1507 * config/locale/gnu/messages_members.cc: Tweak comment.
1508 * config/locale/gnu/monetary_members.cc: Change data types.
1510 * config/locale/gnu/numeric_members.cc: Add dtors, better error
1512 * config/locale/gnu/time_members.cc: Same.
1513 * config/locale/ieee_1003.1-2001/c_locale.cc
1514 (locale::facet::_S_create_c_locale): Add parameter.
1515 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1516 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1519 * include/bits/locale_facets.h (moneypunct): Use string literals.
1522 (__timepunct): Same.
1523 (locale::_Impl::_M_facets): Change from vector to array.
1524 (locale::_Impl::_M_names): Change from array of strings to array
1526 (locale::facet::_S_create_c_locale): Add parameter.
1527 (locale::locale::_S_num_facets): Move to...
1528 (locale::_Impl::_M_facets_size): Here.
1529 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1531 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1532 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1533 (locale::_Impl::_Impl(string, size_t)): Change to
1534 (locale::_Impl::_Impl(const char*, size_t)): This.
1536 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1537 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1538 (streambuf::_S_pback_size): This.
1540 * src/globals.cc: Add pre-allocations for "C" facets.
1541 * src/locale-inst.cc: Remove vector instantiations.
1542 * src/locale.cc: Remove vector include. Fixups for _M_names,
1544 * src/localename.cc: Same.
1546 * include/bits/stl_vector.h: Fix odd formatting.
1548 * include/bits/basic_string.tcc: Tweak comment.
1550 * libsupc++/new: Make sure parameters are uglified.
1551 * libsupc++/typeinfo: Same.
1553 * testsuite/22_locale/num_get_members_char.cc: Fixup.
1554 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1555 * testsuite/27_io/filebuf_members.cc: Same.
1557 2002-04-12 Steve Ellcey <sje@cup.hp.com>
1559 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1560 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1561 does not define strtoll or strtoull, but does define strtol
1562 and strtoul which are the same since in 64 bit mode
1563 sizeof(long) == sizeof(long long).
1565 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
1567 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
1568 trailing spaces, indentation, and macro names. Make exception
1569 messages more informative.
1571 2002-04-11 Richard Henderson <rth@redhat.com>
1573 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1574 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1575 (basic_ostream<>::operator<<(long long)): Same.
1577 2002-04-11 Richard Henderson <rth@redhat.com>
1579 * config/linker-map.gnu: Add __gxx_personality_sj0.
1581 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1584 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1586 Remove forward declaration of vector.
1588 * include/bits/locale_facets.tcc: Remove vector include.
1589 (use_locale): Adjust.
1590 (has_locale): Adjust.
1591 * src/locale.cc: Adjust.
1592 * src/localename.cc: Same.
1594 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1595 Richard Henderson <rth@redhat.com>
1597 * include/bits/sstream.tcc: Clean up bit ops.
1598 * include/bits/fstream.tcc: Same.
1600 2002-04-09 Jakub Jelinek <jakub@redhat.com>
1602 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1603 (__num_base::_S_scale_oct): Remove.
1604 * src/locale.cc (__num_base::_S_scale_hex): Remove.
1605 (__num_base::_S_scale_oct): Remove.
1607 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1610 * testsuite/23_containers/bitset_members.cc: New test.
1611 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1612 (_S_bit_count): Here.
1613 (_First_one::_S_first_one): Move...
1614 (_S_first_one): Here.
1616 * src/bitset.cc: Adjust.
1617 * config/linker-map.gnu: Export.
1619 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
1622 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1623 * include/std/std_fstream.h: Clean.
1624 * include/bits/ostream.tcc: Remove extraneous variables.
1625 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1626 open modes and which modes.
1627 (stringbuf::seekpos): Same.
1628 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1630 2002-04-05 Jonathan Wakely <jw@kayari.org>
1632 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1633 random_shuffle, partition, stable_partition, sort, stable_sort,
1634 partial_sort, partial_sort_copy, nth_element): Doxygenate.
1636 2002-04-05 David S. Miller <davem@redhat.com>
1638 * config/os/gnu-linux/bits/os_defines.h
1639 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1641 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
1644 via gawrilow@math.tu-berlin.de
1645 * acinclude.m4 (version_specific_libs): Fix combo usage with
1646 --with-gxx-include-dir.
1647 * aclocal.m4: Regenerate.
1650 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
1652 As per DR 184, libstdc++/3139
1653 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1654 (numeric_limits<bool>::is_iec559): False.
1655 (numeric_limits<bool>::is_modulo): False.
1657 * testsuite/27_io/ios_init.cc: Add instantiations.
1659 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
1662 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1663 * testsuite/27_io/ios_init.cc (tests04): Add test.
1666 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1667 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1668 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1669 * include/bits/istream.tcc: Use _M_fctype, make consistent with
1671 * testsuite/27_io/ios_init.cc (tests03): Add test.
1673 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
1675 * include/Makefile.am (install-data-local): Use mkinstalldirs.
1676 * include/Makefile.in: Regenerate.
1678 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
1679 Nathan Myers <ncm@cantrip.org>
1680 Philip Martin <philip@codematters.co.uk>
1682 * include/bits/basic_string.h
1683 (replace(i1, i2, _CharT* k1, _CharT* k2),
1684 replace(i2, i2, const _CharT* k1, const _CharT* k2),
1685 replace(i1, i2, iterator k1, iterator k2,
1686 replace(i1, i2, const_iterator k1, const_iterator k2):
1687 New specializations to optimize for the common cases of
1688 pointers and iterators.
1689 (replace(pos, n1, s, n2)): Tweak.
1690 * include/bits/basic_string.tcc: Tweak comments.
1691 * testsuite/21_strings/replace.cc (test04): New tests.
1693 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1696 * acinclude: More extensive checks for msgfmt, --enable-nls.
1697 * aclocal.m4: Regenerate.
1698 * configure: Regenerate.
1700 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1702 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
1703 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
1704 * docs/html/18_support/howto.html: Document the demangler.
1705 * docs/html/17_intro/howto.html: And link to it.
1707 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
1708 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
1710 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1712 * config/linker-map.gnu: Export __verbose_terminate_handler.
1713 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
1714 Make new LTCOMPILE variable, use it in new special build rules.
1715 * libsupc++/Makefile.in: Rebuild.
1716 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
1717 runtime __cxa_demangle.
1719 * docs/html/install.html: Update prereqs and instructions.
1720 * docs/html/19_diagnostics/howto.html: Bring naming for
1721 verbose_terminate_handler into line with reality.
1723 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1726 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1727 (basic_ios::_M_streambuf_state): Move.
1728 * include/bits/ios_base (ios_base): To here.
1729 * include/bits/ios_base.h (ios_base::_S_local_words): To
1731 (ios_base::_M_word_array): To _M_local_word.
1732 (ios_base::_M_words_limit): To _M_word_size.
1733 (ios_base::_M_words): To _M_word.
1735 * include/bits/basic_ios.tcc: Adjust.
1736 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1737 * testsuite/27_io/ios_base_storage.cc: Add tests.
1740 Kenny Simpson <theonetruekenny@yahoo.com>
1741 * include/bits/ios_base.h: Fix.
1743 Richard Henderson <rth@redhat.com>
1744 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1747 * include/bits/basic_string.h: Tweak formatting.
1749 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1751 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1752 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1753 By definition, sizeof(char) == 1.
1754 * include/bits/locale_facets.tcc (money_get::do_get,
1755 money_put::do_put): Ditto.
1756 * testsuite/21_strings/inserters_extractors.cc
1759 2002-03-30 Richard Henderson <rth@redhat.com>
1762 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1763 data out of the exception struct before calling unexpectedHandler.
1765 2002-03-28 Roger Sayle <roger@eyesopen.com>
1767 * include/c_std/std_cmath.h: To prevent problems overloading
1768 g++ builtins, use the double variants from the global namespace
1769 before defining float and long double variants in std::.
1771 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1773 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1775 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1777 * testsuite/24_iterators/istream_iterator.cc
1778 (test02): New tests.
1780 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1781 Paolo Carlini <pcarlini@unitus.it>
1783 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1784 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1785 fix i_lit_base e_lit_base arrays, making them independent
1786 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1788 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1790 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1791 allocate at least a byte.
1793 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1795 * testsuite/27_io/streambuf.cc (test07): Fix.
1798 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1800 * docs/doxygen/Intro.3: Date tweak.
1801 * docs/doxygen/TODO: Update.
1802 * docs/doxygen/doxygroups.cc: Point to tables.html.
1803 * docs/doxygen/mainpage.html: Date tweak.
1804 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1805 * docs/doxygen/tables.html: Fill in the blanks.
1807 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1808 * include/bits/stl_algo.h: Likewise; use expanded form.
1809 * include/bits/stl_alloc.h: Likewise.
1810 * include/bits/stl_construct.h: Likewise.
1811 * include/bits/stl_deque.h: Likewise.
1812 * include/bits/stl_iterator_base_types.h: Likewise.
1813 * include/bits/stl_list.h: Likewise.
1814 * include/bits/stl_relops.h: Likewise.
1815 * include/bits/stl_tempbuf.h: Likewise.
1816 * include/bits/stl_vector.h: Likewise.
1817 * include/std/std_memory.h: Likewise.
1819 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1820 * include/bits/stl_list.h: Likewise.
1821 * include/bits/stl_vector.h: Likewise.
1823 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1825 * include/c/: Guard with _CPP_.
1826 * include/c_std/: Same.
1827 * include/Makefile.am: Fixup install, link routines for null
1828 c_base_headers_extra scenarios.
1829 * include/Makefile.in: Regerate.
1831 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1832 Richard Henderson <rth@redhat.com>
1834 * testsuite/22_locale/codecvt_members_unicode_char.cc
1835 (test01, test02): make sure that the i_lit_base array
1836 is sufficiently aligned.
1838 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1840 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1843 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1845 * testsuite/22_locale/collate_byname.cc
1846 (test01): compare the result of collate::compare with
1847 that of collate::transform + string::compare, not with
1848 that of collate::transform + collate::compare; values
1849 returned by collate::compare are normalized, therefore
1852 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1853 Jakub Jelinek <jakub@redhat.com>
1855 * config/locale/gnu/messages_members.h: Correct conditional.
1856 * config/locale/gnu/messages_members.cc: Same.
1857 * config/locale/gnu/time_members.cc: Same.
1859 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1860 Paolo Carlini <pcarlini@unitus.it>
1862 * testsuite/22_locale/codecvt_members_unicode_char.cc
1863 (test01, test02): Fix i_lit_base arrays, making them
1864 independent from the endianness of the platform.
1866 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1868 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1869 signbit and __signbit directly.
1870 * aclocal.m4: Regenerate.
1871 * configure: Regenerate.
1872 * config.h.in: Regenerate.
1873 * libmath/Makefile.am: Simplify.
1874 * libmath/Makefile.in: Regenerate.
1875 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1877 * include/Makefile.am: Clean up handling of extra "C" header files.
1878 Add hooks for "C" compatibility headers.
1879 * include/Makefile.in: Regenerate.
1881 * include/c/*: Formatting tweaks, cleanups.
1882 * include/c_std/*: Same.
1884 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1886 * config/locale/gnu/messages_members.h: Add __uselocale bits.
1887 * config/locale/gnu/messages_members.cc: Same.
1888 * config/locale/gnu/time_members.cc: Same.
1890 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1892 * src/vterminate.cc: Format, -fno-exceptions cleanup.
1894 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1896 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1897 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1898 * aclocal.m4: Regenerate.
1899 * configure: Likewise.
1901 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
1902 Ulrich Drepper <drepper@redhat.com>
1904 * src/locale-inst.cc (__convert_from_v): Add an additional
1905 __size parameter in the declarations.
1906 * include/bits/locale_facets.tcc
1907 (__convert_from_v): When available (that is,
1908 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1909 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1910 being defined or not, call and use __convert_from_v in the
1912 (num_put::_M_convert_int): Same here.
1913 (money_put::do_put(long double)): Same here.
1915 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
1917 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
1918 * docs/html/faq/index.txt: Regenerate.
1920 2002-03-19 Steve Ellcey <sje@cup.hp.com>
1922 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1923 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1924 --enable-libunwind-exceptions is set.
1925 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1926 macro to check for libunwind.
1927 * configure: Regenerate.
1928 * src/Makefile.am (libstdc___la_LDFLAGS): Add
1929 LIBUNWIND_FLAG to libstdc link line.
1930 * src/Makefile.in: Regenerate.
1932 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
1934 * docs/html/faq/index.html: Add OS X workaround.
1935 * docs/html/17_intro/TODO: Update.
1937 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
1939 * include/bits/locale_facets.tcc
1940 (money_put::do_put(long double)): Fix dimensioning of
1941 temporary buffers to avoid risk of overruns.
1942 (money_put::do_put(string)): Same for the buffer used to
1943 add the grouping chars.
1944 * testsuite/22_locale/money_put_members_char.cc: Add test06.
1945 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1947 * include/bits/locale_facets.tcc
1948 (collate::do_transform): Simplify.
1950 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
1952 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
1953 * configure.in: Add comments pointing the way for autoconf 2.5x.
1954 * aclocal.m4, config.h.in, configure: Regenerate.
1956 2002-03-18 Philipp Thomas <pthomas@suse.de>
1958 * include/backward/hash_map.h: hash, hashtable, hash_map and
1959 hash_multimap are in namespace __gnu_cxx.
1960 include/backward/hash_set.h: hash, hashtable, hash_set and
1961 hash_multiset are in namespace __gnu_cxx.
1962 include/backward/hashtable.h: hash and hashtable are in
1963 namespace __gnu_cxx.
1964 include/backward/rope.h: char_producer, sequence_buffer,
1965 rope, crope and wrope are in namespace __gnu_cxx.
1966 include/backward/slist.h: slist is in namespace __gnu_cxx.
1967 * testsuite/backward/header_hash_map_h.cc
1968 testsuite/backward/header_hash_set_h.cc
1969 testsuite/backward/header_hashtable_h.cc
1970 testsuite/backward/header_rope_h.cc
1971 testsuite/backward/header_slist_h.cc
1972 testsuite/backward/header_tempbuf_h.cc: New tests for
1973 checking that we're using the correct namespace.
1975 2002-03-17 Jason Merrill <jason@redhat.com>
1978 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1979 (check_exception_spec): Call it. Take the thrown pointer.
1980 (__cxa_call_unexpected): Pass it.
1981 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
1983 2002-03-15 Anthony Green <green@redhat.com>
1985 * configure.in: Remove useless is_mingw32.
1986 * configure: Rebuilt.
1988 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
1990 * testsuite/22_locale/collate_members_char.cc
1991 (test01): compare the result of collate::compare with
1992 that of collate::transform + string::compare, not with
1993 that of collate::transform + collate::compare.
1994 (test01): values returned by collate::compare are
1995 normalized, therefore test against +-1.
1996 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1998 2002-03-12 Loren Rittle <ljrittle@acm.org>
2000 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2001 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2003 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2004 Per Liboriussen <liborius@stofanet.dk>
2006 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2008 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2010 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2012 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2013 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2015 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2016 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2018 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2019 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2021 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2023 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2025 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2026 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2027 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2028 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2029 that memory limits are in place.
2030 (test03): Add tests.
2032 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2034 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2035 * aclocal.m4: Regenerate.
2036 * config.h.in: Regenerate.
2037 * configure: Regenerate.
2038 * include/c_std/std_cwctype.h: Guard.
2040 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2042 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2043 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2044 * aclocal.m4: Regenerate.
2045 * configure: Regenerate.
2047 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2049 * include/bits/stl_bvector.h: Fix warning.
2051 2002-03-11 Richard Henderson <rth@redhat.com>
2053 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2055 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2057 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2058 New function. Build the list of tests to run in testsuite_files.
2059 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2061 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2063 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2064 platforms with no weak support.
2065 * testsuite/27_io/ios_init.cc: Likewise.
2067 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2069 * include/bits/locale_facets.tcc (time_put::do_put):
2070 Consider sizeof(char_type) in allocating the buffer.
2072 * include/bits/locale_facets.tcc (collate::do_tranform):
2073 Remove redundant variable.
2075 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2076 Paolo Carlini <pcarlini@unitus.it>
2078 * config/locale/generic/collate_members.cc
2079 (collate<char,wchar_t>::_M_compare_helper): normalize
2080 values returned by strcoll and wcscoll.
2081 * config/locale/gnu/collate_members.cc
2082 (collate<char,wchar_t>::_M_compare_helper): ditto
2083 for __strcoll_l and __wcscoll_l.
2085 2002-03-10 Anthony Green <green@redhat.com>
2087 * configure.in: Support cross builds to mingw32 target.
2088 * configure: Rebuilt.
2090 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2092 * include/bits/locale_facets.tcc (collate::do_transform):
2093 Rewrite to fix problems with long transformed strings.
2095 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2097 * c_locale_generic.cc: Move to...
2098 * generic/c_locale.cc
2099 * c_locale_generic.h: Move to...
2100 * generic/c_locale.h
2101 * codecvt_specializations_generic.h: Move to...
2102 * generic/codecvt_specializations.h
2103 * collate_members_generic.cc: Move to...
2104 * generic/collate_members.cc
2105 * ctype_members_generic.cc: Move to...
2106 * generic/ctype_members.cc
2107 * messages_members_generic.cc: Move to...
2108 * generic/messages_members.cc
2109 * messages_members_generic.h: Move to...
2110 * generic/messages_members.h
2111 * moneypunct_members_generic.cc: Move to...
2112 * generic/monetary_members.cc
2113 * numpunct_members_generic.cc: Move to...
2114 * generic/numeric_members.cc
2115 * time_members_generic.cc: Move to...
2116 * generic/time_members.cc
2117 * c_locale_gnu.cc: Move to...
2119 * c_locale_gnu.h: Move to...
2121 * collate_members_gnu.cc: Move to...
2122 * gnu/collate_members.cc
2123 * ctype_members_gnu.cc: Move to...
2124 * gnu/ctype_members.cc
2125 * messages_members_gnu.cc: Move to...
2126 * gnu/messages_members.cc
2127 * messages_members_gnu.h: Move to...
2128 * gnu/messages_members.h
2129 * moneypunct_members_gnu.cc: Move to...
2130 * gnu/monetary_members.cc
2131 * numpunct_members_gnu.cc: Move to...
2132 * gnu/numeric_members.cc
2133 * time_members_gnu.cc: Move to...
2134 * gnu/time_members.cc
2135 * c_locale_ieee_1003.1-200x.cc: Move to...
2136 * ieee_1003.1-2001/c_locale.cc
2137 * c_locale_ieee_1003.1-200x.h: Move to...
2138 * ieee_1003.1-2001/c_locale.h
2139 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2140 * ieee_1003.1-2001/codecvt_specializations.h
2141 * messages_members_ieee_1003.1-200x.cc: Move to...
2142 * ieee_1003.1-2001/messages_members.cc
2143 * messages_members_ieee_1003.1-200x.h: Move to...
2144 * ieee_1003.1-2001/messages_members.h
2146 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2147 * aclocal.m4: Regenerate.
2148 * configure: Regenerate.
2149 * src/Makefile.am (sources): Change to monetary and numeric.
2150 * src/Makefile.in: Regenerate.
2151 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2153 2002-03-08 scott snyder <snyder@fnal.gov>
2156 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2157 Allow one more digit of precision.
2158 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2159 write a double and read back in the same value.
2161 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2163 * include/std/std_limits.h: Move static const data members out of
2164 generic template, into base class __numeric_limits_base.
2165 * src/limits.cc: Add definitions.
2166 * config/linker-map.gnu: Add __numeric_limits_base.
2167 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2169 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2171 * include/bits/stl_alloc.h: Add extern implicit allocator
2173 * include/bits/basic_string.tcc: Tweak.
2174 * include/bits/locale_facets.tcc: Remove default args. Add
2175 has_facet, use_facet extern instantiations.
2176 * src/stl-inst.cc: Add explicit instantiation.
2177 * src/locale-inst.cc: Clean. Remove locale member template
2180 * testsuite/22_locale/operators.cc (test02): Enable.
2182 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2183 Stephen M. Webb <stephen.webb@bregmasoft.com>
2185 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2186 (_S_rb_tree_black): Make enum.
2188 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2189 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2190 (__stl_threshold): _M_threshold, enum.
2191 * src/stl-inst.cc: Same.
2192 * config/linker-map.gnu: Remove.
2194 * testsuite/23_containers/vector_bool.cc: New.
2196 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2198 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2199 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2200 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2201 referring to the collection as a whole. New section on which macros
2202 can be redefined by the user.
2203 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2204 * docs/html/20_util/howto.html: Update link to SGI.
2205 * docs/html/faq/index.html: Update snapshot versions. New entry
2206 on why g++ (but not gcc) must currently predefine certain macros.
2207 * docs/html/faq/index.txt: Regenerated.
2209 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2210 names in declaration.
2211 (basic_string::compare): These are no longer optional.
2212 * include/bits/ostream.tcc: Tweak closing brace placement.
2213 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2214 * include/std/std_sstream.h: Fix typo in comment.
2215 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2216 * src/locale.cc: Likewise.
2218 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2221 * include/bits/stl_vector.h (vector::push_back()): Guard with
2222 _GLIBCPP_DEPRECATED.
2224 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2226 * include/bits/c++config: Fix misplaced leading blanks on first line.
2228 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2230 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2231 * README (libmath): Make clear.
2233 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2235 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2236 script globbing in ld.
2237 * aclocal.m4: Rebuilt.
2238 * configure: Rebuilt.
2240 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2242 * docs/html/17_intro/RELEASE-NOTES: Update.
2243 * README: Format subdirectories.
2245 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2248 * include/bits/locale_facets.tcc
2249 (num_get::_M_extract_float): Fix the parsing of __dec, since
2250 the standard prescribes that if no grouping characters are
2251 seen, no grouping check is applied.
2252 * testsuite/22_locale/num_get_members_char.cc: Add test05
2253 distilled from the PR.
2254 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2256 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2258 * docs/html/17_intro/porting-howto.xml: Refer to
2259 http://www.oasis-open.org for docbookx.dtd.
2260 * docs/html/17_intro/porting-howto.html: Regenerated.
2262 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2265 * include/std/std_sstream.h: Remove trailing spaces.
2266 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2267 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2269 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2271 * testsuite/22_locale/num_get_members_char.cc (test04):
2272 Use a named locale expecting grouping (de_DE).
2273 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2275 * testsuite/27_io/ios_manip_basefield.cc (test01):
2276 Extend coverage, uniform treatment of hexs and octs.
2278 2002-02-28 Richard Henderson <rth@redhat.com>
2280 * config/linker-map.gnu: Export operator new with unsigned long,
2281 and with std::nothrow_t. Likewise operator delete.
2283 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2285 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2286 Admit grouping for octals and hexadecimals too.
2287 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2288 (test01): Tweak "." -> "," in void* test.
2289 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2291 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2292 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2294 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2296 * testsuite/27_io/ios_manip_basefield.cc (test01):
2297 Fix for 64 bit machines.
2299 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2302 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2304 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2305 (basic_ios::_M_fill_init): New.
2306 (basic_ios::fill()): Delay dealing with _M_fill.
2308 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2309 (ios_base::_M_call_callbacks): Adjust.
2310 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2312 2002-02-26 Loren Rittle <ljrittle@acm.org>
2314 * include/Makefile.am (thread_target_headers): Unconditionally
2315 stage and install gthr-posix.h.
2316 (${target_builddir}/gthr-posix.h): New rule cloned off
2317 ${target_builddir}/gthr-default.h.
2318 (${target_builddir}/gthr-default.h): Support chained inclusion
2319 of gthr support headers.
2320 * include/Makefile.in: Rebuilt.
2322 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2324 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2325 Group all the integral types, not only decs.
2326 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2327 tests, add a few more.
2329 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
2331 * src/ios.cc (ios_base::~ios_base): Tweak.
2332 (ios_base::_M_call_callbacks): Deal with null __p.
2333 (ios_base::ios_base): Set _M_callbacks.
2334 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2335 * testsuite/27_io/ios_init.cc (test02): Fix.
2337 * mkcheck.in (static_fail): Failed links go to output file.
2339 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
2341 * docs/html/faq/index.html: Update.
2342 * docs/html/faq/index.txt: Regenerate.
2344 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
2346 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
2347 * aclocal.m4: Regenerate.
2348 * docs/html/configopts.html: Document --enable-symvers.
2349 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
2351 2002-02-22 Philipp Thomas <pthomas@suse.de>
2353 * include/backward/tempbuf.h: get_temporary_buffer and
2354 return_temporary_buffer are in namespace std, not in __gnu_cxx.
2356 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
2358 * configure.in (target_alias): Default to yes.
2359 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2360 libgcc to default case.
2362 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
2364 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
2365 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
2366 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
2367 * aclocal.m4: Regenerate.
2368 * configure: Regenerate.
2369 * config/linker-map.dummy: New file. Contains nothing useful.
2371 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
2373 * testsuite/22_locale/money_put_members_char.cc: Fix.
2374 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2376 * testsuite/27_io/standard_manipulators.cc: New file.
2378 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2379 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2381 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
2383 * config/os/mingw32/bits/ctype_noninline.h
2384 (ctype<char>::ctype): Remove default args from parm list.
2385 * config/os/djgpp/bits/ctype_noninline.h: Same.
2387 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2389 * include/std/std_iomanip.h: Inline, tweaks.
2390 * config/linker-map.gnu: Remove hacks.
2392 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2393 * testsuite/27_io/ios_init.cc: Same.
2394 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2395 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2397 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2399 * config/linker-map.gnu: Export global vtable, typeinfo, guard
2400 variable, and thunk info as per CXXABI docs.
2402 2002-02-19 Loren Rittle <ljrittle@acm.org>
2404 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2405 * include/Makefile.in: Rebuilt.
2407 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2409 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2410 with size3 for the string collations of str5.
2412 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
2415 * include/bits/locale_facets.tcc (money_put::do_put):
2416 For the space field use __fill instead of ' ', uniformly.
2417 * testsuite/22_locale/money_put_members_char.cc:
2418 Add test05 distilled from PR.
2419 (test01-02-03): Trim some '*' to ' '.
2420 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2422 2002-02-18 Loren Rittle <ljrittle@acm.org>
2425 * include/Makefile.am (thread_builddir): Remove (map all
2426 existing uses to target_builddir).
2427 (thread_headers): Rename to...
2428 (thread_target_headers): ...this.
2429 (stamp-thread): Remove.
2430 (stamp-target): Correctly state the position as built.
2431 Update all dependencies to match the new reality. Remove all
2432 dependency calculations on directories.
2433 * include/Makefile.in: Rebuilt.
2435 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
2437 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2438 * include/bits/fstream.tcc: Same.
2439 * include/bits/sstream.tcc: Same.
2440 * include/bits/ostream.tcc: Same.
2441 * include/bits/istream.tcc: Same.
2442 * include/bits/streambuf.tcc: Same.
2443 * include/bits/basic_ios.tcc: Same.
2444 * include/bits/basic_string.tcc: Same.
2446 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2448 * include/std/std_iosfwd.h: Don't guard typedefs with
2449 _GLIBCPP_USE_WCHAR_T
2450 * include/bits/stringfwd.h: Same.
2452 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2454 * src/locale.cc (moneypunct_byname): Remove definitions.
2455 * include/std/std_streambuf.h (streambuf::operator=): Return.
2457 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2460 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2461 explicit instantiation.
2462 (string::_Rep::_S_max_size): Same.
2463 * include/bits/basic_string.tcc: Add extern explicit
2464 instantiations for string, wstring.
2465 * include/bits/basic_ios.tcc: Add extern explicit instantiations
2467 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2468 * include/bits/istream.tcc: Same, for istream, wistream.
2469 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2471 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2472 istringstream, wistringstream, ostringstream, wostringstream,
2473 stringstream, wstringstream.
2474 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2475 wifstream, ofstream, wofstream, fstream, wfstream.
2476 * src/misc-inst.cc: Correct comments.
2477 Add iomanip instantiations for wide streams.
2478 * include/std/std_iomanip.h: Same.
2479 * include/bits/locale_facets.tcc: Same.
2481 * include/std/std_streambuf.h: Correct
2482 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2483 * include/std/std_sstream.h: Same.
2484 * include/std/std_ostream.h: Same.
2485 * include/std/std_istream.h: Same.
2486 * include/std/std_fstream.h: Same.
2488 * include/std/std_streambuf.h: Add definitions for private copy
2489 ctor and assignment operator.
2490 * include/std/std_istream.h: Remove declared but undefined copy
2491 ctor and assignment operator. This is taken care of in ios_base,
2492 so adding it in the derived class as well is superfluous.
2493 * include/std/std_ostream.h: Same.
2495 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2496 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2498 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2500 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2501 Add typeinfo bits. Smooth.
2502 * aclocal.m4: Regenerate.
2504 * src/Makefile.in: Same.
2506 2001-02-14 Joel Sherrill <joel@OARcorp.com>
2508 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2509 which do not have a CAS instruction.
2511 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2513 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2514 * configure.in: Call it.
2515 * config/linker-map.gnu: New file, initial incomplete revision.
2516 * src/Makefile.am: Optionally pass version script to the linker.
2517 * aclocal.m4: Regenerate.
2518 * configure: Regenerate.
2519 * src/Makefile.in: Regenerate.
2521 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
2523 * src/localename.cc: Remove stdexcept include.
2524 * src/locale-inst.cc: Same.
2525 * src/locale.cc: Same.
2526 * src/functexcept.cc: Remove string includes.
2527 * include/std/std_bitset.h: Remove stdexcept include.
2528 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2529 * testsuite/23_containers/bitset_ctor.cc: Same.
2531 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
2533 * include/bits/stl_algo (__stl_threshold): Declare external.
2534 (__stl_chunk_size): Same.
2535 * include/bits/stl_bvector.h (__WORD_BIT): Same.
2536 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2537 (_S_rb_tree_black): Same.
2538 * src/stl-inst.cc (__stl_threshold): Define.
2539 (__stl_chunk_size): Same.
2541 (_S_rb_tree_red): Same.
2542 (_S_rb_tree_black): Same.
2544 * config/io/basic_file_libio.h (__basic_file): Add declarations.
2545 * include/bits/basic_file.h: Remove.
2546 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2547 Declare generic types, specialization.
2548 * config/io/basic_file_stdio.cc: Definitions.
2549 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2550 Declare generic types.
2551 * include/Makefile.am (bits_headers): Remove basic_file.h.
2552 (extra_target_headers): Change basic_file_model.h to basic_file.h.
2553 (stamp-target): Same.
2555 * include/bits/stl_alloc.h: Tweaks.
2556 * include/bits/localefwd.h: Same.
2558 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
2560 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2561 * testsuite/22_locale/collate_members_char.cc (test03): New test.
2562 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2564 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
2566 * include/bits/stl_algo.h (transform (both signatures), generate_n):
2567 Use __typeof__ in concept checks.
2569 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
2571 * include/bits/stl_algo.h (__median, for_each, find, find_if,
2572 adjacent_find, count, count_if, search, search_n, swap_ranges,
2573 transform, replace, replace_if, replace_copy, replace_copy_if,
2574 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2575 unique, unique_copy, reverse, reverse_copy): Doxygenate.
2577 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
2579 * include/bits/locale_facets.h
2580 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2581 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2582 (__timepunct<_CharT>::_M_put_helper): Same.
2583 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2585 * include/bits/fstream.tcc (filebuf::underflow): Remove
2586 __codecvt_type typedef.
2587 (filebuf::_M_convert_to_external): Same.
2589 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
2591 * docs/doxygen/TODO: Update.
2592 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
2593 * docs/doxygen/mainpage.html: Add TODO list link.
2594 * docs/doxygen/user.cfg.in: Add @doctodo hook.
2595 * docs/doxygen/tables.html: New file, emoty structure only.
2597 * include/bits/stl_iterator.h: Doxygenate just about everything.
2598 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
2599 * include/bits/stl_iterator_base_types.h: Add notes.
2601 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
2603 * include/bits/stl_map.h: Tweak doxygen markup.
2604 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
2605 * include/bits/stl_vector.h: Likewise.
2607 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2611 * include/std/std_fstream.h (filebuf::__file_type): Change to
2613 (filebuf::_M_convert_to_external): Declare.
2614 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2615 codecvt bits for wide streams.
2616 (filebuf::_M_really_overflow): Use it.
2617 (filebuf::underflow): Use codecvt.
2618 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2619 (codecvt<__enc_traits>::do_out): Deal with partial.
2620 (codecvt<__enc_traits>::do_encoding): Return something useful.
2621 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2623 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2624 Change expected encoding output.
2626 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2629 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2630 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
2632 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2633 (basic_ios::widen): Same.
2635 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
2637 * testsuite/22_locale/money_get_members_char.cc:
2638 Add comment, tidy up.
2639 (test01): more "en_HK" tests (without showbase).
2640 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2642 2002-02-06 Loren Rittle <ljrittle@acm.org>
2644 * config/locale/c_locale_generic.cc: Do not trust
2645 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2648 2002-02-06 Loren Rittle <ljrittle@acm.org>
2650 * acinclude.m4: Add C++ linkage check for strtof.
2651 * aclocal.m4: Rebuilt.
2652 * config.h.in: Rebuilt.
2653 * configure: Rebuilt.
2654 * config/locale/c_locale_generic.cc: Conditionally include
2655 <ieeefp.h>. Improve handling and error checking of float
2656 and long double input for non-C99 configurations.
2658 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
2660 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2661 In case money_base::symbol deal properly with multi-char sign
2662 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2663 * testsuite/22_locale/money_get_members_char.cc: Add test07.
2664 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2666 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
2668 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2669 First construct a tentative returned string, then, only if the
2670 parsing succeeds, copy it into the string passed by reference.
2671 * testsuite/22_locale/money_get_members_char.cc: Add test06.
2672 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2674 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
2676 * docs/doxygen/TODO: Impl-defined behavior now documented...
2677 * docs/html/17_intro/howto.html: ...here.
2678 * docs/doxygen/mainpage.doxy: Remove, rename...
2679 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
2680 * docs/doxygen/style.css: Add small text.
2681 * docs/doxygen/run_doxygen: Adjust for new mainpage.
2682 * docs/doxygen/user.cfg.in: Likewise.
2684 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
2686 * include/bits/stl_map.h: Initial doxygen markup.
2687 * include/std/std_fstream.h: Initial doxygen markup.
2689 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
2692 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2693 Deal correctly with !(__io.flags() & ios_base::showbase)
2694 for case money_base::symbol.
2695 * testsuite/22_locale/money_get_members_char.cc: Add test05.
2696 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2698 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
2700 * testsuite/22_locale/operators.cc
2701 (gnu_collate::do_compare()): Add return statement to
2702 suppress "no return statement" warning.
2704 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
2706 * testsuite/27_io/ostream_manip.cc: Enable test02.
2708 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
2710 * docs/html/documentation.html: Update for 3.0.96.
2711 * docs/html/faq/index.html: Update for 3.0.96.
2712 * docs/html/faq/index.txt: Regenerated.
2713 * docs/doxygen/TODO: Update notes.
2714 * docs/html/17_intro/howto.html: Initial impl-specific listing.
2716 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
2718 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2719 Initialize all data members in copy ctor. Make ctors explicit.
2720 (__enc_traits::__enc_traits()): Default ctor does nothing.
2721 (__enc_traits::_M_init): Guard against multiple iconv_opens.
2722 * include/std/std_sstream.h (basic_stringbuf): Make data members
2724 * include/std/std_fstream.h (basic_filebuf): Same.
2725 * include/std/std_streambuf.h: Tweak.
2726 * include/bits/streambuf.tcc: Same.
2727 * include/bits/sstream.tcc: Same.
2728 * include/bits/fstream.tcc: Same.
2730 2002-01-31 Loren Rittle <ljrittle@acm.org>
2732 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2733 allow NULL argument to be passed to setenv().
2734 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2735 * testsuite/22_locale/collate_members_char.cc: Likewise.
2736 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2737 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2738 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2739 * testsuite/22_locale/messages_members_char.cc: Likewise.
2740 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2741 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2742 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2743 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2744 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2745 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2746 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2747 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2748 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2749 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2750 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2751 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2752 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2753 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2754 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2755 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2757 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2759 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2761 * ChangeLog-2001: Fix spelling errors...
2762 * docs/html/17_intro/RELEASE-NOTES: Update.
2763 * docs/html/17_intro/TODO: Update.
2764 * README (file): Update.
2766 2002-01-30 Loren Rittle <ljrittle@acm.org>
2768 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2769 instead of non-zero to aid portability.
2771 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2773 * docs/html/22_locale/messages.html: Fix example code.
2775 2002-01-30 Richard Henderson <rth@redhat.com>
2777 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2778 out from test03 and templatize.
2781 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2783 * config/locale/numpunct_members_gnu.cc
2784 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2785 Fix initialization of _M_grouping for locales which have
2786 _M_thousands_sep == '\0'(L'\0', respectively).
2787 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2789 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2791 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2792 Better fix for 32/64 bit architectures, avoiding the
2793 implicit assumption that CHAR_BIT == 8.
2795 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2797 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2798 * Makefile.in: Regenerate.
2800 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2801 * docs/doxygen/Intro.3: Update.
2802 * docs/doxygen/TODO: Update.
2803 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2804 * docs/doxygen/mainpage.doxy: Update.
2805 * docs/doxygen/user.cfg.in: Update for header rename. Also
2806 regenerate comments and variables with 1.2.12.
2807 * docs/doxygen/maint.cfg.in: Remove file.
2809 * include/bits/stl_relops.h: Doxygenate.
2810 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2812 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2813 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2814 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2815 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2816 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2817 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2818 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2819 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2820 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2821 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2822 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2823 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2824 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2825 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2826 include/std/std_algorithm.h, include/std/std_bitset.h,
2827 include/std/std_complex.h, include/std/std_deque.h,
2828 include/std/std_fstream.h, include/std/std_functional.h,
2829 include/std/std_iomanip.h, include/std/std_ios.h,
2830 include/std/std_iosfwd.h, include/std/std_iostream.h,
2831 include/std/std_istream.h, include/std/std_iterator.h,
2832 include/std/std_limits.h, include/std/std_list.h,
2833 include/std/std_locale.h, include/std/std_map.h,
2834 include/std/std_memory.h, include/std/std_numeric.h,
2835 include/std/std_ostream.h, include/std/std_queue.h,
2836 include/std/std_set.h, include/std/std_sstream.h,
2837 include/std/std_stack.h, include/std/std_stdexcept.h,
2838 include/std/std_streambuf.h, include/std/std_string.h,
2839 include/std/std_utility.h, include/std/std_valarray.h,
2840 include/std/std_vector.h: Add/correct @file doxygen hook.
2842 * include/ext/memory: Doxygenate most of rest of file.
2843 * libsupc++/exception: Doxygen output formatting.
2844 * libsupc++/new: Say which header it is.
2846 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
2847 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
2848 * docs/html/23_containers/howto.html: Describe O(n) list::size().
2849 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
2851 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2852 Charles Leggett <CGLeggett@lbl.gov>
2854 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2856 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2858 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2859 Fix to deal correctly with both 32 bit and 64 bit architectures
2861 2002-01-25 Loren Rittle <ljrittle@acm.org>
2863 * testsuite/thread/pthread1.cc: Use one condition variable
2864 per predicate instead of tricky use of one condition variable.
2866 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
2868 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2870 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2871 * testsuite/27_io/filebuf.cc: Compile only.
2872 * testsuite/27_io/filebuf_members.cc: Move tests to here.
2873 * testsuite/27_io/filebuf_virtuals.cc: And here.
2874 Revert sungetc, sync changes for expected values.
2875 * testsuite/27_io/filebuf-*: Move to...
2876 * testsuite/27_io/filebuf_virtuals-*: ...here.
2877 * testsuite/27_io/istream.cc: Compile only, activate.
2878 * testsuite/27_io/ostream.cc: Same.
2879 * testsuite/27_io/iostream.cc: New.
2880 * testsuite/27_io/iostream_members.cc: New.
2882 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
2884 * testsuite/thread/pthread1.cc: Enable on cygwin.
2885 * testsuite/thread/pthread2.cc: Likewise.
2886 * testsuite/thread/pthread3.cc: Likewise.
2887 * testsuite/thread/pthread4.cc: Likewise.
2888 * testsuite/thread/pthread5.cc: Likewise.
2889 * testsuite/thread/pthread6.cc: Likewise.
2891 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2893 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2895 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2897 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2899 (basic_ios::fill(char_type)): Use fill().
2900 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2901 (basic_ios::narrow): Same.
2902 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2903 if they are invalid.
2904 (basic_ios::init): Comment.
2905 * testsuite/27_io/ios_init.cc (test02): New.
2907 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
2909 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2910 * include/bits/stl_algo.h: Include stl_tempbuf.h.
2911 * include/ext/memory: Do not include stl_tempbuf.h.
2912 (temporary_buffer): Add doxygen hook.
2913 (__get_temporary_buffer, get_temporary_buffer,
2914 return_temporary_buffer): Move back to std:: header...
2915 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
2916 * include/ext/rope: Do not include stl_tempbuf.h.
2917 * include/ext/stl_hashtable.h: Likewise.
2918 * include/std/std_algorithm.h: Likewise.
2919 * testsuite/20_util/temporary_buffer.cc: New file.
2921 2002-01-24 andrew@andypo.net
2922 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
2925 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2926 * include/bits/localefwd.h: Likewise.
2927 Also use for std::locale::id::_S_highwater.
2928 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2929 * src/locale.cc: Support new usage of _Atomic_word.
2930 (std::locale::classic): Guard entire function against reentry.
2931 * src/localename.cc: Support new usage of _Atomic_word.
2933 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2935 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2936 _GLIBCPP_HAVE_SETENV.
2937 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2938 * testsuite/22_locale/collate_members_char.cc (test02): Same.
2939 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2940 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2941 * testsuite/22_locale/messages_members_char.cc (test02): Same.
2942 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2943 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2944 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2945 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2946 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2947 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2948 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2949 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2950 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2951 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2952 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2953 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2954 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2955 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2956 * aclocal.m4: Regenerate.
2957 * configure: Regenerate.
2958 * config.h.in: Regenerate.
2960 2002-01-23 Loren Rittle <ljrittle@acm.org>
2962 * testsuite/thread/pthread1.cc: New test.
2963 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2964 * testsuite/thread/pthread3.cc: Likewise.
2965 * testsuite/thread/pthread4.cc: New test adapted from
2966 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2967 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2968 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2970 2002-01-23 Richard Henderson <rth@redhat.com>
2973 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2974 CAS on the cpu variants that support it. Add versions that use
2975 TAS and that disable interrupts.
2976 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2978 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
2980 * include/bits/locale_facets.tcc: Remove old comments.
2982 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
2984 * include/bits/locale_facets.tcc (__convert_to_v): Change template
2986 (__convert_from_v): Same.
2988 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
2990 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2992 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2993 __max_digits checks, adjust arguments.
2994 (num_get::do_get(*)): Changeup.
2996 2002-01-23 Loren Rittle <ljrittle@acm.org>
2998 * config/locale/c_locale_generic.cc: Fix typename usage.
3000 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3002 * config/locale/c_locale_generic.cc: Fix.
3004 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3006 * docs/html/22_locale/messages.html: Remove angle brackets.
3007 * docs/html/17_intro/TODO: Add.
3009 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3011 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3012 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3013 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3014 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3016 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3018 Audit for LANG independence.
3019 * include/bits/localefwd.h: Tweaks.
3020 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3022 (time_get::do_get_year): Same.
3023 (__convert_from_v): Add.
3024 (num_put::_M_convert_float): Use.
3025 (num_put::_M_convert_int): Same.
3026 (money_put::do_put): Same.
3028 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3029 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3030 * config/locale/time_members_generic.cc:
3031 * config/locale/messages_members_gnu.cc: Same.
3032 * config/locale/messages_members_gnu.h: Same.
3034 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3035 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3036 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3037 * testsuite/22_locale/collate_members_char.cc (test02): New.
3038 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3039 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3040 * testsuite/22_locale/messages_members_char.cc (test02): New.
3041 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3042 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3043 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3044 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3045 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3046 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3047 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3048 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3049 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3050 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3051 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3052 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3053 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3054 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3055 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3056 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3058 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3060 * testsuite/22_locale/time_get_members_char.cc: Same.
3062 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3065 * include/bits/localefwd.h: Tweak comments.
3066 * include/bits/locale_facets.h (__convert_to_v): Add.
3067 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3068 (num_get::do_get(float)): Same.
3069 (num_get::do_get(long double)): Same.
3070 (num_get::do_get(bool)): Same.
3071 (num_get::do_get(long)): Same.
3072 (num_get::do_get(long long)): Same.
3073 (num_get::do_get(unsigned int)): Same.
3074 (num_get::do_get(unsigned short)): Same.
3075 (num_get::do_get(unsigned long)): Same.
3076 (num_get::do_get(unsigned long long)): Same.
3077 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3078 * config/locale/c_locale_generic.cc: Same.
3080 2002-01-22 Loren Rittle <ljrittle@acm.org>
3082 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3083 (std_builddir): Likewise.
3084 (std_headers_rename): Fix cut-n-paste typo.
3085 (install-data-local): Concat path per element instead of once to
3086 first element of list.
3087 * include/Makefile.in: Rebuilt.
3089 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3091 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3092 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3093 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3095 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3097 * include/bits/locale_facets.h (ctype<char>::classic_table):
3099 (ctype<char>::_S_ctable): Remove.
3100 * config/os/gnu-linux/bits/ctype_noninline.h
3101 (ctype<char>::_S_table): Remove definition.
3102 (ctype<char>::classic_table): Define.
3103 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3104 * config/os/aix/bits/ctype_noninline.h: Same.
3105 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3106 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3107 * config/os/djgpp/bits/ctype_noninline.h: Same.
3108 * config/os/generic/bits/ctype_noninline.h: Same.
3109 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3110 * config/os/hpux/bits/ctype_noninline.h: Same.
3111 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3112 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3113 * config/os/mingw32/bits/ctype_noninline.h: Same.
3114 * config/os/newlib/bits/ctype_noninline.h: Same.
3115 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3116 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3117 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3119 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3121 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3122 of _pctype. Use to define _S_ctable. Add definition for alternate
3123 ctor. Initialise _M_ctable to _S_ctable in ctors.
3124 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3125 rather than ::toupper, ::tolower.
3127 2002-01-18 Loren Rittle <ljrittle@acm.org>
3129 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3130 Add specialization for FreeBSD systems only to avoid losing test
3131 only due to extra precision unmentioned in system headers.
3133 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3135 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3137 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3139 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3140 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3142 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3144 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3146 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3148 * configure.target: Define OPT_LDFLAGS for AIX case.
3150 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3152 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3153 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3155 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3157 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3159 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3161 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3162 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3163 * aclocal.m4: Regenerate.
3164 * configure: Regenerate.
3166 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3168 * include/Makefile.am (c_base_headers_rename): New.
3169 (c_base_headers_extra): New.
3170 (stamp-c_base): Modify.
3171 (install-data-local): Use both.
3172 * include/Makefile.in: Regenerate.
3173 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3174 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3175 cstdio ctime cwctype]: Move to..
3176 * include/c/std_*: Here.
3177 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3178 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3179 cstdio ctime cwctype]: Move to..
3180 * include/c_std/std_*: Here.
3182 Alexandre Oliva <aoliva@redhat.com>
3183 * include/Makefile.am (.PRECIOUS): Add rule.
3184 * include/Makefile.in: Regenerate.
3186 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3187 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3189 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3190 Deuglify, should be current.
3191 (back_insert_iterator::_M_container): Deuglify, should be container.
3192 (front_insert_iterator::_M_container): Same.
3193 (insert_iterator::_M_container): Same.
3194 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3195 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3196 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3197 * testsuite/24_iterators/insert_iterator.cc: Same.
3199 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3201 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3203 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3204 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3205 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3206 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3207 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3208 * config/os/newlib/bits/ctype_noninline.h: Same.
3209 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3210 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3211 * config/os/hpux/bits/ctype_noninline.h: Same.
3212 * config/os/djgpp/bits/ctype_noninline.h: Same.
3213 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3214 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3215 * config/os/aix/bits/ctype_noninline.h: Same.
3217 Testcase by Dietmar Kühl via Peter Schmid
3218 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3221 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3223 * libmath/signbitl.c: Copyright years as list, not range.
3224 * libmath/Makefile.am: Same.
3225 * libmath/Makefie.in: Regenerate.
3226 * libmath/signbit.c: Same.
3227 * libmath/nan.c: Same.
3228 * libmath/copysignf.c: Same.
3229 * libmath/signbitf.c: Same.
3230 * testsuite/22_locale/money_get_members_char.cc: Same.
3231 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3232 * testsuite/22_locale/money_put_members_char.cc: Same.
3233 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3234 * testsuite/22_locale/time_get_members_char.cc: Same.
3235 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3236 * testsuite/22_locale/time_put_members_char.cc: Same.
3237 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3238 * testsuite/21_strings/nonmember.cc: Same.
3239 * testsuite/21_strings/compare.cc: Same.
3240 * testsuite/27_io/stringstream.cc: Same.
3241 * testsuite/27_io/stringbuf.cc: Same.
3242 * testsuite/27_io/filebuf.cc: Same.
3243 * testsuite/27_io/ios_manip_basefield.cc: Same.
3244 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3245 * include/bits/cpp_type_traits.h: Same.
3246 * include/bits/generic_shadow.h: Same.
3247 * include/bits/gslice_array.h: Same.
3248 * include/bits/gslice.h: Same.
3249 * include/bits/indirect_array.h: Same.
3250 * include/bits/slice_array.h: Same.
3251 * include/bits/sstream.tcc: Same.
3252 * include/bits/streambuf_iterator.h: Same.
3253 * include/bits/valarray_array.tcc: Same.
3254 * include/bits/valarray_meta.h: Same.
3255 * include/bits/valarray_array.h: Same.
3256 * config/os/mingw32/bits/ctype_noninline.h: Same.
3257 * config/os/mingw32/bits/ctype_base.h: Same.
3258 * config/os/hpux/bits/ctype_noninline.h: Same.
3259 * config/os/hpux/bits/ctype_base.h: Same.
3260 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3261 * config/os/gnu-linux/bits/ctype_base.h: Same.
3262 * config/os/generic/bits/ctype_noninline.h: Same.
3263 * config/os/generic/bits/ctype_base.h: Same.
3265 * libsupc++/tinfo.h: Tweaks.
3267 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3269 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3270 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3271 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3273 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3275 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3276 (num_put::do_put(void*)): Fix.
3277 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3278 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3279 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3280 long double, void, bool types.
3281 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3283 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3284 Alexandre Oliva <aoliva@redhat.com>
3286 * libmath/Makefile.am (LINK): Add --tag CC.
3287 * libmath/Makefile.in: Regenerate.
3289 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3291 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3292 of character to attribute mapping table.
3294 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3296 * testsuite/26_numerics/c99_classification_macros_c.cc
3297 Remove dg-error and dg-excess-errors comments.
3299 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3301 * include/bits/locale_facets.tcc (time_put::put): Correct output
3303 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3304 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3305 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3306 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3308 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3310 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3312 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3313 Nathan Myers <ncm@cantrip.org>
3315 * include/bits/basic_string.h
3316 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3317 temporaries (i.e., call _M_replace_safe) when possible.
3318 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3319 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3320 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3321 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3322 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3323 * include/bits/basic_string.tcc
3324 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3325 replace(__pos, __n1, __s, __n2).
3326 * testsuite/21_strings/replace.cc (test03): New testcases.
3328 * include/bits/basic_string.h (insert(__pos, __s, __n)):
3329 Adjust comparison wrt overflow.
3331 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3333 * include/Makefile.am (std_headers_rename): New variable.
3334 (install-data-local): Use it.
3335 * include/Makefile.in: Regenerate.
3337 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3339 * include/bits/locale_facets.tcc (money_put::do_put(string):
3340 Correct output iterator value.
3341 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3342 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3344 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3346 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
3349 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3351 * include/Makefile.am (std_headers): Update list with new names.
3352 (stamp-std): Link to standardized name.
3353 * include/Makefile.in: Regenerate.
3355 * include/std/algorithm, include/std/bitset, include/std/complex,
3356 include/std/deque, include/std/fstream, include/std/functional,
3357 include/std/iomanip, include/std/ios, include/std/iosfwd,
3358 include/std/iostream, include/std/istream, include/std/iterator,
3359 include/std/limits, include/std/list, include/std/locale,
3360 include/std/map, include/std/memory, include/std/numeric,
3361 include/std/ostream, include/std/queue, include/std/set,
3362 include/std/sstream, include/std/stack, include/std/stdexcept,
3363 include/std/streambuf, include/std/string, include/std/utility,
3364 include/std/valarray, include/std/vector: Rename to...
3366 * include/std/std_algorithm.h, include/std/std_bitset.h,
3367 include/std/std_complex.h, include/std/std_deque.h,
3368 include/std/std_fstream.h, include/std/std_functional.h,
3369 include/std/std_iomanip.h, include/std/std_ios.h,
3370 include/std/std_iosfwd.h, include/std/std_iostream.h,
3371 include/std/std_istream.h, include/std/std_iterator.h,
3372 include/std/std_limits.h, include/std/std_list.h,
3373 include/std/std_locale.h, include/std/std_map.h,
3374 include/std/std_memory.h, include/std/std_numeric.h,
3375 include/std/std_ostream.h, include/std/std_queue.h,
3376 include/std/std_set.h, include/std/std_sstream.h,
3377 include/std/std_stack.h, include/std/std_stdexcept.h,
3378 include/std/std_streambuf.h, include/std/std_string.h,
3379 include/std/std_utility.h, include/std/std_valarray.h,
3380 include/std/std_vector.h: ...this.
3382 2002-01-11 Loren Rittle <ljrittle@acm.org>
3384 * include/Makefile.am (extra_target_headers): New list of all
3385 target files built with ad hoc naming rules.
3386 (stamp-*): Handle LN_S failure in manner portable across make
3388 (install-data-local): Install header files from human-maintained
3389 file lists and directory components instead of non-robust find.
3390 * include/Makefile.in: Rebuilt.
3392 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
3394 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3395 Check for zero-length negative sign before adding it to output
3397 (money_get::do_get(long double)): Return beg.
3398 * testsuite/22_locale/money_get_members_char.cc (test02): Add
3400 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3402 2002-01-10 David Seymour <seymour_dj@yahoo.com>
3405 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3406 for _M_extract_float and _M_extract_int
3407 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3408 (num_get<>::_M_extract_int): Likewise, all callers changed
3409 * testsuite/22_locale/num_get_members_char.cc: Testcase
3411 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3413 * libsupc++/exception (bad_exception): Add comment.
3414 * libsupc++/new (bad_alloc): Same.
3415 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3417 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3419 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3420 that the destructors should be removed from the descriptions
3421 in the standard: writing them explicitly allows the vtable
3422 heuristic to work. For additional information see:
3423 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3424 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3425 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3426 * libsupc++/exception (bad_exception::~bad_exception()):
3427 Reintroduce declaration.
3428 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3429 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3430 (bad_typeid::~bad_typeid()): Same.
3431 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3432 Reintroduce definition.
3433 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3434 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3435 (bad_typeid::~bad_typeid()): Same.
3437 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
3439 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3440 * include/Makefile.in: Regenerate.
3442 2002-01-09 Bo Thorsen <bo@suse.co.uk>
3444 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3447 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
3451 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3452 return value of _M_file->sync().
3453 (filebuf::showmanyc): Check for is_open.
3454 * include/std/fstream (filebuf::sync): Tweak.
3455 * testsuite/27_io/filebuf.cc: Tweak.
3457 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
3458 Brad Garcia <garsh@attbi.com>
3460 * testsuite/27_io/filebuf_members.cc: Add test.
3462 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
3463 Craig Rodrigues <rodrigc@mediaone.net>
3466 * po/Makefile.am (mkinstalldirs): Add.
3467 * po/Makefile.in: Regenerate.
3469 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
3471 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3472 testsuite/lib/prune.exp: Delete lines ":In function ..." from
3474 * testsuite/23_containers/map_operators.cc: Remove
3475 dg-excess-errors comment.
3476 * testsuite/23_containers/set_operators.cc: Likewise.
3478 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
3480 * include/bits/stl_function.h: Remove two lines of comments;
3481 adjust copyright years.
3483 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3485 * include/Makefile.am (std_headers): Remove cXXX from list.
3486 (c_base_srcdir): No bits subdirectory.
3487 (c_base_builddir): Same.
3488 (c_base_headers): Adjust names, add ciso646.
3489 (bits_headers): Remove std_xxx.h headers.
3490 * include/Makefile.in: Regenerate.
3492 * include/ext/iterator: Adjust includes.
3493 * include/ext/ropeimpl.h: Same.
3494 * include/ext/stl_hash_fun.h: Same.
3495 * include/ext/algorithm: Same.
3497 * include/backward/bvector.h: Adjust includes.
3498 * include/backward/vector.h: Same.
3499 * include/backward/strstream: Same.
3500 * include/backward/streambuf.h: Same.
3501 * include/backward/stack.h: Same.
3502 * include/backward/set.h: Same.
3503 * include/backward/queue.h: Same.
3504 * include/backward/multiset.h: Same.
3505 * include/backward/multimap.h: Same.
3506 * include/backward/map.h: Same.
3507 * include/backward/list.h: Same.
3508 * include/backward/iterator.h: Same.
3509 * include/backward/iostream.h: Same.
3510 * include/backward/iomanip.h: Same.
3511 * include/backward/fstream.h: Same.
3512 * include/backward/deque.h: Same.
3513 * include/backward/complex.h: Same.
3515 * include/bits/std_algorithm.h: Move to...
3516 * include/std/algorithm: ...here.
3517 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3518 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3519 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3520 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3521 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3522 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3523 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3526 * include/c_std/bits/std_cassert.h: Move to...
3527 * include/c_std/cassert: Here.
3528 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3529 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3530 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3531 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3532 std_cwctype.h: Same.
3533 * include/c_std/cmath: Adjust cmath.tcc include.
3534 * include/c_std/cstdlib: Adjust includes.
3535 * include/c_std/cwchar: Same.
3536 * include/c_std/ctime: Same.
3537 * include/c_std/cstring: Same.
3538 * include/c_std/cstdio: Same.
3539 * include/c_std/bits: Remove directory.
3541 * include/c/bits/std_cassert.h: Move to...
3542 * include/c/cassert: Here.
3543 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3544 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3545 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3546 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3547 std_cwctype.h: Same.
3548 * include/c/bits: Remove directory.
3550 * include/std/cwctype: Remove.
3551 * include/std/cwchar: Remove.
3552 * include/std/ctime: Remove.
3553 * include/std/cstring: Remove.
3554 * include/std/cstdlib: Remove.
3555 * include/std/cstdio: Remove.
3556 * include/std/cstddef: Remove.
3557 * include/std/cstdarg: Remove.
3558 * include/std/csignal: Remove.
3559 * include/std/csetjmp: Remove.
3560 * include/std/cmath: Remove.
3561 * include/std/clocale: Remove.
3562 * include/std/climits: Remove.
3563 * include/std/ciso646: Remove.
3564 * include/std/cfloat: Remove.
3565 * include/std/cerrno: Remove.
3566 * include/std/cctype: Remove.
3567 * include/std/cassert: Remove.
3569 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3570 files and subsituting <xxx>.
3571 * include/bits/valarray_array.h: Same.
3572 * include/bits/stl_uninitialized.h: Same.
3573 * include/bits/stl_alloc.h: Same.
3574 * include/bits/stl_algobase.h: Same.
3575 * include/bits/sstream.tcc: Same.
3576 * include/bits/pthread_allocimpl.h: Same.
3577 * include/bits/ostream.tcc: Same.
3578 * include/bits/localefwd.h: Same.
3579 * include/bits/locale_facets.tcc: Same.
3580 * include/bits/locale_facets.h: Same.
3581 * include/bits/istream.tcc: Same.
3582 * include/bits/char_traits.h: Same.
3583 * include/bits/boost_concept_check.h: Same.
3584 * include/bits/basic_file.h: Same.
3585 * include/std/bitset: Same.
3586 * include/std/complex: Same.
3587 * include/std/fstream: Same.
3588 * include/std/functional: Same.
3589 * include/std/ios: Same.
3590 * include/std/iostream: Same.
3591 * include/std/ostream: Same.
3592 * include/std/sstream: Same.
3593 * include/std/streambuf: Same.
3594 * include/std/string: Same.
3595 * include/std/iterator: Same.
3596 * include/std/valarray: Same.
3598 * src/ios.cc: Adjust includes.
3599 * src/valarray-inst.cc: Same.
3600 * src/string-inst.cc: Same.
3601 * src/stl-inst.cc: Same.
3602 * src/stdexcept.cc: Same.
3603 * src/misc-inst.cc: Same.
3604 * src/localename.cc: Same.
3605 * src/locale-inst.cc: Same.
3606 * src/locale.cc: Same.
3607 * src/limits.cc: Same.
3608 * src/concept-inst.cc: Same.
3609 * src/complex_io.cc: Same.
3610 * src/codecvt.cc: Same.
3611 * src/bitset.cc: Same.
3612 * src/cmath.cc: Same.
3614 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3616 * include/bits/stl_tree.h (rb_tree): Move to...
3617 * include/ext/rb_tree: ...here, new file.
3618 * include/Makefile.am (ext_headers): Add new file.
3619 * include/Makefile.in: Regenerate.
3620 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3621 return_temporary_buffer, struct temporary_buffer): Move to...
3622 * include/ext/memory: ...here.
3623 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
3624 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
3625 * include/backward/tree.h: Include <ext/rb_tree), tweak.
3627 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
3629 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
3630 * include/ext/numeric: ...here, new file.
3631 * include/bits/stl_function.h (identity_element, unary_compose,
3632 binary_compose, compose1, compose2, identity, select1st,
3633 select2nd, project1st + helper, project2nd + helper,
3634 constant_void_fun + helper, constant_unary_fun + helper,
3635 costant_binary_fun + helper, constant0, constant1, constant2,
3636 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
3637 * include/ext/functional: ...here, new file.
3638 * include/Makefile.am (ext_headers): Add new files.
3639 * include/Makefile.in: Regenerate.
3640 * testsuite/ext/headers.cc: Include <ext/numeric> and
3642 * include/backward/algo.h: Include <ext/numeric>, tweak.
3643 * include/backward/function.h: Include <ext/functional>, tweak.
3644 * include/ext/ropeimpl.h: Include <ext/numeric>.
3646 2002-01-03 Jeffrey A Law <law@redhat.com>
3648 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3649 __strtoull declarations with __extension__.
3651 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
3653 * testsuite/lib/prune.exp: Correct regular expression for
3656 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3658 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3659 Change concept checks, as with lower_bound and PR 2054.
3660 * testsuite/ext/concept_checks.cc: Expand test to include those.
3662 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3664 * include/bits/boost_concept_check.h: Import some changes from
3665 upsteam (Boost) version.
3667 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
3669 * include/bits/stl_algobase.h (copy_n + helpers,
3670 lexicographical_compare_3way + helpers): Move to...
3671 * include/ext/algorithm: ...here.
3672 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3673 helpers): Move to...
3674 * include/ext/memory: ...here, new file.
3675 * include/Makefile.am (ext_headers): Add new file.
3676 * include/Makefile.in: Regenerate.
3677 * testsuite/ext/headers.cc: Include <ext/memory>.
3678 * include/backward/algobase.h: Include <ext/memory> and
3679 <ext/algorithm>, tweak.
3680 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
3681 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
3683 2002-01-01 Roger Sayle <roger@eyesopen.com>
3685 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3686 equivalent ___builtin__ versions.
3688 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3689 are available in libstdc++ as the necessary stub implementations
3690 are provided by libmath/stubs.c.
3692 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
3694 * configure.in: Add support for NetBSD cross compiles.
3695 * configure: Regenerate.