Enable -ftrapping-math by default.
[official-gcc.git] / libstdc++-v3 / ChangeLog-2001
blobe7d658febc052f8a0756ba14347476ae6e8338d5
1 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
3         * include/ext/iterator:  Add #include <bits/std_iterator.h>, tweak.
4         * testsuite/ext/headers.cc:  Add <ext/iterator>.
6 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
8         * include/backward/algo.h:  Add two more using declarations.
9         * include/backward/iterator.h:  Include <ext/iterator>,
10         add using declaration.
11         * include/ext/algorithm:  Add #pragma GCC system_header.
13 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
15         * include/bits/stl_bvector.h:  Change calls to 3-argument distance()
16         into standard 2-argument version.
17         * include/bits/stl_deque.h:  Likewise.
18         * include/bits/stl_tempbuf.h:  Likewise.
19         * include/bits/stl_tree.h:  Likewise.
20         * include/bits/stl_vector.h:  Likewise.
21         * include/ext/stl_hashtable.h:  Likewise.
22         * include/bits/stl_iterator_base_funcs.h:  Move distance() extension...
23         * include/ext/iterator:  to here.  New file.
24         * include/Makefile.am (ext_headers):  Add new file, alphabetize.
25         * include/Makefile.in:  Regenerate.
27 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
29         * include/bits/stl_deque.h:  Doxygenate with initial/example hooks.
30         Clean up spacing and indentation.
32 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
34         * include/ext/slist:  Move into __gnu_cxx,
35         tweak, add using declarations.
37 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
39         * include/ext/hash_map:  Move into __gnu_cxx,
40         tweak, add using declarations.
41         * include/ext/hash_set:  Ditto.
42         * include/ext/ropeimpl.h:  Ditto.
43         * include/ext/stl_hash_fun.h:  Ditto.
44         * include/ext/stl_hashtable.h:  Ditto.
45         * include/ext/stl_rope.h:  Ditto.
46         * src/ext-inst.cc: Tweak.
47         * testsuite/ext/rope.cc: Tweak.
49 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
51         * include/backward/algo.h:  Include <ext/algorithm>,
52         tweak using declarations.
54 2001-12-29  Richard Henderson  <rth@redhat.com>
56         * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
57         * config/os/hpux/bits/cpu_limits.h: New file.
58         * configure.target (CPULIMITSH): Use it.
60 2001-12-28  Richard Henderson  <rth@redhat.com>
62         * config/cpu/ia64/bits/cpu_limits.h: New file.
63         * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
64         * configure.target (CPULIMITSH): Use them.
66 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
68         * include/bits/c++config:  Move doxygen hook comment...
69         * docs/doxygen/doxygroups.cc:  ...to here.
71 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
73         PR libstdc++/2054
74         * include/bits/stl_algo.h (lower_bound):  Relax concept checks.
75         * testsuite/ext/concept_checks.cc:  New file.
77 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
79         * include/bits/stl_algo.h (count returning void,
80         count_if returning void, __random_sample, random_sample,
81         random_sample_n, __is_heap, is_heap, is_sorted):  Move to...
82         * include/ext/algorithm:  ...here, new file.
83         * include/Makefile.am (ext_headers):  Add new file.
84         * include/Makefile.in:  Regenerate.
85         * testsuite/ext/headers.cc:  Include <ext/algorithm>.
87 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
88             Nathan Myers  <ncm@cantrip.org>
90         * include/bits/basic_string.h (insert(__pos, __s, __n)):
91         Optimize by avoiding temporaries and working in-place when possible.
92         (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
93         (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
94         * testsuite/21_strings/insert.cc (test02): New testcases.
96 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
98         * testsuite/testsuite_hooks.h (gnu_counting_struct):  Add.
99         * testsuite/23_containers/deque_ctor.cc:  New file.
101 2001-12-27  Paolo Carlini  <pcarlini@unitus.it>
103         * include/bits/locale_facets.tcc (collate::do_transform):
104         Adjust implicit typename.
105         * config/locale/messages_members_generic.h (messages::open,
106         messages::do_open, messages::do_get): Adjust implicit typename.
107         * config/locale/messages_members_gnu.h (messages::open,
108         messages::do_open, messages::do_get): Adjust Implicit typename.
109         * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
110         messages::do_open, messages::do_get): Adjust implicit typename.
112 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
114         PR libstdc++/3829
115         * src/misc-inst.cc:  Many additional I/O-related instantiations.
116         * testsuite/27_io/instantiations.cc:  New file.
118 2001-12-26  Benjamin Kosnik  <bkoz@waller.constant.com>
120         * testsuite/24_iterators/insert_iterator.cc (test02): Add.
121         * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
122         * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
123         * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
125         * include/bits/stl_iterator.h (reverse_iterator): Uglify member
126         current to _M_current.
127         (back_insert_iterator): Uglify member container to _M_container.
128         (front_insert_iterator): Same.
129         (insert_iterator): Same.
131 2001-12-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
133         * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
134         macros for signed types; default value is true.
135         (numeric_limits<>::is_modulo): Get value from corresponding
136         __glibcpp_xxx_is_modulo macro.
138 2001-12-23  Jeffrey A Law  <law@redhat.com>
140         * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
141         Twiddle return types for strtoll and strtoull to avoid using
142         intmax_t and uintmax-t.
144 2001-12-22  Richard Henderson  <rth@redhat.com>
146         * configure.target (CPULIMITSH): Fix typo in alpha case.
148 2001-12-22  Jeffrey A Law  <law@redhat.com>
150         * config/os/hpux/bits/os_defines.h: Update to avoid #defines
151         for strtoll and strtoull.
153 2001-12-21  Jeffrey A Law  <law@redhat.com>
155         * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
156         Define strtoll and strtoull.  Provide prototypes for
157         __strtoll and __strtoull.  Define _GLIBCPP_USE_LONG_LONG
158         unconditionally.
160         * src/locale-inst.cc: Include <bits/std_cstdlib.h>
162         * configure.target: Fix typo in hpux case.
164 2001-12-21  Paolo Carlini  <pcarlini@unitus.it>
166         * include/ext/stl_rope.h (_Rope_iterator):
167         Add local typedef to fix implicit typename problems.
169 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
171         * docs/doxygen/Intro.3:  New 'Allocators' module.
172         * docs/doxygen/TODO:  Update.
173         * docs/doxygen/doxygroups.cc:  Update.
174         * docs/doxygen/run_doxygen:  Update.
176         * include/bits/stl_alloc.h:  Tweak doxygen hooks in comments.
177         * include/bits/std_memory.h:  Doxygenate.
178         * include/bits/stl_iterator_base_types.h:  Likewise.
179         * include/bits/stl_raw_storage_iter.h:  Likewise.
180         * include/bits/stl_tempbuf.h:  Likewise.
181         (get_temporary_buffer):  Remove unused nonstandard overload.
182         * include/bits/stl_uninitialized.h:  Likewise.
184         * include/bits/stl_iterator_base_types.h (input_iterator,
185         output_iterator, forward_iterator, bidirectional_iterator,
186         random_access_iterator):  Move old names...
187         * include/backward/iterator.h:  ...to here.
188         * include/bits/stl_bvector.h:  Update.
189         * include/ext/stl_rope.h:  Update.
191 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
193         * docs/html/configopts.html:  Describe recent options.
194         * docs/html/documentation.html:  Point to new doxygen tarballs.
195         * docs/html/install.html:  Brief updates.
196         * docs/html/17_intro/RELEASE-NOTES:  Remove weird control character.
197         * docs/html/ext/howto.html:  Fix typos, describe filebuf::fd().
198         * docs/html/faq/index.html:  Update for 3.0.95.
199         * docs/html/faq/index.txt:  Regenerate.
201 2001-12-19  David Billinghurst <David.Billinghurst@riotinto.com>
203         libstdc++-v3/5148
204         * testsuite/lib/libstdc++-v3-dg.exp:  Append .exe to
205         executable filenames
207 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
209         * docs/html/17_intro/TODO: Update.
210         * docs/html/17_intro/RELEASE-NOTES: Edits, update.
211         * README: Edit for clarity, update to reflect current directory
212         structure.
214 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
216         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
217         enabling gnu model.
218         * aclocal.m4: Rebuild.
219         * configure: Rebuild.
221 2001-12-18  Paolo Carlini  <pcarlini@unitus.it>
222             Nathan Myers  <ncm@cantrip.org>
224         * include/bits/basic_string.h (assign(__str, __pos, __n)):
225         Call assign(__s, __n).
226         (assign(__s, __n)): Terminate the string with _S_terminal.
228 2001-12-17  Benjamin Kosnik  <bkoz@redhat.com>
230         * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
231         Set to true, like float and double.
233 2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
235         libstdc++/5136
236         * testsuite/lib/prune.exp: New file
237         * testsuite/lib/libstdc++-v3-dg.exp: Use it
239 2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
241         * include/bits/basic_file.h (__basic_file::fd):  New function.
242         * config/io/basic_file_stdio.h (__basic_file::fd):  Define.
243         * include/bits/std_fstream.h (basic_filebuf::fd):  New function.
244         * include/bits/fstream.tcc (basic_filebuf::fd):  Define.
245         * testsuite/27_io/filebuf_members.cc (test_02):  New test.
247 2001-12-16  Nathan Sidwell  <nathan@codesourcery.com>
249         * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
250         * po/Makefile.in: Regenerated.
252 2001-12-16  Paolo Carlini  <pcarlini@unitus.it>
254         * testsuite/21_strings/assign.cc (test01): Add tests.
256 2001-12-15  Paolo Carlini  <pcarlini@unitus.it>
257             Nathan Myers  <ncm@cantrip.org>
259         * include/bits/basic_string.h
260         (assign(__str, __pos, __n), assign(__s, __n)):  Optimize
261         by avoiding unnecessary temporaries.
262         (assign(__s)): Call assign(__s, __n).
263         * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
264         * include/bits/std_string.h: include stl_function.h.
265         * testsuite/21_strings/assign.cc (test02, test03): New tests.
267 2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
269         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
270         on linux by default.
271         * aclocal.m4: Regenerate.
272         * configure: Regenerate.
274 2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
276         Clean up initialization and simplify caching of underlying "C"
277         default locale objects.
278         * src/localename.cc (locale::_Impl::_Impl(string, size_t):
279         Unconditionally create __clocale object for all named locales,
280         including "C" and "POSIX".
281         * config/locale/c_locale_generic.cc
282         (locale::facet::_S_create_c_locale): Always set __cloc to zero.
283         * config/locale/c_locale_gnu.cc: Always delete.
284         * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
285         * src/locale.cc (locale::classic()): Initialize
286         locale::facet::_S_c_locale.
287         (locale::facet::_S_c_locale): Define.
289         * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
290         specialization.
291         * src/locale.cc: Add definition here.
292         * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
293         * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
294         * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
295         Adjust ctors, dtors.
296         (ctype<char>::_M_toupper): Remove const&.
297         (ctype<char>::_M_tolower): Remove const&.
298         (ctype<char>::_M_ctable): Remove const&.
300         * include/bits/locale_facets.h (collate): Clean up initialization
301         of _M_c_locale_collate in ctors and dtors.
302         * config/locale/collate_members_gnu.cc: Always use extended
303         functions.
305         * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
306         (messages_byname): Same.
307         * config/locale/messages_members_generic.h (messages::~messages):
308         Remove.
309         * config/locale/messages_members_gnu.h: Same.
311         * include/bits/localefwd.h: Clean. Move dtor definitions to
312         * src/locale.cc: Here.
313         * testsuite/22_locale/facet.cc: Fix spelling.
315         Named locale support for ctype<wchar_t>.
316         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
317         ctype_members_* bits.
318         * aclocal.m4: Regenerate.
319         * configure: Regenerate.
320         * src/Makefile.am (sources): Add ctype.cc.
321         * src/Makefile.in: Regenerate.
322         * config/locale/ctype_members_generic.cc: New file.
323         * config/locale/ctype_members_gnu.cc: New file.
324         * src/locale.cc: Remove ctype<wchart_t> definitions.
326 2001-12-13  Roger Sayle <roger@eyesopen.com>
328         * acconfig.h: Test for __builtin_sqrt instead of
329         __builtin_fsqrt.
330         * acinclude.m4: Same.
331         * include/c_shadow/bits/std_cmath.h: Same.
332         * aclocal.m4: Regenerated.
333         * config.h.in: Regenerated.
334         * configure: Regenerated.
336 2001-12-13  Phil Edwards  <pme@gcc.gnu.org>
338         * docs/html/ext/howto.html:  Fix typos.
340 2001-12-13  Benjamin Kosnik  <bkoz@redhat.com>
342         libstdc++/3679
343         * src/locale.cc (locale::locale(const char*)): Deal with locales
344         named "".
345         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
347 2001-12-12  Paolo Carlini  <pcarlini@unitus.it>
349         * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
350         _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
351         _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
352         : Adjust implicit typename.
353         * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
354         Adjust implicit typename.
355         * testsuite/27_io/streambuf.cc: Adjust implicit typename.
357 2001-12-12  Benjamin Kosnik  <bkoz@redhat.com>
359         Named locale support for ctype<char>.
360         * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
361         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
362         definitions for alternate constructor.
363         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
364         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
365         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
366         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
367         * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
368         * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
369         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
370         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
371         * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
372         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
373         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
374         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
375         * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
376         definitions for all virtual functions. These are now explicitly
377         undefined for non-required factets, ie any non-char, non-wchar_t
378         instantiations.
379         * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
380         locales use alternate constructor for ctype facet.
381         * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
382         mask*, bool, size_t): Add.
383         (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
384         * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
385         definition.
387         * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
388         XFAIL for non-gnu locale models.
390 2001-12-12  Philip Martin  <philip@codematters.co.uk>
391             Ross Smith     <r-smith@ihug.co.nz>
392             Paolo Carlini  <pcarlini@unitus.it>
394         libstdc++/5045
395         * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
396         Fix digits10 values for integral types.
397         * include/bits/locale_facets.tcc (num_get::do_get for integral types):
398         Tweak _M_extract_int call.
399         * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
400         Tweak overflowing number of digits.
401         * testsuite/18_support/numeric_limits.cc (test03): New testcase.
403 2001-12-11  Benjamin Kosnik  <bkoz@redhat.com>
405         * config/os/generic/bits/ctype_inline.h: Remove spaces.
406         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
407         * include/bits/locale_facets.h (__num_base): Move double data
408         members to first in class.
409         * include/bits/locale_facets.tcc: Re-arrange, tweak.
410         * src/locale.cc: Clean.
411         *include/bits/stl_vector.h: Space typedefs.
413 2001-12-11  Phil Edwards  <pme@gcc.gnu.org>
415         * testsuite/ext/allocators.cc:  New file.
417 2001-12-11  Jason Merrill  <jason@redhat.com>
419         * include/bits/locale_facets.tcc (_M_extract_int): Avoid
420         uninitialized warning.
422 2001-12-11  Loren Rittle <ljrittle@acm.org>
424         * config/cpu/sparc/sparc32/bits/atomicity.h
425         (__Atomicity_lock<0>::_S_atomicity_lock): Add.
427 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
429         * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
430         * include/bits/basic_string.h:  Fix typos.
432 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
433             Nathan Myers  <ncm@cantrip.org>
435         * include/bits/basic_string.tcc (_M_replace_safe):  New function.
436         (_M_replace(input_iterator_tag), append members):  Use it.
437         (_M_replace(forward_iterator_tag)):  Remove.
438         * include/bits/basic_string.h:  Adjust declarations.
439         * src/string-inst.cc:  Adjust declarations.
441 2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
442             Philip Martin <pmartin@uklinux.net>
444         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
445         (__num_base::_S_scale_oct): Add.
446         * include/bits/locale_facets.tcc (_M_extract_int): Use them.
447         * src/locale.cc: Add definitions.
448         * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
450         * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
452 2001-12-07  Nathan Myers  <ncm@cantrip.org>
453             Loren Rittle <ljrittle@acm.org>
455         libstdc++/5037
456         * config/cpu/sparc/sparc32/bits/atomicity.h
457         (struct __Atomicity_lock<__inst>): Add.
458         (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
459         (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
460         instead of lock local to static function.
461         (__atomic_add): Likewise.
463 2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
465         * src/globals.cc:  Remove __GTHREADS guard.
467 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
469         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
470         Extend comment, reduce __cs_size for non-fixed outputs.
472 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
474         * include/bits/basic_string.tcc (_M_mutate): Fix typo
475         in the previous check in.
477 2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
478             Loren J. Rittle <ljrittle@acm.org>
480         * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
481         exponential growth policy to meet linear amortized time
482         requirements of the standard.
483         (_S_create): Adjust comment.
485 2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
487         libstdc++/3720
488         * include/bits/locale_facets.tcc (num_put): Clean.
489         (num_get::_M_extract_float): Change argument to string.
490         (num_get::do_get(float)): Fixup.
491         (num_get::do_get(double)): Same.
492         (num_get::do_get(long double)): Same.
493         (num_get::_M_extract_int): Add maximum length parameter, __max.
494         (num_get::_M_extract_float): Correct zeros, use string.
495         * include/bits/locale_facets.h (num_get::_M_extract_float): Change
496         declaration here.
497         * src/locale.cc (__num_base::_S_atoms): Remove x, X.
498         * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
500 2001-12-06  Philip Martin  <pmartin@uklinux.net>
502         * testsuite/27_io/istream_extractor_arith.cc (test12): Add
503         tests for excess input digits.
505 2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
507         * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
508         * include/bits/stl_algo.h:  Likewise.
509         * include/bits/stl_algobase.h:  Likewise.
510         * include/bits/stl_bvector.h:  Likewise.
511         * include/bits/stl_deque.h:  Likewise.
512         * include/bits/stl_function.h:  Likewise.
513         * include/bits/stl_iterator.h:  Likewise.
514         * include/bits/stl_iterator_base_funcs.h:  Likewise.
515         * include/bits/stl_iterator_base_types.h:  Likewise.
516         * include/bits/stl_list.h:  Likewise.
517         * include/bits/stl_multimap.h:  Likewise.
518         * include/bits/stl_multiset.h:  Likewise.
519         * include/bits/stl_pair.h:  Likewise.
520         * include/bits/stl_queue.h:  Likewise.
521         * include/bits/stl_set.h:  Likewise.
522         * include/bits/stl_stack.h:  Likewise.
523         * include/bits/stl_tempbuf.h:  Likewise.
524         * include/bits/stl_tree.h:  Likewise.
525         * include/bits/stl_vector.h:  Likewise.
527         * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
528         Doxygenate more comments.  Correct historical artifacts in comments.
529         (alloc, single_alloc):  Uglify non-standard names.
530         (__default_alloc_template::_NFREELISTS):  Calculate from other
531         parameters.
532         (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
533         (__default_alloc_template::_Lock):  Mark as "unused".
534         * include/backward/alloc.h:  Update.
535         * include/bits/stl_bvector.h:  Likewise.
536         * include/ext/ropeimpl.h:  Likewise.
537         * include/ext/stl_hashtable.h:  Likewise.
539 2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
541         DR/282
542         * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
543         grouping to floating point types.
544         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
546 2001-12-04  Paolo Carlini <pcarlini@unitus.it>
548         libstdc++/4402
549         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
550         from the PR.
551         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
552         Deal properly with long ios_base::fixed floats.
553         (num_put::_M_widen_float): use
554         __len in __builtin_alloca call.
556 2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
558         * src/Makefile.am (sources): Add ext-inst.cc.
559         * src/Makefile.in: Regenerate.
560         * src/ext-inst.cc: New file.
561         * include/bits/stl_threads.h: Format.
562         * src/globals.cc: Add instantiation for _S_swap_lock.
564         * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
565         instantiation.
567 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
569         * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
570         and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
571         * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
572         for explicit instantiation of class std::basic_string<char,
573         gnu_char_traits, std::allocator<char> >.
575 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
577         * testsuite/22_locale/collate.cc: Compile-only.
578         * testsuite/22_locale/time_get.cc: Same.
579         * testsuite/22_locale/time_put.cc: Same.
580         * testsuite/22_locale/numpunct.cc: Same.
581         * testsuite/22_locale/num_put.cc: Same.
582         * testsuite/22_locale/num_get.cc: Same.
583         * testsuite/22_locale/moneypunct.cc: Same.
584         * testsuite/22_locale/money_get.cc: Same.
585         * testsuite/22_locale/messages.cc: Same.
586         * testsuite/22_locale/ctype.cc: Same.
588 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
590         * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
591         member instantiations.
593 2001-12-03  Steve Ellcey  <sje@cup.hp.com>
595         * libstdc++-v3/configure.in: Add support for hpux cross compiles,
596         combine common linux/hpux/generic cross compile support to reduce
597         redundent lines.
598         * libstdc++-v3/configure: Regenerate.
600 2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
602         * docs/html/ext/howto.html: Update commentary.
603         * include/bits/c++config: Update threading configuration comment.
604         (__STL_GTHREADS): Remove macro definition.
605         (__STL_THREADS): Likewise.
606         * include/bits/stl_threads.h: Leave only the configuration
607         path which had been guarded by __STL_GTHREADS.  Remove all
608         guards related to __STL_GTHREADS, __STL_SGI_THREADS,
609         __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
610         * include/bits/stl_alloc.h: Leave only the configuration path
611         which had been guarded by __STL_THREADS.  Remove configuration
612         path and guards for __STL_SGI_THREADS.
613         (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
614         (__NODE_ALLOCATOR_LOCK): Likewise.
615         (__NODE_ALLOCATOR_UNLOCK): Likewise.
616         (_NOTHREADS): Remove guards related to macro.
617         * include/ext/stl_rope.h: Remove configuration path and guards
618         for __STL_SGI_THREADS.
619         * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
621 2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
623         * docs/html/ext/howto.html:  Update list of implemented DRs.
624         * docs/html/ext/lwg-active.html:  Import R20 from upstream.
625         * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
627 2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
629         libstdc++/3150
630         DR/266
631         * libsupc++/exception (bad_exception::~bad_exception()): Remove
632         declaration.
633         * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
634         * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
635         (bad_typeid::~bad_typeid()): Remove.
636         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
637         (bad_typeid::~bad_typeid()): Same.
638         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
639         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
641         * include/bits/std_iomanip.h: Tweak.
643 2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
645         libstdc++/3655
646         * include/bits/locale_facets.tcc (__pad): Add bool parameter to
647         correctly pad internal-adjusted const char*-type objects.
648         * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
649         * include/bits/ostream.tcc (operator<<(_CharT , char, const
650         _CharT*, const char*, const basic_string&): Update calls.
651         * src/locale-inst.tcc: Update declarations.
652         * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
654 2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
656         * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
658 2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
660         * include/bits/locale_facets.tcc (num_get::do_get(long double)):
661         Fix __traits_type typo.
663 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
665         * include/bits/locale_facets.tcc (__pad): Correctly pad
666         internal-adjusted hex numbers.
667         * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
669 2001-11-28  Paolo Carlini <pcarlini@unitus.it>
670             Loren J. Rittle <ljrittle@acm.org>
672         * include/bits/basic_string.h
673         (basic_string::_Rep::__default_excess, _S_excess_slop):
674         Unused, remove.
675         * include/bits/basic_string.tcc: Remove dead code.
676         * include/bits/c++config: Remove comment.
678 2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
679             Jakub Jelinek  <jakub@redhat.com>
681         * config/locale/moneypunct_members_gnu.cc
682         (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
683         for ia64, others.
684         * config/locale/numpunct_members_gnu.cc
685         (numpunct<wchar_t>::_M_initialize_numpunct): Same.
687 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
689         * include/bits/locale_facets.tcc: Formatting tweaks.
691         * testsuite/23_containers/map_operators.cc: Don't xfail.
692         * testsuite/23_containers/set_operators.cc: Same.
693         * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
694         * testsuite/backward/header_deque_h.cc: Same.
696 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
697             Paolo Carlini  <pcarlini@unitus.it>
699         * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
700         Enforce allocation size blocking policy to reduce
701         fragmentation and enhance performance with common malloc
702         implementations.
704 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
706         Numeric facets cleanup.
707         * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
708         + and - signs.
709         (__num_base::_M_zero): Add
710         (__num_base::_M_e): Add.
711         (__num_base::_M_E): Add.
712         * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
713         (num_get::_M_extract_float): New.
714         (num_get::_M_extract_int): New.
715         * src/locale.cc (num_get::_M_extract): Remove.
717         * include/bits/locale_facets.tcc (num_put::_M_insert_float):
718         Simplify, use _M_insert.
719         (num_put::do_put(bool)): Simplify, remove __pad.
720         (__pad): Remove.
721         (__pad_output): Change to __pad.
722         * include/bits/ostream.tcc: And here.
723         * src/locale-inst: Remove instantiations.
725         * include/bits/locale_facets.h: Move helper functions in to class
726         num_put.
727         (num_put::_M_insert_float): Same, for __output_integer.
728         (num_put::_M_insert_int): Same, for __output_float.
729         (num_put::_M_insert): New.
730         (__num_base): Add.
731         (__num_base::_S_format_float): Move
732         __build_float_format into class __num_base.
733         (__num_base::_S_format_int): Move __build_int_format into class
734         __num_base.
735         * include/bits/locale_facets.tcc (__group_digits): Change to
736         (__add_grouping): This.
737         * src/locale-inst.cc: And here. Tweak instantiations.
738         * src/misc-inst.cc: Remove instantiations.
740         * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
741         for new calling conventions, move to...
742         * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
743         signature to make it useful for both ostream and num_put.
744         (__pad_numeric): Remove.
745         * src/misc-inst.cc: Remove instantiations.
746         * src/locale-inst.cc: Same.
748         * include/bits/locale_facets.h (_Numeric_get): Remove.
749         (_Numeric_put): Remove.
750         (num_get::get(short)): Remove.
751         (num_get::get(int)): Remove.
752         (num_get::do_get(short)): Remove.
753         (num_get::do_get(int)): Remove.
754         * include/bits/istream.tcc (istream::operator>>(short)): Fix as
755         per DR 118.
756         (istream::operator>>(int)): Same.
758         * include/bits/locale_facets.h (_Format_cache): Remove.
759         * include/bits/locale_facets.tcc: Same.
760         * src/locale.cc: Same.
761         * src/locale-inst.cc: Same.
762         * include/bits/ostream.tcc: Same.
763         * src/ios.cc (ios_base::imbue): Remove here as well.
765         * testsuite/22_locale/num_get.cc: New file.
766         * testsuite/22_locale/num_get_members_char.cc: New file.
767         * testsuite/22_locale/num_get_members_wchar_t.cc: New.
768         * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
769         * testsuite/22_locale/num_put.cc: New file.
770         * testsuite/22_locale/num_put_members_char.cc: New file.
771         * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
772         * testsuite/27_io/ostream_inserter_arith.cc: Fix.
773         * testsuite/27_io/istream_extractor_arith.cc: Fix.
775 2001-11-27  Phil Edwards  <pme@gcc.gnu.org>
777         * docs/html/explanations.html:  New section, empty for now.
778         * docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
779         * docs/html/23_containers/howto.html:  ...to here.  Break up and
780         rewrap threading discussion to emphasize warning.  Move malloc text...
781         * docs/html/ext/howto.html:  ...to here.  New section.  Describe
782         allocators and __USE_MALLOC effects.
783         * docs/html/ext/sgiexts.html:  Mention their code.
785 2001-11-24  Joseph S. Myers  <jsm28@cam.ac.uk>
787         * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
788         docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
789         changes.
791 2001-11-23  Phil Edwards  <pme@gcc.gnu.org>
793         * Makefile.am (doxygen-maint):  The script isn't executable in CVS.
794         * Makefile.in:  Regenerated.
795         * docs/doxygen/TODO:  New file listing doxygen work to be done.
796         * docs/doxygen/run_doxygen:  Fix up man pages.
797         * docs/doxygen/user.cfg.in:  Insert maint-only toggles.
798         * docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
799         * include/bits/stl_construct.h:  Use new hooks for internal functions.
801         * docs/html/17_intro/TODO:  Small updates.
802         * docs/html/faq/index.html:  Likewise.
803         * docs/html/faq/index.txt:  Regenerated.
805         * include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
806         SGI-isms and wrappers.
807         (simple_alloc, debug_alloc):  Uglify class names.
808         (__default_alloc_template):  Uglify "threads" template parameter and
809         update corresponding macros.
810         * include/backward/alloc.h:  Bring up to date.
812 2001-11-23  Jason Merrill  <jason@redhat.com>
814         * src/vterminate.cc (__verbose_terminate_handler): Add leading
815         underscores.
817 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
819         * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
820         docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
821         docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
822         docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
823         docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
824         docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
825         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
826         docs/html/21_strings/howto.html,
827         docs/html/23_containers/howto.html,
828         docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
829         docs/html/27_io/binary_iostreams_kuehl.txt,
830         docs/html/ext/sgiexts.html, docs/html/faq/index.html,
831         docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
832         include/bits/basic_file.h, include/bits/locale_facets.h,
833         include/bits/locale_facets.tcc, include/bits/std_sstream.h,
834         include/ext/ropeimpl.h, include/ext/stl_rope.h,
835         libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
836         libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
837         configure.target, ChangeLog-2000: Fix spelling errors.
839         * config/locale/moneypunct_members_gnu.cc,
840         include/bits/locale_facets.h: Fix spelling errors.
842 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
844         * testsuite/23_containers/list_capacity.cc: New file.
845         * testsuite/23_containers/list_ctor.cc: New file.
846         * testsuite/23_containers/list_modifiers.cc: New file.
847         * testsuite/23_containers/list_operators.cc: New file.
849 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
851         * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
852         (size): Replaced nonstandard distance() call with the standard one.
853         (transfer): Uglified to _M_transfer.
855 2001-11-21  Paolo Carlini  <pcarlini@unitus.it>
857         PR libstdc++/4548
858         * include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
859         below the current size.
860         * testsuite/21_strings/capacity.cc (test02):  Add test.
862 2001-11-19  Phil Edwards  <pme@gcc.gnu.org>
864         * docs/doxygen/Intro.3:  More notes.
865         * docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
866         * include/bits/stl_algobase.h:  Add doxygen hooks for functions.
867         * include/ext/hash_map:  Add @file hook.
868         * include/ext/hash_set:  Likewise.
869         * include/ext/rope:  Likewise.
870         * include/ext/ropeimpl.h:  Likewise.
871         * include/ext/slist:  Likewise.
872         * include/ext/stl_hash_fun.h:  Likewise.
873         * include/ext/stl_hashtable.h:  Likewise.
874         * include/ext/stl_rope.h:  Likewise.
876         * docs/html/17_intro/license.html:  Remove "experimental" sentence.
877         * docs/html/19_diagnostics/howto.html:  Document new verbose
878         terminate handler.
879         * testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
880         to more visible (closer to description) position.
882         * libsupc++/eh_type.cc:  Formatting tweak.
883         * libsupc++/exception:  Likewise.
884         * src/vterminate.cc:  Likewise.
886         * docs/html/17_intro/porting.html:  Regenerate.
887         * docs/html/faq/index.txt:  Regenerate.
889 2001-11-18  Jason Merrill  <jason@redhat.com>
891         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
892         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
893         * libsupc++/unwind-cxx.h: Adjust.
894         * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
896         * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
897         * libsupc++/cxxabi.h: Declare it.
898         * libsupc++/Makefile.am (sources): Add it.
899         * src/vterminate.cc (verbose_terminate_handler): New file.
900         * libsupc++/exception: Declare it.
901         * src/Makefile.am (sources): Add it.
903         * src/Makefile.am (VPATH): Check the src directory before the top one.
905 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
907         * include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
909 2001-11-16  Loren J. Rittle  <ljrittle@acm.org>
911         * docs/html/17_intro/howto.html (Thread-safety): Rename
912         section to ``The Standard C++ library and multithreading'' and
913         update information based on recent mailing list traffic.  Move
914         all discussion of __USE_MALLOC to...
915         * docs/html/23_containers/howto.html (Containers and multithreading):
916         ...here and rework it based on recent mailing list traffic.
918 2001-11-15  Loren J. Rittle  <ljrittle@acm.org>
920         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
921         wording.
923 2001-11-15  <bjornw@planetarion.com>
924             Loren J. Rittle  <ljrittle@acm.org>
926         libstc++/4219
927         * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
928         (single_client_alloc): Likewise.
930 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
932         * configure.target: Add os_include_dir for mingw32* target.
933         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
934         from _GLIBCPP_AVOID_FSEEK.
935         * config/os/mingw32/bits/ctype_base.h: New file.
936         * config/os/mingw32/bits/ctype_inline.h: New file.
937         * config/os/mingw32/bits/ctype_noninline.h: New file.
938         * config/os/mingw32/bits/os_defines.h: New file.
940 2001-11-07  Nathan Myers  <ncm@cantrip.org>
942         * docs/html/faq/index.html (5.8):  New entry on ABIs.
943         * docs/html/faq/index.txt:  Regenerate.
945 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
947         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
948         bugfixes on Solaris.
949         * docs/html/faq/index.txt:  Regenerate.
951 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
953         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
954         LANG_CPLUSPLUS mode.
955         * aclocal.m4:  Regenerate.
956         * configure:  Regenerate.
958 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
960         * porting.texi:  Move...
961         * docs/html/17_intro/porting.texi:  ...to here.
962         * docs/html/Makefile:  Add rule to rebuild...
963         * docs/html/17_intro/porting.html:  ...this.  New file.
965 2001-11-05  Felix Natter  <fnatter@gmx.net>
967         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
968         * docs/html/17_intro/porting-howto.html:  regenerate
970 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
972         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
973         when platform supports __GTHREAD_MUTEX_INIT.
975 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
977         * acconfig.h:  Update comments.
978         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
979         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
980         * aclocal.m4:  Regenerate.
981         * config.h.in:  Regenerate.
982         * configure:  Regenerate.
984         * include/bits/boost_concept_check.h:  Unconditionally compile uses
985         of 'long long' which require only compiler support, not C lib support.
986         * include/bits/cpp_type_traits.h:  Likewise.
987         * include/bits/std_limits.h:  Likewise.
988         * include/bits/type_traits.h:  Likewise.
989         * src/concept-inst.cc:  Likewise.
990         * src/limits.cc:  Likewise.
991         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
992         instead of _GLIBCPP_USE_LONG_LONG.
993         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
995 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
997         * config/io/c_io_stdio.h:  Correct grammar in comments.
998         * docs/doxygen/Intro.3:  Expand "top-level" man page.
999         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
1000         * docs/doxygen/mainpage.doxy:  Tweaks.
1001         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
1003         Add @file hooks so that headers are considered to be documented.
1004         * include/bits/basic_ios.h, include/bits/basic_file.h,
1005         include/bits/basic_string.h, include/bits/boost_concept_check.h,
1006         include/bits/char_traits.h, include/bits/codecvt.h,
1007         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1008         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1009         include/bits/indirect_array.h, include/bits/ios_base.h,
1010         include/bits/locale_facets.h, include/bits/localefwd.h,
1011         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1012         include/bits/slice.h, include/bits/slice_array.h,
1013         include/bits/std_algorithm.h, include/bits/std_bitset.h,
1014         include/bits/std_complex.h, include/bits/std_deque.h,
1015         include/bits/std_fstream.h, include/bits/std_functional.h,
1016         include/bits/std_iomanip.h, include/bits/std_ios.h,
1017         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1018         include/bits/std_istream.h, include/bits/std_iterator.h,
1019         include/bits/std_limits.h, include/bits/std_list.h,
1020         include/bits/std_locale.h, include/bits/std_map.h,
1021         include/bits/std_memory.h, include/bits/std_numeric.h,
1022         include/bits/std_ostream.h, include/bits/std_queue.h,
1023         include/bits/std_set.h, include/bits/std_sstream.h,
1024         include/bits/std_stack.h, include/bits/std_streambuf.h,
1025         include/bits/std_string.h, include/bits/std_utility.h,
1026         include/bits/std_valarray.h, include/bits/std_vector.h,
1027         include/bits/stl_algo.h, include/bits/stl_alloc.h,
1028         include/bits/stl_bvector.h, include/bits/stl_construct.h,
1029         include/bits/stl_deque.h, include/bits/stl_heap.h,
1030         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1031         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1032         include/bits/stl_map.h, include/bits/stl_multimap.h,
1033         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1034         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1035         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1036         include/bits/stl_relops.h, include/bits/stl_set.h,
1037         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1038         include/bits/stl_threads.h, include/bits/stl_tree.h,
1039         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1040         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1041         include/bits/stringfwd.h, include/bits/type_traits.h,
1042         include/bits/valarray_array.h, include/bits/valarray_meta.h:
1043         Add hooks, tweak comments only.
1045         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
1046         document these functions.
1047         * include/bits/stl_function.h:  Tweak link comments.
1049 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
1050             Benjamin Kosnik  <bkoz@redhat.com>
1052         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1053         output.
1054         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1056 2001-11-01  Egor Duda  <deo@logos-m.ru>
1058         * config/os/newlib/bits/ctype_noninline.h
1059         (ctype<char>::do_toupper(char __c)): Check for proper character class.
1060         (ctype<char>::do_tolower(char __c)): Ditto.
1062 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
1064         * acinclude.m4:  Fix spacing.
1065         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
1066         * configure.in:  Call here.
1067         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
1068         * include/bits/boost_concept_check.h:  Fix headers.
1069         (__function_requires):  Make inline.
1070         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
1071         * aclocal.m4:  Regenerate.
1072         * config.h.in:  Regenerate.
1073         * configure:  Regenerate.
1075         Move trailing ';' inside macro, PR libstdc++/3666.
1076         * include/bits/concept_check.h:  Add semicolon.
1077         * include/bits/stl_algo.h:  Remove semicolon.
1078         * include/bits/stl_algobase.h:  Likewise.
1079         * include/bits/stl_deque.h:  Likewise.
1080         * include/bits/stl_heap.h:  Likewise.
1081         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1082         * include/bits/stl_list.h:  Likewise.
1083         * include/bits/stl_map.h:  Likewise.
1084         * include/bits/stl_multimap.h:  Likewise.
1085         * include/bits/stl_multiset.h:  Likewise.
1086         * include/bits/stl_numeric.h:  Likewise.
1087         * include/bits/stl_queue.h:  Likewise.
1088         * include/bits/stl_set.h:  Likewise.
1089         * include/bits/stl_stack.h:  Likewise.
1090         * include/bits/stl_vector.h:  Likewise.
1091         * include/ext/hash_map:  Likewise.
1092         * include/ext/hash_set:  Likewise.
1093         * include/ext/slist:  Likewise.
1095         * src/concept-inst.cc:  New file with explicit instantiations.
1096         * src/Makefile.am (sources):  Add here, with special build rules.
1097         * src/Makefile.in:  Regenerate.
1099 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1101         * include/bits/std_complex.h (_Norm_helper): New class template.
1102         (norm): Tweak.
1103         (abs): Tweak. Fix Thinko.
1105 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
1107         libstdc++/4749
1108         * include/bits/codecvt.h: Add virtual member function declarations.
1109         * src/codecvt.cc: Tweaks.
1110         * testsuite/22_locale/codecvt.cc: Test compilation only,
1111         non-required facets not required to have linkage.
1113 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
1115         libstdc++/4622
1116         * include/bits/std_complex.h (complex::operator/=): Correct sign.
1118 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
1119             Benjamin Kosnik  <bkoz@redhat.com>
1121         libstdc++/4354
1122         * include/bits/basic_string.h: Tweaks.
1123         * include/bits/basic_string.tcc (string::_M_replace(iterator,
1124         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1125         * src/string-inst.cc: Tweaks, add instantiation.
1126         * testsuite/21_strings/replace.cc (test02): Add test.
1127         * testsuite/21_strings/assign.cc (test01): New file.
1129 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
1131         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1132         __throw_exception_again.
1133         (_M_new_elements_at_back): Likewise.
1135 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1137         libstdc++/3647
1138         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1139         * testsuite/27_io/filebuf.cc (test07): New test.
1140         (test03): Modify showmanyc test.
1142 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1144         libstdc++/4503
1145         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1146         (__enc_traits::~__enc_traits): Fix.
1147         (__enc_traits::_M_init): Add error checking.
1149 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1151         libstdc++/4542
1152         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1154 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1156         libstdc++/4545
1157         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1158         exceptions.
1159         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1160         consistent, where possible.
1161         * include/bits/streambuf.tcc: Tweak.
1163 2001-10-25  Brendan Kehoe  <brendan@zen.org>
1165         libstdc++/4536
1166         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1167         * bits/istream.tcc (seekg): Likewise.
1169 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1170             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1171             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1173         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1174         __s390x__ only.
1175         * include/bits/std_limits.h: Fix wchar_t issues.
1176         * config/os/aix/bits/os_defines.h: Fix.
1178 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1180         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1182 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
1184         * docs/html/documentation.html:  Fix typo.
1186 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1188         Make -fno-exceptions work.
1189         * config/locale/c_locale_gnu.cc: Use functexcept.
1190         * include/bits/c++config (__stl_assert): Remove.
1191         (__STL_USE_EXCEPTIONS): Same.
1192         (__STL_TRY): Same.
1193         (__STL_CATCH_ALL): Same.
1194         (__STL_THROW): Same.
1195         (__STL_RETHROW): Same.
1196         (__STL_NOTHROW): Same.
1197         (__STL_UNWIND): Same.
1198         * include/bits/pthread_allocimpl.h: Fix.
1199         * include/bits/std_bitset.h: Same.
1200         * include/bits/std_list.h: Same.
1201         * include/bits/std_memory.h: Same.
1202         * include/bits/std_queue.h: Same.
1203         * include/bits/stl_alloc.h: Same.
1204         * include/bits/stl_deque.h: Same.
1205         * include/bits/stl_list.h: Same.
1206         * include/bits/stl_queue.h: Same.
1207         * include/bits/stl_tempbuf.h: Same.
1208         * include/bits/stl_tree.h: Same.
1209         * include/bits/stl_uninitialized.h: Same.
1210         * include/bits/stl_vector.h: Same.
1211         * include/ext/ropeimpl.h: Same.
1212         * include/ext/slist: Same.
1213         * include/ext/stl_hashtable.h: Same.
1214         * include/ext/stl_rope.h: Same.
1215         * libsupc++/new_op.cc: Include cstdlib.
1216         * libsupc++/eh_personality.cc: Add exception_defines include. Use
1217         __throw_exception_again, tweak.
1218         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1219         * libsupc++/vec.cc: Tweak.
1220         * src/functexcept.cc: Remove unused arguments.
1221         * testsuite/23_containers/bitset_members.cc: Tweak.
1223 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
1225         * config/cpu/i386/bits/limits.h: Move to...
1226         * config/cpu/i386/bits/cpu_limits.h: ...here.
1227         * config/cpu/cris/bits/cpu_limits.h: Same.
1228         * config/cpu/powerpc/bits/cpu_limits.h: Same.
1229         * config/cpu/x86-64/bits/cpu_limits.h: Same.
1230         * config/cpu/alpha/bits/cpu_limits.h: New.
1231         * config/cpu/m68k/bits/cpu_limits.h: New.
1232         * config/cpu/s390/bits/cpu_limits.h: New.
1233         * config/os/aix/bits/os_defines.h: Tweaks.
1234         * config/os/bsd/freebsd/bits/os_defines.h: Same.
1235         * config/os/bsd/netbsd/bits/os_defines.h: Same.
1236         * config/os/djgpp/bits/os_defines.h: Same.
1237         * config/os/generic/bits/os_defines.h: Same.
1238         * config/os/gnu-linux/bits/os_defines.h: Same.
1239         * config/os/hpux/bits/os_defines.h: Same.
1240         * config/os/irix/irix5.2/bits/os_defines.h: Same.
1241         * config/os/irix/irix6.5/bits/os_defines.h: Same.
1242         * config/os/newlib/bits/os_defines.h: Same.
1243         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1244         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1245         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1247         * include/bits/c++config: Remove include.
1248         * include/bits/limits_generic.h: Remove.
1249         * include/bits/std_limits.h: Include cpu_limits.h.
1250         * include/Makefile.am: Fixup.
1251         * src/limits.cc: Tweak.
1252         * src/limits_generic.cc: Remove.
1253         * src/gen-num-limits.cc: Remove.
1254         * mknumeric_limits: Remove.
1256 2001-10-20  Brendan Kehoe  <brendan@zen.org>
1258         * bits/type_traits.h (_Bool): Removed this type.
1259         (__true_type, __false_type): Change to be plain structs.
1260         * src/string-inst.cc (__destroy_aux): Change third parm to be
1261         __false_type instead of _Bool<false>.
1262         * src/misc-inst.cc (__uninitialized_fill_n_aux,
1263         __uninitialized_copy_aux): Likewise.
1265 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1267         * mkcheck.in (static_fail): Remove older memory limit functionality.
1268         Disable E_TIME due to formatting issues.
1270         * README: Update.
1272 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1274         * include/bits/std_complex.h: Default initialize second argument
1275         of polar to 0, as specified in Library DR #79
1277 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1279         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1280         _Construct instead of construct.
1282 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1284         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1285         __n being non-zero, since the standard does not mandate that.
1286         e.g., a search for "" in "" should yield position 0, not npos.
1287         (find_last_not_of): Likewise.
1289 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1291         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1292         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1294 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1296         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1297         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1299 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1301         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1302         template parameter _ValueType.
1304 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1306         * include/bits/std_limits.h: Clean up extra semicolons.
1307         * include/bits/locale_facets.h: Likewise.
1308         * include/bits/type_traits.h: Likewise.
1310 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1312         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1313         * include/bits/locale_facets.tcc (locale::combine): Likewise.
1315 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1317         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1318         Declare specializations for char, wchar_t.
1320 2001-10-19  Andreas Jaeger  <aj@suse.de>
1322         * config/cpu/x86-64/bits/limits.h: New file.
1323         * config/cpu/x86-64/bits/atomicity.h: New file.
1324         * configure.target: Add x86-64.
1326 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
1328         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
1329         why).  Add link to recent message.
1330         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
1331         markup.
1332         * docs/html/faq/index.txt:  Regenerate.
1334 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
1336         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1337         based on Nathan's review.  Use Nathan's words.
1339 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
1341         * docs/html/configopts.html: Quote StyleSheet attribute values.
1342         * docs/html/documentation.html: Likewise.
1343         * docs/html/explanations.html: Likewise.
1344         * docs/html/install.html: Likewise.
1345         * docs/html/17_intro/howto.html: Likewise.
1346         * docs/html/17_intro/license.html: Likewise.
1347         * docs/html/18_support/howto.html: Likewise.
1348         * docs/html/19_diagnostics/howto.html: Likewise.
1349         * docs/html/20_util/howto.html: Likewise.
1350         * docs/html/21_strings/howto.html: Likewise.
1351         * docs/html/22_locale/howto.html: Likewise.
1352         * docs/html/23_containers/howto.html: Likewise.
1353         * docs/html/24_iterators/howto.html: Likewise.
1354         * docs/html/25_algorithms/howto.html: Likewise.
1355         * docs/html/26_numerics/howto.html: Likewise.
1356         * docs/html/27_io/howto.html: Likewise.
1357         * docs/html/ext/howto.html: Likewise.
1358         * docs/html/ext/sgiexts.html: Likewise.
1359         * docs/html/faq/index.html: Likewise.
1361 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
1363         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1364         * docs/html/23_containers/howto.html (Containers and multithreading):
1365         Update.
1367 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1369         * docs/html/17_intro/howto.html:  Tweak markup and value type.
1370         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
1371         nonzero arguments, add new note on threading.
1372         * docs/html/faq/index.html:  Update.
1373         * docs/html/faq/index.txt:  Regenerate.
1375 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1377         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
1378         * docs/html/documentation.html:  Likewise.
1379         * docs/html/explanations.html:  Likewise.
1380         * docs/html/install.html:  Likewise.
1381         * docs/html/17_intro/howto.html:  Likewise.
1382         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
1383         * docs/html/18_support/howto.html:  Likewise.
1384         * docs/html/19_diagnostics/howto.html:  Likewise.
1385         * docs/html/20_util/howto.html:  Likewise.
1386         * docs/html/21_strings/howto.html:  Likewise.
1387         * docs/html/22_locale/howto.html:  Likewise.
1388         * docs/html/23_containers/howto.html:  Likewise.
1389         * docs/html/24_iterators/howto.html:  Likewise.
1390         * docs/html/25_algorithms/howto.html:  Likewise.
1391         * docs/html/26_numerics/howto.html:  Likewise.
1392         * docs/html/27_io/howto.html:  Likewise.
1393         * docs/html/ext/howto.html:  Likewise.
1394         * docs/html/ext/sgiexts.html:  Likewise.
1395         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
1396         * docs/html/faq/index.txt:  Regenerate.
1398 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
1400         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1401         spelling errors of "separate" as "seperate", and corresponding
1402         spelling errors of related words.
1403         * docs/html/faq/index.txt: Regenerate.
1405 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
1407         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
1408         unused function.
1409         * config/cpu/arm/bits/atomicity.h:  Likewise.
1410         * config/cpu/generic/bits/atomicity.h:  Likewise.
1411         * config/cpu/i486/bits/atomicity.h:  Likewise.
1412         * config/cpu/ia64/bits/atomicity.h:  Likewise.
1413         * config/cpu/mips/bits/atomicity.h:  Likewise.
1414         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
1415         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
1416         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
1418 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1420         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
1421         * docs/html/faq/index.txt:  Regenerate.
1423 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1425         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
1426         * docs/html/17_intro/license.html:  New file.  Explain the licenses
1427         in use.
1429         * docs/html/configopts.html:  Link to license.html.
1430         * docs/html/documentation.html:  Likewise.
1431         * docs/html/explanations.html:  Likewise.
1432         * docs/html/install.html:  Likewise.
1433         * docs/html/17_intro/howto.html:  Likewise.
1434         * docs/html/18_support/howto.html:  Likewise.
1435         * docs/html/19_diagnostics/howto.html:  Likewise.
1436         * docs/html/20_util/howto.html:  Likewise.
1437         * docs/html/21_strings/howto.html:  Likewise.
1438         * docs/html/22_locale/howto.html:  Likewise.
1439         * docs/html/23_containers/howto.html:  Likewise.
1440         * docs/html/24_iterators/howto.html:  Likewise.
1441         * docs/html/25_algorithms/howto.html:  Likewise.
1442         * docs/html/26_numerics/howto.html:  Likewise.
1443         * docs/html/27_io/howto.html:  Likewise.
1444         * docs/html/ext/howto.html:  Likewise.
1445         * docs/html/ext/sgiexts.html:  Likewise.
1446         * docs/html/faq/index.html:  Likewise.  New question, linking to
1447         the new license.html.
1449 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1451         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
1452         * docs/html/18_support/howto.html:  Likewise.
1453         * docs/html/19_diagnostics/howto.html:  Likewise.
1454         * docs/html/20_util/howto.html:  Likewise.
1455         * docs/html/21_strings/howto.html:  Likewise.
1456         * docs/html/22_locale/howto.html:  Likewise.
1457         * docs/html/23_containers/howto.html:  Likewise.
1458         * docs/html/24_iterators/howto.html:  Likewise.
1459         * docs/html/25_algorithms/howto.html:  Likewise.
1460         * docs/html/26_numerics/howto.html:  Likewise.
1461         * docs/html/27_io/howto.html:  Likewise.
1462         * docs/html/ext/howto.html:  Likewise.
1463         * docs/html/faq/index.html:  Likewise.  Spacing fix.
1465 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
1467         * include/bits/stl_threads.h (_Atomic_swap): New function.
1468         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1469         * testsuite/ext/rope.cc: New file.
1471 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
1473         * config/locale/time_members_gnu.h: Remove.
1474         * config/locale/time_members_generic.h: Remove.
1475         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1476         * config/locale/time_members_generic.cc: Same.
1477         * include/bits/locale_facets.h: Add data members.
1478         (__timepunct::_M_put_helper): Change signature.
1479         (__timepunct::_M_date_formats): Same.
1480         (__timepunct::_M_time_formats): Same.
1481         (__timepunct::_M_ampm): Add.
1482         (__timepunct::_M_date_time_formats): Add.
1483         (time_get::_M_extract_via_format): Add.
1484         (time_get::_M_extract_time): Change to...
1485         (time_get::_M_extract_num): ... this, modify signature.
1486         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1487         (time_get::do_get_time): Fix.
1488         (time_get::do_get_date): Fix.
1490         * acinclude.m4: Remove CTIME_H.
1491         * aclocal.m4: Regenerate.
1492         * include/Makefile.am: Same.
1493         * include/Makefile.in: Regenerate.
1494         * configure: Regenerate.
1496         * testsuite/22_locale/time_get_members_char.cc: Fix.
1497         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1498         * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1500 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
1502         * config/cpu/cris/bits/atomicity.h: Correct file header.
1504 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
1506         * configure.target (LIMITSH): Set for cris.
1507         (cpu_include_dir): Set for cris-*-*.
1508         * config/cpu/cris/bits/atomicity.h: New file.
1509         * config/cpu/cris/bits/limits.h: New file.
1511 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
1513         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1514         (__timepunct::_M_put_helper): Add.
1515         * config/locale/time_members_generic.h: Same.
1516         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1517         (__timepunct): Add data members.
1518         (__timepunct::_M_days): Add.
1519         (__timepunct::_M_days_abbreviated): Add.
1520         (__timepunct::_M_months): Add.
1521         (__timepunct::_M_months_abbreviated): Add.
1522         (__timepunct::_M_initialize_timepunct): Add.
1523         * include/bits/locale_facets.tcc: Same.
1524         * src/locale-inst.cc: Remove instantiations for __match_parallel.
1525         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1526         * aclocal.m4: Regenerate.
1527         * configure: Regenerate.
1528         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1529         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1530         * testsuite/22_locale/time_get.cc: New file.
1532 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1534         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1535         correct multilib builddir.
1536         Properly locate libgcc_s.
1538 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
1540         * include/std/*:  Add Doxygen hooks.
1541         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
1542         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
1543         rather than using a generated index.
1544         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
1545         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
1546         * docs/doxygen/stdheader.cc:  ...this new file.
1548 2001-09-26  Stan Shebs  <shebs@apple.com>
1550         * include/Makefile.am: Remove RCS Id strings.
1551         * src/Makefile.am: Ditto.
1552         * docs/doxygen/run_doxygen: Ditto.
1553         * docs/html/configopts.html: Ditto.
1554         * docs/html/documentation.html: Ditto.
1555         * docs/html/explanations.html: Ditto.
1556         * docs/html/install.html: Ditto.
1557         * docs/html/17_intro/howto.html: Ditto.
1558         * docs/html/18_support/howto.html: Ditto.
1559         * docs/html/19_diagnostics/howto.html: Ditto.
1560         * docs/html/20_util/howto.html: Ditto.
1561         * docs/html/21_strings/howto.html: Ditto.
1562         * docs/html/22_locale/howto.html: Ditto.
1563         * docs/html/23_containers/howto.html: Ditto.
1564         * docs/html/24_iterators/howto.html: Ditto.
1565         * docs/html/25_algorithms/howto.html: Ditto.
1566         * docs/html/26_numerics/howto.html: Ditto.
1567         * docs/html/27_io/howto.html: Ditto.
1568         * docs/html/ext/howto.html: Ditto.
1569         * docs/html/ext/sgiexts.html: Ditto.
1570         * docs/html/faq/index.html: Ditto.
1571         * docs/html/faq/index.txt: Ditto.
1573 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
1575         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
1576         `carray' size.
1578 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
1580         * docs/html/20_util/howto.html:  Add anchor name.
1581         * docs/html/23_containers/howto.html:  Line wrapping, another link.
1582         * docs/html/25_algorithms/howto.html:  Another note.
1584         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
1585         link to them...
1586         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
1587         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
1588         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
1589         carried over to libstdc++-v3.
1590         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
1591         "missing .." pseudobug.
1592         * docs/html/faq/index.txt:  Regenerate.
1594         * include/bits/ios_base.h:  DR-related comment cleanup.
1595         * include/bits/istream.tcc:  Likewise.
1596         * include/bits/locale_facets.h:  Likewise.
1597         * include/bits/locale_facets.tcc:  Likewise.
1598         * include/bits/ostream.tcc:  Likewise.
1599         * include/bits/std_bitset.h:  Likewise.
1600         * include/bits/std_iosfwd.h:  Likewise.
1601         * include/bits/std_istream.h:  Likewise.
1602         * include/bits/std_ostream.h:  Likewise.
1603         * include/bits/std_streambuf.h:  Likewise.
1604         * include/bits/stl_pair.h:  Likewise.
1605         * include/bits/streambuf_iterator.h:  Likewise.
1607         * include/bits/std_map.h:  Remove unused header inclusion guard
1608         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1609         * include/bits/std_set.h:  Likewise.
1611         * include/bits/stl_function.h:  Doxygen markup.
1612         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
1613         * libsupc++/typeinfo:  Doxygen markup tweak.
1615 2001-09-20  Scott Johnston <scott@accom.com>
1616             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1618         * include/backward/alloc.h: Conditionally define malloc_alloc
1619         * testsuite/backward/header_deque_h.cc: New file.
1621 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1623         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1624         change variable name so that it works with -fno-for-scope.
1626 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
1628         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1629         redundant sanity checks.
1630         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1631         (test02): Same.
1632         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1633         (test02): Same.
1634         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1635         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1636         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1637         (test02): Same.
1638         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1639         (test02): Same.
1641 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
1643         Implement std::time_put.
1644         * include/bits/locale_facets.h: Include time_members.h.
1645         (__timepunct): New.
1646         (time_put): Implement.
1647         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1648         * include/bits/localefwd.h: Bump number of facets.
1649         * config/locale/time_members_generic.h: New file.
1650         * config/locale/time_members_gnu.h: New file.
1651         * config/locale/c_locale_generic.h: Include clocale.
1652         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1653         * src/locale.cc: Add __timepunct initializations.
1654         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1655         * include/Makefile.am (stamp-target): Add time_members.h.
1656         * include/Makefile.in: Regenerate.
1657         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1658         * aclocal.m4: Regenerate.
1659         * configure: Regenerate.
1660         * testsuite/22_locale/time_put.cc: New file.
1661         * testsuite/22_locale/time_put_members_char.cc: New file.
1663         * docs/html/22_locale/locale.html: Add note.
1665 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
1667         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
1668         * docs/html/documentation.html:  Likewise.
1669         * docs/html/explanations.html:  Likewise.
1670         * docs/html/install.html:  Likewise.
1671         * docs/html/17_intro/howto.html:  Likewise.
1672         * docs/html/18_support/howto.html:  Likewise.
1673         * docs/html/19_diagnostics/howto.html:  Likewise.
1674         * docs/html/20_util/howto.html:  Likewise.
1675         * docs/html/21_strings/howto.html:  Likewise.
1676         * docs/html/22_locale/codecvt.html:  Likewise.
1677         * docs/html/22_locale/ctype.html:  Likewise.
1678         * docs/html/22_locale/howto.html:  Likewise.
1679         * docs/html/22_locale/locale.html:  Likewise.
1680         * docs/html/22_locale/messages.html:  Likewise.
1681         * docs/html/23_containers/howto.html:  Likewise.
1682         * docs/html/24_iterators/howto.html:  Likewise.
1683         * docs/html/25_algorithms/howto.html:  Likewise.
1684         * docs/html/26_numerics/howto.html:  Likewise.
1685         * docs/html/27_io/howto.html:  Likewise.
1686         * docs/html/ext/howto.html:  Likewise.
1687         * docs/html/faq/index.html:  Likewise.
1688         * docs/html/faq/index.txt:  Regenerated.
1690 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
1692         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
1693         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
1694         * docs/html/18_support/howto.html:  It won't compile; it's not code.
1695         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
1696         doxygen'd pages.
1697         * docs/html/22_locale/howto.html:  Comment for future work.
1698         * docs/html/23_containers/howto.html:  More comments.
1699         * docs/html/25_algorithms/howto.html:  It's a comment, not a
1700         blunt command to the reader.  (English grammar.)
1702 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1704         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1705         wchar_t members.
1706         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1707         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1709 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1711         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1713 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
1715         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1716         * testsuite/22_locale/money_put_members_char.cc: Likewise.
1717         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1719 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
1721         Implement std::money_get.
1722         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1723         * include/bits/locale_facets.h (money_get): Correct signatures.
1724         * testsuite/22_locale/money_get.cc: New file.
1725         * testsuite/22_locale/money_get_members_char.cc: New file.
1727         * include/bits/locale_facets.tcc (__verify_grouping): New
1728         function. Consolidate num_get and money_get group checking into
1729         one function.
1730         (money_get): Use it.
1731         * src/locale.cc (num_get::_M_extract): Use it.
1732         * src/locale-inst.cc: Add instantiation.
1734 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1736         * include/bits/std_limits.h (numeric_limits<float>::radix,
1737         numeric_limits<float>::epsilon:  Fix thinko.
1739 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1741         * configure.in: Fix cross compiling math routines. Correct
1742         comments for cross compiling and limits. Add floating point math
1743         routines found in newlib.
1744         * configure: Regenerate.
1745         * acconfig.h: Add macros.
1746         * config.h.in: Regenerate.
1748 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1750         * config/locale/moneypunct_members_generic.cc
1751         (money_base::_S_construct_pattern): Remove unused parameters.
1753 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1755         * include/Makefile.am (stamp-target): Remove link to self.
1756         * inclulde/Makefile.in: Regenerate.
1758 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
1760         Implement std::money_put.
1761         * include/bits/locale_facets.h
1762         (moneypunct::_M_initialize_moneypunct): Split up specializations
1763         to account for _Intl.  More grody hacking to get around the
1764         ill-considered use of const bool as a template parameter.
1765         * config/locale/moneypunct_members_gnu.cc: And here.
1766         * config/locale/moneypunct_members_generic.cc: And here.
1767         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1768         * testsuite/22_locale/moneypunct.cc: Add tests.
1769         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1770         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1772         * src/locale.cc (money_base::_S_construct_pattern): Move into
1773         gnu-specific file.
1774         * config/locale/moneypunct_members_gnu.cc: Add here.
1775         * config/locale/moneypunct_members_generic.cc: Add generic version
1776         here.
1778         * include/bits/locale_facets.tcc (money_put::do_put): Move member
1779         function definitions here.
1780         * include/bits/locale_facets.h (money_put): Implement.
1781         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1782         Correct money_get, money_put instantiations.
1783         * src/locale.cc (money_base::_S_construct_pattern): Handle case
1784         where __posn == 0.
1785         * testsuite/22_locale/money_put_members_char.cc: Add tests.
1787 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
1789         * testsuite_flags.in:  No longer need to search testsuite builddir.
1790         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
1791         * Makefile.am:  The testsuite directory never needs to be made here.
1792         * Makefile.in:  Regenerate.
1793         * include/Makefile.in:  Regenerate.
1794         * libio/Makefile.in:  Regenerate.
1795         * libmath/Makefile.in:  Regenerate.
1796         * libsupc++/Makefile.in:  Regenerate.
1797         * po/Makefile.in:  Regenerate.
1798         * src/Makefile.in:  Regenerate.
1799         * testsuite/Makefile.in:  Regenerate.
1801 2001-09-04  Scott Johnston  <scott@accom.com>
1802             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1804         * include/backward/iterator.h: Include <bits/std_iterator.h>,
1805         remove reverse_bidirectional_iterator.
1806         * testsuite/backward: New directory.
1807         * testsuite/backward/header_iterator_h.cc: New file.
1809 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
1811         * include/c_std/bits/std_c*.h: Don't use include_next.
1813 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
1815         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1816         tmp from _Unwind_Ptr to _Unwind_Word.
1818 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
1820         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1821         leb128 handling.
1823 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
1825         * include/Makefile.am: Use toplevel_srcdir to refer to src files
1826         outside this component.
1827         * include/Makefile.in: Regenerate.
1829 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
1831         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1832         * config/locale/c_locale_generic.cc: Same.
1833         * config/locale/moneypunct_members_gnu.cc: New file.
1834         * config/locale/moneypunct_members_generic.cc: New file.
1835         * config/locale/numpunct_members_gnu.cc: New file.
1836         * config/locale/numpunct_members_generic.cc: New file.
1837         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1838         options.
1839         * aclocal.m4: Regenerate.
1840         * configure: Regenerate.
1841         * src/Makefile.am (sources): And here.
1842         * src/Makefile.in: Regenerate.
1844         Rename for consistency with rest of testsuite.
1845         * testsuite/22_locale/codecvt.cc: New file.
1846         * testsuite/22_locale/money_put.cc: New file.
1847         * testsuite/22_locale/money_put_members_char.cc: New file.
1849 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
1851         PR libstdc++/4143
1852         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
1853         correctly for version-specific-runtime-libs.
1854         * aclocal.m4:  Regenerate.
1855         * configure:  Regenerate.
1857 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
1859         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1860         define if not already provided by per-OS file.
1861         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1862         Define.
1864 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
1866         * docs/html/17_intro/C++STYLE:  Fix typo.
1868 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
1870         * docs/html/23_containers/howto.html:  Describe implementation of
1871         insertion with hints.
1873 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
1875         libstdc++/3740
1876         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1878 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1879             Phil Edwards  <pme@sources.redhat.com>
1881         PR libstdc++/3349
1882         * include/bits/stl_tree.h (insert_unique):  Revert last change.
1883         Values inserted at begin() must be less, not greater, than *begin()'s.
1884         * testsuite/23_containers/map_insert.cc:  New file.
1886 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
1888         * config/locale/c_locale_gnu.cc: Minor tweaks.
1889         (moneypunct<wchar_t>): Implement.
1890         * include/bits/locale_facets.h: Same.
1891         * testsuite/22_locale/moneypunct.cc: New file.
1892         * testsuite/22_locale/moneypunct_byname.cc: New file.
1893         * testsuite/22_locale/moneypunct_char_members.cc: New file.
1895 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
1897         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1898         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1900 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
1902         * testsuite_flags.in (build-includes): Re-add backward.
1904 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
1906         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1907         with _GLIBCPP_USE_WCHAR_T.
1909 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
1911         * testsuite/22_locale/collate_byname.cc (test01): Fix.
1913 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
1915         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1917 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
1919         * testsuite/22_locale/operators.cc: Add test.
1921 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
1923         Implement std::collate.
1924         * config/locale/collate_specializations_gnu.cc: Add here, implement in
1925         MT-safe way.
1926         * config/locale/collate_specializations_generic.cc: Add here, but
1927         in a less sophisticated manner.
1928         * include/bits/locale_facets.tcc (collate): Add generic definition.
1929         * include/bits/locale_facets.h (~collate): Mark virtual.
1930         (collate::_M_compare_helper): New.
1931         (collate::_M_transform_helper): New.
1932         * src/locale.cc: Remove unnecessary specializations.
1933         * src/string-inst.cc: Tweak instantiation of ctors.
1935         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1936         * aclocal.m4: Regenerate.
1937         * configure: Regenerate.
1938         * src/Makefile.am (sources): Add collate.cc.
1939         * src/Makefile.in: Regenerate.
1941         * testsuite/22_locale/collate_byname.cc: New.
1942         * testsuite/22_locale/collate.cc: New file.
1943         * testsuite/22_locale/collate_char_members.cc: New file.
1944         * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1946 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1948         * configure.target: Set LIMITSH for powerpc-*-*.
1949         * config/cpu/powerpc/bits/limits.h: New file.
1951 2001-08-16  Marc Espie <espie@openbsd.org>
1953         * configure.in:  Check for <sys/types.h>.
1954         * configure:  Rebuild.
1955         * config.h.in:  Rebuild.
1956         * libmath/mathconf.h:  Include <sys/types.h> prior to
1957         <machine/endian.h> if available.
1959 2001-08-15  Andreas Schwab  <schwab@suse.de>
1961         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1962         m68k and m680[246]0.
1963         * config/cpu/m68k/bits/atomicity.h: New file.
1965         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1966         Define appropriate long double limits for m68k extended floating
1967         point.
1968         (__glibcpp_f32_digits10): Corrected, off by one.
1969         (__glibcpp_f80_digits10): Likewise.
1970         (__glibcpp_f128_digits10): Likewise.
1971         * config/os/gnu-linux/bits/os_defines.h
1972         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1974 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1976         * testsuite/18_support/numeric_limits.cc: Add more tests.
1977         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1978         typo.
1980 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
1982         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1983         for s390 and s390x.
1985         * config/cpu/s390/bits/atomicity.h: New.
1987 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
1989         * include/bits/std_limits.h: Fix thinko.
1991 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
1993         * include/Makefile.am: Consolidate target rules. Don't clean stamp
1994         files. Tweak target build directory stamp.
1995         * include/Makefile.in: Regenerate.
1997 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1999         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2000         _GBLICPP_HAVE_LOGL with HAVE_LOGL
2002 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
2004         * configure.in (libtool_VERSION): Add.
2005         (VERSION): Change to
2006         (release_VERSION): This.
2007         * configure: Regenerate.
2008         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2009         libtool_VERSION.
2010         * src/Makefile.in: Regenerate.
2012         * intl/Makefile.am: Remove.
2013         * intl/Makefile.in: Remove.
2014         * intl: Remove.
2015         * Makefile.am (SUBDIRS): Remove intl.
2016         * po/Makefile.am (DISTFILES): Add string_literals.cc
2017         (MSGFMT): Add.
2018         * po/string_literals.cc: Add.
2019         * po/POTFILES.in: Fix path.
2020         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2021         * aclocal.m4: Regenerate.
2022         * configure.in: Remove AC_OUTPUT of intl/Makefile.
2024         * include/backward/backward_warning.h: Clarify message.
2026         * testsuite_flags.in (--cxxflags): Use same debug flags for
2027         library and testsuite.
2029         * include/Makefile.am (c_compatibility): Remove.
2030         * include/Makefile.in: Regenerate.
2032 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
2034         * configure.in (LIMITS_INC_SRCDIR): New variable.
2035         * configure.target (LIMITSH): New variable.
2036         * porting.texi: Discuss numeric limits.
2037         * config/cpu/generic/bits/limits.h: New file.
2038         * config/cpu/i386/bits/limits.h: New file.
2039         * include/Makefile.am: Install bits/limits.h.
2040         * include/bits/c++config: Include bits/limits.h.
2042 2001-08-13  H.J. Lu  (hjl@gnu.org)
2044         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2045         New. Copy files.
2046         (libstdc++-v3-init ): Use it.
2048 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2050         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2051         to '__adjust' to avoid shadowing in nested scope.
2053 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2055         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2056         __CHAR_UNSIGNED__.
2058         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2059         Likewise.
2060         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2061         Remove.
2063 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
2065         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2066         dummy default argument to the non-limit implementation.
2068         bootstrap/3963
2069         * include/Makefile.am: Use relative file path in rule to allow
2070         colon in $(objdir).
2071         * include/Makefile.in: Rebuilt.
2073 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
2075         * include/bits/std_complex.h (complex<long double>::operator*=,
2076         complex<long double>::operator/=): Fix thinko.
2078 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2080         * include/bits/std_limits.h: New file.
2081         * include/Makefile.am (bits_headers): Add std_limits.h
2082         (all-local): std_limits.h is no longer built.
2083         (${target_builddir}/std_limits.h): Remove.
2084         * include/Makefile.in: Regenerate.
2085         * src/limits.cc: New file.
2086         * src/Makefile.am (sources): Add limits.cc in replacement of
2087         limitsMEMBERS.cc.
2088         * src/Makefile.in: Regenerate.
2090 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2092         * src/gen-num-limits.cc (digits10): Fix thinko.
2094 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2096         * po/Makefile.am (check-no): Add.
2097         (check-yes): Same.
2098         * po/Makefile.in: Regenerate.
2100 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2102         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2103         * config.h.in: Regenerate.
2104         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2105         function.
2106         * aclocal.m4: Regenerate.
2107         * configure.in: Remove duplicate AM_CONFIG_HEADER.
2108         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2109         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2110         * configure: Regenerate.
2111         * testsuite_hooks.h.in: Move to...
2112         * testsuite_hooks.h: Here, include c++config.h. Use it.
2114         * Makefile.am (SUBDIRS): Move testsuite to last directory.
2115         * Makefile.in: Regenerate.
2116         * po/Makefile.am (stamp-po): Add.
2118 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
2120         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2121         * config/os/generic/bits/os_defines.h: Likewise.
2122         * config/os/gnu-linux/bits/os_defines.h: Likewise.
2123         * config/os/hpux/bits/os_defines.h: Likewise.
2124         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2125         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2127 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
2129         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2130         -version-info, use substituted VERSION info.
2131         * src/Makefile.in: Regenerate.
2133 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
2135         Implement std::messages.
2136         Make config a fully-nested directory.
2137         * config/locale: New directory.
2138         * config/c_locale_generic.cc: Move into locale subdirectory.
2139         * config/c_locale_generic.h: Same.
2140         * config/c_locale_gnu.cc: Same.
2141         * config/c_locale_gnu.h: Same.
2142         * config/c_locale_ieee_1003.1-200x.cc: Same.
2143         * config/c_locale_ieee_1003.1-200x_.h: Same.
2144         * config/codecvt_specializations_generic.h: Same.
2145         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2146         * config/messages_members_gnu.h: Same.
2147         * config/messaages_members_gnu.cc: Same.
2148         * config/messages_members_generic.h: Same.
2149         * config/messaages_members_generic.cc: Same.
2150         * config/messages_members_ieee_1003.1-200x.h: Same.
2151         * config/messaages_members_ieee_1003.1-200x.cc: Same.
2152         * config/io: New directory.
2153         * config/basic_file_libio.h: Move into io subdirectory.
2154         * config/basic_file_libio.cc: Same.
2155         * config/c_io_libio.h: Same.
2156         * config/c_io_libio_codecvt.c: Same.
2157         * config/basic_file_stdio.h: Same.
2158         * config/basic_file_stdio.cc: Same.
2159         * config/c_io_stdio.h: Same.
2161         * po: New directory.
2162         * po/POTFILES.in: New file.
2163         * po/Makefile.am: New file.
2164         * po/Makefile.in: New file.
2165         * po/libstdc++.pot: Generic translation file.
2166         * po/fr.po: Preliminary French translation.
2167         * po/de.po: Preliminary German translation.
2168         * intl: New directory.
2169         * intl/Makefile.am: New file.
2170         * intl/Makefile.in: New file.
2171         * intl/string_literals.cc: New file.
2172         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2173         requisite setup for gettext. Re-arrange.
2174         * aclocal.m4: Regenerate.
2175         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2176         Output Makefile bits for po and intl.
2177         * configure: Regenerate.
2178         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2179         * Makefile.in: Regenerate.
2180         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2181         * config.h.in: Regenerate.
2183         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2185         * include/Makefile.am (install-data-local): Don't install Makefile.
2186         * include/Makefile.in: Regenerate.
2188         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2189         Add member.
2190         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2191         * config/locale/c_locale_generic.cc: Same.
2192         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2194         * include/bits/codecvt.h: Excise non-standard, non-required
2195         bits. This includes __enc_traits, and partial specializations of
2196         codecvt for __enc_traits.
2197         * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2198         * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2199         * config/codecvt_partials_generic.h: New file.
2200         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2201         (stamp-codecvt_model): Add.
2202         * include/Makefile.in: Regenerate.
2203         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2204         * aclocal.m4: Regenerate.
2205         * configure: Regenerate.
2206         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2207         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2208         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2210         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2211         as a friend for _S_*_c_locale functions.
2212         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2213         argument to default constructor so that CODESET information can be
2214         deduced.
2215         * include/bits/locale_facets.h (messages_byname):
2216         Re-implement. Remove specializations.
2217         * src/locale.cc (messages_byname<char>): Remove specialization.
2218         (messages_byname<wchar_t>): Same.
2219         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2220         * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2221         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2222         * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2223         * config/locale/messages_members_gnu.cc: New file.
2224         * config/locale/messages_members_gnu.h: New file.
2225         * config/locale/messages_members_generic.cc: New file.
2226         * config/locale/messages_members_generic.h: New file.
2228         * docs/html/configopts.html: Add documentation for new locale
2229         model, ieee_1003.1. Adjust other flags for current defaults.
2230         * docs/html/22_locale/locale.html: Update.
2231         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2232         * docs/html/22_locale/messages.html: New.
2234         * src/Makefile.am (sources): Add messages_virtuals.cc.
2235         * src/Makefile.in: Regenerate.
2236         * include/Makefile.am (allstamps): Add stamp-messages_model.
2237         (stamp-messages_model): Add.
2238         * include/Makefile.in: Regenerate.
2239         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2240         * aclocal.m4: Regenerate.
2241         * configure: Regenerate.
2243         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2244         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2245         bits for Irix.
2246         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2247         build directories message catalog base directory, and export.
2248         Eventually this should probably be made to deal with build and
2249         install directories. For now, punt on this as the library itself
2250         doesn't use message catalogs (yet).
2251         * testsuite/22_locale/messages.cc: New file.
2252         * testsuite/22_locale/messages_char_members.cc: New file.
2253         * testsuite/22_locale/messages_byname.cc: New file.
2255 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
2257         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
2258         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
2259         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
2260         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
2261         Call GLIBCPP_CONFIGURE_TESTSUITE.
2262         * aclocal.m4:  Regenerate.
2263         * config.h.in:  Regenerate.
2264         * configure:  Regenerate.
2266         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
2267         of old header.
2269         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
2270         * testsuite/debug_assert.h:  Removed; contents merged into...
2271         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
2272         * testsuite/17_intro/header_ciso646.cc:  No longer include
2273         debug_assert.h, include testsuite_hooks.h instead.
2274         * testsuite/17_intro/header_fstream.cc:  Likewise.
2275         * testsuite/17_intro/header_iomanip.cc:  Likewise.
2276         * testsuite/17_intro/header_ios.cc:  Likewise.
2277         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
2278         * testsuite/17_intro/header_iostream.cc:  Likewise.
2279         * testsuite/17_intro/header_istream.cc:  Likewise.
2280         * testsuite/17_intro/header_ostream.cc:  Likewise.
2281         * testsuite/17_intro/header_sstream.cc:  Likewise.
2282         * testsuite/17_intro/header_streambuf.cc:  Likewise.
2283         * testsuite/18_support/numeric_limits.cc:  Likewise.
2284         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
2285         * testsuite/20_util/allocator_members.cc:  Likewise.
2286         * testsuite/20_util/auto_ptr.cc:  Likewise.
2287         * testsuite/20_util/pairs.cc:  Likewise.
2288         * testsuite/21_strings/append.cc:  Likewise.
2289         * testsuite/21_strings/capacity.cc:  Likewise.
2290         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
2291         * testsuite/21_strings/compare.cc:  Likewise.
2292         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
2293         call to (disabled) __set_testsuite_memlimit() wrapper.
2294         * testsuite/21_strings/element_access.cc:  Likewise.
2295         * testsuite/21_strings/find.cc:  Likewise.
2296         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
2297         (disabled) __set_testsuite_memlimit() wrapper.
2298         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
2299         * testsuite/21_strings/invariants.cc:  Likewise.
2300         * testsuite/21_strings/nonmember.cc:  Likewise.
2301         * testsuite/21_strings/operations.cc:  Likewise.
2302         * testsuite/21_strings/replace.cc:  Likewise.
2303         * testsuite/21_strings/rfind.cc:  Likewise.
2304         * testsuite/21_strings/substr.cc:  Likewise.
2305         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
2306         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
2307         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
2308         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
2309         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
2310         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
2311         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
2312         * testsuite/22_locale/facet.cc:  Likewise.
2313         * testsuite/22_locale/global_templates.cc:  Likewise.
2314         * testsuite/22_locale/members.cc:  Likewise.
2315         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
2316         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
2317         * testsuite/22_locale/operators.cc:  Likewise.
2318         * testsuite/22_locale/static_members.cc:  Likewise.
2319         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
2320         * testsuite/23_containers/bitset_members.cc:  Likewise.
2321         * testsuite/23_containers/bitset_shift.cc:  Likewise.
2322         * testsuite/23_containers/vector_capacity.cc:  Likewise.
2323         * testsuite/23_containers/vector_ctor.cc:  Likewise.
2324         * testsuite/23_containers/vector_element_access.cc:  Likewise.
2325         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
2326         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
2327         * testsuite/24_iterators/iterator.cc:  Likewise.
2328         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
2329         * testsuite/25_algorithms/binary_search.cc:  Likewise.
2330         * testsuite/25_algorithms/copy.cc:  Likewise.
2331         * testsuite/25_algorithms/heap.cc:  Likewise.
2332         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
2333         * testsuite/25_algorithms/min_max.cc:  Likewise.
2334         * testsuite/25_algorithms/partition.cc:  Likewise.
2335         * testsuite/25_algorithms/rotate.cc:  Likewise.
2336         * testsuite/25_algorithms/sort.cc:  Likewise.
2337         * testsuite/26_numerics/c_math.cc:  Likewise.
2338         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
2339         * testsuite/26_numerics/complex_value.cc:  Likewise.
2340         * testsuite/27_io/filebuf.cc:  Likewise.
2341         * testsuite/27_io/filebuf_members.cc:  Likewise.
2342         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
2343         * testsuite/27_io/fpos.cc:  Likewise.
2344         * testsuite/27_io/fstream_members.cc:  Likewise.
2345         * testsuite/27_io/ifstream_members.cc:  Likewise.
2346         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
2347         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
2348         * testsuite/27_io/ios_base_storage.cc:  Likewise.
2349         * testsuite/27_io/ios_ctor.cc:  Likewise.
2350         * testsuite/27_io/ios_init.cc:  Likewise.
2351         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
2352         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
2353         * testsuite/27_io/ios_members.cc:  Likewise.
2354         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
2355         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
2356         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
2357         * testsuite/27_io/istream_manip.cc:  Likewise.
2358         * testsuite/27_io/istream_seeks.cc:  Likewise.
2359         * testsuite/27_io/istream_sentry.cc:  Likewise.
2360         * testsuite/27_io/istream_unformatted.cc:  Likewise.
2361         * testsuite/27_io/istringstream_members.cc:  Likewise.
2362         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
2363         * testsuite/27_io/ofstream_members.cc:  Likewise.
2364         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
2365         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
2366         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
2367         * testsuite/27_io/ostream_manip.cc:  Likewise.
2368         * testsuite/27_io/ostream_seeks.cc:  Likewise.
2369         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
2370         * testsuite/27_io/ostringstream_members.cc:  Likewise.
2371         * testsuite/27_io/streambuf.cc:  Likewise.
2372         * testsuite/27_io/stringbuf.cc:  Likewise.
2373         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
2374         * testsuite/27_io/stringstream.cc:  Likewise.
2375         * testsuite/27_io/stringstream_members.cc:  Likewise.
2376         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
2378 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
2380         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
2382 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
2384         * configure.target: Remove mips from cpu table.
2385         * config/cpu/mips/bits/atomicity.h: Remove generic
2386         versions. Comment sgidefs include.
2388 2001-07-25  H.J. Lu <hjl@gnu.org>
2390         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2391         for mips.
2393         * config/cpu/mips/bits/atomicity.h: New.
2395 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2397         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2398         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
2399         * aclocal.m4: Regenerate.
2400         * config.h.in: Likewise.
2401         * configure: Likewise.
2402         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2403         (EXTRA_DIST): Remove hypot.c hypotf.c.
2404         * libmath/Makefile.am: Regenerate.
2405         * libmath/hypotf.c: Remove.
2406         * libmath/hypot.c: Likewise.
2407         * libmath/hypotl.c: Likewise.
2408         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2409         _GLIBCPP_HAVE_xxx.  Add long double versions.
2411 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
2413         * include/bits/limits_generic.h (int): Set digits and digits10
2414         appropriately for word size.
2415         (unsigned int,long,unsigned long): Likewise.
2417 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2419         * include/bits/stl_algo.h : Fix typos.
2420         * testsuite/25_algorithms/unique.cc: New file.
2422 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
2423             Mark Mitchell <mark@codesourcery.com>
2425         Merge from cp-parser-branch.
2426         * include/bits/basic_string.h:  Qualify symbols with 'template'.
2427         * include/bits/basic_string.tcc:  Likewise.
2428         * include/bits/fstream.tcc:  Likewise.
2429         * include/bits/istream.tcc:  Likewise.
2430         * include/bits/sstream.tcc:  Likewise.
2431         * include/bits/std_istream.h:  Likewise.
2432         * include/bits/stl_iterator.h:  Likewise.
2433         * include/bits/streambuf.tcc:  Likewise.
2434         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
2435         * src/locale.cc:  Likewise.
2437 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2438             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2440         * src/gen-num-limits.cc (set_signals_handler): New function.
2441         Factor out signals setting.  Set signal handler for SIGILL.
2443 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
2445         * docs/html/27_io/howto.html:  Fix typo.
2446         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
2447         * docs/html/faq/index.txt:  Regenerated.
2449 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
2450             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
2452         libstdc++/3599
2453         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2454         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2456 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
2458         All occurrences of the __value_type() and __distance_type()
2459         functions, which were required to support the HP STL, have been
2460         removed along with all the auxiliary forwarding functions that
2461         were required to support their use.
2463         The __iterator_category() function was pretty much left alone
2464         because there was no benefit to removing it and its use made code
2465         just a little more readable.
2467         Incidences of distance() with nonstandard argument list were
2468         replaced by calls to the standard function (only in the files
2469         affected by the removal of the other HP functions).
2471         The signature of the rotate() algorithm was changed to match the
2472         standard.
2474         Headers were reformatted under C++STYLE guidelines (indentation,
2475         linebreaks, typename keyword).
2477         * include/bits/stl_algo.h: replaced __value_type() and
2478         __distance_type() with iterator_traits, eliminated auxiliary
2479         support functions required to support said function usage.
2480         Changed nonstandard distance() call to standard call.
2482         * include/bits/stl_algobase.h: Same.
2483         * include/bits/stl_heap.h: Same.
2484         * include/bits/stl_numeric.h: Same.
2485         * include/bits/stl_uninitialized.h: Same.
2486         * include/bits/stl_iterator_base_types.h (__value_type()):
2487         Removed.
2488         (__distance_type()): Removed.
2489         (value_type()): Gone.
2490         (distance_type()): Done in.
2491         (iterator_category()): Hasta la vista, baby.
2493         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2494         Replaced with __iterator_category().
2495         * include/backward/iterator.h: moved definition of value_type(),
2496         distance_type(), and iterator_category() out of std:: and into
2497         here.
2498         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2499         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2500         * testsuite/25_algorithms/rotate.cc: New testcase.
2501         * testsuite/25_algorithms/copy.cc: New testcase.
2502         * testsuite/25_algorithms/sort.cc: Same.
2503         * testsuite/25_algorithms/heap.cc: Same.
2504         * testsuite/25_algorithms/partition.cc: Same.
2505         * testsuite/25_algorithms/binary_search.cc: Same.
2506         * testsuite/26_numerics/sum_diff.cc: Ditto.
2508 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
2510         * testsuite/README: Add notes on naming test cases.
2511         * testsuite/22_locale/members.cc: Mark as xfail.
2512         * testsuite/22_locale/numpunct_char_members.cc: Same.
2514 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
2516         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
2517         setting C_INCLUDE_DIR.
2518         * configure.in:  Revert yesterday's LN_S change.
2519         * aclocal.m4:  Regenerate.
2520         * configure:  Regenerate.
2522 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
2524         * configure.in:  Temporarily force LN_S to copy instead of symlink.
2525         * configure:  Regenerate.
2527 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
2529         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2530         Initialize _M_string with pointer-and-size constructor, not just
2531         pointer.  Fix some comments.
2532         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
2533         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
2534         (test03):  Add embedded-NUL tests.
2536         * mkcheck.in:  When printing totals, match the order of the tests.
2537         * include/bits/stringfwd.h:  Use same declaration keywords.
2538         * include/bits/std_iosfwd.h:  Cosmetic spacing.
2540 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
2541             Loren J. Rittle  <ljrittle@acm.org>
2542             Phil Edwards  <pme@sources.redhat.com>
2544         * include/Makefile.am:  New file encapsulating header generation rules.
2545         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
2546         * acinclude.m4:  Moved/removed rules for building various headers.
2547         * configure.in (AC_OUTPUT):  Add include/Makefile.
2548         * mkc++config:  Removed.
2550         * testsuite_flags.in:  Changed build-includes to match new scheme.
2551         * mknumeric_limits:  Likewise.
2552         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
2553         * libmath/Makefile.am:  Likewise.
2554         * libsupc++/Makefile.am:  Likewise.
2555         * src/Makefile.am:  Likewise; removed rules to build headers.
2556         * libmath/mathconf.h:  Changed #include'd header names to match.
2557         * libmath/stubs.c:  Likewise.
2558         * src/gen-num-limits.cc:  Likewise.
2560         * configure:  Regenerated.
2561         * config.h.in:  Regenerated.
2562         * aclocal.m4:  Regenerated.
2563         * Makefile.in:  Regenerated.
2564         * include/Makefile.in:  Regenerated.
2565         * libio/Makefile.in:  Regenerated.
2566         * libmath/Makefile.in:  Regenerated.
2567         * libsupc++/Makefile.in:  Regenerated.
2568         * src/Makefile.in:  Regenerated.
2569         * testsuite/Makefile.in:  Regenerated.
2571 2001-07-11   Felix Natter  <fnatter@gmx.net>
2573         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
2574         master copy.
2575         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
2577 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
2579         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
2580         * docs/doxygen/user.cfg.in:  Tweaks.
2581         * include/bits/c++config:  Documentation comments for Doxygen.
2582         * include/bits/char_traits.h:  Likewise.
2583         * include/bits/limits_generic.h:  Likewise.
2584         * include/bits/std_stdexcept.h:  Likewise.
2585         * include/bits/stl_pair.h:  Likewise.
2586         * libsupc++/exception:  Likewise.
2587         * libsupc++/new:  Likewise.
2588         * libsupc++/typeinfo:  Likewise.
2589         * libmath/Makefile.am:  Update and correct copyright.
2591 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2593         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2594         * aclocal.m4: Regenerate.
2595         * configure: Same.
2597 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
2599         * docs/html/configopts.html:  Fix thinko.
2600         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
2601         * include/bits/stl_iterator.h:  Fix typo.
2603 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
2605         * docs/html/explanations.html:  New file.
2606         * docs/html/configopts.html:  Link to it to provide more notes
2607         on cstdio.  Minor markup and spacing fixes.
2608         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
2610 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
2612         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2613         for _Expr template template argument.
2614         (_Expr::operator-): Likewise.
2615         (_Expr::operator~): Likewise.
2616         (_Expr::operator!): Likewise.
2617         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2619 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2621         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2622         * libmath/Makefile.in: Regenerate.
2623         * libmath/expf.c: Remove.
2624         * libmath/atan2f.c: Likewise.
2626 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
2628         * configure.in: Remove NATIVE, NULL_TARGET.
2629         Set CANADIAN only for Canadian crosses.  Set xcompiling
2630         for both Canadian crosses and host-x-host crosses.
2631         * configure: Regenerated.
2633 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2635         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2637 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
2639         * testsuite_flags.in (--build-includes): backward, not backwards.
2641 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
2643         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2644         Replace destroy by _Destroy.
2645         (_Rope_RopeRep::_S_free_string): Likewise.
2646         (rope::c_str()): Likewise.
2647         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2648         (_Slist_base::_M_erase_after): Likewise.
2649         (slist::_M_create_node): Replace construct by _Construct.
2650         (slist::pop_front): Replace destroy by _Destroy.
2651         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2652         construct by _Construct.
2653         (hashtable::_M_delete_node): Replace destroy by _Destroy.
2654         * include/ext/stl_rope.h (rope::rope): Replace construct by
2655         _Construct.
2656         (rope::copy): Replace destroy by _Destroy.
2658 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
2660         * include/bits/localefwd.h: Format.
2661         * include/bits/locale_facts.tcc (locale::combine): Adjust.
2662         * src/locale.cc (locale::locale::(_Impl)): Don't call
2663         _M_add_reference.
2664         (locale::facet::_M_remove_reference): Simplify.
2665         * src/globals.cc (locale_impl_c): New. Format.
2666         (locale_c): New.
2667         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2669 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2671         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2672         expansion (thanks to Alexandre Oliva).
2673         * aclocal.m4: Regenerate.
2674         * configure: Regenerate.
2676 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
2678         * src/locale.cc (locale::locale(const char*)): Make sure global
2679         locales are initialized.
2680         * include/bits/locale_facets.tcc (locale::combine): Refcout should
2681         be zero, not one as it's return-by-value.
2682         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2683         named locales here.
2684         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2685         for it here.
2686         (test02): Add test.
2687         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2689 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2691         libstdc++/3284
2692         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2693         * aclocal.m4: Regenerate.
2694         * configure: Regenerate.
2696 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2698         libstdc++/3243
2699         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2700         staged/installed area to support -I-.  Document.
2701         * aclocal.m4: Regenerate.
2702         * configure: Regenerate.
2704 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2706         libstdc++/2211
2707         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2708         __out_bufsize.  Add __in_bufsize, document it and use it.
2710 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
2712         * include/bits/stl_construct.h (construct): Remove.
2713         (destroy): Remove.
2714         (__destroy): Replaced by use of iterator_traits.
2715         * include/bits/stl_deque.h: replaced HP iterator functions with
2716         iterator_traits.
2717         (construct): changed to _Construct.
2718         (destroy): changed to _Destroy.
2719         * include/bits/stl_tempbuf.h: Same.
2720         * include/bits/stl_tree.h: Same.
2721         * include/bits/stl_vector.h: Same.
2722         * include/backward/iterator.h (construct): moved definition to here.
2723         (destroy): Same.
2725 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
2727         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2728         before replacing facet.
2729         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2730         Correct decrement.
2731         * src/localename.cc (locale::_Impl): Correct ctor initialization
2732         lists. Initialize ref count with one. Simplify.
2733         * src/locale.cc: Add comment.
2734         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2735         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2736         * testsuite/22_locale/members.cc (test02): Fix.
2738 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
2740         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
2741         block, this time for real.
2742         * include/backward/algobase.h:  Likewise.
2743         * include/backward/alloc.h:  Likewise.
2744         * include/backward/bvector.h:  Likewise.
2745         * include/backward/defalloc.h:  Likewise.
2746         * include/backward/deque.h:  Likewise.
2747         * include/backward/function.h:  Likewise.
2748         * include/backward/hash_map.h:  Likewise.
2749         * include/backward/hash_set.h:  Likewise.
2750         * include/backward/hashtable.h:  Likewise.
2751         * include/backward/heap.h:  Likewise.
2752         * include/backward/iterator.h:  Likewise.
2753         * include/backward/list.h:  Likewise.
2754         * include/backward/map.h:  Likewise.
2755         * include/backward/multimap.h:  Likewise.
2756         * include/backward/multiset.h:  Likewise.
2757         * include/backward/pair.h:  Likewise.
2758         * include/backward/rope.h:  Likewise.
2759         * include/backward/set.h:  Likewise.
2760         * include/backward/slist.h:  Likewise.
2761         * include/backward/stack.h:  Likewise.
2762         * include/backward/strstream:  Likewise.
2763         * include/backward/tempbuf.h:  Likewise.
2764         * include/backward/tree.h:  Likewise.
2765         * include/backward/vector.h:  Likewise.
2766         * include/bits/pthread_allocimpl.h:  Likewise.
2767         * include/bits/std_algorithm.h:  Likewise.
2768         * include/bits/std_bitset.h:  Likewise.
2769         * include/bits/std_deque.h:  Likewise.
2770         * include/bits/std_functional.h:  Likewise.
2771         * include/bits/std_iterator.h:  Likewise.
2772         * include/bits/std_list.h:  Likewise.
2773         * include/bits/std_map.h:  Likewise.
2774         * include/bits/std_memory.h:  Likewise.
2775         * include/bits/std_numeric.h:  Likewise.
2776         * include/bits/std_queue.h:  Likewise.
2777         * include/bits/std_set.h:  Likewise.
2778         * include/bits/std_stack.h:  Likewise.
2779         * include/bits/std_utility.h:  Likewise.
2780         * include/bits/std_vector.h:  Likewise.
2781         * include/bits/stl_algo.h:  Likewise.
2782         * include/bits/stl_algobase.h:  Likewise.
2783         * include/bits/stl_alloc.h:  Likewise.
2784         * include/bits/stl_bvector.h:  Likewise.
2785         * include/bits/stl_construct.h:  Likewise.
2786         * include/bits/stl_deque.h:  Likewise.
2787         * include/bits/stl_function.h:  Likewise.
2788         * include/bits/stl_heap.h:  Likewise.
2789         * include/bits/stl_iterator.h:  Likewise.
2790         * include/bits/stl_iterator_base_funcs.h:  Likewise.
2791         * include/bits/stl_iterator_base_types.h:  Likewise.
2792         * include/bits/stl_list.h:  Likewise.
2793         * include/bits/stl_map.h:  Likewise.
2794         * include/bits/stl_multimap.h:  Likewise.
2795         * include/bits/stl_multiset.h:  Likewise.
2796         * include/bits/stl_numeric.h:  Likewise.
2797         * include/bits/stl_pair.h:  Likewise.
2798         * include/bits/stl_pthread_alloc.h:  Likewise.
2799         * include/bits/stl_queue.h:  Likewise.
2800         * include/bits/stl_raw_storage_iter.h:  Likewise.
2801         * include/bits/stl_relops.h:  Likewise.
2802         * include/bits/stl_set.h:  Likewise.
2803         * include/bits/stl_stack.h:  Likewise.
2804         * include/bits/stl_tempbuf.h:  Likewise.
2805         * include/bits/stl_threads.h:  Likewise.
2806         * include/bits/stl_tree.h:  Likewise.
2807         * include/bits/stl_uninitialized.h:  Likewise.
2808         * include/bits/stl_vector.h:  Likewise.
2809         * include/bits/type_traits.h:  Likewise.
2810         * include/ext/hash_map:  Likewise.
2811         * include/ext/hash_set:  Likewise.
2812         * include/ext/rope:  Likewise.
2813         * include/ext/ropeimpl.h:  Likewise.
2814         * include/ext/slist:  Likewise.
2815         * include/ext/stl_hash_fun.h:  Likewise.
2816         * include/ext/stl_hashtable.h:  Likewise.
2817         * include/ext/stl_rope.h:  Likewise.
2818         * src/bitset.cc:  Likewise.
2819         * src/strstream.cc:  Likewise.
2821 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2822                              <vakatov@ncbi.nlm.nih.gov>
2824         libstdc++/3272
2825         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2826         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2827         * testsuite/27_io/istream_extractor_other.cc: Fix.
2829 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
2831         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2832         * aclocal.m4: Regenerate.
2833         * configure: Regenerate.
2835 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2837         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2838         (ostream_iterator): Same.
2839         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2840         Change argument to const_reference.
2841         (back_insert_iterator): Same.
2843 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2845         * include/bits/sbuf_iter.h: Change to..
2846         * include/bits/streambuf_iterator.h: This.
2847         * include/bits/stl_iterator.h: Take out of here...
2848         * include/bits/stream_iterator.h: Add.
2849         * src/Makefile.am (base_headers): Add streambuf_iterator,
2850         stream_iterator.h
2851         * src/Makefile.in: Regenerate.
2852         * include/bits/std_string.h: Adjust includes.
2853         * include/bits/basic_ios.h: Same.
2854         * include/bits/locale_facets.tcc: Same.
2855         * include/bits/std_iosfwd.h: Same.
2857         * include/bits/std_iterator.h: Add istream, ostream includes.
2858         * include/bits/stl_iterator.h: Tweak.
2859         * testsuite/24_iterators/ostream_iterator.cc: Add test.
2860         * testsuite/24_iterators/istream_iterator.cc: Same.
2861         * testsuite/23_containers/multiset.cc: Add iterator include.
2863 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
2865         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
2866         * aclocal.m4:  Regenerate.
2867         * configure:  Regenerate.
2869 2001-06-26  Felix Natter  <f.natter@ndh.net>
2871         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
2873 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2875         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2876         return values.
2877         (istream_iterator::operator*): Same.
2879 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2880             Alexandre Petit-Bianco  <apbianco@redhat.com>
2882         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2883         is on 41st, not 14th.
2885 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2887         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2889         * include/bits/stl_iterator.h (istream_iterator): Inherit from
2890         iterator.
2891         (ostream_iterator): Same.
2892         * testsuite/24_iterators/istream_iterator.cc: New file.
2893         * testsuite/24_iterators/ostream_iterator.cc: New file.
2895         * include/bits/sbuf_iter.h: Remove self typedef.
2896         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2897         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2899         * include/bits/stl_iterator.h (reverse_iterator): Remove
2900         extraneous typedefs. Add typename.
2901         (__normal_iterator): Remove typedefs referring to self. Add typename.
2902         (reverse_bidiretional_iterator): Remove, not longer required.
2904 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2906         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2907         dependent names with `typename'.  Bring in various required
2908         iterator_traits members.  Can't imagine why that used to work.
2910 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
2911             Kurt Garloff <garloff@suse.de>
2913         PR libstdc++/3377
2914         * src/cmath.cc:  New [version of an old] file; instantiate
2915         __cmath_power to start with.
2916         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
2917         * Makefile.in:  Regenerate.
2918         * libio/Makefile.in:  Regenerate.
2919         * libmath/Makefile.in:  Regenerate.
2920         * libsupc++/Makefile.in:  Regenerate.
2921         * src/Makefile.in:  Regenerate.
2922         * testsuite/Makefile.in:  Regenerate.
2924 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2926         * libmath/stubs.c: Fix thinko.
2928 2001-06-24  David Edelsohn <dje@watson.ibm.com>
2930         * libmath/stubs.c (sqrtf): Define.
2931         (tanf): Correct typo.
2933 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
2935         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2936         iterator.
2937         (back_insert_iterator): Same.
2938         (front_insert_iterator): Same.
2939         (insert_iterator): Same.
2941         * testsuite/20_util/raw_storage_iterator.cc: Modify.
2942         * testsuite/24_iterators/reverse_iterator.cc: New file.
2943         * testsuite/24_iterators/back_insert_iterator.cc: New file.
2944         * testsuite/24_iterators/front_insert_iterator.cc: New file.
2945         * testsuite/24_iterators/insert_iterator.cc: New file.
2947 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
2949         * include/*:  Revert comment/license change from yesterday for all
2950         except libsupc++/unwind-cxx.h.
2951         * src/bitset.cc:  Likewise.
2952         * src/strstream.cc:  Likewise.
2954 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2956         * libmath/stubs.c: New file.
2957         (tanhf): Fix typo.
2958         (powf): Likewise.
2960         * libmath/Makefile.am (libmath_la_SOURCES): Add.
2961         * libmath/Makefile.in.  Regenerate.
2963 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
2965         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
2966         * include/backward/algobase.h:  Likewise.
2967         * include/backward/alloc.h:  Likewise.
2968         * include/backward/bvector.h:  Likewise.
2969         * include/backward/defalloc.h:  Likewise.
2970         * include/backward/deque.h:  Likewise.
2971         * include/backward/function.h:  Likewise.
2972         * include/backward/hash_map.h:  Likewise.
2973         * include/backward/hash_set.h:  Likewise.
2974         * include/backward/hashtable.h:  Likewise.
2975         * include/backward/heap.h:  Likewise.
2976         * include/backward/iterator.h:  Likewise.
2977         * include/backward/list.h:  Likewise.
2978         * include/backward/map.h:  Likewise.
2979         * include/backward/multimap.h:  Likewise.
2980         * include/backward/multiset.h:  Likewise.
2981         * include/backward/pair.h:  Likewise.
2982         * include/backward/rope.h:  Likewise.
2983         * include/backward/set.h:  Likewise.
2984         * include/backward/slist.h:  Likewise.
2985         * include/backward/stack.h:  Likewise.
2986         * include/backward/strstream:  Likewise.
2987         * include/backward/tempbuf.h:  Likewise.
2988         * include/backward/tree.h:  Likewise.
2989         * include/backward/vector.h:  Likewise.
2990         * include/bits/pthread_allocimpl.h:  Likewise.
2991         * include/bits/std_algorithm.h:  Likewise.
2992         * include/bits/std_bitset.h:  Likewise.
2993         * include/bits/std_deque.h:  Likewise.
2994         * include/bits/std_functional.h:  Likewise.
2995         * include/bits/std_iterator.h:  Likewise.
2996         * include/bits/std_list.h:  Likewise.
2997         * include/bits/std_map.h:  Likewise.
2998         * include/bits/std_memory.h:  Likewise.
2999         * include/bits/std_numeric.h:  Likewise.
3000         * include/bits/std_queue.h:  Likewise.
3001         * include/bits/std_set.h:  Likewise.
3002         * include/bits/std_stack.h:  Likewise.
3003         * include/bits/std_utility.h:  Likewise.
3004         * include/bits/std_vector.h:  Likewise.
3005         * include/bits/stl_algo.h:  Likewise.
3006         * include/bits/stl_algobase.h:  Likewise.
3007         * include/bits/stl_alloc.h:  Likewise.
3008         * include/bits/stl_bvector.h:  Likewise.
3009         * include/bits/stl_construct.h:  Likewise.
3010         * include/bits/stl_deque.h:  Likewise.
3011         * include/bits/stl_function.h:  Likewise.
3012         * include/bits/stl_heap.h:  Likewise.
3013         * include/bits/stl_iterator.h:  Likewise.
3014         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3015         * include/bits/stl_iterator_base_types.h:  Likewise.
3016         * include/bits/stl_list.h:  Likewise.
3017         * include/bits/stl_map.h:  Likewise.
3018         * include/bits/stl_multimap.h:  Likewise.
3019         * include/bits/stl_multiset.h:  Likewise.
3020         * include/bits/stl_numeric.h:  Likewise.
3021         * include/bits/stl_pair.h:  Likewise.
3022         * include/bits/stl_pthread_alloc.h:  Likewise.
3023         * include/bits/stl_queue.h:  Likewise.
3024         * include/bits/stl_raw_storage_iter.h:  Likewise.
3025         * include/bits/stl_relops.h:  Likewise.
3026         * include/bits/stl_set.h:  Likewise.
3027         * include/bits/stl_stack.h:  Likewise.
3028         * include/bits/stl_tempbuf.h:  Likewise.
3029         * include/bits/stl_threads.h:  Likewise.
3030         * include/bits/stl_tree.h:  Likewise.
3031         * include/bits/stl_uninitialized.h:  Likewise.
3032         * include/bits/stl_vector.h:  Likewise.
3033         * include/bits/type_traits.h:  Likewise.
3034         * include/ext/hash_map:  Likewise.
3035         * include/ext/hash_set:  Likewise.
3036         * include/ext/rope:  Likewise.
3037         * include/ext/ropeimpl.h:  Likewise.
3038         * include/ext/slist:  Likewise.
3039         * include/ext/stl_hash_fun.h:  Likewise.
3040         * include/ext/stl_hashtable.h:  Likewise.
3041         * include/ext/stl_rope.h:  Likewise.
3042         * libsupc++/unwind-cxx.h:  Likewise.
3043         * src/bitset.cc:  Likewise.
3044         * src/strstream.cc:  Likewise.
3046 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3048         * include/bits/indirect_array.h (indirect_array<>::operator=):
3049         Make copy and assignment operator public.  Implement.  Format.
3051         * include/bits/valarray_array.h (__valarray_copy): Add overloads
3052         for copy between index arrays.  Format.
3054 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
3056         * mknumeric_limits: Add static definitions, format.
3057         * testsuite/18_support/numeric_limits.cc (test02): Add test.
3059         * include/c_std/bits/std_cwchar.h: Include ctime.
3060         * testsuite/17_intro/header_cwchar.cc : Check.
3062         * include/c_std/bits/std_cwctype.h: Inject wctype.
3063         * testsuite/17_intro/header_cwctype.cc: Update.
3065 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
3067         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3068         * testsuite/20_util/raw_storage_iterator.cc: Same.
3070         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3071         operator new.
3072         (__mem_interface): New typedef for switching between malloc and new.
3073         * testsuite/20_util/allocator_members.cc: New file.
3075         * testsuite/20_util/comparisons.cc: New file.
3076         * testsuite/20_util/pairs.cc: New file.
3078 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
3080         * docs/html/documentation.html:  Point to new doxygen'ed collection.
3082 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
3084         * configure.in (auxdir): Replace by ...
3085         (toprel): ... new variable.
3086         (toplevel_srcdir): Construct from $toprel.
3087         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3088         rather than .. to locate gcc source directory.
3089         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3090         * aclocal.m4, configure: Rebuilt.
3092 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3094         (Approved by Mark and Benjamin.  Applied by Loren.)
3096         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3097         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3098         and _GLIBCPP_mutex_address.
3099         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3100         once-only runtime initialization of _M_lock mutex when
3101         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3102         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3103         for __GTHREAD_MUTEX_INIT_FUNCTION case.
3105 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3107         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3109         * include/bits/slice_array.h (slice_array<>::operator=): Make
3110         public and implement.
3111         (slice_array<>::slice_array): Make copy-constructor public.
3113         * include/bits/valarray_array.h (__valarray_copy): Add another
3114         overload to copy between strided arrays.
3116 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
3118         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3119         * aclocal.m4: Regenerate.
3120         * configure: Regenerate.
3121         * include/bits/c++config (__GLIBCPP__): Update date.
3123 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3125         * include/bits/fpos.h (fpos::operator-): Don't return reference,
3126         return original, non-modified version.
3127         (fpos::operator+): Same.
3128         * testsuite/27_io/fpos.cc: Add test.
3130 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
3132         libstdc++/2071
3133         * porting.texi: Add documentation about libstdc++-v3-specific
3134         macros that are currently included in os_defines.h files.
3136         * config/basic_file_stdio.h (sys_getc): New method.
3137         (sys_ungetc): New method.
3138         * include/bits/basic_file.h: (sys_getc): New method signature.
3139         (sys_ungetc): New method signature.
3141         * include/bits/fstream.tcc (underflow): Add conditional code
3142         paths which avoid using short seeks on streams (especially
3143         useful when the stream might be interactive or a pipe).  At
3144         the moment, this alternate path only avoids seeking when the
3145         ``buffer size'' of underflow() is 1 since the C standard only
3146         guarantees buffer space for one ungetc (this technique could
3147         be extended since *-*-solaris* supports buffering for 4 calls
3148         to ungetc and *-*-*bsd* supports buffering limited only by
3149         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
3150         in a port's os_defines.h file for this alternate path to even
3151         be considered.  As a bonus, the idiom of using getc/ungetc
3152         requires no system calls whereas fseek maps to one or two
3153         system call(s) on many platforms.
3155         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3156         Define it.
3157         * config/os/solaris/solaris2.5/bits/os_defines.h
3158         (_GLIBCPP_AVOID_FSEEK): Likewise.
3159         * config/os/solaris/solaris2.6/bits/os_defines.h
3160         (_GLIBCPP_AVOID_FSEEK): Likewise.
3161         * config/os/solaris/solaris2.7/bits/os_defines.h
3162         (_GLIBCPP_AVOID_FSEEK): Likewise.
3164 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3166         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3167         AC_TRY_COMPILE, so that the built compiler is checked, and
3168         bootstraps or cross compiles with an older compile still work.
3169         * aclocal.m4: Regenerate.
3170         * configure: Regenerate.
3172 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3174         libstdc++/3142
3175         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3177         libstdc++/3141
3178         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3180         libstdc++/3140
3181         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3183         libstdc++/3139
3184         * include/bits/limits_generic.h: Fix as per DR 184.
3186 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3188         libstdc++/3126
3189         * include/bits/basic_string.h (string::compare): Adjust signatures
3190         as per DR 5.
3191         * include/bits/basic_string.tcc: And here.
3193         libstdc++/2346
3194         * config/c_io_stdio.h: Remove whitespace.
3195         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3196         (test02): Add regression.
3197         * testsuite/27_io/istream_seeks-3.tst: New file.
3199 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
3201         * README:  Update to reflect reality.
3202         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
3203         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
3204         * aclocal.m4:  Regenerate.
3205         * configure:  Regenerate (with 2.13).
3207 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3209         libstdc++/3114
3210         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3211         per DR 129.
3212         * include/bits/istream.tcc (istream::seekg): Same.
3213         * testsuite/27_io/istream_seeks.cc: Fix.
3215         libstdc++/3113
3216         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3217         (binder1st): Same.
3218         * include/bits/std_queue.h: Add c++config.h.
3219         * testsuite/20_util/binders.cc: New test.
3221 2001-06-11  Matthias Klose  <doko@debian.org>
3222             Phil Edwards  <pme@sources.redhat.com>
3224         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
3225         (main script):  Echo more information.
3227 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3229         * include/c_std/bits/std_cwchar.h: Alphabetize.
3230         * include/bits/char_traits.h: Tweak.
3231         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3232         everything used by std_cwchar.h.
3233         * aclocal.m4: Regenerate.
3234         * configure.in: Regenerate.
3235         * config.h.in: Regenerate.
3237 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3239         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3240         Add checking for strtof, _Exit in stdlib.h
3241         * aclocal.m4: Regenerate.
3242         * configure.in: Regenerate.
3243         * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3244         (snprintf): Put C99 functions into __gnu_cxx namespace.
3245         (vfscanf): Same.
3246         (vscanf): Same.
3247         (vsnprintf): Same.
3248         (vsscanf): Same.
3249         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3250         for C99 functions within _GLIBCPP_USE_C99 guard.
3251         (_Exit): Same.
3252         (strtof): Same.
3253         (strtold): Same.
3254         * include/bits/locale_facets.tcc: Check if C99 is enabled.
3255         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3256         C99 guard.
3257         * include/c_std/bits/cmath.tcc: Formatting tweak.
3258         * include/c_std/bits/std_cmath.h: Same.
3260 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3262         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3264 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
3265             Stephen L Moshier  <moshier@mediaone.net>
3267         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3268         nothing, as in autoconf 2.50.
3269         * configure: Rebuilt.
3271 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3273         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3274         include std_cstddef.
3275         * include/c_std/bits/std_ctime.h: Same.
3276         * include/c_std/bits/std_cstring.h: Same.
3277         * include/c_std/bits/std_cstdlib.h: Same.
3279         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3280         * include/c_std/bits/std_cctype.h: Remove isblank.
3282 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3284         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3285         fgetws.
3286         * aclocal.m4: Regenerate.
3287         * configure: Regenerate.
3288         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3289         injection, guard fgetwc, fgetws.
3290         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3291         * include/c_std/bits/std_clocale.h: And here.
3292         * include/c_std/bits/std_cctype.h: And here.
3293         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3295         * config/basic_file_stdio.h: Don't include unistd.h.
3296         * config/c_io_stdio.h: Don't use compatibility headers.
3297         * libsupc++/eh_terminate.cc: Qualify abort.
3298         (__terminate): And here.
3299         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3301 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3303         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3305 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3307         libstdc++/2767
3308         libstdc++/2989
3309         libstdc++/2992
3310         * include/std/*: Add copyright notice.
3311         * include/c_std/bits/*: Use using statements instead of extern "C".
3312         * include/c_std/bits/std_cmath.h: Don't overload double versions
3313         of math functions with __buitin versions, use global version to
3314         prevent ambiguities. Remove define hacks.
3315         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3316         functions that have changed signatures and std::
3317         declarations. Remove define hacks.
3318         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3319         __builtins in std::. Remove define hacks.
3320         * testsuite/17_intro/headers_c.cc: Add tests.
3321         * testsuite/17_intro/headers_c++.cc: Add test.
3323 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3324             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3326         c++/3082
3327         * libsupc++/eh_alloc.cc: Ensure that required macros are
3328         defined before including gthr.h.  Ensure that we get the
3329         version of gthr.h for which we know how to provide a
3330         configuration.
3331         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
3332         code path into line with the current EH model.  Use std, where
3333         appropriate.
3335 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3336             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3338         * config/threads-no.h: Remove file.
3339         * config/threads-posix.h: Remove file.
3341         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3342         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3343         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3344         * config.h.in: Regenerate.
3346         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3347         setup and use gthr*.h files.  In particular, make gthr.h files
3348         namespace-clean in the staging area (they don't have to be for
3349         libgcc.a).
3350         * aclocal.m4: Regenerate.
3351         * configure: Regenerate.
3353         * src/Makefile.am (build_headers): Remove bits/c++threads.h
3354         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3355         * src/Makefile.in: Regenerate.
3357         * include/bits/c++config: Cleanup threading configuration macros.
3358         In particular, define __STL_GTHREADS macro which controls...
3359         * include/bits/stl_threads.h: ...a brand new gthr.h-based
3360         configuration here.
3362         * config/c_io_stdio.h: Include staged gthr.h instead of local
3363         thread configuration file.  Always use __gthread_mutex_t
3364         instead of __mutext_type (or int).
3365         * include/bits/std_fstream.h: Likewise.
3367         * docs/html/17_intro/howto.html: Remove placeholder comment in
3368         case this configuration patch didn't make it.  Add advice that
3369         section only applies if configured with --enable-threads.
3370         * docs/html/23_containers/howto.html: Reword to make clear
3371         that _PTHREADS is no longer required for any port to be
3372         correctly using STL with threads.  Add advice that section
3373         only applies if configured with --enable-threads.
3375 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
3377         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3379 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
3381         libstdc++/3045
3382         * include/bits/basic_ios.tcc: Formatting tweaks.
3383         * include/bits/ios_base.h: Formatting tweaks.
3384         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3385         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3386         * src/globals.cc: Allocate filebufs for standard streams here.
3387         (buf_cout, buf_cin, buf_cerr): Like so.
3388         (buf_wcout, buf_wcin, buf_wcerr): And so.
3389         * testsuite/27_io/ios_init.cc: Add.
3391 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3392             Benjamin Kosnik  <bkoz@redhat.com>
3394         libstdc++/3017
3395         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3396         for generic ctype virtuals.
3397         * src/locale.cc: Minor tweaks, naming consistency.
3398         * testsuite/22_locale/ctype.cc: Add test.
3400 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
3401             Phil Edwards  <pme@sources.redhat.com>
3403         PR libstdc++/3035 and PR libstdc++/3036
3404         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
3405         to LWG DR 181 and 265.
3407 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
3409         PR libstdc++/3034
3410         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3411         equal_range):  Add const overloads as per LWG DR 214.
3412         * include/bits/stl_set.h:  Likewise.
3414 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3415             Phil Edwards  <pme@sources.redhat.com>
3417         PR libstdc++/3018
3418         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
3419         comparison; all positions must be < _Nb.
3420         * testsuite/23_containers/bitset_members.cc:  New file.
3422 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3424         PR libstdc++/3016
3425         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
3426         ctors to match the standard.
3428 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
3430         * include/bits/char_traits.h (move): Reverse qualification of
3431         memmove with std::.
3432         (copy): Reverse qualification of memcpy with std::.
3434 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
3436         * include/bits/char_traits.h (move): Qualify memmove with std::.
3437         (copy): Qualify memcpy with std::.
3438         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3439         strncmp with std::.
3440         (test02): Likewise.
3441         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3443 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
3445         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3446         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3447         SUN make VPATH peculiarities.
3448         * libsupc++/Makefile.in: Regenerate.
3450 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
3452         * src/Makefile.am (VPATH): Delimit with ":", not space.
3453         * src/Makefile.in: Regenerate.
3455         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3456         make isn't found.
3457         * configure: Regenerate.
3459 2001-05-31  scott snyder  <snyder@fnal.gov>
3461         libstdc++/2976
3462         * include/bits/istream.tcc: Include std_ostream.h.
3464 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
3466         libstdc++/2997
3467         * src/bitset.cc: Qualify size_t with std::.
3469 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
3471         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3472         (_GLIBCPP_BUGGY_COMPLEX): Remove.
3473         * config.h.in: Regenerate.
3474         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3475         * aclocal.m4: Regenerate.
3476         * configure.in: Don't call it.
3477         * configure: Regenerate.
3479         libstdc++/2970
3480         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3481         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3482         New test.
3484         libstdc++/2985
3485         * include/bits/std_complex.h: Include sstream. Put definitions for
3486         complex inserters and extractors here, and remove them from...
3487         * src/complex_io.cc: ...here.
3488         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3489         parameter.
3490         (basic_ios::__numget_type): Same.
3491         * include/bits/std_istream.h: Same.
3492         * include/bits/std_ostream.h: Same.
3493         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3494         class iterator template arguments.
3495         * src/locale-inst.cc: Add explicit has_facet instantiations.
3496         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3497         (_M_get_fnumput): Remove.
3498         (_M_get_fnumget): Remove.
3499         (basic_ios::_M_check_facet): New function.
3500         (basic_ios::_M_cache_facets): New function.
3501         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3502         (basic_ios::imbue): Call _M_cache_facets.
3503         (basic_ios::init): Same.
3504         * include/bits/istream.tcc: Format, use _M_check_facet.
3505         * include/bits/ostream.tcc: Same.
3506         * include/bits/locale_facets.tcc (__output_float): Change
3507         signature, add _Traits.
3508         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3509         New test.
3511 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
3513         * include/bits/c++config (__USE_MALLOC): Do not define it.
3514         Document why not and give pointers to more information.
3516         * docs/html/23_containers/howto.html: Update documentation
3517         to reflect recent understanding of problem.
3518         * docs/html/17_intro/howto.html: Likewise.
3520 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
3522         * docs/doxygen/user.cfg.in:  Minor addition.
3523         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
3524         stuff first.
3525         * docs/html/install.html:  Update for 3.0.  HTML fixups.
3526         * docs/html/17_intro/howto.html:  Likewise.
3527         * docs/html/18_support/howto.html:  Likewise.
3528         * docs/html/19_diagnostics/howto.html:  Likewise.
3529         * docs/html/20_util/howto.html:  Likewise.
3530         * docs/html/23_containers/howto.html:  Likewise.
3531         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
3532         * docs/html/25_algorithms/howto.html:  Likewise.
3533         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
3534         * docs/html/27_io/howto.html:  Likewise.
3535         * docs/html/ext/howto.html:  Likewise.
3536         * docs/html/faq/index.html:  Likewise.
3537         * docs/html/faq/index.txt:  Regenerate.
3538         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
3539         Doxygen-created documentation.
3541 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3543         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3544         get_multilibs to find gcc.
3546 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
3548         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
3549         * aclocal.m4:  Regenerate.
3550         * configure:  Regenerate.
3552 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3554         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3555         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3557 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3559         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3560         * include/c_std/bits/std_cstdlib.h: Same.
3561         * include/c_std/bits/std_cwchar.h: Same.
3563 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
3565         * docs/html/17_intro/howto.html: Update link.
3566         * docs/html/23_containers/howto.html: Likewise.  Add new link.
3568 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
3570         * include/c_std/bits/std_cmath.h (sqrt): #undef.
3572 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3574         * mknumeric_limits: Stop if gen-num-limits dies.
3576 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
3578         other/2931
3579         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3580         * aclocal.m4: Regenerate.
3581         * configure: Same.
3583 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3584             Phil Edwards  <pme@sources.redhat.com>
3585             Alexandre Oliva  <aoliva@redhat.com>
3587         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3588         in an amd-safe manner. Revert glibcpp_prefixdir.
3590 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
3592         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
3593         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
3594         variants.
3596 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3598         libstdc++/2830
3599         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3600         * include/bits/ostream.tcc: Format to match istream.tcc.
3601         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3603 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
3605         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
3606         malloc with std:: .
3607         (__cxa_free_exception):  Likewise with free.
3609 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
3611         * include/c_std/bin/std_cstring.h: #define away all global
3612         functions we will redeclare in namespace `std'.
3613         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3614         std::memset, instead of memset.
3615         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3616         not plain `strcmp'.
3617         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3618         plain `strcpy'.
3620 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3622         libstdc++/2832
3623         * include/bits/basic_ios.tcc: Small tweak.
3624         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3625         ctors and dtors, and rdbuf settings.
3626         (ofstream): Same.
3627         (fstream): Same.
3628         * include/bits/std_sstream.h: Same, but for stringstream classes.
3629         * testsuite/27_io/ostringstream_members.cc: New.
3630         * testsuite/27_io/stringstream_members.cc: New.
3631         * testsuite/27_io/fstream_members.cc: New.
3632         * testsuite/27_io/ifstream_members.cc: Add test.
3633         * testsuite/27_io/istringstream_members.cc: Add test.
3634         * testsuite/27_io/ofstream_members.cc: Add test.
3636 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3638         * include/bits/c++config(__NO_MATH_INLINES): Move to...
3639         * config/os/gnu-linux/bits/os_defines.h: ...here.
3641 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
3643         * include/bits/c++config (__NO_MATH_INLINES): New macro.
3644         * testsuite/26_numerics/fabs_inline.cc (main): New test.
3646 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
3648         libstdc++/2841
3649         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3650         ld_library_path.
3651         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3652         (libstdc++-v3-finish): Remove.
3653         (libstdc++-v3_exit): Remove.
3655 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
3657         * docs/html/documentation.html:  Point to doxygen output.
3659 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
3661         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3663         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3664         arguments to be non-null.
3665         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3666         try allocations if allocated size is greater than zero.
3667         (filebuf::_M_filebuf_init): Change to
3668         (filebuf::_M_allocate_file): Which is what it does now.
3669         (filebuf::_M_allocate_bufers): Change to
3670         (filebuf::_M_allocate_internal_buffer): This, and create
3671         (filebuf::_M_allocate_pback_buffer): New.
3672         (filebuf::_M_destroy_internal_buffer): New.
3673         (filebuf::_M_buf_allocated): New data member.
3674         (filebuf::setbuf): Use new logic, allow use of external buffer.
3675         * testsuite/27_io/stringbuf_virtuals.cc: New file.
3676         * testsuite/27_io/filebuf_virtuals.cc: New file.
3678 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
3680         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3681         __glibcpp_memchr.
3682         (strchr): Same, but to __glibcpp_strchr.
3683         (strpbrk): Same.
3684         (strrchr): Same.
3685         (strstr): Same.
3686         * include/c_std/bits/std_cwchar.h (wcschr): Same.
3687         (wcsbrk): Same.
3688         (wcsrchr): Same.
3689         (wcsstr): Same.
3690         (wmemchr): Same.
3692 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
3694         * testsuite/21_strings/c_strings.cc (main): Fix.
3696 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
3698         * acinclude.m4:  Fix --help spacing, correct comments.
3699         * aclocal.m4:  Regenerate.
3700         * configure:  Regenerate.
3701         * mkcheck.in:  Add usage comments.
3702         * docs/html/documentation.html:  Point to doxygen'd tarball.
3704 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
3706         * testsuite/README: Add notes.
3708         * src/Makefile.am (libstdc++.INC): Remove.
3709         * src/Makefile.in: Regenerate.
3711         Phil Edwards <pedwards@disaster.jaj.com>
3712         * mkcheck.in: Add missing '#'.
3714 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3716         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3717         appropriately for remote testing and testing installed files without
3718         a build dir.
3720 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
3722         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3723         amd glibcpp_prefixdir with absolute paths.
3725         * include/bits/c++config (__GLIBCPP__): Bump.
3726         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3728 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
3730         * include/bits/std_valarray.h (valarray<>::operator[] const):
3731         Return a const reference.
3732         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3734 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
3736         * configure.target (ATOMICITYH): Actually use AIX-specific code on
3737         earlier versions of AIX 4.*.
3739 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3741         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
3742         output_file based on the name of the testcase.
3744 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3746         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
3747         gluefile and use it if needs_status_wrapper is set.
3749 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
3751         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3752         versions of AIX.
3754 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
3756         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3757         on earlier versions of AIX.
3759 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
3761         * testsuite_flags.in (query): Add backwards, ext directories.
3763 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
3765         * porting.texi: Correct documentation about handling
3766         _LARRGEFILE_SOURCE and its ilk.
3767         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3768         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3769         __EXTENSIONS__.
3770         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3771         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3773 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
3775         * testsuite/21_strings/inserters_extractors.cc,
3776         testsuite/27_io/istream_unformatted.cc,
3777         testsuite/27_io/stringstream.cc:
3778         Replace multi-line string constants with C89-style
3779         concatenated string constants.
3781 2001-05-14  Richard Henderson  <rth@redhat.com>
3783         * mknumeric_limits: Build with -fno-exceptions.
3785 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
3787         Switch over to new harness.
3788         * testsuite_flags.in: Tweaks via Gaby.
3789         * testsuite/Makefile.am: Change tool to libstdc++-v3.
3790         (EXPECT): Quote directly.
3791         (RUNTEST): Same.
3792         * configure.in: Output testsuite_flags.
3793         * acinclude.m4: Substitute src, bld, and prefix dirs.
3794         Remove glibcpp_expect, glibcpp_runtestflags.
3795         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3796         * mkcheck.in: Port to new interface.
3798         * aclocal.m4: Regerate.
3799         * configure: Regnerate.
3800         * Makefile.in: Regnerate.
3801         * */Makefile.in: Regenerate.
3803         * tests_flags.in: Remove.
3804         * testsuite/lib/libstdc++.exp: Remove.
3805         * testsuite/libstdc++.tests/tests.exp: Remove.
3807 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
3809         * configure.target: Remove detection of AIX pthread multilib, now
3810         obtained from `gcc -v'.
3812 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3814         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3815         size.  Add hpux case for HP size.
3817 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
3819         * testsuite_flags.in: New, simplified interface.
3820         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3821         * testsuite/libstdc++-v3.dg: Add.
3822         * testsuite/libstdc++-v3.dg/dg.exp: Add.
3824 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
3826         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3827         * testsuite/config/default.exp: Update bugs email address.
3829 2001-05-11  Richard Henderson  <rth@redhat.com>
3831         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
3832         all pointer encoding logic.
3833         (struct lsda_header_info): Add ttype_base.
3834         (get_ttype_entry): Use it instead of a context.
3835         (check_exception_spec): Likewise.
3836         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
3837         the c++ exception header for __cxa_call_unexpected.
3838         (__cxa_call_unexpected): Use it.
3840 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
3842         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3843         libgloss_link_flags to find crt0.o for targets that use libgloss
3844         instead of newlib.
3845         Change LDFLAGS to LIBS.
3846         Consistently name procedures libstdc++-XXX.
3847         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3849 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
3851         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3852         (strchr): Same.
3853         (strpbrk): Same.
3854         (strrchr): Same.
3855         (strstr): Same.
3856         * include/c_std/bits/std_cwchar.h (wcschr): Same.
3857         (wcsbrk): Same.
3858         (wcsrchr): Same.
3859         (wcsstr): Same.
3860         (wmemchr): Same.
3861         * testsuite/21_strings/c_strings.cc: Add tests.
3863 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
3865         libstdc++/2523
3866         * include/bits/std_fstream.h (basic_filebuf): Change signature.
3867         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3868         to int_type, pass in buffer size info.
3869         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3870         unbuffered situation.
3871         (underflow): Remove codecvt bits for the time being.
3872         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3873         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3874         values from iterators, clean.
3875         * src/locale.cc: Ditto.
3876         * include/bits/sbuf_iter.h: Format.
3877         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3878         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3879         * testsuite/27_io/filebuf.cc: Tweaks.
3880         * testsuite/27_io/filebuf_members.cc: Tweaks.
3882 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
3884         * config/os/solaris/solaris2.7/bits/os_defines.h
3885         (_LARGEFILE_SOURCE): Define it.
3887 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
3889         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3890         -prefer-non-pic depending on whether libtool has shared libraries
3891         enabled or disabled.
3892         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3893         $(LIBSUPCXX_PICFLAGS).
3894         * configure, */Makefile.in: Rebuilt.
3896 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
3898         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3899         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3901         * include/bits/std_sstream.h (stringbuf): Leak
3902         copied string.
3903         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3905 2001-05-01  Tom Browder  <tbrowder@home.com>
3907         * docs/html/ext/howto.html:  Fix typo.
3909 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
3911         * testsuite/libstdc++.tests/tests.exp: Add comment.
3913 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
3915         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3917 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3919         * porting.texi: Use the GFDL.
3921 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
3923         libstdc++/2627
3924         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3925         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3926         specializations.
3928 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
3930         libstdc++/2964
3931         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3933 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
3935         * docs/doxygen/run_doxygen:  Minor tweaks.
3936         * docs/doxygen/style.css:  New file.
3937         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
3938         latest parameters available.  Use style.css.
3940 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
3942         * docs/doxygen/mainpage.doxy: New.
3943         * docs/doxygen/user.cfg.in: Change default configuration. Single
3944         frame, other tweaks.
3946 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
3948         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3949         Indicate obsolete nature of thelist for G++ 3.0.
3951 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
3953         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3954         target_thread_file with `gcc -v'.
3955         * aclocal.m4, configure: Rebuilt.
3957 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
3959         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3960         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3961         * include/c_std/bits/std_cwchar.h (std): Same.
3962         * acconfig.h (std): Remove c99 injection into std.
3963         * config.h.in: Regenerate.
3965         * testsuite/README: Fix typo.
3967         * include/bits/codecvt.h: Remove warnings.
3969 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3971         * include/ext/slist: Include required header files.
3973 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
3975         * include/c_std/bits/std_cerrno.h (errno): Define macro from
3976         identifier declared with external linkage, if needed.
3977         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3978         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3980 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
3982         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3983         re-configures find the build compiler.
3984         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3985         libstdc++/2609.
3986         * aclocal.m4: Regenerate.
3987         * configure: Regenerate.
3989 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
3991         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3992         support is enabled correctly before long long is activated.
3993         * aclocal.m4: Regenerate.
3994         * configure: Regenerate.
3996         * include/backward/backward_warning.h: Format correctly.
3998         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3999         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4000         * testsuite/26_numerics/c99_macros.cc: Remove.
4002 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
4004         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
4005         __iterator_category.
4007 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
4009         * acconfig.h (_GLIBCPP_USE_C99): Add.
4010         * config.h.in: Regenerate.
4011         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4012         9899: 1999 support.
4013         * aclocal.m4: Regenerate.
4014         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4015         * configure: Regenerate.
4016         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4017         * configure: Regenerate.
4018         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4019         into c99.
4020         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4021         namespace.
4022         * include/c_std/bits/std_cstdlib.h: Same.
4023         * docs/html/configopts.html: Update.
4024         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4025         math.h
4026         (test_c99_classify): Add.
4027         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4028         (_ISOC99_SOURCE): Remove.
4030         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4031         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4032         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4033         * aclocal.m4: Regenerate.
4034         * configure: Regenerate.
4036 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
4038         * Makefile.am (doxygen):  Assume script is missing execute perms.
4039         * Makefile.in:  Regenerated.
4040         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
4042 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
4044         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4046 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
4048         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4049         * testsuite/23_containers/set_operators.cc: Same.
4051         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4052         default.
4053         (__GLIBCPP__): Bump from value of last release.
4054         * include/bits/concept_check.h: Default to off, edit comments.
4055         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4056         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4057         * src/Makefile.in: Regenerate.
4059 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
4061         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4062         Properly uglify member.
4064 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4066         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
4067         of EqualityCo
4068         mparableConcept.
4070 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4072         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
4073         * include/bits/concept_check.h:  Uglify.
4074         * include/bits/stl_algo.h:  Likewise.
4075         * include/bits/stl_algobase.h:  Likewise.
4076         * include/bits/stl_deque.h:  Likewise.
4077         * include/bits/stl_heap.h:  Likewise.
4078         * include/bits/stl_iterator_base_funcs.h:  Likewise.
4079         * include/bits/stl_list.h:  Likewise.
4080         * include/bits/stl_map.h:  Likewise.
4081         * include/bits/stl_multimap.h:  Likewise.
4082         * include/bits/stl_multiset.h:  Likewise.
4083         * include/bits/stl_numeric.h:  Likewise.
4084         * include/bits/stl_queue.h:  Likewise.
4085         * include/bits/stl_set.h:  Likewise.
4086         * include/bits/stl_stack.h:  Likewise.
4087         * include/bits/stl_vector.h:  Likewise.
4088         * include/ext/hash_map:  Likewise.
4089         * include/ext/hash_set:  Likewise.
4090         * include/ext/slist:  Likewise.
4092 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
4094         * testsuite/23_containers/set_operators.cc: Just try to compile.
4095         Mark as XFAIL.
4096         * testsuite/23_containers/map_operators.cc: Same.
4098 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
4100         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4101         output_file.
4102         (dg-test): Revert rth's change.
4104 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
4106         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4107         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4109 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
4111         * testsuite/README: Add DejaGnu specific documentation.
4113 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
4115         * acinclude.m4: AC_CHECK_TOOL for expect.
4116         * aclocal.m4: Regenerate.
4117         * configure: Regenerate.
4118         * testsuite/Makefile.am (RUNTEST): Use substituted.
4119         (EXPECT): Same.
4121         * configure.in: Remove xcompiling substitution.
4122         * tests_flags.in (CROSS_LIB_PATH): Remove.
4123         (xcompiling): Remove.
4124         (CXX): Use substituted CXX.
4126 2001-04-11  Richard Henderson  <rth@redhat.com>
4128         * testsuite/lib/libstdc++.exp: Specify path for output_file.
4130 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
4132         * include/bits/std_valarray.h(valarray<>::operator[]): Make
4133         inline.
4135 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4137         * testsuite/25_algorithms/equal.cc: New test.
4139 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
4141         * stl_algobase.h (std::equal): avoid use of possibly-undefined
4142         operator != (one line patch).
4144 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
4146         * include/backward/backward_warning.h: Re-enable.
4148 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4149             Alexandre Oliva  <aoliva@redhat.com>
4151         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4153 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4155         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4156         * testsuite/26_numerics/c99_macros.cc: Add test.
4158 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
4160         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
4161         * docs/html/faq/index.txt:  Regenerated.
4163 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4165         * include/backward/backward_warning.h: Temporarily disable until
4166         g++ testsuite changes go in.
4167         * tests_flags.in (CROSS_LIB_PATH): Add.
4169 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4171         Warn when using backward headers.
4172         * include/backward/algo.h: Include warning file.
4173         * include/backward/vector.h: Same.
4174         * include/backward/tree.h: Same.
4175         * include/backward/tempbuf.h: Same.
4176         * include/backward/strstream: Same.
4177         * include/backward/streambuf.h: Same.
4178         * include/backward/stream.h: Same.
4179         * include/backward/stack.h: Same.
4180         * include/backward/slist.h: Same.
4181         * include/backward/set.h: Same.
4182         * include/backward/rope.h:
4183         * include/backward/queue.h: Same.
4184         * include/backward/pair.h: Same.
4185         * include/backward/ostream.h: Same.
4186         * include/backward/new.h: Same.
4187         * include/backward/multiset.h: Same.
4188         * include/backward/multimap.h: Same.
4189         * include/backward/map.h: Same.
4190         * include/backward/list.h: Same.
4191         * include/backward/iterator.h: Same.
4192         * include/backward/istream.h: Same.
4193         * include/backward/iostream.h:
4194         * include/backward/iomanip.h:
4195         * include/backward/heap.h: Same.
4196         * include/backward/hashtable.h:
4197         * include/backward/hash_set.h:
4198         * include/backward/hash_map.h:
4199         * include/backward/function.h:
4200         * include/backward/fstream.h:
4201         * include/backward/deque.h:
4202         * include/backward/defalloc.h: Same.
4203         * include/backward/complex.h: Same.
4204         * include/backward/bvector.h:
4205         * include/backward/alloc.h:
4206         * include/backward/algobase.h: Same.
4208         * include/backward/backward_warning.h: New file.
4209         * src/Makefile.am (backward_headers): Add backward_warning.h
4210         * src/Makefile.in: Regenerate.
4212 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4214         * src/Makefile.am (myinstalldirs): Make sure backward directory is
4215         created.
4216         (myinstallheaders): Install backward headers in backward directory.
4217         * src/Makefile.in: Regenerate.
4219 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4221         Prepare for libstdc++-2.92.
4222         * docs/html/17_intro/RELEASE-NOTES (New): Update.
4223         * docs/html/configopts.html: Fix formatting.
4224         * README (file): Updates.
4225         * include/bits/c++config (__GLIBCPP__): Update.
4227 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
4229         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
4231 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
4233         * docs/doxygen/user.cfg.in:  Extract all non-private members;
4234         reduce confusing documentation output.
4236 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
4238         * include/backward/fstream.h: Add missing semicolons.
4240 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
4242         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4243         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4244         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4245         (ios_base::Init::_S_ios_create): New.
4246         (ios_base::Init::_S_ios_destroy): New.
4247         * include/bits/std_fstream.h: Change ctor args.
4248         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4249         (ios_base::Init::~Init): Use _S_ios_destroy.
4250         (ios_base::sync_with_stdio): Use new members.
4251         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4252         filebuf ctor.
4254 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4256         * include/backward/fstream.h:  Expose streampos to global
4257         namespace.
4259 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4261         * include/bits/stl_iterator_base_types.h: Fix typo
4263 2001-04-03  Andreas Schwab  <schwab@suse.de>
4265         * include/backward/fstream.h: Define filebuf and wfilebuf.
4267 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
4269         New concept checking implementation.
4270         * docs/html/19_diagnostics/howto.html:  Document.
4271         * docs/html/17_intro/concept_check.diff:  New file, for reference.
4272         * include/bits/boost_concept_check.h:  New file from Boost.
4273         * include/bits/c++config:  Update comments.
4275         * include/bits/concept_check.h:  New file.
4276         * include/bits/concept_checks.h:  Removed.
4277         * include/bits/container_concepts.h:  Removed.
4278         * include/bits/sequence_concepts.h:  Removed.
4279         * include/bits/stl_iterator_base.h:  Removed; split into...
4280         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
4281         * include/bits/stl_iterator_base_types.h:  ...and this new file.
4283         * include/bits/sbuf_iter.h:  Update to use new implementation.
4284         * include/bits/std_iterator.h:  Likewise.
4285         * include/bits/std_memory.h:  Likewise.
4286         * include/bits/stl_algo.h:  Likewise.
4287         * include/bits/stl_algobase.h:  Likewise.
4288         * include/bits/stl_construct.h:  Likewise.
4289         * include/bits/stl_deque.h:  Likewise.
4290         * include/bits/stl_heap.h:  Likewise.
4291         * include/bits/stl_list.h:  Likewise.
4292         * include/bits/stl_map.h:  Likewise.
4293         * include/bits/stl_multimap.h:  Likewise.
4294         * include/bits/stl_multiset.h:  Likewise.
4295         * include/bits/stl_numeric.h:  Likewise.
4296         * include/bits/stl_queue.h:  Likewise.
4297         * include/bits/stl_set.h:  Likewise.
4298         * include/bits/stl_stack.h:  Likewise.
4299         * include/bits/stl_uninitialized.h:  Likewise.
4300         * include/bits/stl_vector.h:  Likewise.
4301         * include/ext/hash_map:  Likewise.
4302         * include/ext/hash_set:  Likewise.
4303         * include/ext/slist:  Likewise.
4304         * include/ext/stl_hashtable.h:  Likewise.
4306         * src/Makefile.am (base_headers):  Update list of headers.
4307         * Makefile.in:  Regenerated.
4308         * src/Makefile.in:  Regenerated.
4309         * libio/Makefile.in:  Regenerated.
4310         * libmath/Makefile.in:  Regenerated.
4311         * libsupc++/Makefile.in:  Regenerated.
4312         * testsuite/Makefile.in:  Regenerated.
4314         * docs/html/install.html:  Update contact information.
4315         * docs/html/17_intro/howto.html:  Ditto.
4316         * docs/html/18_support/howto.html:  Ditto.
4317         * docs/html/20_util/howto.html:  Ditto.
4318         * docs/html/21_strings/howto.html:  Ditto.
4319         * docs/html/22_locale/howto.html:  Ditto.
4320         * docs/html/23_containers/howto.html:  Ditto.
4321         * docs/html/24_iterators/howto.html:  Ditto.
4322         * docs/html/25_algorithms/howto.html:  Ditto.
4323         * docs/html/26_numerics/howto.html:  Ditto.
4324         * docs/html/27_io/howto.html:  Ditto.
4325         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
4326         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
4327         * docs/html/faq/index.txt:  Regenerated.
4329 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
4331         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4332         messages with $which_library as well as $tool_flags and
4333         ${dg-extra-tool-flags}.  Factor out annotation text into
4334         a single variable.
4336 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
4338         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4339         * include/c_std/bits/std_cwchar.h: Same.
4340         * testsuite/21_strings/c_strings.cc: Add.
4342 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
4344         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4346 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
4348         * tests_flags.in: Use test a = b, not test a == b which is not
4349         portable.
4351 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
4353         * configure.target: Remove duplicate aix entry.
4355 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
4357         * include/ext/stl_bvector.h: Move to...
4358         * include/bits/stl_vector.h: ...here.
4359         * include/ext/bvector: Move to...
4360         * include/backward/bvector.h: ...here.
4361         * include/bits/std_vector.h: Change stl_bvector include.
4362         * include/bits/std_queue.h: Remove bvector include.
4363         * include/ext/tree: Insert using rb_tree, move to...
4364         * include/backward/tree.h: ...here.
4365         * include/backward/hash_map.h: Include ext/hash_map.
4366         * include/backward/hash_set.h: Include ext/hash_set.
4367         * include/backward/queue.h: New file.
4368         * include/backward/stack.h: Edit.
4369         * include/backward/algo.h: Same.
4370         * include/backward/algobase.h: Same.
4371         * include/backward/alloc.h: Same.
4372         * include/backward/function.h: Same.
4373         * include/backward/iomanip.h: Same.
4374         * include/backward/istream.h: Same.
4375         * include/backward/iterator.h: Same.
4376         * include/backward/list.h: Same.
4377         * include/backward/map.h: Same.
4378         * include/backward/multimap.h: Same.
4379         * include/backward/multiset.h: Same.
4380         * include/backward/ostream.h: Same.
4381         * include/backward/pair.h: Same
4382         * include/backward/rope.h: Same.
4383         * include/backward/set.h: Same.
4384         * include/backward/stream.h: Same.
4385         * include/backward/strstream.h: Same.
4386         * include/backward/tempbuf.h: Same.
4387         * src/Makefile.am (ext_headers): Edit.
4388         * src/Makefile.in: Regenerate.
4389         * testsuite/ext/headers.cc (main): Fix.
4390         * mkcheck.in: Fix.
4392 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
4394         * tests_flags.in (LIBS):  Pass correct path for installed testing.
4396 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
4398         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4399         * tests_flags.in (CXX): Construct here.
4400         (static_fail): Don't remove compile.out. Format with spaces.
4401         (INCLUDES): Deal with xcompiling.
4402         * configure.in (xcompiling): Substitute.
4403         * testsuite/Makefile.am: Snake libjava configury.
4404         * testsuite/Makefile.in: Regenerate.
4405         * testsuite/23_containers/map_operators.cc: Tweaks.
4406         * testsuite/23_containers/set_operators.cc: Tweaks.
4408 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4410         Enable dejagnu testing framework.
4411         * configure.in: Generate testsuite/Makefile.
4412         * configure: Regenerate.
4413         * Makefile.am (check-install): Change rule from this...
4414         (check-script-install): ...to this.
4415         (check): Change rule from this...
4416         (check-script):...to this.
4417         * Makefile.in: Regenerate.
4419 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
4421         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4422         --tag CXX.
4423         (LIBTOOL): Let automake take care of its definition.
4424         * libsupc++/Makefile.in: Rebuilt.
4426 2001-03-28  Richard Henderson  <rth@redhat.com>
4428         IA-64 ABI Exception Handling:
4429         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4430         * configure.in: Use it.
4431         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4432         * libsupc++/Makefile.am (sources): Update files list.
4433         * libsupc++/Makefile.in: Regenerate.
4434         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4435         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4436         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4437         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4438         * libsupc++/exception_support.cc: Remove.
4439         * libsupc++/exception_support.h: Remove.
4440         * libsupc++/pure.cc: Use std::terminate.
4441         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4442         (__is_pointer): Remove.
4443         * libsupc++/unwind-cxx.h: New file.
4444         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4446 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
4448         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4449         CXX tag explicitly.
4450         * src/Makefile.am (CXXLINK): Likewise.
4451         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4453 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
4455         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4457 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4459         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4460           and libc
4462 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
4464         * include/bits/basic_file.h (get_fileno): Remove.
4465         (_M_fileno): Remove.
4466         (_M_cfile_created): Add.
4467         (basic_file::basic_file(__c_file_type*, openmode): Add.
4468         (basic_file::basic_file(int, const char*, openmode): Remove.
4469         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4470         const char*, ios_base::openmode): Don't allocate
4471         internal buffers. Turn off internal buffers.
4472         (basic_filebuf::overflow): Remove test for null buffer.
4473         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4474         * include/bits/streambuf.cc: Tweak.
4475         * include/bits/std_ostream.h: Tweak.
4476         * config/basic_file_libio.h: Same.
4477         * config/basic_file_stdio.h: Same.
4478         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4479         * testsuite/27_io/filebuf_members.cc: Tweaks.
4480         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4482 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4484         * Makefile.am:  New targets, doxygen and doxygen-maint.
4485         * Makefile.in:  Regenerated.
4486         * docs/doxygen/run_doxygen:  Finally implemented.
4487         * docs/doxygen/maint.cfg.in:  New file.
4488         * docs/doxygen/user.cfg.in:  New file.
4490 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4492         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
4493         * src/Makefile.am:  Replace leading spaces with tabs on continuation
4494         lines.
4495         * aclocal.m4:  Regenerated.
4496         * configure:  Ditto.
4497         * Makefile.in:  Ditto.
4498         * src/Makefile.in:  Ditto.
4499         * libio/Makefile.in:  Ditto.
4500         * libmath/Makefile.in:  Ditto.
4501         * libsupc++/Makefile.in:  Ditto.
4503 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4505         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
4506         concept-checking code and current status of same.
4507         * docs/html/ext/howto.html:  Ditto.
4508         * docs/html/faq/index.html:  Ditto.
4509         * docs/html/faq/index.txt:  Regenerated.
4511 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4513         * include/bits/std_bitset.h:  Include ostream and istream headers
4514         instead of iostream.
4516 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
4518         * include/bits/ostream.tcc: Use __builtin_alloca.
4520 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
4522         * src/misc-inst.cc (__sink_unused_warning): Move to...
4523         * src/locale-inst.cc (__sink_unused_warning): Move to...
4524         * src/stl-inst.cc: Here.
4525         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4526         commented it out.
4528 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
4530         * intclude/bits/basic_file.h: Fix typos in comments.
4532 2001-03-20  Richard Henderson  <rth@redhat.com>
4534         * src/gen-num-limits.cc: Instantiate for wchar_t.
4535         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4537 2001-03-20  Jason Merrill  <jason@redhat.com>
4539         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4540         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4541         * libsupc++/cxxabi.h: Declare it.
4543 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
4545         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4546         signal_func with an unspecified argument list.
4548 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
4550         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4552 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4554         * include/bits/basic_string.tcc (operator+): Fix thinko.
4556 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
4558         libstdc++/2020
4559         * include/bits/std_streambuf.h: Remove cached locale facets.
4560         (basic_streambuf::_M_buf_fctype): Remove.
4561         (basic_streambuf::~basic_streambuf): Remove here.
4562         (basic_streambuf::basic_streambuf): Same.
4563         (basic_streambuf::imbue): Same.
4564         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4565         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4566         (basic_filebuf::~basic_filebuf()): Remove here.
4567         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4568         (basic_filebuf::imbue): Same.
4569         * include/bits/localefwd.h (_Count_ones): Remove.
4570         (locale::_S_num_categories): Just use 6, since this doesn't
4571         actually change, ever.
4572         * include/bits/locale_facets.tcc (has_facet): Simplify.
4573         (use_facet): Same.
4574         * testsuite/27_io/filebuf.cc (test06): Add tests.
4576 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
4578         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4579         match HP-UX ctype.h header file.
4581 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
4583         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4584         duplicate definitions of __dj_ctype_*
4586 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
4588         * libsupc++/new: Remove pragma interface.
4589         * libsupc++/typeinfo: Same.
4590         * libsupc++/exception: Same.
4591         * libsupc++/new_handler.cc: Remove pragma implementation.
4592         (bad_alloc::~bad_alloc()): Add.
4593         * libsupc++/exception_support.cc: Same.
4594         (exception::~exception): Add.
4595         (bad_exception::~bad_exception): Add.
4596         * libsupc++/tinfo.cc: Same.
4597         (bad_cast::~bad_cast): Add.
4598         (bad_typeid::~bad_typeid): Add.
4600 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
4602         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
4604 2001-03-12  Felix Lee  <flee@redhat.com>
4606         * mkcheck.in: workaround for bash 2.01 IFS bug.
4608 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
4610         Fixups for -fno-for-scope
4611         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4612         * src/valarray-inst.cc (__gslice_to_index): Same.
4614 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
4616         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4617         prior to trapping signal (UnixWare 7 workaround).
4619 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
4621         * include/backward/hashtable.h: Same.
4622         * include/backward/rope.h: Fix include.
4624 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
4626         * include/backward/vector.h: Include std_vector.h.
4628         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4629         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4630         Fix typo.
4632 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4634         * include/ext/stl_hashtable.h: Change type of __n to size_t
4635         * include/backward/bvector.h: Include <ext/stl_bvector.h>
4637 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4639         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4640         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4641         Use streamsize, not int_type.
4643 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
4645         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4646         moment.
4648 2001-03-08  Andreas Schwab  <schwab@suse.de>
4650         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4651         command.
4652         * aclocal.m4, configure: Regenerated.
4654 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
4656         * include/bits/std_iosfwd.h: Remove string forward decls here.
4657         * include/bits/stringfwd.h: Add forward decls for char_traits
4658         specializations.
4659         * config/c_io_libio.h (wstreamoff): Delete.
4660         * config/c_io_stdio.h (wstreamoff): Same.
4661         * include/bits/char_traits.h: Use streamoff not wstreamoff for
4662         char_traits<wchar_t>::off_type.
4663         Remove duplicate typedefs.
4664         * include/bits/fpos.h: Define streampos/wstreampos here.
4665         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4666         values to off_type.
4667         (test05): Same.
4668         Changeup output files.
4669         * testsuite/27_io/istream_unformatted.cc: Change output files.
4670         * testsuite/27_io/istream_seeks-1.txt: Add.
4671         * testsuite/27_io/istream_seeks-2.tst: Add.
4672         * testsuite/27_io/istream_seeks-1.tst: Add.
4673         * testsuite/27_io/istream_unformatted-2.tst: Delete.
4674         * testsuite/27_io/istream_unformatted-3.tst: Delete.
4675         * testsuite/27_io/istream_unformatted-3.txt: Delete.
4677 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
4679         Add Irix 5.2, 6.3 support.
4680         * config/os/irix/bits: Renamed to...
4681         * config/os/irix/irix6.5/bits: this.
4682         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4683         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4684         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4685         * config/os/irix/irix5.2/bits/ctype_noninline.h
4686         (ctype<char>::ctype): Initialize _M_table with __ctype.
4687         * configure.target: Adjust.
4689 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
4691         libstdc++/2181
4692         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4693         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4694         sentry.
4695         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4696         (*__pf)(__ios_type&)): Same.
4697         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4698         (*__pf)(ios_base&))): Same.
4699         * testsuite/27_io/istream_extractor_other.cc: Add tests.
4700         * testsuite/27_io/istream_manip.cc (test01): Fix.
4702 2001-03-06  Nathan Myers  <ncm@cantrip.org>
4703             Benjamin Kosnik  <bkoz@redhat.com>
4705         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4706         * testsuite/17_intro/header_cerrno.cc (test01): New file.
4707         * testsuite/17_intro/header_cassert.cc (test01): New file.
4708         * testsuite/17_intro/header_cstddef.cc (test01): New file.
4709         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4710         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4712 2001-03-05  scott snyder  <snyder@fnal.gov>
4714         libstdc++/2190
4715         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4716         from here...
4717         * include/c_std/bits/std_cstdlib.h: ... to here.
4718         * testsuite/17_intro/header_cstdlib.cc: Add test.
4720 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
4722         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4724 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
4726         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4727         definition. Replace enum with static const variables.
4729         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4730         throw specification, fix typos, use <static_cast>.
4731         (ctype<char>::scan_is): remove throw specification.
4732         (ctype<char>::scan_not): likewise.
4734         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4735         (ctype<char>::do_toupper(char)): use <static_cast>.
4736         (ctype<char>::do_toupper(char *, const char *)): likewise.
4737         (ctype<char>::do_tolower(char)): likewise.
4738         (ctype<char>::do_tolower(char *, const char *)): likewise.
4740 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
4742         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4743         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
4744         macros and "never happens" code.  Adjust to C++STYLE guidelines.
4745         * include/backward/algobase.h:  Likewise.
4746         * include/backward/alloc.h:  Likewise.
4747         * include/backward/bvector.h:  Likewise.
4748         * include/backward/deque.h:  Likewise.
4749         * include/backward/function.h:  Likewise.
4750         * include/backward/hash_map.h:  Likewise.
4751         * include/backward/hash_set.h:  Likewise.
4752         * include/backward/hashtable.h:  Likewise.
4753         * include/backward/heap.h:  Likewise.
4754         * include/backward/iterator.h:  Likewise.
4755         * include/backward/list.h:  Likewise.
4756         * include/backward/map.h:  Likewise.
4757         * include/backward/multimap.h:  Likewise.
4758         * include/backward/multiset.h:  Likewise.
4759         * include/backward/pair.h:  Likewise.
4760         * include/backward/rope.h:  Likewise.
4761         * include/backward/set.h:  Likewise.
4762         * include/backward/slist.h:  Likewise.
4763         * include/backward/stack.h:  Likewise.
4764         * include/backward/strstream:  Likewise.
4765         * include/backward/tempbuf.h:  Likewise.
4766         * include/backward/tree.h:  Likewise.
4767         * include/backward/vector.h:  Likewise.
4768         * include/bits/basic_ios.h:  Likewise.
4769         * include/bits/basic_ios.tcc:  Likewise.
4770         * include/bits/basic_string.h:  Likewise.
4771         * include/bits/c++config:  Likewise.
4772         * include/bits/concept_checks.h:  Likewise.
4773         * include/bits/fpos.h:  Likewise.
4774         * include/bits/fstream.tcc:  Likewise.
4775         * include/bits/functexcept.h:  Likewise.
4776         * include/bits/ios_base.h:  Likewise.
4777         * include/bits/istream.tcc:  Likewise.
4778         * include/bits/mask_array.h:  Likewise.
4779         * include/bits/ostream.tcc:  Likewise.
4780         * include/bits/pthread_allocimpl.h:  Likewise.
4781         * include/bits/sbuf_iter.h:  Likewise.
4782         * include/bits/slice.h:  Likewise.
4783         * include/bits/slice_array.h:  Likewise.
4784         * include/bits/sstream.tcc:  Likewise.
4785         * include/bits/std_bitset.h:  Likewise.
4786         * include/bits/std_fstream.h:  Likewise.
4787         * include/bits/std_iomanip.h:  Likewise.
4788         * include/bits/std_ios.h:  Likewise.
4789         * include/bits/std_istream.h:  Likewise.
4790         * include/bits/std_iterator.h:  Likewise.
4791         * include/bits/std_memory.h:  Likewise.
4792         * include/bits/std_ostream.h:  Likewise.
4793         * include/bits/std_sstream.h:  Likewise.
4794         * include/bits/std_streambuf.h:  Likewise.
4795         * include/bits/std_string.h:  Likewise.
4796         * include/bits/std_valarray.h:  Likewise.
4797         * include/bits/stl_algo.h:  Likewise.
4798         * include/bits/stl_algobase.h:  Likewise.
4799         * include/bits/stl_alloc.h:  Likewise.
4800         * include/bits/stl_construct.h:  Likewise.
4801         * include/bits/stl_deque.h:  Likewise.
4802         * include/bits/stl_function.h:  Likewise.
4803         * include/bits/stl_heap.h:  Likewise.
4804         * include/bits/stl_iterator.h:  Likewise.
4805         * include/bits/stl_iterator_base.h:  Likewise.
4806         * include/bits/stl_list.h:  Likewise.
4807         * include/bits/stl_map.h:  Likewise.
4808         * include/bits/stl_multimap.h:  Likewise.
4809         * include/bits/stl_multiset.h:  Likewise.
4810         * include/bits/stl_numeric.h:  Likewise.
4811         * include/bits/stl_pair.h:  Likewise.
4812         * include/bits/stl_pthread_alloc.h:  Likewise.
4813         * include/bits/stl_queue.h:  Likewise.
4814         * include/bits/stl_raw_storage_iter.h:  Likewise.
4815         * include/bits/stl_relops.h:  Likewise.
4816         * include/bits/stl_set.h:  Likewise.
4817         * include/bits/stl_stack.h:  Likewise.
4818         * include/bits/stl_tempbuf.h:  Likewise.
4819         * include/bits/stl_threads.h:  Likewise.
4820         * include/bits/stl_tree.h:  Likewise.
4821         * include/bits/stl_uninitialized.h:  Likewise.
4822         * include/bits/stl_vector.h:  Likewise.
4823         * include/bits/streambuf.tcc:  Likewise.
4824         * include/bits/type_traits.h:  Likewise.
4825         * include/bits/valarray_meta.h:  Likewise.
4826         * include/ext/bvector:  Likewise.
4827         * include/ext/hash_map:  Likewise.
4828         * include/ext/hash_set:  Likewise.
4829         * include/ext/ropeimpl.h:  Likewise.
4830         * include/ext/slist:  Likewise.
4831         * include/ext/stl_bvector.h:  Likewise.
4832         * include/ext/stl_hash_fun.h:  Likewise.
4833         * include/ext/stl_hashtable.h:  Likewise.
4834         * include/ext/stl_rope.h:  Likewise.
4835         * src/complex_io.cc:  Likewise.
4836         * src/ios.cc:  Likewise.
4837         * src/locale-inst.cc:  Likewise.
4838         * src/locale.cc:  Likewise.
4839         * src/localename.cc:  Likewise.
4840         * src/misc-inst.cc:  Likewise.
4841         * src/stdexcept.cc:  Likewise.
4842         * src/stl-inst.cc:  Likewise.
4843         * src/strstream.cc:  Likewise.
4844         * src/valarray-inst.cc:  Likewise.
4846 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
4848         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4850 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4852         * include/bits/istream.tcc: change type of __extracted to __size_type
4854 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
4856         * src/wstring-inst.cc: New file.
4857         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4858         (libinst_wstring_la_SOURCES): Remove.
4859         (libstdc___la_LIBADD): Remove libinst_wstring_la.
4860         (sources): Add wstring-inst.cc
4861         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4862         libinst_wstring_la.
4864 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4866         * src/locale.cc: initialise __ret with zero
4867         * src/strstream.cc:cast gptr to int_type
4869 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
4871         * docs/html/faq/index.html:  Update broken links.
4872         * docs/html/faq/index.txt:  Regenerated.
4874 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
4876         libstdc++/2064
4877         * configure.target: Change irix* to irix6.5* in target_os table.
4879 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
4881         libstdc++/2103
4882         * include/bits/c++config (__GLIBCPP__): Bump number in
4883         anticipation of 2.92.
4885         * include/bits/codecvt.h: Fix typo.
4886         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4887         stdio model.
4888         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4889         instantiations for stdio model.
4891 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
4893         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
4894           and GLIBCPP_CXXFLAGS as unused variables.
4895         * configure.host:  Likewise.
4896         * configure.target:  Likewise.
4897         * aclocal.m4:  Regenerated.
4898         * configure:  Regenerated.
4899         * Makefile.in:  Regenerated.
4900         * libio/Makefile.in:  Regenerated.
4901         * libmath/Makefile.in:  Regenerated.
4902         * libsupc++/Makefile.in:  Regenerated.
4903         * src/Makefile.in:  Regenerated.
4905 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4907         libstdc++/1886
4908         * include/bits/basic_file.h: Include basic_file_model.h.
4909         * config/c_io_libio.cc: Move to...
4910         * config/basic_file_libio.cc: Here.
4911         * config/basic_file_libio.h: New file.
4912         * config/c_io_stdio.cc: Move to...
4913         * config/basic_file_stdio.cc: Here.
4914         * config/basic_file_stdio.h: New file.
4915         * config/c_io_libio.h: Tweak.
4916         * config/c_io_stdio.h: Tweak.
4917         * src/Makefile.am (build_headers): Add basic_file_model.h.
4918         (sources): Add basic_file.cc, remove c++io.cc.
4919         * src/Makefile.in: Regenerate.
4920         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4921         basic_file_model.h and basic_file.cc.
4922         * aclocal.m4: Regenerate.
4923         * configure: Regenerate.
4924         * testsuite/27_io/filebuf.cc (test05): Add regression.
4926 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4928         Correct license.
4929         * config/cpu/alpha/bits/atomicity.h: Change.
4930         * config/cpu/arm/bits/atomicit3y.h
4931         * config/cpu/generic/bits/atomicity.h
4932         * config/cpu/i386/bits/atomicity.h
4933         * config/cpu/i486/bits/atomicity.h
4934         * config/cpu/ia64/bits/atomicity.h
4935         * config/cpu/powerpc/bits/atomicity.h
4936         * config/cpu/sparc/sparc32/bits/atomicity.h
4937         * config/cpu/sparc/sparc64/bits/atomicity.h
4938         * config/os/aix/bits/atomicity.h
4939         * config/os/irix/bits/atomicity.h
4941 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4943         * include/bits/std_stdexcept.h (runtime_error): Make string
4944         member non-const.
4945         (logic_error): Same.
4946         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4947         (test03): Fix.
4949 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
4951         libstdc++/1972
4952         libstdc++/2089
4953         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4954         string object, not reference.
4955         (runtime_error::runtime_error): Same.
4956         * testsuite/19_diagnostics/stdexceptions.cc: New file.
4958 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
4960         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
4961           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
4962           diagnostics.  Remove WFMT_FLAGS.
4963         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
4964         * libsupc++/Makefile.am:  Likewise.
4965         * src/Makefile.am:  Likewise.
4966         * aclocal.m4:  Regenerated.
4967         * configure:  Regenerated.
4968         * Makefile.in:  Regenerated.
4969         * libio/Makefile.in:  Regenerated.
4970         * libmath/Makefile.in:  Regenerated.
4971         * libsupc++/Makefile.in:  Regenerated.
4972         * src/Makefile.in:  Regenerated.
4974 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
4976         Fixes libstdc++/2079
4977         * include/backward/iomanip.h:  Expose <ios> manipulators to global
4978           namespace.
4979         * include/backward/iostream.h:  Also expose std::ws.
4981 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
4983         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4985 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
4987         * include/bits/codecvt.h: Use __builtin_alloca.
4988         * include/bits/ostream.tcc: Same.
4989         * include/bits/fstream.tcc: Same.
4991 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
4993         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4995 2001-02-23  David Edelsohn <dje@watson.ibm.com>
4997         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4999 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
5001         c++/2052
5002         * include/backward/iostream.h:  Expose std::flush in old headers.
5004 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5006         * mknumeric_limits: Remove special-casing on target.  Use gcc
5007         instead of g++ to build gen-num-limits.cc
5009 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
5011         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5013         * include/bits/codecvt.h: Use alloca instead of __extension__ for
5014         the time being.
5015         * include/bits/ostream.tcc: Same.
5016         * include/bits/std_ostream.h: Same.
5017         * include/bits/fstream.tcc: Same.
5018         * include/bits/locale_facets.tcc: Add typename.
5019         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5021 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
5023         * tests_flags.in:  Remove -n flag from call to echo.
5025 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
5027         * config/c_locale_gnu.h: Add clocale include.
5029 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
5031         * include/bits/stl_config.h:  Remove file.
5032         * src/Makefile.am (base_headers):  Remove from list.
5033         * configure:  Regenerate.
5034         * Makefile.in:  Ditto.
5035         * libio/Makefile.in:  Ditto.
5036         * libmath/Makefile.in:  Ditto.
5037         * libsupc++/Makefile.in:  Ditto.
5038         * src/Makefile.in:  Ditto.
5040         * include/bits/c++config:  Move relevant macros to here.
5041         * include/backward/alloc.h:  Include c++config.h instead.
5042         * include/backward/function.h:  Ditto.
5043         * include/backward/heap.h:  Ditto.
5044         * include/backward/pair.h:  Ditto.
5045         * include/bits/pthread_allocimpl.h:  Ditto.
5046         * include/bits/std_functional.h:  Ditto.
5047         * include/bits/std_iterator.h:  Ditto.
5048         * include/bits/std_numeric.h:  Ditto.
5049         * include/bits/std_utility.h:  Ditto.
5050         * include/bits/stl_algobase.h:  Ditto.
5051         * include/bits/type_traits.h:  Ditto.
5052         * src/stl-inst.cc:  Ditto.
5054 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5056         * include/bits/basic_file.h: Add #pragma system_header
5057         * include/bits/basic_ios.h: Ditto.
5058         * include/bits/basic_string.h: Ditto.
5059         * include/bits/char_traits.h: Ditto.
5060         * include/bits/codecvt.h: Ditto.
5061         * include/bits/cpp_type_traits.h:  Ditto.
5062         * include/bits/fpos.h: Ditto.
5063         * include/bits/gslice.h: Ditto.
5064         * include/bits/gslice_array.h: Ditto.
5065         * include/bits/indirect_array.h: Ditto.
5066         * include/bits/ios_base.h: Ditto.
5067         * include/bits/limits_generic.h: Ditto.
5068         * include/bits/locale_facets.h: Ditto.
5069         * include/bits/localefwd.h: Ditto.
5070         * include/bits/mask_array.h: Ditto.
5071         * include/bits/sbuf_iter.h: Ditto.
5072         * include/bits/sequence_concepts.h: Ditto.
5073         * include/bits/slice.h: Ditto.
5074         * include/bits/slice_array.h: Ditto.
5075         * include/bits/std_algorithm.h: Likewise.
5076         * include/bits/std_bitset.h: Likewise.
5077         * include/bits/std_complex.h: Likewise.
5078         * include/bits/std_deque.h: Likewise.
5079         * include/bits/std_fstream.h: Likewise.
5080         * include/bits/std_functional.h: Likewise.
5081         * include/bits/std_iomanip.h: Likewise.
5082         * include/bits/std_ios.h: Likewise.
5083         * include/bits/std_iosfwd.h: Likewise.
5084         * include/bits/std_iostream.h: Likewise.
5085         * include/bits/std_istream.h: Likewise.
5086         * include/bits/std_iterator.h: Likewise.
5087         * include/bits/std_list.h: Likewise.
5088         * include/bits/std_locale.h: Likewise.
5089         * include/bits/std_map.h: Likewise.
5090         * include/bits/std_memory.h: Likewise.
5091         * include/bits/std_numeric.h: Likewise.
5092         * include/bits/std_ostream.h: Likewise.
5093         * include/bits/std_queue.h: Likewise.
5094         * include/bits/std_set.h: Likewise.
5095         * include/bits/std_sstream.h: Likewise.
5096         * include/bits/std_stack.h: Likewise.
5097         * include/bits/std_stdexcept.h: Likewise.
5098         * include/bits/std_streambuf.h: Likewise.
5099         * include/bits/std_string.h: Likewise.
5100         * include/bits/std_utility.h: Likewise.
5101         * include/bits/std_valarray.h: Likewise.
5102         * include/bits/std_vector.h: Likewise.
5103         * include/bits/stringfwd.h: Likewise.
5104         * include/bits/type_traits.h: Likewise.
5105         * include/bits/valarray_array.h: Likewise.
5106         * include/bits/valarray_meta.h: Likewise.
5108 2001-02-19  Andreas Jaeger  <aj@suse.de>
5110         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5111         Fix typo.
5113 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
5115         libstdc++/1734
5116         * include/bits/std_ostream.h: Replaced usage of
5117         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5118         * include/bits/char_traits.h: Removed non-standard
5119         methods that cannot be used elsewhere.
5121         libstdc++/1885
5122         * include/bits/basic_ios.h: Uncommented #include of
5123         bits/basic_ios.tcc
5125         libstdc++/1897
5126         * include/bits/codecvt.h: See next...
5127         * include/bits/fstream.tcc: See next...
5128         * include/bits/ostream.tcc: Add __extension__
5129         to variable-length arrays.
5131         libstdc++/1967
5132         * include/bits/localefwd.h: Changed int counter type to size_t.
5134         libstdc++/1968
5135         * include/bits/std_fstream.h: Added typedef for __ctype_type.
5137 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
5139         * testsuite/21_strings/char_traits.cc: Move to ...
5140         * testsuite/21_strings/char_traits_requirements.cc: ..here.
5141         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5142         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5144 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
5146         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5147         definitions.
5149 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5151         * include/bits/c++config: Revert.
5153 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5155         * include/bits/istream.tcc: Use ios_base::iostate in place of
5156         iostate throughout.  Insert `typename' keyword where necessary.
5157         * include/bits/ostream.tcc: Insert `typename' keyword where
5158         necessary.
5160 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
5162         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5163         Define so library is compliant.
5165 2001-02-15  Anthony Green  <green@redhat.com>
5167         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5168         compilation.
5169         * aclocal.m4: Regenerate.
5170         * configure: Regenerate.
5172 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
5174         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5175         Include ieeefp.h for fpclass on UnixWare{2,7}.
5176         * aclocal.m4: Regenerate.
5177         * configure: Regenerate.
5178         * mkcheck.in (size_command): Do without GNU-grep when using
5179         size from binutils.
5181 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5183         Remove old ABI support from libsupc++.
5184         * libsupc++/cxxabi.h: Remove conditionally compiled code.
5185         * libsupc++/exception_support.cc: Likewise.
5186         * libsupc++/pure.cc: Likewise.
5187         * libsupc++/tinfo.cc: Likewise.
5188         * libsupc++/tinfo.h: Likewise.
5189         * libsupc++/tinfo2.cc: Likewise.
5190         * libsupc++/typeinfo: Likewise.
5191         * libsupc++/vec.cc: Likewise.
5193 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5195         Add support for -fno-exceptions.
5196         * include/bits/exception_support.h: Remove.
5197         * include/bits/basic_string.h: Remove exception_support.
5198         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5199         (string::at): Same.
5200         (string::substr): Same.
5201         * include/bits/basic_string.tcc (string::reserve): Replace
5202         __LENGTHERROR with __throw_length_error.
5203         (string::_S_create): Same.
5204         (string::resize): Same.
5205         (string::_M_replace): Same.
5206         (string::replace): Same.
5207         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5208         (string::compare): Same.
5209         * include/bits/stl_vector.h: Remove exception_support.
5210         * src/Makefile.am (base_headers): Remove here.
5211         * src/Makefile.in: Regenerate.
5213         * include/bits/stl_range_errors.h: Remove.
5214         * include/bits/stl_deque.h: Use __throw_range_error.
5215         * include/bits/std_deque.h: Include functexcept.h.
5216         * include/bits/std_vector.h: Same.
5217         * src/Makefile.am (base_headers): Remove here.
5218         * src/Makefile.in: Regenerate.
5219         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5220         * include/ext/bvector: Remove stl_range_errors.h
5222         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5224         * include/bits/functexcept.h: New file.
5225         * src/functexcept.cc: New file. Definitions for function-based
5226         exception routines.
5227         * src/Makefile.am (sources): Add functexcept.cc.
5228         * src/Makefile.in: Regenerate.
5230         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5231         __EXCEPTIONS.
5233         * include/bits/localefwd.h: Include functexcept.h.
5234         * include/bits/std_iosfwd.h: Same.
5236         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5237         throw basic_ios::failure.
5238         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5239         Use __throw_exception_again.
5240         (filebuf::_M_filebuf_init): Same.
5241         * include/bits/streambuf.tcc (__copy_streambufs): Same.
5242         * include/bits/ostream.tcc (ostream::operator<<): Same.
5243         * include/bits/istream.tcc (istream::operator>>): Same.
5244         * include/bits/basic_string.tcc (string::_M_mutate): Same.
5245         (string::_S_construct): Same.
5246         (string::_M_clone): Same.
5247         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5248         __throw_bad_cast.
5249         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5250         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5251         __throw_exception_again.
5252         (locale::_Imp::_Imp(string, size_t): Same.
5253         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5254         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5255         (locale::locale(const char*)): Use __throw_runtime_error.
5256         (locale::classic): Use __throw_exception_again.
5257         (locale::_S_normalize_category): Use __throw_runtime_error.
5259         * src/stdexcept.cc: Remove cruft.
5261         * libsupc++/exception_defines.h: New file.
5262         * libsupc++/new_opnt.cc: Include exception_defines.h.
5263         * libsupc++/vec.cc: Same.
5264         (__cxa_vec_new2): Use __throw_exception_again.
5265         (__cxa_vec_new3): Same.
5266         (__cxa_vec_ctor): Same.
5267         (__cxa_vec_delete3): Same.
5268         (__cxa_vec_cctor): Same.
5269         (__cxa_vec_delete2): Same.
5270         (__cxa_vec_dtor): Same.
5271         * libsupc++/exception_support.cc: Include exception_defines.h. Only
5272         compile exception-handling bits if __EXCEPTIONS is defined.
5273         Remove old ABI support.
5274         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5275         std::__throw_bad_alloc() instead of throw bad_alloc.
5276         * libsupc++/Makefile.am: Add exception_defines.h.
5277         * libsupc++/Makefile.in: Reformat.
5278         * libsupc++/*: Format.
5280 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
5282         * docs/html/configopts.html:  Minor updates and typo fixes.
5283         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
5284         * docs/html/faq/index.txt:  Regenerated.
5286 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
5288         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5289         dejagnu/dg.exp.  Adapt to log options used to run testcases.
5291 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5293         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5294         dejagnu/dg.exp.
5296 2001-02-13  Dirk Mueller <dmuell@gmx.net>
5297             Phil Edwards  <pme@sources.redhat.com>
5299         * include/backward/function.h:  Do not use rel_ops for older
5300           headers either.
5301         * include/backward/pair.h:  Likewise.
5303 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
5305         * src/locale.cc: Remove bogus locale::id definitions.
5307 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5309         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5310         not _DEFINE_VALARRAY_OPERATOR which is not existent.
5312         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5313         thinko in member initialisation.
5315 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5317         * include/bits/std_valarray.h(valarray<>::shift): Avoid
5318         comparaison between signed and unsigned integer types.
5319         (valarray<>::cshift): Reformat.
5321 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
5323         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5324         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5325         * configure.in: Test for sigsetjmp.
5326         * configure, config.h.in: Rebuilt.
5328 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5330         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5331         lengths and strides.
5332         (__gslice_to_index): Document.
5334 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5336         * include/bits/char_traits.h char_traits<char>::int_type: Change
5337         to `int' to match 21.1.3.1/2.
5339         * testsuite/21_strings/char_traits-int_type.C: New test.
5341 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
5343         * testsuite/Makefile.am: New file.
5345 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
5347         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5349 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
5351         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5353 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
5355         * configure.target (aix4*): Remove extra set of brackets.
5357 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
5359         Clean up stdexcept.
5360         * include/bits/stringfwd.h: New file.
5361         * include/bits/stl_string_fwd.h: Remove.
5362         * include/bits/localefwd.h: Remove declaration for allocator.
5363         * include/bits/std_iosfwd: Same.
5364         * include/bits/std_string.h: Include it.
5365         * include/bits/std_ios.h: Remove include.
5366         * include/bits/basic_string.h: Tweak.
5367         * libsupc++/new: Format.
5368         * src/Makefile.am (base_headers): Add stringfwd.h, remove
5369         stl_string_fwd.h
5370         * src/Makefile.in: Regenerate.
5371         * include/bits/std_stdexcept.h: Rewrite.
5372         * src/stdexcept.cc: Same.
5374 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5376         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5377         install locations too.
5378         * aclocal.m4: Regenerate.
5379         * configure.in: Remove USE_LIBDIR.
5380         * configure: Regenerate.
5381         * src/Makefile.am (toolexecdir): Simplify, use
5382         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5383         * src/Makefile.in: Regenerate.
5384         * libsupc++/Makefile.am: Same.
5385         * libsupc++/Makefile.in: Regenerate.
5387         * src/Makefile.am: Just remove special rules for locale-inst.cc and
5388         misc-inst.cc as no longer necessary.
5390         Follow C++STYLE for naming non-static functions.
5391         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5392         __pad_char.
5393         * include/bits/streambuf.tcc: Same.
5394         * include/bits/ostream.tcc: Same.
5395         * include/bits/istream.tcc: Same.
5396         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5397         (_S_output_float): To __output_float.
5398         * include/bits/std_streambuf.h (_S_copy_streambufs): To
5399         __copy_streambufs.
5400         * include/bits/locale_facets.tcc (_S_build_float_format): To
5401         __build_float_format.
5402         (_S_format): To __output_integer.
5403         (_S_fill): To __pad.
5404         * src/locale.cc: Same.
5405         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5406         names.
5407         * include/bits/locale_facets.tcc (_S_group_digits): To
5408         __group_digits.
5409         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5410         for collate, numpunct.
5412 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
5414         * docs/html/configopts.html:  Fix HTML markup.
5415         * docs/html/install.html:  Bring up to date.
5416         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
5417         * docs/html/21_strings/howto.html:  More notes.
5418         * docs/html/22_locale/howto.html:  Fix HTML markup.
5419         * docs/html/27_io/howto.html:  More notes.
5420         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
5421         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
5423 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
5425         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5426         to match header files.
5427         (_S_output_float): Likewise.
5428         (_S_copy_streambufs): Likewise.
5430 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
5431             Phil Edwards  <pme@sources.redhat.com>
5433         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
5434           use reinterpret_cast, not static_cast.
5436 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5438         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5439         * aclocal.m4: Regenerate.
5440         * configure: Regenerate.
5442 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5444         * include/bits/locale_facets.h (class moneypunct): Fix typos.
5445         * libsupc++/pure.cc: Revert.
5447 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5449         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5450         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5451         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5452         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5453         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5454         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5455         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5456         * aclocal.m4: Regenerate.
5457         * configure: Regenerate.
5459 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
5461         * include/bits/locale_facets.tcc: Remove `static' keyword on
5462         function definitions.
5463         * include/bits/std_streambuf.h: Likewise.
5464         * src/Makefile.am: Remove use of -fimplicit-templates.
5465         * src/Makefile.in: Regenerated.
5466         * src/locale-inst.cc: Explicitly instantiate more functions.
5467         * src/misc-inst.cc: Likewise.
5468         * src/string-inst.cc: Likewise.
5470 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5472         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5473         macro. Consolidate all the bits to do with where includes might be
5474         installed.
5475         * aclocal.m4: Regenerate.
5476         * configure.in: Use it.
5477         * configure: Regenerate.
5478         * src/Makefile.am (targetincludep): Use simplified rules.
5479         (targetincludep): Rename gxx_target_include_dir.
5480         (myincludep): Rename gxx_include_dir.
5481         * src/Makefile.in: Regenerate.
5482         * libsupc++/Makefile.am: Use simplified rules.
5483         * libsupc++/Makefile.in: Regenerate.
5485 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5487         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5488         * include/c_std/bits/std_cctype.h: Same.
5489         * include/c_std/bits/std_cassert.h: Same.
5490         * include/c_std/bits/std_cstdarg.h: Same.
5491         * include/c_std/bits/std_cstddef.h: Same.
5493         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5494         namespace std.
5495         * include/c_std/bits/std_ctime.h: Same.
5496         * include/c_std/bits/std_clocale.h: Same.
5497         * include/c_std/bits/std_cmath.h: Same.
5498         * include/c_std/bits/std_csetjmp.h: Same.
5499         * include/c_std/bits/std_csignal.h: Same.
5500         * include/c_std/bits/std_cstring.h: Same.
5501         * include/c_std/bits/std_cstdlib.h: Same.
5502         * include/c_std/bits/std_cwchar.h: Same.
5504 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
5506         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
5508 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
5510         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5511         (string::_S_construct): Likewise.
5513 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
5515         * testsuite/config/default.exp: New file.
5516         * testsuite/config: New directory.
5518 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
5520         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5521         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5522         whenever !__GXX_MERGED_TYPEINFO_NAMES.
5523         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5525 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
5526             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5528         * Makefile.am (mkinstalldirs): Set.
5529         * src/Makefile.am (mkinstalldirs): Set.
5530         * libmath/Makefile.am (mkinstalldirs): Set.
5531         * libsup++/Makefile.am (mkinstalldirs): Set.
5532         * libio/Makefile.am (mkinstalldirs): Set.
5533         * */Makefile.in: Regenerate.
5535 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
5537         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5538         * include/bits/localefwd.h: More initialization cleanups.
5540 2001-02-03  Jeffrey A Law  <law@cygnus.com>
5542         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5543         correctly targets with 16bit ints.
5544         (_S_ios_openmode_end): Similarly.
5545         (_S_ios_iostate_end): Similarly.
5546         (_S_ios_Seekdir_end): Similarly.
5548 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
5550         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
5552 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
5554         * configure.in (toplevel_srcdir, auxdir): Set.
5555         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5556         * aclocal.m4, configure, Makefile.in: Rebuilt.
5557         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5558         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5559         * libsupc++-v3/Makefile.in: Rebuilt.
5560         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5561         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5563 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
5565         * config/c_locale_generic.cc: Remove langinfo include.
5567 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
5569         Preliminary named locales.
5570         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5571         * aclocal.m4: Regenerate.
5572         * configure.in: Use it.
5573         * configure: Regerate.
5574         * src/Makefile.am (sources): Add c++locale.cc.
5575         (build_headers): Add c++locale.h.
5576         * src/Makefile.in: Regenerate.
5577         * config/c_locale_gnu.h: New file.
5578         * config/c_locale_gnu.cc: New file. Non-inline member functions
5579         for named locales, gnu-specific.
5580         * config/c_locale_generic.h: New file.
5581         * config/c_locale_generic.cc: New file. Non-inline member
5582         functions for named locales, generic version.
5583         * docs/html/configopts.html: Add documentation on new options.
5585         * include/bits/locale_facets.h (class _Messages): Remove.
5586         (class _Moneypunct): Remove.
5587         * src/locale-inst.cc: Remove.
5589         * include/bits/locale_facets.h (class _Collate): Remove.
5590         * src/locale-inst.cc (std): Remove.
5591         * src/locale.cc: And here.
5593         * include/bits/localefwd.h (locale::_M_coalesce): New
5594         function. Correctly put together multi-name locales.
5595         (_Impl(const _Impl&, category, size_t)): Remove.
5597         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5598         member functions.
5599         (_M_normalize_category_names): Remove.
5600         (_M_replace_categories): Fix.
5602         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5603         (locale::_Impl::_M_construct_ctype): Remove.
5604         (locale::_Impl::_M_construct_monetary): Remove.
5605         (locale::_Impl::_M_construct_numeric): Remove.
5606         (locale::_Impl::_M_construct_time): Remove.
5607         (locale::_Impl::_M_construct_messages): Remove.
5609         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5610         (_Use_facet_failure_handle): Remove.
5611         * src/locale.cc: Remove definitions.
5612         * src/locale-inst.cc: And here.
5614         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5616         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5617         create and error-check underlying locale object.
5618         (locale::facet::_S_destroy_c_locale): Add, take care of properly
5619         tearing down underlying locale object.
5620         * include/bits/localefwd.h (locale::facet): Declare.
5621         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5622         correctness, as glibc apparently has incorrect info in it. Test
5623         with it when it works again.....
5625         * include/bits/localefwd.h (locale::_Impl::__vec_string):
5626         Remove. Number of categories is fixed at six, so just simplify and
5627         make this an array of strings.
5628         (locale::_Impl::_M_has_name): Remove.
5629         (locale::_Impl::_M_name): Remove.
5630         (locale::_Impl::_M_category_names): Turns into...
5631         (locale::_Impl::_M_names): ...this.
5632         (locale::_Impl::_M_has_same_name()): New function.
5633         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5634         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5635         signature.
5636         * src/locale.cc (locale::name()): Construct mangled name
5637         accurately reflecting combined locale categories.
5639         * src/locale.cc (locale::classic()): Don't initialize here.
5640         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5641         __refs, bool __has_name, string __str): Do it here.
5643         * include/bits/localefwd.h: _S_categories_num to
5644         _S_num_categories. _S_facets_num to _S_num_facets.
5645         (locale::id::id()): Explicitly set _M_index to zero.
5646         * src/locale.cc: Same.
5648         * src/locale.cc: (locale::locale(const char*)): Construct named
5649         locales uniquely.
5651         * src/locale.cc: Remove numpunct_byname ctors.
5652         * testsuite/22_locale/numpunct_byname.cc: New file.
5653         * testsuite/22_locale/numpunct.cc: New file.
5655         * include/bits/localefwd.h (class locale): Change data members to
5656         protected, from private.
5657         (_Impl::_M_get_c_locale): Add member function.
5658         (locale::facet::_M_get_global_impl()): Add member function.
5659         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5660         a __c_locale pointer.
5661         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5662         named locales.
5663         * testsuite/22_locale/members.cc: New file, test name and combine.
5665         * include/bits/locale_facets.h (class numpunct): Remove class
5666         _Punct and _Numpunct. Rewrite class numpunct to be correct for
5667         named locales.
5668         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5669         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5670         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5671         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5672         * testsuite/22_locale/numpunct_char_members.cc: New file.
5674 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
5676         * testsuite/README: Add more comment.
5677         * testsuite/lib/libstdc++.exp: Tweak comment.
5679 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
5681         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5683 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
5685         * testsuite/21_strings/inserters_extractors.cc: Remove
5686         explicit reference to 'testsuite/'.
5688 2001-01-25  Richard Henderson  <rth@redhat.com>
5690         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5691         bits. Fixes Tru64 build issues.
5693 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5695         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5696         (use ${MAKE-make}, not ${MAKE:-make}).
5697         * aclocal.m4, configure: Regenerate.
5699 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
5701         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5702         checkin.
5704         * src/Makefile.am (sources): Add globals.cc.
5705         * src/Makefile.in: Regenerated.
5706         * src/globals.cc: New file.
5707         * src/ios.cc (cin): Don't define here, just declare extern.
5708         (cout): Likewise.
5709         (cerr): Likewise.
5710         (clog): Likewise.
5711         (wcin): Likewise.
5712         (wcout): Likewise.
5713         (wcerr): Likewise.
5714         (wclog): Likewise.
5716 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
5718         * include/bits/std_iterator.h:  Do not include stl_relops.h.
5719         * include/bits/std_numeric.h:  Ditto.
5720         * include/bits/stl_algobase.h:  Ditto.
5721         * include/bits/stl_relops.h:  Add comment warning about problems.
5723 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
5725         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5726         in testcases.  Prepare for the DejaGnu based framework.
5727         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
5728         directory -- it is now mkcheck working directory.
5729         * tests_flags.in: Remove reference to $(top_srcdir).  Use
5730         ${SRC_DIR} instead.
5731         * Makefile.am (check, check-install): Change mkcheck invocation
5732         logic.
5733         * Makefile.in: Regenerate.
5735 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
5737         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5738         (__always_swap): Likewise.
5740 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
5742         * libsupc++/exception_support.cc (__terminate_func): Remove
5743         declaration.
5744         (__terminate_func_ptr): New typedef.
5745         (__terminate, __terminate_set_func): New extern function
5746         prototypes.
5747         (std::terminate): Use __terminate function.
5748         (std::set_terminate): Use __terminate_set_func function.
5750 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
5752         * configure.target: Just use os_include_dir always.
5753         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5754         Link atomicity files and ctype files here.
5755         * configure: Regenerate.
5756         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5757         (GLIBCPP_ENABLE_ATOMICITY): Remove.
5758         * aclocal.m4: Regenerate.
5760 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
5762         * configure.in: Place definition of MULTISUBDIR in
5763         libsupc++/Makefile as is done for src/Makefile.
5764         * configure: Regenerate.
5766 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
5768         * acinclude.m4:  Cosmetic changes only.
5769         * aclocal.m4:  Regenerated.
5770         * configure:  Regenerated.
5771         * configure.target:  Update documented list of changed variables.
5772         * docs/html/install.html:  Fix typo.
5773         * docs/html/20_util/howto.html:  More notes on auto_ptr.
5774         * docs/html/27_io/howto.html:  More notes on streabufs.
5775         * docs/html/faq/index.html:  Add rel_ops problem and mention the
5776           DEC as(1) .subsection difficulty.
5777         * docs/html/faq/index.txt:  Regenerated.
5779 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
5781         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5782         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5783         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5784         its already provided in config.target.
5785         * aclocal.m4: Regenerated.
5786         * configure: Likewise.
5787         * configure.target: Set ctype_include_dir for lots of systems.
5788         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5789         * libsupc++/Makefile.in: Regenerated.
5791 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
5793         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
5794         keyword capability.
5796         * testsuite/README: Add comment.
5798 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
5800         * docs/html/configopts.html:  Update for current status.  Fix HTML.
5801         * docs/html/install.html:  Update for current status.
5803 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5805         * testsuite/libstdc++.tests/tests.exp: New file.
5806         * testsuite/lib/libstdc++.exp: Itou.
5807         * testsuite/README: Itou.
5809 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
5811         * tests_flags.in: Just output the bare minimum to run tests.
5812         Let's the caller do its own arrangement.
5814         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
5815         computations.
5817 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
5819         * testsuite/17_intro: Prepare testcases for new style DejaGnu
5820         framework.
5822 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
5824         * testsuite/libstdc++.tests, testsuite/lib: New directories.
5826 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
5828         * mkcheck.in: Construct file names that match $objdir structure.
5829         * testsuite/27_io/filebuf_members-1.txt: New file.
5830         * testsuite/27_io/ifstream_members-1.txt: New file.
5831         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5833         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5834         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5836 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5838         * testsuite/27_io/istream_sentry.cc (test02): Fix.
5840 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
5842         libstdc++/1605
5843         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5844         * src/ios.cc (ios_base::failure): Make definitions match.
5845         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5846         (class bad_cast): Same.
5847         * libsupc++/exception (class exception): Add throw specs.
5848         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5849         (set_unexpected): Same.
5850         (uncaught_exception): Same.
5851         (what): Same.
5853         * docs/html/17_intro/C++STYLE (classname): Fix.
5855 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
5857         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5858         Use it do explicitly instantiate predicate<T> and value<T> for
5859         all the builtin Ts.
5861 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
5863         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5864         uninitialized thinko in last change.
5866 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
5868         * libsupc++/exception_support.cc (__cp_pop_exception): Change
5869         prototype.
5871 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
5873         * docs/html/17_intro/C++STYLE (classname): Add more existing
5874         and stylish patterns.
5876         libstdc++/944
5877         * include/bits/istream.tcc (istream::sentry::sentry()): Set
5878         failbit if the state of the stream is not good.
5879         * testsuite/27_io/istream_sentry.cc (test02): Add test.
5880         * testsuite/27_io/istream_manip.cc (test01): Modify.
5882         libstdc++/1019
5883         reported by Paolo Carlini <pcarlini@unitus.it>
5884         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5885         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5887         libstdc++/1057
5888         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5889         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5890         (xsgetn): Same. Simplify.
5891         * testsuite/27_io/streambuf.cc (test04): Add testcases.
5893         reported by Larry Evans <jcampbell3@prodigy.net>
5894         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5895         equality with eof on returned value from overflow.
5897 2001-01-14  Andreas Jaeger  <aj@suse.de>
5899         * libio/libio.h: Add test for glibc 2.0.
5901 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
5903         * config/os/djgpp/bits/*: Fix dates.
5905         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5906         _CharT* __end, _CharT __c): Remove.
5907         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5908         * include/bits/char_traits.h: Tweak.
5910 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
5912         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5913         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5914         bash bug.
5915         * aclocal.m4: regenerated.
5916         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5917         * configure: regenerated.
5918         * config/os/djgpp, config/os/djgpp/bits: new directories.
5919         * config/os/djgpp/bits/ctype_base.h,
5920         config/os/djgpp/bits/ctype_inline.h,
5921         config/os/djgpp/bits/ctype_noninline.h,
5922         config/os/djgpp/bits/os_defines.h: new files.
5924 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
5926         * include/c_std/bits/std_cstdio.h: Undef printf.
5928 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
5930         * src/ios.cc: Fix typo: change cout->wcout.
5932         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5933         * src/Makefile.in: Regenerate.
5935 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5937          * include/bits/std_complex.h: Fix a typo.
5939 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
5940                              <kainz@ilm.com>
5942         Fixes for libstdc++/1576
5943         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5944         file, move contents into....
5945         * src/ios.cc: ...Here. Put defines for iostreams objects and
5946         initialization routines into one file to simplify DSO interaction.
5947         * include/bits/std_iostream.h: Touch.
5948         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5949         * src/Makefile.am (sources): Remove stdstreams.cc.
5950         * src/Makefile.in: Regenerate.
5952 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5954         * tests_flags.in (check_directory): Fix typo.
5956 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5958          * include/bits/std_complex.h: Fix a typo.
5960 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
5962         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5963         code path:) Remove magic constants and restructure to handle
5964         ctype.h bit mask layout changes more gracefully.  (Make fast
5965         code path:) Use __maskrune (), if available.
5966         (is): Remove special case for digit and xdigit masks.
5968 2001-01-09  Robert Lipe <robertlipe@usa.net>
5970         * include/c_std/bits/std_ctime.h: Undefine difftime.
5972 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
5974         * src/gen-num-limits.cc (signal_adapter): New template function.
5975         (signal_handler): Use it, instead of signal.
5976         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
5977         require both tests to trap to set trap_flag.
5979 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
5981         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5982         initialize mbstate_t member, name offset data members *off, not pos.
5983         * include/bits/fstream.tcc (filebuf::filebuf): Same.
5985 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
5987         reported by Chris G. Demetriou <cgd@sibyte.com>
5988         * configure.in: Change -linux-* to -linux*.
5989         * configure: Regenerate.
5991 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
5993         Fix 27_io/filebuf_members.cc
5994         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5995         const string& __name, category __cat, size_t __refs): Set
5996         _M_has_name with _M_name.
5997         * include/bits/localefwd.h (locale::operator!=): Protect member
5998         function call with this->.
5999         * src/locale.cc (locale::operator==): Make fast checks first.
6000         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6002         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6003         to ios_base::Init.
6004         * src/ios.cc (ios_base::Init::Init): Initialize here.
6005         (ios_base::sync_with_stdio): Set here.
6007 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
6009         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6010         systems that support it, call dup() before fdopen().
6012 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
6014         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6015         * testsuite/17_intro/header_cwctype.cc (main): New file.
6017         * src/Makefile.am (base_headers): Change.
6018         * include/bits/std_string.h: And here.
6019         * include/bits/string.tcc: Tweaks, move to...
6020         * include/bits/basic_string.tcc: ...Here.
6021         * src/string-inst.cc: Simplify, just instantiate the whole class,
6022         not member-by-member.
6024 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
6026         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6027         * aclocal.m4: Regenerate.
6028         * configure: Regenerate.
6030         * include/bits/c++config (__GLIBCPP__): Bump version number.
6032         * ChangeLog: Start new log for year 2001
6033         * ChangeLog-2000: New file.
6035         * docs/html/configopts.html: Make sure default values are current,
6036         add commentary.
6038 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
6040         * include/c_std/bits/std_cwchar.h: Same.
6041         * testsuite/17_intro/header_cwchar.cc: Same.
6042         * include/c_std/bits/std_ctime.h: Same.
6043         * testsuite/17_intro/header_ctime.cc: Same.
6044         * include/c_std/bits/std_cstdlib.h: Same.
6045         Clean up undefs, make consistent with cwchar and cmath, etc.
6046         * testsuite/17_intro/header_cstdlib.cc: Same.
6047         * include/c_std/bits/std_cstdio.h: Same here.
6048         * testsuite/17_intro/header_cstring.cc: Same.
6049         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6050         * testsuite/17_intro/header_cstring.cc: New file. Check for
6051         size_t in namespace std.
6053         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6054         * acconfig.h (HAVE_MBSTATE_T): Add.
6055         * config.h.in: Regenerate.
6056         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6057         mbstate_t.
6058         * aclocal.m4: Regenerate.
6059         * configure: Regenerate.
6060         * testsuite/17_intro/headers_c++.cc: New file.
6061         * testsuite/17_intro/headers_c.cc: Small changes.
6063 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
6065         * tests_flags.in: Fix typo in usage.
6067         * tests_flags.in: Set target specific LIBS for cygwin.