OSDN Git Service

158c5c072a911c0dae2426e871f88595a0775737
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
2
3         * testsuite/24_iterators/istream_iterator.cc
4         (test02): New tests.
5
6 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7             Paolo Carlini  <pcarlini@unitus.it>
8
9         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
10         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
11         fix i_lit_base e_lit_base arrays, making them independent
12         from the endianness of the platform; tweak UCS4 to UCS-4BE.
13
14 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
15
16         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
17         allocate at least a byte.
18
19         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
20         debugger-friendly.
21         * testsuite/27_io/streambuf.cc (test07): Fix.
22         (test06): Enable.
23
24 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
25
26         * docs/doxygen/Intro.3:  Date tweak.
27         * docs/doxygen/TODO:  Update.
28         * docs/doxygen/doxygroups.cc:  Point to tables.html.
29         * docs/doxygen/mainpage.html:  Date tweak.
30         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
31         * docs/doxygen/tables.html:  Fill in the blanks.
32
33         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
34         * include/bits/stl_algo.h:  Likewise; use expanded form.
35         * include/bits/stl_alloc.h:  Likewise.
36         * include/bits/stl_construct.h:  Likewise.
37         * include/bits/stl_deque.h:  Likewise.
38         * include/bits/stl_iterator_base_types.h:  Likewise.
39         * include/bits/stl_list.h:  Likewise.
40         * include/bits/stl_relops.h:  Likewise.
41         * include/bits/stl_tempbuf.h:  Likewise.
42         * include/bits/stl_vector.h:  Likewise.
43         * include/std/std_memory.h:  Likewise.
44
45         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
46         * include/bits/stl_list.h:  Likewise.
47         * include/bits/stl_vector.h:  Likewise.
48
49 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
50
51         * include/c/: Guard with _CPP_.
52         * include/c_std/: Same.
53         * include/Makefile.am: Fixup install, link routines for null
54         c_base_headers_extra scenarios.
55         * include/Makefile.in: Regerate.
56
57 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
58             Richard Henderson  <rth@redhat.com>
59
60         * testsuite/22_locale/codecvt_members_unicode_char.cc
61         (test01, test02): make sure that the i_lit_base array
62         is sufficiently aligned.
63
64 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
65
66         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
67         _ctype_.
68
69 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
70
71         * testsuite/22_locale/collate_byname.cc
72         (test01): compare the result of collate::compare with
73         that of collate::transform + string::compare, not with
74         that of collate::transform + collate::compare; values
75         returned by collate::compare are normalized, therefore
76         test against +-1.
77
78 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
79             Jakub Jelinek  <jakub@redhat.com>
80
81         * config/locale/gnu/messages_members.h: Correct conditional.
82         * config/locale/gnu/messages_members.cc: Same.
83         * config/locale/gnu/time_members.cc: Same.
84
85 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
86             Paolo Carlini  <pcarlini@unitus.it>
87
88         * testsuite/22_locale/codecvt_members_unicode_char.cc
89         (test01, test02): Fix i_lit_base arrays, making them
90         independent from the endianness of the platform.
91
92 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
93
94         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
95         signbit and __signbit directly.
96         * aclocal.m4: Regenerate.
97         * configure: Regenerate.
98         * config.h.in: Regenerate.
99         * libmath/Makefile.am: Simplify.
100         * libmath/Makefile.in: Regenerate.
101         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
102
103         * include/Makefile.am: Clean up handling of extra "C" header files.
104         Add hooks for "C" compatibility headers.
105         * include/Makefile.in: Regenerate.
106
107         * include/c/*: Formatting tweaks, cleanups.
108         * include/c_std/*: Same.
109
110 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
111
112         * config/locale/gnu/messages_members.h: Add __uselocale bits.
113         * config/locale/gnu/messages_members.cc: Same.
114         * config/locale/gnu/time_members.cc: Same.
115
116 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
117
118         * src/vterminate.cc: Format, -fno-exceptions cleanup.
119
120 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
121
122         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
123         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
124         * aclocal.m4: Regenerate.
125         * configure: Likewise.
126
127 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
128             Ulrich Drepper  <drepper@redhat.com>
129
130         * src/locale-inst.cc (__convert_from_v): Add an additional
131         __size parameter in the declarations.
132         * include/bits/locale_facets.tcc
133         (__convert_from_v): When available (that is,
134         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
135         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
136         being defined or not, call and use __convert_from_v in the
137         appropriate way.
138         (num_put::_M_convert_int): Same here.
139         (money_put::do_put(long double)): Same here.
140
141 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
142
143         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
144         * docs/html/faq/index.txt:  Regenerate.
145
146 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
147
148         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
149         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
150         --enable-libunwind-exceptions is set.
151         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
152         macro to check for libunwind.
153         * configure: Regenerate.
154         * src/Makefile.am (libstdc___la_LDFLAGS): Add
155         LIBUNWIND_FLAG to libstdc link line.
156         * src/Makefile.in: Regenerate.
157
158 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
159
160         * docs/html/faq/index.html: Add OS X workaround.
161         * docs/html/17_intro/TODO: Update.
162
163 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
164
165         * include/bits/locale_facets.tcc
166         (money_put::do_put(long double)): Fix dimensioning of
167         temporary buffers to avoid risk of overruns.
168         (money_put::do_put(string)): Same for the buffer used to
169         add the grouping chars.
170         * testsuite/22_locale/money_put_members_char.cc: Add test06.
171         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
172
173         * include/bits/locale_facets.tcc
174         (collate::do_transform): Simplify.
175
176 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
177
178         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
179         * configure.in:  Add comments pointing the way for autoconf 2.5x.
180         * aclocal.m4, config.h.in, configure:  Regenerate.
181
182 2002-03-18  Philipp Thomas  <pthomas@suse.de>
183
184         * include/backward/hash_map.h: hash, hashtable, hash_map and
185         hash_multimap are in namespace __gnu_cxx.
186         include/backward/hash_set.h: hash, hashtable, hash_set and
187         hash_multiset are in namespace __gnu_cxx.
188         include/backward/hashtable.h: hash and hashtable are in
189         namespace __gnu_cxx.
190         include/backward/rope.h: char_producer, sequence_buffer,
191         rope, crope and wrope are in namespace __gnu_cxx.
192         include/backward/slist.h: slist is in namespace __gnu_cxx.
193         * testsuite/backward/header_hash_map_h.cc
194         testsuite/backward/header_hash_set_h.cc
195         testsuite/backward/header_hashtable_h.cc
196         testsuite/backward/header_rope_h.cc
197         testsuite/backward/header_slist_h.cc
198         testsuite/backward/header_tempbuf_h.cc: New tests for
199         checking that we're using the correct namespace.
200
201 2002-03-17  Jason Merrill  <jason@redhat.com>
202
203         PR c++/4381
204         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
205         (check_exception_spec): Call it.  Take the thrown pointer.
206         (__cxa_call_unexpected): Pass it.
207         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
208
209 2002-03-15  Anthony Green  <green@redhat.com>
210
211         * configure.in: Remove useless is_mingw32.
212         * configure: Rebuilt.
213
214 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
215
216         * testsuite/22_locale/collate_members_char.cc
217         (test01): compare the result of collate::compare with
218         that of collate::transform + string::compare, not with
219         that of collate::transform + collate::compare.
220         (test01): values returned by collate::compare are
221         normalized, therefore test against +-1.
222         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
223
224 2002-03-12  Loren Rittle  <ljrittle@acm.org>
225
226         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
227         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
228
229 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
230             Per Liboriussen  <liborius@stofanet.dk>
231
232         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
233         unsigned char.
234         * config/os/gnu-linux/bits/ctype_inline.h: Same.
235
236         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
237
238         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
239         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
240
241         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
242         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
243
244         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
245         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
246
247         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
248
249 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
250
251         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
252         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
253         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
254         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
255         that memory limits are in place.
256         (test03): Add tests.
257
258 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
259
260         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
261         * aclocal.m4: Regenerate.
262         * config.h.in: Regenerate.
263         * configure: Regenerate.
264         * include/c_std/std_cwctype.h: Guard.
265
266 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
267
268         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
269         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
270         * aclocal.m4: Regenerate.
271         * configure: Regenerate.
272
273 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
274
275         * include/bits/stl_bvector.h: Fix warning.
276
277 2002-03-11  Richard Henderson  <rth@redhat.com>
278
279         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
280
281 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
282
283         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
284         New function.  Build the list of tests to run in testsuite_files.
285         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
286
287 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
288
289         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
290         platforms with no weak support.
291         * testsuite/27_io/ios_init.cc:  Likewise.
292
293 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
294
295         * include/bits/locale_facets.tcc (time_put::do_put):
296         Consider sizeof(char_type) in allocating the buffer.
297
298         * include/bits/locale_facets.tcc (collate::do_tranform):
299         Remove redundant variable.
300
301 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
302             Paolo Carlini  <pcarlini@unitus.it>
303
304         * config/locale/generic/collate_members.cc
305         (collate<char,wchar_t>::_M_compare_helper): normalize
306         values returned by strcoll and wcscoll.
307         * config/locale/gnu/collate_members.cc
308         (collate<char,wchar_t>::_M_compare_helper): ditto
309         for __strcoll_l and __wcscoll_l.
310
311 2002-03-10  Anthony Green  <green@redhat.com>
312
313         * configure.in: Support cross builds to mingw32 target.
314         * configure: Rebuilt.
315
316 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
317
318         * include/bits/locale_facets.tcc (collate::do_transform):
319         Rewrite to fix problems with long transformed strings.
320
321 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
322
323         * c_locale_generic.cc: Move to...
324         * generic/c_locale.cc
325         * c_locale_generic.h: Move to...
326         * generic/c_locale.h
327         * codecvt_specializations_generic.h: Move to...
328         * generic/codecvt_specializations.h
329         * collate_members_generic.cc: Move to...
330         * generic/collate_members.cc
331         * ctype_members_generic.cc: Move to...
332         * generic/ctype_members.cc
333         * messages_members_generic.cc: Move to...
334         * generic/messages_members.cc
335         * messages_members_generic.h: Move to...
336         * generic/messages_members.h
337         * moneypunct_members_generic.cc: Move to...
338         * generic/monetary_members.cc
339         * numpunct_members_generic.cc: Move to...
340         * generic/numeric_members.cc
341         * time_members_generic.cc: Move to...
342         * generic/time_members.cc
343         * c_locale_gnu.cc: Move to...
344         * gnu/c_locale.cc
345         * c_locale_gnu.h: Move to...
346         * gnu/c_locale.h
347         * collate_members_gnu.cc: Move to...
348         * gnu/collate_members.cc
349         * ctype_members_gnu.cc: Move to...
350         * gnu/ctype_members.cc
351         * messages_members_gnu.cc: Move to...
352         * gnu/messages_members.cc
353         * messages_members_gnu.h: Move to...
354         * gnu/messages_members.h
355         * moneypunct_members_gnu.cc: Move to...
356         * gnu/monetary_members.cc
357         * numpunct_members_gnu.cc: Move to...
358         * gnu/numeric_members.cc
359         * time_members_gnu.cc: Move to...
360         * gnu/time_members.cc
361         * c_locale_ieee_1003.1-200x.cc: Move to...
362         * ieee_1003.1-2001/c_locale.cc
363         * c_locale_ieee_1003.1-200x.h: Move to...
364         * ieee_1003.1-2001/c_locale.h
365         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
366         * ieee_1003.1-2001/codecvt_specializations.h
367         * messages_members_ieee_1003.1-200x.cc: Move to...
368         * ieee_1003.1-2001/messages_members.cc
369         * messages_members_ieee_1003.1-200x.h: Move to...
370         * ieee_1003.1-2001/messages_members.h
371
372         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
373         * aclocal.m4: Regenerate.
374         * configure: Regenerate.
375         * src/Makefile.am (sources): Change to monetary and numeric.
376         * src/Makefile.in: Regenerate.
377         * docs/html/configopts.html: Update to ieee_1003.1-2001.
378
379 2002-03-08  scott snyder  <snyder@fnal.gov>
380
381         libstdc++/5875
382         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
383         Allow one more digit of precision.
384         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
385         write a double and read back in the same value.
386
387 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
388
389         * include/std/std_limits.h: Move static const data members out of
390         generic template, into base class __numeric_limits_base.
391         * src/limits.cc: Add definitions.
392         * config/linker-map.gnu: Add __numeric_limits_base.
393         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
394
395 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
396
397         * include/bits/stl_alloc.h: Add extern implicit allocator
398         instantiations.
399         * include/bits/basic_string.tcc: Tweak.
400         * include/bits/locale_facets.tcc: Remove default args. Add
401         has_facet, use_facet extern instantiations.
402         * src/stl-inst.cc: Add explicit instantiation.
403         * src/locale-inst.cc: Clean. Remove locale member template
404         instantiations.
405
406         * testsuite/22_locale/operators.cc (test02): Enable.
407
408 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
409             Stephen M. Webb  <stephen.webb@bregmasoft.com>
410
411         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
412         (_S_rb_tree_black): Make enum.
413         Clean. Format.
414         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
415         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
416         (__stl_threshold): _M_threshold, enum.
417         * src/stl-inst.cc: Same.
418         * config/linker-map.gnu: Remove.
419
420         * testsuite/23_containers/vector_bool.cc: New.
421
422 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
423
424         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
425         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
426         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
427         referring to the collection as a whole.  New section on which macros
428         can be redefined by the user.
429         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
430         * docs/html/20_util/howto.html:  Update link to SGI.
431         * docs/html/faq/index.html:  Update snapshot versions.  New entry
432         on why g++ (but not gcc) must currently predefine certain macros.
433         * docs/html/faq/index.txt:  Regenerated.
434
435         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
436         names in declaration.
437         (basic_string::compare):  These are no longer optional.
438         * include/bits/ostream.tcc:  Tweak closing brace placement.
439         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
440         * include/std/std_sstream.h:  Fix typo in comment.
441         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
442         * src/locale.cc:  Likewise.
443
444 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
445
446         PR libstdc++/5734
447         * include/bits/stl_vector.h (vector::push_back()):  Guard with
448         _GLIBCPP_DEPRECATED.
449
450 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
451
452         * include/bits/c++config:  Fix misplaced leading blanks on first line.
453
454 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
455
456         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
457         * README (libmath): Make clear.
458
459 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
460
461         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
462         script globbing in ld.
463         * aclocal.m4: Rebuilt.
464         * configure: Rebuilt.
465
466 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
467
468         * docs/html/17_intro/RELEASE-NOTES: Update.
469         * README: Format subdirectories.
470
471 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
472
473         libstdc++/5816
474         * include/bits/locale_facets.tcc
475         (num_get::_M_extract_float): Fix the parsing of __dec, since
476         the standard prescribes that if no grouping characters are
477         seen, no grouping check is applied.
478         * testsuite/22_locale/num_get_members_char.cc: Add test05
479         distilled from the PR.
480         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
481
482 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
483
484         * docs/html/17_intro/porting-howto.xml: Refer to
485         http://www.oasis-open.org for docbookx.dtd.
486         * docs/html/17_intro/porting-howto.html: Regenerated.
487
488 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
489
490         PR libstdc++/3955
491         * include/std/std_sstream.h:  Remove trailing spaces.
492         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
493         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
494
495 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
496
497         * testsuite/22_locale/num_get_members_char.cc (test04):
498         Use a named locale expecting grouping (de_DE).
499         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
500         Ditto.
501         * testsuite/27_io/ios_manip_basefield.cc (test01):
502         Extend coverage, uniform treatment of hexs and octs.
503
504 2002-02-28  Richard Henderson  <rth@redhat.com>
505
506         * config/linker-map.gnu: Export operator new with unsigned long,
507         and with std::nothrow_t.  Likewise operator delete.
508
509 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
510
511         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
512         Admit grouping for octals and hexadecimals too.
513         * testsuite/22_locale/num_get_members_char.cc: Add test04.
514         (test01): Tweak "." -> "," in void* test.
515         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
516
517         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
518         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
519
520 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
521
522         * testsuite/27_io/ios_manip_basefield.cc (test01):
523         Fix for 64 bit machines.
524
525 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
526
527         libstdc++/3983
528         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
529         Adjust comment.
530         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
531         (basic_ios::_M_fill_init): New.
532         (basic_ios::fill()): Delay dealing with _M_fill.
533         Adjust comment.
534         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
535         (ios_base::_M_call_callbacks): Adjust.
536         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
537
538 2002-02-26  Loren Rittle  <ljrittle@acm.org>
539
540         * include/Makefile.am (thread_target_headers): Unconditionally
541         stage and install gthr-posix.h.
542         (${target_builddir}/gthr-posix.h): New rule cloned off
543         ${target_builddir}/gthr-default.h.
544         (${target_builddir}/gthr-default.h): Support chained inclusion
545         of gthr support headers.
546         * include/Makefile.in: Rebuilt.
547
548 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
549
550         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
551         Group all the integral types, not only decs.
552         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
553         tests, add a few more.
554
555 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
556
557         * src/ios.cc (ios_base::~ios_base): Tweak.
558         (ios_base::_M_call_callbacks): Deal with null __p.
559         (ios_base::ios_base): Set _M_callbacks.
560         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
561         * testsuite/27_io/ios_init.cc (test02): Fix.
562
563         * mkcheck.in (static_fail): Failed links go to output file.
564
565 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
566
567         * docs/html/faq/index.html:  Update.
568         * docs/html/faq/index.txt:  Regenerate.
569
570 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
571
572         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
573         * aclocal.m4:  Regenerate.
574         * docs/html/configopts.html:  Document --enable-symvers.
575         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
576
577 2002-02-22  Philipp Thomas  <pthomas@suse.de>
578
579         * include/backward/tempbuf.h: get_temporary_buffer and
580         return_temporary_buffer are in namespace std, not in __gnu_cxx.
581
582 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
583
584         * configure.in (target_alias): Default to yes.
585         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
586         libgcc to default case.
587
588 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
589
590         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
591         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
592         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
593         * aclocal.m4:  Regenerate.
594         * configure:  Regenerate.
595         * config/linker-map.dummy:  New file.  Contains nothing useful.
596
597 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
598
599         * testsuite/22_locale/money_put_members_char.cc: Fix.
600         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
601
602         * testsuite/27_io/standard_manipulators.cc: New file.
603
604         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
605         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
606
607 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
608
609         * config/os/mingw32/bits/ctype_noninline.h
610         (ctype<char>::ctype): Remove default args from parm list.
611         * config/os/djgpp/bits/ctype_noninline.h: Same.
612
613 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
614
615         * include/std/std_iomanip.h: Inline, tweaks.
616         * config/linker-map.gnu: Remove hacks.
617
618         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
619         * testsuite/27_io/ios_init.cc: Same.
620         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
621         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
622
623 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
624
625         * config/linker-map.gnu: Export global vtable, typeinfo, guard
626         variable, and thunk info as per CXXABI docs.
627
628 2002-02-19  Loren Rittle <ljrittle@acm.org>
629
630         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
631         * include/Makefile.in: Rebuilt.
632
633 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
634
635         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
636           with size3 for the string collations of str5.
637
638 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
639
640         libstdc++/5708
641         * include/bits/locale_facets.tcc (money_put::do_put):
642         For the space field use __fill instead of ' ', uniformly.
643         * testsuite/22_locale/money_put_members_char.cc:
644         Add test05 distilled from PR.
645         (test01-02-03): Trim some '*' to ' '.
646         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
647
648 2002-02-18  Loren Rittle <ljrittle@acm.org>
649
650         libstdc++/5697
651         * include/Makefile.am (thread_builddir): Remove (map all
652         existing uses to target_builddir).
653         (thread_headers): Rename to...
654         (thread_target_headers): ...this.
655         (stamp-thread): Remove.
656         (stamp-target): Correctly state the position as built.
657         Update all dependencies to match the new reality.  Remove all
658         dependency calculations on directories.
659         * include/Makefile.in: Rebuilt.
660
661 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
662
663         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
664         * include/bits/fstream.tcc: Same.
665         * include/bits/sstream.tcc: Same.
666         * include/bits/ostream.tcc: Same.
667         * include/bits/istream.tcc: Same.
668         * include/bits/streambuf.tcc: Same.
669         * include/bits/basic_ios.tcc: Same.
670         * include/bits/basic_string.tcc: Same.
671
672 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
673
674         * include/std/std_iosfwd.h: Don't guard typedefs with
675         _GLIBCPP_USE_WCHAR_T
676         * include/bits/stringfwd.h: Same.
677
678 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
679
680         * src/locale.cc (moneypunct_byname): Remove definitions.
681         * include/std/std_streambuf.h (streambuf::operator=): Return.
682
683 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
684
685         Tune for size.
686         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
687         explicit instantiation.
688         (string::_Rep::_S_max_size): Same.
689         * include/bits/basic_string.tcc: Add extern explicit
690         instantiations for string, wstring.
691         * include/bits/basic_ios.tcc: Add extern explicit instantiations
692         for ios, wios.
693         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
694         * include/bits/istream.tcc: Same, for istream, wistream.
695         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
696         wiostream.
697         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
698         istringstream, wistringstream, ostringstream, wostringstream,
699         stringstream, wstringstream.
700         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
701         wifstream, ofstream, wofstream, fstream, wfstream.
702         * src/misc-inst.cc: Correct comments.
703         Add iomanip instantiations for wide streams.
704         * include/std/std_iomanip.h: Same.
705         * include/bits/locale_facets.tcc: Same.
706
707         * include/std/std_streambuf.h: Correct
708         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
709         * include/std/std_sstream.h: Same.
710         * include/std/std_ostream.h: Same.
711         * include/std/std_istream.h: Same.
712         * include/std/std_fstream.h: Same.
713
714         * include/std/std_streambuf.h: Add definitions for private copy
715         ctor and assignment operator.
716         * include/std/std_istream.h: Remove declared but undefined copy
717         ctor and assignment operator. This is taken care of in ios_base,
718         so adding it in the derived class as well is superfluous.
719         * include/std/std_ostream.h: Same.
720
721         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
722         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
723
724 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
725
726         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
727         Add typeinfo bits. Smooth.
728         * aclocal.m4: Regenerate.
729         * configure: Same.
730         * src/Makefile.in: Same.
731
732 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
733
734         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
735         which do not have a CAS instruction.
736
737 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
738
739         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
740         * configure.in:  Call it.
741         * config/linker-map.gnu:  New file, initial incomplete revision.
742         * src/Makefile.am:  Optionally pass version script to the linker.
743         * aclocal.m4:  Regenerate.
744         * configure:  Regenerate.
745         * src/Makefile.in:  Regenerate.
746
747 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
748
749         * src/localename.cc: Remove stdexcept include.
750         * src/locale-inst.cc: Same.
751         * src/locale.cc: Same.
752         * src/functexcept.cc: Remove string includes.
753         * include/std/std_bitset.h: Remove stdexcept include.
754         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
755         * testsuite/23_containers/bitset_ctor.cc: Same.
756
757 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
758
759         * include/bits/stl_algo (__stl_threshold): Declare external.
760         (__stl_chunk_size): Same.
761         * include/bits/stl_bvector.h (__WORD_BIT): Same.
762         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
763         (_S_rb_tree_black): Same.
764         * src/stl-inst.cc (__stl_threshold): Define.
765         (__stl_chunk_size): Same.
766         (__WORD_BIT): Same.
767         (_S_rb_tree_red): Same.
768         (_S_rb_tree_black): Same.
769
770         * config/io/basic_file_libio.h (__basic_file): Add declarations.
771         * include/bits/basic_file.h: Remove.
772         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
773         Declare generic types, specialization.
774         * config/io/basic_file_stdio.cc: Definitions.
775         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
776         Declare generic types.
777         * include/Makefile.am (bits_headers): Remove basic_file.h.
778         (extra_target_headers): Change basic_file_model.h to basic_file.h.
779         (stamp-target): Same.
780
781         * include/bits/stl_alloc.h: Tweaks.
782         * include/bits/localefwd.h: Same.
783
784 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
785
786         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
787         * testsuite/22_locale/collate_members_char.cc (test03): New test.
788         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
789
790 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
791
792         * include/bits/stl_algo.h (transform (both signatures), generate_n):
793         Use __typeof__ in concept checks.
794
795 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
796
797         * include/bits/stl_algo.h (__median, for_each, find, find_if,
798         adjacent_find, count, count_if, search, search_n, swap_ranges,
799         transform, replace, replace_if, replace_copy, replace_copy_if,
800         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
801         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
802
803 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
804
805         * include/bits/locale_facets.h
806         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
807         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
808         (__timepunct<_CharT>::_M_put_helper): Same.
809         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
810
811         * include/bits/fstream.tcc (filebuf::underflow): Remove
812         __codecvt_type typedef.
813         (filebuf::_M_convert_to_external): Same.
814
815 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
816
817         * docs/doxygen/TODO:  Update.
818         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
819         * docs/doxygen/mainpage.html:  Add TODO list link.
820         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
821         * docs/doxygen/tables.html:  New file, emoty structure only.
822
823         * include/bits/stl_iterator.h:  Doxygenate just about everything.
824         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
825         * include/bits/stl_iterator_base_types.h:  Add notes.
826
827 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
828
829         * include/bits/stl_map.h:  Tweak doxygen markup.
830         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
831         * include/bits/stl_vector.h:  Likewise.
832
833 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
834
835         libstdc++/5286
836         libstdc++/3860
837         * include/std/std_fstream.h (filebuf::__file_type): Change to
838         __basic_file<char>.
839         (filebuf::_M_convert_to_external): Declare.
840         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
841         codecvt bits for wide streams.
842         (filebuf::_M_really_overflow): Use it.
843         (filebuf::underflow): Use codecvt.
844         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
845         (codecvt<__enc_traits>::do_out): Deal with partial.
846         (codecvt<__enc_traits>::do_encoding): Return something useful.
847         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
848         wchar_t.
849         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
850         Change expected encoding output.
851         (test02): Same.
852         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
853         (test02): Same.
854
855 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
856             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
857
858         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
859         (basic_ios::widen): Same.
860
861 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
862
863         * testsuite/22_locale/money_get_members_char.cc:
864         Add comment, tidy up.
865         (test01): more "en_HK" tests (without showbase).
866         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
867
868 2002-02-06  Loren Rittle <ljrittle@acm.org>
869
870         * config/locale/c_locale_generic.cc: Do not trust
871         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
872         set by configure.
873
874 2002-02-06  Loren Rittle <ljrittle@acm.org>
875
876         * acinclude.m4: Add C++ linkage check for strtof.
877         * aclocal.m4: Rebuilt.
878         * config.h.in: Rebuilt.
879         * configure: Rebuilt.
880         * config/locale/c_locale_generic.cc: Conditionally include
881         <ieeefp.h>.  Improve handling and error checking of float
882         and long double input for non-C99 configurations.
883
884 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
885
886         * include/bits/locale_facets.tcc (money_get::do_get(string)):
887         In case money_base::symbol deal properly with multi-char sign
888         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
889         * testsuite/22_locale/money_get_members_char.cc: Add test07.
890         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
891
892 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
893
894         * include/bits/locale_facets.tcc (money_get::do_get(string)):
895         First construct a tentative returned string, then, only if the
896         parsing succeeds, copy it into the string passed by reference.
897         * testsuite/22_locale/money_get_members_char.cc: Add test06.
898         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
899
900 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
901
902         * docs/doxygen/TODO:  Impl-defined behavior now documented...
903         * docs/html/17_intro/howto.html:  ...here.
904         * docs/doxygen/mainpage.doxy:  Remove, rename...
905         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
906         * docs/doxygen/style.css:  Add small text.
907         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
908         * docs/doxygen/user.cfg.in:  Likewise.
909
910 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
911
912         * include/bits/stl_map.h:  Initial doxygen markup.
913         * include/std/std_fstream.h:  Initial doxygen markup.
914
915 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
916
917         libstdc++/5579
918         * include/bits/locale_facets.tcc (money_get::do_get(string)):
919         Deal correctly with !(__io.flags() & ios_base::showbase)
920         for case money_base::symbol.
921         * testsuite/22_locale/money_get_members_char.cc: Add test05.
922         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
923
924 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
925
926         * testsuite/22_locale/operators.cc
927         (gnu_collate::do_compare()): Add return statement to
928         suppress "no return statement" warning.
929
930 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
931
932         * testsuite/27_io/ostream_manip.cc: Enable test02.
933
934 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
935
936         * docs/html/documentation.html:  Update for 3.0.96.
937         * docs/html/faq/index.html:  Update for 3.0.96.
938         * docs/html/faq/index.txt:  Regenerated.
939         * docs/doxygen/TODO:  Update notes.
940         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
941
942 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
943
944         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
945         Initialize all data members in copy ctor. Make ctors explicit.
946         (__enc_traits::__enc_traits()): Default ctor does nothing.
947         (__enc_traits::_M_init): Guard against multiple iconv_opens.
948         * include/std/std_sstream.h (basic_stringbuf): Make data members
949         protected.
950         * include/std/std_fstream.h (basic_filebuf): Same.
951         * include/std/std_streambuf.h: Tweak.
952         * include/bits/streambuf.tcc: Same.
953         * include/bits/sstream.tcc: Same.
954         * include/bits/fstream.tcc: Same.
955
956 2002-01-31  Loren Rittle <ljrittle@acm.org>
957
958         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
959         allow NULL argument to be passed to setenv().
960         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
961         * testsuite/22_locale/collate_members_char.cc: Likewise.
962         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
963         * testsuite/22_locale/ctype_members_char.cc: Likewise.
964         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
965         * testsuite/22_locale/messages_members_char.cc: Likewise.
966         * testsuite/22_locale/money_get_members_char.cc: Likewise.
967         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
968         * testsuite/22_locale/money_put_members_char.cc: Likewise.
969         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
970         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
971         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
972         * testsuite/22_locale/num_get_members_char.cc: Likewise.
973         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
974         * testsuite/22_locale/num_put_members_char.cc: Likewise.
975         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
976         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
977         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
978         * testsuite/22_locale/time_get_members_char.cc: Likewise.
979         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
980         * testsuite/22_locale/time_put_members_char.cc: Likewise.
981         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
982
983 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
984
985         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
986
987         * ChangeLog-2001: Fix spelling errors...
988         * docs/html/17_intro/RELEASE-NOTES: Update.
989         * docs/html/17_intro/TODO: Update.
990         * README (file): Update.
991
992 2002-01-30  Loren Rittle <ljrittle@acm.org>
993
994         * config/locale/c_locale_generic.cc: Check errno for ERANGE
995         instead of non-zero to aid portability.
996
997 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
998
999         * docs/html/22_locale/messages.html: Fix example code.
1000
1001 2002-01-30  Richard Henderson  <rth@redhat.com>
1002
1003         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1004         out from test03 and templatize.
1005         (test03): Use it.
1006
1007 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1008
1009         * config/locale/numpunct_members_gnu.cc
1010         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
1011         Fix initialization of _M_grouping for locales which have
1012         _M_thousands_sep == '\0'(L'\0', respectively).
1013         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
1014
1015 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1016
1017         * testsuite/27_io/ostream_inserter_arith.cc (test03):
1018         Better fix for 32/64 bit architectures, avoiding the
1019         implicit assumption that CHAR_BIT == 8.
1020
1021 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
1022
1023         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
1024         * Makefile.in:  Regenerate.
1025
1026         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
1027         * docs/doxygen/Intro.3:  Update.
1028         * docs/doxygen/TODO:  Update.
1029         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
1030         * docs/doxygen/mainpage.doxy:  Update.
1031         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
1032         regenerate comments and variables with 1.2.12.
1033         * docs/doxygen/maint.cfg.in:  Remove file.
1034
1035         * include/bits/stl_relops.h:  Doxygenate.
1036         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
1037
1038         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
1039         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
1040         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
1041         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
1042         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
1043         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
1044         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
1045         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
1046         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
1047         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
1048         include/ext/hash_set, include/ext/iterator, include/ext/memory,
1049         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
1050         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
1051         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
1052         include/std/std_algorithm.h, include/std/std_bitset.h,
1053         include/std/std_complex.h, include/std/std_deque.h,
1054         include/std/std_fstream.h, include/std/std_functional.h,
1055         include/std/std_iomanip.h, include/std/std_ios.h,
1056         include/std/std_iosfwd.h, include/std/std_iostream.h,
1057         include/std/std_istream.h, include/std/std_iterator.h,
1058         include/std/std_limits.h, include/std/std_list.h,
1059         include/std/std_locale.h, include/std/std_map.h,
1060         include/std/std_memory.h, include/std/std_numeric.h,
1061         include/std/std_ostream.h, include/std/std_queue.h,
1062         include/std/std_set.h, include/std/std_sstream.h,
1063         include/std/std_stack.h, include/std/std_stdexcept.h,
1064         include/std/std_streambuf.h, include/std/std_string.h,
1065         include/std/std_utility.h, include/std/std_valarray.h,
1066         include/std/std_vector.h:  Add/correct @file doxygen hook.
1067
1068         * include/ext/memory:  Doxygenate most of rest of file.
1069         * libsupc++/exception:  Doxygen output formatting.
1070         * libsupc++/new:  Say which header it is.
1071
1072         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
1073         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
1074         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
1075         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
1076
1077 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
1078             Charles Leggett <CGLeggett@lbl.gov>
1079
1080         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
1081
1082 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
1083
1084         * testsuite/27_io/ostream_inserter_arith.cc (test03):
1085         Fix to deal correctly with both 32 bit and 64 bit architectures
1086
1087 2002-01-25  Loren Rittle <ljrittle@acm.org>
1088
1089         * testsuite/thread/pthread1.cc: Use one condition variable
1090         per predicate instead of tricky use of one condition variable.
1091
1092 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
1093
1094         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
1095         streams.
1096         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
1097         * testsuite/27_io/filebuf.cc: Compile only.
1098         * testsuite/27_io/filebuf_members.cc: Move tests to here.
1099         * testsuite/27_io/filebuf_virtuals.cc: And here.
1100         Revert sungetc, sync changes for expected values.
1101         * testsuite/27_io/filebuf-*: Move to...
1102         * testsuite/27_io/filebuf_virtuals-*: ...here.
1103         * testsuite/27_io/istream.cc: Compile only, activate.
1104         * testsuite/27_io/ostream.cc: Same.
1105         * testsuite/27_io/iostream.cc: New.
1106         * testsuite/27_io/iostream_members.cc: New.
1107
1108 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
1109
1110         * testsuite/thread/pthread1.cc: Enable on cygwin.
1111         * testsuite/thread/pthread2.cc: Likewise.
1112         * testsuite/thread/pthread3.cc: Likewise.
1113         * testsuite/thread/pthread4.cc: Likewise.
1114         * testsuite/thread/pthread5.cc: Likewise.
1115         * testsuite/thread/pthread6.cc: Likewise.
1116
1117 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
1118
1119         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
1120
1121 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
1122
1123         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1124         const, tweak.
1125         (basic_ios::fill(char_type)): Use fill().
1126         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1127         (basic_ios::narrow): Same.
1128         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1129         if they are invalid.
1130         (basic_ios::init): Comment.
1131         * testsuite/27_io/ios_init.cc (test02): New.
1132
1133 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
1134
1135         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
1136         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
1137         * include/ext/memory:  Do not include stl_tempbuf.h.
1138         (temporary_buffer):  Add doxygen hook.
1139         (__get_temporary_buffer, get_temporary_buffer,
1140         return_temporary_buffer):  Move back to std:: header...
1141         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
1142         * include/ext/rope:  Do not include stl_tempbuf.h.
1143         * include/ext/stl_hashtable.h:  Likewise.
1144         * include/std/std_algorithm.h:  Likewise.
1145         * testsuite/20_util/temporary_buffer.cc:  New file.
1146
1147 2002-01-24  andrew@andypo.net
1148             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
1149
1150         libstdc++/5432
1151         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1152         * include/bits/localefwd.h: Likewise.
1153         Also use for std::locale::id::_S_highwater.
1154         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1155         * src/locale.cc: Support new usage of _Atomic_word.
1156         (std::locale::classic): Guard entire function against reentry.
1157         * src/localename.cc: Support new usage of _Atomic_word.
1158
1159 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
1160
1161         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1162         _GLIBCPP_HAVE_SETENV.
1163         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1164         * testsuite/22_locale/collate_members_char.cc (test02): Same.
1165         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1166         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1167         * testsuite/22_locale/messages_members_char.cc (test02): Same.
1168         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1169         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1170         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1171         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1172         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1173         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1174         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1175         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1176         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1177         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1178         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1179         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1180         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1181         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1182         * aclocal.m4: Regenerate.
1183         * configure: Regenerate.
1184         * config.h.in: Regenerate.
1185
1186 2002-01-23  Loren Rittle <ljrittle@acm.org>
1187
1188         * testsuite/thread/pthread1.cc: New test.
1189         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1190         * testsuite/thread/pthread3.cc: Likewise.
1191         * testsuite/thread/pthread4.cc: New test adapted from
1192         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1193         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1194         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1195
1196 2002-01-23  Richard Henderson  <rth@redhat.com>
1197
1198         PR libstdc++/5198
1199         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1200         CAS on the cpu variants that support it.  Add versions that use
1201         TAS and that disable interrupts.
1202         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1203
1204 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
1205
1206         * include/bits/locale_facets.tcc: Remove old comments.
1207
1208 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
1209
1210         * include/bits/locale_facets.tcc (__convert_to_v): Change template
1211         parameter to _Tv.
1212         (__convert_from_v): Same.
1213
1214 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1215
1216         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1217         prototype.
1218         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1219         __max_digits checks, adjust arguments.
1220         (num_get::do_get(*)): Changeup.
1221
1222 2002-01-23  Loren Rittle <ljrittle@acm.org>
1223
1224         * config/locale/c_locale_generic.cc: Fix typename usage.
1225
1226 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1227
1228         * config/locale/c_locale_generic.cc: Fix.
1229
1230 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1231
1232         * docs/html/22_locale/messages.html: Remove angle brackets.
1233         * docs/html/17_intro/TODO: Add.
1234
1235 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
1236
1237         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1238         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1239         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1240         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1241
1242 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1243
1244         Audit for LANG independence.
1245         * include/bits/localefwd.h: Tweaks.
1246         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1247         Use __convert_to_v.
1248         (time_get::do_get_year): Same.
1249         (__convert_from_v): Add.
1250         (num_put::_M_convert_float): Use.
1251         (num_put::_M_convert_int): Same.
1252         (money_put::do_put): Same.
1253
1254         * src/locale-inst.cc: Add instantiations for __convert_from_v.
1255         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1256         * config/locale/time_members_generic.cc:
1257         * config/locale/messages_members_gnu.cc: Same.
1258         * config/locale/messages_members_gnu.h: Same.
1259
1260         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1261         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1262         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1263         * testsuite/22_locale/collate_members_char.cc (test02): New.
1264         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1265         * testsuite/22_locale/ctype_members_char.cc (test03): New.
1266         * testsuite/22_locale/messages_members_char.cc (test02): New.
1267         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1268         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1269         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1270         * testsuite/22_locale/money_get_members_char.cc (test04): New.
1271         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1272         * testsuite/22_locale/money_put_members_char.cc (test04): New.
1273         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1274         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1275         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1276         * testsuite/22_locale/time_put_members_char.cc (test03): New.
1277         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1278         * testsuite/22_locale/time_get_members_char.cc (test07): New.
1279         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1280         * testsuite/22_locale/num_get_members_char.cc (test03): New.
1281         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1282         * testsuite/22_locale/num_put_members_char.cc (test03): New.
1283
1284         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1285         locale issues.
1286         * testsuite/22_locale/time_get_members_char.cc: Same.
1287
1288 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1289
1290         libstdc++/5280
1291         * include/bits/localefwd.h: Tweak comments.
1292         * include/bits/locale_facets.h (__convert_to_v): Add.
1293         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1294         (num_get::do_get(float)): Same.
1295         (num_get::do_get(long double)): Same.
1296         (num_get::do_get(bool)): Same.
1297         (num_get::do_get(long)): Same.
1298         (num_get::do_get(long long)): Same.
1299         (num_get::do_get(unsigned int)): Same.
1300         (num_get::do_get(unsigned short)): Same.
1301         (num_get::do_get(unsigned long)): Same.
1302         (num_get::do_get(unsigned long long)): Same.
1303         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1304         * config/locale/c_locale_generic.cc: Same.
1305
1306 2002-01-22  Loren Rittle <ljrittle@acm.org>
1307
1308         * include/Makefile.am (c_base_builddir): Remove redundant slash.
1309         (std_builddir): Likewise.
1310         (std_headers_rename): Fix cut-n-paste typo.
1311         (install-data-local): Concat path per element instead of once to
1312         first element of list.
1313         * include/Makefile.in: Rebuilt.
1314
1315 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1316
1317         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1318         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1319         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1320
1321 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
1322
1323         * include/bits/locale_facets.h (ctype<char>::classic_table):
1324         Remove definition.
1325         (ctype<char>::_S_ctable): Remove.
1326         * config/os/gnu-linux/bits/ctype_noninline.h
1327         (ctype<char>::_S_table): Remove definition.
1328         (ctype<char>::classic_table): Define.
1329         (ctype<char>::ctype): Replace _S_ctable with classic_table().
1330         * config/os/aix/bits/ctype_noninline.h: Same.
1331         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1332         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1333         * config/os/djgpp/bits/ctype_noninline.h: Same.
1334         * config/os/generic/bits/ctype_noninline.h: Same.
1335         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1336         * config/os/hpux/bits/ctype_noninline.h: Same.
1337         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1338         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1339         * config/os/mingw32/bits/ctype_noninline.h: Same.
1340         * config/os/newlib/bits/ctype_noninline.h: Same.
1341         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1342         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1343         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1344
1345 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
1346
1347         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1348         of _pctype. Use to define _S_ctable.  Add definition for alternate
1349         ctor.  Initialise _M_ctable to _S_ctable in ctors.
1350         (do_toupper, do_tolower): Use inline code appropriate for C-locale
1351         rather than ::toupper, ::tolower.
1352
1353 2002-01-18  Loren Rittle <ljrittle@acm.org>
1354
1355         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1356         Add specialization for FreeBSD systems only to avoid losing test
1357         only due to extra precision unmentioned in system headers.
1358
1359 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
1360
1361         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1362
1363 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1364
1365         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
1366         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1367
1368 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1369
1370         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1371
1372 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
1373
1374         * configure.target: Define OPT_LDFLAGS for AIX case.
1375
1376 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1377
1378         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1379         __glibcpp_double_has_quiet_NaN): Correct mispelling.
1380
1381 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
1382
1383         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1384
1385 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
1386
1387         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1388         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
1389         * aclocal.m4: Regenerate.
1390         * configure: Regenerate.
1391
1392 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1393
1394         * include/Makefile.am (c_base_headers_rename): New.
1395         (c_base_headers_extra): New.
1396         (stamp-c_base): Modify.
1397         (install-data-local): Use both.
1398         * include/Makefile.in: Regenerate.
1399         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1400         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1401         cstdio ctime cwctype]: Move to..
1402         * include/c/std_*: Here.
1403         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1404         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1405         cstdio ctime cwctype]: Move to..
1406         * include/c_std/std_*: Here.
1407
1408         Alexandre Oliva  <aoliva@redhat.com>
1409         * include/Makefile.am (.PRECIOUS): Add rule.
1410         * include/Makefile.in: Regenerate.
1411
1412 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1413             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1414
1415         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1416         Deuglify, should be current.
1417         (back_insert_iterator::_M_container): Deuglify, should be container.
1418         (front_insert_iterator::_M_container): Same.
1419         (insert_iterator::_M_container): Same.
1420         * testsuite/24_iterators/reverse_iterator.cc: Add check.
1421         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1422         * testsuite/24_iterators/front_insert_iterator.cc: Same.
1423         * testsuite/24_iterators/insert_iterator.cc: Same.
1424
1425 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1426
1427         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1428         static.
1429         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1430         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1431         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1432         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1433         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1434         * config/os/newlib/bits/ctype_noninline.h: Same.
1435         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1436         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1437         * config/os/hpux/bits/ctype_noninline.h: Same.
1438         * config/os/djgpp/bits/ctype_noninline.h: Same.
1439         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1440         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1441         * config/os/aix/bits/ctype_noninline.h: Same.
1442
1443         Testcase by Dietmar Kühl via Peter Schmid
1444         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1445         classic_table().
1446
1447 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1448
1449         * libmath/signbitl.c: Copyright years as list, not range.
1450         * libmath/Makefile.am: Same.
1451         * libmath/Makefie.in: Regenerate.
1452         * libmath/signbit.c: Same.
1453         * libmath/nan.c: Same.
1454         * libmath/copysignf.c: Same.
1455         * libmath/signbitf.c: Same.
1456         * testsuite/22_locale/money_get_members_char.cc: Same.
1457         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1458         * testsuite/22_locale/money_put_members_char.cc: Same.
1459         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1460         * testsuite/22_locale/time_get_members_char.cc: Same.
1461         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1462         * testsuite/22_locale/time_put_members_char.cc: Same.
1463         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1464         * testsuite/21_strings/nonmember.cc: Same.
1465         * testsuite/21_strings/compare.cc: Same.
1466         * testsuite/27_io/stringstream.cc: Same.
1467         * testsuite/27_io/stringbuf.cc: Same.
1468         * testsuite/27_io/filebuf.cc: Same.
1469         * testsuite/27_io/ios_manip_basefield.cc: Same.
1470         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1471         * include/bits/cpp_type_traits.h: Same.
1472         * include/bits/generic_shadow.h: Same.
1473         * include/bits/gslice_array.h: Same.
1474         * include/bits/gslice.h: Same.
1475         * include/bits/indirect_array.h: Same.
1476         * include/bits/slice_array.h: Same.
1477         * include/bits/sstream.tcc: Same.
1478         * include/bits/streambuf_iterator.h: Same.
1479         * include/bits/valarray_array.tcc: Same.
1480         * include/bits/valarray_meta.h: Same.
1481         * include/bits/valarray_array.h: Same.
1482         * config/os/mingw32/bits/ctype_noninline.h: Same.
1483         * config/os/mingw32/bits/ctype_base.h: Same.
1484         * config/os/hpux/bits/ctype_noninline.h: Same.
1485         * config/os/hpux/bits/ctype_base.h: Same.
1486         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1487         * config/os/gnu-linux/bits/ctype_base.h: Same.
1488         * config/os/generic/bits/ctype_noninline.h: Same.
1489         * config/os/generic/bits/ctype_base.h: Same.
1490
1491         * libsupc++/tinfo.h: Tweaks.
1492
1493 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1494
1495         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1496         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1497         * testsuite/22_locale/ctype_members_char.cc: Tweak.
1498
1499 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1500
1501         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1502         (num_put::do_put(void*)): Fix.
1503         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1504         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1505         * testsuite/22_locale/num_get_members_char.cc (test02): Add
1506         long double, void, bool types.
1507         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1508
1509 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1510             Alexandre Oliva  <aoliva@redhat.com>
1511
1512         * libmath/Makefile.am (LINK): Add --tag CC.
1513         * libmath/Makefile.in: Regenerate.
1514
1515 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1516
1517         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1518         of character to attribute mapping table.
1519
1520 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
1521
1522         * testsuite/26_numerics/c99_classification_macros_c.cc
1523         Remove dg-error and dg-excess-errors comments.
1524
1525 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
1526
1527         * include/bits/locale_facets.tcc (time_put::put): Correct output
1528         iterator positions.
1529         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1530         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1531         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1532         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1533
1534 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1535
1536         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1537
1538 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
1539             Nathan Myers  <ncm@cantrip.org>
1540
1541         * include/bits/basic_string.h
1542         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1543         temporaries (i.e., call _M_replace_safe) when possible.
1544         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1545         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1546         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1547         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1548         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1549         * include/bits/basic_string.tcc
1550         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1551         replace(__pos, __n1, __s, __n2).
1552         * testsuite/21_strings/replace.cc (test03): New testcases.
1553
1554         * include/bits/basic_string.h (insert(__pos, __s, __n)):
1555         Adjust comparison wrt overflow.
1556
1557 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1558
1559         * include/Makefile.am (std_headers_rename): New variable.
1560         (install-data-local): Use it.
1561         * include/Makefile.in: Regenerate.
1562
1563 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1564
1565         * include/bits/locale_facets.tcc (money_put::do_put(string):
1566         Correct output iterator value.
1567         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1568         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1569
1570 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
1571
1572         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
1573         previous commit.
1574
1575 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
1576
1577         * include/Makefile.am (std_headers):  Update list with new names.
1578         (stamp-std):  Link to standardized name.
1579         * include/Makefile.in:  Regenerate.
1580
1581         * include/std/algorithm, include/std/bitset, include/std/complex,
1582         include/std/deque, include/std/fstream, include/std/functional,
1583         include/std/iomanip, include/std/ios, include/std/iosfwd,
1584         include/std/iostream, include/std/istream, include/std/iterator,
1585         include/std/limits, include/std/list, include/std/locale,
1586         include/std/map, include/std/memory, include/std/numeric,
1587         include/std/ostream, include/std/queue, include/std/set,
1588         include/std/sstream, include/std/stack, include/std/stdexcept,
1589         include/std/streambuf, include/std/string, include/std/utility,
1590         include/std/valarray, include/std/vector:  Rename to...
1591
1592         * include/std/std_algorithm.h, include/std/std_bitset.h,
1593         include/std/std_complex.h, include/std/std_deque.h,
1594         include/std/std_fstream.h, include/std/std_functional.h,
1595         include/std/std_iomanip.h, include/std/std_ios.h,
1596         include/std/std_iosfwd.h, include/std/std_iostream.h,
1597         include/std/std_istream.h, include/std/std_iterator.h,
1598         include/std/std_limits.h, include/std/std_list.h,
1599         include/std/std_locale.h, include/std/std_map.h,
1600         include/std/std_memory.h, include/std/std_numeric.h,
1601         include/std/std_ostream.h, include/std/std_queue.h,
1602         include/std/std_set.h, include/std/std_sstream.h,
1603         include/std/std_stack.h, include/std/std_stdexcept.h,
1604         include/std/std_streambuf.h, include/std/std_string.h,
1605         include/std/std_utility.h, include/std/std_valarray.h,
1606         include/std/std_vector.h:  ...this.
1607
1608 2002-01-11  Loren Rittle <ljrittle@acm.org>
1609
1610         * include/Makefile.am (extra_target_headers): New list of all
1611         target files built with ad hoc naming rules.
1612         (stamp-*): Handle LN_S failure in manner portable across make
1613         implementations.
1614         (install-data-local): Install header files from human-maintained
1615         file lists and directory components instead of non-robust find.
1616         * include/Makefile.in: Rebuilt.
1617
1618 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
1619
1620         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1621         Check for zero-length negative sign before adding it to output
1622         string.
1623         (money_get::do_get(long double)): Return beg.
1624         * testsuite/22_locale/money_get_members_char.cc (test02): Add
1625         iterator checks.
1626         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1627
1628 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
1629
1630         libstdc++/5331
1631         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1632         for _M_extract_float and _M_extract_int
1633         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1634         (num_get<>::_M_extract_int): Likewise, all callers changed
1635         * testsuite/22_locale/num_get_members_char.cc: Testcase
1636
1637 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
1638
1639         * libsupc++/exception (bad_exception): Add comment.
1640         * libsupc++/new (bad_alloc): Same.
1641         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1642
1643 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
1644
1645         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1646         that the destructors should be removed from the descriptions
1647         in the standard: writing them explicitly allows the vtable
1648         heuristic to work. For additional information see:
1649         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1650         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1651         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1652         * libsupc++/exception (bad_exception::~bad_exception()):
1653         Reintroduce declaration.
1654         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1655         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1656         (bad_typeid::~bad_typeid()): Same.
1657         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1658         Reintroduce definition.
1659         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1660         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1661         (bad_typeid::~bad_typeid()): Same.
1662
1663 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1664
1665         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1666         * include/Makefile.in: Regenerate.
1667
1668 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
1669
1670         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1671         definition.
1672
1673 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
1674
1675         libstdc++/2913
1676         libstdc++/4879
1677         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1678         return value of _M_file->sync().
1679         (filebuf::showmanyc): Check for is_open.
1680         * include/std/fstream (filebuf::sync): Tweak.
1681         * testsuite/27_io/filebuf.cc: Tweak.
1682
1683 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
1684             Brad Garcia  <garsh@attbi.com>
1685
1686         * testsuite/27_io/filebuf_members.cc: Add test.
1687
1688 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
1689             Craig Rodrigues  <rodrigc@mediaone.net>
1690
1691         libstdc++/5174
1692         * po/Makefile.am (mkinstalldirs): Add.
1693         * po/Makefile.in: Regenerate.
1694
1695 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
1696
1697         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1698         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
1699         compiler output.
1700         * testsuite/23_containers/map_operators.cc: Remove
1701         dg-excess-errors comment.
1702         * testsuite/23_containers/set_operators.cc: Likewise.
1703
1704 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
1705
1706         * include/bits/stl_function.h:  Remove two lines of comments;
1707         adjust copyright years.
1708
1709 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
1710
1711         * include/Makefile.am (std_headers): Remove cXXX from list.
1712         (c_base_srcdir): No bits subdirectory.
1713         (c_base_builddir): Same.
1714         (c_base_headers): Adjust names, add ciso646.
1715         (bits_headers): Remove std_xxx.h headers.
1716         * include/Makefile.in: Regenerate.
1717
1718         * include/ext/iterator: Adjust includes.
1719         * include/ext/ropeimpl.h: Same.
1720         * include/ext/stl_hash_fun.h: Same.
1721         * include/ext/algorithm: Same.
1722
1723         * include/backward/bvector.h: Adjust includes.
1724         * include/backward/vector.h: Same.
1725         * include/backward/strstream: Same.
1726         * include/backward/streambuf.h: Same.
1727         * include/backward/stack.h: Same.
1728         * include/backward/set.h: Same.
1729         * include/backward/queue.h: Same.
1730         * include/backward/multiset.h: Same.
1731         * include/backward/multimap.h: Same.
1732         * include/backward/map.h: Same.
1733         * include/backward/list.h: Same.
1734         * include/backward/iterator.h: Same.
1735         * include/backward/iostream.h: Same.
1736         * include/backward/iomanip.h: Same.
1737         * include/backward/fstream.h: Same.
1738         * include/backward/deque.h: Same.
1739         * include/backward/complex.h: Same.
1740
1741         * include/bits/std_algorithm.h: Move to...
1742         * include/std/algorithm: ...here.
1743         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1744         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1745         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1746         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1747         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1748         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1749         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1750         Same.
1751
1752         * include/c_std/bits/std_cassert.h: Move to...
1753         * include/c_std/cassert: Here.
1754         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1755         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1756         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1757         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1758         std_cwctype.h: Same.
1759         * include/c_std/cmath: Adjust cmath.tcc include.
1760         * include/c_std/cstdlib: Adjust includes.
1761         * include/c_std/cwchar: Same.
1762         * include/c_std/ctime: Same.
1763         * include/c_std/cstring: Same.
1764         * include/c_std/cstdio: Same.
1765         * include/c_std/bits: Remove directory.
1766
1767         * include/c/bits/std_cassert.h: Move to...
1768         * include/c/cassert: Here.
1769         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1770         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1771         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1772         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1773         std_cwctype.h: Same.
1774         * include/c/bits: Remove directory.
1775
1776         * include/std/cwctype: Remove.
1777         * include/std/cwchar: Remove.
1778         * include/std/ctime: Remove.
1779         * include/std/cstring: Remove.
1780         * include/std/cstdlib: Remove.
1781         * include/std/cstdio: Remove.
1782         * include/std/cstddef: Remove.
1783         * include/std/cstdarg: Remove.
1784         * include/std/csignal: Remove.
1785         * include/std/csetjmp: Remove.
1786         * include/std/cmath: Remove.
1787         * include/std/clocale: Remove.
1788         * include/std/climits: Remove.
1789         * include/std/ciso646: Remove.
1790         * include/std/cfloat: Remove.
1791         * include/std/cerrno: Remove.
1792         * include/std/cctype: Remove.
1793         * include/std/cassert: Remove.
1794
1795         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1796         files and subsituting <xxx>.
1797         * include/bits/valarray_array.h: Same.
1798         * include/bits/stl_uninitialized.h: Same.
1799         * include/bits/stl_alloc.h: Same.
1800         * include/bits/stl_algobase.h: Same.
1801         * include/bits/sstream.tcc: Same.
1802         * include/bits/pthread_allocimpl.h: Same.
1803         * include/bits/ostream.tcc: Same.
1804         * include/bits/localefwd.h: Same.
1805         * include/bits/locale_facets.tcc: Same.
1806         * include/bits/locale_facets.h: Same.
1807         * include/bits/istream.tcc: Same.
1808         * include/bits/char_traits.h: Same.
1809         * include/bits/boost_concept_check.h: Same.
1810         * include/bits/basic_file.h: Same.
1811         * include/std/bitset: Same.
1812         * include/std/complex: Same.
1813         * include/std/fstream: Same.
1814         * include/std/functional: Same.
1815         * include/std/ios: Same.
1816         * include/std/iostream: Same.
1817         * include/std/ostream: Same.
1818         * include/std/sstream: Same.
1819         * include/std/streambuf: Same.
1820         * include/std/string: Same.
1821         * include/std/iterator: Same.
1822         * include/std/valarray: Same.
1823
1824         * src/ios.cc: Adjust includes.
1825         * src/valarray-inst.cc: Same.
1826         * src/string-inst.cc: Same.
1827         * src/stl-inst.cc: Same.
1828         * src/stdexcept.cc: Same.
1829         * src/misc-inst.cc: Same.
1830         * src/localename.cc: Same.
1831         * src/locale-inst.cc: Same.
1832         * src/locale.cc: Same.
1833         * src/limits.cc: Same.
1834         * src/concept-inst.cc: Same.
1835         * src/complex_io.cc: Same.
1836         * src/codecvt.cc: Same.
1837         * src/bitset.cc: Same.
1838         * src/cmath.cc: Same.
1839
1840 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
1841
1842         * include/bits/stl_tree.h (rb_tree):  Move to...
1843         * include/ext/rb_tree:  ...here, new file.
1844         * include/Makefile.am (ext_headers):  Add new file.
1845         * include/Makefile.in:  Regenerate.
1846         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1847         return_temporary_buffer, struct temporary_buffer):  Move to...
1848         * include/ext/memory:  ...here.
1849         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
1850         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
1851         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
1852
1853 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
1854
1855         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
1856         * include/ext/numeric:  ...here, new file.
1857         * include/bits/stl_function.h (identity_element, unary_compose,
1858         binary_compose, compose1, compose2, identity, select1st,
1859         select2nd, project1st + helper, project2nd + helper,
1860         constant_void_fun + helper, constant_unary_fun + helper,
1861         costant_binary_fun + helper, constant0, constant1, constant2,
1862         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
1863         * include/ext/functional:  ...here, new file.
1864         * include/Makefile.am (ext_headers):  Add new files.
1865         * include/Makefile.in:  Regenerate.
1866         * testsuite/ext/headers.cc:  Include <ext/numeric> and
1867         <ext/functional>.
1868         * include/backward/algo.h:  Include <ext/numeric>, tweak.
1869         * include/backward/function.h:  Include <ext/functional>, tweak.
1870         * include/ext/ropeimpl.h:  Include <ext/numeric>.
1871
1872 2002-01-03  Jeffrey A Law  <law@redhat.com>
1873
1874         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1875         __strtoull declarations with __extension__.
1876
1877 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
1878
1879         * testsuite/lib/prune.exp: Correct regular expression for
1880         -ffunction-sections
1881
1882 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
1883
1884         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1885         Change concept checks, as with lower_bound and PR 2054.
1886         * testsuite/ext/concept_checks.cc:  Expand test to include those.
1887
1888 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
1889
1890         * include/bits/boost_concept_check.h:  Import some changes from
1891         upsteam (Boost) version.
1892
1893 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
1894
1895         * include/bits/stl_algobase.h (copy_n + helpers,
1896         lexicographical_compare_3way + helpers):  Move to...
1897         * include/ext/algorithm:  ...here.
1898         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
1899         helpers):  Move to...
1900         * include/ext/memory:  ...here, new file.
1901         * include/Makefile.am (ext_headers):  Add new file.
1902         * include/Makefile.in:  Regenerate.
1903         * testsuite/ext/headers.cc:  Include <ext/memory>.
1904         * include/backward/algobase.h:  Include <ext/memory> and
1905         <ext/algorithm>, tweak.
1906         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
1907         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
1908
1909 2002-01-01  Roger Sayle <roger@eyesopen.com>
1910
1911         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
1912         equivalent ___builtin__ versions.
1913
1914         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
1915         are available in libstdc++ as the necessary stub implementations
1916         are provided by libmath/stubs.c.
1917
1918 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
1919
1920         * configure.in: Add support for NetBSD cross compiles.
1921         * configure: Regenerate.