1 2002-08-15 Steve Ellcey <sje@cup.hp.com>
3 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
4 type from void* to _Unwind_Ptr.
5 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
6 Do not cast landing_pad or base_of_encoded_value to (void *).
7 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
8 Accept _URC_NO_REASON as a valid reason code.
10 2002-08-14 Jonathan Wakely <jw@kayari.org>
12 * docs/html/22_locale/messages.html: Use HTML entities for
15 2002-08-13 Jonathan Wakely <jw@kayari.org>
16 Phil Edwards <pme@gcc.gnu.org>
18 * docs/html/documentation.html: Use HTML entities for punctuation.
20 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
22 * include/bits/deque.tcc, include/bits/list.tcc,
23 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
24 include/bits/stl_list.h, include/bits/stl_map.h,
25 include/bits/stl_multimap.h, include/bits/stl_queue.h,
26 include/bits/stl_stack.h, include/bits/stl_vector.h,
27 include/bits/vector.tcc: Re-indent contents of namespace std,
28 re-wrap comment lines as necessary.
30 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
31 Benjamin Kosnik <bkoz@redhat.com>
33 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
35 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
37 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
39 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
40 * libsupc++/Makefile.in: Regenerate.
42 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
45 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
46 Instantiate with new function objects.
47 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
49 * include/bits/gslice_array.h: Likewise.
50 * include/bits/indirect_array.h: Likewise.
52 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
54 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
55 testsuite/26_numerics/valarray_name_lookup.C
57 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
58 object function surrogates.
59 * include/bits/valarray_meta.h (__shift_left): Fix typo.
60 (_BinFunClos<>): Remove.
61 (_BinFunBase<>): Likewise.
62 (_BinFunBase1<>):Likewise.
63 (_BinFunBase2<>): Likewise.
64 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
65 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
66 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
67 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
68 * include/std/std_valarray.h: Dont #include <functional> anymore.
69 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
70 _Shift_right<>): Remove.
71 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
72 (_DEFINE_BINARY_OPERATOR): Tweak definition.
73 (_DEFINE_LOGICAL_OPERATOR): Remove.
74 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
76 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
78 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
80 (_UnBase<>): Reformat. Make first template-parameter non
82 (_UnClos<>): Likewise.
83 (_Expr<>): Reformate. Adjust unary member operator return types.
84 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
85 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
86 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
87 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
88 operator return types. Reformat.
89 (_Bitwise_not): Remove.
90 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
91 * testsuite/26_numerics/valarray_name_lookup.C: New test.
93 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
95 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
96 (scan_is): Use this->is.
99 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
101 Revert PR libstdc++/6594
102 * src/strstream.cc (strstreambuf): Revert.
103 (strstreambuf::overflow): Same.
104 (strstreambuf::~strstreambuf): Same.
105 * testsuite/backward/strstream_members.cc (test02): Add.
107 * docs/html/abi.txt: Update. Spell check.
109 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
111 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
112 * testsuite/Makefile.in: Regenerate.
113 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
114 include functexcept.h so that -fno-exceptions will build.
116 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
118 * include/bits/valarray_meta.h (__unary_plus, __negate,
119 __bitwise_not, __plus, __minus, __multiplies, __divides,
120 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
121 __shift_left, __shift_right, __logical_and, __logical_or,
122 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
123 __greater_equal, __greater, __atan2, __pow): New function object
125 (__fun<>): New function traits class.
127 2002-08-01 Rick Danos <rdanos@hotmail.com>
130 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
131 * config/os/newlib/ctype_inline.h (is): Use static_cast.
133 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
135 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
136 * libsupc++/Makefile.in: Regenerate.
138 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
139 Jakub Jelinek <jakub@redhat.com>
141 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
142 GLIBCPP_3.1 to GLIBCPP_3.2.
144 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
145 Mark Mitchell <mark@codesourcery.com>
148 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
150 (__class_type_info): And here.
152 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
156 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
157 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
158 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
159 (__vmi_class_type_info::__base_info): Don't make const, of type
160 __base_class_type_info, as per 2.9.5p6c
161 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
163 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
165 (__pointer_to_member_type_info::__context_class): Change member to
166 __context, as per 2.9.5p9.
167 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
169 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
171 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
173 * libsupc++/tinfo.cc (__do_dyncast): Same.
174 * libsupc++/tinfo.cc (__do_upcast): Same.
176 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
178 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
180 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
182 * docs/html/22_locale/howto.html: Fix.
184 2002-07-31 Alex Kompel <shurik@sequoiap.com>
187 * src/locale.cc (locale::classic): Move locks inside !_S_classic
190 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
192 * docs/html/abi.txt: Update.
194 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
195 Gabriel Dos Reis <gdr@nerim.net>
197 * include/bits/char_traits.h: Remove generic definitions.
198 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
200 * include/bits/istream.tcc (istream::readsome): Don't check
201 against eof, instead use constants.
202 (istream::sync): Same.
203 (istream::sentry::sentry): Use eq_int_type.
204 (istream::get): Same.
205 * include/bits/ostream.tcc: Change __pad to
206 __pad<_CharT, _Traits>::_S_pad.
207 * include/bits/locale_facets.h: Add __pad_traits generic and
208 ostreambuf_iterator specialization.
209 * include/bits/locale_facets.tcc: Change __pad into struct __pad
210 with a _CharT and _Traits template parameter and _S_pad static
212 * src/locale-inst.cc: Update __pad instantiations.
214 * include/std/std_fstream.h: Declare _M_underflow_common
216 * src/fstream.cc: New. Add _M_underflow_common specializations.
217 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
218 (filebuf::_M_underflow_common(bool)): Remove generic version, as
219 sys_ungetc and custom int_types don't get along.
220 * include/std/std_streambuf.h: Add _M_pos.
221 * src/Makefile.am (sources): Add fstream.cc.
222 * src/Makefile.in: Regenerate.
224 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
225 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
226 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
227 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
228 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
229 * testsuite/27_io/filebuf.cc: ...here.
230 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
231 specialization for both.
232 * testsuite/27_io/streambuf.cc: Add instantiation test,
233 testsuite_hooks include.
234 * testsuite/27_io/istream.cc: Same.
235 * testsuite/27_io/ostream.cc: Same.
236 * testsuite/27_io/fstream.cc: Same.
237 * testsuite/27_io/stringstream.cc: Same.
238 * testsuite/27_io/filebuf.cc: Same.
239 * testsuite/27_io/stringbuf.cc: Same.
241 2002-07-29 Alan Modra <amodra@bigpond.net.au>
243 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
244 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
245 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
246 (__test_and_set): Remove.
247 (_STWCX): Define and use.
249 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
251 * libsupc++/new (placement delete): Remove unused parameter names.
253 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
256 * include/std/std_istream.h (basic_iostream): Add typedefs for
257 char_type, int_type, pos_type, off_type, and traits_type.
258 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
259 * testsuite/27_io/istream.cc: Same.
260 * testsuite/27_io/ostream.cc: Same.
261 * testsuite/27_io/filebuf.cc: Same.
262 * testsuite/27_io/stringbuf.cc: Replace content, move to...
263 * testsuite/27_io/stringbuf_members.cc: ...here.
264 * testsuite/27_io/streambuf.cc: Replace content, move to...
265 * testsuite/27_io/streambuf_members.cc: ...here.
266 * testsuite/27_io/stringstream.cc: Replace content, move to...
267 * testsuite/27_io/stringstream_members.cc: ...here.
268 * testsuite/27_io/ios.cc: New file.
269 * testsuite/27_io/fstream.cc: New file.
270 * testsuite/27_io/ifstream.cc: New file.
271 * testsuite/27_io/ofstream.cc: New file.
272 * testsuite/27_io/istringstream.cc: New file.
273 * testsuite/27_io/ostringstream.cc: New file.
275 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
278 * include/bits/istream.tcc (istream::ignore): Don't extract on
280 * testsuite/27_io/istream_unformatted.cc (test10): Add.
282 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
284 * testsuite/27_io/ios_base_type.cc: Move to...
285 * testsuite/27_io/ios_base_types.cc: ...here.
287 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
290 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
291 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
293 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
296 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
297 * include/Makefile.am (backward_headers): Use strstream, not
299 * include/Makefile.in: Regenerate.
300 * include/backward/strstream: Revert.
301 * include/backward/strstream.h: Remove.
302 * src/strstream.cc: Revert.
303 * testsuite/backward/strstream_members.cc: Change include.
305 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
308 * include/bits/ios_base.h (ios_base::streampos): Add.
309 (ios_base::streamoff): Add.
310 * testsuite/27_io/ios_base_type.cc: New.
312 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
315 * libsupc++/new: Add placement delete.
316 * testsuite/18_support/new_delete_placement.cc: New.
318 * docs/html/abi.txt: Fix typos.
320 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
322 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
323 confusing usage of "latest."
324 De-tangle contributor information from introductory notes.
325 Move abi.txt link placement, activate.
327 Move chapter info into old FAQ format.
328 * docs/html/organization.html: Removed, obsoleted by doxygen work.
329 * docs/html/abi.txt: Add notes on testing ABI changes.
331 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
333 * docs/html/abi.txt: New file.
334 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
335 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
336 Import from upstream, R22.
338 * include/bits/char_traits.h, include/bits/stl_iterator.h,
339 include/bits/stl_iterator_base_types.h, libsupc++/exception,
340 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
342 * include/bits/deque.tcc, include/bits/stl_alloc.h,
343 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
344 of deprecated functions until 3.4. (Same timeframe, different text.)
345 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
346 the other sequence classes received.
348 2002-07-18 Brendan Kehoe <brendan@zen.org>
350 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
353 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
356 * include/bits/slice_array.h
357 (slice_array<T>::operator=(const T&)): Constify.
358 * include/bits/gslice_array.h
359 (gslice_array<T>::operator=(const T&)): Likewise.
360 * include/bits/mask_array.h
361 (mask_array<T>::operator=(const T&)): Likewise.
362 * include/bits/indirect_array.h
363 (indirect_array<T>::operator=(const T&): Likewise.
365 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
367 * docs/doxygen/run_doxygen: Remove template parameter names from
368 "Compound List" summary page. Reformat.
369 * docs/html/documentation.html: XHTML fixes.
371 2002-07-16 Andreas Schwab <schwab@suse.de>
373 * libsupc++/new (set_new_handler): Declare to not throw any
375 * libsupc++/new_handler.cc (set_new_handler): Likewise.
377 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
379 * include/Makefile.am (bits_headers): Remove slice.h
380 * include/Makefile.in: Regenerate.
381 * include/bits/slice.h (slice): move to include/bits/slice_array.h
382 * include/bits/slice.h Remove.
383 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
384 * include/bits/slice_array.h: Comply to official coding styles.
385 * testsuite/26_numerics/slice.cc: New test.
387 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
389 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
390 print to match vendor <ctype.h>.
392 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
394 * docs/html/faq/index.html: Fix download links.
395 * docs/html/faq/index.txt: Regenerate.
396 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
398 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
400 * configure.target (target_os switch): Allow for irix6*o32
403 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
405 * include/bits/valarray_meta.h (_UnFunBase): Take a second
406 template parameter. Remove _M_func data member.
407 (_UnFunClos): Take a third template parameter.
408 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
409 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
410 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
412 2002-07-08 Eric Christopher <echristo@redhat.com>
414 * configure.target: Fix comment for mips atomicity. Add
415 mips*-*-linux* target, enable atomic operations there.
416 * config/cpu/mips/atomicity.h: Fix comments, remove
417 #ifndef/#endif. Add push/pop mips2.
419 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
421 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
422 member declarations to avoid compiler warnings and restore 3.1 ABI.
424 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
426 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
429 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
432 * include/bits/stl_deque.h (_Deque_iterator::operator-):
433 Make non-member, as already happens for the comparison
434 operators in accord with DR179 (Ready).
435 * testsuite/23_containers/deque_operators.cc: Add test02.
437 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
438 Jack Reeves <jackw_reeves@hotmail.com>
440 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
441 size_t, from int_type.
442 (basic_streambuf::_M_buf_size_opt): Same.
443 (basic_streambuf::_S_pback_sizex): Same.
444 * include/bits/streambuf.tcc: Same.
445 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
447 (basic_streambuf::uflow): Same.
448 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
450 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
451 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
453 (basic_streambuf::xsputn): Same.
454 (__copy_streambufs): Same.
456 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
458 * include/std/std_memory.h: Fix formatting.
459 * testsuite/20_util/auto_ptr_neg.cc: New.
460 * testsuite/20_util/auto_ptr.cc: Tweaks.
461 * testsuite/23_containers/map_operators.cc (test01): Split into..
462 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
463 * testsuite/23_containers/set_operators.cc: Move to...
464 * testsuite/23_containers/set_operators_neg.cc: ...here.
465 * testsuite/README: Add some more naming rules.
467 2002-07-03 Steev Wilcox <steev@paradigmds.com>
470 * include/ext/stl_hashtable.h: Fix.
471 * testsuite/ext/hash_map.cc: New.
473 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
474 Kenny Simpson <theonetruekenny@yahoo.com>
475 Phil Edwards <pme@gcc.gnu.org>
478 * testsuite/20_util/auto_ptr.cc (test08): New test.
479 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
480 (auto_ptr::operator auto_ptr_ref): Fix typo.
481 General reformatting and doxygenating of the whole file.
483 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
486 * include/c/std_cwchar.h: Fix.
488 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
491 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
492 char* name parameter.
493 * config/locale/gnu/monetary_members.cc: Use it.
494 * config/locale/generic/monetary_members.cc: Same.
495 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
497 * include/backward/strstream.h: Update date.
499 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
502 * include/bits/stl_iterator.h
503 (__normal_iterator::operator-(const __normal_iterator&)):
504 Make non-member, as already happens for the comparison
505 operators in accord with DR179 (Ready).
506 * testsuite/24_iterators/iterator.cc: Add test from the PR.
508 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
511 * acinclude.m4: Simplify determination of gcc_version, and move
512 up to GLIBCPP_CONFIGURE.
513 * configure.in (release_VERSION): Really remove.
514 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
515 * aclocal.m4, configure: Regenerate.
517 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
519 * docs/html/configopts.html, docs/html/install.html: Tweaks.
520 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
521 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
522 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
524 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
526 * include/backward/strstream: Remove namespace std. Transfer to...
527 * include/backward/strstream.h: ...here. Qualify std names.
528 * src/strstream.cc: Remove namespace std.
529 * include/Makefile.am (backward_headers): Remove strstream.h.
530 * include/Makefile.in: Regenerate.
531 * config/linker-map.gnu: Export strstream bits.
533 * src/fstream-inst.cc: Tweak.
534 * src/io-inst.cc: Same.
535 * src/istream-inst.cc: Same.
536 * src/misc-inst.cc: Same.
537 * src/ostream-inst.cc: Same.
538 * src/sstream-inst.cc: Same.
539 * src/valarray-inst.cc: Same.
540 * src/misc-inst.cc: Remove unused instantiations.
542 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
544 * configure.in (libtool_VERSION): Bump to 5:0:0.
545 * configure: Regenerate.
547 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
549 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
550 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
551 * include/std/std_stack.h: Include deque.tcc.
552 * testsuite/23_containers/adaptors.cc: New file.
554 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
556 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
557 * docs/html/ext/howto.html: Update allocator notes.
559 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
561 * configure.in (INTERFACE): Remove.
562 (release_VERSION): Remove.
563 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
564 (libstdcxx_interface): Change. Use gcc methods to determine version.
565 * configure: Regenerate.
566 * aclocal.m4: Regenerate.
568 2002-06-25 DJ Delorie <dj@redhat.com>
570 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
571 GLIBCPP_TOPREL_CONFIGURE.
572 * aclocal.m4: Likewise.
573 * configure.in: Call it before AC_CANONICAL_SYSTEM.
574 * configure: Regenerate.
576 2002-06-25 Jessica Han <jessica@cup.hp.com>
578 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
579 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
580 _GLIBCPP_VTABLE_PADDING is defined.
582 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
584 * include/bits/stl_alloc.h: Additional formatting.
586 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
588 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
590 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
592 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
593 * config/os/*/bits/*: Likewise.
594 * configure.in: Update.
595 * configure: Regenerate.
596 * configure.target: Update.
597 * docs/html/17_intro/porting.texi: Update.
599 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
601 * include/bits/stl_map.h, include/bits/stl_multimap.h,
602 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
603 complete doxygenation.
604 * include/bits/boost_concept_check.h: Minor comment.
606 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
608 * include/c_compatibility: New.
609 * include/c_compatibility/assert.h: New.
610 * include/c_compatibility/ctype.h: New.
611 * include/c_compatibility/errno.h: New.
612 * include/c_compatibility/float.h: New.
613 * include/c_compatibility/iso646.h: New.
614 * include/c_compatibility/limits.h: New.
615 * include/c_compatibility/locale.h: New.
616 * include/c_compatibility/math.h: New.
617 * include/c_compatibility/setjmp.h: New.
618 * include/c_compatibility/signal.h: New.
619 * include/c_compatibility/stdarg.h: New.
620 * include/c_compatibility/stddef.h: New.
621 * include/c_compatibility/stdio.h: New.
622 * include/c_compatibility/stdlib.h: New.
623 * include/c_compatibility/string.h: New.
624 * include/c_compatibility/time.h: New.
625 * include/c_compatibility/wchar.h: New.
626 * include/c_compatibility/wctype.h: New.
628 * include/c/std_cerrno.h: Get out of the way... define errno.
629 * include/c/std_cmath.h: Add abs, modf overloads.
630 Undefine C99 isms. Still not sure how to deal with this sanely.
631 * include/c/std_csetjmp.h: Tweak.
632 * include/c/std_cwchar.h: Include cstddef for size_t.
634 * include/c_std/std_cmath.h: Remove extra function.
636 Pendantic std usage in testsuites.
637 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
639 * testsuite/17_intro/header_cwchar.cc: Tweak.
640 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
642 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
643 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
644 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
645 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
646 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
647 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
648 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
649 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
650 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
651 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
652 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
653 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
654 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
655 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
656 * testsuite/22_locale/num_get_members_char.cc: Same.
657 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
658 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
659 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
660 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
661 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
662 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
663 * testsuite/22_locale/messages_members_char.cc (test03): Same.
664 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
665 * testsuite/22_locale/collate_members_char.cc (test04): Same.
666 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
667 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
668 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
670 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
672 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
675 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
677 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
678 Use size_type instead of unsigned long.
680 2002-06-20 Steve Ellcey <sje@cup.hp.com>
682 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
686 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
688 * include/Makefile.am: Add rules.
689 * include/Makefile.in: Regenerate.
691 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
692 * aclocal.m4: Regenerate.
693 * configure: Regenerate.
694 * configure.target (c_model, c_compatibility): Add.
696 * libsupc++/Makefile.am (c_sources): New.
697 (libsupc___la_SOURCES): Add c_sources.
698 (LTCOMPILE): Remove INCLUDES.
700 (C_COMPILE): New, like COMPILE but without INCLUDES.
701 (cxa_demangle.o): Use C_COMPILE.
702 (dyn-string.o): Use C_COMPILE.
704 * include/c/std_cstdarg.h: Define __need___va_list.
705 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
706 need_NULL, need_offsetof.
708 2002-06-19 Steve Ellcey <sje@cup.hp.com>
710 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
711 definitions in hpux11 cross-build because these functions do
712 not exist on hpux11 (but some exist on hpux10); move defaults out
713 into existing sections.
714 * configure: Regenerate.
716 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
718 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
719 * include/c/std_cwctype.h: Guard.
721 * libsupc++/eh_alloc.cc: Tweak include order.
722 * libsupc++/pure.cc: Use cstdio.
723 * libsupc++/new_op.cc: Remove malloc forward declaration, as
724 cstdlib brings it in. Use std::malloc.
726 * src/Makefile.am (sources): Remove cmath.cc.
727 * src/Makefile.in: Regenerate.
728 * src/cmath.cc: Remove.
730 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
732 * configure.target: Force mips to use the generic cpu routines.
734 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
736 * configure.host: Delete file.
737 * configure.target: More documentation. Factor out common parts of
738 script into "intelligent" settings about defaults. Remove redundancy.
740 * acinclude.m4: Update comments. Do not call configure.host.
741 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
743 * configure.in: Slight reformatting, more comments. Factor out
744 "config/" from all the directories.
745 * docs/html/17_intro/porting.texi: Update and expand.
746 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
749 * aclocal.m4, configure, docs/html/17_intro/porting.html,
750 testsuite/Makefile.in: Regenerate.
752 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
754 * docs/doxygen/TODO: Update.
755 * docs/doxygen/tables.html: Uncomment magical middle column.
756 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
757 * include/bits/stl_queue.h: Doxygenate and reformat.
758 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
759 for deprecated names required by the standard.
761 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
763 * configure.in (target_alias): Fix.
764 * configure: Regenerate.
765 * aclocal.m4: Regenerate.
767 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
769 * include/Makefile.am: Add new files.
770 * include/Makefile.in: Regenerate.
772 * include/bits/stl_deque.h, include/bits/stl_list.h,
773 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
774 * include/bits/deque.tcc, include/bits/list.tcc,
775 include/bits/vector.tcc: ...to here. New files.
777 * include/ext/stl_hashtable.h: Inclide correct full headers.
778 * include/std/std_deque.h: Include .tcc files for now.
779 * include/std/std_list.h: Likewise.
780 * include/std/std_vector.h: Likewise.
782 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
784 * Makefile.am: Add FLAGS_TO_PASS.
785 * Makefile.in: Regenerated.
787 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
788 Benjamin Kosnik <bkoz@redhat.com>
790 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
792 * configure.in: Add support for *-qnx6.[12]*.
793 * configure: Regenerate.
795 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
797 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
798 ctype_noninline.h, os_defines.h: New files.
800 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
802 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
803 include all required headers for test against older POSIX standard.
804 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
805 (ac_setrlimit): Likewise.
806 * aclocal.m4: Regenerate.
807 * configure: Regenerate.
808 * testsuite/testsuite_hooks.cc: Reorder and include all
809 required headers for use against older POSIX standard.
811 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
813 * testsuite/backwards/strstream_members.cc: New.
815 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
817 * include/backwards/strstream: Format.
818 * src/strstream.cc: Format.
820 2002-06-08 Andreas Schwab <schwab@suse.de>
822 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
823 _M_buf_size and _M_buf_size_opt to the new buffer and size.
825 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
827 * config/os/generic/bits/ctype_noninline.h: Tweak format.
829 2002-06-07 Steve Ellcey <sje@cup.hp.com>
831 * src/locale-inst.cc (__codecvt_abstract_base):
832 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
833 * include/bits/istream.tcc (basic_istream): Ditto.
836 * include/bits/ostream.tcc (basic_ostream): Ditto.
842 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
844 * mkcheck.in: Link against local testsuite library.
845 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
846 implementation out...
847 * testsuite/testsuite_hooks.cc: ...to here.
849 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
851 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
852 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
853 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
854 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
855 * testsuite/Makefile.in: Likewise.
857 2002-06-05 David Edelsohn <edelsohn@gnu.org>
859 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
860 Call external symbol.
862 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
864 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
865 Search correct multilib testsuite dir for libv3test.
867 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
868 Gaby Dos Reis <gdr@codesourcery.com>
870 * include/bits/basic_string.tcc
871 (basic_string::_S_construct(forward_iterator_tag):
872 Fix typo in null pointer check.
873 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
875 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
877 * testsuite/22_locale/money_get_members_char.cc
878 (test02): Add decimal point to long double constants.
879 * testsuite/22_locale/money_get_members_wchar_t.cc
881 * testsuite/22_locale/money_put_members_char.cc
882 (test02, test03, test06): Likewise.
883 * testsuite/22_locale/money_put_members_wchar_t.cc:
884 (test02, test03, test06): Likewise.
885 * testsuite/22_locale/num_get_members_char.cc:
886 (test02, test01): Likewise; suffix long long constants with LL.
887 * testsuite/22_locale/num_get_members_wchar_t.cc:
888 (test02, test01): Likewise.
889 * testsuite/22_locale/num_put_members_char.cc:
890 (test02, test01): Likewise.
891 * testsuite/22_locale/num_put_members_wchar_t.cc:
892 (test02, test01): Likewise.
894 2002-06-03 Marc Espie <espie@openbsd.org>
896 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
897 assembly for old assemblers.
899 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
901 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
903 (vector<bool>::swap(reference,reference)): ...to this.
905 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
907 * docs/doxygen/TODO: Update.
908 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
909 some class members are in 14882 order.
910 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
912 * include/std/std_bitset.h: Update comment.
913 * src/bitset.cc: Update comments, clean up spacing.
915 * src/Makefile.am (sources): Alphabetize for convenience.
916 * src/Makefile.in: Regenerate.
918 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
920 * include/bits/stl_deque.h, include/bits/stl_list.h,
921 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
922 Reorder to match 14882. Doxygen blocks for all public members.
924 2002-05-31 Marcus Meissner <meissner@suse.de>
927 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
928 * testsuite/23_containers/vector_bool.cc (test02): New test.
930 2002-05-30 Marc Espie <espie@openbsd.org>
932 * configure.in: Always check for sys/types.h
933 * configure: Regenerate.
935 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
937 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
938 Rebuild the wrapper file every time this proc is called.
940 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
942 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
944 * testsuite/Makefile.in: Regenerate.
945 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
946 list_modifiers.cc and rename from 'T'. Move code bodies...
947 * testsuite/testsuite_hooks.cc: ...to here. New file.
948 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
949 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
950 Add libv3test.a to link options.
952 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
954 * src/misc-inst.cc: Define unnecessary algorithm
955 instantiations. Break apart instantiations into groupings below.
956 * src/fstream-inst.cc: New.
957 * src/io-inst.cc: New.
958 * src/istream-inst.cc: New.
959 * src/ostream-inst.cc: New.
960 * src/streambuf-inst.cc: New.
961 * src/sstream-inst.cc: New.
962 * src/Makefile.am (sources): Add files.
963 * src/Makefile.in: Regenerate.
965 * acinclude.m4: Work around automake 1.4-p5 bug, change
966 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
968 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
971 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
972 (classic_table): Fix.
973 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
975 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
977 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
978 _GLIBCPP_USE_WCHAR_T.
979 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
980 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
981 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
983 2002-05-26 Carlo Wood <carlo@alinoe.com>
984 Paolo Carlini <pcarlini@unitus.it>
987 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
988 (__enc_traits::operator=): add missing return statement.
990 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
993 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
994 (operator>>): If nothing was extracted, don't fail in the
996 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
998 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1001 * testsuite/22_locale/ctype_narrow_char.cc: New.
1002 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1003 * testsuite/22_locale/ctype_widen_char.cc: New.
1004 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1005 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1006 * testsuite/22_locale/ctype_is_char.cc: ...this.
1007 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1008 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1009 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1010 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1012 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1014 2002-05-24 Dale Peakall <dale@peakall.net>
1017 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1018 * config/locale/generic/ctype_members.cc: Same.
1020 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1023 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1024 for empty string literal.
1025 (ostream::operator<<(const _CharT*)): Same.
1026 (ostream<char>::operator<<(const char*)): Same.
1027 (ostream<char>::operator<<(streambuf*)): Same.
1028 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1029 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1031 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1033 * configure.in (release_VERSION): Update to 3.1.1.
1034 (libtool_VERSION): Update to 4:1:0.
1035 * configure: Regenerate.
1037 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1039 * include/bits/stl_pair.h: Tweak comment markup.
1041 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1043 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1045 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1047 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1049 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1051 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1052 Doxygenate all public members. Reorder to follow 14882.
1053 (vector::push_back(void)): Remove previously-deprecated fn.
1054 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1055 Deprecate for removal in 3.3.
1057 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1059 * docs/html/faq/index.html (5.4): Recommend against -I options for
1060 finding the ext headers.
1061 * docs/html/faq/index.txt: Regenerate.
1063 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1065 * testsuite/23_containers/deque_operators.cc (test01):
1066 Fix minor typo in last commit.
1068 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1071 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1072 operator!=, operator<, operator>, operator>=, operator<=):
1073 Make non-member functions, to allow comparing const and
1074 non-const iterators in any order.
1075 * testsuite/23_containers/deque_operators.cc: New testfile.
1077 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1079 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1080 * docs/html/faq/index.txt: Regenerate.
1082 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1084 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1085 * acinclude.m4: Likewise.
1086 * docs/html/Makefile: Likewise.
1087 * aclocal.m4: Regenerate.
1088 * configure: Regenerate.
1089 * Makefile.in: Regenerate.
1091 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1094 * include/bits/c++config (__USE_MALLOC): Report case where
1095 the user improperly defined it on the command line.
1097 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1099 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1100 Retrieve current limits before setting.
1102 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1105 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1107 (ostream::operator<<(const _CharT*)): Same.
1108 (ostream<char>::operator<<(const char*)): Same.
1109 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1111 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1114 * src/strstream.cc (strstreambuf): Fix leak.
1116 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1119 * include/bits/istream.tcc (istream::getline, ignore):
1120 Upon __idelim (__delim) call sbumpc() not snextc().
1121 * testsuite/27_io/narrow_stream_objects.cc:
1122 Add test08 and test09.
1124 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1126 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1127 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1129 * docs/html/install.html: Fix.
1131 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1133 * include/bits/fstream.tcc
1134 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1136 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1138 * docs/html/install.html: Tweak, add bits about required locales
1139 for the 22_locale tests when using the gnu model.
1141 * testsuite/27_io/istream_sentry.cc: Tweak.
1143 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1145 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1146 Fix typo, use this->is() rather than manually (and perhaps
1147 incorrectly) inlining it.
1148 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1150 * testsuite/22_locale/ctype_scan_char.cc: New file.
1152 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1153 Jakub Jelinek <jakub@redhat.com>
1155 * testsuite/22_locale/money_get_members_char.cc
1156 (test01, test02, test04): Use the de_DE@euro named locale
1157 instead of de_DE to allow for an uniform behaviour with
1158 both old and Euro-era localedata; tweak some tests.
1159 * testsuite/22_locale/money_get_members_wchar_t.cc
1160 (test01, test02, test04): Likewise.
1161 * testsuite/22_locale/money_put_members_char.cc
1162 (test01, test02, test04): Likewise.
1163 * testsuite/22_locale/money_put_members_wchar_t.cc
1164 (test01, test02, test04): Likewise.
1166 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1168 * testsuite/22_locale/codecvt_members_char_char.cc
1169 (test03): Robustify wrt localedata.
1170 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1171 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1172 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1173 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1174 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1175 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1176 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1177 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1178 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1179 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1180 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1181 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1182 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1183 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1184 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1185 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1186 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1187 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1188 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1189 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1190 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1191 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1193 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1195 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1198 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1200 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1201 to 64 for hppa 64-bit port.
1202 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1204 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1206 * acinclude.m4 (enable_symvers): Quote $LD.
1207 * aclocal.m4: Regenerate.
1208 * configure: Likewise.
1210 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1212 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1213 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1216 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1218 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1219 script entry, and set LD to it when configuring multilibs.
1220 * configure: Rebuilt.
1222 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1224 * configure.in: Add support for WindISS.
1225 * configure: Regenerated.
1226 * configure.target: Add support for WindISS.
1227 * config/os/windiss/bits/ctype_base.h: New file.
1228 * config/os/windiss/bits/ctype_inline.h: Likewise.
1229 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1230 * config/os/windiss/bits/os_defines.h: Likewise.
1232 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1234 Test all the facets for the temporary "C" locale switch issue.
1235 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1236 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1237 * testsuite/22_locale/collate_members_char.cc: Add test04.
1238 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1239 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1240 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1241 * testsuite/22_locale/messages_members_char.cc: Add test03.
1242 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1243 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1244 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1245 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1246 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1247 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1248 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1249 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1250 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1251 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1252 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1253 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1254 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1255 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1257 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1258 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1260 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1262 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1263 __EXTENSIONS__): Ensure they are always defined.
1265 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1267 * docs/html/documentation.html: Fix broken link.
1269 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1270 Paolo Carlini <pcarlini@unitus.it>
1272 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1273 testing for the locale_facets.tcc entry of the previous commit.
1274 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1276 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1278 * config/locale/generic/c_locale.cc
1279 (__convert_to_v(float, double, long double)):
1280 Fix the temporary switch to the "C" locale, saving and
1281 restoring in the proper way the current locale.
1282 * config/locale/generic/time_members.cc
1283 (__timepunct<char, wchar_t>::_M_put): Likewise.
1284 * config/locale/gnu/messages_members.cc
1285 (messages<char>::do_get): Likewise.
1286 * config/locale/gnu/messages_members.h
1287 (messages<_CharT>::do_get): Likewise.
1288 * config/locale/gnu/time_members.cc
1289 (__timepunct<char, wchar_t>::_M_put): Likewise.
1290 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1292 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1294 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1295 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1297 * Makefile.in, config.h.in, configure: Regenerate.
1299 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1302 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1303 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1305 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1307 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1309 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1311 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1313 * configure.in: Update local install.html, configopts.html paths.
1314 * configure: Regenerate.
1316 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1318 * config/os/irix/irix5.2/bits/os_defines.h
1319 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1321 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1324 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1326 * docs/html/faq/index.html: Update list in #4.1.
1327 * docs/html/faq/index.txt: Regenerated.
1329 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1331 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1333 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1335 * include/std/std_bitset.h: Fix doxygen comments.
1336 * docs/html/documentation.html: Minor tweaks for 3.1.
1337 * docs/html/27_io/howto.html: Likewise.
1338 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1339 * docs/html/faq/index.html: Likewise.
1340 * docs/html/faq/index.txt: Regenerated.
1342 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1345 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1346 (istreambuf_iterator::equal): Use it.
1347 (istreambuf_iterator::operator*): Use it.
1349 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1352 * include/bits/stl_uninitialized.h
1353 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1354 Fix typo in 2001-07-17 commit: typedef _ValueType to
1355 iterator_traits<_ForwardIter> not <_InputIter>.
1356 * testsuite/23_containers/vector_ctor.cc: Add test04.
1358 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1361 * include/c_std/std_cctype.h: Include bits/c++config.h.
1362 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1364 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1366 * include/ext/stdio_filebuf.h: New file.
1367 * include/ext/enc_filebuf.h: New file.
1368 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1369 * config/io/basic_file_stdio.cc: Same.
1370 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1371 Remove _M_unbuf hacks.
1372 (filebuf::_M_destroy_internal_buffer): Same.
1373 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1374 (filebuf::fd): Remove.
1375 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1376 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1377 (filebuf::fd): Remove.
1378 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1380 (ios_base::_S_ios_destroy): Same.
1381 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1382 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1383 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1385 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1388 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1390 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1393 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1395 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1396 (istreambuf_iterator::operator++): Invalidate on eof.
1397 (istreambuf_iterator::operator++(int)): Same.
1398 (istreambuf_iterator::operator*): Same.
1400 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1402 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1403 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1406 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1409 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1410 (__basic_file::sys_ungetc): Take int.
1411 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1412 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1413 Use sys_getc for unbuffered input.
1414 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1416 * src/ios.cc (_M_grow_words): Adjust error checking.
1417 * testsuite/27_io/ios_base_storage.cc: Same.
1419 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1421 * include/ext/stl_hashtable.h: Import __iterator_category
1423 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1424 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1426 * testsuite/ext/hash_set.cc: New testfile.
1428 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1430 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1432 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1433 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1435 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1437 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1438 Fix and tighten __throw_length_error check.
1439 * testsuite/21_strings/replace.cc (test05): New.
1440 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1442 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
1444 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1445 unconditional flush on lower-layer handle to here...
1446 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1447 ...from here. Optimize remaining _M_file.sync() call pattern.
1448 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1451 2002-04-23 Jason Merrill <jason@redhat.com>
1453 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1454 output-only filebufs.
1455 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1457 (basic_filebuf::_M_set_determinate): Likewise.
1460 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1461 value properly in the trivial case.
1462 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1463 tellg() returns the right value after a read.
1465 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
1467 * config/cpu/mmix/bits/cpu_limits.h: New file.
1468 * configure.target (CPULIMITSH): Use it.
1470 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
1472 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1473 * docs/html/17_intro/porting.html: Rebuilt.
1475 2002-04-20 Jason Merrill <jason@redhat.com>
1478 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1480 (basic_streambuf::_M_set_determinate): Likewise.
1481 (basic_streambuf::_M_is_indeterminate): Likewise.
1482 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1483 non-static data member.
1484 (basic_filebuf::_M_underflow_common): New non-static member function.
1485 (basic_filebuf::_M_underflow, _M_uflow): Call it.
1486 (basic_filebuf::sync): Avoid useless seeking.
1487 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1489 (basic_filebuf::_M_set_determinate): Likewise.
1490 (basic_filebuf::_M_is_indeterminate): Likewise.
1491 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1492 back to _M_out_beg if necessary.
1493 (basic_filebuf::seekoff): Likewise.
1494 (basic_filebuf::_M_underflow_common): Generalization of old
1495 underflow(). Don't seek back to _M_in_beg.
1496 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1497 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1498 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1499 * config/os/mingw32/bits/os_defines.h: Likewise.
1500 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1503 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
1505 * include/bits/istream.tcc (istream::read): Fix.
1506 * testsuite/27_io/istream_unformatted.cc (main): Add.
1508 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
1511 * include/bits/istream.tcc (istream::ignore): Streamline, use
1513 * include/bits/streambuf.tcc: Use this->gptr.
1514 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1516 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
1518 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1519 as type safety is important, especially on solaris.
1520 * include/bits/istream.tcc (istream::read): Clean.
1521 (istream::readsome): Same.
1522 * locale.cc: Wrap lines.
1524 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1525 * testsuite/27_io/instantiations.cc (test): Add bool variable...
1526 * testsuite/21_strings/capacity.cc: Clean.
1528 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1530 * docs/doxygen/doxygroups.cc: New group on binary searching.
1531 * include/bits/stl_algo.h: Document binary searches and merges.
1532 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
1534 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1536 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
1537 * docs/doxygen/run_doxygen: Bump required version.
1538 * docs/doxygen/user.cfg.in: Revert accidental change.
1539 * docs/html/faq/index.html: Reindent a block of links.
1540 (4.4): New note on using dlsym.
1541 * docs/html/faq/index.txt: Regenerated.
1543 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1545 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
1547 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1549 * config/linker-map.gnu (__malloc_alloc_template): Add.
1550 (__default_alloc_template): Same.
1551 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1553 (__default_alloc_template): Same.
1555 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1557 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1559 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
1561 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1562 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1563 (__malloc_alloc_template): Conditionalize.
1565 * include/bits/istream.tcc: Remove sputbackc calls.
1567 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1569 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
1571 * testsuite/24_iterators/rel_ops.cc: New test.
1573 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1575 * include/bits/type_traits.h (__normal_iterator): Declare in
1576 __gnu_cxx. Adjust use at global namespace.
1577 * include/bits/stl_iterator.h (__normal_iterator): Move definition
1578 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
1579 * include/bits/basic_string.h (basic_string): Adjust use of
1581 * include/bits/stl_vector.h (_Alloc>): Likewise.
1582 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1583 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1585 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
1589 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1591 (__basic_file::close): Call fflush. Correct return if fclose ok.
1592 (__basic_file::is_open): Make const.
1593 Change __c_file_type to __c_file.
1594 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1595 (__basic_file::is_open): Make const.
1596 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1597 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1598 (filebuf::_M_unbuf): Add.
1599 (filebuf::_M_file): Change to non-pointer.
1600 (filebuf::_M_allocate_pback_buffer): Remove.
1601 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1602 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1603 Change initialization list for _M_file change.
1604 (filebuf::_M_allocate_pback_buffer): Remove.
1605 Change _M_file usage to reflect non-pointer data member.
1607 * config/locale/generic/c_locale.cc
1608 (locale::facet::_S_create_c_locale): Add parameter.
1609 * config/locale/generic/collate_members.cc: Change
1610 _M_compare_helper to _M_compare.
1611 Change _M_transform_helper to _M_transform.
1612 * config/locale/generic/monetary_members.cc: Changeup data types.
1614 * config/locale/generic/numeric_members.cc: Add dtors.
1615 * config/locale/generic/time_members.cc: Add dtors.
1616 * config/locale/gnu/c_locale.cc: Add parameter.
1617 * config/locale/gnu/collate_members.cc:Change
1618 _M_compare_helper to _M_compare.
1619 Change _M_transform_helper to _M_transform.
1620 * config/locale/gnu/ctype_members.cc: Better error checking.
1621 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1622 * config/locale/gnu/messages_members.cc: Tweak comment.
1623 * config/locale/gnu/monetary_members.cc: Change data types.
1625 * config/locale/gnu/numeric_members.cc: Add dtors, better error
1627 * config/locale/gnu/time_members.cc: Same.
1628 * config/locale/ieee_1003.1-2001/c_locale.cc
1629 (locale::facet::_S_create_c_locale): Add parameter.
1630 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1631 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1634 * include/bits/locale_facets.h (moneypunct): Use string literals.
1637 (__timepunct): Same.
1638 (locale::_Impl::_M_facets): Change from vector to array.
1639 (locale::_Impl::_M_names): Change from array of strings to array
1641 (locale::facet::_S_create_c_locale): Add parameter.
1642 (locale::locale::_S_num_facets): Move to...
1643 (locale::_Impl::_M_facets_size): Here.
1644 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1646 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1647 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1648 (locale::_Impl::_Impl(string, size_t)): Change to
1649 (locale::_Impl::_Impl(const char*, size_t)): This.
1651 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1652 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1653 (streambuf::_S_pback_size): This.
1655 * src/globals.cc: Add pre-allocations for "C" facets.
1656 * src/locale-inst.cc: Remove vector instantiations.
1657 * src/locale.cc: Remove vector include. Fixups for _M_names,
1659 * src/localename.cc: Same.
1661 * include/bits/stl_vector.h: Fix odd formatting.
1663 * include/bits/basic_string.tcc: Tweak comment.
1665 * libsupc++/new: Make sure parameters are uglified.
1666 * libsupc++/typeinfo: Same.
1668 * testsuite/22_locale/num_get_members_char.cc: Fixup.
1669 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1670 * testsuite/27_io/filebuf_members.cc: Same.
1672 2002-04-12 Steve Ellcey <sje@cup.hp.com>
1674 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1675 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1676 does not define strtoll or strtoull, but does define strtol
1677 and strtoul which are the same since in 64 bit mode
1678 sizeof(long) == sizeof(long long).
1680 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
1682 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
1683 trailing spaces, indentation, and macro names. Make exception
1684 messages more informative.
1686 2002-04-11 Richard Henderson <rth@redhat.com>
1688 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1689 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1690 (basic_ostream<>::operator<<(long long)): Same.
1692 2002-04-11 Richard Henderson <rth@redhat.com>
1694 * config/linker-map.gnu: Add __gxx_personality_sj0.
1696 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1699 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1701 Remove forward declaration of vector.
1703 * include/bits/locale_facets.tcc: Remove vector include.
1704 (use_locale): Adjust.
1705 (has_locale): Adjust.
1706 * src/locale.cc: Adjust.
1707 * src/localename.cc: Same.
1709 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1710 Richard Henderson <rth@redhat.com>
1712 * include/bits/sstream.tcc: Clean up bit ops.
1713 * include/bits/fstream.tcc: Same.
1715 2002-04-09 Jakub Jelinek <jakub@redhat.com>
1717 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1718 (__num_base::_S_scale_oct): Remove.
1719 * src/locale.cc (__num_base::_S_scale_hex): Remove.
1720 (__num_base::_S_scale_oct): Remove.
1722 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1725 * testsuite/23_containers/bitset_members.cc: New test.
1726 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1727 (_S_bit_count): Here.
1728 (_First_one::_S_first_one): Move...
1729 (_S_first_one): Here.
1731 * src/bitset.cc: Adjust.
1732 * config/linker-map.gnu: Export.
1734 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
1737 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1738 * include/std/std_fstream.h: Clean.
1739 * include/bits/ostream.tcc: Remove extraneous variables.
1740 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1741 open modes and which modes.
1742 (stringbuf::seekpos): Same.
1743 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1745 2002-04-05 Jonathan Wakely <jw@kayari.org>
1747 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1748 random_shuffle, partition, stable_partition, sort, stable_sort,
1749 partial_sort, partial_sort_copy, nth_element): Doxygenate.
1751 2002-04-05 David S. Miller <davem@redhat.com>
1753 * config/os/gnu-linux/bits/os_defines.h
1754 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1756 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
1759 via gawrilow@math.tu-berlin.de
1760 * acinclude.m4 (version_specific_libs): Fix combo usage with
1761 --with-gxx-include-dir.
1762 * aclocal.m4: Regenerate.
1765 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
1767 As per DR 184, libstdc++/3139
1768 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1769 (numeric_limits<bool>::is_iec559): False.
1770 (numeric_limits<bool>::is_modulo): False.
1772 * testsuite/27_io/ios_init.cc: Add instantiations.
1774 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
1777 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1778 * testsuite/27_io/ios_init.cc (tests04): Add test.
1781 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1782 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1783 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1784 * include/bits/istream.tcc: Use _M_fctype, make consistent with
1786 * testsuite/27_io/ios_init.cc (tests03): Add test.
1788 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
1790 * include/Makefile.am (install-data-local): Use mkinstalldirs.
1791 * include/Makefile.in: Regenerate.
1793 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
1794 Nathan Myers <ncm@cantrip.org>
1795 Philip Martin <philip@codematters.co.uk>
1797 * include/bits/basic_string.h
1798 (replace(i1, i2, _CharT* k1, _CharT* k2),
1799 replace(i2, i2, const _CharT* k1, const _CharT* k2),
1800 replace(i1, i2, iterator k1, iterator k2,
1801 replace(i1, i2, const_iterator k1, const_iterator k2):
1802 New specializations to optimize for the common cases of
1803 pointers and iterators.
1804 (replace(pos, n1, s, n2)): Tweak.
1805 * include/bits/basic_string.tcc: Tweak comments.
1806 * testsuite/21_strings/replace.cc (test04): New tests.
1808 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1811 * acinclude: More extensive checks for msgfmt, --enable-nls.
1812 * aclocal.m4: Regenerate.
1813 * configure: Regenerate.
1815 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1817 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
1818 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
1819 * docs/html/18_support/howto.html: Document the demangler.
1820 * docs/html/17_intro/howto.html: And link to it.
1822 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
1823 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
1825 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1827 * config/linker-map.gnu: Export __verbose_terminate_handler.
1828 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
1829 Make new LTCOMPILE variable, use it in new special build rules.
1830 * libsupc++/Makefile.in: Rebuild.
1831 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
1832 runtime __cxa_demangle.
1834 * docs/html/install.html: Update prereqs and instructions.
1835 * docs/html/19_diagnostics/howto.html: Bring naming for
1836 verbose_terminate_handler into line with reality.
1838 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1841 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1842 (basic_ios::_M_streambuf_state): Move.
1843 * include/bits/ios_base (ios_base): To here.
1844 * include/bits/ios_base.h (ios_base::_S_local_words): To
1846 (ios_base::_M_word_array): To _M_local_word.
1847 (ios_base::_M_words_limit): To _M_word_size.
1848 (ios_base::_M_words): To _M_word.
1850 * include/bits/basic_ios.tcc: Adjust.
1851 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1852 * testsuite/27_io/ios_base_storage.cc: Add tests.
1855 Kenny Simpson <theonetruekenny@yahoo.com>
1856 * include/bits/ios_base.h: Fix.
1858 Richard Henderson <rth@redhat.com>
1859 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1862 * include/bits/basic_string.h: Tweak formatting.
1864 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1866 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1867 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1868 By definition, sizeof(char) == 1.
1869 * include/bits/locale_facets.tcc (money_get::do_get,
1870 money_put::do_put): Ditto.
1871 * testsuite/21_strings/inserters_extractors.cc
1874 2002-03-30 Richard Henderson <rth@redhat.com>
1877 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1878 data out of the exception struct before calling unexpectedHandler.
1880 2002-03-28 Roger Sayle <roger@eyesopen.com>
1882 * include/c_std/std_cmath.h: To prevent problems overloading
1883 g++ builtins, use the double variants from the global namespace
1884 before defining float and long double variants in std::.
1886 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1888 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1890 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1892 * testsuite/24_iterators/istream_iterator.cc
1893 (test02): New tests.
1895 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1896 Paolo Carlini <pcarlini@unitus.it>
1898 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1899 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1900 fix i_lit_base e_lit_base arrays, making them independent
1901 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1903 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1905 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1906 allocate at least a byte.
1908 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1910 * testsuite/27_io/streambuf.cc (test07): Fix.
1913 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1915 * docs/doxygen/Intro.3: Date tweak.
1916 * docs/doxygen/TODO: Update.
1917 * docs/doxygen/doxygroups.cc: Point to tables.html.
1918 * docs/doxygen/mainpage.html: Date tweak.
1919 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1920 * docs/doxygen/tables.html: Fill in the blanks.
1922 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1923 * include/bits/stl_algo.h: Likewise; use expanded form.
1924 * include/bits/stl_alloc.h: Likewise.
1925 * include/bits/stl_construct.h: Likewise.
1926 * include/bits/stl_deque.h: Likewise.
1927 * include/bits/stl_iterator_base_types.h: Likewise.
1928 * include/bits/stl_list.h: Likewise.
1929 * include/bits/stl_relops.h: Likewise.
1930 * include/bits/stl_tempbuf.h: Likewise.
1931 * include/bits/stl_vector.h: Likewise.
1932 * include/std/std_memory.h: Likewise.
1934 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1935 * include/bits/stl_list.h: Likewise.
1936 * include/bits/stl_vector.h: Likewise.
1938 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1940 * include/c/: Guard with _CPP_.
1941 * include/c_std/: Same.
1942 * include/Makefile.am: Fixup install, link routines for null
1943 c_base_headers_extra scenarios.
1944 * include/Makefile.in: Regerate.
1946 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1947 Richard Henderson <rth@redhat.com>
1949 * testsuite/22_locale/codecvt_members_unicode_char.cc
1950 (test01, test02): make sure that the i_lit_base array
1951 is sufficiently aligned.
1953 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1955 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1958 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1960 * testsuite/22_locale/collate_byname.cc
1961 (test01): compare the result of collate::compare with
1962 that of collate::transform + string::compare, not with
1963 that of collate::transform + collate::compare; values
1964 returned by collate::compare are normalized, therefore
1967 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1968 Jakub Jelinek <jakub@redhat.com>
1970 * config/locale/gnu/messages_members.h: Correct conditional.
1971 * config/locale/gnu/messages_members.cc: Same.
1972 * config/locale/gnu/time_members.cc: Same.
1974 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1975 Paolo Carlini <pcarlini@unitus.it>
1977 * testsuite/22_locale/codecvt_members_unicode_char.cc
1978 (test01, test02): Fix i_lit_base arrays, making them
1979 independent from the endianness of the platform.
1981 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1983 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1984 signbit and __signbit directly.
1985 * aclocal.m4: Regenerate.
1986 * configure: Regenerate.
1987 * config.h.in: Regenerate.
1988 * libmath/Makefile.am: Simplify.
1989 * libmath/Makefile.in: Regenerate.
1990 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1992 * include/Makefile.am: Clean up handling of extra "C" header files.
1993 Add hooks for "C" compatibility headers.
1994 * include/Makefile.in: Regenerate.
1996 * include/c/*: Formatting tweaks, cleanups.
1997 * include/c_std/*: Same.
1999 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2001 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2002 * config/locale/gnu/messages_members.cc: Same.
2003 * config/locale/gnu/time_members.cc: Same.
2005 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2007 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2009 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2011 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2012 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2013 * aclocal.m4: Regenerate.
2014 * configure: Likewise.
2016 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2017 Ulrich Drepper <drepper@redhat.com>
2019 * src/locale-inst.cc (__convert_from_v): Add an additional
2020 __size parameter in the declarations.
2021 * include/bits/locale_facets.tcc
2022 (__convert_from_v): When available (that is,
2023 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2024 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2025 being defined or not, call and use __convert_from_v in the
2027 (num_put::_M_convert_int): Same here.
2028 (money_put::do_put(long double)): Same here.
2030 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2032 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2033 * docs/html/faq/index.txt: Regenerate.
2035 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2037 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2038 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2039 --enable-libunwind-exceptions is set.
2040 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2041 macro to check for libunwind.
2042 * configure: Regenerate.
2043 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2044 LIBUNWIND_FLAG to libstdc link line.
2045 * src/Makefile.in: Regenerate.
2047 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2049 * docs/html/faq/index.html: Add OS X workaround.
2050 * docs/html/17_intro/TODO: Update.
2052 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2054 * include/bits/locale_facets.tcc
2055 (money_put::do_put(long double)): Fix dimensioning of
2056 temporary buffers to avoid risk of overruns.
2057 (money_put::do_put(string)): Same for the buffer used to
2058 add the grouping chars.
2059 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2060 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2062 * include/bits/locale_facets.tcc
2063 (collate::do_transform): Simplify.
2065 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2067 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2068 * configure.in: Add comments pointing the way for autoconf 2.5x.
2069 * aclocal.m4, config.h.in, configure: Regenerate.
2071 2002-03-18 Philipp Thomas <pthomas@suse.de>
2073 * include/backward/hash_map.h: hash, hashtable, hash_map and
2074 hash_multimap are in namespace __gnu_cxx.
2075 include/backward/hash_set.h: hash, hashtable, hash_set and
2076 hash_multiset are in namespace __gnu_cxx.
2077 include/backward/hashtable.h: hash and hashtable are in
2078 namespace __gnu_cxx.
2079 include/backward/rope.h: char_producer, sequence_buffer,
2080 rope, crope and wrope are in namespace __gnu_cxx.
2081 include/backward/slist.h: slist is in namespace __gnu_cxx.
2082 * testsuite/backward/header_hash_map_h.cc
2083 testsuite/backward/header_hash_set_h.cc
2084 testsuite/backward/header_hashtable_h.cc
2085 testsuite/backward/header_rope_h.cc
2086 testsuite/backward/header_slist_h.cc
2087 testsuite/backward/header_tempbuf_h.cc: New tests for
2088 checking that we're using the correct namespace.
2090 2002-03-17 Jason Merrill <jason@redhat.com>
2093 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2094 (check_exception_spec): Call it. Take the thrown pointer.
2095 (__cxa_call_unexpected): Pass it.
2096 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2098 2002-03-15 Anthony Green <green@redhat.com>
2100 * configure.in: Remove useless is_mingw32.
2101 * configure: Rebuilt.
2103 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2105 * testsuite/22_locale/collate_members_char.cc
2106 (test01): compare the result of collate::compare with
2107 that of collate::transform + string::compare, not with
2108 that of collate::transform + collate::compare.
2109 (test01): values returned by collate::compare are
2110 normalized, therefore test against +-1.
2111 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2113 2002-03-12 Loren Rittle <ljrittle@acm.org>
2115 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2116 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2118 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2119 Per Liboriussen <liborius@stofanet.dk>
2121 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2123 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2125 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2127 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2128 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2130 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2131 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2133 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2134 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2136 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2138 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2140 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2141 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2142 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2143 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2144 that memory limits are in place.
2145 (test03): Add tests.
2147 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2149 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2150 * aclocal.m4: Regenerate.
2151 * config.h.in: Regenerate.
2152 * configure: Regenerate.
2153 * include/c_std/std_cwctype.h: Guard.
2155 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2157 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2158 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2159 * aclocal.m4: Regenerate.
2160 * configure: Regenerate.
2162 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2164 * include/bits/stl_bvector.h: Fix warning.
2166 2002-03-11 Richard Henderson <rth@redhat.com>
2168 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2170 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2172 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2173 New function. Build the list of tests to run in testsuite_files.
2174 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2176 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2178 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2179 platforms with no weak support.
2180 * testsuite/27_io/ios_init.cc: Likewise.
2182 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2184 * include/bits/locale_facets.tcc (time_put::do_put):
2185 Consider sizeof(char_type) in allocating the buffer.
2187 * include/bits/locale_facets.tcc (collate::do_tranform):
2188 Remove redundant variable.
2190 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2191 Paolo Carlini <pcarlini@unitus.it>
2193 * config/locale/generic/collate_members.cc
2194 (collate<char,wchar_t>::_M_compare_helper): normalize
2195 values returned by strcoll and wcscoll.
2196 * config/locale/gnu/collate_members.cc
2197 (collate<char,wchar_t>::_M_compare_helper): ditto
2198 for __strcoll_l and __wcscoll_l.
2200 2002-03-10 Anthony Green <green@redhat.com>
2202 * configure.in: Support cross builds to mingw32 target.
2203 * configure: Rebuilt.
2205 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2207 * include/bits/locale_facets.tcc (collate::do_transform):
2208 Rewrite to fix problems with long transformed strings.
2210 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2212 * c_locale_generic.cc: Move to...
2213 * generic/c_locale.cc
2214 * c_locale_generic.h: Move to...
2215 * generic/c_locale.h
2216 * codecvt_specializations_generic.h: Move to...
2217 * generic/codecvt_specializations.h
2218 * collate_members_generic.cc: Move to...
2219 * generic/collate_members.cc
2220 * ctype_members_generic.cc: Move to...
2221 * generic/ctype_members.cc
2222 * messages_members_generic.cc: Move to...
2223 * generic/messages_members.cc
2224 * messages_members_generic.h: Move to...
2225 * generic/messages_members.h
2226 * moneypunct_members_generic.cc: Move to...
2227 * generic/monetary_members.cc
2228 * numpunct_members_generic.cc: Move to...
2229 * generic/numeric_members.cc
2230 * time_members_generic.cc: Move to...
2231 * generic/time_members.cc
2232 * c_locale_gnu.cc: Move to...
2234 * c_locale_gnu.h: Move to...
2236 * collate_members_gnu.cc: Move to...
2237 * gnu/collate_members.cc
2238 * ctype_members_gnu.cc: Move to...
2239 * gnu/ctype_members.cc
2240 * messages_members_gnu.cc: Move to...
2241 * gnu/messages_members.cc
2242 * messages_members_gnu.h: Move to...
2243 * gnu/messages_members.h
2244 * moneypunct_members_gnu.cc: Move to...
2245 * gnu/monetary_members.cc
2246 * numpunct_members_gnu.cc: Move to...
2247 * gnu/numeric_members.cc
2248 * time_members_gnu.cc: Move to...
2249 * gnu/time_members.cc
2250 * c_locale_ieee_1003.1-200x.cc: Move to...
2251 * ieee_1003.1-2001/c_locale.cc
2252 * c_locale_ieee_1003.1-200x.h: Move to...
2253 * ieee_1003.1-2001/c_locale.h
2254 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2255 * ieee_1003.1-2001/codecvt_specializations.h
2256 * messages_members_ieee_1003.1-200x.cc: Move to...
2257 * ieee_1003.1-2001/messages_members.cc
2258 * messages_members_ieee_1003.1-200x.h: Move to...
2259 * ieee_1003.1-2001/messages_members.h
2261 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2262 * aclocal.m4: Regenerate.
2263 * configure: Regenerate.
2264 * src/Makefile.am (sources): Change to monetary and numeric.
2265 * src/Makefile.in: Regenerate.
2266 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2268 2002-03-08 scott snyder <snyder@fnal.gov>
2271 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2272 Allow one more digit of precision.
2273 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2274 write a double and read back in the same value.
2276 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2278 * include/std/std_limits.h: Move static const data members out of
2279 generic template, into base class __numeric_limits_base.
2280 * src/limits.cc: Add definitions.
2281 * config/linker-map.gnu: Add __numeric_limits_base.
2282 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2284 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2286 * include/bits/stl_alloc.h: Add extern implicit allocator
2288 * include/bits/basic_string.tcc: Tweak.
2289 * include/bits/locale_facets.tcc: Remove default args. Add
2290 has_facet, use_facet extern instantiations.
2291 * src/stl-inst.cc: Add explicit instantiation.
2292 * src/locale-inst.cc: Clean. Remove locale member template
2295 * testsuite/22_locale/operators.cc (test02): Enable.
2297 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2298 Stephen M. Webb <stephen.webb@bregmasoft.com>
2300 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2301 (_S_rb_tree_black): Make enum.
2303 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2304 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2305 (__stl_threshold): _M_threshold, enum.
2306 * src/stl-inst.cc: Same.
2307 * config/linker-map.gnu: Remove.
2309 * testsuite/23_containers/vector_bool.cc: New.
2311 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2313 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2314 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2315 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2316 referring to the collection as a whole. New section on which macros
2317 can be redefined by the user.
2318 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2319 * docs/html/20_util/howto.html: Update link to SGI.
2320 * docs/html/faq/index.html: Update snapshot versions. New entry
2321 on why g++ (but not gcc) must currently predefine certain macros.
2322 * docs/html/faq/index.txt: Regenerated.
2324 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2325 names in declaration.
2326 (basic_string::compare): These are no longer optional.
2327 * include/bits/ostream.tcc: Tweak closing brace placement.
2328 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2329 * include/std/std_sstream.h: Fix typo in comment.
2330 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2331 * src/locale.cc: Likewise.
2333 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2336 * include/bits/stl_vector.h (vector::push_back()): Guard with
2337 _GLIBCPP_DEPRECATED.
2339 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2341 * include/bits/c++config: Fix misplaced leading blanks on first line.
2343 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2345 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2346 * README (libmath): Make clear.
2348 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2350 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2351 script globbing in ld.
2352 * aclocal.m4: Rebuilt.
2353 * configure: Rebuilt.
2355 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2357 * docs/html/17_intro/RELEASE-NOTES: Update.
2358 * README: Format subdirectories.
2360 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2363 * include/bits/locale_facets.tcc
2364 (num_get::_M_extract_float): Fix the parsing of __dec, since
2365 the standard prescribes that if no grouping characters are
2366 seen, no grouping check is applied.
2367 * testsuite/22_locale/num_get_members_char.cc: Add test05
2368 distilled from the PR.
2369 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2371 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2373 * docs/html/17_intro/porting-howto.xml: Refer to
2374 http://www.oasis-open.org for docbookx.dtd.
2375 * docs/html/17_intro/porting-howto.html: Regenerated.
2377 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2380 * include/std/std_sstream.h: Remove trailing spaces.
2381 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2382 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2384 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2386 * testsuite/22_locale/num_get_members_char.cc (test04):
2387 Use a named locale expecting grouping (de_DE).
2388 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2390 * testsuite/27_io/ios_manip_basefield.cc (test01):
2391 Extend coverage, uniform treatment of hexs and octs.
2393 2002-02-28 Richard Henderson <rth@redhat.com>
2395 * config/linker-map.gnu: Export operator new with unsigned long,
2396 and with std::nothrow_t. Likewise operator delete.
2398 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2400 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2401 Admit grouping for octals and hexadecimals too.
2402 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2403 (test01): Tweak "." -> "," in void* test.
2404 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2406 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2407 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2409 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2411 * testsuite/27_io/ios_manip_basefield.cc (test01):
2412 Fix for 64 bit machines.
2414 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2417 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2419 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2420 (basic_ios::_M_fill_init): New.
2421 (basic_ios::fill()): Delay dealing with _M_fill.
2423 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2424 (ios_base::_M_call_callbacks): Adjust.
2425 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2427 2002-02-26 Loren Rittle <ljrittle@acm.org>
2429 * include/Makefile.am (thread_target_headers): Unconditionally
2430 stage and install gthr-posix.h.
2431 (${target_builddir}/gthr-posix.h): New rule cloned off
2432 ${target_builddir}/gthr-default.h.
2433 (${target_builddir}/gthr-default.h): Support chained inclusion
2434 of gthr support headers.
2435 * include/Makefile.in: Rebuilt.
2437 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2439 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2440 Group all the integral types, not only decs.
2441 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2442 tests, add a few more.
2444 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
2446 * src/ios.cc (ios_base::~ios_base): Tweak.
2447 (ios_base::_M_call_callbacks): Deal with null __p.
2448 (ios_base::ios_base): Set _M_callbacks.
2449 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2450 * testsuite/27_io/ios_init.cc (test02): Fix.
2452 * mkcheck.in (static_fail): Failed links go to output file.
2454 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
2456 * docs/html/faq/index.html: Update.
2457 * docs/html/faq/index.txt: Regenerate.
2459 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
2461 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
2462 * aclocal.m4: Regenerate.
2463 * docs/html/configopts.html: Document --enable-symvers.
2464 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
2466 2002-02-22 Philipp Thomas <pthomas@suse.de>
2468 * include/backward/tempbuf.h: get_temporary_buffer and
2469 return_temporary_buffer are in namespace std, not in __gnu_cxx.
2471 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
2473 * configure.in (target_alias): Default to yes.
2474 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2475 libgcc to default case.
2477 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
2479 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
2480 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
2481 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
2482 * aclocal.m4: Regenerate.
2483 * configure: Regenerate.
2484 * config/linker-map.dummy: New file. Contains nothing useful.
2486 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
2488 * testsuite/22_locale/money_put_members_char.cc: Fix.
2489 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2491 * testsuite/27_io/standard_manipulators.cc: New file.
2493 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2494 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2496 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
2498 * config/os/mingw32/bits/ctype_noninline.h
2499 (ctype<char>::ctype): Remove default args from parm list.
2500 * config/os/djgpp/bits/ctype_noninline.h: Same.
2502 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2504 * include/std/std_iomanip.h: Inline, tweaks.
2505 * config/linker-map.gnu: Remove hacks.
2507 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2508 * testsuite/27_io/ios_init.cc: Same.
2509 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2510 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2512 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2514 * config/linker-map.gnu: Export global vtable, typeinfo, guard
2515 variable, and thunk info as per CXXABI docs.
2517 2002-02-19 Loren Rittle <ljrittle@acm.org>
2519 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2520 * include/Makefile.in: Rebuilt.
2522 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2524 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2525 with size3 for the string collations of str5.
2527 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
2530 * include/bits/locale_facets.tcc (money_put::do_put):
2531 For the space field use __fill instead of ' ', uniformly.
2532 * testsuite/22_locale/money_put_members_char.cc:
2533 Add test05 distilled from PR.
2534 (test01-02-03): Trim some '*' to ' '.
2535 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2537 2002-02-18 Loren Rittle <ljrittle@acm.org>
2540 * include/Makefile.am (thread_builddir): Remove (map all
2541 existing uses to target_builddir).
2542 (thread_headers): Rename to...
2543 (thread_target_headers): ...this.
2544 (stamp-thread): Remove.
2545 (stamp-target): Correctly state the position as built.
2546 Update all dependencies to match the new reality. Remove all
2547 dependency calculations on directories.
2548 * include/Makefile.in: Rebuilt.
2550 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
2552 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2553 * include/bits/fstream.tcc: Same.
2554 * include/bits/sstream.tcc: Same.
2555 * include/bits/ostream.tcc: Same.
2556 * include/bits/istream.tcc: Same.
2557 * include/bits/streambuf.tcc: Same.
2558 * include/bits/basic_ios.tcc: Same.
2559 * include/bits/basic_string.tcc: Same.
2561 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2563 * include/std/std_iosfwd.h: Don't guard typedefs with
2564 _GLIBCPP_USE_WCHAR_T
2565 * include/bits/stringfwd.h: Same.
2567 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2569 * src/locale.cc (moneypunct_byname): Remove definitions.
2570 * include/std/std_streambuf.h (streambuf::operator=): Return.
2572 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2575 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2576 explicit instantiation.
2577 (string::_Rep::_S_max_size): Same.
2578 * include/bits/basic_string.tcc: Add extern explicit
2579 instantiations for string, wstring.
2580 * include/bits/basic_ios.tcc: Add extern explicit instantiations
2582 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2583 * include/bits/istream.tcc: Same, for istream, wistream.
2584 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2586 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2587 istringstream, wistringstream, ostringstream, wostringstream,
2588 stringstream, wstringstream.
2589 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2590 wifstream, ofstream, wofstream, fstream, wfstream.
2591 * src/misc-inst.cc: Correct comments.
2592 Add iomanip instantiations for wide streams.
2593 * include/std/std_iomanip.h: Same.
2594 * include/bits/locale_facets.tcc: Same.
2596 * include/std/std_streambuf.h: Correct
2597 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2598 * include/std/std_sstream.h: Same.
2599 * include/std/std_ostream.h: Same.
2600 * include/std/std_istream.h: Same.
2601 * include/std/std_fstream.h: Same.
2603 * include/std/std_streambuf.h: Add definitions for private copy
2604 ctor and assignment operator.
2605 * include/std/std_istream.h: Remove declared but undefined copy
2606 ctor and assignment operator. This is taken care of in ios_base,
2607 so adding it in the derived class as well is superfluous.
2608 * include/std/std_ostream.h: Same.
2610 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2611 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2613 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2615 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2616 Add typeinfo bits. Smooth.
2617 * aclocal.m4: Regenerate.
2619 * src/Makefile.in: Same.
2621 2001-02-14 Joel Sherrill <joel@OARcorp.com>
2623 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2624 which do not have a CAS instruction.
2626 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2628 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2629 * configure.in: Call it.
2630 * config/linker-map.gnu: New file, initial incomplete revision.
2631 * src/Makefile.am: Optionally pass version script to the linker.
2632 * aclocal.m4: Regenerate.
2633 * configure: Regenerate.
2634 * src/Makefile.in: Regenerate.
2636 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
2638 * src/localename.cc: Remove stdexcept include.
2639 * src/locale-inst.cc: Same.
2640 * src/locale.cc: Same.
2641 * src/functexcept.cc: Remove string includes.
2642 * include/std/std_bitset.h: Remove stdexcept include.
2643 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2644 * testsuite/23_containers/bitset_ctor.cc: Same.
2646 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
2648 * include/bits/stl_algo (__stl_threshold): Declare external.
2649 (__stl_chunk_size): Same.
2650 * include/bits/stl_bvector.h (__WORD_BIT): Same.
2651 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2652 (_S_rb_tree_black): Same.
2653 * src/stl-inst.cc (__stl_threshold): Define.
2654 (__stl_chunk_size): Same.
2656 (_S_rb_tree_red): Same.
2657 (_S_rb_tree_black): Same.
2659 * config/io/basic_file_libio.h (__basic_file): Add declarations.
2660 * include/bits/basic_file.h: Remove.
2661 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2662 Declare generic types, specialization.
2663 * config/io/basic_file_stdio.cc: Definitions.
2664 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2665 Declare generic types.
2666 * include/Makefile.am (bits_headers): Remove basic_file.h.
2667 (extra_target_headers): Change basic_file_model.h to basic_file.h.
2668 (stamp-target): Same.
2670 * include/bits/stl_alloc.h: Tweaks.
2671 * include/bits/localefwd.h: Same.
2673 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
2675 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2676 * testsuite/22_locale/collate_members_char.cc (test03): New test.
2677 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2679 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
2681 * include/bits/stl_algo.h (transform (both signatures), generate_n):
2682 Use __typeof__ in concept checks.
2684 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
2686 * include/bits/stl_algo.h (__median, for_each, find, find_if,
2687 adjacent_find, count, count_if, search, search_n, swap_ranges,
2688 transform, replace, replace_if, replace_copy, replace_copy_if,
2689 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2690 unique, unique_copy, reverse, reverse_copy): Doxygenate.
2692 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
2694 * include/bits/locale_facets.h
2695 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2696 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2697 (__timepunct<_CharT>::_M_put_helper): Same.
2698 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2700 * include/bits/fstream.tcc (filebuf::underflow): Remove
2701 __codecvt_type typedef.
2702 (filebuf::_M_convert_to_external): Same.
2704 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
2706 * docs/doxygen/TODO: Update.
2707 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
2708 * docs/doxygen/mainpage.html: Add TODO list link.
2709 * docs/doxygen/user.cfg.in: Add @doctodo hook.
2710 * docs/doxygen/tables.html: New file, emoty structure only.
2712 * include/bits/stl_iterator.h: Doxygenate just about everything.
2713 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
2714 * include/bits/stl_iterator_base_types.h: Add notes.
2716 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
2718 * include/bits/stl_map.h: Tweak doxygen markup.
2719 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
2720 * include/bits/stl_vector.h: Likewise.
2722 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2726 * include/std/std_fstream.h (filebuf::__file_type): Change to
2728 (filebuf::_M_convert_to_external): Declare.
2729 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2730 codecvt bits for wide streams.
2731 (filebuf::_M_really_overflow): Use it.
2732 (filebuf::underflow): Use codecvt.
2733 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2734 (codecvt<__enc_traits>::do_out): Deal with partial.
2735 (codecvt<__enc_traits>::do_encoding): Return something useful.
2736 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2738 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2739 Change expected encoding output.
2741 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2744 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2745 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
2747 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2748 (basic_ios::widen): Same.
2750 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
2752 * testsuite/22_locale/money_get_members_char.cc:
2753 Add comment, tidy up.
2754 (test01): more "en_HK" tests (without showbase).
2755 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2757 2002-02-06 Loren Rittle <ljrittle@acm.org>
2759 * config/locale/c_locale_generic.cc: Do not trust
2760 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2763 2002-02-06 Loren Rittle <ljrittle@acm.org>
2765 * acinclude.m4: Add C++ linkage check for strtof.
2766 * aclocal.m4: Rebuilt.
2767 * config.h.in: Rebuilt.
2768 * configure: Rebuilt.
2769 * config/locale/c_locale_generic.cc: Conditionally include
2770 <ieeefp.h>. Improve handling and error checking of float
2771 and long double input for non-C99 configurations.
2773 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
2775 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2776 In case money_base::symbol deal properly with multi-char sign
2777 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2778 * testsuite/22_locale/money_get_members_char.cc: Add test07.
2779 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2781 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
2783 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2784 First construct a tentative returned string, then, only if the
2785 parsing succeeds, copy it into the string passed by reference.
2786 * testsuite/22_locale/money_get_members_char.cc: Add test06.
2787 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2789 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
2791 * docs/doxygen/TODO: Impl-defined behavior now documented...
2792 * docs/html/17_intro/howto.html: ...here.
2793 * docs/doxygen/mainpage.doxy: Remove, rename...
2794 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
2795 * docs/doxygen/style.css: Add small text.
2796 * docs/doxygen/run_doxygen: Adjust for new mainpage.
2797 * docs/doxygen/user.cfg.in: Likewise.
2799 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
2801 * include/bits/stl_map.h: Initial doxygen markup.
2802 * include/std/std_fstream.h: Initial doxygen markup.
2804 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
2807 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2808 Deal correctly with !(__io.flags() & ios_base::showbase)
2809 for case money_base::symbol.
2810 * testsuite/22_locale/money_get_members_char.cc: Add test05.
2811 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2813 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
2815 * testsuite/22_locale/operators.cc
2816 (gnu_collate::do_compare()): Add return statement to
2817 suppress "no return statement" warning.
2819 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
2821 * testsuite/27_io/ostream_manip.cc: Enable test02.
2823 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
2825 * docs/html/documentation.html: Update for 3.0.96.
2826 * docs/html/faq/index.html: Update for 3.0.96.
2827 * docs/html/faq/index.txt: Regenerated.
2828 * docs/doxygen/TODO: Update notes.
2829 * docs/html/17_intro/howto.html: Initial impl-specific listing.
2831 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
2833 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2834 Initialize all data members in copy ctor. Make ctors explicit.
2835 (__enc_traits::__enc_traits()): Default ctor does nothing.
2836 (__enc_traits::_M_init): Guard against multiple iconv_opens.
2837 * include/std/std_sstream.h (basic_stringbuf): Make data members
2839 * include/std/std_fstream.h (basic_filebuf): Same.
2840 * include/std/std_streambuf.h: Tweak.
2841 * include/bits/streambuf.tcc: Same.
2842 * include/bits/sstream.tcc: Same.
2843 * include/bits/fstream.tcc: Same.
2845 2002-01-31 Loren Rittle <ljrittle@acm.org>
2847 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2848 allow NULL argument to be passed to setenv().
2849 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2850 * testsuite/22_locale/collate_members_char.cc: Likewise.
2851 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2852 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2853 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2854 * testsuite/22_locale/messages_members_char.cc: Likewise.
2855 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2856 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2857 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2858 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2859 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2860 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2861 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2862 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2863 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2864 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2865 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2866 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2867 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2868 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2869 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2870 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2872 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2874 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2876 * ChangeLog-2001: Fix spelling errors...
2877 * docs/html/17_intro/RELEASE-NOTES: Update.
2878 * docs/html/17_intro/TODO: Update.
2879 * README (file): Update.
2881 2002-01-30 Loren Rittle <ljrittle@acm.org>
2883 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2884 instead of non-zero to aid portability.
2886 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2888 * docs/html/22_locale/messages.html: Fix example code.
2890 2002-01-30 Richard Henderson <rth@redhat.com>
2892 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2893 out from test03 and templatize.
2896 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2898 * config/locale/numpunct_members_gnu.cc
2899 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2900 Fix initialization of _M_grouping for locales which have
2901 _M_thousands_sep == '\0'(L'\0', respectively).
2902 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2904 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2906 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2907 Better fix for 32/64 bit architectures, avoiding the
2908 implicit assumption that CHAR_BIT == 8.
2910 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2912 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2913 * Makefile.in: Regenerate.
2915 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2916 * docs/doxygen/Intro.3: Update.
2917 * docs/doxygen/TODO: Update.
2918 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2919 * docs/doxygen/mainpage.doxy: Update.
2920 * docs/doxygen/user.cfg.in: Update for header rename. Also
2921 regenerate comments and variables with 1.2.12.
2922 * docs/doxygen/maint.cfg.in: Remove file.
2924 * include/bits/stl_relops.h: Doxygenate.
2925 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2927 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2928 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2929 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2930 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2931 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2932 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2933 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2934 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2935 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2936 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2937 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2938 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2939 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2940 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2941 include/std/std_algorithm.h, include/std/std_bitset.h,
2942 include/std/std_complex.h, include/std/std_deque.h,
2943 include/std/std_fstream.h, include/std/std_functional.h,
2944 include/std/std_iomanip.h, include/std/std_ios.h,
2945 include/std/std_iosfwd.h, include/std/std_iostream.h,
2946 include/std/std_istream.h, include/std/std_iterator.h,
2947 include/std/std_limits.h, include/std/std_list.h,
2948 include/std/std_locale.h, include/std/std_map.h,
2949 include/std/std_memory.h, include/std/std_numeric.h,
2950 include/std/std_ostream.h, include/std/std_queue.h,
2951 include/std/std_set.h, include/std/std_sstream.h,
2952 include/std/std_stack.h, include/std/std_stdexcept.h,
2953 include/std/std_streambuf.h, include/std/std_string.h,
2954 include/std/std_utility.h, include/std/std_valarray.h,
2955 include/std/std_vector.h: Add/correct @file doxygen hook.
2957 * include/ext/memory: Doxygenate most of rest of file.
2958 * libsupc++/exception: Doxygen output formatting.
2959 * libsupc++/new: Say which header it is.
2961 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
2962 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
2963 * docs/html/23_containers/howto.html: Describe O(n) list::size().
2964 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
2966 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2967 Charles Leggett <CGLeggett@lbl.gov>
2969 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2971 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2973 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2974 Fix to deal correctly with both 32 bit and 64 bit architectures
2976 2002-01-25 Loren Rittle <ljrittle@acm.org>
2978 * testsuite/thread/pthread1.cc: Use one condition variable
2979 per predicate instead of tricky use of one condition variable.
2981 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
2983 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2985 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2986 * testsuite/27_io/filebuf.cc: Compile only.
2987 * testsuite/27_io/filebuf_members.cc: Move tests to here.
2988 * testsuite/27_io/filebuf_virtuals.cc: And here.
2989 Revert sungetc, sync changes for expected values.
2990 * testsuite/27_io/filebuf-*: Move to...
2991 * testsuite/27_io/filebuf_virtuals-*: ...here.
2992 * testsuite/27_io/istream.cc: Compile only, activate.
2993 * testsuite/27_io/ostream.cc: Same.
2994 * testsuite/27_io/iostream.cc: New.
2995 * testsuite/27_io/iostream_members.cc: New.
2997 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
2999 * testsuite/thread/pthread1.cc: Enable on cygwin.
3000 * testsuite/thread/pthread2.cc: Likewise.
3001 * testsuite/thread/pthread3.cc: Likewise.
3002 * testsuite/thread/pthread4.cc: Likewise.
3003 * testsuite/thread/pthread5.cc: Likewise.
3004 * testsuite/thread/pthread6.cc: Likewise.
3006 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3008 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3010 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3012 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3014 (basic_ios::fill(char_type)): Use fill().
3015 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3016 (basic_ios::narrow): Same.
3017 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3018 if they are invalid.
3019 (basic_ios::init): Comment.
3020 * testsuite/27_io/ios_init.cc (test02): New.
3022 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3024 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3025 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3026 * include/ext/memory: Do not include stl_tempbuf.h.
3027 (temporary_buffer): Add doxygen hook.
3028 (__get_temporary_buffer, get_temporary_buffer,
3029 return_temporary_buffer): Move back to std:: header...
3030 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3031 * include/ext/rope: Do not include stl_tempbuf.h.
3032 * include/ext/stl_hashtable.h: Likewise.
3033 * include/std/std_algorithm.h: Likewise.
3034 * testsuite/20_util/temporary_buffer.cc: New file.
3036 2002-01-24 andrew@andypo.net
3037 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3040 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3041 * include/bits/localefwd.h: Likewise.
3042 Also use for std::locale::id::_S_highwater.
3043 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3044 * src/locale.cc: Support new usage of _Atomic_word.
3045 (std::locale::classic): Guard entire function against reentry.
3046 * src/localename.cc: Support new usage of _Atomic_word.
3048 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3050 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3051 _GLIBCPP_HAVE_SETENV.
3052 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3053 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3054 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3055 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3056 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3057 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3058 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3059 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3060 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3061 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3062 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3063 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3064 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3065 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3066 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3067 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3068 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3069 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3070 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3071 * aclocal.m4: Regenerate.
3072 * configure: Regenerate.
3073 * config.h.in: Regenerate.
3075 2002-01-23 Loren Rittle <ljrittle@acm.org>
3077 * testsuite/thread/pthread1.cc: New test.
3078 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3079 * testsuite/thread/pthread3.cc: Likewise.
3080 * testsuite/thread/pthread4.cc: New test adapted from
3081 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3082 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3083 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3085 2002-01-23 Richard Henderson <rth@redhat.com>
3088 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3089 CAS on the cpu variants that support it. Add versions that use
3090 TAS and that disable interrupts.
3091 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3093 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3095 * include/bits/locale_facets.tcc: Remove old comments.
3097 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3099 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3101 (__convert_from_v): Same.
3103 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3105 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3107 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3108 __max_digits checks, adjust arguments.
3109 (num_get::do_get(*)): Changeup.
3111 2002-01-23 Loren Rittle <ljrittle@acm.org>
3113 * config/locale/c_locale_generic.cc: Fix typename usage.
3115 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3117 * config/locale/c_locale_generic.cc: Fix.
3119 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3121 * docs/html/22_locale/messages.html: Remove angle brackets.
3122 * docs/html/17_intro/TODO: Add.
3124 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3126 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3127 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3128 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3129 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3131 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3133 Audit for LANG independence.
3134 * include/bits/localefwd.h: Tweaks.
3135 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3137 (time_get::do_get_year): Same.
3138 (__convert_from_v): Add.
3139 (num_put::_M_convert_float): Use.
3140 (num_put::_M_convert_int): Same.
3141 (money_put::do_put): Same.
3143 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3144 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3145 * config/locale/time_members_generic.cc:
3146 * config/locale/messages_members_gnu.cc: Same.
3147 * config/locale/messages_members_gnu.h: Same.
3149 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3150 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3151 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3152 * testsuite/22_locale/collate_members_char.cc (test02): New.
3153 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3154 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3155 * testsuite/22_locale/messages_members_char.cc (test02): New.
3156 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3157 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3158 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3159 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3160 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3161 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3162 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3163 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3164 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3165 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3166 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3167 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3168 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3169 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3170 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3171 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3173 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3175 * testsuite/22_locale/time_get_members_char.cc: Same.
3177 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3180 * include/bits/localefwd.h: Tweak comments.
3181 * include/bits/locale_facets.h (__convert_to_v): Add.
3182 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3183 (num_get::do_get(float)): Same.
3184 (num_get::do_get(long double)): Same.
3185 (num_get::do_get(bool)): Same.
3186 (num_get::do_get(long)): Same.
3187 (num_get::do_get(long long)): Same.
3188 (num_get::do_get(unsigned int)): Same.
3189 (num_get::do_get(unsigned short)): Same.
3190 (num_get::do_get(unsigned long)): Same.
3191 (num_get::do_get(unsigned long long)): Same.
3192 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3193 * config/locale/c_locale_generic.cc: Same.
3195 2002-01-22 Loren Rittle <ljrittle@acm.org>
3197 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3198 (std_builddir): Likewise.
3199 (std_headers_rename): Fix cut-n-paste typo.
3200 (install-data-local): Concat path per element instead of once to
3201 first element of list.
3202 * include/Makefile.in: Rebuilt.
3204 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3206 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3207 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3208 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3210 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3212 * include/bits/locale_facets.h (ctype<char>::classic_table):
3214 (ctype<char>::_S_ctable): Remove.
3215 * config/os/gnu-linux/bits/ctype_noninline.h
3216 (ctype<char>::_S_table): Remove definition.
3217 (ctype<char>::classic_table): Define.
3218 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3219 * config/os/aix/bits/ctype_noninline.h: Same.
3220 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3221 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3222 * config/os/djgpp/bits/ctype_noninline.h: Same.
3223 * config/os/generic/bits/ctype_noninline.h: Same.
3224 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3225 * config/os/hpux/bits/ctype_noninline.h: Same.
3226 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3227 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3228 * config/os/mingw32/bits/ctype_noninline.h: Same.
3229 * config/os/newlib/bits/ctype_noninline.h: Same.
3230 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3231 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3232 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3234 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3236 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3237 of _pctype. Use to define _S_ctable. Add definition for alternate
3238 ctor. Initialise _M_ctable to _S_ctable in ctors.
3239 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3240 rather than ::toupper, ::tolower.
3242 2002-01-18 Loren Rittle <ljrittle@acm.org>
3244 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3245 Add specialization for FreeBSD systems only to avoid losing test
3246 only due to extra precision unmentioned in system headers.
3248 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3250 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3252 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3254 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3255 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3257 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3259 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3261 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3263 * configure.target: Define OPT_LDFLAGS for AIX case.
3265 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3267 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3268 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3270 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3272 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3274 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3276 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3277 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3278 * aclocal.m4: Regenerate.
3279 * configure: Regenerate.
3281 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3283 * include/Makefile.am (c_base_headers_rename): New.
3284 (c_base_headers_extra): New.
3285 (stamp-c_base): Modify.
3286 (install-data-local): Use both.
3287 * include/Makefile.in: Regenerate.
3288 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3289 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3290 cstdio ctime cwctype]: Move to..
3291 * include/c/std_*: Here.
3292 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3293 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3294 cstdio ctime cwctype]: Move to..
3295 * include/c_std/std_*: Here.
3297 Alexandre Oliva <aoliva@redhat.com>
3298 * include/Makefile.am (.PRECIOUS): Add rule.
3299 * include/Makefile.in: Regenerate.
3301 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3302 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3304 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3305 Deuglify, should be current.
3306 (back_insert_iterator::_M_container): Deuglify, should be container.
3307 (front_insert_iterator::_M_container): Same.
3308 (insert_iterator::_M_container): Same.
3309 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3310 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3311 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3312 * testsuite/24_iterators/insert_iterator.cc: Same.
3314 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3316 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3318 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3319 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3320 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3321 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3322 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3323 * config/os/newlib/bits/ctype_noninline.h: Same.
3324 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3325 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3326 * config/os/hpux/bits/ctype_noninline.h: Same.
3327 * config/os/djgpp/bits/ctype_noninline.h: Same.
3328 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3329 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3330 * config/os/aix/bits/ctype_noninline.h: Same.
3332 Testcase by Dietmar Kühl via Peter Schmid
3333 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3336 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3338 * libmath/signbitl.c: Copyright years as list, not range.
3339 * libmath/Makefile.am: Same.
3340 * libmath/Makefie.in: Regenerate.
3341 * libmath/signbit.c: Same.
3342 * libmath/nan.c: Same.
3343 * libmath/copysignf.c: Same.
3344 * libmath/signbitf.c: Same.
3345 * testsuite/22_locale/money_get_members_char.cc: Same.
3346 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3347 * testsuite/22_locale/money_put_members_char.cc: Same.
3348 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3349 * testsuite/22_locale/time_get_members_char.cc: Same.
3350 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3351 * testsuite/22_locale/time_put_members_char.cc: Same.
3352 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3353 * testsuite/21_strings/nonmember.cc: Same.
3354 * testsuite/21_strings/compare.cc: Same.
3355 * testsuite/27_io/stringstream.cc: Same.
3356 * testsuite/27_io/stringbuf.cc: Same.
3357 * testsuite/27_io/filebuf.cc: Same.
3358 * testsuite/27_io/ios_manip_basefield.cc: Same.
3359 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3360 * include/bits/cpp_type_traits.h: Same.
3361 * include/bits/generic_shadow.h: Same.
3362 * include/bits/gslice_array.h: Same.
3363 * include/bits/gslice.h: Same.
3364 * include/bits/indirect_array.h: Same.
3365 * include/bits/slice_array.h: Same.
3366 * include/bits/sstream.tcc: Same.
3367 * include/bits/streambuf_iterator.h: Same.
3368 * include/bits/valarray_array.tcc: Same.
3369 * include/bits/valarray_meta.h: Same.
3370 * include/bits/valarray_array.h: Same.
3371 * config/os/mingw32/bits/ctype_noninline.h: Same.
3372 * config/os/mingw32/bits/ctype_base.h: Same.
3373 * config/os/hpux/bits/ctype_noninline.h: Same.
3374 * config/os/hpux/bits/ctype_base.h: Same.
3375 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3376 * config/os/gnu-linux/bits/ctype_base.h: Same.
3377 * config/os/generic/bits/ctype_noninline.h: Same.
3378 * config/os/generic/bits/ctype_base.h: Same.
3380 * libsupc++/tinfo.h: Tweaks.
3382 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3384 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3385 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3386 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3388 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3390 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3391 (num_put::do_put(void*)): Fix.
3392 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3393 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3394 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3395 long double, void, bool types.
3396 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3398 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3399 Alexandre Oliva <aoliva@redhat.com>
3401 * libmath/Makefile.am (LINK): Add --tag CC.
3402 * libmath/Makefile.in: Regenerate.
3404 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3406 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3407 of character to attribute mapping table.
3409 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3411 * testsuite/26_numerics/c99_classification_macros_c.cc
3412 Remove dg-error and dg-excess-errors comments.
3414 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3416 * include/bits/locale_facets.tcc (time_put::put): Correct output
3418 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3419 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3420 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3421 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3423 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3425 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3427 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3428 Nathan Myers <ncm@cantrip.org>
3430 * include/bits/basic_string.h
3431 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3432 temporaries (i.e., call _M_replace_safe) when possible.
3433 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3434 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3435 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3436 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3437 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3438 * include/bits/basic_string.tcc
3439 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3440 replace(__pos, __n1, __s, __n2).
3441 * testsuite/21_strings/replace.cc (test03): New testcases.
3443 * include/bits/basic_string.h (insert(__pos, __s, __n)):
3444 Adjust comparison wrt overflow.
3446 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3448 * include/Makefile.am (std_headers_rename): New variable.
3449 (install-data-local): Use it.
3450 * include/Makefile.in: Regenerate.
3452 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3454 * include/bits/locale_facets.tcc (money_put::do_put(string):
3455 Correct output iterator value.
3456 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3457 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3459 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3461 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
3464 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3466 * include/Makefile.am (std_headers): Update list with new names.
3467 (stamp-std): Link to standardized name.
3468 * include/Makefile.in: Regenerate.
3470 * include/std/algorithm, include/std/bitset, include/std/complex,
3471 include/std/deque, include/std/fstream, include/std/functional,
3472 include/std/iomanip, include/std/ios, include/std/iosfwd,
3473 include/std/iostream, include/std/istream, include/std/iterator,
3474 include/std/limits, include/std/list, include/std/locale,
3475 include/std/map, include/std/memory, include/std/numeric,
3476 include/std/ostream, include/std/queue, include/std/set,
3477 include/std/sstream, include/std/stack, include/std/stdexcept,
3478 include/std/streambuf, include/std/string, include/std/utility,
3479 include/std/valarray, include/std/vector: Rename to...
3481 * include/std/std_algorithm.h, include/std/std_bitset.h,
3482 include/std/std_complex.h, include/std/std_deque.h,
3483 include/std/std_fstream.h, include/std/std_functional.h,
3484 include/std/std_iomanip.h, include/std/std_ios.h,
3485 include/std/std_iosfwd.h, include/std/std_iostream.h,
3486 include/std/std_istream.h, include/std/std_iterator.h,
3487 include/std/std_limits.h, include/std/std_list.h,
3488 include/std/std_locale.h, include/std/std_map.h,
3489 include/std/std_memory.h, include/std/std_numeric.h,
3490 include/std/std_ostream.h, include/std/std_queue.h,
3491 include/std/std_set.h, include/std/std_sstream.h,
3492 include/std/std_stack.h, include/std/std_stdexcept.h,
3493 include/std/std_streambuf.h, include/std/std_string.h,
3494 include/std/std_utility.h, include/std/std_valarray.h,
3495 include/std/std_vector.h: ...this.
3497 2002-01-11 Loren Rittle <ljrittle@acm.org>
3499 * include/Makefile.am (extra_target_headers): New list of all
3500 target files built with ad hoc naming rules.
3501 (stamp-*): Handle LN_S failure in manner portable across make
3503 (install-data-local): Install header files from human-maintained
3504 file lists and directory components instead of non-robust find.
3505 * include/Makefile.in: Rebuilt.
3507 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
3509 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3510 Check for zero-length negative sign before adding it to output
3512 (money_get::do_get(long double)): Return beg.
3513 * testsuite/22_locale/money_get_members_char.cc (test02): Add
3515 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3517 2002-01-10 David Seymour <seymour_dj@yahoo.com>
3520 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3521 for _M_extract_float and _M_extract_int
3522 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3523 (num_get<>::_M_extract_int): Likewise, all callers changed
3524 * testsuite/22_locale/num_get_members_char.cc: Testcase
3526 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3528 * libsupc++/exception (bad_exception): Add comment.
3529 * libsupc++/new (bad_alloc): Same.
3530 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3532 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3534 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3535 that the destructors should be removed from the descriptions
3536 in the standard: writing them explicitly allows the vtable
3537 heuristic to work. For additional information see:
3538 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3539 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3540 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3541 * libsupc++/exception (bad_exception::~bad_exception()):
3542 Reintroduce declaration.
3543 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3544 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3545 (bad_typeid::~bad_typeid()): Same.
3546 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3547 Reintroduce definition.
3548 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3549 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3550 (bad_typeid::~bad_typeid()): Same.
3552 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
3554 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3555 * include/Makefile.in: Regenerate.
3557 2002-01-09 Bo Thorsen <bo@suse.co.uk>
3559 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3562 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
3566 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3567 return value of _M_file->sync().
3568 (filebuf::showmanyc): Check for is_open.
3569 * include/std/fstream (filebuf::sync): Tweak.
3570 * testsuite/27_io/filebuf.cc: Tweak.
3572 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
3573 Brad Garcia <garsh@attbi.com>
3575 * testsuite/27_io/filebuf_members.cc: Add test.
3577 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
3578 Craig Rodrigues <rodrigc@mediaone.net>
3581 * po/Makefile.am (mkinstalldirs): Add.
3582 * po/Makefile.in: Regenerate.
3584 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
3586 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3587 testsuite/lib/prune.exp: Delete lines ":In function ..." from
3589 * testsuite/23_containers/map_operators.cc: Remove
3590 dg-excess-errors comment.
3591 * testsuite/23_containers/set_operators.cc: Likewise.
3593 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
3595 * include/bits/stl_function.h: Remove two lines of comments;
3596 adjust copyright years.
3598 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3600 * include/Makefile.am (std_headers): Remove cXXX from list.
3601 (c_base_srcdir): No bits subdirectory.
3602 (c_base_builddir): Same.
3603 (c_base_headers): Adjust names, add ciso646.
3604 (bits_headers): Remove std_xxx.h headers.
3605 * include/Makefile.in: Regenerate.
3607 * include/ext/iterator: Adjust includes.
3608 * include/ext/ropeimpl.h: Same.
3609 * include/ext/stl_hash_fun.h: Same.
3610 * include/ext/algorithm: Same.
3612 * include/backward/bvector.h: Adjust includes.
3613 * include/backward/vector.h: Same.
3614 * include/backward/strstream: Same.
3615 * include/backward/streambuf.h: Same.
3616 * include/backward/stack.h: Same.
3617 * include/backward/set.h: Same.
3618 * include/backward/queue.h: Same.
3619 * include/backward/multiset.h: Same.
3620 * include/backward/multimap.h: Same.
3621 * include/backward/map.h: Same.
3622 * include/backward/list.h: Same.
3623 * include/backward/iterator.h: Same.
3624 * include/backward/iostream.h: Same.
3625 * include/backward/iomanip.h: Same.
3626 * include/backward/fstream.h: Same.
3627 * include/backward/deque.h: Same.
3628 * include/backward/complex.h: Same.
3630 * include/bits/std_algorithm.h: Move to...
3631 * include/std/algorithm: ...here.
3632 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3633 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3634 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3635 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3636 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3637 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3638 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3641 * include/c_std/bits/std_cassert.h: Move to...
3642 * include/c_std/cassert: Here.
3643 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3644 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3645 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3646 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3647 std_cwctype.h: Same.
3648 * include/c_std/cmath: Adjust cmath.tcc include.
3649 * include/c_std/cstdlib: Adjust includes.
3650 * include/c_std/cwchar: Same.
3651 * include/c_std/ctime: Same.
3652 * include/c_std/cstring: Same.
3653 * include/c_std/cstdio: Same.
3654 * include/c_std/bits: Remove directory.
3656 * include/c/bits/std_cassert.h: Move to...
3657 * include/c/cassert: Here.
3658 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3659 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3660 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3661 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3662 std_cwctype.h: Same.
3663 * include/c/bits: Remove directory.
3665 * include/std/cwctype: Remove.
3666 * include/std/cwchar: Remove.
3667 * include/std/ctime: Remove.
3668 * include/std/cstring: Remove.
3669 * include/std/cstdlib: Remove.
3670 * include/std/cstdio: Remove.
3671 * include/std/cstddef: Remove.
3672 * include/std/cstdarg: Remove.
3673 * include/std/csignal: Remove.
3674 * include/std/csetjmp: Remove.
3675 * include/std/cmath: Remove.
3676 * include/std/clocale: Remove.
3677 * include/std/climits: Remove.
3678 * include/std/ciso646: Remove.
3679 * include/std/cfloat: Remove.
3680 * include/std/cerrno: Remove.
3681 * include/std/cctype: Remove.
3682 * include/std/cassert: Remove.
3684 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3685 files and subsituting <xxx>.
3686 * include/bits/valarray_array.h: Same.
3687 * include/bits/stl_uninitialized.h: Same.
3688 * include/bits/stl_alloc.h: Same.
3689 * include/bits/stl_algobase.h: Same.
3690 * include/bits/sstream.tcc: Same.
3691 * include/bits/pthread_allocimpl.h: Same.
3692 * include/bits/ostream.tcc: Same.
3693 * include/bits/localefwd.h: Same.
3694 * include/bits/locale_facets.tcc: Same.
3695 * include/bits/locale_facets.h: Same.
3696 * include/bits/istream.tcc: Same.
3697 * include/bits/char_traits.h: Same.
3698 * include/bits/boost_concept_check.h: Same.
3699 * include/bits/basic_file.h: Same.
3700 * include/std/bitset: Same.
3701 * include/std/complex: Same.
3702 * include/std/fstream: Same.
3703 * include/std/functional: Same.
3704 * include/std/ios: Same.
3705 * include/std/iostream: Same.
3706 * include/std/ostream: Same.
3707 * include/std/sstream: Same.
3708 * include/std/streambuf: Same.
3709 * include/std/string: Same.
3710 * include/std/iterator: Same.
3711 * include/std/valarray: Same.
3713 * src/ios.cc: Adjust includes.
3714 * src/valarray-inst.cc: Same.
3715 * src/string-inst.cc: Same.
3716 * src/stl-inst.cc: Same.
3717 * src/stdexcept.cc: Same.
3718 * src/misc-inst.cc: Same.
3719 * src/localename.cc: Same.
3720 * src/locale-inst.cc: Same.
3721 * src/locale.cc: Same.
3722 * src/limits.cc: Same.
3723 * src/concept-inst.cc: Same.
3724 * src/complex_io.cc: Same.
3725 * src/codecvt.cc: Same.
3726 * src/bitset.cc: Same.
3727 * src/cmath.cc: Same.
3729 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3731 * include/bits/stl_tree.h (rb_tree): Move to...
3732 * include/ext/rb_tree: ...here, new file.
3733 * include/Makefile.am (ext_headers): Add new file.
3734 * include/Makefile.in: Regenerate.
3735 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3736 return_temporary_buffer, struct temporary_buffer): Move to...
3737 * include/ext/memory: ...here.
3738 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
3739 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
3740 * include/backward/tree.h: Include <ext/rb_tree), tweak.
3742 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
3744 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
3745 * include/ext/numeric: ...here, new file.
3746 * include/bits/stl_function.h (identity_element, unary_compose,
3747 binary_compose, compose1, compose2, identity, select1st,
3748 select2nd, project1st + helper, project2nd + helper,
3749 constant_void_fun + helper, constant_unary_fun + helper,
3750 costant_binary_fun + helper, constant0, constant1, constant2,
3751 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
3752 * include/ext/functional: ...here, new file.
3753 * include/Makefile.am (ext_headers): Add new files.
3754 * include/Makefile.in: Regenerate.
3755 * testsuite/ext/headers.cc: Include <ext/numeric> and
3757 * include/backward/algo.h: Include <ext/numeric>, tweak.
3758 * include/backward/function.h: Include <ext/functional>, tweak.
3759 * include/ext/ropeimpl.h: Include <ext/numeric>.
3761 2002-01-03 Jeffrey A Law <law@redhat.com>
3763 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3764 __strtoull declarations with __extension__.
3766 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
3768 * testsuite/lib/prune.exp: Correct regular expression for
3771 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3773 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3774 Change concept checks, as with lower_bound and PR 2054.
3775 * testsuite/ext/concept_checks.cc: Expand test to include those.
3777 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3779 * include/bits/boost_concept_check.h: Import some changes from
3780 upsteam (Boost) version.
3782 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
3784 * include/bits/stl_algobase.h (copy_n + helpers,
3785 lexicographical_compare_3way + helpers): Move to...
3786 * include/ext/algorithm: ...here.
3787 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3788 helpers): Move to...
3789 * include/ext/memory: ...here, new file.
3790 * include/Makefile.am (ext_headers): Add new file.
3791 * include/Makefile.in: Regenerate.
3792 * testsuite/ext/headers.cc: Include <ext/memory>.
3793 * include/backward/algobase.h: Include <ext/memory> and
3794 <ext/algorithm>, tweak.
3795 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
3796 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
3798 2002-01-01 Roger Sayle <roger@eyesopen.com>
3800 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3801 equivalent ___builtin__ versions.
3803 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3804 are available in libstdc++ as the necessary stub implementations
3805 are provided by libmath/stubs.c.
3807 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
3809 * configure.in: Add support for NetBSD cross compiles.
3810 * configure: Regenerate.