Makefile.am (noinst_LIBRARIES): New target.
[official-gcc.git] / libstdc++-v3 / ChangeLog
bloba8e3e701bd149e26b9b197482f2477217596f0c6
1 2002-05-28  Phil Edwards  <pme@gcc.gnu.org>
3         * testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
4         CXX/INCLUDES.
5         * testsuite/Makefile.in:  Regenerate.
6         * testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
7         list_modifiers.cc and rename from 'T'.  Move code bodies...
8         * testsuite/testsuite_hooks.cc:  ...to here.  New file.
9         * testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
10         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
11         Add libv3test.a to link options.
13 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
15         * src/misc-inst.cc: Define unnecessary algorithm
16         instantiations. Break apart instantiations into groupings below.
17         * src/fstream-inst.cc: New.
18         * src/io-inst.cc: New.  
19         * src/istream-inst.cc: New.     
20         * src/ostream-inst.cc: New.             
21         * src/streambuf-inst.cc: New.   
22         * src/sstream-inst.cc: New.             
23         * src/Makefile.am (sources): Add files.
24         * src/Makefile.in: Regenerate.
26         * acinclude.m4: Work around automake 1.4-p5 bug, change
27         AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
28         
29 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
31         PR libstdc++/6795.
32         * config/os/solaris/solaris2.6/bits/ctype_noninline.h
33         (classic_table): Fix.
34         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
35         
36 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
38         * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
39         _GLIBCPP_USE_WCHAR_T.
40         * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
41         * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
42         * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
43         
44 2002-05-26  Carlo Wood  <carlo@alinoe.com>
45             Paolo Carlini  <pcarlini@unitus.it>
47         PR libstdc++/6811
48         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
49         (__enc_traits::operator=): add missing return statement.
51 2002-05-24  Phil Edwards  <pme@gcc.gnu.org>
53         PR libstdc++/6282
54         * include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
55         (operator>>):  If nothing was extracted, don't fail in the
56         zero-length case.
57         * testsuite/23_containers/bitset_ctor.cc (test02):  New test.
59 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
61         PR libstdc++/6701
62         * testsuite/22_locale/ctype_narrow_char.cc: New.
63         * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.     
64         * testsuite/22_locale/ctype_widen_char.cc: New.
65         * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
66         * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
67         * testsuite/22_locale/ctype_is_char.cc: ...this.
68         * testsuite/22_locale/ctype_to_char.cc: ...and this.
69         * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
70         * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
71         * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
73         * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
74         
75 2002-05-24  Dale Peakall <dale@peakall.net>
77         PR libstdc++/6701
78         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
79         * config/locale/generic/ctype_members.cc: Same.
80         
81 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
83         PR libstdc++/6750
84         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
85         for empty string literal.
86         (ostream::operator<<(const _CharT*)): Same.
87         (ostream<char>::operator<<(const char*)): Same.
88         (ostream<char>::operator<<(streambuf*)): Same.
89         * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
90         * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
91         
92 2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
94         * configure.in (release_VERSION): Update to 3.1.1.
95         (libtool_VERSION): Update to 4:1:0.
96         * configure: Regenerate.
97         
98 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
100         * include/bits/stl_pair.h:  Tweak comment markup.
102 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
104         * include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
106 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
108         * docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.
110 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
112         * include/bits/stl_vector.h:  Reformat to follow C++STYLE.
113         Doxygenate all public members.  Reorder to follow 14882.
114         (vector::push_back(void)):  Remove previously-deprecated fn.
115         (vector::insert(iterator), vector::_M_insert_aux(iterator)):
116         Deprecate for removal in 3.3.
118 2002-05-20  Phil Edwards  <pme@gcc.gnu.org>
120         * docs/html/faq/index.html (5.4):  Recommend against -I options for
121         finding the ext headers.
122         * docs/html/faq/index.txt:  Regenerate.
124 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
126         * testsuite/23_containers/deque_operators.cc (test01):
127         Fix minor typo in last commit.
129 2002-05-18  Paolo Carlini  <pcarlini@unitus.it>
131         PR libstdc++/6503
132         * include/bits/stl_deque.h (_Deque_iterator::operator==,
133         operator!=, operator<, operator>, operator>=, operator<=):
134         Make non-member functions, to allow comparing const and
135         non-const iterators in any order.
136         * testsuite/23_containers/deque_operators.cc: New testfile.
138 2002-05-16  Phil Edwards  <pme@gcc.gnu.org>
140         * docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
141         * docs/html/faq/index.txt:  Regenerate.
143 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
145         * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
146         * acinclude.m4: Likewise.
147         * docs/html/Makefile: Likewise.
148         * aclocal.m4: Regenerate.
149         * configure: Regenerate.
150         * Makefile.in: Regenerate.
152 2002-05-15  Loren J. Rittle <ljrittle@acm.org>
154         libstdc++/6641
155         * include/bits/c++config (__USE_MALLOC): Report case where
156         the user improperly defined it on the command line.
158 2002-05-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
160         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
161         Retrieve current limits before setting.
163 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
165         PR libstdc++/6518
166         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
167         for null case.
168         (ostream::operator<<(const _CharT*)): Same.
169         (ostream<char>::operator<<(const char*)): Same.
170         * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
171         
172 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
174         PR libstdc++/6594
175         * src/strstream.cc (strstreambuf): Fix leak.
177 2002-05-15  Paolo Carlini  <pcarlini@unitus.it>
179         PR libstdc++/6648
180         * include/bits/istream.tcc (istream::getline, ignore):
181         Upon __idelim (__delim) call sbumpc() not snextc().
182         * testsuite/27_io/narrow_stream_objects.cc:
183         Add test08 and test09.
185 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
187         * testsuite/22_locale/ctype_scan_char.cc: Tweak.
188         * testsuite/22_locale/ctype_scan_wchar_t.cc: New.       
190         * docs/html/install.html: Fix.
191         
192 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
194         * include/bits/fstream.tcc
195         (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
196         try/catch blocks.
197         * src/localename.cc (locale::_Impl::_M_install_facet): Same.
199         * docs/html/install.html: Tweak, add bits about required locales
200         for the 22_locale tests when using the gnu model.
202         * testsuite/27_io/istream_sentry.cc: Tweak.
203         
204 2002-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
206         * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
207         Fix typo, use this->is() rather than manually (and perhaps
208         incorrectly) inlining it.
209         * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
210         Likewise.
211         * testsuite/22_locale/ctype_scan_char.cc: New file.
213 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
214             Jakub Jelinek  <jakub@redhat.com>
216         * testsuite/22_locale/money_get_members_char.cc
217         (test01, test02, test04): Use the de_DE@euro named locale
218         instead of de_DE to allow for an uniform behaviour with
219         both old and Euro-era localedata; tweak some tests.
220         * testsuite/22_locale/money_get_members_wchar_t.cc
221         (test01, test02, test04): Likewise.
222         * testsuite/22_locale/money_put_members_char.cc
223         (test01, test02, test04): Likewise.
224         * testsuite/22_locale/money_put_members_wchar_t.cc
225         (test01, test02, test04): Likewise.
227 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
229         * testsuite/22_locale/codecvt_members_char_char.cc
230         (test03): Robustify wrt localedata.
231         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
232         * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
233         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
234         * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
235         * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
236         * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
237         * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
238         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
239         * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
240         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
241         * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
242         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
243         * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
244         * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
245         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
246         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
247         * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
248         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
249         * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
250         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
251         * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
252         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
254 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
256         * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
257         change.
259 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
261         * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
262         to 64 for hppa 64-bit port.
263         (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
265 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
267         * acinclude.m4 (enable_symvers): Quote $LD.
268         * aclocal.m4: Regenerate.
269         * configure: Likewise.
271 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
273         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
274         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
275         LD_LIBRARY_PATH.
277 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
279         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
280         script entry, and set LD to it when configuring multilibs.
281         * configure: Rebuilt.
283 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
285         * configure.in: Add support for WindISS.
286         * configure: Regenerated.
287         * configure.target: Add support for WindISS.
288         * config/os/windiss/bits/ctype_base.h: New file.
289         * config/os/windiss/bits/ctype_inline.h: Likewise.
290         * config/os/windiss/bits/ctype_noninline.h: Likewise.
291         * config/os/windiss/bits/os_defines.h: Likewise.
293 2002-05-06  Paolo Carlini  <pcarlini@unitus.it>
295         Test all the facets for the temporary "C" locale switch issue.
296         * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
297         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
298         * testsuite/22_locale/collate_members_char.cc: Add test04.
299         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
300         * testsuite/22_locale/ctype_members_char.cc: Add test05.
301         * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
302         * testsuite/22_locale/messages_members_char.cc: Add test03.
303         * testsuite/22_locale/money_get_members_char.cc: Add test08.
304         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
305         * testsuite/22_locale/money_put_members_char.cc: Add test07. 
306         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
307         * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
308         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
309         * testsuite/22_locale/num_get_members_char.cc: Add test06.
310         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 
311         * testsuite/22_locale/numpunct_members_char.cc: Add test03.
312         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 
313         * testsuite/22_locale/time_get_members_char.cc: Add test08.
314         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 
315         * testsuite/22_locale/time_put_members_char.cc: Add test04.
316         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
318         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
319         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
321 2002-05-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
323         * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
324         __EXTENSIONS__): Ensure they are always defined.
326 2002-05-06  Phil Edwards  <pme@gcc.gnu.org>
328         * docs/html/documentation.html:  Fix broken link.
330 2002-05-04  Benjamin Kosnik  <bkoz@redhat.com>
331             Paolo Carlini  <pcarlini@unitus.it>
333         * testsuite/22_locale/num_put_members_char.cc: Add test04(),
334         testing for the locale_facets.tcc entry of the previous commit.
335         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
337 2002-05-04  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
339         * config/locale/generic/c_locale.cc
340         (__convert_to_v(float, double, long double)):
341         Fix the temporary switch to the "C" locale, saving and
342         restoring in the proper way the current locale.
343         * config/locale/generic/time_members.cc
344         (__timepunct<char, wchar_t>::_M_put): Likewise.
345         * config/locale/gnu/messages_members.cc
346         (messages<char>::do_get): Likewise.
347         * config/locale/gnu/messages_members.h
348         (messages<_CharT>::do_get): Likewise.
349         * config/locale/gnu/time_members.cc
350         (__timepunct<char, wchar_t>::_M_put): Likewise.
351         * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
353 2002-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
355         * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
356         * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
358         * Makefile.in, config.h.in, configure: Regenerate.
360 2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
362         PR libstdc++/6549.
363         * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
364         * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
365         
366 2002-05-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
368         * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
369         Return __ctype + 1.
370         (ctype:_M_table): Initialize to classic_table(), not __ctype.
372 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
374         * configure.in: Update local install.html, configopts.html paths.
375         * configure: Regenerate.
377 2002-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
379         * config/os/irix/irix5.2/bits/os_defines.h
380         (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
382         * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
383         char.
385 2002-05-02  Phil Edwards  <pme@gcc.gnu.org>
387         * docs/html/faq/index.html:  Update list in #4.1.
388         * docs/html/faq/index.txt:  Regenerated.
390 2002-05-02  Benjamin Kosnik  <bkoz@redhat.com>
392         * docs/html/17_intro/RELEASE-NOTES (New): Update.
394 2002-05-01  Phil Edwards  <pme@gcc.gnu.org>
396         * include/std/std_bitset.h:  Fix doxygen comments.
397         * docs/html/documentation.html:  Minor tweaks for 3.1.
398         * docs/html/27_io/howto.html:  Likewise.
399         * docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
400         * docs/html/faq/index.html:  Likewise.
401         * docs/html/faq/index.txt:  Regenerated.
403 2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
405         PR libstdc++/6533
406         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
407         (istreambuf_iterator::equal): Use it.
408         (istreambuf_iterator::operator*): Use it.       
410 2002-05-01  Paolo Carlini  <pcarlini@unitus.it>
412         PR libstdc++/6513
413         * include/bits/stl_uninitialized.h
414         (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
415         Fix typo in 2001-07-17 commit: typedef _ValueType to
416         iterator_traits<_ForwardIter> not <_InputIter>.
417         * testsuite/23_containers/vector_ctor.cc: Add test04.
419 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
420         
421         PR libstdc++/6501
422         * include/c_std/std_cctype.h: Include bits/c++config.h.
423         * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
425 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
427         * include/ext/stdio_filebuf.h: New file.
428         * include/ext/enc_filebuf.h: New file.  
429         * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
430         * config/io/basic_file_stdio.cc: Same.  
431         * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
432         Remove _M_unbuf hacks.
433         (filebuf::_M_destroy_internal_buffer): Same.
434         (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
435         (filebuf::fd): Remove.
436         * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
437         (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
438         (filebuf::fd): Remove.  
439         * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
440         filebufs.
441         (ios_base::_S_ios_destroy): Same.
442         * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
443         * include/Makefile.am (ext_headers): Add ext_filebuf.h,
444         stdio_filebuf.h.  * include/Makefile.in: Regenerate.
446 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
448         PR libstdc++/6511
449         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
451 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
453         PR libstdc++/5820
454         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
455         Check for eof.
456         * include/bits/streambuf_iterator.h: Match stream_iterator.h.
457         (istreambuf_iterator::operator++): Invalidate on eof.
458         (istreambuf_iterator::operator++(int)): Same.
459         (istreambuf_iterator::operator*): Same.
460         
461 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
463         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
464         of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
465         LD_LIBRARY64_PATH. 
467 2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>
469         PR libstdc++/5820
470         * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
471         (__basic_file::sys_ungetc): Take int.
472         * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
473         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
474         Use sys_getc for unbuffered input.
475         * testsuite/27_io/narrow_stream_objects.cc (test06): New.
476         
477         * src/ios.cc (_M_grow_words): Adjust error checking.
478         * testsuite/27_io/ios_base_storage.cc: Same.
480 2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
482         * include/ext/stl_hashtable.h: Import __iterator_category
484 2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
485             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
487         * testsuite/ext/hash_set.cc: New testfile.
489 2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
491         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
492         _G_USING_THUNKS.
493         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
494         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
496 2002-04-26  Paolo Carlini  <pcarlini@unitus.it>
498         * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
499         Fix and tighten __throw_length_error check.
500         * testsuite/21_strings/replace.cc (test05): New.
501         * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
503 2002-04-23  Loren J. Rittle <ljrittle@acm.org>
505         * include/std/std_fstream.h (basic_filebuf::sync): Hoist
506         unconditional flush on lower-layer handle to here...
507         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
508         ...from here.  Optimize remaining _M_file.sync() call pattern.
509         * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
510         (test05): Likewise.
512 2002-04-23  Jason Merrill  <jason@redhat.com>
514         * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
515         output-only filebufs.
516         * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
517         Likewise.
518         (basic_filebuf::_M_set_determinate): Likewise.
520         PR libstdc++/6414
521         * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
522         value properly in the trivial case.
523         * testsuite/27_io/istream_seeks.cc (test04): Make sure that
524         tellg() returns the right value after a read.
526 2002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
528         * config/cpu/mmix/bits/cpu_limits.h: New file.
529         * configure.target (CPULIMITSH): Use it.
531 2002-04-22  Loren J. Rittle <ljrittle@acm.org>
533         * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
534         * docs/html/17_intro/porting.html: Rebuilt.
536 2002-04-20  Jason Merrill  <jason@redhat.com>
538         PR libstdc++/4150
539         * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): 
540         Move to filebuf.
541         (basic_streambuf::_M_set_determinate): Likewise.
542         (basic_streambuf::_M_is_indeterminate): Likewise.
543         * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New 
544         non-static data member.
545         (basic_filebuf::_M_underflow_common): New non-static member function.
546         (basic_filebuf::_M_underflow, _M_uflow): Call it.
547         (basic_filebuf::sync): Avoid useless seeking.
548         (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
549         Set _M_filepos.
550         (basic_filebuf::_M_set_determinate): Likewise.
551         (basic_filebuf::_M_is_indeterminate): Likewise.
552         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
553         back to _M_out_beg if necessary.
554         (basic_filebuf::seekoff): Likewise.
555         (basic_filebuf::_M_underflow_common): Generalization of old 
556         underflow().  Don't seek back to _M_in_beg.
557         * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
558         * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
559         * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
560         * config/os/mingw32/bits/os_defines.h: Likewise.
561         * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify 
562         ungetc test.
564 2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
566         * include/bits/istream.tcc (istream::read): Fix.
567         * testsuite/27_io/istream_unformatted.cc (main): Add.
569 2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
571         PR libstdc++/6360
572         * include/bits/istream.tcc (istream::ignore): Streamline, use
573         delimiter as is.
574         * include/bits/streambuf.tcc: Use this->gptr.
575         * testsuite/27_io/istream_unformatted.cc (test08): Add test.
576         
577 2002-04-18  Benjamin Kosnik  <bkoz@redhat.com>
579         * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
580         as type safety is important, especially on solaris.
581         * include/bits/istream.tcc (istream::read): Clean.
582         (istream::readsome): Same.
583         * locale.cc: Wrap lines.
585         * testsuite/21_strings/inserters_extractors.cc: Tweaks.
586         * testsuite/27_io/instantiations.cc (test): Add bool variable...
587         * testsuite/21_strings/capacity.cc: Clean.
588                 
589 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
591         * docs/doxygen/doxygroups.cc:  New group on binary searching.
592         * include/bits/stl_algo.h:  Document binary searches and merges.
593         * include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
595 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
597         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
598         * docs/doxygen/run_doxygen:  Bump required version.
599         * docs/doxygen/user.cfg.in:  Revert accidental change.
600         * docs/html/faq/index.html:  Reindent a block of links.
601         (4.4):  New note on using dlsym.
602         * docs/html/faq/index.txt:  Regenerated.
604 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
606         * testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
608 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
610         * config/linker-map.gnu (__malloc_alloc_template): Add.
611         (__default_alloc_template): Same.       
612         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
613         template.
614         (__default_alloc_template): Same.
615         
616 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
618         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
620 2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
622         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
623         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
624         (__malloc_alloc_template): Conditionalize.
626         * include/bits/istream.tcc: Remove sputbackc calls.
628         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
629         
630 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
632         * testsuite/24_iterators/rel_ops.cc: New test.
633         
634 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
636         * include/bits/type_traits.h (__normal_iterator): Declare in
637         __gnu_cxx.  Adjust use at global namespace.
638         * include/bits/stl_iterator.h (__normal_iterator): Move definition
639         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
640         * include/bits/basic_string.h (basic_string): Adjust use of
641         __normal_iterator.
642         * include/bits/stl_vector.h (_Alloc>): Likewise.
643         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
644         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
646 2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
648         PR libstdc++/4164
649         Valgrind fixes.
650         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
651         Call close.
652         (__basic_file::close): Call fflush. Correct return if fclose ok. 
653         (__basic_file::is_open): Make const.
654         Change __c_file_type to __c_file.
655         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
656         (__basic_file::is_open): Make const.    
657         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
658         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
659         (filebuf::_M_unbuf): Add.
660         (filebuf::_M_file): Change to non-pointer.
661         (filebuf::_M_allocate_pback_buffer): Remove.
662         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
663         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
664         Change initialization list for _M_file change.
665         (filebuf::_M_allocate_pback_buffer): Remove.
666         Change _M_file usage to reflect non-pointer data member.
667         
668         * config/locale/generic/c_locale.cc
669         (locale::facet::_S_create_c_locale): Add parameter.
670         * config/locale/generic/collate_members.cc: Change
671         _M_compare_helper to _M_compare.
672         Change _M_transform_helper to _M_transform.
673         * config/locale/generic/monetary_members.cc: Changeup data types.
674         Add dtors.
675         * config/locale/generic/numeric_members.cc: Add dtors.
676         * config/locale/generic/time_members.cc: Add dtors.
677         * config/locale/gnu/c_locale.cc: Add parameter.
678         * config/locale/gnu/collate_members.cc:Change
679         _M_compare_helper to _M_compare.
680         Change _M_transform_helper to _M_transform.
681         * config/locale/gnu/ctype_members.cc: Better error checking.
682         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
683         * config/locale/gnu/messages_members.cc: Tweak comment.
684         * config/locale/gnu/monetary_members.cc: Change data types.
685         Add dtors.
686         * config/locale/gnu/numeric_members.cc: Add dtors, better error
687         checking.
688         * config/locale/gnu/time_members.cc: Same.
689         * config/locale/ieee_1003.1-2001/c_locale.cc
690         (locale::facet::_S_create_c_locale): Add parameter.
691         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
692         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
693         bogus ctor.
694         
695         * include/bits/locale_facets.h (moneypunct): Use string literals.
696         Don't define dtor.
697         (numpunct): Same.
698         (__timepunct): Same.
699         (locale::_Impl::_M_facets): Change from vector to array.
700         (locale::_Impl::_M_names): Change from array of strings to array
701         of string literals.
702         (locale::facet::_S_create_c_locale): Add parameter.
703         (locale::locale::_S_num_facets): Move to...
704         (locale::_Impl::_M_facets_size): Here.
705         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
706         changes.
707         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
708         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
709         (locale::_Impl::_Impl(string, size_t)): Change to
710         (locale::_Impl::_Impl(const char*, size_t)): This.
711         
712         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
713         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
714         (streambuf::_S_pback_size): This.
716         * src/globals.cc: Add pre-allocations for "C" facets.
717         * src/locale-inst.cc: Remove vector instantiations.
718         * src/locale.cc: Remove vector include. Fixups for _M_names,
719         _M_facets changes.
720         * src/localename.cc: Same.
722         * include/bits/stl_vector.h: Fix odd formatting.
723         
724         * include/bits/basic_string.tcc: Tweak comment.
726         * libsupc++/new: Make sure parameters are uglified.
727         * libsupc++/typeinfo: Same.
728                 
729         * testsuite/22_locale/num_get_members_char.cc: Fixup.
730         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
731         * testsuite/27_io/filebuf_members.cc: Same.
733 2002-04-12  Steve Ellcey  <sje@cup.hp.com>
735         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
736         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
737         does not define strtoll or strtoull, but does define strtol
738         and strtoul which are the same since in 64 bit mode
739         sizeof(long) == sizeof(long long).
741 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
743         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
744         trailing spaces, indentation, and macro names.  Make exception
745         messages more informative.
747 2002-04-11  Richard Henderson  <rth@redhat.com>
749         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
750         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
751         (basic_ostream<>::operator<<(long long)): Same.
753 2002-04-11  Richard Henderson  <rth@redhat.com>
755         * config/linker-map.gnu: Add __gxx_personality_sj0.
757 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
759         libstdc++/1072
760         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
761         pointer to vector.
762         Remove forward declaration of vector.
763         Include vector.
764         * include/bits/locale_facets.tcc: Remove vector include.
765         (use_locale): Adjust.
766         (has_locale): Adjust.
767         * src/locale.cc: Adjust.
768         * src/localename.cc: Same.
769         
770 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
771             Richard Henderson  <rth@redhat.com>
773         * include/bits/sstream.tcc: Clean up bit ops.
774         * include/bits/fstream.tcc: Same.
775         
776 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
778         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
779         (__num_base::_S_scale_oct): Remove.
780         * src/locale.cc (__num_base::_S_scale_hex): Remove.
781         (__num_base::_S_scale_oct): Remove.
783 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
785         libstdc++/6124
786         * testsuite/23_containers/bitset_members.cc: New test.
787         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
788         (_S_bit_count): Here.
789         (_First_one::_S_first_one): Move...
790         (_S_first_one): Here.
791         Format.
792         * src/bitset.cc: Adjust.
793         * config/linker-map.gnu: Export.
794         
795 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
797         libstdc++/5180
798         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
799         * include/std/std_fstream.h: Clean.
800         * include/bits/ostream.tcc: Remove extraneous variables.
801         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
802         open modes and which modes.
803         (stringbuf::seekpos): Same.
804         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
805         
806 2002-04-05  Jonathan Wakely <jw@kayari.org>
808         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
809         random_shuffle, partition, stable_partition, sort, stable_sort,
810         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
812 2002-04-05  David S. Miller  <davem@redhat.com>
814         * config/os/gnu-linux/bits/os_defines.h
815         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
817 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
819         libstdc++/3457 
820         via gawrilow@math.tu-berlin.de
821         * acinclude.m4 (version_specific_libs): Fix combo usage with
822         --with-gxx-include-dir.
823         * aclocal.m4: Regenerate.
824         * configure: Same.
825         
826 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
828         As per DR 184, libstdc++/3139
829         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
830         (numeric_limits<bool>::is_iec559): False.
831         (numeric_limits<bool>::is_modulo): False.       
833         * testsuite/27_io/ios_init.cc: Add instantiations.
835 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
836         
837         libstdc++/5268
838         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
839         * testsuite/27_io/ios_init.cc (tests04): Add test.
841         libstdc++/3983
842         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
843         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
844         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
845         * include/bits/istream.tcc: Use _M_fctype, make consistent with
846         ostream.
847         * testsuite/27_io/ios_init.cc (tests03): Add test.
848         
849 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
851         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
852         * include/Makefile.in:  Regenerate.
854 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
855             Nathan Myers  <ncm@cantrip.org>
856             Philip Martin  <philip@codematters.co.uk>
858         * include/bits/basic_string.h
859         (replace(i1, i2, _CharT* k1, _CharT* k2),
860         replace(i2, i2, const _CharT* k1, const _CharT* k2),
861         replace(i1, i2, iterator k1, iterator k2,
862         replace(i1, i2, const_iterator k1, const_iterator k2):
863         New specializations to optimize for the common cases of
864         pointers and iterators.
865         (replace(pos, n1, s, n2)): Tweak.
866         * include/bits/basic_string.tcc: Tweak comments.
867         * testsuite/21_strings/replace.cc (test04): New tests.
869 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
871         libstdc++/5542
872         * acinclude: More extensive checks for msgfmt, --enable-nls.
873         * aclocal.m4: Regenerate.
874         * configure: Regenerate.
876 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
878         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
879         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
880         * docs/html/18_support/howto.html:  Document the demangler.
881         * docs/html/17_intro/howto.html:  And link to it.
883         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
884         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
886 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
888         * config/linker-map.gnu:  Export __verbose_terminate_handler.
889         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
890         Make new LTCOMPILE variable, use it in new special build rules.
891         * libsupc++/Makefile.in:  Rebuild.
892         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
893         runtime __cxa_demangle.
895         * docs/html/install.html:  Update prereqs and instructions.
896         * docs/html/19_diagnostics/howto.html:  Bring naming for
897         verbose_terminate_handler into line with reality.
899 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
900         
901         libstdc++/3129
902         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
903         (basic_ios::_M_streambuf_state): Move.  
904         * include/bits/ios_base (ios_base): To here.
905         * include/bits/ios_base.h (ios_base::_S_local_words): To
906         _S_local_word_size.
907         (ios_base::_M_word_array): To _M_local_word.
908         (ios_base::_M_words_limit): To _M_word_size.    
909         (ios_base::_M_words): To _M_word.               
910         Comment.
911         * include/bits/basic_ios.tcc: Adjust.   
912         * src/ios.cc (ios_base::_M_grow_words): Tweak.
913         * testsuite/27_io/ios_base_storage.cc: Add tests.
915         libstdc++/5207
916         Kenny Simpson <theonetruekenny@yahoo.com>
917         * include/bits/ios_base.h: Fix.
918         
919         Richard Henderson  <rth@redhat.com>
920         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
921         last change.
923         * include/bits/basic_string.h: Tweak formatting.
924         
925 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
927         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
928         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
929         By definition, sizeof(char) == 1.
930         * include/bits/locale_facets.tcc (money_get::do_get,
931         money_put::do_put): Ditto.
932         * testsuite/21_strings/inserters_extractors.cc
933         (test04): Ditto.
935 2002-03-30  Richard Henderson  <rth@redhat.com>
937         PR c++/3719
938         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
939         data out of the exception struct before calling unexpectedHandler.
941 2002-03-28  Roger Sayle  <roger@eyesopen.com>
943         * include/c_std/std_cmath.h:  To prevent problems overloading
944         g++ builtins, use the double variants from the global namespace
945         before defining float and long double variants in std::.
947 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
949         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
951 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
953         * testsuite/24_iterators/istream_iterator.cc
954         (test02): New tests.
956 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
957             Paolo Carlini  <pcarlini@unitus.it>
959         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
960         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
961         fix i_lit_base e_lit_base arrays, making them independent
962         from the endianness of the platform; tweak UCS4 to UCS-4BE.
964 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
966         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
967         allocate at least a byte.
969         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
970         debugger-friendly.
971         * testsuite/27_io/streambuf.cc (test07): Fix.
972         (test06): Enable.
974 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
976         * docs/doxygen/Intro.3:  Date tweak.
977         * docs/doxygen/TODO:  Update.
978         * docs/doxygen/doxygroups.cc:  Point to tables.html.
979         * docs/doxygen/mainpage.html:  Date tweak.
980         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
981         * docs/doxygen/tables.html:  Fill in the blanks.
983         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
984         * include/bits/stl_algo.h:  Likewise; use expanded form.
985         * include/bits/stl_alloc.h:  Likewise.
986         * include/bits/stl_construct.h:  Likewise.
987         * include/bits/stl_deque.h:  Likewise.
988         * include/bits/stl_iterator_base_types.h:  Likewise.
989         * include/bits/stl_list.h:  Likewise.
990         * include/bits/stl_relops.h:  Likewise.
991         * include/bits/stl_tempbuf.h:  Likewise.
992         * include/bits/stl_vector.h:  Likewise.
993         * include/std/std_memory.h:  Likewise.
995         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
996         * include/bits/stl_list.h:  Likewise.
997         * include/bits/stl_vector.h:  Likewise.
999 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
1001         * include/c/: Guard with _CPP_.
1002         * include/c_std/: Same.
1003         * include/Makefile.am: Fixup install, link routines for null
1004         c_base_headers_extra scenarios.
1005         * include/Makefile.in: Regerate.
1007 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
1008             Richard Henderson  <rth@redhat.com>
1010         * testsuite/22_locale/codecvt_members_unicode_char.cc
1011         (test01, test02): make sure that the i_lit_base array
1012         is sufficiently aligned.
1014 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1016         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1017         _ctype_.
1019 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
1021         * testsuite/22_locale/collate_byname.cc
1022         (test01): compare the result of collate::compare with
1023         that of collate::transform + string::compare, not with
1024         that of collate::transform + collate::compare; values
1025         returned by collate::compare are normalized, therefore
1026         test against +-1.
1028 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1029             Jakub Jelinek  <jakub@redhat.com>
1031         * config/locale/gnu/messages_members.h: Correct conditional.
1032         * config/locale/gnu/messages_members.cc: Same.
1033         * config/locale/gnu/time_members.cc: Same.
1035 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1036             Paolo Carlini  <pcarlini@unitus.it>
1038         * testsuite/22_locale/codecvt_members_unicode_char.cc
1039         (test01, test02): Fix i_lit_base arrays, making them
1040         independent from the endianness of the platform.
1042 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1044         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1045         signbit and __signbit directly.
1046         * aclocal.m4: Regenerate.
1047         * configure: Regenerate.
1048         * config.h.in: Regenerate.
1049         * libmath/Makefile.am: Simplify.
1050         * libmath/Makefile.in: Regenerate.
1051         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1053         * include/Makefile.am: Clean up handling of extra "C" header files.
1054         Add hooks for "C" compatibility headers.
1055         * include/Makefile.in: Regenerate.
1057         * include/c/*: Formatting tweaks, cleanups.
1058         * include/c_std/*: Same.
1060 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1062         * config/locale/gnu/messages_members.h: Add __uselocale bits.
1063         * config/locale/gnu/messages_members.cc: Same.
1064         * config/locale/gnu/time_members.cc: Same.
1066 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1068         * src/vterminate.cc: Format, -fno-exceptions cleanup.
1070 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1072         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1073         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1074         * aclocal.m4: Regenerate.
1075         * configure: Likewise.
1077 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
1078             Ulrich Drepper  <drepper@redhat.com>
1080         * src/locale-inst.cc (__convert_from_v): Add an additional
1081         __size parameter in the declarations.
1082         * include/bits/locale_facets.tcc
1083         (__convert_from_v): When available (that is,
1084         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1085         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1086         being defined or not, call and use __convert_from_v in the
1087         appropriate way.
1088         (num_put::_M_convert_int): Same here.
1089         (money_put::do_put(long double)): Same here.
1091 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
1093         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
1094         * docs/html/faq/index.txt:  Regenerate.
1096 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
1098         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1099         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1100         --enable-libunwind-exceptions is set.
1101         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1102         macro to check for libunwind.
1103         * configure: Regenerate.
1104         * src/Makefile.am (libstdc___la_LDFLAGS): Add
1105         LIBUNWIND_FLAG to libstdc link line.
1106         * src/Makefile.in: Regenerate.
1108 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
1110         * docs/html/faq/index.html: Add OS X workaround.
1111         * docs/html/17_intro/TODO: Update.
1113 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
1115         * include/bits/locale_facets.tcc
1116         (money_put::do_put(long double)): Fix dimensioning of
1117         temporary buffers to avoid risk of overruns.
1118         (money_put::do_put(string)): Same for the buffer used to
1119         add the grouping chars.
1120         * testsuite/22_locale/money_put_members_char.cc: Add test06.
1121         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1123         * include/bits/locale_facets.tcc
1124         (collate::do_transform): Simplify.
1126 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
1128         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
1129         * configure.in:  Add comments pointing the way for autoconf 2.5x.
1130         * aclocal.m4, config.h.in, configure:  Regenerate.
1132 2002-03-18  Philipp Thomas  <pthomas@suse.de>
1134         * include/backward/hash_map.h: hash, hashtable, hash_map and
1135         hash_multimap are in namespace __gnu_cxx.
1136         include/backward/hash_set.h: hash, hashtable, hash_set and
1137         hash_multiset are in namespace __gnu_cxx.
1138         include/backward/hashtable.h: hash and hashtable are in
1139         namespace __gnu_cxx.
1140         include/backward/rope.h: char_producer, sequence_buffer,
1141         rope, crope and wrope are in namespace __gnu_cxx.
1142         include/backward/slist.h: slist is in namespace __gnu_cxx.
1143         * testsuite/backward/header_hash_map_h.cc
1144         testsuite/backward/header_hash_set_h.cc
1145         testsuite/backward/header_hashtable_h.cc
1146         testsuite/backward/header_rope_h.cc
1147         testsuite/backward/header_slist_h.cc
1148         testsuite/backward/header_tempbuf_h.cc: New tests for
1149         checking that we're using the correct namespace.
1151 2002-03-17  Jason Merrill  <jason@redhat.com>
1153         PR c++/4381
1154         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1155         (check_exception_spec): Call it.  Take the thrown pointer.
1156         (__cxa_call_unexpected): Pass it.
1157         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
1159 2002-03-15  Anthony Green  <green@redhat.com>
1161         * configure.in: Remove useless is_mingw32.
1162         * configure: Rebuilt.
1164 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
1166         * testsuite/22_locale/collate_members_char.cc
1167         (test01): compare the result of collate::compare with
1168         that of collate::transform + string::compare, not with
1169         that of collate::transform + collate::compare.
1170         (test01): values returned by collate::compare are
1171         normalized, therefore test against +-1.
1172         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1174 2002-03-12  Loren Rittle  <ljrittle@acm.org>
1176         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1177         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
1179 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1180             Per Liboriussen  <liborius@stofanet.dk>
1182         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
1183         unsigned char.
1184         * config/os/gnu-linux/bits/ctype_inline.h: Same.
1186         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
1188         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
1189         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1191         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
1192         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1194         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
1195         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1197         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
1199 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1201         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
1202         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
1203         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
1204         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
1205         that memory limits are in place.
1206         (test03): Add tests.
1208 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
1210         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
1211         * aclocal.m4: Regenerate.
1212         * config.h.in: Regenerate.
1213         * configure: Regenerate.
1214         * include/c_std/std_cwctype.h: Guard.
1216 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
1218         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
1219         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
1220         * aclocal.m4: Regenerate.
1221         * configure: Regenerate.
1223 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
1225         * include/bits/stl_bvector.h: Fix warning.
1227 2002-03-11  Richard Henderson  <rth@redhat.com>
1229         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
1231 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
1233         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
1234         New function.  Build the list of tests to run in testsuite_files.
1235         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
1237 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
1239         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
1240         platforms with no weak support.
1241         * testsuite/27_io/ios_init.cc:  Likewise.
1243 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
1245         * include/bits/locale_facets.tcc (time_put::do_put):
1246         Consider sizeof(char_type) in allocating the buffer.
1248         * include/bits/locale_facets.tcc (collate::do_tranform):
1249         Remove redundant variable.
1251 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
1252             Paolo Carlini  <pcarlini@unitus.it>
1254         * config/locale/generic/collate_members.cc
1255         (collate<char,wchar_t>::_M_compare_helper): normalize
1256         values returned by strcoll and wcscoll.
1257         * config/locale/gnu/collate_members.cc
1258         (collate<char,wchar_t>::_M_compare_helper): ditto
1259         for __strcoll_l and __wcscoll_l.
1261 2002-03-10  Anthony Green  <green@redhat.com>
1263         * configure.in: Support cross builds to mingw32 target.
1264         * configure: Rebuilt.
1266 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
1268         * include/bits/locale_facets.tcc (collate::do_transform):
1269         Rewrite to fix problems with long transformed strings.
1271 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1273         * c_locale_generic.cc: Move to...
1274         * generic/c_locale.cc
1275         * c_locale_generic.h: Move to...
1276         * generic/c_locale.h
1277         * codecvt_specializations_generic.h: Move to...
1278         * generic/codecvt_specializations.h
1279         * collate_members_generic.cc: Move to...
1280         * generic/collate_members.cc
1281         * ctype_members_generic.cc: Move to...
1282         * generic/ctype_members.cc
1283         * messages_members_generic.cc: Move to...
1284         * generic/messages_members.cc
1285         * messages_members_generic.h: Move to...
1286         * generic/messages_members.h
1287         * moneypunct_members_generic.cc: Move to...
1288         * generic/monetary_members.cc
1289         * numpunct_members_generic.cc: Move to...
1290         * generic/numeric_members.cc
1291         * time_members_generic.cc: Move to...
1292         * generic/time_members.cc
1293         * c_locale_gnu.cc: Move to...
1294         * gnu/c_locale.cc
1295         * c_locale_gnu.h: Move to...
1296         * gnu/c_locale.h
1297         * collate_members_gnu.cc: Move to...
1298         * gnu/collate_members.cc
1299         * ctype_members_gnu.cc: Move to...
1300         * gnu/ctype_members.cc
1301         * messages_members_gnu.cc: Move to...
1302         * gnu/messages_members.cc
1303         * messages_members_gnu.h: Move to...
1304         * gnu/messages_members.h
1305         * moneypunct_members_gnu.cc: Move to...
1306         * gnu/monetary_members.cc
1307         * numpunct_members_gnu.cc: Move to...
1308         * gnu/numeric_members.cc
1309         * time_members_gnu.cc: Move to...
1310         * gnu/time_members.cc
1311         * c_locale_ieee_1003.1-200x.cc: Move to...
1312         * ieee_1003.1-2001/c_locale.cc
1313         * c_locale_ieee_1003.1-200x.h: Move to...
1314         * ieee_1003.1-2001/c_locale.h
1315         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
1316         * ieee_1003.1-2001/codecvt_specializations.h
1317         * messages_members_ieee_1003.1-200x.cc: Move to...
1318         * ieee_1003.1-2001/messages_members.cc
1319         * messages_members_ieee_1003.1-200x.h: Move to...
1320         * ieee_1003.1-2001/messages_members.h
1322         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
1323         * aclocal.m4: Regenerate.
1324         * configure: Regenerate.
1325         * src/Makefile.am (sources): Change to monetary and numeric.
1326         * src/Makefile.in: Regenerate.
1327         * docs/html/configopts.html: Update to ieee_1003.1-2001.
1329 2002-03-08  scott snyder  <snyder@fnal.gov>
1331         libstdc++/5875
1332         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1333         Allow one more digit of precision.
1334         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
1335         write a double and read back in the same value.
1337 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1339         * include/std/std_limits.h: Move static const data members out of
1340         generic template, into base class __numeric_limits_base.
1341         * src/limits.cc: Add definitions.
1342         * config/linker-map.gnu: Add __numeric_limits_base.
1343         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
1345 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
1347         * include/bits/stl_alloc.h: Add extern implicit allocator
1348         instantiations.
1349         * include/bits/basic_string.tcc: Tweak.
1350         * include/bits/locale_facets.tcc: Remove default args. Add
1351         has_facet, use_facet extern instantiations.
1352         * src/stl-inst.cc: Add explicit instantiation.
1353         * src/locale-inst.cc: Clean. Remove locale member template
1354         instantiations.
1356         * testsuite/22_locale/operators.cc (test02): Enable.
1358 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
1359             Stephen M. Webb  <stephen.webb@bregmasoft.com>
1361         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
1362         (_S_rb_tree_black): Make enum.
1363         Clean. Format.
1364         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
1365         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
1366         (__stl_threshold): _M_threshold, enum.
1367         * src/stl-inst.cc: Same.
1368         * config/linker-map.gnu: Remove.
1370         * testsuite/23_containers/vector_bool.cc: New.
1372 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
1374         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
1375         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
1376         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
1377         referring to the collection as a whole.  New section on which macros
1378         can be redefined by the user.
1379         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
1380         * docs/html/20_util/howto.html:  Update link to SGI.
1381         * docs/html/faq/index.html:  Update snapshot versions.  New entry
1382         on why g++ (but not gcc) must currently predefine certain macros.
1383         * docs/html/faq/index.txt:  Regenerated.
1385         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
1386         names in declaration.
1387         (basic_string::compare):  These are no longer optional.
1388         * include/bits/ostream.tcc:  Tweak closing brace placement.
1389         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
1390         * include/std/std_sstream.h:  Fix typo in comment.
1391         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
1392         * src/locale.cc:  Likewise.
1394 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
1396         PR libstdc++/5734
1397         * include/bits/stl_vector.h (vector::push_back()):  Guard with
1398         _GLIBCPP_DEPRECATED.
1400 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
1402         * include/bits/c++config:  Fix misplaced leading blanks on first line.
1404 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
1406         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
1407         * README (libmath): Make clear.
1409 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
1411         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
1412         script globbing in ld.
1413         * aclocal.m4: Rebuilt.
1414         * configure: Rebuilt.
1416 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
1418         * docs/html/17_intro/RELEASE-NOTES: Update.
1419         * README: Format subdirectories.
1421 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
1423         libstdc++/5816
1424         * include/bits/locale_facets.tcc
1425         (num_get::_M_extract_float): Fix the parsing of __dec, since
1426         the standard prescribes that if no grouping characters are
1427         seen, no grouping check is applied.
1428         * testsuite/22_locale/num_get_members_char.cc: Add test05
1429         distilled from the PR.
1430         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1432 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1434         * docs/html/17_intro/porting-howto.xml: Refer to
1435         http://www.oasis-open.org for docbookx.dtd.
1436         * docs/html/17_intro/porting-howto.html: Regenerated.
1438 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
1440         PR libstdc++/3955
1441         * include/std/std_sstream.h:  Remove trailing spaces.
1442         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
1443         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
1445 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
1447         * testsuite/22_locale/num_get_members_char.cc (test04):
1448         Use a named locale expecting grouping (de_DE).
1449         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1450         Ditto.
1451         * testsuite/27_io/ios_manip_basefield.cc (test01):
1452         Extend coverage, uniform treatment of hexs and octs.
1454 2002-02-28  Richard Henderson  <rth@redhat.com>
1456         * config/linker-map.gnu: Export operator new with unsigned long,
1457         and with std::nothrow_t.  Likewise operator delete.
1459 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
1461         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
1462         Admit grouping for octals and hexadecimals too.
1463         * testsuite/22_locale/num_get_members_char.cc: Add test04.
1464         (test01): Tweak "." -> "," in void* test.
1465         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1467         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1468         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1470 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
1472         * testsuite/27_io/ios_manip_basefield.cc (test01):
1473         Fix for 64 bit machines.
1475 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
1477         libstdc++/3983
1478         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1479         Adjust comment.
1480         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1481         (basic_ios::_M_fill_init): New.
1482         (basic_ios::fill()): Delay dealing with _M_fill.
1483         Adjust comment.
1484         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1485         (ios_base::_M_call_callbacks): Adjust.
1486         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1488 2002-02-26  Loren Rittle  <ljrittle@acm.org>
1490         * include/Makefile.am (thread_target_headers): Unconditionally
1491         stage and install gthr-posix.h.
1492         (${target_builddir}/gthr-posix.h): New rule cloned off
1493         ${target_builddir}/gthr-default.h.
1494         (${target_builddir}/gthr-default.h): Support chained inclusion
1495         of gthr support headers.
1496         * include/Makefile.in: Rebuilt.
1498 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
1500         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1501         Group all the integral types, not only decs.
1502         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1503         tests, add a few more.
1505 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
1507         * src/ios.cc (ios_base::~ios_base): Tweak.
1508         (ios_base::_M_call_callbacks): Deal with null __p.
1509         (ios_base::ios_base): Set _M_callbacks.
1510         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1511         * testsuite/27_io/ios_init.cc (test02): Fix.
1513         * mkcheck.in (static_fail): Failed links go to output file.
1515 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
1517         * docs/html/faq/index.html:  Update.
1518         * docs/html/faq/index.txt:  Regenerate.
1520 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
1522         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
1523         * aclocal.m4:  Regenerate.
1524         * docs/html/configopts.html:  Document --enable-symvers.
1525         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
1527 2002-02-22  Philipp Thomas  <pthomas@suse.de>
1529         * include/backward/tempbuf.h: get_temporary_buffer and
1530         return_temporary_buffer are in namespace std, not in __gnu_cxx.
1532 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
1534         * configure.in (target_alias): Default to yes.
1535         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1536         libgcc to default case.
1538 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
1540         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
1541         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
1542         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
1543         * aclocal.m4:  Regenerate.
1544         * configure:  Regenerate.
1545         * config/linker-map.dummy:  New file.  Contains nothing useful.
1547 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
1549         * testsuite/22_locale/money_put_members_char.cc: Fix.
1550         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1552         * testsuite/27_io/standard_manipulators.cc: New file.
1554         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1555         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1557 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
1559         * config/os/mingw32/bits/ctype_noninline.h
1560         (ctype<char>::ctype): Remove default args from parm list.
1561         * config/os/djgpp/bits/ctype_noninline.h: Same.
1563 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
1565         * include/std/std_iomanip.h: Inline, tweaks.
1566         * config/linker-map.gnu: Remove hacks.
1568         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1569         * testsuite/27_io/ios_init.cc: Same.
1570         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1571         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1573 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
1575         * config/linker-map.gnu: Export global vtable, typeinfo, guard
1576         variable, and thunk info as per CXXABI docs.
1578 2002-02-19  Loren Rittle <ljrittle@acm.org>
1580         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1581         * include/Makefile.in: Rebuilt.
1583 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1585         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
1586           with size3 for the string collations of str5.
1588 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
1590         libstdc++/5708
1591         * include/bits/locale_facets.tcc (money_put::do_put):
1592         For the space field use __fill instead of ' ', uniformly.
1593         * testsuite/22_locale/money_put_members_char.cc:
1594         Add test05 distilled from PR.
1595         (test01-02-03): Trim some '*' to ' '.
1596         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1598 2002-02-18  Loren Rittle <ljrittle@acm.org>
1600         libstdc++/5697
1601         * include/Makefile.am (thread_builddir): Remove (map all
1602         existing uses to target_builddir).
1603         (thread_headers): Rename to...
1604         (thread_target_headers): ...this.
1605         (stamp-thread): Remove.
1606         (stamp-target): Correctly state the position as built.
1607         Update all dependencies to match the new reality.  Remove all
1608         dependency calculations on directories.
1609         * include/Makefile.in: Rebuilt.
1611 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
1613         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
1614         * include/bits/fstream.tcc: Same.
1615         * include/bits/sstream.tcc: Same.
1616         * include/bits/ostream.tcc: Same.
1617         * include/bits/istream.tcc: Same.
1618         * include/bits/streambuf.tcc: Same.
1619         * include/bits/basic_ios.tcc: Same.
1620         * include/bits/basic_string.tcc: Same.
1622 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1624         * include/std/std_iosfwd.h: Don't guard typedefs with
1625         _GLIBCPP_USE_WCHAR_T
1626         * include/bits/stringfwd.h: Same.
1628 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1630         * src/locale.cc (moneypunct_byname): Remove definitions.
1631         * include/std/std_streambuf.h (streambuf::operator=): Return.
1633 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1635         Tune for size.
1636         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1637         explicit instantiation.
1638         (string::_Rep::_S_max_size): Same.
1639         * include/bits/basic_string.tcc: Add extern explicit
1640         instantiations for string, wstring.
1641         * include/bits/basic_ios.tcc: Add extern explicit instantiations
1642         for ios, wios.
1643         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1644         * include/bits/istream.tcc: Same, for istream, wistream.
1645         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1646         wiostream.
1647         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1648         istringstream, wistringstream, ostringstream, wostringstream,
1649         stringstream, wstringstream.
1650         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1651         wifstream, ofstream, wofstream, fstream, wfstream.
1652         * src/misc-inst.cc: Correct comments.
1653         Add iomanip instantiations for wide streams.
1654         * include/std/std_iomanip.h: Same.
1655         * include/bits/locale_facets.tcc: Same.
1657         * include/std/std_streambuf.h: Correct
1658         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1659         * include/std/std_sstream.h: Same.
1660         * include/std/std_ostream.h: Same.
1661         * include/std/std_istream.h: Same.
1662         * include/std/std_fstream.h: Same.
1664         * include/std/std_streambuf.h: Add definitions for private copy
1665         ctor and assignment operator.
1666         * include/std/std_istream.h: Remove declared but undefined copy
1667         ctor and assignment operator. This is taken care of in ios_base,
1668         so adding it in the derived class as well is superfluous.
1669         * include/std/std_ostream.h: Same.
1671         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1672         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
1674 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
1676         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1677         Add typeinfo bits. Smooth.
1678         * aclocal.m4: Regenerate.
1679         * configure: Same.
1680         * src/Makefile.in: Same.
1682 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
1684         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1685         which do not have a CAS instruction.
1687 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
1689         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
1690         * configure.in:  Call it.
1691         * config/linker-map.gnu:  New file, initial incomplete revision.
1692         * src/Makefile.am:  Optionally pass version script to the linker.
1693         * aclocal.m4:  Regenerate.
1694         * configure:  Regenerate.
1695         * src/Makefile.in:  Regenerate.
1697 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
1699         * src/localename.cc: Remove stdexcept include.
1700         * src/locale-inst.cc: Same.
1701         * src/locale.cc: Same.
1702         * src/functexcept.cc: Remove string includes.
1703         * include/std/std_bitset.h: Remove stdexcept include.
1704         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
1705         * testsuite/23_containers/bitset_ctor.cc: Same.
1707 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
1709         * include/bits/stl_algo (__stl_threshold): Declare external.
1710         (__stl_chunk_size): Same.
1711         * include/bits/stl_bvector.h (__WORD_BIT): Same.
1712         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
1713         (_S_rb_tree_black): Same.
1714         * src/stl-inst.cc (__stl_threshold): Define.
1715         (__stl_chunk_size): Same.
1716         (__WORD_BIT): Same.
1717         (_S_rb_tree_red): Same.
1718         (_S_rb_tree_black): Same.
1720         * config/io/basic_file_libio.h (__basic_file): Add declarations.
1721         * include/bits/basic_file.h: Remove.
1722         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1723         Declare generic types, specialization.
1724         * config/io/basic_file_stdio.cc: Definitions.
1725         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1726         Declare generic types.
1727         * include/Makefile.am (bits_headers): Remove basic_file.h.
1728         (extra_target_headers): Change basic_file_model.h to basic_file.h.
1729         (stamp-target): Same.
1731         * include/bits/stl_alloc.h: Tweaks.
1732         * include/bits/localefwd.h: Same.
1734 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
1736         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
1737         * testsuite/22_locale/collate_members_char.cc (test03): New test.
1738         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
1740 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
1742         * include/bits/stl_algo.h (transform (both signatures), generate_n):
1743         Use __typeof__ in concept checks.
1745 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
1747         * include/bits/stl_algo.h (__median, for_each, find, find_if,
1748         adjacent_find, count, count_if, search, search_n, swap_ranges,
1749         transform, replace, replace_if, replace_copy, replace_copy_if,
1750         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
1751         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
1753 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
1755         * include/bits/locale_facets.h
1756         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
1757         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
1758         (__timepunct<_CharT>::_M_put_helper): Same.
1759         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
1761         * include/bits/fstream.tcc (filebuf::underflow): Remove
1762         __codecvt_type typedef.
1763         (filebuf::_M_convert_to_external): Same.
1765 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
1767         * docs/doxygen/TODO:  Update.
1768         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
1769         * docs/doxygen/mainpage.html:  Add TODO list link.
1770         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
1771         * docs/doxygen/tables.html:  New file, emoty structure only.
1773         * include/bits/stl_iterator.h:  Doxygenate just about everything.
1774         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
1775         * include/bits/stl_iterator_base_types.h:  Add notes.
1777 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
1779         * include/bits/stl_map.h:  Tweak doxygen markup.
1780         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
1781         * include/bits/stl_vector.h:  Likewise.
1783 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1785         libstdc++/5286
1786         libstdc++/3860
1787         * include/std/std_fstream.h (filebuf::__file_type): Change to
1788         __basic_file<char>.
1789         (filebuf::_M_convert_to_external): Declare.
1790         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
1791         codecvt bits for wide streams.
1792         (filebuf::_M_really_overflow): Use it.
1793         (filebuf::underflow): Use codecvt.
1794         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1795         (codecvt<__enc_traits>::do_out): Deal with partial.
1796         (codecvt<__enc_traits>::do_encoding): Return something useful.
1797         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1798         wchar_t.
1799         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1800         Change expected encoding output.
1801         (test02): Same.
1802         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1803         (test02): Same.
1805 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1806             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
1808         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
1809         (basic_ios::widen): Same.
1811 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
1813         * testsuite/22_locale/money_get_members_char.cc:
1814         Add comment, tidy up.
1815         (test01): more "en_HK" tests (without showbase).
1816         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
1818 2002-02-06  Loren Rittle <ljrittle@acm.org>
1820         * config/locale/c_locale_generic.cc: Do not trust
1821         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
1822         set by configure.
1824 2002-02-06  Loren Rittle <ljrittle@acm.org>
1826         * acinclude.m4: Add C++ linkage check for strtof.
1827         * aclocal.m4: Rebuilt.
1828         * config.h.in: Rebuilt.
1829         * configure: Rebuilt.
1830         * config/locale/c_locale_generic.cc: Conditionally include
1831         <ieeefp.h>.  Improve handling and error checking of float
1832         and long double input for non-C99 configurations.
1834 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
1836         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1837         In case money_base::symbol deal properly with multi-char sign
1838         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
1839         * testsuite/22_locale/money_get_members_char.cc: Add test07.
1840         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
1842 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
1844         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1845         First construct a tentative returned string, then, only if the
1846         parsing succeeds, copy it into the string passed by reference.
1847         * testsuite/22_locale/money_get_members_char.cc: Add test06.
1848         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
1850 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
1852         * docs/doxygen/TODO:  Impl-defined behavior now documented...
1853         * docs/html/17_intro/howto.html:  ...here.
1854         * docs/doxygen/mainpage.doxy:  Remove, rename...
1855         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
1856         * docs/doxygen/style.css:  Add small text.
1857         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
1858         * docs/doxygen/user.cfg.in:  Likewise.
1860 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
1862         * include/bits/stl_map.h:  Initial doxygen markup.
1863         * include/std/std_fstream.h:  Initial doxygen markup.
1865 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
1867         libstdc++/5579
1868         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1869         Deal correctly with !(__io.flags() & ios_base::showbase)
1870         for case money_base::symbol.
1871         * testsuite/22_locale/money_get_members_char.cc: Add test05.
1872         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
1874 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
1876         * testsuite/22_locale/operators.cc
1877         (gnu_collate::do_compare()): Add return statement to
1878         suppress "no return statement" warning.
1880 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
1882         * testsuite/27_io/ostream_manip.cc: Enable test02.
1884 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
1886         * docs/html/documentation.html:  Update for 3.0.96.
1887         * docs/html/faq/index.html:  Update for 3.0.96.
1888         * docs/html/faq/index.txt:  Regenerated.
1889         * docs/doxygen/TODO:  Update notes.
1890         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
1892 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
1894         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1895         Initialize all data members in copy ctor. Make ctors explicit.
1896         (__enc_traits::__enc_traits()): Default ctor does nothing.
1897         (__enc_traits::_M_init): Guard against multiple iconv_opens.
1898         * include/std/std_sstream.h (basic_stringbuf): Make data members
1899         protected.
1900         * include/std/std_fstream.h (basic_filebuf): Same.
1901         * include/std/std_streambuf.h: Tweak.
1902         * include/bits/streambuf.tcc: Same.
1903         * include/bits/sstream.tcc: Same.
1904         * include/bits/fstream.tcc: Same.
1906 2002-01-31  Loren Rittle <ljrittle@acm.org>
1908         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
1909         allow NULL argument to be passed to setenv().
1910         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1911         * testsuite/22_locale/collate_members_char.cc: Likewise.
1912         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1913         * testsuite/22_locale/ctype_members_char.cc: Likewise.
1914         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
1915         * testsuite/22_locale/messages_members_char.cc: Likewise.
1916         * testsuite/22_locale/money_get_members_char.cc: Likewise.
1917         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1918         * testsuite/22_locale/money_put_members_char.cc: Likewise.
1919         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1920         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
1921         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1922         * testsuite/22_locale/num_get_members_char.cc: Likewise.
1923         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1924         * testsuite/22_locale/num_put_members_char.cc: Likewise.
1925         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1926         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
1927         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1928         * testsuite/22_locale/time_get_members_char.cc: Likewise.
1929         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1930         * testsuite/22_locale/time_put_members_char.cc: Likewise.
1931         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1933 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
1935         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
1937         * ChangeLog-2001: Fix spelling errors...
1938         * docs/html/17_intro/RELEASE-NOTES: Update.
1939         * docs/html/17_intro/TODO: Update.
1940         * README (file): Update.
1942 2002-01-30  Loren Rittle <ljrittle@acm.org>
1944         * config/locale/c_locale_generic.cc: Check errno for ERANGE
1945         instead of non-zero to aid portability.
1947 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1949         * docs/html/22_locale/messages.html: Fix example code.
1951 2002-01-30  Richard Henderson  <rth@redhat.com>
1953         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1954         out from test03 and templatize.
1955         (test03): Use it.
1957 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1959         * config/locale/numpunct_members_gnu.cc
1960         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
1961         Fix initialization of _M_grouping for locales which have
1962         _M_thousands_sep == '\0'(L'\0', respectively).
1963         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
1965 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1967         * testsuite/27_io/ostream_inserter_arith.cc (test03):
1968         Better fix for 32/64 bit architectures, avoiding the
1969         implicit assumption that CHAR_BIT == 8.
1971 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
1973         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
1974         * Makefile.in:  Regenerate.
1976         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
1977         * docs/doxygen/Intro.3:  Update.
1978         * docs/doxygen/TODO:  Update.
1979         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
1980         * docs/doxygen/mainpage.doxy:  Update.
1981         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
1982         regenerate comments and variables with 1.2.12.
1983         * docs/doxygen/maint.cfg.in:  Remove file.
1985         * include/bits/stl_relops.h:  Doxygenate.
1986         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
1988         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
1989         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
1990         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
1991         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
1992         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
1993         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
1994         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
1995         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
1996         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
1997         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
1998         include/ext/hash_set, include/ext/iterator, include/ext/memory,
1999         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2000         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2001         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2002         include/std/std_algorithm.h, include/std/std_bitset.h,
2003         include/std/std_complex.h, include/std/std_deque.h,
2004         include/std/std_fstream.h, include/std/std_functional.h,
2005         include/std/std_iomanip.h, include/std/std_ios.h,
2006         include/std/std_iosfwd.h, include/std/std_iostream.h,
2007         include/std/std_istream.h, include/std/std_iterator.h,
2008         include/std/std_limits.h, include/std/std_list.h,
2009         include/std/std_locale.h, include/std/std_map.h,
2010         include/std/std_memory.h, include/std/std_numeric.h,
2011         include/std/std_ostream.h, include/std/std_queue.h,
2012         include/std/std_set.h, include/std/std_sstream.h,
2013         include/std/std_stack.h, include/std/std_stdexcept.h,
2014         include/std/std_streambuf.h, include/std/std_string.h,
2015         include/std/std_utility.h, include/std/std_valarray.h,
2016         include/std/std_vector.h:  Add/correct @file doxygen hook.
2018         * include/ext/memory:  Doxygenate most of rest of file.
2019         * libsupc++/exception:  Doxygen output formatting.
2020         * libsupc++/new:  Say which header it is.
2022         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
2023         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
2024         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
2025         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
2027 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2028             Charles Leggett <CGLeggett@lbl.gov>
2030         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2032 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2034         * testsuite/27_io/ostream_inserter_arith.cc (test03):
2035         Fix to deal correctly with both 32 bit and 64 bit architectures
2037 2002-01-25  Loren Rittle <ljrittle@acm.org>
2039         * testsuite/thread/pthread1.cc: Use one condition variable
2040         per predicate instead of tricky use of one condition variable.
2042 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
2044         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2045         streams.
2046         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2047         * testsuite/27_io/filebuf.cc: Compile only.
2048         * testsuite/27_io/filebuf_members.cc: Move tests to here.
2049         * testsuite/27_io/filebuf_virtuals.cc: And here.
2050         Revert sungetc, sync changes for expected values.
2051         * testsuite/27_io/filebuf-*: Move to...
2052         * testsuite/27_io/filebuf_virtuals-*: ...here.
2053         * testsuite/27_io/istream.cc: Compile only, activate.
2054         * testsuite/27_io/ostream.cc: Same.
2055         * testsuite/27_io/iostream.cc: New.
2056         * testsuite/27_io/iostream_members.cc: New.
2058 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
2060         * testsuite/thread/pthread1.cc: Enable on cygwin.
2061         * testsuite/thread/pthread2.cc: Likewise.
2062         * testsuite/thread/pthread3.cc: Likewise.
2063         * testsuite/thread/pthread4.cc: Likewise.
2064         * testsuite/thread/pthread5.cc: Likewise.
2065         * testsuite/thread/pthread6.cc: Likewise.
2067 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
2069         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2071 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
2073         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2074         const, tweak.
2075         (basic_ios::fill(char_type)): Use fill().
2076         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2077         (basic_ios::narrow): Same.
2078         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2079         if they are invalid.
2080         (basic_ios::init): Comment.
2081         * testsuite/27_io/ios_init.cc (test02): New.
2083 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
2085         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
2086         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
2087         * include/ext/memory:  Do not include stl_tempbuf.h.
2088         (temporary_buffer):  Add doxygen hook.
2089         (__get_temporary_buffer, get_temporary_buffer,
2090         return_temporary_buffer):  Move back to std:: header...
2091         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
2092         * include/ext/rope:  Do not include stl_tempbuf.h.
2093         * include/ext/stl_hashtable.h:  Likewise.
2094         * include/std/std_algorithm.h:  Likewise.
2095         * testsuite/20_util/temporary_buffer.cc:  New file.
2097 2002-01-24  andrew@andypo.net
2098             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
2100         libstdc++/5432
2101         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2102         * include/bits/localefwd.h: Likewise.
2103         Also use for std::locale::id::_S_highwater.
2104         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2105         * src/locale.cc: Support new usage of _Atomic_word.
2106         (std::locale::classic): Guard entire function against reentry.
2107         * src/localename.cc: Support new usage of _Atomic_word.
2109 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
2111         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2112         _GLIBCPP_HAVE_SETENV.
2113         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2114         * testsuite/22_locale/collate_members_char.cc (test02): Same.
2115         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2116         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2117         * testsuite/22_locale/messages_members_char.cc (test02): Same.
2118         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2119         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2120         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2121         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2122         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2123         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2124         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2125         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2126         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2127         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2128         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2129         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2130         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2131         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2132         * aclocal.m4: Regenerate.
2133         * configure: Regenerate.
2134         * config.h.in: Regenerate.
2136 2002-01-23  Loren Rittle <ljrittle@acm.org>
2138         * testsuite/thread/pthread1.cc: New test.
2139         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2140         * testsuite/thread/pthread3.cc: Likewise.
2141         * testsuite/thread/pthread4.cc: New test adapted from
2142         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2143         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2144         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2146 2002-01-23  Richard Henderson  <rth@redhat.com>
2148         PR libstdc++/5198
2149         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2150         CAS on the cpu variants that support it.  Add versions that use
2151         TAS and that disable interrupts.
2152         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2154 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
2156         * include/bits/locale_facets.tcc: Remove old comments.
2158 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
2160         * include/bits/locale_facets.tcc (__convert_to_v): Change template
2161         parameter to _Tv.
2162         (__convert_from_v): Same.
2164 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
2166         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2167         prototype.
2168         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2169         __max_digits checks, adjust arguments.
2170         (num_get::do_get(*)): Changeup.
2172 2002-01-23  Loren Rittle <ljrittle@acm.org>
2174         * config/locale/c_locale_generic.cc: Fix typename usage.
2176 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2178         * config/locale/c_locale_generic.cc: Fix.
2180 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2182         * docs/html/22_locale/messages.html: Remove angle brackets.
2183         * docs/html/17_intro/TODO: Add.
2185 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
2187         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
2188         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
2189         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
2190         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
2192 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2194         Audit for LANG independence.
2195         * include/bits/localefwd.h: Tweaks.
2196         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
2197         Use __convert_to_v.
2198         (time_get::do_get_year): Same.
2199         (__convert_from_v): Add.
2200         (num_put::_M_convert_float): Use.
2201         (num_put::_M_convert_int): Same.
2202         (money_put::do_put): Same.
2204         * src/locale-inst.cc: Add instantiations for __convert_from_v.
2205         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
2206         * config/locale/time_members_generic.cc:
2207         * config/locale/messages_members_gnu.cc: Same.
2208         * config/locale/messages_members_gnu.h: Same.
2210         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
2211         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
2212         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
2213         * testsuite/22_locale/collate_members_char.cc (test02): New.
2214         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
2215         * testsuite/22_locale/ctype_members_char.cc (test03): New.
2216         * testsuite/22_locale/messages_members_char.cc (test02): New.
2217         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
2218         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
2219         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
2220         * testsuite/22_locale/money_get_members_char.cc (test04): New.
2221         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
2222         * testsuite/22_locale/money_put_members_char.cc (test04): New.
2223         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
2224         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
2225         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
2226         * testsuite/22_locale/time_put_members_char.cc (test03): New.
2227         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
2228         * testsuite/22_locale/time_get_members_char.cc (test07): New.
2229         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
2230         * testsuite/22_locale/num_get_members_char.cc (test03): New.
2231         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
2232         * testsuite/22_locale/num_put_members_char.cc (test03): New.
2234         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
2235         locale issues.
2236         * testsuite/22_locale/time_get_members_char.cc: Same.
2238 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2240         libstdc++/5280
2241         * include/bits/localefwd.h: Tweak comments.
2242         * include/bits/locale_facets.h (__convert_to_v): Add.
2243         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
2244         (num_get::do_get(float)): Same.
2245         (num_get::do_get(long double)): Same.
2246         (num_get::do_get(bool)): Same.
2247         (num_get::do_get(long)): Same.
2248         (num_get::do_get(long long)): Same.
2249         (num_get::do_get(unsigned int)): Same.
2250         (num_get::do_get(unsigned short)): Same.
2251         (num_get::do_get(unsigned long)): Same.
2252         (num_get::do_get(unsigned long long)): Same.
2253         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
2254         * config/locale/c_locale_generic.cc: Same.
2256 2002-01-22  Loren Rittle <ljrittle@acm.org>
2258         * include/Makefile.am (c_base_builddir): Remove redundant slash.
2259         (std_builddir): Likewise.
2260         (std_headers_rename): Fix cut-n-paste typo.
2261         (install-data-local): Concat path per element instead of once to
2262         first element of list.
2263         * include/Makefile.in: Rebuilt.
2265 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2267         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
2268         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
2269         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
2271 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
2273         * include/bits/locale_facets.h (ctype<char>::classic_table):
2274         Remove definition.
2275         (ctype<char>::_S_ctable): Remove.
2276         * config/os/gnu-linux/bits/ctype_noninline.h
2277         (ctype<char>::_S_table): Remove definition.
2278         (ctype<char>::classic_table): Define.
2279         (ctype<char>::ctype): Replace _S_ctable with classic_table().
2280         * config/os/aix/bits/ctype_noninline.h: Same.
2281         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2282         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2283         * config/os/djgpp/bits/ctype_noninline.h: Same.
2284         * config/os/generic/bits/ctype_noninline.h: Same.
2285         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2286         * config/os/hpux/bits/ctype_noninline.h: Same.
2287         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2288         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2289         * config/os/mingw32/bits/ctype_noninline.h: Same.
2290         * config/os/newlib/bits/ctype_noninline.h: Same.
2291         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2292         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2293         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2295 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
2297         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
2298         of _pctype. Use to define _S_ctable.  Add definition for alternate
2299         ctor.  Initialise _M_ctable to _S_ctable in ctors.
2300         (do_toupper, do_tolower): Use inline code appropriate for C-locale
2301         rather than ::toupper, ::tolower.
2303 2002-01-18  Loren Rittle <ljrittle@acm.org>
2305         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2306         Add specialization for FreeBSD systems only to avoid losing test
2307         only due to extra precision unmentioned in system headers.
2309 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
2311         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
2313 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
2315         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
2316         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
2318 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2320         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
2322 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
2324         * configure.target: Define OPT_LDFLAGS for AIX case.
2326 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2328         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
2329         __glibcpp_double_has_quiet_NaN): Correct mispelling.
2331 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
2333         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
2335 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
2337         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
2338         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
2339         * aclocal.m4: Regenerate.
2340         * configure: Regenerate.
2342 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2344         * include/Makefile.am (c_base_headers_rename): New.
2345         (c_base_headers_extra): New.
2346         (stamp-c_base): Modify.
2347         (install-data-local): Use both.
2348         * include/Makefile.in: Regenerate.
2349         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2350         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2351         cstdio ctime cwctype]: Move to..
2352         * include/c/std_*: Here.
2353         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2354         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2355         cstdio ctime cwctype]: Move to..
2356         * include/c_std/std_*: Here.
2358         Alexandre Oliva  <aoliva@redhat.com>
2359         * include/Makefile.am (.PRECIOUS): Add rule.
2360         * include/Makefile.in: Regenerate.
2362 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2363             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2365         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
2366         Deuglify, should be current.
2367         (back_insert_iterator::_M_container): Deuglify, should be container.
2368         (front_insert_iterator::_M_container): Same.
2369         (insert_iterator::_M_container): Same.
2370         * testsuite/24_iterators/reverse_iterator.cc: Add check.
2371         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
2372         * testsuite/24_iterators/front_insert_iterator.cc: Same.
2373         * testsuite/24_iterators/insert_iterator.cc: Same.
2375 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2377         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
2378         static.
2379         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
2380         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
2381         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2382         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2383         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2384         * config/os/newlib/bits/ctype_noninline.h: Same.
2385         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2386         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2387         * config/os/hpux/bits/ctype_noninline.h: Same.
2388         * config/os/djgpp/bits/ctype_noninline.h: Same.
2389         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2390         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2391         * config/os/aix/bits/ctype_noninline.h: Same.
2393         Testcase by Dietmar Kühl via Peter Schmid
2394         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
2395         classic_table().
2397 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2399         * libmath/signbitl.c: Copyright years as list, not range.
2400         * libmath/Makefile.am: Same.
2401         * libmath/Makefie.in: Regenerate.
2402         * libmath/signbit.c: Same.
2403         * libmath/nan.c: Same.
2404         * libmath/copysignf.c: Same.
2405         * libmath/signbitf.c: Same.
2406         * testsuite/22_locale/money_get_members_char.cc: Same.
2407         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2408         * testsuite/22_locale/money_put_members_char.cc: Same.
2409         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2410         * testsuite/22_locale/time_get_members_char.cc: Same.
2411         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
2412         * testsuite/22_locale/time_put_members_char.cc: Same.
2413         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
2414         * testsuite/21_strings/nonmember.cc: Same.
2415         * testsuite/21_strings/compare.cc: Same.
2416         * testsuite/27_io/stringstream.cc: Same.
2417         * testsuite/27_io/stringbuf.cc: Same.
2418         * testsuite/27_io/filebuf.cc: Same.
2419         * testsuite/27_io/ios_manip_basefield.cc: Same.
2420         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
2421         * include/bits/cpp_type_traits.h: Same.
2422         * include/bits/generic_shadow.h: Same.
2423         * include/bits/gslice_array.h: Same.
2424         * include/bits/gslice.h: Same.
2425         * include/bits/indirect_array.h: Same.
2426         * include/bits/slice_array.h: Same.
2427         * include/bits/sstream.tcc: Same.
2428         * include/bits/streambuf_iterator.h: Same.
2429         * include/bits/valarray_array.tcc: Same.
2430         * include/bits/valarray_meta.h: Same.
2431         * include/bits/valarray_array.h: Same.
2432         * config/os/mingw32/bits/ctype_noninline.h: Same.
2433         * config/os/mingw32/bits/ctype_base.h: Same.
2434         * config/os/hpux/bits/ctype_noninline.h: Same.
2435         * config/os/hpux/bits/ctype_base.h: Same.
2436         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2437         * config/os/gnu-linux/bits/ctype_base.h: Same.
2438         * config/os/generic/bits/ctype_noninline.h: Same.
2439         * config/os/generic/bits/ctype_base.h: Same.
2441         * libsupc++/tinfo.h: Tweaks.
2443 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2445         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
2446         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
2447         * testsuite/22_locale/ctype_members_char.cc: Tweak.
2449 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2451         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2452         (num_put::do_put(void*)): Fix.
2453         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
2454         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
2455         * testsuite/22_locale/num_get_members_char.cc (test02): Add
2456         long double, void, bool types.
2457         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
2459 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2460             Alexandre Oliva  <aoliva@redhat.com>
2462         * libmath/Makefile.am (LINK): Add --tag CC.
2463         * libmath/Makefile.in: Regenerate.
2465 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2467         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
2468         of character to attribute mapping table.
2470 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
2472         * testsuite/26_numerics/c99_classification_macros_c.cc
2473         Remove dg-error and dg-excess-errors comments.
2475 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
2477         * include/bits/locale_facets.tcc (time_put::put): Correct output
2478         iterator positions.
2479         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
2480         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2481         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2482         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
2484 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2486         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
2488 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
2489             Nathan Myers  <ncm@cantrip.org>
2491         * include/bits/basic_string.h
2492         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2493         temporaries (i.e., call _M_replace_safe) when possible.
2494         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2495         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2496         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2497         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2498         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2499         * include/bits/basic_string.tcc
2500         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
2501         replace(__pos, __n1, __s, __n2).
2502         * testsuite/21_strings/replace.cc (test03): New testcases.
2504         * include/bits/basic_string.h (insert(__pos, __s, __n)):
2505         Adjust comparison wrt overflow.
2507 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2509         * include/Makefile.am (std_headers_rename): New variable.
2510         (install-data-local): Use it.
2511         * include/Makefile.in: Regenerate.
2513 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2515         * include/bits/locale_facets.tcc (money_put::do_put(string):
2516         Correct output iterator value.
2517         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
2518         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2520 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
2522         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
2523         previous commit.
2525 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
2527         * include/Makefile.am (std_headers):  Update list with new names.
2528         (stamp-std):  Link to standardized name.
2529         * include/Makefile.in:  Regenerate.
2531         * include/std/algorithm, include/std/bitset, include/std/complex,
2532         include/std/deque, include/std/fstream, include/std/functional,
2533         include/std/iomanip, include/std/ios, include/std/iosfwd,
2534         include/std/iostream, include/std/istream, include/std/iterator,
2535         include/std/limits, include/std/list, include/std/locale,
2536         include/std/map, include/std/memory, include/std/numeric,
2537         include/std/ostream, include/std/queue, include/std/set,
2538         include/std/sstream, include/std/stack, include/std/stdexcept,
2539         include/std/streambuf, include/std/string, include/std/utility,
2540         include/std/valarray, include/std/vector:  Rename to...
2542         * include/std/std_algorithm.h, include/std/std_bitset.h,
2543         include/std/std_complex.h, include/std/std_deque.h,
2544         include/std/std_fstream.h, include/std/std_functional.h,
2545         include/std/std_iomanip.h, include/std/std_ios.h,
2546         include/std/std_iosfwd.h, include/std/std_iostream.h,
2547         include/std/std_istream.h, include/std/std_iterator.h,
2548         include/std/std_limits.h, include/std/std_list.h,
2549         include/std/std_locale.h, include/std/std_map.h,
2550         include/std/std_memory.h, include/std/std_numeric.h,
2551         include/std/std_ostream.h, include/std/std_queue.h,
2552         include/std/std_set.h, include/std/std_sstream.h,
2553         include/std/std_stack.h, include/std/std_stdexcept.h,
2554         include/std/std_streambuf.h, include/std/std_string.h,
2555         include/std/std_utility.h, include/std/std_valarray.h,
2556         include/std/std_vector.h:  ...this.
2558 2002-01-11  Loren Rittle <ljrittle@acm.org>
2560         * include/Makefile.am (extra_target_headers): New list of all
2561         target files built with ad hoc naming rules.
2562         (stamp-*): Handle LN_S failure in manner portable across make
2563         implementations.
2564         (install-data-local): Install header files from human-maintained
2565         file lists and directory components instead of non-robust find.
2566         * include/Makefile.in: Rebuilt.
2568 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
2570         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2571         Check for zero-length negative sign before adding it to output
2572         string.
2573         (money_get::do_get(long double)): Return beg.
2574         * testsuite/22_locale/money_get_members_char.cc (test02): Add
2575         iterator checks.
2576         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2578 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
2580         libstdc++/5331
2581         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
2582         for _M_extract_float and _M_extract_int
2583         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2584         (num_get<>::_M_extract_int): Likewise, all callers changed
2585         * testsuite/22_locale/num_get_members_char.cc: Testcase
2587 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
2589         * libsupc++/exception (bad_exception): Add comment.
2590         * libsupc++/new (bad_alloc): Same.
2591         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2593 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
2595         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2596         that the destructors should be removed from the descriptions
2597         in the standard: writing them explicitly allows the vtable
2598         heuristic to work. For additional information see:
2599         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2600         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2601         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2602         * libsupc++/exception (bad_exception::~bad_exception()):
2603         Reintroduce declaration.
2604         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2605         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2606         (bad_typeid::~bad_typeid()): Same.
2607         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2608         Reintroduce definition.
2609         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2610         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2611         (bad_typeid::~bad_typeid()): Same.
2613 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2615         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2616         * include/Makefile.in: Regenerate.
2618 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
2620         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2621         definition.
2623 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2625         libstdc++/2913
2626         libstdc++/4879
2627         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2628         return value of _M_file->sync().
2629         (filebuf::showmanyc): Check for is_open.
2630         * include/std/fstream (filebuf::sync): Tweak.
2631         * testsuite/27_io/filebuf.cc: Tweak.
2633 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
2634             Brad Garcia  <garsh@attbi.com>
2636         * testsuite/27_io/filebuf_members.cc: Add test.
2638 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
2639             Craig Rodrigues  <rodrigc@mediaone.net>
2641         libstdc++/5174
2642         * po/Makefile.am (mkinstalldirs): Add.
2643         * po/Makefile.in: Regenerate.
2645 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
2647         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2648         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
2649         compiler output.
2650         * testsuite/23_containers/map_operators.cc: Remove
2651         dg-excess-errors comment.
2652         * testsuite/23_containers/set_operators.cc: Likewise.
2654 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
2656         * include/bits/stl_function.h:  Remove two lines of comments;
2657         adjust copyright years.
2659 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
2661         * include/Makefile.am (std_headers): Remove cXXX from list.
2662         (c_base_srcdir): No bits subdirectory.
2663         (c_base_builddir): Same.
2664         (c_base_headers): Adjust names, add ciso646.
2665         (bits_headers): Remove std_xxx.h headers.
2666         * include/Makefile.in: Regenerate.
2668         * include/ext/iterator: Adjust includes.
2669         * include/ext/ropeimpl.h: Same.
2670         * include/ext/stl_hash_fun.h: Same.
2671         * include/ext/algorithm: Same.
2673         * include/backward/bvector.h: Adjust includes.
2674         * include/backward/vector.h: Same.
2675         * include/backward/strstream: Same.
2676         * include/backward/streambuf.h: Same.
2677         * include/backward/stack.h: Same.
2678         * include/backward/set.h: Same.
2679         * include/backward/queue.h: Same.
2680         * include/backward/multiset.h: Same.
2681         * include/backward/multimap.h: Same.
2682         * include/backward/map.h: Same.
2683         * include/backward/list.h: Same.
2684         * include/backward/iterator.h: Same.
2685         * include/backward/iostream.h: Same.
2686         * include/backward/iomanip.h: Same.
2687         * include/backward/fstream.h: Same.
2688         * include/backward/deque.h: Same.
2689         * include/backward/complex.h: Same.
2691         * include/bits/std_algorithm.h: Move to...
2692         * include/std/algorithm: ...here.
2693         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
2694         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
2695         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
2696         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
2697         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
2698         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
2699         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
2700         Same.
2702         * include/c_std/bits/std_cassert.h: Move to...
2703         * include/c_std/cassert: Here.
2704         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
2705         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2706         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2707         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2708         std_cwctype.h: Same.
2709         * include/c_std/cmath: Adjust cmath.tcc include.
2710         * include/c_std/cstdlib: Adjust includes.
2711         * include/c_std/cwchar: Same.
2712         * include/c_std/ctime: Same.
2713         * include/c_std/cstring: Same.
2714         * include/c_std/cstdio: Same.
2715         * include/c_std/bits: Remove directory.
2717         * include/c/bits/std_cassert.h: Move to...
2718         * include/c/cassert: Here.
2719         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
2720         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2721         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2722         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2723         std_cwctype.h: Same.
2724         * include/c/bits: Remove directory.
2726         * include/std/cwctype: Remove.
2727         * include/std/cwchar: Remove.
2728         * include/std/ctime: Remove.
2729         * include/std/cstring: Remove.
2730         * include/std/cstdlib: Remove.
2731         * include/std/cstdio: Remove.
2732         * include/std/cstddef: Remove.
2733         * include/std/cstdarg: Remove.
2734         * include/std/csignal: Remove.
2735         * include/std/csetjmp: Remove.
2736         * include/std/cmath: Remove.
2737         * include/std/clocale: Remove.
2738         * include/std/climits: Remove.
2739         * include/std/ciso646: Remove.
2740         * include/std/cfloat: Remove.
2741         * include/std/cerrno: Remove.
2742         * include/std/cctype: Remove.
2743         * include/std/cassert: Remove.
2745         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
2746         files and subsituting <xxx>.
2747         * include/bits/valarray_array.h: Same.
2748         * include/bits/stl_uninitialized.h: Same.
2749         * include/bits/stl_alloc.h: Same.
2750         * include/bits/stl_algobase.h: Same.
2751         * include/bits/sstream.tcc: Same.
2752         * include/bits/pthread_allocimpl.h: Same.
2753         * include/bits/ostream.tcc: Same.
2754         * include/bits/localefwd.h: Same.
2755         * include/bits/locale_facets.tcc: Same.
2756         * include/bits/locale_facets.h: Same.
2757         * include/bits/istream.tcc: Same.
2758         * include/bits/char_traits.h: Same.
2759         * include/bits/boost_concept_check.h: Same.
2760         * include/bits/basic_file.h: Same.
2761         * include/std/bitset: Same.
2762         * include/std/complex: Same.
2763         * include/std/fstream: Same.
2764         * include/std/functional: Same.
2765         * include/std/ios: Same.
2766         * include/std/iostream: Same.
2767         * include/std/ostream: Same.
2768         * include/std/sstream: Same.
2769         * include/std/streambuf: Same.
2770         * include/std/string: Same.
2771         * include/std/iterator: Same.
2772         * include/std/valarray: Same.
2774         * src/ios.cc: Adjust includes.
2775         * src/valarray-inst.cc: Same.
2776         * src/string-inst.cc: Same.
2777         * src/stl-inst.cc: Same.
2778         * src/stdexcept.cc: Same.
2779         * src/misc-inst.cc: Same.
2780         * src/localename.cc: Same.
2781         * src/locale-inst.cc: Same.
2782         * src/locale.cc: Same.
2783         * src/limits.cc: Same.
2784         * src/concept-inst.cc: Same.
2785         * src/complex_io.cc: Same.
2786         * src/codecvt.cc: Same.
2787         * src/bitset.cc: Same.
2788         * src/cmath.cc: Same.
2790 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
2792         * include/bits/stl_tree.h (rb_tree):  Move to...
2793         * include/ext/rb_tree:  ...here, new file.
2794         * include/Makefile.am (ext_headers):  Add new file.
2795         * include/Makefile.in:  Regenerate.
2796         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
2797         return_temporary_buffer, struct temporary_buffer):  Move to...
2798         * include/ext/memory:  ...here.
2799         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
2800         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
2801         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
2803 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
2805         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
2806         * include/ext/numeric:  ...here, new file.
2807         * include/bits/stl_function.h (identity_element, unary_compose,
2808         binary_compose, compose1, compose2, identity, select1st,
2809         select2nd, project1st + helper, project2nd + helper,
2810         constant_void_fun + helper, constant_unary_fun + helper,
2811         costant_binary_fun + helper, constant0, constant1, constant2,
2812         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
2813         * include/ext/functional:  ...here, new file.
2814         * include/Makefile.am (ext_headers):  Add new files.
2815         * include/Makefile.in:  Regenerate.
2816         * testsuite/ext/headers.cc:  Include <ext/numeric> and
2817         <ext/functional>.
2818         * include/backward/algo.h:  Include <ext/numeric>, tweak.
2819         * include/backward/function.h:  Include <ext/functional>, tweak.
2820         * include/ext/ropeimpl.h:  Include <ext/numeric>.
2822 2002-01-03  Jeffrey A Law  <law@redhat.com>
2824         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
2825         __strtoull declarations with __extension__.
2827 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
2829         * testsuite/lib/prune.exp: Correct regular expression for
2830         -ffunction-sections
2832 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
2834         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
2835         Change concept checks, as with lower_bound and PR 2054.
2836         * testsuite/ext/concept_checks.cc:  Expand test to include those.
2838 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
2840         * include/bits/boost_concept_check.h:  Import some changes from
2841         upsteam (Boost) version.
2843 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
2845         * include/bits/stl_algobase.h (copy_n + helpers,
2846         lexicographical_compare_3way + helpers):  Move to...
2847         * include/ext/algorithm:  ...here.
2848         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
2849         helpers):  Move to...
2850         * include/ext/memory:  ...here, new file.
2851         * include/Makefile.am (ext_headers):  Add new file.
2852         * include/Makefile.in:  Regenerate.
2853         * testsuite/ext/headers.cc:  Include <ext/memory>.
2854         * include/backward/algobase.h:  Include <ext/memory> and
2855         <ext/algorithm>, tweak.
2856         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
2857         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
2859 2002-01-01  Roger Sayle <roger@eyesopen.com>
2861         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
2862         equivalent ___builtin__ versions.
2864         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
2865         are available in libstdc++ as the necessary stub implementations
2866         are provided by libmath/stubs.c.
2868 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
2870         * configure.in: Add support for NetBSD cross compiles.
2871         * configure: Regenerate.