objc-act.c (build_selector_translation_table): Issue warning...
[official-gcc.git] / libstdc++-v3 / ChangeLog
blobbb81cae1558ee961e88bd8603e2b512a21864068
1 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3         * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
4         * libsupc++/Makefile.in: Regenerate.
6 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
8         PR/7491
9         * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
10         Instantiate with new function objects. 
11         * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
12         Reformat.  Uglify.
13         * include/bits/gslice_array.h: Likewise.
14         * include/bits/indirect_array.h: Likewise.
16 2002-08-03  Gabriel Dos Reis  <gdr@nerim.net>
18         * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
19         testsuite/26_numerics/valarray_name_lookup.C
21         * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
22         object function surrogates.
23         * include/bits/valarray_meta.h (__shift_left): Fix typo.
24         (_BinFunClos<>): Remove.
25         (_BinFunBase<>): Likewise.
26         (_BinFunBase1<>):Likewise.
27         (_BinFunBase2<>): Likewise.
28         (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
29         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
30         (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
31         (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
32         * include/std/std_valarray.h: Dont #include <functional> anymore.
33         (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
34         _Shift_right<>): Remove.
35         (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
36         (_DEFINE_BINARY_OPERATOR): Tweak definition.
37         (_DEFINE_LOGICAL_OPERATOR): Remove.
38         * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
40 2002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
42         * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
43         (_UnFunClos<>): Same.
44         (_UnBase<>): Reformat.  Make first template-parameter non
45         template. 
46         (_UnClos<>): Likewise.
47         (_Expr<>): Reformate.  Adjust unary member operator return types. 
48         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
49         (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
50         * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
51         (valarray<>::_UnaryOp<>):  New nested traits. Adjust unary member
52         operator return types.  Reformat.
53         (_Bitwise_not): Remove.
54         (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
55         * testsuite/26_numerics/valarray_name_lookup.C: New test.
57 2002-08-02  Danny Smith  <dannysmith@users.sourceforge.net>
59         * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
60         (scan_is): Use this->is.
61         (scan_not): Likewise.
63 2002-08-02  Benjamin Kosnik  <bkoz@redhat.com>
65         Revert PR libstdc++/6594
66         * src/strstream.cc (strstreambuf): Revert.
67         (strstreambuf::overflow): Same.
68         (strstreambuf::~strstreambuf): Same.    
69         * testsuite/backward/strstream_members.cc (test02): Add.
70         
71         * docs/html/abi.txt: Update. Spell check.
73         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
75         * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
76         * testsuite/Makefile.in: Regenerate.
77         * testsuite/testsuite_hooks.h: Use __throw_exception_again,
78         include functexcept.h so that -fno-exceptions will build.
79         
80 2002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
82         * include/bits/valarray_meta.h (__unary_plus, __negate,
83         __bitwise_not, __plus, __minus, __multiplies, __divides,
84         __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
85         __shift_left, __shift_right, __logical_and, __logical_or,
86         __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
87         __greater_equal, __greater, __atan2, __pow): New function object
88         classes. 
89         (__fun<>):  New function traits class.
91 2002-08-01  Rick Danos  <rdanos@hotmail.com>
93         PR libstdc++/7461
94         * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
95         * config/os/newlib/ctype_inline.h (is): Use static_cast.
97 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
99         * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
100         * libsupc++/Makefile.in: Regenerate.
101         
102 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
103             Jakub Jelinek  <jakub@redhat.com>
104         
105         * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
106         GLIBCPP_3.1 to GLIBCPP_3.2.
108 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
109             Mark Mitchell  <mark@codesourcery.com>
111         PR libstdc++/7442
112         * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
113         Change to __hwm_bit.
114         (__class_type_info): And here.
116 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
118         PR libstdc++/7442
119         * libsupc++/cxxabi.h 
120         (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
121         (__base_class_info::__base): Change to __base_type. 2.9.5p6c
122         (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
123         (__vmi_class_type_info::__base_info): Don't make const, of type
124         __base_class_type_info, as per 2.9.5p6c
125         (__pbase_type_info::__qualifier_flags): Change to __flags, as per
126         2.9.5p7.
127         (__pbase_type_info::__qualifier_masks): Change to __masks, as per
128         2.9.5p7.
129         (__pointer_to_member_type_info::__context_class): Change member to
130         __context, as per 2.9.5p9.
131         * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
132         __context.
133         * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
134         __flags.
135         * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
136         __base_type.
137         * libsupc++/tinfo.cc (__do_dyncast): Same.
138         * libsupc++/tinfo.cc (__do_upcast): Same.
140 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
142         * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
144 2002-07-31  Simon Whomsley  <whomsley@avacadcam.com>
146         * docs/html/22_locale/howto.html: Fix.
148 2002-07-31  Alex Kompel  <shurik@sequoiap.com>
150         PR libstdc++/7445
151         * src/locale.cc (locale::classic): Move locks inside !_S_classic
152         block.
154 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
156         * docs/html/abi.txt: Update.
158 2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
159             Gabriel Dos Reis  <gdr@nerim.net>
161         * include/bits/char_traits.h: Remove generic definitions.
162         * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
163         eof, not -2.
164         * include/bits/istream.tcc (istream::readsome): Don't check
165         against eof, instead use constants.
166         (istream::sync): Same.
167         (istream::sentry::sentry): Use eq_int_type.
168         (istream::get): Same.
169         * include/bits/ostream.tcc: Change __pad to 
170         __pad<_CharT, _Traits>::_S_pad. 
171         * include/bits/locale_facets.h: Add __pad_traits generic and
172         ostreambuf_iterator specialization.
173         * include/bits/locale_facets.tcc: Change __pad into struct __pad
174         with a _CharT and _Traits template parameter and _S_pad static
175         member function.
176         * src/locale-inst.cc: Update __pad instantiations.
177         
178         * include/std/std_fstream.h: Declare _M_underflow_common
179         specializations.
180         * src/fstream.cc: New. Add _M_underflow_common specializations.
181         * include/bits/fstream.tcc (filebuf::close): Use traits_type.
182         (filebuf::_M_underflow_common(bool)): Remove generic version, as
183         sys_ungetc and custom int_types don't get along.
184         * include/std/std_streambuf.h: Add _M_pos.
185         * src/Makefile.am (sources): Add fstream.cc.
186         * src/Makefile.in: Regenerate.
188         * testsuite/21_strings/capacity.cc: Add char_traits specializations.
189         * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
190         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
191         * testsuite/22_locale/ctor_copy_dtor.cc: Same.
192         * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
193         * testsuite/27_io/filebuf.cc: ...here.
194         * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
195         specialization for both.
196         * testsuite/27_io/streambuf.cc: Add instantiation test,
197         testsuite_hooks include.
198         * testsuite/27_io/istream.cc: Same.
199         * testsuite/27_io/ostream.cc: Same.     
200         * testsuite/27_io/fstream.cc: Same.
201         * testsuite/27_io/stringstream.cc: Same.
202         * testsuite/27_io/filebuf.cc: Same.
203         * testsuite/27_io/stringbuf.cc: Same.
204         
205 2002-07-29  Alan Modra  <amodra@bigpond.net.au>
207         * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
208         * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
209         * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
210         (__test_and_set): Remove.
211         (_STWCX): Define and use.
213 2002-07-26  Phil Edwards  <pme@gcc.gnu.org>
215         * libsupc++/new (placement delete):  Remove unused parameter names.
217 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
219         PR libstdc++/7216
220         * include/std/std_istream.h (basic_iostream): Add typedefs for
221         char_type, int_type, pos_type, off_type, and traits_type.
222         * testsuite/27_io/iostream.cc (test01): Add typedef tests.
223         * testsuite/27_io/istream.cc: Same.
224         * testsuite/27_io/ostream.cc: Same.
225         * testsuite/27_io/filebuf.cc: Same.
226         * testsuite/27_io/stringbuf.cc: Replace content, move to...
227         * testsuite/27_io/stringbuf_members.cc: ...here.        
228         * testsuite/27_io/streambuf.cc: Replace content, move to...
229         * testsuite/27_io/streambuf_members.cc: ...here.        
230         * testsuite/27_io/stringstream.cc: Replace content, move to...
231         * testsuite/27_io/stringstream_members.cc: ...here.
232         * testsuite/27_io/ios.cc: New file.
233         * testsuite/27_io/fstream.cc: New file.
234         * testsuite/27_io/ifstream.cc: New file.        
235         * testsuite/27_io/ofstream.cc: New file.                
236         * testsuite/27_io/istringstream.cc: New file.   
237         * testsuite/27_io/ostringstream.cc: New file.   
238         
239 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
241         PR libstdc++/7220
242         * include/bits/istream.tcc (istream::ignore): Don't extract on
243         zero.
244         * testsuite/27_io/istream_unformatted.cc (test10): Add.
245         
246 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
248         * testsuite/27_io/ios_base_type.cc: Move to...
249         * testsuite/27_io/ios_base_types.cc: ...here.
250         
251 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
253         PR libstdc++/7222
254         * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
255         * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
256         
257 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
259         PR libstdc++/7230
260         * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
261         * include/Makefile.am (backward_headers): Use strstream, not
262         strstream.h.
263         * include/Makefile.in: Regenerate.
264         * include/backward/strstream: Revert.
265         * include/backward/strstream.h: Remove.
266         * src/strstream.cc: Revert.
267         * testsuite/backward/strstream_members.cc: Change include.      
269 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
271         PR libstdc++/7219
272         * include/bits/ios_base.h (ios_base::streampos): Add.
273         (ios_base::streamoff): Add.
274         * testsuite/27_io/ios_base_type.cc: New.
275         
276 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
278         PR libstdc++/7286
279         * libsupc++/new: Add placement delete.
280         * testsuite/18_support/new_delete_placement.cc: New.
282         * docs/html/abi.txt: Fix typos.
283         
284 2002-07-23  Benjamin Kosnik  <bkoz@redhat.com>
286         * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
287         confusing usage of "latest."
288         De-tangle contributor information from introductory notes.
289         Move abi.txt link placement, activate.
290         Re-organize.
291         Move chapter info into old FAQ format. 
292         * docs/html/organization.html: Removed, obsoleted by doxygen work.
293         * docs/html/abi.txt: Add notes on testing ABI changes.
294         
295 2002-07-20  Phil Edwards  <pme@gcc.gnu.org>
297         * docs/html/abi.txt:  New file.
298         * docs/html/23_containers/howto.html:  Tweak vector-overhead text.
299         * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
300         Import from upstream, R22.
302         * include/bits/char_traits.h, include/bits/stl_iterator.h,
303         include/bits/stl_iterator_base_types.h, libsupc++/exception,
304         libsupc++/new, libsupc++/typeinfo:  Use @brief markup.
306         * include/bits/deque.tcc, include/bits/stl_alloc.h,
307         include/bits/stl_deque.h, include/bits/stl_list.h:  Postpone removal
308         of deprecated functions until 3.4.  (Same timeframe, different text.)
309         * include/bits/stl_vector.h:  Ditto.  Also do the same cleanups that
310         the other sequence classes received.
312 2002-07-18  Brendan Kehoe  <brendan@zen.org>
314         * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
315         _Nname to _Name.
316         
317 2002-07-19  Gabriel Dos Reis  <gdr@nerim.net>
319         DR/123
320         * include/bits/slice_array.h 
321         (slice_array<T>::operator=(const T&)): Constify.
322         * include/bits/gslice_array.h 
323         (gslice_array<T>::operator=(const T&)):  Likewise.
324         * include/bits/mask_array.h 
325         (mask_array<T>::operator=(const T&)): Likewise.
326         * include/bits/indirect_array.h
327         (indirect_array<T>::operator=(const T&): Likewise.
329 2002-07-17  Phil Edwards  <pme@gcc.gnu.org>
331         * docs/doxygen/run_doxygen:  Remove template parameter names from
332         "Compound List" summary page.  Reformat.
333         * docs/html/documentation.html:  XHTML fixes.
335 2002-07-16  Andreas Schwab  <schwab@suse.de>
337         * libsupc++/new (set_new_handler): Declare to not throw any
338         exceptions.
339         * libsupc++/new_handler.cc (set_new_handler): Likewise.
341 2002-07-16  Gabriel Dos Reis  <gdr@nerim.net>
343         * include/Makefile.am (bits_headers): Remove slice.h
344         * include/Makefile.in: Regenerate.
345         * include/bits/slice.h (slice): move to include/bits/slice_array.h
346         * include/bits/slice.h Remove.
347         * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
348         * include/bits/slice_array.h: Comply to official coding styles.
349         * testsuite/26_numerics/slice.cc: New test.
351 2002-07-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
353         * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
354         print to match vendor <ctype.h>.
356 2002-07-15  Phil Edwards  <pme@gcc.gnu.org>
358         * docs/html/faq/index.html:  Fix download links.
359         * docs/html/faq/index.txt:  Regenerate.
360         * docs/html/17_intro/porting.html:  Regenerate from earlier changes.
362 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
364         * configure.target (target_os switch): Allow for irix6*o32
365         configurations.
367 2002-07-10  Gabriel Dos Reis  <gdr@nerim.net>
369         * include/bits/valarray_meta.h (_UnFunBase): Take a second
370         template parameter. Remove _M_func data member.
371         (_UnFunClos): Take a third template parameter.
372         (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
373         __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
374         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
376 2002-07-08  Eric Christopher  <echristo@redhat.com>
378         * configure.target: Fix comment for mips atomicity. Add
379         mips*-*-linux* target, enable atomic operations there.
380         * config/cpu/mips/atomicity.h: Fix comments, remove
381         #ifndef/#endif. Add push/pop mips2.
383 2002-07-08  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
385         * include/bits/stl_deque.h (_Deque_alloc_base):  Change order of
386         member declarations to avoid compiler warnings and restore 3.1 ABI.
388 2002-07-08  Phil Edwards  <pme@gcc.gnu.org>
390         * docs/html/23_containers/howto.html:  Link to dk_std::vector paper
391         and homepage.
393 2002-07-07  Paolo Carlini  <pcarlini@unitus.it>
395         PR libstdc++/7186
396         * include/bits/stl_deque.h (_Deque_iterator::operator-):
397         Make non-member, as already happens for the comparison
398         operators in accord with DR179 (Ready).
399         * testsuite/23_containers/deque_operators.cc: Add test02.
401 2002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
402             Jack Reeves  <jackw_reeves@hotmail.com>
404         * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
405         size_t, from int_type.
406         (basic_streambuf::_M_buf_size_opt): Same.
407         (basic_streambuf::_S_pback_sizex): Same.
408         * include/bits/streambuf.tcc: Same.
409         * include/std/std_streambuf.h (basic_streambuf::snextc): Use
410         eq_int_type.
411         (basic_streambuf::uflow): Same.
412         * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
413         to_char_type.
414         * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
415         * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
416         eq_int_type.
417         (basic_streambuf::xsputn): Same.
418         (__copy_streambufs): Same.
420 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
422         * include/std/std_memory.h: Fix formatting.
423         * testsuite/20_util/auto_ptr_neg.cc: New.
424         * testsuite/20_util/auto_ptr.cc: Tweaks.
425         * testsuite/23_containers/map_operators.cc (test01): Split into..
426         * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
427         * testsuite/23_containers/set_operators.cc: Move to...
428         * testsuite/23_containers/set_operators_neg.cc: ...here.
429         * testsuite/README: Add some more naming rules.
431 2002-07-03  Steev Wilcox  <steev@paradigmds.com>
433         PR libstdc++/7057
434         * include/ext/stl_hashtable.h: Fix.
435         * testsuite/ext/hash_map.cc: New.
437 2002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
438             Kenny Simpson  <theonetruekenny@yahoo.com>
439             Phil Edwards  <pme@gcc.gnu.org>
441         PR libstdc++/3946
442         * testsuite/20_util/auto_ptr.cc (test08):  New test.
443         * include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
444         (auto_ptr::operator auto_ptr_ref):  Fix typo.
445         General reformatting and doxygenating of the whole file.
447 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
449         PR libstdc++/7097
450         * include/c/std_cwchar.h: Fix.
452 2002-07-02  Benjamin Kosnik  <bkoz@redhat.com>
454         PR libstdc++/6410
455         * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
456         char* name parameter.
457         * config/locale/gnu/monetary_members.cc: Use it.
458         * config/locale/generic/monetary_members.cc: Same.
459         * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
461         * include/backward/strstream.h: Update date.
463 2002-07-02  Paolo Carlini  <pcarlini@unitus.it>
465         PR libstdc++/6642
466         * include/bits/stl_iterator.h
467         (__normal_iterator::operator-(const __normal_iterator&)):
468         Make non-member, as already happens for the comparison
469         operators in accord with DR179 (Ready).
470         * testsuite/24_iterators/iterator.cc: Add test from the PR.
472 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
474         PR libstdc++/7173
475         * acinclude.m4:  Simplify determination of gcc_version, and move
476         up to GLIBCPP_CONFIGURE.
477         * configure.in (release_VERSION):  Really remove.
478         (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
479         * aclocal.m4, configure:  Regenerate.
481 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
483         * docs/html/configopts.html, docs/html/install.html:  Tweaks.
484         * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
485         include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
486         include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.
488 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
490         * include/backward/strstream: Remove namespace std. Transfer to...
491         * include/backward/strstream.h: ...here. Qualify std names.
492         * src/strstream.cc: Remove namespace std.
493         * include/Makefile.am (backward_headers): Remove strstream.h.
494         * include/Makefile.in: Regenerate.
495         * config/linker-map.gnu: Export strstream bits.
497         * src/fstream-inst.cc: Tweak.
498         * src/io-inst.cc: Same.
499         * src/istream-inst.cc: Same.
500         * src/misc-inst.cc: Same.
501         * src/ostream-inst.cc: Same.
502         * src/sstream-inst.cc: Same.
503         * src/valarray-inst.cc: Same.
504         * src/misc-inst.cc: Remove unused instantiations.
506 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
508         * configure.in (libtool_VERSION): Bump to 5:0:0.
509         * configure: Regenerate.
511 2002-06-28  Phil Edwards  <pme@gcc.gnu.org>
513         PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
514         * include/std/std_queue.h:  Include deque.tcc, vector.tcc.
515         * include/std/std_stack.h:  Include deque.tcc.
516         * testsuite/23_containers/adaptors.cc:  New file.
518 2002-06-27  Phil Edwards  <pme@gcc.gnu.org>
520         * include/bits/stl_alloc.h:  Deprecate all 'reallocate' memfns.
521         * docs/html/ext/howto.html:  Update allocator notes.
523 2002-06-26  Benjamin Kosnik  <bkoz@redhat.com>
525         * configure.in (INTERFACE): Remove.
526         (release_VERSION): Remove.
527         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
528         (libstdcxx_interface): Change. Use gcc methods to determine version.
529         * configure: Regenerate.
530         * aclocal.m4: Regenerate.
532 2002-06-25  DJ Delorie  <dj@redhat.com>
534         * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
535         GLIBCPP_TOPREL_CONFIGURE.
536         * aclocal.m4: Likewise.
537         * configure.in: Call it before AC_CANONICAL_SYSTEM.
538         * configure: Regenerate.
540 2002-06-25  Jessica Han  <jessica@cup.hp.com>
542         * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
543         * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
544         _GLIBCPP_VTABLE_PADDING is defined.
546 2002-06-25  Benjamin Kosnik  <bkoz@redhat.com>
548         * include/bits/stl_alloc.h: Additional formatting.
550 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
552         * include/bits/stl_alloc.h:  Reformat as per C++STYLE.
554 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
556         * config/cpu/*/bits/*:  Move header files up a level.  Remove bits.
557         * config/os/*/bits/*:  Likewise.
558         * configure.in:  Update.
559         * configure:  Regenerate.
560         * configure.target:  Update.
561         * docs/html/17_intro/porting.texi:  Update.
563 2002-06-21  Phil Edwards  <pme@gcc.gnu.org>
565         * include/bits/stl_map.h, include/bits/stl_multimap.h,
566         include/bits/stl_queue.h, include/bits/stl_stack.h:  Reformat and
567         complete doxygenation.
568         * include/bits/boost_concept_check.h:  Minor comment.
570 2002-06-21  Benjamin Kosnik  <bkoz@redhat.com>
572         * include/c_compatibility: New.
573         * include/c_compatibility/assert.h: New.
574         * include/c_compatibility/ctype.h: New.
575         * include/c_compatibility/errno.h: New.
576         * include/c_compatibility/float.h: New.
577         * include/c_compatibility/iso646.h: New.
578         * include/c_compatibility/limits.h: New.
579         * include/c_compatibility/locale.h: New.
580         * include/c_compatibility/math.h: New.
581         * include/c_compatibility/setjmp.h: New.
582         * include/c_compatibility/signal.h: New.
583         * include/c_compatibility/stdarg.h: New.
584         * include/c_compatibility/stddef.h: New.
585         * include/c_compatibility/stdio.h: New.
586         * include/c_compatibility/stdlib.h: New.
587         * include/c_compatibility/string.h: New.
588         * include/c_compatibility/time.h: New.
589         * include/c_compatibility/wchar.h: New.
590         * include/c_compatibility/wctype.h: New.
592         * include/c/std_cerrno.h: Get out of the way... define errno.
593         * include/c/std_cmath.h: Add abs, modf overloads.
594         Undefine C99 isms. Still not sure how to deal with this sanely.
595         * include/c/std_csetjmp.h: Tweak.
596         * include/c/std_cwchar.h: Include cstddef for size_t.
598         * include/c_std/std_cmath.h: Remove extra function.
600         Pendantic std usage in testsuites.
601         * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
602         with std.
603         * testsuite/17_intro/header_cwchar.cc: Tweak.
604         * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
605         std::setlocale.
606         * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
607         * testsuite/22_locale/ctype_to_char.cc (test05): Same.
608         * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
609         * testsuite/22_locale/ctype_is_char.cc (test05): Same.
610         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
611         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
612         * testsuite/22_locale/time_get_members_char.cc (test08): Same.
613         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
614         * testsuite/22_locale/time_put_members_char.cc (test04): Same.
615         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
616         * testsuite/22_locale/num_put_members_char.cc (test04): Same.
617         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
618         * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
619         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
620         * testsuite/22_locale/num_get_members_char.cc: Same.
621         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
622         * testsuite/22_locale/money_put_members_char.cc (test07): Same.
623         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
624         * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
625         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
626         * testsuite/22_locale/money_get_members_char.cc (test08): Same.
627         * testsuite/22_locale/messages_members_char.cc (test03): Same.
628         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
629         * testsuite/22_locale/collate_members_char.cc (test04): Same.
630         * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
631         * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
632         * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
634 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
636         * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
637         c_sources.
639 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
641         * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
642         Use size_type instead of unsigned long.
644 2002-06-20  Steve Ellcey  <sje@cup.hp.com>
646         * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
647         wchar types.
648         (_S_min_len): Ditto.
650 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
652         * include/Makefile.am: Add rules.
653         * include/Makefile.in: Regenerate.
655         * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
656         * aclocal.m4: Regenerate.
657         * configure: Regenerate.
658         * configure.target (c_model, c_compatibility): Add.
660         * libsupc++/Makefile.am (c_sources): New.
661         (libsupc___la_SOURCES): Add c_sources.
662         (LTCOMPILE): Remove INCLUDES.
663         (GCC_INCLUDES): New.
664         (C_COMPILE): New, like COMPILE but without INCLUDES.
665         (cxa_demangle.o): Use C_COMPILE.
666         (dyn-string.o): Use C_COMPILE.
668         * include/c/std_cstdarg.h: Define __need___va_list.
669         * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
670         need_NULL, need_offsetof.
672 2002-06-19  Steve Ellcey  <sje@cup.hp.com>
674         * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*):  Remove
675         definitions in hpux11 cross-build because these functions do
676         not exist on hpux11 (but some exist on hpux10); move defaults out
677         into existing sections.
678         * configure:  Regenerate.
680 2002-06-18  Benjamin Kosnik  <bkoz@redhat.com>
682         * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
683         * include/c/std_cwctype.h: Guard.
685         * libsupc++/eh_alloc.cc: Tweak include order.
686         * libsupc++/pure.cc: Use cstdio.
687         * libsupc++/new_op.cc: Remove malloc forward declaration, as
688         cstdlib brings it in. Use std::malloc.
690         * src/Makefile.am (sources): Remove cmath.cc.
691         * src/Makefile.in: Regenerate.
692         * src/cmath.cc: Remove.
694 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
696         * configure.target:  Force mips to use the generic cpu routines.
698 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
700         * configure.host:  Delete file.
701         * configure.target:  More documentation.  Factor out common parts of
702         script into "intelligent" settings about defaults.  Remove redundancy.
704         * acinclude.m4:  Update comments.  Do not call configure.host.
705         (GLIBCPP_ENABLE_SYMVERS):  If disabled, do not bother checking for
706         libgcc_s.
707         * configure.in:  Slight reformatting, more comments.  Factor out
708         "config/" from all the directories.
709         * docs/html/17_intro/porting.texi:  Update and expand.
710         * testsuite/Makefile.am (AM_RUNTESTFLAGS):  Move empty setting
711         from configure.host.
713         * aclocal.m4, configure, docs/html/17_intro/porting.html,
714         testsuite/Makefile.in:  Regenerate.
716 2002-06-16  Phil Edwards  <pme@gcc.gnu.org>
718         * docs/doxygen/TODO:  Update.
719         * docs/doxygen/tables.html:  Uncomment magical middle column.
720         * docs/doxygen/user.cfg.in:  Kludge to ignore function-like macros.
721         * include/bits/stl_queue.h:  Doxygenate and reformat.
722         * include/bits/ios_base.h, include/std/std_streambuf.h:  Add comment
723         for deprecated names required by the standard.
725 2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>
727         * configure.in (target_alias): Fix.
728         * configure: Regenerate.
729         * aclocal.m4: Regenerate.
731 2002-06-12  Phil Edwards  <pme@gcc.gnu.org>
733         * include/Makefile.am:  Add new files.
734         * include/Makefile.in:  Regenerate.
736         * include/bits/stl_deque.h, include/bits/stl_list.h,
737         include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
738         * include/bits/deque.tcc, include/bits/list.tcc,
739         include/bits/vector.tcc:  ...to here.  New files.
741         * include/ext/stl_hashtable.h:  Inclide correct full headers.
742         * include/std/std_deque.h:  Include .tcc files for now.
743         * include/std/std_list.h:  Likewise.
744         * include/std/std_vector.h:  Likewise.
746 2002-06-12  Daniel Jacobowitz  <drow@mvista.com>
748         * Makefile.am: Add FLAGS_TO_PASS.
749         * Makefile.in: Regenerated.
751 2002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
752             Benjamin Kosnik  <bkoz@redhat.com>
754         * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
755         under *-qnx6.[12]*.
756         * configure.in: Add support for *-qnx6.[12]*.
757         * configure: Regenerate.
759         * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
760         New directories.
761         * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
762         ctype_noninline.h, os_defines.h: New files.
764 2002-06-10  Loren J. Rittle <ljrittle@acm.org>
766         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
767         include all required headers for test against older POSIX standard.
768         (GLIBCPP_CHECK_SETRLIMIT): Likewise.
769         (ac_setrlimit): Likewise.
770         * aclocal.m4: Regenerate.
771         * configure: Regenerate.
772         * testsuite/testsuite_hooks.cc: Reorder and include all
773         required headers for use against older POSIX standard.
775 2002-06-08  Paolo Carlini  <pcarlini@unitus.it>
777         * testsuite/backwards/strstream_members.cc: New.
779 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
781         * include/backwards/strstream: Format.
782         * src/strstream.cc: Format.
784 2002-06-08  Andreas Schwab  <schwab@suse.de>
786         * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
787         _M_buf_size and _M_buf_size_opt to the new buffer and size.
789 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
791         * config/os/generic/bits/ctype_noninline.h: Tweak format.
793 2002-06-07  Steve Ellcey  <sje@cup.hp.com>
795         * src/locale-inst.cc (__codecvt_abstract_base):
796         Put inside _GLIBCPP_USE_WCHAR_T ifdef.
797         * include/bits/istream.tcc (basic_istream): Ditto.
798         (ws) Ditto.
799         (operator>>) Ditto.
800         * include/bits/ostream.tcc (basic_ostream): Ditto.
801         (endl): Ditto.
802         (ends): Ditto.
803         (flush): Ditto.
804         (operator<<): Ditto.
806 2002-06-07  Phil Edwards  <pme@gcc.gnu.org>
808         * mkcheck.in:  Link against local testsuite library.
809         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):  Move null
810         implementation out...
811         * testsuite/testsuite_hooks.cc:  ...to here.
813 2002-06-06  Loren J. Rittle <ljrittle@acm.org>
815         * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
816         * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
817         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
818         * src/Makefile.in: Regenerate (explicitly with --cygnus option).
819         * testsuite/Makefile.in: Likewise.
821 2002-06-05  David Edelsohn  <edelsohn@gnu.org>
823         * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
824         Call external symbol.
826 2002-06-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
828         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
829         Search correct multilib testsuite dir for libv3test.
831 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
832             Gaby Dos Reis  <gdr@codesourcery.com>
834         * include/bits/basic_string.tcc
835         (basic_string::_S_construct(forward_iterator_tag):
836         Fix typo in null pointer check.
837         * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
839 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
841         * testsuite/22_locale/money_get_members_char.cc
842         (test02): Add decimal point to long double constants.
843         * testsuite/22_locale/money_get_members_wchar_t.cc
844         (test02): Likewise.
845         * testsuite/22_locale/money_put_members_char.cc
846         (test02, test03, test06): Likewise.
847         * testsuite/22_locale/money_put_members_wchar_t.cc:
848         (test02, test03, test06): Likewise.
849         * testsuite/22_locale/num_get_members_char.cc:
850         (test02, test01): Likewise; suffix long long constants with LL.
851         * testsuite/22_locale/num_get_members_wchar_t.cc:
852         (test02, test01): Likewise.
853         * testsuite/22_locale/num_put_members_char.cc:
854         (test02, test01): Likewise.
855         * testsuite/22_locale/num_put_members_wchar_t.cc:
856         (test02, test01): Likewise.
858 2002-06-03  Marc Espie  <espie@openbsd.org>
860         * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
861         assembly for old assemblers.
863 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
865         * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
866         Move/rename...
867         (vector<bool>::swap(reference,reference)): ...to this.
869 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
871         * docs/doxygen/TODO:  Update.
872         * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
873         some class members are in 14882 order.
874         * docs/html/ext/howto.html:  3.1 is in the past now, not the future.
876         * include/std/std_bitset.h:  Update comment.
877         * src/bitset.cc:  Update comments, clean up spacing.
879         * src/Makefile.am (sources):  Alphabetize for convenience.
880         * src/Makefile.in:  Regenerate.
882 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
884         * include/bits/stl_deque.h, include/bits/stl_list.h,
885         include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
886         Reorder to match 14882.  Doxygen blocks for all public members.
888 2002-05-31  Marcus Meissner  <meissner@suse.de>
890         PR libstdc++/6886
891         * include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
892         * testsuite/23_containers/vector_bool.cc (test02):  New test.
894 2002-05-30  Marc Espie  <espie@openbsd.org>
896         * configure.in: Always check for sys/types.h
897         * configure: Regenerate.
899 2002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
901         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
902         Rebuild the wrapper file every time this proc is called.
904 2002-05-28  Phil Edwards  <pme@gcc.gnu.org>
906         * testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
907         CXX/INCLUDES.
908         * testsuite/Makefile.in:  Regenerate.
909         * testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
910         list_modifiers.cc and rename from 'T'.  Move code bodies...
911         * testsuite/testsuite_hooks.cc:  ...to here.  New file.
912         * testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
913         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
914         Add libv3test.a to link options.
916 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
918         * src/misc-inst.cc: Define unnecessary algorithm
919         instantiations. Break apart instantiations into groupings below.
920         * src/fstream-inst.cc: New.
921         * src/io-inst.cc: New.
922         * src/istream-inst.cc: New.
923         * src/ostream-inst.cc: New.
924         * src/streambuf-inst.cc: New.
925         * src/sstream-inst.cc: New.
926         * src/Makefile.am (sources): Add files.
927         * src/Makefile.in: Regenerate.
929         * acinclude.m4: Work around automake 1.4-p5 bug, change
930         AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
932 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
934         PR libstdc++/6795.
935         * config/os/solaris/solaris2.6/bits/ctype_noninline.h
936         (classic_table): Fix.
937         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
939 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
941         * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
942         _GLIBCPP_USE_WCHAR_T.
943         * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
944         * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
945         * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
947 2002-05-26  Carlo Wood  <carlo@alinoe.com>
948             Paolo Carlini  <pcarlini@unitus.it>
950         PR libstdc++/6811
951         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
952         (__enc_traits::operator=): add missing return statement.
954 2002-05-24  Phil Edwards  <pme@gcc.gnu.org>
956         PR libstdc++/6282
957         * include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
958         (operator>>):  If nothing was extracted, don't fail in the
959         zero-length case.
960         * testsuite/23_containers/bitset_ctor.cc (test02):  New test.
962 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
964         PR libstdc++/6701
965         * testsuite/22_locale/ctype_narrow_char.cc: New.
966         * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
967         * testsuite/22_locale/ctype_widen_char.cc: New.
968         * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
969         * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
970         * testsuite/22_locale/ctype_is_char.cc: ...this.
971         * testsuite/22_locale/ctype_to_char.cc: ...and this.
972         * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
973         * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
974         * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
976         * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
978 2002-05-24  Dale Peakall <dale@peakall.net>
980         PR libstdc++/6701
981         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
982         * config/locale/generic/ctype_members.cc: Same.
984 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
986         PR libstdc++/6750
987         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
988         for empty string literal.
989         (ostream::operator<<(const _CharT*)): Same.
990         (ostream<char>::operator<<(const char*)): Same.
991         (ostream<char>::operator<<(streambuf*)): Same.
992         * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
993         * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
995 2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
997         * configure.in (release_VERSION): Update to 3.1.1.
998         (libtool_VERSION): Update to 4:1:0.
999         * configure: Regenerate.
1001 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1003         * include/bits/stl_pair.h:  Tweak comment markup.
1005 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1007         * include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
1009 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1011         * docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.
1013 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1015         * include/bits/stl_vector.h:  Reformat to follow C++STYLE.
1016         Doxygenate all public members.  Reorder to follow 14882.
1017         (vector::push_back(void)):  Remove previously-deprecated fn.
1018         (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1019         Deprecate for removal in 3.3.
1021 2002-05-20  Phil Edwards  <pme@gcc.gnu.org>
1023         * docs/html/faq/index.html (5.4):  Recommend against -I options for
1024         finding the ext headers.
1025         * docs/html/faq/index.txt:  Regenerate.
1027 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
1029         * testsuite/23_containers/deque_operators.cc (test01):
1030         Fix minor typo in last commit.
1032 2002-05-18  Paolo Carlini  <pcarlini@unitus.it>
1034         PR libstdc++/6503
1035         * include/bits/stl_deque.h (_Deque_iterator::operator==,
1036         operator!=, operator<, operator>, operator>=, operator<=):
1037         Make non-member functions, to allow comparing const and
1038         non-const iterators in any order.
1039         * testsuite/23_containers/deque_operators.cc: New testfile.
1041 2002-05-16  Phil Edwards  <pme@gcc.gnu.org>
1043         * docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
1044         * docs/html/faq/index.txt:  Regenerate.
1046 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1048         * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1049         * acinclude.m4: Likewise.
1050         * docs/html/Makefile: Likewise.
1051         * aclocal.m4: Regenerate.
1052         * configure: Regenerate.
1053         * Makefile.in: Regenerate.
1055 2002-05-15  Loren J. Rittle <ljrittle@acm.org>
1057         libstdc++/6641
1058         * include/bits/c++config (__USE_MALLOC): Report case where
1059         the user improperly defined it on the command line.
1061 2002-05-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1063         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1064         Retrieve current limits before setting.
1066 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
1068         PR libstdc++/6518
1069         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1070         for null case.
1071         (ostream::operator<<(const _CharT*)): Same.
1072         (ostream<char>::operator<<(const char*)): Same.
1073         * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1075 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
1077         PR libstdc++/6594
1078         * src/strstream.cc (strstreambuf): Fix leak.
1080 2002-05-15  Paolo Carlini  <pcarlini@unitus.it>
1082         PR libstdc++/6648
1083         * include/bits/istream.tcc (istream::getline, ignore):
1084         Upon __idelim (__delim) call sbumpc() not snextc().
1085         * testsuite/27_io/narrow_stream_objects.cc:
1086         Add test08 and test09.
1088 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
1090         * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1091         * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1093         * docs/html/install.html: Fix.
1095 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
1097         * include/bits/fstream.tcc
1098         (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1099         try/catch blocks.
1100         * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1102         * docs/html/install.html: Tweak, add bits about required locales
1103         for the 22_locale tests when using the gnu model.
1105         * testsuite/27_io/istream_sentry.cc: Tweak.
1107 2002-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1109         * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1110         Fix typo, use this->is() rather than manually (and perhaps
1111         incorrectly) inlining it.
1112         * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1113         Likewise.
1114         * testsuite/22_locale/ctype_scan_char.cc: New file.
1116 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
1117             Jakub Jelinek  <jakub@redhat.com>
1119         * testsuite/22_locale/money_get_members_char.cc
1120         (test01, test02, test04): Use the de_DE@euro named locale
1121         instead of de_DE to allow for an uniform behaviour with
1122         both old and Euro-era localedata; tweak some tests.
1123         * testsuite/22_locale/money_get_members_wchar_t.cc
1124         (test01, test02, test04): Likewise.
1125         * testsuite/22_locale/money_put_members_char.cc
1126         (test01, test02, test04): Likewise.
1127         * testsuite/22_locale/money_put_members_wchar_t.cc
1128         (test01, test02, test04): Likewise.
1130 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
1132         * testsuite/22_locale/codecvt_members_char_char.cc
1133         (test03): Robustify wrt localedata.
1134         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1135         * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1136         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1137         * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1138         * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1139         * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1140         * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1141         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1142         * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1143         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1144         * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1145         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1146         * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1147         * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1148         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1149         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1150         * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1151         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1152         * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1153         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1154         * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1155         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1157 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1159         * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1160         change.
1162 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1164         * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1165         to 64 for hppa 64-bit port.
1166         (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1168 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1170         * acinclude.m4 (enable_symvers): Quote $LD.
1171         * aclocal.m4: Regenerate.
1172         * configure: Likewise.
1174 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
1176         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1177         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1178         LD_LIBRARY_PATH.
1180 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
1182         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1183         script entry, and set LD to it when configuring multilibs.
1184         * configure: Rebuilt.
1186 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
1188         * configure.in: Add support for WindISS.
1189         * configure: Regenerated.
1190         * configure.target: Add support for WindISS.
1191         * config/os/windiss/bits/ctype_base.h: New file.
1192         * config/os/windiss/bits/ctype_inline.h: Likewise.
1193         * config/os/windiss/bits/ctype_noninline.h: Likewise.
1194         * config/os/windiss/bits/os_defines.h: Likewise.
1196 2002-05-06  Paolo Carlini  <pcarlini@unitus.it>
1198         Test all the facets for the temporary "C" locale switch issue.
1199         * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1200         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1201         * testsuite/22_locale/collate_members_char.cc: Add test04.
1202         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1203         * testsuite/22_locale/ctype_members_char.cc: Add test05.
1204         * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1205         * testsuite/22_locale/messages_members_char.cc: Add test03.
1206         * testsuite/22_locale/money_get_members_char.cc: Add test08.
1207         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1208         * testsuite/22_locale/money_put_members_char.cc: Add test07.
1209         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1210         * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1211         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1212         * testsuite/22_locale/num_get_members_char.cc: Add test06.
1213         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1214         * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1215         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1216         * testsuite/22_locale/time_get_members_char.cc: Add test08.
1217         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1218         * testsuite/22_locale/time_put_members_char.cc: Add test04.
1219         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1221         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1222         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1224 2002-05-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1226         * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1227         __EXTENSIONS__): Ensure they are always defined.
1229 2002-05-06  Phil Edwards  <pme@gcc.gnu.org>
1231         * docs/html/documentation.html:  Fix broken link.
1233 2002-05-04  Benjamin Kosnik  <bkoz@redhat.com>
1234             Paolo Carlini  <pcarlini@unitus.it>
1236         * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1237         testing for the locale_facets.tcc entry of the previous commit.
1238         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1240 2002-05-04  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
1242         * config/locale/generic/c_locale.cc
1243         (__convert_to_v(float, double, long double)):
1244         Fix the temporary switch to the "C" locale, saving and
1245         restoring in the proper way the current locale.
1246         * config/locale/generic/time_members.cc
1247         (__timepunct<char, wchar_t>::_M_put): Likewise.
1248         * config/locale/gnu/messages_members.cc
1249         (messages<char>::do_get): Likewise.
1250         * config/locale/gnu/messages_members.h
1251         (messages<_CharT>::do_get): Likewise.
1252         * config/locale/gnu/time_members.cc
1253         (__timepunct<char, wchar_t>::_M_put): Likewise.
1254         * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1256 2002-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1258         * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1259         * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1261         * Makefile.in, config.h.in, configure: Regenerate.
1263 2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
1265         PR libstdc++/6549.
1266         * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1267         * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1269 2002-05-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1271         * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1272         Return __ctype + 1.
1273         (ctype:_M_table): Initialize to classic_table(), not __ctype.
1275 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1277         * configure.in: Update local install.html, configopts.html paths.
1278         * configure: Regenerate.
1280 2002-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1282         * config/os/irix/irix5.2/bits/os_defines.h
1283         (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1285         * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1286         char.
1288 2002-05-02  Phil Edwards  <pme@gcc.gnu.org>
1290         * docs/html/faq/index.html:  Update list in #4.1.
1291         * docs/html/faq/index.txt:  Regenerated.
1293 2002-05-02  Benjamin Kosnik  <bkoz@redhat.com>
1295         * docs/html/17_intro/RELEASE-NOTES (New): Update.
1297 2002-05-01  Phil Edwards  <pme@gcc.gnu.org>
1299         * include/std/std_bitset.h:  Fix doxygen comments.
1300         * docs/html/documentation.html:  Minor tweaks for 3.1.
1301         * docs/html/27_io/howto.html:  Likewise.
1302         * docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
1303         * docs/html/faq/index.html:  Likewise.
1304         * docs/html/faq/index.txt:  Regenerated.
1306 2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1308         PR libstdc++/6533
1309         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1310         (istreambuf_iterator::equal): Use it.
1311         (istreambuf_iterator::operator*): Use it.
1313 2002-05-01  Paolo Carlini  <pcarlini@unitus.it>
1315         PR libstdc++/6513
1316         * include/bits/stl_uninitialized.h
1317         (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1318         Fix typo in 2001-07-17 commit: typedef _ValueType to
1319         iterator_traits<_ForwardIter> not <_InputIter>.
1320         * testsuite/23_containers/vector_ctor.cc: Add test04.
1322 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1324         PR libstdc++/6501
1325         * include/c_std/std_cctype.h: Include bits/c++config.h.
1326         * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1328 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1330         * include/ext/stdio_filebuf.h: New file.
1331         * include/ext/enc_filebuf.h: New file.
1332         * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1333         * config/io/basic_file_stdio.cc: Same.
1334         * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1335         Remove _M_unbuf hacks.
1336         (filebuf::_M_destroy_internal_buffer): Same.
1337         (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1338         (filebuf::fd): Remove.
1339         * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1340         (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1341         (filebuf::fd): Remove.
1342         * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1343         filebufs.
1344         (ios_base::_S_ios_destroy): Same.
1345         * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1346         * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1347         stdio_filebuf.h.  * include/Makefile.in: Regenerate.
1349 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1351         PR libstdc++/6511
1352         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1354 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
1356         PR libstdc++/5820
1357         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1358         Check for eof.
1359         * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1360         (istreambuf_iterator::operator++): Invalidate on eof.
1361         (istreambuf_iterator::operator++(int)): Same.
1362         (istreambuf_iterator::operator*): Same.
1364 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1366         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1367         of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1368         LD_LIBRARY64_PATH.
1370 2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>
1372         PR libstdc++/5820
1373         * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1374         (__basic_file::sys_ungetc): Take int.
1375         * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1376         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1377         Use sys_getc for unbuffered input.
1378         * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1380         * src/ios.cc (_M_grow_words): Adjust error checking.
1381         * testsuite/27_io/ios_base_storage.cc: Same.
1383 2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1385         * include/ext/stl_hashtable.h: Import __iterator_category
1387 2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
1388             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1390         * testsuite/ext/hash_set.cc: New testfile.
1392 2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
1394         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1395         _G_USING_THUNKS.
1396         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1397         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1399 2002-04-26  Paolo Carlini  <pcarlini@unitus.it>
1401         * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1402         Fix and tighten __throw_length_error check.
1403         * testsuite/21_strings/replace.cc (test05): New.
1404         * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1406 2002-04-23  Loren J. Rittle <ljrittle@acm.org>
1408         * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1409         unconditional flush on lower-layer handle to here...
1410         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1411         ...from here.  Optimize remaining _M_file.sync() call pattern.
1412         * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1413         (test05): Likewise.
1415 2002-04-23  Jason Merrill  <jason@redhat.com>
1417         * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1418         output-only filebufs.
1419         * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1420         Likewise.
1421         (basic_filebuf::_M_set_determinate): Likewise.
1423         PR libstdc++/6414
1424         * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1425         value properly in the trivial case.
1426         * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1427         tellg() returns the right value after a read.
1429 2002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
1431         * config/cpu/mmix/bits/cpu_limits.h: New file.
1432         * configure.target (CPULIMITSH): Use it.
1434 2002-04-22  Loren J. Rittle <ljrittle@acm.org>
1436         * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1437         * docs/html/17_intro/porting.html: Rebuilt.
1439 2002-04-20  Jason Merrill  <jason@redhat.com>
1441         PR libstdc++/4150
1442         * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1443         Move to filebuf.
1444         (basic_streambuf::_M_set_determinate): Likewise.
1445         (basic_streambuf::_M_is_indeterminate): Likewise.
1446         * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1447         non-static data member.
1448         (basic_filebuf::_M_underflow_common): New non-static member function.
1449         (basic_filebuf::_M_underflow, _M_uflow): Call it.
1450         (basic_filebuf::sync): Avoid useless seeking.
1451         (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1452         Set _M_filepos.
1453         (basic_filebuf::_M_set_determinate): Likewise.
1454         (basic_filebuf::_M_is_indeterminate): Likewise.
1455         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1456         back to _M_out_beg if necessary.
1457         (basic_filebuf::seekoff): Likewise.
1458         (basic_filebuf::_M_underflow_common): Generalization of old
1459         underflow().  Don't seek back to _M_in_beg.
1460         * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1461         * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1462         * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1463         * config/os/mingw32/bits/os_defines.h: Likewise.
1464         * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1465         ungetc test.
1467 2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
1469         * include/bits/istream.tcc (istream::read): Fix.
1470         * testsuite/27_io/istream_unformatted.cc (main): Add.
1472 2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
1474         PR libstdc++/6360
1475         * include/bits/istream.tcc (istream::ignore): Streamline, use
1476         delimiter as is.
1477         * include/bits/streambuf.tcc: Use this->gptr.
1478         * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1480 2002-04-18  Benjamin Kosnik  <bkoz@redhat.com>
1482         * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1483         as type safety is important, especially on solaris.
1484         * include/bits/istream.tcc (istream::read): Clean.
1485         (istream::readsome): Same.
1486         * locale.cc: Wrap lines.
1488         * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1489         * testsuite/27_io/instantiations.cc (test): Add bool variable...
1490         * testsuite/21_strings/capacity.cc: Clean.
1492 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1494         * docs/doxygen/doxygroups.cc:  New group on binary searching.
1495         * include/bits/stl_algo.h:  Document binary searches and merges.
1496         * include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
1498 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1500         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
1501         * docs/doxygen/run_doxygen:  Bump required version.
1502         * docs/doxygen/user.cfg.in:  Revert accidental change.
1503         * docs/html/faq/index.html:  Reindent a block of links.
1504         (4.4):  New note on using dlsym.
1505         * docs/html/faq/index.txt:  Regenerated.
1507 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1509         * testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
1511 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
1513         * config/linker-map.gnu (__malloc_alloc_template): Add.
1514         (__default_alloc_template): Same.
1515         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1516         template.
1517         (__default_alloc_template): Same.
1519 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
1521         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1523 2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
1525         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1526         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1527         (__malloc_alloc_template): Conditionalize.
1529         * include/bits/istream.tcc: Remove sputbackc calls.
1531         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1533 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
1535         * testsuite/24_iterators/rel_ops.cc: New test.
1537 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1539         * include/bits/type_traits.h (__normal_iterator): Declare in
1540         __gnu_cxx.  Adjust use at global namespace.
1541         * include/bits/stl_iterator.h (__normal_iterator): Move definition
1542         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
1543         * include/bits/basic_string.h (basic_string): Adjust use of
1544         __normal_iterator.
1545         * include/bits/stl_vector.h (_Alloc>): Likewise.
1546         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1547         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1549 2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
1551         PR libstdc++/4164
1552         Valgrind fixes.
1553         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1554         Call close.
1555         (__basic_file::close): Call fflush. Correct return if fclose ok.
1556         (__basic_file::is_open): Make const.
1557         Change __c_file_type to __c_file.
1558         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1559         (__basic_file::is_open): Make const.
1560         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1561         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1562         (filebuf::_M_unbuf): Add.
1563         (filebuf::_M_file): Change to non-pointer.
1564         (filebuf::_M_allocate_pback_buffer): Remove.
1565         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1566         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1567         Change initialization list for _M_file change.
1568         (filebuf::_M_allocate_pback_buffer): Remove.
1569         Change _M_file usage to reflect non-pointer data member.
1571         * config/locale/generic/c_locale.cc
1572         (locale::facet::_S_create_c_locale): Add parameter.
1573         * config/locale/generic/collate_members.cc: Change
1574         _M_compare_helper to _M_compare.
1575         Change _M_transform_helper to _M_transform.
1576         * config/locale/generic/monetary_members.cc: Changeup data types.
1577         Add dtors.
1578         * config/locale/generic/numeric_members.cc: Add dtors.
1579         * config/locale/generic/time_members.cc: Add dtors.
1580         * config/locale/gnu/c_locale.cc: Add parameter.
1581         * config/locale/gnu/collate_members.cc:Change
1582         _M_compare_helper to _M_compare.
1583         Change _M_transform_helper to _M_transform.
1584         * config/locale/gnu/ctype_members.cc: Better error checking.
1585         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1586         * config/locale/gnu/messages_members.cc: Tweak comment.
1587         * config/locale/gnu/monetary_members.cc: Change data types.
1588         Add dtors.
1589         * config/locale/gnu/numeric_members.cc: Add dtors, better error
1590         checking.
1591         * config/locale/gnu/time_members.cc: Same.
1592         * config/locale/ieee_1003.1-2001/c_locale.cc
1593         (locale::facet::_S_create_c_locale): Add parameter.
1594         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1595         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1596         bogus ctor.
1598         * include/bits/locale_facets.h (moneypunct): Use string literals.
1599         Don't define dtor.
1600         (numpunct): Same.
1601         (__timepunct): Same.
1602         (locale::_Impl::_M_facets): Change from vector to array.
1603         (locale::_Impl::_M_names): Change from array of strings to array
1604         of string literals.
1605         (locale::facet::_S_create_c_locale): Add parameter.
1606         (locale::locale::_S_num_facets): Move to...
1607         (locale::_Impl::_M_facets_size): Here.
1608         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1609         changes.
1610         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1611         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1612         (locale::_Impl::_Impl(string, size_t)): Change to
1613         (locale::_Impl::_Impl(const char*, size_t)): This.
1615         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1616         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1617         (streambuf::_S_pback_size): This.
1619         * src/globals.cc: Add pre-allocations for "C" facets.
1620         * src/locale-inst.cc: Remove vector instantiations.
1621         * src/locale.cc: Remove vector include. Fixups for _M_names,
1622         _M_facets changes.
1623         * src/localename.cc: Same.
1625         * include/bits/stl_vector.h: Fix odd formatting.
1627         * include/bits/basic_string.tcc: Tweak comment.
1629         * libsupc++/new: Make sure parameters are uglified.
1630         * libsupc++/typeinfo: Same.
1632         * testsuite/22_locale/num_get_members_char.cc: Fixup.
1633         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1634         * testsuite/27_io/filebuf_members.cc: Same.
1636 2002-04-12  Steve Ellcey  <sje@cup.hp.com>
1638         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1639         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1640         does not define strtoll or strtoull, but does define strtol
1641         and strtoul which are the same since in 64 bit mode
1642         sizeof(long) == sizeof(long long).
1644 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
1646         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
1647         trailing spaces, indentation, and macro names.  Make exception
1648         messages more informative.
1650 2002-04-11  Richard Henderson  <rth@redhat.com>
1652         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1653         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1654         (basic_ostream<>::operator<<(long long)): Same.
1656 2002-04-11  Richard Henderson  <rth@redhat.com>
1658         * config/linker-map.gnu: Add __gxx_personality_sj0.
1660 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1662         libstdc++/1072
1663         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1664         pointer to vector.
1665         Remove forward declaration of vector.
1666         Include vector.
1667         * include/bits/locale_facets.tcc: Remove vector include.
1668         (use_locale): Adjust.
1669         (has_locale): Adjust.
1670         * src/locale.cc: Adjust.
1671         * src/localename.cc: Same.
1673 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1674             Richard Henderson  <rth@redhat.com>
1676         * include/bits/sstream.tcc: Clean up bit ops.
1677         * include/bits/fstream.tcc: Same.
1679 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
1681         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1682         (__num_base::_S_scale_oct): Remove.
1683         * src/locale.cc (__num_base::_S_scale_hex): Remove.
1684         (__num_base::_S_scale_oct): Remove.
1686 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1688         libstdc++/6124
1689         * testsuite/23_containers/bitset_members.cc: New test.
1690         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1691         (_S_bit_count): Here.
1692         (_First_one::_S_first_one): Move...
1693         (_S_first_one): Here.
1694         Format.
1695         * src/bitset.cc: Adjust.
1696         * config/linker-map.gnu: Export.
1698 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
1700         libstdc++/5180
1701         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1702         * include/std/std_fstream.h: Clean.
1703         * include/bits/ostream.tcc: Remove extraneous variables.
1704         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1705         open modes and which modes.
1706         (stringbuf::seekpos): Same.
1707         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1709 2002-04-05  Jonathan Wakely <jw@kayari.org>
1711         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1712         random_shuffle, partition, stable_partition, sort, stable_sort,
1713         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
1715 2002-04-05  David S. Miller  <davem@redhat.com>
1717         * config/os/gnu-linux/bits/os_defines.h
1718         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1720 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
1722         libstdc++/3457
1723         via gawrilow@math.tu-berlin.de
1724         * acinclude.m4 (version_specific_libs): Fix combo usage with
1725         --with-gxx-include-dir.
1726         * aclocal.m4: Regenerate.
1727         * configure: Same.
1729 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
1731         As per DR 184, libstdc++/3139
1732         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1733         (numeric_limits<bool>::is_iec559): False.
1734         (numeric_limits<bool>::is_modulo): False.
1736         * testsuite/27_io/ios_init.cc: Add instantiations.
1738 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
1740         libstdc++/5268
1741         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1742         * testsuite/27_io/ios_init.cc (tests04): Add test.
1744         libstdc++/3983
1745         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1746         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1747         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1748         * include/bits/istream.tcc: Use _M_fctype, make consistent with
1749         ostream.
1750         * testsuite/27_io/ios_init.cc (tests03): Add test.
1752 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
1754         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
1755         * include/Makefile.in:  Regenerate.
1757 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
1758             Nathan Myers  <ncm@cantrip.org>
1759             Philip Martin  <philip@codematters.co.uk>
1761         * include/bits/basic_string.h
1762         (replace(i1, i2, _CharT* k1, _CharT* k2),
1763         replace(i2, i2, const _CharT* k1, const _CharT* k2),
1764         replace(i1, i2, iterator k1, iterator k2,
1765         replace(i1, i2, const_iterator k1, const_iterator k2):
1766         New specializations to optimize for the common cases of
1767         pointers and iterators.
1768         (replace(pos, n1, s, n2)): Tweak.
1769         * include/bits/basic_string.tcc: Tweak comments.
1770         * testsuite/21_strings/replace.cc (test04): New tests.
1772 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
1774         libstdc++/5542
1775         * acinclude: More extensive checks for msgfmt, --enable-nls.
1776         * aclocal.m4: Regenerate.
1777         * configure: Regenerate.
1779 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1781         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
1782         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
1783         * docs/html/18_support/howto.html:  Document the demangler.
1784         * docs/html/17_intro/howto.html:  And link to it.
1786         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
1787         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
1789 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1791         * config/linker-map.gnu:  Export __verbose_terminate_handler.
1792         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
1793         Make new LTCOMPILE variable, use it in new special build rules.
1794         * libsupc++/Makefile.in:  Rebuild.
1795         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
1796         runtime __cxa_demangle.
1798         * docs/html/install.html:  Update prereqs and instructions.
1799         * docs/html/19_diagnostics/howto.html:  Bring naming for
1800         verbose_terminate_handler into line with reality.
1802 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
1804         libstdc++/3129
1805         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1806         (basic_ios::_M_streambuf_state): Move.
1807         * include/bits/ios_base (ios_base): To here.
1808         * include/bits/ios_base.h (ios_base::_S_local_words): To
1809         _S_local_word_size.
1810         (ios_base::_M_word_array): To _M_local_word.
1811         (ios_base::_M_words_limit): To _M_word_size.
1812         (ios_base::_M_words): To _M_word.
1813         Comment.
1814         * include/bits/basic_ios.tcc: Adjust.
1815         * src/ios.cc (ios_base::_M_grow_words): Tweak.
1816         * testsuite/27_io/ios_base_storage.cc: Add tests.
1818         libstdc++/5207
1819         Kenny Simpson <theonetruekenny@yahoo.com>
1820         * include/bits/ios_base.h: Fix.
1822         Richard Henderson  <rth@redhat.com>
1823         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1824         last change.
1826         * include/bits/basic_string.h: Tweak formatting.
1828 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
1830         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1831         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1832         By definition, sizeof(char) == 1.
1833         * include/bits/locale_facets.tcc (money_get::do_get,
1834         money_put::do_put): Ditto.
1835         * testsuite/21_strings/inserters_extractors.cc
1836         (test04): Ditto.
1838 2002-03-30  Richard Henderson  <rth@redhat.com>
1840         PR c++/3719
1841         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1842         data out of the exception struct before calling unexpectedHandler.
1844 2002-03-28  Roger Sayle  <roger@eyesopen.com>
1846         * include/c_std/std_cmath.h:  To prevent problems overloading
1847         g++ builtins, use the double variants from the global namespace
1848         before defining float and long double variants in std::.
1850 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
1852         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1854 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
1856         * testsuite/24_iterators/istream_iterator.cc
1857         (test02): New tests.
1859 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1860             Paolo Carlini  <pcarlini@unitus.it>
1862         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1863         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1864         fix i_lit_base e_lit_base arrays, making them independent
1865         from the endianness of the platform; tweak UCS4 to UCS-4BE.
1867 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
1869         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1870         allocate at least a byte.
1872         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1873         debugger-friendly.
1874         * testsuite/27_io/streambuf.cc (test07): Fix.
1875         (test06): Enable.
1877 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
1879         * docs/doxygen/Intro.3:  Date tweak.
1880         * docs/doxygen/TODO:  Update.
1881         * docs/doxygen/doxygroups.cc:  Point to tables.html.
1882         * docs/doxygen/mainpage.html:  Date tweak.
1883         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
1884         * docs/doxygen/tables.html:  Fill in the blanks.
1886         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
1887         * include/bits/stl_algo.h:  Likewise; use expanded form.
1888         * include/bits/stl_alloc.h:  Likewise.
1889         * include/bits/stl_construct.h:  Likewise.
1890         * include/bits/stl_deque.h:  Likewise.
1891         * include/bits/stl_iterator_base_types.h:  Likewise.
1892         * include/bits/stl_list.h:  Likewise.
1893         * include/bits/stl_relops.h:  Likewise.
1894         * include/bits/stl_tempbuf.h:  Likewise.
1895         * include/bits/stl_vector.h:  Likewise.
1896         * include/std/std_memory.h:  Likewise.
1898         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
1899         * include/bits/stl_list.h:  Likewise.
1900         * include/bits/stl_vector.h:  Likewise.
1902 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
1904         * include/c/: Guard with _CPP_.
1905         * include/c_std/: Same.
1906         * include/Makefile.am: Fixup install, link routines for null
1907         c_base_headers_extra scenarios.
1908         * include/Makefile.in: Regerate.
1910 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
1911             Richard Henderson  <rth@redhat.com>
1913         * testsuite/22_locale/codecvt_members_unicode_char.cc
1914         (test01, test02): make sure that the i_lit_base array
1915         is sufficiently aligned.
1917 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1919         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1920         _ctype_.
1922 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
1924         * testsuite/22_locale/collate_byname.cc
1925         (test01): compare the result of collate::compare with
1926         that of collate::transform + string::compare, not with
1927         that of collate::transform + collate::compare; values
1928         returned by collate::compare are normalized, therefore
1929         test against +-1.
1931 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1932             Jakub Jelinek  <jakub@redhat.com>
1934         * config/locale/gnu/messages_members.h: Correct conditional.
1935         * config/locale/gnu/messages_members.cc: Same.
1936         * config/locale/gnu/time_members.cc: Same.
1938 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1939             Paolo Carlini  <pcarlini@unitus.it>
1941         * testsuite/22_locale/codecvt_members_unicode_char.cc
1942         (test01, test02): Fix i_lit_base arrays, making them
1943         independent from the endianness of the platform.
1945 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1947         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1948         signbit and __signbit directly.
1949         * aclocal.m4: Regenerate.
1950         * configure: Regenerate.
1951         * config.h.in: Regenerate.
1952         * libmath/Makefile.am: Simplify.
1953         * libmath/Makefile.in: Regenerate.
1954         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1956         * include/Makefile.am: Clean up handling of extra "C" header files.
1957         Add hooks for "C" compatibility headers.
1958         * include/Makefile.in: Regenerate.
1960         * include/c/*: Formatting tweaks, cleanups.
1961         * include/c_std/*: Same.
1963 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1965         * config/locale/gnu/messages_members.h: Add __uselocale bits.
1966         * config/locale/gnu/messages_members.cc: Same.
1967         * config/locale/gnu/time_members.cc: Same.
1969 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1971         * src/vterminate.cc: Format, -fno-exceptions cleanup.
1973 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1975         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1976         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1977         * aclocal.m4: Regenerate.
1978         * configure: Likewise.
1980 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
1981             Ulrich Drepper  <drepper@redhat.com>
1983         * src/locale-inst.cc (__convert_from_v): Add an additional
1984         __size parameter in the declarations.
1985         * include/bits/locale_facets.tcc
1986         (__convert_from_v): When available (that is,
1987         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1988         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1989         being defined or not, call and use __convert_from_v in the
1990         appropriate way.
1991         (num_put::_M_convert_int): Same here.
1992         (money_put::do_put(long double)): Same here.
1994 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
1996         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
1997         * docs/html/faq/index.txt:  Regenerate.
1999 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
2001         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2002         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2003         --enable-libunwind-exceptions is set.
2004         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2005         macro to check for libunwind.
2006         * configure: Regenerate.
2007         * src/Makefile.am (libstdc___la_LDFLAGS): Add
2008         LIBUNWIND_FLAG to libstdc link line.
2009         * src/Makefile.in: Regenerate.
2011 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
2013         * docs/html/faq/index.html: Add OS X workaround.
2014         * docs/html/17_intro/TODO: Update.
2016 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
2018         * include/bits/locale_facets.tcc
2019         (money_put::do_put(long double)): Fix dimensioning of
2020         temporary buffers to avoid risk of overruns.
2021         (money_put::do_put(string)): Same for the buffer used to
2022         add the grouping chars.
2023         * testsuite/22_locale/money_put_members_char.cc: Add test06.
2024         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2026         * include/bits/locale_facets.tcc
2027         (collate::do_transform): Simplify.
2029 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
2031         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
2032         * configure.in:  Add comments pointing the way for autoconf 2.5x.
2033         * aclocal.m4, config.h.in, configure:  Regenerate.
2035 2002-03-18  Philipp Thomas  <pthomas@suse.de>
2037         * include/backward/hash_map.h: hash, hashtable, hash_map and
2038         hash_multimap are in namespace __gnu_cxx.
2039         include/backward/hash_set.h: hash, hashtable, hash_set and
2040         hash_multiset are in namespace __gnu_cxx.
2041         include/backward/hashtable.h: hash and hashtable are in
2042         namespace __gnu_cxx.
2043         include/backward/rope.h: char_producer, sequence_buffer,
2044         rope, crope and wrope are in namespace __gnu_cxx.
2045         include/backward/slist.h: slist is in namespace __gnu_cxx.
2046         * testsuite/backward/header_hash_map_h.cc
2047         testsuite/backward/header_hash_set_h.cc
2048         testsuite/backward/header_hashtable_h.cc
2049         testsuite/backward/header_rope_h.cc
2050         testsuite/backward/header_slist_h.cc
2051         testsuite/backward/header_tempbuf_h.cc: New tests for
2052         checking that we're using the correct namespace.
2054 2002-03-17  Jason Merrill  <jason@redhat.com>
2056         PR c++/4381
2057         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2058         (check_exception_spec): Call it.  Take the thrown pointer.
2059         (__cxa_call_unexpected): Pass it.
2060         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
2062 2002-03-15  Anthony Green  <green@redhat.com>
2064         * configure.in: Remove useless is_mingw32.
2065         * configure: Rebuilt.
2067 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
2069         * testsuite/22_locale/collate_members_char.cc
2070         (test01): compare the result of collate::compare with
2071         that of collate::transform + string::compare, not with
2072         that of collate::transform + collate::compare.
2073         (test01): values returned by collate::compare are
2074         normalized, therefore test against +-1.
2075         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2077 2002-03-12  Loren Rittle  <ljrittle@acm.org>
2079         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2080         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2082 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2083             Per Liboriussen  <liborius@stofanet.dk>
2085         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2086         unsigned char.
2087         * config/os/gnu-linux/bits/ctype_inline.h: Same.
2089         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2091         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2092         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2094         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2095         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2097         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2098         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2100         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2102 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2104         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2105         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2106         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2107         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2108         that memory limits are in place.
2109         (test03): Add tests.
2111 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
2113         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2114         * aclocal.m4: Regenerate.
2115         * config.h.in: Regenerate.
2116         * configure: Regenerate.
2117         * include/c_std/std_cwctype.h: Guard.
2119 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
2121         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2122         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2123         * aclocal.m4: Regenerate.
2124         * configure: Regenerate.
2126 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
2128         * include/bits/stl_bvector.h: Fix warning.
2130 2002-03-11  Richard Henderson  <rth@redhat.com>
2132         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
2134 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
2136         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2137         New function.  Build the list of tests to run in testsuite_files.
2138         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
2140 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
2142         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
2143         platforms with no weak support.
2144         * testsuite/27_io/ios_init.cc:  Likewise.
2146 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
2148         * include/bits/locale_facets.tcc (time_put::do_put):
2149         Consider sizeof(char_type) in allocating the buffer.
2151         * include/bits/locale_facets.tcc (collate::do_tranform):
2152         Remove redundant variable.
2154 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
2155             Paolo Carlini  <pcarlini@unitus.it>
2157         * config/locale/generic/collate_members.cc
2158         (collate<char,wchar_t>::_M_compare_helper): normalize
2159         values returned by strcoll and wcscoll.
2160         * config/locale/gnu/collate_members.cc
2161         (collate<char,wchar_t>::_M_compare_helper): ditto
2162         for __strcoll_l and __wcscoll_l.
2164 2002-03-10  Anthony Green  <green@redhat.com>
2166         * configure.in: Support cross builds to mingw32 target.
2167         * configure: Rebuilt.
2169 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
2171         * include/bits/locale_facets.tcc (collate::do_transform):
2172         Rewrite to fix problems with long transformed strings.
2174 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2176         * c_locale_generic.cc: Move to...
2177         * generic/c_locale.cc
2178         * c_locale_generic.h: Move to...
2179         * generic/c_locale.h
2180         * codecvt_specializations_generic.h: Move to...
2181         * generic/codecvt_specializations.h
2182         * collate_members_generic.cc: Move to...
2183         * generic/collate_members.cc
2184         * ctype_members_generic.cc: Move to...
2185         * generic/ctype_members.cc
2186         * messages_members_generic.cc: Move to...
2187         * generic/messages_members.cc
2188         * messages_members_generic.h: Move to...
2189         * generic/messages_members.h
2190         * moneypunct_members_generic.cc: Move to...
2191         * generic/monetary_members.cc
2192         * numpunct_members_generic.cc: Move to...
2193         * generic/numeric_members.cc
2194         * time_members_generic.cc: Move to...
2195         * generic/time_members.cc
2196         * c_locale_gnu.cc: Move to...
2197         * gnu/c_locale.cc
2198         * c_locale_gnu.h: Move to...
2199         * gnu/c_locale.h
2200         * collate_members_gnu.cc: Move to...
2201         * gnu/collate_members.cc
2202         * ctype_members_gnu.cc: Move to...
2203         * gnu/ctype_members.cc
2204         * messages_members_gnu.cc: Move to...
2205         * gnu/messages_members.cc
2206         * messages_members_gnu.h: Move to...
2207         * gnu/messages_members.h
2208         * moneypunct_members_gnu.cc: Move to...
2209         * gnu/monetary_members.cc
2210         * numpunct_members_gnu.cc: Move to...
2211         * gnu/numeric_members.cc
2212         * time_members_gnu.cc: Move to...
2213         * gnu/time_members.cc
2214         * c_locale_ieee_1003.1-200x.cc: Move to...
2215         * ieee_1003.1-2001/c_locale.cc
2216         * c_locale_ieee_1003.1-200x.h: Move to...
2217         * ieee_1003.1-2001/c_locale.h
2218         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2219         * ieee_1003.1-2001/codecvt_specializations.h
2220         * messages_members_ieee_1003.1-200x.cc: Move to...
2221         * ieee_1003.1-2001/messages_members.cc
2222         * messages_members_ieee_1003.1-200x.h: Move to...
2223         * ieee_1003.1-2001/messages_members.h
2225         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2226         * aclocal.m4: Regenerate.
2227         * configure: Regenerate.
2228         * src/Makefile.am (sources): Change to monetary and numeric.
2229         * src/Makefile.in: Regenerate.
2230         * docs/html/configopts.html: Update to ieee_1003.1-2001.
2232 2002-03-08  scott snyder  <snyder@fnal.gov>
2234         libstdc++/5875
2235         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2236         Allow one more digit of precision.
2237         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2238         write a double and read back in the same value.
2240 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2242         * include/std/std_limits.h: Move static const data members out of
2243         generic template, into base class __numeric_limits_base.
2244         * src/limits.cc: Add definitions.
2245         * config/linker-map.gnu: Add __numeric_limits_base.
2246         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2248 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
2250         * include/bits/stl_alloc.h: Add extern implicit allocator
2251         instantiations.
2252         * include/bits/basic_string.tcc: Tweak.
2253         * include/bits/locale_facets.tcc: Remove default args. Add
2254         has_facet, use_facet extern instantiations.
2255         * src/stl-inst.cc: Add explicit instantiation.
2256         * src/locale-inst.cc: Clean. Remove locale member template
2257         instantiations.
2259         * testsuite/22_locale/operators.cc (test02): Enable.
2261 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
2262             Stephen M. Webb  <stephen.webb@bregmasoft.com>
2264         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2265         (_S_rb_tree_black): Make enum.
2266         Clean. Format.
2267         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2268         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2269         (__stl_threshold): _M_threshold, enum.
2270         * src/stl-inst.cc: Same.
2271         * config/linker-map.gnu: Remove.
2273         * testsuite/23_containers/vector_bool.cc: New.
2275 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2277         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
2278         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
2279         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
2280         referring to the collection as a whole.  New section on which macros
2281         can be redefined by the user.
2282         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
2283         * docs/html/20_util/howto.html:  Update link to SGI.
2284         * docs/html/faq/index.html:  Update snapshot versions.  New entry
2285         on why g++ (but not gcc) must currently predefine certain macros.
2286         * docs/html/faq/index.txt:  Regenerated.
2288         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
2289         names in declaration.
2290         (basic_string::compare):  These are no longer optional.
2291         * include/bits/ostream.tcc:  Tweak closing brace placement.
2292         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
2293         * include/std/std_sstream.h:  Fix typo in comment.
2294         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
2295         * src/locale.cc:  Likewise.
2297 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2299         PR libstdc++/5734
2300         * include/bits/stl_vector.h (vector::push_back()):  Guard with
2301         _GLIBCPP_DEPRECATED.
2303 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2305         * include/bits/c++config:  Fix misplaced leading blanks on first line.
2307 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2309         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2310         * README (libmath): Make clear.
2312 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
2314         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2315         script globbing in ld.
2316         * aclocal.m4: Rebuilt.
2317         * configure: Rebuilt.
2319 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2321         * docs/html/17_intro/RELEASE-NOTES: Update.
2322         * README: Format subdirectories.
2324 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
2326         libstdc++/5816
2327         * include/bits/locale_facets.tcc
2328         (num_get::_M_extract_float): Fix the parsing of __dec, since
2329         the standard prescribes that if no grouping characters are
2330         seen, no grouping check is applied.
2331         * testsuite/22_locale/num_get_members_char.cc: Add test05
2332         distilled from the PR.
2333         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2335 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2337         * docs/html/17_intro/porting-howto.xml: Refer to
2338         http://www.oasis-open.org for docbookx.dtd.
2339         * docs/html/17_intro/porting-howto.html: Regenerated.
2341 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
2343         PR libstdc++/3955
2344         * include/std/std_sstream.h:  Remove trailing spaces.
2345         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
2346         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
2348 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
2350         * testsuite/22_locale/num_get_members_char.cc (test04):
2351         Use a named locale expecting grouping (de_DE).
2352         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2353         Ditto.
2354         * testsuite/27_io/ios_manip_basefield.cc (test01):
2355         Extend coverage, uniform treatment of hexs and octs.
2357 2002-02-28  Richard Henderson  <rth@redhat.com>
2359         * config/linker-map.gnu: Export operator new with unsigned long,
2360         and with std::nothrow_t.  Likewise operator delete.
2362 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
2364         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2365         Admit grouping for octals and hexadecimals too.
2366         * testsuite/22_locale/num_get_members_char.cc: Add test04.
2367         (test01): Tweak "." -> "," in void* test.
2368         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2370         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2371         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2373 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
2375         * testsuite/27_io/ios_manip_basefield.cc (test01):
2376         Fix for 64 bit machines.
2378 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
2380         libstdc++/3983
2381         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2382         Adjust comment.
2383         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2384         (basic_ios::_M_fill_init): New.
2385         (basic_ios::fill()): Delay dealing with _M_fill.
2386         Adjust comment.
2387         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2388         (ios_base::_M_call_callbacks): Adjust.
2389         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2391 2002-02-26  Loren Rittle  <ljrittle@acm.org>
2393         * include/Makefile.am (thread_target_headers): Unconditionally
2394         stage and install gthr-posix.h.
2395         (${target_builddir}/gthr-posix.h): New rule cloned off
2396         ${target_builddir}/gthr-default.h.
2397         (${target_builddir}/gthr-default.h): Support chained inclusion
2398         of gthr support headers.
2399         * include/Makefile.in: Rebuilt.
2401 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
2403         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2404         Group all the integral types, not only decs.
2405         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2406         tests, add a few more.
2408 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
2410         * src/ios.cc (ios_base::~ios_base): Tweak.
2411         (ios_base::_M_call_callbacks): Deal with null __p.
2412         (ios_base::ios_base): Set _M_callbacks.
2413         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2414         * testsuite/27_io/ios_init.cc (test02): Fix.
2416         * mkcheck.in (static_fail): Failed links go to output file.
2418 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
2420         * docs/html/faq/index.html:  Update.
2421         * docs/html/faq/index.txt:  Regenerate.
2423 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
2425         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
2426         * aclocal.m4:  Regenerate.
2427         * docs/html/configopts.html:  Document --enable-symvers.
2428         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
2430 2002-02-22  Philipp Thomas  <pthomas@suse.de>
2432         * include/backward/tempbuf.h: get_temporary_buffer and
2433         return_temporary_buffer are in namespace std, not in __gnu_cxx.
2435 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
2437         * configure.in (target_alias): Default to yes.
2438         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2439         libgcc to default case.
2441 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
2443         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
2444         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
2445         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
2446         * aclocal.m4:  Regenerate.
2447         * configure:  Regenerate.
2448         * config/linker-map.dummy:  New file.  Contains nothing useful.
2450 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
2452         * testsuite/22_locale/money_put_members_char.cc: Fix.
2453         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2455         * testsuite/27_io/standard_manipulators.cc: New file.
2457         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2458         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2460 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
2462         * config/os/mingw32/bits/ctype_noninline.h
2463         (ctype<char>::ctype): Remove default args from parm list.
2464         * config/os/djgpp/bits/ctype_noninline.h: Same.
2466 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2468         * include/std/std_iomanip.h: Inline, tweaks.
2469         * config/linker-map.gnu: Remove hacks.
2471         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2472         * testsuite/27_io/ios_init.cc: Same.
2473         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2474         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2476 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2478         * config/linker-map.gnu: Export global vtable, typeinfo, guard
2479         variable, and thunk info as per CXXABI docs.
2481 2002-02-19  Loren Rittle <ljrittle@acm.org>
2483         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2484         * include/Makefile.in: Rebuilt.
2486 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2488         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2489           with size3 for the string collations of str5.
2491 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
2493         libstdc++/5708
2494         * include/bits/locale_facets.tcc (money_put::do_put):
2495         For the space field use __fill instead of ' ', uniformly.
2496         * testsuite/22_locale/money_put_members_char.cc:
2497         Add test05 distilled from PR.
2498         (test01-02-03): Trim some '*' to ' '.
2499         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2501 2002-02-18  Loren Rittle <ljrittle@acm.org>
2503         libstdc++/5697
2504         * include/Makefile.am (thread_builddir): Remove (map all
2505         existing uses to target_builddir).
2506         (thread_headers): Rename to...
2507         (thread_target_headers): ...this.
2508         (stamp-thread): Remove.
2509         (stamp-target): Correctly state the position as built.
2510         Update all dependencies to match the new reality.  Remove all
2511         dependency calculations on directories.
2512         * include/Makefile.in: Rebuilt.
2514 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
2516         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2517         * include/bits/fstream.tcc: Same.
2518         * include/bits/sstream.tcc: Same.
2519         * include/bits/ostream.tcc: Same.
2520         * include/bits/istream.tcc: Same.
2521         * include/bits/streambuf.tcc: Same.
2522         * include/bits/basic_ios.tcc: Same.
2523         * include/bits/basic_string.tcc: Same.
2525 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2527         * include/std/std_iosfwd.h: Don't guard typedefs with
2528         _GLIBCPP_USE_WCHAR_T
2529         * include/bits/stringfwd.h: Same.
2531 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2533         * src/locale.cc (moneypunct_byname): Remove definitions.
2534         * include/std/std_streambuf.h (streambuf::operator=): Return.
2536 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2538         Tune for size.
2539         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2540         explicit instantiation.
2541         (string::_Rep::_S_max_size): Same.
2542         * include/bits/basic_string.tcc: Add extern explicit
2543         instantiations for string, wstring.
2544         * include/bits/basic_ios.tcc: Add extern explicit instantiations
2545         for ios, wios.
2546         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2547         * include/bits/istream.tcc: Same, for istream, wistream.
2548         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2549         wiostream.
2550         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2551         istringstream, wistringstream, ostringstream, wostringstream,
2552         stringstream, wstringstream.
2553         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2554         wifstream, ofstream, wofstream, fstream, wfstream.
2555         * src/misc-inst.cc: Correct comments.
2556         Add iomanip instantiations for wide streams.
2557         * include/std/std_iomanip.h: Same.
2558         * include/bits/locale_facets.tcc: Same.
2560         * include/std/std_streambuf.h: Correct
2561         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2562         * include/std/std_sstream.h: Same.
2563         * include/std/std_ostream.h: Same.
2564         * include/std/std_istream.h: Same.
2565         * include/std/std_fstream.h: Same.
2567         * include/std/std_streambuf.h: Add definitions for private copy
2568         ctor and assignment operator.
2569         * include/std/std_istream.h: Remove declared but undefined copy
2570         ctor and assignment operator. This is taken care of in ios_base,
2571         so adding it in the derived class as well is superfluous.
2572         * include/std/std_ostream.h: Same.
2574         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2575         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2577 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
2579         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2580         Add typeinfo bits. Smooth.
2581         * aclocal.m4: Regenerate.
2582         * configure: Same.
2583         * src/Makefile.in: Same.
2585 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
2587         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2588         which do not have a CAS instruction.
2590 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
2592         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
2593         * configure.in:  Call it.
2594         * config/linker-map.gnu:  New file, initial incomplete revision.
2595         * src/Makefile.am:  Optionally pass version script to the linker.
2596         * aclocal.m4:  Regenerate.
2597         * configure:  Regenerate.
2598         * src/Makefile.in:  Regenerate.
2600 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
2602         * src/localename.cc: Remove stdexcept include.
2603         * src/locale-inst.cc: Same.
2604         * src/locale.cc: Same.
2605         * src/functexcept.cc: Remove string includes.
2606         * include/std/std_bitset.h: Remove stdexcept include.
2607         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2608         * testsuite/23_containers/bitset_ctor.cc: Same.
2610 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2612         * include/bits/stl_algo (__stl_threshold): Declare external.
2613         (__stl_chunk_size): Same.
2614         * include/bits/stl_bvector.h (__WORD_BIT): Same.
2615         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2616         (_S_rb_tree_black): Same.
2617         * src/stl-inst.cc (__stl_threshold): Define.
2618         (__stl_chunk_size): Same.
2619         (__WORD_BIT): Same.
2620         (_S_rb_tree_red): Same.
2621         (_S_rb_tree_black): Same.
2623         * config/io/basic_file_libio.h (__basic_file): Add declarations.
2624         * include/bits/basic_file.h: Remove.
2625         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2626         Declare generic types, specialization.
2627         * config/io/basic_file_stdio.cc: Definitions.
2628         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2629         Declare generic types.
2630         * include/Makefile.am (bits_headers): Remove basic_file.h.
2631         (extra_target_headers): Change basic_file_model.h to basic_file.h.
2632         (stamp-target): Same.
2634         * include/bits/stl_alloc.h: Tweaks.
2635         * include/bits/localefwd.h: Same.
2637 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
2639         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2640         * testsuite/22_locale/collate_members_char.cc (test03): New test.
2641         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2643 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
2645         * include/bits/stl_algo.h (transform (both signatures), generate_n):
2646         Use __typeof__ in concept checks.
2648 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
2650         * include/bits/stl_algo.h (__median, for_each, find, find_if,
2651         adjacent_find, count, count_if, search, search_n, swap_ranges,
2652         transform, replace, replace_if, replace_copy, replace_copy_if,
2653         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2654         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
2656 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
2658         * include/bits/locale_facets.h
2659         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2660         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2661         (__timepunct<_CharT>::_M_put_helper): Same.
2662         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2664         * include/bits/fstream.tcc (filebuf::underflow): Remove
2665         __codecvt_type typedef.
2666         (filebuf::_M_convert_to_external): Same.
2668 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
2670         * docs/doxygen/TODO:  Update.
2671         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
2672         * docs/doxygen/mainpage.html:  Add TODO list link.
2673         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
2674         * docs/doxygen/tables.html:  New file, emoty structure only.
2676         * include/bits/stl_iterator.h:  Doxygenate just about everything.
2677         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
2678         * include/bits/stl_iterator_base_types.h:  Add notes.
2680 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
2682         * include/bits/stl_map.h:  Tweak doxygen markup.
2683         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
2684         * include/bits/stl_vector.h:  Likewise.
2686 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2688         libstdc++/5286
2689         libstdc++/3860
2690         * include/std/std_fstream.h (filebuf::__file_type): Change to
2691         __basic_file<char>.
2692         (filebuf::_M_convert_to_external): Declare.
2693         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2694         codecvt bits for wide streams.
2695         (filebuf::_M_really_overflow): Use it.
2696         (filebuf::underflow): Use codecvt.
2697         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2698         (codecvt<__enc_traits>::do_out): Deal with partial.
2699         (codecvt<__enc_traits>::do_encoding): Return something useful.
2700         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2701         wchar_t.
2702         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2703         Change expected encoding output.
2704         (test02): Same.
2705         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2706         (test02): Same.
2708 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2709             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
2711         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2712         (basic_ios::widen): Same.
2714 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
2716         * testsuite/22_locale/money_get_members_char.cc:
2717         Add comment, tidy up.
2718         (test01): more "en_HK" tests (without showbase).
2719         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2721 2002-02-06  Loren Rittle <ljrittle@acm.org>
2723         * config/locale/c_locale_generic.cc: Do not trust
2724         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2725         set by configure.
2727 2002-02-06  Loren Rittle <ljrittle@acm.org>
2729         * acinclude.m4: Add C++ linkage check for strtof.
2730         * aclocal.m4: Rebuilt.
2731         * config.h.in: Rebuilt.
2732         * configure: Rebuilt.
2733         * config/locale/c_locale_generic.cc: Conditionally include
2734         <ieeefp.h>.  Improve handling and error checking of float
2735         and long double input for non-C99 configurations.
2737 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
2739         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2740         In case money_base::symbol deal properly with multi-char sign
2741         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2742         * testsuite/22_locale/money_get_members_char.cc: Add test07.
2743         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2745 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
2747         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2748         First construct a tentative returned string, then, only if the
2749         parsing succeeds, copy it into the string passed by reference.
2750         * testsuite/22_locale/money_get_members_char.cc: Add test06.
2751         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2753 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
2755         * docs/doxygen/TODO:  Impl-defined behavior now documented...
2756         * docs/html/17_intro/howto.html:  ...here.
2757         * docs/doxygen/mainpage.doxy:  Remove, rename...
2758         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
2759         * docs/doxygen/style.css:  Add small text.
2760         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
2761         * docs/doxygen/user.cfg.in:  Likewise.
2763 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
2765         * include/bits/stl_map.h:  Initial doxygen markup.
2766         * include/std/std_fstream.h:  Initial doxygen markup.
2768 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
2770         libstdc++/5579
2771         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2772         Deal correctly with !(__io.flags() & ios_base::showbase)
2773         for case money_base::symbol.
2774         * testsuite/22_locale/money_get_members_char.cc: Add test05.
2775         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2777 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
2779         * testsuite/22_locale/operators.cc
2780         (gnu_collate::do_compare()): Add return statement to
2781         suppress "no return statement" warning.
2783 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
2785         * testsuite/27_io/ostream_manip.cc: Enable test02.
2787 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
2789         * docs/html/documentation.html:  Update for 3.0.96.
2790         * docs/html/faq/index.html:  Update for 3.0.96.
2791         * docs/html/faq/index.txt:  Regenerated.
2792         * docs/doxygen/TODO:  Update notes.
2793         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
2795 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
2797         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2798         Initialize all data members in copy ctor. Make ctors explicit.
2799         (__enc_traits::__enc_traits()): Default ctor does nothing.
2800         (__enc_traits::_M_init): Guard against multiple iconv_opens.
2801         * include/std/std_sstream.h (basic_stringbuf): Make data members
2802         protected.
2803         * include/std/std_fstream.h (basic_filebuf): Same.
2804         * include/std/std_streambuf.h: Tweak.
2805         * include/bits/streambuf.tcc: Same.
2806         * include/bits/sstream.tcc: Same.
2807         * include/bits/fstream.tcc: Same.
2809 2002-01-31  Loren Rittle <ljrittle@acm.org>
2811         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2812         allow NULL argument to be passed to setenv().
2813         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2814         * testsuite/22_locale/collate_members_char.cc: Likewise.
2815         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2816         * testsuite/22_locale/ctype_members_char.cc: Likewise.
2817         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2818         * testsuite/22_locale/messages_members_char.cc: Likewise.
2819         * testsuite/22_locale/money_get_members_char.cc: Likewise.
2820         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2821         * testsuite/22_locale/money_put_members_char.cc: Likewise.
2822         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2823         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2824         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2825         * testsuite/22_locale/num_get_members_char.cc: Likewise.
2826         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2827         * testsuite/22_locale/num_put_members_char.cc: Likewise.
2828         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2829         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2830         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2831         * testsuite/22_locale/time_get_members_char.cc: Likewise.
2832         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2833         * testsuite/22_locale/time_put_members_char.cc: Likewise.
2834         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2836 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
2838         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2840         * ChangeLog-2001: Fix spelling errors...
2841         * docs/html/17_intro/RELEASE-NOTES: Update.
2842         * docs/html/17_intro/TODO: Update.
2843         * README (file): Update.
2845 2002-01-30  Loren Rittle <ljrittle@acm.org>
2847         * config/locale/c_locale_generic.cc: Check errno for ERANGE
2848         instead of non-zero to aid portability.
2850 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2852         * docs/html/22_locale/messages.html: Fix example code.
2854 2002-01-30  Richard Henderson  <rth@redhat.com>
2856         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2857         out from test03 and templatize.
2858         (test03): Use it.
2860 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
2862         * config/locale/numpunct_members_gnu.cc
2863         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2864         Fix initialization of _M_grouping for locales which have
2865         _M_thousands_sep == '\0'(L'\0', respectively).
2866         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2868 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
2870         * testsuite/27_io/ostream_inserter_arith.cc (test03):
2871         Better fix for 32/64 bit architectures, avoiding the
2872         implicit assumption that CHAR_BIT == 8.
2874 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
2876         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
2877         * Makefile.in:  Regenerate.
2879         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
2880         * docs/doxygen/Intro.3:  Update.
2881         * docs/doxygen/TODO:  Update.
2882         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
2883         * docs/doxygen/mainpage.doxy:  Update.
2884         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
2885         regenerate comments and variables with 1.2.12.
2886         * docs/doxygen/maint.cfg.in:  Remove file.
2888         * include/bits/stl_relops.h:  Doxygenate.
2889         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
2891         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2892         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2893         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2894         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2895         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2896         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2897         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2898         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2899         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2900         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2901         include/ext/hash_set, include/ext/iterator, include/ext/memory,
2902         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2903         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2904         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2905         include/std/std_algorithm.h, include/std/std_bitset.h,
2906         include/std/std_complex.h, include/std/std_deque.h,
2907         include/std/std_fstream.h, include/std/std_functional.h,
2908         include/std/std_iomanip.h, include/std/std_ios.h,
2909         include/std/std_iosfwd.h, include/std/std_iostream.h,
2910         include/std/std_istream.h, include/std/std_iterator.h,
2911         include/std/std_limits.h, include/std/std_list.h,
2912         include/std/std_locale.h, include/std/std_map.h,
2913         include/std/std_memory.h, include/std/std_numeric.h,
2914         include/std/std_ostream.h, include/std/std_queue.h,
2915         include/std/std_set.h, include/std/std_sstream.h,
2916         include/std/std_stack.h, include/std/std_stdexcept.h,
2917         include/std/std_streambuf.h, include/std/std_string.h,
2918         include/std/std_utility.h, include/std/std_valarray.h,
2919         include/std/std_vector.h:  Add/correct @file doxygen hook.
2921         * include/ext/memory:  Doxygenate most of rest of file.
2922         * libsupc++/exception:  Doxygen output formatting.
2923         * libsupc++/new:  Say which header it is.
2925         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
2926         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
2927         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
2928         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
2930 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2931             Charles Leggett <CGLeggett@lbl.gov>
2933         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2935 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2937         * testsuite/27_io/ostream_inserter_arith.cc (test03):
2938         Fix to deal correctly with both 32 bit and 64 bit architectures
2940 2002-01-25  Loren Rittle <ljrittle@acm.org>
2942         * testsuite/thread/pthread1.cc: Use one condition variable
2943         per predicate instead of tricky use of one condition variable.
2945 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
2947         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2948         streams.
2949         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2950         * testsuite/27_io/filebuf.cc: Compile only.
2951         * testsuite/27_io/filebuf_members.cc: Move tests to here.
2952         * testsuite/27_io/filebuf_virtuals.cc: And here.
2953         Revert sungetc, sync changes for expected values.
2954         * testsuite/27_io/filebuf-*: Move to...
2955         * testsuite/27_io/filebuf_virtuals-*: ...here.
2956         * testsuite/27_io/istream.cc: Compile only, activate.
2957         * testsuite/27_io/ostream.cc: Same.
2958         * testsuite/27_io/iostream.cc: New.
2959         * testsuite/27_io/iostream_members.cc: New.
2961 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
2963         * testsuite/thread/pthread1.cc: Enable on cygwin.
2964         * testsuite/thread/pthread2.cc: Likewise.
2965         * testsuite/thread/pthread3.cc: Likewise.
2966         * testsuite/thread/pthread4.cc: Likewise.
2967         * testsuite/thread/pthread5.cc: Likewise.
2968         * testsuite/thread/pthread6.cc: Likewise.
2970 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
2972         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2974 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
2976         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2977         const, tweak.
2978         (basic_ios::fill(char_type)): Use fill().
2979         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2980         (basic_ios::narrow): Same.
2981         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2982         if they are invalid.
2983         (basic_ios::init): Comment.
2984         * testsuite/27_io/ios_init.cc (test02): New.
2986 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
2988         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
2989         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
2990         * include/ext/memory:  Do not include stl_tempbuf.h.
2991         (temporary_buffer):  Add doxygen hook.
2992         (__get_temporary_buffer, get_temporary_buffer,
2993         return_temporary_buffer):  Move back to std:: header...
2994         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
2995         * include/ext/rope:  Do not include stl_tempbuf.h.
2996         * include/ext/stl_hashtable.h:  Likewise.
2997         * include/std/std_algorithm.h:  Likewise.
2998         * testsuite/20_util/temporary_buffer.cc:  New file.
3000 2002-01-24  andrew@andypo.net
3001             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
3003         libstdc++/5432
3004         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3005         * include/bits/localefwd.h: Likewise.
3006         Also use for std::locale::id::_S_highwater.
3007         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3008         * src/locale.cc: Support new usage of _Atomic_word.
3009         (std::locale::classic): Guard entire function against reentry.
3010         * src/localename.cc: Support new usage of _Atomic_word.
3012 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
3014         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3015         _GLIBCPP_HAVE_SETENV.
3016         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3017         * testsuite/22_locale/collate_members_char.cc (test02): Same.
3018         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3019         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3020         * testsuite/22_locale/messages_members_char.cc (test02): Same.
3021         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3022         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3023         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3024         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3025         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3026         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3027         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3028         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3029         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3030         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3031         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3032         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3033         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3034         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3035         * aclocal.m4: Regenerate.
3036         * configure: Regenerate.
3037         * config.h.in: Regenerate.
3039 2002-01-23  Loren Rittle <ljrittle@acm.org>
3041         * testsuite/thread/pthread1.cc: New test.
3042         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3043         * testsuite/thread/pthread3.cc: Likewise.
3044         * testsuite/thread/pthread4.cc: New test adapted from
3045         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3046         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3047         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3049 2002-01-23  Richard Henderson  <rth@redhat.com>
3051         PR libstdc++/5198
3052         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3053         CAS on the cpu variants that support it.  Add versions that use
3054         TAS and that disable interrupts.
3055         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3057 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
3059         * include/bits/locale_facets.tcc: Remove old comments.
3061 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
3063         * include/bits/locale_facets.tcc (__convert_to_v): Change template
3064         parameter to _Tv.
3065         (__convert_from_v): Same.
3067 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
3069         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3070         prototype.
3071         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3072         __max_digits checks, adjust arguments.
3073         (num_get::do_get(*)): Changeup.
3075 2002-01-23  Loren Rittle <ljrittle@acm.org>
3077         * config/locale/c_locale_generic.cc: Fix typename usage.
3079 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3081         * config/locale/c_locale_generic.cc: Fix.
3083 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3085         * docs/html/22_locale/messages.html: Remove angle brackets.
3086         * docs/html/17_intro/TODO: Add.
3088 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
3090         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3091         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3092         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3093         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3095 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3097         Audit for LANG independence.
3098         * include/bits/localefwd.h: Tweaks.
3099         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3100         Use __convert_to_v.
3101         (time_get::do_get_year): Same.
3102         (__convert_from_v): Add.
3103         (num_put::_M_convert_float): Use.
3104         (num_put::_M_convert_int): Same.
3105         (money_put::do_put): Same.
3107         * src/locale-inst.cc: Add instantiations for __convert_from_v.
3108         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3109         * config/locale/time_members_generic.cc:
3110         * config/locale/messages_members_gnu.cc: Same.
3111         * config/locale/messages_members_gnu.h: Same.
3113         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3114         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3115         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3116         * testsuite/22_locale/collate_members_char.cc (test02): New.
3117         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3118         * testsuite/22_locale/ctype_members_char.cc (test03): New.
3119         * testsuite/22_locale/messages_members_char.cc (test02): New.
3120         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3121         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3122         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3123         * testsuite/22_locale/money_get_members_char.cc (test04): New.
3124         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3125         * testsuite/22_locale/money_put_members_char.cc (test04): New.
3126         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3127         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3128         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3129         * testsuite/22_locale/time_put_members_char.cc (test03): New.
3130         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3131         * testsuite/22_locale/time_get_members_char.cc (test07): New.
3132         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3133         * testsuite/22_locale/num_get_members_char.cc (test03): New.
3134         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3135         * testsuite/22_locale/num_put_members_char.cc (test03): New.
3137         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3138         locale issues.
3139         * testsuite/22_locale/time_get_members_char.cc: Same.
3141 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3143         libstdc++/5280
3144         * include/bits/localefwd.h: Tweak comments.
3145         * include/bits/locale_facets.h (__convert_to_v): Add.
3146         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3147         (num_get::do_get(float)): Same.
3148         (num_get::do_get(long double)): Same.
3149         (num_get::do_get(bool)): Same.
3150         (num_get::do_get(long)): Same.
3151         (num_get::do_get(long long)): Same.
3152         (num_get::do_get(unsigned int)): Same.
3153         (num_get::do_get(unsigned short)): Same.
3154         (num_get::do_get(unsigned long)): Same.
3155         (num_get::do_get(unsigned long long)): Same.
3156         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3157         * config/locale/c_locale_generic.cc: Same.
3159 2002-01-22  Loren Rittle <ljrittle@acm.org>
3161         * include/Makefile.am (c_base_builddir): Remove redundant slash.
3162         (std_builddir): Likewise.
3163         (std_headers_rename): Fix cut-n-paste typo.
3164         (install-data-local): Concat path per element instead of once to
3165         first element of list.
3166         * include/Makefile.in: Rebuilt.
3168 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3170         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3171         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3172         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3174 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
3176         * include/bits/locale_facets.h (ctype<char>::classic_table):
3177         Remove definition.
3178         (ctype<char>::_S_ctable): Remove.
3179         * config/os/gnu-linux/bits/ctype_noninline.h
3180         (ctype<char>::_S_table): Remove definition.
3181         (ctype<char>::classic_table): Define.
3182         (ctype<char>::ctype): Replace _S_ctable with classic_table().
3183         * config/os/aix/bits/ctype_noninline.h: Same.
3184         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3185         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3186         * config/os/djgpp/bits/ctype_noninline.h: Same.
3187         * config/os/generic/bits/ctype_noninline.h: Same.
3188         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3189         * config/os/hpux/bits/ctype_noninline.h: Same.
3190         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3191         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3192         * config/os/mingw32/bits/ctype_noninline.h: Same.
3193         * config/os/newlib/bits/ctype_noninline.h: Same.
3194         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3195         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3196         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3198 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
3200         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3201         of _pctype. Use to define _S_ctable.  Add definition for alternate
3202         ctor.  Initialise _M_ctable to _S_ctable in ctors.
3203         (do_toupper, do_tolower): Use inline code appropriate for C-locale
3204         rather than ::toupper, ::tolower.
3206 2002-01-18  Loren Rittle <ljrittle@acm.org>
3208         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3209         Add specialization for FreeBSD systems only to avoid losing test
3210         only due to extra precision unmentioned in system headers.
3212 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
3214         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3216 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
3218         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
3219         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3221 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3223         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3225 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
3227         * configure.target: Define OPT_LDFLAGS for AIX case.
3229 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3231         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3232         __glibcpp_double_has_quiet_NaN): Correct mispelling.
3234 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
3236         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3238 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
3240         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3241         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
3242         * aclocal.m4: Regenerate.
3243         * configure: Regenerate.
3245 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3247         * include/Makefile.am (c_base_headers_rename): New.
3248         (c_base_headers_extra): New.
3249         (stamp-c_base): Modify.
3250         (install-data-local): Use both.
3251         * include/Makefile.in: Regenerate.
3252         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3253         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3254         cstdio ctime cwctype]: Move to..
3255         * include/c/std_*: Here.
3256         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3257         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3258         cstdio ctime cwctype]: Move to..
3259         * include/c_std/std_*: Here.
3261         Alexandre Oliva  <aoliva@redhat.com>
3262         * include/Makefile.am (.PRECIOUS): Add rule.
3263         * include/Makefile.in: Regenerate.
3265 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3266             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3268         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3269         Deuglify, should be current.
3270         (back_insert_iterator::_M_container): Deuglify, should be container.
3271         (front_insert_iterator::_M_container): Same.
3272         (insert_iterator::_M_container): Same.
3273         * testsuite/24_iterators/reverse_iterator.cc: Add check.
3274         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3275         * testsuite/24_iterators/front_insert_iterator.cc: Same.
3276         * testsuite/24_iterators/insert_iterator.cc: Same.
3278 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3280         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3281         static.
3282         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3283         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3284         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3285         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3286         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3287         * config/os/newlib/bits/ctype_noninline.h: Same.
3288         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3289         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3290         * config/os/hpux/bits/ctype_noninline.h: Same.
3291         * config/os/djgpp/bits/ctype_noninline.h: Same.
3292         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3293         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3294         * config/os/aix/bits/ctype_noninline.h: Same.
3296         Testcase by Dietmar Kühl via Peter Schmid
3297         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3298         classic_table().
3300 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3302         * libmath/signbitl.c: Copyright years as list, not range.
3303         * libmath/Makefile.am: Same.
3304         * libmath/Makefie.in: Regenerate.
3305         * libmath/signbit.c: Same.
3306         * libmath/nan.c: Same.
3307         * libmath/copysignf.c: Same.
3308         * libmath/signbitf.c: Same.
3309         * testsuite/22_locale/money_get_members_char.cc: Same.
3310         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3311         * testsuite/22_locale/money_put_members_char.cc: Same.
3312         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3313         * testsuite/22_locale/time_get_members_char.cc: Same.
3314         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3315         * testsuite/22_locale/time_put_members_char.cc: Same.
3316         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3317         * testsuite/21_strings/nonmember.cc: Same.
3318         * testsuite/21_strings/compare.cc: Same.
3319         * testsuite/27_io/stringstream.cc: Same.
3320         * testsuite/27_io/stringbuf.cc: Same.
3321         * testsuite/27_io/filebuf.cc: Same.
3322         * testsuite/27_io/ios_manip_basefield.cc: Same.
3323         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3324         * include/bits/cpp_type_traits.h: Same.
3325         * include/bits/generic_shadow.h: Same.
3326         * include/bits/gslice_array.h: Same.
3327         * include/bits/gslice.h: Same.
3328         * include/bits/indirect_array.h: Same.
3329         * include/bits/slice_array.h: Same.
3330         * include/bits/sstream.tcc: Same.
3331         * include/bits/streambuf_iterator.h: Same.
3332         * include/bits/valarray_array.tcc: Same.
3333         * include/bits/valarray_meta.h: Same.
3334         * include/bits/valarray_array.h: Same.
3335         * config/os/mingw32/bits/ctype_noninline.h: Same.
3336         * config/os/mingw32/bits/ctype_base.h: Same.
3337         * config/os/hpux/bits/ctype_noninline.h: Same.
3338         * config/os/hpux/bits/ctype_base.h: Same.
3339         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3340         * config/os/gnu-linux/bits/ctype_base.h: Same.
3341         * config/os/generic/bits/ctype_noninline.h: Same.
3342         * config/os/generic/bits/ctype_base.h: Same.
3344         * libsupc++/tinfo.h: Tweaks.
3346 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3348         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3349         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3350         * testsuite/22_locale/ctype_members_char.cc: Tweak.
3352 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3354         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3355         (num_put::do_put(void*)): Fix.
3356         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3357         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3358         * testsuite/22_locale/num_get_members_char.cc (test02): Add
3359         long double, void, bool types.
3360         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3362 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3363             Alexandre Oliva  <aoliva@redhat.com>
3365         * libmath/Makefile.am (LINK): Add --tag CC.
3366         * libmath/Makefile.in: Regenerate.
3368 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3370         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3371         of character to attribute mapping table.
3373 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
3375         * testsuite/26_numerics/c99_classification_macros_c.cc
3376         Remove dg-error and dg-excess-errors comments.
3378 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
3380         * include/bits/locale_facets.tcc (time_put::put): Correct output
3381         iterator positions.
3382         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3383         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3384         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3385         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3387 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3389         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3391 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
3392             Nathan Myers  <ncm@cantrip.org>
3394         * include/bits/basic_string.h
3395         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3396         temporaries (i.e., call _M_replace_safe) when possible.
3397         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3398         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3399         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3400         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3401         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3402         * include/bits/basic_string.tcc
3403         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3404         replace(__pos, __n1, __s, __n2).
3405         * testsuite/21_strings/replace.cc (test03): New testcases.
3407         * include/bits/basic_string.h (insert(__pos, __s, __n)):
3408         Adjust comparison wrt overflow.
3410 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3412         * include/Makefile.am (std_headers_rename): New variable.
3413         (install-data-local): Use it.
3414         * include/Makefile.in: Regenerate.
3416 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3418         * include/bits/locale_facets.tcc (money_put::do_put(string):
3419         Correct output iterator value.
3420         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3421         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3423 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3425         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
3426         previous commit.
3428 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3430         * include/Makefile.am (std_headers):  Update list with new names.
3431         (stamp-std):  Link to standardized name.
3432         * include/Makefile.in:  Regenerate.
3434         * include/std/algorithm, include/std/bitset, include/std/complex,
3435         include/std/deque, include/std/fstream, include/std/functional,
3436         include/std/iomanip, include/std/ios, include/std/iosfwd,
3437         include/std/iostream, include/std/istream, include/std/iterator,
3438         include/std/limits, include/std/list, include/std/locale,
3439         include/std/map, include/std/memory, include/std/numeric,
3440         include/std/ostream, include/std/queue, include/std/set,
3441         include/std/sstream, include/std/stack, include/std/stdexcept,
3442         include/std/streambuf, include/std/string, include/std/utility,
3443         include/std/valarray, include/std/vector:  Rename to...
3445         * include/std/std_algorithm.h, include/std/std_bitset.h,
3446         include/std/std_complex.h, include/std/std_deque.h,
3447         include/std/std_fstream.h, include/std/std_functional.h,
3448         include/std/std_iomanip.h, include/std/std_ios.h,
3449         include/std/std_iosfwd.h, include/std/std_iostream.h,
3450         include/std/std_istream.h, include/std/std_iterator.h,
3451         include/std/std_limits.h, include/std/std_list.h,
3452         include/std/std_locale.h, include/std/std_map.h,
3453         include/std/std_memory.h, include/std/std_numeric.h,
3454         include/std/std_ostream.h, include/std/std_queue.h,
3455         include/std/std_set.h, include/std/std_sstream.h,
3456         include/std/std_stack.h, include/std/std_stdexcept.h,
3457         include/std/std_streambuf.h, include/std/std_string.h,
3458         include/std/std_utility.h, include/std/std_valarray.h,
3459         include/std/std_vector.h:  ...this.
3461 2002-01-11  Loren Rittle <ljrittle@acm.org>
3463         * include/Makefile.am (extra_target_headers): New list of all
3464         target files built with ad hoc naming rules.
3465         (stamp-*): Handle LN_S failure in manner portable across make
3466         implementations.
3467         (install-data-local): Install header files from human-maintained
3468         file lists and directory components instead of non-robust find.
3469         * include/Makefile.in: Rebuilt.
3471 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
3473         * include/bits/locale_facets.tcc (money_get::do_get(string)):
3474         Check for zero-length negative sign before adding it to output
3475         string.
3476         (money_get::do_get(long double)): Return beg.
3477         * testsuite/22_locale/money_get_members_char.cc (test02): Add
3478         iterator checks.
3479         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3481 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
3483         libstdc++/5331
3484         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3485         for _M_extract_float and _M_extract_int
3486         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3487         (num_get<>::_M_extract_int): Likewise, all callers changed
3488         * testsuite/22_locale/num_get_members_char.cc: Testcase
3490 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
3492         * libsupc++/exception (bad_exception): Add comment.
3493         * libsupc++/new (bad_alloc): Same.
3494         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3496 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
3498         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3499         that the destructors should be removed from the descriptions
3500         in the standard: writing them explicitly allows the vtable
3501         heuristic to work. For additional information see:
3502         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3503         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3504         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3505         * libsupc++/exception (bad_exception::~bad_exception()):
3506         Reintroduce declaration.
3507         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3508         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3509         (bad_typeid::~bad_typeid()): Same.
3510         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3511         Reintroduce definition.
3512         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3513         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3514         (bad_typeid::~bad_typeid()): Same.
3516 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
3518         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3519         * include/Makefile.in: Regenerate.
3521 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
3523         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3524         definition.
3526 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
3528         libstdc++/2913
3529         libstdc++/4879
3530         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3531         return value of _M_file->sync().
3532         (filebuf::showmanyc): Check for is_open.
3533         * include/std/fstream (filebuf::sync): Tweak.
3534         * testsuite/27_io/filebuf.cc: Tweak.
3536 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
3537             Brad Garcia  <garsh@attbi.com>
3539         * testsuite/27_io/filebuf_members.cc: Add test.
3541 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
3542             Craig Rodrigues  <rodrigc@mediaone.net>
3544         libstdc++/5174
3545         * po/Makefile.am (mkinstalldirs): Add.
3546         * po/Makefile.in: Regenerate.
3548 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
3550         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3551         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
3552         compiler output.
3553         * testsuite/23_containers/map_operators.cc: Remove
3554         dg-excess-errors comment.
3555         * testsuite/23_containers/set_operators.cc: Likewise.
3557 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
3559         * include/bits/stl_function.h:  Remove two lines of comments;
3560         adjust copyright years.
3562 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
3564         * include/Makefile.am (std_headers): Remove cXXX from list.
3565         (c_base_srcdir): No bits subdirectory.
3566         (c_base_builddir): Same.
3567         (c_base_headers): Adjust names, add ciso646.
3568         (bits_headers): Remove std_xxx.h headers.
3569         * include/Makefile.in: Regenerate.
3571         * include/ext/iterator: Adjust includes.
3572         * include/ext/ropeimpl.h: Same.
3573         * include/ext/stl_hash_fun.h: Same.
3574         * include/ext/algorithm: Same.
3576         * include/backward/bvector.h: Adjust includes.
3577         * include/backward/vector.h: Same.
3578         * include/backward/strstream: Same.
3579         * include/backward/streambuf.h: Same.
3580         * include/backward/stack.h: Same.
3581         * include/backward/set.h: Same.
3582         * include/backward/queue.h: Same.
3583         * include/backward/multiset.h: Same.
3584         * include/backward/multimap.h: Same.
3585         * include/backward/map.h: Same.
3586         * include/backward/list.h: Same.
3587         * include/backward/iterator.h: Same.
3588         * include/backward/iostream.h: Same.
3589         * include/backward/iomanip.h: Same.
3590         * include/backward/fstream.h: Same.
3591         * include/backward/deque.h: Same.
3592         * include/backward/complex.h: Same.
3594         * include/bits/std_algorithm.h: Move to...
3595         * include/std/algorithm: ...here.
3596         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3597         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3598         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3599         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3600         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3601         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3602         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3603         Same.
3605         * include/c_std/bits/std_cassert.h: Move to...
3606         * include/c_std/cassert: Here.
3607         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3608         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3609         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3610         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3611         std_cwctype.h: Same.
3612         * include/c_std/cmath: Adjust cmath.tcc include.
3613         * include/c_std/cstdlib: Adjust includes.
3614         * include/c_std/cwchar: Same.
3615         * include/c_std/ctime: Same.
3616         * include/c_std/cstring: Same.
3617         * include/c_std/cstdio: Same.
3618         * include/c_std/bits: Remove directory.
3620         * include/c/bits/std_cassert.h: Move to...
3621         * include/c/cassert: Here.
3622         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3623         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3624         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3625         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3626         std_cwctype.h: Same.
3627         * include/c/bits: Remove directory.
3629         * include/std/cwctype: Remove.
3630         * include/std/cwchar: Remove.
3631         * include/std/ctime: Remove.
3632         * include/std/cstring: Remove.
3633         * include/std/cstdlib: Remove.
3634         * include/std/cstdio: Remove.
3635         * include/std/cstddef: Remove.
3636         * include/std/cstdarg: Remove.
3637         * include/std/csignal: Remove.
3638         * include/std/csetjmp: Remove.
3639         * include/std/cmath: Remove.
3640         * include/std/clocale: Remove.
3641         * include/std/climits: Remove.
3642         * include/std/ciso646: Remove.
3643         * include/std/cfloat: Remove.
3644         * include/std/cerrno: Remove.
3645         * include/std/cctype: Remove.
3646         * include/std/cassert: Remove.
3648         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3649         files and subsituting <xxx>.
3650         * include/bits/valarray_array.h: Same.
3651         * include/bits/stl_uninitialized.h: Same.
3652         * include/bits/stl_alloc.h: Same.
3653         * include/bits/stl_algobase.h: Same.
3654         * include/bits/sstream.tcc: Same.
3655         * include/bits/pthread_allocimpl.h: Same.
3656         * include/bits/ostream.tcc: Same.
3657         * include/bits/localefwd.h: Same.
3658         * include/bits/locale_facets.tcc: Same.
3659         * include/bits/locale_facets.h: Same.
3660         * include/bits/istream.tcc: Same.
3661         * include/bits/char_traits.h: Same.
3662         * include/bits/boost_concept_check.h: Same.
3663         * include/bits/basic_file.h: Same.
3664         * include/std/bitset: Same.
3665         * include/std/complex: Same.
3666         * include/std/fstream: Same.
3667         * include/std/functional: Same.
3668         * include/std/ios: Same.
3669         * include/std/iostream: Same.
3670         * include/std/ostream: Same.
3671         * include/std/sstream: Same.
3672         * include/std/streambuf: Same.
3673         * include/std/string: Same.
3674         * include/std/iterator: Same.
3675         * include/std/valarray: Same.
3677         * src/ios.cc: Adjust includes.
3678         * src/valarray-inst.cc: Same.
3679         * src/string-inst.cc: Same.
3680         * src/stl-inst.cc: Same.
3681         * src/stdexcept.cc: Same.
3682         * src/misc-inst.cc: Same.
3683         * src/localename.cc: Same.
3684         * src/locale-inst.cc: Same.
3685         * src/locale.cc: Same.
3686         * src/limits.cc: Same.
3687         * src/concept-inst.cc: Same.
3688         * src/complex_io.cc: Same.
3689         * src/codecvt.cc: Same.
3690         * src/bitset.cc: Same.
3691         * src/cmath.cc: Same.
3693 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
3695         * include/bits/stl_tree.h (rb_tree):  Move to...
3696         * include/ext/rb_tree:  ...here, new file.
3697         * include/Makefile.am (ext_headers):  Add new file.
3698         * include/Makefile.in:  Regenerate.
3699         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3700         return_temporary_buffer, struct temporary_buffer):  Move to...
3701         * include/ext/memory:  ...here.
3702         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
3703         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
3704         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
3706 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
3708         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
3709         * include/ext/numeric:  ...here, new file.
3710         * include/bits/stl_function.h (identity_element, unary_compose,
3711         binary_compose, compose1, compose2, identity, select1st,
3712         select2nd, project1st + helper, project2nd + helper,
3713         constant_void_fun + helper, constant_unary_fun + helper,
3714         costant_binary_fun + helper, constant0, constant1, constant2,
3715         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
3716         * include/ext/functional:  ...here, new file.
3717         * include/Makefile.am (ext_headers):  Add new files.
3718         * include/Makefile.in:  Regenerate.
3719         * testsuite/ext/headers.cc:  Include <ext/numeric> and
3720         <ext/functional>.
3721         * include/backward/algo.h:  Include <ext/numeric>, tweak.
3722         * include/backward/function.h:  Include <ext/functional>, tweak.
3723         * include/ext/ropeimpl.h:  Include <ext/numeric>.
3725 2002-01-03  Jeffrey A Law  <law@redhat.com>
3727         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3728         __strtoull declarations with __extension__.
3730 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
3732         * testsuite/lib/prune.exp: Correct regular expression for
3733         -ffunction-sections
3735 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3737         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3738         Change concept checks, as with lower_bound and PR 2054.
3739         * testsuite/ext/concept_checks.cc:  Expand test to include those.
3741 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3743         * include/bits/boost_concept_check.h:  Import some changes from
3744         upsteam (Boost) version.
3746 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
3748         * include/bits/stl_algobase.h (copy_n + helpers,
3749         lexicographical_compare_3way + helpers):  Move to...
3750         * include/ext/algorithm:  ...here.
3751         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3752         helpers):  Move to...
3753         * include/ext/memory:  ...here, new file.
3754         * include/Makefile.am (ext_headers):  Add new file.
3755         * include/Makefile.in:  Regenerate.
3756         * testsuite/ext/headers.cc:  Include <ext/memory>.
3757         * include/backward/algobase.h:  Include <ext/memory> and
3758         <ext/algorithm>, tweak.
3759         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
3760         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
3762 2002-01-01  Roger Sayle <roger@eyesopen.com>
3764         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3765         equivalent ___builtin__ versions.
3767         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3768         are available in libstdc++ as the necessary stub implementations
3769         are provided by libmath/stubs.c.
3771 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
3773         * configure.in: Add support for NetBSD cross compiles.
3774         * configure: Regenerate.