OSDN Git Service

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