OSDN Git Service

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