2002-09-01 Phil Edwards <pme@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob53c552b6da5e8f362bd1028563c92aadf7c9383c
1 2002-09-01  Phil Edwards  <pme@gcc.gnu.org>
3         * testsuite/Makefile.am:  Use LD_RUN_PATH when linking abi_check.
4         Fix spelling in comment.
5         * testsuite/Makefile.in:  Regenerate.
6         * testsuite/abi_check.cc:  Use string literals to build 'cmd' rather
7         than 'quote' and 'bslash'.
9 2002-08-31  Phil Edwards  <pme@gcc.gnu.org>
11         * acinclude.m4:  Minor comment tweaks.
13         * docs/html/makedoc.awk:  New file...
14         * docs/html/Makefile:  ...called from here...
15         * docs/html/documentation.html:  ...to help generate this.
17         * docs/html/21_strings/howto.html:  Prepare for new entry.
18         * include/bits/basic_string.h:  Initial basic_stirng hook for
19         doxygen.  Remove trailing whitespace.
20         * include/bits/char_traits.h:  Point to onlinedocs for new entry.
21         * include/bits/stringfwd.h:  Add doxygen hooks for string and
22         wstring typedefs.
24 2002-08-29  Richard Earnshaw  <rearnshaw@arm.com>
26         * config/cpu/arm/cpu_limits.h: New file.
27         * configure.target: Use config/cpu/arm for XScale and StrongARM
28         configurations.
30 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
32         * include/std/std_limits.h (__glibcpp_char_bits,
33         __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
34         __glibcpp_long_long_bits, __glibcpp_float_bits,
35         __glibcpp_double_bits, __glibcpp_long_double_bits): Remove.  Use
36         compiler predifined macros.
37         (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
38         __WCHAR_UNSIGNED__. 
40 2002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
42         * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
43         __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
44         __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
45         __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
46         __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
47         __glibcpp_f64_infinity_bytes,
48         __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
49         __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
50         __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
51         __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
52         __glibcpp_f80_infinity_bytes,
53         __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
54         __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
55         __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
56         __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
57         __glibcpp_f96_infinity_bytes,
58         __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
59         __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
60         __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
61         __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
62         __glibcpp_f128_infinity_bytes,
63         __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
64         __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
65         __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
66         __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
67         __glibcpp_float_infinity_bytes,
68         __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
69         __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
70         __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
71         __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
72         __glibcpp_double_infinity_bytes,
73         __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
74         __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
75         __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
76         __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
77         __glibcpp_long_double_infinity_bytes,
78         __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
79         __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
80         __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
81         __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
82         New macros.
83         (__glibcpp_word_bits, __glibcpp_word): Likewise.
84         (__glibcpp_byte): New typedef.
85         (__float_storage, __double_storage, __long_double_storage): New types.
86         (__glibcpp_float_infinity, __glibcpp_float_QNaN,
87         __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
88         objects. Declare.
89         (__glibcpp_double_infinity, __glibcpp_double_QNaN,
90         __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
91         (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
92         __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
93         Likewise.
94         
95         * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
96         __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
97         (__glibcpp_double_infinity, __glibcpp_double_QNaN,
98         __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
99         (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
100         __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
101         Likewise.
102         
103 2002-08-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
105         * include/std/std_limits.h: Indent conditional macro definitions.
107 2002-08-23  Phil Edwards  <pme@gcc.gnu.org>
109         * Makefile.am (check-abi):  Specify current directory.
110         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  Fix shell syntax, use
111         abi_baseline_triplet in baseline_file.
112         * Makefile.in, aclocal.m4, configure:  Regenerate.
113         * configure.target:  Add abi_baseline_triplet with default.
114         * testsuite/abi_check.cc:  More error checking.
116 2002-08-23  Phil Edwards  <pme@gcc.gnu.org>
118         * config/linker-map.gnu:  Verbose comments, clean up spacing.
119         * include/bits/stl_alloc.h:  Fix indentation of 'if' bodies, return
120         statements.
121         __allocator:  Change class declaration to struct.
122         * docs/html/17_intro/C++STYLE:  Fix typo.
123         * include/bits/stl_deque.h, include/bits/stl_list.h,
124         include/bits/stl_map.h, include/bits/stl_multimap.h,
125         include/bits/stl_vector.h:  Fix fallout from typo.
127 2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
129         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
130         GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
131         variables.
132         * aclocal.m4: Regenerate.
133         * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
134         native compiling.
135         * testsuite/Makefile.in: Regenerate.
136         
137 2002-08-22  Loren J. Rittle <ljrittle@acm.org>
139         * testsuite/abi_check.cc: Enhance shell portability.
140         Support older binutils/readelf.
141         * config/abi/i386-unknown-freebsd4.6: Add.
142         * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
144 2002-08-22  Paolo Carlini  <pcarlini@unitus.it>
146         * docs/html/faq/index.html: Add Loren James Rittle and
147         Paolo Carlini to the list of v3 maintainers.
148         * docs/html/faq/index.txt: Ditto.
149         * docs/html/17_intro/RELEASE-NOTES: Ditto.
151 2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
152             Phil Edwards  <pme@gcc.gnu.org>
153             Ulrich Drepper  <drepper@redhat.com>
154         
155         * Makefile.am (check-abi): New rule.
156         * Makefile.in: Regenerate.
157         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
158         * aclocal.m4: Regenerate.
159         * configure: Regenerate.
160         * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
161         (abi_check_SOURCES): Add.
162         * testsuite/Makefile.in: Regenerate.    
163         * testsuite/abi_check.cc: New file.
164         * config/abi: Add.
165         * config/abi/i686-pc-linux-gnu: Add.
166         * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
167         
168 2002-08-19  Benjamin Kosnik  <bkoz@redhat.com>
170         * configure.in (libtool_VERSION): Update to 5:1:0.
171         * configure: Regenerate.
172         
173 2002-08-19  Jonathan Wakely  <jw@kayari.org>
175         * docs/html/configopts.html, docs/html/documentation.html,
176         docs/html/install.html, docs/html/22_locale/codecvt.html,
177         docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
178         docs/html/22_locale/locale.html,
179         docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
181 2002-08-15  Benjamin Kosnik  <bkoz@redhat.com>
183         * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
184         _M_buf_size_opt to zero when unbuffering.
185         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
186         Consistency checks for _M_buf_size_opt.
188         Revert PR libstdc++/7445
189         * src/locale.cc (locale::classic): Revert.
190         
191         * docs/html/17_intro/TODO: Add.
192         
193 2002-08-15  Phil Edwards  <pme@gcc.gnu.org>
195         * docs/html/documentation.html:  Update doxygen links for 3.2.
197 2002-08-15  Steve Ellcey  <sje@cup.hp.com>
199         * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
200         type from void* to _Unwind_Ptr.
201         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
202         Do not cast landing_pad or base_of_encoded_value to (void *).
203         * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
204         Accept _URC_NO_REASON as a valid reason code.
206 2002-08-14  Jonathan Wakely  <jw@kayari.org>
208         * docs/html/22_locale/messages.html:  Use HTML entities for
209         punctuation.
211 2002-08-13  Jonathan Wakely  <jw@kayari.org>
212             Phil Edwards  <pme@gcc.gnu.org>
214         * docs/html/documentation.html:  Use HTML entities for punctuation.
216 2002-08-09  Phil Edwards  <pme@gcc.gnu.org>
218         * include/bits/deque.tcc, include/bits/list.tcc,
219         include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
220         include/bits/stl_list.h, include/bits/stl_map.h,
221         include/bits/stl_multimap.h, include/bits/stl_queue.h,
222         include/bits/stl_stack.h, include/bits/stl_vector.h,
223         include/bits/vector.tcc:  Re-indent contents of namespace std,
224         re-wrap comment lines as necessary.
226 2002-08-08  Danny Smith  <dannysmith@users.sourceforge.net>
227             Benjamin Kosnik  <bkoz@redhat.com>
228         
229         * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
230         not snextc.
231         * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
232         
233 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
235         * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
236         * libsupc++/Makefile.in: Regenerate.
238 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
240         PR/7491
241         * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
242         Instantiate with new function objects. 
243         * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
244         Reformat.  Uglify.
245         * include/bits/gslice_array.h: Likewise.
246         * include/bits/indirect_array.h: Likewise.
248 2002-08-03  Gabriel Dos Reis  <gdr@nerim.net>
250         * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
251         testsuite/26_numerics/valarray_name_lookup.C
253         * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
254         object function surrogates.
255         * include/bits/valarray_meta.h (__shift_left): Fix typo.
256         (_BinFunClos<>): Remove.
257         (_BinFunBase<>): Likewise.
258         (_BinFunBase1<>):Likewise.
259         (_BinFunBase2<>): Likewise.
260         (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
261         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
262         (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
263         (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
264         * include/std/std_valarray.h: Dont #include <functional> anymore.
265         (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
266         _Shift_right<>): Remove.
267         (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
268         (_DEFINE_BINARY_OPERATOR): Tweak definition.
269         (_DEFINE_LOGICAL_OPERATOR): Remove.
270         * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
272 2002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
274         * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
275         (_UnFunClos<>): Same.
276         (_UnBase<>): Reformat.  Make first template-parameter non
277         template. 
278         (_UnClos<>): Likewise.
279         (_Expr<>): Reformate.  Adjust unary member operator return types. 
280         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
281         (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
282         * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
283         (valarray<>::_UnaryOp<>):  New nested traits. Adjust unary member
284         operator return types.  Reformat.
285         (_Bitwise_not): Remove.
286         (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
287         * testsuite/26_numerics/valarray_name_lookup.C: New test.
289 2002-08-02  Danny Smith  <dannysmith@users.sourceforge.net>
291         * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
292         (scan_is): Use this->is.
293         (scan_not): Likewise.
295 2002-08-02  Benjamin Kosnik  <bkoz@redhat.com>
297         Revert PR libstdc++/6594
298         * src/strstream.cc (strstreambuf): Revert.
299         (strstreambuf::overflow): Same.
300         (strstreambuf::~strstreambuf): Same.    
301         * testsuite/backward/strstream_members.cc (test02): Add.
302         
303         * docs/html/abi.txt: Update. Spell check.
305         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
307         * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
308         * testsuite/Makefile.in: Regenerate.
309         * testsuite/testsuite_hooks.h: Use __throw_exception_again,
310         include functexcept.h so that -fno-exceptions will build.
311         
312 2002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
314         * include/bits/valarray_meta.h (__unary_plus, __negate,
315         __bitwise_not, __plus, __minus, __multiplies, __divides,
316         __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
317         __shift_left, __shift_right, __logical_and, __logical_or,
318         __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
319         __greater_equal, __greater, __atan2, __pow): New function object
320         classes. 
321         (__fun<>):  New function traits class.
323 2002-08-01  Rick Danos  <rdanos@hotmail.com>
325         PR libstdc++/7461
326         * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
327         * config/os/newlib/ctype_inline.h (is): Use static_cast.
329 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
331         * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
332         * libsupc++/Makefile.in: Regenerate.
333         
334 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
335             Jakub Jelinek  <jakub@redhat.com>
336         
337         * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
338         GLIBCPP_3.1 to GLIBCPP_3.2.
340 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
341             Mark Mitchell  <mark@codesourcery.com>
343         PR libstdc++/7442
344         * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
345         Change to __hwm_bit.
346         (__class_type_info): And here.
348 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
350         PR libstdc++/7442
351         * libsupc++/cxxabi.h 
352         (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
353         (__base_class_info::__base): Change to __base_type. 2.9.5p6c
354         (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
355         (__vmi_class_type_info::__base_info): Don't make const, of type
356         __base_class_type_info, as per 2.9.5p6c
357         (__pbase_type_info::__qualifier_flags): Change to __flags, as per
358         2.9.5p7.
359         (__pbase_type_info::__qualifier_masks): Change to __masks, as per
360         2.9.5p7.
361         (__pointer_to_member_type_info::__context_class): Change member to
362         __context, as per 2.9.5p9.
363         * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
364         __context.
365         * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
366         __flags.
367         * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
368         __base_type.
369         * libsupc++/tinfo.cc (__do_dyncast): Same.
370         * libsupc++/tinfo.cc (__do_upcast): Same.
372 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
374         * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
376 2002-07-31  Simon Whomsley  <whomsley@avacadcam.com>
378         * docs/html/22_locale/howto.html: Fix.
380 2002-07-31  Alex Kompel  <shurik@sequoiap.com>
382         PR libstdc++/7445
383         * src/locale.cc (locale::classic): Move locks inside !_S_classic
384         block.
386 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
388         * docs/html/abi.txt: Update.
390 2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
391             Gabriel Dos Reis  <gdr@nerim.net>
393         * include/bits/char_traits.h: Remove generic definitions.
394         * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
395         eof, not -2.
396         * include/bits/istream.tcc (istream::readsome): Don't check
397         against eof, instead use constants.
398         (istream::sync): Same.
399         (istream::sentry::sentry): Use eq_int_type.
400         (istream::get): Same.
401         * include/bits/ostream.tcc: Change __pad to 
402         __pad<_CharT, _Traits>::_S_pad. 
403         * include/bits/locale_facets.h: Add __pad_traits generic and
404         ostreambuf_iterator specialization.
405         * include/bits/locale_facets.tcc: Change __pad into struct __pad
406         with a _CharT and _Traits template parameter and _S_pad static
407         member function.
408         * src/locale-inst.cc: Update __pad instantiations.
409         
410         * include/std/std_fstream.h: Declare _M_underflow_common
411         specializations.
412         * src/fstream.cc: New. Add _M_underflow_common specializations.
413         * include/bits/fstream.tcc (filebuf::close): Use traits_type.
414         (filebuf::_M_underflow_common(bool)): Remove generic version, as
415         sys_ungetc and custom int_types don't get along.
416         * include/std/std_streambuf.h: Add _M_pos.
417         * src/Makefile.am (sources): Add fstream.cc.
418         * src/Makefile.in: Regenerate.
420         * testsuite/21_strings/capacity.cc: Add char_traits specializations.
421         * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
422         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
423         * testsuite/22_locale/ctor_copy_dtor.cc: Same.
424         * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
425         * testsuite/27_io/filebuf.cc: ...here.
426         * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
427         specialization for both.
428         * testsuite/27_io/streambuf.cc: Add instantiation test,
429         testsuite_hooks include.
430         * testsuite/27_io/istream.cc: Same.
431         * testsuite/27_io/ostream.cc: Same.     
432         * testsuite/27_io/fstream.cc: Same.
433         * testsuite/27_io/stringstream.cc: Same.
434         * testsuite/27_io/filebuf.cc: Same.
435         * testsuite/27_io/stringbuf.cc: Same.
436         
437 2002-07-29  Alan Modra  <amodra@bigpond.net.au>
439         * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
440         * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
441         * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
442         (__test_and_set): Remove.
443         (_STWCX): Define and use.
445 2002-07-26  Phil Edwards  <pme@gcc.gnu.org>
447         * libsupc++/new (placement delete):  Remove unused parameter names.
449 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
451         PR libstdc++/7216
452         * include/std/std_istream.h (basic_iostream): Add typedefs for
453         char_type, int_type, pos_type, off_type, and traits_type.
454         * testsuite/27_io/iostream.cc (test01): Add typedef tests.
455         * testsuite/27_io/istream.cc: Same.
456         * testsuite/27_io/ostream.cc: Same.
457         * testsuite/27_io/filebuf.cc: Same.
458         * testsuite/27_io/stringbuf.cc: Replace content, move to...
459         * testsuite/27_io/stringbuf_members.cc: ...here.        
460         * testsuite/27_io/streambuf.cc: Replace content, move to...
461         * testsuite/27_io/streambuf_members.cc: ...here.        
462         * testsuite/27_io/stringstream.cc: Replace content, move to...
463         * testsuite/27_io/stringstream_members.cc: ...here.
464         * testsuite/27_io/ios.cc: New file.
465         * testsuite/27_io/fstream.cc: New file.
466         * testsuite/27_io/ifstream.cc: New file.        
467         * testsuite/27_io/ofstream.cc: New file.                
468         * testsuite/27_io/istringstream.cc: New file.   
469         * testsuite/27_io/ostringstream.cc: New file.   
470         
471 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
473         PR libstdc++/7220
474         * include/bits/istream.tcc (istream::ignore): Don't extract on
475         zero.
476         * testsuite/27_io/istream_unformatted.cc (test10): Add.
477         
478 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
480         * testsuite/27_io/ios_base_type.cc: Move to...
481         * testsuite/27_io/ios_base_types.cc: ...here.
482         
483 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
485         PR libstdc++/7222
486         * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
487         * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
488         
489 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
491         PR libstdc++/7230
492         * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
493         * include/Makefile.am (backward_headers): Use strstream, not
494         strstream.h.
495         * include/Makefile.in: Regenerate.
496         * include/backward/strstream: Revert.
497         * include/backward/strstream.h: Remove.
498         * src/strstream.cc: Revert.
499         * testsuite/backward/strstream_members.cc: Change include.      
501 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
503         PR libstdc++/7219
504         * include/bits/ios_base.h (ios_base::streampos): Add.
505         (ios_base::streamoff): Add.
506         * testsuite/27_io/ios_base_type.cc: New.
507         
508 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
510         PR libstdc++/7286
511         * libsupc++/new: Add placement delete.
512         * testsuite/18_support/new_delete_placement.cc: New.
514         * docs/html/abi.txt: Fix typos.
515         
516 2002-07-23  Benjamin Kosnik  <bkoz@redhat.com>
518         * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
519         confusing usage of "latest."
520         De-tangle contributor information from introductory notes.
521         Move abi.txt link placement, activate.
522         Re-organize.
523         Move chapter info into old FAQ format. 
524         * docs/html/organization.html: Removed, obsoleted by doxygen work.
525         * docs/html/abi.txt: Add notes on testing ABI changes.
526         
527 2002-07-20  Phil Edwards  <pme@gcc.gnu.org>
529         * docs/html/abi.txt:  New file.
530         * docs/html/23_containers/howto.html:  Tweak vector-overhead text.
531         * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
532         Import from upstream, R22.
534         * include/bits/char_traits.h, include/bits/stl_iterator.h,
535         include/bits/stl_iterator_base_types.h, libsupc++/exception,
536         libsupc++/new, libsupc++/typeinfo:  Use @brief markup.
538         * include/bits/deque.tcc, include/bits/stl_alloc.h,
539         include/bits/stl_deque.h, include/bits/stl_list.h:  Postpone removal
540         of deprecated functions until 3.4.  (Same timeframe, different text.)
541         * include/bits/stl_vector.h:  Ditto.  Also do the same cleanups that
542         the other sequence classes received.
544 2002-07-18  Brendan Kehoe  <brendan@zen.org>
546         * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
547         _Nname to _Name.
548         
549 2002-07-19  Gabriel Dos Reis  <gdr@nerim.net>
551         DR/123
552         * include/bits/slice_array.h 
553         (slice_array<T>::operator=(const T&)): Constify.
554         * include/bits/gslice_array.h 
555         (gslice_array<T>::operator=(const T&)):  Likewise.
556         * include/bits/mask_array.h 
557         (mask_array<T>::operator=(const T&)): Likewise.
558         * include/bits/indirect_array.h
559         (indirect_array<T>::operator=(const T&): Likewise.
561 2002-07-17  Phil Edwards  <pme@gcc.gnu.org>
563         * docs/doxygen/run_doxygen:  Remove template parameter names from
564         "Compound List" summary page.  Reformat.
565         * docs/html/documentation.html:  XHTML fixes.
567 2002-07-16  Andreas Schwab  <schwab@suse.de>
569         * libsupc++/new (set_new_handler): Declare to not throw any
570         exceptions.
571         * libsupc++/new_handler.cc (set_new_handler): Likewise.
573 2002-07-16  Gabriel Dos Reis  <gdr@nerim.net>
575         * include/Makefile.am (bits_headers): Remove slice.h
576         * include/Makefile.in: Regenerate.
577         * include/bits/slice.h (slice): move to include/bits/slice_array.h
578         * include/bits/slice.h Remove.
579         * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
580         * include/bits/slice_array.h: Comply to official coding styles.
581         * testsuite/26_numerics/slice.cc: New test.
583 2002-07-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
585         * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
586         print to match vendor <ctype.h>.
588 2002-07-15  Phil Edwards  <pme@gcc.gnu.org>
590         * docs/html/faq/index.html:  Fix download links.
591         * docs/html/faq/index.txt:  Regenerate.
592         * docs/html/17_intro/porting.html:  Regenerate from earlier changes.
594 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
596         * configure.target (target_os switch): Allow for irix6*o32
597         configurations.
599 2002-07-10  Gabriel Dos Reis  <gdr@nerim.net>
601         * include/bits/valarray_meta.h (_UnFunBase): Take a second
602         template parameter. Remove _M_func data member.
603         (_UnFunClos): Take a third template parameter.
604         (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
605         __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
606         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
608 2002-07-08  Eric Christopher  <echristo@redhat.com>
610         * configure.target: Fix comment for mips atomicity. Add
611         mips*-*-linux* target, enable atomic operations there.
612         * config/cpu/mips/atomicity.h: Fix comments, remove
613         #ifndef/#endif. Add push/pop mips2.
615 2002-07-08  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
617         * include/bits/stl_deque.h (_Deque_alloc_base):  Change order of
618         member declarations to avoid compiler warnings and restore 3.1 ABI.
620 2002-07-08  Phil Edwards  <pme@gcc.gnu.org>
622         * docs/html/23_containers/howto.html:  Link to dk_std::vector paper
623         and homepage.
625 2002-07-07  Paolo Carlini  <pcarlini@unitus.it>
627         PR libstdc++/7186
628         * include/bits/stl_deque.h (_Deque_iterator::operator-):
629         Make non-member, as already happens for the comparison
630         operators in accord with DR179 (Ready).
631         * testsuite/23_containers/deque_operators.cc: Add test02.
633 2002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
634             Jack Reeves  <jackw_reeves@hotmail.com>
636         * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
637         size_t, from int_type.
638         (basic_streambuf::_M_buf_size_opt): Same.
639         (basic_streambuf::_S_pback_sizex): Same.
640         * include/bits/streambuf.tcc: Same.
641         * include/std/std_streambuf.h (basic_streambuf::snextc): Use
642         eq_int_type.
643         (basic_streambuf::uflow): Same.
644         * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
645         to_char_type.
646         * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
647         * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
648         eq_int_type.
649         (basic_streambuf::xsputn): Same.
650         (__copy_streambufs): Same.
652 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
654         * include/std/std_memory.h: Fix formatting.
655         * testsuite/20_util/auto_ptr_neg.cc: New.
656         * testsuite/20_util/auto_ptr.cc: Tweaks.
657         * testsuite/23_containers/map_operators.cc (test01): Split into..
658         * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
659         * testsuite/23_containers/set_operators.cc: Move to...
660         * testsuite/23_containers/set_operators_neg.cc: ...here.
661         * testsuite/README: Add some more naming rules.
663 2002-07-03  Steev Wilcox  <steev@paradigmds.com>
665         PR libstdc++/7057
666         * include/ext/stl_hashtable.h: Fix.
667         * testsuite/ext/hash_map.cc: New.
669 2002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
670             Kenny Simpson  <theonetruekenny@yahoo.com>
671             Phil Edwards  <pme@gcc.gnu.org>
673         PR libstdc++/3946
674         * testsuite/20_util/auto_ptr.cc (test08):  New test.
675         * include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
676         (auto_ptr::operator auto_ptr_ref):  Fix typo.
677         General reformatting and doxygenating of the whole file.
679 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
681         PR libstdc++/7097
682         * include/c/std_cwchar.h: Fix.
684 2002-07-02  Benjamin Kosnik  <bkoz@redhat.com>
686         PR libstdc++/6410
687         * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
688         char* name parameter.
689         * config/locale/gnu/monetary_members.cc: Use it.
690         * config/locale/generic/monetary_members.cc: Same.
691         * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
693         * include/backward/strstream.h: Update date.
695 2002-07-02  Paolo Carlini  <pcarlini@unitus.it>
697         PR libstdc++/6642
698         * include/bits/stl_iterator.h
699         (__normal_iterator::operator-(const __normal_iterator&)):
700         Make non-member, as already happens for the comparison
701         operators in accord with DR179 (Ready).
702         * testsuite/24_iterators/iterator.cc: Add test from the PR.
704 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
706         PR libstdc++/7173
707         * acinclude.m4:  Simplify determination of gcc_version, and move
708         up to GLIBCPP_CONFIGURE.
709         * configure.in (release_VERSION):  Really remove.
710         (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
711         * aclocal.m4, configure:  Regenerate.
713 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
715         * docs/html/configopts.html, docs/html/install.html:  Tweaks.
716         * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
717         include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
718         include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.
720 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
722         * include/backward/strstream: Remove namespace std. Transfer to...
723         * include/backward/strstream.h: ...here. Qualify std names.
724         * src/strstream.cc: Remove namespace std.
725         * include/Makefile.am (backward_headers): Remove strstream.h.
726         * include/Makefile.in: Regenerate.
727         * config/linker-map.gnu: Export strstream bits.
729         * src/fstream-inst.cc: Tweak.
730         * src/io-inst.cc: Same.
731         * src/istream-inst.cc: Same.
732         * src/misc-inst.cc: Same.
733         * src/ostream-inst.cc: Same.
734         * src/sstream-inst.cc: Same.
735         * src/valarray-inst.cc: Same.
736         * src/misc-inst.cc: Remove unused instantiations.
738 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
740         * configure.in (libtool_VERSION): Bump to 5:0:0.
741         * configure: Regenerate.
743 2002-06-28  Phil Edwards  <pme@gcc.gnu.org>
745         PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
746         * include/std/std_queue.h:  Include deque.tcc, vector.tcc.
747         * include/std/std_stack.h:  Include deque.tcc.
748         * testsuite/23_containers/adaptors.cc:  New file.
750 2002-06-27  Phil Edwards  <pme@gcc.gnu.org>
752         * include/bits/stl_alloc.h:  Deprecate all 'reallocate' memfns.
753         * docs/html/ext/howto.html:  Update allocator notes.
755 2002-06-26  Benjamin Kosnik  <bkoz@redhat.com>
757         * configure.in (INTERFACE): Remove.
758         (release_VERSION): Remove.
759         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
760         (libstdcxx_interface): Change. Use gcc methods to determine version.
761         * configure: Regenerate.
762         * aclocal.m4: Regenerate.
764 2002-06-25  DJ Delorie  <dj@redhat.com>
766         * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
767         GLIBCPP_TOPREL_CONFIGURE.
768         * aclocal.m4: Likewise.
769         * configure.in: Call it before AC_CANONICAL_SYSTEM.
770         * configure: Regenerate.
772 2002-06-25  Jessica Han  <jessica@cup.hp.com>
774         * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
775         * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
776         _GLIBCPP_VTABLE_PADDING is defined.
778 2002-06-25  Benjamin Kosnik  <bkoz@redhat.com>
780         * include/bits/stl_alloc.h: Additional formatting.
782 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
784         * include/bits/stl_alloc.h:  Reformat as per C++STYLE.
786 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
788         * config/cpu/*/bits/*:  Move header files up a level.  Remove bits.
789         * config/os/*/bits/*:  Likewise.
790         * configure.in:  Update.
791         * configure:  Regenerate.
792         * configure.target:  Update.
793         * docs/html/17_intro/porting.texi:  Update.
795 2002-06-21  Phil Edwards  <pme@gcc.gnu.org>
797         * include/bits/stl_map.h, include/bits/stl_multimap.h,
798         include/bits/stl_queue.h, include/bits/stl_stack.h:  Reformat and
799         complete doxygenation.
800         * include/bits/boost_concept_check.h:  Minor comment.
802 2002-06-21  Benjamin Kosnik  <bkoz@redhat.com>
804         * include/c_compatibility: New.
805         * include/c_compatibility/assert.h: New.
806         * include/c_compatibility/ctype.h: New.
807         * include/c_compatibility/errno.h: New.
808         * include/c_compatibility/float.h: New.
809         * include/c_compatibility/iso646.h: New.
810         * include/c_compatibility/limits.h: New.
811         * include/c_compatibility/locale.h: New.
812         * include/c_compatibility/math.h: New.
813         * include/c_compatibility/setjmp.h: New.
814         * include/c_compatibility/signal.h: New.
815         * include/c_compatibility/stdarg.h: New.
816         * include/c_compatibility/stddef.h: New.
817         * include/c_compatibility/stdio.h: New.
818         * include/c_compatibility/stdlib.h: New.
819         * include/c_compatibility/string.h: New.
820         * include/c_compatibility/time.h: New.
821         * include/c_compatibility/wchar.h: New.
822         * include/c_compatibility/wctype.h: New.
824         * include/c/std_cerrno.h: Get out of the way... define errno.
825         * include/c/std_cmath.h: Add abs, modf overloads.
826         Undefine C99 isms. Still not sure how to deal with this sanely.
827         * include/c/std_csetjmp.h: Tweak.
828         * include/c/std_cwchar.h: Include cstddef for size_t.
830         * include/c_std/std_cmath.h: Remove extra function.
832         Pendantic std usage in testsuites.
833         * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
834         with std.
835         * testsuite/17_intro/header_cwchar.cc: Tweak.
836         * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
837         std::setlocale.
838         * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
839         * testsuite/22_locale/ctype_to_char.cc (test05): Same.
840         * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
841         * testsuite/22_locale/ctype_is_char.cc (test05): Same.
842         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
843         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
844         * testsuite/22_locale/time_get_members_char.cc (test08): Same.
845         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
846         * testsuite/22_locale/time_put_members_char.cc (test04): Same.
847         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
848         * testsuite/22_locale/num_put_members_char.cc (test04): Same.
849         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
850         * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
851         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
852         * testsuite/22_locale/num_get_members_char.cc: Same.
853         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
854         * testsuite/22_locale/money_put_members_char.cc (test07): Same.
855         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
856         * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
857         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
858         * testsuite/22_locale/money_get_members_char.cc (test08): Same.
859         * testsuite/22_locale/messages_members_char.cc (test03): Same.
860         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
861         * testsuite/22_locale/collate_members_char.cc (test04): Same.
862         * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
863         * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
864         * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
866 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
868         * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
869         c_sources.
871 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
873         * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
874         Use size_type instead of unsigned long.
876 2002-06-20  Steve Ellcey  <sje@cup.hp.com>
878         * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
879         wchar types.
880         (_S_min_len): Ditto.
882 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
884         * include/Makefile.am: Add rules.
885         * include/Makefile.in: Regenerate.
887         * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
888         * aclocal.m4: Regenerate.
889         * configure: Regenerate.
890         * configure.target (c_model, c_compatibility): Add.
892         * libsupc++/Makefile.am (c_sources): New.
893         (libsupc___la_SOURCES): Add c_sources.
894         (LTCOMPILE): Remove INCLUDES.
895         (GCC_INCLUDES): New.
896         (C_COMPILE): New, like COMPILE but without INCLUDES.
897         (cxa_demangle.o): Use C_COMPILE.
898         (dyn-string.o): Use C_COMPILE.
900         * include/c/std_cstdarg.h: Define __need___va_list.
901         * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
902         need_NULL, need_offsetof.
904 2002-06-19  Steve Ellcey  <sje@cup.hp.com>
906         * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*):  Remove
907         definitions in hpux11 cross-build because these functions do
908         not exist on hpux11 (but some exist on hpux10); move defaults out
909         into existing sections.
910         * configure:  Regenerate.
912 2002-06-18  Benjamin Kosnik  <bkoz@redhat.com>
914         * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
915         * include/c/std_cwctype.h: Guard.
917         * libsupc++/eh_alloc.cc: Tweak include order.
918         * libsupc++/pure.cc: Use cstdio.
919         * libsupc++/new_op.cc: Remove malloc forward declaration, as
920         cstdlib brings it in. Use std::malloc.
922         * src/Makefile.am (sources): Remove cmath.cc.
923         * src/Makefile.in: Regenerate.
924         * src/cmath.cc: Remove.
926 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
928         * configure.target:  Force mips to use the generic cpu routines.
930 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
932         * configure.host:  Delete file.
933         * configure.target:  More documentation.  Factor out common parts of
934         script into "intelligent" settings about defaults.  Remove redundancy.
936         * acinclude.m4:  Update comments.  Do not call configure.host.
937         (GLIBCPP_ENABLE_SYMVERS):  If disabled, do not bother checking for
938         libgcc_s.
939         * configure.in:  Slight reformatting, more comments.  Factor out
940         "config/" from all the directories.
941         * docs/html/17_intro/porting.texi:  Update and expand.
942         * testsuite/Makefile.am (AM_RUNTESTFLAGS):  Move empty setting
943         from configure.host.
945         * aclocal.m4, configure, docs/html/17_intro/porting.html,
946         testsuite/Makefile.in:  Regenerate.
948 2002-06-16  Phil Edwards  <pme@gcc.gnu.org>
950         * docs/doxygen/TODO:  Update.
951         * docs/doxygen/tables.html:  Uncomment magical middle column.
952         * docs/doxygen/user.cfg.in:  Kludge to ignore function-like macros.
953         * include/bits/stl_queue.h:  Doxygenate and reformat.
954         * include/bits/ios_base.h, include/std/std_streambuf.h:  Add comment
955         for deprecated names required by the standard.
957 2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>
959         * configure.in (target_alias): Fix.
960         * configure: Regenerate.
961         * aclocal.m4: Regenerate.
963 2002-06-12  Phil Edwards  <pme@gcc.gnu.org>
965         * include/Makefile.am:  Add new files.
966         * include/Makefile.in:  Regenerate.
968         * include/bits/stl_deque.h, include/bits/stl_list.h,
969         include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
970         * include/bits/deque.tcc, include/bits/list.tcc,
971         include/bits/vector.tcc:  ...to here.  New files.
973         * include/ext/stl_hashtable.h:  Inclide correct full headers.
974         * include/std/std_deque.h:  Include .tcc files for now.
975         * include/std/std_list.h:  Likewise.
976         * include/std/std_vector.h:  Likewise.
978 2002-06-12  Daniel Jacobowitz  <drow@mvista.com>
980         * Makefile.am: Add FLAGS_TO_PASS.
981         * Makefile.in: Regenerated.
983 2002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
984             Benjamin Kosnik  <bkoz@redhat.com>
986         * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
987         under *-qnx6.[12]*.
988         * configure.in: Add support for *-qnx6.[12]*.
989         * configure: Regenerate.
991         * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
992         New directories.
993         * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
994         ctype_noninline.h, os_defines.h: New files.
996 2002-06-10  Loren J. Rittle <ljrittle@acm.org>
998         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
999         include all required headers for test against older POSIX standard.
1000         (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1001         (ac_setrlimit): Likewise.
1002         * aclocal.m4: Regenerate.
1003         * configure: Regenerate.
1004         * testsuite/testsuite_hooks.cc: Reorder and include all
1005         required headers for use against older POSIX standard.
1007 2002-06-08  Paolo Carlini  <pcarlini@unitus.it>
1009         * testsuite/backwards/strstream_members.cc: New.
1011 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
1013         * include/backwards/strstream: Format.
1014         * src/strstream.cc: Format.
1016 2002-06-08  Andreas Schwab  <schwab@suse.de>
1018         * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1019         _M_buf_size and _M_buf_size_opt to the new buffer and size.
1021 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
1023         * config/os/generic/bits/ctype_noninline.h: Tweak format.
1025 2002-06-07  Steve Ellcey  <sje@cup.hp.com>
1027         * src/locale-inst.cc (__codecvt_abstract_base):
1028         Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1029         * include/bits/istream.tcc (basic_istream): Ditto.
1030         (ws) Ditto.
1031         (operator>>) Ditto.
1032         * include/bits/ostream.tcc (basic_ostream): Ditto.
1033         (endl): Ditto.
1034         (ends): Ditto.
1035         (flush): Ditto.
1036         (operator<<): Ditto.
1038 2002-06-07  Phil Edwards  <pme@gcc.gnu.org>
1040         * mkcheck.in:  Link against local testsuite library.
1041         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):  Move null
1042         implementation out...
1043         * testsuite/testsuite_hooks.cc:  ...to here.
1045 2002-06-06  Loren J. Rittle <ljrittle@acm.org>
1047         * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1048         * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1049         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1050         * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1051         * testsuite/Makefile.in: Likewise.
1053 2002-06-05  David Edelsohn  <edelsohn@gnu.org>
1055         * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1056         Call external symbol.
1058 2002-06-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1060         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1061         Search correct multilib testsuite dir for libv3test.
1063 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
1064             Gaby Dos Reis  <gdr@codesourcery.com>
1066         * include/bits/basic_string.tcc
1067         (basic_string::_S_construct(forward_iterator_tag):
1068         Fix typo in null pointer check.
1069         * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1071 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
1073         * testsuite/22_locale/money_get_members_char.cc
1074         (test02): Add decimal point to long double constants.
1075         * testsuite/22_locale/money_get_members_wchar_t.cc
1076         (test02): Likewise.
1077         * testsuite/22_locale/money_put_members_char.cc
1078         (test02, test03, test06): Likewise.
1079         * testsuite/22_locale/money_put_members_wchar_t.cc:
1080         (test02, test03, test06): Likewise.
1081         * testsuite/22_locale/num_get_members_char.cc:
1082         (test02, test01): Likewise; suffix long long constants with LL.
1083         * testsuite/22_locale/num_get_members_wchar_t.cc:
1084         (test02, test01): Likewise.
1085         * testsuite/22_locale/num_put_members_char.cc:
1086         (test02, test01): Likewise.
1087         * testsuite/22_locale/num_put_members_wchar_t.cc:
1088         (test02, test01): Likewise.
1090 2002-06-03  Marc Espie  <espie@openbsd.org>
1092         * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1093         assembly for old assemblers.
1095 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
1097         * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1098         Move/rename...
1099         (vector<bool>::swap(reference,reference)): ...to this.
1101 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
1103         * docs/doxygen/TODO:  Update.
1104         * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
1105         some class members are in 14882 order.
1106         * docs/html/ext/howto.html:  3.1 is in the past now, not the future.
1108         * include/std/std_bitset.h:  Update comment.
1109         * src/bitset.cc:  Update comments, clean up spacing.
1111         * src/Makefile.am (sources):  Alphabetize for convenience.
1112         * src/Makefile.in:  Regenerate.
1114 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
1116         * include/bits/stl_deque.h, include/bits/stl_list.h,
1117         include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
1118         Reorder to match 14882.  Doxygen blocks for all public members.
1120 2002-05-31  Marcus Meissner  <meissner@suse.de>
1122         PR libstdc++/6886
1123         * include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
1124         * testsuite/23_containers/vector_bool.cc (test02):  New test.
1126 2002-05-30  Marc Espie  <espie@openbsd.org>
1128         * configure.in: Always check for sys/types.h
1129         * configure: Regenerate.
1131 2002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1133         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1134         Rebuild the wrapper file every time this proc is called.
1136 2002-05-28  Phil Edwards  <pme@gcc.gnu.org>
1138         * testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
1139         CXX/INCLUDES.
1140         * testsuite/Makefile.in:  Regenerate.
1141         * testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
1142         list_modifiers.cc and rename from 'T'.  Move code bodies...
1143         * testsuite/testsuite_hooks.cc:  ...to here.  New file.
1144         * testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
1145         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1146         Add libv3test.a to link options.
1148 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1150         * src/misc-inst.cc: Define unnecessary algorithm
1151         instantiations. Break apart instantiations into groupings below.
1152         * src/fstream-inst.cc: New.
1153         * src/io-inst.cc: New.
1154         * src/istream-inst.cc: New.
1155         * src/ostream-inst.cc: New.
1156         * src/streambuf-inst.cc: New.
1157         * src/sstream-inst.cc: New.
1158         * src/Makefile.am (sources): Add files.
1159         * src/Makefile.in: Regenerate.
1161         * acinclude.m4: Work around automake 1.4-p5 bug, change
1162         AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1164 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1166         PR libstdc++/6795.
1167         * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1168         (classic_table): Fix.
1169         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1171 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1173         * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1174         _GLIBCPP_USE_WCHAR_T.
1175         * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1176         * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1177         * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1179 2002-05-26  Carlo Wood  <carlo@alinoe.com>
1180             Paolo Carlini  <pcarlini@unitus.it>
1182         PR libstdc++/6811
1183         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1184         (__enc_traits::operator=): add missing return statement.
1186 2002-05-24  Phil Edwards  <pme@gcc.gnu.org>
1188         PR libstdc++/6282
1189         * include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
1190         (operator>>):  If nothing was extracted, don't fail in the
1191         zero-length case.
1192         * testsuite/23_containers/bitset_ctor.cc (test02):  New test.
1194 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1196         PR libstdc++/6701
1197         * testsuite/22_locale/ctype_narrow_char.cc: New.
1198         * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1199         * testsuite/22_locale/ctype_widen_char.cc: New.
1200         * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1201         * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1202         * testsuite/22_locale/ctype_is_char.cc: ...this.
1203         * testsuite/22_locale/ctype_to_char.cc: ...and this.
1204         * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1205         * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1206         * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1208         * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1210 2002-05-24  Dale Peakall <dale@peakall.net>
1212         PR libstdc++/6701
1213         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1214         * config/locale/generic/ctype_members.cc: Same.
1216 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1218         PR libstdc++/6750
1219         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1220         for empty string literal.
1221         (ostream::operator<<(const _CharT*)): Same.
1222         (ostream<char>::operator<<(const char*)): Same.
1223         (ostream<char>::operator<<(streambuf*)): Same.
1224         * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1225         * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1227 2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
1229         * configure.in (release_VERSION): Update to 3.1.1.
1230         (libtool_VERSION): Update to 4:1:0.
1231         * configure: Regenerate.
1233 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1235         * include/bits/stl_pair.h:  Tweak comment markup.
1237 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1239         * include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
1241 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1243         * docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.
1245 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1247         * include/bits/stl_vector.h:  Reformat to follow C++STYLE.
1248         Doxygenate all public members.  Reorder to follow 14882.
1249         (vector::push_back(void)):  Remove previously-deprecated fn.
1250         (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1251         Deprecate for removal in 3.3.
1253 2002-05-20  Phil Edwards  <pme@gcc.gnu.org>
1255         * docs/html/faq/index.html (5.4):  Recommend against -I options for
1256         finding the ext headers.
1257         * docs/html/faq/index.txt:  Regenerate.
1259 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
1261         * testsuite/23_containers/deque_operators.cc (test01):
1262         Fix minor typo in last commit.
1264 2002-05-18  Paolo Carlini  <pcarlini@unitus.it>
1266         PR libstdc++/6503
1267         * include/bits/stl_deque.h (_Deque_iterator::operator==,
1268         operator!=, operator<, operator>, operator>=, operator<=):
1269         Make non-member functions, to allow comparing const and
1270         non-const iterators in any order.
1271         * testsuite/23_containers/deque_operators.cc: New testfile.
1273 2002-05-16  Phil Edwards  <pme@gcc.gnu.org>
1275         * docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
1276         * docs/html/faq/index.txt:  Regenerate.
1278 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1280         * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1281         * acinclude.m4: Likewise.
1282         * docs/html/Makefile: Likewise.
1283         * aclocal.m4: Regenerate.
1284         * configure: Regenerate.
1285         * Makefile.in: Regenerate.
1287 2002-05-15  Loren J. Rittle <ljrittle@acm.org>
1289         libstdc++/6641
1290         * include/bits/c++config (__USE_MALLOC): Report case where
1291         the user improperly defined it on the command line.
1293 2002-05-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1295         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1296         Retrieve current limits before setting.
1298 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
1300         PR libstdc++/6518
1301         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1302         for null case.
1303         (ostream::operator<<(const _CharT*)): Same.
1304         (ostream<char>::operator<<(const char*)): Same.
1305         * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1307 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
1309         PR libstdc++/6594
1310         * src/strstream.cc (strstreambuf): Fix leak.
1312 2002-05-15  Paolo Carlini  <pcarlini@unitus.it>
1314         PR libstdc++/6648
1315         * include/bits/istream.tcc (istream::getline, ignore):
1316         Upon __idelim (__delim) call sbumpc() not snextc().
1317         * testsuite/27_io/narrow_stream_objects.cc:
1318         Add test08 and test09.
1320 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
1322         * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1323         * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1325         * docs/html/install.html: Fix.
1327 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
1329         * include/bits/fstream.tcc
1330         (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1331         try/catch blocks.
1332         * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1334         * docs/html/install.html: Tweak, add bits about required locales
1335         for the 22_locale tests when using the gnu model.
1337         * testsuite/27_io/istream_sentry.cc: Tweak.
1339 2002-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1341         * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1342         Fix typo, use this->is() rather than manually (and perhaps
1343         incorrectly) inlining it.
1344         * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1345         Likewise.
1346         * testsuite/22_locale/ctype_scan_char.cc: New file.
1348 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
1349             Jakub Jelinek  <jakub@redhat.com>
1351         * testsuite/22_locale/money_get_members_char.cc
1352         (test01, test02, test04): Use the de_DE@euro named locale
1353         instead of de_DE to allow for an uniform behaviour with
1354         both old and Euro-era localedata; tweak some tests.
1355         * testsuite/22_locale/money_get_members_wchar_t.cc
1356         (test01, test02, test04): Likewise.
1357         * testsuite/22_locale/money_put_members_char.cc
1358         (test01, test02, test04): Likewise.
1359         * testsuite/22_locale/money_put_members_wchar_t.cc
1360         (test01, test02, test04): Likewise.
1362 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
1364         * testsuite/22_locale/codecvt_members_char_char.cc
1365         (test03): Robustify wrt localedata.
1366         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1367         * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1368         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1369         * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1370         * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1371         * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1372         * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1373         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1374         * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1375         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1376         * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1377         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1378         * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1379         * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1380         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1381         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1382         * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1383         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1384         * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1385         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1386         * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1387         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1389 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1391         * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1392         change.
1394 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1396         * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1397         to 64 for hppa 64-bit port.
1398         (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1400 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1402         * acinclude.m4 (enable_symvers): Quote $LD.
1403         * aclocal.m4: Regenerate.
1404         * configure: Likewise.
1406 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
1408         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1409         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1410         LD_LIBRARY_PATH.
1412 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
1414         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1415         script entry, and set LD to it when configuring multilibs.
1416         * configure: Rebuilt.
1418 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
1420         * configure.in: Add support for WindISS.
1421         * configure: Regenerated.
1422         * configure.target: Add support for WindISS.
1423         * config/os/windiss/bits/ctype_base.h: New file.
1424         * config/os/windiss/bits/ctype_inline.h: Likewise.
1425         * config/os/windiss/bits/ctype_noninline.h: Likewise.
1426         * config/os/windiss/bits/os_defines.h: Likewise.
1428 2002-05-06  Paolo Carlini  <pcarlini@unitus.it>
1430         Test all the facets for the temporary "C" locale switch issue.
1431         * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1432         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1433         * testsuite/22_locale/collate_members_char.cc: Add test04.
1434         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1435         * testsuite/22_locale/ctype_members_char.cc: Add test05.
1436         * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1437         * testsuite/22_locale/messages_members_char.cc: Add test03.
1438         * testsuite/22_locale/money_get_members_char.cc: Add test08.
1439         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1440         * testsuite/22_locale/money_put_members_char.cc: Add test07.
1441         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1442         * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1443         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1444         * testsuite/22_locale/num_get_members_char.cc: Add test06.
1445         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1446         * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1447         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1448         * testsuite/22_locale/time_get_members_char.cc: Add test08.
1449         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1450         * testsuite/22_locale/time_put_members_char.cc: Add test04.
1451         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1453         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1454         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1456 2002-05-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1458         * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1459         __EXTENSIONS__): Ensure they are always defined.
1461 2002-05-06  Phil Edwards  <pme@gcc.gnu.org>
1463         * docs/html/documentation.html:  Fix broken link.
1465 2002-05-04  Benjamin Kosnik  <bkoz@redhat.com>
1466             Paolo Carlini  <pcarlini@unitus.it>
1468         * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1469         testing for the locale_facets.tcc entry of the previous commit.
1470         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1472 2002-05-04  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
1474         * config/locale/generic/c_locale.cc
1475         (__convert_to_v(float, double, long double)):
1476         Fix the temporary switch to the "C" locale, saving and
1477         restoring in the proper way the current locale.
1478         * config/locale/generic/time_members.cc
1479         (__timepunct<char, wchar_t>::_M_put): Likewise.
1480         * config/locale/gnu/messages_members.cc
1481         (messages<char>::do_get): Likewise.
1482         * config/locale/gnu/messages_members.h
1483         (messages<_CharT>::do_get): Likewise.
1484         * config/locale/gnu/time_members.cc
1485         (__timepunct<char, wchar_t>::_M_put): Likewise.
1486         * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1488 2002-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1490         * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1491         * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1493         * Makefile.in, config.h.in, configure: Regenerate.
1495 2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
1497         PR libstdc++/6549.
1498         * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1499         * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1501 2002-05-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1503         * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1504         Return __ctype + 1.
1505         (ctype:_M_table): Initialize to classic_table(), not __ctype.
1507 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1509         * configure.in: Update local install.html, configopts.html paths.
1510         * configure: Regenerate.
1512 2002-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1514         * config/os/irix/irix5.2/bits/os_defines.h
1515         (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1517         * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1518         char.
1520 2002-05-02  Phil Edwards  <pme@gcc.gnu.org>
1522         * docs/html/faq/index.html:  Update list in #4.1.
1523         * docs/html/faq/index.txt:  Regenerated.
1525 2002-05-02  Benjamin Kosnik  <bkoz@redhat.com>
1527         * docs/html/17_intro/RELEASE-NOTES (New): Update.
1529 2002-05-01  Phil Edwards  <pme@gcc.gnu.org>
1531         * include/std/std_bitset.h:  Fix doxygen comments.
1532         * docs/html/documentation.html:  Minor tweaks for 3.1.
1533         * docs/html/27_io/howto.html:  Likewise.
1534         * docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
1535         * docs/html/faq/index.html:  Likewise.
1536         * docs/html/faq/index.txt:  Regenerated.
1538 2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1540         PR libstdc++/6533
1541         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1542         (istreambuf_iterator::equal): Use it.
1543         (istreambuf_iterator::operator*): Use it.
1545 2002-05-01  Paolo Carlini  <pcarlini@unitus.it>
1547         PR libstdc++/6513
1548         * include/bits/stl_uninitialized.h
1549         (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1550         Fix typo in 2001-07-17 commit: typedef _ValueType to
1551         iterator_traits<_ForwardIter> not <_InputIter>.
1552         * testsuite/23_containers/vector_ctor.cc: Add test04.
1554 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1556         PR libstdc++/6501
1557         * include/c_std/std_cctype.h: Include bits/c++config.h.
1558         * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1560 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1562         * include/ext/stdio_filebuf.h: New file.
1563         * include/ext/enc_filebuf.h: New file.
1564         * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1565         * config/io/basic_file_stdio.cc: Same.
1566         * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1567         Remove _M_unbuf hacks.
1568         (filebuf::_M_destroy_internal_buffer): Same.
1569         (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1570         (filebuf::fd): Remove.
1571         * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1572         (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1573         (filebuf::fd): Remove.
1574         * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1575         filebufs.
1576         (ios_base::_S_ios_destroy): Same.
1577         * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1578         * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1579         stdio_filebuf.h.  * include/Makefile.in: Regenerate.
1581 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1583         PR libstdc++/6511
1584         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1586 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
1588         PR libstdc++/5820
1589         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1590         Check for eof.
1591         * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1592         (istreambuf_iterator::operator++): Invalidate on eof.
1593         (istreambuf_iterator::operator++(int)): Same.
1594         (istreambuf_iterator::operator*): Same.
1596 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1598         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1599         of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1600         LD_LIBRARY64_PATH.
1602 2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>
1604         PR libstdc++/5820
1605         * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1606         (__basic_file::sys_ungetc): Take int.
1607         * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1608         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1609         Use sys_getc for unbuffered input.
1610         * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1612         * src/ios.cc (_M_grow_words): Adjust error checking.
1613         * testsuite/27_io/ios_base_storage.cc: Same.
1615 2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1617         * include/ext/stl_hashtable.h: Import __iterator_category
1619 2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
1620             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1622         * testsuite/ext/hash_set.cc: New testfile.
1624 2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
1626         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1627         _G_USING_THUNKS.
1628         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1629         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1631 2002-04-26  Paolo Carlini  <pcarlini@unitus.it>
1633         * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1634         Fix and tighten __throw_length_error check.
1635         * testsuite/21_strings/replace.cc (test05): New.
1636         * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1638 2002-04-23  Loren J. Rittle <ljrittle@acm.org>
1640         * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1641         unconditional flush on lower-layer handle to here...
1642         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1643         ...from here.  Optimize remaining _M_file.sync() call pattern.
1644         * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1645         (test05): Likewise.
1647 2002-04-23  Jason Merrill  <jason@redhat.com>
1649         * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1650         output-only filebufs.
1651         * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1652         Likewise.
1653         (basic_filebuf::_M_set_determinate): Likewise.
1655         PR libstdc++/6414
1656         * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1657         value properly in the trivial case.
1658         * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1659         tellg() returns the right value after a read.
1661 2002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
1663         * config/cpu/mmix/bits/cpu_limits.h: New file.
1664         * configure.target (CPULIMITSH): Use it.
1666 2002-04-22  Loren J. Rittle <ljrittle@acm.org>
1668         * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1669         * docs/html/17_intro/porting.html: Rebuilt.
1671 2002-04-20  Jason Merrill  <jason@redhat.com>
1673         PR libstdc++/4150
1674         * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1675         Move to filebuf.
1676         (basic_streambuf::_M_set_determinate): Likewise.
1677         (basic_streambuf::_M_is_indeterminate): Likewise.
1678         * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1679         non-static data member.
1680         (basic_filebuf::_M_underflow_common): New non-static member function.
1681         (basic_filebuf::_M_underflow, _M_uflow): Call it.
1682         (basic_filebuf::sync): Avoid useless seeking.
1683         (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1684         Set _M_filepos.
1685         (basic_filebuf::_M_set_determinate): Likewise.
1686         (basic_filebuf::_M_is_indeterminate): Likewise.
1687         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1688         back to _M_out_beg if necessary.
1689         (basic_filebuf::seekoff): Likewise.
1690         (basic_filebuf::_M_underflow_common): Generalization of old
1691         underflow().  Don't seek back to _M_in_beg.
1692         * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1693         * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1694         * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1695         * config/os/mingw32/bits/os_defines.h: Likewise.
1696         * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1697         ungetc test.
1699 2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
1701         * include/bits/istream.tcc (istream::read): Fix.
1702         * testsuite/27_io/istream_unformatted.cc (main): Add.
1704 2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
1706         PR libstdc++/6360
1707         * include/bits/istream.tcc (istream::ignore): Streamline, use
1708         delimiter as is.
1709         * include/bits/streambuf.tcc: Use this->gptr.
1710         * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1712 2002-04-18  Benjamin Kosnik  <bkoz@redhat.com>
1714         * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1715         as type safety is important, especially on solaris.
1716         * include/bits/istream.tcc (istream::read): Clean.
1717         (istream::readsome): Same.
1718         * locale.cc: Wrap lines.
1720         * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1721         * testsuite/27_io/instantiations.cc (test): Add bool variable...
1722         * testsuite/21_strings/capacity.cc: Clean.
1724 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1726         * docs/doxygen/doxygroups.cc:  New group on binary searching.
1727         * include/bits/stl_algo.h:  Document binary searches and merges.
1728         * include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
1730 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1732         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
1733         * docs/doxygen/run_doxygen:  Bump required version.
1734         * docs/doxygen/user.cfg.in:  Revert accidental change.
1735         * docs/html/faq/index.html:  Reindent a block of links.
1736         (4.4):  New note on using dlsym.
1737         * docs/html/faq/index.txt:  Regenerated.
1739 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1741         * testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
1743 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
1745         * config/linker-map.gnu (__malloc_alloc_template): Add.
1746         (__default_alloc_template): Same.
1747         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1748         template.
1749         (__default_alloc_template): Same.
1751 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
1753         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1755 2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
1757         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1758         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1759         (__malloc_alloc_template): Conditionalize.
1761         * include/bits/istream.tcc: Remove sputbackc calls.
1763         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1765 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
1767         * testsuite/24_iterators/rel_ops.cc: New test.
1769 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1771         * include/bits/type_traits.h (__normal_iterator): Declare in
1772         __gnu_cxx.  Adjust use at global namespace.
1773         * include/bits/stl_iterator.h (__normal_iterator): Move definition
1774         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
1775         * include/bits/basic_string.h (basic_string): Adjust use of
1776         __normal_iterator.
1777         * include/bits/stl_vector.h (_Alloc>): Likewise.
1778         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1779         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1781 2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
1783         PR libstdc++/4164
1784         Valgrind fixes.
1785         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1786         Call close.
1787         (__basic_file::close): Call fflush. Correct return if fclose ok.
1788         (__basic_file::is_open): Make const.
1789         Change __c_file_type to __c_file.
1790         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1791         (__basic_file::is_open): Make const.
1792         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1793         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1794         (filebuf::_M_unbuf): Add.
1795         (filebuf::_M_file): Change to non-pointer.
1796         (filebuf::_M_allocate_pback_buffer): Remove.
1797         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1798         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1799         Change initialization list for _M_file change.
1800         (filebuf::_M_allocate_pback_buffer): Remove.
1801         Change _M_file usage to reflect non-pointer data member.
1803         * config/locale/generic/c_locale.cc
1804         (locale::facet::_S_create_c_locale): Add parameter.
1805         * config/locale/generic/collate_members.cc: Change
1806         _M_compare_helper to _M_compare.
1807         Change _M_transform_helper to _M_transform.
1808         * config/locale/generic/monetary_members.cc: Changeup data types.
1809         Add dtors.
1810         * config/locale/generic/numeric_members.cc: Add dtors.
1811         * config/locale/generic/time_members.cc: Add dtors.
1812         * config/locale/gnu/c_locale.cc: Add parameter.
1813         * config/locale/gnu/collate_members.cc:Change
1814         _M_compare_helper to _M_compare.
1815         Change _M_transform_helper to _M_transform.
1816         * config/locale/gnu/ctype_members.cc: Better error checking.
1817         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1818         * config/locale/gnu/messages_members.cc: Tweak comment.
1819         * config/locale/gnu/monetary_members.cc: Change data types.
1820         Add dtors.
1821         * config/locale/gnu/numeric_members.cc: Add dtors, better error
1822         checking.
1823         * config/locale/gnu/time_members.cc: Same.
1824         * config/locale/ieee_1003.1-2001/c_locale.cc
1825         (locale::facet::_S_create_c_locale): Add parameter.
1826         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1827         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1828         bogus ctor.
1830         * include/bits/locale_facets.h (moneypunct): Use string literals.
1831         Don't define dtor.
1832         (numpunct): Same.
1833         (__timepunct): Same.
1834         (locale::_Impl::_M_facets): Change from vector to array.
1835         (locale::_Impl::_M_names): Change from array of strings to array
1836         of string literals.
1837         (locale::facet::_S_create_c_locale): Add parameter.
1838         (locale::locale::_S_num_facets): Move to...
1839         (locale::_Impl::_M_facets_size): Here.
1840         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1841         changes.
1842         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1843         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1844         (locale::_Impl::_Impl(string, size_t)): Change to
1845         (locale::_Impl::_Impl(const char*, size_t)): This.
1847         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1848         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1849         (streambuf::_S_pback_size): This.
1851         * src/globals.cc: Add pre-allocations for "C" facets.
1852         * src/locale-inst.cc: Remove vector instantiations.
1853         * src/locale.cc: Remove vector include. Fixups for _M_names,
1854         _M_facets changes.
1855         * src/localename.cc: Same.
1857         * include/bits/stl_vector.h: Fix odd formatting.
1859         * include/bits/basic_string.tcc: Tweak comment.
1861         * libsupc++/new: Make sure parameters are uglified.
1862         * libsupc++/typeinfo: Same.
1864         * testsuite/22_locale/num_get_members_char.cc: Fixup.
1865         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1866         * testsuite/27_io/filebuf_members.cc: Same.
1868 2002-04-12  Steve Ellcey  <sje@cup.hp.com>
1870         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1871         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1872         does not define strtoll or strtoull, but does define strtol
1873         and strtoul which are the same since in 64 bit mode
1874         sizeof(long) == sizeof(long long).
1876 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
1878         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
1879         trailing spaces, indentation, and macro names.  Make exception
1880         messages more informative.
1882 2002-04-11  Richard Henderson  <rth@redhat.com>
1884         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1885         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1886         (basic_ostream<>::operator<<(long long)): Same.
1888 2002-04-11  Richard Henderson  <rth@redhat.com>
1890         * config/linker-map.gnu: Add __gxx_personality_sj0.
1892 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1894         libstdc++/1072
1895         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1896         pointer to vector.
1897         Remove forward declaration of vector.
1898         Include vector.
1899         * include/bits/locale_facets.tcc: Remove vector include.
1900         (use_locale): Adjust.
1901         (has_locale): Adjust.
1902         * src/locale.cc: Adjust.
1903         * src/localename.cc: Same.
1905 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1906             Richard Henderson  <rth@redhat.com>
1908         * include/bits/sstream.tcc: Clean up bit ops.
1909         * include/bits/fstream.tcc: Same.
1911 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
1913         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1914         (__num_base::_S_scale_oct): Remove.
1915         * src/locale.cc (__num_base::_S_scale_hex): Remove.
1916         (__num_base::_S_scale_oct): Remove.
1918 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1920         libstdc++/6124
1921         * testsuite/23_containers/bitset_members.cc: New test.
1922         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1923         (_S_bit_count): Here.
1924         (_First_one::_S_first_one): Move...
1925         (_S_first_one): Here.
1926         Format.
1927         * src/bitset.cc: Adjust.
1928         * config/linker-map.gnu: Export.
1930 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
1932         libstdc++/5180
1933         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1934         * include/std/std_fstream.h: Clean.
1935         * include/bits/ostream.tcc: Remove extraneous variables.
1936         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1937         open modes and which modes.
1938         (stringbuf::seekpos): Same.
1939         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1941 2002-04-05  Jonathan Wakely <jw@kayari.org>
1943         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1944         random_shuffle, partition, stable_partition, sort, stable_sort,
1945         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
1947 2002-04-05  David S. Miller  <davem@redhat.com>
1949         * config/os/gnu-linux/bits/os_defines.h
1950         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1952 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
1954         libstdc++/3457
1955         via gawrilow@math.tu-berlin.de
1956         * acinclude.m4 (version_specific_libs): Fix combo usage with
1957         --with-gxx-include-dir.
1958         * aclocal.m4: Regenerate.
1959         * configure: Same.
1961 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
1963         As per DR 184, libstdc++/3139
1964         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1965         (numeric_limits<bool>::is_iec559): False.
1966         (numeric_limits<bool>::is_modulo): False.
1968         * testsuite/27_io/ios_init.cc: Add instantiations.
1970 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
1972         libstdc++/5268
1973         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1974         * testsuite/27_io/ios_init.cc (tests04): Add test.
1976         libstdc++/3983
1977         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1978         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1979         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1980         * include/bits/istream.tcc: Use _M_fctype, make consistent with
1981         ostream.
1982         * testsuite/27_io/ios_init.cc (tests03): Add test.
1984 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
1986         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
1987         * include/Makefile.in:  Regenerate.
1989 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
1990             Nathan Myers  <ncm@cantrip.org>
1991             Philip Martin  <philip@codematters.co.uk>
1993         * include/bits/basic_string.h
1994         (replace(i1, i2, _CharT* k1, _CharT* k2),
1995         replace(i2, i2, const _CharT* k1, const _CharT* k2),
1996         replace(i1, i2, iterator k1, iterator k2,
1997         replace(i1, i2, const_iterator k1, const_iterator k2):
1998         New specializations to optimize for the common cases of
1999         pointers and iterators.
2000         (replace(pos, n1, s, n2)): Tweak.
2001         * include/bits/basic_string.tcc: Tweak comments.
2002         * testsuite/21_strings/replace.cc (test04): New tests.
2004 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
2006         libstdc++/5542
2007         * acinclude: More extensive checks for msgfmt, --enable-nls.
2008         * aclocal.m4: Regenerate.
2009         * configure: Regenerate.
2011 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
2013         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
2014         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
2015         * docs/html/18_support/howto.html:  Document the demangler.
2016         * docs/html/17_intro/howto.html:  And link to it.
2018         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
2019         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
2021 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
2023         * config/linker-map.gnu:  Export __verbose_terminate_handler.
2024         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
2025         Make new LTCOMPILE variable, use it in new special build rules.
2026         * libsupc++/Makefile.in:  Rebuild.
2027         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
2028         runtime __cxa_demangle.
2030         * docs/html/install.html:  Update prereqs and instructions.
2031         * docs/html/19_diagnostics/howto.html:  Bring naming for
2032         verbose_terminate_handler into line with reality.
2034 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
2036         libstdc++/3129
2037         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2038         (basic_ios::_M_streambuf_state): Move.
2039         * include/bits/ios_base (ios_base): To here.
2040         * include/bits/ios_base.h (ios_base::_S_local_words): To
2041         _S_local_word_size.
2042         (ios_base::_M_word_array): To _M_local_word.
2043         (ios_base::_M_words_limit): To _M_word_size.
2044         (ios_base::_M_words): To _M_word.
2045         Comment.
2046         * include/bits/basic_ios.tcc: Adjust.
2047         * src/ios.cc (ios_base::_M_grow_words): Tweak.
2048         * testsuite/27_io/ios_base_storage.cc: Add tests.
2050         libstdc++/5207
2051         Kenny Simpson <theonetruekenny@yahoo.com>
2052         * include/bits/ios_base.h: Fix.
2054         Richard Henderson  <rth@redhat.com>
2055         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2056         last change.
2058         * include/bits/basic_string.h: Tweak formatting.
2060 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
2062         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2063         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2064         By definition, sizeof(char) == 1.
2065         * include/bits/locale_facets.tcc (money_get::do_get,
2066         money_put::do_put): Ditto.
2067         * testsuite/21_strings/inserters_extractors.cc
2068         (test04): Ditto.
2070 2002-03-30  Richard Henderson  <rth@redhat.com>
2072         PR c++/3719
2073         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2074         data out of the exception struct before calling unexpectedHandler.
2076 2002-03-28  Roger Sayle  <roger@eyesopen.com>
2078         * include/c_std/std_cmath.h:  To prevent problems overloading
2079         g++ builtins, use the double variants from the global namespace
2080         before defining float and long double variants in std::.
2082 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
2084         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2086 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
2088         * testsuite/24_iterators/istream_iterator.cc
2089         (test02): New tests.
2091 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2092             Paolo Carlini  <pcarlini@unitus.it>
2094         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2095         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2096         fix i_lit_base e_lit_base arrays, making them independent
2097         from the endianness of the platform; tweak UCS4 to UCS-4BE.
2099 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
2101         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2102         allocate at least a byte.
2104         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2105         debugger-friendly.
2106         * testsuite/27_io/streambuf.cc (test07): Fix.
2107         (test06): Enable.
2109 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
2111         * docs/doxygen/Intro.3:  Date tweak.
2112         * docs/doxygen/TODO:  Update.
2113         * docs/doxygen/doxygroups.cc:  Point to tables.html.
2114         * docs/doxygen/mainpage.html:  Date tweak.
2115         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
2116         * docs/doxygen/tables.html:  Fill in the blanks.
2118         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
2119         * include/bits/stl_algo.h:  Likewise; use expanded form.
2120         * include/bits/stl_alloc.h:  Likewise.
2121         * include/bits/stl_construct.h:  Likewise.
2122         * include/bits/stl_deque.h:  Likewise.
2123         * include/bits/stl_iterator_base_types.h:  Likewise.
2124         * include/bits/stl_list.h:  Likewise.
2125         * include/bits/stl_relops.h:  Likewise.
2126         * include/bits/stl_tempbuf.h:  Likewise.
2127         * include/bits/stl_vector.h:  Likewise.
2128         * include/std/std_memory.h:  Likewise.
2130         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
2131         * include/bits/stl_list.h:  Likewise.
2132         * include/bits/stl_vector.h:  Likewise.
2134 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
2136         * include/c/: Guard with _CPP_.
2137         * include/c_std/: Same.
2138         * include/Makefile.am: Fixup install, link routines for null
2139         c_base_headers_extra scenarios.
2140         * include/Makefile.in: Regerate.
2142 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
2143             Richard Henderson  <rth@redhat.com>
2145         * testsuite/22_locale/codecvt_members_unicode_char.cc
2146         (test01, test02): make sure that the i_lit_base array
2147         is sufficiently aligned.
2149 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2151         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2152         _ctype_.
2154 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
2156         * testsuite/22_locale/collate_byname.cc
2157         (test01): compare the result of collate::compare with
2158         that of collate::transform + string::compare, not with
2159         that of collate::transform + collate::compare; values
2160         returned by collate::compare are normalized, therefore
2161         test against +-1.
2163 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2164             Jakub Jelinek  <jakub@redhat.com>
2166         * config/locale/gnu/messages_members.h: Correct conditional.
2167         * config/locale/gnu/messages_members.cc: Same.
2168         * config/locale/gnu/time_members.cc: Same.
2170 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2171             Paolo Carlini  <pcarlini@unitus.it>
2173         * testsuite/22_locale/codecvt_members_unicode_char.cc
2174         (test01, test02): Fix i_lit_base arrays, making them
2175         independent from the endianness of the platform.
2177 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2179         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2180         signbit and __signbit directly.
2181         * aclocal.m4: Regenerate.
2182         * configure: Regenerate.
2183         * config.h.in: Regenerate.
2184         * libmath/Makefile.am: Simplify.
2185         * libmath/Makefile.in: Regenerate.
2186         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2188         * include/Makefile.am: Clean up handling of extra "C" header files.
2189         Add hooks for "C" compatibility headers.
2190         * include/Makefile.in: Regenerate.
2192         * include/c/*: Formatting tweaks, cleanups.
2193         * include/c_std/*: Same.
2195 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2197         * config/locale/gnu/messages_members.h: Add __uselocale bits.
2198         * config/locale/gnu/messages_members.cc: Same.
2199         * config/locale/gnu/time_members.cc: Same.
2201 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2203         * src/vterminate.cc: Format, -fno-exceptions cleanup.
2205 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2207         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2208         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2209         * aclocal.m4: Regenerate.
2210         * configure: Likewise.
2212 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
2213             Ulrich Drepper  <drepper@redhat.com>
2215         * src/locale-inst.cc (__convert_from_v): Add an additional
2216         __size parameter in the declarations.
2217         * include/bits/locale_facets.tcc
2218         (__convert_from_v): When available (that is,
2219         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2220         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2221         being defined or not, call and use __convert_from_v in the
2222         appropriate way.
2223         (num_put::_M_convert_int): Same here.
2224         (money_put::do_put(long double)): Same here.
2226 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
2228         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
2229         * docs/html/faq/index.txt:  Regenerate.
2231 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
2233         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2234         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2235         --enable-libunwind-exceptions is set.
2236         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2237         macro to check for libunwind.
2238         * configure: Regenerate.
2239         * src/Makefile.am (libstdc___la_LDFLAGS): Add
2240         LIBUNWIND_FLAG to libstdc link line.
2241         * src/Makefile.in: Regenerate.
2243 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
2245         * docs/html/faq/index.html: Add OS X workaround.
2246         * docs/html/17_intro/TODO: Update.
2248 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
2250         * include/bits/locale_facets.tcc
2251         (money_put::do_put(long double)): Fix dimensioning of
2252         temporary buffers to avoid risk of overruns.
2253         (money_put::do_put(string)): Same for the buffer used to
2254         add the grouping chars.
2255         * testsuite/22_locale/money_put_members_char.cc: Add test06.
2256         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2258         * include/bits/locale_facets.tcc
2259         (collate::do_transform): Simplify.
2261 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
2263         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
2264         * configure.in:  Add comments pointing the way for autoconf 2.5x.
2265         * aclocal.m4, config.h.in, configure:  Regenerate.
2267 2002-03-18  Philipp Thomas  <pthomas@suse.de>
2269         * include/backward/hash_map.h: hash, hashtable, hash_map and
2270         hash_multimap are in namespace __gnu_cxx.
2271         include/backward/hash_set.h: hash, hashtable, hash_set and
2272         hash_multiset are in namespace __gnu_cxx.
2273         include/backward/hashtable.h: hash and hashtable are in
2274         namespace __gnu_cxx.
2275         include/backward/rope.h: char_producer, sequence_buffer,
2276         rope, crope and wrope are in namespace __gnu_cxx.
2277         include/backward/slist.h: slist is in namespace __gnu_cxx.
2278         * testsuite/backward/header_hash_map_h.cc
2279         testsuite/backward/header_hash_set_h.cc
2280         testsuite/backward/header_hashtable_h.cc
2281         testsuite/backward/header_rope_h.cc
2282         testsuite/backward/header_slist_h.cc
2283         testsuite/backward/header_tempbuf_h.cc: New tests for
2284         checking that we're using the correct namespace.
2286 2002-03-17  Jason Merrill  <jason@redhat.com>
2288         PR c++/4381
2289         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2290         (check_exception_spec): Call it.  Take the thrown pointer.
2291         (__cxa_call_unexpected): Pass it.
2292         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
2294 2002-03-15  Anthony Green  <green@redhat.com>
2296         * configure.in: Remove useless is_mingw32.
2297         * configure: Rebuilt.
2299 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
2301         * testsuite/22_locale/collate_members_char.cc
2302         (test01): compare the result of collate::compare with
2303         that of collate::transform + string::compare, not with
2304         that of collate::transform + collate::compare.
2305         (test01): values returned by collate::compare are
2306         normalized, therefore test against +-1.
2307         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2309 2002-03-12  Loren Rittle  <ljrittle@acm.org>
2311         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2312         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2314 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2315             Per Liboriussen  <liborius@stofanet.dk>
2317         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2318         unsigned char.
2319         * config/os/gnu-linux/bits/ctype_inline.h: Same.
2321         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2323         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2324         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2326         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2327         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2329         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2330         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2332         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2334 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2336         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2337         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2338         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2339         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2340         that memory limits are in place.
2341         (test03): Add tests.
2343 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
2345         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2346         * aclocal.m4: Regenerate.
2347         * config.h.in: Regenerate.
2348         * configure: Regenerate.
2349         * include/c_std/std_cwctype.h: Guard.
2351 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
2353         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2354         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2355         * aclocal.m4: Regenerate.
2356         * configure: Regenerate.
2358 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
2360         * include/bits/stl_bvector.h: Fix warning.
2362 2002-03-11  Richard Henderson  <rth@redhat.com>
2364         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
2366 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
2368         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2369         New function.  Build the list of tests to run in testsuite_files.
2370         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
2372 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
2374         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
2375         platforms with no weak support.
2376         * testsuite/27_io/ios_init.cc:  Likewise.
2378 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
2380         * include/bits/locale_facets.tcc (time_put::do_put):
2381         Consider sizeof(char_type) in allocating the buffer.
2383         * include/bits/locale_facets.tcc (collate::do_tranform):
2384         Remove redundant variable.
2386 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
2387             Paolo Carlini  <pcarlini@unitus.it>
2389         * config/locale/generic/collate_members.cc
2390         (collate<char,wchar_t>::_M_compare_helper): normalize
2391         values returned by strcoll and wcscoll.
2392         * config/locale/gnu/collate_members.cc
2393         (collate<char,wchar_t>::_M_compare_helper): ditto
2394         for __strcoll_l and __wcscoll_l.
2396 2002-03-10  Anthony Green  <green@redhat.com>
2398         * configure.in: Support cross builds to mingw32 target.
2399         * configure: Rebuilt.
2401 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
2403         * include/bits/locale_facets.tcc (collate::do_transform):
2404         Rewrite to fix problems with long transformed strings.
2406 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2408         * c_locale_generic.cc: Move to...
2409         * generic/c_locale.cc
2410         * c_locale_generic.h: Move to...
2411         * generic/c_locale.h
2412         * codecvt_specializations_generic.h: Move to...
2413         * generic/codecvt_specializations.h
2414         * collate_members_generic.cc: Move to...
2415         * generic/collate_members.cc
2416         * ctype_members_generic.cc: Move to...
2417         * generic/ctype_members.cc
2418         * messages_members_generic.cc: Move to...
2419         * generic/messages_members.cc
2420         * messages_members_generic.h: Move to...
2421         * generic/messages_members.h
2422         * moneypunct_members_generic.cc: Move to...
2423         * generic/monetary_members.cc
2424         * numpunct_members_generic.cc: Move to...
2425         * generic/numeric_members.cc
2426         * time_members_generic.cc: Move to...
2427         * generic/time_members.cc
2428         * c_locale_gnu.cc: Move to...
2429         * gnu/c_locale.cc
2430         * c_locale_gnu.h: Move to...
2431         * gnu/c_locale.h
2432         * collate_members_gnu.cc: Move to...
2433         * gnu/collate_members.cc
2434         * ctype_members_gnu.cc: Move to...
2435         * gnu/ctype_members.cc
2436         * messages_members_gnu.cc: Move to...
2437         * gnu/messages_members.cc
2438         * messages_members_gnu.h: Move to...
2439         * gnu/messages_members.h
2440         * moneypunct_members_gnu.cc: Move to...
2441         * gnu/monetary_members.cc
2442         * numpunct_members_gnu.cc: Move to...
2443         * gnu/numeric_members.cc
2444         * time_members_gnu.cc: Move to...
2445         * gnu/time_members.cc
2446         * c_locale_ieee_1003.1-200x.cc: Move to...
2447         * ieee_1003.1-2001/c_locale.cc
2448         * c_locale_ieee_1003.1-200x.h: Move to...
2449         * ieee_1003.1-2001/c_locale.h
2450         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2451         * ieee_1003.1-2001/codecvt_specializations.h
2452         * messages_members_ieee_1003.1-200x.cc: Move to...
2453         * ieee_1003.1-2001/messages_members.cc
2454         * messages_members_ieee_1003.1-200x.h: Move to...
2455         * ieee_1003.1-2001/messages_members.h
2457         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2458         * aclocal.m4: Regenerate.
2459         * configure: Regenerate.
2460         * src/Makefile.am (sources): Change to monetary and numeric.
2461         * src/Makefile.in: Regenerate.
2462         * docs/html/configopts.html: Update to ieee_1003.1-2001.
2464 2002-03-08  scott snyder  <snyder@fnal.gov>
2466         libstdc++/5875
2467         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2468         Allow one more digit of precision.
2469         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2470         write a double and read back in the same value.
2472 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2474         * include/std/std_limits.h: Move static const data members out of
2475         generic template, into base class __numeric_limits_base.
2476         * src/limits.cc: Add definitions.
2477         * config/linker-map.gnu: Add __numeric_limits_base.
2478         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2480 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
2482         * include/bits/stl_alloc.h: Add extern implicit allocator
2483         instantiations.
2484         * include/bits/basic_string.tcc: Tweak.
2485         * include/bits/locale_facets.tcc: Remove default args. Add
2486         has_facet, use_facet extern instantiations.
2487         * src/stl-inst.cc: Add explicit instantiation.
2488         * src/locale-inst.cc: Clean. Remove locale member template
2489         instantiations.
2491         * testsuite/22_locale/operators.cc (test02): Enable.
2493 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
2494             Stephen M. Webb  <stephen.webb@bregmasoft.com>
2496         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2497         (_S_rb_tree_black): Make enum.
2498         Clean. Format.
2499         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2500         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2501         (__stl_threshold): _M_threshold, enum.
2502         * src/stl-inst.cc: Same.
2503         * config/linker-map.gnu: Remove.
2505         * testsuite/23_containers/vector_bool.cc: New.
2507 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2509         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
2510         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
2511         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
2512         referring to the collection as a whole.  New section on which macros
2513         can be redefined by the user.
2514         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
2515         * docs/html/20_util/howto.html:  Update link to SGI.
2516         * docs/html/faq/index.html:  Update snapshot versions.  New entry
2517         on why g++ (but not gcc) must currently predefine certain macros.
2518         * docs/html/faq/index.txt:  Regenerated.
2520         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
2521         names in declaration.
2522         (basic_string::compare):  These are no longer optional.
2523         * include/bits/ostream.tcc:  Tweak closing brace placement.
2524         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
2525         * include/std/std_sstream.h:  Fix typo in comment.
2526         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
2527         * src/locale.cc:  Likewise.
2529 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2531         PR libstdc++/5734
2532         * include/bits/stl_vector.h (vector::push_back()):  Guard with
2533         _GLIBCPP_DEPRECATED.
2535 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2537         * include/bits/c++config:  Fix misplaced leading blanks on first line.
2539 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2541         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2542         * README (libmath): Make clear.
2544 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
2546         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2547         script globbing in ld.
2548         * aclocal.m4: Rebuilt.
2549         * configure: Rebuilt.
2551 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2553         * docs/html/17_intro/RELEASE-NOTES: Update.
2554         * README: Format subdirectories.
2556 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
2558         libstdc++/5816
2559         * include/bits/locale_facets.tcc
2560         (num_get::_M_extract_float): Fix the parsing of __dec, since
2561         the standard prescribes that if no grouping characters are
2562         seen, no grouping check is applied.
2563         * testsuite/22_locale/num_get_members_char.cc: Add test05
2564         distilled from the PR.
2565         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2567 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2569         * docs/html/17_intro/porting-howto.xml: Refer to
2570         http://www.oasis-open.org for docbookx.dtd.
2571         * docs/html/17_intro/porting-howto.html: Regenerated.
2573 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
2575         PR libstdc++/3955
2576         * include/std/std_sstream.h:  Remove trailing spaces.
2577         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
2578         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
2580 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
2582         * testsuite/22_locale/num_get_members_char.cc (test04):
2583         Use a named locale expecting grouping (de_DE).
2584         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2585         Ditto.
2586         * testsuite/27_io/ios_manip_basefield.cc (test01):
2587         Extend coverage, uniform treatment of hexs and octs.
2589 2002-02-28  Richard Henderson  <rth@redhat.com>
2591         * config/linker-map.gnu: Export operator new with unsigned long,
2592         and with std::nothrow_t.  Likewise operator delete.
2594 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
2596         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2597         Admit grouping for octals and hexadecimals too.
2598         * testsuite/22_locale/num_get_members_char.cc: Add test04.
2599         (test01): Tweak "." -> "," in void* test.
2600         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2602         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2603         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2605 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
2607         * testsuite/27_io/ios_manip_basefield.cc (test01):
2608         Fix for 64 bit machines.
2610 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
2612         libstdc++/3983
2613         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2614         Adjust comment.
2615         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2616         (basic_ios::_M_fill_init): New.
2617         (basic_ios::fill()): Delay dealing with _M_fill.
2618         Adjust comment.
2619         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2620         (ios_base::_M_call_callbacks): Adjust.
2621         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2623 2002-02-26  Loren Rittle  <ljrittle@acm.org>
2625         * include/Makefile.am (thread_target_headers): Unconditionally
2626         stage and install gthr-posix.h.
2627         (${target_builddir}/gthr-posix.h): New rule cloned off
2628         ${target_builddir}/gthr-default.h.
2629         (${target_builddir}/gthr-default.h): Support chained inclusion
2630         of gthr support headers.
2631         * include/Makefile.in: Rebuilt.
2633 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
2635         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2636         Group all the integral types, not only decs.
2637         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2638         tests, add a few more.
2640 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
2642         * src/ios.cc (ios_base::~ios_base): Tweak.
2643         (ios_base::_M_call_callbacks): Deal with null __p.
2644         (ios_base::ios_base): Set _M_callbacks.
2645         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2646         * testsuite/27_io/ios_init.cc (test02): Fix.
2648         * mkcheck.in (static_fail): Failed links go to output file.
2650 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
2652         * docs/html/faq/index.html:  Update.
2653         * docs/html/faq/index.txt:  Regenerate.
2655 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
2657         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
2658         * aclocal.m4:  Regenerate.
2659         * docs/html/configopts.html:  Document --enable-symvers.
2660         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
2662 2002-02-22  Philipp Thomas  <pthomas@suse.de>
2664         * include/backward/tempbuf.h: get_temporary_buffer and
2665         return_temporary_buffer are in namespace std, not in __gnu_cxx.
2667 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
2669         * configure.in (target_alias): Default to yes.
2670         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2671         libgcc to default case.
2673 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
2675         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
2676         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
2677         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
2678         * aclocal.m4:  Regenerate.
2679         * configure:  Regenerate.
2680         * config/linker-map.dummy:  New file.  Contains nothing useful.
2682 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
2684         * testsuite/22_locale/money_put_members_char.cc: Fix.
2685         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2687         * testsuite/27_io/standard_manipulators.cc: New file.
2689         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2690         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2692 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
2694         * config/os/mingw32/bits/ctype_noninline.h
2695         (ctype<char>::ctype): Remove default args from parm list.
2696         * config/os/djgpp/bits/ctype_noninline.h: Same.
2698 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2700         * include/std/std_iomanip.h: Inline, tweaks.
2701         * config/linker-map.gnu: Remove hacks.
2703         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2704         * testsuite/27_io/ios_init.cc: Same.
2705         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2706         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2708 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2710         * config/linker-map.gnu: Export global vtable, typeinfo, guard
2711         variable, and thunk info as per CXXABI docs.
2713 2002-02-19  Loren Rittle <ljrittle@acm.org>
2715         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2716         * include/Makefile.in: Rebuilt.
2718 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2720         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2721           with size3 for the string collations of str5.
2723 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
2725         libstdc++/5708
2726         * include/bits/locale_facets.tcc (money_put::do_put):
2727         For the space field use __fill instead of ' ', uniformly.
2728         * testsuite/22_locale/money_put_members_char.cc:
2729         Add test05 distilled from PR.
2730         (test01-02-03): Trim some '*' to ' '.
2731         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2733 2002-02-18  Loren Rittle <ljrittle@acm.org>
2735         libstdc++/5697
2736         * include/Makefile.am (thread_builddir): Remove (map all
2737         existing uses to target_builddir).
2738         (thread_headers): Rename to...
2739         (thread_target_headers): ...this.
2740         (stamp-thread): Remove.
2741         (stamp-target): Correctly state the position as built.
2742         Update all dependencies to match the new reality.  Remove all
2743         dependency calculations on directories.
2744         * include/Makefile.in: Rebuilt.
2746 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
2748         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2749         * include/bits/fstream.tcc: Same.
2750         * include/bits/sstream.tcc: Same.
2751         * include/bits/ostream.tcc: Same.
2752         * include/bits/istream.tcc: Same.
2753         * include/bits/streambuf.tcc: Same.
2754         * include/bits/basic_ios.tcc: Same.
2755         * include/bits/basic_string.tcc: Same.
2757 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2759         * include/std/std_iosfwd.h: Don't guard typedefs with
2760         _GLIBCPP_USE_WCHAR_T
2761         * include/bits/stringfwd.h: Same.
2763 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2765         * src/locale.cc (moneypunct_byname): Remove definitions.
2766         * include/std/std_streambuf.h (streambuf::operator=): Return.
2768 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2770         Tune for size.
2771         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2772         explicit instantiation.
2773         (string::_Rep::_S_max_size): Same.
2774         * include/bits/basic_string.tcc: Add extern explicit
2775         instantiations for string, wstring.
2776         * include/bits/basic_ios.tcc: Add extern explicit instantiations
2777         for ios, wios.
2778         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2779         * include/bits/istream.tcc: Same, for istream, wistream.
2780         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2781         wiostream.
2782         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2783         istringstream, wistringstream, ostringstream, wostringstream,
2784         stringstream, wstringstream.
2785         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2786         wifstream, ofstream, wofstream, fstream, wfstream.
2787         * src/misc-inst.cc: Correct comments.
2788         Add iomanip instantiations for wide streams.
2789         * include/std/std_iomanip.h: Same.
2790         * include/bits/locale_facets.tcc: Same.
2792         * include/std/std_streambuf.h: Correct
2793         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2794         * include/std/std_sstream.h: Same.
2795         * include/std/std_ostream.h: Same.
2796         * include/std/std_istream.h: Same.
2797         * include/std/std_fstream.h: Same.
2799         * include/std/std_streambuf.h: Add definitions for private copy
2800         ctor and assignment operator.
2801         * include/std/std_istream.h: Remove declared but undefined copy
2802         ctor and assignment operator. This is taken care of in ios_base,
2803         so adding it in the derived class as well is superfluous.
2804         * include/std/std_ostream.h: Same.
2806         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2807         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2809 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
2811         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2812         Add typeinfo bits. Smooth.
2813         * aclocal.m4: Regenerate.
2814         * configure: Same.
2815         * src/Makefile.in: Same.
2817 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
2819         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2820         which do not have a CAS instruction.
2822 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
2824         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
2825         * configure.in:  Call it.
2826         * config/linker-map.gnu:  New file, initial incomplete revision.
2827         * src/Makefile.am:  Optionally pass version script to the linker.
2828         * aclocal.m4:  Regenerate.
2829         * configure:  Regenerate.
2830         * src/Makefile.in:  Regenerate.
2832 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
2834         * src/localename.cc: Remove stdexcept include.
2835         * src/locale-inst.cc: Same.
2836         * src/locale.cc: Same.
2837         * src/functexcept.cc: Remove string includes.
2838         * include/std/std_bitset.h: Remove stdexcept include.
2839         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2840         * testsuite/23_containers/bitset_ctor.cc: Same.
2842 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2844         * include/bits/stl_algo (__stl_threshold): Declare external.
2845         (__stl_chunk_size): Same.
2846         * include/bits/stl_bvector.h (__WORD_BIT): Same.
2847         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2848         (_S_rb_tree_black): Same.
2849         * src/stl-inst.cc (__stl_threshold): Define.
2850         (__stl_chunk_size): Same.
2851         (__WORD_BIT): Same.
2852         (_S_rb_tree_red): Same.
2853         (_S_rb_tree_black): Same.
2855         * config/io/basic_file_libio.h (__basic_file): Add declarations.
2856         * include/bits/basic_file.h: Remove.
2857         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2858         Declare generic types, specialization.
2859         * config/io/basic_file_stdio.cc: Definitions.
2860         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2861         Declare generic types.
2862         * include/Makefile.am (bits_headers): Remove basic_file.h.
2863         (extra_target_headers): Change basic_file_model.h to basic_file.h.
2864         (stamp-target): Same.
2866         * include/bits/stl_alloc.h: Tweaks.
2867         * include/bits/localefwd.h: Same.
2869 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
2871         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2872         * testsuite/22_locale/collate_members_char.cc (test03): New test.
2873         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2875 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
2877         * include/bits/stl_algo.h (transform (both signatures), generate_n):
2878         Use __typeof__ in concept checks.
2880 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
2882         * include/bits/stl_algo.h (__median, for_each, find, find_if,
2883         adjacent_find, count, count_if, search, search_n, swap_ranges,
2884         transform, replace, replace_if, replace_copy, replace_copy_if,
2885         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2886         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
2888 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
2890         * include/bits/locale_facets.h
2891         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2892         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2893         (__timepunct<_CharT>::_M_put_helper): Same.
2894         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2896         * include/bits/fstream.tcc (filebuf::underflow): Remove
2897         __codecvt_type typedef.
2898         (filebuf::_M_convert_to_external): Same.
2900 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
2902         * docs/doxygen/TODO:  Update.
2903         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
2904         * docs/doxygen/mainpage.html:  Add TODO list link.
2905         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
2906         * docs/doxygen/tables.html:  New file, emoty structure only.
2908         * include/bits/stl_iterator.h:  Doxygenate just about everything.
2909         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
2910         * include/bits/stl_iterator_base_types.h:  Add notes.
2912 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
2914         * include/bits/stl_map.h:  Tweak doxygen markup.
2915         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
2916         * include/bits/stl_vector.h:  Likewise.
2918 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2920         libstdc++/5286
2921         libstdc++/3860
2922         * include/std/std_fstream.h (filebuf::__file_type): Change to
2923         __basic_file<char>.
2924         (filebuf::_M_convert_to_external): Declare.
2925         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2926         codecvt bits for wide streams.
2927         (filebuf::_M_really_overflow): Use it.
2928         (filebuf::underflow): Use codecvt.
2929         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2930         (codecvt<__enc_traits>::do_out): Deal with partial.
2931         (codecvt<__enc_traits>::do_encoding): Return something useful.
2932         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2933         wchar_t.
2934         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2935         Change expected encoding output.
2936         (test02): Same.
2937         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2938         (test02): Same.
2940 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2941             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
2943         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2944         (basic_ios::widen): Same.
2946 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
2948         * testsuite/22_locale/money_get_members_char.cc:
2949         Add comment, tidy up.
2950         (test01): more "en_HK" tests (without showbase).
2951         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2953 2002-02-06  Loren Rittle <ljrittle@acm.org>
2955         * config/locale/c_locale_generic.cc: Do not trust
2956         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2957         set by configure.
2959 2002-02-06  Loren Rittle <ljrittle@acm.org>
2961         * acinclude.m4: Add C++ linkage check for strtof.
2962         * aclocal.m4: Rebuilt.
2963         * config.h.in: Rebuilt.
2964         * configure: Rebuilt.
2965         * config/locale/c_locale_generic.cc: Conditionally include
2966         <ieeefp.h>.  Improve handling and error checking of float
2967         and long double input for non-C99 configurations.
2969 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
2971         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2972         In case money_base::symbol deal properly with multi-char sign
2973         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2974         * testsuite/22_locale/money_get_members_char.cc: Add test07.
2975         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2977 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
2979         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2980         First construct a tentative returned string, then, only if the
2981         parsing succeeds, copy it into the string passed by reference.
2982         * testsuite/22_locale/money_get_members_char.cc: Add test06.
2983         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2985 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
2987         * docs/doxygen/TODO:  Impl-defined behavior now documented...
2988         * docs/html/17_intro/howto.html:  ...here.
2989         * docs/doxygen/mainpage.doxy:  Remove, rename...
2990         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
2991         * docs/doxygen/style.css:  Add small text.
2992         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
2993         * docs/doxygen/user.cfg.in:  Likewise.
2995 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
2997         * include/bits/stl_map.h:  Initial doxygen markup.
2998         * include/std/std_fstream.h:  Initial doxygen markup.
3000 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
3002         libstdc++/5579
3003         * include/bits/locale_facets.tcc (money_get::do_get(string)):
3004         Deal correctly with !(__io.flags() & ios_base::showbase)
3005         for case money_base::symbol.
3006         * testsuite/22_locale/money_get_members_char.cc: Add test05.
3007         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3009 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
3011         * testsuite/22_locale/operators.cc
3012         (gnu_collate::do_compare()): Add return statement to
3013         suppress "no return statement" warning.
3015 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
3017         * testsuite/27_io/ostream_manip.cc: Enable test02.
3019 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
3021         * docs/html/documentation.html:  Update for 3.0.96.
3022         * docs/html/faq/index.html:  Update for 3.0.96.
3023         * docs/html/faq/index.txt:  Regenerated.
3024         * docs/doxygen/TODO:  Update notes.
3025         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
3027 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
3029         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3030         Initialize all data members in copy ctor. Make ctors explicit.
3031         (__enc_traits::__enc_traits()): Default ctor does nothing.
3032         (__enc_traits::_M_init): Guard against multiple iconv_opens.
3033         * include/std/std_sstream.h (basic_stringbuf): Make data members
3034         protected.
3035         * include/std/std_fstream.h (basic_filebuf): Same.
3036         * include/std/std_streambuf.h: Tweak.
3037         * include/bits/streambuf.tcc: Same.
3038         * include/bits/sstream.tcc: Same.
3039         * include/bits/fstream.tcc: Same.
3041 2002-01-31  Loren Rittle <ljrittle@acm.org>
3043         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3044         allow NULL argument to be passed to setenv().
3045         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3046         * testsuite/22_locale/collate_members_char.cc: Likewise.
3047         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3048         * testsuite/22_locale/ctype_members_char.cc: Likewise.
3049         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3050         * testsuite/22_locale/messages_members_char.cc: Likewise.
3051         * testsuite/22_locale/money_get_members_char.cc: Likewise.
3052         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3053         * testsuite/22_locale/money_put_members_char.cc: Likewise.
3054         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3055         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3056         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3057         * testsuite/22_locale/num_get_members_char.cc: Likewise.
3058         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3059         * testsuite/22_locale/num_put_members_char.cc: Likewise.
3060         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3061         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3062         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3063         * testsuite/22_locale/time_get_members_char.cc: Likewise.
3064         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3065         * testsuite/22_locale/time_put_members_char.cc: Likewise.
3066         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3068 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
3070         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3072         * ChangeLog-2001: Fix spelling errors...
3073         * docs/html/17_intro/RELEASE-NOTES: Update.
3074         * docs/html/17_intro/TODO: Update.
3075         * README (file): Update.
3077 2002-01-30  Loren Rittle <ljrittle@acm.org>
3079         * config/locale/c_locale_generic.cc: Check errno for ERANGE
3080         instead of non-zero to aid portability.
3082 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3084         * docs/html/22_locale/messages.html: Fix example code.
3086 2002-01-30  Richard Henderson  <rth@redhat.com>
3088         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3089         out from test03 and templatize.
3090         (test03): Use it.
3092 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
3094         * config/locale/numpunct_members_gnu.cc
3095         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3096         Fix initialization of _M_grouping for locales which have
3097         _M_thousands_sep == '\0'(L'\0', respectively).
3098         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3100 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
3102         * testsuite/27_io/ostream_inserter_arith.cc (test03):
3103         Better fix for 32/64 bit architectures, avoiding the
3104         implicit assumption that CHAR_BIT == 8.
3106 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
3108         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
3109         * Makefile.in:  Regenerate.
3111         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
3112         * docs/doxygen/Intro.3:  Update.
3113         * docs/doxygen/TODO:  Update.
3114         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
3115         * docs/doxygen/mainpage.doxy:  Update.
3116         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
3117         regenerate comments and variables with 1.2.12.
3118         * docs/doxygen/maint.cfg.in:  Remove file.
3120         * include/bits/stl_relops.h:  Doxygenate.
3121         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
3123         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3124         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3125         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3126         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3127         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3128         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3129         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3130         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3131         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3132         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3133         include/ext/hash_set, include/ext/iterator, include/ext/memory,
3134         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3135         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3136         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3137         include/std/std_algorithm.h, include/std/std_bitset.h,
3138         include/std/std_complex.h, include/std/std_deque.h,
3139         include/std/std_fstream.h, include/std/std_functional.h,
3140         include/std/std_iomanip.h, include/std/std_ios.h,
3141         include/std/std_iosfwd.h, include/std/std_iostream.h,
3142         include/std/std_istream.h, include/std/std_iterator.h,
3143         include/std/std_limits.h, include/std/std_list.h,
3144         include/std/std_locale.h, include/std/std_map.h,
3145         include/std/std_memory.h, include/std/std_numeric.h,
3146         include/std/std_ostream.h, include/std/std_queue.h,
3147         include/std/std_set.h, include/std/std_sstream.h,
3148         include/std/std_stack.h, include/std/std_stdexcept.h,
3149         include/std/std_streambuf.h, include/std/std_string.h,
3150         include/std/std_utility.h, include/std/std_valarray.h,
3151         include/std/std_vector.h:  Add/correct @file doxygen hook.
3153         * include/ext/memory:  Doxygenate most of rest of file.
3154         * libsupc++/exception:  Doxygen output formatting.
3155         * libsupc++/new:  Say which header it is.
3157         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
3158         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
3159         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
3160         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
3162 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
3163             Charles Leggett <CGLeggett@lbl.gov>
3165         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3167 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
3169         * testsuite/27_io/ostream_inserter_arith.cc (test03):
3170         Fix to deal correctly with both 32 bit and 64 bit architectures
3172 2002-01-25  Loren Rittle <ljrittle@acm.org>
3174         * testsuite/thread/pthread1.cc: Use one condition variable
3175         per predicate instead of tricky use of one condition variable.
3177 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
3179         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3180         streams.
3181         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3182         * testsuite/27_io/filebuf.cc: Compile only.
3183         * testsuite/27_io/filebuf_members.cc: Move tests to here.
3184         * testsuite/27_io/filebuf_virtuals.cc: And here.
3185         Revert sungetc, sync changes for expected values.
3186         * testsuite/27_io/filebuf-*: Move to...
3187         * testsuite/27_io/filebuf_virtuals-*: ...here.
3188         * testsuite/27_io/istream.cc: Compile only, activate.
3189         * testsuite/27_io/ostream.cc: Same.
3190         * testsuite/27_io/iostream.cc: New.
3191         * testsuite/27_io/iostream_members.cc: New.
3193 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
3195         * testsuite/thread/pthread1.cc: Enable on cygwin.
3196         * testsuite/thread/pthread2.cc: Likewise.
3197         * testsuite/thread/pthread3.cc: Likewise.
3198         * testsuite/thread/pthread4.cc: Likewise.
3199         * testsuite/thread/pthread5.cc: Likewise.
3200         * testsuite/thread/pthread6.cc: Likewise.
3202 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
3204         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3206 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
3208         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3209         const, tweak.
3210         (basic_ios::fill(char_type)): Use fill().
3211         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3212         (basic_ios::narrow): Same.
3213         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3214         if they are invalid.
3215         (basic_ios::init): Comment.
3216         * testsuite/27_io/ios_init.cc (test02): New.
3218 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
3220         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
3221         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
3222         * include/ext/memory:  Do not include stl_tempbuf.h.
3223         (temporary_buffer):  Add doxygen hook.
3224         (__get_temporary_buffer, get_temporary_buffer,
3225         return_temporary_buffer):  Move back to std:: header...
3226         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
3227         * include/ext/rope:  Do not include stl_tempbuf.h.
3228         * include/ext/stl_hashtable.h:  Likewise.
3229         * include/std/std_algorithm.h:  Likewise.
3230         * testsuite/20_util/temporary_buffer.cc:  New file.
3232 2002-01-24  andrew@andypo.net
3233             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
3235         libstdc++/5432
3236         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3237         * include/bits/localefwd.h: Likewise.
3238         Also use for std::locale::id::_S_highwater.
3239         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3240         * src/locale.cc: Support new usage of _Atomic_word.
3241         (std::locale::classic): Guard entire function against reentry.
3242         * src/localename.cc: Support new usage of _Atomic_word.
3244 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
3246         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3247         _GLIBCPP_HAVE_SETENV.
3248         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3249         * testsuite/22_locale/collate_members_char.cc (test02): Same.
3250         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3251         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3252         * testsuite/22_locale/messages_members_char.cc (test02): Same.
3253         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3254         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3255         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3256         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3257         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3258         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3259         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3260         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3261         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3262         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3263         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3264         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3265         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3266         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3267         * aclocal.m4: Regenerate.
3268         * configure: Regenerate.
3269         * config.h.in: Regenerate.
3271 2002-01-23  Loren Rittle <ljrittle@acm.org>
3273         * testsuite/thread/pthread1.cc: New test.
3274         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3275         * testsuite/thread/pthread3.cc: Likewise.
3276         * testsuite/thread/pthread4.cc: New test adapted from
3277         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3278         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3279         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3281 2002-01-23  Richard Henderson  <rth@redhat.com>
3283         PR libstdc++/5198
3284         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3285         CAS on the cpu variants that support it.  Add versions that use
3286         TAS and that disable interrupts.
3287         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3289 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
3291         * include/bits/locale_facets.tcc: Remove old comments.
3293 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
3295         * include/bits/locale_facets.tcc (__convert_to_v): Change template
3296         parameter to _Tv.
3297         (__convert_from_v): Same.
3299 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
3301         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3302         prototype.
3303         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3304         __max_digits checks, adjust arguments.
3305         (num_get::do_get(*)): Changeup.
3307 2002-01-23  Loren Rittle <ljrittle@acm.org>
3309         * config/locale/c_locale_generic.cc: Fix typename usage.
3311 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3313         * config/locale/c_locale_generic.cc: Fix.
3315 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3317         * docs/html/22_locale/messages.html: Remove angle brackets.
3318         * docs/html/17_intro/TODO: Add.
3320 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
3322         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3323         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3324         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3325         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3327 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3329         Audit for LANG independence.
3330         * include/bits/localefwd.h: Tweaks.
3331         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3332         Use __convert_to_v.
3333         (time_get::do_get_year): Same.
3334         (__convert_from_v): Add.
3335         (num_put::_M_convert_float): Use.
3336         (num_put::_M_convert_int): Same.
3337         (money_put::do_put): Same.
3339         * src/locale-inst.cc: Add instantiations for __convert_from_v.
3340         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3341         * config/locale/time_members_generic.cc:
3342         * config/locale/messages_members_gnu.cc: Same.
3343         * config/locale/messages_members_gnu.h: Same.
3345         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3346         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3347         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3348         * testsuite/22_locale/collate_members_char.cc (test02): New.
3349         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3350         * testsuite/22_locale/ctype_members_char.cc (test03): New.
3351         * testsuite/22_locale/messages_members_char.cc (test02): New.
3352         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3353         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3354         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3355         * testsuite/22_locale/money_get_members_char.cc (test04): New.
3356         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3357         * testsuite/22_locale/money_put_members_char.cc (test04): New.
3358         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3359         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3360         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3361         * testsuite/22_locale/time_put_members_char.cc (test03): New.
3362         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3363         * testsuite/22_locale/time_get_members_char.cc (test07): New.
3364         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3365         * testsuite/22_locale/num_get_members_char.cc (test03): New.
3366         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3367         * testsuite/22_locale/num_put_members_char.cc (test03): New.
3369         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3370         locale issues.
3371         * testsuite/22_locale/time_get_members_char.cc: Same.
3373 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3375         libstdc++/5280
3376         * include/bits/localefwd.h: Tweak comments.
3377         * include/bits/locale_facets.h (__convert_to_v): Add.
3378         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3379         (num_get::do_get(float)): Same.
3380         (num_get::do_get(long double)): Same.
3381         (num_get::do_get(bool)): Same.
3382         (num_get::do_get(long)): Same.
3383         (num_get::do_get(long long)): Same.
3384         (num_get::do_get(unsigned int)): Same.
3385         (num_get::do_get(unsigned short)): Same.
3386         (num_get::do_get(unsigned long)): Same.
3387         (num_get::do_get(unsigned long long)): Same.
3388         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3389         * config/locale/c_locale_generic.cc: Same.
3391 2002-01-22  Loren Rittle <ljrittle@acm.org>
3393         * include/Makefile.am (c_base_builddir): Remove redundant slash.
3394         (std_builddir): Likewise.
3395         (std_headers_rename): Fix cut-n-paste typo.
3396         (install-data-local): Concat path per element instead of once to
3397         first element of list.
3398         * include/Makefile.in: Rebuilt.
3400 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3402         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3403         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3404         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3406 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
3408         * include/bits/locale_facets.h (ctype<char>::classic_table):
3409         Remove definition.
3410         (ctype<char>::_S_ctable): Remove.
3411         * config/os/gnu-linux/bits/ctype_noninline.h
3412         (ctype<char>::_S_table): Remove definition.
3413         (ctype<char>::classic_table): Define.
3414         (ctype<char>::ctype): Replace _S_ctable with classic_table().
3415         * config/os/aix/bits/ctype_noninline.h: Same.
3416         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3417         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3418         * config/os/djgpp/bits/ctype_noninline.h: Same.
3419         * config/os/generic/bits/ctype_noninline.h: Same.
3420         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3421         * config/os/hpux/bits/ctype_noninline.h: Same.
3422         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3423         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3424         * config/os/mingw32/bits/ctype_noninline.h: Same.
3425         * config/os/newlib/bits/ctype_noninline.h: Same.
3426         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3427         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3428         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3430 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
3432         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3433         of _pctype. Use to define _S_ctable.  Add definition for alternate
3434         ctor.  Initialise _M_ctable to _S_ctable in ctors.
3435         (do_toupper, do_tolower): Use inline code appropriate for C-locale
3436         rather than ::toupper, ::tolower.
3438 2002-01-18  Loren Rittle <ljrittle@acm.org>
3440         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3441         Add specialization for FreeBSD systems only to avoid losing test
3442         only due to extra precision unmentioned in system headers.
3444 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
3446         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3448 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
3450         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
3451         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3453 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3455         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3457 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
3459         * configure.target: Define OPT_LDFLAGS for AIX case.
3461 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3463         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3464         __glibcpp_double_has_quiet_NaN): Correct mispelling.
3466 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
3468         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3470 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
3472         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3473         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
3474         * aclocal.m4: Regenerate.
3475         * configure: Regenerate.
3477 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3479         * include/Makefile.am (c_base_headers_rename): New.
3480         (c_base_headers_extra): New.
3481         (stamp-c_base): Modify.
3482         (install-data-local): Use both.
3483         * include/Makefile.in: Regenerate.
3484         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3485         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3486         cstdio ctime cwctype]: Move to..
3487         * include/c/std_*: Here.
3488         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3489         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3490         cstdio ctime cwctype]: Move to..
3491         * include/c_std/std_*: Here.
3493         Alexandre Oliva  <aoliva@redhat.com>
3494         * include/Makefile.am (.PRECIOUS): Add rule.
3495         * include/Makefile.in: Regenerate.
3497 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3498             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3500         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3501         Deuglify, should be current.
3502         (back_insert_iterator::_M_container): Deuglify, should be container.
3503         (front_insert_iterator::_M_container): Same.
3504         (insert_iterator::_M_container): Same.
3505         * testsuite/24_iterators/reverse_iterator.cc: Add check.
3506         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3507         * testsuite/24_iterators/front_insert_iterator.cc: Same.
3508         * testsuite/24_iterators/insert_iterator.cc: Same.
3510 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3512         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3513         static.
3514         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3515         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3516         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3517         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3518         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3519         * config/os/newlib/bits/ctype_noninline.h: Same.
3520         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3521         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3522         * config/os/hpux/bits/ctype_noninline.h: Same.
3523         * config/os/djgpp/bits/ctype_noninline.h: Same.
3524         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3525         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3526         * config/os/aix/bits/ctype_noninline.h: Same.
3528         Testcase by Dietmar Kühl via Peter Schmid
3529         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3530         classic_table().
3532 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3534         * libmath/signbitl.c: Copyright years as list, not range.
3535         * libmath/Makefile.am: Same.
3536         * libmath/Makefie.in: Regenerate.
3537         * libmath/signbit.c: Same.
3538         * libmath/nan.c: Same.
3539         * libmath/copysignf.c: Same.
3540         * libmath/signbitf.c: Same.
3541         * testsuite/22_locale/money_get_members_char.cc: Same.
3542         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3543         * testsuite/22_locale/money_put_members_char.cc: Same.
3544         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3545         * testsuite/22_locale/time_get_members_char.cc: Same.
3546         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3547         * testsuite/22_locale/time_put_members_char.cc: Same.
3548         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3549         * testsuite/21_strings/nonmember.cc: Same.
3550         * testsuite/21_strings/compare.cc: Same.
3551         * testsuite/27_io/stringstream.cc: Same.
3552         * testsuite/27_io/stringbuf.cc: Same.
3553         * testsuite/27_io/filebuf.cc: Same.
3554         * testsuite/27_io/ios_manip_basefield.cc: Same.
3555         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3556         * include/bits/cpp_type_traits.h: Same.
3557         * include/bits/generic_shadow.h: Same.
3558         * include/bits/gslice_array.h: Same.
3559         * include/bits/gslice.h: Same.
3560         * include/bits/indirect_array.h: Same.
3561         * include/bits/slice_array.h: Same.
3562         * include/bits/sstream.tcc: Same.
3563         * include/bits/streambuf_iterator.h: Same.
3564         * include/bits/valarray_array.tcc: Same.
3565         * include/bits/valarray_meta.h: Same.
3566         * include/bits/valarray_array.h: Same.
3567         * config/os/mingw32/bits/ctype_noninline.h: Same.
3568         * config/os/mingw32/bits/ctype_base.h: Same.
3569         * config/os/hpux/bits/ctype_noninline.h: Same.
3570         * config/os/hpux/bits/ctype_base.h: Same.
3571         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3572         * config/os/gnu-linux/bits/ctype_base.h: Same.
3573         * config/os/generic/bits/ctype_noninline.h: Same.
3574         * config/os/generic/bits/ctype_base.h: Same.
3576         * libsupc++/tinfo.h: Tweaks.
3578 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3580         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3581         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3582         * testsuite/22_locale/ctype_members_char.cc: Tweak.
3584 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3586         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3587         (num_put::do_put(void*)): Fix.
3588         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3589         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3590         * testsuite/22_locale/num_get_members_char.cc (test02): Add
3591         long double, void, bool types.
3592         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3594 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3595             Alexandre Oliva  <aoliva@redhat.com>
3597         * libmath/Makefile.am (LINK): Add --tag CC.
3598         * libmath/Makefile.in: Regenerate.
3600 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3602         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3603         of character to attribute mapping table.
3605 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
3607         * testsuite/26_numerics/c99_classification_macros_c.cc
3608         Remove dg-error and dg-excess-errors comments.
3610 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
3612         * include/bits/locale_facets.tcc (time_put::put): Correct output
3613         iterator positions.
3614         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3615         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3616         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3617         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3619 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3621         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3623 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
3624             Nathan Myers  <ncm@cantrip.org>
3626         * include/bits/basic_string.h
3627         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3628         temporaries (i.e., call _M_replace_safe) when possible.
3629         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3630         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3631         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3632         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3633         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3634         * include/bits/basic_string.tcc
3635         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3636         replace(__pos, __n1, __s, __n2).
3637         * testsuite/21_strings/replace.cc (test03): New testcases.
3639         * include/bits/basic_string.h (insert(__pos, __s, __n)):
3640         Adjust comparison wrt overflow.
3642 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3644         * include/Makefile.am (std_headers_rename): New variable.
3645         (install-data-local): Use it.
3646         * include/Makefile.in: Regenerate.
3648 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3650         * include/bits/locale_facets.tcc (money_put::do_put(string):
3651         Correct output iterator value.
3652         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3653         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3655 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3657         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
3658         previous commit.
3660 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3662         * include/Makefile.am (std_headers):  Update list with new names.
3663         (stamp-std):  Link to standardized name.
3664         * include/Makefile.in:  Regenerate.
3666         * include/std/algorithm, include/std/bitset, include/std/complex,
3667         include/std/deque, include/std/fstream, include/std/functional,
3668         include/std/iomanip, include/std/ios, include/std/iosfwd,
3669         include/std/iostream, include/std/istream, include/std/iterator,
3670         include/std/limits, include/std/list, include/std/locale,
3671         include/std/map, include/std/memory, include/std/numeric,
3672         include/std/ostream, include/std/queue, include/std/set,
3673         include/std/sstream, include/std/stack, include/std/stdexcept,
3674         include/std/streambuf, include/std/string, include/std/utility,
3675         include/std/valarray, include/std/vector:  Rename to...
3677         * include/std/std_algorithm.h, include/std/std_bitset.h,
3678         include/std/std_complex.h, include/std/std_deque.h,
3679         include/std/std_fstream.h, include/std/std_functional.h,
3680         include/std/std_iomanip.h, include/std/std_ios.h,
3681         include/std/std_iosfwd.h, include/std/std_iostream.h,
3682         include/std/std_istream.h, include/std/std_iterator.h,
3683         include/std/std_limits.h, include/std/std_list.h,
3684         include/std/std_locale.h, include/std/std_map.h,
3685         include/std/std_memory.h, include/std/std_numeric.h,
3686         include/std/std_ostream.h, include/std/std_queue.h,
3687         include/std/std_set.h, include/std/std_sstream.h,
3688         include/std/std_stack.h, include/std/std_stdexcept.h,
3689         include/std/std_streambuf.h, include/std/std_string.h,
3690         include/std/std_utility.h, include/std/std_valarray.h,
3691         include/std/std_vector.h:  ...this.
3693 2002-01-11  Loren Rittle <ljrittle@acm.org>
3695         * include/Makefile.am (extra_target_headers): New list of all
3696         target files built with ad hoc naming rules.
3697         (stamp-*): Handle LN_S failure in manner portable across make
3698         implementations.
3699         (install-data-local): Install header files from human-maintained
3700         file lists and directory components instead of non-robust find.
3701         * include/Makefile.in: Rebuilt.
3703 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
3705         * include/bits/locale_facets.tcc (money_get::do_get(string)):
3706         Check for zero-length negative sign before adding it to output
3707         string.
3708         (money_get::do_get(long double)): Return beg.
3709         * testsuite/22_locale/money_get_members_char.cc (test02): Add
3710         iterator checks.
3711         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3713 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
3715         libstdc++/5331
3716         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3717         for _M_extract_float and _M_extract_int
3718         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3719         (num_get<>::_M_extract_int): Likewise, all callers changed
3720         * testsuite/22_locale/num_get_members_char.cc: Testcase
3722 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
3724         * libsupc++/exception (bad_exception): Add comment.
3725         * libsupc++/new (bad_alloc): Same.
3726         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3728 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
3730         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3731         that the destructors should be removed from the descriptions
3732         in the standard: writing them explicitly allows the vtable
3733         heuristic to work. For additional information see:
3734         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3735         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3736         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3737         * libsupc++/exception (bad_exception::~bad_exception()):
3738         Reintroduce declaration.
3739         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3740         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3741         (bad_typeid::~bad_typeid()): Same.
3742         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3743         Reintroduce definition.
3744         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3745         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3746         (bad_typeid::~bad_typeid()): Same.
3748 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
3750         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3751         * include/Makefile.in: Regenerate.
3753 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
3755         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3756         definition.
3758 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
3760         libstdc++/2913
3761         libstdc++/4879
3762         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3763         return value of _M_file->sync().
3764         (filebuf::showmanyc): Check for is_open.
3765         * include/std/fstream (filebuf::sync): Tweak.
3766         * testsuite/27_io/filebuf.cc: Tweak.
3768 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
3769             Brad Garcia  <garsh@attbi.com>
3771         * testsuite/27_io/filebuf_members.cc: Add test.
3773 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
3774             Craig Rodrigues  <rodrigc@mediaone.net>
3776         libstdc++/5174
3777         * po/Makefile.am (mkinstalldirs): Add.
3778         * po/Makefile.in: Regenerate.
3780 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
3782         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3783         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
3784         compiler output.
3785         * testsuite/23_containers/map_operators.cc: Remove
3786         dg-excess-errors comment.
3787         * testsuite/23_containers/set_operators.cc: Likewise.
3789 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
3791         * include/bits/stl_function.h:  Remove two lines of comments;
3792         adjust copyright years.
3794 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
3796         * include/Makefile.am (std_headers): Remove cXXX from list.
3797         (c_base_srcdir): No bits subdirectory.
3798         (c_base_builddir): Same.
3799         (c_base_headers): Adjust names, add ciso646.
3800         (bits_headers): Remove std_xxx.h headers.
3801         * include/Makefile.in: Regenerate.
3803         * include/ext/iterator: Adjust includes.
3804         * include/ext/ropeimpl.h: Same.
3805         * include/ext/stl_hash_fun.h: Same.
3806         * include/ext/algorithm: Same.
3808         * include/backward/bvector.h: Adjust includes.
3809         * include/backward/vector.h: Same.
3810         * include/backward/strstream: Same.
3811         * include/backward/streambuf.h: Same.
3812         * include/backward/stack.h: Same.
3813         * include/backward/set.h: Same.
3814         * include/backward/queue.h: Same.
3815         * include/backward/multiset.h: Same.
3816         * include/backward/multimap.h: Same.
3817         * include/backward/map.h: Same.
3818         * include/backward/list.h: Same.
3819         * include/backward/iterator.h: Same.
3820         * include/backward/iostream.h: Same.
3821         * include/backward/iomanip.h: Same.
3822         * include/backward/fstream.h: Same.
3823         * include/backward/deque.h: Same.
3824         * include/backward/complex.h: Same.
3826         * include/bits/std_algorithm.h: Move to...
3827         * include/std/algorithm: ...here.
3828         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3829         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3830         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3831         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3832         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3833         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3834         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3835         Same.
3837         * include/c_std/bits/std_cassert.h: Move to...
3838         * include/c_std/cassert: Here.
3839         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3840         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3841         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3842         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3843         std_cwctype.h: Same.
3844         * include/c_std/cmath: Adjust cmath.tcc include.
3845         * include/c_std/cstdlib: Adjust includes.
3846         * include/c_std/cwchar: Same.
3847         * include/c_std/ctime: Same.
3848         * include/c_std/cstring: Same.
3849         * include/c_std/cstdio: Same.
3850         * include/c_std/bits: Remove directory.
3852         * include/c/bits/std_cassert.h: Move to...
3853         * include/c/cassert: Here.
3854         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3855         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3856         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3857         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3858         std_cwctype.h: Same.
3859         * include/c/bits: Remove directory.
3861         * include/std/cwctype: Remove.
3862         * include/std/cwchar: Remove.
3863         * include/std/ctime: Remove.
3864         * include/std/cstring: Remove.
3865         * include/std/cstdlib: Remove.
3866         * include/std/cstdio: Remove.
3867         * include/std/cstddef: Remove.
3868         * include/std/cstdarg: Remove.
3869         * include/std/csignal: Remove.
3870         * include/std/csetjmp: Remove.
3871         * include/std/cmath: Remove.
3872         * include/std/clocale: Remove.
3873         * include/std/climits: Remove.
3874         * include/std/ciso646: Remove.
3875         * include/std/cfloat: Remove.
3876         * include/std/cerrno: Remove.
3877         * include/std/cctype: Remove.
3878         * include/std/cassert: Remove.
3880         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3881         files and subsituting <xxx>.
3882         * include/bits/valarray_array.h: Same.
3883         * include/bits/stl_uninitialized.h: Same.
3884         * include/bits/stl_alloc.h: Same.
3885         * include/bits/stl_algobase.h: Same.
3886         * include/bits/sstream.tcc: Same.
3887         * include/bits/pthread_allocimpl.h: Same.
3888         * include/bits/ostream.tcc: Same.
3889         * include/bits/localefwd.h: Same.
3890         * include/bits/locale_facets.tcc: Same.
3891         * include/bits/locale_facets.h: Same.
3892         * include/bits/istream.tcc: Same.
3893         * include/bits/char_traits.h: Same.
3894         * include/bits/boost_concept_check.h: Same.
3895         * include/bits/basic_file.h: Same.
3896         * include/std/bitset: Same.
3897         * include/std/complex: Same.
3898         * include/std/fstream: Same.
3899         * include/std/functional: Same.
3900         * include/std/ios: Same.
3901         * include/std/iostream: Same.
3902         * include/std/ostream: Same.
3903         * include/std/sstream: Same.
3904         * include/std/streambuf: Same.
3905         * include/std/string: Same.
3906         * include/std/iterator: Same.
3907         * include/std/valarray: Same.
3909         * src/ios.cc: Adjust includes.
3910         * src/valarray-inst.cc: Same.
3911         * src/string-inst.cc: Same.
3912         * src/stl-inst.cc: Same.
3913         * src/stdexcept.cc: Same.
3914         * src/misc-inst.cc: Same.
3915         * src/localename.cc: Same.
3916         * src/locale-inst.cc: Same.
3917         * src/locale.cc: Same.
3918         * src/limits.cc: Same.
3919         * src/concept-inst.cc: Same.
3920         * src/complex_io.cc: Same.
3921         * src/codecvt.cc: Same.
3922         * src/bitset.cc: Same.
3923         * src/cmath.cc: Same.
3925 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
3927         * include/bits/stl_tree.h (rb_tree):  Move to...
3928         * include/ext/rb_tree:  ...here, new file.
3929         * include/Makefile.am (ext_headers):  Add new file.
3930         * include/Makefile.in:  Regenerate.
3931         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3932         return_temporary_buffer, struct temporary_buffer):  Move to...
3933         * include/ext/memory:  ...here.
3934         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
3935         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
3936         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
3938 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
3940         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
3941         * include/ext/numeric:  ...here, new file.
3942         * include/bits/stl_function.h (identity_element, unary_compose,
3943         binary_compose, compose1, compose2, identity, select1st,
3944         select2nd, project1st + helper, project2nd + helper,
3945         constant_void_fun + helper, constant_unary_fun + helper,
3946         costant_binary_fun + helper, constant0, constant1, constant2,
3947         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
3948         * include/ext/functional:  ...here, new file.
3949         * include/Makefile.am (ext_headers):  Add new files.
3950         * include/Makefile.in:  Regenerate.
3951         * testsuite/ext/headers.cc:  Include <ext/numeric> and
3952         <ext/functional>.
3953         * include/backward/algo.h:  Include <ext/numeric>, tweak.
3954         * include/backward/function.h:  Include <ext/functional>, tweak.
3955         * include/ext/ropeimpl.h:  Include <ext/numeric>.
3957 2002-01-03  Jeffrey A Law  <law@redhat.com>
3959         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3960         __strtoull declarations with __extension__.
3962 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
3964         * testsuite/lib/prune.exp: Correct regular expression for
3965         -ffunction-sections
3967 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3969         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3970         Change concept checks, as with lower_bound and PR 2054.
3971         * testsuite/ext/concept_checks.cc:  Expand test to include those.
3973 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3975         * include/bits/boost_concept_check.h:  Import some changes from
3976         upsteam (Boost) version.
3978 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
3980         * include/bits/stl_algobase.h (copy_n + helpers,
3981         lexicographical_compare_3way + helpers):  Move to...
3982         * include/ext/algorithm:  ...here.
3983         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3984         helpers):  Move to...
3985         * include/ext/memory:  ...here, new file.
3986         * include/Makefile.am (ext_headers):  Add new file.
3987         * include/Makefile.in:  Regenerate.
3988         * testsuite/ext/headers.cc:  Include <ext/memory>.
3989         * include/backward/algobase.h:  Include <ext/memory> and
3990         <ext/algorithm>, tweak.
3991         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
3992         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
3994 2002-01-01  Roger Sayle <roger@eyesopen.com>
3996         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3997         equivalent ___builtin__ versions.
3999         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4000         are available in libstdc++ as the necessary stub implementations
4001         are provided by libmath/stubs.c.
4003 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
4005         * configure.in: Add support for NetBSD cross compiles.
4006         * configure: Regenerate.