OSDN Git Service

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