OSDN Git Service

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