OSDN Git Service

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