1 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
2 Benjamin Kosnik <bkoz@redhat.com>
4 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
6 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
8 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
10 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
11 * libsupc++/Makefile.in: Regenerate.
13 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
16 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
17 Instantiate with new function objects.
18 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
20 * include/bits/gslice_array.h: Likewise.
21 * include/bits/indirect_array.h: Likewise.
23 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
25 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
26 testsuite/26_numerics/valarray_name_lookup.C
28 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
29 object function surrogates.
30 * include/bits/valarray_meta.h (__shift_left): Fix typo.
31 (_BinFunClos<>): Remove.
32 (_BinFunBase<>): Likewise.
33 (_BinFunBase1<>):Likewise.
34 (_BinFunBase2<>): Likewise.
35 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
36 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
37 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
38 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
39 * include/std/std_valarray.h: Dont #include <functional> anymore.
40 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
41 _Shift_right<>): Remove.
42 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
43 (_DEFINE_BINARY_OPERATOR): Tweak definition.
44 (_DEFINE_LOGICAL_OPERATOR): Remove.
45 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
47 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
49 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
51 (_UnBase<>): Reformat. Make first template-parameter non
53 (_UnClos<>): Likewise.
54 (_Expr<>): Reformate. Adjust unary member operator return types.
55 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
56 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
57 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
58 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
59 operator return types. Reformat.
60 (_Bitwise_not): Remove.
61 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
62 * testsuite/26_numerics/valarray_name_lookup.C: New test.
64 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
66 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
67 (scan_is): Use this->is.
70 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
72 Revert PR libstdc++/6594
73 * src/strstream.cc (strstreambuf): Revert.
74 (strstreambuf::overflow): Same.
75 (strstreambuf::~strstreambuf): Same.
76 * testsuite/backward/strstream_members.cc (test02): Add.
78 * docs/html/abi.txt: Update. Spell check.
80 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
82 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
83 * testsuite/Makefile.in: Regenerate.
84 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
85 include functexcept.h so that -fno-exceptions will build.
87 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
89 * include/bits/valarray_meta.h (__unary_plus, __negate,
90 __bitwise_not, __plus, __minus, __multiplies, __divides,
91 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
92 __shift_left, __shift_right, __logical_and, __logical_or,
93 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
94 __greater_equal, __greater, __atan2, __pow): New function object
96 (__fun<>): New function traits class.
98 2002-08-01 Rick Danos <rdanos@hotmail.com>
101 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
102 * config/os/newlib/ctype_inline.h (is): Use static_cast.
104 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
106 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
107 * libsupc++/Makefile.in: Regenerate.
109 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
110 Jakub Jelinek <jakub@redhat.com>
112 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
113 GLIBCPP_3.1 to GLIBCPP_3.2.
115 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
116 Mark Mitchell <mark@codesourcery.com>
119 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
121 (__class_type_info): And here.
123 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
127 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
128 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
129 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
130 (__vmi_class_type_info::__base_info): Don't make const, of type
131 __base_class_type_info, as per 2.9.5p6c
132 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
134 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
136 (__pointer_to_member_type_info::__context_class): Change member to
137 __context, as per 2.9.5p9.
138 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
140 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
142 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
144 * libsupc++/tinfo.cc (__do_dyncast): Same.
145 * libsupc++/tinfo.cc (__do_upcast): Same.
147 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
149 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
151 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
153 * docs/html/22_locale/howto.html: Fix.
155 2002-07-31 Alex Kompel <shurik@sequoiap.com>
158 * src/locale.cc (locale::classic): Move locks inside !_S_classic
161 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
163 * docs/html/abi.txt: Update.
165 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
166 Gabriel Dos Reis <gdr@nerim.net>
168 * include/bits/char_traits.h: Remove generic definitions.
169 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
171 * include/bits/istream.tcc (istream::readsome): Don't check
172 against eof, instead use constants.
173 (istream::sync): Same.
174 (istream::sentry::sentry): Use eq_int_type.
175 (istream::get): Same.
176 * include/bits/ostream.tcc: Change __pad to
177 __pad<_CharT, _Traits>::_S_pad.
178 * include/bits/locale_facets.h: Add __pad_traits generic and
179 ostreambuf_iterator specialization.
180 * include/bits/locale_facets.tcc: Change __pad into struct __pad
181 with a _CharT and _Traits template parameter and _S_pad static
183 * src/locale-inst.cc: Update __pad instantiations.
185 * include/std/std_fstream.h: Declare _M_underflow_common
187 * src/fstream.cc: New. Add _M_underflow_common specializations.
188 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
189 (filebuf::_M_underflow_common(bool)): Remove generic version, as
190 sys_ungetc and custom int_types don't get along.
191 * include/std/std_streambuf.h: Add _M_pos.
192 * src/Makefile.am (sources): Add fstream.cc.
193 * src/Makefile.in: Regenerate.
195 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
196 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
197 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
198 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
199 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
200 * testsuite/27_io/filebuf.cc: ...here.
201 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
202 specialization for both.
203 * testsuite/27_io/streambuf.cc: Add instantiation test,
204 testsuite_hooks include.
205 * testsuite/27_io/istream.cc: Same.
206 * testsuite/27_io/ostream.cc: Same.
207 * testsuite/27_io/fstream.cc: Same.
208 * testsuite/27_io/stringstream.cc: Same.
209 * testsuite/27_io/filebuf.cc: Same.
210 * testsuite/27_io/stringbuf.cc: Same.
212 2002-07-29 Alan Modra <amodra@bigpond.net.au>
214 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
215 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
216 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
217 (__test_and_set): Remove.
218 (_STWCX): Define and use.
220 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
222 * libsupc++/new (placement delete): Remove unused parameter names.
224 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
227 * include/std/std_istream.h (basic_iostream): Add typedefs for
228 char_type, int_type, pos_type, off_type, and traits_type.
229 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
230 * testsuite/27_io/istream.cc: Same.
231 * testsuite/27_io/ostream.cc: Same.
232 * testsuite/27_io/filebuf.cc: Same.
233 * testsuite/27_io/stringbuf.cc: Replace content, move to...
234 * testsuite/27_io/stringbuf_members.cc: ...here.
235 * testsuite/27_io/streambuf.cc: Replace content, move to...
236 * testsuite/27_io/streambuf_members.cc: ...here.
237 * testsuite/27_io/stringstream.cc: Replace content, move to...
238 * testsuite/27_io/stringstream_members.cc: ...here.
239 * testsuite/27_io/ios.cc: New file.
240 * testsuite/27_io/fstream.cc: New file.
241 * testsuite/27_io/ifstream.cc: New file.
242 * testsuite/27_io/ofstream.cc: New file.
243 * testsuite/27_io/istringstream.cc: New file.
244 * testsuite/27_io/ostringstream.cc: New file.
246 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
249 * include/bits/istream.tcc (istream::ignore): Don't extract on
251 * testsuite/27_io/istream_unformatted.cc (test10): Add.
253 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
255 * testsuite/27_io/ios_base_type.cc: Move to...
256 * testsuite/27_io/ios_base_types.cc: ...here.
258 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
261 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
262 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
264 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
267 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
268 * include/Makefile.am (backward_headers): Use strstream, not
270 * include/Makefile.in: Regenerate.
271 * include/backward/strstream: Revert.
272 * include/backward/strstream.h: Remove.
273 * src/strstream.cc: Revert.
274 * testsuite/backward/strstream_members.cc: Change include.
276 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
279 * include/bits/ios_base.h (ios_base::streampos): Add.
280 (ios_base::streamoff): Add.
281 * testsuite/27_io/ios_base_type.cc: New.
283 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
286 * libsupc++/new: Add placement delete.
287 * testsuite/18_support/new_delete_placement.cc: New.
289 * docs/html/abi.txt: Fix typos.
291 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
293 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
294 confusing usage of "latest."
295 De-tangle contributor information from introductory notes.
296 Move abi.txt link placement, activate.
298 Move chapter info into old FAQ format.
299 * docs/html/organization.html: Removed, obsoleted by doxygen work.
300 * docs/html/abi.txt: Add notes on testing ABI changes.
302 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
304 * docs/html/abi.txt: New file.
305 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
306 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
307 Import from upstream, R22.
309 * include/bits/char_traits.h, include/bits/stl_iterator.h,
310 include/bits/stl_iterator_base_types.h, libsupc++/exception,
311 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
313 * include/bits/deque.tcc, include/bits/stl_alloc.h,
314 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
315 of deprecated functions until 3.4. (Same timeframe, different text.)
316 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
317 the other sequence classes received.
319 2002-07-18 Brendan Kehoe <brendan@zen.org>
321 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
324 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
327 * include/bits/slice_array.h
328 (slice_array<T>::operator=(const T&)): Constify.
329 * include/bits/gslice_array.h
330 (gslice_array<T>::operator=(const T&)): Likewise.
331 * include/bits/mask_array.h
332 (mask_array<T>::operator=(const T&)): Likewise.
333 * include/bits/indirect_array.h
334 (indirect_array<T>::operator=(const T&): Likewise.
336 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
338 * docs/doxygen/run_doxygen: Remove template parameter names from
339 "Compound List" summary page. Reformat.
340 * docs/html/documentation.html: XHTML fixes.
342 2002-07-16 Andreas Schwab <schwab@suse.de>
344 * libsupc++/new (set_new_handler): Declare to not throw any
346 * libsupc++/new_handler.cc (set_new_handler): Likewise.
348 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
350 * include/Makefile.am (bits_headers): Remove slice.h
351 * include/Makefile.in: Regenerate.
352 * include/bits/slice.h (slice): move to include/bits/slice_array.h
353 * include/bits/slice.h Remove.
354 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
355 * include/bits/slice_array.h: Comply to official coding styles.
356 * testsuite/26_numerics/slice.cc: New test.
358 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
360 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
361 print to match vendor <ctype.h>.
363 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
365 * docs/html/faq/index.html: Fix download links.
366 * docs/html/faq/index.txt: Regenerate.
367 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
369 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
371 * configure.target (target_os switch): Allow for irix6*o32
374 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
376 * include/bits/valarray_meta.h (_UnFunBase): Take a second
377 template parameter. Remove _M_func data member.
378 (_UnFunClos): Take a third template parameter.
379 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
380 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
381 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
383 2002-07-08 Eric Christopher <echristo@redhat.com>
385 * configure.target: Fix comment for mips atomicity. Add
386 mips*-*-linux* target, enable atomic operations there.
387 * config/cpu/mips/atomicity.h: Fix comments, remove
388 #ifndef/#endif. Add push/pop mips2.
390 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
392 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
393 member declarations to avoid compiler warnings and restore 3.1 ABI.
395 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
397 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
400 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
403 * include/bits/stl_deque.h (_Deque_iterator::operator-):
404 Make non-member, as already happens for the comparison
405 operators in accord with DR179 (Ready).
406 * testsuite/23_containers/deque_operators.cc: Add test02.
408 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
409 Jack Reeves <jackw_reeves@hotmail.com>
411 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
412 size_t, from int_type.
413 (basic_streambuf::_M_buf_size_opt): Same.
414 (basic_streambuf::_S_pback_sizex): Same.
415 * include/bits/streambuf.tcc: Same.
416 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
418 (basic_streambuf::uflow): Same.
419 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
421 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
422 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
424 (basic_streambuf::xsputn): Same.
425 (__copy_streambufs): Same.
427 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
429 * include/std/std_memory.h: Fix formatting.
430 * testsuite/20_util/auto_ptr_neg.cc: New.
431 * testsuite/20_util/auto_ptr.cc: Tweaks.
432 * testsuite/23_containers/map_operators.cc (test01): Split into..
433 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
434 * testsuite/23_containers/set_operators.cc: Move to...
435 * testsuite/23_containers/set_operators_neg.cc: ...here.
436 * testsuite/README: Add some more naming rules.
438 2002-07-03 Steev Wilcox <steev@paradigmds.com>
441 * include/ext/stl_hashtable.h: Fix.
442 * testsuite/ext/hash_map.cc: New.
444 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
445 Kenny Simpson <theonetruekenny@yahoo.com>
446 Phil Edwards <pme@gcc.gnu.org>
449 * testsuite/20_util/auto_ptr.cc (test08): New test.
450 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
451 (auto_ptr::operator auto_ptr_ref): Fix typo.
452 General reformatting and doxygenating of the whole file.
454 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
457 * include/c/std_cwchar.h: Fix.
459 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
462 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
463 char* name parameter.
464 * config/locale/gnu/monetary_members.cc: Use it.
465 * config/locale/generic/monetary_members.cc: Same.
466 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
468 * include/backward/strstream.h: Update date.
470 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
473 * include/bits/stl_iterator.h
474 (__normal_iterator::operator-(const __normal_iterator&)):
475 Make non-member, as already happens for the comparison
476 operators in accord with DR179 (Ready).
477 * testsuite/24_iterators/iterator.cc: Add test from the PR.
479 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
482 * acinclude.m4: Simplify determination of gcc_version, and move
483 up to GLIBCPP_CONFIGURE.
484 * configure.in (release_VERSION): Really remove.
485 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
486 * aclocal.m4, configure: Regenerate.
488 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
490 * docs/html/configopts.html, docs/html/install.html: Tweaks.
491 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
492 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
493 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
495 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
497 * include/backward/strstream: Remove namespace std. Transfer to...
498 * include/backward/strstream.h: ...here. Qualify std names.
499 * src/strstream.cc: Remove namespace std.
500 * include/Makefile.am (backward_headers): Remove strstream.h.
501 * include/Makefile.in: Regenerate.
502 * config/linker-map.gnu: Export strstream bits.
504 * src/fstream-inst.cc: Tweak.
505 * src/io-inst.cc: Same.
506 * src/istream-inst.cc: Same.
507 * src/misc-inst.cc: Same.
508 * src/ostream-inst.cc: Same.
509 * src/sstream-inst.cc: Same.
510 * src/valarray-inst.cc: Same.
511 * src/misc-inst.cc: Remove unused instantiations.
513 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
515 * configure.in (libtool_VERSION): Bump to 5:0:0.
516 * configure: Regenerate.
518 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
520 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
521 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
522 * include/std/std_stack.h: Include deque.tcc.
523 * testsuite/23_containers/adaptors.cc: New file.
525 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
527 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
528 * docs/html/ext/howto.html: Update allocator notes.
530 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
532 * configure.in (INTERFACE): Remove.
533 (release_VERSION): Remove.
534 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
535 (libstdcxx_interface): Change. Use gcc methods to determine version.
536 * configure: Regenerate.
537 * aclocal.m4: Regenerate.
539 2002-06-25 DJ Delorie <dj@redhat.com>
541 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
542 GLIBCPP_TOPREL_CONFIGURE.
543 * aclocal.m4: Likewise.
544 * configure.in: Call it before AC_CANONICAL_SYSTEM.
545 * configure: Regenerate.
547 2002-06-25 Jessica Han <jessica@cup.hp.com>
549 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
550 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
551 _GLIBCPP_VTABLE_PADDING is defined.
553 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
555 * include/bits/stl_alloc.h: Additional formatting.
557 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
559 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
561 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
563 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
564 * config/os/*/bits/*: Likewise.
565 * configure.in: Update.
566 * configure: Regenerate.
567 * configure.target: Update.
568 * docs/html/17_intro/porting.texi: Update.
570 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
572 * include/bits/stl_map.h, include/bits/stl_multimap.h,
573 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
574 complete doxygenation.
575 * include/bits/boost_concept_check.h: Minor comment.
577 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
579 * include/c_compatibility: New.
580 * include/c_compatibility/assert.h: New.
581 * include/c_compatibility/ctype.h: New.
582 * include/c_compatibility/errno.h: New.
583 * include/c_compatibility/float.h: New.
584 * include/c_compatibility/iso646.h: New.
585 * include/c_compatibility/limits.h: New.
586 * include/c_compatibility/locale.h: New.
587 * include/c_compatibility/math.h: New.
588 * include/c_compatibility/setjmp.h: New.
589 * include/c_compatibility/signal.h: New.
590 * include/c_compatibility/stdarg.h: New.
591 * include/c_compatibility/stddef.h: New.
592 * include/c_compatibility/stdio.h: New.
593 * include/c_compatibility/stdlib.h: New.
594 * include/c_compatibility/string.h: New.
595 * include/c_compatibility/time.h: New.
596 * include/c_compatibility/wchar.h: New.
597 * include/c_compatibility/wctype.h: New.
599 * include/c/std_cerrno.h: Get out of the way... define errno.
600 * include/c/std_cmath.h: Add abs, modf overloads.
601 Undefine C99 isms. Still not sure how to deal with this sanely.
602 * include/c/std_csetjmp.h: Tweak.
603 * include/c/std_cwchar.h: Include cstddef for size_t.
605 * include/c_std/std_cmath.h: Remove extra function.
607 Pendantic std usage in testsuites.
608 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
610 * testsuite/17_intro/header_cwchar.cc: Tweak.
611 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
613 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
614 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
615 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
616 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
617 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
618 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
619 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
620 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
621 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
622 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
623 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
624 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
625 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
626 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
627 * testsuite/22_locale/num_get_members_char.cc: Same.
628 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
629 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
630 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
631 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
632 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
633 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
634 * testsuite/22_locale/messages_members_char.cc (test03): Same.
635 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
636 * testsuite/22_locale/collate_members_char.cc (test04): Same.
637 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
638 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
639 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
641 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
643 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
646 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
648 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
649 Use size_type instead of unsigned long.
651 2002-06-20 Steve Ellcey <sje@cup.hp.com>
653 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
657 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
659 * include/Makefile.am: Add rules.
660 * include/Makefile.in: Regenerate.
662 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
663 * aclocal.m4: Regenerate.
664 * configure: Regenerate.
665 * configure.target (c_model, c_compatibility): Add.
667 * libsupc++/Makefile.am (c_sources): New.
668 (libsupc___la_SOURCES): Add c_sources.
669 (LTCOMPILE): Remove INCLUDES.
671 (C_COMPILE): New, like COMPILE but without INCLUDES.
672 (cxa_demangle.o): Use C_COMPILE.
673 (dyn-string.o): Use C_COMPILE.
675 * include/c/std_cstdarg.h: Define __need___va_list.
676 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
677 need_NULL, need_offsetof.
679 2002-06-19 Steve Ellcey <sje@cup.hp.com>
681 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
682 definitions in hpux11 cross-build because these functions do
683 not exist on hpux11 (but some exist on hpux10); move defaults out
684 into existing sections.
685 * configure: Regenerate.
687 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
689 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
690 * include/c/std_cwctype.h: Guard.
692 * libsupc++/eh_alloc.cc: Tweak include order.
693 * libsupc++/pure.cc: Use cstdio.
694 * libsupc++/new_op.cc: Remove malloc forward declaration, as
695 cstdlib brings it in. Use std::malloc.
697 * src/Makefile.am (sources): Remove cmath.cc.
698 * src/Makefile.in: Regenerate.
699 * src/cmath.cc: Remove.
701 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
703 * configure.target: Force mips to use the generic cpu routines.
705 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
707 * configure.host: Delete file.
708 * configure.target: More documentation. Factor out common parts of
709 script into "intelligent" settings about defaults. Remove redundancy.
711 * acinclude.m4: Update comments. Do not call configure.host.
712 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
714 * configure.in: Slight reformatting, more comments. Factor out
715 "config/" from all the directories.
716 * docs/html/17_intro/porting.texi: Update and expand.
717 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
720 * aclocal.m4, configure, docs/html/17_intro/porting.html,
721 testsuite/Makefile.in: Regenerate.
723 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
725 * docs/doxygen/TODO: Update.
726 * docs/doxygen/tables.html: Uncomment magical middle column.
727 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
728 * include/bits/stl_queue.h: Doxygenate and reformat.
729 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
730 for deprecated names required by the standard.
732 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
734 * configure.in (target_alias): Fix.
735 * configure: Regenerate.
736 * aclocal.m4: Regenerate.
738 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
740 * include/Makefile.am: Add new files.
741 * include/Makefile.in: Regenerate.
743 * include/bits/stl_deque.h, include/bits/stl_list.h,
744 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
745 * include/bits/deque.tcc, include/bits/list.tcc,
746 include/bits/vector.tcc: ...to here. New files.
748 * include/ext/stl_hashtable.h: Inclide correct full headers.
749 * include/std/std_deque.h: Include .tcc files for now.
750 * include/std/std_list.h: Likewise.
751 * include/std/std_vector.h: Likewise.
753 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
755 * Makefile.am: Add FLAGS_TO_PASS.
756 * Makefile.in: Regenerated.
758 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
759 Benjamin Kosnik <bkoz@redhat.com>
761 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
763 * configure.in: Add support for *-qnx6.[12]*.
764 * configure: Regenerate.
766 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
768 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
769 ctype_noninline.h, os_defines.h: New files.
771 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
773 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
774 include all required headers for test against older POSIX standard.
775 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
776 (ac_setrlimit): Likewise.
777 * aclocal.m4: Regenerate.
778 * configure: Regenerate.
779 * testsuite/testsuite_hooks.cc: Reorder and include all
780 required headers for use against older POSIX standard.
782 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
784 * testsuite/backwards/strstream_members.cc: New.
786 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
788 * include/backwards/strstream: Format.
789 * src/strstream.cc: Format.
791 2002-06-08 Andreas Schwab <schwab@suse.de>
793 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
794 _M_buf_size and _M_buf_size_opt to the new buffer and size.
796 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
798 * config/os/generic/bits/ctype_noninline.h: Tweak format.
800 2002-06-07 Steve Ellcey <sje@cup.hp.com>
802 * src/locale-inst.cc (__codecvt_abstract_base):
803 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
804 * include/bits/istream.tcc (basic_istream): Ditto.
807 * include/bits/ostream.tcc (basic_ostream): Ditto.
813 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
815 * mkcheck.in: Link against local testsuite library.
816 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
817 implementation out...
818 * testsuite/testsuite_hooks.cc: ...to here.
820 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
822 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
823 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
824 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
825 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
826 * testsuite/Makefile.in: Likewise.
828 2002-06-05 David Edelsohn <edelsohn@gnu.org>
830 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
831 Call external symbol.
833 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
835 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
836 Search correct multilib testsuite dir for libv3test.
838 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
839 Gaby Dos Reis <gdr@codesourcery.com>
841 * include/bits/basic_string.tcc
842 (basic_string::_S_construct(forward_iterator_tag):
843 Fix typo in null pointer check.
844 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
846 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
848 * testsuite/22_locale/money_get_members_char.cc
849 (test02): Add decimal point to long double constants.
850 * testsuite/22_locale/money_get_members_wchar_t.cc
852 * testsuite/22_locale/money_put_members_char.cc
853 (test02, test03, test06): Likewise.
854 * testsuite/22_locale/money_put_members_wchar_t.cc:
855 (test02, test03, test06): Likewise.
856 * testsuite/22_locale/num_get_members_char.cc:
857 (test02, test01): Likewise; suffix long long constants with LL.
858 * testsuite/22_locale/num_get_members_wchar_t.cc:
859 (test02, test01): Likewise.
860 * testsuite/22_locale/num_put_members_char.cc:
861 (test02, test01): Likewise.
862 * testsuite/22_locale/num_put_members_wchar_t.cc:
863 (test02, test01): Likewise.
865 2002-06-03 Marc Espie <espie@openbsd.org>
867 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
868 assembly for old assemblers.
870 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
872 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
874 (vector<bool>::swap(reference,reference)): ...to this.
876 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
878 * docs/doxygen/TODO: Update.
879 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
880 some class members are in 14882 order.
881 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
883 * include/std/std_bitset.h: Update comment.
884 * src/bitset.cc: Update comments, clean up spacing.
886 * src/Makefile.am (sources): Alphabetize for convenience.
887 * src/Makefile.in: Regenerate.
889 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
891 * include/bits/stl_deque.h, include/bits/stl_list.h,
892 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
893 Reorder to match 14882. Doxygen blocks for all public members.
895 2002-05-31 Marcus Meissner <meissner@suse.de>
898 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
899 * testsuite/23_containers/vector_bool.cc (test02): New test.
901 2002-05-30 Marc Espie <espie@openbsd.org>
903 * configure.in: Always check for sys/types.h
904 * configure: Regenerate.
906 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
908 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
909 Rebuild the wrapper file every time this proc is called.
911 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
913 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
915 * testsuite/Makefile.in: Regenerate.
916 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
917 list_modifiers.cc and rename from 'T'. Move code bodies...
918 * testsuite/testsuite_hooks.cc: ...to here. New file.
919 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
920 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
921 Add libv3test.a to link options.
923 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
925 * src/misc-inst.cc: Define unnecessary algorithm
926 instantiations. Break apart instantiations into groupings below.
927 * src/fstream-inst.cc: New.
928 * src/io-inst.cc: New.
929 * src/istream-inst.cc: New.
930 * src/ostream-inst.cc: New.
931 * src/streambuf-inst.cc: New.
932 * src/sstream-inst.cc: New.
933 * src/Makefile.am (sources): Add files.
934 * src/Makefile.in: Regenerate.
936 * acinclude.m4: Work around automake 1.4-p5 bug, change
937 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
939 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
942 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
943 (classic_table): Fix.
944 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
946 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
948 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
949 _GLIBCPP_USE_WCHAR_T.
950 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
951 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
952 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
954 2002-05-26 Carlo Wood <carlo@alinoe.com>
955 Paolo Carlini <pcarlini@unitus.it>
958 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
959 (__enc_traits::operator=): add missing return statement.
961 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
964 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
965 (operator>>): If nothing was extracted, don't fail in the
967 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
969 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
972 * testsuite/22_locale/ctype_narrow_char.cc: New.
973 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
974 * testsuite/22_locale/ctype_widen_char.cc: New.
975 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
976 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
977 * testsuite/22_locale/ctype_is_char.cc: ...this.
978 * testsuite/22_locale/ctype_to_char.cc: ...and this.
979 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
980 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
981 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
983 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
985 2002-05-24 Dale Peakall <dale@peakall.net>
988 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
989 * config/locale/generic/ctype_members.cc: Same.
991 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
994 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
995 for empty string literal.
996 (ostream::operator<<(const _CharT*)): Same.
997 (ostream<char>::operator<<(const char*)): Same.
998 (ostream<char>::operator<<(streambuf*)): Same.
999 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1000 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1002 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1004 * configure.in (release_VERSION): Update to 3.1.1.
1005 (libtool_VERSION): Update to 4:1:0.
1006 * configure: Regenerate.
1008 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1010 * include/bits/stl_pair.h: Tweak comment markup.
1012 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1014 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1016 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1018 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1020 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1022 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1023 Doxygenate all public members. Reorder to follow 14882.
1024 (vector::push_back(void)): Remove previously-deprecated fn.
1025 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1026 Deprecate for removal in 3.3.
1028 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1030 * docs/html/faq/index.html (5.4): Recommend against -I options for
1031 finding the ext headers.
1032 * docs/html/faq/index.txt: Regenerate.
1034 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1036 * testsuite/23_containers/deque_operators.cc (test01):
1037 Fix minor typo in last commit.
1039 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1042 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1043 operator!=, operator<, operator>, operator>=, operator<=):
1044 Make non-member functions, to allow comparing const and
1045 non-const iterators in any order.
1046 * testsuite/23_containers/deque_operators.cc: New testfile.
1048 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1050 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1051 * docs/html/faq/index.txt: Regenerate.
1053 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1055 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1056 * acinclude.m4: Likewise.
1057 * docs/html/Makefile: Likewise.
1058 * aclocal.m4: Regenerate.
1059 * configure: Regenerate.
1060 * Makefile.in: Regenerate.
1062 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1065 * include/bits/c++config (__USE_MALLOC): Report case where
1066 the user improperly defined it on the command line.
1068 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1070 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1071 Retrieve current limits before setting.
1073 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1076 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1078 (ostream::operator<<(const _CharT*)): Same.
1079 (ostream<char>::operator<<(const char*)): Same.
1080 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1082 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1085 * src/strstream.cc (strstreambuf): Fix leak.
1087 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1090 * include/bits/istream.tcc (istream::getline, ignore):
1091 Upon __idelim (__delim) call sbumpc() not snextc().
1092 * testsuite/27_io/narrow_stream_objects.cc:
1093 Add test08 and test09.
1095 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1097 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1098 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1100 * docs/html/install.html: Fix.
1102 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1104 * include/bits/fstream.tcc
1105 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1107 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1109 * docs/html/install.html: Tweak, add bits about required locales
1110 for the 22_locale tests when using the gnu model.
1112 * testsuite/27_io/istream_sentry.cc: Tweak.
1114 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1116 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1117 Fix typo, use this->is() rather than manually (and perhaps
1118 incorrectly) inlining it.
1119 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1121 * testsuite/22_locale/ctype_scan_char.cc: New file.
1123 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1124 Jakub Jelinek <jakub@redhat.com>
1126 * testsuite/22_locale/money_get_members_char.cc
1127 (test01, test02, test04): Use the de_DE@euro named locale
1128 instead of de_DE to allow for an uniform behaviour with
1129 both old and Euro-era localedata; tweak some tests.
1130 * testsuite/22_locale/money_get_members_wchar_t.cc
1131 (test01, test02, test04): Likewise.
1132 * testsuite/22_locale/money_put_members_char.cc
1133 (test01, test02, test04): Likewise.
1134 * testsuite/22_locale/money_put_members_wchar_t.cc
1135 (test01, test02, test04): Likewise.
1137 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1139 * testsuite/22_locale/codecvt_members_char_char.cc
1140 (test03): Robustify wrt localedata.
1141 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1142 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1143 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1144 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1145 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1146 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1147 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1148 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1149 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1150 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1151 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1152 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1153 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1154 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1155 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1156 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1157 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1158 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1159 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1160 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1161 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1162 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1164 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1166 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1169 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1171 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1172 to 64 for hppa 64-bit port.
1173 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1175 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1177 * acinclude.m4 (enable_symvers): Quote $LD.
1178 * aclocal.m4: Regenerate.
1179 * configure: Likewise.
1181 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1183 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1184 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1187 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1189 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1190 script entry, and set LD to it when configuring multilibs.
1191 * configure: Rebuilt.
1193 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1195 * configure.in: Add support for WindISS.
1196 * configure: Regenerated.
1197 * configure.target: Add support for WindISS.
1198 * config/os/windiss/bits/ctype_base.h: New file.
1199 * config/os/windiss/bits/ctype_inline.h: Likewise.
1200 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1201 * config/os/windiss/bits/os_defines.h: Likewise.
1203 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1205 Test all the facets for the temporary "C" locale switch issue.
1206 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1207 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1208 * testsuite/22_locale/collate_members_char.cc: Add test04.
1209 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1210 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1211 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1212 * testsuite/22_locale/messages_members_char.cc: Add test03.
1213 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1214 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1215 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1216 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1217 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1218 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1219 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1220 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1221 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1222 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1223 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1224 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1225 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1226 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1228 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1229 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1231 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1233 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1234 __EXTENSIONS__): Ensure they are always defined.
1236 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1238 * docs/html/documentation.html: Fix broken link.
1240 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1241 Paolo Carlini <pcarlini@unitus.it>
1243 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1244 testing for the locale_facets.tcc entry of the previous commit.
1245 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1247 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1249 * config/locale/generic/c_locale.cc
1250 (__convert_to_v(float, double, long double)):
1251 Fix the temporary switch to the "C" locale, saving and
1252 restoring in the proper way the current locale.
1253 * config/locale/generic/time_members.cc
1254 (__timepunct<char, wchar_t>::_M_put): Likewise.
1255 * config/locale/gnu/messages_members.cc
1256 (messages<char>::do_get): Likewise.
1257 * config/locale/gnu/messages_members.h
1258 (messages<_CharT>::do_get): Likewise.
1259 * config/locale/gnu/time_members.cc
1260 (__timepunct<char, wchar_t>::_M_put): Likewise.
1261 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1263 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1265 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1266 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1268 * Makefile.in, config.h.in, configure: Regenerate.
1270 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1273 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1274 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1276 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1278 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1280 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1282 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1284 * configure.in: Update local install.html, configopts.html paths.
1285 * configure: Regenerate.
1287 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1289 * config/os/irix/irix5.2/bits/os_defines.h
1290 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1292 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1295 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1297 * docs/html/faq/index.html: Update list in #4.1.
1298 * docs/html/faq/index.txt: Regenerated.
1300 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1302 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1304 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1306 * include/std/std_bitset.h: Fix doxygen comments.
1307 * docs/html/documentation.html: Minor tweaks for 3.1.
1308 * docs/html/27_io/howto.html: Likewise.
1309 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1310 * docs/html/faq/index.html: Likewise.
1311 * docs/html/faq/index.txt: Regenerated.
1313 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1316 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1317 (istreambuf_iterator::equal): Use it.
1318 (istreambuf_iterator::operator*): Use it.
1320 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1323 * include/bits/stl_uninitialized.h
1324 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1325 Fix typo in 2001-07-17 commit: typedef _ValueType to
1326 iterator_traits<_ForwardIter> not <_InputIter>.
1327 * testsuite/23_containers/vector_ctor.cc: Add test04.
1329 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1332 * include/c_std/std_cctype.h: Include bits/c++config.h.
1333 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1335 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1337 * include/ext/stdio_filebuf.h: New file.
1338 * include/ext/enc_filebuf.h: New file.
1339 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1340 * config/io/basic_file_stdio.cc: Same.
1341 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1342 Remove _M_unbuf hacks.
1343 (filebuf::_M_destroy_internal_buffer): Same.
1344 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1345 (filebuf::fd): Remove.
1346 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1347 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1348 (filebuf::fd): Remove.
1349 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1351 (ios_base::_S_ios_destroy): Same.
1352 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1353 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1354 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1356 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1359 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1361 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1364 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1366 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1367 (istreambuf_iterator::operator++): Invalidate on eof.
1368 (istreambuf_iterator::operator++(int)): Same.
1369 (istreambuf_iterator::operator*): Same.
1371 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1373 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1374 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1377 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1380 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1381 (__basic_file::sys_ungetc): Take int.
1382 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1383 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1384 Use sys_getc for unbuffered input.
1385 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1387 * src/ios.cc (_M_grow_words): Adjust error checking.
1388 * testsuite/27_io/ios_base_storage.cc: Same.
1390 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1392 * include/ext/stl_hashtable.h: Import __iterator_category
1394 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1395 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1397 * testsuite/ext/hash_set.cc: New testfile.
1399 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1401 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1403 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1404 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1406 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1408 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1409 Fix and tighten __throw_length_error check.
1410 * testsuite/21_strings/replace.cc (test05): New.
1411 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1413 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
1415 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1416 unconditional flush on lower-layer handle to here...
1417 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1418 ...from here. Optimize remaining _M_file.sync() call pattern.
1419 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1422 2002-04-23 Jason Merrill <jason@redhat.com>
1424 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1425 output-only filebufs.
1426 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1428 (basic_filebuf::_M_set_determinate): Likewise.
1431 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1432 value properly in the trivial case.
1433 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1434 tellg() returns the right value after a read.
1436 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
1438 * config/cpu/mmix/bits/cpu_limits.h: New file.
1439 * configure.target (CPULIMITSH): Use it.
1441 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
1443 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1444 * docs/html/17_intro/porting.html: Rebuilt.
1446 2002-04-20 Jason Merrill <jason@redhat.com>
1449 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1451 (basic_streambuf::_M_set_determinate): Likewise.
1452 (basic_streambuf::_M_is_indeterminate): Likewise.
1453 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1454 non-static data member.
1455 (basic_filebuf::_M_underflow_common): New non-static member function.
1456 (basic_filebuf::_M_underflow, _M_uflow): Call it.
1457 (basic_filebuf::sync): Avoid useless seeking.
1458 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1460 (basic_filebuf::_M_set_determinate): Likewise.
1461 (basic_filebuf::_M_is_indeterminate): Likewise.
1462 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1463 back to _M_out_beg if necessary.
1464 (basic_filebuf::seekoff): Likewise.
1465 (basic_filebuf::_M_underflow_common): Generalization of old
1466 underflow(). Don't seek back to _M_in_beg.
1467 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1468 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1469 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1470 * config/os/mingw32/bits/os_defines.h: Likewise.
1471 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1474 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
1476 * include/bits/istream.tcc (istream::read): Fix.
1477 * testsuite/27_io/istream_unformatted.cc (main): Add.
1479 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
1482 * include/bits/istream.tcc (istream::ignore): Streamline, use
1484 * include/bits/streambuf.tcc: Use this->gptr.
1485 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1487 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
1489 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1490 as type safety is important, especially on solaris.
1491 * include/bits/istream.tcc (istream::read): Clean.
1492 (istream::readsome): Same.
1493 * locale.cc: Wrap lines.
1495 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1496 * testsuite/27_io/instantiations.cc (test): Add bool variable...
1497 * testsuite/21_strings/capacity.cc: Clean.
1499 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1501 * docs/doxygen/doxygroups.cc: New group on binary searching.
1502 * include/bits/stl_algo.h: Document binary searches and merges.
1503 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
1505 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1507 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
1508 * docs/doxygen/run_doxygen: Bump required version.
1509 * docs/doxygen/user.cfg.in: Revert accidental change.
1510 * docs/html/faq/index.html: Reindent a block of links.
1511 (4.4): New note on using dlsym.
1512 * docs/html/faq/index.txt: Regenerated.
1514 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1516 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
1518 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1520 * config/linker-map.gnu (__malloc_alloc_template): Add.
1521 (__default_alloc_template): Same.
1522 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1524 (__default_alloc_template): Same.
1526 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1528 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1530 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
1532 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1533 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1534 (__malloc_alloc_template): Conditionalize.
1536 * include/bits/istream.tcc: Remove sputbackc calls.
1538 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1540 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
1542 * testsuite/24_iterators/rel_ops.cc: New test.
1544 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1546 * include/bits/type_traits.h (__normal_iterator): Declare in
1547 __gnu_cxx. Adjust use at global namespace.
1548 * include/bits/stl_iterator.h (__normal_iterator): Move definition
1549 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
1550 * include/bits/basic_string.h (basic_string): Adjust use of
1552 * include/bits/stl_vector.h (_Alloc>): Likewise.
1553 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1554 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1556 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
1560 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1562 (__basic_file::close): Call fflush. Correct return if fclose ok.
1563 (__basic_file::is_open): Make const.
1564 Change __c_file_type to __c_file.
1565 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1566 (__basic_file::is_open): Make const.
1567 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1568 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1569 (filebuf::_M_unbuf): Add.
1570 (filebuf::_M_file): Change to non-pointer.
1571 (filebuf::_M_allocate_pback_buffer): Remove.
1572 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1573 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1574 Change initialization list for _M_file change.
1575 (filebuf::_M_allocate_pback_buffer): Remove.
1576 Change _M_file usage to reflect non-pointer data member.
1578 * config/locale/generic/c_locale.cc
1579 (locale::facet::_S_create_c_locale): Add parameter.
1580 * config/locale/generic/collate_members.cc: Change
1581 _M_compare_helper to _M_compare.
1582 Change _M_transform_helper to _M_transform.
1583 * config/locale/generic/monetary_members.cc: Changeup data types.
1585 * config/locale/generic/numeric_members.cc: Add dtors.
1586 * config/locale/generic/time_members.cc: Add dtors.
1587 * config/locale/gnu/c_locale.cc: Add parameter.
1588 * config/locale/gnu/collate_members.cc:Change
1589 _M_compare_helper to _M_compare.
1590 Change _M_transform_helper to _M_transform.
1591 * config/locale/gnu/ctype_members.cc: Better error checking.
1592 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1593 * config/locale/gnu/messages_members.cc: Tweak comment.
1594 * config/locale/gnu/monetary_members.cc: Change data types.
1596 * config/locale/gnu/numeric_members.cc: Add dtors, better error
1598 * config/locale/gnu/time_members.cc: Same.
1599 * config/locale/ieee_1003.1-2001/c_locale.cc
1600 (locale::facet::_S_create_c_locale): Add parameter.
1601 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1602 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1605 * include/bits/locale_facets.h (moneypunct): Use string literals.
1608 (__timepunct): Same.
1609 (locale::_Impl::_M_facets): Change from vector to array.
1610 (locale::_Impl::_M_names): Change from array of strings to array
1612 (locale::facet::_S_create_c_locale): Add parameter.
1613 (locale::locale::_S_num_facets): Move to...
1614 (locale::_Impl::_M_facets_size): Here.
1615 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1617 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1618 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1619 (locale::_Impl::_Impl(string, size_t)): Change to
1620 (locale::_Impl::_Impl(const char*, size_t)): This.
1622 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1623 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1624 (streambuf::_S_pback_size): This.
1626 * src/globals.cc: Add pre-allocations for "C" facets.
1627 * src/locale-inst.cc: Remove vector instantiations.
1628 * src/locale.cc: Remove vector include. Fixups for _M_names,
1630 * src/localename.cc: Same.
1632 * include/bits/stl_vector.h: Fix odd formatting.
1634 * include/bits/basic_string.tcc: Tweak comment.
1636 * libsupc++/new: Make sure parameters are uglified.
1637 * libsupc++/typeinfo: Same.
1639 * testsuite/22_locale/num_get_members_char.cc: Fixup.
1640 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1641 * testsuite/27_io/filebuf_members.cc: Same.
1643 2002-04-12 Steve Ellcey <sje@cup.hp.com>
1645 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1646 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1647 does not define strtoll or strtoull, but does define strtol
1648 and strtoul which are the same since in 64 bit mode
1649 sizeof(long) == sizeof(long long).
1651 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
1653 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
1654 trailing spaces, indentation, and macro names. Make exception
1655 messages more informative.
1657 2002-04-11 Richard Henderson <rth@redhat.com>
1659 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1660 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1661 (basic_ostream<>::operator<<(long long)): Same.
1663 2002-04-11 Richard Henderson <rth@redhat.com>
1665 * config/linker-map.gnu: Add __gxx_personality_sj0.
1667 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1670 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1672 Remove forward declaration of vector.
1674 * include/bits/locale_facets.tcc: Remove vector include.
1675 (use_locale): Adjust.
1676 (has_locale): Adjust.
1677 * src/locale.cc: Adjust.
1678 * src/localename.cc: Same.
1680 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1681 Richard Henderson <rth@redhat.com>
1683 * include/bits/sstream.tcc: Clean up bit ops.
1684 * include/bits/fstream.tcc: Same.
1686 2002-04-09 Jakub Jelinek <jakub@redhat.com>
1688 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1689 (__num_base::_S_scale_oct): Remove.
1690 * src/locale.cc (__num_base::_S_scale_hex): Remove.
1691 (__num_base::_S_scale_oct): Remove.
1693 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1696 * testsuite/23_containers/bitset_members.cc: New test.
1697 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1698 (_S_bit_count): Here.
1699 (_First_one::_S_first_one): Move...
1700 (_S_first_one): Here.
1702 * src/bitset.cc: Adjust.
1703 * config/linker-map.gnu: Export.
1705 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
1708 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1709 * include/std/std_fstream.h: Clean.
1710 * include/bits/ostream.tcc: Remove extraneous variables.
1711 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1712 open modes and which modes.
1713 (stringbuf::seekpos): Same.
1714 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1716 2002-04-05 Jonathan Wakely <jw@kayari.org>
1718 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1719 random_shuffle, partition, stable_partition, sort, stable_sort,
1720 partial_sort, partial_sort_copy, nth_element): Doxygenate.
1722 2002-04-05 David S. Miller <davem@redhat.com>
1724 * config/os/gnu-linux/bits/os_defines.h
1725 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1727 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
1730 via gawrilow@math.tu-berlin.de
1731 * acinclude.m4 (version_specific_libs): Fix combo usage with
1732 --with-gxx-include-dir.
1733 * aclocal.m4: Regenerate.
1736 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
1738 As per DR 184, libstdc++/3139
1739 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1740 (numeric_limits<bool>::is_iec559): False.
1741 (numeric_limits<bool>::is_modulo): False.
1743 * testsuite/27_io/ios_init.cc: Add instantiations.
1745 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
1748 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1749 * testsuite/27_io/ios_init.cc (tests04): Add test.
1752 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1753 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1754 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1755 * include/bits/istream.tcc: Use _M_fctype, make consistent with
1757 * testsuite/27_io/ios_init.cc (tests03): Add test.
1759 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
1761 * include/Makefile.am (install-data-local): Use mkinstalldirs.
1762 * include/Makefile.in: Regenerate.
1764 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
1765 Nathan Myers <ncm@cantrip.org>
1766 Philip Martin <philip@codematters.co.uk>
1768 * include/bits/basic_string.h
1769 (replace(i1, i2, _CharT* k1, _CharT* k2),
1770 replace(i2, i2, const _CharT* k1, const _CharT* k2),
1771 replace(i1, i2, iterator k1, iterator k2,
1772 replace(i1, i2, const_iterator k1, const_iterator k2):
1773 New specializations to optimize for the common cases of
1774 pointers and iterators.
1775 (replace(pos, n1, s, n2)): Tweak.
1776 * include/bits/basic_string.tcc: Tweak comments.
1777 * testsuite/21_strings/replace.cc (test04): New tests.
1779 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1782 * acinclude: More extensive checks for msgfmt, --enable-nls.
1783 * aclocal.m4: Regenerate.
1784 * configure: Regenerate.
1786 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1788 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
1789 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
1790 * docs/html/18_support/howto.html: Document the demangler.
1791 * docs/html/17_intro/howto.html: And link to it.
1793 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
1794 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
1796 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1798 * config/linker-map.gnu: Export __verbose_terminate_handler.
1799 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
1800 Make new LTCOMPILE variable, use it in new special build rules.
1801 * libsupc++/Makefile.in: Rebuild.
1802 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
1803 runtime __cxa_demangle.
1805 * docs/html/install.html: Update prereqs and instructions.
1806 * docs/html/19_diagnostics/howto.html: Bring naming for
1807 verbose_terminate_handler into line with reality.
1809 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1812 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1813 (basic_ios::_M_streambuf_state): Move.
1814 * include/bits/ios_base (ios_base): To here.
1815 * include/bits/ios_base.h (ios_base::_S_local_words): To
1817 (ios_base::_M_word_array): To _M_local_word.
1818 (ios_base::_M_words_limit): To _M_word_size.
1819 (ios_base::_M_words): To _M_word.
1821 * include/bits/basic_ios.tcc: Adjust.
1822 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1823 * testsuite/27_io/ios_base_storage.cc: Add tests.
1826 Kenny Simpson <theonetruekenny@yahoo.com>
1827 * include/bits/ios_base.h: Fix.
1829 Richard Henderson <rth@redhat.com>
1830 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1833 * include/bits/basic_string.h: Tweak formatting.
1835 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1837 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1838 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1839 By definition, sizeof(char) == 1.
1840 * include/bits/locale_facets.tcc (money_get::do_get,
1841 money_put::do_put): Ditto.
1842 * testsuite/21_strings/inserters_extractors.cc
1845 2002-03-30 Richard Henderson <rth@redhat.com>
1848 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1849 data out of the exception struct before calling unexpectedHandler.
1851 2002-03-28 Roger Sayle <roger@eyesopen.com>
1853 * include/c_std/std_cmath.h: To prevent problems overloading
1854 g++ builtins, use the double variants from the global namespace
1855 before defining float and long double variants in std::.
1857 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1859 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1861 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1863 * testsuite/24_iterators/istream_iterator.cc
1864 (test02): New tests.
1866 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1867 Paolo Carlini <pcarlini@unitus.it>
1869 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1870 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1871 fix i_lit_base e_lit_base arrays, making them independent
1872 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1874 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1876 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1877 allocate at least a byte.
1879 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1881 * testsuite/27_io/streambuf.cc (test07): Fix.
1884 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1886 * docs/doxygen/Intro.3: Date tweak.
1887 * docs/doxygen/TODO: Update.
1888 * docs/doxygen/doxygroups.cc: Point to tables.html.
1889 * docs/doxygen/mainpage.html: Date tweak.
1890 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1891 * docs/doxygen/tables.html: Fill in the blanks.
1893 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1894 * include/bits/stl_algo.h: Likewise; use expanded form.
1895 * include/bits/stl_alloc.h: Likewise.
1896 * include/bits/stl_construct.h: Likewise.
1897 * include/bits/stl_deque.h: Likewise.
1898 * include/bits/stl_iterator_base_types.h: Likewise.
1899 * include/bits/stl_list.h: Likewise.
1900 * include/bits/stl_relops.h: Likewise.
1901 * include/bits/stl_tempbuf.h: Likewise.
1902 * include/bits/stl_vector.h: Likewise.
1903 * include/std/std_memory.h: Likewise.
1905 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1906 * include/bits/stl_list.h: Likewise.
1907 * include/bits/stl_vector.h: Likewise.
1909 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1911 * include/c/: Guard with _CPP_.
1912 * include/c_std/: Same.
1913 * include/Makefile.am: Fixup install, link routines for null
1914 c_base_headers_extra scenarios.
1915 * include/Makefile.in: Regerate.
1917 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1918 Richard Henderson <rth@redhat.com>
1920 * testsuite/22_locale/codecvt_members_unicode_char.cc
1921 (test01, test02): make sure that the i_lit_base array
1922 is sufficiently aligned.
1924 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1926 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1929 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1931 * testsuite/22_locale/collate_byname.cc
1932 (test01): compare the result of collate::compare with
1933 that of collate::transform + string::compare, not with
1934 that of collate::transform + collate::compare; values
1935 returned by collate::compare are normalized, therefore
1938 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1939 Jakub Jelinek <jakub@redhat.com>
1941 * config/locale/gnu/messages_members.h: Correct conditional.
1942 * config/locale/gnu/messages_members.cc: Same.
1943 * config/locale/gnu/time_members.cc: Same.
1945 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1946 Paolo Carlini <pcarlini@unitus.it>
1948 * testsuite/22_locale/codecvt_members_unicode_char.cc
1949 (test01, test02): Fix i_lit_base arrays, making them
1950 independent from the endianness of the platform.
1952 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1954 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1955 signbit and __signbit directly.
1956 * aclocal.m4: Regenerate.
1957 * configure: Regenerate.
1958 * config.h.in: Regenerate.
1959 * libmath/Makefile.am: Simplify.
1960 * libmath/Makefile.in: Regenerate.
1961 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1963 * include/Makefile.am: Clean up handling of extra "C" header files.
1964 Add hooks for "C" compatibility headers.
1965 * include/Makefile.in: Regenerate.
1967 * include/c/*: Formatting tweaks, cleanups.
1968 * include/c_std/*: Same.
1970 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1972 * config/locale/gnu/messages_members.h: Add __uselocale bits.
1973 * config/locale/gnu/messages_members.cc: Same.
1974 * config/locale/gnu/time_members.cc: Same.
1976 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1978 * src/vterminate.cc: Format, -fno-exceptions cleanup.
1980 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1982 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1983 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1984 * aclocal.m4: Regenerate.
1985 * configure: Likewise.
1987 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
1988 Ulrich Drepper <drepper@redhat.com>
1990 * src/locale-inst.cc (__convert_from_v): Add an additional
1991 __size parameter in the declarations.
1992 * include/bits/locale_facets.tcc
1993 (__convert_from_v): When available (that is,
1994 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1995 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1996 being defined or not, call and use __convert_from_v in the
1998 (num_put::_M_convert_int): Same here.
1999 (money_put::do_put(long double)): Same here.
2001 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2003 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2004 * docs/html/faq/index.txt: Regenerate.
2006 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2008 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2009 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2010 --enable-libunwind-exceptions is set.
2011 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2012 macro to check for libunwind.
2013 * configure: Regenerate.
2014 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2015 LIBUNWIND_FLAG to libstdc link line.
2016 * src/Makefile.in: Regenerate.
2018 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2020 * docs/html/faq/index.html: Add OS X workaround.
2021 * docs/html/17_intro/TODO: Update.
2023 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2025 * include/bits/locale_facets.tcc
2026 (money_put::do_put(long double)): Fix dimensioning of
2027 temporary buffers to avoid risk of overruns.
2028 (money_put::do_put(string)): Same for the buffer used to
2029 add the grouping chars.
2030 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2031 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2033 * include/bits/locale_facets.tcc
2034 (collate::do_transform): Simplify.
2036 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2038 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2039 * configure.in: Add comments pointing the way for autoconf 2.5x.
2040 * aclocal.m4, config.h.in, configure: Regenerate.
2042 2002-03-18 Philipp Thomas <pthomas@suse.de>
2044 * include/backward/hash_map.h: hash, hashtable, hash_map and
2045 hash_multimap are in namespace __gnu_cxx.
2046 include/backward/hash_set.h: hash, hashtable, hash_set and
2047 hash_multiset are in namespace __gnu_cxx.
2048 include/backward/hashtable.h: hash and hashtable are in
2049 namespace __gnu_cxx.
2050 include/backward/rope.h: char_producer, sequence_buffer,
2051 rope, crope and wrope are in namespace __gnu_cxx.
2052 include/backward/slist.h: slist is in namespace __gnu_cxx.
2053 * testsuite/backward/header_hash_map_h.cc
2054 testsuite/backward/header_hash_set_h.cc
2055 testsuite/backward/header_hashtable_h.cc
2056 testsuite/backward/header_rope_h.cc
2057 testsuite/backward/header_slist_h.cc
2058 testsuite/backward/header_tempbuf_h.cc: New tests for
2059 checking that we're using the correct namespace.
2061 2002-03-17 Jason Merrill <jason@redhat.com>
2064 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2065 (check_exception_spec): Call it. Take the thrown pointer.
2066 (__cxa_call_unexpected): Pass it.
2067 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2069 2002-03-15 Anthony Green <green@redhat.com>
2071 * configure.in: Remove useless is_mingw32.
2072 * configure: Rebuilt.
2074 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2076 * testsuite/22_locale/collate_members_char.cc
2077 (test01): compare the result of collate::compare with
2078 that of collate::transform + string::compare, not with
2079 that of collate::transform + collate::compare.
2080 (test01): values returned by collate::compare are
2081 normalized, therefore test against +-1.
2082 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2084 2002-03-12 Loren Rittle <ljrittle@acm.org>
2086 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2087 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2089 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2090 Per Liboriussen <liborius@stofanet.dk>
2092 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2094 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2096 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2098 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2099 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2101 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2102 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2104 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2105 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2107 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2109 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2111 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2112 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2113 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2114 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2115 that memory limits are in place.
2116 (test03): Add tests.
2118 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2120 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2121 * aclocal.m4: Regenerate.
2122 * config.h.in: Regenerate.
2123 * configure: Regenerate.
2124 * include/c_std/std_cwctype.h: Guard.
2126 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2128 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2129 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2130 * aclocal.m4: Regenerate.
2131 * configure: Regenerate.
2133 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2135 * include/bits/stl_bvector.h: Fix warning.
2137 2002-03-11 Richard Henderson <rth@redhat.com>
2139 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2141 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2143 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2144 New function. Build the list of tests to run in testsuite_files.
2145 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2147 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2149 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2150 platforms with no weak support.
2151 * testsuite/27_io/ios_init.cc: Likewise.
2153 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2155 * include/bits/locale_facets.tcc (time_put::do_put):
2156 Consider sizeof(char_type) in allocating the buffer.
2158 * include/bits/locale_facets.tcc (collate::do_tranform):
2159 Remove redundant variable.
2161 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2162 Paolo Carlini <pcarlini@unitus.it>
2164 * config/locale/generic/collate_members.cc
2165 (collate<char,wchar_t>::_M_compare_helper): normalize
2166 values returned by strcoll and wcscoll.
2167 * config/locale/gnu/collate_members.cc
2168 (collate<char,wchar_t>::_M_compare_helper): ditto
2169 for __strcoll_l and __wcscoll_l.
2171 2002-03-10 Anthony Green <green@redhat.com>
2173 * configure.in: Support cross builds to mingw32 target.
2174 * configure: Rebuilt.
2176 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2178 * include/bits/locale_facets.tcc (collate::do_transform):
2179 Rewrite to fix problems with long transformed strings.
2181 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2183 * c_locale_generic.cc: Move to...
2184 * generic/c_locale.cc
2185 * c_locale_generic.h: Move to...
2186 * generic/c_locale.h
2187 * codecvt_specializations_generic.h: Move to...
2188 * generic/codecvt_specializations.h
2189 * collate_members_generic.cc: Move to...
2190 * generic/collate_members.cc
2191 * ctype_members_generic.cc: Move to...
2192 * generic/ctype_members.cc
2193 * messages_members_generic.cc: Move to...
2194 * generic/messages_members.cc
2195 * messages_members_generic.h: Move to...
2196 * generic/messages_members.h
2197 * moneypunct_members_generic.cc: Move to...
2198 * generic/monetary_members.cc
2199 * numpunct_members_generic.cc: Move to...
2200 * generic/numeric_members.cc
2201 * time_members_generic.cc: Move to...
2202 * generic/time_members.cc
2203 * c_locale_gnu.cc: Move to...
2205 * c_locale_gnu.h: Move to...
2207 * collate_members_gnu.cc: Move to...
2208 * gnu/collate_members.cc
2209 * ctype_members_gnu.cc: Move to...
2210 * gnu/ctype_members.cc
2211 * messages_members_gnu.cc: Move to...
2212 * gnu/messages_members.cc
2213 * messages_members_gnu.h: Move to...
2214 * gnu/messages_members.h
2215 * moneypunct_members_gnu.cc: Move to...
2216 * gnu/monetary_members.cc
2217 * numpunct_members_gnu.cc: Move to...
2218 * gnu/numeric_members.cc
2219 * time_members_gnu.cc: Move to...
2220 * gnu/time_members.cc
2221 * c_locale_ieee_1003.1-200x.cc: Move to...
2222 * ieee_1003.1-2001/c_locale.cc
2223 * c_locale_ieee_1003.1-200x.h: Move to...
2224 * ieee_1003.1-2001/c_locale.h
2225 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2226 * ieee_1003.1-2001/codecvt_specializations.h
2227 * messages_members_ieee_1003.1-200x.cc: Move to...
2228 * ieee_1003.1-2001/messages_members.cc
2229 * messages_members_ieee_1003.1-200x.h: Move to...
2230 * ieee_1003.1-2001/messages_members.h
2232 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2233 * aclocal.m4: Regenerate.
2234 * configure: Regenerate.
2235 * src/Makefile.am (sources): Change to monetary and numeric.
2236 * src/Makefile.in: Regenerate.
2237 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2239 2002-03-08 scott snyder <snyder@fnal.gov>
2242 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2243 Allow one more digit of precision.
2244 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2245 write a double and read back in the same value.
2247 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2249 * include/std/std_limits.h: Move static const data members out of
2250 generic template, into base class __numeric_limits_base.
2251 * src/limits.cc: Add definitions.
2252 * config/linker-map.gnu: Add __numeric_limits_base.
2253 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2255 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2257 * include/bits/stl_alloc.h: Add extern implicit allocator
2259 * include/bits/basic_string.tcc: Tweak.
2260 * include/bits/locale_facets.tcc: Remove default args. Add
2261 has_facet, use_facet extern instantiations.
2262 * src/stl-inst.cc: Add explicit instantiation.
2263 * src/locale-inst.cc: Clean. Remove locale member template
2266 * testsuite/22_locale/operators.cc (test02): Enable.
2268 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2269 Stephen M. Webb <stephen.webb@bregmasoft.com>
2271 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2272 (_S_rb_tree_black): Make enum.
2274 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2275 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2276 (__stl_threshold): _M_threshold, enum.
2277 * src/stl-inst.cc: Same.
2278 * config/linker-map.gnu: Remove.
2280 * testsuite/23_containers/vector_bool.cc: New.
2282 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2284 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2285 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2286 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2287 referring to the collection as a whole. New section on which macros
2288 can be redefined by the user.
2289 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2290 * docs/html/20_util/howto.html: Update link to SGI.
2291 * docs/html/faq/index.html: Update snapshot versions. New entry
2292 on why g++ (but not gcc) must currently predefine certain macros.
2293 * docs/html/faq/index.txt: Regenerated.
2295 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2296 names in declaration.
2297 (basic_string::compare): These are no longer optional.
2298 * include/bits/ostream.tcc: Tweak closing brace placement.
2299 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2300 * include/std/std_sstream.h: Fix typo in comment.
2301 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2302 * src/locale.cc: Likewise.
2304 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2307 * include/bits/stl_vector.h (vector::push_back()): Guard with
2308 _GLIBCPP_DEPRECATED.
2310 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2312 * include/bits/c++config: Fix misplaced leading blanks on first line.
2314 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2316 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2317 * README (libmath): Make clear.
2319 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2321 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2322 script globbing in ld.
2323 * aclocal.m4: Rebuilt.
2324 * configure: Rebuilt.
2326 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2328 * docs/html/17_intro/RELEASE-NOTES: Update.
2329 * README: Format subdirectories.
2331 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2334 * include/bits/locale_facets.tcc
2335 (num_get::_M_extract_float): Fix the parsing of __dec, since
2336 the standard prescribes that if no grouping characters are
2337 seen, no grouping check is applied.
2338 * testsuite/22_locale/num_get_members_char.cc: Add test05
2339 distilled from the PR.
2340 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2342 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2344 * docs/html/17_intro/porting-howto.xml: Refer to
2345 http://www.oasis-open.org for docbookx.dtd.
2346 * docs/html/17_intro/porting-howto.html: Regenerated.
2348 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2351 * include/std/std_sstream.h: Remove trailing spaces.
2352 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2353 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2355 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2357 * testsuite/22_locale/num_get_members_char.cc (test04):
2358 Use a named locale expecting grouping (de_DE).
2359 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2361 * testsuite/27_io/ios_manip_basefield.cc (test01):
2362 Extend coverage, uniform treatment of hexs and octs.
2364 2002-02-28 Richard Henderson <rth@redhat.com>
2366 * config/linker-map.gnu: Export operator new with unsigned long,
2367 and with std::nothrow_t. Likewise operator delete.
2369 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2371 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2372 Admit grouping for octals and hexadecimals too.
2373 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2374 (test01): Tweak "." -> "," in void* test.
2375 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2377 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2378 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2380 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2382 * testsuite/27_io/ios_manip_basefield.cc (test01):
2383 Fix for 64 bit machines.
2385 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2388 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2390 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2391 (basic_ios::_M_fill_init): New.
2392 (basic_ios::fill()): Delay dealing with _M_fill.
2394 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2395 (ios_base::_M_call_callbacks): Adjust.
2396 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2398 2002-02-26 Loren Rittle <ljrittle@acm.org>
2400 * include/Makefile.am (thread_target_headers): Unconditionally
2401 stage and install gthr-posix.h.
2402 (${target_builddir}/gthr-posix.h): New rule cloned off
2403 ${target_builddir}/gthr-default.h.
2404 (${target_builddir}/gthr-default.h): Support chained inclusion
2405 of gthr support headers.
2406 * include/Makefile.in: Rebuilt.
2408 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2410 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2411 Group all the integral types, not only decs.
2412 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2413 tests, add a few more.
2415 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
2417 * src/ios.cc (ios_base::~ios_base): Tweak.
2418 (ios_base::_M_call_callbacks): Deal with null __p.
2419 (ios_base::ios_base): Set _M_callbacks.
2420 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2421 * testsuite/27_io/ios_init.cc (test02): Fix.
2423 * mkcheck.in (static_fail): Failed links go to output file.
2425 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
2427 * docs/html/faq/index.html: Update.
2428 * docs/html/faq/index.txt: Regenerate.
2430 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
2432 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
2433 * aclocal.m4: Regenerate.
2434 * docs/html/configopts.html: Document --enable-symvers.
2435 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
2437 2002-02-22 Philipp Thomas <pthomas@suse.de>
2439 * include/backward/tempbuf.h: get_temporary_buffer and
2440 return_temporary_buffer are in namespace std, not in __gnu_cxx.
2442 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
2444 * configure.in (target_alias): Default to yes.
2445 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2446 libgcc to default case.
2448 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
2450 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
2451 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
2452 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
2453 * aclocal.m4: Regenerate.
2454 * configure: Regenerate.
2455 * config/linker-map.dummy: New file. Contains nothing useful.
2457 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
2459 * testsuite/22_locale/money_put_members_char.cc: Fix.
2460 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2462 * testsuite/27_io/standard_manipulators.cc: New file.
2464 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2465 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2467 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
2469 * config/os/mingw32/bits/ctype_noninline.h
2470 (ctype<char>::ctype): Remove default args from parm list.
2471 * config/os/djgpp/bits/ctype_noninline.h: Same.
2473 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2475 * include/std/std_iomanip.h: Inline, tweaks.
2476 * config/linker-map.gnu: Remove hacks.
2478 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2479 * testsuite/27_io/ios_init.cc: Same.
2480 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2481 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2483 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2485 * config/linker-map.gnu: Export global vtable, typeinfo, guard
2486 variable, and thunk info as per CXXABI docs.
2488 2002-02-19 Loren Rittle <ljrittle@acm.org>
2490 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2491 * include/Makefile.in: Rebuilt.
2493 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2495 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2496 with size3 for the string collations of str5.
2498 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
2501 * include/bits/locale_facets.tcc (money_put::do_put):
2502 For the space field use __fill instead of ' ', uniformly.
2503 * testsuite/22_locale/money_put_members_char.cc:
2504 Add test05 distilled from PR.
2505 (test01-02-03): Trim some '*' to ' '.
2506 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2508 2002-02-18 Loren Rittle <ljrittle@acm.org>
2511 * include/Makefile.am (thread_builddir): Remove (map all
2512 existing uses to target_builddir).
2513 (thread_headers): Rename to...
2514 (thread_target_headers): ...this.
2515 (stamp-thread): Remove.
2516 (stamp-target): Correctly state the position as built.
2517 Update all dependencies to match the new reality. Remove all
2518 dependency calculations on directories.
2519 * include/Makefile.in: Rebuilt.
2521 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
2523 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2524 * include/bits/fstream.tcc: Same.
2525 * include/bits/sstream.tcc: Same.
2526 * include/bits/ostream.tcc: Same.
2527 * include/bits/istream.tcc: Same.
2528 * include/bits/streambuf.tcc: Same.
2529 * include/bits/basic_ios.tcc: Same.
2530 * include/bits/basic_string.tcc: Same.
2532 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2534 * include/std/std_iosfwd.h: Don't guard typedefs with
2535 _GLIBCPP_USE_WCHAR_T
2536 * include/bits/stringfwd.h: Same.
2538 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2540 * src/locale.cc (moneypunct_byname): Remove definitions.
2541 * include/std/std_streambuf.h (streambuf::operator=): Return.
2543 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2546 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2547 explicit instantiation.
2548 (string::_Rep::_S_max_size): Same.
2549 * include/bits/basic_string.tcc: Add extern explicit
2550 instantiations for string, wstring.
2551 * include/bits/basic_ios.tcc: Add extern explicit instantiations
2553 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2554 * include/bits/istream.tcc: Same, for istream, wistream.
2555 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2557 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2558 istringstream, wistringstream, ostringstream, wostringstream,
2559 stringstream, wstringstream.
2560 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2561 wifstream, ofstream, wofstream, fstream, wfstream.
2562 * src/misc-inst.cc: Correct comments.
2563 Add iomanip instantiations for wide streams.
2564 * include/std/std_iomanip.h: Same.
2565 * include/bits/locale_facets.tcc: Same.
2567 * include/std/std_streambuf.h: Correct
2568 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2569 * include/std/std_sstream.h: Same.
2570 * include/std/std_ostream.h: Same.
2571 * include/std/std_istream.h: Same.
2572 * include/std/std_fstream.h: Same.
2574 * include/std/std_streambuf.h: Add definitions for private copy
2575 ctor and assignment operator.
2576 * include/std/std_istream.h: Remove declared but undefined copy
2577 ctor and assignment operator. This is taken care of in ios_base,
2578 so adding it in the derived class as well is superfluous.
2579 * include/std/std_ostream.h: Same.
2581 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2582 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2584 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2586 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2587 Add typeinfo bits. Smooth.
2588 * aclocal.m4: Regenerate.
2590 * src/Makefile.in: Same.
2592 2001-02-14 Joel Sherrill <joel@OARcorp.com>
2594 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2595 which do not have a CAS instruction.
2597 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2599 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2600 * configure.in: Call it.
2601 * config/linker-map.gnu: New file, initial incomplete revision.
2602 * src/Makefile.am: Optionally pass version script to the linker.
2603 * aclocal.m4: Regenerate.
2604 * configure: Regenerate.
2605 * src/Makefile.in: Regenerate.
2607 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
2609 * src/localename.cc: Remove stdexcept include.
2610 * src/locale-inst.cc: Same.
2611 * src/locale.cc: Same.
2612 * src/functexcept.cc: Remove string includes.
2613 * include/std/std_bitset.h: Remove stdexcept include.
2614 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2615 * testsuite/23_containers/bitset_ctor.cc: Same.
2617 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
2619 * include/bits/stl_algo (__stl_threshold): Declare external.
2620 (__stl_chunk_size): Same.
2621 * include/bits/stl_bvector.h (__WORD_BIT): Same.
2622 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2623 (_S_rb_tree_black): Same.
2624 * src/stl-inst.cc (__stl_threshold): Define.
2625 (__stl_chunk_size): Same.
2627 (_S_rb_tree_red): Same.
2628 (_S_rb_tree_black): Same.
2630 * config/io/basic_file_libio.h (__basic_file): Add declarations.
2631 * include/bits/basic_file.h: Remove.
2632 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2633 Declare generic types, specialization.
2634 * config/io/basic_file_stdio.cc: Definitions.
2635 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2636 Declare generic types.
2637 * include/Makefile.am (bits_headers): Remove basic_file.h.
2638 (extra_target_headers): Change basic_file_model.h to basic_file.h.
2639 (stamp-target): Same.
2641 * include/bits/stl_alloc.h: Tweaks.
2642 * include/bits/localefwd.h: Same.
2644 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
2646 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2647 * testsuite/22_locale/collate_members_char.cc (test03): New test.
2648 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2650 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
2652 * include/bits/stl_algo.h (transform (both signatures), generate_n):
2653 Use __typeof__ in concept checks.
2655 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
2657 * include/bits/stl_algo.h (__median, for_each, find, find_if,
2658 adjacent_find, count, count_if, search, search_n, swap_ranges,
2659 transform, replace, replace_if, replace_copy, replace_copy_if,
2660 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2661 unique, unique_copy, reverse, reverse_copy): Doxygenate.
2663 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
2665 * include/bits/locale_facets.h
2666 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2667 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2668 (__timepunct<_CharT>::_M_put_helper): Same.
2669 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2671 * include/bits/fstream.tcc (filebuf::underflow): Remove
2672 __codecvt_type typedef.
2673 (filebuf::_M_convert_to_external): Same.
2675 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
2677 * docs/doxygen/TODO: Update.
2678 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
2679 * docs/doxygen/mainpage.html: Add TODO list link.
2680 * docs/doxygen/user.cfg.in: Add @doctodo hook.
2681 * docs/doxygen/tables.html: New file, emoty structure only.
2683 * include/bits/stl_iterator.h: Doxygenate just about everything.
2684 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
2685 * include/bits/stl_iterator_base_types.h: Add notes.
2687 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
2689 * include/bits/stl_map.h: Tweak doxygen markup.
2690 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
2691 * include/bits/stl_vector.h: Likewise.
2693 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2697 * include/std/std_fstream.h (filebuf::__file_type): Change to
2699 (filebuf::_M_convert_to_external): Declare.
2700 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2701 codecvt bits for wide streams.
2702 (filebuf::_M_really_overflow): Use it.
2703 (filebuf::underflow): Use codecvt.
2704 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2705 (codecvt<__enc_traits>::do_out): Deal with partial.
2706 (codecvt<__enc_traits>::do_encoding): Return something useful.
2707 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2709 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2710 Change expected encoding output.
2712 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2715 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2716 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
2718 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2719 (basic_ios::widen): Same.
2721 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
2723 * testsuite/22_locale/money_get_members_char.cc:
2724 Add comment, tidy up.
2725 (test01): more "en_HK" tests (without showbase).
2726 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2728 2002-02-06 Loren Rittle <ljrittle@acm.org>
2730 * config/locale/c_locale_generic.cc: Do not trust
2731 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2734 2002-02-06 Loren Rittle <ljrittle@acm.org>
2736 * acinclude.m4: Add C++ linkage check for strtof.
2737 * aclocal.m4: Rebuilt.
2738 * config.h.in: Rebuilt.
2739 * configure: Rebuilt.
2740 * config/locale/c_locale_generic.cc: Conditionally include
2741 <ieeefp.h>. Improve handling and error checking of float
2742 and long double input for non-C99 configurations.
2744 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
2746 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2747 In case money_base::symbol deal properly with multi-char sign
2748 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2749 * testsuite/22_locale/money_get_members_char.cc: Add test07.
2750 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2752 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
2754 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2755 First construct a tentative returned string, then, only if the
2756 parsing succeeds, copy it into the string passed by reference.
2757 * testsuite/22_locale/money_get_members_char.cc: Add test06.
2758 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2760 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
2762 * docs/doxygen/TODO: Impl-defined behavior now documented...
2763 * docs/html/17_intro/howto.html: ...here.
2764 * docs/doxygen/mainpage.doxy: Remove, rename...
2765 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
2766 * docs/doxygen/style.css: Add small text.
2767 * docs/doxygen/run_doxygen: Adjust for new mainpage.
2768 * docs/doxygen/user.cfg.in: Likewise.
2770 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
2772 * include/bits/stl_map.h: Initial doxygen markup.
2773 * include/std/std_fstream.h: Initial doxygen markup.
2775 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
2778 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2779 Deal correctly with !(__io.flags() & ios_base::showbase)
2780 for case money_base::symbol.
2781 * testsuite/22_locale/money_get_members_char.cc: Add test05.
2782 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2784 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
2786 * testsuite/22_locale/operators.cc
2787 (gnu_collate::do_compare()): Add return statement to
2788 suppress "no return statement" warning.
2790 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
2792 * testsuite/27_io/ostream_manip.cc: Enable test02.
2794 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
2796 * docs/html/documentation.html: Update for 3.0.96.
2797 * docs/html/faq/index.html: Update for 3.0.96.
2798 * docs/html/faq/index.txt: Regenerated.
2799 * docs/doxygen/TODO: Update notes.
2800 * docs/html/17_intro/howto.html: Initial impl-specific listing.
2802 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
2804 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2805 Initialize all data members in copy ctor. Make ctors explicit.
2806 (__enc_traits::__enc_traits()): Default ctor does nothing.
2807 (__enc_traits::_M_init): Guard against multiple iconv_opens.
2808 * include/std/std_sstream.h (basic_stringbuf): Make data members
2810 * include/std/std_fstream.h (basic_filebuf): Same.
2811 * include/std/std_streambuf.h: Tweak.
2812 * include/bits/streambuf.tcc: Same.
2813 * include/bits/sstream.tcc: Same.
2814 * include/bits/fstream.tcc: Same.
2816 2002-01-31 Loren Rittle <ljrittle@acm.org>
2818 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2819 allow NULL argument to be passed to setenv().
2820 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2821 * testsuite/22_locale/collate_members_char.cc: Likewise.
2822 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2823 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2824 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2825 * testsuite/22_locale/messages_members_char.cc: Likewise.
2826 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2827 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2828 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2829 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2830 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2831 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2832 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2833 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2834 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2835 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2836 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2837 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2838 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2839 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2840 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2841 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2843 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2845 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2847 * ChangeLog-2001: Fix spelling errors...
2848 * docs/html/17_intro/RELEASE-NOTES: Update.
2849 * docs/html/17_intro/TODO: Update.
2850 * README (file): Update.
2852 2002-01-30 Loren Rittle <ljrittle@acm.org>
2854 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2855 instead of non-zero to aid portability.
2857 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2859 * docs/html/22_locale/messages.html: Fix example code.
2861 2002-01-30 Richard Henderson <rth@redhat.com>
2863 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2864 out from test03 and templatize.
2867 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2869 * config/locale/numpunct_members_gnu.cc
2870 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2871 Fix initialization of _M_grouping for locales which have
2872 _M_thousands_sep == '\0'(L'\0', respectively).
2873 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2875 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2877 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2878 Better fix for 32/64 bit architectures, avoiding the
2879 implicit assumption that CHAR_BIT == 8.
2881 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2883 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2884 * Makefile.in: Regenerate.
2886 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2887 * docs/doxygen/Intro.3: Update.
2888 * docs/doxygen/TODO: Update.
2889 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2890 * docs/doxygen/mainpage.doxy: Update.
2891 * docs/doxygen/user.cfg.in: Update for header rename. Also
2892 regenerate comments and variables with 1.2.12.
2893 * docs/doxygen/maint.cfg.in: Remove file.
2895 * include/bits/stl_relops.h: Doxygenate.
2896 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2898 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2899 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2900 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2901 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2902 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2903 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2904 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2905 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2906 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2907 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2908 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2909 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2910 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2911 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2912 include/std/std_algorithm.h, include/std/std_bitset.h,
2913 include/std/std_complex.h, include/std/std_deque.h,
2914 include/std/std_fstream.h, include/std/std_functional.h,
2915 include/std/std_iomanip.h, include/std/std_ios.h,
2916 include/std/std_iosfwd.h, include/std/std_iostream.h,
2917 include/std/std_istream.h, include/std/std_iterator.h,
2918 include/std/std_limits.h, include/std/std_list.h,
2919 include/std/std_locale.h, include/std/std_map.h,
2920 include/std/std_memory.h, include/std/std_numeric.h,
2921 include/std/std_ostream.h, include/std/std_queue.h,
2922 include/std/std_set.h, include/std/std_sstream.h,
2923 include/std/std_stack.h, include/std/std_stdexcept.h,
2924 include/std/std_streambuf.h, include/std/std_string.h,
2925 include/std/std_utility.h, include/std/std_valarray.h,
2926 include/std/std_vector.h: Add/correct @file doxygen hook.
2928 * include/ext/memory: Doxygenate most of rest of file.
2929 * libsupc++/exception: Doxygen output formatting.
2930 * libsupc++/new: Say which header it is.
2932 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
2933 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
2934 * docs/html/23_containers/howto.html: Describe O(n) list::size().
2935 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
2937 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2938 Charles Leggett <CGLeggett@lbl.gov>
2940 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2942 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2944 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2945 Fix to deal correctly with both 32 bit and 64 bit architectures
2947 2002-01-25 Loren Rittle <ljrittle@acm.org>
2949 * testsuite/thread/pthread1.cc: Use one condition variable
2950 per predicate instead of tricky use of one condition variable.
2952 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
2954 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2956 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2957 * testsuite/27_io/filebuf.cc: Compile only.
2958 * testsuite/27_io/filebuf_members.cc: Move tests to here.
2959 * testsuite/27_io/filebuf_virtuals.cc: And here.
2960 Revert sungetc, sync changes for expected values.
2961 * testsuite/27_io/filebuf-*: Move to...
2962 * testsuite/27_io/filebuf_virtuals-*: ...here.
2963 * testsuite/27_io/istream.cc: Compile only, activate.
2964 * testsuite/27_io/ostream.cc: Same.
2965 * testsuite/27_io/iostream.cc: New.
2966 * testsuite/27_io/iostream_members.cc: New.
2968 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
2970 * testsuite/thread/pthread1.cc: Enable on cygwin.
2971 * testsuite/thread/pthread2.cc: Likewise.
2972 * testsuite/thread/pthread3.cc: Likewise.
2973 * testsuite/thread/pthread4.cc: Likewise.
2974 * testsuite/thread/pthread5.cc: Likewise.
2975 * testsuite/thread/pthread6.cc: Likewise.
2977 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2979 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2981 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2983 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2985 (basic_ios::fill(char_type)): Use fill().
2986 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2987 (basic_ios::narrow): Same.
2988 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2989 if they are invalid.
2990 (basic_ios::init): Comment.
2991 * testsuite/27_io/ios_init.cc (test02): New.
2993 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
2995 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2996 * include/bits/stl_algo.h: Include stl_tempbuf.h.
2997 * include/ext/memory: Do not include stl_tempbuf.h.
2998 (temporary_buffer): Add doxygen hook.
2999 (__get_temporary_buffer, get_temporary_buffer,
3000 return_temporary_buffer): Move back to std:: header...
3001 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3002 * include/ext/rope: Do not include stl_tempbuf.h.
3003 * include/ext/stl_hashtable.h: Likewise.
3004 * include/std/std_algorithm.h: Likewise.
3005 * testsuite/20_util/temporary_buffer.cc: New file.
3007 2002-01-24 andrew@andypo.net
3008 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3011 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3012 * include/bits/localefwd.h: Likewise.
3013 Also use for std::locale::id::_S_highwater.
3014 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3015 * src/locale.cc: Support new usage of _Atomic_word.
3016 (std::locale::classic): Guard entire function against reentry.
3017 * src/localename.cc: Support new usage of _Atomic_word.
3019 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3021 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3022 _GLIBCPP_HAVE_SETENV.
3023 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3024 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3025 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3026 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3027 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3028 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3029 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3030 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3031 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3032 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3033 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3034 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3035 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3036 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3037 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3038 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3039 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3040 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3041 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3042 * aclocal.m4: Regenerate.
3043 * configure: Regenerate.
3044 * config.h.in: Regenerate.
3046 2002-01-23 Loren Rittle <ljrittle@acm.org>
3048 * testsuite/thread/pthread1.cc: New test.
3049 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3050 * testsuite/thread/pthread3.cc: Likewise.
3051 * testsuite/thread/pthread4.cc: New test adapted from
3052 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3053 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3054 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3056 2002-01-23 Richard Henderson <rth@redhat.com>
3059 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3060 CAS on the cpu variants that support it. Add versions that use
3061 TAS and that disable interrupts.
3062 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3064 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3066 * include/bits/locale_facets.tcc: Remove old comments.
3068 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3070 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3072 (__convert_from_v): Same.
3074 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3076 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3078 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3079 __max_digits checks, adjust arguments.
3080 (num_get::do_get(*)): Changeup.
3082 2002-01-23 Loren Rittle <ljrittle@acm.org>
3084 * config/locale/c_locale_generic.cc: Fix typename usage.
3086 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3088 * config/locale/c_locale_generic.cc: Fix.
3090 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3092 * docs/html/22_locale/messages.html: Remove angle brackets.
3093 * docs/html/17_intro/TODO: Add.
3095 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3097 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3098 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3099 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3100 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3102 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3104 Audit for LANG independence.
3105 * include/bits/localefwd.h: Tweaks.
3106 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3108 (time_get::do_get_year): Same.
3109 (__convert_from_v): Add.
3110 (num_put::_M_convert_float): Use.
3111 (num_put::_M_convert_int): Same.
3112 (money_put::do_put): Same.
3114 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3115 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3116 * config/locale/time_members_generic.cc:
3117 * config/locale/messages_members_gnu.cc: Same.
3118 * config/locale/messages_members_gnu.h: Same.
3120 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3121 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3122 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3123 * testsuite/22_locale/collate_members_char.cc (test02): New.
3124 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3125 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3126 * testsuite/22_locale/messages_members_char.cc (test02): New.
3127 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3128 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3129 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3130 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3131 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3132 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3133 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3134 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3135 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3136 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3137 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3138 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3139 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3140 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3141 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3142 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3144 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3146 * testsuite/22_locale/time_get_members_char.cc: Same.
3148 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3151 * include/bits/localefwd.h: Tweak comments.
3152 * include/bits/locale_facets.h (__convert_to_v): Add.
3153 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3154 (num_get::do_get(float)): Same.
3155 (num_get::do_get(long double)): Same.
3156 (num_get::do_get(bool)): Same.
3157 (num_get::do_get(long)): Same.
3158 (num_get::do_get(long long)): Same.
3159 (num_get::do_get(unsigned int)): Same.
3160 (num_get::do_get(unsigned short)): Same.
3161 (num_get::do_get(unsigned long)): Same.
3162 (num_get::do_get(unsigned long long)): Same.
3163 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3164 * config/locale/c_locale_generic.cc: Same.
3166 2002-01-22 Loren Rittle <ljrittle@acm.org>
3168 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3169 (std_builddir): Likewise.
3170 (std_headers_rename): Fix cut-n-paste typo.
3171 (install-data-local): Concat path per element instead of once to
3172 first element of list.
3173 * include/Makefile.in: Rebuilt.
3175 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3177 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3178 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3179 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3181 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3183 * include/bits/locale_facets.h (ctype<char>::classic_table):
3185 (ctype<char>::_S_ctable): Remove.
3186 * config/os/gnu-linux/bits/ctype_noninline.h
3187 (ctype<char>::_S_table): Remove definition.
3188 (ctype<char>::classic_table): Define.
3189 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3190 * config/os/aix/bits/ctype_noninline.h: Same.
3191 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3192 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3193 * config/os/djgpp/bits/ctype_noninline.h: Same.
3194 * config/os/generic/bits/ctype_noninline.h: Same.
3195 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3196 * config/os/hpux/bits/ctype_noninline.h: Same.
3197 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3198 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3199 * config/os/mingw32/bits/ctype_noninline.h: Same.
3200 * config/os/newlib/bits/ctype_noninline.h: Same.
3201 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3202 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3203 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3205 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3207 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3208 of _pctype. Use to define _S_ctable. Add definition for alternate
3209 ctor. Initialise _M_ctable to _S_ctable in ctors.
3210 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3211 rather than ::toupper, ::tolower.
3213 2002-01-18 Loren Rittle <ljrittle@acm.org>
3215 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3216 Add specialization for FreeBSD systems only to avoid losing test
3217 only due to extra precision unmentioned in system headers.
3219 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3221 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3223 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3225 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3226 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3228 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3230 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3232 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3234 * configure.target: Define OPT_LDFLAGS for AIX case.
3236 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3238 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3239 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3241 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3243 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3245 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3247 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3248 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3249 * aclocal.m4: Regenerate.
3250 * configure: Regenerate.
3252 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3254 * include/Makefile.am (c_base_headers_rename): New.
3255 (c_base_headers_extra): New.
3256 (stamp-c_base): Modify.
3257 (install-data-local): Use both.
3258 * include/Makefile.in: Regenerate.
3259 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3260 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3261 cstdio ctime cwctype]: Move to..
3262 * include/c/std_*: Here.
3263 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3264 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3265 cstdio ctime cwctype]: Move to..
3266 * include/c_std/std_*: Here.
3268 Alexandre Oliva <aoliva@redhat.com>
3269 * include/Makefile.am (.PRECIOUS): Add rule.
3270 * include/Makefile.in: Regenerate.
3272 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3273 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3275 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3276 Deuglify, should be current.
3277 (back_insert_iterator::_M_container): Deuglify, should be container.
3278 (front_insert_iterator::_M_container): Same.
3279 (insert_iterator::_M_container): Same.
3280 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3281 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3282 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3283 * testsuite/24_iterators/insert_iterator.cc: Same.
3285 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3287 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3289 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3290 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3291 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3292 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3293 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3294 * config/os/newlib/bits/ctype_noninline.h: Same.
3295 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3296 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3297 * config/os/hpux/bits/ctype_noninline.h: Same.
3298 * config/os/djgpp/bits/ctype_noninline.h: Same.
3299 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3300 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3301 * config/os/aix/bits/ctype_noninline.h: Same.
3303 Testcase by Dietmar Kühl via Peter Schmid
3304 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3307 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3309 * libmath/signbitl.c: Copyright years as list, not range.
3310 * libmath/Makefile.am: Same.
3311 * libmath/Makefie.in: Regenerate.
3312 * libmath/signbit.c: Same.
3313 * libmath/nan.c: Same.
3314 * libmath/copysignf.c: Same.
3315 * libmath/signbitf.c: Same.
3316 * testsuite/22_locale/money_get_members_char.cc: Same.
3317 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3318 * testsuite/22_locale/money_put_members_char.cc: Same.
3319 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3320 * testsuite/22_locale/time_get_members_char.cc: Same.
3321 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3322 * testsuite/22_locale/time_put_members_char.cc: Same.
3323 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3324 * testsuite/21_strings/nonmember.cc: Same.
3325 * testsuite/21_strings/compare.cc: Same.
3326 * testsuite/27_io/stringstream.cc: Same.
3327 * testsuite/27_io/stringbuf.cc: Same.
3328 * testsuite/27_io/filebuf.cc: Same.
3329 * testsuite/27_io/ios_manip_basefield.cc: Same.
3330 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3331 * include/bits/cpp_type_traits.h: Same.
3332 * include/bits/generic_shadow.h: Same.
3333 * include/bits/gslice_array.h: Same.
3334 * include/bits/gslice.h: Same.
3335 * include/bits/indirect_array.h: Same.
3336 * include/bits/slice_array.h: Same.
3337 * include/bits/sstream.tcc: Same.
3338 * include/bits/streambuf_iterator.h: Same.
3339 * include/bits/valarray_array.tcc: Same.
3340 * include/bits/valarray_meta.h: Same.
3341 * include/bits/valarray_array.h: Same.
3342 * config/os/mingw32/bits/ctype_noninline.h: Same.
3343 * config/os/mingw32/bits/ctype_base.h: Same.
3344 * config/os/hpux/bits/ctype_noninline.h: Same.
3345 * config/os/hpux/bits/ctype_base.h: Same.
3346 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3347 * config/os/gnu-linux/bits/ctype_base.h: Same.
3348 * config/os/generic/bits/ctype_noninline.h: Same.
3349 * config/os/generic/bits/ctype_base.h: Same.
3351 * libsupc++/tinfo.h: Tweaks.
3353 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3355 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3356 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3357 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3359 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3361 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3362 (num_put::do_put(void*)): Fix.
3363 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3364 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3365 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3366 long double, void, bool types.
3367 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3369 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3370 Alexandre Oliva <aoliva@redhat.com>
3372 * libmath/Makefile.am (LINK): Add --tag CC.
3373 * libmath/Makefile.in: Regenerate.
3375 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3377 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3378 of character to attribute mapping table.
3380 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3382 * testsuite/26_numerics/c99_classification_macros_c.cc
3383 Remove dg-error and dg-excess-errors comments.
3385 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3387 * include/bits/locale_facets.tcc (time_put::put): Correct output
3389 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3390 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3391 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3392 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3394 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3396 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3398 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3399 Nathan Myers <ncm@cantrip.org>
3401 * include/bits/basic_string.h
3402 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3403 temporaries (i.e., call _M_replace_safe) when possible.
3404 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3405 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3406 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3407 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3408 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3409 * include/bits/basic_string.tcc
3410 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3411 replace(__pos, __n1, __s, __n2).
3412 * testsuite/21_strings/replace.cc (test03): New testcases.
3414 * include/bits/basic_string.h (insert(__pos, __s, __n)):
3415 Adjust comparison wrt overflow.
3417 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3419 * include/Makefile.am (std_headers_rename): New variable.
3420 (install-data-local): Use it.
3421 * include/Makefile.in: Regenerate.
3423 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3425 * include/bits/locale_facets.tcc (money_put::do_put(string):
3426 Correct output iterator value.
3427 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3428 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3430 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3432 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
3435 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3437 * include/Makefile.am (std_headers): Update list with new names.
3438 (stamp-std): Link to standardized name.
3439 * include/Makefile.in: Regenerate.
3441 * include/std/algorithm, include/std/bitset, include/std/complex,
3442 include/std/deque, include/std/fstream, include/std/functional,
3443 include/std/iomanip, include/std/ios, include/std/iosfwd,
3444 include/std/iostream, include/std/istream, include/std/iterator,
3445 include/std/limits, include/std/list, include/std/locale,
3446 include/std/map, include/std/memory, include/std/numeric,
3447 include/std/ostream, include/std/queue, include/std/set,
3448 include/std/sstream, include/std/stack, include/std/stdexcept,
3449 include/std/streambuf, include/std/string, include/std/utility,
3450 include/std/valarray, include/std/vector: Rename to...
3452 * include/std/std_algorithm.h, include/std/std_bitset.h,
3453 include/std/std_complex.h, include/std/std_deque.h,
3454 include/std/std_fstream.h, include/std/std_functional.h,
3455 include/std/std_iomanip.h, include/std/std_ios.h,
3456 include/std/std_iosfwd.h, include/std/std_iostream.h,
3457 include/std/std_istream.h, include/std/std_iterator.h,
3458 include/std/std_limits.h, include/std/std_list.h,
3459 include/std/std_locale.h, include/std/std_map.h,
3460 include/std/std_memory.h, include/std/std_numeric.h,
3461 include/std/std_ostream.h, include/std/std_queue.h,
3462 include/std/std_set.h, include/std/std_sstream.h,
3463 include/std/std_stack.h, include/std/std_stdexcept.h,
3464 include/std/std_streambuf.h, include/std/std_string.h,
3465 include/std/std_utility.h, include/std/std_valarray.h,
3466 include/std/std_vector.h: ...this.
3468 2002-01-11 Loren Rittle <ljrittle@acm.org>
3470 * include/Makefile.am (extra_target_headers): New list of all
3471 target files built with ad hoc naming rules.
3472 (stamp-*): Handle LN_S failure in manner portable across make
3474 (install-data-local): Install header files from human-maintained
3475 file lists and directory components instead of non-robust find.
3476 * include/Makefile.in: Rebuilt.
3478 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
3480 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3481 Check for zero-length negative sign before adding it to output
3483 (money_get::do_get(long double)): Return beg.
3484 * testsuite/22_locale/money_get_members_char.cc (test02): Add
3486 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3488 2002-01-10 David Seymour <seymour_dj@yahoo.com>
3491 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3492 for _M_extract_float and _M_extract_int
3493 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3494 (num_get<>::_M_extract_int): Likewise, all callers changed
3495 * testsuite/22_locale/num_get_members_char.cc: Testcase
3497 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3499 * libsupc++/exception (bad_exception): Add comment.
3500 * libsupc++/new (bad_alloc): Same.
3501 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3503 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3505 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3506 that the destructors should be removed from the descriptions
3507 in the standard: writing them explicitly allows the vtable
3508 heuristic to work. For additional information see:
3509 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3510 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3511 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3512 * libsupc++/exception (bad_exception::~bad_exception()):
3513 Reintroduce declaration.
3514 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3515 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3516 (bad_typeid::~bad_typeid()): Same.
3517 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3518 Reintroduce definition.
3519 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3520 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3521 (bad_typeid::~bad_typeid()): Same.
3523 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
3525 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3526 * include/Makefile.in: Regenerate.
3528 2002-01-09 Bo Thorsen <bo@suse.co.uk>
3530 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3533 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
3537 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3538 return value of _M_file->sync().
3539 (filebuf::showmanyc): Check for is_open.
3540 * include/std/fstream (filebuf::sync): Tweak.
3541 * testsuite/27_io/filebuf.cc: Tweak.
3543 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
3544 Brad Garcia <garsh@attbi.com>
3546 * testsuite/27_io/filebuf_members.cc: Add test.
3548 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
3549 Craig Rodrigues <rodrigc@mediaone.net>
3552 * po/Makefile.am (mkinstalldirs): Add.
3553 * po/Makefile.in: Regenerate.
3555 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
3557 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3558 testsuite/lib/prune.exp: Delete lines ":In function ..." from
3560 * testsuite/23_containers/map_operators.cc: Remove
3561 dg-excess-errors comment.
3562 * testsuite/23_containers/set_operators.cc: Likewise.
3564 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
3566 * include/bits/stl_function.h: Remove two lines of comments;
3567 adjust copyright years.
3569 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3571 * include/Makefile.am (std_headers): Remove cXXX from list.
3572 (c_base_srcdir): No bits subdirectory.
3573 (c_base_builddir): Same.
3574 (c_base_headers): Adjust names, add ciso646.
3575 (bits_headers): Remove std_xxx.h headers.
3576 * include/Makefile.in: Regenerate.
3578 * include/ext/iterator: Adjust includes.
3579 * include/ext/ropeimpl.h: Same.
3580 * include/ext/stl_hash_fun.h: Same.
3581 * include/ext/algorithm: Same.
3583 * include/backward/bvector.h: Adjust includes.
3584 * include/backward/vector.h: Same.
3585 * include/backward/strstream: Same.
3586 * include/backward/streambuf.h: Same.
3587 * include/backward/stack.h: Same.
3588 * include/backward/set.h: Same.
3589 * include/backward/queue.h: Same.
3590 * include/backward/multiset.h: Same.
3591 * include/backward/multimap.h: Same.
3592 * include/backward/map.h: Same.
3593 * include/backward/list.h: Same.
3594 * include/backward/iterator.h: Same.
3595 * include/backward/iostream.h: Same.
3596 * include/backward/iomanip.h: Same.
3597 * include/backward/fstream.h: Same.
3598 * include/backward/deque.h: Same.
3599 * include/backward/complex.h: Same.
3601 * include/bits/std_algorithm.h: Move to...
3602 * include/std/algorithm: ...here.
3603 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3604 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3605 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3606 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3607 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3608 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3609 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3612 * include/c_std/bits/std_cassert.h: Move to...
3613 * include/c_std/cassert: Here.
3614 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3615 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3616 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3617 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3618 std_cwctype.h: Same.
3619 * include/c_std/cmath: Adjust cmath.tcc include.
3620 * include/c_std/cstdlib: Adjust includes.
3621 * include/c_std/cwchar: Same.
3622 * include/c_std/ctime: Same.
3623 * include/c_std/cstring: Same.
3624 * include/c_std/cstdio: Same.
3625 * include/c_std/bits: Remove directory.
3627 * include/c/bits/std_cassert.h: Move to...
3628 * include/c/cassert: Here.
3629 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3630 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3631 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3632 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3633 std_cwctype.h: Same.
3634 * include/c/bits: Remove directory.
3636 * include/std/cwctype: Remove.
3637 * include/std/cwchar: Remove.
3638 * include/std/ctime: Remove.
3639 * include/std/cstring: Remove.
3640 * include/std/cstdlib: Remove.
3641 * include/std/cstdio: Remove.
3642 * include/std/cstddef: Remove.
3643 * include/std/cstdarg: Remove.
3644 * include/std/csignal: Remove.
3645 * include/std/csetjmp: Remove.
3646 * include/std/cmath: Remove.
3647 * include/std/clocale: Remove.
3648 * include/std/climits: Remove.
3649 * include/std/ciso646: Remove.
3650 * include/std/cfloat: Remove.
3651 * include/std/cerrno: Remove.
3652 * include/std/cctype: Remove.
3653 * include/std/cassert: Remove.
3655 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3656 files and subsituting <xxx>.
3657 * include/bits/valarray_array.h: Same.
3658 * include/bits/stl_uninitialized.h: Same.
3659 * include/bits/stl_alloc.h: Same.
3660 * include/bits/stl_algobase.h: Same.
3661 * include/bits/sstream.tcc: Same.
3662 * include/bits/pthread_allocimpl.h: Same.
3663 * include/bits/ostream.tcc: Same.
3664 * include/bits/localefwd.h: Same.
3665 * include/bits/locale_facets.tcc: Same.
3666 * include/bits/locale_facets.h: Same.
3667 * include/bits/istream.tcc: Same.
3668 * include/bits/char_traits.h: Same.
3669 * include/bits/boost_concept_check.h: Same.
3670 * include/bits/basic_file.h: Same.
3671 * include/std/bitset: Same.
3672 * include/std/complex: Same.
3673 * include/std/fstream: Same.
3674 * include/std/functional: Same.
3675 * include/std/ios: Same.
3676 * include/std/iostream: Same.
3677 * include/std/ostream: Same.
3678 * include/std/sstream: Same.
3679 * include/std/streambuf: Same.
3680 * include/std/string: Same.
3681 * include/std/iterator: Same.
3682 * include/std/valarray: Same.
3684 * src/ios.cc: Adjust includes.
3685 * src/valarray-inst.cc: Same.
3686 * src/string-inst.cc: Same.
3687 * src/stl-inst.cc: Same.
3688 * src/stdexcept.cc: Same.
3689 * src/misc-inst.cc: Same.
3690 * src/localename.cc: Same.
3691 * src/locale-inst.cc: Same.
3692 * src/locale.cc: Same.
3693 * src/limits.cc: Same.
3694 * src/concept-inst.cc: Same.
3695 * src/complex_io.cc: Same.
3696 * src/codecvt.cc: Same.
3697 * src/bitset.cc: Same.
3698 * src/cmath.cc: Same.
3700 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3702 * include/bits/stl_tree.h (rb_tree): Move to...
3703 * include/ext/rb_tree: ...here, new file.
3704 * include/Makefile.am (ext_headers): Add new file.
3705 * include/Makefile.in: Regenerate.
3706 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3707 return_temporary_buffer, struct temporary_buffer): Move to...
3708 * include/ext/memory: ...here.
3709 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
3710 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
3711 * include/backward/tree.h: Include <ext/rb_tree), tweak.
3713 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
3715 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
3716 * include/ext/numeric: ...here, new file.
3717 * include/bits/stl_function.h (identity_element, unary_compose,
3718 binary_compose, compose1, compose2, identity, select1st,
3719 select2nd, project1st + helper, project2nd + helper,
3720 constant_void_fun + helper, constant_unary_fun + helper,
3721 costant_binary_fun + helper, constant0, constant1, constant2,
3722 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
3723 * include/ext/functional: ...here, new file.
3724 * include/Makefile.am (ext_headers): Add new files.
3725 * include/Makefile.in: Regenerate.
3726 * testsuite/ext/headers.cc: Include <ext/numeric> and
3728 * include/backward/algo.h: Include <ext/numeric>, tweak.
3729 * include/backward/function.h: Include <ext/functional>, tweak.
3730 * include/ext/ropeimpl.h: Include <ext/numeric>.
3732 2002-01-03 Jeffrey A Law <law@redhat.com>
3734 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3735 __strtoull declarations with __extension__.
3737 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
3739 * testsuite/lib/prune.exp: Correct regular expression for
3742 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3744 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3745 Change concept checks, as with lower_bound and PR 2054.
3746 * testsuite/ext/concept_checks.cc: Expand test to include those.
3748 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3750 * include/bits/boost_concept_check.h: Import some changes from
3751 upsteam (Boost) version.
3753 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
3755 * include/bits/stl_algobase.h (copy_n + helpers,
3756 lexicographical_compare_3way + helpers): Move to...
3757 * include/ext/algorithm: ...here.
3758 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3759 helpers): Move to...
3760 * include/ext/memory: ...here, new file.
3761 * include/Makefile.am (ext_headers): Add new file.
3762 * include/Makefile.in: Regenerate.
3763 * testsuite/ext/headers.cc: Include <ext/memory>.
3764 * include/backward/algobase.h: Include <ext/memory> and
3765 <ext/algorithm>, tweak.
3766 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
3767 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
3769 2002-01-01 Roger Sayle <roger@eyesopen.com>
3771 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3772 equivalent ___builtin__ versions.
3774 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3775 are available in libstdc++ as the necessary stub implementations
3776 are provided by libmath/stubs.c.
3778 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
3780 * configure.in: Add support for NetBSD cross compiles.
3781 * configure: Regenerate.