1 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
2 Phil Edwards <pme@gcc.gnu.org>
3 Ulrich Drepper <drepper@redhat.com>
5 * Makefile.am (check-abi): New rule.
6 * Makefile.in: Regenerate.
7 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
8 * aclocal.m4: Regenerate.
9 * configure: Regenerate.
10 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
11 (abi_check_SOURCES): Add.
12 * testsuite/Makefile.in: Regenerate.
13 * testsuite/abi_check.cc: New file.
15 * config/abi/i686-pc-linux-gnu: Add.
16 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
18 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
20 * configure.in (libtool_VERSION): Update to 5:1:0.
21 * configure: Regenerate.
23 2002-08-19 Jonathan Wakely <jw@kayari.org>
25 * docs/html/configopts.html, docs/html/documentation.html,
26 docs/html/install.html, docs/html/22_locale/codecvt.html,
27 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
28 docs/html/22_locale/locale.html,
29 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
31 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
33 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
34 _M_buf_size_opt to zero when unbuffering.
35 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
36 Consistency checks for _M_buf_size_opt.
38 Revert PR libstdc++/7445
39 * src/locale.cc (locale::classic): Revert.
41 * docs/html/17_intro/TODO: Add.
43 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
45 * docs/html/documentation.html: Update doxygen links for 3.2.
47 2002-08-15 Steve Ellcey <sje@cup.hp.com>
49 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
50 type from void* to _Unwind_Ptr.
51 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
52 Do not cast landing_pad or base_of_encoded_value to (void *).
53 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
54 Accept _URC_NO_REASON as a valid reason code.
56 2002-08-14 Jonathan Wakely <jw@kayari.org>
58 * docs/html/22_locale/messages.html: Use HTML entities for
61 2002-08-13 Jonathan Wakely <jw@kayari.org>
62 Phil Edwards <pme@gcc.gnu.org>
64 * docs/html/documentation.html: Use HTML entities for punctuation.
66 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
68 * include/bits/deque.tcc, include/bits/list.tcc,
69 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
70 include/bits/stl_list.h, include/bits/stl_map.h,
71 include/bits/stl_multimap.h, include/bits/stl_queue.h,
72 include/bits/stl_stack.h, include/bits/stl_vector.h,
73 include/bits/vector.tcc: Re-indent contents of namespace std,
74 re-wrap comment lines as necessary.
76 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
77 Benjamin Kosnik <bkoz@redhat.com>
79 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
81 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
83 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
85 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
86 * libsupc++/Makefile.in: Regenerate.
88 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
91 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
92 Instantiate with new function objects.
93 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
95 * include/bits/gslice_array.h: Likewise.
96 * include/bits/indirect_array.h: Likewise.
98 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
100 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
101 testsuite/26_numerics/valarray_name_lookup.C
103 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
104 object function surrogates.
105 * include/bits/valarray_meta.h (__shift_left): Fix typo.
106 (_BinFunClos<>): Remove.
107 (_BinFunBase<>): Likewise.
108 (_BinFunBase1<>):Likewise.
109 (_BinFunBase2<>): Likewise.
110 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
111 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
112 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
113 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
114 * include/std/std_valarray.h: Dont #include <functional> anymore.
115 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
116 _Shift_right<>): Remove.
117 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
118 (_DEFINE_BINARY_OPERATOR): Tweak definition.
119 (_DEFINE_LOGICAL_OPERATOR): Remove.
120 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
122 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
124 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
125 (_UnFunClos<>): Same.
126 (_UnBase<>): Reformat. Make first template-parameter non
128 (_UnClos<>): Likewise.
129 (_Expr<>): Reformate. Adjust unary member operator return types.
130 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
131 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
132 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
133 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
134 operator return types. Reformat.
135 (_Bitwise_not): Remove.
136 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
137 * testsuite/26_numerics/valarray_name_lookup.C: New test.
139 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
141 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
142 (scan_is): Use this->is.
143 (scan_not): Likewise.
145 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
147 Revert PR libstdc++/6594
148 * src/strstream.cc (strstreambuf): Revert.
149 (strstreambuf::overflow): Same.
150 (strstreambuf::~strstreambuf): Same.
151 * testsuite/backward/strstream_members.cc (test02): Add.
153 * docs/html/abi.txt: Update. Spell check.
155 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
157 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
158 * testsuite/Makefile.in: Regenerate.
159 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
160 include functexcept.h so that -fno-exceptions will build.
162 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
164 * include/bits/valarray_meta.h (__unary_plus, __negate,
165 __bitwise_not, __plus, __minus, __multiplies, __divides,
166 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
167 __shift_left, __shift_right, __logical_and, __logical_or,
168 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
169 __greater_equal, __greater, __atan2, __pow): New function object
171 (__fun<>): New function traits class.
173 2002-08-01 Rick Danos <rdanos@hotmail.com>
176 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
177 * config/os/newlib/ctype_inline.h (is): Use static_cast.
179 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
181 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
182 * libsupc++/Makefile.in: Regenerate.
184 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
185 Jakub Jelinek <jakub@redhat.com>
187 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
188 GLIBCPP_3.1 to GLIBCPP_3.2.
190 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
191 Mark Mitchell <mark@codesourcery.com>
194 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
196 (__class_type_info): And here.
198 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
202 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
203 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
204 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
205 (__vmi_class_type_info::__base_info): Don't make const, of type
206 __base_class_type_info, as per 2.9.5p6c
207 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
209 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
211 (__pointer_to_member_type_info::__context_class): Change member to
212 __context, as per 2.9.5p9.
213 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
215 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
217 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
219 * libsupc++/tinfo.cc (__do_dyncast): Same.
220 * libsupc++/tinfo.cc (__do_upcast): Same.
222 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
224 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
226 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
228 * docs/html/22_locale/howto.html: Fix.
230 2002-07-31 Alex Kompel <shurik@sequoiap.com>
233 * src/locale.cc (locale::classic): Move locks inside !_S_classic
236 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
238 * docs/html/abi.txt: Update.
240 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
241 Gabriel Dos Reis <gdr@nerim.net>
243 * include/bits/char_traits.h: Remove generic definitions.
244 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
246 * include/bits/istream.tcc (istream::readsome): Don't check
247 against eof, instead use constants.
248 (istream::sync): Same.
249 (istream::sentry::sentry): Use eq_int_type.
250 (istream::get): Same.
251 * include/bits/ostream.tcc: Change __pad to
252 __pad<_CharT, _Traits>::_S_pad.
253 * include/bits/locale_facets.h: Add __pad_traits generic and
254 ostreambuf_iterator specialization.
255 * include/bits/locale_facets.tcc: Change __pad into struct __pad
256 with a _CharT and _Traits template parameter and _S_pad static
258 * src/locale-inst.cc: Update __pad instantiations.
260 * include/std/std_fstream.h: Declare _M_underflow_common
262 * src/fstream.cc: New. Add _M_underflow_common specializations.
263 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
264 (filebuf::_M_underflow_common(bool)): Remove generic version, as
265 sys_ungetc and custom int_types don't get along.
266 * include/std/std_streambuf.h: Add _M_pos.
267 * src/Makefile.am (sources): Add fstream.cc.
268 * src/Makefile.in: Regenerate.
270 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
271 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
272 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
273 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
274 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
275 * testsuite/27_io/filebuf.cc: ...here.
276 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
277 specialization for both.
278 * testsuite/27_io/streambuf.cc: Add instantiation test,
279 testsuite_hooks include.
280 * testsuite/27_io/istream.cc: Same.
281 * testsuite/27_io/ostream.cc: Same.
282 * testsuite/27_io/fstream.cc: Same.
283 * testsuite/27_io/stringstream.cc: Same.
284 * testsuite/27_io/filebuf.cc: Same.
285 * testsuite/27_io/stringbuf.cc: Same.
287 2002-07-29 Alan Modra <amodra@bigpond.net.au>
289 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
290 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
291 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
292 (__test_and_set): Remove.
293 (_STWCX): Define and use.
295 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
297 * libsupc++/new (placement delete): Remove unused parameter names.
299 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
302 * include/std/std_istream.h (basic_iostream): Add typedefs for
303 char_type, int_type, pos_type, off_type, and traits_type.
304 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
305 * testsuite/27_io/istream.cc: Same.
306 * testsuite/27_io/ostream.cc: Same.
307 * testsuite/27_io/filebuf.cc: Same.
308 * testsuite/27_io/stringbuf.cc: Replace content, move to...
309 * testsuite/27_io/stringbuf_members.cc: ...here.
310 * testsuite/27_io/streambuf.cc: Replace content, move to...
311 * testsuite/27_io/streambuf_members.cc: ...here.
312 * testsuite/27_io/stringstream.cc: Replace content, move to...
313 * testsuite/27_io/stringstream_members.cc: ...here.
314 * testsuite/27_io/ios.cc: New file.
315 * testsuite/27_io/fstream.cc: New file.
316 * testsuite/27_io/ifstream.cc: New file.
317 * testsuite/27_io/ofstream.cc: New file.
318 * testsuite/27_io/istringstream.cc: New file.
319 * testsuite/27_io/ostringstream.cc: New file.
321 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
324 * include/bits/istream.tcc (istream::ignore): Don't extract on
326 * testsuite/27_io/istream_unformatted.cc (test10): Add.
328 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
330 * testsuite/27_io/ios_base_type.cc: Move to...
331 * testsuite/27_io/ios_base_types.cc: ...here.
333 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
336 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
337 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
339 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
342 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
343 * include/Makefile.am (backward_headers): Use strstream, not
345 * include/Makefile.in: Regenerate.
346 * include/backward/strstream: Revert.
347 * include/backward/strstream.h: Remove.
348 * src/strstream.cc: Revert.
349 * testsuite/backward/strstream_members.cc: Change include.
351 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
354 * include/bits/ios_base.h (ios_base::streampos): Add.
355 (ios_base::streamoff): Add.
356 * testsuite/27_io/ios_base_type.cc: New.
358 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
361 * libsupc++/new: Add placement delete.
362 * testsuite/18_support/new_delete_placement.cc: New.
364 * docs/html/abi.txt: Fix typos.
366 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
368 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
369 confusing usage of "latest."
370 De-tangle contributor information from introductory notes.
371 Move abi.txt link placement, activate.
373 Move chapter info into old FAQ format.
374 * docs/html/organization.html: Removed, obsoleted by doxygen work.
375 * docs/html/abi.txt: Add notes on testing ABI changes.
377 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
379 * docs/html/abi.txt: New file.
380 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
381 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
382 Import from upstream, R22.
384 * include/bits/char_traits.h, include/bits/stl_iterator.h,
385 include/bits/stl_iterator_base_types.h, libsupc++/exception,
386 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
388 * include/bits/deque.tcc, include/bits/stl_alloc.h,
389 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
390 of deprecated functions until 3.4. (Same timeframe, different text.)
391 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
392 the other sequence classes received.
394 2002-07-18 Brendan Kehoe <brendan@zen.org>
396 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
399 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
402 * include/bits/slice_array.h
403 (slice_array<T>::operator=(const T&)): Constify.
404 * include/bits/gslice_array.h
405 (gslice_array<T>::operator=(const T&)): Likewise.
406 * include/bits/mask_array.h
407 (mask_array<T>::operator=(const T&)): Likewise.
408 * include/bits/indirect_array.h
409 (indirect_array<T>::operator=(const T&): Likewise.
411 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
413 * docs/doxygen/run_doxygen: Remove template parameter names from
414 "Compound List" summary page. Reformat.
415 * docs/html/documentation.html: XHTML fixes.
417 2002-07-16 Andreas Schwab <schwab@suse.de>
419 * libsupc++/new (set_new_handler): Declare to not throw any
421 * libsupc++/new_handler.cc (set_new_handler): Likewise.
423 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
425 * include/Makefile.am (bits_headers): Remove slice.h
426 * include/Makefile.in: Regenerate.
427 * include/bits/slice.h (slice): move to include/bits/slice_array.h
428 * include/bits/slice.h Remove.
429 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
430 * include/bits/slice_array.h: Comply to official coding styles.
431 * testsuite/26_numerics/slice.cc: New test.
433 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
435 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
436 print to match vendor <ctype.h>.
438 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
440 * docs/html/faq/index.html: Fix download links.
441 * docs/html/faq/index.txt: Regenerate.
442 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
444 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
446 * configure.target (target_os switch): Allow for irix6*o32
449 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
451 * include/bits/valarray_meta.h (_UnFunBase): Take a second
452 template parameter. Remove _M_func data member.
453 (_UnFunClos): Take a third template parameter.
454 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
455 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
456 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
458 2002-07-08 Eric Christopher <echristo@redhat.com>
460 * configure.target: Fix comment for mips atomicity. Add
461 mips*-*-linux* target, enable atomic operations there.
462 * config/cpu/mips/atomicity.h: Fix comments, remove
463 #ifndef/#endif. Add push/pop mips2.
465 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
467 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
468 member declarations to avoid compiler warnings and restore 3.1 ABI.
470 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
472 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
475 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
478 * include/bits/stl_deque.h (_Deque_iterator::operator-):
479 Make non-member, as already happens for the comparison
480 operators in accord with DR179 (Ready).
481 * testsuite/23_containers/deque_operators.cc: Add test02.
483 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
484 Jack Reeves <jackw_reeves@hotmail.com>
486 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
487 size_t, from int_type.
488 (basic_streambuf::_M_buf_size_opt): Same.
489 (basic_streambuf::_S_pback_sizex): Same.
490 * include/bits/streambuf.tcc: Same.
491 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
493 (basic_streambuf::uflow): Same.
494 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
496 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
497 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
499 (basic_streambuf::xsputn): Same.
500 (__copy_streambufs): Same.
502 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
504 * include/std/std_memory.h: Fix formatting.
505 * testsuite/20_util/auto_ptr_neg.cc: New.
506 * testsuite/20_util/auto_ptr.cc: Tweaks.
507 * testsuite/23_containers/map_operators.cc (test01): Split into..
508 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
509 * testsuite/23_containers/set_operators.cc: Move to...
510 * testsuite/23_containers/set_operators_neg.cc: ...here.
511 * testsuite/README: Add some more naming rules.
513 2002-07-03 Steev Wilcox <steev@paradigmds.com>
516 * include/ext/stl_hashtable.h: Fix.
517 * testsuite/ext/hash_map.cc: New.
519 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
520 Kenny Simpson <theonetruekenny@yahoo.com>
521 Phil Edwards <pme@gcc.gnu.org>
524 * testsuite/20_util/auto_ptr.cc (test08): New test.
525 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
526 (auto_ptr::operator auto_ptr_ref): Fix typo.
527 General reformatting and doxygenating of the whole file.
529 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
532 * include/c/std_cwchar.h: Fix.
534 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
537 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
538 char* name parameter.
539 * config/locale/gnu/monetary_members.cc: Use it.
540 * config/locale/generic/monetary_members.cc: Same.
541 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
543 * include/backward/strstream.h: Update date.
545 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
548 * include/bits/stl_iterator.h
549 (__normal_iterator::operator-(const __normal_iterator&)):
550 Make non-member, as already happens for the comparison
551 operators in accord with DR179 (Ready).
552 * testsuite/24_iterators/iterator.cc: Add test from the PR.
554 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
557 * acinclude.m4: Simplify determination of gcc_version, and move
558 up to GLIBCPP_CONFIGURE.
559 * configure.in (release_VERSION): Really remove.
560 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
561 * aclocal.m4, configure: Regenerate.
563 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
565 * docs/html/configopts.html, docs/html/install.html: Tweaks.
566 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
567 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
568 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
570 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
572 * include/backward/strstream: Remove namespace std. Transfer to...
573 * include/backward/strstream.h: ...here. Qualify std names.
574 * src/strstream.cc: Remove namespace std.
575 * include/Makefile.am (backward_headers): Remove strstream.h.
576 * include/Makefile.in: Regenerate.
577 * config/linker-map.gnu: Export strstream bits.
579 * src/fstream-inst.cc: Tweak.
580 * src/io-inst.cc: Same.
581 * src/istream-inst.cc: Same.
582 * src/misc-inst.cc: Same.
583 * src/ostream-inst.cc: Same.
584 * src/sstream-inst.cc: Same.
585 * src/valarray-inst.cc: Same.
586 * src/misc-inst.cc: Remove unused instantiations.
588 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
590 * configure.in (libtool_VERSION): Bump to 5:0:0.
591 * configure: Regenerate.
593 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
595 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
596 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
597 * include/std/std_stack.h: Include deque.tcc.
598 * testsuite/23_containers/adaptors.cc: New file.
600 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
602 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
603 * docs/html/ext/howto.html: Update allocator notes.
605 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
607 * configure.in (INTERFACE): Remove.
608 (release_VERSION): Remove.
609 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
610 (libstdcxx_interface): Change. Use gcc methods to determine version.
611 * configure: Regenerate.
612 * aclocal.m4: Regenerate.
614 2002-06-25 DJ Delorie <dj@redhat.com>
616 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
617 GLIBCPP_TOPREL_CONFIGURE.
618 * aclocal.m4: Likewise.
619 * configure.in: Call it before AC_CANONICAL_SYSTEM.
620 * configure: Regenerate.
622 2002-06-25 Jessica Han <jessica@cup.hp.com>
624 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
625 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
626 _GLIBCPP_VTABLE_PADDING is defined.
628 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
630 * include/bits/stl_alloc.h: Additional formatting.
632 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
634 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
636 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
638 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
639 * config/os/*/bits/*: Likewise.
640 * configure.in: Update.
641 * configure: Regenerate.
642 * configure.target: Update.
643 * docs/html/17_intro/porting.texi: Update.
645 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
647 * include/bits/stl_map.h, include/bits/stl_multimap.h,
648 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
649 complete doxygenation.
650 * include/bits/boost_concept_check.h: Minor comment.
652 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
654 * include/c_compatibility: New.
655 * include/c_compatibility/assert.h: New.
656 * include/c_compatibility/ctype.h: New.
657 * include/c_compatibility/errno.h: New.
658 * include/c_compatibility/float.h: New.
659 * include/c_compatibility/iso646.h: New.
660 * include/c_compatibility/limits.h: New.
661 * include/c_compatibility/locale.h: New.
662 * include/c_compatibility/math.h: New.
663 * include/c_compatibility/setjmp.h: New.
664 * include/c_compatibility/signal.h: New.
665 * include/c_compatibility/stdarg.h: New.
666 * include/c_compatibility/stddef.h: New.
667 * include/c_compatibility/stdio.h: New.
668 * include/c_compatibility/stdlib.h: New.
669 * include/c_compatibility/string.h: New.
670 * include/c_compatibility/time.h: New.
671 * include/c_compatibility/wchar.h: New.
672 * include/c_compatibility/wctype.h: New.
674 * include/c/std_cerrno.h: Get out of the way... define errno.
675 * include/c/std_cmath.h: Add abs, modf overloads.
676 Undefine C99 isms. Still not sure how to deal with this sanely.
677 * include/c/std_csetjmp.h: Tweak.
678 * include/c/std_cwchar.h: Include cstddef for size_t.
680 * include/c_std/std_cmath.h: Remove extra function.
682 Pendantic std usage in testsuites.
683 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
685 * testsuite/17_intro/header_cwchar.cc: Tweak.
686 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
688 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
689 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
690 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
691 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
692 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
693 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
694 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
695 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
696 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
697 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
698 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
699 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
700 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
701 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
702 * testsuite/22_locale/num_get_members_char.cc: Same.
703 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
704 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
705 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
706 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
707 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
708 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
709 * testsuite/22_locale/messages_members_char.cc (test03): Same.
710 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
711 * testsuite/22_locale/collate_members_char.cc (test04): Same.
712 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
713 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
714 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
716 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
718 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
721 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
723 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
724 Use size_type instead of unsigned long.
726 2002-06-20 Steve Ellcey <sje@cup.hp.com>
728 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
732 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
734 * include/Makefile.am: Add rules.
735 * include/Makefile.in: Regenerate.
737 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
738 * aclocal.m4: Regenerate.
739 * configure: Regenerate.
740 * configure.target (c_model, c_compatibility): Add.
742 * libsupc++/Makefile.am (c_sources): New.
743 (libsupc___la_SOURCES): Add c_sources.
744 (LTCOMPILE): Remove INCLUDES.
746 (C_COMPILE): New, like COMPILE but without INCLUDES.
747 (cxa_demangle.o): Use C_COMPILE.
748 (dyn-string.o): Use C_COMPILE.
750 * include/c/std_cstdarg.h: Define __need___va_list.
751 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
752 need_NULL, need_offsetof.
754 2002-06-19 Steve Ellcey <sje@cup.hp.com>
756 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
757 definitions in hpux11 cross-build because these functions do
758 not exist on hpux11 (but some exist on hpux10); move defaults out
759 into existing sections.
760 * configure: Regenerate.
762 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
764 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
765 * include/c/std_cwctype.h: Guard.
767 * libsupc++/eh_alloc.cc: Tweak include order.
768 * libsupc++/pure.cc: Use cstdio.
769 * libsupc++/new_op.cc: Remove malloc forward declaration, as
770 cstdlib brings it in. Use std::malloc.
772 * src/Makefile.am (sources): Remove cmath.cc.
773 * src/Makefile.in: Regenerate.
774 * src/cmath.cc: Remove.
776 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
778 * configure.target: Force mips to use the generic cpu routines.
780 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
782 * configure.host: Delete file.
783 * configure.target: More documentation. Factor out common parts of
784 script into "intelligent" settings about defaults. Remove redundancy.
786 * acinclude.m4: Update comments. Do not call configure.host.
787 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
789 * configure.in: Slight reformatting, more comments. Factor out
790 "config/" from all the directories.
791 * docs/html/17_intro/porting.texi: Update and expand.
792 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
795 * aclocal.m4, configure, docs/html/17_intro/porting.html,
796 testsuite/Makefile.in: Regenerate.
798 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
800 * docs/doxygen/TODO: Update.
801 * docs/doxygen/tables.html: Uncomment magical middle column.
802 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
803 * include/bits/stl_queue.h: Doxygenate and reformat.
804 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
805 for deprecated names required by the standard.
807 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
809 * configure.in (target_alias): Fix.
810 * configure: Regenerate.
811 * aclocal.m4: Regenerate.
813 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
815 * include/Makefile.am: Add new files.
816 * include/Makefile.in: Regenerate.
818 * include/bits/stl_deque.h, include/bits/stl_list.h,
819 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
820 * include/bits/deque.tcc, include/bits/list.tcc,
821 include/bits/vector.tcc: ...to here. New files.
823 * include/ext/stl_hashtable.h: Inclide correct full headers.
824 * include/std/std_deque.h: Include .tcc files for now.
825 * include/std/std_list.h: Likewise.
826 * include/std/std_vector.h: Likewise.
828 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
830 * Makefile.am: Add FLAGS_TO_PASS.
831 * Makefile.in: Regenerated.
833 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
834 Benjamin Kosnik <bkoz@redhat.com>
836 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
838 * configure.in: Add support for *-qnx6.[12]*.
839 * configure: Regenerate.
841 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
843 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
844 ctype_noninline.h, os_defines.h: New files.
846 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
848 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
849 include all required headers for test against older POSIX standard.
850 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
851 (ac_setrlimit): Likewise.
852 * aclocal.m4: Regenerate.
853 * configure: Regenerate.
854 * testsuite/testsuite_hooks.cc: Reorder and include all
855 required headers for use against older POSIX standard.
857 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
859 * testsuite/backwards/strstream_members.cc: New.
861 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
863 * include/backwards/strstream: Format.
864 * src/strstream.cc: Format.
866 2002-06-08 Andreas Schwab <schwab@suse.de>
868 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
869 _M_buf_size and _M_buf_size_opt to the new buffer and size.
871 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
873 * config/os/generic/bits/ctype_noninline.h: Tweak format.
875 2002-06-07 Steve Ellcey <sje@cup.hp.com>
877 * src/locale-inst.cc (__codecvt_abstract_base):
878 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
879 * include/bits/istream.tcc (basic_istream): Ditto.
882 * include/bits/ostream.tcc (basic_ostream): Ditto.
888 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
890 * mkcheck.in: Link against local testsuite library.
891 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
892 implementation out...
893 * testsuite/testsuite_hooks.cc: ...to here.
895 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
897 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
898 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
899 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
900 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
901 * testsuite/Makefile.in: Likewise.
903 2002-06-05 David Edelsohn <edelsohn@gnu.org>
905 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
906 Call external symbol.
908 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
910 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
911 Search correct multilib testsuite dir for libv3test.
913 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
914 Gaby Dos Reis <gdr@codesourcery.com>
916 * include/bits/basic_string.tcc
917 (basic_string::_S_construct(forward_iterator_tag):
918 Fix typo in null pointer check.
919 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
921 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
923 * testsuite/22_locale/money_get_members_char.cc
924 (test02): Add decimal point to long double constants.
925 * testsuite/22_locale/money_get_members_wchar_t.cc
927 * testsuite/22_locale/money_put_members_char.cc
928 (test02, test03, test06): Likewise.
929 * testsuite/22_locale/money_put_members_wchar_t.cc:
930 (test02, test03, test06): Likewise.
931 * testsuite/22_locale/num_get_members_char.cc:
932 (test02, test01): Likewise; suffix long long constants with LL.
933 * testsuite/22_locale/num_get_members_wchar_t.cc:
934 (test02, test01): Likewise.
935 * testsuite/22_locale/num_put_members_char.cc:
936 (test02, test01): Likewise.
937 * testsuite/22_locale/num_put_members_wchar_t.cc:
938 (test02, test01): Likewise.
940 2002-06-03 Marc Espie <espie@openbsd.org>
942 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
943 assembly for old assemblers.
945 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
947 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
949 (vector<bool>::swap(reference,reference)): ...to this.
951 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
953 * docs/doxygen/TODO: Update.
954 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
955 some class members are in 14882 order.
956 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
958 * include/std/std_bitset.h: Update comment.
959 * src/bitset.cc: Update comments, clean up spacing.
961 * src/Makefile.am (sources): Alphabetize for convenience.
962 * src/Makefile.in: Regenerate.
964 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
966 * include/bits/stl_deque.h, include/bits/stl_list.h,
967 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
968 Reorder to match 14882. Doxygen blocks for all public members.
970 2002-05-31 Marcus Meissner <meissner@suse.de>
973 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
974 * testsuite/23_containers/vector_bool.cc (test02): New test.
976 2002-05-30 Marc Espie <espie@openbsd.org>
978 * configure.in: Always check for sys/types.h
979 * configure: Regenerate.
981 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
983 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
984 Rebuild the wrapper file every time this proc is called.
986 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
988 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
990 * testsuite/Makefile.in: Regenerate.
991 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
992 list_modifiers.cc and rename from 'T'. Move code bodies...
993 * testsuite/testsuite_hooks.cc: ...to here. New file.
994 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
995 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
996 Add libv3test.a to link options.
998 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1000 * src/misc-inst.cc: Define unnecessary algorithm
1001 instantiations. Break apart instantiations into groupings below.
1002 * src/fstream-inst.cc: New.
1003 * src/io-inst.cc: New.
1004 * src/istream-inst.cc: New.
1005 * src/ostream-inst.cc: New.
1006 * src/streambuf-inst.cc: New.
1007 * src/sstream-inst.cc: New.
1008 * src/Makefile.am (sources): Add files.
1009 * src/Makefile.in: Regenerate.
1011 * acinclude.m4: Work around automake 1.4-p5 bug, change
1012 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1014 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1017 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1018 (classic_table): Fix.
1019 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1021 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1023 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1024 _GLIBCPP_USE_WCHAR_T.
1025 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1026 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1027 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1029 2002-05-26 Carlo Wood <carlo@alinoe.com>
1030 Paolo Carlini <pcarlini@unitus.it>
1033 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1034 (__enc_traits::operator=): add missing return statement.
1036 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1039 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1040 (operator>>): If nothing was extracted, don't fail in the
1042 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1044 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1047 * testsuite/22_locale/ctype_narrow_char.cc: New.
1048 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1049 * testsuite/22_locale/ctype_widen_char.cc: New.
1050 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1051 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1052 * testsuite/22_locale/ctype_is_char.cc: ...this.
1053 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1054 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1055 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1056 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1058 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1060 2002-05-24 Dale Peakall <dale@peakall.net>
1063 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1064 * config/locale/generic/ctype_members.cc: Same.
1066 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1069 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1070 for empty string literal.
1071 (ostream::operator<<(const _CharT*)): Same.
1072 (ostream<char>::operator<<(const char*)): Same.
1073 (ostream<char>::operator<<(streambuf*)): Same.
1074 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1075 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1077 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1079 * configure.in (release_VERSION): Update to 3.1.1.
1080 (libtool_VERSION): Update to 4:1:0.
1081 * configure: Regenerate.
1083 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1085 * include/bits/stl_pair.h: Tweak comment markup.
1087 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1089 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1091 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1093 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1095 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1097 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1098 Doxygenate all public members. Reorder to follow 14882.
1099 (vector::push_back(void)): Remove previously-deprecated fn.
1100 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1101 Deprecate for removal in 3.3.
1103 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1105 * docs/html/faq/index.html (5.4): Recommend against -I options for
1106 finding the ext headers.
1107 * docs/html/faq/index.txt: Regenerate.
1109 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1111 * testsuite/23_containers/deque_operators.cc (test01):
1112 Fix minor typo in last commit.
1114 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1117 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1118 operator!=, operator<, operator>, operator>=, operator<=):
1119 Make non-member functions, to allow comparing const and
1120 non-const iterators in any order.
1121 * testsuite/23_containers/deque_operators.cc: New testfile.
1123 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1125 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1126 * docs/html/faq/index.txt: Regenerate.
1128 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1130 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1131 * acinclude.m4: Likewise.
1132 * docs/html/Makefile: Likewise.
1133 * aclocal.m4: Regenerate.
1134 * configure: Regenerate.
1135 * Makefile.in: Regenerate.
1137 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1140 * include/bits/c++config (__USE_MALLOC): Report case where
1141 the user improperly defined it on the command line.
1143 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1145 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1146 Retrieve current limits before setting.
1148 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1151 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1153 (ostream::operator<<(const _CharT*)): Same.
1154 (ostream<char>::operator<<(const char*)): Same.
1155 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1157 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1160 * src/strstream.cc (strstreambuf): Fix leak.
1162 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1165 * include/bits/istream.tcc (istream::getline, ignore):
1166 Upon __idelim (__delim) call sbumpc() not snextc().
1167 * testsuite/27_io/narrow_stream_objects.cc:
1168 Add test08 and test09.
1170 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1172 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1173 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1175 * docs/html/install.html: Fix.
1177 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1179 * include/bits/fstream.tcc
1180 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1182 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1184 * docs/html/install.html: Tweak, add bits about required locales
1185 for the 22_locale tests when using the gnu model.
1187 * testsuite/27_io/istream_sentry.cc: Tweak.
1189 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1191 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1192 Fix typo, use this->is() rather than manually (and perhaps
1193 incorrectly) inlining it.
1194 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1196 * testsuite/22_locale/ctype_scan_char.cc: New file.
1198 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1199 Jakub Jelinek <jakub@redhat.com>
1201 * testsuite/22_locale/money_get_members_char.cc
1202 (test01, test02, test04): Use the de_DE@euro named locale
1203 instead of de_DE to allow for an uniform behaviour with
1204 both old and Euro-era localedata; tweak some tests.
1205 * testsuite/22_locale/money_get_members_wchar_t.cc
1206 (test01, test02, test04): Likewise.
1207 * testsuite/22_locale/money_put_members_char.cc
1208 (test01, test02, test04): Likewise.
1209 * testsuite/22_locale/money_put_members_wchar_t.cc
1210 (test01, test02, test04): Likewise.
1212 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1214 * testsuite/22_locale/codecvt_members_char_char.cc
1215 (test03): Robustify wrt localedata.
1216 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1217 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1218 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1219 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1220 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1221 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1222 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1223 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1224 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1225 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1226 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1227 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1228 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1229 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1230 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1231 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1232 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1233 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1234 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1235 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1236 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1237 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1239 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1241 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1244 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1246 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1247 to 64 for hppa 64-bit port.
1248 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1250 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1252 * acinclude.m4 (enable_symvers): Quote $LD.
1253 * aclocal.m4: Regenerate.
1254 * configure: Likewise.
1256 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1258 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1259 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1262 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1264 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1265 script entry, and set LD to it when configuring multilibs.
1266 * configure: Rebuilt.
1268 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1270 * configure.in: Add support for WindISS.
1271 * configure: Regenerated.
1272 * configure.target: Add support for WindISS.
1273 * config/os/windiss/bits/ctype_base.h: New file.
1274 * config/os/windiss/bits/ctype_inline.h: Likewise.
1275 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1276 * config/os/windiss/bits/os_defines.h: Likewise.
1278 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1280 Test all the facets for the temporary "C" locale switch issue.
1281 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1282 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1283 * testsuite/22_locale/collate_members_char.cc: Add test04.
1284 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1285 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1286 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1287 * testsuite/22_locale/messages_members_char.cc: Add test03.
1288 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1289 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1290 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1291 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1292 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1293 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1294 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1295 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1296 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1297 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1298 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1299 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1300 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1301 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1303 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1304 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1306 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1308 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1309 __EXTENSIONS__): Ensure they are always defined.
1311 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1313 * docs/html/documentation.html: Fix broken link.
1315 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1316 Paolo Carlini <pcarlini@unitus.it>
1318 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1319 testing for the locale_facets.tcc entry of the previous commit.
1320 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1322 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1324 * config/locale/generic/c_locale.cc
1325 (__convert_to_v(float, double, long double)):
1326 Fix the temporary switch to the "C" locale, saving and
1327 restoring in the proper way the current locale.
1328 * config/locale/generic/time_members.cc
1329 (__timepunct<char, wchar_t>::_M_put): Likewise.
1330 * config/locale/gnu/messages_members.cc
1331 (messages<char>::do_get): Likewise.
1332 * config/locale/gnu/messages_members.h
1333 (messages<_CharT>::do_get): Likewise.
1334 * config/locale/gnu/time_members.cc
1335 (__timepunct<char, wchar_t>::_M_put): Likewise.
1336 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1338 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1340 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1341 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1343 * Makefile.in, config.h.in, configure: Regenerate.
1345 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1348 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1349 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1351 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1353 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1355 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1357 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1359 * configure.in: Update local install.html, configopts.html paths.
1360 * configure: Regenerate.
1362 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1364 * config/os/irix/irix5.2/bits/os_defines.h
1365 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1367 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1370 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1372 * docs/html/faq/index.html: Update list in #4.1.
1373 * docs/html/faq/index.txt: Regenerated.
1375 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1377 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1379 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1381 * include/std/std_bitset.h: Fix doxygen comments.
1382 * docs/html/documentation.html: Minor tweaks for 3.1.
1383 * docs/html/27_io/howto.html: Likewise.
1384 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1385 * docs/html/faq/index.html: Likewise.
1386 * docs/html/faq/index.txt: Regenerated.
1388 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1391 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1392 (istreambuf_iterator::equal): Use it.
1393 (istreambuf_iterator::operator*): Use it.
1395 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1398 * include/bits/stl_uninitialized.h
1399 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1400 Fix typo in 2001-07-17 commit: typedef _ValueType to
1401 iterator_traits<_ForwardIter> not <_InputIter>.
1402 * testsuite/23_containers/vector_ctor.cc: Add test04.
1404 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1407 * include/c_std/std_cctype.h: Include bits/c++config.h.
1408 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1410 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1412 * include/ext/stdio_filebuf.h: New file.
1413 * include/ext/enc_filebuf.h: New file.
1414 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1415 * config/io/basic_file_stdio.cc: Same.
1416 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1417 Remove _M_unbuf hacks.
1418 (filebuf::_M_destroy_internal_buffer): Same.
1419 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1420 (filebuf::fd): Remove.
1421 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1422 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1423 (filebuf::fd): Remove.
1424 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1426 (ios_base::_S_ios_destroy): Same.
1427 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1428 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1429 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1431 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1434 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1436 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1439 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1441 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1442 (istreambuf_iterator::operator++): Invalidate on eof.
1443 (istreambuf_iterator::operator++(int)): Same.
1444 (istreambuf_iterator::operator*): Same.
1446 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1448 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1449 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1452 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1455 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1456 (__basic_file::sys_ungetc): Take int.
1457 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1458 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1459 Use sys_getc for unbuffered input.
1460 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1462 * src/ios.cc (_M_grow_words): Adjust error checking.
1463 * testsuite/27_io/ios_base_storage.cc: Same.
1465 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1467 * include/ext/stl_hashtable.h: Import __iterator_category
1469 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1470 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1472 * testsuite/ext/hash_set.cc: New testfile.
1474 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1476 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1478 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1479 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1481 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1483 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1484 Fix and tighten __throw_length_error check.
1485 * testsuite/21_strings/replace.cc (test05): New.
1486 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1488 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
1490 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1491 unconditional flush on lower-layer handle to here...
1492 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1493 ...from here. Optimize remaining _M_file.sync() call pattern.
1494 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1497 2002-04-23 Jason Merrill <jason@redhat.com>
1499 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1500 output-only filebufs.
1501 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1503 (basic_filebuf::_M_set_determinate): Likewise.
1506 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1507 value properly in the trivial case.
1508 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1509 tellg() returns the right value after a read.
1511 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
1513 * config/cpu/mmix/bits/cpu_limits.h: New file.
1514 * configure.target (CPULIMITSH): Use it.
1516 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
1518 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1519 * docs/html/17_intro/porting.html: Rebuilt.
1521 2002-04-20 Jason Merrill <jason@redhat.com>
1524 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1526 (basic_streambuf::_M_set_determinate): Likewise.
1527 (basic_streambuf::_M_is_indeterminate): Likewise.
1528 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1529 non-static data member.
1530 (basic_filebuf::_M_underflow_common): New non-static member function.
1531 (basic_filebuf::_M_underflow, _M_uflow): Call it.
1532 (basic_filebuf::sync): Avoid useless seeking.
1533 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1535 (basic_filebuf::_M_set_determinate): Likewise.
1536 (basic_filebuf::_M_is_indeterminate): Likewise.
1537 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1538 back to _M_out_beg if necessary.
1539 (basic_filebuf::seekoff): Likewise.
1540 (basic_filebuf::_M_underflow_common): Generalization of old
1541 underflow(). Don't seek back to _M_in_beg.
1542 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1543 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1544 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1545 * config/os/mingw32/bits/os_defines.h: Likewise.
1546 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1549 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
1551 * include/bits/istream.tcc (istream::read): Fix.
1552 * testsuite/27_io/istream_unformatted.cc (main): Add.
1554 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
1557 * include/bits/istream.tcc (istream::ignore): Streamline, use
1559 * include/bits/streambuf.tcc: Use this->gptr.
1560 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1562 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
1564 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1565 as type safety is important, especially on solaris.
1566 * include/bits/istream.tcc (istream::read): Clean.
1567 (istream::readsome): Same.
1568 * locale.cc: Wrap lines.
1570 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1571 * testsuite/27_io/instantiations.cc (test): Add bool variable...
1572 * testsuite/21_strings/capacity.cc: Clean.
1574 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1576 * docs/doxygen/doxygroups.cc: New group on binary searching.
1577 * include/bits/stl_algo.h: Document binary searches and merges.
1578 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
1580 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1582 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
1583 * docs/doxygen/run_doxygen: Bump required version.
1584 * docs/doxygen/user.cfg.in: Revert accidental change.
1585 * docs/html/faq/index.html: Reindent a block of links.
1586 (4.4): New note on using dlsym.
1587 * docs/html/faq/index.txt: Regenerated.
1589 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1591 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
1593 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1595 * config/linker-map.gnu (__malloc_alloc_template): Add.
1596 (__default_alloc_template): Same.
1597 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1599 (__default_alloc_template): Same.
1601 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1603 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1605 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
1607 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1608 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1609 (__malloc_alloc_template): Conditionalize.
1611 * include/bits/istream.tcc: Remove sputbackc calls.
1613 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1615 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
1617 * testsuite/24_iterators/rel_ops.cc: New test.
1619 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1621 * include/bits/type_traits.h (__normal_iterator): Declare in
1622 __gnu_cxx. Adjust use at global namespace.
1623 * include/bits/stl_iterator.h (__normal_iterator): Move definition
1624 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
1625 * include/bits/basic_string.h (basic_string): Adjust use of
1627 * include/bits/stl_vector.h (_Alloc>): Likewise.
1628 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1629 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1631 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
1635 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1637 (__basic_file::close): Call fflush. Correct return if fclose ok.
1638 (__basic_file::is_open): Make const.
1639 Change __c_file_type to __c_file.
1640 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1641 (__basic_file::is_open): Make const.
1642 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1643 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1644 (filebuf::_M_unbuf): Add.
1645 (filebuf::_M_file): Change to non-pointer.
1646 (filebuf::_M_allocate_pback_buffer): Remove.
1647 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1648 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1649 Change initialization list for _M_file change.
1650 (filebuf::_M_allocate_pback_buffer): Remove.
1651 Change _M_file usage to reflect non-pointer data member.
1653 * config/locale/generic/c_locale.cc
1654 (locale::facet::_S_create_c_locale): Add parameter.
1655 * config/locale/generic/collate_members.cc: Change
1656 _M_compare_helper to _M_compare.
1657 Change _M_transform_helper to _M_transform.
1658 * config/locale/generic/monetary_members.cc: Changeup data types.
1660 * config/locale/generic/numeric_members.cc: Add dtors.
1661 * config/locale/generic/time_members.cc: Add dtors.
1662 * config/locale/gnu/c_locale.cc: Add parameter.
1663 * config/locale/gnu/collate_members.cc:Change
1664 _M_compare_helper to _M_compare.
1665 Change _M_transform_helper to _M_transform.
1666 * config/locale/gnu/ctype_members.cc: Better error checking.
1667 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1668 * config/locale/gnu/messages_members.cc: Tweak comment.
1669 * config/locale/gnu/monetary_members.cc: Change data types.
1671 * config/locale/gnu/numeric_members.cc: Add dtors, better error
1673 * config/locale/gnu/time_members.cc: Same.
1674 * config/locale/ieee_1003.1-2001/c_locale.cc
1675 (locale::facet::_S_create_c_locale): Add parameter.
1676 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1677 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1680 * include/bits/locale_facets.h (moneypunct): Use string literals.
1683 (__timepunct): Same.
1684 (locale::_Impl::_M_facets): Change from vector to array.
1685 (locale::_Impl::_M_names): Change from array of strings to array
1687 (locale::facet::_S_create_c_locale): Add parameter.
1688 (locale::locale::_S_num_facets): Move to...
1689 (locale::_Impl::_M_facets_size): Here.
1690 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1692 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1693 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1694 (locale::_Impl::_Impl(string, size_t)): Change to
1695 (locale::_Impl::_Impl(const char*, size_t)): This.
1697 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1698 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1699 (streambuf::_S_pback_size): This.
1701 * src/globals.cc: Add pre-allocations for "C" facets.
1702 * src/locale-inst.cc: Remove vector instantiations.
1703 * src/locale.cc: Remove vector include. Fixups for _M_names,
1705 * src/localename.cc: Same.
1707 * include/bits/stl_vector.h: Fix odd formatting.
1709 * include/bits/basic_string.tcc: Tweak comment.
1711 * libsupc++/new: Make sure parameters are uglified.
1712 * libsupc++/typeinfo: Same.
1714 * testsuite/22_locale/num_get_members_char.cc: Fixup.
1715 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1716 * testsuite/27_io/filebuf_members.cc: Same.
1718 2002-04-12 Steve Ellcey <sje@cup.hp.com>
1720 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1721 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1722 does not define strtoll or strtoull, but does define strtol
1723 and strtoul which are the same since in 64 bit mode
1724 sizeof(long) == sizeof(long long).
1726 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
1728 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
1729 trailing spaces, indentation, and macro names. Make exception
1730 messages more informative.
1732 2002-04-11 Richard Henderson <rth@redhat.com>
1734 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1735 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1736 (basic_ostream<>::operator<<(long long)): Same.
1738 2002-04-11 Richard Henderson <rth@redhat.com>
1740 * config/linker-map.gnu: Add __gxx_personality_sj0.
1742 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1745 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1747 Remove forward declaration of vector.
1749 * include/bits/locale_facets.tcc: Remove vector include.
1750 (use_locale): Adjust.
1751 (has_locale): Adjust.
1752 * src/locale.cc: Adjust.
1753 * src/localename.cc: Same.
1755 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1756 Richard Henderson <rth@redhat.com>
1758 * include/bits/sstream.tcc: Clean up bit ops.
1759 * include/bits/fstream.tcc: Same.
1761 2002-04-09 Jakub Jelinek <jakub@redhat.com>
1763 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1764 (__num_base::_S_scale_oct): Remove.
1765 * src/locale.cc (__num_base::_S_scale_hex): Remove.
1766 (__num_base::_S_scale_oct): Remove.
1768 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1771 * testsuite/23_containers/bitset_members.cc: New test.
1772 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1773 (_S_bit_count): Here.
1774 (_First_one::_S_first_one): Move...
1775 (_S_first_one): Here.
1777 * src/bitset.cc: Adjust.
1778 * config/linker-map.gnu: Export.
1780 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
1783 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1784 * include/std/std_fstream.h: Clean.
1785 * include/bits/ostream.tcc: Remove extraneous variables.
1786 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1787 open modes and which modes.
1788 (stringbuf::seekpos): Same.
1789 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1791 2002-04-05 Jonathan Wakely <jw@kayari.org>
1793 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1794 random_shuffle, partition, stable_partition, sort, stable_sort,
1795 partial_sort, partial_sort_copy, nth_element): Doxygenate.
1797 2002-04-05 David S. Miller <davem@redhat.com>
1799 * config/os/gnu-linux/bits/os_defines.h
1800 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1802 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
1805 via gawrilow@math.tu-berlin.de
1806 * acinclude.m4 (version_specific_libs): Fix combo usage with
1807 --with-gxx-include-dir.
1808 * aclocal.m4: Regenerate.
1811 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
1813 As per DR 184, libstdc++/3139
1814 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1815 (numeric_limits<bool>::is_iec559): False.
1816 (numeric_limits<bool>::is_modulo): False.
1818 * testsuite/27_io/ios_init.cc: Add instantiations.
1820 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
1823 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1824 * testsuite/27_io/ios_init.cc (tests04): Add test.
1827 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1828 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1829 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1830 * include/bits/istream.tcc: Use _M_fctype, make consistent with
1832 * testsuite/27_io/ios_init.cc (tests03): Add test.
1834 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
1836 * include/Makefile.am (install-data-local): Use mkinstalldirs.
1837 * include/Makefile.in: Regenerate.
1839 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
1840 Nathan Myers <ncm@cantrip.org>
1841 Philip Martin <philip@codematters.co.uk>
1843 * include/bits/basic_string.h
1844 (replace(i1, i2, _CharT* k1, _CharT* k2),
1845 replace(i2, i2, const _CharT* k1, const _CharT* k2),
1846 replace(i1, i2, iterator k1, iterator k2,
1847 replace(i1, i2, const_iterator k1, const_iterator k2):
1848 New specializations to optimize for the common cases of
1849 pointers and iterators.
1850 (replace(pos, n1, s, n2)): Tweak.
1851 * include/bits/basic_string.tcc: Tweak comments.
1852 * testsuite/21_strings/replace.cc (test04): New tests.
1854 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1857 * acinclude: More extensive checks for msgfmt, --enable-nls.
1858 * aclocal.m4: Regenerate.
1859 * configure: Regenerate.
1861 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1863 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
1864 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
1865 * docs/html/18_support/howto.html: Document the demangler.
1866 * docs/html/17_intro/howto.html: And link to it.
1868 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
1869 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
1871 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1873 * config/linker-map.gnu: Export __verbose_terminate_handler.
1874 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
1875 Make new LTCOMPILE variable, use it in new special build rules.
1876 * libsupc++/Makefile.in: Rebuild.
1877 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
1878 runtime __cxa_demangle.
1880 * docs/html/install.html: Update prereqs and instructions.
1881 * docs/html/19_diagnostics/howto.html: Bring naming for
1882 verbose_terminate_handler into line with reality.
1884 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1887 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1888 (basic_ios::_M_streambuf_state): Move.
1889 * include/bits/ios_base (ios_base): To here.
1890 * include/bits/ios_base.h (ios_base::_S_local_words): To
1892 (ios_base::_M_word_array): To _M_local_word.
1893 (ios_base::_M_words_limit): To _M_word_size.
1894 (ios_base::_M_words): To _M_word.
1896 * include/bits/basic_ios.tcc: Adjust.
1897 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1898 * testsuite/27_io/ios_base_storage.cc: Add tests.
1901 Kenny Simpson <theonetruekenny@yahoo.com>
1902 * include/bits/ios_base.h: Fix.
1904 Richard Henderson <rth@redhat.com>
1905 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1908 * include/bits/basic_string.h: Tweak formatting.
1910 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1912 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1913 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1914 By definition, sizeof(char) == 1.
1915 * include/bits/locale_facets.tcc (money_get::do_get,
1916 money_put::do_put): Ditto.
1917 * testsuite/21_strings/inserters_extractors.cc
1920 2002-03-30 Richard Henderson <rth@redhat.com>
1923 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1924 data out of the exception struct before calling unexpectedHandler.
1926 2002-03-28 Roger Sayle <roger@eyesopen.com>
1928 * include/c_std/std_cmath.h: To prevent problems overloading
1929 g++ builtins, use the double variants from the global namespace
1930 before defining float and long double variants in std::.
1932 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1934 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1936 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1938 * testsuite/24_iterators/istream_iterator.cc
1939 (test02): New tests.
1941 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1942 Paolo Carlini <pcarlini@unitus.it>
1944 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1945 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1946 fix i_lit_base e_lit_base arrays, making them independent
1947 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1949 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1951 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1952 allocate at least a byte.
1954 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1956 * testsuite/27_io/streambuf.cc (test07): Fix.
1959 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1961 * docs/doxygen/Intro.3: Date tweak.
1962 * docs/doxygen/TODO: Update.
1963 * docs/doxygen/doxygroups.cc: Point to tables.html.
1964 * docs/doxygen/mainpage.html: Date tweak.
1965 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1966 * docs/doxygen/tables.html: Fill in the blanks.
1968 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1969 * include/bits/stl_algo.h: Likewise; use expanded form.
1970 * include/bits/stl_alloc.h: Likewise.
1971 * include/bits/stl_construct.h: Likewise.
1972 * include/bits/stl_deque.h: Likewise.
1973 * include/bits/stl_iterator_base_types.h: Likewise.
1974 * include/bits/stl_list.h: Likewise.
1975 * include/bits/stl_relops.h: Likewise.
1976 * include/bits/stl_tempbuf.h: Likewise.
1977 * include/bits/stl_vector.h: Likewise.
1978 * include/std/std_memory.h: Likewise.
1980 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1981 * include/bits/stl_list.h: Likewise.
1982 * include/bits/stl_vector.h: Likewise.
1984 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1986 * include/c/: Guard with _CPP_.
1987 * include/c_std/: Same.
1988 * include/Makefile.am: Fixup install, link routines for null
1989 c_base_headers_extra scenarios.
1990 * include/Makefile.in: Regerate.
1992 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1993 Richard Henderson <rth@redhat.com>
1995 * testsuite/22_locale/codecvt_members_unicode_char.cc
1996 (test01, test02): make sure that the i_lit_base array
1997 is sufficiently aligned.
1999 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2001 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2004 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2006 * testsuite/22_locale/collate_byname.cc
2007 (test01): compare the result of collate::compare with
2008 that of collate::transform + string::compare, not with
2009 that of collate::transform + collate::compare; values
2010 returned by collate::compare are normalized, therefore
2013 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2014 Jakub Jelinek <jakub@redhat.com>
2016 * config/locale/gnu/messages_members.h: Correct conditional.
2017 * config/locale/gnu/messages_members.cc: Same.
2018 * config/locale/gnu/time_members.cc: Same.
2020 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2021 Paolo Carlini <pcarlini@unitus.it>
2023 * testsuite/22_locale/codecvt_members_unicode_char.cc
2024 (test01, test02): Fix i_lit_base arrays, making them
2025 independent from the endianness of the platform.
2027 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2029 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2030 signbit and __signbit directly.
2031 * aclocal.m4: Regenerate.
2032 * configure: Regenerate.
2033 * config.h.in: Regenerate.
2034 * libmath/Makefile.am: Simplify.
2035 * libmath/Makefile.in: Regenerate.
2036 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2038 * include/Makefile.am: Clean up handling of extra "C" header files.
2039 Add hooks for "C" compatibility headers.
2040 * include/Makefile.in: Regenerate.
2042 * include/c/*: Formatting tweaks, cleanups.
2043 * include/c_std/*: Same.
2045 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2047 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2048 * config/locale/gnu/messages_members.cc: Same.
2049 * config/locale/gnu/time_members.cc: Same.
2051 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2053 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2055 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2057 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2058 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2059 * aclocal.m4: Regenerate.
2060 * configure: Likewise.
2062 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2063 Ulrich Drepper <drepper@redhat.com>
2065 * src/locale-inst.cc (__convert_from_v): Add an additional
2066 __size parameter in the declarations.
2067 * include/bits/locale_facets.tcc
2068 (__convert_from_v): When available (that is,
2069 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2070 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2071 being defined or not, call and use __convert_from_v in the
2073 (num_put::_M_convert_int): Same here.
2074 (money_put::do_put(long double)): Same here.
2076 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2078 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2079 * docs/html/faq/index.txt: Regenerate.
2081 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2083 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2084 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2085 --enable-libunwind-exceptions is set.
2086 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2087 macro to check for libunwind.
2088 * configure: Regenerate.
2089 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2090 LIBUNWIND_FLAG to libstdc link line.
2091 * src/Makefile.in: Regenerate.
2093 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2095 * docs/html/faq/index.html: Add OS X workaround.
2096 * docs/html/17_intro/TODO: Update.
2098 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2100 * include/bits/locale_facets.tcc
2101 (money_put::do_put(long double)): Fix dimensioning of
2102 temporary buffers to avoid risk of overruns.
2103 (money_put::do_put(string)): Same for the buffer used to
2104 add the grouping chars.
2105 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2106 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2108 * include/bits/locale_facets.tcc
2109 (collate::do_transform): Simplify.
2111 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2113 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2114 * configure.in: Add comments pointing the way for autoconf 2.5x.
2115 * aclocal.m4, config.h.in, configure: Regenerate.
2117 2002-03-18 Philipp Thomas <pthomas@suse.de>
2119 * include/backward/hash_map.h: hash, hashtable, hash_map and
2120 hash_multimap are in namespace __gnu_cxx.
2121 include/backward/hash_set.h: hash, hashtable, hash_set and
2122 hash_multiset are in namespace __gnu_cxx.
2123 include/backward/hashtable.h: hash and hashtable are in
2124 namespace __gnu_cxx.
2125 include/backward/rope.h: char_producer, sequence_buffer,
2126 rope, crope and wrope are in namespace __gnu_cxx.
2127 include/backward/slist.h: slist is in namespace __gnu_cxx.
2128 * testsuite/backward/header_hash_map_h.cc
2129 testsuite/backward/header_hash_set_h.cc
2130 testsuite/backward/header_hashtable_h.cc
2131 testsuite/backward/header_rope_h.cc
2132 testsuite/backward/header_slist_h.cc
2133 testsuite/backward/header_tempbuf_h.cc: New tests for
2134 checking that we're using the correct namespace.
2136 2002-03-17 Jason Merrill <jason@redhat.com>
2139 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2140 (check_exception_spec): Call it. Take the thrown pointer.
2141 (__cxa_call_unexpected): Pass it.
2142 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2144 2002-03-15 Anthony Green <green@redhat.com>
2146 * configure.in: Remove useless is_mingw32.
2147 * configure: Rebuilt.
2149 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2151 * testsuite/22_locale/collate_members_char.cc
2152 (test01): compare the result of collate::compare with
2153 that of collate::transform + string::compare, not with
2154 that of collate::transform + collate::compare.
2155 (test01): values returned by collate::compare are
2156 normalized, therefore test against +-1.
2157 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2159 2002-03-12 Loren Rittle <ljrittle@acm.org>
2161 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2162 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2164 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2165 Per Liboriussen <liborius@stofanet.dk>
2167 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2169 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2171 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2173 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2174 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2176 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2177 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2179 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2180 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2182 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2184 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2186 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2187 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2188 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2189 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2190 that memory limits are in place.
2191 (test03): Add tests.
2193 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2195 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2196 * aclocal.m4: Regenerate.
2197 * config.h.in: Regenerate.
2198 * configure: Regenerate.
2199 * include/c_std/std_cwctype.h: Guard.
2201 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2203 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2204 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2205 * aclocal.m4: Regenerate.
2206 * configure: Regenerate.
2208 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2210 * include/bits/stl_bvector.h: Fix warning.
2212 2002-03-11 Richard Henderson <rth@redhat.com>
2214 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2216 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2218 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2219 New function. Build the list of tests to run in testsuite_files.
2220 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2222 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2224 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2225 platforms with no weak support.
2226 * testsuite/27_io/ios_init.cc: Likewise.
2228 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2230 * include/bits/locale_facets.tcc (time_put::do_put):
2231 Consider sizeof(char_type) in allocating the buffer.
2233 * include/bits/locale_facets.tcc (collate::do_tranform):
2234 Remove redundant variable.
2236 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2237 Paolo Carlini <pcarlini@unitus.it>
2239 * config/locale/generic/collate_members.cc
2240 (collate<char,wchar_t>::_M_compare_helper): normalize
2241 values returned by strcoll and wcscoll.
2242 * config/locale/gnu/collate_members.cc
2243 (collate<char,wchar_t>::_M_compare_helper): ditto
2244 for __strcoll_l and __wcscoll_l.
2246 2002-03-10 Anthony Green <green@redhat.com>
2248 * configure.in: Support cross builds to mingw32 target.
2249 * configure: Rebuilt.
2251 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2253 * include/bits/locale_facets.tcc (collate::do_transform):
2254 Rewrite to fix problems with long transformed strings.
2256 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2258 * c_locale_generic.cc: Move to...
2259 * generic/c_locale.cc
2260 * c_locale_generic.h: Move to...
2261 * generic/c_locale.h
2262 * codecvt_specializations_generic.h: Move to...
2263 * generic/codecvt_specializations.h
2264 * collate_members_generic.cc: Move to...
2265 * generic/collate_members.cc
2266 * ctype_members_generic.cc: Move to...
2267 * generic/ctype_members.cc
2268 * messages_members_generic.cc: Move to...
2269 * generic/messages_members.cc
2270 * messages_members_generic.h: Move to...
2271 * generic/messages_members.h
2272 * moneypunct_members_generic.cc: Move to...
2273 * generic/monetary_members.cc
2274 * numpunct_members_generic.cc: Move to...
2275 * generic/numeric_members.cc
2276 * time_members_generic.cc: Move to...
2277 * generic/time_members.cc
2278 * c_locale_gnu.cc: Move to...
2280 * c_locale_gnu.h: Move to...
2282 * collate_members_gnu.cc: Move to...
2283 * gnu/collate_members.cc
2284 * ctype_members_gnu.cc: Move to...
2285 * gnu/ctype_members.cc
2286 * messages_members_gnu.cc: Move to...
2287 * gnu/messages_members.cc
2288 * messages_members_gnu.h: Move to...
2289 * gnu/messages_members.h
2290 * moneypunct_members_gnu.cc: Move to...
2291 * gnu/monetary_members.cc
2292 * numpunct_members_gnu.cc: Move to...
2293 * gnu/numeric_members.cc
2294 * time_members_gnu.cc: Move to...
2295 * gnu/time_members.cc
2296 * c_locale_ieee_1003.1-200x.cc: Move to...
2297 * ieee_1003.1-2001/c_locale.cc
2298 * c_locale_ieee_1003.1-200x.h: Move to...
2299 * ieee_1003.1-2001/c_locale.h
2300 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2301 * ieee_1003.1-2001/codecvt_specializations.h
2302 * messages_members_ieee_1003.1-200x.cc: Move to...
2303 * ieee_1003.1-2001/messages_members.cc
2304 * messages_members_ieee_1003.1-200x.h: Move to...
2305 * ieee_1003.1-2001/messages_members.h
2307 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2308 * aclocal.m4: Regenerate.
2309 * configure: Regenerate.
2310 * src/Makefile.am (sources): Change to monetary and numeric.
2311 * src/Makefile.in: Regenerate.
2312 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2314 2002-03-08 scott snyder <snyder@fnal.gov>
2317 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2318 Allow one more digit of precision.
2319 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2320 write a double and read back in the same value.
2322 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2324 * include/std/std_limits.h: Move static const data members out of
2325 generic template, into base class __numeric_limits_base.
2326 * src/limits.cc: Add definitions.
2327 * config/linker-map.gnu: Add __numeric_limits_base.
2328 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2330 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2332 * include/bits/stl_alloc.h: Add extern implicit allocator
2334 * include/bits/basic_string.tcc: Tweak.
2335 * include/bits/locale_facets.tcc: Remove default args. Add
2336 has_facet, use_facet extern instantiations.
2337 * src/stl-inst.cc: Add explicit instantiation.
2338 * src/locale-inst.cc: Clean. Remove locale member template
2341 * testsuite/22_locale/operators.cc (test02): Enable.
2343 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2344 Stephen M. Webb <stephen.webb@bregmasoft.com>
2346 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2347 (_S_rb_tree_black): Make enum.
2349 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2350 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2351 (__stl_threshold): _M_threshold, enum.
2352 * src/stl-inst.cc: Same.
2353 * config/linker-map.gnu: Remove.
2355 * testsuite/23_containers/vector_bool.cc: New.
2357 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2359 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2360 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2361 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2362 referring to the collection as a whole. New section on which macros
2363 can be redefined by the user.
2364 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2365 * docs/html/20_util/howto.html: Update link to SGI.
2366 * docs/html/faq/index.html: Update snapshot versions. New entry
2367 on why g++ (but not gcc) must currently predefine certain macros.
2368 * docs/html/faq/index.txt: Regenerated.
2370 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2371 names in declaration.
2372 (basic_string::compare): These are no longer optional.
2373 * include/bits/ostream.tcc: Tweak closing brace placement.
2374 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2375 * include/std/std_sstream.h: Fix typo in comment.
2376 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2377 * src/locale.cc: Likewise.
2379 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2382 * include/bits/stl_vector.h (vector::push_back()): Guard with
2383 _GLIBCPP_DEPRECATED.
2385 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2387 * include/bits/c++config: Fix misplaced leading blanks on first line.
2389 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2391 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2392 * README (libmath): Make clear.
2394 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2396 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2397 script globbing in ld.
2398 * aclocal.m4: Rebuilt.
2399 * configure: Rebuilt.
2401 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2403 * docs/html/17_intro/RELEASE-NOTES: Update.
2404 * README: Format subdirectories.
2406 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2409 * include/bits/locale_facets.tcc
2410 (num_get::_M_extract_float): Fix the parsing of __dec, since
2411 the standard prescribes that if no grouping characters are
2412 seen, no grouping check is applied.
2413 * testsuite/22_locale/num_get_members_char.cc: Add test05
2414 distilled from the PR.
2415 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2417 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2419 * docs/html/17_intro/porting-howto.xml: Refer to
2420 http://www.oasis-open.org for docbookx.dtd.
2421 * docs/html/17_intro/porting-howto.html: Regenerated.
2423 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2426 * include/std/std_sstream.h: Remove trailing spaces.
2427 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2428 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2430 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2432 * testsuite/22_locale/num_get_members_char.cc (test04):
2433 Use a named locale expecting grouping (de_DE).
2434 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2436 * testsuite/27_io/ios_manip_basefield.cc (test01):
2437 Extend coverage, uniform treatment of hexs and octs.
2439 2002-02-28 Richard Henderson <rth@redhat.com>
2441 * config/linker-map.gnu: Export operator new with unsigned long,
2442 and with std::nothrow_t. Likewise operator delete.
2444 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2446 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2447 Admit grouping for octals and hexadecimals too.
2448 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2449 (test01): Tweak "." -> "," in void* test.
2450 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2452 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2453 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2455 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2457 * testsuite/27_io/ios_manip_basefield.cc (test01):
2458 Fix for 64 bit machines.
2460 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2463 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2465 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2466 (basic_ios::_M_fill_init): New.
2467 (basic_ios::fill()): Delay dealing with _M_fill.
2469 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2470 (ios_base::_M_call_callbacks): Adjust.
2471 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2473 2002-02-26 Loren Rittle <ljrittle@acm.org>
2475 * include/Makefile.am (thread_target_headers): Unconditionally
2476 stage and install gthr-posix.h.
2477 (${target_builddir}/gthr-posix.h): New rule cloned off
2478 ${target_builddir}/gthr-default.h.
2479 (${target_builddir}/gthr-default.h): Support chained inclusion
2480 of gthr support headers.
2481 * include/Makefile.in: Rebuilt.
2483 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2485 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2486 Group all the integral types, not only decs.
2487 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2488 tests, add a few more.
2490 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
2492 * src/ios.cc (ios_base::~ios_base): Tweak.
2493 (ios_base::_M_call_callbacks): Deal with null __p.
2494 (ios_base::ios_base): Set _M_callbacks.
2495 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2496 * testsuite/27_io/ios_init.cc (test02): Fix.
2498 * mkcheck.in (static_fail): Failed links go to output file.
2500 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
2502 * docs/html/faq/index.html: Update.
2503 * docs/html/faq/index.txt: Regenerate.
2505 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
2507 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
2508 * aclocal.m4: Regenerate.
2509 * docs/html/configopts.html: Document --enable-symvers.
2510 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
2512 2002-02-22 Philipp Thomas <pthomas@suse.de>
2514 * include/backward/tempbuf.h: get_temporary_buffer and
2515 return_temporary_buffer are in namespace std, not in __gnu_cxx.
2517 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
2519 * configure.in (target_alias): Default to yes.
2520 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2521 libgcc to default case.
2523 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
2525 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
2526 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
2527 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
2528 * aclocal.m4: Regenerate.
2529 * configure: Regenerate.
2530 * config/linker-map.dummy: New file. Contains nothing useful.
2532 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
2534 * testsuite/22_locale/money_put_members_char.cc: Fix.
2535 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2537 * testsuite/27_io/standard_manipulators.cc: New file.
2539 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2540 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2542 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
2544 * config/os/mingw32/bits/ctype_noninline.h
2545 (ctype<char>::ctype): Remove default args from parm list.
2546 * config/os/djgpp/bits/ctype_noninline.h: Same.
2548 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2550 * include/std/std_iomanip.h: Inline, tweaks.
2551 * config/linker-map.gnu: Remove hacks.
2553 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2554 * testsuite/27_io/ios_init.cc: Same.
2555 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2556 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2558 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2560 * config/linker-map.gnu: Export global vtable, typeinfo, guard
2561 variable, and thunk info as per CXXABI docs.
2563 2002-02-19 Loren Rittle <ljrittle@acm.org>
2565 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2566 * include/Makefile.in: Rebuilt.
2568 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2570 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2571 with size3 for the string collations of str5.
2573 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
2576 * include/bits/locale_facets.tcc (money_put::do_put):
2577 For the space field use __fill instead of ' ', uniformly.
2578 * testsuite/22_locale/money_put_members_char.cc:
2579 Add test05 distilled from PR.
2580 (test01-02-03): Trim some '*' to ' '.
2581 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2583 2002-02-18 Loren Rittle <ljrittle@acm.org>
2586 * include/Makefile.am (thread_builddir): Remove (map all
2587 existing uses to target_builddir).
2588 (thread_headers): Rename to...
2589 (thread_target_headers): ...this.
2590 (stamp-thread): Remove.
2591 (stamp-target): Correctly state the position as built.
2592 Update all dependencies to match the new reality. Remove all
2593 dependency calculations on directories.
2594 * include/Makefile.in: Rebuilt.
2596 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
2598 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2599 * include/bits/fstream.tcc: Same.
2600 * include/bits/sstream.tcc: Same.
2601 * include/bits/ostream.tcc: Same.
2602 * include/bits/istream.tcc: Same.
2603 * include/bits/streambuf.tcc: Same.
2604 * include/bits/basic_ios.tcc: Same.
2605 * include/bits/basic_string.tcc: Same.
2607 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2609 * include/std/std_iosfwd.h: Don't guard typedefs with
2610 _GLIBCPP_USE_WCHAR_T
2611 * include/bits/stringfwd.h: Same.
2613 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2615 * src/locale.cc (moneypunct_byname): Remove definitions.
2616 * include/std/std_streambuf.h (streambuf::operator=): Return.
2618 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2621 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2622 explicit instantiation.
2623 (string::_Rep::_S_max_size): Same.
2624 * include/bits/basic_string.tcc: Add extern explicit
2625 instantiations for string, wstring.
2626 * include/bits/basic_ios.tcc: Add extern explicit instantiations
2628 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2629 * include/bits/istream.tcc: Same, for istream, wistream.
2630 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2632 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2633 istringstream, wistringstream, ostringstream, wostringstream,
2634 stringstream, wstringstream.
2635 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2636 wifstream, ofstream, wofstream, fstream, wfstream.
2637 * src/misc-inst.cc: Correct comments.
2638 Add iomanip instantiations for wide streams.
2639 * include/std/std_iomanip.h: Same.
2640 * include/bits/locale_facets.tcc: Same.
2642 * include/std/std_streambuf.h: Correct
2643 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2644 * include/std/std_sstream.h: Same.
2645 * include/std/std_ostream.h: Same.
2646 * include/std/std_istream.h: Same.
2647 * include/std/std_fstream.h: Same.
2649 * include/std/std_streambuf.h: Add definitions for private copy
2650 ctor and assignment operator.
2651 * include/std/std_istream.h: Remove declared but undefined copy
2652 ctor and assignment operator. This is taken care of in ios_base,
2653 so adding it in the derived class as well is superfluous.
2654 * include/std/std_ostream.h: Same.
2656 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2657 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2659 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2661 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2662 Add typeinfo bits. Smooth.
2663 * aclocal.m4: Regenerate.
2665 * src/Makefile.in: Same.
2667 2001-02-14 Joel Sherrill <joel@OARcorp.com>
2669 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2670 which do not have a CAS instruction.
2672 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2674 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2675 * configure.in: Call it.
2676 * config/linker-map.gnu: New file, initial incomplete revision.
2677 * src/Makefile.am: Optionally pass version script to the linker.
2678 * aclocal.m4: Regenerate.
2679 * configure: Regenerate.
2680 * src/Makefile.in: Regenerate.
2682 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
2684 * src/localename.cc: Remove stdexcept include.
2685 * src/locale-inst.cc: Same.
2686 * src/locale.cc: Same.
2687 * src/functexcept.cc: Remove string includes.
2688 * include/std/std_bitset.h: Remove stdexcept include.
2689 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2690 * testsuite/23_containers/bitset_ctor.cc: Same.
2692 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
2694 * include/bits/stl_algo (__stl_threshold): Declare external.
2695 (__stl_chunk_size): Same.
2696 * include/bits/stl_bvector.h (__WORD_BIT): Same.
2697 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2698 (_S_rb_tree_black): Same.
2699 * src/stl-inst.cc (__stl_threshold): Define.
2700 (__stl_chunk_size): Same.
2702 (_S_rb_tree_red): Same.
2703 (_S_rb_tree_black): Same.
2705 * config/io/basic_file_libio.h (__basic_file): Add declarations.
2706 * include/bits/basic_file.h: Remove.
2707 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2708 Declare generic types, specialization.
2709 * config/io/basic_file_stdio.cc: Definitions.
2710 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2711 Declare generic types.
2712 * include/Makefile.am (bits_headers): Remove basic_file.h.
2713 (extra_target_headers): Change basic_file_model.h to basic_file.h.
2714 (stamp-target): Same.
2716 * include/bits/stl_alloc.h: Tweaks.
2717 * include/bits/localefwd.h: Same.
2719 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
2721 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2722 * testsuite/22_locale/collate_members_char.cc (test03): New test.
2723 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2725 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
2727 * include/bits/stl_algo.h (transform (both signatures), generate_n):
2728 Use __typeof__ in concept checks.
2730 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
2732 * include/bits/stl_algo.h (__median, for_each, find, find_if,
2733 adjacent_find, count, count_if, search, search_n, swap_ranges,
2734 transform, replace, replace_if, replace_copy, replace_copy_if,
2735 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2736 unique, unique_copy, reverse, reverse_copy): Doxygenate.
2738 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
2740 * include/bits/locale_facets.h
2741 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2742 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2743 (__timepunct<_CharT>::_M_put_helper): Same.
2744 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2746 * include/bits/fstream.tcc (filebuf::underflow): Remove
2747 __codecvt_type typedef.
2748 (filebuf::_M_convert_to_external): Same.
2750 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
2752 * docs/doxygen/TODO: Update.
2753 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
2754 * docs/doxygen/mainpage.html: Add TODO list link.
2755 * docs/doxygen/user.cfg.in: Add @doctodo hook.
2756 * docs/doxygen/tables.html: New file, emoty structure only.
2758 * include/bits/stl_iterator.h: Doxygenate just about everything.
2759 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
2760 * include/bits/stl_iterator_base_types.h: Add notes.
2762 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
2764 * include/bits/stl_map.h: Tweak doxygen markup.
2765 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
2766 * include/bits/stl_vector.h: Likewise.
2768 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2772 * include/std/std_fstream.h (filebuf::__file_type): Change to
2774 (filebuf::_M_convert_to_external): Declare.
2775 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2776 codecvt bits for wide streams.
2777 (filebuf::_M_really_overflow): Use it.
2778 (filebuf::underflow): Use codecvt.
2779 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2780 (codecvt<__enc_traits>::do_out): Deal with partial.
2781 (codecvt<__enc_traits>::do_encoding): Return something useful.
2782 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2784 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2785 Change expected encoding output.
2787 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2790 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2791 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
2793 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2794 (basic_ios::widen): Same.
2796 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
2798 * testsuite/22_locale/money_get_members_char.cc:
2799 Add comment, tidy up.
2800 (test01): more "en_HK" tests (without showbase).
2801 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2803 2002-02-06 Loren Rittle <ljrittle@acm.org>
2805 * config/locale/c_locale_generic.cc: Do not trust
2806 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2809 2002-02-06 Loren Rittle <ljrittle@acm.org>
2811 * acinclude.m4: Add C++ linkage check for strtof.
2812 * aclocal.m4: Rebuilt.
2813 * config.h.in: Rebuilt.
2814 * configure: Rebuilt.
2815 * config/locale/c_locale_generic.cc: Conditionally include
2816 <ieeefp.h>. Improve handling and error checking of float
2817 and long double input for non-C99 configurations.
2819 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
2821 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2822 In case money_base::symbol deal properly with multi-char sign
2823 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2824 * testsuite/22_locale/money_get_members_char.cc: Add test07.
2825 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2827 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
2829 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2830 First construct a tentative returned string, then, only if the
2831 parsing succeeds, copy it into the string passed by reference.
2832 * testsuite/22_locale/money_get_members_char.cc: Add test06.
2833 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2835 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
2837 * docs/doxygen/TODO: Impl-defined behavior now documented...
2838 * docs/html/17_intro/howto.html: ...here.
2839 * docs/doxygen/mainpage.doxy: Remove, rename...
2840 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
2841 * docs/doxygen/style.css: Add small text.
2842 * docs/doxygen/run_doxygen: Adjust for new mainpage.
2843 * docs/doxygen/user.cfg.in: Likewise.
2845 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
2847 * include/bits/stl_map.h: Initial doxygen markup.
2848 * include/std/std_fstream.h: Initial doxygen markup.
2850 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
2853 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2854 Deal correctly with !(__io.flags() & ios_base::showbase)
2855 for case money_base::symbol.
2856 * testsuite/22_locale/money_get_members_char.cc: Add test05.
2857 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2859 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
2861 * testsuite/22_locale/operators.cc
2862 (gnu_collate::do_compare()): Add return statement to
2863 suppress "no return statement" warning.
2865 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
2867 * testsuite/27_io/ostream_manip.cc: Enable test02.
2869 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
2871 * docs/html/documentation.html: Update for 3.0.96.
2872 * docs/html/faq/index.html: Update for 3.0.96.
2873 * docs/html/faq/index.txt: Regenerated.
2874 * docs/doxygen/TODO: Update notes.
2875 * docs/html/17_intro/howto.html: Initial impl-specific listing.
2877 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
2879 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2880 Initialize all data members in copy ctor. Make ctors explicit.
2881 (__enc_traits::__enc_traits()): Default ctor does nothing.
2882 (__enc_traits::_M_init): Guard against multiple iconv_opens.
2883 * include/std/std_sstream.h (basic_stringbuf): Make data members
2885 * include/std/std_fstream.h (basic_filebuf): Same.
2886 * include/std/std_streambuf.h: Tweak.
2887 * include/bits/streambuf.tcc: Same.
2888 * include/bits/sstream.tcc: Same.
2889 * include/bits/fstream.tcc: Same.
2891 2002-01-31 Loren Rittle <ljrittle@acm.org>
2893 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2894 allow NULL argument to be passed to setenv().
2895 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2896 * testsuite/22_locale/collate_members_char.cc: Likewise.
2897 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2898 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2899 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2900 * testsuite/22_locale/messages_members_char.cc: Likewise.
2901 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2902 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2903 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2904 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2905 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2906 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2907 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2908 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2909 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2910 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2911 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2912 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2913 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2914 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2915 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2916 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2918 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2920 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2922 * ChangeLog-2001: Fix spelling errors...
2923 * docs/html/17_intro/RELEASE-NOTES: Update.
2924 * docs/html/17_intro/TODO: Update.
2925 * README (file): Update.
2927 2002-01-30 Loren Rittle <ljrittle@acm.org>
2929 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2930 instead of non-zero to aid portability.
2932 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2934 * docs/html/22_locale/messages.html: Fix example code.
2936 2002-01-30 Richard Henderson <rth@redhat.com>
2938 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2939 out from test03 and templatize.
2942 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2944 * config/locale/numpunct_members_gnu.cc
2945 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2946 Fix initialization of _M_grouping for locales which have
2947 _M_thousands_sep == '\0'(L'\0', respectively).
2948 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2950 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2952 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2953 Better fix for 32/64 bit architectures, avoiding the
2954 implicit assumption that CHAR_BIT == 8.
2956 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2958 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2959 * Makefile.in: Regenerate.
2961 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2962 * docs/doxygen/Intro.3: Update.
2963 * docs/doxygen/TODO: Update.
2964 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2965 * docs/doxygen/mainpage.doxy: Update.
2966 * docs/doxygen/user.cfg.in: Update for header rename. Also
2967 regenerate comments and variables with 1.2.12.
2968 * docs/doxygen/maint.cfg.in: Remove file.
2970 * include/bits/stl_relops.h: Doxygenate.
2971 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2973 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2974 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2975 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2976 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2977 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2978 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2979 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2980 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2981 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2982 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2983 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2984 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2985 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2986 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2987 include/std/std_algorithm.h, include/std/std_bitset.h,
2988 include/std/std_complex.h, include/std/std_deque.h,
2989 include/std/std_fstream.h, include/std/std_functional.h,
2990 include/std/std_iomanip.h, include/std/std_ios.h,
2991 include/std/std_iosfwd.h, include/std/std_iostream.h,
2992 include/std/std_istream.h, include/std/std_iterator.h,
2993 include/std/std_limits.h, include/std/std_list.h,
2994 include/std/std_locale.h, include/std/std_map.h,
2995 include/std/std_memory.h, include/std/std_numeric.h,
2996 include/std/std_ostream.h, include/std/std_queue.h,
2997 include/std/std_set.h, include/std/std_sstream.h,
2998 include/std/std_stack.h, include/std/std_stdexcept.h,
2999 include/std/std_streambuf.h, include/std/std_string.h,
3000 include/std/std_utility.h, include/std/std_valarray.h,
3001 include/std/std_vector.h: Add/correct @file doxygen hook.
3003 * include/ext/memory: Doxygenate most of rest of file.
3004 * libsupc++/exception: Doxygen output formatting.
3005 * libsupc++/new: Say which header it is.
3007 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3008 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3009 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3010 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3012 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3013 Charles Leggett <CGLeggett@lbl.gov>
3015 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3017 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3019 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3020 Fix to deal correctly with both 32 bit and 64 bit architectures
3022 2002-01-25 Loren Rittle <ljrittle@acm.org>
3024 * testsuite/thread/pthread1.cc: Use one condition variable
3025 per predicate instead of tricky use of one condition variable.
3027 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3029 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3031 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3032 * testsuite/27_io/filebuf.cc: Compile only.
3033 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3034 * testsuite/27_io/filebuf_virtuals.cc: And here.
3035 Revert sungetc, sync changes for expected values.
3036 * testsuite/27_io/filebuf-*: Move to...
3037 * testsuite/27_io/filebuf_virtuals-*: ...here.
3038 * testsuite/27_io/istream.cc: Compile only, activate.
3039 * testsuite/27_io/ostream.cc: Same.
3040 * testsuite/27_io/iostream.cc: New.
3041 * testsuite/27_io/iostream_members.cc: New.
3043 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3045 * testsuite/thread/pthread1.cc: Enable on cygwin.
3046 * testsuite/thread/pthread2.cc: Likewise.
3047 * testsuite/thread/pthread3.cc: Likewise.
3048 * testsuite/thread/pthread4.cc: Likewise.
3049 * testsuite/thread/pthread5.cc: Likewise.
3050 * testsuite/thread/pthread6.cc: Likewise.
3052 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3054 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3056 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3058 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3060 (basic_ios::fill(char_type)): Use fill().
3061 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3062 (basic_ios::narrow): Same.
3063 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3064 if they are invalid.
3065 (basic_ios::init): Comment.
3066 * testsuite/27_io/ios_init.cc (test02): New.
3068 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3070 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3071 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3072 * include/ext/memory: Do not include stl_tempbuf.h.
3073 (temporary_buffer): Add doxygen hook.
3074 (__get_temporary_buffer, get_temporary_buffer,
3075 return_temporary_buffer): Move back to std:: header...
3076 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3077 * include/ext/rope: Do not include stl_tempbuf.h.
3078 * include/ext/stl_hashtable.h: Likewise.
3079 * include/std/std_algorithm.h: Likewise.
3080 * testsuite/20_util/temporary_buffer.cc: New file.
3082 2002-01-24 andrew@andypo.net
3083 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3086 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3087 * include/bits/localefwd.h: Likewise.
3088 Also use for std::locale::id::_S_highwater.
3089 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3090 * src/locale.cc: Support new usage of _Atomic_word.
3091 (std::locale::classic): Guard entire function against reentry.
3092 * src/localename.cc: Support new usage of _Atomic_word.
3094 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3096 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3097 _GLIBCPP_HAVE_SETENV.
3098 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3099 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3100 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3101 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3102 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3103 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3104 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3105 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3106 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3107 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3108 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3109 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3110 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3111 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3112 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3113 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3114 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3115 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3116 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3117 * aclocal.m4: Regenerate.
3118 * configure: Regenerate.
3119 * config.h.in: Regenerate.
3121 2002-01-23 Loren Rittle <ljrittle@acm.org>
3123 * testsuite/thread/pthread1.cc: New test.
3124 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3125 * testsuite/thread/pthread3.cc: Likewise.
3126 * testsuite/thread/pthread4.cc: New test adapted from
3127 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3128 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3129 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3131 2002-01-23 Richard Henderson <rth@redhat.com>
3134 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3135 CAS on the cpu variants that support it. Add versions that use
3136 TAS and that disable interrupts.
3137 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3139 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3141 * include/bits/locale_facets.tcc: Remove old comments.
3143 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3145 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3147 (__convert_from_v): Same.
3149 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3151 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3153 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3154 __max_digits checks, adjust arguments.
3155 (num_get::do_get(*)): Changeup.
3157 2002-01-23 Loren Rittle <ljrittle@acm.org>
3159 * config/locale/c_locale_generic.cc: Fix typename usage.
3161 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3163 * config/locale/c_locale_generic.cc: Fix.
3165 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3167 * docs/html/22_locale/messages.html: Remove angle brackets.
3168 * docs/html/17_intro/TODO: Add.
3170 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3172 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3173 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3174 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3175 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3177 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3179 Audit for LANG independence.
3180 * include/bits/localefwd.h: Tweaks.
3181 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3183 (time_get::do_get_year): Same.
3184 (__convert_from_v): Add.
3185 (num_put::_M_convert_float): Use.
3186 (num_put::_M_convert_int): Same.
3187 (money_put::do_put): Same.
3189 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3190 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3191 * config/locale/time_members_generic.cc:
3192 * config/locale/messages_members_gnu.cc: Same.
3193 * config/locale/messages_members_gnu.h: Same.
3195 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3196 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3197 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3198 * testsuite/22_locale/collate_members_char.cc (test02): New.
3199 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3200 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3201 * testsuite/22_locale/messages_members_char.cc (test02): New.
3202 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3203 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3204 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3205 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3206 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3207 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3208 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3209 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3210 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3211 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3212 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3213 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3214 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3215 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3216 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3217 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3219 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3221 * testsuite/22_locale/time_get_members_char.cc: Same.
3223 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3226 * include/bits/localefwd.h: Tweak comments.
3227 * include/bits/locale_facets.h (__convert_to_v): Add.
3228 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3229 (num_get::do_get(float)): Same.
3230 (num_get::do_get(long double)): Same.
3231 (num_get::do_get(bool)): Same.
3232 (num_get::do_get(long)): Same.
3233 (num_get::do_get(long long)): Same.
3234 (num_get::do_get(unsigned int)): Same.
3235 (num_get::do_get(unsigned short)): Same.
3236 (num_get::do_get(unsigned long)): Same.
3237 (num_get::do_get(unsigned long long)): Same.
3238 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3239 * config/locale/c_locale_generic.cc: Same.
3241 2002-01-22 Loren Rittle <ljrittle@acm.org>
3243 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3244 (std_builddir): Likewise.
3245 (std_headers_rename): Fix cut-n-paste typo.
3246 (install-data-local): Concat path per element instead of once to
3247 first element of list.
3248 * include/Makefile.in: Rebuilt.
3250 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3252 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3253 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3254 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3256 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3258 * include/bits/locale_facets.h (ctype<char>::classic_table):
3260 (ctype<char>::_S_ctable): Remove.
3261 * config/os/gnu-linux/bits/ctype_noninline.h
3262 (ctype<char>::_S_table): Remove definition.
3263 (ctype<char>::classic_table): Define.
3264 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3265 * config/os/aix/bits/ctype_noninline.h: Same.
3266 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3267 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3268 * config/os/djgpp/bits/ctype_noninline.h: Same.
3269 * config/os/generic/bits/ctype_noninline.h: Same.
3270 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3271 * config/os/hpux/bits/ctype_noninline.h: Same.
3272 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3273 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3274 * config/os/mingw32/bits/ctype_noninline.h: Same.
3275 * config/os/newlib/bits/ctype_noninline.h: Same.
3276 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3277 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3278 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3280 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3282 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3283 of _pctype. Use to define _S_ctable. Add definition for alternate
3284 ctor. Initialise _M_ctable to _S_ctable in ctors.
3285 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3286 rather than ::toupper, ::tolower.
3288 2002-01-18 Loren Rittle <ljrittle@acm.org>
3290 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3291 Add specialization for FreeBSD systems only to avoid losing test
3292 only due to extra precision unmentioned in system headers.
3294 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3296 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3298 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3300 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3301 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3303 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3305 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3307 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3309 * configure.target: Define OPT_LDFLAGS for AIX case.
3311 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3313 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3314 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3316 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3318 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3320 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3322 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3323 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3324 * aclocal.m4: Regenerate.
3325 * configure: Regenerate.
3327 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3329 * include/Makefile.am (c_base_headers_rename): New.
3330 (c_base_headers_extra): New.
3331 (stamp-c_base): Modify.
3332 (install-data-local): Use both.
3333 * include/Makefile.in: Regenerate.
3334 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3335 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3336 cstdio ctime cwctype]: Move to..
3337 * include/c/std_*: Here.
3338 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3339 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3340 cstdio ctime cwctype]: Move to..
3341 * include/c_std/std_*: Here.
3343 Alexandre Oliva <aoliva@redhat.com>
3344 * include/Makefile.am (.PRECIOUS): Add rule.
3345 * include/Makefile.in: Regenerate.
3347 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3348 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3350 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3351 Deuglify, should be current.
3352 (back_insert_iterator::_M_container): Deuglify, should be container.
3353 (front_insert_iterator::_M_container): Same.
3354 (insert_iterator::_M_container): Same.
3355 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3356 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3357 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3358 * testsuite/24_iterators/insert_iterator.cc: Same.
3360 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3362 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3364 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3365 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3366 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3367 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3368 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3369 * config/os/newlib/bits/ctype_noninline.h: Same.
3370 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3371 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3372 * config/os/hpux/bits/ctype_noninline.h: Same.
3373 * config/os/djgpp/bits/ctype_noninline.h: Same.
3374 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3375 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3376 * config/os/aix/bits/ctype_noninline.h: Same.
3378 Testcase by Dietmar Kühl via Peter Schmid
3379 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3382 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3384 * libmath/signbitl.c: Copyright years as list, not range.
3385 * libmath/Makefile.am: Same.
3386 * libmath/Makefie.in: Regenerate.
3387 * libmath/signbit.c: Same.
3388 * libmath/nan.c: Same.
3389 * libmath/copysignf.c: Same.
3390 * libmath/signbitf.c: Same.
3391 * testsuite/22_locale/money_get_members_char.cc: Same.
3392 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3393 * testsuite/22_locale/money_put_members_char.cc: Same.
3394 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3395 * testsuite/22_locale/time_get_members_char.cc: Same.
3396 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3397 * testsuite/22_locale/time_put_members_char.cc: Same.
3398 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3399 * testsuite/21_strings/nonmember.cc: Same.
3400 * testsuite/21_strings/compare.cc: Same.
3401 * testsuite/27_io/stringstream.cc: Same.
3402 * testsuite/27_io/stringbuf.cc: Same.
3403 * testsuite/27_io/filebuf.cc: Same.
3404 * testsuite/27_io/ios_manip_basefield.cc: Same.
3405 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3406 * include/bits/cpp_type_traits.h: Same.
3407 * include/bits/generic_shadow.h: Same.
3408 * include/bits/gslice_array.h: Same.
3409 * include/bits/gslice.h: Same.
3410 * include/bits/indirect_array.h: Same.
3411 * include/bits/slice_array.h: Same.
3412 * include/bits/sstream.tcc: Same.
3413 * include/bits/streambuf_iterator.h: Same.
3414 * include/bits/valarray_array.tcc: Same.
3415 * include/bits/valarray_meta.h: Same.
3416 * include/bits/valarray_array.h: Same.
3417 * config/os/mingw32/bits/ctype_noninline.h: Same.
3418 * config/os/mingw32/bits/ctype_base.h: Same.
3419 * config/os/hpux/bits/ctype_noninline.h: Same.
3420 * config/os/hpux/bits/ctype_base.h: Same.
3421 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3422 * config/os/gnu-linux/bits/ctype_base.h: Same.
3423 * config/os/generic/bits/ctype_noninline.h: Same.
3424 * config/os/generic/bits/ctype_base.h: Same.
3426 * libsupc++/tinfo.h: Tweaks.
3428 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3430 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3431 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3432 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3434 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3436 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3437 (num_put::do_put(void*)): Fix.
3438 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3439 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3440 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3441 long double, void, bool types.
3442 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3444 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3445 Alexandre Oliva <aoliva@redhat.com>
3447 * libmath/Makefile.am (LINK): Add --tag CC.
3448 * libmath/Makefile.in: Regenerate.
3450 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3452 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3453 of character to attribute mapping table.
3455 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3457 * testsuite/26_numerics/c99_classification_macros_c.cc
3458 Remove dg-error and dg-excess-errors comments.
3460 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3462 * include/bits/locale_facets.tcc (time_put::put): Correct output
3464 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3465 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3466 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3467 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3469 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3471 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3473 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3474 Nathan Myers <ncm@cantrip.org>
3476 * include/bits/basic_string.h
3477 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3478 temporaries (i.e., call _M_replace_safe) when possible.
3479 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3480 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3481 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3482 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3483 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3484 * include/bits/basic_string.tcc
3485 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3486 replace(__pos, __n1, __s, __n2).
3487 * testsuite/21_strings/replace.cc (test03): New testcases.
3489 * include/bits/basic_string.h (insert(__pos, __s, __n)):
3490 Adjust comparison wrt overflow.
3492 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3494 * include/Makefile.am (std_headers_rename): New variable.
3495 (install-data-local): Use it.
3496 * include/Makefile.in: Regenerate.
3498 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3500 * include/bits/locale_facets.tcc (money_put::do_put(string):
3501 Correct output iterator value.
3502 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3503 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3505 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3507 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
3510 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3512 * include/Makefile.am (std_headers): Update list with new names.
3513 (stamp-std): Link to standardized name.
3514 * include/Makefile.in: Regenerate.
3516 * include/std/algorithm, include/std/bitset, include/std/complex,
3517 include/std/deque, include/std/fstream, include/std/functional,
3518 include/std/iomanip, include/std/ios, include/std/iosfwd,
3519 include/std/iostream, include/std/istream, include/std/iterator,
3520 include/std/limits, include/std/list, include/std/locale,
3521 include/std/map, include/std/memory, include/std/numeric,
3522 include/std/ostream, include/std/queue, include/std/set,
3523 include/std/sstream, include/std/stack, include/std/stdexcept,
3524 include/std/streambuf, include/std/string, include/std/utility,
3525 include/std/valarray, include/std/vector: Rename to...
3527 * include/std/std_algorithm.h, include/std/std_bitset.h,
3528 include/std/std_complex.h, include/std/std_deque.h,
3529 include/std/std_fstream.h, include/std/std_functional.h,
3530 include/std/std_iomanip.h, include/std/std_ios.h,
3531 include/std/std_iosfwd.h, include/std/std_iostream.h,
3532 include/std/std_istream.h, include/std/std_iterator.h,
3533 include/std/std_limits.h, include/std/std_list.h,
3534 include/std/std_locale.h, include/std/std_map.h,
3535 include/std/std_memory.h, include/std/std_numeric.h,
3536 include/std/std_ostream.h, include/std/std_queue.h,
3537 include/std/std_set.h, include/std/std_sstream.h,
3538 include/std/std_stack.h, include/std/std_stdexcept.h,
3539 include/std/std_streambuf.h, include/std/std_string.h,
3540 include/std/std_utility.h, include/std/std_valarray.h,
3541 include/std/std_vector.h: ...this.
3543 2002-01-11 Loren Rittle <ljrittle@acm.org>
3545 * include/Makefile.am (extra_target_headers): New list of all
3546 target files built with ad hoc naming rules.
3547 (stamp-*): Handle LN_S failure in manner portable across make
3549 (install-data-local): Install header files from human-maintained
3550 file lists and directory components instead of non-robust find.
3551 * include/Makefile.in: Rebuilt.
3553 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
3555 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3556 Check for zero-length negative sign before adding it to output
3558 (money_get::do_get(long double)): Return beg.
3559 * testsuite/22_locale/money_get_members_char.cc (test02): Add
3561 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3563 2002-01-10 David Seymour <seymour_dj@yahoo.com>
3566 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3567 for _M_extract_float and _M_extract_int
3568 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3569 (num_get<>::_M_extract_int): Likewise, all callers changed
3570 * testsuite/22_locale/num_get_members_char.cc: Testcase
3572 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3574 * libsupc++/exception (bad_exception): Add comment.
3575 * libsupc++/new (bad_alloc): Same.
3576 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3578 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3580 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3581 that the destructors should be removed from the descriptions
3582 in the standard: writing them explicitly allows the vtable
3583 heuristic to work. For additional information see:
3584 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3585 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3586 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3587 * libsupc++/exception (bad_exception::~bad_exception()):
3588 Reintroduce declaration.
3589 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3590 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3591 (bad_typeid::~bad_typeid()): Same.
3592 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3593 Reintroduce definition.
3594 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3595 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3596 (bad_typeid::~bad_typeid()): Same.
3598 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
3600 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3601 * include/Makefile.in: Regenerate.
3603 2002-01-09 Bo Thorsen <bo@suse.co.uk>
3605 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3608 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
3612 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3613 return value of _M_file->sync().
3614 (filebuf::showmanyc): Check for is_open.
3615 * include/std/fstream (filebuf::sync): Tweak.
3616 * testsuite/27_io/filebuf.cc: Tweak.
3618 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
3619 Brad Garcia <garsh@attbi.com>
3621 * testsuite/27_io/filebuf_members.cc: Add test.
3623 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
3624 Craig Rodrigues <rodrigc@mediaone.net>
3627 * po/Makefile.am (mkinstalldirs): Add.
3628 * po/Makefile.in: Regenerate.
3630 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
3632 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3633 testsuite/lib/prune.exp: Delete lines ":In function ..." from
3635 * testsuite/23_containers/map_operators.cc: Remove
3636 dg-excess-errors comment.
3637 * testsuite/23_containers/set_operators.cc: Likewise.
3639 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
3641 * include/bits/stl_function.h: Remove two lines of comments;
3642 adjust copyright years.
3644 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3646 * include/Makefile.am (std_headers): Remove cXXX from list.
3647 (c_base_srcdir): No bits subdirectory.
3648 (c_base_builddir): Same.
3649 (c_base_headers): Adjust names, add ciso646.
3650 (bits_headers): Remove std_xxx.h headers.
3651 * include/Makefile.in: Regenerate.
3653 * include/ext/iterator: Adjust includes.
3654 * include/ext/ropeimpl.h: Same.
3655 * include/ext/stl_hash_fun.h: Same.
3656 * include/ext/algorithm: Same.
3658 * include/backward/bvector.h: Adjust includes.
3659 * include/backward/vector.h: Same.
3660 * include/backward/strstream: Same.
3661 * include/backward/streambuf.h: Same.
3662 * include/backward/stack.h: Same.
3663 * include/backward/set.h: Same.
3664 * include/backward/queue.h: Same.
3665 * include/backward/multiset.h: Same.
3666 * include/backward/multimap.h: Same.
3667 * include/backward/map.h: Same.
3668 * include/backward/list.h: Same.
3669 * include/backward/iterator.h: Same.
3670 * include/backward/iostream.h: Same.
3671 * include/backward/iomanip.h: Same.
3672 * include/backward/fstream.h: Same.
3673 * include/backward/deque.h: Same.
3674 * include/backward/complex.h: Same.
3676 * include/bits/std_algorithm.h: Move to...
3677 * include/std/algorithm: ...here.
3678 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3679 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3680 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3681 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3682 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3683 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3684 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3687 * include/c_std/bits/std_cassert.h: Move to...
3688 * include/c_std/cassert: Here.
3689 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3690 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3691 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3692 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3693 std_cwctype.h: Same.
3694 * include/c_std/cmath: Adjust cmath.tcc include.
3695 * include/c_std/cstdlib: Adjust includes.
3696 * include/c_std/cwchar: Same.
3697 * include/c_std/ctime: Same.
3698 * include/c_std/cstring: Same.
3699 * include/c_std/cstdio: Same.
3700 * include/c_std/bits: Remove directory.
3702 * include/c/bits/std_cassert.h: Move to...
3703 * include/c/cassert: Here.
3704 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3705 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3706 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3707 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3708 std_cwctype.h: Same.
3709 * include/c/bits: Remove directory.
3711 * include/std/cwctype: Remove.
3712 * include/std/cwchar: Remove.
3713 * include/std/ctime: Remove.
3714 * include/std/cstring: Remove.
3715 * include/std/cstdlib: Remove.
3716 * include/std/cstdio: Remove.
3717 * include/std/cstddef: Remove.
3718 * include/std/cstdarg: Remove.
3719 * include/std/csignal: Remove.
3720 * include/std/csetjmp: Remove.
3721 * include/std/cmath: Remove.
3722 * include/std/clocale: Remove.
3723 * include/std/climits: Remove.
3724 * include/std/ciso646: Remove.
3725 * include/std/cfloat: Remove.
3726 * include/std/cerrno: Remove.
3727 * include/std/cctype: Remove.
3728 * include/std/cassert: Remove.
3730 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3731 files and subsituting <xxx>.
3732 * include/bits/valarray_array.h: Same.
3733 * include/bits/stl_uninitialized.h: Same.
3734 * include/bits/stl_alloc.h: Same.
3735 * include/bits/stl_algobase.h: Same.
3736 * include/bits/sstream.tcc: Same.
3737 * include/bits/pthread_allocimpl.h: Same.
3738 * include/bits/ostream.tcc: Same.
3739 * include/bits/localefwd.h: Same.
3740 * include/bits/locale_facets.tcc: Same.
3741 * include/bits/locale_facets.h: Same.
3742 * include/bits/istream.tcc: Same.
3743 * include/bits/char_traits.h: Same.
3744 * include/bits/boost_concept_check.h: Same.
3745 * include/bits/basic_file.h: Same.
3746 * include/std/bitset: Same.
3747 * include/std/complex: Same.
3748 * include/std/fstream: Same.
3749 * include/std/functional: Same.
3750 * include/std/ios: Same.
3751 * include/std/iostream: Same.
3752 * include/std/ostream: Same.
3753 * include/std/sstream: Same.
3754 * include/std/streambuf: Same.
3755 * include/std/string: Same.
3756 * include/std/iterator: Same.
3757 * include/std/valarray: Same.
3759 * src/ios.cc: Adjust includes.
3760 * src/valarray-inst.cc: Same.
3761 * src/string-inst.cc: Same.
3762 * src/stl-inst.cc: Same.
3763 * src/stdexcept.cc: Same.
3764 * src/misc-inst.cc: Same.
3765 * src/localename.cc: Same.
3766 * src/locale-inst.cc: Same.
3767 * src/locale.cc: Same.
3768 * src/limits.cc: Same.
3769 * src/concept-inst.cc: Same.
3770 * src/complex_io.cc: Same.
3771 * src/codecvt.cc: Same.
3772 * src/bitset.cc: Same.
3773 * src/cmath.cc: Same.
3775 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3777 * include/bits/stl_tree.h (rb_tree): Move to...
3778 * include/ext/rb_tree: ...here, new file.
3779 * include/Makefile.am (ext_headers): Add new file.
3780 * include/Makefile.in: Regenerate.
3781 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3782 return_temporary_buffer, struct temporary_buffer): Move to...
3783 * include/ext/memory: ...here.
3784 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
3785 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
3786 * include/backward/tree.h: Include <ext/rb_tree), tweak.
3788 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
3790 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
3791 * include/ext/numeric: ...here, new file.
3792 * include/bits/stl_function.h (identity_element, unary_compose,
3793 binary_compose, compose1, compose2, identity, select1st,
3794 select2nd, project1st + helper, project2nd + helper,
3795 constant_void_fun + helper, constant_unary_fun + helper,
3796 costant_binary_fun + helper, constant0, constant1, constant2,
3797 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
3798 * include/ext/functional: ...here, new file.
3799 * include/Makefile.am (ext_headers): Add new files.
3800 * include/Makefile.in: Regenerate.
3801 * testsuite/ext/headers.cc: Include <ext/numeric> and
3803 * include/backward/algo.h: Include <ext/numeric>, tweak.
3804 * include/backward/function.h: Include <ext/functional>, tweak.
3805 * include/ext/ropeimpl.h: Include <ext/numeric>.
3807 2002-01-03 Jeffrey A Law <law@redhat.com>
3809 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3810 __strtoull declarations with __extension__.
3812 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
3814 * testsuite/lib/prune.exp: Correct regular expression for
3817 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3819 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3820 Change concept checks, as with lower_bound and PR 2054.
3821 * testsuite/ext/concept_checks.cc: Expand test to include those.
3823 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3825 * include/bits/boost_concept_check.h: Import some changes from
3826 upsteam (Boost) version.
3828 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
3830 * include/bits/stl_algobase.h (copy_n + helpers,
3831 lexicographical_compare_3way + helpers): Move to...
3832 * include/ext/algorithm: ...here.
3833 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3834 helpers): Move to...
3835 * include/ext/memory: ...here, new file.
3836 * include/Makefile.am (ext_headers): Add new file.
3837 * include/Makefile.in: Regenerate.
3838 * testsuite/ext/headers.cc: Include <ext/memory>.
3839 * include/backward/algobase.h: Include <ext/memory> and
3840 <ext/algorithm>, tweak.
3841 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
3842 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
3844 2002-01-01 Roger Sayle <roger@eyesopen.com>
3846 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3847 equivalent ___builtin__ versions.
3849 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3850 are available in libstdc++ as the necessary stub implementations
3851 are provided by libmath/stubs.c.
3853 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
3855 * configure.in: Add support for NetBSD cross compiles.
3856 * configure: Regenerate.