* xref.c (FILE_NAME_ABSOLUTE_P): Add parenthesis.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob6bbb95db6274c5d3ab390c56585dfb67d5f0b916
1 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
2             Craig Rodrigues  <rodrigc@mediaone.net>
4         libstdc++/5174
5         * po/Makefile.am (mkinstalldirs): Add.
6         * po/Makefile.in: Regenerate.
8 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
10         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
11         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
12         compiler output.
13         * testsuite/23_containers/map_operators.cc: Remove
14         dg-excess-errors comment.
15         * testsuite/23_containers/set_operators.cc: Likewise.
17 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
19         * include/bits/stl_function.h:  Remove two lines of comments;
20         adjust copyright years.
22 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
24         * include/Makefile.am (std_headers): Remove cXXX from list.
25         (c_base_srcdir): No bits subdirectory.
26         (c_base_builddir): Same.
27         (c_base_headers): Adjust names, add ciso646.
28         (bits_headers): Remove std_xxx.h headers.
29         * include/Makefile.in: Regenerate.
30         
31         * include/ext/iterator: Adjust includes.
32         * include/ext/ropeimpl.h: Same.
33         * include/ext/stl_hash_fun.h: Same.
34         * include/ext/algorithm: Same.
35         
36         * include/backward/bvector.h: Adjust includes.
37         * include/backward/vector.h: Same.
38         * include/backward/strstream: Same.
39         * include/backward/streambuf.h: Same.
40         * include/backward/stack.h: Same.
41         * include/backward/set.h: Same.
42         * include/backward/queue.h: Same.
43         * include/backward/multiset.h: Same.
44         * include/backward/multimap.h: Same.
45         * include/backward/map.h: Same.
46         * include/backward/list.h: Same.
47         * include/backward/iterator.h: Same.
48         * include/backward/iostream.h: Same.
49         * include/backward/iomanip.h: Same.
50         * include/backward/fstream.h: Same.
51         * include/backward/deque.h: Same.
52         * include/backward/complex.h: Same.
54         * include/bits/std_algorithm.h: Move to...
55         * include/std/algorithm: ...here.
56         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
57         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
58         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
59         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
60         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
61         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
62         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
63         Same.
64         
65         * include/c_std/bits/std_cassert.h: Move to...
66         * include/c_std/cassert: Here.
67         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
68         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
69         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
70         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
71         std_cwctype.h: Same.
72         * include/c_std/cmath: Adjust cmath.tcc include.
73         * include/c_std/cstdlib: Adjust includes.
74         * include/c_std/cwchar: Same.
75         * include/c_std/ctime: Same.
76         * include/c_std/cstring: Same.
77         * include/c_std/cstdio: Same.
78         * include/c_std/bits: Remove directory.
79         
80         * include/c/bits/std_cassert.h: Move to...
81         * include/c/cassert: Here.
82         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
83         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
84         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
85         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
86         std_cwctype.h: Same.
87         * include/c/bits: Remove directory.
88         
89         * include/std/cwctype: Remove.
90         * include/std/cwchar: Remove.
91         * include/std/ctime: Remove.
92         * include/std/cstring: Remove.
93         * include/std/cstdlib: Remove.
94         * include/std/cstdio: Remove.
95         * include/std/cstddef: Remove.
96         * include/std/cstdarg: Remove.
97         * include/std/csignal: Remove.
98         * include/std/csetjmp: Remove.
99         * include/std/cmath: Remove.
100         * include/std/clocale: Remove.
101         * include/std/climits: Remove.
102         * include/std/ciso646: Remove.
103         * include/std/cfloat: Remove.
104         * include/std/cerrno: Remove.
105         * include/std/cctype: Remove.
106         * include/std/cassert: Remove.
108         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
109         files and subsituting <.xxx>
110         * include/bits/valarray_array.h: Same.
111         * include/bits/stl_uninitialized.h: Same.
112         * include/bits/stl_alloc.h: Same.
113         * include/bits/stl_algobase.h: Same.
114         * include/bits/sstream.tcc: Same.
115         * include/bits/pthread_allocimpl.h: Same.
116         * include/bits/ostream.tcc: Same.
117         * include/bits/localefwd.h: Same.
118         * include/bits/locale_facets.tcc: Same.
119         * include/bits/locale_facets.h: Same.
120         * include/bits/istream.tcc: Same.
121         * include/bits/char_traits.h: Same.
122         * include/bits/boost_concept_check.h: Same.
123         * include/bits/basic_file.h: Same.
124         * include/std/bitset: Same.
125         * include/std/complex: Same.
126         * include/std/fstream: Same.
127         * include/std/functional: Same.
128         * include/std/ios: Same.
129         * include/std/iostream: Same.
130         * include/std/ostream: Same.
131         * include/std/sstream: Same.
132         * include/std/streambuf: Same.
133         * include/std/string: Same.
134         * include/std/iterator: Same.
135         * include/std/valarray: Same.
137         * src/ios.cc: Adjust includes.
138         * src/valarray-inst.cc: Same.
139         * src/string-inst.cc: Same.
140         * src/stl-inst.cc: Same.
141         * src/stdexcept.cc: Same.
142         * src/misc-inst.cc: Same.
143         * src/localename.cc: Same.
144         * src/locale-inst.cc: Same.
145         * src/locale.cc: Same.
146         * src/limits.cc: Same.
147         * src/concept-inst.cc: Same.
148         * src/complex_io.cc: Same.
149         * src/codecvt.cc: Same.
150         * src/bitset.cc: Same.
151         * src/cmath.cc: Same.
153 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
155         * include/bits/stl_tree.h (rb_tree):  Move to...
156         * include/ext/rb_tree:  ...here, new file.
157         * include/Makefile.am (ext_headers):  Add new file.
158         * include/Makefile.in:  Regenerate.
159         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
160         return_temporary_buffer, struct temporary_buffer):  Move to...
161         * include/ext/memory:  ...here.
162         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
163         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
164         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
166 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
168         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
169         * include/ext/numeric:  ...here, new file.
170         * include/bits/stl_function.h (identity_element, unary_compose,
171         binary_compose, compose1, compose2, identity, select1st,
172         select2nd, project1st + helper, project2nd + helper,
173         constant_void_fun + helper, constant_unary_fun + helper,
174         costant_binary_fun + helper, constant0, constant1, constant2,
175         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
176         * include/ext/functional:  ...here, new file.
177         * include/Makefile.am (ext_headers):  Add new files.
178         * include/Makefile.in:  Regenerate.
179         * testsuite/ext/headers.cc:  Include <ext/numeric> and
180         <ext/functional>.
181         * include/backward/algo.h:  Include <ext/numeric>, tweak.
182         * include/backward/function.h:  Include <ext/functional>, tweak.
183         * include/ext/ropeimpl.h:  Include <ext/numeric>.
185 2002-01-03  Jeffrey A Law  <law@redhat.com>
187         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
188         __strtoull declarations with __extension__.
190 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
192         * testsuite/lib/prune.exp: Correct regular expression for
193         -ffunction-sections
195 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
197         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
198         Change concept checks, as with lower_bound and PR 2054.
199         * testsuite/ext/concept_checks.cc:  Expand test to include those.
201 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
203         * include/bits/boost_concept_check.h:  Import some changes from
204         upsteam (Boost) version.
206 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
208         * include/bits/stl_algobase.h (copy_n + helpers,
209         lexicographical_compare_3way + helpers):  Move to...
210         * include/ext/algorithm:  ...here.
211         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
212         helpers):  Move to...
213         * include/ext/memory:  ...here, new file.
214         * include/Makefile.am (ext_headers):  Add new file.
215         * include/Makefile.in:  Regenerate.
216         * testsuite/ext/headers.cc:  Include <ext/memory>.
217         * include/backward/algobase.h:  Include <ext/memory> and
218         <ext/algorithm>, tweak.
219         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
220         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
222 2002-01-01  Roger Sayle <roger@eyesopen.com>
224         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
225         equivalent ___builtin__ versions.
227         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
228         are available in libstdc++ as the necessary stub implementations
229         are provided by libmath/stubs.c.
231 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
233         * configure.in: Add support for NetBSD cross compiles.
234         * configure: Regenerate.
236 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
238         * include/ext/iterator:  Add #include <bits/std_iterator.h>, tweak.
239         * testsuite/ext/headers.cc:  Add <ext/iterator>.
241 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
243         * include/backward/algo.h:  Add two more using declarations.
244         * include/backward/iterator.h:  Include <ext/iterator>,
245         add using declaration.
246         * include/ext/algorithm:  Add #pragma GCC system_header.
248 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
250         * include/bits/stl_bvector.h:  Change calls to 3-argument distance()
251         into standard 2-argument version.
252         * include/bits/stl_deque.h:  Likewise.
253         * include/bits/stl_tempbuf.h:  Likewise.
254         * include/bits/stl_tree.h:  Likewise.
255         * include/bits/stl_vector.h:  Likewise.
256         * include/ext/stl_hashtable.h:  Likewise.
257         * include/bits/stl_iterator_base_funcs.h:  Move distance() extension...
258         * include/ext/iterator:  to here.  New file.
259         * include/Makefile.am (ext_headers):  Add new file, alphabatize.
260         * include/Makefile.in:  Regenerate.
262 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
264         * include/bits/stl_deque.h:  Doxygenate with initial/example hooks.
265         Clean up spacing and indentation.
267 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
269         * include/ext/slist:  Move into __gnu_cxx,
270         tweak, add using declarations.
272 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
274         * include/ext/hash_map:  Move into __gnu_cxx,
275         tweak, add using declarations.
276         * include/ext/hash_set:  Ditto.
277         * include/ext/ropeimpl.h:  Ditto.
278         * include/ext/stl_hash_fun.h:  Ditto.
279         * include/ext/stl_hashtable.h:  Ditto.
280         * include/ext/stl_rope.h:  Ditto.
281         * src/ext-inst.cc: Tweak.
282         * testsuite/ext/rope.cc: Tweak.
284 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
286         * include/backward/algo.h:  Include <ext/algorithm>,
287         tweak using declarations.
289 2001-12-29  Richard Henderson  <rth@redhat.com>
291         * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
292         * config/os/hpux/bits/cpu_limits.h: New file.
293         * configure.target (CPULIMITSH): Use it.
295 2001-12-28  Richard Henderson  <rth@redhat.com>
297         * config/cpu/ia64/bits/cpu_limits.h: New file.
298         * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
299         * configure.target (CPULIMITSH): Use them.
301 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
303         * include/bits/c++config:  Move doxygen hook comment...
304         * docs/doxygen/doxygroups.cc:  ...to here.
306 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
308         PR libstdc++/2054
309         * include/bits/stl_algo.h (lower_bound):  Relax concept checks.
310         * testsuite/ext/concept_checks.cc:  New file.
312 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
314         * include/bits/stl_algo.h (count returning void,
315         count_if returning void, __random_sample, random_sample,
316         random_sample_n, __is_heap, is_heap, is_sorted):  Move to...
317         * include/ext/algorithm:  ...here, new file.
318         * include/Makefile.am (ext_headers):  Add new file.
319         * include/Makefile.in:  Regenerate.
320         * testsuite/ext/headers.cc:  Include <ext/algorithm>.
322 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
323             Nathan Myers  <ncm@cantrip.org>
325         * include/bits/basic_string.h (insert(__pos, __s, __n)):
326         Optimize by avoiding temporaries and working in-place when possible.
327         (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
328         (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
329         * testsuite/21_strings/insert.cc (test02): New testcases.
331 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
333         * testsuite/testsuite_hooks.h (gnu_counting_struct):  Add.
334         * testsuite/23_containers/deque_ctor.cc:  New file.
336 2001-12-27  Paolo Carlini  <pcarlini@unitus.it>
338         * include/bits/locale_facets.tcc (collate::do_transform):
339         Adjust implicit typename.
340         * config/locale/messages_members_generic.h (messages::open,
341         messages::do_open, messages::do_get): Adjust implicit typename.
342         * config/locale/messages_members_gnu.h (messages::open,
343         messages::do_open, messages::do_get): Adjust Implicit typename.
344         * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
345         messages::do_open, messages::do_get): Adjust implicit typename.
347 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
349         PR libstdc++/3829
350         * src/misc-inst.cc:  Many additional I/O-related instantiations.
351         * testsuite/27_io/instantiations.cc:  New file.
353 2001-12-26  Benjamin Kosnik  <bkoz@waller.constant.com>
355         * testsuite/24_iterators/insert_iterator.cc (test02): Add.
356         * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
357         * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
358         * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
360         * include/bits/stl_iterator.h (reverse_iterator): Uglify member
361         current to _M_current.
362         (back_insert_iterator): Uglify member container to _M_container.
363         (front_insert_iterator): Same.
364         (insert_iterator): Same.
366 2001-12-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
368         * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
369         macros for signed types; default value is true.
370         (numeric_limits<>::is_modulo): Get value from corresponding
371         __glibcpp_xxx_is_modulo macro.
373 2001-12-23  Jeffrey A Law  <law@redhat.com>
375         * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
376         Twiddle return types for strtoll and strtoull to avoid using
377         intmax_t and uintmax-t.
379 2001-12-22  Richard Henderson  <rth@redhat.com>
381         * configure.target (CPULIMITSH): Fix typo in alpha case.
383 2001-12-22  Jeffrey A Law  <law@redhat.com>
385         * config/os/hpux/bits/os_defines.h: Update to avoid #defines
386         for strtoll and strtoull.
388 2001-12-21  Jeffrey A Law  <law@redhat.com>
390         * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
391         Define strtoll and strtoull.  Provide prototypes for
392         __strtoll and __strtoull.  Define _GLIBCPP_USE_LONG_LONG
393         unconditionally.
395         * src/locale-inst.cc: Include <bits/std_cstdlib.h>
397         * configure.target: Fix typo in hpux case.
399 2001-12-21  Paolo Carlini  <pcarlini@unitus.it>
401         * include/ext/stl_rope.h (_Rope_iterator):
402         Add local typedef to fix implicit typename problems.
404 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
406         * docs/doxygen/Intro.3:  New 'Allocators' module.
407         * docs/doxygen/TODO:  Update.
408         * docs/doxygen/doxygroups.cc:  Update.
409         * docs/doxygen/run_doxygen:  Update.
411         * include/bits/stl_alloc.h:  Tweak doxygen hooks in comments.
412         * include/bits/std_memory.h:  Doxygenate.
413         * include/bits/stl_iterator_base_types.h:  Likewise.
414         * include/bits/stl_raw_storage_iter.h:  Likewise.
415         * include/bits/stl_tempbuf.h:  Likewise.
416         (get_temporary_buffer):  Remove unused nonstandard overload.
417         * include/bits/stl_uninitialized.h:  Likewise.
419         * include/bits/stl_iterator_base_types.h (input_iterator,
420         output_iterator, forward_iterator, bidirectional_iterator,
421         random_access_iterator):  Move old names...
422         * include/backward/iterator.h:  ...to here.
423         * include/bits/stl_bvector.h:  Update.
424         * include/ext/stl_rope.h:  Update.
426 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
428         * docs/html/configopts.html:  Describe recent options.
429         * docs/html/documentation.html:  Point to new doxygen tarballs.
430         * docs/html/install.html:  Brief updates.
431         * docs/html/17_intro/RELEASE-NOTES:  Remove weird control character.
432         * docs/html/ext/howto.html:  Fix typos, describe filebuf::fd().
433         * docs/html/faq/index.html:  Update for 3.0.95.
434         * docs/html/faq/index.txt:  Regenerate.
436 2001-12-19  David Billinghurst <David.Billinghurst@riotinto.com>
438         libstdc++-v3/5148
439         * testsuite/lib/libstdc++-v3-dg.exp:  Append .exe to
440         executable filenames
442 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
444         * docs/html/17_intro/TODO: Update.
445         * docs/html/17_intro/RELEASE-NOTES: Edits, update.
446         * README: Edit for clarity, update to reflect current directory
447         structure.
449 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
451         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
452         enabling gnu model.
453         * aclocal.m4: Rebuild.
454         * configure: Rebuild.
456 2001-12-18  Paolo Carlini  <pcarlini@unitus.it>
457             Nathan Myers  <ncm@cantrip.org>
459         * include/bits/basic_string.h (assign(__str, __pos, __n)):
460         Call assign(__s, __n).
461         (assign(__s, __n)): Terminate the string with _S_terminal.
463 2001-12-17  Benjamin Kosnik  <bkoz@redhat.com>
465         * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
466         Set to true, like float and double.
468 2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
470         libstdc++/5136
471         * testsuite/lib/prune.exp: New file
472         * testsuite/lib/libstdc++-v3-dg.exp: Use it
474 2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
476         * include/bits/basic_file.h (__basic_file::fd):  New function.
477         * config/io/basic_file_stdio.h (__basic_file::fd):  Define.
478         * include/bits/std_fstream.h (basic_filebuf::fd):  New function.
479         * include/bits/fstream.tcc (basic_filebuf::fd):  Define.
480         * testsuite/27_io/filebuf_members.cc (test_02):  New test.
482 2001-12-16  Nathan Sidwell  <nathan@codesourcery.com>
484         * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
485         * po/Makefile.in: Regenerated.
487 2001-12-16  Paolo Carlini  <pcarlini@unitus.it>
489         * testsuite/21_strings/assign.cc (test01): Add tests.
491 2001-12-15  Paolo Carlini  <pcarlini@unitus.it>
492             Nathan Myers  <ncm@cantrip.org>
494         * include/bits/basic_string.h
495         (assign(__str, __pos, __n), assign(__s, __n)):  Optimize
496         by avoiding unnecessary temporaries.
497         (assign(__s)): Call assign(__s, __n).
498         * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
499         * include/bits/std_string.h: include stl_function.h.
500         * testsuite/21_strings/assign.cc (test02, test03): New tests.
502 2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
504         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
505         on linux by default.
506         * aclocal.m4: Regenerate.
507         * configure: Regenerate.
509 2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
511         Clean up initialization and simplfy caching of underlying "C"
512         default locale objects.
513         * src/localename.cc (locale::_Impl::_Impl(string, size_t):
514         Unconditionally create __clocale object for all named locales,
515         including "C" and "POSIX".
516         * config/locale/c_locale_generic.cc
517         (locale::facet::_S_create_c_locale): Always set __cloc to zero.
518         * config/locale/c_locale_gnu.cc: Always delete.
519         * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
520         * src/locale.cc (locale::classic()): Initialize
521         locale::facet::_S_c_locale.
522         (locale::facet::_S_c_locale): Define.
524         * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
525         specialization.
526         * src/locale.cc: Add definition here.
527         * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
528         * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
529         * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
530         Adjust ctors, dtors.
531         (ctype<char>::_M_toupper): Remove const&.
532         (ctype<char>::_M_tolower): Remove const&.
533         (ctype<char>::_M_ctable): Remove const&.
535         * include/bits/locale_facets.h (collate): Clean up initialization
536         of _M_c_locale_collate in ctors and dtors.
537         * config/locale/collate_members_gnu.cc: Always use extended
538         functions.
540         * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
541         (messages_byname): Same.
542         * config/locale/messages_members_generic.h (messages::~messages):
543         Remove.
544         * config/locale/messages_members_gnu.h: Same.
546         * include/bits/localefwd.h: Clean. Move dtor definitions to
547         * src/locale.cc: Here.
548         * testsuite/22_locale/facet.cc: Fix spelling.
550         Named locale support for ctype<wchar_t>.
551         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
552         ctype_members_* bits.
553         * aclocal.m4: Regenerate.
554         * configure: Regenerate.
555         * src/Makefile.am (sources): Add ctype.cc.
556         * src/Makefile.in: Regenerate.
557         * config/locale/ctype_members_generic.cc: New file.
558         * config/locale/ctype_members_gnu.cc: New file.
559         * src/locale.cc: Remove ctype<wchart_t> definitions.
561 2001-12-13  Roger Sayle <roger@eyesopen.com>
563         * acconfig.h: Test for __builtin_sqrt instead of
564         __builtin_fsqrt.
565         * acinclude.m4: Same.
566         * include/c_shadow/bits/std_cmath.h: Same.
567         * aclocal.m4: Regenerated.
568         * config.h.in: Regenerated.
569         * configure: Regenerated.
571 2001-12-13  Phil Edwards  <pme@gcc.gnu.org>
573         * docs/html/ext/howto.html:  Fix typos.
575 2001-12-13  Benjamin Kosnik  <bkoz@redhat.com>
577         libstdc++/3679
578         * src/locale.cc (locale::locale(const char*)): Deal with locales
579         named "".
580         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
582 2001-12-12  Paolo Carlini  <pcarlini@unitus.it>
584         * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
585         _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
586         _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
587         : Adjust implicit typename.
588         * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
589         Adjust implicit typename.
590         * testsuite/27_io/streambuf.cc: Adjust implicit typename.
592 2001-12-12  Benjamin Kosnik  <bkoz@redhat.com>
594         Named locale support for ctype<char>.
595         * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
596         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
597         definitions for alternate constructor.
598         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
599         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
600         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
601         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
602         * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
603         * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
604         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
605         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
606         * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
607         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
608         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
609         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
610         * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
611         definitions for all virtual functions. These are now explicitly
612         undefined for non-required factets, ie any non-char, non-wchar_t
613         instantiations.
614         * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
615         locales use alternate constructor for ctype facet.
616         * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
617         mask*, bool, size_t): Add.
618         (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
619         * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
620         definition.
622         * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
623         XFAIL for non-gnu locale models.
625 2001-12-12  Philip Martin  <philip@codematters.co.uk>
626             Ross Smith     <r-smith@ihug.co.nz>
627             Paolo Carlini  <pcarlini@unitus.it>
629         libstdc++/5045
630         * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
631         Fix digits10 values for integral types.
632         * include/bits/locale_facets.tcc (num_get::do_get for integral types):
633         Tweak _M_extract_int call.
634         * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
635         Tweak overflowing number of digits.
636         * testsuite/18_support/numeric_limits.cc (test03): New testcase.
638 2001-12-11  Benjamin Kosnik  <bkoz@redhat.com>
640         * config/os/generic/bits/ctype_inline.h: Remove spaces.
641         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
642         * include/bits/locale_facets.h (__num_base): Move double data
643         members to first in class.
644         * include/bits/locale_facets.tcc: Re-arrange, tweak.
645         * src/locale.cc: Clean.
646         *include/bits/stl_vector.h: Space typedefs.
648 2001-12-11  Phil Edwards  <pme@gcc.gnu.org>
650         * testsuite/ext/allocators.cc:  New file.
652 2001-12-11  Jason Merrill  <jason@redhat.com>
654         * include/bits/locale_facets.tcc (_M_extract_int): Avoid
655         uninitialized warning.
657 2001-12-11  Loren Rittle <ljrittle@acm.org>
659         * config/cpu/sparc/sparc32/bits/atomicity.h
660         (__Atomicity_lock<0>::_S_atomicity_lock): Add.
662 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
664         * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
665         * include/bits/basic_string.h:  Fix typos.
667 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
668             Nathan Myers  <ncm@cantrip.org>
670         * include/bits/basic_string.tcc (_M_replace_safe):  New function.
671         (_M_replace(input_iterator_tag), append members):  Use it.
672         (_M_replace(forward_iterator_tag)):  Remove.
673         * include/bits/basic_string.h:  Adjust declarations.
674         * src/string-inst.cc:  Adjust declarations.
676 2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
677             Philip Martin <pmartin@uklinux.net>
679         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
680         (__num_base::_S_scale_oct): Add.
681         * include/bits/locale_facets.tcc (_M_extract_int): Use them.
682         * src/locale.cc: Add definitions.
683         * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
685         * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
687 2001-12-07  Nathan Myers  <ncm@cantrip.org>
688             Loren Rittle <ljrittle@acm.org>
690         libstdc++/5037
691         * config/cpu/sparc/sparc32/bits/atomicity.h
692         (struct __Atomicity_lock<__inst>): Add.
693         (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
694         (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
695         instead of lock local to static function.
696         (__atomic_add): Likewise.
698 2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
700         * src/globals.cc:  Remove __GTHREADS guard.
702 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
704         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
705         Extend comment, reduce __cs_size for non-fixed outputs.
707 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
709         * include/bits/basic_string.tcc (_M_mutate): Fix typo
710         in the previous check in.
712 2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
713             Loren J. Rittle <ljrittle@acm.org>
715         * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
716         exponential growth policy to meet linear amortized time
717         requirements of the standard.
718         (_S_create): Adjust comment.
720 2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
722         libstdc++/3720
723         * include/bits/locale_facets.tcc (num_put): Clean.
724         (num_get::_M_extract_float): Change argument to string.
725         (num_get::do_get(float)): Fixup.
726         (num_get::do_get(double)): Same.
727         (num_get::do_get(long double)): Same.
728         (num_get::_M_extract_int): Add maximum length parameter, __max.
729         (num_get::_M_extract_float): Correct zeros, use string.
730         * include/bits/locale_facets.h (num_get::_M_extract_float): Change
731         declaration here.
732         * src/locale.cc (__num_base::_S_atoms): Remove x, X.
733         * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
735 2001-12-06  Philip Martin  <pmartin@uklinux.net>
737         * testsuite/27_io/istream_extractor_arith.cc (test12): Add
738         tests for excess input digits.
740 2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
742         * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
743         * include/bits/stl_algo.h:  Likewise.
744         * include/bits/stl_algobase.h:  Likewise.
745         * include/bits/stl_bvector.h:  Likewise.
746         * include/bits/stl_deque.h:  Likewise.
747         * include/bits/stl_function.h:  Likewise.
748         * include/bits/stl_iterator.h:  Likewise.
749         * include/bits/stl_iterator_base_funcs.h:  Likewise.
750         * include/bits/stl_iterator_base_types.h:  Likewise.
751         * include/bits/stl_list.h:  Likewise.
752         * include/bits/stl_multimap.h:  Likewise.
753         * include/bits/stl_multiset.h:  Likewise.
754         * include/bits/stl_pair.h:  Likewise.
755         * include/bits/stl_queue.h:  Likewise.
756         * include/bits/stl_set.h:  Likewise.
757         * include/bits/stl_stack.h:  Likewise.
758         * include/bits/stl_tempbuf.h:  Likewise.
759         * include/bits/stl_tree.h:  Likewise.
760         * include/bits/stl_vector.h:  Likewise.
762         * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
763         Doxygenate more comments.  Correct historical artifacts in comments.
764         (alloc, single_alloc):  Uglify non-standard names.
765         (__default_alloc_template::_NFREELISTS):  Calculate from other
766         parameters.
767         (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
768         (__default_alloc_template::_Lock):  Mark as "unused".
769         * include/backward/alloc.h:  Update.
770         * include/bits/stl_bvector.h:  Likewise.
771         * include/ext/ropeimpl.h:  Likewise.
772         * include/ext/stl_hashtable.h:  Likewise.
774 2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
776         DR/282
777         * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
778         grouping to floating point types.
779         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
781 2001-12-04  Paolo Carlini <pcarlini@unitus.it>
783         libstdc++/4402
784         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
785         from the PR.
786         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
787         Deal properly with long ios_base::fixed floats.
788         (num_put::_M_widen_float): use
789         __len in __builtin_alloca call.
791 2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
793         * src/Makefile.am (sources): Add ext-inst.cc.
794         * src/Makefile.in: Regenerate.
795         * src/ext-inst.cc: New file.
796         * include/bits/stl_threads.h: Format.
797         * src/globals.cc: Add instantiation for _S_swap_lock.
799         * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
800         instantiation.
802 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
804         * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
805         and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
806         * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
807         for explicit instantiation of class std::basic_string<char,
808         gnu_char_traits, std::allocator<char> >.
810 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
812         * testsuite/22_locale/collate.cc: Compile-only.
813         * testsuite/22_locale/time_get.cc: Same.
814         * testsuite/22_locale/time_put.cc: Same.
815         * testsuite/22_locale/numpunct.cc: Same.
816         * testsuite/22_locale/num_put.cc: Same.
817         * testsuite/22_locale/num_get.cc: Same.
818         * testsuite/22_locale/moneypunct.cc: Same.
819         * testsuite/22_locale/money_get.cc: Same.
820         * testsuite/22_locale/messages.cc: Same.
821         * testsuite/22_locale/ctype.cc: Same.
823 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
825         * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
826         member instantiations.
828 2001-12-03  Steve Ellcey  <sje@cup.hp.com>
830         * libstdc++-v3/configure.in: Add support for hpux cross compiles,
831         combine common linux/hpux/generic cross compile support to reduce
832         redundent lines.
833         * libstdc++-v3/configure: Regenerate.
835 2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
837         * docs/html/ext/howto.html: Update commentary.
838         * include/bits/c++config: Update threading configuration comment.
839         (__STL_GTHREADS): Remove macro definition.
840         (__STL_THREADS): Likewise.
841         * include/bits/stl_threads.h: Leave only the configuration
842         path which had been guarded by __STL_GTHREADS.  Remove all
843         guards related to __STL_GTHREADS, __STL_SGI_THREADS,
844         __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
845         * include/bits/stl_alloc.h: Leave only the configuration path
846         which had been guarded by __STL_THREADS.  Remove configuration
847         path and guards for __STL_SGI_THREADS.
848         (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
849         (__NODE_ALLOCATOR_LOCK): Likewise.
850         (__NODE_ALLOCATOR_UNLOCK): Likewise.
851         (_NOTHREADS): Remove guards related to macro.
852         * include/ext/stl_rope.h: Remove configuration path and guards
853         for __STL_SGI_THREADS.
854         * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
856 2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
858         * docs/html/ext/howto.html:  Update list of implemented DRs.
859         * docs/html/ext/lwg-active.html:  Import R20 from upstream.
860         * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
862 2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
864         libstdc++/3150
865         DR/266
866         * libsupc++/exception (bad_exception::~bad_exception()): Remove
867         declaration.
868         * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
869         * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
870         (bad_typeid::~bad_typeid()): Remove.
871         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
872         (bad_typeid::~bad_typeid()): Same.
873         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
874         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
876         * include/bits/std_iomanip.h: Tweak.
878 2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
880         libstdc++/3655
881         * include/bits/locale_facets.tcc (__pad): Add bool parameter to
882         correctly pad internal-adjusted const char*-type objects.
883         * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
884         * include/bits/ostream.tcc (operator<<(_CharT , char, const
885         _CharT*, const char*, const basic_string&): Update calls.
886         * src/locale-inst.tcc: Update declarations.
887         * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
889 2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
891         * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
893 2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
895         * include/bits/locale_facets.tcc (num_get::do_get(long double)):
896         Fix __traits_type typo.
898 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
900         * include/bits/locale_facets.tcc (__pad): Correctly pad
901         internal-adjusted hex numbers.
902         * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
904 2001-11-28  Paolo Carlini <pcarlini@unitus.it>
905             Loren J. Rittle <ljrittle@acm.org>
907         * include/bits/basic_string.h
908         (basic_string::_Rep::__default_excess, _S_excess_slop):
909         Unused, remove.
910         * include/bits/basic_string.tcc: Remove dead code.
911         * include/bits/c++config: Remove comment.
913 2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
914             Jakub Jelinek  <jakub@redhat.com>
916         * config/locale/moneypunct_members_gnu.cc
917         (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
918         for ia64, others.
919         * config/locale/numpunct_members_gnu.cc
920         (numpunct<wchar_t>::_M_initialize_numpunct): Same.
922 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
924         * include/bits/locale_facets.tcc: Formatting tweaks.
926         * testsuite/23_containers/map_operators.cc: Don't xfail.
927         * testsuite/23_containers/set_operators.cc: Same.
928         * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
929         * testsuite/backward/header_deque_h.cc: Same.
931 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
932             Paolo Carlini  <pcarlini@unitus.it>
934         * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
935         Enforce allocation size blocking policy to reduce
936         fragmentation and enhance performance with common malloc
937         implementations.
939 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
941         Numeric facets cleanup.
942         * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
943         + and - signs.
944         (__num_base::_M_zero): Add
945         (__num_base::_M_e): Add.
946         (__num_base::_M_E): Add.
947         * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
948         (num_get::_M_extract_float): New.
949         (num_get::_M_extract_int): New.
950         * src/locale.cc (num_get::_M_extract): Remove.
952         * include/bits/locale_facets.tcc (num_put::_M_insert_float):
953         Simplify, use _M_insert.
954         (num_put::do_put(bool)): Simplify, remove __pad.
955         (__pad): Remove.
956         (__pad_output): Change to __pad.
957         * include/bits/ostream.tcc: And here.
958         * src/locale-inst: Remove instantiations.
960         * include/bits/locale_facets.h: Move helper functions in to class
961         num_put.
962         (num_put::_M_insert_float): Same, for __output_integer.
963         (num_put::_M_insert_int): Same, for __output_float.
964         (num_put::_M_insert): New.
965         (__num_base): Add.
966         (__num_base::_S_format_float): Move
967         __build_float_format into class __num_base.
968         (__num_base::_S_format_int): Move __build_int_format into class
969         __num_base.
970         * include/bits/locale_facets.tcc (__group_digits): Change to
971         (__add_grouping): This.
972         * src/locale-inst.cc: And here. Tweak instantiations.
973         * src/misc-inst.cc: Remove instantiations.
975         * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
976         for new calling conventions, move to...
977         * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
978         signature to make it useful for both ostream and num_put.
979         (__pad_numeric): Remove.
980         * src/misc-inst.cc: Remove instantiations.
981         * src/locale-inst.cc: Same.
983         * include/bits/locale_facets.h (_Numeric_get): Remove.
984         (_Numeric_put): Remove.
985         (num_get::get(short)): Remove.
986         (num_get::get(int)): Remove.
987         (num_get::do_get(short)): Remove.
988         (num_get::do_get(int)): Remove.
989         * include/bits/istream.tcc (istream::operator>>(short)): Fix as
990         per DR 118.
991         (istream::operator>>(int)): Same.
993         * include/bits/locale_facets.h (_Format_cache): Remove.
994         * include/bits/locale_facets.tcc: Same.
995         * src/locale.cc: Same.
996         * src/locale-inst.cc: Same.
997         * include/bits/ostream.tcc: Same.
998         * src/ios.cc (ios_base::imbue): Remove here as well.
1000         * testsuite/22_locale/num_get.cc: New file.
1001         * testsuite/22_locale/num_get_members_char.cc: New file.
1002         * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1003         * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1004         * testsuite/22_locale/num_put.cc: New file.
1005         * testsuite/22_locale/num_put_members_char.cc: New file.
1006         * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1007         * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1008         * testsuite/27_io/istream_extractor_arith.cc: Fix.
1010 2001-11-27  Phil Edwards  <pme@gcc.gnu.org>
1012         * docs/html/explanations.html:  New section, empty for now.
1013         * docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
1014         * docs/html/23_containers/howto.html:  ...to here.  Break up and
1015         rewrap threading discussion to emphasize warning.  Move malloc text...
1016         * docs/html/ext/howto.html:  ...to here.  New section.  Describe
1017         allocators and __USE_MALLOC effects.
1018         * docs/html/ext/sgiexts.html:  Mention their code.
1020 2001-11-24  Joseph S. Myers  <jsm28@cam.ac.uk>
1022         * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1023         docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1024         changes.
1026 2001-11-23  Phil Edwards  <pme@gcc.gnu.org>
1028         * Makefile.am (doxygen-maint):  The script isn't executable in CVS.
1029         * Makefile.in:  Regenerated.
1030         * docs/doxygen/TODO:  New file listing doxygen work to be done.
1031         * docs/doxygen/run_doxygen:  Fix up man pages.
1032         * docs/doxygen/user.cfg.in:  Insert maint-only toggles.
1033         * docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
1034         * include/bits/stl_construct.h:  Use new hooks for internal functions.
1036         * docs/html/17_intro/TODO:  Small updates.
1037         * docs/html/faq/index.html:  Likewise.
1038         * docs/html/faq/index.txt:  Regenerated.
1040         * include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
1041         SGI-isms and wrappers.
1042         (simple_alloc, debug_alloc):  Uglify class names.
1043         (__default_alloc_template):  Uglify "threads" template parameter and
1044         update corresponding macros.
1045         * include/backward/alloc.h:  Bring up to date.
1047 2001-11-23  Jason Merrill  <jason@redhat.com>
1049         * src/vterminate.cc (__verbose_terminate_handler): Add leading
1050         underscores.
1052 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1054         * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1055         docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1056         docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1057         docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1058         docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1059         docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1060         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1061         docs/html/21_strings/howto.html,
1062         docs/html/23_containers/howto.html,
1063         docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1064         docs/html/27_io/binary_iostreams_kuehl.txt,
1065         docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1066         docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1067         include/bits/basic_file.h, include/bits/locale_facets.h,
1068         include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1069         include/ext/ropeimpl.h, include/ext/stl_rope.h,
1070         libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1071         libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1072         configure.target, ChangeLog-2000: Fix spelling errors.
1074         * config/locale/moneypunct_members_gnu.cc,
1075         include/bits/locale_facets.h: Fix spelling errors.
1077 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1079         * testsuite/23_containers/list_capacity.cc: New file.
1080         * testsuite/23_containers/list_ctor.cc: New file.
1081         * testsuite/23_containers/list_modifiers.cc: New file.
1082         * testsuite/23_containers/list_operators.cc: New file.
1084 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1086         * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1087         (size): Replaced nonstandard distance() call with the standard one.
1088         (transfer): Uglified to _M_transfer.
1090 2001-11-21  Paolo Carlini  <pcarlini@unitus.it>
1092         PR libstdc++/4548
1093         * include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
1094         below the current size.
1095         * testsuite/21_strings/capacity.cc (test02):  Add test.
1097 2001-11-19  Phil Edwards  <pme@gcc.gnu.org>
1099         * docs/doxygen/Intro.3:  More notes.
1100         * docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
1101         * include/bits/stl_algobase.h:  Add doxygen hooks for functions.
1102         * include/ext/hash_map:  Add @file hook.
1103         * include/ext/hash_set:  Likewise.
1104         * include/ext/rope:  Likewise.
1105         * include/ext/ropeimpl.h:  Likewise.
1106         * include/ext/slist:  Likewise.
1107         * include/ext/stl_hash_fun.h:  Likewise.
1108         * include/ext/stl_hashtable.h:  Likewise.
1109         * include/ext/stl_rope.h:  Likewise.
1111         * docs/html/17_intro/license.html:  Remove "experimental" sentence.
1112         * docs/html/19_diagnostics/howto.html:  Document new verbose
1113         terminate handler.
1114         * testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
1115         to more visible (closer to description) position.
1117         * libsupc++/eh_type.cc:  Formatting tweak.
1118         * libsupc++/exception:  Likewise.
1119         * src/vterminate.cc:  Likewise.
1121         * docs/html/17_intro/porting.html:  Regenerate.
1122         * docs/html/faq/index.txt:  Regenerate.
1124 2001-11-18  Jason Merrill  <jason@redhat.com>
1126         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1127         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1128         * libsupc++/unwind-cxx.h: Adjust.
1129         * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1131         * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1132         * libsupc++/cxxabi.h: Declare it.
1133         * libsupc++/Makefile.am (sources): Add it.
1134         * src/vterminate.cc (verbose_terminate_handler): New file.
1135         * libsupc++/exception: Declare it.
1136         * src/Makefile.am (sources): Add it.
1138         * src/Makefile.am (VPATH): Check the src directory before the top one.
1140 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
1142         * include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
1144 2001-11-16  Loren J. Rittle  <ljrittle@acm.org>
1146         * docs/html/17_intro/howto.html (Thread-safety): Rename
1147         section to ``The Standard C++ library and multithreading'' and
1148         update information based on recent mailing list traffic.  Move
1149         all discussion of __USE_MALLOC to...
1150         * docs/html/23_containers/howto.html (Containers and multithreading):
1151         ...here and rework it based on recent mailing list traffic.
1153 2001-11-15  Loren J. Rittle  <ljrittle@acm.org>
1155         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1156         wording.
1158 2001-11-15  <bjornw@planetarion.com>
1159             Loren J. Rittle  <ljrittle@acm.org>
1161         libstc++/4219
1162         * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1163         (single_client_alloc): Likewise.
1165 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
1167         * configure.target: Add os_include_dir for mingw32* target.
1168         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1169         from _GLIBCPP_AVOID_FSEEK.
1170         * config/os/mingw32/bits/ctype_base.h: New file.
1171         * config/os/mingw32/bits/ctype_inline.h: New file.
1172         * config/os/mingw32/bits/ctype_noninline.h: New file.
1173         * config/os/mingw32/bits/os_defines.h: New file.
1175 2001-11-07  Nathan Myers  <ncm@cantrip.org>
1177         * docs/html/faq/index.html (5.8):  New entry on ABIs.
1178         * docs/html/faq/index.txt:  Regenerate.
1180 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
1182         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
1183         bugfixes on Solaris.
1184         * docs/html/faq/index.txt:  Regenerate.
1186 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
1188         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
1189         LANG_CPLUSPLUS mode.
1190         * aclocal.m4:  Regenerate.
1191         * configure:  Regenerate.
1193 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
1195         * porting.texi:  Move...
1196         * docs/html/17_intro/porting.texi:  ...to here.
1197         * docs/html/Makefile:  Add rule to rebuild...
1198         * docs/html/17_intro/porting.html:  ...this.  New file.
1200 2001-11-05  Felix Natter  <fnatter@gmx.net>
1202         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
1203         * docs/html/17_intro/porting-howto.html:  regenerate
1205 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
1207         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1208         when platform supports __GTHREAD_MUTEX_INIT.
1210 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1212         * acconfig.h:  Update comments.
1213         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
1214         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
1215         * aclocal.m4:  Regenerate.
1216         * config.h.in:  Regenerate.
1217         * configure:  Regenerate.
1219         * include/bits/boost_concept_check.h:  Unconditionally compile uses
1220         of 'long long' which require only compiler support, not C lib support.
1221         * include/bits/cpp_type_traits.h:  Likewise.
1222         * include/bits/std_limits.h:  Likewise.
1223         * include/bits/type_traits.h:  Likewise.
1224         * src/concept-inst.cc:  Likewise.
1225         * src/limits.cc:  Likewise.
1226         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
1227         instead of _GLIBCPP_USE_LONG_LONG.
1228         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
1230 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1232         * config/io/c_io_stdio.h:  Correct grammar in comments.
1233         * docs/doxygen/Intro.3:  Expand "top-level" man page.
1234         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
1235         * docs/doxygen/mainpage.doxy:  Tweaks.
1236         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
1238         Add @file hooks so that headers are considered to be documented.
1239         * include/bits/basic_ios.h, include/bits/basic_file.h,
1240         include/bits/basic_string.h, include/bits/boost_concept_check.h,
1241         include/bits/char_traits.h, include/bits/codecvt.h,
1242         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1243         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1244         include/bits/indirect_array.h, include/bits/ios_base.h,
1245         include/bits/locale_facets.h, include/bits/localefwd.h,
1246         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1247         include/bits/slice.h, include/bits/slice_array.h,
1248         include/bits/std_algorithm.h, include/bits/std_bitset.h,
1249         include/bits/std_complex.h, include/bits/std_deque.h,
1250         include/bits/std_fstream.h, include/bits/std_functional.h,
1251         include/bits/std_iomanip.h, include/bits/std_ios.h,
1252         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1253         include/bits/std_istream.h, include/bits/std_iterator.h,
1254         include/bits/std_limits.h, include/bits/std_list.h,
1255         include/bits/std_locale.h, include/bits/std_map.h,
1256         include/bits/std_memory.h, include/bits/std_numeric.h,
1257         include/bits/std_ostream.h, include/bits/std_queue.h,
1258         include/bits/std_set.h, include/bits/std_sstream.h,
1259         include/bits/std_stack.h, include/bits/std_streambuf.h,
1260         include/bits/std_string.h, include/bits/std_utility.h,
1261         include/bits/std_valarray.h, include/bits/std_vector.h,
1262         include/bits/stl_algo.h, include/bits/stl_alloc.h,
1263         include/bits/stl_bvector.h, include/bits/stl_construct.h,
1264         include/bits/stl_deque.h, include/bits/stl_heap.h,
1265         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1266         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1267         include/bits/stl_map.h, include/bits/stl_multimap.h,
1268         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1269         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1270         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1271         include/bits/stl_relops.h, include/bits/stl_set.h,
1272         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1273         include/bits/stl_threads.h, include/bits/stl_tree.h,
1274         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1275         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1276         include/bits/stringfwd.h, include/bits/type_traits.h,
1277         include/bits/valarray_array.h, include/bits/valarray_meta.h:
1278         Add hooks, tweak comments only.
1280         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
1281         document these functions.
1282         * include/bits/stl_function.h:  Tweak link comments.
1284 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
1285             Benjamin Kosnik  <bkoz@redhat.com>
1287         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1288         output.
1289         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1291 2001-11-01  Egor Duda  <deo@logos-m.ru>
1293         * config/os/newlib/bits/ctype_noninline.h
1294         (ctype<char>::do_toupper(char __c)): Check for proper character class.
1295         (ctype<char>::do_tolower(char __c)): Ditto.
1297 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
1299         * acinclude.m4:  Fix spacing.
1300         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
1301         * configure.in:  Call here.
1302         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
1303         * include/bits/boost_concept_check.h:  Fix headers.
1304         (__function_requires):  Make inline.
1305         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
1306         * aclocal.m4:  Regenerate.
1307         * config.h.in:  Regenerate.
1308         * configure:  Regenerate.
1310         Move trailing ';' inside macro, PR libstdc++/3666.
1311         * include/bits/concept_check.h:  Add semicolon.
1312         * include/bits/stl_algo.h:  Remove semicolon.
1313         * include/bits/stl_algobase.h:  Likewise.
1314         * include/bits/stl_deque.h:  Likewise.
1315         * include/bits/stl_heap.h:  Likewise.
1316         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1317         * include/bits/stl_list.h:  Likewise.
1318         * include/bits/stl_map.h:  Likewise.
1319         * include/bits/stl_multimap.h:  Likewise.
1320         * include/bits/stl_multiset.h:  Likewise.
1321         * include/bits/stl_numeric.h:  Likewise.
1322         * include/bits/stl_queue.h:  Likewise.
1323         * include/bits/stl_set.h:  Likewise.
1324         * include/bits/stl_stack.h:  Likewise.
1325         * include/bits/stl_vector.h:  Likewise.
1326         * include/ext/hash_map:  Likewise.
1327         * include/ext/hash_set:  Likewise.
1328         * include/ext/slist:  Likewise.
1330         * src/concept-inst.cc:  New file with explicit instantiations.
1331         * src/Makefile.am (sources):  Add here, with special build rules.
1332         * src/Makefile.in:  Regenerate.
1334 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1336         * include/bits/std_complex.h (_Norm_helper): New class template.
1337         (norm): Tweak.
1338         (abs): Tweak. Fix Thinko.
1340 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
1342         libstdc++/4749
1343         * include/bits/codecvt.h: Add virtual member function declarations.
1344         * src/codecvt.cc: Tweaks.
1345         * testsuite/22_locale/codecvt.cc: Test compilation only,
1346         non-required facets not required to have linkage.
1348 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
1350         libstdc++/4622
1351         * include/bits/std_complex.h (complex::operator/=): Correct sign.
1353 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
1354             Benjamin Kosnik  <bkoz@redhat.com>
1356         libstdc++/4354
1357         * include/bits/basic_string.h: Tweaks.
1358         * include/bits/basic_string.tcc (string::_M_replace(iterator,
1359         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1360         * src/string-inst.cc: Tweaks, add instantiation.
1361         * testsuite/21_strings/replace.cc (test02): Add test.
1362         * testsuite/21_strings/assign.cc (test01): New file.
1364 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
1366         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1367         __throw_exception_again.
1368         (_M_new_elements_at_back): Likewise.
1370 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1372         libstdc++/3647
1373         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1374         * testsuite/27_io/filebuf.cc (test07): New test.
1375         (test03): Modify showmanyc test.
1377 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1379         libstdc++/4503
1380         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1381         (__enc_traits::~__enc_traits): Fix.
1382         (__enc_traits::_M_init): Add error checking.
1384 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1386         libstdc++/4542
1387         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1389 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1391         libstdc++/4545
1392         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1393         exceptions.
1394         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1395         consistent, where possible.
1396         * include/bits/streambuf.tcc: Tweak.
1398 2001-10-25  Brendan Kehoe  <brendan@zen.org>
1400         libstdc++/4536
1401         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1402         * bits/istream.tcc (seekg): Likewise.
1404 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1405             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1406             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1408         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1409         __s390x__ only.
1410         * include/bits/std_limits.h: Fix wchar_t issues.
1411         * config/os/aix/bits/os_defines.h: Fix.
1413 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1415         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1417 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
1419         * docs/html/documentation.html:  Fix typo.
1421 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1423         Make -fno-exceptions work.
1424         * config/locale/c_locale_gnu.cc: Use functexcept.
1425         * include/bits/c++config (__stl_assert): Remove.
1426         (__STL_USE_EXCEPTIONS): Same.
1427         (__STL_TRY): Same.
1428         (__STL_CATCH_ALL): Same.
1429         (__STL_THROW): Same.
1430         (__STL_RETHROW): Same.
1431         (__STL_NOTHROW): Same.
1432         (__STL_UNWIND): Same.
1433         * include/bits/pthread_allocimpl.h: Fix.
1434         * include/bits/std_bitset.h: Same.
1435         * include/bits/std_list.h: Same.
1436         * include/bits/std_memory.h: Same.
1437         * include/bits/std_queue.h: Same.
1438         * include/bits/stl_alloc.h: Same.
1439         * include/bits/stl_deque.h: Same.
1440         * include/bits/stl_list.h: Same.
1441         * include/bits/stl_queue.h: Same.
1442         * include/bits/stl_tempbuf.h: Same.
1443         * include/bits/stl_tree.h: Same.
1444         * include/bits/stl_uninitialized.h: Same.
1445         * include/bits/stl_vector.h: Same.
1446         * include/ext/ropeimpl.h: Same.
1447         * include/ext/slist: Same.
1448         * include/ext/stl_hashtable.h: Same.
1449         * include/ext/stl_rope.h: Same.
1450         * libsupc++/new_op.cc: Include cstdlib.
1451         * libsupc++/eh_personality.cc: Add exception_defines include. Use
1452         __throw_exception_again, tweak.
1453         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1454         * libsupc++/vec.cc: Tweak.
1455         * src/functexcept.cc: Remove unused arguments.
1456         * testsuite/23_containers/bitset_members.cc: Tweak.
1458 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
1460         * config/cpu/i386/bits/limits.h: Move to...
1461         * config/cpu/i386/bits/cpu_limits.h: ...here.
1462         * config/cpu/cris/bits/cpu_limits.h: Same.
1463         * config/cpu/powerpc/bits/cpu_limits.h: Same.
1464         * config/cpu/x86-64/bits/cpu_limits.h: Same.
1465         * config/cpu/alpha/bits/cpu_limits.h: New.
1466         * config/cpu/m68k/bits/cpu_limits.h: New.
1467         * config/cpu/s390/bits/cpu_limits.h: New.
1468         * config/os/aix/bits/os_defines.h: Tweaks.
1469         * config/os/bsd/freebsd/bits/os_defines.h: Same.
1470         * config/os/bsd/netbsd/bits/os_defines.h: Same.
1471         * config/os/djgpp/bits/os_defines.h: Same.
1472         * config/os/generic/bits/os_defines.h: Same.
1473         * config/os/gnu-linux/bits/os_defines.h: Same.
1474         * config/os/hpux/bits/os_defines.h: Same.
1475         * config/os/irix/irix5.2/bits/os_defines.h: Same.
1476         * config/os/irix/irix6.5/bits/os_defines.h: Same.
1477         * config/os/newlib/bits/os_defines.h: Same.
1478         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1479         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1480         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1482         * include/bits/c++config: Remove include.
1483         * include/bits/limits_generic.h: Remove.
1484         * include/bits/std_limits.h: Include cpu_limits.h.
1485         * include/Makefile.am: Fixup.
1486         * src/limits.cc: Tweak.
1487         * src/limits_generic.cc: Remove.
1488         * src/gen-num-limits.cc: Remove.
1489         * mknumeric_limits: Remove.
1491 2001-10-20  Brendan Kehoe  <brendan@zen.org>
1493         * bits/type_traits.h (_Bool): Removed this type.
1494         (__true_type, __false_type): Change to be plain structs.
1495         * src/string-inst.cc (__destroy_aux): Change third parm to be
1496         __false_type instead of _Bool<false>.
1497         * src/misc-inst.cc (__uninitialized_fill_n_aux,
1498         __uninitialized_copy_aux): Likewise.
1500 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1502         * mkcheck.in (static_fail): Remove older memory limit functionality.
1503         Disable E_TIME due to formatting issues.
1505         * README: Update.
1507 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1509         * include/bits/std_complex.h: Default initialize second argument
1510         of polar to 0, as specified in Library DR #79
1512 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1514         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1515         _Construct instead of construct.
1517 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1519         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1520         __n being non-zero, since the standard does not mandate that.
1521         e.g., a search for "" in "" should yield position 0, not npos.
1522         (find_last_not_of): Likewise.
1524 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1526         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1527         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1529 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1531         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1532         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1534 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1536         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1537         template parameter _ValueType.
1539 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1541         * include/bits/std_limits.h: Clean up extra semicolons.
1542         * include/bits/locale_facets.h: Likewise.
1543         * include/bits/type_traits.h: Likewise.
1545 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1547         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1548         * include/bits/locale_facets.tcc (locale::combine): Likewise.
1550 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1552         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1553         Declare specializations for char, wchar_t.
1555 2001-10-19  Andreas Jaeger  <aj@suse.de>
1557         * config/cpu/x86-64/bits/limits.h: New file.
1558         * config/cpu/x86-64/bits/atomicity.h: New file.
1559         * configure.target: Add x86-64.
1561 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
1563         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
1564         why).  Add link to recent message.
1565         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
1566         markup.
1567         * docs/html/faq/index.txt:  Regenerate.
1569 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
1571         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1572         based on Nathan's review.  Use Nathan's words.
1574 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
1576         * docs/html/configopts.html: Quote StyleSheet attribute values.
1577         * docs/html/documentation.html: Likewise.
1578         * docs/html/explanations.html: Likewise.
1579         * docs/html/install.html: Likewise.
1580         * docs/html/17_intro/howto.html: Likewise.
1581         * docs/html/17_intro/license.html: Likewise.
1582         * docs/html/18_support/howto.html: Likewise.
1583         * docs/html/19_diagnostics/howto.html: Likewise.
1584         * docs/html/20_util/howto.html: Likewise.
1585         * docs/html/21_strings/howto.html: Likewise.
1586         * docs/html/22_locale/howto.html: Likewise.
1587         * docs/html/23_containers/howto.html: Likewise.
1588         * docs/html/24_iterators/howto.html: Likewise.
1589         * docs/html/25_algorithms/howto.html: Likewise.
1590         * docs/html/26_numerics/howto.html: Likewise.
1591         * docs/html/27_io/howto.html: Likewise.
1592         * docs/html/ext/howto.html: Likewise.
1593         * docs/html/ext/sgiexts.html: Likewise.
1594         * docs/html/faq/index.html: Likewise.
1596 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
1598         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1599         * docs/html/23_containers/howto.html (Containers and multithreading):
1600         Update.
1602 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1604         * docs/html/17_intro/howto.html:  Tweak markup and value type.
1605         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
1606         nonzero arguments, add new note on threading.
1607         * docs/html/faq/index.html:  Update.
1608         * docs/html/faq/index.txt:  Regenerate.
1610 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1612         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
1613         * docs/html/documentation.html:  Likewise.
1614         * docs/html/explanations.html:  Likewise.
1615         * docs/html/install.html:  Likewise.
1616         * docs/html/17_intro/howto.html:  Likewise.
1617         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
1618         * docs/html/18_support/howto.html:  Likewise.
1619         * docs/html/19_diagnostics/howto.html:  Likewise.
1620         * docs/html/20_util/howto.html:  Likewise.
1621         * docs/html/21_strings/howto.html:  Likewise.
1622         * docs/html/22_locale/howto.html:  Likewise.
1623         * docs/html/23_containers/howto.html:  Likewise.
1624         * docs/html/24_iterators/howto.html:  Likewise.
1625         * docs/html/25_algorithms/howto.html:  Likewise.
1626         * docs/html/26_numerics/howto.html:  Likewise.
1627         * docs/html/27_io/howto.html:  Likewise.
1628         * docs/html/ext/howto.html:  Likewise.
1629         * docs/html/ext/sgiexts.html:  Likewise.
1630         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
1631         * docs/html/faq/index.txt:  Regenerate.
1633 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
1635         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1636         spelling errors of "separate" as "seperate", and corresponding
1637         spelling errors of related words.
1638         * docs/html/faq/index.txt: Regenerate.
1640 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
1642         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
1643         unused function.
1644         * config/cpu/arm/bits/atomicity.h:  Likewise.
1645         * config/cpu/generic/bits/atomicity.h:  Likewise.
1646         * config/cpu/i486/bits/atomicity.h:  Likewise.
1647         * config/cpu/ia64/bits/atomicity.h:  Likewise.
1648         * config/cpu/mips/bits/atomicity.h:  Likewise.
1649         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
1650         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
1651         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
1653 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1655         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
1656         * docs/html/faq/index.txt:  Regenerate.
1658 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1660         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
1661         * docs/html/17_intro/license.html:  New file.  Explain the licenses
1662         in use.
1664         * docs/html/configopts.html:  Link to license.html.
1665         * docs/html/documentation.html:  Likewise.
1666         * docs/html/explanations.html:  Likewise.
1667         * docs/html/install.html:  Likewise.
1668         * docs/html/17_intro/howto.html:  Likewise.
1669         * docs/html/18_support/howto.html:  Likewise.
1670         * docs/html/19_diagnostics/howto.html:  Likewise.
1671         * docs/html/20_util/howto.html:  Likewise.
1672         * docs/html/21_strings/howto.html:  Likewise.
1673         * docs/html/22_locale/howto.html:  Likewise.
1674         * docs/html/23_containers/howto.html:  Likewise.
1675         * docs/html/24_iterators/howto.html:  Likewise.
1676         * docs/html/25_algorithms/howto.html:  Likewise.
1677         * docs/html/26_numerics/howto.html:  Likewise.
1678         * docs/html/27_io/howto.html:  Likewise.
1679         * docs/html/ext/howto.html:  Likewise.
1680         * docs/html/ext/sgiexts.html:  Likewise.
1681         * docs/html/faq/index.html:  Likewise.  New question, linking to
1682         the new license.html.
1684 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1686         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
1687         * docs/html/18_support/howto.html:  Likewise.
1688         * docs/html/19_diagnostics/howto.html:  Likewise.
1689         * docs/html/20_util/howto.html:  Likewise.
1690         * docs/html/21_strings/howto.html:  Likewise.
1691         * docs/html/22_locale/howto.html:  Likewise.
1692         * docs/html/23_containers/howto.html:  Likewise.
1693         * docs/html/24_iterators/howto.html:  Likewise.
1694         * docs/html/25_algorithms/howto.html:  Likewise.
1695         * docs/html/26_numerics/howto.html:  Likewise.
1696         * docs/html/27_io/howto.html:  Likewise.
1697         * docs/html/ext/howto.html:  Likewise.
1698         * docs/html/faq/index.html:  Likewise.  Spacing fix.
1700 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
1702         * include/bits/stl_threads.h (_Atomic_swap): New function.
1703         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1704         * testsuite/ext/rope.cc: New file.
1706 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
1708         * config/locale/time_members_gnu.h: Remove.
1709         * config/locale/time_members_generic.h: Remove.
1710         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1711         * config/locale/time_members_generic.cc: Same.
1712         * include/bits/locale_facets.h: Add data members.
1713         (__timepunct::_M_put_helper): Change signature.
1714         (__timepunct::_M_date_formats): Same.
1715         (__timepunct::_M_time_formats): Same.
1716         (__timepunct::_M_ampm): Add.
1717         (__timepunct::_M_date_time_formats): Add.
1718         (time_get::_M_extract_via_format): Add.
1719         (time_get::_M_extract_time): Change to...
1720         (time_get::_M_extract_num): ... this, modify signature.
1721         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1722         (time_get::do_get_time): Fix.
1723         (time_get::do_get_date): Fix.
1725         * acinclude.m4: Remove CTIME_H.
1726         * aclocal.m4: Regenerate.
1727         * include/Makefile.am: Same.
1728         * include/Makefile.in: Regenerate.
1729         * configure: Regenerate.
1731         * testsuite/22_locale/time_get_members_char.cc: Fix.
1732         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1733         * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1735 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
1737         * config/cpu/cris/bits/atomicity.h: Correct file header.
1739 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
1741         * configure.target (LIMITSH): Set for cris.
1742         (cpu_include_dir): Set for cris-*-*.
1743         * config/cpu/cris/bits/atomicity.h: New file.
1744         * config/cpu/cris/bits/limits.h: New file.
1746 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
1748         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1749         (__timepunct::_M_put_helper): Add.
1750         * config/locale/time_members_generic.h: Same.
1751         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1752         (__timepunct): Add data members.
1753         (__timepunct::_M_days): Add.
1754         (__timepunct::_M_days_abbreviated): Add.
1755         (__timepunct::_M_months): Add.
1756         (__timepunct::_M_months_abbreviated): Add.
1757         (__timepunct::_M_initialize_timepunct): Add.
1758         * include/bits/locale_facets.tcc: Same.
1759         * src/locale-inst.cc: Remove instantiations for __match_parallel.
1760         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1761         * aclocal.m4: Regenerate.
1762         * configure: Regenerate.
1763         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1764         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1765         * testsuite/22_locale/time_get.cc: New file.
1767 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1769         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1770         correct multilib builddir.
1771         Properly locate libgcc_s.
1773 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
1775         * include/std/*:  Add Doxygen hooks.
1776         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
1777         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
1778         rather than using a generated index.
1779         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
1780         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
1781         * docs/doxygen/stdheader.cc:  ...this new file.
1783 2001-09-26  Stan Shebs  <shebs@apple.com>
1785         * include/Makefile.am: Remove RCS Id strings.
1786         * src/Makefile.am: Ditto.
1787         * docs/doxygen/run_doxygen: Ditto.
1788         * docs/html/configopts.html: Ditto.
1789         * docs/html/documentation.html: Ditto.
1790         * docs/html/explanations.html: Ditto.
1791         * docs/html/install.html: Ditto.
1792         * docs/html/17_intro/howto.html: Ditto.
1793         * docs/html/18_support/howto.html: Ditto.
1794         * docs/html/19_diagnostics/howto.html: Ditto.
1795         * docs/html/20_util/howto.html: Ditto.
1796         * docs/html/21_strings/howto.html: Ditto.
1797         * docs/html/22_locale/howto.html: Ditto.
1798         * docs/html/23_containers/howto.html: Ditto.
1799         * docs/html/24_iterators/howto.html: Ditto.
1800         * docs/html/25_algorithms/howto.html: Ditto.
1801         * docs/html/26_numerics/howto.html: Ditto.
1802         * docs/html/27_io/howto.html: Ditto.
1803         * docs/html/ext/howto.html: Ditto.
1804         * docs/html/ext/sgiexts.html: Ditto.
1805         * docs/html/faq/index.html: Ditto.
1806         * docs/html/faq/index.txt: Ditto.
1808 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
1810         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
1811         `carray' size.
1813 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
1815         * docs/html/20_util/howto.html:  Add anchor name.
1816         * docs/html/23_containers/howto.html:  Line wrapping, another link.
1817         * docs/html/25_algorithms/howto.html:  Another note.
1819         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
1820         link to them...
1821         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
1822         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
1823         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
1824         carried over to libstdc++-v3.
1825         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
1826         "missing .." pseudobug.
1827         * docs/html/faq/index.txt:  Regenerate.
1829         * include/bits/ios_base.h:  DR-related comment cleanup.
1830         * include/bits/istream.tcc:  Likewise.
1831         * include/bits/locale_facets.h:  Likewise.
1832         * include/bits/locale_facets.tcc:  Likewise.
1833         * include/bits/ostream.tcc:  Likewise.
1834         * include/bits/std_bitset.h:  Likewise.
1835         * include/bits/std_iosfwd.h:  Likewise.
1836         * include/bits/std_istream.h:  Likewise.
1837         * include/bits/std_ostream.h:  Likewise.
1838         * include/bits/std_streambuf.h:  Likewise.
1839         * include/bits/stl_pair.h:  Likewise.
1840         * include/bits/streambuf_iterator.h:  Likewise.
1842         * include/bits/std_map.h:  Remove unused header inclusion guard
1843         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1844         * include/bits/std_set.h:  Likewise.
1846         * include/bits/stl_function.h:  Doxygen markup.
1847         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
1848         * libsupc++/typeinfo:  Doxygen markup tweak.
1850 2001-09-20  Scott Johnston <scott@accom.com>
1851             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1853         * include/backward/alloc.h: Conditionally define malloc_alloc
1854         * testsuite/backward/header_deque_h.cc: New file.
1856 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1858         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1859         change variable name so that it works with -fno-for-scope.
1861 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
1863         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1864         redundant sanity checks.
1865         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1866         (test02): Same.
1867         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1868         (test02): Same.
1869         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1870         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1871         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1872         (test02): Same.
1873         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1874         (test02): Same.
1876 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
1878         Implement std::time_put.
1879         * include/bits/locale_facets.h: Include time_members.h.
1880         (__timepunct): New.
1881         (time_put): Implement.
1882         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1883         * include/bits/localefwd.h: Bump number of facets.
1884         * config/locale/time_members_generic.h: New file.
1885         * config/locale/time_members_gnu.h: New file.
1886         * config/locale/c_locale_generic.h: Include clocale.
1887         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1888         * src/locale.cc: Add __timepunct initializations.
1889         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1890         * include/Makefile.am (stamp-target): Add time_members.h.
1891         * include/Makefile.in: Regenerate.
1892         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1893         * aclocal.m4: Regenerate.
1894         * configure: Regenerate.
1895         * testsuite/22_locale/time_put.cc: New file.
1896         * testsuite/22_locale/time_put_members_char.cc: New file.
1898         * docs/html/22_locale/locale.html: Add note.
1900 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
1902         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
1903         * docs/html/documentation.html:  Likewise.
1904         * docs/html/explanations.html:  Likewise.
1905         * docs/html/install.html:  Likewise.
1906         * docs/html/17_intro/howto.html:  Likewise.
1907         * docs/html/18_support/howto.html:  Likewise.
1908         * docs/html/19_diagnostics/howto.html:  Likewise.
1909         * docs/html/20_util/howto.html:  Likewise.
1910         * docs/html/21_strings/howto.html:  Likewise.
1911         * docs/html/22_locale/codecvt.html:  Likewise.
1912         * docs/html/22_locale/ctype.html:  Likewise.
1913         * docs/html/22_locale/howto.html:  Likewise.
1914         * docs/html/22_locale/locale.html:  Likewise.
1915         * docs/html/22_locale/messages.html:  Likewise.
1916         * docs/html/23_containers/howto.html:  Likewise.
1917         * docs/html/24_iterators/howto.html:  Likewise.
1918         * docs/html/25_algorithms/howto.html:  Likewise.
1919         * docs/html/26_numerics/howto.html:  Likewise.
1920         * docs/html/27_io/howto.html:  Likewise.
1921         * docs/html/ext/howto.html:  Likewise.
1922         * docs/html/faq/index.html:  Likewise.
1923         * docs/html/faq/index.txt:  Regenerated.
1925 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
1927         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
1928         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
1929         * docs/html/18_support/howto.html:  It won't compile; it's not code.
1930         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
1931         doxygen'd pages.
1932         * docs/html/22_locale/howto.html:  Comment for future work.
1933         * docs/html/23_containers/howto.html:  More comments.
1934         * docs/html/25_algorithms/howto.html:  It's a comment, not a
1935         blunt command to the reader.  (English grammar.)
1937 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1939         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1940         wchar_t members.
1941         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1942         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1944 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1946         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1948 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
1950         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1951         * testsuite/22_locale/money_put_members_char.cc: Likewise.
1952         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1954 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
1956         Implement std::money_get.
1957         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1958         * include/bits/locale_facets.h (money_get): Correct signatures.
1959         * testsuite/22_locale/money_get.cc: New file.
1960         * testsuite/22_locale/money_get_members_char.cc: New file.
1962         * include/bits/locale_facets.tcc (__verify_grouping): New
1963         function. Consolidate num_get and money_get group checking into
1964         one function.
1965         (money_get): Use it.
1966         * src/locale.cc (num_get::_M_extract): Use it.
1967         * src/locale-inst.cc: Add instantiation.
1969 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1971         * include/bits/std_limits.h (numeric_limits<float>::radix,
1972         numeric_limits<float>::epsilon:  Fix thinko.
1974 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1976         * configure.in: Fix cross compiling math routines. Correct
1977         comments for cross compiling and limits. Add floating point math
1978         routines found in newlib.
1979         * configure: Regenerate.
1980         * acconfig.h: Add macros.
1981         * config.h.in: Regenerate.
1983 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1985         * config/locale/moneypunct_members_generic.cc
1986         (money_base::_S_construct_pattern): Remove unused parameters.
1988 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1990         * include/Makefile.am (stamp-target): Remove link to self.
1991         * inclulde/Makefile.in: Regenerate.
1993 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
1995         Implement std::money_put.
1996         * include/bits/locale_facets.h
1997         (moneypunct::_M_initialize_moneypunct): Split up specializations
1998         to account for _Intl.  More grody hacking to get around the
1999         ill-considered use of const bool as a template parameter.
2000         * config/locale/moneypunct_members_gnu.cc: And here.
2001         * config/locale/moneypunct_members_generic.cc: And here.
2002         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2003         * testsuite/22_locale/moneypunct.cc: Add tests.
2004         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2005         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2007         * src/locale.cc (money_base::_S_construct_pattern): Move into
2008         gnu-specific file.
2009         * config/locale/moneypunct_members_gnu.cc: Add here.
2010         * config/locale/moneypunct_members_generic.cc: Add generic version
2011         here.
2013         * include/bits/locale_facets.tcc (money_put::do_put): Move member
2014         function definitions here.
2015         * include/bits/locale_facets.h (money_put): Implement.
2016         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2017         Correct money_get, money_put instantiations.
2018         * src/locale.cc (money_base::_S_construct_pattern): Handle case
2019         where __posn == 0.
2020         * testsuite/22_locale/money_put_members_char.cc: Add tests.
2022 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
2024         * testsuite_flags.in:  No longer need to search testsuite builddir.
2025         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
2026         * Makefile.am:  The testsuite directory never needs to be made here.
2027         * Makefile.in:  Regenerate.
2028         * include/Makefile.in:  Regenerate.
2029         * libio/Makefile.in:  Regenerate.
2030         * libmath/Makefile.in:  Regenerate.
2031         * libsupc++/Makefile.in:  Regenerate.
2032         * po/Makefile.in:  Regenerate.
2033         * src/Makefile.in:  Regenerate.
2034         * testsuite/Makefile.in:  Regenerate.
2036 2001-09-04  Scott Johnston  <scott@accom.com>
2037             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2039         * include/backward/iterator.h: Include <bits/std_iterator.h>,
2040         remove reverse_bidirectional_iterator.
2041         * testsuite/backward: New directory.
2042         * testsuite/backward/header_iterator_h.cc: New file.
2044 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
2046         * include/c_std/bits/std_c*.h: Don't use include_next.
2048 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
2050         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2051         tmp from _Unwind_Ptr to _Unwind_Word.
2053 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
2055         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2056         leb128 handling.
2058 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
2060         * include/Makefile.am: Use toplevel_srcdir to refer to src files
2061         outside this component.
2062         * include/Makefile.in: Regenerate.
2064 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
2066         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2067         * config/locale/c_locale_generic.cc: Same.
2068         * config/locale/moneypunct_members_gnu.cc: New file.
2069         * config/locale/moneypunct_members_generic.cc: New file.
2070         * config/locale/numpunct_members_gnu.cc: New file.
2071         * config/locale/numpunct_members_generic.cc: New file.
2072         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2073         options.
2074         * aclocal.m4: Regenerate.
2075         * configure: Regenerate.
2076         * src/Makefile.am (sources): And here.
2077         * src/Makefile.in: Regenerate.
2079         Rename for consistency with rest of testsuite.
2080         * testsuite/22_locale/codecvt.cc: New file.
2081         * testsuite/22_locale/money_put.cc: New file.
2082         * testsuite/22_locale/money_put_members_char.cc: New file.
2084 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
2086         PR libstdc++/4143
2087         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
2088         correctly for version-specific-runtime-libs.
2089         * aclocal.m4:  Regenerate.
2090         * configure:  Regenerate.
2092 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
2094         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2095         define if not already provided by per-OS file.
2096         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2097         Define.
2099 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
2101         * docs/html/17_intro/C++STYLE:  Fix typo.
2103 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
2105         * docs/html/23_containers/howto.html:  Describe implementation of
2106         insertion with hints.
2108 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
2110         libstdc++/3740
2111         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2113 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2114             Phil Edwards  <pme@sources.redhat.com>
2116         PR libstdc++/3349
2117         * include/bits/stl_tree.h (insert_unique):  Revert last change.
2118         Values inserted at begin() must be less, not greater, than *begin()'s.
2119         * testsuite/23_containers/map_insert.cc:  New file.
2121 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
2123         * config/locale/c_locale_gnu.cc: Minor tweaks.
2124         (moneypunct<wchar_t>): Implement.
2125         * include/bits/locale_facets.h: Same.
2126         * testsuite/22_locale/moneypunct.cc: New file.
2127         * testsuite/22_locale/moneypunct_byname.cc: New file.
2128         * testsuite/22_locale/moneypunct_char_members.cc: New file.
2130 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
2132         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2133         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2135 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
2137         * testsuite_flags.in (build-includes): Re-add backward.
2139 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
2141         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2142         with _GLIBCPP_USE_WCHAR_T.
2144 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
2146         * testsuite/22_locale/collate_byname.cc (test01): Fix.
2148 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
2150         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2152 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
2154         * testsuite/22_locale/operators.cc: Add test.
2156 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
2158         Implement std::collate.
2159         * config/locale/collate_specializations_gnu.cc: Add here, implement in
2160         MT-safe way.
2161         * config/locale/collate_specializations_generic.cc: Add here, but
2162         in a less sophisticated manner.
2163         * include/bits/locale_facets.tcc (collate): Add generic definition.
2164         * include/bits/locale_facets.h (~collate): Mark virtual.
2165         (collate::_M_compare_helper): New.
2166         (collate::_M_transform_helper): New.
2167         * src/locale.cc: Remove unnecessary specializations.
2168         * src/string-inst.cc: Tweak instantiation of ctors.
2170         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2171         * aclocal.m4: Regenerate.
2172         * configure: Regenerate.
2173         * src/Makefile.am (sources): Add collate.cc.
2174         * src/Makefile.in: Regenerate.
2176         * testsuite/22_locale/collate_byname.cc: New.
2177         * testsuite/22_locale/collate.cc: New file.
2178         * testsuite/22_locale/collate_char_members.cc: New file.
2179         * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2181 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2183         * configure.target: Set LIMITSH for powerpc-*-*.
2184         * config/cpu/powerpc/bits/limits.h: New file.
2186 2001-08-16  Marc Espie <espie@openbsd.org>
2188         * configure.in:  Check for <sys/types.h>.
2189         * configure:  Rebuild.
2190         * config.h.in:  Rebuild.
2191         * libmath/mathconf.h:  Include <sys/types.h> prior to
2192         <machine/endian.h> if available.
2194 2001-08-15  Andreas Schwab  <schwab@suse.de>
2196         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2197         m68k and m680[246]0.
2198         * config/cpu/m68k/bits/atomicity.h: New file.
2200         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2201         Define appropriate long double limits for m68k extended floating
2202         point.
2203         (__glibcpp_f32_digits10): Corrected, off by one.
2204         (__glibcpp_f80_digits10): Likewise.
2205         (__glibcpp_f128_digits10): Likewise.
2206         * config/os/gnu-linux/bits/os_defines.h
2207         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2209 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2211         * testsuite/18_support/numeric_limits.cc: Add more tests.
2212         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2213         typo.
2215 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
2217         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2218         for s390 and s390x.
2220         * config/cpu/s390/bits/atomicity.h: New.
2222 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
2224         * include/bits/std_limits.h: Fix thinko.
2226 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
2228         * include/Makefile.am: Consolidate target rules. Don't clean stamp
2229         files. Tweak target build directory stamp.
2230         * include/Makefile.in: Regenerate.
2232 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2234         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2235         _GBLICPP_HAVE_LOGL with HAVE_LOGL
2237 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
2239         * configure.in (libtool_VERSION): Add.
2240         (VERSION): Change to
2241         (release_VERSION): This.
2242         * configure: Regenerate.
2243         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2244         libtool_VERSION.
2245         * src/Makefile.in: Regenerate.
2247         * intl/Makefile.am: Remove.
2248         * intl/Makefile.in: Remove.
2249         * intl: Remove.
2250         * Makefile.am (SUBDIRS): Remove intl.
2251         * po/Makefile.am (DISTFILES): Add string_literals.cc
2252         (MSGFMT): Add.
2253         * po/string_literals.cc: Add.
2254         * po/POTFILES.in: Fix path.
2255         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2256         * aclocal.m4: Regenerate.
2257         * configure.in: Remove AC_OUTPUT of intl/Makefile.
2259         * include/backward/backward_warning.h: Clarify message.
2261         * testsuite_flags.in (--cxxflags): Use same debug flags for
2262         library and testsuite.
2264         * include/Makefile.am (c_compatibility): Remove.
2265         * include/Makefile.in: Regenerate.
2267 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
2269         * configure.in (LIMITS_INC_SRCDIR): New variable.
2270         * configure.target (LIMITSH): New variable.
2271         * porting.texi: Discuss numeric limits.
2272         * config/cpu/generic/bits/limits.h: New file.
2273         * config/cpu/i386/bits/limits.h: New file.
2274         * include/Makefile.am: Install bits/limits.h.
2275         * include/bits/c++config: Include bits/limits.h.
2277 2001-08-13  H.J. Lu  (hjl@gnu.org)
2279         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2280         New. Copy files.
2281         (libstdc++-v3-init ): Use it.
2283 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2285         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2286         to '__adjust' to avoid shadowing in nested scope.
2288 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2290         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2291         __CHAR_UNSIGNED__.
2293         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2294         Likewise.
2295         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2296         Remove.
2298 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
2300         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2301         dummy default argument to the non-limit implementation.
2303         bootstrap/3963
2304         * include/Makefile.am: Use relative file path in rule to allow
2305         colon in $(objdir).
2306         * include/Makefile.in: Rebuilt.
2308 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
2310         * include/bits/std_complex.h (complex<long double>::operator*=,
2311         complex<long double>::operator/=): Fix thinko.
2313 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2315         * include/bits/std_limits.h: New file.
2316         * include/Makefile.am (bits_headers): Add std_limits.h
2317         (all-local): std_limits.h is no longer built.
2318         (${target_builddir}/std_limits.h): Remove.
2319         * include/Makefile.in: Regenerate.
2320         * src/limits.cc: New file.
2321         * src/Makefile.am (sources): Add limits.cc in replacement of
2322         limitsMEMBERS.cc.
2323         * src/Makefile.in: Regenerate.
2325 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2327         * src/gen-num-limits.cc (digits10): Fix thinko.
2329 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2331         * po/Makefile.am (check-no): Add.
2332         (check-yes): Same.
2333         * po/Makefile.in: Regenerate.
2335 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2337         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2338         * config.h.in: Regenerate.
2339         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2340         function.
2341         * aclocal.m4: Regenerate.
2342         * configure.in: Remove duplicate AM_CONFIG_HEADER.
2343         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2344         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2345         * configure: Regenerate.
2346         * testsuite_hooks.h.in: Move to...
2347         * testsuite_hooks.h: Here, include c++config.h. Use it.
2349         * Makefile.am (SUBDIRS): Move testsuite to last directory.
2350         * Makefile.in: Regenerate.
2351         * po/Makefile.am (stamp-po): Add.
2353 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
2355         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2356         * config/os/generic/bits/os_defines.h: Likewise.
2357         * config/os/gnu-linux/bits/os_defines.h: Likewise.
2358         * config/os/hpux/bits/os_defines.h: Likewise.
2359         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2360         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2362 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
2364         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2365         -version-info, use substituted VERSION info.
2366         * src/Makefile.in: Regenerate.
2368 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
2370         Implement std::messages.
2371         Make config a fully-nested directory.
2372         * config/locale: New directory.
2373         * config/c_locale_generic.cc: Move into locale subdirectory.
2374         * config/c_locale_generic.h: Same.
2375         * config/c_locale_gnu.cc: Same.
2376         * config/c_locale_gnu.h: Same.
2377         * config/c_locale_ieee_1003.1-200x.cc: Same.
2378         * config/c_locale_ieee_1003.1-200x_.h: Same.
2379         * config/codecvt_specializations_generic.h: Same.
2380         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2381         * config/messages_members_gnu.h: Same.
2382         * config/messaages_members_gnu.cc: Same.
2383         * config/messages_members_generic.h: Same.
2384         * config/messaages_members_generic.cc: Same.
2385         * config/messages_members_ieee_1003.1-200x.h: Same.
2386         * config/messaages_members_ieee_1003.1-200x.cc: Same.
2387         * config/io: New directory.
2388         * config/basic_file_libio.h: Move into io subdirectory.
2389         * config/basic_file_libio.cc: Same.
2390         * config/c_io_libio.h: Same.
2391         * config/c_io_libio_codecvt.c: Same.
2392         * config/basic_file_stdio.h: Same.
2393         * config/basic_file_stdio.cc: Same.
2394         * config/c_io_stdio.h: Same.
2396         * po: New directory.
2397         * po/POTFILES.in: New file.
2398         * po/Makefile.am: New file.
2399         * po/Makefile.in: New file.
2400         * po/libstdc++.pot: Generic translation file.
2401         * po/fr.po: Preliminary French translation.
2402         * po/de.po: Preliminary German translation.
2403         * intl: New directory.
2404         * intl/Makefile.am: New file.
2405         * intl/Makefile.in: New file.
2406         * intl/string_literals.cc: New file.
2407         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2408         requisite setup for gettext. Re-arrange.
2409         * aclocal.m4: Regenerate.
2410         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2411         Output Makefile bits for po and intl.
2412         * configure: Regenerate.
2413         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2414         * Makefile.in: Regenerate.
2415         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2416         * config.h.in: Regenerate.
2418         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2420         * include/Makefile.am (install-data-local): Don't install Makefile.
2421         * include/Makefile.in: Regenerate.
2423         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2424         Add member.
2425         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2426         * config/locale/c_locale_generic.cc: Same.
2427         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2429         * include/bits/codecvt.h: Excise non-standard, non-required
2430         bits. This includes __enc_traits, and partial specializations of
2431         codecvt for __enc_traits.
2432         * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2433         * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2434         * config/codecvt_partials_generic.h: New file.
2435         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2436         (stamp-codecvt_model): Add.
2437         * include/Makefile.in: Regenerate.
2438         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2439         * aclocal.m4: Regenerate.
2440         * configure: Regenerate.
2441         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2442         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2443         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2445         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2446         as a friend for _S_*_c_locale functions.
2447         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2448         argument to default constructor so that CODESET information can be
2449         deduced.
2450         * include/bits/locale_facets.h (messages_byname):
2451         Re-implement. Remove specializations.
2452         * src/locale.cc (messages_byname<char>): Remove specialization.
2453         (messages_byname<wchar_t>): Same.
2454         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2455         * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2456         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2457         * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2458         * config/locale/messages_members_gnu.cc: New file.
2459         * config/locale/messages_members_gnu.h: New file.
2460         * config/locale/messages_members_generic.cc: New file.
2461         * config/locale/messages_members_generic.h: New file.
2463         * docs/html/configopts.html: Add documentation for new locale
2464         model, ieee_1003.1. Adjust other flags for current defaults.
2465         * docs/html/22_locale/locale.html: Update.
2466         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2467         * docs/html/22_locale/messages.html: New.
2469         * src/Makefile.am (sources): Add messages_virtuals.cc.
2470         * src/Makefile.in: Regenerate.
2471         * include/Makefile.am (allstamps): Add stamp-messages_model.
2472         (stamp-messages_model): Add.
2473         * include/Makefile.in: Regenerate.
2474         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2475         * aclocal.m4: Regenerate.
2476         * configure: Regenerate.
2478         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2479         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2480         bits for Irix.
2481         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2482         build directories message catalog base directory, and export.
2483         Eventually this should probably be made to deal with build and
2484         install directories. For now, punt on this as the library itself
2485         doesn't use message catalogs (yet).
2486         * testsuite/22_locale/messages.cc: New file.
2487         * testsuite/22_locale/messages_char_members.cc: New file.
2488         * testsuite/22_locale/messages_byname.cc: New file.
2490 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
2492         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
2493         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
2494         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
2495         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
2496         Call GLIBCPP_CONFIGURE_TESTSUITE.
2497         * aclocal.m4:  Regenerate.
2498         * config.h.in:  Regenerate.
2499         * configure:  Regenerate.
2501         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
2502         of old header.
2504         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
2505         * testsuite/debug_assert.h:  Removed; contents merged into...
2506         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
2507         * testsuite/17_intro/header_ciso646.cc:  No longer include
2508         debug_assert.h, include testsuite_hooks.h instead.
2509         * testsuite/17_intro/header_fstream.cc:  Likewise.
2510         * testsuite/17_intro/header_iomanip.cc:  Likewise.
2511         * testsuite/17_intro/header_ios.cc:  Likewise.
2512         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
2513         * testsuite/17_intro/header_iostream.cc:  Likewise.
2514         * testsuite/17_intro/header_istream.cc:  Likewise.
2515         * testsuite/17_intro/header_ostream.cc:  Likewise.
2516         * testsuite/17_intro/header_sstream.cc:  Likewise.
2517         * testsuite/17_intro/header_streambuf.cc:  Likewise.
2518         * testsuite/18_support/numeric_limits.cc:  Likewise.
2519         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
2520         * testsuite/20_util/allocator_members.cc:  Likewise.
2521         * testsuite/20_util/auto_ptr.cc:  Likewise.
2522         * testsuite/20_util/pairs.cc:  Likewise.
2523         * testsuite/21_strings/append.cc:  Likewise.
2524         * testsuite/21_strings/capacity.cc:  Likewise.
2525         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
2526         * testsuite/21_strings/compare.cc:  Likewise.
2527         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
2528         call to (disabled) __set_testsuite_memlimit() wrapper.
2529         * testsuite/21_strings/element_access.cc:  Likewise.
2530         * testsuite/21_strings/find.cc:  Likewise.
2531         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
2532         (disabled) __set_testsuite_memlimit() wrapper.
2533         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
2534         * testsuite/21_strings/invariants.cc:  Likewise.
2535         * testsuite/21_strings/nonmember.cc:  Likewise.
2536         * testsuite/21_strings/operations.cc:  Likewise.
2537         * testsuite/21_strings/replace.cc:  Likewise.
2538         * testsuite/21_strings/rfind.cc:  Likewise.
2539         * testsuite/21_strings/substr.cc:  Likewise.
2540         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
2541         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
2542         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
2543         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
2544         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
2545         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
2546         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
2547         * testsuite/22_locale/facet.cc:  Likewise.
2548         * testsuite/22_locale/global_templates.cc:  Likewise.
2549         * testsuite/22_locale/members.cc:  Likewise.
2550         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
2551         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
2552         * testsuite/22_locale/operators.cc:  Likewise.
2553         * testsuite/22_locale/static_members.cc:  Likewise.
2554         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
2555         * testsuite/23_containers/bitset_members.cc:  Likewise.
2556         * testsuite/23_containers/bitset_shift.cc:  Likewise.
2557         * testsuite/23_containers/vector_capacity.cc:  Likewise.
2558         * testsuite/23_containers/vector_ctor.cc:  Likewise.
2559         * testsuite/23_containers/vector_element_access.cc:  Likewise.
2560         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
2561         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
2562         * testsuite/24_iterators/iterator.cc:  Likewise.
2563         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
2564         * testsuite/25_algorithms/binary_search.cc:  Likewise.
2565         * testsuite/25_algorithms/copy.cc:  Likewise.
2566         * testsuite/25_algorithms/heap.cc:  Likewise.
2567         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
2568         * testsuite/25_algorithms/min_max.cc:  Likewise.
2569         * testsuite/25_algorithms/partition.cc:  Likewise.
2570         * testsuite/25_algorithms/rotate.cc:  Likewise.
2571         * testsuite/25_algorithms/sort.cc:  Likewise.
2572         * testsuite/26_numerics/c_math.cc:  Likewise.
2573         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
2574         * testsuite/26_numerics/complex_value.cc:  Likewise.
2575         * testsuite/27_io/filebuf.cc:  Likewise.
2576         * testsuite/27_io/filebuf_members.cc:  Likewise.
2577         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
2578         * testsuite/27_io/fpos.cc:  Likewise.
2579         * testsuite/27_io/fstream_members.cc:  Likewise.
2580         * testsuite/27_io/ifstream_members.cc:  Likewise.
2581         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
2582         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
2583         * testsuite/27_io/ios_base_storage.cc:  Likewise.
2584         * testsuite/27_io/ios_ctor.cc:  Likewise.
2585         * testsuite/27_io/ios_init.cc:  Likewise.
2586         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
2587         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
2588         * testsuite/27_io/ios_members.cc:  Likewise.
2589         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
2590         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
2591         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
2592         * testsuite/27_io/istream_manip.cc:  Likewise.
2593         * testsuite/27_io/istream_seeks.cc:  Likewise.
2594         * testsuite/27_io/istream_sentry.cc:  Likewise.
2595         * testsuite/27_io/istream_unformatted.cc:  Likewise.
2596         * testsuite/27_io/istringstream_members.cc:  Likewise.
2597         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
2598         * testsuite/27_io/ofstream_members.cc:  Likewise.
2599         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
2600         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
2601         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
2602         * testsuite/27_io/ostream_manip.cc:  Likewise.
2603         * testsuite/27_io/ostream_seeks.cc:  Likewise.
2604         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
2605         * testsuite/27_io/ostringstream_members.cc:  Likewise.
2606         * testsuite/27_io/streambuf.cc:  Likewise.
2607         * testsuite/27_io/stringbuf.cc:  Likewise.
2608         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
2609         * testsuite/27_io/stringstream.cc:  Likewise.
2610         * testsuite/27_io/stringstream_members.cc:  Likewise.
2611         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
2613 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
2615         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
2617 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
2619         * configure.target: Remove mips from cpu table.
2620         * config/cpu/mips/bits/atomicity.h: Remove generic
2621         versions. Comment sgidefs include.
2623 2001-07-25  H.J. Lu <hjl@gnu.org>
2625         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2626         for mips.
2628         * config/cpu/mips/bits/atomicity.h: New.
2630 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2632         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2633         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
2634         * aclocal.m4: Regenerate.
2635         * config.h.in: Likewise.
2636         * configure: Likewise.
2637         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2638         (EXTRA_DIST): Remove hypot.c hypotf.c.
2639         * libmath/Makefile.am: Regenerate.
2640         * libmath/hypotf.c: Remove.
2641         * libmath/hypot.c: Likewise.
2642         * libmath/hypotl.c: Likewise.
2643         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2644         _GLIBCPP_HAVE_xxx.  Add long double versions.
2646 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
2648         * include/bits/limits_generic.h (int): Set digits and digits10
2649         appropriately for word size.
2650         (unsigned int,long,unsigned long): Likewise.
2652 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2654         * include/bits/stl_algo.h : Fix typos.
2655         * testsuite/25_algorithms/unique.cc: New file.
2657 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
2658             Mark Mitchell <mark@codesourcery.com>
2660         Merge from cp-parser-branch.
2661         * include/bits/basic_string.h:  Qualify symbols with 'template'.
2662         * include/bits/basic_string.tcc:  Likewise.
2663         * include/bits/fstream.tcc:  Likewise.
2664         * include/bits/istream.tcc:  Likewise.
2665         * include/bits/sstream.tcc:  Likewise.
2666         * include/bits/std_istream.h:  Likewise.
2667         * include/bits/stl_iterator.h:  Likewise.
2668         * include/bits/streambuf.tcc:  Likewise.
2669         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
2670         * src/locale.cc:  Likewise.
2672 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2673             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2675         * src/gen-num-limits.cc (set_signals_handler): New function.
2676         Factor out signals setting.  Set signal handler for SIGILL.
2678 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
2680         * docs/html/27_io/howto.html:  Fix typo.
2681         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
2682         * docs/html/faq/index.txt:  Regenerated.
2684 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
2685             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
2687         libstdc++/3599
2688         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2689         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2691 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
2693         All occurrences of the __value_type() and __distance_type()
2694         functions, which were required to support the HP STL, have been
2695         removed along with all the auxiliary forwarding functions that
2696         were required to support their use.
2698         The __iterator_category() function was pretty much left alone
2699         because there was no benefit to removing it and its use made code
2700         just a little more readable.
2702         Incidences of distance() with nonstandard argument list were
2703         replaced by calls to the standard function (only in the files
2704         affected by the removal of the other HP functions).
2706         The signature of the rotate() algorithm was changed to match the
2707         standard.
2709         Headers were reformatted under C++STYLE guidelines (indentation,
2710         linebreaks, typename keyword).
2712         * include/bits/stl_algo.h: replaced __value_type() and
2713         __distance_type() with iterator_traits, eliminated auxiliary
2714         support functions required to support said function usage.
2715         Changed nonstandard distance() call to standard call.
2717         * include/bits/stl_algobase.h: Same.
2718         * include/bits/stl_heap.h: Same.
2719         * include/bits/stl_numeric.h: Same.
2720         * include/bits/stl_uninitialized.h: Same.
2721         * include/bits/stl_iterator_base_types.h (__value_type()):
2722         Removed.
2723         (__distance_type()): Removed.
2724         (value_type()): Gone.
2725         (distance_type()): Done in.
2726         (iterator_category()): Hasta la vista, baby.
2728         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2729         Replaced with __iterator_category().
2730         * include/backward/iterator.h: moved definition of value_type(),
2731         distance_type(), and iterator_category() out of std:: and into
2732         here.
2733         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2734         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2735         * testsuite/25_algorithms/rotate.cc: New testcase.
2736         * testsuite/25_algorithms/copy.cc: New testcase.
2737         * testsuite/25_algorithms/sort.cc: Same.
2738         * testsuite/25_algorithms/heap.cc: Same.
2739         * testsuite/25_algorithms/partition.cc: Same.
2740         * testsuite/25_algorithms/binary_search.cc: Same.
2741         * testsuite/26_numerics/sum_diff.cc: Ditto.
2743 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
2745         * testsuite/README: Add notes on naming test cases.
2746         * testsuite/22_locale/members.cc: Mark as xfail.
2747         * testsuite/22_locale/numpunct_char_members.cc: Same.
2749 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
2751         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
2752         setting C_INCLUDE_DIR.
2753         * configure.in:  Revert yesterday's LN_S change.
2754         * aclocal.m4:  Regenerate.
2755         * configure:  Regenerate.
2757 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
2759         * configure.in:  Temporarily force LN_S to copy instead of symlink.
2760         * configure:  Regenerate.
2762 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
2764         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2765         Initialize _M_string with pointer-and-size constructor, not just
2766         pointer.  Fix some comments.
2767         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
2768         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
2769         (test03):  Add embedded-NUL tests.
2771         * mkcheck.in:  When printing totals, match the order of the tests.
2772         * include/bits/stringfwd.h:  Use same declaration keywords.
2773         * include/bits/std_iosfwd.h:  Cosmetic spacing.
2775 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
2776             Loren J. Rittle  <ljrittle@acm.org>
2777             Phil Edwards  <pme@sources.redhat.com>
2779         * include/Makefile.am:  New file encapsulating header generation rules.
2780         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
2781         * acinclude.m4:  Moved/removed rules for building various headers.
2782         * configure.in (AC_OUTPUT):  Add include/Makefile.
2783         * mkc++config:  Removed.
2785         * testsuite_flags.in:  Changed build-includes to match new scheme.
2786         * mknumeric_limits:  Likewise.
2787         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
2788         * libmath/Makefile.am:  Likewise.
2789         * libsupc++/Makefile.am:  Likewise.
2790         * src/Makefile.am:  Likewise; removed rules to build headers.
2791         * libmath/mathconf.h:  Changed #include'd header names to match.
2792         * libmath/stubs.c:  Likewise.
2793         * src/gen-num-limits.cc:  Likewise.
2795         * configure:  Regenerated.
2796         * config.h.in:  Regenerated.
2797         * aclocal.m4:  Regenerated.
2798         * Makefile.in:  Regenerated.
2799         * include/Makefile.in:  Regenerated.
2800         * libio/Makefile.in:  Regenerated.
2801         * libmath/Makefile.in:  Regenerated.
2802         * libsupc++/Makefile.in:  Regenerated.
2803         * src/Makefile.in:  Regenerated.
2804         * testsuite/Makefile.in:  Regenerated.
2806 2001-07-11   Felix Natter  <fnatter@gmx.net>
2808         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
2809         master copy.
2810         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
2812 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
2814         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
2815         * docs/doxygen/user.cfg.in:  Tweaks.
2816         * include/bits/c++config:  Documentation comments for Doxygen.
2817         * include/bits/char_traits.h:  Likewise.
2818         * include/bits/limits_generic.h:  Likewise.
2819         * include/bits/std_stdexcept.h:  Likewise.
2820         * include/bits/stl_pair.h:  Likewise.
2821         * libsupc++/exception:  Likewise.
2822         * libsupc++/new:  Likewise.
2823         * libsupc++/typeinfo:  Likewise.
2824         * libmath/Makefile.am:  Update and correct copyright.
2826 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2828         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2829         * aclocal.m4: Regenerate.
2830         * configure: Same.
2832 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
2834         * docs/html/configopts.html:  Fix thinko.
2835         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
2836         * include/bits/stl_iterator.h:  Fix typo.
2838 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
2840         * docs/html/explanations.html:  New file.
2841         * docs/html/configopts.html:  Link to it to provide more notes
2842         on cstdio.  Minor markup and spacing fixes.
2843         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
2845 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
2847         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2848         for _Expr template template argument.
2849         (_Expr::operator-): Likewise.
2850         (_Expr::operator~): Likewise.
2851         (_Expr::operator!): Likewise.
2852         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2854 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2856         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2857         * libmath/Makefile.in: Regenerate.
2858         * libmath/expf.c: Remove.
2859         * libmath/atan2f.c: Likewise.
2861 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
2863         * configure.in: Remove NATIVE, NULL_TARGET.
2864         Set CANADIAN only for Canadian crosses.  Set xcompiling
2865         for both Canadian crosses and host-x-host crosses.
2866         * configure: Regenerated.
2868 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2870         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2872 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
2874         * testsuite_flags.in (--build-includes): backward, not backwards.
2876 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
2878         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2879         Replace destroy by _Destroy.
2880         (_Rope_RopeRep::_S_free_string): Likewise.
2881         (rope::c_str()): Likewise.
2882         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2883         (_Slist_base::_M_erase_after): Likewise.
2884         (slist::_M_create_node): Replace construct by _Construct.
2885         (slist::pop_front): Replace destroy by _Destroy.
2886         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2887         construct by _Construct.
2888         (hashtable::_M_delete_node): Replace destroy by _Destroy.
2889         * include/ext/stl_rope.h (rope::rope): Replace construct by
2890         _Construct.
2891         (rope::copy): Replace destroy by _Destroy.
2893 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
2895         * include/bits/localefwd.h: Format.
2896         * include/bits/locale_facts.tcc (locale::combine): Adjust.
2897         * src/locale.cc (locale::locale::(_Impl)): Don't call
2898         _M_add_reference.
2899         (locale::facet::_M_remove_reference): Simplify.
2900         * src/globals.cc (locale_impl_c): New. Format.
2901         (locale_c): New.
2902         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2904 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2906         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2907         expansion (thanks to Alexandre Oliva).
2908         * aclocal.m4: Regenerate.
2909         * configure: Regenerate.
2911 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
2913         * src/locale.cc (locale::locale(const char*)): Make sure global
2914         locales are initialized.
2915         * include/bits/locale_facets.tcc (locale::combine): Refcout should
2916         be zero, not one as it's return-by-value.
2917         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2918         named locales here.
2919         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2920         for it here.
2921         (test02): Add test.
2922         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2924 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2926         libstdc++/3284
2927         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2928         * aclocal.m4: Regenerate.
2929         * configure: Regenerate.
2931 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2933         libstdc++/3243
2934         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2935         staged/installed area to support -I-.  Document.
2936         * aclocal.m4: Regenerate.
2937         * configure: Regenerate.
2939 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2941         libstdc++/2211
2942         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2943         __out_bufsize.  Add __in_bufsize, document it and use it.
2945 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
2947         * include/bits/stl_construct.h (construct): Remove.
2948         (destroy): Remove.
2949         (__destroy): Replaced by use of iterator_traits.
2950         * include/bits/stl_deque.h: replaced HP iterator functions with
2951         iterator_traits.
2952         (construct): changed to _Construct.
2953         (destroy): changed to _Destroy.
2954         * include/bits/stl_tempbuf.h: Same.
2955         * include/bits/stl_tree.h: Same.
2956         * include/bits/stl_vector.h: Same.
2957         * include/backward/iterator.h (construct): moved definition to here.
2958         (destroy): Same.
2960 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
2962         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2963         before replacing facet.
2964         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2965         Correct decrement.
2966         * src/localename.cc (locale::_Impl): Correct ctor initialization
2967         lists. Initialize ref count with one. Simplify.
2968         * src/locale.cc: Add comment.
2969         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2970         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2971         * testsuite/22_locale/members.cc (test02): Fix.
2973 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
2975         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
2976         block, this time for real.
2977         * include/backward/algobase.h:  Likewise.
2978         * include/backward/alloc.h:  Likewise.
2979         * include/backward/bvector.h:  Likewise.
2980         * include/backward/defalloc.h:  Likewise.
2981         * include/backward/deque.h:  Likewise.
2982         * include/backward/function.h:  Likewise.
2983         * include/backward/hash_map.h:  Likewise.
2984         * include/backward/hash_set.h:  Likewise.
2985         * include/backward/hashtable.h:  Likewise.
2986         * include/backward/heap.h:  Likewise.
2987         * include/backward/iterator.h:  Likewise.
2988         * include/backward/list.h:  Likewise.
2989         * include/backward/map.h:  Likewise.
2990         * include/backward/multimap.h:  Likewise.
2991         * include/backward/multiset.h:  Likewise.
2992         * include/backward/pair.h:  Likewise.
2993         * include/backward/rope.h:  Likewise.
2994         * include/backward/set.h:  Likewise.
2995         * include/backward/slist.h:  Likewise.
2996         * include/backward/stack.h:  Likewise.
2997         * include/backward/strstream:  Likewise.
2998         * include/backward/tempbuf.h:  Likewise.
2999         * include/backward/tree.h:  Likewise.
3000         * include/backward/vector.h:  Likewise.
3001         * include/bits/pthread_allocimpl.h:  Likewise.
3002         * include/bits/std_algorithm.h:  Likewise.
3003         * include/bits/std_bitset.h:  Likewise.
3004         * include/bits/std_deque.h:  Likewise.
3005         * include/bits/std_functional.h:  Likewise.
3006         * include/bits/std_iterator.h:  Likewise.
3007         * include/bits/std_list.h:  Likewise.
3008         * include/bits/std_map.h:  Likewise.
3009         * include/bits/std_memory.h:  Likewise.
3010         * include/bits/std_numeric.h:  Likewise.
3011         * include/bits/std_queue.h:  Likewise.
3012         * include/bits/std_set.h:  Likewise.
3013         * include/bits/std_stack.h:  Likewise.
3014         * include/bits/std_utility.h:  Likewise.
3015         * include/bits/std_vector.h:  Likewise.
3016         * include/bits/stl_algo.h:  Likewise.
3017         * include/bits/stl_algobase.h:  Likewise.
3018         * include/bits/stl_alloc.h:  Likewise.
3019         * include/bits/stl_bvector.h:  Likewise.
3020         * include/bits/stl_construct.h:  Likewise.
3021         * include/bits/stl_deque.h:  Likewise.
3022         * include/bits/stl_function.h:  Likewise.
3023         * include/bits/stl_heap.h:  Likewise.
3024         * include/bits/stl_iterator.h:  Likewise.
3025         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3026         * include/bits/stl_iterator_base_types.h:  Likewise.
3027         * include/bits/stl_list.h:  Likewise.
3028         * include/bits/stl_map.h:  Likewise.
3029         * include/bits/stl_multimap.h:  Likewise.
3030         * include/bits/stl_multiset.h:  Likewise.
3031         * include/bits/stl_numeric.h:  Likewise.
3032         * include/bits/stl_pair.h:  Likewise.
3033         * include/bits/stl_pthread_alloc.h:  Likewise.
3034         * include/bits/stl_queue.h:  Likewise.
3035         * include/bits/stl_raw_storage_iter.h:  Likewise.
3036         * include/bits/stl_relops.h:  Likewise.
3037         * include/bits/stl_set.h:  Likewise.
3038         * include/bits/stl_stack.h:  Likewise.
3039         * include/bits/stl_tempbuf.h:  Likewise.
3040         * include/bits/stl_threads.h:  Likewise.
3041         * include/bits/stl_tree.h:  Likewise.
3042         * include/bits/stl_uninitialized.h:  Likewise.
3043         * include/bits/stl_vector.h:  Likewise.
3044         * include/bits/type_traits.h:  Likewise.
3045         * include/ext/hash_map:  Likewise.
3046         * include/ext/hash_set:  Likewise.
3047         * include/ext/rope:  Likewise.
3048         * include/ext/ropeimpl.h:  Likewise.
3049         * include/ext/slist:  Likewise.
3050         * include/ext/stl_hash_fun.h:  Likewise.
3051         * include/ext/stl_hashtable.h:  Likewise.
3052         * include/ext/stl_rope.h:  Likewise.
3053         * src/bitset.cc:  Likewise.
3054         * src/strstream.cc:  Likewise.
3056 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3057                              <vakatov@ncbi.nlm.nih.gov>
3059         libstdc++/3272
3060         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3061         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3062         * testsuite/27_io/istream_extractor_other.cc: Fix.
3064 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
3066         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3067         * aclocal.m4: Regenerate.
3068         * configure: Regenerate.
3070 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3072         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3073         (ostream_iterator): Same.
3074         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3075         Change argument to const_reference.
3076         (back_insert_iterator): Same.
3078 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3080         * include/bits/sbuf_iter.h: Change to..
3081         * include/bits/streambuf_iterator.h: This.
3082         * include/bits/stl_iterator.h: Take out of here...
3083         * include/bits/stream_iterator.h: Add.
3084         * src/Makefile.am (base_headers): Add streambuf_iterator,
3085         stream_iterator.h
3086         * src/Makefile.in: Regenerate.
3087         * include/bits/std_string.h: Adjust includes.
3088         * include/bits/basic_ios.h: Same.
3089         * include/bits/locale_facets.tcc: Same.
3090         * include/bits/std_iosfwd.h: Same.
3092         * include/bits/std_iterator.h: Add istream, ostream includes.
3093         * include/bits/stl_iterator.h: Tweak.
3094         * testsuite/24_iterators/ostream_iterator.cc: Add test.
3095         * testsuite/24_iterators/istream_iterator.cc: Same.
3096         * testsuite/23_containers/multiset.cc: Add iterator include.
3098 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
3100         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
3101         * aclocal.m4:  Regenerate.
3102         * configure:  Regenerate.
3104 2001-06-26  Felix Natter  <f.natter@ndh.net>
3106         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
3108 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3110         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3111         return values.
3112         (istream_iterator::operator*): Same.
3114 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3115             Alexandre Petit-Bianco  <apbianco@redhat.com>
3117         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3118         is on 41st, not 14th.
3120 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3122         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3124         * include/bits/stl_iterator.h (istream_iterator): Inherit from
3125         iterator.
3126         (ostream_iterator): Same.
3127         * testsuite/24_iterators/istream_iterator.cc: New file.
3128         * testsuite/24_iterators/ostream_iterator.cc: New file.
3130         * include/bits/sbuf_iter.h: Remove self typedef.
3131         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3132         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3134         * include/bits/stl_iterator.h (reverse_iterator): Remove
3135         extraneous typedefs. Add typename.
3136         (__normal_iterator): Remove typedefs referring to self. Add typename.
3137         (reverse_bidiretional_iterator): Remove, not longer required.
3139 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3141         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3142         dependent names with `typename'.  Bring in various required
3143         iterator_traits members.  Can't imagine why that used to work.
3145 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
3146             Kurt Garloff <garloff@suse.de>
3148         PR libstdc++/3377
3149         * src/cmath.cc:  New [version of an old] file; instantiate
3150         __cmath_power to start with.
3151         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
3152         * Makefile.in:  Regenerate.
3153         * libio/Makefile.in:  Regenerate.
3154         * libmath/Makefile.in:  Regenerate.
3155         * libsupc++/Makefile.in:  Regenerate.
3156         * src/Makefile.in:  Regenerate.
3157         * testsuite/Makefile.in:  Regenerate.
3159 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3161         * libmath/stubs.c: Fix thinko.
3163 2001-06-24  David Edelsohn <dje@watson.ibm.com>
3165         * libmath/stubs.c (sqrtf): Define.
3166         (tanf): Correct typo.
3168 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
3170         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3171         iterator.
3172         (back_insert_iterator): Same.
3173         (front_insert_iterator): Same.
3174         (insert_iterator): Same.
3176         * testsuite/20_util/raw_storage_iterator.cc: Modify.
3177         * testsuite/24_iterators/reverse_iterator.cc: New file.
3178         * testsuite/24_iterators/back_insert_iterator.cc: New file.
3179         * testsuite/24_iterators/front_insert_iterator.cc: New file.
3180         * testsuite/24_iterators/insert_iterator.cc: New file.
3182 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
3184         * include/*:  Revert comment/license change from yesterday for all
3185         except libsupc++/unwind-cxx.h.
3186         * src/bitset.cc:  Likewise.
3187         * src/strstream.cc:  Likewise.
3189 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3191         * libmath/stubs.c: New file.
3192         (tanhf): Fix typo.
3193         (powf): Likewise.
3195         * libmath/Makefile.am (libmath_la_SOURCES): Add.
3196         * libmath/Makefile.in.  Regenerate.
3198 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
3200         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
3201         * include/backward/algobase.h:  Likewise.
3202         * include/backward/alloc.h:  Likewise.
3203         * include/backward/bvector.h:  Likewise.
3204         * include/backward/defalloc.h:  Likewise.
3205         * include/backward/deque.h:  Likewise.
3206         * include/backward/function.h:  Likewise.
3207         * include/backward/hash_map.h:  Likewise.
3208         * include/backward/hash_set.h:  Likewise.
3209         * include/backward/hashtable.h:  Likewise.
3210         * include/backward/heap.h:  Likewise.
3211         * include/backward/iterator.h:  Likewise.
3212         * include/backward/list.h:  Likewise.
3213         * include/backward/map.h:  Likewise.
3214         * include/backward/multimap.h:  Likewise.
3215         * include/backward/multiset.h:  Likewise.
3216         * include/backward/pair.h:  Likewise.
3217         * include/backward/rope.h:  Likewise.
3218         * include/backward/set.h:  Likewise.
3219         * include/backward/slist.h:  Likewise.
3220         * include/backward/stack.h:  Likewise.
3221         * include/backward/strstream:  Likewise.
3222         * include/backward/tempbuf.h:  Likewise.
3223         * include/backward/tree.h:  Likewise.
3224         * include/backward/vector.h:  Likewise.
3225         * include/bits/pthread_allocimpl.h:  Likewise.
3226         * include/bits/std_algorithm.h:  Likewise.
3227         * include/bits/std_bitset.h:  Likewise.
3228         * include/bits/std_deque.h:  Likewise.
3229         * include/bits/std_functional.h:  Likewise.
3230         * include/bits/std_iterator.h:  Likewise.
3231         * include/bits/std_list.h:  Likewise.
3232         * include/bits/std_map.h:  Likewise.
3233         * include/bits/std_memory.h:  Likewise.
3234         * include/bits/std_numeric.h:  Likewise.
3235         * include/bits/std_queue.h:  Likewise.
3236         * include/bits/std_set.h:  Likewise.
3237         * include/bits/std_stack.h:  Likewise.
3238         * include/bits/std_utility.h:  Likewise.
3239         * include/bits/std_vector.h:  Likewise.
3240         * include/bits/stl_algo.h:  Likewise.
3241         * include/bits/stl_algobase.h:  Likewise.
3242         * include/bits/stl_alloc.h:  Likewise.
3243         * include/bits/stl_bvector.h:  Likewise.
3244         * include/bits/stl_construct.h:  Likewise.
3245         * include/bits/stl_deque.h:  Likewise.
3246         * include/bits/stl_function.h:  Likewise.
3247         * include/bits/stl_heap.h:  Likewise.
3248         * include/bits/stl_iterator.h:  Likewise.
3249         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3250         * include/bits/stl_iterator_base_types.h:  Likewise.
3251         * include/bits/stl_list.h:  Likewise.
3252         * include/bits/stl_map.h:  Likewise.
3253         * include/bits/stl_multimap.h:  Likewise.
3254         * include/bits/stl_multiset.h:  Likewise.
3255         * include/bits/stl_numeric.h:  Likewise.
3256         * include/bits/stl_pair.h:  Likewise.
3257         * include/bits/stl_pthread_alloc.h:  Likewise.
3258         * include/bits/stl_queue.h:  Likewise.
3259         * include/bits/stl_raw_storage_iter.h:  Likewise.
3260         * include/bits/stl_relops.h:  Likewise.
3261         * include/bits/stl_set.h:  Likewise.
3262         * include/bits/stl_stack.h:  Likewise.
3263         * include/bits/stl_tempbuf.h:  Likewise.
3264         * include/bits/stl_threads.h:  Likewise.
3265         * include/bits/stl_tree.h:  Likewise.
3266         * include/bits/stl_uninitialized.h:  Likewise.
3267         * include/bits/stl_vector.h:  Likewise.
3268         * include/bits/type_traits.h:  Likewise.
3269         * include/ext/hash_map:  Likewise.
3270         * include/ext/hash_set:  Likewise.
3271         * include/ext/rope:  Likewise.
3272         * include/ext/ropeimpl.h:  Likewise.
3273         * include/ext/slist:  Likewise.
3274         * include/ext/stl_hash_fun.h:  Likewise.
3275         * include/ext/stl_hashtable.h:  Likewise.
3276         * include/ext/stl_rope.h:  Likewise.
3277         * libsupc++/unwind-cxx.h:  Likewise.
3278         * src/bitset.cc:  Likewise.
3279         * src/strstream.cc:  Likewise.
3281 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3283         * include/bits/indirect_array.h (indirect_array<>::operator=):
3284         Make copy and assignment operator public.  Implement.  Format.
3286         * include/bits/valarray_array.h (__valarray_copy): Add overloads
3287         for copy between index arrays.  Format.
3289 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
3291         * mknumeric_limits: Add static definitions, format.
3292         * testsuite/18_support/numeric_limits.cc (test02): Add test.
3294         * include/c_std/bits/std_cwchar.h: Include ctime.
3295         * testsuite/17_intro/header_cwchar.cc : Check.
3297         * include/c_std/bits/std_cwctype.h: Inject wctype.
3298         * testsuite/17_intro/header_cwctype.cc: Update.
3300 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
3302         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3303         * testsuite/20_util/raw_storage_iterator.cc: Same.
3305         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3306         operator new.
3307         (__mem_interface): New typedef for switching between malloc and new.
3308         * testsuite/20_util/allocator_members.cc: New file.
3310         * testsuite/20_util/comparisons.cc: New file.
3311         * testsuite/20_util/pairs.cc: New file.
3313 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
3315         * docs/html/documentation.html:  Point to new doxygen'ed collection.
3317 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
3319         * configure.in (auxdir): Replace by ...
3320         (toprel): ... new variable.
3321         (toplevel_srcdir): Construct from $toprel.
3322         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3323         rather than .. to locate gcc source directory.
3324         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3325         * aclocal.m4, configure: Rebuilt.
3327 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3329         (Approved by Mark and Benjamin.  Applied by Loren.)
3331         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3332         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3333         and _GLIBCPP_mutex_address.
3334         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3335         once-only runtime initialization of _M_lock mutex when
3336         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3337         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3338         for __GTHREAD_MUTEX_INIT_FUNCTION case.
3340 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3342         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3344         * include/bits/slice_array.h (slice_array<>::operator=): Make
3345         public and implement.
3346         (slice_array<>::slice_array): Make copy-constructor public.
3348         * include/bits/valarray_array.h (__valarray_copy): Add another
3349         overload to copy between strided arrays.
3351 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
3353         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3354         * aclocal.m4: Regenerate.
3355         * configure: Regenerate.
3356         * include/bits/c++config (__GLIBCPP__): Update date.
3358 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3360         * include/bits/fpos.h (fpos::operator-): Don't return reference,
3361         return original, non-modified version.
3362         (fpos::operator+): Same.
3363         * testsuite/27_io/fpos.cc: Add test.
3365 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
3367         libstdc++/2071
3368         * porting.texi: Add documentation about libstdc++-v3-specific
3369         macros that are currently included in os_defines.h files.
3371         * config/basic_file_stdio.h (sys_getc): New method.
3372         (sys_ungetc): New method.
3373         * include/bits/basic_file.h: (sys_getc): New method signature.
3374         (sys_ungetc): New method signature.
3376         * include/bits/fstream.tcc (underflow): Add conditional code
3377         paths which avoid using short seeks on streams (especially
3378         useful when the stream might be interactive or a pipe).  At
3379         the moment, this alternate path only avoids seeking when the
3380         ``buffer size'' of underflow() is 1 since the C standard only
3381         guarantees buffer space for one ungetc (this technique could
3382         be extended since *-*-solaris* supports buffering for 4 calls
3383         to ungetc and *-*-*bsd* supports buffering limited only by
3384         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
3385         in a port's os_defines.h file for this alternate path to even
3386         be considered.  As a bonus, the idiom of using getc/ungetc
3387         requires no system calls whereas fseek maps to one or two
3388         system call(s) on many platforms.
3390         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3391         Define it.
3392         * config/os/solaris/solaris2.5/bits/os_defines.h
3393         (_GLIBCPP_AVOID_FSEEK): Likewise.
3394         * config/os/solaris/solaris2.6/bits/os_defines.h
3395         (_GLIBCPP_AVOID_FSEEK): Likewise.
3396         * config/os/solaris/solaris2.7/bits/os_defines.h
3397         (_GLIBCPP_AVOID_FSEEK): Likewise.
3399 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3401         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3402         AC_TRY_COMPILE, so that the built compiler is checked, and
3403         bootstraps or cross compiles with an older compile still work.
3404         * aclocal.m4: Regenerate.
3405         * configure: Regenerate.
3407 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3409         libstdc++/3142
3410         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3412         libstdc++/3141
3413         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3415         libstdc++/3140
3416         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3418         libstdc++/3139
3419         * include/bits/limits_generic.h: Fix as per DR 184.
3421 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3423         libstdc++/3126
3424         * include/bits/basic_string.h (string::compare): Adjust signatures
3425         as per DR 5.
3426         * include/bits/basic_string.tcc: And here.
3428         libstdc++/2346
3429         * config/c_io_stdio.h: Remove whitespace.
3430         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3431         (test02): Add regression.
3432         * testsuite/27_io/istream_seeks-3.tst: New file.
3434 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
3436         * README:  Update to reflect reality.
3437         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
3438         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
3439         * aclocal.m4:  Regenerate.
3440         * configure:  Regenerate (with 2.13).
3442 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3444         libstdc++/3114
3445         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3446         per DR 129.
3447         * include/bits/istream.tcc (istream::seekg): Same.
3448         * testsuite/27_io/istream_seeks.cc: Fix.
3450         libstdc++/3113
3451         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3452         (binder1st): Same.
3453         * include/bits/std_queue.h: Add c++config.h.
3454         * testsuite/20_util/binders.cc: New test.
3456 2001-06-11  Matthias Klose  <doko@debian.org>
3457             Phil Edwards  <pme@sources.redhat.com>
3459         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
3460         (main script):  Echo more information.
3462 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3464         * include/c_std/bits/std_cwchar.h: Alphabetize.
3465         * include/bits/char_traits.h: Tweak.
3466         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3467         everything used by std_cwchar.h.
3468         * aclocal.m4: Regenerate.
3469         * configure.in: Regenerate.
3470         * config.h.in: Regenerate.
3472 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3474         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3475         Add checking for strtof, _Exit in stdlib.h
3476         * aclocal.m4: Regenerate.
3477         * configure.in: Regenerate.
3478         * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3479         (snprintf): Put C99 functions into __gnu_cxx namespace.
3480         (vfscanf): Same.
3481         (vscanf): Same.
3482         (vsnprintf): Same.
3483         (vsscanf): Same.
3484         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3485         for C99 functions within _GLIBCPP_USE_C99 guard.
3486         (_Exit): Same.
3487         (strtof): Same.
3488         (strtold): Same.
3489         * include/bits/locale_facets.tcc: Check if C99 is enabled.
3490         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3491         C99 guard.
3492         * include/c_std/bits/cmath.tcc: Formatting tweak.
3493         * include/c_std/bits/std_cmath.h: Same.
3495 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3497         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3499 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
3500             Stephen L Moshier  <moshier@mediaone.net>
3502         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3503         nothing, as in autoconf 2.50.
3504         * configure: Rebuilt.
3506 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3508         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3509         include std_cstddef.
3510         * include/c_std/bits/std_ctime.h: Same.
3511         * include/c_std/bits/std_cstring.h: Same.
3512         * include/c_std/bits/std_cstdlib.h: Same.
3514         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3515         * include/c_std/bits/std_cctype.h: Remove isblank.
3517 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3519         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3520         fgetws.
3521         * aclocal.m4: Regenerate.
3522         * configure: Regenerate.
3523         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3524         injection, guard fgetwc, fgetws.
3525         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3526         * include/c_std/bits/std_clocale.h: And here.
3527         * include/c_std/bits/std_cctype.h: And here.
3528         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3530         * config/basic_file_stdio.h: Don't include unistd.h.
3531         * config/c_io_stdio.h: Don't use compatibility headers.
3532         * libsupc++/eh_terminate.cc: Qualify abort.
3533         (__terminate): And here.
3534         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3536 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3538         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3540 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3542         libstdc++/2767
3543         libstdc++/2989
3544         libstdc++/2992
3545         * include/std/*: Add copyright notice.
3546         * include/c_std/bits/*: Use using statements instead of extern "C".
3547         * include/c_std/bits/std_cmath.h: Don't overload double versions
3548         of math functions with __buitin versions, use global version to
3549         prevent ambiguities. Remove define hacks.
3550         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3551         functions that have changed signatures and std::
3552         declarations. Remove define hacks.
3553         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3554         __builtins in std::. Remove define hacks.
3555         * testsuite/17_intro/headers_c.cc: Add tests.
3556         * testsuite/17_intro/headers_c++.cc: Add test.
3558 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3559             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3561         c++/3082
3562         * libsupc++/eh_alloc.cc: Ensure that required macros are
3563         defined before including gthr.h.  Ensure that we get the
3564         version of gthr.h for which we know how to provide a
3565         configuration.
3566         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
3567         code path into line with the current EH model.  Use std, where
3568         appropriate.
3570 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3571             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3573         * config/threads-no.h: Remove file.
3574         * config/threads-posix.h: Remove file.
3576         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3577         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3578         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3579         * config.h.in: Regenerate.
3581         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3582         setup and use gthr*.h files.  In particular, make gthr.h files
3583         namespace-clean in the staging area (they don't have to be for
3584         libgcc.a).
3585         * aclocal.m4: Regenerate.
3586         * configure: Regenerate.
3588         * src/Makefile.am (build_headers): Remove bits/c++threads.h
3589         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3590         * src/Makefile.in: Regenerate.
3592         * include/bits/c++config: Cleanup threading configuration macros.
3593         In particular, define __STL_GTHREADS macro which controls...
3594         * include/bits/stl_threads.h: ...a brand new gthr.h-based
3595         configuration here.
3597         * config/c_io_stdio.h: Include staged gthr.h instead of local
3598         thread configuration file.  Always use __gthread_mutex_t
3599         instead of __mutext_type (or int).
3600         * include/bits/std_fstream.h: Likewise.
3602         * docs/html/17_intro/howto.html: Remove placeholder comment in
3603         case this configuration patch didn't make it.  Add advice that
3604         section only applies if configured with --enable-threads.
3605         * docs/html/23_containers/howto.html: Reword to make clear
3606         that _PTHREADS is no longer required for any port to be
3607         correctly using STL with threads.  Add advice that section
3608         only applies if configured with --enable-threads.
3610 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
3612         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3614 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
3616         libstdc++/3045
3617         * include/bits/basic_ios.tcc: Formatting tweaks.
3618         * include/bits/ios_base.h: Formatting tweaks.
3619         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3620         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3621         * src/globals.cc: Allocate filebufs for standard streams here.
3622         (buf_cout, buf_cin, buf_cerr): Like so.
3623         (buf_wcout, buf_wcin, buf_wcerr): And so.
3624         * testsuite/27_io/ios_init.cc: Add.
3626 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3627             Benjamin Kosnik  <bkoz@redhat.com>
3629         libstdc++/3017
3630         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3631         for generic ctype virtuals.
3632         * src/locale.cc: Minor tweaks, naming consistency.
3633         * testsuite/22_locale/ctype.cc: Add test.
3635 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
3636             Phil Edwards  <pme@sources.redhat.com>
3638         PR libstdc++/3035 and PR libstdc++/3036
3639         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
3640         to LWG DR 181 and 265.
3642 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
3644         PR libstdc++/3034
3645         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3646         equal_range):  Add const overloads as per LWG DR 214.
3647         * include/bits/stl_set.h:  Likewise.
3649 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3650             Phil Edwards  <pme@sources.redhat.com>
3652         PR libstdc++/3018
3653         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
3654         comparison; all positions must be < _Nb.
3655         * testsuite/23_containers/bitset_members.cc:  New file.
3657 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3659         PR libstdc++/3016
3660         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
3661         ctors to match the standard.
3663 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
3665         * include/bits/char_traits.h (move): Reverse qualification of
3666         memmove with std::.
3667         (copy): Reverse qualification of memcpy with std::.
3669 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
3671         * include/bits/char_traits.h (move): Qualify memmove with std::.
3672         (copy): Qualify memcpy with std::.
3673         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3674         strncmp with std::.
3675         (test02): Likewise.
3676         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3678 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
3680         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3681         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3682         SUN make VPATH peculiarities.
3683         * libsupc++/Makefile.in: Regenerate.
3685 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
3687         * src/Makefile.am (VPATH): Delimit with ":", not space.
3688         * src/Makefile.in: Regenerate.
3690         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3691         make isn't found.
3692         * configure: Regenerate.
3694 2001-05-31  scott snyder  <snyder@fnal.gov>
3696         libstdc++/2976
3697         * include/bits/istream.tcc: Include std_ostream.h.
3699 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
3701         libstdc++/2997
3702         * src/bitset.cc: Qualify size_t with std::.
3704 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
3706         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3707         (_GLIBCPP_BUGGY_COMPLEX): Remove.
3708         * config.h.in: Regenerate.
3709         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3710         * aclocal.m4: Regenerate.
3711         * configure.in: Don't call it.
3712         * configure: Regenerate.
3714         libstdc++/2970
3715         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3716         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3717         New test.
3719         libstdc++/2985
3720         * include/bits/std_complex.h: Include sstream. Put definitions for
3721         complex inserters and extractors here, and remove them from...
3722         * src/complex_io.cc: ...here.
3723         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3724         parameter.
3725         (basic_ios::__numget_type): Same.
3726         * include/bits/std_istream.h: Same.
3727         * include/bits/std_ostream.h: Same.
3728         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3729         class iterator template arguments.
3730         * src/locale-inst.cc: Add explicit has_facet instantiations.
3731         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3732         (_M_get_fnumput): Remove.
3733         (_M_get_fnumget): Remove.
3734         (basic_ios::_M_check_facet): New function.
3735         (basic_ios::_M_cache_facets): New function.
3736         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3737         (basic_ios::imbue): Call _M_cache_facets.
3738         (basic_ios::init): Same.
3739         * include/bits/istream.tcc: Format, use _M_check_facet.
3740         * include/bits/ostream.tcc: Same.
3741         * include/bits/locale_facets.tcc (__output_float): Change
3742         signature, add _Traits.
3743         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3744         New test.
3746 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
3748         * include/bits/c++config (__USE_MALLOC): Do not define it.
3749         Document why not and give pointers to more information.
3751         * docs/html/23_containers/howto.html: Update documentation
3752         to reflect recent understanding of problem.
3753         * docs/html/17_intro/howto.html: Likewise.
3755 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
3757         * docs/doxygen/user.cfg.in:  Minor addition.
3758         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
3759         stuff first.
3760         * docs/html/install.html:  Update for 3.0.  HTML fixups.
3761         * docs/html/17_intro/howto.html:  Likewise.
3762         * docs/html/18_support/howto.html:  Likewise.
3763         * docs/html/19_diagnostics/howto.html:  Likewise.
3764         * docs/html/20_util/howto.html:  Likewise.
3765         * docs/html/23_containers/howto.html:  Likewise.
3766         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
3767         * docs/html/25_algorithms/howto.html:  Likewise.
3768         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
3769         * docs/html/27_io/howto.html:  Likewise.
3770         * docs/html/ext/howto.html:  Likewise.
3771         * docs/html/faq/index.html:  Likewise.
3772         * docs/html/faq/index.txt:  Regenerate.
3773         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
3774         Doxygen-created documentation.
3776 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3778         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3779         get_multilibs to find gcc.
3781 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
3783         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
3784         * aclocal.m4:  Regenerate.
3785         * configure:  Regenerate.
3787 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3789         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3790         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3792 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3794         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3795         * include/c_std/bits/std_cstdlib.h: Same.
3796         * include/c_std/bits/std_cwchar.h: Same.
3798 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
3800         * docs/html/17_intro/howto.html: Update link.
3801         * docs/html/23_containers/howto.html: Likewise.  Add new link.
3803 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
3805         * include/c_std/bits/std_cmath.h (sqrt): #undef.
3807 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3809         * mknumeric_limits: Stop if gen-num-limits dies.
3811 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
3813         other/2931
3814         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3815         * aclocal.m4: Regenerate.
3816         * configure: Same.
3818 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3819             Phil Edwards  <pme@sources.redhat.com>
3820             Alexandre Oliva  <aoliva@redhat.com>
3822         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3823         in an amd-safe manner. Revert glibcpp_prefixdir.
3825 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
3827         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
3828         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
3829         variants.
3831 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3833         libstdc++/2830
3834         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3835         * include/bits/ostream.tcc: Format to match istream.tcc.
3836         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3838 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
3840         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
3841         malloc with std:: .
3842         (__cxa_free_exception):  Likewise with free.
3844 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
3846         * include/c_std/bin/std_cstring.h: #define away all global
3847         functions we will redeclare in namespace `std'.
3848         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3849         std::memset, instead of memset.
3850         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3851         not plain `strcmp'.
3852         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3853         plain `strcpy'.
3855 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3857         libstdc++/2832
3858         * include/bits/basic_ios.tcc: Small tweak.
3859         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3860         ctors and dtors, and rdbuf settings.
3861         (ofstream): Same.
3862         (fstream): Same.
3863         * include/bits/std_sstream.h: Same, but for stringstream classes.
3864         * testsuite/27_io/ostringstream_members.cc: New.
3865         * testsuite/27_io/stringstream_members.cc: New.
3866         * testsuite/27_io/fstream_members.cc: New.
3867         * testsuite/27_io/ifstream_members.cc: Add test.
3868         * testsuite/27_io/istringstream_members.cc: Add test.
3869         * testsuite/27_io/ofstream_members.cc: Add test.
3871 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3873         * include/bits/c++config(__NO_MATH_INLINES): Move to...
3874         * config/os/gnu-linux/bits/os_defines.h: ...here.
3876 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
3878         * include/bits/c++config (__NO_MATH_INLINES): New macro.
3879         * testsuite/26_numerics/fabs_inline.cc (main): New test.
3881 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
3883         libstdc++/2841
3884         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3885         ld_library_path.
3886         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3887         (libstdc++-v3-finish): Remove.
3888         (libstdc++-v3_exit): Remove.
3890 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
3892         * docs/html/documentation.html:  Point to doxygen output.
3894 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
3896         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3898         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3899         arguments to be non-null.
3900         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3901         try allocations if allocated size is greater than zero.
3902         (filebuf::_M_filebuf_init): Change to
3903         (filebuf::_M_allocate_file): Which is what it does now.
3904         (filebuf::_M_allocate_bufers): Change to
3905         (filebuf::_M_allocate_internal_buffer): This, and create
3906         (filebuf::_M_allocate_pback_buffer): New.
3907         (filebuf::_M_destroy_internal_buffer): New.
3908         (filebuf::_M_buf_allocated): New data member.
3909         (filebuf::setbuf): Use new logic, allow use of external buffer.
3910         * testsuite/27_io/stringbuf_virtuals.cc: New file.
3911         * testsuite/27_io/filebuf_virtuals.cc: New file.
3913 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
3915         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3916         __glibcpp_memchr.
3917         (strchr): Same, but to __glibcpp_strchr.
3918         (strpbrk): Same.
3919         (strrchr): Same.
3920         (strstr): Same.
3921         * include/c_std/bits/std_cwchar.h (wcschr): Same.
3922         (wcsbrk): Same.
3923         (wcsrchr): Same.
3924         (wcsstr): Same.
3925         (wmemchr): Same.
3927 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
3929         * testsuite/21_strings/c_strings.cc (main): Fix.
3931 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
3933         * acinclude.m4:  Fix --help spacing, correct comments.
3934         * aclocal.m4:  Regenerate.
3935         * configure:  Regenerate.
3936         * mkcheck.in:  Add usage comments.
3937         * docs/html/documentation.html:  Point to doxygen'd tarball.
3939 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
3941         * testsuite/README: Add notes.
3943         * src/Makefile.am (libstdc++.INC): Remove.
3944         * src/Makefile.in: Regenerate.
3946         Phil Edwards <pedwards@disaster.jaj.com>
3947         * mkcheck.in: Add missing '#'.
3949 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3951         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3952         appropriately for remote testing and testing installed files without
3953         a build dir.
3955 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
3957         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3958         amd glibcpp_prefixdir with absolute paths.
3960         * include/bits/c++config (__GLIBCPP__): Bump.
3961         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3963 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
3965         * include/bits/std_valarray.h (valarray<>::operator[] const):
3966         Return a const reference.
3967         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3969 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
3971         * configure.target (ATOMICITYH): Actually use AIX-specific code on
3972         earlier versions of AIX 4.*.
3974 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3976         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
3977         output_file based on the name of the testcase.
3979 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3981         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
3982         gluefile and use it if needs_status_wrapper is set.
3984 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
3986         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3987         versions of AIX.
3989 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
3991         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3992         on earlier versions of AIX.
3994 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
3996         * testsuite_flags.in (query): Add backwards, ext directories.
3998 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
4000         * porting.texi: Correct documentation about handling
4001         _LARRGEFILE_SOURCE and its ilk.
4002         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4003         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4004         __EXTENSIONS__.
4005         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4006         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4008 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
4010         * testsuite/21_strings/inserters_extractors.cc,
4011         testsuite/27_io/istream_unformatted.cc,
4012         testsuite/27_io/stringstream.cc:
4013         Replace multi-line string constants with C89-style
4014         concatenated string constants.
4016 2001-05-14  Richard Henderson  <rth@redhat.com>
4018         * mknumeric_limits: Build with -fno-exceptions.
4020 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
4022         Switch over to new harness.
4023         * testsuite_flags.in: Tweaks via Gaby.
4024         * testsuite/Makefile.am: Change tool to libstdc++-v3.
4025         (EXPECT): Quote directly.
4026         (RUNTEST): Same.
4027         * configure.in: Output testsuite_flags.
4028         * acinclude.m4: Substitute src, bld, and prefix dirs.
4029         Remove glibcpp_expect, glibcpp_runtestflags.
4030         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4031         * mkcheck.in: Port to new interface.
4033         * aclocal.m4: Regerate.
4034         * configure: Regnerate.
4035         * Makefile.in: Regnerate.
4036         * */Makefile.in: Regenerate.
4038         * tests_flags.in: Remove.
4039         * testsuite/lib/libstdc++.exp: Remove.
4040         * testsuite/libstdc++.tests/tests.exp: Remove.
4042 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
4044         * configure.target: Remove detection of AIX pthread multilib, now
4045         obtained from `gcc -v'.
4047 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4049         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4050         size.  Add hpux case for HP size.
4052 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
4054         * testsuite_flags.in: New, simplified interface.
4055         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4056         * testsuite/libstdc++-v3.dg: Add.
4057         * testsuite/libstdc++-v3.dg/dg.exp: Add.
4059 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
4061         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4062         * testsuite/config/default.exp: Update bugs email address.
4064 2001-05-11  Richard Henderson  <rth@redhat.com>
4066         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
4067         all pointer encoding logic.
4068         (struct lsda_header_info): Add ttype_base.
4069         (get_ttype_entry): Use it instead of a context.
4070         (check_exception_spec): Likewise.
4071         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
4072         the c++ exception header for __cxa_call_unexpected.
4073         (__cxa_call_unexpected): Use it.
4075 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
4077         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4078         libgloss_link_flags to find crt0.o for targets that use libgloss
4079         instead of newlib.
4080         Change LDFLAGS to LIBS.
4081         Consistently name procedures libstdc++-XXX.
4082         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4084 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
4086         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4087         (strchr): Same.
4088         (strpbrk): Same.
4089         (strrchr): Same.
4090         (strstr): Same.
4091         * include/c_std/bits/std_cwchar.h (wcschr): Same.
4092         (wcsbrk): Same.
4093         (wcsrchr): Same.
4094         (wcsstr): Same.
4095         (wmemchr): Same.
4096         * testsuite/21_strings/c_strings.cc: Add tests.
4098 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
4100         libstdc++/2523
4101         * include/bits/std_fstream.h (basic_filebuf): Change signature.
4102         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4103         to int_type, pass in buffer size info.
4104         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4105         unbuffered situation.
4106         (underflow): Remove codecvt bits for the time being.
4107         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4108         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4109         values from iterators, clean.
4110         * src/locale.cc: Ditto.
4111         * include/bits/sbuf_iter.h: Format.
4112         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4113         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4114         * testsuite/27_io/filebuf.cc: Tweaks.
4115         * testsuite/27_io/filebuf_members.cc: Tweaks.
4117 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
4119         * config/os/solaris/solaris2.7/bits/os_defines.h
4120         (_LARGEFILE_SOURCE): Define it.
4122 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
4124         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4125         -prefer-non-pic depending on whether libtool has shared libraries
4126         enabled or disabled.
4127         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4128         $(LIBSUPCXX_PICFLAGS).
4129         * configure, */Makefile.in: Rebuilt.
4131 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
4133         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4134         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4136         * include/bits/std_sstream.h (stringbuf): Leak
4137         copied string.
4138         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4140 2001-05-01  Tom Browder  <tbrowder@home.com>
4142         * docs/html/ext/howto.html:  Fix typo.
4144 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
4146         * testsuite/libstdc++.tests/tests.exp: Add comment.
4148 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
4150         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4152 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
4154         * porting.texi: Use the GFDL.
4156 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4158         libstdc++/2627
4159         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4160         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4161         specializations.
4163 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4165         libstdc++/2964
4166         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4168 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
4170         * docs/doxygen/run_doxygen:  Minor tweaks.
4171         * docs/doxygen/style.css:  New file.
4172         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
4173         latest parameters available.  Use style.css.
4175 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
4177         * docs/doxygen/mainpage.doxy: New.
4178         * docs/doxygen/user.cfg.in: Change default configuration. Single
4179         frame, other tweaks.
4181 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
4183         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4184         Indicate obsolete nature of thelist for G++ 3.0.
4186 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
4188         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4189         target_thread_file with `gcc -v'.
4190         * aclocal.m4, configure: Rebuilt.
4192 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
4194         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4195         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4196         * include/c_std/bits/std_cwchar.h (std): Same.
4197         * acconfig.h (std): Remove c99 injection into std.
4198         * config.h.in: Regenerate.
4200         * testsuite/README: Fix typo.
4202         * include/bits/codecvt.h: Remove warnings.
4204 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4206         * include/ext/slist: Include required header files.
4208 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
4210         * include/c_std/bits/std_cerrno.h (errno): Define macro from
4211         identifier declared with external linkage, if needed.
4212         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4213         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4215 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
4217         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4218         re-configures find the build compiler.
4219         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4220         libstdc++/2609.
4221         * aclocal.m4: Regenerate.
4222         * configure: Regenerate.
4224 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
4226         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4227         support is enabled correctly before long long is activated.
4228         * aclocal.m4: Regenerate.
4229         * configure: Regenerate.
4231         * include/backward/backward_warning.h: Format correctly.
4233         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4234         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4235         * testsuite/26_numerics/c99_macros.cc: Remove.
4237 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
4239         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
4240         __iterator_category.
4242 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
4244         * acconfig.h (_GLIBCPP_USE_C99): Add.
4245         * config.h.in: Regenerate.
4246         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4247         9899: 1999 support.
4248         * aclocal.m4: Regenerate.
4249         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4250         * configure: Regenerate.
4251         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4252         * configure: Regenerate.
4253         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4254         into c99.
4255         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4256         namespace.
4257         * include/c_std/bits/std_cstdlib.h: Same.
4258         * docs/html/configopts.html: Update.
4259         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4260         math.h
4261         (test_c99_classify): Add.
4262         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4263         (_ISOC99_SOURCE): Remove.
4265         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4266         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4267         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4268         * aclocal.m4: Regenerate.
4269         * configure: Regenerate.
4271 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
4273         * Makefile.am (doxygen):  Assume script is missing execute perms.
4274         * Makefile.in:  Regenerated.
4275         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
4277 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
4279         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4281 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
4283         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4284         * testsuite/23_containers/set_operators.cc: Same.
4286         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4287         default.
4288         (__GLIBCPP__): Bump from value of last release.
4289         * include/bits/concept_check.h: Default to off, edit comments.
4290         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4291         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4292         * src/Makefile.in: Regenerate.
4294 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
4296         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4297         Properly uglify member.
4299 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4301         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
4302         of EqualityCo
4303         mparableConcept.
4305 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4307         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
4308         * include/bits/concept_check.h:  Uglify.
4309         * include/bits/stl_algo.h:  Likewise.
4310         * include/bits/stl_algobase.h:  Likewise.
4311         * include/bits/stl_deque.h:  Likewise.
4312         * include/bits/stl_heap.h:  Likewise.
4313         * include/bits/stl_iterator_base_funcs.h:  Likewise.
4314         * include/bits/stl_list.h:  Likewise.
4315         * include/bits/stl_map.h:  Likewise.
4316         * include/bits/stl_multimap.h:  Likewise.
4317         * include/bits/stl_multiset.h:  Likewise.
4318         * include/bits/stl_numeric.h:  Likewise.
4319         * include/bits/stl_queue.h:  Likewise.
4320         * include/bits/stl_set.h:  Likewise.
4321         * include/bits/stl_stack.h:  Likewise.
4322         * include/bits/stl_vector.h:  Likewise.
4323         * include/ext/hash_map:  Likewise.
4324         * include/ext/hash_set:  Likewise.
4325         * include/ext/slist:  Likewise.
4327 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
4329         * testsuite/23_containers/set_operators.cc: Just try to compile.
4330         Mark as XFAIL.
4331         * testsuite/23_containers/map_operators.cc: Same.
4333 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
4335         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4336         output_file.
4337         (dg-test): Revert rth's change.
4339 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
4341         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4342         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4344 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
4346         * testsuite/README: Add DejaGnu specific documentation.
4348 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
4350         * acinclude.m4: AC_CHECK_TOOL for expect.
4351         * aclocal.m4: Regenerate.
4352         * configure: Regenerate.
4353         * testsuite/Makefile.am (RUNTEST): Use substituted.
4354         (EXPECT): Same.
4356         * configure.in: Remove xcompiling substitution.
4357         * tests_flags.in (CROSS_LIB_PATH): Remove.
4358         (xcompiling): Remove.
4359         (CXX): Use substituted CXX.
4361 2001-04-11  Richard Henderson  <rth@redhat.com>
4363         * testsuite/lib/libstdc++.exp: Specify path for output_file.
4365 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
4367         * include/bits/std_valarray.h(valarray<>::operator[]): Make
4368         inline.
4370 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4372         * testsuite/25_algorithms/equal.cc: New test.
4374 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
4376         * stl_algobase.h (std::equal): avoid use of possibly-undefined
4377         operator != (one line patch).
4379 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
4381         * include/backward/backward_warning.h: Re-enable.
4383 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4384             Alexandre Oliva  <aoliva@redhat.com>
4386         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4388 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4390         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4391         * testsuite/26_numerics/c99_macros.cc: Add test.
4393 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
4395         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
4396         * docs/html/faq/index.txt:  Regenerated.
4398 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4400         * include/backward/backward_warning.h: Temporarily disable until
4401         g++ testsuite changes go in.
4402         * tests_flags.in (CROSS_LIB_PATH): Add.
4404 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4406         Warn when using backward headers.
4407         * include/backward/algo.h: Include warning file.
4408         * include/backward/vector.h: Same.
4409         * include/backward/tree.h: Same.
4410         * include/backward/tempbuf.h: Same.
4411         * include/backward/strstream: Same.
4412         * include/backward/streambuf.h: Same.
4413         * include/backward/stream.h: Same.
4414         * include/backward/stack.h: Same.
4415         * include/backward/slist.h: Same.
4416         * include/backward/set.h: Same.
4417         * include/backward/rope.h:
4418         * include/backward/queue.h: Same.
4419         * include/backward/pair.h: Same.
4420         * include/backward/ostream.h: Same.
4421         * include/backward/new.h: Same.
4422         * include/backward/multiset.h: Same.
4423         * include/backward/multimap.h: Same.
4424         * include/backward/map.h: Same.
4425         * include/backward/list.h: Same.
4426         * include/backward/iterator.h: Same.
4427         * include/backward/istream.h: Same.
4428         * include/backward/iostream.h:
4429         * include/backward/iomanip.h:
4430         * include/backward/heap.h: Same.
4431         * include/backward/hashtable.h:
4432         * include/backward/hash_set.h:
4433         * include/backward/hash_map.h:
4434         * include/backward/function.h:
4435         * include/backward/fstream.h:
4436         * include/backward/deque.h:
4437         * include/backward/defalloc.h: Same.
4438         * include/backward/complex.h: Same.
4439         * include/backward/bvector.h:
4440         * include/backward/alloc.h:
4441         * include/backward/algobase.h: Same.
4443         * include/backward/backward_warning.h: New file.
4444         * src/Makefile.am (backward_headers): Add backward_warning.h
4445         * src/Makefile.in: Regenerate.
4447 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4449         * src/Makefile.am (myinstalldirs): Make sure backward directory is
4450         created.
4451         (myinstallheaders): Install backward headers in backward directory.
4452         * src/Makefile.in: Regenerate.
4454 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4456         Prepare for libstdc++-2.92.
4457         * docs/html/17_intro/RELEASE-NOTES (New): Update.
4458         * docs/html/configopts.html: Fix formatting.
4459         * README (file): Updates.
4460         * include/bits/c++config (__GLIBCPP__): Update.
4462 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
4464         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
4466 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
4468         * docs/doxygen/user.cfg.in:  Extract all non-private members;
4469         reduce confusing documentation output.
4471 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
4473         * include/backward/fstream.h: Add missing semicolons.
4475 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
4477         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4478         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4479         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4480         (ios_base::Init::_S_ios_create): New.
4481         (ios_base::Init::_S_ios_destroy): New.
4482         * include/bits/std_fstream.h: Change ctor args.
4483         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4484         (ios_base::Init::~Init): Use _S_ios_destroy.
4485         (ios_base::sync_with_stdio): Use new members.
4486         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4487         filebuf ctor.
4489 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4491         * include/backward/fstream.h:  Expose streampos to global
4492         namespace.
4494 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4496         * include/bits/stl_iterator_base_types.h: Fix typo
4498 2001-04-03  Andreas Schwab  <schwab@suse.de>
4500         * include/backward/fstream.h: Define filebuf and wfilebuf.
4502 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
4504         New concept checking implementation.
4505         * docs/html/19_diagnostics/howto.html:  Document.
4506         * docs/html/17_intro/concept_check.diff:  New file, for reference.
4507         * include/bits/boost_concept_check.h:  New file from Boost.
4508         * include/bits/c++config:  Update comments.
4510         * include/bits/concept_check.h:  New file.
4511         * include/bits/concept_checks.h:  Removed.
4512         * include/bits/container_concepts.h:  Removed.
4513         * include/bits/sequence_concepts.h:  Removed.
4514         * include/bits/stl_iterator_base.h:  Removed; split into...
4515         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
4516         * include/bits/stl_iterator_base_types.h:  ...and this new file.
4518         * include/bits/sbuf_iter.h:  Update to use new implementation.
4519         * include/bits/std_iterator.h:  Likewise.
4520         * include/bits/std_memory.h:  Likewise.
4521         * include/bits/stl_algo.h:  Likewise.
4522         * include/bits/stl_algobase.h:  Likewise.
4523         * include/bits/stl_construct.h:  Likewise.
4524         * include/bits/stl_deque.h:  Likewise.
4525         * include/bits/stl_heap.h:  Likewise.
4526         * include/bits/stl_list.h:  Likewise.
4527         * include/bits/stl_map.h:  Likewise.
4528         * include/bits/stl_multimap.h:  Likewise.
4529         * include/bits/stl_multiset.h:  Likewise.
4530         * include/bits/stl_numeric.h:  Likewise.
4531         * include/bits/stl_queue.h:  Likewise.
4532         * include/bits/stl_set.h:  Likewise.
4533         * include/bits/stl_stack.h:  Likewise.
4534         * include/bits/stl_uninitialized.h:  Likewise.
4535         * include/bits/stl_vector.h:  Likewise.
4536         * include/ext/hash_map:  Likewise.
4537         * include/ext/hash_set:  Likewise.
4538         * include/ext/slist:  Likewise.
4539         * include/ext/stl_hashtable.h:  Likewise.
4541         * src/Makefile.am (base_headers):  Update list of headers.
4542         * Makefile.in:  Regenerated.
4543         * src/Makefile.in:  Regenerated.
4544         * libio/Makefile.in:  Regenerated.
4545         * libmath/Makefile.in:  Regenerated.
4546         * libsupc++/Makefile.in:  Regenerated.
4547         * testsuite/Makefile.in:  Regenerated.
4549         * docs/html/install.html:  Update contact information.
4550         * docs/html/17_intro/howto.html:  Ditto.
4551         * docs/html/18_support/howto.html:  Ditto.
4552         * docs/html/20_util/howto.html:  Ditto.
4553         * docs/html/21_strings/howto.html:  Ditto.
4554         * docs/html/22_locale/howto.html:  Ditto.
4555         * docs/html/23_containers/howto.html:  Ditto.
4556         * docs/html/24_iterators/howto.html:  Ditto.
4557         * docs/html/25_algorithms/howto.html:  Ditto.
4558         * docs/html/26_numerics/howto.html:  Ditto.
4559         * docs/html/27_io/howto.html:  Ditto.
4560         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
4561         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
4562         * docs/html/faq/index.txt:  Regenerated.
4564 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
4566         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4567         messages with $which_library as well as $tool_flags and
4568         ${dg-extra-tool-flags}.  Factor out annotation text into
4569         a single variable.
4571 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
4573         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4574         * include/c_std/bits/std_cwchar.h: Same.
4575         * testsuite/21_strings/c_strings.cc: Add.
4577 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
4579         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4581 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
4583         * tests_flags.in: Use test a = b, not test a == b which is not
4584         portable.
4586 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
4588         * configure.target: Remove duplicate aix entry.
4590 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
4592         * include/ext/stl_bvector.h: Move to...
4593         * include/bits/stl_vector.h: ...here.
4594         * include/ext/bvector: Move to...
4595         * include/backward/bvector.h: ...here.
4596         * include/bits/std_vector.h: Change stl_bvector include.
4597         * include/bits/std_queue.h: Remove bvector include.
4598         * include/ext/tree: Insert using rb_tree, move to...
4599         * include/backward/tree.h: ...here.
4600         * include/backward/hash_map.h: Include ext/hash_map.
4601         * include/backward/hash_set.h: Include ext/hash_set.
4602         * include/backward/queue.h: New file.
4603         * include/backward/stack.h: Edit.
4604         * include/backward/algo.h: Same.
4605         * include/backward/algobase.h: Same.
4606         * include/backward/alloc.h: Same.
4607         * include/backward/function.h: Same.
4608         * include/backward/iomanip.h: Same.
4609         * include/backward/istream.h: Same.
4610         * include/backward/iterator.h: Same.
4611         * include/backward/list.h: Same.
4612         * include/backward/map.h: Same.
4613         * include/backward/multimap.h: Same.
4614         * include/backward/multiset.h: Same.
4615         * include/backward/ostream.h: Same.
4616         * include/backward/pair.h: Same
4617         * include/backward/rope.h: Same.
4618         * include/backward/set.h: Same.
4619         * include/backward/stream.h: Same.
4620         * include/backward/strstream.h: Same.
4621         * include/backward/tempbuf.h: Same.
4622         * src/Makefile.am (ext_headers): Edit.
4623         * src/Makefile.in: Regenerate.
4624         * testsuite/ext/headers.cc (main): Fix.
4625         * mkcheck.in: Fix.
4627 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
4629         * tests_flags.in (LIBS):  Pass correct path for installed testing.
4631 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
4633         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4634         * tests_flags.in (CXX): Construct here.
4635         (static_fail): Don't remove compile.out. Format with spaces.
4636         (INCLUDES): Deal with xcompiling.
4637         * configure.in (xcompiling): Substitute.
4638         * testsuite/Makefile.am: Snake libjava configury.
4639         * testsuite/Makefile.in: Regenerate.
4640         * testsuite/23_containers/map_operators.cc: Tweaks.
4641         * testsuite/23_containers/set_operators.cc: Tweaks.
4643 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4645         Enable dejagnu testing framework.
4646         * configure.in: Generate testsuite/Makefile.
4647         * configure: Regenerate.
4648         * Makefile.am (check-install): Change rule from this...
4649         (check-script-install): ...to this.
4650         (check): Change rule from this...
4651         (check-script):...to this.
4652         * Makefile.in: Regenerate.
4654 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
4656         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4657         --tag CXX.
4658         (LIBTOOL): Let automake take care of its definition.
4659         * libsupc++/Makefile.in: Rebuilt.
4661 2001-03-28  Richard Henderson  <rth@redhat.com>
4663         IA-64 ABI Exception Handling:
4664         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4665         * configure.in: Use it.
4666         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4667         * libsupc++/Makefile.am (sources): Update files list.
4668         * libsupc++/Makefile.in: Regenerate.
4669         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4670         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4671         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4672         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4673         * libsupc++/exception_support.cc: Remove.
4674         * libsupc++/exception_support.h: Remove.
4675         * libsupc++/pure.cc: Use std::terminate.
4676         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4677         (__is_pointer): Remove.
4678         * libsupc++/unwind-cxx.h: New file.
4679         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4681 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
4683         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4684         CXX tag explicitly.
4685         * src/Makefile.am (CXXLINK): Likewise.
4686         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4688 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
4690         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4692 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4694         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4695           and libc
4697 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
4699         * include/bits/basic_file.h (get_fileno): Remove.
4700         (_M_fileno): Remove.
4701         (_M_cfile_created): Add.
4702         (basic_file::basic_file(__c_file_type*, openmode): Add.
4703         (basic_file::basic_file(int, const char*, openmode): Remove.
4704         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4705         const char*, ios_base::openmode): Don't allocate
4706         internal buffers. Turn off internal buffers.
4707         (basic_filebuf::overflow): Remove test for null buffer.
4708         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4709         * include/bits/streambuf.cc: Tweak.
4710         * include/bits/std_ostream.h: Tweak.
4711         * config/basic_file_libio.h: Same.
4712         * config/basic_file_stdio.h: Same.
4713         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4714         * testsuite/27_io/filebuf_members.cc: Tweaks.
4715         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4717 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4719         * Makefile.am:  New targets, doxygen and doxygen-maint.
4720         * Makefile.in:  Regenerated.
4721         * docs/doxygen/run_doxygen:  Finally implemented.
4722         * docs/doxygen/maint.cfg.in:  New file.
4723         * docs/doxygen/user.cfg.in:  New file.
4725 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4727         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
4728         * src/Makefile.am:  Replace leading spaces with tabs on continuation
4729         lines.
4730         * aclocal.m4:  Regenerated.
4731         * configure:  Ditto.
4732         * Makefile.in:  Ditto.
4733         * src/Makefile.in:  Ditto.
4734         * libio/Makefile.in:  Ditto.
4735         * libmath/Makefile.in:  Ditto.
4736         * libsupc++/Makefile.in:  Ditto.
4738 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4740         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
4741         concept-checking code and current status of same.
4742         * docs/html/ext/howto.html:  Ditto.
4743         * docs/html/faq/index.html:  Ditto.
4744         * docs/html/faq/index.txt:  Regenerated.
4746 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4748         * include/bits/std_bitset.h:  Include ostream and istream headers
4749         instead of iostream.
4751 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
4753         * include/bits/ostream.tcc: Use __builtin_alloca.
4755 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
4757         * src/misc-inst.cc (__sink_unused_warning): Move to...
4758         * src/locale-inst.cc (__sink_unused_warning): Move to...
4759         * src/stl-inst.cc: Here.
4760         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4761         commented it out.
4763 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
4765         * intclude/bits/basic_file.h: Fix typos in comments.
4767 2001-03-20  Richard Henderson  <rth@redhat.com>
4769         * src/gen-num-limits.cc: Instantiate for wchar_t.
4770         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4772 2001-03-20  Jason Merrill  <jason@redhat.com>
4774         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4775         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4776         * libsupc++/cxxabi.h: Declare it.
4778 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
4780         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4781         signal_func with an unspecified argument list.
4783 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
4785         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4787 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4789         * include/bits/basic_string.tcc (operator+): Fix thinko.
4791 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
4793         libstdc++/2020
4794         * include/bits/std_streambuf.h: Remove cached locale facets.
4795         (basic_streambuf::_M_buf_fctype): Remove.
4796         (basic_streambuf::~basic_streambuf): Remove here.
4797         (basic_streambuf::basic_streambuf): Same.
4798         (basic_streambuf::imbue): Same.
4799         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4800         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4801         (basic_filebuf::~basic_filebuf()): Remove here.
4802         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4803         (basic_filebuf::imbue): Same.
4804         * include/bits/localefwd.h (_Count_ones): Remove.
4805         (locale::_S_num_categories): Just use 6, since this doesn't
4806         actually change, ever.
4807         * include/bits/locale_facets.tcc (has_facet): Simplify.
4808         (use_facet): Same.
4809         * testsuite/27_io/filebuf.cc (test06): Add tests.
4811 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
4813         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4814         match HP-UX ctype.h header file.
4816 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
4818         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4819         duplicate definitions of __dj_ctype_*
4821 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
4823         * libsupc++/new: Remove pragma interface.
4824         * libsupc++/typeinfo: Same.
4825         * libsupc++/exception: Same.
4826         * libsupc++/new_handler.cc: Remove pragma implementation.
4827         (bad_alloc::~bad_alloc()): Add.
4828         * libsupc++/exception_support.cc: Same.
4829         (exception::~exception): Add.
4830         (bad_exception::~bad_exception): Add.
4831         * libsupc++/tinfo.cc: Same.
4832         (bad_cast::~bad_cast): Add.
4833         (bad_typeid::~bad_typeid): Add.
4835 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
4837         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
4839 2001-03-12  Felix Lee  <flee@redhat.com>
4841         * mkcheck.in: workaround for bash 2.01 IFS bug.
4843 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
4845         Fixups for -fno-for-scope
4846         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4847         * src/valarray-inst.cc (__gslice_to_index): Same.
4849 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
4851         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4852         prior to trapping signal (UnixWare 7 workaround).
4854 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
4856         * include/backward/hashtable.h: Same.
4857         * include/backward/rope.h: Fix include.
4859 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
4861         * include/backward/vector.h: Include std_vector.h.
4863         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4864         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4865         Fix typo.
4867 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4869         * include/ext/stl_hashtable.h: Change type of __n to size_t
4870         * include/backward/bvector.h: Include <ext/stl_bvector.h>
4872 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4874         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4875         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4876         Use streamsize, not int_type.
4878 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
4880         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4881         moment.
4883 2001-03-08  Andreas Schwab  <schwab@suse.de>
4885         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4886         command.
4887         * aclocal.m4, configure: Regenerated.
4889 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
4891         * include/bits/std_iosfwd.h: Remove string forward decls here.
4892         * include/bits/stringfwd.h: Add forward decls for char_traits
4893         specializations.
4894         * config/c_io_libio.h (wstreamoff): Delete.
4895         * config/c_io_stdio.h (wstreamoff): Same.
4896         * include/bits/char_traits.h: Use streamoff not wstreamoff for
4897         char_traits<wchar_t>::off_type.
4898         Remove duplicate typedefs.
4899         * include/bits/fpos.h: Define streampos/wstreampos here.
4900         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4901         values to off_type.
4902         (test05): Same.
4903         Changeup output files.
4904         * testsuite/27_io/istream_unformatted.cc: Change output files.
4905         * testsuite/27_io/istream_seeks-1.txt: Add.
4906         * testsuite/27_io/istream_seeks-2.tst: Add.
4907         * testsuite/27_io/istream_seeks-1.tst: Add.
4908         * testsuite/27_io/istream_unformatted-2.tst: Delete.
4909         * testsuite/27_io/istream_unformatted-3.tst: Delete.
4910         * testsuite/27_io/istream_unformatted-3.txt: Delete.
4912 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
4914         Add Irix 5.2, 6.3 support.
4915         * config/os/irix/bits: Renamed to...
4916         * config/os/irix/irix6.5/bits: this.
4917         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4918         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4919         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4920         * config/os/irix/irix5.2/bits/ctype_noninline.h
4921         (ctype<char>::ctype): Initialize _M_table with __ctype.
4922         * configure.target: Adjust.
4924 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
4926         libstdc++/2181
4927         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4928         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4929         sentry.
4930         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4931         (*__pf)(__ios_type&)): Same.
4932         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4933         (*__pf)(ios_base&))): Same.
4934         * testsuite/27_io/istream_extractor_other.cc: Add tests.
4935         * testsuite/27_io/istream_manip.cc (test01): Fix.
4937 2001-03-06  Nathan Myers  <ncm@cantrip.org>
4938             Benjamin Kosnik  <bkoz@redhat.com>
4940         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4941         * testsuite/17_intro/header_cerrno.cc (test01): New file.
4942         * testsuite/17_intro/header_cassert.cc (test01): New file.
4943         * testsuite/17_intro/header_cstddef.cc (test01): New file.
4944         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4945         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4947 2001-03-05  scott snyder  <snyder@fnal.gov>
4949         libstdc++/2190
4950         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4951         from here...
4952         * include/c_std/bits/std_cstdlib.h: ... to here.
4953         * testsuite/17_intro/header_cstdlib.cc: Add test.
4955 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
4957         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4959 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
4961         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4962         definition. Replace enum with static const variables.
4964         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4965         throw specification, fix typos, use <static_cast>.
4966         (ctype<char>::scan_is): remove throw specification.
4967         (ctype<char>::scan_not): likewise.
4969         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4970         (ctype<char>::do_toupper(char)): use <static_cast>.
4971         (ctype<char>::do_toupper(char *, const char *)): likewise.
4972         (ctype<char>::do_tolower(char)): likewise.
4973         (ctype<char>::do_tolower(char *, const char *)): likewise.
4975 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
4977         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4978         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
4979         macros and "never happens" code.  Adjust to C++STYLE guidelines.
4980         * include/backward/algobase.h:  Likewise.
4981         * include/backward/alloc.h:  Likewise.
4982         * include/backward/bvector.h:  Likewise.
4983         * include/backward/deque.h:  Likewise.
4984         * include/backward/function.h:  Likewise.
4985         * include/backward/hash_map.h:  Likewise.
4986         * include/backward/hash_set.h:  Likewise.
4987         * include/backward/hashtable.h:  Likewise.
4988         * include/backward/heap.h:  Likewise.
4989         * include/backward/iterator.h:  Likewise.
4990         * include/backward/list.h:  Likewise.
4991         * include/backward/map.h:  Likewise.
4992         * include/backward/multimap.h:  Likewise.
4993         * include/backward/multiset.h:  Likewise.
4994         * include/backward/pair.h:  Likewise.
4995         * include/backward/rope.h:  Likewise.
4996         * include/backward/set.h:  Likewise.
4997         * include/backward/slist.h:  Likewise.
4998         * include/backward/stack.h:  Likewise.
4999         * include/backward/strstream:  Likewise.
5000         * include/backward/tempbuf.h:  Likewise.
5001         * include/backward/tree.h:  Likewise.
5002         * include/backward/vector.h:  Likewise.
5003         * include/bits/basic_ios.h:  Likewise.
5004         * include/bits/basic_ios.tcc:  Likewise.
5005         * include/bits/basic_string.h:  Likewise.
5006         * include/bits/c++config:  Likewise.
5007         * include/bits/concept_checks.h:  Likewise.
5008         * include/bits/fpos.h:  Likewise.
5009         * include/bits/fstream.tcc:  Likewise.
5010         * include/bits/functexcept.h:  Likewise.
5011         * include/bits/ios_base.h:  Likewise.
5012         * include/bits/istream.tcc:  Likewise.
5013         * include/bits/mask_array.h:  Likewise.
5014         * include/bits/ostream.tcc:  Likewise.
5015         * include/bits/pthread_allocimpl.h:  Likewise.
5016         * include/bits/sbuf_iter.h:  Likewise.
5017         * include/bits/slice.h:  Likewise.
5018         * include/bits/slice_array.h:  Likewise.
5019         * include/bits/sstream.tcc:  Likewise.
5020         * include/bits/std_bitset.h:  Likewise.
5021         * include/bits/std_fstream.h:  Likewise.
5022         * include/bits/std_iomanip.h:  Likewise.
5023         * include/bits/std_ios.h:  Likewise.
5024         * include/bits/std_istream.h:  Likewise.
5025         * include/bits/std_iterator.h:  Likewise.
5026         * include/bits/std_memory.h:  Likewise.
5027         * include/bits/std_ostream.h:  Likewise.
5028         * include/bits/std_sstream.h:  Likewise.
5029         * include/bits/std_streambuf.h:  Likewise.
5030         * include/bits/std_string.h:  Likewise.
5031         * include/bits/std_valarray.h:  Likewise.
5032         * include/bits/stl_algo.h:  Likewise.
5033         * include/bits/stl_algobase.h:  Likewise.
5034         * include/bits/stl_alloc.h:  Likewise.
5035         * include/bits/stl_construct.h:  Likewise.
5036         * include/bits/stl_deque.h:  Likewise.
5037         * include/bits/stl_function.h:  Likewise.
5038         * include/bits/stl_heap.h:  Likewise.
5039         * include/bits/stl_iterator.h:  Likewise.
5040         * include/bits/stl_iterator_base.h:  Likewise.
5041         * include/bits/stl_list.h:  Likewise.
5042         * include/bits/stl_map.h:  Likewise.
5043         * include/bits/stl_multimap.h:  Likewise.
5044         * include/bits/stl_multiset.h:  Likewise.
5045         * include/bits/stl_numeric.h:  Likewise.
5046         * include/bits/stl_pair.h:  Likewise.
5047         * include/bits/stl_pthread_alloc.h:  Likewise.
5048         * include/bits/stl_queue.h:  Likewise.
5049         * include/bits/stl_raw_storage_iter.h:  Likewise.
5050         * include/bits/stl_relops.h:  Likewise.
5051         * include/bits/stl_set.h:  Likewise.
5052         * include/bits/stl_stack.h:  Likewise.
5053         * include/bits/stl_tempbuf.h:  Likewise.
5054         * include/bits/stl_threads.h:  Likewise.
5055         * include/bits/stl_tree.h:  Likewise.
5056         * include/bits/stl_uninitialized.h:  Likewise.
5057         * include/bits/stl_vector.h:  Likewise.
5058         * include/bits/streambuf.tcc:  Likewise.
5059         * include/bits/type_traits.h:  Likewise.
5060         * include/bits/valarray_meta.h:  Likewise.
5061         * include/ext/bvector:  Likewise.
5062         * include/ext/hash_map:  Likewise.
5063         * include/ext/hash_set:  Likewise.
5064         * include/ext/ropeimpl.h:  Likewise.
5065         * include/ext/slist:  Likewise.
5066         * include/ext/stl_bvector.h:  Likewise.
5067         * include/ext/stl_hash_fun.h:  Likewise.
5068         * include/ext/stl_hashtable.h:  Likewise.
5069         * include/ext/stl_rope.h:  Likewise.
5070         * src/complex_io.cc:  Likewise.
5071         * src/ios.cc:  Likewise.
5072         * src/locale-inst.cc:  Likewise.
5073         * src/locale.cc:  Likewise.
5074         * src/localename.cc:  Likewise.
5075         * src/misc-inst.cc:  Likewise.
5076         * src/stdexcept.cc:  Likewise.
5077         * src/stl-inst.cc:  Likewise.
5078         * src/strstream.cc:  Likewise.
5079         * src/valarray-inst.cc:  Likewise.
5081 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
5083         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5085 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5087         * include/bits/istream.tcc: change type of __extracted to __size_type
5089 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
5091         * src/wstring-inst.cc: New file.
5092         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5093         (libinst_wstring_la_SOURCES): Remove.
5094         (libstdc___la_LIBADD): Remove libinst_wstring_la.
5095         (sources): Add wstring-inst.cc
5096         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5097         libinst_wstring_la.
5099 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5101         * src/locale.cc: initialise __ret with zero
5102         * src/strstream.cc:cast gptr to int_type
5104 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
5106         * docs/html/faq/index.html:  Update broken links.
5107         * docs/html/faq/index.txt:  Regenerated.
5109 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
5111         libstdc++/2064
5112         * configure.target: Change irix* to irix6.5* in target_os table.
5114 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
5116         libstdc++/2103
5117         * include/bits/c++config (__GLIBCPP__): Bump number in
5118         anticipation of 2.92.
5120         * include/bits/codecvt.h: Fix typo.
5121         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5122         stdio model.
5123         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5124         instantiations for stdio model.
5126 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
5128         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
5129           and GLIBCPP_CXXFLAGS as unused variables.
5130         * configure.host:  Likewise.
5131         * configure.target:  Likewise.
5132         * aclocal.m4:  Regenerated.
5133         * configure:  Regenerated.
5134         * Makefile.in:  Regenerated.
5135         * libio/Makefile.in:  Regenerated.
5136         * libmath/Makefile.in:  Regenerated.
5137         * libsupc++/Makefile.in:  Regenerated.
5138         * src/Makefile.in:  Regenerated.
5140 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5142         libstdc++/1886
5143         * include/bits/basic_file.h: Include basic_file_model.h.
5144         * config/c_io_libio.cc: Move to...
5145         * config/basic_file_libio.cc: Here.
5146         * config/basic_file_libio.h: New file.
5147         * config/c_io_stdio.cc: Move to...
5148         * config/basic_file_stdio.cc: Here.
5149         * config/basic_file_stdio.h: New file.
5150         * config/c_io_libio.h: Tweak.
5151         * config/c_io_stdio.h: Tweak.
5152         * src/Makefile.am (build_headers): Add basic_file_model.h.
5153         (sources): Add basic_file.cc, remove c++io.cc.
5154         * src/Makefile.in: Regenerate.
5155         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5156         basic_file_model.h and basic_file.cc.
5157         * aclocal.m4: Regenerate.
5158         * configure: Regenerate.
5159         * testsuite/27_io/filebuf.cc (test05): Add regression.
5161 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5163         Correct license.
5164         * config/cpu/alpha/bits/atomicity.h: Change.
5165         * config/cpu/arm/bits/atomicit3y.h
5166         * config/cpu/generic/bits/atomicity.h
5167         * config/cpu/i386/bits/atomicity.h
5168         * config/cpu/i486/bits/atomicity.h
5169         * config/cpu/ia64/bits/atomicity.h
5170         * config/cpu/powerpc/bits/atomicity.h
5171         * config/cpu/sparc/sparc32/bits/atomicity.h
5172         * config/cpu/sparc/sparc64/bits/atomicity.h
5173         * config/os/aix/bits/atomicity.h
5174         * config/os/irix/bits/atomicity.h
5176 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5178         * include/bits/std_stdexcept.h (runtime_error): Make string
5179         member non-const.
5180         (logic_error): Same.
5181         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5182         (test03): Fix.
5184 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
5186         libstdc++/1972
5187         libstdc++/2089
5188         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5189         string object, not reference.
5190         (runtime_error::runtime_error): Same.
5191         * testsuite/19_diagnostics/stdexceptions.cc: New file.
5193 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
5195         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
5196           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
5197           diagnostics.  Remove WFMT_FLAGS.
5198         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
5199         * libsupc++/Makefile.am:  Likewise.
5200         * src/Makefile.am:  Likewise.
5201         * aclocal.m4:  Regenerated.
5202         * configure:  Regenerated.
5203         * Makefile.in:  Regenerated.
5204         * libio/Makefile.in:  Regenerated.
5205         * libmath/Makefile.in:  Regenerated.
5206         * libsupc++/Makefile.in:  Regenerated.
5207         * src/Makefile.in:  Regenerated.
5209 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
5211         Fixes libstdc++/2079
5212         * include/backward/iomanip.h:  Expose <ios> manipulators to global
5213           namespace.
5214         * include/backward/iostream.h:  Also expose std::ws.
5216 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
5218         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5220 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
5222         * include/bits/codecvt.h: Use __builtin_alloca.
5223         * include/bits/ostream.tcc: Same.
5224         * include/bits/fstream.tcc: Same.
5226 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
5228         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5230 2001-02-23  David Edelsohn <dje@watson.ibm.com>
5232         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5234 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
5236         c++/2052
5237         * include/backward/iostream.h:  Expose std::flush in old headers.
5239 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5241         * mknumeric_limits: Remove special-casing on target.  Use gcc
5242         instead of g++ to build gen-num-limits.cc
5244 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
5246         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5248         * include/bits/codecvt.h: Use alloca instead of __extension__ for
5249         the time being.
5250         * include/bits/ostream.tcc: Same.
5251         * include/bits/std_ostream.h: Same.
5252         * include/bits/fstream.tcc: Same.
5253         * include/bits/locale_facets.tcc: Add typename.
5254         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5256 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
5258         * tests_flags.in:  Remove -n flag from call to echo.
5260 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
5262         * config/c_locale_gnu.h: Add clocale include.
5264 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
5266         * include/bits/stl_config.h:  Remove file.
5267         * src/Makefile.am (base_headers):  Remove from list.
5268         * configure:  Regenerate.
5269         * Makefile.in:  Ditto.
5270         * libio/Makefile.in:  Ditto.
5271         * libmath/Makefile.in:  Ditto.
5272         * libsupc++/Makefile.in:  Ditto.
5273         * src/Makefile.in:  Ditto.
5275         * include/bits/c++config:  Move relevant macros to here.
5276         * include/backward/alloc.h:  Include c++config.h instead.
5277         * include/backward/function.h:  Ditto.
5278         * include/backward/heap.h:  Ditto.
5279         * include/backward/pair.h:  Ditto.
5280         * include/bits/pthread_allocimpl.h:  Ditto.
5281         * include/bits/std_functional.h:  Ditto.
5282         * include/bits/std_iterator.h:  Ditto.
5283         * include/bits/std_numeric.h:  Ditto.
5284         * include/bits/std_utility.h:  Ditto.
5285         * include/bits/stl_algobase.h:  Ditto.
5286         * include/bits/type_traits.h:  Ditto.
5287         * src/stl-inst.cc:  Ditto.
5289 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5291         * include/bits/basic_file.h: Add #pragma system_header
5292         * include/bits/basic_ios.h: Ditto.
5293         * include/bits/basic_string.h: Ditto.
5294         * include/bits/char_traits.h: Ditto.
5295         * include/bits/codecvt.h: Ditto.
5296         * include/bits/cpp_type_traits.h:  Ditto.
5297         * include/bits/fpos.h: Ditto.
5298         * include/bits/gslice.h: Ditto.
5299         * include/bits/gslice_array.h: Ditto.
5300         * include/bits/indirect_array.h: Ditto.
5301         * include/bits/ios_base.h: Ditto.
5302         * include/bits/limits_generic.h: Ditto.
5303         * include/bits/locale_facets.h: Ditto.
5304         * include/bits/localefwd.h: Ditto.
5305         * include/bits/mask_array.h: Ditto.
5306         * include/bits/sbuf_iter.h: Ditto.
5307         * include/bits/sequence_concepts.h: Ditto.
5308         * include/bits/slice.h: Ditto.
5309         * include/bits/slice_array.h: Ditto.
5310         * include/bits/std_algorithm.h: Likewise.
5311         * include/bits/std_bitset.h: Likewise.
5312         * include/bits/std_complex.h: Likewise.
5313         * include/bits/std_deque.h: Likewise.
5314         * include/bits/std_fstream.h: Likewise.
5315         * include/bits/std_functional.h: Likewise.
5316         * include/bits/std_iomanip.h: Likewise.
5317         * include/bits/std_ios.h: Likewise.
5318         * include/bits/std_iosfwd.h: Likewise.
5319         * include/bits/std_iostream.h: Likewise.
5320         * include/bits/std_istream.h: Likewise.
5321         * include/bits/std_iterator.h: Likewise.
5322         * include/bits/std_list.h: Likewise.
5323         * include/bits/std_locale.h: Likewise.
5324         * include/bits/std_map.h: Likewise.
5325         * include/bits/std_memory.h: Likewise.
5326         * include/bits/std_numeric.h: Likewise.
5327         * include/bits/std_ostream.h: Likewise.
5328         * include/bits/std_queue.h: Likewise.
5329         * include/bits/std_set.h: Likewise.
5330         * include/bits/std_sstream.h: Likewise.
5331         * include/bits/std_stack.h: Likewise.
5332         * include/bits/std_stdexcept.h: Likewise.
5333         * include/bits/std_streambuf.h: Likewise.
5334         * include/bits/std_string.h: Likewise.
5335         * include/bits/std_utility.h: Likewise.
5336         * include/bits/std_valarray.h: Likewise.
5337         * include/bits/std_vector.h: Likewise.
5338         * include/bits/stringfwd.h: Likewise.
5339         * include/bits/type_traits.h: Likewise.
5340         * include/bits/valarray_array.h: Likewise.
5341         * include/bits/valarray_meta.h: Likewise.
5343 2001-02-19  Andreas Jaeger  <aj@suse.de>
5345         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5346         Fix typo.
5348 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
5350         libstdc++/1734
5351         * include/bits/std_ostream.h: Replaced usage of
5352         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5353         * include/bits/char_traits.h: Removed non-standard
5354         methods that cannot be used elsewhere.
5356         libstdc++/1885
5357         * include/bits/basic_ios.h: Uncommented #include of
5358         bits/basic_ios.tcc
5360         libstdc++/1897
5361         * include/bits/codecvt.h: See next...
5362         * include/bits/fstream.tcc: See next...
5363         * include/bits/ostream.tcc: Add __extension__
5364         to variable-length arrays.
5366         libstdc++/1967
5367         * include/bits/localefwd.h: Changed int counter type to size_t.
5369         libstdc++/1968
5370         * include/bits/std_fstream.h: Added typedef for __ctype_type.
5372 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
5374         * testsuite/21_strings/char_traits.cc: Move to ...
5375         * testsuite/21_strings/char_traits_requirements.cc: ..here.
5376         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5377         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5379 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
5381         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5382         definitions.
5384 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5386         * include/bits/c++config: Revert.
5388 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5390         * include/bits/istream.tcc: Use ios_base::iostate in place of
5391         iostate throughout.  Insert `typename' keyword where necessary.
5392         * include/bits/ostream.tcc: Insert `typename' keyword where
5393         necessary.
5395 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
5397         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5398         Define so library is compliant.
5400 2001-02-15  Anthony Green  <green@redhat.com>
5402         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5403         compilation.
5404         * aclocal.m4: Regenerate.
5405         * configure: Regenerate.
5407 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
5409         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5410         Include ieeefp.h for fpclass on UnixWare{2,7}.
5411         * aclocal.m4: Regenerate.
5412         * configure: Regenerate.
5413         * mkcheck.in (size_command): Do without GNU-grep when using
5414         size from binutils.
5416 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5418         Remove old ABI support from libsupc++.
5419         * libsupc++/cxxabi.h: Remove conditionally compiled code.
5420         * libsupc++/exception_support.cc: Likewise.
5421         * libsupc++/pure.cc: Likewise.
5422         * libsupc++/tinfo.cc: Likewise.
5423         * libsupc++/tinfo.h: Likewise.
5424         * libsupc++/tinfo2.cc: Likewise.
5425         * libsupc++/typeinfo: Likewise.
5426         * libsupc++/vec.cc: Likewise.
5428 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5430         Add support for -fno-exceptions.
5431         * include/bits/exception_support.h: Remove.
5432         * include/bits/basic_string.h: Remove exception_support.
5433         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5434         (string::at): Same.
5435         (string::substr): Same.
5436         * include/bits/basic_string.tcc (string::reserve): Replace
5437         __LENGTHERROR with __throw_length_error.
5438         (string::_S_create): Same.
5439         (string::resize): Same.
5440         (string::_M_replace): Same.
5441         (string::replace): Same.
5442         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5443         (string::compare): Same.
5444         * include/bits/stl_vector.h: Remove exception_support.
5445         * src/Makefile.am (base_headers): Remove here.
5446         * src/Makefile.in: Regenerate.
5448         * include/bits/stl_range_errors.h: Remove.
5449         * include/bits/stl_deque.h: Use __throw_range_error.
5450         * include/bits/std_deque.h: Include functexcept.h.
5451         * include/bits/std_vector.h: Same.
5452         * src/Makefile.am (base_headers): Remove here.
5453         * src/Makefile.in: Regenerate.
5454         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5455         * include/ext/bvector: Remove stl_range_errors.h
5457         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5459         * include/bits/functexcept.h: New file.
5460         * src/functexcept.cc: New file. Definitions for function-based
5461         exception routines.
5462         * src/Makefile.am (sources): Add functexcept.cc.
5463         * src/Makefile.in: Regenerate.
5465         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5466         __EXCEPTIONS.
5468         * include/bits/localefwd.h: Include functexcept.h.
5469         * include/bits/std_iosfwd.h: Same.
5471         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5472         throw basic_ios::failure.
5473         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5474         Use __throw_exception_again.
5475         (filebuf::_M_filebuf_init): Same.
5476         * include/bits/streambuf.tcc (__copy_streambufs): Same.
5477         * include/bits/ostream.tcc (ostream::operator<<): Same.
5478         * include/bits/istream.tcc (istream::operator>>): Same.
5479         * include/bits/basic_string.tcc (string::_M_mutate): Same.
5480         (string::_S_construct): Same.
5481         (string::_M_clone): Same.
5482         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5483         __throw_bad_cast.
5484         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5485         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5486         __throw_exception_again.
5487         (locale::_Imp::_Imp(string, size_t): Same.
5488         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5489         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5490         (locale::locale(const char*)): Use __throw_runtime_error.
5491         (locale::classic): Use __throw_exception_again.
5492         (locale::_S_normalize_category): Use __throw_runtime_error.
5494         * src/stdexcept.cc: Remove cruft.
5496         * libsupc++/exception_defines.h: New file.
5497         * libsupc++/new_opnt.cc: Include exception_defines.h.
5498         * libsupc++/vec.cc: Same.
5499         (__cxa_vec_new2): Use __throw_exception_again.
5500         (__cxa_vec_new3): Same.
5501         (__cxa_vec_ctor): Same.
5502         (__cxa_vec_delete3): Same.
5503         (__cxa_vec_cctor): Same.
5504         (__cxa_vec_delete2): Same.
5505         (__cxa_vec_dtor): Same.
5506         * libsupc++/exception_support.cc: Include exception_defines.h. Only
5507         compile exception-handling bits if __EXCEPTIONS is defined.
5508         Remove old ABI support.
5509         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5510         std::__throw_bad_alloc() instead of throw bad_alloc.
5511         * libsupc++/Makefile.am: Add exception_defines.h.
5512         * libsupc++/Makefile.in: Reformat.
5513         * libsupc++/*: Format.
5515 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
5517         * docs/html/configopts.html:  Minor updates and typo fixes.
5518         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
5519         * docs/html/faq/index.txt:  Regenerated.
5521 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
5523         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5524         dejagnu/dg.exp.  Adapt to log options used to run testcases.
5526 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5528         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5529         dejagnu/dg.exp.
5531 2001-02-13  Dirk Mueller <dmuell@gmx.net>
5532             Phil Edwards  <pme@sources.redhat.com>
5534         * include/backward/function.h:  Do not use rel_ops for older
5535           headers either.
5536         * include/backward/pair.h:  Likewise.
5538 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
5540         * src/locale.cc: Remove bogus locale::id definitions.
5542 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5544         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5545         not _DEFINE_VALARRAY_OPERATOR which is not existent.
5547         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5548         thinko in member initialisation.
5550 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5552         * include/bits/std_valarray.h(valarray<>::shift): Avoid
5553         comparaison between signed and unsigned integer types.
5554         (valarray<>::cshift): Reformat.
5556 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
5558         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5559         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5560         * configure.in: Test for sigsetjmp.
5561         * configure, config.h.in: Rebuilt.
5563 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5565         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5566         lengths and strides.
5567         (__gslice_to_index): Document.
5569 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5571         * include/bits/char_traits.h char_traits<char>::int_type: Change
5572         to `int' to match 21.1.3.1/2.
5574         * testsuite/21_strings/char_traits-int_type.C: New test.
5576 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
5578         * testsuite/Makefile.am: New file.
5580 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
5582         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5584 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
5586         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5588 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
5590         * configure.target (aix4*): Remove extra set of brackets.
5592 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
5594         Clean up stdexcept.
5595         * include/bits/stringfwd.h: New file.
5596         * include/bits/stl_string_fwd.h: Remove.
5597         * include/bits/localefwd.h: Remove declaration for allocator.
5598         * include/bits/std_iosfwd: Same.
5599         * include/bits/std_string.h: Include it.
5600         * include/bits/std_ios.h: Remove include.
5601         * include/bits/basic_string.h: Tweak.
5602         * libsupc++/new: Format.
5603         * src/Makefile.am (base_headers): Add stringfwd.h, remove
5604         stl_string_fwd.h
5605         * src/Makefile.in: Regenerate.
5606         * include/bits/std_stdexcept.h: Rewrite.
5607         * src/stdexcept.cc: Same.
5609 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5611         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5612         install locations too.
5613         * aclocal.m4: Regenerate.
5614         * configure.in: Remove USE_LIBDIR.
5615         * configure: Regenerate.
5616         * src/Makefile.am (toolexecdir): Simplify, use
5617         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5618         * src/Makefile.in: Regenerate.
5619         * libsupc++/Makefile.am: Same.
5620         * libsupc++/Makefile.in: Regenerate.
5622         * src/Makefile.am: Just remove special rules for locale-inst.cc and
5623         misc-inst.cc as no longer necessary.
5625         Follow C++STYLE for naming non-static functions.
5626         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5627         __pad_char.
5628         * include/bits/streambuf.tcc: Same.
5629         * include/bits/ostream.tcc: Same.
5630         * include/bits/istream.tcc: Same.
5631         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5632         (_S_output_float): To __output_float.
5633         * include/bits/std_streambuf.h (_S_copy_streambufs): To
5634         __copy_streambufs.
5635         * include/bits/locale_facets.tcc (_S_build_float_format): To
5636         __build_float_format.
5637         (_S_format): To __output_integer.
5638         (_S_fill): To __pad.
5639         * src/locale.cc: Same.
5640         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5641         names.
5642         * include/bits/locale_facets.tcc (_S_group_digits): To
5643         __group_digits.
5644         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5645         for collate, numpunct.
5647 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
5649         * docs/html/configopts.html:  Fix HTML markup.
5650         * docs/html/install.html:  Bring up to date.
5651         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
5652         * docs/html/21_strings/howto.html:  More notes.
5653         * docs/html/22_locale/howto.html:  Fix HTML markup.
5654         * docs/html/27_io/howto.html:  More notes.
5655         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
5656         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
5658 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
5660         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5661         to match header files.
5662         (_S_output_float): Likewise.
5663         (_S_copy_streambufs): Likewise.
5665 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
5666             Phil Edwards  <pme@sources.redhat.com>
5668         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
5669           use reinterpret_cast, not static_cast.
5671 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5673         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5674         * aclocal.m4: Regenerate.
5675         * configure: Regenerate.
5677 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5679         * include/bits/locale_facets.h (class moneypunct): Fix typos.
5680         * libsupc++/pure.cc: Revert.
5682 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5684         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5685         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5686         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5687         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5688         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5689         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5690         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5691         * aclocal.m4: Regenerate.
5692         * configure: Regenerate.
5694 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
5696         * include/bits/locale_facets.tcc: Remove `static' keyword on
5697         function definitions.
5698         * include/bits/std_streambuf.h: Likewise.
5699         * src/Makefile.am: Remove use of -fimplicit-templates.
5700         * src/Makefile.in: Regenerated.
5701         * src/locale-inst.cc: Explicitly instantiate more functions.
5702         * src/misc-inst.cc: Likewise.
5703         * src/string-inst.cc: Likewise.
5705 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5707         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5708         macro. Consolidate all the bits to do with where includes might be
5709         installed.
5710         * aclocal.m4: Regenerate.
5711         * configure.in: Use it.
5712         * configure: Regenerate.
5713         * src/Makefile.am (targetincludep): Use simplified rules.
5714         (targetincludep): Rename gxx_target_include_dir.
5715         (myincludep): Rename gxx_include_dir.
5716         * src/Makefile.in: Regenerate.
5717         * libsupc++/Makefile.am: Use simplified rules.
5718         * libsupc++/Makefile.in: Regenerate.
5720 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5722         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5723         * include/c_std/bits/std_cctype.h: Same.
5724         * include/c_std/bits/std_cassert.h: Same.
5725         * include/c_std/bits/std_cstdarg.h: Same.
5726         * include/c_std/bits/std_cstddef.h: Same.
5728         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5729         namespace std.
5730         * include/c_std/bits/std_ctime.h: Same.
5731         * include/c_std/bits/std_clocale.h: Same.
5732         * include/c_std/bits/std_cmath.h: Same.
5733         * include/c_std/bits/std_csetjmp.h: Same.
5734         * include/c_std/bits/std_csignal.h: Same.
5735         * include/c_std/bits/std_cstring.h: Same.
5736         * include/c_std/bits/std_cstdlib.h: Same.
5737         * include/c_std/bits/std_cwchar.h: Same.
5739 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
5741         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
5743 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
5745         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5746         (string::_S_construct): Likewise.
5748 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
5750         * testsuite/config/default.exp: New file.
5751         * testsuite/config: New directory.
5753 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
5755         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5756         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5757         whenever !__GXX_MERGED_TYPEINFO_NAMES.
5758         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5760 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
5761             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5763         * Makefile.am (mkinstalldirs): Set.
5764         * src/Makefile.am (mkinstalldirs): Set.
5765         * libmath/Makefile.am (mkinstalldirs): Set.
5766         * libsup++/Makefile.am (mkinstalldirs): Set.
5767         * libio/Makefile.am (mkinstalldirs): Set.
5768         * */Makefile.in: Regenerate.
5770 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
5772         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5773         * include/bits/localefwd.h: More initialization cleanups.
5775 2001-02-03  Jeffrey A Law  <law@cygnus.com>
5777         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5778         correctly targets with 16bit ints.
5779         (_S_ios_openmode_end): Similarly.
5780         (_S_ios_iostate_end): Similarly.
5781         (_S_ios_Seekdir_end): Similarly.
5783 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
5785         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
5787 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
5789         * configure.in (toplevel_srcdir, auxdir): Set.
5790         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5791         * aclocal.m4, configure, Makefile.in: Rebuilt.
5792         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5793         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5794         * libsupc++-v3/Makefile.in: Rebuilt.
5795         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5796         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5798 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
5800         * config/c_locale_generic.cc: Remove langinfo include.
5802 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
5804         Preliminary named locales.
5805         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5806         * aclocal.m4: Regenerate.
5807         * configure.in: Use it.
5808         * configure: Regerate.
5809         * src/Makefile.am (sources): Add c++locale.cc.
5810         (build_headers): Add c++locale.h.
5811         * src/Makefile.in: Regenerate.
5812         * config/c_locale_gnu.h: New file.
5813         * config/c_locale_gnu.cc: New file. Non-inline member functions
5814         for named locales, gnu-specific.
5815         * config/c_locale_generic.h: New file.
5816         * config/c_locale_generic.cc: New file. Non-inline member
5817         functions for named locales, generic version.
5818         * docs/html/configopts.html: Add documentation on new options.
5820         * include/bits/locale_facets.h (class _Messages): Remove.
5821         (class _Moneypunct): Remove.
5822         * src/locale-inst.cc: Remove.
5824         * include/bits/locale_facets.h (class _Collate): Remove.
5825         * src/locale-inst.cc (std): Remove.
5826         * src/locale.cc: And here.
5828         * include/bits/localefwd.h (locale::_M_coalesce): New
5829         function. Correctly put together multi-name locales.
5830         (_Impl(const _Impl&, category, size_t)): Remove.
5832         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5833         member functions.
5834         (_M_normalize_category_names): Remove.
5835         (_M_replace_categories): Fix.
5837         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5838         (locale::_Impl::_M_construct_ctype): Remove.
5839         (locale::_Impl::_M_construct_monetary): Remove.
5840         (locale::_Impl::_M_construct_numeric): Remove.
5841         (locale::_Impl::_M_construct_time): Remove.
5842         (locale::_Impl::_M_construct_messages): Remove.
5844         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5845         (_Use_facet_failure_handle): Remove.
5846         * src/locale.cc: Remove definitions.
5847         * src/locale-inst.cc: And here.
5849         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5851         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5852         create and error-check underlying locale object.
5853         (locale::facet::_S_destroy_c_locale): Add, take care of properly
5854         tearing down underlying locale object.
5855         * include/bits/localefwd.h (locale::facet): Declare.
5856         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5857         correctness, as glibc apparently has incorrect info in it. Test
5858         with it when it works again.....
5860         * include/bits/localefwd.h (locale::_Impl::__vec_string):
5861         Remove. Number of categories is fixed at six, so just simplify and
5862         make this an array of strings.
5863         (locale::_Impl::_M_has_name): Remove.
5864         (locale::_Impl::_M_name): Remove.
5865         (locale::_Impl::_M_category_names): Turns into...
5866         (locale::_Impl::_M_names): ...this.
5867         (locale::_Impl::_M_has_same_name()): New function.
5868         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5869         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5870         signature.
5871         * src/locale.cc (locale::name()): Construct mangled name
5872         accurately reflecting combined locale categories.
5874         * src/locale.cc (locale::classic()): Don't initialize here.
5875         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5876         __refs, bool __has_name, string __str): Do it here.
5878         * include/bits/localefwd.h: _S_categories_num to
5879         _S_num_categories. _S_facets_num to _S_num_facets.
5880         (locale::id::id()): Explicitly set _M_index to zero.
5881         * src/locale.cc: Same.
5883         * src/locale.cc: (locale::locale(const char*)): Construct named
5884         locales uniquely.
5886         * src/locale.cc: Remove numpunct_byname ctors.
5887         * testsuite/22_locale/numpunct_byname.cc: New file.
5888         * testsuite/22_locale/numpunct.cc: New file.
5890         * include/bits/localefwd.h (class locale): Change data members to
5891         protected, from private.
5892         (_Impl::_M_get_c_locale): Add member function.
5893         (locale::facet::_M_get_global_impl()): Add member function.
5894         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5895         a __c_locale pointer.
5896         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5897         named locales.
5898         * testsuite/22_locale/members.cc: New file, test name and combine.
5900         * include/bits/locale_facets.h (class numpunct): Remove class
5901         _Punct and _Numpunct. Rewrite class numpunct to be correct for
5902         named locales.
5903         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5904         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5905         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5906         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5907         * testsuite/22_locale/numpunct_char_members.cc: New file.
5909 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
5911         * testsuite/README: Add more comment.
5912         * testsuite/lib/libstdc++.exp: Tweak comment.
5914 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
5916         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5918 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
5920         * testsuite/21_strings/inserters_extractors.cc: Remove
5921         explicit reference to 'testsuite/'.
5923 2001-01-25  Richard Henderson  <rth@redhat.com>
5925         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5926         bits. Fixes Tru64 build issues.
5928 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5930         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5931         (use ${MAKE-make}, not ${MAKE:-make}).
5932         * aclocal.m4, configure: Regenerate.
5934 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
5936         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5937         checkin.
5939         * src/Makefile.am (sources): Add globals.cc.
5940         * src/Makefile.in: Regenerated.
5941         * src/globals.cc: New file.
5942         * src/ios.cc (cin): Don't define here, just declare extern.
5943         (cout): Likewise.
5944         (cerr): Likewise.
5945         (clog): Likewise.
5946         (wcin): Likewise.
5947         (wcout): Likewise.
5948         (wcerr): Likewise.
5949         (wclog): Likewise.
5951 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
5953         * include/bits/std_iterator.h:  Do not include stl_relops.h.
5954         * include/bits/std_numeric.h:  Ditto.
5955         * include/bits/stl_algobase.h:  Ditto.
5956         * include/bits/stl_relops.h:  Add comment warning about problems.
5958 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
5960         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5961         in testcases.  Prepare for the DejaGnu based framework.
5962         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
5963         directory -- it is now mkcheck working directory.
5964         * tests_flags.in: Remove reference to $(top_srcdir).  Use
5965         ${SRC_DIR} instead.
5966         * Makefile.am (check, check-install): Change mkcheck invocation
5967         logic.
5968         * Makefile.in: Regenerate.
5970 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
5972         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5973         (__always_swap): Likewise.
5975 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
5977         * libsupc++/exception_support.cc (__terminate_func): Remove
5978         declaration.
5979         (__terminate_func_ptr): New typedef.
5980         (__terminate, __terminate_set_func): New extern function
5981         prototypes.
5982         (std::terminate): Use __terminate function.
5983         (std::set_terminate): Use __terminate_set_func function.
5985 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
5987         * configure.target: Just use os_include_dir always.
5988         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5989         Link atomicity files and ctype files here.
5990         * configure: Regenerate.
5991         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5992         (GLIBCPP_ENABLE_ATOMICITY): Remove.
5993         * aclocal.m4: Regenerate.
5995 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
5997         * configure.in: Place definition of MULTISUBDIR in
5998         libsupc++/Makefile as is done for src/Makefile.
5999         * configure: Regenerate.
6001 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
6003         * acinclude.m4:  Cosmetic changes only.
6004         * aclocal.m4:  Regenerated.
6005         * configure:  Regenerated.
6006         * configure.target:  Update documented list of changed variables.
6007         * docs/html/install.html:  Fix typo.
6008         * docs/html/20_util/howto.html:  More notes on auto_ptr.
6009         * docs/html/27_io/howto.html:  More notes on streabufs.
6010         * docs/html/faq/index.html:  Add rel_ops problem and mention the
6011           DEC as(1) .subsection difficulty.
6012         * docs/html/faq/index.txt:  Regenerated.
6014 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
6016         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6017         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6018         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6019         its already provided in config.target.
6020         * aclocal.m4: Regenerated.
6021         * configure: Likewise.
6022         * configure.target: Set ctype_include_dir for lots of systems.
6023         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6024         * libsupc++/Makefile.in: Regenerated.
6026 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
6028         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
6029         keyword capability.
6031         * testsuite/README: Add comment.
6033 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
6035         * docs/html/configopts.html:  Update for current status.  Fix HTML.
6036         * docs/html/install.html:  Update for current status.
6038 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6040         * testsuite/libstdc++.tests/tests.exp: New file.
6041         * testsuite/lib/libstdc++.exp: Itou.
6042         * testsuite/README: Itou.
6044 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
6046         * tests_flags.in: Just output the bare minimum to run tests.
6047         Let's the caller do its own arrangement.
6049         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
6050         computations.
6052 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
6054         * testsuite/17_intro: Prepare testcases for new style DejaGnu
6055         framework.
6057 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
6059         * testsuite/libstdc++.tests, testsuite/lib: New directories.
6061 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
6063         * mkcheck.in: Construct file names that match $objdir structure.
6064         * testsuite/27_io/filebuf_members-1.txt: New file.
6065         * testsuite/27_io/ifstream_members-1.txt: New file.
6066         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6068         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6069         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6071 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6073         * testsuite/27_io/istream_sentry.cc (test02): Fix.
6075 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
6077         libstdc++/1605
6078         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6079         * src/ios.cc (ios_base::failure): Make definitions match.
6080         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6081         (class bad_cast): Same.
6082         * libsupc++/exception (class exception): Add throw specs.
6083         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6084         (set_unexpected): Same.
6085         (uncaught_exception): Same.
6086         (what): Same.
6088         * docs/html/17_intro/C++STYLE (classname): Fix.
6090 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
6092         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6093         Use it do explicitly instantiate predicate<T> and value<T> for
6094         all the builtin Ts.
6096 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
6098         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6099         uninitialized thinko in last change.
6101 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
6103         * libsupc++/exception_support.cc (__cp_pop_exception): Change
6104         prototype.
6106 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
6108         * docs/html/17_intro/C++STYLE (classname): Add more existing
6109         and stylish patterns.
6111         libstdc++/944
6112         * include/bits/istream.tcc (istream::sentry::sentry()): Set
6113         failbit if the state of the stream is not good.
6114         * testsuite/27_io/istream_sentry.cc (test02): Add test.
6115         * testsuite/27_io/istream_manip.cc (test01): Modify.
6117         libstdc++/1019
6118         reported by Paolo Carlini <pcarlini@unitus.it>
6119         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6120         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6122         libstdc++/1057
6123         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6124         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6125         (xsgetn): Same. Simplify.
6126         * testsuite/27_io/streambuf.cc (test04): Add testcases.
6128         reported by Larry Evans <jcampbell3@prodigy.net>
6129         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6130         equality with eof on returned value from overflow.
6132 2001-01-14  Andreas Jaeger  <aj@suse.de>
6134         * libio/libio.h: Add test for glibc 2.0.
6136 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
6138         * config/os/djgpp/bits/*: Fix dates.
6140         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6141         _CharT* __end, _CharT __c): Remove.
6142         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6143         * include/bits/char_traits.h: Tweak.
6145 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
6147         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6148         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6149         bash bug.
6150         * aclocal.m4: regenerated.
6151         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6152         * configure: regenerated.
6153         * config/os/djgpp, config/os/djgpp/bits: new directories.
6154         * config/os/djgpp/bits/ctype_base.h,
6155         config/os/djgpp/bits/ctype_inline.h,
6156         config/os/djgpp/bits/ctype_noninline.h,
6157         config/os/djgpp/bits/os_defines.h: new files.
6159 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
6161         * include/c_std/bits/std_cstdio.h: Undef printf.
6163 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
6165         * src/ios.cc: Fix typo: change cout->wcout.
6167         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6168         * src/Makefile.in: Regenerate.
6170 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6172          * include/bits/std_complex.h: Fix a typo.
6174 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
6175                              <kainz@ilm.com>
6177         Fixes for libstdc++/1576
6178         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6179         file, move contents into....
6180         * src/ios.cc: ...Here. Put defines for iostreams objects and
6181         initialization routines into one file to simplify DSO interaction.
6182         * include/bits/std_iostream.h: Touch.
6183         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6184         * src/Makefile.am (sources): Remove stdstreams.cc.
6185         * src/Makefile.in: Regenerate.
6187 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6189         * tests_flags.in (check_directory): Fix typo.
6191 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6193          * include/bits/std_complex.h: Fix a typo.
6195 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
6197         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6198         code path:) Remove magic constants and restructure to handle
6199         ctype.h bit mask layout changes more gracefully.  (Make fast
6200         code path:) Use __maskrune (), if available.
6201         (is): Remove special case for digit and xdigit masks.
6203 2001-01-09  Robert Lipe <robertlipe@usa.net>
6205         * include/c_std/bits/std_ctime.h: Undefine difftime.
6207 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
6209         * src/gen-num-limits.cc (signal_adapter): New template function.
6210         (signal_handler): Use it, instead of signal.
6211         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
6212         require both tests to trap to set trap_flag.
6214 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6216         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6217         initialize mbstate_t member, name offset data members *off, not pos.
6218         * include/bits/fstream.tcc (filebuf::filebuf): Same.
6220 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6222         reported by Chris G. Demetriou <cgd@sibyte.com>
6223         * configure.in: Change -linux-* to -linux*.
6224         * configure: Regenerate.
6226 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
6228         Fix 27_io/filebuf_members.cc
6229         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6230         const string& __name, category __cat, size_t __refs): Set
6231         _M_has_name with _M_name.
6232         * include/bits/localefwd.h (locale::operator!=): Protect member
6233         function call with this->.
6234         * src/locale.cc (locale::operator==): Make fast checks first.
6235         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6237         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6238         to ios_base::Init.
6239         * src/ios.cc (ios_base::Init::Init): Initialize here.
6240         (ios_base::sync_with_stdio): Set here.
6242 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
6244         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6245         systems that support it, call dup() before fdopen().
6247 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
6249         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6250         * testsuite/17_intro/header_cwctype.cc (main): New file.
6252         * src/Makefile.am (base_headers): Change.
6253         * include/bits/std_string.h: And here.
6254         * include/bits/string.tcc: Tweaks, move to...
6255         * include/bits/basic_string.tcc: ...Here.
6256         * src/string-inst.cc: Simplify, just instantiate the whole class,
6257         not member-by-member.
6259 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
6261         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6262         * aclocal.m4: Regenerate.
6263         * configure: Regenerate.
6265         * include/bits/c++config (__GLIBCPP__): Bump version number.
6267         * ChangeLog: Start new log for year 2001
6268         * ChangeLog-2000: New file.
6270         * docs/html/configopts.html: Make sure default values are current,
6271         add commentary.
6273 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
6275         * include/c_std/bits/std_cwchar.h: Same.
6276         * testsuite/17_intro/header_cwchar.cc: Same.
6277         * include/c_std/bits/std_ctime.h: Same.
6278         * testsuite/17_intro/header_ctime.cc: Same.
6279         * include/c_std/bits/std_cstdlib.h: Same.
6280         Clean up undefs, make consistent with cwchar and cmath, etc.
6281         * testsuite/17_intro/header_cstdlib.cc: Same.
6282         * include/c_std/bits/std_cstdio.h: Same here.
6283         * testsuite/17_intro/header_cstring.cc: Same.
6284         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6285         * testsuite/17_intro/header_cstring.cc: New file. Check for
6286         size_t in namespace std.
6288         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6289         * acconfig.h (HAVE_MBSTATE_T): Add.
6290         * config.h.in: Regenerate.
6291         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6292         mbstate_t.
6293         * aclocal.m4: Regenerate.
6294         * configure: Regenerate.
6295         * testsuite/17_intro/headers_c++.cc: New file.
6296         * testsuite/17_intro/headers_c.cc: Small changes.
6298 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
6300         * tests_flags.in: Fix typo in usage.
6302         * tests_flags.in: Set target specific LIBS for cygwin.