* gcc.dg/20020103-1.c: New.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blobbead9f702cff90d25a4c99b8643a827b8e7d36b3
1 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
3         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
4         * include/ext/numeric:  ...here, new file.
5         * include/bits/stl_function.h (identity_element, unary_compose,
6         binary_compose, compose1, compose2, identity, select1st,
7         select2nd, project1st + helper, project2nd + helper,
8         constant_void_fun + helper, constant_unary_fun + helper,
9         costant_binary_fun + helper, constant0, constant1, constant2,
10         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
11         * include/ext/functional:  ...here, new file.
12         * include/Makefile.am (ext_headers):  Add new files.
13         * include/Makefile.in:  Regenerate.
14         * testsuite/ext/headers.cc:  Include <ext/numeric> and
15         <ext/functional>.
16         * include/backward/algo.h:  Include <ext/numeric>, tweak.
17         * include/backward/function.h:  Include <ext/functional>, tweak.
18         * include/ext/ropeimpl.h:  Include <ext/numeric>.
20 Thu Jan  3 11:05:41 2002  Jeffrey A Law  (law@redhat.com)
22         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
23         __strtoull declarations with __extension__.
25 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
27         * testsuite/lib/prune.exp: Correct regular expression for
28         -ffunction-sections
30 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
32         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
33         Change concept checks, as with lower_bound and PR 2054.
34         * testsuite/ext/concept_checks.cc:  Expand test to include those.
36 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
38         * include/bits/boost_concept_check.h:  Import some changes from
39         upsteam (Boost) version.
41 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
43         * include/bits/stl_algobase.h (copy_n + helpers,
44         lexicographical_compare_3way + helpers):  Move to...
45         * include/ext/algorithm:  ...here.
46         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
47         helpers):  Move to...
48         * include/ext/memory:  ...here, new file.
49         * include/Makefile.am (ext_headers):  Add new file.
50         * include/Makefile.in:  Regenerate.
51         * testsuite/ext/headers.cc:  Include <ext/memory>.
52         * include/backward/algobase.h:  Include <ext/memory> and
53         <ext/algorithm>, tweak.
54         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
55         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
57 2002-01-01  Roger Sayle <roger@eyesopen.com>
59         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
60         equivalent ___builtin__ versions.
62         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
63         are available in libstdc++ as the necessary stub implementations
64         are provided by libmath/stubs.c.
66 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
68         * configure.in: Add support for NetBSD cross compiles.
69         * configure: Regenerate.
71 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
73         * include/ext/iterator:  Add #include <bits/std_iterator.h>, tweak.
74         * testsuite/ext/headers.cc:  Add <ext/iterator>.
76 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
78         * include/backward/algo.h:  Add two more using declarations.
79         * include/backward/iterator.h:  Include <ext/iterator>,
80         add using declaration.
81         * include/ext/algorithm:  Add #pragma GCC system_header.
83 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
85         * include/bits/stl_bvector.h:  Change calls to 3-argument distance()
86         into standard 2-argument version.
87         * include/bits/stl_deque.h:  Likewise.
88         * include/bits/stl_tempbuf.h:  Likewise.
89         * include/bits/stl_tree.h:  Likewise.
90         * include/bits/stl_vector.h:  Likewise.
91         * include/ext/stl_hashtable.h:  Likewise.
92         * include/bits/stl_iterator_base_funcs.h:  Move distance() extension...
93         * include/ext/iterator:  to here.  New file.
94         * include/Makefile.am (ext_headers):  Add new file, alphabatize.
95         * include/Makefile.in:  Regenerate.
97 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
99         * include/bits/stl_deque.h:  Doxygenate with initial/example hooks.
100         Clean up spacing and indentation.
102 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
104         * include/ext/slist:  Move into __gnu_cxx,
105         tweak, add using declarations.
107 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
109         * include/ext/hash_map:  Move into __gnu_cxx,
110         tweak, add using declarations.
111         * include/ext/hash_set:  Ditto.
112         * include/ext/ropeimpl.h:  Ditto.
113         * include/ext/stl_hash_fun.h:  Ditto.
114         * include/ext/stl_hashtable.h:  Ditto.
115         * include/ext/stl_rope.h:  Ditto.
116         * src/ext-inst.cc: Tweak.
117         * testsuite/ext/rope.cc: Tweak.
119 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
121         * include/backward/algo.h:  Include <ext/algorithm>,
122         tweak using declarations.
124 2001-12-29  Richard Henderson  <rth@redhat.com>
126         * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
127         * config/os/hpux/bits/cpu_limits.h: New file.
128         * configure.target (CPULIMITSH): Use it.
130 2001-12-28  Richard Henderson  <rth@redhat.com>
132         * config/cpu/ia64/bits/cpu_limits.h: New file.
133         * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
134         * configure.target (CPULIMITSH): Use them.
136 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
138         * include/bits/c++config:  Move doxygen hook comment...
139         * docs/doxygen/doxygroups.cc:  ...to here.
141 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
143         PR libstdc++/2054
144         * include/bits/stl_algo.h (lower_bound):  Relax concept checks.
145         * testsuite/ext/concept_checks.cc:  New file.
147 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
149         * include/bits/stl_algo.h (count returning void,
150         count_if returning void, __random_sample, random_sample,
151         random_sample_n, __is_heap, is_heap, is_sorted):  Move to...
152         * include/ext/algorithm:  ...here, new file.
153         * include/Makefile.am (ext_headers):  Add new file.
154         * include/Makefile.in:  Regenerate.
155         * testsuite/ext/headers.cc:  Include <ext/algorithm>.
157 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
158             Nathan Myers  <ncm@cantrip.org>
160         * include/bits/basic_string.h (insert(__pos, __s, __n)):
161         Optimize by avoiding temporaries and working in-place when possible.
162         (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
163         (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
164         * testsuite/21_strings/insert.cc (test02): New testcases.
166 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
168         * testsuite/testsuite_hooks.h (gnu_counting_struct):  Add.
169         * testsuite/23_containers/deque_ctor.cc:  New file.
171 2001-12-27  Paolo Carlini  <pcarlini@unitus.it>
173         * include/bits/locale_facets.tcc (collate::do_transform):
174         Adjust implicit typename.
175         * config/locale/messages_members_generic.h (messages::open,
176         messages::do_open, messages::do_get): Adjust implicit typename.
177         * config/locale/messages_members_gnu.h (messages::open,
178         messages::do_open, messages::do_get): Adjust Implicit typename.
179         * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
180         messages::do_open, messages::do_get): Adjust implicit typename.
182 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
184         PR libstdc++/3829
185         * src/misc-inst.cc:  Many additional I/O-related instantiations.
186         * testsuite/27_io/instantiations.cc:  New file.
188 2001-12-26  Benjamin Kosnik  <bkoz@waller.constant.com>
190         * testsuite/24_iterators/insert_iterator.cc (test02): Add.
191         * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
192         * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
193         * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
195         * include/bits/stl_iterator.h (reverse_iterator): Uglify member
196         current to _M_current.
197         (back_insert_iterator): Uglify member container to _M_container.
198         (front_insert_iterator): Same.
199         (insert_iterator): Same.
201 2001-12-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
203         * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
204         macros for signed types; default value is true.
205         (numeric_limits<>::is_modulo): Get value from corresponding
206         __glibcpp_xxx_is_modulo macro.
208 2001-12-23  Jeffrey A Law  <law@redhat.com>
210         * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
211         Twiddle return types for strtoll and strtoull to avoid using
212         intmax_t and uintmax-t.
214 2001-12-22  Richard Henderson  <rth@redhat.com>
216         * configure.target (CPULIMITSH): Fix typo in alpha case.
218 2001-12-22  Jeffrey A Law  <law@redhat.com>
220         * config/os/hpux/bits/os_defines.h: Update to avoid #defines
221         for strtoll and strtoull.
223 2001-12-21  Jeffrey A Law  <law@redhat.com>
225         * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
226         Define strtoll and strtoull.  Provide prototypes for
227         __strtoll and __strtoull.  Define _GLIBCPP_USE_LONG_LONG
228         unconditionally.
230         * src/locale-inst.cc: Include <bits/std_cstdlib.h>
232         * configure.target: Fix typo in hpux case.
234 2001-12-21  Paolo Carlini  <pcarlini@unitus.it>
236         * include/ext/stl_rope.h (_Rope_iterator):
237         Add local typedef to fix implicit typename problems.
239 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
241         * docs/doxygen/Intro.3:  New 'Allocators' module.
242         * docs/doxygen/TODO:  Update.
243         * docs/doxygen/doxygroups.cc:  Update.
244         * docs/doxygen/run_doxygen:  Update.
246         * include/bits/stl_alloc.h:  Tweak doxygen hooks in comments.
247         * include/bits/std_memory.h:  Doxygenate.
248         * include/bits/stl_iterator_base_types.h:  Likewise.
249         * include/bits/stl_raw_storage_iter.h:  Likewise.
250         * include/bits/stl_tempbuf.h:  Likewise.
251         (get_temporary_buffer):  Remove unused nonstandard overload.
252         * include/bits/stl_uninitialized.h:  Likewise.
254         * include/bits/stl_iterator_base_types.h (input_iterator,
255         output_iterator, forward_iterator, bidirectional_iterator,
256         random_access_iterator):  Move old names...
257         * include/backward/iterator.h:  ...to here.
258         * include/bits/stl_bvector.h:  Update.
259         * include/ext/stl_rope.h:  Update.
261 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
263         * docs/html/configopts.html:  Describe recent options.
264         * docs/html/documentation.html:  Point to new doxygen tarballs.
265         * docs/html/install.html:  Brief updates.
266         * docs/html/17_intro/RELEASE-NOTES:  Remove weird control character.
267         * docs/html/ext/howto.html:  Fix typos, describe filebuf::fd().
268         * docs/html/faq/index.html:  Update for 3.0.95.
269         * docs/html/faq/index.txt:  Regenerate.
271 2001-12-19  David Billinghurst <David.Billinghurst@riotinto.com>
273         libstdc++-v3/5148
274         * testsuite/lib/libstdc++-v3-dg.exp:  Append .exe to
275         executable filenames
277 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
279         * docs/html/17_intro/TODO: Update.
280         * docs/html/17_intro/RELEASE-NOTES: Edits, update.
281         * README: Edit for clarity, update to reflect current directory
282         structure.
284 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
286         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
287         enabling gnu model.
288         * aclocal.m4: Rebuild.
289         * configure: Rebuild.
291 2001-12-18  Paolo Carlini  <pcarlini@unitus.it>
292             Nathan Myers  <ncm@cantrip.org>
294         * include/bits/basic_string.h (assign(__str, __pos, __n)):
295         Call assign(__s, __n).
296         (assign(__s, __n)): Terminate the string with _S_terminal.
298 2001-12-17  Benjamin Kosnik  <bkoz@redhat.com>
300         * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
301         Set to true, like float and double.
303 2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
305         libstdc++/5136
306         * testsuite/lib/prune.exp: New file
307         * testsuite/lib/libstdc++-v3-dg.exp: Use it
309 2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
311         * include/bits/basic_file.h (__basic_file::fd):  New function.
312         * config/io/basic_file_stdio.h (__basic_file::fd):  Define.
313         * include/bits/std_fstream.h (basic_filebuf::fd):  New function.
314         * include/bits/fstream.tcc (basic_filebuf::fd):  Define.
315         * testsuite/27_io/filebuf_members.cc (test_02):  New test.
317 2001-12-16  Nathan Sidwell  <nathan@codesourcery.com>
319         * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
320         * po/Makefile.in: Regenerated.
322 2001-12-16  Paolo Carlini  <pcarlini@unitus.it>
324         * testsuite/21_strings/assign.cc (test01): Add tests.
326 2001-12-15  Paolo Carlini  <pcarlini@unitus.it>
327             Nathan Myers  <ncm@cantrip.org>
329         * include/bits/basic_string.h
330         (assign(__str, __pos, __n), assign(__s, __n)):  Optimize
331         by avoiding unnecessary temporaries.
332         (assign(__s)): Call assign(__s, __n).
333         * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
334         * include/bits/std_string.h: include stl_function.h.
335         * testsuite/21_strings/assign.cc (test02, test03): New tests.
337 2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
339         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
340         on linux by default.
341         * aclocal.m4: Regenerate.
342         * configure: Regenerate.
344 2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
346         Clean up initialization and simplfy caching of underlying "C"
347         default locale objects.
348         * src/localename.cc (locale::_Impl::_Impl(string, size_t):
349         Unconditionally create __clocale object for all named locales,
350         including "C" and "POSIX".
351         * config/locale/c_locale_generic.cc
352         (locale::facet::_S_create_c_locale): Always set __cloc to zero.
353         * config/locale/c_locale_gnu.cc: Always delete.
354         * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
355         * src/locale.cc (locale::classic()): Initialize
356         locale::facet::_S_c_locale.
357         (locale::facet::_S_c_locale): Define.
359         * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
360         specialization.
361         * src/locale.cc: Add definition here.
362         * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
363         * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
364         * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
365         Adjust ctors, dtors.
366         (ctype<char>::_M_toupper): Remove const&.
367         (ctype<char>::_M_tolower): Remove const&.
368         (ctype<char>::_M_ctable): Remove const&.
370         * include/bits/locale_facets.h (collate): Clean up initialization
371         of _M_c_locale_collate in ctors and dtors.
372         * config/locale/collate_members_gnu.cc: Always use extended
373         functions.
375         * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
376         (messages_byname): Same.
377         * config/locale/messages_members_generic.h (messages::~messages):
378         Remove.
379         * config/locale/messages_members_gnu.h: Same.
381         * include/bits/localefwd.h: Clean. Move dtor definitions to
382         * src/locale.cc: Here.
383         * testsuite/22_locale/facet.cc: Fix spelling.
385         Named locale support for ctype<wchar_t>.
386         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
387         ctype_members_* bits.
388         * aclocal.m4: Regenerate.
389         * configure: Regenerate.
390         * src/Makefile.am (sources): Add ctype.cc.
391         * src/Makefile.in: Regenerate.
392         * config/locale/ctype_members_generic.cc: New file.
393         * config/locale/ctype_members_gnu.cc: New file.
394         * src/locale.cc: Remove ctype<wchart_t> definitions.
396 2001-12-13  Roger Sayle <roger@eyesopen.com>
398         * acconfig.h: Test for __builtin_sqrt instead of
399         __builtin_fsqrt.
400         * acinclude.m4: Same.
401         * include/c_shadow/bits/std_cmath.h: Same.
402         * aclocal.m4: Regenerated.
403         * config.h.in: Regenerated.
404         * configure: Regenerated.
406 2001-12-13  Phil Edwards  <pme@gcc.gnu.org>
408         * docs/html/ext/howto.html:  Fix typos.
410 2001-12-13  Benjamin Kosnik  <bkoz@redhat.com>
412         libstdc++/3679
413         * src/locale.cc (locale::locale(const char*)): Deal with locales
414         named "".
415         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
417 2001-12-12  Paolo Carlini  <pcarlini@unitus.it>
419         * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
420         _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
421         _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
422         : Adjust implicit typename.
423         * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
424         Adjust implicit typename.
425         * testsuite/27_io/streambuf.cc: Adjust implicit typename.
427 2001-12-12  Benjamin Kosnik  <bkoz@redhat.com>
429         Named locale support for ctype<char>.
430         * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
431         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
432         definitions for alternate constructor.
433         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
434         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
435         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
436         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
437         * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
438         * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
439         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
440         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
441         * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
442         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
443         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
444         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
445         * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
446         definitions for all virtual functions. These are now explicitly
447         undefined for non-required factets, ie any non-char, non-wchar_t
448         instantiations.
449         * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
450         locales use alternate constructor for ctype facet.
451         * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
452         mask*, bool, size_t): Add.
453         (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
454         * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
455         definition.
457         * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
458         XFAIL for non-gnu locale models.
460 2001-12-12  Philip Martin  <philip@codematters.co.uk>
461             Ross Smith     <r-smith@ihug.co.nz>
462             Paolo Carlini  <pcarlini@unitus.it>
464         libstdc++/5045
465         * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
466         Fix digits10 values for integral types.
467         * include/bits/locale_facets.tcc (num_get::do_get for integral types):
468         Tweak _M_extract_int call.
469         * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
470         Tweak overflowing number of digits.
471         * testsuite/18_support/numeric_limits.cc (test03): New testcase.
473 2001-12-11  Benjamin Kosnik  <bkoz@redhat.com>
475         * config/os/generic/bits/ctype_inline.h: Remove spaces.
476         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
477         * include/bits/locale_facets.h (__num_base): Move double data
478         members to first in class.
479         * include/bits/locale_facets.tcc: Re-arrange, tweak.
480         * src/locale.cc: Clean.
481         *include/bits/stl_vector.h: Space typedefs.
483 2001-12-11  Phil Edwards  <pme@gcc.gnu.org>
485         * testsuite/ext/allocators.cc:  New file.
487 2001-12-11  Jason Merrill  <jason@redhat.com>
489         * include/bits/locale_facets.tcc (_M_extract_int): Avoid
490         uninitialized warning.
492 2001-12-11  Loren Rittle <ljrittle@acm.org>
494         * config/cpu/sparc/sparc32/bits/atomicity.h
495         (__Atomicity_lock<0>::_S_atomicity_lock): Add.
497 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
499         * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
500         * include/bits/basic_string.h:  Fix typos.
502 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
503             Nathan Myers  <ncm@cantrip.org>
505         * include/bits/basic_string.tcc (_M_replace_safe):  New function.
506         (_M_replace(input_iterator_tag), append members):  Use it.
507         (_M_replace(forward_iterator_tag)):  Remove.
508         * include/bits/basic_string.h:  Adjust declarations.
509         * src/string-inst.cc:  Adjust declarations.
511 2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
512             Philip Martin <pmartin@uklinux.net>
514         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
515         (__num_base::_S_scale_oct): Add.
516         * include/bits/locale_facets.tcc (_M_extract_int): Use them.
517         * src/locale.cc: Add definitions.
518         * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
520         * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
522 2001-12-07  Nathan Myers  <ncm@cantrip.org>
523             Loren Rittle <ljrittle@acm.org>
525         libstdc++/5037
526         * config/cpu/sparc/sparc32/bits/atomicity.h
527         (struct __Atomicity_lock<__inst>): Add.
528         (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
529         (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
530         instead of lock local to static function.
531         (__atomic_add): Likewise.
533 2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
535         * src/globals.cc:  Remove __GTHREADS guard.
537 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
539         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
540         Extend comment, reduce __cs_size for non-fixed outputs.
542 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
544         * include/bits/basic_string.tcc (_M_mutate): Fix typo
545         in the previous check in.
547 2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
548             Loren J. Rittle <ljrittle@acm.org>
550         * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
551         exponential growth policy to meet linear amortized time
552         requirements of the standard.
553         (_S_create): Adjust comment.
555 2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
557         libstdc++/3720
558         * include/bits/locale_facets.tcc (num_put): Clean.
559         (num_get::_M_extract_float): Change argument to string.
560         (num_get::do_get(float)): Fixup.
561         (num_get::do_get(double)): Same.
562         (num_get::do_get(long double)): Same.
563         (num_get::_M_extract_int): Add maximum length parameter, __max.
564         (num_get::_M_extract_float): Correct zeros, use string.
565         * include/bits/locale_facets.h (num_get::_M_extract_float): Change
566         declaration here.
567         * src/locale.cc (__num_base::_S_atoms): Remove x, X.
568         * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
570 2001-12-06  Philip Martin  <pmartin@uklinux.net>
572         * testsuite/27_io/istream_extractor_arith.cc (test12): Add
573         tests for excess input digits.
575 2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
577         * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
578         * include/bits/stl_algo.h:  Likewise.
579         * include/bits/stl_algobase.h:  Likewise.
580         * include/bits/stl_bvector.h:  Likewise.
581         * include/bits/stl_deque.h:  Likewise.
582         * include/bits/stl_function.h:  Likewise.
583         * include/bits/stl_iterator.h:  Likewise.
584         * include/bits/stl_iterator_base_funcs.h:  Likewise.
585         * include/bits/stl_iterator_base_types.h:  Likewise.
586         * include/bits/stl_list.h:  Likewise.
587         * include/bits/stl_multimap.h:  Likewise.
588         * include/bits/stl_multiset.h:  Likewise.
589         * include/bits/stl_pair.h:  Likewise.
590         * include/bits/stl_queue.h:  Likewise.
591         * include/bits/stl_set.h:  Likewise.
592         * include/bits/stl_stack.h:  Likewise.
593         * include/bits/stl_tempbuf.h:  Likewise.
594         * include/bits/stl_tree.h:  Likewise.
595         * include/bits/stl_vector.h:  Likewise.
597         * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
598         Doxygenate more comments.  Correct historical artifacts in comments.
599         (alloc, single_alloc):  Uglify non-standard names.
600         (__default_alloc_template::_NFREELISTS):  Calculate from other
601         parameters.
602         (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
603         (__default_alloc_template::_Lock):  Mark as "unused".
604         * include/backward/alloc.h:  Update.
605         * include/bits/stl_bvector.h:  Likewise.
606         * include/ext/ropeimpl.h:  Likewise.
607         * include/ext/stl_hashtable.h:  Likewise.
609 2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
611         DR/282
612         * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
613         grouping to floating point types.
614         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
616 2001-12-04  Paolo Carlini <pcarlini@unitus.it>
618         libstdc++/4402
619         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
620         from the PR.
621         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
622         Deal properly with long ios_base::fixed floats.
623         (num_put::_M_widen_float): use
624         __len in __builtin_alloca call.
626 2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
628         * src/Makefile.am (sources): Add ext-inst.cc.
629         * src/Makefile.in: Regenerate.
630         * src/ext-inst.cc: New file.
631         * include/bits/stl_threads.h: Format.
632         * src/globals.cc: Add instantiation for _S_swap_lock.
634         * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
635         instantiation.
637 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
639         * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
640         and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
641         * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
642         for explicit instantiation of class std::basic_string<char,
643         gnu_char_traits, std::allocator<char> >.
645 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
647         * testsuite/22_locale/collate.cc: Compile-only.
648         * testsuite/22_locale/time_get.cc: Same.
649         * testsuite/22_locale/time_put.cc: Same.
650         * testsuite/22_locale/numpunct.cc: Same.
651         * testsuite/22_locale/num_put.cc: Same.
652         * testsuite/22_locale/num_get.cc: Same.
653         * testsuite/22_locale/moneypunct.cc: Same.
654         * testsuite/22_locale/money_get.cc: Same.
655         * testsuite/22_locale/messages.cc: Same.
656         * testsuite/22_locale/ctype.cc: Same.
658 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
660         * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
661         member instantiations.
663 2001-12-03  Steve Ellcey  <sje@cup.hp.com>
665         * libstdc++-v3/configure.in: Add support for hpux cross compiles,
666         combine common linux/hpux/generic cross compile support to reduce
667         redundent lines.
668         * libstdc++-v3/configure: Regenerate.
670 2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
672         * docs/html/ext/howto.html: Update commentary.
673         * include/bits/c++config: Update threading configuration comment.
674         (__STL_GTHREADS): Remove macro definition.
675         (__STL_THREADS): Likewise.
676         * include/bits/stl_threads.h: Leave only the configuration
677         path which had been guarded by __STL_GTHREADS.  Remove all
678         guards related to __STL_GTHREADS, __STL_SGI_THREADS,
679         __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
680         * include/bits/stl_alloc.h: Leave only the configuration path
681         which had been guarded by __STL_THREADS.  Remove configuration
682         path and guards for __STL_SGI_THREADS.
683         (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
684         (__NODE_ALLOCATOR_LOCK): Likewise.
685         (__NODE_ALLOCATOR_UNLOCK): Likewise.
686         (_NOTHREADS): Remove guards related to macro.
687         * include/ext/stl_rope.h: Remove configuration path and guards
688         for __STL_SGI_THREADS.
689         * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
691 2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
693         * docs/html/ext/howto.html:  Update list of implemented DRs.
694         * docs/html/ext/lwg-active.html:  Import R20 from upstream.
695         * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
697 2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
699         libstdc++/3150
700         DR/266
701         * libsupc++/exception (bad_exception::~bad_exception()): Remove
702         declaration.
703         * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
704         * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
705         (bad_typeid::~bad_typeid()): Remove.
706         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
707         (bad_typeid::~bad_typeid()): Same.
708         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
709         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
711         * include/bits/std_iomanip.h: Tweak.
713 2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
715         libstdc++/3655
716         * include/bits/locale_facets.tcc (__pad): Add bool parameter to
717         correctly pad internal-adjusted const char*-type objects.
718         * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
719         * include/bits/ostream.tcc (operator<<(_CharT , char, const
720         _CharT*, const char*, const basic_string&): Update calls.
721         * src/locale-inst.tcc: Update declarations.
722         * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
724 2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
726         * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
728 2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
730         * include/bits/locale_facets.tcc (num_get::do_get(long double)):
731         Fix __traits_type typo.
733 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
735         * include/bits/locale_facets.tcc (__pad): Correctly pad
736         internal-adjusted hex numbers.
737         * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
739 2001-11-28  Paolo Carlini <pcarlini@unitus.it>
740             Loren J. Rittle <ljrittle@acm.org>
742         * include/bits/basic_string.h
743         (basic_string::_Rep::__default_excess, _S_excess_slop):
744         Unused, remove.
745         * include/bits/basic_string.tcc: Remove dead code.
746         * include/bits/c++config: Remove comment.
748 2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
749             Jakub Jelinek  <jakub@redhat.com>
751         * config/locale/moneypunct_members_gnu.cc
752         (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
753         for ia64, others.
754         * config/locale/numpunct_members_gnu.cc
755         (numpunct<wchar_t>::_M_initialize_numpunct): Same.
757 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
759         * include/bits/locale_facets.tcc: Formatting tweaks.
761         * testsuite/23_containers/map_operators.cc: Don't xfail.
762         * testsuite/23_containers/set_operators.cc: Same.
763         * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
764         * testsuite/backward/header_deque_h.cc: Same.
766 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
767             Paolo Carlini  <pcarlini@unitus.it>
769         * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
770         Enforce allocation size blocking policy to reduce
771         fragmentation and enhance performance with common malloc
772         implementations.
774 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
776         Numeric facets cleanup.
777         * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
778         + and - signs.
779         (__num_base::_M_zero): Add
780         (__num_base::_M_e): Add.
781         (__num_base::_M_E): Add.
782         * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
783         (num_get::_M_extract_float): New.
784         (num_get::_M_extract_int): New.
785         * src/locale.cc (num_get::_M_extract): Remove.
787         * include/bits/locale_facets.tcc (num_put::_M_insert_float):
788         Simplify, use _M_insert.
789         (num_put::do_put(bool)): Simplify, remove __pad.
790         (__pad): Remove.
791         (__pad_output): Change to __pad.
792         * include/bits/ostream.tcc: And here.
793         * src/locale-inst: Remove instantiations.
795         * include/bits/locale_facets.h: Move helper functions in to class
796         num_put.
797         (num_put::_M_insert_float): Same, for __output_integer.
798         (num_put::_M_insert_int): Same, for __output_float.
799         (num_put::_M_insert): New.
800         (__num_base): Add.
801         (__num_base::_S_format_float): Move
802         __build_float_format into class __num_base.
803         (__num_base::_S_format_int): Move __build_int_format into class
804         __num_base.
805         * include/bits/locale_facets.tcc (__group_digits): Change to
806         (__add_grouping): This.
807         * src/locale-inst.cc: And here. Tweak instantiations.
808         * src/misc-inst.cc: Remove instantiations.
810         * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
811         for new calling conventions, move to...
812         * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
813         signature to make it useful for both ostream and num_put.
814         (__pad_numeric): Remove.
815         * src/misc-inst.cc: Remove instantiations.
816         * src/locale-inst.cc: Same.
818         * include/bits/locale_facets.h (_Numeric_get): Remove.
819         (_Numeric_put): Remove.
820         (num_get::get(short)): Remove.
821         (num_get::get(int)): Remove.
822         (num_get::do_get(short)): Remove.
823         (num_get::do_get(int)): Remove.
824         * include/bits/istream.tcc (istream::operator>>(short)): Fix as
825         per DR 118.
826         (istream::operator>>(int)): Same.
828         * include/bits/locale_facets.h (_Format_cache): Remove.
829         * include/bits/locale_facets.tcc: Same.
830         * src/locale.cc: Same.
831         * src/locale-inst.cc: Same.
832         * include/bits/ostream.tcc: Same.
833         * src/ios.cc (ios_base::imbue): Remove here as well.
835         * testsuite/22_locale/num_get.cc: New file.
836         * testsuite/22_locale/num_get_members_char.cc: New file.
837         * testsuite/22_locale/num_get_members_wchar_t.cc: New.
838         * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
839         * testsuite/22_locale/num_put.cc: New file.
840         * testsuite/22_locale/num_put_members_char.cc: New file.
841         * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
842         * testsuite/27_io/ostream_inserter_arith.cc: Fix.
843         * testsuite/27_io/istream_extractor_arith.cc: Fix.
845 2001-11-27  Phil Edwards  <pme@gcc.gnu.org>
847         * docs/html/explanations.html:  New section, empty for now.
848         * docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
849         * docs/html/23_containers/howto.html:  ...to here.  Break up and
850         rewrap threading discussion to emphasize warning.  Move malloc text...
851         * docs/html/ext/howto.html:  ...to here.  New section.  Describe
852         allocators and __USE_MALLOC effects.
853         * docs/html/ext/sgiexts.html:  Mention their code.
855 2001-11-24  Joseph S. Myers  <jsm28@cam.ac.uk>
857         * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
858         docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
859         changes.
861 2001-11-23  Phil Edwards  <pme@gcc.gnu.org>
863         * Makefile.am (doxygen-maint):  The script isn't executable in CVS.
864         * Makefile.in:  Regenerated.
865         * docs/doxygen/TODO:  New file listing doxygen work to be done.
866         * docs/doxygen/run_doxygen:  Fix up man pages.
867         * docs/doxygen/user.cfg.in:  Insert maint-only toggles.
868         * docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
869         * include/bits/stl_construct.h:  Use new hooks for internal functions.
871         * docs/html/17_intro/TODO:  Small updates.
872         * docs/html/faq/index.html:  Likewise.
873         * docs/html/faq/index.txt:  Regenerated.
875         * include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
876         SGI-isms and wrappers.
877         (simple_alloc, debug_alloc):  Uglify class names.
878         (__default_alloc_template):  Uglify "threads" template parameter and
879         update corresponding macros.
880         * include/backward/alloc.h:  Bring up to date.
882 2001-11-23  Jason Merrill  <jason@redhat.com>
884         * src/vterminate.cc (__verbose_terminate_handler): Add leading
885         underscores.
887 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
889         * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
890         docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
891         docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
892         docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
893         docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
894         docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
895         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
896         docs/html/21_strings/howto.html,
897         docs/html/23_containers/howto.html,
898         docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
899         docs/html/27_io/binary_iostreams_kuehl.txt,
900         docs/html/ext/sgiexts.html, docs/html/faq/index.html,
901         docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
902         include/bits/basic_file.h, include/bits/locale_facets.h,
903         include/bits/locale_facets.tcc, include/bits/std_sstream.h,
904         include/ext/ropeimpl.h, include/ext/stl_rope.h,
905         libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
906         libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
907         configure.target, ChangeLog-2000: Fix spelling errors.
909         * config/locale/moneypunct_members_gnu.cc,
910         include/bits/locale_facets.h: Fix spelling errors.
912 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
914         * testsuite/23_containers/list_capacity.cc: New file.
915         * testsuite/23_containers/list_ctor.cc: New file.
916         * testsuite/23_containers/list_modifiers.cc: New file.
917         * testsuite/23_containers/list_operators.cc: New file.
919 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
921         * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
922         (size): Replaced nonstandard distance() call with the standard one.
923         (transfer): Uglified to _M_transfer.
925 2001-11-21  Paolo Carlini  <pcarlini@unitus.it>
927         PR libstdc++/4548
928         * include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
929         below the current size.
930         * testsuite/21_strings/capacity.cc (test02):  Add test.
932 2001-11-19  Phil Edwards  <pme@gcc.gnu.org>
934         * docs/doxygen/Intro.3:  More notes.
935         * docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
936         * include/bits/stl_algobase.h:  Add doxygen hooks for functions.
937         * include/ext/hash_map:  Add @file hook.
938         * include/ext/hash_set:  Likewise.
939         * include/ext/rope:  Likewise.
940         * include/ext/ropeimpl.h:  Likewise.
941         * include/ext/slist:  Likewise.
942         * include/ext/stl_hash_fun.h:  Likewise.
943         * include/ext/stl_hashtable.h:  Likewise.
944         * include/ext/stl_rope.h:  Likewise.
946         * docs/html/17_intro/license.html:  Remove "experimental" sentence.
947         * docs/html/19_diagnostics/howto.html:  Document new verbose
948         terminate handler.
949         * testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
950         to more visible (closer to description) position.
952         * libsupc++/eh_type.cc:  Formatting tweak.
953         * libsupc++/exception:  Likewise.
954         * src/vterminate.cc:  Likewise.
956         * docs/html/17_intro/porting.html:  Regenerate.
957         * docs/html/faq/index.txt:  Regenerate.
959 2001-11-18  Jason Merrill  <jason@redhat.com>
961         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
962         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
963         * libsupc++/unwind-cxx.h: Adjust.
964         * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
966         * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
967         * libsupc++/cxxabi.h: Declare it.
968         * libsupc++/Makefile.am (sources): Add it.
969         * src/vterminate.cc (verbose_terminate_handler): New file.
970         * libsupc++/exception: Declare it.
971         * src/Makefile.am (sources): Add it.
973         * src/Makefile.am (VPATH): Check the src directory before the top one.
975 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
977         * include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
979 2001-11-16  Loren J. Rittle  <ljrittle@acm.org>
981         * docs/html/17_intro/howto.html (Thread-safety): Rename
982         section to ``The Standard C++ library and multithreading'' and
983         update information based on recent mailing list traffic.  Move
984         all discussion of __USE_MALLOC to...
985         * docs/html/23_containers/howto.html (Containers and multithreading):
986         ...here and rework it based on recent mailing list traffic.
988 2001-11-15  Loren J. Rittle  <ljrittle@acm.org>
990         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
991         wording.
993 2001-11-15  <bjornw@planetarion.com>
994             Loren J. Rittle  <ljrittle@acm.org>
996         libstc++/4219
997         * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
998         (single_client_alloc): Likewise.
1000 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
1002         * configure.target: Add os_include_dir for mingw32* target.
1003         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1004         from _GLIBCPP_AVOID_FSEEK.
1005         * config/os/mingw32/bits/ctype_base.h: New file.
1006         * config/os/mingw32/bits/ctype_inline.h: New file.
1007         * config/os/mingw32/bits/ctype_noninline.h: New file.
1008         * config/os/mingw32/bits/os_defines.h: New file.
1010 2001-11-07  Nathan Myers  <ncm@cantrip.org>
1012         * docs/html/faq/index.html (5.8):  New entry on ABIs.
1013         * docs/html/faq/index.txt:  Regenerate.
1015 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
1017         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
1018         bugfixes on Solaris.
1019         * docs/html/faq/index.txt:  Regenerate.
1021 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
1023         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
1024         LANG_CPLUSPLUS mode.
1025         * aclocal.m4:  Regenerate.
1026         * configure:  Regenerate.
1028 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
1030         * porting.texi:  Move...
1031         * docs/html/17_intro/porting.texi:  ...to here.
1032         * docs/html/Makefile:  Add rule to rebuild...
1033         * docs/html/17_intro/porting.html:  ...this.  New file.
1035 2001-11-05  Felix Natter  <fnatter@gmx.net>
1037         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
1038         * docs/html/17_intro/porting-howto.html:  regenerate
1040 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
1042         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1043         when platform supports __GTHREAD_MUTEX_INIT.
1045 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1047         * acconfig.h:  Update comments.
1048         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
1049         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
1050         * aclocal.m4:  Regenerate.
1051         * config.h.in:  Regenerate.
1052         * configure:  Regenerate.
1054         * include/bits/boost_concept_check.h:  Unconditionally compile uses
1055         of 'long long' which require only compiler support, not C lib support.
1056         * include/bits/cpp_type_traits.h:  Likewise.
1057         * include/bits/std_limits.h:  Likewise.
1058         * include/bits/type_traits.h:  Likewise.
1059         * src/concept-inst.cc:  Likewise.
1060         * src/limits.cc:  Likewise.
1061         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
1062         instead of _GLIBCPP_USE_LONG_LONG.
1063         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
1065 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1067         * config/io/c_io_stdio.h:  Correct grammar in comments.
1068         * docs/doxygen/Intro.3:  Expand "top-level" man page.
1069         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
1070         * docs/doxygen/mainpage.doxy:  Tweaks.
1071         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
1073         Add @file hooks so that headers are considered to be documented.
1074         * include/bits/basic_ios.h, include/bits/basic_file.h,
1075         include/bits/basic_string.h, include/bits/boost_concept_check.h,
1076         include/bits/char_traits.h, include/bits/codecvt.h,
1077         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1078         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1079         include/bits/indirect_array.h, include/bits/ios_base.h,
1080         include/bits/locale_facets.h, include/bits/localefwd.h,
1081         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1082         include/bits/slice.h, include/bits/slice_array.h,
1083         include/bits/std_algorithm.h, include/bits/std_bitset.h,
1084         include/bits/std_complex.h, include/bits/std_deque.h,
1085         include/bits/std_fstream.h, include/bits/std_functional.h,
1086         include/bits/std_iomanip.h, include/bits/std_ios.h,
1087         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1088         include/bits/std_istream.h, include/bits/std_iterator.h,
1089         include/bits/std_limits.h, include/bits/std_list.h,
1090         include/bits/std_locale.h, include/bits/std_map.h,
1091         include/bits/std_memory.h, include/bits/std_numeric.h,
1092         include/bits/std_ostream.h, include/bits/std_queue.h,
1093         include/bits/std_set.h, include/bits/std_sstream.h,
1094         include/bits/std_stack.h, include/bits/std_streambuf.h,
1095         include/bits/std_string.h, include/bits/std_utility.h,
1096         include/bits/std_valarray.h, include/bits/std_vector.h,
1097         include/bits/stl_algo.h, include/bits/stl_alloc.h,
1098         include/bits/stl_bvector.h, include/bits/stl_construct.h,
1099         include/bits/stl_deque.h, include/bits/stl_heap.h,
1100         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1101         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1102         include/bits/stl_map.h, include/bits/stl_multimap.h,
1103         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1104         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1105         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1106         include/bits/stl_relops.h, include/bits/stl_set.h,
1107         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1108         include/bits/stl_threads.h, include/bits/stl_tree.h,
1109         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1110         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1111         include/bits/stringfwd.h, include/bits/type_traits.h,
1112         include/bits/valarray_array.h, include/bits/valarray_meta.h:
1113         Add hooks, tweak comments only.
1115         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
1116         document these functions.
1117         * include/bits/stl_function.h:  Tweak link comments.
1119 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
1120             Benjamin Kosnik  <bkoz@redhat.com>
1122         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1123         output.
1124         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1126 2001-11-01  Egor Duda  <deo@logos-m.ru>
1128         * config/os/newlib/bits/ctype_noninline.h
1129         (ctype<char>::do_toupper(char __c)): Check for proper character class.
1130         (ctype<char>::do_tolower(char __c)): Ditto.
1132 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
1134         * acinclude.m4:  Fix spacing.
1135         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
1136         * configure.in:  Call here.
1137         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
1138         * include/bits/boost_concept_check.h:  Fix headers.
1139         (__function_requires):  Make inline.
1140         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
1141         * aclocal.m4:  Regenerate.
1142         * config.h.in:  Regenerate.
1143         * configure:  Regenerate.
1145         Move trailing ';' inside macro, PR libstdc++/3666.
1146         * include/bits/concept_check.h:  Add semicolon.
1147         * include/bits/stl_algo.h:  Remove semicolon.
1148         * include/bits/stl_algobase.h:  Likewise.
1149         * include/bits/stl_deque.h:  Likewise.
1150         * include/bits/stl_heap.h:  Likewise.
1151         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1152         * include/bits/stl_list.h:  Likewise.
1153         * include/bits/stl_map.h:  Likewise.
1154         * include/bits/stl_multimap.h:  Likewise.
1155         * include/bits/stl_multiset.h:  Likewise.
1156         * include/bits/stl_numeric.h:  Likewise.
1157         * include/bits/stl_queue.h:  Likewise.
1158         * include/bits/stl_set.h:  Likewise.
1159         * include/bits/stl_stack.h:  Likewise.
1160         * include/bits/stl_vector.h:  Likewise.
1161         * include/ext/hash_map:  Likewise.
1162         * include/ext/hash_set:  Likewise.
1163         * include/ext/slist:  Likewise.
1165         * src/concept-inst.cc:  New file with explicit instantiations.
1166         * src/Makefile.am (sources):  Add here, with special build rules.
1167         * src/Makefile.in:  Regenerate.
1169 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1171         * include/bits/std_complex.h (_Norm_helper): New class template.
1172         (norm): Tweak.
1173         (abs): Tweak. Fix Thinko.
1175 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
1177         libstdc++/4749
1178         * include/bits/codecvt.h: Add virtual member function declarations.
1179         * src/codecvt.cc: Tweaks.
1180         * testsuite/22_locale/codecvt.cc: Test compilation only,
1181         non-required facets not required to have linkage.
1183 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
1185         libstdc++/4622
1186         * include/bits/std_complex.h (complex::operator/=): Correct sign.
1188 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
1189             Benjamin Kosnik  <bkoz@redhat.com>
1191         libstdc++/4354
1192         * include/bits/basic_string.h: Tweaks.
1193         * include/bits/basic_string.tcc (string::_M_replace(iterator,
1194         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1195         * src/string-inst.cc: Tweaks, add instantiation.
1196         * testsuite/21_strings/replace.cc (test02): Add test.
1197         * testsuite/21_strings/assign.cc (test01): New file.
1199 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
1201         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1202         __throw_exception_again.
1203         (_M_new_elements_at_back): Likewise.
1205 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1207         libstdc++/3647
1208         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1209         * testsuite/27_io/filebuf.cc (test07): New test.
1210         (test03): Modify showmanyc test.
1212 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1214         libstdc++/4503
1215         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1216         (__enc_traits::~__enc_traits): Fix.
1217         (__enc_traits::_M_init): Add error checking.
1219 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1221         libstdc++/4542
1222         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1224 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1226         libstdc++/4545
1227         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1228         exceptions.
1229         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1230         consistent, where possible.
1231         * include/bits/streambuf.tcc: Tweak.
1233 2001-10-25  Brendan Kehoe  <brendan@zen.org>
1235         libstdc++/4536
1236         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1237         * bits/istream.tcc (seekg): Likewise.
1239 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1240             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1241             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1243         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1244         __s390x__ only.
1245         * include/bits/std_limits.h: Fix wchar_t issues.
1246         * config/os/aix/bits/os_defines.h: Fix.
1248 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1250         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1252 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
1254         * docs/html/documentation.html:  Fix typo.
1256 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1258         Make -fno-exceptions work.
1259         * config/locale/c_locale_gnu.cc: Use functexcept.
1260         * include/bits/c++config (__stl_assert): Remove.
1261         (__STL_USE_EXCEPTIONS): Same.
1262         (__STL_TRY): Same.
1263         (__STL_CATCH_ALL): Same.
1264         (__STL_THROW): Same.
1265         (__STL_RETHROW): Same.
1266         (__STL_NOTHROW): Same.
1267         (__STL_UNWIND): Same.
1268         * include/bits/pthread_allocimpl.h: Fix.
1269         * include/bits/std_bitset.h: Same.
1270         * include/bits/std_list.h: Same.
1271         * include/bits/std_memory.h: Same.
1272         * include/bits/std_queue.h: Same.
1273         * include/bits/stl_alloc.h: Same.
1274         * include/bits/stl_deque.h: Same.
1275         * include/bits/stl_list.h: Same.
1276         * include/bits/stl_queue.h: Same.
1277         * include/bits/stl_tempbuf.h: Same.
1278         * include/bits/stl_tree.h: Same.
1279         * include/bits/stl_uninitialized.h: Same.
1280         * include/bits/stl_vector.h: Same.
1281         * include/ext/ropeimpl.h: Same.
1282         * include/ext/slist: Same.
1283         * include/ext/stl_hashtable.h: Same.
1284         * include/ext/stl_rope.h: Same.
1285         * libsupc++/new_op.cc: Include cstdlib.
1286         * libsupc++/eh_personality.cc: Add exception_defines include. Use
1287         __throw_exception_again, tweak.
1288         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1289         * libsupc++/vec.cc: Tweak.
1290         * src/functexcept.cc: Remove unused arguments.
1291         * testsuite/23_containers/bitset_members.cc: Tweak.
1293 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
1295         * config/cpu/i386/bits/limits.h: Move to...
1296         * config/cpu/i386/bits/cpu_limits.h: ...here.
1297         * config/cpu/cris/bits/cpu_limits.h: Same.
1298         * config/cpu/powerpc/bits/cpu_limits.h: Same.
1299         * config/cpu/x86-64/bits/cpu_limits.h: Same.
1300         * config/cpu/alpha/bits/cpu_limits.h: New.
1301         * config/cpu/m68k/bits/cpu_limits.h: New.
1302         * config/cpu/s390/bits/cpu_limits.h: New.
1303         * config/os/aix/bits/os_defines.h: Tweaks.
1304         * config/os/bsd/freebsd/bits/os_defines.h: Same.
1305         * config/os/bsd/netbsd/bits/os_defines.h: Same.
1306         * config/os/djgpp/bits/os_defines.h: Same.
1307         * config/os/generic/bits/os_defines.h: Same.
1308         * config/os/gnu-linux/bits/os_defines.h: Same.
1309         * config/os/hpux/bits/os_defines.h: Same.
1310         * config/os/irix/irix5.2/bits/os_defines.h: Same.
1311         * config/os/irix/irix6.5/bits/os_defines.h: Same.
1312         * config/os/newlib/bits/os_defines.h: Same.
1313         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1314         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1315         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1317         * include/bits/c++config: Remove include.
1318         * include/bits/limits_generic.h: Remove.
1319         * include/bits/std_limits.h: Include cpu_limits.h.
1320         * include/Makefile.am: Fixup.
1321         * src/limits.cc: Tweak.
1322         * src/limits_generic.cc: Remove.
1323         * src/gen-num-limits.cc: Remove.
1324         * mknumeric_limits: Remove.
1326 2001-10-20  Brendan Kehoe  <brendan@zen.org>
1328         * bits/type_traits.h (_Bool): Removed this type.
1329         (__true_type, __false_type): Change to be plain structs.
1330         * src/string-inst.cc (__destroy_aux): Change third parm to be
1331         __false_type instead of _Bool<false>.
1332         * src/misc-inst.cc (__uninitialized_fill_n_aux,
1333         __uninitialized_copy_aux): Likewise.
1335 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1337         * mkcheck.in (static_fail): Remove older memory limit functionality.
1338         Disable E_TIME due to formatting issues.
1340         * README: Update.
1342 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1344         * include/bits/std_complex.h: Default initialize second argument
1345         of polar to 0, as specified in Library DR #79
1347 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1349         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1350         _Construct instead of construct.
1352 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1354         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1355         __n being non-zero, since the standard does not mandate that.
1356         e.g., a search for "" in "" should yield position 0, not npos.
1357         (find_last_not_of): Likewise.
1359 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1361         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1362         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1364 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1366         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1367         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1369 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1371         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1372         template parameter _ValueType.
1374 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1376         * include/bits/std_limits.h: Clean up extra semicolons.
1377         * include/bits/locale_facets.h: Likewise.
1378         * include/bits/type_traits.h: Likewise.
1380 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1382         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1383         * include/bits/locale_facets.tcc (locale::combine): Likewise.
1385 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1387         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1388         Declare specializations for char, wchar_t.
1390 2001-10-19  Andreas Jaeger  <aj@suse.de>
1392         * config/cpu/x86-64/bits/limits.h: New file.
1393         * config/cpu/x86-64/bits/atomicity.h: New file.
1394         * configure.target: Add x86-64.
1396 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
1398         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
1399         why).  Add link to recent message.
1400         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
1401         markup.
1402         * docs/html/faq/index.txt:  Regenerate.
1404 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
1406         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1407         based on Nathan's review.  Use Nathan's words.
1409 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
1411         * docs/html/configopts.html: Quote StyleSheet attribute values.
1412         * docs/html/documentation.html: Likewise.
1413         * docs/html/explanations.html: Likewise.
1414         * docs/html/install.html: Likewise.
1415         * docs/html/17_intro/howto.html: Likewise.
1416         * docs/html/17_intro/license.html: Likewise.
1417         * docs/html/18_support/howto.html: Likewise.
1418         * docs/html/19_diagnostics/howto.html: Likewise.
1419         * docs/html/20_util/howto.html: Likewise.
1420         * docs/html/21_strings/howto.html: Likewise.
1421         * docs/html/22_locale/howto.html: Likewise.
1422         * docs/html/23_containers/howto.html: Likewise.
1423         * docs/html/24_iterators/howto.html: Likewise.
1424         * docs/html/25_algorithms/howto.html: Likewise.
1425         * docs/html/26_numerics/howto.html: Likewise.
1426         * docs/html/27_io/howto.html: Likewise.
1427         * docs/html/ext/howto.html: Likewise.
1428         * docs/html/ext/sgiexts.html: Likewise.
1429         * docs/html/faq/index.html: Likewise.
1431 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
1433         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1434         * docs/html/23_containers/howto.html (Containers and multithreading):
1435         Update.
1437 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1439         * docs/html/17_intro/howto.html:  Tweak markup and value type.
1440         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
1441         nonzero arguments, add new note on threading.
1442         * docs/html/faq/index.html:  Update.
1443         * docs/html/faq/index.txt:  Regenerate.
1445 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1447         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
1448         * docs/html/documentation.html:  Likewise.
1449         * docs/html/explanations.html:  Likewise.
1450         * docs/html/install.html:  Likewise.
1451         * docs/html/17_intro/howto.html:  Likewise.
1452         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
1453         * docs/html/18_support/howto.html:  Likewise.
1454         * docs/html/19_diagnostics/howto.html:  Likewise.
1455         * docs/html/20_util/howto.html:  Likewise.
1456         * docs/html/21_strings/howto.html:  Likewise.
1457         * docs/html/22_locale/howto.html:  Likewise.
1458         * docs/html/23_containers/howto.html:  Likewise.
1459         * docs/html/24_iterators/howto.html:  Likewise.
1460         * docs/html/25_algorithms/howto.html:  Likewise.
1461         * docs/html/26_numerics/howto.html:  Likewise.
1462         * docs/html/27_io/howto.html:  Likewise.
1463         * docs/html/ext/howto.html:  Likewise.
1464         * docs/html/ext/sgiexts.html:  Likewise.
1465         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
1466         * docs/html/faq/index.txt:  Regenerate.
1468 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
1470         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1471         spelling errors of "separate" as "seperate", and corresponding
1472         spelling errors of related words.
1473         * docs/html/faq/index.txt: Regenerate.
1475 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
1477         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
1478         unused function.
1479         * config/cpu/arm/bits/atomicity.h:  Likewise.
1480         * config/cpu/generic/bits/atomicity.h:  Likewise.
1481         * config/cpu/i486/bits/atomicity.h:  Likewise.
1482         * config/cpu/ia64/bits/atomicity.h:  Likewise.
1483         * config/cpu/mips/bits/atomicity.h:  Likewise.
1484         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
1485         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
1486         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
1488 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1490         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
1491         * docs/html/faq/index.txt:  Regenerate.
1493 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1495         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
1496         * docs/html/17_intro/license.html:  New file.  Explain the licenses
1497         in use.
1499         * docs/html/configopts.html:  Link to license.html.
1500         * docs/html/documentation.html:  Likewise.
1501         * docs/html/explanations.html:  Likewise.
1502         * docs/html/install.html:  Likewise.
1503         * docs/html/17_intro/howto.html:  Likewise.
1504         * docs/html/18_support/howto.html:  Likewise.
1505         * docs/html/19_diagnostics/howto.html:  Likewise.
1506         * docs/html/20_util/howto.html:  Likewise.
1507         * docs/html/21_strings/howto.html:  Likewise.
1508         * docs/html/22_locale/howto.html:  Likewise.
1509         * docs/html/23_containers/howto.html:  Likewise.
1510         * docs/html/24_iterators/howto.html:  Likewise.
1511         * docs/html/25_algorithms/howto.html:  Likewise.
1512         * docs/html/26_numerics/howto.html:  Likewise.
1513         * docs/html/27_io/howto.html:  Likewise.
1514         * docs/html/ext/howto.html:  Likewise.
1515         * docs/html/ext/sgiexts.html:  Likewise.
1516         * docs/html/faq/index.html:  Likewise.  New question, linking to
1517         the new license.html.
1519 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1521         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
1522         * docs/html/18_support/howto.html:  Likewise.
1523         * docs/html/19_diagnostics/howto.html:  Likewise.
1524         * docs/html/20_util/howto.html:  Likewise.
1525         * docs/html/21_strings/howto.html:  Likewise.
1526         * docs/html/22_locale/howto.html:  Likewise.
1527         * docs/html/23_containers/howto.html:  Likewise.
1528         * docs/html/24_iterators/howto.html:  Likewise.
1529         * docs/html/25_algorithms/howto.html:  Likewise.
1530         * docs/html/26_numerics/howto.html:  Likewise.
1531         * docs/html/27_io/howto.html:  Likewise.
1532         * docs/html/ext/howto.html:  Likewise.
1533         * docs/html/faq/index.html:  Likewise.  Spacing fix.
1535 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
1537         * include/bits/stl_threads.h (_Atomic_swap): New function.
1538         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1539         * testsuite/ext/rope.cc: New file.
1541 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
1543         * config/locale/time_members_gnu.h: Remove.
1544         * config/locale/time_members_generic.h: Remove.
1545         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1546         * config/locale/time_members_generic.cc: Same.
1547         * include/bits/locale_facets.h: Add data members.
1548         (__timepunct::_M_put_helper): Change signature.
1549         (__timepunct::_M_date_formats): Same.
1550         (__timepunct::_M_time_formats): Same.
1551         (__timepunct::_M_ampm): Add.
1552         (__timepunct::_M_date_time_formats): Add.
1553         (time_get::_M_extract_via_format): Add.
1554         (time_get::_M_extract_time): Change to...
1555         (time_get::_M_extract_num): ... this, modify signature.
1556         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1557         (time_get::do_get_time): Fix.
1558         (time_get::do_get_date): Fix.
1560         * acinclude.m4: Remove CTIME_H.
1561         * aclocal.m4: Regenerate.
1562         * include/Makefile.am: Same.
1563         * include/Makefile.in: Regenerate.
1564         * configure: Regenerate.
1566         * testsuite/22_locale/time_get_members_char.cc: Fix.
1567         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1568         * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1570 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
1572         * config/cpu/cris/bits/atomicity.h: Correct file header.
1574 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
1576         * configure.target (LIMITSH): Set for cris.
1577         (cpu_include_dir): Set for cris-*-*.
1578         * config/cpu/cris/bits/atomicity.h: New file.
1579         * config/cpu/cris/bits/limits.h: New file.
1581 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
1583         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1584         (__timepunct::_M_put_helper): Add.
1585         * config/locale/time_members_generic.h: Same.
1586         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1587         (__timepunct): Add data members.
1588         (__timepunct::_M_days): Add.
1589         (__timepunct::_M_days_abbreviated): Add.
1590         (__timepunct::_M_months): Add.
1591         (__timepunct::_M_months_abbreviated): Add.
1592         (__timepunct::_M_initialize_timepunct): Add.
1593         * include/bits/locale_facets.tcc: Same.
1594         * src/locale-inst.cc: Remove instantiations for __match_parallel.
1595         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1596         * aclocal.m4: Regenerate.
1597         * configure: Regenerate.
1598         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1599         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1600         * testsuite/22_locale/time_get.cc: New file.
1602 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1604         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1605         correct multilib builddir.
1606         Properly locate libgcc_s.
1608 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
1610         * include/std/*:  Add Doxygen hooks.
1611         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
1612         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
1613         rather than using a generated index.
1614         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
1615         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
1616         * docs/doxygen/stdheader.cc:  ...this new file.
1618 2001-09-26  Stan Shebs  <shebs@apple.com>
1620         * include/Makefile.am: Remove RCS Id strings.
1621         * src/Makefile.am: Ditto.
1622         * docs/doxygen/run_doxygen: Ditto.
1623         * docs/html/configopts.html: Ditto.
1624         * docs/html/documentation.html: Ditto.
1625         * docs/html/explanations.html: Ditto.
1626         * docs/html/install.html: Ditto.
1627         * docs/html/17_intro/howto.html: Ditto.
1628         * docs/html/18_support/howto.html: Ditto.
1629         * docs/html/19_diagnostics/howto.html: Ditto.
1630         * docs/html/20_util/howto.html: Ditto.
1631         * docs/html/21_strings/howto.html: Ditto.
1632         * docs/html/22_locale/howto.html: Ditto.
1633         * docs/html/23_containers/howto.html: Ditto.
1634         * docs/html/24_iterators/howto.html: Ditto.
1635         * docs/html/25_algorithms/howto.html: Ditto.
1636         * docs/html/26_numerics/howto.html: Ditto.
1637         * docs/html/27_io/howto.html: Ditto.
1638         * docs/html/ext/howto.html: Ditto.
1639         * docs/html/ext/sgiexts.html: Ditto.
1640         * docs/html/faq/index.html: Ditto.
1641         * docs/html/faq/index.txt: Ditto.
1643 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
1645         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
1646         `carray' size.
1648 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
1650         * docs/html/20_util/howto.html:  Add anchor name.
1651         * docs/html/23_containers/howto.html:  Line wrapping, another link.
1652         * docs/html/25_algorithms/howto.html:  Another note.
1654         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
1655         link to them...
1656         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
1657         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
1658         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
1659         carried over to libstdc++-v3.
1660         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
1661         "missing .." pseudobug.
1662         * docs/html/faq/index.txt:  Regenerate.
1664         * include/bits/ios_base.h:  DR-related comment cleanup.
1665         * include/bits/istream.tcc:  Likewise.
1666         * include/bits/locale_facets.h:  Likewise.
1667         * include/bits/locale_facets.tcc:  Likewise.
1668         * include/bits/ostream.tcc:  Likewise.
1669         * include/bits/std_bitset.h:  Likewise.
1670         * include/bits/std_iosfwd.h:  Likewise.
1671         * include/bits/std_istream.h:  Likewise.
1672         * include/bits/std_ostream.h:  Likewise.
1673         * include/bits/std_streambuf.h:  Likewise.
1674         * include/bits/stl_pair.h:  Likewise.
1675         * include/bits/streambuf_iterator.h:  Likewise.
1677         * include/bits/std_map.h:  Remove unused header inclusion guard
1678         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1679         * include/bits/std_set.h:  Likewise.
1681         * include/bits/stl_function.h:  Doxygen markup.
1682         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
1683         * libsupc++/typeinfo:  Doxygen markup tweak.
1685 2001-09-20  Scott Johnston <scott@accom.com>
1686             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1688         * include/backward/alloc.h: Conditionally define malloc_alloc
1689         * testsuite/backward/header_deque_h.cc: New file.
1691 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1693         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1694         change variable name so that it works with -fno-for-scope.
1696 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
1698         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1699         redundant sanity checks.
1700         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1701         (test02): Same.
1702         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1703         (test02): Same.
1704         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1705         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1706         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1707         (test02): Same.
1708         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1709         (test02): Same.
1711 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
1713         Implement std::time_put.
1714         * include/bits/locale_facets.h: Include time_members.h.
1715         (__timepunct): New.
1716         (time_put): Implement.
1717         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1718         * include/bits/localefwd.h: Bump number of facets.
1719         * config/locale/time_members_generic.h: New file.
1720         * config/locale/time_members_gnu.h: New file.
1721         * config/locale/c_locale_generic.h: Include clocale.
1722         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1723         * src/locale.cc: Add __timepunct initializations.
1724         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1725         * include/Makefile.am (stamp-target): Add time_members.h.
1726         * include/Makefile.in: Regenerate.
1727         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1728         * aclocal.m4: Regenerate.
1729         * configure: Regenerate.
1730         * testsuite/22_locale/time_put.cc: New file.
1731         * testsuite/22_locale/time_put_members_char.cc: New file.
1733         * docs/html/22_locale/locale.html: Add note.
1735 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
1737         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
1738         * docs/html/documentation.html:  Likewise.
1739         * docs/html/explanations.html:  Likewise.
1740         * docs/html/install.html:  Likewise.
1741         * docs/html/17_intro/howto.html:  Likewise.
1742         * docs/html/18_support/howto.html:  Likewise.
1743         * docs/html/19_diagnostics/howto.html:  Likewise.
1744         * docs/html/20_util/howto.html:  Likewise.
1745         * docs/html/21_strings/howto.html:  Likewise.
1746         * docs/html/22_locale/codecvt.html:  Likewise.
1747         * docs/html/22_locale/ctype.html:  Likewise.
1748         * docs/html/22_locale/howto.html:  Likewise.
1749         * docs/html/22_locale/locale.html:  Likewise.
1750         * docs/html/22_locale/messages.html:  Likewise.
1751         * docs/html/23_containers/howto.html:  Likewise.
1752         * docs/html/24_iterators/howto.html:  Likewise.
1753         * docs/html/25_algorithms/howto.html:  Likewise.
1754         * docs/html/26_numerics/howto.html:  Likewise.
1755         * docs/html/27_io/howto.html:  Likewise.
1756         * docs/html/ext/howto.html:  Likewise.
1757         * docs/html/faq/index.html:  Likewise.
1758         * docs/html/faq/index.txt:  Regenerated.
1760 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
1762         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
1763         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
1764         * docs/html/18_support/howto.html:  It won't compile; it's not code.
1765         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
1766         doxygen'd pages.
1767         * docs/html/22_locale/howto.html:  Comment for future work.
1768         * docs/html/23_containers/howto.html:  More comments.
1769         * docs/html/25_algorithms/howto.html:  It's a comment, not a
1770         blunt command to the reader.  (English grammar.)
1772 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1774         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1775         wchar_t members.
1776         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1777         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1779 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1781         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1783 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
1785         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1786         * testsuite/22_locale/money_put_members_char.cc: Likewise.
1787         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1789 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
1791         Implement std::money_get.
1792         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1793         * include/bits/locale_facets.h (money_get): Correct signatures.
1794         * testsuite/22_locale/money_get.cc: New file.
1795         * testsuite/22_locale/money_get_members_char.cc: New file.
1797         * include/bits/locale_facets.tcc (__verify_grouping): New
1798         function. Consolidate num_get and money_get group checking into
1799         one function.
1800         (money_get): Use it.
1801         * src/locale.cc (num_get::_M_extract): Use it.
1802         * src/locale-inst.cc: Add instantiation.
1804 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1806         * include/bits/std_limits.h (numeric_limits<float>::radix,
1807         numeric_limits<float>::epsilon:  Fix thinko.
1809 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1811         * configure.in: Fix cross compiling math routines. Correct
1812         comments for cross compiling and limits. Add floating point math
1813         routines found in newlib.
1814         * configure: Regenerate.
1815         * acconfig.h: Add macros.
1816         * config.h.in: Regenerate.
1818 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1820         * config/locale/moneypunct_members_generic.cc
1821         (money_base::_S_construct_pattern): Remove unused parameters.
1823 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1825         * include/Makefile.am (stamp-target): Remove link to self.
1826         * inclulde/Makefile.in: Regenerate.
1828 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
1830         Implement std::money_put.
1831         * include/bits/locale_facets.h
1832         (moneypunct::_M_initialize_moneypunct): Split up specializations
1833         to account for _Intl.  More grody hacking to get around the
1834         ill-considered use of const bool as a template parameter.
1835         * config/locale/moneypunct_members_gnu.cc: And here.
1836         * config/locale/moneypunct_members_generic.cc: And here.
1837         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1838         * testsuite/22_locale/moneypunct.cc: Add tests.
1839         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1840         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1842         * src/locale.cc (money_base::_S_construct_pattern): Move into
1843         gnu-specific file.
1844         * config/locale/moneypunct_members_gnu.cc: Add here.
1845         * config/locale/moneypunct_members_generic.cc: Add generic version
1846         here.
1848         * include/bits/locale_facets.tcc (money_put::do_put): Move member
1849         function definitions here.
1850         * include/bits/locale_facets.h (money_put): Implement.
1851         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1852         Correct money_get, money_put instantiations.
1853         * src/locale.cc (money_base::_S_construct_pattern): Handle case
1854         where __posn == 0.
1855         * testsuite/22_locale/money_put_members_char.cc: Add tests.
1857 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
1859         * testsuite_flags.in:  No longer need to search testsuite builddir.
1860         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
1861         * Makefile.am:  The testsuite directory never needs to be made here.
1862         * Makefile.in:  Regenerate.
1863         * include/Makefile.in:  Regenerate.
1864         * libio/Makefile.in:  Regenerate.
1865         * libmath/Makefile.in:  Regenerate.
1866         * libsupc++/Makefile.in:  Regenerate.
1867         * po/Makefile.in:  Regenerate.
1868         * src/Makefile.in:  Regenerate.
1869         * testsuite/Makefile.in:  Regenerate.
1871 2001-09-04  Scott Johnston  <scott@accom.com>
1872             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1874         * include/backward/iterator.h: Include <bits/std_iterator.h>,
1875         remove reverse_bidirectional_iterator.
1876         * testsuite/backward: New directory.
1877         * testsuite/backward/header_iterator_h.cc: New file.
1879 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
1881         * include/c_std/bits/std_c*.h: Don't use include_next.
1883 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
1885         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1886         tmp from _Unwind_Ptr to _Unwind_Word.
1888 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
1890         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1891         leb128 handling.
1893 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
1895         * include/Makefile.am: Use toplevel_srcdir to refer to src files
1896         outside this component.
1897         * include/Makefile.in: Regenerate.
1899 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
1901         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1902         * config/locale/c_locale_generic.cc: Same.
1903         * config/locale/moneypunct_members_gnu.cc: New file.
1904         * config/locale/moneypunct_members_generic.cc: New file.
1905         * config/locale/numpunct_members_gnu.cc: New file.
1906         * config/locale/numpunct_members_generic.cc: New file.
1907         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1908         options.
1909         * aclocal.m4: Regenerate.
1910         * configure: Regenerate.
1911         * src/Makefile.am (sources): And here.
1912         * src/Makefile.in: Regenerate.
1914         Rename for consistency with rest of testsuite.
1915         * testsuite/22_locale/codecvt.cc: New file.
1916         * testsuite/22_locale/money_put.cc: New file.
1917         * testsuite/22_locale/money_put_members_char.cc: New file.
1919 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
1921         PR libstdc++/4143
1922         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
1923         correctly for version-specific-runtime-libs.
1924         * aclocal.m4:  Regenerate.
1925         * configure:  Regenerate.
1927 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
1929         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1930         define if not already provided by per-OS file.
1931         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1932         Define.
1934 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
1936         * docs/html/17_intro/C++STYLE:  Fix typo.
1938 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
1940         * docs/html/23_containers/howto.html:  Describe implementation of
1941         insertion with hints.
1943 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
1945         libstdc++/3740
1946         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1948 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1949             Phil Edwards  <pme@sources.redhat.com>
1951         PR libstdc++/3349
1952         * include/bits/stl_tree.h (insert_unique):  Revert last change.
1953         Values inserted at begin() must be less, not greater, than *begin()'s.
1954         * testsuite/23_containers/map_insert.cc:  New file.
1956 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
1958         * config/locale/c_locale_gnu.cc: Minor tweaks.
1959         (moneypunct<wchar_t>): Implement.
1960         * include/bits/locale_facets.h: Same.
1961         * testsuite/22_locale/moneypunct.cc: New file.
1962         * testsuite/22_locale/moneypunct_byname.cc: New file.
1963         * testsuite/22_locale/moneypunct_char_members.cc: New file.
1965 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
1967         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1968         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1970 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
1972         * testsuite_flags.in (build-includes): Re-add backward.
1974 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
1976         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1977         with _GLIBCPP_USE_WCHAR_T.
1979 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
1981         * testsuite/22_locale/collate_byname.cc (test01): Fix.
1983 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
1985         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1987 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
1989         * testsuite/22_locale/operators.cc: Add test.
1991 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
1993         Implement std::collate.
1994         * config/locale/collate_specializations_gnu.cc: Add here, implement in
1995         MT-safe way.
1996         * config/locale/collate_specializations_generic.cc: Add here, but
1997         in a less sophisticated manner.
1998         * include/bits/locale_facets.tcc (collate): Add generic definition.
1999         * include/bits/locale_facets.h (~collate): Mark virtual.
2000         (collate::_M_compare_helper): New.
2001         (collate::_M_transform_helper): New.
2002         * src/locale.cc: Remove unnecessary specializations.
2003         * src/string-inst.cc: Tweak instantiation of ctors.
2005         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2006         * aclocal.m4: Regenerate.
2007         * configure: Regenerate.
2008         * src/Makefile.am (sources): Add collate.cc.
2009         * src/Makefile.in: Regenerate.
2011         * testsuite/22_locale/collate_byname.cc: New.
2012         * testsuite/22_locale/collate.cc: New file.
2013         * testsuite/22_locale/collate_char_members.cc: New file.
2014         * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2016 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2018         * configure.target: Set LIMITSH for powerpc-*-*.
2019         * config/cpu/powerpc/bits/limits.h: New file.
2021 2001-08-16  Marc Espie <espie@openbsd.org>
2023         * configure.in:  Check for <sys/types.h>.
2024         * configure:  Rebuild.
2025         * config.h.in:  Rebuild.
2026         * libmath/mathconf.h:  Include <sys/types.h> prior to
2027         <machine/endian.h> if available.
2029 2001-08-15  Andreas Schwab  <schwab@suse.de>
2031         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2032         m68k and m680[246]0.
2033         * config/cpu/m68k/bits/atomicity.h: New file.
2035         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2036         Define appropriate long double limits for m68k extended floating
2037         point.
2038         (__glibcpp_f32_digits10): Corrected, off by one.
2039         (__glibcpp_f80_digits10): Likewise.
2040         (__glibcpp_f128_digits10): Likewise.
2041         * config/os/gnu-linux/bits/os_defines.h
2042         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2044 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2046         * testsuite/18_support/numeric_limits.cc: Add more tests.
2047         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2048         typo.
2050 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
2052         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2053         for s390 and s390x.
2055         * config/cpu/s390/bits/atomicity.h: New.
2057 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
2059         * include/bits/std_limits.h: Fix thinko.
2061 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
2063         * include/Makefile.am: Consolidate target rules. Don't clean stamp
2064         files. Tweak target build directory stamp.
2065         * include/Makefile.in: Regenerate.
2067 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2069         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2070         _GBLICPP_HAVE_LOGL with HAVE_LOGL
2072 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
2074         * configure.in (libtool_VERSION): Add.
2075         (VERSION): Change to
2076         (release_VERSION): This.
2077         * configure: Regenerate.
2078         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2079         libtool_VERSION.
2080         * src/Makefile.in: Regenerate.
2082         * intl/Makefile.am: Remove.
2083         * intl/Makefile.in: Remove.
2084         * intl: Remove.
2085         * Makefile.am (SUBDIRS): Remove intl.
2086         * po/Makefile.am (DISTFILES): Add string_literals.cc
2087         (MSGFMT): Add.
2088         * po/string_literals.cc: Add.
2089         * po/POTFILES.in: Fix path.
2090         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2091         * aclocal.m4: Regenerate.
2092         * configure.in: Remove AC_OUTPUT of intl/Makefile.
2094         * include/backward/backward_warning.h: Clarify message.
2096         * testsuite_flags.in (--cxxflags): Use same debug flags for
2097         library and testsuite.
2099         * include/Makefile.am (c_compatibility): Remove.
2100         * include/Makefile.in: Regenerate.
2102 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
2104         * configure.in (LIMITS_INC_SRCDIR): New variable.
2105         * configure.target (LIMITSH): New variable.
2106         * porting.texi: Discuss numeric limits.
2107         * config/cpu/generic/bits/limits.h: New file.
2108         * config/cpu/i386/bits/limits.h: New file.
2109         * include/Makefile.am: Install bits/limits.h.
2110         * include/bits/c++config: Include bits/limits.h.
2112 2001-08-13  H.J. Lu  (hjl@gnu.org)
2114         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2115         New. Copy files.
2116         (libstdc++-v3-init ): Use it.
2118 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2120         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2121         to '__adjust' to avoid shadowing in nested scope.
2123 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2125         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2126         __CHAR_UNSIGNED__.
2128         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2129         Likewise.
2130         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2131         Remove.
2133 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
2135         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2136         dummy default argument to the non-limit implementation.
2138         bootstrap/3963
2139         * include/Makefile.am: Use relative file path in rule to allow
2140         colon in $(objdir).
2141         * include/Makefile.in: Rebuilt.
2143 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
2145         * include/bits/std_complex.h (complex<long double>::operator*=,
2146         complex<long double>::operator/=): Fix thinko.
2148 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2150         * include/bits/std_limits.h: New file.
2151         * include/Makefile.am (bits_headers): Add std_limits.h
2152         (all-local): std_limits.h is no longer built.
2153         (${target_builddir}/std_limits.h): Remove.
2154         * include/Makefile.in: Regenerate.
2155         * src/limits.cc: New file.
2156         * src/Makefile.am (sources): Add limits.cc in replacement of
2157         limitsMEMBERS.cc.
2158         * src/Makefile.in: Regenerate.
2160 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2162         * src/gen-num-limits.cc (digits10): Fix thinko.
2164 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2166         * po/Makefile.am (check-no): Add.
2167         (check-yes): Same.
2168         * po/Makefile.in: Regenerate.
2170 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2172         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2173         * config.h.in: Regenerate.
2174         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2175         function.
2176         * aclocal.m4: Regenerate.
2177         * configure.in: Remove duplicate AM_CONFIG_HEADER.
2178         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2179         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2180         * configure: Regenerate.
2181         * testsuite_hooks.h.in: Move to...
2182         * testsuite_hooks.h: Here, include c++config.h. Use it.
2184         * Makefile.am (SUBDIRS): Move testsuite to last directory.
2185         * Makefile.in: Regenerate.
2186         * po/Makefile.am (stamp-po): Add.
2188 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
2190         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2191         * config/os/generic/bits/os_defines.h: Likewise.
2192         * config/os/gnu-linux/bits/os_defines.h: Likewise.
2193         * config/os/hpux/bits/os_defines.h: Likewise.
2194         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2195         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2197 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
2199         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2200         -version-info, use substituted VERSION info.
2201         * src/Makefile.in: Regenerate.
2203 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
2205         Implement std::messages.
2206         Make config a fully-nested directory.
2207         * config/locale: New directory.
2208         * config/c_locale_generic.cc: Move into locale subdirectory.
2209         * config/c_locale_generic.h: Same.
2210         * config/c_locale_gnu.cc: Same.
2211         * config/c_locale_gnu.h: Same.
2212         * config/c_locale_ieee_1003.1-200x.cc: Same.
2213         * config/c_locale_ieee_1003.1-200x_.h: Same.
2214         * config/codecvt_specializations_generic.h: Same.
2215         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2216         * config/messages_members_gnu.h: Same.
2217         * config/messaages_members_gnu.cc: Same.
2218         * config/messages_members_generic.h: Same.
2219         * config/messaages_members_generic.cc: Same.
2220         * config/messages_members_ieee_1003.1-200x.h: Same.
2221         * config/messaages_members_ieee_1003.1-200x.cc: Same.
2222         * config/io: New directory.
2223         * config/basic_file_libio.h: Move into io subdirectory.
2224         * config/basic_file_libio.cc: Same.
2225         * config/c_io_libio.h: Same.
2226         * config/c_io_libio_codecvt.c: Same.
2227         * config/basic_file_stdio.h: Same.
2228         * config/basic_file_stdio.cc: Same.
2229         * config/c_io_stdio.h: Same.
2231         * po: New directory.
2232         * po/POTFILES.in: New file.
2233         * po/Makefile.am: New file.
2234         * po/Makefile.in: New file.
2235         * po/libstdc++.pot: Generic translation file.
2236         * po/fr.po: Preliminary French translation.
2237         * po/de.po: Preliminary German translation.
2238         * intl: New directory.
2239         * intl/Makefile.am: New file.
2240         * intl/Makefile.in: New file.
2241         * intl/string_literals.cc: New file.
2242         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2243         requisite setup for gettext. Re-arrange.
2244         * aclocal.m4: Regenerate.
2245         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2246         Output Makefile bits for po and intl.
2247         * configure: Regenerate.
2248         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2249         * Makefile.in: Regenerate.
2250         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2251         * config.h.in: Regenerate.
2253         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2255         * include/Makefile.am (install-data-local): Don't install Makefile.
2256         * include/Makefile.in: Regenerate.
2258         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2259         Add member.
2260         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2261         * config/locale/c_locale_generic.cc: Same.
2262         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2264         * include/bits/codecvt.h: Excise non-standard, non-required
2265         bits. This includes __enc_traits, and partial specializations of
2266         codecvt for __enc_traits.
2267         * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2268         * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2269         * config/codecvt_partials_generic.h: New file.
2270         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2271         (stamp-codecvt_model): Add.
2272         * include/Makefile.in: Regenerate.
2273         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2274         * aclocal.m4: Regenerate.
2275         * configure: Regenerate.
2276         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2277         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2278         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2280         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2281         as a friend for _S_*_c_locale functions.
2282         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2283         argument to default constructor so that CODESET information can be
2284         deduced.
2285         * include/bits/locale_facets.h (messages_byname):
2286         Re-implement. Remove specializations.
2287         * src/locale.cc (messages_byname<char>): Remove specialization.
2288         (messages_byname<wchar_t>): Same.
2289         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2290         * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2291         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2292         * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2293         * config/locale/messages_members_gnu.cc: New file.
2294         * config/locale/messages_members_gnu.h: New file.
2295         * config/locale/messages_members_generic.cc: New file.
2296         * config/locale/messages_members_generic.h: New file.
2298         * docs/html/configopts.html: Add documentation for new locale
2299         model, ieee_1003.1. Adjust other flags for current defaults.
2300         * docs/html/22_locale/locale.html: Update.
2301         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2302         * docs/html/22_locale/messages.html: New.
2304         * src/Makefile.am (sources): Add messages_virtuals.cc.
2305         * src/Makefile.in: Regenerate.
2306         * include/Makefile.am (allstamps): Add stamp-messages_model.
2307         (stamp-messages_model): Add.
2308         * include/Makefile.in: Regenerate.
2309         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2310         * aclocal.m4: Regenerate.
2311         * configure: Regenerate.
2313         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2314         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2315         bits for Irix.
2316         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2317         build directories message catalog base directory, and export.
2318         Eventually this should probably be made to deal with build and
2319         install directories. For now, punt on this as the library itself
2320         doesn't use message catalogs (yet).
2321         * testsuite/22_locale/messages.cc: New file.
2322         * testsuite/22_locale/messages_char_members.cc: New file.
2323         * testsuite/22_locale/messages_byname.cc: New file.
2325 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
2327         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
2328         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
2329         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
2330         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
2331         Call GLIBCPP_CONFIGURE_TESTSUITE.
2332         * aclocal.m4:  Regenerate.
2333         * config.h.in:  Regenerate.
2334         * configure:  Regenerate.
2336         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
2337         of old header.
2339         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
2340         * testsuite/debug_assert.h:  Removed; contents merged into...
2341         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
2342         * testsuite/17_intro/header_ciso646.cc:  No longer include
2343         debug_assert.h, include testsuite_hooks.h instead.
2344         * testsuite/17_intro/header_fstream.cc:  Likewise.
2345         * testsuite/17_intro/header_iomanip.cc:  Likewise.
2346         * testsuite/17_intro/header_ios.cc:  Likewise.
2347         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
2348         * testsuite/17_intro/header_iostream.cc:  Likewise.
2349         * testsuite/17_intro/header_istream.cc:  Likewise.
2350         * testsuite/17_intro/header_ostream.cc:  Likewise.
2351         * testsuite/17_intro/header_sstream.cc:  Likewise.
2352         * testsuite/17_intro/header_streambuf.cc:  Likewise.
2353         * testsuite/18_support/numeric_limits.cc:  Likewise.
2354         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
2355         * testsuite/20_util/allocator_members.cc:  Likewise.
2356         * testsuite/20_util/auto_ptr.cc:  Likewise.
2357         * testsuite/20_util/pairs.cc:  Likewise.
2358         * testsuite/21_strings/append.cc:  Likewise.
2359         * testsuite/21_strings/capacity.cc:  Likewise.
2360         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
2361         * testsuite/21_strings/compare.cc:  Likewise.
2362         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
2363         call to (disabled) __set_testsuite_memlimit() wrapper.
2364         * testsuite/21_strings/element_access.cc:  Likewise.
2365         * testsuite/21_strings/find.cc:  Likewise.
2366         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
2367         (disabled) __set_testsuite_memlimit() wrapper.
2368         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
2369         * testsuite/21_strings/invariants.cc:  Likewise.
2370         * testsuite/21_strings/nonmember.cc:  Likewise.
2371         * testsuite/21_strings/operations.cc:  Likewise.
2372         * testsuite/21_strings/replace.cc:  Likewise.
2373         * testsuite/21_strings/rfind.cc:  Likewise.
2374         * testsuite/21_strings/substr.cc:  Likewise.
2375         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
2376         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
2377         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
2378         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
2379         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
2380         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
2381         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
2382         * testsuite/22_locale/facet.cc:  Likewise.
2383         * testsuite/22_locale/global_templates.cc:  Likewise.
2384         * testsuite/22_locale/members.cc:  Likewise.
2385         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
2386         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
2387         * testsuite/22_locale/operators.cc:  Likewise.
2388         * testsuite/22_locale/static_members.cc:  Likewise.
2389         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
2390         * testsuite/23_containers/bitset_members.cc:  Likewise.
2391         * testsuite/23_containers/bitset_shift.cc:  Likewise.
2392         * testsuite/23_containers/vector_capacity.cc:  Likewise.
2393         * testsuite/23_containers/vector_ctor.cc:  Likewise.
2394         * testsuite/23_containers/vector_element_access.cc:  Likewise.
2395         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
2396         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
2397         * testsuite/24_iterators/iterator.cc:  Likewise.
2398         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
2399         * testsuite/25_algorithms/binary_search.cc:  Likewise.
2400         * testsuite/25_algorithms/copy.cc:  Likewise.
2401         * testsuite/25_algorithms/heap.cc:  Likewise.
2402         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
2403         * testsuite/25_algorithms/min_max.cc:  Likewise.
2404         * testsuite/25_algorithms/partition.cc:  Likewise.
2405         * testsuite/25_algorithms/rotate.cc:  Likewise.
2406         * testsuite/25_algorithms/sort.cc:  Likewise.
2407         * testsuite/26_numerics/c_math.cc:  Likewise.
2408         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
2409         * testsuite/26_numerics/complex_value.cc:  Likewise.
2410         * testsuite/27_io/filebuf.cc:  Likewise.
2411         * testsuite/27_io/filebuf_members.cc:  Likewise.
2412         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
2413         * testsuite/27_io/fpos.cc:  Likewise.
2414         * testsuite/27_io/fstream_members.cc:  Likewise.
2415         * testsuite/27_io/ifstream_members.cc:  Likewise.
2416         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
2417         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
2418         * testsuite/27_io/ios_base_storage.cc:  Likewise.
2419         * testsuite/27_io/ios_ctor.cc:  Likewise.
2420         * testsuite/27_io/ios_init.cc:  Likewise.
2421         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
2422         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
2423         * testsuite/27_io/ios_members.cc:  Likewise.
2424         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
2425         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
2426         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
2427         * testsuite/27_io/istream_manip.cc:  Likewise.
2428         * testsuite/27_io/istream_seeks.cc:  Likewise.
2429         * testsuite/27_io/istream_sentry.cc:  Likewise.
2430         * testsuite/27_io/istream_unformatted.cc:  Likewise.
2431         * testsuite/27_io/istringstream_members.cc:  Likewise.
2432         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
2433         * testsuite/27_io/ofstream_members.cc:  Likewise.
2434         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
2435         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
2436         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
2437         * testsuite/27_io/ostream_manip.cc:  Likewise.
2438         * testsuite/27_io/ostream_seeks.cc:  Likewise.
2439         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
2440         * testsuite/27_io/ostringstream_members.cc:  Likewise.
2441         * testsuite/27_io/streambuf.cc:  Likewise.
2442         * testsuite/27_io/stringbuf.cc:  Likewise.
2443         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
2444         * testsuite/27_io/stringstream.cc:  Likewise.
2445         * testsuite/27_io/stringstream_members.cc:  Likewise.
2446         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
2448 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
2450         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
2452 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
2454         * configure.target: Remove mips from cpu table.
2455         * config/cpu/mips/bits/atomicity.h: Remove generic
2456         versions. Comment sgidefs include.
2458 2001-07-25  H.J. Lu <hjl@gnu.org>
2460         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2461         for mips.
2463         * config/cpu/mips/bits/atomicity.h: New.
2465 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2467         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2468         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
2469         * aclocal.m4: Regenerate.
2470         * config.h.in: Likewise.
2471         * configure: Likewise.
2472         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2473         (EXTRA_DIST): Remove hypot.c hypotf.c.
2474         * libmath/Makefile.am: Regenerate.
2475         * libmath/hypotf.c: Remove.
2476         * libmath/hypot.c: Likewise.
2477         * libmath/hypotl.c: Likewise.
2478         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2479         _GLIBCPP_HAVE_xxx.  Add long double versions.
2481 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
2483         * include/bits/limits_generic.h (int): Set digits and digits10
2484         appropriately for word size.
2485         (unsigned int,long,unsigned long): Likewise.
2487 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2489         * include/bits/stl_algo.h : Fix typos.
2490         * testsuite/25_algorithms/unique.cc: New file.
2492 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
2493             Mark Mitchell <mark@codesourcery.com>
2495         Merge from cp-parser-branch.
2496         * include/bits/basic_string.h:  Qualify symbols with 'template'.
2497         * include/bits/basic_string.tcc:  Likewise.
2498         * include/bits/fstream.tcc:  Likewise.
2499         * include/bits/istream.tcc:  Likewise.
2500         * include/bits/sstream.tcc:  Likewise.
2501         * include/bits/std_istream.h:  Likewise.
2502         * include/bits/stl_iterator.h:  Likewise.
2503         * include/bits/streambuf.tcc:  Likewise.
2504         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
2505         * src/locale.cc:  Likewise.
2507 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2508             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2510         * src/gen-num-limits.cc (set_signals_handler): New function.
2511         Factor out signals setting.  Set signal handler for SIGILL.
2513 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
2515         * docs/html/27_io/howto.html:  Fix typo.
2516         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
2517         * docs/html/faq/index.txt:  Regenerated.
2519 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
2520             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
2522         libstdc++/3599
2523         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2524         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2526 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
2528         All occurrences of the __value_type() and __distance_type()
2529         functions, which were required to support the HP STL, have been
2530         removed along with all the auxiliary forwarding functions that
2531         were required to support their use.
2533         The __iterator_category() function was pretty much left alone
2534         because there was no benefit to removing it and its use made code
2535         just a little more readable.
2537         Incidences of distance() with nonstandard argument list were
2538         replaced by calls to the standard function (only in the files
2539         affected by the removal of the other HP functions).
2541         The signature of the rotate() algorithm was changed to match the
2542         standard.
2544         Headers were reformatted under C++STYLE guidelines (indentation,
2545         linebreaks, typename keyword).
2547         * include/bits/stl_algo.h: replaced __value_type() and
2548         __distance_type() with iterator_traits, eliminated auxiliary
2549         support functions required to support said function usage.
2550         Changed nonstandard distance() call to standard call.
2552         * include/bits/stl_algobase.h: Same.
2553         * include/bits/stl_heap.h: Same.
2554         * include/bits/stl_numeric.h: Same.
2555         * include/bits/stl_uninitialized.h: Same.
2556         * include/bits/stl_iterator_base_types.h (__value_type()):
2557         Removed.
2558         (__distance_type()): Removed.
2559         (value_type()): Gone.
2560         (distance_type()): Done in.
2561         (iterator_category()): Hasta la vista, baby.
2563         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2564         Replaced with __iterator_category().
2565         * include/backward/iterator.h: moved definition of value_type(),
2566         distance_type(), and iterator_category() out of std:: and into
2567         here.
2568         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2569         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2570         * testsuite/25_algorithms/rotate.cc: New testcase.
2571         * testsuite/25_algorithms/copy.cc: New testcase.
2572         * testsuite/25_algorithms/sort.cc: Same.
2573         * testsuite/25_algorithms/heap.cc: Same.
2574         * testsuite/25_algorithms/partition.cc: Same.
2575         * testsuite/25_algorithms/binary_search.cc: Same.
2576         * testsuite/26_numerics/sum_diff.cc: Ditto.
2578 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
2580         * testsuite/README: Add notes on naming test cases.
2581         * testsuite/22_locale/members.cc: Mark as xfail.
2582         * testsuite/22_locale/numpunct_char_members.cc: Same.
2584 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
2586         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
2587         setting C_INCLUDE_DIR.
2588         * configure.in:  Revert yesterday's LN_S change.
2589         * aclocal.m4:  Regenerate.
2590         * configure:  Regenerate.
2592 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
2594         * configure.in:  Temporarily force LN_S to copy instead of symlink.
2595         * configure:  Regenerate.
2597 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
2599         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2600         Initialize _M_string with pointer-and-size constructor, not just
2601         pointer.  Fix some comments.
2602         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
2603         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
2604         (test03):  Add embedded-NUL tests.
2606         * mkcheck.in:  When printing totals, match the order of the tests.
2607         * include/bits/stringfwd.h:  Use same declaration keywords.
2608         * include/bits/std_iosfwd.h:  Cosmetic spacing.
2610 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
2611             Loren J. Rittle  <ljrittle@acm.org>
2612             Phil Edwards  <pme@sources.redhat.com>
2614         * include/Makefile.am:  New file encapsulating header generation rules.
2615         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
2616         * acinclude.m4:  Moved/removed rules for building various headers.
2617         * configure.in (AC_OUTPUT):  Add include/Makefile.
2618         * mkc++config:  Removed.
2620         * testsuite_flags.in:  Changed build-includes to match new scheme.
2621         * mknumeric_limits:  Likewise.
2622         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
2623         * libmath/Makefile.am:  Likewise.
2624         * libsupc++/Makefile.am:  Likewise.
2625         * src/Makefile.am:  Likewise; removed rules to build headers.
2626         * libmath/mathconf.h:  Changed #include'd header names to match.
2627         * libmath/stubs.c:  Likewise.
2628         * src/gen-num-limits.cc:  Likewise.
2630         * configure:  Regenerated.
2631         * config.h.in:  Regenerated.
2632         * aclocal.m4:  Regenerated.
2633         * Makefile.in:  Regenerated.
2634         * include/Makefile.in:  Regenerated.
2635         * libio/Makefile.in:  Regenerated.
2636         * libmath/Makefile.in:  Regenerated.
2637         * libsupc++/Makefile.in:  Regenerated.
2638         * src/Makefile.in:  Regenerated.
2639         * testsuite/Makefile.in:  Regenerated.
2641 2001-07-11   Felix Natter  <fnatter@gmx.net>
2643         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
2644         master copy.
2645         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
2647 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
2649         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
2650         * docs/doxygen/user.cfg.in:  Tweaks.
2651         * include/bits/c++config:  Documentation comments for Doxygen.
2652         * include/bits/char_traits.h:  Likewise.
2653         * include/bits/limits_generic.h:  Likewise.
2654         * include/bits/std_stdexcept.h:  Likewise.
2655         * include/bits/stl_pair.h:  Likewise.
2656         * libsupc++/exception:  Likewise.
2657         * libsupc++/new:  Likewise.
2658         * libsupc++/typeinfo:  Likewise.
2659         * libmath/Makefile.am:  Update and correct copyright.
2661 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2663         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2664         * aclocal.m4: Regenerate.
2665         * configure: Same.
2667 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
2669         * docs/html/configopts.html:  Fix thinko.
2670         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
2671         * include/bits/stl_iterator.h:  Fix typo.
2673 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
2675         * docs/html/explanations.html:  New file.
2676         * docs/html/configopts.html:  Link to it to provide more notes
2677         on cstdio.  Minor markup and spacing fixes.
2678         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
2680 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
2682         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2683         for _Expr template template argument.
2684         (_Expr::operator-): Likewise.
2685         (_Expr::operator~): Likewise.
2686         (_Expr::operator!): Likewise.
2687         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2689 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2691         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2692         * libmath/Makefile.in: Regenerate.
2693         * libmath/expf.c: Remove.
2694         * libmath/atan2f.c: Likewise.
2696 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
2698         * configure.in: Remove NATIVE, NULL_TARGET.
2699         Set CANADIAN only for Canadian crosses.  Set xcompiling
2700         for both Canadian crosses and host-x-host crosses.
2701         * configure: Regenerated.
2703 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2705         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2707 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
2709         * testsuite_flags.in (--build-includes): backward, not backwards.
2711 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
2713         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2714         Replace destroy by _Destroy.
2715         (_Rope_RopeRep::_S_free_string): Likewise.
2716         (rope::c_str()): Likewise.
2717         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2718         (_Slist_base::_M_erase_after): Likewise.
2719         (slist::_M_create_node): Replace construct by _Construct.
2720         (slist::pop_front): Replace destroy by _Destroy.
2721         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2722         construct by _Construct.
2723         (hashtable::_M_delete_node): Replace destroy by _Destroy.
2724         * include/ext/stl_rope.h (rope::rope): Replace construct by
2725         _Construct.
2726         (rope::copy): Replace destroy by _Destroy.
2728 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
2730         * include/bits/localefwd.h: Format.
2731         * include/bits/locale_facts.tcc (locale::combine): Adjust.
2732         * src/locale.cc (locale::locale::(_Impl)): Don't call
2733         _M_add_reference.
2734         (locale::facet::_M_remove_reference): Simplify.
2735         * src/globals.cc (locale_impl_c): New. Format.
2736         (locale_c): New.
2737         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2739 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2741         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2742         expansion (thanks to Alexandre Oliva).
2743         * aclocal.m4: Regenerate.
2744         * configure: Regenerate.
2746 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
2748         * src/locale.cc (locale::locale(const char*)): Make sure global
2749         locales are initialized.
2750         * include/bits/locale_facets.tcc (locale::combine): Refcout should
2751         be zero, not one as it's return-by-value.
2752         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2753         named locales here.
2754         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2755         for it here.
2756         (test02): Add test.
2757         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2759 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2761         libstdc++/3284
2762         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2763         * aclocal.m4: Regenerate.
2764         * configure: Regenerate.
2766 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2768         libstdc++/3243
2769         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2770         staged/installed area to support -I-.  Document.
2771         * aclocal.m4: Regenerate.
2772         * configure: Regenerate.
2774 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2776         libstdc++/2211
2777         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2778         __out_bufsize.  Add __in_bufsize, document it and use it.
2780 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
2782         * include/bits/stl_construct.h (construct): Remove.
2783         (destroy): Remove.
2784         (__destroy): Replaced by use of iterator_traits.
2785         * include/bits/stl_deque.h: replaced HP iterator functions with
2786         iterator_traits.
2787         (construct): changed to _Construct.
2788         (destroy): changed to _Destroy.
2789         * include/bits/stl_tempbuf.h: Same.
2790         * include/bits/stl_tree.h: Same.
2791         * include/bits/stl_vector.h: Same.
2792         * include/backward/iterator.h (construct): moved definition to here.
2793         (destroy): Same.
2795 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
2797         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2798         before replacing facet.
2799         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2800         Correct decrement.
2801         * src/localename.cc (locale::_Impl): Correct ctor initialization
2802         lists. Initialize ref count with one. Simplify.
2803         * src/locale.cc: Add comment.
2804         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2805         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2806         * testsuite/22_locale/members.cc (test02): Fix.
2808 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
2810         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
2811         block, this time for real.
2812         * include/backward/algobase.h:  Likewise.
2813         * include/backward/alloc.h:  Likewise.
2814         * include/backward/bvector.h:  Likewise.
2815         * include/backward/defalloc.h:  Likewise.
2816         * include/backward/deque.h:  Likewise.
2817         * include/backward/function.h:  Likewise.
2818         * include/backward/hash_map.h:  Likewise.
2819         * include/backward/hash_set.h:  Likewise.
2820         * include/backward/hashtable.h:  Likewise.
2821         * include/backward/heap.h:  Likewise.
2822         * include/backward/iterator.h:  Likewise.
2823         * include/backward/list.h:  Likewise.
2824         * include/backward/map.h:  Likewise.
2825         * include/backward/multimap.h:  Likewise.
2826         * include/backward/multiset.h:  Likewise.
2827         * include/backward/pair.h:  Likewise.
2828         * include/backward/rope.h:  Likewise.
2829         * include/backward/set.h:  Likewise.
2830         * include/backward/slist.h:  Likewise.
2831         * include/backward/stack.h:  Likewise.
2832         * include/backward/strstream:  Likewise.
2833         * include/backward/tempbuf.h:  Likewise.
2834         * include/backward/tree.h:  Likewise.
2835         * include/backward/vector.h:  Likewise.
2836         * include/bits/pthread_allocimpl.h:  Likewise.
2837         * include/bits/std_algorithm.h:  Likewise.
2838         * include/bits/std_bitset.h:  Likewise.
2839         * include/bits/std_deque.h:  Likewise.
2840         * include/bits/std_functional.h:  Likewise.
2841         * include/bits/std_iterator.h:  Likewise.
2842         * include/bits/std_list.h:  Likewise.
2843         * include/bits/std_map.h:  Likewise.
2844         * include/bits/std_memory.h:  Likewise.
2845         * include/bits/std_numeric.h:  Likewise.
2846         * include/bits/std_queue.h:  Likewise.
2847         * include/bits/std_set.h:  Likewise.
2848         * include/bits/std_stack.h:  Likewise.
2849         * include/bits/std_utility.h:  Likewise.
2850         * include/bits/std_vector.h:  Likewise.
2851         * include/bits/stl_algo.h:  Likewise.
2852         * include/bits/stl_algobase.h:  Likewise.
2853         * include/bits/stl_alloc.h:  Likewise.
2854         * include/bits/stl_bvector.h:  Likewise.
2855         * include/bits/stl_construct.h:  Likewise.
2856         * include/bits/stl_deque.h:  Likewise.
2857         * include/bits/stl_function.h:  Likewise.
2858         * include/bits/stl_heap.h:  Likewise.
2859         * include/bits/stl_iterator.h:  Likewise.
2860         * include/bits/stl_iterator_base_funcs.h:  Likewise.
2861         * include/bits/stl_iterator_base_types.h:  Likewise.
2862         * include/bits/stl_list.h:  Likewise.
2863         * include/bits/stl_map.h:  Likewise.
2864         * include/bits/stl_multimap.h:  Likewise.
2865         * include/bits/stl_multiset.h:  Likewise.
2866         * include/bits/stl_numeric.h:  Likewise.
2867         * include/bits/stl_pair.h:  Likewise.
2868         * include/bits/stl_pthread_alloc.h:  Likewise.
2869         * include/bits/stl_queue.h:  Likewise.
2870         * include/bits/stl_raw_storage_iter.h:  Likewise.
2871         * include/bits/stl_relops.h:  Likewise.
2872         * include/bits/stl_set.h:  Likewise.
2873         * include/bits/stl_stack.h:  Likewise.
2874         * include/bits/stl_tempbuf.h:  Likewise.
2875         * include/bits/stl_threads.h:  Likewise.
2876         * include/bits/stl_tree.h:  Likewise.
2877         * include/bits/stl_uninitialized.h:  Likewise.
2878         * include/bits/stl_vector.h:  Likewise.
2879         * include/bits/type_traits.h:  Likewise.
2880         * include/ext/hash_map:  Likewise.
2881         * include/ext/hash_set:  Likewise.
2882         * include/ext/rope:  Likewise.
2883         * include/ext/ropeimpl.h:  Likewise.
2884         * include/ext/slist:  Likewise.
2885         * include/ext/stl_hash_fun.h:  Likewise.
2886         * include/ext/stl_hashtable.h:  Likewise.
2887         * include/ext/stl_rope.h:  Likewise.
2888         * src/bitset.cc:  Likewise.
2889         * src/strstream.cc:  Likewise.
2891 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2892                              <vakatov@ncbi.nlm.nih.gov>
2894         libstdc++/3272
2895         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2896         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2897         * testsuite/27_io/istream_extractor_other.cc: Fix.
2899 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
2901         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2902         * aclocal.m4: Regenerate.
2903         * configure: Regenerate.
2905 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2907         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2908         (ostream_iterator): Same.
2909         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2910         Change argument to const_reference.
2911         (back_insert_iterator): Same.
2913 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2915         * include/bits/sbuf_iter.h: Change to..
2916         * include/bits/streambuf_iterator.h: This.
2917         * include/bits/stl_iterator.h: Take out of here...
2918         * include/bits/stream_iterator.h: Add.
2919         * src/Makefile.am (base_headers): Add streambuf_iterator,
2920         stream_iterator.h
2921         * src/Makefile.in: Regenerate.
2922         * include/bits/std_string.h: Adjust includes.
2923         * include/bits/basic_ios.h: Same.
2924         * include/bits/locale_facets.tcc: Same.
2925         * include/bits/std_iosfwd.h: Same.
2927         * include/bits/std_iterator.h: Add istream, ostream includes.
2928         * include/bits/stl_iterator.h: Tweak.
2929         * testsuite/24_iterators/ostream_iterator.cc: Add test.
2930         * testsuite/24_iterators/istream_iterator.cc: Same.
2931         * testsuite/23_containers/multiset.cc: Add iterator include.
2933 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
2935         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
2936         * aclocal.m4:  Regenerate.
2937         * configure:  Regenerate.
2939 2001-06-26  Felix Natter  <f.natter@ndh.net>
2941         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
2943 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2945         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2946         return values.
2947         (istream_iterator::operator*): Same.
2949 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2950             Alexandre Petit-Bianco  <apbianco@redhat.com>
2952         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2953         is on 41st, not 14th.
2955 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2957         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2959         * include/bits/stl_iterator.h (istream_iterator): Inherit from
2960         iterator.
2961         (ostream_iterator): Same.
2962         * testsuite/24_iterators/istream_iterator.cc: New file.
2963         * testsuite/24_iterators/ostream_iterator.cc: New file.
2965         * include/bits/sbuf_iter.h: Remove self typedef.
2966         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2967         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2969         * include/bits/stl_iterator.h (reverse_iterator): Remove
2970         extraneous typedefs. Add typename.
2971         (__normal_iterator): Remove typedefs referring to self. Add typename.
2972         (reverse_bidiretional_iterator): Remove, not longer required.
2974 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2976         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2977         dependent names with `typename'.  Bring in various required
2978         iterator_traits members.  Can't imagine why that used to work.
2980 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
2981             Kurt Garloff <garloff@suse.de>
2983         PR libstdc++/3377
2984         * src/cmath.cc:  New [version of an old] file; instantiate
2985         __cmath_power to start with.
2986         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
2987         * Makefile.in:  Regenerate.
2988         * libio/Makefile.in:  Regenerate.
2989         * libmath/Makefile.in:  Regenerate.
2990         * libsupc++/Makefile.in:  Regenerate.
2991         * src/Makefile.in:  Regenerate.
2992         * testsuite/Makefile.in:  Regenerate.
2994 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2996         * libmath/stubs.c: Fix thinko.
2998 2001-06-24  David Edelsohn <dje@watson.ibm.com>
3000         * libmath/stubs.c (sqrtf): Define.
3001         (tanf): Correct typo.
3003 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
3005         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3006         iterator.
3007         (back_insert_iterator): Same.
3008         (front_insert_iterator): Same.
3009         (insert_iterator): Same.
3011         * testsuite/20_util/raw_storage_iterator.cc: Modify.
3012         * testsuite/24_iterators/reverse_iterator.cc: New file.
3013         * testsuite/24_iterators/back_insert_iterator.cc: New file.
3014         * testsuite/24_iterators/front_insert_iterator.cc: New file.
3015         * testsuite/24_iterators/insert_iterator.cc: New file.
3017 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
3019         * include/*:  Revert comment/license change from yesterday for all
3020         except libsupc++/unwind-cxx.h.
3021         * src/bitset.cc:  Likewise.
3022         * src/strstream.cc:  Likewise.
3024 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3026         * libmath/stubs.c: New file.
3027         (tanhf): Fix typo.
3028         (powf): Likewise.
3030         * libmath/Makefile.am (libmath_la_SOURCES): Add.
3031         * libmath/Makefile.in.  Regenerate.
3033 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
3035         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
3036         * include/backward/algobase.h:  Likewise.
3037         * include/backward/alloc.h:  Likewise.
3038         * include/backward/bvector.h:  Likewise.
3039         * include/backward/defalloc.h:  Likewise.
3040         * include/backward/deque.h:  Likewise.
3041         * include/backward/function.h:  Likewise.
3042         * include/backward/hash_map.h:  Likewise.
3043         * include/backward/hash_set.h:  Likewise.
3044         * include/backward/hashtable.h:  Likewise.
3045         * include/backward/heap.h:  Likewise.
3046         * include/backward/iterator.h:  Likewise.
3047         * include/backward/list.h:  Likewise.
3048         * include/backward/map.h:  Likewise.
3049         * include/backward/multimap.h:  Likewise.
3050         * include/backward/multiset.h:  Likewise.
3051         * include/backward/pair.h:  Likewise.
3052         * include/backward/rope.h:  Likewise.
3053         * include/backward/set.h:  Likewise.
3054         * include/backward/slist.h:  Likewise.
3055         * include/backward/stack.h:  Likewise.
3056         * include/backward/strstream:  Likewise.
3057         * include/backward/tempbuf.h:  Likewise.
3058         * include/backward/tree.h:  Likewise.
3059         * include/backward/vector.h:  Likewise.
3060         * include/bits/pthread_allocimpl.h:  Likewise.
3061         * include/bits/std_algorithm.h:  Likewise.
3062         * include/bits/std_bitset.h:  Likewise.
3063         * include/bits/std_deque.h:  Likewise.
3064         * include/bits/std_functional.h:  Likewise.
3065         * include/bits/std_iterator.h:  Likewise.
3066         * include/bits/std_list.h:  Likewise.
3067         * include/bits/std_map.h:  Likewise.
3068         * include/bits/std_memory.h:  Likewise.
3069         * include/bits/std_numeric.h:  Likewise.
3070         * include/bits/std_queue.h:  Likewise.
3071         * include/bits/std_set.h:  Likewise.
3072         * include/bits/std_stack.h:  Likewise.
3073         * include/bits/std_utility.h:  Likewise.
3074         * include/bits/std_vector.h:  Likewise.
3075         * include/bits/stl_algo.h:  Likewise.
3076         * include/bits/stl_algobase.h:  Likewise.
3077         * include/bits/stl_alloc.h:  Likewise.
3078         * include/bits/stl_bvector.h:  Likewise.
3079         * include/bits/stl_construct.h:  Likewise.
3080         * include/bits/stl_deque.h:  Likewise.
3081         * include/bits/stl_function.h:  Likewise.
3082         * include/bits/stl_heap.h:  Likewise.
3083         * include/bits/stl_iterator.h:  Likewise.
3084         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3085         * include/bits/stl_iterator_base_types.h:  Likewise.
3086         * include/bits/stl_list.h:  Likewise.
3087         * include/bits/stl_map.h:  Likewise.
3088         * include/bits/stl_multimap.h:  Likewise.
3089         * include/bits/stl_multiset.h:  Likewise.
3090         * include/bits/stl_numeric.h:  Likewise.
3091         * include/bits/stl_pair.h:  Likewise.
3092         * include/bits/stl_pthread_alloc.h:  Likewise.
3093         * include/bits/stl_queue.h:  Likewise.
3094         * include/bits/stl_raw_storage_iter.h:  Likewise.
3095         * include/bits/stl_relops.h:  Likewise.
3096         * include/bits/stl_set.h:  Likewise.
3097         * include/bits/stl_stack.h:  Likewise.
3098         * include/bits/stl_tempbuf.h:  Likewise.
3099         * include/bits/stl_threads.h:  Likewise.
3100         * include/bits/stl_tree.h:  Likewise.
3101         * include/bits/stl_uninitialized.h:  Likewise.
3102         * include/bits/stl_vector.h:  Likewise.
3103         * include/bits/type_traits.h:  Likewise.
3104         * include/ext/hash_map:  Likewise.
3105         * include/ext/hash_set:  Likewise.
3106         * include/ext/rope:  Likewise.
3107         * include/ext/ropeimpl.h:  Likewise.
3108         * include/ext/slist:  Likewise.
3109         * include/ext/stl_hash_fun.h:  Likewise.
3110         * include/ext/stl_hashtable.h:  Likewise.
3111         * include/ext/stl_rope.h:  Likewise.
3112         * libsupc++/unwind-cxx.h:  Likewise.
3113         * src/bitset.cc:  Likewise.
3114         * src/strstream.cc:  Likewise.
3116 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3118         * include/bits/indirect_array.h (indirect_array<>::operator=):
3119         Make copy and assignment operator public.  Implement.  Format.
3121         * include/bits/valarray_array.h (__valarray_copy): Add overloads
3122         for copy between index arrays.  Format.
3124 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
3126         * mknumeric_limits: Add static definitions, format.
3127         * testsuite/18_support/numeric_limits.cc (test02): Add test.
3129         * include/c_std/bits/std_cwchar.h: Include ctime.
3130         * testsuite/17_intro/header_cwchar.cc : Check.
3132         * include/c_std/bits/std_cwctype.h: Inject wctype.
3133         * testsuite/17_intro/header_cwctype.cc: Update.
3135 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
3137         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3138         * testsuite/20_util/raw_storage_iterator.cc: Same.
3140         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3141         operator new.
3142         (__mem_interface): New typedef for switching between malloc and new.
3143         * testsuite/20_util/allocator_members.cc: New file.
3145         * testsuite/20_util/comparisons.cc: New file.
3146         * testsuite/20_util/pairs.cc: New file.
3148 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
3150         * docs/html/documentation.html:  Point to new doxygen'ed collection.
3152 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
3154         * configure.in (auxdir): Replace by ...
3155         (toprel): ... new variable.
3156         (toplevel_srcdir): Construct from $toprel.
3157         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3158         rather than .. to locate gcc source directory.
3159         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3160         * aclocal.m4, configure: Rebuilt.
3162 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3164         (Approved by Mark and Benjamin.  Applied by Loren.)
3166         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3167         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3168         and _GLIBCPP_mutex_address.
3169         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3170         once-only runtime initialization of _M_lock mutex when
3171         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3172         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3173         for __GTHREAD_MUTEX_INIT_FUNCTION case.
3175 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3177         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3179         * include/bits/slice_array.h (slice_array<>::operator=): Make
3180         public and implement.
3181         (slice_array<>::slice_array): Make copy-constructor public.
3183         * include/bits/valarray_array.h (__valarray_copy): Add another
3184         overload to copy between strided arrays.
3186 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
3188         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3189         * aclocal.m4: Regenerate.
3190         * configure: Regenerate.
3191         * include/bits/c++config (__GLIBCPP__): Update date.
3193 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3195         * include/bits/fpos.h (fpos::operator-): Don't return reference,
3196         return original, non-modified version.
3197         (fpos::operator+): Same.
3198         * testsuite/27_io/fpos.cc: Add test.
3200 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
3202         libstdc++/2071
3203         * porting.texi: Add documentation about libstdc++-v3-specific
3204         macros that are currently included in os_defines.h files.
3206         * config/basic_file_stdio.h (sys_getc): New method.
3207         (sys_ungetc): New method.
3208         * include/bits/basic_file.h: (sys_getc): New method signature.
3209         (sys_ungetc): New method signature.
3211         * include/bits/fstream.tcc (underflow): Add conditional code
3212         paths which avoid using short seeks on streams (especially
3213         useful when the stream might be interactive or a pipe).  At
3214         the moment, this alternate path only avoids seeking when the
3215         ``buffer size'' of underflow() is 1 since the C standard only
3216         guarantees buffer space for one ungetc (this technique could
3217         be extended since *-*-solaris* supports buffering for 4 calls
3218         to ungetc and *-*-*bsd* supports buffering limited only by
3219         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
3220         in a port's os_defines.h file for this alternate path to even
3221         be considered.  As a bonus, the idiom of using getc/ungetc
3222         requires no system calls whereas fseek maps to one or two
3223         system call(s) on many platforms.
3225         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3226         Define it.
3227         * config/os/solaris/solaris2.5/bits/os_defines.h
3228         (_GLIBCPP_AVOID_FSEEK): Likewise.
3229         * config/os/solaris/solaris2.6/bits/os_defines.h
3230         (_GLIBCPP_AVOID_FSEEK): Likewise.
3231         * config/os/solaris/solaris2.7/bits/os_defines.h
3232         (_GLIBCPP_AVOID_FSEEK): Likewise.
3234 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3236         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3237         AC_TRY_COMPILE, so that the built compiler is checked, and
3238         bootstraps or cross compiles with an older compile still work.
3239         * aclocal.m4: Regenerate.
3240         * configure: Regenerate.
3242 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3244         libstdc++/3142
3245         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3247         libstdc++/3141
3248         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3250         libstdc++/3140
3251         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3253         libstdc++/3139
3254         * include/bits/limits_generic.h: Fix as per DR 184.
3256 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3258         libstdc++/3126
3259         * include/bits/basic_string.h (string::compare): Adjust signatures
3260         as per DR 5.
3261         * include/bits/basic_string.tcc: And here.
3263         libstdc++/2346
3264         * config/c_io_stdio.h: Remove whitespace.
3265         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3266         (test02): Add regression.
3267         * testsuite/27_io/istream_seeks-3.tst: New file.
3269 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
3271         * README:  Update to reflect reality.
3272         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
3273         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
3274         * aclocal.m4:  Regenerate.
3275         * configure:  Regenerate (with 2.13).
3277 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3279         libstdc++/3114
3280         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3281         per DR 129.
3282         * include/bits/istream.tcc (istream::seekg): Same.
3283         * testsuite/27_io/istream_seeks.cc: Fix.
3285         libstdc++/3113
3286         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3287         (binder1st): Same.
3288         * include/bits/std_queue.h: Add c++config.h.
3289         * testsuite/20_util/binders.cc: New test.
3291 2001-06-11  Matthias Klose  <doko@debian.org>
3292             Phil Edwards  <pme@sources.redhat.com>
3294         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
3295         (main script):  Echo more information.
3297 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3299         * include/c_std/bits/std_cwchar.h: Alphabetize.
3300         * include/bits/char_traits.h: Tweak.
3301         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3302         everything used by std_cwchar.h.
3303         * aclocal.m4: Regenerate.
3304         * configure.in: Regenerate.
3305         * config.h.in: Regenerate.
3307 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3309         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3310         Add checking for strtof, _Exit in stdlib.h
3311         * aclocal.m4: Regenerate.
3312         * configure.in: Regenerate.
3313         * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3314         (snprintf): Put C99 functions into __gnu_cxx namespace.
3315         (vfscanf): Same.
3316         (vscanf): Same.
3317         (vsnprintf): Same.
3318         (vsscanf): Same.
3319         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3320         for C99 functions within _GLIBCPP_USE_C99 guard.
3321         (_Exit): Same.
3322         (strtof): Same.
3323         (strtold): Same.
3324         * include/bits/locale_facets.tcc: Check if C99 is enabled.
3325         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3326         C99 guard.
3327         * include/c_std/bits/cmath.tcc: Formatting tweak.
3328         * include/c_std/bits/std_cmath.h: Same.
3330 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3332         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3334 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
3335             Stephen L Moshier  <moshier@mediaone.net>
3337         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3338         nothing, as in autoconf 2.50.
3339         * configure: Rebuilt.
3341 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3343         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3344         include std_cstddef.
3345         * include/c_std/bits/std_ctime.h: Same.
3346         * include/c_std/bits/std_cstring.h: Same.
3347         * include/c_std/bits/std_cstdlib.h: Same.
3349         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3350         * include/c_std/bits/std_cctype.h: Remove isblank.
3352 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3354         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3355         fgetws.
3356         * aclocal.m4: Regenerate.
3357         * configure: Regenerate.
3358         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3359         injection, guard fgetwc, fgetws.
3360         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3361         * include/c_std/bits/std_clocale.h: And here.
3362         * include/c_std/bits/std_cctype.h: And here.
3363         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3365         * config/basic_file_stdio.h: Don't include unistd.h.
3366         * config/c_io_stdio.h: Don't use compatibility headers.
3367         * libsupc++/eh_terminate.cc: Qualify abort.
3368         (__terminate): And here.
3369         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3371 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3373         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3375 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3377         libstdc++/2767
3378         libstdc++/2989
3379         libstdc++/2992
3380         * include/std/*: Add copyright notice.
3381         * include/c_std/bits/*: Use using statements instead of extern "C".
3382         * include/c_std/bits/std_cmath.h: Don't overload double versions
3383         of math functions with __buitin versions, use global version to
3384         prevent ambiguities. Remove define hacks.
3385         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3386         functions that have changed signatures and std::
3387         declarations. Remove define hacks.
3388         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3389         __builtins in std::. Remove define hacks.
3390         * testsuite/17_intro/headers_c.cc: Add tests.
3391         * testsuite/17_intro/headers_c++.cc: Add test.
3393 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3394             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3396         c++/3082
3397         * libsupc++/eh_alloc.cc: Ensure that required macros are
3398         defined before including gthr.h.  Ensure that we get the
3399         version of gthr.h for which we know how to provide a
3400         configuration.
3401         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
3402         code path into line with the current EH model.  Use std, where
3403         appropriate.
3405 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3406             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3408         * config/threads-no.h: Remove file.
3409         * config/threads-posix.h: Remove file.
3411         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3412         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3413         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3414         * config.h.in: Regenerate.
3416         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3417         setup and use gthr*.h files.  In particular, make gthr.h files
3418         namespace-clean in the staging area (they don't have to be for
3419         libgcc.a).
3420         * aclocal.m4: Regenerate.
3421         * configure: Regenerate.
3423         * src/Makefile.am (build_headers): Remove bits/c++threads.h
3424         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3425         * src/Makefile.in: Regenerate.
3427         * include/bits/c++config: Cleanup threading configuration macros.
3428         In particular, define __STL_GTHREADS macro which controls...
3429         * include/bits/stl_threads.h: ...a brand new gthr.h-based
3430         configuration here.
3432         * config/c_io_stdio.h: Include staged gthr.h instead of local
3433         thread configuration file.  Always use __gthread_mutex_t
3434         instead of __mutext_type (or int).
3435         * include/bits/std_fstream.h: Likewise.
3437         * docs/html/17_intro/howto.html: Remove placeholder comment in
3438         case this configuration patch didn't make it.  Add advice that
3439         section only applies if configured with --enable-threads.
3440         * docs/html/23_containers/howto.html: Reword to make clear
3441         that _PTHREADS is no longer required for any port to be
3442         correctly using STL with threads.  Add advice that section
3443         only applies if configured with --enable-threads.
3445 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
3447         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3449 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
3451         libstdc++/3045
3452         * include/bits/basic_ios.tcc: Formatting tweaks.
3453         * include/bits/ios_base.h: Formatting tweaks.
3454         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3455         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3456         * src/globals.cc: Allocate filebufs for standard streams here.
3457         (buf_cout, buf_cin, buf_cerr): Like so.
3458         (buf_wcout, buf_wcin, buf_wcerr): And so.
3459         * testsuite/27_io/ios_init.cc: Add.
3461 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3462             Benjamin Kosnik  <bkoz@redhat.com>
3464         libstdc++/3017
3465         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3466         for generic ctype virtuals.
3467         * src/locale.cc: Minor tweaks, naming consistency.
3468         * testsuite/22_locale/ctype.cc: Add test.
3470 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
3471             Phil Edwards  <pme@sources.redhat.com>
3473         PR libstdc++/3035 and PR libstdc++/3036
3474         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
3475         to LWG DR 181 and 265.
3477 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
3479         PR libstdc++/3034
3480         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3481         equal_range):  Add const overloads as per LWG DR 214.
3482         * include/bits/stl_set.h:  Likewise.
3484 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3485             Phil Edwards  <pme@sources.redhat.com>
3487         PR libstdc++/3018
3488         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
3489         comparison; all positions must be < _Nb.
3490         * testsuite/23_containers/bitset_members.cc:  New file.
3492 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3494         PR libstdc++/3016
3495         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
3496         ctors to match the standard.
3498 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
3500         * include/bits/char_traits.h (move): Reverse qualification of
3501         memmove with std::.
3502         (copy): Reverse qualification of memcpy with std::.
3504 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
3506         * include/bits/char_traits.h (move): Qualify memmove with std::.
3507         (copy): Qualify memcpy with std::.
3508         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3509         strncmp with std::.
3510         (test02): Likewise.
3511         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3513 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
3515         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3516         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3517         SUN make VPATH peculiarities.
3518         * libsupc++/Makefile.in: Regenerate.
3520 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
3522         * src/Makefile.am (VPATH): Delimit with ":", not space.
3523         * src/Makefile.in: Regenerate.
3525         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3526         make isn't found.
3527         * configure: Regenerate.
3529 2001-05-31  scott snyder  <snyder@fnal.gov>
3531         libstdc++/2976
3532         * include/bits/istream.tcc: Include std_ostream.h.
3534 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
3536         libstdc++/2997
3537         * src/bitset.cc: Qualify size_t with std::.
3539 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
3541         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3542         (_GLIBCPP_BUGGY_COMPLEX): Remove.
3543         * config.h.in: Regenerate.
3544         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3545         * aclocal.m4: Regenerate.
3546         * configure.in: Don't call it.
3547         * configure: Regenerate.
3549         libstdc++/2970
3550         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3551         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3552         New test.
3554         libstdc++/2985
3555         * include/bits/std_complex.h: Include sstream. Put definitions for
3556         complex inserters and extractors here, and remove them from...
3557         * src/complex_io.cc: ...here.
3558         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3559         parameter.
3560         (basic_ios::__numget_type): Same.
3561         * include/bits/std_istream.h: Same.
3562         * include/bits/std_ostream.h: Same.
3563         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3564         class iterator template arguments.
3565         * src/locale-inst.cc: Add explicit has_facet instantiations.
3566         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3567         (_M_get_fnumput): Remove.
3568         (_M_get_fnumget): Remove.
3569         (basic_ios::_M_check_facet): New function.
3570         (basic_ios::_M_cache_facets): New function.
3571         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3572         (basic_ios::imbue): Call _M_cache_facets.
3573         (basic_ios::init): Same.
3574         * include/bits/istream.tcc: Format, use _M_check_facet.
3575         * include/bits/ostream.tcc: Same.
3576         * include/bits/locale_facets.tcc (__output_float): Change
3577         signature, add _Traits.
3578         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3579         New test.
3581 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
3583         * include/bits/c++config (__USE_MALLOC): Do not define it.
3584         Document why not and give pointers to more information.
3586         * docs/html/23_containers/howto.html: Update documentation
3587         to reflect recent understanding of problem.
3588         * docs/html/17_intro/howto.html: Likewise.
3590 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
3592         * docs/doxygen/user.cfg.in:  Minor addition.
3593         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
3594         stuff first.
3595         * docs/html/install.html:  Update for 3.0.  HTML fixups.
3596         * docs/html/17_intro/howto.html:  Likewise.
3597         * docs/html/18_support/howto.html:  Likewise.
3598         * docs/html/19_diagnostics/howto.html:  Likewise.
3599         * docs/html/20_util/howto.html:  Likewise.
3600         * docs/html/23_containers/howto.html:  Likewise.
3601         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
3602         * docs/html/25_algorithms/howto.html:  Likewise.
3603         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
3604         * docs/html/27_io/howto.html:  Likewise.
3605         * docs/html/ext/howto.html:  Likewise.
3606         * docs/html/faq/index.html:  Likewise.
3607         * docs/html/faq/index.txt:  Regenerate.
3608         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
3609         Doxygen-created documentation.
3611 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3613         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3614         get_multilibs to find gcc.
3616 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
3618         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
3619         * aclocal.m4:  Regenerate.
3620         * configure:  Regenerate.
3622 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3624         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3625         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3627 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3629         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3630         * include/c_std/bits/std_cstdlib.h: Same.
3631         * include/c_std/bits/std_cwchar.h: Same.
3633 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
3635         * docs/html/17_intro/howto.html: Update link.
3636         * docs/html/23_containers/howto.html: Likewise.  Add new link.
3638 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
3640         * include/c_std/bits/std_cmath.h (sqrt): #undef.
3642 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3644         * mknumeric_limits: Stop if gen-num-limits dies.
3646 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
3648         other/2931
3649         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3650         * aclocal.m4: Regenerate.
3651         * configure: Same.
3653 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3654             Phil Edwards  <pme@sources.redhat.com>
3655             Alexandre Oliva  <aoliva@redhat.com>
3657         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3658         in an amd-safe manner. Revert glibcpp_prefixdir.
3660 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
3662         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
3663         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
3664         variants.
3666 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3668         libstdc++/2830
3669         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3670         * include/bits/ostream.tcc: Format to match istream.tcc.
3671         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3673 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
3675         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
3676         malloc with std:: .
3677         (__cxa_free_exception):  Likewise with free.
3679 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
3681         * include/c_std/bin/std_cstring.h: #define away all global
3682         functions we will redeclare in namespace `std'.
3683         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3684         std::memset, instead of memset.
3685         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3686         not plain `strcmp'.
3687         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3688         plain `strcpy'.
3690 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3692         libstdc++/2832
3693         * include/bits/basic_ios.tcc: Small tweak.
3694         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3695         ctors and dtors, and rdbuf settings.
3696         (ofstream): Same.
3697         (fstream): Same.
3698         * include/bits/std_sstream.h: Same, but for stringstream classes.
3699         * testsuite/27_io/ostringstream_members.cc: New.
3700         * testsuite/27_io/stringstream_members.cc: New.
3701         * testsuite/27_io/fstream_members.cc: New.
3702         * testsuite/27_io/ifstream_members.cc: Add test.
3703         * testsuite/27_io/istringstream_members.cc: Add test.
3704         * testsuite/27_io/ofstream_members.cc: Add test.
3706 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3708         * include/bits/c++config(__NO_MATH_INLINES): Move to...
3709         * config/os/gnu-linux/bits/os_defines.h: ...here.
3711 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
3713         * include/bits/c++config (__NO_MATH_INLINES): New macro.
3714         * testsuite/26_numerics/fabs_inline.cc (main): New test.
3716 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
3718         libstdc++/2841
3719         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3720         ld_library_path.
3721         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3722         (libstdc++-v3-finish): Remove.
3723         (libstdc++-v3_exit): Remove.
3725 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
3727         * docs/html/documentation.html:  Point to doxygen output.
3729 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
3731         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3733         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3734         arguments to be non-null.
3735         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3736         try allocations if allocated size is greater than zero.
3737         (filebuf::_M_filebuf_init): Change to
3738         (filebuf::_M_allocate_file): Which is what it does now.
3739         (filebuf::_M_allocate_bufers): Change to
3740         (filebuf::_M_allocate_internal_buffer): This, and create
3741         (filebuf::_M_allocate_pback_buffer): New.
3742         (filebuf::_M_destroy_internal_buffer): New.
3743         (filebuf::_M_buf_allocated): New data member.
3744         (filebuf::setbuf): Use new logic, allow use of external buffer.
3745         * testsuite/27_io/stringbuf_virtuals.cc: New file.
3746         * testsuite/27_io/filebuf_virtuals.cc: New file.
3748 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
3750         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3751         __glibcpp_memchr.
3752         (strchr): Same, but to __glibcpp_strchr.
3753         (strpbrk): Same.
3754         (strrchr): Same.
3755         (strstr): Same.
3756         * include/c_std/bits/std_cwchar.h (wcschr): Same.
3757         (wcsbrk): Same.
3758         (wcsrchr): Same.
3759         (wcsstr): Same.
3760         (wmemchr): Same.
3762 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
3764         * testsuite/21_strings/c_strings.cc (main): Fix.
3766 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
3768         * acinclude.m4:  Fix --help spacing, correct comments.
3769         * aclocal.m4:  Regenerate.
3770         * configure:  Regenerate.
3771         * mkcheck.in:  Add usage comments.
3772         * docs/html/documentation.html:  Point to doxygen'd tarball.
3774 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
3776         * testsuite/README: Add notes.
3778         * src/Makefile.am (libstdc++.INC): Remove.
3779         * src/Makefile.in: Regenerate.
3781         Phil Edwards <pedwards@disaster.jaj.com>
3782         * mkcheck.in: Add missing '#'.
3784 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3786         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3787         appropriately for remote testing and testing installed files without
3788         a build dir.
3790 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
3792         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3793         amd glibcpp_prefixdir with absolute paths.
3795         * include/bits/c++config (__GLIBCPP__): Bump.
3796         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3798 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
3800         * include/bits/std_valarray.h (valarray<>::operator[] const):
3801         Return a const reference.
3802         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3804 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
3806         * configure.target (ATOMICITYH): Actually use AIX-specific code on
3807         earlier versions of AIX 4.*.
3809 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3811         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
3812         output_file based on the name of the testcase.
3814 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3816         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
3817         gluefile and use it if needs_status_wrapper is set.
3819 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
3821         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3822         versions of AIX.
3824 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
3826         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3827         on earlier versions of AIX.
3829 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
3831         * testsuite_flags.in (query): Add backwards, ext directories.
3833 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
3835         * porting.texi: Correct documentation about handling
3836         _LARRGEFILE_SOURCE and its ilk.
3837         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3838         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3839         __EXTENSIONS__.
3840         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3841         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3843 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
3845         * testsuite/21_strings/inserters_extractors.cc,
3846         testsuite/27_io/istream_unformatted.cc,
3847         testsuite/27_io/stringstream.cc:
3848         Replace multi-line string constants with C89-style
3849         concatenated string constants.
3851 2001-05-14  Richard Henderson  <rth@redhat.com>
3853         * mknumeric_limits: Build with -fno-exceptions.
3855 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
3857         Switch over to new harness.
3858         * testsuite_flags.in: Tweaks via Gaby.
3859         * testsuite/Makefile.am: Change tool to libstdc++-v3.
3860         (EXPECT): Quote directly.
3861         (RUNTEST): Same.
3862         * configure.in: Output testsuite_flags.
3863         * acinclude.m4: Substitute src, bld, and prefix dirs.
3864         Remove glibcpp_expect, glibcpp_runtestflags.
3865         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3866         * mkcheck.in: Port to new interface.
3868         * aclocal.m4: Regerate.
3869         * configure: Regnerate.
3870         * Makefile.in: Regnerate.
3871         * */Makefile.in: Regenerate.
3873         * tests_flags.in: Remove.
3874         * testsuite/lib/libstdc++.exp: Remove.
3875         * testsuite/libstdc++.tests/tests.exp: Remove.
3877 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
3879         * configure.target: Remove detection of AIX pthread multilib, now
3880         obtained from `gcc -v'.
3882 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3884         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3885         size.  Add hpux case for HP size.
3887 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
3889         * testsuite_flags.in: New, simplified interface.
3890         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3891         * testsuite/libstdc++-v3.dg: Add.
3892         * testsuite/libstdc++-v3.dg/dg.exp: Add.
3894 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
3896         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3897         * testsuite/config/default.exp: Update bugs email address.
3899 2001-05-11  Richard Henderson  <rth@redhat.com>
3901         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
3902         all pointer encoding logic.
3903         (struct lsda_header_info): Add ttype_base.
3904         (get_ttype_entry): Use it instead of a context.
3905         (check_exception_spec): Likewise.
3906         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
3907         the c++ exception header for __cxa_call_unexpected.
3908         (__cxa_call_unexpected): Use it.
3910 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
3912         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3913         libgloss_link_flags to find crt0.o for targets that use libgloss
3914         instead of newlib.
3915         Change LDFLAGS to LIBS.
3916         Consistently name procedures libstdc++-XXX.
3917         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3919 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
3921         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3922         (strchr): Same.
3923         (strpbrk): Same.
3924         (strrchr): Same.
3925         (strstr): Same.
3926         * include/c_std/bits/std_cwchar.h (wcschr): Same.
3927         (wcsbrk): Same.
3928         (wcsrchr): Same.
3929         (wcsstr): Same.
3930         (wmemchr): Same.
3931         * testsuite/21_strings/c_strings.cc: Add tests.
3933 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
3935         libstdc++/2523
3936         * include/bits/std_fstream.h (basic_filebuf): Change signature.
3937         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3938         to int_type, pass in buffer size info.
3939         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3940         unbuffered situation.
3941         (underflow): Remove codecvt bits for the time being.
3942         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3943         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3944         values from iterators, clean.
3945         * src/locale.cc: Ditto.
3946         * include/bits/sbuf_iter.h: Format.
3947         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3948         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3949         * testsuite/27_io/filebuf.cc: Tweaks.
3950         * testsuite/27_io/filebuf_members.cc: Tweaks.
3952 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
3954         * config/os/solaris/solaris2.7/bits/os_defines.h
3955         (_LARGEFILE_SOURCE): Define it.
3957 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
3959         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3960         -prefer-non-pic depending on whether libtool has shared libraries
3961         enabled or disabled.
3962         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3963         $(LIBSUPCXX_PICFLAGS).
3964         * configure, */Makefile.in: Rebuilt.
3966 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
3968         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3969         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3971         * include/bits/std_sstream.h (stringbuf): Leak
3972         copied string.
3973         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3975 2001-05-01  Tom Browder  <tbrowder@home.com>
3977         * docs/html/ext/howto.html:  Fix typo.
3979 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
3981         * testsuite/libstdc++.tests/tests.exp: Add comment.
3983 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
3985         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3987 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3989         * porting.texi: Use the GFDL.
3991 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
3993         libstdc++/2627
3994         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3995         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3996         specializations.
3998 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4000         libstdc++/2964
4001         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4003 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
4005         * docs/doxygen/run_doxygen:  Minor tweaks.
4006         * docs/doxygen/style.css:  New file.
4007         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
4008         latest parameters available.  Use style.css.
4010 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
4012         * docs/doxygen/mainpage.doxy: New.
4013         * docs/doxygen/user.cfg.in: Change default configuration. Single
4014         frame, other tweaks.
4016 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
4018         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4019         Indicate obsolete nature of thelist for G++ 3.0.
4021 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
4023         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4024         target_thread_file with `gcc -v'.
4025         * aclocal.m4, configure: Rebuilt.
4027 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
4029         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4030         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4031         * include/c_std/bits/std_cwchar.h (std): Same.
4032         * acconfig.h (std): Remove c99 injection into std.
4033         * config.h.in: Regenerate.
4035         * testsuite/README: Fix typo.
4037         * include/bits/codecvt.h: Remove warnings.
4039 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4041         * include/ext/slist: Include required header files.
4043 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
4045         * include/c_std/bits/std_cerrno.h (errno): Define macro from
4046         identifier declared with external linkage, if needed.
4047         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4048         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4050 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
4052         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4053         re-configures find the build compiler.
4054         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4055         libstdc++/2609.
4056         * aclocal.m4: Regenerate.
4057         * configure: Regenerate.
4059 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
4061         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4062         support is enabled correctly before long long is activated.
4063         * aclocal.m4: Regenerate.
4064         * configure: Regenerate.
4066         * include/backward/backward_warning.h: Format correctly.
4068         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4069         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4070         * testsuite/26_numerics/c99_macros.cc: Remove.
4072 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
4074         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
4075         __iterator_category.
4077 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
4079         * acconfig.h (_GLIBCPP_USE_C99): Add.
4080         * config.h.in: Regenerate.
4081         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4082         9899: 1999 support.
4083         * aclocal.m4: Regenerate.
4084         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4085         * configure: Regenerate.
4086         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4087         * configure: Regenerate.
4088         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4089         into c99.
4090         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4091         namespace.
4092         * include/c_std/bits/std_cstdlib.h: Same.
4093         * docs/html/configopts.html: Update.
4094         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4095         math.h
4096         (test_c99_classify): Add.
4097         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4098         (_ISOC99_SOURCE): Remove.
4100         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4101         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4102         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4103         * aclocal.m4: Regenerate.
4104         * configure: Regenerate.
4106 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
4108         * Makefile.am (doxygen):  Assume script is missing execute perms.
4109         * Makefile.in:  Regenerated.
4110         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
4112 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
4114         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4116 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
4118         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4119         * testsuite/23_containers/set_operators.cc: Same.
4121         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4122         default.
4123         (__GLIBCPP__): Bump from value of last release.
4124         * include/bits/concept_check.h: Default to off, edit comments.
4125         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4126         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4127         * src/Makefile.in: Regenerate.
4129 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
4131         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4132         Properly uglify member.
4134 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4136         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
4137         of EqualityCo
4138         mparableConcept.
4140 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4142         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
4143         * include/bits/concept_check.h:  Uglify.
4144         * include/bits/stl_algo.h:  Likewise.
4145         * include/bits/stl_algobase.h:  Likewise.
4146         * include/bits/stl_deque.h:  Likewise.
4147         * include/bits/stl_heap.h:  Likewise.
4148         * include/bits/stl_iterator_base_funcs.h:  Likewise.
4149         * include/bits/stl_list.h:  Likewise.
4150         * include/bits/stl_map.h:  Likewise.
4151         * include/bits/stl_multimap.h:  Likewise.
4152         * include/bits/stl_multiset.h:  Likewise.
4153         * include/bits/stl_numeric.h:  Likewise.
4154         * include/bits/stl_queue.h:  Likewise.
4155         * include/bits/stl_set.h:  Likewise.
4156         * include/bits/stl_stack.h:  Likewise.
4157         * include/bits/stl_vector.h:  Likewise.
4158         * include/ext/hash_map:  Likewise.
4159         * include/ext/hash_set:  Likewise.
4160         * include/ext/slist:  Likewise.
4162 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
4164         * testsuite/23_containers/set_operators.cc: Just try to compile.
4165         Mark as XFAIL.
4166         * testsuite/23_containers/map_operators.cc: Same.
4168 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
4170         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4171         output_file.
4172         (dg-test): Revert rth's change.
4174 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
4176         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4177         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4179 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
4181         * testsuite/README: Add DejaGnu specific documentation.
4183 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
4185         * acinclude.m4: AC_CHECK_TOOL for expect.
4186         * aclocal.m4: Regenerate.
4187         * configure: Regenerate.
4188         * testsuite/Makefile.am (RUNTEST): Use substituted.
4189         (EXPECT): Same.
4191         * configure.in: Remove xcompiling substitution.
4192         * tests_flags.in (CROSS_LIB_PATH): Remove.
4193         (xcompiling): Remove.
4194         (CXX): Use substituted CXX.
4196 2001-04-11  Richard Henderson  <rth@redhat.com>
4198         * testsuite/lib/libstdc++.exp: Specify path for output_file.
4200 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
4202         * include/bits/std_valarray.h(valarray<>::operator[]): Make
4203         inline.
4205 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4207         * testsuite/25_algorithms/equal.cc: New test.
4209 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
4211         * stl_algobase.h (std::equal): avoid use of possibly-undefined
4212         operator != (one line patch).
4214 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
4216         * include/backward/backward_warning.h: Re-enable.
4218 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4219             Alexandre Oliva  <aoliva@redhat.com>
4221         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4223 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4225         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4226         * testsuite/26_numerics/c99_macros.cc: Add test.
4228 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
4230         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
4231         * docs/html/faq/index.txt:  Regenerated.
4233 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4235         * include/backward/backward_warning.h: Temporarily disable until
4236         g++ testsuite changes go in.
4237         * tests_flags.in (CROSS_LIB_PATH): Add.
4239 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4241         Warn when using backward headers.
4242         * include/backward/algo.h: Include warning file.
4243         * include/backward/vector.h: Same.
4244         * include/backward/tree.h: Same.
4245         * include/backward/tempbuf.h: Same.
4246         * include/backward/strstream: Same.
4247         * include/backward/streambuf.h: Same.
4248         * include/backward/stream.h: Same.
4249         * include/backward/stack.h: Same.
4250         * include/backward/slist.h: Same.
4251         * include/backward/set.h: Same.
4252         * include/backward/rope.h:
4253         * include/backward/queue.h: Same.
4254         * include/backward/pair.h: Same.
4255         * include/backward/ostream.h: Same.
4256         * include/backward/new.h: Same.
4257         * include/backward/multiset.h: Same.
4258         * include/backward/multimap.h: Same.
4259         * include/backward/map.h: Same.
4260         * include/backward/list.h: Same.
4261         * include/backward/iterator.h: Same.
4262         * include/backward/istream.h: Same.
4263         * include/backward/iostream.h:
4264         * include/backward/iomanip.h:
4265         * include/backward/heap.h: Same.
4266         * include/backward/hashtable.h:
4267         * include/backward/hash_set.h:
4268         * include/backward/hash_map.h:
4269         * include/backward/function.h:
4270         * include/backward/fstream.h:
4271         * include/backward/deque.h:
4272         * include/backward/defalloc.h: Same.
4273         * include/backward/complex.h: Same.
4274         * include/backward/bvector.h:
4275         * include/backward/alloc.h:
4276         * include/backward/algobase.h: Same.
4278         * include/backward/backward_warning.h: New file.
4279         * src/Makefile.am (backward_headers): Add backward_warning.h
4280         * src/Makefile.in: Regenerate.
4282 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4284         * src/Makefile.am (myinstalldirs): Make sure backward directory is
4285         created.
4286         (myinstallheaders): Install backward headers in backward directory.
4287         * src/Makefile.in: Regenerate.
4289 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4291         Prepare for libstdc++-2.92.
4292         * docs/html/17_intro/RELEASE-NOTES (New): Update.
4293         * docs/html/configopts.html: Fix formatting.
4294         * README (file): Updates.
4295         * include/bits/c++config (__GLIBCPP__): Update.
4297 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
4299         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
4301 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
4303         * docs/doxygen/user.cfg.in:  Extract all non-private members;
4304         reduce confusing documentation output.
4306 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
4308         * include/backward/fstream.h: Add missing semicolons.
4310 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
4312         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4313         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4314         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4315         (ios_base::Init::_S_ios_create): New.
4316         (ios_base::Init::_S_ios_destroy): New.
4317         * include/bits/std_fstream.h: Change ctor args.
4318         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4319         (ios_base::Init::~Init): Use _S_ios_destroy.
4320         (ios_base::sync_with_stdio): Use new members.
4321         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4322         filebuf ctor.
4324 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4326         * include/backward/fstream.h:  Expose streampos to global
4327         namespace.
4329 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4331         * include/bits/stl_iterator_base_types.h: Fix typo
4333 2001-04-03  Andreas Schwab  <schwab@suse.de>
4335         * include/backward/fstream.h: Define filebuf and wfilebuf.
4337 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
4339         New concept checking implementation.
4340         * docs/html/19_diagnostics/howto.html:  Document.
4341         * docs/html/17_intro/concept_check.diff:  New file, for reference.
4342         * include/bits/boost_concept_check.h:  New file from Boost.
4343         * include/bits/c++config:  Update comments.
4345         * include/bits/concept_check.h:  New file.
4346         * include/bits/concept_checks.h:  Removed.
4347         * include/bits/container_concepts.h:  Removed.
4348         * include/bits/sequence_concepts.h:  Removed.
4349         * include/bits/stl_iterator_base.h:  Removed; split into...
4350         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
4351         * include/bits/stl_iterator_base_types.h:  ...and this new file.
4353         * include/bits/sbuf_iter.h:  Update to use new implementation.
4354         * include/bits/std_iterator.h:  Likewise.
4355         * include/bits/std_memory.h:  Likewise.
4356         * include/bits/stl_algo.h:  Likewise.
4357         * include/bits/stl_algobase.h:  Likewise.
4358         * include/bits/stl_construct.h:  Likewise.
4359         * include/bits/stl_deque.h:  Likewise.
4360         * include/bits/stl_heap.h:  Likewise.
4361         * include/bits/stl_list.h:  Likewise.
4362         * include/bits/stl_map.h:  Likewise.
4363         * include/bits/stl_multimap.h:  Likewise.
4364         * include/bits/stl_multiset.h:  Likewise.
4365         * include/bits/stl_numeric.h:  Likewise.
4366         * include/bits/stl_queue.h:  Likewise.
4367         * include/bits/stl_set.h:  Likewise.
4368         * include/bits/stl_stack.h:  Likewise.
4369         * include/bits/stl_uninitialized.h:  Likewise.
4370         * include/bits/stl_vector.h:  Likewise.
4371         * include/ext/hash_map:  Likewise.
4372         * include/ext/hash_set:  Likewise.
4373         * include/ext/slist:  Likewise.
4374         * include/ext/stl_hashtable.h:  Likewise.
4376         * src/Makefile.am (base_headers):  Update list of headers.
4377         * Makefile.in:  Regenerated.
4378         * src/Makefile.in:  Regenerated.
4379         * libio/Makefile.in:  Regenerated.
4380         * libmath/Makefile.in:  Regenerated.
4381         * libsupc++/Makefile.in:  Regenerated.
4382         * testsuite/Makefile.in:  Regenerated.
4384         * docs/html/install.html:  Update contact information.
4385         * docs/html/17_intro/howto.html:  Ditto.
4386         * docs/html/18_support/howto.html:  Ditto.
4387         * docs/html/20_util/howto.html:  Ditto.
4388         * docs/html/21_strings/howto.html:  Ditto.
4389         * docs/html/22_locale/howto.html:  Ditto.
4390         * docs/html/23_containers/howto.html:  Ditto.
4391         * docs/html/24_iterators/howto.html:  Ditto.
4392         * docs/html/25_algorithms/howto.html:  Ditto.
4393         * docs/html/26_numerics/howto.html:  Ditto.
4394         * docs/html/27_io/howto.html:  Ditto.
4395         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
4396         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
4397         * docs/html/faq/index.txt:  Regenerated.
4399 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
4401         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4402         messages with $which_library as well as $tool_flags and
4403         ${dg-extra-tool-flags}.  Factor out annotation text into
4404         a single variable.
4406 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
4408         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4409         * include/c_std/bits/std_cwchar.h: Same.
4410         * testsuite/21_strings/c_strings.cc: Add.
4412 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
4414         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4416 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
4418         * tests_flags.in: Use test a = b, not test a == b which is not
4419         portable.
4421 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
4423         * configure.target: Remove duplicate aix entry.
4425 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
4427         * include/ext/stl_bvector.h: Move to...
4428         * include/bits/stl_vector.h: ...here.
4429         * include/ext/bvector: Move to...
4430         * include/backward/bvector.h: ...here.
4431         * include/bits/std_vector.h: Change stl_bvector include.
4432         * include/bits/std_queue.h: Remove bvector include.
4433         * include/ext/tree: Insert using rb_tree, move to...
4434         * include/backward/tree.h: ...here.
4435         * include/backward/hash_map.h: Include ext/hash_map.
4436         * include/backward/hash_set.h: Include ext/hash_set.
4437         * include/backward/queue.h: New file.
4438         * include/backward/stack.h: Edit.
4439         * include/backward/algo.h: Same.
4440         * include/backward/algobase.h: Same.
4441         * include/backward/alloc.h: Same.
4442         * include/backward/function.h: Same.
4443         * include/backward/iomanip.h: Same.
4444         * include/backward/istream.h: Same.
4445         * include/backward/iterator.h: Same.
4446         * include/backward/list.h: Same.
4447         * include/backward/map.h: Same.
4448         * include/backward/multimap.h: Same.
4449         * include/backward/multiset.h: Same.
4450         * include/backward/ostream.h: Same.
4451         * include/backward/pair.h: Same
4452         * include/backward/rope.h: Same.
4453         * include/backward/set.h: Same.
4454         * include/backward/stream.h: Same.
4455         * include/backward/strstream.h: Same.
4456         * include/backward/tempbuf.h: Same.
4457         * src/Makefile.am (ext_headers): Edit.
4458         * src/Makefile.in: Regenerate.
4459         * testsuite/ext/headers.cc (main): Fix.
4460         * mkcheck.in: Fix.
4462 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
4464         * tests_flags.in (LIBS):  Pass correct path for installed testing.
4466 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
4468         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4469         * tests_flags.in (CXX): Construct here.
4470         (static_fail): Don't remove compile.out. Format with spaces.
4471         (INCLUDES): Deal with xcompiling.
4472         * configure.in (xcompiling): Substitute.
4473         * testsuite/Makefile.am: Snake libjava configury.
4474         * testsuite/Makefile.in: Regenerate.
4475         * testsuite/23_containers/map_operators.cc: Tweaks.
4476         * testsuite/23_containers/set_operators.cc: Tweaks.
4478 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4480         Enable dejagnu testing framework.
4481         * configure.in: Generate testsuite/Makefile.
4482         * configure: Regenerate.
4483         * Makefile.am (check-install): Change rule from this...
4484         (check-script-install): ...to this.
4485         (check): Change rule from this...
4486         (check-script):...to this.
4487         * Makefile.in: Regenerate.
4489 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
4491         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4492         --tag CXX.
4493         (LIBTOOL): Let automake take care of its definition.
4494         * libsupc++/Makefile.in: Rebuilt.
4496 2001-03-28  Richard Henderson  <rth@redhat.com>
4498         IA-64 ABI Exception Handling:
4499         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4500         * configure.in: Use it.
4501         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4502         * libsupc++/Makefile.am (sources): Update files list.
4503         * libsupc++/Makefile.in: Regenerate.
4504         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4505         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4506         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4507         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4508         * libsupc++/exception_support.cc: Remove.
4509         * libsupc++/exception_support.h: Remove.
4510         * libsupc++/pure.cc: Use std::terminate.
4511         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4512         (__is_pointer): Remove.
4513         * libsupc++/unwind-cxx.h: New file.
4514         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4516 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
4518         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4519         CXX tag explicitly.
4520         * src/Makefile.am (CXXLINK): Likewise.
4521         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4523 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
4525         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4527 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4529         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4530           and libc
4532 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
4534         * include/bits/basic_file.h (get_fileno): Remove.
4535         (_M_fileno): Remove.
4536         (_M_cfile_created): Add.
4537         (basic_file::basic_file(__c_file_type*, openmode): Add.
4538         (basic_file::basic_file(int, const char*, openmode): Remove.
4539         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4540         const char*, ios_base::openmode): Don't allocate
4541         internal buffers. Turn off internal buffers.
4542         (basic_filebuf::overflow): Remove test for null buffer.
4543         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4544         * include/bits/streambuf.cc: Tweak.
4545         * include/bits/std_ostream.h: Tweak.
4546         * config/basic_file_libio.h: Same.
4547         * config/basic_file_stdio.h: Same.
4548         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4549         * testsuite/27_io/filebuf_members.cc: Tweaks.
4550         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4552 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4554         * Makefile.am:  New targets, doxygen and doxygen-maint.
4555         * Makefile.in:  Regenerated.
4556         * docs/doxygen/run_doxygen:  Finally implemented.
4557         * docs/doxygen/maint.cfg.in:  New file.
4558         * docs/doxygen/user.cfg.in:  New file.
4560 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4562         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
4563         * src/Makefile.am:  Replace leading spaces with tabs on continuation
4564         lines.
4565         * aclocal.m4:  Regenerated.
4566         * configure:  Ditto.
4567         * Makefile.in:  Ditto.
4568         * src/Makefile.in:  Ditto.
4569         * libio/Makefile.in:  Ditto.
4570         * libmath/Makefile.in:  Ditto.
4571         * libsupc++/Makefile.in:  Ditto.
4573 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4575         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
4576         concept-checking code and current status of same.
4577         * docs/html/ext/howto.html:  Ditto.
4578         * docs/html/faq/index.html:  Ditto.
4579         * docs/html/faq/index.txt:  Regenerated.
4581 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4583         * include/bits/std_bitset.h:  Include ostream and istream headers
4584         instead of iostream.
4586 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
4588         * include/bits/ostream.tcc: Use __builtin_alloca.
4590 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
4592         * src/misc-inst.cc (__sink_unused_warning): Move to...
4593         * src/locale-inst.cc (__sink_unused_warning): Move to...
4594         * src/stl-inst.cc: Here.
4595         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4596         commented it out.
4598 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
4600         * intclude/bits/basic_file.h: Fix typos in comments.
4602 2001-03-20  Richard Henderson  <rth@redhat.com>
4604         * src/gen-num-limits.cc: Instantiate for wchar_t.
4605         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4607 2001-03-20  Jason Merrill  <jason@redhat.com>
4609         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4610         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4611         * libsupc++/cxxabi.h: Declare it.
4613 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
4615         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4616         signal_func with an unspecified argument list.
4618 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
4620         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4622 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4624         * include/bits/basic_string.tcc (operator+): Fix thinko.
4626 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
4628         libstdc++/2020
4629         * include/bits/std_streambuf.h: Remove cached locale facets.
4630         (basic_streambuf::_M_buf_fctype): Remove.
4631         (basic_streambuf::~basic_streambuf): Remove here.
4632         (basic_streambuf::basic_streambuf): Same.
4633         (basic_streambuf::imbue): Same.
4634         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4635         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4636         (basic_filebuf::~basic_filebuf()): Remove here.
4637         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4638         (basic_filebuf::imbue): Same.
4639         * include/bits/localefwd.h (_Count_ones): Remove.
4640         (locale::_S_num_categories): Just use 6, since this doesn't
4641         actually change, ever.
4642         * include/bits/locale_facets.tcc (has_facet): Simplify.
4643         (use_facet): Same.
4644         * testsuite/27_io/filebuf.cc (test06): Add tests.
4646 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
4648         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4649         match HP-UX ctype.h header file.
4651 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
4653         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4654         duplicate definitions of __dj_ctype_*
4656 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
4658         * libsupc++/new: Remove pragma interface.
4659         * libsupc++/typeinfo: Same.
4660         * libsupc++/exception: Same.
4661         * libsupc++/new_handler.cc: Remove pragma implementation.
4662         (bad_alloc::~bad_alloc()): Add.
4663         * libsupc++/exception_support.cc: Same.
4664         (exception::~exception): Add.
4665         (bad_exception::~bad_exception): Add.
4666         * libsupc++/tinfo.cc: Same.
4667         (bad_cast::~bad_cast): Add.
4668         (bad_typeid::~bad_typeid): Add.
4670 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
4672         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
4674 2001-03-12  Felix Lee  <flee@redhat.com>
4676         * mkcheck.in: workaround for bash 2.01 IFS bug.
4678 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
4680         Fixups for -fno-for-scope
4681         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4682         * src/valarray-inst.cc (__gslice_to_index): Same.
4684 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
4686         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4687         prior to trapping signal (UnixWare 7 workaround).
4689 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
4691         * include/backward/hashtable.h: Same.
4692         * include/backward/rope.h: Fix include.
4694 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
4696         * include/backward/vector.h: Include std_vector.h.
4698         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4699         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4700         Fix typo.
4702 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4704         * include/ext/stl_hashtable.h: Change type of __n to size_t
4705         * include/backward/bvector.h: Include <ext/stl_bvector.h>
4707 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4709         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4710         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4711         Use streamsize, not int_type.
4713 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
4715         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4716         moment.
4718 2001-03-08  Andreas Schwab  <schwab@suse.de>
4720         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4721         command.
4722         * aclocal.m4, configure: Regenerated.
4724 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
4726         * include/bits/std_iosfwd.h: Remove string forward decls here.
4727         * include/bits/stringfwd.h: Add forward decls for char_traits
4728         specializations.
4729         * config/c_io_libio.h (wstreamoff): Delete.
4730         * config/c_io_stdio.h (wstreamoff): Same.
4731         * include/bits/char_traits.h: Use streamoff not wstreamoff for
4732         char_traits<wchar_t>::off_type.
4733         Remove duplicate typedefs.
4734         * include/bits/fpos.h: Define streampos/wstreampos here.
4735         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4736         values to off_type.
4737         (test05): Same.
4738         Changeup output files.
4739         * testsuite/27_io/istream_unformatted.cc: Change output files.
4740         * testsuite/27_io/istream_seeks-1.txt: Add.
4741         * testsuite/27_io/istream_seeks-2.tst: Add.
4742         * testsuite/27_io/istream_seeks-1.tst: Add.
4743         * testsuite/27_io/istream_unformatted-2.tst: Delete.
4744         * testsuite/27_io/istream_unformatted-3.tst: Delete.
4745         * testsuite/27_io/istream_unformatted-3.txt: Delete.
4747 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
4749         Add Irix 5.2, 6.3 support.
4750         * config/os/irix/bits: Renamed to...
4751         * config/os/irix/irix6.5/bits: this.
4752         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4753         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4754         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4755         * config/os/irix/irix5.2/bits/ctype_noninline.h
4756         (ctype<char>::ctype): Initialize _M_table with __ctype.
4757         * configure.target: Adjust.
4759 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
4761         libstdc++/2181
4762         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4763         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4764         sentry.
4765         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4766         (*__pf)(__ios_type&)): Same.
4767         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4768         (*__pf)(ios_base&))): Same.
4769         * testsuite/27_io/istream_extractor_other.cc: Add tests.
4770         * testsuite/27_io/istream_manip.cc (test01): Fix.
4772 2001-03-06  Nathan Myers  <ncm@cantrip.org>
4773             Benjamin Kosnik  <bkoz@redhat.com>
4775         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4776         * testsuite/17_intro/header_cerrno.cc (test01): New file.
4777         * testsuite/17_intro/header_cassert.cc (test01): New file.
4778         * testsuite/17_intro/header_cstddef.cc (test01): New file.
4779         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4780         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4782 2001-03-05  scott snyder  <snyder@fnal.gov>
4784         libstdc++/2190
4785         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4786         from here...
4787         * include/c_std/bits/std_cstdlib.h: ... to here.
4788         * testsuite/17_intro/header_cstdlib.cc: Add test.
4790 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
4792         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4794 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
4796         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4797         definition. Replace enum with static const variables.
4799         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4800         throw specification, fix typos, use <static_cast>.
4801         (ctype<char>::scan_is): remove throw specification.
4802         (ctype<char>::scan_not): likewise.
4804         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4805         (ctype<char>::do_toupper(char)): use <static_cast>.
4806         (ctype<char>::do_toupper(char *, const char *)): likewise.
4807         (ctype<char>::do_tolower(char)): likewise.
4808         (ctype<char>::do_tolower(char *, const char *)): likewise.
4810 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
4812         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4813         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
4814         macros and "never happens" code.  Adjust to C++STYLE guidelines.
4815         * include/backward/algobase.h:  Likewise.
4816         * include/backward/alloc.h:  Likewise.
4817         * include/backward/bvector.h:  Likewise.
4818         * include/backward/deque.h:  Likewise.
4819         * include/backward/function.h:  Likewise.
4820         * include/backward/hash_map.h:  Likewise.
4821         * include/backward/hash_set.h:  Likewise.
4822         * include/backward/hashtable.h:  Likewise.
4823         * include/backward/heap.h:  Likewise.
4824         * include/backward/iterator.h:  Likewise.
4825         * include/backward/list.h:  Likewise.
4826         * include/backward/map.h:  Likewise.
4827         * include/backward/multimap.h:  Likewise.
4828         * include/backward/multiset.h:  Likewise.
4829         * include/backward/pair.h:  Likewise.
4830         * include/backward/rope.h:  Likewise.
4831         * include/backward/set.h:  Likewise.
4832         * include/backward/slist.h:  Likewise.
4833         * include/backward/stack.h:  Likewise.
4834         * include/backward/strstream:  Likewise.
4835         * include/backward/tempbuf.h:  Likewise.
4836         * include/backward/tree.h:  Likewise.
4837         * include/backward/vector.h:  Likewise.
4838         * include/bits/basic_ios.h:  Likewise.
4839         * include/bits/basic_ios.tcc:  Likewise.
4840         * include/bits/basic_string.h:  Likewise.
4841         * include/bits/c++config:  Likewise.
4842         * include/bits/concept_checks.h:  Likewise.
4843         * include/bits/fpos.h:  Likewise.
4844         * include/bits/fstream.tcc:  Likewise.
4845         * include/bits/functexcept.h:  Likewise.
4846         * include/bits/ios_base.h:  Likewise.
4847         * include/bits/istream.tcc:  Likewise.
4848         * include/bits/mask_array.h:  Likewise.
4849         * include/bits/ostream.tcc:  Likewise.
4850         * include/bits/pthread_allocimpl.h:  Likewise.
4851         * include/bits/sbuf_iter.h:  Likewise.
4852         * include/bits/slice.h:  Likewise.
4853         * include/bits/slice_array.h:  Likewise.
4854         * include/bits/sstream.tcc:  Likewise.
4855         * include/bits/std_bitset.h:  Likewise.
4856         * include/bits/std_fstream.h:  Likewise.
4857         * include/bits/std_iomanip.h:  Likewise.
4858         * include/bits/std_ios.h:  Likewise.
4859         * include/bits/std_istream.h:  Likewise.
4860         * include/bits/std_iterator.h:  Likewise.
4861         * include/bits/std_memory.h:  Likewise.
4862         * include/bits/std_ostream.h:  Likewise.
4863         * include/bits/std_sstream.h:  Likewise.
4864         * include/bits/std_streambuf.h:  Likewise.
4865         * include/bits/std_string.h:  Likewise.
4866         * include/bits/std_valarray.h:  Likewise.
4867         * include/bits/stl_algo.h:  Likewise.
4868         * include/bits/stl_algobase.h:  Likewise.
4869         * include/bits/stl_alloc.h:  Likewise.
4870         * include/bits/stl_construct.h:  Likewise.
4871         * include/bits/stl_deque.h:  Likewise.
4872         * include/bits/stl_function.h:  Likewise.
4873         * include/bits/stl_heap.h:  Likewise.
4874         * include/bits/stl_iterator.h:  Likewise.
4875         * include/bits/stl_iterator_base.h:  Likewise.
4876         * include/bits/stl_list.h:  Likewise.
4877         * include/bits/stl_map.h:  Likewise.
4878         * include/bits/stl_multimap.h:  Likewise.
4879         * include/bits/stl_multiset.h:  Likewise.
4880         * include/bits/stl_numeric.h:  Likewise.
4881         * include/bits/stl_pair.h:  Likewise.
4882         * include/bits/stl_pthread_alloc.h:  Likewise.
4883         * include/bits/stl_queue.h:  Likewise.
4884         * include/bits/stl_raw_storage_iter.h:  Likewise.
4885         * include/bits/stl_relops.h:  Likewise.
4886         * include/bits/stl_set.h:  Likewise.
4887         * include/bits/stl_stack.h:  Likewise.
4888         * include/bits/stl_tempbuf.h:  Likewise.
4889         * include/bits/stl_threads.h:  Likewise.
4890         * include/bits/stl_tree.h:  Likewise.
4891         * include/bits/stl_uninitialized.h:  Likewise.
4892         * include/bits/stl_vector.h:  Likewise.
4893         * include/bits/streambuf.tcc:  Likewise.
4894         * include/bits/type_traits.h:  Likewise.
4895         * include/bits/valarray_meta.h:  Likewise.
4896         * include/ext/bvector:  Likewise.
4897         * include/ext/hash_map:  Likewise.
4898         * include/ext/hash_set:  Likewise.
4899         * include/ext/ropeimpl.h:  Likewise.
4900         * include/ext/slist:  Likewise.
4901         * include/ext/stl_bvector.h:  Likewise.
4902         * include/ext/stl_hash_fun.h:  Likewise.
4903         * include/ext/stl_hashtable.h:  Likewise.
4904         * include/ext/stl_rope.h:  Likewise.
4905         * src/complex_io.cc:  Likewise.
4906         * src/ios.cc:  Likewise.
4907         * src/locale-inst.cc:  Likewise.
4908         * src/locale.cc:  Likewise.
4909         * src/localename.cc:  Likewise.
4910         * src/misc-inst.cc:  Likewise.
4911         * src/stdexcept.cc:  Likewise.
4912         * src/stl-inst.cc:  Likewise.
4913         * src/strstream.cc:  Likewise.
4914         * src/valarray-inst.cc:  Likewise.
4916 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
4918         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4920 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4922         * include/bits/istream.tcc: change type of __extracted to __size_type
4924 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
4926         * src/wstring-inst.cc: New file.
4927         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4928         (libinst_wstring_la_SOURCES): Remove.
4929         (libstdc___la_LIBADD): Remove libinst_wstring_la.
4930         (sources): Add wstring-inst.cc
4931         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4932         libinst_wstring_la.
4934 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4936         * src/locale.cc: initialise __ret with zero
4937         * src/strstream.cc:cast gptr to int_type
4939 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
4941         * docs/html/faq/index.html:  Update broken links.
4942         * docs/html/faq/index.txt:  Regenerated.
4944 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
4946         libstdc++/2064
4947         * configure.target: Change irix* to irix6.5* in target_os table.
4949 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
4951         libstdc++/2103
4952         * include/bits/c++config (__GLIBCPP__): Bump number in
4953         anticipation of 2.92.
4955         * include/bits/codecvt.h: Fix typo.
4956         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4957         stdio model.
4958         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4959         instantiations for stdio model.
4961 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
4963         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
4964           and GLIBCPP_CXXFLAGS as unused variables.
4965         * configure.host:  Likewise.
4966         * configure.target:  Likewise.
4967         * aclocal.m4:  Regenerated.
4968         * configure:  Regenerated.
4969         * Makefile.in:  Regenerated.
4970         * libio/Makefile.in:  Regenerated.
4971         * libmath/Makefile.in:  Regenerated.
4972         * libsupc++/Makefile.in:  Regenerated.
4973         * src/Makefile.in:  Regenerated.
4975 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4977         libstdc++/1886
4978         * include/bits/basic_file.h: Include basic_file_model.h.
4979         * config/c_io_libio.cc: Move to...
4980         * config/basic_file_libio.cc: Here.
4981         * config/basic_file_libio.h: New file.
4982         * config/c_io_stdio.cc: Move to...
4983         * config/basic_file_stdio.cc: Here.
4984         * config/basic_file_stdio.h: New file.
4985         * config/c_io_libio.h: Tweak.
4986         * config/c_io_stdio.h: Tweak.
4987         * src/Makefile.am (build_headers): Add basic_file_model.h.
4988         (sources): Add basic_file.cc, remove c++io.cc.
4989         * src/Makefile.in: Regenerate.
4990         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4991         basic_file_model.h and basic_file.cc.
4992         * aclocal.m4: Regenerate.
4993         * configure: Regenerate.
4994         * testsuite/27_io/filebuf.cc (test05): Add regression.
4996 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4998         Correct license.
4999         * config/cpu/alpha/bits/atomicity.h: Change.
5000         * config/cpu/arm/bits/atomicit3y.h
5001         * config/cpu/generic/bits/atomicity.h
5002         * config/cpu/i386/bits/atomicity.h
5003         * config/cpu/i486/bits/atomicity.h
5004         * config/cpu/ia64/bits/atomicity.h
5005         * config/cpu/powerpc/bits/atomicity.h
5006         * config/cpu/sparc/sparc32/bits/atomicity.h
5007         * config/cpu/sparc/sparc64/bits/atomicity.h
5008         * config/os/aix/bits/atomicity.h
5009         * config/os/irix/bits/atomicity.h
5011 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5013         * include/bits/std_stdexcept.h (runtime_error): Make string
5014         member non-const.
5015         (logic_error): Same.
5016         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5017         (test03): Fix.
5019 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
5021         libstdc++/1972
5022         libstdc++/2089
5023         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5024         string object, not reference.
5025         (runtime_error::runtime_error): Same.
5026         * testsuite/19_diagnostics/stdexceptions.cc: New file.
5028 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
5030         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
5031           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
5032           diagnostics.  Remove WFMT_FLAGS.
5033         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
5034         * libsupc++/Makefile.am:  Likewise.
5035         * src/Makefile.am:  Likewise.
5036         * aclocal.m4:  Regenerated.
5037         * configure:  Regenerated.
5038         * Makefile.in:  Regenerated.
5039         * libio/Makefile.in:  Regenerated.
5040         * libmath/Makefile.in:  Regenerated.
5041         * libsupc++/Makefile.in:  Regenerated.
5042         * src/Makefile.in:  Regenerated.
5044 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
5046         Fixes libstdc++/2079
5047         * include/backward/iomanip.h:  Expose <ios> manipulators to global
5048           namespace.
5049         * include/backward/iostream.h:  Also expose std::ws.
5051 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
5053         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5055 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
5057         * include/bits/codecvt.h: Use __builtin_alloca.
5058         * include/bits/ostream.tcc: Same.
5059         * include/bits/fstream.tcc: Same.
5061 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
5063         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5065 2001-02-23  David Edelsohn <dje@watson.ibm.com>
5067         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5069 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
5071         c++/2052
5072         * include/backward/iostream.h:  Expose std::flush in old headers.
5074 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5076         * mknumeric_limits: Remove special-casing on target.  Use gcc
5077         instead of g++ to build gen-num-limits.cc
5079 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
5081         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5083         * include/bits/codecvt.h: Use alloca instead of __extension__ for
5084         the time being.
5085         * include/bits/ostream.tcc: Same.
5086         * include/bits/std_ostream.h: Same.
5087         * include/bits/fstream.tcc: Same.
5088         * include/bits/locale_facets.tcc: Add typename.
5089         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5091 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
5093         * tests_flags.in:  Remove -n flag from call to echo.
5095 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
5097         * config/c_locale_gnu.h: Add clocale include.
5099 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
5101         * include/bits/stl_config.h:  Remove file.
5102         * src/Makefile.am (base_headers):  Remove from list.
5103         * configure:  Regenerate.
5104         * Makefile.in:  Ditto.
5105         * libio/Makefile.in:  Ditto.
5106         * libmath/Makefile.in:  Ditto.
5107         * libsupc++/Makefile.in:  Ditto.
5108         * src/Makefile.in:  Ditto.
5110         * include/bits/c++config:  Move relevant macros to here.
5111         * include/backward/alloc.h:  Include c++config.h instead.
5112         * include/backward/function.h:  Ditto.
5113         * include/backward/heap.h:  Ditto.
5114         * include/backward/pair.h:  Ditto.
5115         * include/bits/pthread_allocimpl.h:  Ditto.
5116         * include/bits/std_functional.h:  Ditto.
5117         * include/bits/std_iterator.h:  Ditto.
5118         * include/bits/std_numeric.h:  Ditto.
5119         * include/bits/std_utility.h:  Ditto.
5120         * include/bits/stl_algobase.h:  Ditto.
5121         * include/bits/type_traits.h:  Ditto.
5122         * src/stl-inst.cc:  Ditto.
5124 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5126         * include/bits/basic_file.h: Add #pragma system_header
5127         * include/bits/basic_ios.h: Ditto.
5128         * include/bits/basic_string.h: Ditto.
5129         * include/bits/char_traits.h: Ditto.
5130         * include/bits/codecvt.h: Ditto.
5131         * include/bits/cpp_type_traits.h:  Ditto.
5132         * include/bits/fpos.h: Ditto.
5133         * include/bits/gslice.h: Ditto.
5134         * include/bits/gslice_array.h: Ditto.
5135         * include/bits/indirect_array.h: Ditto.
5136         * include/bits/ios_base.h: Ditto.
5137         * include/bits/limits_generic.h: Ditto.
5138         * include/bits/locale_facets.h: Ditto.
5139         * include/bits/localefwd.h: Ditto.
5140         * include/bits/mask_array.h: Ditto.
5141         * include/bits/sbuf_iter.h: Ditto.
5142         * include/bits/sequence_concepts.h: Ditto.
5143         * include/bits/slice.h: Ditto.
5144         * include/bits/slice_array.h: Ditto.
5145         * include/bits/std_algorithm.h: Likewise.
5146         * include/bits/std_bitset.h: Likewise.
5147         * include/bits/std_complex.h: Likewise.
5148         * include/bits/std_deque.h: Likewise.
5149         * include/bits/std_fstream.h: Likewise.
5150         * include/bits/std_functional.h: Likewise.
5151         * include/bits/std_iomanip.h: Likewise.
5152         * include/bits/std_ios.h: Likewise.
5153         * include/bits/std_iosfwd.h: Likewise.
5154         * include/bits/std_iostream.h: Likewise.
5155         * include/bits/std_istream.h: Likewise.
5156         * include/bits/std_iterator.h: Likewise.
5157         * include/bits/std_list.h: Likewise.
5158         * include/bits/std_locale.h: Likewise.
5159         * include/bits/std_map.h: Likewise.
5160         * include/bits/std_memory.h: Likewise.
5161         * include/bits/std_numeric.h: Likewise.
5162         * include/bits/std_ostream.h: Likewise.
5163         * include/bits/std_queue.h: Likewise.
5164         * include/bits/std_set.h: Likewise.
5165         * include/bits/std_sstream.h: Likewise.
5166         * include/bits/std_stack.h: Likewise.
5167         * include/bits/std_stdexcept.h: Likewise.
5168         * include/bits/std_streambuf.h: Likewise.
5169         * include/bits/std_string.h: Likewise.
5170         * include/bits/std_utility.h: Likewise.
5171         * include/bits/std_valarray.h: Likewise.
5172         * include/bits/std_vector.h: Likewise.
5173         * include/bits/stringfwd.h: Likewise.
5174         * include/bits/type_traits.h: Likewise.
5175         * include/bits/valarray_array.h: Likewise.
5176         * include/bits/valarray_meta.h: Likewise.
5178 2001-02-19  Andreas Jaeger  <aj@suse.de>
5180         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5181         Fix typo.
5183 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
5185         libstdc++/1734
5186         * include/bits/std_ostream.h: Replaced usage of
5187         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5188         * include/bits/char_traits.h: Removed non-standard
5189         methods that cannot be used elsewhere.
5191         libstdc++/1885
5192         * include/bits/basic_ios.h: Uncommented #include of
5193         bits/basic_ios.tcc
5195         libstdc++/1897
5196         * include/bits/codecvt.h: See next...
5197         * include/bits/fstream.tcc: See next...
5198         * include/bits/ostream.tcc: Add __extension__
5199         to variable-length arrays.
5201         libstdc++/1967
5202         * include/bits/localefwd.h: Changed int counter type to size_t.
5204         libstdc++/1968
5205         * include/bits/std_fstream.h: Added typedef for __ctype_type.
5207 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
5209         * testsuite/21_strings/char_traits.cc: Move to ...
5210         * testsuite/21_strings/char_traits_requirements.cc: ..here.
5211         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5212         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5214 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
5216         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5217         definitions.
5219 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5221         * include/bits/c++config: Revert.
5223 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5225         * include/bits/istream.tcc: Use ios_base::iostate in place of
5226         iostate throughout.  Insert `typename' keyword where necessary.
5227         * include/bits/ostream.tcc: Insert `typename' keyword where
5228         necessary.
5230 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
5232         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5233         Define so library is compliant.
5235 2001-02-15  Anthony Green  <green@redhat.com>
5237         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5238         compilation.
5239         * aclocal.m4: Regenerate.
5240         * configure: Regenerate.
5242 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
5244         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5245         Include ieeefp.h for fpclass on UnixWare{2,7}.
5246         * aclocal.m4: Regenerate.
5247         * configure: Regenerate.
5248         * mkcheck.in (size_command): Do without GNU-grep when using
5249         size from binutils.
5251 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5253         Remove old ABI support from libsupc++.
5254         * libsupc++/cxxabi.h: Remove conditionally compiled code.
5255         * libsupc++/exception_support.cc: Likewise.
5256         * libsupc++/pure.cc: Likewise.
5257         * libsupc++/tinfo.cc: Likewise.
5258         * libsupc++/tinfo.h: Likewise.
5259         * libsupc++/tinfo2.cc: Likewise.
5260         * libsupc++/typeinfo: Likewise.
5261         * libsupc++/vec.cc: Likewise.
5263 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5265         Add support for -fno-exceptions.
5266         * include/bits/exception_support.h: Remove.
5267         * include/bits/basic_string.h: Remove exception_support.
5268         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5269         (string::at): Same.
5270         (string::substr): Same.
5271         * include/bits/basic_string.tcc (string::reserve): Replace
5272         __LENGTHERROR with __throw_length_error.
5273         (string::_S_create): Same.
5274         (string::resize): Same.
5275         (string::_M_replace): Same.
5276         (string::replace): Same.
5277         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5278         (string::compare): Same.
5279         * include/bits/stl_vector.h: Remove exception_support.
5280         * src/Makefile.am (base_headers): Remove here.
5281         * src/Makefile.in: Regenerate.
5283         * include/bits/stl_range_errors.h: Remove.
5284         * include/bits/stl_deque.h: Use __throw_range_error.
5285         * include/bits/std_deque.h: Include functexcept.h.
5286         * include/bits/std_vector.h: Same.
5287         * src/Makefile.am (base_headers): Remove here.
5288         * src/Makefile.in: Regenerate.
5289         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5290         * include/ext/bvector: Remove stl_range_errors.h
5292         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5294         * include/bits/functexcept.h: New file.
5295         * src/functexcept.cc: New file. Definitions for function-based
5296         exception routines.
5297         * src/Makefile.am (sources): Add functexcept.cc.
5298         * src/Makefile.in: Regenerate.
5300         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5301         __EXCEPTIONS.
5303         * include/bits/localefwd.h: Include functexcept.h.
5304         * include/bits/std_iosfwd.h: Same.
5306         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5307         throw basic_ios::failure.
5308         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5309         Use __throw_exception_again.
5310         (filebuf::_M_filebuf_init): Same.
5311         * include/bits/streambuf.tcc (__copy_streambufs): Same.
5312         * include/bits/ostream.tcc (ostream::operator<<): Same.
5313         * include/bits/istream.tcc (istream::operator>>): Same.
5314         * include/bits/basic_string.tcc (string::_M_mutate): Same.
5315         (string::_S_construct): Same.
5316         (string::_M_clone): Same.
5317         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5318         __throw_bad_cast.
5319         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5320         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5321         __throw_exception_again.
5322         (locale::_Imp::_Imp(string, size_t): Same.
5323         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5324         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5325         (locale::locale(const char*)): Use __throw_runtime_error.
5326         (locale::classic): Use __throw_exception_again.
5327         (locale::_S_normalize_category): Use __throw_runtime_error.
5329         * src/stdexcept.cc: Remove cruft.
5331         * libsupc++/exception_defines.h: New file.
5332         * libsupc++/new_opnt.cc: Include exception_defines.h.
5333         * libsupc++/vec.cc: Same.
5334         (__cxa_vec_new2): Use __throw_exception_again.
5335         (__cxa_vec_new3): Same.
5336         (__cxa_vec_ctor): Same.
5337         (__cxa_vec_delete3): Same.
5338         (__cxa_vec_cctor): Same.
5339         (__cxa_vec_delete2): Same.
5340         (__cxa_vec_dtor): Same.
5341         * libsupc++/exception_support.cc: Include exception_defines.h. Only
5342         compile exception-handling bits if __EXCEPTIONS is defined.
5343         Remove old ABI support.
5344         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5345         std::__throw_bad_alloc() instead of throw bad_alloc.
5346         * libsupc++/Makefile.am: Add exception_defines.h.
5347         * libsupc++/Makefile.in: Reformat.
5348         * libsupc++/*: Format.
5350 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
5352         * docs/html/configopts.html:  Minor updates and typo fixes.
5353         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
5354         * docs/html/faq/index.txt:  Regenerated.
5356 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
5358         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5359         dejagnu/dg.exp.  Adapt to log options used to run testcases.
5361 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5363         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5364         dejagnu/dg.exp.
5366 2001-02-13  Dirk Mueller <dmuell@gmx.net>
5367             Phil Edwards  <pme@sources.redhat.com>
5369         * include/backward/function.h:  Do not use rel_ops for older
5370           headers either.
5371         * include/backward/pair.h:  Likewise.
5373 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
5375         * src/locale.cc: Remove bogus locale::id definitions.
5377 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5379         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5380         not _DEFINE_VALARRAY_OPERATOR which is not existent.
5382         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5383         thinko in member initialisation.
5385 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5387         * include/bits/std_valarray.h(valarray<>::shift): Avoid
5388         comparaison between signed and unsigned integer types.
5389         (valarray<>::cshift): Reformat.
5391 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
5393         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5394         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5395         * configure.in: Test for sigsetjmp.
5396         * configure, config.h.in: Rebuilt.
5398 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5400         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5401         lengths and strides.
5402         (__gslice_to_index): Document.
5404 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5406         * include/bits/char_traits.h char_traits<char>::int_type: Change
5407         to `int' to match 21.1.3.1/2.
5409         * testsuite/21_strings/char_traits-int_type.C: New test.
5411 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
5413         * testsuite/Makefile.am: New file.
5415 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
5417         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5419 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
5421         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5423 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
5425         * configure.target (aix4*): Remove extra set of brackets.
5427 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
5429         Clean up stdexcept.
5430         * include/bits/stringfwd.h: New file.
5431         * include/bits/stl_string_fwd.h: Remove.
5432         * include/bits/localefwd.h: Remove declaration for allocator.
5433         * include/bits/std_iosfwd: Same.
5434         * include/bits/std_string.h: Include it.
5435         * include/bits/std_ios.h: Remove include.
5436         * include/bits/basic_string.h: Tweak.
5437         * libsupc++/new: Format.
5438         * src/Makefile.am (base_headers): Add stringfwd.h, remove
5439         stl_string_fwd.h
5440         * src/Makefile.in: Regenerate.
5441         * include/bits/std_stdexcept.h: Rewrite.
5442         * src/stdexcept.cc: Same.
5444 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5446         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5447         install locations too.
5448         * aclocal.m4: Regenerate.
5449         * configure.in: Remove USE_LIBDIR.
5450         * configure: Regenerate.
5451         * src/Makefile.am (toolexecdir): Simplify, use
5452         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5453         * src/Makefile.in: Regenerate.
5454         * libsupc++/Makefile.am: Same.
5455         * libsupc++/Makefile.in: Regenerate.
5457         * src/Makefile.am: Just remove special rules for locale-inst.cc and
5458         misc-inst.cc as no longer necessary.
5460         Follow C++STYLE for naming non-static functions.
5461         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5462         __pad_char.
5463         * include/bits/streambuf.tcc: Same.
5464         * include/bits/ostream.tcc: Same.
5465         * include/bits/istream.tcc: Same.
5466         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5467         (_S_output_float): To __output_float.
5468         * include/bits/std_streambuf.h (_S_copy_streambufs): To
5469         __copy_streambufs.
5470         * include/bits/locale_facets.tcc (_S_build_float_format): To
5471         __build_float_format.
5472         (_S_format): To __output_integer.
5473         (_S_fill): To __pad.
5474         * src/locale.cc: Same.
5475         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5476         names.
5477         * include/bits/locale_facets.tcc (_S_group_digits): To
5478         __group_digits.
5479         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5480         for collate, numpunct.
5482 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
5484         * docs/html/configopts.html:  Fix HTML markup.
5485         * docs/html/install.html:  Bring up to date.
5486         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
5487         * docs/html/21_strings/howto.html:  More notes.
5488         * docs/html/22_locale/howto.html:  Fix HTML markup.
5489         * docs/html/27_io/howto.html:  More notes.
5490         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
5491         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
5493 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
5495         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5496         to match header files.
5497         (_S_output_float): Likewise.
5498         (_S_copy_streambufs): Likewise.
5500 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
5501             Phil Edwards  <pme@sources.redhat.com>
5503         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
5504           use reinterpret_cast, not static_cast.
5506 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5508         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5509         * aclocal.m4: Regenerate.
5510         * configure: Regenerate.
5512 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5514         * include/bits/locale_facets.h (class moneypunct): Fix typos.
5515         * libsupc++/pure.cc: Revert.
5517 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5519         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5520         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5521         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5522         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5523         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5524         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5525         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5526         * aclocal.m4: Regenerate.
5527         * configure: Regenerate.
5529 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
5531         * include/bits/locale_facets.tcc: Remove `static' keyword on
5532         function definitions.
5533         * include/bits/std_streambuf.h: Likewise.
5534         * src/Makefile.am: Remove use of -fimplicit-templates.
5535         * src/Makefile.in: Regenerated.
5536         * src/locale-inst.cc: Explicitly instantiate more functions.
5537         * src/misc-inst.cc: Likewise.
5538         * src/string-inst.cc: Likewise.
5540 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5542         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5543         macro. Consolidate all the bits to do with where includes might be
5544         installed.
5545         * aclocal.m4: Regenerate.
5546         * configure.in: Use it.
5547         * configure: Regenerate.
5548         * src/Makefile.am (targetincludep): Use simplified rules.
5549         (targetincludep): Rename gxx_target_include_dir.
5550         (myincludep): Rename gxx_include_dir.
5551         * src/Makefile.in: Regenerate.
5552         * libsupc++/Makefile.am: Use simplified rules.
5553         * libsupc++/Makefile.in: Regenerate.
5555 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5557         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5558         * include/c_std/bits/std_cctype.h: Same.
5559         * include/c_std/bits/std_cassert.h: Same.
5560         * include/c_std/bits/std_cstdarg.h: Same.
5561         * include/c_std/bits/std_cstddef.h: Same.
5563         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5564         namespace std.
5565         * include/c_std/bits/std_ctime.h: Same.
5566         * include/c_std/bits/std_clocale.h: Same.
5567         * include/c_std/bits/std_cmath.h: Same.
5568         * include/c_std/bits/std_csetjmp.h: Same.
5569         * include/c_std/bits/std_csignal.h: Same.
5570         * include/c_std/bits/std_cstring.h: Same.
5571         * include/c_std/bits/std_cstdlib.h: Same.
5572         * include/c_std/bits/std_cwchar.h: Same.
5574 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
5576         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
5578 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
5580         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5581         (string::_S_construct): Likewise.
5583 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
5585         * testsuite/config/default.exp: New file.
5586         * testsuite/config: New directory.
5588 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
5590         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5591         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5592         whenever !__GXX_MERGED_TYPEINFO_NAMES.
5593         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5595 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
5596             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5598         * Makefile.am (mkinstalldirs): Set.
5599         * src/Makefile.am (mkinstalldirs): Set.
5600         * libmath/Makefile.am (mkinstalldirs): Set.
5601         * libsup++/Makefile.am (mkinstalldirs): Set.
5602         * libio/Makefile.am (mkinstalldirs): Set.
5603         * */Makefile.in: Regenerate.
5605 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
5607         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5608         * include/bits/localefwd.h: More initialization cleanups.
5610 2001-02-03  Jeffrey A Law  <law@cygnus.com>
5612         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5613         correctly targets with 16bit ints.
5614         (_S_ios_openmode_end): Similarly.
5615         (_S_ios_iostate_end): Similarly.
5616         (_S_ios_Seekdir_end): Similarly.
5618 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
5620         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
5622 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
5624         * configure.in (toplevel_srcdir, auxdir): Set.
5625         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5626         * aclocal.m4, configure, Makefile.in: Rebuilt.
5627         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5628         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5629         * libsupc++-v3/Makefile.in: Rebuilt.
5630         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5631         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5633 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
5635         * config/c_locale_generic.cc: Remove langinfo include.
5637 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
5639         Preliminary named locales.
5640         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5641         * aclocal.m4: Regenerate.
5642         * configure.in: Use it.
5643         * configure: Regerate.
5644         * src/Makefile.am (sources): Add c++locale.cc.
5645         (build_headers): Add c++locale.h.
5646         * src/Makefile.in: Regenerate.
5647         * config/c_locale_gnu.h: New file.
5648         * config/c_locale_gnu.cc: New file. Non-inline member functions
5649         for named locales, gnu-specific.
5650         * config/c_locale_generic.h: New file.
5651         * config/c_locale_generic.cc: New file. Non-inline member
5652         functions for named locales, generic version.
5653         * docs/html/configopts.html: Add documentation on new options.
5655         * include/bits/locale_facets.h (class _Messages): Remove.
5656         (class _Moneypunct): Remove.
5657         * src/locale-inst.cc: Remove.
5659         * include/bits/locale_facets.h (class _Collate): Remove.
5660         * src/locale-inst.cc (std): Remove.
5661         * src/locale.cc: And here.
5663         * include/bits/localefwd.h (locale::_M_coalesce): New
5664         function. Correctly put together multi-name locales.
5665         (_Impl(const _Impl&, category, size_t)): Remove.
5667         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5668         member functions.
5669         (_M_normalize_category_names): Remove.
5670         (_M_replace_categories): Fix.
5672         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5673         (locale::_Impl::_M_construct_ctype): Remove.
5674         (locale::_Impl::_M_construct_monetary): Remove.
5675         (locale::_Impl::_M_construct_numeric): Remove.
5676         (locale::_Impl::_M_construct_time): Remove.
5677         (locale::_Impl::_M_construct_messages): Remove.
5679         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5680         (_Use_facet_failure_handle): Remove.
5681         * src/locale.cc: Remove definitions.
5682         * src/locale-inst.cc: And here.
5684         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5686         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5687         create and error-check underlying locale object.
5688         (locale::facet::_S_destroy_c_locale): Add, take care of properly
5689         tearing down underlying locale object.
5690         * include/bits/localefwd.h (locale::facet): Declare.
5691         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5692         correctness, as glibc apparently has incorrect info in it. Test
5693         with it when it works again.....
5695         * include/bits/localefwd.h (locale::_Impl::__vec_string):
5696         Remove. Number of categories is fixed at six, so just simplify and
5697         make this an array of strings.
5698         (locale::_Impl::_M_has_name): Remove.
5699         (locale::_Impl::_M_name): Remove.
5700         (locale::_Impl::_M_category_names): Turns into...
5701         (locale::_Impl::_M_names): ...this.
5702         (locale::_Impl::_M_has_same_name()): New function.
5703         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5704         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5705         signature.
5706         * src/locale.cc (locale::name()): Construct mangled name
5707         accurately reflecting combined locale categories.
5709         * src/locale.cc (locale::classic()): Don't initialize here.
5710         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5711         __refs, bool __has_name, string __str): Do it here.
5713         * include/bits/localefwd.h: _S_categories_num to
5714         _S_num_categories. _S_facets_num to _S_num_facets.
5715         (locale::id::id()): Explicitly set _M_index to zero.
5716         * src/locale.cc: Same.
5718         * src/locale.cc: (locale::locale(const char*)): Construct named
5719         locales uniquely.
5721         * src/locale.cc: Remove numpunct_byname ctors.
5722         * testsuite/22_locale/numpunct_byname.cc: New file.
5723         * testsuite/22_locale/numpunct.cc: New file.
5725         * include/bits/localefwd.h (class locale): Change data members to
5726         protected, from private.
5727         (_Impl::_M_get_c_locale): Add member function.
5728         (locale::facet::_M_get_global_impl()): Add member function.
5729         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5730         a __c_locale pointer.
5731         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5732         named locales.
5733         * testsuite/22_locale/members.cc: New file, test name and combine.
5735         * include/bits/locale_facets.h (class numpunct): Remove class
5736         _Punct and _Numpunct. Rewrite class numpunct to be correct for
5737         named locales.
5738         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5739         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5740         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5741         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5742         * testsuite/22_locale/numpunct_char_members.cc: New file.
5744 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
5746         * testsuite/README: Add more comment.
5747         * testsuite/lib/libstdc++.exp: Tweak comment.
5749 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
5751         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5753 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
5755         * testsuite/21_strings/inserters_extractors.cc: Remove
5756         explicit reference to 'testsuite/'.
5758 2001-01-25  Richard Henderson  <rth@redhat.com>
5760         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5761         bits. Fixes Tru64 build issues.
5763 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5765         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5766         (use ${MAKE-make}, not ${MAKE:-make}).
5767         * aclocal.m4, configure: Regenerate.
5769 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
5771         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5772         checkin.
5774         * src/Makefile.am (sources): Add globals.cc.
5775         * src/Makefile.in: Regenerated.
5776         * src/globals.cc: New file.
5777         * src/ios.cc (cin): Don't define here, just declare extern.
5778         (cout): Likewise.
5779         (cerr): Likewise.
5780         (clog): Likewise.
5781         (wcin): Likewise.
5782         (wcout): Likewise.
5783         (wcerr): Likewise.
5784         (wclog): Likewise.
5786 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
5788         * include/bits/std_iterator.h:  Do not include stl_relops.h.
5789         * include/bits/std_numeric.h:  Ditto.
5790         * include/bits/stl_algobase.h:  Ditto.
5791         * include/bits/stl_relops.h:  Add comment warning about problems.
5793 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
5795         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5796         in testcases.  Prepare for the DejaGnu based framework.
5797         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
5798         directory -- it is now mkcheck working directory.
5799         * tests_flags.in: Remove reference to $(top_srcdir).  Use
5800         ${SRC_DIR} instead.
5801         * Makefile.am (check, check-install): Change mkcheck invocation
5802         logic.
5803         * Makefile.in: Regenerate.
5805 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
5807         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5808         (__always_swap): Likewise.
5810 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
5812         * libsupc++/exception_support.cc (__terminate_func): Remove
5813         declaration.
5814         (__terminate_func_ptr): New typedef.
5815         (__terminate, __terminate_set_func): New extern function
5816         prototypes.
5817         (std::terminate): Use __terminate function.
5818         (std::set_terminate): Use __terminate_set_func function.
5820 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
5822         * configure.target: Just use os_include_dir always.
5823         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5824         Link atomicity files and ctype files here.
5825         * configure: Regenerate.
5826         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5827         (GLIBCPP_ENABLE_ATOMICITY): Remove.
5828         * aclocal.m4: Regenerate.
5830 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
5832         * configure.in: Place definition of MULTISUBDIR in
5833         libsupc++/Makefile as is done for src/Makefile.
5834         * configure: Regenerate.
5836 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
5838         * acinclude.m4:  Cosmetic changes only.
5839         * aclocal.m4:  Regenerated.
5840         * configure:  Regenerated.
5841         * configure.target:  Update documented list of changed variables.
5842         * docs/html/install.html:  Fix typo.
5843         * docs/html/20_util/howto.html:  More notes on auto_ptr.
5844         * docs/html/27_io/howto.html:  More notes on streabufs.
5845         * docs/html/faq/index.html:  Add rel_ops problem and mention the
5846           DEC as(1) .subsection difficulty.
5847         * docs/html/faq/index.txt:  Regenerated.
5849 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
5851         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5852         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5853         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5854         its already provided in config.target.
5855         * aclocal.m4: Regenerated.
5856         * configure: Likewise.
5857         * configure.target: Set ctype_include_dir for lots of systems.
5858         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5859         * libsupc++/Makefile.in: Regenerated.
5861 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
5863         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
5864         keyword capability.
5866         * testsuite/README: Add comment.
5868 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
5870         * docs/html/configopts.html:  Update for current status.  Fix HTML.
5871         * docs/html/install.html:  Update for current status.
5873 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5875         * testsuite/libstdc++.tests/tests.exp: New file.
5876         * testsuite/lib/libstdc++.exp: Itou.
5877         * testsuite/README: Itou.
5879 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
5881         * tests_flags.in: Just output the bare minimum to run tests.
5882         Let's the caller do its own arrangement.
5884         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
5885         computations.
5887 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
5889         * testsuite/17_intro: Prepare testcases for new style DejaGnu
5890         framework.
5892 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
5894         * testsuite/libstdc++.tests, testsuite/lib: New directories.
5896 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
5898         * mkcheck.in: Construct file names that match $objdir structure.
5899         * testsuite/27_io/filebuf_members-1.txt: New file.
5900         * testsuite/27_io/ifstream_members-1.txt: New file.
5901         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5903         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5904         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5906 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5908         * testsuite/27_io/istream_sentry.cc (test02): Fix.
5910 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
5912         libstdc++/1605
5913         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5914         * src/ios.cc (ios_base::failure): Make definitions match.
5915         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5916         (class bad_cast): Same.
5917         * libsupc++/exception (class exception): Add throw specs.
5918         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5919         (set_unexpected): Same.
5920         (uncaught_exception): Same.
5921         (what): Same.
5923         * docs/html/17_intro/C++STYLE (classname): Fix.
5925 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
5927         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5928         Use it do explicitly instantiate predicate<T> and value<T> for
5929         all the builtin Ts.
5931 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
5933         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5934         uninitialized thinko in last change.
5936 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
5938         * libsupc++/exception_support.cc (__cp_pop_exception): Change
5939         prototype.
5941 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
5943         * docs/html/17_intro/C++STYLE (classname): Add more existing
5944         and stylish patterns.
5946         libstdc++/944
5947         * include/bits/istream.tcc (istream::sentry::sentry()): Set
5948         failbit if the state of the stream is not good.
5949         * testsuite/27_io/istream_sentry.cc (test02): Add test.
5950         * testsuite/27_io/istream_manip.cc (test01): Modify.
5952         libstdc++/1019
5953         reported by Paolo Carlini <pcarlini@unitus.it>
5954         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5955         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5957         libstdc++/1057
5958         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5959         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5960         (xsgetn): Same. Simplify.
5961         * testsuite/27_io/streambuf.cc (test04): Add testcases.
5963         reported by Larry Evans <jcampbell3@prodigy.net>
5964         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5965         equality with eof on returned value from overflow.
5967 2001-01-14  Andreas Jaeger  <aj@suse.de>
5969         * libio/libio.h: Add test for glibc 2.0.
5971 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
5973         * config/os/djgpp/bits/*: Fix dates.
5975         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5976         _CharT* __end, _CharT __c): Remove.
5977         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5978         * include/bits/char_traits.h: Tweak.
5980 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
5982         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5983         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5984         bash bug.
5985         * aclocal.m4: regenerated.
5986         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5987         * configure: regenerated.
5988         * config/os/djgpp, config/os/djgpp/bits: new directories.
5989         * config/os/djgpp/bits/ctype_base.h,
5990         config/os/djgpp/bits/ctype_inline.h,
5991         config/os/djgpp/bits/ctype_noninline.h,
5992         config/os/djgpp/bits/os_defines.h: new files.
5994 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
5996         * include/c_std/bits/std_cstdio.h: Undef printf.
5998 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
6000         * src/ios.cc: Fix typo: change cout->wcout.
6002         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6003         * src/Makefile.in: Regenerate.
6005 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6007          * include/bits/std_complex.h: Fix a typo.
6009 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
6010                              <kainz@ilm.com>
6012         Fixes for libstdc++/1576
6013         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6014         file, move contents into....
6015         * src/ios.cc: ...Here. Put defines for iostreams objects and
6016         initialization routines into one file to simplify DSO interaction.
6017         * include/bits/std_iostream.h: Touch.
6018         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6019         * src/Makefile.am (sources): Remove stdstreams.cc.
6020         * src/Makefile.in: Regenerate.
6022 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6024         * tests_flags.in (check_directory): Fix typo.
6026 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6028          * include/bits/std_complex.h: Fix a typo.
6030 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
6032         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6033         code path:) Remove magic constants and restructure to handle
6034         ctype.h bit mask layout changes more gracefully.  (Make fast
6035         code path:) Use __maskrune (), if available.
6036         (is): Remove special case for digit and xdigit masks.
6038 2001-01-09  Robert Lipe <robertlipe@usa.net>
6040         * include/c_std/bits/std_ctime.h: Undefine difftime.
6042 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
6044         * src/gen-num-limits.cc (signal_adapter): New template function.
6045         (signal_handler): Use it, instead of signal.
6046         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
6047         require both tests to trap to set trap_flag.
6049 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6051         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6052         initialize mbstate_t member, name offset data members *off, not pos.
6053         * include/bits/fstream.tcc (filebuf::filebuf): Same.
6055 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6057         reported by Chris G. Demetriou <cgd@sibyte.com>
6058         * configure.in: Change -linux-* to -linux*.
6059         * configure: Regenerate.
6061 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
6063         Fix 27_io/filebuf_members.cc
6064         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6065         const string& __name, category __cat, size_t __refs): Set
6066         _M_has_name with _M_name.
6067         * include/bits/localefwd.h (locale::operator!=): Protect member
6068         function call with this->.
6069         * src/locale.cc (locale::operator==): Make fast checks first.
6070         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6072         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6073         to ios_base::Init.
6074         * src/ios.cc (ios_base::Init::Init): Initialize here.
6075         (ios_base::sync_with_stdio): Set here.
6077 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
6079         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6080         systems that support it, call dup() before fdopen().
6082 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
6084         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6085         * testsuite/17_intro/header_cwctype.cc (main): New file.
6087         * src/Makefile.am (base_headers): Change.
6088         * include/bits/std_string.h: And here.
6089         * include/bits/string.tcc: Tweaks, move to...
6090         * include/bits/basic_string.tcc: ...Here.
6091         * src/string-inst.cc: Simplify, just instantiate the whole class,
6092         not member-by-member.
6094 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
6096         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6097         * aclocal.m4: Regenerate.
6098         * configure: Regenerate.
6100         * include/bits/c++config (__GLIBCPP__): Bump version number.
6102         * ChangeLog: Start new log for year 2001
6103         * ChangeLog-2000: New file.
6105         * docs/html/configopts.html: Make sure default values are current,
6106         add commentary.
6108 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
6110         * include/c_std/bits/std_cwchar.h: Same.
6111         * testsuite/17_intro/header_cwchar.cc: Same.
6112         * include/c_std/bits/std_ctime.h: Same.
6113         * testsuite/17_intro/header_ctime.cc: Same.
6114         * include/c_std/bits/std_cstdlib.h: Same.
6115         Clean up undefs, make consistent with cwchar and cmath, etc.
6116         * testsuite/17_intro/header_cstdlib.cc: Same.
6117         * include/c_std/bits/std_cstdio.h: Same here.
6118         * testsuite/17_intro/header_cstring.cc: Same.
6119         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6120         * testsuite/17_intro/header_cstring.cc: New file. Check for
6121         size_t in namespace std.
6123         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6124         * acconfig.h (HAVE_MBSTATE_T): Add.
6125         * config.h.in: Regenerate.
6126         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6127         mbstate_t.
6128         * aclocal.m4: Regenerate.
6129         * configure: Regenerate.
6130         * testsuite/17_intro/headers_c++.cc: New file.
6131         * testsuite/17_intro/headers_c.cc: Small changes.
6133 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
6135         * tests_flags.in: Fix typo in usage.
6137         * tests_flags.in: Set target specific LIBS for cygwin.