mainpage.html: Doxygen logo is now a PNG file.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob93bab5152386c5befae1befa56c9c14c53c2e601
1 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
3         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
4         * docs/doxygen/run_doxygen:  Bump required version.
5         * docs/doxygen/user.cfg.in:  Revert accidental change.
6         * docs/html/faq/index.html:  Reindent a block of links.
7         (4.4):  New note on using dlsym.
8         * docs/html/faq/index.txt:  Regenerated.
10 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
12         * testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
14 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
16         * config/linker-map.gnu (__malloc_alloc_template): Add.
17         (__default_alloc_template): Same.       
18         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
19         template.
20         (__default_alloc_template): Same.
21         
22 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
24         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
26 2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
28         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
29         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
30         (__malloc_alloc_template): Conditionalize.
32         * include/bits/istream.tcc: Remove sputbackc calls.
34         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
35         
36 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
38         * testsuite/24_iterators/rel_ops.cc: New test.
39         
40 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
42         * include/bits/type_traits.h (__normal_iterator): Declare in
43         __gnu_cxx.  Adjust use at global namespace.
44         * include/bits/stl_iterator.h (__normal_iterator): Move definition
45         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
46         * include/bits/basic_string.h (basic_string): Adjust use of
47         __normal_iterator.
48         * include/bits/stl_vector.h (_Alloc>): Likewise.
49         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
50         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
52 2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
54         PR libstdc++/4164
55         Valgrind fixes.
56         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
57         Call close.
58         (__basic_file::close): Call fflush. Correct return if fclose ok. 
59         (__basic_file::is_open): Make const.
60         Change __c_file_type to __c_file.
61         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
62         (__basic_file::is_open): Make const.    
63         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
64         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
65         (filebuf::_M_unbuf): Add.
66         (filebuf::_M_file): Change to non-pointer.
67         (filebuf::_M_allocate_pback_buffer): Remove.
68         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
69         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
70         Change initialization list for _M_file change.
71         (filebuf::_M_allocate_pback_buffer): Remove.
72         Change _M_file usage to reflect non-pointer data member.
73         
74         * config/locale/generic/c_locale.cc
75         (locale::facet::_S_create_c_locale): Add parameter.
76         * config/locale/generic/collate_members.cc: Change
77         _M_compare_helper to _M_compare.
78         Change _M_transform_helper to _M_transform.
79         * config/locale/generic/monetary_members.cc: Changeup data types.
80         Add dtors.
81         * config/locale/generic/numeric_members.cc: Add dtors.
82         * config/locale/generic/time_members.cc: Add dtors.
83         * config/locale/gnu/c_locale.cc: Add parameter.
84         * config/locale/gnu/collate_members.cc:Change
85         _M_compare_helper to _M_compare.
86         Change _M_transform_helper to _M_transform.
87         * config/locale/gnu/ctype_members.cc: Better error checking.
88         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
89         * config/locale/gnu/messages_members.cc: Tweak comment.
90         * config/locale/gnu/monetary_members.cc: Change data types.
91         Add dtors.
92         * config/locale/gnu/numeric_members.cc: Add dtors, better error
93         checking.
94         * config/locale/gnu/time_members.cc: Same.
95         * config/locale/ieee_1003.1-2001/c_locale.cc
96         (locale::facet::_S_create_c_locale): Add parameter.
97         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
98         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
99         bogus ctor.
100         
101         * include/bits/locale_facets.h (moneypunct): Use string literals.
102         Don't define dtor.
103         (numpunct): Same.
104         (__timepunct): Same.
105         (locale::_Impl::_M_facets): Change from vector to array.
106         (locale::_Impl::_M_names): Change from array of strings to array
107         of string literals.
108         (locale::facet::_S_create_c_locale): Add parameter.
109         (locale::locale::_S_num_facets): Move to...
110         (locale::_Impl::_M_facets_size): Here.
111         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
112         changes.
113         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
114         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
115         (locale::_Impl::_Impl(string, size_t)): Change to
116         (locale::_Impl::_Impl(const char*, size_t)): This.
117         
118         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
119         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
120         (streambuf::_S_pback_size): This.
122         * src/globals.cc: Add pre-allocations for "C" facets.
123         * src/locale-inst.cc: Remove vector instantiations.
124         * src/locale.cc: Remove vector include. Fixups for _M_names,
125         _M_facets changes.
126         * src/localename.cc: Same.
128         * include/bits/stl_vector.h: Fix odd formatting.
129         
130         * include/bits/basic_string.tcc: Tweak comment.
132         * libsupc++/new: Make sure parameters are uglified.
133         * libsupc++/typeinfo: Same.
134                 
135         * testsuite/22_locale/num_get_members_char.cc: Fixup.
136         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
137         * testsuite/27_io/filebuf_members.cc: Same.
139 2002-04-12  Steve Ellcey  <sje@cup.hp.com>
141         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
142         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
143         does not define strtoll or strtoull, but does define strtol
144         and strtoul which are the same since in 64 bit mode
145         sizeof(long) == sizeof(long long).
147 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
149         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
150         trailing spaces, indentation, and macro names.  Make exception
151         messages more informative.
153 2002-04-11  Richard Henderson  <rth@redhat.com>
155         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
156         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
157         (basic_ostream<>::operator<<(long long)): Same.
159 2002-04-11  Richard Henderson  <rth@redhat.com>
161         * config/linker-map.gnu: Add __gxx_personality_sj0.
163 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
165         libstdc++/1072
166         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
167         pointer to vector.
168         Remove forward declaration of vector.
169         Include vector.
170         * include/bits/locale_facets.tcc: Remove vector include.
171         (use_locale): Adjust.
172         (has_locale): Adjust.
173         * src/locale.cc: Adjust.
174         * src/localename.cc: Same.
175         
176 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
177             Richard Henderson  <rth@redhat.com>
179         * include/bits/sstream.tcc: Clean up bit ops.
180         * include/bits/fstream.tcc: Same.
181         
182 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
184         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
185         (__num_base::_S_scale_oct): Remove.
186         * src/locale.cc (__num_base::_S_scale_hex): Remove.
187         (__num_base::_S_scale_oct): Remove.
189 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
191         libstdc++/6124
192         * testsuite/23_containers/bitset_members.cc: New test.
193         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
194         (_S_bit_count): Here.
195         (_First_one::_S_first_one): Move...
196         (_S_first_one): Here.
197         Format.
198         * src/bitset.cc: Adjust.
199         * config/linker-map.gnu: Export.
200         
201 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
203         libstdc++/5180
204         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
205         * include/std/std_fstream.h: Clean.
206         * include/bits/ostream.tcc: Remove extraneous variables.
207         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
208         open modes and which modes.
209         (stringbuf::seekpos): Same.
210         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
211         
212 2002-04-05  Jonathan Wakely <jw@kayari.org>
214         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
215         random_shuffle, partition, stable_partition, sort, stable_sort,
216         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
218 2002-04-05  David S. Miller  <davem@redhat.com>
220         * config/os/gnu-linux/bits/os_defines.h
221         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
223 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
225         libstdc++/3457 
226         via gawrilow@math.tu-berlin.de
227         * acinclude.m4 (version_specific_libs): Fix combo usage with
228         --with-gxx-include-dir.
229         * aclocal.m4: Regenerate.
230         * configure: Same.
231         
232 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
234         As per DR 184, libstdc++/3139
235         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
236         (numeric_limits<bool>::is_iec559): False.
237         (numeric_limits<bool>::is_modulo): False.       
239         * testsuite/27_io/ios_init.cc: Add instantiations.
241 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
242         
243         libstdc++/5268
244         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
245         * testsuite/27_io/ios_init.cc (tests04): Add test.
247         libstdc++/3983
248         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
249         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
250         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
251         * include/bits/istream.tcc: Use _M_fctype, make consistent with
252         ostream.
253         * testsuite/27_io/ios_init.cc (tests03): Add test.
254         
255 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
257         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
258         * include/Makefile.in:  Regenerate.
260 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
261             Nathan Myers  <ncm@cantrip.org>
262             Philip Martin  <philip@codematters.co.uk>
264         * include/bits/basic_string.h
265         (replace(i1, i2, _CharT* k1, _CharT* k2),
266         replace(i2, i2, const _CharT* k1, const _CharT* k2),
267         replace(i1, i2, iterator k1, iterator k2,
268         replace(i1, i2, const_iterator k1, const_iterator k2):
269         New specializations to optimize for the common cases of
270         pointers and iterators.
271         (replace(pos, n1, s, n2)): Tweak.
272         * include/bits/basic_string.tcc: Tweak comments.
273         * testsuite/21_strings/replace.cc (test04): New tests.
275 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
277         libstdc++/5542
278         * acinclude: More extensive checks for msgfmt, --enable-nls.
279         * aclocal.m4: Regenerate.
280         * configure: Regenerate.
282 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
284         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
285         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
286         * docs/html/18_support/howto.html:  Document the demangler.
287         * docs/html/17_intro/howto.html:  And link to it.
289         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
290         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
292 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
294         * config/linker-map.gnu:  Export __verbose_terminate_handler.
295         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
296         Make new LTCOMPILE variable, use it in new special build rules.
297         * libsupc++/Makefile.in:  Rebuild.
298         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
299         runtime __cxa_demangle.
301         * docs/html/install.html:  Update prereqs and instructions.
302         * docs/html/19_diagnostics/howto.html:  Bring naming for
303         verbose_terminate_handler into line with reality.
305 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
306         
307         libstdc++/3129
308         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
309         (basic_ios::_M_streambuf_state): Move.  
310         * include/bits/ios_base (ios_base): To here.
311         * include/bits/ios_base.h (ios_base::_S_local_words): To
312         _S_local_word_size.
313         (ios_base::_M_word_array): To _M_local_word.
314         (ios_base::_M_words_limit): To _M_word_size.    
315         (ios_base::_M_words): To _M_word.               
316         Comment.
317         * include/bits/basic_ios.tcc: Adjust.   
318         * src/ios.cc (ios_base::_M_grow_words): Tweak.
319         * testsuite/27_io/ios_base_storage.cc: Add tests.
321         libstdc++/5207
322         Kenny Simpson <theonetruekenny@yahoo.com>
323         * include/bits/ios_base.h: Fix.
324         
325         Richard Henderson  <rth@redhat.com>
326         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
327         last change.
329         * include/bits/basic_string.h: Tweak formatting.
330         
331 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
333         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
334         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
335         By definition, sizeof(char) == 1.
336         * include/bits/locale_facets.tcc (money_get::do_get,
337         money_put::do_put): Ditto.
338         * testsuite/21_strings/inserters_extractors.cc
339         (test04): Ditto.
341 2002-03-30  Richard Henderson  <rth@redhat.com>
343         PR c++/3719
344         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
345         data out of the exception struct before calling unexpectedHandler.
347 2002-03-28  Roger Sayle  <roger@eyesopen.com>
349         * include/c_std/std_cmath.h:  To prevent problems overloading
350         g++ builtins, use the double variants from the global namespace
351         before defining float and long double variants in std::.
353 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
355         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
357 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
359         * testsuite/24_iterators/istream_iterator.cc
360         (test02): New tests.
362 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
363             Paolo Carlini  <pcarlini@unitus.it>
365         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
366         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
367         fix i_lit_base e_lit_base arrays, making them independent
368         from the endianness of the platform; tweak UCS4 to UCS-4BE.
370 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
372         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
373         allocate at least a byte.
375         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
376         debugger-friendly.
377         * testsuite/27_io/streambuf.cc (test07): Fix.
378         (test06): Enable.
380 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
382         * docs/doxygen/Intro.3:  Date tweak.
383         * docs/doxygen/TODO:  Update.
384         * docs/doxygen/doxygroups.cc:  Point to tables.html.
385         * docs/doxygen/mainpage.html:  Date tweak.
386         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
387         * docs/doxygen/tables.html:  Fill in the blanks.
389         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
390         * include/bits/stl_algo.h:  Likewise; use expanded form.
391         * include/bits/stl_alloc.h:  Likewise.
392         * include/bits/stl_construct.h:  Likewise.
393         * include/bits/stl_deque.h:  Likewise.
394         * include/bits/stl_iterator_base_types.h:  Likewise.
395         * include/bits/stl_list.h:  Likewise.
396         * include/bits/stl_relops.h:  Likewise.
397         * include/bits/stl_tempbuf.h:  Likewise.
398         * include/bits/stl_vector.h:  Likewise.
399         * include/std/std_memory.h:  Likewise.
401         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
402         * include/bits/stl_list.h:  Likewise.
403         * include/bits/stl_vector.h:  Likewise.
405 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
407         * include/c/: Guard with _CPP_.
408         * include/c_std/: Same.
409         * include/Makefile.am: Fixup install, link routines for null
410         c_base_headers_extra scenarios.
411         * include/Makefile.in: Regerate.
413 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
414             Richard Henderson  <rth@redhat.com>
416         * testsuite/22_locale/codecvt_members_unicode_char.cc
417         (test01, test02): make sure that the i_lit_base array
418         is sufficiently aligned.
420 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
422         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
423         _ctype_.
425 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
427         * testsuite/22_locale/collate_byname.cc
428         (test01): compare the result of collate::compare with
429         that of collate::transform + string::compare, not with
430         that of collate::transform + collate::compare; values
431         returned by collate::compare are normalized, therefore
432         test against +-1.
434 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
435             Jakub Jelinek  <jakub@redhat.com>
437         * config/locale/gnu/messages_members.h: Correct conditional.
438         * config/locale/gnu/messages_members.cc: Same.
439         * config/locale/gnu/time_members.cc: Same.
441 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
442             Paolo Carlini  <pcarlini@unitus.it>
444         * testsuite/22_locale/codecvt_members_unicode_char.cc
445         (test01, test02): Fix i_lit_base arrays, making them
446         independent from the endianness of the platform.
448 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
450         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
451         signbit and __signbit directly.
452         * aclocal.m4: Regenerate.
453         * configure: Regenerate.
454         * config.h.in: Regenerate.
455         * libmath/Makefile.am: Simplify.
456         * libmath/Makefile.in: Regenerate.
457         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
459         * include/Makefile.am: Clean up handling of extra "C" header files.
460         Add hooks for "C" compatibility headers.
461         * include/Makefile.in: Regenerate.
463         * include/c/*: Formatting tweaks, cleanups.
464         * include/c_std/*: Same.
466 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
468         * config/locale/gnu/messages_members.h: Add __uselocale bits.
469         * config/locale/gnu/messages_members.cc: Same.
470         * config/locale/gnu/time_members.cc: Same.
472 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
474         * src/vterminate.cc: Format, -fno-exceptions cleanup.
476 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
478         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
479         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
480         * aclocal.m4: Regenerate.
481         * configure: Likewise.
483 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
484             Ulrich Drepper  <drepper@redhat.com>
486         * src/locale-inst.cc (__convert_from_v): Add an additional
487         __size parameter in the declarations.
488         * include/bits/locale_facets.tcc
489         (__convert_from_v): When available (that is,
490         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
491         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
492         being defined or not, call and use __convert_from_v in the
493         appropriate way.
494         (num_put::_M_convert_int): Same here.
495         (money_put::do_put(long double)): Same here.
497 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
499         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
500         * docs/html/faq/index.txt:  Regenerate.
502 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
504         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
505         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
506         --enable-libunwind-exceptions is set.
507         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
508         macro to check for libunwind.
509         * configure: Regenerate.
510         * src/Makefile.am (libstdc___la_LDFLAGS): Add
511         LIBUNWIND_FLAG to libstdc link line.
512         * src/Makefile.in: Regenerate.
514 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
516         * docs/html/faq/index.html: Add OS X workaround.
517         * docs/html/17_intro/TODO: Update.
519 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
521         * include/bits/locale_facets.tcc
522         (money_put::do_put(long double)): Fix dimensioning of
523         temporary buffers to avoid risk of overruns.
524         (money_put::do_put(string)): Same for the buffer used to
525         add the grouping chars.
526         * testsuite/22_locale/money_put_members_char.cc: Add test06.
527         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
529         * include/bits/locale_facets.tcc
530         (collate::do_transform): Simplify.
532 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
534         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
535         * configure.in:  Add comments pointing the way for autoconf 2.5x.
536         * aclocal.m4, config.h.in, configure:  Regenerate.
538 2002-03-18  Philipp Thomas  <pthomas@suse.de>
540         * include/backward/hash_map.h: hash, hashtable, hash_map and
541         hash_multimap are in namespace __gnu_cxx.
542         include/backward/hash_set.h: hash, hashtable, hash_set and
543         hash_multiset are in namespace __gnu_cxx.
544         include/backward/hashtable.h: hash and hashtable are in
545         namespace __gnu_cxx.
546         include/backward/rope.h: char_producer, sequence_buffer,
547         rope, crope and wrope are in namespace __gnu_cxx.
548         include/backward/slist.h: slist is in namespace __gnu_cxx.
549         * testsuite/backward/header_hash_map_h.cc
550         testsuite/backward/header_hash_set_h.cc
551         testsuite/backward/header_hashtable_h.cc
552         testsuite/backward/header_rope_h.cc
553         testsuite/backward/header_slist_h.cc
554         testsuite/backward/header_tempbuf_h.cc: New tests for
555         checking that we're using the correct namespace.
557 2002-03-17  Jason Merrill  <jason@redhat.com>
559         PR c++/4381
560         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
561         (check_exception_spec): Call it.  Take the thrown pointer.
562         (__cxa_call_unexpected): Pass it.
563         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
565 2002-03-15  Anthony Green  <green@redhat.com>
567         * configure.in: Remove useless is_mingw32.
568         * configure: Rebuilt.
570 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
572         * testsuite/22_locale/collate_members_char.cc
573         (test01): compare the result of collate::compare with
574         that of collate::transform + string::compare, not with
575         that of collate::transform + collate::compare.
576         (test01): values returned by collate::compare are
577         normalized, therefore test against +-1.
578         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
580 2002-03-12  Loren Rittle  <ljrittle@acm.org>
582         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
583         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
585 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
586             Per Liboriussen  <liborius@stofanet.dk>
588         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
589         unsigned char.
590         * config/os/gnu-linux/bits/ctype_inline.h: Same.
592         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
594         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
595         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
597         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
598         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
600         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
601         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
603         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
605 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
607         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
608         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
609         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
610         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
611         that memory limits are in place.
612         (test03): Add tests.
614 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
616         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
617         * aclocal.m4: Regenerate.
618         * config.h.in: Regenerate.
619         * configure: Regenerate.
620         * include/c_std/std_cwctype.h: Guard.
622 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
624         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
625         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
626         * aclocal.m4: Regenerate.
627         * configure: Regenerate.
629 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
631         * include/bits/stl_bvector.h: Fix warning.
633 2002-03-11  Richard Henderson  <rth@redhat.com>
635         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
637 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
639         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
640         New function.  Build the list of tests to run in testsuite_files.
641         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
643 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
645         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
646         platforms with no weak support.
647         * testsuite/27_io/ios_init.cc:  Likewise.
649 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
651         * include/bits/locale_facets.tcc (time_put::do_put):
652         Consider sizeof(char_type) in allocating the buffer.
654         * include/bits/locale_facets.tcc (collate::do_tranform):
655         Remove redundant variable.
657 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
658             Paolo Carlini  <pcarlini@unitus.it>
660         * config/locale/generic/collate_members.cc
661         (collate<char,wchar_t>::_M_compare_helper): normalize
662         values returned by strcoll and wcscoll.
663         * config/locale/gnu/collate_members.cc
664         (collate<char,wchar_t>::_M_compare_helper): ditto
665         for __strcoll_l and __wcscoll_l.
667 2002-03-10  Anthony Green  <green@redhat.com>
669         * configure.in: Support cross builds to mingw32 target.
670         * configure: Rebuilt.
672 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
674         * include/bits/locale_facets.tcc (collate::do_transform):
675         Rewrite to fix problems with long transformed strings.
677 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
679         * c_locale_generic.cc: Move to...
680         * generic/c_locale.cc
681         * c_locale_generic.h: Move to...
682         * generic/c_locale.h
683         * codecvt_specializations_generic.h: Move to...
684         * generic/codecvt_specializations.h
685         * collate_members_generic.cc: Move to...
686         * generic/collate_members.cc
687         * ctype_members_generic.cc: Move to...
688         * generic/ctype_members.cc
689         * messages_members_generic.cc: Move to...
690         * generic/messages_members.cc
691         * messages_members_generic.h: Move to...
692         * generic/messages_members.h
693         * moneypunct_members_generic.cc: Move to...
694         * generic/monetary_members.cc
695         * numpunct_members_generic.cc: Move to...
696         * generic/numeric_members.cc
697         * time_members_generic.cc: Move to...
698         * generic/time_members.cc
699         * c_locale_gnu.cc: Move to...
700         * gnu/c_locale.cc
701         * c_locale_gnu.h: Move to...
702         * gnu/c_locale.h
703         * collate_members_gnu.cc: Move to...
704         * gnu/collate_members.cc
705         * ctype_members_gnu.cc: Move to...
706         * gnu/ctype_members.cc
707         * messages_members_gnu.cc: Move to...
708         * gnu/messages_members.cc
709         * messages_members_gnu.h: Move to...
710         * gnu/messages_members.h
711         * moneypunct_members_gnu.cc: Move to...
712         * gnu/monetary_members.cc
713         * numpunct_members_gnu.cc: Move to...
714         * gnu/numeric_members.cc
715         * time_members_gnu.cc: Move to...
716         * gnu/time_members.cc
717         * c_locale_ieee_1003.1-200x.cc: Move to...
718         * ieee_1003.1-2001/c_locale.cc
719         * c_locale_ieee_1003.1-200x.h: Move to...
720         * ieee_1003.1-2001/c_locale.h
721         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
722         * ieee_1003.1-2001/codecvt_specializations.h
723         * messages_members_ieee_1003.1-200x.cc: Move to...
724         * ieee_1003.1-2001/messages_members.cc
725         * messages_members_ieee_1003.1-200x.h: Move to...
726         * ieee_1003.1-2001/messages_members.h
728         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
729         * aclocal.m4: Regenerate.
730         * configure: Regenerate.
731         * src/Makefile.am (sources): Change to monetary and numeric.
732         * src/Makefile.in: Regenerate.
733         * docs/html/configopts.html: Update to ieee_1003.1-2001.
735 2002-03-08  scott snyder  <snyder@fnal.gov>
737         libstdc++/5875
738         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
739         Allow one more digit of precision.
740         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
741         write a double and read back in the same value.
743 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
745         * include/std/std_limits.h: Move static const data members out of
746         generic template, into base class __numeric_limits_base.
747         * src/limits.cc: Add definitions.
748         * config/linker-map.gnu: Add __numeric_limits_base.
749         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
751 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
753         * include/bits/stl_alloc.h: Add extern implicit allocator
754         instantiations.
755         * include/bits/basic_string.tcc: Tweak.
756         * include/bits/locale_facets.tcc: Remove default args. Add
757         has_facet, use_facet extern instantiations.
758         * src/stl-inst.cc: Add explicit instantiation.
759         * src/locale-inst.cc: Clean. Remove locale member template
760         instantiations.
762         * testsuite/22_locale/operators.cc (test02): Enable.
764 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
765             Stephen M. Webb  <stephen.webb@bregmasoft.com>
767         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
768         (_S_rb_tree_black): Make enum.
769         Clean. Format.
770         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
771         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
772         (__stl_threshold): _M_threshold, enum.
773         * src/stl-inst.cc: Same.
774         * config/linker-map.gnu: Remove.
776         * testsuite/23_containers/vector_bool.cc: New.
778 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
780         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
781         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
782         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
783         referring to the collection as a whole.  New section on which macros
784         can be redefined by the user.
785         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
786         * docs/html/20_util/howto.html:  Update link to SGI.
787         * docs/html/faq/index.html:  Update snapshot versions.  New entry
788         on why g++ (but not gcc) must currently predefine certain macros.
789         * docs/html/faq/index.txt:  Regenerated.
791         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
792         names in declaration.
793         (basic_string::compare):  These are no longer optional.
794         * include/bits/ostream.tcc:  Tweak closing brace placement.
795         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
796         * include/std/std_sstream.h:  Fix typo in comment.
797         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
798         * src/locale.cc:  Likewise.
800 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
802         PR libstdc++/5734
803         * include/bits/stl_vector.h (vector::push_back()):  Guard with
804         _GLIBCPP_DEPRECATED.
806 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
808         * include/bits/c++config:  Fix misplaced leading blanks on first line.
810 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
812         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
813         * README (libmath): Make clear.
815 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
817         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
818         script globbing in ld.
819         * aclocal.m4: Rebuilt.
820         * configure: Rebuilt.
822 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
824         * docs/html/17_intro/RELEASE-NOTES: Update.
825         * README: Format subdirectories.
827 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
829         libstdc++/5816
830         * include/bits/locale_facets.tcc
831         (num_get::_M_extract_float): Fix the parsing of __dec, since
832         the standard prescribes that if no grouping characters are
833         seen, no grouping check is applied.
834         * testsuite/22_locale/num_get_members_char.cc: Add test05
835         distilled from the PR.
836         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
838 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
840         * docs/html/17_intro/porting-howto.xml: Refer to
841         http://www.oasis-open.org for docbookx.dtd.
842         * docs/html/17_intro/porting-howto.html: Regenerated.
844 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
846         PR libstdc++/3955
847         * include/std/std_sstream.h:  Remove trailing spaces.
848         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
849         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
851 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
853         * testsuite/22_locale/num_get_members_char.cc (test04):
854         Use a named locale expecting grouping (de_DE).
855         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
856         Ditto.
857         * testsuite/27_io/ios_manip_basefield.cc (test01):
858         Extend coverage, uniform treatment of hexs and octs.
860 2002-02-28  Richard Henderson  <rth@redhat.com>
862         * config/linker-map.gnu: Export operator new with unsigned long,
863         and with std::nothrow_t.  Likewise operator delete.
865 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
867         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
868         Admit grouping for octals and hexadecimals too.
869         * testsuite/22_locale/num_get_members_char.cc: Add test04.
870         (test01): Tweak "." -> "," in void* test.
871         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
873         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
874         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
876 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
878         * testsuite/27_io/ios_manip_basefield.cc (test01):
879         Fix for 64 bit machines.
881 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
883         libstdc++/3983
884         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
885         Adjust comment.
886         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
887         (basic_ios::_M_fill_init): New.
888         (basic_ios::fill()): Delay dealing with _M_fill.
889         Adjust comment.
890         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
891         (ios_base::_M_call_callbacks): Adjust.
892         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
894 2002-02-26  Loren Rittle  <ljrittle@acm.org>
896         * include/Makefile.am (thread_target_headers): Unconditionally
897         stage and install gthr-posix.h.
898         (${target_builddir}/gthr-posix.h): New rule cloned off
899         ${target_builddir}/gthr-default.h.
900         (${target_builddir}/gthr-default.h): Support chained inclusion
901         of gthr support headers.
902         * include/Makefile.in: Rebuilt.
904 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
906         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
907         Group all the integral types, not only decs.
908         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
909         tests, add a few more.
911 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
913         * src/ios.cc (ios_base::~ios_base): Tweak.
914         (ios_base::_M_call_callbacks): Deal with null __p.
915         (ios_base::ios_base): Set _M_callbacks.
916         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
917         * testsuite/27_io/ios_init.cc (test02): Fix.
919         * mkcheck.in (static_fail): Failed links go to output file.
921 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
923         * docs/html/faq/index.html:  Update.
924         * docs/html/faq/index.txt:  Regenerate.
926 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
928         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
929         * aclocal.m4:  Regenerate.
930         * docs/html/configopts.html:  Document --enable-symvers.
931         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
933 2002-02-22  Philipp Thomas  <pthomas@suse.de>
935         * include/backward/tempbuf.h: get_temporary_buffer and
936         return_temporary_buffer are in namespace std, not in __gnu_cxx.
938 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
940         * configure.in (target_alias): Default to yes.
941         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
942         libgcc to default case.
944 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
946         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
947         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
948         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
949         * aclocal.m4:  Regenerate.
950         * configure:  Regenerate.
951         * config/linker-map.dummy:  New file.  Contains nothing useful.
953 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
955         * testsuite/22_locale/money_put_members_char.cc: Fix.
956         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
958         * testsuite/27_io/standard_manipulators.cc: New file.
960         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
961         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
963 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
965         * config/os/mingw32/bits/ctype_noninline.h
966         (ctype<char>::ctype): Remove default args from parm list.
967         * config/os/djgpp/bits/ctype_noninline.h: Same.
969 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
971         * include/std/std_iomanip.h: Inline, tweaks.
972         * config/linker-map.gnu: Remove hacks.
974         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
975         * testsuite/27_io/ios_init.cc: Same.
976         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
977         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
979 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
981         * config/linker-map.gnu: Export global vtable, typeinfo, guard
982         variable, and thunk info as per CXXABI docs.
984 2002-02-19  Loren Rittle <ljrittle@acm.org>
986         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
987         * include/Makefile.in: Rebuilt.
989 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
991         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
992           with size3 for the string collations of str5.
994 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
996         libstdc++/5708
997         * include/bits/locale_facets.tcc (money_put::do_put):
998         For the space field use __fill instead of ' ', uniformly.
999         * testsuite/22_locale/money_put_members_char.cc:
1000         Add test05 distilled from PR.
1001         (test01-02-03): Trim some '*' to ' '.
1002         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1004 2002-02-18  Loren Rittle <ljrittle@acm.org>
1006         libstdc++/5697
1007         * include/Makefile.am (thread_builddir): Remove (map all
1008         existing uses to target_builddir).
1009         (thread_headers): Rename to...
1010         (thread_target_headers): ...this.
1011         (stamp-thread): Remove.
1012         (stamp-target): Correctly state the position as built.
1013         Update all dependencies to match the new reality.  Remove all
1014         dependency calculations on directories.
1015         * include/Makefile.in: Rebuilt.
1017 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
1019         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
1020         * include/bits/fstream.tcc: Same.
1021         * include/bits/sstream.tcc: Same.
1022         * include/bits/ostream.tcc: Same.
1023         * include/bits/istream.tcc: Same.
1024         * include/bits/streambuf.tcc: Same.
1025         * include/bits/basic_ios.tcc: Same.
1026         * include/bits/basic_string.tcc: Same.
1028 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1030         * include/std/std_iosfwd.h: Don't guard typedefs with
1031         _GLIBCPP_USE_WCHAR_T
1032         * include/bits/stringfwd.h: Same.
1034 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1036         * src/locale.cc (moneypunct_byname): Remove definitions.
1037         * include/std/std_streambuf.h (streambuf::operator=): Return.
1039 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1041         Tune for size.
1042         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1043         explicit instantiation.
1044         (string::_Rep::_S_max_size): Same.
1045         * include/bits/basic_string.tcc: Add extern explicit
1046         instantiations for string, wstring.
1047         * include/bits/basic_ios.tcc: Add extern explicit instantiations
1048         for ios, wios.
1049         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1050         * include/bits/istream.tcc: Same, for istream, wistream.
1051         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1052         wiostream.
1053         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1054         istringstream, wistringstream, ostringstream, wostringstream,
1055         stringstream, wstringstream.
1056         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1057         wifstream, ofstream, wofstream, fstream, wfstream.
1058         * src/misc-inst.cc: Correct comments.
1059         Add iomanip instantiations for wide streams.
1060         * include/std/std_iomanip.h: Same.
1061         * include/bits/locale_facets.tcc: Same.
1063         * include/std/std_streambuf.h: Correct
1064         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1065         * include/std/std_sstream.h: Same.
1066         * include/std/std_ostream.h: Same.
1067         * include/std/std_istream.h: Same.
1068         * include/std/std_fstream.h: Same.
1070         * include/std/std_streambuf.h: Add definitions for private copy
1071         ctor and assignment operator.
1072         * include/std/std_istream.h: Remove declared but undefined copy
1073         ctor and assignment operator. This is taken care of in ios_base,
1074         so adding it in the derived class as well is superfluous.
1075         * include/std/std_ostream.h: Same.
1077         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1078         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
1080 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
1082         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1083         Add typeinfo bits. Smooth.
1084         * aclocal.m4: Regenerate.
1085         * configure: Same.
1086         * src/Makefile.in: Same.
1088 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
1090         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1091         which do not have a CAS instruction.
1093 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
1095         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
1096         * configure.in:  Call it.
1097         * config/linker-map.gnu:  New file, initial incomplete revision.
1098         * src/Makefile.am:  Optionally pass version script to the linker.
1099         * aclocal.m4:  Regenerate.
1100         * configure:  Regenerate.
1101         * src/Makefile.in:  Regenerate.
1103 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
1105         * src/localename.cc: Remove stdexcept include.
1106         * src/locale-inst.cc: Same.
1107         * src/locale.cc: Same.
1108         * src/functexcept.cc: Remove string includes.
1109         * include/std/std_bitset.h: Remove stdexcept include.
1110         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
1111         * testsuite/23_containers/bitset_ctor.cc: Same.
1113 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
1115         * include/bits/stl_algo (__stl_threshold): Declare external.
1116         (__stl_chunk_size): Same.
1117         * include/bits/stl_bvector.h (__WORD_BIT): Same.
1118         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
1119         (_S_rb_tree_black): Same.
1120         * src/stl-inst.cc (__stl_threshold): Define.
1121         (__stl_chunk_size): Same.
1122         (__WORD_BIT): Same.
1123         (_S_rb_tree_red): Same.
1124         (_S_rb_tree_black): Same.
1126         * config/io/basic_file_libio.h (__basic_file): Add declarations.
1127         * include/bits/basic_file.h: Remove.
1128         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1129         Declare generic types, specialization.
1130         * config/io/basic_file_stdio.cc: Definitions.
1131         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1132         Declare generic types.
1133         * include/Makefile.am (bits_headers): Remove basic_file.h.
1134         (extra_target_headers): Change basic_file_model.h to basic_file.h.
1135         (stamp-target): Same.
1137         * include/bits/stl_alloc.h: Tweaks.
1138         * include/bits/localefwd.h: Same.
1140 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
1142         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
1143         * testsuite/22_locale/collate_members_char.cc (test03): New test.
1144         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
1146 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
1148         * include/bits/stl_algo.h (transform (both signatures), generate_n):
1149         Use __typeof__ in concept checks.
1151 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
1153         * include/bits/stl_algo.h (__median, for_each, find, find_if,
1154         adjacent_find, count, count_if, search, search_n, swap_ranges,
1155         transform, replace, replace_if, replace_copy, replace_copy_if,
1156         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
1157         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
1159 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
1161         * include/bits/locale_facets.h
1162         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
1163         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
1164         (__timepunct<_CharT>::_M_put_helper): Same.
1165         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
1167         * include/bits/fstream.tcc (filebuf::underflow): Remove
1168         __codecvt_type typedef.
1169         (filebuf::_M_convert_to_external): Same.
1171 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
1173         * docs/doxygen/TODO:  Update.
1174         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
1175         * docs/doxygen/mainpage.html:  Add TODO list link.
1176         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
1177         * docs/doxygen/tables.html:  New file, emoty structure only.
1179         * include/bits/stl_iterator.h:  Doxygenate just about everything.
1180         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
1181         * include/bits/stl_iterator_base_types.h:  Add notes.
1183 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
1185         * include/bits/stl_map.h:  Tweak doxygen markup.
1186         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
1187         * include/bits/stl_vector.h:  Likewise.
1189 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1191         libstdc++/5286
1192         libstdc++/3860
1193         * include/std/std_fstream.h (filebuf::__file_type): Change to
1194         __basic_file<char>.
1195         (filebuf::_M_convert_to_external): Declare.
1196         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
1197         codecvt bits for wide streams.
1198         (filebuf::_M_really_overflow): Use it.
1199         (filebuf::underflow): Use codecvt.
1200         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1201         (codecvt<__enc_traits>::do_out): Deal with partial.
1202         (codecvt<__enc_traits>::do_encoding): Return something useful.
1203         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1204         wchar_t.
1205         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1206         Change expected encoding output.
1207         (test02): Same.
1208         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1209         (test02): Same.
1211 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1212             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
1214         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
1215         (basic_ios::widen): Same.
1217 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
1219         * testsuite/22_locale/money_get_members_char.cc:
1220         Add comment, tidy up.
1221         (test01): more "en_HK" tests (without showbase).
1222         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
1224 2002-02-06  Loren Rittle <ljrittle@acm.org>
1226         * config/locale/c_locale_generic.cc: Do not trust
1227         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
1228         set by configure.
1230 2002-02-06  Loren Rittle <ljrittle@acm.org>
1232         * acinclude.m4: Add C++ linkage check for strtof.
1233         * aclocal.m4: Rebuilt.
1234         * config.h.in: Rebuilt.
1235         * configure: Rebuilt.
1236         * config/locale/c_locale_generic.cc: Conditionally include
1237         <ieeefp.h>.  Improve handling and error checking of float
1238         and long double input for non-C99 configurations.
1240 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
1242         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1243         In case money_base::symbol deal properly with multi-char sign
1244         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
1245         * testsuite/22_locale/money_get_members_char.cc: Add test07.
1246         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
1248 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
1250         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1251         First construct a tentative returned string, then, only if the
1252         parsing succeeds, copy it into the string passed by reference.
1253         * testsuite/22_locale/money_get_members_char.cc: Add test06.
1254         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
1256 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
1258         * docs/doxygen/TODO:  Impl-defined behavior now documented...
1259         * docs/html/17_intro/howto.html:  ...here.
1260         * docs/doxygen/mainpage.doxy:  Remove, rename...
1261         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
1262         * docs/doxygen/style.css:  Add small text.
1263         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
1264         * docs/doxygen/user.cfg.in:  Likewise.
1266 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
1268         * include/bits/stl_map.h:  Initial doxygen markup.
1269         * include/std/std_fstream.h:  Initial doxygen markup.
1271 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
1273         libstdc++/5579
1274         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1275         Deal correctly with !(__io.flags() & ios_base::showbase)
1276         for case money_base::symbol.
1277         * testsuite/22_locale/money_get_members_char.cc: Add test05.
1278         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
1280 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
1282         * testsuite/22_locale/operators.cc
1283         (gnu_collate::do_compare()): Add return statement to
1284         suppress "no return statement" warning.
1286 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
1288         * testsuite/27_io/ostream_manip.cc: Enable test02.
1290 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
1292         * docs/html/documentation.html:  Update for 3.0.96.
1293         * docs/html/faq/index.html:  Update for 3.0.96.
1294         * docs/html/faq/index.txt:  Regenerated.
1295         * docs/doxygen/TODO:  Update notes.
1296         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
1298 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
1300         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1301         Initialize all data members in copy ctor. Make ctors explicit.
1302         (__enc_traits::__enc_traits()): Default ctor does nothing.
1303         (__enc_traits::_M_init): Guard against multiple iconv_opens.
1304         * include/std/std_sstream.h (basic_stringbuf): Make data members
1305         protected.
1306         * include/std/std_fstream.h (basic_filebuf): Same.
1307         * include/std/std_streambuf.h: Tweak.
1308         * include/bits/streambuf.tcc: Same.
1309         * include/bits/sstream.tcc: Same.
1310         * include/bits/fstream.tcc: Same.
1312 2002-01-31  Loren Rittle <ljrittle@acm.org>
1314         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
1315         allow NULL argument to be passed to setenv().
1316         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1317         * testsuite/22_locale/collate_members_char.cc: Likewise.
1318         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1319         * testsuite/22_locale/ctype_members_char.cc: Likewise.
1320         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
1321         * testsuite/22_locale/messages_members_char.cc: Likewise.
1322         * testsuite/22_locale/money_get_members_char.cc: Likewise.
1323         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1324         * testsuite/22_locale/money_put_members_char.cc: Likewise.
1325         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1326         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
1327         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1328         * testsuite/22_locale/num_get_members_char.cc: Likewise.
1329         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1330         * testsuite/22_locale/num_put_members_char.cc: Likewise.
1331         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1332         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
1333         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1334         * testsuite/22_locale/time_get_members_char.cc: Likewise.
1335         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1336         * testsuite/22_locale/time_put_members_char.cc: Likewise.
1337         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1339 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
1341         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
1343         * ChangeLog-2001: Fix spelling errors...
1344         * docs/html/17_intro/RELEASE-NOTES: Update.
1345         * docs/html/17_intro/TODO: Update.
1346         * README (file): Update.
1348 2002-01-30  Loren Rittle <ljrittle@acm.org>
1350         * config/locale/c_locale_generic.cc: Check errno for ERANGE
1351         instead of non-zero to aid portability.
1353 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1355         * docs/html/22_locale/messages.html: Fix example code.
1357 2002-01-30  Richard Henderson  <rth@redhat.com>
1359         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1360         out from test03 and templatize.
1361         (test03): Use it.
1363 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1365         * config/locale/numpunct_members_gnu.cc
1366         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
1367         Fix initialization of _M_grouping for locales which have
1368         _M_thousands_sep == '\0'(L'\0', respectively).
1369         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
1371 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1373         * testsuite/27_io/ostream_inserter_arith.cc (test03):
1374         Better fix for 32/64 bit architectures, avoiding the
1375         implicit assumption that CHAR_BIT == 8.
1377 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
1379         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
1380         * Makefile.in:  Regenerate.
1382         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
1383         * docs/doxygen/Intro.3:  Update.
1384         * docs/doxygen/TODO:  Update.
1385         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
1386         * docs/doxygen/mainpage.doxy:  Update.
1387         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
1388         regenerate comments and variables with 1.2.12.
1389         * docs/doxygen/maint.cfg.in:  Remove file.
1391         * include/bits/stl_relops.h:  Doxygenate.
1392         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
1394         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
1395         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
1396         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
1397         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
1398         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
1399         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
1400         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
1401         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
1402         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
1403         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
1404         include/ext/hash_set, include/ext/iterator, include/ext/memory,
1405         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
1406         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
1407         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
1408         include/std/std_algorithm.h, include/std/std_bitset.h,
1409         include/std/std_complex.h, include/std/std_deque.h,
1410         include/std/std_fstream.h, include/std/std_functional.h,
1411         include/std/std_iomanip.h, include/std/std_ios.h,
1412         include/std/std_iosfwd.h, include/std/std_iostream.h,
1413         include/std/std_istream.h, include/std/std_iterator.h,
1414         include/std/std_limits.h, include/std/std_list.h,
1415         include/std/std_locale.h, include/std/std_map.h,
1416         include/std/std_memory.h, include/std/std_numeric.h,
1417         include/std/std_ostream.h, include/std/std_queue.h,
1418         include/std/std_set.h, include/std/std_sstream.h,
1419         include/std/std_stack.h, include/std/std_stdexcept.h,
1420         include/std/std_streambuf.h, include/std/std_string.h,
1421         include/std/std_utility.h, include/std/std_valarray.h,
1422         include/std/std_vector.h:  Add/correct @file doxygen hook.
1424         * include/ext/memory:  Doxygenate most of rest of file.
1425         * libsupc++/exception:  Doxygen output formatting.
1426         * libsupc++/new:  Say which header it is.
1428         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
1429         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
1430         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
1431         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
1433 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
1434             Charles Leggett <CGLeggett@lbl.gov>
1436         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
1438 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
1440         * testsuite/27_io/ostream_inserter_arith.cc (test03):
1441         Fix to deal correctly with both 32 bit and 64 bit architectures
1443 2002-01-25  Loren Rittle <ljrittle@acm.org>
1445         * testsuite/thread/pthread1.cc: Use one condition variable
1446         per predicate instead of tricky use of one condition variable.
1448 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
1450         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
1451         streams.
1452         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
1453         * testsuite/27_io/filebuf.cc: Compile only.
1454         * testsuite/27_io/filebuf_members.cc: Move tests to here.
1455         * testsuite/27_io/filebuf_virtuals.cc: And here.
1456         Revert sungetc, sync changes for expected values.
1457         * testsuite/27_io/filebuf-*: Move to...
1458         * testsuite/27_io/filebuf_virtuals-*: ...here.
1459         * testsuite/27_io/istream.cc: Compile only, activate.
1460         * testsuite/27_io/ostream.cc: Same.
1461         * testsuite/27_io/iostream.cc: New.
1462         * testsuite/27_io/iostream_members.cc: New.
1464 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
1466         * testsuite/thread/pthread1.cc: Enable on cygwin.
1467         * testsuite/thread/pthread2.cc: Likewise.
1468         * testsuite/thread/pthread3.cc: Likewise.
1469         * testsuite/thread/pthread4.cc: Likewise.
1470         * testsuite/thread/pthread5.cc: Likewise.
1471         * testsuite/thread/pthread6.cc: Likewise.
1473 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
1475         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
1477 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
1479         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1480         const, tweak.
1481         (basic_ios::fill(char_type)): Use fill().
1482         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1483         (basic_ios::narrow): Same.
1484         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1485         if they are invalid.
1486         (basic_ios::init): Comment.
1487         * testsuite/27_io/ios_init.cc (test02): New.
1489 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
1491         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
1492         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
1493         * include/ext/memory:  Do not include stl_tempbuf.h.
1494         (temporary_buffer):  Add doxygen hook.
1495         (__get_temporary_buffer, get_temporary_buffer,
1496         return_temporary_buffer):  Move back to std:: header...
1497         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
1498         * include/ext/rope:  Do not include stl_tempbuf.h.
1499         * include/ext/stl_hashtable.h:  Likewise.
1500         * include/std/std_algorithm.h:  Likewise.
1501         * testsuite/20_util/temporary_buffer.cc:  New file.
1503 2002-01-24  andrew@andypo.net
1504             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
1506         libstdc++/5432
1507         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1508         * include/bits/localefwd.h: Likewise.
1509         Also use for std::locale::id::_S_highwater.
1510         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1511         * src/locale.cc: Support new usage of _Atomic_word.
1512         (std::locale::classic): Guard entire function against reentry.
1513         * src/localename.cc: Support new usage of _Atomic_word.
1515 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
1517         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1518         _GLIBCPP_HAVE_SETENV.
1519         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1520         * testsuite/22_locale/collate_members_char.cc (test02): Same.
1521         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1522         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1523         * testsuite/22_locale/messages_members_char.cc (test02): Same.
1524         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1525         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1526         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1527         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1528         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1529         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1530         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1531         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1532         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1533         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1534         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1535         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1536         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1537         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1538         * aclocal.m4: Regenerate.
1539         * configure: Regenerate.
1540         * config.h.in: Regenerate.
1542 2002-01-23  Loren Rittle <ljrittle@acm.org>
1544         * testsuite/thread/pthread1.cc: New test.
1545         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1546         * testsuite/thread/pthread3.cc: Likewise.
1547         * testsuite/thread/pthread4.cc: New test adapted from
1548         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1549         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1550         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1552 2002-01-23  Richard Henderson  <rth@redhat.com>
1554         PR libstdc++/5198
1555         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1556         CAS on the cpu variants that support it.  Add versions that use
1557         TAS and that disable interrupts.
1558         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1560 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
1562         * include/bits/locale_facets.tcc: Remove old comments.
1564 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
1566         * include/bits/locale_facets.tcc (__convert_to_v): Change template
1567         parameter to _Tv.
1568         (__convert_from_v): Same.
1570 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1572         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1573         prototype.
1574         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1575         __max_digits checks, adjust arguments.
1576         (num_get::do_get(*)): Changeup.
1578 2002-01-23  Loren Rittle <ljrittle@acm.org>
1580         * config/locale/c_locale_generic.cc: Fix typename usage.
1582 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1584         * config/locale/c_locale_generic.cc: Fix.
1586 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1588         * docs/html/22_locale/messages.html: Remove angle brackets.
1589         * docs/html/17_intro/TODO: Add.
1591 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
1593         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1594         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1595         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1596         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1598 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1600         Audit for LANG independence.
1601         * include/bits/localefwd.h: Tweaks.
1602         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1603         Use __convert_to_v.
1604         (time_get::do_get_year): Same.
1605         (__convert_from_v): Add.
1606         (num_put::_M_convert_float): Use.
1607         (num_put::_M_convert_int): Same.
1608         (money_put::do_put): Same.
1610         * src/locale-inst.cc: Add instantiations for __convert_from_v.
1611         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1612         * config/locale/time_members_generic.cc:
1613         * config/locale/messages_members_gnu.cc: Same.
1614         * config/locale/messages_members_gnu.h: Same.
1616         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1617         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1618         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1619         * testsuite/22_locale/collate_members_char.cc (test02): New.
1620         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1621         * testsuite/22_locale/ctype_members_char.cc (test03): New.
1622         * testsuite/22_locale/messages_members_char.cc (test02): New.
1623         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1624         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1625         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1626         * testsuite/22_locale/money_get_members_char.cc (test04): New.
1627         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1628         * testsuite/22_locale/money_put_members_char.cc (test04): New.
1629         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1630         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1631         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1632         * testsuite/22_locale/time_put_members_char.cc (test03): New.
1633         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1634         * testsuite/22_locale/time_get_members_char.cc (test07): New.
1635         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1636         * testsuite/22_locale/num_get_members_char.cc (test03): New.
1637         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1638         * testsuite/22_locale/num_put_members_char.cc (test03): New.
1640         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1641         locale issues.
1642         * testsuite/22_locale/time_get_members_char.cc: Same.
1644 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1646         libstdc++/5280
1647         * include/bits/localefwd.h: Tweak comments.
1648         * include/bits/locale_facets.h (__convert_to_v): Add.
1649         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1650         (num_get::do_get(float)): Same.
1651         (num_get::do_get(long double)): Same.
1652         (num_get::do_get(bool)): Same.
1653         (num_get::do_get(long)): Same.
1654         (num_get::do_get(long long)): Same.
1655         (num_get::do_get(unsigned int)): Same.
1656         (num_get::do_get(unsigned short)): Same.
1657         (num_get::do_get(unsigned long)): Same.
1658         (num_get::do_get(unsigned long long)): Same.
1659         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1660         * config/locale/c_locale_generic.cc: Same.
1662 2002-01-22  Loren Rittle <ljrittle@acm.org>
1664         * include/Makefile.am (c_base_builddir): Remove redundant slash.
1665         (std_builddir): Likewise.
1666         (std_headers_rename): Fix cut-n-paste typo.
1667         (install-data-local): Concat path per element instead of once to
1668         first element of list.
1669         * include/Makefile.in: Rebuilt.
1671 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1673         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1674         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1675         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1677 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
1679         * include/bits/locale_facets.h (ctype<char>::classic_table):
1680         Remove definition.
1681         (ctype<char>::_S_ctable): Remove.
1682         * config/os/gnu-linux/bits/ctype_noninline.h
1683         (ctype<char>::_S_table): Remove definition.
1684         (ctype<char>::classic_table): Define.
1685         (ctype<char>::ctype): Replace _S_ctable with classic_table().
1686         * config/os/aix/bits/ctype_noninline.h: Same.
1687         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1688         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1689         * config/os/djgpp/bits/ctype_noninline.h: Same.
1690         * config/os/generic/bits/ctype_noninline.h: Same.
1691         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1692         * config/os/hpux/bits/ctype_noninline.h: Same.
1693         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1694         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1695         * config/os/mingw32/bits/ctype_noninline.h: Same.
1696         * config/os/newlib/bits/ctype_noninline.h: Same.
1697         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1698         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1699         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1701 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
1703         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1704         of _pctype. Use to define _S_ctable.  Add definition for alternate
1705         ctor.  Initialise _M_ctable to _S_ctable in ctors.
1706         (do_toupper, do_tolower): Use inline code appropriate for C-locale
1707         rather than ::toupper, ::tolower.
1709 2002-01-18  Loren Rittle <ljrittle@acm.org>
1711         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1712         Add specialization for FreeBSD systems only to avoid losing test
1713         only due to extra precision unmentioned in system headers.
1715 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
1717         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1719 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1721         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
1722         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1724 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1726         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1728 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
1730         * configure.target: Define OPT_LDFLAGS for AIX case.
1732 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1734         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1735         __glibcpp_double_has_quiet_NaN): Correct mispelling.
1737 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
1739         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1741 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
1743         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1744         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
1745         * aclocal.m4: Regenerate.
1746         * configure: Regenerate.
1748 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1750         * include/Makefile.am (c_base_headers_rename): New.
1751         (c_base_headers_extra): New.
1752         (stamp-c_base): Modify.
1753         (install-data-local): Use both.
1754         * include/Makefile.in: Regenerate.
1755         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1756         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1757         cstdio ctime cwctype]: Move to..
1758         * include/c/std_*: Here.
1759         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1760         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1761         cstdio ctime cwctype]: Move to..
1762         * include/c_std/std_*: Here.
1764         Alexandre Oliva  <aoliva@redhat.com>
1765         * include/Makefile.am (.PRECIOUS): Add rule.
1766         * include/Makefile.in: Regenerate.
1768 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1769             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1771         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1772         Deuglify, should be current.
1773         (back_insert_iterator::_M_container): Deuglify, should be container.
1774         (front_insert_iterator::_M_container): Same.
1775         (insert_iterator::_M_container): Same.
1776         * testsuite/24_iterators/reverse_iterator.cc: Add check.
1777         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1778         * testsuite/24_iterators/front_insert_iterator.cc: Same.
1779         * testsuite/24_iterators/insert_iterator.cc: Same.
1781 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1783         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1784         static.
1785         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1786         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1787         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1788         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1789         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1790         * config/os/newlib/bits/ctype_noninline.h: Same.
1791         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1792         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1793         * config/os/hpux/bits/ctype_noninline.h: Same.
1794         * config/os/djgpp/bits/ctype_noninline.h: Same.
1795         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1796         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1797         * config/os/aix/bits/ctype_noninline.h: Same.
1799         Testcase by Dietmar Kühl via Peter Schmid
1800         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1801         classic_table().
1803 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1805         * libmath/signbitl.c: Copyright years as list, not range.
1806         * libmath/Makefile.am: Same.
1807         * libmath/Makefie.in: Regenerate.
1808         * libmath/signbit.c: Same.
1809         * libmath/nan.c: Same.
1810         * libmath/copysignf.c: Same.
1811         * libmath/signbitf.c: Same.
1812         * testsuite/22_locale/money_get_members_char.cc: Same.
1813         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1814         * testsuite/22_locale/money_put_members_char.cc: Same.
1815         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1816         * testsuite/22_locale/time_get_members_char.cc: Same.
1817         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1818         * testsuite/22_locale/time_put_members_char.cc: Same.
1819         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1820         * testsuite/21_strings/nonmember.cc: Same.
1821         * testsuite/21_strings/compare.cc: Same.
1822         * testsuite/27_io/stringstream.cc: Same.
1823         * testsuite/27_io/stringbuf.cc: Same.
1824         * testsuite/27_io/filebuf.cc: Same.
1825         * testsuite/27_io/ios_manip_basefield.cc: Same.
1826         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1827         * include/bits/cpp_type_traits.h: Same.
1828         * include/bits/generic_shadow.h: Same.
1829         * include/bits/gslice_array.h: Same.
1830         * include/bits/gslice.h: Same.
1831         * include/bits/indirect_array.h: Same.
1832         * include/bits/slice_array.h: Same.
1833         * include/bits/sstream.tcc: Same.
1834         * include/bits/streambuf_iterator.h: Same.
1835         * include/bits/valarray_array.tcc: Same.
1836         * include/bits/valarray_meta.h: Same.
1837         * include/bits/valarray_array.h: Same.
1838         * config/os/mingw32/bits/ctype_noninline.h: Same.
1839         * config/os/mingw32/bits/ctype_base.h: Same.
1840         * config/os/hpux/bits/ctype_noninline.h: Same.
1841         * config/os/hpux/bits/ctype_base.h: Same.
1842         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1843         * config/os/gnu-linux/bits/ctype_base.h: Same.
1844         * config/os/generic/bits/ctype_noninline.h: Same.
1845         * config/os/generic/bits/ctype_base.h: Same.
1847         * libsupc++/tinfo.h: Tweaks.
1849 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1851         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1852         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1853         * testsuite/22_locale/ctype_members_char.cc: Tweak.
1855 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1857         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1858         (num_put::do_put(void*)): Fix.
1859         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1860         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1861         * testsuite/22_locale/num_get_members_char.cc (test02): Add
1862         long double, void, bool types.
1863         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1865 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1866             Alexandre Oliva  <aoliva@redhat.com>
1868         * libmath/Makefile.am (LINK): Add --tag CC.
1869         * libmath/Makefile.in: Regenerate.
1871 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1873         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1874         of character to attribute mapping table.
1876 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
1878         * testsuite/26_numerics/c99_classification_macros_c.cc
1879         Remove dg-error and dg-excess-errors comments.
1881 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
1883         * include/bits/locale_facets.tcc (time_put::put): Correct output
1884         iterator positions.
1885         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1886         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1887         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1888         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1890 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1892         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1894 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
1895             Nathan Myers  <ncm@cantrip.org>
1897         * include/bits/basic_string.h
1898         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1899         temporaries (i.e., call _M_replace_safe) when possible.
1900         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1901         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1902         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1903         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1904         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1905         * include/bits/basic_string.tcc
1906         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1907         replace(__pos, __n1, __s, __n2).
1908         * testsuite/21_strings/replace.cc (test03): New testcases.
1910         * include/bits/basic_string.h (insert(__pos, __s, __n)):
1911         Adjust comparison wrt overflow.
1913 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1915         * include/Makefile.am (std_headers_rename): New variable.
1916         (install-data-local): Use it.
1917         * include/Makefile.in: Regenerate.
1919 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1921         * include/bits/locale_facets.tcc (money_put::do_put(string):
1922         Correct output iterator value.
1923         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1924         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1926 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
1928         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
1929         previous commit.
1931 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
1933         * include/Makefile.am (std_headers):  Update list with new names.
1934         (stamp-std):  Link to standardized name.
1935         * include/Makefile.in:  Regenerate.
1937         * include/std/algorithm, include/std/bitset, include/std/complex,
1938         include/std/deque, include/std/fstream, include/std/functional,
1939         include/std/iomanip, include/std/ios, include/std/iosfwd,
1940         include/std/iostream, include/std/istream, include/std/iterator,
1941         include/std/limits, include/std/list, include/std/locale,
1942         include/std/map, include/std/memory, include/std/numeric,
1943         include/std/ostream, include/std/queue, include/std/set,
1944         include/std/sstream, include/std/stack, include/std/stdexcept,
1945         include/std/streambuf, include/std/string, include/std/utility,
1946         include/std/valarray, include/std/vector:  Rename to...
1948         * include/std/std_algorithm.h, include/std/std_bitset.h,
1949         include/std/std_complex.h, include/std/std_deque.h,
1950         include/std/std_fstream.h, include/std/std_functional.h,
1951         include/std/std_iomanip.h, include/std/std_ios.h,
1952         include/std/std_iosfwd.h, include/std/std_iostream.h,
1953         include/std/std_istream.h, include/std/std_iterator.h,
1954         include/std/std_limits.h, include/std/std_list.h,
1955         include/std/std_locale.h, include/std/std_map.h,
1956         include/std/std_memory.h, include/std/std_numeric.h,
1957         include/std/std_ostream.h, include/std/std_queue.h,
1958         include/std/std_set.h, include/std/std_sstream.h,
1959         include/std/std_stack.h, include/std/std_stdexcept.h,
1960         include/std/std_streambuf.h, include/std/std_string.h,
1961         include/std/std_utility.h, include/std/std_valarray.h,
1962         include/std/std_vector.h:  ...this.
1964 2002-01-11  Loren Rittle <ljrittle@acm.org>
1966         * include/Makefile.am (extra_target_headers): New list of all
1967         target files built with ad hoc naming rules.
1968         (stamp-*): Handle LN_S failure in manner portable across make
1969         implementations.
1970         (install-data-local): Install header files from human-maintained
1971         file lists and directory components instead of non-robust find.
1972         * include/Makefile.in: Rebuilt.
1974 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
1976         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1977         Check for zero-length negative sign before adding it to output
1978         string.
1979         (money_get::do_get(long double)): Return beg.
1980         * testsuite/22_locale/money_get_members_char.cc (test02): Add
1981         iterator checks.
1982         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1984 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
1986         libstdc++/5331
1987         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1988         for _M_extract_float and _M_extract_int
1989         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1990         (num_get<>::_M_extract_int): Likewise, all callers changed
1991         * testsuite/22_locale/num_get_members_char.cc: Testcase
1993 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
1995         * libsupc++/exception (bad_exception): Add comment.
1996         * libsupc++/new (bad_alloc): Same.
1997         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1999 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
2001         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2002         that the destructors should be removed from the descriptions
2003         in the standard: writing them explicitly allows the vtable
2004         heuristic to work. For additional information see:
2005         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2006         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2007         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2008         * libsupc++/exception (bad_exception::~bad_exception()):
2009         Reintroduce declaration.
2010         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2011         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2012         (bad_typeid::~bad_typeid()): Same.
2013         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2014         Reintroduce definition.
2015         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2016         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2017         (bad_typeid::~bad_typeid()): Same.
2019 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2021         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2022         * include/Makefile.in: Regenerate.
2024 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
2026         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2027         definition.
2029 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2031         libstdc++/2913
2032         libstdc++/4879
2033         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2034         return value of _M_file->sync().
2035         (filebuf::showmanyc): Check for is_open.
2036         * include/std/fstream (filebuf::sync): Tweak.
2037         * testsuite/27_io/filebuf.cc: Tweak.
2039 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
2040             Brad Garcia  <garsh@attbi.com>
2042         * testsuite/27_io/filebuf_members.cc: Add test.
2044 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
2045             Craig Rodrigues  <rodrigc@mediaone.net>
2047         libstdc++/5174
2048         * po/Makefile.am (mkinstalldirs): Add.
2049         * po/Makefile.in: Regenerate.
2051 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
2053         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2054         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
2055         compiler output.
2056         * testsuite/23_containers/map_operators.cc: Remove
2057         dg-excess-errors comment.
2058         * testsuite/23_containers/set_operators.cc: Likewise.
2060 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
2062         * include/bits/stl_function.h:  Remove two lines of comments;
2063         adjust copyright years.
2065 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
2067         * include/Makefile.am (std_headers): Remove cXXX from list.
2068         (c_base_srcdir): No bits subdirectory.
2069         (c_base_builddir): Same.
2070         (c_base_headers): Adjust names, add ciso646.
2071         (bits_headers): Remove std_xxx.h headers.
2072         * include/Makefile.in: Regenerate.
2074         * include/ext/iterator: Adjust includes.
2075         * include/ext/ropeimpl.h: Same.
2076         * include/ext/stl_hash_fun.h: Same.
2077         * include/ext/algorithm: Same.
2079         * include/backward/bvector.h: Adjust includes.
2080         * include/backward/vector.h: Same.
2081         * include/backward/strstream: Same.
2082         * include/backward/streambuf.h: Same.
2083         * include/backward/stack.h: Same.
2084         * include/backward/set.h: Same.
2085         * include/backward/queue.h: Same.
2086         * include/backward/multiset.h: Same.
2087         * include/backward/multimap.h: Same.
2088         * include/backward/map.h: Same.
2089         * include/backward/list.h: Same.
2090         * include/backward/iterator.h: Same.
2091         * include/backward/iostream.h: Same.
2092         * include/backward/iomanip.h: Same.
2093         * include/backward/fstream.h: Same.
2094         * include/backward/deque.h: Same.
2095         * include/backward/complex.h: Same.
2097         * include/bits/std_algorithm.h: Move to...
2098         * include/std/algorithm: ...here.
2099         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
2100         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
2101         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
2102         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
2103         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
2104         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
2105         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
2106         Same.
2108         * include/c_std/bits/std_cassert.h: Move to...
2109         * include/c_std/cassert: Here.
2110         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
2111         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2112         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2113         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2114         std_cwctype.h: Same.
2115         * include/c_std/cmath: Adjust cmath.tcc include.
2116         * include/c_std/cstdlib: Adjust includes.
2117         * include/c_std/cwchar: Same.
2118         * include/c_std/ctime: Same.
2119         * include/c_std/cstring: Same.
2120         * include/c_std/cstdio: Same.
2121         * include/c_std/bits: Remove directory.
2123         * include/c/bits/std_cassert.h: Move to...
2124         * include/c/cassert: Here.
2125         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
2126         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2127         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2128         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2129         std_cwctype.h: Same.
2130         * include/c/bits: Remove directory.
2132         * include/std/cwctype: Remove.
2133         * include/std/cwchar: Remove.
2134         * include/std/ctime: Remove.
2135         * include/std/cstring: Remove.
2136         * include/std/cstdlib: Remove.
2137         * include/std/cstdio: Remove.
2138         * include/std/cstddef: Remove.
2139         * include/std/cstdarg: Remove.
2140         * include/std/csignal: Remove.
2141         * include/std/csetjmp: Remove.
2142         * include/std/cmath: Remove.
2143         * include/std/clocale: Remove.
2144         * include/std/climits: Remove.
2145         * include/std/ciso646: Remove.
2146         * include/std/cfloat: Remove.
2147         * include/std/cerrno: Remove.
2148         * include/std/cctype: Remove.
2149         * include/std/cassert: Remove.
2151         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
2152         files and subsituting <xxx>.
2153         * include/bits/valarray_array.h: Same.
2154         * include/bits/stl_uninitialized.h: Same.
2155         * include/bits/stl_alloc.h: Same.
2156         * include/bits/stl_algobase.h: Same.
2157         * include/bits/sstream.tcc: Same.
2158         * include/bits/pthread_allocimpl.h: Same.
2159         * include/bits/ostream.tcc: Same.
2160         * include/bits/localefwd.h: Same.
2161         * include/bits/locale_facets.tcc: Same.
2162         * include/bits/locale_facets.h: Same.
2163         * include/bits/istream.tcc: Same.
2164         * include/bits/char_traits.h: Same.
2165         * include/bits/boost_concept_check.h: Same.
2166         * include/bits/basic_file.h: Same.
2167         * include/std/bitset: Same.
2168         * include/std/complex: Same.
2169         * include/std/fstream: Same.
2170         * include/std/functional: Same.
2171         * include/std/ios: Same.
2172         * include/std/iostream: Same.
2173         * include/std/ostream: Same.
2174         * include/std/sstream: Same.
2175         * include/std/streambuf: Same.
2176         * include/std/string: Same.
2177         * include/std/iterator: Same.
2178         * include/std/valarray: Same.
2180         * src/ios.cc: Adjust includes.
2181         * src/valarray-inst.cc: Same.
2182         * src/string-inst.cc: Same.
2183         * src/stl-inst.cc: Same.
2184         * src/stdexcept.cc: Same.
2185         * src/misc-inst.cc: Same.
2186         * src/localename.cc: Same.
2187         * src/locale-inst.cc: Same.
2188         * src/locale.cc: Same.
2189         * src/limits.cc: Same.
2190         * src/concept-inst.cc: Same.
2191         * src/complex_io.cc: Same.
2192         * src/codecvt.cc: Same.
2193         * src/bitset.cc: Same.
2194         * src/cmath.cc: Same.
2196 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
2198         * include/bits/stl_tree.h (rb_tree):  Move to...
2199         * include/ext/rb_tree:  ...here, new file.
2200         * include/Makefile.am (ext_headers):  Add new file.
2201         * include/Makefile.in:  Regenerate.
2202         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
2203         return_temporary_buffer, struct temporary_buffer):  Move to...
2204         * include/ext/memory:  ...here.
2205         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
2206         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
2207         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
2209 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
2211         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
2212         * include/ext/numeric:  ...here, new file.
2213         * include/bits/stl_function.h (identity_element, unary_compose,
2214         binary_compose, compose1, compose2, identity, select1st,
2215         select2nd, project1st + helper, project2nd + helper,
2216         constant_void_fun + helper, constant_unary_fun + helper,
2217         costant_binary_fun + helper, constant0, constant1, constant2,
2218         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
2219         * include/ext/functional:  ...here, new file.
2220         * include/Makefile.am (ext_headers):  Add new files.
2221         * include/Makefile.in:  Regenerate.
2222         * testsuite/ext/headers.cc:  Include <ext/numeric> and
2223         <ext/functional>.
2224         * include/backward/algo.h:  Include <ext/numeric>, tweak.
2225         * include/backward/function.h:  Include <ext/functional>, tweak.
2226         * include/ext/ropeimpl.h:  Include <ext/numeric>.
2228 2002-01-03  Jeffrey A Law  <law@redhat.com>
2230         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
2231         __strtoull declarations with __extension__.
2233 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
2235         * testsuite/lib/prune.exp: Correct regular expression for
2236         -ffunction-sections
2238 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
2240         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
2241         Change concept checks, as with lower_bound and PR 2054.
2242         * testsuite/ext/concept_checks.cc:  Expand test to include those.
2244 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
2246         * include/bits/boost_concept_check.h:  Import some changes from
2247         upsteam (Boost) version.
2249 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
2251         * include/bits/stl_algobase.h (copy_n + helpers,
2252         lexicographical_compare_3way + helpers):  Move to...
2253         * include/ext/algorithm:  ...here.
2254         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
2255         helpers):  Move to...
2256         * include/ext/memory:  ...here, new file.
2257         * include/Makefile.am (ext_headers):  Add new file.
2258         * include/Makefile.in:  Regenerate.
2259         * testsuite/ext/headers.cc:  Include <ext/memory>.
2260         * include/backward/algobase.h:  Include <ext/memory> and
2261         <ext/algorithm>, tweak.
2262         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
2263         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
2265 2002-01-01  Roger Sayle <roger@eyesopen.com>
2267         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
2268         equivalent ___builtin__ versions.
2270         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
2271         are available in libstdc++ as the necessary stub implementations
2272         are provided by libmath/stubs.c.
2274 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
2276         * configure.in: Add support for NetBSD cross compiles.
2277         * configure: Regenerate.