OSDN Git Service

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