Daily bump.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob45bea70fcdbe10625324ff6df5c8fa2ee159ddf3
1 2002-07-25  Release Manager
3         * GCC 3.1.1 Released.
5 2002-07-20  Phil Edwards  <pme@gcc.gnu.org>
7         Bulk documentation merge (copy) from trunk.
8         * docs/doxygen/TODO, docs/doxygen/run_doxygen, docs/doxygen/tables.html,
9         docs/doxygen/user.cfg.in, docs/html/Makefile,
10         docs/html/documentation.html, docs/html/17_intro/porting.html,
11         docs/html/17_intro/porting.texi, docs/html/23_containers/howto.html,
12         docs/html/ext/howto.html, docs/html/ext/lwg-active.html,
13         docs/html/ext/lwg-defects.html, docs/html/faq/index.html,
14         docs/html/faq/index.txt:  Merge from trunk.
16 2002-07-16  Andreas Schwab  <schwab@suse.de>
18         * libsupc++/new (set_new_handler): Declare to not throw any
19         exceptions.
20         * libsupc++/new_handler.cc (set_new_handler): Likewise.
22 2002-07-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
24         * config/os/solaris/solaris2.5/bits/ctype_base.h (ctype_base): Fix
25         print to match vendor <ctype.h>.
27 2002-07-03  Steev Wilcox  <steev@paradigmds.com>
28          
29         PR libstdc++/7057
30         * include/ext/stl_hashtable.h: Fix.
31         * testsuite/ext/hash_map.cc: New.
33 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
35         PR libstdc++/7097
36         * include/c/std_cwchar.h: Fix.
38 2002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
39             Kenny Simpson  <theonetruekenny@yahoo.com>
40             Phil Edwards  <pme@gcc.gnu.org>
42         PR libstdc++/3946
43         * testsuite/20_util/auto_ptr.cc (test08):  New test.
44         * include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
45         (auto_ptr::operator auto_ptr_ref):  Fix typo.
46         General reformatting and doxygenating of the whole file.
48 2002-07-03  Phil Edwards  <pme@gcc.gnu.org>
50         PR libstdc++/7173
51         * acinclude.m4:  Simplify determination of gcc_version, and move
52         up to GLIBCPP_CONFIGURE.
53         * configure.in (release_VERSION):  Really remove.
54         (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
55         * aclocal.m4, configure:  Regenerate.
57 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
59         * docs/html/configopts.html, docs/html/install.html:  Tweaks.
60         * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
61         include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
62         include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.
64 2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
66         * include/c_compatibility: New.
67         * include/c_compatibility/assert.h: New.
68         * include/c_compatibility/ctype.h: New.
69         * include/c_compatibility/errno.h: New.
70         * include/c_compatibility/float.h: New.
71         * include/c_compatibility/iso646.h: New.
72         * include/c_compatibility/limits.h: New.
73         * include/c_compatibility/locale.h: New.
74         * include/c_compatibility/math.h: New.
75         * include/c_compatibility/setjmp.h: New.
76         * include/c_compatibility/signal.h: New.
77         * include/c_compatibility/stdarg.h: New.
78         * include/c_compatibility/stddef.h: New.
79         * include/c_compatibility/stdio.h: New.
80         * include/c_compatibility/stdlib.h: New.
81         * include/c_compatibility/string.h: New.
82         * include/c_compatibility/time.h: New.
83         * include/c_compatibility/wchar.h: New.
84         * include/c_compatibility/wctype.h: New.
86         * include/c/std_cerrno.h: Get out of the way... define errno.
87         * include/c/std_cmath.h: Add abs, modf overloads.
88         Undefine C99 isms. Still not sure how to deal with this sanely.
89         * include/c/std_csetjmp.h: Tweak.
90         * include/c/std_cwchar.h: Include cstddef for size_t.
92         * include/c_std/std_cmath.h: Remove extra function.
93         
94         Pendantic std usage in testsuites.      
95         * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
96         with std.
97         * testsuite/17_intro/header_cwchar.cc: Tweak.
98         * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
99         std::setlocale.
100         * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
101         * testsuite/22_locale/ctype_to_char.cc (test05): Same.
102         * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
103         * testsuite/22_locale/ctype_is_char.cc (test05): Same.
104         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
105         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
106         * testsuite/22_locale/time_get_members_char.cc (test08): Same.
107         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
108         * testsuite/22_locale/time_put_members_char.cc (test04): Same.
109         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
110         * testsuite/22_locale/num_put_members_char.cc (test04): Same.
111         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
112         * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
113         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
114         * testsuite/22_locale/num_get_members_char.cc: Same.
115         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
116         * testsuite/22_locale/money_put_members_char.cc (test07): Same.
117         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
118         * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
119         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
120         * testsuite/22_locale/money_get_members_char.cc (test08): Same.
121         * testsuite/22_locale/messages_members_char.cc (test03): Same.
122         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
123         * testsuite/22_locale/collate_members_char.cc (test04): Same.
124         * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
125         * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
126         * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
128 2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
130         * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
131         c_sources.
133 2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
135         * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
136         Use size_type instead of unsigned long.
138 2002-06-28  Steve Ellcey  <sje@cup.hp.com>
140         * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
141         wchar types.
142         (_S_min_len): Ditto.
144 2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
146         * include/Makefile.am: Add rules.
147         * include/Makefile.in: Regenerate.
149         * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
150         * aclocal.m4: Regenerate.
151         * configure: Regenerate.
152         * configure.target (c_model, c_compatibility): Add.
153         
154         * libsupc++/Makefile.am (c_sources): New.
155         (libsupc___la_SOURCES): Add c_sources.
156         (LTCOMPILE): Remove INCLUDES.
157         (GCC_INCLUDES): New.
158         (C_COMPILE): New, like COMPILE but without INCLUDES.
159         (cxa_demangle.o): Use C_COMPILE.
160         (dyn-string.o): Use C_COMPILE.  
161         
162         * include/c/std_cstdarg.h: Define __need___va_list.  
163         * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
164         need_NULL, need_offsetof.
166 2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
168         * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
169         * include/c/std_cwctype.h: Guard.
171         * libsupc++/eh_alloc.cc: Tweak include order.
172         * libsupc++/pure.cc: Use cstdio.
173         * libsupc++/new_op.cc: Remove malloc forward declaration, as
174         cstdlib brings it in. Use std::malloc.
176         * src/Makefile.am (sources): Remove cmath.cc.
177         * src/Makefile.in: Regenerate.
178         * src/cmath.cc: Remove.
180 2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>
182         * configure.in (INTERFACE): Remove.
183         (release_VERSION): Remove.
184         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
185         (libstdcxx_interface): Change. Use gcc methods to determine version.
186         * configure: Regenerate.
187         * aclocal.m4: Regenerate.
189 2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>
191         * acinclude.m4: Fix last checkin.
192         * aclocal.m4: Regenerate.
193         * configure: Regenerate.
195 2002-06-25  DJ Delorie  <dj@redhat.com>
197         * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
198         GLIBCPP_TOPREL_CONFIGURE.
199         * aclocal.m4: Likewise.
200         * configure.in: Call it before AC_CANONICAL_SYSTEM.
201         * configure: Regenerate.
203 2002-06-20  David Edelsohn  <edelsohn@gnu.org>
205         * configure.target (CPULIMITSH): Use powerpc directory for rs6000.
207 2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>
209         * configure.in (target_alias): Fix.
210         * configure: Regenerate.
211         * aclocal.m4: Regenerate.
213 2002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
214             Benjamin Kosnik  <bkoz@redhat.com>
215         
216         * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
217         under *-qnx6.[12]*.
218         * configure.in: Add support for *-qnx6.[12]*.
219         * configure: Regenerate.
221         * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
222         New directories.  
223         * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
224         ctype_noninline.h, os_defines.h: New files.
226 2002-06-10  Steve Ellcey  <sje@cup.hp.com>
228         * src/locale-inst.cc (__codecvt_abstract_base):
229         Put inside _GLIBCPP_USE_WCHAR_T ifdef.
230         * include/bits/istream.tcc (basic_istream): Ditto.
231         (ws) Ditto.
232         (operator>>) Ditto.
233         * include/bits/ostream.tcc (basic_ostream): Ditto. 
234         (endl): Ditto.
235         (ends): Ditto.
236         (flush): Ditto.
237         (operator<<): Ditto.
239 2002-06-08  Paolo Carlini  <pcarlini@unitus.it>
241         * testsuite/backwards/strstream_members.cc: New.
243 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
245         * include/backwards/strstream: Format.
246         * src/strstream.cc: Format.
247         
248 2002-06-08  Andreas Schwab  <schwab@suse.de>
250         * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
251         _M_buf_size and _M_buf_size_opt to the new buffer and size.
253 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
255         * config/os/generic/bits/ctype_noninline.h: Tweak format.
257 2002-06-05  David Edelsohn  <edelsohn@gnu.org>
259         * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
260         Call external symbol.
262 2002-06-05  Paolo Carlini  <pcarlini@unitus.it>
264         * testsuite/22_locale/money_get_members_char.cc
265         (test02): Add decimal point to long double constants.
266         * testsuite/22_locale/money_get_members_wchar_t.cc
267         (test02): Likewise.
268         * testsuite/22_locale/money_put_members_char.cc
269         (test02, test03, test06): Likewise.
270         * testsuite/22_locale/money_put_members_wchar_t.cc:
271         (test02, test03, test06): Likewise.
272         * testsuite/22_locale/num_get_members_char.cc:
273         (test02, test01): Likewise; suffix long long constants with LL.
274         * testsuite/22_locale/num_get_members_wchar_t.cc:
275         (test02, test01): Likewise.
276         * testsuite/22_locale/num_put_members_char.cc:
277         (test02, test01): Likewise.
278         * testsuite/22_locale/num_put_members_wchar_t.cc:
279         (test02, test01): Likewise.
281 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
282             Gaby Dos Reis  <gdr@codesourcery.com>
284         * include/bits/basic_string.tcc
285         (basic_string::_S_construct(forward_iterator_tag):
286         Fix typo in null pointer check.
287         * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
289 2002-06-03  Marc Espie  <espie@openbsd.org>
291         * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
292         assembly for old assemblers.                                            
294 2002-05-31  Marcus Meissner  <meissner@suse.de>
296         PR libstdc++/6886
297         * include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
298         * testsuite/23_containers/vector_bool.cc (test02):  New test.
300 2002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
302         * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
303         to 64 for hppa 64-bit port.
304         (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
306 2002-05-30  Marc Espie  <espie@openbsd.org>
308         * configure.in: Always check for sys/types.h.
309         * configure: Regenerate.
311 2002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
313         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
314         Rebuild the wrapper file every time this proc is called.
316 2002-05-28  Loren J. Rittle <ljrittle@acm.org>
318         libstdc++/6641
319         * include/bits/c++config (__USE_MALLOC): Report case where
320         the user improperly defined it on the command line.
322 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
324         * src/misc-inst.cc: Define unnecessary algorithm
325         instantiations. Break apart instantiations into groupings below.
326         * src/fstream-inst.cc: New.
327         * src/io-inst.cc: New. 
328         * src/istream-inst.cc: New.
329         * src/ostream-inst.cc: New.
330         * src/streambuf-inst.cc: New.
331         * src/sstream-inst.cc: New.
332         * src/Makefile.am (sources): Add files.
333         * src/Makefile.in: Regenerate.
335         * acinclude.m4: Work around automake 1.4-p5 bug, change
336         AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
337         
338 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
340         PR libstdc++/6795.
341         * config/os/solaris/solaris2.6/bits/ctype_noninline.h
342         (classic_table): Fix.
343         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
345 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
347         * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
348         _GLIBCPP_USE_WCHAR_T.
349         * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
350         * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
351         * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
353 2002-05-26  Carlo Wood  <carlo@alinoe.com>
354             Paolo Carlini  <pcarlini@unitus.it>
356         PR libstdc++/6811
357         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
358         (__enc_traits::operator=): add missing return statement.
360 2002-05-24  Phil Edwards  <pme@gcc.gnu.org>
362         PR libstdc++/6282
363         * include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
364         (operator>>):  If nothing was extracted, don't fail in the
365         zero-length case.
366         * testsuite/23_containers/bitset_ctor.cc (test02):  New test.
368 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
370         PR libstdc++/6701
371         * testsuite/22_locale/ctype_narrow_char.cc: New.
372         * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.     
373         * testsuite/22_locale/ctype_widen_char.cc: New.
374         * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
375         * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
376         * testsuite/22_locale/ctype_is_char.cc: ...this.
377         * testsuite/22_locale/ctype_to_char.cc: ...and this.
378         * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
379         * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
380         * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
382         * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
383         
384 2002-05-24  Dale Peakall <dale@peakall.net>
386         PR libstdc++/6701
387         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
388         * config/locale/generic/ctype_members.cc: Same.
389         
390 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
392         PR libstdc++/6750
393         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
394         for empty string literal.
395         (ostream::operator<<(const _CharT*)): Same.
396         (ostream<char>::operator<<(const char*)): Same.
397         (ostream<char>::operator<<(streambuf*)): Same.
398         * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
399         * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
400         
401 2002-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
403         * configure.in: Update local install.html, configopts.html paths.
404         * configure: Regenerate.
406         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Retrieve
407         current limits before setting.
409         * acinclude.m4 (enable_symvers): Quote $LD.
410         * aclocal.m4: Regenerate.
411         * configure: Likewise.
412         Fixes PR target/6755.
414 2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
416         * configure.in (release_VERSION): Update to 3.1.1.
417         (libtool_VERSION): Update to 4:1:0.
418         * configure: Regenerate.
420 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
422         * include/bits/stl_pair.h:  Tweak comment markup.
424 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
426         * include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
428 2002-05-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
430         * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
431         * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
432         * Makefile.in, config.h.in, configure: Regenerate.
434         * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
435         Return __ctype + 1.
436         (ctype:_M_table): Initialize to classic_table(), not __ctype.
438         * config/os/irix/irix5.2/bits/os_defines.h
439         (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
441 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
442             Jakub Jelinek  <jakub@redhat.com>
444         * testsuite/22_locale/money_get_members_char.cc
445         (test01, test02, test04): Use the de_DE@euro named locale
446         instead of de_DE to allow for an uniform behaviour with
447         both old and Euro-era localedata; tweak some tests.
448         * testsuite/22_locale/money_get_members_wchar_t.cc
449         (test01, test02, test04): Likewise.
450         * testsuite/22_locale/money_put_members_char.cc
451         (test01, test02, test04): Likewise.
452         * testsuite/22_locale/money_put_members_wchar_t.cc
453         (test01, test02, test04): Likewise.
455 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
457         * testsuite/22_locale/codecvt_members_char_char.cc
458         (test03): Robustify wrt localedata.
459         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
460         * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
461         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
462         * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
463         * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
464         * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
465         * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
466         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
467         * testsuite/22_locale/money_put_members_char.cc (test07): Likewise. 
468         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
469         * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
470         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
471         * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
472         * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise. 
473         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
474         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
475         * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
476         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise. 
477         * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
478         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise. 
479         * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
480         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
482 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
484         Test all the facets for the temporary "C" locale switch issue.
485         * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
486         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
487         * testsuite/22_locale/collate_members_char.cc: Add test04.
488         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
489         * testsuite/22_locale/ctype_members_char.cc: Add test05.
490         * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
491         * testsuite/22_locale/messages_members_char.cc: Add test03.
492         * testsuite/22_locale/money_get_members_char.cc: Add test08.
493         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
494         * testsuite/22_locale/money_put_members_char.cc: Add test07. 
495         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
496         * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
497         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
498         * testsuite/22_locale/num_get_members_char.cc: Add test06.
499         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 
500         * testsuite/22_locale/numpunct_members_char.cc: Add test03.
501         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 
502         * testsuite/22_locale/time_get_members_char.cc: Add test08.
503         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 
504         * testsuite/22_locale/time_put_members_char.cc: Add test04.
505         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
507         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
508         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
510 2002-05-19  Benjamin Kosnik  <bkoz@redhat.com>
511             Paolo Carlini  <pcarlini@unitus.it>
513         * testsuite/22_locale/num_put_members_char.cc: Add test04(),
514         testing for the locale_facets.tcc entry of the previous commit.
515         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
517 2002-05-18  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
518         
519         * config/locale/generic/c_locale.cc
520         (__convert_to_v(float, double, long double)):
521         Fix the temporary switch to the "C" locale, saving and
522         restoring in the proper way the current locale.
523         * config/locale/generic/time_members.cc
524         (__timepunct<char, wchar_t>::_M_put): Likewise.
525         * config/locale/gnu/messages_members.cc
526         (messages<char>::do_get): Likewise.
527         * config/locale/gnu/messages_members.h
528         (messages<_CharT>::do_get): Likewise.
529         * config/locale/gnu/time_members.cc
530         (__timepunct<char, wchar_t>::_M_put): Likewise.
531         * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
533 2002-05-18  Paolo Carlini  <pcarlini@unitus.it>
534             Nathan Myers  <ncm@cantrip.org>
535             Philip Martin  <philip@codematters.co.uk>
537         * include/bits/basic_string.h
538         (replace(i1, i2, _CharT* k1, _CharT* k2),
539         replace(i2, i2, const _CharT* k1, const _CharT* k2),
540         replace(i1, i2, iterator k1, iterator k2,
541         replace(i1, i2, const_iterator k1, const_iterator k2):
542         New specializations to optimize for the common cases of
543         pointers and iterators.
544         (replace(pos, n1, s, n2)): Tweak.
545         * include/bits/basic_string.tcc: Tweak comments.
546         * testsuite/21_strings/replace.cc (test05): New tests.
548 2002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
550         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
551         _G_USING_THUNKS.
552         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
553         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
555 2002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
557         * docs/html/17_intro/RELEASE-NOTES (New): Update.
559 2002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
561         PR libstdc++/6518
562         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
563         for null case.
564         (ostream::operator<<(const _CharT*)): Same.
565         (ostream<char>::operator<<(const char*)): Same.
566         * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
568 2002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
570         PR libstdc++/6594
571         * src/strstream.cc (strstreambuf): Fix leak.
573 2002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
575         * testsuite/22_locale/ctype_scan_char.cc: Tweak.
576         * testsuite/22_locale/ctype_scan_wchar_t.cc: New.       
578         * docs/html/install.html: Fix.
580 2002-05-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
582         * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
583         char.
585         * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
586         Fix typo, use this->is() rather than manually (and perhaps
587         incorrectly) inlining it.
588         * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
589         Likewise.
590         * testsuite/22_locale/ctype_scan_char.cc: New file.
592 2002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
594         * include/bits/fstream.tcc
595         (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
596         try/catch blocks.
597         * src/localename.cc (locale::_Impl::_M_install_facet): Same.
599         * docs/html/install.html: Tweak, add bits about required locales
600         for the 22_locale tests when using the gnu model.
602         * testsuite/27_io/istream_sentry.cc: Tweak.
604 2002-05-16  Phil Edwards  <pme@gcc.gnu.org>
606         * docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
607         * docs/html/faq/index.txt:  Regenerate.
609 2002-05-15  Paolo Carlini  <pcarlini@unitus.it>
611         PR libstdc++/6648
612         * include/bits/istream.tcc (istream::getline, ignore):
613         Upon __idelim (__delim) call sbumpc() not snextc().
614         * testsuite/27_io/narrow_stream_objects.cc:
615         Add test08 and test09.
616         
617 2002-05-14  Release Manager
619         * GCC 3.1 Released.
621 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
623         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
624         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
625         LD_LIBRARY_PATH.
627 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
629         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
630         script entry, and set LD to it when configuring multilibs.
631         * configure: Rebuilt.
633 2002-05-06  Phil Edwards  <pme@gcc.gnu.org>
635         * docs/html/documentation.html:  Fix broken link.
637 2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
639         PR libstdc++/6549.
640         * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
641         * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
643 2002-05-02  Phil Edwards  <pme@gcc.gnu.org>
645         * docs/html/faq/index.html:  Update list in #4.1.
646         * docs/html/faq/index.txt:  Regenerated.
648 2002-05-01  Phil Edwards  <pme@gcc.gnu.org>
650         * include/std/std_bitset.h:  Fix doxygen comments.
651         * docs/html/documentation.html:  Minor tweaks for 3.1.
652         * docs/html/27_io/howto.html:  Likewise.
653         * docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
654         * docs/html/faq/index.html:  Likewise.
655         * docs/html/faq/index.txt:  Regenerated.
657 2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
659         PR libstdc++/6533
660         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
661         (istreambuf_iterator::equal): Use it.
662         (istreambuf_iterator::operator*): Use it.       
664 2002-05-01  Paolo Carlini  <pcarlini@unitus.it>
665         
666         PR libstdc++/6513
667         * include/bits/stl_uninitialized.h
668         (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
669         Fix typo in 2001-07-17 commit: typedef _ValueType to
670         iterator_traits<_ForwardIter> not <_InputIter>.
671         * testsuite/23_containers/vector_ctor.cc: Add test04.
673 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
675         PR libstdc++/6501
676         * include/c_std/std_cctype.h: Include bits/c++config.h.
677         * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
679 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
681         * include/ext/stdio_filebuf.h: New file.
682         * include/ext/enc_filebuf.h: New file.
683         * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
684         * config/io/basic_file_stdio.cc: Same.
685         * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
686         Remove _M_unbuf hacks.
687         (filebuf::_M_destroy_internal_buffer): Same.
688         (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
689         (filebuf::fd): Remove.
690         * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
691         (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
692         (filebuf::fd): Remove.
693         * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
694         filebufs.
695         (ios_base::_S_ios_destroy): Same.
696         * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
697         * include/Makefile.am (ext_headers): Add ext_filebuf.h,
698         stdio_filebuf.h.  * include/Makefile.in: Regenerate.
699         
700 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
702         PR libstdc++/6511
703         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
704         
705 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
707         PR libstdc++/5820
708         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
709         Check for eof.
710         * include/bits/streambuf_iterator.h: Match stream_iterator.h.
711         (istreambuf_iterator::operator++): Invalidate on eof.
712         (istreambuf_iterator::operator++(int)): Same.
713         (istreambuf_iterator::operator*): Same.
715 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
717         PR libstdc++/5820
718         * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
719         (__basic_file::sys_ungetc): Take int.
720         * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
721         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
722         Use sys_getc for unbuffered input.
723         * testsuite/27_io/narrow_stream_objects.cc (test06): New.
724         
725         * src/ios.cc (_M_grow_words): Adjust error checking.
726         * testsuite/27_io/ios_base_storage.cc: Same.
728 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
730         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
731         of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
732         LD_LIBRARY64_PATH. 
734 2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
736         * include/ext/stl_hashtable.h: Import __iterator_category
738 2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
739             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
741         * testsuite/ext/hash_set.cc: New testfile.
743 2002-04-26  Paolo Carlini  <pcarlini@unitus.it>
745         * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
746         Fix and tighten __throw_length_error check.
747         * testsuite/21_strings/replace.cc (test04): New.
748         * testsuite/21_strings/replace.cc (test02, test03): Tweak.
750 2002-04-23  Loren J. Rittle <ljrittle@acm.org>
752         * include/std/std_fstream.h (basic_filebuf::sync): Hoist
753         unconditional flush on lower-layer handle to here...
754         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
755         ...from here.  Optimize remaining _M_file.sync() call pattern.
756         * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
757         (test05): Likewise.
759 2002-04-23  Jason Merrill  <jason@redhat.com>
761         * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
762         output-only filebufs.
763         * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
764         Likewise.
765         (basic_filebuf::_M_set_determinate): Likewise.
767         PR libstdc++/6414
768         * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
769         value properly in the trivial case.
770         * testsuite/27_io/istream_seeks.cc (test04): Make sure that
771         tellg() returns the right value after a read.
773 2002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
775         * config/cpu/mmix/bits/cpu_limits.h: New file.
776         * configure.target (CPULIMITSH): Use it.
778 2002-04-20  Jason Merrill  <jason@redhat.com>
780         PR libstdc++/4150
781         * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): 
782         Move to filebuf.
783         (basic_streambuf::_M_set_determinate): Likewise.
784         (basic_streambuf::_M_is_indeterminate): Likewise.
785         * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New 
786         non-static data member.
787         (basic_filebuf::_M_underflow_common): New non-static member function.
788         (basic_filebuf::_M_underflow, _M_uflow): Call it.
789         (basic_filebuf::sync): Avoid useless seeking.
790         (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
791         Set _M_filepos.
792         (basic_filebuf::_M_set_determinate): Likewise.
793         (basic_filebuf::_M_is_indeterminate): Likewise.
794         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
795         back to _M_out_beg if necessary.
796         (basic_filebuf::seekoff): Likewise.
797         (basic_filebuf::_M_underflow_common): Generalization of old 
798         underflow().  Don't seek back to _M_in_beg.
799         * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
800         * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
801         * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
802         * config/os/mingw32/bits/os_defines.h: Likewise.
803         * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify 
804         ungetc test.
806 2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
808         * include/bits/istream.tcc (istream::read): Fix.
809         * testsuite/27_io/istream_unformatted.cc (main): Add.
810         
811 2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
813         PR libstdc++/6360
814         * include/bits/istream.tcc (istream::ignore): Streamline, use
815         delimiter as is.
816         * include/bits/streambuf.tcc: Use this->gptr.
817         * testsuite/27_io/istream_unformatted.cc (test08): Add test.
819 2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
821         * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
822         as type safety is important, especially on solaris.
823         * include/bits/istream.tcc (istream::read): Clean.
824         (istream::readsome): Same.
825         * locale.cc: Wrap lines.
827         * testsuite/21_strings/inserters_extractors.cc: Tweaks.
828         * testsuite/27_io/instantiations.cc (test): Add bool variable...
829         * testsuite/21_strings/capacity.cc: Clean.
831 2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
833         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
835 2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
837         * config/linker-map.gnu (__malloc_alloc_template): Add.
838         (__default_alloc_template): Same.       
839         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
840         template.
841         (__default_alloc_template): Same.
843 2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
845         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
846         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
847         (__malloc_alloc_template): Conditionalize.
849         * include/bits/istream.tcc: Remove sputbackc calls.
851         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
853 2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
855         PR libstdc++/4164
856         Valgrind fixes.
857         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
858         Call close.
859         (__basic_file::close): Call fflush. Correct return if fclose ok. 
860         (__basic_file::is_open): Make const.
861         Change __c_file_type to __c_file.
862         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
863         (__basic_file::is_open): Make const.
864         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
865         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
866         (filebuf::_M_unbuf): Add.
867         (filebuf::_M_file): Change to non-pointer.
868         (filebuf::_M_allocate_pback_buffer): Remove.
869         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
870         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
871         Change initialization list for _M_file change.
872         (filebuf::_M_allocate_pback_buffer): Remove.
873         Change _M_file usage to reflect non-pointer data member.
875         * config/locale/generic/c_locale.cc
876         (locale::facet::_S_create_c_locale): Add parameter.
877         * config/locale/generic/collate_members.cc: Change
878         _M_compare_helper to _M_compare.
879         Change _M_transform_helper to _M_transform.
880         * config/locale/generic/monetary_members.cc: Changeup data types.
881         Add dtors.
882         * config/locale/generic/numeric_members.cc: Add dtors.
883         * config/locale/generic/time_members.cc: Add dtors.
884         * config/locale/gnu/c_locale.cc: Add parameter.
885         * config/locale/gnu/collate_members.cc:Change
886         _M_compare_helper to _M_compare.
887         Change _M_transform_helper to _M_transform.
888         * config/locale/gnu/ctype_members.cc: Better error checking.
889         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
890         * config/locale/gnu/messages_members.cc: Tweak comment.
891         * config/locale/gnu/monetary_members.cc: Change data types.
892         Add dtors.
893         * config/locale/gnu/numeric_members.cc: Add dtors, better error
894         checking.
895         * config/locale/gnu/time_members.cc: Same.
896         * config/locale/ieee_1003.1-2001/c_locale.cc
897         (locale::facet::_S_create_c_locale): Add parameter.
898         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
899         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
900         bogus ctor.
902         * include/bits/locale_facets.h (moneypunct): Use string literals.
903         Don't define dtor.
904         (numpunct): Same.
905         (__timepunct): Same.
906         (locale::_Impl::_M_facets): Change from vector to array.
907         (locale::_Impl::_M_names): Change from array of strings to array
908         of string literals.
909         (locale::facet::_S_create_c_locale): Add parameter.
910         (locale::locale::_S_num_facets): Move to...
911         (locale::_Impl::_M_facets_size): Here.
912         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
913         changes.
914         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
915         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
916         (locale::_Impl::_Impl(string, size_t)): Change to
917         (locale::_Impl::_Impl(const char*, size_t)): This.
919         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
920         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
921         (streambuf::_S_pback_size): This.
923         * src/globals.cc: Add pre-allocations for "C" facets.
924         * src/locale-inst.cc: Remove vector instantiations.
925         * src/locale.cc: Remove vector include. Fixups for _M_names,
926         _M_facets changes.
927         * src/localename.cc: Same.
929         * include/bits/stl_vector.h: Fix odd formatting.
931         * include/bits/basic_string.tcc: Tweak comment.
933         * libsupc++/new: Make sure parameters are uglified.
934         * libsupc++/typeinfo: Same.
936         * testsuite/22_locale/num_get_members_char.cc: Fixup.
937         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
938         * testsuite/27_io/filebuf_members.cc: Same.
939         
940 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
942         * docs/doxygen/doxygroups.cc:  New group on binary searching.
943         * include/bits/stl_algo.h:  Document binary searches and merges.
944         * include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
946 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
948         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
949         * docs/doxygen/run_doxygen:  Bump required version.
950         * docs/doxygen/user.cfg.in:  Revert accidental change.
951         * docs/html/faq/index.html:  Reindent a block of links.
952         (4.4):  New note on using dlsym.
953         * docs/html/faq/index.txt:  Regenerated.
955 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
957         * testsuite/24_iterators/rel_ops.cc: New test.
958         
959 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
961         * include/bits/type_traits.h (__normal_iterator): Declare in
962         __gnu_cxx.  Adjust use at global namespace.
963         * include/bits/stl_iterator.h (__normal_iterator): Move definition
964         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
965         * include/bits/basic_string.h (basic_string): Adjust use of
966         __normal_iterator.
967         * include/bits/stl_vector.h (_Alloc>): Likewise.
968         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
969         * src/locale-inst.cc (__gnu_cxx): Likewise.
970         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
972 2002-04-15  Steve Ellcey  <sje@cup.hp.com>
974         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
975         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
976         does not define strtoll or strtoull, but does define strtol
977         and strtoul which are the same since in 64 bit mode
978         sizeof(long) == sizeof(long long).
980 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
982         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
983         trailing spaces, indentation, and macro names.  Make exception
984         messages more informative.
986 2002-04-11  Richard Henderson  <rth@redhat.com>
988         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
989         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
990         (basic_ostream<>::operator<<(long long)): Same.
992 2002-04-11  Richard Henderson  <rth@redhat.com>
994         * config/linker-map.gnu: Add __gxx_personality_sj0.
996 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
998         libstdc++/1072
999         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1000         pointer to vector.
1001         Remove forward declaration of vector.
1002         Include vector.
1003         * include/bits/locale_facets.tcc: Remove vector include.
1004         (use_locale): Adjust.
1005         (has_locale): Adjust.
1006         * src/locale.cc: Adjust.
1007         * src/localename.cc: Same.
1008         
1009 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1010             Richard Henderson  <rth@redhat.com>
1012         * include/bits/sstream.tcc: Clean up bit ops.
1013         * include/bits/fstream.tcc: Same.
1015 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
1017         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1018         (__num_base::_S_scale_oct): Remove.
1019         * src/locale.cc (__num_base::_S_scale_hex): Remove.
1020         (__num_base::_S_scale_oct): Remove.
1022 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1024         libstdc++/6124
1025         * testsuite/23_containers/bitset_members.cc: New test.
1026         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1027         (_S_bit_count): Here.
1028         (_First_one::_S_first_one): Move...
1029         (_S_first_one): Here.
1030         Format.
1031         * src/bitset.cc: Adjust.
1032         * config/linker-map.gnu: Export.
1033         
1034 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
1036         libstdc++/5180
1037         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1038         * include/std/std_fstream.h: Clean.
1039         * include/bits/ostream.tcc: Remove extraneous variables.
1040         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1041         open modes and which modes.
1042         (stringbuf::seekpos): Same.
1043         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1044         
1045 2002-04-05  Jonathan Wakely <jw@kayari.org>
1047         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1048         random_shuffle, partition, stable_partition, sort, stable_sort,
1049         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
1051 2002-04-05  David S. Miller  <davem@redhat.com>
1053         * config/os/gnu-linux/bits/os_defines.h
1054         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1056 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
1058         libstdc++/3457 
1059         via gawrilow@math.tu-berlin.de
1060         * acinclude.m4 (version_specific_libs): Fix combo usage with
1061         --with-gxx-include-dir.
1062         * aclocal.m4: Regenerate.
1063         * configure: Same.
1064         
1065 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
1067         As per DR 184, libstdc++/3139
1068         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1069         (numeric_limits<bool>::is_iec559): False.
1070         (numeric_limits<bool>::is_modulo): False.       
1072         * testsuite/27_io/ios_init.cc: Add instantiations.
1074 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
1075         
1076         libstdc++/5268
1077         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1078         * testsuite/27_io/ios_init.cc (tests04): Add test.
1080         libstdc++/3983
1081         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1082         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1083         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1084         * include/bits/istream.tcc: Use _M_fctype, make consistent with
1085         ostream.
1086         * testsuite/27_io/ios_init.cc (tests03): Add test.
1087         
1088 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
1090         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
1091         * include/Makefile.in:  Regenerate.
1093 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
1095         libstdc++/5542
1096         * acinclude: More extensive checks for msgfmt, --enable-nls.
1097         * aclocal.m4: Regenerate.
1098         * configure: Regenerate.
1100 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1102         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
1103         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
1104         * docs/html/18_support/howto.html:  Document the demangler.
1105         * docs/html/17_intro/howto.html:  And link to it.
1107         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
1108         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
1110 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1112         * include/bits/c++config:  Fix misplaced leading blanks on first line.
1114 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1116         * config/linker-map.gnu:  Export __verbose_terminate_handler.
1117         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
1118         Make new LTCOMPILE variable, use it in new special build rules.
1119         * libsupc++/Makefile.in:  Rebuild.
1120         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
1121         runtime __cxa_demangle.
1123         * docs/html/install.html:  Update prereqs and instructions.
1124         * docs/html/19_diagnostics/howto.html:  Bring naming for
1125         verbose_terminate_handler into line with reality.
1127 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
1128         
1129         libstdc++/3129
1130         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1131         (basic_ios::_M_streambuf_state): Move.  
1132         * include/bits/ios_base (ios_base): To here.
1133         * include/bits/ios_base.h (ios_base::_S_local_words): To
1134         _S_local_word_size.
1135         (ios_base::_M_word_array): To _M_local_word.
1136         (ios_base::_M_words_limit): To _M_word_size.    
1137         (ios_base::_M_words): To _M_word.               
1138         Comment.
1139         * include/bits/basic_ios.tcc: Adjust.   
1140         * src/ios.cc (ios_base::_M_grow_words): Tweak.
1141         * testsuite/27_io/ios_base_storage.cc: Add tests.
1143         libstdc++/5207
1144         Kenny Simpson <theonetruekenny@yahoo.com>
1145         * include/bits/ios_base.h: Fix.
1146         
1147         Richard Henderson  <rth@redhat.com>
1148         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1149         last change.
1151         * include/bits/basic_string.h: Tweak formatting.
1152         
1153 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
1155         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1156         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1157         By definition, sizeof(char) == 1.
1158         * include/bits/locale_facets.tcc (money_get::do_get,
1159         money_put::do_put): Ditto.
1160         * testsuite/21_strings/inserters_extractors.cc
1161         (test04): Ditto.
1163 2002-03-30  Richard Henderson  <rth@redhat.com>
1165         PR c++/3719
1166         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1167         data out of the exception struct before calling unexpectedHandler.
1169 2002-03-28  Roger Sayle  <roger@eyesopen.com>
1171         * include/c_std/std_cmath.h:  To prevent problems overloading
1172         g++ builtins, use the double variants from the global namespace
1173         before defining float and long double variants in std::.
1175 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
1177         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1179 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
1181         * testsuite/24_iterators/istream_iterator.cc
1182         (test02): New tests.
1184 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1185             Paolo Carlini  <pcarlini@unitus.it>
1187         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1188         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1189         fix i_lit_base e_lit_base arrays, making them independent
1190         from the endianness of the platform; tweak UCS4 to UCS-4BE.
1192 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
1194         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1195         allocate at least a byte.
1197         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1198         debugger-friendly.
1199         * testsuite/27_io/streambuf.cc (test07): Fix.
1200         (test06): Enable.
1202 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
1204         Bulk documentation merge (copy) from trunk.
1205         * docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/doxygroups.cc,
1206         docs/doxygen/mainpage.html, docs/doxygen/run_doxygen,
1207         docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
1208         docs/html/Makefile, docs/html/17_intro/howto.html,
1209         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html:
1210         Merge from trunk.
1212 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
1214         * include/bits/stl_algo.h:  Remove @maint and @endmaint.
1215         * include/bits/stl_alloc.h:  Likewise.
1216         * include/bits/stl_construct.h:  Likewise.
1217         * include/bits/stl_deque.h:  Likewise.
1218         * include/bits/stl_iterator_base_types.h:  Likewise.
1219         * include/bits/stl_list.h:  Likewise.
1220         * include/bits/stl_relops.h:  Likewise.
1221         * include/bits/stl_tempbuf.h:  Likewise.
1222         * include/bits/stl_vector.h:  Likewise.
1223         * include/std/std_memory.h:  Likewise.
1225         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
1226         * include/bits/stl_list.h:  Likewise.
1227         * include/bits/stl_vector.h:  Likewise.
1229 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
1231         * include/c/: Guard with _CPP_.
1232         * include/c_std/: Same.
1233         * include/Makefile.am: Fixup install, link routines for null
1234         c_base_headers_extra scenarios.
1235         * include/Makefile.in: Regerate.
1237 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
1238             Richard Henderson  <rth@redhat.com>
1240         * testsuite/22_locale/codecvt_members_unicode_char.cc
1241         (test01, test02): make sure that the i_lit_base array
1242         is sufficiently aligned.
1244 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1246         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1247         _ctype_.
1249 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
1251         * testsuite/22_locale/collate_byname.cc
1252         (test01): compare the result of collate::compare with
1253         that of collate::transform + string::compare, not with
1254         that of collate::transform + collate::compare; values
1255         returned by collate::compare are normalized, therefore
1256         test against +-1.
1258 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
1260         PR target/5676
1261         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): Pass -fexceptions
1262         explicitly.
1263         * aclocal.m4: Rebuilt.
1264         * configure: Rebuilt.
1265         * configure.target (mcore-*-pe*): Add -frtti -fno-exceptions
1266         by default to c++ flags.
1268 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1269             Jakub Jelinek  <jakub@redhat.com>
1271         * config/locale/gnu/messages_members.h: Correct conditional.
1272         * config/locale/gnu/messages_members.cc: Same.
1273         * config/locale/gnu/time_members.cc: Same.
1275 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1276             Paolo Carlini  <pcarlini@unitus.it>
1278         * testsuite/22_locale/codecvt_members_unicode_char.cc
1279         (test01, test02): Fix i_lit_base arrays, making them
1280         independent from the endianness of the platform.
1282 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1284         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1285         signbit and __signbit directly.
1286         * aclocal.m4: Regenerate.
1287         * configure: Regenerate.
1288         * config.h.in: Regenerate.
1289         * libmath/Makefile.am: Simplify.
1290         * libmath/Makefile.in: Regenerate.
1291         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1293         * include/Makefile.am: Clean up handling of extra "C" header files.
1294         Add hooks for "C" compatibility headers.
1295         * include/Makefile.in: Regenerate.
1297         * include/c/*: Formatting tweaks, cleanups.
1298         * include/c_std/*: Same.
1300 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1302         * config/locale/gnu/messages_members.h: Add __uselocale bits.
1303         * config/locale/gnu/messages_members.cc: Same.
1304         * config/locale/gnu/time_members.cc: Same.
1306 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1308         * src/vterminate.cc: Format, -fno-exceptions cleanup.
1310 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1312         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1313         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1314         * aclocal.m4: Regenerate.
1315         * configure: Likewise.
1317 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
1318             Ulrich Drepper  <drepper@redhat.com>
1320         * src/locale-inst.cc (__convert_from_v): Add an additional
1321         __size parameter in the declarations.
1322         * include/bits/locale_facets.tcc
1323         (__convert_from_v): When available (that is,
1324         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1325         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1326         being defined or not, call and use __convert_from_v in the
1327         appropriate way.
1328         (num_put::_M_convert_int): Same here.
1329         (money_put::do_put(long double)): Same here.
1331 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
1333         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
1334         * docs/html/faq/index.txt:  Regenerate.
1336 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
1338         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1339         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1340         --enable-libunwind-exceptions is set.
1341         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1342         macro to check for libunwind.
1343         * configure: Regenerate.
1344         * src/Makefile.am (libstdc___la_LDFLAGS): Add
1345         LIBUNWIND_FLAG to libstdc link line.
1346         * src/Makefile.in: Regenerate.
1348 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
1350         * docs/html/faq/index.html: Add OS X workaround.
1351         * docs/html/17_intro/TODO: Update.
1353 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
1355         * include/bits/locale_facets.tcc
1356         (money_put::do_put(long double)): Fix dimensioning of
1357         temporary buffers to avoid risk of overruns.
1358         (money_put::do_put(string)): Same for the buffer used to
1359         add the grouping chars.
1360         * testsuite/22_locale/money_put_members_char.cc: Add test06.
1361         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1363         * include/bits/locale_facets.tcc
1364         (collate::do_transform): Simplify.
1366 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
1368         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
1369         * configure.in:  Add comments pointing the way for autoconf 2.5x.
1370         * aclocal.m4, config.h.in, configure:  Regenerate.
1372 2002-03-18  Philipp Thomas  <pthomas@suse.de>
1374         * include/backward/hash_map.h: hash, hashtable, hash_map and
1375         hash_multimap are in namespace __gnu_cxx.
1376         include/backward/hash_set.h: hash, hashtable, hash_set and
1377         hash_multiset are in namespace __gnu_cxx.
1378         include/backward/hashtable.h: hash and hashtable are in
1379         namespace __gnu_cxx.
1380         include/backward/rope.h: char_producer, sequence_buffer,
1381         rope, crope and wrope are in namespace __gnu_cxx.
1382         include/backward/slist.h: slist is in namespace __gnu_cxx.
1383         * testsuite/backward/header_hash_map_h.cc
1384         testsuite/backward/header_hash_set_h.cc
1385         testsuite/backward/header_hashtable_h.cc
1386         testsuite/backward/header_rope_h.cc
1387         testsuite/backward/header_slist_h.cc
1388         testsuite/backward/header_tempbuf_h.cc: New tests for
1389         checking that we're using the correct namespace.
1391 2002-03-17  Jason Merrill  <jason@redhat.com>
1393         PR c++/4381
1394         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1395         (check_exception_spec): Call it.  Take the thrown pointer.
1396         (__cxa_call_unexpected): Pass it.
1397         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
1399 2002-03-15  Anthony Green  <green@redhat.com>
1401         * configure.in: Remove useless is_mingw32.
1402         * configure: Rebuilt.
1404 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
1406         * testsuite/22_locale/collate_members_char.cc
1407         (test01): compare the result of collate::compare with
1408         that of collate::transform + string::compare, not with
1409         that of collate::transform + collate::compare.
1410         (test01): values returned by collate::compare are
1411         normalized, therefore test against +-1.
1412         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1414 2002-03-12  Loren Rittle  <ljrittle@acm.org>
1416         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1417         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
1419 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1420             Per Liboriussen  <liborius@stofanet.dk>
1422         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
1423         unsigned char.
1424         * config/os/gnu-linux/bits/ctype_inline.h: Same.
1426         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
1428         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
1429         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1431         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
1432         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1434         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
1435         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1437         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
1439 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1441         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
1442         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
1443         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
1444         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
1445         that memory limits are in place.
1446         (test03): Add tests.
1448 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
1450         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
1451         * aclocal.m4: Regenerate.
1452         * config.h.in: Regenerate.
1453         * configure: Regenerate.
1454         * include/c_std/std_cwctype.h: Guard.
1456 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
1458         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
1459         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
1460         * aclocal.m4: Regenerate.
1461         * configure: Regenerate.
1463 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
1465         * include/bits/stl_bvector.h: Fix warning.
1467 2002-03-11  Richard Henderson  <rth@redhat.com>
1469         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
1471 2002-03-11  Paolo Carlini  <pcarlini@unitus.it>
1473         * include/bits/locale_facets.tcc (collate::do_transform):
1474         Rewrite to fix problems with long transformed strings.
1476         * include/bits/locale_facets.tcc (time_put::do_put):
1477         Consider sizeof(char_type) in allocating the buffer.
1479 2002-03-10  Anthony Green  <green@redhat.com>
1481         * configure.in: Support cross builds to mingw32 target.
1482         * configure: Rebuilt.
1484 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1486         * c_locale_generic.cc: Move to...
1487         * generic/c_locale.cc
1488         * c_locale_generic.h: Move to...
1489         * generic/c_locale.h
1490         * codecvt_specializations_generic.h: Move to...
1491         * generic/codecvt_specializations.h
1492         * collate_members_generic.cc: Move to...
1493         * generic/collate_members.cc
1494         * ctype_members_generic.cc: Move to...
1495         * generic/ctype_members.cc
1496         * messages_members_generic.cc: Move to...
1497         * generic/messages_members.cc
1498         * messages_members_generic.h: Move to...
1499         * generic/messages_members.h
1500         * moneypunct_members_generic.cc: Move to...
1501         * generic/monetary_members.cc
1502         * numpunct_members_generic.cc: Move to...
1503         * generic/numeric_members.cc
1504         * time_members_generic.cc: Move to...
1505         * generic/time_members.cc
1506         * c_locale_gnu.cc: Move to...
1507         * gnu/c_locale.cc
1508         * c_locale_gnu.h: Move to...
1509         * gnu/c_locale.h
1510         * collate_members_gnu.cc: Move to...
1511         * gnu/collate_members.cc
1512         * ctype_members_gnu.cc: Move to...
1513         * gnu/ctype_members.cc
1514         * messages_members_gnu.cc: Move to...
1515         * gnu/messages_members.cc
1516         * messages_members_gnu.h: Move to...
1517         * gnu/messages_members.h
1518         * moneypunct_members_gnu.cc: Move to...
1519         * gnu/monetary_members.cc
1520         * numpunct_members_gnu.cc: Move to...
1521         * gnu/numeric_members.cc
1522         * time_members_gnu.cc: Move to...
1523         * gnu/time_members.cc
1524         * c_locale_ieee_1003.1-200x.cc: Move to...
1525         * ieee_1003.1-2001/c_locale.cc
1526         * c_locale_ieee_1003.1-200x.h: Move to...
1527         * ieee_1003.1-2001/c_locale.h
1528         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
1529         * ieee_1003.1-2001/codecvt_specializations.h
1530         * messages_members_ieee_1003.1-200x.cc: Move to...
1531         * ieee_1003.1-2001/messages_members.cc
1532         * messages_members_ieee_1003.1-200x.h: Move to...
1533         * ieee_1003.1-2001/messages_members.h
1535         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
1536         * aclocal.m4: Regenerate.
1537         * configure: Regenerate.
1538         * src/Makefile.am (sources): Change to monetary and numeric.
1539         * src/Makefile.in: Regenerate.
1540         * docs/html/configopts.html: Update to ieee_1003.1-2001.
1542 2002-03-08  scott snyder  <snyder@fnal.gov>
1544         libstdc++/5875
1545         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1546         Allow one more digit of precision.
1547         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
1548         write a double and read back in the same value.
1550 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1552         * include/std/std_limits.h: Move static const data members out of
1553         generic template, into base class __numeric_limits_base.
1554         * src/limits.cc: Add definitions.
1555         * config/linker-map.gnu: Add __numeric_limits_base.
1556         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
1558 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
1560         * include/bits/stl_alloc.h: Add extern implicit allocator
1561         instantiations.
1562         * include/bits/basic_string.tcc: Tweak.
1563         * include/bits/loqcale_facets.tcc: Remove default args. Add
1564         has_facet, use_facet extern instantiations.
1565         * src/stl-inst.cc: Add explicit instantiation.
1566         * src/locale-inst.cc: Clean. Remove locale member template
1567         instantiations.
1569         * testsuite/22_locale/operators.cc (test02): Enable.
1571 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
1572             Stephen M. Webb  <stephen.webb@bregmasoft.com>
1574         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
1575         (_S_rb_tree_black): Make enum.
1576         Clean. Format.
1577         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
1578         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
1579         (__stl_threshold): _M_threshold, enum.
1580         * src/stl-inst.cc: Same.
1581         * config/linker-map.gnu: Remove.
1583         * testsuite/23_containers/vector_bool.cc: New.
1585 2002-03-08  Phil Edwards  <pme@gcc.gnu.org>
1587         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
1588         names in declaration.
1589         (basic_string::compare):  These are no longer optional.
1590         * include/bits/ostream.tcc:  Tweak closing brace placement.
1591         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
1592         * include/std/std_sstream.h:  Fix typo in comment.
1593         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
1594         * src/locale.cc:  Likewise.
1596 2002-03-08  Phil Edwards  <pme@gcc.gnu.org>
1598         PR libstdc++/5734
1599         * include/bits/stl_vector.h (vector::push_back()):  Guard with
1600         _GLIBCPP_DEPRECATED.
1602 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
1604         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
1605         * README (libmath): Make clear.
1607 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
1609         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
1610         script globbing in ld.
1611         * aclocal.m4: Rebuilt.
1612         * configure: Rebuilt.
1614 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
1616         * docs/html/17_intro/RELEASE-NOTES: Update.
1617         * README: Format subdirectories.
1619 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
1621         libstdc++/5816
1622         * include/bits/locale_facets.tcc
1623         (num_get::_M_extract_float): Fix the parsing of __dec, since
1624         the standard prescribes that if no grouping characters are
1625         seen, no grouping check is applied.
1626         * testsuite/22_locale/num_get_members_char.cc: Add test05
1627         distilled from the PR.
1628         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1630 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1632         * docs/html/17_intro/porting-howto.xml: Refer to
1633         http://www.oasis-open.org for docbookx.dtd.
1634         * docs/html/17_intro/porting-howto.html: Regenerated.
1636 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
1638         PR libstdc++/2955
1639         * include/std/std_sstream.h:  Remove trailing spaces.
1640         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
1641         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
1643 2002-03-03  Paolo Carlini  <pcarlini@unitus.it>
1645         * testsuite/22_locale/num_get_members_char.cc (test04):
1646         Use a named locale expecting grouping (de_DE).
1647         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1648         Ditto.
1649         * testsuite/27_io/ios_manip_basefield.cc (test01):
1650         Extend coverage, uniform treatment of hexs and octs.
1652 2002-03-01  Paolo Carlini  <pcarlini@unitus.it>
1654         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
1655         Admit grouping for octals and hexadecimals too.
1656         * testsuite/22_locale/num_get_members_char.cc: Add test04.
1657         (test01): Tweak "." -> "," in void* test.
1658         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1660         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1661         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1663         * testsuite/27_io/ios_manip_basefield.cc (test01):
1664         Fix for 64 bit machines.
1666 2002-02-28  Richard Henderson  <rth@redhat.com>
1668         * config/linker-map.gnu: Export operator new with unsigned long,
1669         and with std::nothrow_t.  Likewise operator delete.
1671 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
1673         libstdc++/3983
1674         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1675         Adjust comment.
1676         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1677         (basic_ios::_M_fill_init): New.
1678         (basic_ios::fill()): Delay dealing with _M_fill.
1679         Adjust comment.
1680         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1681         (ios_base::_M_call_callbacks): Adjust.
1682         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1684 2002-02-28  Loren Rittle  <ljrittle@acm.org>
1686         * include/Makefile.am (thread_target_headers): Unconditionally
1687         stage and install gthr-posix.h.
1688         (${target_builddir}/gthr-posix.h): New rule cloned off
1689         ${target_builddir}/gthr-default.h.
1690         (${target_builddir}/gthr-default.h): Support chained inclusion
1691         of gthr support headers.
1692         * include/Makefile.in: Rebuilt.
1694 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
1696         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1697         Group all the integral types, not only decs.
1698         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1699         tests, add a few more.
1701 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
1703         * src/ios.cc (ios_base::~ios_base): Tweak.
1704         (ios_base::_M_call_callbacks): Deal with null __p.
1705         (ios_base::ios_base): Set _M_callbacks.
1706         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1707         * testsuite/27_io/ios_init.cc (test02): Fix.
1709         * mkcheck.in (static_fail): Failed links go to output file.
1711 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
1713         * docs/html/faq/index.html:  Update.
1714         * docs/html/faq/index.txt:  Regenerate.
1716 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
1718         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
1719         * aclocal.m4:  Regenerate.
1720         * docs/html/configopts.html:  Document --enable-symvers.
1721         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
1723 2002-02-22  Philipp Thomas  <pthomas@suse.de>
1725         * include/backward/tempbuf.h: get_temporary_buffer and
1726         return_temporary_buffer are in namespace std, not in __gnu_cxx.
1728 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
1730         * configure.in (target_alias): Default to yes.
1731         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1732         libgcc to default case.
1734 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
1736         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
1737         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
1738         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
1739         * aclocal.m4:  Regenerate.
1740         * configure:  Regenerate.
1741         * config/linker-map.dummy:  New file.  Contains nothing useful.
1743 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
1745         * testsuite/22_locale/money_put_members_char.cc: Fix.
1746         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1748         * testsuite/27_io/standard_manipulators.cc: New file.
1750         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1751         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1753 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
1755         * config/os/mingw32/bits/ctype_noninline.h
1756         (ctype<char>::ctype): Remove default args from parm list.
1757         * config/os/djgpp/bits/ctype_noninline.h: Same.
1759 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
1761         * include/std/std_iomanip.h: Inline, tweaks.
1762         * config/linker-map.gnu: Remove hacks.
1764         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1765         * testsuite/27_io/ios_init.cc: Same.
1766         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1767         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1769 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
1771         * config/linker-map.gnu: Export global vtable, typeinfo, guard
1772         variable, and thunk info as per CXXABI docs.
1774 2002-02-19  Loren Rittle <ljrittle@acm.org>
1776         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1777         * include/Makefile.in: Rebuilt.
1779 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1781         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
1782           with size3 for the string collations of str5.
1784 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
1786         libstdc++/5708
1787         * include/bits/locale_facets.tcc (money_put::do_put):
1788         For the space field use __fill instead of ' ', uniformly.
1789         * testsuite/22_locale/money_put_members_char.cc:
1790         Add test05 distilled from PR.
1791         (test01-02-03): Trim some '*' to ' '.
1792         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1794 2002-02-18  Loren Rittle <ljrittle@acm.org>
1796         libstdc++/5697
1797         * include/Makefile.am (thread_builddir): Remove (map all
1798         existing uses to target_builddir).
1799         (thread_headers): Rename to...
1800         (thread_target_headers): ...this.
1801         (stamp-thread): Remove.
1802         (stamp-target): Correctly state the position as built.
1803         Update all dependencies to match the new reality.  Remove all
1804         dependency calculations on directories.
1805         * include/Makefile.in: Rebuilt.
1807 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
1809         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
1810         * include/bits/fstream.tcc: Same.
1811         * include/bits/sstream.tcc: Same.
1812         * include/bits/ostream.tcc: Same.
1813         * include/bits/istream.tcc: Same.
1814         * include/bits/streambuf.tcc: Same.
1815         * include/bits/basic_ios.tcc: Same.
1816         * include/bits/basic_string.tcc: Same.
1818 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1820         * include/std/std_iosfwd.h: Don't guard typedefs with
1821         _GLIBCPP_USE_WCHAR_T
1822         * include/bits/stringfwd.h: Same.
1824 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1826         * src/locale.cc (moneypunct_byname): Remove definitions.
1827         * include/std/std_streambuf.h (streambuf::operator=): Return.
1829 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1831         Tune for size.
1832         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1833         explicit instantiation.
1834         (string::_Rep::_S_max_size): Same.
1835         * include/bits/basic_string.tcc: Add extern explicit
1836         instantiations for string, wstring.
1837         * include/bits/basic_ios.tcc: Add extern explicit instantiations
1838         for ios, wios.
1839         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1840         * include/bits/istream.tcc: Same, for istream, wistream.
1841         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1842         wiostream.
1843         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1844         istringstream, wistringstream, ostringstream, wostringstream,
1845         stringstream, wstringstream.
1846         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1847         wifstream, ofstream, wofstream, fstream, wfstream.
1848         * src/misc-inst.cc: Correct comments.
1849         Add iomanip instantiations for wide streams.
1850         * include/std/std_iomanip.h: Same.
1851         * include/bits/locale_facets.tcc: Same.
1853         * include/std/std_streambuf.h: Correct
1854         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1855         * include/std/std_sstream.h: Same.
1856         * include/std/std_ostream.h: Same.
1857         * include/std/std_istream.h: Same.
1858         * include/std/std_fstream.h: Same.
1860         * include/std/std_streambuf.h: Add definitions for private copy
1861         ctor and assignment operator.
1862         * include/std/std_istream.h: Remove declared but undefined copy
1863         ctor and assignment operator. This is taken care of in ios_base,
1864         so adding it in the derived class as well is superfluous.
1865         * include/std/std_ostream.h: Same.
1867         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1868         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
1870 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
1872         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1873         Add typeinfo bits. Smooth.
1874         * aclocal.m4: Regenerate.
1875         * configure: Same.
1876         * src/Makefile.in: Same.
1878 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
1880         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1881         which do not have a CAS instruction.
1883 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
1885         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
1886         * configure.in:  Call it.
1887         * config/linker-map.gnu:  New file, initial incomplete revision.
1888         * src/Makefile.am:  Optionally pass version script to the linker.
1889         * aclocal.m4:  Regenerate.
1890         * configure:  Regenerate.
1891         * src/Makefile.in:  Regenerate.
1893 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
1895         * src/localename.cc: Remove stdexcept include.
1896         * src/locale-inst.cc: Same.
1897         * src/locale.cc: Same.
1898         * src/functexcept.cc: Remove string includes.
1899         * include/std/std_bitset.h: Remove stdexcept include.
1900         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
1901         * testsuite/23_containers/bitset_ctor.cc: Same.
1903 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
1905         * include/bits/stl_algo (__stl_threshold): Declare external.
1906         (__stl_chunk_size): Same.
1907         * include/bits/stl_bvector.h (__WORD_BIT): Same.
1908         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
1909         (_S_rb_tree_black): Same.
1910         * src/stl-inst.cc (__stl_threshold): Define.
1911         (__stl_chunk_size): Same.
1912         (__WORD_BIT): Same.
1913         (_S_rb_tree_red): Same.
1914         (_S_rb_tree_black): Same.
1916         * config/io/basic_file_libio.h (__basic_file): Add declarations.
1917         * include/bits/basic_file.h: Remove.
1918         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1919         Declare generic types, specialization.
1920         * config/io/basic_file_stdio.cc: Definitions.
1921         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1922         Declare generic types.
1923         * include/Makefile.am (bits_headers): Remove basic_file.h.
1924         (extra_target_headers): Change basic_file_model.h to basic_file.h.
1925         (stamp-target): Same.
1927         * include/bits/stl_alloc.h: Tweaks.
1928         * include/bits/localefwd.h: Same.
1930 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
1932         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
1933         * testsuite/22_locale/collate_members_char.cc (test03): New test.
1934         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
1936 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
1938         * include/bits/stl_algo.h (transform (both signatures), generate_n):
1939         Use __typeof__ in concept checks.
1941 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
1943         * include/bits/stl_algo.h (__median, for_each, find, find_if,
1944         adjacent_find, count, count_if, search, search_n, swap_ranges,
1945         transform, replace, replace_if, replace_copy, replace_copy_if,
1946         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
1947         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
1949 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
1951         * include/bits/locale_facets.h
1952         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
1953         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
1954         (__timepunct<_CharT>::_M_put_helper): Same.
1955         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
1957         * include/bits/fstream.tcc (filebuf::underflow): Remove
1958         __codecvt_type typedef.
1959         (filebuf::_M_convert_to_external): Same.
1961 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
1963         * docs/doxygen/TODO:  Update.
1964         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
1965         * docs/doxygen/mainpage.html:  Add TODO list link.
1966         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
1967         * docs/doxygen/tables.html:  New file, emoty structure only.
1969         * include/bits/stl_iterator.h:  Doxygenate just about everything.
1970         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
1971         * include/bits/stl_iterator_base_types.h:  Add notes.
1973 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
1975         * include/bits/stl_map.h:  Tweak doxygen markup.
1976         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
1977         * include/bits/stl_vector.h:  Likewise.
1979 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1981         libstdc++/5286
1982         libstdc++/3860
1983         * include/std/std_fstream.h (filebuf::__file_type): Change to
1984         __basic_file<char>.
1985         (filebuf::_M_convert_to_external): Declare.
1986         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
1987         codecvt bits for wide streams.
1988         (filebuf::_M_really_overflow): Use it.
1989         (filebuf::underflow): Use codecvt.
1990         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1991         (codecvt<__enc_traits>::do_out): Deal with partial.
1992         (codecvt<__enc_traits>::do_encoding): Return something useful.
1993         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1994         wchar_t.
1995         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1996         Change expected encoding output.
1997         (test02): Same.
1998         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1999         (test02): Same.
2001 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2002             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
2004         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2005         (basic_ios::widen): Same.
2007 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
2009         * testsuite/22_locale/money_get_members_char.cc:
2010         Add comment, tidy up.
2011         (test01): more "en_HK" tests (without showbase).
2012         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2014 2002-02-06  Loren Rittle <ljrittle@acm.org>
2016         * config/locale/c_locale_generic.cc: Do not trust
2017         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2018         set by configure.
2020 2002-02-06  Loren Rittle <ljrittle@acm.org>
2022         * acinclude.m4: Add C++ linkage check for strtof.
2023         * aclocal.m4: Rebuilt.
2024         * config.h.in: Rebuilt.
2025         * configure: Rebuilt.
2026         * config/locale/c_locale_generic.cc: Conditionally include
2027         <ieeefp.h>.  Improve handling and error checking of float
2028         and long double input for non-C99 configurations.
2030 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
2032         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2033         In case money_base::symbol deal properly with multi-char sign
2034         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2035         * testsuite/22_locale/money_get_members_char.cc: Add test07.
2036         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2038 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
2040         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2041         First construct a tentative returned string, then, only if the
2042         parsing succeeds, copy it into the string passed by reference.
2043         * testsuite/22_locale/money_get_members_char.cc: Add test06.
2044         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2046 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
2048         * docs/doxygen/TODO:  Impl-defined behavior now documented...
2049         * docs/html/17_intro/howto.html:  ...here.
2050         * docs/doxygen/mainpage.doxy:  Remove, rename...
2051         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
2052         * docs/doxygen/style.css:  Add small text.
2053         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
2054         * docs/doxygen/user.cfg.in:  Likewise.
2056 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
2058         * include/bits/stl_map.h:  Initial doxygen markup.
2059         * include/std/std_fstream.h:  Initial doxygen markup.
2061 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
2063         libstdc++/5579
2064         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2065         Deal correctly with !(__io.flags() & ios_base::showbase)
2066         for case money_base::symbol.
2067         * testsuite/22_locale/money_get_members_char.cc: Add test05.
2068         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2070 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
2072         * testsuite/22_locale/operators.cc
2073         (gnu_collate::do_compare()): Add return statement to
2074         suppress "no return statement" warning.
2076 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
2078         * testsuite/27_io/ostream_manip.cc: Enable test02.
2080 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
2082         * docs/html/documentation.html:  Update for 3.0.96.
2083         * docs/html/faq/index.html:  Update for 3.0.96.
2084         * docs/html/faq/index.txt:  Regenerated.
2085         * docs/doxygen/TODO:  Update notes.
2086         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
2088 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
2090         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2091         Initialize all data members in copy ctor. Make ctors explicit.
2092         (__enc_traits::__enc_traits()): Default ctor does nothing.
2093         (__enc_traits::_M_init): Guard against multiple iconv_opens.
2094         * include/std/std_sstream.h (basic_stringbuf): Make data members
2095         protected.
2096         * include/std/std_fstream.h (basic_filebuf): Same.
2097         * include/std/std_streambuf.h: Tweak.
2098         * include/bits/streambuf.tcc: Same.
2099         * include/bits/sstream.tcc: Same.
2100         * include/bits/fstream.tcc: Same.
2102 2002-01-31  Loren Rittle <ljrittle@acm.org>
2104         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2105         allow NULL argument to be passed to setenv().
2106         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2107         * testsuite/22_locale/collate_members_char.cc: Likewise.
2108         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2109         * testsuite/22_locale/ctype_members_char.cc: Likewise.
2110         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2111         * testsuite/22_locale/messages_members_char.cc: Likewise.
2112         * testsuite/22_locale/money_get_members_char.cc: Likewise.
2113         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2114         * testsuite/22_locale/money_put_members_char.cc: Likewise.
2115         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2116         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2117         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2118         * testsuite/22_locale/num_get_members_char.cc: Likewise.
2119         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2120         * testsuite/22_locale/num_put_members_char.cc: Likewise.
2121         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2122         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2123         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2124         * testsuite/22_locale/time_get_members_char.cc: Likewise.
2125         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2126         * testsuite/22_locale/time_put_members_char.cc: Likewise.
2127         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2129 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
2131         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2133         * ChangeLog-2001: Fix spelling errors...
2134         * docs/html/17_intro/RELEASE-NOTES: Update.
2135         * docs/html/17_intro/TODO: Update.
2136         * README (file): Update.
2138 2002-01-30  Loren Rittle <ljrittle@acm.org>
2140         * config/locale/c_locale_generic.cc: Check errno for ERANGE
2141         instead of non-zero to aid portability.
2143 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2145         * docs/html/22_locale/messages.html: Fix example code.
2147 2002-01-30  Richard Henderson  <rth@redhat.com>
2149         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2150         out from test03 and templatize.
2151         (test03): Use it.
2153 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
2155         * config/locale/numpunct_members_gnu.cc
2156         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2157         Fix initialization of _M_grouping for locales which have
2158         _M_thousands_sep == '\0'(L'\0', respectively).
2159         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2161 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
2163         * testsuite/27_io/ostream_inserter_arith.cc (test03):
2164         Better fix for 32/64 bit architectures, avoiding the
2165         implicit assumption that CHAR_BIT == 8.
2167 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
2169         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
2170         * Makefile.in:  Regenerate.
2172         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
2173         * docs/doxygen/Intro.3:  Update.
2174         * docs/doxygen/TODO:  Update.
2175         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
2176         * docs/doxygen/mainpage.doxy:  Update.
2177         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
2178         regenerate comments and variables with 1.2.12.
2179         * docs/doxygen/maint.cfg.in:  Remove file.
2181         * include/bits/stl_relops.h:  Doxygenate.
2182         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
2184         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2185         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2186         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2187         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2188         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2189         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2190         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2191         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2192         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2193         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2194         include/ext/hash_set, include/ext/iterator, include/ext/memory,
2195         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2196         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2197         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2198         include/std/std_algorithm.h, include/std/std_bitset.h,
2199         include/std/std_complex.h, include/std/std_deque.h,
2200         include/std/std_fstream.h, include/std/std_functional.h,
2201         include/std/std_iomanip.h, include/std/std_ios.h,
2202         include/std/std_iosfwd.h, include/std/std_iostream.h,
2203         include/std/std_istream.h, include/std/std_iterator.h,
2204         include/std/std_limits.h, include/std/std_list.h,
2205         include/std/std_locale.h, include/std/std_map.h,
2206         include/std/std_memory.h, include/std/std_numeric.h,
2207         include/std/std_ostream.h, include/std/std_queue.h,
2208         include/std/std_set.h, include/std/std_sstream.h,
2209         include/std/std_stack.h, include/std/std_stdexcept.h,
2210         include/std/std_streambuf.h, include/std/std_string.h,
2211         include/std/std_utility.h, include/std/std_valarray.h,
2212         include/std/std_vector.h:  Add/correct @file doxygen hook.
2214         * include/ext/memory:  Doxygenate most of rest of file.
2215         * libsupc++/exception:  Doxygen output formatting.
2216         * libsupc++/new:  Say which header it is.
2218         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
2219         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
2220         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
2221         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
2223 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2224             Charles Leggett <CGLeggett@lbl.gov>
2226         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2228 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2230         * testsuite/27_io/ostream_inserter_arith.cc (test03):
2231         Fix to deal correctly with both 32 bit and 64 bit architectures
2233 2002-01-25  Loren Rittle <ljrittle@acm.org>
2235         * testsuite/thread/pthread1.cc: Use one condition variable
2236         per predicate instead of tricky use of one condition variable.
2238 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
2240         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2241         streams.
2242         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2243         * testsuite/27_io/filebuf.cc: Compile only.
2244         * testsuite/27_io/filebuf_members.cc: Move tests to here.
2245         * testsuite/27_io/filebuf_virtuals.cc: And here.
2246         Revert sungetc, sync changes for expected values.
2247         * testsuite/27_io/filebuf-*: Move to...
2248         * testsuite/27_io/filebuf_virtuals-*: ...here.
2249         * testsuite/27_io/istream.cc: Compile only, activate.
2250         * testsuite/27_io/ostream.cc: Same.
2251         * testsuite/27_io/iostream.cc: New.
2252         * testsuite/27_io/iostream_members.cc: New.
2254 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
2256         * testsuite/thread/pthread1.cc: Enable on cygwin.
2257         * testsuite/thread/pthread2.cc: Likewise.
2258         * testsuite/thread/pthread3.cc: Likewise.
2259         * testsuite/thread/pthread4.cc: Likewise.
2260         * testsuite/thread/pthread5.cc: Likewise.
2261         * testsuite/thread/pthread6.cc: Likewise.
2263 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
2265         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2267 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
2269         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2270         const, tweak.
2271         (basic_ios::fill(char_type)): Use fill().
2272         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2273         (basic_ios::narrow): Same.
2274         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2275         if they are invalid.
2276         (basic_ios::init): Comment.
2277         * testsuite/27_io/ios_init.cc (test02): New.
2279 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
2281         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
2282         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
2283         * include/ext/memory:  Do not include stl_tempbuf.h.
2284         (temporary_buffer):  Add doxygen hook.
2285         (__get_temporary_buffer, get_temporary_buffer,
2286         return_temporary_buffer):  Move back to std:: header...
2287         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
2288         * include/ext/rope:  Do not include stl_tempbuf.h.
2289         * include/ext/stl_hashtable.h:  Likewise.
2290         * include/std/std_algorithm.h:  Likewise.
2291         * testsuite/20_util/temporary_buffer.cc:  New file.
2293 2002-01-24  andrew@andypo.net
2294             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
2296         libstdc++/5432
2297         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2298         * include/bits/localefwd.h: Likewise.
2299         Also use for std::locale::id::_S_highwater.
2300         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2301         * src/locale.cc: Support new usage of _Atomic_word.
2302         (std::locale::classic): Guard entire function against reentry.
2303         * src/localename.cc: Support new usage of _Atomic_word.
2305 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
2307         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2308         _GLIBCPP_HAVE_SETENV.
2309         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2310         * testsuite/22_locale/collate_members_char.cc (test02): Same.
2311         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2312         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2313         * testsuite/22_locale/messages_members_char.cc (test02): Same.
2314         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2315         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2316         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2317         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2318         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2319         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2320         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2321         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2322         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2323         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2324         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2325         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2326         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2327         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2328         * aclocal.m4: Regenerate.
2329         * configure: Regenerate.
2330         * config.h.in: Regenerate.
2332 2002-01-23  Loren Rittle <ljrittle@acm.org>
2334         * testsuite/thread/pthread1.cc: New test.
2335         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2336         * testsuite/thread/pthread3.cc: Likewise.
2337         * testsuite/thread/pthread4.cc: New test adapted from
2338         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2339         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2340         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2342 2002-01-23  Richard Henderson  <rth@redhat.com>
2344         PR libstdc++/5198
2345         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2346         CAS on the cpu variants that support it.  Add versions that use
2347         TAS and that disable interrupts.
2348         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2350 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
2352         * include/bits/locale_facets.tcc: Remove old comments.
2354 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
2356         * include/bits/locale_facets.tcc (__convert_to_v): Change template
2357         parameter to _Tv.
2358         (__convert_from_v): Same.
2360 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
2362         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2363         prototype.
2364         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2365         __max_digits checks, adjust arguments.
2366         (num_get::do_get(*)): Changeup.
2368 2002-01-23  Loren Rittle <ljrittle@acm.org>
2370         * config/locale/c_locale_generic.cc: Fix typename usage.
2372 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2374         * config/locale/c_locale_generic.cc: Fix.
2376 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2378         * docs/html/22_locale/messages.html: Remove angle brackets.
2379         * docs/html/17_intro/TODO: Add.
2381 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
2383         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
2384         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
2385         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
2386         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
2388 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2390         Audit for LANG independence.
2391         * include/bits/localefwd.h: Tweaks.
2392         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
2393         Use __convert_to_v.
2394         (time_get::do_get_year): Same.
2395         (__convert_from_v): Add.
2396         (num_put::_M_convert_float): Use.
2397         (num_put::_M_convert_int): Same.
2398         (money_put::do_put): Same.
2400         * src/locale-inst.cc: Add instantiations for __convert_from_v.
2401         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
2402         * config/locale/time_members_generic.cc:
2403         * config/locale/messages_members_gnu.cc: Same.
2404         * config/locale/messages_members_gnu.h: Same.
2406         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
2407         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
2408         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
2409         * testsuite/22_locale/collate_members_char.cc (test02): New.
2410         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
2411         * testsuite/22_locale/ctype_members_char.cc (test03): New.
2412         * testsuite/22_locale/messages_members_char.cc (test02): New.
2413         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
2414         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
2415         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
2416         * testsuite/22_locale/money_get_members_char.cc (test04): New.
2417         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
2418         * testsuite/22_locale/money_put_members_char.cc (test04): New.
2419         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
2420         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
2421         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
2422         * testsuite/22_locale/time_put_members_char.cc (test03): New.
2423         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
2424         * testsuite/22_locale/time_get_members_char.cc (test07): New.
2425         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
2426         * testsuite/22_locale/num_get_members_char.cc (test03): New.
2427         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
2428         * testsuite/22_locale/num_put_members_char.cc (test03): New.
2430         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
2431         locale issues.
2432         * testsuite/22_locale/time_get_members_char.cc: Same.
2434 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2436         libstdc++/5280
2437         * include/bits/localefwd.h: Tweak comments.
2438         * include/bits/locale_facets.h (__convert_to_v): Add.
2439         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
2440         (num_get::do_get(float)): Same.
2441         (num_get::do_get(long double)): Same.
2442         (num_get::do_get(bool)): Same.
2443         (num_get::do_get(long)): Same.
2444         (num_get::do_get(long long)): Same.
2445         (num_get::do_get(unsigned int)): Same.
2446         (num_get::do_get(unsigned short)): Same.
2447         (num_get::do_get(unsigned long)): Same.
2448         (num_get::do_get(unsigned long long)): Same.
2449         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
2450         * config/locale/c_locale_generic.cc: Same.
2452 2002-01-22  Loren Rittle <ljrittle@acm.org>
2454         * include/Makefile.am (c_base_builddir): Remove redundant slash.
2455         (std_builddir): Likewise.
2456         (std_headers_rename): Fix cut-n-paste typo.
2457         (install-data-local): Concat path per element instead of once to
2458         first element of list.
2459         * include/Makefile.in: Rebuilt.
2461 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2463         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
2464         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
2465         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
2467 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
2469         * include/bits/locale_facets.h (ctype<char>::classic_table):
2470         Remove definition.
2471         (ctype<char>::_S_ctable): Remove.
2472         * config/os/gnu-linux/bits/ctype_noninline.h
2473         (ctype<char>::_S_table): Remove definition.
2474         (ctype<char>::classic_table): Define.
2475         (ctype<char>::ctype): Replace _S_ctable with classic_table().
2476         * config/os/aix/bits/ctype_noninline.h: Same.
2477         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2478         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2479         * config/os/djgpp/bits/ctype_noninline.h: Same.
2480         * config/os/generic/bits/ctype_noninline.h: Same.
2481         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2482         * config/os/hpux/bits/ctype_noninline.h: Same.
2483         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2484         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2485         * config/os/mingw32/bits/ctype_noninline.h: Same.
2486         * config/os/newlib/bits/ctype_noninline.h: Same.
2487         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2488         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2489         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2491 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
2493         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
2494         of _pctype. Use to define _S_ctable.  Add definition for alternate
2495         ctor.  Initialise _M_ctable to _S_ctable in ctors.
2496         (do_toupper, do_tolower): Use inline code appropriate for C-locale
2497         rather than ::toupper, ::tolower.
2499 2002-01-18  Loren Rittle <ljrittle@acm.org>
2501         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2502         Add specialization for FreeBSD systems only to avoid losing test
2503         only due to extra precision unmentioned in system headers.
2505 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
2507         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
2509 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
2511         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
2512         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
2514 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2516         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
2518 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
2520         * configure.target: Define OPT_LDFLAGS for AIX case.
2522 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2524         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
2525         __glibcpp_double_has_quiet_NaN): Correct mispelling.
2527 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
2529         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
2531 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
2533         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
2534         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
2535         * aclocal.m4: Regenerate.
2536         * configure: Regenerate.
2538 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2540         * include/Makefile.am (c_base_headers_rename): New.
2541         (c_base_headers_extra): New.
2542         (stamp-c_base): Modify.
2543         (install-data-local): Use both.
2544         * include/Makefile.in: Regenerate.
2545         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2546         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2547         cstdio ctime cwctype]: Move to..
2548         * include/c/std_*: Here.
2549         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2550         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2551         cstdio ctime cwctype]: Move to..
2552         * include/c_std/std_*: Here.
2554         Alexandre Oliva  <aoliva@redhat.com>
2555         * include/Makefile.am (.PRECIOUS): Add rule.
2556         * include/Makefile.in: Regenerate.
2558 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2559             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2561         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
2562         Deuglify, should be current.
2563         (back_insert_iterator::_M_container): Deuglify, should be container.
2564         (front_insert_iterator::_M_container): Same.
2565         (insert_iterator::_M_container): Same.
2566         * testsuite/24_iterators/reverse_iterator.cc: Add check.
2567         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
2568         * testsuite/24_iterators/front_insert_iterator.cc: Same.
2569         * testsuite/24_iterators/insert_iterator.cc: Same.
2571 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2573         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
2574         static.
2575         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
2576         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
2577         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2578         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2579         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2580         * config/os/newlib/bits/ctype_noninline.h: Same.
2581         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2582         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2583         * config/os/hpux/bits/ctype_noninline.h: Same.
2584         * config/os/djgpp/bits/ctype_noninline.h: Same.
2585         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2586         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2587         * config/os/aix/bits/ctype_noninline.h: Same.
2589         Testcase by Dietmar Kühl via Peter Schmid
2590         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
2591         classic_table().
2593 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2595         * libmath/signbitl.c: Copyright years as list, not range.
2596         * libmath/Makefile.am: Same.
2597         * libmath/Makefie.in: Regenerate.
2598         * libmath/signbit.c: Same.
2599         * libmath/nan.c: Same.
2600         * libmath/copysignf.c: Same.
2601         * libmath/signbitf.c: Same.
2602         * testsuite/22_locale/money_get_members_char.cc: Same.
2603         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2604         * testsuite/22_locale/money_put_members_char.cc: Same.
2605         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2606         * testsuite/22_locale/time_get_members_char.cc: Same.
2607         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
2608         * testsuite/22_locale/time_put_members_char.cc: Same.
2609         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
2610         * testsuite/21_strings/nonmember.cc: Same.
2611         * testsuite/21_strings/compare.cc: Same.
2612         * testsuite/27_io/stringstream.cc: Same.
2613         * testsuite/27_io/stringbuf.cc: Same.
2614         * testsuite/27_io/filebuf.cc: Same.
2615         * testsuite/27_io/ios_manip_basefield.cc: Same.
2616         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
2617         * include/bits/cpp_type_traits.h: Same.
2618         * include/bits/generic_shadow.h: Same.
2619         * include/bits/gslice_array.h: Same.
2620         * include/bits/gslice.h: Same.
2621         * include/bits/indirect_array.h: Same.
2622         * include/bits/slice_array.h: Same.
2623         * include/bits/sstream.tcc: Same.
2624         * include/bits/streambuf_iterator.h: Same.
2625         * include/bits/valarray_array.tcc: Same.
2626         * include/bits/valarray_meta.h: Same.
2627         * include/bits/valarray_array.h: Same.
2628         * config/os/mingw32/bits/ctype_noninline.h: Same.
2629         * config/os/mingw32/bits/ctype_base.h: Same.
2630         * config/os/hpux/bits/ctype_noninline.h: Same.
2631         * config/os/hpux/bits/ctype_base.h: Same.
2632         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2633         * config/os/gnu-linux/bits/ctype_base.h: Same.
2634         * config/os/generic/bits/ctype_noninline.h: Same.
2635         * config/os/generic/bits/ctype_base.h: Same.
2637         * libsupc++/tinfo.h: Tweaks.
2639 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2641         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
2642         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
2643         * testsuite/22_locale/ctype_members_char.cc: Tweak.
2645 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2647         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2648         (num_put::do_put(void*)): Fix.
2649         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
2650         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
2651         * testsuite/22_locale/num_get_members_char.cc (test02): Add
2652         long double, void, bool types.
2653         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
2655 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2656             Alexandre Oliva  <aoliva@redhat.com>
2658         * libmath/Makefile.am (LINK): Add --tag CC.
2659         * libmath/Makefile.in: Regenerate.
2661 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2663         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
2664         of character to attribute mapping table.
2666 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
2668         * testsuite/26_numerics/c99_classification_macros_c.cc
2669         Remove dg-error and dg-excess-errors comments.
2671 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
2673         * include/bits/locale_facets.tcc (time_put::put): Correct output
2674         iterator positions.
2675         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
2676         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2677         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2678         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
2680 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2682         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
2684 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
2685             Nathan Myers  <ncm@cantrip.org>
2687         * include/bits/basic_string.h
2688         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2689         temporaries (i.e., call _M_replace_safe) when possible.
2690         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2691         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2692         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2693         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2694         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2695         * include/bits/basic_string.tcc
2696         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
2697         replace(__pos, __n1, __s, __n2).
2698         * testsuite/21_strings/replace.cc (test03): New testcases.
2700         * include/bits/basic_string.h (insert(__pos, __s, __n)):
2701         Adjust comparison wrt overflow.
2703 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2705         * include/Makefile.am (std_headers_rename): New variable.
2706         (install-data-local): Use it.
2707         * include/Makefile.in: Regenerate.
2709 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2711         * include/bits/locale_facets.tcc (money_put::do_put(string):
2712         Correct output iterator value.
2713         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
2714         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2716 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
2718         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
2719         previous commit.
2721 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
2723         * include/Makefile.am (std_headers):  Update list with new names.
2724         (stamp-std):  Link to standardized name.
2725         * include/Makefile.in:  Regenerate.
2727         * include/std/algorithm, include/std/bitset, include/std/complex,
2728         include/std/deque, include/std/fstream, include/std/functional,
2729         include/std/iomanip, include/std/ios, include/std/iosfwd,
2730         include/std/iostream, include/std/istream, include/std/iterator,
2731         include/std/limits, include/std/list, include/std/locale,
2732         include/std/map, include/std/memory, include/std/numeric,
2733         include/std/ostream, include/std/queue, include/std/set,
2734         include/std/sstream, include/std/stack, include/std/stdexcept,
2735         include/std/streambuf, include/std/string, include/std/utility,
2736         include/std/valarray, include/std/vector:  Rename to...
2738         * include/std/std_algorithm.h, include/std/std_bitset.h,
2739         include/std/std_complex.h, include/std/std_deque.h,
2740         include/std/std_fstream.h, include/std/std_functional.h,
2741         include/std/std_iomanip.h, include/std/std_ios.h,
2742         include/std/std_iosfwd.h, include/std/std_iostream.h,
2743         include/std/std_istream.h, include/std/std_iterator.h,
2744         include/std/std_limits.h, include/std/std_list.h,
2745         include/std/std_locale.h, include/std/std_map.h,
2746         include/std/std_memory.h, include/std/std_numeric.h,
2747         include/std/std_ostream.h, include/std/std_queue.h,
2748         include/std/std_set.h, include/std/std_sstream.h,
2749         include/std/std_stack.h, include/std/std_stdexcept.h,
2750         include/std/std_streambuf.h, include/std/std_string.h,
2751         include/std/std_utility.h, include/std/std_valarray.h,
2752         include/std/std_vector.h:  ...this.
2754 2002-01-11  Loren Rittle <ljrittle@acm.org>
2756         * include/Makefile.am (extra_target_headers): New list of all
2757         target files built with ad hoc naming rules.
2758         (stamp-*): Handle LN_S failure in manner portable across make
2759         implementations.
2760         (install-data-local): Install header files from human-maintained
2761         file lists and directory components instead of non-robust find.
2762         * include/Makefile.in: Rebuilt.
2764 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
2766         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2767         Check for zero-length negative sign before adding it to output
2768         string.
2769         (money_get::do_get(long double)): Return beg.
2770         * testsuite/22_locale/money_get_members_char.cc (test02): Add
2771         iterator checks.
2772         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2774 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
2776         libstdc++/5331
2777         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
2778         for _M_extract_float and _M_extract_int
2779         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2780         (num_get<>::_M_extract_int): Likewise, all callers changed
2781         * testsuite/22_locale/num_get_members_char.cc: Testcase
2783 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
2785         * libsupc++/exception (bad_exception): Add comment.
2786         * libsupc++/new (bad_alloc): Same.
2787         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2789 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
2791         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2792         that the destructors should be removed from the descriptions
2793         in the standard: writing them explicitly allows the vtable
2794         heuristic to work. For additional information see:
2795         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2796         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2797         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2798         * libsupc++/exception (bad_exception::~bad_exception()):
2799         Reintroduce declaration.
2800         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2801         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2802         (bad_typeid::~bad_typeid()): Same.
2803         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2804         Reintroduce definition.
2805         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2806         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2807         (bad_typeid::~bad_typeid()): Same.
2809 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2811         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2812         * include/Makefile.in: Regenerate.
2814 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
2816         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2817         definition.
2819 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2821         libstdc++/2913
2822         libstdc++/4879
2823         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2824         return value of _M_file->sync().
2825         (filebuf::showmanyc): Check for is_open.
2826         * include/std/fstream (filebuf::sync): Tweak.
2827         * testsuite/27_io/filebuf.cc: Tweak.
2829 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
2830             Brad Garcia  <garsh@attbi.com>
2832         * testsuite/27_io/filebuf_members.cc: Add test.
2834 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
2835             Craig Rodrigues  <rodrigc@mediaone.net>
2837         libstdc++/5174
2838         * po/Makefile.am (mkinstalldirs): Add.
2839         * po/Makefile.in: Regenerate.
2841 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
2843         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2844         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
2845         compiler output.
2846         * testsuite/23_containers/map_operators.cc: Remove
2847         dg-excess-errors comment.
2848         * testsuite/23_containers/set_operators.cc: Likewise.
2850 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
2852         * include/bits/stl_function.h:  Remove two lines of comments;
2853         adjust copyright years.
2855 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
2857         * include/Makefile.am (std_headers): Remove cXXX from list.
2858         (c_base_srcdir): No bits subdirectory.
2859         (c_base_builddir): Same.
2860         (c_base_headers): Adjust names, add ciso646.
2861         (bits_headers): Remove std_xxx.h headers.
2862         * include/Makefile.in: Regenerate.
2864         * include/ext/iterator: Adjust includes.
2865         * include/ext/ropeimpl.h: Same.
2866         * include/ext/stl_hash_fun.h: Same.
2867         * include/ext/algorithm: Same.
2869         * include/backward/bvector.h: Adjust includes.
2870         * include/backward/vector.h: Same.
2871         * include/backward/strstream: Same.
2872         * include/backward/streambuf.h: Same.
2873         * include/backward/stack.h: Same.
2874         * include/backward/set.h: Same.
2875         * include/backward/queue.h: Same.
2876         * include/backward/multiset.h: Same.
2877         * include/backward/multimap.h: Same.
2878         * include/backward/map.h: Same.
2879         * include/backward/list.h: Same.
2880         * include/backward/iterator.h: Same.
2881         * include/backward/iostream.h: Same.
2882         * include/backward/iomanip.h: Same.
2883         * include/backward/fstream.h: Same.
2884         * include/backward/deque.h: Same.
2885         * include/backward/complex.h: Same.
2887         * include/bits/std_algorithm.h: Move to...
2888         * include/std/algorithm: ...here.
2889         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
2890         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
2891         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
2892         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
2893         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
2894         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
2895         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
2896         Same.
2898         * include/c_std/bits/std_cassert.h: Move to...
2899         * include/c_std/cassert: Here.
2900         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
2901         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2902         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2903         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2904         std_cwctype.h: Same.
2905         * include/c_std/cmath: Adjust cmath.tcc include.
2906         * include/c_std/cstdlib: Adjust includes.
2907         * include/c_std/cwchar: Same.
2908         * include/c_std/ctime: Same.
2909         * include/c_std/cstring: Same.
2910         * include/c_std/cstdio: Same.
2911         * include/c_std/bits: Remove directory.
2913         * include/c/bits/std_cassert.h: Move to...
2914         * include/c/cassert: Here.
2915         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
2916         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2917         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2918         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2919         std_cwctype.h: Same.
2920         * include/c/bits: Remove directory.
2922         * include/std/cwctype: Remove.
2923         * include/std/cwchar: Remove.
2924         * include/std/ctime: Remove.
2925         * include/std/cstring: Remove.
2926         * include/std/cstdlib: Remove.
2927         * include/std/cstdio: Remove.
2928         * include/std/cstddef: Remove.
2929         * include/std/cstdarg: Remove.
2930         * include/std/csignal: Remove.
2931         * include/std/csetjmp: Remove.
2932         * include/std/cmath: Remove.
2933         * include/std/clocale: Remove.
2934         * include/std/climits: Remove.
2935         * include/std/ciso646: Remove.
2936         * include/std/cfloat: Remove.
2937         * include/std/cerrno: Remove.
2938         * include/std/cctype: Remove.
2939         * include/std/cassert: Remove.
2941         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
2942         files and subsituting <xxx>.
2943         * include/bits/valarray_array.h: Same.
2944         * include/bits/stl_uninitialized.h: Same.
2945         * include/bits/stl_alloc.h: Same.
2946         * include/bits/stl_algobase.h: Same.
2947         * include/bits/sstream.tcc: Same.
2948         * include/bits/pthread_allocimpl.h: Same.
2949         * include/bits/ostream.tcc: Same.
2950         * include/bits/localefwd.h: Same.
2951         * include/bits/locale_facets.tcc: Same.
2952         * include/bits/locale_facets.h: Same.
2953         * include/bits/istream.tcc: Same.
2954         * include/bits/char_traits.h: Same.
2955         * include/bits/boost_concept_check.h: Same.
2956         * include/bits/basic_file.h: Same.
2957         * include/std/bitset: Same.
2958         * include/std/complex: Same.
2959         * include/std/fstream: Same.
2960         * include/std/functional: Same.
2961         * include/std/ios: Same.
2962         * include/std/iostream: Same.
2963         * include/std/ostream: Same.
2964         * include/std/sstream: Same.
2965         * include/std/streambuf: Same.
2966         * include/std/string: Same.
2967         * include/std/iterator: Same.
2968         * include/std/valarray: Same.
2970         * src/ios.cc: Adjust includes.
2971         * src/valarray-inst.cc: Same.
2972         * src/string-inst.cc: Same.
2973         * src/stl-inst.cc: Same.
2974         * src/stdexcept.cc: Same.
2975         * src/misc-inst.cc: Same.
2976         * src/localename.cc: Same.
2977         * src/locale-inst.cc: Same.
2978         * src/locale.cc: Same.
2979         * src/limits.cc: Same.
2980         * src/concept-inst.cc: Same.
2981         * src/complex_io.cc: Same.
2982         * src/codecvt.cc: Same.
2983         * src/bitset.cc: Same.
2984         * src/cmath.cc: Same.
2986 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
2988         * include/bits/stl_tree.h (rb_tree):  Move to...
2989         * include/ext/rb_tree:  ...here, new file.
2990         * include/Makefile.am (ext_headers):  Add new file.
2991         * include/Makefile.in:  Regenerate.
2992         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
2993         return_temporary_buffer, struct temporary_buffer):  Move to...
2994         * include/ext/memory:  ...here.
2995         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
2996         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
2997         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
2999 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
3001         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
3002         * include/ext/numeric:  ...here, new file.
3003         * include/bits/stl_function.h (identity_element, unary_compose,
3004         binary_compose, compose1, compose2, identity, select1st,
3005         select2nd, project1st + helper, project2nd + helper,
3006         constant_void_fun + helper, constant_unary_fun + helper,
3007         costant_binary_fun + helper, constant0, constant1, constant2,
3008         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
3009         * include/ext/functional:  ...here, new file.
3010         * include/Makefile.am (ext_headers):  Add new files.
3011         * include/Makefile.in:  Regenerate.
3012         * testsuite/ext/headers.cc:  Include <ext/numeric> and
3013         <ext/functional>.
3014         * include/backward/algo.h:  Include <ext/numeric>, tweak.
3015         * include/backward/function.h:  Include <ext/functional>, tweak.
3016         * include/ext/ropeimpl.h:  Include <ext/numeric>.
3018 2002-01-03  Jeffrey A Law  <law@redhat.com>
3020         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3021         __strtoull declarations with __extension__.
3023 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
3025         * testsuite/lib/prune.exp: Correct regular expression for
3026         -ffunction-sections
3028 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3030         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3031         Change concept checks, as with lower_bound and PR 2054.
3032         * testsuite/ext/concept_checks.cc:  Expand test to include those.
3034 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3036         * include/bits/boost_concept_check.h:  Import some changes from
3037         upsteam (Boost) version.
3039 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
3041         * include/bits/stl_algobase.h (copy_n + helpers,
3042         lexicographical_compare_3way + helpers):  Move to...
3043         * include/ext/algorithm:  ...here.
3044         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3045         helpers):  Move to...
3046         * include/ext/memory:  ...here, new file.
3047         * include/Makefile.am (ext_headers):  Add new file.
3048         * include/Makefile.in:  Regenerate.
3049         * testsuite/ext/headers.cc:  Include <ext/memory>.
3050         * include/backward/algobase.h:  Include <ext/memory> and
3051         <ext/algorithm>, tweak.
3052         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
3053         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
3055 2002-01-01  Roger Sayle <roger@eyesopen.com>
3057         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3058         equivalent ___builtin__ versions.
3060         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3061         are available in libstdc++ as the necessary stub implementations
3062         are provided by libmath/stubs.c.
3064 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
3066         * configure.in: Add support for NetBSD cross compiles.
3067         * configure: Regenerate.