OSDN Git Service

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