1 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
3 * Makefile.am (check-abi): Specify current directory.
4 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
5 abi_baseline_triplet in baseline_file.
6 * Makefile.in, aclocal.m4, configure: Regenerate.
7 * configure.target: Add abi_baseline_triplet with default.
8 * testsuite/abi_check.cc: More error checking.
10 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
12 * config/linker-map.gnu: Verbose comments, clean up spacing.
13 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
15 __allocator: Change class declaration to struct.
16 * docs/html/17_intro/C++STYLE: Fix typo.
17 * include/bits/stl_deque.h, include/bits/stl_list.h,
18 include/bits/stl_map.h, include/bits/stl_multimap.h,
19 include/bits/stl_vector.h: Fix fallout from typo.
21 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
23 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
24 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
26 * aclocal.m4: Regenerate.
27 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
29 * testsuite/Makefile.in: Regenerate.
31 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
33 * testsuite/abi_check.cc: Enhance shell portability.
34 Support older binutils/readelf.
35 * config/abi/i386-unknown-freebsd4.6: Add.
36 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
38 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
40 * docs/html/faq/index.html: Add Loren James Rittle and
41 Paolo Carlini to the list of v3 maintainers.
42 * docs/html/faq/index.txt: Ditto.
43 * docs/html/17_intro/RELEASE-NOTES: Ditto.
45 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
46 Phil Edwards <pme@gcc.gnu.org>
47 Ulrich Drepper <drepper@redhat.com>
49 * Makefile.am (check-abi): New rule.
50 * Makefile.in: Regenerate.
51 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
52 * aclocal.m4: Regenerate.
53 * configure: Regenerate.
54 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
55 (abi_check_SOURCES): Add.
56 * testsuite/Makefile.in: Regenerate.
57 * testsuite/abi_check.cc: New file.
59 * config/abi/i686-pc-linux-gnu: Add.
60 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
62 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
64 * configure.in (libtool_VERSION): Update to 5:1:0.
65 * configure: Regenerate.
67 2002-08-19 Jonathan Wakely <jw@kayari.org>
69 * docs/html/configopts.html, docs/html/documentation.html,
70 docs/html/install.html, docs/html/22_locale/codecvt.html,
71 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
72 docs/html/22_locale/locale.html,
73 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
75 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
77 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
78 _M_buf_size_opt to zero when unbuffering.
79 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
80 Consistency checks for _M_buf_size_opt.
82 Revert PR libstdc++/7445
83 * src/locale.cc (locale::classic): Revert.
85 * docs/html/17_intro/TODO: Add.
87 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
89 * docs/html/documentation.html: Update doxygen links for 3.2.
91 2002-08-15 Steve Ellcey <sje@cup.hp.com>
93 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
94 type from void* to _Unwind_Ptr.
95 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
96 Do not cast landing_pad or base_of_encoded_value to (void *).
97 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
98 Accept _URC_NO_REASON as a valid reason code.
100 2002-08-14 Jonathan Wakely <jw@kayari.org>
102 * docs/html/22_locale/messages.html: Use HTML entities for
105 2002-08-13 Jonathan Wakely <jw@kayari.org>
106 Phil Edwards <pme@gcc.gnu.org>
108 * docs/html/documentation.html: Use HTML entities for punctuation.
110 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
112 * include/bits/deque.tcc, include/bits/list.tcc,
113 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
114 include/bits/stl_list.h, include/bits/stl_map.h,
115 include/bits/stl_multimap.h, include/bits/stl_queue.h,
116 include/bits/stl_stack.h, include/bits/stl_vector.h,
117 include/bits/vector.tcc: Re-indent contents of namespace std,
118 re-wrap comment lines as necessary.
120 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
121 Benjamin Kosnik <bkoz@redhat.com>
123 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
125 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
127 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
129 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
130 * libsupc++/Makefile.in: Regenerate.
132 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
135 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
136 Instantiate with new function objects.
137 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
139 * include/bits/gslice_array.h: Likewise.
140 * include/bits/indirect_array.h: Likewise.
142 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
144 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
145 testsuite/26_numerics/valarray_name_lookup.C
147 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
148 object function surrogates.
149 * include/bits/valarray_meta.h (__shift_left): Fix typo.
150 (_BinFunClos<>): Remove.
151 (_BinFunBase<>): Likewise.
152 (_BinFunBase1<>):Likewise.
153 (_BinFunBase2<>): Likewise.
154 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
155 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
156 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
157 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
158 * include/std/std_valarray.h: Dont #include <functional> anymore.
159 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
160 _Shift_right<>): Remove.
161 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
162 (_DEFINE_BINARY_OPERATOR): Tweak definition.
163 (_DEFINE_LOGICAL_OPERATOR): Remove.
164 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
166 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
168 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
169 (_UnFunClos<>): Same.
170 (_UnBase<>): Reformat. Make first template-parameter non
172 (_UnClos<>): Likewise.
173 (_Expr<>): Reformate. Adjust unary member operator return types.
174 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
175 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
176 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
177 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
178 operator return types. Reformat.
179 (_Bitwise_not): Remove.
180 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
181 * testsuite/26_numerics/valarray_name_lookup.C: New test.
183 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
185 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
186 (scan_is): Use this->is.
187 (scan_not): Likewise.
189 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
191 Revert PR libstdc++/6594
192 * src/strstream.cc (strstreambuf): Revert.
193 (strstreambuf::overflow): Same.
194 (strstreambuf::~strstreambuf): Same.
195 * testsuite/backward/strstream_members.cc (test02): Add.
197 * docs/html/abi.txt: Update. Spell check.
199 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
201 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
202 * testsuite/Makefile.in: Regenerate.
203 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
204 include functexcept.h so that -fno-exceptions will build.
206 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
208 * include/bits/valarray_meta.h (__unary_plus, __negate,
209 __bitwise_not, __plus, __minus, __multiplies, __divides,
210 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
211 __shift_left, __shift_right, __logical_and, __logical_or,
212 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
213 __greater_equal, __greater, __atan2, __pow): New function object
215 (__fun<>): New function traits class.
217 2002-08-01 Rick Danos <rdanos@hotmail.com>
220 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
221 * config/os/newlib/ctype_inline.h (is): Use static_cast.
223 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
225 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
226 * libsupc++/Makefile.in: Regenerate.
228 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
229 Jakub Jelinek <jakub@redhat.com>
231 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
232 GLIBCPP_3.1 to GLIBCPP_3.2.
234 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
235 Mark Mitchell <mark@codesourcery.com>
238 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
240 (__class_type_info): And here.
242 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
246 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
247 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
248 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
249 (__vmi_class_type_info::__base_info): Don't make const, of type
250 __base_class_type_info, as per 2.9.5p6c
251 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
253 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
255 (__pointer_to_member_type_info::__context_class): Change member to
256 __context, as per 2.9.5p9.
257 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
259 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
261 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
263 * libsupc++/tinfo.cc (__do_dyncast): Same.
264 * libsupc++/tinfo.cc (__do_upcast): Same.
266 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
268 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
270 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
272 * docs/html/22_locale/howto.html: Fix.
274 2002-07-31 Alex Kompel <shurik@sequoiap.com>
277 * src/locale.cc (locale::classic): Move locks inside !_S_classic
280 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
282 * docs/html/abi.txt: Update.
284 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
285 Gabriel Dos Reis <gdr@nerim.net>
287 * include/bits/char_traits.h: Remove generic definitions.
288 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
290 * include/bits/istream.tcc (istream::readsome): Don't check
291 against eof, instead use constants.
292 (istream::sync): Same.
293 (istream::sentry::sentry): Use eq_int_type.
294 (istream::get): Same.
295 * include/bits/ostream.tcc: Change __pad to
296 __pad<_CharT, _Traits>::_S_pad.
297 * include/bits/locale_facets.h: Add __pad_traits generic and
298 ostreambuf_iterator specialization.
299 * include/bits/locale_facets.tcc: Change __pad into struct __pad
300 with a _CharT and _Traits template parameter and _S_pad static
302 * src/locale-inst.cc: Update __pad instantiations.
304 * include/std/std_fstream.h: Declare _M_underflow_common
306 * src/fstream.cc: New. Add _M_underflow_common specializations.
307 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
308 (filebuf::_M_underflow_common(bool)): Remove generic version, as
309 sys_ungetc and custom int_types don't get along.
310 * include/std/std_streambuf.h: Add _M_pos.
311 * src/Makefile.am (sources): Add fstream.cc.
312 * src/Makefile.in: Regenerate.
314 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
315 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
316 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
317 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
318 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
319 * testsuite/27_io/filebuf.cc: ...here.
320 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
321 specialization for both.
322 * testsuite/27_io/streambuf.cc: Add instantiation test,
323 testsuite_hooks include.
324 * testsuite/27_io/istream.cc: Same.
325 * testsuite/27_io/ostream.cc: Same.
326 * testsuite/27_io/fstream.cc: Same.
327 * testsuite/27_io/stringstream.cc: Same.
328 * testsuite/27_io/filebuf.cc: Same.
329 * testsuite/27_io/stringbuf.cc: Same.
331 2002-07-29 Alan Modra <amodra@bigpond.net.au>
333 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
334 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
335 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
336 (__test_and_set): Remove.
337 (_STWCX): Define and use.
339 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
341 * libsupc++/new (placement delete): Remove unused parameter names.
343 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
346 * include/std/std_istream.h (basic_iostream): Add typedefs for
347 char_type, int_type, pos_type, off_type, and traits_type.
348 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
349 * testsuite/27_io/istream.cc: Same.
350 * testsuite/27_io/ostream.cc: Same.
351 * testsuite/27_io/filebuf.cc: Same.
352 * testsuite/27_io/stringbuf.cc: Replace content, move to...
353 * testsuite/27_io/stringbuf_members.cc: ...here.
354 * testsuite/27_io/streambuf.cc: Replace content, move to...
355 * testsuite/27_io/streambuf_members.cc: ...here.
356 * testsuite/27_io/stringstream.cc: Replace content, move to...
357 * testsuite/27_io/stringstream_members.cc: ...here.
358 * testsuite/27_io/ios.cc: New file.
359 * testsuite/27_io/fstream.cc: New file.
360 * testsuite/27_io/ifstream.cc: New file.
361 * testsuite/27_io/ofstream.cc: New file.
362 * testsuite/27_io/istringstream.cc: New file.
363 * testsuite/27_io/ostringstream.cc: New file.
365 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
368 * include/bits/istream.tcc (istream::ignore): Don't extract on
370 * testsuite/27_io/istream_unformatted.cc (test10): Add.
372 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
374 * testsuite/27_io/ios_base_type.cc: Move to...
375 * testsuite/27_io/ios_base_types.cc: ...here.
377 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
380 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
381 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
383 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
386 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
387 * include/Makefile.am (backward_headers): Use strstream, not
389 * include/Makefile.in: Regenerate.
390 * include/backward/strstream: Revert.
391 * include/backward/strstream.h: Remove.
392 * src/strstream.cc: Revert.
393 * testsuite/backward/strstream_members.cc: Change include.
395 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
398 * include/bits/ios_base.h (ios_base::streampos): Add.
399 (ios_base::streamoff): Add.
400 * testsuite/27_io/ios_base_type.cc: New.
402 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
405 * libsupc++/new: Add placement delete.
406 * testsuite/18_support/new_delete_placement.cc: New.
408 * docs/html/abi.txt: Fix typos.
410 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
412 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
413 confusing usage of "latest."
414 De-tangle contributor information from introductory notes.
415 Move abi.txt link placement, activate.
417 Move chapter info into old FAQ format.
418 * docs/html/organization.html: Removed, obsoleted by doxygen work.
419 * docs/html/abi.txt: Add notes on testing ABI changes.
421 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
423 * docs/html/abi.txt: New file.
424 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
425 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
426 Import from upstream, R22.
428 * include/bits/char_traits.h, include/bits/stl_iterator.h,
429 include/bits/stl_iterator_base_types.h, libsupc++/exception,
430 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
432 * include/bits/deque.tcc, include/bits/stl_alloc.h,
433 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
434 of deprecated functions until 3.4. (Same timeframe, different text.)
435 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
436 the other sequence classes received.
438 2002-07-18 Brendan Kehoe <brendan@zen.org>
440 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
443 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
446 * include/bits/slice_array.h
447 (slice_array<T>::operator=(const T&)): Constify.
448 * include/bits/gslice_array.h
449 (gslice_array<T>::operator=(const T&)): Likewise.
450 * include/bits/mask_array.h
451 (mask_array<T>::operator=(const T&)): Likewise.
452 * include/bits/indirect_array.h
453 (indirect_array<T>::operator=(const T&): Likewise.
455 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
457 * docs/doxygen/run_doxygen: Remove template parameter names from
458 "Compound List" summary page. Reformat.
459 * docs/html/documentation.html: XHTML fixes.
461 2002-07-16 Andreas Schwab <schwab@suse.de>
463 * libsupc++/new (set_new_handler): Declare to not throw any
465 * libsupc++/new_handler.cc (set_new_handler): Likewise.
467 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
469 * include/Makefile.am (bits_headers): Remove slice.h
470 * include/Makefile.in: Regenerate.
471 * include/bits/slice.h (slice): move to include/bits/slice_array.h
472 * include/bits/slice.h Remove.
473 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
474 * include/bits/slice_array.h: Comply to official coding styles.
475 * testsuite/26_numerics/slice.cc: New test.
477 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
479 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
480 print to match vendor <ctype.h>.
482 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
484 * docs/html/faq/index.html: Fix download links.
485 * docs/html/faq/index.txt: Regenerate.
486 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
488 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
490 * configure.target (target_os switch): Allow for irix6*o32
493 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
495 * include/bits/valarray_meta.h (_UnFunBase): Take a second
496 template parameter. Remove _M_func data member.
497 (_UnFunClos): Take a third template parameter.
498 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
499 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
500 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
502 2002-07-08 Eric Christopher <echristo@redhat.com>
504 * configure.target: Fix comment for mips atomicity. Add
505 mips*-*-linux* target, enable atomic operations there.
506 * config/cpu/mips/atomicity.h: Fix comments, remove
507 #ifndef/#endif. Add push/pop mips2.
509 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
511 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
512 member declarations to avoid compiler warnings and restore 3.1 ABI.
514 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
516 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
519 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
522 * include/bits/stl_deque.h (_Deque_iterator::operator-):
523 Make non-member, as already happens for the comparison
524 operators in accord with DR179 (Ready).
525 * testsuite/23_containers/deque_operators.cc: Add test02.
527 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
528 Jack Reeves <jackw_reeves@hotmail.com>
530 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
531 size_t, from int_type.
532 (basic_streambuf::_M_buf_size_opt): Same.
533 (basic_streambuf::_S_pback_sizex): Same.
534 * include/bits/streambuf.tcc: Same.
535 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
537 (basic_streambuf::uflow): Same.
538 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
540 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
541 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
543 (basic_streambuf::xsputn): Same.
544 (__copy_streambufs): Same.
546 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
548 * include/std/std_memory.h: Fix formatting.
549 * testsuite/20_util/auto_ptr_neg.cc: New.
550 * testsuite/20_util/auto_ptr.cc: Tweaks.
551 * testsuite/23_containers/map_operators.cc (test01): Split into..
552 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
553 * testsuite/23_containers/set_operators.cc: Move to...
554 * testsuite/23_containers/set_operators_neg.cc: ...here.
555 * testsuite/README: Add some more naming rules.
557 2002-07-03 Steev Wilcox <steev@paradigmds.com>
560 * include/ext/stl_hashtable.h: Fix.
561 * testsuite/ext/hash_map.cc: New.
563 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
564 Kenny Simpson <theonetruekenny@yahoo.com>
565 Phil Edwards <pme@gcc.gnu.org>
568 * testsuite/20_util/auto_ptr.cc (test08): New test.
569 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
570 (auto_ptr::operator auto_ptr_ref): Fix typo.
571 General reformatting and doxygenating of the whole file.
573 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
576 * include/c/std_cwchar.h: Fix.
578 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
581 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
582 char* name parameter.
583 * config/locale/gnu/monetary_members.cc: Use it.
584 * config/locale/generic/monetary_members.cc: Same.
585 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
587 * include/backward/strstream.h: Update date.
589 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
592 * include/bits/stl_iterator.h
593 (__normal_iterator::operator-(const __normal_iterator&)):
594 Make non-member, as already happens for the comparison
595 operators in accord with DR179 (Ready).
596 * testsuite/24_iterators/iterator.cc: Add test from the PR.
598 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
601 * acinclude.m4: Simplify determination of gcc_version, and move
602 up to GLIBCPP_CONFIGURE.
603 * configure.in (release_VERSION): Really remove.
604 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
605 * aclocal.m4, configure: Regenerate.
607 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
609 * docs/html/configopts.html, docs/html/install.html: Tweaks.
610 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
611 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
612 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
614 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
616 * include/backward/strstream: Remove namespace std. Transfer to...
617 * include/backward/strstream.h: ...here. Qualify std names.
618 * src/strstream.cc: Remove namespace std.
619 * include/Makefile.am (backward_headers): Remove strstream.h.
620 * include/Makefile.in: Regenerate.
621 * config/linker-map.gnu: Export strstream bits.
623 * src/fstream-inst.cc: Tweak.
624 * src/io-inst.cc: Same.
625 * src/istream-inst.cc: Same.
626 * src/misc-inst.cc: Same.
627 * src/ostream-inst.cc: Same.
628 * src/sstream-inst.cc: Same.
629 * src/valarray-inst.cc: Same.
630 * src/misc-inst.cc: Remove unused instantiations.
632 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
634 * configure.in (libtool_VERSION): Bump to 5:0:0.
635 * configure: Regenerate.
637 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
639 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
640 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
641 * include/std/std_stack.h: Include deque.tcc.
642 * testsuite/23_containers/adaptors.cc: New file.
644 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
646 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
647 * docs/html/ext/howto.html: Update allocator notes.
649 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
651 * configure.in (INTERFACE): Remove.
652 (release_VERSION): Remove.
653 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
654 (libstdcxx_interface): Change. Use gcc methods to determine version.
655 * configure: Regenerate.
656 * aclocal.m4: Regenerate.
658 2002-06-25 DJ Delorie <dj@redhat.com>
660 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
661 GLIBCPP_TOPREL_CONFIGURE.
662 * aclocal.m4: Likewise.
663 * configure.in: Call it before AC_CANONICAL_SYSTEM.
664 * configure: Regenerate.
666 2002-06-25 Jessica Han <jessica@cup.hp.com>
668 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
669 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
670 _GLIBCPP_VTABLE_PADDING is defined.
672 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
674 * include/bits/stl_alloc.h: Additional formatting.
676 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
678 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
680 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
682 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
683 * config/os/*/bits/*: Likewise.
684 * configure.in: Update.
685 * configure: Regenerate.
686 * configure.target: Update.
687 * docs/html/17_intro/porting.texi: Update.
689 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
691 * include/bits/stl_map.h, include/bits/stl_multimap.h,
692 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
693 complete doxygenation.
694 * include/bits/boost_concept_check.h: Minor comment.
696 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
698 * include/c_compatibility: New.
699 * include/c_compatibility/assert.h: New.
700 * include/c_compatibility/ctype.h: New.
701 * include/c_compatibility/errno.h: New.
702 * include/c_compatibility/float.h: New.
703 * include/c_compatibility/iso646.h: New.
704 * include/c_compatibility/limits.h: New.
705 * include/c_compatibility/locale.h: New.
706 * include/c_compatibility/math.h: New.
707 * include/c_compatibility/setjmp.h: New.
708 * include/c_compatibility/signal.h: New.
709 * include/c_compatibility/stdarg.h: New.
710 * include/c_compatibility/stddef.h: New.
711 * include/c_compatibility/stdio.h: New.
712 * include/c_compatibility/stdlib.h: New.
713 * include/c_compatibility/string.h: New.
714 * include/c_compatibility/time.h: New.
715 * include/c_compatibility/wchar.h: New.
716 * include/c_compatibility/wctype.h: New.
718 * include/c/std_cerrno.h: Get out of the way... define errno.
719 * include/c/std_cmath.h: Add abs, modf overloads.
720 Undefine C99 isms. Still not sure how to deal with this sanely.
721 * include/c/std_csetjmp.h: Tweak.
722 * include/c/std_cwchar.h: Include cstddef for size_t.
724 * include/c_std/std_cmath.h: Remove extra function.
726 Pendantic std usage in testsuites.
727 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
729 * testsuite/17_intro/header_cwchar.cc: Tweak.
730 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
732 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
733 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
734 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
735 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
736 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
737 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
738 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
739 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
740 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
741 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
742 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
743 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
744 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
745 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
746 * testsuite/22_locale/num_get_members_char.cc: Same.
747 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
748 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
749 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
750 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
751 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
752 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
753 * testsuite/22_locale/messages_members_char.cc (test03): Same.
754 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
755 * testsuite/22_locale/collate_members_char.cc (test04): Same.
756 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
757 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
758 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
760 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
762 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
765 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
767 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
768 Use size_type instead of unsigned long.
770 2002-06-20 Steve Ellcey <sje@cup.hp.com>
772 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
776 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
778 * include/Makefile.am: Add rules.
779 * include/Makefile.in: Regenerate.
781 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
782 * aclocal.m4: Regenerate.
783 * configure: Regenerate.
784 * configure.target (c_model, c_compatibility): Add.
786 * libsupc++/Makefile.am (c_sources): New.
787 (libsupc___la_SOURCES): Add c_sources.
788 (LTCOMPILE): Remove INCLUDES.
790 (C_COMPILE): New, like COMPILE but without INCLUDES.
791 (cxa_demangle.o): Use C_COMPILE.
792 (dyn-string.o): Use C_COMPILE.
794 * include/c/std_cstdarg.h: Define __need___va_list.
795 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
796 need_NULL, need_offsetof.
798 2002-06-19 Steve Ellcey <sje@cup.hp.com>
800 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
801 definitions in hpux11 cross-build because these functions do
802 not exist on hpux11 (but some exist on hpux10); move defaults out
803 into existing sections.
804 * configure: Regenerate.
806 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
808 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
809 * include/c/std_cwctype.h: Guard.
811 * libsupc++/eh_alloc.cc: Tweak include order.
812 * libsupc++/pure.cc: Use cstdio.
813 * libsupc++/new_op.cc: Remove malloc forward declaration, as
814 cstdlib brings it in. Use std::malloc.
816 * src/Makefile.am (sources): Remove cmath.cc.
817 * src/Makefile.in: Regenerate.
818 * src/cmath.cc: Remove.
820 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
822 * configure.target: Force mips to use the generic cpu routines.
824 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
826 * configure.host: Delete file.
827 * configure.target: More documentation. Factor out common parts of
828 script into "intelligent" settings about defaults. Remove redundancy.
830 * acinclude.m4: Update comments. Do not call configure.host.
831 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
833 * configure.in: Slight reformatting, more comments. Factor out
834 "config/" from all the directories.
835 * docs/html/17_intro/porting.texi: Update and expand.
836 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
839 * aclocal.m4, configure, docs/html/17_intro/porting.html,
840 testsuite/Makefile.in: Regenerate.
842 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
844 * docs/doxygen/TODO: Update.
845 * docs/doxygen/tables.html: Uncomment magical middle column.
846 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
847 * include/bits/stl_queue.h: Doxygenate and reformat.
848 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
849 for deprecated names required by the standard.
851 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
853 * configure.in (target_alias): Fix.
854 * configure: Regenerate.
855 * aclocal.m4: Regenerate.
857 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
859 * include/Makefile.am: Add new files.
860 * include/Makefile.in: Regenerate.
862 * include/bits/stl_deque.h, include/bits/stl_list.h,
863 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
864 * include/bits/deque.tcc, include/bits/list.tcc,
865 include/bits/vector.tcc: ...to here. New files.
867 * include/ext/stl_hashtable.h: Inclide correct full headers.
868 * include/std/std_deque.h: Include .tcc files for now.
869 * include/std/std_list.h: Likewise.
870 * include/std/std_vector.h: Likewise.
872 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
874 * Makefile.am: Add FLAGS_TO_PASS.
875 * Makefile.in: Regenerated.
877 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
878 Benjamin Kosnik <bkoz@redhat.com>
880 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
882 * configure.in: Add support for *-qnx6.[12]*.
883 * configure: Regenerate.
885 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
887 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
888 ctype_noninline.h, os_defines.h: New files.
890 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
892 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
893 include all required headers for test against older POSIX standard.
894 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
895 (ac_setrlimit): Likewise.
896 * aclocal.m4: Regenerate.
897 * configure: Regenerate.
898 * testsuite/testsuite_hooks.cc: Reorder and include all
899 required headers for use against older POSIX standard.
901 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
903 * testsuite/backwards/strstream_members.cc: New.
905 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
907 * include/backwards/strstream: Format.
908 * src/strstream.cc: Format.
910 2002-06-08 Andreas Schwab <schwab@suse.de>
912 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
913 _M_buf_size and _M_buf_size_opt to the new buffer and size.
915 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
917 * config/os/generic/bits/ctype_noninline.h: Tweak format.
919 2002-06-07 Steve Ellcey <sje@cup.hp.com>
921 * src/locale-inst.cc (__codecvt_abstract_base):
922 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
923 * include/bits/istream.tcc (basic_istream): Ditto.
926 * include/bits/ostream.tcc (basic_ostream): Ditto.
932 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
934 * mkcheck.in: Link against local testsuite library.
935 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
936 implementation out...
937 * testsuite/testsuite_hooks.cc: ...to here.
939 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
941 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
942 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
943 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
944 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
945 * testsuite/Makefile.in: Likewise.
947 2002-06-05 David Edelsohn <edelsohn@gnu.org>
949 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
950 Call external symbol.
952 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
954 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
955 Search correct multilib testsuite dir for libv3test.
957 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
958 Gaby Dos Reis <gdr@codesourcery.com>
960 * include/bits/basic_string.tcc
961 (basic_string::_S_construct(forward_iterator_tag):
962 Fix typo in null pointer check.
963 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
965 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
967 * testsuite/22_locale/money_get_members_char.cc
968 (test02): Add decimal point to long double constants.
969 * testsuite/22_locale/money_get_members_wchar_t.cc
971 * testsuite/22_locale/money_put_members_char.cc
972 (test02, test03, test06): Likewise.
973 * testsuite/22_locale/money_put_members_wchar_t.cc:
974 (test02, test03, test06): Likewise.
975 * testsuite/22_locale/num_get_members_char.cc:
976 (test02, test01): Likewise; suffix long long constants with LL.
977 * testsuite/22_locale/num_get_members_wchar_t.cc:
978 (test02, test01): Likewise.
979 * testsuite/22_locale/num_put_members_char.cc:
980 (test02, test01): Likewise.
981 * testsuite/22_locale/num_put_members_wchar_t.cc:
982 (test02, test01): Likewise.
984 2002-06-03 Marc Espie <espie@openbsd.org>
986 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
987 assembly for old assemblers.
989 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
991 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
993 (vector<bool>::swap(reference,reference)): ...to this.
995 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
997 * docs/doxygen/TODO: Update.
998 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
999 some class members are in 14882 order.
1000 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1002 * include/std/std_bitset.h: Update comment.
1003 * src/bitset.cc: Update comments, clean up spacing.
1005 * src/Makefile.am (sources): Alphabetize for convenience.
1006 * src/Makefile.in: Regenerate.
1008 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1010 * include/bits/stl_deque.h, include/bits/stl_list.h,
1011 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1012 Reorder to match 14882. Doxygen blocks for all public members.
1014 2002-05-31 Marcus Meissner <meissner@suse.de>
1017 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1018 * testsuite/23_containers/vector_bool.cc (test02): New test.
1020 2002-05-30 Marc Espie <espie@openbsd.org>
1022 * configure.in: Always check for sys/types.h
1023 * configure: Regenerate.
1025 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1027 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1028 Rebuild the wrapper file every time this proc is called.
1030 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1032 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1034 * testsuite/Makefile.in: Regenerate.
1035 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1036 list_modifiers.cc and rename from 'T'. Move code bodies...
1037 * testsuite/testsuite_hooks.cc: ...to here. New file.
1038 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1039 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1040 Add libv3test.a to link options.
1042 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1044 * src/misc-inst.cc: Define unnecessary algorithm
1045 instantiations. Break apart instantiations into groupings below.
1046 * src/fstream-inst.cc: New.
1047 * src/io-inst.cc: New.
1048 * src/istream-inst.cc: New.
1049 * src/ostream-inst.cc: New.
1050 * src/streambuf-inst.cc: New.
1051 * src/sstream-inst.cc: New.
1052 * src/Makefile.am (sources): Add files.
1053 * src/Makefile.in: Regenerate.
1055 * acinclude.m4: Work around automake 1.4-p5 bug, change
1056 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1058 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1061 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1062 (classic_table): Fix.
1063 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1065 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1067 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1068 _GLIBCPP_USE_WCHAR_T.
1069 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1070 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1071 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1073 2002-05-26 Carlo Wood <carlo@alinoe.com>
1074 Paolo Carlini <pcarlini@unitus.it>
1077 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1078 (__enc_traits::operator=): add missing return statement.
1080 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1083 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1084 (operator>>): If nothing was extracted, don't fail in the
1086 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1088 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1091 * testsuite/22_locale/ctype_narrow_char.cc: New.
1092 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1093 * testsuite/22_locale/ctype_widen_char.cc: New.
1094 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1095 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1096 * testsuite/22_locale/ctype_is_char.cc: ...this.
1097 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1098 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1099 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1100 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1102 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1104 2002-05-24 Dale Peakall <dale@peakall.net>
1107 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1108 * config/locale/generic/ctype_members.cc: Same.
1110 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1113 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1114 for empty string literal.
1115 (ostream::operator<<(const _CharT*)): Same.
1116 (ostream<char>::operator<<(const char*)): Same.
1117 (ostream<char>::operator<<(streambuf*)): Same.
1118 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1119 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1121 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1123 * configure.in (release_VERSION): Update to 3.1.1.
1124 (libtool_VERSION): Update to 4:1:0.
1125 * configure: Regenerate.
1127 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1129 * include/bits/stl_pair.h: Tweak comment markup.
1131 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1133 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1135 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1137 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1139 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1141 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1142 Doxygenate all public members. Reorder to follow 14882.
1143 (vector::push_back(void)): Remove previously-deprecated fn.
1144 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1145 Deprecate for removal in 3.3.
1147 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1149 * docs/html/faq/index.html (5.4): Recommend against -I options for
1150 finding the ext headers.
1151 * docs/html/faq/index.txt: Regenerate.
1153 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1155 * testsuite/23_containers/deque_operators.cc (test01):
1156 Fix minor typo in last commit.
1158 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1161 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1162 operator!=, operator<, operator>, operator>=, operator<=):
1163 Make non-member functions, to allow comparing const and
1164 non-const iterators in any order.
1165 * testsuite/23_containers/deque_operators.cc: New testfile.
1167 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1169 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1170 * docs/html/faq/index.txt: Regenerate.
1172 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1174 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1175 * acinclude.m4: Likewise.
1176 * docs/html/Makefile: Likewise.
1177 * aclocal.m4: Regenerate.
1178 * configure: Regenerate.
1179 * Makefile.in: Regenerate.
1181 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1184 * include/bits/c++config (__USE_MALLOC): Report case where
1185 the user improperly defined it on the command line.
1187 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1189 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1190 Retrieve current limits before setting.
1192 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1195 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1197 (ostream::operator<<(const _CharT*)): Same.
1198 (ostream<char>::operator<<(const char*)): Same.
1199 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1201 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1204 * src/strstream.cc (strstreambuf): Fix leak.
1206 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1209 * include/bits/istream.tcc (istream::getline, ignore):
1210 Upon __idelim (__delim) call sbumpc() not snextc().
1211 * testsuite/27_io/narrow_stream_objects.cc:
1212 Add test08 and test09.
1214 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1216 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1217 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1219 * docs/html/install.html: Fix.
1221 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1223 * include/bits/fstream.tcc
1224 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1226 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1228 * docs/html/install.html: Tweak, add bits about required locales
1229 for the 22_locale tests when using the gnu model.
1231 * testsuite/27_io/istream_sentry.cc: Tweak.
1233 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1235 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1236 Fix typo, use this->is() rather than manually (and perhaps
1237 incorrectly) inlining it.
1238 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1240 * testsuite/22_locale/ctype_scan_char.cc: New file.
1242 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1243 Jakub Jelinek <jakub@redhat.com>
1245 * testsuite/22_locale/money_get_members_char.cc
1246 (test01, test02, test04): Use the de_DE@euro named locale
1247 instead of de_DE to allow for an uniform behaviour with
1248 both old and Euro-era localedata; tweak some tests.
1249 * testsuite/22_locale/money_get_members_wchar_t.cc
1250 (test01, test02, test04): Likewise.
1251 * testsuite/22_locale/money_put_members_char.cc
1252 (test01, test02, test04): Likewise.
1253 * testsuite/22_locale/money_put_members_wchar_t.cc
1254 (test01, test02, test04): Likewise.
1256 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1258 * testsuite/22_locale/codecvt_members_char_char.cc
1259 (test03): Robustify wrt localedata.
1260 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1261 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1262 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1263 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1264 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1265 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1266 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1267 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1268 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1269 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1270 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1271 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1272 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1273 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1274 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1275 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1276 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1277 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1278 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1279 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1280 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1281 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1283 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1285 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1288 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1290 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1291 to 64 for hppa 64-bit port.
1292 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1294 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1296 * acinclude.m4 (enable_symvers): Quote $LD.
1297 * aclocal.m4: Regenerate.
1298 * configure: Likewise.
1300 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1302 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1303 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1306 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1308 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1309 script entry, and set LD to it when configuring multilibs.
1310 * configure: Rebuilt.
1312 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1314 * configure.in: Add support for WindISS.
1315 * configure: Regenerated.
1316 * configure.target: Add support for WindISS.
1317 * config/os/windiss/bits/ctype_base.h: New file.
1318 * config/os/windiss/bits/ctype_inline.h: Likewise.
1319 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1320 * config/os/windiss/bits/os_defines.h: Likewise.
1322 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1324 Test all the facets for the temporary "C" locale switch issue.
1325 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1326 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1327 * testsuite/22_locale/collate_members_char.cc: Add test04.
1328 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1329 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1330 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1331 * testsuite/22_locale/messages_members_char.cc: Add test03.
1332 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1333 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1334 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1335 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1336 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1337 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1338 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1339 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1340 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1341 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1342 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1343 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1344 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1345 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1347 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1348 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1350 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1352 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1353 __EXTENSIONS__): Ensure they are always defined.
1355 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1357 * docs/html/documentation.html: Fix broken link.
1359 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1360 Paolo Carlini <pcarlini@unitus.it>
1362 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1363 testing for the locale_facets.tcc entry of the previous commit.
1364 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1366 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1368 * config/locale/generic/c_locale.cc
1369 (__convert_to_v(float, double, long double)):
1370 Fix the temporary switch to the "C" locale, saving and
1371 restoring in the proper way the current locale.
1372 * config/locale/generic/time_members.cc
1373 (__timepunct<char, wchar_t>::_M_put): Likewise.
1374 * config/locale/gnu/messages_members.cc
1375 (messages<char>::do_get): Likewise.
1376 * config/locale/gnu/messages_members.h
1377 (messages<_CharT>::do_get): Likewise.
1378 * config/locale/gnu/time_members.cc
1379 (__timepunct<char, wchar_t>::_M_put): Likewise.
1380 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1382 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1384 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1385 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1387 * Makefile.in, config.h.in, configure: Regenerate.
1389 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1392 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1393 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1395 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1397 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1399 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1401 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1403 * configure.in: Update local install.html, configopts.html paths.
1404 * configure: Regenerate.
1406 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1408 * config/os/irix/irix5.2/bits/os_defines.h
1409 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1411 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1414 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1416 * docs/html/faq/index.html: Update list in #4.1.
1417 * docs/html/faq/index.txt: Regenerated.
1419 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1421 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1423 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1425 * include/std/std_bitset.h: Fix doxygen comments.
1426 * docs/html/documentation.html: Minor tweaks for 3.1.
1427 * docs/html/27_io/howto.html: Likewise.
1428 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1429 * docs/html/faq/index.html: Likewise.
1430 * docs/html/faq/index.txt: Regenerated.
1432 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1435 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1436 (istreambuf_iterator::equal): Use it.
1437 (istreambuf_iterator::operator*): Use it.
1439 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1442 * include/bits/stl_uninitialized.h
1443 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1444 Fix typo in 2001-07-17 commit: typedef _ValueType to
1445 iterator_traits<_ForwardIter> not <_InputIter>.
1446 * testsuite/23_containers/vector_ctor.cc: Add test04.
1448 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1451 * include/c_std/std_cctype.h: Include bits/c++config.h.
1452 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1454 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1456 * include/ext/stdio_filebuf.h: New file.
1457 * include/ext/enc_filebuf.h: New file.
1458 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1459 * config/io/basic_file_stdio.cc: Same.
1460 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1461 Remove _M_unbuf hacks.
1462 (filebuf::_M_destroy_internal_buffer): Same.
1463 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1464 (filebuf::fd): Remove.
1465 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1466 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1467 (filebuf::fd): Remove.
1468 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1470 (ios_base::_S_ios_destroy): Same.
1471 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1472 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1473 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1475 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1478 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1480 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1483 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1485 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1486 (istreambuf_iterator::operator++): Invalidate on eof.
1487 (istreambuf_iterator::operator++(int)): Same.
1488 (istreambuf_iterator::operator*): Same.
1490 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1492 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1493 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1496 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1499 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1500 (__basic_file::sys_ungetc): Take int.
1501 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1502 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1503 Use sys_getc for unbuffered input.
1504 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1506 * src/ios.cc (_M_grow_words): Adjust error checking.
1507 * testsuite/27_io/ios_base_storage.cc: Same.
1509 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1511 * include/ext/stl_hashtable.h: Import __iterator_category
1513 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1514 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1516 * testsuite/ext/hash_set.cc: New testfile.
1518 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1520 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1522 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1523 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1525 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1527 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1528 Fix and tighten __throw_length_error check.
1529 * testsuite/21_strings/replace.cc (test05): New.
1530 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1532 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
1534 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1535 unconditional flush on lower-layer handle to here...
1536 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1537 ...from here. Optimize remaining _M_file.sync() call pattern.
1538 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1541 2002-04-23 Jason Merrill <jason@redhat.com>
1543 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1544 output-only filebufs.
1545 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1547 (basic_filebuf::_M_set_determinate): Likewise.
1550 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1551 value properly in the trivial case.
1552 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1553 tellg() returns the right value after a read.
1555 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
1557 * config/cpu/mmix/bits/cpu_limits.h: New file.
1558 * configure.target (CPULIMITSH): Use it.
1560 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
1562 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1563 * docs/html/17_intro/porting.html: Rebuilt.
1565 2002-04-20 Jason Merrill <jason@redhat.com>
1568 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1570 (basic_streambuf::_M_set_determinate): Likewise.
1571 (basic_streambuf::_M_is_indeterminate): Likewise.
1572 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1573 non-static data member.
1574 (basic_filebuf::_M_underflow_common): New non-static member function.
1575 (basic_filebuf::_M_underflow, _M_uflow): Call it.
1576 (basic_filebuf::sync): Avoid useless seeking.
1577 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1579 (basic_filebuf::_M_set_determinate): Likewise.
1580 (basic_filebuf::_M_is_indeterminate): Likewise.
1581 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1582 back to _M_out_beg if necessary.
1583 (basic_filebuf::seekoff): Likewise.
1584 (basic_filebuf::_M_underflow_common): Generalization of old
1585 underflow(). Don't seek back to _M_in_beg.
1586 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1587 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1588 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1589 * config/os/mingw32/bits/os_defines.h: Likewise.
1590 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1593 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
1595 * include/bits/istream.tcc (istream::read): Fix.
1596 * testsuite/27_io/istream_unformatted.cc (main): Add.
1598 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
1601 * include/bits/istream.tcc (istream::ignore): Streamline, use
1603 * include/bits/streambuf.tcc: Use this->gptr.
1604 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1606 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
1608 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1609 as type safety is important, especially on solaris.
1610 * include/bits/istream.tcc (istream::read): Clean.
1611 (istream::readsome): Same.
1612 * locale.cc: Wrap lines.
1614 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1615 * testsuite/27_io/instantiations.cc (test): Add bool variable...
1616 * testsuite/21_strings/capacity.cc: Clean.
1618 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1620 * docs/doxygen/doxygroups.cc: New group on binary searching.
1621 * include/bits/stl_algo.h: Document binary searches and merges.
1622 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
1624 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1626 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
1627 * docs/doxygen/run_doxygen: Bump required version.
1628 * docs/doxygen/user.cfg.in: Revert accidental change.
1629 * docs/html/faq/index.html: Reindent a block of links.
1630 (4.4): New note on using dlsym.
1631 * docs/html/faq/index.txt: Regenerated.
1633 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1635 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
1637 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1639 * config/linker-map.gnu (__malloc_alloc_template): Add.
1640 (__default_alloc_template): Same.
1641 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1643 (__default_alloc_template): Same.
1645 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1647 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1649 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
1651 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1652 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1653 (__malloc_alloc_template): Conditionalize.
1655 * include/bits/istream.tcc: Remove sputbackc calls.
1657 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1659 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
1661 * testsuite/24_iterators/rel_ops.cc: New test.
1663 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1665 * include/bits/type_traits.h (__normal_iterator): Declare in
1666 __gnu_cxx. Adjust use at global namespace.
1667 * include/bits/stl_iterator.h (__normal_iterator): Move definition
1668 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
1669 * include/bits/basic_string.h (basic_string): Adjust use of
1671 * include/bits/stl_vector.h (_Alloc>): Likewise.
1672 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1673 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1675 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
1679 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1681 (__basic_file::close): Call fflush. Correct return if fclose ok.
1682 (__basic_file::is_open): Make const.
1683 Change __c_file_type to __c_file.
1684 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1685 (__basic_file::is_open): Make const.
1686 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1687 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1688 (filebuf::_M_unbuf): Add.
1689 (filebuf::_M_file): Change to non-pointer.
1690 (filebuf::_M_allocate_pback_buffer): Remove.
1691 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1692 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1693 Change initialization list for _M_file change.
1694 (filebuf::_M_allocate_pback_buffer): Remove.
1695 Change _M_file usage to reflect non-pointer data member.
1697 * config/locale/generic/c_locale.cc
1698 (locale::facet::_S_create_c_locale): Add parameter.
1699 * config/locale/generic/collate_members.cc: Change
1700 _M_compare_helper to _M_compare.
1701 Change _M_transform_helper to _M_transform.
1702 * config/locale/generic/monetary_members.cc: Changeup data types.
1704 * config/locale/generic/numeric_members.cc: Add dtors.
1705 * config/locale/generic/time_members.cc: Add dtors.
1706 * config/locale/gnu/c_locale.cc: Add parameter.
1707 * config/locale/gnu/collate_members.cc:Change
1708 _M_compare_helper to _M_compare.
1709 Change _M_transform_helper to _M_transform.
1710 * config/locale/gnu/ctype_members.cc: Better error checking.
1711 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1712 * config/locale/gnu/messages_members.cc: Tweak comment.
1713 * config/locale/gnu/monetary_members.cc: Change data types.
1715 * config/locale/gnu/numeric_members.cc: Add dtors, better error
1717 * config/locale/gnu/time_members.cc: Same.
1718 * config/locale/ieee_1003.1-2001/c_locale.cc
1719 (locale::facet::_S_create_c_locale): Add parameter.
1720 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1721 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1724 * include/bits/locale_facets.h (moneypunct): Use string literals.
1727 (__timepunct): Same.
1728 (locale::_Impl::_M_facets): Change from vector to array.
1729 (locale::_Impl::_M_names): Change from array of strings to array
1731 (locale::facet::_S_create_c_locale): Add parameter.
1732 (locale::locale::_S_num_facets): Move to...
1733 (locale::_Impl::_M_facets_size): Here.
1734 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1736 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1737 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1738 (locale::_Impl::_Impl(string, size_t)): Change to
1739 (locale::_Impl::_Impl(const char*, size_t)): This.
1741 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1742 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1743 (streambuf::_S_pback_size): This.
1745 * src/globals.cc: Add pre-allocations for "C" facets.
1746 * src/locale-inst.cc: Remove vector instantiations.
1747 * src/locale.cc: Remove vector include. Fixups for _M_names,
1749 * src/localename.cc: Same.
1751 * include/bits/stl_vector.h: Fix odd formatting.
1753 * include/bits/basic_string.tcc: Tweak comment.
1755 * libsupc++/new: Make sure parameters are uglified.
1756 * libsupc++/typeinfo: Same.
1758 * testsuite/22_locale/num_get_members_char.cc: Fixup.
1759 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1760 * testsuite/27_io/filebuf_members.cc: Same.
1762 2002-04-12 Steve Ellcey <sje@cup.hp.com>
1764 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1765 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1766 does not define strtoll or strtoull, but does define strtol
1767 and strtoul which are the same since in 64 bit mode
1768 sizeof(long) == sizeof(long long).
1770 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
1772 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
1773 trailing spaces, indentation, and macro names. Make exception
1774 messages more informative.
1776 2002-04-11 Richard Henderson <rth@redhat.com>
1778 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1779 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1780 (basic_ostream<>::operator<<(long long)): Same.
1782 2002-04-11 Richard Henderson <rth@redhat.com>
1784 * config/linker-map.gnu: Add __gxx_personality_sj0.
1786 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1789 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1791 Remove forward declaration of vector.
1793 * include/bits/locale_facets.tcc: Remove vector include.
1794 (use_locale): Adjust.
1795 (has_locale): Adjust.
1796 * src/locale.cc: Adjust.
1797 * src/localename.cc: Same.
1799 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1800 Richard Henderson <rth@redhat.com>
1802 * include/bits/sstream.tcc: Clean up bit ops.
1803 * include/bits/fstream.tcc: Same.
1805 2002-04-09 Jakub Jelinek <jakub@redhat.com>
1807 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1808 (__num_base::_S_scale_oct): Remove.
1809 * src/locale.cc (__num_base::_S_scale_hex): Remove.
1810 (__num_base::_S_scale_oct): Remove.
1812 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1815 * testsuite/23_containers/bitset_members.cc: New test.
1816 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1817 (_S_bit_count): Here.
1818 (_First_one::_S_first_one): Move...
1819 (_S_first_one): Here.
1821 * src/bitset.cc: Adjust.
1822 * config/linker-map.gnu: Export.
1824 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
1827 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1828 * include/std/std_fstream.h: Clean.
1829 * include/bits/ostream.tcc: Remove extraneous variables.
1830 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1831 open modes and which modes.
1832 (stringbuf::seekpos): Same.
1833 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1835 2002-04-05 Jonathan Wakely <jw@kayari.org>
1837 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1838 random_shuffle, partition, stable_partition, sort, stable_sort,
1839 partial_sort, partial_sort_copy, nth_element): Doxygenate.
1841 2002-04-05 David S. Miller <davem@redhat.com>
1843 * config/os/gnu-linux/bits/os_defines.h
1844 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1846 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
1849 via gawrilow@math.tu-berlin.de
1850 * acinclude.m4 (version_specific_libs): Fix combo usage with
1851 --with-gxx-include-dir.
1852 * aclocal.m4: Regenerate.
1855 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
1857 As per DR 184, libstdc++/3139
1858 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1859 (numeric_limits<bool>::is_iec559): False.
1860 (numeric_limits<bool>::is_modulo): False.
1862 * testsuite/27_io/ios_init.cc: Add instantiations.
1864 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
1867 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1868 * testsuite/27_io/ios_init.cc (tests04): Add test.
1871 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1872 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1873 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1874 * include/bits/istream.tcc: Use _M_fctype, make consistent with
1876 * testsuite/27_io/ios_init.cc (tests03): Add test.
1878 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
1880 * include/Makefile.am (install-data-local): Use mkinstalldirs.
1881 * include/Makefile.in: Regenerate.
1883 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
1884 Nathan Myers <ncm@cantrip.org>
1885 Philip Martin <philip@codematters.co.uk>
1887 * include/bits/basic_string.h
1888 (replace(i1, i2, _CharT* k1, _CharT* k2),
1889 replace(i2, i2, const _CharT* k1, const _CharT* k2),
1890 replace(i1, i2, iterator k1, iterator k2,
1891 replace(i1, i2, const_iterator k1, const_iterator k2):
1892 New specializations to optimize for the common cases of
1893 pointers and iterators.
1894 (replace(pos, n1, s, n2)): Tweak.
1895 * include/bits/basic_string.tcc: Tweak comments.
1896 * testsuite/21_strings/replace.cc (test04): New tests.
1898 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1901 * acinclude: More extensive checks for msgfmt, --enable-nls.
1902 * aclocal.m4: Regenerate.
1903 * configure: Regenerate.
1905 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1907 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
1908 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
1909 * docs/html/18_support/howto.html: Document the demangler.
1910 * docs/html/17_intro/howto.html: And link to it.
1912 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
1913 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
1915 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1917 * config/linker-map.gnu: Export __verbose_terminate_handler.
1918 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
1919 Make new LTCOMPILE variable, use it in new special build rules.
1920 * libsupc++/Makefile.in: Rebuild.
1921 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
1922 runtime __cxa_demangle.
1924 * docs/html/install.html: Update prereqs and instructions.
1925 * docs/html/19_diagnostics/howto.html: Bring naming for
1926 verbose_terminate_handler into line with reality.
1928 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1931 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1932 (basic_ios::_M_streambuf_state): Move.
1933 * include/bits/ios_base (ios_base): To here.
1934 * include/bits/ios_base.h (ios_base::_S_local_words): To
1936 (ios_base::_M_word_array): To _M_local_word.
1937 (ios_base::_M_words_limit): To _M_word_size.
1938 (ios_base::_M_words): To _M_word.
1940 * include/bits/basic_ios.tcc: Adjust.
1941 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1942 * testsuite/27_io/ios_base_storage.cc: Add tests.
1945 Kenny Simpson <theonetruekenny@yahoo.com>
1946 * include/bits/ios_base.h: Fix.
1948 Richard Henderson <rth@redhat.com>
1949 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1952 * include/bits/basic_string.h: Tweak formatting.
1954 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1956 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1957 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1958 By definition, sizeof(char) == 1.
1959 * include/bits/locale_facets.tcc (money_get::do_get,
1960 money_put::do_put): Ditto.
1961 * testsuite/21_strings/inserters_extractors.cc
1964 2002-03-30 Richard Henderson <rth@redhat.com>
1967 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1968 data out of the exception struct before calling unexpectedHandler.
1970 2002-03-28 Roger Sayle <roger@eyesopen.com>
1972 * include/c_std/std_cmath.h: To prevent problems overloading
1973 g++ builtins, use the double variants from the global namespace
1974 before defining float and long double variants in std::.
1976 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1978 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1980 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1982 * testsuite/24_iterators/istream_iterator.cc
1983 (test02): New tests.
1985 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1986 Paolo Carlini <pcarlini@unitus.it>
1988 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1989 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1990 fix i_lit_base e_lit_base arrays, making them independent
1991 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1993 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1995 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1996 allocate at least a byte.
1998 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2000 * testsuite/27_io/streambuf.cc (test07): Fix.
2003 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2005 * docs/doxygen/Intro.3: Date tweak.
2006 * docs/doxygen/TODO: Update.
2007 * docs/doxygen/doxygroups.cc: Point to tables.html.
2008 * docs/doxygen/mainpage.html: Date tweak.
2009 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2010 * docs/doxygen/tables.html: Fill in the blanks.
2012 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2013 * include/bits/stl_algo.h: Likewise; use expanded form.
2014 * include/bits/stl_alloc.h: Likewise.
2015 * include/bits/stl_construct.h: Likewise.
2016 * include/bits/stl_deque.h: Likewise.
2017 * include/bits/stl_iterator_base_types.h: Likewise.
2018 * include/bits/stl_list.h: Likewise.
2019 * include/bits/stl_relops.h: Likewise.
2020 * include/bits/stl_tempbuf.h: Likewise.
2021 * include/bits/stl_vector.h: Likewise.
2022 * include/std/std_memory.h: Likewise.
2024 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2025 * include/bits/stl_list.h: Likewise.
2026 * include/bits/stl_vector.h: Likewise.
2028 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2030 * include/c/: Guard with _CPP_.
2031 * include/c_std/: Same.
2032 * include/Makefile.am: Fixup install, link routines for null
2033 c_base_headers_extra scenarios.
2034 * include/Makefile.in: Regerate.
2036 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2037 Richard Henderson <rth@redhat.com>
2039 * testsuite/22_locale/codecvt_members_unicode_char.cc
2040 (test01, test02): make sure that the i_lit_base array
2041 is sufficiently aligned.
2043 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2045 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2048 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2050 * testsuite/22_locale/collate_byname.cc
2051 (test01): compare the result of collate::compare with
2052 that of collate::transform + string::compare, not with
2053 that of collate::transform + collate::compare; values
2054 returned by collate::compare are normalized, therefore
2057 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2058 Jakub Jelinek <jakub@redhat.com>
2060 * config/locale/gnu/messages_members.h: Correct conditional.
2061 * config/locale/gnu/messages_members.cc: Same.
2062 * config/locale/gnu/time_members.cc: Same.
2064 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2065 Paolo Carlini <pcarlini@unitus.it>
2067 * testsuite/22_locale/codecvt_members_unicode_char.cc
2068 (test01, test02): Fix i_lit_base arrays, making them
2069 independent from the endianness of the platform.
2071 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2073 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2074 signbit and __signbit directly.
2075 * aclocal.m4: Regenerate.
2076 * configure: Regenerate.
2077 * config.h.in: Regenerate.
2078 * libmath/Makefile.am: Simplify.
2079 * libmath/Makefile.in: Regenerate.
2080 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2082 * include/Makefile.am: Clean up handling of extra "C" header files.
2083 Add hooks for "C" compatibility headers.
2084 * include/Makefile.in: Regenerate.
2086 * include/c/*: Formatting tweaks, cleanups.
2087 * include/c_std/*: Same.
2089 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2091 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2092 * config/locale/gnu/messages_members.cc: Same.
2093 * config/locale/gnu/time_members.cc: Same.
2095 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2097 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2099 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2101 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2102 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2103 * aclocal.m4: Regenerate.
2104 * configure: Likewise.
2106 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2107 Ulrich Drepper <drepper@redhat.com>
2109 * src/locale-inst.cc (__convert_from_v): Add an additional
2110 __size parameter in the declarations.
2111 * include/bits/locale_facets.tcc
2112 (__convert_from_v): When available (that is,
2113 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2114 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2115 being defined or not, call and use __convert_from_v in the
2117 (num_put::_M_convert_int): Same here.
2118 (money_put::do_put(long double)): Same here.
2120 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2122 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2123 * docs/html/faq/index.txt: Regenerate.
2125 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2127 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2128 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2129 --enable-libunwind-exceptions is set.
2130 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2131 macro to check for libunwind.
2132 * configure: Regenerate.
2133 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2134 LIBUNWIND_FLAG to libstdc link line.
2135 * src/Makefile.in: Regenerate.
2137 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2139 * docs/html/faq/index.html: Add OS X workaround.
2140 * docs/html/17_intro/TODO: Update.
2142 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2144 * include/bits/locale_facets.tcc
2145 (money_put::do_put(long double)): Fix dimensioning of
2146 temporary buffers to avoid risk of overruns.
2147 (money_put::do_put(string)): Same for the buffer used to
2148 add the grouping chars.
2149 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2150 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2152 * include/bits/locale_facets.tcc
2153 (collate::do_transform): Simplify.
2155 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2157 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2158 * configure.in: Add comments pointing the way for autoconf 2.5x.
2159 * aclocal.m4, config.h.in, configure: Regenerate.
2161 2002-03-18 Philipp Thomas <pthomas@suse.de>
2163 * include/backward/hash_map.h: hash, hashtable, hash_map and
2164 hash_multimap are in namespace __gnu_cxx.
2165 include/backward/hash_set.h: hash, hashtable, hash_set and
2166 hash_multiset are in namespace __gnu_cxx.
2167 include/backward/hashtable.h: hash and hashtable are in
2168 namespace __gnu_cxx.
2169 include/backward/rope.h: char_producer, sequence_buffer,
2170 rope, crope and wrope are in namespace __gnu_cxx.
2171 include/backward/slist.h: slist is in namespace __gnu_cxx.
2172 * testsuite/backward/header_hash_map_h.cc
2173 testsuite/backward/header_hash_set_h.cc
2174 testsuite/backward/header_hashtable_h.cc
2175 testsuite/backward/header_rope_h.cc
2176 testsuite/backward/header_slist_h.cc
2177 testsuite/backward/header_tempbuf_h.cc: New tests for
2178 checking that we're using the correct namespace.
2180 2002-03-17 Jason Merrill <jason@redhat.com>
2183 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2184 (check_exception_spec): Call it. Take the thrown pointer.
2185 (__cxa_call_unexpected): Pass it.
2186 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2188 2002-03-15 Anthony Green <green@redhat.com>
2190 * configure.in: Remove useless is_mingw32.
2191 * configure: Rebuilt.
2193 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2195 * testsuite/22_locale/collate_members_char.cc
2196 (test01): compare the result of collate::compare with
2197 that of collate::transform + string::compare, not with
2198 that of collate::transform + collate::compare.
2199 (test01): values returned by collate::compare are
2200 normalized, therefore test against +-1.
2201 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2203 2002-03-12 Loren Rittle <ljrittle@acm.org>
2205 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2206 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2208 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2209 Per Liboriussen <liborius@stofanet.dk>
2211 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2213 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2215 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2217 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2218 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2220 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2221 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2223 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2224 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2226 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2228 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2230 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2231 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2232 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2233 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2234 that memory limits are in place.
2235 (test03): Add tests.
2237 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2239 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2240 * aclocal.m4: Regenerate.
2241 * config.h.in: Regenerate.
2242 * configure: Regenerate.
2243 * include/c_std/std_cwctype.h: Guard.
2245 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2247 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2248 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2249 * aclocal.m4: Regenerate.
2250 * configure: Regenerate.
2252 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2254 * include/bits/stl_bvector.h: Fix warning.
2256 2002-03-11 Richard Henderson <rth@redhat.com>
2258 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2260 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2262 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2263 New function. Build the list of tests to run in testsuite_files.
2264 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2266 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2268 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2269 platforms with no weak support.
2270 * testsuite/27_io/ios_init.cc: Likewise.
2272 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2274 * include/bits/locale_facets.tcc (time_put::do_put):
2275 Consider sizeof(char_type) in allocating the buffer.
2277 * include/bits/locale_facets.tcc (collate::do_tranform):
2278 Remove redundant variable.
2280 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2281 Paolo Carlini <pcarlini@unitus.it>
2283 * config/locale/generic/collate_members.cc
2284 (collate<char,wchar_t>::_M_compare_helper): normalize
2285 values returned by strcoll and wcscoll.
2286 * config/locale/gnu/collate_members.cc
2287 (collate<char,wchar_t>::_M_compare_helper): ditto
2288 for __strcoll_l and __wcscoll_l.
2290 2002-03-10 Anthony Green <green@redhat.com>
2292 * configure.in: Support cross builds to mingw32 target.
2293 * configure: Rebuilt.
2295 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2297 * include/bits/locale_facets.tcc (collate::do_transform):
2298 Rewrite to fix problems with long transformed strings.
2300 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2302 * c_locale_generic.cc: Move to...
2303 * generic/c_locale.cc
2304 * c_locale_generic.h: Move to...
2305 * generic/c_locale.h
2306 * codecvt_specializations_generic.h: Move to...
2307 * generic/codecvt_specializations.h
2308 * collate_members_generic.cc: Move to...
2309 * generic/collate_members.cc
2310 * ctype_members_generic.cc: Move to...
2311 * generic/ctype_members.cc
2312 * messages_members_generic.cc: Move to...
2313 * generic/messages_members.cc
2314 * messages_members_generic.h: Move to...
2315 * generic/messages_members.h
2316 * moneypunct_members_generic.cc: Move to...
2317 * generic/monetary_members.cc
2318 * numpunct_members_generic.cc: Move to...
2319 * generic/numeric_members.cc
2320 * time_members_generic.cc: Move to...
2321 * generic/time_members.cc
2322 * c_locale_gnu.cc: Move to...
2324 * c_locale_gnu.h: Move to...
2326 * collate_members_gnu.cc: Move to...
2327 * gnu/collate_members.cc
2328 * ctype_members_gnu.cc: Move to...
2329 * gnu/ctype_members.cc
2330 * messages_members_gnu.cc: Move to...
2331 * gnu/messages_members.cc
2332 * messages_members_gnu.h: Move to...
2333 * gnu/messages_members.h
2334 * moneypunct_members_gnu.cc: Move to...
2335 * gnu/monetary_members.cc
2336 * numpunct_members_gnu.cc: Move to...
2337 * gnu/numeric_members.cc
2338 * time_members_gnu.cc: Move to...
2339 * gnu/time_members.cc
2340 * c_locale_ieee_1003.1-200x.cc: Move to...
2341 * ieee_1003.1-2001/c_locale.cc
2342 * c_locale_ieee_1003.1-200x.h: Move to...
2343 * ieee_1003.1-2001/c_locale.h
2344 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2345 * ieee_1003.1-2001/codecvt_specializations.h
2346 * messages_members_ieee_1003.1-200x.cc: Move to...
2347 * ieee_1003.1-2001/messages_members.cc
2348 * messages_members_ieee_1003.1-200x.h: Move to...
2349 * ieee_1003.1-2001/messages_members.h
2351 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2352 * aclocal.m4: Regenerate.
2353 * configure: Regenerate.
2354 * src/Makefile.am (sources): Change to monetary and numeric.
2355 * src/Makefile.in: Regenerate.
2356 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2358 2002-03-08 scott snyder <snyder@fnal.gov>
2361 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2362 Allow one more digit of precision.
2363 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2364 write a double and read back in the same value.
2366 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2368 * include/std/std_limits.h: Move static const data members out of
2369 generic template, into base class __numeric_limits_base.
2370 * src/limits.cc: Add definitions.
2371 * config/linker-map.gnu: Add __numeric_limits_base.
2372 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2374 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2376 * include/bits/stl_alloc.h: Add extern implicit allocator
2378 * include/bits/basic_string.tcc: Tweak.
2379 * include/bits/locale_facets.tcc: Remove default args. Add
2380 has_facet, use_facet extern instantiations.
2381 * src/stl-inst.cc: Add explicit instantiation.
2382 * src/locale-inst.cc: Clean. Remove locale member template
2385 * testsuite/22_locale/operators.cc (test02): Enable.
2387 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2388 Stephen M. Webb <stephen.webb@bregmasoft.com>
2390 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2391 (_S_rb_tree_black): Make enum.
2393 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2394 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2395 (__stl_threshold): _M_threshold, enum.
2396 * src/stl-inst.cc: Same.
2397 * config/linker-map.gnu: Remove.
2399 * testsuite/23_containers/vector_bool.cc: New.
2401 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2403 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2404 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2405 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2406 referring to the collection as a whole. New section on which macros
2407 can be redefined by the user.
2408 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2409 * docs/html/20_util/howto.html: Update link to SGI.
2410 * docs/html/faq/index.html: Update snapshot versions. New entry
2411 on why g++ (but not gcc) must currently predefine certain macros.
2412 * docs/html/faq/index.txt: Regenerated.
2414 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2415 names in declaration.
2416 (basic_string::compare): These are no longer optional.
2417 * include/bits/ostream.tcc: Tweak closing brace placement.
2418 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2419 * include/std/std_sstream.h: Fix typo in comment.
2420 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2421 * src/locale.cc: Likewise.
2423 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2426 * include/bits/stl_vector.h (vector::push_back()): Guard with
2427 _GLIBCPP_DEPRECATED.
2429 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2431 * include/bits/c++config: Fix misplaced leading blanks on first line.
2433 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2435 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2436 * README (libmath): Make clear.
2438 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2440 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2441 script globbing in ld.
2442 * aclocal.m4: Rebuilt.
2443 * configure: Rebuilt.
2445 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2447 * docs/html/17_intro/RELEASE-NOTES: Update.
2448 * README: Format subdirectories.
2450 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2453 * include/bits/locale_facets.tcc
2454 (num_get::_M_extract_float): Fix the parsing of __dec, since
2455 the standard prescribes that if no grouping characters are
2456 seen, no grouping check is applied.
2457 * testsuite/22_locale/num_get_members_char.cc: Add test05
2458 distilled from the PR.
2459 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2461 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2463 * docs/html/17_intro/porting-howto.xml: Refer to
2464 http://www.oasis-open.org for docbookx.dtd.
2465 * docs/html/17_intro/porting-howto.html: Regenerated.
2467 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2470 * include/std/std_sstream.h: Remove trailing spaces.
2471 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2472 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2474 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2476 * testsuite/22_locale/num_get_members_char.cc (test04):
2477 Use a named locale expecting grouping (de_DE).
2478 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2480 * testsuite/27_io/ios_manip_basefield.cc (test01):
2481 Extend coverage, uniform treatment of hexs and octs.
2483 2002-02-28 Richard Henderson <rth@redhat.com>
2485 * config/linker-map.gnu: Export operator new with unsigned long,
2486 and with std::nothrow_t. Likewise operator delete.
2488 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2490 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2491 Admit grouping for octals and hexadecimals too.
2492 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2493 (test01): Tweak "." -> "," in void* test.
2494 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2496 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2497 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2499 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2501 * testsuite/27_io/ios_manip_basefield.cc (test01):
2502 Fix for 64 bit machines.
2504 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2507 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2509 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2510 (basic_ios::_M_fill_init): New.
2511 (basic_ios::fill()): Delay dealing with _M_fill.
2513 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2514 (ios_base::_M_call_callbacks): Adjust.
2515 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2517 2002-02-26 Loren Rittle <ljrittle@acm.org>
2519 * include/Makefile.am (thread_target_headers): Unconditionally
2520 stage and install gthr-posix.h.
2521 (${target_builddir}/gthr-posix.h): New rule cloned off
2522 ${target_builddir}/gthr-default.h.
2523 (${target_builddir}/gthr-default.h): Support chained inclusion
2524 of gthr support headers.
2525 * include/Makefile.in: Rebuilt.
2527 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2529 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2530 Group all the integral types, not only decs.
2531 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2532 tests, add a few more.
2534 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
2536 * src/ios.cc (ios_base::~ios_base): Tweak.
2537 (ios_base::_M_call_callbacks): Deal with null __p.
2538 (ios_base::ios_base): Set _M_callbacks.
2539 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2540 * testsuite/27_io/ios_init.cc (test02): Fix.
2542 * mkcheck.in (static_fail): Failed links go to output file.
2544 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
2546 * docs/html/faq/index.html: Update.
2547 * docs/html/faq/index.txt: Regenerate.
2549 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
2551 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
2552 * aclocal.m4: Regenerate.
2553 * docs/html/configopts.html: Document --enable-symvers.
2554 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
2556 2002-02-22 Philipp Thomas <pthomas@suse.de>
2558 * include/backward/tempbuf.h: get_temporary_buffer and
2559 return_temporary_buffer are in namespace std, not in __gnu_cxx.
2561 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
2563 * configure.in (target_alias): Default to yes.
2564 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2565 libgcc to default case.
2567 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
2569 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
2570 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
2571 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
2572 * aclocal.m4: Regenerate.
2573 * configure: Regenerate.
2574 * config/linker-map.dummy: New file. Contains nothing useful.
2576 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
2578 * testsuite/22_locale/money_put_members_char.cc: Fix.
2579 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2581 * testsuite/27_io/standard_manipulators.cc: New file.
2583 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2584 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2586 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
2588 * config/os/mingw32/bits/ctype_noninline.h
2589 (ctype<char>::ctype): Remove default args from parm list.
2590 * config/os/djgpp/bits/ctype_noninline.h: Same.
2592 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2594 * include/std/std_iomanip.h: Inline, tweaks.
2595 * config/linker-map.gnu: Remove hacks.
2597 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2598 * testsuite/27_io/ios_init.cc: Same.
2599 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2600 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2602 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2604 * config/linker-map.gnu: Export global vtable, typeinfo, guard
2605 variable, and thunk info as per CXXABI docs.
2607 2002-02-19 Loren Rittle <ljrittle@acm.org>
2609 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2610 * include/Makefile.in: Rebuilt.
2612 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2614 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2615 with size3 for the string collations of str5.
2617 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
2620 * include/bits/locale_facets.tcc (money_put::do_put):
2621 For the space field use __fill instead of ' ', uniformly.
2622 * testsuite/22_locale/money_put_members_char.cc:
2623 Add test05 distilled from PR.
2624 (test01-02-03): Trim some '*' to ' '.
2625 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2627 2002-02-18 Loren Rittle <ljrittle@acm.org>
2630 * include/Makefile.am (thread_builddir): Remove (map all
2631 existing uses to target_builddir).
2632 (thread_headers): Rename to...
2633 (thread_target_headers): ...this.
2634 (stamp-thread): Remove.
2635 (stamp-target): Correctly state the position as built.
2636 Update all dependencies to match the new reality. Remove all
2637 dependency calculations on directories.
2638 * include/Makefile.in: Rebuilt.
2640 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
2642 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2643 * include/bits/fstream.tcc: Same.
2644 * include/bits/sstream.tcc: Same.
2645 * include/bits/ostream.tcc: Same.
2646 * include/bits/istream.tcc: Same.
2647 * include/bits/streambuf.tcc: Same.
2648 * include/bits/basic_ios.tcc: Same.
2649 * include/bits/basic_string.tcc: Same.
2651 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2653 * include/std/std_iosfwd.h: Don't guard typedefs with
2654 _GLIBCPP_USE_WCHAR_T
2655 * include/bits/stringfwd.h: Same.
2657 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2659 * src/locale.cc (moneypunct_byname): Remove definitions.
2660 * include/std/std_streambuf.h (streambuf::operator=): Return.
2662 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2665 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2666 explicit instantiation.
2667 (string::_Rep::_S_max_size): Same.
2668 * include/bits/basic_string.tcc: Add extern explicit
2669 instantiations for string, wstring.
2670 * include/bits/basic_ios.tcc: Add extern explicit instantiations
2672 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2673 * include/bits/istream.tcc: Same, for istream, wistream.
2674 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2676 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2677 istringstream, wistringstream, ostringstream, wostringstream,
2678 stringstream, wstringstream.
2679 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2680 wifstream, ofstream, wofstream, fstream, wfstream.
2681 * src/misc-inst.cc: Correct comments.
2682 Add iomanip instantiations for wide streams.
2683 * include/std/std_iomanip.h: Same.
2684 * include/bits/locale_facets.tcc: Same.
2686 * include/std/std_streambuf.h: Correct
2687 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2688 * include/std/std_sstream.h: Same.
2689 * include/std/std_ostream.h: Same.
2690 * include/std/std_istream.h: Same.
2691 * include/std/std_fstream.h: Same.
2693 * include/std/std_streambuf.h: Add definitions for private copy
2694 ctor and assignment operator.
2695 * include/std/std_istream.h: Remove declared but undefined copy
2696 ctor and assignment operator. This is taken care of in ios_base,
2697 so adding it in the derived class as well is superfluous.
2698 * include/std/std_ostream.h: Same.
2700 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2701 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2703 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2705 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2706 Add typeinfo bits. Smooth.
2707 * aclocal.m4: Regenerate.
2709 * src/Makefile.in: Same.
2711 2001-02-14 Joel Sherrill <joel@OARcorp.com>
2713 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2714 which do not have a CAS instruction.
2716 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2718 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2719 * configure.in: Call it.
2720 * config/linker-map.gnu: New file, initial incomplete revision.
2721 * src/Makefile.am: Optionally pass version script to the linker.
2722 * aclocal.m4: Regenerate.
2723 * configure: Regenerate.
2724 * src/Makefile.in: Regenerate.
2726 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
2728 * src/localename.cc: Remove stdexcept include.
2729 * src/locale-inst.cc: Same.
2730 * src/locale.cc: Same.
2731 * src/functexcept.cc: Remove string includes.
2732 * include/std/std_bitset.h: Remove stdexcept include.
2733 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2734 * testsuite/23_containers/bitset_ctor.cc: Same.
2736 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
2738 * include/bits/stl_algo (__stl_threshold): Declare external.
2739 (__stl_chunk_size): Same.
2740 * include/bits/stl_bvector.h (__WORD_BIT): Same.
2741 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2742 (_S_rb_tree_black): Same.
2743 * src/stl-inst.cc (__stl_threshold): Define.
2744 (__stl_chunk_size): Same.
2746 (_S_rb_tree_red): Same.
2747 (_S_rb_tree_black): Same.
2749 * config/io/basic_file_libio.h (__basic_file): Add declarations.
2750 * include/bits/basic_file.h: Remove.
2751 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2752 Declare generic types, specialization.
2753 * config/io/basic_file_stdio.cc: Definitions.
2754 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2755 Declare generic types.
2756 * include/Makefile.am (bits_headers): Remove basic_file.h.
2757 (extra_target_headers): Change basic_file_model.h to basic_file.h.
2758 (stamp-target): Same.
2760 * include/bits/stl_alloc.h: Tweaks.
2761 * include/bits/localefwd.h: Same.
2763 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
2765 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2766 * testsuite/22_locale/collate_members_char.cc (test03): New test.
2767 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2769 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
2771 * include/bits/stl_algo.h (transform (both signatures), generate_n):
2772 Use __typeof__ in concept checks.
2774 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
2776 * include/bits/stl_algo.h (__median, for_each, find, find_if,
2777 adjacent_find, count, count_if, search, search_n, swap_ranges,
2778 transform, replace, replace_if, replace_copy, replace_copy_if,
2779 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2780 unique, unique_copy, reverse, reverse_copy): Doxygenate.
2782 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
2784 * include/bits/locale_facets.h
2785 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2786 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2787 (__timepunct<_CharT>::_M_put_helper): Same.
2788 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2790 * include/bits/fstream.tcc (filebuf::underflow): Remove
2791 __codecvt_type typedef.
2792 (filebuf::_M_convert_to_external): Same.
2794 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
2796 * docs/doxygen/TODO: Update.
2797 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
2798 * docs/doxygen/mainpage.html: Add TODO list link.
2799 * docs/doxygen/user.cfg.in: Add @doctodo hook.
2800 * docs/doxygen/tables.html: New file, emoty structure only.
2802 * include/bits/stl_iterator.h: Doxygenate just about everything.
2803 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
2804 * include/bits/stl_iterator_base_types.h: Add notes.
2806 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
2808 * include/bits/stl_map.h: Tweak doxygen markup.
2809 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
2810 * include/bits/stl_vector.h: Likewise.
2812 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2816 * include/std/std_fstream.h (filebuf::__file_type): Change to
2818 (filebuf::_M_convert_to_external): Declare.
2819 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2820 codecvt bits for wide streams.
2821 (filebuf::_M_really_overflow): Use it.
2822 (filebuf::underflow): Use codecvt.
2823 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2824 (codecvt<__enc_traits>::do_out): Deal with partial.
2825 (codecvt<__enc_traits>::do_encoding): Return something useful.
2826 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2828 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2829 Change expected encoding output.
2831 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2834 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2835 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
2837 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2838 (basic_ios::widen): Same.
2840 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
2842 * testsuite/22_locale/money_get_members_char.cc:
2843 Add comment, tidy up.
2844 (test01): more "en_HK" tests (without showbase).
2845 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2847 2002-02-06 Loren Rittle <ljrittle@acm.org>
2849 * config/locale/c_locale_generic.cc: Do not trust
2850 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2853 2002-02-06 Loren Rittle <ljrittle@acm.org>
2855 * acinclude.m4: Add C++ linkage check for strtof.
2856 * aclocal.m4: Rebuilt.
2857 * config.h.in: Rebuilt.
2858 * configure: Rebuilt.
2859 * config/locale/c_locale_generic.cc: Conditionally include
2860 <ieeefp.h>. Improve handling and error checking of float
2861 and long double input for non-C99 configurations.
2863 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
2865 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2866 In case money_base::symbol deal properly with multi-char sign
2867 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2868 * testsuite/22_locale/money_get_members_char.cc: Add test07.
2869 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2871 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
2873 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2874 First construct a tentative returned string, then, only if the
2875 parsing succeeds, copy it into the string passed by reference.
2876 * testsuite/22_locale/money_get_members_char.cc: Add test06.
2877 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2879 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
2881 * docs/doxygen/TODO: Impl-defined behavior now documented...
2882 * docs/html/17_intro/howto.html: ...here.
2883 * docs/doxygen/mainpage.doxy: Remove, rename...
2884 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
2885 * docs/doxygen/style.css: Add small text.
2886 * docs/doxygen/run_doxygen: Adjust for new mainpage.
2887 * docs/doxygen/user.cfg.in: Likewise.
2889 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
2891 * include/bits/stl_map.h: Initial doxygen markup.
2892 * include/std/std_fstream.h: Initial doxygen markup.
2894 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
2897 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2898 Deal correctly with !(__io.flags() & ios_base::showbase)
2899 for case money_base::symbol.
2900 * testsuite/22_locale/money_get_members_char.cc: Add test05.
2901 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2903 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
2905 * testsuite/22_locale/operators.cc
2906 (gnu_collate::do_compare()): Add return statement to
2907 suppress "no return statement" warning.
2909 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
2911 * testsuite/27_io/ostream_manip.cc: Enable test02.
2913 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
2915 * docs/html/documentation.html: Update for 3.0.96.
2916 * docs/html/faq/index.html: Update for 3.0.96.
2917 * docs/html/faq/index.txt: Regenerated.
2918 * docs/doxygen/TODO: Update notes.
2919 * docs/html/17_intro/howto.html: Initial impl-specific listing.
2921 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
2923 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2924 Initialize all data members in copy ctor. Make ctors explicit.
2925 (__enc_traits::__enc_traits()): Default ctor does nothing.
2926 (__enc_traits::_M_init): Guard against multiple iconv_opens.
2927 * include/std/std_sstream.h (basic_stringbuf): Make data members
2929 * include/std/std_fstream.h (basic_filebuf): Same.
2930 * include/std/std_streambuf.h: Tweak.
2931 * include/bits/streambuf.tcc: Same.
2932 * include/bits/sstream.tcc: Same.
2933 * include/bits/fstream.tcc: Same.
2935 2002-01-31 Loren Rittle <ljrittle@acm.org>
2937 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2938 allow NULL argument to be passed to setenv().
2939 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2940 * testsuite/22_locale/collate_members_char.cc: Likewise.
2941 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2942 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2943 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2944 * testsuite/22_locale/messages_members_char.cc: Likewise.
2945 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2946 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2947 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2948 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2949 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2950 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2951 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2952 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2953 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2954 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2955 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2956 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2957 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2958 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2959 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2960 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2962 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2964 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2966 * ChangeLog-2001: Fix spelling errors...
2967 * docs/html/17_intro/RELEASE-NOTES: Update.
2968 * docs/html/17_intro/TODO: Update.
2969 * README (file): Update.
2971 2002-01-30 Loren Rittle <ljrittle@acm.org>
2973 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2974 instead of non-zero to aid portability.
2976 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2978 * docs/html/22_locale/messages.html: Fix example code.
2980 2002-01-30 Richard Henderson <rth@redhat.com>
2982 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2983 out from test03 and templatize.
2986 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2988 * config/locale/numpunct_members_gnu.cc
2989 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2990 Fix initialization of _M_grouping for locales which have
2991 _M_thousands_sep == '\0'(L'\0', respectively).
2992 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2994 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2996 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2997 Better fix for 32/64 bit architectures, avoiding the
2998 implicit assumption that CHAR_BIT == 8.
3000 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3002 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3003 * Makefile.in: Regenerate.
3005 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3006 * docs/doxygen/Intro.3: Update.
3007 * docs/doxygen/TODO: Update.
3008 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3009 * docs/doxygen/mainpage.doxy: Update.
3010 * docs/doxygen/user.cfg.in: Update for header rename. Also
3011 regenerate comments and variables with 1.2.12.
3012 * docs/doxygen/maint.cfg.in: Remove file.
3014 * include/bits/stl_relops.h: Doxygenate.
3015 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3017 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3018 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3019 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3020 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3021 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3022 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3023 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3024 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3025 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3026 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3027 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3028 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3029 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3030 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3031 include/std/std_algorithm.h, include/std/std_bitset.h,
3032 include/std/std_complex.h, include/std/std_deque.h,
3033 include/std/std_fstream.h, include/std/std_functional.h,
3034 include/std/std_iomanip.h, include/std/std_ios.h,
3035 include/std/std_iosfwd.h, include/std/std_iostream.h,
3036 include/std/std_istream.h, include/std/std_iterator.h,
3037 include/std/std_limits.h, include/std/std_list.h,
3038 include/std/std_locale.h, include/std/std_map.h,
3039 include/std/std_memory.h, include/std/std_numeric.h,
3040 include/std/std_ostream.h, include/std/std_queue.h,
3041 include/std/std_set.h, include/std/std_sstream.h,
3042 include/std/std_stack.h, include/std/std_stdexcept.h,
3043 include/std/std_streambuf.h, include/std/std_string.h,
3044 include/std/std_utility.h, include/std/std_valarray.h,
3045 include/std/std_vector.h: Add/correct @file doxygen hook.
3047 * include/ext/memory: Doxygenate most of rest of file.
3048 * libsupc++/exception: Doxygen output formatting.
3049 * libsupc++/new: Say which header it is.
3051 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3052 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3053 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3054 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3056 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3057 Charles Leggett <CGLeggett@lbl.gov>
3059 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3061 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3063 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3064 Fix to deal correctly with both 32 bit and 64 bit architectures
3066 2002-01-25 Loren Rittle <ljrittle@acm.org>
3068 * testsuite/thread/pthread1.cc: Use one condition variable
3069 per predicate instead of tricky use of one condition variable.
3071 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3073 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3075 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3076 * testsuite/27_io/filebuf.cc: Compile only.
3077 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3078 * testsuite/27_io/filebuf_virtuals.cc: And here.
3079 Revert sungetc, sync changes for expected values.
3080 * testsuite/27_io/filebuf-*: Move to...
3081 * testsuite/27_io/filebuf_virtuals-*: ...here.
3082 * testsuite/27_io/istream.cc: Compile only, activate.
3083 * testsuite/27_io/ostream.cc: Same.
3084 * testsuite/27_io/iostream.cc: New.
3085 * testsuite/27_io/iostream_members.cc: New.
3087 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3089 * testsuite/thread/pthread1.cc: Enable on cygwin.
3090 * testsuite/thread/pthread2.cc: Likewise.
3091 * testsuite/thread/pthread3.cc: Likewise.
3092 * testsuite/thread/pthread4.cc: Likewise.
3093 * testsuite/thread/pthread5.cc: Likewise.
3094 * testsuite/thread/pthread6.cc: Likewise.
3096 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3098 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3100 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3102 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3104 (basic_ios::fill(char_type)): Use fill().
3105 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3106 (basic_ios::narrow): Same.
3107 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3108 if they are invalid.
3109 (basic_ios::init): Comment.
3110 * testsuite/27_io/ios_init.cc (test02): New.
3112 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3114 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3115 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3116 * include/ext/memory: Do not include stl_tempbuf.h.
3117 (temporary_buffer): Add doxygen hook.
3118 (__get_temporary_buffer, get_temporary_buffer,
3119 return_temporary_buffer): Move back to std:: header...
3120 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3121 * include/ext/rope: Do not include stl_tempbuf.h.
3122 * include/ext/stl_hashtable.h: Likewise.
3123 * include/std/std_algorithm.h: Likewise.
3124 * testsuite/20_util/temporary_buffer.cc: New file.
3126 2002-01-24 andrew@andypo.net
3127 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3130 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3131 * include/bits/localefwd.h: Likewise.
3132 Also use for std::locale::id::_S_highwater.
3133 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3134 * src/locale.cc: Support new usage of _Atomic_word.
3135 (std::locale::classic): Guard entire function against reentry.
3136 * src/localename.cc: Support new usage of _Atomic_word.
3138 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3140 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3141 _GLIBCPP_HAVE_SETENV.
3142 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3143 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3144 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3145 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3146 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3147 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3148 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3149 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3150 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3151 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3152 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3153 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3154 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3155 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3156 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3157 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3158 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3159 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3160 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3161 * aclocal.m4: Regenerate.
3162 * configure: Regenerate.
3163 * config.h.in: Regenerate.
3165 2002-01-23 Loren Rittle <ljrittle@acm.org>
3167 * testsuite/thread/pthread1.cc: New test.
3168 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3169 * testsuite/thread/pthread3.cc: Likewise.
3170 * testsuite/thread/pthread4.cc: New test adapted from
3171 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3172 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3173 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3175 2002-01-23 Richard Henderson <rth@redhat.com>
3178 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3179 CAS on the cpu variants that support it. Add versions that use
3180 TAS and that disable interrupts.
3181 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3183 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3185 * include/bits/locale_facets.tcc: Remove old comments.
3187 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3189 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3191 (__convert_from_v): Same.
3193 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3195 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3197 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3198 __max_digits checks, adjust arguments.
3199 (num_get::do_get(*)): Changeup.
3201 2002-01-23 Loren Rittle <ljrittle@acm.org>
3203 * config/locale/c_locale_generic.cc: Fix typename usage.
3205 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3207 * config/locale/c_locale_generic.cc: Fix.
3209 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3211 * docs/html/22_locale/messages.html: Remove angle brackets.
3212 * docs/html/17_intro/TODO: Add.
3214 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3216 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3217 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3218 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3219 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3221 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3223 Audit for LANG independence.
3224 * include/bits/localefwd.h: Tweaks.
3225 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3227 (time_get::do_get_year): Same.
3228 (__convert_from_v): Add.
3229 (num_put::_M_convert_float): Use.
3230 (num_put::_M_convert_int): Same.
3231 (money_put::do_put): Same.
3233 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3234 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3235 * config/locale/time_members_generic.cc:
3236 * config/locale/messages_members_gnu.cc: Same.
3237 * config/locale/messages_members_gnu.h: Same.
3239 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3240 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3241 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3242 * testsuite/22_locale/collate_members_char.cc (test02): New.
3243 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3244 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3245 * testsuite/22_locale/messages_members_char.cc (test02): New.
3246 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3247 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3248 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3249 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3250 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3251 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3252 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3253 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3254 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3255 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3256 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3257 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3258 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3259 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3260 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3261 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3263 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3265 * testsuite/22_locale/time_get_members_char.cc: Same.
3267 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3270 * include/bits/localefwd.h: Tweak comments.
3271 * include/bits/locale_facets.h (__convert_to_v): Add.
3272 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3273 (num_get::do_get(float)): Same.
3274 (num_get::do_get(long double)): Same.
3275 (num_get::do_get(bool)): Same.
3276 (num_get::do_get(long)): Same.
3277 (num_get::do_get(long long)): Same.
3278 (num_get::do_get(unsigned int)): Same.
3279 (num_get::do_get(unsigned short)): Same.
3280 (num_get::do_get(unsigned long)): Same.
3281 (num_get::do_get(unsigned long long)): Same.
3282 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3283 * config/locale/c_locale_generic.cc: Same.
3285 2002-01-22 Loren Rittle <ljrittle@acm.org>
3287 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3288 (std_builddir): Likewise.
3289 (std_headers_rename): Fix cut-n-paste typo.
3290 (install-data-local): Concat path per element instead of once to
3291 first element of list.
3292 * include/Makefile.in: Rebuilt.
3294 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3296 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3297 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3298 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3300 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3302 * include/bits/locale_facets.h (ctype<char>::classic_table):
3304 (ctype<char>::_S_ctable): Remove.
3305 * config/os/gnu-linux/bits/ctype_noninline.h
3306 (ctype<char>::_S_table): Remove definition.
3307 (ctype<char>::classic_table): Define.
3308 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3309 * config/os/aix/bits/ctype_noninline.h: Same.
3310 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3311 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3312 * config/os/djgpp/bits/ctype_noninline.h: Same.
3313 * config/os/generic/bits/ctype_noninline.h: Same.
3314 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3315 * config/os/hpux/bits/ctype_noninline.h: Same.
3316 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3317 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3318 * config/os/mingw32/bits/ctype_noninline.h: Same.
3319 * config/os/newlib/bits/ctype_noninline.h: Same.
3320 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3321 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3322 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3324 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3326 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3327 of _pctype. Use to define _S_ctable. Add definition for alternate
3328 ctor. Initialise _M_ctable to _S_ctable in ctors.
3329 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3330 rather than ::toupper, ::tolower.
3332 2002-01-18 Loren Rittle <ljrittle@acm.org>
3334 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3335 Add specialization for FreeBSD systems only to avoid losing test
3336 only due to extra precision unmentioned in system headers.
3338 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3340 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3342 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3344 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3345 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3347 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3349 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3351 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3353 * configure.target: Define OPT_LDFLAGS for AIX case.
3355 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3357 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3358 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3360 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3362 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3364 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3366 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3367 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3368 * aclocal.m4: Regenerate.
3369 * configure: Regenerate.
3371 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3373 * include/Makefile.am (c_base_headers_rename): New.
3374 (c_base_headers_extra): New.
3375 (stamp-c_base): Modify.
3376 (install-data-local): Use both.
3377 * include/Makefile.in: Regenerate.
3378 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3379 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3380 cstdio ctime cwctype]: Move to..
3381 * include/c/std_*: Here.
3382 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3383 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3384 cstdio ctime cwctype]: Move to..
3385 * include/c_std/std_*: Here.
3387 Alexandre Oliva <aoliva@redhat.com>
3388 * include/Makefile.am (.PRECIOUS): Add rule.
3389 * include/Makefile.in: Regenerate.
3391 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3392 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3394 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3395 Deuglify, should be current.
3396 (back_insert_iterator::_M_container): Deuglify, should be container.
3397 (front_insert_iterator::_M_container): Same.
3398 (insert_iterator::_M_container): Same.
3399 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3400 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3401 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3402 * testsuite/24_iterators/insert_iterator.cc: Same.
3404 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3406 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3408 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3409 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3410 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3411 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3412 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3413 * config/os/newlib/bits/ctype_noninline.h: Same.
3414 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3415 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3416 * config/os/hpux/bits/ctype_noninline.h: Same.
3417 * config/os/djgpp/bits/ctype_noninline.h: Same.
3418 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3419 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3420 * config/os/aix/bits/ctype_noninline.h: Same.
3422 Testcase by Dietmar Kühl via Peter Schmid
3423 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3426 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3428 * libmath/signbitl.c: Copyright years as list, not range.
3429 * libmath/Makefile.am: Same.
3430 * libmath/Makefie.in: Regenerate.
3431 * libmath/signbit.c: Same.
3432 * libmath/nan.c: Same.
3433 * libmath/copysignf.c: Same.
3434 * libmath/signbitf.c: Same.
3435 * testsuite/22_locale/money_get_members_char.cc: Same.
3436 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3437 * testsuite/22_locale/money_put_members_char.cc: Same.
3438 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3439 * testsuite/22_locale/time_get_members_char.cc: Same.
3440 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3441 * testsuite/22_locale/time_put_members_char.cc: Same.
3442 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3443 * testsuite/21_strings/nonmember.cc: Same.
3444 * testsuite/21_strings/compare.cc: Same.
3445 * testsuite/27_io/stringstream.cc: Same.
3446 * testsuite/27_io/stringbuf.cc: Same.
3447 * testsuite/27_io/filebuf.cc: Same.
3448 * testsuite/27_io/ios_manip_basefield.cc: Same.
3449 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3450 * include/bits/cpp_type_traits.h: Same.
3451 * include/bits/generic_shadow.h: Same.
3452 * include/bits/gslice_array.h: Same.
3453 * include/bits/gslice.h: Same.
3454 * include/bits/indirect_array.h: Same.
3455 * include/bits/slice_array.h: Same.
3456 * include/bits/sstream.tcc: Same.
3457 * include/bits/streambuf_iterator.h: Same.
3458 * include/bits/valarray_array.tcc: Same.
3459 * include/bits/valarray_meta.h: Same.
3460 * include/bits/valarray_array.h: Same.
3461 * config/os/mingw32/bits/ctype_noninline.h: Same.
3462 * config/os/mingw32/bits/ctype_base.h: Same.
3463 * config/os/hpux/bits/ctype_noninline.h: Same.
3464 * config/os/hpux/bits/ctype_base.h: Same.
3465 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3466 * config/os/gnu-linux/bits/ctype_base.h: Same.
3467 * config/os/generic/bits/ctype_noninline.h: Same.
3468 * config/os/generic/bits/ctype_base.h: Same.
3470 * libsupc++/tinfo.h: Tweaks.
3472 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3474 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3475 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3476 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3478 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3480 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3481 (num_put::do_put(void*)): Fix.
3482 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3483 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3484 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3485 long double, void, bool types.
3486 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3488 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3489 Alexandre Oliva <aoliva@redhat.com>
3491 * libmath/Makefile.am (LINK): Add --tag CC.
3492 * libmath/Makefile.in: Regenerate.
3494 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3496 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3497 of character to attribute mapping table.
3499 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3501 * testsuite/26_numerics/c99_classification_macros_c.cc
3502 Remove dg-error and dg-excess-errors comments.
3504 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3506 * include/bits/locale_facets.tcc (time_put::put): Correct output
3508 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3509 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3510 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3511 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3513 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3515 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3517 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3518 Nathan Myers <ncm@cantrip.org>
3520 * include/bits/basic_string.h
3521 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3522 temporaries (i.e., call _M_replace_safe) when possible.
3523 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3524 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3525 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3526 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3527 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3528 * include/bits/basic_string.tcc
3529 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3530 replace(__pos, __n1, __s, __n2).
3531 * testsuite/21_strings/replace.cc (test03): New testcases.
3533 * include/bits/basic_string.h (insert(__pos, __s, __n)):
3534 Adjust comparison wrt overflow.
3536 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3538 * include/Makefile.am (std_headers_rename): New variable.
3539 (install-data-local): Use it.
3540 * include/Makefile.in: Regenerate.
3542 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3544 * include/bits/locale_facets.tcc (money_put::do_put(string):
3545 Correct output iterator value.
3546 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3547 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3549 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3551 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
3554 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3556 * include/Makefile.am (std_headers): Update list with new names.
3557 (stamp-std): Link to standardized name.
3558 * include/Makefile.in: Regenerate.
3560 * include/std/algorithm, include/std/bitset, include/std/complex,
3561 include/std/deque, include/std/fstream, include/std/functional,
3562 include/std/iomanip, include/std/ios, include/std/iosfwd,
3563 include/std/iostream, include/std/istream, include/std/iterator,
3564 include/std/limits, include/std/list, include/std/locale,
3565 include/std/map, include/std/memory, include/std/numeric,
3566 include/std/ostream, include/std/queue, include/std/set,
3567 include/std/sstream, include/std/stack, include/std/stdexcept,
3568 include/std/streambuf, include/std/string, include/std/utility,
3569 include/std/valarray, include/std/vector: Rename to...
3571 * include/std/std_algorithm.h, include/std/std_bitset.h,
3572 include/std/std_complex.h, include/std/std_deque.h,
3573 include/std/std_fstream.h, include/std/std_functional.h,
3574 include/std/std_iomanip.h, include/std/std_ios.h,
3575 include/std/std_iosfwd.h, include/std/std_iostream.h,
3576 include/std/std_istream.h, include/std/std_iterator.h,
3577 include/std/std_limits.h, include/std/std_list.h,
3578 include/std/std_locale.h, include/std/std_map.h,
3579 include/std/std_memory.h, include/std/std_numeric.h,
3580 include/std/std_ostream.h, include/std/std_queue.h,
3581 include/std/std_set.h, include/std/std_sstream.h,
3582 include/std/std_stack.h, include/std/std_stdexcept.h,
3583 include/std/std_streambuf.h, include/std/std_string.h,
3584 include/std/std_utility.h, include/std/std_valarray.h,
3585 include/std/std_vector.h: ...this.
3587 2002-01-11 Loren Rittle <ljrittle@acm.org>
3589 * include/Makefile.am (extra_target_headers): New list of all
3590 target files built with ad hoc naming rules.
3591 (stamp-*): Handle LN_S failure in manner portable across make
3593 (install-data-local): Install header files from human-maintained
3594 file lists and directory components instead of non-robust find.
3595 * include/Makefile.in: Rebuilt.
3597 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
3599 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3600 Check for zero-length negative sign before adding it to output
3602 (money_get::do_get(long double)): Return beg.
3603 * testsuite/22_locale/money_get_members_char.cc (test02): Add
3605 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3607 2002-01-10 David Seymour <seymour_dj@yahoo.com>
3610 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3611 for _M_extract_float and _M_extract_int
3612 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3613 (num_get<>::_M_extract_int): Likewise, all callers changed
3614 * testsuite/22_locale/num_get_members_char.cc: Testcase
3616 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3618 * libsupc++/exception (bad_exception): Add comment.
3619 * libsupc++/new (bad_alloc): Same.
3620 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3622 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3624 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3625 that the destructors should be removed from the descriptions
3626 in the standard: writing them explicitly allows the vtable
3627 heuristic to work. For additional information see:
3628 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3629 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3630 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3631 * libsupc++/exception (bad_exception::~bad_exception()):
3632 Reintroduce declaration.
3633 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3634 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3635 (bad_typeid::~bad_typeid()): Same.
3636 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3637 Reintroduce definition.
3638 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3639 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3640 (bad_typeid::~bad_typeid()): Same.
3642 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
3644 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3645 * include/Makefile.in: Regenerate.
3647 2002-01-09 Bo Thorsen <bo@suse.co.uk>
3649 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3652 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
3656 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3657 return value of _M_file->sync().
3658 (filebuf::showmanyc): Check for is_open.
3659 * include/std/fstream (filebuf::sync): Tweak.
3660 * testsuite/27_io/filebuf.cc: Tweak.
3662 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
3663 Brad Garcia <garsh@attbi.com>
3665 * testsuite/27_io/filebuf_members.cc: Add test.
3667 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
3668 Craig Rodrigues <rodrigc@mediaone.net>
3671 * po/Makefile.am (mkinstalldirs): Add.
3672 * po/Makefile.in: Regenerate.
3674 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
3676 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3677 testsuite/lib/prune.exp: Delete lines ":In function ..." from
3679 * testsuite/23_containers/map_operators.cc: Remove
3680 dg-excess-errors comment.
3681 * testsuite/23_containers/set_operators.cc: Likewise.
3683 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
3685 * include/bits/stl_function.h: Remove two lines of comments;
3686 adjust copyright years.
3688 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3690 * include/Makefile.am (std_headers): Remove cXXX from list.
3691 (c_base_srcdir): No bits subdirectory.
3692 (c_base_builddir): Same.
3693 (c_base_headers): Adjust names, add ciso646.
3694 (bits_headers): Remove std_xxx.h headers.
3695 * include/Makefile.in: Regenerate.
3697 * include/ext/iterator: Adjust includes.
3698 * include/ext/ropeimpl.h: Same.
3699 * include/ext/stl_hash_fun.h: Same.
3700 * include/ext/algorithm: Same.
3702 * include/backward/bvector.h: Adjust includes.
3703 * include/backward/vector.h: Same.
3704 * include/backward/strstream: Same.
3705 * include/backward/streambuf.h: Same.
3706 * include/backward/stack.h: Same.
3707 * include/backward/set.h: Same.
3708 * include/backward/queue.h: Same.
3709 * include/backward/multiset.h: Same.
3710 * include/backward/multimap.h: Same.
3711 * include/backward/map.h: Same.
3712 * include/backward/list.h: Same.
3713 * include/backward/iterator.h: Same.
3714 * include/backward/iostream.h: Same.
3715 * include/backward/iomanip.h: Same.
3716 * include/backward/fstream.h: Same.
3717 * include/backward/deque.h: Same.
3718 * include/backward/complex.h: Same.
3720 * include/bits/std_algorithm.h: Move to...
3721 * include/std/algorithm: ...here.
3722 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3723 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3724 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3725 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3726 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3727 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3728 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3731 * include/c_std/bits/std_cassert.h: Move to...
3732 * include/c_std/cassert: Here.
3733 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3734 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3735 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3736 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3737 std_cwctype.h: Same.
3738 * include/c_std/cmath: Adjust cmath.tcc include.
3739 * include/c_std/cstdlib: Adjust includes.
3740 * include/c_std/cwchar: Same.
3741 * include/c_std/ctime: Same.
3742 * include/c_std/cstring: Same.
3743 * include/c_std/cstdio: Same.
3744 * include/c_std/bits: Remove directory.
3746 * include/c/bits/std_cassert.h: Move to...
3747 * include/c/cassert: Here.
3748 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3749 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3750 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3751 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3752 std_cwctype.h: Same.
3753 * include/c/bits: Remove directory.
3755 * include/std/cwctype: Remove.
3756 * include/std/cwchar: Remove.
3757 * include/std/ctime: Remove.
3758 * include/std/cstring: Remove.
3759 * include/std/cstdlib: Remove.
3760 * include/std/cstdio: Remove.
3761 * include/std/cstddef: Remove.
3762 * include/std/cstdarg: Remove.
3763 * include/std/csignal: Remove.
3764 * include/std/csetjmp: Remove.
3765 * include/std/cmath: Remove.
3766 * include/std/clocale: Remove.
3767 * include/std/climits: Remove.
3768 * include/std/ciso646: Remove.
3769 * include/std/cfloat: Remove.
3770 * include/std/cerrno: Remove.
3771 * include/std/cctype: Remove.
3772 * include/std/cassert: Remove.
3774 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3775 files and subsituting <xxx>.
3776 * include/bits/valarray_array.h: Same.
3777 * include/bits/stl_uninitialized.h: Same.
3778 * include/bits/stl_alloc.h: Same.
3779 * include/bits/stl_algobase.h: Same.
3780 * include/bits/sstream.tcc: Same.
3781 * include/bits/pthread_allocimpl.h: Same.
3782 * include/bits/ostream.tcc: Same.
3783 * include/bits/localefwd.h: Same.
3784 * include/bits/locale_facets.tcc: Same.
3785 * include/bits/locale_facets.h: Same.
3786 * include/bits/istream.tcc: Same.
3787 * include/bits/char_traits.h: Same.
3788 * include/bits/boost_concept_check.h: Same.
3789 * include/bits/basic_file.h: Same.
3790 * include/std/bitset: Same.
3791 * include/std/complex: Same.
3792 * include/std/fstream: Same.
3793 * include/std/functional: Same.
3794 * include/std/ios: Same.
3795 * include/std/iostream: Same.
3796 * include/std/ostream: Same.
3797 * include/std/sstream: Same.
3798 * include/std/streambuf: Same.
3799 * include/std/string: Same.
3800 * include/std/iterator: Same.
3801 * include/std/valarray: Same.
3803 * src/ios.cc: Adjust includes.
3804 * src/valarray-inst.cc: Same.
3805 * src/string-inst.cc: Same.
3806 * src/stl-inst.cc: Same.
3807 * src/stdexcept.cc: Same.
3808 * src/misc-inst.cc: Same.
3809 * src/localename.cc: Same.
3810 * src/locale-inst.cc: Same.
3811 * src/locale.cc: Same.
3812 * src/limits.cc: Same.
3813 * src/concept-inst.cc: Same.
3814 * src/complex_io.cc: Same.
3815 * src/codecvt.cc: Same.
3816 * src/bitset.cc: Same.
3817 * src/cmath.cc: Same.
3819 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3821 * include/bits/stl_tree.h (rb_tree): Move to...
3822 * include/ext/rb_tree: ...here, new file.
3823 * include/Makefile.am (ext_headers): Add new file.
3824 * include/Makefile.in: Regenerate.
3825 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3826 return_temporary_buffer, struct temporary_buffer): Move to...
3827 * include/ext/memory: ...here.
3828 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
3829 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
3830 * include/backward/tree.h: Include <ext/rb_tree), tweak.
3832 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
3834 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
3835 * include/ext/numeric: ...here, new file.
3836 * include/bits/stl_function.h (identity_element, unary_compose,
3837 binary_compose, compose1, compose2, identity, select1st,
3838 select2nd, project1st + helper, project2nd + helper,
3839 constant_void_fun + helper, constant_unary_fun + helper,
3840 costant_binary_fun + helper, constant0, constant1, constant2,
3841 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
3842 * include/ext/functional: ...here, new file.
3843 * include/Makefile.am (ext_headers): Add new files.
3844 * include/Makefile.in: Regenerate.
3845 * testsuite/ext/headers.cc: Include <ext/numeric> and
3847 * include/backward/algo.h: Include <ext/numeric>, tweak.
3848 * include/backward/function.h: Include <ext/functional>, tweak.
3849 * include/ext/ropeimpl.h: Include <ext/numeric>.
3851 2002-01-03 Jeffrey A Law <law@redhat.com>
3853 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3854 __strtoull declarations with __extension__.
3856 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
3858 * testsuite/lib/prune.exp: Correct regular expression for
3861 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3863 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3864 Change concept checks, as with lower_bound and PR 2054.
3865 * testsuite/ext/concept_checks.cc: Expand test to include those.
3867 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3869 * include/bits/boost_concept_check.h: Import some changes from
3870 upsteam (Boost) version.
3872 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
3874 * include/bits/stl_algobase.h (copy_n + helpers,
3875 lexicographical_compare_3way + helpers): Move to...
3876 * include/ext/algorithm: ...here.
3877 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3878 helpers): Move to...
3879 * include/ext/memory: ...here, new file.
3880 * include/Makefile.am (ext_headers): Add new file.
3881 * include/Makefile.in: Regenerate.
3882 * testsuite/ext/headers.cc: Include <ext/memory>.
3883 * include/backward/algobase.h: Include <ext/memory> and
3884 <ext/algorithm>, tweak.
3885 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
3886 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
3888 2002-01-01 Roger Sayle <roger@eyesopen.com>
3890 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3891 equivalent ___builtin__ versions.
3893 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3894 are available in libstdc++ as the necessary stub implementations
3895 are provided by libmath/stubs.c.
3897 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
3899 * configure.in: Add support for NetBSD cross compiles.
3900 * configure: Regenerate.