OSDN Git Service

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