* configure.target (CPULIMITSH): Fix typo in alpha case.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blobb6a91b4d416f30e1538edbf61460c1a347b0ae51
1 2001-12-22  Richard Henderson  <rth@redhat.com>
3         * configure.target (CPULIMITSH): Fix typo in alpha case.
5 Sat Dec 22 09:52:41 2001  Jeffrey A Law  (law@redhat.com)
7         * config/os/hpux/bits/os_defines.h: Update to avoid #defines
8         for strtoll and strtoull.
10 Fri Dec 21 17:35:21 2001  Jeffrey A Law  (law@redhat.com)
12         * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
13         Define strtoll and strtoull.  Provide prototypes for
14         __strtoll and __strtoull.  Define _GLIBCPP_USE_LONG_LONG
15         unconditionally.
17         * src/locale-inst.cc: Include <bits/std_cstdlib.h>
19         * configure.target: Fix typo in hpux case.
21 2001-12-21  Paolo Carlini  <pcarlini@unitus.it>
23         * include/ext/stl_rope.h (_Rope_iterator):
24         Add local typedef to fix implicit typename problems.
26 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
28         * docs/doxygen/Intro.3:  New 'Allocators' module.
29         * docs/doxygen/TODO:  Update.
30         * docs/doxygen/doxygroups.cc:  Update.
31         * docs/doxygen/run_doxygen:  Update.
33         * include/bits/stl_alloc.h:  Tweak doxygen hooks in comments.
34         * include/bits/std_memory.h:  Doxygenate.
35         * include/bits/stl_iterator_base_types.h:  Likewise.
36         * include/bits/stl_raw_storage_iter.h:  Likewise.
37         * include/bits/stl_tempbuf.h:  Likewise.
38         (get_temporary_buffer):  Remove unused nonstandard overload.
39         * include/bits/stl_uninitialized.h:  Likewise.
41         * include/bits/stl_iterator_base_types.h (input_iterator,
42         output_iterator, forward_iterator, bidirectional_iterator,
43         random_access_iterator):  Move old names...
44         * include/backward/iterator.h:  ...to here.
45         * include/bits/stl_bvector.h:  Update.
46         * include/ext/stl_rope.h:  Update.
48 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
50         * docs/html/configopts.html:  Describe recent options.
51         * docs/html/documentation.html:  Point to new doxygen tarballs.
52         * docs/html/install.html:  Brief updates.
53         * docs/html/17_intro/RELEASE-NOTES:  Remove weird control character.
54         * docs/html/ext/howto.html:  Fix typos, describe filebuf::fd().
55         * docs/html/faq/index.html:  Update for 3.0.95.
56         * docs/html/faq/index.txt:  Regenerate.
58 2001-12-19  David Billinghurst <David.Billinghurst@riotinto.com>
60         libstdc++-v3/5148
61         * testsuite/lib/libstdc++-v3-dg.exp:  Append .exe to 
62         executable filenames
64 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
66         * docs/html/17_intro/TODO: Update.
67         * docs/html/17_intro/RELEASE-NOTES: Edits, update.
68         * README: Edit for clarity, update to reflect current directory
69         structure.
71 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
73         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
74         enabling gnu model.
75         * aclocal.m4: Rebuild.
76         * configure: Rebuild.
77         
78 2001-12-18  Paolo Carlini  <pcarlini@unitus.it>
79             Nathan Myers  <ncm@cantrip.org>
80         
81         * include/bits/basic_string.h (assign(__str, __pos, __n)):
82         Call assign(__s, __n).
83         (assign(__s, __n)): Terminate the string with _S_terminal.
85 2001-12-17  Benjamin Kosnik  <bkoz@redhat.com>
87         * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
88         Set to true, like float and double.
90 2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
92         libstdc++/5136
93         * testsuite/lib/prune.exp: New file
94         * testsuite/lib/libstdc++-v3-dg.exp: Use it
96 2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
98         * include/bits/basic_file.h (__basic_file::fd):  New function.
99         * config/io/basic_file_stdio.h (__basic_file::fd):  Define.
100         * include/bits/std_fstream.h (basic_filebuf::fd):  New function.
101         * include/bits/fstream.tcc (basic_filebuf::fd):  Define.
102         * testsuite/27_io/filebuf_members.cc (test_02):  New test.
104 2001-12-16  Nathan Sidwell  <nathan@codesourcery.com>
106         * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
107         * po/Makefile.in: Regenerated.
109 2001-12-16  Paolo Carlini  <pcarlini@unitus.it>
111         * testsuite/21_strings/assign.cc (test01): Add tests.
113 2001-12-15  Paolo Carlini  <pcarlini@unitus.it>
114             Nathan Myers  <ncm@cantrip.org>
116         * include/bits/basic_string.h
117         (assign(__str, __pos, __n), assign(__s, __n)):  Optimize
118         by avoiding unnecessary temporaries.
119         (assign(__s)): Call assign(__s, __n).
120         * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
121         * include/bits/std_string.h: include stl_function.h.
122         * testsuite/21_strings/assign.cc (test02, test03): New tests.
124 2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
126         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
127         on linux by default.
128         * aclocal.m4: Regenerate.
129         * configure: Regenerate.
130         
131 2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
133         Clean up initialization and simplfy caching of underlying "C"
134         default locale objects.
135         * src/localename.cc (locale::_Impl::_Impl(string, size_t):
136         Unconditionally create __clocale object for all named locales,
137         including "C" and "POSIX".
138         * config/locale/c_locale_generic.cc
139         (locale::facet::_S_create_c_locale): Always set __cloc to zero.
140         * config/locale/c_locale_gnu.cc: Always delete.
141         * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
142         * src/locale.cc (locale::classic()): Initialize
143         locale::facet::_S_c_locale.
144         (locale::facet::_S_c_locale): Define.
146         * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
147         specialization.
148         * src/locale.cc: Add definition here.
149         * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
150         * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
151         * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
152         Adjust ctors, dtors. 
153         (ctype<char>::_M_toupper): Remove const&.
154         (ctype<char>::_M_tolower): Remove const&.
155         (ctype<char>::_M_ctable): Remove const&.        
156         
157         * include/bits/locale_facets.h (collate): Clean up initialization
158         of _M_c_locale_collate in ctors and dtors.
159         * config/locale/collate_members_gnu.cc: Always use extended
160         functions.
162         * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
163         (messages_byname): Same.
164         * config/locale/messages_members_generic.h (messages::~messages):
165         Remove.
166         * config/locale/messages_members_gnu.h: Same.
168         * include/bits/localefwd.h: Clean. Move dtor definitions to
169         * src/locale.cc: Here.
170         * testsuite/22_locale/facet.cc: Fix spelling.
171         
172         Named locale support for ctype<wchar_t>.
173         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
174         ctype_members_* bits.
175         * aclocal.m4: Regenerate.
176         * configure: Regenerate.
177         * src/Makefile.am (sources): Add ctype.cc.
178         * src/Makefile.in: Regenerate.
179         * config/locale/ctype_members_generic.cc: New file.
180         * config/locale/ctype_members_gnu.cc: New file.
181         * src/locale.cc: Remove ctype<wchart_t> definitions.
183 2001-12-13  Roger Sayle <roger@eyesopen.com>
185         * acconfig.h: Test for __builtin_sqrt instead of
186         __builtin_fsqrt.
187         * acinclude.m4: Same.
188         * include/c_shadow/bits/std_cmath.h: Same.
189         * aclocal.m4: Regenerated.
190         * config.h.in: Regenerated.
191         * configure: Regenerated.
193 2001-12-13  Phil Edwards  <pme@gcc.gnu.org>
195         * docs/html/ext/howto.html:  Fix typos.
197 2001-12-13  Benjamin Kosnik  <bkoz@redhat.com>
199         libstdc++/3679
200         * src/locale.cc (locale::locale(const char*)): Deal with locales
201         named "".
202         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
204 2001-12-12  Paolo Carlini  <pcarlini@unitus.it>
206         * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
207         _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
208         _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
209         : Adjust implicit typename.
210         * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
211         Adjust implicit typename.
212         * testsuite/27_io/streambuf.cc: Adjust implicit typename.
214 2001-12-12  Benjamin Kosnik  <bkoz@redhat.com>
216         Named locale support for ctype<char>.
217         * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
218         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
219         definitions for alternate constructor.
220         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
221         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
222         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
223         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
224         * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
225         * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
226         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
227         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
228         * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
229         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
230         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
231         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
232         * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
233         definitions for all virtual functions. These are now explicitly
234         undefined for non-required factets, ie any non-char, non-wchar_t
235         instantiations.
236         * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
237         locales use alternate constructor for ctype facet.
238         * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
239         mask*, bool, size_t): Add.
240         (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
241         * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
242         definition.
244         * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
245         XFAIL for non-gnu locale models.
247 2001-12-12  Philip Martin  <philip@codematters.co.uk>
248             Ross Smith     <r-smith@ihug.co.nz>
249             Paolo Carlini  <pcarlini@unitus.it>
251         libstdc++/5045
252         * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
253         Fix digits10 values for integral types.
254         * include/bits/locale_facets.tcc (num_get::do_get for integral types):
255         Tweak _M_extract_int call.
256         * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
257         Tweak overflowing number of digits.
258         * testsuite/18_support/numeric_limits.cc (test03): New testcase.
260 2001-12-11  Benjamin Kosnik  <bkoz@redhat.com>
262         * config/os/generic/bits/ctype_inline.h: Remove spaces.
263         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
264         * include/bits/locale_facets.h (__num_base): Move double data
265         members to first in class.
266         * include/bits/locale_facets.tcc: Re-arrange, tweak.
267         * src/locale.cc: Clean.
268         *include/bits/stl_vector.h: Space typedefs.
270 2001-12-11  Phil Edwards  <pme@gcc.gnu.org>
272         * testsuite/ext/allocators.cc:  New file.
274 2001-12-11  Jason Merrill  <jason@redhat.com>
276         * include/bits/locale_facets.tcc (_M_extract_int): Avoid
277         uninitialized warning.
279 2001-12-11  Loren Rittle <ljrittle@acm.org>
281         * config/cpu/sparc/sparc32/bits/atomicity.h
282         (__Atomicity_lock<0>::_S_atomicity_lock): Add.
284 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
286         * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
287         * include/bits/basic_string.h:  Fix typos.
289 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
290             Nathan Myers  <ncm@cantrip.org>
292         * include/bits/basic_string.tcc (_M_replace_safe):  New function.
293         (_M_replace(input_iterator_tag), append members):  Use it.
294         (_M_replace(forward_iterator_tag)):  Remove.
295         * include/bits/basic_string.h:  Adjust declarations.
296         * src/string-inst.cc:  Adjust declarations.
298 2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
299             Philip Martin <pmartin@uklinux.net>
301         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
302         (__num_base::_S_scale_oct): Add.
303         * include/bits/locale_facets.tcc (_M_extract_int): Use them.
304         * src/locale.cc: Add definitions.
305         * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
307         * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
309 2001-12-07  Nathan Myers  <ncm@cantrip.org>
310             Loren Rittle <ljrittle@acm.org>
312         libstdc++/5037
313         * config/cpu/sparc/sparc32/bits/atomicity.h
314         (struct __Atomicity_lock<__inst>): Add.
315         (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
316         (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
317         instead of lock local to static function.
318         (__atomic_add): Likewise.
320 2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
322         * src/globals.cc:  Remove __GTHREADS guard.
324 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
326         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
327         Extend comment, reduce __cs_size for non-fixed outputs.
329 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
331         * include/bits/basic_string.tcc (_M_mutate): Fix typo
332         in the previous check in.
334 2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
335             Loren J. Rittle <ljrittle@acm.org>
337         * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
338         exponential growth policy to meet linear amortized time
339         requirements of the standard.
340         (_S_create): Adjust comment.
342 2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
344         libstdc++/3720
345         * include/bits/locale_facets.tcc (num_put): Clean.
346         (num_get::_M_extract_float): Change argument to string.
347         (num_get::do_get(float)): Fixup.
348         (num_get::do_get(double)): Same.
349         (num_get::do_get(long double)): Same.
350         (num_get::_M_extract_int): Add maximum length parameter, __max.
351         (num_get::_M_extract_float): Correct zeros, use string.
352         * include/bits/locale_facets.h (num_get::_M_extract_float): Change
353         declaration here.
354         * src/locale.cc (__num_base::_S_atoms): Remove x, X.
355         * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
357 2001-12-06  Philip Martin  <pmartin@uklinux.net>
359         * testsuite/27_io/istream_extractor_arith.cc (test12): Add
360         tests for excess input digits.
362 2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
364         * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
365         * include/bits/stl_algo.h:  Likewise.
366         * include/bits/stl_algobase.h:  Likewise.
367         * include/bits/stl_bvector.h:  Likewise.
368         * include/bits/stl_deque.h:  Likewise.
369         * include/bits/stl_function.h:  Likewise.
370         * include/bits/stl_iterator.h:  Likewise.
371         * include/bits/stl_iterator_base_funcs.h:  Likewise.
372         * include/bits/stl_iterator_base_types.h:  Likewise.
373         * include/bits/stl_list.h:  Likewise.
374         * include/bits/stl_multimap.h:  Likewise.
375         * include/bits/stl_multiset.h:  Likewise.
376         * include/bits/stl_pair.h:  Likewise.
377         * include/bits/stl_queue.h:  Likewise.
378         * include/bits/stl_set.h:  Likewise.
379         * include/bits/stl_stack.h:  Likewise.
380         * include/bits/stl_tempbuf.h:  Likewise.
381         * include/bits/stl_tree.h:  Likewise.
382         * include/bits/stl_vector.h:  Likewise.
384         * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
385         Doxygenate more comments.  Correct historical artifacts in comments.
386         (alloc, single_alloc):  Uglify non-standard names.
387         (__default_alloc_template::_NFREELISTS):  Calculate from other
388         parameters.
389         (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
390         (__default_alloc_template::_Lock):  Mark as "unused".
391         * include/backward/alloc.h:  Update.
392         * include/bits/stl_bvector.h:  Likewise.
393         * include/ext/ropeimpl.h:  Likewise.
394         * include/ext/stl_hashtable.h:  Likewise.
396 2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
398         DR/282
399         * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
400         grouping to floating point types.
401         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
403 2001-12-04  Paolo Carlini <pcarlini@unitus.it>
405         libstdc++/4402
406         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
407         from the PR.
408         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
409         Deal properly with long ios_base::fixed floats.
410         (num_put::_M_widen_float): use
411         __len in __builtin_alloca call.
413 2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
415         * src/Makefile.am (sources): Add ext-inst.cc.
416         * src/Makefile.in: Regenerate.
417         * src/ext-inst.cc: New file.
418         * include/bits/stl_threads.h: Format.
419         * src/globals.cc: Add instantiation for _S_swap_lock.
421         * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
422         instantiation.
424 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
426         * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
427         and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
428         * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
429         for explicit instantiation of class std::basic_string<char,
430         gnu_char_traits, std::allocator<char> >.
432 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
434         * testsuite/22_locale/collate.cc: Compile-only.
435         * testsuite/22_locale/time_get.cc: Same.
436         * testsuite/22_locale/time_put.cc: Same.
437         * testsuite/22_locale/numpunct.cc: Same.
438         * testsuite/22_locale/num_put.cc: Same.
439         * testsuite/22_locale/num_get.cc: Same.
440         * testsuite/22_locale/moneypunct.cc: Same.
441         * testsuite/22_locale/money_get.cc: Same.
442         * testsuite/22_locale/messages.cc: Same.
443         * testsuite/22_locale/ctype.cc: Same.
445 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
447         * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
448         member instantiations.
450 2001-12-03  Steve Ellcey  <sje@cup.hp.com>
452         * libstdc++-v3/configure.in: Add support for hpux cross compiles,
453         combine common linux/hpux/generic cross compile support to reduce
454         redundent lines.
455         * libstdc++-v3/configure: Regenerate.
457 2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
459         * docs/html/ext/howto.html: Update commentary.
460         * include/bits/c++config: Update threading configuration comment.
461         (__STL_GTHREADS): Remove macro definition.
462         (__STL_THREADS): Likewise.
463         * include/bits/stl_threads.h: Leave only the configuration
464         path which had been guarded by __STL_GTHREADS.  Remove all
465         guards related to __STL_GTHREADS, __STL_SGI_THREADS,
466         __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
467         * include/bits/stl_alloc.h: Leave only the configuration path
468         which had been guarded by __STL_THREADS.  Remove configuration
469         path and guards for __STL_SGI_THREADS.
470         (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
471         (__NODE_ALLOCATOR_LOCK): Likewise.
472         (__NODE_ALLOCATOR_UNLOCK): Likewise.
473         (_NOTHREADS): Remove guards related to macro.
474         * include/ext/stl_rope.h: Remove configuration path and guards
475         for __STL_SGI_THREADS.
476         * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
478 2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
480         * docs/html/ext/howto.html:  Update list of implemented DRs.
481         * docs/html/ext/lwg-active.html:  Import R20 from upstream.
482         * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
484 2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
486         libstdc++/3150
487         DR/266
488         * libsupc++/exception (bad_exception::~bad_exception()): Remove
489         declaration.
490         * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
491         * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
492         (bad_typeid::~bad_typeid()): Remove.
493         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
494         (bad_typeid::~bad_typeid()): Same.
495         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
496         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
498         * include/bits/std_iomanip.h: Tweak.
500 2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
502         libstdc++/3655
503         * include/bits/locale_facets.tcc (__pad): Add bool parameter to
504         correctly pad internal-adjusted const char*-type objects.
505         * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
506         * include/bits/ostream.tcc (operator<<(_CharT , char, const
507         _CharT*, const char*, const basic_string&): Update calls.
508         * src/locale-inst.tcc: Update declarations.
509         * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
511 2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
513         * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
515 2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
517         * include/bits/locale_facets.tcc (num_get::do_get(long double)):
518         Fix __traits_type typo.
520 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
522         * include/bits/locale_facets.tcc (__pad): Correctly pad
523         internal-adjusted hex numbers.
524         * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
526 2001-11-28  Paolo Carlini <pcarlini@unitus.it>
527             Loren J. Rittle <ljrittle@acm.org>
529         * include/bits/basic_string.h
530         (basic_string::_Rep::__default_excess, _S_excess_slop):
531         Unused, remove.
532         * include/bits/basic_string.tcc: Remove dead code.
533         * include/bits/c++config: Remove comment.
535 2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
536             Jakub Jelinek  <jakub@redhat.com>
538         * config/locale/moneypunct_members_gnu.cc
539         (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
540         for ia64, others.
541         * config/locale/numpunct_members_gnu.cc
542         (numpunct<wchar_t>::_M_initialize_numpunct): Same.
544 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
546         * include/bits/locale_facets.tcc: Formatting tweaks.
548         * testsuite/23_containers/map_operators.cc: Don't xfail.
549         * testsuite/23_containers/set_operators.cc: Same.
550         * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
551         * testsuite/backward/header_deque_h.cc: Same.
553 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
554             Paolo Carlini  <pcarlini@unitus.it>
556         * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
557         Enforce allocation size blocking policy to reduce
558         fragmentation and enhance performance with common malloc
559         implementations.
561 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
563         Numeric facets cleanup.
564         * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
565         + and - signs.
566         (__num_base::_M_zero): Add
567         (__num_base::_M_e): Add.
568         (__num_base::_M_E): Add.
569         * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
570         (num_get::_M_extract_float): New.
571         (num_get::_M_extract_int): New.
572         * src/locale.cc (num_get::_M_extract): Remove.
574         * include/bits/locale_facets.tcc (num_put::_M_insert_float):
575         Simplify, use _M_insert.
576         (num_put::do_put(bool)): Simplify, remove __pad.
577         (__pad): Remove.
578         (__pad_output): Change to __pad.
579         * include/bits/ostream.tcc: And here.
580         * src/locale-inst: Remove instantiations.
582         * include/bits/locale_facets.h: Move helper functions in to class
583         num_put.
584         (num_put::_M_insert_float): Same, for __output_integer.
585         (num_put::_M_insert_int): Same, for __output_float.
586         (num_put::_M_insert): New.
587         (__num_base): Add.
588         (__num_base::_S_format_float): Move
589         __build_float_format into class __num_base.
590         (__num_base::_S_format_int): Move __build_int_format into class
591         __num_base.
592         * include/bits/locale_facets.tcc (__group_digits): Change to
593         (__add_grouping): This.
594         * src/locale-inst.cc: And here. Tweak instantiations.
595         * src/misc-inst.cc: Remove instantiations.
597         * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
598         for new calling conventions, move to...
599         * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
600         signature to make it useful for both ostream and num_put.
601         (__pad_numeric): Remove.
602         * src/misc-inst.cc: Remove instantiations.
603         * src/locale-inst.cc: Same.
605         * include/bits/locale_facets.h (_Numeric_get): Remove.
606         (_Numeric_put): Remove.
607         (num_get::get(short)): Remove.
608         (num_get::get(int)): Remove.
609         (num_get::do_get(short)): Remove.
610         (num_get::do_get(int)): Remove.
611         * include/bits/istream.tcc (istream::operator>>(short)): Fix as
612         per DR 118.
613         (istream::operator>>(int)): Same.
615         * include/bits/locale_facets.h (_Format_cache): Remove.
616         * include/bits/locale_facets.tcc: Same.
617         * src/locale.cc: Same.
618         * src/locale-inst.cc: Same.
619         * include/bits/ostream.tcc: Same.
620         * src/ios.cc (ios_base::imbue): Remove here as well.
622         * testsuite/22_locale/num_get.cc: New file.
623         * testsuite/22_locale/num_get_members_char.cc: New file.
624         * testsuite/22_locale/num_get_members_wchar_t.cc: New.
625         * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
626         * testsuite/22_locale/num_put.cc: New file.
627         * testsuite/22_locale/num_put_members_char.cc: New file.
628         * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
629         * testsuite/27_io/ostream_inserter_arith.cc: Fix.
630         * testsuite/27_io/istream_extractor_arith.cc: Fix.
632 2001-11-27  Phil Edwards  <pme@gcc.gnu.org>
634         * docs/html/explanations.html:  New section, empty for now.
635         * docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
636         * docs/html/23_containers/howto.html:  ...to here.  Break up and
637         rewrap threading discussion to emphasize warning.  Move malloc text...
638         * docs/html/ext/howto.html:  ...to here.  New section.  Describe
639         allocators and __USE_MALLOC effects.
640         * docs/html/ext/sgiexts.html:  Mention their code.
642 2001-11-24  Joseph S. Myers  <jsm28@cam.ac.uk>
644         * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
645         docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
646         changes.
648 2001-11-23  Phil Edwards  <pme@gcc.gnu.org>
650         * Makefile.am (doxygen-maint):  The script isn't executable in CVS.
651         * Makefile.in:  Regenerated.
652         * docs/doxygen/TODO:  New file listing doxygen work to be done.
653         * docs/doxygen/run_doxygen:  Fix up man pages.
654         * docs/doxygen/user.cfg.in:  Insert maint-only toggles.
655         * docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
656         * include/bits/stl_construct.h:  Use new hooks for internal functions.
658         * docs/html/17_intro/TODO:  Small updates.
659         * docs/html/faq/index.html:  Likewise.
660         * docs/html/faq/index.txt:  Regenerated.
662         * include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
663         SGI-isms and wrappers.
664         (simple_alloc, debug_alloc):  Uglify class names.
665         (__default_alloc_template):  Uglify "threads" template parameter and
666         update corresponding macros.
667         * include/backward/alloc.h:  Bring up to date.
669 2001-11-23  Jason Merrill  <jason@redhat.com>
671         * src/vterminate.cc (__verbose_terminate_handler): Add leading
672         underscores.
674 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
676         * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
677         docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
678         docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
679         docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
680         docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
681         docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
682         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
683         docs/html/21_strings/howto.html,
684         docs/html/23_containers/howto.html,
685         docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
686         docs/html/27_io/binary_iostreams_kuehl.txt,
687         docs/html/ext/sgiexts.html, docs/html/faq/index.html,
688         docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
689         include/bits/basic_file.h, include/bits/locale_facets.h,
690         include/bits/locale_facets.tcc, include/bits/std_sstream.h,
691         include/ext/ropeimpl.h, include/ext/stl_rope.h,
692         libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
693         libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
694         configure.target, ChangeLog-2000: Fix spelling errors.
696         * config/locale/moneypunct_members_gnu.cc,
697         include/bits/locale_facets.h: Fix spelling errors.
699 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
701         * testsuite/23_containers/list_capacity.cc: New file.
702         * testsuite/23_containers/list_ctor.cc: New file.
703         * testsuite/23_containers/list_modifiers.cc: New file.
704         * testsuite/23_containers/list_operators.cc: New file.
706 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
708         * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
709         (size): Replaced nonstandard distance() call with the standard one.
710         (transfer): Uglified to _M_transfer.
712 2001-11-21  Paolo Carlini  <pcarlini@unitus.it>
714         PR libstdc++/4548
715         * include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
716         below the current size.
717         * testsuite/21_strings/capacity.cc (test02):  Add test.
719 2001-11-19  Phil Edwards  <pme@gcc.gnu.org>
721         * docs/doxygen/Intro.3:  More notes.
722         * docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
723         * include/bits/stl_algobase.h:  Add doxygen hooks for functions.
724         * include/ext/hash_map:  Add @file hook.
725         * include/ext/hash_set:  Likewise.
726         * include/ext/rope:  Likewise.
727         * include/ext/ropeimpl.h:  Likewise.
728         * include/ext/slist:  Likewise.
729         * include/ext/stl_hash_fun.h:  Likewise.
730         * include/ext/stl_hashtable.h:  Likewise.
731         * include/ext/stl_rope.h:  Likewise.
733         * docs/html/17_intro/license.html:  Remove "experimental" sentence.
734         * docs/html/19_diagnostics/howto.html:  Document new verbose
735         terminate handler.
736         * testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
737         to more visible (closer to description) position.
739         * libsupc++/eh_type.cc:  Formatting tweak.
740         * libsupc++/exception:  Likewise.
741         * src/vterminate.cc:  Likewise.
743         * docs/html/17_intro/porting.html:  Regenerate.
744         * docs/html/faq/index.txt:  Regenerate.
746 2001-11-18  Jason Merrill  <jason@redhat.com>
748         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
749         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
750         * libsupc++/unwind-cxx.h: Adjust.
751         * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
753         * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
754         * libsupc++/cxxabi.h: Declare it.
755         * libsupc++/Makefile.am (sources): Add it.
756         * src/vterminate.cc (verbose_terminate_handler): New file.
757         * libsupc++/exception: Declare it.
758         * src/Makefile.am (sources): Add it.
760         * src/Makefile.am (VPATH): Check the src directory before the top one.
762 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
764         * include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
766 2001-11-16  Loren J. Rittle  <ljrittle@acm.org>
768         * docs/html/17_intro/howto.html (Thread-safety): Rename
769         section to ``The Standard C++ library and multithreading'' and
770         update information based on recent mailing list traffic.  Move
771         all discussion of __USE_MALLOC to...
772         * docs/html/23_containers/howto.html (Containers and multithreading):
773         ...here and rework it based on recent mailing list traffic.
775 2001-11-15  Loren J. Rittle  <ljrittle@acm.org>
777         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
778         wording.
780 2001-11-15  <bjornw@planetarion.com>
781             Loren J. Rittle  <ljrittle@acm.org>
783         libstc++/4219
784         * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
785         (single_client_alloc): Likewise.
787 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
789         * configure.target: Add os_include_dir for mingw32* target.
790         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
791         from _GLIBCPP_AVOID_FSEEK.
792         * config/os/mingw32/bits/ctype_base.h: New file.
793         * config/os/mingw32/bits/ctype_inline.h: New file.
794         * config/os/mingw32/bits/ctype_noninline.h: New file.
795         * config/os/mingw32/bits/os_defines.h: New file.
797 2001-11-07  Nathan Myers  <ncm@cantrip.org>
799         * docs/html/faq/index.html (5.8):  New entry on ABIs.
800         * docs/html/faq/index.txt:  Regenerate.
802 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
804         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
805         bugfixes on Solaris.
806         * docs/html/faq/index.txt:  Regenerate.
808 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
810         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
811         LANG_CPLUSPLUS mode.
812         * aclocal.m4:  Regenerate.
813         * configure:  Regenerate.
815 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
817         * porting.texi:  Move...
818         * docs/html/17_intro/porting.texi:  ...to here.
819         * docs/html/Makefile:  Add rule to rebuild...
820         * docs/html/17_intro/porting.html:  ...this.  New file.
822 2001-11-05  Felix Natter  <fnatter@gmx.net>
824         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
825         * docs/html/17_intro/porting-howto.html:  regenerate
827 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
829         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
830         when platform supports __GTHREAD_MUTEX_INIT.
832 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
834         * acconfig.h:  Update comments.
835         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
836         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
837         * aclocal.m4:  Regenerate.
838         * config.h.in:  Regenerate.
839         * configure:  Regenerate.
841         * include/bits/boost_concept_check.h:  Unconditionally compile uses
842         of 'long long' which require only compiler support, not C lib support.
843         * include/bits/cpp_type_traits.h:  Likewise.
844         * include/bits/std_limits.h:  Likewise.
845         * include/bits/type_traits.h:  Likewise.
846         * src/concept-inst.cc:  Likewise.
847         * src/limits.cc:  Likewise.
848         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
849         instead of _GLIBCPP_USE_LONG_LONG.
850         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
852 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
854         * config/io/c_io_stdio.h:  Correct grammar in comments.
855         * docs/doxygen/Intro.3:  Expand "top-level" man page.
856         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
857         * docs/doxygen/mainpage.doxy:  Tweaks.
858         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
860         Add @file hooks so that headers are considered to be documented.
861         * include/bits/basic_ios.h, include/bits/basic_file.h,
862         include/bits/basic_string.h, include/bits/boost_concept_check.h,
863         include/bits/char_traits.h, include/bits/codecvt.h,
864         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
865         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
866         include/bits/indirect_array.h, include/bits/ios_base.h,
867         include/bits/locale_facets.h, include/bits/localefwd.h,
868         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
869         include/bits/slice.h, include/bits/slice_array.h,
870         include/bits/std_algorithm.h, include/bits/std_bitset.h,
871         include/bits/std_complex.h, include/bits/std_deque.h,
872         include/bits/std_fstream.h, include/bits/std_functional.h,
873         include/bits/std_iomanip.h, include/bits/std_ios.h,
874         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
875         include/bits/std_istream.h, include/bits/std_iterator.h,
876         include/bits/std_limits.h, include/bits/std_list.h,
877         include/bits/std_locale.h, include/bits/std_map.h,
878         include/bits/std_memory.h, include/bits/std_numeric.h,
879         include/bits/std_ostream.h, include/bits/std_queue.h,
880         include/bits/std_set.h, include/bits/std_sstream.h,
881         include/bits/std_stack.h, include/bits/std_streambuf.h,
882         include/bits/std_string.h, include/bits/std_utility.h,
883         include/bits/std_valarray.h, include/bits/std_vector.h,
884         include/bits/stl_algo.h, include/bits/stl_alloc.h,
885         include/bits/stl_bvector.h, include/bits/stl_construct.h,
886         include/bits/stl_deque.h, include/bits/stl_heap.h,
887         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
888         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
889         include/bits/stl_map.h, include/bits/stl_multimap.h,
890         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
891         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
892         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
893         include/bits/stl_relops.h, include/bits/stl_set.h,
894         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
895         include/bits/stl_threads.h, include/bits/stl_tree.h,
896         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
897         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
898         include/bits/stringfwd.h, include/bits/type_traits.h,
899         include/bits/valarray_array.h, include/bits/valarray_meta.h:
900         Add hooks, tweak comments only.
902         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
903         document these functions.
904         * include/bits/stl_function.h:  Tweak link comments.
906 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
907             Benjamin Kosnik  <bkoz@redhat.com>
909         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
910         output.
911         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
913 2001-11-01  Egor Duda  <deo@logos-m.ru>
915         * config/os/newlib/bits/ctype_noninline.h
916         (ctype<char>::do_toupper(char __c)): Check for proper character class.
917         (ctype<char>::do_tolower(char __c)): Ditto.
919 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
921         * acinclude.m4:  Fix spacing.
922         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
923         * configure.in:  Call here.
924         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
925         * include/bits/boost_concept_check.h:  Fix headers.
926         (__function_requires):  Make inline.
927         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
928         * aclocal.m4:  Regenerate.
929         * config.h.in:  Regenerate.
930         * configure:  Regenerate.
932         Move trailing ';' inside macro, PR libstdc++/3666.
933         * include/bits/concept_check.h:  Add semicolon.
934         * include/bits/stl_algo.h:  Remove semicolon.
935         * include/bits/stl_algobase.h:  Likewise.
936         * include/bits/stl_deque.h:  Likewise.
937         * include/bits/stl_heap.h:  Likewise.
938         * include/bits/stl_iterator_base_funcs.h:  Likewise.
939         * include/bits/stl_list.h:  Likewise.
940         * include/bits/stl_map.h:  Likewise.
941         * include/bits/stl_multimap.h:  Likewise.
942         * include/bits/stl_multiset.h:  Likewise.
943         * include/bits/stl_numeric.h:  Likewise.
944         * include/bits/stl_queue.h:  Likewise.
945         * include/bits/stl_set.h:  Likewise.
946         * include/bits/stl_stack.h:  Likewise.
947         * include/bits/stl_vector.h:  Likewise.
948         * include/ext/hash_map:  Likewise.
949         * include/ext/hash_set:  Likewise.
950         * include/ext/slist:  Likewise.
952         * src/concept-inst.cc:  New file with explicit instantiations.
953         * src/Makefile.am (sources):  Add here, with special build rules.
954         * src/Makefile.in:  Regenerate.
956 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
958         * include/bits/std_complex.h (_Norm_helper): New class template.
959         (norm): Tweak.
960         (abs): Tweak. Fix Thinko.
962 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
964         libstdc++/4749
965         * include/bits/codecvt.h: Add virtual member function declarations.
966         * src/codecvt.cc: Tweaks.
967         * testsuite/22_locale/codecvt.cc: Test compilation only,
968         non-required facets not required to have linkage.
970 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
972         libstdc++/4622
973         * include/bits/std_complex.h (complex::operator/=): Correct sign.
975 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
976             Benjamin Kosnik  <bkoz@redhat.com>
978         libstdc++/4354
979         * include/bits/basic_string.h: Tweaks.
980         * include/bits/basic_string.tcc (string::_M_replace(iterator,
981         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
982         * src/string-inst.cc: Tweaks, add instantiation.
983         * testsuite/21_strings/replace.cc (test02): Add test.
984         * testsuite/21_strings/assign.cc (test01): New file.
986 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
988         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
989         __throw_exception_again.
990         (_M_new_elements_at_back): Likewise.
992 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
994         libstdc++/3647
995         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
996         * testsuite/27_io/filebuf.cc (test07): New test.
997         (test03): Modify showmanyc test.
999 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1001         libstdc++/4503
1002         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1003         (__enc_traits::~__enc_traits): Fix.
1004         (__enc_traits::_M_init): Add error checking.
1006 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1008         libstdc++/4542
1009         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1011 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1013         libstdc++/4545
1014         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1015         exceptions.
1016         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1017         consistent, where possible.
1018         * include/bits/streambuf.tcc: Tweak.
1020 2001-10-25  Brendan Kehoe  <brendan@zen.org>
1022         libstdc++/4536
1023         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1024         * bits/istream.tcc (seekg): Likewise.
1026 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1027             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1028             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1030         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1031         __s390x__ only.
1032         * include/bits/std_limits.h: Fix wchar_t issues.
1033         * config/os/aix/bits/os_defines.h: Fix.
1035 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1037         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1039 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
1041         * docs/html/documentation.html:  Fix typo.
1043 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1045         Make -fno-exceptions work.
1046         * config/locale/c_locale_gnu.cc: Use functexcept.
1047         * include/bits/c++config (__stl_assert): Remove.
1048         (__STL_USE_EXCEPTIONS): Same.
1049         (__STL_TRY): Same.
1050         (__STL_CATCH_ALL): Same.
1051         (__STL_THROW): Same.
1052         (__STL_RETHROW): Same.
1053         (__STL_NOTHROW): Same.
1054         (__STL_UNWIND): Same.
1055         * include/bits/pthread_allocimpl.h: Fix.
1056         * include/bits/std_bitset.h: Same.
1057         * include/bits/std_list.h: Same.
1058         * include/bits/std_memory.h: Same.
1059         * include/bits/std_queue.h: Same.
1060         * include/bits/stl_alloc.h: Same.
1061         * include/bits/stl_deque.h: Same.
1062         * include/bits/stl_list.h: Same.
1063         * include/bits/stl_queue.h: Same.
1064         * include/bits/stl_tempbuf.h: Same.
1065         * include/bits/stl_tree.h: Same.
1066         * include/bits/stl_uninitialized.h: Same.
1067         * include/bits/stl_vector.h: Same.
1068         * include/ext/ropeimpl.h: Same.
1069         * include/ext/slist: Same.
1070         * include/ext/stl_hashtable.h: Same.
1071         * include/ext/stl_rope.h: Same.
1072         * libsupc++/new_op.cc: Include cstdlib.
1073         * libsupc++/eh_personality.cc: Add exception_defines include. Use
1074         __throw_exception_again, tweak.
1075         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1076         * libsupc++/vec.cc: Tweak.
1077         * src/functexcept.cc: Remove unused arguments.
1078         * testsuite/23_containers/bitset_members.cc: Tweak.
1080 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
1082         * config/cpu/i386/bits/limits.h: Move to...
1083         * config/cpu/i386/bits/cpu_limits.h: ...here.
1084         * config/cpu/cris/bits/cpu_limits.h: Same.
1085         * config/cpu/powerpc/bits/cpu_limits.h: Same.
1086         * config/cpu/x86-64/bits/cpu_limits.h: Same.
1087         * config/cpu/alpha/bits/cpu_limits.h: New.
1088         * config/cpu/m68k/bits/cpu_limits.h: New.
1089         * config/cpu/s390/bits/cpu_limits.h: New.
1090         * config/os/aix/bits/os_defines.h: Tweaks.
1091         * config/os/bsd/freebsd/bits/os_defines.h: Same.
1092         * config/os/bsd/netbsd/bits/os_defines.h: Same.
1093         * config/os/djgpp/bits/os_defines.h: Same.
1094         * config/os/generic/bits/os_defines.h: Same.
1095         * config/os/gnu-linux/bits/os_defines.h: Same.
1096         * config/os/hpux/bits/os_defines.h: Same.
1097         * config/os/irix/irix5.2/bits/os_defines.h: Same.
1098         * config/os/irix/irix6.5/bits/os_defines.h: Same.
1099         * config/os/newlib/bits/os_defines.h: Same.
1100         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1101         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1102         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1104         * include/bits/c++config: Remove include.
1105         * include/bits/limits_generic.h: Remove.
1106         * include/bits/std_limits.h: Include cpu_limits.h.
1107         * include/Makefile.am: Fixup.
1108         * src/limits.cc: Tweak.
1109         * src/limits_generic.cc: Remove.
1110         * src/gen-num-limits.cc: Remove.
1111         * mknumeric_limits: Remove.
1113 2001-10-20  Brendan Kehoe  <brendan@zen.org>
1115         * bits/type_traits.h (_Bool): Removed this type.
1116         (__true_type, __false_type): Change to be plain structs.
1117         * src/string-inst.cc (__destroy_aux): Change third parm to be
1118         __false_type instead of _Bool<false>.
1119         * src/misc-inst.cc (__uninitialized_fill_n_aux,
1120         __uninitialized_copy_aux): Likewise.
1122 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1124         * mkcheck.in (static_fail): Remove older memory limit functionality.
1125         Disable E_TIME due to formatting issues.
1127         * README: Update.
1129 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1131         * include/bits/std_complex.h: Default initialize second argument
1132         of polar to 0, as specified in Library DR #79
1134 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1136         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1137         _Construct instead of construct.
1139 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1141         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1142         __n being non-zero, since the standard does not mandate that.
1143         e.g., a search for "" in "" should yield position 0, not npos.
1144         (find_last_not_of): Likewise.
1146 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1148         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1149         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1151 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1153         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1154         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1156 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1158         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1159         template parameter _ValueType.
1161 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1163         * include/bits/std_limits.h: Clean up extra semicolons.
1164         * include/bits/locale_facets.h: Likewise.
1165         * include/bits/type_traits.h: Likewise.
1167 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1169         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1170         * include/bits/locale_facets.tcc (locale::combine): Likewise.
1172 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1174         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1175         Declare specializations for char, wchar_t.
1177 2001-10-19  Andreas Jaeger  <aj@suse.de>
1179         * config/cpu/x86-64/bits/limits.h: New file.
1180         * config/cpu/x86-64/bits/atomicity.h: New file.
1181         * configure.target: Add x86-64.
1183 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
1185         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
1186         why).  Add link to recent message.
1187         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
1188         markup.
1189         * docs/html/faq/index.txt:  Regenerate.
1191 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
1193         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1194         based on Nathan's review.  Use Nathan's words.
1196 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
1198         * docs/html/configopts.html: Quote StyleSheet attribute values.
1199         * docs/html/documentation.html: Likewise.
1200         * docs/html/explanations.html: Likewise.
1201         * docs/html/install.html: Likewise.
1202         * docs/html/17_intro/howto.html: Likewise.
1203         * docs/html/17_intro/license.html: Likewise.
1204         * docs/html/18_support/howto.html: Likewise.
1205         * docs/html/19_diagnostics/howto.html: Likewise.
1206         * docs/html/20_util/howto.html: Likewise.
1207         * docs/html/21_strings/howto.html: Likewise.
1208         * docs/html/22_locale/howto.html: Likewise.
1209         * docs/html/23_containers/howto.html: Likewise.
1210         * docs/html/24_iterators/howto.html: Likewise.
1211         * docs/html/25_algorithms/howto.html: Likewise.
1212         * docs/html/26_numerics/howto.html: Likewise.
1213         * docs/html/27_io/howto.html: Likewise.
1214         * docs/html/ext/howto.html: Likewise.
1215         * docs/html/ext/sgiexts.html: Likewise.
1216         * docs/html/faq/index.html: Likewise.
1218 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
1220         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1221         * docs/html/23_containers/howto.html (Containers and multithreading):
1222         Update.
1224 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1226         * docs/html/17_intro/howto.html:  Tweak markup and value type.
1227         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
1228         nonzero arguments, add new note on threading.
1229         * docs/html/faq/index.html:  Update.
1230         * docs/html/faq/index.txt:  Regenerate.
1232 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1234         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
1235         * docs/html/documentation.html:  Likewise.
1236         * docs/html/explanations.html:  Likewise.
1237         * docs/html/install.html:  Likewise.
1238         * docs/html/17_intro/howto.html:  Likewise.
1239         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
1240         * docs/html/18_support/howto.html:  Likewise.
1241         * docs/html/19_diagnostics/howto.html:  Likewise.
1242         * docs/html/20_util/howto.html:  Likewise.
1243         * docs/html/21_strings/howto.html:  Likewise.
1244         * docs/html/22_locale/howto.html:  Likewise.
1245         * docs/html/23_containers/howto.html:  Likewise.
1246         * docs/html/24_iterators/howto.html:  Likewise.
1247         * docs/html/25_algorithms/howto.html:  Likewise.
1248         * docs/html/26_numerics/howto.html:  Likewise.
1249         * docs/html/27_io/howto.html:  Likewise.
1250         * docs/html/ext/howto.html:  Likewise.
1251         * docs/html/ext/sgiexts.html:  Likewise.
1252         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
1253         * docs/html/faq/index.txt:  Regenerate.
1255 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
1257         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1258         spelling errors of "separate" as "seperate", and corresponding
1259         spelling errors of related words.
1260         * docs/html/faq/index.txt: Regenerate.
1262 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
1264         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
1265         unused function.
1266         * config/cpu/arm/bits/atomicity.h:  Likewise.
1267         * config/cpu/generic/bits/atomicity.h:  Likewise.
1268         * config/cpu/i486/bits/atomicity.h:  Likewise.
1269         * config/cpu/ia64/bits/atomicity.h:  Likewise.
1270         * config/cpu/mips/bits/atomicity.h:  Likewise.
1271         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
1272         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
1273         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
1275 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1277         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
1278         * docs/html/faq/index.txt:  Regenerate.
1280 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1282         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
1283         * docs/html/17_intro/license.html:  New file.  Explain the licenses
1284         in use.
1286         * docs/html/configopts.html:  Link to license.html.
1287         * docs/html/documentation.html:  Likewise.
1288         * docs/html/explanations.html:  Likewise.
1289         * docs/html/install.html:  Likewise.
1290         * docs/html/17_intro/howto.html:  Likewise.
1291         * docs/html/18_support/howto.html:  Likewise.
1292         * docs/html/19_diagnostics/howto.html:  Likewise.
1293         * docs/html/20_util/howto.html:  Likewise.
1294         * docs/html/21_strings/howto.html:  Likewise.
1295         * docs/html/22_locale/howto.html:  Likewise.
1296         * docs/html/23_containers/howto.html:  Likewise.
1297         * docs/html/24_iterators/howto.html:  Likewise.
1298         * docs/html/25_algorithms/howto.html:  Likewise.
1299         * docs/html/26_numerics/howto.html:  Likewise.
1300         * docs/html/27_io/howto.html:  Likewise.
1301         * docs/html/ext/howto.html:  Likewise.
1302         * docs/html/ext/sgiexts.html:  Likewise.
1303         * docs/html/faq/index.html:  Likewise.  New question, linking to
1304         the new license.html.
1306 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1308         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
1309         * docs/html/18_support/howto.html:  Likewise.
1310         * docs/html/19_diagnostics/howto.html:  Likewise.
1311         * docs/html/20_util/howto.html:  Likewise.
1312         * docs/html/21_strings/howto.html:  Likewise.
1313         * docs/html/22_locale/howto.html:  Likewise.
1314         * docs/html/23_containers/howto.html:  Likewise.
1315         * docs/html/24_iterators/howto.html:  Likewise.
1316         * docs/html/25_algorithms/howto.html:  Likewise.
1317         * docs/html/26_numerics/howto.html:  Likewise.
1318         * docs/html/27_io/howto.html:  Likewise.
1319         * docs/html/ext/howto.html:  Likewise.
1320         * docs/html/faq/index.html:  Likewise.  Spacing fix.
1322 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
1324         * include/bits/stl_threads.h (_Atomic_swap): New function.
1325         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1326         * testsuite/ext/rope.cc: New file.
1328 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
1330         * config/locale/time_members_gnu.h: Remove.
1331         * config/locale/time_members_generic.h: Remove.
1332         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1333         * config/locale/time_members_generic.cc: Same.
1334         * include/bits/locale_facets.h: Add data members.
1335         (__timepunct::_M_put_helper): Change signature.
1336         (__timepunct::_M_date_formats): Same.
1337         (__timepunct::_M_time_formats): Same.
1338         (__timepunct::_M_ampm): Add.
1339         (__timepunct::_M_date_time_formats): Add.
1340         (time_get::_M_extract_via_format): Add.
1341         (time_get::_M_extract_time): Change to...
1342         (time_get::_M_extract_num): ... this, modify signature.
1343         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1344         (time_get::do_get_time): Fix.
1345         (time_get::do_get_date): Fix.
1347         * acinclude.m4: Remove CTIME_H.
1348         * aclocal.m4: Regenerate.
1349         * include/Makefile.am: Same.
1350         * include/Makefile.in: Regenerate.
1351         * configure: Regenerate.
1353         * testsuite/22_locale/time_get_members_char.cc: Fix.
1354         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1355         * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1357 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
1359         * config/cpu/cris/bits/atomicity.h: Correct file header.
1361 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
1363         * configure.target (LIMITSH): Set for cris.
1364         (cpu_include_dir): Set for cris-*-*.
1365         * config/cpu/cris/bits/atomicity.h: New file.
1366         * config/cpu/cris/bits/limits.h: New file.
1368 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
1370         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1371         (__timepunct::_M_put_helper): Add.
1372         * config/locale/time_members_generic.h: Same.
1373         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1374         (__timepunct): Add data members.
1375         (__timepunct::_M_days): Add.
1376         (__timepunct::_M_days_abbreviated): Add.
1377         (__timepunct::_M_months): Add.
1378         (__timepunct::_M_months_abbreviated): Add.
1379         (__timepunct::_M_initialize_timepunct): Add.
1380         * include/bits/locale_facets.tcc: Same.
1381         * src/locale-inst.cc: Remove instantiations for __match_parallel.
1382         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1383         * aclocal.m4: Regenerate.
1384         * configure: Regenerate.
1385         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1386         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1387         * testsuite/22_locale/time_get.cc: New file.
1389 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1391         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1392         correct multilib builddir.
1393         Properly locate libgcc_s.
1395 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
1397         * include/std/*:  Add Doxygen hooks.
1398         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
1399         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
1400         rather than using a generated index.
1401         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
1402         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
1403         * docs/doxygen/stdheader.cc:  ...this new file.
1405 2001-09-26  Stan Shebs  <shebs@apple.com>
1407         * include/Makefile.am: Remove RCS Id strings.
1408         * src/Makefile.am: Ditto.
1409         * docs/doxygen/run_doxygen: Ditto.
1410         * docs/html/configopts.html: Ditto.
1411         * docs/html/documentation.html: Ditto.
1412         * docs/html/explanations.html: Ditto.
1413         * docs/html/install.html: Ditto.
1414         * docs/html/17_intro/howto.html: Ditto.
1415         * docs/html/18_support/howto.html: Ditto.
1416         * docs/html/19_diagnostics/howto.html: Ditto.
1417         * docs/html/20_util/howto.html: Ditto.
1418         * docs/html/21_strings/howto.html: Ditto.
1419         * docs/html/22_locale/howto.html: Ditto.
1420         * docs/html/23_containers/howto.html: Ditto.
1421         * docs/html/24_iterators/howto.html: Ditto.
1422         * docs/html/25_algorithms/howto.html: Ditto.
1423         * docs/html/26_numerics/howto.html: Ditto.
1424         * docs/html/27_io/howto.html: Ditto.
1425         * docs/html/ext/howto.html: Ditto.
1426         * docs/html/ext/sgiexts.html: Ditto.
1427         * docs/html/faq/index.html: Ditto.
1428         * docs/html/faq/index.txt: Ditto.
1430 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
1432         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
1433         `carray' size.
1435 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
1437         * docs/html/20_util/howto.html:  Add anchor name.
1438         * docs/html/23_containers/howto.html:  Line wrapping, another link.
1439         * docs/html/25_algorithms/howto.html:  Another note.
1441         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
1442         link to them...
1443         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
1444         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
1445         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
1446         carried over to libstdc++-v3.
1447         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
1448         "missing .." pseudobug.
1449         * docs/html/faq/index.txt:  Regenerate.
1451         * include/bits/ios_base.h:  DR-related comment cleanup.
1452         * include/bits/istream.tcc:  Likewise.
1453         * include/bits/locale_facets.h:  Likewise.
1454         * include/bits/locale_facets.tcc:  Likewise.
1455         * include/bits/ostream.tcc:  Likewise.
1456         * include/bits/std_bitset.h:  Likewise.
1457         * include/bits/std_iosfwd.h:  Likewise.
1458         * include/bits/std_istream.h:  Likewise.
1459         * include/bits/std_ostream.h:  Likewise.
1460         * include/bits/std_streambuf.h:  Likewise.
1461         * include/bits/stl_pair.h:  Likewise.
1462         * include/bits/streambuf_iterator.h:  Likewise.
1464         * include/bits/std_map.h:  Remove unused header inclusion guard
1465         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1466         * include/bits/std_set.h:  Likewise.
1468         * include/bits/stl_function.h:  Doxygen markup.
1469         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
1470         * libsupc++/typeinfo:  Doxygen markup tweak.
1472 2001-09-20  Scott Johnston <scott@accom.com>
1473             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1475         * include/backward/alloc.h: Conditionally define malloc_alloc
1476         * testsuite/backward/header_deque_h.cc: New file.
1478 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1480         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1481         change variable name so that it works with -fno-for-scope.
1483 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
1485         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1486         redundant sanity checks.
1487         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1488         (test02): Same.
1489         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1490         (test02): Same.
1491         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1492         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1493         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1494         (test02): Same.
1495         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1496         (test02): Same.
1498 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
1500         Implement std::time_put.
1501         * include/bits/locale_facets.h: Include time_members.h.
1502         (__timepunct): New.
1503         (time_put): Implement.
1504         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1505         * include/bits/localefwd.h: Bump number of facets.
1506         * config/locale/time_members_generic.h: New file.
1507         * config/locale/time_members_gnu.h: New file.
1508         * config/locale/c_locale_generic.h: Include clocale.
1509         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1510         * src/locale.cc: Add __timepunct initializations.
1511         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1512         * include/Makefile.am (stamp-target): Add time_members.h.
1513         * include/Makefile.in: Regenerate.
1514         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1515         * aclocal.m4: Regenerate.
1516         * configure: Regenerate.
1517         * testsuite/22_locale/time_put.cc: New file.
1518         * testsuite/22_locale/time_put_members_char.cc: New file.
1520         * docs/html/22_locale/locale.html: Add note.
1522 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
1524         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
1525         * docs/html/documentation.html:  Likewise.
1526         * docs/html/explanations.html:  Likewise.
1527         * docs/html/install.html:  Likewise.
1528         * docs/html/17_intro/howto.html:  Likewise.
1529         * docs/html/18_support/howto.html:  Likewise.
1530         * docs/html/19_diagnostics/howto.html:  Likewise.
1531         * docs/html/20_util/howto.html:  Likewise.
1532         * docs/html/21_strings/howto.html:  Likewise.
1533         * docs/html/22_locale/codecvt.html:  Likewise.
1534         * docs/html/22_locale/ctype.html:  Likewise.
1535         * docs/html/22_locale/howto.html:  Likewise.
1536         * docs/html/22_locale/locale.html:  Likewise.
1537         * docs/html/22_locale/messages.html:  Likewise.
1538         * docs/html/23_containers/howto.html:  Likewise.
1539         * docs/html/24_iterators/howto.html:  Likewise.
1540         * docs/html/25_algorithms/howto.html:  Likewise.
1541         * docs/html/26_numerics/howto.html:  Likewise.
1542         * docs/html/27_io/howto.html:  Likewise.
1543         * docs/html/ext/howto.html:  Likewise.
1544         * docs/html/faq/index.html:  Likewise.
1545         * docs/html/faq/index.txt:  Regenerated.
1547 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
1549         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
1550         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
1551         * docs/html/18_support/howto.html:  It won't compile; it's not code.
1552         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
1553         doxygen'd pages.
1554         * docs/html/22_locale/howto.html:  Comment for future work.
1555         * docs/html/23_containers/howto.html:  More comments.
1556         * docs/html/25_algorithms/howto.html:  It's a comment, not a
1557         blunt command to the reader.  (English grammar.)
1559 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1561         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1562         wchar_t members.
1563         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1564         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1566 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1568         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1570 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
1572         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1573         * testsuite/22_locale/money_put_members_char.cc: Likewise.
1574         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1576 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
1578         Implement std::money_get.
1579         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1580         * include/bits/locale_facets.h (money_get): Correct signatures.
1581         * testsuite/22_locale/money_get.cc: New file.
1582         * testsuite/22_locale/money_get_members_char.cc: New file.
1584         * include/bits/locale_facets.tcc (__verify_grouping): New
1585         function. Consolidate num_get and money_get group checking into
1586         one function.
1587         (money_get): Use it.
1588         * src/locale.cc (num_get::_M_extract): Use it.
1589         * src/locale-inst.cc: Add instantiation.
1591 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1593         * include/bits/std_limits.h (numeric_limits<float>::radix,
1594         numeric_limits<float>::epsilon:  Fix thinko.
1596 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1598         * configure.in: Fix cross compiling math routines. Correct
1599         comments for cross compiling and limits. Add floating point math
1600         routines found in newlib.
1601         * configure: Regenerate.
1602         * acconfig.h: Add macros.
1603         * config.h.in: Regenerate.
1605 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1607         * config/locale/moneypunct_members_generic.cc
1608         (money_base::_S_construct_pattern): Remove unused parameters.
1610 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1612         * include/Makefile.am (stamp-target): Remove link to self.
1613         * inclulde/Makefile.in: Regenerate.
1615 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
1617         Implement std::money_put.
1618         * include/bits/locale_facets.h
1619         (moneypunct::_M_initialize_moneypunct): Split up specializations
1620         to account for _Intl.  More grody hacking to get around the
1621         ill-considered use of const bool as a template parameter.
1622         * config/locale/moneypunct_members_gnu.cc: And here.
1623         * config/locale/moneypunct_members_generic.cc: And here.
1624         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1625         * testsuite/22_locale/moneypunct.cc: Add tests.
1626         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1627         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1629         * src/locale.cc (money_base::_S_construct_pattern): Move into
1630         gnu-specific file.
1631         * config/locale/moneypunct_members_gnu.cc: Add here.
1632         * config/locale/moneypunct_members_generic.cc: Add generic version
1633         here.
1635         * include/bits/locale_facets.tcc (money_put::do_put): Move member
1636         function definitions here.
1637         * include/bits/locale_facets.h (money_put): Implement.
1638         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1639         Correct money_get, money_put instantiations.
1640         * src/locale.cc (money_base::_S_construct_pattern): Handle case
1641         where __posn == 0.
1642         * testsuite/22_locale/money_put_members_char.cc: Add tests.
1644 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
1646         * testsuite_flags.in:  No longer need to search testsuite builddir.
1647         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
1648         * Makefile.am:  The testsuite directory never needs to be made here.
1649         * Makefile.in:  Regenerate.
1650         * include/Makefile.in:  Regenerate.
1651         * libio/Makefile.in:  Regenerate.
1652         * libmath/Makefile.in:  Regenerate.
1653         * libsupc++/Makefile.in:  Regenerate.
1654         * po/Makefile.in:  Regenerate.
1655         * src/Makefile.in:  Regenerate.
1656         * testsuite/Makefile.in:  Regenerate.
1658 2001-09-04  Scott Johnston  <scott@accom.com>
1659             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1661         * include/backward/iterator.h: Include <bits/std_iterator.h>,
1662         remove reverse_bidirectional_iterator.
1663         * testsuite/backward: New directory.
1664         * testsuite/backward/header_iterator_h.cc: New file.
1666 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
1668         * include/c_std/bits/std_c*.h: Don't use include_next.
1670 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
1672         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1673         tmp from _Unwind_Ptr to _Unwind_Word.
1675 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
1677         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1678         leb128 handling.
1680 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
1682         * include/Makefile.am: Use toplevel_srcdir to refer to src files
1683         outside this component.
1684         * include/Makefile.in: Regenerate.
1686 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
1688         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1689         * config/locale/c_locale_generic.cc: Same.
1690         * config/locale/moneypunct_members_gnu.cc: New file.
1691         * config/locale/moneypunct_members_generic.cc: New file.
1692         * config/locale/numpunct_members_gnu.cc: New file.
1693         * config/locale/numpunct_members_generic.cc: New file.
1694         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1695         options.
1696         * aclocal.m4: Regenerate.
1697         * configure: Regenerate.
1698         * src/Makefile.am (sources): And here.
1699         * src/Makefile.in: Regenerate.
1701         Rename for consistency with rest of testsuite.
1702         * testsuite/22_locale/codecvt.cc: New file.
1703         * testsuite/22_locale/money_put.cc: New file.
1704         * testsuite/22_locale/money_put_members_char.cc: New file.
1706 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
1708         PR libstdc++/4143
1709         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
1710         correctly for version-specific-runtime-libs.
1711         * aclocal.m4:  Regenerate.
1712         * configure:  Regenerate.
1714 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
1716         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1717         define if not already provided by per-OS file.
1718         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1719         Define.
1721 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
1723         * docs/html/17_intro/C++STYLE:  Fix typo.
1725 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
1727         * docs/html/23_containers/howto.html:  Describe implementation of
1728         insertion with hints.
1730 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
1732         libstdc++/3740
1733         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1735 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1736             Phil Edwards  <pme@sources.redhat.com>
1738         PR libstdc++/3349
1739         * include/bits/stl_tree.h (insert_unique):  Revert last change.
1740         Values inserted at begin() must be less, not greater, than *begin()'s.
1741         * testsuite/23_containers/map_insert.cc:  New file.
1743 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
1745         * config/locale/c_locale_gnu.cc: Minor tweaks.
1746         (moneypunct<wchar_t>): Implement.
1747         * include/bits/locale_facets.h: Same.
1748         * testsuite/22_locale/moneypunct.cc: New file.
1749         * testsuite/22_locale/moneypunct_byname.cc: New file.
1750         * testsuite/22_locale/moneypunct_char_members.cc: New file.
1752 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
1754         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1755         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1757 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
1759         * testsuite_flags.in (build-includes): Re-add backward.
1761 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
1763         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1764         with _GLIBCPP_USE_WCHAR_T.
1766 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
1768         * testsuite/22_locale/collate_byname.cc (test01): Fix.
1770 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
1772         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1774 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
1776         * testsuite/22_locale/operators.cc: Add test.
1778 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
1780         Implement std::collate.
1781         * config/locale/collate_specializations_gnu.cc: Add here, implement in
1782         MT-safe way.
1783         * config/locale/collate_specializations_generic.cc: Add here, but
1784         in a less sophisticated manner.
1785         * include/bits/locale_facets.tcc (collate): Add generic definition.
1786         * include/bits/locale_facets.h (~collate): Mark virtual.
1787         (collate::_M_compare_helper): New.
1788         (collate::_M_transform_helper): New.
1789         * src/locale.cc: Remove unnecessary specializations.
1790         * src/string-inst.cc: Tweak instantiation of ctors.
1792         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1793         * aclocal.m4: Regenerate.
1794         * configure: Regenerate.
1795         * src/Makefile.am (sources): Add collate.cc.
1796         * src/Makefile.in: Regenerate.
1798         * testsuite/22_locale/collate_byname.cc: New.
1799         * testsuite/22_locale/collate.cc: New file.
1800         * testsuite/22_locale/collate_char_members.cc: New file.
1801         * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1803 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1805         * configure.target: Set LIMITSH for powerpc-*-*.
1806         * config/cpu/powerpc/bits/limits.h: New file.
1808 2001-08-16  Marc Espie <espie@openbsd.org>
1810         * configure.in:  Check for <sys/types.h>.
1811         * configure:  Rebuild.
1812         * config.h.in:  Rebuild.
1813         * libmath/mathconf.h:  Include <sys/types.h> prior to
1814         <machine/endian.h> if available.
1816 2001-08-15  Andreas Schwab  <schwab@suse.de>
1818         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1819         m68k and m680[246]0.
1820         * config/cpu/m68k/bits/atomicity.h: New file.
1822         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1823         Define appropriate long double limits for m68k extended floating
1824         point.
1825         (__glibcpp_f32_digits10): Corrected, off by one.
1826         (__glibcpp_f80_digits10): Likewise.
1827         (__glibcpp_f128_digits10): Likewise.
1828         * config/os/gnu-linux/bits/os_defines.h
1829         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1831 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1833         * testsuite/18_support/numeric_limits.cc: Add more tests.
1834         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1835         typo.
1837 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
1839         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1840         for s390 and s390x.
1842         * config/cpu/s390/bits/atomicity.h: New.
1844 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
1846         * include/bits/std_limits.h: Fix thinko.
1848 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
1850         * include/Makefile.am: Consolidate target rules. Don't clean stamp
1851         files. Tweak target build directory stamp.
1852         * include/Makefile.in: Regenerate.
1854 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1856         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1857         _GBLICPP_HAVE_LOGL with HAVE_LOGL
1859 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
1861         * configure.in (libtool_VERSION): Add.
1862         (VERSION): Change to
1863         (release_VERSION): This.
1864         * configure: Regenerate.
1865         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1866         libtool_VERSION.
1867         * src/Makefile.in: Regenerate.
1869         * intl/Makefile.am: Remove.
1870         * intl/Makefile.in: Remove.
1871         * intl: Remove.
1872         * Makefile.am (SUBDIRS): Remove intl.
1873         * po/Makefile.am (DISTFILES): Add string_literals.cc
1874         (MSGFMT): Add.
1875         * po/string_literals.cc: Add.
1876         * po/POTFILES.in: Fix path.
1877         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1878         * aclocal.m4: Regenerate.
1879         * configure.in: Remove AC_OUTPUT of intl/Makefile.
1881         * include/backward/backward_warning.h: Clarify message.
1883         * testsuite_flags.in (--cxxflags): Use same debug flags for
1884         library and testsuite.
1886         * include/Makefile.am (c_compatibility): Remove.
1887         * include/Makefile.in: Regenerate.
1889 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
1891         * configure.in (LIMITS_INC_SRCDIR): New variable.
1892         * configure.target (LIMITSH): New variable.
1893         * porting.texi: Discuss numeric limits.
1894         * config/cpu/generic/bits/limits.h: New file.
1895         * config/cpu/i386/bits/limits.h: New file.
1896         * include/Makefile.am: Install bits/limits.h.
1897         * include/bits/c++config: Include bits/limits.h.
1899 2001-08-13  H.J. Lu  (hjl@gnu.org)
1901         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1902         New. Copy files.
1903         (libstdc++-v3-init ): Use it.
1905 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1907         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1908         to '__adjust' to avoid shadowing in nested scope.
1910 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1912         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1913         __CHAR_UNSIGNED__.
1915         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1916         Likewise.
1917         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
1918         Remove.
1920 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
1922         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1923         dummy default argument to the non-limit implementation.
1925         bootstrap/3963
1926         * include/Makefile.am: Use relative file path in rule to allow
1927         colon in $(objdir).
1928         * include/Makefile.in: Rebuilt.
1930 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
1932         * include/bits/std_complex.h (complex<long double>::operator*=,
1933         complex<long double>::operator/=): Fix thinko.
1935 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1937         * include/bits/std_limits.h: New file.
1938         * include/Makefile.am (bits_headers): Add std_limits.h
1939         (all-local): std_limits.h is no longer built.
1940         (${target_builddir}/std_limits.h): Remove.
1941         * include/Makefile.in: Regenerate.
1942         * src/limits.cc: New file.
1943         * src/Makefile.am (sources): Add limits.cc in replacement of
1944         limitsMEMBERS.cc.
1945         * src/Makefile.in: Regenerate.
1947 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1949         * src/gen-num-limits.cc (digits10): Fix thinko.
1951 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
1953         * po/Makefile.am (check-no): Add.
1954         (check-yes): Same.
1955         * po/Makefile.in: Regenerate.
1957 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
1959         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1960         * config.h.in: Regenerate.
1961         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1962         function.
1963         * aclocal.m4: Regenerate.
1964         * configure.in: Remove duplicate AM_CONFIG_HEADER.
1965         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1966         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1967         * configure: Regenerate.
1968         * testsuite_hooks.h.in: Move to...
1969         * testsuite_hooks.h: Here, include c++config.h. Use it.
1971         * Makefile.am (SUBDIRS): Move testsuite to last directory.
1972         * Makefile.in: Regenerate.
1973         * po/Makefile.am (stamp-po): Add.
1975 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
1977         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1978         * config/os/generic/bits/os_defines.h: Likewise.
1979         * config/os/gnu-linux/bits/os_defines.h: Likewise.
1980         * config/os/hpux/bits/os_defines.h: Likewise.
1981         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1982         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1984 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
1986         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1987         -version-info, use substituted VERSION info.
1988         * src/Makefile.in: Regenerate.
1990 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
1992         Implement std::messages.
1993         Make config a fully-nested directory.
1994         * config/locale: New directory.
1995         * config/c_locale_generic.cc: Move into locale subdirectory.
1996         * config/c_locale_generic.h: Same.
1997         * config/c_locale_gnu.cc: Same.
1998         * config/c_locale_gnu.h: Same.
1999         * config/c_locale_ieee_1003.1-200x.cc: Same.
2000         * config/c_locale_ieee_1003.1-200x_.h: Same.
2001         * config/codecvt_specializations_generic.h: Same.
2002         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2003         * config/messages_members_gnu.h: Same.
2004         * config/messaages_members_gnu.cc: Same.
2005         * config/messages_members_generic.h: Same.
2006         * config/messaages_members_generic.cc: Same.
2007         * config/messages_members_ieee_1003.1-200x.h: Same.
2008         * config/messaages_members_ieee_1003.1-200x.cc: Same.
2009         * config/io: New directory.
2010         * config/basic_file_libio.h: Move into io subdirectory.
2011         * config/basic_file_libio.cc: Same.
2012         * config/c_io_libio.h: Same.
2013         * config/c_io_libio_codecvt.c: Same.
2014         * config/basic_file_stdio.h: Same.
2015         * config/basic_file_stdio.cc: Same.
2016         * config/c_io_stdio.h: Same.
2018         * po: New directory.
2019         * po/POTFILES.in: New file.
2020         * po/Makefile.am: New file.
2021         * po/Makefile.in: New file.
2022         * po/libstdc++.pot: Generic translation file.
2023         * po/fr.po: Preliminary French translation.
2024         * po/de.po: Preliminary German translation.
2025         * intl: New directory.
2026         * intl/Makefile.am: New file.
2027         * intl/Makefile.in: New file.
2028         * intl/string_literals.cc: New file.
2029         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2030         requisite setup for gettext. Re-arrange.
2031         * aclocal.m4: Regenerate.
2032         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2033         Output Makefile bits for po and intl.
2034         * configure: Regenerate.
2035         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2036         * Makefile.in: Regenerate.
2037         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2038         * config.h.in: Regenerate.
2040         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2042         * include/Makefile.am (install-data-local): Don't install Makefile.
2043         * include/Makefile.in: Regenerate.
2045         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2046         Add member.
2047         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2048         * config/locale/c_locale_generic.cc: Same.
2049         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2051         * include/bits/codecvt.h: Excise non-standard, non-required
2052         bits. This includes __enc_traits, and partial specializations of
2053         codecvt for __enc_traits.
2054         * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2055         * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2056         * config/codecvt_partials_generic.h: New file.
2057         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2058         (stamp-codecvt_model): Add.
2059         * include/Makefile.in: Regenerate.
2060         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2061         * aclocal.m4: Regenerate.
2062         * configure: Regenerate.
2063         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2064         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2065         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2067         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2068         as a friend for _S_*_c_locale functions.
2069         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2070         argument to default constructor so that CODESET information can be
2071         deduced.
2072         * include/bits/locale_facets.h (messages_byname):
2073         Re-implement. Remove specializations.
2074         * src/locale.cc (messages_byname<char>): Remove specialization.
2075         (messages_byname<wchar_t>): Same.
2076         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2077         * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2078         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2079         * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2080         * config/locale/messages_members_gnu.cc: New file.
2081         * config/locale/messages_members_gnu.h: New file.
2082         * config/locale/messages_members_generic.cc: New file.
2083         * config/locale/messages_members_generic.h: New file.
2085         * docs/html/configopts.html: Add documentation for new locale
2086         model, ieee_1003.1. Adjust other flags for current defaults.
2087         * docs/html/22_locale/locale.html: Update.
2088         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2089         * docs/html/22_locale/messages.html: New.
2091         * src/Makefile.am (sources): Add messages_virtuals.cc.
2092         * src/Makefile.in: Regenerate.
2093         * include/Makefile.am (allstamps): Add stamp-messages_model.
2094         (stamp-messages_model): Add.
2095         * include/Makefile.in: Regenerate.
2096         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2097         * aclocal.m4: Regenerate.
2098         * configure: Regenerate.
2100         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2101         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2102         bits for Irix.
2103         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2104         build directories message catalog base directory, and export.
2105         Eventually this should probably be made to deal with build and
2106         install directories. For now, punt on this as the library itself
2107         doesn't use message catalogs (yet).
2108         * testsuite/22_locale/messages.cc: New file.
2109         * testsuite/22_locale/messages_char_members.cc: New file.
2110         * testsuite/22_locale/messages_byname.cc: New file.
2112 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
2114         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
2115         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
2116         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
2117         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
2118         Call GLIBCPP_CONFIGURE_TESTSUITE.
2119         * aclocal.m4:  Regenerate.
2120         * config.h.in:  Regenerate.
2121         * configure:  Regenerate.
2123         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
2124         of old header.
2126         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
2127         * testsuite/debug_assert.h:  Removed; contents merged into...
2128         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
2129         * testsuite/17_intro/header_ciso646.cc:  No longer include
2130         debug_assert.h, include testsuite_hooks.h instead.
2131         * testsuite/17_intro/header_fstream.cc:  Likewise.
2132         * testsuite/17_intro/header_iomanip.cc:  Likewise.
2133         * testsuite/17_intro/header_ios.cc:  Likewise.
2134         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
2135         * testsuite/17_intro/header_iostream.cc:  Likewise.
2136         * testsuite/17_intro/header_istream.cc:  Likewise.
2137         * testsuite/17_intro/header_ostream.cc:  Likewise.
2138         * testsuite/17_intro/header_sstream.cc:  Likewise.
2139         * testsuite/17_intro/header_streambuf.cc:  Likewise.
2140         * testsuite/18_support/numeric_limits.cc:  Likewise.
2141         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
2142         * testsuite/20_util/allocator_members.cc:  Likewise.
2143         * testsuite/20_util/auto_ptr.cc:  Likewise.
2144         * testsuite/20_util/pairs.cc:  Likewise.
2145         * testsuite/21_strings/append.cc:  Likewise.
2146         * testsuite/21_strings/capacity.cc:  Likewise.
2147         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
2148         * testsuite/21_strings/compare.cc:  Likewise.
2149         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
2150         call to (disabled) __set_testsuite_memlimit() wrapper.
2151         * testsuite/21_strings/element_access.cc:  Likewise.
2152         * testsuite/21_strings/find.cc:  Likewise.
2153         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
2154         (disabled) __set_testsuite_memlimit() wrapper.
2155         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
2156         * testsuite/21_strings/invariants.cc:  Likewise.
2157         * testsuite/21_strings/nonmember.cc:  Likewise.
2158         * testsuite/21_strings/operations.cc:  Likewise.
2159         * testsuite/21_strings/replace.cc:  Likewise.
2160         * testsuite/21_strings/rfind.cc:  Likewise.
2161         * testsuite/21_strings/substr.cc:  Likewise.
2162         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
2163         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
2164         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
2165         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
2166         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
2167         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
2168         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
2169         * testsuite/22_locale/facet.cc:  Likewise.
2170         * testsuite/22_locale/global_templates.cc:  Likewise.
2171         * testsuite/22_locale/members.cc:  Likewise.
2172         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
2173         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
2174         * testsuite/22_locale/operators.cc:  Likewise.
2175         * testsuite/22_locale/static_members.cc:  Likewise.
2176         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
2177         * testsuite/23_containers/bitset_members.cc:  Likewise.
2178         * testsuite/23_containers/bitset_shift.cc:  Likewise.
2179         * testsuite/23_containers/vector_capacity.cc:  Likewise.
2180         * testsuite/23_containers/vector_ctor.cc:  Likewise.
2181         * testsuite/23_containers/vector_element_access.cc:  Likewise.
2182         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
2183         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
2184         * testsuite/24_iterators/iterator.cc:  Likewise.
2185         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
2186         * testsuite/25_algorithms/binary_search.cc:  Likewise.
2187         * testsuite/25_algorithms/copy.cc:  Likewise.
2188         * testsuite/25_algorithms/heap.cc:  Likewise.
2189         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
2190         * testsuite/25_algorithms/min_max.cc:  Likewise.
2191         * testsuite/25_algorithms/partition.cc:  Likewise.
2192         * testsuite/25_algorithms/rotate.cc:  Likewise.
2193         * testsuite/25_algorithms/sort.cc:  Likewise.
2194         * testsuite/26_numerics/c_math.cc:  Likewise.
2195         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
2196         * testsuite/26_numerics/complex_value.cc:  Likewise.
2197         * testsuite/27_io/filebuf.cc:  Likewise.
2198         * testsuite/27_io/filebuf_members.cc:  Likewise.
2199         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
2200         * testsuite/27_io/fpos.cc:  Likewise.
2201         * testsuite/27_io/fstream_members.cc:  Likewise.
2202         * testsuite/27_io/ifstream_members.cc:  Likewise.
2203         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
2204         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
2205         * testsuite/27_io/ios_base_storage.cc:  Likewise.
2206         * testsuite/27_io/ios_ctor.cc:  Likewise.
2207         * testsuite/27_io/ios_init.cc:  Likewise.
2208         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
2209         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
2210         * testsuite/27_io/ios_members.cc:  Likewise.
2211         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
2212         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
2213         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
2214         * testsuite/27_io/istream_manip.cc:  Likewise.
2215         * testsuite/27_io/istream_seeks.cc:  Likewise.
2216         * testsuite/27_io/istream_sentry.cc:  Likewise.
2217         * testsuite/27_io/istream_unformatted.cc:  Likewise.
2218         * testsuite/27_io/istringstream_members.cc:  Likewise.
2219         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
2220         * testsuite/27_io/ofstream_members.cc:  Likewise.
2221         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
2222         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
2223         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
2224         * testsuite/27_io/ostream_manip.cc:  Likewise.
2225         * testsuite/27_io/ostream_seeks.cc:  Likewise.
2226         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
2227         * testsuite/27_io/ostringstream_members.cc:  Likewise.
2228         * testsuite/27_io/streambuf.cc:  Likewise.
2229         * testsuite/27_io/stringbuf.cc:  Likewise.
2230         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
2231         * testsuite/27_io/stringstream.cc:  Likewise.
2232         * testsuite/27_io/stringstream_members.cc:  Likewise.
2233         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
2235 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
2237         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
2239 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
2241         * configure.target: Remove mips from cpu table.
2242         * config/cpu/mips/bits/atomicity.h: Remove generic
2243         versions. Comment sgidefs include.
2245 2001-07-25  H.J. Lu <hjl@gnu.org>
2247         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2248         for mips.
2250         * config/cpu/mips/bits/atomicity.h: New.
2252 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2254         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2255         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
2256         * aclocal.m4: Regenerate.
2257         * config.h.in: Likewise.
2258         * configure: Likewise.
2259         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2260         (EXTRA_DIST): Remove hypot.c hypotf.c.
2261         * libmath/Makefile.am: Regenerate.
2262         * libmath/hypotf.c: Remove.
2263         * libmath/hypot.c: Likewise.
2264         * libmath/hypotl.c: Likewise.
2265         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2266         _GLIBCPP_HAVE_xxx.  Add long double versions.
2268 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
2270         * include/bits/limits_generic.h (int): Set digits and digits10
2271         appropriately for word size.
2272         (unsigned int,long,unsigned long): Likewise.
2274 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2276         * include/bits/stl_algo.h : Fix typos.
2277         * testsuite/25_algorithms/unique.cc: New file.
2279 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
2280             Mark Mitchell <mark@codesourcery.com>
2282         Merge from cp-parser-branch.
2283         * include/bits/basic_string.h:  Qualify symbols with 'template'.
2284         * include/bits/basic_string.tcc:  Likewise.
2285         * include/bits/fstream.tcc:  Likewise.
2286         * include/bits/istream.tcc:  Likewise.
2287         * include/bits/sstream.tcc:  Likewise.
2288         * include/bits/std_istream.h:  Likewise.
2289         * include/bits/stl_iterator.h:  Likewise.
2290         * include/bits/streambuf.tcc:  Likewise.
2291         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
2292         * src/locale.cc:  Likewise.
2294 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2295             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2297         * src/gen-num-limits.cc (set_signals_handler): New function.
2298         Factor out signals setting.  Set signal handler for SIGILL.
2300 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
2302         * docs/html/27_io/howto.html:  Fix typo.
2303         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
2304         * docs/html/faq/index.txt:  Regenerated.
2306 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
2307             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
2309         libstdc++/3599
2310         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2311         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2313 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
2315         All occurrences of the __value_type() and __distance_type()
2316         functions, which were required to support the HP STL, have been
2317         removed along with all the auxiliary forwarding functions that
2318         were required to support their use.
2320         The __iterator_category() function was pretty much left alone
2321         because there was no benefit to removing it and its use made code
2322         just a little more readable.
2324         Incidences of distance() with nonstandard argument list were
2325         replaced by calls to the standard function (only in the files
2326         affected by the removal of the other HP functions).
2328         The signature of the rotate() algorithm was changed to match the
2329         standard.
2331         Headers were reformatted under C++STYLE guidelines (indentation,
2332         linebreaks, typename keyword).
2334         * include/bits/stl_algo.h: replaced __value_type() and
2335         __distance_type() with iterator_traits, eliminated auxiliary
2336         support functions required to support said function usage.
2337         Changed nonstandard distance() call to standard call.
2339         * include/bits/stl_algobase.h: Same.
2340         * include/bits/stl_heap.h: Same.
2341         * include/bits/stl_numeric.h: Same.
2342         * include/bits/stl_uninitialized.h: Same.
2343         * include/bits/stl_iterator_base_types.h (__value_type()):
2344         Removed.
2345         (__distance_type()): Removed.
2346         (value_type()): Gone.
2347         (distance_type()): Done in.
2348         (iterator_category()): Hasta la vista, baby.
2350         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2351         Replaced with __iterator_category().
2352         * include/backward/iterator.h: moved definition of value_type(),
2353         distance_type(), and iterator_category() out of std:: and into
2354         here.
2355         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2356         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2357         * testsuite/25_algorithms/rotate.cc: New testcase.
2358         * testsuite/25_algorithms/copy.cc: New testcase.
2359         * testsuite/25_algorithms/sort.cc: Same.
2360         * testsuite/25_algorithms/heap.cc: Same.
2361         * testsuite/25_algorithms/partition.cc: Same.
2362         * testsuite/25_algorithms/binary_search.cc: Same.
2363         * testsuite/26_numerics/sum_diff.cc: Ditto.
2365 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
2367         * testsuite/README: Add notes on naming test cases.
2368         * testsuite/22_locale/members.cc: Mark as xfail.
2369         * testsuite/22_locale/numpunct_char_members.cc: Same.
2371 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
2373         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
2374         setting C_INCLUDE_DIR.
2375         * configure.in:  Revert yesterday's LN_S change.
2376         * aclocal.m4:  Regenerate.
2377         * configure:  Regenerate.
2379 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
2381         * configure.in:  Temporarily force LN_S to copy instead of symlink.
2382         * configure:  Regenerate.
2384 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
2386         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2387         Initialize _M_string with pointer-and-size constructor, not just
2388         pointer.  Fix some comments.
2389         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
2390         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
2391         (test03):  Add embedded-NUL tests.
2393         * mkcheck.in:  When printing totals, match the order of the tests.
2394         * include/bits/stringfwd.h:  Use same declaration keywords.
2395         * include/bits/std_iosfwd.h:  Cosmetic spacing.
2397 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
2398             Loren J. Rittle  <ljrittle@acm.org>
2399             Phil Edwards  <pme@sources.redhat.com>
2401         * include/Makefile.am:  New file encapsulating header generation rules.
2402         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
2403         * acinclude.m4:  Moved/removed rules for building various headers.
2404         * configure.in (AC_OUTPUT):  Add include/Makefile.
2405         * mkc++config:  Removed.
2407         * testsuite_flags.in:  Changed build-includes to match new scheme.
2408         * mknumeric_limits:  Likewise.
2409         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
2410         * libmath/Makefile.am:  Likewise.
2411         * libsupc++/Makefile.am:  Likewise.
2412         * src/Makefile.am:  Likewise; removed rules to build headers.
2413         * libmath/mathconf.h:  Changed #include'd header names to match.
2414         * libmath/stubs.c:  Likewise.
2415         * src/gen-num-limits.cc:  Likewise.
2417         * configure:  Regenerated.
2418         * config.h.in:  Regenerated.
2419         * aclocal.m4:  Regenerated.
2420         * Makefile.in:  Regenerated.
2421         * include/Makefile.in:  Regenerated.
2422         * libio/Makefile.in:  Regenerated.
2423         * libmath/Makefile.in:  Regenerated.
2424         * libsupc++/Makefile.in:  Regenerated.
2425         * src/Makefile.in:  Regenerated.
2426         * testsuite/Makefile.in:  Regenerated.
2428 2001-07-11   Felix Natter  <fnatter@gmx.net>
2430         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
2431         master copy.
2432         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
2434 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
2436         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
2437         * docs/doxygen/user.cfg.in:  Tweaks.
2438         * include/bits/c++config:  Documentation comments for Doxygen.
2439         * include/bits/char_traits.h:  Likewise.
2440         * include/bits/limits_generic.h:  Likewise.
2441         * include/bits/std_stdexcept.h:  Likewise.
2442         * include/bits/stl_pair.h:  Likewise.
2443         * libsupc++/exception:  Likewise.
2444         * libsupc++/new:  Likewise.
2445         * libsupc++/typeinfo:  Likewise.
2446         * libmath/Makefile.am:  Update and correct copyright.
2448 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2450         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2451         * aclocal.m4: Regenerate.
2452         * configure: Same.
2454 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
2456         * docs/html/configopts.html:  Fix thinko.
2457         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
2458         * include/bits/stl_iterator.h:  Fix typo.
2460 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
2462         * docs/html/explanations.html:  New file.
2463         * docs/html/configopts.html:  Link to it to provide more notes
2464         on cstdio.  Minor markup and spacing fixes.
2465         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
2467 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
2469         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2470         for _Expr template template argument.
2471         (_Expr::operator-): Likewise.
2472         (_Expr::operator~): Likewise.
2473         (_Expr::operator!): Likewise.
2474         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2476 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2478         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2479         * libmath/Makefile.in: Regenerate.
2480         * libmath/expf.c: Remove.
2481         * libmath/atan2f.c: Likewise.
2483 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
2485         * configure.in: Remove NATIVE, NULL_TARGET.
2486         Set CANADIAN only for Canadian crosses.  Set xcompiling
2487         for both Canadian crosses and host-x-host crosses.
2488         * configure: Regenerated.
2490 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2492         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2494 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
2496         * testsuite_flags.in (--build-includes): backward, not backwards.
2498 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
2500         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2501         Replace destroy by _Destroy.
2502         (_Rope_RopeRep::_S_free_string): Likewise.
2503         (rope::c_str()): Likewise.
2504         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2505         (_Slist_base::_M_erase_after): Likewise.
2506         (slist::_M_create_node): Replace construct by _Construct.
2507         (slist::pop_front): Replace destroy by _Destroy.
2508         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2509         construct by _Construct.
2510         (hashtable::_M_delete_node): Replace destroy by _Destroy.
2511         * include/ext/stl_rope.h (rope::rope): Replace construct by
2512         _Construct.
2513         (rope::copy): Replace destroy by _Destroy.
2515 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
2517         * include/bits/localefwd.h: Format.
2518         * include/bits/locale_facts.tcc (locale::combine): Adjust.
2519         * src/locale.cc (locale::locale::(_Impl)): Don't call
2520         _M_add_reference.
2521         (locale::facet::_M_remove_reference): Simplify.
2522         * src/globals.cc (locale_impl_c): New. Format.
2523         (locale_c): New.
2524         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2526 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2528         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2529         expansion (thanks to Alexandre Oliva).
2530         * aclocal.m4: Regenerate.
2531         * configure: Regenerate.
2533 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
2535         * src/locale.cc (locale::locale(const char*)): Make sure global
2536         locales are initialized.
2537         * include/bits/locale_facets.tcc (locale::combine): Refcout should
2538         be zero, not one as it's return-by-value.
2539         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2540         named locales here.
2541         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2542         for it here.
2543         (test02): Add test.
2544         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2546 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2548         libstdc++/3284
2549         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2550         * aclocal.m4: Regenerate.
2551         * configure: Regenerate.
2553 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2555         libstdc++/3243
2556         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2557         staged/installed area to support -I-.  Document.
2558         * aclocal.m4: Regenerate.
2559         * configure: Regenerate.
2561 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2563         libstdc++/2211
2564         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2565         __out_bufsize.  Add __in_bufsize, document it and use it.
2567 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
2569         * include/bits/stl_construct.h (construct): Remove.
2570         (destroy): Remove.
2571         (__destroy): Replaced by use of iterator_traits.
2572         * include/bits/stl_deque.h: replaced HP iterator functions with
2573         iterator_traits.
2574         (construct): changed to _Construct.
2575         (destroy): changed to _Destroy.
2576         * include/bits/stl_tempbuf.h: Same.
2577         * include/bits/stl_tree.h: Same.
2578         * include/bits/stl_vector.h: Same.
2579         * include/backward/iterator.h (construct): moved definition to here.
2580         (destroy): Same.
2582 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
2584         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2585         before replacing facet.
2586         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2587         Correct decrement.
2588         * src/localename.cc (locale::_Impl): Correct ctor initialization
2589         lists. Initialize ref count with one. Simplify.
2590         * src/locale.cc: Add comment.
2591         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2592         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2593         * testsuite/22_locale/members.cc (test02): Fix.
2595 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
2597         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
2598         block, this time for real.
2599         * include/backward/algobase.h:  Likewise.
2600         * include/backward/alloc.h:  Likewise.
2601         * include/backward/bvector.h:  Likewise.
2602         * include/backward/defalloc.h:  Likewise.
2603         * include/backward/deque.h:  Likewise.
2604         * include/backward/function.h:  Likewise.
2605         * include/backward/hash_map.h:  Likewise.
2606         * include/backward/hash_set.h:  Likewise.
2607         * include/backward/hashtable.h:  Likewise.
2608         * include/backward/heap.h:  Likewise.
2609         * include/backward/iterator.h:  Likewise.
2610         * include/backward/list.h:  Likewise.
2611         * include/backward/map.h:  Likewise.
2612         * include/backward/multimap.h:  Likewise.
2613         * include/backward/multiset.h:  Likewise.
2614         * include/backward/pair.h:  Likewise.
2615         * include/backward/rope.h:  Likewise.
2616         * include/backward/set.h:  Likewise.
2617         * include/backward/slist.h:  Likewise.
2618         * include/backward/stack.h:  Likewise.
2619         * include/backward/strstream:  Likewise.
2620         * include/backward/tempbuf.h:  Likewise.
2621         * include/backward/tree.h:  Likewise.
2622         * include/backward/vector.h:  Likewise.
2623         * include/bits/pthread_allocimpl.h:  Likewise.
2624         * include/bits/std_algorithm.h:  Likewise.
2625         * include/bits/std_bitset.h:  Likewise.
2626         * include/bits/std_deque.h:  Likewise.
2627         * include/bits/std_functional.h:  Likewise.
2628         * include/bits/std_iterator.h:  Likewise.
2629         * include/bits/std_list.h:  Likewise.
2630         * include/bits/std_map.h:  Likewise.
2631         * include/bits/std_memory.h:  Likewise.
2632         * include/bits/std_numeric.h:  Likewise.
2633         * include/bits/std_queue.h:  Likewise.
2634         * include/bits/std_set.h:  Likewise.
2635         * include/bits/std_stack.h:  Likewise.
2636         * include/bits/std_utility.h:  Likewise.
2637         * include/bits/std_vector.h:  Likewise.
2638         * include/bits/stl_algo.h:  Likewise.
2639         * include/bits/stl_algobase.h:  Likewise.
2640         * include/bits/stl_alloc.h:  Likewise.
2641         * include/bits/stl_bvector.h:  Likewise.
2642         * include/bits/stl_construct.h:  Likewise.
2643         * include/bits/stl_deque.h:  Likewise.
2644         * include/bits/stl_function.h:  Likewise.
2645         * include/bits/stl_heap.h:  Likewise.
2646         * include/bits/stl_iterator.h:  Likewise.
2647         * include/bits/stl_iterator_base_funcs.h:  Likewise.
2648         * include/bits/stl_iterator_base_types.h:  Likewise.
2649         * include/bits/stl_list.h:  Likewise.
2650         * include/bits/stl_map.h:  Likewise.
2651         * include/bits/stl_multimap.h:  Likewise.
2652         * include/bits/stl_multiset.h:  Likewise.
2653         * include/bits/stl_numeric.h:  Likewise.
2654         * include/bits/stl_pair.h:  Likewise.
2655         * include/bits/stl_pthread_alloc.h:  Likewise.
2656         * include/bits/stl_queue.h:  Likewise.
2657         * include/bits/stl_raw_storage_iter.h:  Likewise.
2658         * include/bits/stl_relops.h:  Likewise.
2659         * include/bits/stl_set.h:  Likewise.
2660         * include/bits/stl_stack.h:  Likewise.
2661         * include/bits/stl_tempbuf.h:  Likewise.
2662         * include/bits/stl_threads.h:  Likewise.
2663         * include/bits/stl_tree.h:  Likewise.
2664         * include/bits/stl_uninitialized.h:  Likewise.
2665         * include/bits/stl_vector.h:  Likewise.
2666         * include/bits/type_traits.h:  Likewise.
2667         * include/ext/hash_map:  Likewise.
2668         * include/ext/hash_set:  Likewise.
2669         * include/ext/rope:  Likewise.
2670         * include/ext/ropeimpl.h:  Likewise.
2671         * include/ext/slist:  Likewise.
2672         * include/ext/stl_hash_fun.h:  Likewise.
2673         * include/ext/stl_hashtable.h:  Likewise.
2674         * include/ext/stl_rope.h:  Likewise.
2675         * src/bitset.cc:  Likewise.
2676         * src/strstream.cc:  Likewise.
2678 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2679                              <vakatov@ncbi.nlm.nih.gov>
2681         libstdc++/3272
2682         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2683         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2684         * testsuite/27_io/istream_extractor_other.cc: Fix.
2686 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
2688         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2689         * aclocal.m4: Regenerate.
2690         * configure: Regenerate.
2692 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2694         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2695         (ostream_iterator): Same.
2696         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2697         Change argument to const_reference.
2698         (back_insert_iterator): Same.
2700 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2702         * include/bits/sbuf_iter.h: Change to..
2703         * include/bits/streambuf_iterator.h: This.
2704         * include/bits/stl_iterator.h: Take out of here...
2705         * include/bits/stream_iterator.h: Add.
2706         * src/Makefile.am (base_headers): Add streambuf_iterator,
2707         stream_iterator.h
2708         * src/Makefile.in: Regenerate.
2709         * include/bits/std_string.h: Adjust includes.
2710         * include/bits/basic_ios.h: Same.
2711         * include/bits/locale_facets.tcc: Same.
2712         * include/bits/std_iosfwd.h: Same.
2714         * include/bits/std_iterator.h: Add istream, ostream includes.
2715         * include/bits/stl_iterator.h: Tweak.
2716         * testsuite/24_iterators/ostream_iterator.cc: Add test.
2717         * testsuite/24_iterators/istream_iterator.cc: Same.
2718         * testsuite/23_containers/multiset.cc: Add iterator include.
2720 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
2722         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
2723         * aclocal.m4:  Regenerate.
2724         * configure:  Regenerate.
2726 2001-06-26  Felix Natter  <f.natter@ndh.net>
2728         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
2730 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2732         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2733         return values.
2734         (istream_iterator::operator*): Same.
2736 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2737             Alexandre Petit-Bianco  <apbianco@redhat.com>
2739         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2740         is on 41st, not 14th.
2742 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2744         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2746         * include/bits/stl_iterator.h (istream_iterator): Inherit from
2747         iterator.
2748         (ostream_iterator): Same.
2749         * testsuite/24_iterators/istream_iterator.cc: New file.
2750         * testsuite/24_iterators/ostream_iterator.cc: New file.
2752         * include/bits/sbuf_iter.h: Remove self typedef.
2753         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2754         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2756         * include/bits/stl_iterator.h (reverse_iterator): Remove
2757         extraneous typedefs. Add typename.
2758         (__normal_iterator): Remove typedefs referring to self. Add typename.
2759         (reverse_bidiretional_iterator): Remove, not longer required.
2761 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2763         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2764         dependent names with `typename'.  Bring in various required
2765         iterator_traits members.  Can't imagine why that used to work.
2767 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
2768             Kurt Garloff <garloff@suse.de>
2770         PR libstdc++/3377
2771         * src/cmath.cc:  New [version of an old] file; instantiate
2772         __cmath_power to start with.
2773         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
2774         * Makefile.in:  Regenerate.
2775         * libio/Makefile.in:  Regenerate.
2776         * libmath/Makefile.in:  Regenerate.
2777         * libsupc++/Makefile.in:  Regenerate.
2778         * src/Makefile.in:  Regenerate.
2779         * testsuite/Makefile.in:  Regenerate.
2781 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2783         * libmath/stubs.c: Fix thinko.
2785 2001-06-24  David Edelsohn <dje@watson.ibm.com>
2787         * libmath/stubs.c (sqrtf): Define.
2788         (tanf): Correct typo.
2790 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
2792         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2793         iterator.
2794         (back_insert_iterator): Same.
2795         (front_insert_iterator): Same.
2796         (insert_iterator): Same.
2798         * testsuite/20_util/raw_storage_iterator.cc: Modify.
2799         * testsuite/24_iterators/reverse_iterator.cc: New file.
2800         * testsuite/24_iterators/back_insert_iterator.cc: New file.
2801         * testsuite/24_iterators/front_insert_iterator.cc: New file.
2802         * testsuite/24_iterators/insert_iterator.cc: New file.
2804 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
2806         * include/*:  Revert comment/license change from yesterday for all
2807         except libsupc++/unwind-cxx.h.
2808         * src/bitset.cc:  Likewise.
2809         * src/strstream.cc:  Likewise.
2811 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2813         * libmath/stubs.c: New file.
2814         (tanhf): Fix typo.
2815         (powf): Likewise.
2817         * libmath/Makefile.am (libmath_la_SOURCES): Add.
2818         * libmath/Makefile.in.  Regenerate.
2820 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
2822         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
2823         * include/backward/algobase.h:  Likewise.
2824         * include/backward/alloc.h:  Likewise.
2825         * include/backward/bvector.h:  Likewise.
2826         * include/backward/defalloc.h:  Likewise.
2827         * include/backward/deque.h:  Likewise.
2828         * include/backward/function.h:  Likewise.
2829         * include/backward/hash_map.h:  Likewise.
2830         * include/backward/hash_set.h:  Likewise.
2831         * include/backward/hashtable.h:  Likewise.
2832         * include/backward/heap.h:  Likewise.
2833         * include/backward/iterator.h:  Likewise.
2834         * include/backward/list.h:  Likewise.
2835         * include/backward/map.h:  Likewise.
2836         * include/backward/multimap.h:  Likewise.
2837         * include/backward/multiset.h:  Likewise.
2838         * include/backward/pair.h:  Likewise.
2839         * include/backward/rope.h:  Likewise.
2840         * include/backward/set.h:  Likewise.
2841         * include/backward/slist.h:  Likewise.
2842         * include/backward/stack.h:  Likewise.
2843         * include/backward/strstream:  Likewise.
2844         * include/backward/tempbuf.h:  Likewise.
2845         * include/backward/tree.h:  Likewise.
2846         * include/backward/vector.h:  Likewise.
2847         * include/bits/pthread_allocimpl.h:  Likewise.
2848         * include/bits/std_algorithm.h:  Likewise.
2849         * include/bits/std_bitset.h:  Likewise.
2850         * include/bits/std_deque.h:  Likewise.
2851         * include/bits/std_functional.h:  Likewise.
2852         * include/bits/std_iterator.h:  Likewise.
2853         * include/bits/std_list.h:  Likewise.
2854         * include/bits/std_map.h:  Likewise.
2855         * include/bits/std_memory.h:  Likewise.
2856         * include/bits/std_numeric.h:  Likewise.
2857         * include/bits/std_queue.h:  Likewise.
2858         * include/bits/std_set.h:  Likewise.
2859         * include/bits/std_stack.h:  Likewise.
2860         * include/bits/std_utility.h:  Likewise.
2861         * include/bits/std_vector.h:  Likewise.
2862         * include/bits/stl_algo.h:  Likewise.
2863         * include/bits/stl_algobase.h:  Likewise.
2864         * include/bits/stl_alloc.h:  Likewise.
2865         * include/bits/stl_bvector.h:  Likewise.
2866         * include/bits/stl_construct.h:  Likewise.
2867         * include/bits/stl_deque.h:  Likewise.
2868         * include/bits/stl_function.h:  Likewise.
2869         * include/bits/stl_heap.h:  Likewise.
2870         * include/bits/stl_iterator.h:  Likewise.
2871         * include/bits/stl_iterator_base_funcs.h:  Likewise.
2872         * include/bits/stl_iterator_base_types.h:  Likewise.
2873         * include/bits/stl_list.h:  Likewise.
2874         * include/bits/stl_map.h:  Likewise.
2875         * include/bits/stl_multimap.h:  Likewise.
2876         * include/bits/stl_multiset.h:  Likewise.
2877         * include/bits/stl_numeric.h:  Likewise.
2878         * include/bits/stl_pair.h:  Likewise.
2879         * include/bits/stl_pthread_alloc.h:  Likewise.
2880         * include/bits/stl_queue.h:  Likewise.
2881         * include/bits/stl_raw_storage_iter.h:  Likewise.
2882         * include/bits/stl_relops.h:  Likewise.
2883         * include/bits/stl_set.h:  Likewise.
2884         * include/bits/stl_stack.h:  Likewise.
2885         * include/bits/stl_tempbuf.h:  Likewise.
2886         * include/bits/stl_threads.h:  Likewise.
2887         * include/bits/stl_tree.h:  Likewise.
2888         * include/bits/stl_uninitialized.h:  Likewise.
2889         * include/bits/stl_vector.h:  Likewise.
2890         * include/bits/type_traits.h:  Likewise.
2891         * include/ext/hash_map:  Likewise.
2892         * include/ext/hash_set:  Likewise.
2893         * include/ext/rope:  Likewise.
2894         * include/ext/ropeimpl.h:  Likewise.
2895         * include/ext/slist:  Likewise.
2896         * include/ext/stl_hash_fun.h:  Likewise.
2897         * include/ext/stl_hashtable.h:  Likewise.
2898         * include/ext/stl_rope.h:  Likewise.
2899         * libsupc++/unwind-cxx.h:  Likewise.
2900         * src/bitset.cc:  Likewise.
2901         * src/strstream.cc:  Likewise.
2903 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2905         * include/bits/indirect_array.h (indirect_array<>::operator=):
2906         Make copy and assignment operator public.  Implement.  Format.
2908         * include/bits/valarray_array.h (__valarray_copy): Add overloads
2909         for copy between index arrays.  Format.
2911 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
2913         * mknumeric_limits: Add static definitions, format.
2914         * testsuite/18_support/numeric_limits.cc (test02): Add test.
2916         * include/c_std/bits/std_cwchar.h: Include ctime.
2917         * testsuite/17_intro/header_cwchar.cc : Check.
2919         * include/c_std/bits/std_cwctype.h: Inject wctype.
2920         * testsuite/17_intro/header_cwctype.cc: Update.
2922 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
2924         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2925         * testsuite/20_util/raw_storage_iterator.cc: Same.
2927         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2928         operator new.
2929         (__mem_interface): New typedef for switching between malloc and new.
2930         * testsuite/20_util/allocator_members.cc: New file.
2932         * testsuite/20_util/comparisons.cc: New file.
2933         * testsuite/20_util/pairs.cc: New file.
2935 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
2937         * docs/html/documentation.html:  Point to new doxygen'ed collection.
2939 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
2941         * configure.in (auxdir): Replace by ...
2942         (toprel): ... new variable.
2943         (toplevel_srcdir): Construct from $toprel.
2944         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2945         rather than .. to locate gcc source directory.
2946         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2947         * aclocal.m4, configure: Rebuilt.
2949 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2951         (Approved by Mark and Benjamin.  Applied by Loren.)
2953         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2954         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2955         and _GLIBCPP_mutex_address.
2956         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2957         once-only runtime initialization of _M_lock mutex when
2958         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2959         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2960         for __GTHREAD_MUTEX_INIT_FUNCTION case.
2962 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2964         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2966         * include/bits/slice_array.h (slice_array<>::operator=): Make
2967         public and implement.
2968         (slice_array<>::slice_array): Make copy-constructor public.
2970         * include/bits/valarray_array.h (__valarray_copy): Add another
2971         overload to copy between strided arrays.
2973 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
2975         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2976         * aclocal.m4: Regenerate.
2977         * configure: Regenerate.
2978         * include/bits/c++config (__GLIBCPP__): Update date.
2980 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
2982         * include/bits/fpos.h (fpos::operator-): Don't return reference,
2983         return original, non-modified version.
2984         (fpos::operator+): Same.
2985         * testsuite/27_io/fpos.cc: Add test.
2987 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
2989         libstdc++/2071
2990         * porting.texi: Add documentation about libstdc++-v3-specific
2991         macros that are currently included in os_defines.h files.
2993         * config/basic_file_stdio.h (sys_getc): New method.
2994         (sys_ungetc): New method.
2995         * include/bits/basic_file.h: (sys_getc): New method signature.
2996         (sys_ungetc): New method signature.
2998         * include/bits/fstream.tcc (underflow): Add conditional code
2999         paths which avoid using short seeks on streams (especially
3000         useful when the stream might be interactive or a pipe).  At
3001         the moment, this alternate path only avoids seeking when the
3002         ``buffer size'' of underflow() is 1 since the C standard only
3003         guarantees buffer space for one ungetc (this technique could
3004         be extended since *-*-solaris* supports buffering for 4 calls
3005         to ungetc and *-*-*bsd* supports buffering limited only by
3006         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
3007         in a port's os_defines.h file for this alternate path to even
3008         be considered.  As a bonus, the idiom of using getc/ungetc
3009         requires no system calls whereas fseek maps to one or two
3010         system call(s) on many platforms.
3012         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3013         Define it.
3014         * config/os/solaris/solaris2.5/bits/os_defines.h
3015         (_GLIBCPP_AVOID_FSEEK): Likewise.
3016         * config/os/solaris/solaris2.6/bits/os_defines.h
3017         (_GLIBCPP_AVOID_FSEEK): Likewise.
3018         * config/os/solaris/solaris2.7/bits/os_defines.h
3019         (_GLIBCPP_AVOID_FSEEK): Likewise.
3021 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3023         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3024         AC_TRY_COMPILE, so that the built compiler is checked, and
3025         bootstraps or cross compiles with an older compile still work.
3026         * aclocal.m4: Regenerate.
3027         * configure: Regenerate.
3029 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3031         libstdc++/3142
3032         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3034         libstdc++/3141
3035         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3037         libstdc++/3140
3038         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3040         libstdc++/3139
3041         * include/bits/limits_generic.h: Fix as per DR 184.
3043 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3045         libstdc++/3126
3046         * include/bits/basic_string.h (string::compare): Adjust signatures
3047         as per DR 5.
3048         * include/bits/basic_string.tcc: And here.
3050         libstdc++/2346
3051         * config/c_io_stdio.h: Remove whitespace.
3052         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3053         (test02): Add regression.
3054         * testsuite/27_io/istream_seeks-3.tst: New file.
3056 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
3058         * README:  Update to reflect reality.
3059         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
3060         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
3061         * aclocal.m4:  Regenerate.
3062         * configure:  Regenerate (with 2.13).
3064 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3066         libstdc++/3114
3067         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3068         per DR 129.
3069         * include/bits/istream.tcc (istream::seekg): Same.
3070         * testsuite/27_io/istream_seeks.cc: Fix.
3072         libstdc++/3113
3073         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3074         (binder1st): Same.
3075         * include/bits/std_queue.h: Add c++config.h.
3076         * testsuite/20_util/binders.cc: New test.
3078 2001-06-11  Matthias Klose  <doko@debian.org>
3079             Phil Edwards  <pme@sources.redhat.com>
3081         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
3082         (main script):  Echo more information.
3084 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3086         * include/c_std/bits/std_cwchar.h: Alphabetize.
3087         * include/bits/char_traits.h: Tweak.
3088         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3089         everything used by std_cwchar.h.
3090         * aclocal.m4: Regenerate.
3091         * configure.in: Regenerate.
3092         * config.h.in: Regenerate.
3094 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3096         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3097         Add checking for strtof, _Exit in stdlib.h
3098         * aclocal.m4: Regenerate.
3099         * configure.in: Regenerate.
3100         * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3101         (snprintf): Put C99 functions into __gnu_cxx namespace.
3102         (vfscanf): Same.
3103         (vscanf): Same.
3104         (vsnprintf): Same.
3105         (vsscanf): Same.
3106         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3107         for C99 functions within _GLIBCPP_USE_C99 guard.
3108         (_Exit): Same.
3109         (strtof): Same.
3110         (strtold): Same.
3111         * include/bits/locale_facets.tcc: Check if C99 is enabled.
3112         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3113         C99 guard.
3114         * include/c_std/bits/cmath.tcc: Formatting tweak.
3115         * include/c_std/bits/std_cmath.h: Same.
3117 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3119         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3121 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
3122             Stephen L Moshier  <moshier@mediaone.net>
3124         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3125         nothing, as in autoconf 2.50.
3126         * configure: Rebuilt.
3128 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3130         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3131         include std_cstddef.
3132         * include/c_std/bits/std_ctime.h: Same.
3133         * include/c_std/bits/std_cstring.h: Same.
3134         * include/c_std/bits/std_cstdlib.h: Same.
3136         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3137         * include/c_std/bits/std_cctype.h: Remove isblank.
3139 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3141         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3142         fgetws.
3143         * aclocal.m4: Regenerate.
3144         * configure: Regenerate.
3145         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3146         injection, guard fgetwc, fgetws.
3147         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3148         * include/c_std/bits/std_clocale.h: And here.
3149         * include/c_std/bits/std_cctype.h: And here.
3150         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3152         * config/basic_file_stdio.h: Don't include unistd.h.
3153         * config/c_io_stdio.h: Don't use compatibility headers.
3154         * libsupc++/eh_terminate.cc: Qualify abort.
3155         (__terminate): And here.
3156         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3158 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3160         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3162 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3164         libstdc++/2767
3165         libstdc++/2989
3166         libstdc++/2992
3167         * include/std/*: Add copyright notice.
3168         * include/c_std/bits/*: Use using statements instead of extern "C".
3169         * include/c_std/bits/std_cmath.h: Don't overload double versions
3170         of math functions with __buitin versions, use global version to
3171         prevent ambiguities. Remove define hacks.
3172         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3173         functions that have changed signatures and std::
3174         declarations. Remove define hacks.
3175         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3176         __builtins in std::. Remove define hacks.
3177         * testsuite/17_intro/headers_c.cc: Add tests.
3178         * testsuite/17_intro/headers_c++.cc: Add test.
3180 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3181             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3183         c++/3082
3184         * libsupc++/eh_alloc.cc: Ensure that required macros are
3185         defined before including gthr.h.  Ensure that we get the
3186         version of gthr.h for which we know how to provide a
3187         configuration.
3188         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
3189         code path into line with the current EH model.  Use std, where
3190         appropriate.
3192 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3193             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3195         * config/threads-no.h: Remove file.
3196         * config/threads-posix.h: Remove file.
3198         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3199         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3200         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3201         * config.h.in: Regenerate.
3203         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3204         setup and use gthr*.h files.  In particular, make gthr.h files
3205         namespace-clean in the staging area (they don't have to be for
3206         libgcc.a).
3207         * aclocal.m4: Regenerate.
3208         * configure: Regenerate.
3210         * src/Makefile.am (build_headers): Remove bits/c++threads.h
3211         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3212         * src/Makefile.in: Regenerate.
3214         * include/bits/c++config: Cleanup threading configuration macros.
3215         In particular, define __STL_GTHREADS macro which controls...
3216         * include/bits/stl_threads.h: ...a brand new gthr.h-based
3217         configuration here.
3219         * config/c_io_stdio.h: Include staged gthr.h instead of local
3220         thread configuration file.  Always use __gthread_mutex_t
3221         instead of __mutext_type (or int).
3222         * include/bits/std_fstream.h: Likewise.
3224         * docs/html/17_intro/howto.html: Remove placeholder comment in
3225         case this configuration patch didn't make it.  Add advice that
3226         section only applies if configured with --enable-threads.
3227         * docs/html/23_containers/howto.html: Reword to make clear
3228         that _PTHREADS is no longer required for any port to be
3229         correctly using STL with threads.  Add advice that section
3230         only applies if configured with --enable-threads.
3232 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
3234         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3236 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
3238         libstdc++/3045
3239         * include/bits/basic_ios.tcc: Formatting tweaks.
3240         * include/bits/ios_base.h: Formatting tweaks.
3241         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3242         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3243         * src/globals.cc: Allocate filebufs for standard streams here.
3244         (buf_cout, buf_cin, buf_cerr): Like so.
3245         (buf_wcout, buf_wcin, buf_wcerr): And so.
3246         * testsuite/27_io/ios_init.cc: Add.
3248 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3249             Benjamin Kosnik  <bkoz@redhat.com>
3251         libstdc++/3017
3252         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3253         for generic ctype virtuals.
3254         * src/locale.cc: Minor tweaks, naming consistency.
3255         * testsuite/22_locale/ctype.cc: Add test.
3257 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
3258             Phil Edwards  <pme@sources.redhat.com>
3260         PR libstdc++/3035 and PR libstdc++/3036
3261         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
3262         to LWG DR 181 and 265.
3264 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
3266         PR libstdc++/3034
3267         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3268         equal_range):  Add const overloads as per LWG DR 214.
3269         * include/bits/stl_set.h:  Likewise.
3271 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3272             Phil Edwards  <pme@sources.redhat.com>
3274         PR libstdc++/3018
3275         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
3276         comparison; all positions must be < _Nb.
3277         * testsuite/23_containers/bitset_members.cc:  New file.
3279 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3281         PR libstdc++/3016
3282         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
3283         ctors to match the standard.
3285 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
3287         * include/bits/char_traits.h (move): Reverse qualification of
3288         memmove with std::.
3289         (copy): Reverse qualification of memcpy with std::.
3291 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
3293         * include/bits/char_traits.h (move): Qualify memmove with std::.
3294         (copy): Qualify memcpy with std::.
3295         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3296         strncmp with std::.
3297         (test02): Likewise.
3298         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3300 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
3302         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3303         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3304         SUN make VPATH peculiarities.
3305         * libsupc++/Makefile.in: Regenerate.
3307 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
3309         * src/Makefile.am (VPATH): Delimit with ":", not space.
3310         * src/Makefile.in: Regenerate.
3312         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3313         make isn't found.
3314         * configure: Regenerate.
3316 2001-05-31  scott snyder  <snyder@fnal.gov>
3318         libstdc++/2976
3319         * include/bits/istream.tcc: Include std_ostream.h.
3321 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
3323         libstdc++/2997
3324         * src/bitset.cc: Qualify size_t with std::.
3326 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
3328         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3329         (_GLIBCPP_BUGGY_COMPLEX): Remove.
3330         * config.h.in: Regenerate.
3331         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3332         * aclocal.m4: Regenerate.
3333         * configure.in: Don't call it.
3334         * configure: Regenerate.
3336         libstdc++/2970
3337         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3338         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3339         New test.
3341         libstdc++/2985
3342         * include/bits/std_complex.h: Include sstream. Put definitions for
3343         complex inserters and extractors here, and remove them from...
3344         * src/complex_io.cc: ...here.
3345         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3346         parameter.
3347         (basic_ios::__numget_type): Same.
3348         * include/bits/std_istream.h: Same.
3349         * include/bits/std_ostream.h: Same.
3350         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3351         class iterator template arguments.
3352         * src/locale-inst.cc: Add explicit has_facet instantiations.
3353         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3354         (_M_get_fnumput): Remove.
3355         (_M_get_fnumget): Remove.
3356         (basic_ios::_M_check_facet): New function.
3357         (basic_ios::_M_cache_facets): New function.
3358         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3359         (basic_ios::imbue): Call _M_cache_facets.
3360         (basic_ios::init): Same.
3361         * include/bits/istream.tcc: Format, use _M_check_facet.
3362         * include/bits/ostream.tcc: Same.
3363         * include/bits/locale_facets.tcc (__output_float): Change
3364         signature, add _Traits.
3365         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3366         New test.
3368 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
3370         * include/bits/c++config (__USE_MALLOC): Do not define it.
3371         Document why not and give pointers to more information.
3373         * docs/html/23_containers/howto.html: Update documentation
3374         to reflect recent understanding of problem.
3375         * docs/html/17_intro/howto.html: Likewise.
3377 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
3379         * docs/doxygen/user.cfg.in:  Minor addition.
3380         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
3381         stuff first.
3382         * docs/html/install.html:  Update for 3.0.  HTML fixups.
3383         * docs/html/17_intro/howto.html:  Likewise.
3384         * docs/html/18_support/howto.html:  Likewise.
3385         * docs/html/19_diagnostics/howto.html:  Likewise.
3386         * docs/html/20_util/howto.html:  Likewise.
3387         * docs/html/23_containers/howto.html:  Likewise.
3388         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
3389         * docs/html/25_algorithms/howto.html:  Likewise.
3390         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
3391         * docs/html/27_io/howto.html:  Likewise.
3392         * docs/html/ext/howto.html:  Likewise.
3393         * docs/html/faq/index.html:  Likewise.
3394         * docs/html/faq/index.txt:  Regenerate.
3395         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
3396         Doxygen-created documentation.
3398 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3400         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3401         get_multilibs to find gcc.
3403 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
3405         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
3406         * aclocal.m4:  Regenerate.
3407         * configure:  Regenerate.
3409 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3411         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3412         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3414 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3416         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3417         * include/c_std/bits/std_cstdlib.h: Same.
3418         * include/c_std/bits/std_cwchar.h: Same.
3420 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
3422         * docs/html/17_intro/howto.html: Update link.
3423         * docs/html/23_containers/howto.html: Likewise.  Add new link.
3425 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
3427         * include/c_std/bits/std_cmath.h (sqrt): #undef.
3429 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3431         * mknumeric_limits: Stop if gen-num-limits dies.
3433 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
3435         other/2931
3436         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3437         * aclocal.m4: Regenerate.
3438         * configure: Same.
3440 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3441             Phil Edwards  <pme@sources.redhat.com>
3442             Alexandre Oliva  <aoliva@redhat.com>
3444         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3445         in an amd-safe manner. Revert glibcpp_prefixdir.
3447 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
3449         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
3450         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
3451         variants.
3453 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3455         libstdc++/2830
3456         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3457         * include/bits/ostream.tcc: Format to match istream.tcc.
3458         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3460 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
3462         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
3463         malloc with std:: .
3464         (__cxa_free_exception):  Likewise with free.
3466 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
3468         * include/c_std/bin/std_cstring.h: #define away all global
3469         functions we will redeclare in namespace `std'.
3470         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3471         std::memset, instead of memset.
3472         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3473         not plain `strcmp'.
3474         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3475         plain `strcpy'.
3477 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3479         libstdc++/2832
3480         * include/bits/basic_ios.tcc: Small tweak.
3481         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3482         ctors and dtors, and rdbuf settings.
3483         (ofstream): Same.
3484         (fstream): Same.
3485         * include/bits/std_sstream.h: Same, but for stringstream classes.
3486         * testsuite/27_io/ostringstream_members.cc: New.
3487         * testsuite/27_io/stringstream_members.cc: New.
3488         * testsuite/27_io/fstream_members.cc: New.
3489         * testsuite/27_io/ifstream_members.cc: Add test.
3490         * testsuite/27_io/istringstream_members.cc: Add test.
3491         * testsuite/27_io/ofstream_members.cc: Add test.
3493 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3495         * include/bits/c++config(__NO_MATH_INLINES): Move to...
3496         * config/os/gnu-linux/bits/os_defines.h: ...here.
3498 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
3500         * include/bits/c++config (__NO_MATH_INLINES): New macro.
3501         * testsuite/26_numerics/fabs_inline.cc (main): New test.
3503 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
3505         libstdc++/2841
3506         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3507         ld_library_path.
3508         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3509         (libstdc++-v3-finish): Remove.
3510         (libstdc++-v3_exit): Remove.
3512 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
3514         * docs/html/documentation.html:  Point to doxygen output.
3516 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
3518         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3520         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3521         arguments to be non-null.
3522         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3523         try allocations if allocated size is greater than zero.
3524         (filebuf::_M_filebuf_init): Change to
3525         (filebuf::_M_allocate_file): Which is what it does now.
3526         (filebuf::_M_allocate_bufers): Change to
3527         (filebuf::_M_allocate_internal_buffer): This, and create
3528         (filebuf::_M_allocate_pback_buffer): New.
3529         (filebuf::_M_destroy_internal_buffer): New.
3530         (filebuf::_M_buf_allocated): New data member.
3531         (filebuf::setbuf): Use new logic, allow use of external buffer.
3532         * testsuite/27_io/stringbuf_virtuals.cc: New file.
3533         * testsuite/27_io/filebuf_virtuals.cc: New file.
3535 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
3537         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3538         __glibcpp_memchr.
3539         (strchr): Same, but to __glibcpp_strchr.
3540         (strpbrk): Same.
3541         (strrchr): Same.
3542         (strstr): Same.
3543         * include/c_std/bits/std_cwchar.h (wcschr): Same.
3544         (wcsbrk): Same.
3545         (wcsrchr): Same.
3546         (wcsstr): Same.
3547         (wmemchr): Same.
3549 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
3551         * testsuite/21_strings/c_strings.cc (main): Fix.
3553 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
3555         * acinclude.m4:  Fix --help spacing, correct comments.
3556         * aclocal.m4:  Regenerate.
3557         * configure:  Regenerate.
3558         * mkcheck.in:  Add usage comments.
3559         * docs/html/documentation.html:  Point to doxygen'd tarball.
3561 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
3563         * testsuite/README: Add notes.
3565         * src/Makefile.am (libstdc++.INC): Remove.
3566         * src/Makefile.in: Regenerate.
3568         Phil Edwards <pedwards@disaster.jaj.com>
3569         * mkcheck.in: Add missing '#'.
3571 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3573         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3574         appropriately for remote testing and testing installed files without
3575         a build dir.
3577 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
3579         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3580         amd glibcpp_prefixdir with absolute paths.
3582         * include/bits/c++config (__GLIBCPP__): Bump.
3583         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3585 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
3587         * include/bits/std_valarray.h (valarray<>::operator[] const):
3588         Return a const reference.
3589         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3591 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
3593         * configure.target (ATOMICITYH): Actually use AIX-specific code on
3594         earlier versions of AIX 4.*.
3596 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3598         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
3599         output_file based on the name of the testcase.
3601 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3603         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
3604         gluefile and use it if needs_status_wrapper is set.
3606 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
3608         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3609         versions of AIX.
3611 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
3613         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3614         on earlier versions of AIX.
3616 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
3618         * testsuite_flags.in (query): Add backwards, ext directories.
3620 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
3622         * porting.texi: Correct documentation about handling
3623         _LARRGEFILE_SOURCE and its ilk.
3624         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3625         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3626         __EXTENSIONS__.
3627         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3628         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3630 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
3632         * testsuite/21_strings/inserters_extractors.cc,
3633         testsuite/27_io/istream_unformatted.cc,
3634         testsuite/27_io/stringstream.cc:
3635         Replace multi-line string constants with C89-style
3636         concatenated string constants.
3638 2001-05-14  Richard Henderson  <rth@redhat.com>
3640         * mknumeric_limits: Build with -fno-exceptions.
3642 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
3644         Switch over to new harness.
3645         * testsuite_flags.in: Tweaks via Gaby.
3646         * testsuite/Makefile.am: Change tool to libstdc++-v3.
3647         (EXPECT): Quote directly.
3648         (RUNTEST): Same.
3649         * configure.in: Output testsuite_flags.
3650         * acinclude.m4: Substitute src, bld, and prefix dirs.
3651         Remove glibcpp_expect, glibcpp_runtestflags.
3652         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3653         * mkcheck.in: Port to new interface.
3655         * aclocal.m4: Regerate.
3656         * configure: Regnerate.
3657         * Makefile.in: Regnerate.
3658         * */Makefile.in: Regenerate.
3660         * tests_flags.in: Remove.
3661         * testsuite/lib/libstdc++.exp: Remove.
3662         * testsuite/libstdc++.tests/tests.exp: Remove.
3664 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
3666         * configure.target: Remove detection of AIX pthread multilib, now
3667         obtained from `gcc -v'.
3669 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3671         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3672         size.  Add hpux case for HP size.
3674 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
3676         * testsuite_flags.in: New, simplified interface.
3677         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3678         * testsuite/libstdc++-v3.dg: Add.
3679         * testsuite/libstdc++-v3.dg/dg.exp: Add.
3681 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
3683         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3684         * testsuite/config/default.exp: Update bugs email address.
3686 2001-05-11  Richard Henderson  <rth@redhat.com>
3688         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
3689         all pointer encoding logic.
3690         (struct lsda_header_info): Add ttype_base.
3691         (get_ttype_entry): Use it instead of a context.
3692         (check_exception_spec): Likewise.
3693         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
3694         the c++ exception header for __cxa_call_unexpected.
3695         (__cxa_call_unexpected): Use it.
3697 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
3699         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3700         libgloss_link_flags to find crt0.o for targets that use libgloss
3701         instead of newlib.
3702         Change LDFLAGS to LIBS.
3703         Consistently name procedures libstdc++-XXX.
3704         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3706 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
3708         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3709         (strchr): Same.
3710         (strpbrk): Same.
3711         (strrchr): Same.
3712         (strstr): Same.
3713         * include/c_std/bits/std_cwchar.h (wcschr): Same.
3714         (wcsbrk): Same.
3715         (wcsrchr): Same.
3716         (wcsstr): Same.
3717         (wmemchr): Same.
3718         * testsuite/21_strings/c_strings.cc: Add tests.
3720 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
3722         libstdc++/2523
3723         * include/bits/std_fstream.h (basic_filebuf): Change signature.
3724         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3725         to int_type, pass in buffer size info.
3726         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3727         unbuffered situation.
3728         (underflow): Remove codecvt bits for the time being.
3729         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3730         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3731         values from iterators, clean.
3732         * src/locale.cc: Ditto.
3733         * include/bits/sbuf_iter.h: Format.
3734         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3735         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3736         * testsuite/27_io/filebuf.cc: Tweaks.
3737         * testsuite/27_io/filebuf_members.cc: Tweaks.
3739 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
3741         * config/os/solaris/solaris2.7/bits/os_defines.h
3742         (_LARGEFILE_SOURCE): Define it.
3744 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
3746         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3747         -prefer-non-pic depending on whether libtool has shared libraries
3748         enabled or disabled.
3749         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3750         $(LIBSUPCXX_PICFLAGS).
3751         * configure, */Makefile.in: Rebuilt.
3753 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
3755         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3756         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3758         * include/bits/std_sstream.h (stringbuf): Leak
3759         copied string.
3760         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3762 2001-05-01  Tom Browder  <tbrowder@home.com>
3764         * docs/html/ext/howto.html:  Fix typo.
3766 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
3768         * testsuite/libstdc++.tests/tests.exp: Add comment.
3770 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
3772         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3774 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3776         * porting.texi: Use the GFDL.
3778 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
3780         libstdc++/2627
3781         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3782         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3783         specializations.
3785 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
3787         libstdc++/2964
3788         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3790 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
3792         * docs/doxygen/run_doxygen:  Minor tweaks.
3793         * docs/doxygen/style.css:  New file.
3794         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
3795         latest parameters available.  Use style.css.
3797 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
3799         * docs/doxygen/mainpage.doxy: New.
3800         * docs/doxygen/user.cfg.in: Change default configuration. Single
3801         frame, other tweaks.
3803 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
3805         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3806         Indicate obsolete nature of thelist for G++ 3.0.
3808 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
3810         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3811         target_thread_file with `gcc -v'.
3812         * aclocal.m4, configure: Rebuilt.
3814 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
3816         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3817         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3818         * include/c_std/bits/std_cwchar.h (std): Same.
3819         * acconfig.h (std): Remove c99 injection into std.
3820         * config.h.in: Regenerate.
3822         * testsuite/README: Fix typo.
3824         * include/bits/codecvt.h: Remove warnings.
3826 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3828         * include/ext/slist: Include required header files.
3830 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
3832         * include/c_std/bits/std_cerrno.h (errno): Define macro from
3833         identifier declared with external linkage, if needed.
3834         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3835         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3837 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
3839         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3840         re-configures find the build compiler.
3841         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3842         libstdc++/2609.
3843         * aclocal.m4: Regenerate.
3844         * configure: Regenerate.
3846 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
3848         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3849         support is enabled correctly before long long is activated.
3850         * aclocal.m4: Regenerate.
3851         * configure: Regenerate.
3853         * include/backward/backward_warning.h: Format correctly.
3855         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3856         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3857         * testsuite/26_numerics/c99_macros.cc: Remove.
3859 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
3861         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
3862         __iterator_category.
3864 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
3866         * acconfig.h (_GLIBCPP_USE_C99): Add.
3867         * config.h.in: Regenerate.
3868         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3869         9899: 1999 support.
3870         * aclocal.m4: Regenerate.
3871         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3872         * configure: Regenerate.
3873         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3874         * configure: Regenerate.
3875         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3876         into c99.
3877         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3878         namespace.
3879         * include/c_std/bits/std_cstdlib.h: Same.
3880         * docs/html/configopts.html: Update.
3881         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3882         math.h
3883         (test_c99_classify): Add.
3884         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3885         (_ISOC99_SOURCE): Remove.
3887         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3888         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3889         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3890         * aclocal.m4: Regenerate.
3891         * configure: Regenerate.
3893 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
3895         * Makefile.am (doxygen):  Assume script is missing execute perms.
3896         * Makefile.in:  Regenerated.
3897         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
3899 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
3901         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3903 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
3905         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3906         * testsuite/23_containers/set_operators.cc: Same.
3908         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3909         default.
3910         (__GLIBCPP__): Bump from value of last release.
3911         * include/bits/concept_check.h: Default to off, edit comments.
3912         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3913         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
3914         * src/Makefile.in: Regenerate.
3916 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
3918         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3919         Properly uglify member.
3921 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
3923         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
3924         of EqualityCo
3925         mparableConcept.
3927 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
3929         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
3930         * include/bits/concept_check.h:  Uglify.
3931         * include/bits/stl_algo.h:  Likewise.
3932         * include/bits/stl_algobase.h:  Likewise.
3933         * include/bits/stl_deque.h:  Likewise.
3934         * include/bits/stl_heap.h:  Likewise.
3935         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3936         * include/bits/stl_list.h:  Likewise.
3937         * include/bits/stl_map.h:  Likewise.
3938         * include/bits/stl_multimap.h:  Likewise.
3939         * include/bits/stl_multiset.h:  Likewise.
3940         * include/bits/stl_numeric.h:  Likewise.
3941         * include/bits/stl_queue.h:  Likewise.
3942         * include/bits/stl_set.h:  Likewise.
3943         * include/bits/stl_stack.h:  Likewise.
3944         * include/bits/stl_vector.h:  Likewise.
3945         * include/ext/hash_map:  Likewise.
3946         * include/ext/hash_set:  Likewise.
3947         * include/ext/slist:  Likewise.
3949 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
3951         * testsuite/23_containers/set_operators.cc: Just try to compile.
3952         Mark as XFAIL.
3953         * testsuite/23_containers/map_operators.cc: Same.
3955 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
3957         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3958         output_file.
3959         (dg-test): Revert rth's change.
3961 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
3963         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3964         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3966 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
3968         * testsuite/README: Add DejaGnu specific documentation.
3970 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
3972         * acinclude.m4: AC_CHECK_TOOL for expect.
3973         * aclocal.m4: Regenerate.
3974         * configure: Regenerate.
3975         * testsuite/Makefile.am (RUNTEST): Use substituted.
3976         (EXPECT): Same.
3978         * configure.in: Remove xcompiling substitution.
3979         * tests_flags.in (CROSS_LIB_PATH): Remove.
3980         (xcompiling): Remove.
3981         (CXX): Use substituted CXX.
3983 2001-04-11  Richard Henderson  <rth@redhat.com>
3985         * testsuite/lib/libstdc++.exp: Specify path for output_file.
3987 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
3989         * include/bits/std_valarray.h(valarray<>::operator[]): Make
3990         inline.
3992 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
3994         * testsuite/25_algorithms/equal.cc: New test.
3996 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
3998         * stl_algobase.h (std::equal): avoid use of possibly-undefined
3999         operator != (one line patch).
4001 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
4003         * include/backward/backward_warning.h: Re-enable.
4005 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4006             Alexandre Oliva  <aoliva@redhat.com>
4008         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4010 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4012         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4013         * testsuite/26_numerics/c99_macros.cc: Add test.
4015 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
4017         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
4018         * docs/html/faq/index.txt:  Regenerated.
4020 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4022         * include/backward/backward_warning.h: Temporarily disable until
4023         g++ testsuite changes go in.
4024         * tests_flags.in (CROSS_LIB_PATH): Add.
4026 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4028         Warn when using backward headers.
4029         * include/backward/algo.h: Include warning file.
4030         * include/backward/vector.h: Same.
4031         * include/backward/tree.h: Same.
4032         * include/backward/tempbuf.h: Same.
4033         * include/backward/strstream: Same.
4034         * include/backward/streambuf.h: Same.
4035         * include/backward/stream.h: Same.
4036         * include/backward/stack.h: Same.
4037         * include/backward/slist.h: Same.
4038         * include/backward/set.h: Same.
4039         * include/backward/rope.h:
4040         * include/backward/queue.h: Same.
4041         * include/backward/pair.h: Same.
4042         * include/backward/ostream.h: Same.
4043         * include/backward/new.h: Same.
4044         * include/backward/multiset.h: Same.
4045         * include/backward/multimap.h: Same.
4046         * include/backward/map.h: Same.
4047         * include/backward/list.h: Same.
4048         * include/backward/iterator.h: Same.
4049         * include/backward/istream.h: Same.
4050         * include/backward/iostream.h:
4051         * include/backward/iomanip.h:
4052         * include/backward/heap.h: Same.
4053         * include/backward/hashtable.h:
4054         * include/backward/hash_set.h:
4055         * include/backward/hash_map.h:
4056         * include/backward/function.h:
4057         * include/backward/fstream.h:
4058         * include/backward/deque.h:
4059         * include/backward/defalloc.h: Same.
4060         * include/backward/complex.h: Same.
4061         * include/backward/bvector.h:
4062         * include/backward/alloc.h:
4063         * include/backward/algobase.h: Same.
4065         * include/backward/backward_warning.h: New file.
4066         * src/Makefile.am (backward_headers): Add backward_warning.h
4067         * src/Makefile.in: Regenerate.
4069 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4071         * src/Makefile.am (myinstalldirs): Make sure backward directory is
4072         created.
4073         (myinstallheaders): Install backward headers in backward directory.
4074         * src/Makefile.in: Regenerate.
4076 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4078         Prepare for libstdc++-2.92.
4079         * docs/html/17_intro/RELEASE-NOTES (New): Update.
4080         * docs/html/configopts.html: Fix formatting.
4081         * README (file): Updates.
4082         * include/bits/c++config (__GLIBCPP__): Update.
4084 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
4086         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
4088 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
4090         * docs/doxygen/user.cfg.in:  Extract all non-private members;
4091         reduce confusing documentation output.
4093 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
4095         * include/backward/fstream.h: Add missing semicolons.
4097 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
4099         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4100         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4101         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4102         (ios_base::Init::_S_ios_create): New.
4103         (ios_base::Init::_S_ios_destroy): New.
4104         * include/bits/std_fstream.h: Change ctor args.
4105         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4106         (ios_base::Init::~Init): Use _S_ios_destroy.
4107         (ios_base::sync_with_stdio): Use new members.
4108         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4109         filebuf ctor.
4111 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4113         * include/backward/fstream.h:  Expose streampos to global
4114         namespace.
4116 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4118         * include/bits/stl_iterator_base_types.h: Fix typo
4120 2001-04-03  Andreas Schwab  <schwab@suse.de>
4122         * include/backward/fstream.h: Define filebuf and wfilebuf.
4124 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
4126         New concept checking implementation.
4127         * docs/html/19_diagnostics/howto.html:  Document.
4128         * docs/html/17_intro/concept_check.diff:  New file, for reference.
4129         * include/bits/boost_concept_check.h:  New file from Boost.
4130         * include/bits/c++config:  Update comments.
4132         * include/bits/concept_check.h:  New file.
4133         * include/bits/concept_checks.h:  Removed.
4134         * include/bits/container_concepts.h:  Removed.
4135         * include/bits/sequence_concepts.h:  Removed.
4136         * include/bits/stl_iterator_base.h:  Removed; split into...
4137         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
4138         * include/bits/stl_iterator_base_types.h:  ...and this new file.
4140         * include/bits/sbuf_iter.h:  Update to use new implementation.
4141         * include/bits/std_iterator.h:  Likewise.
4142         * include/bits/std_memory.h:  Likewise.
4143         * include/bits/stl_algo.h:  Likewise.
4144         * include/bits/stl_algobase.h:  Likewise.
4145         * include/bits/stl_construct.h:  Likewise.
4146         * include/bits/stl_deque.h:  Likewise.
4147         * include/bits/stl_heap.h:  Likewise.
4148         * include/bits/stl_list.h:  Likewise.
4149         * include/bits/stl_map.h:  Likewise.
4150         * include/bits/stl_multimap.h:  Likewise.
4151         * include/bits/stl_multiset.h:  Likewise.
4152         * include/bits/stl_numeric.h:  Likewise.
4153         * include/bits/stl_queue.h:  Likewise.
4154         * include/bits/stl_set.h:  Likewise.
4155         * include/bits/stl_stack.h:  Likewise.
4156         * include/bits/stl_uninitialized.h:  Likewise.
4157         * include/bits/stl_vector.h:  Likewise.
4158         * include/ext/hash_map:  Likewise.
4159         * include/ext/hash_set:  Likewise.
4160         * include/ext/slist:  Likewise.
4161         * include/ext/stl_hashtable.h:  Likewise.
4163         * src/Makefile.am (base_headers):  Update list of headers.
4164         * Makefile.in:  Regenerated.
4165         * src/Makefile.in:  Regenerated.
4166         * libio/Makefile.in:  Regenerated.
4167         * libmath/Makefile.in:  Regenerated.
4168         * libsupc++/Makefile.in:  Regenerated.
4169         * testsuite/Makefile.in:  Regenerated.
4171         * docs/html/install.html:  Update contact information.
4172         * docs/html/17_intro/howto.html:  Ditto.
4173         * docs/html/18_support/howto.html:  Ditto.
4174         * docs/html/20_util/howto.html:  Ditto.
4175         * docs/html/21_strings/howto.html:  Ditto.
4176         * docs/html/22_locale/howto.html:  Ditto.
4177         * docs/html/23_containers/howto.html:  Ditto.
4178         * docs/html/24_iterators/howto.html:  Ditto.
4179         * docs/html/25_algorithms/howto.html:  Ditto.
4180         * docs/html/26_numerics/howto.html:  Ditto.
4181         * docs/html/27_io/howto.html:  Ditto.
4182         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
4183         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
4184         * docs/html/faq/index.txt:  Regenerated.
4186 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
4188         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4189         messages with $which_library as well as $tool_flags and
4190         ${dg-extra-tool-flags}.  Factor out annotation text into
4191         a single variable.
4193 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
4195         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4196         * include/c_std/bits/std_cwchar.h: Same.
4197         * testsuite/21_strings/c_strings.cc: Add.
4199 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
4201         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4203 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
4205         * tests_flags.in: Use test a = b, not test a == b which is not
4206         portable.
4208 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
4210         * configure.target: Remove duplicate aix entry.
4212 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
4214         * include/ext/stl_bvector.h: Move to...
4215         * include/bits/stl_vector.h: ...here.
4216         * include/ext/bvector: Move to...
4217         * include/backward/bvector.h: ...here.
4218         * include/bits/std_vector.h: Change stl_bvector include.
4219         * include/bits/std_queue.h: Remove bvector include.
4220         * include/ext/tree: Insert using rb_tree, move to...
4221         * include/backward/tree.h: ...here.
4222         * include/backward/hash_map.h: Include ext/hash_map.
4223         * include/backward/hash_set.h: Include ext/hash_set.
4224         * include/backward/queue.h: New file.
4225         * include/backward/stack.h: Edit.
4226         * include/backward/algo.h: Same.
4227         * include/backward/algobase.h: Same.
4228         * include/backward/alloc.h: Same.
4229         * include/backward/function.h: Same.
4230         * include/backward/iomanip.h: Same.
4231         * include/backward/istream.h: Same.
4232         * include/backward/iterator.h: Same.
4233         * include/backward/list.h: Same.
4234         * include/backward/map.h: Same.
4235         * include/backward/multimap.h: Same.
4236         * include/backward/multiset.h: Same.
4237         * include/backward/ostream.h: Same.
4238         * include/backward/pair.h: Same
4239         * include/backward/rope.h: Same.
4240         * include/backward/set.h: Same.
4241         * include/backward/stream.h: Same.
4242         * include/backward/strstream.h: Same.
4243         * include/backward/tempbuf.h: Same.
4244         * src/Makefile.am (ext_headers): Edit.
4245         * src/Makefile.in: Regenerate.
4246         * testsuite/ext/headers.cc (main): Fix.
4247         * mkcheck.in: Fix.
4249 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
4251         * tests_flags.in (LIBS):  Pass correct path for installed testing.
4253 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
4255         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4256         * tests_flags.in (CXX): Construct here.
4257         (static_fail): Don't remove compile.out. Format with spaces.
4258         (INCLUDES): Deal with xcompiling.
4259         * configure.in (xcompiling): Substitute.
4260         * testsuite/Makefile.am: Snake libjava configury.
4261         * testsuite/Makefile.in: Regenerate.
4262         * testsuite/23_containers/map_operators.cc: Tweaks.
4263         * testsuite/23_containers/set_operators.cc: Tweaks.
4265 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4267         Enable dejagnu testing framework.
4268         * configure.in: Generate testsuite/Makefile.
4269         * configure: Regenerate.
4270         * Makefile.am (check-install): Change rule from this...
4271         (check-script-install): ...to this.
4272         (check): Change rule from this...
4273         (check-script):...to this.
4274         * Makefile.in: Regenerate.
4276 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
4278         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4279         --tag CXX.
4280         (LIBTOOL): Let automake take care of its definition.
4281         * libsupc++/Makefile.in: Rebuilt.
4283 2001-03-28  Richard Henderson  <rth@redhat.com>
4285         IA-64 ABI Exception Handling:
4286         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4287         * configure.in: Use it.
4288         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4289         * libsupc++/Makefile.am (sources): Update files list.
4290         * libsupc++/Makefile.in: Regenerate.
4291         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4292         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4293         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4294         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4295         * libsupc++/exception_support.cc: Remove.
4296         * libsupc++/exception_support.h: Remove.
4297         * libsupc++/pure.cc: Use std::terminate.
4298         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4299         (__is_pointer): Remove.
4300         * libsupc++/unwind-cxx.h: New file.
4301         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4303 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
4305         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4306         CXX tag explicitly.
4307         * src/Makefile.am (CXXLINK): Likewise.
4308         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4310 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
4312         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4314 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4316         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4317           and libc
4319 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
4321         * include/bits/basic_file.h (get_fileno): Remove.
4322         (_M_fileno): Remove.
4323         (_M_cfile_created): Add.
4324         (basic_file::basic_file(__c_file_type*, openmode): Add.
4325         (basic_file::basic_file(int, const char*, openmode): Remove.
4326         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4327         const char*, ios_base::openmode): Don't allocate
4328         internal buffers. Turn off internal buffers.
4329         (basic_filebuf::overflow): Remove test for null buffer.
4330         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4331         * include/bits/streambuf.cc: Tweak.
4332         * include/bits/std_ostream.h: Tweak.
4333         * config/basic_file_libio.h: Same.
4334         * config/basic_file_stdio.h: Same.
4335         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4336         * testsuite/27_io/filebuf_members.cc: Tweaks.
4337         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4339 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4341         * Makefile.am:  New targets, doxygen and doxygen-maint.
4342         * Makefile.in:  Regenerated.
4343         * docs/doxygen/run_doxygen:  Finally implemented.
4344         * docs/doxygen/maint.cfg.in:  New file.
4345         * docs/doxygen/user.cfg.in:  New file.
4347 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4349         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
4350         * src/Makefile.am:  Replace leading spaces with tabs on continuation
4351         lines.
4352         * aclocal.m4:  Regenerated.
4353         * configure:  Ditto.
4354         * Makefile.in:  Ditto.
4355         * src/Makefile.in:  Ditto.
4356         * libio/Makefile.in:  Ditto.
4357         * libmath/Makefile.in:  Ditto.
4358         * libsupc++/Makefile.in:  Ditto.
4360 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4362         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
4363         concept-checking code and current status of same.
4364         * docs/html/ext/howto.html:  Ditto.
4365         * docs/html/faq/index.html:  Ditto.
4366         * docs/html/faq/index.txt:  Regenerated.
4368 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4370         * include/bits/std_bitset.h:  Include ostream and istream headers
4371         instead of iostream.
4373 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
4375         * include/bits/ostream.tcc: Use __builtin_alloca.
4377 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
4379         * src/misc-inst.cc (__sink_unused_warning): Move to...
4380         * src/locale-inst.cc (__sink_unused_warning): Move to...
4381         * src/stl-inst.cc: Here.
4382         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4383         commented it out.
4385 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
4387         * intclude/bits/basic_file.h: Fix typos in comments.
4389 2001-03-20  Richard Henderson  <rth@redhat.com>
4391         * src/gen-num-limits.cc: Instantiate for wchar_t.
4392         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4394 2001-03-20  Jason Merrill  <jason@redhat.com>
4396         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4397         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4398         * libsupc++/cxxabi.h: Declare it.
4400 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
4402         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4403         signal_func with an unspecified argument list.
4405 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
4407         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4409 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4411         * include/bits/basic_string.tcc (operator+): Fix thinko.
4413 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
4415         libstdc++/2020
4416         * include/bits/std_streambuf.h: Remove cached locale facets.
4417         (basic_streambuf::_M_buf_fctype): Remove.
4418         (basic_streambuf::~basic_streambuf): Remove here.
4419         (basic_streambuf::basic_streambuf): Same.
4420         (basic_streambuf::imbue): Same.
4421         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4422         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4423         (basic_filebuf::~basic_filebuf()): Remove here.
4424         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4425         (basic_filebuf::imbue): Same.
4426         * include/bits/localefwd.h (_Count_ones): Remove.
4427         (locale::_S_num_categories): Just use 6, since this doesn't
4428         actually change, ever.
4429         * include/bits/locale_facets.tcc (has_facet): Simplify.
4430         (use_facet): Same.
4431         * testsuite/27_io/filebuf.cc (test06): Add tests.
4433 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
4435         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4436         match HP-UX ctype.h header file.
4438 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
4440         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4441         duplicate definitions of __dj_ctype_*
4443 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
4445         * libsupc++/new: Remove pragma interface.
4446         * libsupc++/typeinfo: Same.
4447         * libsupc++/exception: Same.
4448         * libsupc++/new_handler.cc: Remove pragma implementation.
4449         (bad_alloc::~bad_alloc()): Add.
4450         * libsupc++/exception_support.cc: Same.
4451         (exception::~exception): Add.
4452         (bad_exception::~bad_exception): Add.
4453         * libsupc++/tinfo.cc: Same.
4454         (bad_cast::~bad_cast): Add.
4455         (bad_typeid::~bad_typeid): Add.
4457 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
4459         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
4461 2001-03-12  Felix Lee  <flee@redhat.com>
4463         * mkcheck.in: workaround for bash 2.01 IFS bug.
4465 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
4467         Fixups for -fno-for-scope
4468         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4469         * src/valarray-inst.cc (__gslice_to_index): Same.
4471 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
4473         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4474         prior to trapping signal (UnixWare 7 workaround).
4476 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
4478         * include/backward/hashtable.h: Same.
4479         * include/backward/rope.h: Fix include.
4481 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
4483         * include/backward/vector.h: Include std_vector.h.
4485         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4486         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4487         Fix typo.
4489 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4491         * include/ext/stl_hashtable.h: Change type of __n to size_t
4492         * include/backward/bvector.h: Include <ext/stl_bvector.h>
4494 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4496         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4497         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4498         Use streamsize, not int_type.
4500 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
4502         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4503         moment.
4505 2001-03-08  Andreas Schwab  <schwab@suse.de>
4507         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4508         command.
4509         * aclocal.m4, configure: Regenerated.
4511 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
4513         * include/bits/std_iosfwd.h: Remove string forward decls here.
4514         * include/bits/stringfwd.h: Add forward decls for char_traits
4515         specializations.
4516         * config/c_io_libio.h (wstreamoff): Delete.
4517         * config/c_io_stdio.h (wstreamoff): Same.
4518         * include/bits/char_traits.h: Use streamoff not wstreamoff for
4519         char_traits<wchar_t>::off_type.
4520         Remove duplicate typedefs.
4521         * include/bits/fpos.h: Define streampos/wstreampos here.
4522         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4523         values to off_type.
4524         (test05): Same.
4525         Changeup output files.
4526         * testsuite/27_io/istream_unformatted.cc: Change output files.
4527         * testsuite/27_io/istream_seeks-1.txt: Add.
4528         * testsuite/27_io/istream_seeks-2.tst: Add.
4529         * testsuite/27_io/istream_seeks-1.tst: Add.
4530         * testsuite/27_io/istream_unformatted-2.tst: Delete.
4531         * testsuite/27_io/istream_unformatted-3.tst: Delete.
4532         * testsuite/27_io/istream_unformatted-3.txt: Delete.
4534 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
4536         Add Irix 5.2, 6.3 support.
4537         * config/os/irix/bits: Renamed to...
4538         * config/os/irix/irix6.5/bits: this.
4539         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4540         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4541         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4542         * config/os/irix/irix5.2/bits/ctype_noninline.h
4543         (ctype<char>::ctype): Initialize _M_table with __ctype.
4544         * configure.target: Adjust.
4546 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
4548         libstdc++/2181
4549         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4550         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4551         sentry.
4552         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4553         (*__pf)(__ios_type&)): Same.
4554         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4555         (*__pf)(ios_base&))): Same.
4556         * testsuite/27_io/istream_extractor_other.cc: Add tests.
4557         * testsuite/27_io/istream_manip.cc (test01): Fix.
4559 2001-03-06  Nathan Myers  <ncm@cantrip.org>
4560             Benjamin Kosnik  <bkoz@redhat.com>
4562         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4563         * testsuite/17_intro/header_cerrno.cc (test01): New file.
4564         * testsuite/17_intro/header_cassert.cc (test01): New file.
4565         * testsuite/17_intro/header_cstddef.cc (test01): New file.
4566         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4567         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4569 2001-03-05  scott snyder  <snyder@fnal.gov>
4571         libstdc++/2190
4572         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4573         from here...
4574         * include/c_std/bits/std_cstdlib.h: ... to here.
4575         * testsuite/17_intro/header_cstdlib.cc: Add test.
4577 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
4579         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4581 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
4583         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4584         definition. Replace enum with static const variables.
4586         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4587         throw specification, fix typos, use <static_cast>.
4588         (ctype<char>::scan_is): remove throw specification.
4589         (ctype<char>::scan_not): likewise.
4591         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4592         (ctype<char>::do_toupper(char)): use <static_cast>.
4593         (ctype<char>::do_toupper(char *, const char *)): likewise.
4594         (ctype<char>::do_tolower(char)): likewise.
4595         (ctype<char>::do_tolower(char *, const char *)): likewise.
4597 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
4599         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4600         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
4601         macros and "never happens" code.  Adjust to C++STYLE guidelines.
4602         * include/backward/algobase.h:  Likewise.
4603         * include/backward/alloc.h:  Likewise.
4604         * include/backward/bvector.h:  Likewise.
4605         * include/backward/deque.h:  Likewise.
4606         * include/backward/function.h:  Likewise.
4607         * include/backward/hash_map.h:  Likewise.
4608         * include/backward/hash_set.h:  Likewise.
4609         * include/backward/hashtable.h:  Likewise.
4610         * include/backward/heap.h:  Likewise.
4611         * include/backward/iterator.h:  Likewise.
4612         * include/backward/list.h:  Likewise.
4613         * include/backward/map.h:  Likewise.
4614         * include/backward/multimap.h:  Likewise.
4615         * include/backward/multiset.h:  Likewise.
4616         * include/backward/pair.h:  Likewise.
4617         * include/backward/rope.h:  Likewise.
4618         * include/backward/set.h:  Likewise.
4619         * include/backward/slist.h:  Likewise.
4620         * include/backward/stack.h:  Likewise.
4621         * include/backward/strstream:  Likewise.
4622         * include/backward/tempbuf.h:  Likewise.
4623         * include/backward/tree.h:  Likewise.
4624         * include/backward/vector.h:  Likewise.
4625         * include/bits/basic_ios.h:  Likewise.
4626         * include/bits/basic_ios.tcc:  Likewise.
4627         * include/bits/basic_string.h:  Likewise.
4628         * include/bits/c++config:  Likewise.
4629         * include/bits/concept_checks.h:  Likewise.
4630         * include/bits/fpos.h:  Likewise.
4631         * include/bits/fstream.tcc:  Likewise.
4632         * include/bits/functexcept.h:  Likewise.
4633         * include/bits/ios_base.h:  Likewise.
4634         * include/bits/istream.tcc:  Likewise.
4635         * include/bits/mask_array.h:  Likewise.
4636         * include/bits/ostream.tcc:  Likewise.
4637         * include/bits/pthread_allocimpl.h:  Likewise.
4638         * include/bits/sbuf_iter.h:  Likewise.
4639         * include/bits/slice.h:  Likewise.
4640         * include/bits/slice_array.h:  Likewise.
4641         * include/bits/sstream.tcc:  Likewise.
4642         * include/bits/std_bitset.h:  Likewise.
4643         * include/bits/std_fstream.h:  Likewise.
4644         * include/bits/std_iomanip.h:  Likewise.
4645         * include/bits/std_ios.h:  Likewise.
4646         * include/bits/std_istream.h:  Likewise.
4647         * include/bits/std_iterator.h:  Likewise.
4648         * include/bits/std_memory.h:  Likewise.
4649         * include/bits/std_ostream.h:  Likewise.
4650         * include/bits/std_sstream.h:  Likewise.
4651         * include/bits/std_streambuf.h:  Likewise.
4652         * include/bits/std_string.h:  Likewise.
4653         * include/bits/std_valarray.h:  Likewise.
4654         * include/bits/stl_algo.h:  Likewise.
4655         * include/bits/stl_algobase.h:  Likewise.
4656         * include/bits/stl_alloc.h:  Likewise.
4657         * include/bits/stl_construct.h:  Likewise.
4658         * include/bits/stl_deque.h:  Likewise.
4659         * include/bits/stl_function.h:  Likewise.
4660         * include/bits/stl_heap.h:  Likewise.
4661         * include/bits/stl_iterator.h:  Likewise.
4662         * include/bits/stl_iterator_base.h:  Likewise.
4663         * include/bits/stl_list.h:  Likewise.
4664         * include/bits/stl_map.h:  Likewise.
4665         * include/bits/stl_multimap.h:  Likewise.
4666         * include/bits/stl_multiset.h:  Likewise.
4667         * include/bits/stl_numeric.h:  Likewise.
4668         * include/bits/stl_pair.h:  Likewise.
4669         * include/bits/stl_pthread_alloc.h:  Likewise.
4670         * include/bits/stl_queue.h:  Likewise.
4671         * include/bits/stl_raw_storage_iter.h:  Likewise.
4672         * include/bits/stl_relops.h:  Likewise.
4673         * include/bits/stl_set.h:  Likewise.
4674         * include/bits/stl_stack.h:  Likewise.
4675         * include/bits/stl_tempbuf.h:  Likewise.
4676         * include/bits/stl_threads.h:  Likewise.
4677         * include/bits/stl_tree.h:  Likewise.
4678         * include/bits/stl_uninitialized.h:  Likewise.
4679         * include/bits/stl_vector.h:  Likewise.
4680         * include/bits/streambuf.tcc:  Likewise.
4681         * include/bits/type_traits.h:  Likewise.
4682         * include/bits/valarray_meta.h:  Likewise.
4683         * include/ext/bvector:  Likewise.
4684         * include/ext/hash_map:  Likewise.
4685         * include/ext/hash_set:  Likewise.
4686         * include/ext/ropeimpl.h:  Likewise.
4687         * include/ext/slist:  Likewise.
4688         * include/ext/stl_bvector.h:  Likewise.
4689         * include/ext/stl_hash_fun.h:  Likewise.
4690         * include/ext/stl_hashtable.h:  Likewise.
4691         * include/ext/stl_rope.h:  Likewise.
4692         * src/complex_io.cc:  Likewise.
4693         * src/ios.cc:  Likewise.
4694         * src/locale-inst.cc:  Likewise.
4695         * src/locale.cc:  Likewise.
4696         * src/localename.cc:  Likewise.
4697         * src/misc-inst.cc:  Likewise.
4698         * src/stdexcept.cc:  Likewise.
4699         * src/stl-inst.cc:  Likewise.
4700         * src/strstream.cc:  Likewise.
4701         * src/valarray-inst.cc:  Likewise.
4703 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
4705         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4707 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4709         * include/bits/istream.tcc: change type of __extracted to __size_type
4711 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
4713         * src/wstring-inst.cc: New file.
4714         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4715         (libinst_wstring_la_SOURCES): Remove.
4716         (libstdc___la_LIBADD): Remove libinst_wstring_la.
4717         (sources): Add wstring-inst.cc
4718         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4719         libinst_wstring_la.
4721 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4723         * src/locale.cc: initialise __ret with zero
4724         * src/strstream.cc:cast gptr to int_type
4726 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
4728         * docs/html/faq/index.html:  Update broken links.
4729         * docs/html/faq/index.txt:  Regenerated.
4731 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
4733         libstdc++/2064
4734         * configure.target: Change irix* to irix6.5* in target_os table.
4736 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
4738         libstdc++/2103
4739         * include/bits/c++config (__GLIBCPP__): Bump number in
4740         anticipation of 2.92.
4742         * include/bits/codecvt.h: Fix typo.
4743         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4744         stdio model.
4745         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4746         instantiations for stdio model.
4748 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
4750         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
4751           and GLIBCPP_CXXFLAGS as unused variables.
4752         * configure.host:  Likewise.
4753         * configure.target:  Likewise.
4754         * aclocal.m4:  Regenerated.
4755         * configure:  Regenerated.
4756         * Makefile.in:  Regenerated.
4757         * libio/Makefile.in:  Regenerated.
4758         * libmath/Makefile.in:  Regenerated.
4759         * libsupc++/Makefile.in:  Regenerated.
4760         * src/Makefile.in:  Regenerated.
4762 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4764         libstdc++/1886
4765         * include/bits/basic_file.h: Include basic_file_model.h.
4766         * config/c_io_libio.cc: Move to...
4767         * config/basic_file_libio.cc: Here.
4768         * config/basic_file_libio.h: New file.
4769         * config/c_io_stdio.cc: Move to...
4770         * config/basic_file_stdio.cc: Here.
4771         * config/basic_file_stdio.h: New file.
4772         * config/c_io_libio.h: Tweak.
4773         * config/c_io_stdio.h: Tweak.
4774         * src/Makefile.am (build_headers): Add basic_file_model.h.
4775         (sources): Add basic_file.cc, remove c++io.cc.
4776         * src/Makefile.in: Regenerate.
4777         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4778         basic_file_model.h and basic_file.cc.
4779         * aclocal.m4: Regenerate.
4780         * configure: Regenerate.
4781         * testsuite/27_io/filebuf.cc (test05): Add regression.
4783 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4785         Correct license.
4786         * config/cpu/alpha/bits/atomicity.h: Change.
4787         * config/cpu/arm/bits/atomicit3y.h
4788         * config/cpu/generic/bits/atomicity.h
4789         * config/cpu/i386/bits/atomicity.h
4790         * config/cpu/i486/bits/atomicity.h
4791         * config/cpu/ia64/bits/atomicity.h
4792         * config/cpu/powerpc/bits/atomicity.h
4793         * config/cpu/sparc/sparc32/bits/atomicity.h
4794         * config/cpu/sparc/sparc64/bits/atomicity.h
4795         * config/os/aix/bits/atomicity.h
4796         * config/os/irix/bits/atomicity.h
4798 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4800         * include/bits/std_stdexcept.h (runtime_error): Make string
4801         member non-const.
4802         (logic_error): Same.
4803         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4804         (test03): Fix.
4806 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
4808         libstdc++/1972
4809         libstdc++/2089
4810         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4811         string object, not reference.
4812         (runtime_error::runtime_error): Same.
4813         * testsuite/19_diagnostics/stdexceptions.cc: New file.
4815 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
4817         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
4818           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
4819           diagnostics.  Remove WFMT_FLAGS.
4820         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
4821         * libsupc++/Makefile.am:  Likewise.
4822         * src/Makefile.am:  Likewise.
4823         * aclocal.m4:  Regenerated.
4824         * configure:  Regenerated.
4825         * Makefile.in:  Regenerated.
4826         * libio/Makefile.in:  Regenerated.
4827         * libmath/Makefile.in:  Regenerated.
4828         * libsupc++/Makefile.in:  Regenerated.
4829         * src/Makefile.in:  Regenerated.
4831 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
4833         Fixes libstdc++/2079
4834         * include/backward/iomanip.h:  Expose <ios> manipulators to global
4835           namespace.
4836         * include/backward/iostream.h:  Also expose std::ws.
4838 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
4840         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4842 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
4844         * include/bits/codecvt.h: Use __builtin_alloca.
4845         * include/bits/ostream.tcc: Same.
4846         * include/bits/fstream.tcc: Same.
4848 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
4850         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4852 2001-02-23  David Edelsohn <dje@watson.ibm.com>
4854         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4856 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
4858         c++/2052
4859         * include/backward/iostream.h:  Expose std::flush in old headers.
4861 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4863         * mknumeric_limits: Remove special-casing on target.  Use gcc
4864         instead of g++ to build gen-num-limits.cc
4866 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
4868         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4870         * include/bits/codecvt.h: Use alloca instead of __extension__ for
4871         the time being.
4872         * include/bits/ostream.tcc: Same.
4873         * include/bits/std_ostream.h: Same.
4874         * include/bits/fstream.tcc: Same.
4875         * include/bits/locale_facets.tcc: Add typename.
4876         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4878 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
4880         * tests_flags.in:  Remove -n flag from call to echo.
4882 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
4884         * config/c_locale_gnu.h: Add clocale include.
4886 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
4888         * include/bits/stl_config.h:  Remove file.
4889         * src/Makefile.am (base_headers):  Remove from list.
4890         * configure:  Regenerate.
4891         * Makefile.in:  Ditto.
4892         * libio/Makefile.in:  Ditto.
4893         * libmath/Makefile.in:  Ditto.
4894         * libsupc++/Makefile.in:  Ditto.
4895         * src/Makefile.in:  Ditto.
4897         * include/bits/c++config:  Move relevant macros to here.
4898         * include/backward/alloc.h:  Include c++config.h instead.
4899         * include/backward/function.h:  Ditto.
4900         * include/backward/heap.h:  Ditto.
4901         * include/backward/pair.h:  Ditto.
4902         * include/bits/pthread_allocimpl.h:  Ditto.
4903         * include/bits/std_functional.h:  Ditto.
4904         * include/bits/std_iterator.h:  Ditto.
4905         * include/bits/std_numeric.h:  Ditto.
4906         * include/bits/std_utility.h:  Ditto.
4907         * include/bits/stl_algobase.h:  Ditto.
4908         * include/bits/type_traits.h:  Ditto.
4909         * src/stl-inst.cc:  Ditto.
4911 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4913         * include/bits/basic_file.h: Add #pragma system_header
4914         * include/bits/basic_ios.h: Ditto.
4915         * include/bits/basic_string.h: Ditto.
4916         * include/bits/char_traits.h: Ditto.
4917         * include/bits/codecvt.h: Ditto.
4918         * include/bits/cpp_type_traits.h:  Ditto.
4919         * include/bits/fpos.h: Ditto.
4920         * include/bits/gslice.h: Ditto.
4921         * include/bits/gslice_array.h: Ditto.
4922         * include/bits/indirect_array.h: Ditto.
4923         * include/bits/ios_base.h: Ditto.
4924         * include/bits/limits_generic.h: Ditto.
4925         * include/bits/locale_facets.h: Ditto.
4926         * include/bits/localefwd.h: Ditto.
4927         * include/bits/mask_array.h: Ditto.
4928         * include/bits/sbuf_iter.h: Ditto.
4929         * include/bits/sequence_concepts.h: Ditto.
4930         * include/bits/slice.h: Ditto.
4931         * include/bits/slice_array.h: Ditto.
4932         * include/bits/std_algorithm.h: Likewise.
4933         * include/bits/std_bitset.h: Likewise.
4934         * include/bits/std_complex.h: Likewise.
4935         * include/bits/std_deque.h: Likewise.
4936         * include/bits/std_fstream.h: Likewise.
4937         * include/bits/std_functional.h: Likewise.
4938         * include/bits/std_iomanip.h: Likewise.
4939         * include/bits/std_ios.h: Likewise.
4940         * include/bits/std_iosfwd.h: Likewise.
4941         * include/bits/std_iostream.h: Likewise.
4942         * include/bits/std_istream.h: Likewise.
4943         * include/bits/std_iterator.h: Likewise.
4944         * include/bits/std_list.h: Likewise.
4945         * include/bits/std_locale.h: Likewise.
4946         * include/bits/std_map.h: Likewise.
4947         * include/bits/std_memory.h: Likewise.
4948         * include/bits/std_numeric.h: Likewise.
4949         * include/bits/std_ostream.h: Likewise.
4950         * include/bits/std_queue.h: Likewise.
4951         * include/bits/std_set.h: Likewise.
4952         * include/bits/std_sstream.h: Likewise.
4953         * include/bits/std_stack.h: Likewise.
4954         * include/bits/std_stdexcept.h: Likewise.
4955         * include/bits/std_streambuf.h: Likewise.
4956         * include/bits/std_string.h: Likewise.
4957         * include/bits/std_utility.h: Likewise.
4958         * include/bits/std_valarray.h: Likewise.
4959         * include/bits/std_vector.h: Likewise.
4960         * include/bits/stringfwd.h: Likewise.
4961         * include/bits/type_traits.h: Likewise.
4962         * include/bits/valarray_array.h: Likewise.
4963         * include/bits/valarray_meta.h: Likewise.
4965 2001-02-19  Andreas Jaeger  <aj@suse.de>
4967         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4968         Fix typo.
4970 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
4972         libstdc++/1734
4973         * include/bits/std_ostream.h: Replaced usage of
4974         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4975         * include/bits/char_traits.h: Removed non-standard
4976         methods that cannot be used elsewhere.
4978         libstdc++/1885
4979         * include/bits/basic_ios.h: Uncommented #include of
4980         bits/basic_ios.tcc
4982         libstdc++/1897
4983         * include/bits/codecvt.h: See next...
4984         * include/bits/fstream.tcc: See next...
4985         * include/bits/ostream.tcc: Add __extension__
4986         to variable-length arrays.
4988         libstdc++/1967
4989         * include/bits/localefwd.h: Changed int counter type to size_t.
4991         libstdc++/1968
4992         * include/bits/std_fstream.h: Added typedef for __ctype_type.
4994 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
4996         * testsuite/21_strings/char_traits.cc: Move to ...
4997         * testsuite/21_strings/char_traits_requirements.cc: ..here.
4998         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4999         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5001 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
5003         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5004         definitions.
5006 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5008         * include/bits/c++config: Revert.
5010 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5012         * include/bits/istream.tcc: Use ios_base::iostate in place of
5013         iostate throughout.  Insert `typename' keyword where necessary.
5014         * include/bits/ostream.tcc: Insert `typename' keyword where
5015         necessary.
5017 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
5019         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5020         Define so library is compliant.
5022 2001-02-15  Anthony Green  <green@redhat.com>
5024         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5025         compilation.
5026         * aclocal.m4: Regenerate.
5027         * configure: Regenerate.
5029 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
5031         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5032         Include ieeefp.h for fpclass on UnixWare{2,7}.
5033         * aclocal.m4: Regenerate.
5034         * configure: Regenerate.
5035         * mkcheck.in (size_command): Do without GNU-grep when using
5036         size from binutils.
5038 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5040         Remove old ABI support from libsupc++.
5041         * libsupc++/cxxabi.h: Remove conditionally compiled code.
5042         * libsupc++/exception_support.cc: Likewise.
5043         * libsupc++/pure.cc: Likewise.
5044         * libsupc++/tinfo.cc: Likewise.
5045         * libsupc++/tinfo.h: Likewise.
5046         * libsupc++/tinfo2.cc: Likewise.
5047         * libsupc++/typeinfo: Likewise.
5048         * libsupc++/vec.cc: Likewise.
5050 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5052         Add support for -fno-exceptions.
5053         * include/bits/exception_support.h: Remove.
5054         * include/bits/basic_string.h: Remove exception_support.
5055         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5056         (string::at): Same.
5057         (string::substr): Same.
5058         * include/bits/basic_string.tcc (string::reserve): Replace
5059         __LENGTHERROR with __throw_length_error.
5060         (string::_S_create): Same.
5061         (string::resize): Same.
5062         (string::_M_replace): Same.
5063         (string::replace): Same.
5064         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5065         (string::compare): Same.
5066         * include/bits/stl_vector.h: Remove exception_support.
5067         * src/Makefile.am (base_headers): Remove here.
5068         * src/Makefile.in: Regenerate.
5070         * include/bits/stl_range_errors.h: Remove.
5071         * include/bits/stl_deque.h: Use __throw_range_error.
5072         * include/bits/std_deque.h: Include functexcept.h.
5073         * include/bits/std_vector.h: Same.
5074         * src/Makefile.am (base_headers): Remove here.
5075         * src/Makefile.in: Regenerate.
5076         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5077         * include/ext/bvector: Remove stl_range_errors.h
5079         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5081         * include/bits/functexcept.h: New file.
5082         * src/functexcept.cc: New file. Definitions for function-based
5083         exception routines.
5084         * src/Makefile.am (sources): Add functexcept.cc.
5085         * src/Makefile.in: Regenerate.
5087         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5088         __EXCEPTIONS.
5090         * include/bits/localefwd.h: Include functexcept.h.
5091         * include/bits/std_iosfwd.h: Same.
5093         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5094         throw basic_ios::failure.
5095         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5096         Use __throw_exception_again.
5097         (filebuf::_M_filebuf_init): Same.
5098         * include/bits/streambuf.tcc (__copy_streambufs): Same.
5099         * include/bits/ostream.tcc (ostream::operator<<): Same.
5100         * include/bits/istream.tcc (istream::operator>>): Same.
5101         * include/bits/basic_string.tcc (string::_M_mutate): Same.
5102         (string::_S_construct): Same.
5103         (string::_M_clone): Same.
5104         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5105         __throw_bad_cast.
5106         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5107         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5108         __throw_exception_again.
5109         (locale::_Imp::_Imp(string, size_t): Same.
5110         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5111         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5112         (locale::locale(const char*)): Use __throw_runtime_error.
5113         (locale::classic): Use __throw_exception_again.
5114         (locale::_S_normalize_category): Use __throw_runtime_error.
5116         * src/stdexcept.cc: Remove cruft.
5118         * libsupc++/exception_defines.h: New file.
5119         * libsupc++/new_opnt.cc: Include exception_defines.h.
5120         * libsupc++/vec.cc: Same.
5121         (__cxa_vec_new2): Use __throw_exception_again.
5122         (__cxa_vec_new3): Same.
5123         (__cxa_vec_ctor): Same.
5124         (__cxa_vec_delete3): Same.
5125         (__cxa_vec_cctor): Same.
5126         (__cxa_vec_delete2): Same.
5127         (__cxa_vec_dtor): Same.
5128         * libsupc++/exception_support.cc: Include exception_defines.h. Only
5129         compile exception-handling bits if __EXCEPTIONS is defined.
5130         Remove old ABI support.
5131         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5132         std::__throw_bad_alloc() instead of throw bad_alloc.
5133         * libsupc++/Makefile.am: Add exception_defines.h.
5134         * libsupc++/Makefile.in: Reformat.
5135         * libsupc++/*: Format.
5137 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
5139         * docs/html/configopts.html:  Minor updates and typo fixes.
5140         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
5141         * docs/html/faq/index.txt:  Regenerated.
5143 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
5145         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5146         dejagnu/dg.exp.  Adapt to log options used to run testcases.
5148 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5150         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5151         dejagnu/dg.exp.
5153 2001-02-13  Dirk Mueller <dmuell@gmx.net>
5154             Phil Edwards  <pme@sources.redhat.com>
5156         * include/backward/function.h:  Do not use rel_ops for older
5157           headers either.
5158         * include/backward/pair.h:  Likewise.
5160 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
5162         * src/locale.cc: Remove bogus locale::id definitions.
5164 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5166         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5167         not _DEFINE_VALARRAY_OPERATOR which is not existent.
5169         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5170         thinko in member initialisation.
5172 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5174         * include/bits/std_valarray.h(valarray<>::shift): Avoid
5175         comparaison between signed and unsigned integer types.
5176         (valarray<>::cshift): Reformat.
5178 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
5180         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5181         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5182         * configure.in: Test for sigsetjmp.
5183         * configure, config.h.in: Rebuilt.
5185 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5187         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5188         lengths and strides.
5189         (__gslice_to_index): Document.
5191 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5193         * include/bits/char_traits.h char_traits<char>::int_type: Change
5194         to `int' to match 21.1.3.1/2.
5196         * testsuite/21_strings/char_traits-int_type.C: New test.
5198 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
5200         * testsuite/Makefile.am: New file.
5202 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
5204         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5206 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
5208         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5210 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
5212         * configure.target (aix4*): Remove extra set of brackets.
5214 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
5216         Clean up stdexcept.
5217         * include/bits/stringfwd.h: New file.
5218         * include/bits/stl_string_fwd.h: Remove.
5219         * include/bits/localefwd.h: Remove declaration for allocator.
5220         * include/bits/std_iosfwd: Same.
5221         * include/bits/std_string.h: Include it.
5222         * include/bits/std_ios.h: Remove include.
5223         * include/bits/basic_string.h: Tweak.
5224         * libsupc++/new: Format.
5225         * src/Makefile.am (base_headers): Add stringfwd.h, remove
5226         stl_string_fwd.h
5227         * src/Makefile.in: Regenerate.
5228         * include/bits/std_stdexcept.h: Rewrite.
5229         * src/stdexcept.cc: Same.
5231 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5233         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5234         install locations too.
5235         * aclocal.m4: Regenerate.
5236         * configure.in: Remove USE_LIBDIR.
5237         * configure: Regenerate.
5238         * src/Makefile.am (toolexecdir): Simplify, use
5239         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5240         * src/Makefile.in: Regenerate.
5241         * libsupc++/Makefile.am: Same.
5242         * libsupc++/Makefile.in: Regenerate.
5244         * src/Makefile.am: Just remove special rules for locale-inst.cc and
5245         misc-inst.cc as no longer necessary.
5247         Follow C++STYLE for naming non-static functions.
5248         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5249         __pad_char.
5250         * include/bits/streambuf.tcc: Same.
5251         * include/bits/ostream.tcc: Same.
5252         * include/bits/istream.tcc: Same.
5253         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5254         (_S_output_float): To __output_float.
5255         * include/bits/std_streambuf.h (_S_copy_streambufs): To
5256         __copy_streambufs.
5257         * include/bits/locale_facets.tcc (_S_build_float_format): To
5258         __build_float_format.
5259         (_S_format): To __output_integer.
5260         (_S_fill): To __pad.
5261         * src/locale.cc: Same.
5262         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5263         names.
5264         * include/bits/locale_facets.tcc (_S_group_digits): To
5265         __group_digits.
5266         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5267         for collate, numpunct.
5269 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
5271         * docs/html/configopts.html:  Fix HTML markup.
5272         * docs/html/install.html:  Bring up to date.
5273         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
5274         * docs/html/21_strings/howto.html:  More notes.
5275         * docs/html/22_locale/howto.html:  Fix HTML markup.
5276         * docs/html/27_io/howto.html:  More notes.
5277         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
5278         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
5280 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
5282         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5283         to match header files.
5284         (_S_output_float): Likewise.
5285         (_S_copy_streambufs): Likewise.
5287 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
5288             Phil Edwards  <pme@sources.redhat.com>
5290         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
5291           use reinterpret_cast, not static_cast.
5293 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5295         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5296         * aclocal.m4: Regenerate.
5297         * configure: Regenerate.
5299 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5301         * include/bits/locale_facets.h (class moneypunct): Fix typos.
5302         * libsupc++/pure.cc: Revert.
5304 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5306         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5307         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5308         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5309         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5310         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5311         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5312         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5313         * aclocal.m4: Regenerate.
5314         * configure: Regenerate.
5316 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
5318         * include/bits/locale_facets.tcc: Remove `static' keyword on
5319         function definitions.
5320         * include/bits/std_streambuf.h: Likewise.
5321         * src/Makefile.am: Remove use of -fimplicit-templates.
5322         * src/Makefile.in: Regenerated.
5323         * src/locale-inst.cc: Explicitly instantiate more functions.
5324         * src/misc-inst.cc: Likewise.
5325         * src/string-inst.cc: Likewise.
5327 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5329         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5330         macro. Consolidate all the bits to do with where includes might be
5331         installed.
5332         * aclocal.m4: Regenerate.
5333         * configure.in: Use it.
5334         * configure: Regenerate.
5335         * src/Makefile.am (targetincludep): Use simplified rules.
5336         (targetincludep): Rename gxx_target_include_dir.
5337         (myincludep): Rename gxx_include_dir.
5338         * src/Makefile.in: Regenerate.
5339         * libsupc++/Makefile.am: Use simplified rules.
5340         * libsupc++/Makefile.in: Regenerate.
5342 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5344         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5345         * include/c_std/bits/std_cctype.h: Same.
5346         * include/c_std/bits/std_cassert.h: Same.
5347         * include/c_std/bits/std_cstdarg.h: Same.
5348         * include/c_std/bits/std_cstddef.h: Same.
5350         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5351         namespace std.
5352         * include/c_std/bits/std_ctime.h: Same.
5353         * include/c_std/bits/std_clocale.h: Same.
5354         * include/c_std/bits/std_cmath.h: Same.
5355         * include/c_std/bits/std_csetjmp.h: Same.
5356         * include/c_std/bits/std_csignal.h: Same.
5357         * include/c_std/bits/std_cstring.h: Same.
5358         * include/c_std/bits/std_cstdlib.h: Same.
5359         * include/c_std/bits/std_cwchar.h: Same.
5361 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
5363         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
5365 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
5367         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5368         (string::_S_construct): Likewise.
5370 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
5372         * testsuite/config/default.exp: New file.
5373         * testsuite/config: New directory.
5375 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
5377         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5378         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5379         whenever !__GXX_MERGED_TYPEINFO_NAMES.
5380         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5382 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
5383             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5385         * Makefile.am (mkinstalldirs): Set.
5386         * src/Makefile.am (mkinstalldirs): Set.
5387         * libmath/Makefile.am (mkinstalldirs): Set.
5388         * libsup++/Makefile.am (mkinstalldirs): Set.
5389         * libio/Makefile.am (mkinstalldirs): Set.
5390         * */Makefile.in: Regenerate.
5392 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
5394         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5395         * include/bits/localefwd.h: More initialization cleanups.
5397 2001-02-03  Jeffrey A Law  <law@cygnus.com>
5399         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5400         correctly targets with 16bit ints.
5401         (_S_ios_openmode_end): Similarly.
5402         (_S_ios_iostate_end): Similarly.
5403         (_S_ios_Seekdir_end): Similarly.
5405 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
5407         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
5409 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
5411         * configure.in (toplevel_srcdir, auxdir): Set.
5412         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5413         * aclocal.m4, configure, Makefile.in: Rebuilt.
5414         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5415         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5416         * libsupc++-v3/Makefile.in: Rebuilt.
5417         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5418         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5420 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
5422         * config/c_locale_generic.cc: Remove langinfo include.
5424 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
5426         Preliminary named locales.
5427         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5428         * aclocal.m4: Regenerate.
5429         * configure.in: Use it.
5430         * configure: Regerate.
5431         * src/Makefile.am (sources): Add c++locale.cc.
5432         (build_headers): Add c++locale.h.
5433         * src/Makefile.in: Regenerate.
5434         * config/c_locale_gnu.h: New file.
5435         * config/c_locale_gnu.cc: New file. Non-inline member functions
5436         for named locales, gnu-specific.
5437         * config/c_locale_generic.h: New file.
5438         * config/c_locale_generic.cc: New file. Non-inline member
5439         functions for named locales, generic version.
5440         * docs/html/configopts.html: Add documentation on new options.
5442         * include/bits/locale_facets.h (class _Messages): Remove.
5443         (class _Moneypunct): Remove.
5444         * src/locale-inst.cc: Remove.
5446         * include/bits/locale_facets.h (class _Collate): Remove.
5447         * src/locale-inst.cc (std): Remove.
5448         * src/locale.cc: And here.
5450         * include/bits/localefwd.h (locale::_M_coalesce): New
5451         function. Correctly put together multi-name locales.
5452         (_Impl(const _Impl&, category, size_t)): Remove.
5454         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5455         member functions.
5456         (_M_normalize_category_names): Remove.
5457         (_M_replace_categories): Fix.
5459         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5460         (locale::_Impl::_M_construct_ctype): Remove.
5461         (locale::_Impl::_M_construct_monetary): Remove.
5462         (locale::_Impl::_M_construct_numeric): Remove.
5463         (locale::_Impl::_M_construct_time): Remove.
5464         (locale::_Impl::_M_construct_messages): Remove.
5466         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5467         (_Use_facet_failure_handle): Remove.
5468         * src/locale.cc: Remove definitions.
5469         * src/locale-inst.cc: And here.
5471         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5473         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5474         create and error-check underlying locale object.
5475         (locale::facet::_S_destroy_c_locale): Add, take care of properly
5476         tearing down underlying locale object.
5477         * include/bits/localefwd.h (locale::facet): Declare.
5478         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5479         correctness, as glibc apparently has incorrect info in it. Test
5480         with it when it works again.....
5482         * include/bits/localefwd.h (locale::_Impl::__vec_string):
5483         Remove. Number of categories is fixed at six, so just simplify and
5484         make this an array of strings.
5485         (locale::_Impl::_M_has_name): Remove.
5486         (locale::_Impl::_M_name): Remove.
5487         (locale::_Impl::_M_category_names): Turns into...
5488         (locale::_Impl::_M_names): ...this.
5489         (locale::_Impl::_M_has_same_name()): New function.
5490         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5491         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5492         signature.
5493         * src/locale.cc (locale::name()): Construct mangled name
5494         accurately reflecting combined locale categories.
5496         * src/locale.cc (locale::classic()): Don't initialize here.
5497         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5498         __refs, bool __has_name, string __str): Do it here.
5500         * include/bits/localefwd.h: _S_categories_num to
5501         _S_num_categories. _S_facets_num to _S_num_facets.
5502         (locale::id::id()): Explicitly set _M_index to zero.
5503         * src/locale.cc: Same.
5505         * src/locale.cc: (locale::locale(const char*)): Construct named
5506         locales uniquely.
5508         * src/locale.cc: Remove numpunct_byname ctors.
5509         * testsuite/22_locale/numpunct_byname.cc: New file.
5510         * testsuite/22_locale/numpunct.cc: New file.
5512         * include/bits/localefwd.h (class locale): Change data members to
5513         protected, from private.
5514         (_Impl::_M_get_c_locale): Add member function.
5515         (locale::facet::_M_get_global_impl()): Add member function.
5516         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5517         a __c_locale pointer.
5518         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5519         named locales.
5520         * testsuite/22_locale/members.cc: New file, test name and combine.
5522         * include/bits/locale_facets.h (class numpunct): Remove class
5523         _Punct and _Numpunct. Rewrite class numpunct to be correct for
5524         named locales.
5525         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5526         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5527         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5528         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5529         * testsuite/22_locale/numpunct_char_members.cc: New file.
5531 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
5533         * testsuite/README: Add more comment.
5534         * testsuite/lib/libstdc++.exp: Tweak comment.
5536 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
5538         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5540 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
5542         * testsuite/21_strings/inserters_extractors.cc: Remove
5543         explicit reference to 'testsuite/'.
5545 2001-01-25  Richard Henderson  <rth@redhat.com>
5547         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5548         bits. Fixes Tru64 build issues.
5550 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5552         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5553         (use ${MAKE-make}, not ${MAKE:-make}).
5554         * aclocal.m4, configure: Regenerate.
5556 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
5558         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5559         checkin.
5561         * src/Makefile.am (sources): Add globals.cc.
5562         * src/Makefile.in: Regenerated.
5563         * src/globals.cc: New file.
5564         * src/ios.cc (cin): Don't define here, just declare extern.
5565         (cout): Likewise.
5566         (cerr): Likewise.
5567         (clog): Likewise.
5568         (wcin): Likewise.
5569         (wcout): Likewise.
5570         (wcerr): Likewise.
5571         (wclog): Likewise.
5573 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
5575         * include/bits/std_iterator.h:  Do not include stl_relops.h.
5576         * include/bits/std_numeric.h:  Ditto.
5577         * include/bits/stl_algobase.h:  Ditto.
5578         * include/bits/stl_relops.h:  Add comment warning about problems.
5580 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
5582         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5583         in testcases.  Prepare for the DejaGnu based framework.
5584         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
5585         directory -- it is now mkcheck working directory.
5586         * tests_flags.in: Remove reference to $(top_srcdir).  Use
5587         ${SRC_DIR} instead.
5588         * Makefile.am (check, check-install): Change mkcheck invocation
5589         logic.
5590         * Makefile.in: Regenerate.
5592 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
5594         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5595         (__always_swap): Likewise.
5597 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
5599         * libsupc++/exception_support.cc (__terminate_func): Remove
5600         declaration.
5601         (__terminate_func_ptr): New typedef.
5602         (__terminate, __terminate_set_func): New extern function
5603         prototypes.
5604         (std::terminate): Use __terminate function.
5605         (std::set_terminate): Use __terminate_set_func function.
5607 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
5609         * configure.target: Just use os_include_dir always.
5610         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5611         Link atomicity files and ctype files here.
5612         * configure: Regenerate.
5613         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5614         (GLIBCPP_ENABLE_ATOMICITY): Remove.
5615         * aclocal.m4: Regenerate.
5617 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
5619         * configure.in: Place definition of MULTISUBDIR in
5620         libsupc++/Makefile as is done for src/Makefile.
5621         * configure: Regenerate.
5623 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
5625         * acinclude.m4:  Cosmetic changes only.
5626         * aclocal.m4:  Regenerated.
5627         * configure:  Regenerated.
5628         * configure.target:  Update documented list of changed variables.
5629         * docs/html/install.html:  Fix typo.
5630         * docs/html/20_util/howto.html:  More notes on auto_ptr.
5631         * docs/html/27_io/howto.html:  More notes on streabufs.
5632         * docs/html/faq/index.html:  Add rel_ops problem and mention the
5633           DEC as(1) .subsection difficulty.
5634         * docs/html/faq/index.txt:  Regenerated.
5636 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
5638         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5639         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5640         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5641         its already provided in config.target.
5642         * aclocal.m4: Regenerated.
5643         * configure: Likewise.
5644         * configure.target: Set ctype_include_dir for lots of systems.
5645         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5646         * libsupc++/Makefile.in: Regenerated.
5648 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
5650         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
5651         keyword capability.
5653         * testsuite/README: Add comment.
5655 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
5657         * docs/html/configopts.html:  Update for current status.  Fix HTML.
5658         * docs/html/install.html:  Update for current status.
5660 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5662         * testsuite/libstdc++.tests/tests.exp: New file.
5663         * testsuite/lib/libstdc++.exp: Itou.
5664         * testsuite/README: Itou.
5666 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
5668         * tests_flags.in: Just output the bare minimum to run tests.
5669         Let's the caller do its own arrangement.
5671         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
5672         computations.
5674 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
5676         * testsuite/17_intro: Prepare testcases for new style DejaGnu
5677         framework.
5679 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
5681         * testsuite/libstdc++.tests, testsuite/lib: New directories.
5683 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
5685         * mkcheck.in: Construct file names that match $objdir structure.
5686         * testsuite/27_io/filebuf_members-1.txt: New file.
5687         * testsuite/27_io/ifstream_members-1.txt: New file.
5688         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5690         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5691         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5693 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5695         * testsuite/27_io/istream_sentry.cc (test02): Fix.
5697 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
5699         libstdc++/1605
5700         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5701         * src/ios.cc (ios_base::failure): Make definitions match.
5702         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5703         (class bad_cast): Same.
5704         * libsupc++/exception (class exception): Add throw specs.
5705         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5706         (set_unexpected): Same.
5707         (uncaught_exception): Same.
5708         (what): Same.
5710         * docs/html/17_intro/C++STYLE (classname): Fix.
5712 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
5714         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5715         Use it do explicitly instantiate predicate<T> and value<T> for
5716         all the builtin Ts.
5718 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
5720         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5721         uninitialized thinko in last change.
5723 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
5725         * libsupc++/exception_support.cc (__cp_pop_exception): Change
5726         prototype.
5728 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
5730         * docs/html/17_intro/C++STYLE (classname): Add more existing
5731         and stylish patterns.
5733         libstdc++/944
5734         * include/bits/istream.tcc (istream::sentry::sentry()): Set
5735         failbit if the state of the stream is not good.
5736         * testsuite/27_io/istream_sentry.cc (test02): Add test.
5737         * testsuite/27_io/istream_manip.cc (test01): Modify.
5739         libstdc++/1019
5740         reported by Paolo Carlini <pcarlini@unitus.it>
5741         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5742         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5744         libstdc++/1057
5745         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5746         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5747         (xsgetn): Same. Simplify.
5748         * testsuite/27_io/streambuf.cc (test04): Add testcases.
5750         reported by Larry Evans <jcampbell3@prodigy.net>
5751         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5752         equality with eof on returned value from overflow.
5754 2001-01-14  Andreas Jaeger  <aj@suse.de>
5756         * libio/libio.h: Add test for glibc 2.0.
5758 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
5760         * config/os/djgpp/bits/*: Fix dates.
5762         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5763         _CharT* __end, _CharT __c): Remove.
5764         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5765         * include/bits/char_traits.h: Tweak.
5767 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
5769         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5770         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5771         bash bug.
5772         * aclocal.m4: regenerated.
5773         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5774         * configure: regenerated.
5775         * config/os/djgpp, config/os/djgpp/bits: new directories.
5776         * config/os/djgpp/bits/ctype_base.h,
5777         config/os/djgpp/bits/ctype_inline.h,
5778         config/os/djgpp/bits/ctype_noninline.h,
5779         config/os/djgpp/bits/os_defines.h: new files.
5781 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
5783         * include/c_std/bits/std_cstdio.h: Undef printf.
5785 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
5787         * src/ios.cc: Fix typo: change cout->wcout.
5789         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5790         * src/Makefile.in: Regenerate.
5792 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5794          * include/bits/std_complex.h: Fix a typo.
5796 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
5797                              <kainz@ilm.com>
5799         Fixes for libstdc++/1576
5800         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5801         file, move contents into....
5802         * src/ios.cc: ...Here. Put defines for iostreams objects and
5803         initialization routines into one file to simplify DSO interaction.
5804         * include/bits/std_iostream.h: Touch.
5805         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5806         * src/Makefile.am (sources): Remove stdstreams.cc.
5807         * src/Makefile.in: Regenerate.
5809 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5811         * tests_flags.in (check_directory): Fix typo.
5813 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5815          * include/bits/std_complex.h: Fix a typo.
5817 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
5819         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5820         code path:) Remove magic constants and restructure to handle
5821         ctype.h bit mask layout changes more gracefully.  (Make fast
5822         code path:) Use __maskrune (), if available.
5823         (is): Remove special case for digit and xdigit masks.
5825 2001-01-09  Robert Lipe <robertlipe@usa.net>
5827         * include/c_std/bits/std_ctime.h: Undefine difftime.
5829 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
5831         * src/gen-num-limits.cc (signal_adapter): New template function.
5832         (signal_handler): Use it, instead of signal.
5833         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
5834         require both tests to trap to set trap_flag.
5836 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
5838         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5839         initialize mbstate_t member, name offset data members *off, not pos.
5840         * include/bits/fstream.tcc (filebuf::filebuf): Same.
5842 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
5844         reported by Chris G. Demetriou <cgd@sibyte.com>
5845         * configure.in: Change -linux-* to -linux*.
5846         * configure: Regenerate.
5848 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
5850         Fix 27_io/filebuf_members.cc
5851         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5852         const string& __name, category __cat, size_t __refs): Set
5853         _M_has_name with _M_name.
5854         * include/bits/localefwd.h (locale::operator!=): Protect member
5855         function call with this->.
5856         * src/locale.cc (locale::operator==): Make fast checks first.
5857         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5859         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5860         to ios_base::Init.
5861         * src/ios.cc (ios_base::Init::Init): Initialize here.
5862         (ios_base::sync_with_stdio): Set here.
5864 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
5866         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5867         systems that support it, call dup() before fdopen().
5869 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
5871         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5872         * testsuite/17_intro/header_cwctype.cc (main): New file.
5874         * src/Makefile.am (base_headers): Change.
5875         * include/bits/std_string.h: And here.
5876         * include/bits/string.tcc: Tweaks, move to...
5877         * include/bits/basic_string.tcc: ...Here.
5878         * src/string-inst.cc: Simplify, just instantiate the whole class,
5879         not member-by-member.
5881 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
5883         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5884         * aclocal.m4: Regenerate.
5885         * configure: Regenerate.
5887         * include/bits/c++config (__GLIBCPP__): Bump version number.
5889         * ChangeLog: Start new log for year 2001
5890         * ChangeLog-2000: New file.
5892         * docs/html/configopts.html: Make sure default values are current,
5893         add commentary.
5895 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
5897         * include/c_std/bits/std_cwchar.h: Same.
5898         * testsuite/17_intro/header_cwchar.cc: Same.
5899         * include/c_std/bits/std_ctime.h: Same.
5900         * testsuite/17_intro/header_ctime.cc: Same.
5901         * include/c_std/bits/std_cstdlib.h: Same.
5902         Clean up undefs, make consistent with cwchar and cmath, etc.
5903         * testsuite/17_intro/header_cstdlib.cc: Same.
5904         * include/c_std/bits/std_cstdio.h: Same here.
5905         * testsuite/17_intro/header_cstring.cc: Same.
5906         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5907         * testsuite/17_intro/header_cstring.cc: New file. Check for
5908         size_t in namespace std.
5910         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
5911         * acconfig.h (HAVE_MBSTATE_T): Add.
5912         * config.h.in: Regenerate.
5913         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
5914         mbstate_t.
5915         * aclocal.m4: Regenerate.
5916         * configure: Regenerate.
5917         * testsuite/17_intro/headers_c++.cc: New file.
5918         * testsuite/17_intro/headers_c.cc: Small changes.
5920 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
5922         * tests_flags.in: Fix typo in usage.
5924         * tests_flags.in: Set target specific LIBS for cygwin.