OSDN Git Service

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