OSDN Git Service

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