gcc/
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob0320356c578ba3650feee5f4c5053d354c82ccbe
1 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3         * include/std/std_limits.h (__glibcpp_char_bits,
4         __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
5         __glibcpp_long_long_bits, __glibcpp_float_bits,
6         __glibcpp_double_bits, __glibcpp_long_double_bits): Remove.  Use
7         compiler predifined macros.
8         (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
9         __WCHAR_UNSIGNED__. 
11 2002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
13         * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
14         __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
15         __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
16         __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
17         __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
18         __glibcpp_f64_infinity_bytes,
19         __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
20         __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
21         __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
22         __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
23         __glibcpp_f80_infinity_bytes,
24         __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
25         __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
26         __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
27         __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
28         __glibcpp_f96_infinity_bytes,
29         __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
30         __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
31         __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
32         __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
33         __glibcpp_f128_infinity_bytes,
34         __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
35         __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
36         __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
37         __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
38         __glibcpp_float_infinity_bytes,
39         __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
40         __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
41         __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
42         __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
43         __glibcpp_double_infinity_bytes,
44         __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
45         __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
46         __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
47         __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
48         __glibcpp_long_double_infinity_bytes,
49         __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
50         __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
51         __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
52         __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
53         New macros.
54         (__glibcpp_word_bits, __glibcpp_word): Likewise.
55         (__glibcpp_byte): New typedef.
56         (__float_storage, __double_storage, __long_double_storage): New types.
57         (__glibcpp_float_infinity, __glibcpp_float_QNaN,
58         __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
59         objects. Declare.
60         (__glibcpp_double_infinity, __glibcpp_double_QNaN,
61         __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
62         (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
63         __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
64         Likewise.
65         
66         * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
67         __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
68         (__glibcpp_double_infinity, __glibcpp_double_QNaN,
69         __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
70         (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
71         __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
72         Likewise.
73         
74 2002-08-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
76         * include/std/std_limits.h: Indent conditional macro definitions.
78 2002-08-23  Phil Edwards  <pme@gcc.gnu.org>
80         * Makefile.am (check-abi):  Specify current directory.
81         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  Fix shell syntax, use
82         abi_baseline_triplet in baseline_file.
83         * Makefile.in, aclocal.m4, configure:  Regenerate.
84         * configure.target:  Add abi_baseline_triplet with default.
85         * testsuite/abi_check.cc:  More error checking.
87 2002-08-23  Phil Edwards  <pme@gcc.gnu.org>
89         * config/linker-map.gnu:  Verbose comments, clean up spacing.
90         * include/bits/stl_alloc.h:  Fix indentation of 'if' bodies, return
91         statements.
92         __allocator:  Change class declaration to struct.
93         * docs/html/17_intro/C++STYLE:  Fix typo.
94         * include/bits/stl_deque.h, include/bits/stl_list.h,
95         include/bits/stl_map.h, include/bits/stl_multimap.h,
96         include/bits/stl_vector.h:  Fix fallout from typo.
98 2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
100         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
101         GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
102         variables.
103         * aclocal.m4: Regenerate.
104         * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
105         native compiling.
106         * testsuite/Makefile.in: Regenerate.
107         
108 2002-08-22  Loren J. Rittle <ljrittle@acm.org>
110         * testsuite/abi_check.cc: Enhance shell portability.
111         Support older binutils/readelf.
112         * config/abi/i386-unknown-freebsd4.6: Add.
113         * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
115 2002-08-22  Paolo Carlini  <pcarlini@unitus.it>
117         * docs/html/faq/index.html: Add Loren James Rittle and
118         Paolo Carlini to the list of v3 maintainers.
119         * docs/html/faq/index.txt: Ditto.
120         * docs/html/17_intro/RELEASE-NOTES: Ditto.
122 2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
123             Phil Edwards  <pme@gcc.gnu.org>
124             Ulrich Drepper  <drepper@redhat.com>
125         
126         * Makefile.am (check-abi): New rule.
127         * Makefile.in: Regenerate.
128         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
129         * aclocal.m4: Regenerate.
130         * configure: Regenerate.
131         * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
132         (abi_check_SOURCES): Add.
133         * testsuite/Makefile.in: Regenerate.    
134         * testsuite/abi_check.cc: New file.
135         * config/abi: Add.
136         * config/abi/i686-pc-linux-gnu: Add.
137         * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
138         
139 2002-08-19  Benjamin Kosnik  <bkoz@redhat.com>
141         * configure.in (libtool_VERSION): Update to 5:1:0.
142         * configure: Regenerate.
143         
144 2002-08-19  Jonathan Wakely  <jw@kayari.org>
146         * docs/html/configopts.html, docs/html/documentation.html,
147         docs/html/install.html, docs/html/22_locale/codecvt.html,
148         docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
149         docs/html/22_locale/locale.html,
150         docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
152 2002-08-15  Benjamin Kosnik  <bkoz@redhat.com>
154         * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
155         _M_buf_size_opt to zero when unbuffering.
156         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
157         Consistency checks for _M_buf_size_opt.
159         Revert PR libstdc++/7445
160         * src/locale.cc (locale::classic): Revert.
161         
162         * docs/html/17_intro/TODO: Add.
163         
164 2002-08-15  Phil Edwards  <pme@gcc.gnu.org>
166         * docs/html/documentation.html:  Update doxygen links for 3.2.
168 2002-08-15  Steve Ellcey  <sje@cup.hp.com>
170         * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
171         type from void* to _Unwind_Ptr.
172         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
173         Do not cast landing_pad or base_of_encoded_value to (void *).
174         * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
175         Accept _URC_NO_REASON as a valid reason code.
177 2002-08-14  Jonathan Wakely  <jw@kayari.org>
179         * docs/html/22_locale/messages.html:  Use HTML entities for
180         punctuation.
182 2002-08-13  Jonathan Wakely  <jw@kayari.org>
183             Phil Edwards  <pme@gcc.gnu.org>
185         * docs/html/documentation.html:  Use HTML entities for punctuation.
187 2002-08-09  Phil Edwards  <pme@gcc.gnu.org>
189         * include/bits/deque.tcc, include/bits/list.tcc,
190         include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
191         include/bits/stl_list.h, include/bits/stl_map.h,
192         include/bits/stl_multimap.h, include/bits/stl_queue.h,
193         include/bits/stl_stack.h, include/bits/stl_vector.h,
194         include/bits/vector.tcc:  Re-indent contents of namespace std,
195         re-wrap comment lines as necessary.
197 2002-08-08  Danny Smith  <dannysmith@users.sourceforge.net>
198             Benjamin Kosnik  <bkoz@redhat.com>
199         
200         * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
201         not snextc.
202         * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
203         
204 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
206         * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
207         * libsupc++/Makefile.in: Regenerate.
209 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
211         PR/7491
212         * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
213         Instantiate with new function objects. 
214         * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
215         Reformat.  Uglify.
216         * include/bits/gslice_array.h: Likewise.
217         * include/bits/indirect_array.h: Likewise.
219 2002-08-03  Gabriel Dos Reis  <gdr@nerim.net>
221         * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
222         testsuite/26_numerics/valarray_name_lookup.C
224         * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
225         object function surrogates.
226         * include/bits/valarray_meta.h (__shift_left): Fix typo.
227         (_BinFunClos<>): Remove.
228         (_BinFunBase<>): Likewise.
229         (_BinFunBase1<>):Likewise.
230         (_BinFunBase2<>): Likewise.
231         (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
232         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
233         (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
234         (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
235         * include/std/std_valarray.h: Dont #include <functional> anymore.
236         (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
237         _Shift_right<>): Remove.
238         (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
239         (_DEFINE_BINARY_OPERATOR): Tweak definition.
240         (_DEFINE_LOGICAL_OPERATOR): Remove.
241         * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
243 2002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
245         * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
246         (_UnFunClos<>): Same.
247         (_UnBase<>): Reformat.  Make first template-parameter non
248         template. 
249         (_UnClos<>): Likewise.
250         (_Expr<>): Reformate.  Adjust unary member operator return types. 
251         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
252         (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
253         * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
254         (valarray<>::_UnaryOp<>):  New nested traits. Adjust unary member
255         operator return types.  Reformat.
256         (_Bitwise_not): Remove.
257         (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
258         * testsuite/26_numerics/valarray_name_lookup.C: New test.
260 2002-08-02  Danny Smith  <dannysmith@users.sourceforge.net>
262         * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
263         (scan_is): Use this->is.
264         (scan_not): Likewise.
266 2002-08-02  Benjamin Kosnik  <bkoz@redhat.com>
268         Revert PR libstdc++/6594
269         * src/strstream.cc (strstreambuf): Revert.
270         (strstreambuf::overflow): Same.
271         (strstreambuf::~strstreambuf): Same.    
272         * testsuite/backward/strstream_members.cc (test02): Add.
273         
274         * docs/html/abi.txt: Update. Spell check.
276         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
278         * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
279         * testsuite/Makefile.in: Regenerate.
280         * testsuite/testsuite_hooks.h: Use __throw_exception_again,
281         include functexcept.h so that -fno-exceptions will build.
282         
283 2002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
285         * include/bits/valarray_meta.h (__unary_plus, __negate,
286         __bitwise_not, __plus, __minus, __multiplies, __divides,
287         __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
288         __shift_left, __shift_right, __logical_and, __logical_or,
289         __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
290         __greater_equal, __greater, __atan2, __pow): New function object
291         classes. 
292         (__fun<>):  New function traits class.
294 2002-08-01  Rick Danos  <rdanos@hotmail.com>
296         PR libstdc++/7461
297         * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
298         * config/os/newlib/ctype_inline.h (is): Use static_cast.
300 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
302         * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
303         * libsupc++/Makefile.in: Regenerate.
304         
305 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
306             Jakub Jelinek  <jakub@redhat.com>
307         
308         * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
309         GLIBCPP_3.1 to GLIBCPP_3.2.
311 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
312             Mark Mitchell  <mark@codesourcery.com>
314         PR libstdc++/7442
315         * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
316         Change to __hwm_bit.
317         (__class_type_info): And here.
319 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
321         PR libstdc++/7442
322         * libsupc++/cxxabi.h 
323         (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
324         (__base_class_info::__base): Change to __base_type. 2.9.5p6c
325         (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
326         (__vmi_class_type_info::__base_info): Don't make const, of type
327         __base_class_type_info, as per 2.9.5p6c
328         (__pbase_type_info::__qualifier_flags): Change to __flags, as per
329         2.9.5p7.
330         (__pbase_type_info::__qualifier_masks): Change to __masks, as per
331         2.9.5p7.
332         (__pointer_to_member_type_info::__context_class): Change member to
333         __context, as per 2.9.5p9.
334         * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
335         __context.
336         * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
337         __flags.
338         * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
339         __base_type.
340         * libsupc++/tinfo.cc (__do_dyncast): Same.
341         * libsupc++/tinfo.cc (__do_upcast): Same.
343 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
345         * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
347 2002-07-31  Simon Whomsley  <whomsley@avacadcam.com>
349         * docs/html/22_locale/howto.html: Fix.
351 2002-07-31  Alex Kompel  <shurik@sequoiap.com>
353         PR libstdc++/7445
354         * src/locale.cc (locale::classic): Move locks inside !_S_classic
355         block.
357 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
359         * docs/html/abi.txt: Update.
361 2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
362             Gabriel Dos Reis  <gdr@nerim.net>
364         * include/bits/char_traits.h: Remove generic definitions.
365         * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
366         eof, not -2.
367         * include/bits/istream.tcc (istream::readsome): Don't check
368         against eof, instead use constants.
369         (istream::sync): Same.
370         (istream::sentry::sentry): Use eq_int_type.
371         (istream::get): Same.
372         * include/bits/ostream.tcc: Change __pad to 
373         __pad<_CharT, _Traits>::_S_pad. 
374         * include/bits/locale_facets.h: Add __pad_traits generic and
375         ostreambuf_iterator specialization.
376         * include/bits/locale_facets.tcc: Change __pad into struct __pad
377         with a _CharT and _Traits template parameter and _S_pad static
378         member function.
379         * src/locale-inst.cc: Update __pad instantiations.
380         
381         * include/std/std_fstream.h: Declare _M_underflow_common
382         specializations.
383         * src/fstream.cc: New. Add _M_underflow_common specializations.
384         * include/bits/fstream.tcc (filebuf::close): Use traits_type.
385         (filebuf::_M_underflow_common(bool)): Remove generic version, as
386         sys_ungetc and custom int_types don't get along.
387         * include/std/std_streambuf.h: Add _M_pos.
388         * src/Makefile.am (sources): Add fstream.cc.
389         * src/Makefile.in: Regenerate.
391         * testsuite/21_strings/capacity.cc: Add char_traits specializations.
392         * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
393         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
394         * testsuite/22_locale/ctor_copy_dtor.cc: Same.
395         * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
396         * testsuite/27_io/filebuf.cc: ...here.
397         * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
398         specialization for both.
399         * testsuite/27_io/streambuf.cc: Add instantiation test,
400         testsuite_hooks include.
401         * testsuite/27_io/istream.cc: Same.
402         * testsuite/27_io/ostream.cc: Same.     
403         * testsuite/27_io/fstream.cc: Same.
404         * testsuite/27_io/stringstream.cc: Same.
405         * testsuite/27_io/filebuf.cc: Same.
406         * testsuite/27_io/stringbuf.cc: Same.
407         
408 2002-07-29  Alan Modra  <amodra@bigpond.net.au>
410         * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
411         * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
412         * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
413         (__test_and_set): Remove.
414         (_STWCX): Define and use.
416 2002-07-26  Phil Edwards  <pme@gcc.gnu.org>
418         * libsupc++/new (placement delete):  Remove unused parameter names.
420 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
422         PR libstdc++/7216
423         * include/std/std_istream.h (basic_iostream): Add typedefs for
424         char_type, int_type, pos_type, off_type, and traits_type.
425         * testsuite/27_io/iostream.cc (test01): Add typedef tests.
426         * testsuite/27_io/istream.cc: Same.
427         * testsuite/27_io/ostream.cc: Same.
428         * testsuite/27_io/filebuf.cc: Same.
429         * testsuite/27_io/stringbuf.cc: Replace content, move to...
430         * testsuite/27_io/stringbuf_members.cc: ...here.        
431         * testsuite/27_io/streambuf.cc: Replace content, move to...
432         * testsuite/27_io/streambuf_members.cc: ...here.        
433         * testsuite/27_io/stringstream.cc: Replace content, move to...
434         * testsuite/27_io/stringstream_members.cc: ...here.
435         * testsuite/27_io/ios.cc: New file.
436         * testsuite/27_io/fstream.cc: New file.
437         * testsuite/27_io/ifstream.cc: New file.        
438         * testsuite/27_io/ofstream.cc: New file.                
439         * testsuite/27_io/istringstream.cc: New file.   
440         * testsuite/27_io/ostringstream.cc: New file.   
441         
442 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
444         PR libstdc++/7220
445         * include/bits/istream.tcc (istream::ignore): Don't extract on
446         zero.
447         * testsuite/27_io/istream_unformatted.cc (test10): Add.
448         
449 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
451         * testsuite/27_io/ios_base_type.cc: Move to...
452         * testsuite/27_io/ios_base_types.cc: ...here.
453         
454 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
456         PR libstdc++/7222
457         * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
458         * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
459         
460 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
462         PR libstdc++/7230
463         * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
464         * include/Makefile.am (backward_headers): Use strstream, not
465         strstream.h.
466         * include/Makefile.in: Regenerate.
467         * include/backward/strstream: Revert.
468         * include/backward/strstream.h: Remove.
469         * src/strstream.cc: Revert.
470         * testsuite/backward/strstream_members.cc: Change include.      
472 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
474         PR libstdc++/7219
475         * include/bits/ios_base.h (ios_base::streampos): Add.
476         (ios_base::streamoff): Add.
477         * testsuite/27_io/ios_base_type.cc: New.
478         
479 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
481         PR libstdc++/7286
482         * libsupc++/new: Add placement delete.
483         * testsuite/18_support/new_delete_placement.cc: New.
485         * docs/html/abi.txt: Fix typos.
486         
487 2002-07-23  Benjamin Kosnik  <bkoz@redhat.com>
489         * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
490         confusing usage of "latest."
491         De-tangle contributor information from introductory notes.
492         Move abi.txt link placement, activate.
493         Re-organize.
494         Move chapter info into old FAQ format. 
495         * docs/html/organization.html: Removed, obsoleted by doxygen work.
496         * docs/html/abi.txt: Add notes on testing ABI changes.
497         
498 2002-07-20  Phil Edwards  <pme@gcc.gnu.org>
500         * docs/html/abi.txt:  New file.
501         * docs/html/23_containers/howto.html:  Tweak vector-overhead text.
502         * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
503         Import from upstream, R22.
505         * include/bits/char_traits.h, include/bits/stl_iterator.h,
506         include/bits/stl_iterator_base_types.h, libsupc++/exception,
507         libsupc++/new, libsupc++/typeinfo:  Use @brief markup.
509         * include/bits/deque.tcc, include/bits/stl_alloc.h,
510         include/bits/stl_deque.h, include/bits/stl_list.h:  Postpone removal
511         of deprecated functions until 3.4.  (Same timeframe, different text.)
512         * include/bits/stl_vector.h:  Ditto.  Also do the same cleanups that
513         the other sequence classes received.
515 2002-07-18  Brendan Kehoe  <brendan@zen.org>
517         * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
518         _Nname to _Name.
519         
520 2002-07-19  Gabriel Dos Reis  <gdr@nerim.net>
522         DR/123
523         * include/bits/slice_array.h 
524         (slice_array<T>::operator=(const T&)): Constify.
525         * include/bits/gslice_array.h 
526         (gslice_array<T>::operator=(const T&)):  Likewise.
527         * include/bits/mask_array.h 
528         (mask_array<T>::operator=(const T&)): Likewise.
529         * include/bits/indirect_array.h
530         (indirect_array<T>::operator=(const T&): Likewise.
532 2002-07-17  Phil Edwards  <pme@gcc.gnu.org>
534         * docs/doxygen/run_doxygen:  Remove template parameter names from
535         "Compound List" summary page.  Reformat.
536         * docs/html/documentation.html:  XHTML fixes.
538 2002-07-16  Andreas Schwab  <schwab@suse.de>
540         * libsupc++/new (set_new_handler): Declare to not throw any
541         exceptions.
542         * libsupc++/new_handler.cc (set_new_handler): Likewise.
544 2002-07-16  Gabriel Dos Reis  <gdr@nerim.net>
546         * include/Makefile.am (bits_headers): Remove slice.h
547         * include/Makefile.in: Regenerate.
548         * include/bits/slice.h (slice): move to include/bits/slice_array.h
549         * include/bits/slice.h Remove.
550         * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
551         * include/bits/slice_array.h: Comply to official coding styles.
552         * testsuite/26_numerics/slice.cc: New test.
554 2002-07-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
556         * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
557         print to match vendor <ctype.h>.
559 2002-07-15  Phil Edwards  <pme@gcc.gnu.org>
561         * docs/html/faq/index.html:  Fix download links.
562         * docs/html/faq/index.txt:  Regenerate.
563         * docs/html/17_intro/porting.html:  Regenerate from earlier changes.
565 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
567         * configure.target (target_os switch): Allow for irix6*o32
568         configurations.
570 2002-07-10  Gabriel Dos Reis  <gdr@nerim.net>
572         * include/bits/valarray_meta.h (_UnFunBase): Take a second
573         template parameter. Remove _M_func data member.
574         (_UnFunClos): Take a third template parameter.
575         (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
576         __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
577         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
579 2002-07-08  Eric Christopher  <echristo@redhat.com>
581         * configure.target: Fix comment for mips atomicity. Add
582         mips*-*-linux* target, enable atomic operations there.
583         * config/cpu/mips/atomicity.h: Fix comments, remove
584         #ifndef/#endif. Add push/pop mips2.
586 2002-07-08  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
588         * include/bits/stl_deque.h (_Deque_alloc_base):  Change order of
589         member declarations to avoid compiler warnings and restore 3.1 ABI.
591 2002-07-08  Phil Edwards  <pme@gcc.gnu.org>
593         * docs/html/23_containers/howto.html:  Link to dk_std::vector paper
594         and homepage.
596 2002-07-07  Paolo Carlini  <pcarlini@unitus.it>
598         PR libstdc++/7186
599         * include/bits/stl_deque.h (_Deque_iterator::operator-):
600         Make non-member, as already happens for the comparison
601         operators in accord with DR179 (Ready).
602         * testsuite/23_containers/deque_operators.cc: Add test02.
604 2002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
605             Jack Reeves  <jackw_reeves@hotmail.com>
607         * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
608         size_t, from int_type.
609         (basic_streambuf::_M_buf_size_opt): Same.
610         (basic_streambuf::_S_pback_sizex): Same.
611         * include/bits/streambuf.tcc: Same.
612         * include/std/std_streambuf.h (basic_streambuf::snextc): Use
613         eq_int_type.
614         (basic_streambuf::uflow): Same.
615         * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
616         to_char_type.
617         * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
618         * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
619         eq_int_type.
620         (basic_streambuf::xsputn): Same.
621         (__copy_streambufs): Same.
623 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
625         * include/std/std_memory.h: Fix formatting.
626         * testsuite/20_util/auto_ptr_neg.cc: New.
627         * testsuite/20_util/auto_ptr.cc: Tweaks.
628         * testsuite/23_containers/map_operators.cc (test01): Split into..
629         * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
630         * testsuite/23_containers/set_operators.cc: Move to...
631         * testsuite/23_containers/set_operators_neg.cc: ...here.
632         * testsuite/README: Add some more naming rules.
634 2002-07-03  Steev Wilcox  <steev@paradigmds.com>
636         PR libstdc++/7057
637         * include/ext/stl_hashtable.h: Fix.
638         * testsuite/ext/hash_map.cc: New.
640 2002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
641             Kenny Simpson  <theonetruekenny@yahoo.com>
642             Phil Edwards  <pme@gcc.gnu.org>
644         PR libstdc++/3946
645         * testsuite/20_util/auto_ptr.cc (test08):  New test.
646         * include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
647         (auto_ptr::operator auto_ptr_ref):  Fix typo.
648         General reformatting and doxygenating of the whole file.
650 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
652         PR libstdc++/7097
653         * include/c/std_cwchar.h: Fix.
655 2002-07-02  Benjamin Kosnik  <bkoz@redhat.com>
657         PR libstdc++/6410
658         * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
659         char* name parameter.
660         * config/locale/gnu/monetary_members.cc: Use it.
661         * config/locale/generic/monetary_members.cc: Same.
662         * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
664         * include/backward/strstream.h: Update date.
666 2002-07-02  Paolo Carlini  <pcarlini@unitus.it>
668         PR libstdc++/6642
669         * include/bits/stl_iterator.h
670         (__normal_iterator::operator-(const __normal_iterator&)):
671         Make non-member, as already happens for the comparison
672         operators in accord with DR179 (Ready).
673         * testsuite/24_iterators/iterator.cc: Add test from the PR.
675 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
677         PR libstdc++/7173
678         * acinclude.m4:  Simplify determination of gcc_version, and move
679         up to GLIBCPP_CONFIGURE.
680         * configure.in (release_VERSION):  Really remove.
681         (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
682         * aclocal.m4, configure:  Regenerate.
684 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
686         * docs/html/configopts.html, docs/html/install.html:  Tweaks.
687         * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
688         include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
689         include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.
691 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
693         * include/backward/strstream: Remove namespace std. Transfer to...
694         * include/backward/strstream.h: ...here. Qualify std names.
695         * src/strstream.cc: Remove namespace std.
696         * include/Makefile.am (backward_headers): Remove strstream.h.
697         * include/Makefile.in: Regenerate.
698         * config/linker-map.gnu: Export strstream bits.
700         * src/fstream-inst.cc: Tweak.
701         * src/io-inst.cc: Same.
702         * src/istream-inst.cc: Same.
703         * src/misc-inst.cc: Same.
704         * src/ostream-inst.cc: Same.
705         * src/sstream-inst.cc: Same.
706         * src/valarray-inst.cc: Same.
707         * src/misc-inst.cc: Remove unused instantiations.
709 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
711         * configure.in (libtool_VERSION): Bump to 5:0:0.
712         * configure: Regenerate.
714 2002-06-28  Phil Edwards  <pme@gcc.gnu.org>
716         PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
717         * include/std/std_queue.h:  Include deque.tcc, vector.tcc.
718         * include/std/std_stack.h:  Include deque.tcc.
719         * testsuite/23_containers/adaptors.cc:  New file.
721 2002-06-27  Phil Edwards  <pme@gcc.gnu.org>
723         * include/bits/stl_alloc.h:  Deprecate all 'reallocate' memfns.
724         * docs/html/ext/howto.html:  Update allocator notes.
726 2002-06-26  Benjamin Kosnik  <bkoz@redhat.com>
728         * configure.in (INTERFACE): Remove.
729         (release_VERSION): Remove.
730         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
731         (libstdcxx_interface): Change. Use gcc methods to determine version.
732         * configure: Regenerate.
733         * aclocal.m4: Regenerate.
735 2002-06-25  DJ Delorie  <dj@redhat.com>
737         * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
738         GLIBCPP_TOPREL_CONFIGURE.
739         * aclocal.m4: Likewise.
740         * configure.in: Call it before AC_CANONICAL_SYSTEM.
741         * configure: Regenerate.
743 2002-06-25  Jessica Han  <jessica@cup.hp.com>
745         * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
746         * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
747         _GLIBCPP_VTABLE_PADDING is defined.
749 2002-06-25  Benjamin Kosnik  <bkoz@redhat.com>
751         * include/bits/stl_alloc.h: Additional formatting.
753 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
755         * include/bits/stl_alloc.h:  Reformat as per C++STYLE.
757 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
759         * config/cpu/*/bits/*:  Move header files up a level.  Remove bits.
760         * config/os/*/bits/*:  Likewise.
761         * configure.in:  Update.
762         * configure:  Regenerate.
763         * configure.target:  Update.
764         * docs/html/17_intro/porting.texi:  Update.
766 2002-06-21  Phil Edwards  <pme@gcc.gnu.org>
768         * include/bits/stl_map.h, include/bits/stl_multimap.h,
769         include/bits/stl_queue.h, include/bits/stl_stack.h:  Reformat and
770         complete doxygenation.
771         * include/bits/boost_concept_check.h:  Minor comment.
773 2002-06-21  Benjamin Kosnik  <bkoz@redhat.com>
775         * include/c_compatibility: New.
776         * include/c_compatibility/assert.h: New.
777         * include/c_compatibility/ctype.h: New.
778         * include/c_compatibility/errno.h: New.
779         * include/c_compatibility/float.h: New.
780         * include/c_compatibility/iso646.h: New.
781         * include/c_compatibility/limits.h: New.
782         * include/c_compatibility/locale.h: New.
783         * include/c_compatibility/math.h: New.
784         * include/c_compatibility/setjmp.h: New.
785         * include/c_compatibility/signal.h: New.
786         * include/c_compatibility/stdarg.h: New.
787         * include/c_compatibility/stddef.h: New.
788         * include/c_compatibility/stdio.h: New.
789         * include/c_compatibility/stdlib.h: New.
790         * include/c_compatibility/string.h: New.
791         * include/c_compatibility/time.h: New.
792         * include/c_compatibility/wchar.h: New.
793         * include/c_compatibility/wctype.h: New.
795         * include/c/std_cerrno.h: Get out of the way... define errno.
796         * include/c/std_cmath.h: Add abs, modf overloads.
797         Undefine C99 isms. Still not sure how to deal with this sanely.
798         * include/c/std_csetjmp.h: Tweak.
799         * include/c/std_cwchar.h: Include cstddef for size_t.
801         * include/c_std/std_cmath.h: Remove extra function.
803         Pendantic std usage in testsuites.
804         * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
805         with std.
806         * testsuite/17_intro/header_cwchar.cc: Tweak.
807         * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
808         std::setlocale.
809         * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
810         * testsuite/22_locale/ctype_to_char.cc (test05): Same.
811         * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
812         * testsuite/22_locale/ctype_is_char.cc (test05): Same.
813         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
814         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
815         * testsuite/22_locale/time_get_members_char.cc (test08): Same.
816         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
817         * testsuite/22_locale/time_put_members_char.cc (test04): Same.
818         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
819         * testsuite/22_locale/num_put_members_char.cc (test04): Same.
820         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
821         * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
822         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
823         * testsuite/22_locale/num_get_members_char.cc: Same.
824         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
825         * testsuite/22_locale/money_put_members_char.cc (test07): Same.
826         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
827         * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
828         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
829         * testsuite/22_locale/money_get_members_char.cc (test08): Same.
830         * testsuite/22_locale/messages_members_char.cc (test03): Same.
831         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
832         * testsuite/22_locale/collate_members_char.cc (test04): Same.
833         * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
834         * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
835         * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
837 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
839         * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
840         c_sources.
842 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
844         * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
845         Use size_type instead of unsigned long.
847 2002-06-20  Steve Ellcey  <sje@cup.hp.com>
849         * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
850         wchar types.
851         (_S_min_len): Ditto.
853 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
855         * include/Makefile.am: Add rules.
856         * include/Makefile.in: Regenerate.
858         * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
859         * aclocal.m4: Regenerate.
860         * configure: Regenerate.
861         * configure.target (c_model, c_compatibility): Add.
863         * libsupc++/Makefile.am (c_sources): New.
864         (libsupc___la_SOURCES): Add c_sources.
865         (LTCOMPILE): Remove INCLUDES.
866         (GCC_INCLUDES): New.
867         (C_COMPILE): New, like COMPILE but without INCLUDES.
868         (cxa_demangle.o): Use C_COMPILE.
869         (dyn-string.o): Use C_COMPILE.
871         * include/c/std_cstdarg.h: Define __need___va_list.
872         * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
873         need_NULL, need_offsetof.
875 2002-06-19  Steve Ellcey  <sje@cup.hp.com>
877         * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*):  Remove
878         definitions in hpux11 cross-build because these functions do
879         not exist on hpux11 (but some exist on hpux10); move defaults out
880         into existing sections.
881         * configure:  Regenerate.
883 2002-06-18  Benjamin Kosnik  <bkoz@redhat.com>
885         * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
886         * include/c/std_cwctype.h: Guard.
888         * libsupc++/eh_alloc.cc: Tweak include order.
889         * libsupc++/pure.cc: Use cstdio.
890         * libsupc++/new_op.cc: Remove malloc forward declaration, as
891         cstdlib brings it in. Use std::malloc.
893         * src/Makefile.am (sources): Remove cmath.cc.
894         * src/Makefile.in: Regenerate.
895         * src/cmath.cc: Remove.
897 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
899         * configure.target:  Force mips to use the generic cpu routines.
901 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
903         * configure.host:  Delete file.
904         * configure.target:  More documentation.  Factor out common parts of
905         script into "intelligent" settings about defaults.  Remove redundancy.
907         * acinclude.m4:  Update comments.  Do not call configure.host.
908         (GLIBCPP_ENABLE_SYMVERS):  If disabled, do not bother checking for
909         libgcc_s.
910         * configure.in:  Slight reformatting, more comments.  Factor out
911         "config/" from all the directories.
912         * docs/html/17_intro/porting.texi:  Update and expand.
913         * testsuite/Makefile.am (AM_RUNTESTFLAGS):  Move empty setting
914         from configure.host.
916         * aclocal.m4, configure, docs/html/17_intro/porting.html,
917         testsuite/Makefile.in:  Regenerate.
919 2002-06-16  Phil Edwards  <pme@gcc.gnu.org>
921         * docs/doxygen/TODO:  Update.
922         * docs/doxygen/tables.html:  Uncomment magical middle column.
923         * docs/doxygen/user.cfg.in:  Kludge to ignore function-like macros.
924         * include/bits/stl_queue.h:  Doxygenate and reformat.
925         * include/bits/ios_base.h, include/std/std_streambuf.h:  Add comment
926         for deprecated names required by the standard.
928 2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>
930         * configure.in (target_alias): Fix.
931         * configure: Regenerate.
932         * aclocal.m4: Regenerate.
934 2002-06-12  Phil Edwards  <pme@gcc.gnu.org>
936         * include/Makefile.am:  Add new files.
937         * include/Makefile.in:  Regenerate.
939         * include/bits/stl_deque.h, include/bits/stl_list.h,
940         include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
941         * include/bits/deque.tcc, include/bits/list.tcc,
942         include/bits/vector.tcc:  ...to here.  New files.
944         * include/ext/stl_hashtable.h:  Inclide correct full headers.
945         * include/std/std_deque.h:  Include .tcc files for now.
946         * include/std/std_list.h:  Likewise.
947         * include/std/std_vector.h:  Likewise.
949 2002-06-12  Daniel Jacobowitz  <drow@mvista.com>
951         * Makefile.am: Add FLAGS_TO_PASS.
952         * Makefile.in: Regenerated.
954 2002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
955             Benjamin Kosnik  <bkoz@redhat.com>
957         * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
958         under *-qnx6.[12]*.
959         * configure.in: Add support for *-qnx6.[12]*.
960         * configure: Regenerate.
962         * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
963         New directories.
964         * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
965         ctype_noninline.h, os_defines.h: New files.
967 2002-06-10  Loren J. Rittle <ljrittle@acm.org>
969         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
970         include all required headers for test against older POSIX standard.
971         (GLIBCPP_CHECK_SETRLIMIT): Likewise.
972         (ac_setrlimit): Likewise.
973         * aclocal.m4: Regenerate.
974         * configure: Regenerate.
975         * testsuite/testsuite_hooks.cc: Reorder and include all
976         required headers for use against older POSIX standard.
978 2002-06-08  Paolo Carlini  <pcarlini@unitus.it>
980         * testsuite/backwards/strstream_members.cc: New.
982 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
984         * include/backwards/strstream: Format.
985         * src/strstream.cc: Format.
987 2002-06-08  Andreas Schwab  <schwab@suse.de>
989         * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
990         _M_buf_size and _M_buf_size_opt to the new buffer and size.
992 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
994         * config/os/generic/bits/ctype_noninline.h: Tweak format.
996 2002-06-07  Steve Ellcey  <sje@cup.hp.com>
998         * src/locale-inst.cc (__codecvt_abstract_base):
999         Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1000         * include/bits/istream.tcc (basic_istream): Ditto.
1001         (ws) Ditto.
1002         (operator>>) Ditto.
1003         * include/bits/ostream.tcc (basic_ostream): Ditto.
1004         (endl): Ditto.
1005         (ends): Ditto.
1006         (flush): Ditto.
1007         (operator<<): Ditto.
1009 2002-06-07  Phil Edwards  <pme@gcc.gnu.org>
1011         * mkcheck.in:  Link against local testsuite library.
1012         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):  Move null
1013         implementation out...
1014         * testsuite/testsuite_hooks.cc:  ...to here.
1016 2002-06-06  Loren J. Rittle <ljrittle@acm.org>
1018         * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1019         * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1020         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1021         * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1022         * testsuite/Makefile.in: Likewise.
1024 2002-06-05  David Edelsohn  <edelsohn@gnu.org>
1026         * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1027         Call external symbol.
1029 2002-06-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1031         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1032         Search correct multilib testsuite dir for libv3test.
1034 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
1035             Gaby Dos Reis  <gdr@codesourcery.com>
1037         * include/bits/basic_string.tcc
1038         (basic_string::_S_construct(forward_iterator_tag):
1039         Fix typo in null pointer check.
1040         * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1042 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
1044         * testsuite/22_locale/money_get_members_char.cc
1045         (test02): Add decimal point to long double constants.
1046         * testsuite/22_locale/money_get_members_wchar_t.cc
1047         (test02): Likewise.
1048         * testsuite/22_locale/money_put_members_char.cc
1049         (test02, test03, test06): Likewise.
1050         * testsuite/22_locale/money_put_members_wchar_t.cc:
1051         (test02, test03, test06): Likewise.
1052         * testsuite/22_locale/num_get_members_char.cc:
1053         (test02, test01): Likewise; suffix long long constants with LL.
1054         * testsuite/22_locale/num_get_members_wchar_t.cc:
1055         (test02, test01): Likewise.
1056         * testsuite/22_locale/num_put_members_char.cc:
1057         (test02, test01): Likewise.
1058         * testsuite/22_locale/num_put_members_wchar_t.cc:
1059         (test02, test01): Likewise.
1061 2002-06-03  Marc Espie  <espie@openbsd.org>
1063         * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1064         assembly for old assemblers.
1066 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
1068         * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1069         Move/rename...
1070         (vector<bool>::swap(reference,reference)): ...to this.
1072 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
1074         * docs/doxygen/TODO:  Update.
1075         * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
1076         some class members are in 14882 order.
1077         * docs/html/ext/howto.html:  3.1 is in the past now, not the future.
1079         * include/std/std_bitset.h:  Update comment.
1080         * src/bitset.cc:  Update comments, clean up spacing.
1082         * src/Makefile.am (sources):  Alphabetize for convenience.
1083         * src/Makefile.in:  Regenerate.
1085 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
1087         * include/bits/stl_deque.h, include/bits/stl_list.h,
1088         include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
1089         Reorder to match 14882.  Doxygen blocks for all public members.
1091 2002-05-31  Marcus Meissner  <meissner@suse.de>
1093         PR libstdc++/6886
1094         * include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
1095         * testsuite/23_containers/vector_bool.cc (test02):  New test.
1097 2002-05-30  Marc Espie  <espie@openbsd.org>
1099         * configure.in: Always check for sys/types.h
1100         * configure: Regenerate.
1102 2002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1104         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1105         Rebuild the wrapper file every time this proc is called.
1107 2002-05-28  Phil Edwards  <pme@gcc.gnu.org>
1109         * testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
1110         CXX/INCLUDES.
1111         * testsuite/Makefile.in:  Regenerate.
1112         * testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
1113         list_modifiers.cc and rename from 'T'.  Move code bodies...
1114         * testsuite/testsuite_hooks.cc:  ...to here.  New file.
1115         * testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
1116         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1117         Add libv3test.a to link options.
1119 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1121         * src/misc-inst.cc: Define unnecessary algorithm
1122         instantiations. Break apart instantiations into groupings below.
1123         * src/fstream-inst.cc: New.
1124         * src/io-inst.cc: New.
1125         * src/istream-inst.cc: New.
1126         * src/ostream-inst.cc: New.
1127         * src/streambuf-inst.cc: New.
1128         * src/sstream-inst.cc: New.
1129         * src/Makefile.am (sources): Add files.
1130         * src/Makefile.in: Regenerate.
1132         * acinclude.m4: Work around automake 1.4-p5 bug, change
1133         AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1135 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1137         PR libstdc++/6795.
1138         * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1139         (classic_table): Fix.
1140         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1142 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1144         * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1145         _GLIBCPP_USE_WCHAR_T.
1146         * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1147         * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1148         * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1150 2002-05-26  Carlo Wood  <carlo@alinoe.com>
1151             Paolo Carlini  <pcarlini@unitus.it>
1153         PR libstdc++/6811
1154         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1155         (__enc_traits::operator=): add missing return statement.
1157 2002-05-24  Phil Edwards  <pme@gcc.gnu.org>
1159         PR libstdc++/6282
1160         * include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
1161         (operator>>):  If nothing was extracted, don't fail in the
1162         zero-length case.
1163         * testsuite/23_containers/bitset_ctor.cc (test02):  New test.
1165 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1167         PR libstdc++/6701
1168         * testsuite/22_locale/ctype_narrow_char.cc: New.
1169         * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1170         * testsuite/22_locale/ctype_widen_char.cc: New.
1171         * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1172         * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1173         * testsuite/22_locale/ctype_is_char.cc: ...this.
1174         * testsuite/22_locale/ctype_to_char.cc: ...and this.
1175         * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1176         * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1177         * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1179         * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1181 2002-05-24  Dale Peakall <dale@peakall.net>
1183         PR libstdc++/6701
1184         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1185         * config/locale/generic/ctype_members.cc: Same.
1187 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1189         PR libstdc++/6750
1190         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1191         for empty string literal.
1192         (ostream::operator<<(const _CharT*)): Same.
1193         (ostream<char>::operator<<(const char*)): Same.
1194         (ostream<char>::operator<<(streambuf*)): Same.
1195         * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1196         * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1198 2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
1200         * configure.in (release_VERSION): Update to 3.1.1.
1201         (libtool_VERSION): Update to 4:1:0.
1202         * configure: Regenerate.
1204 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1206         * include/bits/stl_pair.h:  Tweak comment markup.
1208 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1210         * include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
1212 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1214         * docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.
1216 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1218         * include/bits/stl_vector.h:  Reformat to follow C++STYLE.
1219         Doxygenate all public members.  Reorder to follow 14882.
1220         (vector::push_back(void)):  Remove previously-deprecated fn.
1221         (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1222         Deprecate for removal in 3.3.
1224 2002-05-20  Phil Edwards  <pme@gcc.gnu.org>
1226         * docs/html/faq/index.html (5.4):  Recommend against -I options for
1227         finding the ext headers.
1228         * docs/html/faq/index.txt:  Regenerate.
1230 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
1232         * testsuite/23_containers/deque_operators.cc (test01):
1233         Fix minor typo in last commit.
1235 2002-05-18  Paolo Carlini  <pcarlini@unitus.it>
1237         PR libstdc++/6503
1238         * include/bits/stl_deque.h (_Deque_iterator::operator==,
1239         operator!=, operator<, operator>, operator>=, operator<=):
1240         Make non-member functions, to allow comparing const and
1241         non-const iterators in any order.
1242         * testsuite/23_containers/deque_operators.cc: New testfile.
1244 2002-05-16  Phil Edwards  <pme@gcc.gnu.org>
1246         * docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
1247         * docs/html/faq/index.txt:  Regenerate.
1249 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1251         * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1252         * acinclude.m4: Likewise.
1253         * docs/html/Makefile: Likewise.
1254         * aclocal.m4: Regenerate.
1255         * configure: Regenerate.
1256         * Makefile.in: Regenerate.
1258 2002-05-15  Loren J. Rittle <ljrittle@acm.org>
1260         libstdc++/6641
1261         * include/bits/c++config (__USE_MALLOC): Report case where
1262         the user improperly defined it on the command line.
1264 2002-05-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1266         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1267         Retrieve current limits before setting.
1269 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
1271         PR libstdc++/6518
1272         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1273         for null case.
1274         (ostream::operator<<(const _CharT*)): Same.
1275         (ostream<char>::operator<<(const char*)): Same.
1276         * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1278 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
1280         PR libstdc++/6594
1281         * src/strstream.cc (strstreambuf): Fix leak.
1283 2002-05-15  Paolo Carlini  <pcarlini@unitus.it>
1285         PR libstdc++/6648
1286         * include/bits/istream.tcc (istream::getline, ignore):
1287         Upon __idelim (__delim) call sbumpc() not snextc().
1288         * testsuite/27_io/narrow_stream_objects.cc:
1289         Add test08 and test09.
1291 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
1293         * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1294         * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1296         * docs/html/install.html: Fix.
1298 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
1300         * include/bits/fstream.tcc
1301         (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1302         try/catch blocks.
1303         * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1305         * docs/html/install.html: Tweak, add bits about required locales
1306         for the 22_locale tests when using the gnu model.
1308         * testsuite/27_io/istream_sentry.cc: Tweak.
1310 2002-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1312         * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1313         Fix typo, use this->is() rather than manually (and perhaps
1314         incorrectly) inlining it.
1315         * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1316         Likewise.
1317         * testsuite/22_locale/ctype_scan_char.cc: New file.
1319 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
1320             Jakub Jelinek  <jakub@redhat.com>
1322         * testsuite/22_locale/money_get_members_char.cc
1323         (test01, test02, test04): Use the de_DE@euro named locale
1324         instead of de_DE to allow for an uniform behaviour with
1325         both old and Euro-era localedata; tweak some tests.
1326         * testsuite/22_locale/money_get_members_wchar_t.cc
1327         (test01, test02, test04): Likewise.
1328         * testsuite/22_locale/money_put_members_char.cc
1329         (test01, test02, test04): Likewise.
1330         * testsuite/22_locale/money_put_members_wchar_t.cc
1331         (test01, test02, test04): Likewise.
1333 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
1335         * testsuite/22_locale/codecvt_members_char_char.cc
1336         (test03): Robustify wrt localedata.
1337         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1338         * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1339         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1340         * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1341         * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1342         * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1343         * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1344         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1345         * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1346         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1347         * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1348         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1349         * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1350         * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1351         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1352         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1353         * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1354         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1355         * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1356         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1357         * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1358         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1360 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1362         * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1363         change.
1365 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1367         * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1368         to 64 for hppa 64-bit port.
1369         (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1371 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1373         * acinclude.m4 (enable_symvers): Quote $LD.
1374         * aclocal.m4: Regenerate.
1375         * configure: Likewise.
1377 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
1379         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1380         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1381         LD_LIBRARY_PATH.
1383 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
1385         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1386         script entry, and set LD to it when configuring multilibs.
1387         * configure: Rebuilt.
1389 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
1391         * configure.in: Add support for WindISS.
1392         * configure: Regenerated.
1393         * configure.target: Add support for WindISS.
1394         * config/os/windiss/bits/ctype_base.h: New file.
1395         * config/os/windiss/bits/ctype_inline.h: Likewise.
1396         * config/os/windiss/bits/ctype_noninline.h: Likewise.
1397         * config/os/windiss/bits/os_defines.h: Likewise.
1399 2002-05-06  Paolo Carlini  <pcarlini@unitus.it>
1401         Test all the facets for the temporary "C" locale switch issue.
1402         * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1403         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1404         * testsuite/22_locale/collate_members_char.cc: Add test04.
1405         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1406         * testsuite/22_locale/ctype_members_char.cc: Add test05.
1407         * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1408         * testsuite/22_locale/messages_members_char.cc: Add test03.
1409         * testsuite/22_locale/money_get_members_char.cc: Add test08.
1410         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1411         * testsuite/22_locale/money_put_members_char.cc: Add test07.
1412         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1413         * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1414         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1415         * testsuite/22_locale/num_get_members_char.cc: Add test06.
1416         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1417         * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1418         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1419         * testsuite/22_locale/time_get_members_char.cc: Add test08.
1420         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1421         * testsuite/22_locale/time_put_members_char.cc: Add test04.
1422         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1424         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1425         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1427 2002-05-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1429         * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1430         __EXTENSIONS__): Ensure they are always defined.
1432 2002-05-06  Phil Edwards  <pme@gcc.gnu.org>
1434         * docs/html/documentation.html:  Fix broken link.
1436 2002-05-04  Benjamin Kosnik  <bkoz@redhat.com>
1437             Paolo Carlini  <pcarlini@unitus.it>
1439         * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1440         testing for the locale_facets.tcc entry of the previous commit.
1441         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1443 2002-05-04  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
1445         * config/locale/generic/c_locale.cc
1446         (__convert_to_v(float, double, long double)):
1447         Fix the temporary switch to the "C" locale, saving and
1448         restoring in the proper way the current locale.
1449         * config/locale/generic/time_members.cc
1450         (__timepunct<char, wchar_t>::_M_put): Likewise.
1451         * config/locale/gnu/messages_members.cc
1452         (messages<char>::do_get): Likewise.
1453         * config/locale/gnu/messages_members.h
1454         (messages<_CharT>::do_get): Likewise.
1455         * config/locale/gnu/time_members.cc
1456         (__timepunct<char, wchar_t>::_M_put): Likewise.
1457         * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1459 2002-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1461         * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1462         * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1464         * Makefile.in, config.h.in, configure: Regenerate.
1466 2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
1468         PR libstdc++/6549.
1469         * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1470         * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1472 2002-05-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1474         * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1475         Return __ctype + 1.
1476         (ctype:_M_table): Initialize to classic_table(), not __ctype.
1478 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1480         * configure.in: Update local install.html, configopts.html paths.
1481         * configure: Regenerate.
1483 2002-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1485         * config/os/irix/irix5.2/bits/os_defines.h
1486         (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1488         * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1489         char.
1491 2002-05-02  Phil Edwards  <pme@gcc.gnu.org>
1493         * docs/html/faq/index.html:  Update list in #4.1.
1494         * docs/html/faq/index.txt:  Regenerated.
1496 2002-05-02  Benjamin Kosnik  <bkoz@redhat.com>
1498         * docs/html/17_intro/RELEASE-NOTES (New): Update.
1500 2002-05-01  Phil Edwards  <pme@gcc.gnu.org>
1502         * include/std/std_bitset.h:  Fix doxygen comments.
1503         * docs/html/documentation.html:  Minor tweaks for 3.1.
1504         * docs/html/27_io/howto.html:  Likewise.
1505         * docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
1506         * docs/html/faq/index.html:  Likewise.
1507         * docs/html/faq/index.txt:  Regenerated.
1509 2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1511         PR libstdc++/6533
1512         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1513         (istreambuf_iterator::equal): Use it.
1514         (istreambuf_iterator::operator*): Use it.
1516 2002-05-01  Paolo Carlini  <pcarlini@unitus.it>
1518         PR libstdc++/6513
1519         * include/bits/stl_uninitialized.h
1520         (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1521         Fix typo in 2001-07-17 commit: typedef _ValueType to
1522         iterator_traits<_ForwardIter> not <_InputIter>.
1523         * testsuite/23_containers/vector_ctor.cc: Add test04.
1525 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1527         PR libstdc++/6501
1528         * include/c_std/std_cctype.h: Include bits/c++config.h.
1529         * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1531 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1533         * include/ext/stdio_filebuf.h: New file.
1534         * include/ext/enc_filebuf.h: New file.
1535         * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1536         * config/io/basic_file_stdio.cc: Same.
1537         * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1538         Remove _M_unbuf hacks.
1539         (filebuf::_M_destroy_internal_buffer): Same.
1540         (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1541         (filebuf::fd): Remove.
1542         * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1543         (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1544         (filebuf::fd): Remove.
1545         * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1546         filebufs.
1547         (ios_base::_S_ios_destroy): Same.
1548         * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1549         * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1550         stdio_filebuf.h.  * include/Makefile.in: Regenerate.
1552 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1554         PR libstdc++/6511
1555         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1557 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
1559         PR libstdc++/5820
1560         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1561         Check for eof.
1562         * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1563         (istreambuf_iterator::operator++): Invalidate on eof.
1564         (istreambuf_iterator::operator++(int)): Same.
1565         (istreambuf_iterator::operator*): Same.
1567 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1569         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1570         of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1571         LD_LIBRARY64_PATH.
1573 2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>
1575         PR libstdc++/5820
1576         * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1577         (__basic_file::sys_ungetc): Take int.
1578         * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1579         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1580         Use sys_getc for unbuffered input.
1581         * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1583         * src/ios.cc (_M_grow_words): Adjust error checking.
1584         * testsuite/27_io/ios_base_storage.cc: Same.
1586 2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1588         * include/ext/stl_hashtable.h: Import __iterator_category
1590 2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
1591             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1593         * testsuite/ext/hash_set.cc: New testfile.
1595 2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
1597         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1598         _G_USING_THUNKS.
1599         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1600         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1602 2002-04-26  Paolo Carlini  <pcarlini@unitus.it>
1604         * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1605         Fix and tighten __throw_length_error check.
1606         * testsuite/21_strings/replace.cc (test05): New.
1607         * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1609 2002-04-23  Loren J. Rittle <ljrittle@acm.org>
1611         * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1612         unconditional flush on lower-layer handle to here...
1613         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1614         ...from here.  Optimize remaining _M_file.sync() call pattern.
1615         * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1616         (test05): Likewise.
1618 2002-04-23  Jason Merrill  <jason@redhat.com>
1620         * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1621         output-only filebufs.
1622         * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1623         Likewise.
1624         (basic_filebuf::_M_set_determinate): Likewise.
1626         PR libstdc++/6414
1627         * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1628         value properly in the trivial case.
1629         * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1630         tellg() returns the right value after a read.
1632 2002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
1634         * config/cpu/mmix/bits/cpu_limits.h: New file.
1635         * configure.target (CPULIMITSH): Use it.
1637 2002-04-22  Loren J. Rittle <ljrittle@acm.org>
1639         * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1640         * docs/html/17_intro/porting.html: Rebuilt.
1642 2002-04-20  Jason Merrill  <jason@redhat.com>
1644         PR libstdc++/4150
1645         * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1646         Move to filebuf.
1647         (basic_streambuf::_M_set_determinate): Likewise.
1648         (basic_streambuf::_M_is_indeterminate): Likewise.
1649         * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1650         non-static data member.
1651         (basic_filebuf::_M_underflow_common): New non-static member function.
1652         (basic_filebuf::_M_underflow, _M_uflow): Call it.
1653         (basic_filebuf::sync): Avoid useless seeking.
1654         (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1655         Set _M_filepos.
1656         (basic_filebuf::_M_set_determinate): Likewise.
1657         (basic_filebuf::_M_is_indeterminate): Likewise.
1658         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1659         back to _M_out_beg if necessary.
1660         (basic_filebuf::seekoff): Likewise.
1661         (basic_filebuf::_M_underflow_common): Generalization of old
1662         underflow().  Don't seek back to _M_in_beg.
1663         * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1664         * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1665         * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1666         * config/os/mingw32/bits/os_defines.h: Likewise.
1667         * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1668         ungetc test.
1670 2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
1672         * include/bits/istream.tcc (istream::read): Fix.
1673         * testsuite/27_io/istream_unformatted.cc (main): Add.
1675 2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
1677         PR libstdc++/6360
1678         * include/bits/istream.tcc (istream::ignore): Streamline, use
1679         delimiter as is.
1680         * include/bits/streambuf.tcc: Use this->gptr.
1681         * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1683 2002-04-18  Benjamin Kosnik  <bkoz@redhat.com>
1685         * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1686         as type safety is important, especially on solaris.
1687         * include/bits/istream.tcc (istream::read): Clean.
1688         (istream::readsome): Same.
1689         * locale.cc: Wrap lines.
1691         * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1692         * testsuite/27_io/instantiations.cc (test): Add bool variable...
1693         * testsuite/21_strings/capacity.cc: Clean.
1695 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1697         * docs/doxygen/doxygroups.cc:  New group on binary searching.
1698         * include/bits/stl_algo.h:  Document binary searches and merges.
1699         * include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
1701 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1703         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
1704         * docs/doxygen/run_doxygen:  Bump required version.
1705         * docs/doxygen/user.cfg.in:  Revert accidental change.
1706         * docs/html/faq/index.html:  Reindent a block of links.
1707         (4.4):  New note on using dlsym.
1708         * docs/html/faq/index.txt:  Regenerated.
1710 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1712         * testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
1714 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
1716         * config/linker-map.gnu (__malloc_alloc_template): Add.
1717         (__default_alloc_template): Same.
1718         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1719         template.
1720         (__default_alloc_template): Same.
1722 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
1724         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1726 2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
1728         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1729         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1730         (__malloc_alloc_template): Conditionalize.
1732         * include/bits/istream.tcc: Remove sputbackc calls.
1734         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1736 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
1738         * testsuite/24_iterators/rel_ops.cc: New test.
1740 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1742         * include/bits/type_traits.h (__normal_iterator): Declare in
1743         __gnu_cxx.  Adjust use at global namespace.
1744         * include/bits/stl_iterator.h (__normal_iterator): Move definition
1745         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
1746         * include/bits/basic_string.h (basic_string): Adjust use of
1747         __normal_iterator.
1748         * include/bits/stl_vector.h (_Alloc>): Likewise.
1749         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1750         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1752 2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
1754         PR libstdc++/4164
1755         Valgrind fixes.
1756         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1757         Call close.
1758         (__basic_file::close): Call fflush. Correct return if fclose ok.
1759         (__basic_file::is_open): Make const.
1760         Change __c_file_type to __c_file.
1761         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1762         (__basic_file::is_open): Make const.
1763         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1764         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1765         (filebuf::_M_unbuf): Add.
1766         (filebuf::_M_file): Change to non-pointer.
1767         (filebuf::_M_allocate_pback_buffer): Remove.
1768         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1769         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1770         Change initialization list for _M_file change.
1771         (filebuf::_M_allocate_pback_buffer): Remove.
1772         Change _M_file usage to reflect non-pointer data member.
1774         * config/locale/generic/c_locale.cc
1775         (locale::facet::_S_create_c_locale): Add parameter.
1776         * config/locale/generic/collate_members.cc: Change
1777         _M_compare_helper to _M_compare.
1778         Change _M_transform_helper to _M_transform.
1779         * config/locale/generic/monetary_members.cc: Changeup data types.
1780         Add dtors.
1781         * config/locale/generic/numeric_members.cc: Add dtors.
1782         * config/locale/generic/time_members.cc: Add dtors.
1783         * config/locale/gnu/c_locale.cc: Add parameter.
1784         * config/locale/gnu/collate_members.cc:Change
1785         _M_compare_helper to _M_compare.
1786         Change _M_transform_helper to _M_transform.
1787         * config/locale/gnu/ctype_members.cc: Better error checking.
1788         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1789         * config/locale/gnu/messages_members.cc: Tweak comment.
1790         * config/locale/gnu/monetary_members.cc: Change data types.
1791         Add dtors.
1792         * config/locale/gnu/numeric_members.cc: Add dtors, better error
1793         checking.
1794         * config/locale/gnu/time_members.cc: Same.
1795         * config/locale/ieee_1003.1-2001/c_locale.cc
1796         (locale::facet::_S_create_c_locale): Add parameter.
1797         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1798         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1799         bogus ctor.
1801         * include/bits/locale_facets.h (moneypunct): Use string literals.
1802         Don't define dtor.
1803         (numpunct): Same.
1804         (__timepunct): Same.
1805         (locale::_Impl::_M_facets): Change from vector to array.
1806         (locale::_Impl::_M_names): Change from array of strings to array
1807         of string literals.
1808         (locale::facet::_S_create_c_locale): Add parameter.
1809         (locale::locale::_S_num_facets): Move to...
1810         (locale::_Impl::_M_facets_size): Here.
1811         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1812         changes.
1813         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1814         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1815         (locale::_Impl::_Impl(string, size_t)): Change to
1816         (locale::_Impl::_Impl(const char*, size_t)): This.
1818         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1819         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1820         (streambuf::_S_pback_size): This.
1822         * src/globals.cc: Add pre-allocations for "C" facets.
1823         * src/locale-inst.cc: Remove vector instantiations.
1824         * src/locale.cc: Remove vector include. Fixups for _M_names,
1825         _M_facets changes.
1826         * src/localename.cc: Same.
1828         * include/bits/stl_vector.h: Fix odd formatting.
1830         * include/bits/basic_string.tcc: Tweak comment.
1832         * libsupc++/new: Make sure parameters are uglified.
1833         * libsupc++/typeinfo: Same.
1835         * testsuite/22_locale/num_get_members_char.cc: Fixup.
1836         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1837         * testsuite/27_io/filebuf_members.cc: Same.
1839 2002-04-12  Steve Ellcey  <sje@cup.hp.com>
1841         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1842         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1843         does not define strtoll or strtoull, but does define strtol
1844         and strtoul which are the same since in 64 bit mode
1845         sizeof(long) == sizeof(long long).
1847 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
1849         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
1850         trailing spaces, indentation, and macro names.  Make exception
1851         messages more informative.
1853 2002-04-11  Richard Henderson  <rth@redhat.com>
1855         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1856         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1857         (basic_ostream<>::operator<<(long long)): Same.
1859 2002-04-11  Richard Henderson  <rth@redhat.com>
1861         * config/linker-map.gnu: Add __gxx_personality_sj0.
1863 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1865         libstdc++/1072
1866         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1867         pointer to vector.
1868         Remove forward declaration of vector.
1869         Include vector.
1870         * include/bits/locale_facets.tcc: Remove vector include.
1871         (use_locale): Adjust.
1872         (has_locale): Adjust.
1873         * src/locale.cc: Adjust.
1874         * src/localename.cc: Same.
1876 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1877             Richard Henderson  <rth@redhat.com>
1879         * include/bits/sstream.tcc: Clean up bit ops.
1880         * include/bits/fstream.tcc: Same.
1882 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
1884         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1885         (__num_base::_S_scale_oct): Remove.
1886         * src/locale.cc (__num_base::_S_scale_hex): Remove.
1887         (__num_base::_S_scale_oct): Remove.
1889 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1891         libstdc++/6124
1892         * testsuite/23_containers/bitset_members.cc: New test.
1893         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1894         (_S_bit_count): Here.
1895         (_First_one::_S_first_one): Move...
1896         (_S_first_one): Here.
1897         Format.
1898         * src/bitset.cc: Adjust.
1899         * config/linker-map.gnu: Export.
1901 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
1903         libstdc++/5180
1904         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1905         * include/std/std_fstream.h: Clean.
1906         * include/bits/ostream.tcc: Remove extraneous variables.
1907         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1908         open modes and which modes.
1909         (stringbuf::seekpos): Same.
1910         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1912 2002-04-05  Jonathan Wakely <jw@kayari.org>
1914         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1915         random_shuffle, partition, stable_partition, sort, stable_sort,
1916         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
1918 2002-04-05  David S. Miller  <davem@redhat.com>
1920         * config/os/gnu-linux/bits/os_defines.h
1921         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1923 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
1925         libstdc++/3457
1926         via gawrilow@math.tu-berlin.de
1927         * acinclude.m4 (version_specific_libs): Fix combo usage with
1928         --with-gxx-include-dir.
1929         * aclocal.m4: Regenerate.
1930         * configure: Same.
1932 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
1934         As per DR 184, libstdc++/3139
1935         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1936         (numeric_limits<bool>::is_iec559): False.
1937         (numeric_limits<bool>::is_modulo): False.
1939         * testsuite/27_io/ios_init.cc: Add instantiations.
1941 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
1943         libstdc++/5268
1944         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1945         * testsuite/27_io/ios_init.cc (tests04): Add test.
1947         libstdc++/3983
1948         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1949         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1950         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1951         * include/bits/istream.tcc: Use _M_fctype, make consistent with
1952         ostream.
1953         * testsuite/27_io/ios_init.cc (tests03): Add test.
1955 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
1957         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
1958         * include/Makefile.in:  Regenerate.
1960 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
1961             Nathan Myers  <ncm@cantrip.org>
1962             Philip Martin  <philip@codematters.co.uk>
1964         * include/bits/basic_string.h
1965         (replace(i1, i2, _CharT* k1, _CharT* k2),
1966         replace(i2, i2, const _CharT* k1, const _CharT* k2),
1967         replace(i1, i2, iterator k1, iterator k2,
1968         replace(i1, i2, const_iterator k1, const_iterator k2):
1969         New specializations to optimize for the common cases of
1970         pointers and iterators.
1971         (replace(pos, n1, s, n2)): Tweak.
1972         * include/bits/basic_string.tcc: Tweak comments.
1973         * testsuite/21_strings/replace.cc (test04): New tests.
1975 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
1977         libstdc++/5542
1978         * acinclude: More extensive checks for msgfmt, --enable-nls.
1979         * aclocal.m4: Regenerate.
1980         * configure: Regenerate.
1982 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1984         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
1985         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
1986         * docs/html/18_support/howto.html:  Document the demangler.
1987         * docs/html/17_intro/howto.html:  And link to it.
1989         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
1990         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
1992 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1994         * config/linker-map.gnu:  Export __verbose_terminate_handler.
1995         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
1996         Make new LTCOMPILE variable, use it in new special build rules.
1997         * libsupc++/Makefile.in:  Rebuild.
1998         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
1999         runtime __cxa_demangle.
2001         * docs/html/install.html:  Update prereqs and instructions.
2002         * docs/html/19_diagnostics/howto.html:  Bring naming for
2003         verbose_terminate_handler into line with reality.
2005 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
2007         libstdc++/3129
2008         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2009         (basic_ios::_M_streambuf_state): Move.
2010         * include/bits/ios_base (ios_base): To here.
2011         * include/bits/ios_base.h (ios_base::_S_local_words): To
2012         _S_local_word_size.
2013         (ios_base::_M_word_array): To _M_local_word.
2014         (ios_base::_M_words_limit): To _M_word_size.
2015         (ios_base::_M_words): To _M_word.
2016         Comment.
2017         * include/bits/basic_ios.tcc: Adjust.
2018         * src/ios.cc (ios_base::_M_grow_words): Tweak.
2019         * testsuite/27_io/ios_base_storage.cc: Add tests.
2021         libstdc++/5207
2022         Kenny Simpson <theonetruekenny@yahoo.com>
2023         * include/bits/ios_base.h: Fix.
2025         Richard Henderson  <rth@redhat.com>
2026         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2027         last change.
2029         * include/bits/basic_string.h: Tweak formatting.
2031 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
2033         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2034         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2035         By definition, sizeof(char) == 1.
2036         * include/bits/locale_facets.tcc (money_get::do_get,
2037         money_put::do_put): Ditto.
2038         * testsuite/21_strings/inserters_extractors.cc
2039         (test04): Ditto.
2041 2002-03-30  Richard Henderson  <rth@redhat.com>
2043         PR c++/3719
2044         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2045         data out of the exception struct before calling unexpectedHandler.
2047 2002-03-28  Roger Sayle  <roger@eyesopen.com>
2049         * include/c_std/std_cmath.h:  To prevent problems overloading
2050         g++ builtins, use the double variants from the global namespace
2051         before defining float and long double variants in std::.
2053 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
2055         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2057 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
2059         * testsuite/24_iterators/istream_iterator.cc
2060         (test02): New tests.
2062 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2063             Paolo Carlini  <pcarlini@unitus.it>
2065         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2066         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2067         fix i_lit_base e_lit_base arrays, making them independent
2068         from the endianness of the platform; tweak UCS4 to UCS-4BE.
2070 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
2072         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2073         allocate at least a byte.
2075         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2076         debugger-friendly.
2077         * testsuite/27_io/streambuf.cc (test07): Fix.
2078         (test06): Enable.
2080 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
2082         * docs/doxygen/Intro.3:  Date tweak.
2083         * docs/doxygen/TODO:  Update.
2084         * docs/doxygen/doxygroups.cc:  Point to tables.html.
2085         * docs/doxygen/mainpage.html:  Date tweak.
2086         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
2087         * docs/doxygen/tables.html:  Fill in the blanks.
2089         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
2090         * include/bits/stl_algo.h:  Likewise; use expanded form.
2091         * include/bits/stl_alloc.h:  Likewise.
2092         * include/bits/stl_construct.h:  Likewise.
2093         * include/bits/stl_deque.h:  Likewise.
2094         * include/bits/stl_iterator_base_types.h:  Likewise.
2095         * include/bits/stl_list.h:  Likewise.
2096         * include/bits/stl_relops.h:  Likewise.
2097         * include/bits/stl_tempbuf.h:  Likewise.
2098         * include/bits/stl_vector.h:  Likewise.
2099         * include/std/std_memory.h:  Likewise.
2101         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
2102         * include/bits/stl_list.h:  Likewise.
2103         * include/bits/stl_vector.h:  Likewise.
2105 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
2107         * include/c/: Guard with _CPP_.
2108         * include/c_std/: Same.
2109         * include/Makefile.am: Fixup install, link routines for null
2110         c_base_headers_extra scenarios.
2111         * include/Makefile.in: Regerate.
2113 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
2114             Richard Henderson  <rth@redhat.com>
2116         * testsuite/22_locale/codecvt_members_unicode_char.cc
2117         (test01, test02): make sure that the i_lit_base array
2118         is sufficiently aligned.
2120 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2122         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2123         _ctype_.
2125 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
2127         * testsuite/22_locale/collate_byname.cc
2128         (test01): compare the result of collate::compare with
2129         that of collate::transform + string::compare, not with
2130         that of collate::transform + collate::compare; values
2131         returned by collate::compare are normalized, therefore
2132         test against +-1.
2134 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2135             Jakub Jelinek  <jakub@redhat.com>
2137         * config/locale/gnu/messages_members.h: Correct conditional.
2138         * config/locale/gnu/messages_members.cc: Same.
2139         * config/locale/gnu/time_members.cc: Same.
2141 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2142             Paolo Carlini  <pcarlini@unitus.it>
2144         * testsuite/22_locale/codecvt_members_unicode_char.cc
2145         (test01, test02): Fix i_lit_base arrays, making them
2146         independent from the endianness of the platform.
2148 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2150         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2151         signbit and __signbit directly.
2152         * aclocal.m4: Regenerate.
2153         * configure: Regenerate.
2154         * config.h.in: Regenerate.
2155         * libmath/Makefile.am: Simplify.
2156         * libmath/Makefile.in: Regenerate.
2157         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2159         * include/Makefile.am: Clean up handling of extra "C" header files.
2160         Add hooks for "C" compatibility headers.
2161         * include/Makefile.in: Regenerate.
2163         * include/c/*: Formatting tweaks, cleanups.
2164         * include/c_std/*: Same.
2166 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2168         * config/locale/gnu/messages_members.h: Add __uselocale bits.
2169         * config/locale/gnu/messages_members.cc: Same.
2170         * config/locale/gnu/time_members.cc: Same.
2172 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2174         * src/vterminate.cc: Format, -fno-exceptions cleanup.
2176 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2178         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2179         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2180         * aclocal.m4: Regenerate.
2181         * configure: Likewise.
2183 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
2184             Ulrich Drepper  <drepper@redhat.com>
2186         * src/locale-inst.cc (__convert_from_v): Add an additional
2187         __size parameter in the declarations.
2188         * include/bits/locale_facets.tcc
2189         (__convert_from_v): When available (that is,
2190         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2191         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2192         being defined or not, call and use __convert_from_v in the
2193         appropriate way.
2194         (num_put::_M_convert_int): Same here.
2195         (money_put::do_put(long double)): Same here.
2197 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
2199         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
2200         * docs/html/faq/index.txt:  Regenerate.
2202 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
2204         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2205         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2206         --enable-libunwind-exceptions is set.
2207         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2208         macro to check for libunwind.
2209         * configure: Regenerate.
2210         * src/Makefile.am (libstdc___la_LDFLAGS): Add
2211         LIBUNWIND_FLAG to libstdc link line.
2212         * src/Makefile.in: Regenerate.
2214 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
2216         * docs/html/faq/index.html: Add OS X workaround.
2217         * docs/html/17_intro/TODO: Update.
2219 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
2221         * include/bits/locale_facets.tcc
2222         (money_put::do_put(long double)): Fix dimensioning of
2223         temporary buffers to avoid risk of overruns.
2224         (money_put::do_put(string)): Same for the buffer used to
2225         add the grouping chars.
2226         * testsuite/22_locale/money_put_members_char.cc: Add test06.
2227         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2229         * include/bits/locale_facets.tcc
2230         (collate::do_transform): Simplify.
2232 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
2234         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
2235         * configure.in:  Add comments pointing the way for autoconf 2.5x.
2236         * aclocal.m4, config.h.in, configure:  Regenerate.
2238 2002-03-18  Philipp Thomas  <pthomas@suse.de>
2240         * include/backward/hash_map.h: hash, hashtable, hash_map and
2241         hash_multimap are in namespace __gnu_cxx.
2242         include/backward/hash_set.h: hash, hashtable, hash_set and
2243         hash_multiset are in namespace __gnu_cxx.
2244         include/backward/hashtable.h: hash and hashtable are in
2245         namespace __gnu_cxx.
2246         include/backward/rope.h: char_producer, sequence_buffer,
2247         rope, crope and wrope are in namespace __gnu_cxx.
2248         include/backward/slist.h: slist is in namespace __gnu_cxx.
2249         * testsuite/backward/header_hash_map_h.cc
2250         testsuite/backward/header_hash_set_h.cc
2251         testsuite/backward/header_hashtable_h.cc
2252         testsuite/backward/header_rope_h.cc
2253         testsuite/backward/header_slist_h.cc
2254         testsuite/backward/header_tempbuf_h.cc: New tests for
2255         checking that we're using the correct namespace.
2257 2002-03-17  Jason Merrill  <jason@redhat.com>
2259         PR c++/4381
2260         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2261         (check_exception_spec): Call it.  Take the thrown pointer.
2262         (__cxa_call_unexpected): Pass it.
2263         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
2265 2002-03-15  Anthony Green  <green@redhat.com>
2267         * configure.in: Remove useless is_mingw32.
2268         * configure: Rebuilt.
2270 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
2272         * testsuite/22_locale/collate_members_char.cc
2273         (test01): compare the result of collate::compare with
2274         that of collate::transform + string::compare, not with
2275         that of collate::transform + collate::compare.
2276         (test01): values returned by collate::compare are
2277         normalized, therefore test against +-1.
2278         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2280 2002-03-12  Loren Rittle  <ljrittle@acm.org>
2282         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2283         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2285 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2286             Per Liboriussen  <liborius@stofanet.dk>
2288         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2289         unsigned char.
2290         * config/os/gnu-linux/bits/ctype_inline.h: Same.
2292         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2294         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2295         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2297         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2298         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2300         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2301         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2303         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2305 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2307         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2308         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2309         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2310         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2311         that memory limits are in place.
2312         (test03): Add tests.
2314 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
2316         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2317         * aclocal.m4: Regenerate.
2318         * config.h.in: Regenerate.
2319         * configure: Regenerate.
2320         * include/c_std/std_cwctype.h: Guard.
2322 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
2324         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2325         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2326         * aclocal.m4: Regenerate.
2327         * configure: Regenerate.
2329 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
2331         * include/bits/stl_bvector.h: Fix warning.
2333 2002-03-11  Richard Henderson  <rth@redhat.com>
2335         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
2337 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
2339         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2340         New function.  Build the list of tests to run in testsuite_files.
2341         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
2343 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
2345         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
2346         platforms with no weak support.
2347         * testsuite/27_io/ios_init.cc:  Likewise.
2349 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
2351         * include/bits/locale_facets.tcc (time_put::do_put):
2352         Consider sizeof(char_type) in allocating the buffer.
2354         * include/bits/locale_facets.tcc (collate::do_tranform):
2355         Remove redundant variable.
2357 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
2358             Paolo Carlini  <pcarlini@unitus.it>
2360         * config/locale/generic/collate_members.cc
2361         (collate<char,wchar_t>::_M_compare_helper): normalize
2362         values returned by strcoll and wcscoll.
2363         * config/locale/gnu/collate_members.cc
2364         (collate<char,wchar_t>::_M_compare_helper): ditto
2365         for __strcoll_l and __wcscoll_l.
2367 2002-03-10  Anthony Green  <green@redhat.com>
2369         * configure.in: Support cross builds to mingw32 target.
2370         * configure: Rebuilt.
2372 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
2374         * include/bits/locale_facets.tcc (collate::do_transform):
2375         Rewrite to fix problems with long transformed strings.
2377 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2379         * c_locale_generic.cc: Move to...
2380         * generic/c_locale.cc
2381         * c_locale_generic.h: Move to...
2382         * generic/c_locale.h
2383         * codecvt_specializations_generic.h: Move to...
2384         * generic/codecvt_specializations.h
2385         * collate_members_generic.cc: Move to...
2386         * generic/collate_members.cc
2387         * ctype_members_generic.cc: Move to...
2388         * generic/ctype_members.cc
2389         * messages_members_generic.cc: Move to...
2390         * generic/messages_members.cc
2391         * messages_members_generic.h: Move to...
2392         * generic/messages_members.h
2393         * moneypunct_members_generic.cc: Move to...
2394         * generic/monetary_members.cc
2395         * numpunct_members_generic.cc: Move to...
2396         * generic/numeric_members.cc
2397         * time_members_generic.cc: Move to...
2398         * generic/time_members.cc
2399         * c_locale_gnu.cc: Move to...
2400         * gnu/c_locale.cc
2401         * c_locale_gnu.h: Move to...
2402         * gnu/c_locale.h
2403         * collate_members_gnu.cc: Move to...
2404         * gnu/collate_members.cc
2405         * ctype_members_gnu.cc: Move to...
2406         * gnu/ctype_members.cc
2407         * messages_members_gnu.cc: Move to...
2408         * gnu/messages_members.cc
2409         * messages_members_gnu.h: Move to...
2410         * gnu/messages_members.h
2411         * moneypunct_members_gnu.cc: Move to...
2412         * gnu/monetary_members.cc
2413         * numpunct_members_gnu.cc: Move to...
2414         * gnu/numeric_members.cc
2415         * time_members_gnu.cc: Move to...
2416         * gnu/time_members.cc
2417         * c_locale_ieee_1003.1-200x.cc: Move to...
2418         * ieee_1003.1-2001/c_locale.cc
2419         * c_locale_ieee_1003.1-200x.h: Move to...
2420         * ieee_1003.1-2001/c_locale.h
2421         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2422         * ieee_1003.1-2001/codecvt_specializations.h
2423         * messages_members_ieee_1003.1-200x.cc: Move to...
2424         * ieee_1003.1-2001/messages_members.cc
2425         * messages_members_ieee_1003.1-200x.h: Move to...
2426         * ieee_1003.1-2001/messages_members.h
2428         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2429         * aclocal.m4: Regenerate.
2430         * configure: Regenerate.
2431         * src/Makefile.am (sources): Change to monetary and numeric.
2432         * src/Makefile.in: Regenerate.
2433         * docs/html/configopts.html: Update to ieee_1003.1-2001.
2435 2002-03-08  scott snyder  <snyder@fnal.gov>
2437         libstdc++/5875
2438         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2439         Allow one more digit of precision.
2440         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2441         write a double and read back in the same value.
2443 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2445         * include/std/std_limits.h: Move static const data members out of
2446         generic template, into base class __numeric_limits_base.
2447         * src/limits.cc: Add definitions.
2448         * config/linker-map.gnu: Add __numeric_limits_base.
2449         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2451 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
2453         * include/bits/stl_alloc.h: Add extern implicit allocator
2454         instantiations.
2455         * include/bits/basic_string.tcc: Tweak.
2456         * include/bits/locale_facets.tcc: Remove default args. Add
2457         has_facet, use_facet extern instantiations.
2458         * src/stl-inst.cc: Add explicit instantiation.
2459         * src/locale-inst.cc: Clean. Remove locale member template
2460         instantiations.
2462         * testsuite/22_locale/operators.cc (test02): Enable.
2464 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
2465             Stephen M. Webb  <stephen.webb@bregmasoft.com>
2467         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2468         (_S_rb_tree_black): Make enum.
2469         Clean. Format.
2470         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2471         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2472         (__stl_threshold): _M_threshold, enum.
2473         * src/stl-inst.cc: Same.
2474         * config/linker-map.gnu: Remove.
2476         * testsuite/23_containers/vector_bool.cc: New.
2478 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2480         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
2481         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
2482         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
2483         referring to the collection as a whole.  New section on which macros
2484         can be redefined by the user.
2485         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
2486         * docs/html/20_util/howto.html:  Update link to SGI.
2487         * docs/html/faq/index.html:  Update snapshot versions.  New entry
2488         on why g++ (but not gcc) must currently predefine certain macros.
2489         * docs/html/faq/index.txt:  Regenerated.
2491         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
2492         names in declaration.
2493         (basic_string::compare):  These are no longer optional.
2494         * include/bits/ostream.tcc:  Tweak closing brace placement.
2495         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
2496         * include/std/std_sstream.h:  Fix typo in comment.
2497         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
2498         * src/locale.cc:  Likewise.
2500 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2502         PR libstdc++/5734
2503         * include/bits/stl_vector.h (vector::push_back()):  Guard with
2504         _GLIBCPP_DEPRECATED.
2506 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2508         * include/bits/c++config:  Fix misplaced leading blanks on first line.
2510 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2512         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2513         * README (libmath): Make clear.
2515 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
2517         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2518         script globbing in ld.
2519         * aclocal.m4: Rebuilt.
2520         * configure: Rebuilt.
2522 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2524         * docs/html/17_intro/RELEASE-NOTES: Update.
2525         * README: Format subdirectories.
2527 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
2529         libstdc++/5816
2530         * include/bits/locale_facets.tcc
2531         (num_get::_M_extract_float): Fix the parsing of __dec, since
2532         the standard prescribes that if no grouping characters are
2533         seen, no grouping check is applied.
2534         * testsuite/22_locale/num_get_members_char.cc: Add test05
2535         distilled from the PR.
2536         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2538 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2540         * docs/html/17_intro/porting-howto.xml: Refer to
2541         http://www.oasis-open.org for docbookx.dtd.
2542         * docs/html/17_intro/porting-howto.html: Regenerated.
2544 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
2546         PR libstdc++/3955
2547         * include/std/std_sstream.h:  Remove trailing spaces.
2548         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
2549         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
2551 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
2553         * testsuite/22_locale/num_get_members_char.cc (test04):
2554         Use a named locale expecting grouping (de_DE).
2555         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2556         Ditto.
2557         * testsuite/27_io/ios_manip_basefield.cc (test01):
2558         Extend coverage, uniform treatment of hexs and octs.
2560 2002-02-28  Richard Henderson  <rth@redhat.com>
2562         * config/linker-map.gnu: Export operator new with unsigned long,
2563         and with std::nothrow_t.  Likewise operator delete.
2565 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
2567         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2568         Admit grouping for octals and hexadecimals too.
2569         * testsuite/22_locale/num_get_members_char.cc: Add test04.
2570         (test01): Tweak "." -> "," in void* test.
2571         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2573         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2574         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2576 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
2578         * testsuite/27_io/ios_manip_basefield.cc (test01):
2579         Fix for 64 bit machines.
2581 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
2583         libstdc++/3983
2584         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2585         Adjust comment.
2586         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2587         (basic_ios::_M_fill_init): New.
2588         (basic_ios::fill()): Delay dealing with _M_fill.
2589         Adjust comment.
2590         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2591         (ios_base::_M_call_callbacks): Adjust.
2592         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2594 2002-02-26  Loren Rittle  <ljrittle@acm.org>
2596         * include/Makefile.am (thread_target_headers): Unconditionally
2597         stage and install gthr-posix.h.
2598         (${target_builddir}/gthr-posix.h): New rule cloned off
2599         ${target_builddir}/gthr-default.h.
2600         (${target_builddir}/gthr-default.h): Support chained inclusion
2601         of gthr support headers.
2602         * include/Makefile.in: Rebuilt.
2604 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
2606         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2607         Group all the integral types, not only decs.
2608         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2609         tests, add a few more.
2611 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
2613         * src/ios.cc (ios_base::~ios_base): Tweak.
2614         (ios_base::_M_call_callbacks): Deal with null __p.
2615         (ios_base::ios_base): Set _M_callbacks.
2616         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2617         * testsuite/27_io/ios_init.cc (test02): Fix.
2619         * mkcheck.in (static_fail): Failed links go to output file.
2621 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
2623         * docs/html/faq/index.html:  Update.
2624         * docs/html/faq/index.txt:  Regenerate.
2626 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
2628         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
2629         * aclocal.m4:  Regenerate.
2630         * docs/html/configopts.html:  Document --enable-symvers.
2631         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
2633 2002-02-22  Philipp Thomas  <pthomas@suse.de>
2635         * include/backward/tempbuf.h: get_temporary_buffer and
2636         return_temporary_buffer are in namespace std, not in __gnu_cxx.
2638 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
2640         * configure.in (target_alias): Default to yes.
2641         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2642         libgcc to default case.
2644 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
2646         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
2647         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
2648         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
2649         * aclocal.m4:  Regenerate.
2650         * configure:  Regenerate.
2651         * config/linker-map.dummy:  New file.  Contains nothing useful.
2653 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
2655         * testsuite/22_locale/money_put_members_char.cc: Fix.
2656         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2658         * testsuite/27_io/standard_manipulators.cc: New file.
2660         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2661         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2663 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
2665         * config/os/mingw32/bits/ctype_noninline.h
2666         (ctype<char>::ctype): Remove default args from parm list.
2667         * config/os/djgpp/bits/ctype_noninline.h: Same.
2669 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2671         * include/std/std_iomanip.h: Inline, tweaks.
2672         * config/linker-map.gnu: Remove hacks.
2674         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2675         * testsuite/27_io/ios_init.cc: Same.
2676         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2677         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2679 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2681         * config/linker-map.gnu: Export global vtable, typeinfo, guard
2682         variable, and thunk info as per CXXABI docs.
2684 2002-02-19  Loren Rittle <ljrittle@acm.org>
2686         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2687         * include/Makefile.in: Rebuilt.
2689 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2691         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2692           with size3 for the string collations of str5.
2694 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
2696         libstdc++/5708
2697         * include/bits/locale_facets.tcc (money_put::do_put):
2698         For the space field use __fill instead of ' ', uniformly.
2699         * testsuite/22_locale/money_put_members_char.cc:
2700         Add test05 distilled from PR.
2701         (test01-02-03): Trim some '*' to ' '.
2702         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2704 2002-02-18  Loren Rittle <ljrittle@acm.org>
2706         libstdc++/5697
2707         * include/Makefile.am (thread_builddir): Remove (map all
2708         existing uses to target_builddir).
2709         (thread_headers): Rename to...
2710         (thread_target_headers): ...this.
2711         (stamp-thread): Remove.
2712         (stamp-target): Correctly state the position as built.
2713         Update all dependencies to match the new reality.  Remove all
2714         dependency calculations on directories.
2715         * include/Makefile.in: Rebuilt.
2717 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
2719         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2720         * include/bits/fstream.tcc: Same.
2721         * include/bits/sstream.tcc: Same.
2722         * include/bits/ostream.tcc: Same.
2723         * include/bits/istream.tcc: Same.
2724         * include/bits/streambuf.tcc: Same.
2725         * include/bits/basic_ios.tcc: Same.
2726         * include/bits/basic_string.tcc: Same.
2728 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2730         * include/std/std_iosfwd.h: Don't guard typedefs with
2731         _GLIBCPP_USE_WCHAR_T
2732         * include/bits/stringfwd.h: Same.
2734 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2736         * src/locale.cc (moneypunct_byname): Remove definitions.
2737         * include/std/std_streambuf.h (streambuf::operator=): Return.
2739 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2741         Tune for size.
2742         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2743         explicit instantiation.
2744         (string::_Rep::_S_max_size): Same.
2745         * include/bits/basic_string.tcc: Add extern explicit
2746         instantiations for string, wstring.
2747         * include/bits/basic_ios.tcc: Add extern explicit instantiations
2748         for ios, wios.
2749         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2750         * include/bits/istream.tcc: Same, for istream, wistream.
2751         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2752         wiostream.
2753         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2754         istringstream, wistringstream, ostringstream, wostringstream,
2755         stringstream, wstringstream.
2756         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2757         wifstream, ofstream, wofstream, fstream, wfstream.
2758         * src/misc-inst.cc: Correct comments.
2759         Add iomanip instantiations for wide streams.
2760         * include/std/std_iomanip.h: Same.
2761         * include/bits/locale_facets.tcc: Same.
2763         * include/std/std_streambuf.h: Correct
2764         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2765         * include/std/std_sstream.h: Same.
2766         * include/std/std_ostream.h: Same.
2767         * include/std/std_istream.h: Same.
2768         * include/std/std_fstream.h: Same.
2770         * include/std/std_streambuf.h: Add definitions for private copy
2771         ctor and assignment operator.
2772         * include/std/std_istream.h: Remove declared but undefined copy
2773         ctor and assignment operator. This is taken care of in ios_base,
2774         so adding it in the derived class as well is superfluous.
2775         * include/std/std_ostream.h: Same.
2777         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2778         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2780 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
2782         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2783         Add typeinfo bits. Smooth.
2784         * aclocal.m4: Regenerate.
2785         * configure: Same.
2786         * src/Makefile.in: Same.
2788 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
2790         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2791         which do not have a CAS instruction.
2793 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
2795         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
2796         * configure.in:  Call it.
2797         * config/linker-map.gnu:  New file, initial incomplete revision.
2798         * src/Makefile.am:  Optionally pass version script to the linker.
2799         * aclocal.m4:  Regenerate.
2800         * configure:  Regenerate.
2801         * src/Makefile.in:  Regenerate.
2803 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
2805         * src/localename.cc: Remove stdexcept include.
2806         * src/locale-inst.cc: Same.
2807         * src/locale.cc: Same.
2808         * src/functexcept.cc: Remove string includes.
2809         * include/std/std_bitset.h: Remove stdexcept include.
2810         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2811         * testsuite/23_containers/bitset_ctor.cc: Same.
2813 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2815         * include/bits/stl_algo (__stl_threshold): Declare external.
2816         (__stl_chunk_size): Same.
2817         * include/bits/stl_bvector.h (__WORD_BIT): Same.
2818         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2819         (_S_rb_tree_black): Same.
2820         * src/stl-inst.cc (__stl_threshold): Define.
2821         (__stl_chunk_size): Same.
2822         (__WORD_BIT): Same.
2823         (_S_rb_tree_red): Same.
2824         (_S_rb_tree_black): Same.
2826         * config/io/basic_file_libio.h (__basic_file): Add declarations.
2827         * include/bits/basic_file.h: Remove.
2828         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2829         Declare generic types, specialization.
2830         * config/io/basic_file_stdio.cc: Definitions.
2831         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2832         Declare generic types.
2833         * include/Makefile.am (bits_headers): Remove basic_file.h.
2834         (extra_target_headers): Change basic_file_model.h to basic_file.h.
2835         (stamp-target): Same.
2837         * include/bits/stl_alloc.h: Tweaks.
2838         * include/bits/localefwd.h: Same.
2840 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
2842         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2843         * testsuite/22_locale/collate_members_char.cc (test03): New test.
2844         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2846 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
2848         * include/bits/stl_algo.h (transform (both signatures), generate_n):
2849         Use __typeof__ in concept checks.
2851 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
2853         * include/bits/stl_algo.h (__median, for_each, find, find_if,
2854         adjacent_find, count, count_if, search, search_n, swap_ranges,
2855         transform, replace, replace_if, replace_copy, replace_copy_if,
2856         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2857         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
2859 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
2861         * include/bits/locale_facets.h
2862         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2863         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2864         (__timepunct<_CharT>::_M_put_helper): Same.
2865         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2867         * include/bits/fstream.tcc (filebuf::underflow): Remove
2868         __codecvt_type typedef.
2869         (filebuf::_M_convert_to_external): Same.
2871 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
2873         * docs/doxygen/TODO:  Update.
2874         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
2875         * docs/doxygen/mainpage.html:  Add TODO list link.
2876         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
2877         * docs/doxygen/tables.html:  New file, emoty structure only.
2879         * include/bits/stl_iterator.h:  Doxygenate just about everything.
2880         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
2881         * include/bits/stl_iterator_base_types.h:  Add notes.
2883 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
2885         * include/bits/stl_map.h:  Tweak doxygen markup.
2886         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
2887         * include/bits/stl_vector.h:  Likewise.
2889 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2891         libstdc++/5286
2892         libstdc++/3860
2893         * include/std/std_fstream.h (filebuf::__file_type): Change to
2894         __basic_file<char>.
2895         (filebuf::_M_convert_to_external): Declare.
2896         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2897         codecvt bits for wide streams.
2898         (filebuf::_M_really_overflow): Use it.
2899         (filebuf::underflow): Use codecvt.
2900         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2901         (codecvt<__enc_traits>::do_out): Deal with partial.
2902         (codecvt<__enc_traits>::do_encoding): Return something useful.
2903         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2904         wchar_t.
2905         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2906         Change expected encoding output.
2907         (test02): Same.
2908         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2909         (test02): Same.
2911 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2912             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
2914         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2915         (basic_ios::widen): Same.
2917 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
2919         * testsuite/22_locale/money_get_members_char.cc:
2920         Add comment, tidy up.
2921         (test01): more "en_HK" tests (without showbase).
2922         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2924 2002-02-06  Loren Rittle <ljrittle@acm.org>
2926         * config/locale/c_locale_generic.cc: Do not trust
2927         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2928         set by configure.
2930 2002-02-06  Loren Rittle <ljrittle@acm.org>
2932         * acinclude.m4: Add C++ linkage check for strtof.
2933         * aclocal.m4: Rebuilt.
2934         * config.h.in: Rebuilt.
2935         * configure: Rebuilt.
2936         * config/locale/c_locale_generic.cc: Conditionally include
2937         <ieeefp.h>.  Improve handling and error checking of float
2938         and long double input for non-C99 configurations.
2940 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
2942         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2943         In case money_base::symbol deal properly with multi-char sign
2944         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2945         * testsuite/22_locale/money_get_members_char.cc: Add test07.
2946         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2948 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
2950         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2951         First construct a tentative returned string, then, only if the
2952         parsing succeeds, copy it into the string passed by reference.
2953         * testsuite/22_locale/money_get_members_char.cc: Add test06.
2954         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2956 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
2958         * docs/doxygen/TODO:  Impl-defined behavior now documented...
2959         * docs/html/17_intro/howto.html:  ...here.
2960         * docs/doxygen/mainpage.doxy:  Remove, rename...
2961         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
2962         * docs/doxygen/style.css:  Add small text.
2963         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
2964         * docs/doxygen/user.cfg.in:  Likewise.
2966 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
2968         * include/bits/stl_map.h:  Initial doxygen markup.
2969         * include/std/std_fstream.h:  Initial doxygen markup.
2971 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
2973         libstdc++/5579
2974         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2975         Deal correctly with !(__io.flags() & ios_base::showbase)
2976         for case money_base::symbol.
2977         * testsuite/22_locale/money_get_members_char.cc: Add test05.
2978         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2980 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
2982         * testsuite/22_locale/operators.cc
2983         (gnu_collate::do_compare()): Add return statement to
2984         suppress "no return statement" warning.
2986 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
2988         * testsuite/27_io/ostream_manip.cc: Enable test02.
2990 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
2992         * docs/html/documentation.html:  Update for 3.0.96.
2993         * docs/html/faq/index.html:  Update for 3.0.96.
2994         * docs/html/faq/index.txt:  Regenerated.
2995         * docs/doxygen/TODO:  Update notes.
2996         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
2998 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
3000         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3001         Initialize all data members in copy ctor. Make ctors explicit.
3002         (__enc_traits::__enc_traits()): Default ctor does nothing.
3003         (__enc_traits::_M_init): Guard against multiple iconv_opens.
3004         * include/std/std_sstream.h (basic_stringbuf): Make data members
3005         protected.
3006         * include/std/std_fstream.h (basic_filebuf): Same.
3007         * include/std/std_streambuf.h: Tweak.
3008         * include/bits/streambuf.tcc: Same.
3009         * include/bits/sstream.tcc: Same.
3010         * include/bits/fstream.tcc: Same.
3012 2002-01-31  Loren Rittle <ljrittle@acm.org>
3014         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3015         allow NULL argument to be passed to setenv().
3016         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3017         * testsuite/22_locale/collate_members_char.cc: Likewise.
3018         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3019         * testsuite/22_locale/ctype_members_char.cc: Likewise.
3020         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3021         * testsuite/22_locale/messages_members_char.cc: Likewise.
3022         * testsuite/22_locale/money_get_members_char.cc: Likewise.
3023         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3024         * testsuite/22_locale/money_put_members_char.cc: Likewise.
3025         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3026         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3027         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3028         * testsuite/22_locale/num_get_members_char.cc: Likewise.
3029         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3030         * testsuite/22_locale/num_put_members_char.cc: Likewise.
3031         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3032         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3033         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3034         * testsuite/22_locale/time_get_members_char.cc: Likewise.
3035         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3036         * testsuite/22_locale/time_put_members_char.cc: Likewise.
3037         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3039 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
3041         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3043         * ChangeLog-2001: Fix spelling errors...
3044         * docs/html/17_intro/RELEASE-NOTES: Update.
3045         * docs/html/17_intro/TODO: Update.
3046         * README (file): Update.
3048 2002-01-30  Loren Rittle <ljrittle@acm.org>
3050         * config/locale/c_locale_generic.cc: Check errno for ERANGE
3051         instead of non-zero to aid portability.
3053 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3055         * docs/html/22_locale/messages.html: Fix example code.
3057 2002-01-30  Richard Henderson  <rth@redhat.com>
3059         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3060         out from test03 and templatize.
3061         (test03): Use it.
3063 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
3065         * config/locale/numpunct_members_gnu.cc
3066         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3067         Fix initialization of _M_grouping for locales which have
3068         _M_thousands_sep == '\0'(L'\0', respectively).
3069         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3071 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
3073         * testsuite/27_io/ostream_inserter_arith.cc (test03):
3074         Better fix for 32/64 bit architectures, avoiding the
3075         implicit assumption that CHAR_BIT == 8.
3077 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
3079         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
3080         * Makefile.in:  Regenerate.
3082         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
3083         * docs/doxygen/Intro.3:  Update.
3084         * docs/doxygen/TODO:  Update.
3085         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
3086         * docs/doxygen/mainpage.doxy:  Update.
3087         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
3088         regenerate comments and variables with 1.2.12.
3089         * docs/doxygen/maint.cfg.in:  Remove file.
3091         * include/bits/stl_relops.h:  Doxygenate.
3092         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
3094         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3095         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3096         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3097         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3098         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3099         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3100         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3101         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3102         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3103         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3104         include/ext/hash_set, include/ext/iterator, include/ext/memory,
3105         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3106         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3107         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3108         include/std/std_algorithm.h, include/std/std_bitset.h,
3109         include/std/std_complex.h, include/std/std_deque.h,
3110         include/std/std_fstream.h, include/std/std_functional.h,
3111         include/std/std_iomanip.h, include/std/std_ios.h,
3112         include/std/std_iosfwd.h, include/std/std_iostream.h,
3113         include/std/std_istream.h, include/std/std_iterator.h,
3114         include/std/std_limits.h, include/std/std_list.h,
3115         include/std/std_locale.h, include/std/std_map.h,
3116         include/std/std_memory.h, include/std/std_numeric.h,
3117         include/std/std_ostream.h, include/std/std_queue.h,
3118         include/std/std_set.h, include/std/std_sstream.h,
3119         include/std/std_stack.h, include/std/std_stdexcept.h,
3120         include/std/std_streambuf.h, include/std/std_string.h,
3121         include/std/std_utility.h, include/std/std_valarray.h,
3122         include/std/std_vector.h:  Add/correct @file doxygen hook.
3124         * include/ext/memory:  Doxygenate most of rest of file.
3125         * libsupc++/exception:  Doxygen output formatting.
3126         * libsupc++/new:  Say which header it is.
3128         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
3129         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
3130         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
3131         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
3133 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
3134             Charles Leggett <CGLeggett@lbl.gov>
3136         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3138 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
3140         * testsuite/27_io/ostream_inserter_arith.cc (test03):
3141         Fix to deal correctly with both 32 bit and 64 bit architectures
3143 2002-01-25  Loren Rittle <ljrittle@acm.org>
3145         * testsuite/thread/pthread1.cc: Use one condition variable
3146         per predicate instead of tricky use of one condition variable.
3148 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
3150         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3151         streams.
3152         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3153         * testsuite/27_io/filebuf.cc: Compile only.
3154         * testsuite/27_io/filebuf_members.cc: Move tests to here.
3155         * testsuite/27_io/filebuf_virtuals.cc: And here.
3156         Revert sungetc, sync changes for expected values.
3157         * testsuite/27_io/filebuf-*: Move to...
3158         * testsuite/27_io/filebuf_virtuals-*: ...here.
3159         * testsuite/27_io/istream.cc: Compile only, activate.
3160         * testsuite/27_io/ostream.cc: Same.
3161         * testsuite/27_io/iostream.cc: New.
3162         * testsuite/27_io/iostream_members.cc: New.
3164 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
3166         * testsuite/thread/pthread1.cc: Enable on cygwin.
3167         * testsuite/thread/pthread2.cc: Likewise.
3168         * testsuite/thread/pthread3.cc: Likewise.
3169         * testsuite/thread/pthread4.cc: Likewise.
3170         * testsuite/thread/pthread5.cc: Likewise.
3171         * testsuite/thread/pthread6.cc: Likewise.
3173 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
3175         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3177 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
3179         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3180         const, tweak.
3181         (basic_ios::fill(char_type)): Use fill().
3182         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3183         (basic_ios::narrow): Same.
3184         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3185         if they are invalid.
3186         (basic_ios::init): Comment.
3187         * testsuite/27_io/ios_init.cc (test02): New.
3189 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
3191         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
3192         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
3193         * include/ext/memory:  Do not include stl_tempbuf.h.
3194         (temporary_buffer):  Add doxygen hook.
3195         (__get_temporary_buffer, get_temporary_buffer,
3196         return_temporary_buffer):  Move back to std:: header...
3197         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
3198         * include/ext/rope:  Do not include stl_tempbuf.h.
3199         * include/ext/stl_hashtable.h:  Likewise.
3200         * include/std/std_algorithm.h:  Likewise.
3201         * testsuite/20_util/temporary_buffer.cc:  New file.
3203 2002-01-24  andrew@andypo.net
3204             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
3206         libstdc++/5432
3207         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3208         * include/bits/localefwd.h: Likewise.
3209         Also use for std::locale::id::_S_highwater.
3210         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3211         * src/locale.cc: Support new usage of _Atomic_word.
3212         (std::locale::classic): Guard entire function against reentry.
3213         * src/localename.cc: Support new usage of _Atomic_word.
3215 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
3217         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3218         _GLIBCPP_HAVE_SETENV.
3219         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3220         * testsuite/22_locale/collate_members_char.cc (test02): Same.
3221         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3222         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3223         * testsuite/22_locale/messages_members_char.cc (test02): Same.
3224         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3225         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3226         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3227         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3228         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3229         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3230         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3231         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3232         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3233         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3234         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3235         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3236         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3237         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3238         * aclocal.m4: Regenerate.
3239         * configure: Regenerate.
3240         * config.h.in: Regenerate.
3242 2002-01-23  Loren Rittle <ljrittle@acm.org>
3244         * testsuite/thread/pthread1.cc: New test.
3245         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3246         * testsuite/thread/pthread3.cc: Likewise.
3247         * testsuite/thread/pthread4.cc: New test adapted from
3248         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3249         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3250         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3252 2002-01-23  Richard Henderson  <rth@redhat.com>
3254         PR libstdc++/5198
3255         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3256         CAS on the cpu variants that support it.  Add versions that use
3257         TAS and that disable interrupts.
3258         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3260 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
3262         * include/bits/locale_facets.tcc: Remove old comments.
3264 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
3266         * include/bits/locale_facets.tcc (__convert_to_v): Change template
3267         parameter to _Tv.
3268         (__convert_from_v): Same.
3270 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
3272         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3273         prototype.
3274         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3275         __max_digits checks, adjust arguments.
3276         (num_get::do_get(*)): Changeup.
3278 2002-01-23  Loren Rittle <ljrittle@acm.org>
3280         * config/locale/c_locale_generic.cc: Fix typename usage.
3282 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3284         * config/locale/c_locale_generic.cc: Fix.
3286 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3288         * docs/html/22_locale/messages.html: Remove angle brackets.
3289         * docs/html/17_intro/TODO: Add.
3291 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
3293         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3294         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3295         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3296         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3298 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3300         Audit for LANG independence.
3301         * include/bits/localefwd.h: Tweaks.
3302         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3303         Use __convert_to_v.
3304         (time_get::do_get_year): Same.
3305         (__convert_from_v): Add.
3306         (num_put::_M_convert_float): Use.
3307         (num_put::_M_convert_int): Same.
3308         (money_put::do_put): Same.
3310         * src/locale-inst.cc: Add instantiations for __convert_from_v.
3311         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3312         * config/locale/time_members_generic.cc:
3313         * config/locale/messages_members_gnu.cc: Same.
3314         * config/locale/messages_members_gnu.h: Same.
3316         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3317         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3318         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3319         * testsuite/22_locale/collate_members_char.cc (test02): New.
3320         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3321         * testsuite/22_locale/ctype_members_char.cc (test03): New.
3322         * testsuite/22_locale/messages_members_char.cc (test02): New.
3323         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3324         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3325         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3326         * testsuite/22_locale/money_get_members_char.cc (test04): New.
3327         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3328         * testsuite/22_locale/money_put_members_char.cc (test04): New.
3329         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3330         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3331         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3332         * testsuite/22_locale/time_put_members_char.cc (test03): New.
3333         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3334         * testsuite/22_locale/time_get_members_char.cc (test07): New.
3335         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3336         * testsuite/22_locale/num_get_members_char.cc (test03): New.
3337         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3338         * testsuite/22_locale/num_put_members_char.cc (test03): New.
3340         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3341         locale issues.
3342         * testsuite/22_locale/time_get_members_char.cc: Same.
3344 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3346         libstdc++/5280
3347         * include/bits/localefwd.h: Tweak comments.
3348         * include/bits/locale_facets.h (__convert_to_v): Add.
3349         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3350         (num_get::do_get(float)): Same.
3351         (num_get::do_get(long double)): Same.
3352         (num_get::do_get(bool)): Same.
3353         (num_get::do_get(long)): Same.
3354         (num_get::do_get(long long)): Same.
3355         (num_get::do_get(unsigned int)): Same.
3356         (num_get::do_get(unsigned short)): Same.
3357         (num_get::do_get(unsigned long)): Same.
3358         (num_get::do_get(unsigned long long)): Same.
3359         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3360         * config/locale/c_locale_generic.cc: Same.
3362 2002-01-22  Loren Rittle <ljrittle@acm.org>
3364         * include/Makefile.am (c_base_builddir): Remove redundant slash.
3365         (std_builddir): Likewise.
3366         (std_headers_rename): Fix cut-n-paste typo.
3367         (install-data-local): Concat path per element instead of once to
3368         first element of list.
3369         * include/Makefile.in: Rebuilt.
3371 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3373         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3374         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3375         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3377 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
3379         * include/bits/locale_facets.h (ctype<char>::classic_table):
3380         Remove definition.
3381         (ctype<char>::_S_ctable): Remove.
3382         * config/os/gnu-linux/bits/ctype_noninline.h
3383         (ctype<char>::_S_table): Remove definition.
3384         (ctype<char>::classic_table): Define.
3385         (ctype<char>::ctype): Replace _S_ctable with classic_table().
3386         * config/os/aix/bits/ctype_noninline.h: Same.
3387         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3388         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3389         * config/os/djgpp/bits/ctype_noninline.h: Same.
3390         * config/os/generic/bits/ctype_noninline.h: Same.
3391         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3392         * config/os/hpux/bits/ctype_noninline.h: Same.
3393         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3394         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3395         * config/os/mingw32/bits/ctype_noninline.h: Same.
3396         * config/os/newlib/bits/ctype_noninline.h: Same.
3397         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3398         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3399         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3401 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
3403         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3404         of _pctype. Use to define _S_ctable.  Add definition for alternate
3405         ctor.  Initialise _M_ctable to _S_ctable in ctors.
3406         (do_toupper, do_tolower): Use inline code appropriate for C-locale
3407         rather than ::toupper, ::tolower.
3409 2002-01-18  Loren Rittle <ljrittle@acm.org>
3411         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3412         Add specialization for FreeBSD systems only to avoid losing test
3413         only due to extra precision unmentioned in system headers.
3415 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
3417         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3419 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
3421         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
3422         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3424 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3426         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3428 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
3430         * configure.target: Define OPT_LDFLAGS for AIX case.
3432 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3434         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3435         __glibcpp_double_has_quiet_NaN): Correct mispelling.
3437 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
3439         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3441 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
3443         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3444         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
3445         * aclocal.m4: Regenerate.
3446         * configure: Regenerate.
3448 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3450         * include/Makefile.am (c_base_headers_rename): New.
3451         (c_base_headers_extra): New.
3452         (stamp-c_base): Modify.
3453         (install-data-local): Use both.
3454         * include/Makefile.in: Regenerate.
3455         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3456         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3457         cstdio ctime cwctype]: Move to..
3458         * include/c/std_*: Here.
3459         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3460         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3461         cstdio ctime cwctype]: Move to..
3462         * include/c_std/std_*: Here.
3464         Alexandre Oliva  <aoliva@redhat.com>
3465         * include/Makefile.am (.PRECIOUS): Add rule.
3466         * include/Makefile.in: Regenerate.
3468 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3469             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3471         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3472         Deuglify, should be current.
3473         (back_insert_iterator::_M_container): Deuglify, should be container.
3474         (front_insert_iterator::_M_container): Same.
3475         (insert_iterator::_M_container): Same.
3476         * testsuite/24_iterators/reverse_iterator.cc: Add check.
3477         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3478         * testsuite/24_iterators/front_insert_iterator.cc: Same.
3479         * testsuite/24_iterators/insert_iterator.cc: Same.
3481 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3483         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3484         static.
3485         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3486         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3487         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3488         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3489         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3490         * config/os/newlib/bits/ctype_noninline.h: Same.
3491         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3492         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3493         * config/os/hpux/bits/ctype_noninline.h: Same.
3494         * config/os/djgpp/bits/ctype_noninline.h: Same.
3495         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3496         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3497         * config/os/aix/bits/ctype_noninline.h: Same.
3499         Testcase by Dietmar Kühl via Peter Schmid
3500         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3501         classic_table().
3503 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3505         * libmath/signbitl.c: Copyright years as list, not range.
3506         * libmath/Makefile.am: Same.
3507         * libmath/Makefie.in: Regenerate.
3508         * libmath/signbit.c: Same.
3509         * libmath/nan.c: Same.
3510         * libmath/copysignf.c: Same.
3511         * libmath/signbitf.c: Same.
3512         * testsuite/22_locale/money_get_members_char.cc: Same.
3513         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3514         * testsuite/22_locale/money_put_members_char.cc: Same.
3515         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3516         * testsuite/22_locale/time_get_members_char.cc: Same.
3517         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3518         * testsuite/22_locale/time_put_members_char.cc: Same.
3519         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3520         * testsuite/21_strings/nonmember.cc: Same.
3521         * testsuite/21_strings/compare.cc: Same.
3522         * testsuite/27_io/stringstream.cc: Same.
3523         * testsuite/27_io/stringbuf.cc: Same.
3524         * testsuite/27_io/filebuf.cc: Same.
3525         * testsuite/27_io/ios_manip_basefield.cc: Same.
3526         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3527         * include/bits/cpp_type_traits.h: Same.
3528         * include/bits/generic_shadow.h: Same.
3529         * include/bits/gslice_array.h: Same.
3530         * include/bits/gslice.h: Same.
3531         * include/bits/indirect_array.h: Same.
3532         * include/bits/slice_array.h: Same.
3533         * include/bits/sstream.tcc: Same.
3534         * include/bits/streambuf_iterator.h: Same.
3535         * include/bits/valarray_array.tcc: Same.
3536         * include/bits/valarray_meta.h: Same.
3537         * include/bits/valarray_array.h: Same.
3538         * config/os/mingw32/bits/ctype_noninline.h: Same.
3539         * config/os/mingw32/bits/ctype_base.h: Same.
3540         * config/os/hpux/bits/ctype_noninline.h: Same.
3541         * config/os/hpux/bits/ctype_base.h: Same.
3542         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3543         * config/os/gnu-linux/bits/ctype_base.h: Same.
3544         * config/os/generic/bits/ctype_noninline.h: Same.
3545         * config/os/generic/bits/ctype_base.h: Same.
3547         * libsupc++/tinfo.h: Tweaks.
3549 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3551         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3552         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3553         * testsuite/22_locale/ctype_members_char.cc: Tweak.
3555 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3557         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3558         (num_put::do_put(void*)): Fix.
3559         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3560         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3561         * testsuite/22_locale/num_get_members_char.cc (test02): Add
3562         long double, void, bool types.
3563         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3565 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3566             Alexandre Oliva  <aoliva@redhat.com>
3568         * libmath/Makefile.am (LINK): Add --tag CC.
3569         * libmath/Makefile.in: Regenerate.
3571 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3573         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3574         of character to attribute mapping table.
3576 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
3578         * testsuite/26_numerics/c99_classification_macros_c.cc
3579         Remove dg-error and dg-excess-errors comments.
3581 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
3583         * include/bits/locale_facets.tcc (time_put::put): Correct output
3584         iterator positions.
3585         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3586         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3587         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3588         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3590 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3592         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3594 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
3595             Nathan Myers  <ncm@cantrip.org>
3597         * include/bits/basic_string.h
3598         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3599         temporaries (i.e., call _M_replace_safe) when possible.
3600         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3601         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3602         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3603         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3604         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3605         * include/bits/basic_string.tcc
3606         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3607         replace(__pos, __n1, __s, __n2).
3608         * testsuite/21_strings/replace.cc (test03): New testcases.
3610         * include/bits/basic_string.h (insert(__pos, __s, __n)):
3611         Adjust comparison wrt overflow.
3613 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3615         * include/Makefile.am (std_headers_rename): New variable.
3616         (install-data-local): Use it.
3617         * include/Makefile.in: Regenerate.
3619 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3621         * include/bits/locale_facets.tcc (money_put::do_put(string):
3622         Correct output iterator value.
3623         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3624         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3626 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3628         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
3629         previous commit.
3631 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3633         * include/Makefile.am (std_headers):  Update list with new names.
3634         (stamp-std):  Link to standardized name.
3635         * include/Makefile.in:  Regenerate.
3637         * include/std/algorithm, include/std/bitset, include/std/complex,
3638         include/std/deque, include/std/fstream, include/std/functional,
3639         include/std/iomanip, include/std/ios, include/std/iosfwd,
3640         include/std/iostream, include/std/istream, include/std/iterator,
3641         include/std/limits, include/std/list, include/std/locale,
3642         include/std/map, include/std/memory, include/std/numeric,
3643         include/std/ostream, include/std/queue, include/std/set,
3644         include/std/sstream, include/std/stack, include/std/stdexcept,
3645         include/std/streambuf, include/std/string, include/std/utility,
3646         include/std/valarray, include/std/vector:  Rename to...
3648         * include/std/std_algorithm.h, include/std/std_bitset.h,
3649         include/std/std_complex.h, include/std/std_deque.h,
3650         include/std/std_fstream.h, include/std/std_functional.h,
3651         include/std/std_iomanip.h, include/std/std_ios.h,
3652         include/std/std_iosfwd.h, include/std/std_iostream.h,
3653         include/std/std_istream.h, include/std/std_iterator.h,
3654         include/std/std_limits.h, include/std/std_list.h,
3655         include/std/std_locale.h, include/std/std_map.h,
3656         include/std/std_memory.h, include/std/std_numeric.h,
3657         include/std/std_ostream.h, include/std/std_queue.h,
3658         include/std/std_set.h, include/std/std_sstream.h,
3659         include/std/std_stack.h, include/std/std_stdexcept.h,
3660         include/std/std_streambuf.h, include/std/std_string.h,
3661         include/std/std_utility.h, include/std/std_valarray.h,
3662         include/std/std_vector.h:  ...this.
3664 2002-01-11  Loren Rittle <ljrittle@acm.org>
3666         * include/Makefile.am (extra_target_headers): New list of all
3667         target files built with ad hoc naming rules.
3668         (stamp-*): Handle LN_S failure in manner portable across make
3669         implementations.
3670         (install-data-local): Install header files from human-maintained
3671         file lists and directory components instead of non-robust find.
3672         * include/Makefile.in: Rebuilt.
3674 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
3676         * include/bits/locale_facets.tcc (money_get::do_get(string)):
3677         Check for zero-length negative sign before adding it to output
3678         string.
3679         (money_get::do_get(long double)): Return beg.
3680         * testsuite/22_locale/money_get_members_char.cc (test02): Add
3681         iterator checks.
3682         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3684 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
3686         libstdc++/5331
3687         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3688         for _M_extract_float and _M_extract_int
3689         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3690         (num_get<>::_M_extract_int): Likewise, all callers changed
3691         * testsuite/22_locale/num_get_members_char.cc: Testcase
3693 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
3695         * libsupc++/exception (bad_exception): Add comment.
3696         * libsupc++/new (bad_alloc): Same.
3697         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3699 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
3701         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3702         that the destructors should be removed from the descriptions
3703         in the standard: writing them explicitly allows the vtable
3704         heuristic to work. For additional information see:
3705         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3706         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3707         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3708         * libsupc++/exception (bad_exception::~bad_exception()):
3709         Reintroduce declaration.
3710         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3711         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3712         (bad_typeid::~bad_typeid()): Same.
3713         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3714         Reintroduce definition.
3715         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3716         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3717         (bad_typeid::~bad_typeid()): Same.
3719 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
3721         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3722         * include/Makefile.in: Regenerate.
3724 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
3726         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3727         definition.
3729 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
3731         libstdc++/2913
3732         libstdc++/4879
3733         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3734         return value of _M_file->sync().
3735         (filebuf::showmanyc): Check for is_open.
3736         * include/std/fstream (filebuf::sync): Tweak.
3737         * testsuite/27_io/filebuf.cc: Tweak.
3739 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
3740             Brad Garcia  <garsh@attbi.com>
3742         * testsuite/27_io/filebuf_members.cc: Add test.
3744 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
3745             Craig Rodrigues  <rodrigc@mediaone.net>
3747         libstdc++/5174
3748         * po/Makefile.am (mkinstalldirs): Add.
3749         * po/Makefile.in: Regenerate.
3751 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
3753         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3754         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
3755         compiler output.
3756         * testsuite/23_containers/map_operators.cc: Remove
3757         dg-excess-errors comment.
3758         * testsuite/23_containers/set_operators.cc: Likewise.
3760 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
3762         * include/bits/stl_function.h:  Remove two lines of comments;
3763         adjust copyright years.
3765 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
3767         * include/Makefile.am (std_headers): Remove cXXX from list.
3768         (c_base_srcdir): No bits subdirectory.
3769         (c_base_builddir): Same.
3770         (c_base_headers): Adjust names, add ciso646.
3771         (bits_headers): Remove std_xxx.h headers.
3772         * include/Makefile.in: Regenerate.
3774         * include/ext/iterator: Adjust includes.
3775         * include/ext/ropeimpl.h: Same.
3776         * include/ext/stl_hash_fun.h: Same.
3777         * include/ext/algorithm: Same.
3779         * include/backward/bvector.h: Adjust includes.
3780         * include/backward/vector.h: Same.
3781         * include/backward/strstream: Same.
3782         * include/backward/streambuf.h: Same.
3783         * include/backward/stack.h: Same.
3784         * include/backward/set.h: Same.
3785         * include/backward/queue.h: Same.
3786         * include/backward/multiset.h: Same.
3787         * include/backward/multimap.h: Same.
3788         * include/backward/map.h: Same.
3789         * include/backward/list.h: Same.
3790         * include/backward/iterator.h: Same.
3791         * include/backward/iostream.h: Same.
3792         * include/backward/iomanip.h: Same.
3793         * include/backward/fstream.h: Same.
3794         * include/backward/deque.h: Same.
3795         * include/backward/complex.h: Same.
3797         * include/bits/std_algorithm.h: Move to...
3798         * include/std/algorithm: ...here.
3799         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3800         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3801         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3802         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3803         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3804         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3805         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3806         Same.
3808         * include/c_std/bits/std_cassert.h: Move to...
3809         * include/c_std/cassert: Here.
3810         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3811         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3812         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3813         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3814         std_cwctype.h: Same.
3815         * include/c_std/cmath: Adjust cmath.tcc include.
3816         * include/c_std/cstdlib: Adjust includes.
3817         * include/c_std/cwchar: Same.
3818         * include/c_std/ctime: Same.
3819         * include/c_std/cstring: Same.
3820         * include/c_std/cstdio: Same.
3821         * include/c_std/bits: Remove directory.
3823         * include/c/bits/std_cassert.h: Move to...
3824         * include/c/cassert: Here.
3825         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3826         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3827         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3828         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3829         std_cwctype.h: Same.
3830         * include/c/bits: Remove directory.
3832         * include/std/cwctype: Remove.
3833         * include/std/cwchar: Remove.
3834         * include/std/ctime: Remove.
3835         * include/std/cstring: Remove.
3836         * include/std/cstdlib: Remove.
3837         * include/std/cstdio: Remove.
3838         * include/std/cstddef: Remove.
3839         * include/std/cstdarg: Remove.
3840         * include/std/csignal: Remove.
3841         * include/std/csetjmp: Remove.
3842         * include/std/cmath: Remove.
3843         * include/std/clocale: Remove.
3844         * include/std/climits: Remove.
3845         * include/std/ciso646: Remove.
3846         * include/std/cfloat: Remove.
3847         * include/std/cerrno: Remove.
3848         * include/std/cctype: Remove.
3849         * include/std/cassert: Remove.
3851         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3852         files and subsituting <xxx>.
3853         * include/bits/valarray_array.h: Same.
3854         * include/bits/stl_uninitialized.h: Same.
3855         * include/bits/stl_alloc.h: Same.
3856         * include/bits/stl_algobase.h: Same.
3857         * include/bits/sstream.tcc: Same.
3858         * include/bits/pthread_allocimpl.h: Same.
3859         * include/bits/ostream.tcc: Same.
3860         * include/bits/localefwd.h: Same.
3861         * include/bits/locale_facets.tcc: Same.
3862         * include/bits/locale_facets.h: Same.
3863         * include/bits/istream.tcc: Same.
3864         * include/bits/char_traits.h: Same.
3865         * include/bits/boost_concept_check.h: Same.
3866         * include/bits/basic_file.h: Same.
3867         * include/std/bitset: Same.
3868         * include/std/complex: Same.
3869         * include/std/fstream: Same.
3870         * include/std/functional: Same.
3871         * include/std/ios: Same.
3872         * include/std/iostream: Same.
3873         * include/std/ostream: Same.
3874         * include/std/sstream: Same.
3875         * include/std/streambuf: Same.
3876         * include/std/string: Same.
3877         * include/std/iterator: Same.
3878         * include/std/valarray: Same.
3880         * src/ios.cc: Adjust includes.
3881         * src/valarray-inst.cc: Same.
3882         * src/string-inst.cc: Same.
3883         * src/stl-inst.cc: Same.
3884         * src/stdexcept.cc: Same.
3885         * src/misc-inst.cc: Same.
3886         * src/localename.cc: Same.
3887         * src/locale-inst.cc: Same.
3888         * src/locale.cc: Same.
3889         * src/limits.cc: Same.
3890         * src/concept-inst.cc: Same.
3891         * src/complex_io.cc: Same.
3892         * src/codecvt.cc: Same.
3893         * src/bitset.cc: Same.
3894         * src/cmath.cc: Same.
3896 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
3898         * include/bits/stl_tree.h (rb_tree):  Move to...
3899         * include/ext/rb_tree:  ...here, new file.
3900         * include/Makefile.am (ext_headers):  Add new file.
3901         * include/Makefile.in:  Regenerate.
3902         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3903         return_temporary_buffer, struct temporary_buffer):  Move to...
3904         * include/ext/memory:  ...here.
3905         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
3906         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
3907         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
3909 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
3911         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
3912         * include/ext/numeric:  ...here, new file.
3913         * include/bits/stl_function.h (identity_element, unary_compose,
3914         binary_compose, compose1, compose2, identity, select1st,
3915         select2nd, project1st + helper, project2nd + helper,
3916         constant_void_fun + helper, constant_unary_fun + helper,
3917         costant_binary_fun + helper, constant0, constant1, constant2,
3918         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
3919         * include/ext/functional:  ...here, new file.
3920         * include/Makefile.am (ext_headers):  Add new files.
3921         * include/Makefile.in:  Regenerate.
3922         * testsuite/ext/headers.cc:  Include <ext/numeric> and
3923         <ext/functional>.
3924         * include/backward/algo.h:  Include <ext/numeric>, tweak.
3925         * include/backward/function.h:  Include <ext/functional>, tweak.
3926         * include/ext/ropeimpl.h:  Include <ext/numeric>.
3928 2002-01-03  Jeffrey A Law  <law@redhat.com>
3930         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3931         __strtoull declarations with __extension__.
3933 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
3935         * testsuite/lib/prune.exp: Correct regular expression for
3936         -ffunction-sections
3938 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3940         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3941         Change concept checks, as with lower_bound and PR 2054.
3942         * testsuite/ext/concept_checks.cc:  Expand test to include those.
3944 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3946         * include/bits/boost_concept_check.h:  Import some changes from
3947         upsteam (Boost) version.
3949 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
3951         * include/bits/stl_algobase.h (copy_n + helpers,
3952         lexicographical_compare_3way + helpers):  Move to...
3953         * include/ext/algorithm:  ...here.
3954         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3955         helpers):  Move to...
3956         * include/ext/memory:  ...here, new file.
3957         * include/Makefile.am (ext_headers):  Add new file.
3958         * include/Makefile.in:  Regenerate.
3959         * testsuite/ext/headers.cc:  Include <ext/memory>.
3960         * include/backward/algobase.h:  Include <ext/memory> and
3961         <ext/algorithm>, tweak.
3962         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
3963         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
3965 2002-01-01  Roger Sayle <roger@eyesopen.com>
3967         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3968         equivalent ___builtin__ versions.
3970         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3971         are available in libstdc++ as the necessary stub implementations
3972         are provided by libmath/stubs.c.
3974 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
3976         * configure.in: Add support for NetBSD cross compiles.
3977         * configure: Regenerate.